PageSourceSearch

https://omniscent.ai/_next/static/chunks/2263.e41aa889ac225cab.js

js omniscent.ai collected 2026-10-05 15:43:51 UTC 70,797 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2263,9702],{89881:function(e,t,n){var r=n(47816),i=n(99291)(r);e.exports=i},47816:function(e,t,n){var r=n(28483),i=n(3674);e.exports=function(e,t){return e&&r(e,t,i)}},2958:function(e,t,n){var r=n(46384),i=n(90939);e.exports=function(e,t,n,o){var a=n.length,l=a,s=!o;if(null==e)return!l;for(e=Object(e);a--;){var u=n[a];if(s&&u[2]?u[1]!==e[u[0]]:!(u[0]in e))return!1}for(;++a<l;){var c=(u=n[a])[0],d=e[c],f=u[1];if(s&&u[2]){if(void 0===d&&!(c in e))return!1}else{var h=new r;if(o)var p=o(d,f,c,e,t,h);if(!(void 0===p?i(f,d,3,o,h):p))return!1}}return!0}},67206:function(e,t,n){var r=n(91573),i=n(16432),o=n(6557),a=n(1469),l=n(39601);e.exports=function(e){return"function"==typeof e?e:null==e?o:"object"==typeof e?a(e)?i(e[0],e[1]):r(e):l(e)}},91573:function(e,t,n){var r=n(2958),i=n(1499),o=n(42634);e.exports=function(e){var t=i(e);return 1==t.length&&t[0][2]?o(t[0][0],t[0][1]):function(n){return n===e||r(n,e,t)}}},16432:function(e,t,n){var r=n(90939),i=n(27361),o=n(79095),a=n(15403),l=n(89162),s=n(42634),u=n(40327);e.exports=function(e,t){return a(e)&&l(t)?s(u(e),t):function(n){var a=i(n,e);return void 0===a&&a===t?o(n,e):r(t,a,3)}}},40371:function(e){e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},79152:function(e,t,n){var r=n(97786);e.exports=function(e){return function(t){return r(t,e)}}},99291:function(e,t,n){var r=n(98612);e.exports=function(e,t){return function(n,i){if(null==n)return n;if(!r(n))return e(n,i);for(var o=n.length,a=t?o:-1,l=Object(n);(t?a--:++a<o)&&!1!==i(l[a],a,l););return n}}},1499:function(e,t,n){var r=n(89162),i=n(3674);e.exports=function(e){for(var t=i(e),n=t.length;n--;){var o=t[n],a=e[o];t[n]=[o,a,r(a)]}return t}},89162:function(e,t,n){var r=n(13218);e.exports=function(e){return e===e&&!r(e)}},42634:function(e){e.exports=function(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}}},39601:function(e,t,n){var r=n(40371),i=n(79152),o=n(15403),a=n(40327);e.exports=function(e){return o(e)?r(a(e)):i(e)}},33300:function(e,t,n){"use strict";n.r(t),n.d(t,{ResponsiveStream:function(){return mi},Stream:function(){return hi},defaultProps:function(){return ui},svgDefaultProps:function(){return ci}});var r=n(67294),i=n(14869),o=n(82492),a=n(27361),l=n(36968),s=n(85893);function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u.apply(null,arguments)}function c(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}var d=["outlineWidth","outlineColor","outlineOpacity"],f=function(e){return e.outlineWidth,e.outlineColor,e.outlineOpacity,c(e,d)},h=["axis.ticks.text","axis.legend.text","legends.title.text","legends.text","legends.ticks.text","legends.title.text","labels.text","dots.text","markers.text","annotations.text"],p=function(e,t){var n=o({},e,t);return h.forEach((function(e){l(n,e,function(e,t){return u({},t,e)}(a(n,e),n.text))})),n},m={background:"transparent",text:{fontFamily:"sans-serif",fontSize:11,fill:"#333333",outlineWidth:0,outlineColor:"#ffffff",outlineOpacity:1},axis:{domain:{line:{stroke:"transparent",strokeWidth:1}},ticks:{line:{stroke:"#777777",strokeWidth:1},text:{}},legend:{text:{fontSize:12}}},grid:{line:{stroke:"#dddddd",strokeWidth:1}},legends:{hidden:{symbol:{fill:"#333333",opacity:.6},text:{fill:"#333333",opacity:.6}},text:{},ticks:{line:{stroke:"#777777",strokeWidth:1},text:{fontSize:10}},title:{text:{}}},labels:{text:{}},markers:{lineColor:"#000000",lineStrokeWidth:1,text:{}},dots:{text:{}},tooltip:{container:{background:"white",color:"inherit",fontSize:"inherit",borderRadius:"2px",boxShadow:"0 1px 2px rgba(0, 0, 0, 0.25)",padding:"5px 9px"},basic:{whiteSpace:"pre",display:"flex",alignItems:"center"},chip:{marginRight:7},table:{},tableCell:{padding:"3px 5px"},tableCellValue:{fontWeight:"bold"}},crosshair:{line:{stroke:"#000000",strokeWidth:1,strokeOpacity:.75,strokeDasharray:"6 6"}},annotations:{text:{fontSize:13,outlineWidth:2,outlineColor:"#ffffff",outlineOpacity:1},link:{stroke:"#000000",strokeWidth:1,outlineWidth:2,outlineColor:"#ffffff",outlineOpacity:1},outline:{fill:"none",stroke:"#000000",strokeWidth:2,outlineWidth:2,outlineColor:"#ffffff",outlineOpacity:1},symbol:{fill:"#000000",outlineWidth:2,outlineColor:"#ffffff",outlineOpacity:1}}},g=function(e,t){return(0,r.useMemo)((function(){return function(e,t){return t?o({},e,t):e}(e,t)}),[e,t])},y=(0,r.createContext)(null),v={},b=function(e){var t=e.theme,n=void 0===t?v:t,i=e.children,o=function(e){return(0,r.useMemo)((function(){return p(m,e)}),[e])}(n);return(0,s.jsx)(y.Provider,{value:o,children:i})},x=function(){var e=(0,r.useContext)(y);if(null===e)throw new Error("Unable to find the theme, did you forget to wrap your component with ThemeProvider?");return e};function _(){return _=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},_.apply(null,arguments)}var w=["basic","chip","container","table","tableCell","tableCellValue"],k={pointerEvents:"none",position:"absolute",zIndex:10,top:0,left:0},Z=function(e,t){return"translate("+e+"px, "+t+"px)"},C=(0,r.memo)((function(e){var t,n=e.position,o=e.anchor,a=e.children,l=
1x(),u=vt(),c=u.animate,d=u.config,f=cn(),h=f[0],p=f[1],m=(0,r.useRef)(!1),g=void 0,y=!1,v=p.width>0&&p.height>0,b=Math.round(n[0]),C=Math.round(n[1]);v&&("top"===o?(b-=p.width/2,C-=p.height+14):"right"===o?(b+=14,C-=p.height/2):"bottom"===o?(b-=p.width/2,C+=14):"left"===o?(b-=p.width+14,C-=p.height/2):"center"===o&&(b-=p.width/2,C-=p.height/2),g={transform:Z(b,C)},m.current||(y=!0),m.current=[b,C]);var j=(0,i.q_)({to:g,config:d,immediate:!c||y}),z=l.tooltip;z.basic,z.chip,z.container,z.table,z.tableCell,z.tableCellValue;var O=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(z,w),S=_({},k,O,{transform:null!=(t=j.transform)?t:Z(b,C),opacity:j.transform?1:0});return(0,s.jsx)(i.q.div,{ref:h,style:S,children:a})}));C.displayName="TooltipWrapper";var j=(0,r.memo)((function(e){var t=e.size,n=void 0===t?12:t,r=e.color,i=e.style;return(0,s.jsx)("span",{style:_({display:"block",width:n,height:n,background:r},void 0===i?{}:i)})})),z=(0,r.memo)((function(e){var t,n=e.id,r=e.value,i=e.format,o=e.enableChip,a=void 0!==o&&o,l=e.color,u=e.renderContent,c=x(),d=dn(i);if("function"==typeof u)t=u();else{var f=r;void 0!==d&&void 0!==f&&(f=d(f)),t=(0,s.jsxs)("div",{style:c.tooltip.basic,children:[a&&(0,s.jsx)(j,{color:l,style:c.tooltip.chip}),void 0!==f?(0,s.jsxs)("span",{children:[n,": ",(0,s.jsx)("strong",{children:""+f})]}):n]})}return(0,s.jsx)("div",{style:c.tooltip.container,role:"tooltip",children:t})})),O={width:"100%",borderCollapse:"collapse"},S=(0,r.memo)((function(e){var t,n=e.title,r=e.rows,i=void 0===r?[]:r,o=e.renderContent,a=x();return i.length?(t="function"==typeof o?o():(0,s.jsxs)("div",{children:[n&&n,(0,s.jsx)("table",{style:_({},O,a.tooltip.table),children:(0,s.jsx)("tbody",{children:i.map((function(e,t){return(0,s.jsx)("tr",{children:e.map((function(e,t){return(0,s.jsx)("td",{style:a.tooltip.tableCell,children:e},t)}))},t)}))})})]}),(0,s.jsx)("div",{style:a.tooltip.container,children:t})):null}));S.displayName="TableTooltip";var W=(0,r.memo)((function(e){var t=e.x0,n=e.x1,o=e.y0,a=e.y1,l=x(),u=vt(),c=u.animate,d=u.config,f=(0,r.useMemo)((function(){return _({},l.crosshair.line,{pointerEvents:"none"})}),[l.crosshair.line]),h=(0,i.q_)({x1:t,x2:n,y1:o,y2:a,config:d,immediate:!c});return(0,s.jsx)(i.q.line,_({},h,{fill:"none",style:f}))}));W.displayName="CrosshairLine",(0,r.memo)((function(e){var t,n,r=e.width,i=e.height,o=e.type,a=e.x,l=e.y;return"cross"===o?(t={x0:a,x1:a,y0:0,y1:i},n={x0:0,x1:r,y0:l,y1:l}):"top-left"===o?(t={x0:a,x1:a,y0:0,y1:l},n={x0:0,x1:a,y0:l,y1:l}):"top"===o?t={x0:a,x1:a,y0:0,y1:l}:"top-right"===o?(t={x0:a,x1:a,y0:0,y1:l},n={x0:a,x1:r,y0:l,y1:l}):"right"===o?n={x0:a,x1:r,y0:l,y1:l}:"bottom-right"===o?(t={x0:a,x1:a,y0:l,y1:i},n={x0:a,x1:r,y0:l,y1:l}):"bottom"===o?t={x0:a,x1:a,y0:l,y1:i}:"bottom-left"===o?(t={x0:a,x1:a,y0:l,y1:i},n={x0:0,x1:a,y0:l,y1:l}):"left"===o?n={x0:0,x1:a,y0:l,y1:l}:"x"===o?t={x0:a,x1:a,y0:0,y1:i}:"y"===o&&(n={x0:0,x1:r,y0:l,y1:l}),(0,s.jsxs)(s.Fragment,{children:[t&&(0,s.jsx)(W,{x0:t.x0,x1:t.x1,y0:t.y0,y1:t.y1}),n&&(0,s.jsx)(W,{x0:n.x0,x1:n.x1,y0:n.y0,y1:n.y1})]})})).displayName="Crosshair";var M=(0,r.createContext)({showTooltipAt:function(){},showTooltipFromEvent:function(){},hideTooltip:function(){}}),E={isVisible:!1,position:[null,null],content:null,anchor:null},T=(0,r.createContext)(E),R=function(){var e=(0,r.useContext)(M);if(void 0===e)throw new Error("useTooltip must be used within a TooltipProvider");return e},B=function(){var e=function(){var e=(0,r.useContext)(T);if(void 0===e)throw new Error("useTooltipState must be used within a TooltipProvider");return e}();return function(e){return e.isVisible}(e)?(0,s.jsx)(C,{position:e.position,anchor:e.anchor,children:e.content}):null},L=function(e){var t=e.container,n=e.children,i=function(e){var t=(0,r.useState)(E),n=t[0],i=t[1],o=(0,r.useCallback)((function(e,t,n){var r=t[0],o=t[1];void 0===n&&(n="top"),i({isVisible:!0,position:[r,o],anchor:n,content:e})}),[i]),a=(0,r.useCallback)((function(t,n,r){void 0===r&&(r="top");var o=e.current.getBoundingClientRect(),a=e.current.offsetWidth,l=a===o.width?1:a/o.width,s="touches"in n?n.touches[0]:n,u=s.clientX,c=s.clientY,d=(u-o.left)*l,f=(c-o.top)*l;"left"!==r&&"right"!==r||(r=d<o.width/2?"right":"left"),i({isVisible:!0,position:[d,f],anchor:r,content:t})}),[e,i]),l=(0,r.useCallback)((function(){i(E)}),[i]);return{actions:(0,r.useMemo)((function(){return{showTooltipAt:o,showTooltipFromEvent:a,hideTooltip:l}}),[o,a,l]),state:n}}(t),o=i.actions,a=i.state;return(0,s.jsx)(M.Provider,{value:o,children:(0,s.jsx)(T.Provider,{value:a,children:n})})},A=n(47037);let $;$="undefined"!==typeof window?window:"undefined"!==typeof self?self:n.g;let P=null,D=null;const I=$.clearTimeout,F=$.setTimeout,H=$.cancelAnimationFrame||$.mozCancelAnimationFrame||$.webkitCancelAnimationFrame,Y=$.requestAnimationFrame||$.mozRequestAnimationFrame||$.webkitRequestAnimationFrame;function q(e){let t,n,r,i,o,a,l;const s="undefined"!==typeof document&&document.attachEvent;if(!s){a=function(e){const t=e.__resizeTriggers__,n=t.firstElementChild,r=t.lastElementChild,i=n.firstElementChild;r.scrollLeft=r.scrollWidth,r.scrollTop=r.scrollHeight,i.style.width=n.offsetWidth+1+"px",i.style.height=n.offsetHeight+1+"px",n.scrollLeft=n.scrollWidth,n.scrollTop=n.scrollHeight},o=function(e){return e.offsetWidth!==e.__resizeLast__.width||e.offsetHeight!==e.__resizeLast__.height},l=function(e){if(e.target.className&&"function"===typeof e.target.className.indexOf&&e.target.className.indexOf("contract-trigger")<0&&e.target.className.indexOf("expand-trigger")<0)return;const t=this;a(this),this.__resizeRAF__&&P(this.__resizeRAF__),this.__resizeRAF__=D((function(){o(t)&&(t.__resizeLast__.width=t.offsetWidth,t.__resizeLast__.height=t.offsetHeight,t.__resizeListeners__.forEach((function(n){n.call(t,e)})))}))};let e=!1,s="";r="animationstart";const u="Webkit Moz O ms".split(" ");let c="webkitAnimationStart animationstart oAnimationStart MSAnimationStart".split(" "),d="";{const t=document.createElement("fakeelement");
1if(void 0!==t.style.animationName&&(e=!0),!1===e)for(let n=0;n<u.length;n++)if(void 0!==t.style[u[n]+"AnimationName"]){d=u[n],s="-"+d.toLowerCase()+"-",r=c[n],e=!0;break}}n="resizeanim",t="@"+s+"keyframes "+n+" { from { opacity: 0; } to { opacity: 0; } } ",i=s+"animation: 1ms "+n+"; "}return{addResizeListener:function(o,u){if(s)o.attachEvent("onresize",u);else{if(!o.__resizeTriggers__){const s=o.ownerDocument,u=$.getComputedStyle(o);u&&"static"===u.position&&(o.style.position="relative"),function(n){if(!n.getElementById("detectElementResize")){const r=(t||"")+".resize-triggers { "+(i||"")+'visibility: hidden; opacity: 0; } .resize-triggers, .resize-triggers > div, .contract-trigger:before { content: " "; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; z-index: -1; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }',o=n.head||n.getElementsByTagName("head")[0],a=n.createElement("style");a.id="detectElementResize",a.type="text/css",null!=e&&a.setAttribute("nonce",e),a.styleSheet?a.styleSheet.cssText=r:a.appendChild(n.createTextNode(r)),o.appendChild(a)}}(s),o.__resizeLast__={},o.__resizeListeners__=[],(o.__resizeTriggers__=s.createElement("div")).className="resize-triggers";const c=s.createElement("div");c.className="expand-trigger",c.appendChild(s.createElement("div"));const d=s.createElement("div");d.className="contract-trigger",o.__resizeTriggers__.appendChild(c),o.__resizeTriggers__.appendChild(d),o.appendChild(o.__resizeTriggers__),a(o),o.addEventListener("scroll",l,!0),r&&(o.__resizeTriggers__.__animationListener__=function(e){e.animationName===n&&a(o)},o.__resizeTriggers__.addEventListener(r,o.__resizeTriggers__.__animationListener__))}o.__resizeListeners__.push(u)}},removeResizeListener:function(e,t){if(s)e.detachEvent("onresize",t);else if(e.__resizeListeners__.splice(e.__resizeListeners__.indexOf(t),1),!e.__resizeListeners__.length){e.removeEventListener("scroll",l,!0),e.__resizeTriggers__.__animationListener__&&(e.__resizeTriggers__.removeEventListener(r,e.__resizeTriggers__.__animationListener__),e.__resizeTriggers__.__animationListener__=null);try{e.__resizeTriggers__=!e.removeChild(e.__resizeTriggers__)}catch(n){}}}}}null==H||null==Y?(P=I,D=function(e){return F(e,20)}):(P=function([e,t]){H(e),I(t)},D=function(e){const t=Y((function(){I(n),e()})),n=F((function(){H(t),e()}),20);return[t,n]});class N extends r.Component{constructor(...e){super(...e),this.state={height:this.props.defaultHeight||0,width:this.props.defaultWidth||0},this._autoSizer=null,this._detectElementResize=null,this._didLogDeprecationWarning=!1,this._parentNode=null,this._resizeObserver=null,this._timeoutId=null,this._onResize=()=>{this._timeoutId=null;const{disableHeight:e,disableWidth:t,onResize:n}=this.props;if(this._parentNode){const r=window.getComputedStyle(this._parentNode)||{},i=parseFloat(r.paddingLeft||"0"),o=parseFloat(r.paddingRight||"0"),a=parseFloat(r.paddingTop||"0"),l=parseFloat(r.paddingBottom||"0"),s=this._parentNode.getBoundingClientRect(),u=s.height-a-l,c=s.width-i-o;if(!e&&this.state.height!==u||!t&&this.state.width!==c){this.setState({height:u,width:c});const e=()=>{this._didLogDeprecationWarning||(this._didLogDeprecationWarning=!0,console.warn("scaledWidth and scaledHeight parameters have been deprecated; use width and height instead"))};"function"===typeof n&&n({height:u,width:c,get scaledHeight(){return e(),u},get scaledWidth(){return e(),c}})}}},this._setRef=e=>{this._autoSizer=e}}componentDidMount(){const{nonce:e}=this.props,t=this._autoSizer?this._autoSizer.parentNode:null;if(null!=t&&t.ownerDocument&&t.ownerDocument.defaultView&&t instanceof t.ownerDocument.defaultView.HTMLElement){this._parentNode=t;const n=t.ownerDocument.defaultView.ResizeObserver;null!=n?(this._resizeObserver=new n((()=>{this._timeoutId=setTimeout(this._onResize,0)})),this._resizeObserver.observe(t)):(this._detectElementResize=q(e),this._detectElementResize.addResizeListener(t,this._onResize)),this._onResize()}}componentWillUnmount(){this._parentNode&&(this._detectElementResize&&this._detectElementResize.removeResizeListener(this._parentNode,this._onResize),null!==this._timeoutId&&clearTimeout(this._timeoutId),this._resizeObserver&&this._resizeObserver.disconnect())}render(){const{children:e,defaultHeight:t,defaultWidth:n,disableHeight:i=!1,disableWidth:o=!1,doNotBailOutOnEmptyChildren:a=!1,nonce:l,onResize:s,style:u={},tagName:c="div",...d}=this.props,{height:f,width:h}=this.state,p={overflow:"visible"},m={};let g=!1;
1return i||(0===f&&(g=!0),p.height=0,m.height=f,m.scaledHeight=f),o||(0===h&&(g=!0),p.width=0,m.width=h,m.scaledWidth=h),a&&(g=!1),(0,r.createElement)(c,{ref:this._setRef,style:{...p,...u},...d},!g&&e(m))}}function X(e,t,n){var i=this,o=(0,r.useRef)(null),a=(0,r.useRef)(0),l=(0,r.useRef)(null),s=(0,r.useRef)([]),u=(0,r.useRef)(),c=(0,r.useRef)(),d=(0,r.useRef)(e),f=(0,r.useRef)(!0);d.current=e;var h="undefined"!=typeof window,p=!t&&0!==t&&h;if("function"!=typeof e)throw new TypeError("Expected a function");t=+t||0;var m=!!(n=n||{}).leading,g=!("trailing"in n)||!!n.trailing,y="maxWait"in n,v="debounceOnServer"in n&&!!n.debounceOnServer,b=y?Math.max(+n.maxWait||0,t):null;(0,r.useEffect)((function(){return f.current=!0,function(){f.current=!1}}),[]);var x=(0,r.useMemo)((function(){var e=function(e){var t=s.current,n=u.current;return s.current=u.current=null,a.current=e,c.current=d.current.apply(n,t)},n=function(e,t){p&&cancelAnimationFrame(l.current),l.current=p?requestAnimationFrame(e):setTimeout(e,t)},r=function(e){if(!f.current)return!1;var n=e-o.current;return!o.current||n>=t||n<0||y&&e-a.current>=b},x=function(t){return l.current=null,g&&s.current?e(t):(s.current=u.current=null,c.current)},_=function e(){var i=Date.now();if(r(i))return x(i);if(f.current){var l=t-(i-o.current),s=y?Math.min(l,b-(i-a.current)):l;n(e,s)}},w=function(){if(h||v){var d=Date.now(),p=r(d);if(s.current=[].slice.call(arguments),u.current=i,o.current=d,p){if(!l.current&&f.current)return a.current=o.current,n(_,t),m?e(o.current):c.current;if(y)return n(_,t),e(o.current)}return l.current||n(_,t),c.current}};return w.cancel=function(){l.current&&(p?cancelAnimationFrame(l.current):clearTimeout(l.current)),a.current=0,s.current=o.current=u.current=l.current=null},w.isPending=function(){return!!l.current},w.flush=function(){return l.current?x(Date.now()):c.current},w}),[m,y,t,b,g,p,h,v]);return x}function G(e,t){return e===t}var U=n(16773),V=n(82569),K=n(18990),Q=n(20243),J=n(29282),ee=n(27470),te=n(75908),ne=n(86600),re=n(81199),ie=n(84252),oe=n(54885),ae=n(1968),le=n(85925),se=n(94474),ue=n(69786),ce=n(67185),de=n(14643),fe=n(60676),he=n(39397),pe=n(12451),me=n(73334),ge=n(67432),ye=n(27927),ve=n(381),be=n(54038),xe=n(65062),_e=n(60246),we=n(46244),ke=n(53182),Ze=n(6925),Ce=n(14923),je=n(9617),ze=n(32982),Oe=n(77898),Se=n(83162),We=n(6906),Me=n(89593),Ee=n(56254),Te=n(1335),Re=n(30108),Be=n(56401),Le=n(43111),Ae=n(62651),$e=n(53637),Pe=n(82432),De=n(34214),Ie=n(23750),Fe=n(70730),He=n(74804),Ye=n(72803),qe=n(92861),Ne=n(7451),Xe=n(82372),Ge=n(58478),Ue=n(34121),Ve=n(18728),Ke=n(65600),Qe=n(73097),Je=n(58230),et=n(31810),tt=n(30894),nt=n(95697),rt=n(16032),it=n(87304),ot=n(52989),at=n(41833),lt=n(90105),st=n(50140),ut=n(10928),ct=(n(1469),n(23560)),dt=n(42957),ft=n(98790),ht=n(68630),pt=n(78718),mt=n(18446),gt=(0,r.createContext)(),yt=function(e){var t=e.children,n=e.animate,o=void 0===n||n,a=e.config,l=void 0===a?"default":a,u=(0,r.useMemo)((function(){var e=A(l)?i.vc[l]:l;return{animate:o,config:e}}),[o,l]);return(0,s.jsx)(gt.Provider,{value:u,children:t})},vt=function(){return(0,r.useContext)(gt)},bt=function(e){var t=e.children,n=e.condition,i=e.wrapper;return n?(0,r.cloneElement)(i,{},t):t},xt={position:"relative"},_t=function(e){var t=e.children,n=e.theme,i=e.renderWrapper,o=void 0===i||i,a=e.isInteractive,l=void 0===a||a,u=e.animate,c=e.motionConfig,d=(0,r.useRef)(null);return(0,s.jsx)(b,{theme:n,children:(0,s.jsx)(yt,{animate:u,config:c,children:(0,s.jsx)(L,{container:d,children:(0,s.jsxs)(bt,{condition:o,wrapper:(0,s.jsx)("div",{style:xt,ref:d}),children:[t,l&&(0,s.jsx)(B,{})]})})})})},wt=function(e,t){return e.width===t.width&&e.height===t.height},kt=function(e){var t=e.children,n=e.width,i=e.height,o=e.onResize,a=function(e,t,n){var i=n&&n.equalityFn||G,o=(0,r.useRef)(e),a=(0,r.useState)({})[1],l=X((0,r.useCallback)((function(e){o.current=e,a({})}),[a]),t,n),s=(0,r.useRef)(e);return i(s.current,e)||(l(e),s.current=e),[o.current,l]}({width:n,height:i},e.debounceResize,{equalityFn:wt})[0];return(0,r.useEffect)((function(){null==o||o(a)}),[a,o]),(0,s.jsx)(s.Fragment,{children:t(a)})},Zt=function(e){var t=e.children,n=e.defaultWidth,r=e.defaultHeight,i=e.onResize,o=e.debounceResize,a=void 0===o?0:o;return(0,s.jsx)(N,{defaultWidth:n,defaultHeight:r,children:function(e){var n=e.width,r=e.height;return(0,s.jsx)(kt,{width:n,height:r,onResize:i,debounceResize:a,children:t})}})};function Ct(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function jt(){return jt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},jt.apply(null,arguments)}function zt(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}var Ot=["id","colors"],St={linearGradient:function(e){var t=e.id,n=e.colors,r=zt(e,Ot);return(0,s.jsx)("linearGradient",jt({id:t,x1:0,x2:0,y1:0,y2:1},r,{children:n.map((function(e){var t=e.offset,n=e.color,r=e.opacity;return(0,s.jsx)("stop",{offset:t+"%",stopColor:n,stopOpacity:void 0!==r?r:1},t)}))}))}},Wt="#000000",Mt="#ffffff",Et=4,Tt=4,Rt=!1,Bt=(0,r.memo)((function(e){var t=e.id,n=e.background,r=void 0===n?Mt:n,i=e.color,o=void 0===i?Wt:i,a=e.size,l=void 0===a?Et:a,u=e.padding,c=void 0===u?Tt:u,d=e.stagger,f=void 0===d?Rt:d,h=l+c,p=l/2,m=c/2;return!0===f&&(h=2*l+2*c),(0,s.jsxs)("pattern",{id:t,width:h,height:h,patternUnits:"userSpaceOnUse",children:[(0,s.jsx)("rect",{width:h,height:h,fill:r}),(0,s.jsx)("circle",{cx:m+p,cy:m+p,r:p,fill:o}),f&&(0,s.jsx)("circle",{cx:1.5*c+l+p,cy:1.5*c+l+p,r:p,fill:o})]})})),Lt=(Math.PI,function(e){return e*Math.PI/180}),At={svg:{align:{left:"start",center:"middle",right:"end",start:"start",middle:"middle",end:"end"},baseline:{top:"text-before-edge",center:"central",bottom:"alphabetic"}},canvas:{align:{left:"left",center:"center",right:"right",start:"left",middle:"center",end:"right"},baseline:{top:"top",center:"middle",bottom:"bottom"}}},$t=5,Pt=0,Dt="#000000",It="#ffffff",Ft=2,Ht=(0,r.memo)((function(e){var t=e.id,n=e.spacing,r=void 0===n?$t:n,i=e.rotation,o=void 0===i?Pt:i,a=e.background,l=void 0===a?Dt:a,u=e.color,c=void 0===u?It:u,d=e.lineWidth,f=void 0===d?Ft:d,h=Math.round(o)%360,p=Math.abs(r);h>180?h-=360:h>90?h-=180:h<-180?h+=360:h<-90&&(h+=180);var m,g=p,y=p;return 0===h?m="\n                M 0 0 L "+g+" 0\n                M 0 "+y+" L "+g+" "+y+"\n            ":90===h?m="\n                M 0 0 L 0 "+y+"\n                M "+g+" 0 L "+g+" "+y+"\n            ":(g=Math.abs(p/Math.sin(Lt(h))),y=p/Math.sin(Lt(90-h
1)),m=h>0?"\n                    M 0 "+-y+" L "+2*g+" "+y+"\n                    M "+-g+" "+-y+" L "+g+" "+y+"\n                    M "+-g+" 0 L "+g+" "+2*y+"\n                ":"\n                    M "+-g+" "+y+" L "+g+" "+-y+"\n                    M "+-g+" "+2*y+" L "+2*g+" "+-y+"\n                    M 0 "+2*y+" L "+2*g+" 0\n                "),(0,s.jsxs)("pattern",{id:t,width:g,height:y,patternUnits:"userSpaceOnUse",children:[(0,s.jsx)("rect",{width:g,height:y,fill:l,stroke:"rgba(255, 0, 0, 0.1)",strokeWidth:0}),(0,s.jsx)("path",{d:m,strokeWidth:f,stroke:c,strokeLinecap:"square"})]})})),Yt="#000000",qt="#ffffff",Nt=4,Xt=4,Gt=!1,Ut={patternDots:Bt,patternLines:Ht,patternSquares:(0,r.memo)((function(e){var t=e.id,n=e.color,r=void 0===n?Yt:n,i=e.background,o=void 0===i?qt:i,a=e.size,l=void 0===a?Nt:a,u=e.padding,c=void 0===u?Xt:u,d=e.stagger,f=void 0===d?Gt:d,h=l+c,p=c/2;return!0===f&&(h=2*l+2*c),(0,s.jsxs)("pattern",{id:t,width:h,height:h,patternUnits:"userSpaceOnUse",children:[(0,s.jsx)("rect",{width:h,height:h,fill:o}),(0,s.jsx)("rect",{x:p,y:p,width:l,height:l,fill:r}),f&&(0,s.jsx)("rect",{x:1.5*c+l,y:1.5*c+l,width:l,height:l,fill:r})]})}))},Vt=["type"],Kt=jt({},St,Ut),Qt=(0,r.memo)((function(e){var t=e.defs;return!t||t.length<1?null:(0,s.jsx)("defs",{"aria-hidden":!0,children:t.map((function(e){var t=e.type,n=zt(e,Vt);return Kt[t]?(0,r.createElement)(Kt[t],jt({key:n.id},n)):null}))})})),Jt=(0,r.forwardRef)((function(e,t){var n=e.width,r=e.height,i=e.margin,o=e.defs,a=e.children,l=e.role,u=e.ariaLabel,c=e.ariaLabelledBy,d=e.ariaDescribedBy,f=e.isFocusable,h=x();return(0,s.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:n,height:r,role:l,"aria-label":u,"aria-labelledby":c,"aria-describedby":d,focusable:f,tabIndex:f?0:void 0,ref:t,children:[(0,s.jsx)(Qt,{defs:o}),(0,s.jsx)("rect",{width:n,height:r,fill:h.background}),(0,s.jsx)("g",{transform:"translate("+i.left+","+i.top+")",children:a})]})})),en=(0,r.memo)((function(e){var t=e.size,n=e.color,r=e.borderWidth,i=e.borderColor;return(0,s.jsx)("circle",{r:t/2,fill:n,stroke:i,strokeWidth:r,style:{pointerEvents:"none"}})})),tn=((0,r.memo)((function(e){var t=e.x,n=e.y,o=e.symbol,a=void 0===o?en:o,l=e.size,u=e.datum,c=e.color,d=e.borderWidth,h=e.borderColor,p=e.label,m=e.labelTextAnchor,g=void 0===m?"middle":m,y=e.labelYOffset,v=void 0===y?-12:y,b=e.ariaLabel,_=e.ariaLabelledBy,w=e.ariaDescribedBy,k=e.ariaHidden,Z=e.ariaDisabled,C=e.isFocusable,j=void 0!==C&&C,z=e.tabIndex,O=void 0===z?0:z,S=e.onFocus,W=e.onBlur,M=e.testId,E=x(),T=vt(),R=T.animate,B=T.config,L=(0,i.q_)({transform:"translate("+t+", "+n+")",config:B,immediate:!R}),A=(0,r.useCallback)((function(e){null==S||S(u,e)}),[S,u]),$=(0,r.useCallback)((function(e){null==W||W(u,e)}),[W,u]);return(0,s.jsxs)(i.q.g,{transform:L.transform,style:{pointerEvents:"none"},focusable:j,tabIndex:j?O:void 0,"aria-label":b,"aria-labelledby":_,"aria-describedby":w,"aria-disabled":Z,"aria-hidden":k,onFocus:j&&S?A:void 0,onBlur:j&&W?$:void 0,"data-testid":M,children:[(0,r.createElement)(a,{size:l,color:c,datum:u,borderWidth:d,borderColor:h}),p&&(0,s.jsx)("text",{textAnchor:g,y:v,style:f(E.dots.text),children:p})]})})),(0,r.memo)((function(e){var t=e.width,n=e.height,r=e.axis,i=e.scale,o=e.value,a=e.lineStyle,l=e.textStyle,u=e.legend,c=e.legendNode,d=e.legendPosition,f=void 0===d?"top-right":d,h=e.legendOffsetX,p=void 0===h?14:h,m=e.legendOffsetY,g=void 0===m?14:m,y=e.legendOrientation,v=void 0===y?"horizontal":y,b=x(),_=0,w=0,k=0,Z=0;if("y"===r?(k=i(o),w=t):(_=i(o),Z=n),u&&!c){var C=function(e){var t=e.width,n=e.height,r=e.position,i=e.offsetX,o=e.offsetY,a=e.orientation,l=0,s=0,u="vertical"===a?-90:0,c="start";if("x"===e.axis)switch(r){case"top-left":l=-i,s=o,c="end";break;case"top":s=-o,c="horizontal"===a?"middle":"start";break;case"top-right":l=i,s=o,c="horizontal"===a?"start":"end";break;case"right":l=i,s=n/2,c="horizontal"===a?"start":"middle";break;case"bottom-right":l=i,s=n-o,c="start";break;case"bottom":s=n+o,c="horizontal"===a?"middle":"end";break;case"bottom-left":s=n-o,l=-i,c="horizontal"===a?"end":"start";break;case"left":l=-i,s=n/2,c="horizontal"===a?"end":"middle"}else switch(r){case"top-left":l=i,s=-o,c="start";break;case"top":l=t/2,s=-o,c="horizontal"===a?"middle":"start";break;case"top-right":l=t-i,s=-o,c="horizontal"===a?"end":"start";break;case"right":l=t+i,c="horizontal"===a?"start":"middle";break;case"bottom-right":l=t-i,s=o,c="end";break;case"bottom":l=t/2,s=o,c="horizontal"===a?"middle":"end";break;case"bottom-left":l=i,s=o,c="horizontal"===a?"start":"end";break;case"left":l=-i,c="horizontal"===a?"end":"middle"}return{x:l,y:s,rotation:u,textAnchor:c}}({axis:r,width:t,height:n,position:f,offsetX:p,offsetY:g,orientation:v});c=(0,s.jsx)("text",{transform:"translate("+C.x+", "+C.y+") rotate("+C.rotation+")",textAnchor:C.textAnchor,dominantBaseline:"central",style:l,children:u})}return(0,s.jsxs)("g",{transform:"translate("+_+", "+k+")",children:[(0,s.jsx)("line",{x1:0,x2:w,y1:0,y2:Z,stroke:b.markers.lineColor,strokeWidth:b.markers.lineStrokeWidth,style:a}),c]})}))),nn=((0,r.memo)((function(e){var t=e.markers,n=e.width,r=e.height,i=e.xScale,o=e.yScale;return t&&0!==t.length?t.map((function(e,t){return(0,s.jsx)(tn,jt({},e,{width:n,height:r,scale:"y"===e.axis?o:i}),t)})):null})),(0,r.createContext)(void 0),{basis:K.ZP,basisClosed:Q.Z,basisOpen:J.Z,bundle:ee.Z,cardinal:te.ZP,cardinalClosed:ne.Z,cardinalOpen:re.Z,catmullRom:ie.Z,
1catmullRomClosed:oe.Z,catmullRomOpen:ae.Z,linear:le.Z,linearClosed:se.Z,monotoneX:ue.Z,monotoneY:ue.s,natural:ce.Z,step:de.ZP,stepAfter:de.cD,stepBefore:de.RN}),rn=Object.keys(nn),on=(rn.filter((function(e){return e.endsWith("Closed")})),V(rn,"bundle","basisClosed","basisOpen","cardinalClosed","cardinalOpen","catmullRomClosed","catmullRomOpen","linearClosed"),V(rn,"bundle","basisClosed","basisOpen","cardinalClosed","cardinalOpen","catmullRomClosed","catmullRomOpen","linearClosed"),{ascending:fe.Z,descending:he.Z,insideOut:pe.Z,none:me.Z,reverse:ge.Z}),an=(Object.keys(on),{expand:ye.Z,diverging:ve.Z,none:be.Z,silhouette:xe.Z,wiggle:_e.Z}),ln=(Object.keys(an),function(e){return(0,r.useMemo)((function(){return function(e){if(!nn[e])throw new TypeError("'"+e+"', is not a valid curve interpolator identifier.");return nn[e]}(e)}),[e])}),sn={nivo:["#d76445","#f47560","#e8c1a0","#97e3d5","#61cdbb","#00b0a7"],BrBG:ut(ke.r),PRGn:ut(Ze.r),PiYG:ut(Ce.r),PuOr:ut(je.r),RdBu:ut(ze.r),RdGy:ut(Oe.r),RdYlBu:ut(Se.r),RdYlGn:ut(We.r),spectral:ut(Me.r),blues:ut(Ee.r),greens:ut(Te.r),greys:ut(Re.r),oranges:ut(Be.r),purples:ut(Le.r),reds:ut(Ae.r),BuGn:ut($e.r),BuPu:ut(Pe.r),GnBu:ut(De.r),OrRd:ut(Ie.r),PuBuGn:ut(Fe.r),PuBu:ut(He.r),PuRd:ut(Ye.r),RdPu:ut(qe.r),YlGnBu:ut(Ne.r),YlGn:ut(Xe.r),YlOrBr:ut(Ge.r),YlOrRd:ut(Ue.r)},un=(Object.keys(sn),Ve.Z,Ke.Z,Qe.Z,Je.Z,et.Z,tt.Z,nt.Z,rt.Z,it.Z,ut(ke.r),ut(Ze.r),ut(Ce.r),ut(je.r),ut(ze.r),ut(Oe.r),ut(Se.r),ut(We.r),ut(Me.r),ut(Ee.r),ut(Te.r),ut(Re.r),ut(Be.r),ut(Le.r),ut(Ae.r),ut($e.r),ut(Pe.r),ut(De.r),ut(Ie.r),ut(Fe.r),ut(He.r),ut(Ye.r),ut(qe.r),ut(Ne.r),ut(Xe.r),ut(Ge.r),ut(Ue.r),ke.Z,Ze.Z,Ce.Z,je.Z,ze.Z,Oe.Z,Se.Z,We.Z,Me.Z,Ee.Z,Te.Z,Re.Z,Be.Z,Le.Z,Ae.Z,ot.ZP,ot.yy,ot.uX,ot.zD,at.s7,at.H7,lt.Z,$e.Z,Pe.Z,De.Z,Ie.Z,Fe.Z,He.Z,Ye.Z,qe.Z,Ne.Z,Xe.Z,Ge.Z,Ue.Z,at.ZP,st.Z,(0,we.Z)(it.Z),{top:0,right:0,bottom:0,left:0}),cn=function(){var e=(0,r.useRef)(null),t=(0,r.useState)({left:0,top:0,width:0,height:0}),n=t[0],i=t[1],o=(0,r.useState)((function(){return"undefined"==typeof ResizeObserver?null:new ResizeObserver((function(e){var t=e[0];return i(t.contentRect)}))}))[0];return(0,r.useEffect)((function(){return e.current&&null!==o&&o.observe(e.current),function(){null!==o&&o.disconnect()}}),[o]),[e,n]},dn=function(e){return(0,r.useMemo)((function(){return function(e){return"function"==typeof e?e:"string"==typeof e?0===e.indexOf("time:")?(0,ft.i$)(e.slice("5")):(0,dt.WU)(e):function(e){return""+e}}(e)}),[e])},fn=function(e){return(0,r.useMemo)((function(){return function(e){return ct(e)?e:function(t){return a(t,e)}}(e)}),[e])},hn=Object.keys(St),pn=Object.keys(Ut),mn=function(e,t,n,r){var i=void 0===r?{}:r,o=i.dataKey,s=i.colorKey,u=void 0===s?"color":s,c=i.targetKey,d=void 0===c?"fill":c,f=[],h={};return e.length&&t.length&&(f=[].concat(e),t.forEach((function(t){for(var r,i=function(){var n=r.value,i=n.id;if(function(e,t,n){if("*"===e)return!0;if(ct(e))return e(t);if(ht(e)){var r=n?a(t,n):t;return mt(pt(r,Object.keys(e)),e)}return!1}(n.match,t,o)){var s=e.find((function(e){return e.id===i}));if(s)if(pn.includes(s.type))if("inherit"===s.background||"inherit"===s.color){var c=a(t,u),p=s.background,m=s.color,g=i;"inherit"===s.background&&(g=g+".bg."+c,p=c),"inherit"===s.color&&(g=g+".fg."+c,m=c),l(t,d,"url(#"+g+")"),h[g]||(f.push(jt({},s,{id:g,background:p,color:m})),h[g]=1)}else l(t,d,"url(#"+i+")");else if(hn.includes(s.type))if(s.colors.map((function(e){return e.color})).includes("inherit")){var y=a(t,u),v=i,b=jt({},s,{colors:s.colors.map((function(e,t){return"inherit"!==e.color?e:(v=v+"."+t+"."+y,jt({},e,{color:"inherit"===e.color?y:e.color}))}))});b.id=v,l(t,d,"url(#"+v+")"),h[v]||(f.push(b),h[v]=1)}else l(t,d,"url(#"+i+")");return 1}},s=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return Ct(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ct(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(n);!(r=s()).done&&!i(););}))),f};function gn(){return gn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},gn.apply(null,arguments)}function yn(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}var vn=["style","children"],bn=["outlineWidth","outlineColor","outlineOpacity"],xn=function(e){var t=e.style,n=e.children,r=yn(e,vn),o=t.outlineWidth,a=t.outlineColor,l=t.outlineOpacity,u=yn(t,bn);return(0,s.jsxs)(s.Fragment,{children:[o>0&&(0,s.jsx)(i.q.text,gn({},r,{style:gn({},u,{strokeWidth:2*o,stroke:a,strokeOpacity:l,strokeLinejoin:"round"}),children:n})),(0,s.jsx)(i.q.text,gn({},r,{style:u,children:n}))]})},_n=(n(44908),n(45578),n(89734),n(47960),n(33251)),wn=n(1771),kn=n(64635),Zn=n(68063),Cn=n(98179),jn=n(15086),zn=n(7197),On=n(74878),Sn=n(42784),Wn=n(60590),Mn=n(11829),En=n(22776),Tn=n(97326),Rn=n(4584),Bn=n(47512),Ln=n(82209),An=n(31181);var $n=[function(e){return e.setMilliseconds(0)},function(e){return e.setSeconds(0)},function(e){return e.setMinutes(0)},function(e){return e.setHours(0)},function(e){return e.setDate(1)},function(e){return e.setMonth(0)}],Pn=($n.slice(0,1),$n.slice(0,2),$n.slice(0,3),$n.slice(0,4),$n.slice(0,5),$n.slice(0,6),0),Dn="auto",In=!1,Fn=!1,Hn=!1,Yn=!0,qn=!1,Nn=function(e,t,n,r){var i,o,a,l,s=e.min,u=void 0===s?Pn:s,c=e.max,d=void 0===c?Dn:c,f=e.stacked,h=void 0===f?In:f,p=e.reverse,m=void 0===p?Fn:p,g=e.clamp,y=void 0===g?Hn:g,v=e.nice,b=void 0===v?Yn:v,x=e.round,_=void 0===x?qn:x;i="auto"===u?!0===h?null!=(o=t.minStacked)?o:0:t.min:u,a="auto"===d?!0===h?null!=(l=t.maxStacked)?l:0:t.max:d;var w=(0,_n.Z)().range("x"===r?[0,n]:[n,0]).interpolate(_?kn.Z:Zn.Z).domain(m?[a,i]:[i,a]).clamp(y);return!0===b?w.nice():"number"==typeof b&&w.nice(b),Xn(w,h)},Xn=function(e,t){void 0===t&&(t=!1);var n=e;return n.type="linear",n.stacked=t,n},Gn=function(e,t,n){var r=(0,wn.x)().range([0,n]).domain(t.all);return r.type="point",r};var Un=function(e){var t=e.bandwidth();if(0===t)return e;var n=t/2;return e.round()&&(n=Math.round(n)),function(t){var r;return(null!=(r=e(t))?r:0)+n}},Vn={millisecond:[Cn.Z,Cn.Z],second:[jn.Z,jn.Z],minute:[zn.Z,On.Z],hour:[Sn.Z,Wn.Z],day:[(0,Mn.Z)((function(e){return e.setHours(0,0,0,0)}),(function(e,t){return e.setDate(e.getDate()+t)}),(function(e,t){return(t.getTime()-e.getTime())/864e5}),(function(e){return Math.floor(e.getTime()/864e5)})),(0,Mn.Z)((function(e){return e.setUTCHours(0,0,0,0)}),(function(e,t){return e.setUTCDate(e.getUTCDate()+t)}),(function(e,t){return(t.getTime()-e.getTime())/864e5}),(function(e){return Math.floor(e.getTime()/864e5)}))],week:[En.OM,Tn.Ox],sunday:[En.OM,Tn.Ox],monday:[En.wA,Tn.l6],tuesday:[En.sy,Tn.J1],wednesday:[En.zg,Tn.b3],thursday:[En.bL,Tn.hB],friday:[En.mC,Tn.QQ],saturday:[En.EY,Tn.g4],month:[Rn.Z,Bn.Z],year:[Ln.Z,An.Z]},Kn=Object.keys(Vn),Qn=new RegExp("^every\\s*(\\d+)?\\s*("+Kn.join("|")+")s?$","i"),Jn=function(e,t){if(Array.isArray(t))return t;if("string"==typeof t&&"useUTC"in e){var n=t.match(Qn);if(n){var r=n[1],i=n[2],o=Vn[i][e.useUTC?1:0];if("day"===i){var a,l,s=e.domain(),u=s[0],c=s[1],d=new Date(c);return d.setDate(d.getDate()+1),null!=(a=null==(l=o.every(Number(null!=r?r:1)))?void 0:l.range(u,d))?a:[]}if(void 0===r)return e.ticks(o);var f=o.every(Number(r));if(f)return e.ticks(f)}throw new Error("Invalid tickValues: "+t)}if("ticks"in e){if(void 0===t)return e.ticks();if("number"==typeof(h=t)&&isFinite(h)&&Math.floor(h)===h)return e.ticks(t)}var h;return e.domain()};function er(){return er=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},er.apply(null,arguments)}var tr=function(e){var t,n=e.axis,r=e.scale,i=e.ticksPosition,o=e.tickValues,a=e.tickSize,l=e.tickPadding,s=e.tickRotation,u=e.truncateTickAt,c=e.engine,d=void 0===c?"svg":c,f=Jn(r,o),h=At[d],p="bandwidth"in r?Un(r):r,m={lineX:0,lineY:0},g={textX:0,textY:0},y="object"==typeof document&&"rtl"===document.dir,v=h.align.center,b=h.baseline.center;return"x"===n?(t=function(e){var t;return{x:null!=(t=p(e))?t:0,y:0}},m.lineY=a*("after"===i?1:-1),g.textY=(a+l)*("after"===i?1:-1),b="after"===i?h.baseline.top:h.baseline.bottom,0===s?v=h.align.center:"after"===i&&s<0||"before"===i&&s>0?(v=h.align[y?"left":"right"],b=h.baseline.center):("after"===i&&s>0||"before"===i&&s<0)&&(v=h.align[y?"right":"left"],b=h.baseline.center)):(t=function(e){var t;return{x:0,y:null!=(t=p(e))?t:0}},m.lineX=a*("after"===i?1:-1),g.textX=(a+l)*("after"===i?1:-1),v="after"===i?h.align.left:h.align.right),{ticks:f.map((function(e){var n="string"==typeof e?function(e){var t=String(e).length;return u&&u>0&&t>u?""+String(e).slice(0,u).concat("..."):""+e}(e):e;return er({key:e instanceof Date?""+e.valueOf():""+e,value:n},t(e),m,g)})),textAlign:v,textBaseline:b}},nr=function(e,t){if(void 0===e||"function"==typeof e)return e;if("time"===t.type){var n=(0,ft.i$)(e);return function(e){return n(e instanceof Date?e:new Date(e))}}return(0,dt.WU)(e)},rr=function(e){var t,n=e.width,r=e.height,i=e.scale,o=e.axis,a=e.values,l=(t=a,(Array.isArray(t)?a:void 0)||Jn(i,a)),s="bandwidth"in i?Un(i):i,u="x"===o?l.map((function(e){var t,n;return{key:e instanceof Date?""+e.valueOf():""+e,x1:null!=(t=s(e))?t:0,x2:null!=(n=s(e))?n:0,y1:0,y2:r}})):l.map((function(e){var t,r;return{key:e instanceof Date?""+e.valueOf():""+e,x1:0,x2:n,y1:null!=(t=s(e))?t:0,y2:null!=(r=s(e))?r:0}}));return u},ir=(0,r.memo)((function(e){var t,n=e.value,o=e.format,a=e.lineX,l=e.lineY,u=e.onClick,c=e.textBaseline,d=e.textAnchor,f=e.theme,h=e.animatedProps,p=null!=(t=null==o?void 0:o(n))?t:n,m=(0,r.useMemo)((function(){var e={opacity:h.opacity};return u?{style:er({},e,{cursor:"pointer"}),onClick:function(e){return u(e,p)}}:{style:e}}),[h.opacity,u,p]);return(0,s.jsxs)(i.q.g,er({transform:h.transform},m,{children:[(0,s.jsx)("line",{x1:0,x2:a,y1:0,y2:l,style:f.line}),(0,s.jsx)(xn,{dominantBaseline:c,textAnchor:d,transform:h.textTransform,style:f.text,children:""+p})]}))})),or=5,ar=5,lr=0,sr="middle",ur=0,cr=(0,r.memo)((function(e){var t=e.axis,n=e.scale,o=e.x,a=void 0===o?0:o,l=e.y,u=void 0===l?0:l,c=e.length,d=e.ticksPosition,f=e.tickValues,h=e.tickSize,p=void 0===h?or:h,m=e.tickPadding,y=void 0===m?ar:m,v=e.tickRotation,b=void 0===v?lr:v,_=e.format,w=e.renderTick,k=void 0===w?ir:w,Z=e.truncateTickAt,C=e.legend,j=e.legendPosition,z=void 0===j?sr:j,O=e.legendOffset,S=void 0===O?ur:O,W=e.style,M=e.onClick,E=e.ariaHidden,T=x(),R=g(T.axis,W),B=(0,r.useMemo)((function(){return nr(_,n)}),[_,n]),L=tr({axis:t,scale:n,ticksPosition:d,tickValues:f,tickSize:p,tickPadding:y,tickRotation:b,truncateTickAt:Z}),A=L.ticks,$=L.textAlign,P=L.textBaseline,D=null;if(void 0!==C){var I,F=0,H=0,Y=0;"y"===t?(Y=-90,F=S,"start"===z?(I="start",H=c):"middle"===z?(I="middle",H=c/2):"end"===z&&(I="end")):(H=S,"start"===z?I="start":"middle"===z?(I="middle",F=c/2):"end"===z&&(I="end",F=c)),D=(0,s.jsx)(s.Fragment,{children:(0,s.jsx)(xn,{transform:"translate("+F+", "+H+") rotate("+Y+")",textAnchor:I,style:er({},R.legend.text,{dominantBaseline:"central"}),children:C})})}var q=vt(),N=q.animate,X=q.config,G=(0,i.q_)({transform:"translate("+a+","+u+")",lineX2:"x"===t?c:0,lineY2:"x"===t?0:c,config:X,immediate:!N}),U=(0,r.useCallback)((function(e){return{opacity:1,transform:"translate("+e.x+","+e.y+")",textTransform:"translate("+e.textX+","+e.textY+") rotate("+b+")"}}),[b]),V=(0,r.useCallback)((function(e){return{opacity:0,transform:"translate("+e.x+","+e.y+")",textTransform:"translate("+e.textX+","+e.textY+") rotate("+b+")"}}),[b]),K=(0,i.Yz)(A,{keys:function(e){return e.key},initial:U,from:V,enter:U,update:U,leave:{opacity:0}
1,config:X,immediate:!N});return(0,s.jsxs)(i.q.g,{transform:G.transform,"aria-hidden":E,children:[K((function(e,t,n,i){return r.createElement(k,er({tickIndex:i,format:B,rotate:b,textBaseline:P,textAnchor:$,truncateTickAt:Z,animatedProps:e,theme:R.ticks},t,M?{onClick:M}:{}))})),(0,s.jsx)(i.q.line,{style:R.domain.line,x1:0,x2:G.lineX2,y1:0,y2:G.lineY2}),D]})})),dr=["top","right","bottom","left"],fr=(0,r.memo)((function(e){var t=e.xScale,n=e.yScale,r=e.width,i=e.height,o={top:e.top,right:e.right,bottom:e.bottom,left:e.left};return(0,s.jsx)(s.Fragment,{children:dr.map((function(e){var a=o[e];if(!a)return null;var l="top"===e||"bottom"===e;return(0,s.jsx)(cr,er({},a,{axis:l?"x":"y",x:"right"===e?r:0,y:"bottom"===e?i:0,scale:l?t:n,length:l?r:i,ticksPosition:"top"===e||"left"===e?"before":"after",truncateTickAt:a.truncateTickAt}),e)}))})})),hr=(0,r.memo)((function(e){var t=e.animatedProps,n=x();return(0,s.jsx)(i.q.line,er({},t,n.grid.line))})),pr=(0,r.memo)((function(e){var t=e.lines,n=vt(),o=n.animate,a=n.config,l=(0,i.Yz)(t,{keys:function(e){return e.key},initial:function(e){return{opacity:1,x1:e.x1,x2:e.x2,y1:e.y1,y2:e.y2}},from:function(e){return{opacity:0,x1:e.x1,x2:e.x2,y1:e.y1,y2:e.y2}},enter:function(e){return{opacity:1,x1:e.x1,x2:e.x2,y1:e.y1,y2:e.y2}},update:function(e){return{opacity:1,x1:e.x1,x2:e.x2,y1:e.y1,y2:e.y2}},leave:{opacity:0},config:a,immediate:!o});return(0,s.jsx)("g",{children:l((function(e,t){return(0,r.createElement)(hr,er({},t,{key:t.key,animatedProps:e}))}))})})),mr=(0,r.memo)((function(e){var t=e.width,n=e.height,i=e.xScale,o=e.yScale,a=e.xValues,l=e.yValues,u=(0,r.useMemo)((function(){return!!i&&rr({width:t,height:n,scale:i,axis:"x",values:a})}),[i,a,t,n]),c=(0,r.useMemo)((function(){return!!o&&rr({width:t,height:n,scale:o,axis:"y",values:l})}),[n,t,o,l]);return(0,s.jsxs)(s.Fragment,{children:[u&&(0,s.jsx)(pr,{lines:u}),c&&(0,s.jsx)(pr,{lines:c})]})})),gr=n(13180),yr=n(14767),vr=n(91525),br=n(4447);function xr(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function _r(){return _r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},_r.apply(null,arguments)}var wr={nivo:["#e8c1a0","#f47560","#f1e15b","#e8a838","#61cdbb","#97e3d5"],category10:Ve.Z,accent:Ke.Z,dark2:Qe.Z,paired:Je.Z,pastel1:et.Z,pastel2:tt.Z,set1:nt.Z,set2:rt.Z,set3:it.Z,tableau10:gr.Z},kr=Object.keys(wr),Zr={brown_blueGreen:ke.r,purpleRed_green:Ze.r,pink_yellowGreen:Ce.r,purple_orange:je.r,red_blue:ze.r,red_grey:Oe.r,red_yellow_blue:Se.r,red_yellow_green:We.r,spectral:Me.r},Cr=Object.keys(Zr),jr={brown_blueGreen:ke.Z,purpleRed_green:Ze.Z,pink_yellowGreen:Ce.Z,purple_orange:je.Z,red_blue:ze.Z,red_grey:Oe.Z,red_yellow_blue:Se.Z,red_yellow_green:We.Z,spectral:Me.Z},zr={blues:Ee.r,greens:Te.r,greys:Re.r,oranges:Be.r,purples:Le.r,reds:Ae.r,blue_green:$e.r,blue_purple:Pe.r,green_blue:De.r,orange_red:Ie.r,purple_blue_green:Fe.r,purple_blue:He.r,purple_red:Ye.r,red_purple:qe.r,yellow_green_blue:Ne.r,yellow_green:Xe.r,yellow_orange_brown:Ge.r,yellow_orange_red:Ue.r},Or=Object.keys(zr),Sr={blues:Ee.Z,greens:Te.Z,greys:Re.Z,oranges:Be.Z,purples:Le.Z,reds:Ae.Z,turbo:yr.Z,viridis:ot.ZP,inferno:ot.yy,magma:ot.uX,plasma:ot.zD,cividis:vr.Z,warm:at.s7,cool:at.H7,cubehelixDefault:lt.Z,blue_green:$e.Z,blue_purple:Pe.Z,green_blue:De.Z,orange_red:Ie.Z,purple_blue_green:Fe.Z,purple_blue:He.Z,purple_red:Ye.Z,red_purple:qe.Z,yellow_green_blue:Ne.Z,yellow_green:Xe.Z,yellow_orange_brown:Ge.Z,yellow_orange_red:Ue.Z},Wr=_r({},wr,Zr,zr),Mr=(Object.keys(Wr),_r({},jr,Sr,{rainbow:at.ZP,sinebow:st.Z})),Er=(Object.keys(Mr),function(e,t){if("function"==typeof e)return e;if(ht(e)){if(function(e){return void 0!==e.theme}(e)){if(void 0===t)throw new Error("Unable to use color from theme as no theme was provided");var n=a(t,e.theme);if(void 0===n)throw new Error("Color from theme is undefined at path: '"+e.theme+"'");return function(){return n}}if(function(e){return void 0!==e.from}(e)){var r=function(t){return a(t,e.from)};if(Array.isArray(e.modifiers)){for(var i,o=[],l=function(){var e=i.value,t=e[0],n=e[1];if("brighter"===t)o.push((function(e){return e.brighter(n)}));else if("darker"===t)o.push((function(e){return e.darker(n)}));else{if("opacity"!==t)throw new Error("Invalid color modifier: '"+t+"', must be one of: 'brighter', 'darker', 'opacity'");o.push((function(e){return e.opacity=n,e}))}},s=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return xr(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?xr(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(e.modifiers);!(i=s()).done;)l();return 0===o.length?r:function(e){return o.reduce((function(e,t){return t(e)}),(0,br.B8)(r(e))).toString()}}return r}throw new Error("Invalid color spec, you should either specify 'theme' or 'from' when using a config object")}return function(){return e}}),Tr=function(e,t){return(0,r.useMemo)((function(){return Er(e,t)}),[e,t])},Rr=function(e,t){if("function"==typeof e)return e;var n="function"==typeof t?t:function(e){return a(e,t)};if(Array.isArray(e)){var r=(0,we.Z)(e),i=function(e){return r(n(e))};return i.scale=r,i}if(ht(e)){if(function(e){return void 0!==e.datum}(e))return function(t){return a(t,e.datum)};if(function(e){return void 0!==e.scheme}
1(e)){if(function(e){return kr.includes(e)}(e.scheme)){var o=(0,we.Z)(Wr[e.scheme]),l=function(e){return o(n(e))};return l.scale=o,l}if(function(e){return Cr.includes(e)}(e.scheme)){if(void 0!==e.size&&(e.size<3||e.size>11))throw new Error("Invalid size '"+e.size+"' for diverging color scheme '"+e.scheme+"', must be between 3~11");var s=(0,we.Z)(Wr[e.scheme][e.size||11]),u=function(e){return s(n(e))};return u.scale=s,u}if(function(e){return Or.includes(e)}(e.scheme)){if(void 0!==e.size&&(e.size<3||e.size>9))throw new Error("Invalid size '"+e.size+"' for sequential color scheme '"+e.scheme+"', must be between 3~9");var c=(0,we.Z)(Wr[e.scheme][e.size||9]),d=function(e){return c(n(e))};return d.scale=c,d}}throw new Error("Invalid colors, when using an object, you should either pass a 'datum' or a 'scheme' property")}return function(){return e}};function Br(){return Br=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Br.apply(null,arguments)}var Lr=0,Ar=0,$r=0,Pr=0,Dr="left-to-right",Ir=!1,Fr="square",Hr=16,Yr=8,qr={top:0,right:0,bottom:0,left:0},Nr=function(e){var t,n=e.direction,r=e.itemsSpacing,i=e.padding,o=e.itemCount,a=e.itemWidth,l=e.itemHeight;if("number"!=typeof i&&("object"!=typeof(t=i)||Array.isArray(t)||null===t))throw new Error("Invalid property padding, must be one of: number, object");var s="number"==typeof i?{top:i,right:i,bottom:i,left:i}:Br({},qr,i),u=s.left+s.right,c=s.top+s.bottom,d=a+u,f=l+c,h=(o-1)*r;return"row"===n?d=a*o+h+u:"column"===n&&(f=l*o+h+c),{width:d,height:f,padding:s}},Xr=function(e){var t=e.anchor,n=e.translateX,r=e.translateY,i=e.containerWidth,o=e.containerHeight,a=e.width,l=e.height,s=n,u=r;switch(t){case"top":s+=(i-a)/2;break;case"top-right":s+=i-a;break;case"right":s+=i-a,u+=(o-l)/2;break;case"bottom-right":s+=i-a,u+=o-l;break;case"bottom":s+=(i-a)/2,u+=o-l;break;case"bottom-left":u+=o-l;break;case"left":u+=(o-l)/2;break;case"center":s+=(i-a)/2,u+=(o-l)/2}return{x:s,y:u}},Gr=function(e){var t,n,r,i,o,a,l=e.direction,s=e.justify,u=e.symbolSize,c=e.symbolSpacing,d=e.width,f=e.height;switch(l){case"left-to-right":t=0,n=(f-u)/2,i=f/2,a="central",s?(r=d,o="end"):(r=u+c,o="start");break;case"right-to-left":t=d-u,n=(f-u)/2,i=f/2,a="central",s?(r=0,o="start"):(r=d-u-c,o="end");break;case"top-to-bottom":t=(d-u)/2,n=0,r=d/2,o="middle",s?(i=f,a="alphabetic"):(i=u+c,a="text-before-edge");break;case"bottom-to-top":t=(d-u)/2,n=f-u,r=d/2,o="middle",s?(i=0,a="text-before-edge"):(i=f-u-c,a="alphabetic")}return{symbolX:t,symbolY:n,labelX:r,labelY:i,labelAnchor:o,labelAlignment:a}},Ur={circle:function(e){var t=e.x,n=e.y,r=e.size,i=e.fill,o=e.opacity,a=void 0===o?1:o,l=e.borderWidth,u=void 0===l?0:l,c=e.borderColor;return(0,s.jsx)("circle",{r:r/2,cx:t+r/2,cy:n+r/2,fill:i,opacity:a,strokeWidth:u,stroke:void 0===c?"transparent":c,style:{pointerEvents:"none"}})},diamond:function(e){var t=e.x,n=e.y,r=e.size,i=e.fill,o=e.opacity,a=void 0===o?1:o,l=e.borderWidth,u=void 0===l?0:l,c=e.borderColor;return(0,s.jsx)("g",{transform:"translate("+t+","+n+")",children:(0,s.jsx)("path",{d:"\n                    M"+r/2+" 0\n                    L"+.8*r+" "+r/2+"\n                    L"+r/2+" "+r+"\n                    L"+.2*r+" "+r/2+"\n                    L"+r/2+" 0\n                ",fill:i,opacity:a,strokeWidth:u,stroke:void 0===c?"transparent":c,style:{pointerEvents:"none"}})})},square:function(e){var t=e.x,n=e.y,r=e.size,i=e.fill,o=e.opacity,a=void 0===o?1:o,l=e.borderWidth,u=void 0===l?0:l,c=e.borderColor;return(0,s.jsx)("rect",{x:t,y:n,fill:i,opacity:a,strokeWidth:u,stroke:void 0===c?"transparent":c,width:r,height:r,style:{pointerEvents:"none"}})},triangle:function(e){var t=e.x,n=e.y,r=e.size,i=e.fill,o=e.opacity,a=void 0===o?1:o,l=e.borderWidth,u=void 0===l?0:l,c=e.borderColor;return(0,s.jsx)("g",{transform:"translate("+t+","+n+")",children:(0,s.jsx)("path",{d:"\n                M"+r/2+" 0\n                L"+r+" "+r+"\n                L0 "+r+"\n                L"+r/2+" 0\n            ",fill:i,opacity:a,strokeWidth:u,stroke:void 0===c?"transparent":c,style:{pointerEvents:"none"}})})}},Vr=function(e){var t,n,i,o,a,l,u,c,d,f,h,p=e.x,m=e.y,g=e.width,y=e.height,v=e.data,b=e.direction,_=void 0===b?Dr:b,w=e.justify,k=void 0===w?Ir:w,Z=e.textColor,C=e.background,j=void 0===C?"transparent":C,z=e.opacity,O=void 0===z?1:z,S=e.symbolShape,W=void 0===S?Fr:S,M=e.symbolSize,E=void 0===M?Hr:M,T=e.symbolSpacing,R=void 0===T?Yr:T,B=e.symbolBorderWidth,L=void 0===B?0:B,A=e.symbolBorderColor,$=void 0===A?"transparent":A,P=e.onClick,D=e.onMouseEnter,I=e.onMouseLeave,F=e.toggleSerie,H=e.effects,Y=(0,r.useState)({}),q=Y[0],N=Y[1],X=x(),G=(0,r.useCallback)((function(e){if(H){var t=H.filter((function(e){return"hover"===e.on})).reduce((function(e,t){return Br({},e,t.style)}
1),{});N(t)}null==D||D(v,e)}),[D,v,H]),U=(0,r.useCallback)((function(e){if(H){var t=H.filter((function(e){return"hover"!==e.on})).reduce((function(e,t){return Br({},e,t.style)}),{});N(t)}null==I||I(v,e)}),[I,v,H]),V=Gr({direction:_,justify:k,symbolSize:null!=(t=q.symbolSize)?t:E,symbolSpacing:R,width:g,height:y}),K=V.symbolX,Q=V.symbolY,J=V.labelX,ee=V.labelY,te=V.labelAnchor,ne=V.labelAlignment,re=[P,D,I,F].some((function(e){return void 0!==e})),ie="function"==typeof W?W:Ur[W];return(0,s.jsxs)("g",{transform:"translate("+p+","+m+")",style:{opacity:null!=(n=q.itemOpacity)?n:O},children:[(0,s.jsx)("rect",{width:g,height:y,fill:null!=(i=q.itemBackground)?i:j,style:{cursor:re?"pointer":"auto"},onClick:function(e){null==P||P(v,e),null==F||F(v.id)},onMouseEnter:G,onMouseLeave:U}),r.createElement(ie,Br({id:v.id,x:K,y:Q,size:null!=(o=q.symbolSize)?o:E,fill:null!=(a=null!=(l=v.fill)?l:v.color)?a:"black",borderWidth:null!=(u=q.symbolBorderWidth)?u:L,borderColor:null!=(c=q.symbolBorderColor)?c:$},v.hidden?X.legends.hidden.symbol:void 0)),(0,s.jsx)(xn,{textAnchor:te,style:Br({},X.legends.text,{fill:null!=(d=null!=(f=null!=(h=q.itemTextColor)?h:Z)?f:X.legends.text.fill)?d:"black",dominantBaseline:ne,pointerEvents:"none",userSelect:"none"},v.hidden?X.legends.hidden.text:void 0),x:J,y:ee,children:v.label})]})},Kr=function(e){var t=e.data,n=e.x,r=e.y,i=e.direction,o=e.padding,a=void 0===o?$r:o,l=e.justify,u=e.effects,c=e.itemWidth,d=e.itemHeight,f=e.itemDirection,h=void 0===f?Dr:f,p=e.itemsSpacing,m=void 0===p?Pr:p,g=e.itemTextColor,y=e.itemBackgroun
1d,v=void 0===y?"transparent":y,b=e.itemOpacity,x=void 0===b?1:b,_=e.symbolShape,w=e.symbolSize,k=e.symbolSpacing,Z=e.symbolBorderWidth,C=e.symbolBorderColor,j=e.onClick,z=e.onMouseEnter,O=e.onMouseLeave,S=e.toggleSerie,W=Nr({itemCount:t.length,itemWidth:c,itemHeight:d,itemsSpacing:m,direction:i,padding:a}).padding,M="row"===i?c+m:0,E="column"===i?d+m:0;return(0,s.jsx)("g",{transform:"translate("+n+","+r+")",children:t.map((function(e,t){return(0,s.jsx)(Vr,{data:e,x:t*M+W.left,y:t*E+W.top,width:c,height:d,direction:h,justify:l,effects:u,textColor:g,background:v,opacity:x,symbolShape:_,symbolSize:w,symbolSpacing:k,symbolBorderWidth:Z,symbolBorderColor:C,onClick:j,onMouseEnter:z,onMouseLeave:O,toggleSerie:S},t)}))})},Qr=function(e){var t=e.data,n=e.containerWidth,r=e.containerHeight,i=e.translateX,o=void 0===i?Lr:i,a=e.translateY,l=void 0===a?Ar:a,u=e.anchor,c=e.direction,d=e.padding,f=void 0===d?$r:d,h=e.justify,p=e.itemsSpacing,m=void 0===p?Pr:p,g=e.itemWidth,y=e.itemHeight,v=e.itemDirection,b=e.itemTextColor,x=e.itemBackgroun
1d,_=e.itemOpacity,w=e.symbolShape,k=e.symbolSize,Z=e.symbolSpacing,C=e.symbolBorderWidth,j=e.symbolBorderColor,z=e.onClick,O=e.onMouseEnter,S=e.onMouseLeave,W=e.toggleSerie,M=e.effects,E=Nr({itemCount:t.length,itemsSpacing:m,itemWidth:g,itemHeight:y,direction:c,padding:f}),T=E.width,R=E.height,B=Xr({anchor:u,translateX:o,translateY:l,containerWidth:n,containerHeight:r,width:T,height:R}),L=B.x,A=B.y;return(0,s.jsx)(Kr,{data:t,x:L,y:A,direction:c,padding:f,justify:h,effects:M,itemsSpacing:m,itemWidth:g,itemHeight:y,itemDirection:v,itemTextColor:b,itemBackground:x,itemOpacity:_,symbolShape:w,symbolSize:k,symbolSpacing:Z,symbolBorderWidth:C,symbolBorderColor:j,onClick:z,onMouseEnter:O,onMouseLeave:S,toggleSerie:"boolean"==typeof W?void 0:W})},Jr=n(43419),ei=n(32693);function ti(){return ti=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ti.apply(null,arguments)}function ni(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}var ri=function(e){var t=e.layer,n=e.fillOpacity,o=e.borderWidth,a=e.getBorderColor,l=e.isInteractive,u=e.tooltip,c=R(),d=c.showTooltipFromEvent,f=c.hideTooltip,h=(0,r.useCallback)((function(e){d((0,r.createElement)(u,{layer:t}),e,"left")}),[d,u,t]),p=vt(),m=p.animate,g=p.config,y=function(e){var t=vt(),n=t.animate,o=t.config,a=function(e){var t=(0,r.useRef)();return(0,r.useEffect)((function(){t.current=e}),[e]),t.current}(e),l=(0,r.useMemo)((function(){return(0,U.Z)(a,e)}),[a,e]),s=(0,i.q_)({from:{value:0},to:{value:1},reset:!0,config:o,immediate:!n}).value;return(0,i.to)(s,l)}(t.path),v=(0,i.q_)({color:t.color,config:g,immediate:!m});return(0,s.jsx)(i.q.path,{d:y,fill:t.fill?t.fill:v.color,fillOpacity:n,stroke:a(t),strokeWidth:o,onMouseMove:l?h:void 0,onMouseEnter:l?h:void 0,onMouseLeave:l?f:void 0})},ii=function(e){var t=e.layers,n=e.fillOpacity,r=e.borderWidth,i=e.getBorderColor,o=e.isInteractive,a=e.tooltip;return(0,s.jsx)("g",{children:t.map((function(e,t){return(0,s.jsx)(ri,{layer:e,getBorderColor:i,borderWidth:r,fillOpacity:n,isInteractive:o,tooltip:a},t)}))})},oi=function(e,t){var n=e.y2;return"center"===t?n=e.y1+(e.y2-e.y1)/2:"start"===t&&(n=e.y1),n},ai=function(e){var t=e.data,n=e.dotComponent,i=e.position,o=e.getSize,a=e.getColor,l=e.getBorderWidth,u=e.getBorderColor;return(0,s.jsx)(s.Fragment,{children:t.map((function(e,t){return(0,r.createElement)(n,{key:t,datum:e,x:e.x,y:oi(e,i),size:o(e),color:a(e),borderWidth:l(e),borderColor:u(e)})}))})},li=function(e){var t=e.slice,n=e.height,i=e.tooltip,o=(0,r.useState)(!1),a=o[0],l=o[1],u=R(),c=u.showTooltipFromEvent,d=u.hideTooltip,f=(0,r.useCallback)((function(e){l(!0),c((0,r.createElement)(i,{slice:t}),e,"left")}),[l,c,i,t]),h=(0,r.useCallback)((function(){l(!1),d()}),[l,d]);return(0,s.jsxs)("g",{transform:"translate("+t.x+", 0)",children:[a&&(0,s.jsx)("line",{x1:0,x2:0,y1:0,y2:n,stroke:"#000",strokeOpacity:.35,strokeWidth:1}),(0,s.jsx)("rect",{x:-20,width:40,height:n,fill:"#000",fillOpacity:0,onMouseEnter:f,onMouseMove:f,onMouseLeave:h})]})},si=function(e){var t=e.slices,n=e.height,r=e.tooltip;return(0,s.jsx)("g",{children:t.map((function(e){return(0,s.jsx)(li,{slice:e,height:n,tooltip:r},e.index)}))})},ui={label:"id",order:"none",offsetType:"wiggle",curve:"catmullRom",axisTop:null,axisRight:null,axisBottom:{},axisLeft:{},enableGridX:!1,enableGridY:!0,colors:{scheme:"nivo"},fillOpacity:1,borderWidth:0,borderColor:{from:"color",modifiers:[["darker",1]]},enableDots:!1,dotPosition:"center",dotComponent:function(e){var t=e.x,n=e.y,r=e.size,o=e.color,a=e.borderWidth,l=e.borderColor,u=vt(),c=u.animate,d=u.config,f=(0,i.q_)({x:t,y:n,radius:.5*r,color:o,config:d,immediate:!c});return(0,s.jsx)(i.q.circle,{cx:f.x,cy:f.y,r:f.radius,fill:f.color,strokeWidth:a,stroke:l})},dotSize:6,dotColor:{from:"color"},dotBorderWidth:0,dotBorderColor:{from:"color"},isInteractive:!0,tooltip:function(e){var t=e.layer;return(0,s.jsx)(z,{id:t.label,enableChip:!0,color:t.color})},enableStackTooltip:!0,stackTooltip:function(e){var t=e.slice,n=(0,r.useMemo)((function(){return t.stack.map((function(e){return[(0,s.jsx)(j,{color:e.color},e.layerId),e.layerLabel,e.formattedValue]}))}),[t]);return(0,s.jsx)(S,{rows:n})},legends:[],legendLabel:"id",role:"application"},ci=ti({},ui,{layers:["grid","axes","layers","dots","slices","legends"],defs:[],fill:[],animate:!0,motionConfig:"default",role:"img",isFocusable:!1}),di=["isInteractive","animate","motionConfig","theme","renderWrapper"],fi=function(e){var t=e.data,n=e.keys,i=e.label,o=e.valueFormat,a=e.offsetType,l=e.order,u=e.curve,c=e.layers,d=void 0===c?ci.layers:c,f=e.width,h=e.height,p=e.margin,m=e.axisTo
1p,g=e.axisRight,y=e.axisBottom,v=void 0===y?ci.axisBottom:y,b=e.axisLeft,_=void 0===b?ci.axisLeft:b,w=e.enableGridX,k=void 0===w?ci.enableGridX:w,Z=e.enableGridY,C=void 0===Z?ci.enableGridY:Z,j=e.colors,z=e.fillOpacity,O=void 0===z?ci.fillOpacity:z,S=e.borderWidth,W=void 0===S?ci.borderWidth:S,M=e.borderColor,E=e.defs,T=void 0===E?ci.defs:E,R=e.fill,B=void 0===R?ci.fill:R,L=e.enableDots,A=void 0===L?ci.enableDots:L,$=e.dotPosition,P=void 0===$?ci.dotPosition:$,D=e.dotComponent,I=void 0===D?ci.dotComponent:D,F=e.dotSize,H=e.dotColor,Y=e.dotBorderWidth,q=e.dotBorderColor,N=e.isInteractive,X=void 0===N?ci.isInteractive:N,G=e.tooltip,U=void 0===G?ci.tooltip:G,V=e.enableStackTooltip,K=void 0===V?ci.enableStackTooltip:V,Q=e.stackTooltip,J=void 0===Q?ci.stackTooltip:Q,ee=e.legends,te=void 0===ee?ci.legends:ee,ne=e.role,re=e.ariaLabel,ie=e.ariaLabelledBy,oe=e.ariaDescribedBy,ae=e.forwardedRef,le=function(e,t,n){return void 0===n&&(n={}),(0,r.useMemo)((function(){var r=jt({},un,n);return{margin:r,innerWidth:e-r.left-r.right,innerHeight:t-r.top-r.bottom,outerWidth:e,outerHeight:t}}),[e,t,n])}(f,h,p),se=le.margin,ue=le.innerWidth,ce=le.innerHeight,de=le.outerWidth,fe=le.outerHeight,he=function(e){var t=e.width,n=e.height,i=e.data,o=e.keys,a=e.label,l=void 0===a?ui.label:a,s=e.valueFormat,u=e.offsetType,c=void 0===u?ui.offsetType:u,d=e.order,f=void 0===d?ui.order:d,h=e.curve,p=void 0===h?ui.curve:h,m=e.colors,g=void 0===m?ui.colors:m,y=e.borderColor,v=void 0===y?ui.borderColor:y,b=e.dotSize,_=void 0===b?ui.dotSize:b,w=e.dotColor,k=void 0===w?ui.dotColor:w,Z=e.dotBorderWidth,C=void 0===Z?ui.dotBorderWidth:Z,j=e.dotBorderColor,z=void 0===j?ui.dotBorderColor:j,O=ln(p),S=(0,r.useMemo)((function(){return(0,Jr.Z)().x((function(e){return e.x})).y0((function(e){return e.y1})).y1((function(e){return e.y2})).curve(O)}),[O]),W=(0,r.useMemo)((function(){return(0,ei.Z)().keys(o).offset(function(e){return an[e]}(c)).order(function(e){return on[e]}(f))}),[o,c,f]),M=(0,r.useMemo)((function(){var e=[],r=[],o=W(i).map((function(t){return t.map((function(n){return e.push(n[0]),r.push(n[1]),ti({},n,{value:n.data[t.key]})}))})),a=Math.min.apply(Math,e),l=Math.max.apply(Math,r);return[o,Gn(0,{all:Array.from({length:i.length},(function(e,t){return t})),min:0,max:i.length},t),Nn({type:"linear",min:a},{all:[a,l],min:a,max:l},n,"y")]}),[W,i,t,n]),E=M[0],T=M[1],R=M[2],B=x(),L=function(e,t){return(0,r.useMemo)((function(){return Rr(e,t)}),[e,t])}(g,"id"),A=Tr(v,B),$=(0,r.useMemo)((function(){return"function"==typeof _?_:function(){return _}}),[_]),P=Tr(k,B),D=(0,r.useMemo)((function(){return"function"==typeof C?C:function(){return C}}),[C]),I=Tr(z,B),F=fn(l),H=dn(s),Y=(0,r.useMemo)((function(){return E.map((function(e,t){var n=e.map((function(e,n){return{layerId:o[t],layerLabel:"",index:n,color:"",x:T(n),value:e.value,formattedValue:H(e.value),y1:R(e[0]),y2:R(e[1])}})),r={id:o[t],path:S(n)},i=ti({},r,{label:F(r),color:L(r)});return ti({},i,{data:n.map((function(e){return e.layerLabel=i.label,e.color=i.color,e}))})}))}),[E,o,F,S,L,T,R,H]),q=(0,r.useMemo)((function(){return Array.from({length:i.length},(function(e,t){var n=Y.map((function(e){return e.data[t]})).sort((function(e,t){return e.y2-t.y2}));return{index:t,x:Y[0].data[t].x,stack:n}}))}),[i.length,Y]),N=(0,r.useMemo)((function(){return{xScale:T,yScale:R,layers:Y,slices:q}}),[T,R,Y,q]);return{xScale:T,yScale:R,layers:Y,slices:q,getBorderColor:A,getDotSize:$,getDotColor:P,getDotBorderWidth:D,getDotBorderColor:I,layerContext:N}}({width:ue,height:ce,data:t,keys:n,label:i,valueFormat:o,offsetType:a,order:l,curve:u,colors:j,borderColor:M,dotSize:F,dotColor:H,dotBorderWidth:Y,dotBorderColor:q}),pe=he.xScale,me=he.yScale,ge=he.layers,ye=he.slices,ve=he.getBorderColor,be=he.getDotSize,xe=he.getDotColor,_e=he.getDotBorderWidth,we=he.getDotBorderColor,ke=he.layerContext,Ze=mn(T,ge,B),Ce={grid:null,axes:null,layers:null,dots:null,slices:null,legends:null};return d.includes("grid")&&(Ce.grid=(0,s.jsx)(mr,{width:ue,height:ce,xScale:k?pe:null,yScale:C?me:null},"grid")),d.includes("axes")&&(Ce.axes=(0,s.jsx)(fr,{xScale:pe,yScale:me,width:ue,height:ce,top:m,right:g,bottom:v,left:_},"axes")),d.includes("layers")&&(Ce.layers=(0,s.jsx)(ii,{layers:ge,fillOpacity:O,borderWidth:W,getBorderColor:ve,isInteractive:X,tooltip:U},"layers")),d.includes("dots")&&A&&(Ce.dots=(0,s.jsx)(r.Fragment,{children:ge.map((function(e){return(0,s.jsx)(ai,{id:e.id,color:e.color,data:e.data,dotComponent:I,position:P,getSize:be,getColor:xe,getBorderWidth:_e,getBorderColor:we},e.id)}))},"dots")),d.includes("slices")&&X&&K&&(Ce.slices=(0,s.jsx)(si,{slices:ye,height:ce,tooltip:J},"slices")),d.includes("legends")&&(Ce.legends=(0,s.jsx)(r.Fragment,{children:te.map((function(e,t){var n=ge.map((function(e){return{id:e.id,label:e.label,color:e.color,fill:e.fill}})).reverse();return(0,s.jsx)(Qr,ti({},e,{containerWidth:ue,containerHeight:ce,data:n}),t)}))},"legends")),(0,s.jsx)(Jt,{width:de,height:fe,margin:se,defs:Ze,role:ne,ariaLabel:re,ariaLabelledBy:ie,ariaDescribedBy:oe,ref:ae,children:d.map((function(e,t){var n;return"function"==typeof e?(0,s.jsx)(r.Fragment,{children:(0,r.createElement)(e,ke)},t):null!=(n=null==Ce?void 0:Ce[e])?n:null}))})},hi=(0,r.forwardRef)((function(e,t){var n=e.isInteractive,r=void 0===n?ci.isInteractive:n,i=e.animate,o=void 0===i?ci.animate:i,a=e.motionConfig,l=void 0===a?ci.motionConfig:a,u=e.theme,c=e.renderWrapper,d=ni(e,di);return(0,s.jsx)(_t,{animate:o,isInteractive:r,motionConfig:l,renderWrapper:c,theme:u,children:(0,s.jsx)(fi,ti({},d,{isInteractive:r,forwardedRef:t}))})})),pi=["defaultWidth","defaultHeight","onResize","debounceResize"],mi=(0,r.forwardRef)((function(e,t){var n=e.defaultWidth,r=e.defaultHeight,i=e.onResize,o=e.debounceResize,a=ni(e,pi);return(0,s.jsx)(Zt,{defaultWidth:n,defaultHeight:r,onResize:i,debounceResize:o,children:function(e){var n=e.width,r=e.height;return(0,s.jsx)(hi,ti({},a,{width:n,height:r,ref:t}))}})}))},43419:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(94788),i=n(20309),o=n(85925),a=n(47281),l=n(52882),s=n(26810);function u(e,t,n){var u=null,c=(0,i.Z)(!0),d=null,f=o.Z,h=null,p=(0,l.d)(m);function m(i){var o,a,l,s,m,g=(i=(0,r.Z)(i)).length,y=!1,v=new Array(g),b=new Array(g);for(null==d&&(h=f(m=p())),o=0;o<=g;++o){if(!(o<g&&c(s=i[o],o,i))===y)if(y=!y)a=o,h.areaStart(),h.lineStart();else{for(h.lineEnd(),h.lineStart(),l=o-1;l>=a;--l)h.point(v[l],b[l]);h.lineEnd(),h.areaEnd()}y&&(v[o]=+e(s,o,i),b[o]=+t(s,o,i),h.point(u?+u(s,o,i):v[o],n?+n(s,o,i):b[o]))}if(m)return h=null,m+""||null}function g(){return(0,a.Z)().defined(c).curve(f).context(d)}return e="function"===typeof e?e:void 0===e?s.x:(0,i.Z)(+e),t="function"===typeof t?t:void 0===t?(0,i.Z)(0):(0,i.Z)(+t),n="function"===typeof n?n:void 0===n?s.y:(0,i.Z)(+n),m.x=function(t){return arguments.length?(e="function"===typeof t?t:(0,i.Z)(+t),u=null,m):e},m.x0=function(t){return arguments.length?(e="function"===typeof t?t:(0,i.Z)(+t),m):e},m.x1=function(e){return arguments.length?(u=null==e?null:"function"===typeof e?e:(0,i.Z)(+e),m):u},m.y=function(e){return arguments.length?(t="function"===typeof e?e:(0,i.Z)(+e),n=null,m):t},m.y0=function(e){return arguments.length?(t="function"===typeof e?e:(0,i.Z)(+e),m):t},m.y1=function(e){return arguments.length?(n=null==e?null:"function"===typeof e?e:(0,i.Z)(+e),m):n},m.lineX0=m.lineY0=function(){return g().x(e).y(t)},m.lineY1=function(){return g().x(e).y(n)},m.lineX1=function(){return g().x(u).y(t)},m.defined=function(e){return arguments.length?(c="function"===typeof e?e:(0,i.Z)(!!e),m):c},m.curve=function(e){return arguments.length?(f=e,null!=d&&(h=f(d)),m):f},m.context=function(e){return arguments.length?(null==e?d=h=null:h=f(d=e),m):d},m}},94788:function(e,t,n){"use strict";n.d(t,{Z:function(){return i},t:function(){return r}});var r=Array.prototype.slice;function i(e){return"object"===typeof e&&"length"in e?e:Array.from(e)}},20309:function(e,t,n){"use strict";function r(e){return function(){return e}}n.d(t,{Z:function(){return r}})},47281:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(94788),i=n(20309),o=n(85925),a=n(52882),l=n(26810);function s(e,t){var n=(0,i.Z)(!0),s=null,u=o.Z,c=null,d=(0,a.d)(f);function f(i){var o,a,l,f=(i=(0,r.Z)(i)).length,h=!1;for(null==s&&(c=u(l=d())),o=0;o<=f;++o)!(o<f&&n(a=i[o],o,i))===h&&((h=!h)?c.lineStart():c.lineEnd()),h&&c.point(+e(a,o,i),+t(a,o,i));if(l)return c=null,l+""||null}return e="function"===typeof e?e:void 0===e?l.x:(0,i.Z)(e),t="function"===typeof t?t:void 0===t?l.y:(0,i.Z)(t),f.x=function(t){return arguments.length?(e="function"===typeof t?t:(0,i.Z)(+t),f):e},f.y=function(e){return arguments.length?(t="function"===typeof e?e:(0,i.Z)(+e),f):t},f.defined=function(e){return arguments.length?(n="function"===typeof e?e:(0,i.Z)(!!e),f):n},f.curve=function(e){return arguments.length?(u=e,null!=s&&(c=u(s)),f):u},f.context=function(e){return arguments.length?(null==e?s=c=null:c=u(s=e),f):s},f}},52882:function(e,t,n){"use strict";n.d(t,{d:function(){return u}});const r=Math.PI,i=2*r,o=1e-6,a=i-o;function l(e){this._+=e[0];for(let t=1,n=e.length;t<n;++t)this._+=arguments[t]+e[t]}class s{constructor(e){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=null==e?l:function(e){let t=Math.floor(e);if(!(t>=0))throw new Error(`invalid digits: ${e}`);if(t>15)return l;const n=10**t;return function(e){this._+=e[0];for(let t=1,r=e.length;t<r;++t)this._+=Math.round(arguments[t]*n)/n+e[t]}}(e)}moveTo(e,t){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+t}`}closePath(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(e,t){this._append`L${this._x1=+e},${this._y1=+t}`}quadraticCurveTo(e,t,n,r){this._append`Q${+e},${+t},${this._x1=+n},${this._y1=+r}`}bezierCurveTo(e,t,n,r,i,o){this._append`C${+e},${+t},${+n},${+r},${this._x1=+i},${this._y1=+o}`}arcTo(e,t,n,i,a){if(e=+e,t=+t,n=+n,i=+i,(a=+a)<0)throw new Error(`negative radius: ${a}`);let l=this._x1,s=this._y1,u=n-e,c=i-t,d=l-e,f=s-t,h=d*d+f*f;if(null===this._x1)this._append`M${this._x1=e},${this._y1=t}`;else if(h>o)if(Math.abs(f*u-c*d)>o&&a){let p=n-l,m=i-s,g=u*u+c*c,y=p*p+m*m,v=Math.sqrt(g),b=Math.sqrt(h),x=a*Math.tan((r-Math.acos((g+h-y)/(2*v*b)))/2),_=x/b,w=x/v;Math.abs(_-1)>o&&this._append`L${e+_*d},${t+_*f}`,this._append`A${a},${a},0,0,${+(f*p>d*m)},${this._x1=e+w*u},${this._y1=t+w*c}`}else this._append`L${this._x1=e},${this._y1=t}`;else;}arc(e,t,n,l,s,u){if(e=+e,t=+t,u=!!u,(n=+n)<0)throw new Error(`negative radius: ${n}`);let c=n*Math.cos(l),d=n*Math.sin(l),f=e+c,h=t+d,p=1^u,m=u?l-s:s-l;null===this._x1?this._append`M${f},${h}`:(Math.abs(this._x1-f)>o||Math.abs(this._y1-h)>o)&&this._append`L${f},${h}`,n&&(m<0&&(m=m%i+i),m>a?this._append`A${n},${n},0,1,${p},${e-c},${t-d}A${n},${n},0,1,${p},${this._x1=f},${this._y1=h}`:m>o&&this._append`A${n},${n},0,${+(m>=r)},${p},${this._x1=e+n*Math.cos(s)},${this._y1=t+n*Math.sin(s)}`)}rect(e,t,n,r){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+t}h${n=+n}v${+r}h${-n}Z`}toString(){return this._}}function u(e){let t=3;return e.digits=function(n){if(!arguments.length)return t;if(null==n)t=null;else{const e=Math.floor(n);if(!(e>=0))throw new RangeError(`invalid digits: ${n}`);t=e}return e},()=>new s(t)}},26810:function(e,t,n){"use strict";function r(e){return e[0]}function i(e){return e[1]}n.d(t,{x:function(){return r},y:function(){return i}})},32693:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(94788),i=n(20309),o=n(54038),a=n(73334);function l(e,t){return e[t]}function s(e){const t=[];return t.key=e,t}function u(){var e=(0,i.Z)([]),t=a.Z,n=o.Z,u=l;function c(i){var o,a,l=Array.from(e.apply(this,arguments),s),c=l.length,d=-1;for(const e of i)for(o=0,++d;o<c;++o)(l[o][d]=[0,+u(e,l[o].key,d,i)]).data=e;for(o=0,a=(0,r.Z)(t(l));o<c;++o)l[a[o]].index=o;return n(l,a),l}return c.keys=function(t){return arguments.length?(e="function"===typeof t?t:(0,i.Z)(Array.from(t)),c
1):e},c.value=function(e){return arguments.length?(u="function"===typeof e?e:(0,i.Z)(+e),c):u},c.order=function(e){return arguments.length?(t=null==e?a.Z:"function"===typeof e?e:(0,i.Z)(Array.from(e)),c):t},c.offset=function(e){return arguments.length?(n=null==e?o.Z:e,c):n},c}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.