@cryptofi/core-ui 1.3.0 → 1.3.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.
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{chakra as n,createMultiStyleConfigHelpers as i,defineStyle as o,defineStyleConfig as a,extendTheme as c,withDefaultColorScheme as l,useBreakpoint as u,Portal as s,Tooltip as f,Text as p,ButtonGroup as h,Button as d,Card as y,Flex as v,IconButton as g,FormControl as m,FormLabel as b,Checkbox as w,FormErrorMessage as x,forwardRef as O,InputGroup as S,InputLeftAddon as j,InputLeftElement as A,Input as P,InputRightElement as M,InputRightAddon as k,FormHelperText as E,Box as C,Modal as _,ModalOverlay as T,ModalContent as D,ModalHeader as N,ModalCloseButton as I,ModalBody as L,ModalFooter as B,Link as R,Select as z,keyframes as $,Tag as H,TagLeftIcon as V,TagLabel as F,TagRightIcon as U,TagCloseButton as W,Alert as q,AlertIcon as Y,AlertTitle as X,AlertDescription as K,CloseButton as G,Spinner as Z}from"@chakra-ui/react";import J from"crypto";import Q,{isValidElement as ee,Children as te,PureComponent as re,forwardRef as ne,useRef as ie,useImperativeHandle as oe,useState as ae,useCallback as ce,useEffect as le,useMemo as ue,cloneElement as se,createElement as fe,useContext as pe,createContext as he,Component as de}from"react";import{css as ye}from"@emotion/react";const ve=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{fill:"#000",clipPath:"url(#3c397803)",children:[t("path",{d:"M12 .5a12 12 0 1 0 12 12 12.013 12.013 0 0 0-12-12m0 22a10 10 0 1 1 10-10 10.01 10.01 0 0 1-10 10"}),t("path",{d:"M12 5.5a1 1 0 0 0-1 1v8a1 1 0 1 0 2 0v-8a1 1 0 0 0-1-1M13 18.5a1 1 0 1 0-2 0 1 1 0 0 0 2 0"})]}),t("defs",{children:t("clipPath",{id:"3c397803",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),ge=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:16,height:17,fill:"none",viewBox:"0 0 16 17","aria-hidden":"true",...r,children:[t("g",{clipPath:"url(#c9a7d4d8)",children:t("path",{fill:"#000",d:"m14.563 9.22-.915.947-3.02-3.125a2.54 2.54 0 0 0-1.785-.74c-.666 0-1.305.265-1.786.74l-.146.15a.85.85 0 0 1-.596.248.85.85 0 0 1-.595-.248L1.448 2.766A.84.84 0 0 0 .849 2.5a.82.82 0 0 0-.602.255A.87.87 0 0 0 0 3.38.9.9 0 0 0 .257 4l4.271 4.42c.482.476 1.121.741 1.787.741S7.62 8.895 8.1 8.42l.145-.151a.85.85 0 0 1 .596-.247c.222 0 .435.088.595.247l3.02 3.13-.914.947a.9.9 0 0 0-.183.95c.064.159.172.295.31.39a.82.82 0 0 0 .468.147h2.599c.335 0 .656-.137.893-.383a1.33 1.33 0 0 0 .37-.924V9.831a.9.9 0 0 0-.144-.482.85.85 0 0 0-.379-.319.82.82 0 0 0-.915.19"})}),t("defs",{children:t("clipPath",{id:"c9a7d4d8",children:t("path",{fill:"#fff",d:"M0 .5h16v16H0z"})})})]}))),me=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16","aria-hidden":"true",...r,children:[t("g",{clipPath:"url(#6f1ccf07)",children:t("path",{fill:"#000",d:"M14.738 2H12.14a.82.82 0 0 0-.467.147.87.87 0 0 0-.31.39.9.9 0 0 0 .182.949l.914.945-3.018 3.121a.85.85 0 0 1-.595.247.85.85 0 0 1-.595-.247l-.144-.149a2.54 2.54 0 0 0-1.785-.74c-.665 0-1.304.265-1.785.74l-4.292 4.44a.9.9 0 0 0-.246.618c0 .232.09.454.248.617a.83.83 0 0 0 .598.255.83.83 0 0 0 .596-.256l4.292-4.44a.85.85 0 0 1 .595-.247c.222 0 .435.088.596.247l.143.149a2.54 2.54 0 0 0 1.785.74 2.54 2.54 0 0 0 1.785-.74l3.018-3.122.913.945a.815.815 0 0 0 .913.182.85.85 0 0 0 .376-.319.9.9 0 0 0 .142-.48V3.306a1.33 1.33 0 0 0-.37-.924A1.24 1.24 0 0 0 14.738 2"})}),t("defs",{children:t("clipPath",{id:"6f1ccf07",children:t("path",{d:"M0 0h16v16H0z"})})})]}))),be=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{clipPath:"url(#9491b547)",children:t("path",{fill:"#000",d:"M24 23.5a1 1 0 0 1-1 1H1a1 1 0 0 1 0-2h22a1 1 0 0 1 1 1M.291 9.052a2.44 2.44 0 0 1 .153-2.566c.427-.627 1-1.141 1.668-1.5l7.501-3.904a5.17 5.17 0 0 1 4.774 0l7.5 3.907c.669.359 1.24.873 1.668 1.5a2.44 2.44 0 0 1 .153 2.566 2.71 2.71 0 0 1-2.416 1.445H21v8h1a1 1 0 1 1 0 2H2a1 1 0 0 1 0-2h1v-8h-.292A2.71 2.71 0 0 1 .291 9.052m4.71 9.448h3v-8H5zm5-8v8h4v-8zm9 0h-3v8h3zM2.062 8.125a.72.72 0 0 0 .645.375h18.584a.72.72 0 0 0 .645-.375.45.45 0 0 0-.024-.5 2.7 2.7 0 0 0-.949-.864l-7.5-3.907a3.18 3.18 0 0 0-2.926 0l-7.5 3.907a2.7 2.7 0 0 0-.949.865.45.45 0 0 0-.026.5"})}),t("defs",{children:t("clipPath",{id:"9491b547",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),we=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{fill:"#000",clipPath:"url(#fafc2088)",children:[t("path",{d:"M5 23h18a1 1 0 0 1 0 2H5a5.006 5.006 0 0 1-5-5V2a1 1 0 0 1 2 0v18a3 3 0 0 0 3 3"}),t("path",{d:"M6.707 20.707A1 1 0 0 1 5 20v-7a1 1 0 0 1 2 0v7a1 1 0 0 1-.293.707M10 11v9a1 1 0 1 0 2 0v-9a1 1 0 0 0-2 0M15 20v-6a1 1 0 0 1 2 0v6a1 1 0 1 1-2 0M20 10v10a1 1 0 1 0 2 0V10a1 1 0 0 0-2 0M6.707 9.707a1 1 0 1 1-1.414-1.414l3.586-3.586a3 3 0 0 1 4.242 0l2.172 2.17a1 1 0 0 0 1.414 0l5.586-5.584a1 1 0 0 1 1.414 1.414L18.12 8.293a3 3 0 0 1-4.242 0L11.707 6.12a1.025 1.025 0 0 0-1.414 0z"})]}),t("defs",{children:t("clipPath",{id:"fafc2088",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),xe=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{fill:"#000",clipPath:"url(#4bbcc7d4)",children:[t("path",{d:"M13.5 15a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0M7 16.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3M18.5 15a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0"}),t("path",{fillRule:"evenodd",d:"M18 2h1a5.006 5.006 0 0 1 5 5v12a5.006 5.006 0 0 1-5 5H5a5.006 5.006 0 0 1-5-5V7a5.006 5.006 0 0 1 5-5h1V1a1 1 0 0 1 2 0v1h8V1a1 1 0 0 1 2 0zM2.879 4.879A3 3 0 0 0 2 7v1h20V7a3 3 0 0 0-3-3H5a3 3 0 0 0-2.121.879m0 16.242A3 3 0 0 0 5 22h14a3 3 0 0 0 3-3v-9H2v9a3 3 0 0 0 .879 2.121",clipRule:"evenodd"})]}),t("defs",{children:t("clipPath",{id:"4bbcc7d4",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Oe=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{clipPath:"url(#53ee7faa)",children:t("path",{fill:"#000",d:"m.292 7.861 8.17 8.17a5 5 0 0 0 7.08 0l8.17-8.17a1.004 1.004 0 1 0-1.42-1.42l-8.17 8.17a3 3 0 0 1-4.24 0l-8.17-8.17a1 1 0 0 0-1.42 0 1 1 0 0 0 0 1.42"})}),t("defs",{children:t("clipPath",{id:"53ee7faa",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Se=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{clipPath:"url(#64af8551)",children:t("path",{fill:"#000",d:"M17.17 24.5a1 1 0 0 1-.71-.29l-8.17-8.17a5 5 0 0 1 0-7.08L16.46.79a1.004 1.004 0 1 1 1.42 1.42l-8.17 8.17a3 3 0 0 0 0 4.24l8.17 8.17a1 1 0 0 1-.71 1.71"})}),t("defs",{children:t("clipPath",{id:"64af8551",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),je=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{clipPath:"url(#a0a0cf84)",children:t("path",{fill:"#000",d:"M7 24.5a1 1 0 0 1-.71-1.71l8.17-8.17a3 3 0 0 0 0-4.24L6.29 2.21A1.004 1.004 0 0 1 7.71.79l8.17 8.17a5 5 0 0 1 0 7.08l-8.17 8.17a1 1 0 0 1-.71.29"})}),t("defs",{children:t("clipPath",{id:"a0a0cf84",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Ae=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{clipPath:"url(#c735ab99)",children:t("path",{fill:"#000",d:"m23.71 16.79-8.17-8.17a5 5 0 0 0-7.08 0L.29 16.79a1.004 1.004 0 1 0 1.42 1.42l8.17-8.17a3 3 0 0 1 4.24 0l8.17 8.17a1.002 1.002 0 0 0 1.64-.325 1 1 0 0 0-.22-1.095"})}),t("defs",{children:t("clipPath",{id:"c735ab99",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Pe=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{fill:"#000",clipPath:"url(#bc5773b5)",children:[t("path",{d:"M11.033 5.145a.968.968 0 0 1 1.935 0v.944a6.5 6.5 0 0 1 3.618 1.827.968.968 0 0 1-1.37 1.369 4.55 4.55 0 0 0-3.215-1.332A4.534 4.534 0 0 0 7.452 12.5 4.534 4.534 0 0 0 12 17.05a4.55 4.55 0 0 0 3.209-1.339.967.967 0 0 1 1.372 1.367 6.5 6.5 0 0 1-3.612 1.833v.946a.967.967 0 1 1-1.935 0v-.944c-3.114-.47-5.516-3.17-5.516-6.41S7.92 6.56 11.033 6.09z"}),t("path",{fillRule:"evenodd",d:"M12 .5C5.384.5 0 5.884 0 12.5s5.384 12 12 12 12-5.384 12-12-5.384-12-12-12m0 1.936A10.05 10.05 0 0 1 22.064 12.5 10.05 10.05 0 0 1 12 22.564 10.05 10.05 0 0 1 1.936 12.5 10.05 10.05 0 0 1 12 2.436",clipRule:"evenodd"})]}),t("defs",{children:t("clipPath",{id:"bc5773b5",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Me=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{clipPath:"url(#9c399fd1)",children:t("path",{fill:"#000",d:"M22.319 4.931 8.499 18.75a1 1 0 0 1-1.416 0L1.739 13.4a1 1 0 0 0-1.417 0 1 1 0 0 0 0 1.417l5.346 5.345a3.01 3.01 0 0 0 4.25 0L23.736 6.347a1 1 0 0 0-.709-1.71 1 1 0 0 0-.708.294"})}),t("defs",{children:t("clipPath",{id:"9c399fd1",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),ke=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{clipPath:"url(#0d4ad2be)",children:t("path",{fill:"#000",d:"M19 3.5h-6.528a1 1 0 0 1-.447-.1L8.869 1.816A3 3 0 0 0 7.528 1.5H5a5.006 5.006 0 0 0-5 5v12a5.006 5.006 0 0 0 5 5h14a5.006 5.006 0 0 0 5-5v-10a5.006 5.006 0 0 0-5-5m-14 0h2.528c.155 0 .308.033.447.1l3.156 1.58c.416.208.875.318 1.341.32H19a3 3 0 0 1 2.779 1.882L2 7.494V6.5a3 3 0 0 1 3-3m14 18H5a3 3 0 0 1-3-3V9.494l20-.113v9.12a3 3 0 0 1-3 3"})}),t("defs",{children:t("clipPath",{id:"0d4ad2be",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Ee=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:25,height:25,fill:"none",viewBox:"0 0 80 80","aria-hidden":"true",...r,children:[e("g",{clipPath:"url(#e82ea890)",children:[t("path",{fill:"#000",d:"M59.583 24.951 33.286 51.246a1.894 1.894 0 0 1-2.08.415 1.9 1.9 0 0 1-.62-.415l-10.169-10.18a1.894 1.894 0 0 0-2.08-.415 1.93 1.93 0 0 0-1.034 1.035 1.9 1.9 0 0 0 0 1.461c.096.231.236.441.415.62l10.173 10.17a5.723 5.723 0 0 0 8.087 0L62.273 27.65a1.895 1.895 0 0 0 0-2.692 1.892 1.892 0 0 0-2.08-.415 1.9 1.9 0 0 0-.62.415zM40.001 3.881c19.948 0 36.12 16.17 36.12 36.12s-16.17 36.12-36.12 36.12-36.12-16.172-36.12-36.12S20.05 3.881 40 3.881m0-3.786a39.7 39.7 0 0 0-15.535 3.137 39.8 39.8 0 0 0-12.683 8.55 39.8 39.8 0 0 0-8.551 12.684A39.7 39.7 0 0 0 .095 40.001a39.7 39.7 0 0 0 3.137 15.535 39.8 39.8 0 0 0 8.55 12.683 39.8 39.8 0 0 0 12.684 8.552 39.65 39.65 0 0 0 15.535 3.136 39.7 39.7 0 0 0 15.535-3.136 39.8 39.8 0 0 0 12.683-8.552 39.8 39.8 0 0 0 8.552-12.683A39.65 39.65 0 0 0 79.907 40a39.7 39.7 0 0 0-3.136-15.535 39.8 39.8 0 0 0-8.552-12.683 39.8 39.8 0 0 0-12.683-8.551A39.7 39.7 0 0 0 40 .095"}),t("path",{fill:"url(#59bc3f76)",stroke:"#CDCFD1",strokeMiterlimit:10,d:"M59.583 24.951 33.286 51.246a1.894 1.894 0 0 1-2.08.415 1.9 1.9 0 0 1-.62-.415l-10.169-10.18a1.894 1.894 0 0 0-2.08-.415 1.93 1.93 0 0 0-1.034 1.035 1.9 1.9 0 0 0 0 1.461c.096.231.236.441.415.62l10.173 10.17a5.723 5.723 0 0 0 8.087 0L62.273 27.65a1.895 1.895 0 0 0 0-2.692 1.892 1.892 0 0 0-2.08-.415 1.9 1.9 0 0 0-.62.415zM40.001 3.881c19.948 0 36.12 16.17 36.12 36.12s-16.17 36.12-36.12 36.12-36.12-16.172-36.12-36.12S20.05 3.881 40 3.881Zm0-3.786a39.7 39.7 0 0 0-15.535 3.137 39.8 39.8 0 0 0-12.683 8.55 39.8 39.8 0 0 0-8.551 12.684A39.7 39.7 0 0 0 .095 40.001a39.7 39.7 0 0 0 3.137 15.535 39.8 39.8 0 0 0 8.55 12.683 39.8 39.8 0 0 0 12.684 8.552 39.65 39.65 0 0 0 15.535 3.136 39.7 39.7 0 0 0 15.535-3.136 39.8 39.8 0 0 0 12.683-8.552 39.8 39.8 0 0 0 8.552-12.683A39.65 39.65 0 0 0 79.907 40a39.7 39.7 0 0 0-3.136-15.535 39.8 39.8 0 0 0-8.552-12.683 39.8 39.8 0 0 0-12.683-8.551A39.7 39.7 0 0 0 40 .095Z"})]}),e("defs",{children:[e("linearGradient",{id:"59bc3f76",x1:.095,x2:79.905,y1:40.001,y2:40.001,gradientUnits:"userSpaceOnUse",children:[t("stop",{stopColor:"#fff",stopOpacity:0}),t("stop",{offset:.02,stopColor:"#fff",stopOpacity:.06}),t("stop",{offset:.11,stopColor:"#fff",stopOpacity:.35}),t("stop",{offset:.18,stopColor:"#fff",stopOpacity:.53}),t("stop",{offset:.21,stopColor:"#fff",stopOpacity:.6}),t("stop",{offset:.22,stopColor:"#fff",stopOpacity:.56}),t("stop",{offset:.28,stopColor:"#fff",stopOpacity:.41}),t("stop",{offset:.34,stopColor:"#fff",stopOpacity:.28}),t("stop",{offset:.41,stopColor:"#fff",stopOpacity:.18}),t("stop",{offset:.49,stopColor:"#fff",stopOpacity:.1}),t("stop",{offset:.57,stopColor:"#fff",stopOpacity:.04}),t("stop",{offset:.67,stopColor:"#fff",stopOpacity:.01}),t("stop",{offset:.83,stopColor:"#fff",stopOpacity:0}),t("stop",{offset:.88,stopColor:"#fff",stopOpacity:0}),t("stop",{offset:.91,stopColor:"#fff",stopOpacity:.04}),t("stop",{offset:.93,stopColor:"#fff",stopOpacity:.1}),t("stop",{offset:.95,stopColor:"#fff",stopOpacity:.18}),t("stop",{offset:.96,stopColor:"#fff",stopOpacity:.28}),t("stop",{offset:.98,stopColor:"#fff",stopOpacity:.4}),t("stop",{offset:1,stopColor:"#fff",stopOpacity:.6})]}),t("clipPath",{id:"e82ea890",children:t("path",{fill:"#fff",d:"M0 0h80v80H0z"})})]})]}))),Ce=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{clipPath:"url(#e1eeb89c)",children:t("path",{fill:"#000",d:"M23.707.793a1 1 0 0 0-1.414 0L12 11.086 1.707.793a1 1 0 0 0-1.414 0 1 1 0 0 0 0 1.414L10.586 12.5.293 22.793a1 1 0 0 0 0 1.414 1 1 0 0 0 1.414 0L12 13.914l10.293 10.293a1 1 0 0 0 1.414-1.414L13.414 12.5 23.707 2.207a1 1 0 0 0 0-1.414"})}),t("defs",{children:t("clipPath",{id:"e1eeb89c",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),_e=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{clipPath:"url(#78978fe1)",children:t("path",{fill:"#000",d:"M21.736 16.9A5.01 5.01 0 0 0 17 13.5h-4v-1.084a6 6 0 1 0-2 0V13.5H7a5.01 5.01 0 0 0-4.736 3.4 4 4 0 1 0 2.447-.334A3 3 0 0 1 7 15.5h4v1.127a4 4 0 1 0 2 0V15.5h4a3 3 0 0 1 2.289 1.063 4 4 0 1 0 2.447.334zM8 6.5a4 4 0 1 1 8 0 4 4 0 0 1-8 0m-2 14a2 2 0 1 1-4 0 2 2 0 0 1 4 0m8 0a2 2 0 1 1-4.001 0 2 2 0 0 1 4 0m6 2a2 2 0 1 1 0-4 2 2 0 0 1 0 4"})}),t("defs",{children:t("clipPath",{id:"78978fe1",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Te=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{clipPath:"url(#3fccef48)",children:t("path",{fill:"#000",d:"M13 20.5a5.006 5.006 0 0 0 5-5V6.743a3.97 3.97 0 0 0-1.172-2.829l-2.242-2.242A3.97 3.97 0 0 0 11.757.5H7a5.006 5.006 0 0 0-5 5v10a5.006 5.006 0 0 0 5 5zm-9-5v-10a3 3 0 0 1 3-3s4.92.014 5 .024V4.5a2 2 0 0 0 2 2h1.976c.01.081.024 9 .024 9a3 3 0 0 1-3 3H7a3 3 0 0 1-3-3m18-7v11a5.005 5.005 0 0 1-5 5H8a1 1 0 0 1 0-2h9a3 3 0 0 0 3-3v-11a1 1 0 0 1 2 0"})}),t("defs",{children:t("clipPath",{id:"3fccef48",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),De=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{clipPath:"url(#7bd92f01)",children:t("path",{fill:"#000",d:"M13.932 4.5A3.07 3.07 0 0 1 17 7.568a1 1 0 0 0 2 0v-.123A5.073 5.073 0 0 0 13.932 2.5H13v-1a1 1 0 1 0-2 0v1h-.932a5.068 5.068 0 0 0-1.6 9.875L11 13.22v7.28h-.932A3.07 3.07 0 0 1 7 17.432a1 1 0 1 0-2 0v.123a5.073 5.073 0 0 0 5.068 4.945H11v1a1 1 0 0 0 2 0v-1h.932a5.068 5.068 0 0 0 1.6-9.875L13 11.78V4.5zm.97 10.021a3.068 3.068 0 0 1-.97 5.979H13v-6.613zM11 11.113l-1.9-.634a3.068 3.068 0 0 1 .968-5.979H11z"})}),t("defs",{children:t("clipPath",{id:"7bd92f01",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Ne=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:25,height:24,fill:"none",viewBox:"0 0 80 60","aria-hidden":"true",...r,children:[e("g",{clipPath:"url(#8acc34e3)",children:[t("path",{fill:"#000",d:"M42.613 16.472h-1.261v-1.353a1.353 1.353 0 0 0-2.705 0v1.353h-1.262a6.85 6.85 0 0 0-4.438 1.637 6.855 6.855 0 0 0 2.274 11.72l3.425 1.144v9.848h-1.26a4.154 4.154 0 0 1-4.15-4.15 1.353 1.353 0 0 0-2.705 0v.167a6.863 6.863 0 0 0 6.854 6.689h1.262v1.352a1.353 1.353 0 0 0 2.705 0v-1.352h1.261a6.85 6.85 0 0 0 4.438-1.638 6.855 6.855 0 0 0-2.274-11.72l-3.425-1.144v-9.848h1.261a4.154 4.154 0 0 1 4.15 4.15 1.353 1.353 0 0 0 2.706 0v-.166a6.863 6.863 0 0 0-6.856-6.69m-3.966 11.651-2.571-.857a4.146 4.146 0 0 1-2.786-4.602 4.16 4.16 0 0 1 1.407-2.497 4.16 4.16 0 0 1 2.688-.991h1.262zm5.277 4.61a4.146 4.146 0 0 1 2.786 4.603 4.15 4.15 0 0 1-4.098 3.486H41.35v-8.946l2.572.858zM68.065.464h-56.13C5.394.464.07 5.788.07 12.332v35.34c0 6.543 5.324 11.866 11.867 11.866h56.13c6.543 0 11.866-5.323 11.866-11.866V12.33c0-6.544-5.323-11.867-11.867-11.867m9.092 47.206c0 5.013-4.079 9.092-9.092 9.092h-56.13c-5.012 0-9.09-4.079-9.09-9.092V12.331c0-5.013 4.078-9.092 9.09-9.092h56.13c5.013 0 9.092 4.079 9.092 9.092v35.34zm-6.947 1.917c0 .765-.621 1.387-1.387 1.387h-8.524a1.388 1.388 0 0 1 0-2.775h8.524c.766 0 1.387.622 1.387 1.388M21.092 10.413c0 .766-.622 1.387-1.388 1.387H11.18a1.388 1.388 0 0 1 0-2.774h8.524c.766 0 1.387.621 1.387 1.387"}),t("path",{fill:"url(#19added0)",stroke:"#CDCFD1",strokeMiterlimit:10,d:"M42.613 16.472h-1.261v-1.353a1.353 1.353 0 0 0-2.705 0v1.353h-1.262a6.85 6.85 0 0 0-4.438 1.637 6.855 6.855 0 0 0 2.274 11.72l3.425 1.144v9.848h-1.26a4.154 4.154 0 0 1-4.15-4.15 1.353 1.353 0 0 0-2.705 0v.167a6.863 6.863 0 0 0 6.854 6.689h1.262v1.352a1.353 1.353 0 0 0 2.705 0v-1.352h1.261a6.85 6.85 0 0 0 4.438-1.638 6.855 6.855 0 0 0-2.274-11.72l-3.425-1.144v-9.848h1.261a4.154 4.154 0 0 1 4.15 4.15 1.353 1.353 0 0 0 2.706 0v-.166a6.863 6.863 0 0 0-6.856-6.69Zm-3.966 11.651-2.571-.857a4.146 4.146 0 0 1-2.786-4.602 4.16 4.16 0 0 1 1.407-2.497 4.16 4.16 0 0 1 2.688-.991h1.262v8.948Zm5.277 4.61a4.146 4.146 0 0 1 2.786 4.603 4.15 4.15 0 0 1-4.098 3.486H41.35v-8.946l2.572.858zM68.065.464h-56.13C5.394.464.07 5.788.07 12.332v35.34c0 6.543 5.324 11.866 11.867 11.866h56.13c6.543 0 11.866-5.323 11.866-11.866V12.33c0-6.544-5.323-11.867-11.867-11.867Zm9.092 47.206c0 5.013-4.079 9.092-9.092 9.092h-56.13c-5.012 0-9.09-4.079-9.09-9.092V12.331c0-5.013 4.078-9.092 9.09-9.092h56.13c5.013 0 9.092 4.079 9.092 9.092v35.34zm-6.947 1.917c0 .765-.621 1.387-1.387 1.387h-8.524a1.388 1.388 0 0 1 0-2.775h8.524c.766 0 1.387.622 1.387 1.388ZM21.092 10.413c0 .766-.622 1.387-1.388 1.387H11.18a1.388 1.388 0 0 1 0-2.774h8.524c.766 0 1.387.621 1.387 1.387Z"})]}),e("defs",{children:[e("linearGradient",{id:"19added0",x1:.069,x2:79.931,y1:29.999,y2:29.999,gradientUnits:"userSpaceOnUse",children:[t("stop",{stopColor:"#fff",stopOpacity:0}),t("stop",{offset:.02,stopColor:"#fff",stopOpacity:.06}),t("stop",{offset:.11,stopColor:"#fff",stopOpacity:.35}),t("stop",{offset:.18,stopColor:"#fff",stopOpacity:.53}),t("stop",{offset:.21,stopColor:"#fff",stopOpacity:.6}),t("stop",{offset:.22,stopColor:"#fff",stopOpacity:.56}),t("stop",{offset:.28,stopColor:"#fff",stopOpacity:.41}),t("stop",{offset:.34,stopColor:"#fff",stopOpacity:.28}),t("stop",{offset:.41,stopColor:"#fff",stopOpacity:.18}),t("stop",{offset:.49,stopColor:"#fff",stopOpacity:.1}),t("stop",{offset:.57,stopColor:"#fff",stopOpacity:.04}),t("stop",{offset:.67,stopColor:"#fff",stopOpacity:.01}),t("stop",{offset:.83,stopColor:"#fff",stopOpacity:0}),t("stop",{offset:.88,stopColor:"#fff",stopOpacity:0}),t("stop",{offset:.91,stopColor:"#fff",stopOpacity:.04}),t("stop",{offset:.93,stopColor:"#fff",stopOpacity:.1}),t("stop",{offset:.95,stopColor:"#fff",stopOpacity:.18}),t("stop",{offset:.96,stopColor:"#fff",stopOpacity:.28}),t("stop",{offset:.98,stopColor:"#fff",stopOpacity:.4}),t("stop",{offset:1,stopColor:"#fff",stopOpacity:.6})]}),t("clipPath",{id:"8acc34e3",children:t("path",{fill:"#fff",d:"M0 .395h80v59.21H0z"})})]})]}))),Ie=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{fill:"#000",clipPath:"url(#213e37ae)",children:[t("path",{d:"M10.852 19.273a3 3 0 0 1-.974-.651l-3.21-3.207A1 1 0 0 1 8.08 14l2.91 2.908.01-15.408a1 1 0 0 1 2 0l-.008 15.427L15.92 14a1 1 0 0 1 1.414 1.411l-3.21 3.211a3 3 0 0 1-3.271.65"}),t("path",{d:"M22.293 16.793A1 1 0 0 1 24 17.5v4a3 3 0 0 1-3 3H3a3 3 0 0 1-3-3v-4a1 1 0 1 1 2 0v4a1 1 0 0 0 1 1h18a1 1 0 0 0 1-1v-4a1 1 0 0 1 .293-.707"})]}),t("defs",{children:t("clipPath",{id:"213e37ae",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Le=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{fill:"#000",clipPath:"url(#2de5b65b)",children:[t("path",{fillRule:"evenodd",d:"M18.67 1.387 6.469 13.602a4.97 4.97 0 0 0-1.465 3.541v1.346a1 1 0 0 0 1 1.002H7.35a4.96 4.96 0 0 0 3.537-1.467l12.2-12.215a3.133 3.133 0 0 0 0-4.422 3.195 3.195 0 0 0-4.416 0m.18 5.83-9.379 9.39a3.02 3.02 0 0 1-2.122.88h-.344v-.344c.002-.796.318-1.56.879-2.125l9.378-9.39zm1.415-1.416 1.407-1.409a1.126 1.126 0 0 0 0-1.589 1.15 1.15 0 0 0-1.587 0l-1.407 1.409z",clipRule:"evenodd"}),t("path",{d:"M0 23.498c0-.553.373-1.002.834-1.002H19.18c.46 0 .834.449.834 1.002s-.373 1.002-.834 1.002H.834c-.46 0-.834-.449-.834-1.002"})]}),t("defs",{children:t("clipPath",{id:"2de5b65b",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Be=n((e=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...e,children:t("path",{fill:"#000",d:"M20.914 17.62a5 5 0 0 0 1.621-1.084A4.97 4.97 0 0 0 24 12.996V2a1 1 0 0 0-2 0v10.997a3 3 0 0 1-3 2.999H2.788L7.1 11.688a1.001 1.001 0 1 0-1.418-1.414l-4.95 4.95a2.5 2.5 0 0 0 0 3.534l4.95 4.948A1 1 0 0 0 7.1 22.294l-4.3-4.299H19a5 5 0 0 0 1.914-.376"})}))),Re=n((e=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...e,children:t("path",{fill:"#000",d:"M3.086 17.62a5 5 0 0 1-1.621-1.084A4.97 4.97 0 0 1 0 12.996V2a1 1 0 0 1 2 0v10.997a3 3 0 0 0 3 2.999h16.212L16.9 11.688a1.003 1.003 0 0 1 .002-1.416 1 1 0 0 1 1.416.002l4.95 4.95a2.5 2.5 0 0 1 0 3.534l-4.95 4.948a1 1 0 0 1-1.418-1.412l4.3-4.299H5a5 5 0 0 1-1.914-.376"})}))),ze=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{fill:"#000",clipPath:"url(#1d876006)",children:t("path",{d:"M23.41 5.094c.373.372.585.875.59 1.401a2 2 0 0 1-.59 1.412l-4.29 4.303a1 1 0 1 1-1.41-1.421L21 7.496H11a1 1 0 0 1 0-2.001h10l-3.29-3.283A1.002 1.002 0 0 1 19.12.791zM3 17.504h10a1 1 0 0 1 .707 1.708 1 1 0 0 1-.707.294H3l3.29 3.282a1.002 1.002 0 0 1-1.41 1.421L.59 19.906A2 2 0 0 1 0 18.505c.002-.53.214-1.038.59-1.411l4.29-4.304a1 1 0 0 1 1.629 1.096 1 1 0 0 1-.219.325z"})}),t("defs",{children:t("clipPath",{id:"1d876006",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),$e=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{clipPath:"url(#06771c5d)",children:t("path",{fill:"#000",d:"M14 24.5a1 1 0 0 1-.6-.2l-4-3a1 1 0 0 1-.4-.8v-5.62L1.984 6.987A3.9 3.9 0 0 1 4.9.5h14.2a3.9 3.9 0 0 1 2.913 6.488L15 14.88v8.62a1 1 0 0 1-1 1M11 20l2 1.5v-7a1 1 0 0 1 .253-.664l7.268-8.177A1.9 1.9 0 0 0 19.1 2.5H4.9a1.9 1.9 0 0 0-1.421 3.158l7.269 8.178A1 1 0 0 1 11 14.5z"})}),t("defs",{children:t("clipPath",{id:"06771c5d",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),He=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{fill:"#000",clipPath:"url(#513f5486)",children:[t("path",{d:"M12.717 5.563A4 4 0 0 0 8 9.5a1 1 0 1 0 2 0 2.002 2.002 0 0 1 2.371-1.967 2.02 2.02 0 0 1 1.6 1.595 2 2 0 0 1-1 2.125 3.95 3.95 0 0 0-1.97 3.504v.743a1 1 0 0 0 2 0v-.743a1.98 1.98 0 0 1 .93-1.752 4 4 0 0 0-1.214-7.442M12 17.5a1 1 0 1 1 0 2 1 1 0 0 1 0-2"}),t("path",{fillRule:"evenodd",d:"M12 .5a12 12 0 1 0 12 12 12.013 12.013 0 0 0-12-12m0 22a10 10 0 1 1 10-10 10.01 10.01 0 0 1-10 10",clipRule:"evenodd"})]}),t("defs",{children:t("clipPath",{id:"513f5486",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Ve=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{clipPath:"url(#dbd56355)",children:t("path",{fill:"#000",fillRule:"evenodd",d:"M22.293 11.793A1 1 0 0 1 24 12.5a11.994 11.994 0 1 1-4-8.935V1.5a1 1 0 1 1 2 0v3a3 3 0 0 1-3 3h-3a1 1 0 1 1 0-2h3a1 1 0 0 0 .1-.021A10.034 10.034 0 1 0 22 12.5a1 1 0 0 1 .293-.707m-11-5A1 1 0 0 1 13 7.5v4.586l2.707 2.707a1 1 0 0 1-1.414 1.414l-3-3A1 1 0 0 1 11 12.5v-5a1 1 0 0 1 .293-.707",clipRule:"evenodd"})}),t("defs",{children:t("clipPath",{id:"dbd56355",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Fe=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{clipPath:"url(#b05ae72a)",children:t("path",{fill:"#000",d:"m23.121 9.569-7.585-7.586a5.01 5.01 0 0 0-7.072 0L.88 9.569A2.98 2.98 0 0 0 0 11.689v9.818a3 3 0 0 0 3 3h18a3 3 0 0 0 3-3V11.69a2.98 2.98 0 0 0-.879-2.121m-8.12 12.938H9v-3.934a3 3 0 0 1 6 0zm7-1a1 1 0 0 1-1 1h-4v-3.934a5 5 0 0 0-10 0v3.934H3a1 1 0 0 1-1-1V11.69c0-.265.105-.52.292-.707L9.878 3.4a3.01 3.01 0 0 1 4.244 0l7.585 7.586c.186.187.291.44.293.704z"})}),t("defs",{children:t("clipPath",{id:"b05ae72a",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Ue=n((e=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...e,children:t("path",{fill:"#000",d:"M6.41 9.5h11.18a1 1 0 0 1 .7 1.71l-5.58 5.58a1 1 0 0 1-1.42 0l-5.58-5.58a1 1 0 0 1 .7-1.71"})}))),We=n((e=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...e,children:t("path",{fill:"#000",d:"M6.41 16.5h11.18a1 1 0 0 0 .7-1.71l-5.58-5.58a1 1 0 0 0-1.42 0l-5.58 5.58a1 1 0 0 0 .7 1.71"})}))),qe=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{fill:"#000",clipPath:"url(#dab7ab78)",children:[t("path",{d:"M12 10.5h-1a1 1 0 0 0 0 2h1v6a1 1 0 1 0 2 0v-6a2 2 0 0 0-2-2M13.5 7a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0"}),t("path",{fillRule:"evenodd",d:"M12 .5a12 12 0 1 0 12 12 12.013 12.013 0 0 0-12-12m0 22a10 10 0 1 1 10-10 10.01 10.01 0 0 1-10 10",clipRule:"evenodd"})]}),t("defs",{children:t("clipPath",{id:"dab7ab78",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Ye=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 62 80","aria-hidden":"true",...r,children:[e("g",{clipPath:"url(#4e3573e8)",children:[t("path",{fill:"#000",d:"M12.25 79.917C5.541 79.917.082 74.46.082 67.75V42.016c0-6.507 5.07-11.827 11.556-12.15V18.972C11.639 8.558 20.112.083 30.528.083s18.89 8.475 18.89 18.89v10.895a12.14 12.14 0 0 1 11.557 12.15v25.734c0 6.708-5.459 12.167-12.167 12.167H12.25zm0-46.574c-4.782 0-8.673 3.891-8.673 8.673V67.75c0 4.78 3.891 8.672 8.673 8.672h36.558c4.782 0 8.673-3.891 8.673-8.672V42.016c0-4.782-3.892-8.673-8.673-8.673zm33.675-3.494V18.972c0-8.49-6.907-15.397-15.397-15.397s-15.397 6.908-15.397 15.397V29.85zM30.528 63.463c-4.731 0-8.581-3.85-8.581-8.58 0-4.732 3.85-8.582 8.581-8.582s8.581 3.85 8.581 8.581c0 4.732-3.85 8.581-8.581 8.581m0-13.667a5.094 5.094 0 0 0-5.087 5.088 5.094 5.094 0 0 0 5.087 5.087 5.094 5.094 0 0 0 5.087-5.087 5.094 5.094 0 0 0-5.087-5.088"}),t("path",{fill:"#CDCFD1",d:"M30.528.166c10.37 0 18.808 8.437 18.808 18.808v10.973c6.418.278 11.555 5.585 11.555 12.07v25.735c0 6.663-5.42 12.083-12.083 12.083H12.25c-6.663 0-12.084-5.42-12.084-12.083V42.017c0-6.485 5.138-11.792 11.556-12.07V18.974C11.722 8.603 20.16.166 30.528.166m-15.48 29.766h30.959v-10.96c0-8.536-6.944-15.48-15.48-15.48s-15.48 6.944-15.48 15.48v10.96m-2.8 46.574h36.558c4.828 0 8.756-3.927 8.756-8.755V42.016c0-4.828-3.928-8.756-8.756-8.756H12.25c-4.828 0-8.756 3.928-8.756 8.756V67.75c0 4.828 3.928 8.755 8.756 8.755m18.278-30.12c4.685 0 8.498 3.811 8.498 8.498s-3.812 8.498-8.498 8.498-8.498-3.812-8.498-8.498c0-4.687 3.811-8.498 8.498-8.498m0 13.667c2.85 0 5.17-2.32 5.17-5.17 0-2.852-2.318-5.171-5.17-5.171a5.176 5.176 0 0 0-5.17 5.17c0 2.852 2.319 5.17 5.17 5.17m0-60.053C20.065 0 11.554 8.511 11.554 18.974v10.814a12.2 12.2 0 0 0-8.139 3.75A12.2 12.2 0 0 0 0 42.016V67.75C0 74.505 5.495 80 12.25 80h36.558c6.755 0 12.25-5.495 12.25-12.25V42.017c0-3.173-1.213-6.184-3.417-8.478a12.2 12.2 0 0 0-8.14-3.75V18.974C49.502 8.51 40.992 0 30.529 0M15.214 29.766V18.972c0-8.443 6.87-15.314 15.314-15.314 8.445 0 15.314 6.87 15.314 15.314v10.794zM12.248 76.34c-4.737 0-8.59-3.853-8.59-8.59V42.017c0-4.737 3.853-8.59 8.59-8.59h36.559c4.736 0 8.589 3.853 8.589 8.59V67.75c0 4.736-3.853 8.589-8.59 8.589zm18.278-30.12c-4.776 0-8.664 3.886-8.664 8.664s3.886 8.664 8.664 8.664 8.665-3.886 8.665-8.664-3.887-8.664-8.665-8.664m0 13.667a5.01 5.01 0 0 1-5.004-5.005 5.01 5.01 0 0 1 5.004-5.004 5.01 5.01 0 0 1 5.005 5.004 5.01 5.01 0 0 1-5.005 5.005"}),t("path",{fill:"url(#b40a6a1b)",d:"M12.21 79.917C5.502 79.917.044 74.458.044 67.75V42.016c0-6.507 5.07-11.827 11.556-12.15V18.972C11.598 8.558 20.073.083 30.489.083s18.89 8.475 18.89 18.89v10.895a12.14 12.14 0 0 1 11.556 12.15v25.734c0 6.708-5.458 12.167-12.166 12.167H12.21zm0-46.574c-4.781 0-8.672 3.891-8.672 8.673V67.75c0 4.78 3.891 8.672 8.672 8.672h36.56c4.78 0 8.672-3.891 8.672-8.672V42.016c0-4.782-3.892-8.673-8.673-8.673zm33.676-3.494V18.972c0-8.49-6.908-15.397-15.397-15.397s-15.397 6.908-15.397 15.397V29.85zM30.489 63.463c-4.732 0-8.581-3.85-8.581-8.58 0-4.732 3.85-8.582 8.58-8.582 4.732 0 8.582 3.85 8.582 8.581 0 4.732-3.85 8.581-8.581 8.581m0-13.667a5.094 5.094 0 0 0-5.088 5.088 5.094 5.094 0 0 0 5.088 5.087 5.094 5.094 0 0 0 5.087-5.087 5.094 5.094 0 0 0-5.087-5.088"}),t("path",{fill:"#CDCFD1",d:"M30.489.166c10.37 0 18.807 8.437 18.807 18.808v10.973c6.419.278 11.556 5.585 11.556 12.07v25.735c0 6.663-5.42 12.083-12.083 12.083H12.21c-6.663 0-12.083-5.42-12.083-12.083V42.017c0-6.485 5.138-11.792 11.556-12.07V18.974C11.683 8.604 20.119.166 30.49.166M15.01 29.932h30.958v-10.96c0-8.536-6.944-15.48-15.48-15.48s-15.48 6.944-15.48 15.48v10.96m-2.8 46.574h36.558c4.828 0 8.756-3.927 8.756-8.755V42.016c0-4.828-3.928-8.756-8.756-8.756H12.21c-4.828 0-8.756 3.928-8.756 8.756V67.75c0 4.828 3.928 8.755 8.756 8.755m18.278-30.12c4.685 0 8.498 3.811 8.498 8.498s-3.811 8.498-8.498 8.498-8.498-3.812-8.498-8.498c0-4.687 3.812-8.498 8.498-8.498m0 13.667c2.85 0 5.17-2.32 5.17-5.17 0-2.852-2.318-5.171-5.17-5.171a5.176 5.176 0 0 0-5.17 5.17c0 2.852 2.319 5.17 5.17 5.17m0-60.053C20.025 0 11.513 8.511 11.513 18.974v10.814a12.2 12.2 0 0 0-8.138 3.75 12.18 12.18 0 0 0-3.417 8.478V67.75C-.042 74.505 5.453 80 12.207 80h36.559c6.754 0 12.25-5.495 12.25-12.25V42.017c0-3.173-1.214-6.184-3.418-8.478a12.2 12.2 0 0 0-8.139-3.75V18.974C49.46 8.51 40.95 0 30.486 0zM15.173 29.766V18.972c0-8.443 6.87-15.314 15.314-15.314 8.445 0 15.314 6.87 15.314 15.314v10.794zM12.207 76.34c-4.736 0-8.59-3.853-8.59-8.59V42.017c0-4.737 3.854-8.59 8.59-8.59h36.559c4.736 0 8.59 3.853 8.59 8.59V67.75c0 4.736-3.854 8.589-8.59 8.589zm18.278-30.12c-4.776 0-8.664 3.886-8.664 8.664s3.886 8.664 8.664 8.664c4.779 0 8.665-3.886 8.665-8.664s-3.886-8.664-8.664-8.664m0 13.667a5.01 5.01 0 0 1-5.004-5.005 5.01 5.01 0 0 1 5.004-5.004 5.01 5.01 0 0 1 5.005 5.004 5.01 5.01 0 0 1-5.005 5.005"})]}),e("defs",{children:[e("linearGradient",{id:"b40a6a1b",x1:2.67,x2:58.264,y1:75.561,y2:19.931,gradientUnits:"userSpaceOnUse",children:[t("stop",{stopColor:"#fff",stopOpacity:0}),t("stop",{offset:.02,stopColor:"#fff",stopOpacity:.06}),t("stop",{offset:.11,stopColor:"#fff",stopOpacity:.35}),t("stop",{offset:.18,stopColor:"#fff",stopOpacity:.53}),t("stop",{offset:.21,stopColor:"#fff",stopOpacity:.6}),t("stop",{offset:.22,stopColor:"#fff",stopOpacity:.56}),t("stop",{offset:.28,stopColor:"#fff",stopOpacity:.41}),t("stop",{offset:.34,stopColor:"#fff",stopOpacity:.28}),t("stop",{offset:.41,stopColor:"#fff",stopOpacity:.18}),t("stop",{offset:.49,stopColor:"#fff",stopOpacity:.1}),t("stop",{offset:.57,stopColor:"#fff",stopOpacity:.04}),t("stop",{offset:.67,stopColor:"#fff",stopOpacity:.01}),t("stop",{offset:.83,stopColor:"#fff",stopOpacity:0}),t("stop",{offset:.88,stopColor:"#fff",stopOpacity:0}),t("stop",{offset:.91,stopColor:"#fff",stopOpacity:.04}),t("stop",{offset:.93,stopColor:"#fff",stopOpacity:.1}),t("stop",{offset:.95,stopColor:"#fff",stopOpacity:.18}),t("stop",{offset:.96,stopColor:"#fff",stopOpacity:.28}),t("stop",{offset:.98,stopColor:"#fff",stopOpacity:.4}),t("stop",{offset:1,stopColor:"#fff",stopOpacity:.6})]}),t("clipPath",{id:"4e3573e8",children:t("path",{fill:"#fff",d:"M0 0h61.058v80H0z"})})]})]}))),Xe=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{clipPath:"url(#705555a7)",children:t("path",{fill:"#000",d:"M19 1.5H5a5.006 5.006 0 0 0-5 5v12a5.006 5.006 0 0 0 5 5h14a5.006 5.006 0 0 0 5-5v-12a5.006 5.006 0 0 0-5-5m-14 2h14a3 3 0 0 1 2.78 1.887l-7.658 7.659a3.007 3.007 0 0 1-4.244 0L2.22 5.386A3 3 0 0 1 5 3.5m14 18H5a3 3 0 0 1-3-3V8l6.464 6.46a5.007 5.007 0 0 0 7.072 0L22 8v10.5a3 3 0 0 1-3 3"})}),t("defs",{children:t("clipPath",{id:"705555a7",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Ke=n((e=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...e,children:t("path",{fill:"#000",d:"M23 4.5H1a1 1 0 1 0 0 2h22a1 1 0 1 0 0-2M23 11.5H1a1 1 0 1 0 0 2h22a1 1 0 1 0 0-2M1 18.5h22a1 1 0 1 1 0 2H1a1 1 0 1 1 0-2"})}))),Ge=n((e=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",viewBox:"0 0 24 24","aria-hidden":"true",...e,children:t("path",{fill:"#000",d:"M.293 11.293A1 1 0 0 1 1 11h22a1 1 0 0 1 0 2H1a1 1 0 0 1-.707-1.707"})}))),Ze=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{fill:"#000",clipPath:"url(#752c60ff)",children:t("path",{d:"M2 14.5a2 2 0 1 0 0-4 2 2 0 0 0 0 4M12 14.5a2 2 0 1 0 0-4 2 2 0 0 0 0 4M24 12.5a2 2 0 1 1-4 0 2 2 0 0 1 4 0"})}),t("defs",{children:t("clipPath",{id:"752c60ff",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Je=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{clipPath:"url(#251a2feb)",children:t("path",{fill:"#000",d:"m22.555 14.162-1.9-6.836A9.321 9.321 0 0 0 2.576 7.8l-1.471 6.615A5 5 0 0 0 5.986 20.5H7.1a5 5 0 0 0 9.8 0h.838a5 5 0 0 0 4.818-6.338zM12 22.5a3 3 0 0 1-2.816-2h5.632a3 3 0 0 1-2.816 2m8.126-5.185a2.98 2.98 0 0 1-2.389 1.185H5.986a3 3 0 0 1-2.928-3.651l1.47-6.616a7.321 7.321 0 0 1 14.2-.372l1.9 6.836a2.98 2.98 0 0 1-.502 2.618"})}),t("defs",{children:t("clipPath",{id:"251a2feb",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Qe=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{clipPath:"url(#66b9637d)",children:t("path",{fill:"#000",d:"M23.9 11.946a12 12 0 0 0-4.279-7.717 12.006 12.006 0 0 0-16.385 1.07A11.99 11.99 0 0 0 0 13.508a11.86 11.86 0 0 0 3.759 8.705A4.84 4.84 0 0 0 7.113 23.5h9.767a5 5 0 0 0 3.509-1.428 11.93 11.93 0 0 0 3.51-10.126m-4.91 8.693a3 3 0 0 1-2.11.862H7.113c-.73.015-1.44-.25-1.981-.74A9.9 9.9 0 0 1 2 13.508a10 10 0 0 1 3.338-7.451 9.89 9.89 0 0 1 6.648-2.541q.588 0 1.174.065a10 10 0 0 1 8.305 6.693 9.98 9.98 0 0 1-2.474 10.37zm-11.183-2.85a1 1 0 1 1-1.4 1.429 7.992 7.992 0 0 1 6.736-13.623 1 1 0 0 1 .72 1.502.99.99 0 0 1-1.006.477 6 6 0 0 0-6.228 3.28 5.99 5.99 0 0 0 1.178 6.935m12.112-5.424q.08.568.08 1.143a7.92 7.92 0 0 1-2.407 5.711 1.002 1.002 0 0 1-1.4-1.43 5.97 5.97 0 0 0 1.744-5.138 1 1 0 0 1 1.59-.944 1 1 0 0 1 .39.659zm-5.993.631a2.03 2.03 0 0 1-2.22 2.559 2.033 2.033 0 0 1-1.495-3.039 2.03 2.03 0 0 1 2.3-.933l3.782-3.778a1 1 0 1 1 1.414 1.413z"})}),t("defs",{children:t("clipPath",{id:"66b9637d",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),et=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("path",{fill:"#000",d:"M22.707 1.793a1 1 0 0 1 0 1.414l-20 20a1 1 0 0 1-1.414-1.414l20-20a1 1 0 0 1 1.414 0"}),t("path",{fill:"#000",fillRule:"evenodd",d:"M6 10.5a4 4 0 1 0 0-8 4 4 0 0 0 0 8m0-6a2 2 0 1 1 0 4 2 2 0 0 1 0-4M15.778 15.174a4 4 0 1 1 4.444 6.653 4 4 0 0 1-4.444-6.653m1.11 4.99a2 2 0 1 0 2.223-3.327 2 2 0 0 0-2.222 3.326",clipRule:"evenodd"})]}))),tt=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{fill:"#000",fillRule:"evenodd",clipPath:"url(#e60de322)",clipRule:"evenodd",children:[t("path",{d:"M21.057 3.47a10.1 10.1 0 0 1 2.594 4.476 2.01 2.01 0 0 1-1.913 2.554H17.02a3 3 0 0 1-3-3V2.8a2 2 0 0 1 2.02-2 2 2 0 0 1 .543.072 10.1 10.1 0 0 1 4.475 2.598M17.015 8.5h4.72a8.07 8.07 0 0 0-5.677-5.702h-.026a.05.05 0 0 0-.025.01l.008 4.692a1 1 0 0 0 1 1"}),t("path",{d:"M14 12.5h4.713a3.06 3.06 0 0 1 2.394 1.172 2.88 2.88 0 0 1 .533 2.485A11 11 0 0 1 8.906 24.27a10.969 10.969 0 0 1-.553-21.414 2.87 2.87 0 0 1 2.48.534A3 3 0 0 1 12 5.774V10.5a2 2 0 0 0 2 2m3.425 7.26a8.97 8.97 0 0 0 2.276-4.092.88.88 0 0 0-.167-.768 1.04 1.04 0 0 0-.816-.4h-4.712a4 4 0 0 1-4-4V5.778a1.02 1.02 0 0 0-.4-.806.87.87 0 0 0-.764-.172 8.97 8.97 0 1 0 8.583 14.96"})]}),t("defs",{children:t("clipPath",{id:"e60de322",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),rt=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{clipPath:"url(#ce50361f)",children:t("path",{fill:"#000",d:"M23 11.5H13v-10a1 1 0 0 0-1-1 1 1 0 0 0-1 1v10H1a1 1 0 0 0-1 1 1 1 0 0 0 1 1h10v10a1 1 0 0 0 2 0v-10h10a1 1 0 0 0 0-2"})}),t("defs",{children:t("clipPath",{id:"ce50361f",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),nt=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{clipPath:"url(#7ecfa412)",children:t("path",{fill:"#000",d:"M19 3.522V1.5a1 1 0 0 0-2 0v1.1a5 5 0 0 0-1-.1h-1v-1a1 1 0 0 0-2 0v1h-2v-1a1 1 0 0 0-2 0v1H8a5 5 0 0 0-1 .1V1.5a1 1 0 0 0-2 0v2.022A4.98 4.98 0 0 0 3 7.5v12a5.006 5.006 0 0 0 5 5h8a5.006 5.006 0 0 0 5-5v-12a4.98 4.98 0 0 0-2-3.978M19 19.5a3 3 0 0 1-3 3H8a3 3 0 0 1-3-3v-12a3 3 0 0 1 3-3h8a3 3 0 0 1 3 3zm-2-11a1 1 0 0 1-1 1H8a1 1 0 0 1 0-2h8a1 1 0 0 1 1 1m0 4a1 1 0 0 1-1 1H8a1 1 0 0 1 0-2h8a1 1 0 0 1 1 1m-4 4a1 1 0 0 1-1 1H8a1 1 0 0 1 0-2h4a1 1 0 0 1 1 1"})}),t("defs",{children:t("clipPath",{id:"7ecfa412",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),it=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{clipPath:"url(#ef775233)",children:t("path",{fill:"#000",d:"M18.581 2.64 12.316.551a1 1 0 0 0-.632 0l-6.265 2.09A4.99 4.99 0 0 0 2 7.382V12.5c0 7.563 9.2 11.74 9.594 11.914a1 1 0 0 0 .812 0C12.8 24.24 22 20.064 22 12.5V7.383a4.99 4.99 0 0 0-3.419-4.743m-1.863 7.577-4.272 4.272a1.87 1.87 0 0 1-1.335.553h-.033a1.87 1.87 0 0 1-1.345-.6l-2.306-2.4a1 1 0 1 1 1.441-1.382L11.112 13 15.3 8.8a1 1 0 0 1 1.414 1.414z"})}),t("defs",{children:t("clipPath",{id:"ef775233",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),ot=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{clipPath:"url(#57d1947f)",children:t("path",{fill:"#000",d:"M18.581 2.64 12.316.551a1 1 0 0 0-.632 0l-6.266 2.09A4.99 4.99 0 0 0 2 7.382V12.5c0 7.563 9.2 11.74 9.594 11.914a1 1 0 0 0 .812 0C12.8 24.24 22 20.064 22 12.5V7.383a4.99 4.99 0 0 0-3.419-4.743M12 19.5a1 1 0 1 1 0-2 1 1 0 0 1 0 2m1-5a1 1 0 1 1-2 0v-8a1 1 0 0 1 2 0z"})}),t("defs",{children:t("clipPath",{id:"57d1947f",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),at=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{clipPath:"url(#1259f37d)",children:t("path",{fill:"#000",d:"m23.707 22.794-5.97-5.97a10.016 10.016 0 1 0-1.413 1.415l5.969 5.969a1 1 0 0 0 1.414-1.414M10 18.5a8 8 0 1 1 8-8 8.01 8.01 0 0 1-8 8"})}),t("defs",{children:t("clipPath",{id:"1259f37d",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),ct=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{fill:"#000",fillRule:"evenodd",clipPath:"url(#5df29195)",clipRule:"evenodd",children:[t("path",{d:"M9.778 9.175a4 4 0 1 1 4.444 6.652 4 4 0 0 1-4.444-6.652m1.11 4.989a2 2 0 1 0 2.223-3.325 2 2 0 0 0-2.222 3.325"}),t("path",{d:"m20.85 14.144.444.256.001-.001a3.002 3.002 0 1 1-3 5.2l-.447-.258A9 9 0 0 1 15 20.987v.513a3 3 0 1 1-6 0v-.513a9 9 0 0 1-2.85-1.642l-.445.257a3.002 3.002 0 0 1-3-5.2l.444-.256a9.1 9.1 0 0 1 0-3.29l-.444-.256a3.002 3.002 0 1 1 3-5.2l.447.259A9 9 0 0 1 9 4.013V3.5a3 3 0 1 1 6 0v.513a9 9 0 0 1 2.849 1.642l.445-.257a3.002 3.002 0 0 1 3 5.2l-.444.256a9.1 9.1 0 0 1 0 3.29m-2.104.23a7.05 7.05 0 0 0 0-3.75v.001a1 1 0 0 1 .463-1.129l1.084-.626a1 1 0 1 0-1-1.732l-1.084.627a1 1 0 0 1-1.215-.165 7 7 0 0 0-3.243-1.879A1 1 0 0 1 13 4.752V3.5a1 1 0 1 0-2 0v1.252a1 1 0 0 1-.751.973A7 7 0 0 0 7.006 7.6a1 1 0 0 1-1.214.161l-1.086-.628a1 1 0 1 0-1 1.733l1.084.626a1 1 0 0 1 .465 1.129 7.05 7.05 0 0 0 0 3.75 1 1 0 0 1-.464 1.133l-1.084.626a1 1 0 1 0 1 1.732l1.084-.627a1 1 0 0 1 1.215.165c.89.91 2.01 1.56 3.242 1.879a1 1 0 0 1 .751.969V21.5a1 1 0 0 0 2 0v-1.253a1 1 0 0 1 .751-.969 7 7 0 0 0 3.243-1.875 1 1 0 0 1 1.215-.165l1.086.628a1 1 0 0 0 1-1.733l-1.084-.626a1 1 0 0 1-.464-1.133"})]}),t("defs",{children:t("clipPath",{id:"5df29195",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),lt=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{clipPath:"url(#2b650bda)",children:t("path",{fill:"#000",d:"M4 7.483a2.98 2.98 0 0 1-2.121-.88L.335 5.228a1.002 1.002 0 0 1 1.332-1.496l1.585 1.416a1 1 0 0 0 1.456.04l3.604-3.435a1 1 0 0 1 1.378 1.45L6.1 6.62a2.96 2.96 0 0 1-2.1.863m20-2.002a1 1 0 0 0-1-1H13a1 1 0 0 0-.706 1.708 1 1 0 0 0 .707.293h10a1 1 0 0 0 1-1M6.1 14.63l3.59-3.418a1 1 0 1 0-1.378-1.45l-3.6 3.435a1.02 1.02 0 0 1-1.414 0l-1.59-1.586a1 1 0 0 0-1.695.711c-.002.263.099.515.28.704l1.586 1.587a3 3 0 0 0 4.226.017zm17.9-1.14a1 1 0 0 0-1-1H13a1 1 0 0 0-1 1 1 1 0 0 0 1 1.002h10a1 1 0 0 0 1-1.001M6.1 22.638l3.586-3.417a1.001 1.001 0 1 0-1.378-1.45l-3.6 3.435a1 1 0 0 1-1.456-.04l-1.585-1.416a1 1 0 0 0-1.665.805c.015.266.135.514.333.69l1.544 1.376a3 3 0 0 0 4.226.017zM24 21.498a1 1 0 0 0-1-1.001H13a1 1 0 0 0-.706 1.709 1 1 0 0 0 .707.293h10a1 1 0 0 0 1-1.001"})}),t("defs",{children:t("clipPath",{id:"2b650bda",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),ut=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{fill:"#000",clipPath:"url(#91038c87)",children:[t("path",{d:"M5 22.5h2a1 1 0 0 1 0 2H5a5.006 5.006 0 0 1-5-5v-14a5.006 5.006 0 0 1 5-5h2a1 1 0 0 1 0 2H5a3 3 0 0 0-3 3v14a3 3 0 0 0 3 3"}),t("path",{d:"M7.223 11.532 23 11.5a1 1 0 0 1 0 2l-15.744.032q.123.209.29.382l3.88 3.88a1 1 0 1 1-1.414 1.413l-3.88-3.879a4 4 0 0 1 0-5.656l3.882-3.879a1 1 0 1 1 1.414 1.414l-3.88 3.88a2 2 0 0 0-.325.445"})]}),t("defs",{children:t("clipPath",{id:"91038c87",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),st=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{fill:"#000",clipPath:"url(#57cfec12)",children:[t("path",{d:"M5 22.5h2a1 1 0 0 1 0 2H5a5.006 5.006 0 0 1-5-5v-14a5.006 5.006 0 0 1 5-5h2a1 1 0 0 1 0 2H5a3 3 0 0 0-3 3v14a3 3 0 0 0 3 3"}),t("path",{d:"m18.95 5.792 3.879 3.88h-.004a4 4 0 0 1 0 5.655l-3.88 3.88a1 1 0 1 1-1.413-1.415l3.879-3.879q.2-.207.334-.462-.019.003-.036.008a.1.1 0 0 1-.042.008L5.989 13.5a1 1 0 0 1 0-2l15.684-.032q.01 0 .02.004l.022.004a2 2 0 0 0-.3-.39l-3.88-3.879a1 1 0 0 1 1.415-1.414"})]}),t("defs",{children:t("clipPath",{id:"57cfec12",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),ft=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{fill:"#000",clipPath:"url(#8ca63799)",children:t("path",{d:"M6.365 6.416a.5.5 0 0 1-.278.084H4.294v12h1.793a.5.5 0 0 1 .353.854L4 21.794a1 1 0 0 1-1.414 0l-2.44-2.44A.5.5 0 0 1 .5 18.5h1.794v-12H.5a.5.5 0 0 1-.353-.854l2.439-2.439a1 1 0 0 1 1.414 0l2.44 2.44a.5.5 0 0 1-.075.769M23 6.5H10a1 1 0 0 1 0-2h13a1 1 0 1 1 0 2M10 11.5h13a1 1 0 0 1 0 2H10a1 1 0 0 1 0-2M23 18.5H10a1 1 0 0 0 0 2h13a1 1 0 1 0 0-2"})}),t("defs",{children:t("clipPath",{id:"8ca63799",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),pt=n((e=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",viewBox:"0 0 24 24","aria-hidden":"true",...e,children:t("path",{fill:"#000",d:"M13 1v2a1 1 0 0 1-2 0V1a1 1 0 0 1 2 0m-1 19a1 1 0 0 0-1 1v2a1 1 0 0 0 2 0v-2a1 1 0 0 0-1-1m-8-8a1 1 0 0 0-1-1H1a1 1 0 0 0 0 2h2a1 1 0 0 0 1-1m19-1h-2a1 1 0 0 0 0 2h2a1 1 0 0 0 0-2m-4.982-9.382a1 1 0 0 0-1.367.364l-1 1.731a1 1 0 0 0 1.731 1.001l1-1.731a1 1 0 0 0-.364-1.365M7.987 18.921a1 1 0 0 0-1.366.364l-1 1.731a1 1 0 1 0 1.731 1.001l1-1.731a1 1 0 0 0-.365-1.365m-3.272-12.3-1.731-1a1 1 0 0 0-1 1.731l1.731 1a1 1 0 0 0 1-1.731m17.3 10.03-1.731-1a1 1 0 0 0-1 1.731l1.731 1a1 1 0 1 0 1-1.731M7.349 1.982a1 1 0 0 0-1.731 1l1 1.731a1 1 0 1 0 1.731-1.001zm10.03 17.3a1 1 0 0 0-1.731 1l1 1.731a1 1 0 0 0 1.731-1zm2.408-10.8a1 1 0 0 0 .5-.134l1.731-1a1 1 0 0 0-1-1.731l-1.731 1a1 1 0 0 0 .5 1.865M3.713 15.648l-1.731 1a1 1 0 1 0 1 1.731l1.731-1a1 1 0 0 0-1-1.731"})}))),ht=n((e=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...e,children:t("path",{fill:"#000",d:"M21 12.924V11.5a9 9 0 0 0-18 0v1.424A5 5 0 0 0 5 22.5a2 2 0 0 0 2-2v-6a2 2 0 0 0-2-2v-1a7 7 0 0 1 14 0v1a2 2 0 0 0-2 2v6h-3a1 1 0 0 0 0 2h5a5 5 0 0 0 2-9.576M5 20.5a3 3 0 1 1 0-6zm14 0v-6a3 3 0 0 1 0 6"})}))),dt=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{fill:"#000",clipPath:"url(#705b35d7)",children:[t("path",{d:"M10 18.5a1 1 0 0 0 1-1v-6a1 1 0 0 0-2 0v6a1 1 0 0 0 1 1M14.707 18.207A1 1 0 0 1 13 17.499v-6a1 1 0 1 1 2 0v6a1 1 0 0 1-.293.707"}),t("path",{fillRule:"evenodd",d:"M21 4.5h-3.1a5.01 5.01 0 0 0-4.9-4h-2a5.01 5.01 0 0 0-4.9 4H3a1 1 0 0 0 0 2h1v13a5.006 5.006 0 0 0 5 5h6a5.006 5.006 0 0 0 5-5v-13h1a1 1 0 1 0 0-2m-10-2h2a3.01 3.01 0 0 1 2.829 2H8.171A3.01 3.01 0 0 1 11 2.5m7 17a3 3 0 0 1-3 3H9a3 3 0 0 1-3-3v-13h12z",clipRule:"evenodd"})]}),t("defs",{children:t("clipPath",{id:"705b35d7",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),yt=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{fill:"#000",clipPath:"url(#c1bea85b)",children:[t("path",{d:"m11 18.516.007-15.438L8.08 6.005a1 1 0 0 1-1.414-1.414l3.21-3.212a3 3 0 0 1 4.245 0l3.21 3.215a1 1 0 0 1-1.413 1.414l-2.912-2.913L13 18.516a1 1 0 1 1-2 0"}),t("path",{d:"M22 21.5v-4a1 1 0 0 1 2 0v4a3 3 0 0 1-3 3H3a3 3 0 0 1-3-3v-4a1 1 0 0 1 2 0v4a1 1 0 0 0 1 1h18a1 1 0 0 0 1-1"})]}),t("defs",{children:t("clipPath",{id:"c1bea85b",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),vt=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{fill:"#000",clipPath:"url(#5ab9665d)",children:t("path",{d:"M12 13a6 6 0 1 0 0-12 6 6 0 0 0 0 12m0-10a4 4 0 1 1 0 8 4 4 0 0 1 0-8M12 15a9.01 9.01 0 0 0-9 9 1 1 0 0 0 2 0 7 7 0 1 1 14 0 1 1 0 0 0 2 0 9.01 9.01 0 0 0-9-9"})}),t("defs",{children:t("clipPath",{id:"5ab9665d",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),gt=n((e=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:16,height:17,fill:"none",viewBox:"0 0 16 17","aria-hidden":"true",...e,children:t("path",{fill:"#000",d:"M7.986 1.833a6.71 6.71 0 0 1 4.758 2h-2.086a.67.67 0 0 0-.668.667.666.666 0 0 0 .668.667h2.768a1.24 1.24 0 0 0 1.24-1.238V1.167A.666.666 0 0 0 14 .5a.67.67 0 0 0-.668.667v1.385a8.01 8.01 0 0 0-8.278-1.5 8 8 0 0 0-3.48 2.641 8 8 0 0 0-1.57 4.074.67.67 0 0 0 .668.733.657.657 0 0 0 .66-.585 6.67 6.67 0 0 1 2.146-4.329 6.7 6.7 0 0 1 4.51-1.753M15.33 8.5a.657.657 0 0 0-.661.585 6.65 6.65 0 0 1-1.362 3.488 6.684 6.684 0 0 1-10.05.593h2.085a.67.67 0 0 0 .668-.666.666.666 0 0 0-.668-.667H2.574a1.24 1.24 0 0 0-1.146.764c-.063.15-.095.312-.095.474v2.762a.666.666 0 0 0 .668.667.67.67 0 0 0 .668-.667v-1.385a8.01 8.01 0 0 0 8.278 1.5 8 8 0 0 0 3.48-2.641 8 8 0 0 0 1.57-4.074.67.67 0 0 0-.668-.733"})}))),mt=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 1503 1504","aria-hidden":"true",...r,children:[t("path",{fill:"#fff",d:"M287 258h928v844H287z"}),t("path",{fill:"#E84142",fillRule:"evenodd",d:"M1502.5 752c0 414.77-336.23 751-751 751-414.766 0-751-336.23-751-751C.5 337.234 336.734 1 751.5 1c414.77 0 751 336.234 751 751m-963.812 298.86H392.94c-30.626 0-45.754 0-54.978-5.9-9.963-6.46-16.051-17.16-16.789-28.97-.554-10.88 7.011-24.168 22.139-50.735l359.87-634.32c15.313-26.936 23.061-40.404 32.839-45.385 10.516-5.35 23.062-5.35 33.578 0 9.778 4.981 17.527 18.449 32.839 45.385l73.982 129.144.377.659c16.539 28.897 24.926 43.551 28.588 58.931a109.56 109.56 0 0 1 0 51.289c-3.69 15.497-11.992 30.257-28.781 59.591L687.573 964.702l-.489.856c-16.648 29.135-25.085 43.902-36.778 55.042-12.73 12.18-28.043 21.03-44.832 26.02-15.313 4.24-32.47 4.24-66.786 4.24m368.062 0h208.84c30.81 0 46.31 0 55.54-6.08 9.96-6.46 16.23-17.35 16.79-29.15.53-10.53-6.87-23.3-21.37-48.323-.5-.852-1-1.719-1.51-2.601L1060.43 785.75l-1.19-2.015c-14.7-24.858-22.12-37.411-31.65-42.263a36.73 36.73 0 0 0-33.391 0c-9.594 4.981-17.342 18.08-32.655 44.462L857.306 964.891l-.357.616c-15.259 26.34-22.885 39.503-22.335 50.303.738 11.81 6.826 22.69 16.788 29.15 9.041 5.9 24.538 5.9 55.348 5.9",clipRule:"evenodd"})]}))),bt=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",viewBox:"0 0 788 788","aria-hidden":"true",...r,children:[t("circle",{cx:394,cy:394,r:394,style:{fill:"#0ac18e"}}),t("path",{d:"M516.9 261.7c-19.8-44.9-65.3-54.5-121-45.2L378 147.1 335.8 158l17.6 69.2c-11.1 2.8-22.5 5.2-33.8 8.4L302 166.8l-42.2 10.9 17.9 69.4c-9.1 2.6-85.2 22.1-85.2 22.1l11.6 45.2s31-8.7 30.7-8c17.2-4.5 25.3 4.1 29.1 12.2l49.2 190.2c.6 5.5-.4 14.9-12.2 18.1.7.4-30.7 7.9-30.7 7.9l4.6 52.7s75.4-19.3 85.3-21.8l18.1 70.2 42.2-10.9-18.1-70.7q17.4-4.05 33.9-8.4l18 70.3 42.2-10.9-18.1-70.1c65-15.8 110.9-56.8 101.5-119.5-6-37.8-47.3-68.8-81.6-72.3 21.1-18.7 31.8-46 18.7-81.7m-20.3 165.5c8.4 62.1-77.9 69.7-106.4 77.2l-24.8-92.9c28.6-7.5 117-39 131.2 15.7m-52-126.5c8.9 55.2-64.9 61.6-88.7 67.7l-22.6-84.3c23.9-5.9 93.2-34.5 111.3 16.6",style:{fill:"#fff"}})]}))),wt=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",fillRule:"evenodd",clipRule:"evenodd",imageRendering:"optimizeQuality",shapeRendering:"geometricPrecision",textRendering:"geometricPrecision",viewBox:"0 0 4091.27 4091.73","aria-hidden":"true",...r,children:e("g",{fillRule:"nonzero",children:[t("path",{fill:"#F7931A",d:"M4030.06 2540.77C3756.82 3636.78 2646.74 4303.79 1550.6 4030.48 454.92 3757.24-212.09 2647.09 61.27 1551.17c273.12-1096.13 1383.2-1763.19 2479-1489.95C3636.33 334.46 4303.3 1444.73 4030.03 2540.79l.02-.02z"}),t("path",{fill:"#fff",d:"M2947.77 1754.38c40.72-272.26-166.56-418.61-450-516.24l91.95-368.8-224.5-55.94-89.51 359.09c-59.02-14.72-119.63-28.59-179.87-42.34L2186 768.69l-224.36-55.94-92 368.68c-48.84-11.12-96.81-22.11-143.35-33.69l.26-1.16-309.59-77.31-59.72 239.78s166.56 38.18 163.05 40.53c90.91 22.69 107.35 82.87 104.62 130.57l-104.74 420.15c6.26 1.59 14.38 3.89 23.34 7.49-7.49-1.86-15.46-3.89-23.73-5.87l-146.81 588.57c-11.11 27.62-39.31 69.07-102.87 53.33 2.25 3.26-163.17-40.72-163.17-40.72l-111.46 256.98 292.15 72.83c54.35 13.63 107.61 27.89 160.06 41.3l-92.9 373.03 224.24 55.94 92-369.07c61.26 16.63 120.71 31.97 178.91 46.43l-91.69 367.33 224.51 55.94 92.89-372.33c382.82 72.45 670.67 43.24 791.83-303.02 97.63-278.78-4.86-439.58-206.26-544.44 146.69-33.83 257.18-130.31 286.64-329.61l-.07-.05zm-512.93 719.26c-69.38 278.78-538.76 128.08-690.94 90.29l123.28-494.2c152.17 37.99 640.17 113.17 567.67 403.91zm69.43-723.3c-63.29 253.58-453.96 124.75-580.69 93.16l111.77-448.21c126.73 31.59 534.85 90.55 468.94 355.05z"})]})}))),xt=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",fillRule:"evenodd",clipRule:"evenodd",imageRendering:"optimizeQuality",shapeRendering:"geometricPrecision",textRendering:"geometricPrecision",viewBox:"0 0 784.37 1277.39","aria-hidden":"true",...r,children:e("g",{fillRule:"nonzero",children:[t("path",{fill:"#343434",d:"m392.07 0-8.57 29.11v844.63l8.57 8.55 392.06-231.75z"}),t("path",{fill:"#8C8C8C",d:"M392.07 0 0 650.54l392.07 231.75V472.33z"}),t("path",{fill:"#3C3C3B",d:"m392.07 956.52-4.83 5.89v300.87l4.83 14.1 392.3-552.49z"}),t("path",{fill:"#8C8C8C",d:"M392.07 1277.38V956.52L0 724.89z"}),t("path",{fill:"#141414",d:"m392.07 882.29 392.06-231.75-392.06-178.21z"}),t("path",{fill:"#393939",d:"m0 650.54 392.07 231.75V472.33z"})]})}))),Ot=n((e=>t("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 37.8 43.6","aria-hidden":"true",...e,children:t("g",{"data-name":"Layer 2",children:t("path",{d:"m18.9 0-4 2.3L4 8.6l-4 2.3v21.8L4 35l11 6.3 4 2.3 4-2.3L33.8 35l4-2.3V10.9l-4-2.3-10.9-6.3ZM8 28.1V15.5l10.9-6.3 10.9 6.3v12.6l-10.9 6.3Z","data-name":"Layer 1",style:{fill:"#2a5ada"}})})}))),St=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg","data-name":"Layer 1",viewBox:"0 0 82.6 82.6","aria-hidden":"true",...r,children:[t("circle",{cx:41.3,cy:41.3,r:36.83,style:{fill:"#fff"}}),t("path",{d:"M41.3 0a41.3 41.3 0 1 0 41.3 41.3A41.18 41.18 0 0 0 41.54 0Zm.7 42.7-4.3 14.5h23a1.16 1.16 0 0 1 1.2 1.12v.38l-2 6.9a1.49 1.49 0 0 1-1.5 1.1H23.2l5.9-20.1-6.6 2L24 44l6.6-2 8.3-28.2a1.51 1.51 0 0 1 1.5-1.1h8.9a1.16 1.16 0 0 1 1.2 1.12v.38l-7 23.8 6.6-2-1.4 4.8Z",style:{fill:"#345d9d"}})]}))),jt=n((e=>t("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 236.36 200","aria-hidden":"true",...e,children:t("g",{"data-name":"Layer 2",children:t("g",{"data-name":"Layer 1",children:t("path",{d:"m203 26.16-28.46 14.5-137.43 70a82.5 82.5 0 0 1-.7-10.69A81.87 81.87 0 0 1 158.2 28.6l16.29-8.3 2.43-1.24A100 100 0 0 0 18.18 100q0 3.82.29 7.61a18.19 18.19 0 0 1-9.88 17.58L0 129.57V150l25.29-12.89 8.19-4.18 8.07-4.11L186.43 55l16.28-8.29 33.65-17.15V9.14ZM236.36 50 49.78 145l-16.28 8.31L0 170.38v20.41l33.27-16.95 28.46-14.5 137.57-70.1A83.5 83.5 0 0 1 200 100a81.87 81.87 0 0 1-121.91 71.36l-1 .53-17.66 9A100 100 0 0 0 218.18 100c0-2.57-.1-5.14-.29-7.68a18.2 18.2 0 0 1 9.87-17.58l8.6-4.38Z"})})})}))),At=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 424","aria-hidden":"true",...r,children:[t("defs",{children:t("style",{children:".cls-1{fill:#23292f}"})}),t("g",{id:"Layer_2","data-name":"Layer 2",children:t("g",{id:"Layer_1-2","data-name":"Layer 1",children:t("path",{d:"M437 0h74L357 152.48c-55.77 55.19-146.19 55.19-202 0L.94 0H75l117 115.83a91.11 91.11 0 0 0 127.91 0ZM74.05 424H0l155-153.42c55.77-55.19 146.19-55.19 202 0L512 424h-74L320 307.23a91.11 91.11 0 0 0-127.91 0Z",className:"cls-1"})})})]})));function Pt(e,t={}){let r=!1;function n(t){const r=`chakra-${(["container","root"].includes(null!=t?t:"")?[e]:[e,t]).filter(Boolean).join("__")}`;return{className:r,selector:`.${r}`,toString:()=>t}}return{parts:function(...i){!function(){if(r)throw new Error("[anatomy] .part(...) should only be called once. Did you mean to use .extend(...) ?");r=!0}();for(const e of i)t[e]=n(e);return Pt(e,t)},toPart:n,extend:function(...r){for(const e of r)e in t||(t[e]=n(e));return Pt(e,t)},selectors:function(){return Object.fromEntries(Object.entries(t).map((([e,t])=>[e,t.selector])))},classnames:function(){return Object.fromEntries(Object.entries(t).map((([e,t])=>[e,t.className])))},get keys(){return Object.keys(t)},__type:{}}}var Mt=Pt("accordion").parts("root","container","button","panel").extend("icon"),kt=Pt("alert").parts("title","description","container").extend("icon","spinner");Pt("avatar").parts("label","badge","container").extend("excessLabel","group"),Pt("breadcrumb").parts("link","item","container").extend("separator"),Pt("button").parts();var Et=Pt("checkbox").parts("control","icon","container").extend("label");Pt("progress").parts("track","filledTrack").extend("label"),Pt("drawer").parts("overlay","dialogContainer","dialog").extend("header","closeButton","body","footer"),Pt("editable").parts("preview","input","textarea"),Pt("form").parts("container","requiredIndicator","helperText"),Pt("formError").parts("text","icon");var Ct=Pt("input").parts("addon","field","element","group");Pt("list").parts("container","item","icon"),Pt("menu").parts("button","list","item").extend("groupTitle","icon","command","divider"),Pt("modal").parts("overlay","dialogContainer","dialog").extend("header","closeButton","body","footer"),Pt("numberinput").parts("root","field","stepperGroup","stepper"),Pt("pininput").parts("field"),Pt("popover").parts("content","header","body","footer").extend("popper","arrow","closeButton"),Pt("progress").parts("label","filledTrack","track"),Pt("radio").parts("container","control","label");var _t=Pt("select").parts("field","icon");Pt("slider").parts("container","track","thumb","filledTrack","mark"),Pt("stat").parts("container","label","helpText","number","icon"),Pt("switch").parts("container","track","thumb","label"),Pt("table").parts("table","thead","tbody","tr","th","td","tfoot","caption"),Pt("tabs").parts("root","tab","tablist","tabpanel","tabpanels","indicator");var Tt=Pt("tag").parts("container","label","closeButton");Pt("card").parts("container","header","body","footer"),Pt("stepper").parts("stepper","step","title","description","indicator","separator","icon","number");var Dt=1e6,Nt=1e6,It="[big.js] ",Lt=It+"Invalid ",Bt=Lt+"decimal places",Rt=Lt+"rounding mode",zt=It+"Division by zero",$t={},Ht=void 0,Vt=/^-?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i;function Ft(e,t,r,n){var i=e.c;if(r===Ht&&(r=e.constructor.RM),0!==r&&1!==r&&2!==r&&3!==r)throw Error(Rt);if(t<1)n=3===r&&(n||!!i[0])||0===t&&(1===r&&i[0]>=5||2===r&&(i[0]>5||5===i[0]&&(n||i[1]!==Ht))),i.length=1,n?(e.e=e.e-t+1,i[0]=1):i[0]=e.e=0;else if(t<i.length){if(n=1===r&&i[t]>=5||2===r&&(i[t]>5||5===i[t]&&(n||i[t+1]!==Ht||1&i[t-1]))||3===r&&(n||!!i[0]),i.length=t,n)for(;++i[--t]>9;)if(i[t]=0,0===t){++e.e,i.unshift(1);break}for(t=i.length;!i[--t];)i.pop()}return e}function Ut(e,t,r){var n=e.e,i=e.c.join(""),o=i.length;if(t)i=i.charAt(0)+(o>1?"."+i.slice(1):"")+(n<0?"e":"e+")+n;else if(n<0){for(;++n;)i="0"+i;i="0."+i}else if(n>0)if(++n>o)for(n-=o;n--;)i+="0";else n<o&&(i=i.slice(0,n)+"."+i.slice(n));else o>1&&(i=i.charAt(0)+"."+i.slice(1));return e.s<0&&r?"-"+i:i}$t.abs=function(){var e=new this.constructor(this);return e.s=1,e},$t.cmp=function(e){var t,r=this,n=r.c,i=(e=new r.constructor(e)).c,o=r.s,a=e.s,c=r.e,l=e.e;if(!n[0]||!i[0])return n[0]?o:i[0]?-a:0;if(o!=a)return o;if(t=o<0,c!=l)return c>l^t?1:-1;for(a=(c=n.length)<(l=i.length)?c:l,o=-1;++o<a;)if(n[o]!=i[o])return n[o]>i[o]^t?1:-1;return c==l?0:c>l^t?1:-1},$t.div=function(e){var t=this,r=t.constructor,n=t.c,i=(e=new r(e)).c,o=t.s==e.s?1:-1,a=r.DP;if(a!==~~a||a<0||a>Dt)throw Error(Bt);if(!i[0])throw Error(zt);if(!n[0])return e.s=o,e.c=[e.e=0],e;var c,l,u,s,f,p=i.slice(),h=c=i.length,d=n.length,y=n.slice(0,c),v=y.length,g=e,m=g.c=[],b=0,w=a+(g.e=t.e-e.e)+1;for(g.s=o,o=w<0?0:w,p.unshift(0);v++<c;)y.push(0);do{for(u=0;u<10;u++){if(c!=(v=y.length))s=c>v?1:-1;else for(f=-1,s=0;++f<c;)if(i[f]!=y[f]){s=i[f]>y[f]?1:-1;break}if(!(s<0))break;for(l=v==c?i:p;v;){if(y[--v]<l[v]){for(f=v;f&&!y[--f];)y[f]=9;--y[f],y[v]+=10}y[v]-=l[v]}for(;!y[0];)y.shift()}m[b++]=s?u:++u,y[0]&&s?y[v]=n[h]||0:y=[n[h]]}while((h++<d||y[0]!==Ht)&&o--);return m[0]||1==b||(m.shift(),g.e--,w--),b>w&&Ft(g,w,r.RM,y[0]!==Ht),g},$t.eq=function(e){return 0===this.cmp(e)},$t.gt=function(e){return this.cmp(e)>0},$t.gte=function(e){return this.cmp(e)>-1},$t.lt=function(e){return this.cmp(e)<0},$t.lte=function(e){return this.cmp(e)<1},$t.minus=$t.sub=function(e){var t,r,n,i,o=this,a=o.constructor,c=o.s,l=(e=new a(e)).s;if(c!=l)return e.s=-l,o.plus(e);var u=o.c.slice(),s=o.e,f=e.c,p=e.e;if(!u[0]||!f[0])return f[0]?e.s=-l:u[0]?e=new a(o):e.s=1,e;if(c=s-p){for((i=c<0)?(c=-c,n=u):(p=s,n=f),n.reverse(),l=c;l--;)n.push(0);n.reverse()}else for(r=((i=u.length<f.length)?u:f).length,c=l=0;l<r;l++)if(u[l]!=f[l]){i=u[l]<f[l];break}if(i&&(n=u,u=f,f=n,e.s=-e.s),(l=(r=f.length)-(t=u.length))>0)for(;l--;)u[t++]=0;for(l=t;r>c;){if(u[--r]<f[r]){for(t=r;t&&!u[--t];)u[t]=9;--u[t],u[r]+=10}u[r]-=f[r]}for(;0===u[--l];)u.pop();for(;0===u[0];)u.shift(),--p;return u[0]||(e.s=1,u=[p=0]),e.c=u,e.e=p,e},$t.mod=function(e){var t,r=this,n=r.constructor,i=r.s,o=(e=new n(e)).s;if(!e.c[0])throw Error(zt);return r.s=e.s=1,t=1==e.cmp(r),r.s=i,e.s=o,t?new n(r):(i=n.DP,o=n.RM,n.DP=n.RM=0,r=r.div(e),n.DP=i,n.RM=o,this.minus(r.times(e)))},$t.neg=function(){var e=new this.constructor(this);return e.s=-e.s,e},$t.plus=$t.add=function(e){var t,r,n,i=this,o=i.constructor;if(e=new o(e),i.s!=e.s)return e.s=-e.s,i.minus(e);var a=i.e,c=i.c,l=e.e,u=e.c;if(!c[0]||!u[0])return u[0]||(c[0]?e=new o(i):e.s=i.s),e;if(c=c.slice(),t=a-l){for(t>0?(l=a,n=u):(t=-t,n=c),n.reverse();t--;)n.push(0);n.reverse()}for(c.length-u.length<0&&(n=u,u=c,c=n),t=u.length,r=0;t;c[t]%=10)r=(c[--t]=c[t]+u[t]+r)/10|0;for(r&&(c.unshift(r),++l),t=c.length;0===c[--t];)c.pop();return e.c=c,e.e=l,e},$t.pow=function(e){var t=this,r=new t.constructor("1"),n=r,i=e<0;if(e!==~~e||e<-1e6||e>Nt)throw Error(Lt+"exponent");for(i&&(e=-e);1&e&&(n=n.times(t)),e>>=1;)t=t.times(t);return i?r.div(n):n},$t.prec=function(e,t){if(e!==~~e||e<1||e>Dt)throw Error(Lt+"precision");return Ft(new this.constructor(this),e,t)},$t.round=function(e,t){if(e===Ht)e=0;else if(e!==~~e||e<-Dt||e>Dt)throw Error(Bt);return Ft(new this.constructor(this),e+this.e+1,t)},$t.sqrt=function(){var e,t,r,n=this,i=n.constructor,o=n.s,a=n.e,c=new i("0.5");if(!n.c[0])return new i(n);if(o<0)throw Error(It+"No square root");0===(o=Math.sqrt(n+""))||o===1/0?((t=n.c.join("")).length+a&1||(t+="0"),a=((a+1)/2|0)-(a<0||1&a),e=new i(((o=Math.sqrt(t))==1/0?"5e":(o=o.toExponential()).slice(0,o.indexOf("e")+1))+a)):e=new i(o+""),a=e.e+(i.DP+=4);do{r=e,e=c.times(r.plus(n.div(r)))}while(r.c.slice(0,a).join("")!==e.c.slice(0,a).join(""));return Ft(e,(i.DP-=4)+e.e+1,i.RM)},$t.times=$t.mul=function(e){var t,r=this,n=r.constructor,i=r.c,o=(e=new n(e)).c,a=i.length,c=o.length,l=r.e,u=e.e;if(e.s=r.s==e.s?1:-1,!i[0]||!o[0])return e.c=[e.e=0],e;for(e.e=l+u,a<c&&(t=i,i=o,o=t,u=a,a=c,c=u),t=new Array(u=a+c);u--;)t[u]=0;for(l=c;l--;){for(c=0,u=a+l;u>l;)c=t[u]+o[l]*i[u-l-1]+c,t[u--]=c%10,c=c/10|0;t[u]=c}for(c?++e.e:t.shift(),l=t.length;!t[--l];)t.pop();return e.c=t,e},$t.toExponential=function(e,t){var r=this,n=r.c[0];if(e!==Ht){if(e!==~~e||e<0||e>Dt)throw Error(Bt);for(r=Ft(new r.constructor(r),++e,t);r.c.length<e;)r.c.push(0)}return Ut(r,!0,!!n)},$t.toFixed=function(e,t){var r=this,n=r.c[0];if(e!==Ht){if(e!==~~e||e<0||e>Dt)throw Error(Bt);for(e=e+(r=Ft(new r.constructor(r),e+r.e+1,t)).e+1;r.c.length<e;)r.c.push(0)}return Ut(r,!1,!!n)},$t[Symbol.for("nodejs.util.inspect.custom")]=$t.toJSON=$t.toString=function(){var e=this,t=e.constructor;return Ut(e,e.e<=t.NE||e.e>=t.PE,!!e.c[0])},$t.toNumber=function(){var e=Number(Ut(this,!0,!0));if(!0===this.constructor.strict&&!this.eq(e.toString()))throw Error(It+"Imprecise conversion");return e},$t.toPrecision=function(e,t){var r=this,n=r.constructor,i=r.c[0];if(e!==Ht){if(e!==~~e||e<1||e>Dt)throw Error(Lt+"precision");for(r=Ft(new n(r),e,t);r.c.length<e;)r.c.push(0)}return Ut(r,e<=r.e||r.e<=n.NE||r.e>=n.PE,!!i)},$t.valueOf=function(){var e=this,t=e.constructor;if(!0===t.strict)throw Error(It+"valueOf disallowed");return Ut(e,e.e<=t.NE||e.e>=t.PE,!0)};var Wt=function e(){function t(r){var n=this;if(!(n instanceof t))return r===Ht?e():new t(r);if(r instanceof t)n.s=r.s,n.e=r.e,n.c=r.c.slice();else{if("string"!=typeof r){if(!0===t.strict&&"bigint"!=typeof r)throw TypeError(Lt+"value");r=0===r&&1/r<0?"-0":String(r)}!function(e,t){var r,n,i;if(!Vt.test(t))throw Error(Lt+"number");e.s="-"==t.charAt(0)?(t=t.slice(1),-1):1,(r=t.indexOf("."))>-1&&(t=t.replace(".",""));(n=t.search(/e/i))>0?(r<0&&(r=n),r+=+t.slice(n+1),t=t.substring(0,n)):r<0&&(r=t.length);for(i=t.length,n=0;n<i&&"0"==t.charAt(n);)++n;if(n==i)e.c=[e.e=0];else{for(;i>0&&"0"==t.charAt(--i););for(e.e=r-n-1,e.c=[],r=0;n<=i;)e.c[r++]=+t.charAt(n++)}}(n,r)}n.constructor=t}return t.prototype=$t,t.DP=20,t.RM=1,t.NE=-7,t.PE=21,t.strict=false,t.roundDown=0,t.roundHalfUp=1,t.roundHalfEven=2,t.roundUp=3,t}();const qt=e=>{if(e.some((e=>!Number.isFinite(e))))throw new Error(`One or more of the provided amounts is not a finite number. (amounts: ${e}, method: aggregateAmounts)`);return e.reduce(((e,t)=>e.plus(t)),new Wt(0)).toNumber()};var Yt="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function Xt(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Kt={exports:{}};Kt.exports=function(){var e=1e3,t=6e4,r=36e5,n="millisecond",i="second",o="minute",a="hour",c="day",l="week",u="month",s="quarter",f="year",p="date",h="Invalid Date",d=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,y=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,v={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],r=e%100;return"["+e+(t[(r-20)%10]||t[r]||t[0])+"]"}},g=function(e,t,r){var n=String(e);return!n||n.length>=t?e:""+Array(t+1-n.length).join(r)+e},m={s:g,z:function(e){var t=-e.utcOffset(),r=Math.abs(t),n=Math.floor(r/60),i=r%60;return(t<=0?"+":"-")+g(n,2,"0")+":"+g(i,2,"0")},m:function e(t,r){if(t.date()<r.date())return-e(r,t);var n=12*(r.year()-t.year())+(r.month()-t.month()),i=t.clone().add(n,u),o=r-i<0,a=t.clone().add(n+(o?-1:1),u);return+(-(n+(r-i)/(o?i-a:a-i))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(e){return{M:u,y:f,w:l,d:c,D:p,h:a,m:o,s:i,ms:n,Q:s}[e]||String(e||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}},b="en",w={};w[b]=v;var x="$isDayjsObject",O=function(e){return e instanceof P||!(!e||!e[x])},S=function e(t,r,n){var i;if(!t)return b;if("string"==typeof t){var o=t.toLowerCase();w[o]&&(i=o),r&&(w[o]=r,i=o);var a=t.split("-");if(!i&&a.length>1)return e(a[0])}else{var c=t.name;w[c]=t,i=c}return!n&&i&&(b=i),i||!n&&b},j=function(e,t){if(O(e))return e.clone();var r="object"==typeof t?t:{};return r.date=e,r.args=arguments,new P(r)},A=m;A.l=S,A.i=O,A.w=function(e,t){return j(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var P=function(){function v(e){this.$L=S(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[x]=!0}var g=v.prototype;return g.parse=function(e){this.$d=function(e){var t=e.date,r=e.utc;if(null===t)return new Date(NaN);if(A.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var n=t.match(d);if(n){var i=n[2]-1||0,o=(n[7]||"0").substring(0,3);return r?new Date(Date.UTC(n[1],i,n[3]||1,n[4]||0,n[5]||0,n[6]||0,o)):new Date(n[1],i,n[3]||1,n[4]||0,n[5]||0,n[6]||0,o)}}return new Date(t)}(e),this.init()},g.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},g.$utils=function(){return A},g.isValid=function(){return!(this.$d.toString()===h)},g.isSame=function(e,t){var r=j(e);return this.startOf(t)<=r&&r<=this.endOf(t)},g.isAfter=function(e,t){return j(e)<this.startOf(t)},g.isBefore=function(e,t){return this.endOf(t)<j(e)},g.$g=function(e,t,r){return A.u(e)?this[t]:this.set(r,e)},g.unix=function(){return Math.floor(this.valueOf()/1e3)},g.valueOf=function(){return this.$d.getTime()},g.startOf=function(e,t){var r=this,n=!!A.u(t)||t,s=A.p(e),h=function(e,t){var i=A.w(r.$u?Date.UTC(r.$y,t,e):new Date(r.$y,t,e),r);return n?i:i.endOf(c)},d=function(e,t){return A.w(r.toDate()[e].apply(r.toDate("s"),(n?[0,0,0,0]:[23,59,59,999]).slice(t)),r)},y=this.$W,v=this.$M,g=this.$D,m="set"+(this.$u?"UTC":"");switch(s){case f:return n?h(1,0):h(31,11);case u:return n?h(1,v):h(0,v+1);case l:var b=this.$locale().weekStart||0,w=(y<b?y+7:y)-b;return h(n?g-w:g+(6-w),v);case c:case p:return d(m+"Hours",0);case a:return d(m+"Minutes",1);case o:return d(m+"Seconds",2);case i:return d(m+"Milliseconds",3);default:return this.clone()}},g.endOf=function(e){return this.startOf(e,!1)},g.$set=function(e,t){var r,l=A.p(e),s="set"+(this.$u?"UTC":""),h=(r={},r[c]=s+"Date",r[p]=s+"Date",r[u]=s+"Month",r[f]=s+"FullYear",r[a]=s+"Hours",r[o]=s+"Minutes",r[i]=s+"Seconds",r[n]=s+"Milliseconds",r)[l],d=l===c?this.$D+(t-this.$W):t;if(l===u||l===f){var y=this.clone().set(p,1);y.$d[h](d),y.init(),this.$d=y.set(p,Math.min(this.$D,y.daysInMonth())).$d}else h&&this.$d[h](d);return this.init(),this},g.set=function(e,t){return this.clone().$set(e,t)},g.get=function(e){return this[A.p(e)]()},g.add=function(n,s){var p,h=this;n=Number(n);var d=A.p(s),y=function(e){var t=j(h);return A.w(t.date(t.date()+Math.round(e*n)),h)};if(d===u)return this.set(u,this.$M+n);if(d===f)return this.set(f,this.$y+n);if(d===c)return y(1);if(d===l)return y(7);var v=(p={},p[o]=t,p[a]=r,p[i]=e,p)[d]||1,g=this.$d.getTime()+n*v;return A.w(g,this)},g.subtract=function(e,t){return this.add(-1*e,t)},g.format=function(e){var t=this,r=this.$locale();if(!this.isValid())return r.invalidDate||h;var n=e||"YYYY-MM-DDTHH:mm:ssZ",i=A.z(this),o=this.$H,a=this.$m,c=this.$M,l=r.weekdays,u=r.months,s=r.meridiem,f=function(e,r,i,o){return e&&(e[r]||e(t,n))||i[r].slice(0,o)},p=function(e){return A.s(o%12||12,e,"0")},d=s||function(e,t,r){var n=e<12?"AM":"PM";return r?n.toLowerCase():n};return n.replace(y,(function(e,n){return n||function(e){switch(e){case"YY":return String(t.$y).slice(-2);case"YYYY":return A.s(t.$y,4,"0");case"M":return c+1;case"MM":return A.s(c+1,2,"0");case"MMM":return f(r.monthsShort,c,u,3);case"MMMM":return f(u,c);case"D":return t.$D;case"DD":return A.s(t.$D,2,"0");case"d":return String(t.$W);case"dd":return f(r.weekdaysMin,t.$W,l,2);case"ddd":return f(r.weekdaysShort,t.$W,l,3);case"dddd":return l[t.$W];case"H":return String(o);case"HH":return A.s(o,2,"0");case"h":return p(1);case"hh":return p(2);case"a":return d(o,a,!0);case"A":return d(o,a,!1);case"m":return String(a);case"mm":return A.s(a,2,"0");case"s":return String(t.$s);case"ss":return A.s(t.$s,2,"0");case"SSS":return A.s(t.$ms,3,"0");case"Z":return i}return null}(e)||i.replace(":","")}))},g.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},g.diff=function(n,p,h){var d,y=this,v=A.p(p),g=j(n),m=(g.utcOffset()-this.utcOffset())*t,b=this-g,w=function(){return A.m(y,g)};switch(v){case f:d=w()/12;break;case u:d=w();break;case s:d=w()/3;break;case l:d=(b-m)/6048e5;break;case c:d=(b-m)/864e5;break;case a:d=b/r;break;case o:d=b/t;break;case i:d=b/e;break;default:d=b}return h?d:A.a(d)},g.daysInMonth=function(){return this.endOf(u).$D},g.$locale=function(){return w[this.$L]},g.locale=function(e,t){if(!e)return this.$L;var r=this.clone(),n=S(e,t,!0);return n&&(r.$L=n),r},g.clone=function(){return A.w(this.$d,this)},g.toDate=function(){return new Date(this.valueOf())},g.toJSON=function(){return this.isValid()?this.toISOString():null},g.toISOString=function(){return this.$d.toISOString()},g.toString=function(){return this.$d.toUTCString()},v}(),M=P.prototype;return j.prototype=M,[["$ms",n],["$s",i],["$m",o],["$H",a],["$W",c],["$M",u],["$y",f],["$D",p]].forEach((function(e){M[e[1]]=function(t){return this.$g(t,e[0],e[1])}})),j.extend=function(e,t){return e.$i||(e(t,P,j),e.$i=!0),j},j.locale=S,j.isDayjs=O,j.unix=function(e){return j(1e3*e)},j.en=w[b],j.Ls=w,j.p={},j}();var Gt,Zt,Jt,Qt=Xt(Kt.exports),er={exports:{}};er.exports=(Gt="minute",Zt=/[+-]\d\d(?::?\d\d)?/g,Jt=/([+-]|\d\d)/g,function(e,t,r){var n=t.prototype;r.utc=function(e){return new t({date:e,utc:!0,args:arguments})},n.utc=function(e){var t=r(this.toDate(),{locale:this.$L,utc:!0});return e?t.add(this.utcOffset(),Gt):t},n.local=function(){return r(this.toDate(),{locale:this.$L,utc:!1})};var i=n.parse;n.parse=function(e){e.utc&&(this.$u=!0),this.$utils().u(e.$offset)||(this.$offset=e.$offset),i.call(this,e)};var o=n.init;n.init=function(){if(this.$u){var e=this.$d;this.$y=e.getUTCFullYear(),this.$M=e.getUTCMonth(),this.$D=e.getUTCDate(),this.$W=e.getUTCDay(),this.$H=e.getUTCHours(),this.$m=e.getUTCMinutes(),this.$s=e.getUTCSeconds(),this.$ms=e.getUTCMilliseconds()}else o.call(this)};var a=n.utcOffset;n.utcOffset=function(e,t){var r=this.$utils().u;if(r(e))return this.$u?0:r(this.$offset)?a.call(this):this.$offset;if("string"==typeof e&&(e=function(e){void 0===e&&(e="");var t=e.match(Zt);if(!t)return null;var r=(""+t[0]).match(Jt)||["-",0,0],n=r[0],i=60*+r[1]+ +r[2];return 0===i?0:"+"===n?i:-i}(e),null===e))return this;var n=Math.abs(e)<=16?60*e:e,i=this;if(t)return i.$offset=n,i.$u=0===e,i;if(0!==e){var o=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(i=this.local().add(n+o,Gt)).$offset=n,i.$x.$localOffset=o}else i=this.utc();return i};var c=n.format;n.format=function(e){var t=e||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return c.call(this,t)},n.valueOf=function(){var e=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*e},n.isUTC=function(){return!!this.$u},n.toISOString=function(){return this.toDate().toISOString()},n.toString=function(){return this.toDate().toUTCString()};var l=n.toDate;n.toDate=function(e){return"s"===e&&this.$offset?r(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():l.call(this)};var u=n.diff;n.diff=function(e,t,n){if(e&&this.$u===e.$u)return u.call(this,e,t,n);var i=this.local(),o=r(e).local();return u.call(i,o,t,n)}});var tr=Xt(er.exports);Qt.extend(tr);const rr=({timeString:e,toEndDate:t})=>""===e?"":t?Qt(`${e}T23:59:59`).utc().unix().toString():Qt(e).utc().unix().toString(),nr=({number:e,signDisplay:t="exceptZero",isDecimal:r=!0})=>{const n=Number(e);if(!Number.isFinite(n))return console.log(`Number is not a finite number. (number: ${n}, method: formatPercentage)`),e;return new Intl.NumberFormat("en-US",{style:"percent",minimumFractionDigits:2,signDisplay:t}).format(r?n:Wt(n).div(100).toNumber())};
1
+ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{chakra as n,createMultiStyleConfigHelpers as i,defineStyle as o,defineStyleConfig as a,extendTheme as c,withDefaultColorScheme as l,useBreakpoint as u,Portal as s,Tooltip as f,Text as p,ButtonGroup as h,Button as d,Card as y,Flex as v,IconButton as g,FormControl as m,FormLabel as b,Checkbox as w,FormErrorMessage as x,forwardRef as O,InputGroup as S,InputLeftAddon as j,InputLeftElement as A,Input as P,InputRightElement as M,InputRightAddon as k,FormHelperText as E,Box as C,Modal as _,ModalOverlay as T,ModalContent as D,ModalHeader as I,ModalCloseButton as N,ModalBody as L,ModalFooter as B,Link as R,Select as z,keyframes as $,Tag as H,TagLeftIcon as V,TagLabel as F,TagRightIcon as U,TagCloseButton as W,Alert as q,AlertIcon as Y,AlertTitle as X,AlertDescription as K,CloseButton as G,Spinner as Z}from"@chakra-ui/react";import J from"crypto";import Q,{isValidElement as ee,Children as te,PureComponent as re,forwardRef as ne,useRef as ie,useImperativeHandle as oe,useState as ae,useCallback as ce,useEffect as le,useMemo as ue,cloneElement as se,createElement as fe,useContext as pe,createContext as he,Component as de}from"react";import{css as ye}from"@emotion/react";const ve=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{fill:"#000",clipPath:"url(#3c397803)",children:[t("path",{d:"M12 .5a12 12 0 1 0 12 12 12.013 12.013 0 0 0-12-12m0 22a10 10 0 1 1 10-10 10.01 10.01 0 0 1-10 10"}),t("path",{d:"M12 5.5a1 1 0 0 0-1 1v8a1 1 0 1 0 2 0v-8a1 1 0 0 0-1-1M13 18.5a1 1 0 1 0-2 0 1 1 0 0 0 2 0"})]}),t("defs",{children:t("clipPath",{id:"3c397803",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),ge=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:16,height:17,fill:"none",viewBox:"0 0 16 17","aria-hidden":"true",...r,children:[t("g",{clipPath:"url(#c9a7d4d8)",children:t("path",{fill:"#000",d:"m14.563 9.22-.915.947-3.02-3.125a2.54 2.54 0 0 0-1.785-.74c-.666 0-1.305.265-1.786.74l-.146.15a.85.85 0 0 1-.596.248.85.85 0 0 1-.595-.248L1.448 2.766A.84.84 0 0 0 .849 2.5a.82.82 0 0 0-.602.255A.87.87 0 0 0 0 3.38.9.9 0 0 0 .257 4l4.271 4.42c.482.476 1.121.741 1.787.741S7.62 8.895 8.1 8.42l.145-.151a.85.85 0 0 1 .596-.247c.222 0 .435.088.595.247l3.02 3.13-.914.947a.9.9 0 0 0-.183.95c.064.159.172.295.31.39a.82.82 0 0 0 .468.147h2.599c.335 0 .656-.137.893-.383a1.33 1.33 0 0 0 .37-.924V9.831a.9.9 0 0 0-.144-.482.85.85 0 0 0-.379-.319.82.82 0 0 0-.915.19"})}),t("defs",{children:t("clipPath",{id:"c9a7d4d8",children:t("path",{fill:"#fff",d:"M0 .5h16v16H0z"})})})]}))),me=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16","aria-hidden":"true",...r,children:[t("g",{clipPath:"url(#6f1ccf07)",children:t("path",{fill:"#000",d:"M14.738 2H12.14a.82.82 0 0 0-.467.147.87.87 0 0 0-.31.39.9.9 0 0 0 .182.949l.914.945-3.018 3.121a.85.85 0 0 1-.595.247.85.85 0 0 1-.595-.247l-.144-.149a2.54 2.54 0 0 0-1.785-.74c-.665 0-1.304.265-1.785.74l-4.292 4.44a.9.9 0 0 0-.246.618c0 .232.09.454.248.617a.83.83 0 0 0 .598.255.83.83 0 0 0 .596-.256l4.292-4.44a.85.85 0 0 1 .595-.247c.222 0 .435.088.596.247l.143.149a2.54 2.54 0 0 0 1.785.74 2.54 2.54 0 0 0 1.785-.74l3.018-3.122.913.945a.815.815 0 0 0 .913.182.85.85 0 0 0 .376-.319.9.9 0 0 0 .142-.48V3.306a1.33 1.33 0 0 0-.37-.924A1.24 1.24 0 0 0 14.738 2"})}),t("defs",{children:t("clipPath",{id:"6f1ccf07",children:t("path",{d:"M0 0h16v16H0z"})})})]}))),be=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{clipPath:"url(#9491b547)",children:t("path",{fill:"#000",d:"M24 23.5a1 1 0 0 1-1 1H1a1 1 0 0 1 0-2h22a1 1 0 0 1 1 1M.291 9.052a2.44 2.44 0 0 1 .153-2.566c.427-.627 1-1.141 1.668-1.5l7.501-3.904a5.17 5.17 0 0 1 4.774 0l7.5 3.907c.669.359 1.24.873 1.668 1.5a2.44 2.44 0 0 1 .153 2.566 2.71 2.71 0 0 1-2.416 1.445H21v8h1a1 1 0 1 1 0 2H2a1 1 0 0 1 0-2h1v-8h-.292A2.71 2.71 0 0 1 .291 9.052m4.71 9.448h3v-8H5zm5-8v8h4v-8zm9 0h-3v8h3zM2.062 8.125a.72.72 0 0 0 .645.375h18.584a.72.72 0 0 0 .645-.375.45.45 0 0 0-.024-.5 2.7 2.7 0 0 0-.949-.864l-7.5-3.907a3.18 3.18 0 0 0-2.926 0l-7.5 3.907a2.7 2.7 0 0 0-.949.865.45.45 0 0 0-.026.5"})}),t("defs",{children:t("clipPath",{id:"9491b547",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),we=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{fill:"#000",clipPath:"url(#fafc2088)",children:[t("path",{d:"M5 23h18a1 1 0 0 1 0 2H5a5.006 5.006 0 0 1-5-5V2a1 1 0 0 1 2 0v18a3 3 0 0 0 3 3"}),t("path",{d:"M6.707 20.707A1 1 0 0 1 5 20v-7a1 1 0 0 1 2 0v7a1 1 0 0 1-.293.707M10 11v9a1 1 0 1 0 2 0v-9a1 1 0 0 0-2 0M15 20v-6a1 1 0 0 1 2 0v6a1 1 0 1 1-2 0M20 10v10a1 1 0 1 0 2 0V10a1 1 0 0 0-2 0M6.707 9.707a1 1 0 1 1-1.414-1.414l3.586-3.586a3 3 0 0 1 4.242 0l2.172 2.17a1 1 0 0 0 1.414 0l5.586-5.584a1 1 0 0 1 1.414 1.414L18.12 8.293a3 3 0 0 1-4.242 0L11.707 6.12a1.025 1.025 0 0 0-1.414 0z"})]}),t("defs",{children:t("clipPath",{id:"fafc2088",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),xe=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{fill:"#000",clipPath:"url(#4bbcc7d4)",children:[t("path",{d:"M13.5 15a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0M7 16.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3M18.5 15a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0"}),t("path",{fillRule:"evenodd",d:"M18 2h1a5.006 5.006 0 0 1 5 5v12a5.006 5.006 0 0 1-5 5H5a5.006 5.006 0 0 1-5-5V7a5.006 5.006 0 0 1 5-5h1V1a1 1 0 0 1 2 0v1h8V1a1 1 0 0 1 2 0zM2.879 4.879A3 3 0 0 0 2 7v1h20V7a3 3 0 0 0-3-3H5a3 3 0 0 0-2.121.879m0 16.242A3 3 0 0 0 5 22h14a3 3 0 0 0 3-3v-9H2v9a3 3 0 0 0 .879 2.121",clipRule:"evenodd"})]}),t("defs",{children:t("clipPath",{id:"4bbcc7d4",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Oe=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{clipPath:"url(#53ee7faa)",children:t("path",{fill:"#000",d:"m.292 7.861 8.17 8.17a5 5 0 0 0 7.08 0l8.17-8.17a1.004 1.004 0 1 0-1.42-1.42l-8.17 8.17a3 3 0 0 1-4.24 0l-8.17-8.17a1 1 0 0 0-1.42 0 1 1 0 0 0 0 1.42"})}),t("defs",{children:t("clipPath",{id:"53ee7faa",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Se=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{clipPath:"url(#64af8551)",children:t("path",{fill:"#000",d:"M17.17 24.5a1 1 0 0 1-.71-.29l-8.17-8.17a5 5 0 0 1 0-7.08L16.46.79a1.004 1.004 0 1 1 1.42 1.42l-8.17 8.17a3 3 0 0 0 0 4.24l8.17 8.17a1 1 0 0 1-.71 1.71"})}),t("defs",{children:t("clipPath",{id:"64af8551",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),je=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{clipPath:"url(#a0a0cf84)",children:t("path",{fill:"#000",d:"M7 24.5a1 1 0 0 1-.71-1.71l8.17-8.17a3 3 0 0 0 0-4.24L6.29 2.21A1.004 1.004 0 0 1 7.71.79l8.17 8.17a5 5 0 0 1 0 7.08l-8.17 8.17a1 1 0 0 1-.71.29"})}),t("defs",{children:t("clipPath",{id:"a0a0cf84",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Ae=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{clipPath:"url(#c735ab99)",children:t("path",{fill:"#000",d:"m23.71 16.79-8.17-8.17a5 5 0 0 0-7.08 0L.29 16.79a1.004 1.004 0 1 0 1.42 1.42l8.17-8.17a3 3 0 0 1 4.24 0l8.17 8.17a1.002 1.002 0 0 0 1.64-.325 1 1 0 0 0-.22-1.095"})}),t("defs",{children:t("clipPath",{id:"c735ab99",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Pe=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{fill:"#000",clipPath:"url(#bc5773b5)",children:[t("path",{d:"M11.033 5.145a.968.968 0 0 1 1.935 0v.944a6.5 6.5 0 0 1 3.618 1.827.968.968 0 0 1-1.37 1.369 4.55 4.55 0 0 0-3.215-1.332A4.534 4.534 0 0 0 7.452 12.5 4.534 4.534 0 0 0 12 17.05a4.55 4.55 0 0 0 3.209-1.339.967.967 0 0 1 1.372 1.367 6.5 6.5 0 0 1-3.612 1.833v.946a.967.967 0 1 1-1.935 0v-.944c-3.114-.47-5.516-3.17-5.516-6.41S7.92 6.56 11.033 6.09z"}),t("path",{fillRule:"evenodd",d:"M12 .5C5.384.5 0 5.884 0 12.5s5.384 12 12 12 12-5.384 12-12-5.384-12-12-12m0 1.936A10.05 10.05 0 0 1 22.064 12.5 10.05 10.05 0 0 1 12 22.564 10.05 10.05 0 0 1 1.936 12.5 10.05 10.05 0 0 1 12 2.436",clipRule:"evenodd"})]}),t("defs",{children:t("clipPath",{id:"bc5773b5",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Me=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{clipPath:"url(#9c399fd1)",children:t("path",{fill:"#000",d:"M22.319 4.931 8.499 18.75a1 1 0 0 1-1.416 0L1.739 13.4a1 1 0 0 0-1.417 0 1 1 0 0 0 0 1.417l5.346 5.345a3.01 3.01 0 0 0 4.25 0L23.736 6.347a1 1 0 0 0-.709-1.71 1 1 0 0 0-.708.294"})}),t("defs",{children:t("clipPath",{id:"9c399fd1",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),ke=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{clipPath:"url(#0d4ad2be)",children:t("path",{fill:"#000",d:"M19 3.5h-6.528a1 1 0 0 1-.447-.1L8.869 1.816A3 3 0 0 0 7.528 1.5H5a5.006 5.006 0 0 0-5 5v12a5.006 5.006 0 0 0 5 5h14a5.006 5.006 0 0 0 5-5v-10a5.006 5.006 0 0 0-5-5m-14 0h2.528c.155 0 .308.033.447.1l3.156 1.58c.416.208.875.318 1.341.32H19a3 3 0 0 1 2.779 1.882L2 7.494V6.5a3 3 0 0 1 3-3m14 18H5a3 3 0 0 1-3-3V9.494l20-.113v9.12a3 3 0 0 1-3 3"})}),t("defs",{children:t("clipPath",{id:"0d4ad2be",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Ee=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:25,height:25,fill:"none",viewBox:"0 0 80 80","aria-hidden":"true",...r,children:[e("g",{clipPath:"url(#e82ea890)",children:[t("path",{fill:"#000",d:"M59.583 24.951 33.286 51.246a1.894 1.894 0 0 1-2.08.415 1.9 1.9 0 0 1-.62-.415l-10.169-10.18a1.894 1.894 0 0 0-2.08-.415 1.93 1.93 0 0 0-1.034 1.035 1.9 1.9 0 0 0 0 1.461c.096.231.236.441.415.62l10.173 10.17a5.723 5.723 0 0 0 8.087 0L62.273 27.65a1.895 1.895 0 0 0 0-2.692 1.892 1.892 0 0 0-2.08-.415 1.9 1.9 0 0 0-.62.415zM40.001 3.881c19.948 0 36.12 16.17 36.12 36.12s-16.17 36.12-36.12 36.12-36.12-16.172-36.12-36.12S20.05 3.881 40 3.881m0-3.786a39.7 39.7 0 0 0-15.535 3.137 39.8 39.8 0 0 0-12.683 8.55 39.8 39.8 0 0 0-8.551 12.684A39.7 39.7 0 0 0 .095 40.001a39.7 39.7 0 0 0 3.137 15.535 39.8 39.8 0 0 0 8.55 12.683 39.8 39.8 0 0 0 12.684 8.552 39.65 39.65 0 0 0 15.535 3.136 39.7 39.7 0 0 0 15.535-3.136 39.8 39.8 0 0 0 12.683-8.552 39.8 39.8 0 0 0 8.552-12.683A39.65 39.65 0 0 0 79.907 40a39.7 39.7 0 0 0-3.136-15.535 39.8 39.8 0 0 0-8.552-12.683 39.8 39.8 0 0 0-12.683-8.551A39.7 39.7 0 0 0 40 .095"}),t("path",{fill:"url(#59bc3f76)",stroke:"#CDCFD1",strokeMiterlimit:10,d:"M59.583 24.951 33.286 51.246a1.894 1.894 0 0 1-2.08.415 1.9 1.9 0 0 1-.62-.415l-10.169-10.18a1.894 1.894 0 0 0-2.08-.415 1.93 1.93 0 0 0-1.034 1.035 1.9 1.9 0 0 0 0 1.461c.096.231.236.441.415.62l10.173 10.17a5.723 5.723 0 0 0 8.087 0L62.273 27.65a1.895 1.895 0 0 0 0-2.692 1.892 1.892 0 0 0-2.08-.415 1.9 1.9 0 0 0-.62.415zM40.001 3.881c19.948 0 36.12 16.17 36.12 36.12s-16.17 36.12-36.12 36.12-36.12-16.172-36.12-36.12S20.05 3.881 40 3.881Zm0-3.786a39.7 39.7 0 0 0-15.535 3.137 39.8 39.8 0 0 0-12.683 8.55 39.8 39.8 0 0 0-8.551 12.684A39.7 39.7 0 0 0 .095 40.001a39.7 39.7 0 0 0 3.137 15.535 39.8 39.8 0 0 0 8.55 12.683 39.8 39.8 0 0 0 12.684 8.552 39.65 39.65 0 0 0 15.535 3.136 39.7 39.7 0 0 0 15.535-3.136 39.8 39.8 0 0 0 12.683-8.552 39.8 39.8 0 0 0 8.552-12.683A39.65 39.65 0 0 0 79.907 40a39.7 39.7 0 0 0-3.136-15.535 39.8 39.8 0 0 0-8.552-12.683 39.8 39.8 0 0 0-12.683-8.551A39.7 39.7 0 0 0 40 .095Z"})]}),e("defs",{children:[e("linearGradient",{id:"59bc3f76",x1:.095,x2:79.905,y1:40.001,y2:40.001,gradientUnits:"userSpaceOnUse",children:[t("stop",{stopColor:"#fff",stopOpacity:0}),t("stop",{offset:.02,stopColor:"#fff",stopOpacity:.06}),t("stop",{offset:.11,stopColor:"#fff",stopOpacity:.35}),t("stop",{offset:.18,stopColor:"#fff",stopOpacity:.53}),t("stop",{offset:.21,stopColor:"#fff",stopOpacity:.6}),t("stop",{offset:.22,stopColor:"#fff",stopOpacity:.56}),t("stop",{offset:.28,stopColor:"#fff",stopOpacity:.41}),t("stop",{offset:.34,stopColor:"#fff",stopOpacity:.28}),t("stop",{offset:.41,stopColor:"#fff",stopOpacity:.18}),t("stop",{offset:.49,stopColor:"#fff",stopOpacity:.1}),t("stop",{offset:.57,stopColor:"#fff",stopOpacity:.04}),t("stop",{offset:.67,stopColor:"#fff",stopOpacity:.01}),t("stop",{offset:.83,stopColor:"#fff",stopOpacity:0}),t("stop",{offset:.88,stopColor:"#fff",stopOpacity:0}),t("stop",{offset:.91,stopColor:"#fff",stopOpacity:.04}),t("stop",{offset:.93,stopColor:"#fff",stopOpacity:.1}),t("stop",{offset:.95,stopColor:"#fff",stopOpacity:.18}),t("stop",{offset:.96,stopColor:"#fff",stopOpacity:.28}),t("stop",{offset:.98,stopColor:"#fff",stopOpacity:.4}),t("stop",{offset:1,stopColor:"#fff",stopOpacity:.6})]}),t("clipPath",{id:"e82ea890",children:t("path",{fill:"#fff",d:"M0 0h80v80H0z"})})]})]}))),Ce=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{clipPath:"url(#e1eeb89c)",children:t("path",{fill:"#000",d:"M23.707.793a1 1 0 0 0-1.414 0L12 11.086 1.707.793a1 1 0 0 0-1.414 0 1 1 0 0 0 0 1.414L10.586 12.5.293 22.793a1 1 0 0 0 0 1.414 1 1 0 0 0 1.414 0L12 13.914l10.293 10.293a1 1 0 0 0 1.414-1.414L13.414 12.5 23.707 2.207a1 1 0 0 0 0-1.414"})}),t("defs",{children:t("clipPath",{id:"e1eeb89c",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),_e=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{clipPath:"url(#78978fe1)",children:t("path",{fill:"#000",d:"M21.736 16.9A5.01 5.01 0 0 0 17 13.5h-4v-1.084a6 6 0 1 0-2 0V13.5H7a5.01 5.01 0 0 0-4.736 3.4 4 4 0 1 0 2.447-.334A3 3 0 0 1 7 15.5h4v1.127a4 4 0 1 0 2 0V15.5h4a3 3 0 0 1 2.289 1.063 4 4 0 1 0 2.447.334zM8 6.5a4 4 0 1 1 8 0 4 4 0 0 1-8 0m-2 14a2 2 0 1 1-4 0 2 2 0 0 1 4 0m8 0a2 2 0 1 1-4.001 0 2 2 0 0 1 4 0m6 2a2 2 0 1 1 0-4 2 2 0 0 1 0 4"})}),t("defs",{children:t("clipPath",{id:"78978fe1",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Te=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{clipPath:"url(#3fccef48)",children:t("path",{fill:"#000",d:"M13 20.5a5.006 5.006 0 0 0 5-5V6.743a3.97 3.97 0 0 0-1.172-2.829l-2.242-2.242A3.97 3.97 0 0 0 11.757.5H7a5.006 5.006 0 0 0-5 5v10a5.006 5.006 0 0 0 5 5zm-9-5v-10a3 3 0 0 1 3-3s4.92.014 5 .024V4.5a2 2 0 0 0 2 2h1.976c.01.081.024 9 .024 9a3 3 0 0 1-3 3H7a3 3 0 0 1-3-3m18-7v11a5.005 5.005 0 0 1-5 5H8a1 1 0 0 1 0-2h9a3 3 0 0 0 3-3v-11a1 1 0 0 1 2 0"})}),t("defs",{children:t("clipPath",{id:"3fccef48",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),De=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{clipPath:"url(#7bd92f01)",children:t("path",{fill:"#000",d:"M13.932 4.5A3.07 3.07 0 0 1 17 7.568a1 1 0 0 0 2 0v-.123A5.073 5.073 0 0 0 13.932 2.5H13v-1a1 1 0 1 0-2 0v1h-.932a5.068 5.068 0 0 0-1.6 9.875L11 13.22v7.28h-.932A3.07 3.07 0 0 1 7 17.432a1 1 0 1 0-2 0v.123a5.073 5.073 0 0 0 5.068 4.945H11v1a1 1 0 0 0 2 0v-1h.932a5.068 5.068 0 0 0 1.6-9.875L13 11.78V4.5zm.97 10.021a3.068 3.068 0 0 1-.97 5.979H13v-6.613zM11 11.113l-1.9-.634a3.068 3.068 0 0 1 .968-5.979H11z"})}),t("defs",{children:t("clipPath",{id:"7bd92f01",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Ie=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:25,height:24,fill:"none",viewBox:"0 0 80 60","aria-hidden":"true",...r,children:[e("g",{clipPath:"url(#8acc34e3)",children:[t("path",{fill:"#000",d:"M42.613 16.472h-1.261v-1.353a1.353 1.353 0 0 0-2.705 0v1.353h-1.262a6.85 6.85 0 0 0-4.438 1.637 6.855 6.855 0 0 0 2.274 11.72l3.425 1.144v9.848h-1.26a4.154 4.154 0 0 1-4.15-4.15 1.353 1.353 0 0 0-2.705 0v.167a6.863 6.863 0 0 0 6.854 6.689h1.262v1.352a1.353 1.353 0 0 0 2.705 0v-1.352h1.261a6.85 6.85 0 0 0 4.438-1.638 6.855 6.855 0 0 0-2.274-11.72l-3.425-1.144v-9.848h1.261a4.154 4.154 0 0 1 4.15 4.15 1.353 1.353 0 0 0 2.706 0v-.166a6.863 6.863 0 0 0-6.856-6.69m-3.966 11.651-2.571-.857a4.146 4.146 0 0 1-2.786-4.602 4.16 4.16 0 0 1 1.407-2.497 4.16 4.16 0 0 1 2.688-.991h1.262zm5.277 4.61a4.146 4.146 0 0 1 2.786 4.603 4.15 4.15 0 0 1-4.098 3.486H41.35v-8.946l2.572.858zM68.065.464h-56.13C5.394.464.07 5.788.07 12.332v35.34c0 6.543 5.324 11.866 11.867 11.866h56.13c6.543 0 11.866-5.323 11.866-11.866V12.33c0-6.544-5.323-11.867-11.867-11.867m9.092 47.206c0 5.013-4.079 9.092-9.092 9.092h-56.13c-5.012 0-9.09-4.079-9.09-9.092V12.331c0-5.013 4.078-9.092 9.09-9.092h56.13c5.013 0 9.092 4.079 9.092 9.092v35.34zm-6.947 1.917c0 .765-.621 1.387-1.387 1.387h-8.524a1.388 1.388 0 0 1 0-2.775h8.524c.766 0 1.387.622 1.387 1.388M21.092 10.413c0 .766-.622 1.387-1.388 1.387H11.18a1.388 1.388 0 0 1 0-2.774h8.524c.766 0 1.387.621 1.387 1.387"}),t("path",{fill:"url(#19added0)",stroke:"#CDCFD1",strokeMiterlimit:10,d:"M42.613 16.472h-1.261v-1.353a1.353 1.353 0 0 0-2.705 0v1.353h-1.262a6.85 6.85 0 0 0-4.438 1.637 6.855 6.855 0 0 0 2.274 11.72l3.425 1.144v9.848h-1.26a4.154 4.154 0 0 1-4.15-4.15 1.353 1.353 0 0 0-2.705 0v.167a6.863 6.863 0 0 0 6.854 6.689h1.262v1.352a1.353 1.353 0 0 0 2.705 0v-1.352h1.261a6.85 6.85 0 0 0 4.438-1.638 6.855 6.855 0 0 0-2.274-11.72l-3.425-1.144v-9.848h1.261a4.154 4.154 0 0 1 4.15 4.15 1.353 1.353 0 0 0 2.706 0v-.166a6.863 6.863 0 0 0-6.856-6.69Zm-3.966 11.651-2.571-.857a4.146 4.146 0 0 1-2.786-4.602 4.16 4.16 0 0 1 1.407-2.497 4.16 4.16 0 0 1 2.688-.991h1.262v8.948Zm5.277 4.61a4.146 4.146 0 0 1 2.786 4.603 4.15 4.15 0 0 1-4.098 3.486H41.35v-8.946l2.572.858zM68.065.464h-56.13C5.394.464.07 5.788.07 12.332v35.34c0 6.543 5.324 11.866 11.867 11.866h56.13c6.543 0 11.866-5.323 11.866-11.866V12.33c0-6.544-5.323-11.867-11.867-11.867Zm9.092 47.206c0 5.013-4.079 9.092-9.092 9.092h-56.13c-5.012 0-9.09-4.079-9.09-9.092V12.331c0-5.013 4.078-9.092 9.09-9.092h56.13c5.013 0 9.092 4.079 9.092 9.092v35.34zm-6.947 1.917c0 .765-.621 1.387-1.387 1.387h-8.524a1.388 1.388 0 0 1 0-2.775h8.524c.766 0 1.387.622 1.387 1.388ZM21.092 10.413c0 .766-.622 1.387-1.388 1.387H11.18a1.388 1.388 0 0 1 0-2.774h8.524c.766 0 1.387.621 1.387 1.387Z"})]}),e("defs",{children:[e("linearGradient",{id:"19added0",x1:.069,x2:79.931,y1:29.999,y2:29.999,gradientUnits:"userSpaceOnUse",children:[t("stop",{stopColor:"#fff",stopOpacity:0}),t("stop",{offset:.02,stopColor:"#fff",stopOpacity:.06}),t("stop",{offset:.11,stopColor:"#fff",stopOpacity:.35}),t("stop",{offset:.18,stopColor:"#fff",stopOpacity:.53}),t("stop",{offset:.21,stopColor:"#fff",stopOpacity:.6}),t("stop",{offset:.22,stopColor:"#fff",stopOpacity:.56}),t("stop",{offset:.28,stopColor:"#fff",stopOpacity:.41}),t("stop",{offset:.34,stopColor:"#fff",stopOpacity:.28}),t("stop",{offset:.41,stopColor:"#fff",stopOpacity:.18}),t("stop",{offset:.49,stopColor:"#fff",stopOpacity:.1}),t("stop",{offset:.57,stopColor:"#fff",stopOpacity:.04}),t("stop",{offset:.67,stopColor:"#fff",stopOpacity:.01}),t("stop",{offset:.83,stopColor:"#fff",stopOpacity:0}),t("stop",{offset:.88,stopColor:"#fff",stopOpacity:0}),t("stop",{offset:.91,stopColor:"#fff",stopOpacity:.04}),t("stop",{offset:.93,stopColor:"#fff",stopOpacity:.1}),t("stop",{offset:.95,stopColor:"#fff",stopOpacity:.18}),t("stop",{offset:.96,stopColor:"#fff",stopOpacity:.28}),t("stop",{offset:.98,stopColor:"#fff",stopOpacity:.4}),t("stop",{offset:1,stopColor:"#fff",stopOpacity:.6})]}),t("clipPath",{id:"8acc34e3",children:t("path",{fill:"#fff",d:"M0 .395h80v59.21H0z"})})]})]}))),Ne=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{fill:"#000",clipPath:"url(#213e37ae)",children:[t("path",{d:"M10.852 19.273a3 3 0 0 1-.974-.651l-3.21-3.207A1 1 0 0 1 8.08 14l2.91 2.908.01-15.408a1 1 0 0 1 2 0l-.008 15.427L15.92 14a1 1 0 0 1 1.414 1.411l-3.21 3.211a3 3 0 0 1-3.271.65"}),t("path",{d:"M22.293 16.793A1 1 0 0 1 24 17.5v4a3 3 0 0 1-3 3H3a3 3 0 0 1-3-3v-4a1 1 0 1 1 2 0v4a1 1 0 0 0 1 1h18a1 1 0 0 0 1-1v-4a1 1 0 0 1 .293-.707"})]}),t("defs",{children:t("clipPath",{id:"213e37ae",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Le=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{fill:"#000",clipPath:"url(#2de5b65b)",children:[t("path",{fillRule:"evenodd",d:"M18.67 1.387 6.469 13.602a4.97 4.97 0 0 0-1.465 3.541v1.346a1 1 0 0 0 1 1.002H7.35a4.96 4.96 0 0 0 3.537-1.467l12.2-12.215a3.133 3.133 0 0 0 0-4.422 3.195 3.195 0 0 0-4.416 0m.18 5.83-9.379 9.39a3.02 3.02 0 0 1-2.122.88h-.344v-.344c.002-.796.318-1.56.879-2.125l9.378-9.39zm1.415-1.416 1.407-1.409a1.126 1.126 0 0 0 0-1.589 1.15 1.15 0 0 0-1.587 0l-1.407 1.409z",clipRule:"evenodd"}),t("path",{d:"M0 23.498c0-.553.373-1.002.834-1.002H19.18c.46 0 .834.449.834 1.002s-.373 1.002-.834 1.002H.834c-.46 0-.834-.449-.834-1.002"})]}),t("defs",{children:t("clipPath",{id:"2de5b65b",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Be=n((e=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...e,children:t("path",{fill:"#000",d:"M20.914 17.62a5 5 0 0 0 1.621-1.084A4.97 4.97 0 0 0 24 12.996V2a1 1 0 0 0-2 0v10.997a3 3 0 0 1-3 2.999H2.788L7.1 11.688a1.001 1.001 0 1 0-1.418-1.414l-4.95 4.95a2.5 2.5 0 0 0 0 3.534l4.95 4.948A1 1 0 0 0 7.1 22.294l-4.3-4.299H19a5 5 0 0 0 1.914-.376"})}))),Re=n((e=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...e,children:t("path",{fill:"#000",d:"M3.086 17.62a5 5 0 0 1-1.621-1.084A4.97 4.97 0 0 1 0 12.996V2a1 1 0 0 1 2 0v10.997a3 3 0 0 0 3 2.999h16.212L16.9 11.688a1.003 1.003 0 0 1 .002-1.416 1 1 0 0 1 1.416.002l4.95 4.95a2.5 2.5 0 0 1 0 3.534l-4.95 4.948a1 1 0 0 1-1.418-1.412l4.3-4.299H5a5 5 0 0 1-1.914-.376"})}))),ze=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{fill:"#000",clipPath:"url(#1d876006)",children:t("path",{d:"M23.41 5.094c.373.372.585.875.59 1.401a2 2 0 0 1-.59 1.412l-4.29 4.303a1 1 0 1 1-1.41-1.421L21 7.496H11a1 1 0 0 1 0-2.001h10l-3.29-3.283A1.002 1.002 0 0 1 19.12.791zM3 17.504h10a1 1 0 0 1 .707 1.708 1 1 0 0 1-.707.294H3l3.29 3.282a1.002 1.002 0 0 1-1.41 1.421L.59 19.906A2 2 0 0 1 0 18.505c.002-.53.214-1.038.59-1.411l4.29-4.304a1 1 0 0 1 1.629 1.096 1 1 0 0 1-.219.325z"})}),t("defs",{children:t("clipPath",{id:"1d876006",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),$e=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{clipPath:"url(#06771c5d)",children:t("path",{fill:"#000",d:"M14 24.5a1 1 0 0 1-.6-.2l-4-3a1 1 0 0 1-.4-.8v-5.62L1.984 6.987A3.9 3.9 0 0 1 4.9.5h14.2a3.9 3.9 0 0 1 2.913 6.488L15 14.88v8.62a1 1 0 0 1-1 1M11 20l2 1.5v-7a1 1 0 0 1 .253-.664l7.268-8.177A1.9 1.9 0 0 0 19.1 2.5H4.9a1.9 1.9 0 0 0-1.421 3.158l7.269 8.178A1 1 0 0 1 11 14.5z"})}),t("defs",{children:t("clipPath",{id:"06771c5d",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),He=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{fill:"#000",clipPath:"url(#513f5486)",children:[t("path",{d:"M12.717 5.563A4 4 0 0 0 8 9.5a1 1 0 1 0 2 0 2.002 2.002 0 0 1 2.371-1.967 2.02 2.02 0 0 1 1.6 1.595 2 2 0 0 1-1 2.125 3.95 3.95 0 0 0-1.97 3.504v.743a1 1 0 0 0 2 0v-.743a1.98 1.98 0 0 1 .93-1.752 4 4 0 0 0-1.214-7.442M12 17.5a1 1 0 1 1 0 2 1 1 0 0 1 0-2"}),t("path",{fillRule:"evenodd",d:"M12 .5a12 12 0 1 0 12 12 12.013 12.013 0 0 0-12-12m0 22a10 10 0 1 1 10-10 10.01 10.01 0 0 1-10 10",clipRule:"evenodd"})]}),t("defs",{children:t("clipPath",{id:"513f5486",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Ve=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{clipPath:"url(#dbd56355)",children:t("path",{fill:"#000",fillRule:"evenodd",d:"M22.293 11.793A1 1 0 0 1 24 12.5a11.994 11.994 0 1 1-4-8.935V1.5a1 1 0 1 1 2 0v3a3 3 0 0 1-3 3h-3a1 1 0 1 1 0-2h3a1 1 0 0 0 .1-.021A10.034 10.034 0 1 0 22 12.5a1 1 0 0 1 .293-.707m-11-5A1 1 0 0 1 13 7.5v4.586l2.707 2.707a1 1 0 0 1-1.414 1.414l-3-3A1 1 0 0 1 11 12.5v-5a1 1 0 0 1 .293-.707",clipRule:"evenodd"})}),t("defs",{children:t("clipPath",{id:"dbd56355",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Fe=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{clipPath:"url(#b05ae72a)",children:t("path",{fill:"#000",d:"m23.121 9.569-7.585-7.586a5.01 5.01 0 0 0-7.072 0L.88 9.569A2.98 2.98 0 0 0 0 11.689v9.818a3 3 0 0 0 3 3h18a3 3 0 0 0 3-3V11.69a2.98 2.98 0 0 0-.879-2.121m-8.12 12.938H9v-3.934a3 3 0 0 1 6 0zm7-1a1 1 0 0 1-1 1h-4v-3.934a5 5 0 0 0-10 0v3.934H3a1 1 0 0 1-1-1V11.69c0-.265.105-.52.292-.707L9.878 3.4a3.01 3.01 0 0 1 4.244 0l7.585 7.586c.186.187.291.44.293.704z"})}),t("defs",{children:t("clipPath",{id:"b05ae72a",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Ue=n((e=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...e,children:t("path",{fill:"#000",d:"M6.41 9.5h11.18a1 1 0 0 1 .7 1.71l-5.58 5.58a1 1 0 0 1-1.42 0l-5.58-5.58a1 1 0 0 1 .7-1.71"})}))),We=n((e=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...e,children:t("path",{fill:"#000",d:"M6.41 16.5h11.18a1 1 0 0 0 .7-1.71l-5.58-5.58a1 1 0 0 0-1.42 0l-5.58 5.58a1 1 0 0 0 .7 1.71"})}))),qe=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{fill:"#000",clipPath:"url(#dab7ab78)",children:[t("path",{d:"M12 10.5h-1a1 1 0 0 0 0 2h1v6a1 1 0 1 0 2 0v-6a2 2 0 0 0-2-2M13.5 7a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0"}),t("path",{fillRule:"evenodd",d:"M12 .5a12 12 0 1 0 12 12 12.013 12.013 0 0 0-12-12m0 22a10 10 0 1 1 10-10 10.01 10.01 0 0 1-10 10",clipRule:"evenodd"})]}),t("defs",{children:t("clipPath",{id:"dab7ab78",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Ye=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 62 80","aria-hidden":"true",...r,children:[e("g",{clipPath:"url(#4e3573e8)",children:[t("path",{fill:"#000",d:"M12.25 79.917C5.541 79.917.082 74.46.082 67.75V42.016c0-6.507 5.07-11.827 11.556-12.15V18.972C11.639 8.558 20.112.083 30.528.083s18.89 8.475 18.89 18.89v10.895a12.14 12.14 0 0 1 11.557 12.15v25.734c0 6.708-5.459 12.167-12.167 12.167H12.25zm0-46.574c-4.782 0-8.673 3.891-8.673 8.673V67.75c0 4.78 3.891 8.672 8.673 8.672h36.558c4.782 0 8.673-3.891 8.673-8.672V42.016c0-4.782-3.892-8.673-8.673-8.673zm33.675-3.494V18.972c0-8.49-6.907-15.397-15.397-15.397s-15.397 6.908-15.397 15.397V29.85zM30.528 63.463c-4.731 0-8.581-3.85-8.581-8.58 0-4.732 3.85-8.582 8.581-8.582s8.581 3.85 8.581 8.581c0 4.732-3.85 8.581-8.581 8.581m0-13.667a5.094 5.094 0 0 0-5.087 5.088 5.094 5.094 0 0 0 5.087 5.087 5.094 5.094 0 0 0 5.087-5.087 5.094 5.094 0 0 0-5.087-5.088"}),t("path",{fill:"#CDCFD1",d:"M30.528.166c10.37 0 18.808 8.437 18.808 18.808v10.973c6.418.278 11.555 5.585 11.555 12.07v25.735c0 6.663-5.42 12.083-12.083 12.083H12.25c-6.663 0-12.084-5.42-12.084-12.083V42.017c0-6.485 5.138-11.792 11.556-12.07V18.974C11.722 8.603 20.16.166 30.528.166m-15.48 29.766h30.959v-10.96c0-8.536-6.944-15.48-15.48-15.48s-15.48 6.944-15.48 15.48v10.96m-2.8 46.574h36.558c4.828 0 8.756-3.927 8.756-8.755V42.016c0-4.828-3.928-8.756-8.756-8.756H12.25c-4.828 0-8.756 3.928-8.756 8.756V67.75c0 4.828 3.928 8.755 8.756 8.755m18.278-30.12c4.685 0 8.498 3.811 8.498 8.498s-3.812 8.498-8.498 8.498-8.498-3.812-8.498-8.498c0-4.687 3.811-8.498 8.498-8.498m0 13.667c2.85 0 5.17-2.32 5.17-5.17 0-2.852-2.318-5.171-5.17-5.171a5.176 5.176 0 0 0-5.17 5.17c0 2.852 2.319 5.17 5.17 5.17m0-60.053C20.065 0 11.554 8.511 11.554 18.974v10.814a12.2 12.2 0 0 0-8.139 3.75A12.2 12.2 0 0 0 0 42.016V67.75C0 74.505 5.495 80 12.25 80h36.558c6.755 0 12.25-5.495 12.25-12.25V42.017c0-3.173-1.213-6.184-3.417-8.478a12.2 12.2 0 0 0-8.14-3.75V18.974C49.502 8.51 40.992 0 30.529 0M15.214 29.766V18.972c0-8.443 6.87-15.314 15.314-15.314 8.445 0 15.314 6.87 15.314 15.314v10.794zM12.248 76.34c-4.737 0-8.59-3.853-8.59-8.59V42.017c0-4.737 3.853-8.59 8.59-8.59h36.559c4.736 0 8.589 3.853 8.589 8.59V67.75c0 4.736-3.853 8.589-8.59 8.589zm18.278-30.12c-4.776 0-8.664 3.886-8.664 8.664s3.886 8.664 8.664 8.664 8.665-3.886 8.665-8.664-3.887-8.664-8.665-8.664m0 13.667a5.01 5.01 0 0 1-5.004-5.005 5.01 5.01 0 0 1 5.004-5.004 5.01 5.01 0 0 1 5.005 5.004 5.01 5.01 0 0 1-5.005 5.005"}),t("path",{fill:"url(#b40a6a1b)",d:"M12.21 79.917C5.502 79.917.044 74.458.044 67.75V42.016c0-6.507 5.07-11.827 11.556-12.15V18.972C11.598 8.558 20.073.083 30.489.083s18.89 8.475 18.89 18.89v10.895a12.14 12.14 0 0 1 11.556 12.15v25.734c0 6.708-5.458 12.167-12.166 12.167H12.21zm0-46.574c-4.781 0-8.672 3.891-8.672 8.673V67.75c0 4.78 3.891 8.672 8.672 8.672h36.56c4.78 0 8.672-3.891 8.672-8.672V42.016c0-4.782-3.892-8.673-8.673-8.673zm33.676-3.494V18.972c0-8.49-6.908-15.397-15.397-15.397s-15.397 6.908-15.397 15.397V29.85zM30.489 63.463c-4.732 0-8.581-3.85-8.581-8.58 0-4.732 3.85-8.582 8.58-8.582 4.732 0 8.582 3.85 8.582 8.581 0 4.732-3.85 8.581-8.581 8.581m0-13.667a5.094 5.094 0 0 0-5.088 5.088 5.094 5.094 0 0 0 5.088 5.087 5.094 5.094 0 0 0 5.087-5.087 5.094 5.094 0 0 0-5.087-5.088"}),t("path",{fill:"#CDCFD1",d:"M30.489.166c10.37 0 18.807 8.437 18.807 18.808v10.973c6.419.278 11.556 5.585 11.556 12.07v25.735c0 6.663-5.42 12.083-12.083 12.083H12.21c-6.663 0-12.083-5.42-12.083-12.083V42.017c0-6.485 5.138-11.792 11.556-12.07V18.974C11.683 8.604 20.119.166 30.49.166M15.01 29.932h30.958v-10.96c0-8.536-6.944-15.48-15.48-15.48s-15.48 6.944-15.48 15.48v10.96m-2.8 46.574h36.558c4.828 0 8.756-3.927 8.756-8.755V42.016c0-4.828-3.928-8.756-8.756-8.756H12.21c-4.828 0-8.756 3.928-8.756 8.756V67.75c0 4.828 3.928 8.755 8.756 8.755m18.278-30.12c4.685 0 8.498 3.811 8.498 8.498s-3.811 8.498-8.498 8.498-8.498-3.812-8.498-8.498c0-4.687 3.812-8.498 8.498-8.498m0 13.667c2.85 0 5.17-2.32 5.17-5.17 0-2.852-2.318-5.171-5.17-5.171a5.176 5.176 0 0 0-5.17 5.17c0 2.852 2.319 5.17 5.17 5.17m0-60.053C20.025 0 11.513 8.511 11.513 18.974v10.814a12.2 12.2 0 0 0-8.138 3.75 12.18 12.18 0 0 0-3.417 8.478V67.75C-.042 74.505 5.453 80 12.207 80h36.559c6.754 0 12.25-5.495 12.25-12.25V42.017c0-3.173-1.214-6.184-3.418-8.478a12.2 12.2 0 0 0-8.139-3.75V18.974C49.46 8.51 40.95 0 30.486 0zM15.173 29.766V18.972c0-8.443 6.87-15.314 15.314-15.314 8.445 0 15.314 6.87 15.314 15.314v10.794zM12.207 76.34c-4.736 0-8.59-3.853-8.59-8.59V42.017c0-4.737 3.854-8.59 8.59-8.59h36.559c4.736 0 8.59 3.853 8.59 8.59V67.75c0 4.736-3.854 8.589-8.59 8.589zm18.278-30.12c-4.776 0-8.664 3.886-8.664 8.664s3.886 8.664 8.664 8.664c4.779 0 8.665-3.886 8.665-8.664s-3.886-8.664-8.664-8.664m0 13.667a5.01 5.01 0 0 1-5.004-5.005 5.01 5.01 0 0 1 5.004-5.004 5.01 5.01 0 0 1 5.005 5.004 5.01 5.01 0 0 1-5.005 5.005"})]}),e("defs",{children:[e("linearGradient",{id:"b40a6a1b",x1:2.67,x2:58.264,y1:75.561,y2:19.931,gradientUnits:"userSpaceOnUse",children:[t("stop",{stopColor:"#fff",stopOpacity:0}),t("stop",{offset:.02,stopColor:"#fff",stopOpacity:.06}),t("stop",{offset:.11,stopColor:"#fff",stopOpacity:.35}),t("stop",{offset:.18,stopColor:"#fff",stopOpacity:.53}),t("stop",{offset:.21,stopColor:"#fff",stopOpacity:.6}),t("stop",{offset:.22,stopColor:"#fff",stopOpacity:.56}),t("stop",{offset:.28,stopColor:"#fff",stopOpacity:.41}),t("stop",{offset:.34,stopColor:"#fff",stopOpacity:.28}),t("stop",{offset:.41,stopColor:"#fff",stopOpacity:.18}),t("stop",{offset:.49,stopColor:"#fff",stopOpacity:.1}),t("stop",{offset:.57,stopColor:"#fff",stopOpacity:.04}),t("stop",{offset:.67,stopColor:"#fff",stopOpacity:.01}),t("stop",{offset:.83,stopColor:"#fff",stopOpacity:0}),t("stop",{offset:.88,stopColor:"#fff",stopOpacity:0}),t("stop",{offset:.91,stopColor:"#fff",stopOpacity:.04}),t("stop",{offset:.93,stopColor:"#fff",stopOpacity:.1}),t("stop",{offset:.95,stopColor:"#fff",stopOpacity:.18}),t("stop",{offset:.96,stopColor:"#fff",stopOpacity:.28}),t("stop",{offset:.98,stopColor:"#fff",stopOpacity:.4}),t("stop",{offset:1,stopColor:"#fff",stopOpacity:.6})]}),t("clipPath",{id:"4e3573e8",children:t("path",{fill:"#fff",d:"M0 0h61.058v80H0z"})})]})]}))),Xe=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{clipPath:"url(#705555a7)",children:t("path",{fill:"#000",d:"M19 1.5H5a5.006 5.006 0 0 0-5 5v12a5.006 5.006 0 0 0 5 5h14a5.006 5.006 0 0 0 5-5v-12a5.006 5.006 0 0 0-5-5m-14 2h14a3 3 0 0 1 2.78 1.887l-7.658 7.659a3.007 3.007 0 0 1-4.244 0L2.22 5.386A3 3 0 0 1 5 3.5m14 18H5a3 3 0 0 1-3-3V8l6.464 6.46a5.007 5.007 0 0 0 7.072 0L22 8v10.5a3 3 0 0 1-3 3"})}),t("defs",{children:t("clipPath",{id:"705555a7",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Ke=n((e=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...e,children:t("path",{fill:"#000",d:"M23 4.5H1a1 1 0 1 0 0 2h22a1 1 0 1 0 0-2M23 11.5H1a1 1 0 1 0 0 2h22a1 1 0 1 0 0-2M1 18.5h22a1 1 0 1 1 0 2H1a1 1 0 1 1 0-2"})}))),Ge=n((e=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",viewBox:"0 0 24 24","aria-hidden":"true",...e,children:t("path",{fill:"#000",d:"M.293 11.293A1 1 0 0 1 1 11h22a1 1 0 0 1 0 2H1a1 1 0 0 1-.707-1.707"})}))),Ze=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{fill:"#000",clipPath:"url(#752c60ff)",children:t("path",{d:"M2 14.5a2 2 0 1 0 0-4 2 2 0 0 0 0 4M12 14.5a2 2 0 1 0 0-4 2 2 0 0 0 0 4M24 12.5a2 2 0 1 1-4 0 2 2 0 0 1 4 0"})}),t("defs",{children:t("clipPath",{id:"752c60ff",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Je=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{clipPath:"url(#251a2feb)",children:t("path",{fill:"#000",d:"m22.555 14.162-1.9-6.836A9.321 9.321 0 0 0 2.576 7.8l-1.471 6.615A5 5 0 0 0 5.986 20.5H7.1a5 5 0 0 0 9.8 0h.838a5 5 0 0 0 4.818-6.338zM12 22.5a3 3 0 0 1-2.816-2h5.632a3 3 0 0 1-2.816 2m8.126-5.185a2.98 2.98 0 0 1-2.389 1.185H5.986a3 3 0 0 1-2.928-3.651l1.47-6.616a7.321 7.321 0 0 1 14.2-.372l1.9 6.836a2.98 2.98 0 0 1-.502 2.618"})}),t("defs",{children:t("clipPath",{id:"251a2feb",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Qe=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{clipPath:"url(#66b9637d)",children:t("path",{fill:"#000",d:"M23.9 11.946a12 12 0 0 0-4.279-7.717 12.006 12.006 0 0 0-16.385 1.07A11.99 11.99 0 0 0 0 13.508a11.86 11.86 0 0 0 3.759 8.705A4.84 4.84 0 0 0 7.113 23.5h9.767a5 5 0 0 0 3.509-1.428 11.93 11.93 0 0 0 3.51-10.126m-4.91 8.693a3 3 0 0 1-2.11.862H7.113c-.73.015-1.44-.25-1.981-.74A9.9 9.9 0 0 1 2 13.508a10 10 0 0 1 3.338-7.451 9.89 9.89 0 0 1 6.648-2.541q.588 0 1.174.065a10 10 0 0 1 8.305 6.693 9.98 9.98 0 0 1-2.474 10.37zm-11.183-2.85a1 1 0 1 1-1.4 1.429 7.992 7.992 0 0 1 6.736-13.623 1 1 0 0 1 .72 1.502.99.99 0 0 1-1.006.477 6 6 0 0 0-6.228 3.28 5.99 5.99 0 0 0 1.178 6.935m12.112-5.424q.08.568.08 1.143a7.92 7.92 0 0 1-2.407 5.711 1.002 1.002 0 0 1-1.4-1.43 5.97 5.97 0 0 0 1.744-5.138 1 1 0 0 1 1.59-.944 1 1 0 0 1 .39.659zm-5.993.631a2.03 2.03 0 0 1-2.22 2.559 2.033 2.033 0 0 1-1.495-3.039 2.03 2.03 0 0 1 2.3-.933l3.782-3.778a1 1 0 1 1 1.414 1.413z"})}),t("defs",{children:t("clipPath",{id:"66b9637d",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),et=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("path",{fill:"#000",d:"M22.707 1.793a1 1 0 0 1 0 1.414l-20 20a1 1 0 0 1-1.414-1.414l20-20a1 1 0 0 1 1.414 0"}),t("path",{fill:"#000",fillRule:"evenodd",d:"M6 10.5a4 4 0 1 0 0-8 4 4 0 0 0 0 8m0-6a2 2 0 1 1 0 4 2 2 0 0 1 0-4M15.778 15.174a4 4 0 1 1 4.444 6.653 4 4 0 0 1-4.444-6.653m1.11 4.99a2 2 0 1 0 2.223-3.327 2 2 0 0 0-2.222 3.326",clipRule:"evenodd"})]}))),tt=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{fill:"#000",fillRule:"evenodd",clipPath:"url(#e60de322)",clipRule:"evenodd",children:[t("path",{d:"M21.057 3.47a10.1 10.1 0 0 1 2.594 4.476 2.01 2.01 0 0 1-1.913 2.554H17.02a3 3 0 0 1-3-3V2.8a2 2 0 0 1 2.02-2 2 2 0 0 1 .543.072 10.1 10.1 0 0 1 4.475 2.598M17.015 8.5h4.72a8.07 8.07 0 0 0-5.677-5.702h-.026a.05.05 0 0 0-.025.01l.008 4.692a1 1 0 0 0 1 1"}),t("path",{d:"M14 12.5h4.713a3.06 3.06 0 0 1 2.394 1.172 2.88 2.88 0 0 1 .533 2.485A11 11 0 0 1 8.906 24.27a10.969 10.969 0 0 1-.553-21.414 2.87 2.87 0 0 1 2.48.534A3 3 0 0 1 12 5.774V10.5a2 2 0 0 0 2 2m3.425 7.26a8.97 8.97 0 0 0 2.276-4.092.88.88 0 0 0-.167-.768 1.04 1.04 0 0 0-.816-.4h-4.712a4 4 0 0 1-4-4V5.778a1.02 1.02 0 0 0-.4-.806.87.87 0 0 0-.764-.172 8.97 8.97 0 1 0 8.583 14.96"})]}),t("defs",{children:t("clipPath",{id:"e60de322",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),rt=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{clipPath:"url(#ce50361f)",children:t("path",{fill:"#000",d:"M23 11.5H13v-10a1 1 0 0 0-1-1 1 1 0 0 0-1 1v10H1a1 1 0 0 0-1 1 1 1 0 0 0 1 1h10v10a1 1 0 0 0 2 0v-10h10a1 1 0 0 0 0-2"})}),t("defs",{children:t("clipPath",{id:"ce50361f",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),nt=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{clipPath:"url(#7ecfa412)",children:t("path",{fill:"#000",d:"M19 3.522V1.5a1 1 0 0 0-2 0v1.1a5 5 0 0 0-1-.1h-1v-1a1 1 0 0 0-2 0v1h-2v-1a1 1 0 0 0-2 0v1H8a5 5 0 0 0-1 .1V1.5a1 1 0 0 0-2 0v2.022A4.98 4.98 0 0 0 3 7.5v12a5.006 5.006 0 0 0 5 5h8a5.006 5.006 0 0 0 5-5v-12a4.98 4.98 0 0 0-2-3.978M19 19.5a3 3 0 0 1-3 3H8a3 3 0 0 1-3-3v-12a3 3 0 0 1 3-3h8a3 3 0 0 1 3 3zm-2-11a1 1 0 0 1-1 1H8a1 1 0 0 1 0-2h8a1 1 0 0 1 1 1m0 4a1 1 0 0 1-1 1H8a1 1 0 0 1 0-2h8a1 1 0 0 1 1 1m-4 4a1 1 0 0 1-1 1H8a1 1 0 0 1 0-2h4a1 1 0 0 1 1 1"})}),t("defs",{children:t("clipPath",{id:"7ecfa412",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),it=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{clipPath:"url(#ef775233)",children:t("path",{fill:"#000",d:"M18.581 2.64 12.316.551a1 1 0 0 0-.632 0l-6.265 2.09A4.99 4.99 0 0 0 2 7.382V12.5c0 7.563 9.2 11.74 9.594 11.914a1 1 0 0 0 .812 0C12.8 24.24 22 20.064 22 12.5V7.383a4.99 4.99 0 0 0-3.419-4.743m-1.863 7.577-4.272 4.272a1.87 1.87 0 0 1-1.335.553h-.033a1.87 1.87 0 0 1-1.345-.6l-2.306-2.4a1 1 0 1 1 1.441-1.382L11.112 13 15.3 8.8a1 1 0 0 1 1.414 1.414z"})}),t("defs",{children:t("clipPath",{id:"ef775233",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),ot=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{clipPath:"url(#57d1947f)",children:t("path",{fill:"#000",d:"M18.581 2.64 12.316.551a1 1 0 0 0-.632 0l-6.266 2.09A4.99 4.99 0 0 0 2 7.382V12.5c0 7.563 9.2 11.74 9.594 11.914a1 1 0 0 0 .812 0C12.8 24.24 22 20.064 22 12.5V7.383a4.99 4.99 0 0 0-3.419-4.743M12 19.5a1 1 0 1 1 0-2 1 1 0 0 1 0 2m1-5a1 1 0 1 1-2 0v-8a1 1 0 0 1 2 0z"})}),t("defs",{children:t("clipPath",{id:"57d1947f",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),at=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{clipPath:"url(#1259f37d)",children:t("path",{fill:"#000",d:"m23.707 22.794-5.97-5.97a10.016 10.016 0 1 0-1.413 1.415l5.969 5.969a1 1 0 0 0 1.414-1.414M10 18.5a8 8 0 1 1 8-8 8.01 8.01 0 0 1-8 8"})}),t("defs",{children:t("clipPath",{id:"1259f37d",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),ct=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{fill:"#000",fillRule:"evenodd",clipPath:"url(#5df29195)",clipRule:"evenodd",children:[t("path",{d:"M9.778 9.175a4 4 0 1 1 4.444 6.652 4 4 0 0 1-4.444-6.652m1.11 4.989a2 2 0 1 0 2.223-3.325 2 2 0 0 0-2.222 3.325"}),t("path",{d:"m20.85 14.144.444.256.001-.001a3.002 3.002 0 1 1-3 5.2l-.447-.258A9 9 0 0 1 15 20.987v.513a3 3 0 1 1-6 0v-.513a9 9 0 0 1-2.85-1.642l-.445.257a3.002 3.002 0 0 1-3-5.2l.444-.256a9.1 9.1 0 0 1 0-3.29l-.444-.256a3.002 3.002 0 1 1 3-5.2l.447.259A9 9 0 0 1 9 4.013V3.5a3 3 0 1 1 6 0v.513a9 9 0 0 1 2.849 1.642l.445-.257a3.002 3.002 0 0 1 3 5.2l-.444.256a9.1 9.1 0 0 1 0 3.29m-2.104.23a7.05 7.05 0 0 0 0-3.75v.001a1 1 0 0 1 .463-1.129l1.084-.626a1 1 0 1 0-1-1.732l-1.084.627a1 1 0 0 1-1.215-.165 7 7 0 0 0-3.243-1.879A1 1 0 0 1 13 4.752V3.5a1 1 0 1 0-2 0v1.252a1 1 0 0 1-.751.973A7 7 0 0 0 7.006 7.6a1 1 0 0 1-1.214.161l-1.086-.628a1 1 0 1 0-1 1.733l1.084.626a1 1 0 0 1 .465 1.129 7.05 7.05 0 0 0 0 3.75 1 1 0 0 1-.464 1.133l-1.084.626a1 1 0 1 0 1 1.732l1.084-.627a1 1 0 0 1 1.215.165c.89.91 2.01 1.56 3.242 1.879a1 1 0 0 1 .751.969V21.5a1 1 0 0 0 2 0v-1.253a1 1 0 0 1 .751-.969 7 7 0 0 0 3.243-1.875 1 1 0 0 1 1.215-.165l1.086.628a1 1 0 0 0 1-1.733l-1.084-.626a1 1 0 0 1-.464-1.133"})]}),t("defs",{children:t("clipPath",{id:"5df29195",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),lt=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{clipPath:"url(#2b650bda)",children:t("path",{fill:"#000",d:"M4 7.483a2.98 2.98 0 0 1-2.121-.88L.335 5.228a1.002 1.002 0 0 1 1.332-1.496l1.585 1.416a1 1 0 0 0 1.456.04l3.604-3.435a1 1 0 0 1 1.378 1.45L6.1 6.62a2.96 2.96 0 0 1-2.1.863m20-2.002a1 1 0 0 0-1-1H13a1 1 0 0 0-.706 1.708 1 1 0 0 0 .707.293h10a1 1 0 0 0 1-1M6.1 14.63l3.59-3.418a1 1 0 1 0-1.378-1.45l-3.6 3.435a1.02 1.02 0 0 1-1.414 0l-1.59-1.586a1 1 0 0 0-1.695.711c-.002.263.099.515.28.704l1.586 1.587a3 3 0 0 0 4.226.017zm17.9-1.14a1 1 0 0 0-1-1H13a1 1 0 0 0-1 1 1 1 0 0 0 1 1.002h10a1 1 0 0 0 1-1.001M6.1 22.638l3.586-3.417a1.001 1.001 0 1 0-1.378-1.45l-3.6 3.435a1 1 0 0 1-1.456-.04l-1.585-1.416a1 1 0 0 0-1.665.805c.015.266.135.514.333.69l1.544 1.376a3 3 0 0 0 4.226.017zM24 21.498a1 1 0 0 0-1-1.001H13a1 1 0 0 0-.706 1.709 1 1 0 0 0 .707.293h10a1 1 0 0 0 1-1.001"})}),t("defs",{children:t("clipPath",{id:"2b650bda",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),ut=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{fill:"#000",clipPath:"url(#91038c87)",children:[t("path",{d:"M5 22.5h2a1 1 0 0 1 0 2H5a5.006 5.006 0 0 1-5-5v-14a5.006 5.006 0 0 1 5-5h2a1 1 0 0 1 0 2H5a3 3 0 0 0-3 3v14a3 3 0 0 0 3 3"}),t("path",{d:"M7.223 11.532 23 11.5a1 1 0 0 1 0 2l-15.744.032q.123.209.29.382l3.88 3.88a1 1 0 1 1-1.414 1.413l-3.88-3.879a4 4 0 0 1 0-5.656l3.882-3.879a1 1 0 1 1 1.414 1.414l-3.88 3.88a2 2 0 0 0-.325.445"})]}),t("defs",{children:t("clipPath",{id:"91038c87",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),st=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{fill:"#000",clipPath:"url(#57cfec12)",children:[t("path",{d:"M5 22.5h2a1 1 0 0 1 0 2H5a5.006 5.006 0 0 1-5-5v-14a5.006 5.006 0 0 1 5-5h2a1 1 0 0 1 0 2H5a3 3 0 0 0-3 3v14a3 3 0 0 0 3 3"}),t("path",{d:"m18.95 5.792 3.879 3.88h-.004a4 4 0 0 1 0 5.655l-3.88 3.88a1 1 0 1 1-1.413-1.415l3.879-3.879q.2-.207.334-.462-.019.003-.036.008a.1.1 0 0 1-.042.008L5.989 13.5a1 1 0 0 1 0-2l15.684-.032q.01 0 .02.004l.022.004a2 2 0 0 0-.3-.39l-3.88-3.879a1 1 0 0 1 1.415-1.414"})]}),t("defs",{children:t("clipPath",{id:"57cfec12",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),ft=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{fill:"#000",clipPath:"url(#8ca63799)",children:t("path",{d:"M6.365 6.416a.5.5 0 0 1-.278.084H4.294v12h1.793a.5.5 0 0 1 .353.854L4 21.794a1 1 0 0 1-1.414 0l-2.44-2.44A.5.5 0 0 1 .5 18.5h1.794v-12H.5a.5.5 0 0 1-.353-.854l2.439-2.439a1 1 0 0 1 1.414 0l2.44 2.44a.5.5 0 0 1-.075.769M23 6.5H10a1 1 0 0 1 0-2h13a1 1 0 1 1 0 2M10 11.5h13a1 1 0 0 1 0 2H10a1 1 0 0 1 0-2M23 18.5H10a1 1 0 0 0 0 2h13a1 1 0 1 0 0-2"})}),t("defs",{children:t("clipPath",{id:"8ca63799",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),pt=n((e=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",viewBox:"0 0 24 24","aria-hidden":"true",...e,children:t("path",{fill:"#000",d:"M13 1v2a1 1 0 0 1-2 0V1a1 1 0 0 1 2 0m-1 19a1 1 0 0 0-1 1v2a1 1 0 0 0 2 0v-2a1 1 0 0 0-1-1m-8-8a1 1 0 0 0-1-1H1a1 1 0 0 0 0 2h2a1 1 0 0 0 1-1m19-1h-2a1 1 0 0 0 0 2h2a1 1 0 0 0 0-2m-4.982-9.382a1 1 0 0 0-1.367.364l-1 1.731a1 1 0 0 0 1.731 1.001l1-1.731a1 1 0 0 0-.364-1.365M7.987 18.921a1 1 0 0 0-1.366.364l-1 1.731a1 1 0 1 0 1.731 1.001l1-1.731a1 1 0 0 0-.365-1.365m-3.272-12.3-1.731-1a1 1 0 0 0-1 1.731l1.731 1a1 1 0 0 0 1-1.731m17.3 10.03-1.731-1a1 1 0 0 0-1 1.731l1.731 1a1 1 0 1 0 1-1.731M7.349 1.982a1 1 0 0 0-1.731 1l1 1.731a1 1 0 1 0 1.731-1.001zm10.03 17.3a1 1 0 0 0-1.731 1l1 1.731a1 1 0 0 0 1.731-1zm2.408-10.8a1 1 0 0 0 .5-.134l1.731-1a1 1 0 0 0-1-1.731l-1.731 1a1 1 0 0 0 .5 1.865M3.713 15.648l-1.731 1a1 1 0 1 0 1 1.731l1.731-1a1 1 0 0 0-1-1.731"})}))),ht=n((e=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...e,children:t("path",{fill:"#000",d:"M21 12.924V11.5a9 9 0 0 0-18 0v1.424A5 5 0 0 0 5 22.5a2 2 0 0 0 2-2v-6a2 2 0 0 0-2-2v-1a7 7 0 0 1 14 0v1a2 2 0 0 0-2 2v6h-3a1 1 0 0 0 0 2h5a5 5 0 0 0 2-9.576M5 20.5a3 3 0 1 1 0-6zm14 0v-6a3 3 0 0 1 0 6"})}))),dt=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{fill:"#000",clipPath:"url(#705b35d7)",children:[t("path",{d:"M10 18.5a1 1 0 0 0 1-1v-6a1 1 0 0 0-2 0v6a1 1 0 0 0 1 1M14.707 18.207A1 1 0 0 1 13 17.499v-6a1 1 0 1 1 2 0v6a1 1 0 0 1-.293.707"}),t("path",{fillRule:"evenodd",d:"M21 4.5h-3.1a5.01 5.01 0 0 0-4.9-4h-2a5.01 5.01 0 0 0-4.9 4H3a1 1 0 0 0 0 2h1v13a5.006 5.006 0 0 0 5 5h6a5.006 5.006 0 0 0 5-5v-13h1a1 1 0 1 0 0-2m-10-2h2a3.01 3.01 0 0 1 2.829 2H8.171A3.01 3.01 0 0 1 11 2.5m7 17a3 3 0 0 1-3 3H9a3 3 0 0 1-3-3v-13h12z",clipRule:"evenodd"})]}),t("defs",{children:t("clipPath",{id:"705b35d7",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),yt=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[e("g",{fill:"#000",clipPath:"url(#c1bea85b)",children:[t("path",{d:"m11 18.516.007-15.438L8.08 6.005a1 1 0 0 1-1.414-1.414l3.21-3.212a3 3 0 0 1 4.245 0l3.21 3.215a1 1 0 0 1-1.413 1.414l-2.912-2.913L13 18.516a1 1 0 1 1-2 0"}),t("path",{d:"M22 21.5v-4a1 1 0 0 1 2 0v4a3 3 0 0 1-3 3H3a3 3 0 0 1-3-3v-4a1 1 0 0 1 2 0v4a1 1 0 0 0 1 1h18a1 1 0 0 0 1-1"})]}),t("defs",{children:t("clipPath",{id:"c1bea85b",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),vt=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{fill:"#000",clipPath:"url(#5ab9665d)",children:t("path",{d:"M12 13a6 6 0 1 0 0-12 6 6 0 0 0 0 12m0-10a4 4 0 1 1 0 8 4 4 0 0 1 0-8M12 15a9.01 9.01 0 0 0-9 9 1 1 0 0 0 2 0 7 7 0 1 1 14 0 1 1 0 0 0 2 0 9.01 9.01 0 0 0-9-9"})}),t("defs",{children:t("clipPath",{id:"5ab9665d",children:t("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),gt=n((e=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:16,height:17,fill:"none",viewBox:"0 0 16 17","aria-hidden":"true",...e,children:t("path",{fill:"#000",d:"M7.986 1.833a6.71 6.71 0 0 1 4.758 2h-2.086a.67.67 0 0 0-.668.667.666.666 0 0 0 .668.667h2.768a1.24 1.24 0 0 0 1.24-1.238V1.167A.666.666 0 0 0 14 .5a.67.67 0 0 0-.668.667v1.385a8.01 8.01 0 0 0-8.278-1.5 8 8 0 0 0-3.48 2.641 8 8 0 0 0-1.57 4.074.67.67 0 0 0 .668.733.657.657 0 0 0 .66-.585 6.67 6.67 0 0 1 2.146-4.329 6.7 6.7 0 0 1 4.51-1.753M15.33 8.5a.657.657 0 0 0-.661.585 6.65 6.65 0 0 1-1.362 3.488 6.684 6.684 0 0 1-10.05.593h2.085a.67.67 0 0 0 .668-.666.666.666 0 0 0-.668-.667H2.574a1.24 1.24 0 0 0-1.146.764c-.063.15-.095.312-.095.474v2.762a.666.666 0 0 0 .668.667.67.67 0 0 0 .668-.667v-1.385a8.01 8.01 0 0 0 8.278 1.5 8 8 0 0 0 3.48-2.641 8 8 0 0 0 1.57-4.074.67.67 0 0 0-.668-.733"})}))),mt=n((e=>t("svg",{xmlns:"http://www.w3.org/2000/svg","data-name":"Layer 1",viewBox:"0 0 113 113.4","aria-hidden":"true",...e,children:t("path",{d:"M19.6 113.4 36 85l16.4-28.3 16.3-28.4 2.7-4.5 1.2 4.5 5 18.7-5.6 9.7L55.6 85l-16.3 28.4h19.6L75.3 85l8.5-14.7 4 14.7 7.6 28.4H113L105.4 85l-7.6-28.3-2-7.3L108 28.3H90.2l-.6-2.1L83.4 3l-.8-3H65.5l-.4.6-16 27.7-16.4 28.4L16.4 85 0 113.4z"})}))),bt=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 1503 1504","aria-hidden":"true",...r,children:[t("path",{fill:"#fff",d:"M287 258h928v844H287z"}),t("path",{fill:"#E84142",fillRule:"evenodd",d:"M1502.5 752c0 414.77-336.23 751-751 751-414.766 0-751-336.23-751-751C.5 337.234 336.734 1 751.5 1c414.77 0 751 336.234 751 751m-963.812 298.86H392.94c-30.626 0-45.754 0-54.978-5.9-9.963-6.46-16.051-17.16-16.789-28.97-.554-10.88 7.011-24.168 22.139-50.735l359.87-634.32c15.313-26.936 23.061-40.404 32.839-45.385 10.516-5.35 23.062-5.35 33.578 0 9.778 4.981 17.527 18.449 32.839 45.385l73.982 129.144.377.659c16.539 28.897 24.926 43.551 28.588 58.931a109.56 109.56 0 0 1 0 51.289c-3.69 15.497-11.992 30.257-28.781 59.591L687.573 964.702l-.489.856c-16.648 29.135-25.085 43.902-36.778 55.042-12.73 12.18-28.043 21.03-44.832 26.02-15.313 4.24-32.47 4.24-66.786 4.24m368.062 0h208.84c30.81 0 46.31 0 55.54-6.08 9.96-6.46 16.23-17.35 16.79-29.15.53-10.53-6.87-23.3-21.37-48.323-.5-.852-1-1.719-1.51-2.601L1060.43 785.75l-1.19-2.015c-14.7-24.858-22.12-37.411-31.65-42.263a36.73 36.73 0 0 0-33.391 0c-9.594 4.981-17.342 18.08-32.655 44.462L857.306 964.891l-.357.616c-15.259 26.34-22.885 39.503-22.335 50.303.738 11.81 6.826 22.69 16.788 29.15 9.041 5.9 24.538 5.9 55.348 5.9",clipRule:"evenodd"})]}))),wt=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",viewBox:"0 0 788 788","aria-hidden":"true",...r,children:[t("circle",{cx:394,cy:394,r:394,style:{fill:"#0ac18e"}}),t("path",{d:"M516.9 261.7c-19.8-44.9-65.3-54.5-121-45.2L378 147.1 335.8 158l17.6 69.2c-11.1 2.8-22.5 5.2-33.8 8.4L302 166.8l-42.2 10.9 17.9 69.4c-9.1 2.6-85.2 22.1-85.2 22.1l11.6 45.2s31-8.7 30.7-8c17.2-4.5 25.3 4.1 29.1 12.2l49.2 190.2c.6 5.5-.4 14.9-12.2 18.1.7.4-30.7 7.9-30.7 7.9l4.6 52.7s75.4-19.3 85.3-21.8l18.1 70.2 42.2-10.9-18.1-70.7q17.4-4.05 33.9-8.4l18 70.3 42.2-10.9-18.1-70.1c65-15.8 110.9-56.8 101.5-119.5-6-37.8-47.3-68.8-81.6-72.3 21.1-18.7 31.8-46 18.7-81.7m-20.3 165.5c8.4 62.1-77.9 69.7-106.4 77.2l-24.8-92.9c28.6-7.5 117-39 131.2 15.7m-52-126.5c8.9 55.2-64.9 61.6-88.7 67.7l-22.6-84.3c23.9-5.9 93.2-34.5 111.3 16.6",style:{fill:"#fff"}})]}))),xt=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",fillRule:"evenodd",clipRule:"evenodd",imageRendering:"optimizeQuality",shapeRendering:"geometricPrecision",textRendering:"geometricPrecision",viewBox:"0 0 4091.27 4091.73","aria-hidden":"true",...r,children:e("g",{fillRule:"nonzero",children:[t("path",{fill:"#F7931A",d:"M4030.06 2540.77C3756.82 3636.78 2646.74 4303.79 1550.6 4030.48 454.92 3757.24-212.09 2647.09 61.27 1551.17c273.12-1096.13 1383.2-1763.19 2479-1489.95C3636.33 334.46 4303.3 1444.73 4030.03 2540.79l.02-.02z"}),t("path",{fill:"#fff",d:"M2947.77 1754.38c40.72-272.26-166.56-418.61-450-516.24l91.95-368.8-224.5-55.94-89.51 359.09c-59.02-14.72-119.63-28.59-179.87-42.34L2186 768.69l-224.36-55.94-92 368.68c-48.84-11.12-96.81-22.11-143.35-33.69l.26-1.16-309.59-77.31-59.72 239.78s166.56 38.18 163.05 40.53c90.91 22.69 107.35 82.87 104.62 130.57l-104.74 420.15c6.26 1.59 14.38 3.89 23.34 7.49-7.49-1.86-15.46-3.89-23.73-5.87l-146.81 588.57c-11.11 27.62-39.31 69.07-102.87 53.33 2.25 3.26-163.17-40.72-163.17-40.72l-111.46 256.98 292.15 72.83c54.35 13.63 107.61 27.89 160.06 41.3l-92.9 373.03 224.24 55.94 92-369.07c61.26 16.63 120.71 31.97 178.91 46.43l-91.69 367.33 224.51 55.94 92.89-372.33c382.82 72.45 670.67 43.24 791.83-303.02 97.63-278.78-4.86-439.58-206.26-544.44 146.69-33.83 257.18-130.31 286.64-329.61l-.07-.05zm-512.93 719.26c-69.38 278.78-538.76 128.08-690.94 90.29l123.28-494.2c152.17 37.99 640.17 113.17 567.67 403.91zm69.43-723.3c-63.29 253.58-453.96 124.75-580.69 93.16l111.77-448.21c126.73 31.59 534.85 90.55 468.94 355.05z"})]})}))),Ot=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",fillRule:"evenodd",clipRule:"evenodd",imageRendering:"optimizeQuality",shapeRendering:"geometricPrecision",textRendering:"geometricPrecision",viewBox:"0 0 784.37 1277.39","aria-hidden":"true",...r,children:e("g",{fillRule:"nonzero",children:[t("path",{fill:"#343434",d:"m392.07 0-8.57 29.11v844.63l8.57 8.55 392.06-231.75z"}),t("path",{fill:"#8C8C8C",d:"M392.07 0 0 650.54l392.07 231.75V472.33z"}),t("path",{fill:"#3C3C3B",d:"m392.07 956.52-4.83 5.89v300.87l4.83 14.1 392.3-552.49z"}),t("path",{fill:"#8C8C8C",d:"M392.07 1277.38V956.52L0 724.89z"}),t("path",{fill:"#141414",d:"m392.07 882.29 392.06-231.75-392.06-178.21z"}),t("path",{fill:"#393939",d:"m0 650.54 392.07 231.75V472.33z"})]})}))),St=n((e=>t("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 37.8 43.6","aria-hidden":"true",...e,children:t("g",{"data-name":"Layer 2",children:t("path",{d:"m18.9 0-4 2.3L4 8.6l-4 2.3v21.8L4 35l11 6.3 4 2.3 4-2.3L33.8 35l4-2.3V10.9l-4-2.3-10.9-6.3ZM8 28.1V15.5l10.9-6.3 10.9 6.3v12.6l-10.9 6.3Z","data-name":"Layer 1",style:{fill:"#2a5ada"}})})}))),jt=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg","data-name":"Layer 1",viewBox:"0 0 82.6 82.6","aria-hidden":"true",...r,children:[t("circle",{cx:41.3,cy:41.3,r:36.83,style:{fill:"#fff"}}),t("path",{d:"M41.3 0a41.3 41.3 0 1 0 41.3 41.3A41.18 41.18 0 0 0 41.54 0Zm.7 42.7-4.3 14.5h23a1.16 1.16 0 0 1 1.2 1.12v.38l-2 6.9a1.49 1.49 0 0 1-1.5 1.1H23.2l5.9-20.1-6.6 2L24 44l6.6-2 8.3-28.2a1.51 1.51 0 0 1 1.5-1.1h8.9a1.16 1.16 0 0 1 1.2 1.12v.38l-7 23.8 6.6-2-1.4 4.8Z",style:{fill:"#345d9d"}})]}))),At=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 600 600","aria-hidden":"true",...r,children:[t("defs",{children:e("linearGradient",{id:"a",x1:300,x2:300,y1:602,y2:2,gradientTransform:"matrix(1 0 0 -1 0 602)",gradientUnits:"userSpaceOnUse",children:[t("stop",{offset:0,stopColor:"#4fa89b"}),t("stop",{offset:1,stopColor:"#6acebb"})]})}),t("g",{"data-name":"Layer 2",children:e("g",{"data-name":"Layer 1",children:[t("circle",{cx:300,cy:300,r:300,style:{fill:"url(#a)"}}),t("path",{d:"M152.34 390V248.8l107.08 80.59V390h27.33v-66.3a15.94 15.94 0 0 0-6.35-12.7l-129.86-97.77A16 16 0 0 0 125 226v164Zm296.14 0V248.8L341.4 329.39V390h-27.33v-66.3a15.94 15.94 0 0 1 6.35-12.7l129.86-97.73A16 16 0 0 1 475.82 226v164Z",style:{fill:"#fff"}})]})})]}))),Pt=n((e=>t("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 236.36 200","aria-hidden":"true",...e,children:t("g",{"data-name":"Layer 2",children:t("g",{"data-name":"Layer 1",children:t("path",{d:"m203 26.16-28.46 14.5-137.43 70a82.5 82.5 0 0 1-.7-10.69A81.87 81.87 0 0 1 158.2 28.6l16.29-8.3 2.43-1.24A100 100 0 0 0 18.18 100q0 3.82.29 7.61a18.19 18.19 0 0 1-9.88 17.58L0 129.57V150l25.29-12.89 8.19-4.18 8.07-4.11L186.43 55l16.28-8.29 33.65-17.15V9.14ZM236.36 50 49.78 145l-16.28 8.31L0 170.38v20.41l33.27-16.95 28.46-14.5 137.57-70.1A83.5 83.5 0 0 1 200 100a81.87 81.87 0 0 1-121.91 71.36l-1 .53-17.66 9A100 100 0 0 0 218.18 100c0-2.57-.1-5.14-.29-7.68a18.2 18.2 0 0 1 9.87-17.58l8.6-4.38Z"})})})}))),Mt=n((r=>e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 424","aria-hidden":"true",...r,children:[t("defs",{children:t("style",{children:".cls-1{fill:#23292f}"})}),t("g",{id:"Layer_2","data-name":"Layer 2",children:t("g",{id:"Layer_1-2","data-name":"Layer 1",children:t("path",{d:"M437 0h74L357 152.48c-55.77 55.19-146.19 55.19-202 0L.94 0H75l117 115.83a91.11 91.11 0 0 0 127.91 0ZM74.05 424H0l155-153.42c55.77-55.19 146.19-55.19 202 0L512 424h-74L320 307.23a91.11 91.11 0 0 0-127.91 0Z",className:"cls-1"})})})]})));function kt(e,t={}){let r=!1;function n(t){const r=`chakra-${(["container","root"].includes(null!=t?t:"")?[e]:[e,t]).filter(Boolean).join("__")}`;return{className:r,selector:`.${r}`,toString:()=>t}}return{parts:function(...i){!function(){if(r)throw new Error("[anatomy] .part(...) should only be called once. Did you mean to use .extend(...) ?");r=!0}();for(const e of i)t[e]=n(e);return kt(e,t)},toPart:n,extend:function(...r){for(const e of r)e in t||(t[e]=n(e));return kt(e,t)},selectors:function(){return Object.fromEntries(Object.entries(t).map((([e,t])=>[e,t.selector])))},classnames:function(){return Object.fromEntries(Object.entries(t).map((([e,t])=>[e,t.className])))},get keys(){return Object.keys(t)},__type:{}}}var Et=kt("accordion").parts("root","container","button","panel").extend("icon"),Ct=kt("alert").parts("title","description","container").extend("icon","spinner");kt("avatar").parts("label","badge","container").extend("excessLabel","group"),kt("breadcrumb").parts("link","item","container").extend("separator"),kt("button").parts();var _t=kt("checkbox").parts("control","icon","container").extend("label");kt("progress").parts("track","filledTrack").extend("label"),kt("drawer").parts("overlay","dialogContainer","dialog").extend("header","closeButton","body","footer"),kt("editable").parts("preview","input","textarea"),kt("form").parts("container","requiredIndicator","helperText"),kt("formError").parts("text","icon");var Tt=kt("input").parts("addon","field","element","group");kt("list").parts("container","item","icon"),kt("menu").parts("button","list","item").extend("groupTitle","icon","command","divider"),kt("modal").parts("overlay","dialogContainer","dialog").extend("header","closeButton","body","footer"),kt("numberinput").parts("root","field","stepperGroup","stepper"),kt("pininput").parts("field"),kt("popover").parts("content","header","body","footer").extend("popper","arrow","closeButton"),kt("progress").parts("label","filledTrack","track"),kt("radio").parts("container","control","label");var Dt=kt("select").parts("field","icon");kt("slider").parts("container","track","thumb","filledTrack","mark"),kt("stat").parts("container","label","helpText","number","icon"),kt("switch").parts("container","track","thumb","label"),kt("table").parts("table","thead","tbody","tr","th","td","tfoot","caption"),kt("tabs").parts("root","tab","tablist","tabpanel","tabpanels","indicator");var It=kt("tag").parts("container","label","closeButton");kt("card").parts("container","header","body","footer"),kt("stepper").parts("stepper","step","title","description","indicator","separator","icon","number");var Nt=1e6,Lt=1e6,Bt="[big.js] ",Rt=Bt+"Invalid ",zt=Rt+"decimal places",$t=Rt+"rounding mode",Ht=Bt+"Division by zero",Vt={},Ft=void 0,Ut=/^-?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i;function Wt(e,t,r,n){var i=e.c;if(r===Ft&&(r=e.constructor.RM),0!==r&&1!==r&&2!==r&&3!==r)throw Error($t);if(t<1)n=3===r&&(n||!!i[0])||0===t&&(1===r&&i[0]>=5||2===r&&(i[0]>5||5===i[0]&&(n||i[1]!==Ft))),i.length=1,n?(e.e=e.e-t+1,i[0]=1):i[0]=e.e=0;else if(t<i.length){if(n=1===r&&i[t]>=5||2===r&&(i[t]>5||5===i[t]&&(n||i[t+1]!==Ft||1&i[t-1]))||3===r&&(n||!!i[0]),i.length=t,n)for(;++i[--t]>9;)if(i[t]=0,0===t){++e.e,i.unshift(1);break}for(t=i.length;!i[--t];)i.pop()}return e}function qt(e,t,r){var n=e.e,i=e.c.join(""),o=i.length;if(t)i=i.charAt(0)+(o>1?"."+i.slice(1):"")+(n<0?"e":"e+")+n;else if(n<0){for(;++n;)i="0"+i;i="0."+i}else if(n>0)if(++n>o)for(n-=o;n--;)i+="0";else n<o&&(i=i.slice(0,n)+"."+i.slice(n));else o>1&&(i=i.charAt(0)+"."+i.slice(1));return e.s<0&&r?"-"+i:i}Vt.abs=function(){var e=new this.constructor(this);return e.s=1,e},Vt.cmp=function(e){var t,r=this,n=r.c,i=(e=new r.constructor(e)).c,o=r.s,a=e.s,c=r.e,l=e.e;if(!n[0]||!i[0])return n[0]?o:i[0]?-a:0;if(o!=a)return o;if(t=o<0,c!=l)return c>l^t?1:-1;for(a=(c=n.length)<(l=i.length)?c:l,o=-1;++o<a;)if(n[o]!=i[o])return n[o]>i[o]^t?1:-1;return c==l?0:c>l^t?1:-1},Vt.div=function(e){var t=this,r=t.constructor,n=t.c,i=(e=new r(e)).c,o=t.s==e.s?1:-1,a=r.DP;if(a!==~~a||a<0||a>Nt)throw Error(zt);if(!i[0])throw Error(Ht);if(!n[0])return e.s=o,e.c=[e.e=0],e;var c,l,u,s,f,p=i.slice(),h=c=i.length,d=n.length,y=n.slice(0,c),v=y.length,g=e,m=g.c=[],b=0,w=a+(g.e=t.e-e.e)+1;for(g.s=o,o=w<0?0:w,p.unshift(0);v++<c;)y.push(0);do{for(u=0;u<10;u++){if(c!=(v=y.length))s=c>v?1:-1;else for(f=-1,s=0;++f<c;)if(i[f]!=y[f]){s=i[f]>y[f]?1:-1;break}if(!(s<0))break;for(l=v==c?i:p;v;){if(y[--v]<l[v]){for(f=v;f&&!y[--f];)y[f]=9;--y[f],y[v]+=10}y[v]-=l[v]}for(;!y[0];)y.shift()}m[b++]=s?u:++u,y[0]&&s?y[v]=n[h]||0:y=[n[h]]}while((h++<d||y[0]!==Ft)&&o--);return m[0]||1==b||(m.shift(),g.e--,w--),b>w&&Wt(g,w,r.RM,y[0]!==Ft),g},Vt.eq=function(e){return 0===this.cmp(e)},Vt.gt=function(e){return this.cmp(e)>0},Vt.gte=function(e){return this.cmp(e)>-1},Vt.lt=function(e){return this.cmp(e)<0},Vt.lte=function(e){return this.cmp(e)<1},Vt.minus=Vt.sub=function(e){var t,r,n,i,o=this,a=o.constructor,c=o.s,l=(e=new a(e)).s;if(c!=l)return e.s=-l,o.plus(e);var u=o.c.slice(),s=o.e,f=e.c,p=e.e;if(!u[0]||!f[0])return f[0]?e.s=-l:u[0]?e=new a(o):e.s=1,e;if(c=s-p){for((i=c<0)?(c=-c,n=u):(p=s,n=f),n.reverse(),l=c;l--;)n.push(0);n.reverse()}else for(r=((i=u.length<f.length)?u:f).length,c=l=0;l<r;l++)if(u[l]!=f[l]){i=u[l]<f[l];break}if(i&&(n=u,u=f,f=n,e.s=-e.s),(l=(r=f.length)-(t=u.length))>0)for(;l--;)u[t++]=0;for(l=t;r>c;){if(u[--r]<f[r]){for(t=r;t&&!u[--t];)u[t]=9;--u[t],u[r]+=10}u[r]-=f[r]}for(;0===u[--l];)u.pop();for(;0===u[0];)u.shift(),--p;return u[0]||(e.s=1,u=[p=0]),e.c=u,e.e=p,e},Vt.mod=function(e){var t,r=this,n=r.constructor,i=r.s,o=(e=new n(e)).s;if(!e.c[0])throw Error(Ht);return r.s=e.s=1,t=1==e.cmp(r),r.s=i,e.s=o,t?new n(r):(i=n.DP,o=n.RM,n.DP=n.RM=0,r=r.div(e),n.DP=i,n.RM=o,this.minus(r.times(e)))},Vt.neg=function(){var e=new this.constructor(this);return e.s=-e.s,e},Vt.plus=Vt.add=function(e){var t,r,n,i=this,o=i.constructor;if(e=new o(e),i.s!=e.s)return e.s=-e.s,i.minus(e);var a=i.e,c=i.c,l=e.e,u=e.c;if(!c[0]||!u[0])return u[0]||(c[0]?e=new o(i):e.s=i.s),e;if(c=c.slice(),t=a-l){for(t>0?(l=a,n=u):(t=-t,n=c),n.reverse();t--;)n.push(0);n.reverse()}for(c.length-u.length<0&&(n=u,u=c,c=n),t=u.length,r=0;t;c[t]%=10)r=(c[--t]=c[t]+u[t]+r)/10|0;for(r&&(c.unshift(r),++l),t=c.length;0===c[--t];)c.pop();return e.c=c,e.e=l,e},Vt.pow=function(e){var t=this,r=new t.constructor("1"),n=r,i=e<0;if(e!==~~e||e<-1e6||e>Lt)throw Error(Rt+"exponent");for(i&&(e=-e);1&e&&(n=n.times(t)),e>>=1;)t=t.times(t);return i?r.div(n):n},Vt.prec=function(e,t){if(e!==~~e||e<1||e>Nt)throw Error(Rt+"precision");return Wt(new this.constructor(this),e,t)},Vt.round=function(e,t){if(e===Ft)e=0;else if(e!==~~e||e<-Nt||e>Nt)throw Error(zt);return Wt(new this.constructor(this),e+this.e+1,t)},Vt.sqrt=function(){var e,t,r,n=this,i=n.constructor,o=n.s,a=n.e,c=new i("0.5");if(!n.c[0])return new i(n);if(o<0)throw Error(Bt+"No square root");0===(o=Math.sqrt(+qt(n,!0,!0)))||o===1/0?((t=n.c.join("")).length+a&1||(t+="0"),a=((a+1)/2|0)-(a<0||1&a),e=new i(((o=Math.sqrt(t))==1/0?"5e":(o=o.toExponential()).slice(0,o.indexOf("e")+1))+a)):e=new i(o+""),a=e.e+(i.DP+=4);do{r=e,e=c.times(r.plus(n.div(r)))}while(r.c.slice(0,a).join("")!==e.c.slice(0,a).join(""));return Wt(e,(i.DP-=4)+e.e+1,i.RM)},Vt.times=Vt.mul=function(e){var t,r=this,n=r.constructor,i=r.c,o=(e=new n(e)).c,a=i.length,c=o.length,l=r.e,u=e.e;if(e.s=r.s==e.s?1:-1,!i[0]||!o[0])return e.c=[e.e=0],e;for(e.e=l+u,a<c&&(t=i,i=o,o=t,u=a,a=c,c=u),t=new Array(u=a+c);u--;)t[u]=0;for(l=c;l--;){for(c=0,u=a+l;u>l;)c=t[u]+o[l]*i[u-l-1]+c,t[u--]=c%10,c=c/10|0;t[u]=c}for(c?++e.e:t.shift(),l=t.length;!t[--l];)t.pop();return e.c=t,e},Vt.toExponential=function(e,t){var r=this,n=r.c[0];if(e!==Ft){if(e!==~~e||e<0||e>Nt)throw Error(zt);for(r=Wt(new r.constructor(r),++e,t);r.c.length<e;)r.c.push(0)}return qt(r,!0,!!n)},Vt.toFixed=function(e,t){var r=this,n=r.c[0];if(e!==Ft){if(e!==~~e||e<0||e>Nt)throw Error(zt);for(e=e+(r=Wt(new r.constructor(r),e+r.e+1,t)).e+1;r.c.length<e;)r.c.push(0)}return qt(r,!1,!!n)},Vt[Symbol.for("nodejs.util.inspect.custom")]=Vt.toJSON=Vt.toString=function(){var e=this,t=e.constructor;return qt(e,e.e<=t.NE||e.e>=t.PE,!!e.c[0])},Vt.toNumber=function(){var e=+qt(this,!0,!0);if(!0===this.constructor.strict&&!this.eq(e.toString()))throw Error(Bt+"Imprecise conversion");return e},Vt.toPrecision=function(e,t){var r=this,n=r.constructor,i=r.c[0];if(e!==Ft){if(e!==~~e||e<1||e>Nt)throw Error(Rt+"precision");for(r=Wt(new n(r),e,t);r.c.length<e;)r.c.push(0)}return qt(r,e<=r.e||r.e<=n.NE||r.e>=n.PE,!!i)},Vt.valueOf=function(){var e=this,t=e.constructor;if(!0===t.strict)throw Error(Bt+"valueOf disallowed");return qt(e,e.e<=t.NE||e.e>=t.PE,!0)};var Yt=function e(){function t(r){var n=this;if(!(n instanceof t))return r===Ft?e():new t(r);if(r instanceof t)n.s=r.s,n.e=r.e,n.c=r.c.slice();else{if("string"!=typeof r){if(!0===t.strict&&"bigint"!=typeof r)throw TypeError(Rt+"value");r=0===r&&1/r<0?"-0":String(r)}!function(e,t){var r,n,i;if(!Ut.test(t))throw Error(Rt+"number");e.s="-"==t.charAt(0)?(t=t.slice(1),-1):1,(r=t.indexOf("."))>-1&&(t=t.replace(".",""));(n=t.search(/e/i))>0?(r<0&&(r=n),r+=+t.slice(n+1),t=t.substring(0,n)):r<0&&(r=t.length);for(i=t.length,n=0;n<i&&"0"==t.charAt(n);)++n;if(n==i)e.c=[e.e=0];else{for(;i>0&&"0"==t.charAt(--i););for(e.e=r-n-1,e.c=[],r=0;n<=i;)e.c[r++]=+t.charAt(n++)}}(n,r)}n.constructor=t}return t.prototype=Vt,t.DP=20,t.RM=1,t.NE=-7,t.PE=21,t.strict=false,t.roundDown=0,t.roundHalfUp=1,t.roundHalfEven=2,t.roundUp=3,t}();const Xt=e=>{if(e.some((e=>!Number.isFinite(e))))throw new Error(`One or more of the provided amounts is not a finite number. (amounts: ${e}, method: aggregateAmounts)`);return e.reduce(((e,t)=>e.plus(t)),new Yt(0)).toNumber()};var Kt="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function Gt(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Zt={exports:{}};Zt.exports=function(){var e=1e3,t=6e4,r=36e5,n="millisecond",i="second",o="minute",a="hour",c="day",l="week",u="month",s="quarter",f="year",p="date",h="Invalid Date",d=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,y=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,v={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],r=e%100;return"["+e+(t[(r-20)%10]||t[r]||t[0])+"]"}},g=function(e,t,r){var n=String(e);return!n||n.length>=t?e:""+Array(t+1-n.length).join(r)+e},m={s:g,z:function(e){var t=-e.utcOffset(),r=Math.abs(t),n=Math.floor(r/60),i=r%60;return(t<=0?"+":"-")+g(n,2,"0")+":"+g(i,2,"0")},m:function e(t,r){if(t.date()<r.date())return-e(r,t);var n=12*(r.year()-t.year())+(r.month()-t.month()),i=t.clone().add(n,u),o=r-i<0,a=t.clone().add(n+(o?-1:1),u);return+(-(n+(r-i)/(o?i-a:a-i))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(e){return{M:u,y:f,w:l,d:c,D:p,h:a,m:o,s:i,ms:n,Q:s}[e]||String(e||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}},b="en",w={};w[b]=v;var x="$isDayjsObject",O=function(e){return e instanceof P||!(!e||!e[x])},S=function e(t,r,n){var i;if(!t)return b;if("string"==typeof t){var o=t.toLowerCase();w[o]&&(i=o),r&&(w[o]=r,i=o);var a=t.split("-");if(!i&&a.length>1)return e(a[0])}else{var c=t.name;w[c]=t,i=c}return!n&&i&&(b=i),i||!n&&b},j=function(e,t){if(O(e))return e.clone();var r="object"==typeof t?t:{};return r.date=e,r.args=arguments,new P(r)},A=m;A.l=S,A.i=O,A.w=function(e,t){return j(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var P=function(){function v(e){this.$L=S(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[x]=!0}var g=v.prototype;return g.parse=function(e){this.$d=function(e){var t=e.date,r=e.utc;if(null===t)return new Date(NaN);if(A.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var n=t.match(d);if(n){var i=n[2]-1||0,o=(n[7]||"0").substring(0,3);return r?new Date(Date.UTC(n[1],i,n[3]||1,n[4]||0,n[5]||0,n[6]||0,o)):new Date(n[1],i,n[3]||1,n[4]||0,n[5]||0,n[6]||0,o)}}return new Date(t)}(e),this.init()},g.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},g.$utils=function(){return A},g.isValid=function(){return!(this.$d.toString()===h)},g.isSame=function(e,t){var r=j(e);return this.startOf(t)<=r&&r<=this.endOf(t)},g.isAfter=function(e,t){return j(e)<this.startOf(t)},g.isBefore=function(e,t){return this.endOf(t)<j(e)},g.$g=function(e,t,r){return A.u(e)?this[t]:this.set(r,e)},g.unix=function(){return Math.floor(this.valueOf()/1e3)},g.valueOf=function(){return this.$d.getTime()},g.startOf=function(e,t){var r=this,n=!!A.u(t)||t,s=A.p(e),h=function(e,t){var i=A.w(r.$u?Date.UTC(r.$y,t,e):new Date(r.$y,t,e),r);return n?i:i.endOf(c)},d=function(e,t){return A.w(r.toDate()[e].apply(r.toDate("s"),(n?[0,0,0,0]:[23,59,59,999]).slice(t)),r)},y=this.$W,v=this.$M,g=this.$D,m="set"+(this.$u?"UTC":"");switch(s){case f:return n?h(1,0):h(31,11);case u:return n?h(1,v):h(0,v+1);case l:var b=this.$locale().weekStart||0,w=(y<b?y+7:y)-b;return h(n?g-w:g+(6-w),v);case c:case p:return d(m+"Hours",0);case a:return d(m+"Minutes",1);case o:return d(m+"Seconds",2);case i:return d(m+"Milliseconds",3);default:return this.clone()}},g.endOf=function(e){return this.startOf(e,!1)},g.$set=function(e,t){var r,l=A.p(e),s="set"+(this.$u?"UTC":""),h=(r={},r[c]=s+"Date",r[p]=s+"Date",r[u]=s+"Month",r[f]=s+"FullYear",r[a]=s+"Hours",r[o]=s+"Minutes",r[i]=s+"Seconds",r[n]=s+"Milliseconds",r)[l],d=l===c?this.$D+(t-this.$W):t;if(l===u||l===f){var y=this.clone().set(p,1);y.$d[h](d),y.init(),this.$d=y.set(p,Math.min(this.$D,y.daysInMonth())).$d}else h&&this.$d[h](d);return this.init(),this},g.set=function(e,t){return this.clone().$set(e,t)},g.get=function(e){return this[A.p(e)]()},g.add=function(n,s){var p,h=this;n=Number(n);var d=A.p(s),y=function(e){var t=j(h);return A.w(t.date(t.date()+Math.round(e*n)),h)};if(d===u)return this.set(u,this.$M+n);if(d===f)return this.set(f,this.$y+n);if(d===c)return y(1);if(d===l)return y(7);var v=(p={},p[o]=t,p[a]=r,p[i]=e,p)[d]||1,g=this.$d.getTime()+n*v;return A.w(g,this)},g.subtract=function(e,t){return this.add(-1*e,t)},g.format=function(e){var t=this,r=this.$locale();if(!this.isValid())return r.invalidDate||h;var n=e||"YYYY-MM-DDTHH:mm:ssZ",i=A.z(this),o=this.$H,a=this.$m,c=this.$M,l=r.weekdays,u=r.months,s=r.meridiem,f=function(e,r,i,o){return e&&(e[r]||e(t,n))||i[r].slice(0,o)},p=function(e){return A.s(o%12||12,e,"0")},d=s||function(e,t,r){var n=e<12?"AM":"PM";return r?n.toLowerCase():n};return n.replace(y,(function(e,n){return n||function(e){switch(e){case"YY":return String(t.$y).slice(-2);case"YYYY":return A.s(t.$y,4,"0");case"M":return c+1;case"MM":return A.s(c+1,2,"0");case"MMM":return f(r.monthsShort,c,u,3);case"MMMM":return f(u,c);case"D":return t.$D;case"DD":return A.s(t.$D,2,"0");case"d":return String(t.$W);case"dd":return f(r.weekdaysMin,t.$W,l,2);case"ddd":return f(r.weekdaysShort,t.$W,l,3);case"dddd":return l[t.$W];case"H":return String(o);case"HH":return A.s(o,2,"0");case"h":return p(1);case"hh":return p(2);case"a":return d(o,a,!0);case"A":return d(o,a,!1);case"m":return String(a);case"mm":return A.s(a,2,"0");case"s":return String(t.$s);case"ss":return A.s(t.$s,2,"0");case"SSS":return A.s(t.$ms,3,"0");case"Z":return i}return null}(e)||i.replace(":","")}))},g.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},g.diff=function(n,p,h){var d,y=this,v=A.p(p),g=j(n),m=(g.utcOffset()-this.utcOffset())*t,b=this-g,w=function(){return A.m(y,g)};switch(v){case f:d=w()/12;break;case u:d=w();break;case s:d=w()/3;break;case l:d=(b-m)/6048e5;break;case c:d=(b-m)/864e5;break;case a:d=b/r;break;case o:d=b/t;break;case i:d=b/e;break;default:d=b}return h?d:A.a(d)},g.daysInMonth=function(){return this.endOf(u).$D},g.$locale=function(){return w[this.$L]},g.locale=function(e,t){if(!e)return this.$L;var r=this.clone(),n=S(e,t,!0);return n&&(r.$L=n),r},g.clone=function(){return A.w(this.$d,this)},g.toDate=function(){return new Date(this.valueOf())},g.toJSON=function(){return this.isValid()?this.toISOString():null},g.toISOString=function(){return this.$d.toISOString()},g.toString=function(){return this.$d.toUTCString()},v}(),M=P.prototype;return j.prototype=M,[["$ms",n],["$s",i],["$m",o],["$H",a],["$W",c],["$M",u],["$y",f],["$D",p]].forEach((function(e){M[e[1]]=function(t){return this.$g(t,e[0],e[1])}})),j.extend=function(e,t){return e.$i||(e(t,P,j),e.$i=!0),j},j.locale=S,j.isDayjs=O,j.unix=function(e){return j(1e3*e)},j.en=w[b],j.Ls=w,j.p={},j}();var Jt,Qt,er,tr=Gt(Zt.exports),rr={exports:{}};rr.exports=(Jt="minute",Qt=/[+-]\d\d(?::?\d\d)?/g,er=/([+-]|\d\d)/g,function(e,t,r){var n=t.prototype;r.utc=function(e){return new t({date:e,utc:!0,args:arguments})},n.utc=function(e){var t=r(this.toDate(),{locale:this.$L,utc:!0});return e?t.add(this.utcOffset(),Jt):t},n.local=function(){return r(this.toDate(),{locale:this.$L,utc:!1})};var i=n.parse;n.parse=function(e){e.utc&&(this.$u=!0),this.$utils().u(e.$offset)||(this.$offset=e.$offset),i.call(this,e)};var o=n.init;n.init=function(){if(this.$u){var e=this.$d;this.$y=e.getUTCFullYear(),this.$M=e.getUTCMonth(),this.$D=e.getUTCDate(),this.$W=e.getUTCDay(),this.$H=e.getUTCHours(),this.$m=e.getUTCMinutes(),this.$s=e.getUTCSeconds(),this.$ms=e.getUTCMilliseconds()}else o.call(this)};var a=n.utcOffset;n.utcOffset=function(e,t){var r=this.$utils().u;if(r(e))return this.$u?0:r(this.$offset)?a.call(this):this.$offset;if("string"==typeof e&&(e=function(e){void 0===e&&(e="");var t=e.match(Qt);if(!t)return null;var r=(""+t[0]).match(er)||["-",0,0],n=r[0],i=60*+r[1]+ +r[2];return 0===i?0:"+"===n?i:-i}(e),null===e))return this;var n=Math.abs(e)<=16?60*e:e,i=this;if(t)return i.$offset=n,i.$u=0===e,i;if(0!==e){var o=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(i=this.local().add(n+o,Jt)).$offset=n,i.$x.$localOffset=o}else i=this.utc();return i};var c=n.format;n.format=function(e){var t=e||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return c.call(this,t)},n.valueOf=function(){var e=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*e},n.isUTC=function(){return!!this.$u},n.toISOString=function(){return this.toDate().toISOString()},n.toString=function(){return this.toDate().toUTCString()};var l=n.toDate;n.toDate=function(e){return"s"===e&&this.$offset?r(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():l.call(this)};var u=n.diff;n.diff=function(e,t,n){if(e&&this.$u===e.$u)return u.call(this,e,t,n);var i=this.local(),o=r(e).local();return u.call(i,o,t,n)}});var nr=Gt(rr.exports);tr.extend(nr);const ir=({timeString:e,toEndDate:t})=>""===e?"":t?tr(`${e}T23:59:59`).utc().unix().toString():tr(e).utc().unix().toString(),or=({number:e,signDisplay:t="exceptZero",isDecimal:r=!0})=>{const n=Number(e);if(!Number.isFinite(n))return console.log(`Number is not a finite number. (number: ${n}, method: formatPercentage)`),e;return new Intl.NumberFormat("en-US",{style:"percent",minimumFractionDigits:2,signDisplay:t}).format(r?n:Yt(n).div(100).toNumber())};
2
2
  /*!
3
3
  * currency.js - v2.0.4
4
4
  * http://scurker.github.io/currency.js
@@ -6,7 +6,7 @@ import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{chakra as
6
6
  * Copyright (c) 2021 Jason Wilson
7
7
  * Released under MIT license
8
8
  */
9
- var ir={symbol:"$",separator:",",decimal:".",errorOnInvalid:!1,precision:2,pattern:"!#",negativePattern:"-!#",format:function(e,t){var r=t.pattern,n=t.negativePattern,i=t.symbol,o=t.separator,a=t.decimal,c=t.groups,l=(""+e).replace(/^-/,"").split("."),u=l[0],s=l[1];return(e.value>=0?r:n).replace("!",i).replace("#",u.replace(c,"$1"+o)+(s?a+s:""))},fromCents:!1},or=function(e){return Math.round(e)},ar=function(e){return Math.pow(10,e)},cr=/(\d)(?=(\d{3})+\b)/g,lr=/(\d)(?=(\d\d)+\d\b)/g;function ur(e,t){var r=this;if(!(r instanceof ur))return new ur(e,t);var n=Object.assign({},ir,t),i=ar(n.precision),o=sr(e,n);r.intValue=o,r.value=o/i,n.increment=n.increment||1/i,n.useVedic?n.groups=lr:n.groups=cr,this.s=n,this.p=i}function sr(e,t){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],n=0,i=t.decimal,o=t.errorOnInvalid,a=t.precision,c=t.fromCents,l=ar(a),u="number"==typeof e,s=e instanceof ur;if(s&&c)return e.intValue;if(u||s)n=s?e.value:e;else if("string"==typeof e){var f=new RegExp("[^-\\d"+i+"]","g"),p=new RegExp("\\"+i,"g");n=(n=e.replace(/\((.*)\)/,"-$1").replace(f,"").replace(p,"."))||0}else{if(o)throw Error("Invalid Input");n=0}return c||(n=(n*=l).toFixed(4)),r?or(n):n}ur.prototype={add:function(e){var t=this.intValue,r=this.s,n=this.p;return ur((t+=sr(e,r))/(r.fromCents?1:n),r)},subtract:function(e){var t=this.intValue,r=this.s,n=this.p;return ur((t-=sr(e,r))/(r.fromCents?1:n),r)},multiply:function(e){var t=this.intValue,r=this.s;return ur((t*=e)/(r.fromCents?1:ar(r.precision)),r)},divide:function(e){var t=this.intValue,r=this.s;return ur(t/=sr(e,r,!1),r)},distribute:function(e){for(var t=this.intValue,r=this.p,n=this.s,i=[],o=Math[t>=0?"floor":"ceil"](t/e),a=Math.abs(t-o*e),c=n.fromCents?1:r;0!==e;e--){var l=ur(o/c,n);a-- >0&&(l=l[t>=0?"add":"subtract"](1/c)),i.push(l)}return i},dollars:function(){return~~this.value},cents:function(){return~~(this.intValue%this.p)},format:function(e){var t=this.s;return"function"==typeof e?e(this,t):t.format(this,Object.assign({},t,e))},toString:function(){var e,t,r=this.intValue,n=this.p,i=this.s;return(e=r/n,t=i.increment,or(e/t)*t).toFixed(i.precision)},toJSON:function(){return this.value}};const fr=({amount:e,autoPrecision:t,precision:r=2,signDisplay:n=!1})=>{const i=Number(e);if(!Number.isFinite(i))return console.log(`Amount is not a finite number. (amount: ${i}, method: formatUsd)`),e;const o=ur(i,{precision:t&&i>-1&&i<1&&0!==i?5:r}).format();return n&&i>0?`+${o}`:o},pr=({data:e,dataKey:t})=>{const r=e?.length?Number(e[0][t]):0,n=e?.length?Number(e[e.length-1][t]):0;if(!e?.length)return{startingAmount:0,endingAmount:0,delta:0,percentChange:0,isNetGain:!0};if(!Number.isFinite(r)||!Number.isFinite(n))throw new Error(`Starting or ending amount is not a finite number. (startingAmount: ${r}, endingAmount: ${n}, method: getDelta)`);const i=new Wt(r),o=new Wt(n),a=o.minus(i);return{startingAmount:r,endingAmount:n,delta:a.toNumber(),percentChange:0===i.toNumber()?0:a.div(i).mul(100).toNumber(),isNetGain:o.gt(i)}},hr=e=>{let t;return["sm","xs"].includes(e)&&(t="xs"),t},dr=({arr:e,n:t})=>{const r=br(e);return br(r.filter(((e,r)=>r%t==0)))},yr={redRemains:(e=1)=>vr({rgb:"rgb(255, 223, 223)",alpha:e}),heroicRed:(e=1)=>vr({rgb:"rgb(210, 25, 25)",alpha:e}),aijiroWhite:(e=1)=>vr({rgb:"rgb(238, 248, 247)",alpha:e}),mint:(e=1)=>vr({rgb:"rgb(64, 178, 136)",alpha:e}),white:(e=1)=>vr({rgb:"rgb(255, 255, 255)",alpha:e,enabledAlphaValues:[.2]}),lighthouse:(e=1)=>vr({rgb:"rgb(244, 244, 244)",alpha:e}),coolElegance:(e=1)=>vr({rgb:"rgb(205, 207, 209)",alpha:e}),sonicSilver:(e=1)=>vr({rgb:"rgb(117, 117, 117)",alpha:e}),black:(e=1)=>vr({rgb:"rgb(0, 0, 0)",alpha:e,enabledAlphaValues:[.08]})},vr=({rgb:e,alpha:t,enabledAlphaValues:r=[1]})=>{if(![...r,1].includes(t))throw`Unsupported alpha value: ${t}. Update the color function in uiColors.ts to enable additional values.`;const[n,i,o]=e.replace(/[^\d,]/g,"").split(",");return`rgba(${n}, ${i}, ${o}, ${t})`},gr=({usd:e,precision:t=2,autoPrecision:r})=>{const n=ur(e).value;return ur(e,{precision:r&&n>-1&&n<1&&0!==n?5:t}).value};Qt.extend(tr);const mr=({dateFormat:e="MM/DD/YY",timeString:t})=>Qt.utc(t).local().format(e),br=e=>Array.from(e).reverse(),{definePartsStyle:wr,defineMultiStyleConfig:xr}=i(Mt.keys),Or=xr({baseStyle:wr({root:{display:"flex",flexDirection:"column",gap:2},container:{borderRadius:"lg",borderWidth:"1px",borderStyle:"solid",borderColor:"gray.300",bg:"gray.100",color:yr.black(),overflow:"hidden",'&:has(button[aria-expanded="true"])':{boxShadow:"0px 2px 8px 0px rgba(0, 0, 0, 0.08)"}},button:{px:4,py:4,bg:yr.white(),fontSize:"md",_hover:{bg:yr.lighthouse()}},panel:{borderTopWidth:"1px",borderTopStyle:"solid",borderTopColor:"gray.300",fontSize:"sm",bg:yr.lighthouse(),py:"4",px:"4"}}),variants:{spacious:wr({container:{borderRadius:"lg"},button:{py:8,px:6,fontSize:"md"},panel:{fontSize:"sm",bg:yr.lighthouse(),p:"8"}})}}),{definePartsStyle:Sr,defineMultiStyleConfig:jr}=i(kt.keys),Ar=jr({baseStyle:Sr((e=>{const{colorScheme:t,theme:r}=e,n=r.colors[t];return{icon:{svg:{path:{fill:n[500]}}},container:{bg:n[100],borderColor:n[500],borderRadius:"lg",borderStyle:"solid",borderWidth:1,padding:4},description:{color:"blackAlpha.900"},title:{color:"blackAlpha.900"}}})),defaultProps:{variant:"subtle"}}),Pr=o({borderColor:"red.700",color:"red.700",border:"solid 2px",":hover, :focus":{backgroundColor:"gray.200"},svg:{path:{fill:"red.700"}}}),Mr=o({":hover, :focus":{background:"brand.600"}}),kr=o({background:"brand.50",color:"brand.500",svg:{path:{fill:"brand.500"}},":hover, :focus":{bg:"brand.100",color:"brand.600",svg:{path:{fill:"brand.600"}}},_active:{bg:"brand.100",color:"brand.600",svg:{path:{fill:"brand.600"}}}}),Er=o({border:"solid 2px",borderColor:"brand.600",color:"brand.600",":hover, :focus":{backgroundColor:"brand.50"},svg:{path:{fill:"brand.600"}}}),Cr=o({boxShadow:"none",color:"brand.600",":hover, :focus":{backgroundColor:"brand.50"},svg:{path:{fill:"brand.600"}}}),_r=a({baseStyle:{boxShadow:"0px 8px 16px 0px rgba(0,0,0,0.08)",svg:{width:"1em",height:"1em",path:{fill:"white"}}},sizes:{xs:o({lineHeight:1})},variants:{alert:Pr,outline:Er,ghost:Cr,secondary:kr,solid:Mr}}),{definePartsStyle:Tr,defineMultiStyleConfig:Dr}=i(Et.keys),Nr=Dr({baseStyle:Tr({control:{borderRadius:"base",borderColor:"brand.500",svg:{path:{fill:"inherit"}},_checked:{svg:{path:{fill:"white"}}},_hover:{bg:"gray.50",boxShadow:"0px 2px 8px 0px rgba(0, 0, 0, 0.08)",_disabled:{bg:"gray.100"}},_indeterminate:{bg:"brand.100",borderColor:"brand.100",_hover:{bg:"brand.100",boxShadow:"none"}},_invalid:{_checked:{borderColor:"brand.500"}}}}),sizes:{lg:{control:{boxSize:7,svg:{width:"1.75em"}}},md:{control:{boxSize:6,svg:{width:"1.5em"}}},sm:{control:{boxSize:4,svg:{width:"1.5em"}}}}}),Ir=a({baseStyle:{helperText:{fontSize:"sm"}}}),Lr=a({sizes:{sm:{text:{fontSize:"xs"}},xs:{text:{fontSize:"xs"}}}}),Br=a({baseStyle:{color:yr.sonicSilver(),fontFamily:"heading",fontSize:"sm",_disabled:{opacity:1}},sizes:{sm:{fontSize:"sm"},xs:{fontSize:"xs"}}}),Rr=a({sizes:{xl:o({fontSize:"4xl"}),lg:o({fontSize:"3xl"}),md:o({fontSize:"2xl"}),sm:o({fontSize:"xl"}),xs:o({fontSize:"md"})}}),{definePartsStyle:zr,defineMultiStyleConfig:$r}=i(Ct.keys),Hr=$r({baseStyle:zr({group:{"svg:not(.asset-logo)":{width:"1em",height:"1em"}},field:{_readOnly:{pointerEvents:"none"}}}),sizes:{lg:zr({field:{fontSize:"md"}})},variants:{outline:{group:{"svg:not(.asset-logo)":{path:{fill:yr.sonicSilver()}},_groupFocus:{"svg:not(.asset-logo)":{path:{fill:yr.black()}}},_groupDisabled:{"svg:not(.asset-logo)":{path:{fill:yr.coolElegance()}}}},field:{border:"solid 1px",borderRadius:"lg",borderColor:yr.coolElegance(),color:yr.sonicSilver(),":focus":{color:yr.black(),borderColor:yr.black()},":hover:not([disabled])":{boxShadow:"0px 2px 8px 0px rgba(0, 0, 0, 0.08)"},_disabled:{color:yr.sonicSilver(),opacity:1,bg:yr.lighthouse(),":focus, :hover":{borderColor:yr.coolElegance(),bg:yr.lighthouse()}},_invalid:{":focus, :hover":{borderColor:"red.500"}}},addon:{bg:"white",border:"solid 1px",borderRadius:"lg",borderColor:yr.coolElegance(),color:yr.black(),":hover:not([disabled])":{boxShadow:"0px 2px 8px 0px rgba(0, 0, 0, 0.08)"},":focus":{borderColor:yr.black()},_disabled:{color:yr.sonicSilver(),opacity:1,bg:yr.lighthouse(),":focus, :hover":{borderColor:yr.coolElegance(),bg:yr.lighthouse()}},_invalid:{":focus, :hover":{borderColor:"red.500"}}}}},defaultProps:{size:"lg",variant:"outline"}}),{definePartsStyle:Vr,defineMultiStyleConfig:Fr}=i(_t.keys),Ur=Fr({baseStyle:Vr({field:{_readOnly:{pointerEvents:"none"}}}),sizes:{lg:Vr({field:{fontSize:"md"}})},variants:{outline:{field:{border:"solid 1px",borderColor:yr.coolElegance(),borderRadius:"lg",color:yr.sonicSilver(),pr:10,_focus:{color:yr.black(),borderColor:yr.black(),"+.chakra-select__icon-wrapper":{svg:{color:yr.black(),path:{fill:yr.black()}}}},":hover:not([disabled])":{boxShadow:"0px 2px 8px 0px rgba(0, 0, 0, 0.08)"},_disabled:{color:yr.sonicSilver(),opacity:1,bg:yr.lighthouse(),":focus, :hover":{borderColor:yr.coolElegance(),bg:yr.lighthouse()}},_invalid:{":focus, :hover":{borderColor:"red.500"}}},icon:{width:"1em",height:"1em",fontSize:"1em",mr:2,path:{fill:yr.sonicSilver()},_disabled:{opacity:1,path:{fill:yr.coolElegance()}}}}},defaultProps:{size:"lg",variant:"outline"}}),Wr=a({variants:{simple:{th:{borderColor:yr.coolElegance()},td:{borderColor:yr.coolElegance()},tr:{_last:{td:{border:"none"}}}},grayHeader:{th:{background:yr.lighthouse(),color:yr.sonicSilver(),borderBottom:"1px solid",borderColor:yr.coolElegance()},td:{borderBottom:"1px solid",borderColor:yr.coolElegance()},tr:{_last:{td:{border:"none"}}}}}}),{definePartsStyle:qr,defineMultiStyleConfig:Yr}=i(Tt.keys),Xr=qr({container:{color:"blackAlpha.900",fontWeight:"bold",borderRadius:"full",svg:{path:{fill:"blackAlpha.900"}}}}),Kr=qr({container:{bg:"red.100",borderWidth:1,borderColor:"red.500"}}),Gr=qr({container:{bg:"yellow.100",borderColor:"yellow.500",borderWidth:1}});var Zr=c({colors:{brand:{50:"#fcf2fe",100:"#f0c4f9",200:"#eaacf7",300:"#e495f4",400:"#de7ef2",500:"#d250ed",600:"#c622e8",700:"#b816da",800:"#a514c3",900:"#7e0f95"}},components:{Accordion:Or,Alert:Ar,Button:_r,Checkbox:Nr,Input:Hr,Heading:Rr,Form:Ir,FormLabel:Br,FormError:Lr,Select:Ur,Table:Wr,Tag:Yr({baseStyle:Xr,defaultProps:{variant:"outline"},variants:{error:Kr,success:qr({container:{bg:"green.100",borderColor:"green.500",borderWidth:1}}),warning:Gr,outline:{container:{boxShadow:"none",borderColor:"brand.500",borderWidth:1}}},sizes:{sm:{container:{px:4,py:0}},md:{container:{px:6,py:1}},lg:{container:{px:6,py:1}}}})},styles:{global:{"[data-focus], :focus":{boxShadow:"none !important"},"::placeholder":{color:"gray.500"},"input[type=date]:invalid::-webkit-datetime-edit":{color:"gray.500"},"::-webkit-calendar-picker-indicator":{cursor:"pointer",filter:"opacity(40%)"},".recharts-surface":{overflow:"visible !important"},".recharts-surface .shadow":{filter:"drop-shadow(0 3px 5px rgba(0, 0, 0, 0.075))"}}}},l({colorScheme:"brand"}));const Jr={components:Zr.components,styles:Zr.styles},Qr=e=>{const t=String(e).replace(/\D/g,"").match(/^(\d{3})(\d{3})(\d{4})$/);return t?`(${t[1]}) ${t[2]}-${t[3]}`:e};let en,tn,rn=(e=21)=>{var t;t=e-=0,!en||en.length<t?(en=Buffer.allocUnsafe(128*t),J.randomFillSync(en),tn=0):tn+t>en.length&&(J.randomFillSync(en),tn=0),tn+=t;let r="";for(let t=tn-e;t<tn;t++)r+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[63&en[t]];return r};function nn(e){var t,r,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(r=nn(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function on(){for(var e,t,r=0,n="",i=arguments.length;r<i;r++)(e=arguments[r])&&(t=nn(e))&&(n&&(n+=" "),n+=t);return n}var an=Array.isArray,cn="object"==typeof Yt&&Yt&&Yt.Object===Object&&Yt,ln=cn,un="object"==typeof self&&self&&self.Object===Object&&self,sn=ln||un||Function("return this")(),fn=sn.Symbol,pn=fn,hn=Object.prototype,dn=hn.hasOwnProperty,yn=hn.toString,vn=pn?pn.toStringTag:void 0;var gn=function(e){var t=dn.call(e,vn),r=e[vn];try{e[vn]=void 0;var n=!0}catch(e){}var i=yn.call(e);return n&&(t?e[vn]=r:delete e[vn]),i},mn=Object.prototype.toString;var bn=gn,wn=function(e){return mn.call(e)},xn=fn?fn.toStringTag:void 0;var On=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":xn&&xn in Object(e)?bn(e):wn(e)};var Sn=function(e){return null!=e&&"object"==typeof e},jn=On,An=Sn;var Pn=function(e){return"symbol"==typeof e||An(e)&&"[object Symbol]"==jn(e)},Mn=an,kn=Pn,En=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Cn=/^\w*$/;var _n=function(e,t){if(Mn(e))return!1;var r=typeof e;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=e&&!kn(e))||(Cn.test(e)||!En.test(e)||null!=t&&e in Object(t))};var Tn=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)},Dn=Xt(Tn),Nn=On,In=Tn;var Ln,Bn=function(e){if(!In(e))return!1;var t=Nn(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t},Rn=Xt(Bn),zn=sn["__core-js_shared__"],$n=(Ln=/[^.]+$/.exec(zn&&zn.keys&&zn.keys.IE_PROTO||""))?"Symbol(src)_1."+Ln:"";var Hn=function(e){return!!$n&&$n in e},Vn=Function.prototype.toString;var Fn=function(e){if(null!=e){try{return Vn.call(e)}catch(e){}try{return e+""}catch(e){}}return""},Un=Bn,Wn=Hn,qn=Tn,Yn=Fn,Xn=/^\[object .+?Constructor\]$/,Kn=Function.prototype,Gn=Object.prototype,Zn=Kn.toString,Jn=Gn.hasOwnProperty,Qn=RegExp("^"+Zn.call(Jn).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var ei=function(e,t){return null==e?void 0:e[t]},ti=function(e){return!(!qn(e)||Wn(e))&&(Un(e)?Qn:Xn).test(Yn(e))},ri=ei;var ni=function(e,t){var r=ri(e,t);return ti(r)?r:void 0},ii=ni(Object,"create"),oi=ii;var ai=function(){this.__data__=oi?oi(null):{},this.size=0};var ci=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},li=ii,ui=Object.prototype.hasOwnProperty;var si=function(e){var t=this.__data__;if(li){var r=t[e];return"__lodash_hash_undefined__"===r?void 0:r}return ui.call(t,e)?t[e]:void 0},fi=ii,pi=Object.prototype.hasOwnProperty;var hi=ii;var di=ai,yi=ci,vi=si,gi=function(e){var t=this.__data__;return fi?void 0!==t[e]:pi.call(t,e)},mi=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=hi&&void 0===t?"__lodash_hash_undefined__":t,this};function bi(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}bi.prototype.clear=di,bi.prototype.delete=yi,bi.prototype.get=vi,bi.prototype.has=gi,bi.prototype.set=mi;var wi=bi;var xi=function(){this.__data__=[],this.size=0};var Oi=function(e,t){return e===t||e!=e&&t!=t},Si=Oi;var ji=function(e,t){for(var r=e.length;r--;)if(Si(e[r][0],t))return r;return-1},Ai=ji,Pi=Array.prototype.splice;var Mi=ji;var ki=ji;var Ei=ji;var Ci=xi,_i=function(e){var t=this.__data__,r=Ai(t,e);return!(r<0)&&(r==t.length-1?t.pop():Pi.call(t,r,1),--this.size,!0)},Ti=function(e){var t=this.__data__,r=Mi(t,e);return r<0?void 0:t[r][1]},Di=function(e){return ki(this.__data__,e)>-1},Ni=function(e,t){var r=this.__data__,n=Ei(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this};function Ii(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}Ii.prototype.clear=Ci,Ii.prototype.delete=_i,Ii.prototype.get=Ti,Ii.prototype.has=Di,Ii.prototype.set=Ni;var Li=Ii,Bi=ni(sn,"Map"),Ri=wi,zi=Li,$i=Bi;var Hi=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e};var Vi=function(e,t){var r=e.__data__;return Hi(t)?r["string"==typeof t?"string":"hash"]:r.map},Fi=Vi;var Ui=Vi;var Wi=Vi;var qi=Vi;var Yi=function(){this.size=0,this.__data__={hash:new Ri,map:new($i||zi),string:new Ri}},Xi=function(e){var t=Fi(this,e).delete(e);return this.size-=t?1:0,t},Ki=function(e){return Ui(this,e).get(e)},Gi=function(e){return Wi(this,e).has(e)},Zi=function(e,t){var r=qi(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this};function Ji(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}Ji.prototype.clear=Yi,Ji.prototype.delete=Xi,Ji.prototype.get=Ki,Ji.prototype.has=Gi,Ji.prototype.set=Zi;var Qi=Ji,eo=Qi;function to(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var r=function(){var n=arguments,i=t?t.apply(this,n):n[0],o=r.cache;if(o.has(i))return o.get(i);var a=e.apply(this,n);return r.cache=o.set(i,a)||o,a};return r.cache=new(to.Cache||eo),r}to.Cache=eo;var ro=to,no=Xt(ro),io=ro;var oo=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ao=/\\(\\)?/g,co=function(e){var t=io(e,(function(e){return 500===r.size&&r.clear(),e})),r=t.cache;return t}((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(oo,(function(e,r,n,i){t.push(n?i.replace(ao,"$1"):r||e)})),t})),lo=co;var uo=function(e,t){for(var r=-1,n=null==e?0:e.length,i=Array(n);++r<n;)i[r]=t(e[r],r,e);return i},so=uo,fo=an,po=Pn,ho=fn?fn.prototype:void 0,yo=ho?ho.toString:void 0;var vo=function e(t){if("string"==typeof t)return t;if(fo(t))return so(t,e)+"";if(po(t))return yo?yo.call(t):"";var r=t+"";return"0"==r&&1/t==-1/0?"-0":r},go=vo;var mo=function(e){return null==e?"":go(e)},bo=an,wo=_n,xo=lo,Oo=mo;var So=function(e,t){return bo(e)?e:wo(e,t)?[e]:xo(Oo(e))},jo=Pn;var Ao=function(e){if("string"==typeof e||jo(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t},Po=So,Mo=Ao;var ko=function(e,t){for(var r=0,n=(t=Po(t,e)).length;null!=e&&r<n;)e=e[Mo(t[r++])];return r&&r==n?e:void 0},Eo=ko;var Co=function(e,t,r){var n=null==e?void 0:Eo(e,t);return void 0===n?r:n},_o=Xt(Co);var To=Xt((function(e){return null==e})),Do=On,No=an,Io=Sn;var Lo,Bo=Xt((function(e){return"string"==typeof e||!No(e)&&Io(e)&&"[object String]"==Do(e)})),Ro={exports:{}},zo={};var $o,Ho={};
9
+ var ar={symbol:"$",separator:",",decimal:".",errorOnInvalid:!1,precision:2,pattern:"!#",negativePattern:"-!#",format:function(e,t){var r=t.pattern,n=t.negativePattern,i=t.symbol,o=t.separator,a=t.decimal,c=t.groups,l=(""+e).replace(/^-/,"").split("."),u=l[0],s=l[1];return(e.value>=0?r:n).replace("!",i).replace("#",u.replace(c,"$1"+o)+(s?a+s:""))},fromCents:!1},cr=function(e){return Math.round(e)},lr=function(e){return Math.pow(10,e)},ur=/(\d)(?=(\d{3})+\b)/g,sr=/(\d)(?=(\d\d)+\d\b)/g;function fr(e,t){var r=this;if(!(r instanceof fr))return new fr(e,t);var n=Object.assign({},ar,t),i=lr(n.precision),o=pr(e,n);r.intValue=o,r.value=o/i,n.increment=n.increment||1/i,n.useVedic?n.groups=sr:n.groups=ur,this.s=n,this.p=i}function pr(e,t){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],n=0,i=t.decimal,o=t.errorOnInvalid,a=t.precision,c=t.fromCents,l=lr(a),u="number"==typeof e,s=e instanceof fr;if(s&&c)return e.intValue;if(u||s)n=s?e.value:e;else if("string"==typeof e){var f=new RegExp("[^-\\d"+i+"]","g"),p=new RegExp("\\"+i,"g");n=(n=e.replace(/\((.*)\)/,"-$1").replace(f,"").replace(p,"."))||0}else{if(o)throw Error("Invalid Input");n=0}return c||(n=(n*=l).toFixed(4)),r?cr(n):n}fr.prototype={add:function(e){var t=this.intValue,r=this.s,n=this.p;return fr((t+=pr(e,r))/(r.fromCents?1:n),r)},subtract:function(e){var t=this.intValue,r=this.s,n=this.p;return fr((t-=pr(e,r))/(r.fromCents?1:n),r)},multiply:function(e){var t=this.intValue,r=this.s;return fr((t*=e)/(r.fromCents?1:lr(r.precision)),r)},divide:function(e){var t=this.intValue,r=this.s;return fr(t/=pr(e,r,!1),r)},distribute:function(e){for(var t=this.intValue,r=this.p,n=this.s,i=[],o=Math[t>=0?"floor":"ceil"](t/e),a=Math.abs(t-o*e),c=n.fromCents?1:r;0!==e;e--){var l=fr(o/c,n);a-- >0&&(l=l[t>=0?"add":"subtract"](1/c)),i.push(l)}return i},dollars:function(){return~~this.value},cents:function(){return~~(this.intValue%this.p)},format:function(e){var t=this.s;return"function"==typeof e?e(this,t):t.format(this,Object.assign({},t,e))},toString:function(){var e,t,r=this.intValue,n=this.p,i=this.s;return(e=r/n,t=i.increment,cr(e/t)*t).toFixed(i.precision)},toJSON:function(){return this.value}};const hr=({amount:e,autoPrecision:t,precision:r=2,signDisplay:n=!1})=>{const i=Number(e);if(!Number.isFinite(i))return console.log(`Amount is not a finite number. (amount: ${i}, method: formatUsd)`),e;const o=fr(i,{precision:t&&i>-1&&i<1&&0!==i?5:r}).format();return n&&i>0?`+${o}`:o},dr=({data:e,dataKey:t})=>{const r=e?.length?Number(e[0][t]):0,n=e?.length?Number(e[e.length-1][t]):0;if(!e?.length)return{startingAmount:0,endingAmount:0,delta:0,percentChange:0,isNetGain:!0};if(!Number.isFinite(r)||!Number.isFinite(n))throw new Error(`Starting or ending amount is not a finite number. (startingAmount: ${r}, endingAmount: ${n}, method: getDelta)`);const i=new Yt(r),o=new Yt(n),a=o.minus(i);return{startingAmount:r,endingAmount:n,delta:a.toNumber(),percentChange:0===i.toNumber()?0:a.div(i).mul(100).toNumber(),isNetGain:o.gt(i)}},yr=e=>{let t;return["sm","xs"].includes(e)&&(t="xs"),t},vr=({arr:e,n:t})=>{const r=xr(e);return xr(r.filter(((e,r)=>r%t==0)))},gr={redRemains:(e=1)=>mr({rgb:"rgb(255, 223, 223)",alpha:e}),heroicRed:(e=1)=>mr({rgb:"rgb(210, 25, 25)",alpha:e}),aijiroWhite:(e=1)=>mr({rgb:"rgb(238, 248, 247)",alpha:e}),mint:(e=1)=>mr({rgb:"rgb(64, 178, 136)",alpha:e}),white:(e=1)=>mr({rgb:"rgb(255, 255, 255)",alpha:e,enabledAlphaValues:[.2]}),lighthouse:(e=1)=>mr({rgb:"rgb(244, 244, 244)",alpha:e}),coolElegance:(e=1)=>mr({rgb:"rgb(205, 207, 209)",alpha:e}),sonicSilver:(e=1)=>mr({rgb:"rgb(117, 117, 117)",alpha:e}),black:(e=1)=>mr({rgb:"rgb(0, 0, 0)",alpha:e,enabledAlphaValues:[.08]})},mr=({rgb:e,alpha:t,enabledAlphaValues:r=[1]})=>{if(![...r,1].includes(t))throw`Unsupported alpha value: ${t}. Update the color function in uiColors.ts to enable additional values.`;const[n,i,o]=e.replace(/[^\d,]/g,"").split(",");return`rgba(${n}, ${i}, ${o}, ${t})`},br=({usd:e,precision:t=2,autoPrecision:r})=>{const n=fr(e).value;return fr(e,{precision:r&&n>-1&&n<1&&0!==n?5:t}).value};tr.extend(nr);const wr=({dateFormat:e="MM/DD/YY",timeString:t})=>tr.utc(t).local().format(e),xr=e=>Array.from(e).reverse(),{definePartsStyle:Or,defineMultiStyleConfig:Sr}=i(Et.keys),jr=Sr({baseStyle:Or({root:{display:"flex",flexDirection:"column",gap:2},container:{borderRadius:"lg",borderWidth:"1px",borderStyle:"solid",borderColor:"gray.300",bg:"gray.100",color:gr.black(),overflow:"hidden",'&:has(button[aria-expanded="true"])':{boxShadow:"0px 2px 8px 0px rgba(0, 0, 0, 0.08)"}},button:{px:4,py:4,bg:gr.white(),fontSize:"md",_hover:{bg:gr.lighthouse()}},panel:{borderTopWidth:"1px",borderTopStyle:"solid",borderTopColor:"gray.300",fontSize:"sm",bg:gr.lighthouse(),py:"4",px:"4"}}),variants:{spacious:Or({container:{borderRadius:"lg"},button:{py:8,px:6,fontSize:"md"},panel:{fontSize:"sm",bg:gr.lighthouse(),p:"8"}})}}),{definePartsStyle:Ar,defineMultiStyleConfig:Pr}=i(Ct.keys),Mr=Pr({baseStyle:Ar((e=>{const{colorScheme:t,theme:r}=e,n=r.colors[t];return{icon:{svg:{path:{fill:n[500]}}},container:{bg:n[100],borderColor:n[500],borderRadius:"lg",borderStyle:"solid",borderWidth:1,padding:4},description:{color:"blackAlpha.900"},title:{color:"blackAlpha.900"}}})),defaultProps:{variant:"subtle"}}),kr=o({borderColor:"red.700",color:"red.700",border:"solid 2px",":hover, :focus":{backgroundColor:"gray.200"},svg:{path:{fill:"red.700"}}}),Er=o({":hover, :focus":{background:"brand.600"}}),Cr=o({background:"brand.50",color:"brand.500",svg:{path:{fill:"brand.500"}},":hover, :focus":{bg:"brand.100",color:"brand.600",svg:{path:{fill:"brand.600"}}},_active:{bg:"brand.100",color:"brand.600",svg:{path:{fill:"brand.600"}}}}),_r=o({border:"solid 2px",borderColor:"brand.600",color:"brand.600",":hover, :focus":{backgroundColor:"brand.50"},svg:{path:{fill:"brand.600"}}}),Tr=o({boxShadow:"none",color:"brand.600",":hover, :focus":{backgroundColor:"brand.50"},svg:{path:{fill:"brand.600"}}}),Dr=a({baseStyle:{boxShadow:"0px 8px 16px 0px rgba(0,0,0,0.08)",svg:{width:"1em",height:"1em",path:{fill:"white"}}},sizes:{xs:o({lineHeight:1})},variants:{alert:kr,outline:_r,ghost:Tr,secondary:Cr,solid:Er}}),{definePartsStyle:Ir,defineMultiStyleConfig:Nr}=i(_t.keys),Lr=Nr({baseStyle:Ir({control:{borderRadius:"base",borderColor:"brand.500",svg:{path:{fill:"inherit"}},_checked:{svg:{path:{fill:"white"}}},_hover:{bg:"gray.50",boxShadow:"0px 2px 8px 0px rgba(0, 0, 0, 0.08)",_disabled:{bg:"gray.100"}},_indeterminate:{bg:"brand.100",borderColor:"brand.100",_hover:{bg:"brand.100",boxShadow:"none"}},_invalid:{_checked:{borderColor:"brand.500"}}}}),sizes:{lg:{control:{boxSize:7,svg:{width:"1.75em"}}},md:{control:{boxSize:6,svg:{width:"1.5em"}}},sm:{control:{boxSize:4,svg:{width:"1.5em"}}}}}),Br=a({baseStyle:{helperText:{fontSize:"sm"}}}),Rr=a({sizes:{sm:{text:{fontSize:"xs"}},xs:{text:{fontSize:"xs"}}}}),zr=a({baseStyle:{color:gr.sonicSilver(),fontFamily:"heading",fontSize:"sm",_disabled:{opacity:1}},sizes:{sm:{fontSize:"sm"},xs:{fontSize:"xs"}}}),$r=a({sizes:{xl:o({fontSize:"4xl"}),lg:o({fontSize:"3xl"}),md:o({fontSize:"2xl"}),sm:o({fontSize:"xl"}),xs:o({fontSize:"md"})}}),{definePartsStyle:Hr,defineMultiStyleConfig:Vr}=i(Tt.keys),Fr=Vr({baseStyle:Hr({group:{"svg:not(.asset-logo)":{width:"1em",height:"1em"}},field:{_readOnly:{pointerEvents:"none"}}}),sizes:{lg:Hr({field:{fontSize:"md"}})},variants:{outline:{group:{"svg:not(.asset-logo)":{path:{fill:gr.sonicSilver()}},_groupFocus:{"svg:not(.asset-logo)":{path:{fill:gr.black()}}},_groupDisabled:{"svg:not(.asset-logo)":{path:{fill:gr.coolElegance()}}}},field:{border:"solid 1px",borderRadius:"lg",borderColor:gr.coolElegance(),color:gr.sonicSilver(),":focus":{color:gr.black(),borderColor:gr.black()},":hover:not([disabled])":{boxShadow:"0px 2px 8px 0px rgba(0, 0, 0, 0.08)"},_disabled:{color:gr.sonicSilver(),opacity:1,bg:gr.lighthouse(),":focus, :hover":{borderColor:gr.coolElegance(),bg:gr.lighthouse()}},_invalid:{":focus, :hover":{borderColor:"red.500"}}},addon:{bg:"white",border:"solid 1px",borderRadius:"lg",borderColor:gr.coolElegance(),color:gr.black(),":hover:not([disabled])":{boxShadow:"0px 2px 8px 0px rgba(0, 0, 0, 0.08)"},":focus":{borderColor:gr.black()},_disabled:{color:gr.sonicSilver(),opacity:1,bg:gr.lighthouse(),":focus, :hover":{borderColor:gr.coolElegance(),bg:gr.lighthouse()}},_invalid:{":focus, :hover":{borderColor:"red.500"}}}}},defaultProps:{size:"lg",variant:"outline"}}),{definePartsStyle:Ur,defineMultiStyleConfig:Wr}=i(Dt.keys),qr=Wr({baseStyle:Ur({field:{_readOnly:{pointerEvents:"none"}}}),sizes:{lg:Ur({field:{fontSize:"md"}})},variants:{outline:{field:{border:"solid 1px",borderColor:gr.coolElegance(),borderRadius:"lg",color:gr.sonicSilver(),pr:10,_focus:{color:gr.black(),borderColor:gr.black(),"+.chakra-select__icon-wrapper":{svg:{color:gr.black(),path:{fill:gr.black()}}}},":hover:not([disabled])":{boxShadow:"0px 2px 8px 0px rgba(0, 0, 0, 0.08)"},_disabled:{color:gr.sonicSilver(),opacity:1,bg:gr.lighthouse(),":focus, :hover":{borderColor:gr.coolElegance(),bg:gr.lighthouse()}},_invalid:{":focus, :hover":{borderColor:"red.500"}}},icon:{width:"1em",height:"1em",fontSize:"1em",mr:2,path:{fill:gr.sonicSilver()},_disabled:{opacity:1,path:{fill:gr.coolElegance()}}}}},defaultProps:{size:"lg",variant:"outline"}}),Yr=a({variants:{simple:{th:{borderColor:gr.coolElegance()},td:{borderColor:gr.coolElegance()},tr:{_last:{td:{border:"none"}}}},grayHeader:{th:{background:gr.lighthouse(),color:gr.sonicSilver(),borderBottom:"1px solid",borderColor:gr.coolElegance()},td:{borderBottom:"1px solid",borderColor:gr.coolElegance()},tr:{_last:{td:{border:"none"}}}}}}),{definePartsStyle:Xr,defineMultiStyleConfig:Kr}=i(It.keys),Gr=Xr({container:{color:"blackAlpha.900",fontWeight:"bold",borderRadius:"full",svg:{path:{fill:"blackAlpha.900"}}}}),Zr=Xr({container:{bg:"red.100",borderWidth:1,borderColor:"red.500"}}),Jr=Xr({container:{bg:"yellow.100",borderColor:"yellow.500",borderWidth:1}});var Qr=c({colors:{brand:{50:"#fcf2fe",100:"#f0c4f9",200:"#eaacf7",300:"#e495f4",400:"#de7ef2",500:"#d250ed",600:"#c622e8",700:"#b816da",800:"#a514c3",900:"#7e0f95"}},components:{Accordion:jr,Alert:Mr,Button:Dr,Checkbox:Lr,Input:Fr,Heading:$r,Form:Br,FormLabel:zr,FormError:Rr,Select:qr,Table:Yr,Tag:Kr({baseStyle:Gr,defaultProps:{variant:"outline"},variants:{error:Zr,success:Xr({container:{bg:"green.100",borderColor:"green.500",borderWidth:1}}),warning:Jr,outline:{container:{boxShadow:"none",borderColor:"brand.500",borderWidth:1}}},sizes:{sm:{container:{px:4,py:0}},md:{container:{px:6,py:1}},lg:{container:{px:6,py:1}}}})},styles:{global:{"[data-focus], :focus":{boxShadow:"none !important"},"::placeholder":{color:"gray.500"},"input[type=date]:invalid::-webkit-datetime-edit":{color:"gray.500"},"::-webkit-calendar-picker-indicator":{cursor:"pointer",filter:"opacity(40%)"},".recharts-surface":{overflow:"visible !important"},".recharts-surface .shadow":{filter:"drop-shadow(0 3px 5px rgba(0, 0, 0, 0.075))"}}}},l({colorScheme:"brand"}));const en={components:Qr.components,styles:Qr.styles},tn=e=>{const t=String(e).replace(/\D/g,"").match(/^(\d{3})(\d{3})(\d{4})$/);return t?`(${t[1]}) ${t[2]}-${t[3]}`:e};let rn,nn,on=(e=21)=>{var t;t=e-=0,!rn||rn.length<t?(rn=Buffer.allocUnsafe(128*t),J.randomFillSync(rn),nn=0):nn+t>rn.length&&(J.randomFillSync(rn),nn=0),nn+=t;let r="";for(let t=nn-e;t<nn;t++)r+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[63&rn[t]];return r};function an(e){var t,r,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(r=an(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function cn(){for(var e,t,r=0,n="",i=arguments.length;r<i;r++)(e=arguments[r])&&(t=an(e))&&(n&&(n+=" "),n+=t);return n}var ln=Array.isArray,un="object"==typeof Kt&&Kt&&Kt.Object===Object&&Kt,sn=un,fn="object"==typeof self&&self&&self.Object===Object&&self,pn=sn||fn||Function("return this")(),hn=pn.Symbol,dn=hn,yn=Object.prototype,vn=yn.hasOwnProperty,gn=yn.toString,mn=dn?dn.toStringTag:void 0;var bn=function(e){var t=vn.call(e,mn),r=e[mn];try{e[mn]=void 0;var n=!0}catch(e){}var i=gn.call(e);return n&&(t?e[mn]=r:delete e[mn]),i},wn=Object.prototype.toString;var xn=bn,On=function(e){return wn.call(e)},Sn=hn?hn.toStringTag:void 0;var jn=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Sn&&Sn in Object(e)?xn(e):On(e)};var An=function(e){return null!=e&&"object"==typeof e},Pn=jn,Mn=An;var kn=function(e){return"symbol"==typeof e||Mn(e)&&"[object Symbol]"==Pn(e)},En=ln,Cn=kn,_n=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Tn=/^\w*$/;var Dn=function(e,t){if(En(e))return!1;var r=typeof e;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=e&&!Cn(e))||(Tn.test(e)||!_n.test(e)||null!=t&&e in Object(t))};var In=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)},Nn=Gt(In),Ln=jn,Bn=In;var Rn,zn=function(e){if(!Bn(e))return!1;var t=Ln(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t},$n=Gt(zn),Hn=pn["__core-js_shared__"],Vn=(Rn=/[^.]+$/.exec(Hn&&Hn.keys&&Hn.keys.IE_PROTO||""))?"Symbol(src)_1."+Rn:"";var Fn=function(e){return!!Vn&&Vn in e},Un=Function.prototype.toString;var Wn=function(e){if(null!=e){try{return Un.call(e)}catch(e){}try{return e+""}catch(e){}}return""},qn=zn,Yn=Fn,Xn=In,Kn=Wn,Gn=/^\[object .+?Constructor\]$/,Zn=Function.prototype,Jn=Object.prototype,Qn=Zn.toString,ei=Jn.hasOwnProperty,ti=RegExp("^"+Qn.call(ei).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var ri=function(e,t){return null==e?void 0:e[t]},ni=function(e){return!(!Xn(e)||Yn(e))&&(qn(e)?ti:Gn).test(Kn(e))},ii=ri;var oi=function(e,t){var r=ii(e,t);return ni(r)?r:void 0},ai=oi(Object,"create"),ci=ai;var li=function(){this.__data__=ci?ci(null):{},this.size=0};var ui=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},si=ai,fi=Object.prototype.hasOwnProperty;var pi=function(e){var t=this.__data__;if(si){var r=t[e];return"__lodash_hash_undefined__"===r?void 0:r}return fi.call(t,e)?t[e]:void 0},hi=ai,di=Object.prototype.hasOwnProperty;var yi=ai;var vi=li,gi=ui,mi=pi,bi=function(e){var t=this.__data__;return hi?void 0!==t[e]:di.call(t,e)},wi=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=yi&&void 0===t?"__lodash_hash_undefined__":t,this};function xi(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}xi.prototype.clear=vi,xi.prototype.delete=gi,xi.prototype.get=mi,xi.prototype.has=bi,xi.prototype.set=wi;var Oi=xi;var Si=function(){this.__data__=[],this.size=0};var ji=function(e,t){return e===t||e!=e&&t!=t},Ai=ji;var Pi=function(e,t){for(var r=e.length;r--;)if(Ai(e[r][0],t))return r;return-1},Mi=Pi,ki=Array.prototype.splice;var Ei=Pi;var Ci=Pi;var _i=Pi;var Ti=Si,Di=function(e){var t=this.__data__,r=Mi(t,e);return!(r<0)&&(r==t.length-1?t.pop():ki.call(t,r,1),--this.size,!0)},Ii=function(e){var t=this.__data__,r=Ei(t,e);return r<0?void 0:t[r][1]},Ni=function(e){return Ci(this.__data__,e)>-1},Li=function(e,t){var r=this.__data__,n=_i(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this};function Bi(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}Bi.prototype.clear=Ti,Bi.prototype.delete=Di,Bi.prototype.get=Ii,Bi.prototype.has=Ni,Bi.prototype.set=Li;var Ri=Bi,zi=oi(pn,"Map"),$i=Oi,Hi=Ri,Vi=zi;var Fi=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e};var Ui=function(e,t){var r=e.__data__;return Fi(t)?r["string"==typeof t?"string":"hash"]:r.map},Wi=Ui;var qi=Ui;var Yi=Ui;var Xi=Ui;var Ki=function(){this.size=0,this.__data__={hash:new $i,map:new(Vi||Hi),string:new $i}},Gi=function(e){var t=Wi(this,e).delete(e);return this.size-=t?1:0,t},Zi=function(e){return qi(this,e).get(e)},Ji=function(e){return Yi(this,e).has(e)},Qi=function(e,t){var r=Xi(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this};function eo(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}eo.prototype.clear=Ki,eo.prototype.delete=Gi,eo.prototype.get=Zi,eo.prototype.has=Ji,eo.prototype.set=Qi;var to=eo,ro=to;function no(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var r=function(){var n=arguments,i=t?t.apply(this,n):n[0],o=r.cache;if(o.has(i))return o.get(i);var a=e.apply(this,n);return r.cache=o.set(i,a)||o,a};return r.cache=new(no.Cache||ro),r}no.Cache=ro;var io=no,oo=Gt(io),ao=io;var co=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,lo=/\\(\\)?/g,uo=function(e){var t=ao(e,(function(e){return 500===r.size&&r.clear(),e})),r=t.cache;return t}((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(co,(function(e,r,n,i){t.push(n?i.replace(lo,"$1"):r||e)})),t})),so=uo;var fo=function(e,t){for(var r=-1,n=null==e?0:e.length,i=Array(n);++r<n;)i[r]=t(e[r],r,e);return i},po=fo,ho=ln,yo=kn,vo=hn?hn.prototype:void 0,go=vo?vo.toString:void 0;var mo=function e(t){if("string"==typeof t)return t;if(ho(t))return po(t,e)+"";if(yo(t))return go?go.call(t):"";var r=t+"";return"0"==r&&1/t==-1/0?"-0":r},bo=mo;var wo=function(e){return null==e?"":bo(e)},xo=ln,Oo=Dn,So=so,jo=wo;var Ao=function(e,t){return xo(e)?e:Oo(e,t)?[e]:So(jo(e))},Po=kn;var Mo=function(e){if("string"==typeof e||Po(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t},ko=Ao,Eo=Mo;var Co=function(e,t){for(var r=0,n=(t=ko(t,e)).length;null!=e&&r<n;)e=e[Eo(t[r++])];return r&&r==n?e:void 0},_o=Co;var To=function(e,t,r){var n=null==e?void 0:_o(e,t);return void 0===n?r:n},Do=Gt(To);var Io=Gt((function(e){return null==e})),No=jn,Lo=ln,Bo=An;var Ro,zo=Gt((function(e){return"string"==typeof e||!Lo(e)&&Bo(e)&&"[object String]"==No(e)})),$o={exports:{}},Ho={};var Vo,Fo={};
10
10
  /** @license React v16.13.1
11
11
  * react-is.development.js
12
12
  *
@@ -14,8 +14,8 @@ var ir={symbol:"$",separator:",",decimal:".",errorOnInvalid:!1,precision:2,patte
14
14
  *
15
15
  * This source code is licensed under the MIT license found in the
16
16
  * LICENSE file in the root directory of this source tree.
17
- */"production"===process.env.NODE_ENV?Ro.exports=function(){if(Lo)return zo;Lo=1;var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,i=e?Symbol.for("react.strict_mode"):60108,o=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,c=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,u=e?Symbol.for("react.concurrent_mode"):60111,s=e?Symbol.for("react.forward_ref"):60112,f=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,h=e?Symbol.for("react.memo"):60115,d=e?Symbol.for("react.lazy"):60116,y=e?Symbol.for("react.block"):60121,v=e?Symbol.for("react.fundamental"):60117,g=e?Symbol.for("react.responder"):60118,m=e?Symbol.for("react.scope"):60119;function b(e){if("object"==typeof e&&null!==e){var p=e.$$typeof;switch(p){case t:switch(e=e.type){case l:case u:case n:case o:case i:case f:return e;default:switch(e=e&&e.$$typeof){case c:case s:case d:case h:case a:return e;default:return p}}case r:return p}}}function w(e){return b(e)===u}return zo.AsyncMode=l,zo.ConcurrentMode=u,zo.ContextConsumer=c,zo.ContextProvider=a,zo.Element=t,zo.ForwardRef=s,zo.Fragment=n,zo.Lazy=d,zo.Memo=h,zo.Portal=r,zo.Profiler=o,zo.StrictMode=i,zo.Suspense=f,zo.isAsyncMode=function(e){return w(e)||b(e)===l},zo.isConcurrentMode=w,zo.isContextConsumer=function(e){return b(e)===c},zo.isContextProvider=function(e){return b(e)===a},zo.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},zo.isForwardRef=function(e){return b(e)===s},zo.isFragment=function(e){return b(e)===n},zo.isLazy=function(e){return b(e)===d},zo.isMemo=function(e){return b(e)===h},zo.isPortal=function(e){return b(e)===r},zo.isProfiler=function(e){return b(e)===o},zo.isStrictMode=function(e){return b(e)===i},zo.isSuspense=function(e){return b(e)===f},zo.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===n||e===u||e===o||e===i||e===f||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===d||e.$$typeof===h||e.$$typeof===a||e.$$typeof===c||e.$$typeof===s||e.$$typeof===v||e.$$typeof===g||e.$$typeof===m||e.$$typeof===y)},zo.typeOf=b,zo}():Ro.exports=($o||($o=1,"production"!==process.env.NODE_ENV&&function(){var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,i=e?Symbol.for("react.strict_mode"):60108,o=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,c=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,u=e?Symbol.for("react.concurrent_mode"):60111,s=e?Symbol.for("react.forward_ref"):60112,f=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,h=e?Symbol.for("react.memo"):60115,d=e?Symbol.for("react.lazy"):60116,y=e?Symbol.for("react.block"):60121,v=e?Symbol.for("react.fundamental"):60117,g=e?Symbol.for("react.responder"):60118,m=e?Symbol.for("react.scope"):60119;function b(e){if("object"==typeof e&&null!==e){var p=e.$$typeof;switch(p){case t:var y=e.type;switch(y){case l:case u:case n:case o:case i:case f:return y;default:var v=y&&y.$$typeof;switch(v){case c:case s:case d:case h:case a:return v;default:return p}}case r:return p}}}var w=l,x=u,O=c,S=a,j=t,A=s,P=n,M=d,k=h,E=r,C=o,_=i,T=f,D=!1;function N(e){return b(e)===u}Ho.AsyncMode=w,Ho.ConcurrentMode=x,Ho.ContextConsumer=O,Ho.ContextProvider=S,Ho.Element=j,Ho.ForwardRef=A,Ho.Fragment=P,Ho.Lazy=M,Ho.Memo=k,Ho.Portal=E,Ho.Profiler=C,Ho.StrictMode=_,Ho.Suspense=T,Ho.isAsyncMode=function(e){return D||(D=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),N(e)||b(e)===l},Ho.isConcurrentMode=N,Ho.isContextConsumer=function(e){return b(e)===c},Ho.isContextProvider=function(e){return b(e)===a},Ho.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},Ho.isForwardRef=function(e){return b(e)===s},Ho.isFragment=function(e){return b(e)===n},Ho.isLazy=function(e){return b(e)===d},Ho.isMemo=function(e){return b(e)===h},Ho.isPortal=function(e){return b(e)===r},Ho.isProfiler=function(e){return b(e)===o},Ho.isStrictMode=function(e){return b(e)===i},Ho.isSuspense=function(e){return b(e)===f},Ho.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===n||e===u||e===o||e===i||e===f||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===d||e.$$typeof===h||e.$$typeof===a||e.$$typeof===c||e.$$typeof===s||e.$$typeof===v||e.$$typeof===g||e.$$typeof===m||e.$$typeof===y)},Ho.typeOf=b}()),Ho);var Vo=Ro.exports,Fo=On,Uo=Sn;var Wo=function(e){return"number"==typeof e||Uo(e)&&"[object Number]"==Fo(e)},qo=Xt(Wo),Yo=Wo;var Xo=Xt((function(e){return Yo(e)&&e!=+e})),Ko=function(e){return 0===e?0:e>0?1:-1},Go=function(e){return Bo(e)&&e.indexOf("%")===e.length-1},Zo=function(e){return qo(e)&&!Xo(e)},Jo=function(e){return Zo(e)||Bo(e)},Qo=0,ea=function(e){var t=++Qo;return"".concat(e||"").concat(t)},ta=function(e,t){var r,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!Zo(e)&&!Bo(e))return n;if(Go(e)){var o=e.indexOf("%");r=t*parseFloat(e.slice(0,o))/100}else r=+e;return Xo(r)&&(r=n),i&&r>t&&(r=t),r},ra=function(e){if(!e)return null;var t=Object.keys(e);return t&&t.length?e[t[0]]:null},na=function(e,t){return Zo(e)&&Zo(t)?function(r){return e+r*(t-e)}:function(){return t}};function ia(e,t,r){return e&&e.length?e.find((function(e){return e&&("function"==typeof t?t(e):_o(e,t))===r})):null}function oa(e,t){for(var r in e)if({}.hasOwnProperty.call(e,r)&&(!{}.hasOwnProperty.call(t,r)||e[r]!==t[r]))return!1;for(var n in t)if({}.hasOwnProperty.call(t,n)&&!{}.hasOwnProperty.call(e,n))return!1;return!0}function aa(e){return aa="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},aa(e)}var ca=["aria-activedescendant","aria-atomic","aria-autocomplete","aria-busy","aria-checked","aria-colcount","aria-colindex","aria-colspan","aria-controls","aria-current","aria-describedby","aria-details","aria-disabled","aria-errormessage","aria-expanded","aria-flowto","aria-haspopup","aria-hidden","aria-invalid","aria-keyshortcuts","aria-label","aria-labelledby","aria-level","aria-live","aria-modal","aria-multiline","aria-multiselectable","aria-orientation","aria-owns","aria-placeholder","aria-posinset","aria-pressed","aria-readonly","aria-relevant","aria-required","aria-roledescription","aria-rowcount","aria-rowindex","aria-rowspan","aria-selected","aria-setsize","aria-sort","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext","className","color","height","id","lang","max","media","method","min","name","style","target","width","role","tabIndex","accentHeight","accumulate","additive","alignmentBaseline","allowReorder","alphabetic","amplitude","arabicForm","ascent","attributeName","attributeType","autoReverse","azimuth","baseFrequency","baselineShift","baseProfile","bbox","begin","bias","by","calcMode","capHeight","clip","clipPath","clipPathUnits","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","fx","fy","g1","g2","glyphName","glyphOrientationHorizontal","glyphOrientationVertical","glyphRef","gradientTransform","gradientUnits","hanging","horizAdvX","horizOriginX","href","ideographic","imageRendering","in2","in","intercept","k1","k2","k3","k4","k","kernelMatrix","kernelUnitLength","kerning","keyPoints","keySplines","keyTimes","lengthAdjust","letterSpacing","lightingColor","limitingConeAngle","local","markerEnd","markerHeight","markerMid","markerStart","markerUnits","markerWidth","mask","maskContentUnits","maskUnits","mathematical","mode","numOctaves","offset","opacity","operator","order","orient","orientation","origin","overflow","overlinePosition","overlineThickness","paintOrder","panose1","pathLength","patternContentUnits","patternTransform","patternUnits","pointerEvents","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","r","radius","refX","refY","renderingIntent","repeatCount","repeatDur","requiredExtensions","requiredFeatures","restart","result","rotate","rx","ry","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","textLength","textRendering","to","transform","u1","u2","underlinePosition","underlineThickness","unicode","unicodeBidi","unicodeRange","unitsPerEm","vAlphabetic","values","vectorEffect","version","vertAdvY","vertOriginX","vertOriginY","vHanging","vIdeographic","viewTarget","visibility","vMathematical","widths","wordSpacing","writingMode","x1","x2","x","xChannelSelector","xHeight","xlinkActuate","xlinkArcrole","xlinkHref","xlinkRole","xlinkShow","xlinkTitle","xlinkType","xmlBase","xmlLang","xmlns","xmlnsXlink","xmlSpace","y1","y2","y","yChannelSelector","z","zoomAndPan","ref","key","angle"],la=["points","pathLength"],ua={svg:["viewBox","children"],polygon:la,polyline:la},sa=["dangerouslySetInnerHTML","onCopy","onCopyCapture","onCut","onCutCapture","onPaste","onPasteCapture","onCompositionEnd","onCompositionEndCapture","onCompositionStart","onCompositionStartCapture","onCompositionUpdate","onCompositionUpdateCapture","onFocus","onFocusCapture","onBlur","onBlurCapture","onChange","onChangeCapture","onBeforeInput","onBeforeInputCapture","onInput","onInputCapture","onReset","onResetCapture","onSubmit","onSubmitCapture","onInvalid","onInvalidCapture","onLoad","onLoadCapture","onError","onErrorCapture","onKeyDown","onKeyDownCapture","onKeyPress","onKeyPressCapture","onKeyUp","onKeyUpCapture","onAbort","onAbortCapture","onCanPlay","onCanPlayCapture","onCanPlayThrough","onCanPlayThroughCapture","onDurationChange","onDurationChangeCapture","onEmptied","onEmptiedCapture","onEncrypted","onEncryptedCapture","onEnded","onEndedCapture","onLoadedData","onLoadedDataCapture","onLoadedMetadata","onLoadedMetadataCapture","onLoadStart","onLoadStartCapture","onPause","onPauseCapture","onPlay","onPlayCapture","onPlaying","onPlayingCapture","onProgress","onProgressCapture","onRateChange","onRateChangeCapture","onSeeked","onSeekedCapture","onSeeking","onSeekingCapture","onStalled","onStalledCapture","onSuspend","onSuspendCapture","onTimeUpdate","onTimeUpdateCapture","onVolumeChange","onVolumeChangeCapture","onWaiting","onWaitingCapture","onAuxClick","onAuxClickCapture","onClick","onClickCapture","onContextMenu","onContextMenuCapture","onDoubleClick","onDoubleClickCapture","onDrag","onDragCapture","onDragEnd","onDragEndCapture","onDragEnter","onDragEnterCapture","onDragExit","onDragExitCapture","onDragLeave","onDragLeaveCapture","onDragOver","onDragOverCapture","onDragStart","onDragStartCapture","onDrop","onDropCapture","onMouseDown","onMouseDownCapture","onMouseEnter","onMouseLeave","onMouseMove","onMouseMoveCapture","onMouseOut","onMouseOutCapture","onMouseOver","onMouseOverCapture","onMouseUp","onMouseUpCapture","onSelect","onSelectCapture","onTouchCancel","onTouchCancelCapture","onTouchEnd","onTouchEndCapture","onTouchMove","onTouchMoveCapture","onTouchStart","onTouchStartCapture","onPointerDown","onPointerDownCapture","onPointerMove","onPointerMoveCapture","onPointerUp","onPointerUpCapture","onPointerCancel","onPointerCancelCapture","onPointerEnter","onPointerEnterCapture","onPointerLeave","onPointerLeaveCapture","onPointerOver","onPointerOverCapture","onPointerOut","onPointerOutCapture","onGotPointerCapture","onGotPointerCaptureCapture","onLostPointerCapture","onLostPointerCaptureCapture","onScroll","onScrollCapture","onWheel","onWheelCapture","onAnimationStart","onAnimationStartCapture","onAnimationEnd","onAnimationEndCapture","onAnimationIteration","onAnimationIterationCapture","onTransitionEnd","onTransitionEndCapture"],fa=function(e,t){if(!e||"function"==typeof e||"boolean"==typeof e)return null;var r=e;if(ee(e)&&(r=e.props),!Dn(r))return null;var n={};return Object.keys(r).forEach((function(e){sa.includes(e)&&(n[e]=t||function(t){return r[e](r,t)})})),n},pa=function(e,t,r){if(!Dn(e)||"object"!==aa(e))return null;var n=null;return Object.keys(e).forEach((function(i){var o=e[i];sa.includes(i)&&"function"==typeof o&&(n||(n={}),n[i]=function(e,t,r){return function(n){return e(t,r,n),null}}(o,t,r))})),n},ha=["children"],da=["children"];function ya(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function va(e){return va="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},va(e)}var ga={click:"onClick",mousedown:"onMouseDown",mouseup:"onMouseUp",mouseover:"onMouseOver",mousemove:"onMouseMove",mouseout:"onMouseOut",mouseenter:"onMouseEnter",mouseleave:"onMouseLeave",touchcancel:"onTouchCancel",touchend:"onTouchEnd",touchmove:"onTouchMove",touchstart:"onTouchStart"},ma=function(e){return"string"==typeof e?e:e?e.displayName||e.name||"Component":""},ba=null,wa=null,xa=function e(t){if(t===ba&&Array.isArray(wa))return wa;var r=[];return te.forEach(t,(function(t){To(t)||(Vo.isFragment(t)?r=r.concat(e(t.props.children)):r.push(t))})),wa=r,ba=t,r};function Oa(e,t){var r=[],n=[];return n=Array.isArray(t)?t.map((function(e){return ma(e)})):[ma(t)],xa(e).forEach((function(e){var t=_o(e,"type.displayName")||_o(e,"type.name");-1!==n.indexOf(t)&&r.push(e)})),r}function Sa(e,t){var r=Oa(e,t);return r&&r[0]}var ja=function(e){if(!e||!e.props)return!1;var t=e.props,r=t.width,n=t.height;return!(!Zo(r)||r<=0||!Zo(n)||n<=0)},Aa=["a","altGlyph","altGlyphDef","altGlyphItem","animate","animateColor","animateMotion","animateTransform","circle","clipPath","color-profile","cursor","defs","desc","ellipse","feBlend","feColormatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","font","font-face","font-face-format","font-face-name","font-face-url","foreignObject","g","glyph","glyphRef","hkern","image","line","lineGradient","marker","mask","metadata","missing-glyph","mpath","path","pattern","polygon","polyline","radialGradient","rect","script","set","stop","style","svg","switch","symbol","text","textPath","title","tref","tspan","use","view","vkern"],Pa=function(e){return e&&"object"===va(e)&&"cx"in e&&"cy"in e&&"r"in e},Ma=function(e,t,r){if(!e||"function"==typeof e||"boolean"==typeof e)return null;var n=e;if(ee(e)&&(n=e.props),!Dn(n))return null;var i={};return Object.keys(n).forEach((function(e){var o;(function(e,t,r,n){var i,o=null!==(i=null==ua?void 0:ua[n])&&void 0!==i?i:[];return!Rn(e)&&(n&&o.includes(t)||ca.includes(t))||r&&sa.includes(t)})(null===(o=n)||void 0===o?void 0:o[e],e,t,r)&&(i[e]=n[e])})),i},ka=function e(t,r){if(t===r)return!0;var n=te.count(t);if(n!==te.count(r))return!1;if(0===n)return!0;if(1===n)return Ea(Array.isArray(t)?t[0]:t,Array.isArray(r)?r[0]:r);for(var i=0;i<n;i++){var o=t[i],a=r[i];if(Array.isArray(o)||Array.isArray(a)){if(!e(o,a))return!1}else if(!Ea(o,a))return!1}return!0},Ea=function(e,t){if(To(e)&&To(t))return!0;if(!To(e)&&!To(t)){var r=e.props||{},n=r.children,i=ya(r,ha),o=t.props||{},a=o.children,c=ya(o,da);return n&&a?oa(i,c)&&ka(n,a):!n&&!a&&oa(i,c)}return!1},Ca=function(e,t){var r=[],n={};return xa(e).forEach((function(e,i){if(function(e){return e&&e.type&&Bo(e.type)&&Aa.indexOf(e.type)>=0}(e))r.push(e);else if(e){var o=ma(e.type),a=t[o]||{},c=a.handler,l=a.once;if(c&&(!l||!n[o])){var u=c(e,o,i);r.push(u),n[o]=!0}}})),r},_a=["children","width","height","viewBox","className","style","title","desc"];function Ta(){return Ta=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Ta.apply(this,arguments)}function Da(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function Na(e){var t=e.children,r=e.width,n=e.height,i=e.viewBox,o=e.className,a=e.style,c=e.title,l=e.desc,u=Da(e,_a),s=i||{width:r,height:n,x:0,y:0},f=on("recharts-surface",o);return Q.createElement("svg",Ta({},Ma(u,!0,"svg"),{className:f,width:r,height:n,style:a,viewBox:"".concat(s.x," ").concat(s.y," ").concat(s.width," ").concat(s.height)}),Q.createElement("title",null,c),Q.createElement("desc",null,l),t)}var Ia=["children","className"];function La(){return La=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},La.apply(this,arguments)}function Ba(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}var Ra=Q.forwardRef((function(e,t){var r=e.children,n=e.className,i=Ba(e,Ia),o=on("recharts-layer",n);return Q.createElement("g",La({className:o},Ma(i,!0),{ref:t}),r)})),za="production"!==process.env.NODE_ENV,$a=function(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),i=2;i<r;i++)n[i-2]=arguments[i];if(za&&"undefined"!=typeof console&&console.warn&&(void 0===t&&console.warn("LogUtils requires an error message argument"),!e))if(void 0===t)console.warn("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var o=0;console.warn(t.replace(/%s/g,(function(){return n[o++]})))}};var Ha=function(e,t,r){var n=-1,i=e.length;t<0&&(t=-t>i?0:i+t),(r=r>i?i:r)<0&&(r+=i),i=t>r?0:r-t>>>0,t>>>=0;for(var o=Array(i);++n<i;)o[n]=e[n+t];return o},Va=Ha;var Fa=function(e,t,r){var n=e.length;return r=void 0===r?n:r,!t&&r>=n?e:Va(e,t,r)},Ua=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");var Wa=function(e){return Ua.test(e)};var qa=function(e){return e.split("")},Ya="\\ud800-\\udfff",Xa="["+Ya+"]",Ka="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",Ga="\\ud83c[\\udffb-\\udfff]",Za="[^"+Ya+"]",Ja="(?:\\ud83c[\\udde6-\\uddff]){2}",Qa="[\\ud800-\\udbff][\\udc00-\\udfff]",ec="(?:"+Ka+"|"+Ga+")"+"?",tc="[\\ufe0e\\ufe0f]?",rc=tc+ec+("(?:\\u200d(?:"+[Za,Ja,Qa].join("|")+")"+tc+ec+")*"),nc="(?:"+[Za+Ka+"?",Ka,Ja,Qa,Xa].join("|")+")",ic=RegExp(Ga+"(?="+Ga+")|"+nc+rc,"g");var oc=function(e){return e.match(ic)||[]},ac=qa,cc=Wa,lc=oc;var uc=function(e){return cc(e)?lc(e):ac(e)},sc=Fa,fc=Wa,pc=uc,hc=mo;var dc=function(e){return function(t){t=hc(t);var r=fc(t)?pc(t):void 0,n=r?r[0]:t.charAt(0),i=r?sc(r,1).join(""):t.slice(1);return n[e]()+i}},yc=Xt(dc("toUpperCase"));function vc(e){return function(){return e}}const gc=Math.cos,mc=Math.sin,bc=Math.sqrt,wc=Math.PI,xc=2*wc,Oc=Math.PI,Sc=2*Oc,jc=1e-6,Ac=Sc-jc;function Pc(e){this._+=e[0];for(let t=1,r=e.length;t<r;++t)this._+=arguments[t]+e[t]}class Mc{constructor(e){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=null==e?Pc:function(e){let t=Math.floor(e);if(!(t>=0))throw new Error(`invalid digits: ${e}`);if(t>15)return Pc;const r=10**t;return function(e){this._+=e[0];for(let t=1,n=e.length;t<n;++t)this._+=Math.round(arguments[t]*r)/r+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,r,n){this._append`Q${+e},${+t},${this._x1=+r},${this._y1=+n}`}bezierCurveTo(e,t,r,n,i,o){this._append`C${+e},${+t},${+r},${+n},${this._x1=+i},${this._y1=+o}`}arcTo(e,t,r,n,i){if(e=+e,t=+t,r=+r,n=+n,(i=+i)<0)throw new Error(`negative radius: ${i}`);let o=this._x1,a=this._y1,c=r-e,l=n-t,u=o-e,s=a-t,f=u*u+s*s;if(null===this._x1)this._append`M${this._x1=e},${this._y1=t}`;else if(f>jc)if(Math.abs(s*c-l*u)>jc&&i){let p=r-o,h=n-a,d=c*c+l*l,y=p*p+h*h,v=Math.sqrt(d),g=Math.sqrt(f),m=i*Math.tan((Oc-Math.acos((d+f-y)/(2*v*g)))/2),b=m/g,w=m/v;Math.abs(b-1)>jc&&this._append`L${e+b*u},${t+b*s}`,this._append`A${i},${i},0,0,${+(s*p>u*h)},${this._x1=e+w*c},${this._y1=t+w*l}`}else this._append`L${this._x1=e},${this._y1=t}`;else;}arc(e,t,r,n,i,o){if(e=+e,t=+t,o=!!o,(r=+r)<0)throw new Error(`negative radius: ${r}`);let a=r*Math.cos(n),c=r*Math.sin(n),l=e+a,u=t+c,s=1^o,f=o?n-i:i-n;null===this._x1?this._append`M${l},${u}`:(Math.abs(this._x1-l)>jc||Math.abs(this._y1-u)>jc)&&this._append`L${l},${u}`,r&&(f<0&&(f=f%Sc+Sc),f>Ac?this._append`A${r},${r},0,1,${s},${e-a},${t-c}A${r},${r},0,1,${s},${this._x1=l},${this._y1=u}`:f>jc&&this._append`A${r},${r},0,${+(f>=Oc)},${s},${this._x1=e+r*Math.cos(i)},${this._y1=t+r*Math.sin(i)}`)}rect(e,t,r,n){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+t}h${r=+r}v${+n}h${-r}Z`}toString(){return this._}}function kc(e){let t=3;return e.digits=function(r){if(!arguments.length)return t;if(null==r)t=null;else{const e=Math.floor(r);if(!(e>=0))throw new RangeError(`invalid digits: ${r}`);t=e}return e},()=>new Mc(t)}function Ec(e){return"object"==typeof e&&"length"in e?e:Array.from(e)}function Cc(e){this._context=e}function _c(e){return new Cc(e)}function Tc(e){return e[0]}function Dc(e){return e[1]}function Nc(e,t){var r=vc(!0),n=null,i=_c,o=null,a=kc(c);function c(c){var l,u,s,f=(c=Ec(c)).length,p=!1;for(null==n&&(o=i(s=a())),l=0;l<=f;++l)!(l<f&&r(u=c[l],l,c))===p&&((p=!p)?o.lineStart():o.lineEnd()),p&&o.point(+e(u,l,c),+t(u,l,c));if(s)return o=null,s+""||null}return e="function"==typeof e?e:void 0===e?Tc:vc(e),t="function"==typeof t?t:void 0===t?Dc:vc(t),c.x=function(t){return arguments.length?(e="function"==typeof t?t:vc(+t),c):e},c.y=function(e){return arguments.length?(t="function"==typeof e?e:vc(+e),c):t},c.defined=function(e){return arguments.length?(r="function"==typeof e?e:vc(!!e),c):r},c.curve=function(e){return arguments.length?(i=e,null!=n&&(o=i(n)),c):i},c.context=function(e){return arguments.length?(null==e?n=o=null:o=i(n=e),c):n},c}function Ic(e,t,r){var n=null,i=vc(!0),o=null,a=_c,c=null,l=kc(u);function u(u){var s,f,p,h,d,y=(u=Ec(u)).length,v=!1,g=new Array(y),m=new Array(y);for(null==o&&(c=a(d=l())),s=0;s<=y;++s){if(!(s<y&&i(h=u[s],s,u))===v)if(v=!v)f=s,c.areaStart(),c.lineStart();else{for(c.lineEnd(),c.lineStart(),p=s-1;p>=f;--p)c.point(g[p],m[p]);c.lineEnd(),c.areaEnd()}v&&(g[s]=+e(h,s,u),m[s]=+t(h,s,u),c.point(n?+n(h,s,u):g[s],r?+r(h,s,u):m[s]))}if(d)return c=null,d+""||null}function s(){return Nc().defined(i).curve(a).context(o)}return e="function"==typeof e?e:void 0===e?Tc:vc(+e),t="function"==typeof t?t:vc(void 0===t?0:+t),r="function"==typeof r?r:void 0===r?Dc:vc(+r),u.x=function(t){return arguments.length?(e="function"==typeof t?t:vc(+t),n=null,u):e},u.x0=function(t){return arguments.length?(e="function"==typeof t?t:vc(+t),u):e},u.x1=function(e){return arguments.length?(n=null==e?null:"function"==typeof e?e:vc(+e),u):n},u.y=function(e){return arguments.length?(t="function"==typeof e?e:vc(+e),r=null,u):t},u.y0=function(e){return arguments.length?(t="function"==typeof e?e:vc(+e),u):t},u.y1=function(e){return arguments.length?(r=null==e?null:"function"==typeof e?e:vc(+e),u):r},u.lineX0=u.lineY0=function(){return s().x(e).y(t)},u.lineY1=function(){return s().x(e).y(r)},u.lineX1=function(){return s().x(n).y(t)},u.defined=function(e){return arguments.length?(i="function"==typeof e?e:vc(!!e),u):i},u.curve=function(e){return arguments.length?(a=e,null!=o&&(c=a(o)),u):a},u.context=function(e){return arguments.length?(null==e?o=c=null:c=a(o=e),u):o},u}Cc.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._context.lineTo(e,t)}}};class Lc{constructor(e,t){this._context=e,this._x=t}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line}point(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._x?this._context.bezierCurveTo(this._x0=(this._x0+e)/2,this._y0,this._x0,t,e,t):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+t)/2,e,this._y0,e,t)}this._x0=e,this._y0=t}}var Bc={draw(e,t){const r=bc(t/wc);e.moveTo(r,0),e.arc(0,0,r,0,xc)}},Rc={draw(e,t){const r=bc(t/5)/2;e.moveTo(-3*r,-r),e.lineTo(-r,-r),e.lineTo(-r,-3*r),e.lineTo(r,-3*r),e.lineTo(r,-r),e.lineTo(3*r,-r),e.lineTo(3*r,r),e.lineTo(r,r),e.lineTo(r,3*r),e.lineTo(-r,3*r),e.lineTo(-r,r),e.lineTo(-3*r,r),e.closePath()}};const zc=bc(1/3),$c=2*zc;var Hc={draw(e,t){const r=bc(t/$c),n=r*zc;e.moveTo(0,-r),e.lineTo(n,0),e.lineTo(0,r),e.lineTo(-n,0),e.closePath()}},Vc={draw(e,t){const r=bc(t),n=-r/2;e.rect(n,n,r,r)}};const Fc=mc(wc/10)/mc(7*wc/10),Uc=mc(xc/10)*Fc,Wc=-gc(xc/10)*Fc;var qc={draw(e,t){const r=bc(.8908130915292852*t),n=Uc*r,i=Wc*r;e.moveTo(0,-r),e.lineTo(n,i);for(let t=1;t<5;++t){const o=xc*t/5,a=gc(o),c=mc(o);e.lineTo(c*r,-a*r),e.lineTo(a*n-c*i,c*n+a*i)}e.closePath()}};const Yc=bc(3);var Xc={draw(e,t){const r=-bc(t/(3*Yc));e.moveTo(0,2*r),e.lineTo(-Yc*r,-r),e.lineTo(Yc*r,-r),e.closePath()}};const Kc=-.5,Gc=bc(3)/2,Zc=1/bc(12),Jc=3*(Zc/2+1);var Qc={draw(e,t){const r=bc(t/Jc),n=r/2,i=r*Zc,o=n,a=r*Zc+r,c=-o,l=a;e.moveTo(n,i),e.lineTo(o,a),e.lineTo(c,l),e.lineTo(Kc*n-Gc*i,Gc*n+Kc*i),e.lineTo(Kc*o-Gc*a,Gc*o+Kc*a),e.lineTo(Kc*c-Gc*l,Gc*c+Kc*l),e.lineTo(Kc*n+Gc*i,Kc*i-Gc*n),e.lineTo(Kc*o+Gc*a,Kc*a-Gc*o),e.lineTo(Kc*c+Gc*l,Kc*l-Gc*c),e.closePath()}};function el(){}function tl(e,t,r){e._context.bezierCurveTo((2*e._x0+e._x1)/3,(2*e._y0+e._y1)/3,(e._x0+2*e._x1)/3,(e._y0+2*e._y1)/3,(e._x0+4*e._x1+t)/6,(e._y0+4*e._y1+r)/6)}function rl(e){this._context=e}function nl(e){this._context=e}function il(e){this._context=e}function ol(e){this._context=e}function al(e){return e<0?-1:1}function cl(e,t,r){var n=e._x1-e._x0,i=t-e._x1,o=(e._y1-e._y0)/(n||i<0&&-0),a=(r-e._y1)/(i||n<0&&-0),c=(o*i+a*n)/(n+i);return(al(o)+al(a))*Math.min(Math.abs(o),Math.abs(a),.5*Math.abs(c))||0}function ll(e,t){var r=e._x1-e._x0;return r?(3*(e._y1-e._y0)/r-t)/2:t}function ul(e,t,r){var n=e._x0,i=e._y0,o=e._x1,a=e._y1,c=(o-n)/3;e._context.bezierCurveTo(n+c,i+c*t,o-c,a-c*r,o,a)}function sl(e){this._context=e}function fl(e){this._context=new pl(e)}function pl(e){this._context=e}function hl(e){this._context=e}function dl(e){var t,r,n=e.length-1,i=new Array(n),o=new Array(n),a=new Array(n);for(i[0]=0,o[0]=2,a[0]=e[0]+2*e[1],t=1;t<n-1;++t)i[t]=1,o[t]=4,a[t]=4*e[t]+2*e[t+1];for(i[n-1]=2,o[n-1]=7,a[n-1]=8*e[n-1]+e[n],t=1;t<n;++t)r=i[t]/o[t-1],o[t]-=r,a[t]-=r*a[t-1];for(i[n-1]=a[n-1]/o[n-1],t=n-2;t>=0;--t)i[t]=(a[t]-i[t+1])/o[t];for(o[n-1]=(e[n]+i[n-1])/2,t=0;t<n-1;++t)o[t]=2*e[t+1]-i[t+1];return[i,o]}function yl(e,t){this._context=e,this._t=t}function vl(e,t){if((i=e.length)>1)for(var r,n,i,o=1,a=e[t[0]],c=a.length;o<i;++o)for(n=a,a=e[t[o]],r=0;r<c;++r)a[r][1]+=a[r][0]=isNaN(n[r][1])?n[r][0]:n[r][1]}function gl(e){for(var t=e.length,r=new Array(t);--t>=0;)r[t]=t;return r}function ml(e,t){return e[t]}function bl(e){const t=[];return t.key=e,t}function wl(e){return wl="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},wl(e)}rl.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:tl(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:tl(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},nl.prototype={areaStart:el,areaEnd:el,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x2=e,this._y2=t;break;case 1:this._point=2,this._x3=e,this._y3=t;break;case 2:this._point=3,this._x4=e,this._y4=t,this._context.moveTo((this._x0+4*this._x1+e)/6,(this._y0+4*this._y1+t)/6);break;default:tl(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},il.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var r=(this._x0+4*this._x1+e)/6,n=(this._y0+4*this._y1+t)/6;this._line?this._context.lineTo(r,n):this._context.moveTo(r,n);break;case 3:this._point=4;default:tl(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},ol.prototype={areaStart:el,areaEnd:el,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(e,t){e=+e,t=+t,this._point?this._context.lineTo(e,t):(this._point=1,this._context.moveTo(e,t))}},sl.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:ul(this,this._t0,ll(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){var r=NaN;if(t=+t,(e=+e)!==this._x1||t!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,ul(this,ll(this,r=cl(this,e,t)),r);break;default:ul(this,this._t0,r=cl(this,e,t))}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t,this._t0=r}}},(fl.prototype=Object.create(sl.prototype)).point=function(e,t){sl.prototype.point.call(this,t,e)},pl.prototype={moveTo:function(e,t){this._context.moveTo(t,e)},closePath:function(){this._context.closePath()},lineTo:function(e,t){this._context.lineTo(t,e)},bezierCurveTo:function(e,t,r,n,i,o){this._context.bezierCurveTo(t,e,n,r,o,i)}},hl.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var e=this._x,t=this._y,r=e.length;if(r)if(this._line?this._context.lineTo(e[0],t[0]):this._context.moveTo(e[0],t[0]),2===r)this._context.lineTo(e[1],t[1]);else for(var n=dl(e),i=dl(t),o=0,a=1;a<r;++o,++a)this._context.bezierCurveTo(n[0][o],i[0][o],n[1][o],i[1][o],e[a],t[a]);(this._line||0!==this._line&&1===r)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(e,t){this._x.push(+e),this._y.push(+t)}},yl.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&2===this._point&&this._context.lineTo(this._x,this._y),(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t);else{var r=this._x*(1-this._t)+e*this._t;this._context.lineTo(r,this._y),this._context.lineTo(r,t)}}this._x=e,this._y=t}};var xl=["type","size","sizeType"];function Ol(){return Ol=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Ol.apply(this,arguments)}function Sl(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function jl(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Sl(Object(r),!0).forEach((function(t){Al(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Sl(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Al(e,t,r){return t=function(e){var t=function(e,t){if("object"!=wl(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=wl(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==wl(t)?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Pl(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}var Ml={symbolCircle:Bc,symbolCross:Rc,symbolDiamond:Hc,symbolSquare:Vc,symbolStar:qc,symbolTriangle:Xc,symbolWye:Qc},kl=Math.PI/180,El=function(e){var t,r,n=e.type,i=void 0===n?"circle":n,o=e.size,a=void 0===o?64:o,c=e.sizeType,l=void 0===c?"area":c,u=jl(jl({},Pl(e,xl)),{},{type:i,size:a,sizeType:l}),s=u.className,f=u.cx,p=u.cy,h=Ma(u,!0);return f===+f&&p===+p&&a===+a?Q.createElement("path",Ol({},h,{className:on("recharts-symbols",s),transform:"translate(".concat(f,", ").concat(p,")"),d:(t=function(e){var t="symbol".concat(yc(e));return Ml[t]||Bc}(i),r=function(e,t){let r=null,n=kc(i);function i(){let i;if(r||(r=i=n()),e.apply(this,arguments).draw(r,+t.apply(this,arguments)),i)return r=null,i+""||null}return e="function"==typeof e?e:vc(e||Bc),t="function"==typeof t?t:vc(void 0===t?64:+t),i.type=function(t){return arguments.length?(e="function"==typeof t?t:vc(t),i):e},i.size=function(e){return arguments.length?(t="function"==typeof e?e:vc(+e),i):t},i.context=function(e){return arguments.length?(r=null==e?null:e,i):r},i}().type(t).size(function(e,t,r){if("area"===t)return e;switch(r){case"cross":return 5*e*e/9;case"diamond":return.5*e*e/Math.sqrt(3);case"square":return e*e;case"star":var n=18*kl;return 1.25*e*e*(Math.tan(n)-Math.tan(2*n)*Math.pow(Math.tan(n),2));case"triangle":return Math.sqrt(3)*e*e/4;case"wye":return(21-10*Math.sqrt(3))*e*e/8;default:return Math.PI*e*e/4}}(a,l,i)),r())})):null};function Cl(e){return Cl="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Cl(e)}function _l(){return _l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},_l.apply(this,arguments)}function Tl(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Dl(e,t,r){return t&&function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,zl(n.key),n)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function Nl(e,t,r){return t=Ll(t),function(e,t){if(t&&("object"===Cl(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Il()?Reflect.construct(t,r||[],Ll(e).constructor):t.apply(e,r))}function Il(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Il=function(){return!!e})()}function Ll(e){return Ll=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Ll(e)}function Bl(e,t){return Bl=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Bl(e,t)}function Rl(e,t,r){return(t=zl(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function zl(e){var t=function(e,t){if("object"!=Cl(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=Cl(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Cl(t)?t:String(t)}El.registerSymbol=function(e,t){Ml["symbol".concat(yc(e))]=t};var $l=32,Hl=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Nl(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Bl(e,t)}(t,re),Dl(t,[{key:"renderIcon",value:function(e){var t=this.props.inactiveColor,r=16,n=$l/6,i=$l/3,o=e.inactive?t:e.color;if("plainline"===e.type)return Q.createElement("line",{strokeWidth:4,fill:"none",stroke:o,strokeDasharray:e.payload.strokeDasharray,x1:0,y1:r,x2:$l,y2:r,className:"recharts-legend-icon"});if("line"===e.type)return Q.createElement("path",{strokeWidth:4,fill:"none",stroke:o,d:"M0,".concat(r,"h").concat(i,"\n A").concat(n,",").concat(n,",0,1,1,").concat(2*i,",").concat(r,"\n H").concat($l,"M").concat(2*i,",").concat(r,"\n A").concat(n,",").concat(n,",0,1,1,").concat(i,",").concat(r),className:"recharts-legend-icon"});if("rect"===e.type)return Q.createElement("path",{stroke:"none",fill:o,d:"M0,".concat(4,"h").concat($l,"v").concat(24,"h").concat(-32,"z"),className:"recharts-legend-icon"});if(Q.isValidElement(e.legendIcon)){var a=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Tl(Object(r),!0).forEach((function(t){Rl(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Tl(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},e);return delete a.legendIcon,Q.cloneElement(e.legendIcon,a)}return Q.createElement(El,{fill:o,cx:r,cy:r,size:$l,sizeType:"diameter",type:e.type})}},{key:"renderItems",value:function(){var e=this,t=this.props,r=t.payload,n=t.iconSize,i=t.layout,o=t.formatter,a=t.inactiveColor,c={x:0,y:0,width:$l,height:$l},l={display:"horizontal"===i?"inline-block":"block",marginRight:10},u={display:"inline-block",verticalAlign:"middle",marginRight:4};return r.map((function(t,r){var i=t.formatter||o,s=on(Rl(Rl({"recharts-legend-item":!0},"legend-item-".concat(r),!0),"inactive",t.inactive));if("none"===t.type)return null;var f=Rn(t.value)?null:t.value;$a(!Rn(t.value),'The name property is also required when using a function for the dataKey of a chart\'s cartesian components. Ex: <Bar name="Name of my Data"/>');var p=t.inactive?a:t.color;return Q.createElement("li",_l({className:s,style:l,key:"legend-item-".concat(r)},pa(e.props,t,r)),Q.createElement(Na,{width:n,height:n,viewBox:c,style:u},e.renderIcon(t)),Q.createElement("span",{className:"recharts-legend-item-text",style:{color:p}},i?i(f,t,r):f))}))}},{key:"render",value:function(){var e=this.props,t=e.payload,r=e.layout,n=e.align;if(!t||!t.length)return null;var i={padding:0,margin:0,textAlign:"horizontal"===r?n:"left"};return Q.createElement("ul",{className:"recharts-default-legend",style:i},this.renderItems())}}]),t}();Rl(Hl,"displayName","Legend"),Rl(Hl,"defaultProps",{iconSize:14,layout:"horizontal",align:"center",verticalAlign:"middle",inactiveColor:"#ccc"});var Vl=Li;var Fl=Li,Ul=Bi,Wl=Qi;var ql=Li,Yl=function(){this.__data__=new Vl,this.size=0},Xl=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r},Kl=function(e){return this.__data__.get(e)},Gl=function(e){return this.__data__.has(e)},Zl=function(e,t){var r=this.__data__;if(r instanceof Fl){var n=r.__data__;if(!Ul||n.length<199)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new Wl(n)}return r.set(e,t),this.size=r.size,this};function Jl(e){var t=this.__data__=new ql(e);this.size=t.size}Jl.prototype.clear=Yl,Jl.prototype.delete=Xl,Jl.prototype.get=Kl,Jl.prototype.has=Gl,Jl.prototype.set=Zl;var Ql=Jl;var eu=Qi,tu=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},ru=function(e){return this.__data__.has(e)};function nu(e){var t=-1,r=null==e?0:e.length;for(this.__data__=new eu;++t<r;)this.add(e[t])}nu.prototype.add=nu.prototype.push=tu,nu.prototype.has=ru;var iu=nu;var ou=function(e,t){for(var r=-1,n=null==e?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1};var au=function(e,t){return e.has(t)},cu=iu,lu=ou,uu=au;var su=function(e,t,r,n,i,o){var a=1&r,c=e.length,l=t.length;if(c!=l&&!(a&&l>c))return!1;var u=o.get(e),s=o.get(t);if(u&&s)return u==t&&s==e;var f=-1,p=!0,h=2&r?new cu:void 0;for(o.set(e,t),o.set(t,e);++f<c;){var d=e[f],y=t[f];if(n)var v=a?n(y,d,f,t,e,o):n(d,y,f,e,t,o);if(void 0!==v){if(v)continue;p=!1;break}if(h){if(!lu(t,(function(e,t){if(!uu(h,t)&&(d===e||i(d,e,r,n,o)))return h.push(t)}))){p=!1;break}}else if(d!==y&&!i(d,y,r,n,o)){p=!1;break}}return o.delete(e),o.delete(t),p};var fu=function(e){var t=-1,r=Array(e.size);return e.forEach((function(e,n){r[++t]=[n,e]})),r};var pu=function(e){var t=-1,r=Array(e.size);return e.forEach((function(e){r[++t]=e})),r},hu=sn.Uint8Array,du=Oi,yu=su,vu=fu,gu=pu,mu=fn?fn.prototype:void 0,bu=mu?mu.valueOf:void 0;var wu=function(e,t,r,n,i,o,a){switch(r){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!o(new hu(e),new hu(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return du(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var c=vu;case"[object Set]":var l=1&n;if(c||(c=gu),e.size!=t.size&&!l)return!1;var u=a.get(e);if(u)return u==t;n|=2,a.set(e,t);var s=yu(c(e),c(t),n,i,o,a);return a.delete(e),s;case"[object Symbol]":if(bu)return bu.call(e)==bu.call(t)}return!1};var xu=function(e,t){for(var r=-1,n=t.length,i=e.length;++r<n;)e[i+r]=t[r];return e},Ou=xu,Su=an;var ju=function(e,t,r){var n=t(e);return Su(e)?n:Ou(n,r(e))};var Au=function(e,t){for(var r=-1,n=null==e?0:e.length,i=0,o=[];++r<n;){var a=e[r];t(a,r,e)&&(o[i++]=a)}return o};var Pu=Au,Mu=function(){return[]},ku=Object.prototype.propertyIsEnumerable,Eu=Object.getOwnPropertySymbols,Cu=Eu?function(e){return null==e?[]:(e=Object(e),Pu(Eu(e),(function(t){return ku.call(e,t)})))}:Mu,_u=Cu;var Tu=function(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n},Du=On,Nu=Sn;var Iu=function(e){return Nu(e)&&"[object Arguments]"==Du(e)},Lu=Sn,Bu=Object.prototype,Ru=Bu.hasOwnProperty,zu=Bu.propertyIsEnumerable,$u=Iu(function(){return arguments}())?Iu:function(e){return Lu(e)&&Ru.call(e,"callee")&&!zu.call(e,"callee")},Hu={exports:{}};var Vu=function(){return!1};!function(e,t){var r=sn,n=Vu,i=t&&!t.nodeType&&t,o=i&&e&&!e.nodeType&&e,a=o&&o.exports===i?r.Buffer:void 0,c=(a?a.isBuffer:void 0)||n;e.exports=c}(Hu,Hu.exports);var Fu=Hu.exports,Uu=/^(?:0|[1-9]\d*)$/;var Wu=function(e,t){var r=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==r||"symbol"!=r&&Uu.test(e))&&e>-1&&e%1==0&&e<t};var qu=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991},Yu=On,Xu=qu,Ku=Sn,Gu={};Gu["[object Float32Array]"]=Gu["[object Float64Array]"]=Gu["[object Int8Array]"]=Gu["[object Int16Array]"]=Gu["[object Int32Array]"]=Gu["[object Uint8Array]"]=Gu["[object Uint8ClampedArray]"]=Gu["[object Uint16Array]"]=Gu["[object Uint32Array]"]=!0,Gu["[object Arguments]"]=Gu["[object Array]"]=Gu["[object ArrayBuffer]"]=Gu["[object Boolean]"]=Gu["[object DataView]"]=Gu["[object Date]"]=Gu["[object Error]"]=Gu["[object Function]"]=Gu["[object Map]"]=Gu["[object Number]"]=Gu["[object Object]"]=Gu["[object RegExp]"]=Gu["[object Set]"]=Gu["[object String]"]=Gu["[object WeakMap]"]=!1;var Zu=function(e){return Ku(e)&&Xu(e.length)&&!!Gu[Yu(e)]};var Ju=function(e){return function(t){return e(t)}},Qu={exports:{}};!function(e,t){var r=cn,n=t&&!t.nodeType&&t,i=n&&e&&!e.nodeType&&e,o=i&&i.exports===n&&r.process,a=function(){try{var e=i&&i.require&&i.require("util").types;return e||o&&o.binding&&o.binding("util")}catch(e){}}();e.exports=a}(Qu,Qu.exports);var es=Qu.exports,ts=Zu,rs=Ju,ns=es&&es.isTypedArray,is=ns?rs(ns):ts,os=Tu,as=$u,cs=an,ls=Fu,us=Wu,ss=is,fs=Object.prototype.hasOwnProperty;var ps=function(e,t){var r=cs(e),n=!r&&as(e),i=!r&&!n&&ls(e),o=!r&&!n&&!i&&ss(e),a=r||n||i||o,c=a?os(e.length,String):[],l=c.length;for(var u in e)!t&&!fs.call(e,u)||a&&("length"==u||i&&("offset"==u||"parent"==u)||o&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||us(u,l))||c.push(u);return c},hs=Object.prototype;var ds=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||hs)};var ys=function(e,t){return function(r){return e(t(r))}},vs=ys(Object.keys,Object),gs=ds,ms=vs,bs=Object.prototype.hasOwnProperty;var ws=function(e){if(!gs(e))return ms(e);var t=[];for(var r in Object(e))bs.call(e,r)&&"constructor"!=r&&t.push(r);return t},xs=Bn,Os=qu;var Ss=function(e){return null!=e&&Os(e.length)&&!xs(e)},js=ps,As=ws,Ps=Ss;var Ms=function(e){return Ps(e)?js(e):As(e)},ks=ju,Es=_u,Cs=Ms;var _s=function(e){return ks(e,Cs,Es)},Ts=_s,Ds=Object.prototype.hasOwnProperty;var Ns=function(e,t,r,n,i,o){var a=1&r,c=Ts(e),l=c.length;if(l!=Ts(t).length&&!a)return!1;for(var u=l;u--;){var s=c[u];if(!(a?s in t:Ds.call(t,s)))return!1}var f=o.get(e),p=o.get(t);if(f&&p)return f==t&&p==e;var h=!0;o.set(e,t),o.set(t,e);for(var d=a;++u<l;){var y=e[s=c[u]],v=t[s];if(n)var g=a?n(v,y,s,t,e,o):n(y,v,s,e,t,o);if(!(void 0===g?y===v||i(y,v,r,n,o):g)){h=!1;break}d||(d="constructor"==s)}if(h&&!d){var m=e.constructor,b=t.constructor;m==b||!("constructor"in e)||!("constructor"in t)||"function"==typeof m&&m instanceof m&&"function"==typeof b&&b instanceof b||(h=!1)}return o.delete(e),o.delete(t),h},Is=ni(sn,"DataView"),Ls=ni(sn,"Promise"),Bs=ni(sn,"Set"),Rs=Is,zs=Bi,$s=Ls,Hs=Bs,Vs=ni(sn,"WeakMap"),Fs=On,Us=Fn,Ws="[object Map]",qs="[object Promise]",Ys="[object Set]",Xs="[object WeakMap]",Ks="[object DataView]",Gs=Us(Rs),Zs=Us(zs),Js=Us($s),Qs=Us(Hs),ef=Us(Vs),tf=Fs;(Rs&&tf(new Rs(new ArrayBuffer(1)))!=Ks||zs&&tf(new zs)!=Ws||$s&&tf($s.resolve())!=qs||Hs&&tf(new Hs)!=Ys||Vs&&tf(new Vs)!=Xs)&&(tf=function(e){var t=Fs(e),r="[object Object]"==t?e.constructor:void 0,n=r?Us(r):"";if(n)switch(n){case Gs:return Ks;case Zs:return Ws;case Js:return qs;case Qs:return Ys;case ef:return Xs}return t});var rf=Ql,nf=su,of=wu,af=Ns,cf=tf,lf=an,uf=Fu,sf=is,ff="[object Arguments]",pf="[object Array]",hf="[object Object]",df=Object.prototype.hasOwnProperty;var yf=function(e,t,r,n,i,o){var a=lf(e),c=lf(t),l=a?pf:cf(e),u=c?pf:cf(t),s=(l=l==ff?hf:l)==hf,f=(u=u==ff?hf:u)==hf,p=l==u;if(p&&uf(e)){if(!uf(t))return!1;a=!0,s=!1}if(p&&!s)return o||(o=new rf),a||sf(e)?nf(e,t,r,n,i,o):of(e,t,l,r,n,i,o);if(!(1&r)){var h=s&&df.call(e,"__wrapped__"),d=f&&df.call(t,"__wrapped__");if(h||d){var y=h?e.value():e,v=d?t.value():t;return o||(o=new rf),i(y,v,r,n,o)}}return!!p&&(o||(o=new rf),af(e,t,r,n,i,o))},vf=yf,gf=Sn;var mf=function e(t,r,n,i,o){return t===r||(null==t||null==r||!gf(t)&&!gf(r)?t!=t&&r!=r:vf(t,r,n,i,e,o))},bf=Ql,wf=mf;var xf=function(e,t,r,n){var i=r.length,o=i,a=!n;if(null==e)return!o;for(e=Object(e);i--;){var c=r[i];if(a&&c[2]?c[1]!==e[c[0]]:!(c[0]in e))return!1}for(;++i<o;){var l=(c=r[i])[0],u=e[l],s=c[1];if(a&&c[2]){if(void 0===u&&!(l in e))return!1}else{var f=new bf;if(n)var p=n(u,s,l,e,t,f);if(!(void 0===p?wf(s,u,3,n,f):p))return!1}}return!0},Of=Tn;var Sf=function(e){return e==e&&!Of(e)},jf=Sf,Af=Ms;var Pf=function(e){for(var t=Af(e),r=t.length;r--;){var n=t[r],i=e[n];t[r]=[n,i,jf(i)]}return t};var Mf=function(e,t){return function(r){return null!=r&&(r[e]===t&&(void 0!==t||e in Object(r)))}},kf=xf,Ef=Pf,Cf=Mf;var _f=function(e){var t=Ef(e);return 1==t.length&&t[0][2]?Cf(t[0][0],t[0][1]):function(r){return r===e||kf(r,e,t)}};var Tf=function(e,t){return null!=e&&t in Object(e)},Df=So,Nf=$u,If=an,Lf=Wu,Bf=qu,Rf=Ao;var zf=function(e,t,r){for(var n=-1,i=(t=Df(t,e)).length,o=!1;++n<i;){var a=Rf(t[n]);if(!(o=null!=e&&r(e,a)))break;e=e[a]}return o||++n!=i?o:!!(i=null==e?0:e.length)&&Bf(i)&&Lf(a,i)&&(If(e)||Nf(e))},$f=Tf,Hf=zf;var Vf=function(e,t){return null!=e&&Hf(e,t,$f)},Ff=mf,Uf=Co,Wf=Vf,qf=_n,Yf=Sf,Xf=Mf,Kf=Ao;var Gf=function(e,t){return qf(e)&&Yf(t)?Xf(Kf(e),t):function(r){var n=Uf(r,e);return void 0===n&&n===t?Wf(r,e):Ff(t,n,3)}};var Zf=function(e){return e};var Jf=function(e){return function(t){return null==t?void 0:t[e]}},Qf=ko;var ep=function(e){return function(t){return Qf(t,e)}},tp=Jf,rp=ep,np=_n,ip=Ao;var op=_f,ap=Gf,cp=Zf,lp=an,up=function(e){return np(e)?tp(ip(e)):rp(e)};var sp=function(e){return"function"==typeof e?e:null==e?cp:"object"==typeof e?lp(e)?ap(e[0],e[1]):op(e):up(e)};var fp=function(e,t,r,n){for(var i=e.length,o=r+(n?1:-1);n?o--:++o<i;)if(t(e[o],o,e))return o;return-1};var pp=function(e,t,r){for(var n=r-1,i=e.length;++n<i;)if(e[n]===t)return n;return-1},hp=fp,dp=function(e){return e!=e},yp=pp;var vp=function(e,t,r){return t==t?yp(e,t,r):hp(e,dp,r)},gp=vp;var mp=function(e,t){return!!(null==e?0:e.length)&&gp(e,t,0)>-1};var bp=function(e,t,r){for(var n=-1,i=null==e?0:e.length;++n<i;)if(r(t,e[n]))return!0;return!1};var wp=Bs,xp=function(){},Op=wp&&1/pu(new wp([,-0]))[1]==1/0?function(e){return new wp(e)}:xp,Sp=iu,jp=mp,Ap=bp,Pp=au,Mp=Op,kp=pu;var Ep=function(e,t,r){var n=-1,i=jp,o=e.length,a=!0,c=[],l=c;if(r)a=!1,i=Ap;else if(o>=200){var u=t?null:Mp(e);if(u)return kp(u);a=!1,i=Pp,l=new Sp}else l=t?[]:c;e:for(;++n<o;){var s=e[n],f=t?t(s):s;if(s=r||0!==s?s:0,a&&f==f){for(var p=l.length;p--;)if(l[p]===f)continue e;t&&l.push(f),c.push(s)}else i(l,f,r)||(l!==c&&l.push(f),c.push(s))}return c},Cp=sp,_p=Ep;var Tp=function(e,t){return e&&e.length?_p(e,Cp(t)):[]},Dp=Xt(Tp);function Np(e,t,r){return!0===t?Dp(e,r):Rn(t)?Dp(e,t):e}function Ip(e){return Ip="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ip(e)}var Lp=["ref"];function Bp(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Rp(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Bp(Object(r),!0).forEach((function(t){Wp(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Bp(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function zp(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,qp(n.key),n)}}function $p(e,t,r){return t=Vp(t),function(e,t){if(t&&("object"===Ip(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Fp(e)}(e,Hp()?Reflect.construct(t,r||[],Vp(e).constructor):t.apply(e,r))}function Hp(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Hp=function(){return!!e})()}function Vp(e){return Vp=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Vp(e)}function Fp(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Up(e,t){return Up=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Up(e,t)}function Wp(e,t,r){return(t=qp(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function qp(e){var t=function(e,t){if("object"!=Ip(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=Ip(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Ip(t)?t:String(t)}function Yp(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function Xp(e){return e.value}var Kp=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return Wp(Fp(e=$p(this,t,[].concat(n))),"lastBoundingBox",{width:-1,height:-1}),e}var r,n,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Up(e,t)}(t,re),r=t,i=[{key:"getWithHeight",value:function(e,t){var r=e.props.layout;return"vertical"===r&&Zo(e.props.height)?{height:e.props.height}:"horizontal"===r?{width:e.props.width||t}:null}}],(n=[{key:"componentDidMount",value:function(){this.updateBBox()}},{key:"componentDidUpdate",value:function(){this.updateBBox()}},{key:"getBBox",value:function(){if(this.wrapperNode&&this.wrapperNode.getBoundingClientRect){var e=this.wrapperNode.getBoundingClientRect();return e.height=this.wrapperNode.offsetHeight,e.width=this.wrapperNode.offsetWidth,e}return null}},{key:"updateBBox",value:function(){var e=this.props.onBBoxUpdate,t=this.getBBox();t?(Math.abs(t.width-this.lastBoundingBox.width)>1||Math.abs(t.height-this.lastBoundingBox.height)>1)&&(this.lastBoundingBox.width=t.width,this.lastBoundingBox.height=t.height,e&&e(t)):-1===this.lastBoundingBox.width&&-1===this.lastBoundingBox.height||(this.lastBoundingBox.width=-1,this.lastBoundingBox.height=-1,e&&e(null))}},{key:"getBBoxSnapshot",value:function(){return this.lastBoundingBox.width>=0&&this.lastBoundingBox.height>=0?Rp({},this.lastBoundingBox):{width:0,height:0}}},{key:"getDefaultPosition",value:function(e){var t,r,n=this.props,i=n.layout,o=n.align,a=n.verticalAlign,c=n.margin,l=n.chartWidth,u=n.chartHeight;return e&&(void 0!==e.left&&null!==e.left||void 0!==e.right&&null!==e.right)||(t="center"===o&&"vertical"===i?{left:((l||0)-this.getBBoxSnapshot().width)/2}:"right"===o?{right:c&&c.right||0}:{left:c&&c.left||0}),e&&(void 0!==e.top&&null!==e.top||void 0!==e.bottom&&null!==e.bottom)||(r="middle"===a?{top:((u||0)-this.getBBoxSnapshot().height)/2}:"bottom"===a?{bottom:c&&c.bottom||0}:{top:c&&c.top||0}),Rp(Rp({},t),r)}},{key:"render",value:function(){var e=this,t=this.props,r=t.content,n=t.width,i=t.height,o=t.wrapperStyle,a=t.payloadUniqBy,c=t.payload,l=Rp(Rp({position:"absolute",width:n||"auto",height:i||"auto"},this.getDefaultPosition(o)),o);return Q.createElement("div",{className:"recharts-legend-wrapper",style:l,ref:function(t){e.wrapperNode=t}},function(e,t){if(Q.isValidElement(e))return Q.cloneElement(e,t);if("function"==typeof e)return Q.createElement(e,t);t.ref;var r=Yp(t,Lp);return Q.createElement(Hl,r)}(r,Rp(Rp({},this.props),{},{payload:Np(c,a,Xp)})))}}])&&zp(r.prototype,n),i&&zp(r,i),Object.defineProperty(r,"prototype",{writable:!1}),t}();Wp(Kp,"displayName","Legend"),Wp(Kp,"defaultProps",{iconSize:14,layout:"horizontal",align:"center",verticalAlign:"bottom"});var Gp=$u,Zp=an,Jp=fn?fn.isConcatSpreadable:void 0;var Qp=xu,eh=function(e){return Zp(e)||Gp(e)||!!(Jp&&e&&e[Jp])};var th=function e(t,r,n,i,o){var a=-1,c=t.length;for(n||(n=eh),o||(o=[]);++a<c;){var l=t[a];r>0&&n(l)?r>1?e(l,r-1,n,i,o):Qp(o,l):i||(o[o.length]=l)}return o};var rh=function(e){return function(t,r,n){for(var i=-1,o=Object(t),a=n(t),c=a.length;c--;){var l=a[e?c:++i];if(!1===r(o[l],l,o))break}return t}},nh=rh(),ih=Ms;var oh=function(e,t){return e&&nh(e,t,ih)},ah=Ss;var ch=function(e,t){return function(r,n){if(null==r)return r;if(!ah(r))return e(r,n);for(var i=r.length,o=t?i:-1,a=Object(r);(t?o--:++o<i)&&!1!==n(a[o],o,a););return r}}(oh),lh=ch,uh=Ss;var sh=function(e,t){var r=-1,n=uh(e)?Array(e.length):[];return lh(e,(function(e,i,o){n[++r]=t(e,i,o)})),n};var fh=function(e,t){var r=e.length;for(e.sort(t);r--;)e[r]=e[r].value;return e},ph=Pn;var hh=function(e,t){if(e!==t){var r=void 0!==e,n=null===e,i=e==e,o=ph(e),a=void 0!==t,c=null===t,l=t==t,u=ph(t);if(!c&&!u&&!o&&e>t||o&&a&&l&&!c&&!u||n&&a&&l||!r&&l||!i)return 1;if(!n&&!o&&!u&&e<t||u&&r&&i&&!n&&!o||c&&r&&i||!a&&i||!l)return-1}return 0};var dh=function(e,t,r){for(var n=-1,i=e.criteria,o=t.criteria,a=i.length,c=r.length;++n<a;){var l=hh(i[n],o[n]);if(l)return n>=c?l:l*("desc"==r[n]?-1:1)}return e.index-t.index},yh=uo,vh=ko,gh=sp,mh=sh,bh=fh,wh=Ju,xh=dh,Oh=Zf,Sh=an;var jh=function(e,t,r){t=t.length?yh(t,(function(e){return Sh(e)?function(t){return vh(t,1===e.length?e[0]:e)}:e})):[Oh];var n=-1;t=yh(t,wh(gh));var i=mh(e,(function(e,r,i){return{criteria:yh(t,(function(t){return t(e)})),index:++n,value:e}}));return bh(i,(function(e,t){return xh(e,t,r)}))};var Ah=function(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)},Ph=Math.max;var Mh=function(e,t,r){return t=Ph(void 0===t?e.length-1:t,0),function(){for(var n=arguments,i=-1,o=Ph(n.length-t,0),a=Array(o);++i<o;)a[i]=n[t+i];i=-1;for(var c=Array(t+1);++i<t;)c[i]=n[i];return c[t]=r(a),Ah(e,this,c)}};var kh=function(e){return function(){return e}},Eh=ni,Ch=function(){try{var e=Eh(Object,"defineProperty");return e({},"",{}),e}catch(e){}}(),_h=kh,Th=Ch,Dh=Th?function(e,t){return Th(e,"toString",{configurable:!0,enumerable:!1,value:_h(t),writable:!0})}:Zf,Nh=Dh,Ih=Date.now;var Lh=function(e){var t=0,r=0;return function(){var n=Ih(),i=16-(n-r);if(r=n,i>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(Nh),Bh=Zf,Rh=Mh,zh=Lh;var $h=Oi,Hh=Ss,Vh=Wu,Fh=Tn;var Uh=function(e,t,r){if(!Fh(r))return!1;var n=typeof t;return!!("number"==n?Hh(r)&&Vh(t,r.length):"string"==n&&t in r)&&$h(r[t],e)},Wh=th,qh=jh,Yh=Uh,Xh=Xt(function(e,t){return zh(Rh(e,t,Bh),e+"")}((function(e,t){if(null==e)return[];var r=t.length;return r>1&&Yh(e,t[0],t[1])?t=[]:r>2&&Yh(t[0],t[1],t[2])&&(t=[t[0]]),qh(e,Wh(t,1),[])})));function Kh(e){return Kh="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Kh(e)}function Gh(){return Gh=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Gh.apply(this,arguments)}function Zh(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,o,a,c=[],l=!0,u=!1;try{if(o=(r=r.call(e)).next,0===t);else for(;!(l=(n=o.call(r)).done)&&(c.push(n.value),c.length!==t);l=!0);}catch(e){u=!0,i=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw i}}return c}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Jh(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Jh(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Jh(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Qh(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ed(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Qh(Object(r),!0).forEach((function(t){td(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Qh(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function td(e,t,r){return t=function(e){var t=function(e,t){if("object"!=Kh(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=Kh(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Kh(t)?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function rd(e){return Array.isArray(e)&&Jo(e[0])&&Jo(e[1])?e.join(" ~ "):e}var nd=function(e){var t=e.separator,r=void 0===t?" : ":t,n=e.contentStyle,i=void 0===n?{}:n,o=e.itemStyle,a=void 0===o?{}:o,c=e.labelStyle,l=void 0===c?{}:c,u=e.payload,s=e.formatter,f=e.itemSorter,p=e.wrapperClassName,h=e.labelClassName,d=e.label,y=e.labelFormatter,v=e.accessibilityLayer,g=void 0!==v&&v,m=ed({margin:0,padding:10,backgroundColor:"#fff",border:"1px solid #ccc",whiteSpace:"nowrap"},i),b=ed({margin:0},l),w=!To(d),x=w?d:"",O=on("recharts-default-tooltip",p),S=on("recharts-tooltip-label",h);w&&y&&null!=u&&(x=y(d,u));var j=g?{role:"status","aria-live":"assertive"}:{};return Q.createElement("div",Gh({className:O,style:m},j),Q.createElement("p",{className:S,style:b},Q.isValidElement(x)?x:"".concat(x)),function(){if(u&&u.length){var e=(f?Xh(u,f):u).map((function(e,t){if("none"===e.type)return null;var n=ed({display:"block",paddingTop:4,paddingBottom:4,color:e.color||"#000"},a),i=e.formatter||s||rd,o=e.value,c=e.name,l=o,f=c;if(i&&null!=l&&null!=f){var p=i(o,c,e,t,u);if(Array.isArray(p)){var h=Zh(p,2);l=h[0],f=h[1]}else l=p}return Q.createElement("li",{className:"recharts-tooltip-item",key:"tooltip-item-".concat(t),style:n},Jo(f)?Q.createElement("span",{className:"recharts-tooltip-item-name"},f):null,Jo(f)?Q.createElement("span",{className:"recharts-tooltip-item-separator"},r):null,Q.createElement("span",{className:"recharts-tooltip-item-value"},l),Q.createElement("span",{className:"recharts-tooltip-item-unit"},e.unit||""))}));return Q.createElement("ul",{className:"recharts-tooltip-item-list",style:{padding:0,margin:0}},e)}return null}())};function id(e){return id="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},id(e)}function od(e,t,r){return t=function(e){var t=function(e,t){if("object"!=id(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=id(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==id(t)?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var ad="recharts-tooltip-wrapper",cd={visibility:"hidden"};function ld(e){var t=e.coordinate,r=e.translateX,n=e.translateY;return on(ad,od(od(od(od({},"".concat(ad,"-right"),Zo(r)&&t&&Zo(t.x)&&r>=t.x),"".concat(ad,"-left"),Zo(r)&&t&&Zo(t.x)&&r<t.x),"".concat(ad,"-bottom"),Zo(n)&&t&&Zo(t.y)&&n>=t.y),"".concat(ad,"-top"),Zo(n)&&t&&Zo(t.y)&&n<t.y))}function ud(e){var t=e.allowEscapeViewBox,r=e.coordinate,n=e.key,i=e.offsetTopLeft,o=e.position,a=e.reverseDirection,c=e.tooltipDimension,l=e.viewBox,u=e.viewBoxDimension;if(o&&Zo(o[n]))return o[n];var s=r[n]-c-i,f=r[n]+i;return t[n]?a[n]?s:f:a[n]?s<l[n]?Math.max(f,l[n]):Math.max(s,l[n]):f+c>l[n]+u?Math.max(s,l[n]):Math.max(f,l[n])}function sd(e){return sd="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},sd(e)}function fd(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function pd(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?fd(Object(r),!0).forEach((function(t){bd(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):fd(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function hd(e,t,r){return t&&function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,wd(n.key),n)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function dd(e,t,r){return t=vd(t),function(e,t){if(t&&("object"===sd(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return gd(e)}(e,yd()?Reflect.construct(t,r||[],vd(e).constructor):t.apply(e,r))}function yd(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(yd=function(){return!!e})()}function vd(e){return vd=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},vd(e)}function gd(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function md(e,t){return md=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},md(e,t)}function bd(e,t,r){return(t=wd(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function wd(e){var t=function(e,t){if("object"!=sd(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=sd(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==sd(t)?t:String(t)}var xd=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return bd(gd(e=dd(this,t,[].concat(n))),"state",{dismissed:!1,dismissedAtCoordinate:{x:0,y:0},lastBoundingBox:{width:-1,height:-1}}),bd(gd(e),"handleKeyDown",(function(t){var r,n,i,o;"Escape"===t.key&&e.setState({dismissed:!0,dismissedAtCoordinate:{x:null!==(r=null===(n=e.props.coordinate)||void 0===n?void 0:n.x)&&void 0!==r?r:0,y:null!==(i=null===(o=e.props.coordinate)||void 0===o?void 0:o.y)&&void 0!==i?i:0}})})),e}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&md(e,t)}(t,re),hd(t,[{key:"updateBBox",value:function(){if(this.wrapperNode&&this.wrapperNode.getBoundingClientRect){var e=this.wrapperNode.getBoundingClientRect();(Math.abs(e.width-this.state.lastBoundingBox.width)>1||Math.abs(e.height-this.state.lastBoundingBox.height)>1)&&this.setState({lastBoundingBox:{width:e.width,height:e.height}})}else-1===this.state.lastBoundingBox.width&&-1===this.state.lastBoundingBox.height||this.setState({lastBoundingBox:{width:-1,height:-1}})}},{key:"componentDidMount",value:function(){document.addEventListener("keydown",this.handleKeyDown),this.updateBBox()}},{key:"componentWillUnmount",value:function(){document.removeEventListener("keydown",this.handleKeyDown)}},{key:"componentDidUpdate",value:function(){var e,t;this.props.active&&this.updateBBox(),this.state.dismissed&&((null===(e=this.props.coordinate)||void 0===e?void 0:e.x)===this.state.dismissedAtCoordinate.x&&(null===(t=this.props.coordinate)||void 0===t?void 0:t.y)===this.state.dismissedAtCoordinate.y||(this.state.dismissed=!1))}},{key:"render",value:function(){var e=this,t=this.props,r=t.active,n=t.allowEscapeViewBox,i=t.animationDuration,o=t.animationEasing,a=t.children,c=t.coordinate,l=t.hasPayload,u=t.isAnimationActive,s=t.offset,f=t.position,p=t.reverseDirection,h=t.useTranslate3d,d=t.viewBox,y=t.wrapperStyle,v=function(e){var t,r,n=e.allowEscapeViewBox,i=e.coordinate,o=e.offsetTopLeft,a=e.position,c=e.reverseDirection,l=e.tooltipBox,u=e.useTranslate3d,s=e.viewBox;return{cssProperties:l.height>0&&l.width>0&&i?function(e){var t=e.translateX,r=e.translateY;return{transform:e.useTranslate3d?"translate3d(".concat(t,"px, ").concat(r,"px, 0)"):"translate(".concat(t,"px, ").concat(r,"px)")}}({translateX:t=ud({allowEscapeViewBox:n,coordinate:i,key:"x",offsetTopLeft:o,position:a,reverseDirection:c,tooltipDimension:l.width,viewBox:s,viewBoxDimension:s.width}),translateY:r=ud({allowEscapeViewBox:n,coordinate:i,key:"y",offsetTopLeft:o,position:a,reverseDirection:c,tooltipDimension:l.height,viewBox:s,viewBoxDimension:s.height}),useTranslate3d:u}):cd,cssClasses:ld({translateX:t,translateY:r,coordinate:i})}}({allowEscapeViewBox:n,coordinate:c,offsetTopLeft:s,position:f,reverseDirection:p,tooltipBox:this.state.lastBoundingBox,useTranslate3d:h,viewBox:d}),g=v.cssClasses,m=v.cssProperties,b=pd(pd({transition:u&&r?"transform ".concat(i,"ms ").concat(o):void 0},m),{},{pointerEvents:"none",visibility:!this.state.dismissed&&r&&l?"visible":"hidden",position:"absolute",top:0,left:0},y);return Q.createElement("div",{tabIndex:-1,className:g,style:b,ref:function(t){e.wrapperNode=t}},a)}}]),t}(),Od={isSsr:!("undefined"!=typeof window&&window.document&&window.document.createElement&&window.setTimeout),get:function(e){return Od[e]},set:function(e,t){if("string"==typeof e)Od[e]=t;else{var r=Object.keys(e);r&&r.length&&r.forEach((function(t){Od[t]=e[t]}))}}};function Sd(e){return Sd="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Sd(e)}function jd(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ad(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?jd(Object(r),!0).forEach((function(t){_d(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):jd(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Pd(e,t,r){return t&&function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,Td(n.key),n)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function Md(e,t,r){return t=Ed(t),function(e,t){if(t&&("object"===Sd(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,kd()?Reflect.construct(t,r||[],Ed(e).constructor):t.apply(e,r))}function kd(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(kd=function(){return!!e})()}function Ed(e){return Ed=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Ed(e)}function Cd(e,t){return Cd=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Cd(e,t)}function _d(e,t,r){return(t=Td(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Td(e){var t=function(e,t){if("object"!=Sd(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=Sd(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Sd(t)?t:String(t)}function Dd(e){return e.dataKey}var Nd=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Md(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Cd(e,t)}(t,re),Pd(t,[{key:"render",value:function(){var e=this,t=this.props,r=t.active,n=t.allowEscapeViewBox,i=t.animationDuration,o=t.animationEasing,a=t.content,c=t.coordinate,l=t.filterNull,u=t.isAnimationActive,s=t.offset,f=t.payload,p=t.payloadUniqBy,h=t.position,d=t.reverseDirection,y=t.useTranslate3d,v=t.viewBox,g=t.wrapperStyle,m=null!=f?f:[];l&&m.length&&(m=Np(f.filter((function(t){return null!=t.value&&(!0!==t.hide||e.props.includeHidden)})),p,Dd));var b=m.length>0;return Q.createElement(xd,{allowEscapeViewBox:n,animationDuration:i,animationEasing:o,isAnimationActive:u,active:r,coordinate:c,hasPayload:b,offset:s,position:h,reverseDirection:d,useTranslate3d:y,viewBox:v,wrapperStyle:g},function(e,t){return Q.isValidElement(e)?Q.cloneElement(e,t):"function"==typeof e?Q.createElement(e,t):Q.createElement(nd,t)}(a,Ad(Ad({},this.props),{},{payload:m})))}}]),t}();_d(Nd,"displayName","Tooltip"),_d(Nd,"defaultProps",{accessibilityLayer:!1,allowEscapeViewBox:{x:!1,y:!1},animationDuration:400,animationEasing:"ease",contentStyle:{},coordinate:{x:0,y:0},cursor:!0,cursorStyle:{},filterNull:!0,isAnimationActive:!Od.isSsr,itemStyle:{},labelStyle:{},offset:10,reverseDirection:{x:!1,y:!1},separator:" : ",trigger:"hover",useTranslate3d:!1,viewBox:{x:0,y:0,height:0,width:0},wrapperStyle:{}});var Id=sn,Ld=/\s/;var Bd=function(e){for(var t=e.length;t--&&Ld.test(e.charAt(t)););return t},Rd=Bd,zd=/^\s+/;var $d=function(e){return e?e.slice(0,Rd(e)+1).replace(zd,""):e},Hd=$d,Vd=Tn,Fd=Pn,Ud=/^[-+]0x[0-9a-f]+$/i,Wd=/^0b[01]+$/i,qd=/^0o[0-7]+$/i,Yd=parseInt;var Xd=function(e){if("number"==typeof e)return e;if(Fd(e))return NaN;if(Vd(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=Vd(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Hd(e);var r=Wd.test(e);return r||qd.test(e)?Yd(e.slice(2),r?2:8):Ud.test(e)?NaN:+e},Kd=Tn,Gd=function(){return Id.Date.now()},Zd=Xd,Jd=Math.max,Qd=Math.min;var ey=function(e,t,r){var n,i,o,a,c,l,u=0,s=!1,f=!1,p=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function h(t){var r=n,o=i;return n=i=void 0,u=t,a=e.apply(o,r)}function d(e){var r=e-l;return void 0===l||r>=t||r<0||f&&e-u>=o}function y(){var e=Gd();if(d(e))return v(e);c=setTimeout(y,function(e){var r=t-(e-l);return f?Qd(r,o-(e-u)):r}(e))}function v(e){return c=void 0,p&&n?h(e):(n=i=void 0,a)}function g(){var e=Gd(),r=d(e);if(n=arguments,i=this,l=e,r){if(void 0===c)return function(e){return u=e,c=setTimeout(y,t),s?h(e):a}(l);if(f)return clearTimeout(c),c=setTimeout(y,t),h(l)}return void 0===c&&(c=setTimeout(y,t)),a}return t=Zd(t)||0,Kd(r)&&(s=!!r.leading,o=(f="maxWait"in r)?Jd(Zd(r.maxWait)||0,t):o,p="trailing"in r?!!r.trailing:p),g.cancel=function(){void 0!==c&&clearTimeout(c),u=0,n=l=i=c=void 0},g.flush=function(){return void 0===c?a:v(Gd())},g},ty=ey,ry=Tn;var ny=Xt((function(e,t,r){var n=!0,i=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return ry(r)&&(n="leading"in r?!!r.leading:n,i="trailing"in r?!!r.trailing:i),ty(e,t,{leading:n,maxWait:t,trailing:i})}));function iy(e){return iy="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},iy(e)}function oy(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ay(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?oy(Object(r),!0).forEach((function(t){cy(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):oy(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function cy(e,t,r){return t=function(e){var t=function(e,t){if("object"!=iy(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=iy(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==iy(t)?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ly(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,o,a,c=[],l=!0,u=!1;try{if(o=(r=r.call(e)).next,0===t);else for(;!(l=(n=o.call(r)).done)&&(c.push(n.value),c.length!==t);l=!0);}catch(e){u=!0,i=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw i}}return c}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return uy(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return uy(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function uy(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var sy=ne((function(e,t){var r=e.aspect,n=e.initialDimension,i=void 0===n?{width:-1,height:-1}:n,o=e.width,a=void 0===o?"100%":o,c=e.height,l=void 0===c?"100%":c,u=e.minWidth,s=void 0===u?0:u,f=e.minHeight,p=e.maxHeight,h=e.children,d=e.debounce,y=void 0===d?0:d,v=e.id,g=e.className,m=e.onResize,b=e.style,w=void 0===b?{}:b,x=ie(null),O=ie();O.current=m,oe(t,(function(){return Object.defineProperty(x.current,"current",{get:function(){return console.warn("The usage of ref.current.current is deprecated and will no longer be supported."),x.current},configurable:!0})}));var S=ly(ae({containerWidth:i.width,containerHeight:i.height}),2),j=S[0],A=S[1],P=ce((function(e,t){A((function(r){var n=Math.round(e),i=Math.round(t);return r.containerWidth===n&&r.containerHeight===i?r:{containerWidth:n,containerHeight:i}}))}),[]);le((function(){var e=function(e){var t,r=e[0].contentRect,n=r.width,i=r.height;P(n,i),null===(t=O.current)||void 0===t||t.call(O,n,i)};y>0&&(e=ny(e,y,{trailing:!0,leading:!1}));var t=new ResizeObserver(e),r=x.current.getBoundingClientRect(),n=r.width,i=r.height;return P(n,i),t.observe(x.current),function(){t.disconnect()}}),[P,y]);var M=ue((function(){var e=j.containerWidth,t=j.containerHeight;if(e<0||t<0)return null;$a(Go(a)||Go(l),"The width(%s) and height(%s) are both fixed numbers,\n maybe you don't need to use a ResponsiveContainer.",a,l),$a(!r||r>0,"The aspect(%s) must be greater than zero.",r);var n=Go(a)?e:a,i=Go(l)?t:l;r&&r>0&&(n?i=n/r:i&&(n=i*r),p&&i>p&&(i=p)),$a(n>0||i>0,"The width(%s) and height(%s) of chart should be greater than 0,\n please check the style of container, or the props width(%s) and height(%s),\n or add a minWidth(%s) or minHeight(%s) or use aspect(%s) to control the\n height and width.",n,i,a,l,s,f,r);var o=!Array.isArray(h)&&Vo.isElement(h)&&ma(h.type).endsWith("Chart");return Q.Children.map(h,(function(e){return Vo.isElement(e)?se(e,ay({width:n,height:i},o?{style:ay({height:"100%",width:"100%",maxHeight:i,maxWidth:n},e.props.style)}:{})):e}))}),[r,h,l,p,f,s,j,a]);return Q.createElement("div",{id:v?"".concat(v):void 0,className:on("recharts-responsive-container",g),style:ay(ay({},w),{},{width:a,height:l,minWidth:s,minHeight:f,maxHeight:p}),ref:x},M)})),fy=function(e){return null};function py(e){return py="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},py(e)}function hy(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function dy(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?hy(Object(r),!0).forEach((function(t){yy(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):hy(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function yy(e,t,r){return t=function(e){var t=function(e,t){if("object"!=py(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=py(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==py(t)?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}fy.displayName="Cell";var vy={widthCache:{},cacheCount:0},gy={position:"absolute",top:"-20000px",left:0,padding:0,margin:0,border:"none",whiteSpace:"pre"},my="recharts_measurement_span";var by=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(null==e||Od.isSsr)return{width:0,height:0};var r,n=(r=dy({},t),Object.keys(r).forEach((function(e){r[e]||delete r[e]})),r),i=JSON.stringify({text:e,copyStyle:n});if(vy.widthCache[i])return vy.widthCache[i];try{var o=document.getElementById(my);o||((o=document.createElement("span")).setAttribute("id",my),o.setAttribute("aria-hidden","true"),document.body.appendChild(o));var a=dy(dy({},gy),n);Object.assign(o.style,a),o.textContent="".concat(e);var c=o.getBoundingClientRect(),l={width:c.width,height:c.height};return vy.widthCache[i]=l,++vy.cacheCount>2e3&&(vy.cacheCount=0,vy.widthCache={}),l}catch(e){return{width:0,height:0}}};function wy(e){return wy="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},wy(e)}function xy(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,o,a,c=[],l=!0,u=!1;try{if(o=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=o.call(r)).done)&&(c.push(n.value),c.length!==t);l=!0);}catch(e){u=!0,i=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw i}}return c}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Oy(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Oy(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Oy(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Sy(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,jy(n.key),n)}}function jy(e){var t=function(e,t){if("object"!=wy(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t);if("object"!=wy(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==wy(t)?t:String(t)}var Ay=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,Py=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([+-])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,My=/^px|cm|vh|vw|em|rem|%|mm|in|pt|pc|ex|ch|vmin|vmax|Q$/,ky=/(-?\d+(?:\.\d+)?)([a-zA-Z%]+)?/,Ey={cm:96/2.54,mm:96/25.4,pt:96/72,pc:16,in:96,Q:96/101.6,px:1},Cy=Object.keys(Ey),_y="NaN";var Ty=function(){function e(t,r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.num=t,this.unit=r,this.num=t,this.unit=r,Number.isNaN(t)&&(this.unit=""),""===r||My.test(r)||(this.num=NaN,this.unit=""),Cy.includes(r)&&(this.num=function(e,t){return e*Ey[t]}(t,r),this.unit="px")}var t,r,n;return t=e,n=[{key:"parse",value:function(t){var r,n=xy(null!==(r=ky.exec(t))&&void 0!==r?r:[],3),i=n[1],o=n[2];return new e(parseFloat(i),null!=o?o:"")}}],(r=[{key:"add",value:function(t){return this.unit!==t.unit?new e(NaN,""):new e(this.num+t.num,this.unit)}},{key:"subtract",value:function(t){return this.unit!==t.unit?new e(NaN,""):new e(this.num-t.num,this.unit)}},{key:"multiply",value:function(t){return""!==this.unit&&""!==t.unit&&this.unit!==t.unit?new e(NaN,""):new e(this.num*t.num,this.unit||t.unit)}},{key:"divide",value:function(t){return""!==this.unit&&""!==t.unit&&this.unit!==t.unit?new e(NaN,""):new e(this.num/t.num,this.unit||t.unit)}},{key:"toString",value:function(){return"".concat(this.num).concat(this.unit)}},{key:"isNaN",value:function(){return Number.isNaN(this.num)}}])&&Sy(t.prototype,r),n&&Sy(t,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();function Dy(e){if(e.includes(_y))return _y;for(var t=e;t.includes("*")||t.includes("/");){var r,n=xy(null!==(r=Ay.exec(t))&&void 0!==r?r:[],4),i=n[1],o=n[2],a=n[3],c=Ty.parse(null!=i?i:""),l=Ty.parse(null!=a?a:""),u="*"===o?c.multiply(l):c.divide(l);if(u.isNaN())return _y;t=t.replace(Ay,u.toString())}for(;t.includes("+")||/.-\d+(?:\.\d+)?/.test(t);){var s,f=xy(null!==(s=Py.exec(t))&&void 0!==s?s:[],4),p=f[1],h=f[2],d=f[3],y=Ty.parse(null!=p?p:""),v=Ty.parse(null!=d?d:""),g="+"===h?y.add(v):y.subtract(v);if(g.isNaN())return _y;t=t.replace(Py,g.toString())}return t}var Ny=/\(([^()]*)\)/;function Iy(e){var t=e.replace(/\s+/g,"");return t=function(e){for(var t=e;t.includes("(");){var r=xy(Ny.exec(t),2)[1];t=t.replace(Ny,Dy(r))}return t}(t),t=Dy(t)}function Ly(e){var t=function(e){try{return Iy(e)}catch(e){return _y}}(e.slice(5,-1));return t===_y?"":t}var By=["x","y","lineHeight","capHeight","scaleToFit","textAnchor","verticalAnchor","fill"],Ry=["dx","dy","angle","className","breakAll"];function zy(){return zy=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},zy.apply(this,arguments)}function $y(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function Hy(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,o,a,c=[],l=!0,u=!1;try{if(o=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=o.call(r)).done)&&(c.push(n.value),c.length!==t);l=!0);}catch(e){u=!0,i=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw i}}return c}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Vy(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Vy(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Vy(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var Fy=/[ \f\n\r\t\v\u2028\u2029]+/,Uy=function(e){var t=e.children,r=e.breakAll,n=e.style;try{var i=[];return To(t)||(i=r?t.toString().split(""):t.toString().split(Fy)),{wordsWithComputedWidth:i.map((function(e){return{word:e,width:by(e,n).width}})),spaceWidth:r?0:by(" ",n).width}}catch(e){return null}},Wy=function(e){return[{words:To(e)?[]:e.toString().split(Fy)}]},qy=function(e){var t=e.width,r=e.scaleToFit,n=e.children,i=e.style,o=e.breakAll,a=e.maxLines;if((t||r)&&!Od.isSsr){var c=Uy({breakAll:o,children:n,style:i});return c?function(e,t,r,n,i){var o=e.maxLines,a=e.children,c=e.style,l=e.breakAll,u=Zo(o),s=a,f=function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).reduce((function(e,t){var o=t.word,a=t.width,c=e[e.length-1];if(c&&(null==n||i||c.width+a+r<Number(n)))c.words.push(o),c.width+=a+r;else{var l={words:[o],width:a};e.push(l)}return e}),[])},p=f(t);if(!u)return p;for(var h,d=function(e){var t=s.slice(0,e),r=Uy({breakAll:l,style:c,children:t+"…"}).wordsWithComputedWidth,i=f(r),a=i.length>o||function(e){return e.reduce((function(e,t){return e.width>t.width?e:t}))}(i).width>Number(n);return[a,i]},y=0,v=s.length-1,g=0;y<=v&&g<=s.length-1;){var m=Math.floor((y+v)/2),b=Hy(d(m-1),2),w=b[0],x=b[1],O=Hy(d(m),1)[0];if(w||O||(y=m+1),w&&O&&(v=m-1),!w&&O){h=x;break}g++}return h||p}({breakAll:o,children:n,maxLines:a,style:i},c.wordsWithComputedWidth,c.spaceWidth,t,r):Wy(n)}return Wy(n)},Yy="#808080",Xy=function(e){var t=e.x,r=void 0===t?0:t,n=e.y,i=void 0===n?0:n,o=e.lineHeight,a=void 0===o?"1em":o,c=e.capHeight,l=void 0===c?"0.71em":c,u=e.scaleToFit,s=void 0!==u&&u,f=e.textAnchor,p=void 0===f?"start":f,h=e.verticalAnchor,d=void 0===h?"end":h,y=e.fill,v=void 0===y?Yy:y,g=$y(e,By),m=ue((function(){return qy({breakAll:g.breakAll,children:g.children,maxLines:g.maxLines,scaleToFit:s,style:g.style,width:g.width})}),[g.breakAll,g.children,g.maxLines,s,g.style,g.width]),b=g.dx,w=g.dy,x=g.angle,O=g.className,S=g.breakAll,j=$y(g,Ry);if(!Jo(r)||!Jo(i))return null;var A,P=r+(Zo(b)?b:0),M=i+(Zo(w)?w:0);switch(d){case"start":A=Ly("calc(".concat(l,")"));break;case"middle":A=Ly("calc(".concat((m.length-1)/2," * -").concat(a," + (").concat(l," / 2))"));break;default:A=Ly("calc(".concat(m.length-1," * -").concat(a,")"))}var k=[];if(s){var E=m[0].width,C=g.width;k.push("scale(".concat((Zo(C)?C/E:1)/E,")"))}return x&&k.push("rotate(".concat(x,", ").concat(P,", ").concat(M,")")),k.length&&(j.transform=k.join(" ")),Q.createElement("text",zy({},Ma(j,!0),{x:P,y:M,className:on("recharts-text",O),textAnchor:p,fill:v.includes("url")?Yy:v}),m.map((function(e,t){var r=e.words.join(S?"":" ");return Q.createElement("tspan",{x:P,dy:0===t?A:a,key:r},r)})))};function Ky(e,t){return null==e||null==t?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function Gy(e,t){return null==e||null==t?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function Zy(e){let t,r,n;function i(e,n,i=0,o=e.length){if(i<o){if(0!==t(n,n))return o;do{const t=i+o>>>1;r(e[t],n)<0?i=t+1:o=t}while(i<o)}return i}return 2!==e.length?(t=Ky,r=(t,r)=>Ky(e(t),r),n=(t,r)=>e(t)-r):(t=e===Ky||e===Gy?e:Jy,r=e,n=e),{left:i,center:function(e,t,r=0,o=e.length){const a=i(e,t,r,o-1);return a>r&&n(e[a-1],t)>-n(e[a],t)?a-1:a},right:function(e,n,i=0,o=e.length){if(i<o){if(0!==t(n,n))return o;do{const t=i+o>>>1;r(e[t],n)<=0?i=t+1:o=t}while(i<o)}return i}}}function Jy(){return 0}function Qy(e){return null===e?NaN:+e}const ev=Zy(Ky).right;Zy(Qy).center;class tv extends Map{constructor(e,t=nv){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:t}}),null!=e)for(const[t,r]of e)this.set(t,r)}get(e){return super.get(rv(this,e))}has(e){return super.has(rv(this,e))}set(e,t){return super.set(function({_intern:e,_key:t},r){const n=t(r);return e.has(n)?e.get(n):(e.set(n,r),r)}(this,e),t)}delete(e){return super.delete(function({_intern:e,_key:t},r){const n=t(r);e.has(n)&&(r=e.get(n),e.delete(n));return r}(this,e))}}function rv({_intern:e,_key:t},r){const n=t(r);return e.has(n)?e.get(n):r}function nv(e){return null!==e&&"object"==typeof e?e.valueOf():e}function iv(e,t){return(null==e||!(e>=e))-(null==t||!(t>=t))||(e<t?-1:e>t?1:0)}const ov=Math.sqrt(50),av=Math.sqrt(10),cv=Math.sqrt(2);function lv(e,t,r){const n=(t-e)/Math.max(0,r),i=Math.floor(Math.log10(n)),o=n/Math.pow(10,i),a=o>=ov?10:o>=av?5:o>=cv?2:1;let c,l,u;return i<0?(u=Math.pow(10,-i)/a,c=Math.round(e*u),l=Math.round(t*u),c/u<e&&++c,l/u>t&&--l,u=-u):(u=Math.pow(10,i)*a,c=Math.round(e/u),l=Math.round(t/u),c*u<e&&++c,l*u>t&&--l),l<c&&.5<=r&&r<2?lv(e,t,2*r):[c,l,u]}function uv(e,t,r){if(!((r=+r)>0))return[];if((e=+e)===(t=+t))return[e];const n=t<e,[i,o,a]=n?lv(t,e,r):lv(e,t,r);if(!(o>=i))return[];const c=o-i+1,l=new Array(c);if(n)if(a<0)for(let e=0;e<c;++e)l[e]=(o-e)/-a;else for(let e=0;e<c;++e)l[e]=(o-e)*a;else if(a<0)for(let e=0;e<c;++e)l[e]=(i+e)/-a;else for(let e=0;e<c;++e)l[e]=(i+e)*a;return l}function sv(e,t,r){return lv(e=+e,t=+t,r=+r)[2]}function fv(e,t,r){r=+r;const n=(t=+t)<(e=+e),i=n?sv(t,e,r):sv(e,t,r);return(n?-1:1)*(i<0?1/-i:i)}function pv(e,t){let r;for(const t of e)null!=t&&(r<t||void 0===r&&t>=t)&&(r=t);return r}function hv(e,t){let r;for(const t of e)null!=t&&(r>t||void 0===r&&t>=t)&&(r=t);return r}function dv(e,t,r=0,n=1/0,i){if(t=Math.floor(t),r=Math.floor(Math.max(0,r)),n=Math.floor(Math.min(e.length-1,n)),!(r<=t&&t<=n))return e;for(i=void 0===i?iv:function(e=Ky){if(e===Ky)return iv;if("function"!=typeof e)throw new TypeError("compare is not a function");return(t,r)=>{const n=e(t,r);return n||0===n?n:(0===e(r,r))-(0===e(t,t))}}(i);n>r;){if(n-r>600){const o=n-r+1,a=t-r+1,c=Math.log(o),l=.5*Math.exp(2*c/3),u=.5*Math.sqrt(c*l*(o-l)/o)*(a-o/2<0?-1:1);dv(e,t,Math.max(r,Math.floor(t-a*l/o+u)),Math.min(n,Math.floor(t+(o-a)*l/o+u)),i)}const o=e[t];let a=r,c=n;for(yv(e,r,t),i(e[n],o)>0&&yv(e,r,n);a<c;){for(yv(e,a,c),++a,--c;i(e[a],o)<0;)++a;for(;i(e[c],o)>0;)--c}0===i(e[r],o)?yv(e,r,c):(++c,yv(e,c,n)),c<=t&&(r=c+1),t<=c&&(n=c-1)}return e}function yv(e,t,r){const n=e[t];e[t]=e[r],e[r]=n}function vv(e,t,r=Qy){if((n=e.length)&&!isNaN(t=+t)){if(t<=0||n<2)return+r(e[0],0,e);if(t>=1)return+r(e[n-1],n-1,e);var n,i=(n-1)*t,o=Math.floor(i),a=+r(e[o],o,e);return a+(+r(e[o+1],o+1,e)-a)*(i-o)}}function gv(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e)}return this}function mv(e,t){switch(arguments.length){case 0:break;case 1:"function"==typeof e?this.interpolator(e):this.range(e);break;default:this.domain(e),"function"==typeof t?this.interpolator(t):this.range(t)}return this}const bv=Symbol("implicit");function wv(){var e=new tv,t=[],r=[],n=bv;function i(i){let o=e.get(i);if(void 0===o){if(n!==bv)return n;e.set(i,o=t.push(i)-1)}return r[o%r.length]}return i.domain=function(r){if(!arguments.length)return t.slice();t=[],e=new tv;for(const n of r)e.has(n)||e.set(n,t.push(n)-1);return i},i.range=function(e){return arguments.length?(r=Array.from(e),i):r.slice()},i.unknown=function(e){return arguments.length?(n=e,i):n},i.copy=function(){return wv(t,r).unknown(n)},gv.apply(i,arguments),i}function xv(){var e,t,r=wv().unknown(void 0),n=r.domain,i=r.range,o=0,a=1,c=!1,l=0,u=0,s=.5;function f(){var r=n().length,f=a<o,p=f?a:o,h=f?o:a;e=(h-p)/Math.max(1,r-l+2*u),c&&(e=Math.floor(e)),p+=(h-p-e*(r-l))*s,t=e*(1-l),c&&(p=Math.round(p),t=Math.round(t));var d=function(e,t,r){e=+e,t=+t,r=(i=arguments.length)<2?(t=e,e=0,1):i<3?1:+r;for(var n=-1,i=0|Math.max(0,Math.ceil((t-e)/r)),o=new Array(i);++n<i;)o[n]=e+n*r;return o}(r).map((function(t){return p+e*t}));return i(f?d.reverse():d)}return delete r.unknown,r.domain=function(e){return arguments.length?(n(e),f()):n()},r.range=function(e){return arguments.length?([o,a]=e,o=+o,a=+a,f()):[o,a]},r.rangeRound=function(e){return[o,a]=e,o=+o,a=+a,c=!0,f()},r.bandwidth=function(){return t},r.step=function(){return e},r.round=function(e){return arguments.length?(c=!!e,f()):c},r.padding=function(e){return arguments.length?(l=Math.min(1,u=+e),f()):l},r.paddingInner=function(e){return arguments.length?(l=Math.min(1,e),f()):l},r.paddingOuter=function(e){return arguments.length?(u=+e,f()):u},r.align=function(e){return arguments.length?(s=Math.max(0,Math.min(1,e)),f()):s},r.copy=function(){return xv(n(),[o,a]).round(c).paddingInner(l).paddingOuter(u).align(s)},gv.apply(f(),arguments)}function Ov(e){var t=e.copy;return e.padding=e.paddingOuter,delete e.paddingInner,delete e.paddingOuter,e.copy=function(){return Ov(t())},e}function Sv(){return Ov(xv.apply(null,arguments).paddingInner(1))}function jv(e,t,r){e.prototype=t.prototype=r,r.constructor=e}function Av(e,t){var r=Object.create(e.prototype);for(var n in t)r[n]=t[n];return r}function Pv(){}var Mv=.7,kv=1/Mv,Ev="\\s*([+-]?\\d+)\\s*",Cv="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",_v="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",Tv=/^#([0-9a-f]{3,8})$/,Dv=new RegExp(`^rgb\\(${Ev},${Ev},${Ev}\\)$`),Nv=new RegExp(`^rgb\\(${_v},${_v},${_v}\\)$`),Iv=new RegExp(`^rgba\\(${Ev},${Ev},${Ev},${Cv}\\)$`),Lv=new RegExp(`^rgba\\(${_v},${_v},${_v},${Cv}\\)$`),Bv=new RegExp(`^hsl\\(${Cv},${_v},${_v}\\)$`),Rv=new RegExp(`^hsla\\(${Cv},${_v},${_v},${Cv}\\)$`),zv={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function $v(){return this.rgb().formatHex()}function Hv(){return this.rgb().formatRgb()}function Vv(e){var t,r;return e=(e+"").trim().toLowerCase(),(t=Tv.exec(e))?(r=t[1].length,t=parseInt(t[1],16),6===r?Fv(t):3===r?new qv(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===r?Uv(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===r?Uv(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=Dv.exec(e))?new qv(t[1],t[2],t[3],1):(t=Nv.exec(e))?new qv(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=Iv.exec(e))?Uv(t[1],t[2],t[3],t[4]):(t=Lv.exec(e))?Uv(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=Bv.exec(e))?Jv(t[1],t[2]/100,t[3]/100,1):(t=Rv.exec(e))?Jv(t[1],t[2]/100,t[3]/100,t[4]):zv.hasOwnProperty(e)?Fv(zv[e]):"transparent"===e?new qv(NaN,NaN,NaN,0):null}function Fv(e){return new qv(e>>16&255,e>>8&255,255&e,1)}function Uv(e,t,r,n){return n<=0&&(e=t=r=NaN),new qv(e,t,r,n)}function Wv(e,t,r,n){return 1===arguments.length?((i=e)instanceof Pv||(i=Vv(i)),i?new qv((i=i.rgb()).r,i.g,i.b,i.opacity):new qv):new qv(e,t,r,null==n?1:n);var i}function qv(e,t,r,n){this.r=+e,this.g=+t,this.b=+r,this.opacity=+n}function Yv(){return`#${Zv(this.r)}${Zv(this.g)}${Zv(this.b)}`}function Xv(){const e=Kv(this.opacity);return`${1===e?"rgb(":"rgba("}${Gv(this.r)}, ${Gv(this.g)}, ${Gv(this.b)}${1===e?")":`, ${e})`}`}function Kv(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function Gv(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function Zv(e){return((e=Gv(e))<16?"0":"")+e.toString(16)}function Jv(e,t,r,n){return n<=0?e=t=r=NaN:r<=0||r>=1?e=t=NaN:t<=0&&(e=NaN),new eg(e,t,r,n)}function Qv(e){if(e instanceof eg)return new eg(e.h,e.s,e.l,e.opacity);if(e instanceof Pv||(e=Vv(e)),!e)return new eg;if(e instanceof eg)return e;var t=(e=e.rgb()).r/255,r=e.g/255,n=e.b/255,i=Math.min(t,r,n),o=Math.max(t,r,n),a=NaN,c=o-i,l=(o+i)/2;return c?(a=t===o?(r-n)/c+6*(r<n):r===o?(n-t)/c+2:(t-r)/c+4,c/=l<.5?o+i:2-o-i,a*=60):c=l>0&&l<1?0:a,new eg(a,c,l,e.opacity)}function eg(e,t,r,n){this.h=+e,this.s=+t,this.l=+r,this.opacity=+n}function tg(e){return(e=(e||0)%360)<0?e+360:e}function rg(e){return Math.max(0,Math.min(1,e||0))}function ng(e,t,r){return 255*(e<60?t+(r-t)*e/60:e<180?r:e<240?t+(r-t)*(240-e)/60:t)}jv(Pv,Vv,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:$v,formatHex:$v,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return Qv(this).formatHsl()},formatRgb:Hv,toString:Hv}),jv(qv,Wv,Av(Pv,{brighter(e){return e=null==e?kv:Math.pow(kv,e),new qv(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=null==e?Mv:Math.pow(Mv,e),new qv(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new qv(Gv(this.r),Gv(this.g),Gv(this.b),Kv(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:Yv,formatHex:Yv,formatHex8:function(){return`#${Zv(this.r)}${Zv(this.g)}${Zv(this.b)}${Zv(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:Xv,toString:Xv})),jv(eg,(function(e,t,r,n){return 1===arguments.length?Qv(e):new eg(e,t,r,null==n?1:n)}),Av(Pv,{brighter(e){return e=null==e?kv:Math.pow(kv,e),new eg(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=null==e?Mv:Math.pow(Mv,e),new eg(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,r=this.l,n=r+(r<.5?r:1-r)*t,i=2*r-n;return new qv(ng(e>=240?e-240:e+120,i,n),ng(e,i,n),ng(e<120?e+240:e-120,i,n),this.opacity)},clamp(){return new eg(tg(this.h),rg(this.s),rg(this.l),Kv(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const e=Kv(this.opacity);return`${1===e?"hsl(":"hsla("}${tg(this.h)}, ${100*rg(this.s)}%, ${100*rg(this.l)}%${1===e?")":`, ${e})`}`}}));var ig=e=>()=>e;function og(e){return 1==(e=+e)?ag:function(t,r){return r-t?function(e,t,r){return e=Math.pow(e,r),t=Math.pow(t,r)-e,r=1/r,function(n){return Math.pow(e+n*t,r)}}(t,r,e):ig(isNaN(t)?r:t)}}function ag(e,t){var r=t-e;return r?function(e,t){return function(r){return e+r*t}}(e,r):ig(isNaN(e)?t:e)}var cg=function e(t){var r=og(t);function n(e,t){var n=r((e=Wv(e)).r,(t=Wv(t)).r),i=r(e.g,t.g),o=r(e.b,t.b),a=ag(e.opacity,t.opacity);return function(t){return e.r=n(t),e.g=i(t),e.b=o(t),e.opacity=a(t),e+""}}return n.gamma=e,n}(1);function lg(e,t){t||(t=[]);var r,n=e?Math.min(t.length,e.length):0,i=t.slice();return function(o){for(r=0;r<n;++r)i[r]=e[r]*(1-o)+t[r]*o;return i}}function ug(e,t){var r,n=t?t.length:0,i=e?Math.min(n,e.length):0,o=new Array(i),a=new Array(n);for(r=0;r<i;++r)o[r]=vg(e[r],t[r]);for(;r<n;++r)a[r]=t[r];return function(e){for(r=0;r<i;++r)a[r]=o[r](e);return a}}function sg(e,t){var r=new Date;return e=+e,t=+t,function(n){return r.setTime(e*(1-n)+t*n),r}}function fg(e,t){return e=+e,t=+t,function(r){return e*(1-r)+t*r}}function pg(e,t){var r,n={},i={};for(r in null!==e&&"object"==typeof e||(e={}),null!==t&&"object"==typeof t||(t={}),t)r in e?n[r]=vg(e[r],t[r]):i[r]=t[r];return function(e){for(r in n)i[r]=n[r](e);return i}}var hg=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,dg=new RegExp(hg.source,"g");function yg(e,t){var r,n,i,o=hg.lastIndex=dg.lastIndex=0,a=-1,c=[],l=[];for(e+="",t+="";(r=hg.exec(e))&&(n=dg.exec(t));)(i=n.index)>o&&(i=t.slice(o,i),c[a]?c[a]+=i:c[++a]=i),(r=r[0])===(n=n[0])?c[a]?c[a]+=n:c[++a]=n:(c[++a]=null,l.push({i:a,x:fg(r,n)})),o=dg.lastIndex;return o<t.length&&(i=t.slice(o),c[a]?c[a]+=i:c[++a]=i),c.length<2?l[0]?function(e){return function(t){return e(t)+""}}(l[0].x):function(e){return function(){return e}}(t):(t=l.length,function(e){for(var r,n=0;n<t;++n)c[(r=l[n]).i]=r.x(e);return c.join("")})}function vg(e,t){var r,n=typeof t;return null==t||"boolean"===n?ig(t):("number"===n?fg:"string"===n?(r=Vv(t))?(t=r,cg):yg:t instanceof Vv?cg:t instanceof Date?sg:function(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}(t)?lg:Array.isArray(t)?ug:"function"!=typeof t.valueOf&&"function"!=typeof t.toString||isNaN(t)?pg:fg)(e,t)}function gg(e,t){return e=+e,t=+t,function(r){return Math.round(e*(1-r)+t*r)}}function mg(e,t){void 0===t&&(t=e,e=vg);for(var r=0,n=t.length-1,i=t[0],o=new Array(n<0?0:n);r<n;)o[r]=e(i,i=t[++r]);return function(e){var t=Math.max(0,Math.min(n-1,Math.floor(e*=n)));return o[t](e-t)}}function bg(e){return+e}var wg=[0,1];function xg(e){return e}function Og(e,t){return(t-=e=+e)?function(r){return(r-e)/t}:function(e){return function(){return e}}(isNaN(t)?NaN:.5)}function Sg(e,t,r){var n=e[0],i=e[1],o=t[0],a=t[1];return i<n?(n=Og(i,n),o=r(a,o)):(n=Og(n,i),o=r(o,a)),function(e){return o(n(e))}}function jg(e,t,r){var n=Math.min(e.length,t.length)-1,i=new Array(n),o=new Array(n),a=-1;for(e[n]<e[0]&&(e=e.slice().reverse(),t=t.slice().reverse());++a<n;)i[a]=Og(e[a],e[a+1]),o[a]=r(t[a],t[a+1]);return function(t){var r=ev(e,t,1,n)-1;return o[r](i[r](t))}}function Ag(e,t){return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown())}function Pg(){var e,t,r,n,i,o,a=wg,c=wg,l=vg,u=xg;function s(){var e=Math.min(a.length,c.length);return u!==xg&&(u=function(e,t){var r;return e>t&&(r=e,e=t,t=r),function(r){return Math.max(e,Math.min(t,r))}}(a[0],a[e-1])),n=e>2?jg:Sg,i=o=null,f}function f(t){return null==t||isNaN(t=+t)?r:(i||(i=n(a.map(e),c,l)))(e(u(t)))}return f.invert=function(r){return u(t((o||(o=n(c,a.map(e),fg)))(r)))},f.domain=function(e){return arguments.length?(a=Array.from(e,bg),s()):a.slice()},f.range=function(e){return arguments.length?(c=Array.from(e),s()):c.slice()},f.rangeRound=function(e){return c=Array.from(e),l=gg,s()},f.clamp=function(e){return arguments.length?(u=!!e||xg,s()):u!==xg},f.interpolate=function(e){return arguments.length?(l=e,s()):l},f.unknown=function(e){return arguments.length?(r=e,f):r},function(r,n){return e=r,t=n,s()}}function Mg(){return Pg()(xg,xg)}function kg(e,t){if((r=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var r,n=e.slice(0,r);return[n.length>1?n[0]+n.slice(2):n,+e.slice(r+1)]}function Eg(e){return(e=kg(Math.abs(e)))?e[1]:NaN}var Cg,_g=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function Tg(e){if(!(t=_g.exec(e)))throw new Error("invalid format: "+e);var t;return new Dg({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}function Dg(e){this.fill=void 0===e.fill?" ":e.fill+"",this.align=void 0===e.align?">":e.align+"",this.sign=void 0===e.sign?"-":e.sign+"",this.symbol=void 0===e.symbol?"":e.symbol+"",this.zero=!!e.zero,this.width=void 0===e.width?void 0:+e.width,this.comma=!!e.comma,this.precision=void 0===e.precision?void 0:+e.precision,this.trim=!!e.trim,this.type=void 0===e.type?"":e.type+""}function Ng(e,t){var r=kg(e,t);if(!r)return e+"";var n=r[0],i=r[1];return i<0?"0."+new Array(-i).join("0")+n:n.length>i+1?n.slice(0,i+1)+"."+n.slice(i+1):n+new Array(i-n.length+2).join("0")}Tg.prototype=Dg.prototype,Dg.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};var Ig={"%":(e,t)=>(100*e).toFixed(t),b:e=>Math.round(e).toString(2),c:e=>e+"",d:function(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)},e:(e,t)=>e.toExponential(t),f:(e,t)=>e.toFixed(t),g:(e,t)=>e.toPrecision(t),o:e=>Math.round(e).toString(8),p:(e,t)=>Ng(100*e,t),r:Ng,s:function(e,t){var r=kg(e,t);if(!r)return e+"";var n=r[0],i=r[1],o=i-(Cg=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,a=n.length;return o===a?n:o>a?n+new Array(o-a+1).join("0"):o>0?n.slice(0,o)+"."+n.slice(o):"0."+new Array(1-o).join("0")+kg(e,Math.max(0,t+o-1))[0]},X:e=>Math.round(e).toString(16).toUpperCase(),x:e=>Math.round(e).toString(16)};function Lg(e){return e}var Bg,Rg,zg,$g=Array.prototype.map,Hg=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function Vg(e){var t,r,n=void 0===e.grouping||void 0===e.thousands?Lg:(t=$g.call(e.grouping,Number),r=e.thousands+"",function(e,n){for(var i=e.length,o=[],a=0,c=t[0],l=0;i>0&&c>0&&(l+c+1>n&&(c=Math.max(1,n-l)),o.push(e.substring(i-=c,i+c)),!((l+=c+1)>n));)c=t[a=(a+1)%t.length];return o.reverse().join(r)}),i=void 0===e.currency?"":e.currency[0]+"",o=void 0===e.currency?"":e.currency[1]+"",a=void 0===e.decimal?".":e.decimal+"",c=void 0===e.numerals?Lg:function(e){return function(t){return t.replace(/[0-9]/g,(function(t){return e[+t]}))}}($g.call(e.numerals,String)),l=void 0===e.percent?"%":e.percent+"",u=void 0===e.minus?"−":e.minus+"",s=void 0===e.nan?"NaN":e.nan+"";function f(e){var t=(e=Tg(e)).fill,r=e.align,f=e.sign,p=e.symbol,h=e.zero,d=e.width,y=e.comma,v=e.precision,g=e.trim,m=e.type;"n"===m?(y=!0,m="g"):Ig[m]||(void 0===v&&(v=12),g=!0,m="g"),(h||"0"===t&&"="===r)&&(h=!0,t="0",r="=");var b="$"===p?i:"#"===p&&/[boxX]/.test(m)?"0"+m.toLowerCase():"",w="$"===p?o:/[%p]/.test(m)?l:"",x=Ig[m],O=/[defgprs%]/.test(m);function S(e){var i,o,l,p=b,S=w;if("c"===m)S=x(e)+S,e="";else{var j=(e=+e)<0||1/e<0;if(e=isNaN(e)?s:x(Math.abs(e),v),g&&(e=function(e){e:for(var t,r=e.length,n=1,i=-1;n<r;++n)switch(e[n]){case".":i=t=n;break;case"0":0===i&&(i=n),t=n;break;default:if(!+e[n])break e;i>0&&(i=0)}return i>0?e.slice(0,i)+e.slice(t+1):e}(e)),j&&0==+e&&"+"!==f&&(j=!1),p=(j?"("===f?f:u:"-"===f||"("===f?"":f)+p,S=("s"===m?Hg[8+Cg/3]:"")+S+(j&&"("===f?")":""),O)for(i=-1,o=e.length;++i<o;)if(48>(l=e.charCodeAt(i))||l>57){S=(46===l?a+e.slice(i+1):e.slice(i))+S,e=e.slice(0,i);break}}y&&!h&&(e=n(e,1/0));var A=p.length+e.length+S.length,P=A<d?new Array(d-A+1).join(t):"";switch(y&&h&&(e=n(P+e,P.length?d-S.length:1/0),P=""),r){case"<":e=p+e+S+P;break;case"=":e=p+P+e+S;break;case"^":e=P.slice(0,A=P.length>>1)+p+e+S+P.slice(A);break;default:e=P+p+e+S}return c(e)}return v=void 0===v?6:/[gprs]/.test(m)?Math.max(1,Math.min(21,v)):Math.max(0,Math.min(20,v)),S.toString=function(){return e+""},S}return{format:f,formatPrefix:function(e,t){var r=f(((e=Tg(e)).type="f",e)),n=3*Math.max(-8,Math.min(8,Math.floor(Eg(t)/3))),i=Math.pow(10,-n),o=Hg[8+n/3];return function(e){return r(i*e)+o}}}}function Fg(e,t,r,n){var i,o=fv(e,t,r);switch((n=Tg(null==n?",f":n)).type){case"s":var a=Math.max(Math.abs(e),Math.abs(t));return null!=n.precision||isNaN(i=function(e,t){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(Eg(t)/3)))-Eg(Math.abs(e)))}(o,a))||(n.precision=i),zg(n,a);case"":case"e":case"g":case"p":case"r":null!=n.precision||isNaN(i=function(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,Eg(t)-Eg(e))+1}(o,Math.max(Math.abs(e),Math.abs(t))))||(n.precision=i-("e"===n.type));break;case"f":case"%":null!=n.precision||isNaN(i=function(e){return Math.max(0,-Eg(Math.abs(e)))}(o))||(n.precision=i-2*("%"===n.type))}return Rg(n)}function Ug(e){var t=e.domain;return e.ticks=function(e){var r=t();return uv(r[0],r[r.length-1],null==e?10:e)},e.tickFormat=function(e,r){var n=t();return Fg(n[0],n[n.length-1],null==e?10:e,r)},e.nice=function(r){null==r&&(r=10);var n,i,o=t(),a=0,c=o.length-1,l=o[a],u=o[c],s=10;for(u<l&&(i=l,l=u,u=i,i=a,a=c,c=i);s-- >0;){if((i=sv(l,u,r))===n)return o[a]=l,o[c]=u,t(o);if(i>0)l=Math.floor(l/i)*i,u=Math.ceil(u/i)*i;else{if(!(i<0))break;l=Math.ceil(l*i)/i,u=Math.floor(u*i)/i}n=i}return e},e}function Wg(){var e=Mg();return e.copy=function(){return Ag(e,Wg())},gv.apply(e,arguments),Ug(e)}function qg(e,t){var r,n=0,i=(e=e.slice()).length-1,o=e[n],a=e[i];return a<o&&(r=n,n=i,i=r,r=o,o=a,a=r),e[n]=t.floor(o),e[i]=t.ceil(a),e}function Yg(e){return Math.log(e)}function Xg(e){return Math.exp(e)}function Kg(e){return-Math.log(-e)}function Gg(e){return-Math.exp(-e)}function Zg(e){return isFinite(e)?+("1e"+e):e<0?0:e}function Jg(e){return(t,r)=>-e(-t,r)}function Qg(e){const t=e(Yg,Xg),r=t.domain;let n,i,o=10;function a(){return n=function(e){return e===Math.E?Math.log:10===e&&Math.log10||2===e&&Math.log2||(e=Math.log(e),t=>Math.log(t)/e)}(o),i=function(e){return 10===e?Zg:e===Math.E?Math.exp:t=>Math.pow(e,t)}(o),r()[0]<0?(n=Jg(n),i=Jg(i),e(Kg,Gg)):e(Yg,Xg),t}return t.base=function(e){return arguments.length?(o=+e,a()):o},t.domain=function(e){return arguments.length?(r(e),a()):r()},t.ticks=e=>{const t=r();let a=t[0],c=t[t.length-1];const l=c<a;l&&([a,c]=[c,a]);let u,s,f=n(a),p=n(c);const h=null==e?10:+e;let d=[];if(!(o%1)&&p-f<h){if(f=Math.floor(f),p=Math.ceil(p),a>0){for(;f<=p;++f)for(u=1;u<o;++u)if(s=f<0?u/i(-f):u*i(f),!(s<a)){if(s>c)break;d.push(s)}}else for(;f<=p;++f)for(u=o-1;u>=1;--u)if(s=f>0?u/i(-f):u*i(f),!(s<a)){if(s>c)break;d.push(s)}2*d.length<h&&(d=uv(a,c,h))}else d=uv(f,p,Math.min(p-f,h)).map(i);return l?d.reverse():d},t.tickFormat=(e,r)=>{if(null==e&&(e=10),null==r&&(r=10===o?"s":","),"function"!=typeof r&&(o%1||null!=(r=Tg(r)).precision||(r.trim=!0),r=Rg(r)),e===1/0)return r;const a=Math.max(1,o*e/t.ticks().length);return e=>{let t=e/i(Math.round(n(e)));return t*o<o-.5&&(t*=o),t<=a?r(e):""}},t.nice=()=>r(qg(r(),{floor:e=>i(Math.floor(n(e))),ceil:e=>i(Math.ceil(n(e)))})),t}function em(e){return function(t){return Math.sign(t)*Math.log1p(Math.abs(t/e))}}function tm(e){return function(t){return Math.sign(t)*Math.expm1(Math.abs(t))*e}}function rm(e){var t=1,r=e(em(t),tm(t));return r.constant=function(r){return arguments.length?e(em(t=+r),tm(t)):t},Ug(r)}function nm(e){return function(t){return t<0?-Math.pow(-t,e):Math.pow(t,e)}}function im(e){return e<0?-Math.sqrt(-e):Math.sqrt(e)}function om(e){return e<0?-e*e:e*e}function am(e){var t=e(xg,xg),r=1;return t.exponent=function(t){return arguments.length?1===(r=+t)?e(xg,xg):.5===r?e(im,om):e(nm(r),nm(1/r)):r},Ug(t)}function cm(){var e=am(Pg());return e.copy=function(){return Ag(e,cm()).exponent(e.exponent())},gv.apply(e,arguments),e}function lm(e){return Math.sign(e)*e*e}Bg=Vg({thousands:",",grouping:[3],currency:["$",""]}),Rg=Bg.format,zg=Bg.formatPrefix;const um=new Date,sm=new Date;function fm(e,t,r,n){function i(t){return e(t=0===arguments.length?new Date:new Date(+t)),t}return i.floor=t=>(e(t=new Date(+t)),t),i.ceil=r=>(e(r=new Date(r-1)),t(r,1),e(r),r),i.round=e=>{const t=i(e),r=i.ceil(e);return e-t<r-e?t:r},i.offset=(e,r)=>(t(e=new Date(+e),null==r?1:Math.floor(r)),e),i.range=(r,n,o)=>{const a=[];if(r=i.ceil(r),o=null==o?1:Math.floor(o),!(r<n&&o>0))return a;let c;do{a.push(c=new Date(+r)),t(r,o),e(r)}while(c<r&&r<n);return a},i.filter=r=>fm((t=>{if(t>=t)for(;e(t),!r(t);)t.setTime(t-1)}),((e,n)=>{if(e>=e)if(n<0)for(;++n<=0;)for(;t(e,-1),!r(e););else for(;--n>=0;)for(;t(e,1),!r(e););})),r&&(i.count=(t,n)=>(um.setTime(+t),sm.setTime(+n),e(um),e(sm),Math.floor(r(um,sm))),i.every=e=>(e=Math.floor(e),isFinite(e)&&e>0?e>1?i.filter(n?t=>n(t)%e==0:t=>i.count(0,t)%e==0):i:null)),i}const pm=fm((()=>{}),((e,t)=>{e.setTime(+e+t)}),((e,t)=>t-e));pm.every=e=>(e=Math.floor(e),isFinite(e)&&e>0?e>1?fm((t=>{t.setTime(Math.floor(t/e)*e)}),((t,r)=>{t.setTime(+t+r*e)}),((t,r)=>(r-t)/e)):pm:null),pm.range;const hm=1e3,dm=6e4,ym=36e5,vm=864e5,gm=6048e5,mm=2592e6,bm=31536e6,wm=fm((e=>{e.setTime(e-e.getMilliseconds())}),((e,t)=>{e.setTime(+e+t*hm)}),((e,t)=>(t-e)/hm),(e=>e.getUTCSeconds()));wm.range;const xm=fm((e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*hm)}),((e,t)=>{e.setTime(+e+t*dm)}),((e,t)=>(t-e)/dm),(e=>e.getMinutes()));xm.range;const Om=fm((e=>{e.setUTCSeconds(0,0)}),((e,t)=>{e.setTime(+e+t*dm)}),((e,t)=>(t-e)/dm),(e=>e.getUTCMinutes()));Om.range;const Sm=fm((e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*hm-e.getMinutes()*dm)}),((e,t)=>{e.setTime(+e+t*ym)}),((e,t)=>(t-e)/ym),(e=>e.getHours()));Sm.range;const jm=fm((e=>{e.setUTCMinutes(0,0,0)}),((e,t)=>{e.setTime(+e+t*ym)}),((e,t)=>(t-e)/ym),(e=>e.getUTCHours()));jm.range;const Am=fm((e=>e.setHours(0,0,0,0)),((e,t)=>e.setDate(e.getDate()+t)),((e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*dm)/vm),(e=>e.getDate()-1));Am.range;const Pm=fm((e=>{e.setUTCHours(0,0,0,0)}),((e,t)=>{e.setUTCDate(e.getUTCDate()+t)}),((e,t)=>(t-e)/vm),(e=>e.getUTCDate()-1));Pm.range;const Mm=fm((e=>{e.setUTCHours(0,0,0,0)}),((e,t)=>{e.setUTCDate(e.getUTCDate()+t)}),((e,t)=>(t-e)/vm),(e=>Math.floor(e/vm)));function km(e){return fm((t=>{t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)}),((e,t)=>{e.setDate(e.getDate()+7*t)}),((e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*dm)/gm))}Mm.range;const Em=km(0),Cm=km(1),_m=km(2),Tm=km(3),Dm=km(4),Nm=km(5),Im=km(6);function Lm(e){return fm((t=>{t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)}),((e,t)=>{e.setUTCDate(e.getUTCDate()+7*t)}),((e,t)=>(t-e)/gm))}Em.range,Cm.range,_m.range,Tm.range,Dm.range,Nm.range,Im.range;const Bm=Lm(0),Rm=Lm(1),zm=Lm(2),$m=Lm(3),Hm=Lm(4),Vm=Lm(5),Fm=Lm(6);Bm.range,Rm.range,zm.range,$m.range,Hm.range,Vm.range,Fm.range;const Um=fm((e=>{e.setDate(1),e.setHours(0,0,0,0)}),((e,t)=>{e.setMonth(e.getMonth()+t)}),((e,t)=>t.getMonth()-e.getMonth()+12*(t.getFullYear()-e.getFullYear())),(e=>e.getMonth()));Um.range;const Wm=fm((e=>{e.setUTCDate(1),e.setUTCHours(0,0,0,0)}),((e,t)=>{e.setUTCMonth(e.getUTCMonth()+t)}),((e,t)=>t.getUTCMonth()-e.getUTCMonth()+12*(t.getUTCFullYear()-e.getUTCFullYear())),(e=>e.getUTCMonth()));Wm.range;const qm=fm((e=>{e.setMonth(0,1),e.setHours(0,0,0,0)}),((e,t)=>{e.setFullYear(e.getFullYear()+t)}),((e,t)=>t.getFullYear()-e.getFullYear()),(e=>e.getFullYear()));qm.every=e=>isFinite(e=Math.floor(e))&&e>0?fm((t=>{t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)}),((t,r)=>{t.setFullYear(t.getFullYear()+r*e)})):null,qm.range;const Ym=fm((e=>{e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)}),((e,t)=>{e.setUTCFullYear(e.getUTCFullYear()+t)}),((e,t)=>t.getUTCFullYear()-e.getUTCFullYear()),(e=>e.getUTCFullYear()));function Xm(e,t,r,n,i,o){const a=[[wm,1,hm],[wm,5,5e3],[wm,15,15e3],[wm,30,3e4],[o,1,dm],[o,5,3e5],[o,15,9e5],[o,30,18e5],[i,1,ym],[i,3,108e5],[i,6,216e5],[i,12,432e5],[n,1,vm],[n,2,1728e5],[r,1,gm],[t,1,mm],[t,3,7776e6],[e,1,bm]];function c(t,r,n){const i=Math.abs(r-t)/n,o=Zy((([,,e])=>e)).right(a,i);if(o===a.length)return e.every(fv(t/bm,r/bm,n));if(0===o)return pm.every(Math.max(fv(t,r,n),1));const[c,l]=a[i/a[o-1][2]<a[o][2]/i?o-1:o];return c.every(l)}return[function(e,t,r){const n=t<e;n&&([e,t]=[t,e]);const i=r&&"function"==typeof r.range?r:c(e,t,r),o=i?i.range(e,+t+1):[];return n?o.reverse():o},c]}Ym.every=e=>isFinite(e=Math.floor(e))&&e>0?fm((t=>{t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)}),((t,r)=>{t.setUTCFullYear(t.getUTCFullYear()+r*e)})):null,Ym.range;const[Km,Gm]=Xm(Ym,Wm,Bm,Mm,jm,Om),[Zm,Jm]=Xm(qm,Um,Em,Am,Sm,xm);function Qm(e){if(0<=e.y&&e.y<100){var t=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return t.setFullYear(e.y),t}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function eb(e){if(0<=e.y&&e.y<100){var t=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return t.setUTCFullYear(e.y),t}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function tb(e,t,r){return{y:e,m:t,d:r,H:0,M:0,S:0,L:0}}var rb,nb,ib,ob={"-":"",_:" ",0:"0"},ab=/^\s*\d+/,cb=/^%/,lb=/[\\^$*+?|[\]().{}]/g;function ub(e,t,r){var n=e<0?"-":"",i=(n?-e:e)+"",o=i.length;return n+(o<r?new Array(r-o+1).join(t)+i:i)}function sb(e){return e.replace(lb,"\\$&")}function fb(e){return new RegExp("^(?:"+e.map(sb).join("|")+")","i")}function pb(e){return new Map(e.map(((e,t)=>[e.toLowerCase(),t])))}function hb(e,t,r){var n=ab.exec(t.slice(r,r+1));return n?(e.w=+n[0],r+n[0].length):-1}function db(e,t,r){var n=ab.exec(t.slice(r,r+1));return n?(e.u=+n[0],r+n[0].length):-1}function yb(e,t,r){var n=ab.exec(t.slice(r,r+2));return n?(e.U=+n[0],r+n[0].length):-1}function vb(e,t,r){var n=ab.exec(t.slice(r,r+2));return n?(e.V=+n[0],r+n[0].length):-1}function gb(e,t,r){var n=ab.exec(t.slice(r,r+2));return n?(e.W=+n[0],r+n[0].length):-1}function mb(e,t,r){var n=ab.exec(t.slice(r,r+4));return n?(e.y=+n[0],r+n[0].length):-1}function bb(e,t,r){var n=ab.exec(t.slice(r,r+2));return n?(e.y=+n[0]+(+n[0]>68?1900:2e3),r+n[0].length):-1}function wb(e,t,r){var n=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(r,r+6));return n?(e.Z=n[1]?0:-(n[2]+(n[3]||"00")),r+n[0].length):-1}function xb(e,t,r){var n=ab.exec(t.slice(r,r+1));return n?(e.q=3*n[0]-3,r+n[0].length):-1}function Ob(e,t,r){var n=ab.exec(t.slice(r,r+2));return n?(e.m=n[0]-1,r+n[0].length):-1}function Sb(e,t,r){var n=ab.exec(t.slice(r,r+2));return n?(e.d=+n[0],r+n[0].length):-1}function jb(e,t,r){var n=ab.exec(t.slice(r,r+3));return n?(e.m=0,e.d=+n[0],r+n[0].length):-1}function Ab(e,t,r){var n=ab.exec(t.slice(r,r+2));return n?(e.H=+n[0],r+n[0].length):-1}function Pb(e,t,r){var n=ab.exec(t.slice(r,r+2));return n?(e.M=+n[0],r+n[0].length):-1}function Mb(e,t,r){var n=ab.exec(t.slice(r,r+2));return n?(e.S=+n[0],r+n[0].length):-1}function kb(e,t,r){var n=ab.exec(t.slice(r,r+3));return n?(e.L=+n[0],r+n[0].length):-1}function Eb(e,t,r){var n=ab.exec(t.slice(r,r+6));return n?(e.L=Math.floor(n[0]/1e3),r+n[0].length):-1}function Cb(e,t,r){var n=cb.exec(t.slice(r,r+1));return n?r+n[0].length:-1}function _b(e,t,r){var n=ab.exec(t.slice(r));return n?(e.Q=+n[0],r+n[0].length):-1}function Tb(e,t,r){var n=ab.exec(t.slice(r));return n?(e.s=+n[0],r+n[0].length):-1}function Db(e,t){return ub(e.getDate(),t,2)}function Nb(e,t){return ub(e.getHours(),t,2)}function Ib(e,t){return ub(e.getHours()%12||12,t,2)}function Lb(e,t){return ub(1+Am.count(qm(e),e),t,3)}function Bb(e,t){return ub(e.getMilliseconds(),t,3)}function Rb(e,t){return Bb(e,t)+"000"}function zb(e,t){return ub(e.getMonth()+1,t,2)}function $b(e,t){return ub(e.getMinutes(),t,2)}function Hb(e,t){return ub(e.getSeconds(),t,2)}function Vb(e){var t=e.getDay();return 0===t?7:t}function Fb(e,t){return ub(Em.count(qm(e)-1,e),t,2)}function Ub(e){var t=e.getDay();return t>=4||0===t?Dm(e):Dm.ceil(e)}function Wb(e,t){return e=Ub(e),ub(Dm.count(qm(e),e)+(4===qm(e).getDay()),t,2)}function qb(e){return e.getDay()}function Yb(e,t){return ub(Cm.count(qm(e)-1,e),t,2)}function Xb(e,t){return ub(e.getFullYear()%100,t,2)}function Kb(e,t){return ub((e=Ub(e)).getFullYear()%100,t,2)}function Gb(e,t){return ub(e.getFullYear()%1e4,t,4)}function Zb(e,t){var r=e.getDay();return ub((e=r>=4||0===r?Dm(e):Dm.ceil(e)).getFullYear()%1e4,t,4)}function Jb(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+ub(t/60|0,"0",2)+ub(t%60,"0",2)}function Qb(e,t){return ub(e.getUTCDate(),t,2)}function ew(e,t){return ub(e.getUTCHours(),t,2)}function tw(e,t){return ub(e.getUTCHours()%12||12,t,2)}function rw(e,t){return ub(1+Pm.count(Ym(e),e),t,3)}function nw(e,t){return ub(e.getUTCMilliseconds(),t,3)}function iw(e,t){return nw(e,t)+"000"}function ow(e,t){return ub(e.getUTCMonth()+1,t,2)}function aw(e,t){return ub(e.getUTCMinutes(),t,2)}function cw(e,t){return ub(e.getUTCSeconds(),t,2)}function lw(e){var t=e.getUTCDay();return 0===t?7:t}function uw(e,t){return ub(Bm.count(Ym(e)-1,e),t,2)}function sw(e){var t=e.getUTCDay();return t>=4||0===t?Hm(e):Hm.ceil(e)}function fw(e,t){return e=sw(e),ub(Hm.count(Ym(e),e)+(4===Ym(e).getUTCDay()),t,2)}function pw(e){return e.getUTCDay()}function hw(e,t){return ub(Rm.count(Ym(e)-1,e),t,2)}function dw(e,t){return ub(e.getUTCFullYear()%100,t,2)}function yw(e,t){return ub((e=sw(e)).getUTCFullYear()%100,t,2)}function vw(e,t){return ub(e.getUTCFullYear()%1e4,t,4)}function gw(e,t){var r=e.getUTCDay();return ub((e=r>=4||0===r?Hm(e):Hm.ceil(e)).getUTCFullYear()%1e4,t,4)}function mw(){return"+0000"}function bw(){return"%"}function ww(e){return+e}function xw(e){return Math.floor(+e/1e3)}function Ow(e){return new Date(e)}function Sw(e){return e instanceof Date?+e:+new Date(+e)}function jw(e,t,r,n,i,o,a,c,l,u){var s=Mg(),f=s.invert,p=s.domain,h=u(".%L"),d=u(":%S"),y=u("%I:%M"),v=u("%I %p"),g=u("%a %d"),m=u("%b %d"),b=u("%B"),w=u("%Y");function x(e){return(l(e)<e?h:c(e)<e?d:a(e)<e?y:o(e)<e?v:n(e)<e?i(e)<e?g:m:r(e)<e?b:w)(e)}return s.invert=function(e){return new Date(f(e))},s.domain=function(e){return arguments.length?p(Array.from(e,Sw)):p().map(Ow)},s.ticks=function(t){var r=p();return e(r[0],r[r.length-1],null==t?10:t)},s.tickFormat=function(e,t){return null==t?x:u(t)},s.nice=function(e){var r=p();return e&&"function"==typeof e.range||(e=t(r[0],r[r.length-1],null==e?10:e)),e?p(qg(r,e)):s},s.copy=function(){return Ag(s,jw(e,t,r,n,i,o,a,c,l,u))},s}function Aw(){var e,t,r,n,i,o=0,a=1,c=xg,l=!1;function u(t){return null==t||isNaN(t=+t)?i:c(0===r?.5:(t=(n(t)-e)*r,l?Math.max(0,Math.min(1,t)):t))}function s(e){return function(t){var r,n;return arguments.length?([r,n]=t,c=e(r,n),u):[c(0),c(1)]}}return u.domain=function(i){return arguments.length?([o,a]=i,e=n(o=+o),t=n(a=+a),r=e===t?0:1/(t-e),u):[o,a]},u.clamp=function(e){return arguments.length?(l=!!e,u):l},u.interpolator=function(e){return arguments.length?(c=e,u):c},u.range=s(vg),u.rangeRound=s(gg),u.unknown=function(e){return arguments.length?(i=e,u):i},function(i){return n=i,e=i(o),t=i(a),r=e===t?0:1/(t-e),u}}function Pw(e,t){return t.domain(e.domain()).interpolator(e.interpolator()).clamp(e.clamp()).unknown(e.unknown())}function Mw(){var e=am(Aw());return e.copy=function(){return Pw(e,Mw()).exponent(e.exponent())},mv.apply(e,arguments)}function kw(){var e,t,r,n,i,o,a,c=0,l=.5,u=1,s=1,f=xg,p=!1;function h(e){return isNaN(e=+e)?a:(e=.5+((e=+o(e))-t)*(s*e<s*t?n:i),f(p?Math.max(0,Math.min(1,e)):e))}function d(e){return function(t){var r,n,i;return arguments.length?([r,n,i]=t,f=mg(e,[r,n,i]),h):[f(0),f(.5),f(1)]}}return h.domain=function(a){return arguments.length?([c,l,u]=a,e=o(c=+c),t=o(l=+l),r=o(u=+u),n=e===t?0:.5/(t-e),i=t===r?0:.5/(r-t),s=t<e?-1:1,h):[c,l,u]},h.clamp=function(e){return arguments.length?(p=!!e,h):p},h.interpolator=function(e){return arguments.length?(f=e,h):f},h.range=d(vg),h.rangeRound=d(gg),h.unknown=function(e){return arguments.length?(a=e,h):a},function(a){return o=a,e=a(c),t=a(l),r=a(u),n=e===t?0:.5/(t-e),i=t===r?0:.5/(r-t),s=t<e?-1:1,h}}function Ew(){var e=am(kw());return e.copy=function(){return Pw(e,Ew()).exponent(e.exponent())},mv.apply(e,arguments)}!function(e){rb=function(e){var t=e.dateTime,r=e.date,n=e.time,i=e.periods,o=e.days,a=e.shortDays,c=e.months,l=e.shortMonths,u=fb(i),s=pb(i),f=fb(o),p=pb(o),h=fb(a),d=pb(a),y=fb(c),v=pb(c),g=fb(l),m=pb(l),b={a:function(e){return a[e.getDay()]},A:function(e){return o[e.getDay()]},b:function(e){return l[e.getMonth()]},B:function(e){return c[e.getMonth()]},c:null,d:Db,e:Db,f:Rb,g:Kb,G:Zb,H:Nb,I:Ib,j:Lb,L:Bb,m:zb,M:$b,p:function(e){return i[+(e.getHours()>=12)]},q:function(e){return 1+~~(e.getMonth()/3)},Q:ww,s:xw,S:Hb,u:Vb,U:Fb,V:Wb,w:qb,W:Yb,x:null,X:null,y:Xb,Y:Gb,Z:Jb,"%":bw},w={a:function(e){return a[e.getUTCDay()]},A:function(e){return o[e.getUTCDay()]},b:function(e){return l[e.getUTCMonth()]},B:function(e){return c[e.getUTCMonth()]},c:null,d:Qb,e:Qb,f:iw,g:yw,G:gw,H:ew,I:tw,j:rw,L:nw,m:ow,M:aw,p:function(e){return i[+(e.getUTCHours()>=12)]},q:function(e){return 1+~~(e.getUTCMonth()/3)},Q:ww,s:xw,S:cw,u:lw,U:uw,V:fw,w:pw,W:hw,x:null,X:null,y:dw,Y:vw,Z:mw,"%":bw},x={a:function(e,t,r){var n=h.exec(t.slice(r));return n?(e.w=d.get(n[0].toLowerCase()),r+n[0].length):-1},A:function(e,t,r){var n=f.exec(t.slice(r));return n?(e.w=p.get(n[0].toLowerCase()),r+n[0].length):-1},b:function(e,t,r){var n=g.exec(t.slice(r));return n?(e.m=m.get(n[0].toLowerCase()),r+n[0].length):-1},B:function(e,t,r){var n=y.exec(t.slice(r));return n?(e.m=v.get(n[0].toLowerCase()),r+n[0].length):-1},c:function(e,r,n){return j(e,t,r,n)},d:Sb,e:Sb,f:Eb,g:bb,G:mb,H:Ab,I:Ab,j:jb,L:kb,m:Ob,M:Pb,p:function(e,t,r){var n=u.exec(t.slice(r));return n?(e.p=s.get(n[0].toLowerCase()),r+n[0].length):-1},q:xb,Q:_b,s:Tb,S:Mb,u:db,U:yb,V:vb,w:hb,W:gb,x:function(e,t,n){return j(e,r,t,n)},X:function(e,t,r){return j(e,n,t,r)},y:bb,Y:mb,Z:wb,"%":Cb};function O(e,t){return function(r){var n,i,o,a=[],c=-1,l=0,u=e.length;for(r instanceof Date||(r=new Date(+r));++c<u;)37===e.charCodeAt(c)&&(a.push(e.slice(l,c)),null!=(i=ob[n=e.charAt(++c)])?n=e.charAt(++c):i="e"===n?" ":"0",(o=t[n])&&(n=o(r,i)),a.push(n),l=c+1);return a.push(e.slice(l,c)),a.join("")}}function S(e,t){return function(r){var n,i,o=tb(1900,void 0,1);if(j(o,e,r+="",0)!=r.length)return null;if("Q"in o)return new Date(o.Q);if("s"in o)return new Date(1e3*o.s+("L"in o?o.L:0));if(t&&!("Z"in o)&&(o.Z=0),"p"in o&&(o.H=o.H%12+12*o.p),void 0===o.m&&(o.m="q"in o?o.q:0),"V"in o){if(o.V<1||o.V>53)return null;"w"in o||(o.w=1),"Z"in o?(i=(n=eb(tb(o.y,0,1))).getUTCDay(),n=i>4||0===i?Rm.ceil(n):Rm(n),n=Pm.offset(n,7*(o.V-1)),o.y=n.getUTCFullYear(),o.m=n.getUTCMonth(),o.d=n.getUTCDate()+(o.w+6)%7):(i=(n=Qm(tb(o.y,0,1))).getDay(),n=i>4||0===i?Cm.ceil(n):Cm(n),n=Am.offset(n,7*(o.V-1)),o.y=n.getFullYear(),o.m=n.getMonth(),o.d=n.getDate()+(o.w+6)%7)}else("W"in o||"U"in o)&&("w"in o||(o.w="u"in o?o.u%7:"W"in o?1:0),i="Z"in o?eb(tb(o.y,0,1)).getUTCDay():Qm(tb(o.y,0,1)).getDay(),o.m=0,o.d="W"in o?(o.w+6)%7+7*o.W-(i+5)%7:o.w+7*o.U-(i+6)%7);return"Z"in o?(o.H+=o.Z/100|0,o.M+=o.Z%100,eb(o)):Qm(o)}}function j(e,t,r,n){for(var i,o,a=0,c=t.length,l=r.length;a<c;){if(n>=l)return-1;if(37===(i=t.charCodeAt(a++))){if(i=t.charAt(a++),!(o=x[i in ob?t.charAt(a++):i])||(n=o(e,r,n))<0)return-1}else if(i!=r.charCodeAt(n++))return-1}return n}return b.x=O(r,b),b.X=O(n,b),b.c=O(t,b),w.x=O(r,w),w.X=O(n,w),w.c=O(t,w),{format:function(e){var t=O(e+="",b);return t.toString=function(){return e},t},parse:function(e){var t=S(e+="",!1);return t.toString=function(){return e},t},utcFormat:function(e){var t=O(e+="",w);return t.toString=function(){return e},t},utcParse:function(e){var t=S(e+="",!0);return t.toString=function(){return e},t}}}(e),nb=rb.format,rb.parse,ib=rb.utcFormat,rb.utcParse}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});var Cw=Object.freeze({__proto__:null,scaleBand:xv,scaleDiverging:function e(){var t=Ug(kw()(xg));return t.copy=function(){return Pw(t,e())},mv.apply(t,arguments)},scaleDivergingLog:function e(){var t=Qg(kw()).domain([.1,1,10]);return t.copy=function(){return Pw(t,e()).base(t.base())},mv.apply(t,arguments)},scaleDivergingPow:Ew,scaleDivergingSqrt:function(){return Ew.apply(null,arguments).exponent(.5)},scaleDivergingSymlog:function e(){var t=rm(kw());return t.copy=function(){return Pw(t,e()).constant(t.constant())},mv.apply(t,arguments)},scaleIdentity:function e(t){var r;function n(e){return null==e||isNaN(e=+e)?r:e}return n.invert=n,n.domain=n.range=function(e){return arguments.length?(t=Array.from(e,bg),n):t.slice()},n.unknown=function(e){return arguments.length?(r=e,n):r},n.copy=function(){return e(t).unknown(r)},t=arguments.length?Array.from(t,bg):[0,1],Ug(n)},scaleImplicit:bv,scaleLinear:Wg,scaleLog:function e(){const t=Qg(Pg()).domain([1,10]);return t.copy=()=>Ag(t,e()).base(t.base()),gv.apply(t,arguments),t},scaleOrdinal:wv,scalePoint:Sv,scalePow:cm,scaleQuantile:function e(){var t,r=[],n=[],i=[];function o(){var e=0,t=Math.max(1,n.length);for(i=new Array(t-1);++e<t;)i[e-1]=vv(r,e/t);return a}function a(e){return null==e||isNaN(e=+e)?t:n[ev(i,e)]}return a.invertExtent=function(e){var t=n.indexOf(e);return t<0?[NaN,NaN]:[t>0?i[t-1]:r[0],t<i.length?i[t]:r[r.length-1]]},a.domain=function(e){if(!arguments.length)return r.slice();r=[];for(let t of e)null==t||isNaN(t=+t)||r.push(t);return r.sort(Ky),o()},a.range=function(e){return arguments.length?(n=Array.from(e),o()):n.slice()},a.unknown=function(e){return arguments.length?(t=e,a):t},a.quantiles=function(){return i.slice()},a.copy=function(){return e().domain(r).range(n).unknown(t)},gv.apply(a,arguments)},scaleQuantize:function e(){var t,r=0,n=1,i=1,o=[.5],a=[0,1];function c(e){return null!=e&&e<=e?a[ev(o,e,0,i)]:t}function l(){var e=-1;for(o=new Array(i);++e<i;)o[e]=((e+1)*n-(e-i)*r)/(i+1);return c}return c.domain=function(e){return arguments.length?([r,n]=e,r=+r,n=+n,l()):[r,n]},c.range=function(e){return arguments.length?(i=(a=Array.from(e)).length-1,l()):a.slice()},c.invertExtent=function(e){var t=a.indexOf(e);return t<0?[NaN,NaN]:t<1?[r,o[0]]:t>=i?[o[i-1],n]:[o[t-1],o[t]]},c.unknown=function(e){return arguments.length?(t=e,c):c},c.thresholds=function(){return o.slice()},c.copy=function(){return e().domain([r,n]).range(a).unknown(t)},gv.apply(Ug(c),arguments)},scaleRadial:function e(){var t,r=Mg(),n=[0,1],i=!1;function o(e){var n=function(e){return Math.sign(e)*Math.sqrt(Math.abs(e))}(r(e));return isNaN(n)?t:i?Math.round(n):n}return o.invert=function(e){return r.invert(lm(e))},o.domain=function(e){return arguments.length?(r.domain(e),o):r.domain()},o.range=function(e){return arguments.length?(r.range((n=Array.from(e,bg)).map(lm)),o):n.slice()},o.rangeRound=function(e){return o.range(e).round(!0)},o.round=function(e){return arguments.length?(i=!!e,o):i},o.clamp=function(e){return arguments.length?(r.clamp(e),o):r.clamp()},o.unknown=function(e){return arguments.length?(t=e,o):t},o.copy=function(){return e(r.domain(),n).round(i).clamp(r.clamp()).unknown(t)},gv.apply(o,arguments),Ug(o)},scaleSequential:function e(){var t=Ug(Aw()(xg));return t.copy=function(){return Pw(t,e())},mv.apply(t,arguments)},scaleSequentialLog:function e(){var t=Qg(Aw()).domain([1,10]);return t.copy=function(){return Pw(t,e()).base(t.base())},mv.apply(t,arguments)},scaleSequentialPow:Mw,scaleSequentialQuantile:function e(){var t=[],r=xg;function n(e){if(null!=e&&!isNaN(e=+e))return r((ev(t,e,1)-1)/(t.length-1))}return n.domain=function(e){if(!arguments.length)return t.slice();t=[];for(let r of e)null==r||isNaN(r=+r)||t.push(r);return t.sort(Ky),n},n.interpolator=function(e){return arguments.length?(r=e,n):r},n.range=function(){return t.map(((e,n)=>r(n/(t.length-1))))},n.quantiles=function(e){return Array.from({length:e+1},((r,n)=>function(e,t,r){if((n=(e=Float64Array.from(function*(e,t){for(let t of e)null!=t&&(t=+t)>=t&&(yield t)}(e))).length)&&!isNaN(t=+t)){if(t<=0||n<2)return hv(e);if(t>=1)return pv(e);var n,i=(n-1)*t,o=Math.floor(i),a=pv(dv(e,o).subarray(0,o+1));return a+(hv(e.subarray(o+1))-a)*(i-o)}}(t,n/e)))},n.copy=function(){return e(r).domain(t)},mv.apply(n,arguments)},scaleSequentialSqrt:function(){return Mw.apply(null,arguments).exponent(.5)},scaleSequentialSymlog:function e(){var t=rm(Aw());return t.copy=function(){return Pw(t,e()).constant(t.constant())},mv.apply(t,arguments)},scaleSqrt:function(){return cm.apply(null,arguments).exponent(.5)},scaleSymlog:function e(){var t=rm(Pg());return t.copy=function(){return Ag(t,e()).constant(t.constant())},gv.apply(t,arguments)},scaleThreshold:function e(){var t,r=[.5],n=[0,1],i=1;function o(e){return null!=e&&e<=e?n[ev(r,e,0,i)]:t}return o.domain=function(e){return arguments.length?(r=Array.from(e),i=Math.min(r.length,n.length-1),o):r.slice()},o.range=function(e){return arguments.length?(n=Array.from(e),i=Math.min(r.length,n.length-1),o):n.slice()},o.invertExtent=function(e){var t=n.indexOf(e);return[r[t-1],r[t]]},o.unknown=function(e){return arguments.length?(t=e,o):t},o.copy=function(){return e().domain(r).range(n).unknown(t)},gv.apply(o,arguments)},scaleTime:function(){return gv.apply(jw(Zm,Jm,qm,Um,Em,Am,Sm,xm,wm,nb).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)},scaleUtc:function(){return gv.apply(jw(Km,Gm,Ym,Wm,Bm,Pm,jm,Om,wm,ib).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)},tickFormat:Fg}),_w=Pn;var Tw=function(e,t,r){for(var n=-1,i=e.length;++n<i;){var o=e[n],a=t(o);if(null!=a&&(void 0===c?a==a&&!_w(a):r(a,c)))var c=a,l=o}return l};var Dw=Tw,Nw=function(e,t){return e>t},Iw=Zf;var Lw=function(e){return e&&e.length?Dw(e,Iw,Nw):void 0},Bw=Xt(Lw);var Rw=Tw,zw=function(e,t){return e<t},$w=Zf;var Hw=function(e){return e&&e.length?Rw(e,$w,zw):void 0},Vw=Xt(Hw),Fw=uo,Uw=sp,Ww=sh,qw=an;var Yw=th,Xw=function(e,t){return(qw(e)?Fw:Ww)(e,Uw(t))};var Kw=Xt((function(e,t){return Yw(Xw(e,t),1)})),Gw=mf;var Zw,Jw=Xt((function(e,t){return Gw(e,t)})),Qw=1e9,ex=!0,tx="[DecimalError] ",rx=tx+"Invalid argument: ",nx=tx+"Exponent out of range: ",ix=Math.floor,ox=Math.pow,ax=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,cx=1e7,lx=7,ux=9007199254740991,sx=ix(ux/lx),fx={};function px(e,t){var r,n,i,o,a,c,l,u,s=e.constructor,f=s.precision;if(!e.s||!t.s)return t.s||(t=new s(e)),ex?Ox(t,f):t;if(l=e.d,u=t.d,a=e.e,i=t.e,l=l.slice(),o=a-i){for(o<0?(n=l,o=-o,c=u.length):(n=u,i=a,c=l.length),o>(c=(a=Math.ceil(f/lx))>c?a+1:c+1)&&(o=c,n.length=1),n.reverse();o--;)n.push(0);n.reverse()}for((c=l.length)-(o=u.length)<0&&(o=c,n=u,u=l,l=n),r=0;o;)r=(l[--o]=l[o]+u[o]+r)/cx|0,l[o]%=cx;for(r&&(l.unshift(r),++i),c=l.length;0==l[--c];)l.pop();return t.d=l,t.e=i,ex?Ox(t,f):t}function hx(e,t,r){if(e!==~~e||e<t||e>r)throw Error(rx+e)}function dx(e){var t,r,n,i=e.length-1,o="",a=e[0];if(i>0){for(o+=a,t=1;t<i;t++)n=e[t]+"",(r=lx-n.length)&&(o+=bx(r)),o+=n;a=e[t],(r=lx-(n=a+"").length)&&(o+=bx(r))}else if(0===a)return"0";for(;a%10==0;)a/=10;return o+a}fx.absoluteValue=fx.abs=function(){var e=new this.constructor(this);return e.s&&(e.s=1),e},fx.comparedTo=fx.cmp=function(e){var t,r,n,i,o=this;if(e=new o.constructor(e),o.s!==e.s)return o.s||-e.s;if(o.e!==e.e)return o.e>e.e^o.s<0?1:-1;for(t=0,r=(n=o.d.length)<(i=e.d.length)?n:i;t<r;++t)if(o.d[t]!==e.d[t])return o.d[t]>e.d[t]^o.s<0?1:-1;return n===i?0:n>i^o.s<0?1:-1},fx.decimalPlaces=fx.dp=function(){var e=this,t=e.d.length-1,r=(t-e.e)*lx;if(t=e.d[t])for(;t%10==0;t/=10)r--;return r<0?0:r},fx.dividedBy=fx.div=function(e){return yx(this,new this.constructor(e))},fx.dividedToIntegerBy=fx.idiv=function(e){var t=this.constructor;return Ox(yx(this,new t(e),0,1),t.precision)},fx.equals=fx.eq=function(e){return!this.cmp(e)},fx.exponent=function(){return gx(this)},fx.greaterThan=fx.gt=function(e){return this.cmp(e)>0},fx.greaterThanOrEqualTo=fx.gte=function(e){return this.cmp(e)>=0},fx.isInteger=fx.isint=function(){return this.e>this.d.length-2},fx.isNegative=fx.isneg=function(){return this.s<0},fx.isPositive=fx.ispos=function(){return this.s>0},fx.isZero=function(){return 0===this.s},fx.lessThan=fx.lt=function(e){return this.cmp(e)<0},fx.lessThanOrEqualTo=fx.lte=function(e){return this.cmp(e)<1},fx.logarithm=fx.log=function(e){var t,r=this,n=r.constructor,i=n.precision,o=i+5;if(void 0===e)e=new n(10);else if((e=new n(e)).s<1||e.eq(Zw))throw Error(tx+"NaN");if(r.s<1)throw Error(tx+(r.s?"NaN":"-Infinity"));return r.eq(Zw)?new n(0):(ex=!1,t=yx(wx(r,o),wx(e,o),o),ex=!0,Ox(t,i))},fx.minus=fx.sub=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?Sx(t,e):px(t,(e.s=-e.s,e))},fx.modulo=fx.mod=function(e){var t,r=this,n=r.constructor,i=n.precision;if(!(e=new n(e)).s)throw Error(tx+"NaN");return r.s?(ex=!1,t=yx(r,e,0,1).times(e),ex=!0,r.minus(t)):Ox(new n(r),i)},fx.naturalExponential=fx.exp=function(){return vx(this)},fx.naturalLogarithm=fx.ln=function(){return wx(this)},fx.negated=fx.neg=function(){var e=new this.constructor(this);return e.s=-e.s||0,e},fx.plus=fx.add=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?px(t,e):Sx(t,(e.s=-e.s,e))},fx.precision=fx.sd=function(e){var t,r,n,i=this;if(void 0!==e&&e!==!!e&&1!==e&&0!==e)throw Error(rx+e);if(t=gx(i)+1,r=(n=i.d.length-1)*lx+1,n=i.d[n]){for(;n%10==0;n/=10)r--;for(n=i.d[0];n>=10;n/=10)r++}return e&&t>r?t:r},fx.squareRoot=fx.sqrt=function(){var e,t,r,n,i,o,a,c=this,l=c.constructor;if(c.s<1){if(!c.s)return new l(0);throw Error(tx+"NaN")}for(e=gx(c),ex=!1,0==(i=Math.sqrt(+c))||i==1/0?(((t=dx(c.d)).length+e)%2==0&&(t+="0"),i=Math.sqrt(t),e=ix((e+1)/2)-(e<0||e%2),n=new l(t=i==1/0?"5e"+e:(t=i.toExponential()).slice(0,t.indexOf("e")+1)+e)):n=new l(i.toString()),i=a=(r=l.precision)+3;;)if(n=(o=n).plus(yx(c,o,a+2)).times(.5),dx(o.d).slice(0,a)===(t=dx(n.d)).slice(0,a)){if(t=t.slice(a-3,a+1),i==a&&"4999"==t){if(Ox(o,r+1,0),o.times(o).eq(c)){n=o;break}}else if("9999"!=t)break;a+=4}return ex=!0,Ox(n,r)},fx.times=fx.mul=function(e){var t,r,n,i,o,a,c,l,u,s=this,f=s.constructor,p=s.d,h=(e=new f(e)).d;if(!s.s||!e.s)return new f(0);for(e.s*=s.s,r=s.e+e.e,(l=p.length)<(u=h.length)&&(o=p,p=h,h=o,a=l,l=u,u=a),o=[],n=a=l+u;n--;)o.push(0);for(n=u;--n>=0;){for(t=0,i=l+n;i>n;)c=o[i]+h[n]*p[i-n-1]+t,o[i--]=c%cx|0,t=c/cx|0;o[i]=(o[i]+t)%cx|0}for(;!o[--a];)o.pop();return t?++r:o.shift(),e.d=o,e.e=r,ex?Ox(e,f.precision):e},fx.toDecimalPlaces=fx.todp=function(e,t){var r=this,n=r.constructor;return r=new n(r),void 0===e?r:(hx(e,0,Qw),void 0===t?t=n.rounding:hx(t,0,8),Ox(r,e+gx(r)+1,t))},fx.toExponential=function(e,t){var r,n=this,i=n.constructor;return void 0===e?r=jx(n,!0):(hx(e,0,Qw),void 0===t?t=i.rounding:hx(t,0,8),r=jx(n=Ox(new i(n),e+1,t),!0,e+1)),r},fx.toFixed=function(e,t){var r,n,i=this,o=i.constructor;return void 0===e?jx(i):(hx(e,0,Qw),void 0===t?t=o.rounding:hx(t,0,8),r=jx((n=Ox(new o(i),e+gx(i)+1,t)).abs(),!1,e+gx(n)+1),i.isneg()&&!i.isZero()?"-"+r:r)},fx.toInteger=fx.toint=function(){var e=this,t=e.constructor;return Ox(new t(e),gx(e)+1,t.rounding)},fx.toNumber=function(){return+this},fx.toPower=fx.pow=function(e){var t,r,n,i,o,a,c=this,l=c.constructor,u=+(e=new l(e));if(!e.s)return new l(Zw);if(!(c=new l(c)).s){if(e.s<1)throw Error(tx+"Infinity");return c}if(c.eq(Zw))return c;if(n=l.precision,e.eq(Zw))return Ox(c,n);if(a=(t=e.e)>=(r=e.d.length-1),o=c.s,a){if((r=u<0?-u:u)<=ux){for(i=new l(Zw),t=Math.ceil(n/lx+4),ex=!1;r%2&&Ax((i=i.times(c)).d,t),0!==(r=ix(r/2));)Ax((c=c.times(c)).d,t);return ex=!0,e.s<0?new l(Zw).div(i):Ox(i,n)}}else if(o<0)throw Error(tx+"NaN");return o=o<0&&1&e.d[Math.max(t,r)]?-1:1,c.s=1,ex=!1,i=e.times(wx(c,n+12)),ex=!0,(i=vx(i)).s=o,i},fx.toPrecision=function(e,t){var r,n,i=this,o=i.constructor;return void 0===e?n=jx(i,(r=gx(i))<=o.toExpNeg||r>=o.toExpPos):(hx(e,1,Qw),void 0===t?t=o.rounding:hx(t,0,8),n=jx(i=Ox(new o(i),e,t),e<=(r=gx(i))||r<=o.toExpNeg,e)),n},fx.toSignificantDigits=fx.tosd=function(e,t){var r=this.constructor;return void 0===e?(e=r.precision,t=r.rounding):(hx(e,1,Qw),void 0===t?t=r.rounding:hx(t,0,8)),Ox(new r(this),e,t)},fx.toString=fx.valueOf=fx.val=fx.toJSON=fx[Symbol.for("nodejs.util.inspect.custom")]=function(){var e=this,t=gx(e),r=e.constructor;return jx(e,t<=r.toExpNeg||t>=r.toExpPos)};var yx=function(){function e(e,t){var r,n=0,i=e.length;for(e=e.slice();i--;)r=e[i]*t+n,e[i]=r%cx|0,n=r/cx|0;return n&&e.unshift(n),e}function t(e,t,r,n){var i,o;if(r!=n)o=r>n?1:-1;else for(i=o=0;i<r;i++)if(e[i]!=t[i]){o=e[i]>t[i]?1:-1;break}return o}function r(e,t,r){for(var n=0;r--;)e[r]-=n,n=e[r]<t[r]?1:0,e[r]=n*cx+e[r]-t[r];for(;!e[0]&&e.length>1;)e.shift()}return function(n,i,o,a){var c,l,u,s,f,p,h,d,y,v,g,m,b,w,x,O,S,j,A=n.constructor,P=n.s==i.s?1:-1,M=n.d,k=i.d;if(!n.s)return new A(n);if(!i.s)throw Error(tx+"Division by zero");for(l=n.e-i.e,S=k.length,x=M.length,d=(h=new A(P)).d=[],u=0;k[u]==(M[u]||0);)++u;if(k[u]>(M[u]||0)&&--l,(m=null==o?o=A.precision:a?o+(gx(n)-gx(i))+1:o)<0)return new A(0);if(m=m/lx+2|0,u=0,1==S)for(s=0,k=k[0],m++;(u<x||s)&&m--;u++)b=s*cx+(M[u]||0),d[u]=b/k|0,s=b%k|0;else{for((s=cx/(k[0]+1)|0)>1&&(k=e(k,s),M=e(M,s),S=k.length,x=M.length),w=S,v=(y=M.slice(0,S)).length;v<S;)y[v++]=0;(j=k.slice()).unshift(0),O=k[0],k[1]>=cx/2&&++O;do{s=0,(c=t(k,y,S,v))<0?(g=y[0],S!=v&&(g=g*cx+(y[1]||0)),(s=g/O|0)>1?(s>=cx&&(s=cx-1),1==(c=t(f=e(k,s),y,p=f.length,v=y.length))&&(s--,r(f,S<p?j:k,p))):(0==s&&(c=s=1),f=k.slice()),(p=f.length)<v&&f.unshift(0),r(y,f,v),-1==c&&(c=t(k,y,S,v=y.length))<1&&(s++,r(y,S<v?j:k,v)),v=y.length):0===c&&(s++,y=[0]),d[u++]=s,c&&y[0]?y[v++]=M[w]||0:(y=[M[w]],v=1)}while((w++<x||void 0!==y[0])&&m--)}return d[0]||d.shift(),h.e=l,Ox(h,a?o+gx(h)+1:o)}}();function vx(e,t){var r,n,i,o,a,c=0,l=0,u=e.constructor,s=u.precision;if(gx(e)>16)throw Error(nx+gx(e));if(!e.s)return new u(Zw);for(null==t?(ex=!1,a=s):a=t,o=new u(.03125);e.abs().gte(.1);)e=e.times(o),l+=5;for(a+=Math.log(ox(2,l))/Math.LN10*2+5|0,r=n=i=new u(Zw),u.precision=a;;){if(n=Ox(n.times(e),a),r=r.times(++c),dx((o=i.plus(yx(n,r,a))).d).slice(0,a)===dx(i.d).slice(0,a)){for(;l--;)i=Ox(i.times(i),a);return u.precision=s,null==t?(ex=!0,Ox(i,s)):i}i=o}}function gx(e){for(var t=e.e*lx,r=e.d[0];r>=10;r/=10)t++;return t}function mx(e,t,r){if(t>e.LN10.sd())throw ex=!0,r&&(e.precision=r),Error(tx+"LN10 precision limit exceeded");return Ox(new e(e.LN10),t)}function bx(e){for(var t="";e--;)t+="0";return t}function wx(e,t){var r,n,i,o,a,c,l,u,s,f=1,p=e,h=p.d,d=p.constructor,y=d.precision;if(p.s<1)throw Error(tx+(p.s?"NaN":"-Infinity"));if(p.eq(Zw))return new d(0);if(null==t?(ex=!1,u=y):u=t,p.eq(10))return null==t&&(ex=!0),mx(d,u);if(u+=10,d.precision=u,n=(r=dx(h)).charAt(0),o=gx(p),!(Math.abs(o)<15e14))return l=mx(d,u+2,y).times(o+""),p=wx(new d(n+"."+r.slice(1)),u-10).plus(l),d.precision=y,null==t?(ex=!0,Ox(p,y)):p;for(;n<7&&1!=n||1==n&&r.charAt(1)>3;)n=(r=dx((p=p.times(e)).d)).charAt(0),f++;for(o=gx(p),n>1?(p=new d("0."+r),o++):p=new d(n+"."+r.slice(1)),c=a=p=yx(p.minus(Zw),p.plus(Zw),u),s=Ox(p.times(p),u),i=3;;){if(a=Ox(a.times(s),u),dx((l=c.plus(yx(a,new d(i),u))).d).slice(0,u)===dx(c.d).slice(0,u))return c=c.times(2),0!==o&&(c=c.plus(mx(d,u+2,y).times(o+""))),c=yx(c,new d(f),u),d.precision=y,null==t?(ex=!0,Ox(c,y)):c;c=l,i+=2}}function xx(e,t){var r,n,i;for((r=t.indexOf("."))>-1&&(t=t.replace(".","")),(n=t.search(/e/i))>0?(r<0&&(r=n),r+=+t.slice(n+1),t=t.substring(0,n)):r<0&&(r=t.length),n=0;48===t.charCodeAt(n);)++n;for(i=t.length;48===t.charCodeAt(i-1);)--i;if(t=t.slice(n,i)){if(i-=n,r=r-n-1,e.e=ix(r/lx),e.d=[],n=(r+1)%lx,r<0&&(n+=lx),n<i){for(n&&e.d.push(+t.slice(0,n)),i-=lx;n<i;)e.d.push(+t.slice(n,n+=lx));t=t.slice(n),n=lx-t.length}else n-=i;for(;n--;)t+="0";if(e.d.push(+t),ex&&(e.e>sx||e.e<-sx))throw Error(nx+r)}else e.s=0,e.e=0,e.d=[0];return e}function Ox(e,t,r){var n,i,o,a,c,l,u,s,f=e.d;for(a=1,o=f[0];o>=10;o/=10)a++;if((n=t-a)<0)n+=lx,i=t,u=f[s=0];else{if((s=Math.ceil((n+1)/lx))>=(o=f.length))return e;for(u=o=f[s],a=1;o>=10;o/=10)a++;i=(n%=lx)-lx+a}if(void 0!==r&&(c=u/(o=ox(10,a-i-1))%10|0,l=t<0||void 0!==f[s+1]||u%o,l=r<4?(c||l)&&(0==r||r==(e.s<0?3:2)):c>5||5==c&&(4==r||l||6==r&&(n>0?i>0?u/ox(10,a-i):0:f[s-1])%10&1||r==(e.s<0?8:7))),t<1||!f[0])return l?(o=gx(e),f.length=1,t=t-o-1,f[0]=ox(10,(lx-t%lx)%lx),e.e=ix(-t/lx)||0):(f.length=1,f[0]=e.e=e.s=0),e;if(0==n?(f.length=s,o=1,s--):(f.length=s+1,o=ox(10,lx-n),f[s]=i>0?(u/ox(10,a-i)%ox(10,i)|0)*o:0),l)for(;;){if(0==s){(f[0]+=o)==cx&&(f[0]=1,++e.e);break}if(f[s]+=o,f[s]!=cx)break;f[s--]=0,o=1}for(n=f.length;0===f[--n];)f.pop();if(ex&&(e.e>sx||e.e<-sx))throw Error(nx+gx(e));return e}function Sx(e,t){var r,n,i,o,a,c,l,u,s,f,p=e.constructor,h=p.precision;if(!e.s||!t.s)return t.s?t.s=-t.s:t=new p(e),ex?Ox(t,h):t;if(l=e.d,f=t.d,n=t.e,u=e.e,l=l.slice(),a=u-n){for((s=a<0)?(r=l,a=-a,c=f.length):(r=f,n=u,c=l.length),a>(i=Math.max(Math.ceil(h/lx),c)+2)&&(a=i,r.length=1),r.reverse(),i=a;i--;)r.push(0);r.reverse()}else{for((s=(i=l.length)<(c=f.length))&&(c=i),i=0;i<c;i++)if(l[i]!=f[i]){s=l[i]<f[i];break}a=0}for(s&&(r=l,l=f,f=r,t.s=-t.s),c=l.length,i=f.length-c;i>0;--i)l[c++]=0;for(i=f.length;i>a;){if(l[--i]<f[i]){for(o=i;o&&0===l[--o];)l[o]=cx-1;--l[o],l[i]+=cx}l[i]-=f[i]}for(;0===l[--c];)l.pop();for(;0===l[0];l.shift())--n;return l[0]?(t.d=l,t.e=n,ex?Ox(t,h):t):new p(0)}function jx(e,t,r){var n,i=gx(e),o=dx(e.d),a=o.length;return t?(r&&(n=r-a)>0?o=o.charAt(0)+"."+o.slice(1)+bx(n):a>1&&(o=o.charAt(0)+"."+o.slice(1)),o=o+(i<0?"e":"e+")+i):i<0?(o="0."+bx(-i-1)+o,r&&(n=r-a)>0&&(o+=bx(n))):i>=a?(o+=bx(i+1-a),r&&(n=r-i-1)>0&&(o=o+"."+bx(n))):((n=i+1)<a&&(o=o.slice(0,n)+"."+o.slice(n)),r&&(n=r-a)>0&&(i+1===a&&(o+="."),o+=bx(n))),e.s<0?"-"+o:o}function Ax(e,t){if(e.length>t)return e.length=t,!0}function Px(e){if(!e||"object"!=typeof e)throw Error(tx+"Object expected");var t,r,n,i=["precision",1,Qw,"rounding",0,8,"toExpNeg",-1/0,0,"toExpPos",0,1/0];for(t=0;t<i.length;t+=3)if(void 0!==(n=e[r=i[t]])){if(!(ix(n)===n&&n>=i[t+1]&&n<=i[t+2]))throw Error(rx+r+": "+n);this[r]=n}if(void 0!==(n=e[r="LN10"])){if(n!=Math.LN10)throw Error(rx+r+": "+n);this[r]=new this(n)}return this}var Mx=function e(t){var r,n,i;function o(e){var t=this;if(!(t instanceof o))return new o(e);if(t.constructor=o,e instanceof o)return t.s=e.s,t.e=e.e,void(t.d=(e=e.d)?e.slice():e);if("number"==typeof e){if(0*e!=0)throw Error(rx+e);if(e>0)t.s=1;else{if(!(e<0))return t.s=0,t.e=0,void(t.d=[0]);e=-e,t.s=-1}return e===~~e&&e<1e7?(t.e=0,void(t.d=[e])):xx(t,e.toString())}if("string"!=typeof e)throw Error(rx+e);if(45===e.charCodeAt(0)?(e=e.slice(1),t.s=-1):t.s=1,!ax.test(e))throw Error(rx+e);xx(t,e)}if(o.prototype=fx,o.ROUND_UP=0,o.ROUND_DOWN=1,o.ROUND_CEIL=2,o.ROUND_FLOOR=3,o.ROUND_HALF_UP=4,o.ROUND_HALF_DOWN=5,o.ROUND_HALF_EVEN=6,o.ROUND_HALF_CEIL=7,o.ROUND_HALF_FLOOR=8,o.clone=e,o.config=o.set=Px,void 0===t&&(t={}),t)for(i=["precision","rounding","toExpNeg","toExpPos","LN10"],r=0;r<i.length;)t.hasOwnProperty(n=i[r++])||(t[n]=this[n]);return o.config(t),o}({precision:20,rounding:4,toExpNeg:-7,toExpPos:21,LN10:"2.302585092994045684017991454684364207601101488628772976033327900967572609677352480235997205089598298341967784042286"});Zw=new Mx(1);var kx=Mx;function Ex(e){return function(e){if(Array.isArray(e))return Cx(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return Cx(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Cx(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Cx(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var _x=function(e){return e},Tx={"@@functional/placeholder":!0},Dx=function(e){return e===Tx},Nx=function(e){return function t(){return 0===arguments.length||1===arguments.length&&Dx(arguments.length<=0?void 0:arguments[0])?t:e.apply(void 0,arguments)}},Ix=function e(t,r){return 1===t?r:Nx((function(){for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];var a=i.filter((function(e){return e!==Tx})).length;return a>=t?r.apply(void 0,i):e(t-a,Nx((function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o=i.map((function(e){return Dx(e)?t.shift():e}));return r.apply(void 0,Ex(o).concat(t))})))}))},Lx=function(e){return Ix(e.length,e)},Bx=function(e,t){for(var r=[],n=e;n<t;++n)r[n-e]=n;return r},Rx=Lx((function(e,t){return Array.isArray(t)?t.map(e):Object.keys(t).map((function(e){return t[e]})).map(e)})),zx=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];if(!t.length)return _x;var n=t.reverse(),i=n[0],o=n.slice(1);return function(){return o.reduce((function(e,t){return t(e)}),i.apply(void 0,arguments))}},$x=function(e){return Array.isArray(e)?e.reverse():e.split("").reverse.join("")},Hx=function(e){var t=null,r=null;return function(){for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];return t&&i.every((function(e,r){return e===t[r]}))?r:(t=i,r=e.apply(void 0,i))}};var Vx=Lx((function(e,t,r){var n=+e;return n+r*(+t-n)})),Fx=Lx((function(e,t,r){var n=t-+e;return(r-e)/(n=n||1/0)})),Ux=Lx((function(e,t,r){var n=t-+e;return n=n||1/0,Math.max(0,Math.min(1,(r-e)/n))})),Wx={rangeStep:function(e,t,r){for(var n=new kx(e),i=0,o=[];n.lt(t)&&i<1e5;)o.push(n.toNumber()),n=n.add(r),i++;return o},getDigitCount:function(e){return 0===e?1:Math.floor(new kx(e).abs().log(10).toNumber())+1},interpolateNumber:Vx,uninterpolateNumber:Fx,uninterpolateTruncation:Ux};function qx(e){return function(e){if(Array.isArray(e))return Kx(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||Xx(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Yx(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var r=[],n=!0,i=!1,o=void 0;try{for(var a,c=e[Symbol.iterator]();!(n=(a=c.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){i=!0,o=e}finally{try{n||null==c.return||c.return()}finally{if(i)throw o}}return r}(e,t)||Xx(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Xx(e,t){if(e){if("string"==typeof e)return Kx(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Kx(e,t):void 0}}function Kx(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Gx(e){var t=Yx(e,2),r=t[0],n=t[1],i=r,o=n;return r>n&&(i=n,o=r),[i,o]}function Zx(e,t,r){if(e.lte(0))return new kx(0);var n=Wx.getDigitCount(e.toNumber()),i=new kx(10).pow(n),o=e.div(i),a=1!==n?.05:.1,c=new kx(Math.ceil(o.div(a).toNumber())).add(r).mul(a).mul(i);return t?c:new kx(Math.ceil(c))}function Jx(e,t,r,n){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0;if(!Number.isFinite((t-e)/(r-1)))return{step:new kx(0),tickMin:new kx(0),tickMax:new kx(0)};var o,a=Zx(new kx(t).sub(e).div(r-1),n,i);o=e<=0&&t>=0?new kx(0):(o=new kx(e).add(t).div(2)).sub(new kx(o).mod(a));var c=Math.ceil(o.sub(e).div(a).toNumber()),l=Math.ceil(new kx(t).sub(o).div(a).toNumber()),u=c+l+1;return u>r?Jx(e,t,r,n,i+1):(u<r&&(l=t>0?l+(r-u):l,c=t>0?c:c+(r-u)),{step:a,tickMin:o.sub(new kx(c).mul(a)),tickMax:o.add(new kx(l).mul(a))})}var Qx=Hx((function(e){var t=Yx(e,2),r=t[0],n=t[1],i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6,o=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],a=Math.max(i,2),c=Yx(Gx([r,n]),2),l=c[0],u=c[1];if(l===-1/0||u===1/0){var s=u===1/0?[l].concat(qx(Bx(0,i-1).map((function(){return 1/0})))):[].concat(qx(Bx(0,i-1).map((function(){return-1/0}))),[u]);return r>n?$x(s):s}if(l===u)return function(e,t,r){var n=1,i=new kx(e);if(!i.isint()&&r){var o=Math.abs(e);o<1?(n=new kx(10).pow(Wx.getDigitCount(e)-1),i=new kx(Math.floor(i.div(n).toNumber())).mul(n)):o>1&&(i=new kx(Math.floor(e)))}else 0===e?i=new kx(Math.floor((t-1)/2)):r||(i=new kx(Math.floor(e)));var a=Math.floor((t-1)/2);return zx(Rx((function(e){return i.add(new kx(e-a).mul(n)).toNumber()})),Bx)(0,t)}(l,i,o);var f=Jx(l,u,a,o),p=f.step,h=f.tickMin,d=f.tickMax,y=Wx.rangeStep(h,d.add(new kx(.1).mul(p)),p);return r>n?$x(y):y})),eO=Hx((function(e,t){var r=Yx(e,2),n=r[0],i=r[1],o=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],a=Yx(Gx([n,i]),2),c=a[0],l=a[1];if(c===-1/0||l===1/0)return[n,i];if(c===l)return[c];var u=Math.max(t,2),s=Zx(new kx(l).sub(c).div(u-1),o,0),f=[].concat(qx(Wx.rangeStep(new kx(c),new kx(l).sub(new kx(.99).mul(s)),s)),[l]);return n>i?$x(f):f})),tO="production"===process.env.NODE_ENV,rO="Invariant failed";function nO(e,t){if(tO)throw new Error(rO);var r="function"==typeof t?t():t,n=r?"".concat(rO,": ").concat(r):rO;throw new Error(n)}var iO=["offset","layout","width","dataKey","data","dataPointFormatter","xAxis","yAxis"];function oO(){return oO=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},oO.apply(this,arguments)}function aO(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,o,a,c=[],l=!0,u=!1;try{if(o=(r=r.call(e)).next,0===t);else for(;!(l=(n=o.call(r)).done)&&(c.push(n.value),c.length!==t);l=!0);}catch(e){u=!0,i=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw i}}return c}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return cO(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return cO(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function cO(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function lO(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function uO(e){var t=e.offset,r=e.layout,n=e.width,i=e.dataKey,o=e.data,a=e.dataPointFormatter,c=e.xAxis,l=e.yAxis,u=lO(e,iO),s=Ma(u,!1);"x"===e.direction&&"number"!==c.type&&("production"!==process.env.NODE_ENV?nO(0,'ErrorBar requires Axis type property to be "number".'):nO());var f=o.map((function(e){var o=a(e,i),u=o.x,f=o.y,p=o.value,h=o.errorVal;if(!h)return null;var d,y,v=[];if(Array.isArray(h)){var g=aO(h,2);d=g[0],y=g[1]}else d=y=h;if("vertical"===r){var m=c.scale,b=f+t,w=b+n,x=b-n,O=m(p-d),S=m(p+y);v.push({x1:S,y1:w,x2:S,y2:x}),v.push({x1:O,y1:b,x2:S,y2:b}),v.push({x1:O,y1:w,x2:O,y2:x})}else if("horizontal"===r){var j=l.scale,A=u+t,P=A-n,M=A+n,k=j(p-d),E=j(p+y);v.push({x1:P,y1:E,x2:M,y2:E}),v.push({x1:A,y1:k,x2:A,y2:E}),v.push({x1:P,y1:k,x2:M,y2:k})}return Q.createElement(Ra,oO({className:"recharts-errorBar",key:"bar-".concat(v.map((function(e){return"".concat(e.x1,"-").concat(e.x2,"-").concat(e.y1,"-").concat(e.y2)})))},s),v.map((function(e){return Q.createElement("line",oO({},e,{key:"line-".concat(e.x1,"-").concat(e.x2,"-").concat(e.y1,"-").concat(e.y2)}))})))}));return Q.createElement(Ra,{className:"recharts-errorBars"},f)}function sO(e){return sO="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},sO(e)}function fO(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function pO(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?fO(Object(r),!0).forEach((function(t){hO(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):fO(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function hO(e,t,r){return t=function(e){var t=function(e,t){if("object"!=sO(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=sO(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==sO(t)?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}uO.defaultProps={stroke:"black",strokeWidth:1.5,width:5,offset:0,layout:"horizontal"},uO.displayName="ErrorBar";var dO=function(e){var t,r=e.children,n=e.formattedGraphicalItems,i=e.legendWidth,o=e.legendContent,a=Sa(r,Kp);return a?(t=a.props&&a.props.payload?a.props&&a.props.payload:"children"===o?(n||[]).reduce((function(e,t){var r=t.item,n=t.props,i=n.sectors||n.data||[];return e.concat(i.map((function(e){return{type:a.props.iconType||r.props.legendType,value:e.name,color:e.fill,payload:e}})))}),[]):(n||[]).map((function(e){var t=e.item,r=t.props,n=r.dataKey,i=r.name,o=r.legendType;return{inactive:r.hide,dataKey:n,type:a.props.iconType||o||"square",color:SO(t),value:i||n,payload:t.props}})),pO(pO(pO({},a.props),Kp.getWithHeight(a,i)),{},{payload:t,item:a})):null};function yO(e){return yO="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},yO(e)}function vO(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function gO(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?vO(Object(r),!0).forEach((function(t){mO(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):vO(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function mO(e,t,r){return t=function(e){var t=function(e,t){if("object"!=yO(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=yO(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==yO(t)?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function bO(e){return function(e){if(Array.isArray(e))return wO(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return wO(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return wO(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function wO(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function xO(e,t,r){return To(e)||To(t)?r:Jo(t)?_o(e,t,r):Rn(t)?t(e):r}function OO(e,t,r,n){var i=Kw(e,(function(e){return xO(e,t)}));if("number"===r){var o=i.filter((function(e){return Zo(e)||parseFloat(e)}));return o.length?[Vw(o),Bw(o)]:[1/0,-1/0]}return(n?i.filter((function(e){return!To(e)})):i).map((function(e){return Jo(e)||e instanceof Date?e:""}))}var SO=function(e){var t,r=e.type.displayName,n=e.props,i=n.stroke,o=n.fill;switch(r){case"Line":t=i;break;case"Area":case"Radar":t=i&&"none"!==i?i:o;break;default:t=o}return t},jO=function(e,t,r,n,i){var o=Oa(t.props.children,uO).filter((function(e){return function(e,t,r){return!!To(t)||("horizontal"===e?"yAxis"===t:"vertical"===e||"x"===r?"xAxis"===t:"y"!==r||"yAxis"===t)}(n,i,e.props.direction)}));if(o&&o.length){var a=o.map((function(e){return e.props.dataKey}));return e.reduce((function(e,t){var n=xO(t,r);if(To(n))return e;var i=Array.isArray(n)?[Vw(n),Bw(n)]:[n,n],o=a.reduce((function(e,r){var n=xO(t,r,0),o=i[0]-Math.abs(Array.isArray(n)?n[0]:n),a=i[1]+Math.abs(Array.isArray(n)?n[1]:n);return[Math.min(o,e[0]),Math.max(a,e[1])]}),[1/0,-1/0]);return[Math.min(o[0],e[0]),Math.max(o[1],e[1])]}),[1/0,-1/0])}return null},AO=function(e,t,r,n,i){var o=t.map((function(t){var o=t.props.dataKey;return"number"===r&&o&&jO(e,t,o,n)||OO(e,o,r,i)}));if("number"===r)return o.reduce((function(e,t){return[Math.min(e[0],t[0]),Math.max(e[1],t[1])]}),[1/0,-1/0]);var a={};return o.reduce((function(e,t){for(var r=0,n=t.length;r<n;r++)a[t[r]]||(a[t[r]]=!0,e.push(t[r]));return e}),[])},PO=function(e,t){return"horizontal"===e&&"xAxis"===t||"vertical"===e&&"yAxis"===t||"centric"===e&&"angleAxis"===t||"radial"===e&&"radiusAxis"===t},MO=function(e,t,r){if(!e)return null;var n=e.scale,i=e.duplicateDomain,o=e.type,a=e.range,c="scaleBand"===e.realScaleType?n.bandwidth()/2:2,l=(t||r)&&"category"===o&&n.bandwidth?n.bandwidth()/c:0;return l="angleAxis"===e.axisType&&(null==a?void 0:a.length)>=2?2*Ko(a[0]-a[1])*l:l,t&&(e.ticks||e.niceTicks)?(e.ticks||e.niceTicks).map((function(e){var t=i?i.indexOf(e):e;return{coordinate:n(t)+l,value:e,offset:l}})).filter((function(e){return!Xo(e.coordinate)})):e.isCategorical&&e.categoricalDomain?e.categoricalDomain.map((function(e,t){return{coordinate:n(e)+l,value:e,index:t,offset:l}})):n.ticks&&!r?n.ticks(e.tickCount).map((function(e){return{coordinate:n(e)+l,value:e,offset:l}})):n.domain().map((function(e,t){return{coordinate:n(e)+l,value:i?i[e]:e,index:t,offset:l}}))},kO=new WeakMap,EO=function(e,t){if("function"!=typeof t)return e;kO.has(e)||kO.set(e,new WeakMap);var r=kO.get(e);if(r.has(t))return r.get(t);var n=function(){e.apply(void 0,arguments),t.apply(void 0,arguments)};return r.set(t,n),n},CO=1e-4,_O={sign:function(e){var t=e.length;if(!(t<=0))for(var r=0,n=e[0].length;r<n;++r)for(var i=0,o=0,a=0;a<t;++a){var c=Xo(e[a][r][1])?e[a][r][0]:e[a][r][1];c>=0?(e[a][r][0]=i,e[a][r][1]=i+c,i=e[a][r][1]):(e[a][r][0]=o,e[a][r][1]=o+c,o=e[a][r][1])}},expand:function(e,t){if((n=e.length)>0){for(var r,n,i,o=0,a=e[0].length;o<a;++o){for(i=r=0;r<n;++r)i+=e[r][o][1]||0;if(i)for(r=0;r<n;++r)e[r][o][1]/=i}vl(e,t)}},none:vl,silhouette:function(e,t){if((r=e.length)>0){for(var r,n=0,i=e[t[0]],o=i.length;n<o;++n){for(var a=0,c=0;a<r;++a)c+=e[a][n][1]||0;i[n][1]+=i[n][0]=-c/2}vl(e,t)}},wiggle:function(e,t){if((i=e.length)>0&&(n=(r=e[t[0]]).length)>0){for(var r,n,i,o=0,a=1;a<n;++a){for(var c=0,l=0,u=0;c<i;++c){for(var s=e[t[c]],f=s[a][1]||0,p=(f-(s[a-1][1]||0))/2,h=0;h<c;++h){var d=e[t[h]];p+=(d[a][1]||0)-(d[a-1][1]||0)}l+=f,u+=p*f}r[a-1][1]+=r[a-1][0]=o,l&&(o-=u/l)}r[a-1][1]+=r[a-1][0]=o,vl(e,t)}},positive:function(e){var t=e.length;if(!(t<=0))for(var r=0,n=e[0].length;r<n;++r)for(var i=0,o=0;o<t;++o){var a=Xo(e[o][r][1])?e[o][r][0]:e[o][r][1];a>=0?(e[o][r][0]=i,e[o][r][1]=i+a,i=e[o][r][1]):(e[o][r][0]=0,e[o][r][1]=0)}}},TO=function(e,t,r){var n=t.map((function(e){return e.props.dataKey})),i=_O[r],o=function(){var e=vc([]),t=gl,r=vl,n=ml;function i(i){var o,a,c=Array.from(e.apply(this,arguments),bl),l=c.length,u=-1;for(const e of i)for(o=0,++u;o<l;++o)(c[o][u]=[0,+n(e,c[o].key,u,i)]).data=e;for(o=0,a=Ec(t(c));o<l;++o)c[a[o]].index=o;return r(c,a),c}return i.keys=function(t){return arguments.length?(e="function"==typeof t?t:vc(Array.from(t)),i):e},i.value=function(e){return arguments.length?(n="function"==typeof e?e:vc(+e),i):n},i.order=function(e){return arguments.length?(t=null==e?gl:"function"==typeof e?e:vc(Array.from(e)),i):t},i.offset=function(e){return arguments.length?(r=null==e?vl:e,i):r},i}().keys(n).value((function(e,t){return+xO(e,t,0)})).order(gl).offset(i);return o(e)};function DO(e){var t=e.axis,r=e.ticks,n=e.bandSize,i=e.entry,o=e.index,a=e.dataKey;if("category"===t.type){if(!t.allowDuplicatedCategory&&t.dataKey&&!To(i[t.dataKey])){var c=ia(r,"value",i[t.dataKey]);if(c)return c.coordinate+n/2}return r[o]?r[o].coordinate+n/2:null}var l=xO(i,To(a)?t.dataKey:a);return To(l)?null:t.scale(l)}var NO=function(e){var t=e.axis,r=e.ticks,n=e.offset,i=e.bandSize,o=e.entry,a=e.index;if("category"===t.type)return r[a]?r[a].coordinate+n:null;var c=xO(o,t.dataKey,t.domain[a]);return To(c)?null:t.scale(c)-i/2+n},IO=function(e,t,r){return Object.keys(e).reduce((function(n,i){var o=e[i].stackedData.reduce((function(e,n){var i=n.slice(t,r+1).reduce((function(e,t){return[Vw(t.concat([e[0]]).filter(Zo)),Bw(t.concat([e[1]]).filter(Zo))]}),[1/0,-1/0]);return[Math.min(e[0],i[0]),Math.max(e[1],i[1])]}),[1/0,-1/0]);return[Math.min(o[0],n[0]),Math.max(o[1],n[1])]}),[1/0,-1/0]).map((function(e){return e===1/0||e===-1/0?0:e}))},LO=/^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,BO=/^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,RO=function(e,t,r){if(Rn(e))return e(t,r);if(!Array.isArray(e))return t;var n=[];if(Zo(e[0]))n[0]=r?e[0]:Math.min(e[0],t[0]);else if(LO.test(e[0])){var i=+LO.exec(e[0])[1];n[0]=t[0]-i}else Rn(e[0])?n[0]=e[0](t[0]):n[0]=t[0];if(Zo(e[1]))n[1]=r?e[1]:Math.max(e[1],t[1]);else if(BO.test(e[1])){var o=+BO.exec(e[1])[1];n[1]=t[1]+o}else Rn(e[1])?n[1]=e[1](t[1]):n[1]=t[1];return n},zO=function(e,t,r){if(e&&e.scale&&e.scale.bandwidth){var n=e.scale.bandwidth();if(!r||n>0)return n}if(e&&t&&t.length>=2){for(var i=Xh(t,(function(e){return e.coordinate})),o=1/0,a=1,c=i.length;a<c;a++){var l=i[a],u=i[a-1];o=Math.min((l.coordinate||0)-(u.coordinate||0),o)}return o===1/0?0:o}return r?void 0:0},$O=function(e,t,r){return e&&e.length?Jw(e,_o(r,"type.defaultProps.domain"))?t:e:t},HO=function(e,t){var r=e.props,n=r.dataKey,i=r.name,o=r.unit,a=r.formatter,c=r.tooltipType,l=r.chartType,u=r.hide;return gO(gO({},Ma(e,!1)),{},{dataKey:n,unit:o,formatter:a,name:i||n,color:SO(e),value:xO(t,n),type:c,payload:t,chartType:l,hide:u})};function VO(e){return VO="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},VO(e)}function FO(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function UO(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?FO(Object(r),!0).forEach((function(t){WO(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):FO(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function WO(e,t,r){return t=function(e){var t=function(e,t){if("object"!=VO(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=VO(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==VO(t)?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var qO=Math.PI/180,YO=function(e){return 180*e/Math.PI},XO=function(e,t,r,n){return{x:e+Math.cos(-qO*n)*r,y:t+Math.sin(-qO*n)*r}},KO=function(e,t){var r=e.x,n=e.y,i=t.cx,o=t.cy,a=function(e,t){var r=e.x,n=e.y,i=t.x,o=t.y;return Math.sqrt(Math.pow(r-i,2)+Math.pow(n-o,2))}({x:r,y:n},{x:i,y:o});if(a<=0)return{radius:a};var c=(r-i)/a,l=Math.acos(c);return n>o&&(l=2*Math.PI-l),{radius:a,angle:YO(l),angleInRadian:l}},GO=function(e,t){var r=t.startAngle,n=t.endAngle,i=Math.floor(r/360),o=Math.floor(n/360);return e+360*Math.min(i,o)},ZO=function(e,t){var r=e.x,n=e.y,i=KO({x:r,y:n},t),o=i.radius,a=i.angle,c=t.innerRadius,l=t.outerRadius;if(o<c||o>l)return!1;if(0===o)return!0;var u,s=function(e){var t=e.startAngle,r=e.endAngle,n=Math.floor(t/360),i=Math.floor(r/360),o=Math.min(n,i);return{startAngle:t-360*o,endAngle:r-360*o}}(t),f=s.startAngle,p=s.endAngle,h=a;if(f<=p){for(;h>p;)h-=360;for(;h<f;)h+=360;u=h>=f&&h<=p}else{for(;h>f;)h-=360;for(;h<p;)h+=360;u=h>=p&&h<=f}return u?UO(UO({},t),{},{radius:o,angle:GO(h,t)}):null};function JO(e){return JO="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},JO(e)}var QO=["offset"];function eS(e){return function(e){if(Array.isArray(e))return tS(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return tS(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return tS(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function tS(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function rS(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function nS(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function iS(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?nS(Object(r),!0).forEach((function(t){oS(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):nS(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function oS(e,t,r){return t=function(e){var t=function(e,t){if("object"!=JO(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=JO(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==JO(t)?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function aS(){return aS=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},aS.apply(this,arguments)}var cS=function(e){var t=e.value,r=e.formatter,n=To(e.children)?t:e.children;return Rn(r)?r(n):n},lS=function(e,t,r){var n,i,o=e.position,a=e.viewBox,c=e.offset,l=e.className,u=a,s=u.cx,f=u.cy,p=u.innerRadius,h=u.outerRadius,d=u.startAngle,y=u.endAngle,v=u.clockWise,g=(p+h)/2,m=function(e,t){return Ko(t-e)*Math.min(Math.abs(t-e),360)}(d,y),b=m>=0?1:-1;"insideStart"===o?(n=d+b*c,i=v):"insideEnd"===o?(n=y-b*c,i=!v):"end"===o&&(n=y+b*c,i=v),i=m<=0?i:!i;var w=XO(s,f,g,n),x=XO(s,f,g,n+359*(i?1:-1)),O="M".concat(w.x,",").concat(w.y,"\n A").concat(g,",").concat(g,",0,1,").concat(i?0:1,",\n ").concat(x.x,",").concat(x.y),S=To(e.id)?ea("recharts-radial-line-"):e.id;return Q.createElement("text",aS({},r,{dominantBaseline:"central",className:on("recharts-radial-bar-label",l)}),Q.createElement("defs",null,Q.createElement("path",{id:S,d:O})),Q.createElement("textPath",{xlinkHref:"#".concat(S)},t))},uS=function(e){var t=e.viewBox,r=e.offset,n=e.position,i=t,o=i.cx,a=i.cy,c=i.innerRadius,l=i.outerRadius,u=(i.startAngle+i.endAngle)/2;if("outside"===n){var s=XO(o,a,l+r,u),f=s.x;return{x:f,y:s.y,textAnchor:f>=o?"start":"end",verticalAnchor:"middle"}}if("center"===n)return{x:o,y:a,textAnchor:"middle",verticalAnchor:"middle"};if("centerTop"===n)return{x:o,y:a,textAnchor:"middle",verticalAnchor:"start"};if("centerBottom"===n)return{x:o,y:a,textAnchor:"middle",verticalAnchor:"end"};var p=XO(o,a,(c+l)/2,u);return{x:p.x,y:p.y,textAnchor:"middle",verticalAnchor:"middle"}},sS=function(e){var t=e.viewBox,r=e.parentViewBox,n=e.offset,i=e.position,o=t,a=o.x,c=o.y,l=o.width,u=o.height,s=u>=0?1:-1,f=s*n,p=s>0?"end":"start",h=s>0?"start":"end",d=l>=0?1:-1,y=d*n,v=d>0?"end":"start",g=d>0?"start":"end";if("top"===i)return iS(iS({},{x:a+l/2,y:c-s*n,textAnchor:"middle",verticalAnchor:p}),r?{height:Math.max(c-r.y,0),width:l}:{});if("bottom"===i)return iS(iS({},{x:a+l/2,y:c+u+f,textAnchor:"middle",verticalAnchor:h}),r?{height:Math.max(r.y+r.height-(c+u),0),width:l}:{});if("left"===i){var m={x:a-y,y:c+u/2,textAnchor:v,verticalAnchor:"middle"};return iS(iS({},m),r?{width:Math.max(m.x-r.x,0),height:u}:{})}if("right"===i){var b={x:a+l+y,y:c+u/2,textAnchor:g,verticalAnchor:"middle"};return iS(iS({},b),r?{width:Math.max(r.x+r.width-b.x,0),height:u}:{})}var w=r?{width:l,height:u}:{};return"insideLeft"===i?iS({x:a+y,y:c+u/2,textAnchor:g,verticalAnchor:"middle"},w):"insideRight"===i?iS({x:a+l-y,y:c+u/2,textAnchor:v,verticalAnchor:"middle"},w):"insideTop"===i?iS({x:a+l/2,y:c+f,textAnchor:"middle",verticalAnchor:h},w):"insideBottom"===i?iS({x:a+l/2,y:c+u-f,textAnchor:"middle",verticalAnchor:p},w):"insideTopLeft"===i?iS({x:a+y,y:c+f,textAnchor:g,verticalAnchor:h},w):"insideTopRight"===i?iS({x:a+l-y,y:c+f,textAnchor:v,verticalAnchor:h},w):"insideBottomLeft"===i?iS({x:a+y,y:c+u-f,textAnchor:g,verticalAnchor:p},w):"insideBottomRight"===i?iS({x:a+l-y,y:c+u-f,textAnchor:v,verticalAnchor:p},w):Dn(i)&&(Zo(i.x)||Go(i.x))&&(Zo(i.y)||Go(i.y))?iS({x:a+ta(i.x,l),y:c+ta(i.y,u),textAnchor:"end",verticalAnchor:"end"},w):iS({x:a+l/2,y:c+u/2,textAnchor:"middle",verticalAnchor:"middle"},w)},fS=function(e){return"cx"in e&&Zo(e.cx)};function pS(e){var t,r=e.offset,n=iS({offset:void 0===r?5:r},rS(e,QO)),i=n.viewBox,o=n.position,a=n.value,c=n.children,l=n.content,u=n.className,s=void 0===u?"":u,f=n.textBreakAll;if(!i||To(a)&&To(c)&&!ee(l)&&!Rn(l))return null;if(ee(l))return se(l,n);if(Rn(l)){if(ee(t=fe(l,n)))return t}else t=cS(n);var p=fS(i),h=Ma(n,!0);if(p&&("insideStart"===o||"insideEnd"===o||"end"===o))return lS(n,t,h);var d=p?uS(n):sS(n);return Q.createElement(Xy,aS({className:on("recharts-label",s)},h,d,{breakAll:f}),t)}pS.displayName="Label";var hS=function(e){var t=e.cx,r=e.cy,n=e.angle,i=e.startAngle,o=e.endAngle,a=e.r,c=e.radius,l=e.innerRadius,u=e.outerRadius,s=e.x,f=e.y,p=e.top,h=e.left,d=e.width,y=e.height,v=e.clockWise,g=e.labelViewBox;if(g)return g;if(Zo(d)&&Zo(y)){if(Zo(s)&&Zo(f))return{x:s,y:f,width:d,height:y};if(Zo(p)&&Zo(h))return{x:p,y:h,width:d,height:y}}return Zo(s)&&Zo(f)?{x:s,y:f,width:0,height:0}:Zo(t)&&Zo(r)?{cx:t,cy:r,startAngle:i||n||0,endAngle:o||n||0,innerRadius:l||0,outerRadius:u||c||a||0,clockWise:v}:e.viewBox?e.viewBox:{}};pS.parseViewBox=hS,pS.renderCallByParent=function(e,t){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!e||!e.children&&r&&!e.label)return null;var n=e.children,i=hS(e),o=Oa(n,pS).map((function(e,r){return se(e,{viewBox:t||i,key:"label-".concat(r)})}));if(!r)return o;var a=function(e,t){return e?!0===e?Q.createElement(pS,{key:"label-implicit",viewBox:t}):Jo(e)?Q.createElement(pS,{key:"label-implicit",viewBox:t,value:e}):ee(e)?e.type===pS?se(e,{key:"label-implicit",viewBox:t}):Q.createElement(pS,{key:"label-implicit",content:e,viewBox:t}):Rn(e)?Q.createElement(pS,{key:"label-implicit",content:e,viewBox:t}):Dn(e)?Q.createElement(pS,aS({viewBox:t},e,{key:"label-implicit"})):null:null}(e.label,t||i);return[a].concat(eS(o))};var dS=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0},yS=Xt(dS);function vS(e){return vS="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},vS(e)}var gS=["valueAccessor"],mS=["data","dataKey","clockWise","id","textBreakAll"];function bS(e){return function(e){if(Array.isArray(e))return wS(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return wS(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return wS(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function wS(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function xS(){return xS=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},xS.apply(this,arguments)}function OS(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function SS(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?OS(Object(r),!0).forEach((function(t){jS(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):OS(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function jS(e,t,r){return t=function(e){var t=function(e,t){if("object"!=vS(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=vS(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==vS(t)?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function AS(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}var PS=function(e){return Array.isArray(e.value)?yS(e.value):e.value};function MS(e){var t=e.valueAccessor,r=void 0===t?PS:t,n=AS(e,gS),i=n.data,o=n.dataKey,a=n.clockWise,c=n.id,l=n.textBreakAll,u=AS(n,mS);return i&&i.length?Q.createElement(Ra,{className:"recharts-label-list"},i.map((function(e,t){var n=To(o)?r(e,t):xO(e&&e.payload,o),i=To(c)?{}:{id:"".concat(c,"-").concat(t)};return Q.createElement(pS,xS({},Ma(e,!0),u,i,{parentViewBox:e.parentViewBox,value:n,textBreakAll:l,viewBox:pS.parseViewBox(To(a)?e:SS(SS({},e),{},{clockWise:a})),key:"label-".concat(t),index:t}))}))):null}function kS(e){return kS="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},kS(e)}function ES(){return ES=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ES.apply(this,arguments)}function CS(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function _S(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?CS(Object(r),!0).forEach((function(t){TS(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):CS(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function TS(e,t,r){return t=function(e){var t=function(e,t){if("object"!=kS(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=kS(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==kS(t)?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}MS.displayName="LabelList",MS.renderCallByParent=function(e,t){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!e||!e.children&&r&&!e.label)return null;var n=Oa(e.children,MS).map((function(e,r){return se(e,{data:t,key:"labelList-".concat(r)})}));return r?[function(e,t){return e?!0===e?Q.createElement(MS,{key:"labelList-implicit",data:t}):Q.isValidElement(e)||Rn(e)?Q.createElement(MS,{key:"labelList-implicit",data:t,content:e}):Dn(e)?Q.createElement(MS,xS({data:t},e,{key:"labelList-implicit"})):null:null}(e.label,t)].concat(bS(n)):n};var DS=function(e){var t=e.cx,r=e.cy,n=e.radius,i=e.angle,o=e.sign,a=e.isExternal,c=e.cornerRadius,l=e.cornerIsExternal,u=c*(a?1:-1)+n,s=Math.asin(c/u)/qO,f=l?i:i+o*s,p=l?i-o*s:i;return{center:XO(t,r,u,f),circleTangency:XO(t,r,n,f),lineTangency:XO(t,r,u*Math.cos(s*qO),p),theta:s}},NS=function(e){var t=e.cx,r=e.cy,n=e.innerRadius,i=e.outerRadius,o=e.startAngle,a=function(e,t){return Ko(t-e)*Math.min(Math.abs(t-e),359.999)}(o,e.endAngle),c=o+a,l=XO(t,r,i,o),u=XO(t,r,i,c),s="M ".concat(l.x,",").concat(l.y,"\n A ").concat(i,",").concat(i,",0,\n ").concat(+(Math.abs(a)>180),",").concat(+(o>c),",\n ").concat(u.x,",").concat(u.y,"\n ");if(n>0){var f=XO(t,r,n,o),p=XO(t,r,n,c);s+="L ".concat(p.x,",").concat(p.y,"\n A ").concat(n,",").concat(n,",0,\n ").concat(+(Math.abs(a)>180),",").concat(+(o<=c),",\n ").concat(f.x,",").concat(f.y," Z")}else s+="L ".concat(t,",").concat(r," Z");return s},IS={cx:0,cy:0,innerRadius:0,outerRadius:0,startAngle:0,endAngle:0,cornerRadius:0,forceCornerRadius:!1,cornerIsExternal:!1},LS=function(e){var t=_S(_S({},IS),e),r=t.cx,n=t.cy,i=t.innerRadius,o=t.outerRadius,a=t.cornerRadius,c=t.forceCornerRadius,l=t.cornerIsExternal,u=t.startAngle,s=t.endAngle,f=t.className;if(o<i||u===s)return null;var p,h=on("recharts-sector",f),d=o-i,y=ta(a,d,0,!0);return p=y>0&&Math.abs(u-s)<360?function(e){var t=e.cx,r=e.cy,n=e.innerRadius,i=e.outerRadius,o=e.cornerRadius,a=e.forceCornerRadius,c=e.cornerIsExternal,l=e.startAngle,u=e.endAngle,s=Ko(u-l),f=DS({cx:t,cy:r,radius:i,angle:l,sign:s,cornerRadius:o,cornerIsExternal:c}),p=f.circleTangency,h=f.lineTangency,d=f.theta,y=DS({cx:t,cy:r,radius:i,angle:u,sign:-s,cornerRadius:o,cornerIsExternal:c}),v=y.circleTangency,g=y.lineTangency,m=y.theta,b=c?Math.abs(l-u):Math.abs(l-u)-d-m;if(b<0)return a?"M ".concat(h.x,",").concat(h.y,"\n a").concat(o,",").concat(o,",0,0,1,").concat(2*o,",0\n a").concat(o,",").concat(o,",0,0,1,").concat(2*-o,",0\n "):NS({cx:t,cy:r,innerRadius:n,outerRadius:i,startAngle:l,endAngle:u});var w="M ".concat(h.x,",").concat(h.y,"\n A").concat(o,",").concat(o,",0,0,").concat(+(s<0),",").concat(p.x,",").concat(p.y,"\n A").concat(i,",").concat(i,",0,").concat(+(b>180),",").concat(+(s<0),",").concat(v.x,",").concat(v.y,"\n A").concat(o,",").concat(o,",0,0,").concat(+(s<0),",").concat(g.x,",").concat(g.y,"\n ");if(n>0){var x=DS({cx:t,cy:r,radius:n,angle:l,sign:s,isExternal:!0,cornerRadius:o,cornerIsExternal:c}),O=x.circleTangency,S=x.lineTangency,j=x.theta,A=DS({cx:t,cy:r,radius:n,angle:u,sign:-s,isExternal:!0,cornerRadius:o,cornerIsExternal:c}),P=A.circleTangency,M=A.lineTangency,k=A.theta,E=c?Math.abs(l-u):Math.abs(l-u)-j-k;if(E<0&&0===o)return"".concat(w,"L").concat(t,",").concat(r,"Z");w+="L".concat(M.x,",").concat(M.y,"\n A").concat(o,",").concat(o,",0,0,").concat(+(s<0),",").concat(P.x,",").concat(P.y,"\n A").concat(n,",").concat(n,",0,").concat(+(E>180),",").concat(+(s>0),",").concat(O.x,",").concat(O.y,"\n A").concat(o,",").concat(o,",0,0,").concat(+(s<0),",").concat(S.x,",").concat(S.y,"Z")}else w+="L".concat(t,",").concat(r,"Z");return w}({cx:r,cy:n,innerRadius:i,outerRadius:o,cornerRadius:Math.min(y,d/2),forceCornerRadius:c,cornerIsExternal:l,startAngle:u,endAngle:s}):NS({cx:r,cy:n,innerRadius:i,outerRadius:o,startAngle:u,endAngle:s}),Q.createElement("path",ES({},Ma(t,!0),{className:h,d:p,role:"img"}))};function BS(e){return BS="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},BS(e)}function RS(){return RS=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},RS.apply(this,arguments)}function zS(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function $S(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?zS(Object(r),!0).forEach((function(t){HS(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):zS(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function HS(e,t,r){return t=function(e){var t=function(e,t){if("object"!=BS(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=BS(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==BS(t)?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var VS,FS,US,WS,qS,YS,XS,KS,GS,ZS,JS,QS,ej={curveBasisClosed:function(e){return new nl(e)},curveBasisOpen:function(e){return new il(e)},curveBasis:function(e){return new rl(e)},curveBumpX:function(e){return new Lc(e,!0)},curveBumpY:function(e){return new Lc(e,!1)},curveLinearClosed:function(e){return new ol(e)},curveLinear:_c,curveMonotoneX:function(e){return new sl(e)},curveMonotoneY:function(e){return new fl(e)},curveNatural:function(e){return new hl(e)},curveStep:function(e){return new yl(e,.5)},curveStepAfter:function(e){return new yl(e,1)},curveStepBefore:function(e){return new yl(e,0)}},tj=function(e){return e.x===+e.x&&e.y===+e.y},rj=function(e){return e.x},nj=function(e){return e.y},ij=function(e){var t,r=e.type,n=void 0===r?"linear":r,i=e.points,o=void 0===i?[]:i,a=e.baseLine,c=e.layout,l=e.connectNulls,u=void 0!==l&&l,s=function(e,t){if(Rn(e))return e;var r="curve".concat(yc(e));return"curveMonotone"!==r&&"curveBump"!==r||!t?ej[r]||_c:ej["".concat(r).concat("vertical"===t?"Y":"X")]}(n,c),f=u?o.filter((function(e){return tj(e)})):o;if(Array.isArray(a)){var p=u?a.filter((function(e){return tj(e)})):a,h=f.map((function(e,t){return $S($S({},e),{},{base:p[t]})}));return(t="vertical"===c?Ic().y(nj).x1(rj).x0((function(e){return e.base.x})):Ic().x(rj).y1(nj).y0((function(e){return e.base.y}))).defined(tj).curve(s),t(h)}return(t="vertical"===c&&Zo(a)?Ic().y(nj).x1(rj).x0(a):Zo(a)?Ic().x(rj).y1(nj).y0(a):Nc().x(rj).y(nj)).defined(tj).curve(s),t(f)},oj=function(e){var t=e.className,r=e.points,n=e.path,i=e.pathRef;if(!(r&&r.length||n))return null;var o=r&&r.length?ij(e):n;return Q.createElement("path",RS({},Ma(e,!1),fa(e),{className:on("recharts-curve",t),d:o,ref:i}))},aj={exports:{}};function cj(){if(FS)return VS;FS=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;return VS=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach((function(e){n[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(e){return!1}}()?Object.assign:function(n,i){for(var o,a,c=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(n),l=1;l<arguments.length;l++){for(var u in o=Object(arguments[l]))t.call(o,u)&&(c[u]=o[u]);if(e){a=e(o);for(var s=0;s<a.length;s++)r.call(o,a[s])&&(c[a[s]]=o[a[s]])}}return c},VS}function lj(){if(WS)return US;WS=1;return US="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}function uj(){return YS?qS:(YS=1,qS=Function.call.bind(Object.prototype.hasOwnProperty))}if("production"!==process.env.NODE_ENV){var sj=Vo;aj.exports=function(){if(ZS)return GS;ZS=1;var e=Vo,t=cj(),r=lj(),n=uj(),i=function(){if(KS)return XS;KS=1;var e=function(){};if("production"!==process.env.NODE_ENV){var t=lj(),r={},n=uj();e=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}}function i(i,o,a,c,l){if("production"!==process.env.NODE_ENV)for(var u in i)if(n(i,u)){var s;try{if("function"!=typeof i[u]){var f=Error((c||"React class")+": "+a+" type `"+u+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof i[u]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw f.name="Invariant Violation",f}s=i[u](o,u,c,a,null,t)}catch(e){s=e}if(!s||s instanceof Error||e((c||"React class")+": type specification of "+a+" `"+u+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof s+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),s instanceof Error&&!(s.message in r)){r[s.message]=!0;var p=l?l():"";e("Failed "+a+" type: "+s.message+(null!=p?p:""))}}}return i.resetWarningCache=function(){"production"!==process.env.NODE_ENV&&(r={})},XS=i}(),o=function(){};function a(){return null}return"production"!==process.env.NODE_ENV&&(o=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}),GS=function(c,l){var u="function"==typeof Symbol&&Symbol.iterator,s="@@iterator",f="<<anonymous>>",p={array:v("array"),bigint:v("bigint"),bool:v("boolean"),func:v("function"),number:v("number"),object:v("object"),string:v("string"),symbol:v("symbol"),any:y(a),arrayOf:function(e){return y((function(t,n,i,o,a){if("function"!=typeof e)return new d("Property `"+a+"` of component `"+i+"` has invalid PropType notation inside arrayOf.");var c=t[n];if(!Array.isArray(c))return new d("Invalid "+o+" `"+a+"` of type `"+b(c)+"` supplied to `"+i+"`, expected an array.");for(var l=0;l<c.length;l++){var u=e(c,l,i,o,a+"["+l+"]",r);if(u instanceof Error)return u}return null}))},element:y((function(e,t,r,n,i){var o=e[t];return c(o)?null:new d("Invalid "+n+" `"+i+"` of type `"+b(o)+"` supplied to `"+r+"`, expected a single ReactElement.")})),elementType:y((function(t,r,n,i,o){var a=t[r];return e.isValidElementType(a)?null:new d("Invalid "+i+" `"+o+"` of type `"+b(a)+"` supplied to `"+n+"`, expected a single ReactElement type.")})),instanceOf:function(e){return y((function(t,r,n,i,o){if(!(t[r]instanceof e)){var a=e.name||f;return new d("Invalid "+i+" `"+o+"` of type `"+((c=t[r]).constructor&&c.constructor.name?c.constructor.name:f)+"` supplied to `"+n+"`, expected instance of `"+a+"`.")}var c;return null}))},node:y((function(e,t,r,n,i){return m(e[t])?null:new d("Invalid "+n+" `"+i+"` supplied to `"+r+"`, expected a ReactNode.")})),objectOf:function(e){return y((function(t,i,o,a,c){if("function"!=typeof e)return new d("Property `"+c+"` of component `"+o+"` has invalid PropType notation inside objectOf.");var l=t[i],u=b(l);if("object"!==u)return new d("Invalid "+a+" `"+c+"` of type `"+u+"` supplied to `"+o+"`, expected an object.");for(var s in l)if(n(l,s)){var f=e(l,s,o,a,c+"."+s,r);if(f instanceof Error)return f}return null}))},oneOf:function(e){return Array.isArray(e)?y((function(t,r,n,i,o){for(var a=t[r],c=0;c<e.length;c++)if(h(a,e[c]))return null;var l=JSON.stringify(e,(function(e,t){return"symbol"===w(t)?String(t):t}));return new d("Invalid "+i+" `"+o+"` of value `"+String(a)+"` supplied to `"+n+"`, expected one of "+l+".")})):("production"!==process.env.NODE_ENV&&o(arguments.length>1?"Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).":"Invalid argument supplied to oneOf, expected an array."),a)},oneOfType:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&o("Invalid argument supplied to oneOfType, expected an instance of array."),a;for(var t=0;t<e.length;t++){var i=e[t];if("function"!=typeof i)return o("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+x(i)+" at index "+t+"."),a}return y((function(t,i,o,a,c){for(var l=[],u=0;u<e.length;u++){var s=(0,e[u])(t,i,o,a,c,r);if(null==s)return null;s.data&&n(s.data,"expectedType")&&l.push(s.data.expectedType)}return new d("Invalid "+a+" `"+c+"` supplied to `"+o+"`"+(l.length>0?", expected one of type ["+l.join(", ")+"]":"")+".")}))},shape:function(e){return y((function(t,n,i,o,a){var c=t[n],l=b(c);if("object"!==l)return new d("Invalid "+o+" `"+a+"` of type `"+l+"` supplied to `"+i+"`, expected `object`.");for(var u in e){var s=e[u];if("function"!=typeof s)return g(i,o,a,u,w(s));var f=s(c,u,i,o,a+"."+u,r);if(f)return f}return null}))},exact:function(e){return y((function(i,o,a,c,l){var u=i[o],s=b(u);if("object"!==s)return new d("Invalid "+c+" `"+l+"` of type `"+s+"` supplied to `"+a+"`, expected `object`.");var f=t({},i[o],e);for(var p in f){var h=e[p];if(n(e,p)&&"function"!=typeof h)return g(a,c,l,p,w(h));if(!h)return new d("Invalid "+c+" `"+l+"` key `"+p+"` supplied to `"+a+"`.\nBad object: "+JSON.stringify(i[o],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var y=h(u,p,a,c,l+"."+p,r);if(y)return y}return null}))}};function h(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function d(e,t){this.message=e,this.data=t&&"object"==typeof t?t:{},this.stack=""}function y(e){if("production"!==process.env.NODE_ENV)var t={},n=0;function i(i,a,c,u,s,p,h){if(u=u||f,p=p||c,h!==r){if(l){var y=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw y.name="Invariant Violation",y}if("production"!==process.env.NODE_ENV&&"undefined"!=typeof console){var v=u+":"+c;!t[v]&&n<3&&(o("You are manually calling a React.PropTypes validation function for the `"+p+"` prop on `"+u+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),t[v]=!0,n++)}}return null==a[c]?i?null===a[c]?new d("The "+s+" `"+p+"` is marked as required in `"+u+"`, but its value is `null`."):new d("The "+s+" `"+p+"` is marked as required in `"+u+"`, but its value is `undefined`."):null:e(a,c,u,s,p)}var a=i.bind(null,!1);return a.isRequired=i.bind(null,!0),a}function v(e){return y((function(t,r,n,i,o,a){var c=t[r];return b(c)!==e?new d("Invalid "+i+" `"+o+"` of type `"+w(c)+"` supplied to `"+n+"`, expected `"+e+"`.",{expectedType:e}):null}))}function g(e,t,r,n,i){return new d((e||"React class")+": "+t+" type `"+r+"."+n+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+i+"`.")}function m(e){switch(typeof e){case"number":case"string":case"undefined":return!0;case"boolean":return!e;case"object":if(Array.isArray(e))return e.every(m);if(null===e||c(e))return!0;var t=function(e){var t=e&&(u&&e[u]||e[s]);if("function"==typeof t)return t}(e);if(!t)return!1;var r,n=t.call(e);if(t!==e.entries){for(;!(r=n.next()).done;)if(!m(r.value))return!1}else for(;!(r=n.next()).done;){var i=r.value;if(i&&!m(i[1]))return!1}return!0;default:return!1}}function b(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,t){return"symbol"===e||!!t&&("Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol)}(t,e)?"symbol":t}function w(e){if(null==e)return""+e;var t=b(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function x(e){var t=w(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}return d.prototype=Error.prototype,p.checkPropTypes=i,p.resetWarningCache=i.resetWarningCache,p.PropTypes=p,p},GS}()(sj.isElement,!0)}else aj.exports=function(){if(QS)return JS;QS=1;var e=lj();function t(){}function r(){}return r.resetWarningCache=t,JS=function(){function n(t,r,n,i,o,a){if(a!==e){var c=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}function i(){return n}n.isRequired=n;var o={array:n,bigint:n,bool:n,func:n,number:n,object:n,string:n,symbol:n,any:n,arrayOf:i,element:n,elementType:n,instanceOf:i,node:n,objectOf:i,oneOf:i,oneOfType:i,shape:i,exact:i,checkPropTypes:r,resetWarningCache:t};return o.PropTypes=o,o}}()();var fj=Xt(aj.exports),pj=Object.getOwnPropertyNames,hj=Object.getOwnPropertySymbols,dj=Object.prototype.hasOwnProperty;function yj(e,t){return function(r,n,i){return e(r,n,i)&&t(r,n,i)}}function vj(e){return function(t,r,n){if(!t||!r||"object"!=typeof t||"object"!=typeof r)return e(t,r,n);var i=n.cache,o=i.get(t),a=i.get(r);if(o&&a)return o===r&&a===t;i.set(t,r),i.set(r,t);var c=e(t,r,n);return i.delete(t),i.delete(r),c}}function gj(e){return pj(e).concat(hj(e))}var mj=Object.hasOwn||function(e,t){return dj.call(e,t)};function bj(e,t){return e||t?e===t:e===t||e!=e&&t!=t}var wj="_owner",xj=Object.getOwnPropertyDescriptor,Oj=Object.keys;function Sj(e,t,r){var n=e.length;if(t.length!==n)return!1;for(;n-- >0;)if(!r.equals(e[n],t[n],n,n,e,t,r))return!1;return!0}function jj(e,t){return bj(e.getTime(),t.getTime())}function Aj(e,t,r){if(e.size!==t.size)return!1;for(var n,i,o={},a=e.entries(),c=0;(n=a.next())&&!n.done;){for(var l=t.entries(),u=!1,s=0;(i=l.next())&&!i.done;){var f=n.value,p=f[0],h=f[1],d=i.value,y=d[0],v=d[1];u||o[s]||!(u=r.equals(p,y,c,s,e,t,r)&&r.equals(h,v,p,y,e,t,r))||(o[s]=!0),s++}if(!u)return!1;c++}return!0}function Pj(e,t,r){var n,i=Oj(e),o=i.length;if(Oj(t).length!==o)return!1;for(;o-- >0;){if((n=i[o])===wj&&(e.$$typeof||t.$$typeof)&&e.$$typeof!==t.$$typeof)return!1;if(!mj(t,n)||!r.equals(e[n],t[n],n,n,e,t,r))return!1}return!0}function Mj(e,t,r){var n,i,o,a=gj(e),c=a.length;if(gj(t).length!==c)return!1;for(;c-- >0;){if((n=a[c])===wj&&(e.$$typeof||t.$$typeof)&&e.$$typeof!==t.$$typeof)return!1;if(!mj(t,n))return!1;if(!r.equals(e[n],t[n],n,n,e,t,r))return!1;if(i=xj(e,n),o=xj(t,n),(i||o)&&(!i||!o||i.configurable!==o.configurable||i.enumerable!==o.enumerable||i.writable!==o.writable))return!1}return!0}function kj(e,t){return bj(e.valueOf(),t.valueOf())}function Ej(e,t){return e.source===t.source&&e.flags===t.flags}function Cj(e,t,r){if(e.size!==t.size)return!1;for(var n,i,o={},a=e.values();(n=a.next())&&!n.done;){for(var c=t.values(),l=!1,u=0;(i=c.next())&&!i.done;)l||o[u]||!(l=r.equals(n.value,i.value,n.value,i.value,e,t,r))||(o[u]=!0),u++;if(!l)return!1}return!0}function _j(e,t){var r=e.length;if(t.length!==r)return!1;for(;r-- >0;)if(e[r]!==t[r])return!1;return!0}var Tj="[object Arguments]",Dj="[object Boolean]",Nj="[object Date]",Ij="[object Map]",Lj="[object Number]",Bj="[object Object]",Rj="[object RegExp]",zj="[object Set]",$j="[object String]",Hj=Array.isArray,Vj="function"==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView:null,Fj=Object.assign,Uj=Object.prototype.toString.call.bind(Object.prototype.toString);var Wj=qj();function qj(e){void 0===e&&(e={});var t,r=e.circular,n=void 0!==r&&r,i=e.createInternalComparator,o=e.createState,a=e.strict,c=void 0!==a&&a,l=function(e){var t=e.circular,r=e.createCustomConfig,n=e.strict,i={areArraysEqual:n?Mj:Sj,areDatesEqual:jj,areMapsEqual:n?yj(Aj,Mj):Aj,areObjectsEqual:n?Mj:Pj,arePrimitiveWrappersEqual:kj,areRegExpsEqual:Ej,areSetsEqual:n?yj(Cj,Mj):Cj,areTypedArraysEqual:n?Mj:_j};if(r&&(i=Fj({},i,r(i))),t){var o=vj(i.areArraysEqual),a=vj(i.areMapsEqual),c=vj(i.areObjectsEqual),l=vj(i.areSetsEqual);i=Fj({},i,{areArraysEqual:o,areMapsEqual:a,areObjectsEqual:c,areSetsEqual:l})}return i}(e),u=function(e){var t=e.areArraysEqual,r=e.areDatesEqual,n=e.areMapsEqual,i=e.areObjectsEqual,o=e.arePrimitiveWrappersEqual,a=e.areRegExpsEqual,c=e.areSetsEqual,l=e.areTypedArraysEqual;return function(e,u,s){if(e===u)return!0;if(null==e||null==u||"object"!=typeof e||"object"!=typeof u)return e!=e&&u!=u;var f=e.constructor;if(f!==u.constructor)return!1;if(f===Object)return i(e,u,s);if(Hj(e))return t(e,u,s);if(null!=Vj&&Vj(e))return l(e,u,s);if(f===Date)return r(e,u,s);if(f===RegExp)return a(e,u,s);if(f===Map)return n(e,u,s);if(f===Set)return c(e,u,s);var p=Uj(e);return p===Nj?r(e,u,s):p===Rj?a(e,u,s):p===Ij?n(e,u,s):p===zj?c(e,u,s):p===Bj?"function"!=typeof e.then&&"function"!=typeof u.then&&i(e,u,s):p===Tj?i(e,u,s):(p===Dj||p===Lj||p===$j)&&o(e,u,s)}}(l),s=i?i(u):(t=u,function(e,r,n,i,o,a,c){return t(e,r,c)});return function(e){var t=e.circular,r=e.comparator,n=e.createState,i=e.equals,o=e.strict;if(n)return function(e,a){var c=n(),l=c.cache,u=void 0===l?t?new WeakMap:void 0:l,s=c.meta;return r(e,a,{cache:u,equals:i,meta:s,strict:o})};if(t)return function(e,t){return r(e,t,{cache:new WeakMap,equals:i,meta:void 0,strict:o})};var a={cache:void 0,equals:i,meta:void 0,strict:o};return function(e,t){return r(e,t,a)}}({circular:n,comparator:u,createState:o,equals:s,strict:c})}function Yj(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=-1;requestAnimationFrame((function n(i){r<0&&(r=i),i-r>t?(e(i),r=-1):function(e){"undefined"!=typeof requestAnimationFrame&&requestAnimationFrame(e)}(n)}))}function Xj(e){return Xj="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Xj(e)}function Kj(e){return function(e){if(Array.isArray(e))return e}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return Gj(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Gj(e,t)}(e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Gj(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Zj(){var e=function(){return null},t=!1,r=function r(n){if(!t){if(Array.isArray(n)){if(!n.length)return;var i=Kj(n),o=i[0],a=i.slice(1);return"number"==typeof o?void Yj(r.bind(null,a),o):(r(o),void Yj(r.bind(null,a)))}"object"===Xj(n)&&e(n),"function"==typeof n&&n()}};return{stop:function(){t=!0},start:function(e){t=!1,r(e)},subscribe:function(t){return e=t,function(){e=function(){return null}}}}}function Jj(e){return Jj="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Jj(e)}function Qj(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function eA(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Qj(Object(r),!0).forEach((function(t){tA(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Qj(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function tA(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==Jj(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==Jj(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===Jj(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}qj({strict:!0}),qj({circular:!0}),qj({circular:!0,strict:!0}),qj({createInternalComparator:function(){return bj}}),qj({strict:!0,createInternalComparator:function(){return bj}}),qj({circular:!0,createInternalComparator:function(){return bj}}),qj({circular:!0,createInternalComparator:function(){return bj},strict:!0});var rA=function(e){return e},nA=function(e,t){return Object.keys(t).reduce((function(r,n){return eA(eA({},r),{},tA({},n,e(n,t[n])))}),{})},iA=function(e,t,r){return e.map((function(e){return"".concat((n=e,n.replace(/([A-Z])/g,(function(e){return"-".concat(e.toLowerCase())})))," ").concat(t,"ms ").concat(r);var n})).join(",")},oA="production"!==process.env.NODE_ENV,aA=function(e,t,r,n,i,o,a,c){if(oA&&"undefined"!=typeof console&&console.warn&&(void 0===t&&console.warn("LogUtils requires an error message argument"),!e))if(void 0===t)console.warn("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[r,n,i,o,a,c],u=0;console.warn(t.replace(/%s/g,(function(){return l[u++]})))}};function cA(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,o,a,c=[],l=!0,u=!1;try{if(o=(r=r.call(e)).next,0===t);else for(;!(l=(n=o.call(r)).done)&&(c.push(n.value),c.length!==t);l=!0);}catch(e){u=!0,i=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw i}}return c}}(e,t)||uA(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function lA(e){return function(e){if(Array.isArray(e))return sA(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||uA(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function uA(e,t){if(e){if("string"==typeof e)return sA(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?sA(e,t):void 0}}function sA(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var fA=1e-4,pA=function(e,t){return[0,3*e,3*t-6*e,3*e-3*t+1]},hA=function(e,t){return e.map((function(e,r){return e*Math.pow(t,r)})).reduce((function(e,t){return e+t}))},dA=function(e,t){return function(r){var n=pA(e,t);return hA(n,r)}},yA=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=t[0],i=t[1],o=t[2],a=t[3];if(1===t.length)switch(t[0]){case"linear":n=0,i=0,o=1,a=1;break;case"ease":n=.25,i=.1,o=.25,a=1;break;case"ease-in":n=.42,i=0,o=1,a=1;break;case"ease-out":n=.42,i=0,o=.58,a=1;break;case"ease-in-out":n=0,i=0,o=.58,a=1;break;default:var c=t[0].split("(");if("cubic-bezier"===c[0]&&4===c[1].split(")")[0].split(",").length){var l=c[1].split(")")[0].split(",").map((function(e){return parseFloat(e)})),u=cA(l,4);n=u[0],i=u[1],o=u[2],a=u[3]}else aA(!1,"[configBezier]: arguments should be one of oneOf 'linear', 'ease', 'ease-in', 'ease-out', 'ease-in-out','cubic-bezier(x1,y1,x2,y2)', instead received %s",t)}aA([n,o,i,a].every((function(e){return"number"==typeof e&&e>=0&&e<=1})),"[configBezier]: arguments should be x1, y1, x2, y2 of [0, 1] instead received %s",t);var s,f,p=dA(n,o),h=dA(i,a),d=(s=n,f=o,function(e){var t=pA(s,f),r=[].concat(lA(t.map((function(e,t){return e*t})).slice(1)),[0]);return hA(r,e)}),y=function(e){for(var t,r=e>1?1:e,n=r,i=0;i<8;++i){var o=p(n)-r,a=d(n);if(Math.abs(o-r)<fA||a<fA)return h(n);n=(t=n-o/a)>1?1:t<0?0:t}return h(n)};return y.isStepper=!1,y},vA=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=t[0];if("string"==typeof n)switch(n){case"ease":case"ease-in-out":case"ease-out":case"ease-in":case"linear":return yA(n);case"spring":return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.stiff,r=void 0===t?100:t,n=e.damping,i=void 0===n?8:n,o=e.dt,a=void 0===o?17:o,c=function(e,t,n){var o=n+(-(e-t)*r-n*i)*a/1e3,c=n*a/1e3+e;return Math.abs(c-t)<fA&&Math.abs(o)<fA?[t,0]:[c,o]};return c.isStepper=!0,c.dt=a,c}();default:if("cubic-bezier"===n.split("(")[0])return yA(n);aA(!1,"[configEasing]: first argument should be one of 'ease', 'ease-in', 'ease-out', 'ease-in-out','cubic-bezier(x1,y1,x2,y2)', 'linear' and 'spring', instead received %s",t)}return"function"==typeof n?n:(aA(!1,"[configEasing]: first argument type should be function or string, instead received %s",t),null)};function gA(e){return gA="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},gA(e)}function mA(e){return function(e){if(Array.isArray(e))return jA(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||SA(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function bA(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function wA(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?bA(Object(r),!0).forEach((function(t){xA(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):bA(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function xA(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==gA(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==gA(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===gA(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function OA(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,o,a,c=[],l=!0,u=!1;try{if(o=(r=r.call(e)).next,0===t);else for(;!(l=(n=o.call(r)).done)&&(c.push(n.value),c.length!==t);l=!0);}catch(e){u=!0,i=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw i}}return c}}(e,t)||SA(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function SA(e,t){if(e){if("string"==typeof e)return jA(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?jA(e,t):void 0}}function jA(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var AA=function(e,t,r){return e+(t-e)*r},PA=function(e){return e.from!==e.to},MA=function e(t,r,n){var i=nA((function(e,r){if(PA(r)){var n=OA(t(r.from,r.to,r.velocity),2),i=n[0],o=n[1];return wA(wA({},r),{},{from:i,velocity:o})}return r}),r);return n<1?nA((function(e,t){return PA(t)?wA(wA({},t),{},{velocity:AA(t.velocity,i[e].velocity,n),from:AA(t.from,i[e].from,n)}):t}),r):e(t,i,n-1)},kA=function(e,t,r,n,i){var o,a,c,l,u=(o=e,a=t,[Object.keys(o),Object.keys(a)].reduce((function(e,t){return e.filter((function(e){return t.includes(e)}))}))),s=u.reduce((function(r,n){return wA(wA({},r),{},xA({},n,[e[n],t[n]]))}),{}),f=u.reduce((function(r,n){return wA(wA({},r),{},xA({},n,{from:e[n],velocity:0,to:t[n]}))}),{}),p=-1,h=function(){return null};return h=r.isStepper?function(n){c||(c=n);var o=(n-c)/r.dt;f=MA(r,f,o),i(wA(wA(wA({},e),t),nA((function(e,t){return t.from}),f))),c=n,Object.values(f).filter(PA).length&&(p=requestAnimationFrame(h))}:function(o){l||(l=o);var a=(o-l)/n,c=nA((function(e,t){return AA.apply(void 0,mA(t).concat([r(a)]))}),s);if(i(wA(wA(wA({},e),t),c)),a<1)p=requestAnimationFrame(h);else{var u=nA((function(e,t){return AA.apply(void 0,mA(t).concat([r(1)]))}),s);i(wA(wA(wA({},e),t),u))}},function(){return requestAnimationFrame(h),function(){cancelAnimationFrame(p)}}};function EA(e){return EA="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},EA(e)}var CA=["children","begin","duration","attributeName","easing","isActive","steps","from","to","canBegin","onAnimationEnd","shouldReAnimate","onAnimationReStart"];function _A(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function TA(e){return function(e){if(Array.isArray(e))return DA(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return DA(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return DA(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function DA(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function NA(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function IA(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?NA(Object(r),!0).forEach((function(t){LA(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):NA(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function LA(e,t,r){return(t=RA(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function BA(e,t,r){return t&&function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,RA(n.key),n)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function RA(e){var t=function(e,t){if("object"!==EA(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==EA(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===EA(t)?t:String(t)}function zA(e,t){return zA=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},zA(e,t)}function $A(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=FA(e);if(t){var i=FA(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return HA(this,r)}}function HA(e,t){if(t&&("object"===EA(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return VA(e)}function VA(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function FA(e){return FA=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},FA(e)}var UA=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&zA(e,t)}(r,re);var t=$A(r);function r(e,n){var i;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,r);var o=(i=t.call(this,e,n)).props,a=o.isActive,c=o.attributeName,l=o.from,u=o.to,s=o.steps,f=o.children,p=o.duration;if(i.handleStyleChange=i.handleStyleChange.bind(VA(i)),i.changeStyle=i.changeStyle.bind(VA(i)),!a||p<=0)return i.state={style:{}},"function"==typeof f&&(i.state={style:u}),HA(i);if(s&&s.length)i.state={style:s[0].style};else if(l){if("function"==typeof f)return i.state={style:l},HA(i);i.state={style:c?LA({},c,l):l}}else i.state={style:{}};return i}return BA(r,[{key:"componentDidMount",value:function(){var e=this.props,t=e.isActive,r=e.canBegin;this.mounted=!0,t&&r&&this.runAnimation(this.props)}},{key:"componentDidUpdate",value:function(e){var t=this.props,r=t.isActive,n=t.canBegin,i=t.attributeName,o=t.shouldReAnimate,a=t.to,c=t.from,l=this.state.style;if(n)if(r){if(!(Wj(e.to,a)&&e.canBegin&&e.isActive)){var u=!e.canBegin||!e.isActive;this.manager&&this.manager.stop(),this.stopJSAnimation&&this.stopJSAnimation();var s=u||o?c:e.to;if(this.state&&l){var f={style:i?LA({},i,s):s};(i&&l[i]!==s||!i&&l!==s)&&this.setState(f)}this.runAnimation(IA(IA({},this.props),{},{from:s,begin:0}))}}else{var p={style:i?LA({},i,a):a};this.state&&l&&(i&&l[i]!==a||!i&&l!==a)&&this.setState(p)}}},{key:"componentWillUnmount",value:function(){this.mounted=!1;var e=this.props.onAnimationEnd;this.unSubscribe&&this.unSubscribe(),this.manager&&(this.manager.stop(),this.manager=null),this.stopJSAnimation&&this.stopJSAnimation(),e&&e()}},{key:"handleStyleChange",value:function(e){this.changeStyle(e)}},{key:"changeStyle",value:function(e){this.mounted&&this.setState({style:e})}},{key:"runJSAnimation",value:function(e){var t=this,r=e.from,n=e.to,i=e.duration,o=e.easing,a=e.begin,c=e.onAnimationEnd,l=e.onAnimationStart,u=kA(r,n,vA(o),i,this.changeStyle);this.manager.start([l,a,function(){t.stopJSAnimation=u()},i,c])}},{key:"runStepAnimation",value:function(e){var t=this,r=e.steps,n=e.begin,i=e.onAnimationStart,o=r[0],a=o.style,c=o.duration,l=void 0===c?0:c;return this.manager.start([i].concat(TA(r.reduce((function(e,n,i){if(0===i)return e;var o=n.duration,a=n.easing,c=void 0===a?"ease":a,l=n.style,u=n.properties,s=n.onAnimationEnd,f=i>0?r[i-1]:n,p=u||Object.keys(l);if("function"==typeof c||"spring"===c)return[].concat(TA(e),[t.runJSAnimation.bind(t,{from:f.style,to:l,duration:o,easing:c}),o]);var h=iA(p,o,c),d=IA(IA(IA({},f.style),l),{},{transition:h});return[].concat(TA(e),[d,o,s]).filter(rA)}),[a,Math.max(l,n)])),[e.onAnimationEnd]))}},{key:"runAnimation",value:function(e){this.manager||(this.manager=Zj());var t=e.begin,r=e.duration,n=e.attributeName,i=e.to,o=e.easing,a=e.onAnimationStart,c=e.onAnimationEnd,l=e.steps,u=e.children,s=this.manager;if(this.unSubscribe=s.subscribe(this.handleStyleChange),"function"!=typeof o&&"function"!=typeof u&&"spring"!==o)if(l.length>1)this.runStepAnimation(e);else{var f=n?LA({},n,i):i,p=iA(Object.keys(f),r,o);s.start([a,t,IA(IA({},f),{},{transition:p}),r,c])}else this.runJSAnimation(e)}},{key:"render",value:function(){var e=this.props,t=e.children;e.begin;var r=e.duration;e.attributeName,e.easing;var n=e.isActive;e.steps,e.from,e.to,e.canBegin,e.onAnimationEnd,e.shouldReAnimate,e.onAnimationReStart;var i=_A(e,CA),o=te.count(t),a=this.state.style;if("function"==typeof t)return t(a);if(!n||0===o||r<=0)return t;var c=function(e){var t=e.props,r=t.style,n=void 0===r?{}:r,o=t.className;return se(e,IA(IA({},i),{},{style:IA(IA({},n),a),className:o}))};return 1===o?c(te.only(t)):Q.createElement("div",null,te.map(t,(function(e){return c(e)})))}}]),r}();function WA(e){return WA="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},WA(e)}function qA(){return qA=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},qA.apply(this,arguments)}function YA(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,o,a,c=[],l=!0,u=!1;try{if(o=(r=r.call(e)).next,0===t);else for(;!(l=(n=o.call(r)).done)&&(c.push(n.value),c.length!==t);l=!0);}catch(e){u=!0,i=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw i}}return c}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return XA(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return XA(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function XA(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function KA(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function GA(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?KA(Object(r),!0).forEach((function(t){ZA(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):KA(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function ZA(e,t,r){return t=function(e){var t=function(e,t){if("object"!=WA(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=WA(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==WA(t)?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}UA.displayName="Animate",UA.defaultProps={begin:0,duration:1e3,from:"",to:"",attributeName:"",easing:"ease",isActive:!0,canBegin:!0,steps:[],onAnimationEnd:function(){},onAnimationStart:function(){}},UA.propTypes={from:fj.oneOfType([fj.object,fj.string]),to:fj.oneOfType([fj.object,fj.string]),attributeName:fj.string,duration:fj.number,begin:fj.number,easing:fj.oneOfType([fj.string,fj.func]),steps:fj.arrayOf(fj.shape({duration:fj.number.isRequired,style:fj.object.isRequired,easing:fj.oneOfType([fj.oneOf(["ease","ease-in","ease-out","ease-in-out","linear"]),fj.func]),properties:fj.arrayOf("string"),onAnimationEnd:fj.func})),children:fj.oneOfType([fj.node,fj.func]),isActive:fj.bool,canBegin:fj.bool,onAnimationEnd:fj.func,shouldReAnimate:fj.bool,onAnimationStart:fj.func,onAnimationReStart:fj.func},fj.object,fj.object,fj.object,fj.element,fj.object,fj.object,fj.object,fj.oneOfType([fj.array,fj.element]),fj.any;var JA=function(e,t,r,n,i){var o,a=Math.min(Math.abs(r)/2,Math.abs(n)/2),c=n>=0?1:-1,l=r>=0?1:-1,u=n>=0&&r>=0||n<0&&r<0?1:0;if(a>0&&i instanceof Array){for(var s=[0,0,0,0],f=0;f<4;f++)s[f]=i[f]>a?a:i[f];o="M".concat(e,",").concat(t+c*s[0]),s[0]>0&&(o+="A ".concat(s[0],",").concat(s[0],",0,0,").concat(u,",").concat(e+l*s[0],",").concat(t)),o+="L ".concat(e+r-l*s[1],",").concat(t),s[1]>0&&(o+="A ".concat(s[1],",").concat(s[1],",0,0,").concat(u,",\n ").concat(e+r,",").concat(t+c*s[1])),o+="L ".concat(e+r,",").concat(t+n-c*s[2]),s[2]>0&&(o+="A ".concat(s[2],",").concat(s[2],",0,0,").concat(u,",\n ").concat(e+r-l*s[2],",").concat(t+n)),o+="L ".concat(e+l*s[3],",").concat(t+n),s[3]>0&&(o+="A ".concat(s[3],",").concat(s[3],",0,0,").concat(u,",\n ").concat(e,",").concat(t+n-c*s[3])),o+="Z"}else if(a>0&&i===+i&&i>0){var p=Math.min(a,i);o="M ".concat(e,",").concat(t+c*p,"\n A ").concat(p,",").concat(p,",0,0,").concat(u,",").concat(e+l*p,",").concat(t,"\n L ").concat(e+r-l*p,",").concat(t,"\n A ").concat(p,",").concat(p,",0,0,").concat(u,",").concat(e+r,",").concat(t+c*p,"\n L ").concat(e+r,",").concat(t+n-c*p,"\n A ").concat(p,",").concat(p,",0,0,").concat(u,",").concat(e+r-l*p,",").concat(t+n,"\n L ").concat(e+l*p,",").concat(t+n,"\n A ").concat(p,",").concat(p,",0,0,").concat(u,",").concat(e,",").concat(t+n-c*p," Z")}else o="M ".concat(e,",").concat(t," h ").concat(r," v ").concat(n," h ").concat(-r," Z");return o},QA=function(e,t){if(!e||!t)return!1;var r=e.x,n=e.y,i=t.x,o=t.y,a=t.width,c=t.height;if(Math.abs(a)>0&&Math.abs(c)>0){var l=Math.min(i,i+a),u=Math.max(i,i+a),s=Math.min(o,o+c),f=Math.max(o,o+c);return r>=l&&r<=u&&n>=s&&n<=f}return!1},eP={x:0,y:0,width:0,height:0,radius:0,isAnimationActive:!1,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"},tP=function(e){var t=GA(GA({},eP),e),r=ie(),n=YA(ae(-1),2),i=n[0],o=n[1];le((function(){if(r.current&&r.current.getTotalLength)try{var e=r.current.getTotalLength();e&&o(e)}catch(e){}}),[]);var a=t.x,c=t.y,l=t.width,u=t.height,s=t.radius,f=t.className,p=t.animationEasing,h=t.animationDuration,d=t.animationBegin,y=t.isAnimationActive,v=t.isUpdateAnimationActive;if(a!==+a||c!==+c||l!==+l||u!==+u||0===l||0===u)return null;var g=on("recharts-rectangle",f);return v?Q.createElement(UA,{canBegin:i>0,from:{width:l,height:u,x:a,y:c},to:{width:l,height:u,x:a,y:c},duration:h,animationEasing:p,isActive:v},(function(e){var n=e.width,o=e.height,a=e.x,c=e.y;return Q.createElement(UA,{canBegin:i>0,from:"0px ".concat(-1===i?1:i,"px"),to:"".concat(i,"px 0px"),attributeName:"strokeDasharray",begin:d,duration:h,isActive:y,easing:p},Q.createElement("path",qA({},Ma(t,!0),{className:g,d:JA(a,c,n,o,s),ref:r})))})):Q.createElement("path",qA({},Ma(t,!0),{className:g,d:JA(a,c,l,u,s)}))};function rP(){return rP=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},rP.apply(this,arguments)}var nP=function(e){var t=e.cx,r=e.cy,n=e.r,i=on("recharts-dot",e.className);return t===+t&&r===+r&&n===+n?Q.createElement("circle",rP({},Ma(e,!1),fa(e),{className:i,cx:t,cy:r,r:n})):null};function iP(e){return iP="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},iP(e)}var oP=["x","y","top","left","width","height","className"];function aP(){return aP=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},aP.apply(this,arguments)}function cP(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function lP(e,t,r){return t=function(e){var t=function(e,t){if("object"!=iP(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=iP(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==iP(t)?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function uP(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}var sP=function(e,t,r,n,i,o){return"M".concat(e,",").concat(i,"v").concat(n,"M").concat(o,",").concat(t,"h").concat(r)},fP=function(e){var t=e.x,r=void 0===t?0:t,n=e.y,i=void 0===n?0:n,o=e.top,a=void 0===o?0:o,c=e.left,l=void 0===c?0:c,u=e.width,s=void 0===u?0:u,f=e.height,p=void 0===f?0:f,h=e.className,d=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?cP(Object(r),!0).forEach((function(t){lP(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):cP(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({x:r,y:i,top:a,left:l,width:s,height:p},uP(e,oP));return Zo(r)&&Zo(i)&&Zo(s)&&Zo(p)&&Zo(a)&&Zo(l)?Q.createElement("path",aP({},Ma(d,!0),{className:on("recharts-cross",h),d:sP(r,i,s,p,a,l)})):null},pP=ys(Object.getPrototypeOf,Object),hP=On,dP=pP,yP=Sn,vP=Function.prototype,gP=Object.prototype,mP=vP.toString,bP=gP.hasOwnProperty,wP=mP.call(Object);var xP=Xt((function(e){if(!yP(e)||"[object Object]"!=hP(e))return!1;var t=dP(e);if(null===t)return!0;var r=bP.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&mP.call(r)==wP})),OP=On,SP=Sn;var jP=Xt((function(e){return!0===e||!1===e||SP(e)&&"[object Boolean]"==OP(e)}));function AP(e){return AP="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},AP(e)}function PP(){return PP=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},PP.apply(this,arguments)}function MP(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,o,a,c=[],l=!0,u=!1;try{if(o=(r=r.call(e)).next,0===t);else for(;!(l=(n=o.call(r)).done)&&(c.push(n.value),c.length!==t);l=!0);}catch(e){u=!0,i=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw i}}return c}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return kP(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return kP(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function kP(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function EP(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function CP(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?EP(Object(r),!0).forEach((function(t){_P(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):EP(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function _P(e,t,r){return t=function(e){var t=function(e,t){if("object"!=AP(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=AP(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==AP(t)?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var TP=function(e,t,r,n,i){var o,a=r-n;return o="M ".concat(e,",").concat(t),o+="L ".concat(e+r,",").concat(t),o+="L ".concat(e+r-a/2,",").concat(t+i),o+="L ".concat(e+r-a/2-n,",").concat(t+i),o+="L ".concat(e,",").concat(t," Z")},DP={x:0,y:0,upperWidth:0,lowerWidth:0,height:0,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"},NP=function(e){var t=CP(CP({},DP),e),r=ie(),n=MP(ae(-1),2),i=n[0],o=n[1];le((function(){if(r.current&&r.current.getTotalLength)try{var e=r.current.getTotalLength();e&&o(e)}catch(e){}}),[]);var a=t.x,c=t.y,l=t.upperWidth,u=t.lowerWidth,s=t.height,f=t.className,p=t.animationEasing,h=t.animationDuration,d=t.animationBegin,y=t.isUpdateAnimationActive;if(a!==+a||c!==+c||l!==+l||u!==+u||s!==+s||0===l&&0===u||0===s)return null;var v=on("recharts-trapezoid",f);return y?Q.createElement(UA,{canBegin:i>0,from:{upperWidth:0,lowerWidth:0,height:s,x:a,y:c},to:{upperWidth:l,lowerWidth:u,height:s,x:a,y:c},duration:h,animationEasing:p,isActive:y},(function(e){var n=e.upperWidth,o=e.lowerWidth,a=e.height,c=e.x,l=e.y;return Q.createElement(UA,{canBegin:i>0,from:"0px ".concat(-1===i?1:i,"px"),to:"".concat(i,"px 0px"),attributeName:"strokeDasharray",begin:d,duration:h,easing:p},Q.createElement("path",PP({},Ma(t,!0),{className:v,d:TP(c,l,n,o,a),ref:r})))})):Q.createElement("g",null,Q.createElement("path",PP({},Ma(t,!0),{className:v,d:TP(a,c,l,u,s)})))},IP=["option","shapeType","propTransformer","activeClassName","isActive"];function LP(e){return LP="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},LP(e)}function BP(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function RP(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function zP(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?RP(Object(r),!0).forEach((function(t){$P(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):RP(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function $P(e,t,r){return t=function(e){var t=function(e,t){if("object"!=LP(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=LP(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==LP(t)?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function HP(e,t){return zP(zP({},t),e)}function VP(e){var t=e.shapeType,r=e.elementProps;switch(t){case"rectangle":return Q.createElement(tP,r);case"trapezoid":return Q.createElement(NP,r);case"sector":return Q.createElement(LS,r);case"symbols":if(function(e,t){return"symbols"===e}(t))return Q.createElement(El,r);break;default:return null}}function FP(e){var t,r=e.option,n=e.shapeType,i=e.propTransformer,o=void 0===i?HP:i,a=e.activeClassName,c=void 0===a?"recharts-active-shape":a,l=e.isActive,u=BP(e,IP);if(ee(r))t=se(r,zP(zP({},u),function(e){return ee(e)?e.props:e}(r)));else if(Rn(r))t=r(u);else if(xP(r)&&!jP(r)){var s=o(r,u);t=Q.createElement(VP,{shapeType:n,elementProps:s})}else{var f=u;t=Q.createElement(VP,{shapeType:n,elementProps:f})}return l?Q.createElement(Ra,{className:c},t):t}function UP(e,t){return null!=t&&"trapezoids"in e.props}function WP(e,t){return null!=t&&"sectors"in e.props}function qP(e,t){return null!=t&&"points"in e.props}function YP(e,t){var r,n,i=e.x===(null==t||null===(r=t.labelViewBox)||void 0===r?void 0:r.x)||e.x===t.x,o=e.y===(null==t||null===(n=t.labelViewBox)||void 0===n?void 0:n.y)||e.y===t.y;return i&&o}function XP(e,t){var r=e.endAngle===t.endAngle,n=e.startAngle===t.startAngle;return r&&n}function KP(e,t){var r=e.x===t.x,n=e.y===t.y,i=e.z===t.z;return r&&n&&i}function GP(e){var t=e.activeTooltipItem,r=e.graphicalItem,n=e.itemData,i=function(e,t){var r;return UP(e,t)?r="trapezoids":WP(e,t)?r="sectors":qP(e,t)&&(r="points"),r}(r,t),o=function(e,t){var r,n;return UP(e,t)?null===(r=t.tooltipPayload)||void 0===r||null===(r=r[0])||void 0===r||null===(r=r.payload)||void 0===r?void 0:r.payload:WP(e,t)?null===(n=t.tooltipPayload)||void 0===n||null===(n=n[0])||void 0===n||null===(n=n.payload)||void 0===n?void 0:n.payload:qP(e,t)?t.payload:{}}(r,t),a=n.filter((function(e,n){var a=Jw(o,e),c=r.props[i].filter((function(e){var n=function(e,t){var r;return UP(e,t)?r=YP:WP(e,t)?r=XP:qP(e,t)&&(r=KP),r}(r,t);return n(e,t)})),l=r.props[i].indexOf(c[c.length-1]);return a&&n===l}));return n.indexOf(a[a.length-1])}var ZP=Math.ceil,JP=Math.max;var QP=Xd,eM=1/0;var tM=function(e,t,r,n){for(var i=-1,o=JP(ZP((t-e)/(r||1)),0),a=Array(o);o--;)a[n?o:++i]=e,e+=r;return a},rM=Uh,nM=function(e){return e?(e=QP(e))===eM||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0};var iM=Xt(function(e){return function(t,r,n){return n&&"number"!=typeof n&&rM(t,r,n)&&(r=n=void 0),t=nM(t),void 0===r?(r=t,t=0):r=nM(r),n=void 0===n?t<r?1:-1:nM(n),tM(t,r,n,e)}}());function oM(e){return oM="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},oM(e)}function aM(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function cM(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?aM(Object(r),!0).forEach((function(t){lM(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):aM(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function lM(e,t,r){return t=function(e){var t=function(e,t){if("object"!=oM(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=oM(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==oM(t)?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var uM=["Webkit","Moz","O","ms"];function sM(e){return sM="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},sM(e)}function fM(){return fM=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},fM.apply(this,arguments)}function pM(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function hM(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?pM(Object(r),!0).forEach((function(t){wM(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):pM(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function dM(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,xM(n.key),n)}}function yM(e,t,r){return t=gM(t),function(e,t){if(t&&("object"===sM(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return mM(e)}(e,vM()?Reflect.construct(t,r||[],gM(e).constructor):t.apply(e,r))}function vM(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(vM=function(){return!!e})()}function gM(e){return gM=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},gM(e)}function mM(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bM(e,t){return bM=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},bM(e,t)}function wM(e,t,r){return(t=xM(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xM(e){var t=function(e,t){if("object"!=sM(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=sM(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==sM(t)?t:String(t)}var OM=function(e){return e.changedTouches&&!!e.changedTouches.length},SM=function(e){function t(e){var r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),wM(mM(r=yM(this,t,[e])),"handleDrag",(function(e){r.leaveTimer&&(clearTimeout(r.leaveTimer),r.leaveTimer=null),r.state.isTravellerMoving?r.handleTravellerMove(e):r.state.isSlideMoving&&r.handleSlideDrag(e)})),wM(mM(r),"handleTouchMove",(function(e){null!=e.changedTouches&&e.changedTouches.length>0&&r.handleDrag(e.changedTouches[0])})),wM(mM(r),"handleDragEnd",(function(){r.setState({isTravellerMoving:!1,isSlideMoving:!1},(function(){var e=r.props,t=e.endIndex,n=e.onDragEnd,i=e.startIndex;null==n||n({endIndex:t,startIndex:i})})),r.detachDragEndListener()})),wM(mM(r),"handleLeaveWrapper",(function(){(r.state.isTravellerMoving||r.state.isSlideMoving)&&(r.leaveTimer=window.setTimeout(r.handleDragEnd,r.props.leaveTimeOut))})),wM(mM(r),"handleEnterSlideOrTraveller",(function(){r.setState({isTextActive:!0})})),wM(mM(r),"handleLeaveSlideOrTraveller",(function(){r.setState({isTextActive:!1})})),wM(mM(r),"handleSlideDragStart",(function(e){var t=OM(e)?e.changedTouches[0]:e;r.setState({isTravellerMoving:!1,isSlideMoving:!0,slideMoveStartX:t.pageX}),r.attachDragEndListener()})),r.travellerDragStartHandlers={startX:r.handleTravellerDragStart.bind(mM(r),"startX"),endX:r.handleTravellerDragStart.bind(mM(r),"endX")},r.state={},r}var r,n,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&bM(e,t)}(t,re),r=t,n=[{key:"componentWillUnmount",value:function(){this.leaveTimer&&(clearTimeout(this.leaveTimer),this.leaveTimer=null),this.detachDragEndListener()}},{key:"getIndex",value:function(e){var r=e.startX,n=e.endX,i=this.state.scaleValues,o=this.props,a=o.gap,c=o.data.length-1,l=Math.min(r,n),u=Math.max(r,n),s=t.getIndexInRange(i,l),f=t.getIndexInRange(i,u);return{startIndex:s-s%a,endIndex:f===c?c:f-f%a}}},{key:"getTextOfTick",value:function(e){var t=this.props,r=t.data,n=t.tickFormatter,i=t.dataKey,o=xO(r[e],i,e);return Rn(n)?n(o,e):o}},{key:"attachDragEndListener",value:function(){window.addEventListener("mouseup",this.handleDragEnd,!0),window.addEventListener("touchend",this.handleDragEnd,!0),window.addEventListener("mousemove",this.handleDrag,!0)}},{key:"detachDragEndListener",value:function(){window.removeEventListener("mouseup",this.handleDragEnd,!0),window.removeEventListener("touchend",this.handleDragEnd,!0),window.removeEventListener("mousemove",this.handleDrag,!0)}},{key:"handleSlideDrag",value:function(e){var t=this.state,r=t.slideMoveStartX,n=t.startX,i=t.endX,o=this.props,a=o.x,c=o.width,l=o.travellerWidth,u=o.startIndex,s=o.endIndex,f=o.onChange,p=e.pageX-r;p>0?p=Math.min(p,a+c-l-i,a+c-l-n):p<0&&(p=Math.max(p,a-n,a-i));var h=this.getIndex({startX:n+p,endX:i+p});h.startIndex===u&&h.endIndex===s||!f||f(h),this.setState({startX:n+p,endX:i+p,slideMoveStartX:e.pageX})}},{key:"handleTravellerDragStart",value:function(e,t){var r=OM(t)?t.changedTouches[0]:t;this.setState({isSlideMoving:!1,isTravellerMoving:!0,movingTravellerId:e,brushMoveStartX:r.pageX}),this.attachDragEndListener()}},{key:"handleTravellerMove",value:function(e){var t=this.state,r=t.brushMoveStartX,n=t.movingTravellerId,i=t.endX,o=t.startX,a=this.state[n],c=this.props,l=c.x,u=c.width,s=c.travellerWidth,f=c.onChange,p=c.gap,h=c.data,d={startX:this.state.startX,endX:this.state.endX},y=e.pageX-r;y>0?y=Math.min(y,l+u-s-a):y<0&&(y=Math.max(y,l-a)),d[n]=a+y;var v=this.getIndex(d),g=v.startIndex,m=v.endIndex;this.setState(wM(wM({},n,a+y),"brushMoveStartX",e.pageX),(function(){var e;f&&(e=h.length-1,("startX"===n&&(i>o?g%p==0:m%p==0)||i<o&&m===e||"endX"===n&&(i>o?m%p==0:g%p==0)||i>o&&m===e)&&f(v))}))}},{key:"handleTravellerMoveKeyboard",value:function(e,t){var r=this,n=this.state,i=n.scaleValues,o=n.startX,a=n.endX,c=this.state[t],l=i.indexOf(c);if(-1!==l){var u=l+e;if(!(-1===u||u>=i.length)){var s=i[u];"startX"===t&&s>=a||"endX"===t&&s<=o||this.setState(wM({},t,s),(function(){r.props.onChange(r.getIndex({startX:r.state.startX,endX:r.state.endX}))}))}}}},{key:"renderBackground",value:function(){var e=this.props,t=e.x,r=e.y,n=e.width,i=e.height,o=e.fill,a=e.stroke;return Q.createElement("rect",{stroke:a,fill:o,x:t,y:r,width:n,height:i})}},{key:"renderPanorama",value:function(){var e=this.props,t=e.x,r=e.y,n=e.width,i=e.height,o=e.data,a=e.children,c=e.padding,l=te.only(a);return l?Q.cloneElement(l,{x:t,y:r,width:n,height:i,margin:c,compact:!0,data:o}):null}},{key:"renderTravellerLayer",value:function(e,r){var n,i,o=this,a=this.props,c=a.y,l=a.travellerWidth,u=a.height,s=a.traveller,f=a.ariaLabel,p=a.data,h=a.startIndex,d=a.endIndex,y=Math.max(e,this.props.x),v=hM(hM({},Ma(this.props,!1)),{},{x:y,y:c,width:l,height:u}),g=f||"Min value: ".concat(null===(n=p[h])||void 0===n?void 0:n.name,", Max value: ").concat(null===(i=p[d])||void 0===i?void 0:i.name);return Q.createElement(Ra,{tabIndex:0,role:"slider","aria-label":g,"aria-valuenow":e,className:"recharts-brush-traveller",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.travellerDragStartHandlers[r],onTouchStart:this.travellerDragStartHandlers[r],onKeyDown:function(e){["ArrowLeft","ArrowRight"].includes(e.key)&&(e.preventDefault(),e.stopPropagation(),o.handleTravellerMoveKeyboard("ArrowRight"===e.key?1:-1,r))},onFocus:function(){o.setState({isTravellerFocused:!0})},onBlur:function(){o.setState({isTravellerFocused:!1})},style:{cursor:"col-resize"}},t.renderTraveller(s,v))}},{key:"renderSlide",value:function(e,t){var r=this.props,n=r.y,i=r.height,o=r.stroke,a=r.travellerWidth,c=Math.min(e,t)+a,l=Math.max(Math.abs(t-e)-a,0);return Q.createElement("rect",{className:"recharts-brush-slide",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.handleSlideDragStart,onTouchStart:this.handleSlideDragStart,style:{cursor:"move"},stroke:"none",fill:o,fillOpacity:.2,x:c,y:n,width:l,height:i})}},{key:"renderText",value:function(){var e=this.props,t=e.startIndex,r=e.endIndex,n=e.y,i=e.height,o=e.travellerWidth,a=e.stroke,c=this.state,l=c.startX,u=c.endX,s={pointerEvents:"none",fill:a};return Q.createElement(Ra,{className:"recharts-brush-texts"},Q.createElement(Xy,fM({textAnchor:"end",verticalAnchor:"middle",x:Math.min(l,u)-5,y:n+i/2},s),this.getTextOfTick(t)),Q.createElement(Xy,fM({textAnchor:"start",verticalAnchor:"middle",x:Math.max(l,u)+o+5,y:n+i/2},s),this.getTextOfTick(r)))}},{key:"render",value:function(){var e=this.props,t=e.data,r=e.className,n=e.children,i=e.x,o=e.y,a=e.width,c=e.height,l=e.alwaysShowText,u=this.state,s=u.startX,f=u.endX,p=u.isTextActive,h=u.isSlideMoving,d=u.isTravellerMoving,y=u.isTravellerFocused;if(!t||!t.length||!Zo(i)||!Zo(o)||!Zo(a)||!Zo(c)||a<=0||c<=0)return null;var v,g,m,b,w=on("recharts-brush",r),x=1===Q.Children.count(n),O=(g="none",m=(v="userSelect").replace(/(\w)/,(function(e){return e.toUpperCase()})),(b=uM.reduce((function(e,t){return cM(cM({},e),{},lM({},t+m,g))}),{}))[v]=g,b);return Q.createElement(Ra,{className:w,onMouseLeave:this.handleLeaveWrapper,onTouchMove:this.handleTouchMove,style:O},this.renderBackground(),x&&this.renderPanorama(),this.renderSlide(s,f),this.renderTravellerLayer(s,"startX"),this.renderTravellerLayer(f,"endX"),(p||h||d||y||l)&&this.renderText())}}],i=[{key:"renderDefaultTraveller",value:function(e){var t=e.x,r=e.y,n=e.width,i=e.height,o=e.stroke,a=Math.floor(r+i/2)-1;return Q.createElement(Q.Fragment,null,Q.createElement("rect",{x:t,y:r,width:n,height:i,fill:o,stroke:"none"}),Q.createElement("line",{x1:t+1,y1:a,x2:t+n-1,y2:a,fill:"none",stroke:"#fff"}),Q.createElement("line",{x1:t+1,y1:a+2,x2:t+n-1,y2:a+2,fill:"none",stroke:"#fff"}))}},{key:"renderTraveller",value:function(e,r){return Q.isValidElement(e)?Q.cloneElement(e,r):Rn(e)?e(r):t.renderDefaultTraveller(r)}},{key:"getDerivedStateFromProps",value:function(e,t){var r=e.data,n=e.width,i=e.x,o=e.travellerWidth,a=e.updateId,c=e.startIndex,l=e.endIndex;if(r!==t.prevData||a!==t.prevUpdateId)return hM({prevData:r,prevTravellerWidth:o,prevUpdateId:a,prevX:i,prevWidth:n},r&&r.length?function(e){var t=e.data,r=e.startIndex,n=e.endIndex,i=e.x,o=e.width,a=e.travellerWidth;if(!t||!t.length)return{};var c=t.length,l=Sv().domain(iM(0,c)).range([i,i+o-a]),u=l.domain().map((function(e){return l(e)}));return{isTextActive:!1,isSlideMoving:!1,isTravellerMoving:!1,isTravellerFocused:!1,startX:l(r),endX:l(n),scale:l,scaleValues:u}}({data:r,width:n,x:i,travellerWidth:o,startIndex:c,endIndex:l}):{scale:null,scaleValues:null});if(t.scale&&(n!==t.prevWidth||i!==t.prevX||o!==t.prevTravellerWidth)){t.scale.range([i,i+n-o]);var u=t.scale.domain().map((function(e){return t.scale(e)}));return{prevData:r,prevTravellerWidth:o,prevUpdateId:a,prevX:i,prevWidth:n,startX:t.scale(e.startIndex),endX:t.scale(e.endIndex),scaleValues:u}}return null}},{key:"getIndexInRange",value:function(e,t){for(var r=0,n=e.length-1;n-r>1;){var i=Math.floor((r+n)/2);e[i]>t?n=i:r=i}return t>=e[n]?n:r}}],n&&dM(r.prototype,n),i&&dM(r,i),Object.defineProperty(r,"prototype",{writable:!1}),t}();wM(SM,"displayName","Brush"),wM(SM,"defaultProps",{height:40,travellerWidth:5,gap:1,fill:"#fff",stroke:"#666",padding:{top:1,right:1,bottom:1,left:1},leaveTimeOut:1e3,alwaysShowText:!1});var jM=ch;var AM=ou,PM=sp,MM=function(e,t){var r;return jM(e,(function(e,n,i){return!(r=t(e,n,i))})),!!r},kM=an,EM=Uh;var CM=Xt((function(e,t,r){var n=kM(e)?AM:MM;return r&&EM(e,t,r)&&(t=void 0),n(e,PM(t))})),_M=function(e,t){var r=e.alwaysShow,n=e.ifOverflow;return r&&(n="extendDomain"),n===t},TM=Ch;var DM=function(e,t,r){"__proto__"==t&&TM?TM(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r},NM=DM,IM=oh,LM=sp;var BM=function(e,t){var r={};return t=LM(t),IM(e,(function(e,n,i){NM(r,n,t(e,n,i))})),r},RM=Xt(BM);var zM=function(e,t){for(var r=-1,n=null==e?0:e.length;++r<n;)if(!t(e[r],r,e))return!1;return!0},$M=ch;var HM=zM,VM=function(e,t){var r=!0;return $M(e,(function(e,n,i){return r=!!t(e,n,i)})),r},FM=sp,UM=an,WM=Uh;var qM=Xt((function(e,t,r){var n=UM(e)?HM:VM;return r&&WM(e,t,r)&&(t=void 0),n(e,FM(t))})),YM=["x","y"];function XM(e){return XM="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},XM(e)}function KM(){return KM=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},KM.apply(this,arguments)}function GM(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ZM(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?GM(Object(r),!0).forEach((function(t){JM(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):GM(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function JM(e,t,r){return t=function(e){var t=function(e,t){if("object"!=XM(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=XM(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==XM(t)?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function QM(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function ek(e,t){var r=e.x,n=e.y,i=QM(e,YM),o="".concat(r),a=parseInt(o,10),c="".concat(n),l=parseInt(c,10),u="".concat(t.height||i.height),s=parseInt(u,10),f="".concat(t.width||i.width),p=parseInt(f,10);return ZM(ZM(ZM(ZM(ZM({},t),i),a?{x:a}:{}),l?{y:l}:{}),{},{height:s,width:p,name:t.name,radius:t.radius})}function tk(e){return Q.createElement(FP,KM({shapeType:"rectangle",propTransformer:ek,activeClassName:"recharts-active-bar"},e))}var rk,nk=["value","background"];function ik(e){return ik="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ik(e)}function ok(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function ak(){return ak=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ak.apply(this,arguments)}function ck(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function lk(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ck(Object(r),!0).forEach((function(t){yk(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ck(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function uk(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,vk(n.key),n)}}function sk(e,t,r){return t=pk(t),function(e,t){if(t&&("object"===ik(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return hk(e)}(e,fk()?Reflect.construct(t,r||[],pk(e).constructor):t.apply(e,r))}function fk(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(fk=function(){return!!e})()}function pk(e){return pk=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},pk(e)}function hk(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dk(e,t){return dk=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},dk(e,t)}function yk(e,t,r){return(t=vk(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function vk(e){var t=function(e,t){if("object"!=ik(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=ik(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==ik(t)?t:String(t)}var gk=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return yk(hk(e=sk(this,t,[].concat(n))),"state",{isAnimationFinished:!1}),yk(hk(e),"id",ea("recharts-bar-")),yk(hk(e),"handleAnimationEnd",(function(){var t=e.props.onAnimationEnd;e.setState({isAnimationFinished:!0}),t&&t()})),yk(hk(e),"handleAnimationStart",(function(){var t=e.props.onAnimationStart;e.setState({isAnimationFinished:!1}),t&&t()})),e}var r,n,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&dk(e,t)}(t,re),r=t,n=[{key:"renderRectanglesStatically",value:function(e){var t=this,r=this.props,n=r.shape,i=r.dataKey,o=r.activeIndex,a=r.activeBar,c=Ma(this.props,!1);return e&&e.map((function(e,r){var l=r===o,u=l?a:n,s=lk(lk(lk({},c),e),{},{isActive:l,option:u,index:r,dataKey:i,onAnimationStart:t.handleAnimationStart,onAnimationEnd:t.handleAnimationEnd});return Q.createElement(Ra,ak({className:"recharts-bar-rectangle"},pa(t.props,e,r),{key:"rectangle-".concat(null==e?void 0:e.x,"-").concat(null==e?void 0:e.y,"-").concat(null==e?void 0:e.value)}),Q.createElement(tk,s))}))}},{key:"renderRectanglesWithAnimation",value:function(){var e=this,t=this.props,r=t.data,n=t.layout,i=t.isAnimationActive,o=t.animationBegin,a=t.animationDuration,c=t.animationEasing,l=t.animationId,u=this.state.prevData;return Q.createElement(UA,{begin:o,duration:a,isActive:i,easing:c,from:{t:0},to:{t:1},key:"bar-".concat(l),onAnimationEnd:this.handleAnimationEnd,onAnimationStart:this.handleAnimationStart},(function(t){var i=t.t,o=r.map((function(e,t){var r=u&&u[t];if(r){var o=na(r.x,e.x),a=na(r.y,e.y),c=na(r.width,e.width),l=na(r.height,e.height);return lk(lk({},e),{},{x:o(i),y:a(i),width:c(i),height:l(i)})}if("horizontal"===n){var s=na(0,e.height)(i);return lk(lk({},e),{},{y:e.y+e.height-s,height:s})}var f=na(0,e.width)(i);return lk(lk({},e),{},{width:f})}));return Q.createElement(Ra,null,e.renderRectanglesStatically(o))}))}},{key:"renderRectangles",value:function(){var e=this.props,t=e.data,r=e.isAnimationActive,n=this.state.prevData;return!(r&&t&&t.length)||n&&Jw(n,t)?this.renderRectanglesStatically(t):this.renderRectanglesWithAnimation()}},{key:"renderBackground",value:function(){var e=this,t=this.props,r=t.data,n=t.dataKey,i=t.activeIndex,o=Ma(this.props.background,!1);return r.map((function(t,r){t.value;var a=t.background,c=ok(t,nk);if(!a)return null;var l=lk(lk(lk(lk(lk({},c),{},{fill:"#eee"},a),o),pa(e.props,t,r)),{},{onAnimationStart:e.handleAnimationStart,onAnimationEnd:e.handleAnimationEnd,dataKey:n,index:r,key:"background-bar-".concat(r),className:"recharts-bar-background-rectangle"});return Q.createElement(tk,ak({option:e.props.background,isActive:r===i},l))}))}},{key:"renderErrorBar",value:function(e,t){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var r=this.props,n=r.data,i=r.xAxis,o=r.yAxis,a=r.layout,c=Oa(r.children,uO);if(!c)return null;var l="vertical"===a?n[0].height/2:n[0].width/2,u=function(e,t){var r=Array.isArray(e.value)?e.value[1]:e.value;return{x:e.x,y:e.y,value:r,errorVal:xO(e,t)}},s={clipPath:e?"url(#clipPath-".concat(t,")"):null};return Q.createElement(Ra,s,c.map((function(e){return Q.cloneElement(e,{key:"error-bar-".concat(t,"-").concat(e.props.dataKey),data:n,xAxis:i,yAxis:o,layout:a,offset:l,dataPointFormatter:u})})))}},{key:"render",value:function(){var e=this.props,t=e.hide,r=e.data,n=e.className,i=e.xAxis,o=e.yAxis,a=e.left,c=e.top,l=e.width,u=e.height,s=e.isAnimationActive,f=e.background,p=e.id;if(t||!r||!r.length)return null;var h=this.state.isAnimationFinished,d=on("recharts-bar",n),y=i&&i.allowDataOverflow,v=o&&o.allowDataOverflow,g=y||v,m=To(p)?this.id:p;return Q.createElement(Ra,{className:d},y||v?Q.createElement("defs",null,Q.createElement("clipPath",{id:"clipPath-".concat(m)},Q.createElement("rect",{x:y?a:a-l/2,y:v?c:c-u/2,width:y?l:2*l,height:v?u:2*u}))):null,Q.createElement(Ra,{className:"recharts-bar-rectangles",clipPath:g?"url(#clipPath-".concat(m,")"):null},f?this.renderBackground():null,this.renderRectangles()),this.renderErrorBar(g,m),(!s||h)&&MS.renderCallByParent(this.props,r))}}],i=[{key:"getDerivedStateFromProps",value:function(e,t){return e.animationId!==t.prevAnimationId?{prevAnimationId:e.animationId,curData:e.data,prevData:t.curData}:e.data!==t.curData?{curData:e.data}:null}}],n&&uk(r.prototype,n),i&&uk(r,i),Object.defineProperty(r,"prototype",{writable:!1}),t}();function mk(e){return mk="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},mk(e)}function bk(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,Sk(n.key),n)}}function wk(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function xk(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?wk(Object(r),!0).forEach((function(t){Ok(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):wk(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Ok(e,t,r){return(t=Sk(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Sk(e){var t=function(e,t){if("object"!=mk(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=mk(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==mk(t)?t:String(t)}rk=gk,yk(gk,"displayName","Bar"),yk(gk,"defaultProps",{xAxisId:0,yAxisId:0,legendType:"rect",minPointSize:0,hide:!1,data:[],layout:"vertical",activeBar:!1,isAnimationActive:!Od.isSsr,animationBegin:0,animationDuration:400,animationEasing:"ease"}),yk(gk,"getComposedData",(function(e){var t=e.props,r=e.item,n=e.barPosition,i=e.bandSize,o=e.xAxis,a=e.yAxis,c=e.xAxisTicks,l=e.yAxisTicks,u=e.stackedData,s=e.dataStartIndex,f=e.displayedData,p=e.offset,h=function(e,t){if(!e)return null;for(var r=0,n=e.length;r<n;r++)if(e[r].item===t)return e[r].position;return null}(n,r);if(!h)return null;var d=t.layout,y=r.props,v=y.dataKey,g=y.children,m=y.minPointSize,b="horizontal"===d?a:o,w=u?b.scale.domain():null,x=function(e){var t=e.numericAxis,r=t.scale.domain();if("number"===t.type){var n=Math.min(r[0],r[1]),i=Math.max(r[0],r[1]);return n<=0&&i>=0?0:i<0?i:n}return r[0]}({numericAxis:b}),O=Oa(g,fy),S=f.map((function(e,t){var n,f,p,y,g,b;u?n=function(e,t){if(!t||2!==t.length||!Zo(t[0])||!Zo(t[1]))return e;var r=Math.min(t[0],t[1]),n=Math.max(t[0],t[1]),i=[e[0],e[1]];return(!Zo(e[0])||e[0]<r)&&(i[0]=r),(!Zo(e[1])||e[1]>n)&&(i[1]=n),i[0]>n&&(i[0]=n),i[1]<r&&(i[1]=r),i}(u[s+t],w):(n=xO(e,v),Array.isArray(n)||(n=[x,n]));var S=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return function(r,n){if("number"==typeof e)return e;var i="number"==typeof r;return i?e(r,n):(i||("production"!==process.env.NODE_ENV?nO(0,"minPointSize callback function received a value with type of ".concat(XM(r),". Currently only numbers are supported.")):nO()),t)}}(m,rk.defaultProps.minPointSize)(n[1],t);if("horizontal"===d){var j,A=[a.scale(n[0]),a.scale(n[1])],P=A[0],M=A[1];f=NO({axis:o,ticks:c,bandSize:i,offset:h.offset,entry:e,index:t}),p=null!==(j=null!=M?M:P)&&void 0!==j?j:void 0,y=h.size;var k=P-M;if(g=Number.isNaN(k)?0:k,b={x:f,y:a.y,width:y,height:a.height},Math.abs(S)>0&&Math.abs(g)<Math.abs(S)){var E=Ko(g||S)*(Math.abs(S)-Math.abs(g));p-=E,g+=E}}else{var C=[o.scale(n[0]),o.scale(n[1])],_=C[0],T=C[1];if(f=_,p=NO({axis:a,ticks:l,bandSize:i,offset:h.offset,entry:e,index:t}),y=T-_,g=h.size,b={x:o.x,y:p,width:o.width,height:g},Math.abs(S)>0&&Math.abs(y)<Math.abs(S))y+=Ko(y||S)*(Math.abs(S)-Math.abs(y))}return lk(lk(lk({},e),{},{x:f,y:p,width:y,height:g,value:u?n:n[1],payload:e,background:b},O&&O[t]&&O[t].props),{},{tooltipPayload:[HO(r,e)],tooltipPosition:{x:f+y/2,y:p+g/2}})}));return lk({data:S,layout:d},p)}));var jk=function(e,t,r,n,i){var o=e.width,a=e.height,c=e.layout,l=e.children,u=Object.keys(t),s={left:r.left,leftMirror:r.left,right:o-r.right,rightMirror:o-r.right,top:r.top,topMirror:r.top,bottom:a-r.bottom,bottomMirror:a-r.bottom},f=!!Sa(l,gk);return u.reduce((function(o,a){var l,u,p,h,d,y=t[a],v=y.orientation,g=y.domain,m=y.padding,b=void 0===m?{}:m,w=y.mirror,x=y.reversed,O="".concat(v).concat(w?"Mirror":"");if("number"===y.type&&("gap"===y.padding||"no-gap"===y.padding)){var S=g[1]-g[0],j=1/0,A=y.categoricalDomain.sort();if(A.forEach((function(e,t){t>0&&(j=Math.min((e||0)-(A[t-1]||0),j))})),Number.isFinite(j)){var P=j/S,M="vertical"===y.layout?r.height:r.width;if("gap"===y.padding&&(l=P*M/2),"no-gap"===y.padding){var k=ta(e.barCategoryGap,P*M),E=P*M/2;l=E-k-(E-k)/M*k}}}u="xAxis"===n?[r.left+(b.left||0)+(l||0),r.left+r.width-(b.right||0)-(l||0)]:"yAxis"===n?"horizontal"===c?[r.top+r.height-(b.bottom||0),r.top+(b.top||0)]:[r.top+(b.top||0)+(l||0),r.top+r.height-(b.bottom||0)-(l||0)]:y.range,x&&(u=[u[1],u[0]]);var C=function(e,t,r){var n=e.scale,i=e.type,o=e.layout,a=e.axisType;if("auto"===n)return"radial"===o&&"radiusAxis"===a?{scale:xv(),realScaleType:"band"}:"radial"===o&&"angleAxis"===a?{scale:Wg(),realScaleType:"linear"}:"category"===i&&t&&(t.indexOf("LineChart")>=0||t.indexOf("AreaChart")>=0||t.indexOf("ComposedChart")>=0&&!r)?{scale:Sv(),realScaleType:"point"}:"category"===i?{scale:xv(),realScaleType:"band"}:{scale:Wg(),realScaleType:"linear"};if(Bo(n)){var c="scale".concat(yc(n));return{scale:(Cw[c]||Sv)(),realScaleType:Cw[c]?c:"point"}}return Rn(n)?{scale:n}:{scale:Sv(),realScaleType:"point"}}(y,i,f),_=C.scale,T=C.realScaleType;_.domain(g).range(u),function(e){var t=e.domain();if(t&&!(t.length<=2)){var r=t.length,n=e.range(),i=Math.min(n[0],n[1])-CO,o=Math.max(n[0],n[1])+CO,a=e(t[0]),c=e(t[r-1]);(a<i||a>o||c<i||c>o)&&e.domain([t[0],t[r-1]])}}(_);var D=function(e,t){var r=t.realScaleType,n=t.type,i=t.tickCount,o=t.originalDomain,a=t.allowDecimals,c=r||t.scale;if("auto"!==c&&"linear"!==c)return null;if(i&&"number"===n&&o&&("auto"===o[0]||"auto"===o[1])){var l=e.domain();if(!l.length)return null;var u=Qx(l,i,a);return e.domain([Vw(u),Bw(u)]),{niceTicks:u}}if(i&&"number"===n){var s=e.domain();return{niceTicks:eO(s,i,a)}}return null}(_,xk(xk({},y),{},{realScaleType:T}));"xAxis"===n?(d="top"===v&&!w||"bottom"===v&&w,p=r.left,h=s[O]-d*y.height):"yAxis"===n&&(d="left"===v&&!w||"right"===v&&w,p=s[O]-d*y.width,h=r.top);var N=xk(xk(xk({},y),D),{},{realScaleType:T,x:p,y:h,scale:_,width:"xAxis"===n?r.width:y.width,height:"yAxis"===n?r.height:y.height});return N.bandSize=zO(N,D),y.hide||"xAxis"!==n?y.hide||(s[O]+=(d?-1:1)*N.width):s[O]+=(d?-1:1)*N.height,xk(xk({},o),{},Ok({},a,N))}),{})},Ak=function(e,t){var r=e.x,n=e.y,i=t.x,o=t.y;return{x:Math.min(r,i),y:Math.min(n,o),width:Math.abs(i-r),height:Math.abs(o-n)}},Pk=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.scale=t}var t,r,n;return t=e,r=[{key:"domain",get:function(){return this.scale.domain}},{key:"range",get:function(){return this.scale.range}},{key:"rangeMin",get:function(){return this.range()[0]}},{key:"rangeMax",get:function(){return this.range()[1]}},{key:"bandwidth",get:function(){return this.scale.bandwidth}},{key:"apply",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.bandAware,n=t.position;if(void 0!==e){if(n)switch(n){case"start":default:return this.scale(e);case"middle":var i=this.bandwidth?this.bandwidth()/2:0;return this.scale(e)+i;case"end":var o=this.bandwidth?this.bandwidth():0;return this.scale(e)+o}if(r){var a=this.bandwidth?this.bandwidth()/2:0;return this.scale(e)+a}return this.scale(e)}}},{key:"isInRange",value:function(e){var t=this.range(),r=t[0],n=t[t.length-1];return r<=n?e>=r&&e<=n:e>=n&&e<=r}}],n=[{key:"create",value:function(t){return new e(t)}}],r&&bk(t.prototype,r),n&&bk(t,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();Ok(Pk,"EPS",1e-4);var Mk=function(e){var t=Object.keys(e).reduce((function(t,r){return xk(xk({},t),{},Ok({},r,Pk.create(e[r])))}),{});return xk(xk({},t),{},{apply:function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.bandAware,i=r.position;return RM(e,(function(e,r){return t[r].apply(e,{bandAware:n,position:i})}))},isInRange:function(e){return qM(e,(function(e,r){return t[r].isInRange(e)}))}})};var kk=function(e){var t=e.width,r=e.height,n=function(e){return(e%180+180)%180}(arguments.length>1&&void 0!==arguments[1]?arguments[1]:0),i=n*Math.PI/180,o=Math.atan(r/t),a=i>o&&i<Math.PI-o?r/Math.sin(i):t/Math.cos(i);return Math.abs(a)},Ek=no((function(e){return{x:e.left,y:e.top,width:e.width,height:e.height}}),(function(e){return["l",e.left,"t",e.top,"w",e.width,"h",e.height].join("")}));function Ck(e){return Ck="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ck(e)}var _k=he(void 0),Tk=he(void 0),Dk=he(void 0),Nk=he({}),Ik=he(void 0),Lk=he(0),Bk=he(0),Rk=function(e){var t=e.state,r=t.xAxisMap,n=t.yAxisMap,i=t.offset,o=e.clipPathId,a=e.children,c=e.width,l=e.height,u=Ek(i);return Q.createElement(_k.Provider,{value:r},Q.createElement(Tk.Provider,{value:n},Q.createElement(Nk.Provider,{value:i},Q.createElement(Dk.Provider,{value:u},Q.createElement(Ik.Provider,{value:o},Q.createElement(Lk.Provider,{value:l},Q.createElement(Bk.Provider,{value:c},a)))))))};function zk(e){var t=Object.keys(e);return 0===t.length?"There are no available ids.":"Available ids are: ".concat(t,".")}var $k=function(e){var t=pe(_k);null==t&&("production"!==process.env.NODE_ENV?nO(0,"Could not find Recharts context; are you sure this is rendered inside a Recharts wrapper component?"):nO());var r=t[e];return null==r&&("production"!==process.env.NODE_ENV?nO(0,'Could not find xAxis by id "'.concat(e,'" [').concat(Ck(e),"]. ").concat(zk(t))):nO()),r},Hk=function(e){var t=pe(Tk);null==t&&("production"!==process.env.NODE_ENV?nO(0,"Could not find Recharts context; are you sure this is rendered inside a Recharts wrapper component?"):nO());var r=t[e];return null==r&&("production"!==process.env.NODE_ENV?nO(0,'Could not find yAxis by id "'.concat(e,'" [').concat(Ck(e),"]. ").concat(zk(t))):nO()),r},Vk=function(){return pe(Bk)},Fk=function(){return pe(Lk)};function Uk(e){return Uk="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Uk(e)}function Wk(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function qk(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Wk(Object(r),!0).forEach((function(t){Yk(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Wk(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Yk(e,t,r){return t=function(e){var t=function(e,t){if("object"!=Uk(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=Uk(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Uk(t)?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xk(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,o,a,c=[],l=!0,u=!1;try{if(o=(r=r.call(e)).next,0===t);else for(;!(l=(n=o.call(r)).done)&&(c.push(n.value),c.length!==t);l=!0);}catch(e){u=!0,i=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw i}}return c}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Kk(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Kk(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Kk(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Gk(){return Gk=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Gk.apply(this,arguments)}function Zk(e){var t=e.x,r=e.y,n=e.segment,i=e.xAxisId,o=e.yAxisId,a=e.shape,c=e.className,l=e.alwaysShow,u=pe(Ik),s=$k(i),f=Hk(o),p=pe(Dk);if(!u||!p)return null;$a(void 0===l,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var h=function(e,t,r,n,i,o,a,c,l){var u=i.x,s=i.y,f=i.width,p=i.height;if(r){var h=l.y,d=e.y.apply(h,{position:o});if(_M(l,"discard")&&!e.y.isInRange(d))return null;var y=[{x:u+f,y:d},{x:u,y:d}];return"left"===c?y.reverse():y}if(t){var v=l.x,g=e.x.apply(v,{position:o});if(_M(l,"discard")&&!e.x.isInRange(g))return null;var m=[{x:g,y:s+p},{x:g,y:s}];return"top"===a?m.reverse():m}if(n){var b=l.segment.map((function(t){return e.apply(t,{position:o})}));return _M(l,"discard")&&CM(b,(function(t){return!e.isInRange(t)}))?null:b}return null}(Mk({x:s.scale,y:f.scale}),Jo(t),Jo(r),n&&2===n.length,p,e.position,s.orientation,f.orientation,e);if(!h)return null;var d=Xk(h,2),y=d[0],v=y.x,g=y.y,m=d[1],b=m.x,w=m.y,x=qk(qk({clipPath:_M(e,"hidden")?"url(#".concat(u,")"):void 0},Ma(e,!0)),{},{x1:v,y1:g,x2:b,y2:w});return Q.createElement(Ra,{className:on("recharts-reference-line",c)},function(e,t){return Q.isValidElement(e)?Q.cloneElement(e,t):Rn(e)?e(t):Q.createElement("line",Gk({},t,{className:"recharts-reference-line-line"}))}(a,x),pS.renderCallByParent(e,function(e){var t=e.x1,r=e.y1,n=e.x2,i=e.y2;return Ak({x:t,y:r},{x:n,y:i})}({x1:v,y1:g,x2:b,y2:w})))}function Jk(e){return Jk="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Jk(e)}function Qk(){return Qk=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Qk.apply(this,arguments)}function eE(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function tE(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?eE(Object(r),!0).forEach((function(t){rE(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):eE(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function rE(e,t,r){return t=function(e){var t=function(e,t){if("object"!=Jk(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=Jk(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Jk(t)?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}Zk.displayName="ReferenceLine",Zk.defaultProps={isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,fill:"none",stroke:"#ccc",fillOpacity:1,strokeWidth:1,position:"middle"};function nE(e){var t=e.x,r=e.y,n=e.r,i=e.alwaysShow,o=e.clipPathId,a=Jo(t),c=Jo(r);if($a(void 0===i,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.'),!a||!c)return null;var l=function(e){var t=e.x,r=e.y,n=e.xAxis,i=e.yAxis,o=Mk({x:n.scale,y:i.scale}),a=o.apply({x:t,y:r},{bandAware:!0});return _M(e,"discard")&&!o.isInRange(a)?null:a}(e);if(!l)return null;var u=l.x,s=l.y,f=e.shape,p=e.className,h=tE(tE({clipPath:_M(e,"hidden")?"url(#".concat(o,")"):void 0},Ma(e,!0)),{},{cx:u,cy:s});return Q.createElement(Ra,{className:on("recharts-reference-dot",p)},nE.renderDot(f,h),pS.renderCallByParent(e,{x:u-n,y:s-n,width:2*n,height:2*n}))}function iE(e){return iE="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},iE(e)}function oE(){return oE=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},oE.apply(this,arguments)}function aE(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function cE(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?aE(Object(r),!0).forEach((function(t){lE(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):aE(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function lE(e,t,r){return t=function(e){var t=function(e,t){if("object"!=iE(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=iE(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==iE(t)?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}nE.displayName="ReferenceDot",nE.defaultProps={isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#fff",stroke:"#ccc",fillOpacity:1,strokeWidth:1},nE.renderDot=function(e,t){return Q.isValidElement(e)?Q.cloneElement(e,t):Rn(e)?e(t):Q.createElement(nP,Qk({},t,{cx:t.cx,cy:t.cy,className:"recharts-reference-dot-dot"}))};function uE(e){var t=e.x1,r=e.x2,n=e.y1,i=e.y2,o=e.className,a=e.alwaysShow,c=e.clipPathId;$a(void 0===a,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var l=Jo(t),u=Jo(r),s=Jo(n),f=Jo(i),p=e.shape;if(!(l||u||s||f||p))return null;var h=function(e,t,r,n,i){var o=i.x1,a=i.x2,c=i.y1,l=i.y2,u=i.xAxis,s=i.yAxis;if(!u||!s)return null;var f=Mk({x:u.scale,y:s.scale}),p={x:e?f.x.apply(o,{position:"start"}):f.x.rangeMin,y:r?f.y.apply(c,{position:"start"}):f.y.rangeMin},h={x:t?f.x.apply(a,{position:"end"}):f.x.rangeMax,y:n?f.y.apply(l,{position:"end"}):f.y.rangeMax};return!_M(i,"discard")||f.isInRange(p)&&f.isInRange(h)?Ak(p,h):null}(l,u,s,f,e);if(!h&&!p)return null;var d=_M(e,"hidden")?"url(#".concat(c,")"):void 0;return Q.createElement(Ra,{className:on("recharts-reference-area",o)},uE.renderRect(p,cE(cE({clipPath:d},Ma(e,!0)),h)),pS.renderCallByParent(e,h))}function sE(e,t,r){if(t<1)return[];if(1===t&&void 0===r)return e;for(var n=[],i=0;i<e.length;i+=t)n.push(e[i]);return n}function fE(e,t,r,n,i){if(e*t<e*n||e*t>e*i)return!1;var o=r();return e*(t-e*o/2-n)>=0&&e*(t+e*o/2-i)<=0}function pE(e){return pE="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},pE(e)}function hE(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function dE(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?hE(Object(r),!0).forEach((function(t){yE(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):hE(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function yE(e,t,r){return t=function(e){var t=function(e,t){if("object"!=pE(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=pE(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==pE(t)?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function vE(e,t,r){var n=e.tick,i=e.ticks,o=e.viewBox,a=e.minTickGap,c=e.orientation,l=e.interval,u=e.tickFormatter,s=e.unit,f=e.angle;if(!i||!i.length||!n)return[];if(Zo(l)||Od.isSsr)return function(e,t){return sE(e,t+1)}(i,"number"==typeof l&&Zo(l)?l:0);var p=[],h="top"===c||"bottom"===c?"width":"height",d=s&&"width"===h?by(s,{fontSize:t,letterSpacing:r}):{width:0,height:0},y=function(e,n){var i=Rn(u)?u(e.value,n):e.value;return"width"===h?function(e,t,r){var n={width:e.width+t.width,height:e.height+t.height};return kk(n,r)}(by(i,{fontSize:t,letterSpacing:r}),d,f):by(i,{fontSize:t,letterSpacing:r})[h]},v=i.length>=2?Ko(i[1].coordinate-i[0].coordinate):1,g=function(e,t,r){var n="width"===r,i=e.x,o=e.y,a=e.width,c=e.height;return 1===t?{start:n?i:o,end:n?i+a:o+c}:{start:n?i+a:o+c,end:n?i:o}}(o,v,h);return"equidistantPreserveStart"===l?function(e,t,r,n,i){for(var o,a=(n||[]).slice(),c=t.start,l=t.end,u=0,s=1,f=c,p=function(){var t=null==n?void 0:n[u];if(void 0===t)return{v:sE(n,s)};var o,a=u,p=function(){return void 0===o&&(o=r(t,a)),o},h=t.coordinate,d=0===u||fE(e,h,p,f,l);d||(u=0,f=c,s+=1),d&&(f=h+e*(p()/2+i),u+=s)};s<=a.length;)if(o=p())return o.v;return[]}(v,g,y,i,a):(p="preserveStart"===l||"preserveStartEnd"===l?function(e,t,r,n,i,o){var a=(n||[]).slice(),c=a.length,l=t.start,u=t.end;if(o){var s=n[c-1],f=r(s,c-1),p=e*(s.coordinate+e*f/2-u);a[c-1]=s=dE(dE({},s),{},{tickCoord:p>0?s.coordinate-p*e:s.coordinate}),fE(e,s.tickCoord,(function(){return f}),l,u)&&(u=s.tickCoord-e*(f/2+i),a[c-1]=dE(dE({},s),{},{isShow:!0}))}for(var h=o?c-1:c,d=function(t){var n,o=a[t],c=function(){return void 0===n&&(n=r(o,t)),n};if(0===t){var s=e*(o.coordinate-e*c()/2-l);a[t]=o=dE(dE({},o),{},{tickCoord:s<0?o.coordinate-s*e:o.coordinate})}else a[t]=o=dE(dE({},o),{},{tickCoord:o.coordinate});fE(e,o.tickCoord,c,l,u)&&(l=o.tickCoord+e*(c()/2+i),a[t]=dE(dE({},o),{},{isShow:!0}))},y=0;y<h;y++)d(y);return a}(v,g,y,i,a,"preserveStartEnd"===l):function(e,t,r,n,i){for(var o=(n||[]).slice(),a=o.length,c=t.start,l=t.end,u=function(t){var n,u=o[t],s=function(){return void 0===n&&(n=r(u,t)),n};if(t===a-1){var f=e*(u.coordinate+e*s()/2-l);o[t]=u=dE(dE({},u),{},{tickCoord:f>0?u.coordinate-f*e:u.coordinate})}else o[t]=u=dE(dE({},u),{},{tickCoord:u.coordinate});fE(e,u.tickCoord,s,c,l)&&(l=u.tickCoord-e*(s()/2+i),o[t]=dE(dE({},u),{},{isShow:!0}))},s=a-1;s>=0;s--)u(s);return o}(v,g,y,i,a),p.filter((function(e){return e.isShow})))}uE.displayName="ReferenceArea",uE.defaultProps={isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#ccc",fillOpacity:.5,stroke:"none",strokeWidth:1},uE.renderRect=function(e,t){return Q.isValidElement(e)?Q.cloneElement(e,t):Rn(e)?e(t):Q.createElement(tP,oE({},t,{className:"recharts-reference-area-rect"}))};var gE=["viewBox"],mE=["viewBox"],bE=["ticks"];function wE(e){return wE="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},wE(e)}function xE(){return xE=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},xE.apply(this,arguments)}function OE(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function SE(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?OE(Object(r),!0).forEach((function(t){CE(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):OE(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function jE(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function AE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,_E(n.key),n)}}function PE(e,t,r){return t=kE(t),function(e,t){if(t&&("object"===wE(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,ME()?Reflect.construct(t,r||[],kE(e).constructor):t.apply(e,r))}function ME(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(ME=function(){return!!e})()}function kE(e){return kE=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},kE(e)}function EE(e,t){return EE=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},EE(e,t)}function CE(e,t,r){return(t=_E(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _E(e){var t=function(e,t){if("object"!=wE(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=wE(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==wE(t)?t:String(t)}var TE=function(e){function t(e){var r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(r=PE(this,t,[e])).state={fontSize:"",letterSpacing:""},r}var r,n,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&EE(e,t)}(t,de),r=t,n=[{key:"shouldComponentUpdate",value:function(e,t){var r=e.viewBox,n=jE(e,gE),i=this.props,o=i.viewBox,a=jE(i,mE);return!oa(r,o)||!oa(n,a)||!oa(t,this.state)}},{key:"componentDidMount",value:function(){var e=this.layerReference;if(e){var t=e.getElementsByClassName("recharts-cartesian-axis-tick-value")[0];t&&this.setState({fontSize:window.getComputedStyle(t).fontSize,letterSpacing:window.getComputedStyle(t).letterSpacing})}}},{key:"getTickLineCoord",value:function(e){var t,r,n,i,o,a,c=this.props,l=c.x,u=c.y,s=c.width,f=c.height,p=c.orientation,h=c.tickSize,d=c.mirror,y=c.tickMargin,v=d?-1:1,g=e.tickSize||h,m=Zo(e.tickCoord)?e.tickCoord:e.coordinate;switch(p){case"top":t=r=e.coordinate,a=(n=(i=u+ +!d*f)-v*g)-v*y,o=m;break;case"left":n=i=e.coordinate,o=(t=(r=l+ +!d*s)-v*g)-v*y,a=m;break;case"right":n=i=e.coordinate,o=(t=(r=l+ +d*s)+v*g)+v*y,a=m;break;default:t=r=e.coordinate,a=(n=(i=u+ +d*f)+v*g)+v*y,o=m}return{line:{x1:t,y1:n,x2:r,y2:i},tick:{x:o,y:a}}}},{key:"getTickTextAnchor",value:function(){var e,t=this.props,r=t.orientation,n=t.mirror;switch(r){case"left":e=n?"start":"end";break;case"right":e=n?"end":"start";break;default:e="middle"}return e}},{key:"getTickVerticalAnchor",value:function(){var e=this.props,t=e.orientation,r=e.mirror,n="end";switch(t){case"left":case"right":n="middle";break;case"top":n=r?"start":"end";break;default:n=r?"end":"start"}return n}},{key:"renderAxisLine",value:function(){var e=this.props,t=e.x,r=e.y,n=e.width,i=e.height,o=e.orientation,a=e.mirror,c=e.axisLine,l=SE(SE(SE({},Ma(this.props,!1)),Ma(c,!1)),{},{fill:"none"});if("top"===o||"bottom"===o){var u=+("top"===o&&!a||"bottom"===o&&a);l=SE(SE({},l),{},{x1:t,y1:r+u*i,x2:t+n,y2:r+u*i})}else{var s=+("left"===o&&!a||"right"===o&&a);l=SE(SE({},l),{},{x1:t+s*n,y1:r,x2:t+s*n,y2:r+i})}return Q.createElement("line",xE({},l,{className:on("recharts-cartesian-axis-line",_o(c,"className"))}))}},{key:"renderTicks",value:function(e,r,n){var i=this,o=this.props,a=o.tickLine,c=o.stroke,l=o.tick,u=o.tickFormatter,s=o.unit,f=vE(SE(SE({},this.props),{},{ticks:e}),r,n),p=this.getTickTextAnchor(),h=this.getTickVerticalAnchor(),d=Ma(this.props,!1),y=Ma(l,!1),v=SE(SE({},d),{},{fill:"none"},Ma(a,!1)),g=f.map((function(e,r){var n=i.getTickLineCoord(e),o=n.line,g=n.tick,m=SE(SE(SE(SE({textAnchor:p,verticalAnchor:h},d),{},{stroke:"none",fill:c},y),g),{},{index:r,payload:e,visibleTicksCount:f.length,tickFormatter:u});return Q.createElement(Ra,xE({className:"recharts-cartesian-axis-tick",key:"tick-".concat(e.value,"-").concat(e.coordinate,"-").concat(e.tickCoord)},pa(i.props,e,r)),a&&Q.createElement("line",xE({},v,o,{className:on("recharts-cartesian-axis-tick-line",_o(a,"className"))})),l&&t.renderTickItem(l,m,"".concat(Rn(u)?u(e.value,r):e.value).concat(s||"")))}));return Q.createElement("g",{className:"recharts-cartesian-axis-ticks"},g)}},{key:"render",value:function(){var e=this,t=this.props,r=t.axisLine,n=t.width,i=t.height,o=t.ticksGenerator,a=t.className;if(t.hide)return null;var c=this.props,l=c.ticks,u=jE(c,bE),s=l;return Rn(o)&&(s=l&&l.length>0?o(this.props):o(u)),n<=0||i<=0||!s||!s.length?null:Q.createElement(Ra,{className:on("recharts-cartesian-axis",a),ref:function(t){e.layerReference=t}},r&&this.renderAxisLine(),this.renderTicks(s,this.state.fontSize,this.state.letterSpacing),pS.renderCallByParent(this.props))}}],i=[{key:"renderTickItem",value:function(e,t,r){return Q.isValidElement(e)?Q.cloneElement(e,t):Rn(e)?e(t):Q.createElement(Xy,xE({},t,{className:"recharts-cartesian-axis-tick-value"}),r)}}],n&&AE(r.prototype,n),i&&AE(r,i),Object.defineProperty(r,"prototype",{writable:!1}),t}();CE(TE,"displayName","CartesianAxis"),CE(TE,"defaultProps",{x:0,y:0,width:0,height:0,viewBox:{x:0,y:0,width:0,height:0},orientation:"bottom",ticks:[],stroke:"#666",tickLine:!0,axisLine:!0,tick:!0,mirror:!1,minTickGap:5,tickSize:6,tickMargin:2,interval:"preserveEnd"});var DE=["type","layout","connectNulls","ref"];function NE(e){return NE="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},NE(e)}function IE(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function LE(){return LE=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},LE.apply(this,arguments)}function BE(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function RE(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?BE(Object(r),!0).forEach((function(t){YE(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):BE(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function zE(e){return function(e){if(Array.isArray(e))return $E(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return $E(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return $E(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function $E(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function HE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,XE(n.key),n)}}function VE(e,t,r){return t=UE(t),function(e,t){if(t&&("object"===NE(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return WE(e)}(e,FE()?Reflect.construct(t,r||[],UE(e).constructor):t.apply(e,r))}function FE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(FE=function(){return!!e})()}function UE(e){return UE=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},UE(e)}function WE(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qE(e,t){return qE=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},qE(e,t)}function YE(e,t,r){return(t=XE(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function XE(e){var t=function(e,t){if("object"!=NE(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=NE(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==NE(t)?t:String(t)}var KE=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return YE(WE(e=VE(this,t,[].concat(n))),"state",{isAnimationFinished:!0,totalLength:0}),YE(WE(e),"generateSimpleStrokeDasharray",(function(e,t){return"".concat(t,"px ").concat(e-t,"px")})),YE(WE(e),"getStrokeDasharray",(function(r,n,i){var o=i.reduce((function(e,t){return e+t}));if(!o)return e.generateSimpleStrokeDasharray(n,r);for(var a=Math.floor(r/o),c=r%o,l=n-r,u=[],s=0,f=0;s<i.length;f+=i[s],++s)if(f+i[s]>c){u=[].concat(zE(i.slice(0,s)),[c-f]);break}var p=u.length%2==0?[0,l]:[l];return[].concat(zE(t.repeat(i,a)),zE(u),p).map((function(e){return"".concat(e,"px")})).join(", ")})),YE(WE(e),"id",ea("recharts-line-")),YE(WE(e),"pathRef",(function(t){e.mainCurve=t})),YE(WE(e),"handleAnimationEnd",(function(){e.setState({isAnimationFinished:!0}),e.props.onAnimationEnd&&e.props.onAnimationEnd()})),YE(WE(e),"handleAnimationStart",(function(){e.setState({isAnimationFinished:!1}),e.props.onAnimationStart&&e.props.onAnimationStart()})),e}var r,n,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&qE(e,t)}(t,re),r=t,n=[{key:"componentDidMount",value:function(){if(this.props.isAnimationActive){var e=this.getTotalLength();this.setState({totalLength:e})}}},{key:"componentDidUpdate",value:function(){if(this.props.isAnimationActive){var e=this.getTotalLength();e!==this.state.totalLength&&this.setState({totalLength:e})}}},{key:"getTotalLength",value:function(){var e=this.mainCurve;try{return e&&e.getTotalLength&&e.getTotalLength()||0}catch(e){return 0}}},{key:"renderErrorBar",value:function(e,t){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var r=this.props,n=r.points,i=r.xAxis,o=r.yAxis,a=r.layout,c=Oa(r.children,uO);if(!c)return null;var l=function(e,t){return{x:e.x,y:e.y,value:e.value,errorVal:xO(e.payload,t)}},u={clipPath:e?"url(#clipPath-".concat(t,")"):null};return Q.createElement(Ra,u,c.map((function(e){return Q.cloneElement(e,{key:"bar-".concat(e.props.dataKey),data:n,xAxis:i,yAxis:o,layout:a,dataPointFormatter:l})})))}},{key:"renderDots",value:function(e,r,n){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var i=this.props,o=i.dot,a=i.points,c=i.dataKey,l=Ma(this.props,!1),u=Ma(o,!0),s=a.map((function(e,r){var n=RE(RE(RE({key:"dot-".concat(r),r:3},l),u),{},{value:e.value,dataKey:c,cx:e.x,cy:e.y,index:r,payload:e.payload});return t.renderDotItem(o,n)})),f={clipPath:e?"url(#clipPath-".concat(r?"":"dots-").concat(n,")"):null};return Q.createElement(Ra,LE({className:"recharts-line-dots",key:"dots"},f),s)}},{key:"renderCurveStatically",value:function(e,t,r,n){var i=this.props,o=i.type,a=i.layout,c=i.connectNulls;i.ref;var l=IE(i,DE),u=RE(RE(RE({},Ma(l,!0)),{},{fill:"none",className:"recharts-line-curve",clipPath:t?"url(#clipPath-".concat(r,")"):null,points:e},n),{},{type:o,layout:a,connectNulls:c});return Q.createElement(oj,LE({},u,{pathRef:this.pathRef}))}},{key:"renderCurveWithAnimation",value:function(e,t){var r=this,n=this.props,i=n.points,o=n.strokeDasharray,a=n.isAnimationActive,c=n.animationBegin,l=n.animationDuration,u=n.animationEasing,s=n.animationId,f=n.animateNewValues,p=n.width,h=n.height,d=this.state,y=d.prevPoints,v=d.totalLength;return Q.createElement(UA,{begin:c,duration:l,isActive:a,easing:u,from:{t:0},to:{t:1},key:"line-".concat(s),onAnimationEnd:this.handleAnimationEnd,onAnimationStart:this.handleAnimationStart},(function(n){var a=n.t;if(y){var c=y.length/i.length,l=i.map((function(e,t){var r=Math.floor(t*c);if(y[r]){var n=y[r],i=na(n.x,e.x),o=na(n.y,e.y);return RE(RE({},e),{},{x:i(a),y:o(a)})}if(f){var l=na(2*p,e.x),u=na(h/2,e.y);return RE(RE({},e),{},{x:l(a),y:u(a)})}return RE(RE({},e),{},{x:e.x,y:e.y})}));return r.renderCurveStatically(l,e,t)}var u,s=na(0,v)(a);if(o){var d="".concat(o).split(/[,\s]+/gim).map((function(e){return parseFloat(e)}));u=r.getStrokeDasharray(s,v,d)}else u=r.generateSimpleStrokeDasharray(v,s);return r.renderCurveStatically(i,e,t,{strokeDasharray:u})}))}},{key:"renderCurve",value:function(e,t){var r=this.props,n=r.points,i=r.isAnimationActive,o=this.state,a=o.prevPoints,c=o.totalLength;return i&&n&&n.length&&(!a&&c>0||!Jw(a,n))?this.renderCurveWithAnimation(e,t):this.renderCurveStatically(n,e,t)}},{key:"render",value:function(){var e,t=this.props,r=t.hide,n=t.dot,i=t.points,o=t.className,a=t.xAxis,c=t.yAxis,l=t.top,u=t.left,s=t.width,f=t.height,p=t.isAnimationActive,h=t.id;if(r||!i||!i.length)return null;var d=this.state.isAnimationFinished,y=1===i.length,v=on("recharts-line",o),g=a&&a.allowDataOverflow,m=c&&c.allowDataOverflow,b=g||m,w=To(h)?this.id:h,x=null!==(e=Ma(n,!1))&&void 0!==e?e:{r:3,strokeWidth:2},O=x.r,S=void 0===O?3:O,j=x.strokeWidth,A=void 0===j?2:j,P=(Pa(n)?n:{}).clipDot,M=void 0===P||P,k=2*S+A;return Q.createElement(Ra,{className:v},g||m?Q.createElement("defs",null,Q.createElement("clipPath",{id:"clipPath-".concat(w)},Q.createElement("rect",{x:g?u:u-s/2,y:m?l:l-f/2,width:g?s:2*s,height:m?f:2*f})),!M&&Q.createElement("clipPath",{id:"clipPath-dots-".concat(w)},Q.createElement("rect",{x:u-k/2,y:l-k/2,width:s+k,height:f+k}))):null,!y&&this.renderCurve(b,w),this.renderErrorBar(b,w),(y||n)&&this.renderDots(b,M,w),(!p||d)&&MS.renderCallByParent(this.props,i))}}],i=[{key:"getDerivedStateFromProps",value:function(e,t){return e.animationId!==t.prevAnimationId?{prevAnimationId:e.animationId,curPoints:e.points,prevPoints:t.curPoints}:e.points!==t.curPoints?{curPoints:e.points}:null}},{key:"repeat",value:function(e,t){for(var r=e.length%2!=0?[].concat(zE(e),[0]):e,n=[],i=0;i<t;++i)n=[].concat(zE(n),zE(r));return n}},{key:"renderDotItem",value:function(e,t){var r;if(Q.isValidElement(e))r=Q.cloneElement(e,t);else if(Rn(e))r=e(t);else{var n=on("recharts-line-dot","boolean"!=typeof e?e.className:"");r=Q.createElement(nP,LE({},t,{className:n}))}return r}}],n&&HE(r.prototype,n),i&&HE(r,i),Object.defineProperty(r,"prototype",{writable:!1}),t}();YE(KE,"displayName","Line"),YE(KE,"defaultProps",{xAxisId:0,yAxisId:0,connectNulls:!1,activeDot:!0,dot:!0,legendType:"line",stroke:"#3182bd",strokeWidth:1,fill:"#fff",points:[],isAnimationActive:!Od.isSsr,animateNewValues:!0,animationBegin:0,animationDuration:1500,animationEasing:"ease",hide:!1,label:!1}),YE(KE,"getComposedData",(function(e){var t=e.props,r=e.xAxis,n=e.yAxis,i=e.xAxisTicks,o=e.yAxisTicks,a=e.dataKey,c=e.bandSize,l=e.displayedData,u=e.offset,s=t.layout;return RE({points:l.map((function(e,t){var l=xO(e,a);return"horizontal"===s?{x:DO({axis:r,ticks:i,bandSize:c,entry:e,index:t}),y:To(l)?null:n.scale(l),value:l,payload:e}:{x:To(l)?null:r.scale(l),y:DO({axis:n,ticks:o,bandSize:c,entry:e,index:t}),value:l,payload:e}})),layout:s},u)}));var GE,ZE=["layout","type","stroke","connectNulls","isRange","ref"];function JE(e){return JE="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},JE(e)}function QE(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function eC(){return eC=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},eC.apply(this,arguments)}function tC(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function rC(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?tC(Object(r),!0).forEach((function(t){uC(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):tC(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function nC(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,sC(n.key),n)}}function iC(e,t,r){return t=aC(t),function(e,t){if(t&&("object"===JE(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return cC(e)}(e,oC()?Reflect.construct(t,r||[],aC(e).constructor):t.apply(e,r))}function oC(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(oC=function(){return!!e})()}function aC(e){return aC=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},aC(e)}function cC(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lC(e,t){return lC=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},lC(e,t)}function uC(e,t,r){return(t=sC(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function sC(e){var t=function(e,t){if("object"!=JE(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=JE(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==JE(t)?t:String(t)}var fC=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return uC(cC(e=iC(this,t,[].concat(n))),"state",{isAnimationFinished:!0}),uC(cC(e),"id",ea("recharts-area-")),uC(cC(e),"handleAnimationEnd",(function(){var t=e.props.onAnimationEnd;e.setState({isAnimationFinished:!0}),Rn(t)&&t()})),uC(cC(e),"handleAnimationStart",(function(){var t=e.props.onAnimationStart;e.setState({isAnimationFinished:!1}),Rn(t)&&t()})),e}var r,n,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&lC(e,t)}(t,re),r=t,n=[{key:"renderDots",value:function(e,r,n){var i=this.props.isAnimationActive,o=this.state.isAnimationFinished;if(i&&!o)return null;var a=this.props,c=a.dot,l=a.points,u=a.dataKey,s=Ma(this.props,!1),f=Ma(c,!0),p=l.map((function(e,r){var n=rC(rC(rC({key:"dot-".concat(r),r:3},s),f),{},{index:r,cx:e.x,cy:e.y,dataKey:u,value:e.value,payload:e.payload,points:l});return t.renderDotItem(c,n)})),h={clipPath:e?"url(#clipPath-".concat(r?"":"dots-").concat(n,")"):null};return Q.createElement(Ra,eC({className:"recharts-area-dots"},h),p)}},{key:"renderHorizontalRect",value:function(e){var t=this.props,r=t.baseLine,n=t.points,i=t.strokeWidth,o=n[0].x,a=n[n.length-1].x,c=e*Math.abs(o-a),l=Bw(n.map((function(e){return e.y||0})));return Zo(r)&&"number"==typeof r?l=Math.max(r,l):r&&Array.isArray(r)&&r.length&&(l=Math.max(Bw(r.map((function(e){return e.y||0}))),l)),Zo(l)?Q.createElement("rect",{x:o<a?o:o-c,y:0,width:c,height:Math.floor(l+(i?parseInt("".concat(i),10):1))}):null}},{key:"renderVerticalRect",value:function(e){var t=this.props,r=t.baseLine,n=t.points,i=t.strokeWidth,o=n[0].y,a=n[n.length-1].y,c=e*Math.abs(o-a),l=Bw(n.map((function(e){return e.x||0})));return Zo(r)&&"number"==typeof r?l=Math.max(r,l):r&&Array.isArray(r)&&r.length&&(l=Math.max(Bw(r.map((function(e){return e.x||0}))),l)),Zo(l)?Q.createElement("rect",{x:0,y:o<a?o:o-c,width:l+(i?parseInt("".concat(i),10):1),height:Math.floor(c)}):null}},{key:"renderClipRect",value:function(e){return"vertical"===this.props.layout?this.renderVerticalRect(e):this.renderHorizontalRect(e)}},{key:"renderAreaStatically",value:function(e,t,r,n){var i=this.props,o=i.layout,a=i.type,c=i.stroke,l=i.connectNulls,u=i.isRange;i.ref;var s=QE(i,ZE);return Q.createElement(Ra,{clipPath:r?"url(#clipPath-".concat(n,")"):null},Q.createElement(oj,eC({},Ma(s,!0),{points:e,connectNulls:l,type:a,baseLine:t,layout:o,stroke:"none",className:"recharts-area-area"})),"none"!==c&&Q.createElement(oj,eC({},Ma(this.props,!1),{className:"recharts-area-curve",layout:o,type:a,connectNulls:l,fill:"none",points:e})),"none"!==c&&u&&Q.createElement(oj,eC({},Ma(this.props,!1),{className:"recharts-area-curve",layout:o,type:a,connectNulls:l,fill:"none",points:t})))}},{key:"renderAreaWithAnimation",value:function(e,t){var r=this,n=this.props,i=n.points,o=n.baseLine,a=n.isAnimationActive,c=n.animationBegin,l=n.animationDuration,u=n.animationEasing,s=n.animationId,f=this.state,p=f.prevPoints,h=f.prevBaseLine;return Q.createElement(UA,{begin:c,duration:l,isActive:a,easing:u,from:{t:0},to:{t:1},key:"area-".concat(s),onAnimationEnd:this.handleAnimationEnd,onAnimationStart:this.handleAnimationStart},(function(n){var a=n.t;if(p){var c,l=p.length/i.length,u=i.map((function(e,t){var r=Math.floor(t*l);if(p[r]){var n=p[r],i=na(n.x,e.x),o=na(n.y,e.y);return rC(rC({},e),{},{x:i(a),y:o(a)})}return e}));return c=Zo(o)&&"number"==typeof o?na(h,o)(a):To(o)||Xo(o)?na(h,0)(a):o.map((function(e,t){var r=Math.floor(t*l);if(h[r]){var n=h[r],i=na(n.x,e.x),o=na(n.y,e.y);return rC(rC({},e),{},{x:i(a),y:o(a)})}return e})),r.renderAreaStatically(u,c,e,t)}return Q.createElement(Ra,null,Q.createElement("defs",null,Q.createElement("clipPath",{id:"animationClipPath-".concat(t)},r.renderClipRect(a))),Q.createElement(Ra,{clipPath:"url(#animationClipPath-".concat(t,")")},r.renderAreaStatically(i,o,e,t)))}))}},{key:"renderArea",value:function(e,t){var r=this.props,n=r.points,i=r.baseLine,o=r.isAnimationActive,a=this.state,c=a.prevPoints,l=a.prevBaseLine,u=a.totalLength;return o&&n&&n.length&&(!c&&u>0||!Jw(c,n)||!Jw(l,i))?this.renderAreaWithAnimation(e,t):this.renderAreaStatically(n,i,e,t)}},{key:"render",value:function(){var e,t=this.props,r=t.hide,n=t.dot,i=t.points,o=t.className,a=t.top,c=t.left,l=t.xAxis,u=t.yAxis,s=t.width,f=t.height,p=t.isAnimationActive,h=t.id;if(r||!i||!i.length)return null;var d=this.state.isAnimationFinished,y=1===i.length,v=on("recharts-area",o),g=l&&l.allowDataOverflow,m=u&&u.allowDataOverflow,b=g||m,w=To(h)?this.id:h,x=null!==(e=Ma(n,!1))&&void 0!==e?e:{r:3,strokeWidth:2},O=x.r,S=void 0===O?3:O,j=x.strokeWidth,A=void 0===j?2:j,P=(Pa(n)?n:{}).clipDot,M=void 0===P||P,k=2*S+A;return Q.createElement(Ra,{className:v},g||m?Q.createElement("defs",null,Q.createElement("clipPath",{id:"clipPath-".concat(w)},Q.createElement("rect",{x:g?c:c-s/2,y:m?a:a-f/2,width:g?s:2*s,height:m?f:2*f})),!M&&Q.createElement("clipPath",{id:"clipPath-dots-".concat(w)},Q.createElement("rect",{x:c-k/2,y:a-k/2,width:s+k,height:f+k}))):null,y?null:this.renderArea(b,w),(n||y)&&this.renderDots(b,M,w),(!p||d)&&MS.renderCallByParent(this.props,i))}}],i=[{key:"getDerivedStateFromProps",value:function(e,t){return e.animationId!==t.prevAnimationId?{prevAnimationId:e.animationId,curPoints:e.points,curBaseLine:e.baseLine,prevPoints:t.curPoints,prevBaseLine:t.curBaseLine}:e.points!==t.curPoints||e.baseLine!==t.curBaseLine?{curPoints:e.points,curBaseLine:e.baseLine}:null}}],n&&nC(r.prototype,n),i&&nC(r,i),Object.defineProperty(r,"prototype",{writable:!1}),t}();function pC(){return pC=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},pC.apply(this,arguments)}GE=fC,uC(fC,"displayName","Area"),uC(fC,"defaultProps",{stroke:"#3182bd",fill:"#3182bd",fillOpacity:.6,xAxisId:0,yAxisId:0,legendType:"line",connectNulls:!1,points:[],dot:!1,activeDot:!0,hide:!1,isAnimationActive:!Od.isSsr,animationBegin:0,animationDuration:1500,animationEasing:"ease"}),uC(fC,"getBaseValue",(function(e,t,r,n){var i=e.layout,o=e.baseValue,a=t.props.baseValue,c=null!=a?a:o;if(Zo(c)&&"number"==typeof c)return c;var l="horizontal"===i?n:r,u=l.scale.domain();if("number"===l.type){var s=Math.max(u[0],u[1]),f=Math.min(u[0],u[1]);return"dataMin"===c?f:"dataMax"===c||s<0?s:Math.max(Math.min(u[0],u[1]),0)}return"dataMin"===c?u[0]:"dataMax"===c?u[1]:u[0]})),uC(fC,"getComposedData",(function(e){var t,r=e.props,n=e.item,i=e.xAxis,o=e.yAxis,a=e.xAxisTicks,c=e.yAxisTicks,l=e.bandSize,u=e.dataKey,s=e.stackedData,f=e.dataStartIndex,p=e.displayedData,h=e.offset,d=r.layout,y=s&&s.length,v=GE.getBaseValue(r,n,i,o),g="horizontal"===d,m=!1,b=p.map((function(e,t){var r;y?r=s[f+t]:(r=xO(e,u),Array.isArray(r)?m=!0:r=[v,r]);var n=null==r[1]||y&&null==xO(e,u);return g?{x:DO({axis:i,ticks:a,bandSize:l,entry:e,index:t}),y:n?null:o.scale(r[1]),value:r,payload:e}:{x:n?null:i.scale(r[1]),y:DO({axis:o,ticks:c,bandSize:l,entry:e,index:t}),value:r,payload:e}}));return t=y||m?b.map((function(e){var t=Array.isArray(e.value)?e.value[0]:null;return g?{x:e.x,y:null!=t&&null!=e.y?o.scale(t):null}:{x:null!=t?i.scale(t):null,y:e.y}})):g?o.scale(v):i.scale(v),rC({points:b,baseLine:t,layout:d,isRange:m},h)})),uC(fC,"renderDotItem",(function(e,t){var r;if(Q.isValidElement(e))r=Q.cloneElement(e,t);else if(Rn(e))r=e(t);else{var n=on("recharts-area-dot","boolean"!=typeof e?e.className:"");r=Q.createElement(nP,eC({},t,{className:n}))}return r}));var hC=function(e){var t=e.xAxisId,r=Vk(),n=Fk(),i=$k(t);return null==i?null:Q.createElement(TE,pC({},i,{className:on("recharts-".concat(i.axisType," ").concat(i.axisType),i.className),viewBox:{x:0,y:0,width:r,height:n},ticksGenerator:function(e){return MO(e,!0)}}))};function dC(){return dC=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},dC.apply(this,arguments)}hC.displayName="XAxis",hC.defaultProps={allowDecimals:!0,hide:!1,orientation:"bottom",width:0,height:30,mirror:!1,xAxisId:0,tickCount:5,type:"category",padding:{left:0,right:0},allowDataOverflow:!1,scale:"auto",reversed:!1,allowDuplicatedCategory:!0};var yC=function(e){var t=e.yAxisId,r=Vk(),n=Fk(),i=Hk(t);return null==i?null:Q.createElement(TE,dC({},i,{className:on("recharts-".concat(i.axisType," ").concat(i.axisType),i.className),viewBox:{x:0,y:0,width:r,height:n},ticksGenerator:function(e){return MO(e,!0)}}))};function vC(e){return function(e){if(Array.isArray(e))return gC(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return gC(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return gC(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function gC(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}yC.displayName="YAxis",yC.defaultProps={allowDuplicatedCategory:!0,allowDecimals:!0,hide:!1,orientation:"left",width:60,height:0,mirror:!1,yAxisId:0,tickCount:5,type:"number",padding:{top:0,bottom:0},allowDataOverflow:!1,scale:"auto",reversed:!1};var mC=function(e,t,r,n,i){var o=Oa(e,Zk),a=Oa(e,nE),c=[].concat(vC(o),vC(a)),l=Oa(e,uE),u="".concat(n,"Id"),s=n[0],f=t;if(c.length&&(f=c.reduce((function(e,t){if(t.props[u]===r&&_M(t.props,"extendDomain")&&Zo(t.props[s])){var n=t.props[s];return[Math.min(e[0],n),Math.max(e[1],n)]}return e}),f)),l.length){var p="".concat(s,"1"),h="".concat(s,"2");f=l.reduce((function(e,t){if(t.props[u]===r&&_M(t.props,"extendDomain")&&Zo(t.props[p])&&Zo(t.props[h])){var n=t.props[p],i=t.props[h];return[Math.min(e[0],n,i),Math.max(e[1],n,i)]}return e}),f)}return i&&i.length&&(f=i.reduce((function(e,t){return Zo(t)?[Math.min(e[0],t),Math.max(e[1],t)]:e}),f)),f},bC={exports:{}};!function(e){var t=Object.prototype.hasOwnProperty,r="~";function n(){}function i(e,t,r){this.fn=e,this.context=t,this.once=r||!1}function o(e,t,n,o,a){if("function"!=typeof n)throw new TypeError("The listener must be a function");var c=new i(n,o||e,a),l=r?r+t:t;return e._events[l]?e._events[l].fn?e._events[l]=[e._events[l],c]:e._events[l].push(c):(e._events[l]=c,e._eventsCount++),e}function a(e,t){0==--e._eventsCount?e._events=new n:delete e._events[t]}function c(){this._events=new n,this._eventsCount=0}Object.create&&(n.prototype=Object.create(null),(new n).__proto__||(r=!1)),c.prototype.eventNames=function(){var e,n,i=[];if(0===this._eventsCount)return i;for(n in e=this._events)t.call(e,n)&&i.push(r?n.slice(1):n);return Object.getOwnPropertySymbols?i.concat(Object.getOwnPropertySymbols(e)):i},c.prototype.listeners=function(e){var t=r?r+e:e,n=this._events[t];if(!n)return[];if(n.fn)return[n.fn];for(var i=0,o=n.length,a=new Array(o);i<o;i++)a[i]=n[i].fn;return a},c.prototype.listenerCount=function(e){var t=r?r+e:e,n=this._events[t];return n?n.fn?1:n.length:0},c.prototype.emit=function(e,t,n,i,o,a){var c=r?r+e:e;if(!this._events[c])return!1;var l,u,s=this._events[c],f=arguments.length;if(s.fn){switch(s.once&&this.removeListener(e,s.fn,void 0,!0),f){case 1:return s.fn.call(s.context),!0;case 2:return s.fn.call(s.context,t),!0;case 3:return s.fn.call(s.context,t,n),!0;case 4:return s.fn.call(s.context,t,n,i),!0;case 5:return s.fn.call(s.context,t,n,i,o),!0;case 6:return s.fn.call(s.context,t,n,i,o,a),!0}for(u=1,l=new Array(f-1);u<f;u++)l[u-1]=arguments[u];s.fn.apply(s.context,l)}else{var p,h=s.length;for(u=0;u<h;u++)switch(s[u].once&&this.removeListener(e,s[u].fn,void 0,!0),f){case 1:s[u].fn.call(s[u].context);break;case 2:s[u].fn.call(s[u].context,t);break;case 3:s[u].fn.call(s[u].context,t,n);break;case 4:s[u].fn.call(s[u].context,t,n,i);break;default:if(!l)for(p=1,l=new Array(f-1);p<f;p++)l[p-1]=arguments[p];s[u].fn.apply(s[u].context,l)}}return!0},c.prototype.on=function(e,t,r){return o(this,e,t,r,!1)},c.prototype.once=function(e,t,r){return o(this,e,t,r,!0)},c.prototype.removeListener=function(e,t,n,i){var o=r?r+e:e;if(!this._events[o])return this;if(!t)return a(this,o),this;var c=this._events[o];if(c.fn)c.fn!==t||i&&!c.once||n&&c.context!==n||a(this,o);else{for(var l=0,u=[],s=c.length;l<s;l++)(c[l].fn!==t||i&&!c[l].once||n&&c[l].context!==n)&&u.push(c[l]);u.length?this._events[o]=1===u.length?u[0]:u:a(this,o)}return this},c.prototype.removeAllListeners=function(e){var t;return e?(t=r?r+e:e,this._events[t]&&a(this,t)):(this._events=new n,this._eventsCount=0),this},c.prototype.off=c.prototype.removeListener,c.prototype.addListener=c.prototype.on,c.prefixed=r,c.EventEmitter=c,e.exports=c}(bC);var wC=new(Xt(bC.exports)),xC="recharts.syncMouseEvents";function OC(e){return OC="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},OC(e)}function SC(e,t,r){return t&&function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,AC(n.key),n)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function jC(e,t,r){return(t=AC(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function AC(e){var t=function(e,t){if("object"!=OC(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=OC(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==OC(t)?t:String(t)}var PC=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),jC(this,"activeIndex",0),jC(this,"coordinateList",[]),jC(this,"layout","horizontal")}return SC(e,[{key:"setDetails",value:function(e){var t,r=e.coordinateList,n=void 0===r?null:r,i=e.container,o=void 0===i?null:i,a=e.layout,c=void 0===a?null:a,l=e.offset,u=void 0===l?null:l,s=e.mouseHandlerCallback,f=void 0===s?null:s;this.coordinateList=null!==(t=null!=n?n:this.coordinateList)&&void 0!==t?t:[],this.container=null!=o?o:this.container,this.layout=null!=c?c:this.layout,this.offset=null!=u?u:this.offset,this.mouseHandlerCallback=null!=f?f:this.mouseHandlerCallback,this.activeIndex=Math.min(Math.max(this.activeIndex,0),this.coordinateList.length-1)}},{key:"focus",value:function(){this.spoofMouse()}},{key:"keyboardEvent",value:function(e){if(0!==this.coordinateList.length)switch(e.key){case"ArrowRight":if("horizontal"!==this.layout)return;this.activeIndex=Math.min(this.activeIndex+1,this.coordinateList.length-1),this.spoofMouse();break;case"ArrowLeft":if("horizontal"!==this.layout)return;this.activeIndex=Math.max(this.activeIndex-1,0),this.spoofMouse()}}},{key:"setIndex",value:function(e){this.activeIndex=e}},{key:"spoofMouse",value:function(){var e,t;if("horizontal"===this.layout&&0!==this.coordinateList.length){var r=this.container.getBoundingClientRect(),n=r.x,i=r.y,o=r.height,a=this.coordinateList[this.activeIndex].coordinate,c=(null===(e=window)||void 0===e?void 0:e.scrollX)||0,l=(null===(t=window)||void 0===t?void 0:t.scrollY)||0,u=n+a+c,s=i+this.offset.top+o/2+l;this.mouseHandlerCallback({pageX:u,pageY:s})}}}]),e}();function MC(e){var t=e.cx,r=e.cy,n=e.radius,i=e.startAngle,o=e.endAngle;return{points:[XO(t,r,n,i),XO(t,r,n,o)],cx:t,cy:r,radius:n,startAngle:i,endAngle:o}}function kC(e,t,r){var n,i,o,a;if("horizontal"===e)o=n=t.x,i=r.top,a=r.top+r.height;else if("vertical"===e)a=i=t.y,n=r.left,o=r.left+r.width;else if(null!=t.cx&&null!=t.cy){if("centric"!==e)return MC(t);var c=t.cx,l=t.cy,u=t.innerRadius,s=t.outerRadius,f=t.angle,p=XO(c,l,u,f),h=XO(c,l,s,f);n=p.x,i=p.y,o=h.x,a=h.y}return[{x:n,y:i},{x:o,y:a}]}function EC(e){return EC="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},EC(e)}function CC(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function _C(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?CC(Object(r),!0).forEach((function(t){TC(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):CC(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function TC(e,t,r){return t=function(e){var t=function(e,t){if("object"!=EC(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=EC(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==EC(t)?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function DC(e){var t,r=e.element,n=e.tooltipEventType,i=e.isActive,o=e.activeCoordinate,a=e.activePayload,c=e.offset,l=e.activeTooltipIndex,u=e.tooltipAxisBandSize,s=e.layout,f=e.chartName;if(!r||!r.props.cursor||!i||!o||"ScatterChart"!==f&&"axis"!==n)return null;var p=oj;if("ScatterChart"===f)t=o,p=fP;else if("BarChart"===f)t=function(e,t,r,n){var i=n/2;return{stroke:"none",fill:"#ccc",x:"horizontal"===e?t.x-i:r.left+.5,y:"horizontal"===e?r.top+.5:t.y-i,width:"horizontal"===e?n:r.width-1,height:"horizontal"===e?r.height-1:n}}(s,o,c,u),p=tP;else if("radial"===s){var h=MC(o),d=h.cx,y=h.cy,v=h.radius;t={cx:d,cy:y,startAngle:h.startAngle,endAngle:h.endAngle,innerRadius:v,outerRadius:v},p=LS}else t={points:kC(s,o,c)},p=oj;var g=_C(_C(_C(_C({stroke:"#ccc",pointerEvents:"none"},c),t),Ma(r.props.cursor,!1)),{},{payload:a,payloadIndex:l,className:on("recharts-tooltip-cursor",r.props.cursor.className)});return ee(r.props.cursor)?se(r.props.cursor,g):fe(p,g)}var NC=["item"],IC=["children","className","width","height","style","compact","title","desc"];function LC(e){return LC="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},LC(e)}function BC(){return BC=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},BC.apply(this,arguments)}function RC(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,o,a,c=[],l=!0,u=!1;try{if(o=(r=r.call(e)).next,0===t);else for(;!(l=(n=o.call(r)).done)&&(c.push(n.value),c.length!==t);l=!0);}catch(e){u=!0,i=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw i}}return c}}(e,t)||YC(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function zC(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function $C(e,t,r){return t&&function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,JC(n.key),n)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function HC(e,t,r){return t=FC(t),function(e,t){if(t&&("object"===LC(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return UC(e)}(e,VC()?Reflect.construct(t,r||[],FC(e).constructor):t.apply(e,r))}function VC(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(VC=function(){return!!e})()}function FC(e){return FC=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},FC(e)}function UC(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function WC(e,t){return WC=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},WC(e,t)}function qC(e){return function(e){if(Array.isArray(e))return XC(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||YC(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function YC(e,t){if(e){if("string"==typeof e)return XC(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?XC(e,t):void 0}}function XC(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function KC(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function GC(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?KC(Object(r),!0).forEach((function(t){ZC(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):KC(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function ZC(e,t,r){return(t=JC(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function JC(e){var t=function(e,t){if("object"!=LC(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=LC(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==LC(t)?t:String(t)}var QC={xAxis:["bottom","top"],yAxis:["left","right"]},e_={width:"100%",height:"100%"},t_={x:0,y:0};function r_(e){return e}var n_=function(e,t){var r=t.graphicalItems,n=t.dataStartIndex,i=t.dataEndIndex,o=(null!=r?r:[]).reduce((function(e,t){var r=t.props.data;return r&&r.length?[].concat(qC(e),qC(r)):e}),[]);return o.length>0?o:e&&e.length&&Zo(n)&&Zo(i)?e.slice(n,i+1):[]};function i_(e){return"number"===e?[0,"auto"]:void 0}var o_=function(e,t,r,n){var i=e.graphicalItems,o=e.tooltipAxis,a=n_(t,e);return r<0||!i||!i.length||r>=a.length?null:i.reduce((function(i,c){var l,u,s=null!==(l=c.props.data)&&void 0!==l?l:t;(s&&e.dataStartIndex+e.dataEndIndex!==0&&(s=s.slice(e.dataStartIndex,e.dataEndIndex+1)),o.dataKey&&!o.allowDuplicatedCategory)?u=ia(void 0===s?a:s,o.dataKey,n):u=s&&s[r]||a[r];return u?[].concat(qC(i),[HO(c,u)]):i}),[])},a_=function(e,t,r,n){var i=n||{x:e.chartX,y:e.chartY},o=function(e,t){return"horizontal"===t?e.x:"vertical"===t?e.y:"centric"===t?e.angle:e.radius}(i,r),a=e.orderedTooltipTicks,c=e.tooltipAxis,l=e.tooltipTicks,u=function(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0,o=-1,a=null!==(t=null==r?void 0:r.length)&&void 0!==t?t:0;if(a<=1)return 0;if(i&&"angleAxis"===i.axisType&&Math.abs(Math.abs(i.range[1]-i.range[0])-360)<=1e-6)for(var c=i.range,l=0;l<a;l++){var u=l>0?n[l-1].coordinate:n[a-1].coordinate,s=n[l].coordinate,f=l>=a-1?n[0].coordinate:n[l+1].coordinate,p=void 0;if(Ko(s-u)!==Ko(f-s)){var h=[];if(Ko(f-s)===Ko(c[1]-c[0])){p=f;var d=s+c[1]-c[0];h[0]=Math.min(d,(d+u)/2),h[1]=Math.max(d,(d+u)/2)}else{p=u;var y=f+c[1]-c[0];h[0]=Math.min(s,(y+s)/2),h[1]=Math.max(s,(y+s)/2)}var v=[Math.min(s,(p+s)/2),Math.max(s,(p+s)/2)];if(e>v[0]&&e<=v[1]||e>=h[0]&&e<=h[1]){o=n[l].index;break}}else{var g=Math.min(u,f),m=Math.max(u,f);if(e>(g+s)/2&&e<=(m+s)/2){o=n[l].index;break}}}else for(var b=0;b<a;b++)if(0===b&&e<=(r[b].coordinate+r[b+1].coordinate)/2||b>0&&b<a-1&&e>(r[b].coordinate+r[b-1].coordinate)/2&&e<=(r[b].coordinate+r[b+1].coordinate)/2||b===a-1&&e>(r[b].coordinate+r[b-1].coordinate)/2){o=r[b].index;break}return o}(o,a,l,c);if(u>=0&&l){var s=l[u]&&l[u].value,f=o_(e,t,u,s),p=function(e,t,r,n){var i=t.find((function(e){return e&&e.index===r}));if(i){if("horizontal"===e)return{x:i.coordinate,y:n.y};if("vertical"===e)return{x:n.x,y:i.coordinate};if("centric"===e){var o=i.coordinate,a=n.radius;return GC(GC(GC({},n),XO(n.cx,n.cy,a,o)),{},{angle:o,radius:a})}var c=i.coordinate,l=n.angle;return GC(GC(GC({},n),XO(n.cx,n.cy,c,l)),{},{angle:l,radius:c})}return t_}(r,a,u,i);return{activeTooltipIndex:u,activeLabel:s,activePayload:f,activeCoordinate:p}}return null},c_=function(e,t){var r=t.axes,n=t.graphicalItems,i=t.axisType,o=t.axisIdKey,a=t.stackGroups,c=t.dataStartIndex,l=t.dataEndIndex,u=e.layout,s=e.children,f=e.stackOffset,p=PO(u,i);return r.reduce((function(t,r){var h,d=r.props,y=d.type,v=d.dataKey,g=d.allowDataOverflow,m=d.allowDuplicatedCategory,b=d.scale,w=d.ticks,x=d.includeHidden,O=r.props[o];if(t[O])return t;var S,j,A,P=n_(e.data,{graphicalItems:n.filter((function(e){return e.props[o]===O})),dataStartIndex:c,dataEndIndex:l}),M=P.length;(function(e,t,r){if("number"===r&&!0===t&&Array.isArray(e)){var n=null==e?void 0:e[0],i=null==e?void 0:e[1];if(n&&i&&Zo(n)&&Zo(i))return!0}return!1})(r.props.domain,g,y)&&(S=RO(r.props.domain,null,g),!p||"number"!==y&&"auto"===b||(A=OO(P,v,"category")));var k=i_(y);if(!S||0===S.length){var E,C=null!==(E=r.props.domain)&&void 0!==E?E:k;if(v){if(S=OO(P,v,y),"category"===y&&p){var _=function(e){if(!Array.isArray(e))return!1;for(var t=e.length,r={},n=0;n<t;n++){if(r[e[n]])return!0;r[e[n]]=!0}return!1}(S);m&&_?(j=S,S=iM(0,M)):m||(S=$O(C,S,r).reduce((function(e,t){return e.indexOf(t)>=0?e:[].concat(qC(e),[t])}),[]))}else if("category"===y)S=m?S.filter((function(e){return""!==e&&!To(e)})):$O(C,S,r).reduce((function(e,t){return e.indexOf(t)>=0||""===t||To(t)?e:[].concat(qC(e),[t])}),[]);else if("number"===y){var T=function(e,t,r,n,i){var o=t.map((function(t){return jO(e,t,r,i,n)})).filter((function(e){return!To(e)}));return o&&o.length?o.reduce((function(e,t){return[Math.min(e[0],t[0]),Math.max(e[1],t[1])]}),[1/0,-1/0]):null}(P,n.filter((function(e){return e.props[o]===O&&(x||!e.props.hide)})),v,i,u);T&&(S=T)}!p||"number"!==y&&"auto"===b||(A=OO(P,v,"category"))}else S=p?iM(0,M):a&&a[O]&&a[O].hasStack&&"number"===y?"expand"===f?[0,1]:IO(a[O].stackGroups,c,l):AO(P,n.filter((function(e){return e.props[o]===O&&(x||!e.props.hide)})),y,u,!0);if("number"===y)S=mC(s,S,O,i,w),C&&(S=RO(C,S,g));else if("category"===y&&C){var D=C;S.every((function(e){return D.indexOf(e)>=0}))&&(S=D)}}return GC(GC({},t),{},ZC({},O,GC(GC({},r.props),{},{axisType:i,domain:S,categoricalDomain:A,duplicateDomain:j,originalDomain:null!==(h=r.props.domain)&&void 0!==h?h:k,isCategorical:p,layout:u})))}),{})},l_=function(e,t){var r=t.axisType,n=void 0===r?"xAxis":r,i=t.AxisComp,o=t.graphicalItems,a=t.stackGroups,c=t.dataStartIndex,l=t.dataEndIndex,u=e.children,s="".concat(n,"Id"),f=Oa(u,i),p={};return f&&f.length?p=c_(e,{axes:f,graphicalItems:o,axisType:n,axisIdKey:s,stackGroups:a,dataStartIndex:c,dataEndIndex:l}):o&&o.length&&(p=function(e,t){var r=t.graphicalItems,n=t.Axis,i=t.axisType,o=t.axisIdKey,a=t.stackGroups,c=t.dataStartIndex,l=t.dataEndIndex,u=e.layout,s=e.children,f=n_(e.data,{graphicalItems:r,dataStartIndex:c,dataEndIndex:l}),p=f.length,h=PO(u,i),d=-1;return r.reduce((function(e,t){var y,v=t.props[o],g=i_("number");return e[v]?e:(d++,h?y=iM(0,p):a&&a[v]&&a[v].hasStack?(y=IO(a[v].stackGroups,c,l),y=mC(s,y,v,i)):(y=RO(g,AO(f,r.filter((function(e){return e.props[o]===v&&!e.props.hide})),"number",u),n.defaultProps.allowDataOverflow),y=mC(s,y,v,i)),GC(GC({},e),{},ZC({},v,GC(GC({axisType:i},n.defaultProps),{},{hide:!0,orientation:_o(QC,"".concat(i,".").concat(d%2),null),domain:y,originalDomain:g,isCategorical:h,layout:u}))))}),{})}(e,{Axis:i,graphicalItems:o,axisType:n,axisIdKey:s,stackGroups:a,dataStartIndex:c,dataEndIndex:l})),p},u_=function(e){var t=e.children,r=e.defaultShowTooltip,n=Sa(t,SM),i=0,o=0;return e.data&&0!==e.data.length&&(o=e.data.length-1),n&&n.props&&(n.props.startIndex>=0&&(i=n.props.startIndex),n.props.endIndex>=0&&(o=n.props.endIndex)),{chartX:0,chartY:0,dataStartIndex:i,dataEndIndex:o,activeTooltipIndex:-1,isTooltipActive:Boolean(r)}},s_=function(e){return"horizontal"===e?{numericAxisName:"yAxis",cateAxisName:"xAxis"}:"vertical"===e?{numericAxisName:"xAxis",cateAxisName:"yAxis"}:"centric"===e?{numericAxisName:"radiusAxis",cateAxisName:"angleAxis"}:{numericAxisName:"angleAxis",cateAxisName:"radiusAxis"}},f_=function(e,t){var r=e.props,n=(e.graphicalItems,e.xAxisMap),i=void 0===n?{}:n,o=e.yAxisMap,a=void 0===o?{}:o,c=r.width,l=r.height,u=r.children,s=r.margin||{},f=Sa(u,SM),p=Sa(u,Kp),h=Object.keys(a).reduce((function(e,t){var r=a[t],n=r.orientation;return r.mirror||r.hide?e:GC(GC({},e),{},ZC({},n,e[n]+r.width))}),{left:s.left||0,right:s.right||0}),d=Object.keys(i).reduce((function(e,t){var r=i[t],n=r.orientation;return r.mirror||r.hide?e:GC(GC({},e),{},ZC({},n,_o(e,"".concat(n))+r.height))}),{top:s.top||0,bottom:s.bottom||0}),y=GC(GC({},d),h),v=y.bottom;f&&(y.bottom+=f.props.height||SM.defaultProps.height),p&&t&&(y=function(e,t,r,n){var i=r.children,o=r.width,a=r.margin,c=o-(a.left||0)-(a.right||0),l=dO({children:i,legendWidth:c});if(l){var u=n||{},s=u.width,f=u.height,p=l.align,h=l.verticalAlign,d=l.layout;if(("vertical"===d||"horizontal"===d&&"middle"===h)&&"center"!==p&&Zo(e[p]))return gO(gO({},e),{},mO({},p,e[p]+(s||0)));if(("horizontal"===d||"vertical"===d&&"center"===p)&&"middle"!==h&&Zo(e[h]))return gO(gO({},e),{},mO({},h,e[h]+(f||0)))}return e}(y,0,r,t));var g=c-y.left-y.right,m=l-y.top-y.bottom;return GC(GC({brushBottom:v},y),{},{width:Math.max(g,0),height:Math.max(m,0)})},p_=function(e,t){return"xAxis"===t?e[t].width:"yAxis"===t?e[t].height:void 0},h_=function(e){var t,r=e.chartName,n=e.GraphicalChild,i=e.defaultTooltipEventType,o=void 0===i?"axis":i,a=e.validateTooltipEventTypes,c=void 0===a?["axis"]:a,l=e.axisComponents,u=e.legendContent,s=e.formatAxisMap,f=e.defaultProps,p=function(e,t){var r=t.graphicalItems,n=t.stackGroups,i=t.offset,o=t.updateId,a=t.dataStartIndex,c=t.dataEndIndex,u=e.barSize,s=e.layout,f=e.barGap,p=e.barCategoryGap,h=e.maxBarSize,d=s_(s),y=d.numericAxisName,v=d.cateAxisName,g=function(e){return!(!e||!e.length)&&e.some((function(e){var t=ma(e&&e.type);return t&&t.indexOf("Bar")>=0}))}(r),m=[];return r.forEach((function(r,d){var b=n_(e.data,{graphicalItems:[r],dataStartIndex:a,dataEndIndex:c}),w=r.props,x=w.dataKey,O=w.maxBarSize,S=r.props["".concat(y,"Id")],j=r.props["".concat(v,"Id")],A=l.reduce((function(e,n){var i,o,a=t["".concat(n.axisType,"Map")],c=r.props["".concat(n.axisType,"Id")];a&&a[c]||"zAxis"===n.axisType||("production"!==process.env.NODE_ENV?nO(0,"Specifying a(n) ".concat(n.axisType,"Id requires a corresponding ").concat(n.axisType,"Id on the targeted graphical component ").concat(null!==(i=null==r||null===(o=r.type)||void 0===o?void 0:o.displayName)&&void 0!==i?i:"")):nO());var l=a[c];return GC(GC({},e),{},ZC(ZC({},n.axisType,l),"".concat(n.axisType,"Ticks"),MO(l)))}),{}),P=A[v],M=A["".concat(v,"Ticks")],k=n&&n[S]&&n[S].hasStack&&function(e,t){var r=e.props.stackId;if(Jo(r)){var n=t[r];if(n){var i=n.items.indexOf(e);return i>=0?n.stackedData[i]:null}}return null}(r,n[S].stackGroups),E=ma(r.type).indexOf("Bar")>=0,C=zO(P,M),_=[],T=g&&function(e){var t=e.barSize,r=e.totalSize,n=e.stackGroups,i=void 0===n?{}:n;if(!i)return{};for(var o={},a=Object.keys(i),c=0,l=a.length;c<l;c++)for(var u=i[a[c]].stackGroups,s=Object.keys(u),f=0,p=s.length;f<p;f++){var h=u[s[f]],d=h.items,y=h.cateAxisId,v=d.filter((function(e){return ma(e.type).indexOf("Bar")>=0}));if(v&&v.length){var g=v[0].props.barSize,m=v[0].props[y];o[m]||(o[m]=[]);var b=To(g)?t:g;o[m].push({item:v[0],stackList:v.slice(1),barSize:To(b)?void 0:ta(b,r,0)})}}return o}({barSize:u,stackGroups:n,totalSize:p_(A,v)});if(E){var D,N,I=To(O)?h:O,L=null!==(D=null!==(N=zO(P,M,!0))&&void 0!==N?N:I)&&void 0!==D?D:0;_=function(e){var t=e.barGap,r=e.barCategoryGap,n=e.bandSize,i=e.sizeList,o=void 0===i?[]:i,a=e.maxBarSize,c=o.length;if(c<1)return null;var l,u=ta(t,n,0,!0),s=[];if(o[0].barSize===+o[0].barSize){var f=!1,p=n/c,h=o.reduce((function(e,t){return e+t.barSize||0}),0);(h+=(c-1)*u)>=n&&(h-=(c-1)*u,u=0),h>=n&&p>0&&(f=!0,h=c*(p*=.9));var d={offset:((n-h)/2|0)-u,size:0};l=o.reduce((function(e,t){var r={item:t.item,position:{offset:d.offset+d.size+u,size:f?p:t.barSize}},n=[].concat(bO(e),[r]);return d=n[n.length-1].position,t.stackList&&t.stackList.length&&t.stackList.forEach((function(e){n.push({item:e,position:d})})),n}),s)}else{var y=ta(r,n,0,!0);n-2*y-(c-1)*u<=0&&(u=0);var v=(n-2*y-(c-1)*u)/c;v>1&&(v>>=0);var g=a===+a?Math.min(v,a):v;l=o.reduce((function(e,t,r){var n=[].concat(bO(e),[{item:t.item,position:{offset:y+(v+u)*r+(v-g)/2,size:g}}]);return t.stackList&&t.stackList.length&&t.stackList.forEach((function(e){n.push({item:e,position:n[n.length-1].position})})),n}),s)}return l}({barGap:f,barCategoryGap:p,bandSize:L!==C?L:C,sizeList:T[j],maxBarSize:I}),L!==C&&(_=_.map((function(e){return GC(GC({},e),{},{position:GC(GC({},e.position),{},{offset:e.position.offset-L/2})})})))}var B,R,z=r&&r.type&&r.type.getComposedData;z&&m.push({props:GC(GC({},z(GC(GC({},A),{},{displayedData:b,props:e,dataKey:x,item:r,bandSize:C,barPosition:_,offset:i,stackedData:k,layout:s,dataStartIndex:a,dataEndIndex:c}))),{},ZC(ZC(ZC({key:r.key||"item-".concat(d)},y,A[y]),v,A[v]),"animationId",o)),childIndex:(B=r,R=e.children,xa(R).indexOf(B)),item:r})})),m},h=function(e,t){var i=e.props,o=e.dataStartIndex,a=e.dataEndIndex,c=e.updateId;if(!ja({props:i}))return null;var u=i.children,f=i.layout,h=i.stackOffset,d=i.data,y=i.reverseStackOrder,v=s_(f),g=v.numericAxisName,m=v.cateAxisName,b=Oa(u,n),w=function(e,t,r,n,i,o){if(!e)return null;var a=(o?t.reverse():t).reduce((function(e,t){var i=t.props,o=i.stackId;if(i.hide)return e;var a=t.props[r],c=e[a]||{hasStack:!1,stackGroups:{}};if(Jo(o)){var l=c.stackGroups[o]||{numericAxisId:r,cateAxisId:n,items:[]};l.items.push(t),c.hasStack=!0,c.stackGroups[o]=l}else c.stackGroups[ea("_stackId_")]={numericAxisId:r,cateAxisId:n,items:[t]};return gO(gO({},e),{},mO({},a,c))}),{});return Object.keys(a).reduce((function(t,o){var c=a[o];return c.hasStack&&(c.stackGroups=Object.keys(c.stackGroups).reduce((function(t,o){var a=c.stackGroups[o];return gO(gO({},t),{},mO({},o,{numericAxisId:r,cateAxisId:n,items:a.items,stackedData:TO(e,a.items,i)}))}),{})),gO(gO({},t),{},mO({},o,c))}),{})}(d,b,"".concat(g,"Id"),"".concat(m,"Id"),h,y),x=l.reduce((function(e,t){var r="".concat(t.axisType,"Map");return GC(GC({},e),{},ZC({},r,l_(i,GC(GC({},t),{},{graphicalItems:b,stackGroups:t.axisType===g&&w,dataStartIndex:o,dataEndIndex:a}))))}),{}),O=f_(GC(GC({},x),{},{props:i,graphicalItems:b}),null==t?void 0:t.legendBBox);Object.keys(x).forEach((function(e){x[e]=s(i,x[e],O,e.replace("Map",""),r)}));var S,j,A=x["".concat(m,"Map")],P=(S=ra(A),{tooltipTicks:j=MO(S,!1,!0),orderedTooltipTicks:Xh(j,(function(e){return e.coordinate})),tooltipAxis:S,tooltipAxisBandSize:zO(S,j)}),M=p(i,GC(GC({},x),{},{dataStartIndex:o,dataEndIndex:a,updateId:c,graphicalItems:b,stackGroups:w,offset:O}));return GC(GC({formattedGraphicalItems:M,graphicalItems:b,offset:O,stackGroups:w},P),x)};return t=function(e){function t(e){var n,i,o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),ZC(UC(o=HC(this,t,[e])),"eventEmitterSymbol",Symbol("rechartsEventEmitter")),ZC(UC(o),"accessibilityManager",new PC),ZC(UC(o),"handleLegendBBoxUpdate",(function(e){if(e){var t=o.state,r=t.dataStartIndex,n=t.dataEndIndex,i=t.updateId;o.setState(GC({legendBBox:e},h({props:o.props,dataStartIndex:r,dataEndIndex:n,updateId:i},GC(GC({},o.state),{},{legendBBox:e}))))}})),ZC(UC(o),"handleReceiveSyncEvent",(function(e,t,r){if(o.props.syncId===e){if(r===o.eventEmitterSymbol&&"function"!=typeof o.props.syncMethod)return;o.applySyncEvent(t)}})),ZC(UC(o),"handleBrushChange",(function(e){var t=e.startIndex,r=e.endIndex;if(t!==o.state.dataStartIndex||r!==o.state.dataEndIndex){var n=o.state.updateId;o.setState((function(){return GC({dataStartIndex:t,dataEndIndex:r},h({props:o.props,dataStartIndex:t,dataEndIndex:r,updateId:n},o.state))})),o.triggerSyncEvent({dataStartIndex:t,dataEndIndex:r})}})),ZC(UC(o),"handleMouseEnter",(function(e){var t=o.getMouseInfo(e);if(t){var r=GC(GC({},t),{},{isTooltipActive:!0});o.setState(r),o.triggerSyncEvent(r);var n=o.props.onMouseEnter;Rn(n)&&n(r,e)}})),ZC(UC(o),"triggeredAfterMouseMove",(function(e){var t=o.getMouseInfo(e),r=t?GC(GC({},t),{},{isTooltipActive:!0}):{isTooltipActive:!1};o.setState(r),o.triggerSyncEvent(r);var n=o.props.onMouseMove;Rn(n)&&n(r,e)})),ZC(UC(o),"handleItemMouseEnter",(function(e){o.setState((function(){return{isTooltipActive:!0,activeItem:e,activePayload:e.tooltipPayload,activeCoordinate:e.tooltipPosition||{x:e.cx,y:e.cy}}}))})),ZC(UC(o),"handleItemMouseLeave",(function(){o.setState((function(){return{isTooltipActive:!1}}))})),ZC(UC(o),"handleMouseMove",(function(e){e.persist(),o.throttleTriggeredAfterMouseMove(e)})),ZC(UC(o),"handleMouseLeave",(function(e){o.throttleTriggeredAfterMouseMove.cancel();var t={isTooltipActive:!1};o.setState(t),o.triggerSyncEvent(t);var r=o.props.onMouseLeave;Rn(r)&&r(t,e)})),ZC(UC(o),"handleOuterEvent",(function(e){var t,r=function(e){var t=e&&e.type;return t&&ga[t]?ga[t]:null}(e),n=_o(o.props,"".concat(r));r&&Rn(n)&&n(null!==(t=/.*touch.*/i.test(r)?o.getMouseInfo(e.changedTouches[0]):o.getMouseInfo(e))&&void 0!==t?t:{},e)})),ZC(UC(o),"handleClick",(function(e){var t=o.getMouseInfo(e);if(t){var r=GC(GC({},t),{},{isTooltipActive:!0});o.setState(r),o.triggerSyncEvent(r);var n=o.props.onClick;Rn(n)&&n(r,e)}})),ZC(UC(o),"handleMouseDown",(function(e){var t=o.props.onMouseDown;Rn(t)&&t(o.getMouseInfo(e),e)})),ZC(UC(o),"handleMouseUp",(function(e){var t=o.props.onMouseUp;Rn(t)&&t(o.getMouseInfo(e),e)})),ZC(UC(o),"handleTouchMove",(function(e){null!=e.changedTouches&&e.changedTouches.length>0&&o.throttleTriggeredAfterMouseMove(e.changedTouches[0])})),ZC(UC(o),"handleTouchStart",(function(e){null!=e.changedTouches&&e.changedTouches.length>0&&o.handleMouseDown(e.changedTouches[0])})),ZC(UC(o),"handleTouchEnd",(function(e){null!=e.changedTouches&&e.changedTouches.length>0&&o.handleMouseUp(e.changedTouches[0])})),ZC(UC(o),"triggerSyncEvent",(function(e){void 0!==o.props.syncId&&wC.emit(xC,o.props.syncId,e,o.eventEmitterSymbol)})),ZC(UC(o),"applySyncEvent",(function(e){var t=o.props,r=t.layout,n=t.syncMethod,i=o.state.updateId,a=e.dataStartIndex,c=e.dataEndIndex;if(void 0!==e.dataStartIndex||void 0!==e.dataEndIndex)o.setState(GC({dataStartIndex:a,dataEndIndex:c},h({props:o.props,dataStartIndex:a,dataEndIndex:c,updateId:i},o.state)));else if(void 0!==e.activeTooltipIndex){var l=e.chartX,u=e.chartY,s=e.activeTooltipIndex,f=o.state,p=f.offset,d=f.tooltipTicks;if(!p)return;if("function"==typeof n)s=n(d,e);else if("value"===n){s=-1;for(var y=0;y<d.length;y++)if(d[y].value===e.activeLabel){s=y;break}}var v=GC(GC({},p),{},{x:p.left,y:p.top}),g=Math.min(l,v.x+v.width),m=Math.min(u,v.y+v.height),b=d[s]&&d[s].value,w=o_(o.state,o.props.data,s),x=d[s]?{x:"horizontal"===r?d[s].coordinate:g,y:"horizontal"===r?m:d[s].coordinate}:t_;o.setState(GC(GC({},e),{},{activeLabel:b,activeCoordinate:x,activePayload:w,activeTooltipIndex:s}))}else o.setState(e)})),ZC(UC(o),"renderCursor",(function(e){var t,n=o.state,i=n.isTooltipActive,a=n.activeCoordinate,c=n.activePayload,l=n.offset,u=n.activeTooltipIndex,s=n.tooltipAxisBandSize,f=o.getTooltipEventType(),p=null!==(t=e.props.active)&&void 0!==t?t:i,h=o.props.layout,d=e.key||"_recharts-cursor";return Q.createElement(DC,{key:d,activeCoordinate:a,activePayload:c,activeTooltipIndex:u,chartName:r,element:e,isActive:p,layout:h,offset:l,tooltipAxisBandSize:s,tooltipEventType:f})})),ZC(UC(o),"renderPolarAxis",(function(e,t,r){var n=_o(e,"type.axisType"),i=_o(o.state,"".concat(n,"Map")),a=i&&i[e.props["".concat(n,"Id")]];return se(e,GC(GC({},a),{},{className:on(n,a.className),key:e.key||"".concat(t,"-").concat(r),ticks:MO(a,!0)}))})),ZC(UC(o),"renderPolarGrid",(function(e){var t=e.props,r=t.radialLines,n=t.polarAngles,i=t.polarRadius,a=o.state,c=a.radiusAxisMap,l=a.angleAxisMap,u=ra(c),s=ra(l),f=s.cx,p=s.cy,h=s.innerRadius,d=s.outerRadius;return se(e,{polarAngles:Array.isArray(n)?n:MO(s,!0).map((function(e){return e.coordinate})),polarRadius:Array.isArray(i)?i:MO(u,!0).map((function(e){return e.coordinate})),cx:f,cy:p,innerRadius:h,outerRadius:d,key:e.key||"polar-grid",radialLines:r})})),ZC(UC(o),"renderLegend",(function(){var e=o.state.formattedGraphicalItems,t=o.props,r=t.children,n=t.width,i=t.height,a=o.props.margin||{},c=n-(a.left||0)-(a.right||0),l=dO({children:r,formattedGraphicalItems:e,legendWidth:c,legendContent:u});if(!l)return null;var s=l.item,f=zC(l,NC);return se(s,GC(GC({},f),{},{chartWidth:n,chartHeight:i,margin:a,onBBoxUpdate:o.handleLegendBBoxUpdate}))})),ZC(UC(o),"renderTooltip",(function(){var e,t=o.props,r=t.children,n=t.accessibilityLayer,i=Sa(r,Nd);if(!i)return null;var a=o.state,c=a.isTooltipActive,l=a.activeCoordinate,u=a.activePayload,s=a.activeLabel,f=a.offset,p=null!==(e=i.props.active)&&void 0!==e?e:c;return se(i,{viewBox:GC(GC({},f),{},{x:f.left,y:f.top}),active:p,label:s,payload:p?u:[],coordinate:l,accessibilityLayer:n})})),ZC(UC(o),"renderBrush",(function(e){var t=o.props,r=t.margin,n=t.data,i=o.state,a=i.offset,c=i.dataStartIndex,l=i.dataEndIndex,u=i.updateId;return se(e,{key:e.key||"_recharts-brush",onChange:EO(o.handleBrushChange,e.props.onChange),data:n,x:Zo(e.props.x)?e.props.x:a.left,y:Zo(e.props.y)?e.props.y:a.top+a.height+a.brushBottom-(r.bottom||0),width:Zo(e.props.width)?e.props.width:a.width,startIndex:c,endIndex:l,updateId:"brush-".concat(u)})})),ZC(UC(o),"renderReferenceElement",(function(e,t,r){if(!e)return null;var n=UC(o).clipPathId,i=o.state,a=i.xAxisMap,c=i.yAxisMap,l=i.offset,u=e.props,s=u.xAxisId,f=u.yAxisId;return se(e,{key:e.key||"".concat(t,"-").concat(r),xAxis:a[s],yAxis:c[f],viewBox:{x:l.left,y:l.top,width:l.width,height:l.height},clipPathId:n})})),ZC(UC(o),"renderActivePoints",(function(e){var r=e.item,n=e.activePoint,i=e.basePoint,o=e.childIndex,a=e.isRange,c=[],l=r.props.key,u=r.item.props,s=u.activeDot,f=GC(GC({index:o,dataKey:u.dataKey,cx:n.x,cy:n.y,r:4,fill:SO(r.item),strokeWidth:2,stroke:"#fff",payload:n.payload,value:n.value,key:"".concat(l,"-activePoint-").concat(o)},Ma(s,!1)),fa(s));return c.push(t.renderActiveDot(s,f)),i?c.push(t.renderActiveDot(s,GC(GC({},f),{},{cx:i.x,cy:i.y,key:"".concat(l,"-basePoint-").concat(o)}))):a&&c.push(null),c})),ZC(UC(o),"renderGraphicChild",(function(e,t,r){var n=o.filterFormatItem(e,t,r);if(!n)return null;var i=o.getTooltipEventType(),a=o.state,c=a.isTooltipActive,l=a.tooltipAxis,u=a.activeTooltipIndex,s=a.activeLabel,f=Sa(o.props.children,Nd),p=n.props,h=p.points,d=p.isRange,y=p.baseLine,v=n.item.props,g=v.activeDot,m=v.hide,b=v.activeBar,w=v.activeShape,x=Boolean(!m&&c&&f&&(g||b||w)),O={};"axis"!==i&&f&&"click"===f.props.trigger?O={onClick:EO(o.handleItemMouseEnter,e.props.onClick)}:"axis"!==i&&(O={onMouseLeave:EO(o.handleItemMouseLeave,e.props.onMouseLeave),onMouseEnter:EO(o.handleItemMouseEnter,e.props.onMouseEnter)});var S=se(e,GC(GC({},n.props),O));if(x){if(!(u>=0)){var j,A=(null!==(j=o.getItemByXY(o.state.activeCoordinate))&&void 0!==j?j:{graphicalItem:S}).graphicalItem,P=A.item,M=void 0===P?e:P,k=A.childIndex,E=GC(GC(GC({},n.props),O),{},{activeIndex:k});return[se(M,E),null,null]}var C,_;if(l.dataKey&&!l.allowDuplicatedCategory){var T="function"==typeof l.dataKey?function(e){return"function"==typeof l.dataKey?l.dataKey(e.payload):null}:"payload.".concat(l.dataKey.toString());C=ia(h,T,s),_=d&&y&&ia(y,T,s)}else C=null==h?void 0:h[u],_=d&&y&&y[u];if(w||b){var D=void 0!==e.props.activeIndex?e.props.activeIndex:u;return[se(e,GC(GC(GC({},n.props),O),{},{activeIndex:D})),null,null]}if(!To(C))return[S].concat(qC(o.renderActivePoints({item:n,activePoint:C,basePoint:_,childIndex:u,isRange:d})))}return d?[S,null,null]:[S,null]})),ZC(UC(o),"renderCustomized",(function(e,t,r){return se(e,GC(GC({key:"recharts-customized-".concat(r)},o.props),o.state))})),ZC(UC(o),"renderMap",{CartesianGrid:{handler:r_,once:!0},ReferenceArea:{handler:o.renderReferenceElement},ReferenceLine:{handler:r_},ReferenceDot:{handler:o.renderReferenceElement},XAxis:{handler:r_},YAxis:{handler:r_},Brush:{handler:o.renderBrush,once:!0},Bar:{handler:o.renderGraphicChild},Line:{handler:o.renderGraphicChild},Area:{handler:o.renderGraphicChild},Radar:{handler:o.renderGraphicChild},RadialBar:{handler:o.renderGraphicChild},Scatter:{handler:o.renderGraphicChild},Pie:{handler:o.renderGraphicChild},Funnel:{handler:o.renderGraphicChild},Tooltip:{handler:o.renderCursor,once:!0},PolarGrid:{handler:o.renderPolarGrid,once:!0},PolarAngleAxis:{handler:o.renderPolarAxis},PolarRadiusAxis:{handler:o.renderPolarAxis},Customized:{handler:o.renderCustomized}}),o.clipPathId="".concat(null!==(n=e.id)&&void 0!==n?n:ea("recharts"),"-clip"),o.throttleTriggeredAfterMouseMove=ny(o.triggeredAfterMouseMove,null!==(i=e.throttleDelay)&&void 0!==i?i:1e3/60),o.state={},o}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&WC(e,t)}(t,de),$C(t,[{key:"componentDidMount",value:function(){var e,t;this.addListener(),this.accessibilityManager.setDetails({container:this.container,offset:{left:null!==(e=this.props.margin.left)&&void 0!==e?e:0,top:null!==(t=this.props.margin.top)&&void 0!==t?t:0},coordinateList:this.state.tooltipTicks,mouseHandlerCallback:this.triggeredAfterMouseMove,layout:this.props.layout}),this.displayDefaultTooltip()}},{key:"displayDefaultTooltip",value:function(){var e=this.props,t=e.children,r=e.data,n=e.height,i=e.layout,o=Sa(t,Nd);if(o){var a=o.props.defaultIndex;if(!("number"!=typeof a||a<0||a>this.state.tooltipTicks.length)){var c=this.state.tooltipTicks[a]&&this.state.tooltipTicks[a].value,l=o_(this.state,r,a,c),u=this.state.tooltipTicks[a].coordinate,s=(this.state.offset.top+n)/2,f="horizontal"===i?{x:u,y:s}:{y:u,x:s},p=this.state.formattedGraphicalItems.find((function(e){return"Scatter"===e.item.type.name}));p&&(f=GC(GC({},f),p.props.points[a].tooltipPosition),l=p.props.points[a].tooltipPayload);var h={activeTooltipIndex:a,isTooltipActive:!0,activeLabel:c,activePayload:l,activeCoordinate:f};this.setState(h),this.renderCursor(o),this.accessibilityManager.setIndex(a)}}}},{key:"getSnapshotBeforeUpdate",value:function(e,t){if(!this.props.accessibilityLayer)return null;var r,n;(this.state.tooltipTicks!==t.tooltipTicks&&this.accessibilityManager.setDetails({coordinateList:this.state.tooltipTicks}),this.props.layout!==e.layout&&this.accessibilityManager.setDetails({layout:this.props.layout}),this.props.margin!==e.margin)&&this.accessibilityManager.setDetails({offset:{left:null!==(r=this.props.margin.left)&&void 0!==r?r:0,top:null!==(n=this.props.margin.top)&&void 0!==n?n:0}});return null}},{key:"componentDidUpdate",value:function(e){ka([Sa(e.children,Nd)],[Sa(this.props.children,Nd)])||this.displayDefaultTooltip()}},{key:"componentWillUnmount",value:function(){this.removeListener(),this.throttleTriggeredAfterMouseMove.cancel()}},{key:"getTooltipEventType",value:function(){var e=Sa(this.props.children,Nd);if(e&&"boolean"==typeof e.props.shared){var t=e.props.shared?"axis":"item";return c.indexOf(t)>=0?t:o}return o}},{key:"getMouseInfo",value:function(e){if(!this.container)return null;var t,r=this.container,n=r.getBoundingClientRect(),i={top:(t=n).top+window.scrollY-document.documentElement.clientTop,left:t.left+window.scrollX-document.documentElement.clientLeft},o={chartX:Math.round(e.pageX-i.left),chartY:Math.round(e.pageY-i.top)},a=n.width/r.offsetWidth||1,c=this.inRange(o.chartX,o.chartY,a);if(!c)return null;var l=this.state,u=l.xAxisMap,s=l.yAxisMap;if("axis"!==this.getTooltipEventType()&&u&&s){var f=ra(u).scale,p=ra(s).scale,h=f&&f.invert?f.invert(o.chartX):null,d=p&&p.invert?p.invert(o.chartY):null;return GC(GC({},o),{},{xValue:h,yValue:d})}var y=a_(this.state,this.props.data,this.props.layout,c);return y?GC(GC({},o),y):null}},{key:"inRange",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,n=this.props.layout,i=e/r,o=t/r;if("horizontal"===n||"vertical"===n){var a=this.state.offset;return i>=a.left&&i<=a.left+a.width&&o>=a.top&&o<=a.top+a.height?{x:i,y:o}:null}var c=this.state,l=c.angleAxisMap,u=c.radiusAxisMap;if(l&&u){var s=ra(l);return ZO({x:i,y:o},s)}return null}},{key:"parseEventsOfWrapper",value:function(){var e=this.props.children,t=this.getTooltipEventType(),r=Sa(e,Nd),n={};return r&&"axis"===t&&(n="click"===r.props.trigger?{onClick:this.handleClick}:{onMouseEnter:this.handleMouseEnter,onMouseMove:this.handleMouseMove,onMouseLeave:this.handleMouseLeave,onTouchMove:this.handleTouchMove,onTouchStart:this.handleTouchStart,onTouchEnd:this.handleTouchEnd}),GC(GC({},fa(this.props,this.handleOuterEvent)),n)}},{key:"addListener",value:function(){wC.on(xC,this.handleReceiveSyncEvent)}},{key:"removeListener",value:function(){wC.removeListener(xC,this.handleReceiveSyncEvent)}},{key:"filterFormatItem",value:function(e,t,r){for(var n=this.state.formattedGraphicalItems,i=0,o=n.length;i<o;i++){var a=n[i];if(a.item===e||a.props.key===e.key||t===ma(a.item.type)&&r===a.childIndex)return a}return null}},{key:"renderClipPath",value:function(){var e=this.clipPathId,t=this.state.offset,r=t.left,n=t.top,i=t.height,o=t.width;return Q.createElement("defs",null,Q.createElement("clipPath",{id:e},Q.createElement("rect",{x:r,y:n,height:i,width:o})))}},{key:"getXScales",value:function(){var e=this.state.xAxisMap;return e?Object.entries(e).reduce((function(e,t){var r=RC(t,2),n=r[0],i=r[1];return GC(GC({},e),{},ZC({},n,i.scale))}),{}):null}},{key:"getYScales",value:function(){var e=this.state.yAxisMap;return e?Object.entries(e).reduce((function(e,t){var r=RC(t,2),n=r[0],i=r[1];return GC(GC({},e),{},ZC({},n,i.scale))}),{}):null}},{key:"getXScaleByAxisId",value:function(e){var t;return null===(t=this.state.xAxisMap)||void 0===t||null===(t=t[e])||void 0===t?void 0:t.scale}},{key:"getYScaleByAxisId",value:function(e){var t;return null===(t=this.state.yAxisMap)||void 0===t||null===(t=t[e])||void 0===t?void 0:t.scale}},{key:"getItemByXY",value:function(e){var t=this.state,r=t.formattedGraphicalItems,n=t.activeItem;if(r&&r.length)for(var i=0,o=r.length;i<o;i++){var a=r[i],c=a.props,l=a.item,u=ma(l.type);if("Bar"===u){var s=(c.data||[]).find((function(t){return QA(e,t)}));if(s)return{graphicalItem:a,payload:s}}else if("RadialBar"===u){var f=(c.data||[]).find((function(t){return ZO(e,t)}));if(f)return{graphicalItem:a,payload:f}}else if(UP(a,n)||WP(a,n)||qP(a,n)){var p=GP({graphicalItem:a,activeTooltipItem:n,itemData:l.props.data}),h=void 0===l.props.activeIndex?p:l.props.activeIndex;return{graphicalItem:GC(GC({},a),{},{childIndex:h}),payload:qP(a,n)?l.props.data[p]:a.props.data[p]}}}return null}},{key:"render",value:function(){var e=this;if(!ja(this))return null;var t,r,n=this.props,i=n.children,o=n.className,a=n.width,c=n.height,l=n.style,u=n.compact,s=n.title,f=n.desc,p=zC(n,IC),h=Ma(p,!1);if(u)return Q.createElement(Rk,{state:this.state,width:this.props.width,height:this.props.height,clipPathId:this.clipPathId},Q.createElement(Na,BC({},h,{width:a,height:c,title:s,desc:f}),this.renderClipPath(),Ca(i,this.renderMap)));this.props.accessibilityLayer&&(h.tabIndex=null!==(t=this.props.tabIndex)&&void 0!==t?t:0,h.role=null!==(r=this.props.role)&&void 0!==r?r:"application",h.onKeyDown=function(t){e.accessibilityManager.keyboardEvent(t)},h.onFocus=function(){e.accessibilityManager.focus()});var d=this.parseEventsOfWrapper();return Q.createElement(Rk,{state:this.state,width:this.props.width,height:this.props.height,clipPathId:this.clipPathId},Q.createElement("div",BC({className:on("recharts-wrapper",o),style:GC({position:"relative",cursor:"default",width:a,height:c},l)},d,{ref:function(t){e.container=t}}),Q.createElement(Na,BC({},h,{width:a,height:c,title:s,desc:f,style:e_}),this.renderClipPath(),Ca(i,this.renderMap)),this.renderLegend(),this.renderTooltip()))}}]),t}(),ZC(t,"displayName",r),ZC(t,"defaultProps",GC({layout:"horizontal",stackOffset:"none",barCategoryGap:"10%",barGap:4,margin:{top:5,right:5,bottom:5,left:5},reverseStackOrder:!1,syncMethod:"index"},f)),ZC(t,"getDerivedStateFromProps",(function(e,t){var r=e.dataKey,n=e.data,i=e.children,o=e.width,a=e.height,c=e.layout,l=e.stackOffset,u=e.margin,s=t.dataStartIndex,f=t.dataEndIndex;if(void 0===t.updateId){var p=u_(e);return GC(GC(GC({},p),{},{updateId:0},h(GC(GC({props:e},p),{},{updateId:0}),t)),{},{prevDataKey:r,prevData:n,prevWidth:o,prevHeight:a,prevLayout:c,prevStackOffset:l,prevMargin:u,prevChildren:i})}if(r!==t.prevDataKey||n!==t.prevData||o!==t.prevWidth||a!==t.prevHeight||c!==t.prevLayout||l!==t.prevStackOffset||!oa(u,t.prevMargin)){var d=u_(e),y={chartX:t.chartX,chartY:t.chartY,isTooltipActive:t.isTooltipActive},v=GC(GC({},a_(t,n,c)),{},{updateId:t.updateId+1}),g=GC(GC(GC({},d),y),v);return GC(GC(GC({},g),h(GC({props:e},g),t)),{},{prevDataKey:r,prevData:n,prevWidth:o,prevHeight:a,prevLayout:c,prevStackOffset:l,prevMargin:u,prevChildren:i})}if(!ka(i,t.prevChildren)){var m,b,w,x,O=Sa(i,SM),S=O&&null!==(m=null===(b=O.props)||void 0===b?void 0:b.startIndex)&&void 0!==m?m:s,j=O&&null!==(w=null===(x=O.props)||void 0===x?void 0:x.endIndex)&&void 0!==w?w:f,A=S!==s||j!==f,P=!To(n)&&!A?t.updateId:t.updateId+1;return GC(GC({updateId:P},h(GC(GC({props:e},t),{},{updateId:P,dataStartIndex:S,dataEndIndex:j}),t)),{},{prevChildren:i,dataStartIndex:S,dataEndIndex:j})}return null})),ZC(t,"renderActiveDot",(function(e,t){var r;return r=ee(e)?se(e,t):Rn(e)?e(t):Q.createElement(nP,t),Q.createElement(Ra,{className:"recharts-active-dot",key:t.key},r)})),t},d_=h_({chartName:"LineChart",GraphicalChild:KE,axisComponents:[{axisType:"xAxis",AxisComp:hC},{axisType:"yAxis",AxisComp:yC}],formatAxisMap:jk}),y_=h_({chartName:"AreaChart",GraphicalChild:fC,axisComponents:[{axisType:"xAxis",AxisComp:hC},{axisType:"yAxis",AxisComp:yC}],formatAxisMap:jk});const v_=({chartId:n,formatter:i,labelFormatter:o,payload:a,cx:c,cy:l})=>{const u=document.getElementById(n)?.clientWidth||0,s=100;return c<20||u-c<20?t(r,{}):e("svg",{x:c-50,y:l-60,width:s,height:68,viewBox:"0 0 100 68",xmlns:"http://www.w3.org/2000/svg",children:[t("rect",{fill:"white",width:"98",height:"45",stroke:yr.coolElegance(),strokeWidth:"1",rx:"7",ry:"7",className:"shadow"}),t("text",{y:"14",x:"50%",fontSize:10,dominantBaseline:"middle",textAnchor:"middle",children:o(0,[{payload:a}])}),t("text",{y:"30",x:"50%",fontSize:11,dominantBaseline:"middle",textAnchor:"middle",fontWeight:"bold",children:i?i(a.value):a.value}),t("svg",{viewBox:"0 0 28 28",xmlns:"http://www.w3.org/2000/svg",y:"30",opacity:"0.7",children:t("path",{d:"M -14.041 -7.717 L -13.115 -6.975 L -14.952 -6.975 L -14.041 -7.717 Z",stroke:yr.coolElegance(),transform:"matrix(-1, 0, 0, -1, 0, -2.220446049250313e-16)"})}),t("svg",{viewBox:"0 0 28 28",xmlns:"http://www.w3.org/2000/svg",y:"28",children:t("path",{d:"M -14.041 -7.717 L -13.115 -6.975 L -14.952 -6.975 L -14.041 -7.717 Z",stroke:"white",transform:"matrix(-1, 0, 0, -1, 0, -2.220446049250313e-16)"})}),t("rect",{x:43,y:"52",width:14,height:14,rx:7,fill:"white",stroke:yr.coolElegance(),strokeWidth:"2"})]})},g_=({data:r,dataKey:n,width:i="100%",height:o="100%",areaType:a="linear",showTooltip:c=!1,isAnimated:l=!1,formatter:u,labelFormatter:s,sampleRate:f,style:p})=>{const{isNetGain:h}=pr({data:r,dataKey:n}),d=rn(),y=rn(),v=f?dr({arr:r||[],n:f}):r;let g,m;v?.length?(m=h?yr.mint():yr.coolElegance(),g=v?.map((e=>({...e,[n]:Number(e[n])||0})))):(m=yr.coolElegance(),g=[{[n]:1},{[n]:1}]);const b={cursor:c&&v?.length?"crosshair":"default",...p};return t(sy,{width:i,minHeight:o,id:d,children:e(y_,{data:g,margin:{top:20,right:0,left:0,bottom:20},style:b,children:[t("defs",{children:e("linearGradient",{id:y,x1:"0",y1:"0",x2:"0",y2:"1",children:[t("stop",{offset:"5%",stopColor:m,stopOpacity:.8}),t("stop",{offset:"95%",stopColor:m,stopOpacity:0})]})}),t(yC,{domain:v?.length?["dataMin","dataMax"]:[0,2],hide:!0}),t(fC,{type:a,dataKey:n,stroke:m,fill:`url(#${y})`,isAnimationActive:l,activeDot:c?e=>v_({chartId:d,labelFormatter:s,formatter:u,...e}):void 0,dot:!1}),v?.length&&c&&t(Nd,{cursor:!1,content:()=>null})]})})},m_=({isCloseable:e,onClick:r})=>{const n=u({ssr:!1});return t(s,{children:t(f,{label:e?"Click to dismiss":null,hasArrow:!0,children:t(p,{onClick:r,cursor:e?"pointer":"default",bgColor:{base:"rgba(143, 163, 255, 0.9)",sm:"rgba(117, 143, 255, 0.9)",md:"rgba(77, 109, 255, 0.9)",lg:"rgba(24, 74, 201, 0.9)",xl:"rgba(19, 60, 164, 0.9)","2xl":"rgba(15, 47, 128, 0.9)"},color:{base:yr.black(),md:"white"},position:"fixed",top:"0",right:"0",padding:"2",fontSize:"xs",zIndex:"5",width:"10rem",boxShadow:"dark-lg",children:n})})})},b_=({children:e,...r})=>t(h,{border:"solid 1px",borderColor:yr.coolElegance(),padding:"1",borderRadius:"lg",bg:"white",width:"fit-content",size:"sm",...r,children:e}),w_=({isSelected:e,children:r,...n})=>t(d,{variant:"none",paddingX:"1",fontSize:"sm",color:e?"brand.500":yr.coolElegance(),bg:"transparent",border:"solid 1px",borderColor:e?"brand.50":"transparent",boxShadow:"none",_hover:{bg:"brand.50",color:"brand.500"},...n,children:r}),x_=({children:e,...r})=>t(y,{bg:"white",p:"4",gap:"4",w:"full",border:"solid 1px",borderColor:yr.coolElegance(),boxShadow:"none",borderRadius:"xl",...r,children:e}),O_=r=>{const{carouselContents:n,isNavVertical:i,...o}=r,[a,c]=ae(0);return n.length>=1&&t(x_,{children:e(v,{gap:10,direction:i?"column":{base:"column",md:"row"},...o,children:[n[a],e(v,{alignItems:"flex-end",justifyContent:"center",gap:6,children:[t(g,{variant:"ghost",isDisabled:0===a,"aria-label":"Previous content",icon:t(Se,{}),onClick:()=>{a>0&&a<=n.length-1&&c((e=>e-1))}}),t(g,{variant:"ghost",isDisabled:a===n.length-1,"aria-label":"Next content",icon:t(je,{}),onClick:()=>{a<n.length-1&&c((e=>e+1))}})]})]})})},S_=r=>{const{size:n,isDisabled:i,isReadOnly:o,isRequired:a,isIndeterminate:c,name:l,register:u,errorMessage:s,label:f,labelPosition:p="left",spaceBetween:h,onClick:d,...y}=r;let g;c||(g=t(Me,{}));const O=u?u(l):void 0;return e(m,{as:v,flexDir:"column",isInvalid:Boolean(s),isDisabled:i,isReadOnly:o,isRequired:a,children:[e(v,{onClick:d,w:"full",justifyContent:h?"space-between":"auto",children:["left"===p&&t(b,{fontSize:n,m:"0",mr:"3",children:f}),t(w,{icon:g,isDisabled:i,isReadOnly:o,isRequired:a,isIndeterminate:c,isInvalid:Boolean(s),size:n,...O,...y}),"right"===p&&t(b,{fontSize:n,m:"0",ml:"3",children:f})]}),t(v,{w:"full",children:s&&t(x,{size:n,children:s})})]})},j_=({children:e,onSubmit:r,...n})=>t(v,{as:"form",onSubmit:e=>{e.preventDefault(),r&&r(e)},noValidate:!0,gap:"6",flexDir:"column",...n,children:e});var A_=function(){return A_=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},A_.apply(this,arguments)};function P_(e,t,r){if(r||2===arguments.length)for(var n,i=0,o=t.length;i<o;i++)!n&&i in t||(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))}"function"==typeof SuppressedError&&SuppressedError;var M_=function(e){return e.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")},k_={k:1e3,m:1e6,b:1e9},E_=function(e){var t=e.value,r=e.groupSeparator,n=void 0===r?",":r,i=e.decimalSeparator,o=void 0===i?".":i,a=e.allowDecimals,c=void 0===a||a,l=e.decimalsLimit,u=void 0===l?2:l,s=e.allowNegativeValue,f=void 0===s||s,p=e.disableAbbreviations,h=void 0!==p&&p,d=e.prefix,y=void 0===d?"":d,v=e.transformRawValue,g=(void 0===v?function(e){return e}:v)(t);if("-"===g)return g;var m=h?[]:["k","m","b"],b=new RegExp("((^|\\D)-\\d)|(-".concat(M_(y),")")).test(g),w=RegExp("(\\d+)-?".concat(M_(y))).exec(t)||[],x=w[0],O=w[1],S=function(e,t){void 0===t&&(t=",");var r=new RegExp(M_(t),"g");return e.replace(r,"")}(y?x?g.replace(x,"").concat(O):g.replace(y,""):g,n),j=function(e,t){var r=M_(t.join("")),n=new RegExp("[^\\d".concat(r,"]"),"gi");return e.replace(n,"")}(S,P_([n,o],m,!0)),A=j;if(!h){if(m.some((function(e){return e===j.toLowerCase().replace(o,"")})))return"";var P=function(e,t){void 0===t&&(t=".");var r=new RegExp("(\\d+(".concat(M_(t),"\\d*)?)([kmb])$"),"i"),n=e.match(r);if(n){var i=n[1],o=n[3],a=k_[o.toLowerCase()];return Number(i.replace(t,"."))*a}}(j,o);P&&(A=String(P))}var M=b&&f?"-":"";if(o&&A.includes(o)){var k=j.split(o),E=k[0],C=k[1],_=u&&C?C.slice(0,u):C,T=c?"".concat(o).concat(_):"";return"".concat(M).concat(E).concat(T)}return"".concat(M).concat(A)},C_=function(e,t){var r=t.groupSeparator,n=void 0===r?",":r,i=t.decimalSeparator,o=void 0===i?".":i,a=new RegExp("\\d([^".concat(M_(n)).concat(M_(o),"0-9]+)")),c=e.match(a);return c?c[1]:void 0},__=function(e){var t=e.value,r=e.decimalSeparator,n=e.intlConfig,i=e.decimalScale,o=e.prefix,a=void 0===o?"":o,c=e.suffix,l=void 0===c?"":c;if(""===t||void 0===t)return"";if("-"===t)return"-";var u=new RegExp("^\\d?-".concat(a?"".concat(M_(a),"?"):"","\\d")).test(t),s="."!==r?T_(t,r,u):t;r&&"-"!==r&&s.startsWith(r)&&(s="0"+s);var f={minimumFractionDigits:i||0,maximumFractionDigits:20},p=(n?new Intl.NumberFormat(n.locale,n.currency?A_(A_({},f),{style:"currency",currency:n.currency}):f):new Intl.NumberFormat(void 0,f)).formatToParts(Number(s)),h=D_(p,e),d=C_(h,A_({},e)),y=t.slice(-1)===r?r:"",v=(s.match(RegExp("\\d+\\.(\\d+)"))||[])[1];return void 0===i&&v&&r&&(h=h.includes(r)?h.replace(RegExp("(\\d+)(".concat(M_(r),")(\\d+)"),"g"),"$1$2".concat(v)):d&&!l?h.replace(d,"".concat(r).concat(v).concat(d)):"".concat(h).concat(r).concat(v)),l&&y?"".concat(h).concat(y).concat(l):d&&y?h.replace(d,"".concat(y).concat(d)):d&&l?h.replace(d,"".concat(y).concat(l)):[h,y,l].join("")},T_=function(e,t,r){var n=e;return t&&"."!==t&&(n=n.replace(RegExp(M_(t),"g"),"."),r&&"-"===t&&(n="-".concat(n.slice(1)))),n},D_=function(e,t){var r=t.prefix,n=t.groupSeparator,i=t.decimalSeparator,o=t.decimalScale,a=t.disableGroupSeparators,c=void 0!==a&&a;return e.reduce((function(e,t,a){var l=t.type,u=t.value;return 0===a&&r?"minusSign"===l?[u,r]:"currency"===l?P_(P_([],e,!0),[r],!1):[r,u]:"currency"===l?r?e:P_(P_([],e,!0),[u],!1):"group"===l?c?e:P_(P_([],e,!0),[void 0!==n?n:u],!1):"decimal"===l?void 0!==o&&0===o?e:P_(P_([],e,!0),[void 0!==i?i:u],!1):P_(P_([],e,!0),"fraction"===l?[void 0!==o?u.slice(0,o):u]:[u],!1)}),[""]).join("")},N_={currencySymbol:"",groupSeparator:"",decimalSeparator:"",prefix:"",suffix:""},I_=function(e){return RegExp(/\d/,"gi").test(e)},L_=ne((function(e,t){var r=e.allowDecimals,n=void 0===r||r,i=e.allowNegativeValue,o=void 0===i||i,a=e.id,c=e.name,l=e.className,u=e.customInput,s=e.decimalsLimit,f=e.defaultValue,p=e.disabled,h=void 0!==p&&p,d=e.maxLength,y=e.value,v=e.onValueChange,g=e.fixedDecimalLength,m=e.placeholder,b=e.decimalScale,w=e.prefix,x=e.suffix,O=e.intlConfig,S=e.step,j=e.min,A=e.max,P=e.disableGroupSeparators,M=void 0!==P&&P,k=e.disableAbbreviations,E=void 0!==k&&k,C=e.decimalSeparator,_=e.groupSeparator,T=e.onChange,D=e.onFocus,N=e.onBlur,I=e.onKeyDown,L=e.onKeyUp,B=e.transformRawValue,R=e.formatValueOnBlur,z=void 0===R||R,$=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]])}return r}(e,["allowDecimals","allowNegativeValue","id","name","className","customInput","decimalsLimit","defaultValue","disabled","maxLength","value","onValueChange","fixedDecimalLength","placeholder","decimalScale","prefix","suffix","intlConfig","step","min","max","disableGroupSeparators","disableAbbreviations","decimalSeparator","groupSeparator","onChange","onFocus","onBlur","onKeyDown","onKeyUp","transformRawValue","formatValueOnBlur"]);if(C&&I_(C))throw new Error("decimalSeparator cannot be a number");if(_&&I_(_))throw new Error("groupSeparator cannot be a number");var H=ue((function(){return function(e){var t=e||{},r=t.locale,n=t.currency;return(r?new Intl.NumberFormat(r,n?{currency:n,style:"currency"}:void 0):new Intl.NumberFormat).formatToParts(1000.1).reduce((function(e,t,r){return"currency"===t.type?A_(A_({},e),0===r?{currencySymbol:t.value,prefix:t.value}:{currencySymbol:t.value,suffix:t.value}):"group"===t.type?A_(A_({},e),{groupSeparator:t.value}):"decimal"===t.type?A_(A_({},e),{decimalSeparator:t.value}):e}),N_)}(O)}),[O]),V=C||H.decimalSeparator||"",F=_||H.groupSeparator||"";if(V&&F&&V===F&&!1===M)throw new Error("decimalSeparator cannot be the same as groupSeparator");var U={decimalSeparator:V,groupSeparator:F,disableGroupSeparators:M,intlConfig:O,prefix:w||H.prefix,suffix:x},W={decimalSeparator:V,groupSeparator:F,allowDecimals:n,decimalsLimit:s||g||2,allowNegativeValue:o,disableAbbreviations:E,prefix:w||H.prefix,transformRawValue:B},q=ae((function(){return null!=f?__(A_(A_({},U),{decimalScale:b,value:String(f)})):null!=y?__(A_(A_({},U),{decimalScale:b,value:String(y)})):""})),Y=q[0],X=q[1],K=ae(!1),G=K[0],Z=K[1],J=ae(0),ee=J[0],te=J[1],re=ae(0),ne=re[0],ce=re[1],se=ae(null),fe=se[0],pe=se[1],he=ie(null);oe(t,(function(){return he.current}));var de=function(e,t){Z(!0);var r=function(e){var t=e.selectionStart,r=e.value,n=e.lastKeyStroke,i=e.stateValue,o=e.groupSeparator,a=t,c=r;if(i&&a){var l=r.split("");return"Backspace"===n&&i[a]===o&&(l.splice(a-1,1),a-=1),"Delete"===n&&i[a]===o&&(l.splice(a,1),a+=1),{modifiedValue:c=l.join(""),cursorPosition:a}}return{modifiedValue:c,cursorPosition:t}}({selectionStart:t,value:e,lastKeyStroke:fe,stateValue:Y,groupSeparator:F}),n=r.modifiedValue,i=r.cursorPosition,o=E_(A_({value:n},W));if(!(d&&o.replace(/-/g,"").length>d)){if(""===o||"-"===o||o===V)return v&&v(void 0,c,{float:null,formatted:"",value:""}),X(o),void te(1);var a=V?o.replace(V,"."):o,l=parseFloat(a),u=__(A_({value:o},U));if(null!=i){var s=i+(u.length-e.length);s=s<=0?w?w.length:0:s,te(s),ce(ne+1)}if(X(u),v)v(o,c,{float:l,formatted:u,value:o})}};le((function(){null==y&&null==f&&X("")}),[f,y]),le((function(){G&&"-"!==Y&&he.current&&document.activeElement===he.current&&he.current.setSelectionRange(ee,ee)}),[Y,ee,he,G,ne]);var ye=A_({type:"text",inputMode:"decimal",id:a,name:c,className:l,onChange:function(e){var t=e.target,r=t.value,n=t.selectionStart;de(r,n),T&&T(e)},onBlur:function(e){var t=e.target.value,r=E_(A_({value:t},W));if("-"===r||r===V||!r)return X(""),void(N&&N(e));var n=function(e,t,r){if(void 0!==r&&e.length>1){if(0===r)return e.replace(t,"");if(e.includes(t)){var n=e.split(t),i=n[0];if((c=n[1]).length===r)return e;if(c.length>r)return"".concat(i).concat(t).concat(c.slice(0,r))}var o=e.length>r?new RegExp("(\\d+)(\\d{".concat(r,"})")):new RegExp("(\\d)(\\d+)"),a=e.match(o);if(a){i=a[1];var c=a[2];return"".concat(i).concat(t).concat(c)}}return e}(r,V,g),i=function(e,t,r){if(void 0===t&&(t="."),void 0===r||""===e||void 0===e)return e;if(!e.match(/\d/g))return"";var n=e.split(t),i=n[0],o=n[1];if(0===r)return i;var a=o||"";if(a.length<r)for(;a.length<r;)a+="0";else a=a.slice(0,r);return"".concat(i).concat(t).concat(a)}(n,V,void 0!==b?b:g),o=parseFloat(i.replace(V,".")),a=__(A_(A_({},U),{value:i}));v&&z&&v(i,c,{float:o,formatted:a,value:i}),X(a),N&&N(e)},onFocus:function(e){return D&&D(e),Y?Y.length:0},onKeyDown:function(e){var t=e.key;if(pe(t),S&&("ArrowUp"===t||"ArrowDown"===t)){e.preventDefault(),te(Y.length);var r=parseFloat(null!=y?String(y).replace(V,"."):E_(A_({value:Y},W)))||0,n="ArrowUp"===t?r+S:r-S;if(void 0!==j&&n<Number(j))return;if(void 0!==A&&n>Number(A))return;var i=String(S).includes(".")?Number(String(S).split(".")[1].length):void 0;de(String(i?n.toFixed(i):n).replace(".",V))}I&&I(e)},onKeyUp:function(e){var t=e.key,r=e.currentTarget.selectionStart;if("ArrowUp"!==t&&"ArrowDown"!==t&&"-"!==Y){var n=C_(Y,{groupSeparator:F,decimalSeparator:V});if(n&&r&&r>Y.length-n.length&&he.current){var i=Y.length-n.length;he.current.setSelectionRange(i,i)}}L&&L(e)},placeholder:m,disabled:h,value:null==y||"-"===Y||V&&Y===V?Y:__(A_(A_({},U),{decimalScale:G?void 0:b,value:String(y)})),ref:he},$);if(u){var ve=u;return Q.createElement(ve,A_({},ye))}return Q.createElement("input",A_({},ye))}));L_.displayName="CurrencyInput";const B_=O(((r,n)=>{const{size:i,isDisabled:o,isReadOnly:a,isRequired:c,spellCheck:l=!1,name:u,label:s,register:f,errorMessage:p,helperText:h,leftAddon:d,leftElement:y,rightAddon:v,rightElement:g,type:w="text",containerCss:O,...C}=r,_=hr(i),T=f?f(u):void 0,D="currency"===w?{as:L_,placeholder:"$0.00",prefix:"$",allowNegative:!1,disableAbbreviations:!0}:{};return e(m,{isInvalid:Boolean(p),isDisabled:o,isReadOnly:a,isRequired:c,sx:O,children:[s&&t(b,{className:"cf-form-label",size:i,children:s}),e(S,{size:i,children:[d&&t(j,{children:d}),y&&t(A,{w:"auto",ml:"1em",children:y}),t(P,{size:i,spellCheck:l,paddingLeft:y&&"2.5em",paddingRight:g&&"2.5em",type:"currency"===w?"text":w,...T,...D,...C,ref:n||T?.ref}),g&&t(M,{w:"auto",mr:"1em",children:g}),v&&t(k,{children:v})]}),p&&t(x,{className:"cf-form-error",size:i,children:p}),h&&t(E,{className:"cf-form-helper-text",fontSize:_,children:h})]})}));var R_=e=>null==e;var z_=e=>!R_(e)&&!Array.isArray(e)&&(e=>"object"==typeof e)(e)&&!(e=>e instanceof Date)(e),$_=e=>{const t=e.constructor&&e.constructor.prototype;return z_(t)&&t.hasOwnProperty("isPrototypeOf")},H_="undefined"!=typeof window&&void 0!==window.HTMLElement&&"undefined"!=typeof document;function V_(e){let t;const r=Array.isArray(e);if(e instanceof Date)t=new Date(e);else if(e instanceof Set)t=new Set(e);else{if(H_&&(e instanceof Blob||e instanceof FileList)||!r&&!z_(e))return e;if(t=r?[]:{},r||$_(e))for(const r in e)e.hasOwnProperty(r)&&(t[r]=V_(e[r]));else t=e}return t}var F_=e=>Array.isArray(e)?e.filter(Boolean):[],U_=e=>void 0===e,W_=(e,t,r)=>{if(!t||!z_(e))return r;const n=F_(t.split(/[,[\].]+?/)).reduce(((e,t)=>R_(e)?e:e[t]),e);return U_(n)||n===e?U_(e[t])?r:e[t]:n},q_=e=>"boolean"==typeof e,Y_=e=>/^\w*$/.test(e),X_=e=>F_(e.replace(/["|']|\]/g,"").split(/\.|\[/)),K_=(e,t,r)=>{let n=-1;const i=Y_(t)?[t]:X_(t),o=i.length,a=o-1;for(;++n<o;){const t=i[n];let o=r;if(n!==a){const r=e[t];o=z_(r)||Array.isArray(r)?r:isNaN(+i[n+1])?{}:[]}if("__proto__"===t)return;e[t]=o,e=e[t]}return e};const G_="onBlur",Z_="onChange",J_="onSubmit",Q_="onTouched",eT="all",tT="max",rT="min",nT="maxLength",iT="minLength",oT="pattern",aT="required",cT="validate",lT=Q.createContext(null);var uT=e=>z_(e)&&!Object.keys(e).length,sT=e=>Array.isArray(e)?e:[e];var fT=e=>"string"==typeof e,pT=(e,t,r,n,i)=>t?{...r[e],types:{...r[e]&&r[e].types?r[e].types:{},[n]:i||!0}}:{},hT=()=>{const e="undefined"==typeof performance?Date.now():1e3*performance.now();return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(t=>{const r=(16*Math.random()+e)%16|0;return("x"==t?r:3&r|8).toString(16)}))},dT=(e,t,r={})=>r.shouldFocus||U_(r.shouldFocus)?r.focusName||`${e}.${U_(r.focusIndex)?t:r.focusIndex}.`:"",yT=e=>({isOnSubmit:!e||e===J_,isOnBlur:e===G_,isOnChange:e===Z_,isOnAll:e===eT,isOnTouch:e===Q_});const vT=(e,t,r,n)=>{for(const r of Object.keys(e)){const i=W_(e,r);if(i){const{_f:e,...o}=i;if(e){if(e.refs&&e.refs[0]&&t(e.refs[0],r)&&!n)return!0;if(e.ref&&t(e.ref,e.name)&&!n)return!0;if(vT(o,t))break}else if(z_(o)&&vT(o,t))break}}};var gT=(e,t,r)=>{const n=sT(W_(e,r));return K_(n,"root",t[r]),K_(e,r,n),e},mT=e=>fT(e),bT=e=>e instanceof RegExp;function wT(e,t,r="validate"){if(mT(e)||Array.isArray(e)&&e.every(mT)||q_(e)&&!e)return{type:r,message:mT(e)?e:"",ref:t}}var xT=e=>z_(e)&&!bT(e)?e:{value:e,message:""},OT=async(e,t,r,n,i)=>{const{ref:o,refs:a,required:c,maxLength:l,minLength:u,min:s,max:f,pattern:p,validate:h,name:d,valueAsNumber:y,mount:v,disabled:g}=e._f,m=W_(t,d);if(!v||g)return{};const b=a?a[0]:o,w=e=>{n&&b.reportValidity&&(b.setCustomValidity(q_(e)?"":e||""),b.reportValidity())},x={};o.type,(e=>{e.type})(o);const O=(y||(e=>"file"===e.type)(o))&&U_(o.value)&&U_(m)||(e=>{if(!H_)return!1;const t=e?e.ownerDocument:0;return e instanceof(t&&t.defaultView?t.defaultView.HTMLElement:HTMLElement)})(o)&&""===o.value||""===m||Array.isArray(m)&&!m.length,S=pT.bind(null,d,r,x),j=(e,t,r,n=nT,i=iT)=>{const a=e?t:r;x[d]={type:e?n:i,message:a,ref:o,...S(e?n:i,a)}};if(!Array.isArray(m)||!m.length){const{value:e,message:t}=mT(c)?{value:!!c,message:c}:xT(c);if(e&&(x[d]={type:aT,message:t,ref:b,...S(aT,t)},!r))return w(t),x}if(!(O||R_(s)&&R_(f))){let e,t;const n=xT(f),i=xT(s);if(R_(m)||isNaN(m)){const r=o.valueAsDate||new Date(m),a=e=>new Date((new Date).toDateString()+" "+e),c="time"==o.type,l="week"==o.type;fT(n.value)&&m&&(e=c?a(m)>a(n.value):l?m>n.value:r>new Date(n.value)),fT(i.value)&&m&&(t=c?a(m)<a(i.value):l?m<i.value:r<new Date(i.value))}else{const r=o.valueAsNumber||(m?+m:m);R_(n.value)||(e=r>n.value),R_(i.value)||(t=r<i.value)}if((e||t)&&(j(!!e,n.message,i.message,tT,rT),!r))return w(x[d].message),x}if((l||u)&&!O&&(fT(m)||Array.isArray(m))){const e=xT(l),t=xT(u),n=!R_(e.value)&&m.length>+e.value,i=!R_(t.value)&&m.length<+t.value;if((n||i)&&(j(n,e.message,t.message),!r))return w(x[d].message),x}if(p&&!O&&fT(m)){const{value:e,message:t}=xT(p);if(bT(e)&&!m.match(e)&&(x[d]={type:oT,message:t,ref:o,...S(oT,t)},!r))return w(t),x}if(h)if("function"==typeof h){const e=wT(await h(m,t),b);if(e&&(x[d]={...e,...S(cT,e.message)},!r))return w(e.message),x}else if(z_(h)){let e={};for(const n in h){if(!uT(e)&&!r)break;const i=wT(await h[n](m,t),b,n);i&&(e={...i,...S(n,i.message)},w(i.message),r&&(x[d]=e))}if(!uT(e)&&(x[d]={ref:b,...e},!r))return x}return w(!0),x},ST=(e,t)=>[...e,...sT(t)],jT=e=>Array.isArray(e)?e.map((()=>{})):void 0;function AT(e,t,r){return[...e.slice(0,t),...sT(r),...e.slice(t)]}var PT=(e,t,r)=>Array.isArray(e)?(U_(e[r])&&(e[r]=void 0),e.splice(r,0,e.splice(t,1)[0]),e):[],MT=(e,t)=>[...sT(t),...sT(e)];var kT=(e,t)=>U_(t)?[]:function(e,t){let r=0;const n=[...e];for(const e of t)n.splice(e-r,1),r++;return F_(n).length?n:[]}(e,sT(t).sort(((e,t)=>e-t))),ET=(e,t,r)=>{[e[t],e[r]]=[e[r],e[t]]};function CT(e,t){const r=Array.isArray(t)?t:Y_(t)?[t]:X_(t),n=1===r.length?e:function(e,t){const r=t.slice(0,-1).length;let n=0;for(;n<r;)e=U_(e)?n++:e[t[n++]];return e}(e,r),i=r.length-1,o=r[i];return n&&delete n[o],0!==i&&(z_(n)&&uT(n)||Array.isArray(n)&&function(e){for(const t in e)if(e.hasOwnProperty(t)&&!U_(e[t]))return!1;return!0}(n))&&CT(e,r.slice(0,-1)),e}var _T=(e,t,r)=>(e[t]=r,e);function TT(e){const t=Q.useContext(lT),{control:r=t.control,name:n,keyName:i="id",shouldUnregister:o}=e,[a,c]=Q.useState(r._getFieldArray(n)),l=Q.useRef(r._getFieldArray(n).map(hT)),u=Q.useRef(a),s=Q.useRef(n),f=Q.useRef(!1);s.current=n,u.current=a,r._names.array.add(n),e.rules&&r.register(n,e.rules),function(e){const t=Q.useRef(e);t.current=e,Q.useEffect((()=>{const r=!e.disabled&&t.current.subject&&t.current.subject.subscribe({next:t.current.next});return()=>{r&&r.unsubscribe()}}),[e.disabled])}({next:({values:e,name:t})=>{if(t===s.current||!t){const t=W_(e,s.current);Array.isArray(t)&&(c(t),l.current=t.map(hT))}},subject:r._subjects.array});const p=Q.useCallback((e=>{f.current=!0,r._updateFieldArray(n,e)}),[r,n]);return Q.useEffect((()=>{if(r._state.action=!1,((e,t,r)=>t.watchAll||t.watch.has(e)||[...t.watch].some((t=>e.startsWith(t)&&/^\.\w+/.test(e.slice(t.length)))))(n,r._names)&&r._subjects.state.next({...r._formState}),f.current&&(!yT(r._options.mode).isOnSubmit||r._formState.isSubmitted))if(r._options.resolver)r._executeSchema([n]).then((e=>{const t=W_(e.errors,n),i=W_(r._formState.errors,n);(i?!t&&i.type||t&&(i.type!==t.type||i.message!==t.message):t&&t.type)&&(t?K_(r._formState.errors,n,t):CT(r._formState.errors,n),r._subjects.state.next({errors:r._formState.errors}))}));else{const e=W_(r._fields,n);!e||!e._f||yT(r._options.reValidateMode).isOnSubmit&&yT(r._options.mode).isOnSubmit||OT(e,r._formValues,r._options.criteriaMode===eT,r._options.shouldUseNativeValidation).then((e=>!uT(e)&&r._subjects.state.next({errors:gT(r._formState.errors,e,n)})))}r._subjects.values.next({name:n,values:{...r._formValues}}),r._names.focus&&vT(r._fields,((e,t)=>{if(r._names.focus&&t.startsWith(r._names.focus)&&e.focus)return e.focus(),1})),r._names.focus="",r._updateValid(),f.current=!1}),[a,n,r]),Q.useEffect((()=>(!W_(r._formValues,n)&&r._updateFieldArray(n),()=>{(r._options.shouldUnregister||o)&&r.unregister(n)})),[n,r,i,o]),{swap:Q.useCallback(((e,t)=>{const i=r._getFieldArray(n);ET(i,e,t),ET(l.current,e,t),p(i),c(i),r._updateFieldArray(n,i,ET,{argA:e,argB:t},!1)}),[p,n,r]),move:Q.useCallback(((e,t)=>{const i=r._getFieldArray(n);PT(i,e,t),PT(l.current,e,t),p(i),c(i),r._updateFieldArray(n,i,PT,{argA:e,argB:t},!1)}),[p,n,r]),prepend:Q.useCallback(((e,t)=>{const i=sT(V_(e)),o=MT(r._getFieldArray(n),i);r._names.focus=dT(n,0,t),l.current=MT(l.current,i.map(hT)),p(o),c(o),r._updateFieldArray(n,o,MT,{argA:jT(e)})}),[p,n,r]),append:Q.useCallback(((e,t)=>{const i=sT(V_(e)),o=ST(r._getFieldArray(n),i);r._names.focus=dT(n,o.length-1,t),l.current=ST(l.current,i.map(hT)),p(o),c(o),r._updateFieldArray(n,o,ST,{argA:jT(e)})}),[p,n,r]),remove:Q.useCallback((e=>{const t=kT(r._getFieldArray(n),e);l.current=kT(l.current,e),p(t),c(t),r._updateFieldArray(n,t,kT,{argA:e})}),[p,n,r]),insert:Q.useCallback(((e,t,i)=>{const o=sT(V_(t)),a=AT(r._getFieldArray(n),e,o);r._names.focus=dT(n,e,i),l.current=AT(l.current,e,o.map(hT)),p(a),c(a),r._updateFieldArray(n,a,AT,{argA:e,argB:jT(t)})}),[p,n,r]),update:Q.useCallback(((e,t)=>{const i=V_(t),o=_T(r._getFieldArray(n),e,i);l.current=[...o].map(((t,r)=>t&&r!==e?l.current[r]:hT())),p(o),c([...o]),r._updateFieldArray(n,o,_T,{argA:e,argB:i},!0,!1)}),[p,n,r]),replace:Q.useCallback((e=>{const t=sT(V_(e));l.current=t.map(hT),p([...t]),c([...t]),r._updateFieldArray(n,[...t],(e=>e),{},!0,!1)}),[p,n,r]),fields:Q.useMemo((()=>a.map(((e,t)=>({...e,[i]:l.current[t]||hT()})))),[a,i])}}const DT=({name:r,control:n,register:i,defaultValues:o,onArrayAppend:a,onArrayRemove:c})=>{const{fields:l,append:u,remove:s}=TT({control:n,name:r}),p=Object.keys(o).reduce(((e,t)=>({...e,[t]:o[t]})),{});return e(C,{children:[l.map(((n,o)=>t(C,{children:e(C,{pb:6,position:"relative",children:[Object.keys(n).filter((e=>"id"!==e)).map((e=>t(B_,{label:e,name:`${r}.${o}.${e}`,register:i},`${e}-${n.id}`))),t(f,{label:"Delete",children:t(v,{position:"absolute",top:"0",right:"0",children:t(d,{"aria-label":"Delete",size:"sm",variant:"ghost",onClick:()=>{s(o),c&&c(o)},minW:"2rem",p:"0",children:"X"})})})]})},n.id))),t(v,{children:t(d,{size:"sm",onClick:()=>{u(p),a&&a(p)},ml:"auto",children:"+"})})]})},NT=({data:r,dataKey:n,width:i="100%",height:o="100%",lineType:a="linear",showTooltip:c=!1,isAnimated:l=!1,formatter:u,labelFormatter:s,sampleRate:f,style:p})=>{const{isNetGain:h}=pr({data:r,dataKey:n}),d=rn(),y=f?dr({arr:r||[],n:f}):r;let v,g;y?.length?(g=h?yr.mint():yr.heroicRed(),v=y?.map((e=>({...e,[n]:Number(e[n])||0})))):(g=yr.coolElegance(),v=[{[n]:0},{[n]:0}]);const m={cursor:c&&y?.length?"crosshair":"default",...p};return t(sy,{width:i,minHeight:o,id:d,children:e(d_,{data:v,style:m,children:[t(yC,{domain:["dataMin","dataMax"],hide:!0}),t(KE,{isAnimationActive:l,type:a,dataKey:n,stroke:g,strokeWidth:"2",activeDot:c?e=>v_({chartId:d,labelFormatter:s,formatter:u,...e}):void 0,dot:!1,scale:"threshold"}),y?.length&&c&&t(Nd,{cursor:!1,content:()=>null})]})})},IT=({isOpen:r,onClose:n,headerContent:i=null,footerContent:o=null,children:a,isCentered:c=!0,size:l={base:"md",md:"xl"},isDisabledCloseButton:u,bodyProps:s={},contentProps:f={},...p})=>{const h={maxHeight:"60vh",bg:"transparent",overflow:"scroll",...s},d={...{minWidth:KT},...f};return e(_,{blockScrollOnMount:!1,scrollBehavior:"inside",isOpen:r,onClose:n,isCentered:c,size:l,...p,children:[t(T,{}),e(D,{...d,children:[t(N,{children:i}),t(I,{isDisabled:u}),t(L,{...h,children:a}),o&&t(B,{borderTop:"solid 1px",borderColor:yr.coolElegance(),children:o})]})]})},LT=e=>{const{isActive:r,children:n,href:i,...o}=e;return t(R,{display:"flex",as:R,borderRadius:"md",border:"solid 1px",bg:r?"brand.50":"transparent",borderColor:r?"brand.200":"transparent",boxShadow:r?`0 8px 16px 0 ${yr.black(.08)}`:"none",href:i,alignItems:"center",lineHeight:"1",position:"relative",padding:"2",zIndex:"3",transition:"border-color 0.25s",_hover:{borderColor:!r&&yr.coolElegance(),textDecoration:"none"},...o,children:n},i)};var BT,RT={exports:{}};BT=RT,function(e,t){BT.exports=t(Q)}(0,(e=>(()=>{var t={703:(e,t,r)=>{var n=r(414);function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,t,r,i,o,a){if(a!==n){var c=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}function t(){return e}e.isRequired=e;var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:i};return r.PropTypes=r,r}},697:(e,t,r)=>{e.exports=r(703)()},414:e=>{e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},98:t=>{t.exports=e}},r={};function n(e){var i=r[e];if(void 0!==i)return i.exports;var o=r[e]={exports:{}};return t[e](o,o.exports,n),o.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return(()=>{n.r(i),n.d(i,{default:()=>w});var e=n(98),t=n.n(e),r=n(697),o=n.n(r);function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a.apply(this,arguments)}var c=function(e){var r=e.pageClassName,n=e.pageLinkClassName,i=e.page,o=e.selected,c=e.activeClassName,l=e.activeLinkClassName,u=e.getEventListener,s=e.pageSelectedHandler,f=e.href,p=e.extraAriaContext,h=e.pageLabelBuilder,d=e.rel,y=e.ariaLabel||"Page "+i+(p?" "+p:""),v=null;return o&&(v="page",y=e.ariaLabel||"Page "+i+" is your current page",r=void 0!==r?r+" "+c:c,void 0!==n?void 0!==l&&(n=n+" "+l):n=l),t().createElement("li",{className:r},t().createElement("a",a({rel:d,role:f?void 0:"button",className:n,href:f,tabIndex:o?"-1":"0","aria-label":y,"aria-current":v,onKeyPress:s},u(s)),h(i)))};c.propTypes={pageSelectedHandler:o().func.isRequired,selected:o().bool.isRequired,pageClassName:o().string,pageLinkClassName:o().string,activeClassName:o().string,activeLinkClassName:o().string,extraAriaContext:o().string,href:o().string,ariaLabel:o().string,page:o().number.isRequired,getEventListener:o().func.isRequired,pageLabelBuilder:o().func.isRequired,rel:o().string};const l=c;function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},u.apply(this,arguments)}var s=function(e){var r=e.breakLabel,n=e.breakAriaLabel,i=e.breakClassName,o=e.breakLinkClassName,a=e.breakHandler,c=e.getEventListener,l=i||"break";return t().createElement("li",{className:l},t().createElement("a",u({className:o,role:"button",tabIndex:"0","aria-label":n,onKeyPress:a},c(a)),r))};s.propTypes={breakLabel:o().oneOfType([o().string,o().node]),breakAriaLabel:o().string,breakClassName:o().string,breakLinkClassName:o().string,breakHandler:o().func.isRequired,getEventListener:o().func.isRequired};const f=s;function p(e){return null!=e?e:arguments.length>1&&void 0!==arguments[1]?arguments[1]:""}function h(e){return h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},h(e)}function d(){return d=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},d.apply(this,arguments)}function y(e,t){return y=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},y(e,t)}function v(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g(e){return g=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},g(e)}function m(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var b=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&y(e,t)}(c,e);var r,n,i,o,a=(i=c,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=g(i);if(o){var r=g(this).constructor;e=Reflect.construct(t,arguments,r)}else e=t.apply(this,arguments);return function(e,t){if(t&&("object"===h(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return v(e)}(this,e)});function c(e){var r,n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),m(v(r=a.call(this,e)),"handlePreviousPage",(function(e){var t=r.state.selected;r.handleClick(e,null,t>0?t-1:void 0,{isPrevious:!0})})),m(v(r),"handleNextPage",(function(e){var t=r.state.selected,n=r.props.pageCount;r.handleClick(e,null,t<n-1?t+1:void 0,{isNext:!0})})),m(v(r),"handlePageSelected",(function(e,t){if(r.state.selected===e)return r.callActiveCallback(e),void r.handleClick(t,null,void 0,{isActive:!0});r.handleClick(t,null,e)})),m(v(r),"handlePageChange",(function(e){r.state.selected!==e&&(r.setState({selected:e}),r.callCallback(e))})),m(v(r),"getEventListener",(function(e){return m({},r.props.eventListener,e)})),m(v(r),"handleClick",(function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=i.isPrevious,a=void 0!==o&&o,c=i.isNext,l=void 0!==c&&c,u=i.isBreak,s=void 0!==u&&u,f=i.isActive,p=void 0!==f&&f;e.preventDefault?e.preventDefault():e.returnValue=!1;var h=r.state.selected,d=r.props.onClick,y=n;if(d){var v=d({index:t,selected:h,nextSelectedPage:n,event:e,isPrevious:a,isNext:l,isBreak:s,isActive:p});if(!1===v)return;Number.isInteger(v)&&(y=v)}void 0!==y&&r.handlePageChange(y)})),m(v(r),"handleBreakClick",(function(e,t){var n=r.state.selected;r.handleClick(t,e,n<e?r.getForwardJump():r.getBackwardJump(),{isBreak:!0})})),m(v(r),"callCallback",(function(e){void 0!==r.props.onPageChange&&"function"==typeof r.props.onPageChange&&r.props.onPageChange({selected:e})})),m(v(r),"callActiveCallback",(function(e){void 0!==r.props.onPageActive&&"function"==typeof r.props.onPageActive&&r.props.onPageActive({selected:e})})),m(v(r),"getElementPageRel",(function(e){var t=r.state.selected,n=r.props,i=n.nextPageRel,o=n.prevPageRel,a=n.selectedPageRel;return t-1===e?o:t===e?a:t+1===e?i:void 0})),m(v(r),"pagination",(function(){var e=[],n=r.props,i=n.pageRangeDisplayed,o=n.pageCount,a=n.marginPagesDisplayed,c=n.breakLabel,l=n.breakClassName,u=n.breakLinkClassName,s=n.breakAriaLabels,p=r.state.selected;if(o<=i)for(var h=0;h<o;h++)e.push(r.getPageElement(h));else{var d=i/2,y=i-d;p>o-i/2?d=i-(y=o-p):p<i/2&&(y=i-(d=p));var v,g,m=function(e){return r.getPageElement(e)},b=[];for(v=0;v<o;v++){var w=v+1;if(w<=a)b.push({type:"page",index:v,display:m(v)});else if(w>o-a)b.push({type:"page",index:v,display:m(v)});else if(v>=p-d&&v<=p+(0===p&&i>1?y-1:y))b.push({type:"page",index:v,display:m(v)});else if(c&&b.length>0&&b[b.length-1].display!==g&&(i>0||a>0)){var x=v<p?s.backward:s.forward;g=t().createElement(f,{key:v,breakAriaLabel:x,breakLabel:c,breakClassName:l,breakLinkClassName:u,breakHandler:r.handleBreakClick.bind(null,v),getEventListener:r.getEventListener}),b.push({type:"break",index:v,display:g})}}b.forEach((function(t,r){var n=t;"break"===t.type&&b[r-1]&&"page"===b[r-1].type&&b[r+1]&&"page"===b[r+1].type&&b[r+1].index-b[r-1].index<=2&&(n={type:"page",index:t.index,display:m(t.index)}),e.push(n.display)}))}return e})),void 0!==e.initialPage&&void 0!==e.forcePage&&console.warn("(react-paginate): Both initialPage (".concat(e.initialPage,") and forcePage (").concat(e.forcePage,") props are provided, which is discouraged.")+" Use exclusively forcePage prop for a controlled component.\nSee https://reactjs.org/docs/forms.html#controlled-components"),n=e.initialPage?e.initialPage:e.forcePage?e.forcePage:0,r.state={selected:n},r}return r=c,(n=[{key:"componentDidMount",value:function(){var e=this.props,t=e.initialPage,r=e.disableInitialCallback,n=e.extraAriaContext,i=e.pageCount,o=e.forcePage;void 0===t||r||this.callCallback(t),n&&console.warn("DEPRECATED (react-paginate): The extraAriaContext prop is deprecated. You should now use the ariaLabelBuilder instead."),Number.isInteger(i)||console.warn("(react-paginate): The pageCount prop value provided is not an integer (".concat(i,"). Did you forget a Math.ceil()?")),void 0!==t&&t>i-1&&console.warn("(react-paginate): The initialPage prop provided is greater than the maximum page index from pageCount prop (".concat(t," > ").concat(i-1,").")),void 0!==o&&o>i-1&&console.warn("(react-paginate): The forcePage prop provided is greater than the maximum page index from pageCount prop (".concat(o," > ").concat(i-1,")."))}},{key:"componentDidUpdate",value:function(e){void 0!==this.props.forcePage&&this.props.forcePage!==e.forcePage&&(this.props.forcePage>this.props.pageCount-1&&console.warn("(react-paginate): The forcePage prop provided is greater than the maximum page index from pageCount prop (".concat(this.props.forcePage," > ").concat(this.props.pageCount-1,").")),this.setState({selected:this.props.forcePage})),Number.isInteger(e.pageCount)&&!Number.isInteger(this.props.pageCount)&&console.warn("(react-paginate): The pageCount prop value provided is not an integer (".concat(this.props.pageCount,"). Did you forget a Math.ceil()?"))}},{key:"getForwardJump",value:function(){var e=this.state.selected,t=this.props,r=t.pageCount,n=e+t.pageRangeDisplayed;return n>=r?r-1:n}},{key:"getBackwardJump",value:function(){var e=this.state.selected-this.props.pageRangeDisplayed;return e<0?0:e}},{key:"getElementHref",value:function(e){var t=this.props,r=t.hrefBuilder,n=t.pageCount,i=t.hrefAllControls;if(r)return i||e>=0&&e<n?r(e+1,n,this.state.selected):void 0}},{key:"ariaLabelBuilder",value:function(e){var t=e===this.state.selected;if(this.props.ariaLabelBuilder&&e>=0&&e<this.props.pageCount){var r=this.props.ariaLabelBuilder(e+1,t);return this.props.extraAriaContext&&!t&&(r=r+" "+this.props.extraAriaContext),r}}},{key:"getPageElement",value:function(e){var r=this.state.selected,n=this.props,i=n.pageClassName,o=n.pageLinkClassName,a=n.activeClassName,c=n.activeLinkClassName,u=n.extraAriaContext,s=n.pageLabelBuilder;return t().createElement(l,{key:e,pageSelectedHandler:this.handlePageSelected.bind(null,e),selected:r===e,rel:this.getElementPageRel(e),pageClassName:i,pageLinkClassName:o,activeClassName:a,activeLinkClassName:c,extraAriaContext:u,href:this.getElementHref(e),ariaLabel:this.ariaLabelBuilder(e),page:e+1,pageLabelBuilder:s,getEventListener:this.getEventListener})}},{key:"render",value:function(){var e=this.props.renderOnZeroPageCount;if(0===this.props.pageCount&&void 0!==e)return e?e(this.props):e;var r=this.props,n=r.disabledClassName,i=r.disabledLinkClassName,o=r.pageCount,a=r.className,c=r.containerClassName,l=r.previousLabel,u=r.previousClassName,s=r.previousLinkClassName,f=r.previousAriaLabel,h=r.prevRel,y=r.nextLabel,v=r.nextClassName,g=r.nextLinkClassName,m=r.nextAriaLabel,b=r.nextRel,w=this.state.selected,x=0===w,O=w===o-1,S="".concat(p(u)).concat(x?" ".concat(p(n)):""),j="".concat(p(v)).concat(O?" ".concat(p(n)):""),A="".concat(p(s)).concat(x?" ".concat(p(i)):""),P="".concat(p(g)).concat(O?" ".concat(p(i)):""),M=x?"true":"false",k=O?"true":"false";return t().createElement("ul",{className:a||c,role:"navigation","aria-label":"Pagination"},t().createElement("li",{className:S},t().createElement("a",d({className:A,href:this.getElementHref(w-1),tabIndex:x?"-1":"0",role:"button",onKeyPress:this.handlePreviousPage,"aria-disabled":M,"aria-label":f,rel:h},this.getEventListener(this.handlePreviousPage)),l)),this.pagination(),t().createElement("li",{className:j},t().createElement("a",d({className:P,href:this.getElementHref(w+1),tabIndex:O?"-1":"0",role:"button",onKeyPress:this.handleNextPage,"aria-disabled":k,"aria-label":m,rel:b},this.getEventListener(this.handleNextPage)),y)))}}])&&function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(r.prototype,n),Object.defineProperty(r,"prototype",{writable:!1}),c}(e.Component);m(b,"propTypes",{pageCount:o().number.isRequired,pageRangeDisplayed:o().number,marginPagesDisplayed:o().number,previousLabel:o().node,previousAriaLabel:o().string,prevPageRel:o().string,prevRel:o().string,nextLabel:o().node,nextAriaLabel:o().string,nextPageRel:o().string,nextRel:o().string,breakLabel:o().oneOfType([o().string,o().node]),breakAriaLabels:o().shape({forward:o().string,backward:o().string}),hrefBuilder:o().func,hrefAllControls:o().bool,onPageChange:o().func,onPageActive:o().func,onClick:o().func,initialPage:o().number,forcePage:o().number,disableInitialCallback:o().bool,containerClassName:o().string,className:o().string,pageClassName:o().string,pageLinkClassName:o().string,pageLabelBuilder:o().func,activeClassName:o().string,activeLinkClassName:o().string,previousClassName:o().string,nextClassName:o().string,previousLinkClassName:o().string,nextLinkClassName:o().string,disabledClassName:o().string,disabledLinkClassName:o().string,breakClassName:o().string,breakLinkClassName:o().string,extraAriaContext:o().string,ariaLabelBuilder:o().func,eventListener:o().string,renderOnZeroPageCount:o().func,selectedPageRel:o().string}),m(b,"defaultProps",{pageRangeDisplayed:2,marginPagesDisplayed:3,activeClassName:"selected",previousLabel:"Previous",previousClassName:"previous",previousAriaLabel:"Previous page",prevPageRel:"prev",prevRel:"prev",nextLabel:"Next",nextClassName:"next",nextAriaLabel:"Next page",nextPageRel:"next",nextRel:"next",breakLabel:"...",breakAriaLabels:{forward:"Jump forward",backward:"Jump backward"},disabledClassName:"disabled",disableInitialCallback:!1,pageLabelBuilder:function(e){return e},eventListener:"onClick",renderOnZeroPageCount:void 0,selectedPageRel:"canonical",hrefAllControls:!1});const w=b})(),i})()));const zT=n(Xt(RT.exports)),$T=({totalRecords:e=0,recordsPerPage:r=10,pageRangeDisplayed:n=3,handlePageClick:i,forcePage:o,...a})=>{const c=Math.ceil(e/r);return t(v,{justifyContent:{base:"center",md:"flex-end"},fontSize:{base:14,md:18},gap:2,w:"full",...a,children:t(zT,{breakLabel:"...",previousLabel:"<",nextLabel:">",onPageChange:i,pageRangeDisplayed:n,pageCount:c,renderOnZeroPageCount:null,forcePage:o,display:{base:"flex"},alignItems:"center",gap:"inherit",disabledLinkClassName:"disabled-pagination",pageLinkClassName:"pagination-link",activeClassName:"active-page",previousClassName:"previous-page-button",nextClassName:"next-page-button",sx:{listStyleType:"none",".pagination-link:hover":{backgroundColor:"brand.700"},".previous-page-button a, .next-page-button a, .pagination-link":{backgroundColor:"brand.300",borderRadius:4,color:yr.white()},".previous-page-button a, .next-page-button a":{minWidth:"2rem",display:"inline-block",textAlign:"center",paddingX:{base:2,lg:2.5}},".pagination-link":{minWidth:"2.5rem",display:"inline-block",textAlign:"center",paddingX:{base:2.5,lg:3}},".active-page a":{backgroundColor:"brand.500"},".disabled-pagination":{backgroundColor:"gray.300 !important",cursor:"not-allowed !important"}}})})},HT=({isLoading:r,hasMore:n,setLastEvaluatedKeyParams:i,lastEvaluatedKey:o,...a})=>{const[c,l]=ae([]),[u,s]=ae(1);return e(v,{w:"full",justifyContent:"flex-end",alignItems:"center",direction:"row",gap:4,...a,children:[t(d,{onClick:()=>{if(2===u)return i(void 0),l([]),void s((e=>e-1));const e=c.length-1,t=c[e-1];i(t),l((e=>e.slice(0,-1))),s((e=>e-1))},isDisabled:r||1===u,children:"Previous"}),t(d,{onClick:()=>{if(o){const e={lastEvaluatedPKey:o.pKey,lastEvaluatedSKey:o.sKey};i(e),l((t=>[...t,e])),s((e=>e+1))}},isDisabled:r||!n,children:"Next"})]})},VT=({children:e,isEnabled:r=!0,...n})=>{const i=r?ye`
17
+ */"production"===process.env.NODE_ENV?$o.exports=function(){if(Ro)return Ho;Ro=1;var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,i=e?Symbol.for("react.strict_mode"):60108,o=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,c=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,u=e?Symbol.for("react.concurrent_mode"):60111,s=e?Symbol.for("react.forward_ref"):60112,f=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,h=e?Symbol.for("react.memo"):60115,d=e?Symbol.for("react.lazy"):60116,y=e?Symbol.for("react.block"):60121,v=e?Symbol.for("react.fundamental"):60117,g=e?Symbol.for("react.responder"):60118,m=e?Symbol.for("react.scope"):60119;function b(e){if("object"==typeof e&&null!==e){var p=e.$$typeof;switch(p){case t:switch(e=e.type){case l:case u:case n:case o:case i:case f:return e;default:switch(e=e&&e.$$typeof){case c:case s:case d:case h:case a:return e;default:return p}}case r:return p}}}function w(e){return b(e)===u}return Ho.AsyncMode=l,Ho.ConcurrentMode=u,Ho.ContextConsumer=c,Ho.ContextProvider=a,Ho.Element=t,Ho.ForwardRef=s,Ho.Fragment=n,Ho.Lazy=d,Ho.Memo=h,Ho.Portal=r,Ho.Profiler=o,Ho.StrictMode=i,Ho.Suspense=f,Ho.isAsyncMode=function(e){return w(e)||b(e)===l},Ho.isConcurrentMode=w,Ho.isContextConsumer=function(e){return b(e)===c},Ho.isContextProvider=function(e){return b(e)===a},Ho.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},Ho.isForwardRef=function(e){return b(e)===s},Ho.isFragment=function(e){return b(e)===n},Ho.isLazy=function(e){return b(e)===d},Ho.isMemo=function(e){return b(e)===h},Ho.isPortal=function(e){return b(e)===r},Ho.isProfiler=function(e){return b(e)===o},Ho.isStrictMode=function(e){return b(e)===i},Ho.isSuspense=function(e){return b(e)===f},Ho.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===n||e===u||e===o||e===i||e===f||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===d||e.$$typeof===h||e.$$typeof===a||e.$$typeof===c||e.$$typeof===s||e.$$typeof===v||e.$$typeof===g||e.$$typeof===m||e.$$typeof===y)},Ho.typeOf=b,Ho}():$o.exports=(Vo||(Vo=1,"production"!==process.env.NODE_ENV&&function(){var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,i=e?Symbol.for("react.strict_mode"):60108,o=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,c=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,u=e?Symbol.for("react.concurrent_mode"):60111,s=e?Symbol.for("react.forward_ref"):60112,f=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,h=e?Symbol.for("react.memo"):60115,d=e?Symbol.for("react.lazy"):60116,y=e?Symbol.for("react.block"):60121,v=e?Symbol.for("react.fundamental"):60117,g=e?Symbol.for("react.responder"):60118,m=e?Symbol.for("react.scope"):60119;function b(e){if("object"==typeof e&&null!==e){var p=e.$$typeof;switch(p){case t:var y=e.type;switch(y){case l:case u:case n:case o:case i:case f:return y;default:var v=y&&y.$$typeof;switch(v){case c:case s:case d:case h:case a:return v;default:return p}}case r:return p}}}var w=l,x=u,O=c,S=a,j=t,A=s,P=n,M=d,k=h,E=r,C=o,_=i,T=f,D=!1;function I(e){return b(e)===u}Fo.AsyncMode=w,Fo.ConcurrentMode=x,Fo.ContextConsumer=O,Fo.ContextProvider=S,Fo.Element=j,Fo.ForwardRef=A,Fo.Fragment=P,Fo.Lazy=M,Fo.Memo=k,Fo.Portal=E,Fo.Profiler=C,Fo.StrictMode=_,Fo.Suspense=T,Fo.isAsyncMode=function(e){return D||(D=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),I(e)||b(e)===l},Fo.isConcurrentMode=I,Fo.isContextConsumer=function(e){return b(e)===c},Fo.isContextProvider=function(e){return b(e)===a},Fo.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},Fo.isForwardRef=function(e){return b(e)===s},Fo.isFragment=function(e){return b(e)===n},Fo.isLazy=function(e){return b(e)===d},Fo.isMemo=function(e){return b(e)===h},Fo.isPortal=function(e){return b(e)===r},Fo.isProfiler=function(e){return b(e)===o},Fo.isStrictMode=function(e){return b(e)===i},Fo.isSuspense=function(e){return b(e)===f},Fo.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===n||e===u||e===o||e===i||e===f||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===d||e.$$typeof===h||e.$$typeof===a||e.$$typeof===c||e.$$typeof===s||e.$$typeof===v||e.$$typeof===g||e.$$typeof===m||e.$$typeof===y)},Fo.typeOf=b}()),Fo);var Uo=$o.exports,Wo=jn,qo=An;var Yo=function(e){return"number"==typeof e||qo(e)&&"[object Number]"==Wo(e)},Xo=Gt(Yo),Ko=Yo;var Go=Gt((function(e){return Ko(e)&&e!=+e})),Zo=function(e){return 0===e?0:e>0?1:-1},Jo=function(e){return zo(e)&&e.indexOf("%")===e.length-1},Qo=function(e){return Xo(e)&&!Go(e)},ea=function(e){return Qo(e)||zo(e)},ta=0,ra=function(e){var t=++ta;return"".concat(e||"").concat(t)},na=function(e,t){var r,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!Qo(e)&&!zo(e))return n;if(Jo(e)){var o=e.indexOf("%");r=t*parseFloat(e.slice(0,o))/100}else r=+e;return Go(r)&&(r=n),i&&r>t&&(r=t),r},ia=function(e){if(!e)return null;var t=Object.keys(e);return t&&t.length?e[t[0]]:null},oa=function(e,t){return Qo(e)&&Qo(t)?function(r){return e+r*(t-e)}:function(){return t}};function aa(e,t,r){return e&&e.length?e.find((function(e){return e&&("function"==typeof t?t(e):Do(e,t))===r})):null}function ca(e,t){for(var r in e)if({}.hasOwnProperty.call(e,r)&&(!{}.hasOwnProperty.call(t,r)||e[r]!==t[r]))return!1;for(var n in t)if({}.hasOwnProperty.call(t,n)&&!{}.hasOwnProperty.call(e,n))return!1;return!0}function la(e){return la="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},la(e)}var ua=["aria-activedescendant","aria-atomic","aria-autocomplete","aria-busy","aria-checked","aria-colcount","aria-colindex","aria-colspan","aria-controls","aria-current","aria-describedby","aria-details","aria-disabled","aria-errormessage","aria-expanded","aria-flowto","aria-haspopup","aria-hidden","aria-invalid","aria-keyshortcuts","aria-label","aria-labelledby","aria-level","aria-live","aria-modal","aria-multiline","aria-multiselectable","aria-orientation","aria-owns","aria-placeholder","aria-posinset","aria-pressed","aria-readonly","aria-relevant","aria-required","aria-roledescription","aria-rowcount","aria-rowindex","aria-rowspan","aria-selected","aria-setsize","aria-sort","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext","className","color","height","id","lang","max","media","method","min","name","style","target","width","role","tabIndex","accentHeight","accumulate","additive","alignmentBaseline","allowReorder","alphabetic","amplitude","arabicForm","ascent","attributeName","attributeType","autoReverse","azimuth","baseFrequency","baselineShift","baseProfile","bbox","begin","bias","by","calcMode","capHeight","clip","clipPath","clipPathUnits","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","fx","fy","g1","g2","glyphName","glyphOrientationHorizontal","glyphOrientationVertical","glyphRef","gradientTransform","gradientUnits","hanging","horizAdvX","horizOriginX","href","ideographic","imageRendering","in2","in","intercept","k1","k2","k3","k4","k","kernelMatrix","kernelUnitLength","kerning","keyPoints","keySplines","keyTimes","lengthAdjust","letterSpacing","lightingColor","limitingConeAngle","local","markerEnd","markerHeight","markerMid","markerStart","markerUnits","markerWidth","mask","maskContentUnits","maskUnits","mathematical","mode","numOctaves","offset","opacity","operator","order","orient","orientation","origin","overflow","overlinePosition","overlineThickness","paintOrder","panose1","pathLength","patternContentUnits","patternTransform","patternUnits","pointerEvents","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","r","radius","refX","refY","renderingIntent","repeatCount","repeatDur","requiredExtensions","requiredFeatures","restart","result","rotate","rx","ry","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","textLength","textRendering","to","transform","u1","u2","underlinePosition","underlineThickness","unicode","unicodeBidi","unicodeRange","unitsPerEm","vAlphabetic","values","vectorEffect","version","vertAdvY","vertOriginX","vertOriginY","vHanging","vIdeographic","viewTarget","visibility","vMathematical","widths","wordSpacing","writingMode","x1","x2","x","xChannelSelector","xHeight","xlinkActuate","xlinkArcrole","xlinkHref","xlinkRole","xlinkShow","xlinkTitle","xlinkType","xmlBase","xmlLang","xmlns","xmlnsXlink","xmlSpace","y1","y2","y","yChannelSelector","z","zoomAndPan","ref","key","angle"],sa=["points","pathLength"],fa={svg:["viewBox","children"],polygon:sa,polyline:sa},pa=["dangerouslySetInnerHTML","onCopy","onCopyCapture","onCut","onCutCapture","onPaste","onPasteCapture","onCompositionEnd","onCompositionEndCapture","onCompositionStart","onCompositionStartCapture","onCompositionUpdate","onCompositionUpdateCapture","onFocus","onFocusCapture","onBlur","onBlurCapture","onChange","onChangeCapture","onBeforeInput","onBeforeInputCapture","onInput","onInputCapture","onReset","onResetCapture","onSubmit","onSubmitCapture","onInvalid","onInvalidCapture","onLoad","onLoadCapture","onError","onErrorCapture","onKeyDown","onKeyDownCapture","onKeyPress","onKeyPressCapture","onKeyUp","onKeyUpCapture","onAbort","onAbortCapture","onCanPlay","onCanPlayCapture","onCanPlayThrough","onCanPlayThroughCapture","onDurationChange","onDurationChangeCapture","onEmptied","onEmptiedCapture","onEncrypted","onEncryptedCapture","onEnded","onEndedCapture","onLoadedData","onLoadedDataCapture","onLoadedMetadata","onLoadedMetadataCapture","onLoadStart","onLoadStartCapture","onPause","onPauseCapture","onPlay","onPlayCapture","onPlaying","onPlayingCapture","onProgress","onProgressCapture","onRateChange","onRateChangeCapture","onSeeked","onSeekedCapture","onSeeking","onSeekingCapture","onStalled","onStalledCapture","onSuspend","onSuspendCapture","onTimeUpdate","onTimeUpdateCapture","onVolumeChange","onVolumeChangeCapture","onWaiting","onWaitingCapture","onAuxClick","onAuxClickCapture","onClick","onClickCapture","onContextMenu","onContextMenuCapture","onDoubleClick","onDoubleClickCapture","onDrag","onDragCapture","onDragEnd","onDragEndCapture","onDragEnter","onDragEnterCapture","onDragExit","onDragExitCapture","onDragLeave","onDragLeaveCapture","onDragOver","onDragOverCapture","onDragStart","onDragStartCapture","onDrop","onDropCapture","onMouseDown","onMouseDownCapture","onMouseEnter","onMouseLeave","onMouseMove","onMouseMoveCapture","onMouseOut","onMouseOutCapture","onMouseOver","onMouseOverCapture","onMouseUp","onMouseUpCapture","onSelect","onSelectCapture","onTouchCancel","onTouchCancelCapture","onTouchEnd","onTouchEndCapture","onTouchMove","onTouchMoveCapture","onTouchStart","onTouchStartCapture","onPointerDown","onPointerDownCapture","onPointerMove","onPointerMoveCapture","onPointerUp","onPointerUpCapture","onPointerCancel","onPointerCancelCapture","onPointerEnter","onPointerEnterCapture","onPointerLeave","onPointerLeaveCapture","onPointerOver","onPointerOverCapture","onPointerOut","onPointerOutCapture","onGotPointerCapture","onGotPointerCaptureCapture","onLostPointerCapture","onLostPointerCaptureCapture","onScroll","onScrollCapture","onWheel","onWheelCapture","onAnimationStart","onAnimationStartCapture","onAnimationEnd","onAnimationEndCapture","onAnimationIteration","onAnimationIterationCapture","onTransitionEnd","onTransitionEndCapture"],ha=function(e,t){if(!e||"function"==typeof e||"boolean"==typeof e)return null;var r=e;if(ee(e)&&(r=e.props),!Nn(r))return null;var n={};return Object.keys(r).forEach((function(e){pa.includes(e)&&(n[e]=t||function(t){return r[e](r,t)})})),n},da=function(e,t,r){if(!Nn(e)||"object"!==la(e))return null;var n=null;return Object.keys(e).forEach((function(i){var o=e[i];pa.includes(i)&&"function"==typeof o&&(n||(n={}),n[i]=function(e,t,r){return function(n){return e(t,r,n),null}}(o,t,r))})),n},ya=["children"],va=["children"];function ga(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function ma(e){return ma="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ma(e)}var ba={click:"onClick",mousedown:"onMouseDown",mouseup:"onMouseUp",mouseover:"onMouseOver",mousemove:"onMouseMove",mouseout:"onMouseOut",mouseenter:"onMouseEnter",mouseleave:"onMouseLeave",touchcancel:"onTouchCancel",touchend:"onTouchEnd",touchmove:"onTouchMove",touchstart:"onTouchStart"},wa=function(e){return"string"==typeof e?e:e?e.displayName||e.name||"Component":""},xa=null,Oa=null,Sa=function e(t){if(t===xa&&Array.isArray(Oa))return Oa;var r=[];return te.forEach(t,(function(t){Io(t)||(Uo.isFragment(t)?r=r.concat(e(t.props.children)):r.push(t))})),Oa=r,xa=t,r};function ja(e,t){var r=[],n=[];return n=Array.isArray(t)?t.map((function(e){return wa(e)})):[wa(t)],Sa(e).forEach((function(e){var t=Do(e,"type.displayName")||Do(e,"type.name");-1!==n.indexOf(t)&&r.push(e)})),r}function Aa(e,t){var r=ja(e,t);return r&&r[0]}var Pa=function(e){if(!e||!e.props)return!1;var t=e.props,r=t.width,n=t.height;return!(!Qo(r)||r<=0||!Qo(n)||n<=0)},Ma=["a","altGlyph","altGlyphDef","altGlyphItem","animate","animateColor","animateMotion","animateTransform","circle","clipPath","color-profile","cursor","defs","desc","ellipse","feBlend","feColormatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","font","font-face","font-face-format","font-face-name","font-face-url","foreignObject","g","glyph","glyphRef","hkern","image","line","lineGradient","marker","mask","metadata","missing-glyph","mpath","path","pattern","polygon","polyline","radialGradient","rect","script","set","stop","style","svg","switch","symbol","text","textPath","title","tref","tspan","use","view","vkern"],ka=function(e){return e&&"object"===ma(e)&&"cx"in e&&"cy"in e&&"r"in e},Ea=function(e,t,r){if(!e||"function"==typeof e||"boolean"==typeof e)return null;var n=e;if(ee(e)&&(n=e.props),!Nn(n))return null;var i={};return Object.keys(n).forEach((function(e){var o;(function(e,t,r,n){var i,o=null!==(i=null==fa?void 0:fa[n])&&void 0!==i?i:[];return!$n(e)&&(n&&o.includes(t)||ua.includes(t))||r&&pa.includes(t)})(null===(o=n)||void 0===o?void 0:o[e],e,t,r)&&(i[e]=n[e])})),i},Ca=function e(t,r){if(t===r)return!0;var n=te.count(t);if(n!==te.count(r))return!1;if(0===n)return!0;if(1===n)return _a(Array.isArray(t)?t[0]:t,Array.isArray(r)?r[0]:r);for(var i=0;i<n;i++){var o=t[i],a=r[i];if(Array.isArray(o)||Array.isArray(a)){if(!e(o,a))return!1}else if(!_a(o,a))return!1}return!0},_a=function(e,t){if(Io(e)&&Io(t))return!0;if(!Io(e)&&!Io(t)){var r=e.props||{},n=r.children,i=ga(r,ya),o=t.props||{},a=o.children,c=ga(o,va);return n&&a?ca(i,c)&&Ca(n,a):!n&&!a&&ca(i,c)}return!1},Ta=function(e,t){var r=[],n={};return Sa(e).forEach((function(e,i){if(function(e){return e&&e.type&&zo(e.type)&&Ma.indexOf(e.type)>=0}(e))r.push(e);else if(e){var o=wa(e.type),a=t[o]||{},c=a.handler,l=a.once;if(c&&(!l||!n[o])){var u=c(e,o,i);r.push(u),n[o]=!0}}})),r},Da=["children","width","height","viewBox","className","style","title","desc"];function Ia(){return Ia=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Ia.apply(this,arguments)}function Na(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function La(e){var t=e.children,r=e.width,n=e.height,i=e.viewBox,o=e.className,a=e.style,c=e.title,l=e.desc,u=Na(e,Da),s=i||{width:r,height:n,x:0,y:0},f=cn("recharts-surface",o);return Q.createElement("svg",Ia({},Ea(u,!0,"svg"),{className:f,width:r,height:n,style:a,viewBox:"".concat(s.x," ").concat(s.y," ").concat(s.width," ").concat(s.height)}),Q.createElement("title",null,c),Q.createElement("desc",null,l),t)}var Ba=["children","className"];function Ra(){return Ra=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Ra.apply(this,arguments)}function za(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}var $a=Q.forwardRef((function(e,t){var r=e.children,n=e.className,i=za(e,Ba),o=cn("recharts-layer",n);return Q.createElement("g",Ra({className:o},Ea(i,!0),{ref:t}),r)})),Ha="production"!==process.env.NODE_ENV,Va=function(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),i=2;i<r;i++)n[i-2]=arguments[i];if(Ha&&"undefined"!=typeof console&&console.warn&&(void 0===t&&console.warn("LogUtils requires an error message argument"),!e))if(void 0===t)console.warn("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var o=0;console.warn(t.replace(/%s/g,(function(){return n[o++]})))}};var Fa=function(e,t,r){var n=-1,i=e.length;t<0&&(t=-t>i?0:i+t),(r=r>i?i:r)<0&&(r+=i),i=t>r?0:r-t>>>0,t>>>=0;for(var o=Array(i);++n<i;)o[n]=e[n+t];return o},Ua=Fa;var Wa=function(e,t,r){var n=e.length;return r=void 0===r?n:r,!t&&r>=n?e:Ua(e,t,r)},qa=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");var Ya=function(e){return qa.test(e)};var Xa=function(e){return e.split("")},Ka="\\ud800-\\udfff",Ga="["+Ka+"]",Za="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",Ja="\\ud83c[\\udffb-\\udfff]",Qa="[^"+Ka+"]",ec="(?:\\ud83c[\\udde6-\\uddff]){2}",tc="[\\ud800-\\udbff][\\udc00-\\udfff]",rc="(?:"+Za+"|"+Ja+")"+"?",nc="[\\ufe0e\\ufe0f]?",ic=nc+rc+("(?:\\u200d(?:"+[Qa,ec,tc].join("|")+")"+nc+rc+")*"),oc="(?:"+[Qa+Za+"?",Za,ec,tc,Ga].join("|")+")",ac=RegExp(Ja+"(?="+Ja+")|"+oc+ic,"g");var cc=function(e){return e.match(ac)||[]},lc=Xa,uc=Ya,sc=cc;var fc=function(e){return uc(e)?sc(e):lc(e)},pc=Wa,hc=Ya,dc=fc,yc=wo;var vc=function(e){return function(t){t=yc(t);var r=hc(t)?dc(t):void 0,n=r?r[0]:t.charAt(0),i=r?pc(r,1).join(""):t.slice(1);return n[e]()+i}},gc=Gt(vc("toUpperCase"));function mc(e){return function(){return e}}const bc=Math.cos,wc=Math.sin,xc=Math.sqrt,Oc=Math.PI,Sc=2*Oc,jc=Math.PI,Ac=2*jc,Pc=1e-6,Mc=Ac-Pc;function kc(e){this._+=e[0];for(let t=1,r=e.length;t<r;++t)this._+=arguments[t]+e[t]}class Ec{constructor(e){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=null==e?kc:function(e){let t=Math.floor(e);if(!(t>=0))throw new Error(`invalid digits: ${e}`);if(t>15)return kc;const r=10**t;return function(e){this._+=e[0];for(let t=1,n=e.length;t<n;++t)this._+=Math.round(arguments[t]*r)/r+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,r,n){this._append`Q${+e},${+t},${this._x1=+r},${this._y1=+n}`}bezierCurveTo(e,t,r,n,i,o){this._append`C${+e},${+t},${+r},${+n},${this._x1=+i},${this._y1=+o}`}arcTo(e,t,r,n,i){if(e=+e,t=+t,r=+r,n=+n,(i=+i)<0)throw new Error(`negative radius: ${i}`);let o=this._x1,a=this._y1,c=r-e,l=n-t,u=o-e,s=a-t,f=u*u+s*s;if(null===this._x1)this._append`M${this._x1=e},${this._y1=t}`;else if(f>Pc)if(Math.abs(s*c-l*u)>Pc&&i){let p=r-o,h=n-a,d=c*c+l*l,y=p*p+h*h,v=Math.sqrt(d),g=Math.sqrt(f),m=i*Math.tan((jc-Math.acos((d+f-y)/(2*v*g)))/2),b=m/g,w=m/v;Math.abs(b-1)>Pc&&this._append`L${e+b*u},${t+b*s}`,this._append`A${i},${i},0,0,${+(s*p>u*h)},${this._x1=e+w*c},${this._y1=t+w*l}`}else this._append`L${this._x1=e},${this._y1=t}`;else;}arc(e,t,r,n,i,o){if(e=+e,t=+t,o=!!o,(r=+r)<0)throw new Error(`negative radius: ${r}`);let a=r*Math.cos(n),c=r*Math.sin(n),l=e+a,u=t+c,s=1^o,f=o?n-i:i-n;null===this._x1?this._append`M${l},${u}`:(Math.abs(this._x1-l)>Pc||Math.abs(this._y1-u)>Pc)&&this._append`L${l},${u}`,r&&(f<0&&(f=f%Ac+Ac),f>Mc?this._append`A${r},${r},0,1,${s},${e-a},${t-c}A${r},${r},0,1,${s},${this._x1=l},${this._y1=u}`:f>Pc&&this._append`A${r},${r},0,${+(f>=jc)},${s},${this._x1=e+r*Math.cos(i)},${this._y1=t+r*Math.sin(i)}`)}rect(e,t,r,n){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+t}h${r=+r}v${+n}h${-r}Z`}toString(){return this._}}function Cc(e){let t=3;return e.digits=function(r){if(!arguments.length)return t;if(null==r)t=null;else{const e=Math.floor(r);if(!(e>=0))throw new RangeError(`invalid digits: ${r}`);t=e}return e},()=>new Ec(t)}function _c(e){return"object"==typeof e&&"length"in e?e:Array.from(e)}function Tc(e){this._context=e}function Dc(e){return new Tc(e)}function Ic(e){return e[0]}function Nc(e){return e[1]}function Lc(e,t){var r=mc(!0),n=null,i=Dc,o=null,a=Cc(c);function c(c){var l,u,s,f=(c=_c(c)).length,p=!1;for(null==n&&(o=i(s=a())),l=0;l<=f;++l)!(l<f&&r(u=c[l],l,c))===p&&((p=!p)?o.lineStart():o.lineEnd()),p&&o.point(+e(u,l,c),+t(u,l,c));if(s)return o=null,s+""||null}return e="function"==typeof e?e:void 0===e?Ic:mc(e),t="function"==typeof t?t:void 0===t?Nc:mc(t),c.x=function(t){return arguments.length?(e="function"==typeof t?t:mc(+t),c):e},c.y=function(e){return arguments.length?(t="function"==typeof e?e:mc(+e),c):t},c.defined=function(e){return arguments.length?(r="function"==typeof e?e:mc(!!e),c):r},c.curve=function(e){return arguments.length?(i=e,null!=n&&(o=i(n)),c):i},c.context=function(e){return arguments.length?(null==e?n=o=null:o=i(n=e),c):n},c}function Bc(e,t,r){var n=null,i=mc(!0),o=null,a=Dc,c=null,l=Cc(u);function u(u){var s,f,p,h,d,y=(u=_c(u)).length,v=!1,g=new Array(y),m=new Array(y);for(null==o&&(c=a(d=l())),s=0;s<=y;++s){if(!(s<y&&i(h=u[s],s,u))===v)if(v=!v)f=s,c.areaStart(),c.lineStart();else{for(c.lineEnd(),c.lineStart(),p=s-1;p>=f;--p)c.point(g[p],m[p]);c.lineEnd(),c.areaEnd()}v&&(g[s]=+e(h,s,u),m[s]=+t(h,s,u),c.point(n?+n(h,s,u):g[s],r?+r(h,s,u):m[s]))}if(d)return c=null,d+""||null}function s(){return Lc().defined(i).curve(a).context(o)}return e="function"==typeof e?e:void 0===e?Ic:mc(+e),t="function"==typeof t?t:mc(void 0===t?0:+t),r="function"==typeof r?r:void 0===r?Nc:mc(+r),u.x=function(t){return arguments.length?(e="function"==typeof t?t:mc(+t),n=null,u):e},u.x0=function(t){return arguments.length?(e="function"==typeof t?t:mc(+t),u):e},u.x1=function(e){return arguments.length?(n=null==e?null:"function"==typeof e?e:mc(+e),u):n},u.y=function(e){return arguments.length?(t="function"==typeof e?e:mc(+e),r=null,u):t},u.y0=function(e){return arguments.length?(t="function"==typeof e?e:mc(+e),u):t},u.y1=function(e){return arguments.length?(r=null==e?null:"function"==typeof e?e:mc(+e),u):r},u.lineX0=u.lineY0=function(){return s().x(e).y(t)},u.lineY1=function(){return s().x(e).y(r)},u.lineX1=function(){return s().x(n).y(t)},u.defined=function(e){return arguments.length?(i="function"==typeof e?e:mc(!!e),u):i},u.curve=function(e){return arguments.length?(a=e,null!=o&&(c=a(o)),u):a},u.context=function(e){return arguments.length?(null==e?o=c=null:c=a(o=e),u):o},u}Tc.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._context.lineTo(e,t)}}};class Rc{constructor(e,t){this._context=e,this._x=t}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line}point(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._x?this._context.bezierCurveTo(this._x0=(this._x0+e)/2,this._y0,this._x0,t,e,t):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+t)/2,e,this._y0,e,t)}this._x0=e,this._y0=t}}var zc={draw(e,t){const r=xc(t/Oc);e.moveTo(r,0),e.arc(0,0,r,0,Sc)}},$c={draw(e,t){const r=xc(t/5)/2;e.moveTo(-3*r,-r),e.lineTo(-r,-r),e.lineTo(-r,-3*r),e.lineTo(r,-3*r),e.lineTo(r,-r),e.lineTo(3*r,-r),e.lineTo(3*r,r),e.lineTo(r,r),e.lineTo(r,3*r),e.lineTo(-r,3*r),e.lineTo(-r,r),e.lineTo(-3*r,r),e.closePath()}};const Hc=xc(1/3),Vc=2*Hc;var Fc={draw(e,t){const r=xc(t/Vc),n=r*Hc;e.moveTo(0,-r),e.lineTo(n,0),e.lineTo(0,r),e.lineTo(-n,0),e.closePath()}},Uc={draw(e,t){const r=xc(t),n=-r/2;e.rect(n,n,r,r)}};const Wc=wc(Oc/10)/wc(7*Oc/10),qc=wc(Sc/10)*Wc,Yc=-bc(Sc/10)*Wc;var Xc={draw(e,t){const r=xc(.8908130915292852*t),n=qc*r,i=Yc*r;e.moveTo(0,-r),e.lineTo(n,i);for(let t=1;t<5;++t){const o=Sc*t/5,a=bc(o),c=wc(o);e.lineTo(c*r,-a*r),e.lineTo(a*n-c*i,c*n+a*i)}e.closePath()}};const Kc=xc(3);var Gc={draw(e,t){const r=-xc(t/(3*Kc));e.moveTo(0,2*r),e.lineTo(-Kc*r,-r),e.lineTo(Kc*r,-r),e.closePath()}};const Zc=-.5,Jc=xc(3)/2,Qc=1/xc(12),el=3*(Qc/2+1);var tl={draw(e,t){const r=xc(t/el),n=r/2,i=r*Qc,o=n,a=r*Qc+r,c=-o,l=a;e.moveTo(n,i),e.lineTo(o,a),e.lineTo(c,l),e.lineTo(Zc*n-Jc*i,Jc*n+Zc*i),e.lineTo(Zc*o-Jc*a,Jc*o+Zc*a),e.lineTo(Zc*c-Jc*l,Jc*c+Zc*l),e.lineTo(Zc*n+Jc*i,Zc*i-Jc*n),e.lineTo(Zc*o+Jc*a,Zc*a-Jc*o),e.lineTo(Zc*c+Jc*l,Zc*l-Jc*c),e.closePath()}};function rl(){}function nl(e,t,r){e._context.bezierCurveTo((2*e._x0+e._x1)/3,(2*e._y0+e._y1)/3,(e._x0+2*e._x1)/3,(e._y0+2*e._y1)/3,(e._x0+4*e._x1+t)/6,(e._y0+4*e._y1+r)/6)}function il(e){this._context=e}function ol(e){this._context=e}function al(e){this._context=e}function cl(e){this._context=e}function ll(e){return e<0?-1:1}function ul(e,t,r){var n=e._x1-e._x0,i=t-e._x1,o=(e._y1-e._y0)/(n||i<0&&-0),a=(r-e._y1)/(i||n<0&&-0),c=(o*i+a*n)/(n+i);return(ll(o)+ll(a))*Math.min(Math.abs(o),Math.abs(a),.5*Math.abs(c))||0}function sl(e,t){var r=e._x1-e._x0;return r?(3*(e._y1-e._y0)/r-t)/2:t}function fl(e,t,r){var n=e._x0,i=e._y0,o=e._x1,a=e._y1,c=(o-n)/3;e._context.bezierCurveTo(n+c,i+c*t,o-c,a-c*r,o,a)}function pl(e){this._context=e}function hl(e){this._context=new dl(e)}function dl(e){this._context=e}function yl(e){this._context=e}function vl(e){var t,r,n=e.length-1,i=new Array(n),o=new Array(n),a=new Array(n);for(i[0]=0,o[0]=2,a[0]=e[0]+2*e[1],t=1;t<n-1;++t)i[t]=1,o[t]=4,a[t]=4*e[t]+2*e[t+1];for(i[n-1]=2,o[n-1]=7,a[n-1]=8*e[n-1]+e[n],t=1;t<n;++t)r=i[t]/o[t-1],o[t]-=r,a[t]-=r*a[t-1];for(i[n-1]=a[n-1]/o[n-1],t=n-2;t>=0;--t)i[t]=(a[t]-i[t+1])/o[t];for(o[n-1]=(e[n]+i[n-1])/2,t=0;t<n-1;++t)o[t]=2*e[t+1]-i[t+1];return[i,o]}function gl(e,t){this._context=e,this._t=t}function ml(e,t){if((i=e.length)>1)for(var r,n,i,o=1,a=e[t[0]],c=a.length;o<i;++o)for(n=a,a=e[t[o]],r=0;r<c;++r)a[r][1]+=a[r][0]=isNaN(n[r][1])?n[r][0]:n[r][1]}function bl(e){for(var t=e.length,r=new Array(t);--t>=0;)r[t]=t;return r}function wl(e,t){return e[t]}function xl(e){const t=[];return t.key=e,t}function Ol(e){return Ol="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ol(e)}il.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:nl(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:nl(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},ol.prototype={areaStart:rl,areaEnd:rl,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x2=e,this._y2=t;break;case 1:this._point=2,this._x3=e,this._y3=t;break;case 2:this._point=3,this._x4=e,this._y4=t,this._context.moveTo((this._x0+4*this._x1+e)/6,(this._y0+4*this._y1+t)/6);break;default:nl(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},al.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var r=(this._x0+4*this._x1+e)/6,n=(this._y0+4*this._y1+t)/6;this._line?this._context.lineTo(r,n):this._context.moveTo(r,n);break;case 3:this._point=4;default:nl(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},cl.prototype={areaStart:rl,areaEnd:rl,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(e,t){e=+e,t=+t,this._point?this._context.lineTo(e,t):(this._point=1,this._context.moveTo(e,t))}},pl.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:fl(this,this._t0,sl(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){var r=NaN;if(t=+t,(e=+e)!==this._x1||t!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,fl(this,sl(this,r=ul(this,e,t)),r);break;default:fl(this,this._t0,r=ul(this,e,t))}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t,this._t0=r}}},(hl.prototype=Object.create(pl.prototype)).point=function(e,t){pl.prototype.point.call(this,t,e)},dl.prototype={moveTo:function(e,t){this._context.moveTo(t,e)},closePath:function(){this._context.closePath()},lineTo:function(e,t){this._context.lineTo(t,e)},bezierCurveTo:function(e,t,r,n,i,o){this._context.bezierCurveTo(t,e,n,r,o,i)}},yl.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var e=this._x,t=this._y,r=e.length;if(r)if(this._line?this._context.lineTo(e[0],t[0]):this._context.moveTo(e[0],t[0]),2===r)this._context.lineTo(e[1],t[1]);else for(var n=vl(e),i=vl(t),o=0,a=1;a<r;++o,++a)this._context.bezierCurveTo(n[0][o],i[0][o],n[1][o],i[1][o],e[a],t[a]);(this._line||0!==this._line&&1===r)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(e,t){this._x.push(+e),this._y.push(+t)}},gl.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&2===this._point&&this._context.lineTo(this._x,this._y),(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t);else{var r=this._x*(1-this._t)+e*this._t;this._context.lineTo(r,this._y),this._context.lineTo(r,t)}}this._x=e,this._y=t}};var Sl=["type","size","sizeType"];function jl(){return jl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},jl.apply(this,arguments)}function Al(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Pl(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Al(Object(r),!0).forEach((function(t){Ml(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Al(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Ml(e,t,r){return t=function(e){var t=function(e,t){if("object"!=Ol(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=Ol(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Ol(t)?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function kl(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}var El={symbolCircle:zc,symbolCross:$c,symbolDiamond:Fc,symbolSquare:Uc,symbolStar:Xc,symbolTriangle:Gc,symbolWye:tl},Cl=Math.PI/180,_l=function(e){var t,r,n=e.type,i=void 0===n?"circle":n,o=e.size,a=void 0===o?64:o,c=e.sizeType,l=void 0===c?"area":c,u=Pl(Pl({},kl(e,Sl)),{},{type:i,size:a,sizeType:l}),s=u.className,f=u.cx,p=u.cy,h=Ea(u,!0);return f===+f&&p===+p&&a===+a?Q.createElement("path",jl({},h,{className:cn("recharts-symbols",s),transform:"translate(".concat(f,", ").concat(p,")"),d:(t=function(e){var t="symbol".concat(gc(e));return El[t]||zc}(i),r=function(e,t){let r=null,n=Cc(i);function i(){let i;if(r||(r=i=n()),e.apply(this,arguments).draw(r,+t.apply(this,arguments)),i)return r=null,i+""||null}return e="function"==typeof e?e:mc(e||zc),t="function"==typeof t?t:mc(void 0===t?64:+t),i.type=function(t){return arguments.length?(e="function"==typeof t?t:mc(t),i):e},i.size=function(e){return arguments.length?(t="function"==typeof e?e:mc(+e),i):t},i.context=function(e){return arguments.length?(r=null==e?null:e,i):r},i}().type(t).size(function(e,t,r){if("area"===t)return e;switch(r){case"cross":return 5*e*e/9;case"diamond":return.5*e*e/Math.sqrt(3);case"square":return e*e;case"star":var n=18*Cl;return 1.25*e*e*(Math.tan(n)-Math.tan(2*n)*Math.pow(Math.tan(n),2));case"triangle":return Math.sqrt(3)*e*e/4;case"wye":return(21-10*Math.sqrt(3))*e*e/8;default:return Math.PI*e*e/4}}(a,l,i)),r())})):null};function Tl(e){return Tl="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Tl(e)}function Dl(){return Dl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Dl.apply(this,arguments)}function Il(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Nl(e,t,r){return t&&function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,Hl(n.key),n)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function Ll(e,t,r){return t=Rl(t),function(e,t){if(t&&("object"===Tl(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Bl()?Reflect.construct(t,r||[],Rl(e).constructor):t.apply(e,r))}function Bl(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Bl=function(){return!!e})()}function Rl(e){return Rl=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Rl(e)}function zl(e,t){return zl=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},zl(e,t)}function $l(e,t,r){return(t=Hl(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Hl(e){var t=function(e,t){if("object"!=Tl(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=Tl(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Tl(t)?t:String(t)}_l.registerSymbol=function(e,t){El["symbol".concat(gc(e))]=t};var Vl=32,Fl=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Ll(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&zl(e,t)}(t,re),Nl(t,[{key:"renderIcon",value:function(e){var t=this.props.inactiveColor,r=16,n=Vl/6,i=Vl/3,o=e.inactive?t:e.color;if("plainline"===e.type)return Q.createElement("line",{strokeWidth:4,fill:"none",stroke:o,strokeDasharray:e.payload.strokeDasharray,x1:0,y1:r,x2:Vl,y2:r,className:"recharts-legend-icon"});if("line"===e.type)return Q.createElement("path",{strokeWidth:4,fill:"none",stroke:o,d:"M0,".concat(r,"h").concat(i,"\n A").concat(n,",").concat(n,",0,1,1,").concat(2*i,",").concat(r,"\n H").concat(Vl,"M").concat(2*i,",").concat(r,"\n A").concat(n,",").concat(n,",0,1,1,").concat(i,",").concat(r),className:"recharts-legend-icon"});if("rect"===e.type)return Q.createElement("path",{stroke:"none",fill:o,d:"M0,".concat(4,"h").concat(Vl,"v").concat(24,"h").concat(-32,"z"),className:"recharts-legend-icon"});if(Q.isValidElement(e.legendIcon)){var a=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Il(Object(r),!0).forEach((function(t){$l(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Il(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},e);return delete a.legendIcon,Q.cloneElement(e.legendIcon,a)}return Q.createElement(_l,{fill:o,cx:r,cy:r,size:Vl,sizeType:"diameter",type:e.type})}},{key:"renderItems",value:function(){var e=this,t=this.props,r=t.payload,n=t.iconSize,i=t.layout,o=t.formatter,a=t.inactiveColor,c={x:0,y:0,width:Vl,height:Vl},l={display:"horizontal"===i?"inline-block":"block",marginRight:10},u={display:"inline-block",verticalAlign:"middle",marginRight:4};return r.map((function(t,r){var i=t.formatter||o,s=cn($l($l({"recharts-legend-item":!0},"legend-item-".concat(r),!0),"inactive",t.inactive));if("none"===t.type)return null;var f=$n(t.value)?null:t.value;Va(!$n(t.value),'The name property is also required when using a function for the dataKey of a chart\'s cartesian components. Ex: <Bar name="Name of my Data"/>');var p=t.inactive?a:t.color;return Q.createElement("li",Dl({className:s,style:l,key:"legend-item-".concat(r)},da(e.props,t,r)),Q.createElement(La,{width:n,height:n,viewBox:c,style:u},e.renderIcon(t)),Q.createElement("span",{className:"recharts-legend-item-text",style:{color:p}},i?i(f,t,r):f))}))}},{key:"render",value:function(){var e=this.props,t=e.payload,r=e.layout,n=e.align;if(!t||!t.length)return null;var i={padding:0,margin:0,textAlign:"horizontal"===r?n:"left"};return Q.createElement("ul",{className:"recharts-default-legend",style:i},this.renderItems())}}]),t}();$l(Fl,"displayName","Legend"),$l(Fl,"defaultProps",{iconSize:14,layout:"horizontal",align:"center",verticalAlign:"middle",inactiveColor:"#ccc"});var Ul=Ri;var Wl=Ri,ql=zi,Yl=to;var Xl=Ri,Kl=function(){this.__data__=new Ul,this.size=0},Gl=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r},Zl=function(e){return this.__data__.get(e)},Jl=function(e){return this.__data__.has(e)},Ql=function(e,t){var r=this.__data__;if(r instanceof Wl){var n=r.__data__;if(!ql||n.length<199)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new Yl(n)}return r.set(e,t),this.size=r.size,this};function eu(e){var t=this.__data__=new Xl(e);this.size=t.size}eu.prototype.clear=Kl,eu.prototype.delete=Gl,eu.prototype.get=Zl,eu.prototype.has=Jl,eu.prototype.set=Ql;var tu=eu;var ru=to,nu=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},iu=function(e){return this.__data__.has(e)};function ou(e){var t=-1,r=null==e?0:e.length;for(this.__data__=new ru;++t<r;)this.add(e[t])}ou.prototype.add=ou.prototype.push=nu,ou.prototype.has=iu;var au=ou;var cu=function(e,t){for(var r=-1,n=null==e?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1};var lu=function(e,t){return e.has(t)},uu=au,su=cu,fu=lu;var pu=function(e,t,r,n,i,o){var a=1&r,c=e.length,l=t.length;if(c!=l&&!(a&&l>c))return!1;var u=o.get(e),s=o.get(t);if(u&&s)return u==t&&s==e;var f=-1,p=!0,h=2&r?new uu:void 0;for(o.set(e,t),o.set(t,e);++f<c;){var d=e[f],y=t[f];if(n)var v=a?n(y,d,f,t,e,o):n(d,y,f,e,t,o);if(void 0!==v){if(v)continue;p=!1;break}if(h){if(!su(t,(function(e,t){if(!fu(h,t)&&(d===e||i(d,e,r,n,o)))return h.push(t)}))){p=!1;break}}else if(d!==y&&!i(d,y,r,n,o)){p=!1;break}}return o.delete(e),o.delete(t),p};var hu=function(e){var t=-1,r=Array(e.size);return e.forEach((function(e,n){r[++t]=[n,e]})),r};var du=function(e){var t=-1,r=Array(e.size);return e.forEach((function(e){r[++t]=e})),r},yu=pn.Uint8Array,vu=ji,gu=pu,mu=hu,bu=du,wu=hn?hn.prototype:void 0,xu=wu?wu.valueOf:void 0;var Ou=function(e,t,r,n,i,o,a){switch(r){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!o(new yu(e),new yu(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return vu(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var c=mu;case"[object Set]":var l=1&n;if(c||(c=bu),e.size!=t.size&&!l)return!1;var u=a.get(e);if(u)return u==t;n|=2,a.set(e,t);var s=gu(c(e),c(t),n,i,o,a);return a.delete(e),s;case"[object Symbol]":if(xu)return xu.call(e)==xu.call(t)}return!1};var Su=function(e,t){for(var r=-1,n=t.length,i=e.length;++r<n;)e[i+r]=t[r];return e},ju=Su,Au=ln;var Pu=function(e,t,r){var n=t(e);return Au(e)?n:ju(n,r(e))};var Mu=function(e,t){for(var r=-1,n=null==e?0:e.length,i=0,o=[];++r<n;){var a=e[r];t(a,r,e)&&(o[i++]=a)}return o};var ku=Mu,Eu=function(){return[]},Cu=Object.prototype.propertyIsEnumerable,_u=Object.getOwnPropertySymbols,Tu=_u?function(e){return null==e?[]:(e=Object(e),ku(_u(e),(function(t){return Cu.call(e,t)})))}:Eu,Du=Tu;var Iu=function(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n},Nu=jn,Lu=An;var Bu=function(e){return Lu(e)&&"[object Arguments]"==Nu(e)},Ru=An,zu=Object.prototype,$u=zu.hasOwnProperty,Hu=zu.propertyIsEnumerable,Vu=Bu(function(){return arguments}())?Bu:function(e){return Ru(e)&&$u.call(e,"callee")&&!Hu.call(e,"callee")},Fu={exports:{}};var Uu=function(){return!1};!function(e,t){var r=pn,n=Uu,i=t&&!t.nodeType&&t,o=i&&e&&!e.nodeType&&e,a=o&&o.exports===i?r.Buffer:void 0,c=(a?a.isBuffer:void 0)||n;e.exports=c}(Fu,Fu.exports);var Wu=Fu.exports,qu=/^(?:0|[1-9]\d*)$/;var Yu=function(e,t){var r=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==r||"symbol"!=r&&qu.test(e))&&e>-1&&e%1==0&&e<t};var Xu=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991},Ku=jn,Gu=Xu,Zu=An,Ju={};Ju["[object Float32Array]"]=Ju["[object Float64Array]"]=Ju["[object Int8Array]"]=Ju["[object Int16Array]"]=Ju["[object Int32Array]"]=Ju["[object Uint8Array]"]=Ju["[object Uint8ClampedArray]"]=Ju["[object Uint16Array]"]=Ju["[object Uint32Array]"]=!0,Ju["[object Arguments]"]=Ju["[object Array]"]=Ju["[object ArrayBuffer]"]=Ju["[object Boolean]"]=Ju["[object DataView]"]=Ju["[object Date]"]=Ju["[object Error]"]=Ju["[object Function]"]=Ju["[object Map]"]=Ju["[object Number]"]=Ju["[object Object]"]=Ju["[object RegExp]"]=Ju["[object Set]"]=Ju["[object String]"]=Ju["[object WeakMap]"]=!1;var Qu=function(e){return Zu(e)&&Gu(e.length)&&!!Ju[Ku(e)]};var es=function(e){return function(t){return e(t)}},ts={exports:{}};!function(e,t){var r=un,n=t&&!t.nodeType&&t,i=n&&e&&!e.nodeType&&e,o=i&&i.exports===n&&r.process,a=function(){try{var e=i&&i.require&&i.require("util").types;return e||o&&o.binding&&o.binding("util")}catch(e){}}();e.exports=a}(ts,ts.exports);var rs=ts.exports,ns=Qu,is=es,os=rs&&rs.isTypedArray,as=os?is(os):ns,cs=Iu,ls=Vu,us=ln,ss=Wu,fs=Yu,ps=as,hs=Object.prototype.hasOwnProperty;var ds=function(e,t){var r=us(e),n=!r&&ls(e),i=!r&&!n&&ss(e),o=!r&&!n&&!i&&ps(e),a=r||n||i||o,c=a?cs(e.length,String):[],l=c.length;for(var u in e)!t&&!hs.call(e,u)||a&&("length"==u||i&&("offset"==u||"parent"==u)||o&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||fs(u,l))||c.push(u);return c},ys=Object.prototype;var vs=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||ys)};var gs=function(e,t){return function(r){return e(t(r))}},ms=gs(Object.keys,Object),bs=vs,ws=ms,xs=Object.prototype.hasOwnProperty;var Os=function(e){if(!bs(e))return ws(e);var t=[];for(var r in Object(e))xs.call(e,r)&&"constructor"!=r&&t.push(r);return t},Ss=zn,js=Xu;var As=function(e){return null!=e&&js(e.length)&&!Ss(e)},Ps=ds,Ms=Os,ks=As;var Es=function(e){return ks(e)?Ps(e):Ms(e)},Cs=Pu,_s=Du,Ts=Es;var Ds=function(e){return Cs(e,Ts,_s)},Is=Ds,Ns=Object.prototype.hasOwnProperty;var Ls=function(e,t,r,n,i,o){var a=1&r,c=Is(e),l=c.length;if(l!=Is(t).length&&!a)return!1;for(var u=l;u--;){var s=c[u];if(!(a?s in t:Ns.call(t,s)))return!1}var f=o.get(e),p=o.get(t);if(f&&p)return f==t&&p==e;var h=!0;o.set(e,t),o.set(t,e);for(var d=a;++u<l;){var y=e[s=c[u]],v=t[s];if(n)var g=a?n(v,y,s,t,e,o):n(y,v,s,e,t,o);if(!(void 0===g?y===v||i(y,v,r,n,o):g)){h=!1;break}d||(d="constructor"==s)}if(h&&!d){var m=e.constructor,b=t.constructor;m==b||!("constructor"in e)||!("constructor"in t)||"function"==typeof m&&m instanceof m&&"function"==typeof b&&b instanceof b||(h=!1)}return o.delete(e),o.delete(t),h},Bs=oi(pn,"DataView"),Rs=oi(pn,"Promise"),zs=oi(pn,"Set"),$s=Bs,Hs=zi,Vs=Rs,Fs=zs,Us=oi(pn,"WeakMap"),Ws=jn,qs=Wn,Ys="[object Map]",Xs="[object Promise]",Ks="[object Set]",Gs="[object WeakMap]",Zs="[object DataView]",Js=qs($s),Qs=qs(Hs),ef=qs(Vs),tf=qs(Fs),rf=qs(Us),nf=Ws;($s&&nf(new $s(new ArrayBuffer(1)))!=Zs||Hs&&nf(new Hs)!=Ys||Vs&&nf(Vs.resolve())!=Xs||Fs&&nf(new Fs)!=Ks||Us&&nf(new Us)!=Gs)&&(nf=function(e){var t=Ws(e),r="[object Object]"==t?e.constructor:void 0,n=r?qs(r):"";if(n)switch(n){case Js:return Zs;case Qs:return Ys;case ef:return Xs;case tf:return Ks;case rf:return Gs}return t});var of=tu,af=pu,cf=Ou,lf=Ls,uf=nf,sf=ln,ff=Wu,pf=as,hf="[object Arguments]",df="[object Array]",yf="[object Object]",vf=Object.prototype.hasOwnProperty;var gf=function(e,t,r,n,i,o){var a=sf(e),c=sf(t),l=a?df:uf(e),u=c?df:uf(t),s=(l=l==hf?yf:l)==yf,f=(u=u==hf?yf:u)==yf,p=l==u;if(p&&ff(e)){if(!ff(t))return!1;a=!0,s=!1}if(p&&!s)return o||(o=new of),a||pf(e)?af(e,t,r,n,i,o):cf(e,t,l,r,n,i,o);if(!(1&r)){var h=s&&vf.call(e,"__wrapped__"),d=f&&vf.call(t,"__wrapped__");if(h||d){var y=h?e.value():e,v=d?t.value():t;return o||(o=new of),i(y,v,r,n,o)}}return!!p&&(o||(o=new of),lf(e,t,r,n,i,o))},mf=gf,bf=An;var wf=function e(t,r,n,i,o){return t===r||(null==t||null==r||!bf(t)&&!bf(r)?t!=t&&r!=r:mf(t,r,n,i,e,o))},xf=tu,Of=wf;var Sf=function(e,t,r,n){var i=r.length,o=i,a=!n;if(null==e)return!o;for(e=Object(e);i--;){var c=r[i];if(a&&c[2]?c[1]!==e[c[0]]:!(c[0]in e))return!1}for(;++i<o;){var l=(c=r[i])[0],u=e[l],s=c[1];if(a&&c[2]){if(void 0===u&&!(l in e))return!1}else{var f=new xf;if(n)var p=n(u,s,l,e,t,f);if(!(void 0===p?Of(s,u,3,n,f):p))return!1}}return!0},jf=In;var Af=function(e){return e==e&&!jf(e)},Pf=Af,Mf=Es;var kf=function(e){for(var t=Mf(e),r=t.length;r--;){var n=t[r],i=e[n];t[r]=[n,i,Pf(i)]}return t};var Ef=function(e,t){return function(r){return null!=r&&(r[e]===t&&(void 0!==t||e in Object(r)))}},Cf=Sf,_f=kf,Tf=Ef;var Df=function(e){var t=_f(e);return 1==t.length&&t[0][2]?Tf(t[0][0],t[0][1]):function(r){return r===e||Cf(r,e,t)}};var If=function(e,t){return null!=e&&t in Object(e)},Nf=Ao,Lf=Vu,Bf=ln,Rf=Yu,zf=Xu,$f=Mo;var Hf=function(e,t,r){for(var n=-1,i=(t=Nf(t,e)).length,o=!1;++n<i;){var a=$f(t[n]);if(!(o=null!=e&&r(e,a)))break;e=e[a]}return o||++n!=i?o:!!(i=null==e?0:e.length)&&zf(i)&&Rf(a,i)&&(Bf(e)||Lf(e))},Vf=If,Ff=Hf;var Uf=function(e,t){return null!=e&&Ff(e,t,Vf)},Wf=wf,qf=To,Yf=Uf,Xf=Dn,Kf=Af,Gf=Ef,Zf=Mo;var Jf=function(e,t){return Xf(e)&&Kf(t)?Gf(Zf(e),t):function(r){var n=qf(r,e);return void 0===n&&n===t?Yf(r,e):Wf(t,n,3)}};var Qf=function(e){return e};var ep=function(e){return function(t){return null==t?void 0:t[e]}},tp=Co;var rp=function(e){return function(t){return tp(t,e)}},np=ep,ip=rp,op=Dn,ap=Mo;var cp=Df,lp=Jf,up=Qf,sp=ln,fp=function(e){return op(e)?np(ap(e)):ip(e)};var pp=function(e){return"function"==typeof e?e:null==e?up:"object"==typeof e?sp(e)?lp(e[0],e[1]):cp(e):fp(e)};var hp=function(e,t,r,n){for(var i=e.length,o=r+(n?1:-1);n?o--:++o<i;)if(t(e[o],o,e))return o;return-1};var dp=function(e,t,r){for(var n=r-1,i=e.length;++n<i;)if(e[n]===t)return n;return-1},yp=hp,vp=function(e){return e!=e},gp=dp;var mp=function(e,t,r){return t==t?gp(e,t,r):yp(e,vp,r)},bp=mp;var wp=function(e,t){return!!(null==e?0:e.length)&&bp(e,t,0)>-1};var xp=function(e,t,r){for(var n=-1,i=null==e?0:e.length;++n<i;)if(r(t,e[n]))return!0;return!1};var Op=zs,Sp=function(){},jp=Op&&1/du(new Op([,-0]))[1]==1/0?function(e){return new Op(e)}:Sp,Ap=au,Pp=wp,Mp=xp,kp=lu,Ep=jp,Cp=du;var _p=function(e,t,r){var n=-1,i=Pp,o=e.length,a=!0,c=[],l=c;if(r)a=!1,i=Mp;else if(o>=200){var u=t?null:Ep(e);if(u)return Cp(u);a=!1,i=kp,l=new Ap}else l=t?[]:c;e:for(;++n<o;){var s=e[n],f=t?t(s):s;if(s=r||0!==s?s:0,a&&f==f){for(var p=l.length;p--;)if(l[p]===f)continue e;t&&l.push(f),c.push(s)}else i(l,f,r)||(l!==c&&l.push(f),c.push(s))}return c},Tp=pp,Dp=_p;var Ip=function(e,t){return e&&e.length?Dp(e,Tp(t)):[]},Np=Gt(Ip);function Lp(e,t,r){return!0===t?Np(e,r):$n(t)?Np(e,t):e}function Bp(e){return Bp="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Bp(e)}var Rp=["ref"];function zp(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function $p(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?zp(Object(r),!0).forEach((function(t){Yp(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):zp(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Hp(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,Xp(n.key),n)}}function Vp(e,t,r){return t=Up(t),function(e,t){if(t&&("object"===Bp(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Wp(e)}(e,Fp()?Reflect.construct(t,r||[],Up(e).constructor):t.apply(e,r))}function Fp(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Fp=function(){return!!e})()}function Up(e){return Up=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Up(e)}function Wp(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qp(e,t){return qp=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},qp(e,t)}function Yp(e,t,r){return(t=Xp(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xp(e){var t=function(e,t){if("object"!=Bp(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=Bp(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Bp(t)?t:String(t)}function Kp(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function Gp(e){return e.value}var Zp=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return Yp(Wp(e=Vp(this,t,[].concat(n))),"lastBoundingBox",{width:-1,height:-1}),e}var r,n,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&qp(e,t)}(t,re),r=t,i=[{key:"getWithHeight",value:function(e,t){var r=e.props.layout;return"vertical"===r&&Qo(e.props.height)?{height:e.props.height}:"horizontal"===r?{width:e.props.width||t}:null}}],(n=[{key:"componentDidMount",value:function(){this.updateBBox()}},{key:"componentDidUpdate",value:function(){this.updateBBox()}},{key:"getBBox",value:function(){if(this.wrapperNode&&this.wrapperNode.getBoundingClientRect){var e=this.wrapperNode.getBoundingClientRect();return e.height=this.wrapperNode.offsetHeight,e.width=this.wrapperNode.offsetWidth,e}return null}},{key:"updateBBox",value:function(){var e=this.props.onBBoxUpdate,t=this.getBBox();t?(Math.abs(t.width-this.lastBoundingBox.width)>1||Math.abs(t.height-this.lastBoundingBox.height)>1)&&(this.lastBoundingBox.width=t.width,this.lastBoundingBox.height=t.height,e&&e(t)):-1===this.lastBoundingBox.width&&-1===this.lastBoundingBox.height||(this.lastBoundingBox.width=-1,this.lastBoundingBox.height=-1,e&&e(null))}},{key:"getBBoxSnapshot",value:function(){return this.lastBoundingBox.width>=0&&this.lastBoundingBox.height>=0?$p({},this.lastBoundingBox):{width:0,height:0}}},{key:"getDefaultPosition",value:function(e){var t,r,n=this.props,i=n.layout,o=n.align,a=n.verticalAlign,c=n.margin,l=n.chartWidth,u=n.chartHeight;return e&&(void 0!==e.left&&null!==e.left||void 0!==e.right&&null!==e.right)||(t="center"===o&&"vertical"===i?{left:((l||0)-this.getBBoxSnapshot().width)/2}:"right"===o?{right:c&&c.right||0}:{left:c&&c.left||0}),e&&(void 0!==e.top&&null!==e.top||void 0!==e.bottom&&null!==e.bottom)||(r="middle"===a?{top:((u||0)-this.getBBoxSnapshot().height)/2}:"bottom"===a?{bottom:c&&c.bottom||0}:{top:c&&c.top||0}),$p($p({},t),r)}},{key:"render",value:function(){var e=this,t=this.props,r=t.content,n=t.width,i=t.height,o=t.wrapperStyle,a=t.payloadUniqBy,c=t.payload,l=$p($p({position:"absolute",width:n||"auto",height:i||"auto"},this.getDefaultPosition(o)),o);return Q.createElement("div",{className:"recharts-legend-wrapper",style:l,ref:function(t){e.wrapperNode=t}},function(e,t){if(Q.isValidElement(e))return Q.cloneElement(e,t);if("function"==typeof e)return Q.createElement(e,t);t.ref;var r=Kp(t,Rp);return Q.createElement(Fl,r)}(r,$p($p({},this.props),{},{payload:Lp(c,a,Gp)})))}}])&&Hp(r.prototype,n),i&&Hp(r,i),Object.defineProperty(r,"prototype",{writable:!1}),t}();Yp(Zp,"displayName","Legend"),Yp(Zp,"defaultProps",{iconSize:14,layout:"horizontal",align:"center",verticalAlign:"bottom"});var Jp=Vu,Qp=ln,eh=hn?hn.isConcatSpreadable:void 0;var th=Su,rh=function(e){return Qp(e)||Jp(e)||!!(eh&&e&&e[eh])};var nh=function e(t,r,n,i,o){var a=-1,c=t.length;for(n||(n=rh),o||(o=[]);++a<c;){var l=t[a];r>0&&n(l)?r>1?e(l,r-1,n,i,o):th(o,l):i||(o[o.length]=l)}return o};var ih=function(e){return function(t,r,n){for(var i=-1,o=Object(t),a=n(t),c=a.length;c--;){var l=a[e?c:++i];if(!1===r(o[l],l,o))break}return t}},oh=ih(),ah=Es;var ch=function(e,t){return e&&oh(e,t,ah)},lh=As;var uh=function(e,t){return function(r,n){if(null==r)return r;if(!lh(r))return e(r,n);for(var i=r.length,o=t?i:-1,a=Object(r);(t?o--:++o<i)&&!1!==n(a[o],o,a););return r}}(ch),sh=uh,fh=As;var ph=function(e,t){var r=-1,n=fh(e)?Array(e.length):[];return sh(e,(function(e,i,o){n[++r]=t(e,i,o)})),n};var hh=function(e,t){var r=e.length;for(e.sort(t);r--;)e[r]=e[r].value;return e},dh=kn;var yh=function(e,t){if(e!==t){var r=void 0!==e,n=null===e,i=e==e,o=dh(e),a=void 0!==t,c=null===t,l=t==t,u=dh(t);if(!c&&!u&&!o&&e>t||o&&a&&l&&!c&&!u||n&&a&&l||!r&&l||!i)return 1;if(!n&&!o&&!u&&e<t||u&&r&&i&&!n&&!o||c&&r&&i||!a&&i||!l)return-1}return 0};var vh=function(e,t,r){for(var n=-1,i=e.criteria,o=t.criteria,a=i.length,c=r.length;++n<a;){var l=yh(i[n],o[n]);if(l)return n>=c?l:l*("desc"==r[n]?-1:1)}return e.index-t.index},gh=fo,mh=Co,bh=pp,wh=ph,xh=hh,Oh=es,Sh=vh,jh=Qf,Ah=ln;var Ph=function(e,t,r){t=t.length?gh(t,(function(e){return Ah(e)?function(t){return mh(t,1===e.length?e[0]:e)}:e})):[jh];var n=-1;t=gh(t,Oh(bh));var i=wh(e,(function(e,r,i){return{criteria:gh(t,(function(t){return t(e)})),index:++n,value:e}}));return xh(i,(function(e,t){return Sh(e,t,r)}))};var Mh=function(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)},kh=Math.max;var Eh=function(e,t,r){return t=kh(void 0===t?e.length-1:t,0),function(){for(var n=arguments,i=-1,o=kh(n.length-t,0),a=Array(o);++i<o;)a[i]=n[t+i];i=-1;for(var c=Array(t+1);++i<t;)c[i]=n[i];return c[t]=r(a),Mh(e,this,c)}};var Ch=function(e){return function(){return e}},_h=oi,Th=function(){try{var e=_h(Object,"defineProperty");return e({},"",{}),e}catch(e){}}(),Dh=Ch,Ih=Th,Nh=Ih?function(e,t){return Ih(e,"toString",{configurable:!0,enumerable:!1,value:Dh(t),writable:!0})}:Qf,Lh=Nh,Bh=Date.now;var Rh=function(e){var t=0,r=0;return function(){var n=Bh(),i=16-(n-r);if(r=n,i>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(Lh),zh=Qf,$h=Eh,Hh=Rh;var Vh=ji,Fh=As,Uh=Yu,Wh=In;var qh=function(e,t,r){if(!Wh(r))return!1;var n=typeof t;return!!("number"==n?Fh(r)&&Uh(t,r.length):"string"==n&&t in r)&&Vh(r[t],e)},Yh=nh,Xh=Ph,Kh=qh,Gh=Gt(function(e,t){return Hh($h(e,t,zh),e+"")}((function(e,t){if(null==e)return[];var r=t.length;return r>1&&Kh(e,t[0],t[1])?t=[]:r>2&&Kh(t[0],t[1],t[2])&&(t=[t[0]]),Xh(e,Yh(t,1),[])})));function Zh(e){return Zh="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Zh(e)}function Jh(){return Jh=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Jh.apply(this,arguments)}function Qh(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,o,a,c=[],l=!0,u=!1;try{if(o=(r=r.call(e)).next,0===t);else for(;!(l=(n=o.call(r)).done)&&(c.push(n.value),c.length!==t);l=!0);}catch(e){u=!0,i=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw i}}return c}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return ed(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return ed(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ed(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function td(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function rd(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?td(Object(r),!0).forEach((function(t){nd(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):td(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function nd(e,t,r){return t=function(e){var t=function(e,t){if("object"!=Zh(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=Zh(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Zh(t)?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function id(e){return Array.isArray(e)&&ea(e[0])&&ea(e[1])?e.join(" ~ "):e}var od=function(e){var t=e.separator,r=void 0===t?" : ":t,n=e.contentStyle,i=void 0===n?{}:n,o=e.itemStyle,a=void 0===o?{}:o,c=e.labelStyle,l=void 0===c?{}:c,u=e.payload,s=e.formatter,f=e.itemSorter,p=e.wrapperClassName,h=e.labelClassName,d=e.label,y=e.labelFormatter,v=e.accessibilityLayer,g=void 0!==v&&v,m=rd({margin:0,padding:10,backgroundColor:"#fff",border:"1px solid #ccc",whiteSpace:"nowrap"},i),b=rd({margin:0},l),w=!Io(d),x=w?d:"",O=cn("recharts-default-tooltip",p),S=cn("recharts-tooltip-label",h);w&&y&&null!=u&&(x=y(d,u));var j=g?{role:"status","aria-live":"assertive"}:{};return Q.createElement("div",Jh({className:O,style:m},j),Q.createElement("p",{className:S,style:b},Q.isValidElement(x)?x:"".concat(x)),function(){if(u&&u.length){var e=(f?Gh(u,f):u).map((function(e,t){if("none"===e.type)return null;var n=rd({display:"block",paddingTop:4,paddingBottom:4,color:e.color||"#000"},a),i=e.formatter||s||id,o=e.value,c=e.name,l=o,f=c;if(i&&null!=l&&null!=f){var p=i(o,c,e,t,u);if(Array.isArray(p)){var h=Qh(p,2);l=h[0],f=h[1]}else l=p}return Q.createElement("li",{className:"recharts-tooltip-item",key:"tooltip-item-".concat(t),style:n},ea(f)?Q.createElement("span",{className:"recharts-tooltip-item-name"},f):null,ea(f)?Q.createElement("span",{className:"recharts-tooltip-item-separator"},r):null,Q.createElement("span",{className:"recharts-tooltip-item-value"},l),Q.createElement("span",{className:"recharts-tooltip-item-unit"},e.unit||""))}));return Q.createElement("ul",{className:"recharts-tooltip-item-list",style:{padding:0,margin:0}},e)}return null}())};function ad(e){return ad="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ad(e)}function cd(e,t,r){return t=function(e){var t=function(e,t){if("object"!=ad(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=ad(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==ad(t)?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var ld="recharts-tooltip-wrapper",ud={visibility:"hidden"};function sd(e){var t=e.coordinate,r=e.translateX,n=e.translateY;return cn(ld,cd(cd(cd(cd({},"".concat(ld,"-right"),Qo(r)&&t&&Qo(t.x)&&r>=t.x),"".concat(ld,"-left"),Qo(r)&&t&&Qo(t.x)&&r<t.x),"".concat(ld,"-bottom"),Qo(n)&&t&&Qo(t.y)&&n>=t.y),"".concat(ld,"-top"),Qo(n)&&t&&Qo(t.y)&&n<t.y))}function fd(e){var t=e.allowEscapeViewBox,r=e.coordinate,n=e.key,i=e.offsetTopLeft,o=e.position,a=e.reverseDirection,c=e.tooltipDimension,l=e.viewBox,u=e.viewBoxDimension;if(o&&Qo(o[n]))return o[n];var s=r[n]-c-i,f=r[n]+i;return t[n]?a[n]?s:f:a[n]?s<l[n]?Math.max(f,l[n]):Math.max(s,l[n]):f+c>l[n]+u?Math.max(s,l[n]):Math.max(f,l[n])}function pd(e){return pd="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},pd(e)}function hd(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function dd(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?hd(Object(r),!0).forEach((function(t){xd(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):hd(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function yd(e,t,r){return t&&function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,Od(n.key),n)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function vd(e,t,r){return t=md(t),function(e,t){if(t&&("object"===pd(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return bd(e)}(e,gd()?Reflect.construct(t,r||[],md(e).constructor):t.apply(e,r))}function gd(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(gd=function(){return!!e})()}function md(e){return md=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},md(e)}function bd(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wd(e,t){return wd=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},wd(e,t)}function xd(e,t,r){return(t=Od(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Od(e){var t=function(e,t){if("object"!=pd(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=pd(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==pd(t)?t:String(t)}var Sd=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return xd(bd(e=vd(this,t,[].concat(n))),"state",{dismissed:!1,dismissedAtCoordinate:{x:0,y:0},lastBoundingBox:{width:-1,height:-1}}),xd(bd(e),"handleKeyDown",(function(t){var r,n,i,o;"Escape"===t.key&&e.setState({dismissed:!0,dismissedAtCoordinate:{x:null!==(r=null===(n=e.props.coordinate)||void 0===n?void 0:n.x)&&void 0!==r?r:0,y:null!==(i=null===(o=e.props.coordinate)||void 0===o?void 0:o.y)&&void 0!==i?i:0}})})),e}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&wd(e,t)}(t,re),yd(t,[{key:"updateBBox",value:function(){if(this.wrapperNode&&this.wrapperNode.getBoundingClientRect){var e=this.wrapperNode.getBoundingClientRect();(Math.abs(e.width-this.state.lastBoundingBox.width)>1||Math.abs(e.height-this.state.lastBoundingBox.height)>1)&&this.setState({lastBoundingBox:{width:e.width,height:e.height}})}else-1===this.state.lastBoundingBox.width&&-1===this.state.lastBoundingBox.height||this.setState({lastBoundingBox:{width:-1,height:-1}})}},{key:"componentDidMount",value:function(){document.addEventListener("keydown",this.handleKeyDown),this.updateBBox()}},{key:"componentWillUnmount",value:function(){document.removeEventListener("keydown",this.handleKeyDown)}},{key:"componentDidUpdate",value:function(){var e,t;this.props.active&&this.updateBBox(),this.state.dismissed&&((null===(e=this.props.coordinate)||void 0===e?void 0:e.x)===this.state.dismissedAtCoordinate.x&&(null===(t=this.props.coordinate)||void 0===t?void 0:t.y)===this.state.dismissedAtCoordinate.y||(this.state.dismissed=!1))}},{key:"render",value:function(){var e=this,t=this.props,r=t.active,n=t.allowEscapeViewBox,i=t.animationDuration,o=t.animationEasing,a=t.children,c=t.coordinate,l=t.hasPayload,u=t.isAnimationActive,s=t.offset,f=t.position,p=t.reverseDirection,h=t.useTranslate3d,d=t.viewBox,y=t.wrapperStyle,v=function(e){var t,r,n=e.allowEscapeViewBox,i=e.coordinate,o=e.offsetTopLeft,a=e.position,c=e.reverseDirection,l=e.tooltipBox,u=e.useTranslate3d,s=e.viewBox;return{cssProperties:l.height>0&&l.width>0&&i?function(e){var t=e.translateX,r=e.translateY;return{transform:e.useTranslate3d?"translate3d(".concat(t,"px, ").concat(r,"px, 0)"):"translate(".concat(t,"px, ").concat(r,"px)")}}({translateX:t=fd({allowEscapeViewBox:n,coordinate:i,key:"x",offsetTopLeft:o,position:a,reverseDirection:c,tooltipDimension:l.width,viewBox:s,viewBoxDimension:s.width}),translateY:r=fd({allowEscapeViewBox:n,coordinate:i,key:"y",offsetTopLeft:o,position:a,reverseDirection:c,tooltipDimension:l.height,viewBox:s,viewBoxDimension:s.height}),useTranslate3d:u}):ud,cssClasses:sd({translateX:t,translateY:r,coordinate:i})}}({allowEscapeViewBox:n,coordinate:c,offsetTopLeft:s,position:f,reverseDirection:p,tooltipBox:this.state.lastBoundingBox,useTranslate3d:h,viewBox:d}),g=v.cssClasses,m=v.cssProperties,b=dd(dd({transition:u&&r?"transform ".concat(i,"ms ").concat(o):void 0},m),{},{pointerEvents:"none",visibility:!this.state.dismissed&&r&&l?"visible":"hidden",position:"absolute",top:0,left:0},y);return Q.createElement("div",{tabIndex:-1,className:g,style:b,ref:function(t){e.wrapperNode=t}},a)}}]),t}(),jd={isSsr:!("undefined"!=typeof window&&window.document&&window.document.createElement&&window.setTimeout),get:function(e){return jd[e]},set:function(e,t){if("string"==typeof e)jd[e]=t;else{var r=Object.keys(e);r&&r.length&&r.forEach((function(t){jd[t]=e[t]}))}}};function Ad(e){return Ad="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ad(e)}function Pd(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Md(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Pd(Object(r),!0).forEach((function(t){Dd(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Pd(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function kd(e,t,r){return t&&function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,Id(n.key),n)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function Ed(e,t,r){return t=_d(t),function(e,t){if(t&&("object"===Ad(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Cd()?Reflect.construct(t,r||[],_d(e).constructor):t.apply(e,r))}function Cd(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Cd=function(){return!!e})()}function _d(e){return _d=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},_d(e)}function Td(e,t){return Td=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Td(e,t)}function Dd(e,t,r){return(t=Id(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Id(e){var t=function(e,t){if("object"!=Ad(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=Ad(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Ad(t)?t:String(t)}function Nd(e){return e.dataKey}var Ld=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Ed(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Td(e,t)}(t,re),kd(t,[{key:"render",value:function(){var e=this,t=this.props,r=t.active,n=t.allowEscapeViewBox,i=t.animationDuration,o=t.animationEasing,a=t.content,c=t.coordinate,l=t.filterNull,u=t.isAnimationActive,s=t.offset,f=t.payload,p=t.payloadUniqBy,h=t.position,d=t.reverseDirection,y=t.useTranslate3d,v=t.viewBox,g=t.wrapperStyle,m=null!=f?f:[];l&&m.length&&(m=Lp(f.filter((function(t){return null!=t.value&&(!0!==t.hide||e.props.includeHidden)})),p,Nd));var b=m.length>0;return Q.createElement(Sd,{allowEscapeViewBox:n,animationDuration:i,animationEasing:o,isAnimationActive:u,active:r,coordinate:c,hasPayload:b,offset:s,position:h,reverseDirection:d,useTranslate3d:y,viewBox:v,wrapperStyle:g},function(e,t){return Q.isValidElement(e)?Q.cloneElement(e,t):"function"==typeof e?Q.createElement(e,t):Q.createElement(od,t)}(a,Md(Md({},this.props),{},{payload:m})))}}]),t}();Dd(Ld,"displayName","Tooltip"),Dd(Ld,"defaultProps",{accessibilityLayer:!1,allowEscapeViewBox:{x:!1,y:!1},animationDuration:400,animationEasing:"ease",contentStyle:{},coordinate:{x:0,y:0},cursor:!0,cursorStyle:{},filterNull:!0,isAnimationActive:!jd.isSsr,itemStyle:{},labelStyle:{},offset:10,reverseDirection:{x:!1,y:!1},separator:" : ",trigger:"hover",useTranslate3d:!1,viewBox:{x:0,y:0,height:0,width:0},wrapperStyle:{}});var Bd=pn,Rd=/\s/;var zd=function(e){for(var t=e.length;t--&&Rd.test(e.charAt(t)););return t},$d=zd,Hd=/^\s+/;var Vd=function(e){return e?e.slice(0,$d(e)+1).replace(Hd,""):e},Fd=Vd,Ud=In,Wd=kn,qd=/^[-+]0x[0-9a-f]+$/i,Yd=/^0b[01]+$/i,Xd=/^0o[0-7]+$/i,Kd=parseInt;var Gd=function(e){if("number"==typeof e)return e;if(Wd(e))return NaN;if(Ud(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=Ud(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Fd(e);var r=Yd.test(e);return r||Xd.test(e)?Kd(e.slice(2),r?2:8):qd.test(e)?NaN:+e},Zd=In,Jd=function(){return Bd.Date.now()},Qd=Gd,ey=Math.max,ty=Math.min;var ry=function(e,t,r){var n,i,o,a,c,l,u=0,s=!1,f=!1,p=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function h(t){var r=n,o=i;return n=i=void 0,u=t,a=e.apply(o,r)}function d(e){var r=e-l;return void 0===l||r>=t||r<0||f&&e-u>=o}function y(){var e=Jd();if(d(e))return v(e);c=setTimeout(y,function(e){var r=t-(e-l);return f?ty(r,o-(e-u)):r}(e))}function v(e){return c=void 0,p&&n?h(e):(n=i=void 0,a)}function g(){var e=Jd(),r=d(e);if(n=arguments,i=this,l=e,r){if(void 0===c)return function(e){return u=e,c=setTimeout(y,t),s?h(e):a}(l);if(f)return clearTimeout(c),c=setTimeout(y,t),h(l)}return void 0===c&&(c=setTimeout(y,t)),a}return t=Qd(t)||0,Zd(r)&&(s=!!r.leading,o=(f="maxWait"in r)?ey(Qd(r.maxWait)||0,t):o,p="trailing"in r?!!r.trailing:p),g.cancel=function(){void 0!==c&&clearTimeout(c),u=0,n=l=i=c=void 0},g.flush=function(){return void 0===c?a:v(Jd())},g},ny=ry,iy=In;var oy=Gt((function(e,t,r){var n=!0,i=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return iy(r)&&(n="leading"in r?!!r.leading:n,i="trailing"in r?!!r.trailing:i),ny(e,t,{leading:n,maxWait:t,trailing:i})}));function ay(e){return ay="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ay(e)}function cy(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ly(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?cy(Object(r),!0).forEach((function(t){uy(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):cy(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function uy(e,t,r){return t=function(e){var t=function(e,t){if("object"!=ay(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=ay(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==ay(t)?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function sy(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,o,a,c=[],l=!0,u=!1;try{if(o=(r=r.call(e)).next,0===t);else for(;!(l=(n=o.call(r)).done)&&(c.push(n.value),c.length!==t);l=!0);}catch(e){u=!0,i=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw i}}return c}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return fy(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return fy(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function fy(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var py=ne((function(e,t){var r=e.aspect,n=e.initialDimension,i=void 0===n?{width:-1,height:-1}:n,o=e.width,a=void 0===o?"100%":o,c=e.height,l=void 0===c?"100%":c,u=e.minWidth,s=void 0===u?0:u,f=e.minHeight,p=e.maxHeight,h=e.children,d=e.debounce,y=void 0===d?0:d,v=e.id,g=e.className,m=e.onResize,b=e.style,w=void 0===b?{}:b,x=ie(null),O=ie();O.current=m,oe(t,(function(){return Object.defineProperty(x.current,"current",{get:function(){return console.warn("The usage of ref.current.current is deprecated and will no longer be supported."),x.current},configurable:!0})}));var S=sy(ae({containerWidth:i.width,containerHeight:i.height}),2),j=S[0],A=S[1],P=ce((function(e,t){A((function(r){var n=Math.round(e),i=Math.round(t);return r.containerWidth===n&&r.containerHeight===i?r:{containerWidth:n,containerHeight:i}}))}),[]);le((function(){var e=function(e){var t,r=e[0].contentRect,n=r.width,i=r.height;P(n,i),null===(t=O.current)||void 0===t||t.call(O,n,i)};y>0&&(e=oy(e,y,{trailing:!0,leading:!1}));var t=new ResizeObserver(e),r=x.current.getBoundingClientRect(),n=r.width,i=r.height;return P(n,i),t.observe(x.current),function(){t.disconnect()}}),[P,y]);var M=ue((function(){var e=j.containerWidth,t=j.containerHeight;if(e<0||t<0)return null;Va(Jo(a)||Jo(l),"The width(%s) and height(%s) are both fixed numbers,\n maybe you don't need to use a ResponsiveContainer.",a,l),Va(!r||r>0,"The aspect(%s) must be greater than zero.",r);var n=Jo(a)?e:a,i=Jo(l)?t:l;r&&r>0&&(n?i=n/r:i&&(n=i*r),p&&i>p&&(i=p)),Va(n>0||i>0,"The width(%s) and height(%s) of chart should be greater than 0,\n please check the style of container, or the props width(%s) and height(%s),\n or add a minWidth(%s) or minHeight(%s) or use aspect(%s) to control the\n height and width.",n,i,a,l,s,f,r);var o=!Array.isArray(h)&&Uo.isElement(h)&&wa(h.type).endsWith("Chart");return Q.Children.map(h,(function(e){return Uo.isElement(e)?se(e,ly({width:n,height:i},o?{style:ly({height:"100%",width:"100%",maxHeight:i,maxWidth:n},e.props.style)}:{})):e}))}),[r,h,l,p,f,s,j,a]);return Q.createElement("div",{id:v?"".concat(v):void 0,className:cn("recharts-responsive-container",g),style:ly(ly({},w),{},{width:a,height:l,minWidth:s,minHeight:f,maxHeight:p}),ref:x},M)})),hy=function(e){return null};function dy(e){return dy="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},dy(e)}function yy(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function vy(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?yy(Object(r),!0).forEach((function(t){gy(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):yy(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function gy(e,t,r){return t=function(e){var t=function(e,t){if("object"!=dy(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=dy(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==dy(t)?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}hy.displayName="Cell";var my={widthCache:{},cacheCount:0},by={position:"absolute",top:"-20000px",left:0,padding:0,margin:0,border:"none",whiteSpace:"pre"},wy="recharts_measurement_span";var xy=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(null==e||jd.isSsr)return{width:0,height:0};var r,n=(r=vy({},t),Object.keys(r).forEach((function(e){r[e]||delete r[e]})),r),i=JSON.stringify({text:e,copyStyle:n});if(my.widthCache[i])return my.widthCache[i];try{var o=document.getElementById(wy);o||((o=document.createElement("span")).setAttribute("id",wy),o.setAttribute("aria-hidden","true"),document.body.appendChild(o));var a=vy(vy({},by),n);Object.assign(o.style,a),o.textContent="".concat(e);var c=o.getBoundingClientRect(),l={width:c.width,height:c.height};return my.widthCache[i]=l,++my.cacheCount>2e3&&(my.cacheCount=0,my.widthCache={}),l}catch(e){return{width:0,height:0}}};function Oy(e){return Oy="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Oy(e)}function Sy(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,o,a,c=[],l=!0,u=!1;try{if(o=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=o.call(r)).done)&&(c.push(n.value),c.length!==t);l=!0);}catch(e){u=!0,i=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw i}}return c}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return jy(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return jy(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function jy(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Ay(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,Py(n.key),n)}}function Py(e){var t=function(e,t){if("object"!=Oy(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t);if("object"!=Oy(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==Oy(t)?t:String(t)}var My=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,ky=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([+-])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,Ey=/^px|cm|vh|vw|em|rem|%|mm|in|pt|pc|ex|ch|vmin|vmax|Q$/,Cy=/(-?\d+(?:\.\d+)?)([a-zA-Z%]+)?/,_y={cm:96/2.54,mm:96/25.4,pt:96/72,pc:16,in:96,Q:96/101.6,px:1},Ty=Object.keys(_y),Dy="NaN";var Iy=function(){function e(t,r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.num=t,this.unit=r,this.num=t,this.unit=r,Number.isNaN(t)&&(this.unit=""),""===r||Ey.test(r)||(this.num=NaN,this.unit=""),Ty.includes(r)&&(this.num=function(e,t){return e*_y[t]}(t,r),this.unit="px")}var t,r,n;return t=e,n=[{key:"parse",value:function(t){var r,n=Sy(null!==(r=Cy.exec(t))&&void 0!==r?r:[],3),i=n[1],o=n[2];return new e(parseFloat(i),null!=o?o:"")}}],(r=[{key:"add",value:function(t){return this.unit!==t.unit?new e(NaN,""):new e(this.num+t.num,this.unit)}},{key:"subtract",value:function(t){return this.unit!==t.unit?new e(NaN,""):new e(this.num-t.num,this.unit)}},{key:"multiply",value:function(t){return""!==this.unit&&""!==t.unit&&this.unit!==t.unit?new e(NaN,""):new e(this.num*t.num,this.unit||t.unit)}},{key:"divide",value:function(t){return""!==this.unit&&""!==t.unit&&this.unit!==t.unit?new e(NaN,""):new e(this.num/t.num,this.unit||t.unit)}},{key:"toString",value:function(){return"".concat(this.num).concat(this.unit)}},{key:"isNaN",value:function(){return Number.isNaN(this.num)}}])&&Ay(t.prototype,r),n&&Ay(t,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();function Ny(e){if(e.includes(Dy))return Dy;for(var t=e;t.includes("*")||t.includes("/");){var r,n=Sy(null!==(r=My.exec(t))&&void 0!==r?r:[],4),i=n[1],o=n[2],a=n[3],c=Iy.parse(null!=i?i:""),l=Iy.parse(null!=a?a:""),u="*"===o?c.multiply(l):c.divide(l);if(u.isNaN())return Dy;t=t.replace(My,u.toString())}for(;t.includes("+")||/.-\d+(?:\.\d+)?/.test(t);){var s,f=Sy(null!==(s=ky.exec(t))&&void 0!==s?s:[],4),p=f[1],h=f[2],d=f[3],y=Iy.parse(null!=p?p:""),v=Iy.parse(null!=d?d:""),g="+"===h?y.add(v):y.subtract(v);if(g.isNaN())return Dy;t=t.replace(ky,g.toString())}return t}var Ly=/\(([^()]*)\)/;function By(e){var t=e.replace(/\s+/g,"");return t=function(e){for(var t=e;t.includes("(");){var r=Sy(Ly.exec(t),2)[1];t=t.replace(Ly,Ny(r))}return t}(t),t=Ny(t)}function Ry(e){var t=function(e){try{return By(e)}catch(e){return Dy}}(e.slice(5,-1));return t===Dy?"":t}var zy=["x","y","lineHeight","capHeight","scaleToFit","textAnchor","verticalAnchor","fill"],$y=["dx","dy","angle","className","breakAll"];function Hy(){return Hy=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Hy.apply(this,arguments)}function Vy(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function Fy(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,o,a,c=[],l=!0,u=!1;try{if(o=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=o.call(r)).done)&&(c.push(n.value),c.length!==t);l=!0);}catch(e){u=!0,i=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw i}}return c}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Uy(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Uy(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Uy(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var Wy=/[ \f\n\r\t\v\u2028\u2029]+/,qy=function(e){var t=e.children,r=e.breakAll,n=e.style;try{var i=[];return Io(t)||(i=r?t.toString().split(""):t.toString().split(Wy)),{wordsWithComputedWidth:i.map((function(e){return{word:e,width:xy(e,n).width}})),spaceWidth:r?0:xy(" ",n).width}}catch(e){return null}},Yy=function(e){return[{words:Io(e)?[]:e.toString().split(Wy)}]},Xy=function(e){var t=e.width,r=e.scaleToFit,n=e.children,i=e.style,o=e.breakAll,a=e.maxLines;if((t||r)&&!jd.isSsr){var c=qy({breakAll:o,children:n,style:i});return c?function(e,t,r,n,i){var o=e.maxLines,a=e.children,c=e.style,l=e.breakAll,u=Qo(o),s=a,f=function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).reduce((function(e,t){var o=t.word,a=t.width,c=e[e.length-1];if(c&&(null==n||i||c.width+a+r<Number(n)))c.words.push(o),c.width+=a+r;else{var l={words:[o],width:a};e.push(l)}return e}),[])},p=f(t);if(!u)return p;for(var h,d=function(e){var t=s.slice(0,e),r=qy({breakAll:l,style:c,children:t+"…"}).wordsWithComputedWidth,i=f(r),a=i.length>o||function(e){return e.reduce((function(e,t){return e.width>t.width?e:t}))}(i).width>Number(n);return[a,i]},y=0,v=s.length-1,g=0;y<=v&&g<=s.length-1;){var m=Math.floor((y+v)/2),b=Fy(d(m-1),2),w=b[0],x=b[1],O=Fy(d(m),1)[0];if(w||O||(y=m+1),w&&O&&(v=m-1),!w&&O){h=x;break}g++}return h||p}({breakAll:o,children:n,maxLines:a,style:i},c.wordsWithComputedWidth,c.spaceWidth,t,r):Yy(n)}return Yy(n)},Ky="#808080",Gy=function(e){var t=e.x,r=void 0===t?0:t,n=e.y,i=void 0===n?0:n,o=e.lineHeight,a=void 0===o?"1em":o,c=e.capHeight,l=void 0===c?"0.71em":c,u=e.scaleToFit,s=void 0!==u&&u,f=e.textAnchor,p=void 0===f?"start":f,h=e.verticalAnchor,d=void 0===h?"end":h,y=e.fill,v=void 0===y?Ky:y,g=Vy(e,zy),m=ue((function(){return Xy({breakAll:g.breakAll,children:g.children,maxLines:g.maxLines,scaleToFit:s,style:g.style,width:g.width})}),[g.breakAll,g.children,g.maxLines,s,g.style,g.width]),b=g.dx,w=g.dy,x=g.angle,O=g.className,S=g.breakAll,j=Vy(g,$y);if(!ea(r)||!ea(i))return null;var A,P=r+(Qo(b)?b:0),M=i+(Qo(w)?w:0);switch(d){case"start":A=Ry("calc(".concat(l,")"));break;case"middle":A=Ry("calc(".concat((m.length-1)/2," * -").concat(a," + (").concat(l," / 2))"));break;default:A=Ry("calc(".concat(m.length-1," * -").concat(a,")"))}var k=[];if(s){var E=m[0].width,C=g.width;k.push("scale(".concat((Qo(C)?C/E:1)/E,")"))}return x&&k.push("rotate(".concat(x,", ").concat(P,", ").concat(M,")")),k.length&&(j.transform=k.join(" ")),Q.createElement("text",Hy({},Ea(j,!0),{x:P,y:M,className:cn("recharts-text",O),textAnchor:p,fill:v.includes("url")?Ky:v}),m.map((function(e,t){var r=e.words.join(S?"":" ");return Q.createElement("tspan",{x:P,dy:0===t?A:a,key:r},r)})))};function Zy(e,t){return null==e||null==t?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function Jy(e,t){return null==e||null==t?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function Qy(e){let t,r,n;function i(e,n,i=0,o=e.length){if(i<o){if(0!==t(n,n))return o;do{const t=i+o>>>1;r(e[t],n)<0?i=t+1:o=t}while(i<o)}return i}return 2!==e.length?(t=Zy,r=(t,r)=>Zy(e(t),r),n=(t,r)=>e(t)-r):(t=e===Zy||e===Jy?e:ev,r=e,n=e),{left:i,center:function(e,t,r=0,o=e.length){const a=i(e,t,r,o-1);return a>r&&n(e[a-1],t)>-n(e[a],t)?a-1:a},right:function(e,n,i=0,o=e.length){if(i<o){if(0!==t(n,n))return o;do{const t=i+o>>>1;r(e[t],n)<=0?i=t+1:o=t}while(i<o)}return i}}}function ev(){return 0}function tv(e){return null===e?NaN:+e}const rv=Qy(Zy).right;Qy(tv).center;class nv extends Map{constructor(e,t=ov){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:t}}),null!=e)for(const[t,r]of e)this.set(t,r)}get(e){return super.get(iv(this,e))}has(e){return super.has(iv(this,e))}set(e,t){return super.set(function({_intern:e,_key:t},r){const n=t(r);return e.has(n)?e.get(n):(e.set(n,r),r)}(this,e),t)}delete(e){return super.delete(function({_intern:e,_key:t},r){const n=t(r);e.has(n)&&(r=e.get(n),e.delete(n));return r}(this,e))}}function iv({_intern:e,_key:t},r){const n=t(r);return e.has(n)?e.get(n):r}function ov(e){return null!==e&&"object"==typeof e?e.valueOf():e}function av(e,t){return(null==e||!(e>=e))-(null==t||!(t>=t))||(e<t?-1:e>t?1:0)}const cv=Math.sqrt(50),lv=Math.sqrt(10),uv=Math.sqrt(2);function sv(e,t,r){const n=(t-e)/Math.max(0,r),i=Math.floor(Math.log10(n)),o=n/Math.pow(10,i),a=o>=cv?10:o>=lv?5:o>=uv?2:1;let c,l,u;return i<0?(u=Math.pow(10,-i)/a,c=Math.round(e*u),l=Math.round(t*u),c/u<e&&++c,l/u>t&&--l,u=-u):(u=Math.pow(10,i)*a,c=Math.round(e/u),l=Math.round(t/u),c*u<e&&++c,l*u>t&&--l),l<c&&.5<=r&&r<2?sv(e,t,2*r):[c,l,u]}function fv(e,t,r){if(!((r=+r)>0))return[];if((e=+e)===(t=+t))return[e];const n=t<e,[i,o,a]=n?sv(t,e,r):sv(e,t,r);if(!(o>=i))return[];const c=o-i+1,l=new Array(c);if(n)if(a<0)for(let e=0;e<c;++e)l[e]=(o-e)/-a;else for(let e=0;e<c;++e)l[e]=(o-e)*a;else if(a<0)for(let e=0;e<c;++e)l[e]=(i+e)/-a;else for(let e=0;e<c;++e)l[e]=(i+e)*a;return l}function pv(e,t,r){return sv(e=+e,t=+t,r=+r)[2]}function hv(e,t,r){r=+r;const n=(t=+t)<(e=+e),i=n?pv(t,e,r):pv(e,t,r);return(n?-1:1)*(i<0?1/-i:i)}function dv(e,t){let r;for(const t of e)null!=t&&(r<t||void 0===r&&t>=t)&&(r=t);return r}function yv(e,t){let r;for(const t of e)null!=t&&(r>t||void 0===r&&t>=t)&&(r=t);return r}function vv(e,t,r=0,n=1/0,i){if(t=Math.floor(t),r=Math.floor(Math.max(0,r)),n=Math.floor(Math.min(e.length-1,n)),!(r<=t&&t<=n))return e;for(i=void 0===i?av:function(e=Zy){if(e===Zy)return av;if("function"!=typeof e)throw new TypeError("compare is not a function");return(t,r)=>{const n=e(t,r);return n||0===n?n:(0===e(r,r))-(0===e(t,t))}}(i);n>r;){if(n-r>600){const o=n-r+1,a=t-r+1,c=Math.log(o),l=.5*Math.exp(2*c/3),u=.5*Math.sqrt(c*l*(o-l)/o)*(a-o/2<0?-1:1);vv(e,t,Math.max(r,Math.floor(t-a*l/o+u)),Math.min(n,Math.floor(t+(o-a)*l/o+u)),i)}const o=e[t];let a=r,c=n;for(gv(e,r,t),i(e[n],o)>0&&gv(e,r,n);a<c;){for(gv(e,a,c),++a,--c;i(e[a],o)<0;)++a;for(;i(e[c],o)>0;)--c}0===i(e[r],o)?gv(e,r,c):(++c,gv(e,c,n)),c<=t&&(r=c+1),t<=c&&(n=c-1)}return e}function gv(e,t,r){const n=e[t];e[t]=e[r],e[r]=n}function mv(e,t,r=tv){if((n=e.length)&&!isNaN(t=+t)){if(t<=0||n<2)return+r(e[0],0,e);if(t>=1)return+r(e[n-1],n-1,e);var n,i=(n-1)*t,o=Math.floor(i),a=+r(e[o],o,e);return a+(+r(e[o+1],o+1,e)-a)*(i-o)}}function bv(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e)}return this}function wv(e,t){switch(arguments.length){case 0:break;case 1:"function"==typeof e?this.interpolator(e):this.range(e);break;default:this.domain(e),"function"==typeof t?this.interpolator(t):this.range(t)}return this}const xv=Symbol("implicit");function Ov(){var e=new nv,t=[],r=[],n=xv;function i(i){let o=e.get(i);if(void 0===o){if(n!==xv)return n;e.set(i,o=t.push(i)-1)}return r[o%r.length]}return i.domain=function(r){if(!arguments.length)return t.slice();t=[],e=new nv;for(const n of r)e.has(n)||e.set(n,t.push(n)-1);return i},i.range=function(e){return arguments.length?(r=Array.from(e),i):r.slice()},i.unknown=function(e){return arguments.length?(n=e,i):n},i.copy=function(){return Ov(t,r).unknown(n)},bv.apply(i,arguments),i}function Sv(){var e,t,r=Ov().unknown(void 0),n=r.domain,i=r.range,o=0,a=1,c=!1,l=0,u=0,s=.5;function f(){var r=n().length,f=a<o,p=f?a:o,h=f?o:a;e=(h-p)/Math.max(1,r-l+2*u),c&&(e=Math.floor(e)),p+=(h-p-e*(r-l))*s,t=e*(1-l),c&&(p=Math.round(p),t=Math.round(t));var d=function(e,t,r){e=+e,t=+t,r=(i=arguments.length)<2?(t=e,e=0,1):i<3?1:+r;for(var n=-1,i=0|Math.max(0,Math.ceil((t-e)/r)),o=new Array(i);++n<i;)o[n]=e+n*r;return o}(r).map((function(t){return p+e*t}));return i(f?d.reverse():d)}return delete r.unknown,r.domain=function(e){return arguments.length?(n(e),f()):n()},r.range=function(e){return arguments.length?([o,a]=e,o=+o,a=+a,f()):[o,a]},r.rangeRound=function(e){return[o,a]=e,o=+o,a=+a,c=!0,f()},r.bandwidth=function(){return t},r.step=function(){return e},r.round=function(e){return arguments.length?(c=!!e,f()):c},r.padding=function(e){return arguments.length?(l=Math.min(1,u=+e),f()):l},r.paddingInner=function(e){return arguments.length?(l=Math.min(1,e),f()):l},r.paddingOuter=function(e){return arguments.length?(u=+e,f()):u},r.align=function(e){return arguments.length?(s=Math.max(0,Math.min(1,e)),f()):s},r.copy=function(){return Sv(n(),[o,a]).round(c).paddingInner(l).paddingOuter(u).align(s)},bv.apply(f(),arguments)}function jv(e){var t=e.copy;return e.padding=e.paddingOuter,delete e.paddingInner,delete e.paddingOuter,e.copy=function(){return jv(t())},e}function Av(){return jv(Sv.apply(null,arguments).paddingInner(1))}function Pv(e,t,r){e.prototype=t.prototype=r,r.constructor=e}function Mv(e,t){var r=Object.create(e.prototype);for(var n in t)r[n]=t[n];return r}function kv(){}var Ev=.7,Cv=1/Ev,_v="\\s*([+-]?\\d+)\\s*",Tv="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",Dv="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",Iv=/^#([0-9a-f]{3,8})$/,Nv=new RegExp(`^rgb\\(${_v},${_v},${_v}\\)$`),Lv=new RegExp(`^rgb\\(${Dv},${Dv},${Dv}\\)$`),Bv=new RegExp(`^rgba\\(${_v},${_v},${_v},${Tv}\\)$`),Rv=new RegExp(`^rgba\\(${Dv},${Dv},${Dv},${Tv}\\)$`),zv=new RegExp(`^hsl\\(${Tv},${Dv},${Dv}\\)$`),$v=new RegExp(`^hsla\\(${Tv},${Dv},${Dv},${Tv}\\)$`),Hv={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function Vv(){return this.rgb().formatHex()}function Fv(){return this.rgb().formatRgb()}function Uv(e){var t,r;return e=(e+"").trim().toLowerCase(),(t=Iv.exec(e))?(r=t[1].length,t=parseInt(t[1],16),6===r?Wv(t):3===r?new Xv(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===r?qv(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===r?qv(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=Nv.exec(e))?new Xv(t[1],t[2],t[3],1):(t=Lv.exec(e))?new Xv(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=Bv.exec(e))?qv(t[1],t[2],t[3],t[4]):(t=Rv.exec(e))?qv(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=zv.exec(e))?eg(t[1],t[2]/100,t[3]/100,1):(t=$v.exec(e))?eg(t[1],t[2]/100,t[3]/100,t[4]):Hv.hasOwnProperty(e)?Wv(Hv[e]):"transparent"===e?new Xv(NaN,NaN,NaN,0):null}function Wv(e){return new Xv(e>>16&255,e>>8&255,255&e,1)}function qv(e,t,r,n){return n<=0&&(e=t=r=NaN),new Xv(e,t,r,n)}function Yv(e,t,r,n){return 1===arguments.length?((i=e)instanceof kv||(i=Uv(i)),i?new Xv((i=i.rgb()).r,i.g,i.b,i.opacity):new Xv):new Xv(e,t,r,null==n?1:n);var i}function Xv(e,t,r,n){this.r=+e,this.g=+t,this.b=+r,this.opacity=+n}function Kv(){return`#${Qv(this.r)}${Qv(this.g)}${Qv(this.b)}`}function Gv(){const e=Zv(this.opacity);return`${1===e?"rgb(":"rgba("}${Jv(this.r)}, ${Jv(this.g)}, ${Jv(this.b)}${1===e?")":`, ${e})`}`}function Zv(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function Jv(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function Qv(e){return((e=Jv(e))<16?"0":"")+e.toString(16)}function eg(e,t,r,n){return n<=0?e=t=r=NaN:r<=0||r>=1?e=t=NaN:t<=0&&(e=NaN),new rg(e,t,r,n)}function tg(e){if(e instanceof rg)return new rg(e.h,e.s,e.l,e.opacity);if(e instanceof kv||(e=Uv(e)),!e)return new rg;if(e instanceof rg)return e;var t=(e=e.rgb()).r/255,r=e.g/255,n=e.b/255,i=Math.min(t,r,n),o=Math.max(t,r,n),a=NaN,c=o-i,l=(o+i)/2;return c?(a=t===o?(r-n)/c+6*(r<n):r===o?(n-t)/c+2:(t-r)/c+4,c/=l<.5?o+i:2-o-i,a*=60):c=l>0&&l<1?0:a,new rg(a,c,l,e.opacity)}function rg(e,t,r,n){this.h=+e,this.s=+t,this.l=+r,this.opacity=+n}function ng(e){return(e=(e||0)%360)<0?e+360:e}function ig(e){return Math.max(0,Math.min(1,e||0))}function og(e,t,r){return 255*(e<60?t+(r-t)*e/60:e<180?r:e<240?t+(r-t)*(240-e)/60:t)}Pv(kv,Uv,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:Vv,formatHex:Vv,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return tg(this).formatHsl()},formatRgb:Fv,toString:Fv}),Pv(Xv,Yv,Mv(kv,{brighter(e){return e=null==e?Cv:Math.pow(Cv,e),new Xv(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=null==e?Ev:Math.pow(Ev,e),new Xv(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new Xv(Jv(this.r),Jv(this.g),Jv(this.b),Zv(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:Kv,formatHex:Kv,formatHex8:function(){return`#${Qv(this.r)}${Qv(this.g)}${Qv(this.b)}${Qv(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:Gv,toString:Gv})),Pv(rg,(function(e,t,r,n){return 1===arguments.length?tg(e):new rg(e,t,r,null==n?1:n)}),Mv(kv,{brighter(e){return e=null==e?Cv:Math.pow(Cv,e),new rg(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=null==e?Ev:Math.pow(Ev,e),new rg(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,r=this.l,n=r+(r<.5?r:1-r)*t,i=2*r-n;return new Xv(og(e>=240?e-240:e+120,i,n),og(e,i,n),og(e<120?e+240:e-120,i,n),this.opacity)},clamp(){return new rg(ng(this.h),ig(this.s),ig(this.l),Zv(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const e=Zv(this.opacity);return`${1===e?"hsl(":"hsla("}${ng(this.h)}, ${100*ig(this.s)}%, ${100*ig(this.l)}%${1===e?")":`, ${e})`}`}}));var ag=e=>()=>e;function cg(e){return 1==(e=+e)?lg:function(t,r){return r-t?function(e,t,r){return e=Math.pow(e,r),t=Math.pow(t,r)-e,r=1/r,function(n){return Math.pow(e+n*t,r)}}(t,r,e):ag(isNaN(t)?r:t)}}function lg(e,t){var r=t-e;return r?function(e,t){return function(r){return e+r*t}}(e,r):ag(isNaN(e)?t:e)}var ug=function e(t){var r=cg(t);function n(e,t){var n=r((e=Yv(e)).r,(t=Yv(t)).r),i=r(e.g,t.g),o=r(e.b,t.b),a=lg(e.opacity,t.opacity);return function(t){return e.r=n(t),e.g=i(t),e.b=o(t),e.opacity=a(t),e+""}}return n.gamma=e,n}(1);function sg(e,t){t||(t=[]);var r,n=e?Math.min(t.length,e.length):0,i=t.slice();return function(o){for(r=0;r<n;++r)i[r]=e[r]*(1-o)+t[r]*o;return i}}function fg(e,t){var r,n=t?t.length:0,i=e?Math.min(n,e.length):0,o=new Array(i),a=new Array(n);for(r=0;r<i;++r)o[r]=mg(e[r],t[r]);for(;r<n;++r)a[r]=t[r];return function(e){for(r=0;r<i;++r)a[r]=o[r](e);return a}}function pg(e,t){var r=new Date;return e=+e,t=+t,function(n){return r.setTime(e*(1-n)+t*n),r}}function hg(e,t){return e=+e,t=+t,function(r){return e*(1-r)+t*r}}function dg(e,t){var r,n={},i={};for(r in null!==e&&"object"==typeof e||(e={}),null!==t&&"object"==typeof t||(t={}),t)r in e?n[r]=mg(e[r],t[r]):i[r]=t[r];return function(e){for(r in n)i[r]=n[r](e);return i}}var yg=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,vg=new RegExp(yg.source,"g");function gg(e,t){var r,n,i,o=yg.lastIndex=vg.lastIndex=0,a=-1,c=[],l=[];for(e+="",t+="";(r=yg.exec(e))&&(n=vg.exec(t));)(i=n.index)>o&&(i=t.slice(o,i),c[a]?c[a]+=i:c[++a]=i),(r=r[0])===(n=n[0])?c[a]?c[a]+=n:c[++a]=n:(c[++a]=null,l.push({i:a,x:hg(r,n)})),o=vg.lastIndex;return o<t.length&&(i=t.slice(o),c[a]?c[a]+=i:c[++a]=i),c.length<2?l[0]?function(e){return function(t){return e(t)+""}}(l[0].x):function(e){return function(){return e}}(t):(t=l.length,function(e){for(var r,n=0;n<t;++n)c[(r=l[n]).i]=r.x(e);return c.join("")})}function mg(e,t){var r,n=typeof t;return null==t||"boolean"===n?ag(t):("number"===n?hg:"string"===n?(r=Uv(t))?(t=r,ug):gg:t instanceof Uv?ug:t instanceof Date?pg:function(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}(t)?sg:Array.isArray(t)?fg:"function"!=typeof t.valueOf&&"function"!=typeof t.toString||isNaN(t)?dg:hg)(e,t)}function bg(e,t){return e=+e,t=+t,function(r){return Math.round(e*(1-r)+t*r)}}function wg(e,t){void 0===t&&(t=e,e=mg);for(var r=0,n=t.length-1,i=t[0],o=new Array(n<0?0:n);r<n;)o[r]=e(i,i=t[++r]);return function(e){var t=Math.max(0,Math.min(n-1,Math.floor(e*=n)));return o[t](e-t)}}function xg(e){return+e}var Og=[0,1];function Sg(e){return e}function jg(e,t){return(t-=e=+e)?function(r){return(r-e)/t}:function(e){return function(){return e}}(isNaN(t)?NaN:.5)}function Ag(e,t,r){var n=e[0],i=e[1],o=t[0],a=t[1];return i<n?(n=jg(i,n),o=r(a,o)):(n=jg(n,i),o=r(o,a)),function(e){return o(n(e))}}function Pg(e,t,r){var n=Math.min(e.length,t.length)-1,i=new Array(n),o=new Array(n),a=-1;for(e[n]<e[0]&&(e=e.slice().reverse(),t=t.slice().reverse());++a<n;)i[a]=jg(e[a],e[a+1]),o[a]=r(t[a],t[a+1]);return function(t){var r=rv(e,t,1,n)-1;return o[r](i[r](t))}}function Mg(e,t){return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown())}function kg(){var e,t,r,n,i,o,a=Og,c=Og,l=mg,u=Sg;function s(){var e=Math.min(a.length,c.length);return u!==Sg&&(u=function(e,t){var r;return e>t&&(r=e,e=t,t=r),function(r){return Math.max(e,Math.min(t,r))}}(a[0],a[e-1])),n=e>2?Pg:Ag,i=o=null,f}function f(t){return null==t||isNaN(t=+t)?r:(i||(i=n(a.map(e),c,l)))(e(u(t)))}return f.invert=function(r){return u(t((o||(o=n(c,a.map(e),hg)))(r)))},f.domain=function(e){return arguments.length?(a=Array.from(e,xg),s()):a.slice()},f.range=function(e){return arguments.length?(c=Array.from(e),s()):c.slice()},f.rangeRound=function(e){return c=Array.from(e),l=bg,s()},f.clamp=function(e){return arguments.length?(u=!!e||Sg,s()):u!==Sg},f.interpolate=function(e){return arguments.length?(l=e,s()):l},f.unknown=function(e){return arguments.length?(r=e,f):r},function(r,n){return e=r,t=n,s()}}function Eg(){return kg()(Sg,Sg)}function Cg(e,t){if((r=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var r,n=e.slice(0,r);return[n.length>1?n[0]+n.slice(2):n,+e.slice(r+1)]}function _g(e){return(e=Cg(Math.abs(e)))?e[1]:NaN}var Tg,Dg=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function Ig(e){if(!(t=Dg.exec(e)))throw new Error("invalid format: "+e);var t;return new Ng({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}function Ng(e){this.fill=void 0===e.fill?" ":e.fill+"",this.align=void 0===e.align?">":e.align+"",this.sign=void 0===e.sign?"-":e.sign+"",this.symbol=void 0===e.symbol?"":e.symbol+"",this.zero=!!e.zero,this.width=void 0===e.width?void 0:+e.width,this.comma=!!e.comma,this.precision=void 0===e.precision?void 0:+e.precision,this.trim=!!e.trim,this.type=void 0===e.type?"":e.type+""}function Lg(e,t){var r=Cg(e,t);if(!r)return e+"";var n=r[0],i=r[1];return i<0?"0."+new Array(-i).join("0")+n:n.length>i+1?n.slice(0,i+1)+"."+n.slice(i+1):n+new Array(i-n.length+2).join("0")}Ig.prototype=Ng.prototype,Ng.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};var Bg={"%":(e,t)=>(100*e).toFixed(t),b:e=>Math.round(e).toString(2),c:e=>e+"",d:function(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)},e:(e,t)=>e.toExponential(t),f:(e,t)=>e.toFixed(t),g:(e,t)=>e.toPrecision(t),o:e=>Math.round(e).toString(8),p:(e,t)=>Lg(100*e,t),r:Lg,s:function(e,t){var r=Cg(e,t);if(!r)return e+"";var n=r[0],i=r[1],o=i-(Tg=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,a=n.length;return o===a?n:o>a?n+new Array(o-a+1).join("0"):o>0?n.slice(0,o)+"."+n.slice(o):"0."+new Array(1-o).join("0")+Cg(e,Math.max(0,t+o-1))[0]},X:e=>Math.round(e).toString(16).toUpperCase(),x:e=>Math.round(e).toString(16)};function Rg(e){return e}var zg,$g,Hg,Vg=Array.prototype.map,Fg=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function Ug(e){var t,r,n=void 0===e.grouping||void 0===e.thousands?Rg:(t=Vg.call(e.grouping,Number),r=e.thousands+"",function(e,n){for(var i=e.length,o=[],a=0,c=t[0],l=0;i>0&&c>0&&(l+c+1>n&&(c=Math.max(1,n-l)),o.push(e.substring(i-=c,i+c)),!((l+=c+1)>n));)c=t[a=(a+1)%t.length];return o.reverse().join(r)}),i=void 0===e.currency?"":e.currency[0]+"",o=void 0===e.currency?"":e.currency[1]+"",a=void 0===e.decimal?".":e.decimal+"",c=void 0===e.numerals?Rg:function(e){return function(t){return t.replace(/[0-9]/g,(function(t){return e[+t]}))}}(Vg.call(e.numerals,String)),l=void 0===e.percent?"%":e.percent+"",u=void 0===e.minus?"−":e.minus+"",s=void 0===e.nan?"NaN":e.nan+"";function f(e){var t=(e=Ig(e)).fill,r=e.align,f=e.sign,p=e.symbol,h=e.zero,d=e.width,y=e.comma,v=e.precision,g=e.trim,m=e.type;"n"===m?(y=!0,m="g"):Bg[m]||(void 0===v&&(v=12),g=!0,m="g"),(h||"0"===t&&"="===r)&&(h=!0,t="0",r="=");var b="$"===p?i:"#"===p&&/[boxX]/.test(m)?"0"+m.toLowerCase():"",w="$"===p?o:/[%p]/.test(m)?l:"",x=Bg[m],O=/[defgprs%]/.test(m);function S(e){var i,o,l,p=b,S=w;if("c"===m)S=x(e)+S,e="";else{var j=(e=+e)<0||1/e<0;if(e=isNaN(e)?s:x(Math.abs(e),v),g&&(e=function(e){e:for(var t,r=e.length,n=1,i=-1;n<r;++n)switch(e[n]){case".":i=t=n;break;case"0":0===i&&(i=n),t=n;break;default:if(!+e[n])break e;i>0&&(i=0)}return i>0?e.slice(0,i)+e.slice(t+1):e}(e)),j&&0==+e&&"+"!==f&&(j=!1),p=(j?"("===f?f:u:"-"===f||"("===f?"":f)+p,S=("s"===m?Fg[8+Tg/3]:"")+S+(j&&"("===f?")":""),O)for(i=-1,o=e.length;++i<o;)if(48>(l=e.charCodeAt(i))||l>57){S=(46===l?a+e.slice(i+1):e.slice(i))+S,e=e.slice(0,i);break}}y&&!h&&(e=n(e,1/0));var A=p.length+e.length+S.length,P=A<d?new Array(d-A+1).join(t):"";switch(y&&h&&(e=n(P+e,P.length?d-S.length:1/0),P=""),r){case"<":e=p+e+S+P;break;case"=":e=p+P+e+S;break;case"^":e=P.slice(0,A=P.length>>1)+p+e+S+P.slice(A);break;default:e=P+p+e+S}return c(e)}return v=void 0===v?6:/[gprs]/.test(m)?Math.max(1,Math.min(21,v)):Math.max(0,Math.min(20,v)),S.toString=function(){return e+""},S}return{format:f,formatPrefix:function(e,t){var r=f(((e=Ig(e)).type="f",e)),n=3*Math.max(-8,Math.min(8,Math.floor(_g(t)/3))),i=Math.pow(10,-n),o=Fg[8+n/3];return function(e){return r(i*e)+o}}}}function Wg(e,t,r,n){var i,o=hv(e,t,r);switch((n=Ig(null==n?",f":n)).type){case"s":var a=Math.max(Math.abs(e),Math.abs(t));return null!=n.precision||isNaN(i=function(e,t){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(_g(t)/3)))-_g(Math.abs(e)))}(o,a))||(n.precision=i),Hg(n,a);case"":case"e":case"g":case"p":case"r":null!=n.precision||isNaN(i=function(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,_g(t)-_g(e))+1}(o,Math.max(Math.abs(e),Math.abs(t))))||(n.precision=i-("e"===n.type));break;case"f":case"%":null!=n.precision||isNaN(i=function(e){return Math.max(0,-_g(Math.abs(e)))}(o))||(n.precision=i-2*("%"===n.type))}return $g(n)}function qg(e){var t=e.domain;return e.ticks=function(e){var r=t();return fv(r[0],r[r.length-1],null==e?10:e)},e.tickFormat=function(e,r){var n=t();return Wg(n[0],n[n.length-1],null==e?10:e,r)},e.nice=function(r){null==r&&(r=10);var n,i,o=t(),a=0,c=o.length-1,l=o[a],u=o[c],s=10;for(u<l&&(i=l,l=u,u=i,i=a,a=c,c=i);s-- >0;){if((i=pv(l,u,r))===n)return o[a]=l,o[c]=u,t(o);if(i>0)l=Math.floor(l/i)*i,u=Math.ceil(u/i)*i;else{if(!(i<0))break;l=Math.ceil(l*i)/i,u=Math.floor(u*i)/i}n=i}return e},e}function Yg(){var e=Eg();return e.copy=function(){return Mg(e,Yg())},bv.apply(e,arguments),qg(e)}function Xg(e,t){var r,n=0,i=(e=e.slice()).length-1,o=e[n],a=e[i];return a<o&&(r=n,n=i,i=r,r=o,o=a,a=r),e[n]=t.floor(o),e[i]=t.ceil(a),e}function Kg(e){return Math.log(e)}function Gg(e){return Math.exp(e)}function Zg(e){return-Math.log(-e)}function Jg(e){return-Math.exp(-e)}function Qg(e){return isFinite(e)?+("1e"+e):e<0?0:e}function em(e){return(t,r)=>-e(-t,r)}function tm(e){const t=e(Kg,Gg),r=t.domain;let n,i,o=10;function a(){return n=function(e){return e===Math.E?Math.log:10===e&&Math.log10||2===e&&Math.log2||(e=Math.log(e),t=>Math.log(t)/e)}(o),i=function(e){return 10===e?Qg:e===Math.E?Math.exp:t=>Math.pow(e,t)}(o),r()[0]<0?(n=em(n),i=em(i),e(Zg,Jg)):e(Kg,Gg),t}return t.base=function(e){return arguments.length?(o=+e,a()):o},t.domain=function(e){return arguments.length?(r(e),a()):r()},t.ticks=e=>{const t=r();let a=t[0],c=t[t.length-1];const l=c<a;l&&([a,c]=[c,a]);let u,s,f=n(a),p=n(c);const h=null==e?10:+e;let d=[];if(!(o%1)&&p-f<h){if(f=Math.floor(f),p=Math.ceil(p),a>0){for(;f<=p;++f)for(u=1;u<o;++u)if(s=f<0?u/i(-f):u*i(f),!(s<a)){if(s>c)break;d.push(s)}}else for(;f<=p;++f)for(u=o-1;u>=1;--u)if(s=f>0?u/i(-f):u*i(f),!(s<a)){if(s>c)break;d.push(s)}2*d.length<h&&(d=fv(a,c,h))}else d=fv(f,p,Math.min(p-f,h)).map(i);return l?d.reverse():d},t.tickFormat=(e,r)=>{if(null==e&&(e=10),null==r&&(r=10===o?"s":","),"function"!=typeof r&&(o%1||null!=(r=Ig(r)).precision||(r.trim=!0),r=$g(r)),e===1/0)return r;const a=Math.max(1,o*e/t.ticks().length);return e=>{let t=e/i(Math.round(n(e)));return t*o<o-.5&&(t*=o),t<=a?r(e):""}},t.nice=()=>r(Xg(r(),{floor:e=>i(Math.floor(n(e))),ceil:e=>i(Math.ceil(n(e)))})),t}function rm(e){return function(t){return Math.sign(t)*Math.log1p(Math.abs(t/e))}}function nm(e){return function(t){return Math.sign(t)*Math.expm1(Math.abs(t))*e}}function im(e){var t=1,r=e(rm(t),nm(t));return r.constant=function(r){return arguments.length?e(rm(t=+r),nm(t)):t},qg(r)}function om(e){return function(t){return t<0?-Math.pow(-t,e):Math.pow(t,e)}}function am(e){return e<0?-Math.sqrt(-e):Math.sqrt(e)}function cm(e){return e<0?-e*e:e*e}function lm(e){var t=e(Sg,Sg),r=1;return t.exponent=function(t){return arguments.length?1===(r=+t)?e(Sg,Sg):.5===r?e(am,cm):e(om(r),om(1/r)):r},qg(t)}function um(){var e=lm(kg());return e.copy=function(){return Mg(e,um()).exponent(e.exponent())},bv.apply(e,arguments),e}function sm(e){return Math.sign(e)*e*e}zg=Ug({thousands:",",grouping:[3],currency:["$",""]}),$g=zg.format,Hg=zg.formatPrefix;const fm=new Date,pm=new Date;function hm(e,t,r,n){function i(t){return e(t=0===arguments.length?new Date:new Date(+t)),t}return i.floor=t=>(e(t=new Date(+t)),t),i.ceil=r=>(e(r=new Date(r-1)),t(r,1),e(r),r),i.round=e=>{const t=i(e),r=i.ceil(e);return e-t<r-e?t:r},i.offset=(e,r)=>(t(e=new Date(+e),null==r?1:Math.floor(r)),e),i.range=(r,n,o)=>{const a=[];if(r=i.ceil(r),o=null==o?1:Math.floor(o),!(r<n&&o>0))return a;let c;do{a.push(c=new Date(+r)),t(r,o),e(r)}while(c<r&&r<n);return a},i.filter=r=>hm((t=>{if(t>=t)for(;e(t),!r(t);)t.setTime(t-1)}),((e,n)=>{if(e>=e)if(n<0)for(;++n<=0;)for(;t(e,-1),!r(e););else for(;--n>=0;)for(;t(e,1),!r(e););})),r&&(i.count=(t,n)=>(fm.setTime(+t),pm.setTime(+n),e(fm),e(pm),Math.floor(r(fm,pm))),i.every=e=>(e=Math.floor(e),isFinite(e)&&e>0?e>1?i.filter(n?t=>n(t)%e==0:t=>i.count(0,t)%e==0):i:null)),i}const dm=hm((()=>{}),((e,t)=>{e.setTime(+e+t)}),((e,t)=>t-e));dm.every=e=>(e=Math.floor(e),isFinite(e)&&e>0?e>1?hm((t=>{t.setTime(Math.floor(t/e)*e)}),((t,r)=>{t.setTime(+t+r*e)}),((t,r)=>(r-t)/e)):dm:null),dm.range;const ym=1e3,vm=6e4,gm=36e5,mm=864e5,bm=6048e5,wm=2592e6,xm=31536e6,Om=hm((e=>{e.setTime(e-e.getMilliseconds())}),((e,t)=>{e.setTime(+e+t*ym)}),((e,t)=>(t-e)/ym),(e=>e.getUTCSeconds()));Om.range;const Sm=hm((e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*ym)}),((e,t)=>{e.setTime(+e+t*vm)}),((e,t)=>(t-e)/vm),(e=>e.getMinutes()));Sm.range;const jm=hm((e=>{e.setUTCSeconds(0,0)}),((e,t)=>{e.setTime(+e+t*vm)}),((e,t)=>(t-e)/vm),(e=>e.getUTCMinutes()));jm.range;const Am=hm((e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*ym-e.getMinutes()*vm)}),((e,t)=>{e.setTime(+e+t*gm)}),((e,t)=>(t-e)/gm),(e=>e.getHours()));Am.range;const Pm=hm((e=>{e.setUTCMinutes(0,0,0)}),((e,t)=>{e.setTime(+e+t*gm)}),((e,t)=>(t-e)/gm),(e=>e.getUTCHours()));Pm.range;const Mm=hm((e=>e.setHours(0,0,0,0)),((e,t)=>e.setDate(e.getDate()+t)),((e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*vm)/mm),(e=>e.getDate()-1));Mm.range;const km=hm((e=>{e.setUTCHours(0,0,0,0)}),((e,t)=>{e.setUTCDate(e.getUTCDate()+t)}),((e,t)=>(t-e)/mm),(e=>e.getUTCDate()-1));km.range;const Em=hm((e=>{e.setUTCHours(0,0,0,0)}),((e,t)=>{e.setUTCDate(e.getUTCDate()+t)}),((e,t)=>(t-e)/mm),(e=>Math.floor(e/mm)));function Cm(e){return hm((t=>{t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)}),((e,t)=>{e.setDate(e.getDate()+7*t)}),((e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*vm)/bm))}Em.range;const _m=Cm(0),Tm=Cm(1),Dm=Cm(2),Im=Cm(3),Nm=Cm(4),Lm=Cm(5),Bm=Cm(6);function Rm(e){return hm((t=>{t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)}),((e,t)=>{e.setUTCDate(e.getUTCDate()+7*t)}),((e,t)=>(t-e)/bm))}_m.range,Tm.range,Dm.range,Im.range,Nm.range,Lm.range,Bm.range;const zm=Rm(0),$m=Rm(1),Hm=Rm(2),Vm=Rm(3),Fm=Rm(4),Um=Rm(5),Wm=Rm(6);zm.range,$m.range,Hm.range,Vm.range,Fm.range,Um.range,Wm.range;const qm=hm((e=>{e.setDate(1),e.setHours(0,0,0,0)}),((e,t)=>{e.setMonth(e.getMonth()+t)}),((e,t)=>t.getMonth()-e.getMonth()+12*(t.getFullYear()-e.getFullYear())),(e=>e.getMonth()));qm.range;const Ym=hm((e=>{e.setUTCDate(1),e.setUTCHours(0,0,0,0)}),((e,t)=>{e.setUTCMonth(e.getUTCMonth()+t)}),((e,t)=>t.getUTCMonth()-e.getUTCMonth()+12*(t.getUTCFullYear()-e.getUTCFullYear())),(e=>e.getUTCMonth()));Ym.range;const Xm=hm((e=>{e.setMonth(0,1),e.setHours(0,0,0,0)}),((e,t)=>{e.setFullYear(e.getFullYear()+t)}),((e,t)=>t.getFullYear()-e.getFullYear()),(e=>e.getFullYear()));Xm.every=e=>isFinite(e=Math.floor(e))&&e>0?hm((t=>{t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)}),((t,r)=>{t.setFullYear(t.getFullYear()+r*e)})):null,Xm.range;const Km=hm((e=>{e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)}),((e,t)=>{e.setUTCFullYear(e.getUTCFullYear()+t)}),((e,t)=>t.getUTCFullYear()-e.getUTCFullYear()),(e=>e.getUTCFullYear()));function Gm(e,t,r,n,i,o){const a=[[Om,1,ym],[Om,5,5e3],[Om,15,15e3],[Om,30,3e4],[o,1,vm],[o,5,3e5],[o,15,9e5],[o,30,18e5],[i,1,gm],[i,3,108e5],[i,6,216e5],[i,12,432e5],[n,1,mm],[n,2,1728e5],[r,1,bm],[t,1,wm],[t,3,7776e6],[e,1,xm]];function c(t,r,n){const i=Math.abs(r-t)/n,o=Qy((([,,e])=>e)).right(a,i);if(o===a.length)return e.every(hv(t/xm,r/xm,n));if(0===o)return dm.every(Math.max(hv(t,r,n),1));const[c,l]=a[i/a[o-1][2]<a[o][2]/i?o-1:o];return c.every(l)}return[function(e,t,r){const n=t<e;n&&([e,t]=[t,e]);const i=r&&"function"==typeof r.range?r:c(e,t,r),o=i?i.range(e,+t+1):[];return n?o.reverse():o},c]}Km.every=e=>isFinite(e=Math.floor(e))&&e>0?hm((t=>{t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)}),((t,r)=>{t.setUTCFullYear(t.getUTCFullYear()+r*e)})):null,Km.range;const[Zm,Jm]=Gm(Km,Ym,zm,Em,Pm,jm),[Qm,eb]=Gm(Xm,qm,_m,Mm,Am,Sm);function tb(e){if(0<=e.y&&e.y<100){var t=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return t.setFullYear(e.y),t}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function rb(e){if(0<=e.y&&e.y<100){var t=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return t.setUTCFullYear(e.y),t}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function nb(e,t,r){return{y:e,m:t,d:r,H:0,M:0,S:0,L:0}}var ib,ob,ab,cb={"-":"",_:" ",0:"0"},lb=/^\s*\d+/,ub=/^%/,sb=/[\\^$*+?|[\]().{}]/g;function fb(e,t,r){var n=e<0?"-":"",i=(n?-e:e)+"",o=i.length;return n+(o<r?new Array(r-o+1).join(t)+i:i)}function pb(e){return e.replace(sb,"\\$&")}function hb(e){return new RegExp("^(?:"+e.map(pb).join("|")+")","i")}function db(e){return new Map(e.map(((e,t)=>[e.toLowerCase(),t])))}function yb(e,t,r){var n=lb.exec(t.slice(r,r+1));return n?(e.w=+n[0],r+n[0].length):-1}function vb(e,t,r){var n=lb.exec(t.slice(r,r+1));return n?(e.u=+n[0],r+n[0].length):-1}function gb(e,t,r){var n=lb.exec(t.slice(r,r+2));return n?(e.U=+n[0],r+n[0].length):-1}function mb(e,t,r){var n=lb.exec(t.slice(r,r+2));return n?(e.V=+n[0],r+n[0].length):-1}function bb(e,t,r){var n=lb.exec(t.slice(r,r+2));return n?(e.W=+n[0],r+n[0].length):-1}function wb(e,t,r){var n=lb.exec(t.slice(r,r+4));return n?(e.y=+n[0],r+n[0].length):-1}function xb(e,t,r){var n=lb.exec(t.slice(r,r+2));return n?(e.y=+n[0]+(+n[0]>68?1900:2e3),r+n[0].length):-1}function Ob(e,t,r){var n=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(r,r+6));return n?(e.Z=n[1]?0:-(n[2]+(n[3]||"00")),r+n[0].length):-1}function Sb(e,t,r){var n=lb.exec(t.slice(r,r+1));return n?(e.q=3*n[0]-3,r+n[0].length):-1}function jb(e,t,r){var n=lb.exec(t.slice(r,r+2));return n?(e.m=n[0]-1,r+n[0].length):-1}function Ab(e,t,r){var n=lb.exec(t.slice(r,r+2));return n?(e.d=+n[0],r+n[0].length):-1}function Pb(e,t,r){var n=lb.exec(t.slice(r,r+3));return n?(e.m=0,e.d=+n[0],r+n[0].length):-1}function Mb(e,t,r){var n=lb.exec(t.slice(r,r+2));return n?(e.H=+n[0],r+n[0].length):-1}function kb(e,t,r){var n=lb.exec(t.slice(r,r+2));return n?(e.M=+n[0],r+n[0].length):-1}function Eb(e,t,r){var n=lb.exec(t.slice(r,r+2));return n?(e.S=+n[0],r+n[0].length):-1}function Cb(e,t,r){var n=lb.exec(t.slice(r,r+3));return n?(e.L=+n[0],r+n[0].length):-1}function _b(e,t,r){var n=lb.exec(t.slice(r,r+6));return n?(e.L=Math.floor(n[0]/1e3),r+n[0].length):-1}function Tb(e,t,r){var n=ub.exec(t.slice(r,r+1));return n?r+n[0].length:-1}function Db(e,t,r){var n=lb.exec(t.slice(r));return n?(e.Q=+n[0],r+n[0].length):-1}function Ib(e,t,r){var n=lb.exec(t.slice(r));return n?(e.s=+n[0],r+n[0].length):-1}function Nb(e,t){return fb(e.getDate(),t,2)}function Lb(e,t){return fb(e.getHours(),t,2)}function Bb(e,t){return fb(e.getHours()%12||12,t,2)}function Rb(e,t){return fb(1+Mm.count(Xm(e),e),t,3)}function zb(e,t){return fb(e.getMilliseconds(),t,3)}function $b(e,t){return zb(e,t)+"000"}function Hb(e,t){return fb(e.getMonth()+1,t,2)}function Vb(e,t){return fb(e.getMinutes(),t,2)}function Fb(e,t){return fb(e.getSeconds(),t,2)}function Ub(e){var t=e.getDay();return 0===t?7:t}function Wb(e,t){return fb(_m.count(Xm(e)-1,e),t,2)}function qb(e){var t=e.getDay();return t>=4||0===t?Nm(e):Nm.ceil(e)}function Yb(e,t){return e=qb(e),fb(Nm.count(Xm(e),e)+(4===Xm(e).getDay()),t,2)}function Xb(e){return e.getDay()}function Kb(e,t){return fb(Tm.count(Xm(e)-1,e),t,2)}function Gb(e,t){return fb(e.getFullYear()%100,t,2)}function Zb(e,t){return fb((e=qb(e)).getFullYear()%100,t,2)}function Jb(e,t){return fb(e.getFullYear()%1e4,t,4)}function Qb(e,t){var r=e.getDay();return fb((e=r>=4||0===r?Nm(e):Nm.ceil(e)).getFullYear()%1e4,t,4)}function ew(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+fb(t/60|0,"0",2)+fb(t%60,"0",2)}function tw(e,t){return fb(e.getUTCDate(),t,2)}function rw(e,t){return fb(e.getUTCHours(),t,2)}function nw(e,t){return fb(e.getUTCHours()%12||12,t,2)}function iw(e,t){return fb(1+km.count(Km(e),e),t,3)}function ow(e,t){return fb(e.getUTCMilliseconds(),t,3)}function aw(e,t){return ow(e,t)+"000"}function cw(e,t){return fb(e.getUTCMonth()+1,t,2)}function lw(e,t){return fb(e.getUTCMinutes(),t,2)}function uw(e,t){return fb(e.getUTCSeconds(),t,2)}function sw(e){var t=e.getUTCDay();return 0===t?7:t}function fw(e,t){return fb(zm.count(Km(e)-1,e),t,2)}function pw(e){var t=e.getUTCDay();return t>=4||0===t?Fm(e):Fm.ceil(e)}function hw(e,t){return e=pw(e),fb(Fm.count(Km(e),e)+(4===Km(e).getUTCDay()),t,2)}function dw(e){return e.getUTCDay()}function yw(e,t){return fb($m.count(Km(e)-1,e),t,2)}function vw(e,t){return fb(e.getUTCFullYear()%100,t,2)}function gw(e,t){return fb((e=pw(e)).getUTCFullYear()%100,t,2)}function mw(e,t){return fb(e.getUTCFullYear()%1e4,t,4)}function bw(e,t){var r=e.getUTCDay();return fb((e=r>=4||0===r?Fm(e):Fm.ceil(e)).getUTCFullYear()%1e4,t,4)}function ww(){return"+0000"}function xw(){return"%"}function Ow(e){return+e}function Sw(e){return Math.floor(+e/1e3)}function jw(e){return new Date(e)}function Aw(e){return e instanceof Date?+e:+new Date(+e)}function Pw(e,t,r,n,i,o,a,c,l,u){var s=Eg(),f=s.invert,p=s.domain,h=u(".%L"),d=u(":%S"),y=u("%I:%M"),v=u("%I %p"),g=u("%a %d"),m=u("%b %d"),b=u("%B"),w=u("%Y");function x(e){return(l(e)<e?h:c(e)<e?d:a(e)<e?y:o(e)<e?v:n(e)<e?i(e)<e?g:m:r(e)<e?b:w)(e)}return s.invert=function(e){return new Date(f(e))},s.domain=function(e){return arguments.length?p(Array.from(e,Aw)):p().map(jw)},s.ticks=function(t){var r=p();return e(r[0],r[r.length-1],null==t?10:t)},s.tickFormat=function(e,t){return null==t?x:u(t)},s.nice=function(e){var r=p();return e&&"function"==typeof e.range||(e=t(r[0],r[r.length-1],null==e?10:e)),e?p(Xg(r,e)):s},s.copy=function(){return Mg(s,Pw(e,t,r,n,i,o,a,c,l,u))},s}function Mw(){var e,t,r,n,i,o=0,a=1,c=Sg,l=!1;function u(t){return null==t||isNaN(t=+t)?i:c(0===r?.5:(t=(n(t)-e)*r,l?Math.max(0,Math.min(1,t)):t))}function s(e){return function(t){var r,n;return arguments.length?([r,n]=t,c=e(r,n),u):[c(0),c(1)]}}return u.domain=function(i){return arguments.length?([o,a]=i,e=n(o=+o),t=n(a=+a),r=e===t?0:1/(t-e),u):[o,a]},u.clamp=function(e){return arguments.length?(l=!!e,u):l},u.interpolator=function(e){return arguments.length?(c=e,u):c},u.range=s(mg),u.rangeRound=s(bg),u.unknown=function(e){return arguments.length?(i=e,u):i},function(i){return n=i,e=i(o),t=i(a),r=e===t?0:1/(t-e),u}}function kw(e,t){return t.domain(e.domain()).interpolator(e.interpolator()).clamp(e.clamp()).unknown(e.unknown())}function Ew(){var e=lm(Mw());return e.copy=function(){return kw(e,Ew()).exponent(e.exponent())},wv.apply(e,arguments)}function Cw(){var e,t,r,n,i,o,a,c=0,l=.5,u=1,s=1,f=Sg,p=!1;function h(e){return isNaN(e=+e)?a:(e=.5+((e=+o(e))-t)*(s*e<s*t?n:i),f(p?Math.max(0,Math.min(1,e)):e))}function d(e){return function(t){var r,n,i;return arguments.length?([r,n,i]=t,f=wg(e,[r,n,i]),h):[f(0),f(.5),f(1)]}}return h.domain=function(a){return arguments.length?([c,l,u]=a,e=o(c=+c),t=o(l=+l),r=o(u=+u),n=e===t?0:.5/(t-e),i=t===r?0:.5/(r-t),s=t<e?-1:1,h):[c,l,u]},h.clamp=function(e){return arguments.length?(p=!!e,h):p},h.interpolator=function(e){return arguments.length?(f=e,h):f},h.range=d(mg),h.rangeRound=d(bg),h.unknown=function(e){return arguments.length?(a=e,h):a},function(a){return o=a,e=a(c),t=a(l),r=a(u),n=e===t?0:.5/(t-e),i=t===r?0:.5/(r-t),s=t<e?-1:1,h}}function _w(){var e=lm(Cw());return e.copy=function(){return kw(e,_w()).exponent(e.exponent())},wv.apply(e,arguments)}!function(e){ib=function(e){var t=e.dateTime,r=e.date,n=e.time,i=e.periods,o=e.days,a=e.shortDays,c=e.months,l=e.shortMonths,u=hb(i),s=db(i),f=hb(o),p=db(o),h=hb(a),d=db(a),y=hb(c),v=db(c),g=hb(l),m=db(l),b={a:function(e){return a[e.getDay()]},A:function(e){return o[e.getDay()]},b:function(e){return l[e.getMonth()]},B:function(e){return c[e.getMonth()]},c:null,d:Nb,e:Nb,f:$b,g:Zb,G:Qb,H:Lb,I:Bb,j:Rb,L:zb,m:Hb,M:Vb,p:function(e){return i[+(e.getHours()>=12)]},q:function(e){return 1+~~(e.getMonth()/3)},Q:Ow,s:Sw,S:Fb,u:Ub,U:Wb,V:Yb,w:Xb,W:Kb,x:null,X:null,y:Gb,Y:Jb,Z:ew,"%":xw},w={a:function(e){return a[e.getUTCDay()]},A:function(e){return o[e.getUTCDay()]},b:function(e){return l[e.getUTCMonth()]},B:function(e){return c[e.getUTCMonth()]},c:null,d:tw,e:tw,f:aw,g:gw,G:bw,H:rw,I:nw,j:iw,L:ow,m:cw,M:lw,p:function(e){return i[+(e.getUTCHours()>=12)]},q:function(e){return 1+~~(e.getUTCMonth()/3)},Q:Ow,s:Sw,S:uw,u:sw,U:fw,V:hw,w:dw,W:yw,x:null,X:null,y:vw,Y:mw,Z:ww,"%":xw},x={a:function(e,t,r){var n=h.exec(t.slice(r));return n?(e.w=d.get(n[0].toLowerCase()),r+n[0].length):-1},A:function(e,t,r){var n=f.exec(t.slice(r));return n?(e.w=p.get(n[0].toLowerCase()),r+n[0].length):-1},b:function(e,t,r){var n=g.exec(t.slice(r));return n?(e.m=m.get(n[0].toLowerCase()),r+n[0].length):-1},B:function(e,t,r){var n=y.exec(t.slice(r));return n?(e.m=v.get(n[0].toLowerCase()),r+n[0].length):-1},c:function(e,r,n){return j(e,t,r,n)},d:Ab,e:Ab,f:_b,g:xb,G:wb,H:Mb,I:Mb,j:Pb,L:Cb,m:jb,M:kb,p:function(e,t,r){var n=u.exec(t.slice(r));return n?(e.p=s.get(n[0].toLowerCase()),r+n[0].length):-1},q:Sb,Q:Db,s:Ib,S:Eb,u:vb,U:gb,V:mb,w:yb,W:bb,x:function(e,t,n){return j(e,r,t,n)},X:function(e,t,r){return j(e,n,t,r)},y:xb,Y:wb,Z:Ob,"%":Tb};function O(e,t){return function(r){var n,i,o,a=[],c=-1,l=0,u=e.length;for(r instanceof Date||(r=new Date(+r));++c<u;)37===e.charCodeAt(c)&&(a.push(e.slice(l,c)),null!=(i=cb[n=e.charAt(++c)])?n=e.charAt(++c):i="e"===n?" ":"0",(o=t[n])&&(n=o(r,i)),a.push(n),l=c+1);return a.push(e.slice(l,c)),a.join("")}}function S(e,t){return function(r){var n,i,o=nb(1900,void 0,1);if(j(o,e,r+="",0)!=r.length)return null;if("Q"in o)return new Date(o.Q);if("s"in o)return new Date(1e3*o.s+("L"in o?o.L:0));if(t&&!("Z"in o)&&(o.Z=0),"p"in o&&(o.H=o.H%12+12*o.p),void 0===o.m&&(o.m="q"in o?o.q:0),"V"in o){if(o.V<1||o.V>53)return null;"w"in o||(o.w=1),"Z"in o?(i=(n=rb(nb(o.y,0,1))).getUTCDay(),n=i>4||0===i?$m.ceil(n):$m(n),n=km.offset(n,7*(o.V-1)),o.y=n.getUTCFullYear(),o.m=n.getUTCMonth(),o.d=n.getUTCDate()+(o.w+6)%7):(i=(n=tb(nb(o.y,0,1))).getDay(),n=i>4||0===i?Tm.ceil(n):Tm(n),n=Mm.offset(n,7*(o.V-1)),o.y=n.getFullYear(),o.m=n.getMonth(),o.d=n.getDate()+(o.w+6)%7)}else("W"in o||"U"in o)&&("w"in o||(o.w="u"in o?o.u%7:"W"in o?1:0),i="Z"in o?rb(nb(o.y,0,1)).getUTCDay():tb(nb(o.y,0,1)).getDay(),o.m=0,o.d="W"in o?(o.w+6)%7+7*o.W-(i+5)%7:o.w+7*o.U-(i+6)%7);return"Z"in o?(o.H+=o.Z/100|0,o.M+=o.Z%100,rb(o)):tb(o)}}function j(e,t,r,n){for(var i,o,a=0,c=t.length,l=r.length;a<c;){if(n>=l)return-1;if(37===(i=t.charCodeAt(a++))){if(i=t.charAt(a++),!(o=x[i in cb?t.charAt(a++):i])||(n=o(e,r,n))<0)return-1}else if(i!=r.charCodeAt(n++))return-1}return n}return b.x=O(r,b),b.X=O(n,b),b.c=O(t,b),w.x=O(r,w),w.X=O(n,w),w.c=O(t,w),{format:function(e){var t=O(e+="",b);return t.toString=function(){return e},t},parse:function(e){var t=S(e+="",!1);return t.toString=function(){return e},t},utcFormat:function(e){var t=O(e+="",w);return t.toString=function(){return e},t},utcParse:function(e){var t=S(e+="",!0);return t.toString=function(){return e},t}}}(e),ob=ib.format,ib.parse,ab=ib.utcFormat,ib.utcParse}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});var Tw=Object.freeze({__proto__:null,scaleBand:Sv,scaleDiverging:function e(){var t=qg(Cw()(Sg));return t.copy=function(){return kw(t,e())},wv.apply(t,arguments)},scaleDivergingLog:function e(){var t=tm(Cw()).domain([.1,1,10]);return t.copy=function(){return kw(t,e()).base(t.base())},wv.apply(t,arguments)},scaleDivergingPow:_w,scaleDivergingSqrt:function(){return _w.apply(null,arguments).exponent(.5)},scaleDivergingSymlog:function e(){var t=im(Cw());return t.copy=function(){return kw(t,e()).constant(t.constant())},wv.apply(t,arguments)},scaleIdentity:function e(t){var r;function n(e){return null==e||isNaN(e=+e)?r:e}return n.invert=n,n.domain=n.range=function(e){return arguments.length?(t=Array.from(e,xg),n):t.slice()},n.unknown=function(e){return arguments.length?(r=e,n):r},n.copy=function(){return e(t).unknown(r)},t=arguments.length?Array.from(t,xg):[0,1],qg(n)},scaleImplicit:xv,scaleLinear:Yg,scaleLog:function e(){const t=tm(kg()).domain([1,10]);return t.copy=()=>Mg(t,e()).base(t.base()),bv.apply(t,arguments),t},scaleOrdinal:Ov,scalePoint:Av,scalePow:um,scaleQuantile:function e(){var t,r=[],n=[],i=[];function o(){var e=0,t=Math.max(1,n.length);for(i=new Array(t-1);++e<t;)i[e-1]=mv(r,e/t);return a}function a(e){return null==e||isNaN(e=+e)?t:n[rv(i,e)]}return a.invertExtent=function(e){var t=n.indexOf(e);return t<0?[NaN,NaN]:[t>0?i[t-1]:r[0],t<i.length?i[t]:r[r.length-1]]},a.domain=function(e){if(!arguments.length)return r.slice();r=[];for(let t of e)null==t||isNaN(t=+t)||r.push(t);return r.sort(Zy),o()},a.range=function(e){return arguments.length?(n=Array.from(e),o()):n.slice()},a.unknown=function(e){return arguments.length?(t=e,a):t},a.quantiles=function(){return i.slice()},a.copy=function(){return e().domain(r).range(n).unknown(t)},bv.apply(a,arguments)},scaleQuantize:function e(){var t,r=0,n=1,i=1,o=[.5],a=[0,1];function c(e){return null!=e&&e<=e?a[rv(o,e,0,i)]:t}function l(){var e=-1;for(o=new Array(i);++e<i;)o[e]=((e+1)*n-(e-i)*r)/(i+1);return c}return c.domain=function(e){return arguments.length?([r,n]=e,r=+r,n=+n,l()):[r,n]},c.range=function(e){return arguments.length?(i=(a=Array.from(e)).length-1,l()):a.slice()},c.invertExtent=function(e){var t=a.indexOf(e);return t<0?[NaN,NaN]:t<1?[r,o[0]]:t>=i?[o[i-1],n]:[o[t-1],o[t]]},c.unknown=function(e){return arguments.length?(t=e,c):c},c.thresholds=function(){return o.slice()},c.copy=function(){return e().domain([r,n]).range(a).unknown(t)},bv.apply(qg(c),arguments)},scaleRadial:function e(){var t,r=Eg(),n=[0,1],i=!1;function o(e){var n=function(e){return Math.sign(e)*Math.sqrt(Math.abs(e))}(r(e));return isNaN(n)?t:i?Math.round(n):n}return o.invert=function(e){return r.invert(sm(e))},o.domain=function(e){return arguments.length?(r.domain(e),o):r.domain()},o.range=function(e){return arguments.length?(r.range((n=Array.from(e,xg)).map(sm)),o):n.slice()},o.rangeRound=function(e){return o.range(e).round(!0)},o.round=function(e){return arguments.length?(i=!!e,o):i},o.clamp=function(e){return arguments.length?(r.clamp(e),o):r.clamp()},o.unknown=function(e){return arguments.length?(t=e,o):t},o.copy=function(){return e(r.domain(),n).round(i).clamp(r.clamp()).unknown(t)},bv.apply(o,arguments),qg(o)},scaleSequential:function e(){var t=qg(Mw()(Sg));return t.copy=function(){return kw(t,e())},wv.apply(t,arguments)},scaleSequentialLog:function e(){var t=tm(Mw()).domain([1,10]);return t.copy=function(){return kw(t,e()).base(t.base())},wv.apply(t,arguments)},scaleSequentialPow:Ew,scaleSequentialQuantile:function e(){var t=[],r=Sg;function n(e){if(null!=e&&!isNaN(e=+e))return r((rv(t,e,1)-1)/(t.length-1))}return n.domain=function(e){if(!arguments.length)return t.slice();t=[];for(let r of e)null==r||isNaN(r=+r)||t.push(r);return t.sort(Zy),n},n.interpolator=function(e){return arguments.length?(r=e,n):r},n.range=function(){return t.map(((e,n)=>r(n/(t.length-1))))},n.quantiles=function(e){return Array.from({length:e+1},((r,n)=>function(e,t,r){if((n=(e=Float64Array.from(function*(e,t){for(let t of e)null!=t&&(t=+t)>=t&&(yield t)}(e))).length)&&!isNaN(t=+t)){if(t<=0||n<2)return yv(e);if(t>=1)return dv(e);var n,i=(n-1)*t,o=Math.floor(i),a=dv(vv(e,o).subarray(0,o+1));return a+(yv(e.subarray(o+1))-a)*(i-o)}}(t,n/e)))},n.copy=function(){return e(r).domain(t)},wv.apply(n,arguments)},scaleSequentialSqrt:function(){return Ew.apply(null,arguments).exponent(.5)},scaleSequentialSymlog:function e(){var t=im(Mw());return t.copy=function(){return kw(t,e()).constant(t.constant())},wv.apply(t,arguments)},scaleSqrt:function(){return um.apply(null,arguments).exponent(.5)},scaleSymlog:function e(){var t=im(kg());return t.copy=function(){return Mg(t,e()).constant(t.constant())},bv.apply(t,arguments)},scaleThreshold:function e(){var t,r=[.5],n=[0,1],i=1;function o(e){return null!=e&&e<=e?n[rv(r,e,0,i)]:t}return o.domain=function(e){return arguments.length?(r=Array.from(e),i=Math.min(r.length,n.length-1),o):r.slice()},o.range=function(e){return arguments.length?(n=Array.from(e),i=Math.min(r.length,n.length-1),o):n.slice()},o.invertExtent=function(e){var t=n.indexOf(e);return[r[t-1],r[t]]},o.unknown=function(e){return arguments.length?(t=e,o):t},o.copy=function(){return e().domain(r).range(n).unknown(t)},bv.apply(o,arguments)},scaleTime:function(){return bv.apply(Pw(Qm,eb,Xm,qm,_m,Mm,Am,Sm,Om,ob).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)},scaleUtc:function(){return bv.apply(Pw(Zm,Jm,Km,Ym,zm,km,Pm,jm,Om,ab).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)},tickFormat:Wg}),Dw=kn;var Iw=function(e,t,r){for(var n=-1,i=e.length;++n<i;){var o=e[n],a=t(o);if(null!=a&&(void 0===c?a==a&&!Dw(a):r(a,c)))var c=a,l=o}return l};var Nw=Iw,Lw=function(e,t){return e>t},Bw=Qf;var Rw=function(e){return e&&e.length?Nw(e,Bw,Lw):void 0},zw=Gt(Rw);var $w=Iw,Hw=function(e,t){return e<t},Vw=Qf;var Fw=function(e){return e&&e.length?$w(e,Vw,Hw):void 0},Uw=Gt(Fw),Ww=fo,qw=pp,Yw=ph,Xw=ln;var Kw=nh,Gw=function(e,t){return(Xw(e)?Ww:Yw)(e,qw(t))};var Zw=Gt((function(e,t){return Kw(Gw(e,t),1)})),Jw=wf;var Qw,ex=Gt((function(e,t){return Jw(e,t)})),tx=1e9,rx=!0,nx="[DecimalError] ",ix=nx+"Invalid argument: ",ox=nx+"Exponent out of range: ",ax=Math.floor,cx=Math.pow,lx=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,ux=1e7,sx=7,fx=9007199254740991,px=ax(fx/sx),hx={};function dx(e,t){var r,n,i,o,a,c,l,u,s=e.constructor,f=s.precision;if(!e.s||!t.s)return t.s||(t=new s(e)),rx?jx(t,f):t;if(l=e.d,u=t.d,a=e.e,i=t.e,l=l.slice(),o=a-i){for(o<0?(n=l,o=-o,c=u.length):(n=u,i=a,c=l.length),o>(c=(a=Math.ceil(f/sx))>c?a+1:c+1)&&(o=c,n.length=1),n.reverse();o--;)n.push(0);n.reverse()}for((c=l.length)-(o=u.length)<0&&(o=c,n=u,u=l,l=n),r=0;o;)r=(l[--o]=l[o]+u[o]+r)/ux|0,l[o]%=ux;for(r&&(l.unshift(r),++i),c=l.length;0==l[--c];)l.pop();return t.d=l,t.e=i,rx?jx(t,f):t}function yx(e,t,r){if(e!==~~e||e<t||e>r)throw Error(ix+e)}function vx(e){var t,r,n,i=e.length-1,o="",a=e[0];if(i>0){for(o+=a,t=1;t<i;t++)n=e[t]+"",(r=sx-n.length)&&(o+=xx(r)),o+=n;a=e[t],(r=sx-(n=a+"").length)&&(o+=xx(r))}else if(0===a)return"0";for(;a%10==0;)a/=10;return o+a}hx.absoluteValue=hx.abs=function(){var e=new this.constructor(this);return e.s&&(e.s=1),e},hx.comparedTo=hx.cmp=function(e){var t,r,n,i,o=this;if(e=new o.constructor(e),o.s!==e.s)return o.s||-e.s;if(o.e!==e.e)return o.e>e.e^o.s<0?1:-1;for(t=0,r=(n=o.d.length)<(i=e.d.length)?n:i;t<r;++t)if(o.d[t]!==e.d[t])return o.d[t]>e.d[t]^o.s<0?1:-1;return n===i?0:n>i^o.s<0?1:-1},hx.decimalPlaces=hx.dp=function(){var e=this,t=e.d.length-1,r=(t-e.e)*sx;if(t=e.d[t])for(;t%10==0;t/=10)r--;return r<0?0:r},hx.dividedBy=hx.div=function(e){return gx(this,new this.constructor(e))},hx.dividedToIntegerBy=hx.idiv=function(e){var t=this.constructor;return jx(gx(this,new t(e),0,1),t.precision)},hx.equals=hx.eq=function(e){return!this.cmp(e)},hx.exponent=function(){return bx(this)},hx.greaterThan=hx.gt=function(e){return this.cmp(e)>0},hx.greaterThanOrEqualTo=hx.gte=function(e){return this.cmp(e)>=0},hx.isInteger=hx.isint=function(){return this.e>this.d.length-2},hx.isNegative=hx.isneg=function(){return this.s<0},hx.isPositive=hx.ispos=function(){return this.s>0},hx.isZero=function(){return 0===this.s},hx.lessThan=hx.lt=function(e){return this.cmp(e)<0},hx.lessThanOrEqualTo=hx.lte=function(e){return this.cmp(e)<1},hx.logarithm=hx.log=function(e){var t,r=this,n=r.constructor,i=n.precision,o=i+5;if(void 0===e)e=new n(10);else if((e=new n(e)).s<1||e.eq(Qw))throw Error(nx+"NaN");if(r.s<1)throw Error(nx+(r.s?"NaN":"-Infinity"));return r.eq(Qw)?new n(0):(rx=!1,t=gx(Ox(r,o),Ox(e,o),o),rx=!0,jx(t,i))},hx.minus=hx.sub=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?Ax(t,e):dx(t,(e.s=-e.s,e))},hx.modulo=hx.mod=function(e){var t,r=this,n=r.constructor,i=n.precision;if(!(e=new n(e)).s)throw Error(nx+"NaN");return r.s?(rx=!1,t=gx(r,e,0,1).times(e),rx=!0,r.minus(t)):jx(new n(r),i)},hx.naturalExponential=hx.exp=function(){return mx(this)},hx.naturalLogarithm=hx.ln=function(){return Ox(this)},hx.negated=hx.neg=function(){var e=new this.constructor(this);return e.s=-e.s||0,e},hx.plus=hx.add=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?dx(t,e):Ax(t,(e.s=-e.s,e))},hx.precision=hx.sd=function(e){var t,r,n,i=this;if(void 0!==e&&e!==!!e&&1!==e&&0!==e)throw Error(ix+e);if(t=bx(i)+1,r=(n=i.d.length-1)*sx+1,n=i.d[n]){for(;n%10==0;n/=10)r--;for(n=i.d[0];n>=10;n/=10)r++}return e&&t>r?t:r},hx.squareRoot=hx.sqrt=function(){var e,t,r,n,i,o,a,c=this,l=c.constructor;if(c.s<1){if(!c.s)return new l(0);throw Error(nx+"NaN")}for(e=bx(c),rx=!1,0==(i=Math.sqrt(+c))||i==1/0?(((t=vx(c.d)).length+e)%2==0&&(t+="0"),i=Math.sqrt(t),e=ax((e+1)/2)-(e<0||e%2),n=new l(t=i==1/0?"5e"+e:(t=i.toExponential()).slice(0,t.indexOf("e")+1)+e)):n=new l(i.toString()),i=a=(r=l.precision)+3;;)if(n=(o=n).plus(gx(c,o,a+2)).times(.5),vx(o.d).slice(0,a)===(t=vx(n.d)).slice(0,a)){if(t=t.slice(a-3,a+1),i==a&&"4999"==t){if(jx(o,r+1,0),o.times(o).eq(c)){n=o;break}}else if("9999"!=t)break;a+=4}return rx=!0,jx(n,r)},hx.times=hx.mul=function(e){var t,r,n,i,o,a,c,l,u,s=this,f=s.constructor,p=s.d,h=(e=new f(e)).d;if(!s.s||!e.s)return new f(0);for(e.s*=s.s,r=s.e+e.e,(l=p.length)<(u=h.length)&&(o=p,p=h,h=o,a=l,l=u,u=a),o=[],n=a=l+u;n--;)o.push(0);for(n=u;--n>=0;){for(t=0,i=l+n;i>n;)c=o[i]+h[n]*p[i-n-1]+t,o[i--]=c%ux|0,t=c/ux|0;o[i]=(o[i]+t)%ux|0}for(;!o[--a];)o.pop();return t?++r:o.shift(),e.d=o,e.e=r,rx?jx(e,f.precision):e},hx.toDecimalPlaces=hx.todp=function(e,t){var r=this,n=r.constructor;return r=new n(r),void 0===e?r:(yx(e,0,tx),void 0===t?t=n.rounding:yx(t,0,8),jx(r,e+bx(r)+1,t))},hx.toExponential=function(e,t){var r,n=this,i=n.constructor;return void 0===e?r=Px(n,!0):(yx(e,0,tx),void 0===t?t=i.rounding:yx(t,0,8),r=Px(n=jx(new i(n),e+1,t),!0,e+1)),r},hx.toFixed=function(e,t){var r,n,i=this,o=i.constructor;return void 0===e?Px(i):(yx(e,0,tx),void 0===t?t=o.rounding:yx(t,0,8),r=Px((n=jx(new o(i),e+bx(i)+1,t)).abs(),!1,e+bx(n)+1),i.isneg()&&!i.isZero()?"-"+r:r)},hx.toInteger=hx.toint=function(){var e=this,t=e.constructor;return jx(new t(e),bx(e)+1,t.rounding)},hx.toNumber=function(){return+this},hx.toPower=hx.pow=function(e){var t,r,n,i,o,a,c=this,l=c.constructor,u=+(e=new l(e));if(!e.s)return new l(Qw);if(!(c=new l(c)).s){if(e.s<1)throw Error(nx+"Infinity");return c}if(c.eq(Qw))return c;if(n=l.precision,e.eq(Qw))return jx(c,n);if(a=(t=e.e)>=(r=e.d.length-1),o=c.s,a){if((r=u<0?-u:u)<=fx){for(i=new l(Qw),t=Math.ceil(n/sx+4),rx=!1;r%2&&Mx((i=i.times(c)).d,t),0!==(r=ax(r/2));)Mx((c=c.times(c)).d,t);return rx=!0,e.s<0?new l(Qw).div(i):jx(i,n)}}else if(o<0)throw Error(nx+"NaN");return o=o<0&&1&e.d[Math.max(t,r)]?-1:1,c.s=1,rx=!1,i=e.times(Ox(c,n+12)),rx=!0,(i=mx(i)).s=o,i},hx.toPrecision=function(e,t){var r,n,i=this,o=i.constructor;return void 0===e?n=Px(i,(r=bx(i))<=o.toExpNeg||r>=o.toExpPos):(yx(e,1,tx),void 0===t?t=o.rounding:yx(t,0,8),n=Px(i=jx(new o(i),e,t),e<=(r=bx(i))||r<=o.toExpNeg,e)),n},hx.toSignificantDigits=hx.tosd=function(e,t){var r=this.constructor;return void 0===e?(e=r.precision,t=r.rounding):(yx(e,1,tx),void 0===t?t=r.rounding:yx(t,0,8)),jx(new r(this),e,t)},hx.toString=hx.valueOf=hx.val=hx.toJSON=hx[Symbol.for("nodejs.util.inspect.custom")]=function(){var e=this,t=bx(e),r=e.constructor;return Px(e,t<=r.toExpNeg||t>=r.toExpPos)};var gx=function(){function e(e,t){var r,n=0,i=e.length;for(e=e.slice();i--;)r=e[i]*t+n,e[i]=r%ux|0,n=r/ux|0;return n&&e.unshift(n),e}function t(e,t,r,n){var i,o;if(r!=n)o=r>n?1:-1;else for(i=o=0;i<r;i++)if(e[i]!=t[i]){o=e[i]>t[i]?1:-1;break}return o}function r(e,t,r){for(var n=0;r--;)e[r]-=n,n=e[r]<t[r]?1:0,e[r]=n*ux+e[r]-t[r];for(;!e[0]&&e.length>1;)e.shift()}return function(n,i,o,a){var c,l,u,s,f,p,h,d,y,v,g,m,b,w,x,O,S,j,A=n.constructor,P=n.s==i.s?1:-1,M=n.d,k=i.d;if(!n.s)return new A(n);if(!i.s)throw Error(nx+"Division by zero");for(l=n.e-i.e,S=k.length,x=M.length,d=(h=new A(P)).d=[],u=0;k[u]==(M[u]||0);)++u;if(k[u]>(M[u]||0)&&--l,(m=null==o?o=A.precision:a?o+(bx(n)-bx(i))+1:o)<0)return new A(0);if(m=m/sx+2|0,u=0,1==S)for(s=0,k=k[0],m++;(u<x||s)&&m--;u++)b=s*ux+(M[u]||0),d[u]=b/k|0,s=b%k|0;else{for((s=ux/(k[0]+1)|0)>1&&(k=e(k,s),M=e(M,s),S=k.length,x=M.length),w=S,v=(y=M.slice(0,S)).length;v<S;)y[v++]=0;(j=k.slice()).unshift(0),O=k[0],k[1]>=ux/2&&++O;do{s=0,(c=t(k,y,S,v))<0?(g=y[0],S!=v&&(g=g*ux+(y[1]||0)),(s=g/O|0)>1?(s>=ux&&(s=ux-1),1==(c=t(f=e(k,s),y,p=f.length,v=y.length))&&(s--,r(f,S<p?j:k,p))):(0==s&&(c=s=1),f=k.slice()),(p=f.length)<v&&f.unshift(0),r(y,f,v),-1==c&&(c=t(k,y,S,v=y.length))<1&&(s++,r(y,S<v?j:k,v)),v=y.length):0===c&&(s++,y=[0]),d[u++]=s,c&&y[0]?y[v++]=M[w]||0:(y=[M[w]],v=1)}while((w++<x||void 0!==y[0])&&m--)}return d[0]||d.shift(),h.e=l,jx(h,a?o+bx(h)+1:o)}}();function mx(e,t){var r,n,i,o,a,c=0,l=0,u=e.constructor,s=u.precision;if(bx(e)>16)throw Error(ox+bx(e));if(!e.s)return new u(Qw);for(null==t?(rx=!1,a=s):a=t,o=new u(.03125);e.abs().gte(.1);)e=e.times(o),l+=5;for(a+=Math.log(cx(2,l))/Math.LN10*2+5|0,r=n=i=new u(Qw),u.precision=a;;){if(n=jx(n.times(e),a),r=r.times(++c),vx((o=i.plus(gx(n,r,a))).d).slice(0,a)===vx(i.d).slice(0,a)){for(;l--;)i=jx(i.times(i),a);return u.precision=s,null==t?(rx=!0,jx(i,s)):i}i=o}}function bx(e){for(var t=e.e*sx,r=e.d[0];r>=10;r/=10)t++;return t}function wx(e,t,r){if(t>e.LN10.sd())throw rx=!0,r&&(e.precision=r),Error(nx+"LN10 precision limit exceeded");return jx(new e(e.LN10),t)}function xx(e){for(var t="";e--;)t+="0";return t}function Ox(e,t){var r,n,i,o,a,c,l,u,s,f=1,p=e,h=p.d,d=p.constructor,y=d.precision;if(p.s<1)throw Error(nx+(p.s?"NaN":"-Infinity"));if(p.eq(Qw))return new d(0);if(null==t?(rx=!1,u=y):u=t,p.eq(10))return null==t&&(rx=!0),wx(d,u);if(u+=10,d.precision=u,n=(r=vx(h)).charAt(0),o=bx(p),!(Math.abs(o)<15e14))return l=wx(d,u+2,y).times(o+""),p=Ox(new d(n+"."+r.slice(1)),u-10).plus(l),d.precision=y,null==t?(rx=!0,jx(p,y)):p;for(;n<7&&1!=n||1==n&&r.charAt(1)>3;)n=(r=vx((p=p.times(e)).d)).charAt(0),f++;for(o=bx(p),n>1?(p=new d("0."+r),o++):p=new d(n+"."+r.slice(1)),c=a=p=gx(p.minus(Qw),p.plus(Qw),u),s=jx(p.times(p),u),i=3;;){if(a=jx(a.times(s),u),vx((l=c.plus(gx(a,new d(i),u))).d).slice(0,u)===vx(c.d).slice(0,u))return c=c.times(2),0!==o&&(c=c.plus(wx(d,u+2,y).times(o+""))),c=gx(c,new d(f),u),d.precision=y,null==t?(rx=!0,jx(c,y)):c;c=l,i+=2}}function Sx(e,t){var r,n,i;for((r=t.indexOf("."))>-1&&(t=t.replace(".","")),(n=t.search(/e/i))>0?(r<0&&(r=n),r+=+t.slice(n+1),t=t.substring(0,n)):r<0&&(r=t.length),n=0;48===t.charCodeAt(n);)++n;for(i=t.length;48===t.charCodeAt(i-1);)--i;if(t=t.slice(n,i)){if(i-=n,r=r-n-1,e.e=ax(r/sx),e.d=[],n=(r+1)%sx,r<0&&(n+=sx),n<i){for(n&&e.d.push(+t.slice(0,n)),i-=sx;n<i;)e.d.push(+t.slice(n,n+=sx));t=t.slice(n),n=sx-t.length}else n-=i;for(;n--;)t+="0";if(e.d.push(+t),rx&&(e.e>px||e.e<-px))throw Error(ox+r)}else e.s=0,e.e=0,e.d=[0];return e}function jx(e,t,r){var n,i,o,a,c,l,u,s,f=e.d;for(a=1,o=f[0];o>=10;o/=10)a++;if((n=t-a)<0)n+=sx,i=t,u=f[s=0];else{if((s=Math.ceil((n+1)/sx))>=(o=f.length))return e;for(u=o=f[s],a=1;o>=10;o/=10)a++;i=(n%=sx)-sx+a}if(void 0!==r&&(c=u/(o=cx(10,a-i-1))%10|0,l=t<0||void 0!==f[s+1]||u%o,l=r<4?(c||l)&&(0==r||r==(e.s<0?3:2)):c>5||5==c&&(4==r||l||6==r&&(n>0?i>0?u/cx(10,a-i):0:f[s-1])%10&1||r==(e.s<0?8:7))),t<1||!f[0])return l?(o=bx(e),f.length=1,t=t-o-1,f[0]=cx(10,(sx-t%sx)%sx),e.e=ax(-t/sx)||0):(f.length=1,f[0]=e.e=e.s=0),e;if(0==n?(f.length=s,o=1,s--):(f.length=s+1,o=cx(10,sx-n),f[s]=i>0?(u/cx(10,a-i)%cx(10,i)|0)*o:0),l)for(;;){if(0==s){(f[0]+=o)==ux&&(f[0]=1,++e.e);break}if(f[s]+=o,f[s]!=ux)break;f[s--]=0,o=1}for(n=f.length;0===f[--n];)f.pop();if(rx&&(e.e>px||e.e<-px))throw Error(ox+bx(e));return e}function Ax(e,t){var r,n,i,o,a,c,l,u,s,f,p=e.constructor,h=p.precision;if(!e.s||!t.s)return t.s?t.s=-t.s:t=new p(e),rx?jx(t,h):t;if(l=e.d,f=t.d,n=t.e,u=e.e,l=l.slice(),a=u-n){for((s=a<0)?(r=l,a=-a,c=f.length):(r=f,n=u,c=l.length),a>(i=Math.max(Math.ceil(h/sx),c)+2)&&(a=i,r.length=1),r.reverse(),i=a;i--;)r.push(0);r.reverse()}else{for((s=(i=l.length)<(c=f.length))&&(c=i),i=0;i<c;i++)if(l[i]!=f[i]){s=l[i]<f[i];break}a=0}for(s&&(r=l,l=f,f=r,t.s=-t.s),c=l.length,i=f.length-c;i>0;--i)l[c++]=0;for(i=f.length;i>a;){if(l[--i]<f[i]){for(o=i;o&&0===l[--o];)l[o]=ux-1;--l[o],l[i]+=ux}l[i]-=f[i]}for(;0===l[--c];)l.pop();for(;0===l[0];l.shift())--n;return l[0]?(t.d=l,t.e=n,rx?jx(t,h):t):new p(0)}function Px(e,t,r){var n,i=bx(e),o=vx(e.d),a=o.length;return t?(r&&(n=r-a)>0?o=o.charAt(0)+"."+o.slice(1)+xx(n):a>1&&(o=o.charAt(0)+"."+o.slice(1)),o=o+(i<0?"e":"e+")+i):i<0?(o="0."+xx(-i-1)+o,r&&(n=r-a)>0&&(o+=xx(n))):i>=a?(o+=xx(i+1-a),r&&(n=r-i-1)>0&&(o=o+"."+xx(n))):((n=i+1)<a&&(o=o.slice(0,n)+"."+o.slice(n)),r&&(n=r-a)>0&&(i+1===a&&(o+="."),o+=xx(n))),e.s<0?"-"+o:o}function Mx(e,t){if(e.length>t)return e.length=t,!0}function kx(e){if(!e||"object"!=typeof e)throw Error(nx+"Object expected");var t,r,n,i=["precision",1,tx,"rounding",0,8,"toExpNeg",-1/0,0,"toExpPos",0,1/0];for(t=0;t<i.length;t+=3)if(void 0!==(n=e[r=i[t]])){if(!(ax(n)===n&&n>=i[t+1]&&n<=i[t+2]))throw Error(ix+r+": "+n);this[r]=n}if(void 0!==(n=e[r="LN10"])){if(n!=Math.LN10)throw Error(ix+r+": "+n);this[r]=new this(n)}return this}var Ex=function e(t){var r,n,i;function o(e){var t=this;if(!(t instanceof o))return new o(e);if(t.constructor=o,e instanceof o)return t.s=e.s,t.e=e.e,void(t.d=(e=e.d)?e.slice():e);if("number"==typeof e){if(0*e!=0)throw Error(ix+e);if(e>0)t.s=1;else{if(!(e<0))return t.s=0,t.e=0,void(t.d=[0]);e=-e,t.s=-1}return e===~~e&&e<1e7?(t.e=0,void(t.d=[e])):Sx(t,e.toString())}if("string"!=typeof e)throw Error(ix+e);if(45===e.charCodeAt(0)?(e=e.slice(1),t.s=-1):t.s=1,!lx.test(e))throw Error(ix+e);Sx(t,e)}if(o.prototype=hx,o.ROUND_UP=0,o.ROUND_DOWN=1,o.ROUND_CEIL=2,o.ROUND_FLOOR=3,o.ROUND_HALF_UP=4,o.ROUND_HALF_DOWN=5,o.ROUND_HALF_EVEN=6,o.ROUND_HALF_CEIL=7,o.ROUND_HALF_FLOOR=8,o.clone=e,o.config=o.set=kx,void 0===t&&(t={}),t)for(i=["precision","rounding","toExpNeg","toExpPos","LN10"],r=0;r<i.length;)t.hasOwnProperty(n=i[r++])||(t[n]=this[n]);return o.config(t),o}({precision:20,rounding:4,toExpNeg:-7,toExpPos:21,LN10:"2.302585092994045684017991454684364207601101488628772976033327900967572609677352480235997205089598298341967784042286"});Qw=new Ex(1);var Cx=Ex;function _x(e){return function(e){if(Array.isArray(e))return Tx(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return Tx(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Tx(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Tx(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var Dx=function(e){return e},Ix={"@@functional/placeholder":!0},Nx=function(e){return e===Ix},Lx=function(e){return function t(){return 0===arguments.length||1===arguments.length&&Nx(arguments.length<=0?void 0:arguments[0])?t:e.apply(void 0,arguments)}},Bx=function e(t,r){return 1===t?r:Lx((function(){for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];var a=i.filter((function(e){return e!==Ix})).length;return a>=t?r.apply(void 0,i):e(t-a,Lx((function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o=i.map((function(e){return Nx(e)?t.shift():e}));return r.apply(void 0,_x(o).concat(t))})))}))},Rx=function(e){return Bx(e.length,e)},zx=function(e,t){for(var r=[],n=e;n<t;++n)r[n-e]=n;return r},$x=Rx((function(e,t){return Array.isArray(t)?t.map(e):Object.keys(t).map((function(e){return t[e]})).map(e)})),Hx=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];if(!t.length)return Dx;var n=t.reverse(),i=n[0],o=n.slice(1);return function(){return o.reduce((function(e,t){return t(e)}),i.apply(void 0,arguments))}},Vx=function(e){return Array.isArray(e)?e.reverse():e.split("").reverse.join("")},Fx=function(e){var t=null,r=null;return function(){for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];return t&&i.every((function(e,r){return e===t[r]}))?r:(t=i,r=e.apply(void 0,i))}};var Ux=Rx((function(e,t,r){var n=+e;return n+r*(+t-n)})),Wx=Rx((function(e,t,r){var n=t-+e;return(r-e)/(n=n||1/0)})),qx=Rx((function(e,t,r){var n=t-+e;return n=n||1/0,Math.max(0,Math.min(1,(r-e)/n))})),Yx={rangeStep:function(e,t,r){for(var n=new Cx(e),i=0,o=[];n.lt(t)&&i<1e5;)o.push(n.toNumber()),n=n.add(r),i++;return o},getDigitCount:function(e){return 0===e?1:Math.floor(new Cx(e).abs().log(10).toNumber())+1},interpolateNumber:Ux,uninterpolateNumber:Wx,uninterpolateTruncation:qx};function Xx(e){return function(e){if(Array.isArray(e))return Zx(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||Gx(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Kx(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var r=[],n=!0,i=!1,o=void 0;try{for(var a,c=e[Symbol.iterator]();!(n=(a=c.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){i=!0,o=e}finally{try{n||null==c.return||c.return()}finally{if(i)throw o}}return r}(e,t)||Gx(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Gx(e,t){if(e){if("string"==typeof e)return Zx(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Zx(e,t):void 0}}function Zx(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Jx(e){var t=Kx(e,2),r=t[0],n=t[1],i=r,o=n;return r>n&&(i=n,o=r),[i,o]}function Qx(e,t,r){if(e.lte(0))return new Cx(0);var n=Yx.getDigitCount(e.toNumber()),i=new Cx(10).pow(n),o=e.div(i),a=1!==n?.05:.1,c=new Cx(Math.ceil(o.div(a).toNumber())).add(r).mul(a).mul(i);return t?c:new Cx(Math.ceil(c))}function eO(e,t,r,n){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0;if(!Number.isFinite((t-e)/(r-1)))return{step:new Cx(0),tickMin:new Cx(0),tickMax:new Cx(0)};var o,a=Qx(new Cx(t).sub(e).div(r-1),n,i);o=e<=0&&t>=0?new Cx(0):(o=new Cx(e).add(t).div(2)).sub(new Cx(o).mod(a));var c=Math.ceil(o.sub(e).div(a).toNumber()),l=Math.ceil(new Cx(t).sub(o).div(a).toNumber()),u=c+l+1;return u>r?eO(e,t,r,n,i+1):(u<r&&(l=t>0?l+(r-u):l,c=t>0?c:c+(r-u)),{step:a,tickMin:o.sub(new Cx(c).mul(a)),tickMax:o.add(new Cx(l).mul(a))})}var tO=Fx((function(e){var t=Kx(e,2),r=t[0],n=t[1],i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6,o=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],a=Math.max(i,2),c=Kx(Jx([r,n]),2),l=c[0],u=c[1];if(l===-1/0||u===1/0){var s=u===1/0?[l].concat(Xx(zx(0,i-1).map((function(){return 1/0})))):[].concat(Xx(zx(0,i-1).map((function(){return-1/0}))),[u]);return r>n?Vx(s):s}if(l===u)return function(e,t,r){var n=1,i=new Cx(e);if(!i.isint()&&r){var o=Math.abs(e);o<1?(n=new Cx(10).pow(Yx.getDigitCount(e)-1),i=new Cx(Math.floor(i.div(n).toNumber())).mul(n)):o>1&&(i=new Cx(Math.floor(e)))}else 0===e?i=new Cx(Math.floor((t-1)/2)):r||(i=new Cx(Math.floor(e)));var a=Math.floor((t-1)/2);return Hx($x((function(e){return i.add(new Cx(e-a).mul(n)).toNumber()})),zx)(0,t)}(l,i,o);var f=eO(l,u,a,o),p=f.step,h=f.tickMin,d=f.tickMax,y=Yx.rangeStep(h,d.add(new Cx(.1).mul(p)),p);return r>n?Vx(y):y})),rO=Fx((function(e,t){var r=Kx(e,2),n=r[0],i=r[1],o=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],a=Kx(Jx([n,i]),2),c=a[0],l=a[1];if(c===-1/0||l===1/0)return[n,i];if(c===l)return[c];var u=Math.max(t,2),s=Qx(new Cx(l).sub(c).div(u-1),o,0),f=[].concat(Xx(Yx.rangeStep(new Cx(c),new Cx(l).sub(new Cx(.99).mul(s)),s)),[l]);return n>i?Vx(f):f})),nO="production"===process.env.NODE_ENV,iO="Invariant failed";function oO(e,t){if(nO)throw new Error(iO);var r="function"==typeof t?t():t,n=r?"".concat(iO,": ").concat(r):iO;throw new Error(n)}var aO=["offset","layout","width","dataKey","data","dataPointFormatter","xAxis","yAxis"];function cO(){return cO=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},cO.apply(this,arguments)}function lO(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,o,a,c=[],l=!0,u=!1;try{if(o=(r=r.call(e)).next,0===t);else for(;!(l=(n=o.call(r)).done)&&(c.push(n.value),c.length!==t);l=!0);}catch(e){u=!0,i=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw i}}return c}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return uO(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return uO(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function uO(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function sO(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function fO(e){var t=e.offset,r=e.layout,n=e.width,i=e.dataKey,o=e.data,a=e.dataPointFormatter,c=e.xAxis,l=e.yAxis,u=sO(e,aO),s=Ea(u,!1);"x"===e.direction&&"number"!==c.type&&("production"!==process.env.NODE_ENV?oO(0,'ErrorBar requires Axis type property to be "number".'):oO());var f=o.map((function(e){var o=a(e,i),u=o.x,f=o.y,p=o.value,h=o.errorVal;if(!h)return null;var d,y,v=[];if(Array.isArray(h)){var g=lO(h,2);d=g[0],y=g[1]}else d=y=h;if("vertical"===r){var m=c.scale,b=f+t,w=b+n,x=b-n,O=m(p-d),S=m(p+y);v.push({x1:S,y1:w,x2:S,y2:x}),v.push({x1:O,y1:b,x2:S,y2:b}),v.push({x1:O,y1:w,x2:O,y2:x})}else if("horizontal"===r){var j=l.scale,A=u+t,P=A-n,M=A+n,k=j(p-d),E=j(p+y);v.push({x1:P,y1:E,x2:M,y2:E}),v.push({x1:A,y1:k,x2:A,y2:E}),v.push({x1:P,y1:k,x2:M,y2:k})}return Q.createElement($a,cO({className:"recharts-errorBar",key:"bar-".concat(v.map((function(e){return"".concat(e.x1,"-").concat(e.x2,"-").concat(e.y1,"-").concat(e.y2)})))},s),v.map((function(e){return Q.createElement("line",cO({},e,{key:"line-".concat(e.x1,"-").concat(e.x2,"-").concat(e.y1,"-").concat(e.y2)}))})))}));return Q.createElement($a,{className:"recharts-errorBars"},f)}function pO(e){return pO="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},pO(e)}function hO(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function dO(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?hO(Object(r),!0).forEach((function(t){yO(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):hO(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function yO(e,t,r){return t=function(e){var t=function(e,t){if("object"!=pO(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=pO(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==pO(t)?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}fO.defaultProps={stroke:"black",strokeWidth:1.5,width:5,offset:0,layout:"horizontal"},fO.displayName="ErrorBar";var vO=function(e){var t,r=e.children,n=e.formattedGraphicalItems,i=e.legendWidth,o=e.legendContent,a=Aa(r,Zp);return a?(t=a.props&&a.props.payload?a.props&&a.props.payload:"children"===o?(n||[]).reduce((function(e,t){var r=t.item,n=t.props,i=n.sectors||n.data||[];return e.concat(i.map((function(e){return{type:a.props.iconType||r.props.legendType,value:e.name,color:e.fill,payload:e}})))}),[]):(n||[]).map((function(e){var t=e.item,r=t.props,n=r.dataKey,i=r.name,o=r.legendType;return{inactive:r.hide,dataKey:n,type:a.props.iconType||o||"square",color:AO(t),value:i||n,payload:t.props}})),dO(dO(dO({},a.props),Zp.getWithHeight(a,i)),{},{payload:t,item:a})):null};function gO(e){return gO="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},gO(e)}function mO(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function bO(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?mO(Object(r),!0).forEach((function(t){wO(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):mO(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function wO(e,t,r){return t=function(e){var t=function(e,t){if("object"!=gO(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=gO(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==gO(t)?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xO(e){return function(e){if(Array.isArray(e))return OO(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return OO(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return OO(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function OO(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function SO(e,t,r){return Io(e)||Io(t)?r:ea(t)?Do(e,t,r):$n(t)?t(e):r}function jO(e,t,r,n){var i=Zw(e,(function(e){return SO(e,t)}));if("number"===r){var o=i.filter((function(e){return Qo(e)||parseFloat(e)}));return o.length?[Uw(o),zw(o)]:[1/0,-1/0]}return(n?i.filter((function(e){return!Io(e)})):i).map((function(e){return ea(e)||e instanceof Date?e:""}))}var AO=function(e){var t,r=e.type.displayName,n=e.props,i=n.stroke,o=n.fill;switch(r){case"Line":t=i;break;case"Area":case"Radar":t=i&&"none"!==i?i:o;break;default:t=o}return t},PO=function(e,t,r,n,i){var o=ja(t.props.children,fO).filter((function(e){return function(e,t,r){return!!Io(t)||("horizontal"===e?"yAxis"===t:"vertical"===e||"x"===r?"xAxis"===t:"y"!==r||"yAxis"===t)}(n,i,e.props.direction)}));if(o&&o.length){var a=o.map((function(e){return e.props.dataKey}));return e.reduce((function(e,t){var n=SO(t,r);if(Io(n))return e;var i=Array.isArray(n)?[Uw(n),zw(n)]:[n,n],o=a.reduce((function(e,r){var n=SO(t,r,0),o=i[0]-Math.abs(Array.isArray(n)?n[0]:n),a=i[1]+Math.abs(Array.isArray(n)?n[1]:n);return[Math.min(o,e[0]),Math.max(a,e[1])]}),[1/0,-1/0]);return[Math.min(o[0],e[0]),Math.max(o[1],e[1])]}),[1/0,-1/0])}return null},MO=function(e,t,r,n,i){var o=t.map((function(t){var o=t.props.dataKey;return"number"===r&&o&&PO(e,t,o,n)||jO(e,o,r,i)}));if("number"===r)return o.reduce((function(e,t){return[Math.min(e[0],t[0]),Math.max(e[1],t[1])]}),[1/0,-1/0]);var a={};return o.reduce((function(e,t){for(var r=0,n=t.length;r<n;r++)a[t[r]]||(a[t[r]]=!0,e.push(t[r]));return e}),[])},kO=function(e,t){return"horizontal"===e&&"xAxis"===t||"vertical"===e&&"yAxis"===t||"centric"===e&&"angleAxis"===t||"radial"===e&&"radiusAxis"===t},EO=function(e,t,r){if(!e)return null;var n=e.scale,i=e.duplicateDomain,o=e.type,a=e.range,c="scaleBand"===e.realScaleType?n.bandwidth()/2:2,l=(t||r)&&"category"===o&&n.bandwidth?n.bandwidth()/c:0;return l="angleAxis"===e.axisType&&(null==a?void 0:a.length)>=2?2*Zo(a[0]-a[1])*l:l,t&&(e.ticks||e.niceTicks)?(e.ticks||e.niceTicks).map((function(e){var t=i?i.indexOf(e):e;return{coordinate:n(t)+l,value:e,offset:l}})).filter((function(e){return!Go(e.coordinate)})):e.isCategorical&&e.categoricalDomain?e.categoricalDomain.map((function(e,t){return{coordinate:n(e)+l,value:e,index:t,offset:l}})):n.ticks&&!r?n.ticks(e.tickCount).map((function(e){return{coordinate:n(e)+l,value:e,offset:l}})):n.domain().map((function(e,t){return{coordinate:n(e)+l,value:i?i[e]:e,index:t,offset:l}}))},CO=new WeakMap,_O=function(e,t){if("function"!=typeof t)return e;CO.has(e)||CO.set(e,new WeakMap);var r=CO.get(e);if(r.has(t))return r.get(t);var n=function(){e.apply(void 0,arguments),t.apply(void 0,arguments)};return r.set(t,n),n},TO=1e-4,DO={sign:function(e){var t=e.length;if(!(t<=0))for(var r=0,n=e[0].length;r<n;++r)for(var i=0,o=0,a=0;a<t;++a){var c=Go(e[a][r][1])?e[a][r][0]:e[a][r][1];c>=0?(e[a][r][0]=i,e[a][r][1]=i+c,i=e[a][r][1]):(e[a][r][0]=o,e[a][r][1]=o+c,o=e[a][r][1])}},expand:function(e,t){if((n=e.length)>0){for(var r,n,i,o=0,a=e[0].length;o<a;++o){for(i=r=0;r<n;++r)i+=e[r][o][1]||0;if(i)for(r=0;r<n;++r)e[r][o][1]/=i}ml(e,t)}},none:ml,silhouette:function(e,t){if((r=e.length)>0){for(var r,n=0,i=e[t[0]],o=i.length;n<o;++n){for(var a=0,c=0;a<r;++a)c+=e[a][n][1]||0;i[n][1]+=i[n][0]=-c/2}ml(e,t)}},wiggle:function(e,t){if((i=e.length)>0&&(n=(r=e[t[0]]).length)>0){for(var r,n,i,o=0,a=1;a<n;++a){for(var c=0,l=0,u=0;c<i;++c){for(var s=e[t[c]],f=s[a][1]||0,p=(f-(s[a-1][1]||0))/2,h=0;h<c;++h){var d=e[t[h]];p+=(d[a][1]||0)-(d[a-1][1]||0)}l+=f,u+=p*f}r[a-1][1]+=r[a-1][0]=o,l&&(o-=u/l)}r[a-1][1]+=r[a-1][0]=o,ml(e,t)}},positive:function(e){var t=e.length;if(!(t<=0))for(var r=0,n=e[0].length;r<n;++r)for(var i=0,o=0;o<t;++o){var a=Go(e[o][r][1])?e[o][r][0]:e[o][r][1];a>=0?(e[o][r][0]=i,e[o][r][1]=i+a,i=e[o][r][1]):(e[o][r][0]=0,e[o][r][1]=0)}}},IO=function(e,t,r){var n=t.map((function(e){return e.props.dataKey})),i=DO[r],o=function(){var e=mc([]),t=bl,r=ml,n=wl;function i(i){var o,a,c=Array.from(e.apply(this,arguments),xl),l=c.length,u=-1;for(const e of i)for(o=0,++u;o<l;++o)(c[o][u]=[0,+n(e,c[o].key,u,i)]).data=e;for(o=0,a=_c(t(c));o<l;++o)c[a[o]].index=o;return r(c,a),c}return i.keys=function(t){return arguments.length?(e="function"==typeof t?t:mc(Array.from(t)),i):e},i.value=function(e){return arguments.length?(n="function"==typeof e?e:mc(+e),i):n},i.order=function(e){return arguments.length?(t=null==e?bl:"function"==typeof e?e:mc(Array.from(e)),i):t},i.offset=function(e){return arguments.length?(r=null==e?ml:e,i):r},i}().keys(n).value((function(e,t){return+SO(e,t,0)})).order(bl).offset(i);return o(e)};function NO(e){var t=e.axis,r=e.ticks,n=e.bandSize,i=e.entry,o=e.index,a=e.dataKey;if("category"===t.type){if(!t.allowDuplicatedCategory&&t.dataKey&&!Io(i[t.dataKey])){var c=aa(r,"value",i[t.dataKey]);if(c)return c.coordinate+n/2}return r[o]?r[o].coordinate+n/2:null}var l=SO(i,Io(a)?t.dataKey:a);return Io(l)?null:t.scale(l)}var LO=function(e){var t=e.axis,r=e.ticks,n=e.offset,i=e.bandSize,o=e.entry,a=e.index;if("category"===t.type)return r[a]?r[a].coordinate+n:null;var c=SO(o,t.dataKey,t.domain[a]);return Io(c)?null:t.scale(c)-i/2+n},BO=function(e,t,r){return Object.keys(e).reduce((function(n,i){var o=e[i].stackedData.reduce((function(e,n){var i=n.slice(t,r+1).reduce((function(e,t){return[Uw(t.concat([e[0]]).filter(Qo)),zw(t.concat([e[1]]).filter(Qo))]}),[1/0,-1/0]);return[Math.min(e[0],i[0]),Math.max(e[1],i[1])]}),[1/0,-1/0]);return[Math.min(o[0],n[0]),Math.max(o[1],n[1])]}),[1/0,-1/0]).map((function(e){return e===1/0||e===-1/0?0:e}))},RO=/^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,zO=/^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,$O=function(e,t,r){if($n(e))return e(t,r);if(!Array.isArray(e))return t;var n=[];if(Qo(e[0]))n[0]=r?e[0]:Math.min(e[0],t[0]);else if(RO.test(e[0])){var i=+RO.exec(e[0])[1];n[0]=t[0]-i}else $n(e[0])?n[0]=e[0](t[0]):n[0]=t[0];if(Qo(e[1]))n[1]=r?e[1]:Math.max(e[1],t[1]);else if(zO.test(e[1])){var o=+zO.exec(e[1])[1];n[1]=t[1]+o}else $n(e[1])?n[1]=e[1](t[1]):n[1]=t[1];return n},HO=function(e,t,r){if(e&&e.scale&&e.scale.bandwidth){var n=e.scale.bandwidth();if(!r||n>0)return n}if(e&&t&&t.length>=2){for(var i=Gh(t,(function(e){return e.coordinate})),o=1/0,a=1,c=i.length;a<c;a++){var l=i[a],u=i[a-1];o=Math.min((l.coordinate||0)-(u.coordinate||0),o)}return o===1/0?0:o}return r?void 0:0},VO=function(e,t,r){return e&&e.length?ex(e,Do(r,"type.defaultProps.domain"))?t:e:t},FO=function(e,t){var r=e.props,n=r.dataKey,i=r.name,o=r.unit,a=r.formatter,c=r.tooltipType,l=r.chartType,u=r.hide;return bO(bO({},Ea(e,!1)),{},{dataKey:n,unit:o,formatter:a,name:i||n,color:AO(e),value:SO(t,n),type:c,payload:t,chartType:l,hide:u})};function UO(e){return UO="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},UO(e)}function WO(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function qO(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?WO(Object(r),!0).forEach((function(t){YO(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):WO(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function YO(e,t,r){return t=function(e){var t=function(e,t){if("object"!=UO(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=UO(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==UO(t)?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var XO=Math.PI/180,KO=function(e){return 180*e/Math.PI},GO=function(e,t,r,n){return{x:e+Math.cos(-XO*n)*r,y:t+Math.sin(-XO*n)*r}},ZO=function(e,t){var r=e.x,n=e.y,i=t.cx,o=t.cy,a=function(e,t){var r=e.x,n=e.y,i=t.x,o=t.y;return Math.sqrt(Math.pow(r-i,2)+Math.pow(n-o,2))}({x:r,y:n},{x:i,y:o});if(a<=0)return{radius:a};var c=(r-i)/a,l=Math.acos(c);return n>o&&(l=2*Math.PI-l),{radius:a,angle:KO(l),angleInRadian:l}},JO=function(e,t){var r=t.startAngle,n=t.endAngle,i=Math.floor(r/360),o=Math.floor(n/360);return e+360*Math.min(i,o)},QO=function(e,t){var r=e.x,n=e.y,i=ZO({x:r,y:n},t),o=i.radius,a=i.angle,c=t.innerRadius,l=t.outerRadius;if(o<c||o>l)return!1;if(0===o)return!0;var u,s=function(e){var t=e.startAngle,r=e.endAngle,n=Math.floor(t/360),i=Math.floor(r/360),o=Math.min(n,i);return{startAngle:t-360*o,endAngle:r-360*o}}(t),f=s.startAngle,p=s.endAngle,h=a;if(f<=p){for(;h>p;)h-=360;for(;h<f;)h+=360;u=h>=f&&h<=p}else{for(;h>f;)h-=360;for(;h<p;)h+=360;u=h>=p&&h<=f}return u?qO(qO({},t),{},{radius:o,angle:JO(h,t)}):null};function eS(e){return eS="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},eS(e)}var tS=["offset"];function rS(e){return function(e){if(Array.isArray(e))return nS(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return nS(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return nS(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function nS(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function iS(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function oS(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function aS(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?oS(Object(r),!0).forEach((function(t){cS(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):oS(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function cS(e,t,r){return t=function(e){var t=function(e,t){if("object"!=eS(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=eS(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==eS(t)?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function lS(){return lS=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},lS.apply(this,arguments)}var uS=function(e){var t=e.value,r=e.formatter,n=Io(e.children)?t:e.children;return $n(r)?r(n):n},sS=function(e,t,r){var n,i,o=e.position,a=e.viewBox,c=e.offset,l=e.className,u=a,s=u.cx,f=u.cy,p=u.innerRadius,h=u.outerRadius,d=u.startAngle,y=u.endAngle,v=u.clockWise,g=(p+h)/2,m=function(e,t){return Zo(t-e)*Math.min(Math.abs(t-e),360)}(d,y),b=m>=0?1:-1;"insideStart"===o?(n=d+b*c,i=v):"insideEnd"===o?(n=y-b*c,i=!v):"end"===o&&(n=y+b*c,i=v),i=m<=0?i:!i;var w=GO(s,f,g,n),x=GO(s,f,g,n+359*(i?1:-1)),O="M".concat(w.x,",").concat(w.y,"\n A").concat(g,",").concat(g,",0,1,").concat(i?0:1,",\n ").concat(x.x,",").concat(x.y),S=Io(e.id)?ra("recharts-radial-line-"):e.id;return Q.createElement("text",lS({},r,{dominantBaseline:"central",className:cn("recharts-radial-bar-label",l)}),Q.createElement("defs",null,Q.createElement("path",{id:S,d:O})),Q.createElement("textPath",{xlinkHref:"#".concat(S)},t))},fS=function(e){var t=e.viewBox,r=e.offset,n=e.position,i=t,o=i.cx,a=i.cy,c=i.innerRadius,l=i.outerRadius,u=(i.startAngle+i.endAngle)/2;if("outside"===n){var s=GO(o,a,l+r,u),f=s.x;return{x:f,y:s.y,textAnchor:f>=o?"start":"end",verticalAnchor:"middle"}}if("center"===n)return{x:o,y:a,textAnchor:"middle",verticalAnchor:"middle"};if("centerTop"===n)return{x:o,y:a,textAnchor:"middle",verticalAnchor:"start"};if("centerBottom"===n)return{x:o,y:a,textAnchor:"middle",verticalAnchor:"end"};var p=GO(o,a,(c+l)/2,u);return{x:p.x,y:p.y,textAnchor:"middle",verticalAnchor:"middle"}},pS=function(e){var t=e.viewBox,r=e.parentViewBox,n=e.offset,i=e.position,o=t,a=o.x,c=o.y,l=o.width,u=o.height,s=u>=0?1:-1,f=s*n,p=s>0?"end":"start",h=s>0?"start":"end",d=l>=0?1:-1,y=d*n,v=d>0?"end":"start",g=d>0?"start":"end";if("top"===i)return aS(aS({},{x:a+l/2,y:c-s*n,textAnchor:"middle",verticalAnchor:p}),r?{height:Math.max(c-r.y,0),width:l}:{});if("bottom"===i)return aS(aS({},{x:a+l/2,y:c+u+f,textAnchor:"middle",verticalAnchor:h}),r?{height:Math.max(r.y+r.height-(c+u),0),width:l}:{});if("left"===i){var m={x:a-y,y:c+u/2,textAnchor:v,verticalAnchor:"middle"};return aS(aS({},m),r?{width:Math.max(m.x-r.x,0),height:u}:{})}if("right"===i){var b={x:a+l+y,y:c+u/2,textAnchor:g,verticalAnchor:"middle"};return aS(aS({},b),r?{width:Math.max(r.x+r.width-b.x,0),height:u}:{})}var w=r?{width:l,height:u}:{};return"insideLeft"===i?aS({x:a+y,y:c+u/2,textAnchor:g,verticalAnchor:"middle"},w):"insideRight"===i?aS({x:a+l-y,y:c+u/2,textAnchor:v,verticalAnchor:"middle"},w):"insideTop"===i?aS({x:a+l/2,y:c+f,textAnchor:"middle",verticalAnchor:h},w):"insideBottom"===i?aS({x:a+l/2,y:c+u-f,textAnchor:"middle",verticalAnchor:p},w):"insideTopLeft"===i?aS({x:a+y,y:c+f,textAnchor:g,verticalAnchor:h},w):"insideTopRight"===i?aS({x:a+l-y,y:c+f,textAnchor:v,verticalAnchor:h},w):"insideBottomLeft"===i?aS({x:a+y,y:c+u-f,textAnchor:g,verticalAnchor:p},w):"insideBottomRight"===i?aS({x:a+l-y,y:c+u-f,textAnchor:v,verticalAnchor:p},w):Nn(i)&&(Qo(i.x)||Jo(i.x))&&(Qo(i.y)||Jo(i.y))?aS({x:a+na(i.x,l),y:c+na(i.y,u),textAnchor:"end",verticalAnchor:"end"},w):aS({x:a+l/2,y:c+u/2,textAnchor:"middle",verticalAnchor:"middle"},w)},hS=function(e){return"cx"in e&&Qo(e.cx)};function dS(e){var t,r=e.offset,n=aS({offset:void 0===r?5:r},iS(e,tS)),i=n.viewBox,o=n.position,a=n.value,c=n.children,l=n.content,u=n.className,s=void 0===u?"":u,f=n.textBreakAll;if(!i||Io(a)&&Io(c)&&!ee(l)&&!$n(l))return null;if(ee(l))return se(l,n);if($n(l)){if(ee(t=fe(l,n)))return t}else t=uS(n);var p=hS(i),h=Ea(n,!0);if(p&&("insideStart"===o||"insideEnd"===o||"end"===o))return sS(n,t,h);var d=p?fS(n):pS(n);return Q.createElement(Gy,lS({className:cn("recharts-label",s)},h,d,{breakAll:f}),t)}dS.displayName="Label";var yS=function(e){var t=e.cx,r=e.cy,n=e.angle,i=e.startAngle,o=e.endAngle,a=e.r,c=e.radius,l=e.innerRadius,u=e.outerRadius,s=e.x,f=e.y,p=e.top,h=e.left,d=e.width,y=e.height,v=e.clockWise,g=e.labelViewBox;if(g)return g;if(Qo(d)&&Qo(y)){if(Qo(s)&&Qo(f))return{x:s,y:f,width:d,height:y};if(Qo(p)&&Qo(h))return{x:p,y:h,width:d,height:y}}return Qo(s)&&Qo(f)?{x:s,y:f,width:0,height:0}:Qo(t)&&Qo(r)?{cx:t,cy:r,startAngle:i||n||0,endAngle:o||n||0,innerRadius:l||0,outerRadius:u||c||a||0,clockWise:v}:e.viewBox?e.viewBox:{}};dS.parseViewBox=yS,dS.renderCallByParent=function(e,t){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!e||!e.children&&r&&!e.label)return null;var n=e.children,i=yS(e),o=ja(n,dS).map((function(e,r){return se(e,{viewBox:t||i,key:"label-".concat(r)})}));if(!r)return o;var a=function(e,t){return e?!0===e?Q.createElement(dS,{key:"label-implicit",viewBox:t}):ea(e)?Q.createElement(dS,{key:"label-implicit",viewBox:t,value:e}):ee(e)?e.type===dS?se(e,{key:"label-implicit",viewBox:t}):Q.createElement(dS,{key:"label-implicit",content:e,viewBox:t}):$n(e)?Q.createElement(dS,{key:"label-implicit",content:e,viewBox:t}):Nn(e)?Q.createElement(dS,lS({viewBox:t},e,{key:"label-implicit"})):null:null}(e.label,t||i);return[a].concat(rS(o))};var vS=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0},gS=Gt(vS);function mS(e){return mS="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},mS(e)}var bS=["valueAccessor"],wS=["data","dataKey","clockWise","id","textBreakAll"];function xS(e){return function(e){if(Array.isArray(e))return OS(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return OS(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return OS(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function OS(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function SS(){return SS=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},SS.apply(this,arguments)}function jS(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function AS(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?jS(Object(r),!0).forEach((function(t){PS(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):jS(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function PS(e,t,r){return t=function(e){var t=function(e,t){if("object"!=mS(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=mS(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==mS(t)?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function MS(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}var kS=function(e){return Array.isArray(e.value)?gS(e.value):e.value};function ES(e){var t=e.valueAccessor,r=void 0===t?kS:t,n=MS(e,bS),i=n.data,o=n.dataKey,a=n.clockWise,c=n.id,l=n.textBreakAll,u=MS(n,wS);return i&&i.length?Q.createElement($a,{className:"recharts-label-list"},i.map((function(e,t){var n=Io(o)?r(e,t):SO(e&&e.payload,o),i=Io(c)?{}:{id:"".concat(c,"-").concat(t)};return Q.createElement(dS,SS({},Ea(e,!0),u,i,{parentViewBox:e.parentViewBox,value:n,textBreakAll:l,viewBox:dS.parseViewBox(Io(a)?e:AS(AS({},e),{},{clockWise:a})),key:"label-".concat(t),index:t}))}))):null}function CS(e){return CS="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},CS(e)}function _S(){return _S=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},_S.apply(this,arguments)}function TS(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function DS(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?TS(Object(r),!0).forEach((function(t){IS(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):TS(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function IS(e,t,r){return t=function(e){var t=function(e,t){if("object"!=CS(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=CS(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==CS(t)?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}ES.displayName="LabelList",ES.renderCallByParent=function(e,t){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!e||!e.children&&r&&!e.label)return null;var n=ja(e.children,ES).map((function(e,r){return se(e,{data:t,key:"labelList-".concat(r)})}));return r?[function(e,t){return e?!0===e?Q.createElement(ES,{key:"labelList-implicit",data:t}):Q.isValidElement(e)||$n(e)?Q.createElement(ES,{key:"labelList-implicit",data:t,content:e}):Nn(e)?Q.createElement(ES,SS({data:t},e,{key:"labelList-implicit"})):null:null}(e.label,t)].concat(xS(n)):n};var NS=function(e){var t=e.cx,r=e.cy,n=e.radius,i=e.angle,o=e.sign,a=e.isExternal,c=e.cornerRadius,l=e.cornerIsExternal,u=c*(a?1:-1)+n,s=Math.asin(c/u)/XO,f=l?i:i+o*s,p=l?i-o*s:i;return{center:GO(t,r,u,f),circleTangency:GO(t,r,n,f),lineTangency:GO(t,r,u*Math.cos(s*XO),p),theta:s}},LS=function(e){var t=e.cx,r=e.cy,n=e.innerRadius,i=e.outerRadius,o=e.startAngle,a=function(e,t){return Zo(t-e)*Math.min(Math.abs(t-e),359.999)}(o,e.endAngle),c=o+a,l=GO(t,r,i,o),u=GO(t,r,i,c),s="M ".concat(l.x,",").concat(l.y,"\n A ").concat(i,",").concat(i,",0,\n ").concat(+(Math.abs(a)>180),",").concat(+(o>c),",\n ").concat(u.x,",").concat(u.y,"\n ");if(n>0){var f=GO(t,r,n,o),p=GO(t,r,n,c);s+="L ".concat(p.x,",").concat(p.y,"\n A ").concat(n,",").concat(n,",0,\n ").concat(+(Math.abs(a)>180),",").concat(+(o<=c),",\n ").concat(f.x,",").concat(f.y," Z")}else s+="L ".concat(t,",").concat(r," Z");return s},BS={cx:0,cy:0,innerRadius:0,outerRadius:0,startAngle:0,endAngle:0,cornerRadius:0,forceCornerRadius:!1,cornerIsExternal:!1},RS=function(e){var t=DS(DS({},BS),e),r=t.cx,n=t.cy,i=t.innerRadius,o=t.outerRadius,a=t.cornerRadius,c=t.forceCornerRadius,l=t.cornerIsExternal,u=t.startAngle,s=t.endAngle,f=t.className;if(o<i||u===s)return null;var p,h=cn("recharts-sector",f),d=o-i,y=na(a,d,0,!0);return p=y>0&&Math.abs(u-s)<360?function(e){var t=e.cx,r=e.cy,n=e.innerRadius,i=e.outerRadius,o=e.cornerRadius,a=e.forceCornerRadius,c=e.cornerIsExternal,l=e.startAngle,u=e.endAngle,s=Zo(u-l),f=NS({cx:t,cy:r,radius:i,angle:l,sign:s,cornerRadius:o,cornerIsExternal:c}),p=f.circleTangency,h=f.lineTangency,d=f.theta,y=NS({cx:t,cy:r,radius:i,angle:u,sign:-s,cornerRadius:o,cornerIsExternal:c}),v=y.circleTangency,g=y.lineTangency,m=y.theta,b=c?Math.abs(l-u):Math.abs(l-u)-d-m;if(b<0)return a?"M ".concat(h.x,",").concat(h.y,"\n a").concat(o,",").concat(o,",0,0,1,").concat(2*o,",0\n a").concat(o,",").concat(o,",0,0,1,").concat(2*-o,",0\n "):LS({cx:t,cy:r,innerRadius:n,outerRadius:i,startAngle:l,endAngle:u});var w="M ".concat(h.x,",").concat(h.y,"\n A").concat(o,",").concat(o,",0,0,").concat(+(s<0),",").concat(p.x,",").concat(p.y,"\n A").concat(i,",").concat(i,",0,").concat(+(b>180),",").concat(+(s<0),",").concat(v.x,",").concat(v.y,"\n A").concat(o,",").concat(o,",0,0,").concat(+(s<0),",").concat(g.x,",").concat(g.y,"\n ");if(n>0){var x=NS({cx:t,cy:r,radius:n,angle:l,sign:s,isExternal:!0,cornerRadius:o,cornerIsExternal:c}),O=x.circleTangency,S=x.lineTangency,j=x.theta,A=NS({cx:t,cy:r,radius:n,angle:u,sign:-s,isExternal:!0,cornerRadius:o,cornerIsExternal:c}),P=A.circleTangency,M=A.lineTangency,k=A.theta,E=c?Math.abs(l-u):Math.abs(l-u)-j-k;if(E<0&&0===o)return"".concat(w,"L").concat(t,",").concat(r,"Z");w+="L".concat(M.x,",").concat(M.y,"\n A").concat(o,",").concat(o,",0,0,").concat(+(s<0),",").concat(P.x,",").concat(P.y,"\n A").concat(n,",").concat(n,",0,").concat(+(E>180),",").concat(+(s>0),",").concat(O.x,",").concat(O.y,"\n A").concat(o,",").concat(o,",0,0,").concat(+(s<0),",").concat(S.x,",").concat(S.y,"Z")}else w+="L".concat(t,",").concat(r,"Z");return w}({cx:r,cy:n,innerRadius:i,outerRadius:o,cornerRadius:Math.min(y,d/2),forceCornerRadius:c,cornerIsExternal:l,startAngle:u,endAngle:s}):LS({cx:r,cy:n,innerRadius:i,outerRadius:o,startAngle:u,endAngle:s}),Q.createElement("path",_S({},Ea(t,!0),{className:h,d:p,role:"img"}))};function zS(e){return zS="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},zS(e)}function $S(){return $S=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},$S.apply(this,arguments)}function HS(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function VS(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?HS(Object(r),!0).forEach((function(t){FS(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):HS(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function FS(e,t,r){return t=function(e){var t=function(e,t){if("object"!=zS(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=zS(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==zS(t)?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var US,WS,qS,YS,XS,KS,GS,ZS,JS,QS,ej,tj,rj={curveBasisClosed:function(e){return new ol(e)},curveBasisOpen:function(e){return new al(e)},curveBasis:function(e){return new il(e)},curveBumpX:function(e){return new Rc(e,!0)},curveBumpY:function(e){return new Rc(e,!1)},curveLinearClosed:function(e){return new cl(e)},curveLinear:Dc,curveMonotoneX:function(e){return new pl(e)},curveMonotoneY:function(e){return new hl(e)},curveNatural:function(e){return new yl(e)},curveStep:function(e){return new gl(e,.5)},curveStepAfter:function(e){return new gl(e,1)},curveStepBefore:function(e){return new gl(e,0)}},nj=function(e){return e.x===+e.x&&e.y===+e.y},ij=function(e){return e.x},oj=function(e){return e.y},aj=function(e){var t,r=e.type,n=void 0===r?"linear":r,i=e.points,o=void 0===i?[]:i,a=e.baseLine,c=e.layout,l=e.connectNulls,u=void 0!==l&&l,s=function(e,t){if($n(e))return e;var r="curve".concat(gc(e));return"curveMonotone"!==r&&"curveBump"!==r||!t?rj[r]||Dc:rj["".concat(r).concat("vertical"===t?"Y":"X")]}(n,c),f=u?o.filter((function(e){return nj(e)})):o;if(Array.isArray(a)){var p=u?a.filter((function(e){return nj(e)})):a,h=f.map((function(e,t){return VS(VS({},e),{},{base:p[t]})}));return(t="vertical"===c?Bc().y(oj).x1(ij).x0((function(e){return e.base.x})):Bc().x(ij).y1(oj).y0((function(e){return e.base.y}))).defined(nj).curve(s),t(h)}return(t="vertical"===c&&Qo(a)?Bc().y(oj).x1(ij).x0(a):Qo(a)?Bc().x(ij).y1(oj).y0(a):Lc().x(ij).y(oj)).defined(nj).curve(s),t(f)},cj=function(e){var t=e.className,r=e.points,n=e.path,i=e.pathRef;if(!(r&&r.length||n))return null;var o=r&&r.length?aj(e):n;return Q.createElement("path",$S({},Ea(e,!1),ha(e),{className:cn("recharts-curve",t),d:o,ref:i}))},lj={exports:{}};function uj(){if(WS)return US;WS=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;return US=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach((function(e){n[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(e){return!1}}()?Object.assign:function(n,i){for(var o,a,c=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(n),l=1;l<arguments.length;l++){for(var u in o=Object(arguments[l]))t.call(o,u)&&(c[u]=o[u]);if(e){a=e(o);for(var s=0;s<a.length;s++)r.call(o,a[s])&&(c[a[s]]=o[a[s]])}}return c},US}function sj(){if(YS)return qS;YS=1;return qS="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}function fj(){return KS?XS:(KS=1,XS=Function.call.bind(Object.prototype.hasOwnProperty))}if("production"!==process.env.NODE_ENV){var pj=Uo;lj.exports=function(){if(QS)return JS;QS=1;var e=Uo,t=uj(),r=sj(),n=fj(),i=function(){if(ZS)return GS;ZS=1;var e=function(){};if("production"!==process.env.NODE_ENV){var t=sj(),r={},n=fj();e=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}}function i(i,o,a,c,l){if("production"!==process.env.NODE_ENV)for(var u in i)if(n(i,u)){var s;try{if("function"!=typeof i[u]){var f=Error((c||"React class")+": "+a+" type `"+u+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof i[u]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw f.name="Invariant Violation",f}s=i[u](o,u,c,a,null,t)}catch(e){s=e}if(!s||s instanceof Error||e((c||"React class")+": type specification of "+a+" `"+u+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof s+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),s instanceof Error&&!(s.message in r)){r[s.message]=!0;var p=l?l():"";e("Failed "+a+" type: "+s.message+(null!=p?p:""))}}}return i.resetWarningCache=function(){"production"!==process.env.NODE_ENV&&(r={})},GS=i}(),o=function(){};function a(){return null}return"production"!==process.env.NODE_ENV&&(o=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}),JS=function(c,l){var u="function"==typeof Symbol&&Symbol.iterator,s="@@iterator",f="<<anonymous>>",p={array:v("array"),bigint:v("bigint"),bool:v("boolean"),func:v("function"),number:v("number"),object:v("object"),string:v("string"),symbol:v("symbol"),any:y(a),arrayOf:function(e){return y((function(t,n,i,o,a){if("function"!=typeof e)return new d("Property `"+a+"` of component `"+i+"` has invalid PropType notation inside arrayOf.");var c=t[n];if(!Array.isArray(c))return new d("Invalid "+o+" `"+a+"` of type `"+b(c)+"` supplied to `"+i+"`, expected an array.");for(var l=0;l<c.length;l++){var u=e(c,l,i,o,a+"["+l+"]",r);if(u instanceof Error)return u}return null}))},element:y((function(e,t,r,n,i){var o=e[t];return c(o)?null:new d("Invalid "+n+" `"+i+"` of type `"+b(o)+"` supplied to `"+r+"`, expected a single ReactElement.")})),elementType:y((function(t,r,n,i,o){var a=t[r];return e.isValidElementType(a)?null:new d("Invalid "+i+" `"+o+"` of type `"+b(a)+"` supplied to `"+n+"`, expected a single ReactElement type.")})),instanceOf:function(e){return y((function(t,r,n,i,o){if(!(t[r]instanceof e)){var a=e.name||f;return new d("Invalid "+i+" `"+o+"` of type `"+((c=t[r]).constructor&&c.constructor.name?c.constructor.name:f)+"` supplied to `"+n+"`, expected instance of `"+a+"`.")}var c;return null}))},node:y((function(e,t,r,n,i){return m(e[t])?null:new d("Invalid "+n+" `"+i+"` supplied to `"+r+"`, expected a ReactNode.")})),objectOf:function(e){return y((function(t,i,o,a,c){if("function"!=typeof e)return new d("Property `"+c+"` of component `"+o+"` has invalid PropType notation inside objectOf.");var l=t[i],u=b(l);if("object"!==u)return new d("Invalid "+a+" `"+c+"` of type `"+u+"` supplied to `"+o+"`, expected an object.");for(var s in l)if(n(l,s)){var f=e(l,s,o,a,c+"."+s,r);if(f instanceof Error)return f}return null}))},oneOf:function(e){return Array.isArray(e)?y((function(t,r,n,i,o){for(var a=t[r],c=0;c<e.length;c++)if(h(a,e[c]))return null;var l=JSON.stringify(e,(function(e,t){return"symbol"===w(t)?String(t):t}));return new d("Invalid "+i+" `"+o+"` of value `"+String(a)+"` supplied to `"+n+"`, expected one of "+l+".")})):("production"!==process.env.NODE_ENV&&o(arguments.length>1?"Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).":"Invalid argument supplied to oneOf, expected an array."),a)},oneOfType:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&o("Invalid argument supplied to oneOfType, expected an instance of array."),a;for(var t=0;t<e.length;t++){var i=e[t];if("function"!=typeof i)return o("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+x(i)+" at index "+t+"."),a}return y((function(t,i,o,a,c){for(var l=[],u=0;u<e.length;u++){var s=(0,e[u])(t,i,o,a,c,r);if(null==s)return null;s.data&&n(s.data,"expectedType")&&l.push(s.data.expectedType)}return new d("Invalid "+a+" `"+c+"` supplied to `"+o+"`"+(l.length>0?", expected one of type ["+l.join(", ")+"]":"")+".")}))},shape:function(e){return y((function(t,n,i,o,a){var c=t[n],l=b(c);if("object"!==l)return new d("Invalid "+o+" `"+a+"` of type `"+l+"` supplied to `"+i+"`, expected `object`.");for(var u in e){var s=e[u];if("function"!=typeof s)return g(i,o,a,u,w(s));var f=s(c,u,i,o,a+"."+u,r);if(f)return f}return null}))},exact:function(e){return y((function(i,o,a,c,l){var u=i[o],s=b(u);if("object"!==s)return new d("Invalid "+c+" `"+l+"` of type `"+s+"` supplied to `"+a+"`, expected `object`.");var f=t({},i[o],e);for(var p in f){var h=e[p];if(n(e,p)&&"function"!=typeof h)return g(a,c,l,p,w(h));if(!h)return new d("Invalid "+c+" `"+l+"` key `"+p+"` supplied to `"+a+"`.\nBad object: "+JSON.stringify(i[o],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var y=h(u,p,a,c,l+"."+p,r);if(y)return y}return null}))}};function h(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function d(e,t){this.message=e,this.data=t&&"object"==typeof t?t:{},this.stack=""}function y(e){if("production"!==process.env.NODE_ENV)var t={},n=0;function i(i,a,c,u,s,p,h){if(u=u||f,p=p||c,h!==r){if(l){var y=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw y.name="Invariant Violation",y}if("production"!==process.env.NODE_ENV&&"undefined"!=typeof console){var v=u+":"+c;!t[v]&&n<3&&(o("You are manually calling a React.PropTypes validation function for the `"+p+"` prop on `"+u+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),t[v]=!0,n++)}}return null==a[c]?i?null===a[c]?new d("The "+s+" `"+p+"` is marked as required in `"+u+"`, but its value is `null`."):new d("The "+s+" `"+p+"` is marked as required in `"+u+"`, but its value is `undefined`."):null:e(a,c,u,s,p)}var a=i.bind(null,!1);return a.isRequired=i.bind(null,!0),a}function v(e){return y((function(t,r,n,i,o,a){var c=t[r];return b(c)!==e?new d("Invalid "+i+" `"+o+"` of type `"+w(c)+"` supplied to `"+n+"`, expected `"+e+"`.",{expectedType:e}):null}))}function g(e,t,r,n,i){return new d((e||"React class")+": "+t+" type `"+r+"."+n+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+i+"`.")}function m(e){switch(typeof e){case"number":case"string":case"undefined":return!0;case"boolean":return!e;case"object":if(Array.isArray(e))return e.every(m);if(null===e||c(e))return!0;var t=function(e){var t=e&&(u&&e[u]||e[s]);if("function"==typeof t)return t}(e);if(!t)return!1;var r,n=t.call(e);if(t!==e.entries){for(;!(r=n.next()).done;)if(!m(r.value))return!1}else for(;!(r=n.next()).done;){var i=r.value;if(i&&!m(i[1]))return!1}return!0;default:return!1}}function b(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,t){return"symbol"===e||!!t&&("Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol)}(t,e)?"symbol":t}function w(e){if(null==e)return""+e;var t=b(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function x(e){var t=w(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}return d.prototype=Error.prototype,p.checkPropTypes=i,p.resetWarningCache=i.resetWarningCache,p.PropTypes=p,p},JS}()(pj.isElement,!0)}else lj.exports=function(){if(tj)return ej;tj=1;var e=sj();function t(){}function r(){}return r.resetWarningCache=t,ej=function(){function n(t,r,n,i,o,a){if(a!==e){var c=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}function i(){return n}n.isRequired=n;var o={array:n,bigint:n,bool:n,func:n,number:n,object:n,string:n,symbol:n,any:n,arrayOf:i,element:n,elementType:n,instanceOf:i,node:n,objectOf:i,oneOf:i,oneOfType:i,shape:i,exact:i,checkPropTypes:r,resetWarningCache:t};return o.PropTypes=o,o}}()();var hj=Gt(lj.exports),dj=Object.getOwnPropertyNames,yj=Object.getOwnPropertySymbols,vj=Object.prototype.hasOwnProperty;function gj(e,t){return function(r,n,i){return e(r,n,i)&&t(r,n,i)}}function mj(e){return function(t,r,n){if(!t||!r||"object"!=typeof t||"object"!=typeof r)return e(t,r,n);var i=n.cache,o=i.get(t),a=i.get(r);if(o&&a)return o===r&&a===t;i.set(t,r),i.set(r,t);var c=e(t,r,n);return i.delete(t),i.delete(r),c}}function bj(e){return dj(e).concat(yj(e))}var wj=Object.hasOwn||function(e,t){return vj.call(e,t)};function xj(e,t){return e||t?e===t:e===t||e!=e&&t!=t}var Oj="_owner",Sj=Object.getOwnPropertyDescriptor,jj=Object.keys;function Aj(e,t,r){var n=e.length;if(t.length!==n)return!1;for(;n-- >0;)if(!r.equals(e[n],t[n],n,n,e,t,r))return!1;return!0}function Pj(e,t){return xj(e.getTime(),t.getTime())}function Mj(e,t,r){if(e.size!==t.size)return!1;for(var n,i,o={},a=e.entries(),c=0;(n=a.next())&&!n.done;){for(var l=t.entries(),u=!1,s=0;(i=l.next())&&!i.done;){var f=n.value,p=f[0],h=f[1],d=i.value,y=d[0],v=d[1];u||o[s]||!(u=r.equals(p,y,c,s,e,t,r)&&r.equals(h,v,p,y,e,t,r))||(o[s]=!0),s++}if(!u)return!1;c++}return!0}function kj(e,t,r){var n,i=jj(e),o=i.length;if(jj(t).length!==o)return!1;for(;o-- >0;){if((n=i[o])===Oj&&(e.$$typeof||t.$$typeof)&&e.$$typeof!==t.$$typeof)return!1;if(!wj(t,n)||!r.equals(e[n],t[n],n,n,e,t,r))return!1}return!0}function Ej(e,t,r){var n,i,o,a=bj(e),c=a.length;if(bj(t).length!==c)return!1;for(;c-- >0;){if((n=a[c])===Oj&&(e.$$typeof||t.$$typeof)&&e.$$typeof!==t.$$typeof)return!1;if(!wj(t,n))return!1;if(!r.equals(e[n],t[n],n,n,e,t,r))return!1;if(i=Sj(e,n),o=Sj(t,n),(i||o)&&(!i||!o||i.configurable!==o.configurable||i.enumerable!==o.enumerable||i.writable!==o.writable))return!1}return!0}function Cj(e,t){return xj(e.valueOf(),t.valueOf())}function _j(e,t){return e.source===t.source&&e.flags===t.flags}function Tj(e,t,r){if(e.size!==t.size)return!1;for(var n,i,o={},a=e.values();(n=a.next())&&!n.done;){for(var c=t.values(),l=!1,u=0;(i=c.next())&&!i.done;)l||o[u]||!(l=r.equals(n.value,i.value,n.value,i.value,e,t,r))||(o[u]=!0),u++;if(!l)return!1}return!0}function Dj(e,t){var r=e.length;if(t.length!==r)return!1;for(;r-- >0;)if(e[r]!==t[r])return!1;return!0}var Ij="[object Arguments]",Nj="[object Boolean]",Lj="[object Date]",Bj="[object Map]",Rj="[object Number]",zj="[object Object]",$j="[object RegExp]",Hj="[object Set]",Vj="[object String]",Fj=Array.isArray,Uj="function"==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView:null,Wj=Object.assign,qj=Object.prototype.toString.call.bind(Object.prototype.toString);var Yj=Xj();function Xj(e){void 0===e&&(e={});var t,r=e.circular,n=void 0!==r&&r,i=e.createInternalComparator,o=e.createState,a=e.strict,c=void 0!==a&&a,l=function(e){var t=e.circular,r=e.createCustomConfig,n=e.strict,i={areArraysEqual:n?Ej:Aj,areDatesEqual:Pj,areMapsEqual:n?gj(Mj,Ej):Mj,areObjectsEqual:n?Ej:kj,arePrimitiveWrappersEqual:Cj,areRegExpsEqual:_j,areSetsEqual:n?gj(Tj,Ej):Tj,areTypedArraysEqual:n?Ej:Dj};if(r&&(i=Wj({},i,r(i))),t){var o=mj(i.areArraysEqual),a=mj(i.areMapsEqual),c=mj(i.areObjectsEqual),l=mj(i.areSetsEqual);i=Wj({},i,{areArraysEqual:o,areMapsEqual:a,areObjectsEqual:c,areSetsEqual:l})}return i}(e),u=function(e){var t=e.areArraysEqual,r=e.areDatesEqual,n=e.areMapsEqual,i=e.areObjectsEqual,o=e.arePrimitiveWrappersEqual,a=e.areRegExpsEqual,c=e.areSetsEqual,l=e.areTypedArraysEqual;return function(e,u,s){if(e===u)return!0;if(null==e||null==u||"object"!=typeof e||"object"!=typeof u)return e!=e&&u!=u;var f=e.constructor;if(f!==u.constructor)return!1;if(f===Object)return i(e,u,s);if(Fj(e))return t(e,u,s);if(null!=Uj&&Uj(e))return l(e,u,s);if(f===Date)return r(e,u,s);if(f===RegExp)return a(e,u,s);if(f===Map)return n(e,u,s);if(f===Set)return c(e,u,s);var p=qj(e);return p===Lj?r(e,u,s):p===$j?a(e,u,s):p===Bj?n(e,u,s):p===Hj?c(e,u,s):p===zj?"function"!=typeof e.then&&"function"!=typeof u.then&&i(e,u,s):p===Ij?i(e,u,s):(p===Nj||p===Rj||p===Vj)&&o(e,u,s)}}(l),s=i?i(u):(t=u,function(e,r,n,i,o,a,c){return t(e,r,c)});return function(e){var t=e.circular,r=e.comparator,n=e.createState,i=e.equals,o=e.strict;if(n)return function(e,a){var c=n(),l=c.cache,u=void 0===l?t?new WeakMap:void 0:l,s=c.meta;return r(e,a,{cache:u,equals:i,meta:s,strict:o})};if(t)return function(e,t){return r(e,t,{cache:new WeakMap,equals:i,meta:void 0,strict:o})};var a={cache:void 0,equals:i,meta:void 0,strict:o};return function(e,t){return r(e,t,a)}}({circular:n,comparator:u,createState:o,equals:s,strict:c})}function Kj(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=-1;requestAnimationFrame((function n(i){r<0&&(r=i),i-r>t?(e(i),r=-1):function(e){"undefined"!=typeof requestAnimationFrame&&requestAnimationFrame(e)}(n)}))}function Gj(e){return Gj="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Gj(e)}function Zj(e){return function(e){if(Array.isArray(e))return e}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return Jj(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Jj(e,t)}(e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Jj(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Qj(){var e=function(){return null},t=!1,r=function r(n){if(!t){if(Array.isArray(n)){if(!n.length)return;var i=Zj(n),o=i[0],a=i.slice(1);return"number"==typeof o?void Kj(r.bind(null,a),o):(r(o),void Kj(r.bind(null,a)))}"object"===Gj(n)&&e(n),"function"==typeof n&&n()}};return{stop:function(){t=!0},start:function(e){t=!1,r(e)},subscribe:function(t){return e=t,function(){e=function(){return null}}}}}function eA(e){return eA="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},eA(e)}function tA(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function rA(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?tA(Object(r),!0).forEach((function(t){nA(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):tA(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function nA(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==eA(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==eA(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===eA(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}Xj({strict:!0}),Xj({circular:!0}),Xj({circular:!0,strict:!0}),Xj({createInternalComparator:function(){return xj}}),Xj({strict:!0,createInternalComparator:function(){return xj}}),Xj({circular:!0,createInternalComparator:function(){return xj}}),Xj({circular:!0,createInternalComparator:function(){return xj},strict:!0});var iA=function(e){return e},oA=function(e,t){return Object.keys(t).reduce((function(r,n){return rA(rA({},r),{},nA({},n,e(n,t[n])))}),{})},aA=function(e,t,r){return e.map((function(e){return"".concat((n=e,n.replace(/([A-Z])/g,(function(e){return"-".concat(e.toLowerCase())})))," ").concat(t,"ms ").concat(r);var n})).join(",")},cA="production"!==process.env.NODE_ENV,lA=function(e,t,r,n,i,o,a,c){if(cA&&"undefined"!=typeof console&&console.warn&&(void 0===t&&console.warn("LogUtils requires an error message argument"),!e))if(void 0===t)console.warn("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[r,n,i,o,a,c],u=0;console.warn(t.replace(/%s/g,(function(){return l[u++]})))}};function uA(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,o,a,c=[],l=!0,u=!1;try{if(o=(r=r.call(e)).next,0===t);else for(;!(l=(n=o.call(r)).done)&&(c.push(n.value),c.length!==t);l=!0);}catch(e){u=!0,i=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw i}}return c}}(e,t)||fA(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function sA(e){return function(e){if(Array.isArray(e))return pA(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||fA(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function fA(e,t){if(e){if("string"==typeof e)return pA(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?pA(e,t):void 0}}function pA(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var hA=1e-4,dA=function(e,t){return[0,3*e,3*t-6*e,3*e-3*t+1]},yA=function(e,t){return e.map((function(e,r){return e*Math.pow(t,r)})).reduce((function(e,t){return e+t}))},vA=function(e,t){return function(r){var n=dA(e,t);return yA(n,r)}},gA=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=t[0],i=t[1],o=t[2],a=t[3];if(1===t.length)switch(t[0]){case"linear":n=0,i=0,o=1,a=1;break;case"ease":n=.25,i=.1,o=.25,a=1;break;case"ease-in":n=.42,i=0,o=1,a=1;break;case"ease-out":n=.42,i=0,o=.58,a=1;break;case"ease-in-out":n=0,i=0,o=.58,a=1;break;default:var c=t[0].split("(");if("cubic-bezier"===c[0]&&4===c[1].split(")")[0].split(",").length){var l=c[1].split(")")[0].split(",").map((function(e){return parseFloat(e)})),u=uA(l,4);n=u[0],i=u[1],o=u[2],a=u[3]}else lA(!1,"[configBezier]: arguments should be one of oneOf 'linear', 'ease', 'ease-in', 'ease-out', 'ease-in-out','cubic-bezier(x1,y1,x2,y2)', instead received %s",t)}lA([n,o,i,a].every((function(e){return"number"==typeof e&&e>=0&&e<=1})),"[configBezier]: arguments should be x1, y1, x2, y2 of [0, 1] instead received %s",t);var s,f,p=vA(n,o),h=vA(i,a),d=(s=n,f=o,function(e){var t=dA(s,f),r=[].concat(sA(t.map((function(e,t){return e*t})).slice(1)),[0]);return yA(r,e)}),y=function(e){for(var t,r=e>1?1:e,n=r,i=0;i<8;++i){var o=p(n)-r,a=d(n);if(Math.abs(o-r)<hA||a<hA)return h(n);n=(t=n-o/a)>1?1:t<0?0:t}return h(n)};return y.isStepper=!1,y},mA=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=t[0];if("string"==typeof n)switch(n){case"ease":case"ease-in-out":case"ease-out":case"ease-in":case"linear":return gA(n);case"spring":return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.stiff,r=void 0===t?100:t,n=e.damping,i=void 0===n?8:n,o=e.dt,a=void 0===o?17:o,c=function(e,t,n){var o=n+(-(e-t)*r-n*i)*a/1e3,c=n*a/1e3+e;return Math.abs(c-t)<hA&&Math.abs(o)<hA?[t,0]:[c,o]};return c.isStepper=!0,c.dt=a,c}();default:if("cubic-bezier"===n.split("(")[0])return gA(n);lA(!1,"[configEasing]: first argument should be one of 'ease', 'ease-in', 'ease-out', 'ease-in-out','cubic-bezier(x1,y1,x2,y2)', 'linear' and 'spring', instead received %s",t)}return"function"==typeof n?n:(lA(!1,"[configEasing]: first argument type should be function or string, instead received %s",t),null)};function bA(e){return bA="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},bA(e)}function wA(e){return function(e){if(Array.isArray(e))return PA(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||AA(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function xA(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function OA(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?xA(Object(r),!0).forEach((function(t){SA(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):xA(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function SA(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==bA(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==bA(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===bA(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function jA(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,o,a,c=[],l=!0,u=!1;try{if(o=(r=r.call(e)).next,0===t);else for(;!(l=(n=o.call(r)).done)&&(c.push(n.value),c.length!==t);l=!0);}catch(e){u=!0,i=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw i}}return c}}(e,t)||AA(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function AA(e,t){if(e){if("string"==typeof e)return PA(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?PA(e,t):void 0}}function PA(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var MA=function(e,t,r){return e+(t-e)*r},kA=function(e){return e.from!==e.to},EA=function e(t,r,n){var i=oA((function(e,r){if(kA(r)){var n=jA(t(r.from,r.to,r.velocity),2),i=n[0],o=n[1];return OA(OA({},r),{},{from:i,velocity:o})}return r}),r);return n<1?oA((function(e,t){return kA(t)?OA(OA({},t),{},{velocity:MA(t.velocity,i[e].velocity,n),from:MA(t.from,i[e].from,n)}):t}),r):e(t,i,n-1)},CA=function(e,t,r,n,i){var o,a,c,l,u=(o=e,a=t,[Object.keys(o),Object.keys(a)].reduce((function(e,t){return e.filter((function(e){return t.includes(e)}))}))),s=u.reduce((function(r,n){return OA(OA({},r),{},SA({},n,[e[n],t[n]]))}),{}),f=u.reduce((function(r,n){return OA(OA({},r),{},SA({},n,{from:e[n],velocity:0,to:t[n]}))}),{}),p=-1,h=function(){return null};return h=r.isStepper?function(n){c||(c=n);var o=(n-c)/r.dt;f=EA(r,f,o),i(OA(OA(OA({},e),t),oA((function(e,t){return t.from}),f))),c=n,Object.values(f).filter(kA).length&&(p=requestAnimationFrame(h))}:function(o){l||(l=o);var a=(o-l)/n,c=oA((function(e,t){return MA.apply(void 0,wA(t).concat([r(a)]))}),s);if(i(OA(OA(OA({},e),t),c)),a<1)p=requestAnimationFrame(h);else{var u=oA((function(e,t){return MA.apply(void 0,wA(t).concat([r(1)]))}),s);i(OA(OA(OA({},e),t),u))}},function(){return requestAnimationFrame(h),function(){cancelAnimationFrame(p)}}};function _A(e){return _A="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_A(e)}var TA=["children","begin","duration","attributeName","easing","isActive","steps","from","to","canBegin","onAnimationEnd","shouldReAnimate","onAnimationReStart"];function DA(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function IA(e){return function(e){if(Array.isArray(e))return NA(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return NA(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return NA(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function NA(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function LA(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function BA(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?LA(Object(r),!0).forEach((function(t){RA(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):LA(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function RA(e,t,r){return(t=$A(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function zA(e,t,r){return t&&function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,$A(n.key),n)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function $A(e){var t=function(e,t){if("object"!==_A(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==_A(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===_A(t)?t:String(t)}function HA(e,t){return HA=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},HA(e,t)}function VA(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=WA(e);if(t){var i=WA(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return FA(this,r)}}function FA(e,t){if(t&&("object"===_A(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return UA(e)}function UA(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function WA(e){return WA=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},WA(e)}var qA=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&HA(e,t)}(r,re);var t=VA(r);function r(e,n){var i;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,r);var o=(i=t.call(this,e,n)).props,a=o.isActive,c=o.attributeName,l=o.from,u=o.to,s=o.steps,f=o.children,p=o.duration;if(i.handleStyleChange=i.handleStyleChange.bind(UA(i)),i.changeStyle=i.changeStyle.bind(UA(i)),!a||p<=0)return i.state={style:{}},"function"==typeof f&&(i.state={style:u}),FA(i);if(s&&s.length)i.state={style:s[0].style};else if(l){if("function"==typeof f)return i.state={style:l},FA(i);i.state={style:c?RA({},c,l):l}}else i.state={style:{}};return i}return zA(r,[{key:"componentDidMount",value:function(){var e=this.props,t=e.isActive,r=e.canBegin;this.mounted=!0,t&&r&&this.runAnimation(this.props)}},{key:"componentDidUpdate",value:function(e){var t=this.props,r=t.isActive,n=t.canBegin,i=t.attributeName,o=t.shouldReAnimate,a=t.to,c=t.from,l=this.state.style;if(n)if(r){if(!(Yj(e.to,a)&&e.canBegin&&e.isActive)){var u=!e.canBegin||!e.isActive;this.manager&&this.manager.stop(),this.stopJSAnimation&&this.stopJSAnimation();var s=u||o?c:e.to;if(this.state&&l){var f={style:i?RA({},i,s):s};(i&&l[i]!==s||!i&&l!==s)&&this.setState(f)}this.runAnimation(BA(BA({},this.props),{},{from:s,begin:0}))}}else{var p={style:i?RA({},i,a):a};this.state&&l&&(i&&l[i]!==a||!i&&l!==a)&&this.setState(p)}}},{key:"componentWillUnmount",value:function(){this.mounted=!1;var e=this.props.onAnimationEnd;this.unSubscribe&&this.unSubscribe(),this.manager&&(this.manager.stop(),this.manager=null),this.stopJSAnimation&&this.stopJSAnimation(),e&&e()}},{key:"handleStyleChange",value:function(e){this.changeStyle(e)}},{key:"changeStyle",value:function(e){this.mounted&&this.setState({style:e})}},{key:"runJSAnimation",value:function(e){var t=this,r=e.from,n=e.to,i=e.duration,o=e.easing,a=e.begin,c=e.onAnimationEnd,l=e.onAnimationStart,u=CA(r,n,mA(o),i,this.changeStyle);this.manager.start([l,a,function(){t.stopJSAnimation=u()},i,c])}},{key:"runStepAnimation",value:function(e){var t=this,r=e.steps,n=e.begin,i=e.onAnimationStart,o=r[0],a=o.style,c=o.duration,l=void 0===c?0:c;return this.manager.start([i].concat(IA(r.reduce((function(e,n,i){if(0===i)return e;var o=n.duration,a=n.easing,c=void 0===a?"ease":a,l=n.style,u=n.properties,s=n.onAnimationEnd,f=i>0?r[i-1]:n,p=u||Object.keys(l);if("function"==typeof c||"spring"===c)return[].concat(IA(e),[t.runJSAnimation.bind(t,{from:f.style,to:l,duration:o,easing:c}),o]);var h=aA(p,o,c),d=BA(BA(BA({},f.style),l),{},{transition:h});return[].concat(IA(e),[d,o,s]).filter(iA)}),[a,Math.max(l,n)])),[e.onAnimationEnd]))}},{key:"runAnimation",value:function(e){this.manager||(this.manager=Qj());var t=e.begin,r=e.duration,n=e.attributeName,i=e.to,o=e.easing,a=e.onAnimationStart,c=e.onAnimationEnd,l=e.steps,u=e.children,s=this.manager;if(this.unSubscribe=s.subscribe(this.handleStyleChange),"function"!=typeof o&&"function"!=typeof u&&"spring"!==o)if(l.length>1)this.runStepAnimation(e);else{var f=n?RA({},n,i):i,p=aA(Object.keys(f),r,o);s.start([a,t,BA(BA({},f),{},{transition:p}),r,c])}else this.runJSAnimation(e)}},{key:"render",value:function(){var e=this.props,t=e.children;e.begin;var r=e.duration;e.attributeName,e.easing;var n=e.isActive;e.steps,e.from,e.to,e.canBegin,e.onAnimationEnd,e.shouldReAnimate,e.onAnimationReStart;var i=DA(e,TA),o=te.count(t),a=this.state.style;if("function"==typeof t)return t(a);if(!n||0===o||r<=0)return t;var c=function(e){var t=e.props,r=t.style,n=void 0===r?{}:r,o=t.className;return se(e,BA(BA({},i),{},{style:BA(BA({},n),a),className:o}))};return 1===o?c(te.only(t)):Q.createElement("div",null,te.map(t,(function(e){return c(e)})))}}]),r}();function YA(e){return YA="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},YA(e)}function XA(){return XA=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},XA.apply(this,arguments)}function KA(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,o,a,c=[],l=!0,u=!1;try{if(o=(r=r.call(e)).next,0===t);else for(;!(l=(n=o.call(r)).done)&&(c.push(n.value),c.length!==t);l=!0);}catch(e){u=!0,i=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw i}}return c}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return GA(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return GA(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function GA(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function ZA(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function JA(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ZA(Object(r),!0).forEach((function(t){QA(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ZA(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function QA(e,t,r){return t=function(e){var t=function(e,t){if("object"!=YA(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=YA(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==YA(t)?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}qA.displayName="Animate",qA.defaultProps={begin:0,duration:1e3,from:"",to:"",attributeName:"",easing:"ease",isActive:!0,canBegin:!0,steps:[],onAnimationEnd:function(){},onAnimationStart:function(){}},qA.propTypes={from:hj.oneOfType([hj.object,hj.string]),to:hj.oneOfType([hj.object,hj.string]),attributeName:hj.string,duration:hj.number,begin:hj.number,easing:hj.oneOfType([hj.string,hj.func]),steps:hj.arrayOf(hj.shape({duration:hj.number.isRequired,style:hj.object.isRequired,easing:hj.oneOfType([hj.oneOf(["ease","ease-in","ease-out","ease-in-out","linear"]),hj.func]),properties:hj.arrayOf("string"),onAnimationEnd:hj.func})),children:hj.oneOfType([hj.node,hj.func]),isActive:hj.bool,canBegin:hj.bool,onAnimationEnd:hj.func,shouldReAnimate:hj.bool,onAnimationStart:hj.func,onAnimationReStart:hj.func},hj.object,hj.object,hj.object,hj.element,hj.object,hj.object,hj.object,hj.oneOfType([hj.array,hj.element]),hj.any;var eP=function(e,t,r,n,i){var o,a=Math.min(Math.abs(r)/2,Math.abs(n)/2),c=n>=0?1:-1,l=r>=0?1:-1,u=n>=0&&r>=0||n<0&&r<0?1:0;if(a>0&&i instanceof Array){for(var s=[0,0,0,0],f=0;f<4;f++)s[f]=i[f]>a?a:i[f];o="M".concat(e,",").concat(t+c*s[0]),s[0]>0&&(o+="A ".concat(s[0],",").concat(s[0],",0,0,").concat(u,",").concat(e+l*s[0],",").concat(t)),o+="L ".concat(e+r-l*s[1],",").concat(t),s[1]>0&&(o+="A ".concat(s[1],",").concat(s[1],",0,0,").concat(u,",\n ").concat(e+r,",").concat(t+c*s[1])),o+="L ".concat(e+r,",").concat(t+n-c*s[2]),s[2]>0&&(o+="A ".concat(s[2],",").concat(s[2],",0,0,").concat(u,",\n ").concat(e+r-l*s[2],",").concat(t+n)),o+="L ".concat(e+l*s[3],",").concat(t+n),s[3]>0&&(o+="A ".concat(s[3],",").concat(s[3],",0,0,").concat(u,",\n ").concat(e,",").concat(t+n-c*s[3])),o+="Z"}else if(a>0&&i===+i&&i>0){var p=Math.min(a,i);o="M ".concat(e,",").concat(t+c*p,"\n A ").concat(p,",").concat(p,",0,0,").concat(u,",").concat(e+l*p,",").concat(t,"\n L ").concat(e+r-l*p,",").concat(t,"\n A ").concat(p,",").concat(p,",0,0,").concat(u,",").concat(e+r,",").concat(t+c*p,"\n L ").concat(e+r,",").concat(t+n-c*p,"\n A ").concat(p,",").concat(p,",0,0,").concat(u,",").concat(e+r-l*p,",").concat(t+n,"\n L ").concat(e+l*p,",").concat(t+n,"\n A ").concat(p,",").concat(p,",0,0,").concat(u,",").concat(e,",").concat(t+n-c*p," Z")}else o="M ".concat(e,",").concat(t," h ").concat(r," v ").concat(n," h ").concat(-r," Z");return o},tP=function(e,t){if(!e||!t)return!1;var r=e.x,n=e.y,i=t.x,o=t.y,a=t.width,c=t.height;if(Math.abs(a)>0&&Math.abs(c)>0){var l=Math.min(i,i+a),u=Math.max(i,i+a),s=Math.min(o,o+c),f=Math.max(o,o+c);return r>=l&&r<=u&&n>=s&&n<=f}return!1},rP={x:0,y:0,width:0,height:0,radius:0,isAnimationActive:!1,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"},nP=function(e){var t=JA(JA({},rP),e),r=ie(),n=KA(ae(-1),2),i=n[0],o=n[1];le((function(){if(r.current&&r.current.getTotalLength)try{var e=r.current.getTotalLength();e&&o(e)}catch(e){}}),[]);var a=t.x,c=t.y,l=t.width,u=t.height,s=t.radius,f=t.className,p=t.animationEasing,h=t.animationDuration,d=t.animationBegin,y=t.isAnimationActive,v=t.isUpdateAnimationActive;if(a!==+a||c!==+c||l!==+l||u!==+u||0===l||0===u)return null;var g=cn("recharts-rectangle",f);return v?Q.createElement(qA,{canBegin:i>0,from:{width:l,height:u,x:a,y:c},to:{width:l,height:u,x:a,y:c},duration:h,animationEasing:p,isActive:v},(function(e){var n=e.width,o=e.height,a=e.x,c=e.y;return Q.createElement(qA,{canBegin:i>0,from:"0px ".concat(-1===i?1:i,"px"),to:"".concat(i,"px 0px"),attributeName:"strokeDasharray",begin:d,duration:h,isActive:y,easing:p},Q.createElement("path",XA({},Ea(t,!0),{className:g,d:eP(a,c,n,o,s),ref:r})))})):Q.createElement("path",XA({},Ea(t,!0),{className:g,d:eP(a,c,l,u,s)}))};function iP(){return iP=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},iP.apply(this,arguments)}var oP=function(e){var t=e.cx,r=e.cy,n=e.r,i=cn("recharts-dot",e.className);return t===+t&&r===+r&&n===+n?Q.createElement("circle",iP({},Ea(e,!1),ha(e),{className:i,cx:t,cy:r,r:n})):null};function aP(e){return aP="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},aP(e)}var cP=["x","y","top","left","width","height","className"];function lP(){return lP=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},lP.apply(this,arguments)}function uP(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function sP(e,t,r){return t=function(e){var t=function(e,t){if("object"!=aP(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=aP(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==aP(t)?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function fP(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}var pP=function(e,t,r,n,i,o){return"M".concat(e,",").concat(i,"v").concat(n,"M").concat(o,",").concat(t,"h").concat(r)},hP=function(e){var t=e.x,r=void 0===t?0:t,n=e.y,i=void 0===n?0:n,o=e.top,a=void 0===o?0:o,c=e.left,l=void 0===c?0:c,u=e.width,s=void 0===u?0:u,f=e.height,p=void 0===f?0:f,h=e.className,d=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?uP(Object(r),!0).forEach((function(t){sP(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):uP(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({x:r,y:i,top:a,left:l,width:s,height:p},fP(e,cP));return Qo(r)&&Qo(i)&&Qo(s)&&Qo(p)&&Qo(a)&&Qo(l)?Q.createElement("path",lP({},Ea(d,!0),{className:cn("recharts-cross",h),d:pP(r,i,s,p,a,l)})):null},dP=gs(Object.getPrototypeOf,Object),yP=jn,vP=dP,gP=An,mP=Function.prototype,bP=Object.prototype,wP=mP.toString,xP=bP.hasOwnProperty,OP=wP.call(Object);var SP=Gt((function(e){if(!gP(e)||"[object Object]"!=yP(e))return!1;var t=vP(e);if(null===t)return!0;var r=xP.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&wP.call(r)==OP})),jP=jn,AP=An;var PP=Gt((function(e){return!0===e||!1===e||AP(e)&&"[object Boolean]"==jP(e)}));function MP(e){return MP="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},MP(e)}function kP(){return kP=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},kP.apply(this,arguments)}function EP(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,o,a,c=[],l=!0,u=!1;try{if(o=(r=r.call(e)).next,0===t);else for(;!(l=(n=o.call(r)).done)&&(c.push(n.value),c.length!==t);l=!0);}catch(e){u=!0,i=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw i}}return c}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return CP(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return CP(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function CP(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function _P(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function TP(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?_P(Object(r),!0).forEach((function(t){DP(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):_P(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function DP(e,t,r){return t=function(e){var t=function(e,t){if("object"!=MP(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=MP(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==MP(t)?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var IP=function(e,t,r,n,i){var o,a=r-n;return o="M ".concat(e,",").concat(t),o+="L ".concat(e+r,",").concat(t),o+="L ".concat(e+r-a/2,",").concat(t+i),o+="L ".concat(e+r-a/2-n,",").concat(t+i),o+="L ".concat(e,",").concat(t," Z")},NP={x:0,y:0,upperWidth:0,lowerWidth:0,height:0,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"},LP=function(e){var t=TP(TP({},NP),e),r=ie(),n=EP(ae(-1),2),i=n[0],o=n[1];le((function(){if(r.current&&r.current.getTotalLength)try{var e=r.current.getTotalLength();e&&o(e)}catch(e){}}),[]);var a=t.x,c=t.y,l=t.upperWidth,u=t.lowerWidth,s=t.height,f=t.className,p=t.animationEasing,h=t.animationDuration,d=t.animationBegin,y=t.isUpdateAnimationActive;if(a!==+a||c!==+c||l!==+l||u!==+u||s!==+s||0===l&&0===u||0===s)return null;var v=cn("recharts-trapezoid",f);return y?Q.createElement(qA,{canBegin:i>0,from:{upperWidth:0,lowerWidth:0,height:s,x:a,y:c},to:{upperWidth:l,lowerWidth:u,height:s,x:a,y:c},duration:h,animationEasing:p,isActive:y},(function(e){var n=e.upperWidth,o=e.lowerWidth,a=e.height,c=e.x,l=e.y;return Q.createElement(qA,{canBegin:i>0,from:"0px ".concat(-1===i?1:i,"px"),to:"".concat(i,"px 0px"),attributeName:"strokeDasharray",begin:d,duration:h,easing:p},Q.createElement("path",kP({},Ea(t,!0),{className:v,d:IP(c,l,n,o,a),ref:r})))})):Q.createElement("g",null,Q.createElement("path",kP({},Ea(t,!0),{className:v,d:IP(a,c,l,u,s)})))},BP=["option","shapeType","propTransformer","activeClassName","isActive"];function RP(e){return RP="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},RP(e)}function zP(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function $P(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function HP(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?$P(Object(r),!0).forEach((function(t){VP(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):$P(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function VP(e,t,r){return t=function(e){var t=function(e,t){if("object"!=RP(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=RP(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==RP(t)?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function FP(e,t){return HP(HP({},t),e)}function UP(e){var t=e.shapeType,r=e.elementProps;switch(t){case"rectangle":return Q.createElement(nP,r);case"trapezoid":return Q.createElement(LP,r);case"sector":return Q.createElement(RS,r);case"symbols":if(function(e,t){return"symbols"===e}(t))return Q.createElement(_l,r);break;default:return null}}function WP(e){var t,r=e.option,n=e.shapeType,i=e.propTransformer,o=void 0===i?FP:i,a=e.activeClassName,c=void 0===a?"recharts-active-shape":a,l=e.isActive,u=zP(e,BP);if(ee(r))t=se(r,HP(HP({},u),function(e){return ee(e)?e.props:e}(r)));else if($n(r))t=r(u);else if(SP(r)&&!PP(r)){var s=o(r,u);t=Q.createElement(UP,{shapeType:n,elementProps:s})}else{var f=u;t=Q.createElement(UP,{shapeType:n,elementProps:f})}return l?Q.createElement($a,{className:c},t):t}function qP(e,t){return null!=t&&"trapezoids"in e.props}function YP(e,t){return null!=t&&"sectors"in e.props}function XP(e,t){return null!=t&&"points"in e.props}function KP(e,t){var r,n,i=e.x===(null==t||null===(r=t.labelViewBox)||void 0===r?void 0:r.x)||e.x===t.x,o=e.y===(null==t||null===(n=t.labelViewBox)||void 0===n?void 0:n.y)||e.y===t.y;return i&&o}function GP(e,t){var r=e.endAngle===t.endAngle,n=e.startAngle===t.startAngle;return r&&n}function ZP(e,t){var r=e.x===t.x,n=e.y===t.y,i=e.z===t.z;return r&&n&&i}function JP(e){var t=e.activeTooltipItem,r=e.graphicalItem,n=e.itemData,i=function(e,t){var r;return qP(e,t)?r="trapezoids":YP(e,t)?r="sectors":XP(e,t)&&(r="points"),r}(r,t),o=function(e,t){var r,n;return qP(e,t)?null===(r=t.tooltipPayload)||void 0===r||null===(r=r[0])||void 0===r||null===(r=r.payload)||void 0===r?void 0:r.payload:YP(e,t)?null===(n=t.tooltipPayload)||void 0===n||null===(n=n[0])||void 0===n||null===(n=n.payload)||void 0===n?void 0:n.payload:XP(e,t)?t.payload:{}}(r,t),a=n.filter((function(e,n){var a=ex(o,e),c=r.props[i].filter((function(e){var n=function(e,t){var r;return qP(e,t)?r=KP:YP(e,t)?r=GP:XP(e,t)&&(r=ZP),r}(r,t);return n(e,t)})),l=r.props[i].indexOf(c[c.length-1]);return a&&n===l}));return n.indexOf(a[a.length-1])}var QP=Math.ceil,eM=Math.max;var tM=Gd,rM=1/0;var nM=function(e,t,r,n){for(var i=-1,o=eM(QP((t-e)/(r||1)),0),a=Array(o);o--;)a[n?o:++i]=e,e+=r;return a},iM=qh,oM=function(e){return e?(e=tM(e))===rM||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0};var aM=Gt(function(e){return function(t,r,n){return n&&"number"!=typeof n&&iM(t,r,n)&&(r=n=void 0),t=oM(t),void 0===r?(r=t,t=0):r=oM(r),n=void 0===n?t<r?1:-1:oM(n),nM(t,r,n,e)}}());function cM(e){return cM="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},cM(e)}function lM(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function uM(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?lM(Object(r),!0).forEach((function(t){sM(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):lM(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function sM(e,t,r){return t=function(e){var t=function(e,t){if("object"!=cM(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=cM(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==cM(t)?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var fM=["Webkit","Moz","O","ms"];function pM(e){return pM="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},pM(e)}function hM(){return hM=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},hM.apply(this,arguments)}function dM(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function yM(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?dM(Object(r),!0).forEach((function(t){OM(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):dM(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function vM(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,SM(n.key),n)}}function gM(e,t,r){return t=bM(t),function(e,t){if(t&&("object"===pM(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return wM(e)}(e,mM()?Reflect.construct(t,r||[],bM(e).constructor):t.apply(e,r))}function mM(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(mM=function(){return!!e})()}function bM(e){return bM=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},bM(e)}function wM(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xM(e,t){return xM=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},xM(e,t)}function OM(e,t,r){return(t=SM(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function SM(e){var t=function(e,t){if("object"!=pM(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=pM(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==pM(t)?t:String(t)}var jM=function(e){return e.changedTouches&&!!e.changedTouches.length},AM=function(e){function t(e){var r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),OM(wM(r=gM(this,t,[e])),"handleDrag",(function(e){r.leaveTimer&&(clearTimeout(r.leaveTimer),r.leaveTimer=null),r.state.isTravellerMoving?r.handleTravellerMove(e):r.state.isSlideMoving&&r.handleSlideDrag(e)})),OM(wM(r),"handleTouchMove",(function(e){null!=e.changedTouches&&e.changedTouches.length>0&&r.handleDrag(e.changedTouches[0])})),OM(wM(r),"handleDragEnd",(function(){r.setState({isTravellerMoving:!1,isSlideMoving:!1},(function(){var e=r.props,t=e.endIndex,n=e.onDragEnd,i=e.startIndex;null==n||n({endIndex:t,startIndex:i})})),r.detachDragEndListener()})),OM(wM(r),"handleLeaveWrapper",(function(){(r.state.isTravellerMoving||r.state.isSlideMoving)&&(r.leaveTimer=window.setTimeout(r.handleDragEnd,r.props.leaveTimeOut))})),OM(wM(r),"handleEnterSlideOrTraveller",(function(){r.setState({isTextActive:!0})})),OM(wM(r),"handleLeaveSlideOrTraveller",(function(){r.setState({isTextActive:!1})})),OM(wM(r),"handleSlideDragStart",(function(e){var t=jM(e)?e.changedTouches[0]:e;r.setState({isTravellerMoving:!1,isSlideMoving:!0,slideMoveStartX:t.pageX}),r.attachDragEndListener()})),r.travellerDragStartHandlers={startX:r.handleTravellerDragStart.bind(wM(r),"startX"),endX:r.handleTravellerDragStart.bind(wM(r),"endX")},r.state={},r}var r,n,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&xM(e,t)}(t,re),r=t,n=[{key:"componentWillUnmount",value:function(){this.leaveTimer&&(clearTimeout(this.leaveTimer),this.leaveTimer=null),this.detachDragEndListener()}},{key:"getIndex",value:function(e){var r=e.startX,n=e.endX,i=this.state.scaleValues,o=this.props,a=o.gap,c=o.data.length-1,l=Math.min(r,n),u=Math.max(r,n),s=t.getIndexInRange(i,l),f=t.getIndexInRange(i,u);return{startIndex:s-s%a,endIndex:f===c?c:f-f%a}}},{key:"getTextOfTick",value:function(e){var t=this.props,r=t.data,n=t.tickFormatter,i=t.dataKey,o=SO(r[e],i,e);return $n(n)?n(o,e):o}},{key:"attachDragEndListener",value:function(){window.addEventListener("mouseup",this.handleDragEnd,!0),window.addEventListener("touchend",this.handleDragEnd,!0),window.addEventListener("mousemove",this.handleDrag,!0)}},{key:"detachDragEndListener",value:function(){window.removeEventListener("mouseup",this.handleDragEnd,!0),window.removeEventListener("touchend",this.handleDragEnd,!0),window.removeEventListener("mousemove",this.handleDrag,!0)}},{key:"handleSlideDrag",value:function(e){var t=this.state,r=t.slideMoveStartX,n=t.startX,i=t.endX,o=this.props,a=o.x,c=o.width,l=o.travellerWidth,u=o.startIndex,s=o.endIndex,f=o.onChange,p=e.pageX-r;p>0?p=Math.min(p,a+c-l-i,a+c-l-n):p<0&&(p=Math.max(p,a-n,a-i));var h=this.getIndex({startX:n+p,endX:i+p});h.startIndex===u&&h.endIndex===s||!f||f(h),this.setState({startX:n+p,endX:i+p,slideMoveStartX:e.pageX})}},{key:"handleTravellerDragStart",value:function(e,t){var r=jM(t)?t.changedTouches[0]:t;this.setState({isSlideMoving:!1,isTravellerMoving:!0,movingTravellerId:e,brushMoveStartX:r.pageX}),this.attachDragEndListener()}},{key:"handleTravellerMove",value:function(e){var t=this.state,r=t.brushMoveStartX,n=t.movingTravellerId,i=t.endX,o=t.startX,a=this.state[n],c=this.props,l=c.x,u=c.width,s=c.travellerWidth,f=c.onChange,p=c.gap,h=c.data,d={startX:this.state.startX,endX:this.state.endX},y=e.pageX-r;y>0?y=Math.min(y,l+u-s-a):y<0&&(y=Math.max(y,l-a)),d[n]=a+y;var v=this.getIndex(d),g=v.startIndex,m=v.endIndex;this.setState(OM(OM({},n,a+y),"brushMoveStartX",e.pageX),(function(){var e;f&&(e=h.length-1,("startX"===n&&(i>o?g%p==0:m%p==0)||i<o&&m===e||"endX"===n&&(i>o?m%p==0:g%p==0)||i>o&&m===e)&&f(v))}))}},{key:"handleTravellerMoveKeyboard",value:function(e,t){var r=this,n=this.state,i=n.scaleValues,o=n.startX,a=n.endX,c=this.state[t],l=i.indexOf(c);if(-1!==l){var u=l+e;if(!(-1===u||u>=i.length)){var s=i[u];"startX"===t&&s>=a||"endX"===t&&s<=o||this.setState(OM({},t,s),(function(){r.props.onChange(r.getIndex({startX:r.state.startX,endX:r.state.endX}))}))}}}},{key:"renderBackground",value:function(){var e=this.props,t=e.x,r=e.y,n=e.width,i=e.height,o=e.fill,a=e.stroke;return Q.createElement("rect",{stroke:a,fill:o,x:t,y:r,width:n,height:i})}},{key:"renderPanorama",value:function(){var e=this.props,t=e.x,r=e.y,n=e.width,i=e.height,o=e.data,a=e.children,c=e.padding,l=te.only(a);return l?Q.cloneElement(l,{x:t,y:r,width:n,height:i,margin:c,compact:!0,data:o}):null}},{key:"renderTravellerLayer",value:function(e,r){var n,i,o=this,a=this.props,c=a.y,l=a.travellerWidth,u=a.height,s=a.traveller,f=a.ariaLabel,p=a.data,h=a.startIndex,d=a.endIndex,y=Math.max(e,this.props.x),v=yM(yM({},Ea(this.props,!1)),{},{x:y,y:c,width:l,height:u}),g=f||"Min value: ".concat(null===(n=p[h])||void 0===n?void 0:n.name,", Max value: ").concat(null===(i=p[d])||void 0===i?void 0:i.name);return Q.createElement($a,{tabIndex:0,role:"slider","aria-label":g,"aria-valuenow":e,className:"recharts-brush-traveller",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.travellerDragStartHandlers[r],onTouchStart:this.travellerDragStartHandlers[r],onKeyDown:function(e){["ArrowLeft","ArrowRight"].includes(e.key)&&(e.preventDefault(),e.stopPropagation(),o.handleTravellerMoveKeyboard("ArrowRight"===e.key?1:-1,r))},onFocus:function(){o.setState({isTravellerFocused:!0})},onBlur:function(){o.setState({isTravellerFocused:!1})},style:{cursor:"col-resize"}},t.renderTraveller(s,v))}},{key:"renderSlide",value:function(e,t){var r=this.props,n=r.y,i=r.height,o=r.stroke,a=r.travellerWidth,c=Math.min(e,t)+a,l=Math.max(Math.abs(t-e)-a,0);return Q.createElement("rect",{className:"recharts-brush-slide",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.handleSlideDragStart,onTouchStart:this.handleSlideDragStart,style:{cursor:"move"},stroke:"none",fill:o,fillOpacity:.2,x:c,y:n,width:l,height:i})}},{key:"renderText",value:function(){var e=this.props,t=e.startIndex,r=e.endIndex,n=e.y,i=e.height,o=e.travellerWidth,a=e.stroke,c=this.state,l=c.startX,u=c.endX,s={pointerEvents:"none",fill:a};return Q.createElement($a,{className:"recharts-brush-texts"},Q.createElement(Gy,hM({textAnchor:"end",verticalAnchor:"middle",x:Math.min(l,u)-5,y:n+i/2},s),this.getTextOfTick(t)),Q.createElement(Gy,hM({textAnchor:"start",verticalAnchor:"middle",x:Math.max(l,u)+o+5,y:n+i/2},s),this.getTextOfTick(r)))}},{key:"render",value:function(){var e=this.props,t=e.data,r=e.className,n=e.children,i=e.x,o=e.y,a=e.width,c=e.height,l=e.alwaysShowText,u=this.state,s=u.startX,f=u.endX,p=u.isTextActive,h=u.isSlideMoving,d=u.isTravellerMoving,y=u.isTravellerFocused;if(!t||!t.length||!Qo(i)||!Qo(o)||!Qo(a)||!Qo(c)||a<=0||c<=0)return null;var v,g,m,b,w=cn("recharts-brush",r),x=1===Q.Children.count(n),O=(g="none",m=(v="userSelect").replace(/(\w)/,(function(e){return e.toUpperCase()})),(b=fM.reduce((function(e,t){return uM(uM({},e),{},sM({},t+m,g))}),{}))[v]=g,b);return Q.createElement($a,{className:w,onMouseLeave:this.handleLeaveWrapper,onTouchMove:this.handleTouchMove,style:O},this.renderBackground(),x&&this.renderPanorama(),this.renderSlide(s,f),this.renderTravellerLayer(s,"startX"),this.renderTravellerLayer(f,"endX"),(p||h||d||y||l)&&this.renderText())}}],i=[{key:"renderDefaultTraveller",value:function(e){var t=e.x,r=e.y,n=e.width,i=e.height,o=e.stroke,a=Math.floor(r+i/2)-1;return Q.createElement(Q.Fragment,null,Q.createElement("rect",{x:t,y:r,width:n,height:i,fill:o,stroke:"none"}),Q.createElement("line",{x1:t+1,y1:a,x2:t+n-1,y2:a,fill:"none",stroke:"#fff"}),Q.createElement("line",{x1:t+1,y1:a+2,x2:t+n-1,y2:a+2,fill:"none",stroke:"#fff"}))}},{key:"renderTraveller",value:function(e,r){return Q.isValidElement(e)?Q.cloneElement(e,r):$n(e)?e(r):t.renderDefaultTraveller(r)}},{key:"getDerivedStateFromProps",value:function(e,t){var r=e.data,n=e.width,i=e.x,o=e.travellerWidth,a=e.updateId,c=e.startIndex,l=e.endIndex;if(r!==t.prevData||a!==t.prevUpdateId)return yM({prevData:r,prevTravellerWidth:o,prevUpdateId:a,prevX:i,prevWidth:n},r&&r.length?function(e){var t=e.data,r=e.startIndex,n=e.endIndex,i=e.x,o=e.width,a=e.travellerWidth;if(!t||!t.length)return{};var c=t.length,l=Av().domain(aM(0,c)).range([i,i+o-a]),u=l.domain().map((function(e){return l(e)}));return{isTextActive:!1,isSlideMoving:!1,isTravellerMoving:!1,isTravellerFocused:!1,startX:l(r),endX:l(n),scale:l,scaleValues:u}}({data:r,width:n,x:i,travellerWidth:o,startIndex:c,endIndex:l}):{scale:null,scaleValues:null});if(t.scale&&(n!==t.prevWidth||i!==t.prevX||o!==t.prevTravellerWidth)){t.scale.range([i,i+n-o]);var u=t.scale.domain().map((function(e){return t.scale(e)}));return{prevData:r,prevTravellerWidth:o,prevUpdateId:a,prevX:i,prevWidth:n,startX:t.scale(e.startIndex),endX:t.scale(e.endIndex),scaleValues:u}}return null}},{key:"getIndexInRange",value:function(e,t){for(var r=0,n=e.length-1;n-r>1;){var i=Math.floor((r+n)/2);e[i]>t?n=i:r=i}return t>=e[n]?n:r}}],n&&vM(r.prototype,n),i&&vM(r,i),Object.defineProperty(r,"prototype",{writable:!1}),t}();OM(AM,"displayName","Brush"),OM(AM,"defaultProps",{height:40,travellerWidth:5,gap:1,fill:"#fff",stroke:"#666",padding:{top:1,right:1,bottom:1,left:1},leaveTimeOut:1e3,alwaysShowText:!1});var PM=uh;var MM=cu,kM=pp,EM=function(e,t){var r;return PM(e,(function(e,n,i){return!(r=t(e,n,i))})),!!r},CM=ln,_M=qh;var TM=Gt((function(e,t,r){var n=CM(e)?MM:EM;return r&&_M(e,t,r)&&(t=void 0),n(e,kM(t))})),DM=function(e,t){var r=e.alwaysShow,n=e.ifOverflow;return r&&(n="extendDomain"),n===t},IM=Th;var NM=function(e,t,r){"__proto__"==t&&IM?IM(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r},LM=NM,BM=ch,RM=pp;var zM=function(e,t){var r={};return t=RM(t),BM(e,(function(e,n,i){LM(r,n,t(e,n,i))})),r},$M=Gt(zM);var HM=function(e,t){for(var r=-1,n=null==e?0:e.length;++r<n;)if(!t(e[r],r,e))return!1;return!0},VM=uh;var FM=HM,UM=function(e,t){var r=!0;return VM(e,(function(e,n,i){return r=!!t(e,n,i)})),r},WM=pp,qM=ln,YM=qh;var XM=Gt((function(e,t,r){var n=qM(e)?FM:UM;return r&&YM(e,t,r)&&(t=void 0),n(e,WM(t))})),KM=["x","y"];function GM(e){return GM="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},GM(e)}function ZM(){return ZM=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ZM.apply(this,arguments)}function JM(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function QM(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?JM(Object(r),!0).forEach((function(t){ek(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):JM(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function ek(e,t,r){return t=function(e){var t=function(e,t){if("object"!=GM(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=GM(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==GM(t)?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function tk(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function rk(e,t){var r=e.x,n=e.y,i=tk(e,KM),o="".concat(r),a=parseInt(o,10),c="".concat(n),l=parseInt(c,10),u="".concat(t.height||i.height),s=parseInt(u,10),f="".concat(t.width||i.width),p=parseInt(f,10);return QM(QM(QM(QM(QM({},t),i),a?{x:a}:{}),l?{y:l}:{}),{},{height:s,width:p,name:t.name,radius:t.radius})}function nk(e){return Q.createElement(WP,ZM({shapeType:"rectangle",propTransformer:rk,activeClassName:"recharts-active-bar"},e))}var ik,ok=["value","background"];function ak(e){return ak="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ak(e)}function ck(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function lk(){return lk=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},lk.apply(this,arguments)}function uk(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function sk(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?uk(Object(r),!0).forEach((function(t){gk(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):uk(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function fk(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,mk(n.key),n)}}function pk(e,t,r){return t=dk(t),function(e,t){if(t&&("object"===ak(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return yk(e)}(e,hk()?Reflect.construct(t,r||[],dk(e).constructor):t.apply(e,r))}function hk(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(hk=function(){return!!e})()}function dk(e){return dk=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},dk(e)}function yk(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vk(e,t){return vk=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},vk(e,t)}function gk(e,t,r){return(t=mk(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function mk(e){var t=function(e,t){if("object"!=ak(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=ak(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==ak(t)?t:String(t)}var bk=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return gk(yk(e=pk(this,t,[].concat(n))),"state",{isAnimationFinished:!1}),gk(yk(e),"id",ra("recharts-bar-")),gk(yk(e),"handleAnimationEnd",(function(){var t=e.props.onAnimationEnd;e.setState({isAnimationFinished:!0}),t&&t()})),gk(yk(e),"handleAnimationStart",(function(){var t=e.props.onAnimationStart;e.setState({isAnimationFinished:!1}),t&&t()})),e}var r,n,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&vk(e,t)}(t,re),r=t,n=[{key:"renderRectanglesStatically",value:function(e){var t=this,r=this.props,n=r.shape,i=r.dataKey,o=r.activeIndex,a=r.activeBar,c=Ea(this.props,!1);return e&&e.map((function(e,r){var l=r===o,u=l?a:n,s=sk(sk(sk({},c),e),{},{isActive:l,option:u,index:r,dataKey:i,onAnimationStart:t.handleAnimationStart,onAnimationEnd:t.handleAnimationEnd});return Q.createElement($a,lk({className:"recharts-bar-rectangle"},da(t.props,e,r),{key:"rectangle-".concat(null==e?void 0:e.x,"-").concat(null==e?void 0:e.y,"-").concat(null==e?void 0:e.value)}),Q.createElement(nk,s))}))}},{key:"renderRectanglesWithAnimation",value:function(){var e=this,t=this.props,r=t.data,n=t.layout,i=t.isAnimationActive,o=t.animationBegin,a=t.animationDuration,c=t.animationEasing,l=t.animationId,u=this.state.prevData;return Q.createElement(qA,{begin:o,duration:a,isActive:i,easing:c,from:{t:0},to:{t:1},key:"bar-".concat(l),onAnimationEnd:this.handleAnimationEnd,onAnimationStart:this.handleAnimationStart},(function(t){var i=t.t,o=r.map((function(e,t){var r=u&&u[t];if(r){var o=oa(r.x,e.x),a=oa(r.y,e.y),c=oa(r.width,e.width),l=oa(r.height,e.height);return sk(sk({},e),{},{x:o(i),y:a(i),width:c(i),height:l(i)})}if("horizontal"===n){var s=oa(0,e.height)(i);return sk(sk({},e),{},{y:e.y+e.height-s,height:s})}var f=oa(0,e.width)(i);return sk(sk({},e),{},{width:f})}));return Q.createElement($a,null,e.renderRectanglesStatically(o))}))}},{key:"renderRectangles",value:function(){var e=this.props,t=e.data,r=e.isAnimationActive,n=this.state.prevData;return!(r&&t&&t.length)||n&&ex(n,t)?this.renderRectanglesStatically(t):this.renderRectanglesWithAnimation()}},{key:"renderBackground",value:function(){var e=this,t=this.props,r=t.data,n=t.dataKey,i=t.activeIndex,o=Ea(this.props.background,!1);return r.map((function(t,r){t.value;var a=t.background,c=ck(t,ok);if(!a)return null;var l=sk(sk(sk(sk(sk({},c),{},{fill:"#eee"},a),o),da(e.props,t,r)),{},{onAnimationStart:e.handleAnimationStart,onAnimationEnd:e.handleAnimationEnd,dataKey:n,index:r,key:"background-bar-".concat(r),className:"recharts-bar-background-rectangle"});return Q.createElement(nk,lk({option:e.props.background,isActive:r===i},l))}))}},{key:"renderErrorBar",value:function(e,t){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var r=this.props,n=r.data,i=r.xAxis,o=r.yAxis,a=r.layout,c=ja(r.children,fO);if(!c)return null;var l="vertical"===a?n[0].height/2:n[0].width/2,u=function(e,t){var r=Array.isArray(e.value)?e.value[1]:e.value;return{x:e.x,y:e.y,value:r,errorVal:SO(e,t)}},s={clipPath:e?"url(#clipPath-".concat(t,")"):null};return Q.createElement($a,s,c.map((function(e){return Q.cloneElement(e,{key:"error-bar-".concat(t,"-").concat(e.props.dataKey),data:n,xAxis:i,yAxis:o,layout:a,offset:l,dataPointFormatter:u})})))}},{key:"render",value:function(){var e=this.props,t=e.hide,r=e.data,n=e.className,i=e.xAxis,o=e.yAxis,a=e.left,c=e.top,l=e.width,u=e.height,s=e.isAnimationActive,f=e.background,p=e.id;if(t||!r||!r.length)return null;var h=this.state.isAnimationFinished,d=cn("recharts-bar",n),y=i&&i.allowDataOverflow,v=o&&o.allowDataOverflow,g=y||v,m=Io(p)?this.id:p;return Q.createElement($a,{className:d},y||v?Q.createElement("defs",null,Q.createElement("clipPath",{id:"clipPath-".concat(m)},Q.createElement("rect",{x:y?a:a-l/2,y:v?c:c-u/2,width:y?l:2*l,height:v?u:2*u}))):null,Q.createElement($a,{className:"recharts-bar-rectangles",clipPath:g?"url(#clipPath-".concat(m,")"):null},f?this.renderBackground():null,this.renderRectangles()),this.renderErrorBar(g,m),(!s||h)&&ES.renderCallByParent(this.props,r))}}],i=[{key:"getDerivedStateFromProps",value:function(e,t){return e.animationId!==t.prevAnimationId?{prevAnimationId:e.animationId,curData:e.data,prevData:t.curData}:e.data!==t.curData?{curData:e.data}:null}}],n&&fk(r.prototype,n),i&&fk(r,i),Object.defineProperty(r,"prototype",{writable:!1}),t}();function wk(e){return wk="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},wk(e)}function xk(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,Ak(n.key),n)}}function Ok(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Sk(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ok(Object(r),!0).forEach((function(t){jk(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ok(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function jk(e,t,r){return(t=Ak(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ak(e){var t=function(e,t){if("object"!=wk(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=wk(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==wk(t)?t:String(t)}ik=bk,gk(bk,"displayName","Bar"),gk(bk,"defaultProps",{xAxisId:0,yAxisId:0,legendType:"rect",minPointSize:0,hide:!1,data:[],layout:"vertical",activeBar:!1,isAnimationActive:!jd.isSsr,animationBegin:0,animationDuration:400,animationEasing:"ease"}),gk(bk,"getComposedData",(function(e){var t=e.props,r=e.item,n=e.barPosition,i=e.bandSize,o=e.xAxis,a=e.yAxis,c=e.xAxisTicks,l=e.yAxisTicks,u=e.stackedData,s=e.dataStartIndex,f=e.displayedData,p=e.offset,h=function(e,t){if(!e)return null;for(var r=0,n=e.length;r<n;r++)if(e[r].item===t)return e[r].position;return null}(n,r);if(!h)return null;var d=t.layout,y=r.props,v=y.dataKey,g=y.children,m=y.minPointSize,b="horizontal"===d?a:o,w=u?b.scale.domain():null,x=function(e){var t=e.numericAxis,r=t.scale.domain();if("number"===t.type){var n=Math.min(r[0],r[1]),i=Math.max(r[0],r[1]);return n<=0&&i>=0?0:i<0?i:n}return r[0]}({numericAxis:b}),O=ja(g,hy),S=f.map((function(e,t){var n,f,p,y,g,b;u?n=function(e,t){if(!t||2!==t.length||!Qo(t[0])||!Qo(t[1]))return e;var r=Math.min(t[0],t[1]),n=Math.max(t[0],t[1]),i=[e[0],e[1]];return(!Qo(e[0])||e[0]<r)&&(i[0]=r),(!Qo(e[1])||e[1]>n)&&(i[1]=n),i[0]>n&&(i[0]=n),i[1]<r&&(i[1]=r),i}(u[s+t],w):(n=SO(e,v),Array.isArray(n)||(n=[x,n]));var S=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return function(r,n){if("number"==typeof e)return e;var i="number"==typeof r;return i?e(r,n):(i||("production"!==process.env.NODE_ENV?oO(0,"minPointSize callback function received a value with type of ".concat(GM(r),". Currently only numbers are supported.")):oO()),t)}}(m,ik.defaultProps.minPointSize)(n[1],t);if("horizontal"===d){var j,A=[a.scale(n[0]),a.scale(n[1])],P=A[0],M=A[1];f=LO({axis:o,ticks:c,bandSize:i,offset:h.offset,entry:e,index:t}),p=null!==(j=null!=M?M:P)&&void 0!==j?j:void 0,y=h.size;var k=P-M;if(g=Number.isNaN(k)?0:k,b={x:f,y:a.y,width:y,height:a.height},Math.abs(S)>0&&Math.abs(g)<Math.abs(S)){var E=Zo(g||S)*(Math.abs(S)-Math.abs(g));p-=E,g+=E}}else{var C=[o.scale(n[0]),o.scale(n[1])],_=C[0],T=C[1];if(f=_,p=LO({axis:a,ticks:l,bandSize:i,offset:h.offset,entry:e,index:t}),y=T-_,g=h.size,b={x:o.x,y:p,width:o.width,height:g},Math.abs(S)>0&&Math.abs(y)<Math.abs(S))y+=Zo(y||S)*(Math.abs(S)-Math.abs(y))}return sk(sk(sk({},e),{},{x:f,y:p,width:y,height:g,value:u?n:n[1],payload:e,background:b},O&&O[t]&&O[t].props),{},{tooltipPayload:[FO(r,e)],tooltipPosition:{x:f+y/2,y:p+g/2}})}));return sk({data:S,layout:d},p)}));var Pk=function(e,t,r,n,i){var o=e.width,a=e.height,c=e.layout,l=e.children,u=Object.keys(t),s={left:r.left,leftMirror:r.left,right:o-r.right,rightMirror:o-r.right,top:r.top,topMirror:r.top,bottom:a-r.bottom,bottomMirror:a-r.bottom},f=!!Aa(l,bk);return u.reduce((function(o,a){var l,u,p,h,d,y=t[a],v=y.orientation,g=y.domain,m=y.padding,b=void 0===m?{}:m,w=y.mirror,x=y.reversed,O="".concat(v).concat(w?"Mirror":"");if("number"===y.type&&("gap"===y.padding||"no-gap"===y.padding)){var S=g[1]-g[0],j=1/0,A=y.categoricalDomain.sort();if(A.forEach((function(e,t){t>0&&(j=Math.min((e||0)-(A[t-1]||0),j))})),Number.isFinite(j)){var P=j/S,M="vertical"===y.layout?r.height:r.width;if("gap"===y.padding&&(l=P*M/2),"no-gap"===y.padding){var k=na(e.barCategoryGap,P*M),E=P*M/2;l=E-k-(E-k)/M*k}}}u="xAxis"===n?[r.left+(b.left||0)+(l||0),r.left+r.width-(b.right||0)-(l||0)]:"yAxis"===n?"horizontal"===c?[r.top+r.height-(b.bottom||0),r.top+(b.top||0)]:[r.top+(b.top||0)+(l||0),r.top+r.height-(b.bottom||0)-(l||0)]:y.range,x&&(u=[u[1],u[0]]);var C=function(e,t,r){var n=e.scale,i=e.type,o=e.layout,a=e.axisType;if("auto"===n)return"radial"===o&&"radiusAxis"===a?{scale:Sv(),realScaleType:"band"}:"radial"===o&&"angleAxis"===a?{scale:Yg(),realScaleType:"linear"}:"category"===i&&t&&(t.indexOf("LineChart")>=0||t.indexOf("AreaChart")>=0||t.indexOf("ComposedChart")>=0&&!r)?{scale:Av(),realScaleType:"point"}:"category"===i?{scale:Sv(),realScaleType:"band"}:{scale:Yg(),realScaleType:"linear"};if(zo(n)){var c="scale".concat(gc(n));return{scale:(Tw[c]||Av)(),realScaleType:Tw[c]?c:"point"}}return $n(n)?{scale:n}:{scale:Av(),realScaleType:"point"}}(y,i,f),_=C.scale,T=C.realScaleType;_.domain(g).range(u),function(e){var t=e.domain();if(t&&!(t.length<=2)){var r=t.length,n=e.range(),i=Math.min(n[0],n[1])-TO,o=Math.max(n[0],n[1])+TO,a=e(t[0]),c=e(t[r-1]);(a<i||a>o||c<i||c>o)&&e.domain([t[0],t[r-1]])}}(_);var D=function(e,t){var r=t.realScaleType,n=t.type,i=t.tickCount,o=t.originalDomain,a=t.allowDecimals,c=r||t.scale;if("auto"!==c&&"linear"!==c)return null;if(i&&"number"===n&&o&&("auto"===o[0]||"auto"===o[1])){var l=e.domain();if(!l.length)return null;var u=tO(l,i,a);return e.domain([Uw(u),zw(u)]),{niceTicks:u}}if(i&&"number"===n){var s=e.domain();return{niceTicks:rO(s,i,a)}}return null}(_,Sk(Sk({},y),{},{realScaleType:T}));"xAxis"===n?(d="top"===v&&!w||"bottom"===v&&w,p=r.left,h=s[O]-d*y.height):"yAxis"===n&&(d="left"===v&&!w||"right"===v&&w,p=s[O]-d*y.width,h=r.top);var I=Sk(Sk(Sk({},y),D),{},{realScaleType:T,x:p,y:h,scale:_,width:"xAxis"===n?r.width:y.width,height:"yAxis"===n?r.height:y.height});return I.bandSize=HO(I,D),y.hide||"xAxis"!==n?y.hide||(s[O]+=(d?-1:1)*I.width):s[O]+=(d?-1:1)*I.height,Sk(Sk({},o),{},jk({},a,I))}),{})},Mk=function(e,t){var r=e.x,n=e.y,i=t.x,o=t.y;return{x:Math.min(r,i),y:Math.min(n,o),width:Math.abs(i-r),height:Math.abs(o-n)}},kk=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.scale=t}var t,r,n;return t=e,r=[{key:"domain",get:function(){return this.scale.domain}},{key:"range",get:function(){return this.scale.range}},{key:"rangeMin",get:function(){return this.range()[0]}},{key:"rangeMax",get:function(){return this.range()[1]}},{key:"bandwidth",get:function(){return this.scale.bandwidth}},{key:"apply",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.bandAware,n=t.position;if(void 0!==e){if(n)switch(n){case"start":default:return this.scale(e);case"middle":var i=this.bandwidth?this.bandwidth()/2:0;return this.scale(e)+i;case"end":var o=this.bandwidth?this.bandwidth():0;return this.scale(e)+o}if(r){var a=this.bandwidth?this.bandwidth()/2:0;return this.scale(e)+a}return this.scale(e)}}},{key:"isInRange",value:function(e){var t=this.range(),r=t[0],n=t[t.length-1];return r<=n?e>=r&&e<=n:e>=n&&e<=r}}],n=[{key:"create",value:function(t){return new e(t)}}],r&&xk(t.prototype,r),n&&xk(t,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();jk(kk,"EPS",1e-4);var Ek=function(e){var t=Object.keys(e).reduce((function(t,r){return Sk(Sk({},t),{},jk({},r,kk.create(e[r])))}),{});return Sk(Sk({},t),{},{apply:function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.bandAware,i=r.position;return $M(e,(function(e,r){return t[r].apply(e,{bandAware:n,position:i})}))},isInRange:function(e){return XM(e,(function(e,r){return t[r].isInRange(e)}))}})};var Ck=function(e){var t=e.width,r=e.height,n=function(e){return(e%180+180)%180}(arguments.length>1&&void 0!==arguments[1]?arguments[1]:0),i=n*Math.PI/180,o=Math.atan(r/t),a=i>o&&i<Math.PI-o?r/Math.sin(i):t/Math.cos(i);return Math.abs(a)},_k=oo((function(e){return{x:e.left,y:e.top,width:e.width,height:e.height}}),(function(e){return["l",e.left,"t",e.top,"w",e.width,"h",e.height].join("")}));function Tk(e){return Tk="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Tk(e)}var Dk=he(void 0),Ik=he(void 0),Nk=he(void 0),Lk=he({}),Bk=he(void 0),Rk=he(0),zk=he(0),$k=function(e){var t=e.state,r=t.xAxisMap,n=t.yAxisMap,i=t.offset,o=e.clipPathId,a=e.children,c=e.width,l=e.height,u=_k(i);return Q.createElement(Dk.Provider,{value:r},Q.createElement(Ik.Provider,{value:n},Q.createElement(Lk.Provider,{value:i},Q.createElement(Nk.Provider,{value:u},Q.createElement(Bk.Provider,{value:o},Q.createElement(Rk.Provider,{value:l},Q.createElement(zk.Provider,{value:c},a)))))))};function Hk(e){var t=Object.keys(e);return 0===t.length?"There are no available ids.":"Available ids are: ".concat(t,".")}var Vk=function(e){var t=pe(Dk);null==t&&("production"!==process.env.NODE_ENV?oO(0,"Could not find Recharts context; are you sure this is rendered inside a Recharts wrapper component?"):oO());var r=t[e];return null==r&&("production"!==process.env.NODE_ENV?oO(0,'Could not find xAxis by id "'.concat(e,'" [').concat(Tk(e),"]. ").concat(Hk(t))):oO()),r},Fk=function(e){var t=pe(Ik);null==t&&("production"!==process.env.NODE_ENV?oO(0,"Could not find Recharts context; are you sure this is rendered inside a Recharts wrapper component?"):oO());var r=t[e];return null==r&&("production"!==process.env.NODE_ENV?oO(0,'Could not find yAxis by id "'.concat(e,'" [').concat(Tk(e),"]. ").concat(Hk(t))):oO()),r},Uk=function(){return pe(zk)},Wk=function(){return pe(Rk)};function qk(e){return qk="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},qk(e)}function Yk(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Xk(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Yk(Object(r),!0).forEach((function(t){Kk(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Yk(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Kk(e,t,r){return t=function(e){var t=function(e,t){if("object"!=qk(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=qk(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==qk(t)?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Gk(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,o,a,c=[],l=!0,u=!1;try{if(o=(r=r.call(e)).next,0===t);else for(;!(l=(n=o.call(r)).done)&&(c.push(n.value),c.length!==t);l=!0);}catch(e){u=!0,i=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw i}}return c}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Zk(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Zk(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Zk(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Jk(){return Jk=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Jk.apply(this,arguments)}function Qk(e){var t=e.x,r=e.y,n=e.segment,i=e.xAxisId,o=e.yAxisId,a=e.shape,c=e.className,l=e.alwaysShow,u=pe(Bk),s=Vk(i),f=Fk(o),p=pe(Nk);if(!u||!p)return null;Va(void 0===l,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var h=function(e,t,r,n,i,o,a,c,l){var u=i.x,s=i.y,f=i.width,p=i.height;if(r){var h=l.y,d=e.y.apply(h,{position:o});if(DM(l,"discard")&&!e.y.isInRange(d))return null;var y=[{x:u+f,y:d},{x:u,y:d}];return"left"===c?y.reverse():y}if(t){var v=l.x,g=e.x.apply(v,{position:o});if(DM(l,"discard")&&!e.x.isInRange(g))return null;var m=[{x:g,y:s+p},{x:g,y:s}];return"top"===a?m.reverse():m}if(n){var b=l.segment.map((function(t){return e.apply(t,{position:o})}));return DM(l,"discard")&&TM(b,(function(t){return!e.isInRange(t)}))?null:b}return null}(Ek({x:s.scale,y:f.scale}),ea(t),ea(r),n&&2===n.length,p,e.position,s.orientation,f.orientation,e);if(!h)return null;var d=Gk(h,2),y=d[0],v=y.x,g=y.y,m=d[1],b=m.x,w=m.y,x=Xk(Xk({clipPath:DM(e,"hidden")?"url(#".concat(u,")"):void 0},Ea(e,!0)),{},{x1:v,y1:g,x2:b,y2:w});return Q.createElement($a,{className:cn("recharts-reference-line",c)},function(e,t){return Q.isValidElement(e)?Q.cloneElement(e,t):$n(e)?e(t):Q.createElement("line",Jk({},t,{className:"recharts-reference-line-line"}))}(a,x),dS.renderCallByParent(e,function(e){var t=e.x1,r=e.y1,n=e.x2,i=e.y2;return Mk({x:t,y:r},{x:n,y:i})}({x1:v,y1:g,x2:b,y2:w})))}function eE(e){return eE="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},eE(e)}function tE(){return tE=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},tE.apply(this,arguments)}function rE(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function nE(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?rE(Object(r),!0).forEach((function(t){iE(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):rE(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function iE(e,t,r){return t=function(e){var t=function(e,t){if("object"!=eE(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=eE(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==eE(t)?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}Qk.displayName="ReferenceLine",Qk.defaultProps={isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,fill:"none",stroke:"#ccc",fillOpacity:1,strokeWidth:1,position:"middle"};function oE(e){var t=e.x,r=e.y,n=e.r,i=e.alwaysShow,o=e.clipPathId,a=ea(t),c=ea(r);if(Va(void 0===i,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.'),!a||!c)return null;var l=function(e){var t=e.x,r=e.y,n=e.xAxis,i=e.yAxis,o=Ek({x:n.scale,y:i.scale}),a=o.apply({x:t,y:r},{bandAware:!0});return DM(e,"discard")&&!o.isInRange(a)?null:a}(e);if(!l)return null;var u=l.x,s=l.y,f=e.shape,p=e.className,h=nE(nE({clipPath:DM(e,"hidden")?"url(#".concat(o,")"):void 0},Ea(e,!0)),{},{cx:u,cy:s});return Q.createElement($a,{className:cn("recharts-reference-dot",p)},oE.renderDot(f,h),dS.renderCallByParent(e,{x:u-n,y:s-n,width:2*n,height:2*n}))}function aE(e){return aE="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},aE(e)}function cE(){return cE=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},cE.apply(this,arguments)}function lE(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function uE(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?lE(Object(r),!0).forEach((function(t){sE(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):lE(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function sE(e,t,r){return t=function(e){var t=function(e,t){if("object"!=aE(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=aE(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==aE(t)?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}oE.displayName="ReferenceDot",oE.defaultProps={isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#fff",stroke:"#ccc",fillOpacity:1,strokeWidth:1},oE.renderDot=function(e,t){return Q.isValidElement(e)?Q.cloneElement(e,t):$n(e)?e(t):Q.createElement(oP,tE({},t,{cx:t.cx,cy:t.cy,className:"recharts-reference-dot-dot"}))};function fE(e){var t=e.x1,r=e.x2,n=e.y1,i=e.y2,o=e.className,a=e.alwaysShow,c=e.clipPathId;Va(void 0===a,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var l=ea(t),u=ea(r),s=ea(n),f=ea(i),p=e.shape;if(!(l||u||s||f||p))return null;var h=function(e,t,r,n,i){var o=i.x1,a=i.x2,c=i.y1,l=i.y2,u=i.xAxis,s=i.yAxis;if(!u||!s)return null;var f=Ek({x:u.scale,y:s.scale}),p={x:e?f.x.apply(o,{position:"start"}):f.x.rangeMin,y:r?f.y.apply(c,{position:"start"}):f.y.rangeMin},h={x:t?f.x.apply(a,{position:"end"}):f.x.rangeMax,y:n?f.y.apply(l,{position:"end"}):f.y.rangeMax};return!DM(i,"discard")||f.isInRange(p)&&f.isInRange(h)?Mk(p,h):null}(l,u,s,f,e);if(!h&&!p)return null;var d=DM(e,"hidden")?"url(#".concat(c,")"):void 0;return Q.createElement($a,{className:cn("recharts-reference-area",o)},fE.renderRect(p,uE(uE({clipPath:d},Ea(e,!0)),h)),dS.renderCallByParent(e,h))}function pE(e,t,r){if(t<1)return[];if(1===t&&void 0===r)return e;for(var n=[],i=0;i<e.length;i+=t)n.push(e[i]);return n}function hE(e,t,r,n,i){if(e*t<e*n||e*t>e*i)return!1;var o=r();return e*(t-e*o/2-n)>=0&&e*(t+e*o/2-i)<=0}function dE(e){return dE="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},dE(e)}function yE(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function vE(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?yE(Object(r),!0).forEach((function(t){gE(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):yE(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function gE(e,t,r){return t=function(e){var t=function(e,t){if("object"!=dE(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=dE(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==dE(t)?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function mE(e,t,r){var n=e.tick,i=e.ticks,o=e.viewBox,a=e.minTickGap,c=e.orientation,l=e.interval,u=e.tickFormatter,s=e.unit,f=e.angle;if(!i||!i.length||!n)return[];if(Qo(l)||jd.isSsr)return function(e,t){return pE(e,t+1)}(i,"number"==typeof l&&Qo(l)?l:0);var p=[],h="top"===c||"bottom"===c?"width":"height",d=s&&"width"===h?xy(s,{fontSize:t,letterSpacing:r}):{width:0,height:0},y=function(e,n){var i=$n(u)?u(e.value,n):e.value;return"width"===h?function(e,t,r){var n={width:e.width+t.width,height:e.height+t.height};return Ck(n,r)}(xy(i,{fontSize:t,letterSpacing:r}),d,f):xy(i,{fontSize:t,letterSpacing:r})[h]},v=i.length>=2?Zo(i[1].coordinate-i[0].coordinate):1,g=function(e,t,r){var n="width"===r,i=e.x,o=e.y,a=e.width,c=e.height;return 1===t?{start:n?i:o,end:n?i+a:o+c}:{start:n?i+a:o+c,end:n?i:o}}(o,v,h);return"equidistantPreserveStart"===l?function(e,t,r,n,i){for(var o,a=(n||[]).slice(),c=t.start,l=t.end,u=0,s=1,f=c,p=function(){var t=null==n?void 0:n[u];if(void 0===t)return{v:pE(n,s)};var o,a=u,p=function(){return void 0===o&&(o=r(t,a)),o},h=t.coordinate,d=0===u||hE(e,h,p,f,l);d||(u=0,f=c,s+=1),d&&(f=h+e*(p()/2+i),u+=s)};s<=a.length;)if(o=p())return o.v;return[]}(v,g,y,i,a):(p="preserveStart"===l||"preserveStartEnd"===l?function(e,t,r,n,i,o){var a=(n||[]).slice(),c=a.length,l=t.start,u=t.end;if(o){var s=n[c-1],f=r(s,c-1),p=e*(s.coordinate+e*f/2-u);a[c-1]=s=vE(vE({},s),{},{tickCoord:p>0?s.coordinate-p*e:s.coordinate}),hE(e,s.tickCoord,(function(){return f}),l,u)&&(u=s.tickCoord-e*(f/2+i),a[c-1]=vE(vE({},s),{},{isShow:!0}))}for(var h=o?c-1:c,d=function(t){var n,o=a[t],c=function(){return void 0===n&&(n=r(o,t)),n};if(0===t){var s=e*(o.coordinate-e*c()/2-l);a[t]=o=vE(vE({},o),{},{tickCoord:s<0?o.coordinate-s*e:o.coordinate})}else a[t]=o=vE(vE({},o),{},{tickCoord:o.coordinate});hE(e,o.tickCoord,c,l,u)&&(l=o.tickCoord+e*(c()/2+i),a[t]=vE(vE({},o),{},{isShow:!0}))},y=0;y<h;y++)d(y);return a}(v,g,y,i,a,"preserveStartEnd"===l):function(e,t,r,n,i){for(var o=(n||[]).slice(),a=o.length,c=t.start,l=t.end,u=function(t){var n,u=o[t],s=function(){return void 0===n&&(n=r(u,t)),n};if(t===a-1){var f=e*(u.coordinate+e*s()/2-l);o[t]=u=vE(vE({},u),{},{tickCoord:f>0?u.coordinate-f*e:u.coordinate})}else o[t]=u=vE(vE({},u),{},{tickCoord:u.coordinate});hE(e,u.tickCoord,s,c,l)&&(l=u.tickCoord-e*(s()/2+i),o[t]=vE(vE({},u),{},{isShow:!0}))},s=a-1;s>=0;s--)u(s);return o}(v,g,y,i,a),p.filter((function(e){return e.isShow})))}fE.displayName="ReferenceArea",fE.defaultProps={isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#ccc",fillOpacity:.5,stroke:"none",strokeWidth:1},fE.renderRect=function(e,t){return Q.isValidElement(e)?Q.cloneElement(e,t):$n(e)?e(t):Q.createElement(nP,cE({},t,{className:"recharts-reference-area-rect"}))};var bE=["viewBox"],wE=["viewBox"],xE=["ticks"];function OE(e){return OE="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},OE(e)}function SE(){return SE=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},SE.apply(this,arguments)}function jE(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function AE(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?jE(Object(r),!0).forEach((function(t){TE(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):jE(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function PE(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function ME(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,DE(n.key),n)}}function kE(e,t,r){return t=CE(t),function(e,t){if(t&&("object"===OE(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,EE()?Reflect.construct(t,r||[],CE(e).constructor):t.apply(e,r))}function EE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(EE=function(){return!!e})()}function CE(e){return CE=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},CE(e)}function _E(e,t){return _E=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},_E(e,t)}function TE(e,t,r){return(t=DE(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function DE(e){var t=function(e,t){if("object"!=OE(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=OE(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==OE(t)?t:String(t)}var IE=function(e){function t(e){var r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(r=kE(this,t,[e])).state={fontSize:"",letterSpacing:""},r}var r,n,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&_E(e,t)}(t,de),r=t,n=[{key:"shouldComponentUpdate",value:function(e,t){var r=e.viewBox,n=PE(e,bE),i=this.props,o=i.viewBox,a=PE(i,wE);return!ca(r,o)||!ca(n,a)||!ca(t,this.state)}},{key:"componentDidMount",value:function(){var e=this.layerReference;if(e){var t=e.getElementsByClassName("recharts-cartesian-axis-tick-value")[0];t&&this.setState({fontSize:window.getComputedStyle(t).fontSize,letterSpacing:window.getComputedStyle(t).letterSpacing})}}},{key:"getTickLineCoord",value:function(e){var t,r,n,i,o,a,c=this.props,l=c.x,u=c.y,s=c.width,f=c.height,p=c.orientation,h=c.tickSize,d=c.mirror,y=c.tickMargin,v=d?-1:1,g=e.tickSize||h,m=Qo(e.tickCoord)?e.tickCoord:e.coordinate;switch(p){case"top":t=r=e.coordinate,a=(n=(i=u+ +!d*f)-v*g)-v*y,o=m;break;case"left":n=i=e.coordinate,o=(t=(r=l+ +!d*s)-v*g)-v*y,a=m;break;case"right":n=i=e.coordinate,o=(t=(r=l+ +d*s)+v*g)+v*y,a=m;break;default:t=r=e.coordinate,a=(n=(i=u+ +d*f)+v*g)+v*y,o=m}return{line:{x1:t,y1:n,x2:r,y2:i},tick:{x:o,y:a}}}},{key:"getTickTextAnchor",value:function(){var e,t=this.props,r=t.orientation,n=t.mirror;switch(r){case"left":e=n?"start":"end";break;case"right":e=n?"end":"start";break;default:e="middle"}return e}},{key:"getTickVerticalAnchor",value:function(){var e=this.props,t=e.orientation,r=e.mirror,n="end";switch(t){case"left":case"right":n="middle";break;case"top":n=r?"start":"end";break;default:n=r?"end":"start"}return n}},{key:"renderAxisLine",value:function(){var e=this.props,t=e.x,r=e.y,n=e.width,i=e.height,o=e.orientation,a=e.mirror,c=e.axisLine,l=AE(AE(AE({},Ea(this.props,!1)),Ea(c,!1)),{},{fill:"none"});if("top"===o||"bottom"===o){var u=+("top"===o&&!a||"bottom"===o&&a);l=AE(AE({},l),{},{x1:t,y1:r+u*i,x2:t+n,y2:r+u*i})}else{var s=+("left"===o&&!a||"right"===o&&a);l=AE(AE({},l),{},{x1:t+s*n,y1:r,x2:t+s*n,y2:r+i})}return Q.createElement("line",SE({},l,{className:cn("recharts-cartesian-axis-line",Do(c,"className"))}))}},{key:"renderTicks",value:function(e,r,n){var i=this,o=this.props,a=o.tickLine,c=o.stroke,l=o.tick,u=o.tickFormatter,s=o.unit,f=mE(AE(AE({},this.props),{},{ticks:e}),r,n),p=this.getTickTextAnchor(),h=this.getTickVerticalAnchor(),d=Ea(this.props,!1),y=Ea(l,!1),v=AE(AE({},d),{},{fill:"none"},Ea(a,!1)),g=f.map((function(e,r){var n=i.getTickLineCoord(e),o=n.line,g=n.tick,m=AE(AE(AE(AE({textAnchor:p,verticalAnchor:h},d),{},{stroke:"none",fill:c},y),g),{},{index:r,payload:e,visibleTicksCount:f.length,tickFormatter:u});return Q.createElement($a,SE({className:"recharts-cartesian-axis-tick",key:"tick-".concat(e.value,"-").concat(e.coordinate,"-").concat(e.tickCoord)},da(i.props,e,r)),a&&Q.createElement("line",SE({},v,o,{className:cn("recharts-cartesian-axis-tick-line",Do(a,"className"))})),l&&t.renderTickItem(l,m,"".concat($n(u)?u(e.value,r):e.value).concat(s||"")))}));return Q.createElement("g",{className:"recharts-cartesian-axis-ticks"},g)}},{key:"render",value:function(){var e=this,t=this.props,r=t.axisLine,n=t.width,i=t.height,o=t.ticksGenerator,a=t.className;if(t.hide)return null;var c=this.props,l=c.ticks,u=PE(c,xE),s=l;return $n(o)&&(s=l&&l.length>0?o(this.props):o(u)),n<=0||i<=0||!s||!s.length?null:Q.createElement($a,{className:cn("recharts-cartesian-axis",a),ref:function(t){e.layerReference=t}},r&&this.renderAxisLine(),this.renderTicks(s,this.state.fontSize,this.state.letterSpacing),dS.renderCallByParent(this.props))}}],i=[{key:"renderTickItem",value:function(e,t,r){return Q.isValidElement(e)?Q.cloneElement(e,t):$n(e)?e(t):Q.createElement(Gy,SE({},t,{className:"recharts-cartesian-axis-tick-value"}),r)}}],n&&ME(r.prototype,n),i&&ME(r,i),Object.defineProperty(r,"prototype",{writable:!1}),t}();TE(IE,"displayName","CartesianAxis"),TE(IE,"defaultProps",{x:0,y:0,width:0,height:0,viewBox:{x:0,y:0,width:0,height:0},orientation:"bottom",ticks:[],stroke:"#666",tickLine:!0,axisLine:!0,tick:!0,mirror:!1,minTickGap:5,tickSize:6,tickMargin:2,interval:"preserveEnd"});var NE=["type","layout","connectNulls","ref"];function LE(e){return LE="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},LE(e)}function BE(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function RE(){return RE=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},RE.apply(this,arguments)}function zE(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function $E(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?zE(Object(r),!0).forEach((function(t){KE(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):zE(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function HE(e){return function(e){if(Array.isArray(e))return VE(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return VE(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return VE(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function VE(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function FE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,GE(n.key),n)}}function UE(e,t,r){return t=qE(t),function(e,t){if(t&&("object"===LE(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return YE(e)}(e,WE()?Reflect.construct(t,r||[],qE(e).constructor):t.apply(e,r))}function WE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(WE=function(){return!!e})()}function qE(e){return qE=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},qE(e)}function YE(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function XE(e,t){return XE=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},XE(e,t)}function KE(e,t,r){return(t=GE(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function GE(e){var t=function(e,t){if("object"!=LE(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=LE(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==LE(t)?t:String(t)}var ZE=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return KE(YE(e=UE(this,t,[].concat(n))),"state",{isAnimationFinished:!0,totalLength:0}),KE(YE(e),"generateSimpleStrokeDasharray",(function(e,t){return"".concat(t,"px ").concat(e-t,"px")})),KE(YE(e),"getStrokeDasharray",(function(r,n,i){var o=i.reduce((function(e,t){return e+t}));if(!o)return e.generateSimpleStrokeDasharray(n,r);for(var a=Math.floor(r/o),c=r%o,l=n-r,u=[],s=0,f=0;s<i.length;f+=i[s],++s)if(f+i[s]>c){u=[].concat(HE(i.slice(0,s)),[c-f]);break}var p=u.length%2==0?[0,l]:[l];return[].concat(HE(t.repeat(i,a)),HE(u),p).map((function(e){return"".concat(e,"px")})).join(", ")})),KE(YE(e),"id",ra("recharts-line-")),KE(YE(e),"pathRef",(function(t){e.mainCurve=t})),KE(YE(e),"handleAnimationEnd",(function(){e.setState({isAnimationFinished:!0}),e.props.onAnimationEnd&&e.props.onAnimationEnd()})),KE(YE(e),"handleAnimationStart",(function(){e.setState({isAnimationFinished:!1}),e.props.onAnimationStart&&e.props.onAnimationStart()})),e}var r,n,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&XE(e,t)}(t,re),r=t,n=[{key:"componentDidMount",value:function(){if(this.props.isAnimationActive){var e=this.getTotalLength();this.setState({totalLength:e})}}},{key:"componentDidUpdate",value:function(){if(this.props.isAnimationActive){var e=this.getTotalLength();e!==this.state.totalLength&&this.setState({totalLength:e})}}},{key:"getTotalLength",value:function(){var e=this.mainCurve;try{return e&&e.getTotalLength&&e.getTotalLength()||0}catch(e){return 0}}},{key:"renderErrorBar",value:function(e,t){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var r=this.props,n=r.points,i=r.xAxis,o=r.yAxis,a=r.layout,c=ja(r.children,fO);if(!c)return null;var l=function(e,t){return{x:e.x,y:e.y,value:e.value,errorVal:SO(e.payload,t)}},u={clipPath:e?"url(#clipPath-".concat(t,")"):null};return Q.createElement($a,u,c.map((function(e){return Q.cloneElement(e,{key:"bar-".concat(e.props.dataKey),data:n,xAxis:i,yAxis:o,layout:a,dataPointFormatter:l})})))}},{key:"renderDots",value:function(e,r,n){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var i=this.props,o=i.dot,a=i.points,c=i.dataKey,l=Ea(this.props,!1),u=Ea(o,!0),s=a.map((function(e,r){var n=$E($E($E({key:"dot-".concat(r),r:3},l),u),{},{value:e.value,dataKey:c,cx:e.x,cy:e.y,index:r,payload:e.payload});return t.renderDotItem(o,n)})),f={clipPath:e?"url(#clipPath-".concat(r?"":"dots-").concat(n,")"):null};return Q.createElement($a,RE({className:"recharts-line-dots",key:"dots"},f),s)}},{key:"renderCurveStatically",value:function(e,t,r,n){var i=this.props,o=i.type,a=i.layout,c=i.connectNulls;i.ref;var l=BE(i,NE),u=$E($E($E({},Ea(l,!0)),{},{fill:"none",className:"recharts-line-curve",clipPath:t?"url(#clipPath-".concat(r,")"):null,points:e},n),{},{type:o,layout:a,connectNulls:c});return Q.createElement(cj,RE({},u,{pathRef:this.pathRef}))}},{key:"renderCurveWithAnimation",value:function(e,t){var r=this,n=this.props,i=n.points,o=n.strokeDasharray,a=n.isAnimationActive,c=n.animationBegin,l=n.animationDuration,u=n.animationEasing,s=n.animationId,f=n.animateNewValues,p=n.width,h=n.height,d=this.state,y=d.prevPoints,v=d.totalLength;return Q.createElement(qA,{begin:c,duration:l,isActive:a,easing:u,from:{t:0},to:{t:1},key:"line-".concat(s),onAnimationEnd:this.handleAnimationEnd,onAnimationStart:this.handleAnimationStart},(function(n){var a=n.t;if(y){var c=y.length/i.length,l=i.map((function(e,t){var r=Math.floor(t*c);if(y[r]){var n=y[r],i=oa(n.x,e.x),o=oa(n.y,e.y);return $E($E({},e),{},{x:i(a),y:o(a)})}if(f){var l=oa(2*p,e.x),u=oa(h/2,e.y);return $E($E({},e),{},{x:l(a),y:u(a)})}return $E($E({},e),{},{x:e.x,y:e.y})}));return r.renderCurveStatically(l,e,t)}var u,s=oa(0,v)(a);if(o){var d="".concat(o).split(/[,\s]+/gim).map((function(e){return parseFloat(e)}));u=r.getStrokeDasharray(s,v,d)}else u=r.generateSimpleStrokeDasharray(v,s);return r.renderCurveStatically(i,e,t,{strokeDasharray:u})}))}},{key:"renderCurve",value:function(e,t){var r=this.props,n=r.points,i=r.isAnimationActive,o=this.state,a=o.prevPoints,c=o.totalLength;return i&&n&&n.length&&(!a&&c>0||!ex(a,n))?this.renderCurveWithAnimation(e,t):this.renderCurveStatically(n,e,t)}},{key:"render",value:function(){var e,t=this.props,r=t.hide,n=t.dot,i=t.points,o=t.className,a=t.xAxis,c=t.yAxis,l=t.top,u=t.left,s=t.width,f=t.height,p=t.isAnimationActive,h=t.id;if(r||!i||!i.length)return null;var d=this.state.isAnimationFinished,y=1===i.length,v=cn("recharts-line",o),g=a&&a.allowDataOverflow,m=c&&c.allowDataOverflow,b=g||m,w=Io(h)?this.id:h,x=null!==(e=Ea(n,!1))&&void 0!==e?e:{r:3,strokeWidth:2},O=x.r,S=void 0===O?3:O,j=x.strokeWidth,A=void 0===j?2:j,P=(ka(n)?n:{}).clipDot,M=void 0===P||P,k=2*S+A;return Q.createElement($a,{className:v},g||m?Q.createElement("defs",null,Q.createElement("clipPath",{id:"clipPath-".concat(w)},Q.createElement("rect",{x:g?u:u-s/2,y:m?l:l-f/2,width:g?s:2*s,height:m?f:2*f})),!M&&Q.createElement("clipPath",{id:"clipPath-dots-".concat(w)},Q.createElement("rect",{x:u-k/2,y:l-k/2,width:s+k,height:f+k}))):null,!y&&this.renderCurve(b,w),this.renderErrorBar(b,w),(y||n)&&this.renderDots(b,M,w),(!p||d)&&ES.renderCallByParent(this.props,i))}}],i=[{key:"getDerivedStateFromProps",value:function(e,t){return e.animationId!==t.prevAnimationId?{prevAnimationId:e.animationId,curPoints:e.points,prevPoints:t.curPoints}:e.points!==t.curPoints?{curPoints:e.points}:null}},{key:"repeat",value:function(e,t){for(var r=e.length%2!=0?[].concat(HE(e),[0]):e,n=[],i=0;i<t;++i)n=[].concat(HE(n),HE(r));return n}},{key:"renderDotItem",value:function(e,t){var r;if(Q.isValidElement(e))r=Q.cloneElement(e,t);else if($n(e))r=e(t);else{var n=cn("recharts-line-dot","boolean"!=typeof e?e.className:"");r=Q.createElement(oP,RE({},t,{className:n}))}return r}}],n&&FE(r.prototype,n),i&&FE(r,i),Object.defineProperty(r,"prototype",{writable:!1}),t}();KE(ZE,"displayName","Line"),KE(ZE,"defaultProps",{xAxisId:0,yAxisId:0,connectNulls:!1,activeDot:!0,dot:!0,legendType:"line",stroke:"#3182bd",strokeWidth:1,fill:"#fff",points:[],isAnimationActive:!jd.isSsr,animateNewValues:!0,animationBegin:0,animationDuration:1500,animationEasing:"ease",hide:!1,label:!1}),KE(ZE,"getComposedData",(function(e){var t=e.props,r=e.xAxis,n=e.yAxis,i=e.xAxisTicks,o=e.yAxisTicks,a=e.dataKey,c=e.bandSize,l=e.displayedData,u=e.offset,s=t.layout;return $E({points:l.map((function(e,t){var l=SO(e,a);return"horizontal"===s?{x:NO({axis:r,ticks:i,bandSize:c,entry:e,index:t}),y:Io(l)?null:n.scale(l),value:l,payload:e}:{x:Io(l)?null:r.scale(l),y:NO({axis:n,ticks:o,bandSize:c,entry:e,index:t}),value:l,payload:e}})),layout:s},u)}));var JE,QE=["layout","type","stroke","connectNulls","isRange","ref"];function eC(e){return eC="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},eC(e)}function tC(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function rC(){return rC=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},rC.apply(this,arguments)}function nC(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function iC(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?nC(Object(r),!0).forEach((function(t){fC(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):nC(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function oC(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,pC(n.key),n)}}function aC(e,t,r){return t=lC(t),function(e,t){if(t&&("object"===eC(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return uC(e)}(e,cC()?Reflect.construct(t,r||[],lC(e).constructor):t.apply(e,r))}function cC(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(cC=function(){return!!e})()}function lC(e){return lC=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},lC(e)}function uC(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sC(e,t){return sC=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},sC(e,t)}function fC(e,t,r){return(t=pC(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function pC(e){var t=function(e,t){if("object"!=eC(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=eC(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==eC(t)?t:String(t)}var hC=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return fC(uC(e=aC(this,t,[].concat(n))),"state",{isAnimationFinished:!0}),fC(uC(e),"id",ra("recharts-area-")),fC(uC(e),"handleAnimationEnd",(function(){var t=e.props.onAnimationEnd;e.setState({isAnimationFinished:!0}),$n(t)&&t()})),fC(uC(e),"handleAnimationStart",(function(){var t=e.props.onAnimationStart;e.setState({isAnimationFinished:!1}),$n(t)&&t()})),e}var r,n,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&sC(e,t)}(t,re),r=t,n=[{key:"renderDots",value:function(e,r,n){var i=this.props.isAnimationActive,o=this.state.isAnimationFinished;if(i&&!o)return null;var a=this.props,c=a.dot,l=a.points,u=a.dataKey,s=Ea(this.props,!1),f=Ea(c,!0),p=l.map((function(e,r){var n=iC(iC(iC({key:"dot-".concat(r),r:3},s),f),{},{index:r,cx:e.x,cy:e.y,dataKey:u,value:e.value,payload:e.payload,points:l});return t.renderDotItem(c,n)})),h={clipPath:e?"url(#clipPath-".concat(r?"":"dots-").concat(n,")"):null};return Q.createElement($a,rC({className:"recharts-area-dots"},h),p)}},{key:"renderHorizontalRect",value:function(e){var t=this.props,r=t.baseLine,n=t.points,i=t.strokeWidth,o=n[0].x,a=n[n.length-1].x,c=e*Math.abs(o-a),l=zw(n.map((function(e){return e.y||0})));return Qo(r)&&"number"==typeof r?l=Math.max(r,l):r&&Array.isArray(r)&&r.length&&(l=Math.max(zw(r.map((function(e){return e.y||0}))),l)),Qo(l)?Q.createElement("rect",{x:o<a?o:o-c,y:0,width:c,height:Math.floor(l+(i?parseInt("".concat(i),10):1))}):null}},{key:"renderVerticalRect",value:function(e){var t=this.props,r=t.baseLine,n=t.points,i=t.strokeWidth,o=n[0].y,a=n[n.length-1].y,c=e*Math.abs(o-a),l=zw(n.map((function(e){return e.x||0})));return Qo(r)&&"number"==typeof r?l=Math.max(r,l):r&&Array.isArray(r)&&r.length&&(l=Math.max(zw(r.map((function(e){return e.x||0}))),l)),Qo(l)?Q.createElement("rect",{x:0,y:o<a?o:o-c,width:l+(i?parseInt("".concat(i),10):1),height:Math.floor(c)}):null}},{key:"renderClipRect",value:function(e){return"vertical"===this.props.layout?this.renderVerticalRect(e):this.renderHorizontalRect(e)}},{key:"renderAreaStatically",value:function(e,t,r,n){var i=this.props,o=i.layout,a=i.type,c=i.stroke,l=i.connectNulls,u=i.isRange;i.ref;var s=tC(i,QE);return Q.createElement($a,{clipPath:r?"url(#clipPath-".concat(n,")"):null},Q.createElement(cj,rC({},Ea(s,!0),{points:e,connectNulls:l,type:a,baseLine:t,layout:o,stroke:"none",className:"recharts-area-area"})),"none"!==c&&Q.createElement(cj,rC({},Ea(this.props,!1),{className:"recharts-area-curve",layout:o,type:a,connectNulls:l,fill:"none",points:e})),"none"!==c&&u&&Q.createElement(cj,rC({},Ea(this.props,!1),{className:"recharts-area-curve",layout:o,type:a,connectNulls:l,fill:"none",points:t})))}},{key:"renderAreaWithAnimation",value:function(e,t){var r=this,n=this.props,i=n.points,o=n.baseLine,a=n.isAnimationActive,c=n.animationBegin,l=n.animationDuration,u=n.animationEasing,s=n.animationId,f=this.state,p=f.prevPoints,h=f.prevBaseLine;return Q.createElement(qA,{begin:c,duration:l,isActive:a,easing:u,from:{t:0},to:{t:1},key:"area-".concat(s),onAnimationEnd:this.handleAnimationEnd,onAnimationStart:this.handleAnimationStart},(function(n){var a=n.t;if(p){var c,l=p.length/i.length,u=i.map((function(e,t){var r=Math.floor(t*l);if(p[r]){var n=p[r],i=oa(n.x,e.x),o=oa(n.y,e.y);return iC(iC({},e),{},{x:i(a),y:o(a)})}return e}));return c=Qo(o)&&"number"==typeof o?oa(h,o)(a):Io(o)||Go(o)?oa(h,0)(a):o.map((function(e,t){var r=Math.floor(t*l);if(h[r]){var n=h[r],i=oa(n.x,e.x),o=oa(n.y,e.y);return iC(iC({},e),{},{x:i(a),y:o(a)})}return e})),r.renderAreaStatically(u,c,e,t)}return Q.createElement($a,null,Q.createElement("defs",null,Q.createElement("clipPath",{id:"animationClipPath-".concat(t)},r.renderClipRect(a))),Q.createElement($a,{clipPath:"url(#animationClipPath-".concat(t,")")},r.renderAreaStatically(i,o,e,t)))}))}},{key:"renderArea",value:function(e,t){var r=this.props,n=r.points,i=r.baseLine,o=r.isAnimationActive,a=this.state,c=a.prevPoints,l=a.prevBaseLine,u=a.totalLength;return o&&n&&n.length&&(!c&&u>0||!ex(c,n)||!ex(l,i))?this.renderAreaWithAnimation(e,t):this.renderAreaStatically(n,i,e,t)}},{key:"render",value:function(){var e,t=this.props,r=t.hide,n=t.dot,i=t.points,o=t.className,a=t.top,c=t.left,l=t.xAxis,u=t.yAxis,s=t.width,f=t.height,p=t.isAnimationActive,h=t.id;if(r||!i||!i.length)return null;var d=this.state.isAnimationFinished,y=1===i.length,v=cn("recharts-area",o),g=l&&l.allowDataOverflow,m=u&&u.allowDataOverflow,b=g||m,w=Io(h)?this.id:h,x=null!==(e=Ea(n,!1))&&void 0!==e?e:{r:3,strokeWidth:2},O=x.r,S=void 0===O?3:O,j=x.strokeWidth,A=void 0===j?2:j,P=(ka(n)?n:{}).clipDot,M=void 0===P||P,k=2*S+A;return Q.createElement($a,{className:v},g||m?Q.createElement("defs",null,Q.createElement("clipPath",{id:"clipPath-".concat(w)},Q.createElement("rect",{x:g?c:c-s/2,y:m?a:a-f/2,width:g?s:2*s,height:m?f:2*f})),!M&&Q.createElement("clipPath",{id:"clipPath-dots-".concat(w)},Q.createElement("rect",{x:c-k/2,y:a-k/2,width:s+k,height:f+k}))):null,y?null:this.renderArea(b,w),(n||y)&&this.renderDots(b,M,w),(!p||d)&&ES.renderCallByParent(this.props,i))}}],i=[{key:"getDerivedStateFromProps",value:function(e,t){return e.animationId!==t.prevAnimationId?{prevAnimationId:e.animationId,curPoints:e.points,curBaseLine:e.baseLine,prevPoints:t.curPoints,prevBaseLine:t.curBaseLine}:e.points!==t.curPoints||e.baseLine!==t.curBaseLine?{curPoints:e.points,curBaseLine:e.baseLine}:null}}],n&&oC(r.prototype,n),i&&oC(r,i),Object.defineProperty(r,"prototype",{writable:!1}),t}();function dC(){return dC=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},dC.apply(this,arguments)}JE=hC,fC(hC,"displayName","Area"),fC(hC,"defaultProps",{stroke:"#3182bd",fill:"#3182bd",fillOpacity:.6,xAxisId:0,yAxisId:0,legendType:"line",connectNulls:!1,points:[],dot:!1,activeDot:!0,hide:!1,isAnimationActive:!jd.isSsr,animationBegin:0,animationDuration:1500,animationEasing:"ease"}),fC(hC,"getBaseValue",(function(e,t,r,n){var i=e.layout,o=e.baseValue,a=t.props.baseValue,c=null!=a?a:o;if(Qo(c)&&"number"==typeof c)return c;var l="horizontal"===i?n:r,u=l.scale.domain();if("number"===l.type){var s=Math.max(u[0],u[1]),f=Math.min(u[0],u[1]);return"dataMin"===c?f:"dataMax"===c||s<0?s:Math.max(Math.min(u[0],u[1]),0)}return"dataMin"===c?u[0]:"dataMax"===c?u[1]:u[0]})),fC(hC,"getComposedData",(function(e){var t,r=e.props,n=e.item,i=e.xAxis,o=e.yAxis,a=e.xAxisTicks,c=e.yAxisTicks,l=e.bandSize,u=e.dataKey,s=e.stackedData,f=e.dataStartIndex,p=e.displayedData,h=e.offset,d=r.layout,y=s&&s.length,v=JE.getBaseValue(r,n,i,o),g="horizontal"===d,m=!1,b=p.map((function(e,t){var r;y?r=s[f+t]:(r=SO(e,u),Array.isArray(r)?m=!0:r=[v,r]);var n=null==r[1]||y&&null==SO(e,u);return g?{x:NO({axis:i,ticks:a,bandSize:l,entry:e,index:t}),y:n?null:o.scale(r[1]),value:r,payload:e}:{x:n?null:i.scale(r[1]),y:NO({axis:o,ticks:c,bandSize:l,entry:e,index:t}),value:r,payload:e}}));return t=y||m?b.map((function(e){var t=Array.isArray(e.value)?e.value[0]:null;return g?{x:e.x,y:null!=t&&null!=e.y?o.scale(t):null}:{x:null!=t?i.scale(t):null,y:e.y}})):g?o.scale(v):i.scale(v),iC({points:b,baseLine:t,layout:d,isRange:m},h)})),fC(hC,"renderDotItem",(function(e,t){var r;if(Q.isValidElement(e))r=Q.cloneElement(e,t);else if($n(e))r=e(t);else{var n=cn("recharts-area-dot","boolean"!=typeof e?e.className:"");r=Q.createElement(oP,rC({},t,{className:n}))}return r}));var yC=function(e){var t=e.xAxisId,r=Uk(),n=Wk(),i=Vk(t);return null==i?null:Q.createElement(IE,dC({},i,{className:cn("recharts-".concat(i.axisType," ").concat(i.axisType),i.className),viewBox:{x:0,y:0,width:r,height:n},ticksGenerator:function(e){return EO(e,!0)}}))};function vC(){return vC=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},vC.apply(this,arguments)}yC.displayName="XAxis",yC.defaultProps={allowDecimals:!0,hide:!1,orientation:"bottom",width:0,height:30,mirror:!1,xAxisId:0,tickCount:5,type:"category",padding:{left:0,right:0},allowDataOverflow:!1,scale:"auto",reversed:!1,allowDuplicatedCategory:!0};var gC=function(e){var t=e.yAxisId,r=Uk(),n=Wk(),i=Fk(t);return null==i?null:Q.createElement(IE,vC({},i,{className:cn("recharts-".concat(i.axisType," ").concat(i.axisType),i.className),viewBox:{x:0,y:0,width:r,height:n},ticksGenerator:function(e){return EO(e,!0)}}))};function mC(e){return function(e){if(Array.isArray(e))return bC(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return bC(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return bC(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function bC(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}gC.displayName="YAxis",gC.defaultProps={allowDuplicatedCategory:!0,allowDecimals:!0,hide:!1,orientation:"left",width:60,height:0,mirror:!1,yAxisId:0,tickCount:5,type:"number",padding:{top:0,bottom:0},allowDataOverflow:!1,scale:"auto",reversed:!1};var wC=function(e,t,r,n,i){var o=ja(e,Qk),a=ja(e,oE),c=[].concat(mC(o),mC(a)),l=ja(e,fE),u="".concat(n,"Id"),s=n[0],f=t;if(c.length&&(f=c.reduce((function(e,t){if(t.props[u]===r&&DM(t.props,"extendDomain")&&Qo(t.props[s])){var n=t.props[s];return[Math.min(e[0],n),Math.max(e[1],n)]}return e}),f)),l.length){var p="".concat(s,"1"),h="".concat(s,"2");f=l.reduce((function(e,t){if(t.props[u]===r&&DM(t.props,"extendDomain")&&Qo(t.props[p])&&Qo(t.props[h])){var n=t.props[p],i=t.props[h];return[Math.min(e[0],n,i),Math.max(e[1],n,i)]}return e}),f)}return i&&i.length&&(f=i.reduce((function(e,t){return Qo(t)?[Math.min(e[0],t),Math.max(e[1],t)]:e}),f)),f},xC={exports:{}};!function(e){var t=Object.prototype.hasOwnProperty,r="~";function n(){}function i(e,t,r){this.fn=e,this.context=t,this.once=r||!1}function o(e,t,n,o,a){if("function"!=typeof n)throw new TypeError("The listener must be a function");var c=new i(n,o||e,a),l=r?r+t:t;return e._events[l]?e._events[l].fn?e._events[l]=[e._events[l],c]:e._events[l].push(c):(e._events[l]=c,e._eventsCount++),e}function a(e,t){0==--e._eventsCount?e._events=new n:delete e._events[t]}function c(){this._events=new n,this._eventsCount=0}Object.create&&(n.prototype=Object.create(null),(new n).__proto__||(r=!1)),c.prototype.eventNames=function(){var e,n,i=[];if(0===this._eventsCount)return i;for(n in e=this._events)t.call(e,n)&&i.push(r?n.slice(1):n);return Object.getOwnPropertySymbols?i.concat(Object.getOwnPropertySymbols(e)):i},c.prototype.listeners=function(e){var t=r?r+e:e,n=this._events[t];if(!n)return[];if(n.fn)return[n.fn];for(var i=0,o=n.length,a=new Array(o);i<o;i++)a[i]=n[i].fn;return a},c.prototype.listenerCount=function(e){var t=r?r+e:e,n=this._events[t];return n?n.fn?1:n.length:0},c.prototype.emit=function(e,t,n,i,o,a){var c=r?r+e:e;if(!this._events[c])return!1;var l,u,s=this._events[c],f=arguments.length;if(s.fn){switch(s.once&&this.removeListener(e,s.fn,void 0,!0),f){case 1:return s.fn.call(s.context),!0;case 2:return s.fn.call(s.context,t),!0;case 3:return s.fn.call(s.context,t,n),!0;case 4:return s.fn.call(s.context,t,n,i),!0;case 5:return s.fn.call(s.context,t,n,i,o),!0;case 6:return s.fn.call(s.context,t,n,i,o,a),!0}for(u=1,l=new Array(f-1);u<f;u++)l[u-1]=arguments[u];s.fn.apply(s.context,l)}else{var p,h=s.length;for(u=0;u<h;u++)switch(s[u].once&&this.removeListener(e,s[u].fn,void 0,!0),f){case 1:s[u].fn.call(s[u].context);break;case 2:s[u].fn.call(s[u].context,t);break;case 3:s[u].fn.call(s[u].context,t,n);break;case 4:s[u].fn.call(s[u].context,t,n,i);break;default:if(!l)for(p=1,l=new Array(f-1);p<f;p++)l[p-1]=arguments[p];s[u].fn.apply(s[u].context,l)}}return!0},c.prototype.on=function(e,t,r){return o(this,e,t,r,!1)},c.prototype.once=function(e,t,r){return o(this,e,t,r,!0)},c.prototype.removeListener=function(e,t,n,i){var o=r?r+e:e;if(!this._events[o])return this;if(!t)return a(this,o),this;var c=this._events[o];if(c.fn)c.fn!==t||i&&!c.once||n&&c.context!==n||a(this,o);else{for(var l=0,u=[],s=c.length;l<s;l++)(c[l].fn!==t||i&&!c[l].once||n&&c[l].context!==n)&&u.push(c[l]);u.length?this._events[o]=1===u.length?u[0]:u:a(this,o)}return this},c.prototype.removeAllListeners=function(e){var t;return e?(t=r?r+e:e,this._events[t]&&a(this,t)):(this._events=new n,this._eventsCount=0),this},c.prototype.off=c.prototype.removeListener,c.prototype.addListener=c.prototype.on,c.prefixed=r,c.EventEmitter=c,e.exports=c}(xC);var OC=new(Gt(xC.exports)),SC="recharts.syncMouseEvents";function jC(e){return jC="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},jC(e)}function AC(e,t,r){return t&&function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,MC(n.key),n)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function PC(e,t,r){return(t=MC(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function MC(e){var t=function(e,t){if("object"!=jC(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=jC(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==jC(t)?t:String(t)}var kC=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),PC(this,"activeIndex",0),PC(this,"coordinateList",[]),PC(this,"layout","horizontal")}return AC(e,[{key:"setDetails",value:function(e){var t,r=e.coordinateList,n=void 0===r?null:r,i=e.container,o=void 0===i?null:i,a=e.layout,c=void 0===a?null:a,l=e.offset,u=void 0===l?null:l,s=e.mouseHandlerCallback,f=void 0===s?null:s;this.coordinateList=null!==(t=null!=n?n:this.coordinateList)&&void 0!==t?t:[],this.container=null!=o?o:this.container,this.layout=null!=c?c:this.layout,this.offset=null!=u?u:this.offset,this.mouseHandlerCallback=null!=f?f:this.mouseHandlerCallback,this.activeIndex=Math.min(Math.max(this.activeIndex,0),this.coordinateList.length-1)}},{key:"focus",value:function(){this.spoofMouse()}},{key:"keyboardEvent",value:function(e){if(0!==this.coordinateList.length)switch(e.key){case"ArrowRight":if("horizontal"!==this.layout)return;this.activeIndex=Math.min(this.activeIndex+1,this.coordinateList.length-1),this.spoofMouse();break;case"ArrowLeft":if("horizontal"!==this.layout)return;this.activeIndex=Math.max(this.activeIndex-1,0),this.spoofMouse()}}},{key:"setIndex",value:function(e){this.activeIndex=e}},{key:"spoofMouse",value:function(){var e,t;if("horizontal"===this.layout&&0!==this.coordinateList.length){var r=this.container.getBoundingClientRect(),n=r.x,i=r.y,o=r.height,a=this.coordinateList[this.activeIndex].coordinate,c=(null===(e=window)||void 0===e?void 0:e.scrollX)||0,l=(null===(t=window)||void 0===t?void 0:t.scrollY)||0,u=n+a+c,s=i+this.offset.top+o/2+l;this.mouseHandlerCallback({pageX:u,pageY:s})}}}]),e}();function EC(e){var t=e.cx,r=e.cy,n=e.radius,i=e.startAngle,o=e.endAngle;return{points:[GO(t,r,n,i),GO(t,r,n,o)],cx:t,cy:r,radius:n,startAngle:i,endAngle:o}}function CC(e,t,r){var n,i,o,a;if("horizontal"===e)o=n=t.x,i=r.top,a=r.top+r.height;else if("vertical"===e)a=i=t.y,n=r.left,o=r.left+r.width;else if(null!=t.cx&&null!=t.cy){if("centric"!==e)return EC(t);var c=t.cx,l=t.cy,u=t.innerRadius,s=t.outerRadius,f=t.angle,p=GO(c,l,u,f),h=GO(c,l,s,f);n=p.x,i=p.y,o=h.x,a=h.y}return[{x:n,y:i},{x:o,y:a}]}function _C(e){return _C="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_C(e)}function TC(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function DC(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?TC(Object(r),!0).forEach((function(t){IC(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):TC(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function IC(e,t,r){return t=function(e){var t=function(e,t){if("object"!=_C(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=_C(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==_C(t)?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function NC(e){var t,r=e.element,n=e.tooltipEventType,i=e.isActive,o=e.activeCoordinate,a=e.activePayload,c=e.offset,l=e.activeTooltipIndex,u=e.tooltipAxisBandSize,s=e.layout,f=e.chartName;if(!r||!r.props.cursor||!i||!o||"ScatterChart"!==f&&"axis"!==n)return null;var p=cj;if("ScatterChart"===f)t=o,p=hP;else if("BarChart"===f)t=function(e,t,r,n){var i=n/2;return{stroke:"none",fill:"#ccc",x:"horizontal"===e?t.x-i:r.left+.5,y:"horizontal"===e?r.top+.5:t.y-i,width:"horizontal"===e?n:r.width-1,height:"horizontal"===e?r.height-1:n}}(s,o,c,u),p=nP;else if("radial"===s){var h=EC(o),d=h.cx,y=h.cy,v=h.radius;t={cx:d,cy:y,startAngle:h.startAngle,endAngle:h.endAngle,innerRadius:v,outerRadius:v},p=RS}else t={points:CC(s,o,c)},p=cj;var g=DC(DC(DC(DC({stroke:"#ccc",pointerEvents:"none"},c),t),Ea(r.props.cursor,!1)),{},{payload:a,payloadIndex:l,className:cn("recharts-tooltip-cursor",r.props.cursor.className)});return ee(r.props.cursor)?se(r.props.cursor,g):fe(p,g)}var LC=["item"],BC=["children","className","width","height","style","compact","title","desc"];function RC(e){return RC="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},RC(e)}function zC(){return zC=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},zC.apply(this,arguments)}function $C(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,o,a,c=[],l=!0,u=!1;try{if(o=(r=r.call(e)).next,0===t);else for(;!(l=(n=o.call(r)).done)&&(c.push(n.value),c.length!==t);l=!0);}catch(e){u=!0,i=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw i}}return c}}(e,t)||KC(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function HC(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function VC(e,t,r){return t&&function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,e_(n.key),n)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function FC(e,t,r){return t=WC(t),function(e,t){if(t&&("object"===RC(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return qC(e)}(e,UC()?Reflect.construct(t,r||[],WC(e).constructor):t.apply(e,r))}function UC(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(UC=function(){return!!e})()}function WC(e){return WC=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},WC(e)}function qC(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function YC(e,t){return YC=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},YC(e,t)}function XC(e){return function(e){if(Array.isArray(e))return GC(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||KC(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function KC(e,t){if(e){if("string"==typeof e)return GC(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?GC(e,t):void 0}}function GC(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function ZC(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function JC(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ZC(Object(r),!0).forEach((function(t){QC(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ZC(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function QC(e,t,r){return(t=e_(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function e_(e){var t=function(e,t){if("object"!=RC(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=RC(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==RC(t)?t:String(t)}var t_={xAxis:["bottom","top"],yAxis:["left","right"]},r_={width:"100%",height:"100%"},n_={x:0,y:0};function i_(e){return e}var o_=function(e,t){var r=t.graphicalItems,n=t.dataStartIndex,i=t.dataEndIndex,o=(null!=r?r:[]).reduce((function(e,t){var r=t.props.data;return r&&r.length?[].concat(XC(e),XC(r)):e}),[]);return o.length>0?o:e&&e.length&&Qo(n)&&Qo(i)?e.slice(n,i+1):[]};function a_(e){return"number"===e?[0,"auto"]:void 0}var c_=function(e,t,r,n){var i=e.graphicalItems,o=e.tooltipAxis,a=o_(t,e);return r<0||!i||!i.length||r>=a.length?null:i.reduce((function(i,c){var l,u,s=null!==(l=c.props.data)&&void 0!==l?l:t;(s&&e.dataStartIndex+e.dataEndIndex!==0&&(s=s.slice(e.dataStartIndex,e.dataEndIndex+1)),o.dataKey&&!o.allowDuplicatedCategory)?u=aa(void 0===s?a:s,o.dataKey,n):u=s&&s[r]||a[r];return u?[].concat(XC(i),[FO(c,u)]):i}),[])},l_=function(e,t,r,n){var i=n||{x:e.chartX,y:e.chartY},o=function(e,t){return"horizontal"===t?e.x:"vertical"===t?e.y:"centric"===t?e.angle:e.radius}(i,r),a=e.orderedTooltipTicks,c=e.tooltipAxis,l=e.tooltipTicks,u=function(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0,o=-1,a=null!==(t=null==r?void 0:r.length)&&void 0!==t?t:0;if(a<=1)return 0;if(i&&"angleAxis"===i.axisType&&Math.abs(Math.abs(i.range[1]-i.range[0])-360)<=1e-6)for(var c=i.range,l=0;l<a;l++){var u=l>0?n[l-1].coordinate:n[a-1].coordinate,s=n[l].coordinate,f=l>=a-1?n[0].coordinate:n[l+1].coordinate,p=void 0;if(Zo(s-u)!==Zo(f-s)){var h=[];if(Zo(f-s)===Zo(c[1]-c[0])){p=f;var d=s+c[1]-c[0];h[0]=Math.min(d,(d+u)/2),h[1]=Math.max(d,(d+u)/2)}else{p=u;var y=f+c[1]-c[0];h[0]=Math.min(s,(y+s)/2),h[1]=Math.max(s,(y+s)/2)}var v=[Math.min(s,(p+s)/2),Math.max(s,(p+s)/2)];if(e>v[0]&&e<=v[1]||e>=h[0]&&e<=h[1]){o=n[l].index;break}}else{var g=Math.min(u,f),m=Math.max(u,f);if(e>(g+s)/2&&e<=(m+s)/2){o=n[l].index;break}}}else for(var b=0;b<a;b++)if(0===b&&e<=(r[b].coordinate+r[b+1].coordinate)/2||b>0&&b<a-1&&e>(r[b].coordinate+r[b-1].coordinate)/2&&e<=(r[b].coordinate+r[b+1].coordinate)/2||b===a-1&&e>(r[b].coordinate+r[b-1].coordinate)/2){o=r[b].index;break}return o}(o,a,l,c);if(u>=0&&l){var s=l[u]&&l[u].value,f=c_(e,t,u,s),p=function(e,t,r,n){var i=t.find((function(e){return e&&e.index===r}));if(i){if("horizontal"===e)return{x:i.coordinate,y:n.y};if("vertical"===e)return{x:n.x,y:i.coordinate};if("centric"===e){var o=i.coordinate,a=n.radius;return JC(JC(JC({},n),GO(n.cx,n.cy,a,o)),{},{angle:o,radius:a})}var c=i.coordinate,l=n.angle;return JC(JC(JC({},n),GO(n.cx,n.cy,c,l)),{},{angle:l,radius:c})}return n_}(r,a,u,i);return{activeTooltipIndex:u,activeLabel:s,activePayload:f,activeCoordinate:p}}return null},u_=function(e,t){var r=t.axes,n=t.graphicalItems,i=t.axisType,o=t.axisIdKey,a=t.stackGroups,c=t.dataStartIndex,l=t.dataEndIndex,u=e.layout,s=e.children,f=e.stackOffset,p=kO(u,i);return r.reduce((function(t,r){var h,d=r.props,y=d.type,v=d.dataKey,g=d.allowDataOverflow,m=d.allowDuplicatedCategory,b=d.scale,w=d.ticks,x=d.includeHidden,O=r.props[o];if(t[O])return t;var S,j,A,P=o_(e.data,{graphicalItems:n.filter((function(e){return e.props[o]===O})),dataStartIndex:c,dataEndIndex:l}),M=P.length;(function(e,t,r){if("number"===r&&!0===t&&Array.isArray(e)){var n=null==e?void 0:e[0],i=null==e?void 0:e[1];if(n&&i&&Qo(n)&&Qo(i))return!0}return!1})(r.props.domain,g,y)&&(S=$O(r.props.domain,null,g),!p||"number"!==y&&"auto"===b||(A=jO(P,v,"category")));var k=a_(y);if(!S||0===S.length){var E,C=null!==(E=r.props.domain)&&void 0!==E?E:k;if(v){if(S=jO(P,v,y),"category"===y&&p){var _=function(e){if(!Array.isArray(e))return!1;for(var t=e.length,r={},n=0;n<t;n++){if(r[e[n]])return!0;r[e[n]]=!0}return!1}(S);m&&_?(j=S,S=aM(0,M)):m||(S=VO(C,S,r).reduce((function(e,t){return e.indexOf(t)>=0?e:[].concat(XC(e),[t])}),[]))}else if("category"===y)S=m?S.filter((function(e){return""!==e&&!Io(e)})):VO(C,S,r).reduce((function(e,t){return e.indexOf(t)>=0||""===t||Io(t)?e:[].concat(XC(e),[t])}),[]);else if("number"===y){var T=function(e,t,r,n,i){var o=t.map((function(t){return PO(e,t,r,i,n)})).filter((function(e){return!Io(e)}));return o&&o.length?o.reduce((function(e,t){return[Math.min(e[0],t[0]),Math.max(e[1],t[1])]}),[1/0,-1/0]):null}(P,n.filter((function(e){return e.props[o]===O&&(x||!e.props.hide)})),v,i,u);T&&(S=T)}!p||"number"!==y&&"auto"===b||(A=jO(P,v,"category"))}else S=p?aM(0,M):a&&a[O]&&a[O].hasStack&&"number"===y?"expand"===f?[0,1]:BO(a[O].stackGroups,c,l):MO(P,n.filter((function(e){return e.props[o]===O&&(x||!e.props.hide)})),y,u,!0);if("number"===y)S=wC(s,S,O,i,w),C&&(S=$O(C,S,g));else if("category"===y&&C){var D=C;S.every((function(e){return D.indexOf(e)>=0}))&&(S=D)}}return JC(JC({},t),{},QC({},O,JC(JC({},r.props),{},{axisType:i,domain:S,categoricalDomain:A,duplicateDomain:j,originalDomain:null!==(h=r.props.domain)&&void 0!==h?h:k,isCategorical:p,layout:u})))}),{})},s_=function(e,t){var r=t.axisType,n=void 0===r?"xAxis":r,i=t.AxisComp,o=t.graphicalItems,a=t.stackGroups,c=t.dataStartIndex,l=t.dataEndIndex,u=e.children,s="".concat(n,"Id"),f=ja(u,i),p={};return f&&f.length?p=u_(e,{axes:f,graphicalItems:o,axisType:n,axisIdKey:s,stackGroups:a,dataStartIndex:c,dataEndIndex:l}):o&&o.length&&(p=function(e,t){var r=t.graphicalItems,n=t.Axis,i=t.axisType,o=t.axisIdKey,a=t.stackGroups,c=t.dataStartIndex,l=t.dataEndIndex,u=e.layout,s=e.children,f=o_(e.data,{graphicalItems:r,dataStartIndex:c,dataEndIndex:l}),p=f.length,h=kO(u,i),d=-1;return r.reduce((function(e,t){var y,v=t.props[o],g=a_("number");return e[v]?e:(d++,h?y=aM(0,p):a&&a[v]&&a[v].hasStack?(y=BO(a[v].stackGroups,c,l),y=wC(s,y,v,i)):(y=$O(g,MO(f,r.filter((function(e){return e.props[o]===v&&!e.props.hide})),"number",u),n.defaultProps.allowDataOverflow),y=wC(s,y,v,i)),JC(JC({},e),{},QC({},v,JC(JC({axisType:i},n.defaultProps),{},{hide:!0,orientation:Do(t_,"".concat(i,".").concat(d%2),null),domain:y,originalDomain:g,isCategorical:h,layout:u}))))}),{})}(e,{Axis:i,graphicalItems:o,axisType:n,axisIdKey:s,stackGroups:a,dataStartIndex:c,dataEndIndex:l})),p},f_=function(e){var t=e.children,r=e.defaultShowTooltip,n=Aa(t,AM),i=0,o=0;return e.data&&0!==e.data.length&&(o=e.data.length-1),n&&n.props&&(n.props.startIndex>=0&&(i=n.props.startIndex),n.props.endIndex>=0&&(o=n.props.endIndex)),{chartX:0,chartY:0,dataStartIndex:i,dataEndIndex:o,activeTooltipIndex:-1,isTooltipActive:Boolean(r)}},p_=function(e){return"horizontal"===e?{numericAxisName:"yAxis",cateAxisName:"xAxis"}:"vertical"===e?{numericAxisName:"xAxis",cateAxisName:"yAxis"}:"centric"===e?{numericAxisName:"radiusAxis",cateAxisName:"angleAxis"}:{numericAxisName:"angleAxis",cateAxisName:"radiusAxis"}},h_=function(e,t){var r=e.props,n=(e.graphicalItems,e.xAxisMap),i=void 0===n?{}:n,o=e.yAxisMap,a=void 0===o?{}:o,c=r.width,l=r.height,u=r.children,s=r.margin||{},f=Aa(u,AM),p=Aa(u,Zp),h=Object.keys(a).reduce((function(e,t){var r=a[t],n=r.orientation;return r.mirror||r.hide?e:JC(JC({},e),{},QC({},n,e[n]+r.width))}),{left:s.left||0,right:s.right||0}),d=Object.keys(i).reduce((function(e,t){var r=i[t],n=r.orientation;return r.mirror||r.hide?e:JC(JC({},e),{},QC({},n,Do(e,"".concat(n))+r.height))}),{top:s.top||0,bottom:s.bottom||0}),y=JC(JC({},d),h),v=y.bottom;f&&(y.bottom+=f.props.height||AM.defaultProps.height),p&&t&&(y=function(e,t,r,n){var i=r.children,o=r.width,a=r.margin,c=o-(a.left||0)-(a.right||0),l=vO({children:i,legendWidth:c});if(l){var u=n||{},s=u.width,f=u.height,p=l.align,h=l.verticalAlign,d=l.layout;if(("vertical"===d||"horizontal"===d&&"middle"===h)&&"center"!==p&&Qo(e[p]))return bO(bO({},e),{},wO({},p,e[p]+(s||0)));if(("horizontal"===d||"vertical"===d&&"center"===p)&&"middle"!==h&&Qo(e[h]))return bO(bO({},e),{},wO({},h,e[h]+(f||0)))}return e}(y,0,r,t));var g=c-y.left-y.right,m=l-y.top-y.bottom;return JC(JC({brushBottom:v},y),{},{width:Math.max(g,0),height:Math.max(m,0)})},d_=function(e,t){return"xAxis"===t?e[t].width:"yAxis"===t?e[t].height:void 0},y_=function(e){var t,r=e.chartName,n=e.GraphicalChild,i=e.defaultTooltipEventType,o=void 0===i?"axis":i,a=e.validateTooltipEventTypes,c=void 0===a?["axis"]:a,l=e.axisComponents,u=e.legendContent,s=e.formatAxisMap,f=e.defaultProps,p=function(e,t){var r=t.graphicalItems,n=t.stackGroups,i=t.offset,o=t.updateId,a=t.dataStartIndex,c=t.dataEndIndex,u=e.barSize,s=e.layout,f=e.barGap,p=e.barCategoryGap,h=e.maxBarSize,d=p_(s),y=d.numericAxisName,v=d.cateAxisName,g=function(e){return!(!e||!e.length)&&e.some((function(e){var t=wa(e&&e.type);return t&&t.indexOf("Bar")>=0}))}(r),m=[];return r.forEach((function(r,d){var b=o_(e.data,{graphicalItems:[r],dataStartIndex:a,dataEndIndex:c}),w=r.props,x=w.dataKey,O=w.maxBarSize,S=r.props["".concat(y,"Id")],j=r.props["".concat(v,"Id")],A=l.reduce((function(e,n){var i,o,a=t["".concat(n.axisType,"Map")],c=r.props["".concat(n.axisType,"Id")];a&&a[c]||"zAxis"===n.axisType||("production"!==process.env.NODE_ENV?oO(0,"Specifying a(n) ".concat(n.axisType,"Id requires a corresponding ").concat(n.axisType,"Id on the targeted graphical component ").concat(null!==(i=null==r||null===(o=r.type)||void 0===o?void 0:o.displayName)&&void 0!==i?i:"")):oO());var l=a[c];return JC(JC({},e),{},QC(QC({},n.axisType,l),"".concat(n.axisType,"Ticks"),EO(l)))}),{}),P=A[v],M=A["".concat(v,"Ticks")],k=n&&n[S]&&n[S].hasStack&&function(e,t){var r=e.props.stackId;if(ea(r)){var n=t[r];if(n){var i=n.items.indexOf(e);return i>=0?n.stackedData[i]:null}}return null}(r,n[S].stackGroups),E=wa(r.type).indexOf("Bar")>=0,C=HO(P,M),_=[],T=g&&function(e){var t=e.barSize,r=e.totalSize,n=e.stackGroups,i=void 0===n?{}:n;if(!i)return{};for(var o={},a=Object.keys(i),c=0,l=a.length;c<l;c++)for(var u=i[a[c]].stackGroups,s=Object.keys(u),f=0,p=s.length;f<p;f++){var h=u[s[f]],d=h.items,y=h.cateAxisId,v=d.filter((function(e){return wa(e.type).indexOf("Bar")>=0}));if(v&&v.length){var g=v[0].props.barSize,m=v[0].props[y];o[m]||(o[m]=[]);var b=Io(g)?t:g;o[m].push({item:v[0],stackList:v.slice(1),barSize:Io(b)?void 0:na(b,r,0)})}}return o}({barSize:u,stackGroups:n,totalSize:d_(A,v)});if(E){var D,I,N=Io(O)?h:O,L=null!==(D=null!==(I=HO(P,M,!0))&&void 0!==I?I:N)&&void 0!==D?D:0;_=function(e){var t=e.barGap,r=e.barCategoryGap,n=e.bandSize,i=e.sizeList,o=void 0===i?[]:i,a=e.maxBarSize,c=o.length;if(c<1)return null;var l,u=na(t,n,0,!0),s=[];if(o[0].barSize===+o[0].barSize){var f=!1,p=n/c,h=o.reduce((function(e,t){return e+t.barSize||0}),0);(h+=(c-1)*u)>=n&&(h-=(c-1)*u,u=0),h>=n&&p>0&&(f=!0,h=c*(p*=.9));var d={offset:((n-h)/2|0)-u,size:0};l=o.reduce((function(e,t){var r={item:t.item,position:{offset:d.offset+d.size+u,size:f?p:t.barSize}},n=[].concat(xO(e),[r]);return d=n[n.length-1].position,t.stackList&&t.stackList.length&&t.stackList.forEach((function(e){n.push({item:e,position:d})})),n}),s)}else{var y=na(r,n,0,!0);n-2*y-(c-1)*u<=0&&(u=0);var v=(n-2*y-(c-1)*u)/c;v>1&&(v>>=0);var g=a===+a?Math.min(v,a):v;l=o.reduce((function(e,t,r){var n=[].concat(xO(e),[{item:t.item,position:{offset:y+(v+u)*r+(v-g)/2,size:g}}]);return t.stackList&&t.stackList.length&&t.stackList.forEach((function(e){n.push({item:e,position:n[n.length-1].position})})),n}),s)}return l}({barGap:f,barCategoryGap:p,bandSize:L!==C?L:C,sizeList:T[j],maxBarSize:N}),L!==C&&(_=_.map((function(e){return JC(JC({},e),{},{position:JC(JC({},e.position),{},{offset:e.position.offset-L/2})})})))}var B,R,z=r&&r.type&&r.type.getComposedData;z&&m.push({props:JC(JC({},z(JC(JC({},A),{},{displayedData:b,props:e,dataKey:x,item:r,bandSize:C,barPosition:_,offset:i,stackedData:k,layout:s,dataStartIndex:a,dataEndIndex:c}))),{},QC(QC(QC({key:r.key||"item-".concat(d)},y,A[y]),v,A[v]),"animationId",o)),childIndex:(B=r,R=e.children,Sa(R).indexOf(B)),item:r})})),m},h=function(e,t){var i=e.props,o=e.dataStartIndex,a=e.dataEndIndex,c=e.updateId;if(!Pa({props:i}))return null;var u=i.children,f=i.layout,h=i.stackOffset,d=i.data,y=i.reverseStackOrder,v=p_(f),g=v.numericAxisName,m=v.cateAxisName,b=ja(u,n),w=function(e,t,r,n,i,o){if(!e)return null;var a=(o?t.reverse():t).reduce((function(e,t){var i=t.props,o=i.stackId;if(i.hide)return e;var a=t.props[r],c=e[a]||{hasStack:!1,stackGroups:{}};if(ea(o)){var l=c.stackGroups[o]||{numericAxisId:r,cateAxisId:n,items:[]};l.items.push(t),c.hasStack=!0,c.stackGroups[o]=l}else c.stackGroups[ra("_stackId_")]={numericAxisId:r,cateAxisId:n,items:[t]};return bO(bO({},e),{},wO({},a,c))}),{});return Object.keys(a).reduce((function(t,o){var c=a[o];return c.hasStack&&(c.stackGroups=Object.keys(c.stackGroups).reduce((function(t,o){var a=c.stackGroups[o];return bO(bO({},t),{},wO({},o,{numericAxisId:r,cateAxisId:n,items:a.items,stackedData:IO(e,a.items,i)}))}),{})),bO(bO({},t),{},wO({},o,c))}),{})}(d,b,"".concat(g,"Id"),"".concat(m,"Id"),h,y),x=l.reduce((function(e,t){var r="".concat(t.axisType,"Map");return JC(JC({},e),{},QC({},r,s_(i,JC(JC({},t),{},{graphicalItems:b,stackGroups:t.axisType===g&&w,dataStartIndex:o,dataEndIndex:a}))))}),{}),O=h_(JC(JC({},x),{},{props:i,graphicalItems:b}),null==t?void 0:t.legendBBox);Object.keys(x).forEach((function(e){x[e]=s(i,x[e],O,e.replace("Map",""),r)}));var S,j,A=x["".concat(m,"Map")],P=(S=ia(A),{tooltipTicks:j=EO(S,!1,!0),orderedTooltipTicks:Gh(j,(function(e){return e.coordinate})),tooltipAxis:S,tooltipAxisBandSize:HO(S,j)}),M=p(i,JC(JC({},x),{},{dataStartIndex:o,dataEndIndex:a,updateId:c,graphicalItems:b,stackGroups:w,offset:O}));return JC(JC({formattedGraphicalItems:M,graphicalItems:b,offset:O,stackGroups:w},P),x)};return t=function(e){function t(e){var n,i,o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),QC(qC(o=FC(this,t,[e])),"eventEmitterSymbol",Symbol("rechartsEventEmitter")),QC(qC(o),"accessibilityManager",new kC),QC(qC(o),"handleLegendBBoxUpdate",(function(e){if(e){var t=o.state,r=t.dataStartIndex,n=t.dataEndIndex,i=t.updateId;o.setState(JC({legendBBox:e},h({props:o.props,dataStartIndex:r,dataEndIndex:n,updateId:i},JC(JC({},o.state),{},{legendBBox:e}))))}})),QC(qC(o),"handleReceiveSyncEvent",(function(e,t,r){if(o.props.syncId===e){if(r===o.eventEmitterSymbol&&"function"!=typeof o.props.syncMethod)return;o.applySyncEvent(t)}})),QC(qC(o),"handleBrushChange",(function(e){var t=e.startIndex,r=e.endIndex;if(t!==o.state.dataStartIndex||r!==o.state.dataEndIndex){var n=o.state.updateId;o.setState((function(){return JC({dataStartIndex:t,dataEndIndex:r},h({props:o.props,dataStartIndex:t,dataEndIndex:r,updateId:n},o.state))})),o.triggerSyncEvent({dataStartIndex:t,dataEndIndex:r})}})),QC(qC(o),"handleMouseEnter",(function(e){var t=o.getMouseInfo(e);if(t){var r=JC(JC({},t),{},{isTooltipActive:!0});o.setState(r),o.triggerSyncEvent(r);var n=o.props.onMouseEnter;$n(n)&&n(r,e)}})),QC(qC(o),"triggeredAfterMouseMove",(function(e){var t=o.getMouseInfo(e),r=t?JC(JC({},t),{},{isTooltipActive:!0}):{isTooltipActive:!1};o.setState(r),o.triggerSyncEvent(r);var n=o.props.onMouseMove;$n(n)&&n(r,e)})),QC(qC(o),"handleItemMouseEnter",(function(e){o.setState((function(){return{isTooltipActive:!0,activeItem:e,activePayload:e.tooltipPayload,activeCoordinate:e.tooltipPosition||{x:e.cx,y:e.cy}}}))})),QC(qC(o),"handleItemMouseLeave",(function(){o.setState((function(){return{isTooltipActive:!1}}))})),QC(qC(o),"handleMouseMove",(function(e){e.persist(),o.throttleTriggeredAfterMouseMove(e)})),QC(qC(o),"handleMouseLeave",(function(e){o.throttleTriggeredAfterMouseMove.cancel();var t={isTooltipActive:!1};o.setState(t),o.triggerSyncEvent(t);var r=o.props.onMouseLeave;$n(r)&&r(t,e)})),QC(qC(o),"handleOuterEvent",(function(e){var t,r=function(e){var t=e&&e.type;return t&&ba[t]?ba[t]:null}(e),n=Do(o.props,"".concat(r));r&&$n(n)&&n(null!==(t=/.*touch.*/i.test(r)?o.getMouseInfo(e.changedTouches[0]):o.getMouseInfo(e))&&void 0!==t?t:{},e)})),QC(qC(o),"handleClick",(function(e){var t=o.getMouseInfo(e);if(t){var r=JC(JC({},t),{},{isTooltipActive:!0});o.setState(r),o.triggerSyncEvent(r);var n=o.props.onClick;$n(n)&&n(r,e)}})),QC(qC(o),"handleMouseDown",(function(e){var t=o.props.onMouseDown;$n(t)&&t(o.getMouseInfo(e),e)})),QC(qC(o),"handleMouseUp",(function(e){var t=o.props.onMouseUp;$n(t)&&t(o.getMouseInfo(e),e)})),QC(qC(o),"handleTouchMove",(function(e){null!=e.changedTouches&&e.changedTouches.length>0&&o.throttleTriggeredAfterMouseMove(e.changedTouches[0])})),QC(qC(o),"handleTouchStart",(function(e){null!=e.changedTouches&&e.changedTouches.length>0&&o.handleMouseDown(e.changedTouches[0])})),QC(qC(o),"handleTouchEnd",(function(e){null!=e.changedTouches&&e.changedTouches.length>0&&o.handleMouseUp(e.changedTouches[0])})),QC(qC(o),"triggerSyncEvent",(function(e){void 0!==o.props.syncId&&OC.emit(SC,o.props.syncId,e,o.eventEmitterSymbol)})),QC(qC(o),"applySyncEvent",(function(e){var t=o.props,r=t.layout,n=t.syncMethod,i=o.state.updateId,a=e.dataStartIndex,c=e.dataEndIndex;if(void 0!==e.dataStartIndex||void 0!==e.dataEndIndex)o.setState(JC({dataStartIndex:a,dataEndIndex:c},h({props:o.props,dataStartIndex:a,dataEndIndex:c,updateId:i},o.state)));else if(void 0!==e.activeTooltipIndex){var l=e.chartX,u=e.chartY,s=e.activeTooltipIndex,f=o.state,p=f.offset,d=f.tooltipTicks;if(!p)return;if("function"==typeof n)s=n(d,e);else if("value"===n){s=-1;for(var y=0;y<d.length;y++)if(d[y].value===e.activeLabel){s=y;break}}var v=JC(JC({},p),{},{x:p.left,y:p.top}),g=Math.min(l,v.x+v.width),m=Math.min(u,v.y+v.height),b=d[s]&&d[s].value,w=c_(o.state,o.props.data,s),x=d[s]?{x:"horizontal"===r?d[s].coordinate:g,y:"horizontal"===r?m:d[s].coordinate}:n_;o.setState(JC(JC({},e),{},{activeLabel:b,activeCoordinate:x,activePayload:w,activeTooltipIndex:s}))}else o.setState(e)})),QC(qC(o),"renderCursor",(function(e){var t,n=o.state,i=n.isTooltipActive,a=n.activeCoordinate,c=n.activePayload,l=n.offset,u=n.activeTooltipIndex,s=n.tooltipAxisBandSize,f=o.getTooltipEventType(),p=null!==(t=e.props.active)&&void 0!==t?t:i,h=o.props.layout,d=e.key||"_recharts-cursor";return Q.createElement(NC,{key:d,activeCoordinate:a,activePayload:c,activeTooltipIndex:u,chartName:r,element:e,isActive:p,layout:h,offset:l,tooltipAxisBandSize:s,tooltipEventType:f})})),QC(qC(o),"renderPolarAxis",(function(e,t,r){var n=Do(e,"type.axisType"),i=Do(o.state,"".concat(n,"Map")),a=i&&i[e.props["".concat(n,"Id")]];return se(e,JC(JC({},a),{},{className:cn(n,a.className),key:e.key||"".concat(t,"-").concat(r),ticks:EO(a,!0)}))})),QC(qC(o),"renderPolarGrid",(function(e){var t=e.props,r=t.radialLines,n=t.polarAngles,i=t.polarRadius,a=o.state,c=a.radiusAxisMap,l=a.angleAxisMap,u=ia(c),s=ia(l),f=s.cx,p=s.cy,h=s.innerRadius,d=s.outerRadius;return se(e,{polarAngles:Array.isArray(n)?n:EO(s,!0).map((function(e){return e.coordinate})),polarRadius:Array.isArray(i)?i:EO(u,!0).map((function(e){return e.coordinate})),cx:f,cy:p,innerRadius:h,outerRadius:d,key:e.key||"polar-grid",radialLines:r})})),QC(qC(o),"renderLegend",(function(){var e=o.state.formattedGraphicalItems,t=o.props,r=t.children,n=t.width,i=t.height,a=o.props.margin||{},c=n-(a.left||0)-(a.right||0),l=vO({children:r,formattedGraphicalItems:e,legendWidth:c,legendContent:u});if(!l)return null;var s=l.item,f=HC(l,LC);return se(s,JC(JC({},f),{},{chartWidth:n,chartHeight:i,margin:a,onBBoxUpdate:o.handleLegendBBoxUpdate}))})),QC(qC(o),"renderTooltip",(function(){var e,t=o.props,r=t.children,n=t.accessibilityLayer,i=Aa(r,Ld);if(!i)return null;var a=o.state,c=a.isTooltipActive,l=a.activeCoordinate,u=a.activePayload,s=a.activeLabel,f=a.offset,p=null!==(e=i.props.active)&&void 0!==e?e:c;return se(i,{viewBox:JC(JC({},f),{},{x:f.left,y:f.top}),active:p,label:s,payload:p?u:[],coordinate:l,accessibilityLayer:n})})),QC(qC(o),"renderBrush",(function(e){var t=o.props,r=t.margin,n=t.data,i=o.state,a=i.offset,c=i.dataStartIndex,l=i.dataEndIndex,u=i.updateId;return se(e,{key:e.key||"_recharts-brush",onChange:_O(o.handleBrushChange,e.props.onChange),data:n,x:Qo(e.props.x)?e.props.x:a.left,y:Qo(e.props.y)?e.props.y:a.top+a.height+a.brushBottom-(r.bottom||0),width:Qo(e.props.width)?e.props.width:a.width,startIndex:c,endIndex:l,updateId:"brush-".concat(u)})})),QC(qC(o),"renderReferenceElement",(function(e,t,r){if(!e)return null;var n=qC(o).clipPathId,i=o.state,a=i.xAxisMap,c=i.yAxisMap,l=i.offset,u=e.props,s=u.xAxisId,f=u.yAxisId;return se(e,{key:e.key||"".concat(t,"-").concat(r),xAxis:a[s],yAxis:c[f],viewBox:{x:l.left,y:l.top,width:l.width,height:l.height},clipPathId:n})})),QC(qC(o),"renderActivePoints",(function(e){var r=e.item,n=e.activePoint,i=e.basePoint,o=e.childIndex,a=e.isRange,c=[],l=r.props.key,u=r.item.props,s=u.activeDot,f=JC(JC({index:o,dataKey:u.dataKey,cx:n.x,cy:n.y,r:4,fill:AO(r.item),strokeWidth:2,stroke:"#fff",payload:n.payload,value:n.value,key:"".concat(l,"-activePoint-").concat(o)},Ea(s,!1)),ha(s));return c.push(t.renderActiveDot(s,f)),i?c.push(t.renderActiveDot(s,JC(JC({},f),{},{cx:i.x,cy:i.y,key:"".concat(l,"-basePoint-").concat(o)}))):a&&c.push(null),c})),QC(qC(o),"renderGraphicChild",(function(e,t,r){var n=o.filterFormatItem(e,t,r);if(!n)return null;var i=o.getTooltipEventType(),a=o.state,c=a.isTooltipActive,l=a.tooltipAxis,u=a.activeTooltipIndex,s=a.activeLabel,f=Aa(o.props.children,Ld),p=n.props,h=p.points,d=p.isRange,y=p.baseLine,v=n.item.props,g=v.activeDot,m=v.hide,b=v.activeBar,w=v.activeShape,x=Boolean(!m&&c&&f&&(g||b||w)),O={};"axis"!==i&&f&&"click"===f.props.trigger?O={onClick:_O(o.handleItemMouseEnter,e.props.onClick)}:"axis"!==i&&(O={onMouseLeave:_O(o.handleItemMouseLeave,e.props.onMouseLeave),onMouseEnter:_O(o.handleItemMouseEnter,e.props.onMouseEnter)});var S=se(e,JC(JC({},n.props),O));if(x){if(!(u>=0)){var j,A=(null!==(j=o.getItemByXY(o.state.activeCoordinate))&&void 0!==j?j:{graphicalItem:S}).graphicalItem,P=A.item,M=void 0===P?e:P,k=A.childIndex,E=JC(JC(JC({},n.props),O),{},{activeIndex:k});return[se(M,E),null,null]}var C,_;if(l.dataKey&&!l.allowDuplicatedCategory){var T="function"==typeof l.dataKey?function(e){return"function"==typeof l.dataKey?l.dataKey(e.payload):null}:"payload.".concat(l.dataKey.toString());C=aa(h,T,s),_=d&&y&&aa(y,T,s)}else C=null==h?void 0:h[u],_=d&&y&&y[u];if(w||b){var D=void 0!==e.props.activeIndex?e.props.activeIndex:u;return[se(e,JC(JC(JC({},n.props),O),{},{activeIndex:D})),null,null]}if(!Io(C))return[S].concat(XC(o.renderActivePoints({item:n,activePoint:C,basePoint:_,childIndex:u,isRange:d})))}return d?[S,null,null]:[S,null]})),QC(qC(o),"renderCustomized",(function(e,t,r){return se(e,JC(JC({key:"recharts-customized-".concat(r)},o.props),o.state))})),QC(qC(o),"renderMap",{CartesianGrid:{handler:i_,once:!0},ReferenceArea:{handler:o.renderReferenceElement},ReferenceLine:{handler:i_},ReferenceDot:{handler:o.renderReferenceElement},XAxis:{handler:i_},YAxis:{handler:i_},Brush:{handler:o.renderBrush,once:!0},Bar:{handler:o.renderGraphicChild},Line:{handler:o.renderGraphicChild},Area:{handler:o.renderGraphicChild},Radar:{handler:o.renderGraphicChild},RadialBar:{handler:o.renderGraphicChild},Scatter:{handler:o.renderGraphicChild},Pie:{handler:o.renderGraphicChild},Funnel:{handler:o.renderGraphicChild},Tooltip:{handler:o.renderCursor,once:!0},PolarGrid:{handler:o.renderPolarGrid,once:!0},PolarAngleAxis:{handler:o.renderPolarAxis},PolarRadiusAxis:{handler:o.renderPolarAxis},Customized:{handler:o.renderCustomized}}),o.clipPathId="".concat(null!==(n=e.id)&&void 0!==n?n:ra("recharts"),"-clip"),o.throttleTriggeredAfterMouseMove=oy(o.triggeredAfterMouseMove,null!==(i=e.throttleDelay)&&void 0!==i?i:1e3/60),o.state={},o}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&YC(e,t)}(t,de),VC(t,[{key:"componentDidMount",value:function(){var e,t;this.addListener(),this.accessibilityManager.setDetails({container:this.container,offset:{left:null!==(e=this.props.margin.left)&&void 0!==e?e:0,top:null!==(t=this.props.margin.top)&&void 0!==t?t:0},coordinateList:this.state.tooltipTicks,mouseHandlerCallback:this.triggeredAfterMouseMove,layout:this.props.layout}),this.displayDefaultTooltip()}},{key:"displayDefaultTooltip",value:function(){var e=this.props,t=e.children,r=e.data,n=e.height,i=e.layout,o=Aa(t,Ld);if(o){var a=o.props.defaultIndex;if(!("number"!=typeof a||a<0||a>this.state.tooltipTicks.length)){var c=this.state.tooltipTicks[a]&&this.state.tooltipTicks[a].value,l=c_(this.state,r,a,c),u=this.state.tooltipTicks[a].coordinate,s=(this.state.offset.top+n)/2,f="horizontal"===i?{x:u,y:s}:{y:u,x:s},p=this.state.formattedGraphicalItems.find((function(e){return"Scatter"===e.item.type.name}));p&&(f=JC(JC({},f),p.props.points[a].tooltipPosition),l=p.props.points[a].tooltipPayload);var h={activeTooltipIndex:a,isTooltipActive:!0,activeLabel:c,activePayload:l,activeCoordinate:f};this.setState(h),this.renderCursor(o),this.accessibilityManager.setIndex(a)}}}},{key:"getSnapshotBeforeUpdate",value:function(e,t){if(!this.props.accessibilityLayer)return null;var r,n;(this.state.tooltipTicks!==t.tooltipTicks&&this.accessibilityManager.setDetails({coordinateList:this.state.tooltipTicks}),this.props.layout!==e.layout&&this.accessibilityManager.setDetails({layout:this.props.layout}),this.props.margin!==e.margin)&&this.accessibilityManager.setDetails({offset:{left:null!==(r=this.props.margin.left)&&void 0!==r?r:0,top:null!==(n=this.props.margin.top)&&void 0!==n?n:0}});return null}},{key:"componentDidUpdate",value:function(e){Ca([Aa(e.children,Ld)],[Aa(this.props.children,Ld)])||this.displayDefaultTooltip()}},{key:"componentWillUnmount",value:function(){this.removeListener(),this.throttleTriggeredAfterMouseMove.cancel()}},{key:"getTooltipEventType",value:function(){var e=Aa(this.props.children,Ld);if(e&&"boolean"==typeof e.props.shared){var t=e.props.shared?"axis":"item";return c.indexOf(t)>=0?t:o}return o}},{key:"getMouseInfo",value:function(e){if(!this.container)return null;var t,r=this.container,n=r.getBoundingClientRect(),i={top:(t=n).top+window.scrollY-document.documentElement.clientTop,left:t.left+window.scrollX-document.documentElement.clientLeft},o={chartX:Math.round(e.pageX-i.left),chartY:Math.round(e.pageY-i.top)},a=n.width/r.offsetWidth||1,c=this.inRange(o.chartX,o.chartY,a);if(!c)return null;var l=this.state,u=l.xAxisMap,s=l.yAxisMap;if("axis"!==this.getTooltipEventType()&&u&&s){var f=ia(u).scale,p=ia(s).scale,h=f&&f.invert?f.invert(o.chartX):null,d=p&&p.invert?p.invert(o.chartY):null;return JC(JC({},o),{},{xValue:h,yValue:d})}var y=l_(this.state,this.props.data,this.props.layout,c);return y?JC(JC({},o),y):null}},{key:"inRange",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,n=this.props.layout,i=e/r,o=t/r;if("horizontal"===n||"vertical"===n){var a=this.state.offset;return i>=a.left&&i<=a.left+a.width&&o>=a.top&&o<=a.top+a.height?{x:i,y:o}:null}var c=this.state,l=c.angleAxisMap,u=c.radiusAxisMap;if(l&&u){var s=ia(l);return QO({x:i,y:o},s)}return null}},{key:"parseEventsOfWrapper",value:function(){var e=this.props.children,t=this.getTooltipEventType(),r=Aa(e,Ld),n={};return r&&"axis"===t&&(n="click"===r.props.trigger?{onClick:this.handleClick}:{onMouseEnter:this.handleMouseEnter,onMouseMove:this.handleMouseMove,onMouseLeave:this.handleMouseLeave,onTouchMove:this.handleTouchMove,onTouchStart:this.handleTouchStart,onTouchEnd:this.handleTouchEnd}),JC(JC({},ha(this.props,this.handleOuterEvent)),n)}},{key:"addListener",value:function(){OC.on(SC,this.handleReceiveSyncEvent)}},{key:"removeListener",value:function(){OC.removeListener(SC,this.handleReceiveSyncEvent)}},{key:"filterFormatItem",value:function(e,t,r){for(var n=this.state.formattedGraphicalItems,i=0,o=n.length;i<o;i++){var a=n[i];if(a.item===e||a.props.key===e.key||t===wa(a.item.type)&&r===a.childIndex)return a}return null}},{key:"renderClipPath",value:function(){var e=this.clipPathId,t=this.state.offset,r=t.left,n=t.top,i=t.height,o=t.width;return Q.createElement("defs",null,Q.createElement("clipPath",{id:e},Q.createElement("rect",{x:r,y:n,height:i,width:o})))}},{key:"getXScales",value:function(){var e=this.state.xAxisMap;return e?Object.entries(e).reduce((function(e,t){var r=$C(t,2),n=r[0],i=r[1];return JC(JC({},e),{},QC({},n,i.scale))}),{}):null}},{key:"getYScales",value:function(){var e=this.state.yAxisMap;return e?Object.entries(e).reduce((function(e,t){var r=$C(t,2),n=r[0],i=r[1];return JC(JC({},e),{},QC({},n,i.scale))}),{}):null}},{key:"getXScaleByAxisId",value:function(e){var t;return null===(t=this.state.xAxisMap)||void 0===t||null===(t=t[e])||void 0===t?void 0:t.scale}},{key:"getYScaleByAxisId",value:function(e){var t;return null===(t=this.state.yAxisMap)||void 0===t||null===(t=t[e])||void 0===t?void 0:t.scale}},{key:"getItemByXY",value:function(e){var t=this.state,r=t.formattedGraphicalItems,n=t.activeItem;if(r&&r.length)for(var i=0,o=r.length;i<o;i++){var a=r[i],c=a.props,l=a.item,u=wa(l.type);if("Bar"===u){var s=(c.data||[]).find((function(t){return tP(e,t)}));if(s)return{graphicalItem:a,payload:s}}else if("RadialBar"===u){var f=(c.data||[]).find((function(t){return QO(e,t)}));if(f)return{graphicalItem:a,payload:f}}else if(qP(a,n)||YP(a,n)||XP(a,n)){var p=JP({graphicalItem:a,activeTooltipItem:n,itemData:l.props.data}),h=void 0===l.props.activeIndex?p:l.props.activeIndex;return{graphicalItem:JC(JC({},a),{},{childIndex:h}),payload:XP(a,n)?l.props.data[p]:a.props.data[p]}}}return null}},{key:"render",value:function(){var e=this;if(!Pa(this))return null;var t,r,n=this.props,i=n.children,o=n.className,a=n.width,c=n.height,l=n.style,u=n.compact,s=n.title,f=n.desc,p=HC(n,BC),h=Ea(p,!1);if(u)return Q.createElement($k,{state:this.state,width:this.props.width,height:this.props.height,clipPathId:this.clipPathId},Q.createElement(La,zC({},h,{width:a,height:c,title:s,desc:f}),this.renderClipPath(),Ta(i,this.renderMap)));this.props.accessibilityLayer&&(h.tabIndex=null!==(t=this.props.tabIndex)&&void 0!==t?t:0,h.role=null!==(r=this.props.role)&&void 0!==r?r:"application",h.onKeyDown=function(t){e.accessibilityManager.keyboardEvent(t)},h.onFocus=function(){e.accessibilityManager.focus()});var d=this.parseEventsOfWrapper();return Q.createElement($k,{state:this.state,width:this.props.width,height:this.props.height,clipPathId:this.clipPathId},Q.createElement("div",zC({className:cn("recharts-wrapper",o),style:JC({position:"relative",cursor:"default",width:a,height:c},l)},d,{ref:function(t){e.container=t}}),Q.createElement(La,zC({},h,{width:a,height:c,title:s,desc:f,style:r_}),this.renderClipPath(),Ta(i,this.renderMap)),this.renderLegend(),this.renderTooltip()))}}]),t}(),QC(t,"displayName",r),QC(t,"defaultProps",JC({layout:"horizontal",stackOffset:"none",barCategoryGap:"10%",barGap:4,margin:{top:5,right:5,bottom:5,left:5},reverseStackOrder:!1,syncMethod:"index"},f)),QC(t,"getDerivedStateFromProps",(function(e,t){var r=e.dataKey,n=e.data,i=e.children,o=e.width,a=e.height,c=e.layout,l=e.stackOffset,u=e.margin,s=t.dataStartIndex,f=t.dataEndIndex;if(void 0===t.updateId){var p=f_(e);return JC(JC(JC({},p),{},{updateId:0},h(JC(JC({props:e},p),{},{updateId:0}),t)),{},{prevDataKey:r,prevData:n,prevWidth:o,prevHeight:a,prevLayout:c,prevStackOffset:l,prevMargin:u,prevChildren:i})}if(r!==t.prevDataKey||n!==t.prevData||o!==t.prevWidth||a!==t.prevHeight||c!==t.prevLayout||l!==t.prevStackOffset||!ca(u,t.prevMargin)){var d=f_(e),y={chartX:t.chartX,chartY:t.chartY,isTooltipActive:t.isTooltipActive},v=JC(JC({},l_(t,n,c)),{},{updateId:t.updateId+1}),g=JC(JC(JC({},d),y),v);return JC(JC(JC({},g),h(JC({props:e},g),t)),{},{prevDataKey:r,prevData:n,prevWidth:o,prevHeight:a,prevLayout:c,prevStackOffset:l,prevMargin:u,prevChildren:i})}if(!Ca(i,t.prevChildren)){var m,b,w,x,O=Aa(i,AM),S=O&&null!==(m=null===(b=O.props)||void 0===b?void 0:b.startIndex)&&void 0!==m?m:s,j=O&&null!==(w=null===(x=O.props)||void 0===x?void 0:x.endIndex)&&void 0!==w?w:f,A=S!==s||j!==f,P=!Io(n)&&!A?t.updateId:t.updateId+1;return JC(JC({updateId:P},h(JC(JC({props:e},t),{},{updateId:P,dataStartIndex:S,dataEndIndex:j}),t)),{},{prevChildren:i,dataStartIndex:S,dataEndIndex:j})}return null})),QC(t,"renderActiveDot",(function(e,t){var r;return r=ee(e)?se(e,t):$n(e)?e(t):Q.createElement(oP,t),Q.createElement($a,{className:"recharts-active-dot",key:t.key},r)})),t},v_=y_({chartName:"LineChart",GraphicalChild:ZE,axisComponents:[{axisType:"xAxis",AxisComp:yC},{axisType:"yAxis",AxisComp:gC}],formatAxisMap:Pk}),g_=y_({chartName:"AreaChart",GraphicalChild:hC,axisComponents:[{axisType:"xAxis",AxisComp:yC},{axisType:"yAxis",AxisComp:gC}],formatAxisMap:Pk});const m_=({chartId:n,formatter:i,labelFormatter:o,payload:a,cx:c,cy:l})=>{const u=document.getElementById(n)?.clientWidth||0,s=100;return c<20||u-c<20?t(r,{}):e("svg",{x:c-50,y:l-60,width:s,height:68,viewBox:"0 0 100 68",xmlns:"http://www.w3.org/2000/svg",children:[t("rect",{fill:"white",width:"98",height:"45",stroke:gr.coolElegance(),strokeWidth:"1",rx:"7",ry:"7",className:"shadow"}),t("text",{y:"14",x:"50%",fontSize:10,dominantBaseline:"middle",textAnchor:"middle",children:o(0,[{payload:a}])}),t("text",{y:"30",x:"50%",fontSize:11,dominantBaseline:"middle",textAnchor:"middle",fontWeight:"bold",children:i?i(a.value):a.value}),t("svg",{viewBox:"0 0 28 28",xmlns:"http://www.w3.org/2000/svg",y:"30",opacity:"0.7",children:t("path",{d:"M -14.041 -7.717 L -13.115 -6.975 L -14.952 -6.975 L -14.041 -7.717 Z",stroke:gr.coolElegance(),transform:"matrix(-1, 0, 0, -1, 0, -2.220446049250313e-16)"})}),t("svg",{viewBox:"0 0 28 28",xmlns:"http://www.w3.org/2000/svg",y:"28",children:t("path",{d:"M -14.041 -7.717 L -13.115 -6.975 L -14.952 -6.975 L -14.041 -7.717 Z",stroke:"white",transform:"matrix(-1, 0, 0, -1, 0, -2.220446049250313e-16)"})}),t("rect",{x:43,y:"52",width:14,height:14,rx:7,fill:"white",stroke:gr.coolElegance(),strokeWidth:"2"})]})},b_=({data:r,dataKey:n,width:i="100%",height:o="100%",areaType:a="linear",showTooltip:c=!1,isAnimated:l=!1,formatter:u,labelFormatter:s,sampleRate:f,style:p})=>{const{isNetGain:h}=dr({data:r,dataKey:n}),d=on(),y=on(),v=f?vr({arr:r||[],n:f}):r;let g,m;v?.length?(m=h?gr.mint():gr.coolElegance(),g=v?.map((e=>({...e,[n]:Number(e[n])||0})))):(m=gr.coolElegance(),g=[{[n]:1},{[n]:1}]);const b={cursor:c&&v?.length?"crosshair":"default",...p};return t(py,{width:i,minHeight:o,id:d,children:e(g_,{data:g,margin:{top:20,right:0,left:0,bottom:20},style:b,children:[t("defs",{children:e("linearGradient",{id:y,x1:"0",y1:"0",x2:"0",y2:"1",children:[t("stop",{offset:"5%",stopColor:m,stopOpacity:.8}),t("stop",{offset:"95%",stopColor:m,stopOpacity:0})]})}),t(gC,{domain:v?.length?["dataMin","dataMax"]:[0,2],hide:!0}),t(hC,{type:a,dataKey:n,stroke:m,fill:`url(#${y})`,isAnimationActive:l,activeDot:c?e=>m_({chartId:d,labelFormatter:s,formatter:u,...e}):void 0,dot:!1}),v?.length&&c&&t(Ld,{cursor:!1,content:()=>null})]})})},w_=({isCloseable:e,onClick:r})=>{const n=u({ssr:!1});return t(s,{children:t(f,{label:e?"Click to dismiss":null,hasArrow:!0,children:t(p,{onClick:r,cursor:e?"pointer":"default",bgColor:{base:"rgba(143, 163, 255, 0.9)",sm:"rgba(117, 143, 255, 0.9)",md:"rgba(77, 109, 255, 0.9)",lg:"rgba(24, 74, 201, 0.9)",xl:"rgba(19, 60, 164, 0.9)","2xl":"rgba(15, 47, 128, 0.9)"},color:{base:gr.black(),md:"white"},position:"fixed",top:"0",right:"0",padding:"2",fontSize:"xs",zIndex:"5",width:"10rem",boxShadow:"dark-lg",children:n})})})},x_=({children:e,...r})=>t(h,{border:"solid 1px",borderColor:gr.coolElegance(),padding:"1",borderRadius:"lg",bg:"white",width:"fit-content",size:"sm",...r,children:e}),O_=({isSelected:e,children:r,...n})=>t(d,{variant:"none",paddingX:"1",fontSize:"sm",color:e?"brand.500":gr.coolElegance(),bg:"transparent",border:"solid 1px",borderColor:e?"brand.50":"transparent",boxShadow:"none",_hover:{bg:"brand.50",color:"brand.500"},...n,children:r}),S_=({children:e,...r})=>t(y,{bg:"white",p:"4",gap:"4",w:"full",border:"solid 1px",borderColor:gr.coolElegance(),boxShadow:"none",borderRadius:"xl",...r,children:e}),j_=r=>{const{carouselContents:n,isNavVertical:i,...o}=r,[a,c]=ae(0);return n.length>=1&&t(S_,{children:e(v,{gap:10,direction:i?"column":{base:"column",md:"row"},...o,children:[n[a],e(v,{alignItems:"flex-end",justifyContent:"center",gap:6,children:[t(g,{variant:"ghost",isDisabled:0===a,"aria-label":"Previous content",icon:t(Se,{}),onClick:()=>{a>0&&a<=n.length-1&&c((e=>e-1))}}),t(g,{variant:"ghost",isDisabled:a===n.length-1,"aria-label":"Next content",icon:t(je,{}),onClick:()=>{a<n.length-1&&c((e=>e+1))}})]})]})})},A_=r=>{const{size:n,isDisabled:i,isReadOnly:o,isRequired:a,isIndeterminate:c,name:l,register:u,errorMessage:s,label:f,labelPosition:p="left",spaceBetween:h,onClick:d,...y}=r;let g;c||(g=t(Me,{}));const O=u?u(l):void 0;return e(m,{as:v,flexDir:"column",isInvalid:Boolean(s),isDisabled:i,isReadOnly:o,isRequired:a,children:[e(v,{onClick:d,w:"full",justifyContent:h?"space-between":"auto",children:["left"===p&&t(b,{fontSize:n,m:"0",mr:"3",children:f}),t(w,{icon:g,isDisabled:i,isReadOnly:o,isRequired:a,isIndeterminate:c,isInvalid:Boolean(s),size:n,...O,...y}),"right"===p&&t(b,{fontSize:n,m:"0",ml:"3",children:f})]}),t(v,{w:"full",children:s&&t(x,{size:n,children:s})})]})},P_=({children:e,onSubmit:r,...n})=>t(v,{as:"form",onSubmit:e=>{e.preventDefault(),r&&r(e)},noValidate:!0,gap:"6",flexDir:"column",...n,children:e});var M_=function(){return M_=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},M_.apply(this,arguments)};function k_(e,t,r){if(r||2===arguments.length)for(var n,i=0,o=t.length;i<o;i++)!n&&i in t||(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))}"function"==typeof SuppressedError&&SuppressedError;var E_=function(e){return e.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")},C_={k:1e3,m:1e6,b:1e9},__=function(e){var t=e.value,r=e.groupSeparator,n=void 0===r?",":r,i=e.decimalSeparator,o=void 0===i?".":i,a=e.allowDecimals,c=void 0===a||a,l=e.decimalsLimit,u=void 0===l?2:l,s=e.allowNegativeValue,f=void 0===s||s,p=e.disableAbbreviations,h=void 0!==p&&p,d=e.prefix,y=void 0===d?"":d,v=e.transformRawValue,g=(void 0===v?function(e){return e}:v)(t);if("-"===g)return g;var m=h?[]:["k","m","b"],b=new RegExp("((^|\\D)-\\d)|(-".concat(E_(y),")")).test(g),w=RegExp("(\\d+)-?".concat(E_(y))).exec(t)||[],x=w[0],O=w[1],S=function(e,t){void 0===t&&(t=",");var r=new RegExp(E_(t),"g");return e.replace(r,"")}(y?x?g.replace(x,"").concat(O):g.replace(y,""):g,n),j=function(e,t){var r=E_(t.join("")),n=new RegExp("[^\\d".concat(r,"]"),"gi");return e.replace(n,"")}(S,k_([n,o],m,!0)),A=j;if(!h){if(m.some((function(e){return e===j.toLowerCase().replace(o,"")})))return"";var P=function(e,t){void 0===t&&(t=".");var r=new RegExp("(\\d+(".concat(E_(t),"\\d*)?)([kmb])$"),"i"),n=e.match(r);if(n){var i=n[1],o=n[3],a=C_[o.toLowerCase()];return Number(i.replace(t,"."))*a}}(j,o);P&&(A=String(P))}var M=b&&f?"-":"";if(o&&A.includes(o)){var k=j.split(o),E=k[0],C=k[1],_=u&&C?C.slice(0,u):C,T=c?"".concat(o).concat(_):"";return"".concat(M).concat(E).concat(T)}return"".concat(M).concat(A)},T_=function(e,t){var r=t.groupSeparator,n=void 0===r?",":r,i=t.decimalSeparator,o=void 0===i?".":i,a=new RegExp("\\d([^".concat(E_(n)).concat(E_(o),"0-9]+)")),c=e.match(a);return c?c[1]:void 0},D_=function(e){var t=e.value,r=e.decimalSeparator,n=e.intlConfig,i=e.decimalScale,o=e.prefix,a=void 0===o?"":o,c=e.suffix,l=void 0===c?"":c;if(""===t||void 0===t)return"";if("-"===t)return"-";var u=new RegExp("^\\d?-".concat(a?"".concat(E_(a),"?"):"","\\d")).test(t),s="."!==r?I_(t,r,u):t;r&&"-"!==r&&s.startsWith(r)&&(s="0"+s);var f={minimumFractionDigits:i||0,maximumFractionDigits:20},p=(n?new Intl.NumberFormat(n.locale,n.currency?M_(M_({},f),{style:"currency",currency:n.currency}):f):new Intl.NumberFormat(void 0,f)).formatToParts(Number(s)),h=N_(p,e),d=T_(h,M_({},e)),y=t.slice(-1)===r?r:"",v=(s.match(RegExp("\\d+\\.(\\d+)"))||[])[1];return void 0===i&&v&&r&&(h=h.includes(r)?h.replace(RegExp("(\\d+)(".concat(E_(r),")(\\d+)"),"g"),"$1$2".concat(v)):d&&!l?h.replace(d,"".concat(r).concat(v).concat(d)):"".concat(h).concat(r).concat(v)),l&&y?"".concat(h).concat(y).concat(l):d&&y?h.replace(d,"".concat(y).concat(d)):d&&l?h.replace(d,"".concat(y).concat(l)):[h,y,l].join("")},I_=function(e,t,r){var n=e;return t&&"."!==t&&(n=n.replace(RegExp(E_(t),"g"),"."),r&&"-"===t&&(n="-".concat(n.slice(1)))),n},N_=function(e,t){var r=t.prefix,n=t.groupSeparator,i=t.decimalSeparator,o=t.decimalScale,a=t.disableGroupSeparators,c=void 0!==a&&a;return e.reduce((function(e,t,a){var l=t.type,u=t.value;return 0===a&&r?"minusSign"===l?[u,r]:"currency"===l?k_(k_([],e,!0),[r],!1):[r,u]:"currency"===l?r?e:k_(k_([],e,!0),[u],!1):"group"===l?c?e:k_(k_([],e,!0),[void 0!==n?n:u],!1):"decimal"===l?void 0!==o&&0===o?e:k_(k_([],e,!0),[void 0!==i?i:u],!1):k_(k_([],e,!0),"fraction"===l?[void 0!==o?u.slice(0,o):u]:[u],!1)}),[""]).join("")},L_={currencySymbol:"",groupSeparator:"",decimalSeparator:"",prefix:"",suffix:""},B_=function(e){return RegExp(/\d/,"gi").test(e)},R_=ne((function(e,t){var r=e.allowDecimals,n=void 0===r||r,i=e.allowNegativeValue,o=void 0===i||i,a=e.id,c=e.name,l=e.className,u=e.customInput,s=e.decimalsLimit,f=e.defaultValue,p=e.disabled,h=void 0!==p&&p,d=e.maxLength,y=e.value,v=e.onValueChange,g=e.fixedDecimalLength,m=e.placeholder,b=e.decimalScale,w=e.prefix,x=e.suffix,O=e.intlConfig,S=e.step,j=e.min,A=e.max,P=e.disableGroupSeparators,M=void 0!==P&&P,k=e.disableAbbreviations,E=void 0!==k&&k,C=e.decimalSeparator,_=e.groupSeparator,T=e.onChange,D=e.onFocus,I=e.onBlur,N=e.onKeyDown,L=e.onKeyUp,B=e.transformRawValue,R=e.formatValueOnBlur,z=void 0===R||R,$=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]])}return r}(e,["allowDecimals","allowNegativeValue","id","name","className","customInput","decimalsLimit","defaultValue","disabled","maxLength","value","onValueChange","fixedDecimalLength","placeholder","decimalScale","prefix","suffix","intlConfig","step","min","max","disableGroupSeparators","disableAbbreviations","decimalSeparator","groupSeparator","onChange","onFocus","onBlur","onKeyDown","onKeyUp","transformRawValue","formatValueOnBlur"]);if(C&&B_(C))throw new Error("decimalSeparator cannot be a number");if(_&&B_(_))throw new Error("groupSeparator cannot be a number");var H=ue((function(){return function(e){var t=e||{},r=t.locale,n=t.currency;return(r?new Intl.NumberFormat(r,n?{currency:n,style:"currency"}:void 0):new Intl.NumberFormat).formatToParts(1000.1).reduce((function(e,t,r){return"currency"===t.type?M_(M_({},e),0===r?{currencySymbol:t.value,prefix:t.value}:{currencySymbol:t.value,suffix:t.value}):"group"===t.type?M_(M_({},e),{groupSeparator:t.value}):"decimal"===t.type?M_(M_({},e),{decimalSeparator:t.value}):e}),L_)}(O)}),[O]),V=C||H.decimalSeparator||"",F=_||H.groupSeparator||"";if(V&&F&&V===F&&!1===M)throw new Error("decimalSeparator cannot be the same as groupSeparator");var U={decimalSeparator:V,groupSeparator:F,disableGroupSeparators:M,intlConfig:O,prefix:w||H.prefix,suffix:x},W={decimalSeparator:V,groupSeparator:F,allowDecimals:n,decimalsLimit:s||g||2,allowNegativeValue:o,disableAbbreviations:E,prefix:w||H.prefix,transformRawValue:B},q=ae((function(){return null!=f?D_(M_(M_({},U),{decimalScale:b,value:String(f)})):null!=y?D_(M_(M_({},U),{decimalScale:b,value:String(y)})):""})),Y=q[0],X=q[1],K=ae(!1),G=K[0],Z=K[1],J=ae(0),ee=J[0],te=J[1],re=ae(0),ne=re[0],ce=re[1],se=ae(null),fe=se[0],pe=se[1],he=ie(null);oe(t,(function(){return he.current}));var de=function(e,t){Z(!0);var r=function(e){var t=e.selectionStart,r=e.value,n=e.lastKeyStroke,i=e.stateValue,o=e.groupSeparator,a=t,c=r;if(i&&a){var l=r.split("");return"Backspace"===n&&i[a]===o&&(l.splice(a-1,1),a-=1),"Delete"===n&&i[a]===o&&(l.splice(a,1),a+=1),{modifiedValue:c=l.join(""),cursorPosition:a}}return{modifiedValue:c,cursorPosition:t}}({selectionStart:t,value:e,lastKeyStroke:fe,stateValue:Y,groupSeparator:F}),n=r.modifiedValue,i=r.cursorPosition,o=__(M_({value:n},W));if(!(d&&o.replace(/-/g,"").length>d)){if(""===o||"-"===o||o===V)return v&&v(void 0,c,{float:null,formatted:"",value:""}),X(o),void te(1);var a=V?o.replace(V,"."):o,l=parseFloat(a),u=D_(M_({value:o},U));if(null!=i){var s=i+(u.length-e.length);s=s<=0?w?w.length:0:s,te(s),ce(ne+1)}if(X(u),v)v(o,c,{float:l,formatted:u,value:o})}};le((function(){null==y&&null==f&&X("")}),[f,y]),le((function(){G&&"-"!==Y&&he.current&&document.activeElement===he.current&&he.current.setSelectionRange(ee,ee)}),[Y,ee,he,G,ne]);var ye=M_({type:"text",inputMode:"decimal",id:a,name:c,className:l,onChange:function(e){var t=e.target,r=t.value,n=t.selectionStart;de(r,n),T&&T(e)},onBlur:function(e){var t=e.target.value,r=__(M_({value:t},W));if("-"===r||r===V||!r)return X(""),void(I&&I(e));var n=function(e,t,r){if(void 0!==r&&e.length>1){if(0===r)return e.replace(t,"");if(e.includes(t)){var n=e.split(t),i=n[0];if((c=n[1]).length===r)return e;if(c.length>r)return"".concat(i).concat(t).concat(c.slice(0,r))}var o=e.length>r?new RegExp("(\\d+)(\\d{".concat(r,"})")):new RegExp("(\\d)(\\d+)"),a=e.match(o);if(a){i=a[1];var c=a[2];return"".concat(i).concat(t).concat(c)}}return e}(r,V,g),i=function(e,t,r){if(void 0===t&&(t="."),void 0===r||""===e||void 0===e)return e;if(!e.match(/\d/g))return"";var n=e.split(t),i=n[0],o=n[1];if(0===r)return i;var a=o||"";if(a.length<r)for(;a.length<r;)a+="0";else a=a.slice(0,r);return"".concat(i).concat(t).concat(a)}(n,V,void 0!==b?b:g),o=parseFloat(i.replace(V,".")),a=D_(M_(M_({},U),{value:i}));v&&z&&v(i,c,{float:o,formatted:a,value:i}),X(a),I&&I(e)},onFocus:function(e){return D&&D(e),Y?Y.length:0},onKeyDown:function(e){var t=e.key;if(pe(t),S&&("ArrowUp"===t||"ArrowDown"===t)){e.preventDefault(),te(Y.length);var r=parseFloat(null!=y?String(y).replace(V,"."):__(M_({value:Y},W)))||0,n="ArrowUp"===t?r+S:r-S;if(void 0!==j&&n<Number(j))return;if(void 0!==A&&n>Number(A))return;var i=String(S).includes(".")?Number(String(S).split(".")[1].length):void 0;de(String(i?n.toFixed(i):n).replace(".",V))}N&&N(e)},onKeyUp:function(e){var t=e.key,r=e.currentTarget.selectionStart;if("ArrowUp"!==t&&"ArrowDown"!==t&&"-"!==Y){var n=T_(Y,{groupSeparator:F,decimalSeparator:V});if(n&&r&&r>Y.length-n.length&&he.current){var i=Y.length-n.length;he.current.setSelectionRange(i,i)}}L&&L(e)},placeholder:m,disabled:h,value:null==y||"-"===Y||V&&Y===V?Y:D_(M_(M_({},U),{decimalScale:G?void 0:b,value:String(y)})),ref:he},$);if(u){var ve=u;return Q.createElement(ve,M_({},ye))}return Q.createElement("input",M_({},ye))}));R_.displayName="CurrencyInput";const z_=O(((r,n)=>{const{size:i,isDisabled:o,isReadOnly:a,isRequired:c,spellCheck:l=!1,name:u,label:s,register:f,errorMessage:p,helperText:h,leftAddon:d,leftElement:y,rightAddon:v,rightElement:g,type:w="text",containerCss:O,...C}=r,_=yr(i),T=f?f(u):void 0,D="currency"===w?{as:R_,placeholder:"$0.00",prefix:"$",allowNegative:!1,disableAbbreviations:!0}:{};return e(m,{isInvalid:Boolean(p),isDisabled:o,isReadOnly:a,isRequired:c,sx:O,children:[s&&t(b,{className:"cf-form-label",size:i,children:s}),e(S,{size:i,children:[d&&t(j,{children:d}),y&&t(A,{w:"auto",ml:"1em",children:y}),t(P,{size:i,spellCheck:l,paddingLeft:y&&"2.5em",paddingRight:g&&"2.5em",type:"currency"===w?"text":w,...T,...D,...C,ref:n||T?.ref}),g&&t(M,{w:"auto",mr:"1em",children:g}),v&&t(k,{children:v})]}),p&&t(x,{className:"cf-form-error",size:i,children:p}),h&&t(E,{className:"cf-form-helper-text",fontSize:_,children:h})]})}));var $_=e=>null==e;var H_=e=>!$_(e)&&!Array.isArray(e)&&(e=>"object"==typeof e)(e)&&!(e=>e instanceof Date)(e),V_=e=>{const t=e.constructor&&e.constructor.prototype;return H_(t)&&t.hasOwnProperty("isPrototypeOf")},F_="undefined"!=typeof window&&void 0!==window.HTMLElement&&"undefined"!=typeof document;function U_(e){let t;const r=Array.isArray(e);if(e instanceof Date)t=new Date(e);else if(e instanceof Set)t=new Set(e);else{if(F_&&(e instanceof Blob||e instanceof FileList)||!r&&!H_(e))return e;if(t=r?[]:{},r||V_(e))for(const r in e)e.hasOwnProperty(r)&&(t[r]=U_(e[r]));else t=e}return t}var W_=e=>Array.isArray(e)?e.filter(Boolean):[],q_=e=>void 0===e,Y_=(e,t,r)=>{if(!t||!H_(e))return r;const n=W_(t.split(/[,[\].]+?/)).reduce(((e,t)=>$_(e)?e:e[t]),e);return q_(n)||n===e?q_(e[t])?r:e[t]:n},X_=e=>"boolean"==typeof e,K_=e=>/^\w*$/.test(e),G_=e=>W_(e.replace(/["|']|\]/g,"").split(/\.|\[/)),Z_=(e,t,r)=>{let n=-1;const i=K_(t)?[t]:G_(t),o=i.length,a=o-1;for(;++n<o;){const t=i[n];let o=r;if(n!==a){const r=e[t];o=H_(r)||Array.isArray(r)?r:isNaN(+i[n+1])?{}:[]}if("__proto__"===t)return;e[t]=o,e=e[t]}return e};const J_="onBlur",Q_="onChange",eT="onSubmit",tT="onTouched",rT="all",nT="max",iT="min",oT="maxLength",aT="minLength",cT="pattern",lT="required",uT="validate",sT=Q.createContext(null);var fT=e=>H_(e)&&!Object.keys(e).length,pT=e=>Array.isArray(e)?e:[e];var hT=e=>"string"==typeof e,dT=(e,t,r,n,i)=>t?{...r[e],types:{...r[e]&&r[e].types?r[e].types:{},[n]:i||!0}}:{},yT=()=>{const e="undefined"==typeof performance?Date.now():1e3*performance.now();return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(t=>{const r=(16*Math.random()+e)%16|0;return("x"==t?r:3&r|8).toString(16)}))},vT=(e,t,r={})=>r.shouldFocus||q_(r.shouldFocus)?r.focusName||`${e}.${q_(r.focusIndex)?t:r.focusIndex}.`:"",gT=e=>({isOnSubmit:!e||e===eT,isOnBlur:e===J_,isOnChange:e===Q_,isOnAll:e===rT,isOnTouch:e===tT});const mT=(e,t,r,n)=>{for(const r of Object.keys(e)){const i=Y_(e,r);if(i){const{_f:e,...o}=i;if(e){if(e.refs&&e.refs[0]&&t(e.refs[0],r)&&!n)return!0;if(e.ref&&t(e.ref,e.name)&&!n)return!0;if(mT(o,t))break}else if(H_(o)&&mT(o,t))break}}};var bT=(e,t,r)=>{const n=pT(Y_(e,r));return Z_(n,"root",t[r]),Z_(e,r,n),e},wT=e=>hT(e),xT=e=>e instanceof RegExp;function OT(e,t,r="validate"){if(wT(e)||Array.isArray(e)&&e.every(wT)||X_(e)&&!e)return{type:r,message:wT(e)?e:"",ref:t}}var ST=e=>H_(e)&&!xT(e)?e:{value:e,message:""},jT=async(e,t,r,n,i)=>{const{ref:o,refs:a,required:c,maxLength:l,minLength:u,min:s,max:f,pattern:p,validate:h,name:d,valueAsNumber:y,mount:v,disabled:g}=e._f,m=Y_(t,d);if(!v||g)return{};const b=a?a[0]:o,w=e=>{n&&b.reportValidity&&(b.setCustomValidity(X_(e)?"":e||""),b.reportValidity())},x={};o.type,(e=>{e.type})(o);const O=(y||(e=>"file"===e.type)(o))&&q_(o.value)&&q_(m)||(e=>{if(!F_)return!1;const t=e?e.ownerDocument:0;return e instanceof(t&&t.defaultView?t.defaultView.HTMLElement:HTMLElement)})(o)&&""===o.value||""===m||Array.isArray(m)&&!m.length,S=dT.bind(null,d,r,x),j=(e,t,r,n=oT,i=aT)=>{const a=e?t:r;x[d]={type:e?n:i,message:a,ref:o,...S(e?n:i,a)}};if(!Array.isArray(m)||!m.length){const{value:e,message:t}=wT(c)?{value:!!c,message:c}:ST(c);if(e&&(x[d]={type:lT,message:t,ref:b,...S(lT,t)},!r))return w(t),x}if(!(O||$_(s)&&$_(f))){let e,t;const n=ST(f),i=ST(s);if($_(m)||isNaN(m)){const r=o.valueAsDate||new Date(m),a=e=>new Date((new Date).toDateString()+" "+e),c="time"==o.type,l="week"==o.type;hT(n.value)&&m&&(e=c?a(m)>a(n.value):l?m>n.value:r>new Date(n.value)),hT(i.value)&&m&&(t=c?a(m)<a(i.value):l?m<i.value:r<new Date(i.value))}else{const r=o.valueAsNumber||(m?+m:m);$_(n.value)||(e=r>n.value),$_(i.value)||(t=r<i.value)}if((e||t)&&(j(!!e,n.message,i.message,nT,iT),!r))return w(x[d].message),x}if((l||u)&&!O&&(hT(m)||Array.isArray(m))){const e=ST(l),t=ST(u),n=!$_(e.value)&&m.length>+e.value,i=!$_(t.value)&&m.length<+t.value;if((n||i)&&(j(n,e.message,t.message),!r))return w(x[d].message),x}if(p&&!O&&hT(m)){const{value:e,message:t}=ST(p);if(xT(e)&&!m.match(e)&&(x[d]={type:cT,message:t,ref:o,...S(cT,t)},!r))return w(t),x}if(h)if("function"==typeof h){const e=OT(await h(m,t),b);if(e&&(x[d]={...e,...S(uT,e.message)},!r))return w(e.message),x}else if(H_(h)){let e={};for(const n in h){if(!fT(e)&&!r)break;const i=OT(await h[n](m,t),b,n);i&&(e={...i,...S(n,i.message)},w(i.message),r&&(x[d]=e))}if(!fT(e)&&(x[d]={ref:b,...e},!r))return x}return w(!0),x},AT=(e,t)=>[...e,...pT(t)],PT=e=>Array.isArray(e)?e.map((()=>{})):void 0;function MT(e,t,r){return[...e.slice(0,t),...pT(r),...e.slice(t)]}var kT=(e,t,r)=>Array.isArray(e)?(q_(e[r])&&(e[r]=void 0),e.splice(r,0,e.splice(t,1)[0]),e):[],ET=(e,t)=>[...pT(t),...pT(e)];var CT=(e,t)=>q_(t)?[]:function(e,t){let r=0;const n=[...e];for(const e of t)n.splice(e-r,1),r++;return W_(n).length?n:[]}(e,pT(t).sort(((e,t)=>e-t))),_T=(e,t,r)=>{[e[t],e[r]]=[e[r],e[t]]};function TT(e,t){const r=Array.isArray(t)?t:K_(t)?[t]:G_(t),n=1===r.length?e:function(e,t){const r=t.slice(0,-1).length;let n=0;for(;n<r;)e=q_(e)?n++:e[t[n++]];return e}(e,r),i=r.length-1,o=r[i];return n&&delete n[o],0!==i&&(H_(n)&&fT(n)||Array.isArray(n)&&function(e){for(const t in e)if(e.hasOwnProperty(t)&&!q_(e[t]))return!1;return!0}(n))&&TT(e,r.slice(0,-1)),e}var DT=(e,t,r)=>(e[t]=r,e);function IT(e){const t=Q.useContext(sT),{control:r=t.control,name:n,keyName:i="id",shouldUnregister:o}=e,[a,c]=Q.useState(r._getFieldArray(n)),l=Q.useRef(r._getFieldArray(n).map(yT)),u=Q.useRef(a),s=Q.useRef(n),f=Q.useRef(!1);s.current=n,u.current=a,r._names.array.add(n),e.rules&&r.register(n,e.rules),function(e){const t=Q.useRef(e);t.current=e,Q.useEffect((()=>{const r=!e.disabled&&t.current.subject&&t.current.subject.subscribe({next:t.current.next});return()=>{r&&r.unsubscribe()}}),[e.disabled])}({next:({values:e,name:t})=>{if(t===s.current||!t){const t=Y_(e,s.current);Array.isArray(t)&&(c(t),l.current=t.map(yT))}},subject:r._subjects.array});const p=Q.useCallback((e=>{f.current=!0,r._updateFieldArray(n,e)}),[r,n]);return Q.useEffect((()=>{if(r._state.action=!1,((e,t,r)=>t.watchAll||t.watch.has(e)||[...t.watch].some((t=>e.startsWith(t)&&/^\.\w+/.test(e.slice(t.length)))))(n,r._names)&&r._subjects.state.next({...r._formState}),f.current&&(!gT(r._options.mode).isOnSubmit||r._formState.isSubmitted))if(r._options.resolver)r._executeSchema([n]).then((e=>{const t=Y_(e.errors,n),i=Y_(r._formState.errors,n);(i?!t&&i.type||t&&(i.type!==t.type||i.message!==t.message):t&&t.type)&&(t?Z_(r._formState.errors,n,t):TT(r._formState.errors,n),r._subjects.state.next({errors:r._formState.errors}))}));else{const e=Y_(r._fields,n);!e||!e._f||gT(r._options.reValidateMode).isOnSubmit&&gT(r._options.mode).isOnSubmit||jT(e,r._formValues,r._options.criteriaMode===rT,r._options.shouldUseNativeValidation).then((e=>!fT(e)&&r._subjects.state.next({errors:bT(r._formState.errors,e,n)})))}r._subjects.values.next({name:n,values:{...r._formValues}}),r._names.focus&&mT(r._fields,((e,t)=>{if(r._names.focus&&t.startsWith(r._names.focus)&&e.focus)return e.focus(),1})),r._names.focus="",r._updateValid(),f.current=!1}),[a,n,r]),Q.useEffect((()=>(!Y_(r._formValues,n)&&r._updateFieldArray(n),()=>{(r._options.shouldUnregister||o)&&r.unregister(n)})),[n,r,i,o]),{swap:Q.useCallback(((e,t)=>{const i=r._getFieldArray(n);_T(i,e,t),_T(l.current,e,t),p(i),c(i),r._updateFieldArray(n,i,_T,{argA:e,argB:t},!1)}),[p,n,r]),move:Q.useCallback(((e,t)=>{const i=r._getFieldArray(n);kT(i,e,t),kT(l.current,e,t),p(i),c(i),r._updateFieldArray(n,i,kT,{argA:e,argB:t},!1)}),[p,n,r]),prepend:Q.useCallback(((e,t)=>{const i=pT(U_(e)),o=ET(r._getFieldArray(n),i);r._names.focus=vT(n,0,t),l.current=ET(l.current,i.map(yT)),p(o),c(o),r._updateFieldArray(n,o,ET,{argA:PT(e)})}),[p,n,r]),append:Q.useCallback(((e,t)=>{const i=pT(U_(e)),o=AT(r._getFieldArray(n),i);r._names.focus=vT(n,o.length-1,t),l.current=AT(l.current,i.map(yT)),p(o),c(o),r._updateFieldArray(n,o,AT,{argA:PT(e)})}),[p,n,r]),remove:Q.useCallback((e=>{const t=CT(r._getFieldArray(n),e);l.current=CT(l.current,e),p(t),c(t),r._updateFieldArray(n,t,CT,{argA:e})}),[p,n,r]),insert:Q.useCallback(((e,t,i)=>{const o=pT(U_(t)),a=MT(r._getFieldArray(n),e,o);r._names.focus=vT(n,e,i),l.current=MT(l.current,e,o.map(yT)),p(a),c(a),r._updateFieldArray(n,a,MT,{argA:e,argB:PT(t)})}),[p,n,r]),update:Q.useCallback(((e,t)=>{const i=U_(t),o=DT(r._getFieldArray(n),e,i);l.current=[...o].map(((t,r)=>t&&r!==e?l.current[r]:yT())),p(o),c([...o]),r._updateFieldArray(n,o,DT,{argA:e,argB:i},!0,!1)}),[p,n,r]),replace:Q.useCallback((e=>{const t=pT(U_(e));l.current=t.map(yT),p([...t]),c([...t]),r._updateFieldArray(n,[...t],(e=>e),{},!0,!1)}),[p,n,r]),fields:Q.useMemo((()=>a.map(((e,t)=>({...e,[i]:l.current[t]||yT()})))),[a,i])}}const NT=({name:r,control:n,register:i,defaultValues:o,onArrayAppend:a,onArrayRemove:c})=>{const{fields:l,append:u,remove:s}=IT({control:n,name:r}),p=Object.keys(o).reduce(((e,t)=>({...e,[t]:o[t]})),{});return e(C,{children:[l.map(((n,o)=>t(C,{children:e(C,{pb:6,position:"relative",children:[Object.keys(n).filter((e=>"id"!==e)).map((e=>t(z_,{label:e,name:`${r}.${o}.${e}`,register:i},`${e}-${n.id}`))),t(f,{label:"Delete",children:t(v,{position:"absolute",top:"0",right:"0",children:t(d,{"aria-label":"Delete",size:"sm",variant:"ghost",onClick:()=>{s(o),c&&c(o)},minW:"2rem",p:"0",children:"X"})})})]})},n.id))),t(v,{children:t(d,{size:"sm",onClick:()=>{u(p),a&&a(p)},ml:"auto",children:"+"})})]})},LT=({data:r,dataKey:n,width:i="100%",height:o="100%",lineType:a="linear",showTooltip:c=!1,isAnimated:l=!1,formatter:u,labelFormatter:s,sampleRate:f,style:p})=>{const{isNetGain:h}=dr({data:r,dataKey:n}),d=on(),y=f?vr({arr:r||[],n:f}):r;let v,g;y?.length?(g=h?gr.mint():gr.heroicRed(),v=y?.map((e=>({...e,[n]:Number(e[n])||0})))):(g=gr.coolElegance(),v=[{[n]:0},{[n]:0}]);const m={cursor:c&&y?.length?"crosshair":"default",...p};return t(py,{width:i,minHeight:o,id:d,children:e(v_,{data:v,style:m,children:[t(gC,{domain:["dataMin","dataMax"],hide:!0}),t(ZE,{isAnimationActive:l,type:a,dataKey:n,stroke:g,strokeWidth:"2",activeDot:c?e=>m_({chartId:d,labelFormatter:s,formatter:u,...e}):void 0,dot:!1,scale:"threshold"}),y?.length&&c&&t(Ld,{cursor:!1,content:()=>null})]})})},BT=({isOpen:r,onClose:n,headerContent:i=null,footerContent:o=null,children:a,isCentered:c=!0,size:l={base:"md",md:"xl"},isDisabledCloseButton:u,bodyProps:s={},contentProps:f={},...p})=>{const h={maxHeight:"60vh",bg:"transparent",overflow:"scroll",...s},d={...{minWidth:ZT},...f};return e(_,{blockScrollOnMount:!1,scrollBehavior:"inside",isOpen:r,onClose:n,isCentered:c,size:l,...p,children:[t(T,{}),e(D,{...d,children:[t(I,{children:i}),t(N,{isDisabled:u}),t(L,{...h,children:a}),o&&t(B,{borderTop:"solid 1px",borderColor:gr.coolElegance(),children:o})]})]})},RT=e=>{const{isActive:r,children:n,href:i,...o}=e;return t(R,{display:"flex",as:R,borderRadius:"md",border:"solid 1px",bg:r?"brand.50":"transparent",borderColor:r?"brand.200":"transparent",boxShadow:r?`0 8px 16px 0 ${gr.black(.08)}`:"none",href:i,alignItems:"center",lineHeight:"1",position:"relative",padding:"2",zIndex:"3",transition:"border-color 0.25s",_hover:{borderColor:!r&&gr.coolElegance(),textDecoration:"none"},...o,children:n},i)};var zT,$T={exports:{}};zT=$T,function(e,t){zT.exports=t(Q)}(0,(e=>(()=>{var t={703:(e,t,r)=>{var n=r(414);function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,t,r,i,o,a){if(a!==n){var c=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}function t(){return e}e.isRequired=e;var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:i};return r.PropTypes=r,r}},697:(e,t,r)=>{e.exports=r(703)()},414:e=>{e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},98:t=>{t.exports=e}},r={};function n(e){var i=r[e];if(void 0!==i)return i.exports;var o=r[e]={exports:{}};return t[e](o,o.exports,n),o.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return(()=>{n.r(i),n.d(i,{default:()=>w});var e=n(98),t=n.n(e),r=n(697),o=n.n(r);function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a.apply(this,arguments)}var c=function(e){var r=e.pageClassName,n=e.pageLinkClassName,i=e.page,o=e.selected,c=e.activeClassName,l=e.activeLinkClassName,u=e.getEventListener,s=e.pageSelectedHandler,f=e.href,p=e.extraAriaContext,h=e.pageLabelBuilder,d=e.rel,y=e.ariaLabel||"Page "+i+(p?" "+p:""),v=null;return o&&(v="page",y=e.ariaLabel||"Page "+i+" is your current page",r=void 0!==r?r+" "+c:c,void 0!==n?void 0!==l&&(n=n+" "+l):n=l),t().createElement("li",{className:r},t().createElement("a",a({rel:d,role:f?void 0:"button",className:n,href:f,tabIndex:o?"-1":"0","aria-label":y,"aria-current":v,onKeyPress:s},u(s)),h(i)))};c.propTypes={pageSelectedHandler:o().func.isRequired,selected:o().bool.isRequired,pageClassName:o().string,pageLinkClassName:o().string,activeClassName:o().string,activeLinkClassName:o().string,extraAriaContext:o().string,href:o().string,ariaLabel:o().string,page:o().number.isRequired,getEventListener:o().func.isRequired,pageLabelBuilder:o().func.isRequired,rel:o().string};const l=c;function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},u.apply(this,arguments)}var s=function(e){var r=e.breakLabel,n=e.breakAriaLabel,i=e.breakClassName,o=e.breakLinkClassName,a=e.breakHandler,c=e.getEventListener,l=i||"break";return t().createElement("li",{className:l},t().createElement("a",u({className:o,role:"button",tabIndex:"0","aria-label":n,onKeyPress:a},c(a)),r))};s.propTypes={breakLabel:o().oneOfType([o().string,o().node]),breakAriaLabel:o().string,breakClassName:o().string,breakLinkClassName:o().string,breakHandler:o().func.isRequired,getEventListener:o().func.isRequired};const f=s;function p(e){return null!=e?e:arguments.length>1&&void 0!==arguments[1]?arguments[1]:""}function h(e){return h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},h(e)}function d(){return d=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},d.apply(this,arguments)}function y(e,t){return y=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},y(e,t)}function v(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g(e){return g=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},g(e)}function m(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var b=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&y(e,t)}(c,e);var r,n,i,o,a=(i=c,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=g(i);if(o){var r=g(this).constructor;e=Reflect.construct(t,arguments,r)}else e=t.apply(this,arguments);return function(e,t){if(t&&("object"===h(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return v(e)}(this,e)});function c(e){var r,n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),m(v(r=a.call(this,e)),"handlePreviousPage",(function(e){var t=r.state.selected;r.handleClick(e,null,t>0?t-1:void 0,{isPrevious:!0})})),m(v(r),"handleNextPage",(function(e){var t=r.state.selected,n=r.props.pageCount;r.handleClick(e,null,t<n-1?t+1:void 0,{isNext:!0})})),m(v(r),"handlePageSelected",(function(e,t){if(r.state.selected===e)return r.callActiveCallback(e),void r.handleClick(t,null,void 0,{isActive:!0});r.handleClick(t,null,e)})),m(v(r),"handlePageChange",(function(e){r.state.selected!==e&&(r.setState({selected:e}),r.callCallback(e))})),m(v(r),"getEventListener",(function(e){return m({},r.props.eventListener,e)})),m(v(r),"handleClick",(function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=i.isPrevious,a=void 0!==o&&o,c=i.isNext,l=void 0!==c&&c,u=i.isBreak,s=void 0!==u&&u,f=i.isActive,p=void 0!==f&&f;e.preventDefault?e.preventDefault():e.returnValue=!1;var h=r.state.selected,d=r.props.onClick,y=n;if(d){var v=d({index:t,selected:h,nextSelectedPage:n,event:e,isPrevious:a,isNext:l,isBreak:s,isActive:p});if(!1===v)return;Number.isInteger(v)&&(y=v)}void 0!==y&&r.handlePageChange(y)})),m(v(r),"handleBreakClick",(function(e,t){var n=r.state.selected;r.handleClick(t,e,n<e?r.getForwardJump():r.getBackwardJump(),{isBreak:!0})})),m(v(r),"callCallback",(function(e){void 0!==r.props.onPageChange&&"function"==typeof r.props.onPageChange&&r.props.onPageChange({selected:e})})),m(v(r),"callActiveCallback",(function(e){void 0!==r.props.onPageActive&&"function"==typeof r.props.onPageActive&&r.props.onPageActive({selected:e})})),m(v(r),"getElementPageRel",(function(e){var t=r.state.selected,n=r.props,i=n.nextPageRel,o=n.prevPageRel,a=n.selectedPageRel;return t-1===e?o:t===e?a:t+1===e?i:void 0})),m(v(r),"pagination",(function(){var e=[],n=r.props,i=n.pageRangeDisplayed,o=n.pageCount,a=n.marginPagesDisplayed,c=n.breakLabel,l=n.breakClassName,u=n.breakLinkClassName,s=n.breakAriaLabels,p=r.state.selected;if(o<=i)for(var h=0;h<o;h++)e.push(r.getPageElement(h));else{var d=i/2,y=i-d;p>o-i/2?d=i-(y=o-p):p<i/2&&(y=i-(d=p));var v,g,m=function(e){return r.getPageElement(e)},b=[];for(v=0;v<o;v++){var w=v+1;if(w<=a)b.push({type:"page",index:v,display:m(v)});else if(w>o-a)b.push({type:"page",index:v,display:m(v)});else if(v>=p-d&&v<=p+(0===p&&i>1?y-1:y))b.push({type:"page",index:v,display:m(v)});else if(c&&b.length>0&&b[b.length-1].display!==g&&(i>0||a>0)){var x=v<p?s.backward:s.forward;g=t().createElement(f,{key:v,breakAriaLabel:x,breakLabel:c,breakClassName:l,breakLinkClassName:u,breakHandler:r.handleBreakClick.bind(null,v),getEventListener:r.getEventListener}),b.push({type:"break",index:v,display:g})}}b.forEach((function(t,r){var n=t;"break"===t.type&&b[r-1]&&"page"===b[r-1].type&&b[r+1]&&"page"===b[r+1].type&&b[r+1].index-b[r-1].index<=2&&(n={type:"page",index:t.index,display:m(t.index)}),e.push(n.display)}))}return e})),void 0!==e.initialPage&&void 0!==e.forcePage&&console.warn("(react-paginate): Both initialPage (".concat(e.initialPage,") and forcePage (").concat(e.forcePage,") props are provided, which is discouraged.")+" Use exclusively forcePage prop for a controlled component.\nSee https://reactjs.org/docs/forms.html#controlled-components"),n=e.initialPage?e.initialPage:e.forcePage?e.forcePage:0,r.state={selected:n},r}return r=c,(n=[{key:"componentDidMount",value:function(){var e=this.props,t=e.initialPage,r=e.disableInitialCallback,n=e.extraAriaContext,i=e.pageCount,o=e.forcePage;void 0===t||r||this.callCallback(t),n&&console.warn("DEPRECATED (react-paginate): The extraAriaContext prop is deprecated. You should now use the ariaLabelBuilder instead."),Number.isInteger(i)||console.warn("(react-paginate): The pageCount prop value provided is not an integer (".concat(i,"). Did you forget a Math.ceil()?")),void 0!==t&&t>i-1&&console.warn("(react-paginate): The initialPage prop provided is greater than the maximum page index from pageCount prop (".concat(t," > ").concat(i-1,").")),void 0!==o&&o>i-1&&console.warn("(react-paginate): The forcePage prop provided is greater than the maximum page index from pageCount prop (".concat(o," > ").concat(i-1,")."))}},{key:"componentDidUpdate",value:function(e){void 0!==this.props.forcePage&&this.props.forcePage!==e.forcePage&&(this.props.forcePage>this.props.pageCount-1&&console.warn("(react-paginate): The forcePage prop provided is greater than the maximum page index from pageCount prop (".concat(this.props.forcePage," > ").concat(this.props.pageCount-1,").")),this.setState({selected:this.props.forcePage})),Number.isInteger(e.pageCount)&&!Number.isInteger(this.props.pageCount)&&console.warn("(react-paginate): The pageCount prop value provided is not an integer (".concat(this.props.pageCount,"). Did you forget a Math.ceil()?"))}},{key:"getForwardJump",value:function(){var e=this.state.selected,t=this.props,r=t.pageCount,n=e+t.pageRangeDisplayed;return n>=r?r-1:n}},{key:"getBackwardJump",value:function(){var e=this.state.selected-this.props.pageRangeDisplayed;return e<0?0:e}},{key:"getElementHref",value:function(e){var t=this.props,r=t.hrefBuilder,n=t.pageCount,i=t.hrefAllControls;if(r)return i||e>=0&&e<n?r(e+1,n,this.state.selected):void 0}},{key:"ariaLabelBuilder",value:function(e){var t=e===this.state.selected;if(this.props.ariaLabelBuilder&&e>=0&&e<this.props.pageCount){var r=this.props.ariaLabelBuilder(e+1,t);return this.props.extraAriaContext&&!t&&(r=r+" "+this.props.extraAriaContext),r}}},{key:"getPageElement",value:function(e){var r=this.state.selected,n=this.props,i=n.pageClassName,o=n.pageLinkClassName,a=n.activeClassName,c=n.activeLinkClassName,u=n.extraAriaContext,s=n.pageLabelBuilder;return t().createElement(l,{key:e,pageSelectedHandler:this.handlePageSelected.bind(null,e),selected:r===e,rel:this.getElementPageRel(e),pageClassName:i,pageLinkClassName:o,activeClassName:a,activeLinkClassName:c,extraAriaContext:u,href:this.getElementHref(e),ariaLabel:this.ariaLabelBuilder(e),page:e+1,pageLabelBuilder:s,getEventListener:this.getEventListener})}},{key:"render",value:function(){var e=this.props.renderOnZeroPageCount;if(0===this.props.pageCount&&void 0!==e)return e?e(this.props):e;var r=this.props,n=r.disabledClassName,i=r.disabledLinkClassName,o=r.pageCount,a=r.className,c=r.containerClassName,l=r.previousLabel,u=r.previousClassName,s=r.previousLinkClassName,f=r.previousAriaLabel,h=r.prevRel,y=r.nextLabel,v=r.nextClassName,g=r.nextLinkClassName,m=r.nextAriaLabel,b=r.nextRel,w=this.state.selected,x=0===w,O=w===o-1,S="".concat(p(u)).concat(x?" ".concat(p(n)):""),j="".concat(p(v)).concat(O?" ".concat(p(n)):""),A="".concat(p(s)).concat(x?" ".concat(p(i)):""),P="".concat(p(g)).concat(O?" ".concat(p(i)):""),M=x?"true":"false",k=O?"true":"false";return t().createElement("ul",{className:a||c,role:"navigation","aria-label":"Pagination"},t().createElement("li",{className:S},t().createElement("a",d({className:A,href:this.getElementHref(w-1),tabIndex:x?"-1":"0",role:"button",onKeyPress:this.handlePreviousPage,"aria-disabled":M,"aria-label":f,rel:h},this.getEventListener(this.handlePreviousPage)),l)),this.pagination(),t().createElement("li",{className:j},t().createElement("a",d({className:P,href:this.getElementHref(w+1),tabIndex:O?"-1":"0",role:"button",onKeyPress:this.handleNextPage,"aria-disabled":k,"aria-label":m,rel:b},this.getEventListener(this.handleNextPage)),y)))}}])&&function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(r.prototype,n),Object.defineProperty(r,"prototype",{writable:!1}),c}(e.Component);m(b,"propTypes",{pageCount:o().number.isRequired,pageRangeDisplayed:o().number,marginPagesDisplayed:o().number,previousLabel:o().node,previousAriaLabel:o().string,prevPageRel:o().string,prevRel:o().string,nextLabel:o().node,nextAriaLabel:o().string,nextPageRel:o().string,nextRel:o().string,breakLabel:o().oneOfType([o().string,o().node]),breakAriaLabels:o().shape({forward:o().string,backward:o().string}),hrefBuilder:o().func,hrefAllControls:o().bool,onPageChange:o().func,onPageActive:o().func,onClick:o().func,initialPage:o().number,forcePage:o().number,disableInitialCallback:o().bool,containerClassName:o().string,className:o().string,pageClassName:o().string,pageLinkClassName:o().string,pageLabelBuilder:o().func,activeClassName:o().string,activeLinkClassName:o().string,previousClassName:o().string,nextClassName:o().string,previousLinkClassName:o().string,nextLinkClassName:o().string,disabledClassName:o().string,disabledLinkClassName:o().string,breakClassName:o().string,breakLinkClassName:o().string,extraAriaContext:o().string,ariaLabelBuilder:o().func,eventListener:o().string,renderOnZeroPageCount:o().func,selectedPageRel:o().string}),m(b,"defaultProps",{pageRangeDisplayed:2,marginPagesDisplayed:3,activeClassName:"selected",previousLabel:"Previous",previousClassName:"previous",previousAriaLabel:"Previous page",prevPageRel:"prev",prevRel:"prev",nextLabel:"Next",nextClassName:"next",nextAriaLabel:"Next page",nextPageRel:"next",nextRel:"next",breakLabel:"...",breakAriaLabels:{forward:"Jump forward",backward:"Jump backward"},disabledClassName:"disabled",disableInitialCallback:!1,pageLabelBuilder:function(e){return e},eventListener:"onClick",renderOnZeroPageCount:void 0,selectedPageRel:"canonical",hrefAllControls:!1});const w=b})(),i})()));const HT=n(Gt($T.exports)),VT=({totalRecords:e=0,recordsPerPage:r=10,pageRangeDisplayed:n=3,handlePageClick:i,forcePage:o,...a})=>{const c=Math.ceil(e/r);return t(v,{justifyContent:{base:"center",md:"flex-end"},fontSize:{base:14,md:18},gap:2,w:"full",...a,children:t(HT,{breakLabel:"...",previousLabel:"<",nextLabel:">",onPageChange:i,pageRangeDisplayed:n,pageCount:c,renderOnZeroPageCount:null,forcePage:o,display:{base:"flex"},alignItems:"center",gap:"inherit",disabledLinkClassName:"disabled-pagination",pageLinkClassName:"pagination-link",activeClassName:"active-page",previousClassName:"previous-page-button",nextClassName:"next-page-button",sx:{listStyleType:"none",".pagination-link:hover":{backgroundColor:"brand.700"},".previous-page-button a, .next-page-button a, .pagination-link":{backgroundColor:"brand.300",borderRadius:4,color:gr.white()},".previous-page-button a, .next-page-button a":{minWidth:"2rem",display:"inline-block",textAlign:"center",paddingX:{base:2,lg:2.5}},".pagination-link":{minWidth:"2.5rem",display:"inline-block",textAlign:"center",paddingX:{base:2.5,lg:3}},".active-page a":{backgroundColor:"brand.500"},".disabled-pagination":{backgroundColor:"gray.300 !important",cursor:"not-allowed !important"}}})})},FT=({isLoading:r,hasMore:n,setLastEvaluatedKeyParams:i,lastEvaluatedKey:o,...a})=>{const[c,l]=ae([]),[u,s]=ae(1);return e(v,{w:"full",justifyContent:"flex-end",alignItems:"center",direction:"row",gap:4,...a,children:[t(d,{onClick:()=>{if(2===u)return i(void 0),l([]),void s((e=>e-1));const e=c.length-1,t=c[e-1];i(t),l((e=>e.slice(0,-1))),s((e=>e-1))},isDisabled:r||1===u,children:"Previous"}),t(d,{onClick:()=>{if(o){const e={lastEvaluatedPKey:o.pKey,lastEvaluatedSKey:o.sKey};i(e),l((t=>[...t,e])),s((e=>e+1))}},isDisabled:r||!n,children:"Next"})]})},UT=({children:e,isEnabled:r=!0,...n})=>{const i=r?ye`
18
18
  text-wrap: balance;
19
19
  text-wrap: pretty;
20
- `:void 0;return t(v,{w:"full",css:i,...n,children:e})},FT=r=>{const{children:n,size:i,isDisabled:o,isReadOnly:a,isRequired:c,name:l,register:u,errorMessage:s,helperText:f,label:p,...h}=r,d=hr(i),y=u?u(l):void 0;return e(m,{isInvalid:Boolean(s),isDisabled:o,isReadOnly:a,isRequired:c,children:[p&&t(b,{size:i,children:p}),t(z,{icon:t(Oe,{}),size:i,...y,...h,children:n}),s&&t(x,{size:i,children:s}),f&&t(E,{fontSize:d,children:f})]})},UT=$({from:{transform:"rotate(0deg)"},to:{transform:"rotate(360deg)"}}),WT=({boxSize:e=8,color:r="brand",...n})=>{const i="neutral"===r?yr.sonicSilver():"brand.500";return t(v,{width:"full",justifyContent:"center",alignItems:"center",minHeight:Number.isFinite(Number(e))?3*Number(e):`calc(${e} * 3)`,...n,children:t(v,{width:e,height:e,animation:`${UT} 2000ms infinite linear`,children:t(pt,{boxSize:e,__css:{path:{fill:i}}})})})},qT=r=>{const{label:n,rightIcon:i,leftIcon:o,onClose:a,...c}=r,[l,u]=ae(!0);return l?e(H,{className:"cf-tag",...c,children:[o&&t(V,{as:o}),t(F,{children:n}),i&&t(U,{as:i}),a&&t(W,{onClick:()=>{a(),u(!1)}})]}):null},YT=({description:r,title:n,onClose:i,isClosable:o,status:a})=>{let c,l;switch(a){case"error":l=ve;break;case"success":l=Me;break;case"warning":l=qe,c="yellow";break;case"loading":c="brand",l=Z;break;default:c="brand",l=qe}return e(q,{as:v,colorScheme:c,justifyContent:"space-between",status:a,children:[e(v,{alignItems:"center",mr:"4",children:[t(Y,{children:t(l,{size:"sm"})}),e(C,{children:[t(X,{children:n}),t(K,{children:r})]})]}),o&&t(G,{onClick:i})]})},XT=()=>{const e=u({ssr:!1}),t="base"===e||"sm"===e,r="md"===e,n="lg"===e||"xl"===e||"2xl"===e;return{breakpoint:e,isSmallBreakpoint:t,isMediumBreakpoint:r,isLargeBreakpoint:n,isAboveSmallBreakpoint:r||n,isBelowLargeBreakpoint:r||t}},KT="22rem",GT={dateOnly:"MM/DD/YY",dateWithTime:"MM/DD/YYYY h:mm A",shortDateWithTime:"MMM D, h:mm A",shortDateWithYear:"MMM D, YYYY"};export{g_ as CfAreaChart,m_ as CfBreakpointDebugger,b_ as CfButtonGroup,w_ as CfButtonGroupButton,x_ as CfCard,O_ as CfCarousel,S_ as CfCheckbox,j_ as CfForm,B_ as CfInput,DT as CfInputArray,NT as CfLineChart,IT as CfModal,LT as CfNavLink,$T as CfOpenSearchPagination,HT as CfPagination,VT as CfPrettyWrap,FT as CfSelect,WT as CfSpinner,qT as CfTag,YT as CfToast,ve as IconAlert,ge as IconArrowDown,me as IconArrowUp,mt as IconAvax,be as IconBank,we as IconBarChart,bt as IconBch,wt as IconBtc,xe as IconCalendar,Oe as IconCaretDown,Se as IconCaretLeft,je as IconCaretRight,Ae as IconCaretUp,Pe as IconCent,Me as IconCheck,ke as IconChecking,Ee as IconCircleCheck,Ce as IconClose,_e as IconConnect,Te as IconCopy,De as IconDollar,Ne as IconDollarBill,Ie as IconDownload,Le as IconEdit,Be as IconEnter,Re as IconEnterInverted,xt as IconEth,ze as IconExchange,$e as IconFilter,He as IconHelp,Ve as IconHistory,Fe as IconHome,Ue as IconIndicatorDown,We as IconIndicatorUp,qe as IconInfo,Ot as IconLink,Ye as IconLock,St as IconLtc,Xe as IconMail,Ke as IconMenu,Ge as IconMinus,Ze as IconMore,Je as IconNotification,Qe as IconOverview,et as IconPercent,tt as IconPieChart,rt as IconPlus,gt as IconRefresh,nt as IconReports,it as IconReservesSuccess,ot as IconReservesWarning,at as IconSearch,ct as IconSettings,lt as IconSettlement,ut as IconSignIn,st as IconSignOut,ft as IconSort,pt as IconSpinner,ht as IconSupport,dt as IconTrash,yt as IconUpload,vt as IconUser,jt as IconXlm,At as IconXrp,qt as aggregateAmounts,Jr as coreTheme,GT as dateFormats,rr as dateToTimestamp,nr as formatPercentage,Qr as formatPhoneNumber,fr as formatUsd,pr as getDelta,KT as layoutMinWidth,dr as pullFromEnd,yr as uiColors,gr as usdToNumber,XT as useCfBreakpoint,mr as utcDateToLocal};
20
+ `:void 0;return t(v,{w:"full",css:i,...n,children:e})},WT=r=>{const{children:n,size:i,isDisabled:o,isReadOnly:a,isRequired:c,name:l,register:u,errorMessage:s,helperText:f,label:p,...h}=r,d=yr(i),y=u?u(l):void 0;return e(m,{isInvalid:Boolean(s),isDisabled:o,isReadOnly:a,isRequired:c,children:[p&&t(b,{size:i,children:p}),t(z,{icon:t(Oe,{}),size:i,...y,...h,children:n}),s&&t(x,{size:i,children:s}),f&&t(E,{fontSize:d,children:f})]})},qT=$({from:{transform:"rotate(0deg)"},to:{transform:"rotate(360deg)"}}),YT=({boxSize:e=8,color:r="brand",...n})=>{const i="neutral"===r?gr.sonicSilver():"brand.500";return t(v,{width:"full",justifyContent:"center",alignItems:"center",minHeight:Number.isFinite(Number(e))?3*Number(e):`calc(${e} * 3)`,...n,children:t(v,{width:e,height:e,animation:`${qT} 2000ms infinite linear`,children:t(pt,{boxSize:e,__css:{path:{fill:i}}})})})},XT=r=>{const{label:n,rightIcon:i,leftIcon:o,onClose:a,...c}=r,[l,u]=ae(!0);return l?e(H,{className:"cf-tag",...c,children:[o&&t(V,{as:o}),t(F,{children:n}),i&&t(U,{as:i}),a&&t(W,{onClick:()=>{a(),u(!1)}})]}):null},KT=({description:r,title:n,onClose:i,isClosable:o,status:a})=>{let c,l;switch(a){case"error":l=ve;break;case"success":l=Me;break;case"warning":l=qe,c="yellow";break;case"loading":c="brand",l=Z;break;default:c="brand",l=qe}return e(q,{as:v,colorScheme:c,justifyContent:"space-between",status:a,children:[e(v,{alignItems:"center",mr:"4",children:[t(Y,{children:t(l,{size:"sm"})}),e(C,{children:[t(X,{children:n}),t(K,{children:r})]})]}),o&&t(G,{onClick:i})]})},GT=()=>{const e=u({ssr:!1}),t="base"===e||"sm"===e,r="md"===e,n="lg"===e||"xl"===e||"2xl"===e;return{breakpoint:e,isSmallBreakpoint:t,isMediumBreakpoint:r,isLargeBreakpoint:n,isAboveSmallBreakpoint:r||n,isBelowLargeBreakpoint:r||t}},ZT="22rem",JT={dateOnly:"MM/DD/YY",dateWithTime:"MM/DD/YYYY h:mm A",shortDateWithTime:"MMM D, h:mm A",shortDateWithYear:"MMM D, YYYY"};export{b_ as CfAreaChart,w_ as CfBreakpointDebugger,x_ as CfButtonGroup,O_ as CfButtonGroupButton,S_ as CfCard,j_ as CfCarousel,A_ as CfCheckbox,P_ as CfForm,z_ as CfInput,NT as CfInputArray,LT as CfLineChart,BT as CfModal,RT as CfNavLink,VT as CfOpenSearchPagination,FT as CfPagination,UT as CfPrettyWrap,WT as CfSelect,YT as CfSpinner,XT as CfTag,KT as CfToast,ve as IconAlert,mt as IconAlgo,ge as IconArrowDown,me as IconArrowUp,bt as IconAvax,be as IconBank,we as IconBarChart,wt as IconBch,xt as IconBtc,xe as IconCalendar,Oe as IconCaretDown,Se as IconCaretLeft,je as IconCaretRight,Ae as IconCaretUp,Pe as IconCent,Me as IconCheck,ke as IconChecking,Ee as IconCircleCheck,Ce as IconClose,_e as IconConnect,Te as IconCopy,De as IconDollar,Ie as IconDollarBill,Ne as IconDownload,Le as IconEdit,Be as IconEnter,Re as IconEnterInverted,Ot as IconEth,ze as IconExchange,$e as IconFilter,He as IconHelp,Ve as IconHistory,Fe as IconHome,Ue as IconIndicatorDown,We as IconIndicatorUp,qe as IconInfo,St as IconLink,Ye as IconLock,jt as IconLtc,Xe as IconMail,Ke as IconMenu,Ge as IconMinus,At as IconMkr,Ze as IconMore,Je as IconNotification,Qe as IconOverview,et as IconPercent,tt as IconPieChart,rt as IconPlus,gt as IconRefresh,nt as IconReports,it as IconReservesSuccess,ot as IconReservesWarning,at as IconSearch,ct as IconSettings,lt as IconSettlement,ut as IconSignIn,st as IconSignOut,ft as IconSort,pt as IconSpinner,ht as IconSupport,dt as IconTrash,yt as IconUpload,vt as IconUser,Pt as IconXlm,Mt as IconXrp,Xt as aggregateAmounts,en as coreTheme,JT as dateFormats,ir as dateToTimestamp,or as formatPercentage,tn as formatPhoneNumber,hr as formatUsd,dr as getDelta,ZT as layoutMinWidth,vr as pullFromEnd,gr as uiColors,br as usdToNumber,GT as useCfBreakpoint,wr as utcDateToLocal};
21
21
  //# sourceMappingURL=index.js.map