@cryptofi/core-ui 1.2.4 → 1.3.0
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 +6 -3
- package/dist/index.js.map +1 -1
- package/dist/types/index.d.ts +15 -9
- package/package.json +12 -12
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";const ye=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"})})})]}))),ve=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"})})})]}))),ge=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"})})})]}))),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(#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"})})})]}))),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:[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"})})})]}))),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(#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"})})})]}))),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(#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"})})})]}))),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(#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"})})})]}))),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(#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"})})})]}))),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(#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"})})})]}))),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:[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"})})})]}))),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:[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"})})})]}))),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(#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"})})})]}))),ke=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"})})]})]}))),Ee=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"})})})]}))),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(#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"})})})]}))),_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(#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"})})})]}))),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(#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"})})})]}))),De=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"})})})]}))),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(#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"})})})]}))),Le=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"})}))),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:"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"})}))),Re=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"})})})]}))),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",{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"})})})]}))),$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:[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"})})})]}))),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:[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"})})})]}))),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(#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"})})})]}))),Fe=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"})}))),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 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"})}))),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(#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"})})})]}))),qe=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"})})]})]}))),Ye=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"})})})]}))),Xe=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"})}))),Ke=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"})}))),Ge=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"})})})]}))),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",{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"})})})]}))),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(#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"})})})]}))),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("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"})]}))),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:[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"})})})]}))),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:[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"})})})]}))),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(#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"})})})]}))),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(#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"})})})]}))),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(#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"})})})]}))),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(#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"})})})]}))),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:[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"})})})]}))),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:[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"})})})]}))),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:[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"})})})]}))),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(#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"})})})]}))),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:[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"})})})]}))),ft=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"})}))),pt=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"})}))),ht=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"})})})]}))),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(#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"})})})]}))),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:[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"})})})]}))),vt=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"})}))),gt=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"})]}))),mt=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"}})]}))),bt=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"})]})}))),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 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"})]})}))),xt=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"}})})}))),Ot=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"}})]}))),St=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"})})})}))),jt=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 At(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 At(e,t)},toPart:n,extend:function(...r){for(const e of r)e in t||(t[e]=n(e));return At(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 Pt=At("accordion").parts("root","container","button","panel").extend("icon"),Mt=At("alert").parts("title","description","container").extend("icon","spinner");At("avatar").parts("label","badge","container").extend("excessLabel","group"),At("breadcrumb").parts("link","item","container").extend("separator"),At("button").parts();var kt=At("checkbox").parts("control","icon","container").extend("label");At("progress").parts("track","filledTrack").extend("label"),At("drawer").parts("overlay","dialogContainer","dialog").extend("header","closeButton","body","footer"),At("editable").parts("preview","input","textarea"),At("form").parts("container","requiredIndicator","helperText"),At("formError").parts("text","icon");var Et=At("input").parts("addon","field","element","group");At("list").parts("container","item","icon"),At("menu").parts("button","list","item").extend("groupTitle","icon","command","divider"),At("modal").parts("overlay","dialogContainer","dialog").extend("header","closeButton","body","footer"),At("numberinput").parts("root","field","stepperGroup","stepper"),At("pininput").parts("field"),At("popover").parts("content","header","body","footer").extend("popper","arrow","closeButton"),At("progress").parts("label","filledTrack","track"),At("radio").parts("container","control","label");var Ct=At("select").parts("field","icon");At("slider").parts("container","track","thumb","filledTrack","mark"),At("stat").parts("container","label","helpText","number","icon"),At("switch").parts("container","track","thumb","label"),At("table").parts("table","thead","tbody","tr","th","td","tfoot","caption"),At("tabs").parts("root","tab","tablist","tabpanel","tabpanels","indicator");var _t=At("tag").parts("container","label","closeButton");At("card").parts("container","header","body","footer"),At("stepper").parts("stepper","step","title","description","indicator","separator","icon","number");var Tt=1e6,Dt=1e6,Nt="[big.js] ",It=Nt+"Invalid ",Lt=It+"decimal places",Bt=It+"rounding mode",Rt=Nt+"Division by zero",zt={},$t=void 0,Ht=/^-?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i;function Vt(e,t,r,n){var i=e.c;if(r===$t&&(r=e.constructor.RM),0!==r&&1!==r&&2!==r&&3!==r)throw Error(Bt);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]!==$t))),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]!==$t||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 Ft(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}zt.abs=function(){var e=new this.constructor(this);return e.s=1,e},zt.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},zt.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>Tt)throw Error(Lt);if(!i[0])throw Error(Rt);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]!==$t)&&o--);return m[0]||1==b||(m.shift(),g.e--,w--),b>w&&Vt(g,w,r.RM,y[0]!==$t),g},zt.eq=function(e){return 0===this.cmp(e)},zt.gt=function(e){return this.cmp(e)>0},zt.gte=function(e){return this.cmp(e)>-1},zt.lt=function(e){return this.cmp(e)<0},zt.lte=function(e){return this.cmp(e)<1},zt.minus=zt.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},zt.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(Rt);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)))},zt.neg=function(){var e=new this.constructor(this);return e.s=-e.s,e},zt.plus=zt.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},zt.pow=function(e){var t=this,r=new t.constructor("1"),n=r,i=e<0;if(e!==~~e||e<-1e6||e>Dt)throw Error(It+"exponent");for(i&&(e=-e);1&e&&(n=n.times(t)),e>>=1;)t=t.times(t);return i?r.div(n):n},zt.prec=function(e,t){if(e!==~~e||e<1||e>Tt)throw Error(It+"precision");return Vt(new this.constructor(this),e,t)},zt.round=function(e,t){if(e===$t)e=0;else if(e!==~~e||e<-Tt||e>Tt)throw Error(Lt);return Vt(new this.constructor(this),e+this.e+1,t)},zt.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(Nt+"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 Vt(e,(i.DP-=4)+e.e+1,i.RM)},zt.times=zt.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},zt.toExponential=function(e,t){var r=this,n=r.c[0];if(e!==$t){if(e!==~~e||e<0||e>Tt)throw Error(Lt);for(r=Vt(new r.constructor(r),++e,t);r.c.length<e;)r.c.push(0)}return Ft(r,!0,!!n)},zt.toFixed=function(e,t){var r=this,n=r.c[0];if(e!==$t){if(e!==~~e||e<0||e>Tt)throw Error(Lt);for(e=e+(r=Vt(new r.constructor(r),e+r.e+1,t)).e+1;r.c.length<e;)r.c.push(0)}return Ft(r,!1,!!n)},zt[Symbol.for("nodejs.util.inspect.custom")]=zt.toJSON=zt.toString=function(){var e=this,t=e.constructor;return Ft(e,e.e<=t.NE||e.e>=t.PE,!!e.c[0])},zt.toNumber=function(){var e=Number(Ft(this,!0,!0));if(!0===this.constructor.strict&&!this.eq(e.toString()))throw Error(Nt+"Imprecise conversion");return e},zt.toPrecision=function(e,t){var r=this,n=r.constructor,i=r.c[0];if(e!==$t){if(e!==~~e||e<1||e>Tt)throw Error(It+"precision");for(r=Vt(new n(r),e,t);r.c.length<e;)r.c.push(0)}return Ft(r,e<=r.e||r.e<=n.NE||r.e>=n.PE,!!i)},zt.valueOf=function(){var e=this,t=e.constructor;if(!0===t.strict)throw Error(Nt+"valueOf disallowed");return Ft(e,e.e<=t.NE||e.e>=t.PE,!0)};var Ut=function e(){function t(r){var n=this;if(!(n instanceof t))return r===$t?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(It+"value");r=0===r&&1/r<0?"-0":String(r)}!function(e,t){var r,n,i;if(!Ht.test(t))throw Error(It+"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=zt,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 Wt=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 Ut(0)).toNumber()};var qt="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function Yt(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Xt={exports:{}};Xt.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 Kt,Gt,Zt,Jt=Yt(Xt.exports),Qt={exports:{}};Qt.exports=(Kt="minute",Gt=/[+-]\d\d(?::?\d\d)?/g,Zt=/([+-]|\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(),Kt):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(Gt);if(!t)return null;var r=(""+t[0]).match(Zt)||["-",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,Kt)).$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 er=Yt(Qt.exports);Jt.extend(er);const tr=({timeString:e,toEndDate:t})=>""===e?"":t?Jt(`${e}T23:59:59`).utc().unix().toString():Jt(e).utc().unix().toString(),rr=({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:Ut(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 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())};
|
|
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 nr={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},ir=function(e){return Math.round(e)},or=function(e){return Math.pow(10,e)},ar=/(\d)(?=(\d{3})+\b)/g,cr=/(\d)(?=(\d\d)+\d\b)/g;function lr(e,t){var r=this;if(!(r instanceof lr))return new lr(e,t);var n=Object.assign({},nr,t),i=or(n.precision),o=ur(e,n);r.intValue=o,r.value=o/i,n.increment=n.increment||1/i,n.useVedic?n.groups=cr:n.groups=ar,this.s=n,this.p=i}function ur(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=or(a),u="number"==typeof e,s=e instanceof lr;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?ir(n):n}lr.prototype={add:function(e){var t=this.intValue,r=this.s,n=this.p;return lr((t+=ur(e,r))/(r.fromCents?1:n),r)},subtract:function(e){var t=this.intValue,r=this.s,n=this.p;return lr((t-=ur(e,r))/(r.fromCents?1:n),r)},multiply:function(e){var t=this.intValue,r=this.s;return lr((t*=e)/(r.fromCents?1:or(r.precision)),r)},divide:function(e){var t=this.intValue,r=this.s;return lr(t/=ur(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=lr(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,ir(e/t)*t).toFixed(i.precision)},toJSON:function(){return this.value}};const sr=({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=lr(i,{precision:t&&i>-1&&i<1&&0!==i?5:r}).format();return n&&i>0?`+${o}`:o},fr=({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 Ut(r),o=new Ut(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)}},pr=e=>{let t;return["sm","xs"].includes(e)&&(t="xs"),t},hr=({arr:e,n:t})=>{const r=mr(e);return mr(r.filter(((e,r)=>r%t==0)))},dr={redRemains:(e=1)=>yr({rgb:"rgb(255, 223, 223)",alpha:e}),heroicRed:(e=1)=>yr({rgb:"rgb(210, 25, 25)",alpha:e}),aijiroWhite:(e=1)=>yr({rgb:"rgb(238, 248, 247)",alpha:e}),mint:(e=1)=>yr({rgb:"rgb(64, 178, 136)",alpha:e}),white:(e=1)=>yr({rgb:"rgb(255, 255, 255)",alpha:e,enabledAlphaValues:[.2]}),lighthouse:(e=1)=>yr({rgb:"rgb(244, 244, 244)",alpha:e}),coolElegance:(e=1)=>yr({rgb:"rgb(205, 207, 209)",alpha:e}),sonicSilver:(e=1)=>yr({rgb:"rgb(117, 117, 117)",alpha:e}),black:(e=1)=>yr({rgb:"rgb(0, 0, 0)",alpha:e,enabledAlphaValues:[.08]})},yr=({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})`},vr=({usd:e,precision:t=2,autoPrecision:r})=>{const n=lr(e).value;return lr(e,{precision:r&&n>-1&&n<1&&0!==n?5:t}).value};Jt.extend(er);const gr=({dateFormat:e="MM/DD/YY",timeString:t})=>Jt.utc(t).local().format(e),mr=e=>Array.from(e).reverse(),{definePartsStyle:br,defineMultiStyleConfig:wr}=i(Pt.keys),xr=wr({baseStyle:br({root:{display:"flex",flexDirection:"column",gap:2},container:{borderRadius:"lg",borderWidth:"1px",borderStyle:"solid",borderColor:"gray.300",bg:"gray.100",color:dr.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:dr.white(),fontSize:"md",_hover:{bg:dr.lighthouse()}},panel:{borderTopWidth:"1px",borderTopStyle:"solid",borderTopColor:"gray.300",fontSize:"sm",bg:dr.lighthouse(),py:"4",px:"4"}}),variants:{spacious:br({container:{borderRadius:"lg"},button:{py:8,px:6,fontSize:"md"},panel:{fontSize:"sm",bg:dr.lighthouse(),p:"8"}})}}),{definePartsStyle:Or,defineMultiStyleConfig:Sr}=i(Mt.keys),jr=Sr({baseStyle:Or((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"}}),Ar=o({borderColor:"red.700",color:"red.700",border:"solid 2px",":hover, :focus":{backgroundColor:"gray.200"},svg:{path:{fill:"red.700"}}}),Pr=o({":hover, :focus":{background:"brand.600"}}),Mr=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"}}}}),kr=o({border:"solid 2px",borderColor:"brand.600",color:"brand.600",":hover, :focus":{backgroundColor:"brand.50"},svg:{path:{fill:"brand.600"}}}),Er=o({boxShadow:"none",color:"brand.600",":hover, :focus":{backgroundColor:"brand.50"},svg:{path:{fill:"brand.600"}}}),Cr=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:Ar,outline:kr,ghost:Er,secondary:Mr,solid:Pr}}),{definePartsStyle:_r,defineMultiStyleConfig:Tr}=i(kt.keys),Dr=Tr({baseStyle:_r({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"}}}}}),Nr=a({baseStyle:{helperText:{fontSize:"sm"}}}),Ir=a({sizes:{sm:{text:{fontSize:"xs"}},xs:{text:{fontSize:"xs"}}}}),Lr=a({baseStyle:{color:dr.sonicSilver(),fontFamily:"heading",fontSize:"sm",_disabled:{opacity:1}},sizes:{sm:{fontSize:"sm"},xs:{fontSize:"xs"}}}),Br=a({sizes:{xl:o({fontSize:"4xl"}),lg:o({fontSize:"3xl"}),md:o({fontSize:"2xl"}),sm:o({fontSize:"xl"}),xs:o({fontSize:"md"})}}),{definePartsStyle:Rr,defineMultiStyleConfig:zr}=i(Et.keys),$r=zr({baseStyle:Rr({group:{"svg:not(.asset-logo)":{width:"1em",height:"1em"}},field:{_readOnly:{pointerEvents:"none"}}}),sizes:{lg:Rr({field:{fontSize:"md"}})},variants:{outline:{group:{"svg:not(.asset-logo)":{path:{fill:dr.sonicSilver()}},_groupFocus:{"svg:not(.asset-logo)":{path:{fill:dr.black()}}},_groupDisabled:{"svg:not(.asset-logo)":{path:{fill:dr.coolElegance()}}}},field:{border:"solid 1px",borderRadius:"lg",borderColor:dr.coolElegance(),color:dr.sonicSilver(),":focus":{color:dr.black(),borderColor:dr.black()},":hover:not([disabled])":{boxShadow:"0px 2px 8px 0px rgba(0, 0, 0, 0.08)"},_disabled:{color:dr.sonicSilver(),opacity:1,bg:dr.lighthouse(),":focus, :hover":{borderColor:dr.coolElegance(),bg:dr.lighthouse()}},_invalid:{":focus, :hover":{borderColor:"red.500"}}},addon:{bg:"white",border:"solid 1px",borderRadius:"lg",borderColor:dr.coolElegance(),color:dr.black(),":hover:not([disabled])":{boxShadow:"0px 2px 8px 0px rgba(0, 0, 0, 0.08)"},":focus":{borderColor:dr.black()},_disabled:{color:dr.sonicSilver(),opacity:1,bg:dr.lighthouse(),":focus, :hover":{borderColor:dr.coolElegance(),bg:dr.lighthouse()}},_invalid:{":focus, :hover":{borderColor:"red.500"}}}}},defaultProps:{size:"lg",variant:"outline"}}),{definePartsStyle:Hr,defineMultiStyleConfig:Vr}=i(Ct.keys),Fr=Vr({baseStyle:Hr({field:{_readOnly:{pointerEvents:"none"}}}),sizes:{lg:Hr({field:{fontSize:"md"}})},variants:{outline:{field:{border:"solid 1px",borderColor:dr.coolElegance(),borderRadius:"lg",color:dr.sonicSilver(),pr:10,_focus:{color:dr.black(),borderColor:dr.black(),"+.chakra-select__icon-wrapper":{svg:{color:dr.black(),path:{fill:dr.black()}}}},":hover:not([disabled])":{boxShadow:"0px 2px 8px 0px rgba(0, 0, 0, 0.08)"},_disabled:{color:dr.sonicSilver(),opacity:1,bg:dr.lighthouse(),":focus, :hover":{borderColor:dr.coolElegance(),bg:dr.lighthouse()}},_invalid:{":focus, :hover":{borderColor:"red.500"}}},icon:{width:"1em",height:"1em",fontSize:"1em",mr:2,path:{fill:dr.sonicSilver()},_disabled:{opacity:1,path:{fill:dr.coolElegance()}}}}},defaultProps:{size:"lg",variant:"outline"}}),Ur=a({variants:{simple:{th:{borderColor:dr.coolElegance()},td:{borderColor:dr.coolElegance()},tr:{_last:{td:{border:"none"}}}},grayHeader:{th:{background:dr.lighthouse(),color:dr.sonicSilver(),borderBottom:"1px solid",borderColor:dr.coolElegance()},td:{borderBottom:"1px solid",borderColor:dr.coolElegance()},tr:{_last:{td:{border:"none"}}}}}}),{definePartsStyle:Wr,defineMultiStyleConfig:qr}=i(_t.keys),Yr=Wr({container:{color:"blackAlpha.900",fontWeight:"bold",borderRadius:"full",svg:{path:{fill:"blackAlpha.900"}}}}),Xr=Wr({container:{bg:"red.100",borderWidth:1,borderColor:"red.500"}}),Kr=Wr({container:{bg:"yellow.100",borderColor:"yellow.500",borderWidth:1}});var Gr=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:xr,Alert:jr,Button:Cr,Checkbox:Dr,Input:$r,Heading:Br,Form:Nr,FormLabel:Lr,FormError:Ir,Select:Fr,Table:Ur,Tag:qr({baseStyle:Yr,defaultProps:{variant:"outline"},variants:{error:Xr,success:Wr({container:{bg:"green.100",borderColor:"green.500",borderWidth:1}}),warning:Kr,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 Zr={components:Gr.components,styles:Gr.styles},Jr=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 Qr,en,tn=(e=21)=>{var t;t=e-=0,!Qr||Qr.length<t?(Qr=Buffer.allocUnsafe(128*t),J.randomFillSync(Qr),en=0):en+t>Qr.length&&(J.randomFillSync(Qr),en=0),en+=t;let r="";for(let t=en-e;t<en;t++)r+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[63&Qr[t]];return r};function rn(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=rn(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function nn(){for(var e,t,r=0,n="",i=arguments.length;r<i;r++)(e=arguments[r])&&(t=rn(e))&&(n&&(n+=" "),n+=t);return n}var on=Array.isArray,an="object"==typeof qt&&qt&&qt.Object===Object&&qt,cn=an,ln="object"==typeof self&&self&&self.Object===Object&&self,un=cn||ln||Function("return this")(),sn=un.Symbol,fn=sn,pn=Object.prototype,hn=pn.hasOwnProperty,dn=pn.toString,yn=fn?fn.toStringTag:void 0;var vn=function(e){var t=hn.call(e,yn),r=e[yn];try{e[yn]=void 0;var n=!0}catch(e){}var i=dn.call(e);return n&&(t?e[yn]=r:delete e[yn]),i},gn=Object.prototype.toString;var mn=vn,bn=function(e){return gn.call(e)},wn=sn?sn.toStringTag:void 0;var xn=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":wn&&wn in Object(e)?mn(e):bn(e)};var On=function(e){return null!=e&&"object"==typeof e},Sn=xn,jn=On;var An=function(e){return"symbol"==typeof e||jn(e)&&"[object Symbol]"==Sn(e)},Pn=on,Mn=An,kn=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,En=/^\w*$/;var Cn=function(e,t){if(Pn(e))return!1;var r=typeof e;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=e&&!Mn(e))||(En.test(e)||!kn.test(e)||null!=t&&e in Object(t))};var _n=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)},Tn=Yt(_n),Dn=xn,Nn=_n;var In,Ln=function(e){if(!Nn(e))return!1;var t=Dn(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t},Bn=Yt(Ln),Rn=un["__core-js_shared__"],zn=(In=/[^.]+$/.exec(Rn&&Rn.keys&&Rn.keys.IE_PROTO||""))?"Symbol(src)_1."+In:"";var $n=function(e){return!!zn&&zn in e},Hn=Function.prototype.toString;var Vn=function(e){if(null!=e){try{return Hn.call(e)}catch(e){}try{return e+""}catch(e){}}return""},Fn=Ln,Un=$n,Wn=_n,qn=Vn,Yn=/^\[object .+?Constructor\]$/,Xn=Function.prototype,Kn=Object.prototype,Gn=Xn.toString,Zn=Kn.hasOwnProperty,Jn=RegExp("^"+Gn.call(Zn).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var Qn=function(e,t){return null==e?void 0:e[t]},ei=function(e){return!(!Wn(e)||Un(e))&&(Fn(e)?Jn:Yn).test(qn(e))},ti=Qn;var ri=function(e,t){var r=ti(e,t);return ei(r)?r:void 0},ni=ri(Object,"create"),ii=ni;var oi=function(){this.__data__=ii?ii(null):{},this.size=0};var ai=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},ci=ni,li=Object.prototype.hasOwnProperty;var ui=function(e){var t=this.__data__;if(ci){var r=t[e];return"__lodash_hash_undefined__"===r?void 0:r}return li.call(t,e)?t[e]:void 0},si=ni,fi=Object.prototype.hasOwnProperty;var pi=ni;var hi=oi,di=ai,yi=ui,vi=function(e){var t=this.__data__;return si?void 0!==t[e]:fi.call(t,e)},gi=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=pi&&void 0===t?"__lodash_hash_undefined__":t,this};function mi(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])}}mi.prototype.clear=hi,mi.prototype.delete=di,mi.prototype.get=yi,mi.prototype.has=vi,mi.prototype.set=gi;var bi=mi;var wi=function(){this.__data__=[],this.size=0};var xi=function(e,t){return e===t||e!=e&&t!=t},Oi=xi;var Si=function(e,t){for(var r=e.length;r--;)if(Oi(e[r][0],t))return r;return-1},ji=Si,Ai=Array.prototype.splice;var Pi=Si;var Mi=Si;var ki=Si;var Ei=wi,Ci=function(e){var t=this.__data__,r=ji(t,e);return!(r<0)&&(r==t.length-1?t.pop():Ai.call(t,r,1),--this.size,!0)},_i=function(e){var t=this.__data__,r=Pi(t,e);return r<0?void 0:t[r][1]},Ti=function(e){return Mi(this.__data__,e)>-1},Di=function(e,t){var r=this.__data__,n=ki(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this};function Ni(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])}}Ni.prototype.clear=Ei,Ni.prototype.delete=Ci,Ni.prototype.get=_i,Ni.prototype.has=Ti,Ni.prototype.set=Di;var Ii=Ni,Li=ri(un,"Map"),Bi=bi,Ri=Ii,zi=Li;var $i=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e};var Hi=function(e,t){var r=e.__data__;return $i(t)?r["string"==typeof t?"string":"hash"]:r.map},Vi=Hi;var Fi=Hi;var Ui=Hi;var Wi=Hi;var qi=function(){this.size=0,this.__data__={hash:new Bi,map:new(zi||Ri),string:new Bi}},Yi=function(e){var t=Vi(this,e).delete(e);return this.size-=t?1:0,t},Xi=function(e){return Fi(this,e).get(e)},Ki=function(e){return Ui(this,e).has(e)},Gi=function(e,t){var r=Wi(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this};function Zi(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])}}Zi.prototype.clear=qi,Zi.prototype.delete=Yi,Zi.prototype.get=Xi,Zi.prototype.has=Ki,Zi.prototype.set=Gi;var Ji=Zi,Qi=Ji;function eo(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(eo.Cache||Qi),r}eo.Cache=Qi;var to=eo,ro=Yt(to),no=to;var io=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,oo=/\\(\\)?/g,ao=function(e){var t=no(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(io,(function(e,r,n,i){t.push(n?i.replace(oo,"$1"):r||e)})),t})),co=ao;var lo=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},uo=lo,so=on,fo=An,po=sn?sn.prototype:void 0,ho=po?po.toString:void 0;var yo=function e(t){if("string"==typeof t)return t;if(so(t))return uo(t,e)+"";if(fo(t))return ho?ho.call(t):"";var r=t+"";return"0"==r&&1/t==-1/0?"-0":r},vo=yo;var go=function(e){return null==e?"":vo(e)},mo=on,bo=Cn,wo=co,xo=go;var Oo=function(e,t){return mo(e)?e:bo(e,t)?[e]:wo(xo(e))},So=An;var jo=function(e){if("string"==typeof e||So(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t},Ao=Oo,Po=jo;var Mo=function(e,t){for(var r=0,n=(t=Ao(t,e)).length;null!=e&&r<n;)e=e[Po(t[r++])];return r&&r==n?e:void 0},ko=Mo;var Eo=function(e,t,r){var n=null==e?void 0:ko(e,t);return void 0===n?r:n},Co=Yt(Eo);var _o=Yt((function(e){return null==e})),To=xn,Do=on,No=On;var Io,Lo=Yt((function(e){return"string"==typeof e||!Do(e)&&No(e)&&"[object String]"==To(e)})),Bo={exports:{}},Ro={};var zo,$o={};
|
|
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={};
|
|
10
10
|
/** @license React v16.13.1
|
|
11
11
|
* react-is.development.js
|
|
12
12
|
*
|
|
@@ -14,5 +14,8 @@ var nr={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?Bo.exports=function(){if(Io)return Ro;Io=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 Ro.AsyncMode=l,Ro.ConcurrentMode=u,Ro.ContextConsumer=c,Ro.ContextProvider=a,Ro.Element=t,Ro.ForwardRef=s,Ro.Fragment=n,Ro.Lazy=d,Ro.Memo=h,Ro.Portal=r,Ro.Profiler=o,Ro.StrictMode=i,Ro.Suspense=f,Ro.isAsyncMode=function(e){return w(e)||b(e)===l},Ro.isConcurrentMode=w,Ro.isContextConsumer=function(e){return b(e)===c},Ro.isContextProvider=function(e){return b(e)===a},Ro.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},Ro.isForwardRef=function(e){return b(e)===s},Ro.isFragment=function(e){return b(e)===n},Ro.isLazy=function(e){return b(e)===d},Ro.isMemo=function(e){return b(e)===h},Ro.isPortal=function(e){return b(e)===r},Ro.isProfiler=function(e){return b(e)===o},Ro.isStrictMode=function(e){return b(e)===i},Ro.isSuspense=function(e){return b(e)===f},Ro.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)},Ro.typeOf=b,Ro}():Bo.exports=(zo||(zo=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}$o.AsyncMode=w,$o.ConcurrentMode=x,$o.ContextConsumer=O,$o.ContextProvider=S,$o.Element=j,$o.ForwardRef=A,$o.Fragment=P,$o.Lazy=M,$o.Memo=k,$o.Portal=E,$o.Profiler=C,$o.StrictMode=_,$o.Suspense=T,$o.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},$o.isConcurrentMode=N,$o.isContextConsumer=function(e){return b(e)===c},$o.isContextProvider=function(e){return b(e)===a},$o.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},$o.isForwardRef=function(e){return b(e)===s},$o.isFragment=function(e){return b(e)===n},$o.isLazy=function(e){return b(e)===d},$o.isMemo=function(e){return b(e)===h},$o.isPortal=function(e){return b(e)===r},$o.isProfiler=function(e){return b(e)===o},$o.isStrictMode=function(e){return b(e)===i},$o.isSuspense=function(e){return b(e)===f},$o.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)},$o.typeOf=b}()),$o);var Ho=Bo.exports,Vo=xn,Fo=On;var Uo=function(e){return"number"==typeof e||Fo(e)&&"[object Number]"==Vo(e)},Wo=Yt(Uo),qo=Uo;var Yo=Yt((function(e){return qo(e)&&e!=+e})),Xo=function(e){return 0===e?0:e>0?1:-1},Ko=function(e){return Lo(e)&&e.indexOf("%")===e.length-1},Go=function(e){return Wo(e)&&!Yo(e)},Zo=function(e){return Go(e)||Lo(e)},Jo=0,Qo=function(e){var t=++Jo;return"".concat(e||"").concat(t)},ea=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(!Go(e)&&!Lo(e))return n;if(Ko(e)){var o=e.indexOf("%");r=t*parseFloat(e.slice(0,o))/100}else r=+e;return Yo(r)&&(r=n),i&&r>t&&(r=t),r},ta=function(e){if(!e)return null;var t=Object.keys(e);return t&&t.length?e[t[0]]:null},ra=function(e,t){return Go(e)&&Go(t)?function(r){return e+r*(t-e)}:function(){return t}};function na(e,t,r){return e&&e.length?e.find((function(e){return e&&("function"==typeof t?t(e):Co(e,t))===r})):null}function ia(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 oa(e){return oa="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},oa(e)}var aa=["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"],ca=["points","pathLength"],la={svg:["viewBox","children"],polygon:ca,polyline:ca},ua=["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"],sa=function(e,t){if(!e||"function"==typeof e||"boolean"==typeof e)return null;var r=e;if(ee(e)&&(r=e.props),!Tn(r))return null;var n={};return Object.keys(r).forEach((function(e){ua.includes(e)&&(n[e]=t||function(t){return r[e](r,t)})})),n},fa=function(e,t,r){if(!Tn(e)||"object"!==oa(e))return null;var n=null;return Object.keys(e).forEach((function(i){var o=e[i];ua.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},pa=["children"],ha=["children"];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 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)}var va={click:"onClick",mousedown:"onMouseDown",mouseup:"onMouseUp",mouseover:"onMouseOver",mousemove:"onMouseMove",mouseout:"onMouseOut",mouseenter:"onMouseEnter",mouseleave:"onMouseLeave",touchcancel:"onTouchCancel",touchend:"onTouchEnd",touchmove:"onTouchMove",touchstart:"onTouchStart"},ga=function(e){return"string"==typeof e?e:e?e.displayName||e.name||"Component":""},ma=null,ba=null,wa=function e(t){if(t===ma&&Array.isArray(ba))return ba;var r=[];return te.forEach(t,(function(t){_o(t)||(Ho.isFragment(t)?r=r.concat(e(t.props.children)):r.push(t))})),ba=r,ma=t,r};function xa(e,t){var r=[],n=[];return n=Array.isArray(t)?t.map((function(e){return ga(e)})):[ga(t)],wa(e).forEach((function(e){var t=Co(e,"type.displayName")||Co(e,"type.name");-1!==n.indexOf(t)&&r.push(e)})),r}function Oa(e,t){var r=xa(e,t);return r&&r[0]}var Sa=function(e){if(!e||!e.props)return!1;var t=e.props,r=t.width,n=t.height;return!(!Go(r)||r<=0||!Go(n)||n<=0)},ja=["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"],Aa=function(e){return e&&"object"===ya(e)&&"cx"in e&&"cy"in e&&"r"in e},Pa=function(e,t,r){if(!e||"function"==typeof e||"boolean"==typeof e)return null;var n=e;if(ee(e)&&(n=e.props),!Tn(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==la?void 0:la[n])&&void 0!==i?i:[];return!Bn(e)&&(n&&o.includes(t)||aa.includes(t))||r&&ua.includes(t)})(null===(o=n)||void 0===o?void 0:o[e],e,t,r)&&(i[e]=n[e])})),i},Ma=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 ka(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(!ka(o,a))return!1}return!0},ka=function(e,t){if(_o(e)&&_o(t))return!0;if(!_o(e)&&!_o(t)){var r=e.props||{},n=r.children,i=da(r,pa),o=t.props||{},a=o.children,c=da(o,ha);return n&&a?ia(i,c)&&Ma(n,a):!n&&!a&&ia(i,c)}return!1},Ea=function(e,t){var r=[],n={};return wa(e).forEach((function(e,i){if(function(e){return e&&e.type&&Lo(e.type)&&ja.indexOf(e.type)>=0}(e))r.push(e);else if(e){var o=ga(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},Ca=["children","width","height","viewBox","className","style","title","desc"];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)}function Ta(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 Da(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=Ta(e,Ca),s=i||{width:r,height:n,x:0,y:0},f=nn("recharts-surface",o);return Q.createElement("svg",_a({},Pa(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 Na=["children","className"];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 La(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 Ba=Q.forwardRef((function(e,t){var r=e.children,n=e.className,i=La(e,Na),o=nn("recharts-layer",n);return Q.createElement("g",Ia({className:o},Pa(i,!0),{ref:t}),r)})),Ra="production"!==process.env.NODE_ENV,za=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(Ra&&"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 $a=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},Ha=$a;var Va=function(e,t,r){var n=e.length;return r=void 0===r?n:r,!t&&r>=n?e:Ha(e,t,r)},Fa=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");var Ua=function(e){return Fa.test(e)};var Wa=function(e){return e.split("")},qa="\\ud800-\\udfff",Ya="["+qa+"]",Xa="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",Ka="\\ud83c[\\udffb-\\udfff]",Ga="[^"+qa+"]",Za="(?:\\ud83c[\\udde6-\\uddff]){2}",Ja="[\\ud800-\\udbff][\\udc00-\\udfff]",Qa="(?:"+Xa+"|"+Ka+")"+"?",ec="[\\ufe0e\\ufe0f]?",tc=ec+Qa+("(?:\\u200d(?:"+[Ga,Za,Ja].join("|")+")"+ec+Qa+")*"),rc="(?:"+[Ga+Xa+"?",Xa,Za,Ja,Ya].join("|")+")",nc=RegExp(Ka+"(?="+Ka+")|"+rc+tc,"g");var ic=function(e){return e.match(nc)||[]},oc=Wa,ac=Ua,cc=ic;var lc=function(e){return ac(e)?cc(e):oc(e)},uc=Va,sc=Ua,fc=lc,pc=go;var hc=function(e){return function(t){t=pc(t);var r=sc(t)?fc(t):void 0,n=r?r[0]:t.charAt(0),i=r?uc(r,1).join(""):t.slice(1);return n[e]()+i}},dc=Yt(hc("toUpperCase"));function yc(e){return function(){return e}}const vc=Math.cos,gc=Math.sin,mc=Math.sqrt,bc=Math.PI,wc=2*bc,xc=Math.PI,Oc=2*xc,Sc=1e-6,jc=Oc-Sc;function Ac(e){this._+=e[0];for(let t=1,r=e.length;t<r;++t)this._+=arguments[t]+e[t]}class Pc{constructor(e){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=null==e?Ac:function(e){let t=Math.floor(e);if(!(t>=0))throw new Error(`invalid digits: ${e}`);if(t>15)return Ac;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>Sc)if(Math.abs(s*c-l*u)>Sc&&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((xc-Math.acos((d+f-y)/(2*v*g)))/2),b=m/g,w=m/v;Math.abs(b-1)>Sc&&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)>Sc||Math.abs(this._y1-u)>Sc)&&this._append`L${l},${u}`,r&&(f<0&&(f=f%Oc+Oc),f>jc?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>Sc&&this._append`A${r},${r},0,${+(f>=xc)},${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 Mc(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 Pc(t)}function kc(e){return"object"==typeof e&&"length"in e?e:Array.from(e)}function Ec(e){this._context=e}function Cc(e){return new Ec(e)}function _c(e){return e[0]}function Tc(e){return e[1]}function Dc(e,t){var r=yc(!0),n=null,i=Cc,o=null,a=Mc(c);function c(c){var l,u,s,f=(c=kc(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?_c:yc(e),t="function"==typeof t?t:void 0===t?Tc:yc(t),c.x=function(t){return arguments.length?(e="function"==typeof t?t:yc(+t),c):e},c.y=function(e){return arguments.length?(t="function"==typeof e?e:yc(+e),c):t},c.defined=function(e){return arguments.length?(r="function"==typeof e?e:yc(!!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 Nc(e,t,r){var n=null,i=yc(!0),o=null,a=Cc,c=null,l=Mc(u);function u(u){var s,f,p,h,d,y=(u=kc(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 Dc().defined(i).curve(a).context(o)}return e="function"==typeof e?e:void 0===e?_c:yc(+e),t="function"==typeof t?t:yc(void 0===t?0:+t),r="function"==typeof r?r:void 0===r?Tc:yc(+r),u.x=function(t){return arguments.length?(e="function"==typeof t?t:yc(+t),n=null,u):e},u.x0=function(t){return arguments.length?(e="function"==typeof t?t:yc(+t),u):e},u.x1=function(e){return arguments.length?(n=null==e?null:"function"==typeof e?e:yc(+e),u):n},u.y=function(e){return arguments.length?(t="function"==typeof e?e:yc(+e),r=null,u):t},u.y0=function(e){return arguments.length?(t="function"==typeof e?e:yc(+e),u):t},u.y1=function(e){return arguments.length?(r=null==e?null:"function"==typeof e?e:yc(+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:yc(!!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}Ec.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 Ic{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 Lc={draw(e,t){const r=mc(t/bc);e.moveTo(r,0),e.arc(0,0,r,0,wc)}},Bc={draw(e,t){const r=mc(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 Rc=mc(1/3),zc=2*Rc;var $c={draw(e,t){const r=mc(t/zc),n=r*Rc;e.moveTo(0,-r),e.lineTo(n,0),e.lineTo(0,r),e.lineTo(-n,0),e.closePath()}},Hc={draw(e,t){const r=mc(t),n=-r/2;e.rect(n,n,r,r)}};const Vc=gc(bc/10)/gc(7*bc/10),Fc=gc(wc/10)*Vc,Uc=-vc(wc/10)*Vc;var Wc={draw(e,t){const r=mc(.8908130915292852*t),n=Fc*r,i=Uc*r;e.moveTo(0,-r),e.lineTo(n,i);for(let t=1;t<5;++t){const o=wc*t/5,a=vc(o),c=gc(o);e.lineTo(c*r,-a*r),e.lineTo(a*n-c*i,c*n+a*i)}e.closePath()}};const qc=mc(3);var Yc={draw(e,t){const r=-mc(t/(3*qc));e.moveTo(0,2*r),e.lineTo(-qc*r,-r),e.lineTo(qc*r,-r),e.closePath()}};const Xc=-.5,Kc=mc(3)/2,Gc=1/mc(12),Zc=3*(Gc/2+1);var Jc={draw(e,t){const r=mc(t/Zc),n=r/2,i=r*Gc,o=n,a=r*Gc+r,c=-o,l=a;e.moveTo(n,i),e.lineTo(o,a),e.lineTo(c,l),e.lineTo(Xc*n-Kc*i,Kc*n+Xc*i),e.lineTo(Xc*o-Kc*a,Kc*o+Xc*a),e.lineTo(Xc*c-Kc*l,Kc*c+Xc*l),e.lineTo(Xc*n+Kc*i,Xc*i-Kc*n),e.lineTo(Xc*o+Kc*a,Xc*a-Kc*o),e.lineTo(Xc*c+Kc*l,Xc*l-Kc*c),e.closePath()}};function Qc(){}function el(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 tl(e){this._context=e}function rl(e){this._context=e}function nl(e){this._context=e}function il(e){this._context=e}function ol(e){return e<0?-1:1}function al(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(ol(o)+ol(a))*Math.min(Math.abs(o),Math.abs(a),.5*Math.abs(c))||0}function cl(e,t){var r=e._x1-e._x0;return r?(3*(e._y1-e._y0)/r-t)/2:t}function ll(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 ul(e){this._context=e}function sl(e){this._context=new fl(e)}function fl(e){this._context=e}function pl(e){this._context=e}function hl(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 dl(e,t){this._context=e,this._t=t}function yl(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 vl(e){for(var t=e.length,r=new Array(t);--t>=0;)r[t]=t;return r}function gl(e,t){return e[t]}function ml(e){const t=[];return t.key=e,t}function bl(e){return bl="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},bl(e)}tl.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:el(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:el(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},rl.prototype={areaStart:Qc,areaEnd:Qc,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:el(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},nl.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:el(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},il.prototype={areaStart:Qc,areaEnd:Qc,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))}},ul.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:ll(this,this._t0,cl(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,ll(this,cl(this,r=al(this,e,t)),r);break;default:ll(this,this._t0,r=al(this,e,t))}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t,this._t0=r}}},(sl.prototype=Object.create(ul.prototype)).point=function(e,t){ul.prototype.point.call(this,t,e)},fl.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)}},pl.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=hl(e),i=hl(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)}},dl.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 wl=["type","size","sizeType"];function xl(){return xl=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},xl.apply(this,arguments)}function Ol(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 Sl(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ol(Object(r),!0).forEach((function(t){jl(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ol(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function jl(e,t,r){return t=function(e){var t=function(e,t){if("object"!=bl(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=bl(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==bl(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 Al(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 Pl={symbolCircle:Lc,symbolCross:Bc,symbolDiamond:$c,symbolSquare:Hc,symbolStar:Wc,symbolTriangle:Yc,symbolWye:Jc},Ml=Math.PI/180,kl=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=Sl(Sl({},Al(e,wl)),{},{type:i,size:a,sizeType:l}),s=u.className,f=u.cx,p=u.cy,h=Pa(u,!0);return f===+f&&p===+p&&a===+a?Q.createElement("path",xl({},h,{className:nn("recharts-symbols",s),transform:"translate(".concat(f,", ").concat(p,")"),d:(t=function(e){var t="symbol".concat(dc(e));return Pl[t]||Lc}(i),r=function(e,t){let r=null,n=Mc(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:yc(e||Lc),t="function"==typeof t?t:yc(void 0===t?64:+t),i.type=function(t){return arguments.length?(e="function"==typeof t?t:yc(t),i):e},i.size=function(e){return arguments.length?(t="function"==typeof e?e:yc(+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*Ml;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 El(e){return El="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},El(e)}function Cl(){return Cl=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},Cl.apply(this,arguments)}function _l(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 Tl(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,Rl(n.key),n)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function Dl(e,t,r){return t=Il(t),function(e,t){if(t&&("object"===El(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,Nl()?Reflect.construct(t,r||[],Il(e).constructor):t.apply(e,r))}function Nl(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Nl=function(){return!!e})()}function Il(e){return Il=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Il(e)}function Ll(e,t){return Ll=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Ll(e,t)}function Bl(e,t,r){return(t=Rl(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Rl(e){var t=function(e,t){if("object"!=El(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=El(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==El(t)?t:String(t)}kl.registerSymbol=function(e,t){Pl["symbol".concat(dc(e))]=t};var zl=32,$l=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Dl(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&&Ll(e,t)}(t,re),Tl(t,[{key:"renderIcon",value:function(e){var t=this.props.inactiveColor,r=16,n=zl/6,i=zl/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:zl,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(zl,"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(zl,"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?_l(Object(r),!0).forEach((function(t){Bl(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):_l(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(kl,{fill:o,cx:r,cy:r,size:zl,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:zl,height:zl},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=nn(Bl(Bl({"recharts-legend-item":!0},"legend-item-".concat(r),!0),"inactive",t.inactive));if("none"===t.type)return null;var f=Bn(t.value)?null:t.value;za(!Bn(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",Cl({className:s,style:l,key:"legend-item-".concat(r)},fa(e.props,t,r)),Q.createElement(Da,{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}();Bl($l,"displayName","Legend"),Bl($l,"defaultProps",{iconSize:14,layout:"horizontal",align:"center",verticalAlign:"middle",inactiveColor:"#ccc"});var Hl=Ii;var Vl=Ii,Fl=Li,Ul=Ji;var Wl=Ii,ql=function(){this.__data__=new Hl,this.size=0},Yl=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r},Xl=function(e){return this.__data__.get(e)},Kl=function(e){return this.__data__.has(e)},Gl=function(e,t){var r=this.__data__;if(r instanceof Vl){var n=r.__data__;if(!Fl||n.length<199)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new Ul(n)}return r.set(e,t),this.size=r.size,this};function Zl(e){var t=this.__data__=new Wl(e);this.size=t.size}Zl.prototype.clear=ql,Zl.prototype.delete=Yl,Zl.prototype.get=Xl,Zl.prototype.has=Kl,Zl.prototype.set=Gl;var Jl=Zl;var Ql=Ji,eu=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},tu=function(e){return this.__data__.has(e)};function ru(e){var t=-1,r=null==e?0:e.length;for(this.__data__=new Ql;++t<r;)this.add(e[t])}ru.prototype.add=ru.prototype.push=eu,ru.prototype.has=tu;var nu=ru;var iu=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 ou=function(e,t){return e.has(t)},au=nu,cu=iu,lu=ou;var uu=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 au: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(!cu(t,(function(e,t){if(!lu(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 su=function(e){var t=-1,r=Array(e.size);return e.forEach((function(e,n){r[++t]=[n,e]})),r};var fu=function(e){var t=-1,r=Array(e.size);return e.forEach((function(e){r[++t]=e})),r},pu=un.Uint8Array,hu=xi,du=uu,yu=su,vu=fu,gu=sn?sn.prototype:void 0,mu=gu?gu.valueOf:void 0;var bu=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 pu(e),new pu(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return hu(+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=yu;case"[object Set]":var l=1&n;if(c||(c=vu),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=du(c(e),c(t),n,i,o,a);return a.delete(e),s;case"[object Symbol]":if(mu)return mu.call(e)==mu.call(t)}return!1};var wu=function(e,t){for(var r=-1,n=t.length,i=e.length;++r<n;)e[i+r]=t[r];return e},xu=wu,Ou=on;var Su=function(e,t,r){var n=t(e);return Ou(e)?n:xu(n,r(e))};var ju=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 Au=ju,Pu=function(){return[]},Mu=Object.prototype.propertyIsEnumerable,ku=Object.getOwnPropertySymbols,Eu=ku?function(e){return null==e?[]:(e=Object(e),Au(ku(e),(function(t){return Mu.call(e,t)})))}:Pu,Cu=Eu;var _u=function(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n},Tu=xn,Du=On;var Nu=function(e){return Du(e)&&"[object Arguments]"==Tu(e)},Iu=On,Lu=Object.prototype,Bu=Lu.hasOwnProperty,Ru=Lu.propertyIsEnumerable,zu=Nu(function(){return arguments}())?Nu:function(e){return Iu(e)&&Bu.call(e,"callee")&&!Ru.call(e,"callee")},$u={exports:{}};var Hu=function(){return!1};!function(e,t){var r=un,n=Hu,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}($u,$u.exports);var Vu=$u.exports,Fu=/^(?:0|[1-9]\d*)$/;var Uu=function(e,t){var r=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==r||"symbol"!=r&&Fu.test(e))&&e>-1&&e%1==0&&e<t};var Wu=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991},qu=xn,Yu=Wu,Xu=On,Ku={};Ku["[object Float32Array]"]=Ku["[object Float64Array]"]=Ku["[object Int8Array]"]=Ku["[object Int16Array]"]=Ku["[object Int32Array]"]=Ku["[object Uint8Array]"]=Ku["[object Uint8ClampedArray]"]=Ku["[object Uint16Array]"]=Ku["[object Uint32Array]"]=!0,Ku["[object Arguments]"]=Ku["[object Array]"]=Ku["[object ArrayBuffer]"]=Ku["[object Boolean]"]=Ku["[object DataView]"]=Ku["[object Date]"]=Ku["[object Error]"]=Ku["[object Function]"]=Ku["[object Map]"]=Ku["[object Number]"]=Ku["[object Object]"]=Ku["[object RegExp]"]=Ku["[object Set]"]=Ku["[object String]"]=Ku["[object WeakMap]"]=!1;var Gu=function(e){return Xu(e)&&Yu(e.length)&&!!Ku[qu(e)]};var Zu=function(e){return function(t){return e(t)}},Ju={exports:{}};!function(e,t){var r=an,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}(Ju,Ju.exports);var Qu=Ju.exports,es=Gu,ts=Zu,rs=Qu&&Qu.isTypedArray,ns=rs?ts(rs):es,is=_u,os=zu,as=on,cs=Vu,ls=Uu,us=ns,ss=Object.prototype.hasOwnProperty;var fs=function(e,t){var r=as(e),n=!r&&os(e),i=!r&&!n&&cs(e),o=!r&&!n&&!i&&us(e),a=r||n||i||o,c=a?is(e.length,String):[],l=c.length;for(var u in e)!t&&!ss.call(e,u)||a&&("length"==u||i&&("offset"==u||"parent"==u)||o&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||ls(u,l))||c.push(u);return c},ps=Object.prototype;var hs=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||ps)};var ds=function(e,t){return function(r){return e(t(r))}},ys=ds(Object.keys,Object),vs=hs,gs=ys,ms=Object.prototype.hasOwnProperty;var bs=function(e){if(!vs(e))return gs(e);var t=[];for(var r in Object(e))ms.call(e,r)&&"constructor"!=r&&t.push(r);return t},ws=Ln,xs=Wu;var Os=function(e){return null!=e&&xs(e.length)&&!ws(e)},Ss=fs,js=bs,As=Os;var Ps=function(e){return As(e)?Ss(e):js(e)},Ms=Su,ks=Cu,Es=Ps;var Cs=function(e){return Ms(e,Es,ks)},_s=Cs,Ts=Object.prototype.hasOwnProperty;var Ds=function(e,t,r,n,i,o){var a=1&r,c=_s(e),l=c.length;if(l!=_s(t).length&&!a)return!1;for(var u=l;u--;){var s=c[u];if(!(a?s in t:Ts.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},Ns=ri(un,"DataView"),Is=ri(un,"Promise"),Ls=ri(un,"Set"),Bs=Ns,Rs=Li,zs=Is,$s=Ls,Hs=ri(un,"WeakMap"),Vs=xn,Fs=Vn,Us="[object Map]",Ws="[object Promise]",qs="[object Set]",Ys="[object WeakMap]",Xs="[object DataView]",Ks=Fs(Bs),Gs=Fs(Rs),Zs=Fs(zs),Js=Fs($s),Qs=Fs(Hs),ef=Vs;(Bs&&ef(new Bs(new ArrayBuffer(1)))!=Xs||Rs&&ef(new Rs)!=Us||zs&&ef(zs.resolve())!=Ws||$s&&ef(new $s)!=qs||Hs&&ef(new Hs)!=Ys)&&(ef=function(e){var t=Vs(e),r="[object Object]"==t?e.constructor:void 0,n=r?Fs(r):"";if(n)switch(n){case Ks:return Xs;case Gs:return Us;case Zs:return Ws;case Js:return qs;case Qs:return Ys}return t});var tf=Jl,rf=uu,nf=bu,of=Ds,af=ef,cf=on,lf=Vu,uf=ns,sf="[object Arguments]",ff="[object Array]",pf="[object Object]",hf=Object.prototype.hasOwnProperty;var df=function(e,t,r,n,i,o){var a=cf(e),c=cf(t),l=a?ff:af(e),u=c?ff:af(t),s=(l=l==sf?pf:l)==pf,f=(u=u==sf?pf:u)==pf,p=l==u;if(p&&lf(e)){if(!lf(t))return!1;a=!0,s=!1}if(p&&!s)return o||(o=new tf),a||uf(e)?rf(e,t,r,n,i,o):nf(e,t,l,r,n,i,o);if(!(1&r)){var h=s&&hf.call(e,"__wrapped__"),d=f&&hf.call(t,"__wrapped__");if(h||d){var y=h?e.value():e,v=d?t.value():t;return o||(o=new tf),i(y,v,r,n,o)}}return!!p&&(o||(o=new tf),of(e,t,r,n,i,o))},yf=df,vf=On;var gf=function e(t,r,n,i,o){return t===r||(null==t||null==r||!vf(t)&&!vf(r)?t!=t&&r!=r:yf(t,r,n,i,e,o))},mf=Jl,bf=gf;var wf=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 mf;if(n)var p=n(u,s,l,e,t,f);if(!(void 0===p?bf(s,u,3,n,f):p))return!1}}return!0},xf=_n;var Of=function(e){return e==e&&!xf(e)},Sf=Of,jf=Ps;var Af=function(e){for(var t=jf(e),r=t.length;r--;){var n=t[r],i=e[n];t[r]=[n,i,Sf(i)]}return t};var Pf=function(e,t){return function(r){return null!=r&&(r[e]===t&&(void 0!==t||e in Object(r)))}},Mf=wf,kf=Af,Ef=Pf;var Cf=function(e){var t=kf(e);return 1==t.length&&t[0][2]?Ef(t[0][0],t[0][1]):function(r){return r===e||Mf(r,e,t)}};var _f=function(e,t){return null!=e&&t in Object(e)},Tf=Oo,Df=zu,Nf=on,If=Uu,Lf=Wu,Bf=jo;var Rf=function(e,t,r){for(var n=-1,i=(t=Tf(t,e)).length,o=!1;++n<i;){var a=Bf(t[n]);if(!(o=null!=e&&r(e,a)))break;e=e[a]}return o||++n!=i?o:!!(i=null==e?0:e.length)&&Lf(i)&&If(a,i)&&(Nf(e)||Df(e))},zf=_f,$f=Rf;var Hf=function(e,t){return null!=e&&$f(e,t,zf)},Vf=gf,Ff=Eo,Uf=Hf,Wf=Cn,qf=Of,Yf=Pf,Xf=jo;var Kf=function(e,t){return Wf(e)&&qf(t)?Yf(Xf(e),t):function(r){var n=Ff(r,e);return void 0===n&&n===t?Uf(r,e):Vf(t,n,3)}};var Gf=function(e){return e};var Zf=function(e){return function(t){return null==t?void 0:t[e]}},Jf=Mo;var Qf=function(e){return function(t){return Jf(t,e)}},ep=Zf,tp=Qf,rp=Cn,np=jo;var ip=Cf,op=Kf,ap=Gf,cp=on,lp=function(e){return rp(e)?ep(np(e)):tp(e)};var up=function(e){return"function"==typeof e?e:null==e?ap:"object"==typeof e?cp(e)?op(e[0],e[1]):ip(e):lp(e)};var sp=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 fp=function(e,t,r){for(var n=r-1,i=e.length;++n<i;)if(e[n]===t)return n;return-1},pp=sp,hp=function(e){return e!=e},dp=fp;var yp=function(e,t,r){return t==t?dp(e,t,r):pp(e,hp,r)},vp=yp;var gp=function(e,t){return!!(null==e?0:e.length)&&vp(e,t,0)>-1};var mp=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 bp=Ls,wp=function(){},xp=bp&&1/fu(new bp([,-0]))[1]==1/0?function(e){return new bp(e)}:wp,Op=nu,Sp=gp,jp=mp,Ap=ou,Pp=xp,Mp=fu;var kp=function(e,t,r){var n=-1,i=Sp,o=e.length,a=!0,c=[],l=c;if(r)a=!1,i=jp;else if(o>=200){var u=t?null:Pp(e);if(u)return Mp(u);a=!1,i=Ap,l=new Op}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},Ep=up,Cp=kp;var _p=function(e,t){return e&&e.length?Cp(e,Ep(t)):[]},Tp=Yt(_p);function Dp(e,t,r){return!0===t?Tp(e,r):Bn(t)?Tp(e,t):e}function Np(e){return Np="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},Np(e)}var Ip=["ref"];function Lp(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 Bp(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Lp(Object(r),!0).forEach((function(t){Up(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Lp(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Rp(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,Wp(n.key),n)}}function zp(e,t,r){return t=Hp(t),function(e,t){if(t&&("object"===Np(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Vp(e)}(e,$p()?Reflect.construct(t,r||[],Hp(e).constructor):t.apply(e,r))}function $p(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return($p=function(){return!!e})()}function Hp(e){return Hp=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Hp(e)}function Vp(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Fp(e,t){return Fp=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Fp(e,t)}function Up(e,t,r){return(t=Wp(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Wp(e){var t=function(e,t){if("object"!=Np(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=Np(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Np(t)?t:String(t)}function qp(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 Yp(e){return e.value}var Xp=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 Up(Vp(e=zp(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&&Fp(e,t)}(t,re),r=t,i=[{key:"getWithHeight",value:function(e,t){var r=e.props.layout;return"vertical"===r&&Go(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?Bp({},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}),Bp(Bp({},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=Bp(Bp({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=qp(t,Ip);return Q.createElement($l,r)}(r,Bp(Bp({},this.props),{},{payload:Dp(c,a,Yp)})))}}])&&Rp(r.prototype,n),i&&Rp(r,i),Object.defineProperty(r,"prototype",{writable:!1}),t}();Up(Xp,"displayName","Legend"),Up(Xp,"defaultProps",{iconSize:14,layout:"horizontal",align:"center",verticalAlign:"bottom"});var Kp=zu,Gp=on,Zp=sn?sn.isConcatSpreadable:void 0;var Jp=wu,Qp=function(e){return Gp(e)||Kp(e)||!!(Zp&&e&&e[Zp])};var eh=function e(t,r,n,i,o){var a=-1,c=t.length;for(n||(n=Qp),o||(o=[]);++a<c;){var l=t[a];r>0&&n(l)?r>1?e(l,r-1,n,i,o):Jp(o,l):i||(o[o.length]=l)}return o};var th=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}},rh=th(),nh=Ps;var ih=function(e,t){return e&&rh(e,t,nh)},oh=Os;var ah=function(e,t){return function(r,n){if(null==r)return r;if(!oh(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}}(ih),ch=ah,lh=Os;var uh=function(e,t){var r=-1,n=lh(e)?Array(e.length):[];return ch(e,(function(e,i,o){n[++r]=t(e,i,o)})),n};var sh=function(e,t){var r=e.length;for(e.sort(t);r--;)e[r]=e[r].value;return e},fh=An;var ph=function(e,t){if(e!==t){var r=void 0!==e,n=null===e,i=e==e,o=fh(e),a=void 0!==t,c=null===t,l=t==t,u=fh(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 hh=function(e,t,r){for(var n=-1,i=e.criteria,o=t.criteria,a=i.length,c=r.length;++n<a;){var l=ph(i[n],o[n]);if(l)return n>=c?l:l*("desc"==r[n]?-1:1)}return e.index-t.index},dh=lo,yh=Mo,vh=up,gh=uh,mh=sh,bh=Zu,wh=hh,xh=Gf,Oh=on;var Sh=function(e,t,r){t=t.length?dh(t,(function(e){return Oh(e)?function(t){return yh(t,1===e.length?e[0]:e)}:e})):[xh];var n=-1;t=dh(t,bh(vh));var i=gh(e,(function(e,r,i){return{criteria:dh(t,(function(t){return t(e)})),index:++n,value:e}}));return mh(i,(function(e,t){return wh(e,t,r)}))};var jh=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)},Ah=Math.max;var Ph=function(e,t,r){return t=Ah(void 0===t?e.length-1:t,0),function(){for(var n=arguments,i=-1,o=Ah(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),jh(e,this,c)}};var Mh=function(e){return function(){return e}},kh=ri,Eh=function(){try{var e=kh(Object,"defineProperty");return e({},"",{}),e}catch(e){}}(),Ch=Mh,_h=Eh,Th=_h?function(e,t){return _h(e,"toString",{configurable:!0,enumerable:!1,value:Ch(t),writable:!0})}:Gf,Dh=Th,Nh=Date.now;var Ih=function(e){var t=0,r=0;return function(){var n=Nh(),i=16-(n-r);if(r=n,i>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(Dh),Lh=Gf,Bh=Ph,Rh=Ih;var zh=xi,$h=Os,Hh=Uu,Vh=_n;var Fh=function(e,t,r){if(!Vh(r))return!1;var n=typeof t;return!!("number"==n?$h(r)&&Hh(t,r.length):"string"==n&&t in r)&&zh(r[t],e)},Uh=eh,Wh=Sh,qh=Fh,Yh=Yt(function(e,t){return Rh(Bh(e,t,Lh),e+"")}((function(e,t){if(null==e)return[];var r=t.length;return r>1&&qh(e,t[0],t[1])?t=[]:r>2&&qh(t[0],t[1],t[2])&&(t=[t[0]]),Wh(e,Uh(t,1),[])})));function Xh(e){return Xh="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},Xh(e)}function Kh(){return Kh=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},Kh.apply(this,arguments)}function Gh(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 Zh(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 Zh(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 Zh(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 Jh(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 Qh(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Jh(Object(r),!0).forEach((function(t){ed(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Jh(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function ed(e,t,r){return t=function(e){var t=function(e,t){if("object"!=Xh(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=Xh(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Xh(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 td(e){return Array.isArray(e)&&Zo(e[0])&&Zo(e[1])?e.join(" ~ "):e}var rd=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=Qh({margin:0,padding:10,backgroundColor:"#fff",border:"1px solid #ccc",whiteSpace:"nowrap"},i),b=Qh({margin:0},l),w=!_o(d),x=w?d:"",O=nn("recharts-default-tooltip",p),S=nn("recharts-tooltip-label",h);w&&y&&null!=u&&(x=y(d,u));var j=g?{role:"status","aria-live":"assertive"}:{};return Q.createElement("div",Kh({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?Yh(u,f):u).map((function(e,t){if("none"===e.type)return null;var n=Qh({display:"block",paddingTop:4,paddingBottom:4,color:e.color||"#000"},a),i=e.formatter||s||td,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=Gh(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},Zo(f)?Q.createElement("span",{className:"recharts-tooltip-item-name"},f):null,Zo(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 nd(e){return nd="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},nd(e)}function id(e,t,r){return t=function(e){var t=function(e,t){if("object"!=nd(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=nd(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==nd(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 od="recharts-tooltip-wrapper",ad={visibility:"hidden"};function cd(e){var t=e.coordinate,r=e.translateX,n=e.translateY;return nn(od,id(id(id(id({},"".concat(od,"-right"),Go(r)&&t&&Go(t.x)&&r>=t.x),"".concat(od,"-left"),Go(r)&&t&&Go(t.x)&&r<t.x),"".concat(od,"-bottom"),Go(n)&&t&&Go(t.y)&&n>=t.y),"".concat(od,"-top"),Go(n)&&t&&Go(t.y)&&n<t.y))}function ld(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&&Go(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 ud(e){return ud="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},ud(e)}function sd(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 fd(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?sd(Object(r),!0).forEach((function(t){md(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):sd(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,bd(n.key),n)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function hd(e,t,r){return t=yd(t),function(e,t){if(t&&("object"===ud(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return vd(e)}(e,dd()?Reflect.construct(t,r||[],yd(e).constructor):t.apply(e,r))}function dd(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(dd=function(){return!!e})()}function yd(e){return yd=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},yd(e)}function vd(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gd(e,t){return gd=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},gd(e,t)}function md(e,t,r){return(t=bd(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function bd(e){var t=function(e,t){if("object"!=ud(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=ud(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==ud(t)?t:String(t)}var wd=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 md(vd(e=hd(this,t,[].concat(n))),"state",{dismissed:!1,dismissedAtCoordinate:{x:0,y:0},lastBoundingBox:{width:-1,height:-1}}),md(vd(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&&gd(e,t)}(t,re),pd(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=ld({allowEscapeViewBox:n,coordinate:i,key:"x",offsetTopLeft:o,position:a,reverseDirection:c,tooltipDimension:l.width,viewBox:s,viewBoxDimension:s.width}),translateY:r=ld({allowEscapeViewBox:n,coordinate:i,key:"y",offsetTopLeft:o,position:a,reverseDirection:c,tooltipDimension:l.height,viewBox:s,viewBoxDimension:s.height}),useTranslate3d:u}):ad,cssClasses:cd({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=fd(fd({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}(),xd={isSsr:!("undefined"!=typeof window&&window.document&&window.document.createElement&&window.setTimeout),get:function(e){return xd[e]},set:function(e,t){if("string"==typeof e)xd[e]=t;else{var r=Object.keys(e);r&&r.length&&r.forEach((function(t){xd[t]=e[t]}))}}};function Od(e){return Od="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},Od(e)}function Sd(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 jd(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Sd(Object(r),!0).forEach((function(t){Cd(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Sd(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Ad(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,_d(n.key),n)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function Pd(e,t,r){return t=kd(t),function(e,t){if(t&&("object"===Od(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,Md()?Reflect.construct(t,r||[],kd(e).constructor):t.apply(e,r))}function Md(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Md=function(){return!!e})()}function kd(e){return kd=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},kd(e)}function Ed(e,t){return Ed=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Ed(e,t)}function Cd(e,t,r){return(t=_d(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _d(e){var t=function(e,t){if("object"!=Od(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=Od(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Od(t)?t:String(t)}function Td(e){return e.dataKey}var Dd=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Pd(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&&Ed(e,t)}(t,re),Ad(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=Dp(f.filter((function(t){return null!=t.value&&(!0!==t.hide||e.props.includeHidden)})),p,Td));var b=m.length>0;return Q.createElement(wd,{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(rd,t)}(a,jd(jd({},this.props),{},{payload:m})))}}]),t}();Cd(Dd,"displayName","Tooltip"),Cd(Dd,"defaultProps",{accessibilityLayer:!1,allowEscapeViewBox:{x:!1,y:!1},animationDuration:400,animationEasing:"ease",contentStyle:{},coordinate:{x:0,y:0},cursor:!0,cursorStyle:{},filterNull:!0,isAnimationActive:!xd.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 Nd=un,Id=/\s/;var Ld=function(e){for(var t=e.length;t--&&Id.test(e.charAt(t)););return t},Bd=Ld,Rd=/^\s+/;var zd=function(e){return e?e.slice(0,Bd(e)+1).replace(Rd,""):e},$d=zd,Hd=_n,Vd=An,Fd=/^[-+]0x[0-9a-f]+$/i,Ud=/^0b[01]+$/i,Wd=/^0o[0-7]+$/i,qd=parseInt;var Yd=function(e){if("number"==typeof e)return e;if(Vd(e))return NaN;if(Hd(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=Hd(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=$d(e);var r=Ud.test(e);return r||Wd.test(e)?qd(e.slice(2),r?2:8):Fd.test(e)?NaN:+e},Xd=_n,Kd=function(){return Nd.Date.now()},Gd=Yd,Zd=Math.max,Jd=Math.min;var Qd=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=Kd();if(d(e))return v(e);c=setTimeout(y,function(e){var r=t-(e-l);return f?Jd(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=Kd(),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=Gd(t)||0,Xd(r)&&(s=!!r.leading,o=(f="maxWait"in r)?Zd(Gd(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(Kd())},g},ey=Qd,ty=_n;var ry=Yt((function(e,t,r){var n=!0,i=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return ty(r)&&(n="leading"in r?!!r.leading:n,i="trailing"in r?!!r.trailing:i),ey(e,t,{leading:n,maxWait:t,trailing:i})}));function ny(e){return ny="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},ny(e)}function iy(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 oy(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?iy(Object(r),!0).forEach((function(t){ay(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):iy(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function ay(e,t,r){return t=function(e){var t=function(e,t){if("object"!=ny(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=ny(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==ny(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 cy(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 ly(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 ly(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 ly(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 uy=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=cy(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=ry(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;za(Ko(a)||Ko(l),"The width(%s) and height(%s) are both fixed numbers,\n maybe you don't need to use a ResponsiveContainer.",a,l),za(!r||r>0,"The aspect(%s) must be greater than zero.",r);var n=Ko(a)?e:a,i=Ko(l)?t:l;r&&r>0&&(n?i=n/r:i&&(n=i*r),p&&i>p&&(i=p)),za(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)&&Ho.isElement(h)&&ga(h.type).endsWith("Chart");return Q.Children.map(h,(function(e){return Ho.isElement(e)?se(e,oy({width:n,height:i},o?{style:oy({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:nn("recharts-responsive-container",g),style:oy(oy({},w),{},{width:a,height:l,minWidth:s,minHeight:f,maxHeight:p}),ref:x},M)})),sy=function(e){return null};function fy(e){return fy="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},fy(e)}function py(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 hy(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?py(Object(r),!0).forEach((function(t){dy(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):py(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function dy(e,t,r){return t=function(e){var t=function(e,t){if("object"!=fy(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=fy(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==fy(t)?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}sy.displayName="Cell";var yy={widthCache:{},cacheCount:0},vy={position:"absolute",top:"-20000px",left:0,padding:0,margin:0,border:"none",whiteSpace:"pre"},gy="recharts_measurement_span";var my=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(null==e||xd.isSsr)return{width:0,height:0};var r,n=(r=hy({},t),Object.keys(r).forEach((function(e){r[e]||delete r[e]})),r),i=JSON.stringify({text:e,copyStyle:n});if(yy.widthCache[i])return yy.widthCache[i];try{var o=document.getElementById(gy);o||((o=document.createElement("span")).setAttribute("id",gy),o.setAttribute("aria-hidden","true"),document.body.appendChild(o));var a=hy(hy({},vy),n);Object.assign(o.style,a),o.textContent="".concat(e);var c=o.getBoundingClientRect(),l={width:c.width,height:c.height};return yy.widthCache[i]=l,++yy.cacheCount>2e3&&(yy.cacheCount=0,yy.widthCache={}),l}catch(e){return{width:0,height:0}}};function by(e){return by="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},by(e)}function wy(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 xy(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 xy(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 xy(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 Oy(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,Sy(n.key),n)}}function Sy(e){var t=function(e,t){if("object"!=by(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t);if("object"!=by(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==by(t)?t:String(t)}var jy=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,Ay=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([+-])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,Py=/^px|cm|vh|vw|em|rem|%|mm|in|pt|pc|ex|ch|vmin|vmax|Q$/,My=/(-?\d+(?:\.\d+)?)([a-zA-Z%]+)?/,ky={cm:96/2.54,mm:96/25.4,pt:96/72,pc:16,in:96,Q:96/101.6,px:1},Ey=Object.keys(ky),Cy="NaN";var _y=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||Py.test(r)||(this.num=NaN,this.unit=""),Ey.includes(r)&&(this.num=function(e,t){return e*ky[t]}(t,r),this.unit="px")}var t,r,n;return t=e,n=[{key:"parse",value:function(t){var r,n=wy(null!==(r=My.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)}}])&&Oy(t.prototype,r),n&&Oy(t,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();function Ty(e){if(e.includes(Cy))return Cy;for(var t=e;t.includes("*")||t.includes("/");){var r,n=wy(null!==(r=jy.exec(t))&&void 0!==r?r:[],4),i=n[1],o=n[2],a=n[3],c=_y.parse(null!=i?i:""),l=_y.parse(null!=a?a:""),u="*"===o?c.multiply(l):c.divide(l);if(u.isNaN())return Cy;t=t.replace(jy,u.toString())}for(;t.includes("+")||/.-\d+(?:\.\d+)?/.test(t);){var s,f=wy(null!==(s=Ay.exec(t))&&void 0!==s?s:[],4),p=f[1],h=f[2],d=f[3],y=_y.parse(null!=p?p:""),v=_y.parse(null!=d?d:""),g="+"===h?y.add(v):y.subtract(v);if(g.isNaN())return Cy;t=t.replace(Ay,g.toString())}return t}var Dy=/\(([^()]*)\)/;function Ny(e){var t=e.replace(/\s+/g,"");return t=function(e){for(var t=e;t.includes("(");){var r=wy(Dy.exec(t),2)[1];t=t.replace(Dy,Ty(r))}return t}(t),t=Ty(t)}function Iy(e){var t=function(e){try{return Ny(e)}catch(e){return Cy}}(e.slice(5,-1));return t===Cy?"":t}var Ly=["x","y","lineHeight","capHeight","scaleToFit","textAnchor","verticalAnchor","fill"],By=["dx","dy","angle","className","breakAll"];function Ry(){return Ry=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},Ry.apply(this,arguments)}function zy(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 $y(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 Hy(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 Hy(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 Hy(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 Vy=/[ \f\n\r\t\v\u2028\u2029]+/,Fy=function(e){var t=e.children,r=e.breakAll,n=e.style;try{var i=[];return _o(t)||(i=r?t.toString().split(""):t.toString().split(Vy)),{wordsWithComputedWidth:i.map((function(e){return{word:e,width:my(e,n).width}})),spaceWidth:r?0:my(" ",n).width}}catch(e){return null}},Uy=function(e){return[{words:_o(e)?[]:e.toString().split(Vy)}]},Wy=function(e){var t=e.width,r=e.scaleToFit,n=e.children,i=e.style,o=e.breakAll,a=e.maxLines;if((t||r)&&!xd.isSsr){var c=Fy({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=Go(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=Fy({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=$y(d(m-1),2),w=b[0],x=b[1],O=$y(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):Uy(n)}return Uy(n)},qy="#808080",Yy=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?qy:y,g=zy(e,Ly),m=ue((function(){return Wy({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=zy(g,By);if(!Zo(r)||!Zo(i))return null;var A,P=r+(Go(b)?b:0),M=i+(Go(w)?w:0);switch(d){case"start":A=Iy("calc(".concat(l,")"));break;case"middle":A=Iy("calc(".concat((m.length-1)/2," * -").concat(a," + (").concat(l," / 2))"));break;default:A=Iy("calc(".concat(m.length-1," * -").concat(a,")"))}var k=[];if(s){var E=m[0].width,C=g.width;k.push("scale(".concat((Go(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",Ry({},Pa(j,!0),{x:P,y:M,className:nn("recharts-text",O),textAnchor:p,fill:v.includes("url")?qy: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 Xy(e,t){return null==e||null==t?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function Ky(e,t){return null==e||null==t?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function Gy(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=Xy,r=(t,r)=>Xy(e(t),r),n=(t,r)=>e(t)-r):(t=e===Xy||e===Ky?e:Zy,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 Zy(){return 0}function Jy(e){return null===e?NaN:+e}const Qy=Gy(Xy).right;Gy(Jy).center;class ev extends Map{constructor(e,t=rv){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(tv(this,e))}has(e){return super.has(tv(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 tv({_intern:e,_key:t},r){const n=t(r);return e.has(n)?e.get(n):r}function rv(e){return null!==e&&"object"==typeof e?e.valueOf():e}function nv(e,t){return(null==e||!(e>=e))-(null==t||!(t>=t))||(e<t?-1:e>t?1:0)}const iv=Math.sqrt(50),ov=Math.sqrt(10),av=Math.sqrt(2);function cv(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>=iv?10:o>=ov?5:o>=av?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?cv(e,t,2*r):[c,l,u]}function lv(e,t,r){if(!((r=+r)>0))return[];if((e=+e)===(t=+t))return[e];const n=t<e,[i,o,a]=n?cv(t,e,r):cv(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 uv(e,t,r){return cv(e=+e,t=+t,r=+r)[2]}function sv(e,t,r){r=+r;const n=(t=+t)<(e=+e),i=n?uv(t,e,r):uv(e,t,r);return(n?-1:1)*(i<0?1/-i:i)}function fv(e,t){let r;for(const t of e)null!=t&&(r<t||void 0===r&&t>=t)&&(r=t);return r}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,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?nv:function(e=Xy){if(e===Xy)return nv;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);hv(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(dv(e,r,t),i(e[n],o)>0&&dv(e,r,n);a<c;){for(dv(e,a,c),++a,--c;i(e[a],o)<0;)++a;for(;i(e[c],o)>0;)--c}0===i(e[r],o)?dv(e,r,c):(++c,dv(e,c,n)),c<=t&&(r=c+1),t<=c&&(n=c-1)}return e}function dv(e,t,r){const n=e[t];e[t]=e[r],e[r]=n}function yv(e,t,r=Jy){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 vv(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e)}return this}function gv(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 mv=Symbol("implicit");function bv(){var e=new ev,t=[],r=[],n=mv;function i(i){let o=e.get(i);if(void 0===o){if(n!==mv)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 ev;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 bv(t,r).unknown(n)},vv.apply(i,arguments),i}function wv(){var e,t,r=bv().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 wv(n(),[o,a]).round(c).paddingInner(l).paddingOuter(u).align(s)},vv.apply(f(),arguments)}function xv(e){var t=e.copy;return e.padding=e.paddingOuter,delete e.paddingInner,delete e.paddingOuter,e.copy=function(){return xv(t())},e}function Ov(){return xv(wv.apply(null,arguments).paddingInner(1))}function Sv(e,t,r){e.prototype=t.prototype=r,r.constructor=e}function jv(e,t){var r=Object.create(e.prototype);for(var n in t)r[n]=t[n];return r}function Av(){}var Pv=.7,Mv=1/Pv,kv="\\s*([+-]?\\d+)\\s*",Ev="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",Cv="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",_v=/^#([0-9a-f]{3,8})$/,Tv=new RegExp(`^rgb\\(${kv},${kv},${kv}\\)$`),Dv=new RegExp(`^rgb\\(${Cv},${Cv},${Cv}\\)$`),Nv=new RegExp(`^rgba\\(${kv},${kv},${kv},${Ev}\\)$`),Iv=new RegExp(`^rgba\\(${Cv},${Cv},${Cv},${Ev}\\)$`),Lv=new RegExp(`^hsl\\(${Ev},${Cv},${Cv}\\)$`),Bv=new RegExp(`^hsla\\(${Ev},${Cv},${Cv},${Ev}\\)$`),Rv={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 zv(){return this.rgb().formatHex()}function $v(){return this.rgb().formatRgb()}function Hv(e){var t,r;return e=(e+"").trim().toLowerCase(),(t=_v.exec(e))?(r=t[1].length,t=parseInt(t[1],16),6===r?Vv(t):3===r?new Wv(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===r?Fv(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===r?Fv(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=Tv.exec(e))?new Wv(t[1],t[2],t[3],1):(t=Dv.exec(e))?new Wv(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=Nv.exec(e))?Fv(t[1],t[2],t[3],t[4]):(t=Iv.exec(e))?Fv(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=Lv.exec(e))?Zv(t[1],t[2]/100,t[3]/100,1):(t=Bv.exec(e))?Zv(t[1],t[2]/100,t[3]/100,t[4]):Rv.hasOwnProperty(e)?Vv(Rv[e]):"transparent"===e?new Wv(NaN,NaN,NaN,0):null}function Vv(e){return new Wv(e>>16&255,e>>8&255,255&e,1)}function Fv(e,t,r,n){return n<=0&&(e=t=r=NaN),new Wv(e,t,r,n)}function Uv(e,t,r,n){return 1===arguments.length?((i=e)instanceof Av||(i=Hv(i)),i?new Wv((i=i.rgb()).r,i.g,i.b,i.opacity):new Wv):new Wv(e,t,r,null==n?1:n);var i}function Wv(e,t,r,n){this.r=+e,this.g=+t,this.b=+r,this.opacity=+n}function qv(){return`#${Gv(this.r)}${Gv(this.g)}${Gv(this.b)}`}function Yv(){const e=Xv(this.opacity);return`${1===e?"rgb(":"rgba("}${Kv(this.r)}, ${Kv(this.g)}, ${Kv(this.b)}${1===e?")":`, ${e})`}`}function Xv(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function Kv(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function Gv(e){return((e=Kv(e))<16?"0":"")+e.toString(16)}function Zv(e,t,r,n){return n<=0?e=t=r=NaN:r<=0||r>=1?e=t=NaN:t<=0&&(e=NaN),new Qv(e,t,r,n)}function Jv(e){if(e instanceof Qv)return new Qv(e.h,e.s,e.l,e.opacity);if(e instanceof Av||(e=Hv(e)),!e)return new Qv;if(e instanceof Qv)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 Qv(a,c,l,e.opacity)}function Qv(e,t,r,n){this.h=+e,this.s=+t,this.l=+r,this.opacity=+n}function eg(e){return(e=(e||0)%360)<0?e+360:e}function tg(e){return Math.max(0,Math.min(1,e||0))}function rg(e,t,r){return 255*(e<60?t+(r-t)*e/60:e<180?r:e<240?t+(r-t)*(240-e)/60:t)}Sv(Av,Hv,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:zv,formatHex:zv,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return Jv(this).formatHsl()},formatRgb:$v,toString:$v}),Sv(Wv,Uv,jv(Av,{brighter(e){return e=null==e?Mv:Math.pow(Mv,e),new Wv(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=null==e?Pv:Math.pow(Pv,e),new Wv(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new Wv(Kv(this.r),Kv(this.g),Kv(this.b),Xv(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:qv,formatHex:qv,formatHex8:function(){return`#${Gv(this.r)}${Gv(this.g)}${Gv(this.b)}${Gv(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:Yv,toString:Yv})),Sv(Qv,(function(e,t,r,n){return 1===arguments.length?Jv(e):new Qv(e,t,r,null==n?1:n)}),jv(Av,{brighter(e){return e=null==e?Mv:Math.pow(Mv,e),new Qv(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=null==e?Pv:Math.pow(Pv,e),new Qv(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 Wv(rg(e>=240?e-240:e+120,i,n),rg(e,i,n),rg(e<120?e+240:e-120,i,n),this.opacity)},clamp(){return new Qv(eg(this.h),tg(this.s),tg(this.l),Xv(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=Xv(this.opacity);return`${1===e?"hsl(":"hsla("}${eg(this.h)}, ${100*tg(this.s)}%, ${100*tg(this.l)}%${1===e?")":`, ${e})`}`}}));var ng=e=>()=>e;function ig(e){return 1==(e=+e)?og: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):ng(isNaN(t)?r:t)}}function og(e,t){var r=t-e;return r?function(e,t){return function(r){return e+r*t}}(e,r):ng(isNaN(e)?t:e)}var ag=function e(t){var r=ig(t);function n(e,t){var n=r((e=Uv(e)).r,(t=Uv(t)).r),i=r(e.g,t.g),o=r(e.b,t.b),a=og(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 cg(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 lg(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]=yg(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 ug(e,t){var r=new Date;return e=+e,t=+t,function(n){return r.setTime(e*(1-n)+t*n),r}}function sg(e,t){return e=+e,t=+t,function(r){return e*(1-r)+t*r}}function fg(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]=yg(e[r],t[r]):i[r]=t[r];return function(e){for(r in n)i[r]=n[r](e);return i}}var pg=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,hg=new RegExp(pg.source,"g");function dg(e,t){var r,n,i,o=pg.lastIndex=hg.lastIndex=0,a=-1,c=[],l=[];for(e+="",t+="";(r=pg.exec(e))&&(n=hg.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:sg(r,n)})),o=hg.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 yg(e,t){var r,n=typeof t;return null==t||"boolean"===n?ng(t):("number"===n?sg:"string"===n?(r=Hv(t))?(t=r,ag):dg:t instanceof Hv?ag:t instanceof Date?ug:function(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}(t)?cg:Array.isArray(t)?lg:"function"!=typeof t.valueOf&&"function"!=typeof t.toString||isNaN(t)?fg:sg)(e,t)}function vg(e,t){return e=+e,t=+t,function(r){return Math.round(e*(1-r)+t*r)}}function gg(e,t){void 0===t&&(t=e,e=yg);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 mg(e){return+e}var bg=[0,1];function wg(e){return e}function xg(e,t){return(t-=e=+e)?function(r){return(r-e)/t}:function(e){return function(){return e}}(isNaN(t)?NaN:.5)}function Og(e,t,r){var n=e[0],i=e[1],o=t[0],a=t[1];return i<n?(n=xg(i,n),o=r(a,o)):(n=xg(n,i),o=r(o,a)),function(e){return o(n(e))}}function Sg(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]=xg(e[a],e[a+1]),o[a]=r(t[a],t[a+1]);return function(t){var r=Qy(e,t,1,n)-1;return o[r](i[r](t))}}function jg(e,t){return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown())}function Ag(){var e,t,r,n,i,o,a=bg,c=bg,l=yg,u=wg;function s(){var e=Math.min(a.length,c.length);return u!==wg&&(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?Sg:Og,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),sg)))(r)))},f.domain=function(e){return arguments.length?(a=Array.from(e,mg),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=vg,s()},f.clamp=function(e){return arguments.length?(u=!!e||wg,s()):u!==wg},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 Pg(){return Ag()(wg,wg)}function Mg(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 kg(e){return(e=Mg(Math.abs(e)))?e[1]:NaN}var Eg,Cg=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function _g(e){if(!(t=Cg.exec(e)))throw new Error("invalid format: "+e);var t;return new Tg({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 Tg(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 Dg(e,t){var r=Mg(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")}_g.prototype=Tg.prototype,Tg.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 Ng={"%":(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)=>Dg(100*e,t),r:Dg,s:function(e,t){var r=Mg(e,t);if(!r)return e+"";var n=r[0],i=r[1],o=i-(Eg=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")+Mg(e,Math.max(0,t+o-1))[0]},X:e=>Math.round(e).toString(16).toUpperCase(),x:e=>Math.round(e).toString(16)};function Ig(e){return e}var Lg,Bg,Rg,zg=Array.prototype.map,$g=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function Hg(e){var t,r,n=void 0===e.grouping||void 0===e.thousands?Ig:(t=zg.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?Ig:function(e){return function(t){return t.replace(/[0-9]/g,(function(t){return e[+t]}))}}(zg.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=_g(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"):Ng[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=Ng[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?$g[8+Eg/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=_g(e)).type="f",e)),n=3*Math.max(-8,Math.min(8,Math.floor(kg(t)/3))),i=Math.pow(10,-n),o=$g[8+n/3];return function(e){return r(i*e)+o}}}}function Vg(e,t,r,n){var i,o=sv(e,t,r);switch((n=_g(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(kg(t)/3)))-kg(Math.abs(e)))}(o,a))||(n.precision=i),Rg(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,kg(t)-kg(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,-kg(Math.abs(e)))}(o))||(n.precision=i-2*("%"===n.type))}return Bg(n)}function Fg(e){var t=e.domain;return e.ticks=function(e){var r=t();return lv(r[0],r[r.length-1],null==e?10:e)},e.tickFormat=function(e,r){var n=t();return Vg(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=uv(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 Ug(){var e=Pg();return e.copy=function(){return jg(e,Ug())},vv.apply(e,arguments),Fg(e)}function Wg(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 qg(e){return Math.log(e)}function Yg(e){return Math.exp(e)}function Xg(e){return-Math.log(-e)}function Kg(e){return-Math.exp(-e)}function Gg(e){return isFinite(e)?+("1e"+e):e<0?0:e}function Zg(e){return(t,r)=>-e(-t,r)}function Jg(e){const t=e(qg,Yg),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?Gg:e===Math.E?Math.exp:t=>Math.pow(e,t)}(o),r()[0]<0?(n=Zg(n),i=Zg(i),e(Xg,Kg)):e(qg,Yg),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=lv(a,c,h))}else d=lv(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=_g(r)).precision||(r.trim=!0),r=Bg(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(Wg(r(),{floor:e=>i(Math.floor(n(e))),ceil:e=>i(Math.ceil(n(e)))})),t}function Qg(e){return function(t){return Math.sign(t)*Math.log1p(Math.abs(t/e))}}function em(e){return function(t){return Math.sign(t)*Math.expm1(Math.abs(t))*e}}function tm(e){var t=1,r=e(Qg(t),em(t));return r.constant=function(r){return arguments.length?e(Qg(t=+r),em(t)):t},Fg(r)}function rm(e){return function(t){return t<0?-Math.pow(-t,e):Math.pow(t,e)}}function nm(e){return e<0?-Math.sqrt(-e):Math.sqrt(e)}function im(e){return e<0?-e*e:e*e}function om(e){var t=e(wg,wg),r=1;return t.exponent=function(t){return arguments.length?1===(r=+t)?e(wg,wg):.5===r?e(nm,im):e(rm(r),rm(1/r)):r},Fg(t)}function am(){var e=om(Ag());return e.copy=function(){return jg(e,am()).exponent(e.exponent())},vv.apply(e,arguments),e}function cm(e){return Math.sign(e)*e*e}Lg=Hg({thousands:",",grouping:[3],currency:["$",""]}),Bg=Lg.format,Rg=Lg.formatPrefix;const lm=new Date,um=new Date;function sm(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=>sm((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)=>(lm.setTime(+t),um.setTime(+n),e(lm),e(um),Math.floor(r(lm,um))),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 fm=sm((()=>{}),((e,t)=>{e.setTime(+e+t)}),((e,t)=>t-e));fm.every=e=>(e=Math.floor(e),isFinite(e)&&e>0?e>1?sm((t=>{t.setTime(Math.floor(t/e)*e)}),((t,r)=>{t.setTime(+t+r*e)}),((t,r)=>(r-t)/e)):fm:null),fm.range;const pm=1e3,hm=6e4,dm=36e5,ym=864e5,vm=6048e5,gm=2592e6,mm=31536e6,bm=sm((e=>{e.setTime(e-e.getMilliseconds())}),((e,t)=>{e.setTime(+e+t*pm)}),((e,t)=>(t-e)/pm),(e=>e.getUTCSeconds()));bm.range;const wm=sm((e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*pm)}),((e,t)=>{e.setTime(+e+t*hm)}),((e,t)=>(t-e)/hm),(e=>e.getMinutes()));wm.range;const xm=sm((e=>{e.setUTCSeconds(0,0)}),((e,t)=>{e.setTime(+e+t*hm)}),((e,t)=>(t-e)/hm),(e=>e.getUTCMinutes()));xm.range;const Om=sm((e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*pm-e.getMinutes()*hm)}),((e,t)=>{e.setTime(+e+t*dm)}),((e,t)=>(t-e)/dm),(e=>e.getHours()));Om.range;const Sm=sm((e=>{e.setUTCMinutes(0,0,0)}),((e,t)=>{e.setTime(+e+t*dm)}),((e,t)=>(t-e)/dm),(e=>e.getUTCHours()));Sm.range;const jm=sm((e=>e.setHours(0,0,0,0)),((e,t)=>e.setDate(e.getDate()+t)),((e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*hm)/ym),(e=>e.getDate()-1));jm.range;const Am=sm((e=>{e.setUTCHours(0,0,0,0)}),((e,t)=>{e.setUTCDate(e.getUTCDate()+t)}),((e,t)=>(t-e)/ym),(e=>e.getUTCDate()-1));Am.range;const Pm=sm((e=>{e.setUTCHours(0,0,0,0)}),((e,t)=>{e.setUTCDate(e.getUTCDate()+t)}),((e,t)=>(t-e)/ym),(e=>Math.floor(e/ym)));function Mm(e){return sm((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())*hm)/vm))}Pm.range;const km=Mm(0),Em=Mm(1),Cm=Mm(2),_m=Mm(3),Tm=Mm(4),Dm=Mm(5),Nm=Mm(6);function Im(e){return sm((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)/vm))}km.range,Em.range,Cm.range,_m.range,Tm.range,Dm.range,Nm.range;const Lm=Im(0),Bm=Im(1),Rm=Im(2),zm=Im(3),$m=Im(4),Hm=Im(5),Vm=Im(6);Lm.range,Bm.range,Rm.range,zm.range,$m.range,Hm.range,Vm.range;const Fm=sm((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()));Fm.range;const Um=sm((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()));Um.range;const Wm=sm((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()));Wm.every=e=>isFinite(e=Math.floor(e))&&e>0?sm((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,Wm.range;const qm=sm((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 Ym(e,t,r,n,i,o){const a=[[bm,1,pm],[bm,5,5e3],[bm,15,15e3],[bm,30,3e4],[o,1,hm],[o,5,3e5],[o,15,9e5],[o,30,18e5],[i,1,dm],[i,3,108e5],[i,6,216e5],[i,12,432e5],[n,1,ym],[n,2,1728e5],[r,1,vm],[t,1,gm],[t,3,7776e6],[e,1,mm]];function c(t,r,n){const i=Math.abs(r-t)/n,o=Gy((([,,e])=>e)).right(a,i);if(o===a.length)return e.every(sv(t/mm,r/mm,n));if(0===o)return fm.every(Math.max(sv(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]}qm.every=e=>isFinite(e=Math.floor(e))&&e>0?sm((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,qm.range;const[Xm,Km]=Ym(qm,Um,Lm,Pm,Sm,xm),[Gm,Zm]=Ym(Wm,Fm,km,jm,Om,wm);function Jm(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 Qm(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 eb(e,t,r){return{y:e,m:t,d:r,H:0,M:0,S:0,L:0}}var tb,rb,nb,ib={"-":"",_:" ",0:"0"},ob=/^\s*\d+/,ab=/^%/,cb=/[\\^$*+?|[\]().{}]/g;function lb(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 ub(e){return e.replace(cb,"\\$&")}function sb(e){return new RegExp("^(?:"+e.map(ub).join("|")+")","i")}function fb(e){return new Map(e.map(((e,t)=>[e.toLowerCase(),t])))}function pb(e,t,r){var n=ob.exec(t.slice(r,r+1));return n?(e.w=+n[0],r+n[0].length):-1}function hb(e,t,r){var n=ob.exec(t.slice(r,r+1));return n?(e.u=+n[0],r+n[0].length):-1}function db(e,t,r){var n=ob.exec(t.slice(r,r+2));return n?(e.U=+n[0],r+n[0].length):-1}function yb(e,t,r){var n=ob.exec(t.slice(r,r+2));return n?(e.V=+n[0],r+n[0].length):-1}function vb(e,t,r){var n=ob.exec(t.slice(r,r+2));return n?(e.W=+n[0],r+n[0].length):-1}function gb(e,t,r){var n=ob.exec(t.slice(r,r+4));return n?(e.y=+n[0],r+n[0].length):-1}function mb(e,t,r){var n=ob.exec(t.slice(r,r+2));return n?(e.y=+n[0]+(+n[0]>68?1900:2e3),r+n[0].length):-1}function bb(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 wb(e,t,r){var n=ob.exec(t.slice(r,r+1));return n?(e.q=3*n[0]-3,r+n[0].length):-1}function xb(e,t,r){var n=ob.exec(t.slice(r,r+2));return n?(e.m=n[0]-1,r+n[0].length):-1}function Ob(e,t,r){var n=ob.exec(t.slice(r,r+2));return n?(e.d=+n[0],r+n[0].length):-1}function Sb(e,t,r){var n=ob.exec(t.slice(r,r+3));return n?(e.m=0,e.d=+n[0],r+n[0].length):-1}function jb(e,t,r){var n=ob.exec(t.slice(r,r+2));return n?(e.H=+n[0],r+n[0].length):-1}function Ab(e,t,r){var n=ob.exec(t.slice(r,r+2));return n?(e.M=+n[0],r+n[0].length):-1}function Pb(e,t,r){var n=ob.exec(t.slice(r,r+2));return n?(e.S=+n[0],r+n[0].length):-1}function Mb(e,t,r){var n=ob.exec(t.slice(r,r+3));return n?(e.L=+n[0],r+n[0].length):-1}function kb(e,t,r){var n=ob.exec(t.slice(r,r+6));return n?(e.L=Math.floor(n[0]/1e3),r+n[0].length):-1}function Eb(e,t,r){var n=ab.exec(t.slice(r,r+1));return n?r+n[0].length:-1}function Cb(e,t,r){var n=ob.exec(t.slice(r));return n?(e.Q=+n[0],r+n[0].length):-1}function _b(e,t,r){var n=ob.exec(t.slice(r));return n?(e.s=+n[0],r+n[0].length):-1}function Tb(e,t){return lb(e.getDate(),t,2)}function Db(e,t){return lb(e.getHours(),t,2)}function Nb(e,t){return lb(e.getHours()%12||12,t,2)}function Ib(e,t){return lb(1+jm.count(Wm(e),e),t,3)}function Lb(e,t){return lb(e.getMilliseconds(),t,3)}function Bb(e,t){return Lb(e,t)+"000"}function Rb(e,t){return lb(e.getMonth()+1,t,2)}function zb(e,t){return lb(e.getMinutes(),t,2)}function $b(e,t){return lb(e.getSeconds(),t,2)}function Hb(e){var t=e.getDay();return 0===t?7:t}function Vb(e,t){return lb(km.count(Wm(e)-1,e),t,2)}function Fb(e){var t=e.getDay();return t>=4||0===t?Tm(e):Tm.ceil(e)}function Ub(e,t){return e=Fb(e),lb(Tm.count(Wm(e),e)+(4===Wm(e).getDay()),t,2)}function Wb(e){return e.getDay()}function qb(e,t){return lb(Em.count(Wm(e)-1,e),t,2)}function Yb(e,t){return lb(e.getFullYear()%100,t,2)}function Xb(e,t){return lb((e=Fb(e)).getFullYear()%100,t,2)}function Kb(e,t){return lb(e.getFullYear()%1e4,t,4)}function Gb(e,t){var r=e.getDay();return lb((e=r>=4||0===r?Tm(e):Tm.ceil(e)).getFullYear()%1e4,t,4)}function Zb(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+lb(t/60|0,"0",2)+lb(t%60,"0",2)}function Jb(e,t){return lb(e.getUTCDate(),t,2)}function Qb(e,t){return lb(e.getUTCHours(),t,2)}function ew(e,t){return lb(e.getUTCHours()%12||12,t,2)}function tw(e,t){return lb(1+Am.count(qm(e),e),t,3)}function rw(e,t){return lb(e.getUTCMilliseconds(),t,3)}function nw(e,t){return rw(e,t)+"000"}function iw(e,t){return lb(e.getUTCMonth()+1,t,2)}function ow(e,t){return lb(e.getUTCMinutes(),t,2)}function aw(e,t){return lb(e.getUTCSeconds(),t,2)}function cw(e){var t=e.getUTCDay();return 0===t?7:t}function lw(e,t){return lb(Lm.count(qm(e)-1,e),t,2)}function uw(e){var t=e.getUTCDay();return t>=4||0===t?$m(e):$m.ceil(e)}function sw(e,t){return e=uw(e),lb($m.count(qm(e),e)+(4===qm(e).getUTCDay()),t,2)}function fw(e){return e.getUTCDay()}function pw(e,t){return lb(Bm.count(qm(e)-1,e),t,2)}function hw(e,t){return lb(e.getUTCFullYear()%100,t,2)}function dw(e,t){return lb((e=uw(e)).getUTCFullYear()%100,t,2)}function yw(e,t){return lb(e.getUTCFullYear()%1e4,t,4)}function vw(e,t){var r=e.getUTCDay();return lb((e=r>=4||0===r?$m(e):$m.ceil(e)).getUTCFullYear()%1e4,t,4)}function gw(){return"+0000"}function mw(){return"%"}function bw(e){return+e}function ww(e){return Math.floor(+e/1e3)}function xw(e){return new Date(e)}function Ow(e){return e instanceof Date?+e:+new Date(+e)}function Sw(e,t,r,n,i,o,a,c,l,u){var s=Pg(),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,Ow)):p().map(xw)},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(Wg(r,e)):s},s.copy=function(){return jg(s,Sw(e,t,r,n,i,o,a,c,l,u))},s}function jw(){var e,t,r,n,i,o=0,a=1,c=wg,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(yg),u.rangeRound=s(vg),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 Aw(e,t){return t.domain(e.domain()).interpolator(e.interpolator()).clamp(e.clamp()).unknown(e.unknown())}function Pw(){var e=om(jw());return e.copy=function(){return Aw(e,Pw()).exponent(e.exponent())},gv.apply(e,arguments)}function Mw(){var e,t,r,n,i,o,a,c=0,l=.5,u=1,s=1,f=wg,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=gg(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(yg),h.rangeRound=d(vg),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 kw(){var e=om(Mw());return e.copy=function(){return Aw(e,kw()).exponent(e.exponent())},gv.apply(e,arguments)}!function(e){tb=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=sb(i),s=fb(i),f=sb(o),p=fb(o),h=sb(a),d=fb(a),y=sb(c),v=fb(c),g=sb(l),m=fb(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:Tb,e:Tb,f:Bb,g:Xb,G:Gb,H:Db,I:Nb,j:Ib,L:Lb,m:Rb,M:zb,p:function(e){return i[+(e.getHours()>=12)]},q:function(e){return 1+~~(e.getMonth()/3)},Q:bw,s:ww,S:$b,u:Hb,U:Vb,V:Ub,w:Wb,W:qb,x:null,X:null,y:Yb,Y:Kb,Z:Zb,"%":mw},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:Jb,e:Jb,f:nw,g:dw,G:vw,H:Qb,I:ew,j:tw,L:rw,m:iw,M:ow,p:function(e){return i[+(e.getUTCHours()>=12)]},q:function(e){return 1+~~(e.getUTCMonth()/3)},Q:bw,s:ww,S:aw,u:cw,U:lw,V:sw,w:fw,W:pw,x:null,X:null,y:hw,Y:yw,Z:gw,"%":mw},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:Ob,e:Ob,f:kb,g:mb,G:gb,H:jb,I:jb,j:Sb,L:Mb,m:xb,M:Ab,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:wb,Q:Cb,s:_b,S:Pb,u:hb,U:db,V:yb,w:pb,W:vb,x:function(e,t,n){return j(e,r,t,n)},X:function(e,t,r){return j(e,n,t,r)},y:mb,Y:gb,Z:bb,"%":Eb};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=ib[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=eb(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=Qm(eb(o.y,0,1))).getUTCDay(),n=i>4||0===i?Bm.ceil(n):Bm(n),n=Am.offset(n,7*(o.V-1)),o.y=n.getUTCFullYear(),o.m=n.getUTCMonth(),o.d=n.getUTCDate()+(o.w+6)%7):(i=(n=Jm(eb(o.y,0,1))).getDay(),n=i>4||0===i?Em.ceil(n):Em(n),n=jm.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?Qm(eb(o.y,0,1)).getUTCDay():Jm(eb(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,Qm(o)):Jm(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 ib?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),rb=tb.format,tb.parse,nb=tb.utcFormat,tb.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 Ew=Object.freeze({__proto__:null,scaleBand:wv,scaleDiverging:function e(){var t=Fg(Mw()(wg));return t.copy=function(){return Aw(t,e())},gv.apply(t,arguments)},scaleDivergingLog:function e(){var t=Jg(Mw()).domain([.1,1,10]);return t.copy=function(){return Aw(t,e()).base(t.base())},gv.apply(t,arguments)},scaleDivergingPow:kw,scaleDivergingSqrt:function(){return kw.apply(null,arguments).exponent(.5)},scaleDivergingSymlog:function e(){var t=tm(Mw());return t.copy=function(){return Aw(t,e()).constant(t.constant())},gv.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,mg),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,mg):[0,1],Fg(n)},scaleImplicit:mv,scaleLinear:Ug,scaleLog:function e(){const t=Jg(Ag()).domain([1,10]);return t.copy=()=>jg(t,e()).base(t.base()),vv.apply(t,arguments),t},scaleOrdinal:bv,scalePoint:Ov,scalePow:am,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]=yv(r,e/t);return a}function a(e){return null==e||isNaN(e=+e)?t:n[Qy(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(Xy),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)},vv.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[Qy(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)},vv.apply(Fg(c),arguments)},scaleRadial:function e(){var t,r=Pg(),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(cm(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,mg)).map(cm)),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)},vv.apply(o,arguments),Fg(o)},scaleSequential:function e(){var t=Fg(jw()(wg));return t.copy=function(){return Aw(t,e())},gv.apply(t,arguments)},scaleSequentialLog:function e(){var t=Jg(jw()).domain([1,10]);return t.copy=function(){return Aw(t,e()).base(t.base())},gv.apply(t,arguments)},scaleSequentialPow:Pw,scaleSequentialQuantile:function e(){var t=[],r=wg;function n(e){if(null!=e&&!isNaN(e=+e))return r((Qy(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(Xy),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 pv(e);if(t>=1)return fv(e);var n,i=(n-1)*t,o=Math.floor(i),a=fv(hv(e,o).subarray(0,o+1));return a+(pv(e.subarray(o+1))-a)*(i-o)}}(t,n/e)))},n.copy=function(){return e(r).domain(t)},gv.apply(n,arguments)},scaleSequentialSqrt:function(){return Pw.apply(null,arguments).exponent(.5)},scaleSequentialSymlog:function e(){var t=tm(jw());return t.copy=function(){return Aw(t,e()).constant(t.constant())},gv.apply(t,arguments)},scaleSqrt:function(){return am.apply(null,arguments).exponent(.5)},scaleSymlog:function e(){var t=tm(Ag());return t.copy=function(){return jg(t,e()).constant(t.constant())},vv.apply(t,arguments)},scaleThreshold:function e(){var t,r=[.5],n=[0,1],i=1;function o(e){return null!=e&&e<=e?n[Qy(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)},vv.apply(o,arguments)},scaleTime:function(){return vv.apply(Sw(Gm,Zm,Wm,Fm,km,jm,Om,wm,bm,rb).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)},scaleUtc:function(){return vv.apply(Sw(Xm,Km,qm,Um,Lm,Am,Sm,xm,bm,nb).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)},tickFormat:Vg}),Cw=An;var _w=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&&!Cw(a):r(a,c)))var c=a,l=o}return l};var Tw=_w,Dw=function(e,t){return e>t},Nw=Gf;var Iw=function(e){return e&&e.length?Tw(e,Nw,Dw):void 0},Lw=Yt(Iw);var Bw=_w,Rw=function(e,t){return e<t},zw=Gf;var $w=function(e){return e&&e.length?Bw(e,zw,Rw):void 0},Hw=Yt($w),Vw=lo,Fw=up,Uw=uh,Ww=on;var qw=eh,Yw=function(e,t){return(Ww(e)?Vw:Uw)(e,Fw(t))};var Xw=Yt((function(e,t){return qw(Yw(e,t),1)})),Kw=gf;var Gw,Zw=Yt((function(e,t){return Kw(e,t)})),Jw=1e9,Qw=!0,ex="[DecimalError] ",tx=ex+"Invalid argument: ",rx=ex+"Exponent out of range: ",nx=Math.floor,ix=Math.pow,ox=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,ax=1e7,cx=7,lx=9007199254740991,ux=nx(lx/cx),sx={};function fx(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)),Qw?xx(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/cx))>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)/ax|0,l[o]%=ax;for(r&&(l.unshift(r),++i),c=l.length;0==l[--c];)l.pop();return t.d=l,t.e=i,Qw?xx(t,f):t}function px(e,t,r){if(e!==~~e||e<t||e>r)throw Error(tx+e)}function hx(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=cx-n.length)&&(o+=mx(r)),o+=n;a=e[t],(r=cx-(n=a+"").length)&&(o+=mx(r))}else if(0===a)return"0";for(;a%10==0;)a/=10;return o+a}sx.absoluteValue=sx.abs=function(){var e=new this.constructor(this);return e.s&&(e.s=1),e},sx.comparedTo=sx.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},sx.decimalPlaces=sx.dp=function(){var e=this,t=e.d.length-1,r=(t-e.e)*cx;if(t=e.d[t])for(;t%10==0;t/=10)r--;return r<0?0:r},sx.dividedBy=sx.div=function(e){return dx(this,new this.constructor(e))},sx.dividedToIntegerBy=sx.idiv=function(e){var t=this.constructor;return xx(dx(this,new t(e),0,1),t.precision)},sx.equals=sx.eq=function(e){return!this.cmp(e)},sx.exponent=function(){return vx(this)},sx.greaterThan=sx.gt=function(e){return this.cmp(e)>0},sx.greaterThanOrEqualTo=sx.gte=function(e){return this.cmp(e)>=0},sx.isInteger=sx.isint=function(){return this.e>this.d.length-2},sx.isNegative=sx.isneg=function(){return this.s<0},sx.isPositive=sx.ispos=function(){return this.s>0},sx.isZero=function(){return 0===this.s},sx.lessThan=sx.lt=function(e){return this.cmp(e)<0},sx.lessThanOrEqualTo=sx.lte=function(e){return this.cmp(e)<1},sx.logarithm=sx.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(Gw))throw Error(ex+"NaN");if(r.s<1)throw Error(ex+(r.s?"NaN":"-Infinity"));return r.eq(Gw)?new n(0):(Qw=!1,t=dx(bx(r,o),bx(e,o),o),Qw=!0,xx(t,i))},sx.minus=sx.sub=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?Ox(t,e):fx(t,(e.s=-e.s,e))},sx.modulo=sx.mod=function(e){var t,r=this,n=r.constructor,i=n.precision;if(!(e=new n(e)).s)throw Error(ex+"NaN");return r.s?(Qw=!1,t=dx(r,e,0,1).times(e),Qw=!0,r.minus(t)):xx(new n(r),i)},sx.naturalExponential=sx.exp=function(){return yx(this)},sx.naturalLogarithm=sx.ln=function(){return bx(this)},sx.negated=sx.neg=function(){var e=new this.constructor(this);return e.s=-e.s||0,e},sx.plus=sx.add=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?fx(t,e):Ox(t,(e.s=-e.s,e))},sx.precision=sx.sd=function(e){var t,r,n,i=this;if(void 0!==e&&e!==!!e&&1!==e&&0!==e)throw Error(tx+e);if(t=vx(i)+1,r=(n=i.d.length-1)*cx+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},sx.squareRoot=sx.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(ex+"NaN")}for(e=vx(c),Qw=!1,0==(i=Math.sqrt(+c))||i==1/0?(((t=hx(c.d)).length+e)%2==0&&(t+="0"),i=Math.sqrt(t),e=nx((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(dx(c,o,a+2)).times(.5),hx(o.d).slice(0,a)===(t=hx(n.d)).slice(0,a)){if(t=t.slice(a-3,a+1),i==a&&"4999"==t){if(xx(o,r+1,0),o.times(o).eq(c)){n=o;break}}else if("9999"!=t)break;a+=4}return Qw=!0,xx(n,r)},sx.times=sx.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%ax|0,t=c/ax|0;o[i]=(o[i]+t)%ax|0}for(;!o[--a];)o.pop();return t?++r:o.shift(),e.d=o,e.e=r,Qw?xx(e,f.precision):e},sx.toDecimalPlaces=sx.todp=function(e,t){var r=this,n=r.constructor;return r=new n(r),void 0===e?r:(px(e,0,Jw),void 0===t?t=n.rounding:px(t,0,8),xx(r,e+vx(r)+1,t))},sx.toExponential=function(e,t){var r,n=this,i=n.constructor;return void 0===e?r=Sx(n,!0):(px(e,0,Jw),void 0===t?t=i.rounding:px(t,0,8),r=Sx(n=xx(new i(n),e+1,t),!0,e+1)),r},sx.toFixed=function(e,t){var r,n,i=this,o=i.constructor;return void 0===e?Sx(i):(px(e,0,Jw),void 0===t?t=o.rounding:px(t,0,8),r=Sx((n=xx(new o(i),e+vx(i)+1,t)).abs(),!1,e+vx(n)+1),i.isneg()&&!i.isZero()?"-"+r:r)},sx.toInteger=sx.toint=function(){var e=this,t=e.constructor;return xx(new t(e),vx(e)+1,t.rounding)},sx.toNumber=function(){return+this},sx.toPower=sx.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(Gw);if(!(c=new l(c)).s){if(e.s<1)throw Error(ex+"Infinity");return c}if(c.eq(Gw))return c;if(n=l.precision,e.eq(Gw))return xx(c,n);if(a=(t=e.e)>=(r=e.d.length-1),o=c.s,a){if((r=u<0?-u:u)<=lx){for(i=new l(Gw),t=Math.ceil(n/cx+4),Qw=!1;r%2&&jx((i=i.times(c)).d,t),0!==(r=nx(r/2));)jx((c=c.times(c)).d,t);return Qw=!0,e.s<0?new l(Gw).div(i):xx(i,n)}}else if(o<0)throw Error(ex+"NaN");return o=o<0&&1&e.d[Math.max(t,r)]?-1:1,c.s=1,Qw=!1,i=e.times(bx(c,n+12)),Qw=!0,(i=yx(i)).s=o,i},sx.toPrecision=function(e,t){var r,n,i=this,o=i.constructor;return void 0===e?n=Sx(i,(r=vx(i))<=o.toExpNeg||r>=o.toExpPos):(px(e,1,Jw),void 0===t?t=o.rounding:px(t,0,8),n=Sx(i=xx(new o(i),e,t),e<=(r=vx(i))||r<=o.toExpNeg,e)),n},sx.toSignificantDigits=sx.tosd=function(e,t){var r=this.constructor;return void 0===e?(e=r.precision,t=r.rounding):(px(e,1,Jw),void 0===t?t=r.rounding:px(t,0,8)),xx(new r(this),e,t)},sx.toString=sx.valueOf=sx.val=sx.toJSON=sx[Symbol.for("nodejs.util.inspect.custom")]=function(){var e=this,t=vx(e),r=e.constructor;return Sx(e,t<=r.toExpNeg||t>=r.toExpPos)};var dx=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%ax|0,n=r/ax|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*ax+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(ex+"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+(vx(n)-vx(i))+1:o)<0)return new A(0);if(m=m/cx+2|0,u=0,1==S)for(s=0,k=k[0],m++;(u<x||s)&&m--;u++)b=s*ax+(M[u]||0),d[u]=b/k|0,s=b%k|0;else{for((s=ax/(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]>=ax/2&&++O;do{s=0,(c=t(k,y,S,v))<0?(g=y[0],S!=v&&(g=g*ax+(y[1]||0)),(s=g/O|0)>1?(s>=ax&&(s=ax-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,xx(h,a?o+vx(h)+1:o)}}();function yx(e,t){var r,n,i,o,a,c=0,l=0,u=e.constructor,s=u.precision;if(vx(e)>16)throw Error(rx+vx(e));if(!e.s)return new u(Gw);for(null==t?(Qw=!1,a=s):a=t,o=new u(.03125);e.abs().gte(.1);)e=e.times(o),l+=5;for(a+=Math.log(ix(2,l))/Math.LN10*2+5|0,r=n=i=new u(Gw),u.precision=a;;){if(n=xx(n.times(e),a),r=r.times(++c),hx((o=i.plus(dx(n,r,a))).d).slice(0,a)===hx(i.d).slice(0,a)){for(;l--;)i=xx(i.times(i),a);return u.precision=s,null==t?(Qw=!0,xx(i,s)):i}i=o}}function vx(e){for(var t=e.e*cx,r=e.d[0];r>=10;r/=10)t++;return t}function gx(e,t,r){if(t>e.LN10.sd())throw Qw=!0,r&&(e.precision=r),Error(ex+"LN10 precision limit exceeded");return xx(new e(e.LN10),t)}function mx(e){for(var t="";e--;)t+="0";return t}function bx(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(ex+(p.s?"NaN":"-Infinity"));if(p.eq(Gw))return new d(0);if(null==t?(Qw=!1,u=y):u=t,p.eq(10))return null==t&&(Qw=!0),gx(d,u);if(u+=10,d.precision=u,n=(r=hx(h)).charAt(0),o=vx(p),!(Math.abs(o)<15e14))return l=gx(d,u+2,y).times(o+""),p=bx(new d(n+"."+r.slice(1)),u-10).plus(l),d.precision=y,null==t?(Qw=!0,xx(p,y)):p;for(;n<7&&1!=n||1==n&&r.charAt(1)>3;)n=(r=hx((p=p.times(e)).d)).charAt(0),f++;for(o=vx(p),n>1?(p=new d("0."+r),o++):p=new d(n+"."+r.slice(1)),c=a=p=dx(p.minus(Gw),p.plus(Gw),u),s=xx(p.times(p),u),i=3;;){if(a=xx(a.times(s),u),hx((l=c.plus(dx(a,new d(i),u))).d).slice(0,u)===hx(c.d).slice(0,u))return c=c.times(2),0!==o&&(c=c.plus(gx(d,u+2,y).times(o+""))),c=dx(c,new d(f),u),d.precision=y,null==t?(Qw=!0,xx(c,y)):c;c=l,i+=2}}function wx(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=nx(r/cx),e.d=[],n=(r+1)%cx,r<0&&(n+=cx),n<i){for(n&&e.d.push(+t.slice(0,n)),i-=cx;n<i;)e.d.push(+t.slice(n,n+=cx));t=t.slice(n),n=cx-t.length}else n-=i;for(;n--;)t+="0";if(e.d.push(+t),Qw&&(e.e>ux||e.e<-ux))throw Error(rx+r)}else e.s=0,e.e=0,e.d=[0];return e}function xx(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+=cx,i=t,u=f[s=0];else{if((s=Math.ceil((n+1)/cx))>=(o=f.length))return e;for(u=o=f[s],a=1;o>=10;o/=10)a++;i=(n%=cx)-cx+a}if(void 0!==r&&(c=u/(o=ix(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/ix(10,a-i):0:f[s-1])%10&1||r==(e.s<0?8:7))),t<1||!f[0])return l?(o=vx(e),f.length=1,t=t-o-1,f[0]=ix(10,(cx-t%cx)%cx),e.e=nx(-t/cx)||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=ix(10,cx-n),f[s]=i>0?(u/ix(10,a-i)%ix(10,i)|0)*o:0),l)for(;;){if(0==s){(f[0]+=o)==ax&&(f[0]=1,++e.e);break}if(f[s]+=o,f[s]!=ax)break;f[s--]=0,o=1}for(n=f.length;0===f[--n];)f.pop();if(Qw&&(e.e>ux||e.e<-ux))throw Error(rx+vx(e));return e}function Ox(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),Qw?xx(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/cx),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]=ax-1;--l[o],l[i]+=ax}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,Qw?xx(t,h):t):new p(0)}function Sx(e,t,r){var n,i=vx(e),o=hx(e.d),a=o.length;return t?(r&&(n=r-a)>0?o=o.charAt(0)+"."+o.slice(1)+mx(n):a>1&&(o=o.charAt(0)+"."+o.slice(1)),o=o+(i<0?"e":"e+")+i):i<0?(o="0."+mx(-i-1)+o,r&&(n=r-a)>0&&(o+=mx(n))):i>=a?(o+=mx(i+1-a),r&&(n=r-i-1)>0&&(o=o+"."+mx(n))):((n=i+1)<a&&(o=o.slice(0,n)+"."+o.slice(n)),r&&(n=r-a)>0&&(i+1===a&&(o+="."),o+=mx(n))),e.s<0?"-"+o:o}function jx(e,t){if(e.length>t)return e.length=t,!0}function Ax(e){if(!e||"object"!=typeof e)throw Error(ex+"Object expected");var t,r,n,i=["precision",1,Jw,"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(!(nx(n)===n&&n>=i[t+1]&&n<=i[t+2]))throw Error(tx+r+": "+n);this[r]=n}if(void 0!==(n=e[r="LN10"])){if(n!=Math.LN10)throw Error(tx+r+": "+n);this[r]=new this(n)}return this}var Px=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(tx+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])):wx(t,e.toString())}if("string"!=typeof e)throw Error(tx+e);if(45===e.charCodeAt(0)?(e=e.slice(1),t.s=-1):t.s=1,!ox.test(e))throw Error(tx+e);wx(t,e)}if(o.prototype=sx,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=Ax,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"});Gw=new Px(1);var Mx=Px;function kx(e){return function(e){if(Array.isArray(e))return Ex(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 Ex(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 Ex(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 Ex(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 Cx=function(e){return e},_x={"@@functional/placeholder":!0},Tx=function(e){return e===_x},Dx=function(e){return function t(){return 0===arguments.length||1===arguments.length&&Tx(arguments.length<=0?void 0:arguments[0])?t:e.apply(void 0,arguments)}},Nx=function e(t,r){return 1===t?r:Dx((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!==_x})).length;return a>=t?r.apply(void 0,i):e(t-a,Dx((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 Tx(e)?t.shift():e}));return r.apply(void 0,kx(o).concat(t))})))}))},Ix=function(e){return Nx(e.length,e)},Lx=function(e,t){for(var r=[],n=e;n<t;++n)r[n-e]=n;return r},Bx=Ix((function(e,t){return Array.isArray(t)?t.map(e):Object.keys(t).map((function(e){return t[e]})).map(e)})),Rx=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];if(!t.length)return Cx;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))}},zx=function(e){return Array.isArray(e)?e.reverse():e.split("").reverse.join("")},$x=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 Hx=Ix((function(e,t,r){var n=+e;return n+r*(+t-n)})),Vx=Ix((function(e,t,r){var n=t-+e;return(r-e)/(n=n||1/0)})),Fx=Ix((function(e,t,r){var n=t-+e;return n=n||1/0,Math.max(0,Math.min(1,(r-e)/n))})),Ux={rangeStep:function(e,t,r){for(var n=new Mx(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 Mx(e).abs().log(10).toNumber())+1},interpolateNumber:Hx,uninterpolateNumber:Vx,uninterpolateTruncation:Fx};function Wx(e){return function(e){if(Array.isArray(e))return Xx(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||Yx(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 qx(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)||Yx(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 Yx(e,t){if(e){if("string"==typeof e)return Xx(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)?Xx(e,t):void 0}}function Xx(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 Kx(e){var t=qx(e,2),r=t[0],n=t[1],i=r,o=n;return r>n&&(i=n,o=r),[i,o]}function Gx(e,t,r){if(e.lte(0))return new Mx(0);var n=Ux.getDigitCount(e.toNumber()),i=new Mx(10).pow(n),o=e.div(i),a=1!==n?.05:.1,c=new Mx(Math.ceil(o.div(a).toNumber())).add(r).mul(a).mul(i);return t?c:new Mx(Math.ceil(c))}function Zx(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 Mx(0),tickMin:new Mx(0),tickMax:new Mx(0)};var o,a=Gx(new Mx(t).sub(e).div(r-1),n,i);o=e<=0&&t>=0?new Mx(0):(o=new Mx(e).add(t).div(2)).sub(new Mx(o).mod(a));var c=Math.ceil(o.sub(e).div(a).toNumber()),l=Math.ceil(new Mx(t).sub(o).div(a).toNumber()),u=c+l+1;return u>r?Zx(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 Mx(c).mul(a)),tickMax:o.add(new Mx(l).mul(a))})}var Jx=$x((function(e){var t=qx(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=qx(Kx([r,n]),2),l=c[0],u=c[1];if(l===-1/0||u===1/0){var s=u===1/0?[l].concat(Wx(Lx(0,i-1).map((function(){return 1/0})))):[].concat(Wx(Lx(0,i-1).map((function(){return-1/0}))),[u]);return r>n?zx(s):s}if(l===u)return function(e,t,r){var n=1,i=new Mx(e);if(!i.isint()&&r){var o=Math.abs(e);o<1?(n=new Mx(10).pow(Ux.getDigitCount(e)-1),i=new Mx(Math.floor(i.div(n).toNumber())).mul(n)):o>1&&(i=new Mx(Math.floor(e)))}else 0===e?i=new Mx(Math.floor((t-1)/2)):r||(i=new Mx(Math.floor(e)));var a=Math.floor((t-1)/2);return Rx(Bx((function(e){return i.add(new Mx(e-a).mul(n)).toNumber()})),Lx)(0,t)}(l,i,o);var f=Zx(l,u,a,o),p=f.step,h=f.tickMin,d=f.tickMax,y=Ux.rangeStep(h,d.add(new Mx(.1).mul(p)),p);return r>n?zx(y):y})),Qx=$x((function(e,t){var r=qx(e,2),n=r[0],i=r[1],o=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],a=qx(Kx([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=Gx(new Mx(l).sub(c).div(u-1),o,0),f=[].concat(Wx(Ux.rangeStep(new Mx(c),new Mx(l).sub(new Mx(.99).mul(s)),s)),[l]);return n>i?zx(f):f})),eO="production"===process.env.NODE_ENV,tO="Invariant failed";function rO(e,t){if(eO)throw new Error(tO);var r="function"==typeof t?t():t,n=r?"".concat(tO,": ").concat(r):tO;throw new Error(n)}var nO=["offset","layout","width","dataKey","data","dataPointFormatter","xAxis","yAxis"];function iO(){return iO=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},iO.apply(this,arguments)}function oO(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 aO(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 aO(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 aO(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 cO(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 lO(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=cO(e,nO),s=Pa(u,!1);"x"===e.direction&&"number"!==c.type&&("production"!==process.env.NODE_ENV?rO(0,'ErrorBar requires Axis type property to be "number".'):rO());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=oO(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(Ba,iO({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",iO({},e,{key:"line-".concat(e.x1,"-").concat(e.x2,"-").concat(e.y1,"-").concat(e.y2)}))})))}));return Q.createElement(Ba,{className:"recharts-errorBars"},f)}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 sO(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 fO(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?sO(Object(r),!0).forEach((function(t){pO(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):sO(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function pO(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}lO.defaultProps={stroke:"black",strokeWidth:1.5,width:5,offset:0,layout:"horizontal"},lO.displayName="ErrorBar";var hO=function(e){var t,r=e.children,n=e.formattedGraphicalItems,i=e.legendWidth,o=e.legendContent,a=Oa(r,Xp);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:OO(t),value:i||n,payload:t.props}})),fO(fO(fO({},a.props),Xp.getWithHeight(a,i)),{},{payload:t,item:a})):null};function dO(e){return dO="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},dO(e)}function yO(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 vO(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?yO(Object(r),!0).forEach((function(t){gO(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):yO(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function gO(e,t,r){return t=function(e){var t=function(e,t){if("object"!=dO(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=dO(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==dO(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 mO(e){return function(e){if(Array.isArray(e))return bO(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 bO(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 bO(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 bO(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 wO(e,t,r){return _o(e)||_o(t)?r:Zo(t)?Co(e,t,r):Bn(t)?t(e):r}function xO(e,t,r,n){var i=Xw(e,(function(e){return wO(e,t)}));if("number"===r){var o=i.filter((function(e){return Go(e)||parseFloat(e)}));return o.length?[Hw(o),Lw(o)]:[1/0,-1/0]}return(n?i.filter((function(e){return!_o(e)})):i).map((function(e){return Zo(e)||e instanceof Date?e:""}))}var OO=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},SO=function(e,t,r,n,i){var o=xa(t.props.children,lO).filter((function(e){return function(e,t,r){return!!_o(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=wO(t,r);if(_o(n))return e;var i=Array.isArray(n)?[Hw(n),Lw(n)]:[n,n],o=a.reduce((function(e,r){var n=wO(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},jO=function(e,t,r,n,i){var o=t.map((function(t){var o=t.props.dataKey;return"number"===r&&o&&SO(e,t,o,n)||xO(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}),[])},AO=function(e,t){return"horizontal"===e&&"xAxis"===t||"vertical"===e&&"yAxis"===t||"centric"===e&&"angleAxis"===t||"radial"===e&&"radiusAxis"===t},PO=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*Xo(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!Yo(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}}))},MO=new WeakMap,kO=function(e,t){if("function"!=typeof t)return e;MO.has(e)||MO.set(e,new WeakMap);var r=MO.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},EO=1e-4,CO={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=Yo(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}yl(e,t)}},none:yl,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}yl(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,yl(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=Yo(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)}}},_O=function(e,t,r){var n=t.map((function(e){return e.props.dataKey})),i=CO[r],o=function(){var e=yc([]),t=vl,r=yl,n=gl;function i(i){var o,a,c=Array.from(e.apply(this,arguments),ml),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=kc(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:yc(Array.from(t)),i):e},i.value=function(e){return arguments.length?(n="function"==typeof e?e:yc(+e),i):n},i.order=function(e){return arguments.length?(t=null==e?vl:"function"==typeof e?e:yc(Array.from(e)),i):t},i.offset=function(e){return arguments.length?(r=null==e?yl:e,i):r},i}().keys(n).value((function(e,t){return+wO(e,t,0)})).order(vl).offset(i);return o(e)};function TO(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&&!_o(i[t.dataKey])){var c=na(r,"value",i[t.dataKey]);if(c)return c.coordinate+n/2}return r[o]?r[o].coordinate+n/2:null}var l=wO(i,_o(a)?t.dataKey:a);return _o(l)?null:t.scale(l)}var DO=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=wO(o,t.dataKey,t.domain[a]);return _o(c)?null:t.scale(c)-i/2+n},NO=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[Hw(t.concat([e[0]]).filter(Go)),Lw(t.concat([e[1]]).filter(Go))]}),[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}))},IO=/^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,LO=/^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,BO=function(e,t,r){if(Bn(e))return e(t,r);if(!Array.isArray(e))return t;var n=[];if(Go(e[0]))n[0]=r?e[0]:Math.min(e[0],t[0]);else if(IO.test(e[0])){var i=+IO.exec(e[0])[1];n[0]=t[0]-i}else Bn(e[0])?n[0]=e[0](t[0]):n[0]=t[0];if(Go(e[1]))n[1]=r?e[1]:Math.max(e[1],t[1]);else if(LO.test(e[1])){var o=+LO.exec(e[1])[1];n[1]=t[1]+o}else Bn(e[1])?n[1]=e[1](t[1]):n[1]=t[1];return n},RO=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=Yh(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},zO=function(e,t,r){return e&&e.length?Zw(e,Co(r,"type.defaultProps.domain"))?t:e:t},$O=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 vO(vO({},Pa(e,!1)),{},{dataKey:n,unit:o,formatter:a,name:i||n,color:OO(e),value:wO(t,n),type:c,payload:t,chartType:l,hide:u})};function HO(e){return HO="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},HO(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 FO(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){UO(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 UO(e,t,r){return t=function(e){var t=function(e,t){if("object"!=HO(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=HO(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==HO(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 WO=Math.PI/180,qO=function(e){return 180*e/Math.PI},YO=function(e,t,r,n){return{x:e+Math.cos(-WO*n)*r,y:t+Math.sin(-WO*n)*r}},XO=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:qO(l),angleInRadian:l}},KO=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)},GO=function(e,t){var r=e.x,n=e.y,i=XO({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?FO(FO({},t),{},{radius:o,angle:KO(h,t)}):null};function ZO(e){return ZO="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},ZO(e)}var JO=["offset"];function QO(e){return function(e){if(Array.isArray(e))return eS(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 eS(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 eS(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 eS(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 tS(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 rS(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 nS(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?rS(Object(r),!0).forEach((function(t){iS(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):rS(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"!=ZO(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=ZO(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==ZO(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 oS(){return oS=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},oS.apply(this,arguments)}var aS=function(e){var t=e.value,r=e.formatter,n=_o(e.children)?t:e.children;return Bn(r)?r(n):n},cS=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 Xo(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=YO(s,f,g,n),x=YO(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=_o(e.id)?Qo("recharts-radial-line-"):e.id;return Q.createElement("text",oS({},r,{dominantBaseline:"central",className:nn("recharts-radial-bar-label",l)}),Q.createElement("defs",null,Q.createElement("path",{id:S,d:O})),Q.createElement("textPath",{xlinkHref:"#".concat(S)},t))},lS=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=YO(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=YO(o,a,(c+l)/2,u);return{x:p.x,y:p.y,textAnchor:"middle",verticalAnchor:"middle"}},uS=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 nS(nS({},{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 nS(nS({},{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 nS(nS({},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 nS(nS({},b),r?{width:Math.max(r.x+r.width-b.x,0),height:u}:{})}var w=r?{width:l,height:u}:{};return"insideLeft"===i?nS({x:a+y,y:c+u/2,textAnchor:g,verticalAnchor:"middle"},w):"insideRight"===i?nS({x:a+l-y,y:c+u/2,textAnchor:v,verticalAnchor:"middle"},w):"insideTop"===i?nS({x:a+l/2,y:c+f,textAnchor:"middle",verticalAnchor:h},w):"insideBottom"===i?nS({x:a+l/2,y:c+u-f,textAnchor:"middle",verticalAnchor:p},w):"insideTopLeft"===i?nS({x:a+y,y:c+f,textAnchor:g,verticalAnchor:h},w):"insideTopRight"===i?nS({x:a+l-y,y:c+f,textAnchor:v,verticalAnchor:h},w):"insideBottomLeft"===i?nS({x:a+y,y:c+u-f,textAnchor:g,verticalAnchor:p},w):"insideBottomRight"===i?nS({x:a+l-y,y:c+u-f,textAnchor:v,verticalAnchor:p},w):Tn(i)&&(Go(i.x)||Ko(i.x))&&(Go(i.y)||Ko(i.y))?nS({x:a+ea(i.x,l),y:c+ea(i.y,u),textAnchor:"end",verticalAnchor:"end"},w):nS({x:a+l/2,y:c+u/2,textAnchor:"middle",verticalAnchor:"middle"},w)},sS=function(e){return"cx"in e&&Go(e.cx)};function fS(e){var t,r=e.offset,n=nS({offset:void 0===r?5:r},tS(e,JO)),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||_o(a)&&_o(c)&&!ee(l)&&!Bn(l))return null;if(ee(l))return se(l,n);if(Bn(l)){if(ee(t=fe(l,n)))return t}else t=aS(n);var p=sS(i),h=Pa(n,!0);if(p&&("insideStart"===o||"insideEnd"===o||"end"===o))return cS(n,t,h);var d=p?lS(n):uS(n);return Q.createElement(Yy,oS({className:nn("recharts-label",s)},h,d,{breakAll:f}),t)}fS.displayName="Label";var pS=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(Go(d)&&Go(y)){if(Go(s)&&Go(f))return{x:s,y:f,width:d,height:y};if(Go(p)&&Go(h))return{x:p,y:h,width:d,height:y}}return Go(s)&&Go(f)?{x:s,y:f,width:0,height:0}:Go(t)&&Go(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:{}};fS.parseViewBox=pS,fS.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=pS(e),o=xa(n,fS).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(fS,{key:"label-implicit",viewBox:t}):Zo(e)?Q.createElement(fS,{key:"label-implicit",viewBox:t,value:e}):ee(e)?e.type===fS?se(e,{key:"label-implicit",viewBox:t}):Q.createElement(fS,{key:"label-implicit",content:e,viewBox:t}):Bn(e)?Q.createElement(fS,{key:"label-implicit",content:e,viewBox:t}):Tn(e)?Q.createElement(fS,oS({viewBox:t},e,{key:"label-implicit"})):null:null}(e.label,t||i);return[a].concat(QO(o))};var hS=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0},dS=Yt(hS);function yS(e){return yS="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},yS(e)}var vS=["valueAccessor"],gS=["data","dataKey","clockWise","id","textBreakAll"];function mS(e){return function(e){if(Array.isArray(e))return bS(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 bS(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 bS(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 bS(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 wS(){return wS=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},wS.apply(this,arguments)}function xS(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 OS(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?xS(Object(r),!0).forEach((function(t){SS(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):xS(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function SS(e,t,r){return t=function(e){var t=function(e,t){if("object"!=yS(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=yS(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==yS(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 jS(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 AS=function(e){return Array.isArray(e.value)?dS(e.value):e.value};function PS(e){var t=e.valueAccessor,r=void 0===t?AS:t,n=jS(e,vS),i=n.data,o=n.dataKey,a=n.clockWise,c=n.id,l=n.textBreakAll,u=jS(n,gS);return i&&i.length?Q.createElement(Ba,{className:"recharts-label-list"},i.map((function(e,t){var n=_o(o)?r(e,t):wO(e&&e.payload,o),i=_o(c)?{}:{id:"".concat(c,"-").concat(t)};return Q.createElement(fS,wS({},Pa(e,!0),u,i,{parentViewBox:e.parentViewBox,value:n,textBreakAll:l,viewBox:fS.parseViewBox(_o(a)?e:OS(OS({},e),{},{clockWise:a})),key:"label-".concat(t),index:t}))}))):null}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)}function kS(){return kS=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},kS.apply(this,arguments)}function ES(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 CS(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ES(Object(r),!0).forEach((function(t){_S(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ES(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function _S(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}PS.displayName="LabelList",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=xa(e.children,PS).map((function(e,r){return se(e,{data:t,key:"labelList-".concat(r)})}));return r?[function(e,t){return e?!0===e?Q.createElement(PS,{key:"labelList-implicit",data:t}):Q.isValidElement(e)||Bn(e)?Q.createElement(PS,{key:"labelList-implicit",data:t,content:e}):Tn(e)?Q.createElement(PS,wS({data:t},e,{key:"labelList-implicit"})):null:null}(e.label,t)].concat(mS(n)):n};var TS=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)/WO,f=l?i:i+o*s,p=l?i-o*s:i;return{center:YO(t,r,u,f),circleTangency:YO(t,r,n,f),lineTangency:YO(t,r,u*Math.cos(s*WO),p),theta:s}},DS=function(e){var t=e.cx,r=e.cy,n=e.innerRadius,i=e.outerRadius,o=e.startAngle,a=function(e,t){return Xo(t-e)*Math.min(Math.abs(t-e),359.999)}(o,e.endAngle),c=o+a,l=YO(t,r,i,o),u=YO(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=YO(t,r,n,o),p=YO(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},NS={cx:0,cy:0,innerRadius:0,outerRadius:0,startAngle:0,endAngle:0,cornerRadius:0,forceCornerRadius:!1,cornerIsExternal:!1},IS=function(e){var t=CS(CS({},NS),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=nn("recharts-sector",f),d=o-i,y=ea(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=Xo(u-l),f=TS({cx:t,cy:r,radius:i,angle:l,sign:s,cornerRadius:o,cornerIsExternal:c}),p=f.circleTangency,h=f.lineTangency,d=f.theta,y=TS({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 "):DS({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=TS({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=TS({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}):DS({cx:r,cy:n,innerRadius:i,outerRadius:o,startAngle:u,endAngle:s}),Q.createElement("path",kS({},Pa(t,!0),{className:h,d:p,role:"img"}))};function LS(e){return LS="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},LS(e)}function BS(){return BS=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},BS.apply(this,arguments)}function RS(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 zS(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?RS(Object(r),!0).forEach((function(t){$S(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):RS(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function $S(e,t,r){return t=function(e){var t=function(e,t){if("object"!=LS(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=LS(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==LS(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 HS,VS,FS,US,WS,qS,YS,XS,KS,GS,ZS,JS,QS={curveBasisClosed:function(e){return new rl(e)},curveBasisOpen:function(e){return new nl(e)},curveBasis:function(e){return new tl(e)},curveBumpX:function(e){return new Ic(e,!0)},curveBumpY:function(e){return new Ic(e,!1)},curveLinearClosed:function(e){return new il(e)},curveLinear:Cc,curveMonotoneX:function(e){return new ul(e)},curveMonotoneY:function(e){return new sl(e)},curveNatural:function(e){return new pl(e)},curveStep:function(e){return new dl(e,.5)},curveStepAfter:function(e){return new dl(e,1)},curveStepBefore:function(e){return new dl(e,0)}},ej=function(e){return e.x===+e.x&&e.y===+e.y},tj=function(e){return e.x},rj=function(e){return e.y},nj=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(Bn(e))return e;var r="curve".concat(dc(e));return"curveMonotone"!==r&&"curveBump"!==r||!t?QS[r]||Cc:QS["".concat(r).concat("vertical"===t?"Y":"X")]}(n,c),f=u?o.filter((function(e){return ej(e)})):o;if(Array.isArray(a)){var p=u?a.filter((function(e){return ej(e)})):a,h=f.map((function(e,t){return zS(zS({},e),{},{base:p[t]})}));return(t="vertical"===c?Nc().y(rj).x1(tj).x0((function(e){return e.base.x})):Nc().x(tj).y1(rj).y0((function(e){return e.base.y}))).defined(ej).curve(s),t(h)}return(t="vertical"===c&&Go(a)?Nc().y(rj).x1(tj).x0(a):Go(a)?Nc().x(tj).y1(rj).y0(a):Dc().x(tj).y(rj)).defined(ej).curve(s),t(f)},ij=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?nj(e):n;return Q.createElement("path",BS({},Pa(e,!1),sa(e),{className:nn("recharts-curve",t),d:o,ref:i}))},oj={exports:{}};function aj(){if(VS)return HS;VS=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;return HS=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},HS}function cj(){if(US)return FS;US=1;return FS="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}function lj(){return qS?WS:(qS=1,WS=Function.call.bind(Object.prototype.hasOwnProperty))}if("production"!==process.env.NODE_ENV){var uj=Ho;oj.exports=function(){if(GS)return KS;GS=1;var e=Ho,t=aj(),r=cj(),n=lj(),i=function(){if(XS)return YS;XS=1;var e=function(){};if("production"!==process.env.NODE_ENV){var t=cj(),r={},n=lj();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={})},YS=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){}}),KS=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},KS}()(uj.isElement,!0)}else oj.exports=function(){if(JS)return ZS;JS=1;var e=cj();function t(){}function r(){}return r.resetWarningCache=t,ZS=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 sj=Yt(oj.exports),fj=Object.getOwnPropertyNames,pj=Object.getOwnPropertySymbols,hj=Object.prototype.hasOwnProperty;function dj(e,t){return function(r,n,i){return e(r,n,i)&&t(r,n,i)}}function yj(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 vj(e){return fj(e).concat(pj(e))}var gj=Object.hasOwn||function(e,t){return hj.call(e,t)};function mj(e,t){return e||t?e===t:e===t||e!=e&&t!=t}var bj="_owner",wj=Object.getOwnPropertyDescriptor,xj=Object.keys;function Oj(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 Sj(e,t){return mj(e.getTime(),t.getTime())}function jj(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 Aj(e,t,r){var n,i=xj(e),o=i.length;if(xj(t).length!==o)return!1;for(;o-- >0;){if((n=i[o])===bj&&(e.$$typeof||t.$$typeof)&&e.$$typeof!==t.$$typeof)return!1;if(!gj(t,n)||!r.equals(e[n],t[n],n,n,e,t,r))return!1}return!0}function Pj(e,t,r){var n,i,o,a=vj(e),c=a.length;if(vj(t).length!==c)return!1;for(;c-- >0;){if((n=a[c])===bj&&(e.$$typeof||t.$$typeof)&&e.$$typeof!==t.$$typeof)return!1;if(!gj(t,n))return!1;if(!r.equals(e[n],t[n],n,n,e,t,r))return!1;if(i=wj(e,n),o=wj(t,n),(i||o)&&(!i||!o||i.configurable!==o.configurable||i.enumerable!==o.enumerable||i.writable!==o.writable))return!1}return!0}function Mj(e,t){return mj(e.valueOf(),t.valueOf())}function kj(e,t){return e.source===t.source&&e.flags===t.flags}function Ej(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 Cj(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 _j="[object Arguments]",Tj="[object Boolean]",Dj="[object Date]",Nj="[object Map]",Ij="[object Number]",Lj="[object Object]",Bj="[object RegExp]",Rj="[object Set]",zj="[object String]",$j=Array.isArray,Hj="function"==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView:null,Vj=Object.assign,Fj=Object.prototype.toString.call.bind(Object.prototype.toString);var Uj=Wj();function Wj(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?Pj:Oj,areDatesEqual:Sj,areMapsEqual:n?dj(jj,Pj):jj,areObjectsEqual:n?Pj:Aj,arePrimitiveWrappersEqual:Mj,areRegExpsEqual:kj,areSetsEqual:n?dj(Ej,Pj):Ej,areTypedArraysEqual:n?Pj:Cj};if(r&&(i=Vj({},i,r(i))),t){var o=yj(i.areArraysEqual),a=yj(i.areMapsEqual),c=yj(i.areObjectsEqual),l=yj(i.areSetsEqual);i=Vj({},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($j(e))return t(e,u,s);if(null!=Hj&&Hj(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=Fj(e);return p===Dj?r(e,u,s):p===Bj?a(e,u,s):p===Nj?n(e,u,s):p===Rj?c(e,u,s):p===Lj?"function"!=typeof e.then&&"function"!=typeof u.then&&i(e,u,s):p===_j?i(e,u,s):(p===Tj||p===Ij||p===zj)&&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 qj(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 Yj(e){return Yj="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},Yj(e)}function Xj(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 Kj(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 Kj(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 Kj(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 Gj(){var e=function(){return null},t=!1,r=function r(n){if(!t){if(Array.isArray(n)){if(!n.length)return;var i=Xj(n),o=i[0],a=i.slice(1);return"number"==typeof o?void qj(r.bind(null,a),o):(r(o),void qj(r.bind(null,a)))}"object"===Yj(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 Zj(e){return Zj="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},Zj(e)}function Jj(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 Qj(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Jj(Object(r),!0).forEach((function(t){eA(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Jj(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function eA(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==Zj(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==Zj(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===Zj(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}Wj({strict:!0}),Wj({circular:!0}),Wj({circular:!0,strict:!0}),Wj({createInternalComparator:function(){return mj}}),Wj({strict:!0,createInternalComparator:function(){return mj}}),Wj({circular:!0,createInternalComparator:function(){return mj}}),Wj({circular:!0,createInternalComparator:function(){return mj},strict:!0});var tA=function(e){return e},rA=function(e,t){return Object.keys(t).reduce((function(r,n){return Qj(Qj({},r),{},eA({},n,e(n,t[n])))}),{})},nA=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(",")},iA="production"!==process.env.NODE_ENV,oA=function(e,t,r,n,i,o,a,c){if(iA&&"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 aA(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)||lA(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 cA(e){return function(e){if(Array.isArray(e))return uA(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||lA(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 lA(e,t){if(e){if("string"==typeof e)return uA(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)?uA(e,t):void 0}}function uA(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 sA=1e-4,fA=function(e,t){return[0,3*e,3*t-6*e,3*e-3*t+1]},pA=function(e,t){return e.map((function(e,r){return e*Math.pow(t,r)})).reduce((function(e,t){return e+t}))},hA=function(e,t){return function(r){var n=fA(e,t);return pA(n,r)}},dA=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=aA(l,4);n=u[0],i=u[1],o=u[2],a=u[3]}else oA(!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)}oA([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=hA(n,o),h=hA(i,a),d=(s=n,f=o,function(e){var t=fA(s,f),r=[].concat(cA(t.map((function(e,t){return e*t})).slice(1)),[0]);return pA(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)<sA||a<sA)return h(n);n=(t=n-o/a)>1?1:t<0?0:t}return h(n)};return y.isStepper=!1,y},yA=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 dA(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)<sA&&Math.abs(o)<sA?[t,0]:[c,o]};return c.isStepper=!0,c.dt=a,c}();default:if("cubic-bezier"===n.split("(")[0])return dA(n);oA(!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:(oA(!1,"[configEasing]: first argument type should be function or string, instead received %s",t),null)};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)}function gA(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)||OA(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 mA(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?mA(Object(r),!0).forEach((function(t){wA(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):mA(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function wA(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==vA(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==vA(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===vA(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xA(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)||OA(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 OA(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 jA=function(e,t,r){return e+(t-e)*r},AA=function(e){return e.from!==e.to},PA=function e(t,r,n){var i=rA((function(e,r){if(AA(r)){var n=xA(t(r.from,r.to,r.velocity),2),i=n[0],o=n[1];return bA(bA({},r),{},{from:i,velocity:o})}return r}),r);return n<1?rA((function(e,t){return AA(t)?bA(bA({},t),{},{velocity:jA(t.velocity,i[e].velocity,n),from:jA(t.from,i[e].from,n)}):t}),r):e(t,i,n-1)},MA=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 bA(bA({},r),{},wA({},n,[e[n],t[n]]))}),{}),f=u.reduce((function(r,n){return bA(bA({},r),{},wA({},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=PA(r,f,o),i(bA(bA(bA({},e),t),rA((function(e,t){return t.from}),f))),c=n,Object.values(f).filter(AA).length&&(p=requestAnimationFrame(h))}:function(o){l||(l=o);var a=(o-l)/n,c=rA((function(e,t){return jA.apply(void 0,gA(t).concat([r(a)]))}),s);if(i(bA(bA(bA({},e),t),c)),a<1)p=requestAnimationFrame(h);else{var u=rA((function(e,t){return jA.apply(void 0,gA(t).concat([r(1)]))}),s);i(bA(bA(bA({},e),t),u))}},function(){return requestAnimationFrame(h),function(){cancelAnimationFrame(p)}}};function kA(e){return kA="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},kA(e)}var EA=["children","begin","duration","attributeName","easing","isActive","steps","from","to","canBegin","onAnimationEnd","shouldReAnimate","onAnimationReStart"];function CA(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 _A(e){return function(e){if(Array.isArray(e))return TA(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 TA(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 TA(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 TA(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 DA(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 NA(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?DA(Object(r),!0).forEach((function(t){IA(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):DA(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function IA(e,t,r){return(t=BA(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function LA(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,BA(n.key),n)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function BA(e){var t=function(e,t){if("object"!==kA(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==kA(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===kA(t)?t:String(t)}function RA(e,t){return RA=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},RA(e,t)}function zA(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=VA(e);if(t){var i=VA(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return $A(this,r)}}function $A(e,t){if(t&&("object"===kA(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return HA(e)}function HA(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function VA(e){return VA=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},VA(e)}var FA=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&&RA(e,t)}(r,re);var t=zA(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(HA(i)),i.changeStyle=i.changeStyle.bind(HA(i)),!a||p<=0)return i.state={style:{}},"function"==typeof f&&(i.state={style:u}),$A(i);if(s&&s.length)i.state={style:s[0].style};else if(l){if("function"==typeof f)return i.state={style:l},$A(i);i.state={style:c?IA({},c,l):l}}else i.state={style:{}};return i}return LA(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(!(Uj(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?IA({},i,s):s};(i&&l[i]!==s||!i&&l!==s)&&this.setState(f)}this.runAnimation(NA(NA({},this.props),{},{from:s,begin:0}))}}else{var p={style:i?IA({},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=MA(r,n,yA(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(_A(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(_A(e),[t.runJSAnimation.bind(t,{from:f.style,to:l,duration:o,easing:c}),o]);var h=nA(p,o,c),d=NA(NA(NA({},f.style),l),{},{transition:h});return[].concat(_A(e),[d,o,s]).filter(tA)}),[a,Math.max(l,n)])),[e.onAnimationEnd]))}},{key:"runAnimation",value:function(e){this.manager||(this.manager=Gj());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?IA({},n,i):i,p=nA(Object.keys(f),r,o);s.start([a,t,NA(NA({},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=CA(e,EA),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,NA(NA({},i),{},{style:NA(NA({},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 UA(e){return UA="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},UA(e)}function WA(){return WA=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},WA.apply(this,arguments)}function qA(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 YA(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 YA(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 YA(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 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 KA(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){GA(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 GA(e,t,r){return t=function(e){var t=function(e,t){if("object"!=UA(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=UA(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==UA(t)?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}FA.displayName="Animate",FA.defaultProps={begin:0,duration:1e3,from:"",to:"",attributeName:"",easing:"ease",isActive:!0,canBegin:!0,steps:[],onAnimationEnd:function(){},onAnimationStart:function(){}},FA.propTypes={from:sj.oneOfType([sj.object,sj.string]),to:sj.oneOfType([sj.object,sj.string]),attributeName:sj.string,duration:sj.number,begin:sj.number,easing:sj.oneOfType([sj.string,sj.func]),steps:sj.arrayOf(sj.shape({duration:sj.number.isRequired,style:sj.object.isRequired,easing:sj.oneOfType([sj.oneOf(["ease","ease-in","ease-out","ease-in-out","linear"]),sj.func]),properties:sj.arrayOf("string"),onAnimationEnd:sj.func})),children:sj.oneOfType([sj.node,sj.func]),isActive:sj.bool,canBegin:sj.bool,onAnimationEnd:sj.func,shouldReAnimate:sj.bool,onAnimationStart:sj.func,onAnimationReStart:sj.func},sj.object,sj.object,sj.object,sj.element,sj.object,sj.object,sj.object,sj.oneOfType([sj.array,sj.element]),sj.any;var ZA=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},JA=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},QA={x:0,y:0,width:0,height:0,radius:0,isAnimationActive:!1,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"},eP=function(e){var t=KA(KA({},QA),e),r=ie(),n=qA(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=nn("recharts-rectangle",f);return v?Q.createElement(FA,{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(FA,{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",WA({},Pa(t,!0),{className:g,d:ZA(a,c,n,o,s),ref:r})))})):Q.createElement("path",WA({},Pa(t,!0),{className:g,d:ZA(a,c,l,u,s)}))};function tP(){return tP=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},tP.apply(this,arguments)}var rP=function(e){var t=e.cx,r=e.cy,n=e.r,i=nn("recharts-dot",e.className);return t===+t&&r===+r&&n===+n?Q.createElement("circle",tP({},Pa(e,!1),sa(e),{className:i,cx:t,cy:r,r:n})):null};function nP(e){return nP="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},nP(e)}var iP=["x","y","top","left","width","height","className"];function oP(){return oP=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},oP.apply(this,arguments)}function aP(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,t,r){return t=function(e){var t=function(e,t){if("object"!=nP(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=nP(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==nP(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 lP(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 uP=function(e,t,r,n,i,o){return"M".concat(e,",").concat(i,"v").concat(n,"M").concat(o,",").concat(t,"h").concat(r)},sP=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?aP(Object(r),!0).forEach((function(t){cP(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):aP(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},lP(e,iP));return Go(r)&&Go(i)&&Go(s)&&Go(p)&&Go(a)&&Go(l)?Q.createElement("path",oP({},Pa(d,!0),{className:nn("recharts-cross",h),d:uP(r,i,s,p,a,l)})):null},fP=ds(Object.getPrototypeOf,Object),pP=xn,hP=fP,dP=On,yP=Function.prototype,vP=Object.prototype,gP=yP.toString,mP=vP.hasOwnProperty,bP=gP.call(Object);var wP=Yt((function(e){if(!dP(e)||"[object Object]"!=pP(e))return!1;var t=hP(e);if(null===t)return!0;var r=mP.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&gP.call(r)==bP})),xP=xn,OP=On;var SP=Yt((function(e){return!0===e||!1===e||OP(e)&&"[object Boolean]"==xP(e)}));function jP(e){return jP="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},jP(e)}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 PP(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 MP(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 MP(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 MP(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 kP(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 EP(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?kP(Object(r),!0).forEach((function(t){CP(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):kP(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function CP(e,t,r){return t=function(e){var t=function(e,t){if("object"!=jP(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=jP(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==jP(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 _P=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")},TP={x:0,y:0,upperWidth:0,lowerWidth:0,height:0,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"},DP=function(e){var t=EP(EP({},TP),e),r=ie(),n=PP(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=nn("recharts-trapezoid",f);return y?Q.createElement(FA,{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(FA,{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",AP({},Pa(t,!0),{className:v,d:_P(c,l,n,o,a),ref:r})))})):Q.createElement("g",null,Q.createElement("path",AP({},Pa(t,!0),{className:v,d:_P(a,c,l,u,s)})))},NP=["option","shapeType","propTransformer","activeClassName","isActive"];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)}function LP(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 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){zP(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,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 $P(e,t){return RP(RP({},t),e)}function HP(e){var t=e.shapeType,r=e.elementProps;switch(t){case"rectangle":return Q.createElement(eP,r);case"trapezoid":return Q.createElement(DP,r);case"sector":return Q.createElement(IS,r);case"symbols":if(function(e,t){return"symbols"===e}(t))return Q.createElement(kl,r);break;default:return null}}function VP(e){var t,r=e.option,n=e.shapeType,i=e.propTransformer,o=void 0===i?$P:i,a=e.activeClassName,c=void 0===a?"recharts-active-shape":a,l=e.isActive,u=LP(e,NP);if(ee(r))t=se(r,RP(RP({},u),function(e){return ee(e)?e.props:e}(r)));else if(Bn(r))t=r(u);else if(wP(r)&&!SP(r)){var s=o(r,u);t=Q.createElement(HP,{shapeType:n,elementProps:s})}else{var f=u;t=Q.createElement(HP,{shapeType:n,elementProps:f})}return l?Q.createElement(Ba,{className:c},t):t}function FP(e,t){return null!=t&&"trapezoids"in e.props}function UP(e,t){return null!=t&&"sectors"in e.props}function WP(e,t){return null!=t&&"points"in e.props}function qP(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 YP(e,t){var r=e.endAngle===t.endAngle,n=e.startAngle===t.startAngle;return r&&n}function XP(e,t){var r=e.x===t.x,n=e.y===t.y,i=e.z===t.z;return r&&n&&i}function KP(e){var t=e.activeTooltipItem,r=e.graphicalItem,n=e.itemData,i=function(e,t){var r;return FP(e,t)?r="trapezoids":UP(e,t)?r="sectors":WP(e,t)&&(r="points"),r}(r,t),o=function(e,t){var r,n;return FP(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:UP(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:WP(e,t)?t.payload:{}}(r,t),a=n.filter((function(e,n){var a=Zw(o,e),c=r.props[i].filter((function(e){var n=function(e,t){var r;return FP(e,t)?r=qP:UP(e,t)?r=YP:WP(e,t)&&(r=XP),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 GP=Math.ceil,ZP=Math.max;var JP=Yd,QP=1/0;var eM=function(e,t,r,n){for(var i=-1,o=ZP(GP((t-e)/(r||1)),0),a=Array(o);o--;)a[n?o:++i]=e,e+=r;return a},tM=Fh,rM=function(e){return e?(e=JP(e))===QP||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0};var nM=Yt(function(e){return function(t,r,n){return n&&"number"!=typeof n&&tM(t,r,n)&&(r=n=void 0),t=rM(t),void 0===r?(r=t,t=0):r=rM(r),n=void 0===n?t<r?1:-1:rM(n),eM(t,r,n,e)}}());function iM(e){return iM="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},iM(e)}function oM(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 aM(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?oM(Object(r),!0).forEach((function(t){cM(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):oM(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function cM(e,t,r){return t=function(e){var t=function(e,t){if("object"!=iM(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=iM(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==iM(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 lM=["Webkit","Moz","O","ms"];function uM(e){return uM="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},uM(e)}function sM(){return sM=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},sM.apply(this,arguments)}function fM(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 pM(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?fM(Object(r),!0).forEach((function(t){bM(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):fM(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function hM(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,wM(n.key),n)}}function dM(e,t,r){return t=vM(t),function(e,t){if(t&&("object"===uM(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return gM(e)}(e,yM()?Reflect.construct(t,r||[],vM(e).constructor):t.apply(e,r))}function yM(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(yM=function(){return!!e})()}function vM(e){return vM=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},vM(e)}function gM(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mM(e,t){return mM=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},mM(e,t)}function bM(e,t,r){return(t=wM(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function wM(e){var t=function(e,t){if("object"!=uM(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=uM(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==uM(t)?t:String(t)}var xM=function(e){return e.changedTouches&&!!e.changedTouches.length},OM=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),bM(gM(r=dM(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)})),bM(gM(r),"handleTouchMove",(function(e){null!=e.changedTouches&&e.changedTouches.length>0&&r.handleDrag(e.changedTouches[0])})),bM(gM(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()})),bM(gM(r),"handleLeaveWrapper",(function(){(r.state.isTravellerMoving||r.state.isSlideMoving)&&(r.leaveTimer=window.setTimeout(r.handleDragEnd,r.props.leaveTimeOut))})),bM(gM(r),"handleEnterSlideOrTraveller",(function(){r.setState({isTextActive:!0})})),bM(gM(r),"handleLeaveSlideOrTraveller",(function(){r.setState({isTextActive:!1})})),bM(gM(r),"handleSlideDragStart",(function(e){var t=xM(e)?e.changedTouches[0]:e;r.setState({isTravellerMoving:!1,isSlideMoving:!0,slideMoveStartX:t.pageX}),r.attachDragEndListener()})),r.travellerDragStartHandlers={startX:r.handleTravellerDragStart.bind(gM(r),"startX"),endX:r.handleTravellerDragStart.bind(gM(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&&mM(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=wO(r[e],i,e);return Bn(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=xM(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(bM(bM({},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(bM({},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=pM(pM({},Pa(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(Ba,{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(Ba,{className:"recharts-brush-texts"},Q.createElement(Yy,sM({textAnchor:"end",verticalAnchor:"middle",x:Math.min(l,u)-5,y:n+i/2},s),this.getTextOfTick(t)),Q.createElement(Yy,sM({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||!Go(i)||!Go(o)||!Go(a)||!Go(c)||a<=0||c<=0)return null;var v,g,m,b,w=nn("recharts-brush",r),x=1===Q.Children.count(n),O=(g="none",m=(v="userSelect").replace(/(\w)/,(function(e){return e.toUpperCase()})),(b=lM.reduce((function(e,t){return aM(aM({},e),{},cM({},t+m,g))}),{}))[v]=g,b);return Q.createElement(Ba,{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):Bn(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 pM({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=Ov().domain(nM(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&&hM(r.prototype,n),i&&hM(r,i),Object.defineProperty(r,"prototype",{writable:!1}),t}();bM(OM,"displayName","Brush"),bM(OM,"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 SM=ah;var jM=iu,AM=up,PM=function(e,t){var r;return SM(e,(function(e,n,i){return!(r=t(e,n,i))})),!!r},MM=on,kM=Fh;var EM=Yt((function(e,t,r){var n=MM(e)?jM:PM;return r&&kM(e,t,r)&&(t=void 0),n(e,AM(t))})),CM=function(e,t){var r=e.alwaysShow,n=e.ifOverflow;return r&&(n="extendDomain"),n===t},_M=Eh;var TM=function(e,t,r){"__proto__"==t&&_M?_M(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r},DM=TM,NM=ih,IM=up;var LM=function(e,t){var r={};return t=IM(t),NM(e,(function(e,n,i){DM(r,n,t(e,n,i))})),r},BM=Yt(LM);var RM=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},zM=ah;var $M=RM,HM=function(e,t){var r=!0;return zM(e,(function(e,n,i){return r=!!t(e,n,i)})),r},VM=up,FM=on,UM=Fh;var WM=Yt((function(e,t,r){var n=FM(e)?$M:HM;return r&&UM(e,t,r)&&(t=void 0),n(e,VM(t))})),qM=["x","y"];function YM(e){return YM="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},YM(e)}function XM(){return XM=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},XM.apply(this,arguments)}function KM(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 GM(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?KM(Object(r),!0).forEach((function(t){ZM(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):KM(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function ZM(e,t,r){return t=function(e){var t=function(e,t){if("object"!=YM(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=YM(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==YM(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 JM(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 QM(e,t){var r=e.x,n=e.y,i=JM(e,qM),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 GM(GM(GM(GM(GM({},t),i),a?{x:a}:{}),l?{y:l}:{}),{},{height:s,width:p,name:t.name,radius:t.radius})}function ek(e){return Q.createElement(VP,XM({shapeType:"rectangle",propTransformer:QM,activeClassName:"recharts-active-bar"},e))}var tk,rk=["value","background"];function nk(e){return nk="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},nk(e)}function ik(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 ok(){return ok=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},ok.apply(this,arguments)}function ak(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 ck(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ak(Object(r),!0).forEach((function(t){dk(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ak(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function lk(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,yk(n.key),n)}}function uk(e,t,r){return t=fk(t),function(e,t){if(t&&("object"===nk(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return pk(e)}(e,sk()?Reflect.construct(t,r||[],fk(e).constructor):t.apply(e,r))}function sk(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(sk=function(){return!!e})()}function fk(e){return fk=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},fk(e)}function pk(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hk(e,t){return hk=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},hk(e,t)}function dk(e,t,r){return(t=yk(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function yk(e){var t=function(e,t){if("object"!=nk(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=nk(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==nk(t)?t:String(t)}var vk=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 dk(pk(e=uk(this,t,[].concat(n))),"state",{isAnimationFinished:!1}),dk(pk(e),"id",Qo("recharts-bar-")),dk(pk(e),"handleAnimationEnd",(function(){var t=e.props.onAnimationEnd;e.setState({isAnimationFinished:!0}),t&&t()})),dk(pk(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&&hk(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=Pa(this.props,!1);return e&&e.map((function(e,r){var l=r===o,u=l?a:n,s=ck(ck(ck({},c),e),{},{isActive:l,option:u,index:r,dataKey:i,onAnimationStart:t.handleAnimationStart,onAnimationEnd:t.handleAnimationEnd});return Q.createElement(Ba,ok({className:"recharts-bar-rectangle"},fa(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(ek,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(FA,{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=ra(r.x,e.x),a=ra(r.y,e.y),c=ra(r.width,e.width),l=ra(r.height,e.height);return ck(ck({},e),{},{x:o(i),y:a(i),width:c(i),height:l(i)})}if("horizontal"===n){var s=ra(0,e.height)(i);return ck(ck({},e),{},{y:e.y+e.height-s,height:s})}var f=ra(0,e.width)(i);return ck(ck({},e),{},{width:f})}));return Q.createElement(Ba,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&&Zw(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=Pa(this.props.background,!1);return r.map((function(t,r){t.value;var a=t.background,c=ik(t,rk);if(!a)return null;var l=ck(ck(ck(ck(ck({},c),{},{fill:"#eee"},a),o),fa(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(ek,ok({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=xa(r.children,lO);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:wO(e,t)}},s={clipPath:e?"url(#clipPath-".concat(t,")"):null};return Q.createElement(Ba,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=nn("recharts-bar",n),y=i&&i.allowDataOverflow,v=o&&o.allowDataOverflow,g=y||v,m=_o(p)?this.id:p;return Q.createElement(Ba,{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(Ba,{className:"recharts-bar-rectangles",clipPath:g?"url(#clipPath-".concat(m,")"):null},f?this.renderBackground():null,this.renderRectangles()),this.renderErrorBar(g,m),(!s||h)&&PS.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&&lk(r.prototype,n),i&&lk(r,i),Object.defineProperty(r,"prototype",{writable:!1}),t}();function gk(e){return gk="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},gk(e)}function mk(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,Ok(n.key),n)}}function bk(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 wk(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?bk(Object(r),!0).forEach((function(t){xk(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):bk(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function xk(e,t,r){return(t=Ok(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ok(e){var t=function(e,t){if("object"!=gk(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=gk(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==gk(t)?t:String(t)}tk=vk,dk(vk,"displayName","Bar"),dk(vk,"defaultProps",{xAxisId:0,yAxisId:0,legendType:"rect",minPointSize:0,hide:!1,data:[],layout:"vertical",activeBar:!1,isAnimationActive:!xd.isSsr,animationBegin:0,animationDuration:400,animationEasing:"ease"}),dk(vk,"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=xa(g,sy),S=f.map((function(e,t){var n,f,p,y,g,b;u?n=function(e,t){if(!t||2!==t.length||!Go(t[0])||!Go(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(!Go(e[0])||e[0]<r)&&(i[0]=r),(!Go(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=wO(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?rO(0,"minPointSize callback function received a value with type of ".concat(YM(r),". Currently only numbers are supported.")):rO()),t)}}(m,tk.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=DO({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=Xo(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=DO({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+=Xo(y||S)*(Math.abs(S)-Math.abs(y))}return ck(ck(ck({},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:[$O(r,e)],tooltipPosition:{x:f+y/2,y:p+g/2}})}));return ck({data:S,layout:d},p)}));var Sk=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=!!Oa(l,vk);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=ea(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:wv(),realScaleType:"band"}:"radial"===o&&"angleAxis"===a?{scale:Ug(),realScaleType:"linear"}:"category"===i&&t&&(t.indexOf("LineChart")>=0||t.indexOf("AreaChart")>=0||t.indexOf("ComposedChart")>=0&&!r)?{scale:Ov(),realScaleType:"point"}:"category"===i?{scale:wv(),realScaleType:"band"}:{scale:Ug(),realScaleType:"linear"};if(Lo(n)){var c="scale".concat(dc(n));return{scale:(Ew[c]||Ov)(),realScaleType:Ew[c]?c:"point"}}return Bn(n)?{scale:n}:{scale:Ov(),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])-EO,o=Math.max(n[0],n[1])+EO,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=Jx(l,i,a);return e.domain([Hw(u),Lw(u)]),{niceTicks:u}}if(i&&"number"===n){var s=e.domain();return{niceTicks:Qx(s,i,a)}}return null}(_,wk(wk({},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=wk(wk(wk({},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=RO(N,D),y.hide||"xAxis"!==n?y.hide||(s[O]+=(d?-1:1)*N.width):s[O]+=(d?-1:1)*N.height,wk(wk({},o),{},xk({},a,N))}),{})},jk=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)}},Ak=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&&mk(t.prototype,r),n&&mk(t,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();xk(Ak,"EPS",1e-4);var Pk=function(e){var t=Object.keys(e).reduce((function(t,r){return wk(wk({},t),{},xk({},r,Ak.create(e[r])))}),{});return wk(wk({},t),{},{apply:function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.bandAware,i=r.position;return BM(e,(function(e,r){return t[r].apply(e,{bandAware:n,position:i})}))},isInRange:function(e){return WM(e,(function(e,r){return t[r].isInRange(e)}))}})};var Mk=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)},kk=ro((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 Ek(e){return Ek="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},Ek(e)}var Ck=he(void 0),_k=he(void 0),Tk=he(void 0),Dk=he({}),Nk=he(void 0),Ik=he(0),Lk=he(0),Bk=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=kk(i);return Q.createElement(Ck.Provider,{value:r},Q.createElement(_k.Provider,{value:n},Q.createElement(Dk.Provider,{value:i},Q.createElement(Tk.Provider,{value:u},Q.createElement(Nk.Provider,{value:o},Q.createElement(Ik.Provider,{value:l},Q.createElement(Lk.Provider,{value:c},a)))))))};function Rk(e){var t=Object.keys(e);return 0===t.length?"There are no available ids.":"Available ids are: ".concat(t,".")}var zk=function(e){var t=pe(Ck);null==t&&("production"!==process.env.NODE_ENV?rO(0,"Could not find Recharts context; are you sure this is rendered inside a Recharts wrapper component?"):rO());var r=t[e];return null==r&&("production"!==process.env.NODE_ENV?rO(0,'Could not find xAxis by id "'.concat(e,'" [').concat(Ek(e),"]. ").concat(Rk(t))):rO()),r},$k=function(e){var t=pe(_k);null==t&&("production"!==process.env.NODE_ENV?rO(0,"Could not find Recharts context; are you sure this is rendered inside a Recharts wrapper component?"):rO());var r=t[e];return null==r&&("production"!==process.env.NODE_ENV?rO(0,'Could not find yAxis by id "'.concat(e,'" [').concat(Ek(e),"]. ").concat(Rk(t))):rO()),r},Hk=function(){return pe(Lk)},Vk=function(){return pe(Ik)};function Fk(e){return Fk="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},Fk(e)}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 Wk(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){qk(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 qk(e,t,r){return t=function(e){var t=function(e,t){if("object"!=Fk(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=Fk(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Fk(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 Yk(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 Xk(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 Xk(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 Xk(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 Kk(){return Kk=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},Kk.apply(this,arguments)}function Gk(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(Nk),s=zk(i),f=$k(o),p=pe(Tk);if(!u||!p)return null;za(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(CM(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(CM(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 CM(l,"discard")&&EM(b,(function(t){return!e.isInRange(t)}))?null:b}return null}(Pk({x:s.scale,y:f.scale}),Zo(t),Zo(r),n&&2===n.length,p,e.position,s.orientation,f.orientation,e);if(!h)return null;var d=Yk(h,2),y=d[0],v=y.x,g=y.y,m=d[1],b=m.x,w=m.y,x=Wk(Wk({clipPath:CM(e,"hidden")?"url(#".concat(u,")"):void 0},Pa(e,!0)),{},{x1:v,y1:g,x2:b,y2:w});return Q.createElement(Ba,{className:nn("recharts-reference-line",c)},function(e,t){return Q.isValidElement(e)?Q.cloneElement(e,t):Bn(e)?e(t):Q.createElement("line",Kk({},t,{className:"recharts-reference-line-line"}))}(a,x),fS.renderCallByParent(e,function(e){var t=e.x1,r=e.y1,n=e.x2,i=e.y2;return jk({x:t,y:r},{x:n,y:i})}({x1:v,y1:g,x2:b,y2:w})))}function Zk(e){return Zk="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},Zk(e)}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,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 eE(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Qk(Object(r),!0).forEach((function(t){tE(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Qk(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function tE(e,t,r){return t=function(e){var t=function(e,t){if("object"!=Zk(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=Zk(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Zk(t)?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}Gk.displayName="ReferenceLine",Gk.defaultProps={isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,fill:"none",stroke:"#ccc",fillOpacity:1,strokeWidth:1,position:"middle"};function rE(e){var t=e.x,r=e.y,n=e.r,i=e.alwaysShow,o=e.clipPathId,a=Zo(t),c=Zo(r);if(za(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=Pk({x:n.scale,y:i.scale}),a=o.apply({x:t,y:r},{bandAware:!0});return CM(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=eE(eE({clipPath:CM(e,"hidden")?"url(#".concat(o,")"):void 0},Pa(e,!0)),{},{cx:u,cy:s});return Q.createElement(Ba,{className:nn("recharts-reference-dot",p)},rE.renderDot(f,h),fS.renderCallByParent(e,{x:u-n,y:s-n,width:2*n,height:2*n}))}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(){return iE=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},iE.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 aE(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 cE(e,t,r){return t=function(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)}(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}rE.displayName="ReferenceDot",rE.defaultProps={isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#fff",stroke:"#ccc",fillOpacity:1,strokeWidth:1},rE.renderDot=function(e,t){return Q.isValidElement(e)?Q.cloneElement(e,t):Bn(e)?e(t):Q.createElement(rP,Jk({},t,{cx:t.cx,cy:t.cy,className:"recharts-reference-dot-dot"}))};function lE(e){var t=e.x1,r=e.x2,n=e.y1,i=e.y2,o=e.className,a=e.alwaysShow,c=e.clipPathId;za(void 0===a,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var l=Zo(t),u=Zo(r),s=Zo(n),f=Zo(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=Pk({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!CM(i,"discard")||f.isInRange(p)&&f.isInRange(h)?jk(p,h):null}(l,u,s,f,e);if(!h&&!p)return null;var d=CM(e,"hidden")?"url(#".concat(c,")"):void 0;return Q.createElement(Ba,{className:nn("recharts-reference-area",o)},lE.renderRect(p,aE(aE({clipPath:d},Pa(e,!0)),h)),fS.renderCallByParent(e,h))}function uE(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 sE(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 fE(e){return fE="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},fE(e)}function pE(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 hE(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?pE(Object(r),!0).forEach((function(t){dE(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):pE(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function dE(e,t,r){return t=function(e){var t=function(e,t){if("object"!=fE(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=fE(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==fE(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 yE(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(Go(l)||xd.isSsr)return function(e,t){return uE(e,t+1)}(i,"number"==typeof l&&Go(l)?l:0);var p=[],h="top"===c||"bottom"===c?"width":"height",d=s&&"width"===h?my(s,{fontSize:t,letterSpacing:r}):{width:0,height:0},y=function(e,n){var i=Bn(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 Mk(n,r)}(my(i,{fontSize:t,letterSpacing:r}),d,f):my(i,{fontSize:t,letterSpacing:r})[h]},v=i.length>=2?Xo(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:uE(n,s)};var o,a=u,p=function(){return void 0===o&&(o=r(t,a)),o},h=t.coordinate,d=0===u||sE(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=hE(hE({},s),{},{tickCoord:p>0?s.coordinate-p*e:s.coordinate}),sE(e,s.tickCoord,(function(){return f}),l,u)&&(u=s.tickCoord-e*(f/2+i),a[c-1]=hE(hE({},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=hE(hE({},o),{},{tickCoord:s<0?o.coordinate-s*e:o.coordinate})}else a[t]=o=hE(hE({},o),{},{tickCoord:o.coordinate});sE(e,o.tickCoord,c,l,u)&&(l=o.tickCoord+e*(c()/2+i),a[t]=hE(hE({},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=hE(hE({},u),{},{tickCoord:f>0?u.coordinate-f*e:u.coordinate})}else o[t]=u=hE(hE({},u),{},{tickCoord:u.coordinate});sE(e,u.tickCoord,s,c,l)&&(l=u.tickCoord-e*(s()/2+i),o[t]=hE(hE({},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})))}lE.displayName="ReferenceArea",lE.defaultProps={isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#ccc",fillOpacity:.5,stroke:"none",strokeWidth:1},lE.renderRect=function(e,t){return Q.isValidElement(e)?Q.cloneElement(e,t):Bn(e)?e(t):Q.createElement(eP,iE({},t,{className:"recharts-reference-area-rect"}))};var vE=["viewBox"],gE=["viewBox"],mE=["ticks"];function bE(e){return bE="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},bE(e)}function wE(){return wE=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},wE.apply(this,arguments)}function xE(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 OE(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?xE(Object(r),!0).forEach((function(t){EE(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):xE(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function SE(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 jE(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,CE(n.key),n)}}function AE(e,t,r){return t=ME(t),function(e,t){if(t&&("object"===bE(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,PE()?Reflect.construct(t,r||[],ME(e).constructor):t.apply(e,r))}function PE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(PE=function(){return!!e})()}function ME(e){return ME=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},ME(e)}function kE(e,t){return kE=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},kE(e,t)}function EE(e,t,r){return(t=CE(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function CE(e){var t=function(e,t){if("object"!=bE(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=bE(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==bE(t)?t:String(t)}var _E=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=AE(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&&kE(e,t)}(t,de),r=t,n=[{key:"shouldComponentUpdate",value:function(e,t){var r=e.viewBox,n=SE(e,vE),i=this.props,o=i.viewBox,a=SE(i,gE);return!ia(r,o)||!ia(n,a)||!ia(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=Go(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=OE(OE(OE({},Pa(this.props,!1)),Pa(c,!1)),{},{fill:"none"});if("top"===o||"bottom"===o){var u=+("top"===o&&!a||"bottom"===o&&a);l=OE(OE({},l),{},{x1:t,y1:r+u*i,x2:t+n,y2:r+u*i})}else{var s=+("left"===o&&!a||"right"===o&&a);l=OE(OE({},l),{},{x1:t+s*n,y1:r,x2:t+s*n,y2:r+i})}return Q.createElement("line",wE({},l,{className:nn("recharts-cartesian-axis-line",Co(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=yE(OE(OE({},this.props),{},{ticks:e}),r,n),p=this.getTickTextAnchor(),h=this.getTickVerticalAnchor(),d=Pa(this.props,!1),y=Pa(l,!1),v=OE(OE({},d),{},{fill:"none"},Pa(a,!1)),g=f.map((function(e,r){var n=i.getTickLineCoord(e),o=n.line,g=n.tick,m=OE(OE(OE(OE({textAnchor:p,verticalAnchor:h},d),{},{stroke:"none",fill:c},y),g),{},{index:r,payload:e,visibleTicksCount:f.length,tickFormatter:u});return Q.createElement(Ba,wE({className:"recharts-cartesian-axis-tick",key:"tick-".concat(e.value,"-").concat(e.coordinate,"-").concat(e.tickCoord)},fa(i.props,e,r)),a&&Q.createElement("line",wE({},v,o,{className:nn("recharts-cartesian-axis-tick-line",Co(a,"className"))})),l&&t.renderTickItem(l,m,"".concat(Bn(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=SE(c,mE),s=l;return Bn(o)&&(s=l&&l.length>0?o(this.props):o(u)),n<=0||i<=0||!s||!s.length?null:Q.createElement(Ba,{className:nn("recharts-cartesian-axis",a),ref:function(t){e.layerReference=t}},r&&this.renderAxisLine(),this.renderTicks(s,this.state.fontSize,this.state.letterSpacing),fS.renderCallByParent(this.props))}}],i=[{key:"renderTickItem",value:function(e,t,r){return Q.isValidElement(e)?Q.cloneElement(e,t):Bn(e)?e(t):Q.createElement(Yy,wE({},t,{className:"recharts-cartesian-axis-tick-value"}),r)}}],n&&jE(r.prototype,n),i&&jE(r,i),Object.defineProperty(r,"prototype",{writable:!1}),t}();EE(_E,"displayName","CartesianAxis"),EE(_E,"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 TE=["type","layout","connectNulls","ref"];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 NE(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 IE(){return IE=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},IE.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 BE(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){qE(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 RE(e){return function(e){if(Array.isArray(e))return zE(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 zE(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 zE(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 zE(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 $E(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,YE(n.key),n)}}function HE(e,t,r){return t=FE(t),function(e,t){if(t&&("object"===DE(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return UE(e)}(e,VE()?Reflect.construct(t,r||[],FE(e).constructor):t.apply(e,r))}function VE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(VE=function(){return!!e})()}function FE(e){return FE=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},FE(e)}function UE(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function WE(e,t){return WE=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},WE(e,t)}function qE(e,t,r){return(t=YE(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function YE(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)}var XE=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 qE(UE(e=HE(this,t,[].concat(n))),"state",{isAnimationFinished:!0,totalLength:0}),qE(UE(e),"generateSimpleStrokeDasharray",(function(e,t){return"".concat(t,"px ").concat(e-t,"px")})),qE(UE(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(RE(i.slice(0,s)),[c-f]);break}var p=u.length%2==0?[0,l]:[l];return[].concat(RE(t.repeat(i,a)),RE(u),p).map((function(e){return"".concat(e,"px")})).join(", ")})),qE(UE(e),"id",Qo("recharts-line-")),qE(UE(e),"pathRef",(function(t){e.mainCurve=t})),qE(UE(e),"handleAnimationEnd",(function(){e.setState({isAnimationFinished:!0}),e.props.onAnimationEnd&&e.props.onAnimationEnd()})),qE(UE(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&&WE(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=xa(r.children,lO);if(!c)return null;var l=function(e,t){return{x:e.x,y:e.y,value:e.value,errorVal:wO(e.payload,t)}},u={clipPath:e?"url(#clipPath-".concat(t,")"):null};return Q.createElement(Ba,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=Pa(this.props,!1),u=Pa(o,!0),s=a.map((function(e,r){var n=BE(BE(BE({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(Ba,IE({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=NE(i,TE),u=BE(BE(BE({},Pa(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(ij,IE({},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(FA,{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=ra(n.x,e.x),o=ra(n.y,e.y);return BE(BE({},e),{},{x:i(a),y:o(a)})}if(f){var l=ra(2*p,e.x),u=ra(h/2,e.y);return BE(BE({},e),{},{x:l(a),y:u(a)})}return BE(BE({},e),{},{x:e.x,y:e.y})}));return r.renderCurveStatically(l,e,t)}var u,s=ra(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||!Zw(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=nn("recharts-line",o),g=a&&a.allowDataOverflow,m=c&&c.allowDataOverflow,b=g||m,w=_o(h)?this.id:h,x=null!==(e=Pa(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=(Aa(n)?n:{}).clipDot,M=void 0===P||P,k=2*S+A;return Q.createElement(Ba,{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)&&PS.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(RE(e),[0]):e,n=[],i=0;i<t;++i)n=[].concat(RE(n),RE(r));return n}},{key:"renderDotItem",value:function(e,t){var r;if(Q.isValidElement(e))r=Q.cloneElement(e,t);else if(Bn(e))r=e(t);else{var n=nn("recharts-line-dot","boolean"!=typeof e?e.className:"");r=Q.createElement(rP,IE({},t,{className:n}))}return r}}],n&&$E(r.prototype,n),i&&$E(r,i),Object.defineProperty(r,"prototype",{writable:!1}),t}();qE(XE,"displayName","Line"),qE(XE,"defaultProps",{xAxisId:0,yAxisId:0,connectNulls:!1,activeDot:!0,dot:!0,legendType:"line",stroke:"#3182bd",strokeWidth:1,fill:"#fff",points:[],isAnimationActive:!xd.isSsr,animateNewValues:!0,animationBegin:0,animationDuration:1500,animationEasing:"ease",hide:!1,label:!1}),qE(XE,"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 BE({points:l.map((function(e,t){var l=wO(e,a);return"horizontal"===s?{x:TO({axis:r,ticks:i,bandSize:c,entry:e,index:t}),y:_o(l)?null:n.scale(l),value:l,payload:e}:{x:_o(l)?null:r.scale(l),y:TO({axis:n,ticks:o,bandSize:c,entry:e,index:t}),value:l,payload:e}})),layout:s},u)}));var KE,GE=["layout","type","stroke","connectNulls","isRange","ref"];function ZE(e){return ZE="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},ZE(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 QE(){return QE=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},QE.apply(this,arguments)}function eC(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 tC(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?eC(Object(r),!0).forEach((function(t){lC(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):eC(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function rC(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,uC(n.key),n)}}function nC(e,t,r){return t=oC(t),function(e,t){if(t&&("object"===ZE(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return aC(e)}(e,iC()?Reflect.construct(t,r||[],oC(e).constructor):t.apply(e,r))}function iC(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(iC=function(){return!!e})()}function oC(e){return oC=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},oC(e)}function aC(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cC(e,t){return cC=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},cC(e,t)}function lC(e,t,r){return(t=uC(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function uC(e){var t=function(e,t){if("object"!=ZE(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=ZE(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==ZE(t)?t:String(t)}var sC=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 lC(aC(e=nC(this,t,[].concat(n))),"state",{isAnimationFinished:!0}),lC(aC(e),"id",Qo("recharts-area-")),lC(aC(e),"handleAnimationEnd",(function(){var t=e.props.onAnimationEnd;e.setState({isAnimationFinished:!0}),Bn(t)&&t()})),lC(aC(e),"handleAnimationStart",(function(){var t=e.props.onAnimationStart;e.setState({isAnimationFinished:!1}),Bn(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&&cC(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=Pa(this.props,!1),f=Pa(c,!0),p=l.map((function(e,r){var n=tC(tC(tC({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(Ba,QE({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=Lw(n.map((function(e){return e.y||0})));return Go(r)&&"number"==typeof r?l=Math.max(r,l):r&&Array.isArray(r)&&r.length&&(l=Math.max(Lw(r.map((function(e){return e.y||0}))),l)),Go(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=Lw(n.map((function(e){return e.x||0})));return Go(r)&&"number"==typeof r?l=Math.max(r,l):r&&Array.isArray(r)&&r.length&&(l=Math.max(Lw(r.map((function(e){return e.x||0}))),l)),Go(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=JE(i,GE);return Q.createElement(Ba,{clipPath:r?"url(#clipPath-".concat(n,")"):null},Q.createElement(ij,QE({},Pa(s,!0),{points:e,connectNulls:l,type:a,baseLine:t,layout:o,stroke:"none",className:"recharts-area-area"})),"none"!==c&&Q.createElement(ij,QE({},Pa(this.props,!1),{className:"recharts-area-curve",layout:o,type:a,connectNulls:l,fill:"none",points:e})),"none"!==c&&u&&Q.createElement(ij,QE({},Pa(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(FA,{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=ra(n.x,e.x),o=ra(n.y,e.y);return tC(tC({},e),{},{x:i(a),y:o(a)})}return e}));return c=Go(o)&&"number"==typeof o?ra(h,o)(a):_o(o)||Yo(o)?ra(h,0)(a):o.map((function(e,t){var r=Math.floor(t*l);if(h[r]){var n=h[r],i=ra(n.x,e.x),o=ra(n.y,e.y);return tC(tC({},e),{},{x:i(a),y:o(a)})}return e})),r.renderAreaStatically(u,c,e,t)}return Q.createElement(Ba,null,Q.createElement("defs",null,Q.createElement("clipPath",{id:"animationClipPath-".concat(t)},r.renderClipRect(a))),Q.createElement(Ba,{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||!Zw(c,n)||!Zw(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=nn("recharts-area",o),g=l&&l.allowDataOverflow,m=u&&u.allowDataOverflow,b=g||m,w=_o(h)?this.id:h,x=null!==(e=Pa(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=(Aa(n)?n:{}).clipDot,M=void 0===P||P,k=2*S+A;return Q.createElement(Ba,{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)&&PS.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&&rC(r.prototype,n),i&&rC(r,i),Object.defineProperty(r,"prototype",{writable:!1}),t}();function fC(){return fC=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},fC.apply(this,arguments)}KE=sC,lC(sC,"displayName","Area"),lC(sC,"defaultProps",{stroke:"#3182bd",fill:"#3182bd",fillOpacity:.6,xAxisId:0,yAxisId:0,legendType:"line",connectNulls:!1,points:[],dot:!1,activeDot:!0,hide:!1,isAnimationActive:!xd.isSsr,animationBegin:0,animationDuration:1500,animationEasing:"ease"}),lC(sC,"getBaseValue",(function(e,t,r,n){var i=e.layout,o=e.baseValue,a=t.props.baseValue,c=null!=a?a:o;if(Go(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]})),lC(sC,"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=KE.getBaseValue(r,n,i,o),g="horizontal"===d,m=!1,b=p.map((function(e,t){var r;y?r=s[f+t]:(r=wO(e,u),Array.isArray(r)?m=!0:r=[v,r]);var n=null==r[1]||y&&null==wO(e,u);return g?{x:TO({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:TO({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),tC({points:b,baseLine:t,layout:d,isRange:m},h)})),lC(sC,"renderDotItem",(function(e,t){var r;if(Q.isValidElement(e))r=Q.cloneElement(e,t);else if(Bn(e))r=e(t);else{var n=nn("recharts-area-dot","boolean"!=typeof e?e.className:"");r=Q.createElement(rP,QE({},t,{className:n}))}return r}));var pC=function(e){var t=e.xAxisId,r=Hk(),n=Vk(),i=zk(t);return null==i?null:Q.createElement(_E,fC({},i,{className:nn("recharts-".concat(i.axisType," ").concat(i.axisType),i.className),viewBox:{x:0,y:0,width:r,height:n},ticksGenerator:function(e){return PO(e,!0)}}))};function hC(){return hC=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},hC.apply(this,arguments)}pC.displayName="XAxis",pC.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 dC=function(e){var t=e.yAxisId,r=Hk(),n=Vk(),i=$k(t);return null==i?null:Q.createElement(_E,hC({},i,{className:nn("recharts-".concat(i.axisType," ").concat(i.axisType),i.className),viewBox:{x:0,y:0,width:r,height:n},ticksGenerator:function(e){return PO(e,!0)}}))};function yC(e){return function(e){if(Array.isArray(e))return vC(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 vC(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 vC(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 vC(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}dC.displayName="YAxis",dC.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 gC=function(e,t,r,n,i){var o=xa(e,Gk),a=xa(e,rE),c=[].concat(yC(o),yC(a)),l=xa(e,lE),u="".concat(n,"Id"),s=n[0],f=t;if(c.length&&(f=c.reduce((function(e,t){if(t.props[u]===r&&CM(t.props,"extendDomain")&&Go(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&&CM(t.props,"extendDomain")&&Go(t.props[p])&&Go(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 Go(t)?[Math.min(e[0],t),Math.max(e[1],t)]:e}),f)),f},mC={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}(mC);var bC=new(Yt(mC.exports)),wC="recharts.syncMouseEvents";function xC(e){return xC="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},xC(e)}function OC(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 SC(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"!=xC(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=xC(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==xC(t)?t:String(t)}var AC=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),SC(this,"activeIndex",0),SC(this,"coordinateList",[]),SC(this,"layout","horizontal")}return OC(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 PC(e){var t=e.cx,r=e.cy,n=e.radius,i=e.startAngle,o=e.endAngle;return{points:[YO(t,r,n,i),YO(t,r,n,o)],cx:t,cy:r,radius:n,startAngle:i,endAngle:o}}function MC(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 PC(t);var c=t.cx,l=t.cy,u=t.innerRadius,s=t.outerRadius,f=t.angle,p=YO(c,l,u,f),h=YO(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 kC(e){return kC="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},kC(e)}function EC(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 CC(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?EC(Object(r),!0).forEach((function(t){_C(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):EC(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function _C(e,t,r){return t=function(e){var t=function(e,t){if("object"!=kC(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=kC(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==kC(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 TC(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=ij;if("ScatterChart"===f)t=o,p=sP;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=eP;else if("radial"===s){var h=PC(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=IS}else t={points:MC(s,o,c)},p=ij;var g=CC(CC(CC(CC({stroke:"#ccc",pointerEvents:"none"},c),t),Pa(r.props.cursor,!1)),{},{payload:a,payloadIndex:l,className:nn("recharts-tooltip-cursor",r.props.cursor.className)});return ee(r.props.cursor)?se(r.props.cursor,g):fe(p,g)}var DC=["item"],NC=["children","className","width","height","style","compact","title","desc"];function IC(e){return IC="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},IC(e)}function LC(){return LC=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},LC.apply(this,arguments)}function BC(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)||qC(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 RC(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 zC(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,ZC(n.key),n)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function $C(e,t,r){return t=VC(t),function(e,t){if(t&&("object"===IC(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return FC(e)}(e,HC()?Reflect.construct(t,r||[],VC(e).constructor):t.apply(e,r))}function HC(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(HC=function(){return!!e})()}function VC(e){return VC=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},VC(e)}function FC(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function UC(e,t){return UC=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},UC(e,t)}function WC(e){return function(e){if(Array.isArray(e))return YC(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||qC(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 qC(e,t){if(e){if("string"==typeof e)return YC(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)?YC(e,t):void 0}}function YC(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 XC(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 KC(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?XC(Object(r),!0).forEach((function(t){GC(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):XC(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function GC(e,t,r){return(t=ZC(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ZC(e){var t=function(e,t){if("object"!=IC(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=IC(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==IC(t)?t:String(t)}var JC={xAxis:["bottom","top"],yAxis:["left","right"]},QC={width:"100%",height:"100%"},e_={x:0,y:0};function t_(e){return e}var r_=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(WC(e),WC(r)):e}),[]);return o.length>0?o:e&&e.length&&Go(n)&&Go(i)?e.slice(n,i+1):[]};function n_(e){return"number"===e?[0,"auto"]:void 0}var i_=function(e,t,r,n){var i=e.graphicalItems,o=e.tooltipAxis,a=r_(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=na(void 0===s?a:s,o.dataKey,n):u=s&&s[r]||a[r];return u?[].concat(WC(i),[$O(c,u)]):i}),[])},o_=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(Xo(s-u)!==Xo(f-s)){var h=[];if(Xo(f-s)===Xo(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=i_(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 KC(KC(KC({},n),YO(n.cx,n.cy,a,o)),{},{angle:o,radius:a})}var c=i.coordinate,l=n.angle;return KC(KC(KC({},n),YO(n.cx,n.cy,c,l)),{},{angle:l,radius:c})}return e_}(r,a,u,i);return{activeTooltipIndex:u,activeLabel:s,activePayload:f,activeCoordinate:p}}return null},a_=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=AO(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=r_(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&&Go(n)&&Go(i))return!0}return!1})(r.props.domain,g,y)&&(S=BO(r.props.domain,null,g),!p||"number"!==y&&"auto"===b||(A=xO(P,v,"category")));var k=n_(y);if(!S||0===S.length){var E,C=null!==(E=r.props.domain)&&void 0!==E?E:k;if(v){if(S=xO(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=nM(0,M)):m||(S=zO(C,S,r).reduce((function(e,t){return e.indexOf(t)>=0?e:[].concat(WC(e),[t])}),[]))}else if("category"===y)S=m?S.filter((function(e){return""!==e&&!_o(e)})):zO(C,S,r).reduce((function(e,t){return e.indexOf(t)>=0||""===t||_o(t)?e:[].concat(WC(e),[t])}),[]);else if("number"===y){var T=function(e,t,r,n,i){var o=t.map((function(t){return SO(e,t,r,i,n)})).filter((function(e){return!_o(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=xO(P,v,"category"))}else S=p?nM(0,M):a&&a[O]&&a[O].hasStack&&"number"===y?"expand"===f?[0,1]:NO(a[O].stackGroups,c,l):jO(P,n.filter((function(e){return e.props[o]===O&&(x||!e.props.hide)})),y,u,!0);if("number"===y)S=gC(s,S,O,i,w),C&&(S=BO(C,S,g));else if("category"===y&&C){var D=C;S.every((function(e){return D.indexOf(e)>=0}))&&(S=D)}}return KC(KC({},t),{},GC({},O,KC(KC({},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})))}),{})},c_=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=xa(u,i),p={};return f&&f.length?p=a_(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=r_(e.data,{graphicalItems:r,dataStartIndex:c,dataEndIndex:l}),p=f.length,h=AO(u,i),d=-1;return r.reduce((function(e,t){var y,v=t.props[o],g=n_("number");return e[v]?e:(d++,h?y=nM(0,p):a&&a[v]&&a[v].hasStack?(y=NO(a[v].stackGroups,c,l),y=gC(s,y,v,i)):(y=BO(g,jO(f,r.filter((function(e){return e.props[o]===v&&!e.props.hide})),"number",u),n.defaultProps.allowDataOverflow),y=gC(s,y,v,i)),KC(KC({},e),{},GC({},v,KC(KC({axisType:i},n.defaultProps),{},{hide:!0,orientation:Co(JC,"".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},l_=function(e){var t=e.children,r=e.defaultShowTooltip,n=Oa(t,OM),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)}},u_=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"}},s_=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=Oa(u,OM),p=Oa(u,Xp),h=Object.keys(a).reduce((function(e,t){var r=a[t],n=r.orientation;return r.mirror||r.hide?e:KC(KC({},e),{},GC({},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:KC(KC({},e),{},GC({},n,Co(e,"".concat(n))+r.height))}),{top:s.top||0,bottom:s.bottom||0}),y=KC(KC({},d),h),v=y.bottom;f&&(y.bottom+=f.props.height||OM.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=hO({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&&Go(e[p]))return vO(vO({},e),{},gO({},p,e[p]+(s||0)));if(("horizontal"===d||"vertical"===d&&"center"===p)&&"middle"!==h&&Go(e[h]))return vO(vO({},e),{},gO({},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 KC(KC({brushBottom:v},y),{},{width:Math.max(g,0),height:Math.max(m,0)})},f_=function(e,t){return"xAxis"===t?e[t].width:"yAxis"===t?e[t].height:void 0},p_=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=u_(s),y=d.numericAxisName,v=d.cateAxisName,g=function(e){return!(!e||!e.length)&&e.some((function(e){var t=ga(e&&e.type);return t&&t.indexOf("Bar")>=0}))}(r),m=[];return r.forEach((function(r,d){var b=r_(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?rO(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:"")):rO());var l=a[c];return KC(KC({},e),{},GC(GC({},n.axisType,l),"".concat(n.axisType,"Ticks"),PO(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(Zo(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=ga(r.type).indexOf("Bar")>=0,C=RO(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 ga(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=_o(g)?t:g;o[m].push({item:v[0],stackList:v.slice(1),barSize:_o(b)?void 0:ea(b,r,0)})}}return o}({barSize:u,stackGroups:n,totalSize:f_(A,v)});if(E){var D,N,I=_o(O)?h:O,L=null!==(D=null!==(N=RO(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=ea(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(mO(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=ea(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(mO(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 KC(KC({},e),{},{position:KC(KC({},e.position),{},{offset:e.position.offset-L/2})})})))}var B,R,z=r&&r.type&&r.type.getComposedData;z&&m.push({props:KC(KC({},z(KC(KC({},A),{},{displayedData:b,props:e,dataKey:x,item:r,bandSize:C,barPosition:_,offset:i,stackedData:k,layout:s,dataStartIndex:a,dataEndIndex:c}))),{},GC(GC(GC({key:r.key||"item-".concat(d)},y,A[y]),v,A[v]),"animationId",o)),childIndex:(B=r,R=e.children,wa(R).indexOf(B)),item:r})})),m},h=function(e,t){var i=e.props,o=e.dataStartIndex,a=e.dataEndIndex,c=e.updateId;if(!Sa({props:i}))return null;var u=i.children,f=i.layout,h=i.stackOffset,d=i.data,y=i.reverseStackOrder,v=u_(f),g=v.numericAxisName,m=v.cateAxisName,b=xa(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(Zo(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[Qo("_stackId_")]={numericAxisId:r,cateAxisId:n,items:[t]};return vO(vO({},e),{},gO({},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 vO(vO({},t),{},gO({},o,{numericAxisId:r,cateAxisId:n,items:a.items,stackedData:_O(e,a.items,i)}))}),{})),vO(vO({},t),{},gO({},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 KC(KC({},e),{},GC({},r,c_(i,KC(KC({},t),{},{graphicalItems:b,stackGroups:t.axisType===g&&w,dataStartIndex:o,dataEndIndex:a}))))}),{}),O=s_(KC(KC({},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=ta(A),{tooltipTicks:j=PO(S,!1,!0),orderedTooltipTicks:Yh(j,(function(e){return e.coordinate})),tooltipAxis:S,tooltipAxisBandSize:RO(S,j)}),M=p(i,KC(KC({},x),{},{dataStartIndex:o,dataEndIndex:a,updateId:c,graphicalItems:b,stackGroups:w,offset:O}));return KC(KC({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),GC(FC(o=$C(this,t,[e])),"eventEmitterSymbol",Symbol("rechartsEventEmitter")),GC(FC(o),"accessibilityManager",new AC),GC(FC(o),"handleLegendBBoxUpdate",(function(e){if(e){var t=o.state,r=t.dataStartIndex,n=t.dataEndIndex,i=t.updateId;o.setState(KC({legendBBox:e},h({props:o.props,dataStartIndex:r,dataEndIndex:n,updateId:i},KC(KC({},o.state),{},{legendBBox:e}))))}})),GC(FC(o),"handleReceiveSyncEvent",(function(e,t,r){if(o.props.syncId===e){if(r===o.eventEmitterSymbol&&"function"!=typeof o.props.syncMethod)return;o.applySyncEvent(t)}})),GC(FC(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 KC({dataStartIndex:t,dataEndIndex:r},h({props:o.props,dataStartIndex:t,dataEndIndex:r,updateId:n},o.state))})),o.triggerSyncEvent({dataStartIndex:t,dataEndIndex:r})}})),GC(FC(o),"handleMouseEnter",(function(e){var t=o.getMouseInfo(e);if(t){var r=KC(KC({},t),{},{isTooltipActive:!0});o.setState(r),o.triggerSyncEvent(r);var n=o.props.onMouseEnter;Bn(n)&&n(r,e)}})),GC(FC(o),"triggeredAfterMouseMove",(function(e){var t=o.getMouseInfo(e),r=t?KC(KC({},t),{},{isTooltipActive:!0}):{isTooltipActive:!1};o.setState(r),o.triggerSyncEvent(r);var n=o.props.onMouseMove;Bn(n)&&n(r,e)})),GC(FC(o),"handleItemMouseEnter",(function(e){o.setState((function(){return{isTooltipActive:!0,activeItem:e,activePayload:e.tooltipPayload,activeCoordinate:e.tooltipPosition||{x:e.cx,y:e.cy}}}))})),GC(FC(o),"handleItemMouseLeave",(function(){o.setState((function(){return{isTooltipActive:!1}}))})),GC(FC(o),"handleMouseMove",(function(e){e.persist(),o.throttleTriggeredAfterMouseMove(e)})),GC(FC(o),"handleMouseLeave",(function(e){o.throttleTriggeredAfterMouseMove.cancel();var t={isTooltipActive:!1};o.setState(t),o.triggerSyncEvent(t);var r=o.props.onMouseLeave;Bn(r)&&r(t,e)})),GC(FC(o),"handleOuterEvent",(function(e){var t,r=function(e){var t=e&&e.type;return t&&va[t]?va[t]:null}(e),n=Co(o.props,"".concat(r));r&&Bn(n)&&n(null!==(t=/.*touch.*/i.test(r)?o.getMouseInfo(e.changedTouches[0]):o.getMouseInfo(e))&&void 0!==t?t:{},e)})),GC(FC(o),"handleClick",(function(e){var t=o.getMouseInfo(e);if(t){var r=KC(KC({},t),{},{isTooltipActive:!0});o.setState(r),o.triggerSyncEvent(r);var n=o.props.onClick;Bn(n)&&n(r,e)}})),GC(FC(o),"handleMouseDown",(function(e){var t=o.props.onMouseDown;Bn(t)&&t(o.getMouseInfo(e),e)})),GC(FC(o),"handleMouseUp",(function(e){var t=o.props.onMouseUp;Bn(t)&&t(o.getMouseInfo(e),e)})),GC(FC(o),"handleTouchMove",(function(e){null!=e.changedTouches&&e.changedTouches.length>0&&o.throttleTriggeredAfterMouseMove(e.changedTouches[0])})),GC(FC(o),"handleTouchStart",(function(e){null!=e.changedTouches&&e.changedTouches.length>0&&o.handleMouseDown(e.changedTouches[0])})),GC(FC(o),"handleTouchEnd",(function(e){null!=e.changedTouches&&e.changedTouches.length>0&&o.handleMouseUp(e.changedTouches[0])})),GC(FC(o),"triggerSyncEvent",(function(e){void 0!==o.props.syncId&&bC.emit(wC,o.props.syncId,e,o.eventEmitterSymbol)})),GC(FC(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(KC({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=KC(KC({},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=i_(o.state,o.props.data,s),x=d[s]?{x:"horizontal"===r?d[s].coordinate:g,y:"horizontal"===r?m:d[s].coordinate}:e_;o.setState(KC(KC({},e),{},{activeLabel:b,activeCoordinate:x,activePayload:w,activeTooltipIndex:s}))}else o.setState(e)})),GC(FC(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(TC,{key:d,activeCoordinate:a,activePayload:c,activeTooltipIndex:u,chartName:r,element:e,isActive:p,layout:h,offset:l,tooltipAxisBandSize:s,tooltipEventType:f})})),GC(FC(o),"renderPolarAxis",(function(e,t,r){var n=Co(e,"type.axisType"),i=Co(o.state,"".concat(n,"Map")),a=i&&i[e.props["".concat(n,"Id")]];return se(e,KC(KC({},a),{},{className:nn(n,a.className),key:e.key||"".concat(t,"-").concat(r),ticks:PO(a,!0)}))})),GC(FC(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=ta(c),s=ta(l),f=s.cx,p=s.cy,h=s.innerRadius,d=s.outerRadius;return se(e,{polarAngles:Array.isArray(n)?n:PO(s,!0).map((function(e){return e.coordinate})),polarRadius:Array.isArray(i)?i:PO(u,!0).map((function(e){return e.coordinate})),cx:f,cy:p,innerRadius:h,outerRadius:d,key:e.key||"polar-grid",radialLines:r})})),GC(FC(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=hO({children:r,formattedGraphicalItems:e,legendWidth:c,legendContent:u});if(!l)return null;var s=l.item,f=RC(l,DC);return se(s,KC(KC({},f),{},{chartWidth:n,chartHeight:i,margin:a,onBBoxUpdate:o.handleLegendBBoxUpdate}))})),GC(FC(o),"renderTooltip",(function(){var e,t=o.props,r=t.children,n=t.accessibilityLayer,i=Oa(r,Dd);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:KC(KC({},f),{},{x:f.left,y:f.top}),active:p,label:s,payload:p?u:[],coordinate:l,accessibilityLayer:n})})),GC(FC(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:kO(o.handleBrushChange,e.props.onChange),data:n,x:Go(e.props.x)?e.props.x:a.left,y:Go(e.props.y)?e.props.y:a.top+a.height+a.brushBottom-(r.bottom||0),width:Go(e.props.width)?e.props.width:a.width,startIndex:c,endIndex:l,updateId:"brush-".concat(u)})})),GC(FC(o),"renderReferenceElement",(function(e,t,r){if(!e)return null;var n=FC(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})})),GC(FC(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=KC(KC({index:o,dataKey:u.dataKey,cx:n.x,cy:n.y,r:4,fill:OO(r.item),strokeWidth:2,stroke:"#fff",payload:n.payload,value:n.value,key:"".concat(l,"-activePoint-").concat(o)},Pa(s,!1)),sa(s));return c.push(t.renderActiveDot(s,f)),i?c.push(t.renderActiveDot(s,KC(KC({},f),{},{cx:i.x,cy:i.y,key:"".concat(l,"-basePoint-").concat(o)}))):a&&c.push(null),c})),GC(FC(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=Oa(o.props.children,Dd),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:kO(o.handleItemMouseEnter,e.props.onClick)}:"axis"!==i&&(O={onMouseLeave:kO(o.handleItemMouseLeave,e.props.onMouseLeave),onMouseEnter:kO(o.handleItemMouseEnter,e.props.onMouseEnter)});var S=se(e,KC(KC({},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=KC(KC(KC({},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=na(h,T,s),_=d&&y&&na(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,KC(KC(KC({},n.props),O),{},{activeIndex:D})),null,null]}if(!_o(C))return[S].concat(WC(o.renderActivePoints({item:n,activePoint:C,basePoint:_,childIndex:u,isRange:d})))}return d?[S,null,null]:[S,null]})),GC(FC(o),"renderCustomized",(function(e,t,r){return se(e,KC(KC({key:"recharts-customized-".concat(r)},o.props),o.state))})),GC(FC(o),"renderMap",{CartesianGrid:{handler:t_,once:!0},ReferenceArea:{handler:o.renderReferenceElement},ReferenceLine:{handler:t_},ReferenceDot:{handler:o.renderReferenceElement},XAxis:{handler:t_},YAxis:{handler:t_},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:Qo("recharts"),"-clip"),o.throttleTriggeredAfterMouseMove=ry(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&&UC(e,t)}(t,de),zC(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=Oa(t,Dd);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=i_(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=KC(KC({},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){Ma([Oa(e.children,Dd)],[Oa(this.props.children,Dd)])||this.displayDefaultTooltip()}},{key:"componentWillUnmount",value:function(){this.removeListener(),this.throttleTriggeredAfterMouseMove.cancel()}},{key:"getTooltipEventType",value:function(){var e=Oa(this.props.children,Dd);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=ta(u).scale,p=ta(s).scale,h=f&&f.invert?f.invert(o.chartX):null,d=p&&p.invert?p.invert(o.chartY):null;return KC(KC({},o),{},{xValue:h,yValue:d})}var y=o_(this.state,this.props.data,this.props.layout,c);return y?KC(KC({},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=ta(l);return GO({x:i,y:o},s)}return null}},{key:"parseEventsOfWrapper",value:function(){var e=this.props.children,t=this.getTooltipEventType(),r=Oa(e,Dd),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}),KC(KC({},sa(this.props,this.handleOuterEvent)),n)}},{key:"addListener",value:function(){bC.on(wC,this.handleReceiveSyncEvent)}},{key:"removeListener",value:function(){bC.removeListener(wC,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===ga(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=BC(t,2),n=r[0],i=r[1];return KC(KC({},e),{},GC({},n,i.scale))}),{}):null}},{key:"getYScales",value:function(){var e=this.state.yAxisMap;return e?Object.entries(e).reduce((function(e,t){var r=BC(t,2),n=r[0],i=r[1];return KC(KC({},e),{},GC({},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=ga(l.type);if("Bar"===u){var s=(c.data||[]).find((function(t){return JA(e,t)}));if(s)return{graphicalItem:a,payload:s}}else if("RadialBar"===u){var f=(c.data||[]).find((function(t){return GO(e,t)}));if(f)return{graphicalItem:a,payload:f}}else if(FP(a,n)||UP(a,n)||WP(a,n)){var p=KP({graphicalItem:a,activeTooltipItem:n,itemData:l.props.data}),h=void 0===l.props.activeIndex?p:l.props.activeIndex;return{graphicalItem:KC(KC({},a),{},{childIndex:h}),payload:WP(a,n)?l.props.data[p]:a.props.data[p]}}}return null}},{key:"render",value:function(){var e=this;if(!Sa(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=RC(n,NC),h=Pa(p,!1);if(u)return Q.createElement(Bk,{state:this.state,width:this.props.width,height:this.props.height,clipPathId:this.clipPathId},Q.createElement(Da,LC({},h,{width:a,height:c,title:s,desc:f}),this.renderClipPath(),Ea(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(Bk,{state:this.state,width:this.props.width,height:this.props.height,clipPathId:this.clipPathId},Q.createElement("div",LC({className:nn("recharts-wrapper",o),style:KC({position:"relative",cursor:"default",width:a,height:c},l)},d,{ref:function(t){e.container=t}}),Q.createElement(Da,LC({},h,{width:a,height:c,title:s,desc:f,style:QC}),this.renderClipPath(),Ea(i,this.renderMap)),this.renderLegend(),this.renderTooltip()))}}]),t}(),GC(t,"displayName",r),GC(t,"defaultProps",KC({layout:"horizontal",stackOffset:"none",barCategoryGap:"10%",barGap:4,margin:{top:5,right:5,bottom:5,left:5},reverseStackOrder:!1,syncMethod:"index"},f)),GC(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=l_(e);return KC(KC(KC({},p),{},{updateId:0},h(KC(KC({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||!ia(u,t.prevMargin)){var d=l_(e),y={chartX:t.chartX,chartY:t.chartY,isTooltipActive:t.isTooltipActive},v=KC(KC({},o_(t,n,c)),{},{updateId:t.updateId+1}),g=KC(KC(KC({},d),y),v);return KC(KC(KC({},g),h(KC({props:e},g),t)),{},{prevDataKey:r,prevData:n,prevWidth:o,prevHeight:a,prevLayout:c,prevStackOffset:l,prevMargin:u,prevChildren:i})}if(!Ma(i,t.prevChildren)){var m,b,w,x,O=Oa(i,OM),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=!_o(n)&&!A?t.updateId:t.updateId+1;return KC(KC({updateId:P},h(KC(KC({props:e},t),{},{updateId:P,dataStartIndex:S,dataEndIndex:j}),t)),{},{prevChildren:i,dataStartIndex:S,dataEndIndex:j})}return null})),GC(t,"renderActiveDot",(function(e,t){var r;return r=ee(e)?se(e,t):Bn(e)?e(t):Q.createElement(rP,t),Q.createElement(Ba,{className:"recharts-active-dot",key:t.key},r)})),t},h_=p_({chartName:"LineChart",GraphicalChild:XE,axisComponents:[{axisType:"xAxis",AxisComp:pC},{axisType:"yAxis",AxisComp:dC}],formatAxisMap:Sk}),d_=p_({chartName:"AreaChart",GraphicalChild:sC,axisComponents:[{axisType:"xAxis",AxisComp:pC},{axisType:"yAxis",AxisComp:dC}],formatAxisMap:Sk});const y_=({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:dr.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:dr.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:dr.coolElegance(),strokeWidth:"2"})]})},v_=({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}=fr({data:r,dataKey:n}),d=tn(),y=tn(),v=f?hr({arr:r||[],n:f}):r;let g,m;v?.length?(m=h?dr.mint():dr.coolElegance(),g=v?.map((e=>({...e,[n]:Number(e[n])||0})))):(m=dr.coolElegance(),g=[{[n]:1},{[n]:1}]);const b={cursor:c&&v?.length?"crosshair":"default",...p};return t(uy,{width:i,minHeight:o,id:d,children:e(d_,{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(dC,{domain:v?.length?["dataMin","dataMax"]:[0,2],hide:!0}),t(sC,{type:a,dataKey:n,stroke:m,fill:`url(#${y})`,isAnimationActive:l,activeDot:c?e=>y_({chartId:d,labelFormatter:s,formatter:u,...e}):void 0,dot:!1}),v?.length&&c&&t(Dd,{cursor:!1,content:()=>null})]})})},g_=({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:dr.black(),md:"white"},position:"fixed",top:"0",right:"0",padding:"2",fontSize:"xs",zIndex:"5",width:"10rem",boxShadow:"dark-lg",children:n})})})},m_=({children:e,...r})=>t(h,{border:"solid 1px",borderColor:dr.coolElegance(),padding:"1",borderRadius:"lg",bg:"white",width:"fit-content",size:"sm",...r,children:e}),b_=({isSelected:e,children:r,...n})=>t(d,{variant:"none",paddingX:"1",fontSize:"sm",color:e?"brand.500":dr.coolElegance(),bg:"transparent",border:"solid 1px",borderColor:e?"brand.50":"transparent",boxShadow:"none",_hover:{bg:"brand.50",color:"brand.500"},...n,children:r}),w_=({children:e,...r})=>t(y,{bg:"white",p:"4",gap:"4",w:"full",border:"solid 1px",borderColor:dr.coolElegance(),boxShadow:"none",borderRadius:"xl",...r,children:e}),x_=r=>{const{carouselContents:n,isNavVertical:i,...o}=r,[a,c]=ae(0);return n.length>=1&&t(w_,{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(Oe,{}),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(Se,{}),onClick:()=>{a<n.length-1&&c((e=>e+1))}})]})]})})},O_=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(Pe,{}));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})})]})},S_=({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 j_=function(){return j_=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},j_.apply(this,arguments)};function A_(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 P_=function(e){return e.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")},M_={k:1e3,m:1e6,b:1e9},k_=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(P_(y),")")).test(g),w=RegExp("(\\d+)-?".concat(P_(y))).exec(t)||[],x=w[0],O=w[1],S=function(e,t){void 0===t&&(t=",");var r=new RegExp(P_(t),"g");return e.replace(r,"")}(y?x?g.replace(x,"").concat(O):g.replace(y,""):g,n),j=function(e,t){var r=P_(t.join("")),n=new RegExp("[^\\d".concat(r,"]"),"gi");return e.replace(n,"")}(S,A_([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(P_(t),"\\d*)?)([kmb])$"),"i"),n=e.match(r);if(n){var i=n[1],o=n[3],a=M_[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)},E_=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(P_(n)).concat(P_(o),"0-9]+)")),c=e.match(a);return c?c[1]:void 0},C_=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(P_(a),"?"):"","\\d")).test(t),s="."!==r?__(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?j_(j_({},f),{style:"currency",currency:n.currency}):f):new Intl.NumberFormat(void 0,f)).formatToParts(Number(s)),h=T_(p,e),d=E_(h,j_({},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(P_(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("")},__=function(e,t,r){var n=e;return t&&"."!==t&&(n=n.replace(RegExp(P_(t),"g"),"."),r&&"-"===t&&(n="-".concat(n.slice(1)))),n},T_=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?A_(A_([],e,!0),[r],!1):[r,u]:"currency"===l?r?e:A_(A_([],e,!0),[u],!1):"group"===l?c?e:A_(A_([],e,!0),[void 0!==n?n:u],!1):"decimal"===l?void 0!==o&&0===o?e:A_(A_([],e,!0),[void 0!==i?i:u],!1):A_(A_([],e,!0),"fraction"===l?[void 0!==o?u.slice(0,o):u]:[u],!1)}),[""]).join("")},D_={currencySymbol:"",groupSeparator:"",decimalSeparator:"",prefix:"",suffix:""},N_=function(e){return RegExp(/\d/,"gi").test(e)},I_=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&&N_(C))throw new Error("decimalSeparator cannot be a number");if(_&&N_(_))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?j_(j_({},e),0===r?{currencySymbol:t.value,prefix:t.value}:{currencySymbol:t.value,suffix:t.value}):"group"===t.type?j_(j_({},e),{groupSeparator:t.value}):"decimal"===t.type?j_(j_({},e),{decimalSeparator:t.value}):e}),D_)}(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?C_(j_(j_({},U),{decimalScale:b,value:String(f)})):null!=y?C_(j_(j_({},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=k_(j_({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=C_(j_({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=j_({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=k_(j_({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=C_(j_(j_({},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,"."):k_(j_({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=E_(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:C_(j_(j_({},U),{decimalScale:G?void 0:b,value:String(y)})),ref:he},$);if(u){var ve=u;return Q.createElement(ve,j_({},ye))}return Q.createElement("input",j_({},ye))}));I_.displayName="CurrencyInput";const L_=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,_=pr(i),T=f?f(u):void 0,D="currency"===w?{as:I_,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 B_=e=>null==e;var R_=e=>!B_(e)&&!Array.isArray(e)&&(e=>"object"==typeof e)(e)&&!(e=>e instanceof Date)(e),z_=e=>{const t=e.constructor&&e.constructor.prototype;return R_(t)&&t.hasOwnProperty("isPrototypeOf")},$_="undefined"!=typeof window&&void 0!==window.HTMLElement&&"undefined"!=typeof document;function H_(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($_&&(e instanceof Blob||e instanceof FileList)||!r&&!R_(e))return e;if(t=r?[]:{},r||z_(e))for(const r in e)e.hasOwnProperty(r)&&(t[r]=H_(e[r]));else t=e}return t}var V_=e=>Array.isArray(e)?e.filter(Boolean):[],F_=e=>void 0===e,U_=(e,t,r)=>{if(!t||!R_(e))return r;const n=V_(t.split(/[,[\].]+?/)).reduce(((e,t)=>B_(e)?e:e[t]),e);return F_(n)||n===e?F_(e[t])?r:e[t]:n},W_=e=>"boolean"==typeof e,q_=e=>/^\w*$/.test(e),Y_=e=>V_(e.replace(/["|']|\]/g,"").split(/\.|\[/)),X_=(e,t,r)=>{let n=-1;const i=q_(t)?[t]:Y_(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=R_(r)||Array.isArray(r)?r:isNaN(+i[n+1])?{}:[]}if("__proto__"===t)return;e[t]=o,e=e[t]}return e};const K_="onBlur",G_="onChange",Z_="onSubmit",J_="onTouched",Q_="all",eT="max",tT="min",rT="maxLength",nT="minLength",iT="pattern",oT="required",aT="validate",cT=Q.createContext(null);var lT=e=>R_(e)&&!Object.keys(e).length,uT=e=>Array.isArray(e)?e:[e];var sT=e=>"string"==typeof e,fT=(e,t,r,n,i)=>t?{...r[e],types:{...r[e]&&r[e].types?r[e].types:{},[n]:i||!0}}:{},pT=()=>{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)}))},hT=(e,t,r={})=>r.shouldFocus||F_(r.shouldFocus)?r.focusName||`${e}.${F_(r.focusIndex)?t:r.focusIndex}.`:"",dT=e=>({isOnSubmit:!e||e===Z_,isOnBlur:e===K_,isOnChange:e===G_,isOnAll:e===Q_,isOnTouch:e===J_});const yT=(e,t,r,n)=>{for(const r of Object.keys(e)){const i=U_(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(yT(o,t))break}else if(R_(o)&&yT(o,t))break}}};var vT=(e,t,r)=>{const n=uT(U_(e,r));return X_(n,"root",t[r]),X_(e,r,n),e},gT=e=>sT(e),mT=e=>e instanceof RegExp;function bT(e,t,r="validate"){if(gT(e)||Array.isArray(e)&&e.every(gT)||W_(e)&&!e)return{type:r,message:gT(e)?e:"",ref:t}}var wT=e=>R_(e)&&!mT(e)?e:{value:e,message:""},xT=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=U_(t,d);if(!v||g)return{};const b=a?a[0]:o,w=e=>{n&&b.reportValidity&&(b.setCustomValidity(W_(e)?"":e||""),b.reportValidity())},x={};o.type,(e=>{e.type})(o);const O=(y||(e=>"file"===e.type)(o))&&F_(o.value)&&F_(m)||(e=>{if(!$_)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=fT.bind(null,d,r,x),j=(e,t,r,n=rT,i=nT)=>{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}=gT(c)?{value:!!c,message:c}:wT(c);if(e&&(x[d]={type:oT,message:t,ref:b,...S(oT,t)},!r))return w(t),x}if(!(O||B_(s)&&B_(f))){let e,t;const n=wT(f),i=wT(s);if(B_(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;sT(n.value)&&m&&(e=c?a(m)>a(n.value):l?m>n.value:r>new Date(n.value)),sT(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);B_(n.value)||(e=r>n.value),B_(i.value)||(t=r<i.value)}if((e||t)&&(j(!!e,n.message,i.message,eT,tT),!r))return w(x[d].message),x}if((l||u)&&!O&&(sT(m)||Array.isArray(m))){const e=wT(l),t=wT(u),n=!B_(e.value)&&m.length>+e.value,i=!B_(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&&sT(m)){const{value:e,message:t}=wT(p);if(mT(e)&&!m.match(e)&&(x[d]={type:iT,message:t,ref:o,...S(iT,t)},!r))return w(t),x}if(h)if("function"==typeof h){const e=bT(await h(m,t),b);if(e&&(x[d]={...e,...S(aT,e.message)},!r))return w(e.message),x}else if(R_(h)){let e={};for(const n in h){if(!lT(e)&&!r)break;const i=bT(await h[n](m,t),b,n);i&&(e={...i,...S(n,i.message)},w(i.message),r&&(x[d]=e))}if(!lT(e)&&(x[d]={ref:b,...e},!r))return x}return w(!0),x},OT=(e,t)=>[...e,...uT(t)],ST=e=>Array.isArray(e)?e.map((()=>{})):void 0;function jT(e,t,r){return[...e.slice(0,t),...uT(r),...e.slice(t)]}var AT=(e,t,r)=>Array.isArray(e)?(F_(e[r])&&(e[r]=void 0),e.splice(r,0,e.splice(t,1)[0]),e):[],PT=(e,t)=>[...uT(t),...uT(e)];var MT=(e,t)=>F_(t)?[]:function(e,t){let r=0;const n=[...e];for(const e of t)n.splice(e-r,1),r++;return V_(n).length?n:[]}(e,uT(t).sort(((e,t)=>e-t))),kT=(e,t,r)=>{[e[t],e[r]]=[e[r],e[t]]};function ET(e,t){const r=Array.isArray(t)?t:q_(t)?[t]:Y_(t),n=1===r.length?e:function(e,t){const r=t.slice(0,-1).length;let n=0;for(;n<r;)e=F_(e)?n++:e[t[n++]];return e}(e,r),i=r.length-1,o=r[i];return n&&delete n[o],0!==i&&(R_(n)&&lT(n)||Array.isArray(n)&&function(e){for(const t in e)if(e.hasOwnProperty(t)&&!F_(e[t]))return!1;return!0}(n))&&ET(e,r.slice(0,-1)),e}var CT=(e,t,r)=>(e[t]=r,e);function _T(e){const t=Q.useContext(cT),{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(pT)),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=U_(e,s.current);Array.isArray(t)&&(c(t),l.current=t.map(pT))}},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&&(!dT(r._options.mode).isOnSubmit||r._formState.isSubmitted))if(r._options.resolver)r._executeSchema([n]).then((e=>{const t=U_(e.errors,n),i=U_(r._formState.errors,n);(i?!t&&i.type||t&&(i.type!==t.type||i.message!==t.message):t&&t.type)&&(t?X_(r._formState.errors,n,t):ET(r._formState.errors,n),r._subjects.state.next({errors:r._formState.errors}))}));else{const e=U_(r._fields,n);!e||!e._f||dT(r._options.reValidateMode).isOnSubmit&&dT(r._options.mode).isOnSubmit||xT(e,r._formValues,r._options.criteriaMode===Q_,r._options.shouldUseNativeValidation).then((e=>!lT(e)&&r._subjects.state.next({errors:vT(r._formState.errors,e,n)})))}r._subjects.values.next({name:n,values:{...r._formValues}}),r._names.focus&&yT(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((()=>(!U_(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);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]),move:Q.useCallback(((e,t)=>{const i=r._getFieldArray(n);AT(i,e,t),AT(l.current,e,t),p(i),c(i),r._updateFieldArray(n,i,AT,{argA:e,argB:t},!1)}),[p,n,r]),prepend:Q.useCallback(((e,t)=>{const i=uT(H_(e)),o=PT(r._getFieldArray(n),i);r._names.focus=hT(n,0,t),l.current=PT(l.current,i.map(pT)),p(o),c(o),r._updateFieldArray(n,o,PT,{argA:ST(e)})}),[p,n,r]),append:Q.useCallback(((e,t)=>{const i=uT(H_(e)),o=OT(r._getFieldArray(n),i);r._names.focus=hT(n,o.length-1,t),l.current=OT(l.current,i.map(pT)),p(o),c(o),r._updateFieldArray(n,o,OT,{argA:ST(e)})}),[p,n,r]),remove:Q.useCallback((e=>{const t=MT(r._getFieldArray(n),e);l.current=MT(l.current,e),p(t),c(t),r._updateFieldArray(n,t,MT,{argA:e})}),[p,n,r]),insert:Q.useCallback(((e,t,i)=>{const o=uT(H_(t)),a=jT(r._getFieldArray(n),e,o);r._names.focus=hT(n,e,i),l.current=jT(l.current,e,o.map(pT)),p(a),c(a),r._updateFieldArray(n,a,jT,{argA:e,argB:ST(t)})}),[p,n,r]),update:Q.useCallback(((e,t)=>{const i=H_(t),o=CT(r._getFieldArray(n),e,i);l.current=[...o].map(((t,r)=>t&&r!==e?l.current[r]:pT())),p(o),c([...o]),r._updateFieldArray(n,o,CT,{argA:e,argB:i},!0,!1)}),[p,n,r]),replace:Q.useCallback((e=>{const t=uT(H_(e));l.current=t.map(pT),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]||pT()})))),[a,i])}}const TT=({name:r,control:n,register:i,defaultValues:o,onArrayAppend:a,onArrayRemove:c})=>{const{fields:l,append:u,remove:s}=_T({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(L_,{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:"+"})})]})},DT=({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}=fr({data:r,dataKey:n}),d=tn(),y=f?hr({arr:r||[],n:f}):r;let v,g;y?.length?(g=h?dr.mint():dr.heroicRed(),v=y?.map((e=>({...e,[n]:Number(e[n])||0})))):(g=dr.coolElegance(),v=[{[n]:0},{[n]:0}]);const m={cursor:c&&y?.length?"crosshair":"default",...p};return t(uy,{width:i,minHeight:o,id:d,children:e(h_,{data:v,style:m,children:[t(dC,{domain:["dataMin","dataMax"],hide:!0}),t(XE,{isAnimationActive:l,type:a,dataKey:n,stroke:g,strokeWidth:"2",activeDot:c?e=>y_({chartId:d,labelFormatter:s,formatter:u,...e}):void 0,dot:!1,scale:"threshold"}),y?.length&&c&&t(Dd,{cursor:!1,content:()=>null})]})})},NT=({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:YT},...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:dr.coolElegance(),children:o})]})]})},IT=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 ${dr.black(.08)}`:"none",href:i,alignItems:"center",lineHeight:"1",position:"relative",padding:"2",zIndex:"3",transition:"border-color 0.25s",_hover:{borderColor:!r&&dr.coolElegance(),textDecoration:"none"},...o,children:n},i)};var LT,BT={exports:{}};LT=BT,function(e,t){LT.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 RT=n(Yt(BT.exports)),zT=({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(RT,{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:dr.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"}}})})},$T=({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"})]})},HT=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=pr(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(xe,{}),size:i,...y,...h,children:n}),s&&t(x,{size:i,children:s}),f&&t(E,{fontSize:d,children:f})]})},VT=$({from:{transform:"rotate(0deg)"},to:{transform:"rotate(360deg)"}}),FT=({boxSize:e=8,color:r="brand",...n})=>{const i="neutral"===r?dr.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:`${VT} 2000ms infinite linear`,children:t(ft,{boxSize:e,__css:{path:{fill:i}}})})})},UT=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},WT=({description:r,title:n,onClose:i,isClosable:o,status:a})=>{let c,l;switch(a){case"error":l=ye;break;case"success":l=Pe;break;case"warning":l=We,c="yellow";break;case"loading":c="brand",l=Z;break;default:c="brand",l=We}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})]})},qT=()=>{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}},YT="22rem",XT={dateOnly:"MM/DD/YY",dateWithTime:"MM/DD/YYYY h:mm A",shortDateWithTime:"MMM D, h:mm A",shortDateWithYear:"MMM D, YYYY"};export{v_ as CfAreaChart,g_ as CfBreakpointDebugger,m_ as CfButtonGroup,b_ as CfButtonGroupButton,w_ as CfCard,x_ as CfCarousel,O_ as CfCheckbox,S_ as CfForm,L_ as CfInput,TT as CfInputArray,DT as CfLineChart,NT as CfModal,IT as CfNavLink,zT as CfOpenSearchPagination,$T as CfPagination,HT as CfSelect,FT as CfSpinner,UT as CfTag,WT as CfToast,ye as IconAlert,ve as IconArrowDown,ge as IconArrowUp,gt as IconAvax,me as IconBank,be as IconBarChart,mt as IconBch,bt as IconBtc,we as IconCalendar,xe as IconCaretDown,Oe as IconCaretLeft,Se as IconCaretRight,je as IconCaretUp,Ae as IconCent,Pe as IconCheck,Me as IconChecking,ke as IconCircleCheck,Ee as IconClose,Ce as IconConnect,_e as IconCopy,Te as IconDollar,De as IconDollarBill,Ne as IconDownload,Ie as IconEdit,Le as IconEnter,Be as IconEnterInverted,wt as IconEth,Re as IconExchange,ze as IconFilter,$e as IconHelp,He as IconHistory,Ve as IconHome,Fe as IconIndicatorDown,Ue as IconIndicatorUp,We as IconInfo,xt as IconLink,qe as IconLock,Ot as IconLtc,Ye as IconMail,Xe as IconMenu,Ke as IconMinus,Ge as IconMore,Ze as IconNotification,Je as IconOverview,Qe as IconPercent,et as IconPieChart,tt as IconPlus,vt as IconRefresh,rt as IconReports,nt as IconReservesSuccess,it as IconReservesWarning,ot as IconSearch,at as IconSettings,ct as IconSettlement,lt as IconSignIn,ut as IconSignOut,st as IconSort,ft as IconSpinner,pt as IconSupport,ht as IconTrash,dt as IconUpload,yt as IconUser,St as IconXlm,jt as IconXrp,Wt as aggregateAmounts,Zr as coreTheme,XT as dateFormats,tr as dateToTimestamp,rr as formatPercentage,Jr as formatPhoneNumber,sr as formatUsd,fr as getDelta,YT as layoutMinWidth,hr as pullFromEnd,dr as uiColors,vr as usdToNumber,qT as useCfBreakpoint,gr as utcDateToLocal};
|
|
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`
|
|
18
|
+
text-wrap: balance;
|
|
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};
|
|
18
21
|
//# sourceMappingURL=index.js.map
|