@cryptofi/core-ui 1.6.0 → 1.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import{jsxs as t,jsx as e,Fragment as r}from"react/jsx-runtime";import{chakra as n,createMultiStyleConfigHelpers as o,defineStyle as i,defineStyleConfig as a,extendTheme as c,withDefaultColorScheme as u,useBreakpoint as l,Portal as s,Tooltip as f,Text as p,ButtonGroup as d,Button as h,Card as y,Flex as v,IconButton as m,FormControl as g,FormLabel as b,Checkbox as w,FormErrorMessage as x,forwardRef as O,InputGroup as S,InputLeftAddon as j,InputLeftElement as P,Input as A,InputRightElement as M,InputRightAddon as k,FormHelperText as E,Box as C,Modal as _,ModalOverlay as T,ModalContent as D,ModalHeader as I,ModalCloseButton as N,ModalBody as L,ModalFooter as B,Link as R,Select as $,Tag as z,TagLeftIcon as H,TagLabel as F,TagRightIcon as V,TagCloseButton as U,Alert as W,AlertIcon as q,AlertTitle as Y,AlertDescription as X,CloseButton as K,Spinner as G}from"@chakra-ui/react";import Z from"crypto";import J,{isValidElement as Q,Children as tt,PureComponent as et,forwardRef as rt,useRef as nt,useImperativeHandle as ot,useState as it,useCallback as at,useEffect as ct,useMemo as ut,cloneElement as lt,createElement as st,useContext as ft,createContext as pt,Component as dt}from"react";import{css as ht,keyframes as yt}from"@emotion/react";const vt=n((r=>t("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(#3c397803)",children:[e("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"}),e("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"})]}),e("defs",{children:e("clipPath",{id:"3c397803",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),mt=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:16,height:17,fill:"none",viewBox:"0 0 16 17","aria-hidden":"true",...r,children:[e("g",{clipPath:"url(#c9a7d4d8)",children:e("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"})}),e("defs",{children:e("clipPath",{id:"c9a7d4d8",children:e("path",{fill:"#fff",d:"M0 .5h16v16H0z"})})})]}))),gt=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16","aria-hidden":"true",...r,children:[e("g",{clipPath:"url(#6f1ccf07)",children:e("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"})}),e("defs",{children:e("clipPath",{id:"6f1ccf07",children:e("path",{d:"M0 0h16v16H0z"})})})]}))),bt=n((r=>t("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",{clipPath:"url(#9491b547)",children:e("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"})}),e("defs",{children:e("clipPath",{id:"9491b547",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),wt=n((r=>t("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(#fafc2088)",children:[e("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"}),e("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"})]}),e("defs",{children:e("clipPath",{id:"fafc2088",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),xt=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:25,height:24,fill:"none",viewBox:"0 0 82 80","aria-hidden":"true",...r,children:[e("path",{fill:"#000",stroke:"#CDCFD1",strokeMiterlimit:10,d:"M51.94 8.444 36.904 23.48a1.515 1.515 0 0 1-1.664.332 1.5 1.5 0 0 1-.495-.332l-5.136-5.144a1.513 1.513 0 0 0-1.664-.332 1.54 1.54 0 0 0-.827.828 1.51 1.51 0 0 0 0 1.169c.077.185.189.353.331.495l5.139 5.137a4.58 4.58 0 0 0 6.47 0l15.036-15.031a1.517 1.517 0 0 0 0-2.154 1.514 1.514 0 0 0-1.664-.332z"}),e("path",{fill:"#000",fillRule:"evenodd",stroke:"#CDCFD1",strokeMiterlimit:10,d:"M16.983 52 6.179 66.45c3.976-1.603 8.914-3.063 14.034-3.612 7.169-.768 14.89.228 20.787 5.401 5.898-5.173 13.618-6.169 20.787-5.4 5.12.548 10.058 2.008 14.034 3.61L65.017 52c-2.188-2.235-5.98-4.913-10.229-5.694-4.241-.78-8.906.326-12.984 5.637L41 52.99l-.804-1.047c-4.078-5.31-8.743-6.417-12.984-5.637-4.249.782-8.04 3.46-10.23 5.694ZM41 48.743c-4.49-5.241-9.57-6.324-14.102-5.49-4.76.875-8.95 3.86-11.38 6.365l-.06.06L1 69.017l1.245 2.52c4.087-2.2 10.946-4.853 18.153-5.626 7.236-.775 14.613.368 19.932 5.45L41 72l.67-.64c5.32-5.082 12.696-6.225 19.932-5.45 7.207.773 14.066 3.427 18.153 5.626L81 69.016 66.541 49.679l-.059-.061c-2.43-2.506-6.62-5.49-11.38-6.366-4.532-.833-9.612.25-14.102 5.49Z",clipRule:"evenodd"}),e("path",{fill:"url(#e4ad4261)",stroke:"#CDCFD1",strokeMiterlimit:10,d:"M51.94 8.444 36.904 23.48a1.515 1.515 0 0 1-1.664.332 1.5 1.5 0 0 1-.495-.332l-5.136-5.144a1.513 1.513 0 0 0-1.664-.332 1.54 1.54 0 0 0-.827.828 1.51 1.51 0 0 0 0 1.169c.077.185.189.353.331.495l5.139 5.137a4.58 4.58 0 0 0 6.47 0l15.036-15.031a1.517 1.517 0 0 0 0-2.154 1.514 1.514 0 0 0-1.664-.332z"}),e("path",{fill:"url(#65cb314b)",fillRule:"evenodd",stroke:"#CDCFD1",strokeMiterlimit:10,d:"M16.983 52 6.179 66.45c3.976-1.603 8.914-3.063 14.034-3.612 7.169-.768 14.89.228 20.787 5.401 5.898-5.173 13.618-6.169 20.787-5.4 5.12.548 10.058 2.008 14.034 3.61L65.017 52c-2.188-2.235-5.98-4.913-10.229-5.694-4.241-.78-8.906.326-12.984 5.637L41 52.99l-.804-1.047c-4.078-5.31-8.743-6.417-12.984-5.637-4.249.782-8.04 3.46-10.23 5.694ZM41 48.743c-4.49-5.241-9.57-6.324-14.102-5.49-4.76.875-8.95 3.86-11.38 6.365l-.06.06L1 69.017l1.245 2.52c4.087-2.2 10.946-4.853 18.153-5.626 7.236-.775 14.613.368 19.932 5.45L41 72l.67-.64c5.32-5.082 12.696-6.225 19.932-5.45 7.207.773 14.066 3.427 18.153 5.626L81 69.016 66.541 49.679l-.059-.061c-2.43-2.506-6.62-5.49-11.38-6.366-4.532-.833-9.612.25-14.102 5.49Z",clipRule:"evenodd"}),t("defs",{children:[t("linearGradient",{id:"e4ad4261",x1:27.581,x2:55.057,y1:16.74,y2:16.74,gradientUnits:"userSpaceOnUse",children:[e("stop",{stopColor:"#fff",stopOpacity:0}),e("stop",{offset:.02,stopColor:"#fff",stopOpacity:.06}),e("stop",{offset:.11,stopColor:"#fff",stopOpacity:.35}),e("stop",{offset:.18,stopColor:"#fff",stopOpacity:.53}),e("stop",{offset:.21,stopColor:"#fff",stopOpacity:.6}),e("stop",{offset:.22,stopColor:"#fff",stopOpacity:.56}),e("stop",{offset:.28,stopColor:"#fff",stopOpacity:.41}),e("stop",{offset:.34,stopColor:"#fff",stopOpacity:.28}),e("stop",{offset:.41,stopColor:"#fff",stopOpacity:.18}),e("stop",{offset:.49,stopColor:"#fff",stopOpacity:.1}),e("stop",{offset:.57,stopColor:"#fff",stopOpacity:.04}),e("stop",{offset:.67,stopColor:"#fff",stopOpacity:.01}),e("stop",{offset:.83,stopColor:"#fff",stopOpacity:0}),e("stop",{offset:.88,stopColor:"#fff",stopOpacity:0}),e("stop",{offset:.91,stopColor:"#fff",stopOpacity:.04}),e("stop",{offset:.93,stopColor:"#fff",stopOpacity:.1}),e("stop",{offset:.95,stopColor:"#fff",stopOpacity:.18}),e("stop",{offset:.96,stopColor:"#fff",stopOpacity:.28}),e("stop",{offset:.98,stopColor:"#fff",stopOpacity:.4}),e("stop",{offset:1,stopColor:"#fff",stopOpacity:.6})]}),t("linearGradient",{id:"65cb314b",x1:2.688,x2:82.498,y1:56.36,y2:56.36,gradientUnits:"userSpaceOnUse",children:[e("stop",{stopColor:"#fff",stopOpacity:0}),e("stop",{offset:.02,stopColor:"#fff",stopOpacity:.06}),e("stop",{offset:.11,stopColor:"#fff",stopOpacity:.35}),e("stop",{offset:.18,stopColor:"#fff",stopOpacity:.53}),e("stop",{offset:.21,stopColor:"#fff",stopOpacity:.6}),e("stop",{offset:.22,stopColor:"#fff",stopOpacity:.56}),e("stop",{offset:.28,stopColor:"#fff",stopOpacity:.41}),e("stop",{offset:.34,stopColor:"#fff",stopOpacity:.28}),e("stop",{offset:.41,stopColor:"#fff",stopOpacity:.18}),e("stop",{offset:.49,stopColor:"#fff",stopOpacity:.1}),e("stop",{offset:.57,stopColor:"#fff",stopOpacity:.04}),e("stop",{offset:.67,stopColor:"#fff",stopOpacity:.01}),e("stop",{offset:.83,stopColor:"#fff",stopOpacity:0}),e("stop",{offset:.88,stopColor:"#fff",stopOpacity:0}),e("stop",{offset:.91,stopColor:"#fff",stopOpacity:.04}),e("stop",{offset:.93,stopColor:"#fff",stopOpacity:.1}),e("stop",{offset:.95,stopColor:"#fff",stopOpacity:.18}),e("stop",{offset:.96,stopColor:"#fff",stopOpacity:.28}),e("stop",{offset:.98,stopColor:"#fff",stopOpacity:.4}),e("stop",{offset:1,stopColor:"#fff",stopOpacity:.6})]})]})]}))),Ot=n((r=>t("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(#4bbcc7d4)",children:[e("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"}),e("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"})]}),e("defs",{children:e("clipPath",{id:"4bbcc7d4",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),St=n((r=>t("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",{clipPath:"url(#53ee7faa)",children:e("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"})}),e("defs",{children:e("clipPath",{id:"53ee7faa",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),jt=n((r=>t("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",{clipPath:"url(#64af8551)",children:e("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"})}),e("defs",{children:e("clipPath",{id:"64af8551",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Pt=n((r=>t("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",{clipPath:"url(#a0a0cf84)",children:e("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"})}),e("defs",{children:e("clipPath",{id:"a0a0cf84",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),At=n((r=>t("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",{clipPath:"url(#c735ab99)",children:e("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"})}),e("defs",{children:e("clipPath",{id:"c735ab99",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Mt=n((r=>t("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(#bc5773b5)",children:[e("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"}),e("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"})]}),e("defs",{children:e("clipPath",{id:"bc5773b5",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),kt=n((r=>t("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",{clipPath:"url(#9c399fd1)",children:e("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"})}),e("defs",{children:e("clipPath",{id:"9c399fd1",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Et=n((r=>t("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",{clipPath:"url(#0d4ad2be)",children:e("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"})}),e("defs",{children:e("clipPath",{id:"0d4ad2be",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Ct=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:25,height:25,fill:"none",viewBox:"0 0 80 80","aria-hidden":"true",...r,children:[t("g",{clipPath:"url(#e82ea890)",children:[e("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"}),e("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"})]}),t("defs",{children:[t("linearGradient",{id:"59bc3f76",x1:.095,x2:79.905,y1:40.001,y2:40.001,gradientUnits:"userSpaceOnUse",children:[e("stop",{stopColor:"#fff",stopOpacity:0}),e("stop",{offset:.02,stopColor:"#fff",stopOpacity:.06}),e("stop",{offset:.11,stopColor:"#fff",stopOpacity:.35}),e("stop",{offset:.18,stopColor:"#fff",stopOpacity:.53}),e("stop",{offset:.21,stopColor:"#fff",stopOpacity:.6}),e("stop",{offset:.22,stopColor:"#fff",stopOpacity:.56}),e("stop",{offset:.28,stopColor:"#fff",stopOpacity:.41}),e("stop",{offset:.34,stopColor:"#fff",stopOpacity:.28}),e("stop",{offset:.41,stopColor:"#fff",stopOpacity:.18}),e("stop",{offset:.49,stopColor:"#fff",stopOpacity:.1}),e("stop",{offset:.57,stopColor:"#fff",stopOpacity:.04}),e("stop",{offset:.67,stopColor:"#fff",stopOpacity:.01}),e("stop",{offset:.83,stopColor:"#fff",stopOpacity:0}),e("stop",{offset:.88,stopColor:"#fff",stopOpacity:0}),e("stop",{offset:.91,stopColor:"#fff",stopOpacity:.04}),e("stop",{offset:.93,stopColor:"#fff",stopOpacity:.1}),e("stop",{offset:.95,stopColor:"#fff",stopOpacity:.18}),e("stop",{offset:.96,stopColor:"#fff",stopOpacity:.28}),e("stop",{offset:.98,stopColor:"#fff",stopOpacity:.4}),e("stop",{offset:1,stopColor:"#fff",stopOpacity:.6})]}),e("clipPath",{id:"e82ea890",children:e("path",{fill:"#fff",d:"M0 0h80v80H0z"})})]})]}))),_t=n((r=>t("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",{clipPath:"url(#e1eeb89c)",children:e("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"})}),e("defs",{children:e("clipPath",{id:"e1eeb89c",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Tt=n((r=>t("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",{clipPath:"url(#78978fe1)",children:e("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"})}),e("defs",{children:e("clipPath",{id:"78978fe1",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Dt=n((r=>t("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",{clipPath:"url(#3fccef48)",children:e("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"})}),e("defs",{children:e("clipPath",{id:"3fccef48",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),It=n((r=>t("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",{clipPath:"url(#7bd92f01)",children:e("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"})}),e("defs",{children:e("clipPath",{id:"7bd92f01",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Nt=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:25,height:24,fill:"none",viewBox:"0 0 80 60","aria-hidden":"true",...r,children:[t("g",{clipPath:"url(#8acc34e3)",children:[e("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"}),e("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"})]}),t("defs",{children:[t("linearGradient",{id:"19added0",x1:.069,x2:79.931,y1:29.999,y2:29.999,gradientUnits:"userSpaceOnUse",children:[e("stop",{stopColor:"#fff",stopOpacity:0}),e("stop",{offset:.02,stopColor:"#fff",stopOpacity:.06}),e("stop",{offset:.11,stopColor:"#fff",stopOpacity:.35}),e("stop",{offset:.18,stopColor:"#fff",stopOpacity:.53}),e("stop",{offset:.21,stopColor:"#fff",stopOpacity:.6}),e("stop",{offset:.22,stopColor:"#fff",stopOpacity:.56}),e("stop",{offset:.28,stopColor:"#fff",stopOpacity:.41}),e("stop",{offset:.34,stopColor:"#fff",stopOpacity:.28}),e("stop",{offset:.41,stopColor:"#fff",stopOpacity:.18}),e("stop",{offset:.49,stopColor:"#fff",stopOpacity:.1}),e("stop",{offset:.57,stopColor:"#fff",stopOpacity:.04}),e("stop",{offset:.67,stopColor:"#fff",stopOpacity:.01}),e("stop",{offset:.83,stopColor:"#fff",stopOpacity:0}),e("stop",{offset:.88,stopColor:"#fff",stopOpacity:0}),e("stop",{offset:.91,stopColor:"#fff",stopOpacity:.04}),e("stop",{offset:.93,stopColor:"#fff",stopOpacity:.1}),e("stop",{offset:.95,stopColor:"#fff",stopOpacity:.18}),e("stop",{offset:.96,stopColor:"#fff",stopOpacity:.28}),e("stop",{offset:.98,stopColor:"#fff",stopOpacity:.4}),e("stop",{offset:1,stopColor:"#fff",stopOpacity:.6})]}),e("clipPath",{id:"8acc34e3",children:e("path",{fill:"#fff",d:"M0 .395h80v59.21H0z"})})]})]}))),Lt=n((r=>t("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(#213e37ae)",children:[e("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"}),e("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"})]}),e("defs",{children:e("clipPath",{id:"213e37ae",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Bt=n((r=>t("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(#2de5b65b)",children:[e("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"}),e("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"})]}),e("defs",{children:e("clipPath",{id:"2de5b65b",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Rt=n((t=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...t,children:e("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"})}))),$t=n((t=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...t,children:e("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"})}))),zt=n((r=>t("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(#1d876006)",children:e("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"})}),e("defs",{children:e("clipPath",{id:"1d876006",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Ht=n((r=>t("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",{clipPath:"url(#06771c5d)",children:e("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"})}),e("defs",{children:e("clipPath",{id:"06771c5d",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Ft=n((r=>t("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(#513f5486)",children:[e("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"}),e("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"})]}),e("defs",{children:e("clipPath",{id:"513f5486",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Vt=n((r=>t("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",{clipPath:"url(#dbd56355)",children:e("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"})}),e("defs",{children:e("clipPath",{id:"dbd56355",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Ut=n((r=>t("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",{clipPath:"url(#b05ae72a)",children:e("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"})}),e("defs",{children:e("clipPath",{id:"b05ae72a",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Wt=n((t=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...t,children:e("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"})}))),qt=n((t=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...t,children:e("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"})}))),Yt=n((r=>t("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(#dab7ab78)",children:[e("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"}),e("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"})]}),e("defs",{children:e("clipPath",{id:"dab7ab78",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Xt=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 62 80","aria-hidden":"true",...r,children:[t("g",{clipPath:"url(#4e3573e8)",children:[e("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"}),e("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"}),e("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"}),e("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"})]}),t("defs",{children:[t("linearGradient",{id:"b40a6a1b",x1:2.67,x2:58.264,y1:75.561,y2:19.931,gradientUnits:"userSpaceOnUse",children:[e("stop",{stopColor:"#fff",stopOpacity:0}),e("stop",{offset:.02,stopColor:"#fff",stopOpacity:.06}),e("stop",{offset:.11,stopColor:"#fff",stopOpacity:.35}),e("stop",{offset:.18,stopColor:"#fff",stopOpacity:.53}),e("stop",{offset:.21,stopColor:"#fff",stopOpacity:.6}),e("stop",{offset:.22,stopColor:"#fff",stopOpacity:.56}),e("stop",{offset:.28,stopColor:"#fff",stopOpacity:.41}),e("stop",{offset:.34,stopColor:"#fff",stopOpacity:.28}),e("stop",{offset:.41,stopColor:"#fff",stopOpacity:.18}),e("stop",{offset:.49,stopColor:"#fff",stopOpacity:.1}),e("stop",{offset:.57,stopColor:"#fff",stopOpacity:.04}),e("stop",{offset:.67,stopColor:"#fff",stopOpacity:.01}),e("stop",{offset:.83,stopColor:"#fff",stopOpacity:0}),e("stop",{offset:.88,stopColor:"#fff",stopOpacity:0}),e("stop",{offset:.91,stopColor:"#fff",stopOpacity:.04}),e("stop",{offset:.93,stopColor:"#fff",stopOpacity:.1}),e("stop",{offset:.95,stopColor:"#fff",stopOpacity:.18}),e("stop",{offset:.96,stopColor:"#fff",stopOpacity:.28}),e("stop",{offset:.98,stopColor:"#fff",stopOpacity:.4}),e("stop",{offset:1,stopColor:"#fff",stopOpacity:.6})]}),e("clipPath",{id:"4e3573e8",children:e("path",{fill:"#fff",d:"M0 0h61.058v80H0z"})})]})]}))),Kt=n((r=>t("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",{clipPath:"url(#705555a7)",children:e("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"})}),e("defs",{children:e("clipPath",{id:"705555a7",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Gt=n((t=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...t,children:e("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"})}))),Zt=n((t=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",viewBox:"0 0 24 24","aria-hidden":"true",...t,children:e("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"})}))),Jt=n((r=>t("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(#752c60ff)",children:e("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"})}),e("defs",{children:e("clipPath",{id:"752c60ff",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Qt=n((r=>t("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",{clipPath:"url(#251a2feb)",children:e("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"})}),e("defs",{children:e("clipPath",{id:"251a2feb",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),te=n((r=>t("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",{clipPath:"url(#66b9637d)",children:e("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"})}),e("defs",{children:e("clipPath",{id:"66b9637d",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),ee=n((r=>t("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("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"}),e("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"})]}))),re=n((r=>t("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",fillRule:"evenodd",clipPath:"url(#e60de322)",clipRule:"evenodd",children:[e("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"}),e("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"})]}),e("defs",{children:e("clipPath",{id:"e60de322",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),ne=n((r=>t("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",{clipPath:"url(#ce50361f)",children:e("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"})}),e("defs",{children:e("clipPath",{id:"ce50361f",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),oe=n((r=>t("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",{clipPath:"url(#7ecfa412)",children:e("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"})}),e("defs",{children:e("clipPath",{id:"7ecfa412",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),ie=n((r=>t("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",{clipPath:"url(#ef775233)",children:e("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"})}),e("defs",{children:e("clipPath",{id:"ef775233",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),ae=n((r=>t("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",{clipPath:"url(#57d1947f)",children:e("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"})}),e("defs",{children:e("clipPath",{id:"57d1947f",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),ce=n((r=>t("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",{clipPath:"url(#1259f37d)",children:e("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"})}),e("defs",{children:e("clipPath",{id:"1259f37d",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),ue=n((r=>t("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",fillRule:"evenodd",clipPath:"url(#5df29195)",clipRule:"evenodd",children:[e("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"}),e("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"})]}),e("defs",{children:e("clipPath",{id:"5df29195",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),le=n((r=>t("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",{clipPath:"url(#2b650bda)",children:e("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"})}),e("defs",{children:e("clipPath",{id:"2b650bda",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),se=n((r=>t("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(#91038c87)",children:[e("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"}),e("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"})]}),e("defs",{children:e("clipPath",{id:"91038c87",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),fe=n((r=>t("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(#57cfec12)",children:[e("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"}),e("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"})]}),e("defs",{children:e("clipPath",{id:"57cfec12",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),pe=n((r=>t("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(#8ca63799)",children:e("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"})}),e("defs",{children:e("clipPath",{id:"8ca63799",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),de=n((t=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",viewBox:"0 0 24 24","aria-hidden":"true",...t,children:e("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"})}))),he=n((t=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...t,children:e("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"})}))),ye=n((r=>t("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(#705b35d7)",children:[e("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"}),e("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"})]}),e("defs",{children:e("clipPath",{id:"705b35d7",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),ve=n((r=>t("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(#c1bea85b)",children:[e("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"}),e("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"})]}),e("defs",{children:e("clipPath",{id:"c1bea85b",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),me=n((r=>t("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(#5ab9665d)",children:e("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"})}),e("defs",{children:e("clipPath",{id:"5ab9665d",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),ge=n((t=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:16,height:17,fill:"none",viewBox:"0 0 16 17","aria-hidden":"true",...t,children:e("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"})}))),be=n((t=>e("svg",{xmlns:"http://www.w3.org/2000/svg","data-name":"Layer 1",viewBox:"0 0 113 113.4","aria-hidden":"true",...t,children:e("path",{d:"M19.6 113.4 36 85l16.4-28.3 16.3-28.4 2.7-4.5 1.2 4.5 5 18.7-5.6 9.7L55.6 85l-16.3 28.4h19.6L75.3 85l8.5-14.7 4 14.7 7.6 28.4H113L105.4 85l-7.6-28.3-2-7.3L108 28.3H90.2l-.6-2.1L83.4 3l-.8-3H65.5l-.4.6-16 27.7-16.4 28.4L16.4 85 0 113.4z"})}))),we=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 1503 1504","aria-hidden":"true",...r,children:[e("path",{fill:"#fff",d:"M287 258h928v844H287z"}),e("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"})]}))),xe=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",viewBox:"0 0 788 788","aria-hidden":"true",...r,children:[e("circle",{cx:394,cy:394,r:394,style:{fill:"#0ac18e"}}),e("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"}})]}))),Oe=n((r=>e("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:t("g",{fillRule:"nonzero",children:[e("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"}),e("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"})]})}))),Se=n((r=>e("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:t("g",{fillRule:"nonzero",children:[e("path",{fill:"#343434",d:"m392.07 0-8.57 29.11v844.63l8.57 8.55 392.06-231.75z"}),e("path",{fill:"#8C8C8C",d:"M392.07 0 0 650.54l392.07 231.75V472.33z"}),e("path",{fill:"#3C3C3B",d:"m392.07 956.52-4.83 5.89v300.87l4.83 14.1 392.3-552.49z"}),e("path",{fill:"#8C8C8C",d:"M392.07 1277.38V956.52L0 724.89z"}),e("path",{fill:"#141414",d:"m392.07 882.29 392.06-231.75-392.06-178.21z"}),e("path",{fill:"#393939",d:"m0 650.54 392.07 231.75V472.33z"})]})}))),je=n((t=>e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 37.8 43.6","aria-hidden":"true",...t,children:e("g",{"data-name":"Layer 2",children:e("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"}})})}))),Pe=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg","data-name":"Layer 1",viewBox:"0 0 82.6 82.6","aria-hidden":"true",...r,children:[e("circle",{cx:41.3,cy:41.3,r:36.83,style:{fill:"#fff"}}),e("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"}})]}))),Ae=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 600 600","aria-hidden":"true",...r,children:[e("defs",{children:t("linearGradient",{id:"a",x1:300,x2:300,y1:602,y2:2,gradientTransform:"matrix(1 0 0 -1 0 602)",gradientUnits:"userSpaceOnUse",children:[e("stop",{offset:0,stopColor:"#4fa89b"}),e("stop",{offset:1,stopColor:"#6acebb"})]})}),e("g",{"data-name":"Layer 2",children:t("g",{"data-name":"Layer 1",children:[e("circle",{cx:300,cy:300,r:300,style:{fill:"url(#a)"}}),e("path",{d:"M152.34 390V248.8l107.08 80.59V390h27.33v-66.3a15.94 15.94 0 0 0-6.35-12.7l-129.86-97.77A16 16 0 0 0 125 226v164Zm296.14 0V248.8L341.4 329.39V390h-27.33v-66.3a15.94 15.94 0 0 1 6.35-12.7l129.86-97.73A16 16 0 0 1 475.82 226v164Z",style:{fill:"#fff"}})]})})]}))),Me=n((t=>e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 236.36 200","aria-hidden":"true",...t,children:e("g",{"data-name":"Layer 2",children:e("g",{"data-name":"Layer 1",children:e("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"})})})}))),ke=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 424","aria-hidden":"true",...r,children:[e("defs",{children:e("style",{children:".cls-1{fill:#23292f}"})}),e("g",{id:"Layer_2","data-name":"Layer 2",children:e("g",{id:"Layer_1-2","data-name":"Layer 1",children:e("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 Ee(t,e={}){let r=!1;function n(e){const r=`chakra-${(["container","root"].includes(e??"")?[t]:[t,e]).filter(Boolean).join("__")}`;return{className:r,selector:`.${r}`,toString:()=>e}}return{parts:function(...o){!function(){if(r)throw new Error("[anatomy] .part(...) should only be called once. Did you mean to use .extend(...) ?");r=!0}();for(const t of o)e[t]=n(t);return Ee(t,e)},toPart:n,extend:function(...r){for(const t of r)t in e||(e[t]=n(t));return Ee(t,e)},selectors:function(){return Object.fromEntries(Object.entries(e).map((([t,e])=>[t,e.selector])))},classnames:function(){return Object.fromEntries(Object.entries(e).map((([t,e])=>[t,e.className])))},get keys(){return Object.keys(e)},__type:{}}}const Ce=Ee("accordion").parts("root","container","button","panel","icon"),_e=Ee("alert").parts("title","description","container","icon","spinner");Ee("avatar").parts("label","badge","container","excessLabel","group"),Ee("breadcrumb").parts("link","item","container","separator"),Ee("button").parts();const Te=Ee("checkbox").parts("control","icon","container","label");Ee("progress").parts("track","filledTrack","label"),Ee("drawer").parts("overlay","dialogContainer","dialog","header","closeButton","body","footer"),Ee("editable").parts("preview","input","textarea"),Ee("form").parts("container","requiredIndicator","helperText"),Ee("formError").parts("text","icon");const De=Ee("input").parts("addon","field","element","group");Ee("list").parts("container","item","icon"),Ee("menu").parts("button","list","item","groupTitle","icon","command","divider"),Ee("modal").parts("overlay","dialogContainer","dialog","header","closeButton","body","footer"),Ee("numberinput").parts("root","field","stepperGroup","stepper"),Ee("pininput").parts("field"),Ee("popover").parts("content","header","body","footer","popper","arrow","closeButton"),Ee("progress").parts("label","filledTrack","track"),Ee("radio").parts("container","control","label");const Ie=Ee("select").parts("field","icon");Ee("slider").parts("container","track","thumb","filledTrack","mark"),Ee("stat").parts("container","label","helpText","number","icon"),Ee("switch").parts("container","track","thumb","label"),Ee("table").parts("table","thead","tbody","tr","th","td","tfoot","caption"),Ee("tabs").parts("root","tab","tablist","tabpanel","tabpanels","indicator");const Ne=Ee("tag").parts("container","label","closeButton");Ee("card").parts("container","header","body","footer"),Ee("stepper").parts("stepper","step","title","description","indicator","separator","icon","number");var Le=1e6,Be=1e6,Re="[big.js] ",$e=Re+"Invalid ",ze=$e+"decimal places",He=$e+"rounding mode",Fe=Re+"Division by zero",Ve={},Ue=void 0,We=/^-?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i;function qe(t,e,r,n){var o=t.c;if(r===Ue&&(r=t.constructor.RM),0!==r&&1!==r&&2!==r&&3!==r)throw Error(He);if(e<1)n=3===r&&(n||!!o[0])||0===e&&(1===r&&o[0]>=5||2===r&&(o[0]>5||5===o[0]&&(n||o[1]!==Ue))),o.length=1,n?(t.e=t.e-e+1,o[0]=1):o[0]=t.e=0;else if(e<o.length){if(n=1===r&&o[e]>=5||2===r&&(o[e]>5||5===o[e]&&(n||o[e+1]!==Ue||1&o[e-1]))||3===r&&(n||!!o[0]),o.length=e,n)for(;++o[--e]>9;)if(o[e]=0,0===e){++t.e,o.unshift(1);break}for(e=o.length;!o[--e];)o.pop()}return t}function Ye(t,e,r){var n=t.e,o=t.c.join(""),i=o.length;if(e)o=o.charAt(0)+(i>1?"."+o.slice(1):"")+(n<0?"e":"e+")+n;else if(n<0){for(;++n;)o="0"+o;o="0."+o}else if(n>0)if(++n>i)for(n-=i;n--;)o+="0";else n<i&&(o=o.slice(0,n)+"."+o.slice(n));else i>1&&(o=o.charAt(0)+"."+o.slice(1));return t.s<0&&r?"-"+o:o}Ve.abs=function(){var t=new this.constructor(this);return t.s=1,t},Ve.cmp=function(t){var e,r=this,n=r.c,o=(t=new r.constructor(t)).c,i=r.s,a=t.s,c=r.e,u=t.e;if(!n[0]||!o[0])return n[0]?i:o[0]?-a:0;if(i!=a)return i;if(e=i<0,c!=u)return c>u^e?1:-1;for(a=(c=n.length)<(u=o.length)?c:u,i=-1;++i<a;)if(n[i]!=o[i])return n[i]>o[i]^e?1:-1;return c==u?0:c>u^e?1:-1},Ve.div=function(t){var e=this,r=e.constructor,n=e.c,o=(t=new r(t)).c,i=e.s==t.s?1:-1,a=r.DP;if(a!==~~a||a<0||a>Le)throw Error(ze);if(!o[0])throw Error(Fe);if(!n[0])return t.s=i,t.c=[t.e=0],t;var c,u,l,s,f,p=o.slice(),d=c=o.length,h=n.length,y=n.slice(0,c),v=y.length,m=t,g=m.c=[],b=0,w=a+(m.e=e.e-t.e)+1;for(m.s=i,i=w<0?0:w,p.unshift(0);v++<c;)y.push(0);do{for(l=0;l<10;l++){if(c!=(v=y.length))s=c>v?1:-1;else for(f=-1,s=0;++f<c;)if(o[f]!=y[f]){s=o[f]>y[f]?1:-1;break}if(!(s<0))break;for(u=v==c?o:p;v;){if(y[--v]<u[v]){for(f=v;f&&!y[--f];)y[f]=9;--y[f],y[v]+=10}y[v]-=u[v]}for(;!y[0];)y.shift()}g[b++]=s?l:++l,y[0]&&s?y[v]=n[d]||0:y=[n[d]]}while((d++<h||y[0]!==Ue)&&i--);return g[0]||1==b||(g.shift(),m.e--,w--),b>w&&qe(m,w,r.RM,y[0]!==Ue),m},Ve.eq=function(t){return 0===this.cmp(t)},Ve.gt=function(t){return this.cmp(t)>0},Ve.gte=function(t){return this.cmp(t)>-1},Ve.lt=function(t){return this.cmp(t)<0},Ve.lte=function(t){return this.cmp(t)<1},Ve.minus=Ve.sub=function(t){var e,r,n,o,i=this,a=i.constructor,c=i.s,u=(t=new a(t)).s;if(c!=u)return t.s=-u,i.plus(t);var l=i.c.slice(),s=i.e,f=t.c,p=t.e;if(!l[0]||!f[0])return f[0]?t.s=-u:l[0]?t=new a(i):t.s=1,t;if(c=s-p){for((o=c<0)?(c=-c,n=l):(p=s,n=f),n.reverse(),u=c;u--;)n.push(0);n.reverse()}else for(r=((o=l.length<f.length)?l:f).length,c=u=0;u<r;u++)if(l[u]!=f[u]){o=l[u]<f[u];break}if(o&&(n=l,l=f,f=n,t.s=-t.s),(u=(r=f.length)-(e=l.length))>0)for(;u--;)l[e++]=0;for(u=e;r>c;){if(l[--r]<f[r]){for(e=r;e&&!l[--e];)l[e]=9;--l[e],l[r]+=10}l[r]-=f[r]}for(;0===l[--u];)l.pop();for(;0===l[0];)l.shift(),--p;return l[0]||(t.s=1,l=[p=0]),t.c=l,t.e=p,t},Ve.mod=function(t){var e,r=this,n=r.constructor,o=r.s,i=(t=new n(t)).s;if(!t.c[0])throw Error(Fe);return r.s=t.s=1,e=1==t.cmp(r),r.s=o,t.s=i,e?new n(r):(o=n.DP,i=n.RM,n.DP=n.RM=0,r=r.div(t),n.DP=o,n.RM=i,this.minus(r.times(t)))},Ve.neg=function(){var t=new this.constructor(this);return t.s=-t.s,t},Ve.plus=Ve.add=function(t){var e,r,n,o=this,i=o.constructor;if(t=new i(t),o.s!=t.s)return t.s=-t.s,o.minus(t);var a=o.e,c=o.c,u=t.e,l=t.c;if(!c[0]||!l[0])return l[0]||(c[0]?t=new i(o):t.s=o.s),t;if(c=c.slice(),e=a-u){for(e>0?(u=a,n=l):(e=-e,n=c),n.reverse();e--;)n.push(0);n.reverse()}for(c.length-l.length<0&&(n=l,l=c,c=n),e=l.length,r=0;e;c[e]%=10)r=(c[--e]=c[e]+l[e]+r)/10|0;for(r&&(c.unshift(r),++u),e=c.length;0===c[--e];)c.pop();return t.c=c,t.e=u,t},Ve.pow=function(t){var e=this,r=new e.constructor("1"),n=r,o=t<0;if(t!==~~t||t<-1e6||t>Be)throw Error($e+"exponent");for(o&&(t=-t);1&t&&(n=n.times(e)),t>>=1;)e=e.times(e);return o?r.div(n):n},Ve.prec=function(t,e){if(t!==~~t||t<1||t>Le)throw Error($e+"precision");return qe(new this.constructor(this),t,e)},Ve.round=function(t,e){if(t===Ue)t=0;else if(t!==~~t||t<-Le||t>Le)throw Error(ze);return qe(new this.constructor(this),t+this.e+1,e)},Ve.sqrt=function(){var t,e,r,n=this,o=n.constructor,i=n.s,a=n.e,c=new o("0.5");if(!n.c[0])return new o(n);if(i<0)throw Error(Re+"No square root");0===(i=Math.sqrt(+Ye(n,!0,!0)))||i===1/0?((e=n.c.join("")).length+a&1||(e+="0"),a=((a+1)/2|0)-(a<0||1&a),t=new o(((i=Math.sqrt(e))==1/0?"5e":(i=i.toExponential()).slice(0,i.indexOf("e")+1))+a)):t=new o(i+""),a=t.e+(o.DP+=4);do{r=t,t=c.times(r.plus(n.div(r)))}while(r.c.slice(0,a).join("")!==t.c.slice(0,a).join(""));return qe(t,(o.DP-=4)+t.e+1,o.RM)},Ve.times=Ve.mul=function(t){var e,r=this,n=r.constructor,o=r.c,i=(t=new n(t)).c,a=o.length,c=i.length,u=r.e,l=t.e;if(t.s=r.s==t.s?1:-1,!o[0]||!i[0])return t.c=[t.e=0],t;for(t.e=u+l,a<c&&(e=o,o=i,i=e,l=a,a=c,c=l),e=new Array(l=a+c);l--;)e[l]=0;for(u=c;u--;){for(c=0,l=a+u;l>u;)c=e[l]+i[u]*o[l-u-1]+c,e[l--]=c%10,c=c/10|0;e[l]=c}for(c?++t.e:e.shift(),u=e.length;!e[--u];)e.pop();return t.c=e,t},Ve.toExponential=function(t,e){var r=this,n=r.c[0];if(t!==Ue){if(t!==~~t||t<0||t>Le)throw Error(ze);for(r=qe(new r.constructor(r),++t,e);r.c.length<t;)r.c.push(0)}return Ye(r,!0,!!n)},Ve.toFixed=function(t,e){var r=this,n=r.c[0];if(t!==Ue){if(t!==~~t||t<0||t>Le)throw Error(ze);for(t=t+(r=qe(new r.constructor(r),t+r.e+1,e)).e+1;r.c.length<t;)r.c.push(0)}return Ye(r,!1,!!n)},Ve[Symbol.for("nodejs.util.inspect.custom")]=Ve.toJSON=Ve.toString=function(){var t=this,e=t.constructor;return Ye(t,t.e<=e.NE||t.e>=e.PE,!!t.c[0])},Ve.toNumber=function(){var t=+Ye(this,!0,!0);if(!0===this.constructor.strict&&!this.eq(t.toString()))throw Error(Re+"Imprecise conversion");return t},Ve.toPrecision=function(t,e){var r=this,n=r.constructor,o=r.c[0];if(t!==Ue){if(t!==~~t||t<1||t>Le)throw Error($e+"precision");for(r=qe(new n(r),t,e);r.c.length<t;)r.c.push(0)}return Ye(r,t<=r.e||r.e<=n.NE||r.e>=n.PE,!!o)},Ve.valueOf=function(){var t=this,e=t.constructor;if(!0===e.strict)throw Error(Re+"valueOf disallowed");return Ye(t,t.e<=e.NE||t.e>=e.PE,!0)};var Xe=function t(){function e(r){var n=this;if(!(n instanceof e))return r===Ue?t():new e(r);if(r instanceof e)n.s=r.s,n.e=r.e,n.c=r.c.slice();else{if("string"!=typeof r){if(!0===e.strict&&"bigint"!=typeof r)throw TypeError($e+"value");r=0===r&&1/r<0?"-0":String(r)}!function(t,e){var r,n,o;if(!We.test(e))throw Error($e+"number");t.s="-"==e.charAt(0)?(e=e.slice(1),-1):1,(r=e.indexOf("."))>-1&&(e=e.replace(".",""));(n=e.search(/e/i))>0?(r<0&&(r=n),r+=+e.slice(n+1),e=e.substring(0,n)):r<0&&(r=e.length);for(o=e.length,n=0;n<o&&"0"==e.charAt(n);)++n;if(n==o)t.c=[t.e=0];else{for(;o>0&&"0"==e.charAt(--o););for(t.e=r-n-1,t.c=[],r=0;n<=o;)t.c[r++]=+e.charAt(n++)}}(n,r)}n.constructor=e}return e.prototype=Ve,e.DP=20,e.RM=1,e.NE=-7,e.PE=21,e.strict=false,e.roundDown=0,e.roundHalfUp=1,e.roundHalfEven=2,e.roundUp=3,e}();const Ke=t=>{if(t.some((t=>!Number.isFinite(t))))throw new Error(`One or more of the provided amounts is not a finite number. (amounts: ${t}, method: aggregateAmounts)`);return t.reduce(((t,e)=>t.plus(e)),new Xe(0)).toNumber()};var Ge="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function Ze(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Je,Qe={exports:{}};var tr,er=(Je||(Je=1,Qe.exports=function(){var t=1e3,e=6e4,r=36e5,n="millisecond",o="second",i="minute",a="hour",c="day",u="week",l="month",s="quarter",f="year",p="date",d="Invalid Date",h=/^(\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(t){var e=["th","st","nd","rd"],r=t%100;return"["+t+(e[(r-20)%10]||e[r]||e[0])+"]"}},m=function(t,e,r){var n=String(t);return!n||n.length>=e?t:""+Array(e+1-n.length).join(r)+t},g={s:m,z:function(t){var e=-t.utcOffset(),r=Math.abs(e),n=Math.floor(r/60),o=r%60;return(e<=0?"+":"-")+m(n,2,"0")+":"+m(o,2,"0")},m:function t(e,r){if(e.date()<r.date())return-t(r,e);var n=12*(r.year()-e.year())+(r.month()-e.month()),o=e.clone().add(n,l),i=r-o<0,a=e.clone().add(n+(i?-1:1),l);return+(-(n+(r-o)/(i?o-a:a-o))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(t){return{M:l,y:f,w:u,d:c,D:p,h:a,m:i,s:o,ms:n,Q:s}[t]||String(t||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}},b="en",w={};w[b]=v;var x="$isDayjsObject",O=function(t){return t instanceof A||!(!t||!t[x])},S=function t(e,r,n){var o;if(!e)return b;if("string"==typeof e){var i=e.toLowerCase();w[i]&&(o=i),r&&(w[i]=r,o=i);var a=e.split("-");if(!o&&a.length>1)return t(a[0])}else{var c=e.name;w[c]=e,o=c}return!n&&o&&(b=o),o||!n&&b},j=function(t,e){if(O(t))return t.clone();var r="object"==typeof e?e:{};return r.date=t,r.args=arguments,new A(r)},P=g;P.l=S,P.i=O,P.w=function(t,e){return j(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var A=function(){function v(t){this.$L=S(t.locale,null,!0),this.parse(t),this.$x=this.$x||t.x||{},this[x]=!0}var m=v.prototype;return m.parse=function(t){this.$d=function(t){var e=t.date,r=t.utc;if(null===e)return new Date(NaN);if(P.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var n=e.match(h);if(n){var o=n[2]-1||0,i=(n[7]||"0").substring(0,3);return r?new Date(Date.UTC(n[1],o,n[3]||1,n[4]||0,n[5]||0,n[6]||0,i)):new Date(n[1],o,n[3]||1,n[4]||0,n[5]||0,n[6]||0,i)}}return new Date(e)}(t),this.init()},m.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},m.$utils=function(){return P},m.isValid=function(){return!(this.$d.toString()===d)},m.isSame=function(t,e){var r=j(t);return this.startOf(e)<=r&&r<=this.endOf(e)},m.isAfter=function(t,e){return j(t)<this.startOf(e)},m.isBefore=function(t,e){return this.endOf(e)<j(t)},m.$g=function(t,e,r){return P.u(t)?this[e]:this.set(r,t)},m.unix=function(){return Math.floor(this.valueOf()/1e3)},m.valueOf=function(){return this.$d.getTime()},m.startOf=function(t,e){var r=this,n=!!P.u(e)||e,s=P.p(t),d=function(t,e){var o=P.w(r.$u?Date.UTC(r.$y,e,t):new Date(r.$y,e,t),r);return n?o:o.endOf(c)},h=function(t,e){return P.w(r.toDate()[t].apply(r.toDate("s"),(n?[0,0,0,0]:[23,59,59,999]).slice(e)),r)},y=this.$W,v=this.$M,m=this.$D,g="set"+(this.$u?"UTC":"");switch(s){case f:return n?d(1,0):d(31,11);case l:return n?d(1,v):d(0,v+1);case u:var b=this.$locale().weekStart||0,w=(y<b?y+7:y)-b;return d(n?m-w:m+(6-w),v);case c:case p:return h(g+"Hours",0);case a:return h(g+"Minutes",1);case i:return h(g+"Seconds",2);case o:return h(g+"Milliseconds",3);default:return this.clone()}},m.endOf=function(t){return this.startOf(t,!1)},m.$set=function(t,e){var r,u=P.p(t),s="set"+(this.$u?"UTC":""),d=(r={},r[c]=s+"Date",r[p]=s+"Date",r[l]=s+"Month",r[f]=s+"FullYear",r[a]=s+"Hours",r[i]=s+"Minutes",r[o]=s+"Seconds",r[n]=s+"Milliseconds",r)[u],h=u===c?this.$D+(e-this.$W):e;if(u===l||u===f){var y=this.clone().set(p,1);y.$d[d](h),y.init(),this.$d=y.set(p,Math.min(this.$D,y.daysInMonth())).$d}else d&&this.$d[d](h);return this.init(),this},m.set=function(t,e){return this.clone().$set(t,e)},m.get=function(t){return this[P.p(t)]()},m.add=function(n,s){var p,d=this;n=Number(n);var h=P.p(s),y=function(t){var e=j(d);return P.w(e.date(e.date()+Math.round(t*n)),d)};if(h===l)return this.set(l,this.$M+n);if(h===f)return this.set(f,this.$y+n);if(h===c)return y(1);if(h===u)return y(7);var v=(p={},p[i]=e,p[a]=r,p[o]=t,p)[h]||1,m=this.$d.getTime()+n*v;return P.w(m,this)},m.subtract=function(t,e){return this.add(-1*t,e)},m.format=function(t){var e=this,r=this.$locale();if(!this.isValid())return r.invalidDate||d;var n=t||"YYYY-MM-DDTHH:mm:ssZ",o=P.z(this),i=this.$H,a=this.$m,c=this.$M,u=r.weekdays,l=r.months,s=r.meridiem,f=function(t,r,o,i){return t&&(t[r]||t(e,n))||o[r].slice(0,i)},p=function(t){return P.s(i%12||12,t,"0")},h=s||function(t,e,r){var n=t<12?"AM":"PM";return r?n.toLowerCase():n};return n.replace(y,(function(t,n){return n||function(t){switch(t){case"YY":return String(e.$y).slice(-2);case"YYYY":return P.s(e.$y,4,"0");case"M":return c+1;case"MM":return P.s(c+1,2,"0");case"MMM":return f(r.monthsShort,c,l,3);case"MMMM":return f(l,c);case"D":return e.$D;case"DD":return P.s(e.$D,2,"0");case"d":return String(e.$W);case"dd":return f(r.weekdaysMin,e.$W,u,2);case"ddd":return f(r.weekdaysShort,e.$W,u,3);case"dddd":return u[e.$W];case"H":return String(i);case"HH":return P.s(i,2,"0");case"h":return p(1);case"hh":return p(2);case"a":return h(i,a,!0);case"A":return h(i,a,!1);case"m":return String(a);case"mm":return P.s(a,2,"0");case"s":return String(e.$s);case"ss":return P.s(e.$s,2,"0");case"SSS":return P.s(e.$ms,3,"0");case"Z":return o}return null}(t)||o.replace(":","")}))},m.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},m.diff=function(n,p,d){var h,y=this,v=P.p(p),m=j(n),g=(m.utcOffset()-this.utcOffset())*e,b=this-m,w=function(){return P.m(y,m)};switch(v){case f:h=w()/12;break;case l:h=w();break;case s:h=w()/3;break;case u:h=(b-g)/6048e5;break;case c:h=(b-g)/864e5;break;case a:h=b/r;break;case i:h=b/e;break;case o:h=b/t;break;default:h=b}return d?h:P.a(h)},m.daysInMonth=function(){return this.endOf(l).$D},m.$locale=function(){return w[this.$L]},m.locale=function(t,e){if(!t)return this.$L;var r=this.clone(),n=S(t,e,!0);return n&&(r.$L=n),r},m.clone=function(){return P.w(this.$d,this)},m.toDate=function(){return new Date(this.valueOf())},m.toJSON=function(){return this.isValid()?this.toISOString():null},m.toISOString=function(){return this.$d.toISOString()},m.toString=function(){return this.$d.toUTCString()},v}(),M=A.prototype;return j.prototype=M,[["$ms",n],["$s",o],["$m",i],["$H",a],["$W",c],["$M",l],["$y",f],["$D",p]].forEach((function(t){M[t[1]]=function(e){return this.$g(e,t[0],t[1])}})),j.extend=function(t,e){return t.$i||(t(e,A,j),t.$i=!0),j},j.locale=S,j.isDayjs=O,j.unix=function(t){return j(1e3*t)},j.en=w[b],j.Ls=w,j.p={},j}()),Qe.exports),rr=Ze(er),nr={exports:{}};var or,ir,ar,cr=(tr||(tr=1,nr.exports=(or="minute",ir=/[+-]\d\d(?::?\d\d)?/g,ar=/([+-]|\d\d)/g,function(t,e,r){var n=e.prototype;r.utc=function(t){return new e({date:t,utc:!0,args:arguments})},n.utc=function(t){var e=r(this.toDate(),{locale:this.$L,utc:!0});return t?e.add(this.utcOffset(),or):e},n.local=function(){return r(this.toDate(),{locale:this.$L,utc:!1})};var o=n.parse;n.parse=function(t){t.utc&&(this.$u=!0),this.$utils().u(t.$offset)||(this.$offset=t.$offset),o.call(this,t)};var i=n.init;n.init=function(){if(this.$u){var t=this.$d;this.$y=t.getUTCFullYear(),this.$M=t.getUTCMonth(),this.$D=t.getUTCDate(),this.$W=t.getUTCDay(),this.$H=t.getUTCHours(),this.$m=t.getUTCMinutes(),this.$s=t.getUTCSeconds(),this.$ms=t.getUTCMilliseconds()}else i.call(this)};var a=n.utcOffset;n.utcOffset=function(t,e){var r=this.$utils().u;if(r(t))return this.$u?0:r(this.$offset)?a.call(this):this.$offset;if("string"==typeof t&&(t=function(t){void 0===t&&(t="");var e=t.match(ir);if(!e)return null;var r=(""+e[0]).match(ar)||["-",0,0],n=r[0],o=60*+r[1]+ +r[2];return 0===o?0:"+"===n?o:-o}(t),null===t))return this;var n=Math.abs(t)<=16?60*t:t,o=this;if(e)return o.$offset=n,o.$u=0===t,o;if(0!==t){var i=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(o=this.local().add(n+i,or)).$offset=n,o.$x.$localOffset=i}else o=this.utc();return o};var c=n.format;n.format=function(t){var e=t||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return c.call(this,e)},n.valueOf=function(){var t=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*t},n.isUTC=function(){return!!this.$u},n.toISOString=function(){return this.toDate().toISOString()},n.toString=function(){return this.toDate().toUTCString()};var u=n.toDate;n.toDate=function(t){return"s"===t&&this.$offset?r(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():u.call(this)};var l=n.diff;n.diff=function(t,e,n){if(t&&this.$u===t.$u)return l.call(this,t,e,n);var o=this.local(),i=r(t).local();return l.call(o,i,e,n)}})),nr.exports),ur=Ze(cr);rr.extend(ur);const lr=({timeString:t,toEndDate:e})=>""===t?"":e?rr(`${t}T23:59:59`).utc().unix().toString():rr(t).utc().unix().toString(),sr=({number:t,signDisplay:e="exceptZero",isDecimal:r=!0})=>{const n=Number(t);if(!Number.isFinite(n))return console.log(`Number is not a finite number. (number: ${n}, method: formatPercentage)`),t;return new Intl.NumberFormat("en-US",{style:"percent",minimumFractionDigits:2,signDisplay:e}).format(r?n:Xe(n).div(100).toNumber())};
1
+ import{jsxs as t,jsx as e,Fragment as r}from"react/jsx-runtime";import{chakra as n,createMultiStyleConfigHelpers as o,defineStyle as i,defineStyleConfig as a,extendTheme as c,withDefaultColorScheme as u,useBreakpoint as l,Portal as s,Tooltip as f,Text as p,ButtonGroup as d,Button as h,Card as y,Flex as v,IconButton as m,FormControl as g,FormLabel as b,Checkbox as w,FormErrorMessage as x,forwardRef as O,InputGroup as S,InputLeftAddon as j,InputLeftElement as P,Input as A,InputRightElement as M,InputRightAddon as k,FormHelperText as E,Box as C,Modal as _,ModalOverlay as T,ModalContent as D,ModalHeader as I,ModalCloseButton as N,ModalBody as L,ModalFooter as B,Link as R,Select as $,Tag as z,TagLeftIcon as H,TagLabel as F,TagRightIcon as V,TagCloseButton as U,Alert as W,AlertIcon as q,AlertTitle as Y,AlertDescription as X,CloseButton as K,Spinner as G}from"@chakra-ui/react";import Z from"crypto";import J,{isValidElement as Q,Children as tt,PureComponent as et,forwardRef as rt,useRef as nt,useImperativeHandle as ot,useState as it,useCallback as at,useEffect as ct,useMemo as ut,cloneElement as lt,createElement as st,useContext as ft,createContext as pt,Component as dt}from"react";import{css as ht,keyframes as yt}from"@emotion/react";const vt=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"#bada55",viewBox:"0 0 24 25","aria-hidden":"true",...r,children:[t("g",{clipPath:"url(#b228433e)",children:[e("path",{fill:"#000",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"}),e("path",{fill:"#000",d:"M12 5.5a1 1 0 0 0-1 1v8a1 1 0 1 0 2 0v-8a1 1 0 0 0-1-1"}),e("path",{fill:"green",d:"M13 18.5a1 1 0 1 0-2 0 1 1 0 0 0 2 0"})]}),e("defs",{children:e("clipPath",{id:"b228433e",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),mt=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:16,height:17,fill:"none",viewBox:"0 0 16 17","aria-hidden":"true",...r,children:[e("g",{clipPath:"url(#1f7dbd8a)",children:e("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"})}),e("defs",{children:e("clipPath",{id:"1f7dbd8a",children:e("path",{fill:"#fff",d:"M0 .5h16v16H0z"})})})]}))),gt=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16","aria-hidden":"true",...r,children:[e("g",{clipPath:"url(#995c25b7)",children:e("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"})}),e("defs",{children:e("clipPath",{id:"995c25b7",children:e("path",{d:"M0 0h16v16H0z"})})})]}))),bt=n((r=>t("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",{clipPath:"url(#ed542056)",children:e("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"})}),e("defs",{children:e("clipPath",{id:"ed542056",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),wt=n((r=>t("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(#c228d8c1)",children:[e("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"}),e("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"})]}),e("defs",{children:e("clipPath",{id:"c228d8c1",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),xt=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:25,height:24,fill:"none",viewBox:"0 0 82 80","aria-hidden":"true",...r,children:[e("path",{fill:"#000",stroke:"#CDCFD1",strokeMiterlimit:10,d:"M51.94 8.444 36.904 23.48a1.515 1.515 0 0 1-1.664.332 1.5 1.5 0 0 1-.495-.332l-5.136-5.144a1.513 1.513 0 0 0-1.664-.332 1.54 1.54 0 0 0-.827.828 1.51 1.51 0 0 0 0 1.169c.077.185.189.353.331.495l5.139 5.137a4.58 4.58 0 0 0 6.47 0l15.036-15.031a1.517 1.517 0 0 0 0-2.154 1.514 1.514 0 0 0-1.664-.332z"}),e("path",{fill:"#000",fillRule:"evenodd",stroke:"#CDCFD1",strokeMiterlimit:10,d:"M16.983 52 6.179 66.45c3.976-1.603 8.914-3.063 14.034-3.612 7.169-.768 14.89.228 20.787 5.401 5.898-5.173 13.618-6.169 20.787-5.4 5.12.548 10.058 2.008 14.034 3.61L65.017 52c-2.188-2.235-5.98-4.913-10.229-5.694-4.241-.78-8.906.326-12.984 5.637L41 52.99l-.804-1.047c-4.078-5.31-8.743-6.417-12.984-5.637-4.249.782-8.04 3.46-10.23 5.694ZM41 48.743c-4.49-5.241-9.57-6.324-14.102-5.49-4.76.875-8.95 3.86-11.38 6.365l-.06.06L1 69.017l1.245 2.52c4.087-2.2 10.946-4.853 18.153-5.626 7.236-.775 14.613.368 19.932 5.45L41 72l.67-.64c5.32-5.082 12.696-6.225 19.932-5.45 7.207.773 14.066 3.427 18.153 5.626L81 69.016 66.541 49.679l-.059-.061c-2.43-2.506-6.62-5.49-11.38-6.366-4.532-.833-9.612.25-14.102 5.49Z",clipRule:"evenodd"}),e("path",{fill:"url(#a9ffed05)",stroke:"#CDCFD1",strokeMiterlimit:10,d:"M51.94 8.444 36.904 23.48a1.515 1.515 0 0 1-1.664.332 1.5 1.5 0 0 1-.495-.332l-5.136-5.144a1.513 1.513 0 0 0-1.664-.332 1.54 1.54 0 0 0-.827.828 1.51 1.51 0 0 0 0 1.169c.077.185.189.353.331.495l5.139 5.137a4.58 4.58 0 0 0 6.47 0l15.036-15.031a1.517 1.517 0 0 0 0-2.154 1.514 1.514 0 0 0-1.664-.332z"}),e("path",{fill:"url(#4140a37c)",fillRule:"evenodd",stroke:"#CDCFD1",strokeMiterlimit:10,d:"M16.983 52 6.179 66.45c3.976-1.603 8.914-3.063 14.034-3.612 7.169-.768 14.89.228 20.787 5.401 5.898-5.173 13.618-6.169 20.787-5.4 5.12.548 10.058 2.008 14.034 3.61L65.017 52c-2.188-2.235-5.98-4.913-10.229-5.694-4.241-.78-8.906.326-12.984 5.637L41 52.99l-.804-1.047c-4.078-5.31-8.743-6.417-12.984-5.637-4.249.782-8.04 3.46-10.23 5.694ZM41 48.743c-4.49-5.241-9.57-6.324-14.102-5.49-4.76.875-8.95 3.86-11.38 6.365l-.06.06L1 69.017l1.245 2.52c4.087-2.2 10.946-4.853 18.153-5.626 7.236-.775 14.613.368 19.932 5.45L41 72l.67-.64c5.32-5.082 12.696-6.225 19.932-5.45 7.207.773 14.066 3.427 18.153 5.626L81 69.016 66.541 49.679l-.059-.061c-2.43-2.506-6.62-5.49-11.38-6.366-4.532-.833-9.612.25-14.102 5.49Z",clipRule:"evenodd"}),t("defs",{children:[t("linearGradient",{id:"a9ffed05",x1:27.581,x2:55.057,y1:16.74,y2:16.74,gradientUnits:"userSpaceOnUse",children:[e("stop",{stopColor:"#fff",stopOpacity:0}),e("stop",{offset:.02,stopColor:"#fff",stopOpacity:.06}),e("stop",{offset:.11,stopColor:"#fff",stopOpacity:.35}),e("stop",{offset:.18,stopColor:"#fff",stopOpacity:.53}),e("stop",{offset:.21,stopColor:"#fff",stopOpacity:.6}),e("stop",{offset:.22,stopColor:"#fff",stopOpacity:.56}),e("stop",{offset:.28,stopColor:"#fff",stopOpacity:.41}),e("stop",{offset:.34,stopColor:"#fff",stopOpacity:.28}),e("stop",{offset:.41,stopColor:"#fff",stopOpacity:.18}),e("stop",{offset:.49,stopColor:"#fff",stopOpacity:.1}),e("stop",{offset:.57,stopColor:"#fff",stopOpacity:.04}),e("stop",{offset:.67,stopColor:"#fff",stopOpacity:.01}),e("stop",{offset:.83,stopColor:"#fff",stopOpacity:0}),e("stop",{offset:.88,stopColor:"#fff",stopOpacity:0}),e("stop",{offset:.91,stopColor:"#fff",stopOpacity:.04}),e("stop",{offset:.93,stopColor:"#fff",stopOpacity:.1}),e("stop",{offset:.95,stopColor:"#fff",stopOpacity:.18}),e("stop",{offset:.96,stopColor:"#fff",stopOpacity:.28}),e("stop",{offset:.98,stopColor:"#fff",stopOpacity:.4}),e("stop",{offset:1,stopColor:"#fff",stopOpacity:.6})]}),t("linearGradient",{id:"4140a37c",x1:2.688,x2:82.498,y1:56.36,y2:56.36,gradientUnits:"userSpaceOnUse",children:[e("stop",{stopColor:"#fff",stopOpacity:0}),e("stop",{offset:.02,stopColor:"#fff",stopOpacity:.06}),e("stop",{offset:.11,stopColor:"#fff",stopOpacity:.35}),e("stop",{offset:.18,stopColor:"#fff",stopOpacity:.53}),e("stop",{offset:.21,stopColor:"#fff",stopOpacity:.6}),e("stop",{offset:.22,stopColor:"#fff",stopOpacity:.56}),e("stop",{offset:.28,stopColor:"#fff",stopOpacity:.41}),e("stop",{offset:.34,stopColor:"#fff",stopOpacity:.28}),e("stop",{offset:.41,stopColor:"#fff",stopOpacity:.18}),e("stop",{offset:.49,stopColor:"#fff",stopOpacity:.1}),e("stop",{offset:.57,stopColor:"#fff",stopOpacity:.04}),e("stop",{offset:.67,stopColor:"#fff",stopOpacity:.01}),e("stop",{offset:.83,stopColor:"#fff",stopOpacity:0}),e("stop",{offset:.88,stopColor:"#fff",stopOpacity:0}),e("stop",{offset:.91,stopColor:"#fff",stopOpacity:.04}),e("stop",{offset:.93,stopColor:"#fff",stopOpacity:.1}),e("stop",{offset:.95,stopColor:"#fff",stopOpacity:.18}),e("stop",{offset:.96,stopColor:"#fff",stopOpacity:.28}),e("stop",{offset:.98,stopColor:"#fff",stopOpacity:.4}),e("stop",{offset:1,stopColor:"#fff",stopOpacity:.6})]})]})]}))),Ot=n((r=>t("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(#5c02efbd)",children:[e("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"}),e("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"})]}),e("defs",{children:e("clipPath",{id:"5c02efbd",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),St=n((r=>t("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",{clipPath:"url(#563b4d14)",children:e("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"})}),e("defs",{children:e("clipPath",{id:"563b4d14",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),jt=n((r=>t("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",{clipPath:"url(#46b83cac)",children:e("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"})}),e("defs",{children:e("clipPath",{id:"46b83cac",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Pt=n((r=>t("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",{clipPath:"url(#93eaf173)",children:e("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"})}),e("defs",{children:e("clipPath",{id:"93eaf173",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),At=n((r=>t("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",{clipPath:"url(#2f0f2d0a)",children:e("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"})}),e("defs",{children:e("clipPath",{id:"2f0f2d0a",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Mt=n((r=>t("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(#619855ac)",children:[e("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"}),e("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"})]}),e("defs",{children:e("clipPath",{id:"619855ac",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),kt=n((r=>t("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",{clipPath:"url(#9d5c42ef)",children:e("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"})}),e("defs",{children:e("clipPath",{id:"9d5c42ef",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Et=n((r=>t("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",{clipPath:"url(#9bd5555a)",children:e("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"})}),e("defs",{children:e("clipPath",{id:"9bd5555a",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Ct=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:25,height:25,fill:"none",viewBox:"0 0 80 80","aria-hidden":"true",...r,children:[t("g",{clipPath:"url(#5355ca7b)",children:[e("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"}),e("path",{fill:"url(#896fcba9)",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"})]}),t("defs",{children:[t("linearGradient",{id:"896fcba9",x1:.095,x2:79.905,y1:40.001,y2:40.001,gradientUnits:"userSpaceOnUse",children:[e("stop",{stopColor:"#fff",stopOpacity:0}),e("stop",{offset:.02,stopColor:"#fff",stopOpacity:.06}),e("stop",{offset:.11,stopColor:"#fff",stopOpacity:.35}),e("stop",{offset:.18,stopColor:"#fff",stopOpacity:.53}),e("stop",{offset:.21,stopColor:"#fff",stopOpacity:.6}),e("stop",{offset:.22,stopColor:"#fff",stopOpacity:.56}),e("stop",{offset:.28,stopColor:"#fff",stopOpacity:.41}),e("stop",{offset:.34,stopColor:"#fff",stopOpacity:.28}),e("stop",{offset:.41,stopColor:"#fff",stopOpacity:.18}),e("stop",{offset:.49,stopColor:"#fff",stopOpacity:.1}),e("stop",{offset:.57,stopColor:"#fff",stopOpacity:.04}),e("stop",{offset:.67,stopColor:"#fff",stopOpacity:.01}),e("stop",{offset:.83,stopColor:"#fff",stopOpacity:0}),e("stop",{offset:.88,stopColor:"#fff",stopOpacity:0}),e("stop",{offset:.91,stopColor:"#fff",stopOpacity:.04}),e("stop",{offset:.93,stopColor:"#fff",stopOpacity:.1}),e("stop",{offset:.95,stopColor:"#fff",stopOpacity:.18}),e("stop",{offset:.96,stopColor:"#fff",stopOpacity:.28}),e("stop",{offset:.98,stopColor:"#fff",stopOpacity:.4}),e("stop",{offset:1,stopColor:"#fff",stopOpacity:.6})]}),e("clipPath",{id:"5355ca7b",children:e("path",{fill:"#fff",d:"M0 0h80v80H0z"})})]})]}))),_t=n((r=>t("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",{clipPath:"url(#4f4b0420)",children:e("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"})}),e("defs",{children:e("clipPath",{id:"4f4b0420",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Tt=n((r=>t("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",{clipPath:"url(#c3b4757d)",children:e("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"})}),e("defs",{children:e("clipPath",{id:"c3b4757d",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Dt=n((r=>t("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",{clipPath:"url(#7d3c0524)",children:e("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"})}),e("defs",{children:e("clipPath",{id:"7d3c0524",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),It=n((r=>t("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",{clipPath:"url(#c70866b8)",children:e("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"})}),e("defs",{children:e("clipPath",{id:"c70866b8",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Nt=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:25,height:24,fill:"none",viewBox:"0 0 80 60","aria-hidden":"true",...r,children:[t("g",{clipPath:"url(#0b1221e6)",children:[e("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"}),e("path",{fill:"url(#189104a7)",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"})]}),t("defs",{children:[t("linearGradient",{id:"189104a7",x1:.069,x2:79.931,y1:29.999,y2:29.999,gradientUnits:"userSpaceOnUse",children:[e("stop",{stopColor:"#fff",stopOpacity:0}),e("stop",{offset:.02,stopColor:"#fff",stopOpacity:.06}),e("stop",{offset:.11,stopColor:"#fff",stopOpacity:.35}),e("stop",{offset:.18,stopColor:"#fff",stopOpacity:.53}),e("stop",{offset:.21,stopColor:"#fff",stopOpacity:.6}),e("stop",{offset:.22,stopColor:"#fff",stopOpacity:.56}),e("stop",{offset:.28,stopColor:"#fff",stopOpacity:.41}),e("stop",{offset:.34,stopColor:"#fff",stopOpacity:.28}),e("stop",{offset:.41,stopColor:"#fff",stopOpacity:.18}),e("stop",{offset:.49,stopColor:"#fff",stopOpacity:.1}),e("stop",{offset:.57,stopColor:"#fff",stopOpacity:.04}),e("stop",{offset:.67,stopColor:"#fff",stopOpacity:.01}),e("stop",{offset:.83,stopColor:"#fff",stopOpacity:0}),e("stop",{offset:.88,stopColor:"#fff",stopOpacity:0}),e("stop",{offset:.91,stopColor:"#fff",stopOpacity:.04}),e("stop",{offset:.93,stopColor:"#fff",stopOpacity:.1}),e("stop",{offset:.95,stopColor:"#fff",stopOpacity:.18}),e("stop",{offset:.96,stopColor:"#fff",stopOpacity:.28}),e("stop",{offset:.98,stopColor:"#fff",stopOpacity:.4}),e("stop",{offset:1,stopColor:"#fff",stopOpacity:.6})]}),e("clipPath",{id:"0b1221e6",children:e("path",{fill:"#fff",d:"M0 .395h80v59.21H0z"})})]})]}))),Lt=n((r=>t("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(#93be7cfd)",children:[e("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"}),e("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"})]}),e("defs",{children:e("clipPath",{id:"93be7cfd",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Bt=n((r=>t("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(#103e7ba2)",children:[e("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"}),e("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"})]}),e("defs",{children:e("clipPath",{id:"103e7ba2",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Rt=n((t=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...t,children:e("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"})}))),$t=n((t=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...t,children:e("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"})}))),zt=n((r=>t("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(#b5f6d955)",children:e("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"})}),e("defs",{children:e("clipPath",{id:"b5f6d955",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Ht=n((r=>t("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",{clipPath:"url(#96402571)",children:e("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"})}),e("defs",{children:e("clipPath",{id:"96402571",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Ft=n((r=>t("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(#04d04738)",children:[e("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"}),e("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"})]}),e("defs",{children:e("clipPath",{id:"04d04738",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Vt=n((r=>t("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",{clipPath:"url(#3b0586cc)",children:e("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"})}),e("defs",{children:e("clipPath",{id:"3b0586cc",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Ut=n((r=>t("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",{clipPath:"url(#8a1e3fa9)",children:e("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"})}),e("defs",{children:e("clipPath",{id:"8a1e3fa9",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Wt=n((t=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...t,children:e("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"})}))),qt=n((t=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...t,children:e("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"})}))),Yt=n((r=>t("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(#95a8137e)",children:[e("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"}),e("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"})]}),e("defs",{children:e("clipPath",{id:"95a8137e",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Xt=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 62 80","aria-hidden":"true",...r,children:[t("g",{clipPath:"url(#7e74fb75)",children:[e("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"}),e("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"}),e("path",{fill:"url(#2db8501b)",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"}),e("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"})]}),t("defs",{children:[t("linearGradient",{id:"2db8501b",x1:2.67,x2:58.264,y1:75.561,y2:19.931,gradientUnits:"userSpaceOnUse",children:[e("stop",{stopColor:"#fff",stopOpacity:0}),e("stop",{offset:.02,stopColor:"#fff",stopOpacity:.06}),e("stop",{offset:.11,stopColor:"#fff",stopOpacity:.35}),e("stop",{offset:.18,stopColor:"#fff",stopOpacity:.53}),e("stop",{offset:.21,stopColor:"#fff",stopOpacity:.6}),e("stop",{offset:.22,stopColor:"#fff",stopOpacity:.56}),e("stop",{offset:.28,stopColor:"#fff",stopOpacity:.41}),e("stop",{offset:.34,stopColor:"#fff",stopOpacity:.28}),e("stop",{offset:.41,stopColor:"#fff",stopOpacity:.18}),e("stop",{offset:.49,stopColor:"#fff",stopOpacity:.1}),e("stop",{offset:.57,stopColor:"#fff",stopOpacity:.04}),e("stop",{offset:.67,stopColor:"#fff",stopOpacity:.01}),e("stop",{offset:.83,stopColor:"#fff",stopOpacity:0}),e("stop",{offset:.88,stopColor:"#fff",stopOpacity:0}),e("stop",{offset:.91,stopColor:"#fff",stopOpacity:.04}),e("stop",{offset:.93,stopColor:"#fff",stopOpacity:.1}),e("stop",{offset:.95,stopColor:"#fff",stopOpacity:.18}),e("stop",{offset:.96,stopColor:"#fff",stopOpacity:.28}),e("stop",{offset:.98,stopColor:"#fff",stopOpacity:.4}),e("stop",{offset:1,stopColor:"#fff",stopOpacity:.6})]}),e("clipPath",{id:"7e74fb75",children:e("path",{fill:"#fff",d:"M0 0h61.058v80H0z"})})]})]}))),Kt=n((r=>t("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",{clipPath:"url(#1fbd11ae)",children:e("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"})}),e("defs",{children:e("clipPath",{id:"1fbd11ae",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Gt=n((t=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...t,children:e("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"})}))),Zt=n((t=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",viewBox:"0 0 24 24","aria-hidden":"true",...t,children:e("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"})}))),Jt=n((r=>t("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(#cf441c72)",children:e("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"})}),e("defs",{children:e("clipPath",{id:"cf441c72",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),Qt=n((r=>t("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",{clipPath:"url(#0606292b)",children:e("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"})}),e("defs",{children:e("clipPath",{id:"0606292b",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),te=n((r=>t("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",{clipPath:"url(#f85ba276)",children:e("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"})}),e("defs",{children:e("clipPath",{id:"f85ba276",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),ee=n((r=>t("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("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"}),e("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"})]}))),re=n((r=>t("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",fillRule:"evenodd",clipPath:"url(#1426fb92)",clipRule:"evenodd",children:[e("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"}),e("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"})]}),e("defs",{children:e("clipPath",{id:"1426fb92",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),ne=n((r=>t("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",{clipPath:"url(#3d1e2bf7)",children:e("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"})}),e("defs",{children:e("clipPath",{id:"3d1e2bf7",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),oe=n((r=>t("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",{clipPath:"url(#ed805492)",children:e("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"})}),e("defs",{children:e("clipPath",{id:"ed805492",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),ie=n((r=>t("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",{clipPath:"url(#d86a860c)",children:e("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"})}),e("defs",{children:e("clipPath",{id:"d86a860c",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),ae=n((r=>t("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",{clipPath:"url(#ac262486)",children:e("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"})}),e("defs",{children:e("clipPath",{id:"ac262486",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),ce=n((r=>t("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",{clipPath:"url(#22c07cdc)",children:e("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"})}),e("defs",{children:e("clipPath",{id:"22c07cdc",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),ue=n((r=>t("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",fillRule:"evenodd",clipPath:"url(#4cb497da)",clipRule:"evenodd",children:[e("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"}),e("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"})]}),e("defs",{children:e("clipPath",{id:"4cb497da",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),le=n((r=>t("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",{clipPath:"url(#71a5cab2)",children:e("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"})}),e("defs",{children:e("clipPath",{id:"71a5cab2",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),se=n((r=>t("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(#74437c2b)",children:[e("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"}),e("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"})]}),e("defs",{children:e("clipPath",{id:"74437c2b",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),fe=n((r=>t("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(#3115ac54)",children:[e("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"}),e("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"})]}),e("defs",{children:e("clipPath",{id:"3115ac54",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),pe=n((r=>t("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(#7a73dccb)",children:e("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"})}),e("defs",{children:e("clipPath",{id:"7a73dccb",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),de=n((t=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",viewBox:"0 0 24 24","aria-hidden":"true",...t,children:e("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"})}))),he=n((t=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:25,fill:"none",viewBox:"0 0 24 25","aria-hidden":"true",...t,children:e("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"})}))),ye=n((r=>t("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(#0f2d5e6e)",children:[e("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"}),e("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"})]}),e("defs",{children:e("clipPath",{id:"0f2d5e6e",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),ve=n((r=>t("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(#2d45f90b)",children:[e("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"}),e("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"})]}),e("defs",{children:e("clipPath",{id:"2d45f90b",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),me=n((r=>t("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(#c1214bf2)",children:e("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"})}),e("defs",{children:e("clipPath",{id:"c1214bf2",children:e("path",{fill:"#fff",d:"M0 .5h24v24H0z"})})})]}))),ge=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",viewBox:"0 0 24 24","aria-hidden":"true",...r,children:[e("path",{fill:"#000",fillRule:"evenodd",d:"M6 6a4 4 0 0 0-4 4v8a4 4 0 0 0 4 4h8a4 4 0 0 0 4-4v-.625a1 1 0 1 1 2 0V18a6 6 0 0 1-6 6H6a6 6 0 0 1-6-6v-8a6 6 0 0 1 6-6h4a1 1 0 1 1 0 2z",clipRule:"evenodd"}),e("path",{fill:"#000",d:"M19 0h-5a1 1 0 1 0 0 2h5c.445.002.885.104 1.285.3L5.846 16.81a1 1 0 1 0 1.414 1.414L21.7 3.715c.196.4.298.84.3 1.285v5a1 1 0 0 0 2 0V5a5.005 5.005 0 0 0-5-5"})]}))),be=n((t=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:16,height:17,fill:"none",viewBox:"0 0 16 17","aria-hidden":"true",...t,children:e("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"})}))),we=n((t=>e("svg",{xmlns:"http://www.w3.org/2000/svg","data-name":"Layer 1",viewBox:"0 0 113 113.4","aria-hidden":"true",...t,children:e("path",{d:"M19.6 113.4 36 85l16.4-28.3 16.3-28.4 2.7-4.5 1.2 4.5 5 18.7-5.6 9.7L55.6 85l-16.3 28.4h19.6L75.3 85l8.5-14.7 4 14.7 7.6 28.4H113L105.4 85l-7.6-28.3-2-7.3L108 28.3H90.2l-.6-2.1L83.4 3l-.8-3H65.5l-.4.6-16 27.7-16.4 28.4L16.4 85 0 113.4z"})}))),xe=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 1503 1504","aria-hidden":"true",...r,children:[e("path",{fill:"#fff",d:"M287 258h928v844H287z"}),e("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"})]}))),Oe=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",viewBox:"0 0 788 788","aria-hidden":"true",...r,children:[e("circle",{cx:394,cy:394,r:394,style:{fill:"#0ac18e"}}),e("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"}})]}))),Se=n((r=>e("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:t("g",{fillRule:"nonzero",children:[e("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"}),e("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"})]})}))),je=n((r=>e("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:t("g",{fillRule:"nonzero",children:[e("path",{fill:"#343434",d:"m392.07 0-8.57 29.11v844.63l8.57 8.55 392.06-231.75z"}),e("path",{fill:"#8C8C8C",d:"M392.07 0 0 650.54l392.07 231.75V472.33z"}),e("path",{fill:"#3C3C3B",d:"m392.07 956.52-4.83 5.89v300.87l4.83 14.1 392.3-552.49z"}),e("path",{fill:"#8C8C8C",d:"M392.07 1277.38V956.52L0 724.89z"}),e("path",{fill:"#141414",d:"m392.07 882.29 392.06-231.75-392.06-178.21z"}),e("path",{fill:"#393939",d:"m0 650.54 392.07 231.75V472.33z"})]})}))),Pe=n((t=>e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 37.8 43.6","aria-hidden":"true",...t,children:e("g",{"data-name":"Layer 2",children:e("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"}})})}))),Ae=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg","data-name":"Layer 1",viewBox:"0 0 82.6 82.6","aria-hidden":"true",...r,children:[e("circle",{cx:41.3,cy:41.3,r:36.83,style:{fill:"#fff"}}),e("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"}})]}))),Me=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 600 600","aria-hidden":"true",...r,children:[e("defs",{children:t("linearGradient",{id:"a",x1:300,x2:300,y1:602,y2:2,gradientTransform:"matrix(1 0 0 -1 0 602)",gradientUnits:"userSpaceOnUse",children:[e("stop",{offset:0,stopColor:"#4fa89b"}),e("stop",{offset:1,stopColor:"#6acebb"})]})}),e("g",{"data-name":"Layer 2",children:t("g",{"data-name":"Layer 1",children:[e("circle",{cx:300,cy:300,r:300,style:{fill:"url(#a)"}}),e("path",{d:"M152.34 390V248.8l107.08 80.59V390h27.33v-66.3a15.94 15.94 0 0 0-6.35-12.7l-129.86-97.77A16 16 0 0 0 125 226v164Zm296.14 0V248.8L341.4 329.39V390h-27.33v-66.3a15.94 15.94 0 0 1 6.35-12.7l129.86-97.73A16 16 0 0 1 475.82 226v164Z",style:{fill:"#fff"}})]})})]}))),ke=n((t=>e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 236.36 200","aria-hidden":"true",...t,children:e("g",{"data-name":"Layer 2",children:e("g",{"data-name":"Layer 1",children:e("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"})})})}))),Ee=n((r=>t("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 424","aria-hidden":"true",...r,children:[e("defs",{children:e("style",{children:".cls-1{fill:#23292f}"})}),e("g",{id:"Layer_2","data-name":"Layer 2",children:e("g",{id:"Layer_1-2","data-name":"Layer 1",children:e("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 Ce(t,e={}){let r=!1;function n(e){const r=`chakra-${(["container","root"].includes(e??"")?[t]:[t,e]).filter(Boolean).join("__")}`;return{className:r,selector:`.${r}`,toString:()=>e}}return{parts:function(...o){!function(){if(r)throw new Error("[anatomy] .part(...) should only be called once. Did you mean to use .extend(...) ?");r=!0}();for(const t of o)e[t]=n(t);return Ce(t,e)},toPart:n,extend:function(...r){for(const t of r)t in e||(e[t]=n(t));return Ce(t,e)},selectors:function(){return Object.fromEntries(Object.entries(e).map((([t,e])=>[t,e.selector])))},classnames:function(){return Object.fromEntries(Object.entries(e).map((([t,e])=>[t,e.className])))},get keys(){return Object.keys(e)},__type:{}}}const _e=Ce("accordion").parts("root","container","button","panel","icon"),Te=Ce("alert").parts("title","description","container","icon","spinner");Ce("avatar").parts("label","badge","container","excessLabel","group"),Ce("breadcrumb").parts("link","item","container","separator"),Ce("button").parts();const De=Ce("checkbox").parts("control","icon","container","label");Ce("progress").parts("track","filledTrack","label"),Ce("drawer").parts("overlay","dialogContainer","dialog","header","closeButton","body","footer"),Ce("editable").parts("preview","input","textarea"),Ce("form").parts("container","requiredIndicator","helperText"),Ce("formError").parts("text","icon");const Ie=Ce("input").parts("addon","field","element","group");Ce("list").parts("container","item","icon"),Ce("menu").parts("button","list","item","groupTitle","icon","command","divider"),Ce("modal").parts("overlay","dialogContainer","dialog","header","closeButton","body","footer"),Ce("numberinput").parts("root","field","stepperGroup","stepper"),Ce("pininput").parts("field"),Ce("popover").parts("content","header","body","footer","popper","arrow","closeButton"),Ce("progress").parts("label","filledTrack","track"),Ce("radio").parts("container","control","label");const Ne=Ce("select").parts("field","icon");Ce("slider").parts("container","track","thumb","filledTrack","mark"),Ce("stat").parts("container","label","helpText","number","icon"),Ce("switch").parts("container","track","thumb","label"),Ce("table").parts("table","thead","tbody","tr","th","td","tfoot","caption"),Ce("tabs").parts("root","tab","tablist","tabpanel","tabpanels","indicator");const Le=Ce("tag").parts("container","label","closeButton");Ce("card").parts("container","header","body","footer"),Ce("stepper").parts("stepper","step","title","description","indicator","separator","icon","number");var Be=1e6,Re=1e6,$e="[big.js] ",ze=$e+"Invalid ",He=ze+"decimal places",Fe=ze+"rounding mode",Ve=$e+"Division by zero",Ue={},We=void 0,qe=/^-?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i;function Ye(t,e,r,n){var o=t.c;if(r===We&&(r=t.constructor.RM),0!==r&&1!==r&&2!==r&&3!==r)throw Error(Fe);if(e<1)n=3===r&&(n||!!o[0])||0===e&&(1===r&&o[0]>=5||2===r&&(o[0]>5||5===o[0]&&(n||o[1]!==We))),o.length=1,n?(t.e=t.e-e+1,o[0]=1):o[0]=t.e=0;else if(e<o.length){if(n=1===r&&o[e]>=5||2===r&&(o[e]>5||5===o[e]&&(n||o[e+1]!==We||1&o[e-1]))||3===r&&(n||!!o[0]),o.length=e,n)for(;++o[--e]>9;)if(o[e]=0,0===e){++t.e,o.unshift(1);break}for(e=o.length;!o[--e];)o.pop()}return t}function Xe(t,e,r){var n=t.e,o=t.c.join(""),i=o.length;if(e)o=o.charAt(0)+(i>1?"."+o.slice(1):"")+(n<0?"e":"e+")+n;else if(n<0){for(;++n;)o="0"+o;o="0."+o}else if(n>0)if(++n>i)for(n-=i;n--;)o+="0";else n<i&&(o=o.slice(0,n)+"."+o.slice(n));else i>1&&(o=o.charAt(0)+"."+o.slice(1));return t.s<0&&r?"-"+o:o}Ue.abs=function(){var t=new this.constructor(this);return t.s=1,t},Ue.cmp=function(t){var e,r=this,n=r.c,o=(t=new r.constructor(t)).c,i=r.s,a=t.s,c=r.e,u=t.e;if(!n[0]||!o[0])return n[0]?i:o[0]?-a:0;if(i!=a)return i;if(e=i<0,c!=u)return c>u^e?1:-1;for(a=(c=n.length)<(u=o.length)?c:u,i=-1;++i<a;)if(n[i]!=o[i])return n[i]>o[i]^e?1:-1;return c==u?0:c>u^e?1:-1},Ue.div=function(t){var e=this,r=e.constructor,n=e.c,o=(t=new r(t)).c,i=e.s==t.s?1:-1,a=r.DP;if(a!==~~a||a<0||a>Be)throw Error(He);if(!o[0])throw Error(Ve);if(!n[0])return t.s=i,t.c=[t.e=0],t;var c,u,l,s,f,p=o.slice(),d=c=o.length,h=n.length,y=n.slice(0,c),v=y.length,m=t,g=m.c=[],b=0,w=a+(m.e=e.e-t.e)+1;for(m.s=i,i=w<0?0:w,p.unshift(0);v++<c;)y.push(0);do{for(l=0;l<10;l++){if(c!=(v=y.length))s=c>v?1:-1;else for(f=-1,s=0;++f<c;)if(o[f]!=y[f]){s=o[f]>y[f]?1:-1;break}if(!(s<0))break;for(u=v==c?o:p;v;){if(y[--v]<u[v]){for(f=v;f&&!y[--f];)y[f]=9;--y[f],y[v]+=10}y[v]-=u[v]}for(;!y[0];)y.shift()}g[b++]=s?l:++l,y[0]&&s?y[v]=n[d]||0:y=[n[d]]}while((d++<h||y[0]!==We)&&i--);return g[0]||1==b||(g.shift(),m.e--,w--),b>w&&Ye(m,w,r.RM,y[0]!==We),m},Ue.eq=function(t){return 0===this.cmp(t)},Ue.gt=function(t){return this.cmp(t)>0},Ue.gte=function(t){return this.cmp(t)>-1},Ue.lt=function(t){return this.cmp(t)<0},Ue.lte=function(t){return this.cmp(t)<1},Ue.minus=Ue.sub=function(t){var e,r,n,o,i=this,a=i.constructor,c=i.s,u=(t=new a(t)).s;if(c!=u)return t.s=-u,i.plus(t);var l=i.c.slice(),s=i.e,f=t.c,p=t.e;if(!l[0]||!f[0])return f[0]?t.s=-u:l[0]?t=new a(i):t.s=1,t;if(c=s-p){for((o=c<0)?(c=-c,n=l):(p=s,n=f),n.reverse(),u=c;u--;)n.push(0);n.reverse()}else for(r=((o=l.length<f.length)?l:f).length,c=u=0;u<r;u++)if(l[u]!=f[u]){o=l[u]<f[u];break}if(o&&(n=l,l=f,f=n,t.s=-t.s),(u=(r=f.length)-(e=l.length))>0)for(;u--;)l[e++]=0;for(u=e;r>c;){if(l[--r]<f[r]){for(e=r;e&&!l[--e];)l[e]=9;--l[e],l[r]+=10}l[r]-=f[r]}for(;0===l[--u];)l.pop();for(;0===l[0];)l.shift(),--p;return l[0]||(t.s=1,l=[p=0]),t.c=l,t.e=p,t},Ue.mod=function(t){var e,r=this,n=r.constructor,o=r.s,i=(t=new n(t)).s;if(!t.c[0])throw Error(Ve);return r.s=t.s=1,e=1==t.cmp(r),r.s=o,t.s=i,e?new n(r):(o=n.DP,i=n.RM,n.DP=n.RM=0,r=r.div(t),n.DP=o,n.RM=i,this.minus(r.times(t)))},Ue.neg=function(){var t=new this.constructor(this);return t.s=-t.s,t},Ue.plus=Ue.add=function(t){var e,r,n,o=this,i=o.constructor;if(t=new i(t),o.s!=t.s)return t.s=-t.s,o.minus(t);var a=o.e,c=o.c,u=t.e,l=t.c;if(!c[0]||!l[0])return l[0]||(c[0]?t=new i(o):t.s=o.s),t;if(c=c.slice(),e=a-u){for(e>0?(u=a,n=l):(e=-e,n=c),n.reverse();e--;)n.push(0);n.reverse()}for(c.length-l.length<0&&(n=l,l=c,c=n),e=l.length,r=0;e;c[e]%=10)r=(c[--e]=c[e]+l[e]+r)/10|0;for(r&&(c.unshift(r),++u),e=c.length;0===c[--e];)c.pop();return t.c=c,t.e=u,t},Ue.pow=function(t){var e=this,r=new e.constructor("1"),n=r,o=t<0;if(t!==~~t||t<-1e6||t>Re)throw Error(ze+"exponent");for(o&&(t=-t);1&t&&(n=n.times(e)),t>>=1;)e=e.times(e);return o?r.div(n):n},Ue.prec=function(t,e){if(t!==~~t||t<1||t>Be)throw Error(ze+"precision");return Ye(new this.constructor(this),t,e)},Ue.round=function(t,e){if(t===We)t=0;else if(t!==~~t||t<-Be||t>Be)throw Error(He);return Ye(new this.constructor(this),t+this.e+1,e)},Ue.sqrt=function(){var t,e,r,n=this,o=n.constructor,i=n.s,a=n.e,c=new o("0.5");if(!n.c[0])return new o(n);if(i<0)throw Error($e+"No square root");0===(i=Math.sqrt(+Xe(n,!0,!0)))||i===1/0?((e=n.c.join("")).length+a&1||(e+="0"),a=((a+1)/2|0)-(a<0||1&a),t=new o(((i=Math.sqrt(e))==1/0?"5e":(i=i.toExponential()).slice(0,i.indexOf("e")+1))+a)):t=new o(i+""),a=t.e+(o.DP+=4);do{r=t,t=c.times(r.plus(n.div(r)))}while(r.c.slice(0,a).join("")!==t.c.slice(0,a).join(""));return Ye(t,(o.DP-=4)+t.e+1,o.RM)},Ue.times=Ue.mul=function(t){var e,r=this,n=r.constructor,o=r.c,i=(t=new n(t)).c,a=o.length,c=i.length,u=r.e,l=t.e;if(t.s=r.s==t.s?1:-1,!o[0]||!i[0])return t.c=[t.e=0],t;for(t.e=u+l,a<c&&(e=o,o=i,i=e,l=a,a=c,c=l),e=new Array(l=a+c);l--;)e[l]=0;for(u=c;u--;){for(c=0,l=a+u;l>u;)c=e[l]+i[u]*o[l-u-1]+c,e[l--]=c%10,c=c/10|0;e[l]=c}for(c?++t.e:e.shift(),u=e.length;!e[--u];)e.pop();return t.c=e,t},Ue.toExponential=function(t,e){var r=this,n=r.c[0];if(t!==We){if(t!==~~t||t<0||t>Be)throw Error(He);for(r=Ye(new r.constructor(r),++t,e);r.c.length<t;)r.c.push(0)}return Xe(r,!0,!!n)},Ue.toFixed=function(t,e){var r=this,n=r.c[0];if(t!==We){if(t!==~~t||t<0||t>Be)throw Error(He);for(t=t+(r=Ye(new r.constructor(r),t+r.e+1,e)).e+1;r.c.length<t;)r.c.push(0)}return Xe(r,!1,!!n)},Ue[Symbol.for("nodejs.util.inspect.custom")]=Ue.toJSON=Ue.toString=function(){var t=this,e=t.constructor;return Xe(t,t.e<=e.NE||t.e>=e.PE,!!t.c[0])},Ue.toNumber=function(){var t=+Xe(this,!0,!0);if(!0===this.constructor.strict&&!this.eq(t.toString()))throw Error($e+"Imprecise conversion");return t},Ue.toPrecision=function(t,e){var r=this,n=r.constructor,o=r.c[0];if(t!==We){if(t!==~~t||t<1||t>Be)throw Error(ze+"precision");for(r=Ye(new n(r),t,e);r.c.length<t;)r.c.push(0)}return Xe(r,t<=r.e||r.e<=n.NE||r.e>=n.PE,!!o)},Ue.valueOf=function(){var t=this,e=t.constructor;if(!0===e.strict)throw Error($e+"valueOf disallowed");return Xe(t,t.e<=e.NE||t.e>=e.PE,!0)};var Ke=function t(){function e(r){var n=this;if(!(n instanceof e))return r===We?t():new e(r);if(r instanceof e)n.s=r.s,n.e=r.e,n.c=r.c.slice();else{if("string"!=typeof r){if(!0===e.strict&&"bigint"!=typeof r)throw TypeError(ze+"value");r=0===r&&1/r<0?"-0":String(r)}!function(t,e){var r,n,o;if(!qe.test(e))throw Error(ze+"number");t.s="-"==e.charAt(0)?(e=e.slice(1),-1):1,(r=e.indexOf("."))>-1&&(e=e.replace(".",""));(n=e.search(/e/i))>0?(r<0&&(r=n),r+=+e.slice(n+1),e=e.substring(0,n)):r<0&&(r=e.length);for(o=e.length,n=0;n<o&&"0"==e.charAt(n);)++n;if(n==o)t.c=[t.e=0];else{for(;o>0&&"0"==e.charAt(--o););for(t.e=r-n-1,t.c=[],r=0;n<=o;)t.c[r++]=+e.charAt(n++)}}(n,r)}n.constructor=e}return e.prototype=Ue,e.DP=20,e.RM=1,e.NE=-7,e.PE=21,e.strict=false,e.roundDown=0,e.roundHalfUp=1,e.roundHalfEven=2,e.roundUp=3,e}();const Ge=t=>{if(t.some((t=>!Number.isFinite(t))))throw new Error(`One or more of the provided amounts is not a finite number. (amounts: ${t}, method: aggregateAmounts)`);return t.reduce(((t,e)=>t.plus(e)),new Ke(0)).toNumber()};var Ze="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function Je(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Qe,tr={exports:{}};var er,rr=(Qe||(Qe=1,tr.exports=function(){var t=1e3,e=6e4,r=36e5,n="millisecond",o="second",i="minute",a="hour",c="day",u="week",l="month",s="quarter",f="year",p="date",d="Invalid Date",h=/^(\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(t){var e=["th","st","nd","rd"],r=t%100;return"["+t+(e[(r-20)%10]||e[r]||e[0])+"]"}},m=function(t,e,r){var n=String(t);return!n||n.length>=e?t:""+Array(e+1-n.length).join(r)+t},g={s:m,z:function(t){var e=-t.utcOffset(),r=Math.abs(e),n=Math.floor(r/60),o=r%60;return(e<=0?"+":"-")+m(n,2,"0")+":"+m(o,2,"0")},m:function t(e,r){if(e.date()<r.date())return-t(r,e);var n=12*(r.year()-e.year())+(r.month()-e.month()),o=e.clone().add(n,l),i=r-o<0,a=e.clone().add(n+(i?-1:1),l);return+(-(n+(r-o)/(i?o-a:a-o))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(t){return{M:l,y:f,w:u,d:c,D:p,h:a,m:i,s:o,ms:n,Q:s}[t]||String(t||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}},b="en",w={};w[b]=v;var x="$isDayjsObject",O=function(t){return t instanceof A||!(!t||!t[x])},S=function t(e,r,n){var o;if(!e)return b;if("string"==typeof e){var i=e.toLowerCase();w[i]&&(o=i),r&&(w[i]=r,o=i);var a=e.split("-");if(!o&&a.length>1)return t(a[0])}else{var c=e.name;w[c]=e,o=c}return!n&&o&&(b=o),o||!n&&b},j=function(t,e){if(O(t))return t.clone();var r="object"==typeof e?e:{};return r.date=t,r.args=arguments,new A(r)},P=g;P.l=S,P.i=O,P.w=function(t,e){return j(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var A=function(){function v(t){this.$L=S(t.locale,null,!0),this.parse(t),this.$x=this.$x||t.x||{},this[x]=!0}var m=v.prototype;return m.parse=function(t){this.$d=function(t){var e=t.date,r=t.utc;if(null===e)return new Date(NaN);if(P.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var n=e.match(h);if(n){var o=n[2]-1||0,i=(n[7]||"0").substring(0,3);return r?new Date(Date.UTC(n[1],o,n[3]||1,n[4]||0,n[5]||0,n[6]||0,i)):new Date(n[1],o,n[3]||1,n[4]||0,n[5]||0,n[6]||0,i)}}return new Date(e)}(t),this.init()},m.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},m.$utils=function(){return P},m.isValid=function(){return!(this.$d.toString()===d)},m.isSame=function(t,e){var r=j(t);return this.startOf(e)<=r&&r<=this.endOf(e)},m.isAfter=function(t,e){return j(t)<this.startOf(e)},m.isBefore=function(t,e){return this.endOf(e)<j(t)},m.$g=function(t,e,r){return P.u(t)?this[e]:this.set(r,t)},m.unix=function(){return Math.floor(this.valueOf()/1e3)},m.valueOf=function(){return this.$d.getTime()},m.startOf=function(t,e){var r=this,n=!!P.u(e)||e,s=P.p(t),d=function(t,e){var o=P.w(r.$u?Date.UTC(r.$y,e,t):new Date(r.$y,e,t),r);return n?o:o.endOf(c)},h=function(t,e){return P.w(r.toDate()[t].apply(r.toDate("s"),(n?[0,0,0,0]:[23,59,59,999]).slice(e)),r)},y=this.$W,v=this.$M,m=this.$D,g="set"+(this.$u?"UTC":"");switch(s){case f:return n?d(1,0):d(31,11);case l:return n?d(1,v):d(0,v+1);case u:var b=this.$locale().weekStart||0,w=(y<b?y+7:y)-b;return d(n?m-w:m+(6-w),v);case c:case p:return h(g+"Hours",0);case a:return h(g+"Minutes",1);case i:return h(g+"Seconds",2);case o:return h(g+"Milliseconds",3);default:return this.clone()}},m.endOf=function(t){return this.startOf(t,!1)},m.$set=function(t,e){var r,u=P.p(t),s="set"+(this.$u?"UTC":""),d=(r={},r[c]=s+"Date",r[p]=s+"Date",r[l]=s+"Month",r[f]=s+"FullYear",r[a]=s+"Hours",r[i]=s+"Minutes",r[o]=s+"Seconds",r[n]=s+"Milliseconds",r)[u],h=u===c?this.$D+(e-this.$W):e;if(u===l||u===f){var y=this.clone().set(p,1);y.$d[d](h),y.init(),this.$d=y.set(p,Math.min(this.$D,y.daysInMonth())).$d}else d&&this.$d[d](h);return this.init(),this},m.set=function(t,e){return this.clone().$set(t,e)},m.get=function(t){return this[P.p(t)]()},m.add=function(n,s){var p,d=this;n=Number(n);var h=P.p(s),y=function(t){var e=j(d);return P.w(e.date(e.date()+Math.round(t*n)),d)};if(h===l)return this.set(l,this.$M+n);if(h===f)return this.set(f,this.$y+n);if(h===c)return y(1);if(h===u)return y(7);var v=(p={},p[i]=e,p[a]=r,p[o]=t,p)[h]||1,m=this.$d.getTime()+n*v;return P.w(m,this)},m.subtract=function(t,e){return this.add(-1*t,e)},m.format=function(t){var e=this,r=this.$locale();if(!this.isValid())return r.invalidDate||d;var n=t||"YYYY-MM-DDTHH:mm:ssZ",o=P.z(this),i=this.$H,a=this.$m,c=this.$M,u=r.weekdays,l=r.months,s=r.meridiem,f=function(t,r,o,i){return t&&(t[r]||t(e,n))||o[r].slice(0,i)},p=function(t){return P.s(i%12||12,t,"0")},h=s||function(t,e,r){var n=t<12?"AM":"PM";return r?n.toLowerCase():n};return n.replace(y,(function(t,n){return n||function(t){switch(t){case"YY":return String(e.$y).slice(-2);case"YYYY":return P.s(e.$y,4,"0");case"M":return c+1;case"MM":return P.s(c+1,2,"0");case"MMM":return f(r.monthsShort,c,l,3);case"MMMM":return f(l,c);case"D":return e.$D;case"DD":return P.s(e.$D,2,"0");case"d":return String(e.$W);case"dd":return f(r.weekdaysMin,e.$W,u,2);case"ddd":return f(r.weekdaysShort,e.$W,u,3);case"dddd":return u[e.$W];case"H":return String(i);case"HH":return P.s(i,2,"0");case"h":return p(1);case"hh":return p(2);case"a":return h(i,a,!0);case"A":return h(i,a,!1);case"m":return String(a);case"mm":return P.s(a,2,"0");case"s":return String(e.$s);case"ss":return P.s(e.$s,2,"0");case"SSS":return P.s(e.$ms,3,"0");case"Z":return o}return null}(t)||o.replace(":","")}))},m.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},m.diff=function(n,p,d){var h,y=this,v=P.p(p),m=j(n),g=(m.utcOffset()-this.utcOffset())*e,b=this-m,w=function(){return P.m(y,m)};switch(v){case f:h=w()/12;break;case l:h=w();break;case s:h=w()/3;break;case u:h=(b-g)/6048e5;break;case c:h=(b-g)/864e5;break;case a:h=b/r;break;case i:h=b/e;break;case o:h=b/t;break;default:h=b}return d?h:P.a(h)},m.daysInMonth=function(){return this.endOf(l).$D},m.$locale=function(){return w[this.$L]},m.locale=function(t,e){if(!t)return this.$L;var r=this.clone(),n=S(t,e,!0);return n&&(r.$L=n),r},m.clone=function(){return P.w(this.$d,this)},m.toDate=function(){return new Date(this.valueOf())},m.toJSON=function(){return this.isValid()?this.toISOString():null},m.toISOString=function(){return this.$d.toISOString()},m.toString=function(){return this.$d.toUTCString()},v}(),M=A.prototype;return j.prototype=M,[["$ms",n],["$s",o],["$m",i],["$H",a],["$W",c],["$M",l],["$y",f],["$D",p]].forEach((function(t){M[t[1]]=function(e){return this.$g(e,t[0],t[1])}})),j.extend=function(t,e){return t.$i||(t(e,A,j),t.$i=!0),j},j.locale=S,j.isDayjs=O,j.unix=function(t){return j(1e3*t)},j.en=w[b],j.Ls=w,j.p={},j}()),tr.exports),nr=Je(rr),or={exports:{}};var ir,ar,cr,ur=(er||(er=1,or.exports=(ir="minute",ar=/[+-]\d\d(?::?\d\d)?/g,cr=/([+-]|\d\d)/g,function(t,e,r){var n=e.prototype;r.utc=function(t){return new e({date:t,utc:!0,args:arguments})},n.utc=function(t){var e=r(this.toDate(),{locale:this.$L,utc:!0});return t?e.add(this.utcOffset(),ir):e},n.local=function(){return r(this.toDate(),{locale:this.$L,utc:!1})};var o=n.parse;n.parse=function(t){t.utc&&(this.$u=!0),this.$utils().u(t.$offset)||(this.$offset=t.$offset),o.call(this,t)};var i=n.init;n.init=function(){if(this.$u){var t=this.$d;this.$y=t.getUTCFullYear(),this.$M=t.getUTCMonth(),this.$D=t.getUTCDate(),this.$W=t.getUTCDay(),this.$H=t.getUTCHours(),this.$m=t.getUTCMinutes(),this.$s=t.getUTCSeconds(),this.$ms=t.getUTCMilliseconds()}else i.call(this)};var a=n.utcOffset;n.utcOffset=function(t,e){var r=this.$utils().u;if(r(t))return this.$u?0:r(this.$offset)?a.call(this):this.$offset;if("string"==typeof t&&(t=function(t){void 0===t&&(t="");var e=t.match(ar);if(!e)return null;var r=(""+e[0]).match(cr)||["-",0,0],n=r[0],o=60*+r[1]+ +r[2];return 0===o?0:"+"===n?o:-o}(t),null===t))return this;var n=Math.abs(t)<=16?60*t:t,o=this;if(e)return o.$offset=n,o.$u=0===t,o;if(0!==t){var i=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(o=this.local().add(n+i,ir)).$offset=n,o.$x.$localOffset=i}else o=this.utc();return o};var c=n.format;n.format=function(t){var e=t||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return c.call(this,e)},n.valueOf=function(){var t=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*t},n.isUTC=function(){return!!this.$u},n.toISOString=function(){return this.toDate().toISOString()},n.toString=function(){return this.toDate().toUTCString()};var u=n.toDate;n.toDate=function(t){return"s"===t&&this.$offset?r(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():u.call(this)};var l=n.diff;n.diff=function(t,e,n){if(t&&this.$u===t.$u)return l.call(this,t,e,n);var o=this.local(),i=r(t).local();return l.call(o,i,e,n)}})),or.exports),lr=Je(ur);nr.extend(lr);const sr=({timeString:t,toEndDate:e})=>""===t?"":e?nr(`${t}T23:59:59`).utc().unix().toString():nr(t).utc().unix().toString(),fr=({number:t,signDisplay:e="exceptZero",isDecimal:r=!0})=>{const n=Number(t);if(!Number.isFinite(n))return console.log(`Number is not a finite number. (number: ${n}, method: formatPercentage)`),t;return new Intl.NumberFormat("en-US",{style:"percent",minimumFractionDigits:2,signDisplay:e}).format(r?n:Ke(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 t,jsx as e,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 fr={symbol:"$",separator:",",decimal:".",errorOnInvalid:!1,precision:2,pattern:"!#",negativePattern:"-!#",format:function(t,e){var r=e.pattern,n=e.negativePattern,o=e.symbol,i=e.separator,a=e.decimal,c=e.groups,u=(""+t).replace(/^-/,"").split("."),l=u[0],s=u[1];return(t.value>=0?r:n).replace("!",o).replace("#",l.replace(c,"$1"+i)+(s?a+s:""))},fromCents:!1},pr=function(t){return Math.round(t)},dr=function(t){return Math.pow(10,t)},hr=/(\d)(?=(\d{3})+\b)/g,yr=/(\d)(?=(\d\d)+\d\b)/g;function vr(t,e){var r=this;if(!(r instanceof vr))return new vr(t,e);var n=Object.assign({},fr,e),o=dr(n.precision),i=mr(t,n);r.intValue=i,r.value=i/o,n.increment=n.increment||1/o,n.useVedic?n.groups=yr:n.groups=hr,this.s=n,this.p=o}function mr(t,e){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],n=0,o=e.decimal,i=e.errorOnInvalid,a=e.precision,c=e.fromCents,u=dr(a),l="number"==typeof t,s=t instanceof vr;if(s&&c)return t.intValue;if(l||s)n=s?t.value:t;else if("string"==typeof t){var f=new RegExp("[^-\\d"+o+"]","g"),p=new RegExp("\\"+o,"g");n=(n=t.replace(/\((.*)\)/,"-$1").replace(f,"").replace(p,"."))||0}else{if(i)throw Error("Invalid Input");n=0}return c||(n=(n*=u).toFixed(4)),r?pr(n):n}vr.prototype={add:function(t){var e=this.intValue,r=this.s,n=this.p;return vr((e+=mr(t,r))/(r.fromCents?1:n),r)},subtract:function(t){var e=this.intValue,r=this.s,n=this.p;return vr((e-=mr(t,r))/(r.fromCents?1:n),r)},multiply:function(t){var e=this.intValue,r=this.s;return vr((e*=t)/(r.fromCents?1:dr(r.precision)),r)},divide:function(t){var e=this.intValue,r=this.s;return vr(e/=mr(t,r,!1),r)},distribute:function(t){for(var e=this.intValue,r=this.p,n=this.s,o=[],i=Math[e>=0?"floor":"ceil"](e/t),a=Math.abs(e-i*t),c=n.fromCents?1:r;0!==t;t--){var u=vr(i/c,n);a-- >0&&(u=u[e>=0?"add":"subtract"](1/c)),o.push(u)}return o},dollars:function(){return~~this.value},cents:function(){return~~(this.intValue%this.p)},format:function(t){var e=this.s;return"function"==typeof t?t(this,e):e.format(this,Object.assign({},e,t))},toString:function(){var t,e,r=this.intValue,n=this.p,o=this.s;return(t=r/n,e=o.increment,pr(t/e)*e).toFixed(o.precision)},toJSON:function(){return this.value}};const gr=({amount:t,autoPrecision:e,precision:r=2,signDisplay:n=!1})=>{const o=Number(t);if(!Number.isFinite(o))return console.log(`Amount is not a finite number. (amount: ${o}, method: formatUsd)`),t;const i=vr(o,{precision:e&&o>-1&&o<1&&0!==o?5:r}).format();return n&&o>0?`+${i}`:i},br=({data:t,dataKey:e})=>{const r=t?.length?Number(t[0][e]):0,n=t?.length?Number(t[t.length-1][e]):0;if(!t?.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 o=new Xe(r),i=new Xe(n),a=i.minus(o);return{startingAmount:r,endingAmount:n,delta:a.toNumber(),percentChange:0===o.toNumber()?0:a.div(o).mul(100).toNumber(),isNetGain:i.gt(o)}},wr=t=>{let e;return["sm","xs"].includes(t)&&(e="xs"),e},xr=()=>{try{return window.self!==window.top}catch(t){return!0}},Or=t=>Array.from(t).reverse(),Sr=({arr:t,n:e})=>{const r=Or(t);return Or(r.filter(((t,r)=>r%e==0)))},jr=t=>t.replace(/([a-z])([A-Z])/g,"$1 $2").replace(/([A-Z])([A-Z][a-z])/g,"$1 $2").trim(),Pr={redRemains:(t=1)=>Ar({rgb:"rgb(255, 223, 223)",alpha:t}),heroicRed:(t=1)=>Ar({rgb:"rgb(210, 25, 25)",alpha:t}),aijiroWhite:(t=1)=>Ar({rgb:"rgb(238, 248, 247)",alpha:t}),mint:(t=1)=>Ar({rgb:"rgb(64, 178, 136)",alpha:t}),white:(t=1)=>Ar({rgb:"rgb(255, 255, 255)",alpha:t,enabledAlphaValues:[.2]}),lighthouse:(t=1)=>Ar({rgb:"rgb(244, 244, 244)",alpha:t}),coolElegance:(t=1)=>Ar({rgb:"rgb(205, 207, 209)",alpha:t}),sonicSilver:(t=1)=>Ar({rgb:"rgb(117, 117, 117)",alpha:t}),black:(t=1)=>Ar({rgb:"rgb(0, 0, 0)",alpha:t,enabledAlphaValues:[.08]})},Ar=({rgb:t,alpha:e,enabledAlphaValues:r=[1]})=>{if(![...r,1].includes(e))throw`Unsupported alpha value: ${e}. Update the color function in uiColors.ts to enable additional values.`;const[n,o,i]=t.replace(/[^\d,]/g,"").split(",");return`rgba(${n}, ${o}, ${i}, ${e})`},Mr=({usd:t,precision:e=2,autoPrecision:r})=>{const n=vr(t).value;return vr(t,{precision:r&&n>-1&&n<1&&0!==n?5:e}).value},kr="22rem",Er={dateOnly:"MM/DD/YY",dateWithTime:"MM/DD/YYYY h:mm A",shortDateWithTime:"MMM D, h:mm A",shortDateWithYear:"MMM D, YYYY"};rr.extend(ur);const Cr=({dateFormat:t=Er.dateOnly,timeString:e})=>rr.utc(e).local().format(t),{definePartsStyle:_r,defineMultiStyleConfig:Tr}=o(Ce.keys),Dr=Tr({baseStyle:_r({root:{display:"flex",flexDirection:"column",gap:2},container:{borderRadius:"lg",borderWidth:"1px",borderStyle:"solid",borderColor:"gray.300",bg:"gray.100",color:Pr.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:Pr.white(),fontSize:"md",_hover:{bg:Pr.lighthouse()}},panel:{borderTopWidth:"1px",borderTopStyle:"solid",borderTopColor:"gray.300",fontSize:"sm",bg:Pr.lighthouse(),py:"4",px:"4"}}),variants:{spacious:_r({container:{borderRadius:"lg"},button:{py:8,px:6,fontSize:"md"},panel:{fontSize:"sm",bg:Pr.lighthouse(),p:"8"}})}}),{definePartsStyle:Ir,defineMultiStyleConfig:Nr}=o(_e.keys),Lr=Nr({baseStyle:Ir((t=>{const{colorScheme:e,theme:r}=t,n=r.colors[e];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"}}),Br=i({borderColor:"red.700",color:"red.700",border:"solid 2px",":hover, :focus":{backgroundColor:"gray.200"},svg:{path:{fill:"red.700"}}}),Rr=i({":hover, :focus":{background:"brand.600"}}),$r={color:"brand.700 !important",bg:"brand.50 !important",opacity:"0.6 !important",filter:"grayscale() !important"},zr=i({background:"brand.50",color:"brand.500",svg:{path:{fill:"brand.500"}},":hover, :focus":{bg:"brand.100",color:"brand.600",svg:{path:{fill:"brand.600"}}},_disabled:{...$r},":hover[disabled], :focus[disabled]":{...$r},_active:{bg:"brand.100",color:"brand.600",svg:{path:{fill:"brand.600"}}}}),Hr=i({border:"solid 2px",borderColor:"brand.600",color:"brand.600",":hover, :focus":{backgroundColor:"brand.50"},svg:{path:{fill:"brand.600"}}}),Fr=i({boxShadow:"none",color:"brand.600",":hover, :focus":{backgroundColor:"brand.50"},svg:{path:{fill:"brand.600"}}}),Vr=a({baseStyle:{boxShadow:"0px 8px 16px 0px rgba(0,0,0,0.08)",svg:{width:"1em",height:"1em",path:{fill:"white"}}},sizes:{xs:i({lineHeight:1})},variants:{alert:Br,outline:Hr,ghost:Fr,secondary:zr,solid:Rr}}),{definePartsStyle:Ur,defineMultiStyleConfig:Wr}=o(Te.keys),qr=Wr({baseStyle:Ur({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"}}}}}),Yr=a({baseStyle:{helperText:{fontSize:"sm"}}}),Xr=a({sizes:{sm:{text:{fontSize:"xs"}},xs:{text:{fontSize:"xs"}}}}),Kr=a({baseStyle:{color:Pr.sonicSilver(),fontFamily:"heading",fontSize:"sm",_disabled:{opacity:1}},sizes:{sm:{fontSize:"sm"},xs:{fontSize:"xs"}}}),Gr=a({sizes:{xl:i({fontSize:"4xl"}),lg:i({fontSize:"3xl"}),md:i({fontSize:"2xl"}),sm:i({fontSize:"xl"}),xs:i({fontSize:"md"})}}),{definePartsStyle:Zr,defineMultiStyleConfig:Jr}=o(De.keys),Qr=Jr({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:Pr.sonicSilver()}},_groupFocus:{"svg:not(.asset-logo)":{path:{fill:Pr.black()}}},_groupDisabled:{"svg:not(.asset-logo)":{path:{fill:Pr.coolElegance()}}}},field:{border:"solid 1px",borderRadius:"lg",borderColor:Pr.coolElegance(),color:Pr.sonicSilver(),":focus":{color:Pr.black(),borderColor:Pr.black()},":hover:not([disabled])":{boxShadow:"0px 2px 8px 0px rgba(0, 0, 0, 0.08)"},_disabled:{color:Pr.sonicSilver(),opacity:1,bg:Pr.lighthouse(),":focus, :hover":{borderColor:Pr.coolElegance(),bg:Pr.lighthouse()}},_invalid:{":focus, :hover":{borderColor:"red.500"}}},addon:{bg:"white",border:"solid 1px",borderRadius:"lg",borderColor:Pr.coolElegance(),color:Pr.black(),":hover:not([disabled])":{boxShadow:"0px 2px 8px 0px rgba(0, 0, 0, 0.08)"},":focus":{borderColor:Pr.black()},_disabled:{color:Pr.sonicSilver(),opacity:1,bg:Pr.lighthouse(),":focus, :hover":{borderColor:Pr.coolElegance(),bg:Pr.lighthouse()}},_invalid:{":focus, :hover":{borderColor:"red.500"}}}}},defaultProps:{size:"lg",variant:"outline"}}),{definePartsStyle:tn,defineMultiStyleConfig:en}=o(Ie.keys),rn=en({baseStyle:tn({field:{_readOnly:{pointerEvents:"none"}}}),sizes:{lg:tn({field:{fontSize:"md"}})},variants:{outline:{field:{border:"solid 1px",borderColor:Pr.coolElegance(),borderRadius:"lg",color:Pr.sonicSilver(),pr:10,_focus:{color:Pr.black(),borderColor:Pr.black(),"+.chakra-select__icon-wrapper":{svg:{color:Pr.black(),path:{fill:Pr.black()}}}},":hover:not([disabled])":{boxShadow:"0px 2px 8px 0px rgba(0, 0, 0, 0.08)"},_disabled:{color:Pr.sonicSilver(),opacity:1,bg:Pr.lighthouse(),":focus, :hover":{borderColor:Pr.coolElegance(),bg:Pr.lighthouse()}},_invalid:{":focus, :hover":{borderColor:"red.500"}}},icon:{width:"1em",height:"1em",fontSize:"1em",mr:2,path:{fill:Pr.sonicSilver()},_disabled:{opacity:1,path:{fill:Pr.coolElegance()}}}}},defaultProps:{size:"lg",variant:"outline"}}),nn=a({variants:{simple:{th:{borderColor:Pr.coolElegance()},td:{borderColor:Pr.coolElegance()},tr:{_last:{td:{border:"none"}}}},grayHeader:{th:{background:Pr.lighthouse(),color:Pr.sonicSilver(),borderBottom:"1px solid",borderColor:Pr.coolElegance()},td:{borderBottom:"1px solid",borderColor:Pr.coolElegance()},tr:{_last:{td:{border:"none"}}}}}}),{definePartsStyle:on,defineMultiStyleConfig:an}=o(Ne.keys),cn=on({container:{color:"blackAlpha.900",fontWeight:"bold",borderRadius:"full",svg:{path:{fill:"blackAlpha.900"}}}}),un=on({container:{bg:"red.100",borderWidth:1,borderColor:"red.500"}}),ln=on({container:{bg:"yellow.100",borderColor:"yellow.500",borderWidth:1}});var sn=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:Dr,Alert:Lr,Button:Vr,Checkbox:qr,Input:Qr,Heading:Gr,Form:Yr,FormLabel:Kr,FormError:Xr,Select:rn,Table:nn,Tag:an({baseStyle:cn,defaultProps:{variant:"outline"},variants:{error:un,success:on({container:{bg:"green.100",borderColor:"green.500",borderWidth:1}}),warning:ln,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))"}}}},u({colorScheme:"brand"}));const fn={components:sn.components,styles:sn.styles},pn=t=>{const e=String(t).replace(/\D/g,"").match(/^(\d{3})(\d{3})(\d{4})$/);return e?`(${e[1]}) ${e[2]}-${e[3]}`:t};let dn,hn,yn=(t=21)=>{var e;e=t-=0,!dn||dn.length<e?(dn=Buffer.allocUnsafe(128*e),Z.randomFillSync(dn),hn=0):hn+e>dn.length&&(Z.randomFillSync(dn),hn=0),hn+=e;let r="";for(let e=hn-t;e<hn;e++)r+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[63&dn[e]];return r};function vn(t){var e,r,n="";if("string"==typeof t||"number"==typeof t)n+=t;else if("object"==typeof t)if(Array.isArray(t)){var o=t.length;for(e=0;e<o;e++)t[e]&&(r=vn(t[e]))&&(n&&(n+=" "),n+=r)}else for(r in t)t[r]&&(n&&(n+=" "),n+=r);return n}function mn(){for(var t,e,r=0,n="",o=arguments.length;r<o;r++)(t=arguments[r])&&(e=vn(t))&&(n&&(n+=" "),n+=e);return n}var gn,bn,wn,xn,On,Sn,jn,Pn,An,Mn,kn,En,Cn,_n,Tn,Dn,In,Nn,Ln,Bn,Rn,$n,zn,Hn,Fn,Vn,Un,Wn,qn,Yn,Xn,Kn,Gn,Zn,Jn,Qn,to,eo,ro,no,oo,io,ao,co,uo,lo,so,fo,po,ho,yo,vo,mo,go,bo,wo,xo,Oo,So,jo,Po,Ao,Mo,ko,Eo,Co,_o,To,Do,Io,No,Lo,Bo,Ro,$o,zo,Ho,Fo,Vo,Uo,Wo,qo,Yo,Xo,Ko,Go,Zo,Jo,Qo,ti,ei,ri,ni,oi,ii,ai,ci,ui,li,si,fi,pi,di,hi;function yi(){if(bn)return gn;bn=1;var t=Array.isArray;return gn=t}function vi(){if(xn)return wn;xn=1;var t="object"==typeof Ge&&Ge&&Ge.Object===Object&&Ge;return wn=t}function mi(){if(Sn)return On;Sn=1;var t=vi(),e="object"==typeof self&&self&&self.Object===Object&&self,r=t||e||Function("return this")();return On=r}function gi(){if(Pn)return jn;Pn=1;var t=mi().Symbol;return jn=t}function bi(){if(_n)return Cn;_n=1;var t=gi(),e=function(){if(Mn)return An;Mn=1;var t=gi(),e=Object.prototype,r=e.hasOwnProperty,n=e.toString,o=t?t.toStringTag:void 0;return An=function(t){var e=r.call(t,o),i=t[o];try{t[o]=void 0;var a=!0}catch(t){}var c=n.call(t);return a&&(e?t[o]=i:delete t[o]),c}}(),r=function(){if(En)return kn;En=1;var t=Object.prototype.toString;return kn=function(e){return t.call(e)}}(),n=t?t.toStringTag:void 0;return Cn=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":n&&n in Object(t)?e(t):r(t)}}function wi(){if(Dn)return Tn;return Dn=1,Tn=function(t){return null!=t&&"object"==typeof t}}function xi(){if(Nn)return In;Nn=1;var t=bi(),e=wi();return In=function(r){return"symbol"==typeof r||e(r)&&"[object Symbol]"==t(r)}}function Oi(){if(Bn)return Ln;Bn=1;var t=yi(),e=xi(),r=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,n=/^\w*$/;return Ln=function(o,i){if(t(o))return!1;var a=typeof o;return!("number"!=a&&"symbol"!=a&&"boolean"!=a&&null!=o&&!e(o))||(n.test(o)||!r.test(o)||null!=i&&o in Object(i))},Ln}function Si(){if($n)return Rn;return $n=1,Rn=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}}function ji(){if(Hn)return zn;Hn=1;var t=bi(),e=Si();return zn=function(r){if(!e(r))return!1;var n=t(r);return"[object Function]"==n||"[object GeneratorFunction]"==n||"[object AsyncFunction]"==n||"[object Proxy]"==n}}function Pi(){if(Wn)return Un;Wn=1;var t,e=function(){if(Vn)return Fn;Vn=1;var t=mi()["__core-js_shared__"];return Fn=t}(),r=(t=/[^.]+$/.exec(e&&e.keys&&e.keys.IE_PROTO||""))?"Symbol(src)_1."+t:"";return Un=function(t){return!!r&&r in t}}function Ai(){if(Yn)return qn;Yn=1;var t=Function.prototype.toString;return qn=function(e){if(null!=e){try{return t.call(e)}catch(t){}try{return e+""}catch(t){}}return""}}function Mi(){if(Qn)return Jn;Qn=1;var t=function(){if(Kn)return Xn;Kn=1;var t=ji(),e=Pi(),r=Si(),n=Ai(),o=/^\[object .+?Constructor\]$/,i=Function.prototype,a=Object.prototype,c=i.toString,u=a.hasOwnProperty,l=RegExp("^"+c.call(u).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");return Xn=function(i){return!(!r(i)||e(i))&&(t(i)?l:o).test(n(i))}}(),e=(Zn||(Zn=1,Gn=function(t,e){return null==t?void 0:t[e]}),Gn);return Jn=function(r,n){var o=e(r,n);return t(o)?o:void 0},Jn}function ki(){if(eo)return to;eo=1;var t=Mi()(Object,"create");return to=t}function Ei(){if(ho)return po;ho=1;var t=function(){if(no)return ro;no=1;var t=ki();return ro=function(){this.__data__=t?t(null):{},this.size=0}}(),e=io?oo:(io=1,oo=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}),r=function(){if(co)return ao;co=1;var t=ki(),e=Object.prototype.hasOwnProperty;return ao=function(r){var n=this.__data__;if(t){var o=n[r];return"__lodash_hash_undefined__"===o?void 0:o}return e.call(n,r)?n[r]:void 0}}(),n=function(){if(lo)return uo;lo=1;var t=ki(),e=Object.prototype.hasOwnProperty;return uo=function(r){var n=this.__data__;return t?void 0!==n[r]:e.call(n,r)}}(),o=function(){if(fo)return so;fo=1;var t=ki();return so=function(e,r){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=t&&void 0===r?"__lodash_hash_undefined__":r,this}}();function i(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}return i.prototype.clear=t,i.prototype.delete=e,i.prototype.get=r,i.prototype.has=n,i.prototype.set=o,po=i}function Ci(){if(go)return mo;return go=1,mo=function(t,e){return t===e||t!=t&&e!=e}}function _i(){if(wo)return bo;wo=1;var t=Ci();return bo=function(e,r){for(var n=e.length;n--;)if(t(e[n][0],r))return n;return-1},bo}function Ti(){if(Co)return Eo;Co=1;var t=vo?yo:(vo=1,yo=function(){this.__data__=[],this.size=0}),e=function(){if(Oo)return xo;Oo=1;var t=_i(),e=Array.prototype.splice;return xo=function(r){var n=this.__data__,o=t(n,r);return!(o<0||(o==n.length-1?n.pop():e.call(n,o,1),--this.size,0))}}(),r=function(){if(jo)return So;jo=1;var t=_i();return So=function(e){var r=this.__data__,n=t(r,e);return n<0?void 0:r[n][1]}}(),n=function(){if(Ao)return Po;Ao=1;var t=_i();return Po=function(e){return t(this.__data__,e)>-1}}(),o=function(){if(ko)return Mo;ko=1;var t=_i();return Mo=function(e,r){var n=this.__data__,o=t(n,e);return o<0?(++this.size,n.push([e,r])):n[o][1]=r,this}}();function i(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}return i.prototype.clear=t,i.prototype.delete=e,i.prototype.get=r,i.prototype.has=n,i.prototype.set=o,Eo=i}function Di(){if(To)return _o;To=1;var t=Mi()(mi(),"Map");return _o=t}function Ii(){if(Ro)return Bo;Ro=1;var t=Lo?No:(Lo=1,No=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t});return Bo=function(e,r){var n=e.__data__;return t(r)?n["string"==typeof r?"string":"hash"]:n.map},Bo}function Ni(){if(Xo)return Yo;Xo=1;var t=function(){if(Io)return Do;Io=1;var t=Ei(),e=Ti(),r=Di();return Do=function(){this.size=0,this.__data__={hash:new t,map:new(r||e),string:new t}}}(),e=function(){if(zo)return $o;zo=1;var t=Ii();return $o=function(e){var r=t(this,e).delete(e);return this.size-=r?1:0,r}}(),r=function(){if(Fo)return Ho;Fo=1;var t=Ii();return Ho=function(e){return t(this,e).get(e)}}(),n=function(){if(Uo)return Vo;Uo=1;var t=Ii();return Vo=function(e){return t(this,e).has(e)}}(),o=function(){if(qo)return Wo;qo=1;var t=Ii();return Wo=function(e,r){var n=t(this,e),o=n.size;return n.set(e,r),this.size+=n.size==o?0:1,this}}();function i(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}return i.prototype.clear=t,i.prototype.delete=e,i.prototype.get=r,i.prototype.has=n,i.prototype.set=o,Yo=i}function Li(){if(Go)return Ko;Go=1;var t=Ni();function e(r,n){if("function"!=typeof r||null!=n&&"function"!=typeof n)throw new TypeError("Expected a function");var o=function(){var t=arguments,e=n?n.apply(this,t):t[0],i=o.cache;if(i.has(e))return i.get(e);var a=r.apply(this,t);return o.cache=i.set(e,a)||i,a};return o.cache=new(e.Cache||t),o}return e.Cache=t,Ko=e}function Bi(){if(ti)return Qo;ti=1;var t=function(){if(Jo)return Zo;Jo=1;var t=Li();return Zo=function(e){var r=t(e,(function(t){return 500===n.size&&n.clear(),t})),n=r.cache;return r}}(),e=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,r=/\\(\\)?/g,n=t((function(t){var n=[];return 46===t.charCodeAt(0)&&n.push(""),t.replace(e,(function(t,e,o,i){n.push(o?i.replace(r,"$1"):e||t)})),n}));return Qo=n}function Ri(){if(ri)return ei;return ri=1,ei=function(t,e){for(var r=-1,n=null==t?0:t.length,o=Array(n);++r<n;)o[r]=e(t[r],r,t);return o},ei}function $i(){if(ai)return ii;ai=1;var t=function(){if(oi)return ni;oi=1;var t=gi(),e=Ri(),r=yi(),n=xi(),o=t?t.prototype:void 0,i=o?o.toString:void 0;return ni=function t(o){if("string"==typeof o)return o;if(r(o))return e(o,t)+"";if(n(o))return i?i.call(o):"";var a=o+"";return"0"==a&&1/o==-1/0?"-0":a},ni}();return ii=function(e){return null==e?"":t(e)}}function zi(){if(ui)return ci;ui=1;var t=yi(),e=Oi(),r=Bi(),n=$i();return ci=function(o,i){return t(o)?o:e(o,i)?[o]:r(n(o))},ci}function Hi(){if(si)return li;si=1;var t=xi();return li=function(e){if("string"==typeof e||t(e))return e;var r=e+"";return"0"==r&&1/e==-1/0?"-0":r}}function Fi(){if(pi)return fi;pi=1;var t=zi(),e=Hi();return fi=function(r,n){for(var o=0,i=(n=t(n,r)).length;null!=r&&o<i;)r=r[e(n[o++])];return o&&o==i?r:void 0},fi}function Vi(){if(hi)return di;hi=1;var t=Fi();return di=function(e,r,n){var o=null==e?void 0:t(e,r);return void 0===o?n:o},di}var Ui,Wi,qi=Ze(Vi());var Yi,Xi,Ki=Ze(Wi?Ui:(Wi=1,Ui=function(t){return null==t}));var Gi,Zi=function(){if(Xi)return Yi;Xi=1;var t=bi(),e=yi(),r=wi();return Yi=function(n){return"string"==typeof n||!e(n)&&r(n)&&"[object String]"==t(n)}}(),Ji=Ze(Zi),Qi=Ze(ji()),ta=Ze(Si()),ea={exports:{}},ra={};var na,oa,ia={};
9
+ var pr={symbol:"$",separator:",",decimal:".",errorOnInvalid:!1,precision:2,pattern:"!#",negativePattern:"-!#",format:function(t,e){var r=e.pattern,n=e.negativePattern,o=e.symbol,i=e.separator,a=e.decimal,c=e.groups,u=(""+t).replace(/^-/,"").split("."),l=u[0],s=u[1];return(t.value>=0?r:n).replace("!",o).replace("#",l.replace(c,"$1"+i)+(s?a+s:""))},fromCents:!1},dr=function(t){return Math.round(t)},hr=function(t){return Math.pow(10,t)},yr=/(\d)(?=(\d{3})+\b)/g,vr=/(\d)(?=(\d\d)+\d\b)/g;function mr(t,e){var r=this;if(!(r instanceof mr))return new mr(t,e);var n=Object.assign({},pr,e),o=hr(n.precision),i=gr(t,n);r.intValue=i,r.value=i/o,n.increment=n.increment||1/o,n.useVedic?n.groups=vr:n.groups=yr,this.s=n,this.p=o}function gr(t,e){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],n=0,o=e.decimal,i=e.errorOnInvalid,a=e.precision,c=e.fromCents,u=hr(a),l="number"==typeof t,s=t instanceof mr;if(s&&c)return t.intValue;if(l||s)n=s?t.value:t;else if("string"==typeof t){var f=new RegExp("[^-\\d"+o+"]","g"),p=new RegExp("\\"+o,"g");n=(n=t.replace(/\((.*)\)/,"-$1").replace(f,"").replace(p,"."))||0}else{if(i)throw Error("Invalid Input");n=0}return c||(n=(n*=u).toFixed(4)),r?dr(n):n}mr.prototype={add:function(t){var e=this.intValue,r=this.s,n=this.p;return mr((e+=gr(t,r))/(r.fromCents?1:n),r)},subtract:function(t){var e=this.intValue,r=this.s,n=this.p;return mr((e-=gr(t,r))/(r.fromCents?1:n),r)},multiply:function(t){var e=this.intValue,r=this.s;return mr((e*=t)/(r.fromCents?1:hr(r.precision)),r)},divide:function(t){var e=this.intValue,r=this.s;return mr(e/=gr(t,r,!1),r)},distribute:function(t){for(var e=this.intValue,r=this.p,n=this.s,o=[],i=Math[e>=0?"floor":"ceil"](e/t),a=Math.abs(e-i*t),c=n.fromCents?1:r;0!==t;t--){var u=mr(i/c,n);a-- >0&&(u=u[e>=0?"add":"subtract"](1/c)),o.push(u)}return o},dollars:function(){return~~this.value},cents:function(){return~~(this.intValue%this.p)},format:function(t){var e=this.s;return"function"==typeof t?t(this,e):e.format(this,Object.assign({},e,t))},toString:function(){var t,e,r=this.intValue,n=this.p,o=this.s;return(t=r/n,e=o.increment,dr(t/e)*e).toFixed(o.precision)},toJSON:function(){return this.value}};const br=({amount:t,autoPrecision:e,precision:r=2,signDisplay:n=!1})=>{const o=Number(t);if(!Number.isFinite(o))return console.log(`Amount is not a finite number. (amount: ${o}, method: formatUsd)`),t;const i=mr(o,{precision:e&&o>-1&&o<1&&0!==o?5:r}).format();return n&&o>0?`+${i}`:i},wr=({data:t,dataKey:e})=>{const r=t?.length?Number(t[0][e]):0,n=t?.length?Number(t[t.length-1][e]):0;if(!t?.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 o=new Ke(r),i=new Ke(n),a=i.minus(o);return{startingAmount:r,endingAmount:n,delta:a.toNumber(),percentChange:0===o.toNumber()?0:a.div(o).mul(100).toNumber(),isNetGain:i.gt(o)}},xr=t=>{let e;return["sm","xs"].includes(t)&&(e="xs"),e},Or=()=>{try{return window.self!==window.top}catch(t){return!0}},Sr=t=>Array.from(t).reverse(),jr=({arr:t,n:e})=>{const r=Sr(t);return Sr(r.filter(((t,r)=>r%e==0)))},Pr=t=>t.replace(/([a-z])([A-Z])/g,"$1 $2").replace(/([A-Z])([A-Z][a-z])/g,"$1 $2").trim(),Ar={redRemains:(t=1)=>Mr({rgb:"rgb(255, 223, 223)",alpha:t}),heroicRed:(t=1)=>Mr({rgb:"rgb(210, 25, 25)",alpha:t}),aijiroWhite:(t=1)=>Mr({rgb:"rgb(238, 248, 247)",alpha:t}),mint:(t=1)=>Mr({rgb:"rgb(64, 178, 136)",alpha:t}),white:(t=1)=>Mr({rgb:"rgb(255, 255, 255)",alpha:t,enabledAlphaValues:[.2]}),lighthouse:(t=1)=>Mr({rgb:"rgb(244, 244, 244)",alpha:t}),coolElegance:(t=1)=>Mr({rgb:"rgb(205, 207, 209)",alpha:t}),sonicSilver:(t=1)=>Mr({rgb:"rgb(117, 117, 117)",alpha:t}),black:(t=1)=>Mr({rgb:"rgb(0, 0, 0)",alpha:t,enabledAlphaValues:[.08]})},Mr=({rgb:t,alpha:e,enabledAlphaValues:r=[1]})=>{if(![...r,1].includes(e))throw`Unsupported alpha value: ${e}. Update the color function in uiColors.ts to enable additional values.`;const[n,o,i]=t.replace(/[^\d,]/g,"").split(",");return`rgba(${n}, ${o}, ${i}, ${e})`},kr=({usd:t,precision:e=2,autoPrecision:r})=>{const n=mr(t).value;return mr(t,{precision:r&&n>-1&&n<1&&0!==n?5:e}).value},Er="22rem",Cr={dateOnly:"MM/DD/YY",dateWithTime:"MM/DD/YYYY h:mm A",shortDateWithTime:"MMM D, h:mm A",shortDateWithYear:"MMM D, YYYY"};nr.extend(lr);const _r=({dateFormat:t=Cr.dateOnly,timeString:e})=>nr.utc(e).local().format(t),{definePartsStyle:Tr,defineMultiStyleConfig:Dr}=o(_e.keys),Ir=Dr({baseStyle:Tr({root:{display:"flex",flexDirection:"column",gap:2},container:{borderRadius:"lg",borderWidth:"1px",borderStyle:"solid",borderColor:"gray.300",bg:"gray.100",color:Ar.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:Ar.white(),fontSize:"md",_hover:{bg:Ar.lighthouse()}},panel:{borderTopWidth:"1px",borderTopStyle:"solid",borderTopColor:"gray.300",fontSize:"sm",bg:Ar.lighthouse(),py:"4",px:"4"}}),variants:{spacious:Tr({container:{borderRadius:"lg"},button:{py:8,px:6,fontSize:"md"},panel:{fontSize:"sm",bg:Ar.lighthouse(),p:"8"}})}}),{definePartsStyle:Nr,defineMultiStyleConfig:Lr}=o(Te.keys),Br=Lr({baseStyle:Nr((t=>{const{colorScheme:e,theme:r}=t,n=r.colors[e];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"}}),Rr=i({borderColor:"red.700",color:"red.700",border:"solid 2px",":hover, :focus":{backgroundColor:"gray.200"},svg:{path:{fill:"red.700"}}}),$r=i({":hover, :focus":{background:"brand.600"}}),zr={color:"brand.700 !important",bg:"brand.50 !important",opacity:"0.6 !important",filter:"grayscale() !important"},Hr=i({background:"brand.50",color:"brand.500",svg:{path:{fill:"brand.500"}},":hover, :focus":{bg:"brand.100",color:"brand.600",svg:{path:{fill:"brand.600"}}},_disabled:{...zr},":hover[disabled], :focus[disabled]":{...zr},_active:{bg:"brand.100",color:"brand.600",svg:{path:{fill:"brand.600"}}}}),Fr=i({border:"solid 2px",borderColor:"brand.600",color:"brand.600",":hover, :focus":{backgroundColor:"brand.50"},svg:{path:{fill:"brand.600"}}}),Vr=i({boxShadow:"none",color:"brand.600",":hover, :focus":{backgroundColor:"brand.50"},svg:{path:{fill:"brand.600"}}}),Ur=a({baseStyle:{boxShadow:"0px 8px 16px 0px rgba(0,0,0,0.08)",svg:{width:"1em",height:"1em",path:{fill:"white"}}},sizes:{xs:i({lineHeight:1})},variants:{alert:Rr,outline:Fr,ghost:Vr,secondary:Hr,solid:$r}}),{definePartsStyle:Wr,defineMultiStyleConfig:qr}=o(De.keys),Yr=qr({baseStyle:Wr({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"}}}}}),Xr=a({baseStyle:{helperText:{fontSize:"sm"}}}),Kr=a({sizes:{sm:{text:{fontSize:"xs"}},xs:{text:{fontSize:"xs"}}}}),Gr=a({baseStyle:{color:Ar.sonicSilver(),fontFamily:"heading",fontSize:"sm",_disabled:{opacity:1}},sizes:{sm:{fontSize:"sm"},xs:{fontSize:"xs"}}}),Zr=a({sizes:{xl:i({fontSize:"4xl"}),lg:i({fontSize:"3xl"}),md:i({fontSize:"2xl"}),sm:i({fontSize:"xl"}),xs:i({fontSize:"md"})}}),{definePartsStyle:Jr,defineMultiStyleConfig:Qr}=o(Ie.keys),tn=Qr({baseStyle:Jr({group:{"svg:not(.asset-logo)":{width:"1em",height:"1em"}},field:{_readOnly:{pointerEvents:"none"}}}),sizes:{lg:Jr({field:{fontSize:"md"}})},variants:{outline:{group:{"svg:not(.asset-logo)":{path:{fill:Ar.sonicSilver()}},_groupFocus:{"svg:not(.asset-logo)":{path:{fill:Ar.black()}}},_groupDisabled:{"svg:not(.asset-logo)":{path:{fill:Ar.coolElegance()}}}},field:{border:"solid 1px",borderRadius:"lg",borderColor:Ar.coolElegance(),color:Ar.sonicSilver(),":focus":{color:Ar.black(),borderColor:Ar.black()},":hover:not([disabled])":{boxShadow:"0px 2px 8px 0px rgba(0, 0, 0, 0.08)"},_disabled:{color:Ar.sonicSilver(),opacity:1,bg:Ar.lighthouse(),":focus, :hover":{borderColor:Ar.coolElegance(),bg:Ar.lighthouse()}},_invalid:{":focus, :hover":{borderColor:"red.500"}}},addon:{bg:"white",border:"solid 1px",borderRadius:"lg",borderColor:Ar.coolElegance(),color:Ar.black(),":hover:not([disabled])":{boxShadow:"0px 2px 8px 0px rgba(0, 0, 0, 0.08)"},":focus":{borderColor:Ar.black()},_disabled:{color:Ar.sonicSilver(),opacity:1,bg:Ar.lighthouse(),":focus, :hover":{borderColor:Ar.coolElegance(),bg:Ar.lighthouse()}},_invalid:{":focus, :hover":{borderColor:"red.500"}}}}},defaultProps:{size:"lg",variant:"outline"}}),{definePartsStyle:en,defineMultiStyleConfig:rn}=o(Ne.keys),nn=rn({baseStyle:en({field:{_readOnly:{pointerEvents:"none"}}}),sizes:{lg:en({field:{fontSize:"md"}})},variants:{outline:{field:{border:"solid 1px",borderColor:Ar.coolElegance(),borderRadius:"lg",color:Ar.sonicSilver(),pr:10,_focus:{color:Ar.black(),borderColor:Ar.black(),"+.chakra-select__icon-wrapper":{svg:{color:Ar.black(),path:{fill:Ar.black()}}}},":hover:not([disabled])":{boxShadow:"0px 2px 8px 0px rgba(0, 0, 0, 0.08)"},_disabled:{color:Ar.sonicSilver(),opacity:1,bg:Ar.lighthouse(),":focus, :hover":{borderColor:Ar.coolElegance(),bg:Ar.lighthouse()}},_invalid:{":focus, :hover":{borderColor:"red.500"}}},icon:{width:"1em",height:"1em",fontSize:"1em",mr:2,path:{fill:Ar.sonicSilver()},_disabled:{opacity:1,path:{fill:Ar.coolElegance()}}}}},defaultProps:{size:"lg",variant:"outline"}}),on=a({variants:{simple:{th:{borderColor:Ar.coolElegance()},td:{borderColor:Ar.coolElegance()},tr:{_last:{td:{border:"none"}}}},grayHeader:{th:{background:Ar.lighthouse(),color:Ar.sonicSilver(),borderBottom:"1px solid",borderColor:Ar.coolElegance()},td:{borderBottom:"1px solid",borderColor:Ar.coolElegance()},tr:{_last:{td:{border:"none"}}}}}}),{definePartsStyle:an,defineMultiStyleConfig:cn}=o(Le.keys),un=an({container:{color:"blackAlpha.900",fontWeight:"bold",borderRadius:"full",svg:{path:{fill:"blackAlpha.900"}}}}),ln=an({container:{bg:"red.100",borderWidth:1,borderColor:"red.500"}}),sn=an({container:{bg:"yellow.100",borderColor:"yellow.500",borderWidth:1}});var fn=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:Ir,Alert:Br,Button:Ur,Checkbox:Yr,Input:tn,Heading:Zr,Form:Xr,FormLabel:Gr,FormError:Kr,Select:nn,Table:on,Tag:cn({baseStyle:un,defaultProps:{variant:"outline"},variants:{error:ln,success:an({container:{bg:"green.100",borderColor:"green.500",borderWidth:1}}),warning:sn,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))"}}}},u({colorScheme:"brand"}));const pn={components:fn.components,styles:fn.styles},dn=t=>{const e=String(t).replace(/\D/g,"").match(/^(\d{3})(\d{3})(\d{4})$/);return e?`(${e[1]}) ${e[2]}-${e[3]}`:t};let hn,yn,vn=(t=21)=>{var e;e=t-=0,!hn||hn.length<e?(hn=Buffer.allocUnsafe(128*e),Z.randomFillSync(hn),yn=0):yn+e>hn.length&&(Z.randomFillSync(hn),yn=0),yn+=e;let r="";for(let e=yn-t;e<yn;e++)r+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[63&hn[e]];return r};function mn(t){var e,r,n="";if("string"==typeof t||"number"==typeof t)n+=t;else if("object"==typeof t)if(Array.isArray(t)){var o=t.length;for(e=0;e<o;e++)t[e]&&(r=mn(t[e]))&&(n&&(n+=" "),n+=r)}else for(r in t)t[r]&&(n&&(n+=" "),n+=r);return n}function gn(){for(var t,e,r=0,n="",o=arguments.length;r<o;r++)(t=arguments[r])&&(e=mn(t))&&(n&&(n+=" "),n+=e);return n}var bn,wn,xn,On,Sn,jn,Pn,An,Mn,kn,En,Cn,_n,Tn,Dn,In,Nn,Ln,Bn,Rn,$n,zn,Hn,Fn,Vn,Un,Wn,qn,Yn,Xn,Kn,Gn,Zn,Jn,Qn,to,eo,ro,no,oo,io,ao,co,uo,lo,so,fo,po,ho,yo,vo,mo,go,bo,wo,xo,Oo,So,jo,Po,Ao,Mo,ko,Eo,Co,_o,To,Do,Io,No,Lo,Bo,Ro,$o,zo,Ho,Fo,Vo,Uo,Wo,qo,Yo,Xo,Ko,Go,Zo,Jo,Qo,ti,ei,ri,ni,oi,ii,ai,ci,ui,li,si,fi,pi,di,hi,yi;function vi(){if(wn)return bn;wn=1;var t=Array.isArray;return bn=t}function mi(){if(On)return xn;On=1;var t="object"==typeof Ze&&Ze&&Ze.Object===Object&&Ze;return xn=t}function gi(){if(jn)return Sn;jn=1;var t=mi(),e="object"==typeof self&&self&&self.Object===Object&&self,r=t||e||Function("return this")();return Sn=r}function bi(){if(An)return Pn;An=1;var t=gi().Symbol;return Pn=t}function wi(){if(Tn)return _n;Tn=1;var t=bi(),e=function(){if(kn)return Mn;kn=1;var t=bi(),e=Object.prototype,r=e.hasOwnProperty,n=e.toString,o=t?t.toStringTag:void 0;return Mn=function(t){var e=r.call(t,o),i=t[o];try{t[o]=void 0;var a=!0}catch(t){}var c=n.call(t);return a&&(e?t[o]=i:delete t[o]),c}}(),r=function(){if(Cn)return En;Cn=1;var t=Object.prototype.toString;return En=function(e){return t.call(e)}}(),n=t?t.toStringTag:void 0;return _n=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":n&&n in Object(t)?e(t):r(t)}}function xi(){if(In)return Dn;return In=1,Dn=function(t){return null!=t&&"object"==typeof t}}function Oi(){if(Ln)return Nn;Ln=1;var t=wi(),e=xi();return Nn=function(r){return"symbol"==typeof r||e(r)&&"[object Symbol]"==t(r)}}function Si(){if(Rn)return Bn;Rn=1;var t=vi(),e=Oi(),r=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,n=/^\w*$/;return Bn=function(o,i){if(t(o))return!1;var a=typeof o;return!("number"!=a&&"symbol"!=a&&"boolean"!=a&&null!=o&&!e(o))||(n.test(o)||!r.test(o)||null!=i&&o in Object(i))},Bn}function ji(){if(zn)return $n;return zn=1,$n=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}}function Pi(){if(Fn)return Hn;Fn=1;var t=wi(),e=ji();return Hn=function(r){if(!e(r))return!1;var n=t(r);return"[object Function]"==n||"[object GeneratorFunction]"==n||"[object AsyncFunction]"==n||"[object Proxy]"==n}}function Ai(){if(qn)return Wn;qn=1;var t,e=function(){if(Un)return Vn;Un=1;var t=gi()["__core-js_shared__"];return Vn=t}(),r=(t=/[^.]+$/.exec(e&&e.keys&&e.keys.IE_PROTO||""))?"Symbol(src)_1."+t:"";return Wn=function(t){return!!r&&r in t}}function Mi(){if(Xn)return Yn;Xn=1;var t=Function.prototype.toString;return Yn=function(e){if(null!=e){try{return t.call(e)}catch(t){}try{return e+""}catch(t){}}return""}}function ki(){if(to)return Qn;to=1;var t=function(){if(Gn)return Kn;Gn=1;var t=Pi(),e=Ai(),r=ji(),n=Mi(),o=/^\[object .+?Constructor\]$/,i=Function.prototype,a=Object.prototype,c=i.toString,u=a.hasOwnProperty,l=RegExp("^"+c.call(u).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");return Kn=function(i){return!(!r(i)||e(i))&&(t(i)?l:o).test(n(i))}}(),e=(Jn||(Jn=1,Zn=function(t,e){return null==t?void 0:t[e]}),Zn);return Qn=function(r,n){var o=e(r,n);return t(o)?o:void 0},Qn}function Ei(){if(ro)return eo;ro=1;var t=ki()(Object,"create");return eo=t}function Ci(){if(yo)return ho;yo=1;var t=function(){if(oo)return no;oo=1;var t=Ei();return no=function(){this.__data__=t?t(null):{},this.size=0}}(),e=ao?io:(ao=1,io=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}),r=function(){if(uo)return co;uo=1;var t=Ei(),e=Object.prototype.hasOwnProperty;return co=function(r){var n=this.__data__;if(t){var o=n[r];return"__lodash_hash_undefined__"===o?void 0:o}return e.call(n,r)?n[r]:void 0}}(),n=function(){if(so)return lo;so=1;var t=Ei(),e=Object.prototype.hasOwnProperty;return lo=function(r){var n=this.__data__;return t?void 0!==n[r]:e.call(n,r)}}(),o=function(){if(po)return fo;po=1;var t=Ei();return fo=function(e,r){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=t&&void 0===r?"__lodash_hash_undefined__":r,this}}();function i(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}return i.prototype.clear=t,i.prototype.delete=e,i.prototype.get=r,i.prototype.has=n,i.prototype.set=o,ho=i}function _i(){if(bo)return go;return bo=1,go=function(t,e){return t===e||t!=t&&e!=e}}function Ti(){if(xo)return wo;xo=1;var t=_i();return wo=function(e,r){for(var n=e.length;n--;)if(t(e[n][0],r))return n;return-1},wo}function Di(){if(_o)return Co;_o=1;var t=mo?vo:(mo=1,vo=function(){this.__data__=[],this.size=0}),e=function(){if(So)return Oo;So=1;var t=Ti(),e=Array.prototype.splice;return Oo=function(r){var n=this.__data__,o=t(n,r);return!(o<0||(o==n.length-1?n.pop():e.call(n,o,1),--this.size,0))}}(),r=function(){if(Po)return jo;Po=1;var t=Ti();return jo=function(e){var r=this.__data__,n=t(r,e);return n<0?void 0:r[n][1]}}(),n=function(){if(Mo)return Ao;Mo=1;var t=Ti();return Ao=function(e){return t(this.__data__,e)>-1}}(),o=function(){if(Eo)return ko;Eo=1;var t=Ti();return ko=function(e,r){var n=this.__data__,o=t(n,e);return o<0?(++this.size,n.push([e,r])):n[o][1]=r,this}}();function i(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}return i.prototype.clear=t,i.prototype.delete=e,i.prototype.get=r,i.prototype.has=n,i.prototype.set=o,Co=i}function Ii(){if(Do)return To;Do=1;var t=ki()(gi(),"Map");return To=t}function Ni(){if($o)return Ro;$o=1;var t=Bo?Lo:(Bo=1,Lo=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t});return Ro=function(e,r){var n=e.__data__;return t(r)?n["string"==typeof r?"string":"hash"]:n.map},Ro}function Li(){if(Ko)return Xo;Ko=1;var t=function(){if(No)return Io;No=1;var t=Ci(),e=Di(),r=Ii();return Io=function(){this.size=0,this.__data__={hash:new t,map:new(r||e),string:new t}}}(),e=function(){if(Ho)return zo;Ho=1;var t=Ni();return zo=function(e){var r=t(this,e).delete(e);return this.size-=r?1:0,r}}(),r=function(){if(Vo)return Fo;Vo=1;var t=Ni();return Fo=function(e){return t(this,e).get(e)}}(),n=function(){if(Wo)return Uo;Wo=1;var t=Ni();return Uo=function(e){return t(this,e).has(e)}}(),o=function(){if(Yo)return qo;Yo=1;var t=Ni();return qo=function(e,r){var n=t(this,e),o=n.size;return n.set(e,r),this.size+=n.size==o?0:1,this}}();function i(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}return i.prototype.clear=t,i.prototype.delete=e,i.prototype.get=r,i.prototype.has=n,i.prototype.set=o,Xo=i}function Bi(){if(Zo)return Go;Zo=1;var t=Li();function e(r,n){if("function"!=typeof r||null!=n&&"function"!=typeof n)throw new TypeError("Expected a function");var o=function(){var t=arguments,e=n?n.apply(this,t):t[0],i=o.cache;if(i.has(e))return i.get(e);var a=r.apply(this,t);return o.cache=i.set(e,a)||i,a};return o.cache=new(e.Cache||t),o}return e.Cache=t,Go=e}function Ri(){if(ei)return ti;ei=1;var t=function(){if(Qo)return Jo;Qo=1;var t=Bi();return Jo=function(e){var r=t(e,(function(t){return 500===n.size&&n.clear(),t})),n=r.cache;return r}}(),e=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,r=/\\(\\)?/g,n=t((function(t){var n=[];return 46===t.charCodeAt(0)&&n.push(""),t.replace(e,(function(t,e,o,i){n.push(o?i.replace(r,"$1"):e||t)})),n}));return ti=n}function $i(){if(ni)return ri;return ni=1,ri=function(t,e){for(var r=-1,n=null==t?0:t.length,o=Array(n);++r<n;)o[r]=e(t[r],r,t);return o},ri}function zi(){if(ci)return ai;ci=1;var t=function(){if(ii)return oi;ii=1;var t=bi(),e=$i(),r=vi(),n=Oi(),o=t?t.prototype:void 0,i=o?o.toString:void 0;return oi=function t(o){if("string"==typeof o)return o;if(r(o))return e(o,t)+"";if(n(o))return i?i.call(o):"";var a=o+"";return"0"==a&&1/o==-1/0?"-0":a},oi}();return ai=function(e){return null==e?"":t(e)}}function Hi(){if(li)return ui;li=1;var t=vi(),e=Si(),r=Ri(),n=zi();return ui=function(o,i){return t(o)?o:e(o,i)?[o]:r(n(o))},ui}function Fi(){if(fi)return si;fi=1;var t=Oi();return si=function(e){if("string"==typeof e||t(e))return e;var r=e+"";return"0"==r&&1/e==-1/0?"-0":r}}function Vi(){if(di)return pi;di=1;var t=Hi(),e=Fi();return pi=function(r,n){for(var o=0,i=(n=t(n,r)).length;null!=r&&o<i;)r=r[e(n[o++])];return o&&o==i?r:void 0},pi}function Ui(){if(yi)return hi;yi=1;var t=Vi();return hi=function(e,r,n){var o=null==e?void 0:t(e,r);return void 0===o?n:o},hi}var Wi,qi,Yi=Je(Ui());var Xi,Ki,Gi=Je(qi?Wi:(qi=1,Wi=function(t){return null==t}));var Zi,Ji=function(){if(Ki)return Xi;Ki=1;var t=wi(),e=vi(),r=xi();return Xi=function(n){return"string"==typeof n||!e(n)&&r(n)&&"[object String]"==t(n)}}(),Qi=Je(Ji),ta=Je(Pi()),ea=Je(ji()),ra={exports:{}},na={};var oa,ia,aa={};
10
10
  /**
11
11
  * @license React
12
12
  * react-is.development.js
@@ -15,7 +15,7 @@ var fr={symbol:"$",separator:",",decimal:".",errorOnInvalid:!1,precision:2,patte
15
15
  *
16
16
  * This source code is licensed under the MIT license found in the
17
17
  * LICENSE file in the root directory of this source tree.
18
- */var aa,ca,ua,la,sa=(oa||(oa=1,"production"===process.env.NODE_ENV?ea.exports=function(){if(Gi)return ra;Gi=1;var t,e=Symbol.for("react.element"),r=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),c=Symbol.for("react.context"),u=Symbol.for("react.server_context"),l=Symbol.for("react.forward_ref"),s=Symbol.for("react.suspense"),f=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),h=Symbol.for("react.offscreen");function y(t){if("object"==typeof t&&null!==t){var h=t.$$typeof;switch(h){case e:switch(t=t.type){case n:case i:case o:case s:case f:return t;default:switch(t=t&&t.$$typeof){case u:case c:case l:case d:case p:case a:return t;default:return h}}case r:return h}}}return t=Symbol.for("react.module.reference"),ra.ContextConsumer=c,ra.ContextProvider=a,ra.Element=e,ra.ForwardRef=l,ra.Fragment=n,ra.Lazy=d,ra.Memo=p,ra.Portal=r,ra.Profiler=i,ra.StrictMode=o,ra.Suspense=s,ra.SuspenseList=f,ra.isAsyncMode=function(){return!1},ra.isConcurrentMode=function(){return!1},ra.isContextConsumer=function(t){return y(t)===c},ra.isContextProvider=function(t){return y(t)===a},ra.isElement=function(t){return"object"==typeof t&&null!==t&&t.$$typeof===e},ra.isForwardRef=function(t){return y(t)===l},ra.isFragment=function(t){return y(t)===n},ra.isLazy=function(t){return y(t)===d},ra.isMemo=function(t){return y(t)===p},ra.isPortal=function(t){return y(t)===r},ra.isProfiler=function(t){return y(t)===i},ra.isStrictMode=function(t){return y(t)===o},ra.isSuspense=function(t){return y(t)===s},ra.isSuspenseList=function(t){return y(t)===f},ra.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===n||e===i||e===o||e===s||e===f||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===d||e.$$typeof===p||e.$$typeof===a||e.$$typeof===c||e.$$typeof===l||e.$$typeof===t||void 0!==e.getModuleId)},ra.typeOf=y,ra}():ea.exports=(na||(na=1,"production"!==process.env.NODE_ENV&&function(){var t,e=Symbol.for("react.element"),r=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),c=Symbol.for("react.context"),u=Symbol.for("react.server_context"),l=Symbol.for("react.forward_ref"),s=Symbol.for("react.suspense"),f=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),h=Symbol.for("react.offscreen");function y(t){if("object"==typeof t&&null!==t){var h=t.$$typeof;switch(h){case e:var y=t.type;switch(y){case n:case i:case o:case s:case f:return y;default:var v=y&&y.$$typeof;switch(v){case u:case c:case l:case d:case p:case a:return v;default:return h}}case r:return h}}}t=Symbol.for("react.module.reference");var v=c,m=a,g=e,b=l,w=n,x=d,O=p,S=r,j=i,P=o,A=s,M=f,k=!1,E=!1;ia.ContextConsumer=v,ia.ContextProvider=m,ia.Element=g,ia.ForwardRef=b,ia.Fragment=w,ia.Lazy=x,ia.Memo=O,ia.Portal=S,ia.Profiler=j,ia.StrictMode=P,ia.Suspense=A,ia.SuspenseList=M,ia.isAsyncMode=function(t){return k||(k=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1},ia.isConcurrentMode=function(t){return E||(E=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1},ia.isContextConsumer=function(t){return y(t)===c},ia.isContextProvider=function(t){return y(t)===a},ia.isElement=function(t){return"object"==typeof t&&null!==t&&t.$$typeof===e},ia.isForwardRef=function(t){return y(t)===l},ia.isFragment=function(t){return y(t)===n},ia.isLazy=function(t){return y(t)===d},ia.isMemo=function(t){return y(t)===p},ia.isPortal=function(t){return y(t)===r},ia.isProfiler=function(t){return y(t)===i},ia.isStrictMode=function(t){return y(t)===o},ia.isSuspense=function(t){return y(t)===s},ia.isSuspenseList=function(t){return y(t)===f},ia.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===n||e===i||e===o||e===s||e===f||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===d||e.$$typeof===p||e.$$typeof===a||e.$$typeof===c||e.$$typeof===l||e.$$typeof===t||void 0!==e.getModuleId)},ia.typeOf=y}()),ia)),ea.exports);function fa(){if(ca)return aa;ca=1;var t=bi(),e=wi();return aa=function(r){return"number"==typeof r||e(r)&&"[object Number]"==t(r)}}var pa=function(){if(la)return ua;la=1;var t=fa();return ua=function(e){return t(e)&&e!=+e}}(),da=Ze(pa),ha=Ze(fa()),ya=function(t){return 0===t?0:t>0?1:-1},va=function(t){return Ji(t)&&t.indexOf("%")===t.length-1},ma=function(t){return ha(t)&&!da(t)},ga=function(t){return ma(t)||Ji(t)},ba=0,wa=function(t){var e=++ba;return"".concat(t||"").concat(e)},xa=function(t,e){var r,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,o=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!ma(t)&&!Ji(t))return n;if(va(t)){var i=t.indexOf("%");r=e*parseFloat(t.slice(0,i))/100}else r=+t;return da(r)&&(r=n),o&&r>e&&(r=e),r},Oa=function(t){if(!t)return null;var e=Object.keys(t);return e&&e.length?t[e[0]]:null},Sa=function(t,e){return ma(t)&&ma(e)?function(r){return t+r*(e-t)}:function(){return e}};function ja(t,e,r){return t&&t.length?t.find((function(t){return t&&("function"==typeof e?e(t):qi(t,e))===r})):null}function Pa(t,e){for(var r in t)if({}.hasOwnProperty.call(t,r)&&(!{}.hasOwnProperty.call(e,r)||t[r]!==e[r]))return!1;for(var n in e)if({}.hasOwnProperty.call(e,n)&&!{}.hasOwnProperty.call(t,n))return!1;return!0}function Aa(t){return Aa="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Aa(t)}var Ma=["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"],ka=["points","pathLength"],Ea={svg:["viewBox","children"],polygon:ka,polyline:ka},Ca=["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"],_a=function(t,e){if(!t||"function"==typeof t||"boolean"==typeof t)return null;var r=t;if(Q(t)&&(r=t.props),!ta(r))return null;var n={};return Object.keys(r).forEach((function(t){Ca.includes(t)&&(n[t]=e||function(e){return r[t](r,e)})})),n},Ta=function(t,e,r){if(!ta(t)||"object"!==Aa(t))return null;var n=null;return Object.keys(t).forEach((function(o){var i=t[o];Ca.includes(o)&&"function"==typeof i&&(n||(n={}),n[o]=function(t,e,r){return function(n){return t(e,r,n),null}}(i,e,r))})),n},Da=["children"],Ia=["children"];function Na(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function La(t){return La="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},La(t)}var Ba={click:"onClick",mousedown:"onMouseDown",mouseup:"onMouseUp",mouseover:"onMouseOver",mousemove:"onMouseMove",mouseout:"onMouseOut",mouseenter:"onMouseEnter",mouseleave:"onMouseLeave",touchcancel:"onTouchCancel",touchend:"onTouchEnd",touchmove:"onTouchMove",touchstart:"onTouchStart"},Ra=function(t){return"string"==typeof t?t:t?t.displayName||t.name||"Component":""},$a=null,za=null,Ha=function t(e){if(e===$a&&Array.isArray(za))return za;var r=[];return tt.forEach(e,(function(e){Ki(e)||(sa.isFragment(e)?r=r.concat(t(e.props.children)):r.push(e))})),za=r,$a=e,r};function Fa(t,e){var r=[],n=[];return n=Array.isArray(e)?e.map((function(t){return Ra(t)})):[Ra(e)],Ha(t).forEach((function(t){var e=qi(t,"type.displayName")||qi(t,"type.name");-1!==n.indexOf(e)&&r.push(t)})),r}function Va(t,e){var r=Fa(t,e);return r&&r[0]}var Ua=function(t){if(!t||!t.props)return!1;var e=t.props,r=e.width,n=e.height;return!(!ma(r)||r<=0||!ma(n)||n<=0)},Wa=["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"],qa=function(t){return t&&"object"===La(t)&&"clipDot"in t},Ya=function(t,e,r){if(!t||"function"==typeof t||"boolean"==typeof t)return null;var n=t;if(Q(t)&&(n=t.props),!ta(n))return null;var o={};return Object.keys(n).forEach((function(t){var i;(function(t,e,r,n){var o,i=null!==(o=null==Ea?void 0:Ea[n])&&void 0!==o?o:[];return!Qi(t)&&(n&&i.includes(e)||Ma.includes(e))||r&&Ca.includes(e)})(null===(i=n)||void 0===i?void 0:i[t],t,e,r)&&(o[t]=n[t])})),o},Xa=function t(e,r){if(e===r)return!0;var n=tt.count(e);if(n!==tt.count(r))return!1;if(0===n)return!0;if(1===n)return Ka(Array.isArray(e)?e[0]:e,Array.isArray(r)?r[0]:r);for(var o=0;o<n;o++){var i=e[o],a=r[o];if(Array.isArray(i)||Array.isArray(a)){if(!t(i,a))return!1}else if(!Ka(i,a))return!1}return!0},Ka=function(t,e){if(Ki(t)&&Ki(e))return!0;if(!Ki(t)&&!Ki(e)){var r=t.props||{},n=r.children,o=Na(r,Da),i=e.props||{},a=i.children,c=Na(i,Ia);return n&&a?Pa(o,c)&&Xa(n,a):!n&&!a&&Pa(o,c)}return!1},Ga=function(t,e){var r=[],n={};return Ha(t).forEach((function(t,o){if(function(t){return t&&t.type&&Ji(t.type)&&Wa.indexOf(t.type)>=0}(t))r.push(t);else if(t){var i=Ra(t.type),a=e[i]||{},c=a.handler,u=a.once;if(c&&(!u||!n[i])){var l=c(t,i,o);r.push(l),n[i]=!0}}})),r},Za=["children","width","height","viewBox","className","style","title","desc"];function Ja(){return Ja=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},Ja.apply(this,arguments)}function Qa(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function tc(t){var e=t.children,r=t.width,n=t.height,o=t.viewBox,i=t.className,a=t.style,c=t.title,u=t.desc,l=Qa(t,Za),s=o||{width:r,height:n,x:0,y:0},f=mn("recharts-surface",i);return J.createElement("svg",Ja({},Ya(l,!0,"svg"),{className:f,width:r,height:n,style:a,viewBox:"".concat(s.x," ").concat(s.y," ").concat(s.width," ").concat(s.height)}),J.createElement("title",null,c),J.createElement("desc",null,u),e)}var ec=["children","className"];function rc(){return rc=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},rc.apply(this,arguments)}function nc(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}var oc,ic,ac,cc,uc,lc,sc,fc,pc,dc,hc,yc,vc,mc,gc,bc,wc=J.forwardRef((function(t,e){var r=t.children,n=t.className,o=nc(t,ec),i=mn("recharts-layer",n);return J.createElement("g",rc({className:i},Ya(o,!0),{ref:e}),r)})),xc="production"!==process.env.NODE_ENV,Oc=function(t,e){for(var r=arguments.length,n=new Array(r>2?r-2:0),o=2;o<r;o++)n[o-2]=arguments[o];if(xc&&"undefined"!=typeof console&&console.warn&&(void 0===e&&console.warn("LogUtils requires an error message argument"),!t))if(void 0===e)console.warn("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var i=0;console.warn(e.replace(/%s/g,(function(){return n[i++]})))}};function Sc(){if(cc)return ac;cc=1;var t=(ic||(ic=1,oc=function(t,e,r){var n=-1,o=t.length;e<0&&(e=-e>o?0:o+e),(r=r>o?o:r)<0&&(r+=o),o=e>r?0:r-e>>>0,e>>>=0;for(var i=Array(o);++n<o;)i[n]=t[n+e];return i}),oc);return ac=function(e,r,n){var o=e.length;return n=void 0===n?o:n,!r&&n>=o?e:t(e,r,n)},ac}function jc(){if(lc)return uc;lc=1;var t=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");return uc=function(e){return t.test(e)},uc}function Pc(){if(yc)return hc;yc=1;var t=(fc||(fc=1,sc=function(t){return t.split("")}),sc),e=jc(),r=function(){if(dc)return pc;dc=1;var t="\\ud800-\\udfff",e="["+t+"]",r="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",n="\\ud83c[\\udffb-\\udfff]",o="[^"+t+"]",i="(?:\\ud83c[\\udde6-\\uddff]){2}",a="[\\ud800-\\udbff][\\udc00-\\udfff]",c="(?:"+r+"|"+n+")?",u="[\\ufe0e\\ufe0f]?",l=u+c+"(?:\\u200d(?:"+[o,i,a].join("|")+")"+u+c+")*",s="(?:"+[o+r+"?",r,i,a,e].join("|")+")",f=RegExp(n+"(?="+n+")|"+s+l,"g");return pc=function(t){return t.match(f)||[]},pc}();return hc=function(n){return e(n)?r(n):t(n)},hc}var Ac=function(){if(bc)return gc;bc=1;var t=function(){if(mc)return vc;mc=1;var t=Sc(),e=jc(),r=Pc(),n=$i();return vc=function(o){return function(i){i=n(i);var a=e(i)?r(i):void 0,c=a?a[0]:i.charAt(0),u=a?t(a,1).join(""):i.slice(1);return c[o]()+u}},vc}(),e=t("toUpperCase");return gc=e}(),Mc=Ze(Ac);function kc(t){return function(){return t}}const Ec=Math.cos,Cc=Math.sin,_c=Math.sqrt,Tc=Math.PI,Dc=2*Tc,Ic=Math.PI,Nc=2*Ic,Lc=1e-6,Bc=Nc-Lc;function Rc(t){this._+=t[0];for(let e=1,r=t.length;e<r;++e)this._+=arguments[e]+t[e]}class $c{constructor(t){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=null==t?Rc:function(t){let e=Math.floor(t);if(!(e>=0))throw new Error(`invalid digits: ${t}`);if(e>15)return Rc;const r=10**e;return function(t){this._+=t[0];for(let e=1,n=t.length;e<n;++e)this._+=Math.round(arguments[e]*r)/r+t[e]}}(t)}moveTo(t,e){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+e}`}closePath(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(t,e){this._append`L${this._x1=+t},${this._y1=+e}`}quadraticCurveTo(t,e,r,n){this._append`Q${+t},${+e},${this._x1=+r},${this._y1=+n}`}bezierCurveTo(t,e,r,n,o,i){this._append`C${+t},${+e},${+r},${+n},${this._x1=+o},${this._y1=+i}`}arcTo(t,e,r,n,o){if(t=+t,e=+e,r=+r,n=+n,(o=+o)<0)throw new Error(`negative radius: ${o}`);let i=this._x1,a=this._y1,c=r-t,u=n-e,l=i-t,s=a-e,f=l*l+s*s;if(null===this._x1)this._append`M${this._x1=t},${this._y1=e}`;else if(f>Lc)if(Math.abs(s*c-u*l)>Lc&&o){let p=r-i,d=n-a,h=c*c+u*u,y=p*p+d*d,v=Math.sqrt(h),m=Math.sqrt(f),g=o*Math.tan((Ic-Math.acos((h+f-y)/(2*v*m)))/2),b=g/m,w=g/v;Math.abs(b-1)>Lc&&this._append`L${t+b*l},${e+b*s}`,this._append`A${o},${o},0,0,${+(s*p>l*d)},${this._x1=t+w*c},${this._y1=e+w*u}`}else this._append`L${this._x1=t},${this._y1=e}`;else;}arc(t,e,r,n,o,i){if(t=+t,e=+e,i=!!i,(r=+r)<0)throw new Error(`negative radius: ${r}`);let a=r*Math.cos(n),c=r*Math.sin(n),u=t+a,l=e+c,s=1^i,f=i?n-o:o-n;null===this._x1?this._append`M${u},${l}`:(Math.abs(this._x1-u)>Lc||Math.abs(this._y1-l)>Lc)&&this._append`L${u},${l}`,r&&(f<0&&(f=f%Nc+Nc),f>Bc?this._append`A${r},${r},0,1,${s},${t-a},${e-c}A${r},${r},0,1,${s},${this._x1=u},${this._y1=l}`:f>Lc&&this._append`A${r},${r},0,${+(f>=Ic)},${s},${this._x1=t+r*Math.cos(o)},${this._y1=e+r*Math.sin(o)}`)}rect(t,e,r,n){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+e}h${r=+r}v${+n}h${-r}Z`}toString(){return this._}}function zc(t){let e=3;return t.digits=function(r){if(!arguments.length)return e;if(null==r)e=null;else{const t=Math.floor(r);if(!(t>=0))throw new RangeError(`invalid digits: ${r}`);e=t}return t},()=>new $c(e)}function Hc(t){return"object"==typeof t&&"length"in t?t:Array.from(t)}function Fc(t){this._context=t}function Vc(t){return new Fc(t)}function Uc(t){return t[0]}function Wc(t){return t[1]}function qc(t,e){var r=kc(!0),n=null,o=Vc,i=null,a=zc(c);function c(c){var u,l,s,f=(c=Hc(c)).length,p=!1;for(null==n&&(i=o(s=a())),u=0;u<=f;++u)!(u<f&&r(l=c[u],u,c))===p&&((p=!p)?i.lineStart():i.lineEnd()),p&&i.point(+t(l,u,c),+e(l,u,c));if(s)return i=null,s+""||null}return t="function"==typeof t?t:void 0===t?Uc:kc(t),e="function"==typeof e?e:void 0===e?Wc:kc(e),c.x=function(e){return arguments.length?(t="function"==typeof e?e:kc(+e),c):t},c.y=function(t){return arguments.length?(e="function"==typeof t?t:kc(+t),c):e},c.defined=function(t){return arguments.length?(r="function"==typeof t?t:kc(!!t),c):r},c.curve=function(t){return arguments.length?(o=t,null!=n&&(i=o(n)),c):o},c.context=function(t){return arguments.length?(null==t?n=i=null:i=o(n=t),c):n},c}function Yc(t,e,r){var n=null,o=kc(!0),i=null,a=Vc,c=null,u=zc(l);function l(l){var s,f,p,d,h,y=(l=Hc(l)).length,v=!1,m=new Array(y),g=new Array(y);for(null==i&&(c=a(h=u())),s=0;s<=y;++s){if(!(s<y&&o(d=l[s],s,l))===v)if(v=!v)f=s,c.areaStart(),c.lineStart();else{for(c.lineEnd(),c.lineStart(),p=s-1;p>=f;--p)c.point(m[p],g[p]);c.lineEnd(),c.areaEnd()}v&&(m[s]=+t(d,s,l),g[s]=+e(d,s,l),c.point(n?+n(d,s,l):m[s],r?+r(d,s,l):g[s]))}if(h)return c=null,h+""||null}function s(){return qc().defined(o).curve(a).context(i)}return t="function"==typeof t?t:void 0===t?Uc:kc(+t),e="function"==typeof e?e:kc(void 0===e?0:+e),r="function"==typeof r?r:void 0===r?Wc:kc(+r),l.x=function(e){return arguments.length?(t="function"==typeof e?e:kc(+e),n=null,l):t},l.x0=function(e){return arguments.length?(t="function"==typeof e?e:kc(+e),l):t},l.x1=function(t){return arguments.length?(n=null==t?null:"function"==typeof t?t:kc(+t),l):n},l.y=function(t){return arguments.length?(e="function"==typeof t?t:kc(+t),r=null,l):e},l.y0=function(t){return arguments.length?(e="function"==typeof t?t:kc(+t),l):e},l.y1=function(t){return arguments.length?(r=null==t?null:"function"==typeof t?t:kc(+t),l):r},l.lineX0=l.lineY0=function(){return s().x(t).y(e)},l.lineY1=function(){return s().x(t).y(r)},l.lineX1=function(){return s().x(n).y(e)},l.defined=function(t){return arguments.length?(o="function"==typeof t?t:kc(!!t),l):o},l.curve=function(t){return arguments.length?(a=t,null!=i&&(c=a(i)),l):a},l.context=function(t){return arguments.length?(null==t?i=c=null:c=a(i=t),l):i},l}Fc.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(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:this._context.lineTo(t,e)}}};class Xc{constructor(t,e){this._context=t,this._x=e}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(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:this._x?this._context.bezierCurveTo(this._x0=(this._x0+t)/2,this._y0,this._x0,e,t,e):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+e)/2,t,this._y0,t,e)}this._x0=t,this._y0=e}}var Kc={draw(t,e){const r=_c(e/Tc);t.moveTo(r,0),t.arc(0,0,r,0,Dc)}},Gc={draw(t,e){const r=_c(e/5)/2;t.moveTo(-3*r,-r),t.lineTo(-r,-r),t.lineTo(-r,-3*r),t.lineTo(r,-3*r),t.lineTo(r,-r),t.lineTo(3*r,-r),t.lineTo(3*r,r),t.lineTo(r,r),t.lineTo(r,3*r),t.lineTo(-r,3*r),t.lineTo(-r,r),t.lineTo(-3*r,r),t.closePath()}};const Zc=_c(1/3),Jc=2*Zc;var Qc={draw(t,e){const r=_c(e/Jc),n=r*Zc;t.moveTo(0,-r),t.lineTo(n,0),t.lineTo(0,r),t.lineTo(-n,0),t.closePath()}},tu={draw(t,e){const r=_c(e),n=-r/2;t.rect(n,n,r,r)}};const eu=Cc(Tc/10)/Cc(7*Tc/10),ru=Cc(Dc/10)*eu,nu=-Ec(Dc/10)*eu;var ou={draw(t,e){const r=_c(.8908130915292852*e),n=ru*r,o=nu*r;t.moveTo(0,-r),t.lineTo(n,o);for(let e=1;e<5;++e){const i=Dc*e/5,a=Ec(i),c=Cc(i);t.lineTo(c*r,-a*r),t.lineTo(a*n-c*o,c*n+a*o)}t.closePath()}};const iu=_c(3);var au={draw(t,e){const r=-_c(e/(3*iu));t.moveTo(0,2*r),t.lineTo(-iu*r,-r),t.lineTo(iu*r,-r),t.closePath()}};const cu=-.5,uu=_c(3)/2,lu=1/_c(12),su=3*(lu/2+1);var fu={draw(t,e){const r=_c(e/su),n=r/2,o=r*lu,i=n,a=r*lu+r,c=-i,u=a;t.moveTo(n,o),t.lineTo(i,a),t.lineTo(c,u),t.lineTo(cu*n-uu*o,uu*n+cu*o),t.lineTo(cu*i-uu*a,uu*i+cu*a),t.lineTo(cu*c-uu*u,uu*c+cu*u),t.lineTo(cu*n+uu*o,cu*o-uu*n),t.lineTo(cu*i+uu*a,cu*a-uu*i),t.lineTo(cu*c+uu*u,cu*u-uu*c),t.closePath()}};function pu(){}function du(t,e,r){t._context.bezierCurveTo((2*t._x0+t._x1)/3,(2*t._y0+t._y1)/3,(t._x0+2*t._x1)/3,(t._y0+2*t._y1)/3,(t._x0+4*t._x1+e)/6,(t._y0+4*t._y1+r)/6)}function hu(t){this._context=t}function yu(t){this._context=t}function vu(t){this._context=t}function mu(t){this._context=t}function gu(t){return t<0?-1:1}function bu(t,e,r){var n=t._x1-t._x0,o=e-t._x1,i=(t._y1-t._y0)/(n||o<0&&-0),a=(r-t._y1)/(o||n<0&&-0),c=(i*o+a*n)/(n+o);return(gu(i)+gu(a))*Math.min(Math.abs(i),Math.abs(a),.5*Math.abs(c))||0}function wu(t,e){var r=t._x1-t._x0;return r?(3*(t._y1-t._y0)/r-e)/2:e}function xu(t,e,r){var n=t._x0,o=t._y0,i=t._x1,a=t._y1,c=(i-n)/3;t._context.bezierCurveTo(n+c,o+c*e,i-c,a-c*r,i,a)}function Ou(t){this._context=t}function Su(t){this._context=new ju(t)}function ju(t){this._context=t}function Pu(t){this._context=t}function Au(t){var e,r,n=t.length-1,o=new Array(n),i=new Array(n),a=new Array(n);for(o[0]=0,i[0]=2,a[0]=t[0]+2*t[1],e=1;e<n-1;++e)o[e]=1,i[e]=4,a[e]=4*t[e]+2*t[e+1];for(o[n-1]=2,i[n-1]=7,a[n-1]=8*t[n-1]+t[n],e=1;e<n;++e)r=o[e]/i[e-1],i[e]-=r,a[e]-=r*a[e-1];for(o[n-1]=a[n-1]/i[n-1],e=n-2;e>=0;--e)o[e]=(a[e]-o[e+1])/i[e];for(i[n-1]=(t[n]+o[n-1])/2,e=0;e<n-1;++e)i[e]=2*t[e+1]-o[e+1];return[o,i]}function Mu(t,e){this._context=t,this._t=e}function ku(t,e){if((o=t.length)>1)for(var r,n,o,i=1,a=t[e[0]],c=a.length;i<o;++i)for(n=a,a=t[e[i]],r=0;r<c;++r)a[r][1]+=a[r][0]=isNaN(n[r][1])?n[r][0]:n[r][1]}function Eu(t){for(var e=t.length,r=new Array(e);--e>=0;)r[e]=e;return r}function Cu(t,e){return t[e]}function _u(t){const e=[];return e.key=t,e}function Tu(t){return Tu="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Tu(t)}hu.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:du(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(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);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:du(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},yu.prototype={areaStart:pu,areaEnd:pu,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(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x2=t,this._y2=e;break;case 1:this._point=2,this._x3=t,this._y3=e;break;case 2:this._point=3,this._x4=t,this._y4=e,this._context.moveTo((this._x0+4*this._x1+t)/6,(this._y0+4*this._y1+e)/6);break;default:du(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},vu.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(t,e){switch(t=+t,e=+e,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+t)/6,n=(this._y0+4*this._y1+e)/6;this._line?this._context.lineTo(r,n):this._context.moveTo(r,n);break;case 3:this._point=4;default:du(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},mu.prototype={areaStart:pu,areaEnd:pu,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(t,e){t=+t,e=+e,this._point?this._context.lineTo(t,e):(this._point=1,this._context.moveTo(t,e))}},Ou.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:xu(this,this._t0,wu(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){var r=NaN;if(e=+e,(t=+t)!==this._x1||e!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,xu(this,wu(this,r=bu(this,t,e)),r);break;default:xu(this,this._t0,r=bu(this,t,e))}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e,this._t0=r}}},(Su.prototype=Object.create(Ou.prototype)).point=function(t,e){Ou.prototype.point.call(this,e,t)},ju.prototype={moveTo:function(t,e){this._context.moveTo(e,t)},closePath:function(){this._context.closePath()},lineTo:function(t,e){this._context.lineTo(e,t)},bezierCurveTo:function(t,e,r,n,o,i){this._context.bezierCurveTo(e,t,n,r,i,o)}},Pu.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var t=this._x,e=this._y,r=t.length;if(r)if(this._line?this._context.lineTo(t[0],e[0]):this._context.moveTo(t[0],e[0]),2===r)this._context.lineTo(t[1],e[1]);else for(var n=Au(t),o=Au(e),i=0,a=1;a<r;++i,++a)this._context.bezierCurveTo(n[0][i],o[0][i],n[1][i],o[1][i],t[a],e[a]);(this._line||0!==this._line&&1===r)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(t,e){this._x.push(+t),this._y.push(+e)}},Mu.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(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,e),this._context.lineTo(t,e);else{var r=this._x*(1-this._t)+t*this._t;this._context.lineTo(r,this._y),this._context.lineTo(r,e)}}this._x=t,this._y=e}};var Du=["type","size","sizeType"];function Iu(){return Iu=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},Iu.apply(this,arguments)}function Nu(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Lu(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Nu(Object(r),!0).forEach((function(e){Bu(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Nu(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Bu(t,e,r){return e=function(t){var e=function(t,e){if("object"!=Tu(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=Tu(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==Tu(e)?e:e+""}(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Ru(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}var $u={symbolCircle:Kc,symbolCross:Gc,symbolDiamond:Qc,symbolSquare:tu,symbolStar:ou,symbolTriangle:au,symbolWye:fu},zu=Math.PI/180,Hu=function(t){var e,r,n=t.type,o=void 0===n?"circle":n,i=t.size,a=void 0===i?64:i,c=t.sizeType,u=void 0===c?"area":c,l=Lu(Lu({},Ru(t,Du)),{},{type:o,size:a,sizeType:u}),s=l.className,f=l.cx,p=l.cy,d=Ya(l,!0);return f===+f&&p===+p&&a===+a?J.createElement("path",Iu({},d,{className:mn("recharts-symbols",s),transform:"translate(".concat(f,", ").concat(p,")"),d:(e=function(t){var e="symbol".concat(Mc(t));return $u[e]||Kc}(o),r=function(t,e){let r=null,n=zc(o);function o(){let o;if(r||(r=o=n()),t.apply(this,arguments).draw(r,+e.apply(this,arguments)),o)return r=null,o+""||null}return t="function"==typeof t?t:kc(t||Kc),e="function"==typeof e?e:kc(void 0===e?64:+e),o.type=function(e){return arguments.length?(t="function"==typeof e?e:kc(e),o):t},o.size=function(t){return arguments.length?(e="function"==typeof t?t:kc(+t),o):e},o.context=function(t){return arguments.length?(r=null==t?null:t,o):r},o}().type(e).size(function(t,e,r){if("area"===e)return t;switch(r){case"cross":return 5*t*t/9;case"diamond":return.5*t*t/Math.sqrt(3);case"square":return t*t;case"star":var n=18*zu;return 1.25*t*t*(Math.tan(n)-Math.tan(2*n)*Math.pow(Math.tan(n),2));case"triangle":return Math.sqrt(3)*t*t/4;case"wye":return(21-10*Math.sqrt(3))*t*t/8;default:return Math.PI*t*t/4}}(a,u,o)),r())})):null};function Fu(t){return Fu="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Fu(t)}function Vu(){return Vu=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},Vu.apply(this,arguments)}function Uu(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Wu(t,e,r){return e&&function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,Zu(n.key),n)}}(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}function qu(t,e,r){return e=Xu(e),function(t,e){if(e&&("object"===Fu(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,Yu()?Reflect.construct(e,r||[],Xu(t).constructor):e.apply(t,r))}function Yu(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(Yu=function(){return!!t})()}function Xu(t){return Xu=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Xu(t)}function Ku(t,e){return Ku=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},Ku(t,e)}function Gu(t,e,r){return(e=Zu(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Zu(t){var e=function(t,e){if("object"!=Fu(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=Fu(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==Fu(e)?e:e+""}Hu.registerSymbol=function(t,e){$u["symbol".concat(Mc(t))]=e};var Ju,Qu,tl,el,rl,nl,ol,il,al,cl,ul,ll,sl,fl,pl,dl,hl,yl,vl,ml,gl,bl,wl,xl,Ol,Sl,jl,Pl,Al,Ml,kl,El,Cl,_l,Tl,Dl,Il,Nl,Ll,Bl,Rl,$l,zl,Hl,Fl,Vl,Ul,Wl,ql=32,Yl=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),qu(this,e,arguments)}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Ku(t,e)}(e,et),Wu(e,[{key:"renderIcon",value:function(t){var e=this.props.inactiveColor,r=16,n=ql/6,o=ql/3,i=t.inactive?e:t.color;if("plainline"===t.type)return J.createElement("line",{strokeWidth:4,fill:"none",stroke:i,strokeDasharray:t.payload.strokeDasharray,x1:0,y1:r,x2:ql,y2:r,className:"recharts-legend-icon"});if("line"===t.type)return J.createElement("path",{strokeWidth:4,fill:"none",stroke:i,d:"M0,".concat(r,"h").concat(o,"\n A").concat(n,",").concat(n,",0,1,1,").concat(2*o,",").concat(r,"\n H").concat(ql,"M").concat(2*o,",").concat(r,"\n A").concat(n,",").concat(n,",0,1,1,").concat(o,",").concat(r),className:"recharts-legend-icon"});if("rect"===t.type)return J.createElement("path",{stroke:"none",fill:i,d:"M0,".concat(4,"h").concat(ql,"v").concat(24,"h").concat(-32,"z"),className:"recharts-legend-icon"});if(J.isValidElement(t.legendIcon)){var a=function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Uu(Object(r),!0).forEach((function(e){Gu(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Uu(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({},t);return delete a.legendIcon,J.cloneElement(t.legendIcon,a)}return J.createElement(Hu,{fill:i,cx:r,cy:r,size:ql,sizeType:"diameter",type:t.type})}},{key:"renderItems",value:function(){var t=this,e=this.props,r=e.payload,n=e.iconSize,o=e.layout,i=e.formatter,a=e.inactiveColor,c={x:0,y:0,width:ql,height:ql},u={display:"horizontal"===o?"inline-block":"block",marginRight:10},l={display:"inline-block",verticalAlign:"middle",marginRight:4};return r.map((function(e,r){var o=e.formatter||i,s=mn(Gu(Gu({"recharts-legend-item":!0},"legend-item-".concat(r),!0),"inactive",e.inactive));if("none"===e.type)return null;var f=Qi(e.value)?null:e.value;Oc(!Qi(e.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=e.inactive?a:e.color;return J.createElement("li",Vu({className:s,style:u,key:"legend-item-".concat(r)},Ta(t.props,e,r)),J.createElement(tc,{width:n,height:n,viewBox:c,style:l},t.renderIcon(e)),J.createElement("span",{className:"recharts-legend-item-text",style:{color:p}},o?o(f,e,r):f))}))}},{key:"render",value:function(){var t=this.props,e=t.payload,r=t.layout,n=t.align;if(!e||!e.length)return null;var o={padding:0,margin:0,textAlign:"horizontal"===r?n:"left"};return J.createElement("ul",{className:"recharts-default-legend",style:o},this.renderItems())}}])}();function Xl(){if(ll)return ul;ll=1;var t=Ti(),e=function(){if(Qu)return Ju;Qu=1;var t=Ti();return Ju=function(){this.__data__=new t,this.size=0}}(),r=el?tl:(el=1,tl=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r}),n=nl?rl:(nl=1,rl=function(t){return this.__data__.get(t)}),o=il?ol:(il=1,ol=function(t){return this.__data__.has(t)}),i=function(){if(cl)return al;cl=1;var t=Ti(),e=Di(),r=Ni();return al=function(n,o){var i=this.__data__;if(i instanceof t){var a=i.__data__;if(!e||a.length<199)return a.push([n,o]),this.size=++i.size,this;i=this.__data__=new r(a)}return i.set(n,o),this.size=i.size,this}}();function a(e){var r=this.__data__=new t(e);this.size=r.size}return a.prototype.clear=e,a.prototype.delete=r,a.prototype.get=n,a.prototype.has=o,a.prototype.set=i,ul=a}function Kl(){if(yl)return hl;yl=1;var t=Ni(),e=fl?sl:(fl=1,sl=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this}),r=dl?pl:(dl=1,pl=function(t){return this.__data__.has(t)});function n(e){var r=-1,n=null==e?0:e.length;for(this.__data__=new t;++r<n;)this.add(e[r])}return n.prototype.add=n.prototype.push=e,n.prototype.has=r,hl=n}function Gl(){if(ml)return vl;return ml=1,vl=function(t,e){for(var r=-1,n=null==t?0:t.length;++r<n;)if(e(t[r],r,t))return!0;return!1},vl}function Zl(){if(bl)return gl;return bl=1,gl=function(t,e){return t.has(e)}}function Jl(){if(xl)return wl;xl=1;var t=Kl(),e=Gl(),r=Zl();return wl=function(n,o,i,a,c,u){var l=1&i,s=n.length,f=o.length;if(s!=f&&!(l&&f>s))return!1;var p=u.get(n),d=u.get(o);if(p&&d)return p==o&&d==n;var h=-1,y=!0,v=2&i?new t:void 0;for(u.set(n,o),u.set(o,n);++h<s;){var m=n[h],g=o[h];if(a)var b=l?a(g,m,h,o,n,u):a(m,g,h,n,o,u);if(void 0!==b){if(b)continue;y=!1;break}if(v){if(!e(o,(function(t,e){if(!r(v,e)&&(m===t||c(m,t,i,a,u)))return v.push(e)}))){y=!1;break}}else if(m!==g&&!c(m,g,i,a,u)){y=!1;break}}return u.delete(n),u.delete(o),y},wl}function Ql(){if(Ml)return Al;return Ml=1,Al=function(t){var e=-1,r=Array(t.size);return t.forEach((function(t){r[++e]=t})),r},Al}function ts(){if(El)return kl;El=1;var t=gi(),e=function(){if(Sl)return Ol;Sl=1;var t=mi().Uint8Array;return Ol=t}(),r=Ci(),n=Jl(),o=(Pl||(Pl=1,jl=function(t){var e=-1,r=Array(t.size);return t.forEach((function(t,n){r[++e]=[n,t]})),r}),jl),i=Ql(),a=t?t.prototype:void 0,c=a?a.valueOf:void 0;return kl=function(t,a,u,l,s,f,p){switch(u){case"[object DataView]":if(t.byteLength!=a.byteLength||t.byteOffset!=a.byteOffset)return!1;t=t.buffer,a=a.buffer;case"[object ArrayBuffer]":return!(t.byteLength!=a.byteLength||!f(new e(t),new e(a)));case"[object Boolean]":case"[object Date]":case"[object Number]":return r(+t,+a);case"[object Error]":return t.name==a.name&&t.message==a.message;case"[object RegExp]":case"[object String]":return t==a+"";case"[object Map]":var d=o;case"[object Set]":var h=1&l;if(d||(d=i),t.size!=a.size&&!h)return!1;var y=p.get(t);if(y)return y==a;l|=2,p.set(t,a);var v=n(d(t),d(a),l,s,f,p);return p.delete(t),v;case"[object Symbol]":if(c)return c.call(t)==c.call(a)}return!1},kl}function es(){if(_l)return Cl;return _l=1,Cl=function(t,e){for(var r=-1,n=e.length,o=t.length;++r<n;)t[o+r]=e[r];return t},Cl}function rs(){if($l)return Rl;$l=1;var t=(Nl||(Nl=1,Il=function(t,e){for(var r=-1,n=null==t?0:t.length,o=0,i=[];++r<n;){var a=t[r];e(a,r,t)&&(i[o++]=a)}return i}),Il),e=Bl?Ll:(Bl=1,Ll=function(){return[]}),r=Object.prototype.propertyIsEnumerable,n=Object.getOwnPropertySymbols,o=n?function(e){return null==e?[]:(e=Object(e),t(n(e),(function(t){return r.call(e,t)})))}:e;return Rl=o}function ns(){if(Wl)return Ul;Wl=1;var t=function(){if(Vl)return Fl;Vl=1;var t=bi(),e=wi();return Fl=function(r){return e(r)&&"[object Arguments]"==t(r)}}(),e=wi(),r=Object.prototype,n=r.hasOwnProperty,o=r.propertyIsEnumerable,i=t(function(){return arguments}())?t:function(t){return e(t)&&n.call(t,"callee")&&!o.call(t,"callee")};return Ul=i}Gu(Yl,"displayName","Legend"),Gu(Yl,"defaultProps",{iconSize:14,layout:"horizontal",align:"center",verticalAlign:"middle",inactiveColor:"#ccc"});var os,is,as,cs,us,ls,ss,fs,ps,ds,hs,ys={exports:{}};function vs(){return as||(as=1,function(t,e){var r=mi(),n=is?os:(is=1,os=function(){return!1}),o=e&&!e.nodeType&&e,i=o&&t&&!t.nodeType&&t,a=i&&i.exports===o?r.Buffer:void 0,c=(a?a.isBuffer:void 0)||n;t.exports=c}(ys,ys.exports)),ys.exports}function ms(){if(us)return cs;us=1;var t=/^(?:0|[1-9]\d*)$/;return cs=function(e,r){var n=typeof e;return!!(r=null==r?9007199254740991:r)&&("number"==n||"symbol"!=n&&t.test(e))&&e>-1&&e%1==0&&e<r}}function gs(){if(ss)return ls;ss=1;return ls=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}}function bs(){if(hs)return ds;return hs=1,ds=function(t){return function(e){return t(e)}}}ys.exports;var ws,xs,Os,Ss,js,Ps,As,Ms,ks,Es,Cs,_s,Ts,Ds,Is,Ns,Ls,Bs,Rs,$s,zs,Hs,Fs,Vs,Us,Ws,qs,Ys,Xs,Ks,Gs,Zs,Js,Qs,tf,ef,rf,nf,of,af,cf,uf,lf,sf,ff,pf,df,hf,yf,vf,mf,gf,bf,wf,xf,Of,Sf,jf,Pf,Af,Mf,kf,Ef,Cf,_f,Tf,Df,If,Nf,Lf,Bf,Rf,$f,zf,Hf,Ff,Vf,Uf,Wf,qf,Yf,Xf,Kf,Gf={exports:{}};function Zf(){if(Os)return xs;Os=1;var t=function(){if(ps)return fs;ps=1;var t=bi(),e=gs(),r=wi(),n={};return n["[object Float32Array]"]=n["[object Float64Array]"]=n["[object Int8Array]"]=n["[object Int16Array]"]=n["[object Int32Array]"]=n["[object Uint8Array]"]=n["[object Uint8ClampedArray]"]=n["[object Uint16Array]"]=n["[object Uint32Array]"]=!0,n["[object Arguments]"]=n["[object Array]"]=n["[object ArrayBuffer]"]=n["[object Boolean]"]=n["[object DataView]"]=n["[object Date]"]=n["[object Error]"]=n["[object Function]"]=n["[object Map]"]=n["[object Number]"]=n["[object Object]"]=n["[object RegExp]"]=n["[object Set]"]=n["[object String]"]=n["[object WeakMap]"]=!1,fs=function(o){return r(o)&&e(o.length)&&!!n[t(o)]}}(),e=bs(),r=function(){return ws||(ws=1,t=Gf,e=Gf.exports,r=vi(),n=e&&!e.nodeType&&e,o=n&&t&&!t.nodeType&&t,i=o&&o.exports===n&&r.process,a=function(){try{return o&&o.require&&o.require("util").types||i&&i.binding&&i.binding("util")}catch(t){}}(),t.exports=a),Gf.exports;var t,e,r,n,o,i,a}(),n=r&&r.isTypedArray,o=n?e(n):t;return xs=o}function Jf(){if(js)return Ss;js=1;var t=Hl?zl:(Hl=1,zl=function(t,e){for(var r=-1,n=Array(t);++r<t;)n[r]=e(r);return n}),e=ns(),r=yi(),n=vs(),o=ms(),i=Zf(),a=Object.prototype.hasOwnProperty;return Ss=function(c,u){var l=r(c),s=!l&&e(c),f=!l&&!s&&n(c),p=!l&&!s&&!f&&i(c),d=l||s||f||p,h=d?t(c.length,String):[],y=h.length;for(var v in c)!u&&!a.call(c,v)||d&&("length"==v||f&&("offset"==v||"parent"==v)||p&&("buffer"==v||"byteLength"==v||"byteOffset"==v)||o(v,y))||h.push(v);return h}}function Qf(){if(ks)return Ms;return ks=1,Ms=function(t,e){return function(r){return t(e(r))}}}function tp(){if(Ts)return _s;Ts=1;var t=function(){if(As)return Ps;As=1;var t=Object.prototype;return Ps=function(e){var r=e&&e.constructor;return e===("function"==typeof r&&r.prototype||t)}}(),e=function(){if(Cs)return Es;Cs=1;var t=Qf()(Object.keys,Object);return Es=t}(),r=Object.prototype.hasOwnProperty;return _s=function(n){if(!t(n))return e(n);var o=[];for(var i in Object(n))r.call(n,i)&&"constructor"!=i&&o.push(i);return o},_s}function ep(){if(Is)return Ds;Is=1;var t=ji(),e=gs();return Ds=function(r){return null!=r&&e(r.length)&&!t(r)}}function rp(){if(Ls)return Ns;Ls=1;var t=Jf(),e=tp(),r=ep();return Ns=function(n){return r(n)?t(n):e(n)},Ns}function np(){if(Rs)return Bs;Rs=1;var t=function(){if(Dl)return Tl;Dl=1;var t=es(),e=yi();return Tl=function(r,n,o){var i=n(r);return e(r)?i:t(i,o(r))},Tl}(),e=rs(),r=rp();return Bs=function(n){return t(n,r,e)},Bs}function op(){if(qs)return Ws;qs=1;var t=Mi()(mi(),"Set");return Ws=t}function ip(){if(Gs)return Ks;Gs=1;var t=function(){if(Fs)return Hs;Fs=1;var t=Mi()(mi(),"DataView");return Hs=t}(),e=Di(),r=function(){if(Us)return Vs;Us=1;var t=Mi()(mi(),"Promise");return Vs=t}(),n=op(),o=function(){if(Xs)return Ys;Xs=1;var t=Mi()(mi(),"WeakMap");return Ys=t}(),i=bi(),a=Ai(),c="[object Map]",u="[object Promise]",l="[object Set]",s="[object WeakMap]",f="[object DataView]",p=a(t),d=a(e),h=a(r),y=a(n),v=a(o),m=i;return(t&&m(new t(new ArrayBuffer(1)))!=f||e&&m(new e)!=c||r&&m(r.resolve())!=u||n&&m(new n)!=l||o&&m(new o)!=s)&&(m=function(t){var e=i(t),r="[object Object]"==e?t.constructor:void 0,n=r?a(r):"";if(n)switch(n){case p:return f;case d:return c;case h:return u;case y:return l;case v:return s}return e}),Ks=m}function ap(){if(Js)return Zs;Js=1;var t=Xl(),e=Jl(),r=ts(),n=function(){if(zs)return $s;zs=1;var t=np(),e=Object.prototype.hasOwnProperty;return $s=function(r,n,o,i,a,c){var u=1&o,l=t(r),s=l.length;if(s!=t(n).length&&!u)return!1;for(var f=s;f--;){var p=l[f];if(!(u?p in n:e.call(n,p)))return!1}var d=c.get(r),h=c.get(n);if(d&&h)return d==n&&h==r;var y=!0;c.set(r,n),c.set(n,r);for(var v=u;++f<s;){var m=r[p=l[f]],g=n[p];if(i)var b=u?i(g,m,p,n,r,c):i(m,g,p,r,n,c);if(!(void 0===b?m===g||a(m,g,o,i,c):b)){y=!1;break}v||(v="constructor"==p)}if(y&&!v){var w=r.constructor,x=n.constructor;w==x||!("constructor"in r)||!("constructor"in n)||"function"==typeof w&&w instanceof w&&"function"==typeof x&&x instanceof x||(y=!1)}return c.delete(r),c.delete(n),y},$s}(),o=ip(),i=yi(),a=vs(),c=Zf(),u="[object Arguments]",l="[object Array]",s="[object Object]",f=Object.prototype.hasOwnProperty;return Zs=function(p,d,h,y,v,m){var g=i(p),b=i(d),w=g?l:o(p),x=b?l:o(d),O=(w=w==u?s:w)==s,S=(x=x==u?s:x)==s,j=w==x;if(j&&a(p)){if(!a(d))return!1;g=!0,O=!1}if(j&&!O)return m||(m=new t),g||c(p)?e(p,d,h,y,v,m):r(p,d,w,h,y,v,m);if(!(1&h)){var P=O&&f.call(p,"__wrapped__"),A=S&&f.call(d,"__wrapped__");if(P||A){var M=P?p.value():p,k=A?d.value():d;return m||(m=new t),v(M,k,h,y,m)}}return!!j&&(m||(m=new t),n(p,d,h,y,v,m))},Zs}function cp(){if(tf)return Qs;tf=1;var t=ap(),e=wi();return Qs=function r(n,o,i,a,c){return n===o||(null==n||null==o||!e(n)&&!e(o)?n!=n&&o!=o:t(n,o,i,a,r,c))},Qs}function up(){if(of)return nf;of=1;var t=Si();return nf=function(e){return e==e&&!t(e)}}function lp(){if(lf)return uf;return lf=1,uf=function(t,e){return function(r){return null!=r&&(r[t]===e&&(void 0!==e||t in Object(r)))}},uf}function sp(){if(ff)return sf;ff=1;var t=function(){if(rf)return ef;rf=1;var t=Xl(),e=cp();return ef=function(r,n,o,i){var a=o.length,c=a,u=!i;if(null==r)return!c;for(r=Object(r);a--;){var l=o[a];if(u&&l[2]?l[1]!==r[l[0]]:!(l[0]in r))return!1}for(;++a<c;){var s=(l=o[a])[0],f=r[s],p=l[1];if(u&&l[2]){if(void 0===f&&!(s in r))return!1}else{var d=new t;if(i)var h=i(f,p,s,r,n,d);if(!(void 0===h?e(p,f,3,i,d):h))return!1}}return!0},ef}(),e=function(){if(cf)return af;cf=1;var t=up(),e=rp();return af=function(r){for(var n=e(r),o=n.length;o--;){var i=n[o],a=r[i];n[o]=[i,a,t(a)]}return n},af}(),r=lp();return sf=function(n){var o=e(n);return 1==o.length&&o[0][2]?r(o[0][0],o[0][1]):function(e){return e===n||t(e,n,o)}},sf}function fp(){if(mf)return vf;mf=1;var t=(df||(df=1,pf=function(t,e){return null!=t&&e in Object(t)}),pf),e=function(){if(yf)return hf;yf=1;var t=zi(),e=ns(),r=yi(),n=ms(),o=gs(),i=Hi();return hf=function(a,c,u){for(var l=-1,s=(c=t(c,a)).length,f=!1;++l<s;){var p=i(c[l]);if(!(f=null!=a&&u(a,p)))break;a=a[p]}return f||++l!=s?f:!!(s=null==a?0:a.length)&&o(s)&&n(p,s)&&(r(a)||e(a))},hf}();return vf=function(r,n){return null!=r&&e(r,n,t)},vf}function pp(){if(xf)return wf;return xf=1,wf=function(t){return t}}function dp(){if(Mf)return Af;Mf=1;var t=(Sf||(Sf=1,Of=function(t){return function(e){return null==e?void 0:e[t]}}),Of),e=function(){if(Pf)return jf;Pf=1;var t=Fi();return jf=function(e){return function(r){return t(r,e)}},jf}(),r=Oi(),n=Hi();return Af=function(o){return r(o)?t(n(o)):e(o)}}function hp(){if(Ef)return kf;Ef=1;var t=sp(),e=function(){if(bf)return gf;bf=1;var t=cp(),e=Vi(),r=fp(),n=Oi(),o=up(),i=lp(),a=Hi();return gf=function(c,u){return n(c)&&o(u)?i(a(c),u):function(n){var o=e(n,c);return void 0===o&&o===u?r(n,c):t(u,o,3)}},gf}(),r=pp(),n=yi(),o=dp();return kf=function(i){return"function"==typeof i?i:null==i?r:"object"==typeof i?n(i)?e(i[0],i[1]):t(i):o(i)}}function yp(){if(_f)return Cf;return _f=1,Cf=function(t,e,r,n){for(var o=t.length,i=r+(n?1:-1);n?i--:++i<o;)if(e(t[i],i,t))return i;return-1},Cf}function vp(){if(Bf)return Lf;Bf=1;var t=yp(),e=Df?Tf:(Df=1,Tf=function(t){return t!=t}),r=(Nf||(Nf=1,If=function(t,e,r){for(var n=r-1,o=t.length;++n<o;)if(t[n]===e)return n;return-1}),If);return Lf=function(n,o,i){return o==o?r(n,o,i):t(n,e,i)},Lf}function mp(){if(Wf)return Uf;Wf=1;var t=op(),e=Vf?Ff:(Vf=1,Ff=function(){}),r=Ql(),n=t&&1/r(new t([,-0]))[1]==1/0?function(e){return new t(e)}:e;return Uf=n}function gp(){if(Yf)return qf;Yf=1;var t=Kl(),e=function(){if($f)return Rf;$f=1;var t=vp();return Rf=function(e,r){return!(null==e||!e.length)&&t(e,r,0)>-1},Rf}(),r=(Hf||(Hf=1,zf=function(t,e,r){for(var n=-1,o=null==t?0:t.length;++n<o;)if(r(e,t[n]))return!0;return!1}),zf),n=Zl(),o=mp(),i=Ql();return qf=function(a,c,u){var l=-1,s=e,f=a.length,p=!0,d=[],h=d;if(u)p=!1,s=r;else if(f>=200){var y=c?null:o(a);if(y)return i(y);p=!1,s=n,h=new t}else h=c?[]:d;t:for(;++l<f;){var v=a[l],m=c?c(v):v;if(v=u||0!==v?v:0,p&&m==m){for(var g=h.length;g--;)if(h[g]===m)continue t;c&&h.push(m),d.push(v)}else s(h,m,u)||(h!==d&&h.push(m),d.push(v))}return d},qf}Gf.exports;var bp=function(){if(Kf)return Xf;Kf=1;var t=hp(),e=gp();return Xf=function(r,n){return r&&r.length?e(r,t(n,2)):[]},Xf}(),wp=Ze(bp);function xp(t,e,r){return!0===e?wp(t,r):Qi(e)?wp(t,e):t}function Op(t){return Op="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Op(t)}var Sp=["ref"];function jp(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Pp(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?jp(Object(r),!0).forEach((function(e){_p(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):jp(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Ap(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,Tp(n.key),n)}}function Mp(t,e,r){return e=Ep(e),function(t,e){if(e&&("object"===Op(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,kp()?Reflect.construct(e,r||[],Ep(t).constructor):e.apply(t,r))}function kp(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(kp=function(){return!!t})()}function Ep(t){return Ep=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Ep(t)}function Cp(t,e){return Cp=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},Cp(t,e)}function _p(t,e,r){return(e=Tp(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Tp(t){var e=function(t,e){if("object"!=Op(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=Op(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==Op(e)?e:e+""}function Dp(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function Ip(t){return t.value}var Np,Lp,Bp,Rp,$p,zp,Hp,Fp,Vp,Up,Wp,qp,Yp,Xp,Kp,Gp,Zp,Jp,Qp,td,ed,rd,nd,od,id,ad,cd,ud,ld,sd,fd,pd,dd,hd,yd,vd,md,gd,bd,wd,xd,Od,Sd,jd,Pd=function(t){function e(){var t;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return _p(t=Mp(this,e,[].concat(n)),"lastBoundingBox",{width:-1,height:-1}),t}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Cp(t,e)}(e,et),r=e,o=[{key:"getWithHeight",value:function(t,e){var r=Pp(Pp({},this.defaultProps),t.props).layout;return"vertical"===r&&ma(t.props.height)?{height:t.props.height}:"horizontal"===r?{width:t.props.width||e}: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 t=this.wrapperNode.getBoundingClientRect();return t.height=this.wrapperNode.offsetHeight,t.width=this.wrapperNode.offsetWidth,t}return null}},{key:"updateBBox",value:function(){var t=this.props.onBBoxUpdate,e=this.getBBox();e?(Math.abs(e.width-this.lastBoundingBox.width)>1||Math.abs(e.height-this.lastBoundingBox.height)>1)&&(this.lastBoundingBox.width=e.width,this.lastBoundingBox.height=e.height,t&&t(e)):-1===this.lastBoundingBox.width&&-1===this.lastBoundingBox.height||(this.lastBoundingBox.width=-1,this.lastBoundingBox.height=-1,t&&t(null))}},{key:"getBBoxSnapshot",value:function(){return this.lastBoundingBox.width>=0&&this.lastBoundingBox.height>=0?Pp({},this.lastBoundingBox):{width:0,height:0}}},{key:"getDefaultPosition",value:function(t){var e,r,n=this.props,o=n.layout,i=n.align,a=n.verticalAlign,c=n.margin,u=n.chartWidth,l=n.chartHeight;return t&&(void 0!==t.left&&null!==t.left||void 0!==t.right&&null!==t.right)||(e="center"===i&&"vertical"===o?{left:((u||0)-this.getBBoxSnapshot().width)/2}:"right"===i?{right:c&&c.right||0}:{left:c&&c.left||0}),t&&(void 0!==t.top&&null!==t.top||void 0!==t.bottom&&null!==t.bottom)||(r="middle"===a?{top:((l||0)-this.getBBoxSnapshot().height)/2}:"bottom"===a?{bottom:c&&c.bottom||0}:{top:c&&c.top||0}),Pp(Pp({},e),r)}},{key:"render",value:function(){var t=this,e=this.props,r=e.content,n=e.width,o=e.height,i=e.wrapperStyle,a=e.payloadUniqBy,c=e.payload,u=Pp(Pp({position:"absolute",width:n||"auto",height:o||"auto"},this.getDefaultPosition(i)),i);return J.createElement("div",{className:"recharts-legend-wrapper",style:u,ref:function(e){t.wrapperNode=e}},function(t,e){if(J.isValidElement(t))return J.cloneElement(t,e);if("function"==typeof t)return J.createElement(t,e);e.ref;var r=Dp(e,Sp);return J.createElement(Yl,r)}(r,Pp(Pp({},this.props),{},{payload:xp(c,a,Ip)})))}}])&&Ap(r.prototype,n),o&&Ap(r,o),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,o}();function Ad(){if(Rp)return Bp;Rp=1;var t=es(),e=function(){if(Lp)return Np;Lp=1;var t=gi(),e=ns(),r=yi(),n=t?t.isConcatSpreadable:void 0;return Np=function(t){return r(t)||e(t)||!!(n&&t&&t[n])}}();return Bp=function r(n,o,i,a,c){var u=-1,l=n.length;for(i||(i=e),c||(c=[]);++u<l;){var s=n[u];o>0&&i(s)?o>1?r(s,o-1,i,a,c):t(c,s):a||(c[c.length]=s)}return c},Bp}function Md(){if(Fp)return Hp;Fp=1;var t=(zp||(zp=1,$p=function(t){return function(e,r,n){for(var o=-1,i=Object(e),a=n(e),c=a.length;c--;){var u=a[t?c:++o];if(!1===r(i[u],u,i))break}return e}}),$p),e=t();return Hp=e}function kd(){if(Up)return Vp;Up=1;var t=Md(),e=rp();return Vp=function(r,n){return r&&t(r,n,e)},Vp}function Ed(){if(Xp)return Yp;Xp=1;var t=kd(),e=function(){if(qp)return Wp;qp=1;var t=ep();return Wp=function(e,r){return function(n,o){if(null==n)return n;if(!t(n))return e(n,o);for(var i=n.length,a=r?i:-1,c=Object(n);(r?a--:++a<i)&&!1!==o(c[a],a,c););return n}}}()(t);return Yp=e}function Cd(){if(Gp)return Kp;Gp=1;var t=Ed(),e=ep();return Kp=function(r,n){var o=-1,i=e(r)?Array(r.length):[];return t(r,(function(t,e,r){i[++o]=n(t,e,r)})),i}}function _d(){if(rd)return ed;rd=1;var t=function(){if(td)return Qp;td=1;var t=xi();return Qp=function(e,r){if(e!==r){var n=void 0!==e,o=null===e,i=e==e,a=t(e),c=void 0!==r,u=null===r,l=r==r,s=t(r);if(!u&&!s&&!a&&e>r||a&&c&&l&&!u&&!s||o&&c&&l||!n&&l||!i)return 1;if(!o&&!a&&!s&&e<r||s&&n&&i&&!o&&!a||u&&n&&i||!c&&i||!l)return-1}return 0}}();return ed=function(e,r,n){for(var o=-1,i=e.criteria,a=r.criteria,c=i.length,u=n.length;++o<c;){var l=t(i[o],a[o]);if(l)return o>=u?l:l*("desc"==n[o]?-1:1)}return e.index-r.index},ed}function Td(){if(od)return nd;od=1;var t=Ri(),e=Fi(),r=hp(),n=Cd(),o=(Jp||(Jp=1,Zp=function(t,e){var r=t.length;for(t.sort(e);r--;)t[r]=t[r].value;return t}),Zp),i=bs(),a=_d(),c=pp(),u=yi();return nd=function(l,s,f){s=s.length?t(s,(function(t){return u(t)?function(r){return e(r,1===t.length?t[0]:t)}:t})):[c];var p=-1;s=t(s,i(r));var d=n(l,(function(e,r,n){return{criteria:t(s,(function(t){return t(e)})),index:++p,value:e}}));return o(d,(function(t,e){return a(t,e,f)}))},nd}function Dd(){if(ud)return cd;ud=1;var t=ad?id:(ad=1,id=function(t,e,r){switch(r.length){case 0:return t.call(e);case 1:return t.call(e,r[0]);case 2:return t.call(e,r[0],r[1]);case 3:return t.call(e,r[0],r[1],r[2])}return t.apply(e,r)}),e=Math.max;return cd=function(r,n,o){return n=e(void 0===n?r.length-1:n,0),function(){for(var i=arguments,a=-1,c=e(i.length-n,0),u=Array(c);++a<c;)u[a]=i[n+a];a=-1;for(var l=Array(n+1);++a<n;)l[a]=i[a];return l[n]=o(u),t(r,this,l)}},cd}function Id(){if(pd)return fd;pd=1;var t=Mi(),e=function(){try{var e=t(Object,"defineProperty");return e({},"",{}),e}catch(t){}}();return fd=e}function Nd(){if(hd)return dd;hd=1;var t=sd?ld:(sd=1,ld=function(t){return function(){return t}}),e=Id(),r=pp(),n=e?function(r,n){return e(r,"toString",{configurable:!0,enumerable:!1,value:t(n),writable:!0})}:r;return dd=n}function Ld(){if(gd)return md;gd=1;var t=Nd(),e=function(){if(vd)return yd;vd=1;var t=Date.now;return yd=function(e){var r=0,n=0;return function(){var o=t(),i=16-(o-n);if(n=o,i>0){if(++r>=800)return arguments[0]}else r=0;return e.apply(void 0,arguments)}},yd}(),r=e(t);return md=r}function Bd(){if(Od)return xd;Od=1;var t=Ci(),e=ep(),r=ms(),n=Si();return xd=function(o,i,a){if(!n(a))return!1;var c=typeof i;return!!("number"==c?e(a)&&r(i,a.length):"string"==c&&i in a)&&t(a[i],o)},xd}_p(Pd,"displayName","Legend"),_p(Pd,"defaultProps",{iconSize:14,layout:"horizontal",align:"center",verticalAlign:"bottom"});var Rd=function(){if(jd)return Sd;jd=1;var t=Ad(),e=Td(),r=function(){if(wd)return bd;wd=1;var t=pp(),e=Dd(),r=Ld();return bd=function(n,o){return r(e(n,o,t),n+"")}}(),n=Bd(),o=r((function(r,o){if(null==r)return[];var i=o.length;return i>1&&n(r,o[0],o[1])?o=[]:i>2&&n(o[0],o[1],o[2])&&(o=[o[0]]),e(r,t(o,1),[])}));return Sd=o}(),$d=Ze(Rd);function zd(t){return zd="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},zd(t)}function Hd(){return Hd=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},Hd.apply(this,arguments)}function Fd(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e);else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return Vd(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Vd(t,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 Vd(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function Ud(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Wd(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Ud(Object(r),!0).forEach((function(e){qd(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Ud(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function qd(t,e,r){return e=function(t){var e=function(t,e){if("object"!=zd(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=zd(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==zd(e)?e:e+""}(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Yd(t){return Array.isArray(t)&&ga(t[0])&&ga(t[1])?t.join(" ~ "):t}var Xd=function(t){var e=t.separator,r=void 0===e?" : ":e,n=t.contentStyle,o=void 0===n?{}:n,i=t.itemStyle,a=void 0===i?{}:i,c=t.labelStyle,u=void 0===c?{}:c,l=t.payload,s=t.formatter,f=t.itemSorter,p=t.wrapperClassName,d=t.labelClassName,h=t.label,y=t.labelFormatter,v=t.accessibilityLayer,m=void 0!==v&&v,g=Wd({margin:0,padding:10,backgroundColor:"#fff",border:"1px solid #ccc",whiteSpace:"nowrap"},o),b=Wd({margin:0},u),w=!Ki(h),x=w?h:"",O=mn("recharts-default-tooltip",p),S=mn("recharts-tooltip-label",d);w&&y&&null!=l&&(x=y(h,l));var j=m?{role:"status","aria-live":"assertive"}:{};return J.createElement("div",Hd({className:O,style:g},j),J.createElement("p",{className:S,style:b},J.isValidElement(x)?x:"".concat(x)),function(){if(l&&l.length){var t=(f?$d(l,f):l).map((function(t,e){if("none"===t.type)return null;var n=Wd({display:"block",paddingTop:4,paddingBottom:4,color:t.color||"#000"},a),o=t.formatter||s||Yd,i=t.value,c=t.name,u=i,f=c;if(o&&null!=u&&null!=f){var p=o(i,c,t,e,l);if(Array.isArray(p)){var d=Fd(p,2);u=d[0],f=d[1]}else u=p}return J.createElement("li",{className:"recharts-tooltip-item",key:"tooltip-item-".concat(e),style:n},ga(f)?J.createElement("span",{className:"recharts-tooltip-item-name"},f):null,ga(f)?J.createElement("span",{className:"recharts-tooltip-item-separator"},r):null,J.createElement("span",{className:"recharts-tooltip-item-value"},u),J.createElement("span",{className:"recharts-tooltip-item-unit"},t.unit||""))}));return J.createElement("ul",{className:"recharts-tooltip-item-list",style:{padding:0,margin:0}},t)}return null}())};function Kd(t){return Kd="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Kd(t)}function Gd(t,e,r){return e=function(t){var e=function(t,e){if("object"!=Kd(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=Kd(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==Kd(e)?e:e+""}(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Zd="recharts-tooltip-wrapper",Jd={visibility:"hidden"};function Qd(t){var e=t.coordinate,r=t.translateX,n=t.translateY;return mn(Zd,Gd(Gd(Gd(Gd({},"".concat(Zd,"-right"),ma(r)&&e&&ma(e.x)&&r>=e.x),"".concat(Zd,"-left"),ma(r)&&e&&ma(e.x)&&r<e.x),"".concat(Zd,"-bottom"),ma(n)&&e&&ma(e.y)&&n>=e.y),"".concat(Zd,"-top"),ma(n)&&e&&ma(e.y)&&n<e.y))}function th(t){var e=t.allowEscapeViewBox,r=t.coordinate,n=t.key,o=t.offsetTopLeft,i=t.position,a=t.reverseDirection,c=t.tooltipDimension,u=t.viewBox,l=t.viewBoxDimension;if(i&&ma(i[n]))return i[n];var s=r[n]-c-o,f=r[n]+o;return e[n]?a[n]?s:f:a[n]?s<u[n]?Math.max(f,u[n]):Math.max(s,u[n]):f+c>u[n]+l?Math.max(s,u[n]):Math.max(f,u[n])}function eh(t){return eh="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},eh(t)}function rh(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function nh(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?rh(Object(r),!0).forEach((function(e){lh(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):rh(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function oh(t,e,r){return e&&function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,sh(n.key),n)}}(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}function ih(t,e,r){return e=ch(e),function(t,e){if(e&&("object"===eh(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,ah()?Reflect.construct(e,r||[],ch(t).constructor):e.apply(t,r))}function ah(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(ah=function(){return!!t})()}function ch(t){return ch=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},ch(t)}function uh(t,e){return uh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},uh(t,e)}function lh(t,e,r){return(e=sh(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function sh(t){var e=function(t,e){if("object"!=eh(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=eh(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==eh(e)?e:e+""}var fh=function(t){function e(){var t;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return lh(t=ih(this,e,[].concat(n)),"state",{dismissed:!1,dismissedAtCoordinate:{x:0,y:0},lastBoundingBox:{width:-1,height:-1}}),lh(t,"handleKeyDown",(function(e){var r,n,o,i;"Escape"===e.key&&t.setState({dismissed:!0,dismissedAtCoordinate:{x:null!==(r=null===(n=t.props.coordinate)||void 0===n?void 0:n.x)&&void 0!==r?r:0,y:null!==(o=null===(i=t.props.coordinate)||void 0===i?void 0:i.y)&&void 0!==o?o:0}})})),t}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&uh(t,e)}(e,et),oh(e,[{key:"updateBBox",value:function(){if(this.wrapperNode&&this.wrapperNode.getBoundingClientRect){var t=this.wrapperNode.getBoundingClientRect();(Math.abs(t.width-this.state.lastBoundingBox.width)>1||Math.abs(t.height-this.state.lastBoundingBox.height)>1)&&this.setState({lastBoundingBox:{width:t.width,height:t.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 t,e;this.props.active&&this.updateBBox(),this.state.dismissed&&((null===(t=this.props.coordinate)||void 0===t?void 0:t.x)===this.state.dismissedAtCoordinate.x&&(null===(e=this.props.coordinate)||void 0===e?void 0:e.y)===this.state.dismissedAtCoordinate.y||(this.state.dismissed=!1))}},{key:"render",value:function(){var t=this,e=this.props,r=e.active,n=e.allowEscapeViewBox,o=e.animationDuration,i=e.animationEasing,a=e.children,c=e.coordinate,u=e.hasPayload,l=e.isAnimationActive,s=e.offset,f=e.position,p=e.reverseDirection,d=e.useTranslate3d,h=e.viewBox,y=e.wrapperStyle,v=function(t){var e,r,n=t.allowEscapeViewBox,o=t.coordinate,i=t.offsetTopLeft,a=t.position,c=t.reverseDirection,u=t.tooltipBox,l=t.useTranslate3d,s=t.viewBox;return{cssProperties:u.height>0&&u.width>0&&o?function(t){var e=t.translateX,r=t.translateY;return{transform:t.useTranslate3d?"translate3d(".concat(e,"px, ").concat(r,"px, 0)"):"translate(".concat(e,"px, ").concat(r,"px)")}}({translateX:e=th({allowEscapeViewBox:n,coordinate:o,key:"x",offsetTopLeft:i,position:a,reverseDirection:c,tooltipDimension:u.width,viewBox:s,viewBoxDimension:s.width}),translateY:r=th({allowEscapeViewBox:n,coordinate:o,key:"y",offsetTopLeft:i,position:a,reverseDirection:c,tooltipDimension:u.height,viewBox:s,viewBoxDimension:s.height}),useTranslate3d:l}):Jd,cssClasses:Qd({translateX:e,translateY:r,coordinate:o})}}({allowEscapeViewBox:n,coordinate:c,offsetTopLeft:s,position:f,reverseDirection:p,tooltipBox:this.state.lastBoundingBox,useTranslate3d:d,viewBox:h}),m=v.cssClasses,g=v.cssProperties,b=nh(nh({transition:l&&r?"transform ".concat(o,"ms ").concat(i):void 0},g),{},{pointerEvents:"none",visibility:!this.state.dismissed&&r&&u?"visible":"hidden",position:"absolute",top:0,left:0},y);return J.createElement("div",{tabIndex:-1,className:m,style:b,ref:function(e){t.wrapperNode=e}},a)}}])}(),ph={isSsr:!("undefined"!=typeof window&&window.document&&window.document.createElement&&window.setTimeout),get:function(t){return ph[t]},set:function(t,e){if("string"==typeof t)ph[t]=e;else{var r=Object.keys(t);r&&r.length&&r.forEach((function(e){ph[e]=t[e]}))}}};function dh(t){return dh="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},dh(t)}function hh(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function yh(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?hh(Object(r),!0).forEach((function(e){xh(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):hh(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function vh(t,e,r){return e&&function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,Oh(n.key),n)}}(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}function mh(t,e,r){return e=bh(e),function(t,e){if(e&&("object"===dh(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,gh()?Reflect.construct(e,r||[],bh(t).constructor):e.apply(t,r))}function gh(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(gh=function(){return!!t})()}function bh(t){return bh=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},bh(t)}function wh(t,e){return wh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},wh(t,e)}function xh(t,e,r){return(e=Oh(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Oh(t){var e=function(t,e){if("object"!=dh(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=dh(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==dh(e)?e:e+""}function Sh(t){return t.dataKey}var jh,Ph,Ah,Mh,kh,Eh,Ch,_h,Th,Dh,Ih,Nh,Lh=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),mh(this,e,arguments)}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&wh(t,e)}(e,et),vh(e,[{key:"render",value:function(){var t=this,e=this.props,r=e.active,n=e.allowEscapeViewBox,o=e.animationDuration,i=e.animationEasing,a=e.content,c=e.coordinate,u=e.filterNull,l=e.isAnimationActive,s=e.offset,f=e.payload,p=e.payloadUniqBy,d=e.position,h=e.reverseDirection,y=e.useTranslate3d,v=e.viewBox,m=e.wrapperStyle,g=null!=f?f:[];u&&g.length&&(g=xp(f.filter((function(e){return null!=e.value&&(!0!==e.hide||t.props.includeHidden)})),p,Sh));var b=g.length>0;return J.createElement(fh,{allowEscapeViewBox:n,animationDuration:o,animationEasing:i,isAnimationActive:l,active:r,coordinate:c,hasPayload:b,offset:s,position:d,reverseDirection:h,useTranslate3d:y,viewBox:v,wrapperStyle:m},function(t,e){return J.isValidElement(t)?J.cloneElement(t,e):"function"==typeof t?J.createElement(t,e):J.createElement(Xd,e)}(a,yh(yh({},this.props),{},{payload:g})))}}])}();function Bh(){if(Eh)return kh;Eh=1;var t=function(){if(Mh)return Ah;Mh=1;var t=/\s/;return Ah=function(e){for(var r=e.length;r--&&t.test(e.charAt(r)););return r},Ah}(),e=/^\s+/;return kh=function(r){return r?r.slice(0,t(r)+1).replace(e,""):r},kh}function Rh(){if(_h)return Ch;_h=1;var t=Bh(),e=Si(),r=xi(),n=/^[-+]0x[0-9a-f]+$/i,o=/^0b[01]+$/i,i=/^0o[0-7]+$/i,a=parseInt;return Ch=function(c){if("number"==typeof c)return c;if(r(c))return NaN;if(e(c)){var u="function"==typeof c.valueOf?c.valueOf():c;c=e(u)?u+"":u}if("string"!=typeof c)return 0===c?c:+c;c=t(c);var l=o.test(c);return l||i.test(c)?a(c.slice(2),l?2:8):n.test(c)?NaN:+c}}function $h(){if(Dh)return Th;Dh=1;var t=Si(),e=function(){if(Ph)return jh;Ph=1;var t=mi();return jh=function(){return t.Date.now()}}(),r=Rh(),n=Math.max,o=Math.min;return Th=function(i,a,c){var u,l,s,f,p,d,h=0,y=!1,v=!1,m=!0;if("function"!=typeof i)throw new TypeError("Expected a function");function g(t){var e=u,r=l;return u=l=void 0,h=t,f=i.apply(r,e)}function b(t){var e=t-d;return void 0===d||e>=a||e<0||v&&t-h>=s}function w(){var t=e();if(b(t))return x(t);p=setTimeout(w,function(t){var e=a-(t-d);return v?o(e,s-(t-h)):e}(t))}function x(t){return p=void 0,m&&u?g(t):(u=l=void 0,f)}function O(){var t=e(),r=b(t);if(u=arguments,l=this,d=t,r){if(void 0===p)return function(t){return h=t,p=setTimeout(w,a),y?g(t):f}(d);if(v)return clearTimeout(p),p=setTimeout(w,a),g(d)}return void 0===p&&(p=setTimeout(w,a)),f}return a=r(a)||0,t(c)&&(y=!!c.leading,s=(v="maxWait"in c)?n(r(c.maxWait)||0,a):s,m="trailing"in c?!!c.trailing:m),O.cancel=function(){void 0!==p&&clearTimeout(p),h=0,u=d=l=p=void 0},O.flush=function(){return void 0===p?f:x(e())},O},Th}xh(Lh,"displayName","Tooltip"),xh(Lh,"defaultProps",{accessibilityLayer:!1,allowEscapeViewBox:{x:!1,y:!1},animationDuration:400,animationEasing:"ease",contentStyle:{},coordinate:{x:0,y:0},cursor:!0,cursorStyle:{},filterNull:!0,isAnimationActive:!ph.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 zh=function(){if(Nh)return Ih;Nh=1;var t=$h(),e=Si();return Ih=function(r,n,o){var i=!0,a=!0;if("function"!=typeof r)throw new TypeError("Expected a function");return e(o)&&(i="leading"in o?!!o.leading:i,a="trailing"in o?!!o.trailing:a),t(r,n,{leading:i,maxWait:n,trailing:a})}}(),Hh=Ze(zh);function Fh(t){return Fh="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Fh(t)}function Vh(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Uh(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Vh(Object(r),!0).forEach((function(e){Wh(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Vh(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Wh(t,e,r){return e=function(t){var e=function(t,e){if("object"!=Fh(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=Fh(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==Fh(e)?e:e+""}(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function qh(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e);else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return Yh(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Yh(t,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 Yh(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var Xh=rt((function(t,e){var r=t.aspect,n=t.initialDimension,o=void 0===n?{width:-1,height:-1}:n,i=t.width,a=void 0===i?"100%":i,c=t.height,u=void 0===c?"100%":c,l=t.minWidth,s=void 0===l?0:l,f=t.minHeight,p=t.maxHeight,d=t.children,h=t.debounce,y=void 0===h?0:h,v=t.id,m=t.className,g=t.onResize,b=t.style,w=void 0===b?{}:b,x=nt(null),O=nt();O.current=g,ot(e,(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=qh(it({containerWidth:o.width,containerHeight:o.height}),2),j=S[0],P=S[1],A=at((function(t,e){P((function(r){var n=Math.round(t),o=Math.round(e);return r.containerWidth===n&&r.containerHeight===o?r:{containerWidth:n,containerHeight:o}}))}),[]);ct((function(){var t=function(t){var e,r=t[0].contentRect,n=r.width,o=r.height;A(n,o),null===(e=O.current)||void 0===e||e.call(O,n,o)};y>0&&(t=Hh(t,y,{trailing:!0,leading:!1}));var e=new ResizeObserver(t),r=x.current.getBoundingClientRect(),n=r.width,o=r.height;return A(n,o),e.observe(x.current),function(){e.disconnect()}}),[A,y]);var M=ut((function(){var t=j.containerWidth,e=j.containerHeight;if(t<0||e<0)return null;Oc(va(a)||va(u),"The width(%s) and height(%s) are both fixed numbers,\n maybe you don't need to use a ResponsiveContainer.",a,u),Oc(!r||r>0,"The aspect(%s) must be greater than zero.",r);var n=va(a)?t:a,o=va(u)?e:u;r&&r>0&&(n?o=n/r:o&&(n=o*r),p&&o>p&&(o=p)),Oc(n>0||o>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,o,a,u,s,f,r);var i=!Array.isArray(d)&&Ra(d.type).endsWith("Chart");return J.Children.map(d,(function(t){return sa.isElement(t)?lt(t,Uh({width:n,height:o},i?{style:Uh({height:"100%",width:"100%",maxHeight:o,maxWidth:n},t.props.style)}:{})):t}))}),[r,d,u,p,f,s,j,a]);return J.createElement("div",{id:v?"".concat(v):void 0,className:mn("recharts-responsive-container",m),style:Uh(Uh({},w),{},{width:a,height:u,minWidth:s,minHeight:f,maxHeight:p}),ref:x},M)})),Kh=function(t){return null};function Gh(t){return Gh="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Gh(t)}function Zh(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Jh(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Zh(Object(r),!0).forEach((function(e){Qh(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Zh(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Qh(t,e,r){return e=function(t){var e=function(t,e){if("object"!=Gh(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=Gh(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==Gh(e)?e:e+""}(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}Kh.displayName="Cell";var ty={widthCache:{},cacheCount:0},ey={position:"absolute",top:"-20000px",left:0,padding:0,margin:0,border:"none",whiteSpace:"pre"},ry="recharts_measurement_span";var ny=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(null==t||ph.isSsr)return{width:0,height:0};var r,n=(r=Jh({},e),Object.keys(r).forEach((function(t){r[t]||delete r[t]})),r),o=JSON.stringify({text:t,copyStyle:n});if(ty.widthCache[o])return ty.widthCache[o];try{var i=document.getElementById(ry);i||((i=document.createElement("span")).setAttribute("id",ry),i.setAttribute("aria-hidden","true"),document.body.appendChild(i));var a=Jh(Jh({},ey),n);Object.assign(i.style,a),i.textContent="".concat(t);var c=i.getBoundingClientRect(),u={width:c.width,height:c.height};return ty.widthCache[o]=u,++ty.cacheCount>2e3&&(ty.cacheCount=0,ty.widthCache={}),u}catch(t){return{width:0,height:0}}};function oy(t){return oy="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},oy(t)}function iy(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return ay(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return ay(t,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 ay(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function cy(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,uy(n.key),n)}}function uy(t){var e=function(t,e){if("object"!=oy(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!=oy(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"==oy(e)?e:e+""}var ly=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,sy=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([+-])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,fy=/^px|cm|vh|vw|em|rem|%|mm|in|pt|pc|ex|ch|vmin|vmax|Q$/,py=/(-?\d+(?:\.\d+)?)([a-zA-Z%]+)?/,dy={cm:96/2.54,mm:96/25.4,pt:96/72,pc:16,in:96,Q:96/101.6,px:1},hy=Object.keys(dy),yy="NaN";var vy=function(){function t(e,r){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.num=e,this.unit=r,this.num=e,this.unit=r,Number.isNaN(e)&&(this.unit=""),""===r||fy.test(r)||(this.num=NaN,this.unit=""),hy.includes(r)&&(this.num=function(t,e){return t*dy[e]}(e,r),this.unit="px")}return e=t,n=[{key:"parse",value:function(e){var r,n=iy(null!==(r=py.exec(e))&&void 0!==r?r:[],3),o=n[1],i=n[2];return new t(parseFloat(o),null!=i?i:"")}}],(r=[{key:"add",value:function(e){return this.unit!==e.unit?new t(NaN,""):new t(this.num+e.num,this.unit)}},{key:"subtract",value:function(e){return this.unit!==e.unit?new t(NaN,""):new t(this.num-e.num,this.unit)}},{key:"multiply",value:function(e){return""!==this.unit&&""!==e.unit&&this.unit!==e.unit?new t(NaN,""):new t(this.num*e.num,this.unit||e.unit)}},{key:"divide",value:function(e){return""!==this.unit&&""!==e.unit&&this.unit!==e.unit?new t(NaN,""):new t(this.num/e.num,this.unit||e.unit)}},{key:"toString",value:function(){return"".concat(this.num).concat(this.unit)}},{key:"isNaN",value:function(){return Number.isNaN(this.num)}}])&&cy(e.prototype,r),n&&cy(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,r,n}();function my(t){if(t.includes(yy))return yy;for(var e=t;e.includes("*")||e.includes("/");){var r,n=iy(null!==(r=ly.exec(e))&&void 0!==r?r:[],4),o=n[1],i=n[2],a=n[3],c=vy.parse(null!=o?o:""),u=vy.parse(null!=a?a:""),l="*"===i?c.multiply(u):c.divide(u);if(l.isNaN())return yy;e=e.replace(ly,l.toString())}for(;e.includes("+")||/.-\d+(?:\.\d+)?/.test(e);){var s,f=iy(null!==(s=sy.exec(e))&&void 0!==s?s:[],4),p=f[1],d=f[2],h=f[3],y=vy.parse(null!=p?p:""),v=vy.parse(null!=h?h:""),m="+"===d?y.add(v):y.subtract(v);if(m.isNaN())return yy;e=e.replace(sy,m.toString())}return e}var gy=/\(([^()]*)\)/;function by(t){var e=t.replace(/\s+/g,"");return e=function(t){for(var e=t;e.includes("(");){var r=iy(gy.exec(e),2)[1];e=e.replace(gy,my(r))}return e}(e),e=my(e)}function wy(t){var e=function(t){try{return by(t)}catch(t){return yy}}(t.slice(5,-1));return e===yy?"":e}var xy=["x","y","lineHeight","capHeight","scaleToFit","textAnchor","verticalAnchor","fill"],Oy=["dx","dy","angle","className","breakAll"];function Sy(){return Sy=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},Sy.apply(this,arguments)}function jy(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function Py(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return Ay(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Ay(t,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 Ay(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var My=/[ \f\n\r\t\v\u2028\u2029]+/,ky=function(t){var e=t.children,r=t.breakAll,n=t.style;try{var o=[];return Ki(e)||(o=r?e.toString().split(""):e.toString().split(My)),{wordsWithComputedWidth:o.map((function(t){return{word:t,width:ny(t,n).width}})),spaceWidth:r?0:ny(" ",n).width}}catch(t){return null}},Ey=function(t){return[{words:Ki(t)?[]:t.toString().split(My)}]},Cy=function(t){var e=t.width,r=t.scaleToFit,n=t.children,o=t.style,i=t.breakAll,a=t.maxLines;if((e||r)&&!ph.isSsr){var c=ky({breakAll:i,children:n,style:o});return c?function(t,e,r,n,o){var i=t.maxLines,a=t.children,c=t.style,u=t.breakAll,l=ma(i),s=a,f=function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).reduce((function(t,e){var i=e.word,a=e.width,c=t[t.length-1];if(c&&(null==n||o||c.width+a+r<Number(n)))c.words.push(i),c.width+=a+r;else{var u={words:[i],width:a};t.push(u)}return t}),[])},p=f(e);if(!l)return p;for(var d,h=function(t){var e=s.slice(0,t),r=ky({breakAll:u,style:c,children:e+"…"}).wordsWithComputedWidth,o=f(r),a=o.length>i||function(t){return t.reduce((function(t,e){return t.width>e.width?t:e}))}(o).width>Number(n);return[a,o]},y=0,v=s.length-1,m=0;y<=v&&m<=s.length-1;){var g=Math.floor((y+v)/2),b=Py(h(g-1),2),w=b[0],x=b[1],O=Py(h(g),1)[0];if(w||O||(y=g+1),w&&O&&(v=g-1),!w&&O){d=x;break}m++}return d||p}({breakAll:i,children:n,maxLines:a,style:o},c.wordsWithComputedWidth,c.spaceWidth,e,r):Ey(n)}return Ey(n)},_y="#808080",Ty=function(t){var e=t.x,r=void 0===e?0:e,n=t.y,o=void 0===n?0:n,i=t.lineHeight,a=void 0===i?"1em":i,c=t.capHeight,u=void 0===c?"0.71em":c,l=t.scaleToFit,s=void 0!==l&&l,f=t.textAnchor,p=void 0===f?"start":f,d=t.verticalAnchor,h=void 0===d?"end":d,y=t.fill,v=void 0===y?_y:y,m=jy(t,xy),g=ut((function(){return Cy({breakAll:m.breakAll,children:m.children,maxLines:m.maxLines,scaleToFit:s,style:m.style,width:m.width})}),[m.breakAll,m.children,m.maxLines,s,m.style,m.width]),b=m.dx,w=m.dy,x=m.angle,O=m.className,S=m.breakAll,j=jy(m,Oy);if(!ga(r)||!ga(o))return null;var P,A=r+(ma(b)?b:0),M=o+(ma(w)?w:0);switch(h){case"start":P=wy("calc(".concat(u,")"));break;case"middle":P=wy("calc(".concat((g.length-1)/2," * -").concat(a," + (").concat(u," / 2))"));break;default:P=wy("calc(".concat(g.length-1," * -").concat(a,")"))}var k=[];if(s){var E=g[0].width,C=m.width;k.push("scale(".concat((ma(C)?C/E:1)/E,")"))}return x&&k.push("rotate(".concat(x,", ").concat(A,", ").concat(M,")")),k.length&&(j.transform=k.join(" ")),J.createElement("text",Sy({},Ya(j,!0),{x:A,y:M,className:mn("recharts-text",O),textAnchor:p,fill:v.includes("url")?_y:v}),g.map((function(t,e){var r=t.words.join(S?"":" ");return J.createElement("tspan",{x:A,dy:0===e?P:a,key:"".concat(r,"-").concat(e)},r)})))};function Dy(t,e){return null==t||null==e?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function Iy(t,e){return null==t||null==e?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function Ny(t){let e,r,n;function o(t,n,o=0,i=t.length){if(o<i){if(0!==e(n,n))return i;do{const e=o+i>>>1;r(t[e],n)<0?o=e+1:i=e}while(o<i)}return o}return 2!==t.length?(e=Dy,r=(e,r)=>Dy(t(e),r),n=(e,r)=>t(e)-r):(e=t===Dy||t===Iy?t:Ly,r=t,n=t),{left:o,center:function(t,e,r=0,i=t.length){const a=o(t,e,r,i-1);return a>r&&n(t[a-1],e)>-n(t[a],e)?a-1:a},right:function(t,n,o=0,i=t.length){if(o<i){if(0!==e(n,n))return i;do{const e=o+i>>>1;r(t[e],n)<=0?o=e+1:i=e}while(o<i)}return o}}}function Ly(){return 0}function By(t){return null===t?NaN:+t}const Ry=Ny(Dy).right;Ny(By).center;class $y extends Map{constructor(t,e=Hy){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:e}}),null!=t)for(const[e,r]of t)this.set(e,r)}get(t){return super.get(zy(this,t))}has(t){return super.has(zy(this,t))}set(t,e){return super.set(function({_intern:t,_key:e},r){const n=e(r);return t.has(n)?t.get(n):(t.set(n,r),r)}(this,t),e)}delete(t){return super.delete(function({_intern:t,_key:e},r){const n=e(r);t.has(n)&&(r=t.get(n),t.delete(n));return r}(this,t))}}function zy({_intern:t,_key:e},r){const n=e(r);return t.has(n)?t.get(n):r}function Hy(t){return null!==t&&"object"==typeof t?t.valueOf():t}function Fy(t,e){return(null==t||!(t>=t))-(null==e||!(e>=e))||(t<e?-1:t>e?1:0)}const Vy=Math.sqrt(50),Uy=Math.sqrt(10),Wy=Math.sqrt(2);function qy(t,e,r){const n=(e-t)/Math.max(0,r),o=Math.floor(Math.log10(n)),i=n/Math.pow(10,o),a=i>=Vy?10:i>=Uy?5:i>=Wy?2:1;let c,u,l;return o<0?(l=Math.pow(10,-o)/a,c=Math.round(t*l),u=Math.round(e*l),c/l<t&&++c,u/l>e&&--u,l=-l):(l=Math.pow(10,o)*a,c=Math.round(t/l),u=Math.round(e/l),c*l<t&&++c,u*l>e&&--u),u<c&&.5<=r&&r<2?qy(t,e,2*r):[c,u,l]}function Yy(t,e,r){if(!((r=+r)>0))return[];if((t=+t)===(e=+e))return[t];const n=e<t,[o,i,a]=n?qy(e,t,r):qy(t,e,r);if(!(i>=o))return[];const c=i-o+1,u=new Array(c);if(n)if(a<0)for(let t=0;t<c;++t)u[t]=(i-t)/-a;else for(let t=0;t<c;++t)u[t]=(i-t)*a;else if(a<0)for(let t=0;t<c;++t)u[t]=(o+t)/-a;else for(let t=0;t<c;++t)u[t]=(o+t)*a;return u}function Xy(t,e,r){return qy(t=+t,e=+e,r=+r)[2]}function Ky(t,e,r){r=+r;const n=(e=+e)<(t=+t),o=n?Xy(e,t,r):Xy(t,e,r);return(n?-1:1)*(o<0?1/-o:o)}function Gy(t,e){let r;for(const e of t)null!=e&&(r<e||void 0===r&&e>=e)&&(r=e);return r}function Zy(t,e){let r;for(const e of t)null!=e&&(r>e||void 0===r&&e>=e)&&(r=e);return r}function Jy(t,e,r=0,n=1/0,o){if(e=Math.floor(e),r=Math.floor(Math.max(0,r)),n=Math.floor(Math.min(t.length-1,n)),!(r<=e&&e<=n))return t;for(o=void 0===o?Fy:function(t=Dy){if(t===Dy)return Fy;if("function"!=typeof t)throw new TypeError("compare is not a function");return(e,r)=>{const n=t(e,r);return n||0===n?n:(0===t(r,r))-(0===t(e,e))}}(o);n>r;){if(n-r>600){const i=n-r+1,a=e-r+1,c=Math.log(i),u=.5*Math.exp(2*c/3),l=.5*Math.sqrt(c*u*(i-u)/i)*(a-i/2<0?-1:1);Jy(t,e,Math.max(r,Math.floor(e-a*u/i+l)),Math.min(n,Math.floor(e+(i-a)*u/i+l)),o)}const i=t[e];let a=r,c=n;for(Qy(t,r,e),o(t[n],i)>0&&Qy(t,r,n);a<c;){for(Qy(t,a,c),++a,--c;o(t[a],i)<0;)++a;for(;o(t[c],i)>0;)--c}0===o(t[r],i)?Qy(t,r,c):(++c,Qy(t,c,n)),c<=e&&(r=c+1),e<=c&&(n=c-1)}return t}function Qy(t,e,r){const n=t[e];t[e]=t[r],t[r]=n}function tv(t,e,r=By){if((n=t.length)&&!isNaN(e=+e)){if(e<=0||n<2)return+r(t[0],0,t);if(e>=1)return+r(t[n-1],n-1,t);var n,o=(n-1)*e,i=Math.floor(o),a=+r(t[i],i,t);return a+(+r(t[i+1],i+1,t)-a)*(o-i)}}function ev(t,e){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(e).domain(t)}return this}function rv(t,e){switch(arguments.length){case 0:break;case 1:"function"==typeof t?this.interpolator(t):this.range(t);break;default:this.domain(t),"function"==typeof e?this.interpolator(e):this.range(e)}return this}const nv=Symbol("implicit");function ov(){var t=new $y,e=[],r=[],n=nv;function o(o){let i=t.get(o);if(void 0===i){if(n!==nv)return n;t.set(o,i=e.push(o)-1)}return r[i%r.length]}return o.domain=function(r){if(!arguments.length)return e.slice();e=[],t=new $y;for(const n of r)t.has(n)||t.set(n,e.push(n)-1);return o},o.range=function(t){return arguments.length?(r=Array.from(t),o):r.slice()},o.unknown=function(t){return arguments.length?(n=t,o):n},o.copy=function(){return ov(e,r).unknown(n)},ev.apply(o,arguments),o}function iv(){var t,e,r=ov().unknown(void 0),n=r.domain,o=r.range,i=0,a=1,c=!1,u=0,l=0,s=.5;function f(){var r=n().length,f=a<i,p=f?a:i,d=f?i:a;t=(d-p)/Math.max(1,r-u+2*l),c&&(t=Math.floor(t)),p+=(d-p-t*(r-u))*s,e=t*(1-u),c&&(p=Math.round(p),e=Math.round(e));var h=function(t,e,r){t=+t,e=+e,r=(o=arguments.length)<2?(e=t,t=0,1):o<3?1:+r;for(var n=-1,o=0|Math.max(0,Math.ceil((e-t)/r)),i=new Array(o);++n<o;)i[n]=t+n*r;return i}(r).map((function(e){return p+t*e}));return o(f?h.reverse():h)}return delete r.unknown,r.domain=function(t){return arguments.length?(n(t),f()):n()},r.range=function(t){return arguments.length?([i,a]=t,i=+i,a=+a,f()):[i,a]},r.rangeRound=function(t){return[i,a]=t,i=+i,a=+a,c=!0,f()},r.bandwidth=function(){return e},r.step=function(){return t},r.round=function(t){return arguments.length?(c=!!t,f()):c},r.padding=function(t){return arguments.length?(u=Math.min(1,l=+t),f()):u},r.paddingInner=function(t){return arguments.length?(u=Math.min(1,t),f()):u},r.paddingOuter=function(t){return arguments.length?(l=+t,f()):l},r.align=function(t){return arguments.length?(s=Math.max(0,Math.min(1,t)),f()):s},r.copy=function(){return iv(n(),[i,a]).round(c).paddingInner(u).paddingOuter(l).align(s)},ev.apply(f(),arguments)}function av(t){var e=t.copy;return t.padding=t.paddingOuter,delete t.paddingInner,delete t.paddingOuter,t.copy=function(){return av(e())},t}function cv(){return av(iv.apply(null,arguments).paddingInner(1))}function uv(t,e,r){t.prototype=e.prototype=r,r.constructor=t}function lv(t,e){var r=Object.create(t.prototype);for(var n in e)r[n]=e[n];return r}function sv(){}var fv=.7,pv=1/fv,dv="\\s*([+-]?\\d+)\\s*",hv="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",yv="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",vv=/^#([0-9a-f]{3,8})$/,mv=new RegExp(`^rgb\\(${dv},${dv},${dv}\\)$`),gv=new RegExp(`^rgb\\(${yv},${yv},${yv}\\)$`),bv=new RegExp(`^rgba\\(${dv},${dv},${dv},${hv}\\)$`),wv=new RegExp(`^rgba\\(${yv},${yv},${yv},${hv}\\)$`),xv=new RegExp(`^hsl\\(${hv},${yv},${yv}\\)$`),Ov=new RegExp(`^hsla\\(${hv},${yv},${yv},${hv}\\)$`),Sv={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 jv(){return this.rgb().formatHex()}function Pv(){return this.rgb().formatRgb()}function Av(t){var e,r;return t=(t+"").trim().toLowerCase(),(e=vv.exec(t))?(r=e[1].length,e=parseInt(e[1],16),6===r?Mv(e):3===r?new Cv(e>>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):8===r?kv(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===r?kv(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|240&e,((15&e)<<4|15&e)/255):null):(e=mv.exec(t))?new Cv(e[1],e[2],e[3],1):(e=gv.exec(t))?new Cv(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=bv.exec(t))?kv(e[1],e[2],e[3],e[4]):(e=wv.exec(t))?kv(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=xv.exec(t))?Lv(e[1],e[2]/100,e[3]/100,1):(e=Ov.exec(t))?Lv(e[1],e[2]/100,e[3]/100,e[4]):Sv.hasOwnProperty(t)?Mv(Sv[t]):"transparent"===t?new Cv(NaN,NaN,NaN,0):null}function Mv(t){return new Cv(t>>16&255,t>>8&255,255&t,1)}function kv(t,e,r,n){return n<=0&&(t=e=r=NaN),new Cv(t,e,r,n)}function Ev(t,e,r,n){return 1===arguments.length?((o=t)instanceof sv||(o=Av(o)),o?new Cv((o=o.rgb()).r,o.g,o.b,o.opacity):new Cv):new Cv(t,e,r,null==n?1:n);var o}function Cv(t,e,r,n){this.r=+t,this.g=+e,this.b=+r,this.opacity=+n}function _v(){return`#${Nv(this.r)}${Nv(this.g)}${Nv(this.b)}`}function Tv(){const t=Dv(this.opacity);return`${1===t?"rgb(":"rgba("}${Iv(this.r)}, ${Iv(this.g)}, ${Iv(this.b)}${1===t?")":`, ${t})`}`}function Dv(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function Iv(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function Nv(t){return((t=Iv(t))<16?"0":"")+t.toString(16)}function Lv(t,e,r,n){return n<=0?t=e=r=NaN:r<=0||r>=1?t=e=NaN:e<=0&&(t=NaN),new Rv(t,e,r,n)}function Bv(t){if(t instanceof Rv)return new Rv(t.h,t.s,t.l,t.opacity);if(t instanceof sv||(t=Av(t)),!t)return new Rv;if(t instanceof Rv)return t;var e=(t=t.rgb()).r/255,r=t.g/255,n=t.b/255,o=Math.min(e,r,n),i=Math.max(e,r,n),a=NaN,c=i-o,u=(i+o)/2;return c?(a=e===i?(r-n)/c+6*(r<n):r===i?(n-e)/c+2:(e-r)/c+4,c/=u<.5?i+o:2-i-o,a*=60):c=u>0&&u<1?0:a,new Rv(a,c,u,t.opacity)}function Rv(t,e,r,n){this.h=+t,this.s=+e,this.l=+r,this.opacity=+n}function $v(t){return(t=(t||0)%360)<0?t+360:t}function zv(t){return Math.max(0,Math.min(1,t||0))}function Hv(t,e,r){return 255*(t<60?e+(r-e)*t/60:t<180?r:t<240?e+(r-e)*(240-t)/60:e)}uv(sv,Av,{copy(t){return Object.assign(new this.constructor,this,t)},displayable(){return this.rgb().displayable()},hex:jv,formatHex:jv,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return Bv(this).formatHsl()},formatRgb:Pv,toString:Pv}),uv(Cv,Ev,lv(sv,{brighter(t){return t=null==t?pv:Math.pow(pv,t),new Cv(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=null==t?fv:Math.pow(fv,t),new Cv(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new Cv(Iv(this.r),Iv(this.g),Iv(this.b),Dv(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:_v,formatHex:_v,formatHex8:function(){return`#${Nv(this.r)}${Nv(this.g)}${Nv(this.b)}${Nv(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:Tv,toString:Tv})),uv(Rv,(function(t,e,r,n){return 1===arguments.length?Bv(t):new Rv(t,e,r,null==n?1:n)}),lv(sv,{brighter(t){return t=null==t?pv:Math.pow(pv,t),new Rv(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=null==t?fv:Math.pow(fv,t),new Rv(this.h,this.s,this.l*t,this.opacity)},rgb(){var t=this.h%360+360*(this.h<0),e=isNaN(t)||isNaN(this.s)?0:this.s,r=this.l,n=r+(r<.5?r:1-r)*e,o=2*r-n;return new Cv(Hv(t>=240?t-240:t+120,o,n),Hv(t,o,n),Hv(t<120?t+240:t-120,o,n),this.opacity)},clamp(){return new Rv($v(this.h),zv(this.s),zv(this.l),Dv(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 t=Dv(this.opacity);return`${1===t?"hsl(":"hsla("}${$v(this.h)}, ${100*zv(this.s)}%, ${100*zv(this.l)}%${1===t?")":`, ${t})`}`}}));var Fv=t=>()=>t;function Vv(t){return 1==(t=+t)?Uv:function(e,r){return r-e?function(t,e,r){return t=Math.pow(t,r),e=Math.pow(e,r)-t,r=1/r,function(n){return Math.pow(t+n*e,r)}}(e,r,t):Fv(isNaN(e)?r:e)}}function Uv(t,e){var r=e-t;return r?function(t,e){return function(r){return t+r*e}}(t,r):Fv(isNaN(t)?e:t)}var Wv=function t(e){var r=Vv(e);function n(t,e){var n=r((t=Ev(t)).r,(e=Ev(e)).r),o=r(t.g,e.g),i=r(t.b,e.b),a=Uv(t.opacity,e.opacity);return function(e){return t.r=n(e),t.g=o(e),t.b=i(e),t.opacity=a(e),t+""}}return n.gamma=t,n}(1);function qv(t,e){e||(e=[]);var r,n=t?Math.min(e.length,t.length):0,o=e.slice();return function(i){for(r=0;r<n;++r)o[r]=t[r]*(1-i)+e[r]*i;return o}}function Yv(t,e){var r,n=e?e.length:0,o=t?Math.min(n,t.length):0,i=new Array(o),a=new Array(n);for(r=0;r<o;++r)i[r]=tm(t[r],e[r]);for(;r<n;++r)a[r]=e[r];return function(t){for(r=0;r<o;++r)a[r]=i[r](t);return a}}function Xv(t,e){var r=new Date;return t=+t,e=+e,function(n){return r.setTime(t*(1-n)+e*n),r}}function Kv(t,e){return t=+t,e=+e,function(r){return t*(1-r)+e*r}}function Gv(t,e){var r,n={},o={};for(r in null!==t&&"object"==typeof t||(t={}),null!==e&&"object"==typeof e||(e={}),e)r in t?n[r]=tm(t[r],e[r]):o[r]=e[r];return function(t){for(r in n)o[r]=n[r](t);return o}}var Zv=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Jv=new RegExp(Zv.source,"g");function Qv(t,e){var r,n,o,i=Zv.lastIndex=Jv.lastIndex=0,a=-1,c=[],u=[];for(t+="",e+="";(r=Zv.exec(t))&&(n=Jv.exec(e));)(o=n.index)>i&&(o=e.slice(i,o),c[a]?c[a]+=o:c[++a]=o),(r=r[0])===(n=n[0])?c[a]?c[a]+=n:c[++a]=n:(c[++a]=null,u.push({i:a,x:Kv(r,n)})),i=Jv.lastIndex;return i<e.length&&(o=e.slice(i),c[a]?c[a]+=o:c[++a]=o),c.length<2?u[0]?function(t){return function(e){return t(e)+""}}(u[0].x):function(t){return function(){return t}}(e):(e=u.length,function(t){for(var r,n=0;n<e;++n)c[(r=u[n]).i]=r.x(t);return c.join("")})}function tm(t,e){var r,n=typeof e;return null==e||"boolean"===n?Fv(e):("number"===n?Kv:"string"===n?(r=Av(e))?(e=r,Wv):Qv:e instanceof Av?Wv:e instanceof Date?Xv:function(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}(e)?qv:Array.isArray(e)?Yv:"function"!=typeof e.valueOf&&"function"!=typeof e.toString||isNaN(e)?Gv:Kv)(t,e)}function em(t,e){return t=+t,e=+e,function(r){return Math.round(t*(1-r)+e*r)}}function rm(t,e){void 0===e&&(e=t,t=tm);for(var r=0,n=e.length-1,o=e[0],i=new Array(n<0?0:n);r<n;)i[r]=t(o,o=e[++r]);return function(t){var e=Math.max(0,Math.min(n-1,Math.floor(t*=n)));return i[e](t-e)}}function nm(t){return+t}var om=[0,1];function im(t){return t}function am(t,e){return(e-=t=+t)?function(r){return(r-t)/e}:function(t){return function(){return t}}(isNaN(e)?NaN:.5)}function cm(t,e,r){var n=t[0],o=t[1],i=e[0],a=e[1];return o<n?(n=am(o,n),i=r(a,i)):(n=am(n,o),i=r(i,a)),function(t){return i(n(t))}}function um(t,e,r){var n=Math.min(t.length,e.length)-1,o=new Array(n),i=new Array(n),a=-1;for(t[n]<t[0]&&(t=t.slice().reverse(),e=e.slice().reverse());++a<n;)o[a]=am(t[a],t[a+1]),i[a]=r(e[a],e[a+1]);return function(e){var r=Ry(t,e,1,n)-1;return i[r](o[r](e))}}function lm(t,e){return e.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp()).unknown(t.unknown())}function sm(){var t,e,r,n,o,i,a=om,c=om,u=tm,l=im;function s(){var t=Math.min(a.length,c.length);return l!==im&&(l=function(t,e){var r;return t>e&&(r=t,t=e,e=r),function(r){return Math.max(t,Math.min(e,r))}}(a[0],a[t-1])),n=t>2?um:cm,o=i=null,f}function f(e){return null==e||isNaN(e=+e)?r:(o||(o=n(a.map(t),c,u)))(t(l(e)))}return f.invert=function(r){return l(e((i||(i=n(c,a.map(t),Kv)))(r)))},f.domain=function(t){return arguments.length?(a=Array.from(t,nm),s()):a.slice()},f.range=function(t){return arguments.length?(c=Array.from(t),s()):c.slice()},f.rangeRound=function(t){return c=Array.from(t),u=em,s()},f.clamp=function(t){return arguments.length?(l=!!t||im,s()):l!==im},f.interpolate=function(t){return arguments.length?(u=t,s()):u},f.unknown=function(t){return arguments.length?(r=t,f):r},function(r,n){return t=r,e=n,s()}}function fm(){return sm()(im,im)}function pm(t,e){if((r=(t=e?t.toExponential(e-1):t.toExponential()).indexOf("e"))<0)return null;var r,n=t.slice(0,r);return[n.length>1?n[0]+n.slice(2):n,+t.slice(r+1)]}function dm(t){return(t=pm(Math.abs(t)))?t[1]:NaN}var hm,ym=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function vm(t){if(!(e=ym.exec(t)))throw new Error("invalid format: "+t);var e;return new mm({fill:e[1],align:e[2],sign:e[3],symbol:e[4],zero:e[5],width:e[6],comma:e[7],precision:e[8]&&e[8].slice(1),trim:e[9],type:e[10]})}function mm(t){this.fill=void 0===t.fill?" ":t.fill+"",this.align=void 0===t.align?">":t.align+"",this.sign=void 0===t.sign?"-":t.sign+"",this.symbol=void 0===t.symbol?"":t.symbol+"",this.zero=!!t.zero,this.width=void 0===t.width?void 0:+t.width,this.comma=!!t.comma,this.precision=void 0===t.precision?void 0:+t.precision,this.trim=!!t.trim,this.type=void 0===t.type?"":t.type+""}function gm(t,e){var r=pm(t,e);if(!r)return t+"";var n=r[0],o=r[1];return o<0?"0."+new Array(-o).join("0")+n:n.length>o+1?n.slice(0,o+1)+"."+n.slice(o+1):n+new Array(o-n.length+2).join("0")}vm.prototype=mm.prototype,mm.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 bm={"%":(t,e)=>(100*t).toFixed(e),b:t=>Math.round(t).toString(2),c:t=>t+"",d:function(t){return Math.abs(t=Math.round(t))>=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)},e:(t,e)=>t.toExponential(e),f:(t,e)=>t.toFixed(e),g:(t,e)=>t.toPrecision(e),o:t=>Math.round(t).toString(8),p:(t,e)=>gm(100*t,e),r:gm,s:function(t,e){var r=pm(t,e);if(!r)return t+"";var n=r[0],o=r[1],i=o-(hm=3*Math.max(-8,Math.min(8,Math.floor(o/3))))+1,a=n.length;return i===a?n:i>a?n+new Array(i-a+1).join("0"):i>0?n.slice(0,i)+"."+n.slice(i):"0."+new Array(1-i).join("0")+pm(t,Math.max(0,e+i-1))[0]},X:t=>Math.round(t).toString(16).toUpperCase(),x:t=>Math.round(t).toString(16)};function wm(t){return t}var xm,Om,Sm,jm=Array.prototype.map,Pm=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function Am(t){var e,r,n=void 0===t.grouping||void 0===t.thousands?wm:(e=jm.call(t.grouping,Number),r=t.thousands+"",function(t,n){for(var o=t.length,i=[],a=0,c=e[0],u=0;o>0&&c>0&&(u+c+1>n&&(c=Math.max(1,n-u)),i.push(t.substring(o-=c,o+c)),!((u+=c+1)>n));)c=e[a=(a+1)%e.length];return i.reverse().join(r)}),o=void 0===t.currency?"":t.currency[0]+"",i=void 0===t.currency?"":t.currency[1]+"",a=void 0===t.decimal?".":t.decimal+"",c=void 0===t.numerals?wm:function(t){return function(e){return e.replace(/[0-9]/g,(function(e){return t[+e]}))}}(jm.call(t.numerals,String)),u=void 0===t.percent?"%":t.percent+"",l=void 0===t.minus?"−":t.minus+"",s=void 0===t.nan?"NaN":t.nan+"";function f(t){var e=(t=vm(t)).fill,r=t.align,f=t.sign,p=t.symbol,d=t.zero,h=t.width,y=t.comma,v=t.precision,m=t.trim,g=t.type;"n"===g?(y=!0,g="g"):bm[g]||(void 0===v&&(v=12),m=!0,g="g"),(d||"0"===e&&"="===r)&&(d=!0,e="0",r="=");var b="$"===p?o:"#"===p&&/[boxX]/.test(g)?"0"+g.toLowerCase():"",w="$"===p?i:/[%p]/.test(g)?u:"",x=bm[g],O=/[defgprs%]/.test(g);function S(t){var o,i,u,p=b,S=w;if("c"===g)S=x(t)+S,t="";else{var j=(t=+t)<0||1/t<0;if(t=isNaN(t)?s:x(Math.abs(t),v),m&&(t=function(t){t:for(var e,r=t.length,n=1,o=-1;n<r;++n)switch(t[n]){case".":o=e=n;break;case"0":0===o&&(o=n),e=n;break;default:if(!+t[n])break t;o>0&&(o=0)}return o>0?t.slice(0,o)+t.slice(e+1):t}(t)),j&&0==+t&&"+"!==f&&(j=!1),p=(j?"("===f?f:l:"-"===f||"("===f?"":f)+p,S=("s"===g?Pm[8+hm/3]:"")+S+(j&&"("===f?")":""),O)for(o=-1,i=t.length;++o<i;)if(48>(u=t.charCodeAt(o))||u>57){S=(46===u?a+t.slice(o+1):t.slice(o))+S,t=t.slice(0,o);break}}y&&!d&&(t=n(t,1/0));var P=p.length+t.length+S.length,A=P<h?new Array(h-P+1).join(e):"";switch(y&&d&&(t=n(A+t,A.length?h-S.length:1/0),A=""),r){case"<":t=p+t+S+A;break;case"=":t=p+A+t+S;break;case"^":t=A.slice(0,P=A.length>>1)+p+t+S+A.slice(P);break;default:t=A+p+t+S}return c(t)}return v=void 0===v?6:/[gprs]/.test(g)?Math.max(1,Math.min(21,v)):Math.max(0,Math.min(20,v)),S.toString=function(){return t+""},S}return{format:f,formatPrefix:function(t,e){var r=f(((t=vm(t)).type="f",t)),n=3*Math.max(-8,Math.min(8,Math.floor(dm(e)/3))),o=Math.pow(10,-n),i=Pm[8+n/3];return function(t){return r(o*t)+i}}}}function Mm(t,e,r,n){var o,i=Ky(t,e,r);switch((n=vm(null==n?",f":n)).type){case"s":var a=Math.max(Math.abs(t),Math.abs(e));return null!=n.precision||isNaN(o=function(t,e){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(dm(e)/3)))-dm(Math.abs(t)))}(i,a))||(n.precision=o),Sm(n,a);case"":case"e":case"g":case"p":case"r":null!=n.precision||isNaN(o=function(t,e){return t=Math.abs(t),e=Math.abs(e)-t,Math.max(0,dm(e)-dm(t))+1}(i,Math.max(Math.abs(t),Math.abs(e))))||(n.precision=o-("e"===n.type));break;case"f":case"%":null!=n.precision||isNaN(o=function(t){return Math.max(0,-dm(Math.abs(t)))}(i))||(n.precision=o-2*("%"===n.type))}return Om(n)}function km(t){var e=t.domain;return t.ticks=function(t){var r=e();return Yy(r[0],r[r.length-1],null==t?10:t)},t.tickFormat=function(t,r){var n=e();return Mm(n[0],n[n.length-1],null==t?10:t,r)},t.nice=function(r){null==r&&(r=10);var n,o,i=e(),a=0,c=i.length-1,u=i[a],l=i[c],s=10;for(l<u&&(o=u,u=l,l=o,o=a,a=c,c=o);s-- >0;){if((o=Xy(u,l,r))===n)return i[a]=u,i[c]=l,e(i);if(o>0)u=Math.floor(u/o)*o,l=Math.ceil(l/o)*o;else{if(!(o<0))break;u=Math.ceil(u*o)/o,l=Math.floor(l*o)/o}n=o}return t},t}function Em(){var t=fm();return t.copy=function(){return lm(t,Em())},ev.apply(t,arguments),km(t)}function Cm(t,e){var r,n=0,o=(t=t.slice()).length-1,i=t[n],a=t[o];return a<i&&(r=n,n=o,o=r,r=i,i=a,a=r),t[n]=e.floor(i),t[o]=e.ceil(a),t}function _m(t){return Math.log(t)}function Tm(t){return Math.exp(t)}function Dm(t){return-Math.log(-t)}function Im(t){return-Math.exp(-t)}function Nm(t){return isFinite(t)?+("1e"+t):t<0?0:t}function Lm(t){return(e,r)=>-t(-e,r)}function Bm(t){const e=t(_m,Tm),r=e.domain;let n,o,i=10;function a(){return n=function(t){return t===Math.E?Math.log:10===t&&Math.log10||2===t&&Math.log2||(t=Math.log(t),e=>Math.log(e)/t)}(i),o=function(t){return 10===t?Nm:t===Math.E?Math.exp:e=>Math.pow(t,e)}(i),r()[0]<0?(n=Lm(n),o=Lm(o),t(Dm,Im)):t(_m,Tm),e}return e.base=function(t){return arguments.length?(i=+t,a()):i},e.domain=function(t){return arguments.length?(r(t),a()):r()},e.ticks=t=>{const e=r();let a=e[0],c=e[e.length-1];const u=c<a;u&&([a,c]=[c,a]);let l,s,f=n(a),p=n(c);const d=null==t?10:+t;let h=[];if(!(i%1)&&p-f<d){if(f=Math.floor(f),p=Math.ceil(p),a>0){for(;f<=p;++f)for(l=1;l<i;++l)if(s=f<0?l/o(-f):l*o(f),!(s<a)){if(s>c)break;h.push(s)}}else for(;f<=p;++f)for(l=i-1;l>=1;--l)if(s=f>0?l/o(-f):l*o(f),!(s<a)){if(s>c)break;h.push(s)}2*h.length<d&&(h=Yy(a,c,d))}else h=Yy(f,p,Math.min(p-f,d)).map(o);return u?h.reverse():h},e.tickFormat=(t,r)=>{if(null==t&&(t=10),null==r&&(r=10===i?"s":","),"function"!=typeof r&&(i%1||null!=(r=vm(r)).precision||(r.trim=!0),r=Om(r)),t===1/0)return r;const a=Math.max(1,i*t/e.ticks().length);return t=>{let e=t/o(Math.round(n(t)));return e*i<i-.5&&(e*=i),e<=a?r(t):""}},e.nice=()=>r(Cm(r(),{floor:t=>o(Math.floor(n(t))),ceil:t=>o(Math.ceil(n(t)))})),e}function Rm(t){return function(e){return Math.sign(e)*Math.log1p(Math.abs(e/t))}}function $m(t){return function(e){return Math.sign(e)*Math.expm1(Math.abs(e))*t}}function zm(t){var e=1,r=t(Rm(e),$m(e));return r.constant=function(r){return arguments.length?t(Rm(e=+r),$m(e)):e},km(r)}function Hm(t){return function(e){return e<0?-Math.pow(-e,t):Math.pow(e,t)}}function Fm(t){return t<0?-Math.sqrt(-t):Math.sqrt(t)}function Vm(t){return t<0?-t*t:t*t}function Um(t){var e=t(im,im),r=1;return e.exponent=function(e){return arguments.length?1===(r=+e)?t(im,im):.5===r?t(Fm,Vm):t(Hm(r),Hm(1/r)):r},km(e)}function Wm(){var t=Um(sm());return t.copy=function(){return lm(t,Wm()).exponent(t.exponent())},ev.apply(t,arguments),t}function qm(t){return Math.sign(t)*t*t}xm=Am({thousands:",",grouping:[3],currency:["$",""]}),Om=xm.format,Sm=xm.formatPrefix;const Ym=new Date,Xm=new Date;function Km(t,e,r,n){function o(e){return t(e=0===arguments.length?new Date:new Date(+e)),e}return o.floor=e=>(t(e=new Date(+e)),e),o.ceil=r=>(t(r=new Date(r-1)),e(r,1),t(r),r),o.round=t=>{const e=o(t),r=o.ceil(t);return t-e<r-t?e:r},o.offset=(t,r)=>(e(t=new Date(+t),null==r?1:Math.floor(r)),t),o.range=(r,n,i)=>{const a=[];if(r=o.ceil(r),i=null==i?1:Math.floor(i),!(r<n&&i>0))return a;let c;do{a.push(c=new Date(+r)),e(r,i),t(r)}while(c<r&&r<n);return a},o.filter=r=>Km((e=>{if(e>=e)for(;t(e),!r(e);)e.setTime(e-1)}),((t,n)=>{if(t>=t)if(n<0)for(;++n<=0;)for(;e(t,-1),!r(t););else for(;--n>=0;)for(;e(t,1),!r(t););})),r&&(o.count=(e,n)=>(Ym.setTime(+e),Xm.setTime(+n),t(Ym),t(Xm),Math.floor(r(Ym,Xm))),o.every=t=>(t=Math.floor(t),isFinite(t)&&t>0?t>1?o.filter(n?e=>n(e)%t==0:e=>o.count(0,e)%t==0):o:null)),o}const Gm=Km((()=>{}),((t,e)=>{t.setTime(+t+e)}),((t,e)=>e-t));Gm.every=t=>(t=Math.floor(t),isFinite(t)&&t>0?t>1?Km((e=>{e.setTime(Math.floor(e/t)*t)}),((e,r)=>{e.setTime(+e+r*t)}),((e,r)=>(r-e)/t)):Gm:null),Gm.range;const Zm=1e3,Jm=6e4,Qm=36e5,tg=864e5,eg=6048e5,rg=2592e6,ng=31536e6,og=Km((t=>{t.setTime(t-t.getMilliseconds())}),((t,e)=>{t.setTime(+t+e*Zm)}),((t,e)=>(e-t)/Zm),(t=>t.getUTCSeconds()));og.range;const ig=Km((t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*Zm)}),((t,e)=>{t.setTime(+t+e*Jm)}),((t,e)=>(e-t)/Jm),(t=>t.getMinutes()));ig.range;const ag=Km((t=>{t.setUTCSeconds(0,0)}),((t,e)=>{t.setTime(+t+e*Jm)}),((t,e)=>(e-t)/Jm),(t=>t.getUTCMinutes()));ag.range;const cg=Km((t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*Zm-t.getMinutes()*Jm)}),((t,e)=>{t.setTime(+t+e*Qm)}),((t,e)=>(e-t)/Qm),(t=>t.getHours()));cg.range;const ug=Km((t=>{t.setUTCMinutes(0,0,0)}),((t,e)=>{t.setTime(+t+e*Qm)}),((t,e)=>(e-t)/Qm),(t=>t.getUTCHours()));ug.range;const lg=Km((t=>t.setHours(0,0,0,0)),((t,e)=>t.setDate(t.getDate()+e)),((t,e)=>(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*Jm)/tg),(t=>t.getDate()-1));lg.range;const sg=Km((t=>{t.setUTCHours(0,0,0,0)}),((t,e)=>{t.setUTCDate(t.getUTCDate()+e)}),((t,e)=>(e-t)/tg),(t=>t.getUTCDate()-1));sg.range;const fg=Km((t=>{t.setUTCHours(0,0,0,0)}),((t,e)=>{t.setUTCDate(t.getUTCDate()+e)}),((t,e)=>(e-t)/tg),(t=>Math.floor(t/tg)));function pg(t){return Km((e=>{e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)}),((t,e)=>{t.setDate(t.getDate()+7*e)}),((t,e)=>(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*Jm)/eg))}fg.range;const dg=pg(0),hg=pg(1),yg=pg(2),vg=pg(3),mg=pg(4),gg=pg(5),bg=pg(6);function wg(t){return Km((e=>{e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)}),((t,e)=>{t.setUTCDate(t.getUTCDate()+7*e)}),((t,e)=>(e-t)/eg))}dg.range,hg.range,yg.range,vg.range,mg.range,gg.range,bg.range;const xg=wg(0),Og=wg(1),Sg=wg(2),jg=wg(3),Pg=wg(4),Ag=wg(5),Mg=wg(6);xg.range,Og.range,Sg.range,jg.range,Pg.range,Ag.range,Mg.range;const kg=Km((t=>{t.setDate(1),t.setHours(0,0,0,0)}),((t,e)=>{t.setMonth(t.getMonth()+e)}),((t,e)=>e.getMonth()-t.getMonth()+12*(e.getFullYear()-t.getFullYear())),(t=>t.getMonth()));kg.range;const Eg=Km((t=>{t.setUTCDate(1),t.setUTCHours(0,0,0,0)}),((t,e)=>{t.setUTCMonth(t.getUTCMonth()+e)}),((t,e)=>e.getUTCMonth()-t.getUTCMonth()+12*(e.getUTCFullYear()-t.getUTCFullYear())),(t=>t.getUTCMonth()));Eg.range;const Cg=Km((t=>{t.setMonth(0,1),t.setHours(0,0,0,0)}),((t,e)=>{t.setFullYear(t.getFullYear()+e)}),((t,e)=>e.getFullYear()-t.getFullYear()),(t=>t.getFullYear()));Cg.every=t=>isFinite(t=Math.floor(t))&&t>0?Km((e=>{e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)}),((e,r)=>{e.setFullYear(e.getFullYear()+r*t)})):null,Cg.range;const _g=Km((t=>{t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)}),((t,e)=>{t.setUTCFullYear(t.getUTCFullYear()+e)}),((t,e)=>e.getUTCFullYear()-t.getUTCFullYear()),(t=>t.getUTCFullYear()));function Tg(t,e,r,n,o,i){const a=[[og,1,Zm],[og,5,5e3],[og,15,15e3],[og,30,3e4],[i,1,Jm],[i,5,3e5],[i,15,9e5],[i,30,18e5],[o,1,Qm],[o,3,108e5],[o,6,216e5],[o,12,432e5],[n,1,tg],[n,2,1728e5],[r,1,eg],[e,1,rg],[e,3,7776e6],[t,1,ng]];function c(e,r,n){const o=Math.abs(r-e)/n,i=Ny((([,,t])=>t)).right(a,o);if(i===a.length)return t.every(Ky(e/ng,r/ng,n));if(0===i)return Gm.every(Math.max(Ky(e,r,n),1));const[c,u]=a[o/a[i-1][2]<a[i][2]/o?i-1:i];return c.every(u)}return[function(t,e,r){const n=e<t;n&&([t,e]=[e,t]);const o=r&&"function"==typeof r.range?r:c(t,e,r),i=o?o.range(t,+e+1):[];return n?i.reverse():i},c]}_g.every=t=>isFinite(t=Math.floor(t))&&t>0?Km((e=>{e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)}),((e,r)=>{e.setUTCFullYear(e.getUTCFullYear()+r*t)})):null,_g.range;const[Dg,Ig]=Tg(_g,Eg,xg,fg,ug,ag),[Ng,Lg]=Tg(Cg,kg,dg,lg,cg,ig);function Bg(t){if(0<=t.y&&t.y<100){var e=new Date(-1,t.m,t.d,t.H,t.M,t.S,t.L);return e.setFullYear(t.y),e}return new Date(t.y,t.m,t.d,t.H,t.M,t.S,t.L)}function Rg(t){if(0<=t.y&&t.y<100){var e=new Date(Date.UTC(-1,t.m,t.d,t.H,t.M,t.S,t.L));return e.setUTCFullYear(t.y),e}return new Date(Date.UTC(t.y,t.m,t.d,t.H,t.M,t.S,t.L))}function $g(t,e,r){return{y:t,m:e,d:r,H:0,M:0,S:0,L:0}}var zg,Hg,Fg,Vg={"-":"",_:" ",0:"0"},Ug=/^\s*\d+/,Wg=/^%/,qg=/[\\^$*+?|[\]().{}]/g;function Yg(t,e,r){var n=t<0?"-":"",o=(n?-t:t)+"",i=o.length;return n+(i<r?new Array(r-i+1).join(e)+o:o)}function Xg(t){return t.replace(qg,"\\$&")}function Kg(t){return new RegExp("^(?:"+t.map(Xg).join("|")+")","i")}function Gg(t){return new Map(t.map(((t,e)=>[t.toLowerCase(),e])))}function Zg(t,e,r){var n=Ug.exec(e.slice(r,r+1));return n?(t.w=+n[0],r+n[0].length):-1}function Jg(t,e,r){var n=Ug.exec(e.slice(r,r+1));return n?(t.u=+n[0],r+n[0].length):-1}function Qg(t,e,r){var n=Ug.exec(e.slice(r,r+2));return n?(t.U=+n[0],r+n[0].length):-1}function tb(t,e,r){var n=Ug.exec(e.slice(r,r+2));return n?(t.V=+n[0],r+n[0].length):-1}function eb(t,e,r){var n=Ug.exec(e.slice(r,r+2));return n?(t.W=+n[0],r+n[0].length):-1}function rb(t,e,r){var n=Ug.exec(e.slice(r,r+4));return n?(t.y=+n[0],r+n[0].length):-1}function nb(t,e,r){var n=Ug.exec(e.slice(r,r+2));return n?(t.y=+n[0]+(+n[0]>68?1900:2e3),r+n[0].length):-1}function ob(t,e,r){var n=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(r,r+6));return n?(t.Z=n[1]?0:-(n[2]+(n[3]||"00")),r+n[0].length):-1}function ib(t,e,r){var n=Ug.exec(e.slice(r,r+1));return n?(t.q=3*n[0]-3,r+n[0].length):-1}function ab(t,e,r){var n=Ug.exec(e.slice(r,r+2));return n?(t.m=n[0]-1,r+n[0].length):-1}function cb(t,e,r){var n=Ug.exec(e.slice(r,r+2));return n?(t.d=+n[0],r+n[0].length):-1}function ub(t,e,r){var n=Ug.exec(e.slice(r,r+3));return n?(t.m=0,t.d=+n[0],r+n[0].length):-1}function lb(t,e,r){var n=Ug.exec(e.slice(r,r+2));return n?(t.H=+n[0],r+n[0].length):-1}function sb(t,e,r){var n=Ug.exec(e.slice(r,r+2));return n?(t.M=+n[0],r+n[0].length):-1}function fb(t,e,r){var n=Ug.exec(e.slice(r,r+2));return n?(t.S=+n[0],r+n[0].length):-1}function pb(t,e,r){var n=Ug.exec(e.slice(r,r+3));return n?(t.L=+n[0],r+n[0].length):-1}function db(t,e,r){var n=Ug.exec(e.slice(r,r+6));return n?(t.L=Math.floor(n[0]/1e3),r+n[0].length):-1}function hb(t,e,r){var n=Wg.exec(e.slice(r,r+1));return n?r+n[0].length:-1}function yb(t,e,r){var n=Ug.exec(e.slice(r));return n?(t.Q=+n[0],r+n[0].length):-1}function vb(t,e,r){var n=Ug.exec(e.slice(r));return n?(t.s=+n[0],r+n[0].length):-1}function mb(t,e){return Yg(t.getDate(),e,2)}function gb(t,e){return Yg(t.getHours(),e,2)}function bb(t,e){return Yg(t.getHours()%12||12,e,2)}function wb(t,e){return Yg(1+lg.count(Cg(t),t),e,3)}function xb(t,e){return Yg(t.getMilliseconds(),e,3)}function Ob(t,e){return xb(t,e)+"000"}function Sb(t,e){return Yg(t.getMonth()+1,e,2)}function jb(t,e){return Yg(t.getMinutes(),e,2)}function Pb(t,e){return Yg(t.getSeconds(),e,2)}function Ab(t){var e=t.getDay();return 0===e?7:e}function Mb(t,e){return Yg(dg.count(Cg(t)-1,t),e,2)}function kb(t){var e=t.getDay();return e>=4||0===e?mg(t):mg.ceil(t)}function Eb(t,e){return t=kb(t),Yg(mg.count(Cg(t),t)+(4===Cg(t).getDay()),e,2)}function Cb(t){return t.getDay()}function _b(t,e){return Yg(hg.count(Cg(t)-1,t),e,2)}function Tb(t,e){return Yg(t.getFullYear()%100,e,2)}function Db(t,e){return Yg((t=kb(t)).getFullYear()%100,e,2)}function Ib(t,e){return Yg(t.getFullYear()%1e4,e,4)}function Nb(t,e){var r=t.getDay();return Yg((t=r>=4||0===r?mg(t):mg.ceil(t)).getFullYear()%1e4,e,4)}function Lb(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+Yg(e/60|0,"0",2)+Yg(e%60,"0",2)}function Bb(t,e){return Yg(t.getUTCDate(),e,2)}function Rb(t,e){return Yg(t.getUTCHours(),e,2)}function $b(t,e){return Yg(t.getUTCHours()%12||12,e,2)}function zb(t,e){return Yg(1+sg.count(_g(t),t),e,3)}function Hb(t,e){return Yg(t.getUTCMilliseconds(),e,3)}function Fb(t,e){return Hb(t,e)+"000"}function Vb(t,e){return Yg(t.getUTCMonth()+1,e,2)}function Ub(t,e){return Yg(t.getUTCMinutes(),e,2)}function Wb(t,e){return Yg(t.getUTCSeconds(),e,2)}function qb(t){var e=t.getUTCDay();return 0===e?7:e}function Yb(t,e){return Yg(xg.count(_g(t)-1,t),e,2)}function Xb(t){var e=t.getUTCDay();return e>=4||0===e?Pg(t):Pg.ceil(t)}function Kb(t,e){return t=Xb(t),Yg(Pg.count(_g(t),t)+(4===_g(t).getUTCDay()),e,2)}function Gb(t){return t.getUTCDay()}function Zb(t,e){return Yg(Og.count(_g(t)-1,t),e,2)}function Jb(t,e){return Yg(t.getUTCFullYear()%100,e,2)}function Qb(t,e){return Yg((t=Xb(t)).getUTCFullYear()%100,e,2)}function tw(t,e){return Yg(t.getUTCFullYear()%1e4,e,4)}function ew(t,e){var r=t.getUTCDay();return Yg((t=r>=4||0===r?Pg(t):Pg.ceil(t)).getUTCFullYear()%1e4,e,4)}function rw(){return"+0000"}function nw(){return"%"}function ow(t){return+t}function iw(t){return Math.floor(+t/1e3)}function aw(t){return new Date(t)}function cw(t){return t instanceof Date?+t:+new Date(+t)}function uw(t,e,r,n,o,i,a,c,u,l){var s=fm(),f=s.invert,p=s.domain,d=l(".%L"),h=l(":%S"),y=l("%I:%M"),v=l("%I %p"),m=l("%a %d"),g=l("%b %d"),b=l("%B"),w=l("%Y");function x(t){return(u(t)<t?d:c(t)<t?h:a(t)<t?y:i(t)<t?v:n(t)<t?o(t)<t?m:g:r(t)<t?b:w)(t)}return s.invert=function(t){return new Date(f(t))},s.domain=function(t){return arguments.length?p(Array.from(t,cw)):p().map(aw)},s.ticks=function(e){var r=p();return t(r[0],r[r.length-1],null==e?10:e)},s.tickFormat=function(t,e){return null==e?x:l(e)},s.nice=function(t){var r=p();return t&&"function"==typeof t.range||(t=e(r[0],r[r.length-1],null==t?10:t)),t?p(Cm(r,t)):s},s.copy=function(){return lm(s,uw(t,e,r,n,o,i,a,c,u,l))},s}function lw(){var t,e,r,n,o,i=0,a=1,c=im,u=!1;function l(e){return null==e||isNaN(e=+e)?o:c(0===r?.5:(e=(n(e)-t)*r,u?Math.max(0,Math.min(1,e)):e))}function s(t){return function(e){var r,n;return arguments.length?([r,n]=e,c=t(r,n),l):[c(0),c(1)]}}return l.domain=function(o){return arguments.length?([i,a]=o,t=n(i=+i),e=n(a=+a),r=t===e?0:1/(e-t),l):[i,a]},l.clamp=function(t){return arguments.length?(u=!!t,l):u},l.interpolator=function(t){return arguments.length?(c=t,l):c},l.range=s(tm),l.rangeRound=s(em),l.unknown=function(t){return arguments.length?(o=t,l):o},function(o){return n=o,t=o(i),e=o(a),r=t===e?0:1/(e-t),l}}function sw(t,e){return e.domain(t.domain()).interpolator(t.interpolator()).clamp(t.clamp()).unknown(t.unknown())}function fw(){var t=Um(lw());return t.copy=function(){return sw(t,fw()).exponent(t.exponent())},rv.apply(t,arguments)}function pw(){var t,e,r,n,o,i,a,c=0,u=.5,l=1,s=1,f=im,p=!1;function d(t){return isNaN(t=+t)?a:(t=.5+((t=+i(t))-e)*(s*t<s*e?n:o),f(p?Math.max(0,Math.min(1,t)):t))}function h(t){return function(e){var r,n,o;return arguments.length?([r,n,o]=e,f=rm(t,[r,n,o]),d):[f(0),f(.5),f(1)]}}return d.domain=function(a){return arguments.length?([c,u,l]=a,t=i(c=+c),e=i(u=+u),r=i(l=+l),n=t===e?0:.5/(e-t),o=e===r?0:.5/(r-e),s=e<t?-1:1,d):[c,u,l]},d.clamp=function(t){return arguments.length?(p=!!t,d):p},d.interpolator=function(t){return arguments.length?(f=t,d):f},d.range=h(tm),d.rangeRound=h(em),d.unknown=function(t){return arguments.length?(a=t,d):a},function(a){return i=a,t=a(c),e=a(u),r=a(l),n=t===e?0:.5/(e-t),o=e===r?0:.5/(r-e),s=e<t?-1:1,d}}function dw(){var t=Um(pw());return t.copy=function(){return sw(t,dw()).exponent(t.exponent())},rv.apply(t,arguments)}!function(t){zg=function(t){var e=t.dateTime,r=t.date,n=t.time,o=t.periods,i=t.days,a=t.shortDays,c=t.months,u=t.shortMonths,l=Kg(o),s=Gg(o),f=Kg(i),p=Gg(i),d=Kg(a),h=Gg(a),y=Kg(c),v=Gg(c),m=Kg(u),g=Gg(u),b={a:function(t){return a[t.getDay()]},A:function(t){return i[t.getDay()]},b:function(t){return u[t.getMonth()]},B:function(t){return c[t.getMonth()]},c:null,d:mb,e:mb,f:Ob,g:Db,G:Nb,H:gb,I:bb,j:wb,L:xb,m:Sb,M:jb,p:function(t){return o[+(t.getHours()>=12)]},q:function(t){return 1+~~(t.getMonth()/3)},Q:ow,s:iw,S:Pb,u:Ab,U:Mb,V:Eb,w:Cb,W:_b,x:null,X:null,y:Tb,Y:Ib,Z:Lb,"%":nw},w={a:function(t){return a[t.getUTCDay()]},A:function(t){return i[t.getUTCDay()]},b:function(t){return u[t.getUTCMonth()]},B:function(t){return c[t.getUTCMonth()]},c:null,d:Bb,e:Bb,f:Fb,g:Qb,G:ew,H:Rb,I:$b,j:zb,L:Hb,m:Vb,M:Ub,p:function(t){return o[+(t.getUTCHours()>=12)]},q:function(t){return 1+~~(t.getUTCMonth()/3)},Q:ow,s:iw,S:Wb,u:qb,U:Yb,V:Kb,w:Gb,W:Zb,x:null,X:null,y:Jb,Y:tw,Z:rw,"%":nw},x={a:function(t,e,r){var n=d.exec(e.slice(r));return n?(t.w=h.get(n[0].toLowerCase()),r+n[0].length):-1},A:function(t,e,r){var n=f.exec(e.slice(r));return n?(t.w=p.get(n[0].toLowerCase()),r+n[0].length):-1},b:function(t,e,r){var n=m.exec(e.slice(r));return n?(t.m=g.get(n[0].toLowerCase()),r+n[0].length):-1},B:function(t,e,r){var n=y.exec(e.slice(r));return n?(t.m=v.get(n[0].toLowerCase()),r+n[0].length):-1},c:function(t,r,n){return j(t,e,r,n)},d:cb,e:cb,f:db,g:nb,G:rb,H:lb,I:lb,j:ub,L:pb,m:ab,M:sb,p:function(t,e,r){var n=l.exec(e.slice(r));return n?(t.p=s.get(n[0].toLowerCase()),r+n[0].length):-1},q:ib,Q:yb,s:vb,S:fb,u:Jg,U:Qg,V:tb,w:Zg,W:eb,x:function(t,e,n){return j(t,r,e,n)},X:function(t,e,r){return j(t,n,e,r)},y:nb,Y:rb,Z:ob,"%":hb};function O(t,e){return function(r){var n,o,i,a=[],c=-1,u=0,l=t.length;for(r instanceof Date||(r=new Date(+r));++c<l;)37===t.charCodeAt(c)&&(a.push(t.slice(u,c)),null!=(o=Vg[n=t.charAt(++c)])?n=t.charAt(++c):o="e"===n?" ":"0",(i=e[n])&&(n=i(r,o)),a.push(n),u=c+1);return a.push(t.slice(u,c)),a.join("")}}function S(t,e){return function(r){var n,o,i=$g(1900,void 0,1);if(j(i,t,r+="",0)!=r.length)return null;if("Q"in i)return new Date(i.Q);if("s"in i)return new Date(1e3*i.s+("L"in i?i.L:0));if(e&&!("Z"in i)&&(i.Z=0),"p"in i&&(i.H=i.H%12+12*i.p),void 0===i.m&&(i.m="q"in i?i.q:0),"V"in i){if(i.V<1||i.V>53)return null;"w"in i||(i.w=1),"Z"in i?(o=(n=Rg($g(i.y,0,1))).getUTCDay(),n=o>4||0===o?Og.ceil(n):Og(n),n=sg.offset(n,7*(i.V-1)),i.y=n.getUTCFullYear(),i.m=n.getUTCMonth(),i.d=n.getUTCDate()+(i.w+6)%7):(o=(n=Bg($g(i.y,0,1))).getDay(),n=o>4||0===o?hg.ceil(n):hg(n),n=lg.offset(n,7*(i.V-1)),i.y=n.getFullYear(),i.m=n.getMonth(),i.d=n.getDate()+(i.w+6)%7)}else("W"in i||"U"in i)&&("w"in i||(i.w="u"in i?i.u%7:"W"in i?1:0),o="Z"in i?Rg($g(i.y,0,1)).getUTCDay():Bg($g(i.y,0,1)).getDay(),i.m=0,i.d="W"in i?(i.w+6)%7+7*i.W-(o+5)%7:i.w+7*i.U-(o+6)%7);return"Z"in i?(i.H+=i.Z/100|0,i.M+=i.Z%100,Rg(i)):Bg(i)}}function j(t,e,r,n){for(var o,i,a=0,c=e.length,u=r.length;a<c;){if(n>=u)return-1;if(37===(o=e.charCodeAt(a++))){if(o=e.charAt(a++),!(i=x[o in Vg?e.charAt(a++):o])||(n=i(t,r,n))<0)return-1}else if(o!=r.charCodeAt(n++))return-1}return n}return b.x=O(r,b),b.X=O(n,b),b.c=O(e,b),w.x=O(r,w),w.X=O(n,w),w.c=O(e,w),{format:function(t){var e=O(t+="",b);return e.toString=function(){return t},e},parse:function(t){var e=S(t+="",!1);return e.toString=function(){return t},e},utcFormat:function(t){var e=O(t+="",w);return e.toString=function(){return t},e},utcParse:function(t){var e=S(t+="",!0);return e.toString=function(){return t},e}}}(t),Hg=zg.format,zg.parse,Fg=zg.utcFormat,zg.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 hw,yw,vw,mw,gw,bw,ww=Object.freeze({__proto__:null,scaleBand:iv,scaleDiverging:function t(){var e=km(pw()(im));return e.copy=function(){return sw(e,t())},rv.apply(e,arguments)},scaleDivergingLog:function t(){var e=Bm(pw()).domain([.1,1,10]);return e.copy=function(){return sw(e,t()).base(e.base())},rv.apply(e,arguments)},scaleDivergingPow:dw,scaleDivergingSqrt:function(){return dw.apply(null,arguments).exponent(.5)},scaleDivergingSymlog:function t(){var e=zm(pw());return e.copy=function(){return sw(e,t()).constant(e.constant())},rv.apply(e,arguments)},scaleIdentity:function t(e){var r;function n(t){return null==t||isNaN(t=+t)?r:t}return n.invert=n,n.domain=n.range=function(t){return arguments.length?(e=Array.from(t,nm),n):e.slice()},n.unknown=function(t){return arguments.length?(r=t,n):r},n.copy=function(){return t(e).unknown(r)},e=arguments.length?Array.from(e,nm):[0,1],km(n)},scaleImplicit:nv,scaleLinear:Em,scaleLog:function t(){const e=Bm(sm()).domain([1,10]);return e.copy=()=>lm(e,t()).base(e.base()),ev.apply(e,arguments),e},scaleOrdinal:ov,scalePoint:cv,scalePow:Wm,scaleQuantile:function t(){var e,r=[],n=[],o=[];function i(){var t=0,e=Math.max(1,n.length);for(o=new Array(e-1);++t<e;)o[t-1]=tv(r,t/e);return a}function a(t){return null==t||isNaN(t=+t)?e:n[Ry(o,t)]}return a.invertExtent=function(t){var e=n.indexOf(t);return e<0?[NaN,NaN]:[e>0?o[e-1]:r[0],e<o.length?o[e]:r[r.length-1]]},a.domain=function(t){if(!arguments.length)return r.slice();r=[];for(let e of t)null==e||isNaN(e=+e)||r.push(e);return r.sort(Dy),i()},a.range=function(t){return arguments.length?(n=Array.from(t),i()):n.slice()},a.unknown=function(t){return arguments.length?(e=t,a):e},a.quantiles=function(){return o.slice()},a.copy=function(){return t().domain(r).range(n).unknown(e)},ev.apply(a,arguments)},scaleQuantize:function t(){var e,r=0,n=1,o=1,i=[.5],a=[0,1];function c(t){return null!=t&&t<=t?a[Ry(i,t,0,o)]:e}function u(){var t=-1;for(i=new Array(o);++t<o;)i[t]=((t+1)*n-(t-o)*r)/(o+1);return c}return c.domain=function(t){return arguments.length?([r,n]=t,r=+r,n=+n,u()):[r,n]},c.range=function(t){return arguments.length?(o=(a=Array.from(t)).length-1,u()):a.slice()},c.invertExtent=function(t){var e=a.indexOf(t);return e<0?[NaN,NaN]:e<1?[r,i[0]]:e>=o?[i[o-1],n]:[i[e-1],i[e]]},c.unknown=function(t){return arguments.length?(e=t,c):c},c.thresholds=function(){return i.slice()},c.copy=function(){return t().domain([r,n]).range(a).unknown(e)},ev.apply(km(c),arguments)},scaleRadial:function t(){var e,r=fm(),n=[0,1],o=!1;function i(t){var n=function(t){return Math.sign(t)*Math.sqrt(Math.abs(t))}(r(t));return isNaN(n)?e:o?Math.round(n):n}return i.invert=function(t){return r.invert(qm(t))},i.domain=function(t){return arguments.length?(r.domain(t),i):r.domain()},i.range=function(t){return arguments.length?(r.range((n=Array.from(t,nm)).map(qm)),i):n.slice()},i.rangeRound=function(t){return i.range(t).round(!0)},i.round=function(t){return arguments.length?(o=!!t,i):o},i.clamp=function(t){return arguments.length?(r.clamp(t),i):r.clamp()},i.unknown=function(t){return arguments.length?(e=t,i):e},i.copy=function(){return t(r.domain(),n).round(o).clamp(r.clamp()).unknown(e)},ev.apply(i,arguments),km(i)},scaleSequential:function t(){var e=km(lw()(im));return e.copy=function(){return sw(e,t())},rv.apply(e,arguments)},scaleSequentialLog:function t(){var e=Bm(lw()).domain([1,10]);return e.copy=function(){return sw(e,t()).base(e.base())},rv.apply(e,arguments)},scaleSequentialPow:fw,scaleSequentialQuantile:function t(){var e=[],r=im;function n(t){if(null!=t&&!isNaN(t=+t))return r((Ry(e,t,1)-1)/(e.length-1))}return n.domain=function(t){if(!arguments.length)return e.slice();e=[];for(let r of t)null==r||isNaN(r=+r)||e.push(r);return e.sort(Dy),n},n.interpolator=function(t){return arguments.length?(r=t,n):r},n.range=function(){return e.map(((t,n)=>r(n/(e.length-1))))},n.quantiles=function(t){return Array.from({length:t+1},((r,n)=>function(t,e,r){if((n=(t=Float64Array.from(function*(t,e){for(let e of t)null!=e&&(e=+e)>=e&&(yield e)}(t))).length)&&!isNaN(e=+e)){if(e<=0||n<2)return Zy(t);if(e>=1)return Gy(t);var n,o=(n-1)*e,i=Math.floor(o),a=Gy(Jy(t,i).subarray(0,i+1));return a+(Zy(t.subarray(i+1))-a)*(o-i)}}(e,n/t)))},n.copy=function(){return t(r).domain(e)},rv.apply(n,arguments)},scaleSequentialSqrt:function(){return fw.apply(null,arguments).exponent(.5)},scaleSequentialSymlog:function t(){var e=zm(lw());return e.copy=function(){return sw(e,t()).constant(e.constant())},rv.apply(e,arguments)},scaleSqrt:function(){return Wm.apply(null,arguments).exponent(.5)},scaleSymlog:function t(){var e=zm(sm());return e.copy=function(){return lm(e,t()).constant(e.constant())},ev.apply(e,arguments)},scaleThreshold:function t(){var e,r=[.5],n=[0,1],o=1;function i(t){return null!=t&&t<=t?n[Ry(r,t,0,o)]:e}return i.domain=function(t){return arguments.length?(r=Array.from(t),o=Math.min(r.length,n.length-1),i):r.slice()},i.range=function(t){return arguments.length?(n=Array.from(t),o=Math.min(r.length,n.length-1),i):n.slice()},i.invertExtent=function(t){var e=n.indexOf(t);return[r[e-1],r[e]]},i.unknown=function(t){return arguments.length?(e=t,i):e},i.copy=function(){return t().domain(r).range(n).unknown(e)},ev.apply(i,arguments)},scaleTime:function(){return ev.apply(uw(Ng,Lg,Cg,kg,dg,lg,cg,ig,og,Hg).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)},scaleUtc:function(){return ev.apply(uw(Dg,Ig,_g,Eg,xg,sg,ug,ag,og,Fg).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)},tickFormat:Mm});function xw(){if(yw)return hw;yw=1;var t=xi();return hw=function(e,r,n){for(var o=-1,i=e.length;++o<i;){var a=e[o],c=r(a);if(null!=c&&(void 0===u?c==c&&!t(c):n(c,u)))var u=c,l=a}return l},hw}var Ow,Sw,jw,Pw,Aw=function(){if(bw)return gw;bw=1;var t=xw(),e=mw?vw:(mw=1,vw=function(t,e){return t>e}),r=pp();return gw=function(n){return n&&n.length?t(n,r,e):void 0},gw}(),Mw=Ze(Aw);var kw,Ew,Cw,_w,Tw=function(){if(Pw)return jw;Pw=1;var t=xw(),e=Sw?Ow:(Sw=1,Ow=function(t,e){return t<e}),r=pp();return jw=function(n){return n&&n.length?t(n,r,e):void 0},jw}(),Dw=Ze(Tw);var Iw,Nw,Lw=function(){if(_w)return Cw;_w=1;var t=Ad(),e=function(){if(Ew)return kw;Ew=1;var t=Ri(),e=hp(),r=Cd(),n=yi();return kw=function(o,i){return(n(o)?t:r)(o,e(i,3))}}();return Cw=function(r,n){return t(e(r,n),1)}}(),Bw=Ze(Lw);var Rw,$w=Ze(function(){if(Nw)return Iw;Nw=1;var t=cp();return Iw=function(e,r){return t(e,r)}}()),zw=1e9,Hw=!0,Fw="[DecimalError] ",Vw=Fw+"Invalid argument: ",Uw=Fw+"Exponent out of range: ",Ww=Math.floor,qw=Math.pow,Yw=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,Xw=1e7,Kw=7,Gw=9007199254740991,Zw=Ww(Gw/Kw),Jw={};function Qw(t,e){var r,n,o,i,a,c,u,l,s=t.constructor,f=s.precision;if(!t.s||!e.s)return e.s||(e=new s(t)),Hw?lx(e,f):e;if(u=t.d,l=e.d,a=t.e,o=e.e,u=u.slice(),i=a-o){for(i<0?(n=u,i=-i,c=l.length):(n=l,o=a,c=u.length),i>(c=(a=Math.ceil(f/Kw))>c?a+1:c+1)&&(i=c,n.length=1),n.reverse();i--;)n.push(0);n.reverse()}for((c=u.length)-(i=l.length)<0&&(i=c,n=l,l=u,u=n),r=0;i;)r=(u[--i]=u[i]+l[i]+r)/Xw|0,u[i]%=Xw;for(r&&(u.unshift(r),++o),c=u.length;0==u[--c];)u.pop();return e.d=u,e.e=o,Hw?lx(e,f):e}function tx(t,e,r){if(t!==~~t||t<e||t>r)throw Error(Vw+t)}function ex(t){var e,r,n,o=t.length-1,i="",a=t[0];if(o>0){for(i+=a,e=1;e<o;e++)n=t[e]+"",(r=Kw-n.length)&&(i+=ax(r)),i+=n;a=t[e],(r=Kw-(n=a+"").length)&&(i+=ax(r))}else if(0===a)return"0";for(;a%10==0;)a/=10;return i+a}Jw.absoluteValue=Jw.abs=function(){var t=new this.constructor(this);return t.s&&(t.s=1),t},Jw.comparedTo=Jw.cmp=function(t){var e,r,n,o,i=this;if(t=new i.constructor(t),i.s!==t.s)return i.s||-t.s;if(i.e!==t.e)return i.e>t.e^i.s<0?1:-1;for(e=0,r=(n=i.d.length)<(o=t.d.length)?n:o;e<r;++e)if(i.d[e]!==t.d[e])return i.d[e]>t.d[e]^i.s<0?1:-1;return n===o?0:n>o^i.s<0?1:-1},Jw.decimalPlaces=Jw.dp=function(){var t=this,e=t.d.length-1,r=(e-t.e)*Kw;if(e=t.d[e])for(;e%10==0;e/=10)r--;return r<0?0:r},Jw.dividedBy=Jw.div=function(t){return rx(this,new this.constructor(t))},Jw.dividedToIntegerBy=Jw.idiv=function(t){var e=this.constructor;return lx(rx(this,new e(t),0,1),e.precision)},Jw.equals=Jw.eq=function(t){return!this.cmp(t)},Jw.exponent=function(){return ox(this)},Jw.greaterThan=Jw.gt=function(t){return this.cmp(t)>0},Jw.greaterThanOrEqualTo=Jw.gte=function(t){return this.cmp(t)>=0},Jw.isInteger=Jw.isint=function(){return this.e>this.d.length-2},Jw.isNegative=Jw.isneg=function(){return this.s<0},Jw.isPositive=Jw.ispos=function(){return this.s>0},Jw.isZero=function(){return 0===this.s},Jw.lessThan=Jw.lt=function(t){return this.cmp(t)<0},Jw.lessThanOrEqualTo=Jw.lte=function(t){return this.cmp(t)<1},Jw.logarithm=Jw.log=function(t){var e,r=this,n=r.constructor,o=n.precision,i=o+5;if(void 0===t)t=new n(10);else if((t=new n(t)).s<1||t.eq(Rw))throw Error(Fw+"NaN");if(r.s<1)throw Error(Fw+(r.s?"NaN":"-Infinity"));return r.eq(Rw)?new n(0):(Hw=!1,e=rx(cx(r,i),cx(t,i),i),Hw=!0,lx(e,o))},Jw.minus=Jw.sub=function(t){var e=this;return t=new e.constructor(t),e.s==t.s?sx(e,t):Qw(e,(t.s=-t.s,t))},Jw.modulo=Jw.mod=function(t){var e,r=this,n=r.constructor,o=n.precision;if(!(t=new n(t)).s)throw Error(Fw+"NaN");return r.s?(Hw=!1,e=rx(r,t,0,1).times(t),Hw=!0,r.minus(e)):lx(new n(r),o)},Jw.naturalExponential=Jw.exp=function(){return nx(this)},Jw.naturalLogarithm=Jw.ln=function(){return cx(this)},Jw.negated=Jw.neg=function(){var t=new this.constructor(this);return t.s=-t.s||0,t},Jw.plus=Jw.add=function(t){var e=this;return t=new e.constructor(t),e.s==t.s?Qw(e,t):sx(e,(t.s=-t.s,t))},Jw.precision=Jw.sd=function(t){var e,r,n,o=this;if(void 0!==t&&t!==!!t&&1!==t&&0!==t)throw Error(Vw+t);if(e=ox(o)+1,r=(n=o.d.length-1)*Kw+1,n=o.d[n]){for(;n%10==0;n/=10)r--;for(n=o.d[0];n>=10;n/=10)r++}return t&&e>r?e:r},Jw.squareRoot=Jw.sqrt=function(){var t,e,r,n,o,i,a,c=this,u=c.constructor;if(c.s<1){if(!c.s)return new u(0);throw Error(Fw+"NaN")}for(t=ox(c),Hw=!1,0==(o=Math.sqrt(+c))||o==1/0?(((e=ex(c.d)).length+t)%2==0&&(e+="0"),o=Math.sqrt(e),t=Ww((t+1)/2)-(t<0||t%2),n=new u(e=o==1/0?"5e"+t:(e=o.toExponential()).slice(0,e.indexOf("e")+1)+t)):n=new u(o.toString()),o=a=(r=u.precision)+3;;)if(n=(i=n).plus(rx(c,i,a+2)).times(.5),ex(i.d).slice(0,a)===(e=ex(n.d)).slice(0,a)){if(e=e.slice(a-3,a+1),o==a&&"4999"==e){if(lx(i,r+1,0),i.times(i).eq(c)){n=i;break}}else if("9999"!=e)break;a+=4}return Hw=!0,lx(n,r)},Jw.times=Jw.mul=function(t){var e,r,n,o,i,a,c,u,l,s=this,f=s.constructor,p=s.d,d=(t=new f(t)).d;if(!s.s||!t.s)return new f(0);for(t.s*=s.s,r=s.e+t.e,(u=p.length)<(l=d.length)&&(i=p,p=d,d=i,a=u,u=l,l=a),i=[],n=a=u+l;n--;)i.push(0);for(n=l;--n>=0;){for(e=0,o=u+n;o>n;)c=i[o]+d[n]*p[o-n-1]+e,i[o--]=c%Xw|0,e=c/Xw|0;i[o]=(i[o]+e)%Xw|0}for(;!i[--a];)i.pop();return e?++r:i.shift(),t.d=i,t.e=r,Hw?lx(t,f.precision):t},Jw.toDecimalPlaces=Jw.todp=function(t,e){var r=this,n=r.constructor;return r=new n(r),void 0===t?r:(tx(t,0,zw),void 0===e?e=n.rounding:tx(e,0,8),lx(r,t+ox(r)+1,e))},Jw.toExponential=function(t,e){var r,n=this,o=n.constructor;return void 0===t?r=fx(n,!0):(tx(t,0,zw),void 0===e?e=o.rounding:tx(e,0,8),r=fx(n=lx(new o(n),t+1,e),!0,t+1)),r},Jw.toFixed=function(t,e){var r,n,o=this,i=o.constructor;return void 0===t?fx(o):(tx(t,0,zw),void 0===e?e=i.rounding:tx(e,0,8),r=fx((n=lx(new i(o),t+ox(o)+1,e)).abs(),!1,t+ox(n)+1),o.isneg()&&!o.isZero()?"-"+r:r)},Jw.toInteger=Jw.toint=function(){var t=this,e=t.constructor;return lx(new e(t),ox(t)+1,e.rounding)},Jw.toNumber=function(){return+this},Jw.toPower=Jw.pow=function(t){var e,r,n,o,i,a,c=this,u=c.constructor,l=+(t=new u(t));if(!t.s)return new u(Rw);if(!(c=new u(c)).s){if(t.s<1)throw Error(Fw+"Infinity");return c}if(c.eq(Rw))return c;if(n=u.precision,t.eq(Rw))return lx(c,n);if(a=(e=t.e)>=(r=t.d.length-1),i=c.s,a){if((r=l<0?-l:l)<=Gw){for(o=new u(Rw),e=Math.ceil(n/Kw+4),Hw=!1;r%2&&px((o=o.times(c)).d,e),0!==(r=Ww(r/2));)px((c=c.times(c)).d,e);return Hw=!0,t.s<0?new u(Rw).div(o):lx(o,n)}}else if(i<0)throw Error(Fw+"NaN");return i=i<0&&1&t.d[Math.max(e,r)]?-1:1,c.s=1,Hw=!1,o=t.times(cx(c,n+12)),Hw=!0,(o=nx(o)).s=i,o},Jw.toPrecision=function(t,e){var r,n,o=this,i=o.constructor;return void 0===t?n=fx(o,(r=ox(o))<=i.toExpNeg||r>=i.toExpPos):(tx(t,1,zw),void 0===e?e=i.rounding:tx(e,0,8),n=fx(o=lx(new i(o),t,e),t<=(r=ox(o))||r<=i.toExpNeg,t)),n},Jw.toSignificantDigits=Jw.tosd=function(t,e){var r=this.constructor;return void 0===t?(t=r.precision,e=r.rounding):(tx(t,1,zw),void 0===e?e=r.rounding:tx(e,0,8)),lx(new r(this),t,e)},Jw.toString=Jw.valueOf=Jw.val=Jw.toJSON=Jw[Symbol.for("nodejs.util.inspect.custom")]=function(){var t=this,e=ox(t),r=t.constructor;return fx(t,e<=r.toExpNeg||e>=r.toExpPos)};var rx=function(){function t(t,e){var r,n=0,o=t.length;for(t=t.slice();o--;)r=t[o]*e+n,t[o]=r%Xw|0,n=r/Xw|0;return n&&t.unshift(n),t}function e(t,e,r,n){var o,i;if(r!=n)i=r>n?1:-1;else for(o=i=0;o<r;o++)if(t[o]!=e[o]){i=t[o]>e[o]?1:-1;break}return i}function r(t,e,r){for(var n=0;r--;)t[r]-=n,n=t[r]<e[r]?1:0,t[r]=n*Xw+t[r]-e[r];for(;!t[0]&&t.length>1;)t.shift()}return function(n,o,i,a){var c,u,l,s,f,p,d,h,y,v,m,g,b,w,x,O,S,j,P=n.constructor,A=n.s==o.s?1:-1,M=n.d,k=o.d;if(!n.s)return new P(n);if(!o.s)throw Error(Fw+"Division by zero");for(u=n.e-o.e,S=k.length,x=M.length,h=(d=new P(A)).d=[],l=0;k[l]==(M[l]||0);)++l;if(k[l]>(M[l]||0)&&--u,(g=null==i?i=P.precision:a?i+(ox(n)-ox(o))+1:i)<0)return new P(0);if(g=g/Kw+2|0,l=0,1==S)for(s=0,k=k[0],g++;(l<x||s)&&g--;l++)b=s*Xw+(M[l]||0),h[l]=b/k|0,s=b%k|0;else{for((s=Xw/(k[0]+1)|0)>1&&(k=t(k,s),M=t(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]>=Xw/2&&++O;do{s=0,(c=e(k,y,S,v))<0?(m=y[0],S!=v&&(m=m*Xw+(y[1]||0)),(s=m/O|0)>1?(s>=Xw&&(s=Xw-1),1==(c=e(f=t(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=e(k,y,S,v=y.length))<1&&(s++,r(y,S<v?j:k,v)),v=y.length):0===c&&(s++,y=[0]),h[l++]=s,c&&y[0]?y[v++]=M[w]||0:(y=[M[w]],v=1)}while((w++<x||void 0!==y[0])&&g--)}return h[0]||h.shift(),d.e=u,lx(d,a?i+ox(d)+1:i)}}();function nx(t,e){var r,n,o,i,a,c=0,u=0,l=t.constructor,s=l.precision;if(ox(t)>16)throw Error(Uw+ox(t));if(!t.s)return new l(Rw);for(null==e?(Hw=!1,a=s):a=e,i=new l(.03125);t.abs().gte(.1);)t=t.times(i),u+=5;for(a+=Math.log(qw(2,u))/Math.LN10*2+5|0,r=n=o=new l(Rw),l.precision=a;;){if(n=lx(n.times(t),a),r=r.times(++c),ex((i=o.plus(rx(n,r,a))).d).slice(0,a)===ex(o.d).slice(0,a)){for(;u--;)o=lx(o.times(o),a);return l.precision=s,null==e?(Hw=!0,lx(o,s)):o}o=i}}function ox(t){for(var e=t.e*Kw,r=t.d[0];r>=10;r/=10)e++;return e}function ix(t,e,r){if(e>t.LN10.sd())throw Hw=!0,r&&(t.precision=r),Error(Fw+"LN10 precision limit exceeded");return lx(new t(t.LN10),e)}function ax(t){for(var e="";t--;)e+="0";return e}function cx(t,e){var r,n,o,i,a,c,u,l,s,f=1,p=t,d=p.d,h=p.constructor,y=h.precision;if(p.s<1)throw Error(Fw+(p.s?"NaN":"-Infinity"));if(p.eq(Rw))return new h(0);if(null==e?(Hw=!1,l=y):l=e,p.eq(10))return null==e&&(Hw=!0),ix(h,l);if(l+=10,h.precision=l,n=(r=ex(d)).charAt(0),i=ox(p),!(Math.abs(i)<15e14))return u=ix(h,l+2,y).times(i+""),p=cx(new h(n+"."+r.slice(1)),l-10).plus(u),h.precision=y,null==e?(Hw=!0,lx(p,y)):p;for(;n<7&&1!=n||1==n&&r.charAt(1)>3;)n=(r=ex((p=p.times(t)).d)).charAt(0),f++;for(i=ox(p),n>1?(p=new h("0."+r),i++):p=new h(n+"."+r.slice(1)),c=a=p=rx(p.minus(Rw),p.plus(Rw),l),s=lx(p.times(p),l),o=3;;){if(a=lx(a.times(s),l),ex((u=c.plus(rx(a,new h(o),l))).d).slice(0,l)===ex(c.d).slice(0,l))return c=c.times(2),0!==i&&(c=c.plus(ix(h,l+2,y).times(i+""))),c=rx(c,new h(f),l),h.precision=y,null==e?(Hw=!0,lx(c,y)):c;c=u,o+=2}}function ux(t,e){var r,n,o;for((r=e.indexOf("."))>-1&&(e=e.replace(".","")),(n=e.search(/e/i))>0?(r<0&&(r=n),r+=+e.slice(n+1),e=e.substring(0,n)):r<0&&(r=e.length),n=0;48===e.charCodeAt(n);)++n;for(o=e.length;48===e.charCodeAt(o-1);)--o;if(e=e.slice(n,o)){if(o-=n,r=r-n-1,t.e=Ww(r/Kw),t.d=[],n=(r+1)%Kw,r<0&&(n+=Kw),n<o){for(n&&t.d.push(+e.slice(0,n)),o-=Kw;n<o;)t.d.push(+e.slice(n,n+=Kw));e=e.slice(n),n=Kw-e.length}else n-=o;for(;n--;)e+="0";if(t.d.push(+e),Hw&&(t.e>Zw||t.e<-Zw))throw Error(Uw+r)}else t.s=0,t.e=0,t.d=[0];return t}function lx(t,e,r){var n,o,i,a,c,u,l,s,f=t.d;for(a=1,i=f[0];i>=10;i/=10)a++;if((n=e-a)<0)n+=Kw,o=e,l=f[s=0];else{if((s=Math.ceil((n+1)/Kw))>=(i=f.length))return t;for(l=i=f[s],a=1;i>=10;i/=10)a++;o=(n%=Kw)-Kw+a}if(void 0!==r&&(c=l/(i=qw(10,a-o-1))%10|0,u=e<0||void 0!==f[s+1]||l%i,u=r<4?(c||u)&&(0==r||r==(t.s<0?3:2)):c>5||5==c&&(4==r||u||6==r&&(n>0?o>0?l/qw(10,a-o):0:f[s-1])%10&1||r==(t.s<0?8:7))),e<1||!f[0])return u?(i=ox(t),f.length=1,e=e-i-1,f[0]=qw(10,(Kw-e%Kw)%Kw),t.e=Ww(-e/Kw)||0):(f.length=1,f[0]=t.e=t.s=0),t;if(0==n?(f.length=s,i=1,s--):(f.length=s+1,i=qw(10,Kw-n),f[s]=o>0?(l/qw(10,a-o)%qw(10,o)|0)*i:0),u)for(;;){if(0==s){(f[0]+=i)==Xw&&(f[0]=1,++t.e);break}if(f[s]+=i,f[s]!=Xw)break;f[s--]=0,i=1}for(n=f.length;0===f[--n];)f.pop();if(Hw&&(t.e>Zw||t.e<-Zw))throw Error(Uw+ox(t));return t}function sx(t,e){var r,n,o,i,a,c,u,l,s,f,p=t.constructor,d=p.precision;if(!t.s||!e.s)return e.s?e.s=-e.s:e=new p(t),Hw?lx(e,d):e;if(u=t.d,f=e.d,n=e.e,l=t.e,u=u.slice(),a=l-n){for((s=a<0)?(r=u,a=-a,c=f.length):(r=f,n=l,c=u.length),a>(o=Math.max(Math.ceil(d/Kw),c)+2)&&(a=o,r.length=1),r.reverse(),o=a;o--;)r.push(0);r.reverse()}else{for((s=(o=u.length)<(c=f.length))&&(c=o),o=0;o<c;o++)if(u[o]!=f[o]){s=u[o]<f[o];break}a=0}for(s&&(r=u,u=f,f=r,e.s=-e.s),c=u.length,o=f.length-c;o>0;--o)u[c++]=0;for(o=f.length;o>a;){if(u[--o]<f[o]){for(i=o;i&&0===u[--i];)u[i]=Xw-1;--u[i],u[o]+=Xw}u[o]-=f[o]}for(;0===u[--c];)u.pop();for(;0===u[0];u.shift())--n;return u[0]?(e.d=u,e.e=n,Hw?lx(e,d):e):new p(0)}function fx(t,e,r){var n,o=ox(t),i=ex(t.d),a=i.length;return e?(r&&(n=r-a)>0?i=i.charAt(0)+"."+i.slice(1)+ax(n):a>1&&(i=i.charAt(0)+"."+i.slice(1)),i=i+(o<0?"e":"e+")+o):o<0?(i="0."+ax(-o-1)+i,r&&(n=r-a)>0&&(i+=ax(n))):o>=a?(i+=ax(o+1-a),r&&(n=r-o-1)>0&&(i=i+"."+ax(n))):((n=o+1)<a&&(i=i.slice(0,n)+"."+i.slice(n)),r&&(n=r-a)>0&&(o+1===a&&(i+="."),i+=ax(n))),t.s<0?"-"+i:i}function px(t,e){if(t.length>e)return t.length=e,!0}function dx(t){if(!t||"object"!=typeof t)throw Error(Fw+"Object expected");var e,r,n,o=["precision",1,zw,"rounding",0,8,"toExpNeg",-1/0,0,"toExpPos",0,1/0];for(e=0;e<o.length;e+=3)if(void 0!==(n=t[r=o[e]])){if(!(Ww(n)===n&&n>=o[e+1]&&n<=o[e+2]))throw Error(Vw+r+": "+n);this[r]=n}if(void 0!==(n=t[r="LN10"])){if(n!=Math.LN10)throw Error(Vw+r+": "+n);this[r]=new this(n)}return this}var hx=function t(e){var r,n,o;function i(t){var e=this;if(!(e instanceof i))return new i(t);if(e.constructor=i,t instanceof i)return e.s=t.s,e.e=t.e,void(e.d=(t=t.d)?t.slice():t);if("number"==typeof t){if(0*t!=0)throw Error(Vw+t);if(t>0)e.s=1;else{if(!(t<0))return e.s=0,e.e=0,void(e.d=[0]);t=-t,e.s=-1}return t===~~t&&t<1e7?(e.e=0,void(e.d=[t])):ux(e,t.toString())}if("string"!=typeof t)throw Error(Vw+t);if(45===t.charCodeAt(0)?(t=t.slice(1),e.s=-1):e.s=1,!Yw.test(t))throw Error(Vw+t);ux(e,t)}if(i.prototype=Jw,i.ROUND_UP=0,i.ROUND_DOWN=1,i.ROUND_CEIL=2,i.ROUND_FLOOR=3,i.ROUND_HALF_UP=4,i.ROUND_HALF_DOWN=5,i.ROUND_HALF_EVEN=6,i.ROUND_HALF_CEIL=7,i.ROUND_HALF_FLOOR=8,i.clone=t,i.config=i.set=dx,void 0===e&&(e={}),e)for(o=["precision","rounding","toExpNeg","toExpPos","LN10"],r=0;r<o.length;)e.hasOwnProperty(n=o[r++])||(e[n]=this[n]);return i.config(e),i}({precision:20,rounding:4,toExpNeg:-7,toExpPos:21,LN10:"2.302585092994045684017991454684364207601101488628772976033327900967572609677352480235997205089598298341967784042286"});Rw=new hx(1);var yx=hx;function vx(t){return function(t){if(Array.isArray(t))return mx(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return mx(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return mx(t,e)}(t)||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 mx(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var gx=function(t){return t},bx={"@@functional/placeholder":!0},wx=function(t){return t===bx},xx=function(t){return function e(){return 0===arguments.length||1===arguments.length&&wx(arguments.length<=0?void 0:arguments[0])?e:t.apply(void 0,arguments)}},Ox=function t(e,r){return 1===e?r:xx((function(){for(var n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];var a=o.filter((function(t){return t!==bx})).length;return a>=e?r.apply(void 0,o):t(e-a,xx((function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i=o.map((function(t){return wx(t)?e.shift():t}));return r.apply(void 0,vx(i).concat(e))})))}))},Sx=function(t){return Ox(t.length,t)},jx=function(t,e){for(var r=[],n=t;n<e;++n)r[n-t]=n;return r},Px=Sx((function(t,e){return Array.isArray(e)?e.map(t):Object.keys(e).map((function(t){return e[t]})).map(t)})),Ax=function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];if(!e.length)return gx;var n=e.reverse(),o=n[0],i=n.slice(1);return function(){return i.reduce((function(t,e){return e(t)}),o.apply(void 0,arguments))}},Mx=function(t){return Array.isArray(t)?t.reverse():t.split("").reverse.join("")},kx=function(t){var e=null,r=null;return function(){for(var n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];return e&&o.every((function(t,r){return t===e[r]}))?r:(e=o,r=t.apply(void 0,o))}};var Ex=Sx((function(t,e,r){var n=+t;return n+r*(+e-n)})),Cx=Sx((function(t,e,r){var n=e-+t;return(r-t)/(n=n||1/0)})),_x=Sx((function(t,e,r){var n=e-+t;return n=n||1/0,Math.max(0,Math.min(1,(r-t)/n))})),Tx={rangeStep:function(t,e,r){for(var n=new yx(t),o=0,i=[];n.lt(e)&&o<1e5;)i.push(n.toNumber()),n=n.add(r),o++;return i},getDigitCount:function(t){return 0===t?1:Math.floor(new yx(t).abs().log(10).toNumber())+1},interpolateNumber:Ex,uninterpolateNumber:Cx,uninterpolateTruncation:_x};function Dx(t){return function(t){if(Array.isArray(t))return Lx(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||Nx(t)||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 Ix(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(t)))return;var r=[],n=!0,o=!1,i=void 0;try{for(var a,c=t[Symbol.iterator]();!(n=(a=c.next()).done)&&(r.push(a.value),!e||r.length!==e);n=!0);}catch(t){o=!0,i=t}finally{try{n||null==c.return||c.return()}finally{if(o)throw i}}return r}(t,e)||Nx(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 Nx(t,e){if(t){if("string"==typeof t)return Lx(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Lx(t,e):void 0}}function Lx(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function Bx(t){var e=Ix(t,2),r=e[0],n=e[1],o=r,i=n;return r>n&&(o=n,i=r),[o,i]}function Rx(t,e,r){if(t.lte(0))return new yx(0);var n=Tx.getDigitCount(t.toNumber()),o=new yx(10).pow(n),i=t.div(o),a=1!==n?.05:.1,c=new yx(Math.ceil(i.div(a).toNumber())).add(r).mul(a).mul(o);return e?c:new yx(Math.ceil(c))}function $x(t,e,r,n){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0;if(!Number.isFinite((e-t)/(r-1)))return{step:new yx(0),tickMin:new yx(0),tickMax:new yx(0)};var i,a=Rx(new yx(e).sub(t).div(r-1),n,o);i=t<=0&&e>=0?new yx(0):(i=new yx(t).add(e).div(2)).sub(new yx(i).mod(a));var c=Math.ceil(i.sub(t).div(a).toNumber()),u=Math.ceil(new yx(e).sub(i).div(a).toNumber()),l=c+u+1;return l>r?$x(t,e,r,n,o+1):(l<r&&(u=e>0?u+(r-l):u,c=e>0?c:c+(r-l)),{step:a,tickMin:i.sub(new yx(c).mul(a)),tickMax:i.add(new yx(u).mul(a))})}var zx=kx((function(t){var e=Ix(t,2),r=e[0],n=e[1],o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6,i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],a=Math.max(o,2),c=Ix(Bx([r,n]),2),u=c[0],l=c[1];if(u===-1/0||l===1/0){var s=l===1/0?[u].concat(Dx(jx(0,o-1).map((function(){return 1/0})))):[].concat(Dx(jx(0,o-1).map((function(){return-1/0}))),[l]);return r>n?Mx(s):s}if(u===l)return function(t,e,r){var n=1,o=new yx(t);if(!o.isint()&&r){var i=Math.abs(t);i<1?(n=new yx(10).pow(Tx.getDigitCount(t)-1),o=new yx(Math.floor(o.div(n).toNumber())).mul(n)):i>1&&(o=new yx(Math.floor(t)))}else 0===t?o=new yx(Math.floor((e-1)/2)):r||(o=new yx(Math.floor(t)));var a=Math.floor((e-1)/2);return Ax(Px((function(t){return o.add(new yx(t-a).mul(n)).toNumber()})),jx)(0,e)}(u,o,i);var f=$x(u,l,a,i),p=f.step,d=f.tickMin,h=f.tickMax,y=Tx.rangeStep(d,h.add(new yx(.1).mul(p)),p);return r>n?Mx(y):y})),Hx=kx((function(t,e){var r=Ix(t,2),n=r[0],o=r[1],i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],a=Ix(Bx([n,o]),2),c=a[0],u=a[1];if(c===-1/0||u===1/0)return[n,o];if(c===u)return[c];var l=Math.max(e,2),s=Rx(new yx(u).sub(c).div(l-1),i,0),f=[].concat(Dx(Tx.rangeStep(new yx(c),new yx(u).sub(new yx(.99).mul(s)),s)),[u]);return n>o?Mx(f):f})),Fx="production"===process.env.NODE_ENV,Vx="Invariant failed";function Ux(t,e){if(Fx)throw new Error(Vx);var r="function"==typeof e?e():e,n=r?"".concat(Vx,": ").concat(r):Vx;throw new Error(n)}var Wx=["offset","layout","width","dataKey","data","dataPointFormatter","xAxis","yAxis"];function qx(t){return qx="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},qx(t)}function Yx(){return Yx=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},Yx.apply(this,arguments)}function Xx(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e);else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return Kx(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Kx(t,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 Kx(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function Gx(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function Zx(t,e,r){return e&&function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,nO(n.key),n)}}(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}function Jx(t,e,r){return e=tO(e),function(t,e){if(e&&("object"===qx(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,Qx()?Reflect.construct(e,r||[],tO(t).constructor):e.apply(t,r))}function Qx(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(Qx=function(){return!!t})()}function tO(t){return tO=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},tO(t)}function eO(t,e){return eO=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},eO(t,e)}function rO(t,e,r){return(e=nO(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function nO(t){var e=function(t,e){if("object"!=qx(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=qx(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==qx(e)?e:e+""}var oO=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),Jx(this,e,arguments)}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&eO(t,e)}(e,J.Component),Zx(e,[{key:"render",value:function(){var t=this.props,e=t.offset,r=t.layout,n=t.width,o=t.dataKey,i=t.data,a=t.dataPointFormatter,c=t.xAxis,u=t.yAxis,l=Gx(t,Wx),s=Ya(l,!1);"x"===this.props.direction&&"number"!==c.type&&("production"!==process.env.NODE_ENV?Ux(0,'ErrorBar requires Axis type property to be "number".'):Ux());var f=i.map((function(t){var i=a(t,o),l=i.x,f=i.y,p=i.value,d=i.errorVal;if(!d)return null;var h,y,v=[];if(Array.isArray(d)){var m=Xx(d,2);h=m[0],y=m[1]}else h=y=d;if("vertical"===r){var g=c.scale,b=f+e,w=b+n,x=b-n,O=g(p-h),S=g(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=u.scale,P=l+e,A=P-n,M=P+n,k=j(p-h),E=j(p+y);v.push({x1:A,y1:E,x2:M,y2:E}),v.push({x1:P,y1:k,x2:P,y2:E}),v.push({x1:A,y1:k,x2:M,y2:k})}return J.createElement(wc,Yx({className:"recharts-errorBar",key:"bar-".concat(v.map((function(t){return"".concat(t.x1,"-").concat(t.x2,"-").concat(t.y1,"-").concat(t.y2)})))},s),v.map((function(t){return J.createElement("line",Yx({},t,{key:"line-".concat(t.x1,"-").concat(t.x2,"-").concat(t.y1,"-").concat(t.y2)}))})))}));return J.createElement(wc,{className:"recharts-errorBars"},f)}}])}();function iO(t){return iO="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},iO(t)}function aO(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function cO(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?aO(Object(r),!0).forEach((function(e){uO(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):aO(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function uO(t,e,r){return e=function(t){var e=function(t,e){if("object"!=iO(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=iO(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==iO(e)?e:e+""}(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}rO(oO,"defaultProps",{stroke:"black",strokeWidth:1.5,width:5,offset:0,layout:"horizontal"}),rO(oO,"displayName","ErrorBar");var lO=function(t){var e=t.children,r=t.formattedGraphicalItems,n=t.legendWidth,o=t.legendContent,i=Va(e,Pd);if(!i)return null;var a,c=Pd.defaultProps,u=void 0!==c?cO(cO({},c),i.props):{};return a=i.props&&i.props.payload?i.props&&i.props.payload:"children"===o?(r||[]).reduce((function(t,e){var r=e.item,n=e.props,o=n.sectors||n.data||[];return t.concat(o.map((function(t){return{type:i.props.iconType||r.props.legendType,value:t.name,color:t.fill,payload:t}})))}),[]):(r||[]).map((function(t){var e=t.item,r=e.type.defaultProps,n=void 0!==r?cO(cO({},r),e.props):{},o=n.dataKey,i=n.name,a=n.legendType;return{inactive:n.hide,dataKey:o,type:u.iconType||a||"square",color:gO(e),value:i||o,payload:n}})),cO(cO(cO({},u),Pd.getWithHeight(i,n)),{},{payload:a,item:i})};function sO(t){return sO="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},sO(t)}function fO(t){return function(t){if(Array.isArray(t))return pO(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return pO(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return pO(t,e)}(t)||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 pO(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function dO(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function hO(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?dO(Object(r),!0).forEach((function(e){yO(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):dO(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function yO(t,e,r){return e=function(t){var e=function(t,e){if("object"!=sO(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=sO(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==sO(e)?e:e+""}(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function vO(t,e,r){return Ki(t)||Ki(e)?r:ga(e)?qi(t,e,r):Qi(e)?e(t):r}function mO(t,e,r,n){var o=Bw(t,(function(t){return vO(t,e)}));if("number"===r){var i=o.filter((function(t){return ma(t)||parseFloat(t)}));return i.length?[Dw(i),Mw(i)]:[1/0,-1/0]}return(n?o.filter((function(t){return!Ki(t)})):o).map((function(t){return ga(t)||t instanceof Date?t:""}))}var gO=function(t){var e,r,n=t.type.displayName,o=null!==(e=t.type)&&void 0!==e&&e.defaultProps?hO(hO({},t.type.defaultProps),t.props):t.props,i=o.stroke,a=o.fill;switch(n){case"Line":r=i;break;case"Area":case"Radar":r=i&&"none"!==i?i:a;break;default:r=a}return r},bO=function(t,e,r,n,o){var i=Fa(e.props.children,oO).filter((function(t){return function(t,e,r){return!!Ki(e)||("horizontal"===t?"yAxis"===e:"vertical"===t||"x"===r?"xAxis"===e:"y"!==r||"yAxis"===e)}(n,o,t.props.direction)}));if(i&&i.length){var a=i.map((function(t){return t.props.dataKey}));return t.reduce((function(t,e){var n=vO(e,r);if(Ki(n))return t;var o=Array.isArray(n)?[Dw(n),Mw(n)]:[n,n],i=a.reduce((function(t,r){var n=vO(e,r,0),i=o[0]-Math.abs(Array.isArray(n)?n[0]:n),a=o[1]+Math.abs(Array.isArray(n)?n[1]:n);return[Math.min(i,t[0]),Math.max(a,t[1])]}),[1/0,-1/0]);return[Math.min(i[0],t[0]),Math.max(i[1],t[1])]}),[1/0,-1/0])}return null},wO=function(t,e,r,n,o){var i=e.map((function(e){var i=e.props.dataKey;return"number"===r&&i&&bO(t,e,i,n)||mO(t,i,r,o)}));if("number"===r)return i.reduce((function(t,e){return[Math.min(t[0],e[0]),Math.max(t[1],e[1])]}),[1/0,-1/0]);var a={};return i.reduce((function(t,e){for(var r=0,n=e.length;r<n;r++)a[e[r]]||(a[e[r]]=!0,t.push(e[r]));return t}),[])},xO=function(t,e){return"horizontal"===t&&"xAxis"===e||"vertical"===t&&"yAxis"===e||"centric"===t&&"angleAxis"===e||"radial"===t&&"radiusAxis"===e},OO=function(t,e,r){if(!t)return null;var n=t.scale,o=t.duplicateDomain,i=t.type,a=t.range,c="scaleBand"===t.realScaleType?n.bandwidth()/2:2,u=(e||r)&&"category"===i&&n.bandwidth?n.bandwidth()/c:0;return u="angleAxis"===t.axisType&&(null==a?void 0:a.length)>=2?2*ya(a[0]-a[1])*u:u,e&&(t.ticks||t.niceTicks)?(t.ticks||t.niceTicks).map((function(t){var e=o?o.indexOf(t):t;return{coordinate:n(e)+u,value:t,offset:u}})).filter((function(t){return!da(t.coordinate)})):t.isCategorical&&t.categoricalDomain?t.categoricalDomain.map((function(t,e){return{coordinate:n(t)+u,value:t,index:e,offset:u}})):n.ticks&&!r?n.ticks(t.tickCount).map((function(t){return{coordinate:n(t)+u,value:t,offset:u}})):n.domain().map((function(t,e){return{coordinate:n(t)+u,value:o?o[t]:t,index:e,offset:u}}))},SO=new WeakMap,jO=function(t,e){if("function"!=typeof e)return t;SO.has(t)||SO.set(t,new WeakMap);var r=SO.get(t);if(r.has(e))return r.get(e);var n=function(){t.apply(void 0,arguments),e.apply(void 0,arguments)};return r.set(e,n),n},PO=1e-4,AO={sign:function(t){var e=t.length;if(!(e<=0))for(var r=0,n=t[0].length;r<n;++r)for(var o=0,i=0,a=0;a<e;++a){var c=da(t[a][r][1])?t[a][r][0]:t[a][r][1];c>=0?(t[a][r][0]=o,t[a][r][1]=o+c,o=t[a][r][1]):(t[a][r][0]=i,t[a][r][1]=i+c,i=t[a][r][1])}},expand:function(t,e){if((n=t.length)>0){for(var r,n,o,i=0,a=t[0].length;i<a;++i){for(o=r=0;r<n;++r)o+=t[r][i][1]||0;if(o)for(r=0;r<n;++r)t[r][i][1]/=o}ku(t,e)}},none:ku,silhouette:function(t,e){if((r=t.length)>0){for(var r,n=0,o=t[e[0]],i=o.length;n<i;++n){for(var a=0,c=0;a<r;++a)c+=t[a][n][1]||0;o[n][1]+=o[n][0]=-c/2}ku(t,e)}},wiggle:function(t,e){if((o=t.length)>0&&(n=(r=t[e[0]]).length)>0){for(var r,n,o,i=0,a=1;a<n;++a){for(var c=0,u=0,l=0;c<o;++c){for(var s=t[e[c]],f=s[a][1]||0,p=(f-(s[a-1][1]||0))/2,d=0;d<c;++d){var h=t[e[d]];p+=(h[a][1]||0)-(h[a-1][1]||0)}u+=f,l+=p*f}r[a-1][1]+=r[a-1][0]=i,u&&(i-=l/u)}r[a-1][1]+=r[a-1][0]=i,ku(t,e)}},positive:function(t){var e=t.length;if(!(e<=0))for(var r=0,n=t[0].length;r<n;++r)for(var o=0,i=0;i<e;++i){var a=da(t[i][r][1])?t[i][r][0]:t[i][r][1];a>=0?(t[i][r][0]=o,t[i][r][1]=o+a,o=t[i][r][1]):(t[i][r][0]=0,t[i][r][1]=0)}}},MO=function(t,e,r){var n=e.map((function(t){return t.props.dataKey})),o=AO[r],i=function(){var t=kc([]),e=Eu,r=ku,n=Cu;function o(o){var i,a,c=Array.from(t.apply(this,arguments),_u),u=c.length,l=-1;for(const t of o)for(i=0,++l;i<u;++i)(c[i][l]=[0,+n(t,c[i].key,l,o)]).data=t;for(i=0,a=Hc(e(c));i<u;++i)c[a[i]].index=i;return r(c,a),c}return o.keys=function(e){return arguments.length?(t="function"==typeof e?e:kc(Array.from(e)),o):t},o.value=function(t){return arguments.length?(n="function"==typeof t?t:kc(+t),o):n},o.order=function(t){return arguments.length?(e=null==t?Eu:"function"==typeof t?t:kc(Array.from(t)),o):e},o.offset=function(t){return arguments.length?(r=null==t?ku:t,o):r},o}().keys(n).value((function(t,e){return+vO(t,e,0)})).order(Eu).offset(o);return i(t)};function kO(t){var e=t.axis,r=t.ticks,n=t.bandSize,o=t.entry,i=t.index,a=t.dataKey;if("category"===e.type){if(!e.allowDuplicatedCategory&&e.dataKey&&!Ki(o[e.dataKey])){var c=ja(r,"value",o[e.dataKey]);if(c)return c.coordinate+n/2}return r[i]?r[i].coordinate+n/2:null}var u=vO(o,Ki(a)?e.dataKey:a);return Ki(u)?null:e.scale(u)}var EO=function(t){var e=t.axis,r=t.ticks,n=t.offset,o=t.bandSize,i=t.entry,a=t.index;if("category"===e.type)return r[a]?r[a].coordinate+n:null;var c=vO(i,e.dataKey,e.domain[a]);return Ki(c)?null:e.scale(c)-o/2+n},CO=function(t,e,r){return Object.keys(t).reduce((function(n,o){var i=t[o].stackedData.reduce((function(t,n){var o=n.slice(e,r+1).reduce((function(t,e){return[Dw(e.concat([t[0]]).filter(ma)),Mw(e.concat([t[1]]).filter(ma))]}),[1/0,-1/0]);return[Math.min(t[0],o[0]),Math.max(t[1],o[1])]}),[1/0,-1/0]);return[Math.min(i[0],n[0]),Math.max(i[1],n[1])]}),[1/0,-1/0]).map((function(t){return t===1/0||t===-1/0?0:t}))},_O=/^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,TO=/^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,DO=function(t,e,r){if(Qi(t))return t(e,r);if(!Array.isArray(t))return e;var n=[];if(ma(t[0]))n[0]=r?t[0]:Math.min(t[0],e[0]);else if(_O.test(t[0])){var o=+_O.exec(t[0])[1];n[0]=e[0]-o}else Qi(t[0])?n[0]=t[0](e[0]):n[0]=e[0];if(ma(t[1]))n[1]=r?t[1]:Math.max(t[1],e[1]);else if(TO.test(t[1])){var i=+TO.exec(t[1])[1];n[1]=e[1]+i}else Qi(t[1])?n[1]=t[1](e[1]):n[1]=e[1];return n},IO=function(t,e,r){if(t&&t.scale&&t.scale.bandwidth){var n=t.scale.bandwidth();if(!r||n>0)return n}if(t&&e&&e.length>=2){for(var o=$d(e,(function(t){return t.coordinate})),i=1/0,a=1,c=o.length;a<c;a++){var u=o[a],l=o[a-1];i=Math.min((u.coordinate||0)-(l.coordinate||0),i)}return i===1/0?0:i}return r?void 0:0},NO=function(t,e,r){return t&&t.length?$w(t,qi(r,"type.defaultProps.domain"))?e:t:e},LO=function(t,e){var r=t.type.defaultProps?hO(hO({},t.type.defaultProps),t.props):t.props,n=r.dataKey,o=r.name,i=r.unit,a=r.formatter,c=r.tooltipType,u=r.chartType,l=r.hide;return hO(hO({},Ya(t,!1)),{},{dataKey:n,unit:i,formatter:a,name:o||n,color:gO(t),value:vO(e,n),type:c,payload:e,chartType:u,hide:l})};function BO(t){return BO="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},BO(t)}function RO(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function $O(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?RO(Object(r),!0).forEach((function(e){zO(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):RO(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function zO(t,e,r){return e=function(t){var e=function(t,e){if("object"!=BO(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=BO(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==BO(e)?e:e+""}(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var HO=Math.PI/180,FO=function(t){return 180*t/Math.PI},VO=function(t,e,r,n){return{x:t+Math.cos(-HO*n)*r,y:e+Math.sin(-HO*n)*r}},UO=function(t,e){var r=t.x,n=t.y,o=e.cx,i=e.cy,a=function(t,e){var r=t.x,n=t.y,o=e.x,i=e.y;return Math.sqrt(Math.pow(r-o,2)+Math.pow(n-i,2))}({x:r,y:n},{x:o,y:i});if(a<=0)return{radius:a};var c=(r-o)/a,u=Math.acos(c);return n>i&&(u=2*Math.PI-u),{radius:a,angle:FO(u),angleInRadian:u}},WO=function(t,e){var r=e.startAngle,n=e.endAngle,o=Math.floor(r/360),i=Math.floor(n/360);return t+360*Math.min(o,i)},qO=function(t,e){var r=t.x,n=t.y,o=UO({x:r,y:n},e),i=o.radius,a=o.angle,c=e.innerRadius,u=e.outerRadius;if(i<c||i>u)return!1;if(0===i)return!0;var l,s=function(t){var e=t.startAngle,r=t.endAngle,n=Math.floor(e/360),o=Math.floor(r/360),i=Math.min(n,o);return{startAngle:e-360*i,endAngle:r-360*i}}(e),f=s.startAngle,p=s.endAngle,d=a;if(f<=p){for(;d>p;)d-=360;for(;d<f;)d+=360;l=d>=f&&d<=p}else{for(;d>f;)d-=360;for(;d<p;)d+=360;l=d>=p&&d<=f}return l?$O($O({},e),{},{radius:i,angle:WO(d,e)}):null};function YO(t){return YO="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},YO(t)}var XO=["offset"];function KO(t){return function(t){if(Array.isArray(t))return GO(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return GO(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return GO(t,e)}(t)||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 GO(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function ZO(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function JO(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function QO(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?JO(Object(r),!0).forEach((function(e){tS(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):JO(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function tS(t,e,r){return e=function(t){var e=function(t,e){if("object"!=YO(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=YO(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==YO(e)?e:e+""}(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function eS(){return eS=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},eS.apply(this,arguments)}var rS=function(t){var e=t.value,r=t.formatter,n=Ki(t.children)?e:t.children;return Qi(r)?r(n):n},nS=function(t,e,r){var n,o,i=t.position,a=t.viewBox,c=t.offset,u=t.className,l=a,s=l.cx,f=l.cy,p=l.innerRadius,d=l.outerRadius,h=l.startAngle,y=l.endAngle,v=l.clockWise,m=(p+d)/2,g=function(t,e){return ya(e-t)*Math.min(Math.abs(e-t),360)}(h,y),b=g>=0?1:-1;"insideStart"===i?(n=h+b*c,o=v):"insideEnd"===i?(n=y-b*c,o=!v):"end"===i&&(n=y+b*c,o=v),o=g<=0?o:!o;var w=VO(s,f,m,n),x=VO(s,f,m,n+359*(o?1:-1)),O="M".concat(w.x,",").concat(w.y,"\n A").concat(m,",").concat(m,",0,1,").concat(o?0:1,",\n ").concat(x.x,",").concat(x.y),S=Ki(t.id)?wa("recharts-radial-line-"):t.id;return J.createElement("text",eS({},r,{dominantBaseline:"central",className:mn("recharts-radial-bar-label",u)}),J.createElement("defs",null,J.createElement("path",{id:S,d:O})),J.createElement("textPath",{xlinkHref:"#".concat(S)},e))},oS=function(t){var e=t.viewBox,r=t.offset,n=t.position,o=e,i=o.cx,a=o.cy,c=o.innerRadius,u=o.outerRadius,l=(o.startAngle+o.endAngle)/2;if("outside"===n){var s=VO(i,a,u+r,l),f=s.x;return{x:f,y:s.y,textAnchor:f>=i?"start":"end",verticalAnchor:"middle"}}if("center"===n)return{x:i,y:a,textAnchor:"middle",verticalAnchor:"middle"};if("centerTop"===n)return{x:i,y:a,textAnchor:"middle",verticalAnchor:"start"};if("centerBottom"===n)return{x:i,y:a,textAnchor:"middle",verticalAnchor:"end"};var p=VO(i,a,(c+u)/2,l);return{x:p.x,y:p.y,textAnchor:"middle",verticalAnchor:"middle"}},iS=function(t){var e=t.viewBox,r=t.parentViewBox,n=t.offset,o=t.position,i=e,a=i.x,c=i.y,u=i.width,l=i.height,s=l>=0?1:-1,f=s*n,p=s>0?"end":"start",d=s>0?"start":"end",h=u>=0?1:-1,y=h*n,v=h>0?"end":"start",m=h>0?"start":"end";if("top"===o)return QO(QO({},{x:a+u/2,y:c-s*n,textAnchor:"middle",verticalAnchor:p}),r?{height:Math.max(c-r.y,0),width:u}:{});if("bottom"===o)return QO(QO({},{x:a+u/2,y:c+l+f,textAnchor:"middle",verticalAnchor:d}),r?{height:Math.max(r.y+r.height-(c+l),0),width:u}:{});if("left"===o){var g={x:a-y,y:c+l/2,textAnchor:v,verticalAnchor:"middle"};return QO(QO({},g),r?{width:Math.max(g.x-r.x,0),height:l}:{})}if("right"===o){var b={x:a+u+y,y:c+l/2,textAnchor:m,verticalAnchor:"middle"};return QO(QO({},b),r?{width:Math.max(r.x+r.width-b.x,0),height:l}:{})}var w=r?{width:u,height:l}:{};return"insideLeft"===o?QO({x:a+y,y:c+l/2,textAnchor:m,verticalAnchor:"middle"},w):"insideRight"===o?QO({x:a+u-y,y:c+l/2,textAnchor:v,verticalAnchor:"middle"},w):"insideTop"===o?QO({x:a+u/2,y:c+f,textAnchor:"middle",verticalAnchor:d},w):"insideBottom"===o?QO({x:a+u/2,y:c+l-f,textAnchor:"middle",verticalAnchor:p},w):"insideTopLeft"===o?QO({x:a+y,y:c+f,textAnchor:m,verticalAnchor:d},w):"insideTopRight"===o?QO({x:a+u-y,y:c+f,textAnchor:v,verticalAnchor:d},w):"insideBottomLeft"===o?QO({x:a+y,y:c+l-f,textAnchor:m,verticalAnchor:p},w):"insideBottomRight"===o?QO({x:a+u-y,y:c+l-f,textAnchor:v,verticalAnchor:p},w):ta(o)&&(ma(o.x)||va(o.x))&&(ma(o.y)||va(o.y))?QO({x:a+xa(o.x,u),y:c+xa(o.y,l),textAnchor:"end",verticalAnchor:"end"},w):QO({x:a+u/2,y:c+l/2,textAnchor:"middle",verticalAnchor:"middle"},w)},aS=function(t){return"cx"in t&&ma(t.cx)};function cS(t){var e,r=t.offset,n=QO({offset:void 0===r?5:r},ZO(t,XO)),o=n.viewBox,i=n.position,a=n.value,c=n.children,u=n.content,l=n.className,s=void 0===l?"":l,f=n.textBreakAll;if(!o||Ki(a)&&Ki(c)&&!Q(u)&&!Qi(u))return null;if(Q(u))return lt(u,n);if(Qi(u)){if(Q(e=st(u,n)))return e}else e=rS(n);var p=aS(o),d=Ya(n,!0);if(p&&("insideStart"===i||"insideEnd"===i||"end"===i))return nS(n,e,d);var h=p?oS(n):iS(n);return J.createElement(Ty,eS({className:mn("recharts-label",s)},d,h,{breakAll:f}),e)}cS.displayName="Label";var uS,lS,sS=function(t){var e=t.cx,r=t.cy,n=t.angle,o=t.startAngle,i=t.endAngle,a=t.r,c=t.radius,u=t.innerRadius,l=t.outerRadius,s=t.x,f=t.y,p=t.top,d=t.left,h=t.width,y=t.height,v=t.clockWise,m=t.labelViewBox;if(m)return m;if(ma(h)&&ma(y)){if(ma(s)&&ma(f))return{x:s,y:f,width:h,height:y};if(ma(p)&&ma(d))return{x:p,y:d,width:h,height:y}}return ma(s)&&ma(f)?{x:s,y:f,width:0,height:0}:ma(e)&&ma(r)?{cx:e,cy:r,startAngle:o||n||0,endAngle:i||n||0,innerRadius:u||0,outerRadius:l||c||a||0,clockWise:v}:t.viewBox?t.viewBox:{}};cS.parseViewBox=sS,cS.renderCallByParent=function(t,e){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!t||!t.children&&r&&!t.label)return null;var n=t.children,o=sS(t),i=Fa(n,cS).map((function(t,r){return lt(t,{viewBox:e||o,key:"label-".concat(r)})}));if(!r)return i;var a=function(t,e){return t?!0===t?J.createElement(cS,{key:"label-implicit",viewBox:e}):ga(t)?J.createElement(cS,{key:"label-implicit",viewBox:e,value:t}):Q(t)?t.type===cS?lt(t,{key:"label-implicit",viewBox:e}):J.createElement(cS,{key:"label-implicit",content:t,viewBox:e}):Qi(t)?J.createElement(cS,{key:"label-implicit",content:t,viewBox:e}):ta(t)?J.createElement(cS,eS({viewBox:e},t,{key:"label-implicit"})):null:null}(t.label,e||o);return[a].concat(KO(i))};var fS=(lS||(lS=1,uS=function(t){var e=null==t?0:t.length;return e?t[e-1]:void 0}),uS),pS=Ze(fS);function dS(t){return dS="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},dS(t)}var hS=["valueAccessor"],yS=["data","dataKey","clockWise","id","textBreakAll"];function vS(t){return function(t){if(Array.isArray(t))return mS(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return mS(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return mS(t,e)}(t)||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 mS(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function gS(){return gS=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},gS.apply(this,arguments)}function bS(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function wS(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?bS(Object(r),!0).forEach((function(e){xS(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):bS(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function xS(t,e,r){return e=function(t){var e=function(t,e){if("object"!=dS(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=dS(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==dS(e)?e:e+""}(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function OS(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}var SS=function(t){return Array.isArray(t.value)?pS(t.value):t.value};function jS(t){var e=t.valueAccessor,r=void 0===e?SS:e,n=OS(t,hS),o=n.data,i=n.dataKey,a=n.clockWise,c=n.id,u=n.textBreakAll,l=OS(n,yS);return o&&o.length?J.createElement(wc,{className:"recharts-label-list"},o.map((function(t,e){var n=Ki(i)?r(t,e):vO(t&&t.payload,i),o=Ki(c)?{}:{id:"".concat(c,"-").concat(e)};return J.createElement(cS,gS({},Ya(t,!0),l,o,{parentViewBox:t.parentViewBox,value:n,textBreakAll:u,viewBox:cS.parseViewBox(Ki(a)?t:wS(wS({},t),{},{clockWise:a})),key:"label-".concat(e),index:e}))}))):null}function PS(t){return PS="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},PS(t)}function AS(){return AS=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},AS.apply(this,arguments)}function MS(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function kS(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?MS(Object(r),!0).forEach((function(e){ES(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):MS(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function ES(t,e,r){return e=function(t){var e=function(t,e){if("object"!=PS(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=PS(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==PS(e)?e:e+""}(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}jS.displayName="LabelList",jS.renderCallByParent=function(t,e){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!t||!t.children&&r&&!t.label)return null;var n=Fa(t.children,jS).map((function(t,r){return lt(t,{data:e,key:"labelList-".concat(r)})}));return r?[function(t,e){return t?!0===t?J.createElement(jS,{key:"labelList-implicit",data:e}):J.isValidElement(t)||Qi(t)?J.createElement(jS,{key:"labelList-implicit",data:e,content:t}):ta(t)?J.createElement(jS,gS({data:e},t,{key:"labelList-implicit"})):null:null}(t.label,e)].concat(vS(n)):n};var CS=function(t){var e=t.cx,r=t.cy,n=t.radius,o=t.angle,i=t.sign,a=t.isExternal,c=t.cornerRadius,u=t.cornerIsExternal,l=c*(a?1:-1)+n,s=Math.asin(c/l)/HO,f=u?o:o+i*s,p=u?o-i*s:o;return{center:VO(e,r,l,f),circleTangency:VO(e,r,n,f),lineTangency:VO(e,r,l*Math.cos(s*HO),p),theta:s}},_S=function(t){var e=t.cx,r=t.cy,n=t.innerRadius,o=t.outerRadius,i=t.startAngle,a=function(t,e){return ya(e-t)*Math.min(Math.abs(e-t),359.999)}(i,t.endAngle),c=i+a,u=VO(e,r,o,i),l=VO(e,r,o,c),s="M ".concat(u.x,",").concat(u.y,"\n A ").concat(o,",").concat(o,",0,\n ").concat(+(Math.abs(a)>180),",").concat(+(i>c),",\n ").concat(l.x,",").concat(l.y,"\n ");if(n>0){var f=VO(e,r,n,i),p=VO(e,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(+(i<=c),",\n ").concat(f.x,",").concat(f.y," Z")}else s+="L ".concat(e,",").concat(r," Z");return s},TS={cx:0,cy:0,innerRadius:0,outerRadius:0,startAngle:0,endAngle:0,cornerRadius:0,forceCornerRadius:!1,cornerIsExternal:!1},DS=function(t){var e=kS(kS({},TS),t),r=e.cx,n=e.cy,o=e.innerRadius,i=e.outerRadius,a=e.cornerRadius,c=e.forceCornerRadius,u=e.cornerIsExternal,l=e.startAngle,s=e.endAngle,f=e.className;if(i<o||l===s)return null;var p,d=mn("recharts-sector",f),h=i-o,y=xa(a,h,0,!0);return p=y>0&&Math.abs(l-s)<360?function(t){var e=t.cx,r=t.cy,n=t.innerRadius,o=t.outerRadius,i=t.cornerRadius,a=t.forceCornerRadius,c=t.cornerIsExternal,u=t.startAngle,l=t.endAngle,s=ya(l-u),f=CS({cx:e,cy:r,radius:o,angle:u,sign:s,cornerRadius:i,cornerIsExternal:c}),p=f.circleTangency,d=f.lineTangency,h=f.theta,y=CS({cx:e,cy:r,radius:o,angle:l,sign:-s,cornerRadius:i,cornerIsExternal:c}),v=y.circleTangency,m=y.lineTangency,g=y.theta,b=c?Math.abs(u-l):Math.abs(u-l)-h-g;if(b<0)return a?"M ".concat(d.x,",").concat(d.y,"\n a").concat(i,",").concat(i,",0,0,1,").concat(2*i,",0\n a").concat(i,",").concat(i,",0,0,1,").concat(2*-i,",0\n "):_S({cx:e,cy:r,innerRadius:n,outerRadius:o,startAngle:u,endAngle:l});var w="M ".concat(d.x,",").concat(d.y,"\n A").concat(i,",").concat(i,",0,0,").concat(+(s<0),",").concat(p.x,",").concat(p.y,"\n A").concat(o,",").concat(o,",0,").concat(+(b>180),",").concat(+(s<0),",").concat(v.x,",").concat(v.y,"\n A").concat(i,",").concat(i,",0,0,").concat(+(s<0),",").concat(m.x,",").concat(m.y,"\n ");if(n>0){var x=CS({cx:e,cy:r,radius:n,angle:u,sign:s,isExternal:!0,cornerRadius:i,cornerIsExternal:c}),O=x.circleTangency,S=x.lineTangency,j=x.theta,P=CS({cx:e,cy:r,radius:n,angle:l,sign:-s,isExternal:!0,cornerRadius:i,cornerIsExternal:c}),A=P.circleTangency,M=P.lineTangency,k=P.theta,E=c?Math.abs(u-l):Math.abs(u-l)-j-k;if(E<0&&0===i)return"".concat(w,"L").concat(e,",").concat(r,"Z");w+="L".concat(M.x,",").concat(M.y,"\n A").concat(i,",").concat(i,",0,0,").concat(+(s<0),",").concat(A.x,",").concat(A.y,"\n A").concat(n,",").concat(n,",0,").concat(+(E>180),",").concat(+(s>0),",").concat(O.x,",").concat(O.y,"\n A").concat(i,",").concat(i,",0,0,").concat(+(s<0),",").concat(S.x,",").concat(S.y,"Z")}else w+="L".concat(e,",").concat(r,"Z");return w}({cx:r,cy:n,innerRadius:o,outerRadius:i,cornerRadius:Math.min(y,h/2),forceCornerRadius:c,cornerIsExternal:u,startAngle:l,endAngle:s}):_S({cx:r,cy:n,innerRadius:o,outerRadius:i,startAngle:l,endAngle:s}),J.createElement("path",AS({},Ya(e,!0),{className:d,d:p,role:"img"}))};function IS(t){return IS="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},IS(t)}function NS(){return NS=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},NS.apply(this,arguments)}function LS(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function BS(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?LS(Object(r),!0).forEach((function(e){RS(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):LS(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function RS(t,e,r){return e=function(t){var e=function(t,e){if("object"!=IS(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=IS(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==IS(e)?e:e+""}(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var $S,zS={curveBasisClosed:function(t){return new yu(t)},curveBasisOpen:function(t){return new vu(t)},curveBasis:function(t){return new hu(t)},curveBumpX:function(t){return new Xc(t,!0)},curveBumpY:function(t){return new Xc(t,!1)},curveLinearClosed:function(t){return new mu(t)},curveLinear:Vc,curveMonotoneX:function(t){return new Ou(t)},curveMonotoneY:function(t){return new Su(t)},curveNatural:function(t){return new Pu(t)},curveStep:function(t){return new Mu(t,.5)},curveStepAfter:function(t){return new Mu(t,1)},curveStepBefore:function(t){return new Mu(t,0)}},HS=function(t){return t.x===+t.x&&t.y===+t.y},FS=function(t){return t.x},VS=function(t){return t.y},US=function(t){var e,r=t.type,n=void 0===r?"linear":r,o=t.points,i=void 0===o?[]:o,a=t.baseLine,c=t.layout,u=t.connectNulls,l=void 0!==u&&u,s=function(t,e){if(Qi(t))return t;var r="curve".concat(Mc(t));return"curveMonotone"!==r&&"curveBump"!==r||!e?zS[r]||Vc:zS["".concat(r).concat("vertical"===e?"Y":"X")]}(n,c),f=l?i.filter((function(t){return HS(t)})):i;if(Array.isArray(a)){var p=l?a.filter((function(t){return HS(t)})):a,d=f.map((function(t,e){return BS(BS({},t),{},{base:p[e]})}));return(e="vertical"===c?Yc().y(VS).x1(FS).x0((function(t){return t.base.x})):Yc().x(FS).y1(VS).y0((function(t){return t.base.y}))).defined(HS).curve(s),e(d)}return(e="vertical"===c&&ma(a)?Yc().y(VS).x1(FS).x0(a):ma(a)?Yc().x(FS).y1(VS).y0(a):qc().x(FS).y(VS)).defined(HS).curve(s),e(f)},WS=function(t){var e=t.className,r=t.points,n=t.path,o=t.pathRef;if(!(r&&r.length||n))return null;var i=r&&r.length?US(t):n;return J.createElement("path",NS({},Ya(t,!1),_a(t),{className:mn("recharts-curve",e),d:i,ref:o}))},qS={exports:{}},YS={exports:{}},XS={};var KS,GS,ZS,JS,QS,tj,ej,rj,nj,oj,ij,aj,cj,uj,lj,sj={};
18
+ */var ca,ua,la,sa,fa=(ia||(ia=1,"production"===process.env.NODE_ENV?ra.exports=function(){if(Zi)return na;Zi=1;var t,e=Symbol.for("react.element"),r=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),c=Symbol.for("react.context"),u=Symbol.for("react.server_context"),l=Symbol.for("react.forward_ref"),s=Symbol.for("react.suspense"),f=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),h=Symbol.for("react.offscreen");function y(t){if("object"==typeof t&&null!==t){var h=t.$$typeof;switch(h){case e:switch(t=t.type){case n:case i:case o:case s:case f:return t;default:switch(t=t&&t.$$typeof){case u:case c:case l:case d:case p:case a:return t;default:return h}}case r:return h}}}return t=Symbol.for("react.module.reference"),na.ContextConsumer=c,na.ContextProvider=a,na.Element=e,na.ForwardRef=l,na.Fragment=n,na.Lazy=d,na.Memo=p,na.Portal=r,na.Profiler=i,na.StrictMode=o,na.Suspense=s,na.SuspenseList=f,na.isAsyncMode=function(){return!1},na.isConcurrentMode=function(){return!1},na.isContextConsumer=function(t){return y(t)===c},na.isContextProvider=function(t){return y(t)===a},na.isElement=function(t){return"object"==typeof t&&null!==t&&t.$$typeof===e},na.isForwardRef=function(t){return y(t)===l},na.isFragment=function(t){return y(t)===n},na.isLazy=function(t){return y(t)===d},na.isMemo=function(t){return y(t)===p},na.isPortal=function(t){return y(t)===r},na.isProfiler=function(t){return y(t)===i},na.isStrictMode=function(t){return y(t)===o},na.isSuspense=function(t){return y(t)===s},na.isSuspenseList=function(t){return y(t)===f},na.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===n||e===i||e===o||e===s||e===f||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===d||e.$$typeof===p||e.$$typeof===a||e.$$typeof===c||e.$$typeof===l||e.$$typeof===t||void 0!==e.getModuleId)},na.typeOf=y,na}():ra.exports=(oa||(oa=1,"production"!==process.env.NODE_ENV&&function(){var t,e=Symbol.for("react.element"),r=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),c=Symbol.for("react.context"),u=Symbol.for("react.server_context"),l=Symbol.for("react.forward_ref"),s=Symbol.for("react.suspense"),f=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),h=Symbol.for("react.offscreen");function y(t){if("object"==typeof t&&null!==t){var h=t.$$typeof;switch(h){case e:var y=t.type;switch(y){case n:case i:case o:case s:case f:return y;default:var v=y&&y.$$typeof;switch(v){case u:case c:case l:case d:case p:case a:return v;default:return h}}case r:return h}}}t=Symbol.for("react.module.reference");var v=c,m=a,g=e,b=l,w=n,x=d,O=p,S=r,j=i,P=o,A=s,M=f,k=!1,E=!1;aa.ContextConsumer=v,aa.ContextProvider=m,aa.Element=g,aa.ForwardRef=b,aa.Fragment=w,aa.Lazy=x,aa.Memo=O,aa.Portal=S,aa.Profiler=j,aa.StrictMode=P,aa.Suspense=A,aa.SuspenseList=M,aa.isAsyncMode=function(t){return k||(k=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1},aa.isConcurrentMode=function(t){return E||(E=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1},aa.isContextConsumer=function(t){return y(t)===c},aa.isContextProvider=function(t){return y(t)===a},aa.isElement=function(t){return"object"==typeof t&&null!==t&&t.$$typeof===e},aa.isForwardRef=function(t){return y(t)===l},aa.isFragment=function(t){return y(t)===n},aa.isLazy=function(t){return y(t)===d},aa.isMemo=function(t){return y(t)===p},aa.isPortal=function(t){return y(t)===r},aa.isProfiler=function(t){return y(t)===i},aa.isStrictMode=function(t){return y(t)===o},aa.isSuspense=function(t){return y(t)===s},aa.isSuspenseList=function(t){return y(t)===f},aa.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===n||e===i||e===o||e===s||e===f||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===d||e.$$typeof===p||e.$$typeof===a||e.$$typeof===c||e.$$typeof===l||e.$$typeof===t||void 0!==e.getModuleId)},aa.typeOf=y}()),aa)),ra.exports);function pa(){if(ua)return ca;ua=1;var t=wi(),e=xi();return ca=function(r){return"number"==typeof r||e(r)&&"[object Number]"==t(r)}}var da=function(){if(sa)return la;sa=1;var t=pa();return la=function(e){return t(e)&&e!=+e}}(),ha=Je(da),ya=Je(pa()),va=function(t){return 0===t?0:t>0?1:-1},ma=function(t){return Qi(t)&&t.indexOf("%")===t.length-1},ga=function(t){return ya(t)&&!ha(t)},ba=function(t){return ga(t)||Qi(t)},wa=0,xa=function(t){var e=++wa;return"".concat(t||"").concat(e)},Oa=function(t,e){var r,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,o=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!ga(t)&&!Qi(t))return n;if(ma(t)){var i=t.indexOf("%");r=e*parseFloat(t.slice(0,i))/100}else r=+t;return ha(r)&&(r=n),o&&r>e&&(r=e),r},Sa=function(t){if(!t)return null;var e=Object.keys(t);return e&&e.length?t[e[0]]:null},ja=function(t,e){return ga(t)&&ga(e)?function(r){return t+r*(e-t)}:function(){return e}};function Pa(t,e,r){return t&&t.length?t.find((function(t){return t&&("function"==typeof e?e(t):Yi(t,e))===r})):null}function Aa(t,e){for(var r in t)if({}.hasOwnProperty.call(t,r)&&(!{}.hasOwnProperty.call(e,r)||t[r]!==e[r]))return!1;for(var n in e)if({}.hasOwnProperty.call(e,n)&&!{}.hasOwnProperty.call(t,n))return!1;return!0}function Ma(t){return Ma="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ma(t)}var ka=["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"],Ea=["points","pathLength"],Ca={svg:["viewBox","children"],polygon:Ea,polyline:Ea},_a=["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"],Ta=function(t,e){if(!t||"function"==typeof t||"boolean"==typeof t)return null;var r=t;if(Q(t)&&(r=t.props),!ea(r))return null;var n={};return Object.keys(r).forEach((function(t){_a.includes(t)&&(n[t]=e||function(e){return r[t](r,e)})})),n},Da=function(t,e,r){if(!ea(t)||"object"!==Ma(t))return null;var n=null;return Object.keys(t).forEach((function(o){var i=t[o];_a.includes(o)&&"function"==typeof i&&(n||(n={}),n[o]=function(t,e,r){return function(n){return t(e,r,n),null}}(i,e,r))})),n},Ia=["children"],Na=["children"];function La(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function Ba(t){return Ba="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ba(t)}var Ra={click:"onClick",mousedown:"onMouseDown",mouseup:"onMouseUp",mouseover:"onMouseOver",mousemove:"onMouseMove",mouseout:"onMouseOut",mouseenter:"onMouseEnter",mouseleave:"onMouseLeave",touchcancel:"onTouchCancel",touchend:"onTouchEnd",touchmove:"onTouchMove",touchstart:"onTouchStart"},$a=function(t){return"string"==typeof t?t:t?t.displayName||t.name||"Component":""},za=null,Ha=null,Fa=function t(e){if(e===za&&Array.isArray(Ha))return Ha;var r=[];return tt.forEach(e,(function(e){Gi(e)||(fa.isFragment(e)?r=r.concat(t(e.props.children)):r.push(e))})),Ha=r,za=e,r};function Va(t,e){var r=[],n=[];return n=Array.isArray(e)?e.map((function(t){return $a(t)})):[$a(e)],Fa(t).forEach((function(t){var e=Yi(t,"type.displayName")||Yi(t,"type.name");-1!==n.indexOf(e)&&r.push(t)})),r}function Ua(t,e){var r=Va(t,e);return r&&r[0]}var Wa=function(t){if(!t||!t.props)return!1;var e=t.props,r=e.width,n=e.height;return!(!ga(r)||r<=0||!ga(n)||n<=0)},qa=["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"],Ya=function(t){return t&&"object"===Ba(t)&&"clipDot"in t},Xa=function(t,e,r){if(!t||"function"==typeof t||"boolean"==typeof t)return null;var n=t;if(Q(t)&&(n=t.props),!ea(n))return null;var o={};return Object.keys(n).forEach((function(t){var i;(function(t,e,r,n){var o,i=null!==(o=null==Ca?void 0:Ca[n])&&void 0!==o?o:[];return!ta(t)&&(n&&i.includes(e)||ka.includes(e))||r&&_a.includes(e)})(null===(i=n)||void 0===i?void 0:i[t],t,e,r)&&(o[t]=n[t])})),o},Ka=function t(e,r){if(e===r)return!0;var n=tt.count(e);if(n!==tt.count(r))return!1;if(0===n)return!0;if(1===n)return Ga(Array.isArray(e)?e[0]:e,Array.isArray(r)?r[0]:r);for(var o=0;o<n;o++){var i=e[o],a=r[o];if(Array.isArray(i)||Array.isArray(a)){if(!t(i,a))return!1}else if(!Ga(i,a))return!1}return!0},Ga=function(t,e){if(Gi(t)&&Gi(e))return!0;if(!Gi(t)&&!Gi(e)){var r=t.props||{},n=r.children,o=La(r,Ia),i=e.props||{},a=i.children,c=La(i,Na);return n&&a?Aa(o,c)&&Ka(n,a):!n&&!a&&Aa(o,c)}return!1},Za=function(t,e){var r=[],n={};return Fa(t).forEach((function(t,o){if(function(t){return t&&t.type&&Qi(t.type)&&qa.indexOf(t.type)>=0}(t))r.push(t);else if(t){var i=$a(t.type),a=e[i]||{},c=a.handler,u=a.once;if(c&&(!u||!n[i])){var l=c(t,i,o);r.push(l),n[i]=!0}}})),r},Ja=["children","width","height","viewBox","className","style","title","desc"];function Qa(){return Qa=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},Qa.apply(this,arguments)}function tc(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function ec(t){var e=t.children,r=t.width,n=t.height,o=t.viewBox,i=t.className,a=t.style,c=t.title,u=t.desc,l=tc(t,Ja),s=o||{width:r,height:n,x:0,y:0},f=gn("recharts-surface",i);return J.createElement("svg",Qa({},Xa(l,!0,"svg"),{className:f,width:r,height:n,style:a,viewBox:"".concat(s.x," ").concat(s.y," ").concat(s.width," ").concat(s.height)}),J.createElement("title",null,c),J.createElement("desc",null,u),e)}var rc=["children","className"];function nc(){return nc=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},nc.apply(this,arguments)}function oc(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}var ic,ac,cc,uc,lc,sc,fc,pc,dc,hc,yc,vc,mc,gc,bc,wc,xc=J.forwardRef((function(t,e){var r=t.children,n=t.className,o=oc(t,rc),i=gn("recharts-layer",n);return J.createElement("g",nc({className:i},Xa(o,!0),{ref:e}),r)})),Oc="production"!==process.env.NODE_ENV,Sc=function(t,e){for(var r=arguments.length,n=new Array(r>2?r-2:0),o=2;o<r;o++)n[o-2]=arguments[o];if(Oc&&"undefined"!=typeof console&&console.warn&&(void 0===e&&console.warn("LogUtils requires an error message argument"),!t))if(void 0===e)console.warn("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var i=0;console.warn(e.replace(/%s/g,(function(){return n[i++]})))}};function jc(){if(uc)return cc;uc=1;var t=(ac||(ac=1,ic=function(t,e,r){var n=-1,o=t.length;e<0&&(e=-e>o?0:o+e),(r=r>o?o:r)<0&&(r+=o),o=e>r?0:r-e>>>0,e>>>=0;for(var i=Array(o);++n<o;)i[n]=t[n+e];return i}),ic);return cc=function(e,r,n){var o=e.length;return n=void 0===n?o:n,!r&&n>=o?e:t(e,r,n)},cc}function Pc(){if(sc)return lc;sc=1;var t=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");return lc=function(e){return t.test(e)},lc}function Ac(){if(vc)return yc;vc=1;var t=(pc||(pc=1,fc=function(t){return t.split("")}),fc),e=Pc(),r=function(){if(hc)return dc;hc=1;var t="\\ud800-\\udfff",e="["+t+"]",r="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",n="\\ud83c[\\udffb-\\udfff]",o="[^"+t+"]",i="(?:\\ud83c[\\udde6-\\uddff]){2}",a="[\\ud800-\\udbff][\\udc00-\\udfff]",c="(?:"+r+"|"+n+")?",u="[\\ufe0e\\ufe0f]?",l=u+c+"(?:\\u200d(?:"+[o,i,a].join("|")+")"+u+c+")*",s="(?:"+[o+r+"?",r,i,a,e].join("|")+")",f=RegExp(n+"(?="+n+")|"+s+l,"g");return dc=function(t){return t.match(f)||[]},dc}();return yc=function(n){return e(n)?r(n):t(n)},yc}var Mc=function(){if(wc)return bc;wc=1;var t=function(){if(gc)return mc;gc=1;var t=jc(),e=Pc(),r=Ac(),n=zi();return mc=function(o){return function(i){i=n(i);var a=e(i)?r(i):void 0,c=a?a[0]:i.charAt(0),u=a?t(a,1).join(""):i.slice(1);return c[o]()+u}},mc}(),e=t("toUpperCase");return bc=e}(),kc=Je(Mc);function Ec(t){return function(){return t}}const Cc=Math.cos,_c=Math.sin,Tc=Math.sqrt,Dc=Math.PI,Ic=2*Dc,Nc=Math.PI,Lc=2*Nc,Bc=1e-6,Rc=Lc-Bc;function $c(t){this._+=t[0];for(let e=1,r=t.length;e<r;++e)this._+=arguments[e]+t[e]}class zc{constructor(t){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=null==t?$c:function(t){let e=Math.floor(t);if(!(e>=0))throw new Error(`invalid digits: ${t}`);if(e>15)return $c;const r=10**e;return function(t){this._+=t[0];for(let e=1,n=t.length;e<n;++e)this._+=Math.round(arguments[e]*r)/r+t[e]}}(t)}moveTo(t,e){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+e}`}closePath(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(t,e){this._append`L${this._x1=+t},${this._y1=+e}`}quadraticCurveTo(t,e,r,n){this._append`Q${+t},${+e},${this._x1=+r},${this._y1=+n}`}bezierCurveTo(t,e,r,n,o,i){this._append`C${+t},${+e},${+r},${+n},${this._x1=+o},${this._y1=+i}`}arcTo(t,e,r,n,o){if(t=+t,e=+e,r=+r,n=+n,(o=+o)<0)throw new Error(`negative radius: ${o}`);let i=this._x1,a=this._y1,c=r-t,u=n-e,l=i-t,s=a-e,f=l*l+s*s;if(null===this._x1)this._append`M${this._x1=t},${this._y1=e}`;else if(f>Bc)if(Math.abs(s*c-u*l)>Bc&&o){let p=r-i,d=n-a,h=c*c+u*u,y=p*p+d*d,v=Math.sqrt(h),m=Math.sqrt(f),g=o*Math.tan((Nc-Math.acos((h+f-y)/(2*v*m)))/2),b=g/m,w=g/v;Math.abs(b-1)>Bc&&this._append`L${t+b*l},${e+b*s}`,this._append`A${o},${o},0,0,${+(s*p>l*d)},${this._x1=t+w*c},${this._y1=e+w*u}`}else this._append`L${this._x1=t},${this._y1=e}`;else;}arc(t,e,r,n,o,i){if(t=+t,e=+e,i=!!i,(r=+r)<0)throw new Error(`negative radius: ${r}`);let a=r*Math.cos(n),c=r*Math.sin(n),u=t+a,l=e+c,s=1^i,f=i?n-o:o-n;null===this._x1?this._append`M${u},${l}`:(Math.abs(this._x1-u)>Bc||Math.abs(this._y1-l)>Bc)&&this._append`L${u},${l}`,r&&(f<0&&(f=f%Lc+Lc),f>Rc?this._append`A${r},${r},0,1,${s},${t-a},${e-c}A${r},${r},0,1,${s},${this._x1=u},${this._y1=l}`:f>Bc&&this._append`A${r},${r},0,${+(f>=Nc)},${s},${this._x1=t+r*Math.cos(o)},${this._y1=e+r*Math.sin(o)}`)}rect(t,e,r,n){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+e}h${r=+r}v${+n}h${-r}Z`}toString(){return this._}}function Hc(t){let e=3;return t.digits=function(r){if(!arguments.length)return e;if(null==r)e=null;else{const t=Math.floor(r);if(!(t>=0))throw new RangeError(`invalid digits: ${r}`);e=t}return t},()=>new zc(e)}function Fc(t){return"object"==typeof t&&"length"in t?t:Array.from(t)}function Vc(t){this._context=t}function Uc(t){return new Vc(t)}function Wc(t){return t[0]}function qc(t){return t[1]}function Yc(t,e){var r=Ec(!0),n=null,o=Uc,i=null,a=Hc(c);function c(c){var u,l,s,f=(c=Fc(c)).length,p=!1;for(null==n&&(i=o(s=a())),u=0;u<=f;++u)!(u<f&&r(l=c[u],u,c))===p&&((p=!p)?i.lineStart():i.lineEnd()),p&&i.point(+t(l,u,c),+e(l,u,c));if(s)return i=null,s+""||null}return t="function"==typeof t?t:void 0===t?Wc:Ec(t),e="function"==typeof e?e:void 0===e?qc:Ec(e),c.x=function(e){return arguments.length?(t="function"==typeof e?e:Ec(+e),c):t},c.y=function(t){return arguments.length?(e="function"==typeof t?t:Ec(+t),c):e},c.defined=function(t){return arguments.length?(r="function"==typeof t?t:Ec(!!t),c):r},c.curve=function(t){return arguments.length?(o=t,null!=n&&(i=o(n)),c):o},c.context=function(t){return arguments.length?(null==t?n=i=null:i=o(n=t),c):n},c}function Xc(t,e,r){var n=null,o=Ec(!0),i=null,a=Uc,c=null,u=Hc(l);function l(l){var s,f,p,d,h,y=(l=Fc(l)).length,v=!1,m=new Array(y),g=new Array(y);for(null==i&&(c=a(h=u())),s=0;s<=y;++s){if(!(s<y&&o(d=l[s],s,l))===v)if(v=!v)f=s,c.areaStart(),c.lineStart();else{for(c.lineEnd(),c.lineStart(),p=s-1;p>=f;--p)c.point(m[p],g[p]);c.lineEnd(),c.areaEnd()}v&&(m[s]=+t(d,s,l),g[s]=+e(d,s,l),c.point(n?+n(d,s,l):m[s],r?+r(d,s,l):g[s]))}if(h)return c=null,h+""||null}function s(){return Yc().defined(o).curve(a).context(i)}return t="function"==typeof t?t:void 0===t?Wc:Ec(+t),e="function"==typeof e?e:Ec(void 0===e?0:+e),r="function"==typeof r?r:void 0===r?qc:Ec(+r),l.x=function(e){return arguments.length?(t="function"==typeof e?e:Ec(+e),n=null,l):t},l.x0=function(e){return arguments.length?(t="function"==typeof e?e:Ec(+e),l):t},l.x1=function(t){return arguments.length?(n=null==t?null:"function"==typeof t?t:Ec(+t),l):n},l.y=function(t){return arguments.length?(e="function"==typeof t?t:Ec(+t),r=null,l):e},l.y0=function(t){return arguments.length?(e="function"==typeof t?t:Ec(+t),l):e},l.y1=function(t){return arguments.length?(r=null==t?null:"function"==typeof t?t:Ec(+t),l):r},l.lineX0=l.lineY0=function(){return s().x(t).y(e)},l.lineY1=function(){return s().x(t).y(r)},l.lineX1=function(){return s().x(n).y(e)},l.defined=function(t){return arguments.length?(o="function"==typeof t?t:Ec(!!t),l):o},l.curve=function(t){return arguments.length?(a=t,null!=i&&(c=a(i)),l):a},l.context=function(t){return arguments.length?(null==t?i=c=null:c=a(i=t),l):i},l}Vc.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(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:this._context.lineTo(t,e)}}};class Kc{constructor(t,e){this._context=t,this._x=e}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(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:this._x?this._context.bezierCurveTo(this._x0=(this._x0+t)/2,this._y0,this._x0,e,t,e):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+e)/2,t,this._y0,t,e)}this._x0=t,this._y0=e}}var Gc={draw(t,e){const r=Tc(e/Dc);t.moveTo(r,0),t.arc(0,0,r,0,Ic)}},Zc={draw(t,e){const r=Tc(e/5)/2;t.moveTo(-3*r,-r),t.lineTo(-r,-r),t.lineTo(-r,-3*r),t.lineTo(r,-3*r),t.lineTo(r,-r),t.lineTo(3*r,-r),t.lineTo(3*r,r),t.lineTo(r,r),t.lineTo(r,3*r),t.lineTo(-r,3*r),t.lineTo(-r,r),t.lineTo(-3*r,r),t.closePath()}};const Jc=Tc(1/3),Qc=2*Jc;var tu={draw(t,e){const r=Tc(e/Qc),n=r*Jc;t.moveTo(0,-r),t.lineTo(n,0),t.lineTo(0,r),t.lineTo(-n,0),t.closePath()}},eu={draw(t,e){const r=Tc(e),n=-r/2;t.rect(n,n,r,r)}};const ru=_c(Dc/10)/_c(7*Dc/10),nu=_c(Ic/10)*ru,ou=-Cc(Ic/10)*ru;var iu={draw(t,e){const r=Tc(.8908130915292852*e),n=nu*r,o=ou*r;t.moveTo(0,-r),t.lineTo(n,o);for(let e=1;e<5;++e){const i=Ic*e/5,a=Cc(i),c=_c(i);t.lineTo(c*r,-a*r),t.lineTo(a*n-c*o,c*n+a*o)}t.closePath()}};const au=Tc(3);var cu={draw(t,e){const r=-Tc(e/(3*au));t.moveTo(0,2*r),t.lineTo(-au*r,-r),t.lineTo(au*r,-r),t.closePath()}};const uu=-.5,lu=Tc(3)/2,su=1/Tc(12),fu=3*(su/2+1);var pu={draw(t,e){const r=Tc(e/fu),n=r/2,o=r*su,i=n,a=r*su+r,c=-i,u=a;t.moveTo(n,o),t.lineTo(i,a),t.lineTo(c,u),t.lineTo(uu*n-lu*o,lu*n+uu*o),t.lineTo(uu*i-lu*a,lu*i+uu*a),t.lineTo(uu*c-lu*u,lu*c+uu*u),t.lineTo(uu*n+lu*o,uu*o-lu*n),t.lineTo(uu*i+lu*a,uu*a-lu*i),t.lineTo(uu*c+lu*u,uu*u-lu*c),t.closePath()}};function du(){}function hu(t,e,r){t._context.bezierCurveTo((2*t._x0+t._x1)/3,(2*t._y0+t._y1)/3,(t._x0+2*t._x1)/3,(t._y0+2*t._y1)/3,(t._x0+4*t._x1+e)/6,(t._y0+4*t._y1+r)/6)}function yu(t){this._context=t}function vu(t){this._context=t}function mu(t){this._context=t}function gu(t){this._context=t}function bu(t){return t<0?-1:1}function wu(t,e,r){var n=t._x1-t._x0,o=e-t._x1,i=(t._y1-t._y0)/(n||o<0&&-0),a=(r-t._y1)/(o||n<0&&-0),c=(i*o+a*n)/(n+o);return(bu(i)+bu(a))*Math.min(Math.abs(i),Math.abs(a),.5*Math.abs(c))||0}function xu(t,e){var r=t._x1-t._x0;return r?(3*(t._y1-t._y0)/r-e)/2:e}function Ou(t,e,r){var n=t._x0,o=t._y0,i=t._x1,a=t._y1,c=(i-n)/3;t._context.bezierCurveTo(n+c,o+c*e,i-c,a-c*r,i,a)}function Su(t){this._context=t}function ju(t){this._context=new Pu(t)}function Pu(t){this._context=t}function Au(t){this._context=t}function Mu(t){var e,r,n=t.length-1,o=new Array(n),i=new Array(n),a=new Array(n);for(o[0]=0,i[0]=2,a[0]=t[0]+2*t[1],e=1;e<n-1;++e)o[e]=1,i[e]=4,a[e]=4*t[e]+2*t[e+1];for(o[n-1]=2,i[n-1]=7,a[n-1]=8*t[n-1]+t[n],e=1;e<n;++e)r=o[e]/i[e-1],i[e]-=r,a[e]-=r*a[e-1];for(o[n-1]=a[n-1]/i[n-1],e=n-2;e>=0;--e)o[e]=(a[e]-o[e+1])/i[e];for(i[n-1]=(t[n]+o[n-1])/2,e=0;e<n-1;++e)i[e]=2*t[e+1]-o[e+1];return[o,i]}function ku(t,e){this._context=t,this._t=e}function Eu(t,e){if((o=t.length)>1)for(var r,n,o,i=1,a=t[e[0]],c=a.length;i<o;++i)for(n=a,a=t[e[i]],r=0;r<c;++r)a[r][1]+=a[r][0]=isNaN(n[r][1])?n[r][0]:n[r][1]}function Cu(t){for(var e=t.length,r=new Array(e);--e>=0;)r[e]=e;return r}function _u(t,e){return t[e]}function Tu(t){const e=[];return e.key=t,e}function Du(t){return Du="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Du(t)}yu.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:hu(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(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);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:hu(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},vu.prototype={areaStart:du,areaEnd:du,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(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x2=t,this._y2=e;break;case 1:this._point=2,this._x3=t,this._y3=e;break;case 2:this._point=3,this._x4=t,this._y4=e,this._context.moveTo((this._x0+4*this._x1+t)/6,(this._y0+4*this._y1+e)/6);break;default:hu(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},mu.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(t,e){switch(t=+t,e=+e,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+t)/6,n=(this._y0+4*this._y1+e)/6;this._line?this._context.lineTo(r,n):this._context.moveTo(r,n);break;case 3:this._point=4;default:hu(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},gu.prototype={areaStart:du,areaEnd:du,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(t,e){t=+t,e=+e,this._point?this._context.lineTo(t,e):(this._point=1,this._context.moveTo(t,e))}},Su.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:Ou(this,this._t0,xu(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){var r=NaN;if(e=+e,(t=+t)!==this._x1||e!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,Ou(this,xu(this,r=wu(this,t,e)),r);break;default:Ou(this,this._t0,r=wu(this,t,e))}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e,this._t0=r}}},(ju.prototype=Object.create(Su.prototype)).point=function(t,e){Su.prototype.point.call(this,e,t)},Pu.prototype={moveTo:function(t,e){this._context.moveTo(e,t)},closePath:function(){this._context.closePath()},lineTo:function(t,e){this._context.lineTo(e,t)},bezierCurveTo:function(t,e,r,n,o,i){this._context.bezierCurveTo(e,t,n,r,i,o)}},Au.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var t=this._x,e=this._y,r=t.length;if(r)if(this._line?this._context.lineTo(t[0],e[0]):this._context.moveTo(t[0],e[0]),2===r)this._context.lineTo(t[1],e[1]);else for(var n=Mu(t),o=Mu(e),i=0,a=1;a<r;++i,++a)this._context.bezierCurveTo(n[0][i],o[0][i],n[1][i],o[1][i],t[a],e[a]);(this._line||0!==this._line&&1===r)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(t,e){this._x.push(+t),this._y.push(+e)}},ku.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(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,e),this._context.lineTo(t,e);else{var r=this._x*(1-this._t)+t*this._t;this._context.lineTo(r,this._y),this._context.lineTo(r,e)}}this._x=t,this._y=e}};var Iu=["type","size","sizeType"];function Nu(){return Nu=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},Nu.apply(this,arguments)}function Lu(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Bu(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Lu(Object(r),!0).forEach((function(e){Ru(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Lu(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Ru(t,e,r){return e=function(t){var e=function(t,e){if("object"!=Du(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=Du(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==Du(e)?e:e+""}(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function $u(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}var zu={symbolCircle:Gc,symbolCross:Zc,symbolDiamond:tu,symbolSquare:eu,symbolStar:iu,symbolTriangle:cu,symbolWye:pu},Hu=Math.PI/180,Fu=function(t){var e,r,n=t.type,o=void 0===n?"circle":n,i=t.size,a=void 0===i?64:i,c=t.sizeType,u=void 0===c?"area":c,l=Bu(Bu({},$u(t,Iu)),{},{type:o,size:a,sizeType:u}),s=l.className,f=l.cx,p=l.cy,d=Xa(l,!0);return f===+f&&p===+p&&a===+a?J.createElement("path",Nu({},d,{className:gn("recharts-symbols",s),transform:"translate(".concat(f,", ").concat(p,")"),d:(e=function(t){var e="symbol".concat(kc(t));return zu[e]||Gc}(o),r=function(t,e){let r=null,n=Hc(o);function o(){let o;if(r||(r=o=n()),t.apply(this,arguments).draw(r,+e.apply(this,arguments)),o)return r=null,o+""||null}return t="function"==typeof t?t:Ec(t||Gc),e="function"==typeof e?e:Ec(void 0===e?64:+e),o.type=function(e){return arguments.length?(t="function"==typeof e?e:Ec(e),o):t},o.size=function(t){return arguments.length?(e="function"==typeof t?t:Ec(+t),o):e},o.context=function(t){return arguments.length?(r=null==t?null:t,o):r},o}().type(e).size(function(t,e,r){if("area"===e)return t;switch(r){case"cross":return 5*t*t/9;case"diamond":return.5*t*t/Math.sqrt(3);case"square":return t*t;case"star":var n=18*Hu;return 1.25*t*t*(Math.tan(n)-Math.tan(2*n)*Math.pow(Math.tan(n),2));case"triangle":return Math.sqrt(3)*t*t/4;case"wye":return(21-10*Math.sqrt(3))*t*t/8;default:return Math.PI*t*t/4}}(a,u,o)),r())})):null};function Vu(t){return Vu="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Vu(t)}function Uu(){return Uu=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},Uu.apply(this,arguments)}function Wu(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function qu(t,e,r){return e&&function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,Ju(n.key),n)}}(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}function Yu(t,e,r){return e=Ku(e),function(t,e){if(e&&("object"===Vu(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,Xu()?Reflect.construct(e,r||[],Ku(t).constructor):e.apply(t,r))}function Xu(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(Xu=function(){return!!t})()}function Ku(t){return Ku=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Ku(t)}function Gu(t,e){return Gu=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},Gu(t,e)}function Zu(t,e,r){return(e=Ju(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Ju(t){var e=function(t,e){if("object"!=Vu(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!=Vu(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"==Vu(e)?e:e+""}Fu.registerSymbol=function(t,e){zu["symbol".concat(kc(t))]=e};var Qu,tl,el,rl,nl,ol,il,al,cl,ul,ll,sl,fl,pl,dl,hl,yl,vl,ml,gl,bl,wl,xl,Ol,Sl,jl,Pl,Al,Ml,kl,El,Cl,_l,Tl,Dl,Il,Nl,Ll,Bl,Rl,$l,zl,Hl,Fl,Vl,Ul,Wl,ql,Yl=32,Xl=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),Yu(this,e,arguments)}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Gu(t,e)}(e,et),qu(e,[{key:"renderIcon",value:function(t){var e=this.props.inactiveColor,r=16,n=Yl/6,o=Yl/3,i=t.inactive?e:t.color;if("plainline"===t.type)return J.createElement("line",{strokeWidth:4,fill:"none",stroke:i,strokeDasharray:t.payload.strokeDasharray,x1:0,y1:r,x2:Yl,y2:r,className:"recharts-legend-icon"});if("line"===t.type)return J.createElement("path",{strokeWidth:4,fill:"none",stroke:i,d:"M0,".concat(r,"h").concat(o,"\n A").concat(n,",").concat(n,",0,1,1,").concat(2*o,",").concat(r,"\n H").concat(Yl,"M").concat(2*o,",").concat(r,"\n A").concat(n,",").concat(n,",0,1,1,").concat(o,",").concat(r),className:"recharts-legend-icon"});if("rect"===t.type)return J.createElement("path",{stroke:"none",fill:i,d:"M0,".concat(4,"h").concat(Yl,"v").concat(24,"h").concat(-32,"z"),className:"recharts-legend-icon"});if(J.isValidElement(t.legendIcon)){var a=function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Wu(Object(r),!0).forEach((function(e){Zu(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Wu(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({},t);return delete a.legendIcon,J.cloneElement(t.legendIcon,a)}return J.createElement(Fu,{fill:i,cx:r,cy:r,size:Yl,sizeType:"diameter",type:t.type})}},{key:"renderItems",value:function(){var t=this,e=this.props,r=e.payload,n=e.iconSize,o=e.layout,i=e.formatter,a=e.inactiveColor,c={x:0,y:0,width:Yl,height:Yl},u={display:"horizontal"===o?"inline-block":"block",marginRight:10},l={display:"inline-block",verticalAlign:"middle",marginRight:4};return r.map((function(e,r){var o=e.formatter||i,s=gn(Zu(Zu({"recharts-legend-item":!0},"legend-item-".concat(r),!0),"inactive",e.inactive));if("none"===e.type)return null;var f=ta(e.value)?null:e.value;Sc(!ta(e.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=e.inactive?a:e.color;return J.createElement("li",Uu({className:s,style:u,key:"legend-item-".concat(r)},Da(t.props,e,r)),J.createElement(ec,{width:n,height:n,viewBox:c,style:l},t.renderIcon(e)),J.createElement("span",{className:"recharts-legend-item-text",style:{color:p}},o?o(f,e,r):f))}))}},{key:"render",value:function(){var t=this.props,e=t.payload,r=t.layout,n=t.align;if(!e||!e.length)return null;var o={padding:0,margin:0,textAlign:"horizontal"===r?n:"left"};return J.createElement("ul",{className:"recharts-default-legend",style:o},this.renderItems())}}])}();function Kl(){if(sl)return ll;sl=1;var t=Di(),e=function(){if(tl)return Qu;tl=1;var t=Di();return Qu=function(){this.__data__=new t,this.size=0}}(),r=rl?el:(rl=1,el=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r}),n=ol?nl:(ol=1,nl=function(t){return this.__data__.get(t)}),o=al?il:(al=1,il=function(t){return this.__data__.has(t)}),i=function(){if(ul)return cl;ul=1;var t=Di(),e=Ii(),r=Li();return cl=function(n,o){var i=this.__data__;if(i instanceof t){var a=i.__data__;if(!e||a.length<199)return a.push([n,o]),this.size=++i.size,this;i=this.__data__=new r(a)}return i.set(n,o),this.size=i.size,this}}();function a(e){var r=this.__data__=new t(e);this.size=r.size}return a.prototype.clear=e,a.prototype.delete=r,a.prototype.get=n,a.prototype.has=o,a.prototype.set=i,ll=a}function Gl(){if(vl)return yl;vl=1;var t=Li(),e=pl?fl:(pl=1,fl=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this}),r=hl?dl:(hl=1,dl=function(t){return this.__data__.has(t)});function n(e){var r=-1,n=null==e?0:e.length;for(this.__data__=new t;++r<n;)this.add(e[r])}return n.prototype.add=n.prototype.push=e,n.prototype.has=r,yl=n}function Zl(){if(gl)return ml;return gl=1,ml=function(t,e){for(var r=-1,n=null==t?0:t.length;++r<n;)if(e(t[r],r,t))return!0;return!1},ml}function Jl(){if(wl)return bl;return wl=1,bl=function(t,e){return t.has(e)}}function Ql(){if(Ol)return xl;Ol=1;var t=Gl(),e=Zl(),r=Jl();return xl=function(n,o,i,a,c,u){var l=1&i,s=n.length,f=o.length;if(s!=f&&!(l&&f>s))return!1;var p=u.get(n),d=u.get(o);if(p&&d)return p==o&&d==n;var h=-1,y=!0,v=2&i?new t:void 0;for(u.set(n,o),u.set(o,n);++h<s;){var m=n[h],g=o[h];if(a)var b=l?a(g,m,h,o,n,u):a(m,g,h,n,o,u);if(void 0!==b){if(b)continue;y=!1;break}if(v){if(!e(o,(function(t,e){if(!r(v,e)&&(m===t||c(m,t,i,a,u)))return v.push(e)}))){y=!1;break}}else if(m!==g&&!c(m,g,i,a,u)){y=!1;break}}return u.delete(n),u.delete(o),y},xl}function ts(){if(kl)return Ml;return kl=1,Ml=function(t){var e=-1,r=Array(t.size);return t.forEach((function(t){r[++e]=t})),r},Ml}function es(){if(Cl)return El;Cl=1;var t=bi(),e=function(){if(jl)return Sl;jl=1;var t=gi().Uint8Array;return Sl=t}(),r=_i(),n=Ql(),o=(Al||(Al=1,Pl=function(t){var e=-1,r=Array(t.size);return t.forEach((function(t,n){r[++e]=[n,t]})),r}),Pl),i=ts(),a=t?t.prototype:void 0,c=a?a.valueOf:void 0;return El=function(t,a,u,l,s,f,p){switch(u){case"[object DataView]":if(t.byteLength!=a.byteLength||t.byteOffset!=a.byteOffset)return!1;t=t.buffer,a=a.buffer;case"[object ArrayBuffer]":return!(t.byteLength!=a.byteLength||!f(new e(t),new e(a)));case"[object Boolean]":case"[object Date]":case"[object Number]":return r(+t,+a);case"[object Error]":return t.name==a.name&&t.message==a.message;case"[object RegExp]":case"[object String]":return t==a+"";case"[object Map]":var d=o;case"[object Set]":var h=1&l;if(d||(d=i),t.size!=a.size&&!h)return!1;var y=p.get(t);if(y)return y==a;l|=2,p.set(t,a);var v=n(d(t),d(a),l,s,f,p);return p.delete(t),v;case"[object Symbol]":if(c)return c.call(t)==c.call(a)}return!1},El}function rs(){if(Tl)return _l;return Tl=1,_l=function(t,e){for(var r=-1,n=e.length,o=t.length;++r<n;)t[o+r]=e[r];return t},_l}function ns(){if(zl)return $l;zl=1;var t=(Ll||(Ll=1,Nl=function(t,e){for(var r=-1,n=null==t?0:t.length,o=0,i=[];++r<n;){var a=t[r];e(a,r,t)&&(i[o++]=a)}return i}),Nl),e=Rl?Bl:(Rl=1,Bl=function(){return[]}),r=Object.prototype.propertyIsEnumerable,n=Object.getOwnPropertySymbols,o=n?function(e){return null==e?[]:(e=Object(e),t(n(e),(function(t){return r.call(e,t)})))}:e;return $l=o}function os(){if(ql)return Wl;ql=1;var t=function(){if(Ul)return Vl;Ul=1;var t=wi(),e=xi();return Vl=function(r){return e(r)&&"[object Arguments]"==t(r)}}(),e=xi(),r=Object.prototype,n=r.hasOwnProperty,o=r.propertyIsEnumerable,i=t(function(){return arguments}())?t:function(t){return e(t)&&n.call(t,"callee")&&!o.call(t,"callee")};return Wl=i}Zu(Xl,"displayName","Legend"),Zu(Xl,"defaultProps",{iconSize:14,layout:"horizontal",align:"center",verticalAlign:"middle",inactiveColor:"#ccc"});var is,as,cs,us,ls,ss,fs,ps,ds,hs,ys,vs={exports:{}};function ms(){return cs||(cs=1,function(t,e){var r=gi(),n=as?is:(as=1,is=function(){return!1}),o=e&&!e.nodeType&&e,i=o&&t&&!t.nodeType&&t,a=i&&i.exports===o?r.Buffer:void 0,c=(a?a.isBuffer:void 0)||n;t.exports=c}(vs,vs.exports)),vs.exports}function gs(){if(ls)return us;ls=1;var t=/^(?:0|[1-9]\d*)$/;return us=function(e,r){var n=typeof e;return!!(r=null==r?9007199254740991:r)&&("number"==n||"symbol"!=n&&t.test(e))&&e>-1&&e%1==0&&e<r}}function bs(){if(fs)return ss;fs=1;return ss=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}}function ws(){if(ys)return hs;return ys=1,hs=function(t){return function(e){return t(e)}}}vs.exports;var xs,Os,Ss,js,Ps,As,Ms,ks,Es,Cs,_s,Ts,Ds,Is,Ns,Ls,Bs,Rs,$s,zs,Hs,Fs,Vs,Us,Ws,qs,Ys,Xs,Ks,Gs,Zs,Js,Qs,tf,ef,rf,nf,of,af,cf,uf,lf,sf,ff,pf,df,hf,yf,vf,mf,gf,bf,wf,xf,Of,Sf,jf,Pf,Af,Mf,kf,Ef,Cf,_f,Tf,Df,If,Nf,Lf,Bf,Rf,$f,zf,Hf,Ff,Vf,Uf,Wf,qf,Yf,Xf,Kf,Gf,Zf={exports:{}};function Jf(){if(Ss)return Os;Ss=1;var t=function(){if(ds)return ps;ds=1;var t=wi(),e=bs(),r=xi(),n={};return n["[object Float32Array]"]=n["[object Float64Array]"]=n["[object Int8Array]"]=n["[object Int16Array]"]=n["[object Int32Array]"]=n["[object Uint8Array]"]=n["[object Uint8ClampedArray]"]=n["[object Uint16Array]"]=n["[object Uint32Array]"]=!0,n["[object Arguments]"]=n["[object Array]"]=n["[object ArrayBuffer]"]=n["[object Boolean]"]=n["[object DataView]"]=n["[object Date]"]=n["[object Error]"]=n["[object Function]"]=n["[object Map]"]=n["[object Number]"]=n["[object Object]"]=n["[object RegExp]"]=n["[object Set]"]=n["[object String]"]=n["[object WeakMap]"]=!1,ps=function(o){return r(o)&&e(o.length)&&!!n[t(o)]}}(),e=ws(),r=function(){return xs||(xs=1,t=Zf,e=Zf.exports,r=mi(),n=e&&!e.nodeType&&e,o=n&&t&&!t.nodeType&&t,i=o&&o.exports===n&&r.process,a=function(){try{return o&&o.require&&o.require("util").types||i&&i.binding&&i.binding("util")}catch(t){}}(),t.exports=a),Zf.exports;var t,e,r,n,o,i,a}(),n=r&&r.isTypedArray,o=n?e(n):t;return Os=o}function Qf(){if(Ps)return js;Ps=1;var t=Fl?Hl:(Fl=1,Hl=function(t,e){for(var r=-1,n=Array(t);++r<t;)n[r]=e(r);return n}),e=os(),r=vi(),n=ms(),o=gs(),i=Jf(),a=Object.prototype.hasOwnProperty;return js=function(c,u){var l=r(c),s=!l&&e(c),f=!l&&!s&&n(c),p=!l&&!s&&!f&&i(c),d=l||s||f||p,h=d?t(c.length,String):[],y=h.length;for(var v in c)!u&&!a.call(c,v)||d&&("length"==v||f&&("offset"==v||"parent"==v)||p&&("buffer"==v||"byteLength"==v||"byteOffset"==v)||o(v,y))||h.push(v);return h}}function tp(){if(Es)return ks;return Es=1,ks=function(t,e){return function(r){return t(e(r))}}}function ep(){if(Ds)return Ts;Ds=1;var t=function(){if(Ms)return As;Ms=1;var t=Object.prototype;return As=function(e){var r=e&&e.constructor;return e===("function"==typeof r&&r.prototype||t)}}(),e=function(){if(_s)return Cs;_s=1;var t=tp()(Object.keys,Object);return Cs=t}(),r=Object.prototype.hasOwnProperty;return Ts=function(n){if(!t(n))return e(n);var o=[];for(var i in Object(n))r.call(n,i)&&"constructor"!=i&&o.push(i);return o},Ts}function rp(){if(Ns)return Is;Ns=1;var t=Pi(),e=bs();return Is=function(r){return null!=r&&e(r.length)&&!t(r)}}function np(){if(Bs)return Ls;Bs=1;var t=Qf(),e=ep(),r=rp();return Ls=function(n){return r(n)?t(n):e(n)},Ls}function op(){if($s)return Rs;$s=1;var t=function(){if(Il)return Dl;Il=1;var t=rs(),e=vi();return Dl=function(r,n,o){var i=n(r);return e(r)?i:t(i,o(r))},Dl}(),e=ns(),r=np();return Rs=function(n){return t(n,r,e)},Rs}function ip(){if(Ys)return qs;Ys=1;var t=ki()(gi(),"Set");return qs=t}function ap(){if(Zs)return Gs;Zs=1;var t=function(){if(Vs)return Fs;Vs=1;var t=ki()(gi(),"DataView");return Fs=t}(),e=Ii(),r=function(){if(Ws)return Us;Ws=1;var t=ki()(gi(),"Promise");return Us=t}(),n=ip(),o=function(){if(Ks)return Xs;Ks=1;var t=ki()(gi(),"WeakMap");return Xs=t}(),i=wi(),a=Mi(),c="[object Map]",u="[object Promise]",l="[object Set]",s="[object WeakMap]",f="[object DataView]",p=a(t),d=a(e),h=a(r),y=a(n),v=a(o),m=i;return(t&&m(new t(new ArrayBuffer(1)))!=f||e&&m(new e)!=c||r&&m(r.resolve())!=u||n&&m(new n)!=l||o&&m(new o)!=s)&&(m=function(t){var e=i(t),r="[object Object]"==e?t.constructor:void 0,n=r?a(r):"";if(n)switch(n){case p:return f;case d:return c;case h:return u;case y:return l;case v:return s}return e}),Gs=m}function cp(){if(Qs)return Js;Qs=1;var t=Kl(),e=Ql(),r=es(),n=function(){if(Hs)return zs;Hs=1;var t=op(),e=Object.prototype.hasOwnProperty;return zs=function(r,n,o,i,a,c){var u=1&o,l=t(r),s=l.length;if(s!=t(n).length&&!u)return!1;for(var f=s;f--;){var p=l[f];if(!(u?p in n:e.call(n,p)))return!1}var d=c.get(r),h=c.get(n);if(d&&h)return d==n&&h==r;var y=!0;c.set(r,n),c.set(n,r);for(var v=u;++f<s;){var m=r[p=l[f]],g=n[p];if(i)var b=u?i(g,m,p,n,r,c):i(m,g,p,r,n,c);if(!(void 0===b?m===g||a(m,g,o,i,c):b)){y=!1;break}v||(v="constructor"==p)}if(y&&!v){var w=r.constructor,x=n.constructor;w==x||!("constructor"in r)||!("constructor"in n)||"function"==typeof w&&w instanceof w&&"function"==typeof x&&x instanceof x||(y=!1)}return c.delete(r),c.delete(n),y},zs}(),o=ap(),i=vi(),a=ms(),c=Jf(),u="[object Arguments]",l="[object Array]",s="[object Object]",f=Object.prototype.hasOwnProperty;return Js=function(p,d,h,y,v,m){var g=i(p),b=i(d),w=g?l:o(p),x=b?l:o(d),O=(w=w==u?s:w)==s,S=(x=x==u?s:x)==s,j=w==x;if(j&&a(p)){if(!a(d))return!1;g=!0,O=!1}if(j&&!O)return m||(m=new t),g||c(p)?e(p,d,h,y,v,m):r(p,d,w,h,y,v,m);if(!(1&h)){var P=O&&f.call(p,"__wrapped__"),A=S&&f.call(d,"__wrapped__");if(P||A){var M=P?p.value():p,k=A?d.value():d;return m||(m=new t),v(M,k,h,y,m)}}return!!j&&(m||(m=new t),n(p,d,h,y,v,m))},Js}function up(){if(ef)return tf;ef=1;var t=cp(),e=xi();return tf=function r(n,o,i,a,c){return n===o||(null==n||null==o||!e(n)&&!e(o)?n!=n&&o!=o:t(n,o,i,a,r,c))},tf}function lp(){if(af)return of;af=1;var t=ji();return of=function(e){return e==e&&!t(e)}}function sp(){if(sf)return lf;return sf=1,lf=function(t,e){return function(r){return null!=r&&(r[t]===e&&(void 0!==e||t in Object(r)))}},lf}function fp(){if(pf)return ff;pf=1;var t=function(){if(nf)return rf;nf=1;var t=Kl(),e=up();return rf=function(r,n,o,i){var a=o.length,c=a,u=!i;if(null==r)return!c;for(r=Object(r);a--;){var l=o[a];if(u&&l[2]?l[1]!==r[l[0]]:!(l[0]in r))return!1}for(;++a<c;){var s=(l=o[a])[0],f=r[s],p=l[1];if(u&&l[2]){if(void 0===f&&!(s in r))return!1}else{var d=new t;if(i)var h=i(f,p,s,r,n,d);if(!(void 0===h?e(p,f,3,i,d):h))return!1}}return!0},rf}(),e=function(){if(uf)return cf;uf=1;var t=lp(),e=np();return cf=function(r){for(var n=e(r),o=n.length;o--;){var i=n[o],a=r[i];n[o]=[i,a,t(a)]}return n},cf}(),r=sp();return ff=function(n){var o=e(n);return 1==o.length&&o[0][2]?r(o[0][0],o[0][1]):function(e){return e===n||t(e,n,o)}},ff}function pp(){if(gf)return mf;gf=1;var t=(hf||(hf=1,df=function(t,e){return null!=t&&e in Object(t)}),df),e=function(){if(vf)return yf;vf=1;var t=Hi(),e=os(),r=vi(),n=gs(),o=bs(),i=Fi();return yf=function(a,c,u){for(var l=-1,s=(c=t(c,a)).length,f=!1;++l<s;){var p=i(c[l]);if(!(f=null!=a&&u(a,p)))break;a=a[p]}return f||++l!=s?f:!!(s=null==a?0:a.length)&&o(s)&&n(p,s)&&(r(a)||e(a))},yf}();return mf=function(r,n){return null!=r&&e(r,n,t)},mf}function dp(){if(Of)return xf;return Of=1,xf=function(t){return t}}function hp(){if(kf)return Mf;kf=1;var t=(jf||(jf=1,Sf=function(t){return function(e){return null==e?void 0:e[t]}}),Sf),e=function(){if(Af)return Pf;Af=1;var t=Vi();return Pf=function(e){return function(r){return t(r,e)}},Pf}(),r=Si(),n=Fi();return Mf=function(o){return r(o)?t(n(o)):e(o)}}function yp(){if(Cf)return Ef;Cf=1;var t=fp(),e=function(){if(wf)return bf;wf=1;var t=up(),e=Ui(),r=pp(),n=Si(),o=lp(),i=sp(),a=Fi();return bf=function(c,u){return n(c)&&o(u)?i(a(c),u):function(n){var o=e(n,c);return void 0===o&&o===u?r(n,c):t(u,o,3)}},bf}(),r=dp(),n=vi(),o=hp();return Ef=function(i){return"function"==typeof i?i:null==i?r:"object"==typeof i?n(i)?e(i[0],i[1]):t(i):o(i)}}function vp(){if(Tf)return _f;return Tf=1,_f=function(t,e,r,n){for(var o=t.length,i=r+(n?1:-1);n?i--:++i<o;)if(e(t[i],i,t))return i;return-1},_f}function mp(){if(Rf)return Bf;Rf=1;var t=vp(),e=If?Df:(If=1,Df=function(t){return t!=t}),r=(Lf||(Lf=1,Nf=function(t,e,r){for(var n=r-1,o=t.length;++n<o;)if(t[n]===e)return n;return-1}),Nf);return Bf=function(n,o,i){return o==o?r(n,o,i):t(n,e,i)},Bf}function gp(){if(qf)return Wf;qf=1;var t=ip(),e=Uf?Vf:(Uf=1,Vf=function(){}),r=ts(),n=t&&1/r(new t([,-0]))[1]==1/0?function(e){return new t(e)}:e;return Wf=n}function bp(){if(Xf)return Yf;Xf=1;var t=Gl(),e=function(){if(zf)return $f;zf=1;var t=mp();return $f=function(e,r){return!(null==e||!e.length)&&t(e,r,0)>-1},$f}(),r=(Ff||(Ff=1,Hf=function(t,e,r){for(var n=-1,o=null==t?0:t.length;++n<o;)if(r(e,t[n]))return!0;return!1}),Hf),n=Jl(),o=gp(),i=ts();return Yf=function(a,c,u){var l=-1,s=e,f=a.length,p=!0,d=[],h=d;if(u)p=!1,s=r;else if(f>=200){var y=c?null:o(a);if(y)return i(y);p=!1,s=n,h=new t}else h=c?[]:d;t:for(;++l<f;){var v=a[l],m=c?c(v):v;if(v=u||0!==v?v:0,p&&m==m){for(var g=h.length;g--;)if(h[g]===m)continue t;c&&h.push(m),d.push(v)}else s(h,m,u)||(h!==d&&h.push(m),d.push(v))}return d},Yf}Zf.exports;var wp=function(){if(Gf)return Kf;Gf=1;var t=yp(),e=bp();return Kf=function(r,n){return r&&r.length?e(r,t(n,2)):[]},Kf}(),xp=Je(wp);function Op(t,e,r){return!0===e?xp(t,r):ta(e)?xp(t,e):t}function Sp(t){return Sp="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Sp(t)}var jp=["ref"];function Pp(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ap(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Pp(Object(r),!0).forEach((function(e){Tp(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Pp(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Mp(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,Dp(n.key),n)}}function kp(t,e,r){return e=Cp(e),function(t,e){if(e&&("object"===Sp(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,Ep()?Reflect.construct(e,r||[],Cp(t).constructor):e.apply(t,r))}function Ep(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(Ep=function(){return!!t})()}function Cp(t){return Cp=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Cp(t)}function _p(t,e){return _p=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},_p(t,e)}function Tp(t,e,r){return(e=Dp(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Dp(t){var e=function(t,e){if("object"!=Sp(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=Sp(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==Sp(e)?e:e+""}function Ip(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function Np(t){return t.value}var Lp,Bp,Rp,$p,zp,Hp,Fp,Vp,Up,Wp,qp,Yp,Xp,Kp,Gp,Zp,Jp,Qp,td,ed,rd,nd,od,id,ad,cd,ud,ld,sd,fd,pd,dd,hd,yd,vd,md,gd,bd,wd,xd,Od,Sd,jd,Pd,Ad=function(t){function e(){var t;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return Tp(t=kp(this,e,[].concat(n)),"lastBoundingBox",{width:-1,height:-1}),t}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&_p(t,e)}(e,et),r=e,o=[{key:"getWithHeight",value:function(t,e){var r=Ap(Ap({},this.defaultProps),t.props).layout;return"vertical"===r&&ga(t.props.height)?{height:t.props.height}:"horizontal"===r?{width:t.props.width||e}: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 t=this.wrapperNode.getBoundingClientRect();return t.height=this.wrapperNode.offsetHeight,t.width=this.wrapperNode.offsetWidth,t}return null}},{key:"updateBBox",value:function(){var t=this.props.onBBoxUpdate,e=this.getBBox();e?(Math.abs(e.width-this.lastBoundingBox.width)>1||Math.abs(e.height-this.lastBoundingBox.height)>1)&&(this.lastBoundingBox.width=e.width,this.lastBoundingBox.height=e.height,t&&t(e)):-1===this.lastBoundingBox.width&&-1===this.lastBoundingBox.height||(this.lastBoundingBox.width=-1,this.lastBoundingBox.height=-1,t&&t(null))}},{key:"getBBoxSnapshot",value:function(){return this.lastBoundingBox.width>=0&&this.lastBoundingBox.height>=0?Ap({},this.lastBoundingBox):{width:0,height:0}}},{key:"getDefaultPosition",value:function(t){var e,r,n=this.props,o=n.layout,i=n.align,a=n.verticalAlign,c=n.margin,u=n.chartWidth,l=n.chartHeight;return t&&(void 0!==t.left&&null!==t.left||void 0!==t.right&&null!==t.right)||(e="center"===i&&"vertical"===o?{left:((u||0)-this.getBBoxSnapshot().width)/2}:"right"===i?{right:c&&c.right||0}:{left:c&&c.left||0}),t&&(void 0!==t.top&&null!==t.top||void 0!==t.bottom&&null!==t.bottom)||(r="middle"===a?{top:((l||0)-this.getBBoxSnapshot().height)/2}:"bottom"===a?{bottom:c&&c.bottom||0}:{top:c&&c.top||0}),Ap(Ap({},e),r)}},{key:"render",value:function(){var t=this,e=this.props,r=e.content,n=e.width,o=e.height,i=e.wrapperStyle,a=e.payloadUniqBy,c=e.payload,u=Ap(Ap({position:"absolute",width:n||"auto",height:o||"auto"},this.getDefaultPosition(i)),i);return J.createElement("div",{className:"recharts-legend-wrapper",style:u,ref:function(e){t.wrapperNode=e}},function(t,e){if(J.isValidElement(t))return J.cloneElement(t,e);if("function"==typeof t)return J.createElement(t,e);e.ref;var r=Ip(e,jp);return J.createElement(Xl,r)}(r,Ap(Ap({},this.props),{},{payload:Op(c,a,Np)})))}}])&&Mp(r.prototype,n),o&&Mp(r,o),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,o}();function Md(){if($p)return Rp;$p=1;var t=rs(),e=function(){if(Bp)return Lp;Bp=1;var t=bi(),e=os(),r=vi(),n=t?t.isConcatSpreadable:void 0;return Lp=function(t){return r(t)||e(t)||!!(n&&t&&t[n])}}();return Rp=function r(n,o,i,a,c){var u=-1,l=n.length;for(i||(i=e),c||(c=[]);++u<l;){var s=n[u];o>0&&i(s)?o>1?r(s,o-1,i,a,c):t(c,s):a||(c[c.length]=s)}return c},Rp}function kd(){if(Vp)return Fp;Vp=1;var t=(Hp||(Hp=1,zp=function(t){return function(e,r,n){for(var o=-1,i=Object(e),a=n(e),c=a.length;c--;){var u=a[t?c:++o];if(!1===r(i[u],u,i))break}return e}}),zp),e=t();return Fp=e}function Ed(){if(Wp)return Up;Wp=1;var t=kd(),e=np();return Up=function(r,n){return r&&t(r,n,e)},Up}function Cd(){if(Kp)return Xp;Kp=1;var t=Ed(),e=function(){if(Yp)return qp;Yp=1;var t=rp();return qp=function(e,r){return function(n,o){if(null==n)return n;if(!t(n))return e(n,o);for(var i=n.length,a=r?i:-1,c=Object(n);(r?a--:++a<i)&&!1!==o(c[a],a,c););return n}}}()(t);return Xp=e}function _d(){if(Zp)return Gp;Zp=1;var t=Cd(),e=rp();return Gp=function(r,n){var o=-1,i=e(r)?Array(r.length):[];return t(r,(function(t,e,r){i[++o]=n(t,e,r)})),i}}function Td(){if(nd)return rd;nd=1;var t=function(){if(ed)return td;ed=1;var t=Oi();return td=function(e,r){if(e!==r){var n=void 0!==e,o=null===e,i=e==e,a=t(e),c=void 0!==r,u=null===r,l=r==r,s=t(r);if(!u&&!s&&!a&&e>r||a&&c&&l&&!u&&!s||o&&c&&l||!n&&l||!i)return 1;if(!o&&!a&&!s&&e<r||s&&n&&i&&!o&&!a||u&&n&&i||!c&&i||!l)return-1}return 0}}();return rd=function(e,r,n){for(var o=-1,i=e.criteria,a=r.criteria,c=i.length,u=n.length;++o<c;){var l=t(i[o],a[o]);if(l)return o>=u?l:l*("desc"==n[o]?-1:1)}return e.index-r.index},rd}function Dd(){if(id)return od;id=1;var t=$i(),e=Vi(),r=yp(),n=_d(),o=(Qp||(Qp=1,Jp=function(t,e){var r=t.length;for(t.sort(e);r--;)t[r]=t[r].value;return t}),Jp),i=ws(),a=Td(),c=dp(),u=vi();return od=function(l,s,f){s=s.length?t(s,(function(t){return u(t)?function(r){return e(r,1===t.length?t[0]:t)}:t})):[c];var p=-1;s=t(s,i(r));var d=n(l,(function(e,r,n){return{criteria:t(s,(function(t){return t(e)})),index:++p,value:e}}));return o(d,(function(t,e){return a(t,e,f)}))},od}function Id(){if(ld)return ud;ld=1;var t=cd?ad:(cd=1,ad=function(t,e,r){switch(r.length){case 0:return t.call(e);case 1:return t.call(e,r[0]);case 2:return t.call(e,r[0],r[1]);case 3:return t.call(e,r[0],r[1],r[2])}return t.apply(e,r)}),e=Math.max;return ud=function(r,n,o){return n=e(void 0===n?r.length-1:n,0),function(){for(var i=arguments,a=-1,c=e(i.length-n,0),u=Array(c);++a<c;)u[a]=i[n+a];a=-1;for(var l=Array(n+1);++a<n;)l[a]=i[a];return l[n]=o(u),t(r,this,l)}},ud}function Nd(){if(dd)return pd;dd=1;var t=ki(),e=function(){try{var e=t(Object,"defineProperty");return e({},"",{}),e}catch(t){}}();return pd=e}function Ld(){if(yd)return hd;yd=1;var t=fd?sd:(fd=1,sd=function(t){return function(){return t}}),e=Nd(),r=dp(),n=e?function(r,n){return e(r,"toString",{configurable:!0,enumerable:!1,value:t(n),writable:!0})}:r;return hd=n}function Bd(){if(bd)return gd;bd=1;var t=Ld(),e=function(){if(md)return vd;md=1;var t=Date.now;return vd=function(e){var r=0,n=0;return function(){var o=t(),i=16-(o-n);if(n=o,i>0){if(++r>=800)return arguments[0]}else r=0;return e.apply(void 0,arguments)}},vd}(),r=e(t);return gd=r}function Rd(){if(Sd)return Od;Sd=1;var t=_i(),e=rp(),r=gs(),n=ji();return Od=function(o,i,a){if(!n(a))return!1;var c=typeof i;return!!("number"==c?e(a)&&r(i,a.length):"string"==c&&i in a)&&t(a[i],o)},Od}Tp(Ad,"displayName","Legend"),Tp(Ad,"defaultProps",{iconSize:14,layout:"horizontal",align:"center",verticalAlign:"bottom"});var $d=function(){if(Pd)return jd;Pd=1;var t=Md(),e=Dd(),r=function(){if(xd)return wd;xd=1;var t=dp(),e=Id(),r=Bd();return wd=function(n,o){return r(e(n,o,t),n+"")}}(),n=Rd(),o=r((function(r,o){if(null==r)return[];var i=o.length;return i>1&&n(r,o[0],o[1])?o=[]:i>2&&n(o[0],o[1],o[2])&&(o=[o[0]]),e(r,t(o,1),[])}));return jd=o}(),zd=Je($d);function Hd(t){return Hd="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Hd(t)}function Fd(){return Fd=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},Fd.apply(this,arguments)}function Vd(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e);else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return Ud(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Ud(t,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 Ud(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function Wd(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function qd(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Wd(Object(r),!0).forEach((function(e){Yd(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Wd(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Yd(t,e,r){return e=function(t){var e=function(t,e){if("object"!=Hd(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=Hd(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==Hd(e)?e:e+""}(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Xd(t){return Array.isArray(t)&&ba(t[0])&&ba(t[1])?t.join(" ~ "):t}var Kd=function(t){var e=t.separator,r=void 0===e?" : ":e,n=t.contentStyle,o=void 0===n?{}:n,i=t.itemStyle,a=void 0===i?{}:i,c=t.labelStyle,u=void 0===c?{}:c,l=t.payload,s=t.formatter,f=t.itemSorter,p=t.wrapperClassName,d=t.labelClassName,h=t.label,y=t.labelFormatter,v=t.accessibilityLayer,m=void 0!==v&&v,g=qd({margin:0,padding:10,backgroundColor:"#fff",border:"1px solid #ccc",whiteSpace:"nowrap"},o),b=qd({margin:0},u),w=!Gi(h),x=w?h:"",O=gn("recharts-default-tooltip",p),S=gn("recharts-tooltip-label",d);w&&y&&null!=l&&(x=y(h,l));var j=m?{role:"status","aria-live":"assertive"}:{};return J.createElement("div",Fd({className:O,style:g},j),J.createElement("p",{className:S,style:b},J.isValidElement(x)?x:"".concat(x)),function(){if(l&&l.length){var t=(f?zd(l,f):l).map((function(t,e){if("none"===t.type)return null;var n=qd({display:"block",paddingTop:4,paddingBottom:4,color:t.color||"#000"},a),o=t.formatter||s||Xd,i=t.value,c=t.name,u=i,f=c;if(o&&null!=u&&null!=f){var p=o(i,c,t,e,l);if(Array.isArray(p)){var d=Vd(p,2);u=d[0],f=d[1]}else u=p}return J.createElement("li",{className:"recharts-tooltip-item",key:"tooltip-item-".concat(e),style:n},ba(f)?J.createElement("span",{className:"recharts-tooltip-item-name"},f):null,ba(f)?J.createElement("span",{className:"recharts-tooltip-item-separator"},r):null,J.createElement("span",{className:"recharts-tooltip-item-value"},u),J.createElement("span",{className:"recharts-tooltip-item-unit"},t.unit||""))}));return J.createElement("ul",{className:"recharts-tooltip-item-list",style:{padding:0,margin:0}},t)}return null}())};function Gd(t){return Gd="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Gd(t)}function Zd(t,e,r){return e=function(t){var e=function(t,e){if("object"!=Gd(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=Gd(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==Gd(e)?e:e+""}(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Jd="recharts-tooltip-wrapper",Qd={visibility:"hidden"};function th(t){var e=t.coordinate,r=t.translateX,n=t.translateY;return gn(Jd,Zd(Zd(Zd(Zd({},"".concat(Jd,"-right"),ga(r)&&e&&ga(e.x)&&r>=e.x),"".concat(Jd,"-left"),ga(r)&&e&&ga(e.x)&&r<e.x),"".concat(Jd,"-bottom"),ga(n)&&e&&ga(e.y)&&n>=e.y),"".concat(Jd,"-top"),ga(n)&&e&&ga(e.y)&&n<e.y))}function eh(t){var e=t.allowEscapeViewBox,r=t.coordinate,n=t.key,o=t.offsetTopLeft,i=t.position,a=t.reverseDirection,c=t.tooltipDimension,u=t.viewBox,l=t.viewBoxDimension;if(i&&ga(i[n]))return i[n];var s=r[n]-c-o,f=r[n]+o;return e[n]?a[n]?s:f:a[n]?s<u[n]?Math.max(f,u[n]):Math.max(s,u[n]):f+c>u[n]+l?Math.max(s,u[n]):Math.max(f,u[n])}function rh(t){return rh="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},rh(t)}function nh(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function oh(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?nh(Object(r),!0).forEach((function(e){sh(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):nh(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function ih(t,e,r){return e&&function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,fh(n.key),n)}}(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}function ah(t,e,r){return e=uh(e),function(t,e){if(e&&("object"===rh(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,ch()?Reflect.construct(e,r||[],uh(t).constructor):e.apply(t,r))}function ch(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(ch=function(){return!!t})()}function uh(t){return uh=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},uh(t)}function lh(t,e){return lh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},lh(t,e)}function sh(t,e,r){return(e=fh(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function fh(t){var e=function(t,e){if("object"!=rh(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=rh(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==rh(e)?e:e+""}var ph=function(t){function e(){var t;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return sh(t=ah(this,e,[].concat(n)),"state",{dismissed:!1,dismissedAtCoordinate:{x:0,y:0},lastBoundingBox:{width:-1,height:-1}}),sh(t,"handleKeyDown",(function(e){var r,n,o,i;"Escape"===e.key&&t.setState({dismissed:!0,dismissedAtCoordinate:{x:null!==(r=null===(n=t.props.coordinate)||void 0===n?void 0:n.x)&&void 0!==r?r:0,y:null!==(o=null===(i=t.props.coordinate)||void 0===i?void 0:i.y)&&void 0!==o?o:0}})})),t}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&lh(t,e)}(e,et),ih(e,[{key:"updateBBox",value:function(){if(this.wrapperNode&&this.wrapperNode.getBoundingClientRect){var t=this.wrapperNode.getBoundingClientRect();(Math.abs(t.width-this.state.lastBoundingBox.width)>1||Math.abs(t.height-this.state.lastBoundingBox.height)>1)&&this.setState({lastBoundingBox:{width:t.width,height:t.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 t,e;this.props.active&&this.updateBBox(),this.state.dismissed&&((null===(t=this.props.coordinate)||void 0===t?void 0:t.x)===this.state.dismissedAtCoordinate.x&&(null===(e=this.props.coordinate)||void 0===e?void 0:e.y)===this.state.dismissedAtCoordinate.y||(this.state.dismissed=!1))}},{key:"render",value:function(){var t=this,e=this.props,r=e.active,n=e.allowEscapeViewBox,o=e.animationDuration,i=e.animationEasing,a=e.children,c=e.coordinate,u=e.hasPayload,l=e.isAnimationActive,s=e.offset,f=e.position,p=e.reverseDirection,d=e.useTranslate3d,h=e.viewBox,y=e.wrapperStyle,v=function(t){var e,r,n=t.allowEscapeViewBox,o=t.coordinate,i=t.offsetTopLeft,a=t.position,c=t.reverseDirection,u=t.tooltipBox,l=t.useTranslate3d,s=t.viewBox;return{cssProperties:u.height>0&&u.width>0&&o?function(t){var e=t.translateX,r=t.translateY;return{transform:t.useTranslate3d?"translate3d(".concat(e,"px, ").concat(r,"px, 0)"):"translate(".concat(e,"px, ").concat(r,"px)")}}({translateX:e=eh({allowEscapeViewBox:n,coordinate:o,key:"x",offsetTopLeft:i,position:a,reverseDirection:c,tooltipDimension:u.width,viewBox:s,viewBoxDimension:s.width}),translateY:r=eh({allowEscapeViewBox:n,coordinate:o,key:"y",offsetTopLeft:i,position:a,reverseDirection:c,tooltipDimension:u.height,viewBox:s,viewBoxDimension:s.height}),useTranslate3d:l}):Qd,cssClasses:th({translateX:e,translateY:r,coordinate:o})}}({allowEscapeViewBox:n,coordinate:c,offsetTopLeft:s,position:f,reverseDirection:p,tooltipBox:this.state.lastBoundingBox,useTranslate3d:d,viewBox:h}),m=v.cssClasses,g=v.cssProperties,b=oh(oh({transition:l&&r?"transform ".concat(o,"ms ").concat(i):void 0},g),{},{pointerEvents:"none",visibility:!this.state.dismissed&&r&&u?"visible":"hidden",position:"absolute",top:0,left:0},y);return J.createElement("div",{tabIndex:-1,className:m,style:b,ref:function(e){t.wrapperNode=e}},a)}}])}(),dh=!("undefined"!=typeof window&&window.document&&window.document.createElement&&window.setTimeout);function hh(t){return hh="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},hh(t)}function yh(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function vh(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?yh(Object(r),!0).forEach((function(e){Oh(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):yh(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function mh(t,e,r){return e&&function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,Sh(n.key),n)}}(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}function gh(t,e,r){return e=wh(e),function(t,e){if(e&&("object"===hh(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,bh()?Reflect.construct(e,r||[],wh(t).constructor):e.apply(t,r))}function bh(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(bh=function(){return!!t})()}function wh(t){return wh=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},wh(t)}function xh(t,e){return xh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},xh(t,e)}function Oh(t,e,r){return(e=Sh(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Sh(t){var e=function(t,e){if("object"!=hh(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!=hh(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"==hh(e)?e:e+""}function jh(t){return t.dataKey}var Ph,Ah,Mh,kh,Eh,Ch,_h,Th,Dh,Ih,Nh,Lh,Bh=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),gh(this,e,arguments)}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&xh(t,e)}(e,et),mh(e,[{key:"render",value:function(){var t=this,e=this.props,r=e.active,n=e.allowEscapeViewBox,o=e.animationDuration,i=e.animationEasing,a=e.content,c=e.coordinate,u=e.filterNull,l=e.isAnimationActive,s=e.offset,f=e.payload,p=e.payloadUniqBy,d=e.position,h=e.reverseDirection,y=e.useTranslate3d,v=e.viewBox,m=e.wrapperStyle,g=null!=f?f:[];u&&g.length&&(g=Op(f.filter((function(e){return null!=e.value&&(!0!==e.hide||t.props.includeHidden)})),p,jh));var b=g.length>0;return J.createElement(ph,{allowEscapeViewBox:n,animationDuration:o,animationEasing:i,isAnimationActive:l,active:r,coordinate:c,hasPayload:b,offset:s,position:d,reverseDirection:h,useTranslate3d:y,viewBox:v,wrapperStyle:m},function(t,e){return J.isValidElement(t)?J.cloneElement(t,e):"function"==typeof t?J.createElement(t,e):J.createElement(Kd,e)}(a,vh(vh({},this.props),{},{payload:g})))}}])}();function Rh(){if(Ch)return Eh;Ch=1;var t=function(){if(kh)return Mh;kh=1;var t=/\s/;return Mh=function(e){for(var r=e.length;r--&&t.test(e.charAt(r)););return r},Mh}(),e=/^\s+/;return Eh=function(r){return r?r.slice(0,t(r)+1).replace(e,""):r},Eh}function $h(){if(Th)return _h;Th=1;var t=Rh(),e=ji(),r=Oi(),n=/^[-+]0x[0-9a-f]+$/i,o=/^0b[01]+$/i,i=/^0o[0-7]+$/i,a=parseInt;return _h=function(c){if("number"==typeof c)return c;if(r(c))return NaN;if(e(c)){var u="function"==typeof c.valueOf?c.valueOf():c;c=e(u)?u+"":u}if("string"!=typeof c)return 0===c?c:+c;c=t(c);var l=o.test(c);return l||i.test(c)?a(c.slice(2),l?2:8):n.test(c)?NaN:+c}}function zh(){if(Ih)return Dh;Ih=1;var t=ji(),e=function(){if(Ah)return Ph;Ah=1;var t=gi();return Ph=function(){return t.Date.now()}}(),r=$h(),n=Math.max,o=Math.min;return Dh=function(i,a,c){var u,l,s,f,p,d,h=0,y=!1,v=!1,m=!0;if("function"!=typeof i)throw new TypeError("Expected a function");function g(t){var e=u,r=l;return u=l=void 0,h=t,f=i.apply(r,e)}function b(t){var e=t-d;return void 0===d||e>=a||e<0||v&&t-h>=s}function w(){var t=e();if(b(t))return x(t);p=setTimeout(w,function(t){var e=a-(t-d);return v?o(e,s-(t-h)):e}(t))}function x(t){return p=void 0,m&&u?g(t):(u=l=void 0,f)}function O(){var t=e(),r=b(t);if(u=arguments,l=this,d=t,r){if(void 0===p)return function(t){return h=t,p=setTimeout(w,a),y?g(t):f}(d);if(v)return clearTimeout(p),p=setTimeout(w,a),g(d)}return void 0===p&&(p=setTimeout(w,a)),f}return a=r(a)||0,t(c)&&(y=!!c.leading,s=(v="maxWait"in c)?n(r(c.maxWait)||0,a):s,m="trailing"in c?!!c.trailing:m),O.cancel=function(){void 0!==p&&clearTimeout(p),h=0,u=d=l=p=void 0},O.flush=function(){return void 0===p?f:x(e())},O},Dh}Oh(Bh,"displayName","Tooltip"),Oh(Bh,"defaultProps",{accessibilityLayer:!1,allowEscapeViewBox:{x:!1,y:!1},animationDuration:400,animationEasing:"ease",contentStyle:{},coordinate:{x:0,y:0},cursor:!0,cursorStyle:{},filterNull:!0,isAnimationActive:!dh,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 Hh=function(){if(Lh)return Nh;Lh=1;var t=zh(),e=ji();return Nh=function(r,n,o){var i=!0,a=!0;if("function"!=typeof r)throw new TypeError("Expected a function");return e(o)&&(i="leading"in o?!!o.leading:i,a="trailing"in o?!!o.trailing:a),t(r,n,{leading:i,maxWait:n,trailing:a})}}(),Fh=Je(Hh);function Vh(t){return Vh="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Vh(t)}function Uh(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Wh(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Uh(Object(r),!0).forEach((function(e){qh(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Uh(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function qh(t,e,r){return e=function(t){var e=function(t,e){if("object"!=Vh(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=Vh(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==Vh(e)?e:e+""}(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Yh(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e);else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return Xh(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Xh(t,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 Xh(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var Kh=rt((function(t,e){var r=t.aspect,n=t.initialDimension,o=void 0===n?{width:-1,height:-1}:n,i=t.width,a=void 0===i?"100%":i,c=t.height,u=void 0===c?"100%":c,l=t.minWidth,s=void 0===l?0:l,f=t.minHeight,p=t.maxHeight,d=t.children,h=t.debounce,y=void 0===h?0:h,v=t.id,m=t.className,g=t.onResize,b=t.style,w=void 0===b?{}:b,x=nt(null),O=nt();O.current=g,ot(e,(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=Yh(it({containerWidth:o.width,containerHeight:o.height}),2),j=S[0],P=S[1],A=at((function(t,e){P((function(r){var n=Math.round(t),o=Math.round(e);return r.containerWidth===n&&r.containerHeight===o?r:{containerWidth:n,containerHeight:o}}))}),[]);ct((function(){var t=function(t){var e,r=t[0].contentRect,n=r.width,o=r.height;A(n,o),null===(e=O.current)||void 0===e||e.call(O,n,o)};y>0&&(t=Fh(t,y,{trailing:!0,leading:!1}));var e=new ResizeObserver(t),r=x.current.getBoundingClientRect(),n=r.width,o=r.height;return A(n,o),e.observe(x.current),function(){e.disconnect()}}),[A,y]);var M=ut((function(){var t=j.containerWidth,e=j.containerHeight;if(t<0||e<0)return null;Sc(ma(a)||ma(u),"The width(%s) and height(%s) are both fixed numbers,\n maybe you don't need to use a ResponsiveContainer.",a,u),Sc(!r||r>0,"The aspect(%s) must be greater than zero.",r);var n=ma(a)?t:a,o=ma(u)?e:u;r&&r>0&&(n?o=n/r:o&&(n=o*r),p&&o>p&&(o=p)),Sc(n>0||o>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,o,a,u,s,f,r);var i=!Array.isArray(d)&&$a(d.type).endsWith("Chart");return J.Children.map(d,(function(t){return J.isValidElement(t)?lt(t,Wh({width:n,height:o},i?{style:Wh({height:"100%",width:"100%",maxHeight:o,maxWidth:n},t.props.style)}:{})):t}))}),[r,d,u,p,f,s,j,a]);return J.createElement("div",{id:v?"".concat(v):void 0,className:gn("recharts-responsive-container",m),style:Wh(Wh({},w),{},{width:a,height:u,minWidth:s,minHeight:f,maxHeight:p}),ref:x},M)})),Gh=function(t){return null};function Zh(t){return Zh="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Zh(t)}function Jh(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Qh(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Jh(Object(r),!0).forEach((function(e){ty(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Jh(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function ty(t,e,r){return e=function(t){var e=function(t,e){if("object"!=Zh(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=Zh(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==Zh(e)?e:e+""}(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}Gh.displayName="Cell";var ey={widthCache:{},cacheCount:0},ry={position:"absolute",top:"-20000px",left:0,padding:0,margin:0,border:"none",whiteSpace:"pre"},ny="recharts_measurement_span";var oy=function(t){if(null==t||dh)return{width:0,height:0};var e,r=(e=Qh({},arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}),Object.keys(e).forEach((function(t){e[t]||delete e[t]})),e),n=JSON.stringify({text:t,copyStyle:r});if(ey.widthCache[n])return ey.widthCache[n];try{var o=document.getElementById(ny);o||((o=document.createElement("span")).setAttribute("id",ny),o.setAttribute("aria-hidden","true"),document.body.appendChild(o));var i=Qh(Qh({},ry),r);Object.assign(o.style,i),o.textContent="".concat(t);var a=o.getBoundingClientRect(),c={width:a.width,height:a.height};return ey.widthCache[n]=c,++ey.cacheCount>2e3&&(ey.cacheCount=0,ey.widthCache={}),c}catch(t){return{width:0,height:0}}};function iy(t){return iy="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},iy(t)}function ay(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return cy(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return cy(t,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 cy(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function uy(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,ly(n.key),n)}}function ly(t){var e=function(t,e){if("object"!=iy(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!=iy(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"==iy(e)?e:e+""}var sy=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,fy=/(-?\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$/,dy=/(-?\d+(?:\.\d+)?)([a-zA-Z%]+)?/,hy={cm:96/2.54,mm:96/25.4,pt:96/72,pc:16,in:96,Q:96/101.6,px:1},yy=Object.keys(hy),vy="NaN";var my=function(){function t(e,r){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.num=e,this.unit=r,this.num=e,this.unit=r,Number.isNaN(e)&&(this.unit=""),""===r||py.test(r)||(this.num=NaN,this.unit=""),yy.includes(r)&&(this.num=function(t,e){return t*hy[e]}(e,r),this.unit="px")}return e=t,n=[{key:"parse",value:function(e){var r,n=ay(null!==(r=dy.exec(e))&&void 0!==r?r:[],3),o=n[1],i=n[2];return new t(parseFloat(o),null!=i?i:"")}}],(r=[{key:"add",value:function(e){return this.unit!==e.unit?new t(NaN,""):new t(this.num+e.num,this.unit)}},{key:"subtract",value:function(e){return this.unit!==e.unit?new t(NaN,""):new t(this.num-e.num,this.unit)}},{key:"multiply",value:function(e){return""!==this.unit&&""!==e.unit&&this.unit!==e.unit?new t(NaN,""):new t(this.num*e.num,this.unit||e.unit)}},{key:"divide",value:function(e){return""!==this.unit&&""!==e.unit&&this.unit!==e.unit?new t(NaN,""):new t(this.num/e.num,this.unit||e.unit)}},{key:"toString",value:function(){return"".concat(this.num).concat(this.unit)}},{key:"isNaN",value:function(){return Number.isNaN(this.num)}}])&&uy(e.prototype,r),n&&uy(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,r,n}();function gy(t){if(t.includes(vy))return vy;for(var e=t;e.includes("*")||e.includes("/");){var r,n=ay(null!==(r=sy.exec(e))&&void 0!==r?r:[],4),o=n[1],i=n[2],a=n[3],c=my.parse(null!=o?o:""),u=my.parse(null!=a?a:""),l="*"===i?c.multiply(u):c.divide(u);if(l.isNaN())return vy;e=e.replace(sy,l.toString())}for(;e.includes("+")||/.-\d+(?:\.\d+)?/.test(e);){var s,f=ay(null!==(s=fy.exec(e))&&void 0!==s?s:[],4),p=f[1],d=f[2],h=f[3],y=my.parse(null!=p?p:""),v=my.parse(null!=h?h:""),m="+"===d?y.add(v):y.subtract(v);if(m.isNaN())return vy;e=e.replace(fy,m.toString())}return e}var by=/\(([^()]*)\)/;function wy(t){var e=t.replace(/\s+/g,"");return e=function(t){for(var e=t;e.includes("(");){var r=ay(by.exec(e),2)[1];e=e.replace(by,gy(r))}return e}(e),e=gy(e)}function xy(t){var e=function(t){try{return wy(t)}catch(t){return vy}}(t.slice(5,-1));return e===vy?"":e}var Oy=["x","y","lineHeight","capHeight","scaleToFit","textAnchor","verticalAnchor","fill"],Sy=["dx","dy","angle","className","breakAll"];function jy(){return jy=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},jy.apply(this,arguments)}function Py(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function Ay(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return My(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return My(t,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 My(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var ky=/[ \f\n\r\t\v\u2028\u2029]+/,Ey=function(t){var e=t.children,r=t.breakAll,n=t.style;try{var o=[];return Gi(e)||(o=r?e.toString().split(""):e.toString().split(ky)),{wordsWithComputedWidth:o.map((function(t){return{word:t,width:oy(t,n).width}})),spaceWidth:r?0:oy(" ",n).width}}catch(t){return null}},Cy=function(t){return[{words:Gi(t)?[]:t.toString().split(ky)}]},_y=function(t){var e=t.width,r=t.scaleToFit,n=t.children,o=t.style,i=t.breakAll,a=t.maxLines;if((e||r)&&!dh){var c=Ey({breakAll:i,children:n,style:o});return c?function(t,e,r,n,o){var i=t.maxLines,a=t.children,c=t.style,u=t.breakAll,l=ga(i),s=a,f=function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).reduce((function(t,e){var i=e.word,a=e.width,c=t[t.length-1];if(c&&(null==n||o||c.width+a+r<Number(n)))c.words.push(i),c.width+=a+r;else{var u={words:[i],width:a};t.push(u)}return t}),[])},p=f(e);if(!l)return p;for(var d,h=function(t){var e=s.slice(0,t),r=Ey({breakAll:u,style:c,children:e+"…"}).wordsWithComputedWidth,o=f(r),a=o.length>i||function(t){return t.reduce((function(t,e){return t.width>e.width?t:e}))}(o).width>Number(n);return[a,o]},y=0,v=s.length-1,m=0;y<=v&&m<=s.length-1;){var g=Math.floor((y+v)/2),b=Ay(h(g-1),2),w=b[0],x=b[1],O=Ay(h(g),1)[0];if(w||O||(y=g+1),w&&O&&(v=g-1),!w&&O){d=x;break}m++}return d||p}({breakAll:i,children:n,maxLines:a,style:o},c.wordsWithComputedWidth,c.spaceWidth,e,r):Cy(n)}return Cy(n)},Ty="#808080",Dy=function(t){var e=t.x,r=void 0===e?0:e,n=t.y,o=void 0===n?0:n,i=t.lineHeight,a=void 0===i?"1em":i,c=t.capHeight,u=void 0===c?"0.71em":c,l=t.scaleToFit,s=void 0!==l&&l,f=t.textAnchor,p=void 0===f?"start":f,d=t.verticalAnchor,h=void 0===d?"end":d,y=t.fill,v=void 0===y?Ty:y,m=Py(t,Oy),g=ut((function(){return _y({breakAll:m.breakAll,children:m.children,maxLines:m.maxLines,scaleToFit:s,style:m.style,width:m.width})}),[m.breakAll,m.children,m.maxLines,s,m.style,m.width]),b=m.dx,w=m.dy,x=m.angle,O=m.className,S=m.breakAll,j=Py(m,Sy);if(!ba(r)||!ba(o))return null;var P,A=r+(ga(b)?b:0),M=o+(ga(w)?w:0);switch(h){case"start":P=xy("calc(".concat(u,")"));break;case"middle":P=xy("calc(".concat((g.length-1)/2," * -").concat(a," + (").concat(u," / 2))"));break;default:P=xy("calc(".concat(g.length-1," * -").concat(a,")"))}var k=[];if(s){var E=g[0].width,C=m.width;k.push("scale(".concat((ga(C)?C/E:1)/E,")"))}return x&&k.push("rotate(".concat(x,", ").concat(A,", ").concat(M,")")),k.length&&(j.transform=k.join(" ")),J.createElement("text",jy({},Xa(j,!0),{x:A,y:M,className:gn("recharts-text",O),textAnchor:p,fill:v.includes("url")?Ty:v}),g.map((function(t,e){var r=t.words.join(S?"":" ");return J.createElement("tspan",{x:A,dy:0===e?P:a,key:"".concat(r,"-").concat(e)},r)})))};function Iy(t,e){return null==t||null==e?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function Ny(t,e){return null==t||null==e?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function Ly(t){let e,r,n;function o(t,n,o=0,i=t.length){if(o<i){if(0!==e(n,n))return i;do{const e=o+i>>>1;r(t[e],n)<0?o=e+1:i=e}while(o<i)}return o}return 2!==t.length?(e=Iy,r=(e,r)=>Iy(t(e),r),n=(e,r)=>t(e)-r):(e=t===Iy||t===Ny?t:By,r=t,n=t),{left:o,center:function(t,e,r=0,i=t.length){const a=o(t,e,r,i-1);return a>r&&n(t[a-1],e)>-n(t[a],e)?a-1:a},right:function(t,n,o=0,i=t.length){if(o<i){if(0!==e(n,n))return i;do{const e=o+i>>>1;r(t[e],n)<=0?o=e+1:i=e}while(o<i)}return o}}}function By(){return 0}function Ry(t){return null===t?NaN:+t}const $y=Ly(Iy).right;Ly(Ry).center;class zy extends Map{constructor(t,e=Fy){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:e}}),null!=t)for(const[e,r]of t)this.set(e,r)}get(t){return super.get(Hy(this,t))}has(t){return super.has(Hy(this,t))}set(t,e){return super.set(function({_intern:t,_key:e},r){const n=e(r);return t.has(n)?t.get(n):(t.set(n,r),r)}(this,t),e)}delete(t){return super.delete(function({_intern:t,_key:e},r){const n=e(r);t.has(n)&&(r=t.get(n),t.delete(n));return r}(this,t))}}function Hy({_intern:t,_key:e},r){const n=e(r);return t.has(n)?t.get(n):r}function Fy(t){return null!==t&&"object"==typeof t?t.valueOf():t}function Vy(t,e){return(null==t||!(t>=t))-(null==e||!(e>=e))||(t<e?-1:t>e?1:0)}const Uy=Math.sqrt(50),Wy=Math.sqrt(10),qy=Math.sqrt(2);function Yy(t,e,r){const n=(e-t)/Math.max(0,r),o=Math.floor(Math.log10(n)),i=n/Math.pow(10,o),a=i>=Uy?10:i>=Wy?5:i>=qy?2:1;let c,u,l;return o<0?(l=Math.pow(10,-o)/a,c=Math.round(t*l),u=Math.round(e*l),c/l<t&&++c,u/l>e&&--u,l=-l):(l=Math.pow(10,o)*a,c=Math.round(t/l),u=Math.round(e/l),c*l<t&&++c,u*l>e&&--u),u<c&&.5<=r&&r<2?Yy(t,e,2*r):[c,u,l]}function Xy(t,e,r){if(!((r=+r)>0))return[];if((t=+t)===(e=+e))return[t];const n=e<t,[o,i,a]=n?Yy(e,t,r):Yy(t,e,r);if(!(i>=o))return[];const c=i-o+1,u=new Array(c);if(n)if(a<0)for(let t=0;t<c;++t)u[t]=(i-t)/-a;else for(let t=0;t<c;++t)u[t]=(i-t)*a;else if(a<0)for(let t=0;t<c;++t)u[t]=(o+t)/-a;else for(let t=0;t<c;++t)u[t]=(o+t)*a;return u}function Ky(t,e,r){return Yy(t=+t,e=+e,r=+r)[2]}function Gy(t,e,r){r=+r;const n=(e=+e)<(t=+t),o=n?Ky(e,t,r):Ky(t,e,r);return(n?-1:1)*(o<0?1/-o:o)}function Zy(t,e){let r;for(const e of t)null!=e&&(r<e||void 0===r&&e>=e)&&(r=e);return r}function Jy(t,e){let r;for(const e of t)null!=e&&(r>e||void 0===r&&e>=e)&&(r=e);return r}function Qy(t,e,r=0,n=1/0,o){if(e=Math.floor(e),r=Math.floor(Math.max(0,r)),n=Math.floor(Math.min(t.length-1,n)),!(r<=e&&e<=n))return t;for(o=void 0===o?Vy:function(t=Iy){if(t===Iy)return Vy;if("function"!=typeof t)throw new TypeError("compare is not a function");return(e,r)=>{const n=t(e,r);return n||0===n?n:(0===t(r,r))-(0===t(e,e))}}(o);n>r;){if(n-r>600){const i=n-r+1,a=e-r+1,c=Math.log(i),u=.5*Math.exp(2*c/3),l=.5*Math.sqrt(c*u*(i-u)/i)*(a-i/2<0?-1:1);Qy(t,e,Math.max(r,Math.floor(e-a*u/i+l)),Math.min(n,Math.floor(e+(i-a)*u/i+l)),o)}const i=t[e];let a=r,c=n;for(tv(t,r,e),o(t[n],i)>0&&tv(t,r,n);a<c;){for(tv(t,a,c),++a,--c;o(t[a],i)<0;)++a;for(;o(t[c],i)>0;)--c}0===o(t[r],i)?tv(t,r,c):(++c,tv(t,c,n)),c<=e&&(r=c+1),e<=c&&(n=c-1)}return t}function tv(t,e,r){const n=t[e];t[e]=t[r],t[r]=n}function ev(t,e,r=Ry){if((n=t.length)&&!isNaN(e=+e)){if(e<=0||n<2)return+r(t[0],0,t);if(e>=1)return+r(t[n-1],n-1,t);var n,o=(n-1)*e,i=Math.floor(o),a=+r(t[i],i,t);return a+(+r(t[i+1],i+1,t)-a)*(o-i)}}function rv(t,e){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(e).domain(t)}return this}function nv(t,e){switch(arguments.length){case 0:break;case 1:"function"==typeof t?this.interpolator(t):this.range(t);break;default:this.domain(t),"function"==typeof e?this.interpolator(e):this.range(e)}return this}const ov=Symbol("implicit");function iv(){var t=new zy,e=[],r=[],n=ov;function o(o){let i=t.get(o);if(void 0===i){if(n!==ov)return n;t.set(o,i=e.push(o)-1)}return r[i%r.length]}return o.domain=function(r){if(!arguments.length)return e.slice();e=[],t=new zy;for(const n of r)t.has(n)||t.set(n,e.push(n)-1);return o},o.range=function(t){return arguments.length?(r=Array.from(t),o):r.slice()},o.unknown=function(t){return arguments.length?(n=t,o):n},o.copy=function(){return iv(e,r).unknown(n)},rv.apply(o,arguments),o}function av(){var t,e,r=iv().unknown(void 0),n=r.domain,o=r.range,i=0,a=1,c=!1,u=0,l=0,s=.5;function f(){var r=n().length,f=a<i,p=f?a:i,d=f?i:a;t=(d-p)/Math.max(1,r-u+2*l),c&&(t=Math.floor(t)),p+=(d-p-t*(r-u))*s,e=t*(1-u),c&&(p=Math.round(p),e=Math.round(e));var h=function(t,e,r){t=+t,e=+e,r=(o=arguments.length)<2?(e=t,t=0,1):o<3?1:+r;for(var n=-1,o=0|Math.max(0,Math.ceil((e-t)/r)),i=new Array(o);++n<o;)i[n]=t+n*r;return i}(r).map((function(e){return p+t*e}));return o(f?h.reverse():h)}return delete r.unknown,r.domain=function(t){return arguments.length?(n(t),f()):n()},r.range=function(t){return arguments.length?([i,a]=t,i=+i,a=+a,f()):[i,a]},r.rangeRound=function(t){return[i,a]=t,i=+i,a=+a,c=!0,f()},r.bandwidth=function(){return e},r.step=function(){return t},r.round=function(t){return arguments.length?(c=!!t,f()):c},r.padding=function(t){return arguments.length?(u=Math.min(1,l=+t),f()):u},r.paddingInner=function(t){return arguments.length?(u=Math.min(1,t),f()):u},r.paddingOuter=function(t){return arguments.length?(l=+t,f()):l},r.align=function(t){return arguments.length?(s=Math.max(0,Math.min(1,t)),f()):s},r.copy=function(){return av(n(),[i,a]).round(c).paddingInner(u).paddingOuter(l).align(s)},rv.apply(f(),arguments)}function cv(t){var e=t.copy;return t.padding=t.paddingOuter,delete t.paddingInner,delete t.paddingOuter,t.copy=function(){return cv(e())},t}function uv(){return cv(av.apply(null,arguments).paddingInner(1))}function lv(t,e,r){t.prototype=e.prototype=r,r.constructor=t}function sv(t,e){var r=Object.create(t.prototype);for(var n in e)r[n]=e[n];return r}function fv(){}var pv=.7,dv=1/pv,hv="\\s*([+-]?\\d+)\\s*",yv="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",vv="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",mv=/^#([0-9a-f]{3,8})$/,gv=new RegExp(`^rgb\\(${hv},${hv},${hv}\\)$`),bv=new RegExp(`^rgb\\(${vv},${vv},${vv}\\)$`),wv=new RegExp(`^rgba\\(${hv},${hv},${hv},${yv}\\)$`),xv=new RegExp(`^rgba\\(${vv},${vv},${vv},${yv}\\)$`),Ov=new RegExp(`^hsl\\(${yv},${vv},${vv}\\)$`),Sv=new RegExp(`^hsla\\(${yv},${vv},${vv},${yv}\\)$`),jv={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 Pv(){return this.rgb().formatHex()}function Av(){return this.rgb().formatRgb()}function Mv(t){var e,r;return t=(t+"").trim().toLowerCase(),(e=mv.exec(t))?(r=e[1].length,e=parseInt(e[1],16),6===r?kv(e):3===r?new _v(e>>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):8===r?Ev(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===r?Ev(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|240&e,((15&e)<<4|15&e)/255):null):(e=gv.exec(t))?new _v(e[1],e[2],e[3],1):(e=bv.exec(t))?new _v(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=wv.exec(t))?Ev(e[1],e[2],e[3],e[4]):(e=xv.exec(t))?Ev(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=Ov.exec(t))?Bv(e[1],e[2]/100,e[3]/100,1):(e=Sv.exec(t))?Bv(e[1],e[2]/100,e[3]/100,e[4]):jv.hasOwnProperty(t)?kv(jv[t]):"transparent"===t?new _v(NaN,NaN,NaN,0):null}function kv(t){return new _v(t>>16&255,t>>8&255,255&t,1)}function Ev(t,e,r,n){return n<=0&&(t=e=r=NaN),new _v(t,e,r,n)}function Cv(t,e,r,n){return 1===arguments.length?((o=t)instanceof fv||(o=Mv(o)),o?new _v((o=o.rgb()).r,o.g,o.b,o.opacity):new _v):new _v(t,e,r,null==n?1:n);var o}function _v(t,e,r,n){this.r=+t,this.g=+e,this.b=+r,this.opacity=+n}function Tv(){return`#${Lv(this.r)}${Lv(this.g)}${Lv(this.b)}`}function Dv(){const t=Iv(this.opacity);return`${1===t?"rgb(":"rgba("}${Nv(this.r)}, ${Nv(this.g)}, ${Nv(this.b)}${1===t?")":`, ${t})`}`}function Iv(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function Nv(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function Lv(t){return((t=Nv(t))<16?"0":"")+t.toString(16)}function Bv(t,e,r,n){return n<=0?t=e=r=NaN:r<=0||r>=1?t=e=NaN:e<=0&&(t=NaN),new $v(t,e,r,n)}function Rv(t){if(t instanceof $v)return new $v(t.h,t.s,t.l,t.opacity);if(t instanceof fv||(t=Mv(t)),!t)return new $v;if(t instanceof $v)return t;var e=(t=t.rgb()).r/255,r=t.g/255,n=t.b/255,o=Math.min(e,r,n),i=Math.max(e,r,n),a=NaN,c=i-o,u=(i+o)/2;return c?(a=e===i?(r-n)/c+6*(r<n):r===i?(n-e)/c+2:(e-r)/c+4,c/=u<.5?i+o:2-i-o,a*=60):c=u>0&&u<1?0:a,new $v(a,c,u,t.opacity)}function $v(t,e,r,n){this.h=+t,this.s=+e,this.l=+r,this.opacity=+n}function zv(t){return(t=(t||0)%360)<0?t+360:t}function Hv(t){return Math.max(0,Math.min(1,t||0))}function Fv(t,e,r){return 255*(t<60?e+(r-e)*t/60:t<180?r:t<240?e+(r-e)*(240-t)/60:e)}lv(fv,Mv,{copy(t){return Object.assign(new this.constructor,this,t)},displayable(){return this.rgb().displayable()},hex:Pv,formatHex:Pv,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return Rv(this).formatHsl()},formatRgb:Av,toString:Av}),lv(_v,Cv,sv(fv,{brighter(t){return t=null==t?dv:Math.pow(dv,t),new _v(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=null==t?pv:Math.pow(pv,t),new _v(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new _v(Nv(this.r),Nv(this.g),Nv(this.b),Iv(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:Tv,formatHex:Tv,formatHex8:function(){return`#${Lv(this.r)}${Lv(this.g)}${Lv(this.b)}${Lv(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:Dv,toString:Dv})),lv($v,(function(t,e,r,n){return 1===arguments.length?Rv(t):new $v(t,e,r,null==n?1:n)}),sv(fv,{brighter(t){return t=null==t?dv:Math.pow(dv,t),new $v(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=null==t?pv:Math.pow(pv,t),new $v(this.h,this.s,this.l*t,this.opacity)},rgb(){var t=this.h%360+360*(this.h<0),e=isNaN(t)||isNaN(this.s)?0:this.s,r=this.l,n=r+(r<.5?r:1-r)*e,o=2*r-n;return new _v(Fv(t>=240?t-240:t+120,o,n),Fv(t,o,n),Fv(t<120?t+240:t-120,o,n),this.opacity)},clamp(){return new $v(zv(this.h),Hv(this.s),Hv(this.l),Iv(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 t=Iv(this.opacity);return`${1===t?"hsl(":"hsla("}${zv(this.h)}, ${100*Hv(this.s)}%, ${100*Hv(this.l)}%${1===t?")":`, ${t})`}`}}));var Vv=t=>()=>t;function Uv(t){return 1==(t=+t)?Wv:function(e,r){return r-e?function(t,e,r){return t=Math.pow(t,r),e=Math.pow(e,r)-t,r=1/r,function(n){return Math.pow(t+n*e,r)}}(e,r,t):Vv(isNaN(e)?r:e)}}function Wv(t,e){var r=e-t;return r?function(t,e){return function(r){return t+r*e}}(t,r):Vv(isNaN(t)?e:t)}var qv=function t(e){var r=Uv(e);function n(t,e){var n=r((t=Cv(t)).r,(e=Cv(e)).r),o=r(t.g,e.g),i=r(t.b,e.b),a=Wv(t.opacity,e.opacity);return function(e){return t.r=n(e),t.g=o(e),t.b=i(e),t.opacity=a(e),t+""}}return n.gamma=t,n}(1);function Yv(t,e){e||(e=[]);var r,n=t?Math.min(e.length,t.length):0,o=e.slice();return function(i){for(r=0;r<n;++r)o[r]=t[r]*(1-i)+e[r]*i;return o}}function Xv(t,e){var r,n=e?e.length:0,o=t?Math.min(n,t.length):0,i=new Array(o),a=new Array(n);for(r=0;r<o;++r)i[r]=em(t[r],e[r]);for(;r<n;++r)a[r]=e[r];return function(t){for(r=0;r<o;++r)a[r]=i[r](t);return a}}function Kv(t,e){var r=new Date;return t=+t,e=+e,function(n){return r.setTime(t*(1-n)+e*n),r}}function Gv(t,e){return t=+t,e=+e,function(r){return t*(1-r)+e*r}}function Zv(t,e){var r,n={},o={};for(r in null!==t&&"object"==typeof t||(t={}),null!==e&&"object"==typeof e||(e={}),e)r in t?n[r]=em(t[r],e[r]):o[r]=e[r];return function(t){for(r in n)o[r]=n[r](t);return o}}var Jv=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Qv=new RegExp(Jv.source,"g");function tm(t,e){var r,n,o,i=Jv.lastIndex=Qv.lastIndex=0,a=-1,c=[],u=[];for(t+="",e+="";(r=Jv.exec(t))&&(n=Qv.exec(e));)(o=n.index)>i&&(o=e.slice(i,o),c[a]?c[a]+=o:c[++a]=o),(r=r[0])===(n=n[0])?c[a]?c[a]+=n:c[++a]=n:(c[++a]=null,u.push({i:a,x:Gv(r,n)})),i=Qv.lastIndex;return i<e.length&&(o=e.slice(i),c[a]?c[a]+=o:c[++a]=o),c.length<2?u[0]?function(t){return function(e){return t(e)+""}}(u[0].x):function(t){return function(){return t}}(e):(e=u.length,function(t){for(var r,n=0;n<e;++n)c[(r=u[n]).i]=r.x(t);return c.join("")})}function em(t,e){var r,n=typeof e;return null==e||"boolean"===n?Vv(e):("number"===n?Gv:"string"===n?(r=Mv(e))?(e=r,qv):tm:e instanceof Mv?qv:e instanceof Date?Kv:function(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}(e)?Yv:Array.isArray(e)?Xv:"function"!=typeof e.valueOf&&"function"!=typeof e.toString||isNaN(e)?Zv:Gv)(t,e)}function rm(t,e){return t=+t,e=+e,function(r){return Math.round(t*(1-r)+e*r)}}function nm(t,e){void 0===e&&(e=t,t=em);for(var r=0,n=e.length-1,o=e[0],i=new Array(n<0?0:n);r<n;)i[r]=t(o,o=e[++r]);return function(t){var e=Math.max(0,Math.min(n-1,Math.floor(t*=n)));return i[e](t-e)}}function om(t){return+t}var im=[0,1];function am(t){return t}function cm(t,e){return(e-=t=+t)?function(r){return(r-t)/e}:function(t){return function(){return t}}(isNaN(e)?NaN:.5)}function um(t,e,r){var n=t[0],o=t[1],i=e[0],a=e[1];return o<n?(n=cm(o,n),i=r(a,i)):(n=cm(n,o),i=r(i,a)),function(t){return i(n(t))}}function lm(t,e,r){var n=Math.min(t.length,e.length)-1,o=new Array(n),i=new Array(n),a=-1;for(t[n]<t[0]&&(t=t.slice().reverse(),e=e.slice().reverse());++a<n;)o[a]=cm(t[a],t[a+1]),i[a]=r(e[a],e[a+1]);return function(e){var r=$y(t,e,1,n)-1;return i[r](o[r](e))}}function sm(t,e){return e.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp()).unknown(t.unknown())}function fm(){var t,e,r,n,o,i,a=im,c=im,u=em,l=am;function s(){var t=Math.min(a.length,c.length);return l!==am&&(l=function(t,e){var r;return t>e&&(r=t,t=e,e=r),function(r){return Math.max(t,Math.min(e,r))}}(a[0],a[t-1])),n=t>2?lm:um,o=i=null,f}function f(e){return null==e||isNaN(e=+e)?r:(o||(o=n(a.map(t),c,u)))(t(l(e)))}return f.invert=function(r){return l(e((i||(i=n(c,a.map(t),Gv)))(r)))},f.domain=function(t){return arguments.length?(a=Array.from(t,om),s()):a.slice()},f.range=function(t){return arguments.length?(c=Array.from(t),s()):c.slice()},f.rangeRound=function(t){return c=Array.from(t),u=rm,s()},f.clamp=function(t){return arguments.length?(l=!!t||am,s()):l!==am},f.interpolate=function(t){return arguments.length?(u=t,s()):u},f.unknown=function(t){return arguments.length?(r=t,f):r},function(r,n){return t=r,e=n,s()}}function pm(){return fm()(am,am)}function dm(t,e){if((r=(t=e?t.toExponential(e-1):t.toExponential()).indexOf("e"))<0)return null;var r,n=t.slice(0,r);return[n.length>1?n[0]+n.slice(2):n,+t.slice(r+1)]}function hm(t){return(t=dm(Math.abs(t)))?t[1]:NaN}var ym,vm=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function mm(t){if(!(e=vm.exec(t)))throw new Error("invalid format: "+t);var e;return new gm({fill:e[1],align:e[2],sign:e[3],symbol:e[4],zero:e[5],width:e[6],comma:e[7],precision:e[8]&&e[8].slice(1),trim:e[9],type:e[10]})}function gm(t){this.fill=void 0===t.fill?" ":t.fill+"",this.align=void 0===t.align?">":t.align+"",this.sign=void 0===t.sign?"-":t.sign+"",this.symbol=void 0===t.symbol?"":t.symbol+"",this.zero=!!t.zero,this.width=void 0===t.width?void 0:+t.width,this.comma=!!t.comma,this.precision=void 0===t.precision?void 0:+t.precision,this.trim=!!t.trim,this.type=void 0===t.type?"":t.type+""}function bm(t,e){var r=dm(t,e);if(!r)return t+"";var n=r[0],o=r[1];return o<0?"0."+new Array(-o).join("0")+n:n.length>o+1?n.slice(0,o+1)+"."+n.slice(o+1):n+new Array(o-n.length+2).join("0")}mm.prototype=gm.prototype,gm.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 wm={"%":(t,e)=>(100*t).toFixed(e),b:t=>Math.round(t).toString(2),c:t=>t+"",d:function(t){return Math.abs(t=Math.round(t))>=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)},e:(t,e)=>t.toExponential(e),f:(t,e)=>t.toFixed(e),g:(t,e)=>t.toPrecision(e),o:t=>Math.round(t).toString(8),p:(t,e)=>bm(100*t,e),r:bm,s:function(t,e){var r=dm(t,e);if(!r)return t+"";var n=r[0],o=r[1],i=o-(ym=3*Math.max(-8,Math.min(8,Math.floor(o/3))))+1,a=n.length;return i===a?n:i>a?n+new Array(i-a+1).join("0"):i>0?n.slice(0,i)+"."+n.slice(i):"0."+new Array(1-i).join("0")+dm(t,Math.max(0,e+i-1))[0]},X:t=>Math.round(t).toString(16).toUpperCase(),x:t=>Math.round(t).toString(16)};function xm(t){return t}var Om,Sm,jm,Pm=Array.prototype.map,Am=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function Mm(t){var e,r,n=void 0===t.grouping||void 0===t.thousands?xm:(e=Pm.call(t.grouping,Number),r=t.thousands+"",function(t,n){for(var o=t.length,i=[],a=0,c=e[0],u=0;o>0&&c>0&&(u+c+1>n&&(c=Math.max(1,n-u)),i.push(t.substring(o-=c,o+c)),!((u+=c+1)>n));)c=e[a=(a+1)%e.length];return i.reverse().join(r)}),o=void 0===t.currency?"":t.currency[0]+"",i=void 0===t.currency?"":t.currency[1]+"",a=void 0===t.decimal?".":t.decimal+"",c=void 0===t.numerals?xm:function(t){return function(e){return e.replace(/[0-9]/g,(function(e){return t[+e]}))}}(Pm.call(t.numerals,String)),u=void 0===t.percent?"%":t.percent+"",l=void 0===t.minus?"−":t.minus+"",s=void 0===t.nan?"NaN":t.nan+"";function f(t){var e=(t=mm(t)).fill,r=t.align,f=t.sign,p=t.symbol,d=t.zero,h=t.width,y=t.comma,v=t.precision,m=t.trim,g=t.type;"n"===g?(y=!0,g="g"):wm[g]||(void 0===v&&(v=12),m=!0,g="g"),(d||"0"===e&&"="===r)&&(d=!0,e="0",r="=");var b="$"===p?o:"#"===p&&/[boxX]/.test(g)?"0"+g.toLowerCase():"",w="$"===p?i:/[%p]/.test(g)?u:"",x=wm[g],O=/[defgprs%]/.test(g);function S(t){var o,i,u,p=b,S=w;if("c"===g)S=x(t)+S,t="";else{var j=(t=+t)<0||1/t<0;if(t=isNaN(t)?s:x(Math.abs(t),v),m&&(t=function(t){t:for(var e,r=t.length,n=1,o=-1;n<r;++n)switch(t[n]){case".":o=e=n;break;case"0":0===o&&(o=n),e=n;break;default:if(!+t[n])break t;o>0&&(o=0)}return o>0?t.slice(0,o)+t.slice(e+1):t}(t)),j&&0==+t&&"+"!==f&&(j=!1),p=(j?"("===f?f:l:"-"===f||"("===f?"":f)+p,S=("s"===g?Am[8+ym/3]:"")+S+(j&&"("===f?")":""),O)for(o=-1,i=t.length;++o<i;)if(48>(u=t.charCodeAt(o))||u>57){S=(46===u?a+t.slice(o+1):t.slice(o))+S,t=t.slice(0,o);break}}y&&!d&&(t=n(t,1/0));var P=p.length+t.length+S.length,A=P<h?new Array(h-P+1).join(e):"";switch(y&&d&&(t=n(A+t,A.length?h-S.length:1/0),A=""),r){case"<":t=p+t+S+A;break;case"=":t=p+A+t+S;break;case"^":t=A.slice(0,P=A.length>>1)+p+t+S+A.slice(P);break;default:t=A+p+t+S}return c(t)}return v=void 0===v?6:/[gprs]/.test(g)?Math.max(1,Math.min(21,v)):Math.max(0,Math.min(20,v)),S.toString=function(){return t+""},S}return{format:f,formatPrefix:function(t,e){var r=f(((t=mm(t)).type="f",t)),n=3*Math.max(-8,Math.min(8,Math.floor(hm(e)/3))),o=Math.pow(10,-n),i=Am[8+n/3];return function(t){return r(o*t)+i}}}}function km(t,e,r,n){var o,i=Gy(t,e,r);switch((n=mm(null==n?",f":n)).type){case"s":var a=Math.max(Math.abs(t),Math.abs(e));return null!=n.precision||isNaN(o=function(t,e){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(hm(e)/3)))-hm(Math.abs(t)))}(i,a))||(n.precision=o),jm(n,a);case"":case"e":case"g":case"p":case"r":null!=n.precision||isNaN(o=function(t,e){return t=Math.abs(t),e=Math.abs(e)-t,Math.max(0,hm(e)-hm(t))+1}(i,Math.max(Math.abs(t),Math.abs(e))))||(n.precision=o-("e"===n.type));break;case"f":case"%":null!=n.precision||isNaN(o=function(t){return Math.max(0,-hm(Math.abs(t)))}(i))||(n.precision=o-2*("%"===n.type))}return Sm(n)}function Em(t){var e=t.domain;return t.ticks=function(t){var r=e();return Xy(r[0],r[r.length-1],null==t?10:t)},t.tickFormat=function(t,r){var n=e();return km(n[0],n[n.length-1],null==t?10:t,r)},t.nice=function(r){null==r&&(r=10);var n,o,i=e(),a=0,c=i.length-1,u=i[a],l=i[c],s=10;for(l<u&&(o=u,u=l,l=o,o=a,a=c,c=o);s-- >0;){if((o=Ky(u,l,r))===n)return i[a]=u,i[c]=l,e(i);if(o>0)u=Math.floor(u/o)*o,l=Math.ceil(l/o)*o;else{if(!(o<0))break;u=Math.ceil(u*o)/o,l=Math.floor(l*o)/o}n=o}return t},t}function Cm(){var t=pm();return t.copy=function(){return sm(t,Cm())},rv.apply(t,arguments),Em(t)}function _m(t,e){var r,n=0,o=(t=t.slice()).length-1,i=t[n],a=t[o];return a<i&&(r=n,n=o,o=r,r=i,i=a,a=r),t[n]=e.floor(i),t[o]=e.ceil(a),t}function Tm(t){return Math.log(t)}function Dm(t){return Math.exp(t)}function Im(t){return-Math.log(-t)}function Nm(t){return-Math.exp(-t)}function Lm(t){return isFinite(t)?+("1e"+t):t<0?0:t}function Bm(t){return(e,r)=>-t(-e,r)}function Rm(t){const e=t(Tm,Dm),r=e.domain;let n,o,i=10;function a(){return n=function(t){return t===Math.E?Math.log:10===t&&Math.log10||2===t&&Math.log2||(t=Math.log(t),e=>Math.log(e)/t)}(i),o=function(t){return 10===t?Lm:t===Math.E?Math.exp:e=>Math.pow(t,e)}(i),r()[0]<0?(n=Bm(n),o=Bm(o),t(Im,Nm)):t(Tm,Dm),e}return e.base=function(t){return arguments.length?(i=+t,a()):i},e.domain=function(t){return arguments.length?(r(t),a()):r()},e.ticks=t=>{const e=r();let a=e[0],c=e[e.length-1];const u=c<a;u&&([a,c]=[c,a]);let l,s,f=n(a),p=n(c);const d=null==t?10:+t;let h=[];if(!(i%1)&&p-f<d){if(f=Math.floor(f),p=Math.ceil(p),a>0){for(;f<=p;++f)for(l=1;l<i;++l)if(s=f<0?l/o(-f):l*o(f),!(s<a)){if(s>c)break;h.push(s)}}else for(;f<=p;++f)for(l=i-1;l>=1;--l)if(s=f>0?l/o(-f):l*o(f),!(s<a)){if(s>c)break;h.push(s)}2*h.length<d&&(h=Xy(a,c,d))}else h=Xy(f,p,Math.min(p-f,d)).map(o);return u?h.reverse():h},e.tickFormat=(t,r)=>{if(null==t&&(t=10),null==r&&(r=10===i?"s":","),"function"!=typeof r&&(i%1||null!=(r=mm(r)).precision||(r.trim=!0),r=Sm(r)),t===1/0)return r;const a=Math.max(1,i*t/e.ticks().length);return t=>{let e=t/o(Math.round(n(t)));return e*i<i-.5&&(e*=i),e<=a?r(t):""}},e.nice=()=>r(_m(r(),{floor:t=>o(Math.floor(n(t))),ceil:t=>o(Math.ceil(n(t)))})),e}function $m(t){return function(e){return Math.sign(e)*Math.log1p(Math.abs(e/t))}}function zm(t){return function(e){return Math.sign(e)*Math.expm1(Math.abs(e))*t}}function Hm(t){var e=1,r=t($m(e),zm(e));return r.constant=function(r){return arguments.length?t($m(e=+r),zm(e)):e},Em(r)}function Fm(t){return function(e){return e<0?-Math.pow(-e,t):Math.pow(e,t)}}function Vm(t){return t<0?-Math.sqrt(-t):Math.sqrt(t)}function Um(t){return t<0?-t*t:t*t}function Wm(t){var e=t(am,am),r=1;return e.exponent=function(e){return arguments.length?1===(r=+e)?t(am,am):.5===r?t(Vm,Um):t(Fm(r),Fm(1/r)):r},Em(e)}function qm(){var t=Wm(fm());return t.copy=function(){return sm(t,qm()).exponent(t.exponent())},rv.apply(t,arguments),t}function Ym(t){return Math.sign(t)*t*t}Om=Mm({thousands:",",grouping:[3],currency:["$",""]}),Sm=Om.format,jm=Om.formatPrefix;const Xm=new Date,Km=new Date;function Gm(t,e,r,n){function o(e){return t(e=0===arguments.length?new Date:new Date(+e)),e}return o.floor=e=>(t(e=new Date(+e)),e),o.ceil=r=>(t(r=new Date(r-1)),e(r,1),t(r),r),o.round=t=>{const e=o(t),r=o.ceil(t);return t-e<r-t?e:r},o.offset=(t,r)=>(e(t=new Date(+t),null==r?1:Math.floor(r)),t),o.range=(r,n,i)=>{const a=[];if(r=o.ceil(r),i=null==i?1:Math.floor(i),!(r<n&&i>0))return a;let c;do{a.push(c=new Date(+r)),e(r,i),t(r)}while(c<r&&r<n);return a},o.filter=r=>Gm((e=>{if(e>=e)for(;t(e),!r(e);)e.setTime(e-1)}),((t,n)=>{if(t>=t)if(n<0)for(;++n<=0;)for(;e(t,-1),!r(t););else for(;--n>=0;)for(;e(t,1),!r(t););})),r&&(o.count=(e,n)=>(Xm.setTime(+e),Km.setTime(+n),t(Xm),t(Km),Math.floor(r(Xm,Km))),o.every=t=>(t=Math.floor(t),isFinite(t)&&t>0?t>1?o.filter(n?e=>n(e)%t==0:e=>o.count(0,e)%t==0):o:null)),o}const Zm=Gm((()=>{}),((t,e)=>{t.setTime(+t+e)}),((t,e)=>e-t));Zm.every=t=>(t=Math.floor(t),isFinite(t)&&t>0?t>1?Gm((e=>{e.setTime(Math.floor(e/t)*t)}),((e,r)=>{e.setTime(+e+r*t)}),((e,r)=>(r-e)/t)):Zm:null),Zm.range;const Jm=1e3,Qm=6e4,tg=36e5,eg=864e5,rg=6048e5,ng=2592e6,og=31536e6,ig=Gm((t=>{t.setTime(t-t.getMilliseconds())}),((t,e)=>{t.setTime(+t+e*Jm)}),((t,e)=>(e-t)/Jm),(t=>t.getUTCSeconds()));ig.range;const ag=Gm((t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*Jm)}),((t,e)=>{t.setTime(+t+e*Qm)}),((t,e)=>(e-t)/Qm),(t=>t.getMinutes()));ag.range;const cg=Gm((t=>{t.setUTCSeconds(0,0)}),((t,e)=>{t.setTime(+t+e*Qm)}),((t,e)=>(e-t)/Qm),(t=>t.getUTCMinutes()));cg.range;const ug=Gm((t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*Jm-t.getMinutes()*Qm)}),((t,e)=>{t.setTime(+t+e*tg)}),((t,e)=>(e-t)/tg),(t=>t.getHours()));ug.range;const lg=Gm((t=>{t.setUTCMinutes(0,0,0)}),((t,e)=>{t.setTime(+t+e*tg)}),((t,e)=>(e-t)/tg),(t=>t.getUTCHours()));lg.range;const sg=Gm((t=>t.setHours(0,0,0,0)),((t,e)=>t.setDate(t.getDate()+e)),((t,e)=>(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*Qm)/eg),(t=>t.getDate()-1));sg.range;const fg=Gm((t=>{t.setUTCHours(0,0,0,0)}),((t,e)=>{t.setUTCDate(t.getUTCDate()+e)}),((t,e)=>(e-t)/eg),(t=>t.getUTCDate()-1));fg.range;const pg=Gm((t=>{t.setUTCHours(0,0,0,0)}),((t,e)=>{t.setUTCDate(t.getUTCDate()+e)}),((t,e)=>(e-t)/eg),(t=>Math.floor(t/eg)));function dg(t){return Gm((e=>{e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)}),((t,e)=>{t.setDate(t.getDate()+7*e)}),((t,e)=>(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*Qm)/rg))}pg.range;const hg=dg(0),yg=dg(1),vg=dg(2),mg=dg(3),gg=dg(4),bg=dg(5),wg=dg(6);function xg(t){return Gm((e=>{e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)}),((t,e)=>{t.setUTCDate(t.getUTCDate()+7*e)}),((t,e)=>(e-t)/rg))}hg.range,yg.range,vg.range,mg.range,gg.range,bg.range,wg.range;const Og=xg(0),Sg=xg(1),jg=xg(2),Pg=xg(3),Ag=xg(4),Mg=xg(5),kg=xg(6);Og.range,Sg.range,jg.range,Pg.range,Ag.range,Mg.range,kg.range;const Eg=Gm((t=>{t.setDate(1),t.setHours(0,0,0,0)}),((t,e)=>{t.setMonth(t.getMonth()+e)}),((t,e)=>e.getMonth()-t.getMonth()+12*(e.getFullYear()-t.getFullYear())),(t=>t.getMonth()));Eg.range;const Cg=Gm((t=>{t.setUTCDate(1),t.setUTCHours(0,0,0,0)}),((t,e)=>{t.setUTCMonth(t.getUTCMonth()+e)}),((t,e)=>e.getUTCMonth()-t.getUTCMonth()+12*(e.getUTCFullYear()-t.getUTCFullYear())),(t=>t.getUTCMonth()));Cg.range;const _g=Gm((t=>{t.setMonth(0,1),t.setHours(0,0,0,0)}),((t,e)=>{t.setFullYear(t.getFullYear()+e)}),((t,e)=>e.getFullYear()-t.getFullYear()),(t=>t.getFullYear()));_g.every=t=>isFinite(t=Math.floor(t))&&t>0?Gm((e=>{e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)}),((e,r)=>{e.setFullYear(e.getFullYear()+r*t)})):null,_g.range;const Tg=Gm((t=>{t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)}),((t,e)=>{t.setUTCFullYear(t.getUTCFullYear()+e)}),((t,e)=>e.getUTCFullYear()-t.getUTCFullYear()),(t=>t.getUTCFullYear()));function Dg(t,e,r,n,o,i){const a=[[ig,1,Jm],[ig,5,5e3],[ig,15,15e3],[ig,30,3e4],[i,1,Qm],[i,5,3e5],[i,15,9e5],[i,30,18e5],[o,1,tg],[o,3,108e5],[o,6,216e5],[o,12,432e5],[n,1,eg],[n,2,1728e5],[r,1,rg],[e,1,ng],[e,3,7776e6],[t,1,og]];function c(e,r,n){const o=Math.abs(r-e)/n,i=Ly((([,,t])=>t)).right(a,o);if(i===a.length)return t.every(Gy(e/og,r/og,n));if(0===i)return Zm.every(Math.max(Gy(e,r,n),1));const[c,u]=a[o/a[i-1][2]<a[i][2]/o?i-1:i];return c.every(u)}return[function(t,e,r){const n=e<t;n&&([t,e]=[e,t]);const o=r&&"function"==typeof r.range?r:c(t,e,r),i=o?o.range(t,+e+1):[];return n?i.reverse():i},c]}Tg.every=t=>isFinite(t=Math.floor(t))&&t>0?Gm((e=>{e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)}),((e,r)=>{e.setUTCFullYear(e.getUTCFullYear()+r*t)})):null,Tg.range;const[Ig,Ng]=Dg(Tg,Cg,Og,pg,lg,cg),[Lg,Bg]=Dg(_g,Eg,hg,sg,ug,ag);function Rg(t){if(0<=t.y&&t.y<100){var e=new Date(-1,t.m,t.d,t.H,t.M,t.S,t.L);return e.setFullYear(t.y),e}return new Date(t.y,t.m,t.d,t.H,t.M,t.S,t.L)}function $g(t){if(0<=t.y&&t.y<100){var e=new Date(Date.UTC(-1,t.m,t.d,t.H,t.M,t.S,t.L));return e.setUTCFullYear(t.y),e}return new Date(Date.UTC(t.y,t.m,t.d,t.H,t.M,t.S,t.L))}function zg(t,e,r){return{y:t,m:e,d:r,H:0,M:0,S:0,L:0}}var Hg,Fg,Vg,Ug={"-":"",_:" ",0:"0"},Wg=/^\s*\d+/,qg=/^%/,Yg=/[\\^$*+?|[\]().{}]/g;function Xg(t,e,r){var n=t<0?"-":"",o=(n?-t:t)+"",i=o.length;return n+(i<r?new Array(r-i+1).join(e)+o:o)}function Kg(t){return t.replace(Yg,"\\$&")}function Gg(t){return new RegExp("^(?:"+t.map(Kg).join("|")+")","i")}function Zg(t){return new Map(t.map(((t,e)=>[t.toLowerCase(),e])))}function Jg(t,e,r){var n=Wg.exec(e.slice(r,r+1));return n?(t.w=+n[0],r+n[0].length):-1}function Qg(t,e,r){var n=Wg.exec(e.slice(r,r+1));return n?(t.u=+n[0],r+n[0].length):-1}function tb(t,e,r){var n=Wg.exec(e.slice(r,r+2));return n?(t.U=+n[0],r+n[0].length):-1}function eb(t,e,r){var n=Wg.exec(e.slice(r,r+2));return n?(t.V=+n[0],r+n[0].length):-1}function rb(t,e,r){var n=Wg.exec(e.slice(r,r+2));return n?(t.W=+n[0],r+n[0].length):-1}function nb(t,e,r){var n=Wg.exec(e.slice(r,r+4));return n?(t.y=+n[0],r+n[0].length):-1}function ob(t,e,r){var n=Wg.exec(e.slice(r,r+2));return n?(t.y=+n[0]+(+n[0]>68?1900:2e3),r+n[0].length):-1}function ib(t,e,r){var n=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(r,r+6));return n?(t.Z=n[1]?0:-(n[2]+(n[3]||"00")),r+n[0].length):-1}function ab(t,e,r){var n=Wg.exec(e.slice(r,r+1));return n?(t.q=3*n[0]-3,r+n[0].length):-1}function cb(t,e,r){var n=Wg.exec(e.slice(r,r+2));return n?(t.m=n[0]-1,r+n[0].length):-1}function ub(t,e,r){var n=Wg.exec(e.slice(r,r+2));return n?(t.d=+n[0],r+n[0].length):-1}function lb(t,e,r){var n=Wg.exec(e.slice(r,r+3));return n?(t.m=0,t.d=+n[0],r+n[0].length):-1}function sb(t,e,r){var n=Wg.exec(e.slice(r,r+2));return n?(t.H=+n[0],r+n[0].length):-1}function fb(t,e,r){var n=Wg.exec(e.slice(r,r+2));return n?(t.M=+n[0],r+n[0].length):-1}function pb(t,e,r){var n=Wg.exec(e.slice(r,r+2));return n?(t.S=+n[0],r+n[0].length):-1}function db(t,e,r){var n=Wg.exec(e.slice(r,r+3));return n?(t.L=+n[0],r+n[0].length):-1}function hb(t,e,r){var n=Wg.exec(e.slice(r,r+6));return n?(t.L=Math.floor(n[0]/1e3),r+n[0].length):-1}function yb(t,e,r){var n=qg.exec(e.slice(r,r+1));return n?r+n[0].length:-1}function vb(t,e,r){var n=Wg.exec(e.slice(r));return n?(t.Q=+n[0],r+n[0].length):-1}function mb(t,e,r){var n=Wg.exec(e.slice(r));return n?(t.s=+n[0],r+n[0].length):-1}function gb(t,e){return Xg(t.getDate(),e,2)}function bb(t,e){return Xg(t.getHours(),e,2)}function wb(t,e){return Xg(t.getHours()%12||12,e,2)}function xb(t,e){return Xg(1+sg.count(_g(t),t),e,3)}function Ob(t,e){return Xg(t.getMilliseconds(),e,3)}function Sb(t,e){return Ob(t,e)+"000"}function jb(t,e){return Xg(t.getMonth()+1,e,2)}function Pb(t,e){return Xg(t.getMinutes(),e,2)}function Ab(t,e){return Xg(t.getSeconds(),e,2)}function Mb(t){var e=t.getDay();return 0===e?7:e}function kb(t,e){return Xg(hg.count(_g(t)-1,t),e,2)}function Eb(t){var e=t.getDay();return e>=4||0===e?gg(t):gg.ceil(t)}function Cb(t,e){return t=Eb(t),Xg(gg.count(_g(t),t)+(4===_g(t).getDay()),e,2)}function _b(t){return t.getDay()}function Tb(t,e){return Xg(yg.count(_g(t)-1,t),e,2)}function Db(t,e){return Xg(t.getFullYear()%100,e,2)}function Ib(t,e){return Xg((t=Eb(t)).getFullYear()%100,e,2)}function Nb(t,e){return Xg(t.getFullYear()%1e4,e,4)}function Lb(t,e){var r=t.getDay();return Xg((t=r>=4||0===r?gg(t):gg.ceil(t)).getFullYear()%1e4,e,4)}function Bb(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+Xg(e/60|0,"0",2)+Xg(e%60,"0",2)}function Rb(t,e){return Xg(t.getUTCDate(),e,2)}function $b(t,e){return Xg(t.getUTCHours(),e,2)}function zb(t,e){return Xg(t.getUTCHours()%12||12,e,2)}function Hb(t,e){return Xg(1+fg.count(Tg(t),t),e,3)}function Fb(t,e){return Xg(t.getUTCMilliseconds(),e,3)}function Vb(t,e){return Fb(t,e)+"000"}function Ub(t,e){return Xg(t.getUTCMonth()+1,e,2)}function Wb(t,e){return Xg(t.getUTCMinutes(),e,2)}function qb(t,e){return Xg(t.getUTCSeconds(),e,2)}function Yb(t){var e=t.getUTCDay();return 0===e?7:e}function Xb(t,e){return Xg(Og.count(Tg(t)-1,t),e,2)}function Kb(t){var e=t.getUTCDay();return e>=4||0===e?Ag(t):Ag.ceil(t)}function Gb(t,e){return t=Kb(t),Xg(Ag.count(Tg(t),t)+(4===Tg(t).getUTCDay()),e,2)}function Zb(t){return t.getUTCDay()}function Jb(t,e){return Xg(Sg.count(Tg(t)-1,t),e,2)}function Qb(t,e){return Xg(t.getUTCFullYear()%100,e,2)}function tw(t,e){return Xg((t=Kb(t)).getUTCFullYear()%100,e,2)}function ew(t,e){return Xg(t.getUTCFullYear()%1e4,e,4)}function rw(t,e){var r=t.getUTCDay();return Xg((t=r>=4||0===r?Ag(t):Ag.ceil(t)).getUTCFullYear()%1e4,e,4)}function nw(){return"+0000"}function ow(){return"%"}function iw(t){return+t}function aw(t){return Math.floor(+t/1e3)}function cw(t){return new Date(t)}function uw(t){return t instanceof Date?+t:+new Date(+t)}function lw(t,e,r,n,o,i,a,c,u,l){var s=pm(),f=s.invert,p=s.domain,d=l(".%L"),h=l(":%S"),y=l("%I:%M"),v=l("%I %p"),m=l("%a %d"),g=l("%b %d"),b=l("%B"),w=l("%Y");function x(t){return(u(t)<t?d:c(t)<t?h:a(t)<t?y:i(t)<t?v:n(t)<t?o(t)<t?m:g:r(t)<t?b:w)(t)}return s.invert=function(t){return new Date(f(t))},s.domain=function(t){return arguments.length?p(Array.from(t,uw)):p().map(cw)},s.ticks=function(e){var r=p();return t(r[0],r[r.length-1],null==e?10:e)},s.tickFormat=function(t,e){return null==e?x:l(e)},s.nice=function(t){var r=p();return t&&"function"==typeof t.range||(t=e(r[0],r[r.length-1],null==t?10:t)),t?p(_m(r,t)):s},s.copy=function(){return sm(s,lw(t,e,r,n,o,i,a,c,u,l))},s}function sw(){var t,e,r,n,o,i=0,a=1,c=am,u=!1;function l(e){return null==e||isNaN(e=+e)?o:c(0===r?.5:(e=(n(e)-t)*r,u?Math.max(0,Math.min(1,e)):e))}function s(t){return function(e){var r,n;return arguments.length?([r,n]=e,c=t(r,n),l):[c(0),c(1)]}}return l.domain=function(o){return arguments.length?([i,a]=o,t=n(i=+i),e=n(a=+a),r=t===e?0:1/(e-t),l):[i,a]},l.clamp=function(t){return arguments.length?(u=!!t,l):u},l.interpolator=function(t){return arguments.length?(c=t,l):c},l.range=s(em),l.rangeRound=s(rm),l.unknown=function(t){return arguments.length?(o=t,l):o},function(o){return n=o,t=o(i),e=o(a),r=t===e?0:1/(e-t),l}}function fw(t,e){return e.domain(t.domain()).interpolator(t.interpolator()).clamp(t.clamp()).unknown(t.unknown())}function pw(){var t=Wm(sw());return t.copy=function(){return fw(t,pw()).exponent(t.exponent())},nv.apply(t,arguments)}function dw(){var t,e,r,n,o,i,a,c=0,u=.5,l=1,s=1,f=am,p=!1;function d(t){return isNaN(t=+t)?a:(t=.5+((t=+i(t))-e)*(s*t<s*e?n:o),f(p?Math.max(0,Math.min(1,t)):t))}function h(t){return function(e){var r,n,o;return arguments.length?([r,n,o]=e,f=nm(t,[r,n,o]),d):[f(0),f(.5),f(1)]}}return d.domain=function(a){return arguments.length?([c,u,l]=a,t=i(c=+c),e=i(u=+u),r=i(l=+l),n=t===e?0:.5/(e-t),o=e===r?0:.5/(r-e),s=e<t?-1:1,d):[c,u,l]},d.clamp=function(t){return arguments.length?(p=!!t,d):p},d.interpolator=function(t){return arguments.length?(f=t,d):f},d.range=h(em),d.rangeRound=h(rm),d.unknown=function(t){return arguments.length?(a=t,d):a},function(a){return i=a,t=a(c),e=a(u),r=a(l),n=t===e?0:.5/(e-t),o=e===r?0:.5/(r-e),s=e<t?-1:1,d}}function hw(){var t=Wm(dw());return t.copy=function(){return fw(t,hw()).exponent(t.exponent())},nv.apply(t,arguments)}!function(t){Hg=function(t){var e=t.dateTime,r=t.date,n=t.time,o=t.periods,i=t.days,a=t.shortDays,c=t.months,u=t.shortMonths,l=Gg(o),s=Zg(o),f=Gg(i),p=Zg(i),d=Gg(a),h=Zg(a),y=Gg(c),v=Zg(c),m=Gg(u),g=Zg(u),b={a:function(t){return a[t.getDay()]},A:function(t){return i[t.getDay()]},b:function(t){return u[t.getMonth()]},B:function(t){return c[t.getMonth()]},c:null,d:gb,e:gb,f:Sb,g:Ib,G:Lb,H:bb,I:wb,j:xb,L:Ob,m:jb,M:Pb,p:function(t){return o[+(t.getHours()>=12)]},q:function(t){return 1+~~(t.getMonth()/3)},Q:iw,s:aw,S:Ab,u:Mb,U:kb,V:Cb,w:_b,W:Tb,x:null,X:null,y:Db,Y:Nb,Z:Bb,"%":ow},w={a:function(t){return a[t.getUTCDay()]},A:function(t){return i[t.getUTCDay()]},b:function(t){return u[t.getUTCMonth()]},B:function(t){return c[t.getUTCMonth()]},c:null,d:Rb,e:Rb,f:Vb,g:tw,G:rw,H:$b,I:zb,j:Hb,L:Fb,m:Ub,M:Wb,p:function(t){return o[+(t.getUTCHours()>=12)]},q:function(t){return 1+~~(t.getUTCMonth()/3)},Q:iw,s:aw,S:qb,u:Yb,U:Xb,V:Gb,w:Zb,W:Jb,x:null,X:null,y:Qb,Y:ew,Z:nw,"%":ow},x={a:function(t,e,r){var n=d.exec(e.slice(r));return n?(t.w=h.get(n[0].toLowerCase()),r+n[0].length):-1},A:function(t,e,r){var n=f.exec(e.slice(r));return n?(t.w=p.get(n[0].toLowerCase()),r+n[0].length):-1},b:function(t,e,r){var n=m.exec(e.slice(r));return n?(t.m=g.get(n[0].toLowerCase()),r+n[0].length):-1},B:function(t,e,r){var n=y.exec(e.slice(r));return n?(t.m=v.get(n[0].toLowerCase()),r+n[0].length):-1},c:function(t,r,n){return j(t,e,r,n)},d:ub,e:ub,f:hb,g:ob,G:nb,H:sb,I:sb,j:lb,L:db,m:cb,M:fb,p:function(t,e,r){var n=l.exec(e.slice(r));return n?(t.p=s.get(n[0].toLowerCase()),r+n[0].length):-1},q:ab,Q:vb,s:mb,S:pb,u:Qg,U:tb,V:eb,w:Jg,W:rb,x:function(t,e,n){return j(t,r,e,n)},X:function(t,e,r){return j(t,n,e,r)},y:ob,Y:nb,Z:ib,"%":yb};function O(t,e){return function(r){var n,o,i,a=[],c=-1,u=0,l=t.length;for(r instanceof Date||(r=new Date(+r));++c<l;)37===t.charCodeAt(c)&&(a.push(t.slice(u,c)),null!=(o=Ug[n=t.charAt(++c)])?n=t.charAt(++c):o="e"===n?" ":"0",(i=e[n])&&(n=i(r,o)),a.push(n),u=c+1);return a.push(t.slice(u,c)),a.join("")}}function S(t,e){return function(r){var n,o,i=zg(1900,void 0,1);if(j(i,t,r+="",0)!=r.length)return null;if("Q"in i)return new Date(i.Q);if("s"in i)return new Date(1e3*i.s+("L"in i?i.L:0));if(e&&!("Z"in i)&&(i.Z=0),"p"in i&&(i.H=i.H%12+12*i.p),void 0===i.m&&(i.m="q"in i?i.q:0),"V"in i){if(i.V<1||i.V>53)return null;"w"in i||(i.w=1),"Z"in i?(o=(n=$g(zg(i.y,0,1))).getUTCDay(),n=o>4||0===o?Sg.ceil(n):Sg(n),n=fg.offset(n,7*(i.V-1)),i.y=n.getUTCFullYear(),i.m=n.getUTCMonth(),i.d=n.getUTCDate()+(i.w+6)%7):(o=(n=Rg(zg(i.y,0,1))).getDay(),n=o>4||0===o?yg.ceil(n):yg(n),n=sg.offset(n,7*(i.V-1)),i.y=n.getFullYear(),i.m=n.getMonth(),i.d=n.getDate()+(i.w+6)%7)}else("W"in i||"U"in i)&&("w"in i||(i.w="u"in i?i.u%7:"W"in i?1:0),o="Z"in i?$g(zg(i.y,0,1)).getUTCDay():Rg(zg(i.y,0,1)).getDay(),i.m=0,i.d="W"in i?(i.w+6)%7+7*i.W-(o+5)%7:i.w+7*i.U-(o+6)%7);return"Z"in i?(i.H+=i.Z/100|0,i.M+=i.Z%100,$g(i)):Rg(i)}}function j(t,e,r,n){for(var o,i,a=0,c=e.length,u=r.length;a<c;){if(n>=u)return-1;if(37===(o=e.charCodeAt(a++))){if(o=e.charAt(a++),!(i=x[o in Ug?e.charAt(a++):o])||(n=i(t,r,n))<0)return-1}else if(o!=r.charCodeAt(n++))return-1}return n}return b.x=O(r,b),b.X=O(n,b),b.c=O(e,b),w.x=O(r,w),w.X=O(n,w),w.c=O(e,w),{format:function(t){var e=O(t+="",b);return e.toString=function(){return t},e},parse:function(t){var e=S(t+="",!1);return e.toString=function(){return t},e},utcFormat:function(t){var e=O(t+="",w);return e.toString=function(){return t},e},utcParse:function(t){var e=S(t+="",!0);return e.toString=function(){return t},e}}}(t),Fg=Hg.format,Hg.parse,Vg=Hg.utcFormat,Hg.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 yw,vw,mw,gw,bw,ww,xw=Object.freeze({__proto__:null,scaleBand:av,scaleDiverging:function t(){var e=Em(dw()(am));return e.copy=function(){return fw(e,t())},nv.apply(e,arguments)},scaleDivergingLog:function t(){var e=Rm(dw()).domain([.1,1,10]);return e.copy=function(){return fw(e,t()).base(e.base())},nv.apply(e,arguments)},scaleDivergingPow:hw,scaleDivergingSqrt:function(){return hw.apply(null,arguments).exponent(.5)},scaleDivergingSymlog:function t(){var e=Hm(dw());return e.copy=function(){return fw(e,t()).constant(e.constant())},nv.apply(e,arguments)},scaleIdentity:function t(e){var r;function n(t){return null==t||isNaN(t=+t)?r:t}return n.invert=n,n.domain=n.range=function(t){return arguments.length?(e=Array.from(t,om),n):e.slice()},n.unknown=function(t){return arguments.length?(r=t,n):r},n.copy=function(){return t(e).unknown(r)},e=arguments.length?Array.from(e,om):[0,1],Em(n)},scaleImplicit:ov,scaleLinear:Cm,scaleLog:function t(){const e=Rm(fm()).domain([1,10]);return e.copy=()=>sm(e,t()).base(e.base()),rv.apply(e,arguments),e},scaleOrdinal:iv,scalePoint:uv,scalePow:qm,scaleQuantile:function t(){var e,r=[],n=[],o=[];function i(){var t=0,e=Math.max(1,n.length);for(o=new Array(e-1);++t<e;)o[t-1]=ev(r,t/e);return a}function a(t){return null==t||isNaN(t=+t)?e:n[$y(o,t)]}return a.invertExtent=function(t){var e=n.indexOf(t);return e<0?[NaN,NaN]:[e>0?o[e-1]:r[0],e<o.length?o[e]:r[r.length-1]]},a.domain=function(t){if(!arguments.length)return r.slice();r=[];for(let e of t)null==e||isNaN(e=+e)||r.push(e);return r.sort(Iy),i()},a.range=function(t){return arguments.length?(n=Array.from(t),i()):n.slice()},a.unknown=function(t){return arguments.length?(e=t,a):e},a.quantiles=function(){return o.slice()},a.copy=function(){return t().domain(r).range(n).unknown(e)},rv.apply(a,arguments)},scaleQuantize:function t(){var e,r=0,n=1,o=1,i=[.5],a=[0,1];function c(t){return null!=t&&t<=t?a[$y(i,t,0,o)]:e}function u(){var t=-1;for(i=new Array(o);++t<o;)i[t]=((t+1)*n-(t-o)*r)/(o+1);return c}return c.domain=function(t){return arguments.length?([r,n]=t,r=+r,n=+n,u()):[r,n]},c.range=function(t){return arguments.length?(o=(a=Array.from(t)).length-1,u()):a.slice()},c.invertExtent=function(t){var e=a.indexOf(t);return e<0?[NaN,NaN]:e<1?[r,i[0]]:e>=o?[i[o-1],n]:[i[e-1],i[e]]},c.unknown=function(t){return arguments.length?(e=t,c):c},c.thresholds=function(){return i.slice()},c.copy=function(){return t().domain([r,n]).range(a).unknown(e)},rv.apply(Em(c),arguments)},scaleRadial:function t(){var e,r=pm(),n=[0,1],o=!1;function i(t){var n=function(t){return Math.sign(t)*Math.sqrt(Math.abs(t))}(r(t));return isNaN(n)?e:o?Math.round(n):n}return i.invert=function(t){return r.invert(Ym(t))},i.domain=function(t){return arguments.length?(r.domain(t),i):r.domain()},i.range=function(t){return arguments.length?(r.range((n=Array.from(t,om)).map(Ym)),i):n.slice()},i.rangeRound=function(t){return i.range(t).round(!0)},i.round=function(t){return arguments.length?(o=!!t,i):o},i.clamp=function(t){return arguments.length?(r.clamp(t),i):r.clamp()},i.unknown=function(t){return arguments.length?(e=t,i):e},i.copy=function(){return t(r.domain(),n).round(o).clamp(r.clamp()).unknown(e)},rv.apply(i,arguments),Em(i)},scaleSequential:function t(){var e=Em(sw()(am));return e.copy=function(){return fw(e,t())},nv.apply(e,arguments)},scaleSequentialLog:function t(){var e=Rm(sw()).domain([1,10]);return e.copy=function(){return fw(e,t()).base(e.base())},nv.apply(e,arguments)},scaleSequentialPow:pw,scaleSequentialQuantile:function t(){var e=[],r=am;function n(t){if(null!=t&&!isNaN(t=+t))return r(($y(e,t,1)-1)/(e.length-1))}return n.domain=function(t){if(!arguments.length)return e.slice();e=[];for(let r of t)null==r||isNaN(r=+r)||e.push(r);return e.sort(Iy),n},n.interpolator=function(t){return arguments.length?(r=t,n):r},n.range=function(){return e.map(((t,n)=>r(n/(e.length-1))))},n.quantiles=function(t){return Array.from({length:t+1},((r,n)=>function(t,e,r){if((n=(t=Float64Array.from(function*(t,e){for(let e of t)null!=e&&(e=+e)>=e&&(yield e)}(t))).length)&&!isNaN(e=+e)){if(e<=0||n<2)return Jy(t);if(e>=1)return Zy(t);var n,o=(n-1)*e,i=Math.floor(o),a=Zy(Qy(t,i).subarray(0,i+1));return a+(Jy(t.subarray(i+1))-a)*(o-i)}}(e,n/t)))},n.copy=function(){return t(r).domain(e)},nv.apply(n,arguments)},scaleSequentialSqrt:function(){return pw.apply(null,arguments).exponent(.5)},scaleSequentialSymlog:function t(){var e=Hm(sw());return e.copy=function(){return fw(e,t()).constant(e.constant())},nv.apply(e,arguments)},scaleSqrt:function(){return qm.apply(null,arguments).exponent(.5)},scaleSymlog:function t(){var e=Hm(fm());return e.copy=function(){return sm(e,t()).constant(e.constant())},rv.apply(e,arguments)},scaleThreshold:function t(){var e,r=[.5],n=[0,1],o=1;function i(t){return null!=t&&t<=t?n[$y(r,t,0,o)]:e}return i.domain=function(t){return arguments.length?(r=Array.from(t),o=Math.min(r.length,n.length-1),i):r.slice()},i.range=function(t){return arguments.length?(n=Array.from(t),o=Math.min(r.length,n.length-1),i):n.slice()},i.invertExtent=function(t){var e=n.indexOf(t);return[r[e-1],r[e]]},i.unknown=function(t){return arguments.length?(e=t,i):e},i.copy=function(){return t().domain(r).range(n).unknown(e)},rv.apply(i,arguments)},scaleTime:function(){return rv.apply(lw(Lg,Bg,_g,Eg,hg,sg,ug,ag,ig,Fg).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)},scaleUtc:function(){return rv.apply(lw(Ig,Ng,Tg,Cg,Og,fg,lg,cg,ig,Vg).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)},tickFormat:km});function Ow(){if(vw)return yw;vw=1;var t=Oi();return yw=function(e,r,n){for(var o=-1,i=e.length;++o<i;){var a=e[o],c=r(a);if(null!=c&&(void 0===u?c==c&&!t(c):n(c,u)))var u=c,l=a}return l},yw}var Sw,jw,Pw,Aw,Mw=function(){if(ww)return bw;ww=1;var t=Ow(),e=gw?mw:(gw=1,mw=function(t,e){return t>e}),r=dp();return bw=function(n){return n&&n.length?t(n,r,e):void 0},bw}(),kw=Je(Mw);var Ew,Cw,_w,Tw,Dw=function(){if(Aw)return Pw;Aw=1;var t=Ow(),e=jw?Sw:(jw=1,Sw=function(t,e){return t<e}),r=dp();return Pw=function(n){return n&&n.length?t(n,r,e):void 0},Pw}(),Iw=Je(Dw);var Nw,Lw,Bw=function(){if(Tw)return _w;Tw=1;var t=Md(),e=function(){if(Cw)return Ew;Cw=1;var t=$i(),e=yp(),r=_d(),n=vi();return Ew=function(o,i){return(n(o)?t:r)(o,e(i,3))}}();return _w=function(r,n){return t(e(r,n),1)}}(),Rw=Je(Bw);var $w,zw=Je(function(){if(Lw)return Nw;Lw=1;var t=up();return Nw=function(e,r){return t(e,r)}}()),Hw=1e9,Fw=!0,Vw="[DecimalError] ",Uw=Vw+"Invalid argument: ",Ww=Vw+"Exponent out of range: ",qw=Math.floor,Yw=Math.pow,Xw=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,Kw=1e7,Gw=7,Zw=9007199254740991,Jw=qw(Zw/Gw),Qw={};function tx(t,e){var r,n,o,i,a,c,u,l,s=t.constructor,f=s.precision;if(!t.s||!e.s)return e.s||(e=new s(t)),Fw?sx(e,f):e;if(u=t.d,l=e.d,a=t.e,o=e.e,u=u.slice(),i=a-o){for(i<0?(n=u,i=-i,c=l.length):(n=l,o=a,c=u.length),i>(c=(a=Math.ceil(f/Gw))>c?a+1:c+1)&&(i=c,n.length=1),n.reverse();i--;)n.push(0);n.reverse()}for((c=u.length)-(i=l.length)<0&&(i=c,n=l,l=u,u=n),r=0;i;)r=(u[--i]=u[i]+l[i]+r)/Kw|0,u[i]%=Kw;for(r&&(u.unshift(r),++o),c=u.length;0==u[--c];)u.pop();return e.d=u,e.e=o,Fw?sx(e,f):e}function ex(t,e,r){if(t!==~~t||t<e||t>r)throw Error(Uw+t)}function rx(t){var e,r,n,o=t.length-1,i="",a=t[0];if(o>0){for(i+=a,e=1;e<o;e++)n=t[e]+"",(r=Gw-n.length)&&(i+=cx(r)),i+=n;a=t[e],(r=Gw-(n=a+"").length)&&(i+=cx(r))}else if(0===a)return"0";for(;a%10==0;)a/=10;return i+a}Qw.absoluteValue=Qw.abs=function(){var t=new this.constructor(this);return t.s&&(t.s=1),t},Qw.comparedTo=Qw.cmp=function(t){var e,r,n,o,i=this;if(t=new i.constructor(t),i.s!==t.s)return i.s||-t.s;if(i.e!==t.e)return i.e>t.e^i.s<0?1:-1;for(e=0,r=(n=i.d.length)<(o=t.d.length)?n:o;e<r;++e)if(i.d[e]!==t.d[e])return i.d[e]>t.d[e]^i.s<0?1:-1;return n===o?0:n>o^i.s<0?1:-1},Qw.decimalPlaces=Qw.dp=function(){var t=this,e=t.d.length-1,r=(e-t.e)*Gw;if(e=t.d[e])for(;e%10==0;e/=10)r--;return r<0?0:r},Qw.dividedBy=Qw.div=function(t){return nx(this,new this.constructor(t))},Qw.dividedToIntegerBy=Qw.idiv=function(t){var e=this.constructor;return sx(nx(this,new e(t),0,1),e.precision)},Qw.equals=Qw.eq=function(t){return!this.cmp(t)},Qw.exponent=function(){return ix(this)},Qw.greaterThan=Qw.gt=function(t){return this.cmp(t)>0},Qw.greaterThanOrEqualTo=Qw.gte=function(t){return this.cmp(t)>=0},Qw.isInteger=Qw.isint=function(){return this.e>this.d.length-2},Qw.isNegative=Qw.isneg=function(){return this.s<0},Qw.isPositive=Qw.ispos=function(){return this.s>0},Qw.isZero=function(){return 0===this.s},Qw.lessThan=Qw.lt=function(t){return this.cmp(t)<0},Qw.lessThanOrEqualTo=Qw.lte=function(t){return this.cmp(t)<1},Qw.logarithm=Qw.log=function(t){var e,r=this,n=r.constructor,o=n.precision,i=o+5;if(void 0===t)t=new n(10);else if((t=new n(t)).s<1||t.eq($w))throw Error(Vw+"NaN");if(r.s<1)throw Error(Vw+(r.s?"NaN":"-Infinity"));return r.eq($w)?new n(0):(Fw=!1,e=nx(ux(r,i),ux(t,i),i),Fw=!0,sx(e,o))},Qw.minus=Qw.sub=function(t){var e=this;return t=new e.constructor(t),e.s==t.s?fx(e,t):tx(e,(t.s=-t.s,t))},Qw.modulo=Qw.mod=function(t){var e,r=this,n=r.constructor,o=n.precision;if(!(t=new n(t)).s)throw Error(Vw+"NaN");return r.s?(Fw=!1,e=nx(r,t,0,1).times(t),Fw=!0,r.minus(e)):sx(new n(r),o)},Qw.naturalExponential=Qw.exp=function(){return ox(this)},Qw.naturalLogarithm=Qw.ln=function(){return ux(this)},Qw.negated=Qw.neg=function(){var t=new this.constructor(this);return t.s=-t.s||0,t},Qw.plus=Qw.add=function(t){var e=this;return t=new e.constructor(t),e.s==t.s?tx(e,t):fx(e,(t.s=-t.s,t))},Qw.precision=Qw.sd=function(t){var e,r,n,o=this;if(void 0!==t&&t!==!!t&&1!==t&&0!==t)throw Error(Uw+t);if(e=ix(o)+1,r=(n=o.d.length-1)*Gw+1,n=o.d[n]){for(;n%10==0;n/=10)r--;for(n=o.d[0];n>=10;n/=10)r++}return t&&e>r?e:r},Qw.squareRoot=Qw.sqrt=function(){var t,e,r,n,o,i,a,c=this,u=c.constructor;if(c.s<1){if(!c.s)return new u(0);throw Error(Vw+"NaN")}for(t=ix(c),Fw=!1,0==(o=Math.sqrt(+c))||o==1/0?(((e=rx(c.d)).length+t)%2==0&&(e+="0"),o=Math.sqrt(e),t=qw((t+1)/2)-(t<0||t%2),n=new u(e=o==1/0?"5e"+t:(e=o.toExponential()).slice(0,e.indexOf("e")+1)+t)):n=new u(o.toString()),o=a=(r=u.precision)+3;;)if(n=(i=n).plus(nx(c,i,a+2)).times(.5),rx(i.d).slice(0,a)===(e=rx(n.d)).slice(0,a)){if(e=e.slice(a-3,a+1),o==a&&"4999"==e){if(sx(i,r+1,0),i.times(i).eq(c)){n=i;break}}else if("9999"!=e)break;a+=4}return Fw=!0,sx(n,r)},Qw.times=Qw.mul=function(t){var e,r,n,o,i,a,c,u,l,s=this,f=s.constructor,p=s.d,d=(t=new f(t)).d;if(!s.s||!t.s)return new f(0);for(t.s*=s.s,r=s.e+t.e,(u=p.length)<(l=d.length)&&(i=p,p=d,d=i,a=u,u=l,l=a),i=[],n=a=u+l;n--;)i.push(0);for(n=l;--n>=0;){for(e=0,o=u+n;o>n;)c=i[o]+d[n]*p[o-n-1]+e,i[o--]=c%Kw|0,e=c/Kw|0;i[o]=(i[o]+e)%Kw|0}for(;!i[--a];)i.pop();return e?++r:i.shift(),t.d=i,t.e=r,Fw?sx(t,f.precision):t},Qw.toDecimalPlaces=Qw.todp=function(t,e){var r=this,n=r.constructor;return r=new n(r),void 0===t?r:(ex(t,0,Hw),void 0===e?e=n.rounding:ex(e,0,8),sx(r,t+ix(r)+1,e))},Qw.toExponential=function(t,e){var r,n=this,o=n.constructor;return void 0===t?r=px(n,!0):(ex(t,0,Hw),void 0===e?e=o.rounding:ex(e,0,8),r=px(n=sx(new o(n),t+1,e),!0,t+1)),r},Qw.toFixed=function(t,e){var r,n,o=this,i=o.constructor;return void 0===t?px(o):(ex(t,0,Hw),void 0===e?e=i.rounding:ex(e,0,8),r=px((n=sx(new i(o),t+ix(o)+1,e)).abs(),!1,t+ix(n)+1),o.isneg()&&!o.isZero()?"-"+r:r)},Qw.toInteger=Qw.toint=function(){var t=this,e=t.constructor;return sx(new e(t),ix(t)+1,e.rounding)},Qw.toNumber=function(){return+this},Qw.toPower=Qw.pow=function(t){var e,r,n,o,i,a,c=this,u=c.constructor,l=+(t=new u(t));if(!t.s)return new u($w);if(!(c=new u(c)).s){if(t.s<1)throw Error(Vw+"Infinity");return c}if(c.eq($w))return c;if(n=u.precision,t.eq($w))return sx(c,n);if(a=(e=t.e)>=(r=t.d.length-1),i=c.s,a){if((r=l<0?-l:l)<=Zw){for(o=new u($w),e=Math.ceil(n/Gw+4),Fw=!1;r%2&&dx((o=o.times(c)).d,e),0!==(r=qw(r/2));)dx((c=c.times(c)).d,e);return Fw=!0,t.s<0?new u($w).div(o):sx(o,n)}}else if(i<0)throw Error(Vw+"NaN");return i=i<0&&1&t.d[Math.max(e,r)]?-1:1,c.s=1,Fw=!1,o=t.times(ux(c,n+12)),Fw=!0,(o=ox(o)).s=i,o},Qw.toPrecision=function(t,e){var r,n,o=this,i=o.constructor;return void 0===t?n=px(o,(r=ix(o))<=i.toExpNeg||r>=i.toExpPos):(ex(t,1,Hw),void 0===e?e=i.rounding:ex(e,0,8),n=px(o=sx(new i(o),t,e),t<=(r=ix(o))||r<=i.toExpNeg,t)),n},Qw.toSignificantDigits=Qw.tosd=function(t,e){var r=this.constructor;return void 0===t?(t=r.precision,e=r.rounding):(ex(t,1,Hw),void 0===e?e=r.rounding:ex(e,0,8)),sx(new r(this),t,e)},Qw.toString=Qw.valueOf=Qw.val=Qw.toJSON=Qw[Symbol.for("nodejs.util.inspect.custom")]=function(){var t=this,e=ix(t),r=t.constructor;return px(t,e<=r.toExpNeg||e>=r.toExpPos)};var nx=function(){function t(t,e){var r,n=0,o=t.length;for(t=t.slice();o--;)r=t[o]*e+n,t[o]=r%Kw|0,n=r/Kw|0;return n&&t.unshift(n),t}function e(t,e,r,n){var o,i;if(r!=n)i=r>n?1:-1;else for(o=i=0;o<r;o++)if(t[o]!=e[o]){i=t[o]>e[o]?1:-1;break}return i}function r(t,e,r){for(var n=0;r--;)t[r]-=n,n=t[r]<e[r]?1:0,t[r]=n*Kw+t[r]-e[r];for(;!t[0]&&t.length>1;)t.shift()}return function(n,o,i,a){var c,u,l,s,f,p,d,h,y,v,m,g,b,w,x,O,S,j,P=n.constructor,A=n.s==o.s?1:-1,M=n.d,k=o.d;if(!n.s)return new P(n);if(!o.s)throw Error(Vw+"Division by zero");for(u=n.e-o.e,S=k.length,x=M.length,h=(d=new P(A)).d=[],l=0;k[l]==(M[l]||0);)++l;if(k[l]>(M[l]||0)&&--u,(g=null==i?i=P.precision:a?i+(ix(n)-ix(o))+1:i)<0)return new P(0);if(g=g/Gw+2|0,l=0,1==S)for(s=0,k=k[0],g++;(l<x||s)&&g--;l++)b=s*Kw+(M[l]||0),h[l]=b/k|0,s=b%k|0;else{for((s=Kw/(k[0]+1)|0)>1&&(k=t(k,s),M=t(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]>=Kw/2&&++O;do{s=0,(c=e(k,y,S,v))<0?(m=y[0],S!=v&&(m=m*Kw+(y[1]||0)),(s=m/O|0)>1?(s>=Kw&&(s=Kw-1),1==(c=e(f=t(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=e(k,y,S,v=y.length))<1&&(s++,r(y,S<v?j:k,v)),v=y.length):0===c&&(s++,y=[0]),h[l++]=s,c&&y[0]?y[v++]=M[w]||0:(y=[M[w]],v=1)}while((w++<x||void 0!==y[0])&&g--)}return h[0]||h.shift(),d.e=u,sx(d,a?i+ix(d)+1:i)}}();function ox(t,e){var r,n,o,i,a,c=0,u=0,l=t.constructor,s=l.precision;if(ix(t)>16)throw Error(Ww+ix(t));if(!t.s)return new l($w);for(null==e?(Fw=!1,a=s):a=e,i=new l(.03125);t.abs().gte(.1);)t=t.times(i),u+=5;for(a+=Math.log(Yw(2,u))/Math.LN10*2+5|0,r=n=o=new l($w),l.precision=a;;){if(n=sx(n.times(t),a),r=r.times(++c),rx((i=o.plus(nx(n,r,a))).d).slice(0,a)===rx(o.d).slice(0,a)){for(;u--;)o=sx(o.times(o),a);return l.precision=s,null==e?(Fw=!0,sx(o,s)):o}o=i}}function ix(t){for(var e=t.e*Gw,r=t.d[0];r>=10;r/=10)e++;return e}function ax(t,e,r){if(e>t.LN10.sd())throw Fw=!0,r&&(t.precision=r),Error(Vw+"LN10 precision limit exceeded");return sx(new t(t.LN10),e)}function cx(t){for(var e="";t--;)e+="0";return e}function ux(t,e){var r,n,o,i,a,c,u,l,s,f=1,p=t,d=p.d,h=p.constructor,y=h.precision;if(p.s<1)throw Error(Vw+(p.s?"NaN":"-Infinity"));if(p.eq($w))return new h(0);if(null==e?(Fw=!1,l=y):l=e,p.eq(10))return null==e&&(Fw=!0),ax(h,l);if(l+=10,h.precision=l,n=(r=rx(d)).charAt(0),i=ix(p),!(Math.abs(i)<15e14))return u=ax(h,l+2,y).times(i+""),p=ux(new h(n+"."+r.slice(1)),l-10).plus(u),h.precision=y,null==e?(Fw=!0,sx(p,y)):p;for(;n<7&&1!=n||1==n&&r.charAt(1)>3;)n=(r=rx((p=p.times(t)).d)).charAt(0),f++;for(i=ix(p),n>1?(p=new h("0."+r),i++):p=new h(n+"."+r.slice(1)),c=a=p=nx(p.minus($w),p.plus($w),l),s=sx(p.times(p),l),o=3;;){if(a=sx(a.times(s),l),rx((u=c.plus(nx(a,new h(o),l))).d).slice(0,l)===rx(c.d).slice(0,l))return c=c.times(2),0!==i&&(c=c.plus(ax(h,l+2,y).times(i+""))),c=nx(c,new h(f),l),h.precision=y,null==e?(Fw=!0,sx(c,y)):c;c=u,o+=2}}function lx(t,e){var r,n,o;for((r=e.indexOf("."))>-1&&(e=e.replace(".","")),(n=e.search(/e/i))>0?(r<0&&(r=n),r+=+e.slice(n+1),e=e.substring(0,n)):r<0&&(r=e.length),n=0;48===e.charCodeAt(n);)++n;for(o=e.length;48===e.charCodeAt(o-1);)--o;if(e=e.slice(n,o)){if(o-=n,r=r-n-1,t.e=qw(r/Gw),t.d=[],n=(r+1)%Gw,r<0&&(n+=Gw),n<o){for(n&&t.d.push(+e.slice(0,n)),o-=Gw;n<o;)t.d.push(+e.slice(n,n+=Gw));e=e.slice(n),n=Gw-e.length}else n-=o;for(;n--;)e+="0";if(t.d.push(+e),Fw&&(t.e>Jw||t.e<-Jw))throw Error(Ww+r)}else t.s=0,t.e=0,t.d=[0];return t}function sx(t,e,r){var n,o,i,a,c,u,l,s,f=t.d;for(a=1,i=f[0];i>=10;i/=10)a++;if((n=e-a)<0)n+=Gw,o=e,l=f[s=0];else{if((s=Math.ceil((n+1)/Gw))>=(i=f.length))return t;for(l=i=f[s],a=1;i>=10;i/=10)a++;o=(n%=Gw)-Gw+a}if(void 0!==r&&(c=l/(i=Yw(10,a-o-1))%10|0,u=e<0||void 0!==f[s+1]||l%i,u=r<4?(c||u)&&(0==r||r==(t.s<0?3:2)):c>5||5==c&&(4==r||u||6==r&&(n>0?o>0?l/Yw(10,a-o):0:f[s-1])%10&1||r==(t.s<0?8:7))),e<1||!f[0])return u?(i=ix(t),f.length=1,e=e-i-1,f[0]=Yw(10,(Gw-e%Gw)%Gw),t.e=qw(-e/Gw)||0):(f.length=1,f[0]=t.e=t.s=0),t;if(0==n?(f.length=s,i=1,s--):(f.length=s+1,i=Yw(10,Gw-n),f[s]=o>0?(l/Yw(10,a-o)%Yw(10,o)|0)*i:0),u)for(;;){if(0==s){(f[0]+=i)==Kw&&(f[0]=1,++t.e);break}if(f[s]+=i,f[s]!=Kw)break;f[s--]=0,i=1}for(n=f.length;0===f[--n];)f.pop();if(Fw&&(t.e>Jw||t.e<-Jw))throw Error(Ww+ix(t));return t}function fx(t,e){var r,n,o,i,a,c,u,l,s,f,p=t.constructor,d=p.precision;if(!t.s||!e.s)return e.s?e.s=-e.s:e=new p(t),Fw?sx(e,d):e;if(u=t.d,f=e.d,n=e.e,l=t.e,u=u.slice(),a=l-n){for((s=a<0)?(r=u,a=-a,c=f.length):(r=f,n=l,c=u.length),a>(o=Math.max(Math.ceil(d/Gw),c)+2)&&(a=o,r.length=1),r.reverse(),o=a;o--;)r.push(0);r.reverse()}else{for((s=(o=u.length)<(c=f.length))&&(c=o),o=0;o<c;o++)if(u[o]!=f[o]){s=u[o]<f[o];break}a=0}for(s&&(r=u,u=f,f=r,e.s=-e.s),c=u.length,o=f.length-c;o>0;--o)u[c++]=0;for(o=f.length;o>a;){if(u[--o]<f[o]){for(i=o;i&&0===u[--i];)u[i]=Kw-1;--u[i],u[o]+=Kw}u[o]-=f[o]}for(;0===u[--c];)u.pop();for(;0===u[0];u.shift())--n;return u[0]?(e.d=u,e.e=n,Fw?sx(e,d):e):new p(0)}function px(t,e,r){var n,o=ix(t),i=rx(t.d),a=i.length;return e?(r&&(n=r-a)>0?i=i.charAt(0)+"."+i.slice(1)+cx(n):a>1&&(i=i.charAt(0)+"."+i.slice(1)),i=i+(o<0?"e":"e+")+o):o<0?(i="0."+cx(-o-1)+i,r&&(n=r-a)>0&&(i+=cx(n))):o>=a?(i+=cx(o+1-a),r&&(n=r-o-1)>0&&(i=i+"."+cx(n))):((n=o+1)<a&&(i=i.slice(0,n)+"."+i.slice(n)),r&&(n=r-a)>0&&(o+1===a&&(i+="."),i+=cx(n))),t.s<0?"-"+i:i}function dx(t,e){if(t.length>e)return t.length=e,!0}function hx(t){if(!t||"object"!=typeof t)throw Error(Vw+"Object expected");var e,r,n,o=["precision",1,Hw,"rounding",0,8,"toExpNeg",-1/0,0,"toExpPos",0,1/0];for(e=0;e<o.length;e+=3)if(void 0!==(n=t[r=o[e]])){if(!(qw(n)===n&&n>=o[e+1]&&n<=o[e+2]))throw Error(Uw+r+": "+n);this[r]=n}if(void 0!==(n=t[r="LN10"])){if(n!=Math.LN10)throw Error(Uw+r+": "+n);this[r]=new this(n)}return this}var yx=function t(e){var r,n,o;function i(t){var e=this;if(!(e instanceof i))return new i(t);if(e.constructor=i,t instanceof i)return e.s=t.s,e.e=t.e,void(e.d=(t=t.d)?t.slice():t);if("number"==typeof t){if(0*t!=0)throw Error(Uw+t);if(t>0)e.s=1;else{if(!(t<0))return e.s=0,e.e=0,void(e.d=[0]);t=-t,e.s=-1}return t===~~t&&t<1e7?(e.e=0,void(e.d=[t])):lx(e,t.toString())}if("string"!=typeof t)throw Error(Uw+t);if(45===t.charCodeAt(0)?(t=t.slice(1),e.s=-1):e.s=1,!Xw.test(t))throw Error(Uw+t);lx(e,t)}if(i.prototype=Qw,i.ROUND_UP=0,i.ROUND_DOWN=1,i.ROUND_CEIL=2,i.ROUND_FLOOR=3,i.ROUND_HALF_UP=4,i.ROUND_HALF_DOWN=5,i.ROUND_HALF_EVEN=6,i.ROUND_HALF_CEIL=7,i.ROUND_HALF_FLOOR=8,i.clone=t,i.config=i.set=hx,void 0===e&&(e={}),e)for(o=["precision","rounding","toExpNeg","toExpPos","LN10"],r=0;r<o.length;)e.hasOwnProperty(n=o[r++])||(e[n]=this[n]);return i.config(e),i}({precision:20,rounding:4,toExpNeg:-7,toExpPos:21,LN10:"2.302585092994045684017991454684364207601101488628772976033327900967572609677352480235997205089598298341967784042286"});$w=new yx(1);var vx=yx;function mx(t){return function(t){if(Array.isArray(t))return gx(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return gx(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return gx(t,e)}(t)||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 gx(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var bx=function(t){return t},wx={"@@functional/placeholder":!0},xx=function(t){return t===wx},Ox=function(t){return function e(){return 0===arguments.length||1===arguments.length&&xx(arguments.length<=0?void 0:arguments[0])?e:t.apply(void 0,arguments)}},Sx=function t(e,r){return 1===e?r:Ox((function(){for(var n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];var a=o.filter((function(t){return t!==wx})).length;return a>=e?r.apply(void 0,o):t(e-a,Ox((function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i=o.map((function(t){return xx(t)?e.shift():t}));return r.apply(void 0,mx(i).concat(e))})))}))},jx=function(t){return Sx(t.length,t)},Px=function(t,e){for(var r=[],n=t;n<e;++n)r[n-t]=n;return r},Ax=jx((function(t,e){return Array.isArray(e)?e.map(t):Object.keys(e).map((function(t){return e[t]})).map(t)})),Mx=function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];if(!e.length)return bx;var n=e.reverse(),o=n[0],i=n.slice(1);return function(){return i.reduce((function(t,e){return e(t)}),o.apply(void 0,arguments))}},kx=function(t){return Array.isArray(t)?t.reverse():t.split("").reverse.join("")},Ex=function(t){var e=null,r=null;return function(){for(var n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];return e&&o.every((function(t,r){return t===e[r]}))?r:(e=o,r=t.apply(void 0,o))}};var Cx=jx((function(t,e,r){var n=+t;return n+r*(+e-n)})),_x=jx((function(t,e,r){var n=e-+t;return(r-t)/(n=n||1/0)})),Tx=jx((function(t,e,r){var n=e-+t;return n=n||1/0,Math.max(0,Math.min(1,(r-t)/n))})),Dx={rangeStep:function(t,e,r){for(var n=new vx(t),o=0,i=[];n.lt(e)&&o<1e5;)i.push(n.toNumber()),n=n.add(r),o++;return i},getDigitCount:function(t){return 0===t?1:Math.floor(new vx(t).abs().log(10).toNumber())+1},interpolateNumber:Cx,uninterpolateNumber:_x,uninterpolateTruncation:Tx};function Ix(t){return function(t){if(Array.isArray(t))return Bx(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||Lx(t)||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 Nx(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(t)))return;var r=[],n=!0,o=!1,i=void 0;try{for(var a,c=t[Symbol.iterator]();!(n=(a=c.next()).done)&&(r.push(a.value),!e||r.length!==e);n=!0);}catch(t){o=!0,i=t}finally{try{n||null==c.return||c.return()}finally{if(o)throw i}}return r}(t,e)||Lx(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 Lx(t,e){if(t){if("string"==typeof t)return Bx(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Bx(t,e):void 0}}function Bx(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function Rx(t){var e=Nx(t,2),r=e[0],n=e[1],o=r,i=n;return r>n&&(o=n,i=r),[o,i]}function $x(t,e,r){if(t.lte(0))return new vx(0);var n=Dx.getDigitCount(t.toNumber()),o=new vx(10).pow(n),i=t.div(o),a=1!==n?.05:.1,c=new vx(Math.ceil(i.div(a).toNumber())).add(r).mul(a).mul(o);return e?c:new vx(Math.ceil(c))}function zx(t,e,r,n){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0;if(!Number.isFinite((e-t)/(r-1)))return{step:new vx(0),tickMin:new vx(0),tickMax:new vx(0)};var i,a=$x(new vx(e).sub(t).div(r-1),n,o);i=t<=0&&e>=0?new vx(0):(i=new vx(t).add(e).div(2)).sub(new vx(i).mod(a));var c=Math.ceil(i.sub(t).div(a).toNumber()),u=Math.ceil(new vx(e).sub(i).div(a).toNumber()),l=c+u+1;return l>r?zx(t,e,r,n,o+1):(l<r&&(u=e>0?u+(r-l):u,c=e>0?c:c+(r-l)),{step:a,tickMin:i.sub(new vx(c).mul(a)),tickMax:i.add(new vx(u).mul(a))})}var Hx=Ex((function(t){var e=Nx(t,2),r=e[0],n=e[1],o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6,i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],a=Math.max(o,2),c=Nx(Rx([r,n]),2),u=c[0],l=c[1];if(u===-1/0||l===1/0){var s=l===1/0?[u].concat(Ix(Px(0,o-1).map((function(){return 1/0})))):[].concat(Ix(Px(0,o-1).map((function(){return-1/0}))),[l]);return r>n?kx(s):s}if(u===l)return function(t,e,r){var n=1,o=new vx(t);if(!o.isint()&&r){var i=Math.abs(t);i<1?(n=new vx(10).pow(Dx.getDigitCount(t)-1),o=new vx(Math.floor(o.div(n).toNumber())).mul(n)):i>1&&(o=new vx(Math.floor(t)))}else 0===t?o=new vx(Math.floor((e-1)/2)):r||(o=new vx(Math.floor(t)));var a=Math.floor((e-1)/2);return Mx(Ax((function(t){return o.add(new vx(t-a).mul(n)).toNumber()})),Px)(0,e)}(u,o,i);var f=zx(u,l,a,i),p=f.step,d=f.tickMin,h=f.tickMax,y=Dx.rangeStep(d,h.add(new vx(.1).mul(p)),p);return r>n?kx(y):y})),Fx=Ex((function(t,e){var r=Nx(t,2),n=r[0],o=r[1],i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],a=Nx(Rx([n,o]),2),c=a[0],u=a[1];if(c===-1/0||u===1/0)return[n,o];if(c===u)return[c];var l=Math.max(e,2),s=$x(new vx(u).sub(c).div(l-1),i,0),f=[].concat(Ix(Dx.rangeStep(new vx(c),new vx(u).sub(new vx(.99).mul(s)),s)),[u]);return n>o?kx(f):f})),Vx="production"===process.env.NODE_ENV,Ux="Invariant failed";function Wx(t,e){if(Vx)throw new Error(Ux);var r="function"==typeof e?e():e,n=r?"".concat(Ux,": ").concat(r):Ux;throw new Error(n)}var qx=["offset","layout","width","dataKey","data","dataPointFormatter","xAxis","yAxis"];function Yx(t){return Yx="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Yx(t)}function Xx(){return Xx=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},Xx.apply(this,arguments)}function Kx(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e);else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return Gx(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Gx(t,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 Gx(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function Zx(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function Jx(t,e,r){return e&&function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,oO(n.key),n)}}(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}function Qx(t,e,r){return e=eO(e),function(t,e){if(e&&("object"===Yx(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,tO()?Reflect.construct(e,r||[],eO(t).constructor):e.apply(t,r))}function tO(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(tO=function(){return!!t})()}function eO(t){return eO=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},eO(t)}function rO(t,e){return rO=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},rO(t,e)}function nO(t,e,r){return(e=oO(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function oO(t){var e=function(t,e){if("object"!=Yx(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!=Yx(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"==Yx(e)?e:e+""}var iO=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),Qx(this,e,arguments)}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&rO(t,e)}(e,J.Component),Jx(e,[{key:"render",value:function(){var t=this.props,e=t.offset,r=t.layout,n=t.width,o=t.dataKey,i=t.data,a=t.dataPointFormatter,c=t.xAxis,u=t.yAxis,l=Zx(t,qx),s=Xa(l,!1);"x"===this.props.direction&&"number"!==c.type&&("production"!==process.env.NODE_ENV?Wx(0,'ErrorBar requires Axis type property to be "number".'):Wx());var f=i.map((function(t){var i=a(t,o),l=i.x,f=i.y,p=i.value,d=i.errorVal;if(!d)return null;var h,y,v=[];if(Array.isArray(d)){var m=Kx(d,2);h=m[0],y=m[1]}else h=y=d;if("vertical"===r){var g=c.scale,b=f+e,w=b+n,x=b-n,O=g(p-h),S=g(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=u.scale,P=l+e,A=P-n,M=P+n,k=j(p-h),E=j(p+y);v.push({x1:A,y1:E,x2:M,y2:E}),v.push({x1:P,y1:k,x2:P,y2:E}),v.push({x1:A,y1:k,x2:M,y2:k})}return J.createElement(xc,Xx({className:"recharts-errorBar",key:"bar-".concat(v.map((function(t){return"".concat(t.x1,"-").concat(t.x2,"-").concat(t.y1,"-").concat(t.y2)})))},s),v.map((function(t){return J.createElement("line",Xx({},t,{key:"line-".concat(t.x1,"-").concat(t.x2,"-").concat(t.y1,"-").concat(t.y2)}))})))}));return J.createElement(xc,{className:"recharts-errorBars"},f)}}])}();function aO(t){return aO="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},aO(t)}function cO(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function uO(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?cO(Object(r),!0).forEach((function(e){lO(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):cO(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function lO(t,e,r){return e=function(t){var e=function(t,e){if("object"!=aO(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=aO(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==aO(e)?e:e+""}(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}nO(iO,"defaultProps",{stroke:"black",strokeWidth:1.5,width:5,offset:0,layout:"horizontal"}),nO(iO,"displayName","ErrorBar");var sO=function(t){var e=t.children,r=t.formattedGraphicalItems,n=t.legendWidth,o=t.legendContent,i=Ua(e,Ad);if(!i)return null;var a,c=Ad.defaultProps,u=void 0!==c?uO(uO({},c),i.props):{};return a=i.props&&i.props.payload?i.props&&i.props.payload:"children"===o?(r||[]).reduce((function(t,e){var r=e.item,n=e.props,o=n.sectors||n.data||[];return t.concat(o.map((function(t){return{type:i.props.iconType||r.props.legendType,value:t.name,color:t.fill,payload:t}})))}),[]):(r||[]).map((function(t){var e=t.item,r=e.type.defaultProps,n=void 0!==r?uO(uO({},r),e.props):{},o=n.dataKey,i=n.name,a=n.legendType;return{inactive:n.hide,dataKey:o,type:u.iconType||a||"square",color:bO(e),value:i||o,payload:n}})),uO(uO(uO({},u),Ad.getWithHeight(i,n)),{},{payload:a,item:i})};function fO(t){return fO="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},fO(t)}function pO(t){return function(t){if(Array.isArray(t))return dO(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return dO(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return dO(t,e)}(t)||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 dO(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function hO(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function yO(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?hO(Object(r),!0).forEach((function(e){vO(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):hO(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function vO(t,e,r){return e=function(t){var e=function(t,e){if("object"!=fO(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=fO(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==fO(e)?e:e+""}(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function mO(t,e,r){return Gi(t)||Gi(e)?r:ba(e)?Yi(t,e,r):ta(e)?e(t):r}function gO(t,e,r,n){var o=Rw(t,(function(t){return mO(t,e)}));if("number"===r){var i=o.filter((function(t){return ga(t)||parseFloat(t)}));return i.length?[Iw(i),kw(i)]:[1/0,-1/0]}return(n?o.filter((function(t){return!Gi(t)})):o).map((function(t){return ba(t)||t instanceof Date?t:""}))}var bO=function(t){var e,r,n=t.type.displayName,o=null!==(e=t.type)&&void 0!==e&&e.defaultProps?yO(yO({},t.type.defaultProps),t.props):t.props,i=o.stroke,a=o.fill;switch(n){case"Line":r=i;break;case"Area":case"Radar":r=i&&"none"!==i?i:a;break;default:r=a}return r},wO=function(t,e,r,n,o){var i=Va(e.props.children,iO).filter((function(t){return function(t,e,r){return!!Gi(e)||("horizontal"===t?"yAxis"===e:"vertical"===t||"x"===r?"xAxis"===e:"y"!==r||"yAxis"===e)}(n,o,t.props.direction)}));if(i&&i.length){var a=i.map((function(t){return t.props.dataKey}));return t.reduce((function(t,e){var n=mO(e,r);if(Gi(n))return t;var o=Array.isArray(n)?[Iw(n),kw(n)]:[n,n],i=a.reduce((function(t,r){var n=mO(e,r,0),i=o[0]-Math.abs(Array.isArray(n)?n[0]:n),a=o[1]+Math.abs(Array.isArray(n)?n[1]:n);return[Math.min(i,t[0]),Math.max(a,t[1])]}),[1/0,-1/0]);return[Math.min(i[0],t[0]),Math.max(i[1],t[1])]}),[1/0,-1/0])}return null},xO=function(t,e,r,n,o){var i=e.map((function(e){var i=e.props.dataKey;return"number"===r&&i&&wO(t,e,i,n)||gO(t,i,r,o)}));if("number"===r)return i.reduce((function(t,e){return[Math.min(t[0],e[0]),Math.max(t[1],e[1])]}),[1/0,-1/0]);var a={};return i.reduce((function(t,e){for(var r=0,n=e.length;r<n;r++)a[e[r]]||(a[e[r]]=!0,t.push(e[r]));return t}),[])},OO=function(t,e){return"horizontal"===t&&"xAxis"===e||"vertical"===t&&"yAxis"===e||"centric"===t&&"angleAxis"===e||"radial"===t&&"radiusAxis"===e},SO=function(t,e,r){if(!t)return null;var n=t.scale,o=t.duplicateDomain,i=t.type,a=t.range,c="scaleBand"===t.realScaleType?n.bandwidth()/2:2,u=(e||r)&&"category"===i&&n.bandwidth?n.bandwidth()/c:0;return u="angleAxis"===t.axisType&&(null==a?void 0:a.length)>=2?2*va(a[0]-a[1])*u:u,e&&(t.ticks||t.niceTicks)?(t.ticks||t.niceTicks).map((function(t){var e=o?o.indexOf(t):t;return{coordinate:n(e)+u,value:t,offset:u}})).filter((function(t){return!ha(t.coordinate)})):t.isCategorical&&t.categoricalDomain?t.categoricalDomain.map((function(t,e){return{coordinate:n(t)+u,value:t,index:e,offset:u}})):n.ticks&&!r?n.ticks(t.tickCount).map((function(t){return{coordinate:n(t)+u,value:t,offset:u}})):n.domain().map((function(t,e){return{coordinate:n(t)+u,value:o?o[t]:t,index:e,offset:u}}))},jO=new WeakMap,PO=function(t,e){if("function"!=typeof e)return t;jO.has(t)||jO.set(t,new WeakMap);var r=jO.get(t);if(r.has(e))return r.get(e);var n=function(){t.apply(void 0,arguments),e.apply(void 0,arguments)};return r.set(e,n),n},AO=1e-4,MO={sign:function(t){var e=t.length;if(!(e<=0))for(var r=0,n=t[0].length;r<n;++r)for(var o=0,i=0,a=0;a<e;++a){var c=ha(t[a][r][1])?t[a][r][0]:t[a][r][1];c>=0?(t[a][r][0]=o,t[a][r][1]=o+c,o=t[a][r][1]):(t[a][r][0]=i,t[a][r][1]=i+c,i=t[a][r][1])}},expand:function(t,e){if((n=t.length)>0){for(var r,n,o,i=0,a=t[0].length;i<a;++i){for(o=r=0;r<n;++r)o+=t[r][i][1]||0;if(o)for(r=0;r<n;++r)t[r][i][1]/=o}Eu(t,e)}},none:Eu,silhouette:function(t,e){if((r=t.length)>0){for(var r,n=0,o=t[e[0]],i=o.length;n<i;++n){for(var a=0,c=0;a<r;++a)c+=t[a][n][1]||0;o[n][1]+=o[n][0]=-c/2}Eu(t,e)}},wiggle:function(t,e){if((o=t.length)>0&&(n=(r=t[e[0]]).length)>0){for(var r,n,o,i=0,a=1;a<n;++a){for(var c=0,u=0,l=0;c<o;++c){for(var s=t[e[c]],f=s[a][1]||0,p=(f-(s[a-1][1]||0))/2,d=0;d<c;++d){var h=t[e[d]];p+=(h[a][1]||0)-(h[a-1][1]||0)}u+=f,l+=p*f}r[a-1][1]+=r[a-1][0]=i,u&&(i-=l/u)}r[a-1][1]+=r[a-1][0]=i,Eu(t,e)}},positive:function(t){var e=t.length;if(!(e<=0))for(var r=0,n=t[0].length;r<n;++r)for(var o=0,i=0;i<e;++i){var a=ha(t[i][r][1])?t[i][r][0]:t[i][r][1];a>=0?(t[i][r][0]=o,t[i][r][1]=o+a,o=t[i][r][1]):(t[i][r][0]=0,t[i][r][1]=0)}}},kO=function(t,e,r){var n=e.map((function(t){return t.props.dataKey})),o=MO[r],i=function(){var t=Ec([]),e=Cu,r=Eu,n=_u;function o(o){var i,a,c=Array.from(t.apply(this,arguments),Tu),u=c.length,l=-1;for(const t of o)for(i=0,++l;i<u;++i)(c[i][l]=[0,+n(t,c[i].key,l,o)]).data=t;for(i=0,a=Fc(e(c));i<u;++i)c[a[i]].index=i;return r(c,a),c}return o.keys=function(e){return arguments.length?(t="function"==typeof e?e:Ec(Array.from(e)),o):t},o.value=function(t){return arguments.length?(n="function"==typeof t?t:Ec(+t),o):n},o.order=function(t){return arguments.length?(e=null==t?Cu:"function"==typeof t?t:Ec(Array.from(t)),o):e},o.offset=function(t){return arguments.length?(r=null==t?Eu:t,o):r},o}().keys(n).value((function(t,e){return+mO(t,e,0)})).order(Cu).offset(o);return i(t)};function EO(t){var e=t.axis,r=t.ticks,n=t.bandSize,o=t.entry,i=t.index,a=t.dataKey;if("category"===e.type){if(!e.allowDuplicatedCategory&&e.dataKey&&!Gi(o[e.dataKey])){var c=Pa(r,"value",o[e.dataKey]);if(c)return c.coordinate+n/2}return r[i]?r[i].coordinate+n/2:null}var u=mO(o,Gi(a)?e.dataKey:a);return Gi(u)?null:e.scale(u)}var CO=function(t){var e=t.axis,r=t.ticks,n=t.offset,o=t.bandSize,i=t.entry,a=t.index;if("category"===e.type)return r[a]?r[a].coordinate+n:null;var c=mO(i,e.dataKey,e.domain[a]);return Gi(c)?null:e.scale(c)-o/2+n},_O=function(t,e,r){return Object.keys(t).reduce((function(n,o){var i=t[o].stackedData.reduce((function(t,n){var o=n.slice(e,r+1).reduce((function(t,e){return[Iw(e.concat([t[0]]).filter(ga)),kw(e.concat([t[1]]).filter(ga))]}),[1/0,-1/0]);return[Math.min(t[0],o[0]),Math.max(t[1],o[1])]}),[1/0,-1/0]);return[Math.min(i[0],n[0]),Math.max(i[1],n[1])]}),[1/0,-1/0]).map((function(t){return t===1/0||t===-1/0?0:t}))},TO=/^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,DO=/^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,IO=function(t,e,r){if(ta(t))return t(e,r);if(!Array.isArray(t))return e;var n=[];if(ga(t[0]))n[0]=r?t[0]:Math.min(t[0],e[0]);else if(TO.test(t[0])){var o=+TO.exec(t[0])[1];n[0]=e[0]-o}else ta(t[0])?n[0]=t[0](e[0]):n[0]=e[0];if(ga(t[1]))n[1]=r?t[1]:Math.max(t[1],e[1]);else if(DO.test(t[1])){var i=+DO.exec(t[1])[1];n[1]=e[1]+i}else ta(t[1])?n[1]=t[1](e[1]):n[1]=e[1];return n},NO=function(t,e,r){if(t&&t.scale&&t.scale.bandwidth){var n=t.scale.bandwidth();if(!r||n>0)return n}if(t&&e&&e.length>=2){for(var o=zd(e,(function(t){return t.coordinate})),i=1/0,a=1,c=o.length;a<c;a++){var u=o[a],l=o[a-1];i=Math.min((u.coordinate||0)-(l.coordinate||0),i)}return i===1/0?0:i}return r?void 0:0},LO=function(t,e,r){return t&&t.length?zw(t,Yi(r,"type.defaultProps.domain"))?e:t:e},BO=function(t,e){var r=t.type.defaultProps?yO(yO({},t.type.defaultProps),t.props):t.props,n=r.dataKey,o=r.name,i=r.unit,a=r.formatter,c=r.tooltipType,u=r.chartType,l=r.hide;return yO(yO({},Xa(t,!1)),{},{dataKey:n,unit:i,formatter:a,name:o||n,color:bO(t),value:mO(e,n),type:c,payload:e,chartType:u,hide:l})};function RO(t){return RO="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},RO(t)}function $O(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function zO(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?$O(Object(r),!0).forEach((function(e){HO(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):$O(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function HO(t,e,r){return e=function(t){var e=function(t,e){if("object"!=RO(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=RO(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==RO(e)?e:e+""}(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var FO=Math.PI/180,VO=function(t){return 180*t/Math.PI},UO=function(t,e,r,n){return{x:t+Math.cos(-FO*n)*r,y:e+Math.sin(-FO*n)*r}},WO=function(t,e){var r=t.x,n=t.y,o=e.cx,i=e.cy,a=function(t,e){var r=t.x,n=t.y,o=e.x,i=e.y;return Math.sqrt(Math.pow(r-o,2)+Math.pow(n-i,2))}({x:r,y:n},{x:o,y:i});if(a<=0)return{radius:a};var c=(r-o)/a,u=Math.acos(c);return n>i&&(u=2*Math.PI-u),{radius:a,angle:VO(u),angleInRadian:u}},qO=function(t,e){var r=e.startAngle,n=e.endAngle,o=Math.floor(r/360),i=Math.floor(n/360);return t+360*Math.min(o,i)},YO=function(t,e){var r=t.x,n=t.y,o=WO({x:r,y:n},e),i=o.radius,a=o.angle,c=e.innerRadius,u=e.outerRadius;if(i<c||i>u)return!1;if(0===i)return!0;var l,s=function(t){var e=t.startAngle,r=t.endAngle,n=Math.floor(e/360),o=Math.floor(r/360),i=Math.min(n,o);return{startAngle:e-360*i,endAngle:r-360*i}}(e),f=s.startAngle,p=s.endAngle,d=a;if(f<=p){for(;d>p;)d-=360;for(;d<f;)d+=360;l=d>=f&&d<=p}else{for(;d>f;)d-=360;for(;d<p;)d+=360;l=d>=p&&d<=f}return l?zO(zO({},e),{},{radius:i,angle:qO(d,e)}):null};function XO(t){return XO="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},XO(t)}var KO=["offset"];function GO(t){return function(t){if(Array.isArray(t))return ZO(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return ZO(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return ZO(t,e)}(t)||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 ZO(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function JO(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function QO(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function tS(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?QO(Object(r),!0).forEach((function(e){eS(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):QO(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function eS(t,e,r){return e=function(t){var e=function(t,e){if("object"!=XO(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=XO(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==XO(e)?e:e+""}(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function rS(){return rS=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},rS.apply(this,arguments)}var nS=function(t){var e=t.value,r=t.formatter,n=Gi(t.children)?e:t.children;return ta(r)?r(n):n},oS=function(t,e,r){var n,o,i=t.position,a=t.viewBox,c=t.offset,u=t.className,l=a,s=l.cx,f=l.cy,p=l.innerRadius,d=l.outerRadius,h=l.startAngle,y=l.endAngle,v=l.clockWise,m=(p+d)/2,g=function(t,e){return va(e-t)*Math.min(Math.abs(e-t),360)}(h,y),b=g>=0?1:-1;"insideStart"===i?(n=h+b*c,o=v):"insideEnd"===i?(n=y-b*c,o=!v):"end"===i&&(n=y+b*c,o=v),o=g<=0?o:!o;var w=UO(s,f,m,n),x=UO(s,f,m,n+359*(o?1:-1)),O="M".concat(w.x,",").concat(w.y,"\n A").concat(m,",").concat(m,",0,1,").concat(o?0:1,",\n ").concat(x.x,",").concat(x.y),S=Gi(t.id)?xa("recharts-radial-line-"):t.id;return J.createElement("text",rS({},r,{dominantBaseline:"central",className:gn("recharts-radial-bar-label",u)}),J.createElement("defs",null,J.createElement("path",{id:S,d:O})),J.createElement("textPath",{xlinkHref:"#".concat(S)},e))},iS=function(t){var e=t.viewBox,r=t.offset,n=t.position,o=e,i=o.cx,a=o.cy,c=o.innerRadius,u=o.outerRadius,l=(o.startAngle+o.endAngle)/2;if("outside"===n){var s=UO(i,a,u+r,l),f=s.x;return{x:f,y:s.y,textAnchor:f>=i?"start":"end",verticalAnchor:"middle"}}if("center"===n)return{x:i,y:a,textAnchor:"middle",verticalAnchor:"middle"};if("centerTop"===n)return{x:i,y:a,textAnchor:"middle",verticalAnchor:"start"};if("centerBottom"===n)return{x:i,y:a,textAnchor:"middle",verticalAnchor:"end"};var p=UO(i,a,(c+u)/2,l);return{x:p.x,y:p.y,textAnchor:"middle",verticalAnchor:"middle"}},aS=function(t){var e=t.viewBox,r=t.parentViewBox,n=t.offset,o=t.position,i=e,a=i.x,c=i.y,u=i.width,l=i.height,s=l>=0?1:-1,f=s*n,p=s>0?"end":"start",d=s>0?"start":"end",h=u>=0?1:-1,y=h*n,v=h>0?"end":"start",m=h>0?"start":"end";if("top"===o)return tS(tS({},{x:a+u/2,y:c-s*n,textAnchor:"middle",verticalAnchor:p}),r?{height:Math.max(c-r.y,0),width:u}:{});if("bottom"===o)return tS(tS({},{x:a+u/2,y:c+l+f,textAnchor:"middle",verticalAnchor:d}),r?{height:Math.max(r.y+r.height-(c+l),0),width:u}:{});if("left"===o){var g={x:a-y,y:c+l/2,textAnchor:v,verticalAnchor:"middle"};return tS(tS({},g),r?{width:Math.max(g.x-r.x,0),height:l}:{})}if("right"===o){var b={x:a+u+y,y:c+l/2,textAnchor:m,verticalAnchor:"middle"};return tS(tS({},b),r?{width:Math.max(r.x+r.width-b.x,0),height:l}:{})}var w=r?{width:u,height:l}:{};return"insideLeft"===o?tS({x:a+y,y:c+l/2,textAnchor:m,verticalAnchor:"middle"},w):"insideRight"===o?tS({x:a+u-y,y:c+l/2,textAnchor:v,verticalAnchor:"middle"},w):"insideTop"===o?tS({x:a+u/2,y:c+f,textAnchor:"middle",verticalAnchor:d},w):"insideBottom"===o?tS({x:a+u/2,y:c+l-f,textAnchor:"middle",verticalAnchor:p},w):"insideTopLeft"===o?tS({x:a+y,y:c+f,textAnchor:m,verticalAnchor:d},w):"insideTopRight"===o?tS({x:a+u-y,y:c+f,textAnchor:v,verticalAnchor:d},w):"insideBottomLeft"===o?tS({x:a+y,y:c+l-f,textAnchor:m,verticalAnchor:p},w):"insideBottomRight"===o?tS({x:a+u-y,y:c+l-f,textAnchor:v,verticalAnchor:p},w):ea(o)&&(ga(o.x)||ma(o.x))&&(ga(o.y)||ma(o.y))?tS({x:a+Oa(o.x,u),y:c+Oa(o.y,l),textAnchor:"end",verticalAnchor:"end"},w):tS({x:a+u/2,y:c+l/2,textAnchor:"middle",verticalAnchor:"middle"},w)},cS=function(t){return"cx"in t&&ga(t.cx)};function uS(t){var e,r=t.offset,n=tS({offset:void 0===r?5:r},JO(t,KO)),o=n.viewBox,i=n.position,a=n.value,c=n.children,u=n.content,l=n.className,s=void 0===l?"":l,f=n.textBreakAll;if(!o||Gi(a)&&Gi(c)&&!Q(u)&&!ta(u))return null;if(Q(u))return lt(u,n);if(ta(u)){if(Q(e=st(u,n)))return e}else e=nS(n);var p=cS(o),d=Xa(n,!0);if(p&&("insideStart"===i||"insideEnd"===i||"end"===i))return oS(n,e,d);var h=p?iS(n):aS(n);return J.createElement(Dy,rS({className:gn("recharts-label",s)},d,h,{breakAll:f}),e)}uS.displayName="Label";var lS,sS,fS=function(t){var e=t.cx,r=t.cy,n=t.angle,o=t.startAngle,i=t.endAngle,a=t.r,c=t.radius,u=t.innerRadius,l=t.outerRadius,s=t.x,f=t.y,p=t.top,d=t.left,h=t.width,y=t.height,v=t.clockWise,m=t.labelViewBox;if(m)return m;if(ga(h)&&ga(y)){if(ga(s)&&ga(f))return{x:s,y:f,width:h,height:y};if(ga(p)&&ga(d))return{x:p,y:d,width:h,height:y}}return ga(s)&&ga(f)?{x:s,y:f,width:0,height:0}:ga(e)&&ga(r)?{cx:e,cy:r,startAngle:o||n||0,endAngle:i||n||0,innerRadius:u||0,outerRadius:l||c||a||0,clockWise:v}:t.viewBox?t.viewBox:{}};uS.parseViewBox=fS,uS.renderCallByParent=function(t,e){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!t||!t.children&&r&&!t.label)return null;var n=t.children,o=fS(t),i=Va(n,uS).map((function(t,r){return lt(t,{viewBox:e||o,key:"label-".concat(r)})}));if(!r)return i;var a=function(t,e){return t?!0===t?J.createElement(uS,{key:"label-implicit",viewBox:e}):ba(t)?J.createElement(uS,{key:"label-implicit",viewBox:e,value:t}):Q(t)?t.type===uS?lt(t,{key:"label-implicit",viewBox:e}):J.createElement(uS,{key:"label-implicit",content:t,viewBox:e}):ta(t)?J.createElement(uS,{key:"label-implicit",content:t,viewBox:e}):ea(t)?J.createElement(uS,rS({viewBox:e},t,{key:"label-implicit"})):null:null}(t.label,e||o);return[a].concat(GO(i))};var pS=(sS||(sS=1,lS=function(t){var e=null==t?0:t.length;return e?t[e-1]:void 0}),lS),dS=Je(pS);function hS(t){return hS="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},hS(t)}var yS=["valueAccessor"],vS=["data","dataKey","clockWise","id","textBreakAll"];function mS(t){return function(t){if(Array.isArray(t))return gS(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return gS(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return gS(t,e)}(t)||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 gS(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function bS(){return bS=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},bS.apply(this,arguments)}function wS(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function xS(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?wS(Object(r),!0).forEach((function(e){OS(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):wS(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function OS(t,e,r){return e=function(t){var e=function(t,e){if("object"!=hS(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=hS(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==hS(e)?e:e+""}(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function SS(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}var jS=function(t){return Array.isArray(t.value)?dS(t.value):t.value};function PS(t){var e=t.valueAccessor,r=void 0===e?jS:e,n=SS(t,yS),o=n.data,i=n.dataKey,a=n.clockWise,c=n.id,u=n.textBreakAll,l=SS(n,vS);return o&&o.length?J.createElement(xc,{className:"recharts-label-list"},o.map((function(t,e){var n=Gi(i)?r(t,e):mO(t&&t.payload,i),o=Gi(c)?{}:{id:"".concat(c,"-").concat(e)};return J.createElement(uS,bS({},Xa(t,!0),l,o,{parentViewBox:t.parentViewBox,value:n,textBreakAll:u,viewBox:uS.parseViewBox(Gi(a)?t:xS(xS({},t),{},{clockWise:a})),key:"label-".concat(e),index:e}))}))):null}function AS(t){return AS="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},AS(t)}function MS(){return MS=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},MS.apply(this,arguments)}function kS(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function ES(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?kS(Object(r),!0).forEach((function(e){CS(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):kS(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function CS(t,e,r){return e=function(t){var e=function(t,e){if("object"!=AS(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=AS(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==AS(e)?e:e+""}(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}PS.displayName="LabelList",PS.renderCallByParent=function(t,e){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!t||!t.children&&r&&!t.label)return null;var n=Va(t.children,PS).map((function(t,r){return lt(t,{data:e,key:"labelList-".concat(r)})}));return r?[function(t,e){return t?!0===t?J.createElement(PS,{key:"labelList-implicit",data:e}):J.isValidElement(t)||ta(t)?J.createElement(PS,{key:"labelList-implicit",data:e,content:t}):ea(t)?J.createElement(PS,bS({data:e},t,{key:"labelList-implicit"})):null:null}(t.label,e)].concat(mS(n)):n};var _S=function(t){var e=t.cx,r=t.cy,n=t.radius,o=t.angle,i=t.sign,a=t.isExternal,c=t.cornerRadius,u=t.cornerIsExternal,l=c*(a?1:-1)+n,s=Math.asin(c/l)/FO,f=u?o:o+i*s,p=u?o-i*s:o;return{center:UO(e,r,l,f),circleTangency:UO(e,r,n,f),lineTangency:UO(e,r,l*Math.cos(s*FO),p),theta:s}},TS=function(t){var e=t.cx,r=t.cy,n=t.innerRadius,o=t.outerRadius,i=t.startAngle,a=function(t,e){return va(e-t)*Math.min(Math.abs(e-t),359.999)}(i,t.endAngle),c=i+a,u=UO(e,r,o,i),l=UO(e,r,o,c),s="M ".concat(u.x,",").concat(u.y,"\n A ").concat(o,",").concat(o,",0,\n ").concat(+(Math.abs(a)>180),",").concat(+(i>c),",\n ").concat(l.x,",").concat(l.y,"\n ");if(n>0){var f=UO(e,r,n,i),p=UO(e,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(+(i<=c),",\n ").concat(f.x,",").concat(f.y," Z")}else s+="L ".concat(e,",").concat(r," Z");return s},DS={cx:0,cy:0,innerRadius:0,outerRadius:0,startAngle:0,endAngle:0,cornerRadius:0,forceCornerRadius:!1,cornerIsExternal:!1},IS=function(t){var e=ES(ES({},DS),t),r=e.cx,n=e.cy,o=e.innerRadius,i=e.outerRadius,a=e.cornerRadius,c=e.forceCornerRadius,u=e.cornerIsExternal,l=e.startAngle,s=e.endAngle,f=e.className;if(i<o||l===s)return null;var p,d=gn("recharts-sector",f),h=i-o,y=Oa(a,h,0,!0);return p=y>0&&Math.abs(l-s)<360?function(t){var e=t.cx,r=t.cy,n=t.innerRadius,o=t.outerRadius,i=t.cornerRadius,a=t.forceCornerRadius,c=t.cornerIsExternal,u=t.startAngle,l=t.endAngle,s=va(l-u),f=_S({cx:e,cy:r,radius:o,angle:u,sign:s,cornerRadius:i,cornerIsExternal:c}),p=f.circleTangency,d=f.lineTangency,h=f.theta,y=_S({cx:e,cy:r,radius:o,angle:l,sign:-s,cornerRadius:i,cornerIsExternal:c}),v=y.circleTangency,m=y.lineTangency,g=y.theta,b=c?Math.abs(u-l):Math.abs(u-l)-h-g;if(b<0)return a?"M ".concat(d.x,",").concat(d.y,"\n a").concat(i,",").concat(i,",0,0,1,").concat(2*i,",0\n a").concat(i,",").concat(i,",0,0,1,").concat(2*-i,",0\n "):TS({cx:e,cy:r,innerRadius:n,outerRadius:o,startAngle:u,endAngle:l});var w="M ".concat(d.x,",").concat(d.y,"\n A").concat(i,",").concat(i,",0,0,").concat(+(s<0),",").concat(p.x,",").concat(p.y,"\n A").concat(o,",").concat(o,",0,").concat(+(b>180),",").concat(+(s<0),",").concat(v.x,",").concat(v.y,"\n A").concat(i,",").concat(i,",0,0,").concat(+(s<0),",").concat(m.x,",").concat(m.y,"\n ");if(n>0){var x=_S({cx:e,cy:r,radius:n,angle:u,sign:s,isExternal:!0,cornerRadius:i,cornerIsExternal:c}),O=x.circleTangency,S=x.lineTangency,j=x.theta,P=_S({cx:e,cy:r,radius:n,angle:l,sign:-s,isExternal:!0,cornerRadius:i,cornerIsExternal:c}),A=P.circleTangency,M=P.lineTangency,k=P.theta,E=c?Math.abs(u-l):Math.abs(u-l)-j-k;if(E<0&&0===i)return"".concat(w,"L").concat(e,",").concat(r,"Z");w+="L".concat(M.x,",").concat(M.y,"\n A").concat(i,",").concat(i,",0,0,").concat(+(s<0),",").concat(A.x,",").concat(A.y,"\n A").concat(n,",").concat(n,",0,").concat(+(E>180),",").concat(+(s>0),",").concat(O.x,",").concat(O.y,"\n A").concat(i,",").concat(i,",0,0,").concat(+(s<0),",").concat(S.x,",").concat(S.y,"Z")}else w+="L".concat(e,",").concat(r,"Z");return w}({cx:r,cy:n,innerRadius:o,outerRadius:i,cornerRadius:Math.min(y,h/2),forceCornerRadius:c,cornerIsExternal:u,startAngle:l,endAngle:s}):TS({cx:r,cy:n,innerRadius:o,outerRadius:i,startAngle:l,endAngle:s}),J.createElement("path",MS({},Xa(e,!0),{className:d,d:p,role:"img"}))};function NS(t){return NS="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},NS(t)}function LS(){return LS=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},LS.apply(this,arguments)}function BS(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function RS(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?BS(Object(r),!0).forEach((function(e){$S(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):BS(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function $S(t,e,r){return e=function(t){var e=function(t,e){if("object"!=NS(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=NS(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==NS(e)?e:e+""}(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var zS,HS={curveBasisClosed:function(t){return new vu(t)},curveBasisOpen:function(t){return new mu(t)},curveBasis:function(t){return new yu(t)},curveBumpX:function(t){return new Kc(t,!0)},curveBumpY:function(t){return new Kc(t,!1)},curveLinearClosed:function(t){return new gu(t)},curveLinear:Uc,curveMonotoneX:function(t){return new Su(t)},curveMonotoneY:function(t){return new ju(t)},curveNatural:function(t){return new Au(t)},curveStep:function(t){return new ku(t,.5)},curveStepAfter:function(t){return new ku(t,1)},curveStepBefore:function(t){return new ku(t,0)}},FS=function(t){return t.x===+t.x&&t.y===+t.y},VS=function(t){return t.x},US=function(t){return t.y},WS=function(t){var e,r=t.type,n=void 0===r?"linear":r,o=t.points,i=void 0===o?[]:o,a=t.baseLine,c=t.layout,u=t.connectNulls,l=void 0!==u&&u,s=function(t,e){if(ta(t))return t;var r="curve".concat(kc(t));return"curveMonotone"!==r&&"curveBump"!==r||!e?HS[r]||Uc:HS["".concat(r).concat("vertical"===e?"Y":"X")]}(n,c),f=l?i.filter((function(t){return FS(t)})):i;if(Array.isArray(a)){var p=l?a.filter((function(t){return FS(t)})):a,d=f.map((function(t,e){return RS(RS({},t),{},{base:p[e]})}));return(e="vertical"===c?Xc().y(US).x1(VS).x0((function(t){return t.base.x})):Xc().x(VS).y1(US).y0((function(t){return t.base.y}))).defined(FS).curve(s),e(d)}return(e="vertical"===c&&ga(a)?Xc().y(US).x1(VS).x0(a):ga(a)?Xc().x(VS).y1(US).y0(a):Yc().x(VS).y(US)).defined(FS).curve(s),e(f)},qS=function(t){var e=t.className,r=t.points,n=t.path,o=t.pathRef;if(!(r&&r.length||n))return null;var i=r&&r.length?WS(t):n;return J.createElement("path",LS({},Xa(t,!1),Ta(t),{className:gn("recharts-curve",e),d:i,ref:o}))},YS={exports:{}},XS={exports:{}},KS={};var GS,ZS,JS,QS,tj,ej,rj,nj,oj,ij,aj,cj,uj,lj,sj,fj={};
19
19
  /** @license React v16.13.1
20
20
  * react-is.development.js
21
21
  *
@@ -23,13 +23,13 @@ var fr={symbol:"$",separator:",",decimal:".",errorOnInvalid:!1,precision:2,patte
23
23
  *
24
24
  * This source code is licensed under the MIT license found in the
25
25
  * LICENSE file in the root directory of this source tree.
26
- */function fj(){return GS||(GS=1,"production"===process.env.NODE_ENV?YS.exports=function(){if($S)return XS;$S=1;var t="function"==typeof Symbol&&Symbol.for,e=t?Symbol.for("react.element"):60103,r=t?Symbol.for("react.portal"):60106,n=t?Symbol.for("react.fragment"):60107,o=t?Symbol.for("react.strict_mode"):60108,i=t?Symbol.for("react.profiler"):60114,a=t?Symbol.for("react.provider"):60109,c=t?Symbol.for("react.context"):60110,u=t?Symbol.for("react.async_mode"):60111,l=t?Symbol.for("react.concurrent_mode"):60111,s=t?Symbol.for("react.forward_ref"):60112,f=t?Symbol.for("react.suspense"):60113,p=t?Symbol.for("react.suspense_list"):60120,d=t?Symbol.for("react.memo"):60115,h=t?Symbol.for("react.lazy"):60116,y=t?Symbol.for("react.block"):60121,v=t?Symbol.for("react.fundamental"):60117,m=t?Symbol.for("react.responder"):60118,g=t?Symbol.for("react.scope"):60119;function b(t){if("object"==typeof t&&null!==t){var p=t.$$typeof;switch(p){case e:switch(t=t.type){case u:case l:case n:case i:case o:case f:return t;default:switch(t=t&&t.$$typeof){case c:case s:case h:case d:case a:return t;default:return p}}case r:return p}}}function w(t){return b(t)===l}return XS.AsyncMode=u,XS.ConcurrentMode=l,XS.ContextConsumer=c,XS.ContextProvider=a,XS.Element=e,XS.ForwardRef=s,XS.Fragment=n,XS.Lazy=h,XS.Memo=d,XS.Portal=r,XS.Profiler=i,XS.StrictMode=o,XS.Suspense=f,XS.isAsyncMode=function(t){return w(t)||b(t)===u},XS.isConcurrentMode=w,XS.isContextConsumer=function(t){return b(t)===c},XS.isContextProvider=function(t){return b(t)===a},XS.isElement=function(t){return"object"==typeof t&&null!==t&&t.$$typeof===e},XS.isForwardRef=function(t){return b(t)===s},XS.isFragment=function(t){return b(t)===n},XS.isLazy=function(t){return b(t)===h},XS.isMemo=function(t){return b(t)===d},XS.isPortal=function(t){return b(t)===r},XS.isProfiler=function(t){return b(t)===i},XS.isStrictMode=function(t){return b(t)===o},XS.isSuspense=function(t){return b(t)===f},XS.isValidElementType=function(t){return"string"==typeof t||"function"==typeof t||t===n||t===l||t===i||t===o||t===f||t===p||"object"==typeof t&&null!==t&&(t.$$typeof===h||t.$$typeof===d||t.$$typeof===a||t.$$typeof===c||t.$$typeof===s||t.$$typeof===v||t.$$typeof===m||t.$$typeof===g||t.$$typeof===y)},XS.typeOf=b,XS}():YS.exports=(KS||(KS=1,"production"!==process.env.NODE_ENV&&function(){var t="function"==typeof Symbol&&Symbol.for,e=t?Symbol.for("react.element"):60103,r=t?Symbol.for("react.portal"):60106,n=t?Symbol.for("react.fragment"):60107,o=t?Symbol.for("react.strict_mode"):60108,i=t?Symbol.for("react.profiler"):60114,a=t?Symbol.for("react.provider"):60109,c=t?Symbol.for("react.context"):60110,u=t?Symbol.for("react.async_mode"):60111,l=t?Symbol.for("react.concurrent_mode"):60111,s=t?Symbol.for("react.forward_ref"):60112,f=t?Symbol.for("react.suspense"):60113,p=t?Symbol.for("react.suspense_list"):60120,d=t?Symbol.for("react.memo"):60115,h=t?Symbol.for("react.lazy"):60116,y=t?Symbol.for("react.block"):60121,v=t?Symbol.for("react.fundamental"):60117,m=t?Symbol.for("react.responder"):60118,g=t?Symbol.for("react.scope"):60119;function b(t){if("object"==typeof t&&null!==t){var p=t.$$typeof;switch(p){case e:var y=t.type;switch(y){case u:case l:case n:case i:case o:case f:return y;default:var v=y&&y.$$typeof;switch(v){case c:case s:case h:case d:case a:return v;default:return p}}case r:return p}}}var w=u,x=l,O=c,S=a,j=e,P=s,A=n,M=h,k=d,E=r,C=i,_=o,T=f,D=!1;function I(t){return b(t)===l}sj.AsyncMode=w,sj.ConcurrentMode=x,sj.ContextConsumer=O,sj.ContextProvider=S,sj.Element=j,sj.ForwardRef=P,sj.Fragment=A,sj.Lazy=M,sj.Memo=k,sj.Portal=E,sj.Profiler=C,sj.StrictMode=_,sj.Suspense=T,sj.isAsyncMode=function(t){return D||(D=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),I(t)||b(t)===u},sj.isConcurrentMode=I,sj.isContextConsumer=function(t){return b(t)===c},sj.isContextProvider=function(t){return b(t)===a},sj.isElement=function(t){return"object"==typeof t&&null!==t&&t.$$typeof===e},sj.isForwardRef=function(t){return b(t)===s},sj.isFragment=function(t){return b(t)===n},sj.isLazy=function(t){return b(t)===h},sj.isMemo=function(t){return b(t)===d},sj.isPortal=function(t){return b(t)===r},sj.isProfiler=function(t){return b(t)===i},sj.isStrictMode=function(t){return b(t)===o},sj.isSuspense=function(t){return b(t)===f},sj.isValidElementType=function(t){return"string"==typeof t||"function"==typeof t||t===n||t===l||t===i||t===o||t===f||t===p||"object"==typeof t&&null!==t&&(t.$$typeof===h||t.$$typeof===d||t.$$typeof===a||t.$$typeof===c||t.$$typeof===s||t.$$typeof===v||t.$$typeof===m||t.$$typeof===g||t.$$typeof===y)},sj.typeOf=b}()),sj)),YS.exports}
26
+ */function pj(){return ZS||(ZS=1,"production"===process.env.NODE_ENV?XS.exports=function(){if(zS)return KS;zS=1;var t="function"==typeof Symbol&&Symbol.for,e=t?Symbol.for("react.element"):60103,r=t?Symbol.for("react.portal"):60106,n=t?Symbol.for("react.fragment"):60107,o=t?Symbol.for("react.strict_mode"):60108,i=t?Symbol.for("react.profiler"):60114,a=t?Symbol.for("react.provider"):60109,c=t?Symbol.for("react.context"):60110,u=t?Symbol.for("react.async_mode"):60111,l=t?Symbol.for("react.concurrent_mode"):60111,s=t?Symbol.for("react.forward_ref"):60112,f=t?Symbol.for("react.suspense"):60113,p=t?Symbol.for("react.suspense_list"):60120,d=t?Symbol.for("react.memo"):60115,h=t?Symbol.for("react.lazy"):60116,y=t?Symbol.for("react.block"):60121,v=t?Symbol.for("react.fundamental"):60117,m=t?Symbol.for("react.responder"):60118,g=t?Symbol.for("react.scope"):60119;function b(t){if("object"==typeof t&&null!==t){var p=t.$$typeof;switch(p){case e:switch(t=t.type){case u:case l:case n:case i:case o:case f:return t;default:switch(t=t&&t.$$typeof){case c:case s:case h:case d:case a:return t;default:return p}}case r:return p}}}function w(t){return b(t)===l}return KS.AsyncMode=u,KS.ConcurrentMode=l,KS.ContextConsumer=c,KS.ContextProvider=a,KS.Element=e,KS.ForwardRef=s,KS.Fragment=n,KS.Lazy=h,KS.Memo=d,KS.Portal=r,KS.Profiler=i,KS.StrictMode=o,KS.Suspense=f,KS.isAsyncMode=function(t){return w(t)||b(t)===u},KS.isConcurrentMode=w,KS.isContextConsumer=function(t){return b(t)===c},KS.isContextProvider=function(t){return b(t)===a},KS.isElement=function(t){return"object"==typeof t&&null!==t&&t.$$typeof===e},KS.isForwardRef=function(t){return b(t)===s},KS.isFragment=function(t){return b(t)===n},KS.isLazy=function(t){return b(t)===h},KS.isMemo=function(t){return b(t)===d},KS.isPortal=function(t){return b(t)===r},KS.isProfiler=function(t){return b(t)===i},KS.isStrictMode=function(t){return b(t)===o},KS.isSuspense=function(t){return b(t)===f},KS.isValidElementType=function(t){return"string"==typeof t||"function"==typeof t||t===n||t===l||t===i||t===o||t===f||t===p||"object"==typeof t&&null!==t&&(t.$$typeof===h||t.$$typeof===d||t.$$typeof===a||t.$$typeof===c||t.$$typeof===s||t.$$typeof===v||t.$$typeof===m||t.$$typeof===g||t.$$typeof===y)},KS.typeOf=b,KS}():XS.exports=(GS||(GS=1,"production"!==process.env.NODE_ENV&&function(){var t="function"==typeof Symbol&&Symbol.for,e=t?Symbol.for("react.element"):60103,r=t?Symbol.for("react.portal"):60106,n=t?Symbol.for("react.fragment"):60107,o=t?Symbol.for("react.strict_mode"):60108,i=t?Symbol.for("react.profiler"):60114,a=t?Symbol.for("react.provider"):60109,c=t?Symbol.for("react.context"):60110,u=t?Symbol.for("react.async_mode"):60111,l=t?Symbol.for("react.concurrent_mode"):60111,s=t?Symbol.for("react.forward_ref"):60112,f=t?Symbol.for("react.suspense"):60113,p=t?Symbol.for("react.suspense_list"):60120,d=t?Symbol.for("react.memo"):60115,h=t?Symbol.for("react.lazy"):60116,y=t?Symbol.for("react.block"):60121,v=t?Symbol.for("react.fundamental"):60117,m=t?Symbol.for("react.responder"):60118,g=t?Symbol.for("react.scope"):60119;function b(t){if("object"==typeof t&&null!==t){var p=t.$$typeof;switch(p){case e:var y=t.type;switch(y){case u:case l:case n:case i:case o:case f:return y;default:var v=y&&y.$$typeof;switch(v){case c:case s:case h:case d:case a:return v;default:return p}}case r:return p}}}var w=u,x=l,O=c,S=a,j=e,P=s,A=n,M=h,k=d,E=r,C=i,_=o,T=f,D=!1;function I(t){return b(t)===l}fj.AsyncMode=w,fj.ConcurrentMode=x,fj.ContextConsumer=O,fj.ContextProvider=S,fj.Element=j,fj.ForwardRef=P,fj.Fragment=A,fj.Lazy=M,fj.Memo=k,fj.Portal=E,fj.Profiler=C,fj.StrictMode=_,fj.Suspense=T,fj.isAsyncMode=function(t){return D||(D=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),I(t)||b(t)===u},fj.isConcurrentMode=I,fj.isContextConsumer=function(t){return b(t)===c},fj.isContextProvider=function(t){return b(t)===a},fj.isElement=function(t){return"object"==typeof t&&null!==t&&t.$$typeof===e},fj.isForwardRef=function(t){return b(t)===s},fj.isFragment=function(t){return b(t)===n},fj.isLazy=function(t){return b(t)===h},fj.isMemo=function(t){return b(t)===d},fj.isPortal=function(t){return b(t)===r},fj.isProfiler=function(t){return b(t)===i},fj.isStrictMode=function(t){return b(t)===o},fj.isSuspense=function(t){return b(t)===f},fj.isValidElementType=function(t){return"string"==typeof t||"function"==typeof t||t===n||t===l||t===i||t===o||t===f||t===p||"object"==typeof t&&null!==t&&(t.$$typeof===h||t.$$typeof===d||t.$$typeof===a||t.$$typeof===c||t.$$typeof===s||t.$$typeof===v||t.$$typeof===m||t.$$typeof===g||t.$$typeof===y)},fj.typeOf=b}()),fj)),XS.exports}
27
27
  /*
28
28
  object-assign
29
29
  (c) Sindre Sorhus
30
30
  @license MIT
31
- */function pj(){if(JS)return ZS;JS=1;var t=Object.getOwnPropertySymbols,e=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;return ZS=function(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de","5"===Object.getOwnPropertyNames(t)[0])return!1;for(var e={},r=0;r<10;r++)e["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(e).map((function(t){return e[t]})).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach((function(t){n[t]=t})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(t){return!1}}()?Object.assign:function(n,o){for(var i,a,c=function(t){if(null==t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}(n),u=1;u<arguments.length;u++){for(var l in i=Object(arguments[u]))e.call(i,l)&&(c[l]=i[l]);if(t){a=t(i);for(var s=0;s<a.length;s++)r.call(i,a[s])&&(c[a[s]]=i[a[s]])}}return c},ZS}function dj(){if(tj)return QS;tj=1;return QS="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}function hj(){return rj?ej:(rj=1,ej=Function.call.bind(Object.prototype.hasOwnProperty))}function yj(){if(oj)return nj;oj=1;var t=function(){};if("production"!==process.env.NODE_ENV){var e=dj(),r={},n=hj();t=function(t){var e="Warning: "+t;"undefined"!=typeof console&&console.error(e);try{throw new Error(e)}catch(t){}}}function o(o,i,a,c,u){if("production"!==process.env.NODE_ENV)for(var l in o)if(n(o,l)){var s;try{if("function"!=typeof o[l]){var f=Error((c||"React class")+": "+a+" type `"+l+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof o[l]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw f.name="Invariant Violation",f}s=o[l](i,l,c,a,null,e)}catch(t){s=t}if(!s||s instanceof Error||t((c||"React class")+": type specification of "+a+" `"+l+"` 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=u?u():"";t("Failed "+a+" type: "+s.message+(null!=p?p:""))}}}return o.resetWarningCache=function(){"production"!==process.env.NODE_ENV&&(r={})},nj=o}function vj(){if(aj)return ij;aj=1;var t=fj(),e=pj(),r=dj(),n=hj(),o=yj(),i=function(){};function a(){return null}return"production"!==process.env.NODE_ENV&&(i=function(t){var e="Warning: "+t;"undefined"!=typeof console&&console.error(e);try{throw new Error(e)}catch(t){}}),ij=function(c,u){var l="function"==typeof Symbol&&Symbol.iterator,s="@@iterator";var 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(t){return y((function(e,n,o,i,a){if("function"!=typeof t)return new h("Property `"+a+"` of component `"+o+"` has invalid PropType notation inside arrayOf.");var c=e[n];if(!Array.isArray(c))return new h("Invalid "+i+" `"+a+"` of type `"+b(c)+"` supplied to `"+o+"`, expected an array.");for(var u=0;u<c.length;u++){var l=t(c,u,o,i,a+"["+u+"]",r);if(l instanceof Error)return l}return null}))},element:y((function(t,e,r,n,o){var i=t[e];return c(i)?null:new h("Invalid "+n+" `"+o+"` of type `"+b(i)+"` supplied to `"+r+"`, expected a single ReactElement.")})),elementType:y((function(e,r,n,o,i){var a=e[r];return t.isValidElementType(a)?null:new h("Invalid "+o+" `"+i+"` of type `"+b(a)+"` supplied to `"+n+"`, expected a single ReactElement type.")})),instanceOf:function(t){return y((function(e,r,n,o,i){if(!(e[r]instanceof t)){var a=t.name||f;return new h("Invalid "+o+" `"+i+"` of type `"+(((c=e[r]).constructor&&c.constructor.name?c.constructor.name:f)+"` supplied to `")+n+"`, expected instance of `"+a+"`.")}var c;return null}))},node:y((function(t,e,r,n,o){return g(t[e])?null:new h("Invalid "+n+" `"+o+"` supplied to `"+r+"`, expected a ReactNode.")})),objectOf:function(t){return y((function(e,o,i,a,c){if("function"!=typeof t)return new h("Property `"+c+"` of component `"+i+"` has invalid PropType notation inside objectOf.");var u=e[o],l=b(u);if("object"!==l)return new h("Invalid "+a+" `"+c+"` of type `"+l+"` supplied to `"+i+"`, expected an object.");for(var s in u)if(n(u,s)){var f=t(u,s,i,a,c+"."+s,r);if(f instanceof Error)return f}return null}))},oneOf:function(t){if(!Array.isArray(t))return"production"!==process.env.NODE_ENV&&i(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;return y((function(e,r,n,o,i){for(var a=e[r],c=0;c<t.length;c++)if(d(a,t[c]))return null;var u=JSON.stringify(t,(function(t,e){return"symbol"===w(e)?String(e):e}));return new h("Invalid "+o+" `"+i+"` of value `"+String(a)+"` supplied to `"+n+"`, expected one of "+u+".")}))},oneOfType:function(t){if(!Array.isArray(t))return"production"!==process.env.NODE_ENV&&i("Invalid argument supplied to oneOfType, expected an instance of array."),a;for(var e=0;e<t.length;e++){var o=t[e];if("function"!=typeof o)return i("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+x(o)+" at index "+e+"."),a}return y((function(e,o,i,a,c){for(var u=[],l=0;l<t.length;l++){var s=(0,t[l])(e,o,i,a,c,r);if(null==s)return null;s.data&&n(s.data,"expectedType")&&u.push(s.data.expectedType)}return new h("Invalid "+a+" `"+c+"` supplied to `"+i+"`"+(u.length>0?", expected one of type ["+u.join(", ")+"]":"")+".")}))},shape:function(t){return y((function(e,n,o,i,a){var c=e[n],u=b(c);if("object"!==u)return new h("Invalid "+i+" `"+a+"` of type `"+u+"` supplied to `"+o+"`, expected `object`.");for(var l in t){var s=t[l];if("function"!=typeof s)return m(o,i,a,l,w(s));var f=s(c,l,o,i,a+"."+l,r);if(f)return f}return null}))},exact:function(t){return y((function(o,i,a,c,u){var l=o[i],s=b(l);if("object"!==s)return new h("Invalid "+c+" `"+u+"` of type `"+s+"` supplied to `"+a+"`, expected `object`.");var f=e({},o[i],t);for(var p in f){var d=t[p];if(n(t,p)&&"function"!=typeof d)return m(a,c,u,p,w(d));if(!d)return new h("Invalid "+c+" `"+u+"` key `"+p+"` supplied to `"+a+"`.\nBad object: "+JSON.stringify(o[i],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(t),null," "));var y=d(l,p,a,c,u+"."+p,r);if(y)return y}return null}))}};function d(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}function h(t,e){this.message=t,this.data=e&&"object"==typeof e?e:{},this.stack=""}function y(t){if("production"!==process.env.NODE_ENV)var e={},n=0;function o(o,a,c,l,s,p,d){if(l=l||f,p=p||c,d!==r){if(u){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=l+":"+c;!e[v]&&n<3&&(i("You are manually calling a React.PropTypes validation function for the `"+p+"` prop on `"+l+"`. 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."),e[v]=!0,n++)}}return null==a[c]?o?null===a[c]?new h("The "+s+" `"+p+"` is marked as required in `"+l+"`, but its value is `null`."):new h("The "+s+" `"+p+"` is marked as required in `"+l+"`, but its value is `undefined`."):null:t(a,c,l,s,p)}var a=o.bind(null,!1);return a.isRequired=o.bind(null,!0),a}function v(t){return y((function(e,r,n,o,i,a){var c=e[r];return b(c)!==t?new h("Invalid "+o+" `"+i+"` of type `"+w(c)+"` supplied to `"+n+"`, expected `"+t+"`.",{expectedType:t}):null}))}function m(t,e,r,n,o){return new h((t||"React class")+": "+e+" type `"+r+"."+n+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+o+"`.")}function g(t){switch(typeof t){case"number":case"string":case"undefined":return!0;case"boolean":return!t;case"object":if(Array.isArray(t))return t.every(g);if(null===t||c(t))return!0;var e=function(t){var e=t&&(l&&t[l]||t[s]);if("function"==typeof e)return e}(t);if(!e)return!1;var r,n=e.call(t);if(e!==t.entries){for(;!(r=n.next()).done;)if(!g(r.value))return!1}else for(;!(r=n.next()).done;){var o=r.value;if(o&&!g(o[1]))return!1}return!0;default:return!1}}function b(t){var e=typeof t;return Array.isArray(t)?"array":t instanceof RegExp?"object":function(t,e){return"symbol"===t||!!e&&("Symbol"===e["@@toStringTag"]||"function"==typeof Symbol&&e instanceof Symbol)}(e,t)?"symbol":e}function w(t){if(null==t)return""+t;var e=b(t);if("object"===e){if(t instanceof Date)return"date";if(t instanceof RegExp)return"regexp"}return e}function x(t){var e=w(t);switch(e){case"array":case"object":return"an "+e;case"boolean":case"date":case"regexp":return"a "+e;default:return e}}return h.prototype=Error.prototype,p.checkPropTypes=o,p.resetWarningCache=o.resetWarningCache,p.PropTypes=p,p},ij}function mj(){if(uj)return cj;uj=1;var t=dj();function e(){}function r(){}return r.resetWarningCache=e,cj=function(){function n(e,r,n,o,i,a){if(a!==t){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 o(){return n}n.isRequired=n;var i={array:n,bigint:n,bool:n,func:n,number:n,object:n,string:n,symbol:n,any:n,arrayOf:o,element:n,elementType:n,instanceOf:o,node:n,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:r,resetWarningCache:e};return i.PropTypes=i,i}}function gj(){if(lj)return qS.exports;if(lj=1,"production"!==process.env.NODE_ENV){var t=fj();qS.exports=vj()(t.isElement,true)}else qS.exports=mj()();return qS.exports}var bj=Ze(gj()),wj=Object.getOwnPropertyNames,xj=Object.getOwnPropertySymbols,Oj=Object.prototype.hasOwnProperty;function Sj(t,e){return function(r,n,o){return t(r,n,o)&&e(r,n,o)}}function jj(t){return function(e,r,n){if(!e||!r||"object"!=typeof e||"object"!=typeof r)return t(e,r,n);var o=n.cache,i=o.get(e),a=o.get(r);if(i&&a)return i===r&&a===e;o.set(e,r),o.set(r,e);var c=t(e,r,n);return o.delete(e),o.delete(r),c}}function Pj(t){return wj(t).concat(xj(t))}var Aj=Object.hasOwn||function(t,e){return Oj.call(t,e)};function Mj(t,e){return t||e?t===e:t===e||t!=t&&e!=e}var kj="_owner",Ej=Object.getOwnPropertyDescriptor,Cj=Object.keys;function _j(t,e,r){var n=t.length;if(e.length!==n)return!1;for(;n-- >0;)if(!r.equals(t[n],e[n],n,n,t,e,r))return!1;return!0}function Tj(t,e){return Mj(t.getTime(),e.getTime())}function Dj(t,e,r){if(t.size!==e.size)return!1;for(var n,o,i={},a=t.entries(),c=0;(n=a.next())&&!n.done;){for(var u=e.entries(),l=!1,s=0;(o=u.next())&&!o.done;){var f=n.value,p=f[0],d=f[1],h=o.value,y=h[0],v=h[1];l||i[s]||!(l=r.equals(p,y,c,s,t,e,r)&&r.equals(d,v,p,y,t,e,r))||(i[s]=!0),s++}if(!l)return!1;c++}return!0}function Ij(t,e,r){var n,o=Cj(t),i=o.length;if(Cj(e).length!==i)return!1;for(;i-- >0;){if((n=o[i])===kj&&(t.$$typeof||e.$$typeof)&&t.$$typeof!==e.$$typeof)return!1;if(!Aj(e,n)||!r.equals(t[n],e[n],n,n,t,e,r))return!1}return!0}function Nj(t,e,r){var n,o,i,a=Pj(t),c=a.length;if(Pj(e).length!==c)return!1;for(;c-- >0;){if((n=a[c])===kj&&(t.$$typeof||e.$$typeof)&&t.$$typeof!==e.$$typeof)return!1;if(!Aj(e,n))return!1;if(!r.equals(t[n],e[n],n,n,t,e,r))return!1;if(o=Ej(t,n),i=Ej(e,n),(o||i)&&(!o||!i||o.configurable!==i.configurable||o.enumerable!==i.enumerable||o.writable!==i.writable))return!1}return!0}function Lj(t,e){return Mj(t.valueOf(),e.valueOf())}function Bj(t,e){return t.source===e.source&&t.flags===e.flags}function Rj(t,e,r){if(t.size!==e.size)return!1;for(var n,o,i={},a=t.values();(n=a.next())&&!n.done;){for(var c=e.values(),u=!1,l=0;(o=c.next())&&!o.done;)u||i[l]||!(u=r.equals(n.value,o.value,n.value,o.value,t,e,r))||(i[l]=!0),l++;if(!u)return!1}return!0}function $j(t,e){var r=t.length;if(e.length!==r)return!1;for(;r-- >0;)if(t[r]!==e[r])return!1;return!0}var zj="[object Arguments]",Hj="[object Boolean]",Fj="[object Date]",Vj="[object Map]",Uj="[object Number]",Wj="[object Object]",qj="[object RegExp]",Yj="[object Set]",Xj="[object String]",Kj=Array.isArray,Gj="function"==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView:null,Zj=Object.assign,Jj=Object.prototype.toString.call.bind(Object.prototype.toString);var Qj=tP();function tP(t){void 0===t&&(t={});var e,r=t.circular,n=void 0!==r&&r,o=t.createInternalComparator,i=t.createState,a=t.strict,c=void 0!==a&&a,u=function(t){var e=t.circular,r=t.createCustomConfig,n=t.strict,o={areArraysEqual:n?Nj:_j,areDatesEqual:Tj,areMapsEqual:n?Sj(Dj,Nj):Dj,areObjectsEqual:n?Nj:Ij,arePrimitiveWrappersEqual:Lj,areRegExpsEqual:Bj,areSetsEqual:n?Sj(Rj,Nj):Rj,areTypedArraysEqual:n?Nj:$j};if(r&&(o=Zj({},o,r(o))),e){var i=jj(o.areArraysEqual),a=jj(o.areMapsEqual),c=jj(o.areObjectsEqual),u=jj(o.areSetsEqual);o=Zj({},o,{areArraysEqual:i,areMapsEqual:a,areObjectsEqual:c,areSetsEqual:u})}return o}(t),l=function(t){var e=t.areArraysEqual,r=t.areDatesEqual,n=t.areMapsEqual,o=t.areObjectsEqual,i=t.arePrimitiveWrappersEqual,a=t.areRegExpsEqual,c=t.areSetsEqual,u=t.areTypedArraysEqual;return function(t,l,s){if(t===l)return!0;if(null==t||null==l||"object"!=typeof t||"object"!=typeof l)return t!=t&&l!=l;var f=t.constructor;if(f!==l.constructor)return!1;if(f===Object)return o(t,l,s);if(Kj(t))return e(t,l,s);if(null!=Gj&&Gj(t))return u(t,l,s);if(f===Date)return r(t,l,s);if(f===RegExp)return a(t,l,s);if(f===Map)return n(t,l,s);if(f===Set)return c(t,l,s);var p=Jj(t);return p===Fj?r(t,l,s):p===qj?a(t,l,s):p===Vj?n(t,l,s):p===Yj?c(t,l,s):p===Wj?"function"!=typeof t.then&&"function"!=typeof l.then&&o(t,l,s):p===zj?o(t,l,s):(p===Hj||p===Uj||p===Xj)&&i(t,l,s)}}(u),s=o?o(l):(e=l,function(t,r,n,o,i,a,c){return e(t,r,c)});return function(t){var e=t.circular,r=t.comparator,n=t.createState,o=t.equals,i=t.strict;if(n)return function(t,a){var c=n(),u=c.cache,l=void 0===u?e?new WeakMap:void 0:u,s=c.meta;return r(t,a,{cache:l,equals:o,meta:s,strict:i})};if(e)return function(t,e){return r(t,e,{cache:new WeakMap,equals:o,meta:void 0,strict:i})};var a={cache:void 0,equals:o,meta:void 0,strict:i};return function(t,e){return r(t,e,a)}}({circular:n,comparator:l,createState:i,equals:s,strict:c})}function eP(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=-1;requestAnimationFrame((function n(o){r<0&&(r=o),o-r>e?(t(o),r=-1):function(t){"undefined"!=typeof requestAnimationFrame&&requestAnimationFrame(t)}(n)}))}function rP(t){return rP="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},rP(t)}function nP(t){return function(t){if(Array.isArray(t))return t}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return oP(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return oP(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 oP(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function iP(){var t=function(){return null},e=!1,r=function r(n){if(!e){if(Array.isArray(n)){if(!n.length)return;var o=nP(n),i=o[0],a=o.slice(1);return"number"==typeof i?void eP(r.bind(null,a),i):(r(i),void eP(r.bind(null,a)))}"object"===rP(n)&&t(n),"function"==typeof n&&n()}};return{stop:function(){e=!0},start:function(t){e=!1,r(t)},subscribe:function(e){return t=e,function(){t=function(){return null}}}}}function aP(t){return aP="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},aP(t)}function cP(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function uP(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?cP(Object(r),!0).forEach((function(e){lP(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):cP(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function lP(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==aP(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==aP(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===aP(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}tP({strict:!0}),tP({circular:!0}),tP({circular:!0,strict:!0}),tP({createInternalComparator:function(){return Mj}}),tP({strict:!0,createInternalComparator:function(){return Mj}}),tP({circular:!0,createInternalComparator:function(){return Mj}}),tP({circular:!0,createInternalComparator:function(){return Mj},strict:!0});var sP=function(t){return t},fP=function(t,e){return Object.keys(e).reduce((function(r,n){return uP(uP({},r),{},lP({},n,t(n,e[n])))}),{})},pP=function(t,e,r){return t.map((function(t){return"".concat((n=t,n.replace(/([A-Z])/g,(function(t){return"-".concat(t.toLowerCase())})))," ").concat(e,"ms ").concat(r);var n})).join(",")},dP="production"!==process.env.NODE_ENV,hP=function(t,e,r,n,o,i,a,c){if(dP&&"undefined"!=typeof console&&console.warn&&(void 0===e&&console.warn("LogUtils requires an error message argument"),!t))if(void 0===e)console.warn("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[r,n,o,i,a,c],l=0;console.warn(e.replace(/%s/g,(function(){return u[l++]})))}};function yP(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e);else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||mP(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 vP(t){return function(t){if(Array.isArray(t))return gP(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||mP(t)||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 mP(t,e){if(t){if("string"==typeof t)return gP(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?gP(t,e):void 0}}function gP(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var bP=1e-4,wP=function(t,e){return[0,3*t,3*e-6*t,3*t-3*e+1]},xP=function(t,e){return t.map((function(t,r){return t*Math.pow(e,r)})).reduce((function(t,e){return t+e}))},OP=function(t,e){return function(r){var n=wP(t,e);return xP(n,r)}},SP=function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];var n=e[0],o=e[1],i=e[2],a=e[3];if(1===e.length)switch(e[0]){case"linear":n=0,o=0,i=1,a=1;break;case"ease":n=.25,o=.1,i=.25,a=1;break;case"ease-in":n=.42,o=0,i=1,a=1;break;case"ease-out":n=.42,o=0,i=.58,a=1;break;case"ease-in-out":n=0,o=0,i=.58,a=1;break;default:var c=e[0].split("(");if("cubic-bezier"===c[0]&&4===c[1].split(")")[0].split(",").length){var u=c[1].split(")")[0].split(",").map((function(t){return parseFloat(t)})),l=yP(u,4);n=l[0],o=l[1],i=l[2],a=l[3]}else hP(!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",e)}hP([n,i,o,a].every((function(t){return"number"==typeof t&&t>=0&&t<=1})),"[configBezier]: arguments should be x1, y1, x2, y2 of [0, 1] instead received %s",e);var s,f,p=OP(n,i),d=OP(o,a),h=(s=n,f=i,function(t){var e=wP(s,f),r=[].concat(vP(e.map((function(t,e){return t*e})).slice(1)),[0]);return xP(r,t)}),y=function(t){for(var e,r=t>1?1:t,n=r,o=0;o<8;++o){var i=p(n)-r,a=h(n);if(Math.abs(i-r)<bP||a<bP)return d(n);n=(e=n-i/a)>1?1:e<0?0:e}return d(n)};return y.isStepper=!1,y},jP=function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];var n=e[0];if("string"==typeof n)switch(n){case"ease":case"ease-in-out":case"ease-out":case"ease-in":case"linear":return SP(n);case"spring":return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.stiff,r=void 0===e?100:e,n=t.damping,o=void 0===n?8:n,i=t.dt,a=void 0===i?17:i,c=function(t,e,n){var i=n+(-(t-e)*r-n*o)*a/1e3,c=n*a/1e3+t;return Math.abs(c-e)<bP&&Math.abs(i)<bP?[e,0]:[c,i]};return c.isStepper=!0,c.dt=a,c}();default:if("cubic-bezier"===n.split("(")[0])return SP(n);hP(!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",e)}return"function"==typeof n?n:(hP(!1,"[configEasing]: first argument type should be function or string, instead received %s",e),null)};function PP(t){return PP="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},PP(t)}function AP(t){return function(t){if(Array.isArray(t))return TP(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||_P(t)||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 MP(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function kP(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?MP(Object(r),!0).forEach((function(e){EP(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):MP(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function EP(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==PP(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==PP(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===PP(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function CP(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e);else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||_P(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 _P(t,e){if(t){if("string"==typeof t)return TP(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?TP(t,e):void 0}}function TP(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var DP=function(t,e,r){return t+(e-t)*r},IP=function(t){return t.from!==t.to},NP=function t(e,r,n){var o=fP((function(t,r){if(IP(r)){var n=CP(e(r.from,r.to,r.velocity),2),o=n[0],i=n[1];return kP(kP({},r),{},{from:o,velocity:i})}return r}),r);return n<1?fP((function(t,e){return IP(e)?kP(kP({},e),{},{velocity:DP(e.velocity,o[t].velocity,n),from:DP(e.from,o[t].from,n)}):e}),r):t(e,o,n-1)},LP=function(t,e,r,n,o){var i,a,c,u,l=(i=t,a=e,[Object.keys(i),Object.keys(a)].reduce((function(t,e){return t.filter((function(t){return e.includes(t)}))}))),s=l.reduce((function(r,n){return kP(kP({},r),{},EP({},n,[t[n],e[n]]))}),{}),f=l.reduce((function(r,n){return kP(kP({},r),{},EP({},n,{from:t[n],velocity:0,to:e[n]}))}),{}),p=-1,d=function(){return null};return d=r.isStepper?function(n){c||(c=n);var i=(n-c)/r.dt;f=NP(r,f,i),o(kP(kP(kP({},t),e),fP((function(t,e){return e.from}),f))),c=n,Object.values(f).filter(IP).length&&(p=requestAnimationFrame(d))}:function(i){u||(u=i);var a=(i-u)/n,c=fP((function(t,e){return DP.apply(void 0,AP(e).concat([r(a)]))}),s);if(o(kP(kP(kP({},t),e),c)),a<1)p=requestAnimationFrame(d);else{var l=fP((function(t,e){return DP.apply(void 0,AP(e).concat([r(1)]))}),s);o(kP(kP(kP({},t),e),l))}},function(){return requestAnimationFrame(d),function(){cancelAnimationFrame(p)}}};function BP(t){return BP="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},BP(t)}var RP=["children","begin","duration","attributeName","easing","isActive","steps","from","to","canBegin","onAnimationEnd","shouldReAnimate","onAnimationReStart"];function $P(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function zP(t){return function(t){if(Array.isArray(t))return HP(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return HP(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return HP(t,e)}(t)||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 HP(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function FP(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function VP(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?FP(Object(r),!0).forEach((function(e){UP(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):FP(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function UP(t,e,r){return(e=qP(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function WP(t,e,r){return e&&function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,qP(n.key),n)}}(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}function qP(t){var e=function(t,e){if("object"!==BP(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==BP(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===BP(e)?e:String(e)}function YP(t,e){return YP=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},YP(t,e)}function XP(t){var e=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(t){return!1}}();return function(){var r,n=ZP(t);if(e){var o=ZP(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return KP(this,r)}}function KP(t,e){if(e&&("object"===BP(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return GP(t)}function GP(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ZP(t){return ZP=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},ZP(t)}var JP=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&YP(t,e)}(r,et);var e=XP(r);function r(t,n){var o;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,r);var i=(o=e.call(this,t,n)).props,a=i.isActive,c=i.attributeName,u=i.from,l=i.to,s=i.steps,f=i.children,p=i.duration;if(o.handleStyleChange=o.handleStyleChange.bind(GP(o)),o.changeStyle=o.changeStyle.bind(GP(o)),!a||p<=0)return o.state={style:{}},"function"==typeof f&&(o.state={style:l}),KP(o);if(s&&s.length)o.state={style:s[0].style};else if(u){if("function"==typeof f)return o.state={style:u},KP(o);o.state={style:c?UP({},c,u):u}}else o.state={style:{}};return o}return WP(r,[{key:"componentDidMount",value:function(){var t=this.props,e=t.isActive,r=t.canBegin;this.mounted=!0,e&&r&&this.runAnimation(this.props)}},{key:"componentDidUpdate",value:function(t){var e=this.props,r=e.isActive,n=e.canBegin,o=e.attributeName,i=e.shouldReAnimate,a=e.to,c=e.from,u=this.state.style;if(n)if(r){if(!(Qj(t.to,a)&&t.canBegin&&t.isActive)){var l=!t.canBegin||!t.isActive;this.manager&&this.manager.stop(),this.stopJSAnimation&&this.stopJSAnimation();var s=l||i?c:t.to;if(this.state&&u){var f={style:o?UP({},o,s):s};(o&&u[o]!==s||!o&&u!==s)&&this.setState(f)}this.runAnimation(VP(VP({},this.props),{},{from:s,begin:0}))}}else{var p={style:o?UP({},o,a):a};this.state&&u&&(o&&u[o]!==a||!o&&u!==a)&&this.setState(p)}}},{key:"componentWillUnmount",value:function(){this.mounted=!1;var t=this.props.onAnimationEnd;this.unSubscribe&&this.unSubscribe(),this.manager&&(this.manager.stop(),this.manager=null),this.stopJSAnimation&&this.stopJSAnimation(),t&&t()}},{key:"handleStyleChange",value:function(t){this.changeStyle(t)}},{key:"changeStyle",value:function(t){this.mounted&&this.setState({style:t})}},{key:"runJSAnimation",value:function(t){var e=this,r=t.from,n=t.to,o=t.duration,i=t.easing,a=t.begin,c=t.onAnimationEnd,u=t.onAnimationStart,l=LP(r,n,jP(i),o,this.changeStyle);this.manager.start([u,a,function(){e.stopJSAnimation=l()},o,c])}},{key:"runStepAnimation",value:function(t){var e=this,r=t.steps,n=t.begin,o=t.onAnimationStart,i=r[0],a=i.style,c=i.duration,u=void 0===c?0:c;return this.manager.start([o].concat(zP(r.reduce((function(t,n,o){if(0===o)return t;var i=n.duration,a=n.easing,c=void 0===a?"ease":a,u=n.style,l=n.properties,s=n.onAnimationEnd,f=o>0?r[o-1]:n,p=l||Object.keys(u);if("function"==typeof c||"spring"===c)return[].concat(zP(t),[e.runJSAnimation.bind(e,{from:f.style,to:u,duration:i,easing:c}),i]);var d=pP(p,i,c),h=VP(VP(VP({},f.style),u),{},{transition:d});return[].concat(zP(t),[h,i,s]).filter(sP)}),[a,Math.max(u,n)])),[t.onAnimationEnd]))}},{key:"runAnimation",value:function(t){this.manager||(this.manager=iP());var e=t.begin,r=t.duration,n=t.attributeName,o=t.to,i=t.easing,a=t.onAnimationStart,c=t.onAnimationEnd,u=t.steps,l=t.children,s=this.manager;if(this.unSubscribe=s.subscribe(this.handleStyleChange),"function"!=typeof i&&"function"!=typeof l&&"spring"!==i)if(u.length>1)this.runStepAnimation(t);else{var f=n?UP({},n,o):o,p=pP(Object.keys(f),r,i);s.start([a,e,VP(VP({},f),{},{transition:p}),r,c])}else this.runJSAnimation(t)}},{key:"render",value:function(){var t=this.props,e=t.children;t.begin;var r=t.duration;t.attributeName,t.easing;var n=t.isActive;t.steps,t.from,t.to,t.canBegin,t.onAnimationEnd,t.shouldReAnimate,t.onAnimationReStart;var o=$P(t,RP),i=tt.count(e),a=this.state.style;if("function"==typeof e)return e(a);if(!n||0===i||r<=0)return e;var c=function(t){var e=t.props,r=e.style,n=void 0===r?{}:r,i=e.className;return lt(t,VP(VP({},o),{},{style:VP(VP({},n),a),className:i}))};return 1===i?c(tt.only(e)):J.createElement("div",null,tt.map(e,(function(t){return c(t)})))}}]),r}();function QP(t){return QP="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},QP(t)}function tA(){return tA=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},tA.apply(this,arguments)}function eA(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e);else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return rA(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return rA(t,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 rA(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function nA(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function oA(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?nA(Object(r),!0).forEach((function(e){iA(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):nA(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function iA(t,e,r){return e=function(t){var e=function(t,e){if("object"!=QP(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=QP(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==QP(e)?e:e+""}(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}JP.displayName="Animate",JP.defaultProps={begin:0,duration:1e3,from:"",to:"",attributeName:"",easing:"ease",isActive:!0,canBegin:!0,steps:[],onAnimationEnd:function(){},onAnimationStart:function(){}},JP.propTypes={from:bj.oneOfType([bj.object,bj.string]),to:bj.oneOfType([bj.object,bj.string]),attributeName:bj.string,duration:bj.number,begin:bj.number,easing:bj.oneOfType([bj.string,bj.func]),steps:bj.arrayOf(bj.shape({duration:bj.number.isRequired,style:bj.object.isRequired,easing:bj.oneOfType([bj.oneOf(["ease","ease-in","ease-out","ease-in-out","linear"]),bj.func]),properties:bj.arrayOf("string"),onAnimationEnd:bj.func})),children:bj.oneOfType([bj.node,bj.func]),isActive:bj.bool,canBegin:bj.bool,onAnimationEnd:bj.func,shouldReAnimate:bj.bool,onAnimationStart:bj.func,onAnimationReStart:bj.func},bj.object,bj.object,bj.object,bj.element,bj.object,bj.object,bj.object,bj.oneOfType([bj.array,bj.element]),bj.any;var aA=function(t,e,r,n,o){var i,a=Math.min(Math.abs(r)/2,Math.abs(n)/2),c=n>=0?1:-1,u=r>=0?1:-1,l=n>=0&&r>=0||n<0&&r<0?1:0;if(a>0&&o instanceof Array){for(var s=[0,0,0,0],f=0;f<4;f++)s[f]=o[f]>a?a:o[f];i="M".concat(t,",").concat(e+c*s[0]),s[0]>0&&(i+="A ".concat(s[0],",").concat(s[0],",0,0,").concat(l,",").concat(t+u*s[0],",").concat(e)),i+="L ".concat(t+r-u*s[1],",").concat(e),s[1]>0&&(i+="A ".concat(s[1],",").concat(s[1],",0,0,").concat(l,",\n ").concat(t+r,",").concat(e+c*s[1])),i+="L ".concat(t+r,",").concat(e+n-c*s[2]),s[2]>0&&(i+="A ".concat(s[2],",").concat(s[2],",0,0,").concat(l,",\n ").concat(t+r-u*s[2],",").concat(e+n)),i+="L ".concat(t+u*s[3],",").concat(e+n),s[3]>0&&(i+="A ".concat(s[3],",").concat(s[3],",0,0,").concat(l,",\n ").concat(t,",").concat(e+n-c*s[3])),i+="Z"}else if(a>0&&o===+o&&o>0){var p=Math.min(a,o);i="M ".concat(t,",").concat(e+c*p,"\n A ").concat(p,",").concat(p,",0,0,").concat(l,",").concat(t+u*p,",").concat(e,"\n L ").concat(t+r-u*p,",").concat(e,"\n A ").concat(p,",").concat(p,",0,0,").concat(l,",").concat(t+r,",").concat(e+c*p,"\n L ").concat(t+r,",").concat(e+n-c*p,"\n A ").concat(p,",").concat(p,",0,0,").concat(l,",").concat(t+r-u*p,",").concat(e+n,"\n L ").concat(t+u*p,",").concat(e+n,"\n A ").concat(p,",").concat(p,",0,0,").concat(l,",").concat(t,",").concat(e+n-c*p," Z")}else i="M ".concat(t,",").concat(e," h ").concat(r," v ").concat(n," h ").concat(-r," Z");return i},cA=function(t,e){if(!t||!e)return!1;var r=t.x,n=t.y,o=e.x,i=e.y,a=e.width,c=e.height;if(Math.abs(a)>0&&Math.abs(c)>0){var u=Math.min(o,o+a),l=Math.max(o,o+a),s=Math.min(i,i+c),f=Math.max(i,i+c);return r>=u&&r<=l&&n>=s&&n<=f}return!1},uA={x:0,y:0,width:0,height:0,radius:0,isAnimationActive:!1,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"},lA=function(t){var e=oA(oA({},uA),t),r=nt(),n=eA(it(-1),2),o=n[0],i=n[1];ct((function(){if(r.current&&r.current.getTotalLength)try{var t=r.current.getTotalLength();t&&i(t)}catch(t){}}),[]);var a=e.x,c=e.y,u=e.width,l=e.height,s=e.radius,f=e.className,p=e.animationEasing,d=e.animationDuration,h=e.animationBegin,y=e.isAnimationActive,v=e.isUpdateAnimationActive;if(a!==+a||c!==+c||u!==+u||l!==+l||0===u||0===l)return null;var m=mn("recharts-rectangle",f);return v?J.createElement(JP,{canBegin:o>0,from:{width:u,height:l,x:a,y:c},to:{width:u,height:l,x:a,y:c},duration:d,animationEasing:p,isActive:v},(function(t){var n=t.width,i=t.height,a=t.x,c=t.y;return J.createElement(JP,{canBegin:o>0,from:"0px ".concat(-1===o?1:o,"px"),to:"".concat(o,"px 0px"),attributeName:"strokeDasharray",begin:h,duration:d,isActive:y,easing:p},J.createElement("path",tA({},Ya(e,!0),{className:m,d:aA(a,c,n,i,s),ref:r})))})):J.createElement("path",tA({},Ya(e,!0),{className:m,d:aA(a,c,u,l,s)}))};function sA(){return sA=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},sA.apply(this,arguments)}var fA=function(t){var e=t.cx,r=t.cy,n=t.r,o=mn("recharts-dot",t.className);return e===+e&&r===+r&&n===+n?J.createElement("circle",sA({},Ya(t,!1),_a(t),{className:o,cx:e,cy:r,r:n})):null};function pA(t){return pA="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},pA(t)}var dA=["x","y","top","left","width","height","className"];function hA(){return hA=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},hA.apply(this,arguments)}function yA(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function vA(t,e,r){return e=function(t){var e=function(t,e){if("object"!=pA(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=pA(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==pA(e)?e:e+""}(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function mA(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}var gA,bA,wA,xA,OA=function(t,e,r,n,o,i){return"M".concat(t,",").concat(o,"v").concat(n,"M").concat(i,",").concat(e,"h").concat(r)},SA=function(t){var e=t.x,r=void 0===e?0:e,n=t.y,o=void 0===n?0:n,i=t.top,a=void 0===i?0:i,c=t.left,u=void 0===c?0:c,l=t.width,s=void 0===l?0:l,f=t.height,p=void 0===f?0:f,d=t.className,h=function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?yA(Object(r),!0).forEach((function(e){vA(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):yA(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({x:r,y:o,top:a,left:u,width:s,height:p},mA(t,dA));return ma(r)&&ma(o)&&ma(s)&&ma(p)&&ma(a)&&ma(u)?J.createElement("path",hA({},Ya(h,!0),{className:mn("recharts-cross",d),d:OA(r,o,s,p,a,u)})):null};var jA,PA,AA=function(){if(xA)return wA;xA=1;var t=bi(),e=function(){if(bA)return gA;bA=1;var t=Qf()(Object.getPrototypeOf,Object);return gA=t}(),r=wi(),n=Function.prototype,o=Object.prototype,i=n.toString,a=o.hasOwnProperty,c=i.call(Object);return wA=function(n){if(!r(n)||"[object Object]"!=t(n))return!1;var o=e(n);if(null===o)return!0;var u=a.call(o,"constructor")&&o.constructor;return"function"==typeof u&&u instanceof u&&i.call(u)==c}}(),MA=Ze(AA);var kA=Ze(function(){if(PA)return jA;PA=1;var t=bi(),e=wi();return jA=function(r){return!0===r||!1===r||e(r)&&"[object Boolean]"==t(r)}}());function EA(t){return EA="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},EA(t)}function CA(){return CA=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},CA.apply(this,arguments)}function _A(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e);else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return TA(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return TA(t,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 TA(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function DA(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function IA(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?DA(Object(r),!0).forEach((function(e){NA(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):DA(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function NA(t,e,r){return e=function(t){var e=function(t,e){if("object"!=EA(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=EA(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==EA(e)?e:e+""}(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var LA,BA,RA,$A,zA,HA,FA,VA,UA=function(t,e,r,n,o){var i,a=r-n;return i="M ".concat(t,",").concat(e),i+="L ".concat(t+r,",").concat(e),i+="L ".concat(t+r-a/2,",").concat(e+o),i+="L ".concat(t+r-a/2-n,",").concat(e+o),i+="L ".concat(t,",").concat(e," Z")},WA={x:0,y:0,upperWidth:0,lowerWidth:0,height:0,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"},qA=function(t){var e=IA(IA({},WA),t),r=nt(),n=_A(it(-1),2),o=n[0],i=n[1];ct((function(){if(r.current&&r.current.getTotalLength)try{var t=r.current.getTotalLength();t&&i(t)}catch(t){}}),[]);var a=e.x,c=e.y,u=e.upperWidth,l=e.lowerWidth,s=e.height,f=e.className,p=e.animationEasing,d=e.animationDuration,h=e.animationBegin,y=e.isUpdateAnimationActive;if(a!==+a||c!==+c||u!==+u||l!==+l||s!==+s||0===u&&0===l||0===s)return null;var v=mn("recharts-trapezoid",f);return y?J.createElement(JP,{canBegin:o>0,from:{upperWidth:0,lowerWidth:0,height:s,x:a,y:c},to:{upperWidth:u,lowerWidth:l,height:s,x:a,y:c},duration:d,animationEasing:p,isActive:y},(function(t){var n=t.upperWidth,i=t.lowerWidth,a=t.height,c=t.x,u=t.y;return J.createElement(JP,{canBegin:o>0,from:"0px ".concat(-1===o?1:o,"px"),to:"".concat(o,"px 0px"),attributeName:"strokeDasharray",begin:h,duration:d,easing:p},J.createElement("path",CA({},Ya(e,!0),{className:v,d:UA(c,u,n,i,a),ref:r})))})):J.createElement("g",null,J.createElement("path",CA({},Ya(e,!0),{className:v,d:UA(a,c,u,l,s)})))},YA=["option","shapeType","propTransformer","activeClassName","isActive"];function XA(t){return XA="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},XA(t)}function KA(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function GA(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function ZA(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?GA(Object(r),!0).forEach((function(e){JA(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):GA(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function JA(t,e,r){return e=function(t){var e=function(t,e){if("object"!=XA(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=XA(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==XA(e)?e:e+""}(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function QA(t,e){return ZA(ZA({},e),t)}function tM(t){var e=t.shapeType,r=t.elementProps;switch(e){case"rectangle":return J.createElement(lA,r);case"trapezoid":return J.createElement(qA,r);case"sector":return J.createElement(DS,r);case"symbols":if(function(t,e){return"symbols"===t}(e))return J.createElement(Hu,r);break;default:return null}}function eM(t){var e,r=t.option,n=t.shapeType,o=t.propTransformer,i=void 0===o?QA:o,a=t.activeClassName,c=void 0===a?"recharts-active-shape":a,u=t.isActive,l=KA(t,YA);if(Q(r))e=lt(r,ZA(ZA({},l),function(t){return Q(t)?t.props:t}(r)));else if(Qi(r))e=r(l);else if(MA(r)&&!kA(r)){var s=i(r,l);e=J.createElement(tM,{shapeType:n,elementProps:s})}else{var f=l;e=J.createElement(tM,{shapeType:n,elementProps:f})}return u?J.createElement(wc,{className:c},e):e}function rM(t,e){return null!=e&&"trapezoids"in t.props}function nM(t,e){return null!=e&&"sectors"in t.props}function oM(t,e){return null!=e&&"points"in t.props}function iM(t,e){var r,n,o=t.x===(null==e||null===(r=e.labelViewBox)||void 0===r?void 0:r.x)||t.x===e.x,i=t.y===(null==e||null===(n=e.labelViewBox)||void 0===n?void 0:n.y)||t.y===e.y;return o&&i}function aM(t,e){var r=t.endAngle===e.endAngle,n=t.startAngle===e.startAngle;return r&&n}function cM(t,e){var r=t.x===e.x,n=t.y===e.y,o=t.z===e.z;return r&&n&&o}function uM(t){var e=t.activeTooltipItem,r=t.graphicalItem,n=t.itemData,o=function(t,e){var r;return rM(t,e)?r="trapezoids":nM(t,e)?r="sectors":oM(t,e)&&(r="points"),r}(r,e),i=function(t,e){var r,n;return rM(t,e)?null===(r=e.tooltipPayload)||void 0===r||null===(r=r[0])||void 0===r||null===(r=r.payload)||void 0===r?void 0:r.payload:nM(t,e)?null===(n=e.tooltipPayload)||void 0===n||null===(n=n[0])||void 0===n||null===(n=n.payload)||void 0===n?void 0:n.payload:oM(t,e)?e.payload:{}}(r,e),a=n.filter((function(t,n){var a=$w(i,t),c=r.props[o].filter((function(t){var n=function(t,e){var r;return rM(t,e)?r=iM:nM(t,e)?r=aM:oM(t,e)&&(r=cM),r}(r,e);return n(t,e)})),u=r.props[o].indexOf(c[c.length-1]);return a&&n===u}));return n.indexOf(a[a.length-1])}function lM(){if($A)return RA;$A=1;var t=Rh(),e=1/0;return RA=function(r){return r?(r=t(r))===e||r===-1/0?17976931348623157e292*(r<0?-1:1):r==r?r:0:0===r?r:0}}function sM(){if(HA)return zA;HA=1;var t=function(){if(BA)return LA;BA=1;var t=Math.ceil,e=Math.max;return LA=function(r,n,o,i){for(var a=-1,c=e(t((n-r)/(o||1)),0),u=Array(c);c--;)u[i?c:++a]=r,r+=o;return u}}(),e=Bd(),r=lM();return zA=function(n){return function(o,i,a){return a&&"number"!=typeof a&&e(o,i,a)&&(i=a=void 0),o=r(o),void 0===i?(i=o,o=0):i=r(i),a=void 0===a?o<i?1:-1:r(a),t(o,i,a,n)}}}var fM=function(){if(VA)return FA;VA=1;var t=sM()();return FA=t}(),pM=Ze(fM);function dM(t){return dM="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},dM(t)}function hM(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function yM(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?hM(Object(r),!0).forEach((function(e){vM(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):hM(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function vM(t,e,r){return e=function(t){var e=function(t,e){if("object"!=dM(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=dM(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==dM(e)?e:e+""}(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var mM=["Webkit","Moz","O","ms"];function gM(t){return gM="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},gM(t)}function bM(){return bM=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},bM.apply(this,arguments)}function wM(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function xM(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?wM(Object(r),!0).forEach((function(e){MM(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):wM(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function OM(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,kM(n.key),n)}}function SM(t,e,r){return e=PM(e),function(t,e){if(e&&("object"===gM(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,jM()?Reflect.construct(e,r||[],PM(t).constructor):e.apply(t,r))}function jM(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(jM=function(){return!!t})()}function PM(t){return PM=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},PM(t)}function AM(t,e){return AM=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},AM(t,e)}function MM(t,e,r){return(e=kM(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function kM(t){var e=function(t,e){if("object"!=gM(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=gM(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==gM(e)?e:e+""}var EM,CM,_M,TM,DM=function(t){return t.changedTouches&&!!t.changedTouches.length},IM=function(t){function e(t){var r;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),MM(r=SM(this,e,[t]),"handleDrag",(function(t){r.leaveTimer&&(clearTimeout(r.leaveTimer),r.leaveTimer=null),r.state.isTravellerMoving?r.handleTravellerMove(t):r.state.isSlideMoving&&r.handleSlideDrag(t)})),MM(r,"handleTouchMove",(function(t){null!=t.changedTouches&&t.changedTouches.length>0&&r.handleDrag(t.changedTouches[0])})),MM(r,"handleDragEnd",(function(){r.setState({isTravellerMoving:!1,isSlideMoving:!1},(function(){var t=r.props,e=t.endIndex,n=t.onDragEnd,o=t.startIndex;null==n||n({endIndex:e,startIndex:o})})),r.detachDragEndListener()})),MM(r,"handleLeaveWrapper",(function(){(r.state.isTravellerMoving||r.state.isSlideMoving)&&(r.leaveTimer=window.setTimeout(r.handleDragEnd,r.props.leaveTimeOut))})),MM(r,"handleEnterSlideOrTraveller",(function(){r.setState({isTextActive:!0})})),MM(r,"handleLeaveSlideOrTraveller",(function(){r.setState({isTextActive:!1})})),MM(r,"handleSlideDragStart",(function(t){var e=DM(t)?t.changedTouches[0]:t;r.setState({isTravellerMoving:!1,isSlideMoving:!0,slideMoveStartX:e.pageX}),r.attachDragEndListener()})),r.travellerDragStartHandlers={startX:r.handleTravellerDragStart.bind(r,"startX"),endX:r.handleTravellerDragStart.bind(r,"endX")},r.state={},r}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&AM(t,e)}(e,et),r=e,n=[{key:"componentWillUnmount",value:function(){this.leaveTimer&&(clearTimeout(this.leaveTimer),this.leaveTimer=null),this.detachDragEndListener()}},{key:"getIndex",value:function(t){var r=t.startX,n=t.endX,o=this.state.scaleValues,i=this.props,a=i.gap,c=i.data.length-1,u=Math.min(r,n),l=Math.max(r,n),s=e.getIndexInRange(o,u),f=e.getIndexInRange(o,l);return{startIndex:s-s%a,endIndex:f===c?c:f-f%a}}},{key:"getTextOfTick",value:function(t){var e=this.props,r=e.data,n=e.tickFormatter,o=e.dataKey,i=vO(r[t],o,t);return Qi(n)?n(i,t):i}},{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(t){var e=this.state,r=e.slideMoveStartX,n=e.startX,o=e.endX,i=this.props,a=i.x,c=i.width,u=i.travellerWidth,l=i.startIndex,s=i.endIndex,f=i.onChange,p=t.pageX-r;p>0?p=Math.min(p,a+c-u-o,a+c-u-n):p<0&&(p=Math.max(p,a-n,a-o));var d=this.getIndex({startX:n+p,endX:o+p});d.startIndex===l&&d.endIndex===s||!f||f(d),this.setState({startX:n+p,endX:o+p,slideMoveStartX:t.pageX})}},{key:"handleTravellerDragStart",value:function(t,e){var r=DM(e)?e.changedTouches[0]:e;this.setState({isSlideMoving:!1,isTravellerMoving:!0,movingTravellerId:t,brushMoveStartX:r.pageX}),this.attachDragEndListener()}},{key:"handleTravellerMove",value:function(t){var e=this.state,r=e.brushMoveStartX,n=e.movingTravellerId,o=e.endX,i=e.startX,a=this.state[n],c=this.props,u=c.x,l=c.width,s=c.travellerWidth,f=c.onChange,p=c.gap,d=c.data,h={startX:this.state.startX,endX:this.state.endX},y=t.pageX-r;y>0?y=Math.min(y,u+l-s-a):y<0&&(y=Math.max(y,u-a)),h[n]=a+y;var v=this.getIndex(h),m=v.startIndex,g=v.endIndex;this.setState(MM(MM({},n,a+y),"brushMoveStartX",t.pageX),(function(){var t;f&&(t=d.length-1,("startX"===n&&(o>i?m%p==0:g%p==0)||o<i&&g===t||"endX"===n&&(o>i?g%p==0:m%p==0)||o>i&&g===t)&&f(v))}))}},{key:"handleTravellerMoveKeyboard",value:function(t,e){var r=this,n=this.state,o=n.scaleValues,i=n.startX,a=n.endX,c=this.state[e],u=o.indexOf(c);if(-1!==u){var l=u+t;if(!(-1===l||l>=o.length)){var s=o[l];"startX"===e&&s>=a||"endX"===e&&s<=i||this.setState(MM({},e,s),(function(){r.props.onChange(r.getIndex({startX:r.state.startX,endX:r.state.endX}))}))}}}},{key:"renderBackground",value:function(){var t=this.props,e=t.x,r=t.y,n=t.width,o=t.height,i=t.fill,a=t.stroke;return J.createElement("rect",{stroke:a,fill:i,x:e,y:r,width:n,height:o})}},{key:"renderPanorama",value:function(){var t=this.props,e=t.x,r=t.y,n=t.width,o=t.height,i=t.data,a=t.children,c=t.padding,u=tt.only(a);return u?J.cloneElement(u,{x:e,y:r,width:n,height:o,margin:c,compact:!0,data:i}):null}},{key:"renderTravellerLayer",value:function(t,r){var n,o,i=this,a=this.props,c=a.y,u=a.travellerWidth,l=a.height,s=a.traveller,f=a.ariaLabel,p=a.data,d=a.startIndex,h=a.endIndex,y=Math.max(t,this.props.x),v=xM(xM({},Ya(this.props,!1)),{},{x:y,y:c,width:u,height:l}),m=f||"Min value: ".concat(null===(n=p[d])||void 0===n?void 0:n.name,", Max value: ").concat(null===(o=p[h])||void 0===o?void 0:o.name);return J.createElement(wc,{tabIndex:0,role:"slider","aria-label":m,"aria-valuenow":t,className:"recharts-brush-traveller",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.travellerDragStartHandlers[r],onTouchStart:this.travellerDragStartHandlers[r],onKeyDown:function(t){["ArrowLeft","ArrowRight"].includes(t.key)&&(t.preventDefault(),t.stopPropagation(),i.handleTravellerMoveKeyboard("ArrowRight"===t.key?1:-1,r))},onFocus:function(){i.setState({isTravellerFocused:!0})},onBlur:function(){i.setState({isTravellerFocused:!1})},style:{cursor:"col-resize"}},e.renderTraveller(s,v))}},{key:"renderSlide",value:function(t,e){var r=this.props,n=r.y,o=r.height,i=r.stroke,a=r.travellerWidth,c=Math.min(t,e)+a,u=Math.max(Math.abs(e-t)-a,0);return J.createElement("rect",{className:"recharts-brush-slide",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.handleSlideDragStart,onTouchStart:this.handleSlideDragStart,style:{cursor:"move"},stroke:"none",fill:i,fillOpacity:.2,x:c,y:n,width:u,height:o})}},{key:"renderText",value:function(){var t=this.props,e=t.startIndex,r=t.endIndex,n=t.y,o=t.height,i=t.travellerWidth,a=t.stroke,c=this.state,u=c.startX,l=c.endX,s={pointerEvents:"none",fill:a};return J.createElement(wc,{className:"recharts-brush-texts"},J.createElement(Ty,bM({textAnchor:"end",verticalAnchor:"middle",x:Math.min(u,l)-5,y:n+o/2},s),this.getTextOfTick(e)),J.createElement(Ty,bM({textAnchor:"start",verticalAnchor:"middle",x:Math.max(u,l)+i+5,y:n+o/2},s),this.getTextOfTick(r)))}},{key:"render",value:function(){var t=this.props,e=t.data,r=t.className,n=t.children,o=t.x,i=t.y,a=t.width,c=t.height,u=t.alwaysShowText,l=this.state,s=l.startX,f=l.endX,p=l.isTextActive,d=l.isSlideMoving,h=l.isTravellerMoving,y=l.isTravellerFocused;if(!e||!e.length||!ma(o)||!ma(i)||!ma(a)||!ma(c)||a<=0||c<=0)return null;var v,m,g,b,w=mn("recharts-brush",r),x=1===J.Children.count(n),O=(m="none",g=(v="userSelect").replace(/(\w)/,(function(t){return t.toUpperCase()})),(b=mM.reduce((function(t,e){return yM(yM({},t),{},vM({},e+g,m))}),{}))[v]=m,b);return J.createElement(wc,{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||d||h||y||u)&&this.renderText())}}],o=[{key:"renderDefaultTraveller",value:function(t){var e=t.x,r=t.y,n=t.width,o=t.height,i=t.stroke,a=Math.floor(r+o/2)-1;return J.createElement(J.Fragment,null,J.createElement("rect",{x:e,y:r,width:n,height:o,fill:i,stroke:"none"}),J.createElement("line",{x1:e+1,y1:a,x2:e+n-1,y2:a,fill:"none",stroke:"#fff"}),J.createElement("line",{x1:e+1,y1:a+2,x2:e+n-1,y2:a+2,fill:"none",stroke:"#fff"}))}},{key:"renderTraveller",value:function(t,r){return J.isValidElement(t)?J.cloneElement(t,r):Qi(t)?t(r):e.renderDefaultTraveller(r)}},{key:"getDerivedStateFromProps",value:function(t,e){var r=t.data,n=t.width,o=t.x,i=t.travellerWidth,a=t.updateId,c=t.startIndex,u=t.endIndex;if(r!==e.prevData||a!==e.prevUpdateId)return xM({prevData:r,prevTravellerWidth:i,prevUpdateId:a,prevX:o,prevWidth:n},r&&r.length?function(t){var e=t.data,r=t.startIndex,n=t.endIndex,o=t.x,i=t.width,a=t.travellerWidth;if(!e||!e.length)return{};var c=e.length,u=cv().domain(pM(0,c)).range([o,o+i-a]),l=u.domain().map((function(t){return u(t)}));return{isTextActive:!1,isSlideMoving:!1,isTravellerMoving:!1,isTravellerFocused:!1,startX:u(r),endX:u(n),scale:u,scaleValues:l}}({data:r,width:n,x:o,travellerWidth:i,startIndex:c,endIndex:u}):{scale:null,scaleValues:null});if(e.scale&&(n!==e.prevWidth||o!==e.prevX||i!==e.prevTravellerWidth)){e.scale.range([o,o+n-i]);var l=e.scale.domain().map((function(t){return e.scale(t)}));return{prevData:r,prevTravellerWidth:i,prevUpdateId:a,prevX:o,prevWidth:n,startX:e.scale(t.startIndex),endX:e.scale(t.endIndex),scaleValues:l}}return null}},{key:"getIndexInRange",value:function(t,e){for(var r=0,n=t.length-1;n-r>1;){var o=Math.floor((r+n)/2);t[o]>e?n=o:r=o}return e>=t[n]?n:r}}],n&&OM(r.prototype,n),o&&OM(r,o),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,o}();MM(IM,"displayName","Brush"),MM(IM,"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 NM,LM,BM,RM,$M=function(){if(TM)return _M;TM=1;var t=Gl(),e=hp(),r=function(){if(CM)return EM;CM=1;var t=Ed();return EM=function(e,r){var n;return t(e,(function(t,e,o){return!(n=r(t,e,o))})),!!n}}(),n=yi(),o=Bd();return _M=function(i,a,c){var u=n(i)?t:r;return c&&o(i,a,c)&&(a=void 0),u(i,e(a,3))}}(),zM=Ze($M),HM=function(t,e){var r=t.alwaysShow,n=t.ifOverflow;return r&&(n="extendDomain"),n===e};var FM,VM,UM,WM,qM,YM,XM=function(){if(RM)return BM;RM=1;var t=function(){if(LM)return NM;LM=1;var t=Id();return NM=function(e,r,n){"__proto__"==r&&t?t(e,r,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[r]=n},NM}(),e=kd(),r=hp();return BM=function(n,o){var i={};return o=r(o,3),e(n,(function(e,r,n){t(i,r,o(e,r,n))})),i},BM}(),KM=Ze(XM);var GM=function(){if(YM)return qM;YM=1;var t=(VM||(VM=1,FM=function(t,e){for(var r=-1,n=null==t?0:t.length;++r<n;)if(!e(t[r],r,t))return!1;return!0}),FM),e=function(){if(WM)return UM;WM=1;var t=Ed();return UM=function(e,r){var n=!0;return t(e,(function(t,e,o){return n=!!r(t,e,o)})),n}}(),r=hp(),n=yi(),o=Bd();return qM=function(i,a,c){var u=n(i)?t:e;return c&&o(i,a,c)&&(a=void 0),u(i,r(a,3))}}(),ZM=Ze(GM),JM=["x","y"];function QM(t){return QM="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},QM(t)}function tk(){return tk=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},tk.apply(this,arguments)}function ek(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function rk(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?ek(Object(r),!0).forEach((function(e){nk(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ek(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function nk(t,e,r){return e=function(t){var e=function(t,e){if("object"!=QM(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=QM(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==QM(e)?e:e+""}(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function ok(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function ik(t,e){var r=t.x,n=t.y,o=ok(t,JM),i="".concat(r),a=parseInt(i,10),c="".concat(n),u=parseInt(c,10),l="".concat(e.height||o.height),s=parseInt(l,10),f="".concat(e.width||o.width),p=parseInt(f,10);return rk(rk(rk(rk(rk({},e),o),a?{x:a}:{}),u?{y:u}:{}),{},{height:s,width:p,name:e.name,radius:e.radius})}function ak(t){return J.createElement(eM,tk({shapeType:"rectangle",propTransformer:ik,activeClassName:"recharts-active-bar"},t))}var ck,uk=["value","background"];function lk(t){return lk="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},lk(t)}function sk(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function fk(){return fk=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},fk.apply(this,arguments)}function pk(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function dk(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?pk(Object(r),!0).forEach((function(e){bk(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):pk(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function hk(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,wk(n.key),n)}}function yk(t,e,r){return e=mk(e),function(t,e){if(e&&("object"===lk(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,vk()?Reflect.construct(e,r||[],mk(t).constructor):e.apply(t,r))}function vk(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(vk=function(){return!!t})()}function mk(t){return mk=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},mk(t)}function gk(t,e){return gk=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},gk(t,e)}function bk(t,e,r){return(e=wk(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function wk(t){var e=function(t,e){if("object"!=lk(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=lk(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==lk(e)?e:e+""}var xk=function(t){function e(){var t;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return bk(t=yk(this,e,[].concat(n)),"state",{isAnimationFinished:!1}),bk(t,"id",wa("recharts-bar-")),bk(t,"handleAnimationEnd",(function(){var e=t.props.onAnimationEnd;t.setState({isAnimationFinished:!0}),e&&e()})),bk(t,"handleAnimationStart",(function(){var e=t.props.onAnimationStart;t.setState({isAnimationFinished:!1}),e&&e()})),t}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&gk(t,e)}(e,et),r=e,n=[{key:"renderRectanglesStatically",value:function(t){var e=this,r=this.props,n=r.shape,o=r.dataKey,i=r.activeIndex,a=r.activeBar,c=Ya(this.props,!1);return t&&t.map((function(t,r){var u=r===i,l=u?a:n,s=dk(dk(dk({},c),t),{},{isActive:u,option:l,index:r,dataKey:o,onAnimationStart:e.handleAnimationStart,onAnimationEnd:e.handleAnimationEnd});return J.createElement(wc,fk({className:"recharts-bar-rectangle"},Ta(e.props,t,r),{key:"rectangle-".concat(null==t?void 0:t.x,"-").concat(null==t?void 0:t.y,"-").concat(null==t?void 0:t.value)}),J.createElement(ak,s))}))}},{key:"renderRectanglesWithAnimation",value:function(){var t=this,e=this.props,r=e.data,n=e.layout,o=e.isAnimationActive,i=e.animationBegin,a=e.animationDuration,c=e.animationEasing,u=e.animationId,l=this.state.prevData;return J.createElement(JP,{begin:i,duration:a,isActive:o,easing:c,from:{t:0},to:{t:1},key:"bar-".concat(u),onAnimationEnd:this.handleAnimationEnd,onAnimationStart:this.handleAnimationStart},(function(e){var o=e.t,i=r.map((function(t,e){var r=l&&l[e];if(r){var i=Sa(r.x,t.x),a=Sa(r.y,t.y),c=Sa(r.width,t.width),u=Sa(r.height,t.height);return dk(dk({},t),{},{x:i(o),y:a(o),width:c(o),height:u(o)})}if("horizontal"===n){var s=Sa(0,t.height)(o);return dk(dk({},t),{},{y:t.y+t.height-s,height:s})}var f=Sa(0,t.width)(o);return dk(dk({},t),{},{width:f})}));return J.createElement(wc,null,t.renderRectanglesStatically(i))}))}},{key:"renderRectangles",value:function(){var t=this.props,e=t.data,r=t.isAnimationActive,n=this.state.prevData;return!(r&&e&&e.length)||n&&$w(n,e)?this.renderRectanglesStatically(e):this.renderRectanglesWithAnimation()}},{key:"renderBackground",value:function(){var t=this,e=this.props,r=e.data,n=e.dataKey,o=e.activeIndex,i=Ya(this.props.background,!1);return r.map((function(e,r){e.value;var a=e.background,c=sk(e,uk);if(!a)return null;var u=dk(dk(dk(dk(dk({},c),{},{fill:"#eee"},a),i),Ta(t.props,e,r)),{},{onAnimationStart:t.handleAnimationStart,onAnimationEnd:t.handleAnimationEnd,dataKey:n,index:r,className:"recharts-bar-background-rectangle"});return J.createElement(ak,fk({key:"background-bar-".concat(r),option:t.props.background,isActive:r===o},u))}))}},{key:"renderErrorBar",value:function(t,e){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var r=this.props,n=r.data,o=r.xAxis,i=r.yAxis,a=r.layout,c=Fa(r.children,oO);if(!c)return null;var u="vertical"===a?n[0].height/2:n[0].width/2,l=function(t,e){var r=Array.isArray(t.value)?t.value[1]:t.value;return{x:t.x,y:t.y,value:r,errorVal:vO(t,e)}},s={clipPath:t?"url(#clipPath-".concat(e,")"):null};return J.createElement(wc,s,c.map((function(t){return J.cloneElement(t,{key:"error-bar-".concat(e,"-").concat(t.props.dataKey),data:n,xAxis:o,yAxis:i,layout:a,offset:u,dataPointFormatter:l})})))}},{key:"render",value:function(){var t=this.props,e=t.hide,r=t.data,n=t.className,o=t.xAxis,i=t.yAxis,a=t.left,c=t.top,u=t.width,l=t.height,s=t.isAnimationActive,f=t.background,p=t.id;if(e||!r||!r.length)return null;var d=this.state.isAnimationFinished,h=mn("recharts-bar",n),y=o&&o.allowDataOverflow,v=i&&i.allowDataOverflow,m=y||v,g=Ki(p)?this.id:p;return J.createElement(wc,{className:h},y||v?J.createElement("defs",null,J.createElement("clipPath",{id:"clipPath-".concat(g)},J.createElement("rect",{x:y?a:a-u/2,y:v?c:c-l/2,width:y?u:2*u,height:v?l:2*l}))):null,J.createElement(wc,{className:"recharts-bar-rectangles",clipPath:m?"url(#clipPath-".concat(g,")"):null},f?this.renderBackground():null,this.renderRectangles()),this.renderErrorBar(m,g),(!s||d)&&jS.renderCallByParent(this.props,r))}}],o=[{key:"getDerivedStateFromProps",value:function(t,e){return t.animationId!==e.prevAnimationId?{prevAnimationId:t.animationId,curData:t.data,prevData:e.curData}:t.data!==e.curData?{curData:t.data}:null}}],n&&hk(r.prototype,n),o&&hk(r,o),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,o}();function Ok(t){return Ok="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ok(t)}function Sk(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,Mk(n.key),n)}}function jk(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Pk(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?jk(Object(r),!0).forEach((function(e){Ak(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):jk(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Ak(t,e,r){return(e=Mk(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Mk(t){var e=function(t,e){if("object"!=Ok(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=Ok(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==Ok(e)?e:e+""}ck=xk,bk(xk,"displayName","Bar"),bk(xk,"defaultProps",{xAxisId:0,yAxisId:0,legendType:"rect",minPointSize:0,hide:!1,data:[],layout:"vertical",activeBar:!1,isAnimationActive:!ph.isSsr,animationBegin:0,animationDuration:400,animationEasing:"ease"}),bk(xk,"getComposedData",(function(t){var e=t.props,r=t.item,n=t.barPosition,o=t.bandSize,i=t.xAxis,a=t.yAxis,c=t.xAxisTicks,u=t.yAxisTicks,l=t.stackedData,s=t.dataStartIndex,f=t.displayedData,p=t.offset,d=function(t,e){if(!t)return null;for(var r=0,n=t.length;r<n;r++)if(t[r].item===e)return t[r].position;return null}(n,r);if(!d)return null;var h=e.layout,y=r.type.defaultProps,v=void 0!==y?dk(dk({},y),r.props):r.props,m=v.dataKey,g=v.children,b=v.minPointSize,w="horizontal"===h?a:i,x=l?w.scale.domain():null,O=function(t){var e=t.numericAxis,r=e.scale.domain();if("number"===e.type){var n=Math.min(r[0],r[1]),o=Math.max(r[0],r[1]);return n<=0&&o>=0?0:o<0?o:n}return r[0]}({numericAxis:w}),S=Fa(g,Kh),j=f.map((function(t,e){var n,f,p,y,v,g;l?n=function(t,e){if(!e||2!==e.length||!ma(e[0])||!ma(e[1]))return t;var r=Math.min(e[0],e[1]),n=Math.max(e[0],e[1]),o=[t[0],t[1]];return(!ma(t[0])||t[0]<r)&&(o[0]=r),(!ma(t[1])||t[1]>n)&&(o[1]=n),o[0]>n&&(o[0]=n),o[1]<r&&(o[1]=r),o}(l[s+e],x):(n=vO(t,m),Array.isArray(n)||(n=[O,n]));var w=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return function(r,n){if("number"==typeof t)return t;var o="number"==typeof r;return o?t(r,n):(o||("production"!==process.env.NODE_ENV?Ux(0,"minPointSize callback function received a value with type of ".concat(QM(r),". Currently only numbers are supported.")):Ux()),e)}}(b,ck.defaultProps.minPointSize)(n[1],e);if("horizontal"===h){var j,P=[a.scale(n[0]),a.scale(n[1])],A=P[0],M=P[1];f=EO({axis:i,ticks:c,bandSize:o,offset:d.offset,entry:t,index:e}),p=null!==(j=null!=M?M:A)&&void 0!==j?j:void 0,y=d.size;var k=A-M;if(v=Number.isNaN(k)?0:k,g={x:f,y:a.y,width:y,height:a.height},Math.abs(w)>0&&Math.abs(v)<Math.abs(w)){var E=ya(v||w)*(Math.abs(w)-Math.abs(v));p-=E,v+=E}}else{var C=[i.scale(n[0]),i.scale(n[1])],_=C[0],T=C[1];if(f=_,p=EO({axis:a,ticks:u,bandSize:o,offset:d.offset,entry:t,index:e}),y=T-_,v=d.size,g={x:i.x,y:p,width:i.width,height:v},Math.abs(w)>0&&Math.abs(y)<Math.abs(w))y+=ya(y||w)*(Math.abs(w)-Math.abs(y))}return dk(dk(dk({},t),{},{x:f,y:p,width:y,height:v,value:l?n:n[1],payload:t,background:g},S&&S[e]&&S[e].props),{},{tooltipPayload:[LO(r,t)],tooltipPosition:{x:f+y/2,y:p+v/2}})}));return dk({data:j,layout:h},p)}));var kk=function(t,e,r,n,o){var i=t.width,a=t.height,c=t.layout,u=t.children,l=Object.keys(e),s={left:r.left,leftMirror:r.left,right:i-r.right,rightMirror:i-r.right,top:r.top,topMirror:r.top,bottom:a-r.bottom,bottomMirror:a-r.bottom},f=!!Va(u,xk);return l.reduce((function(i,a){var u,l,p,d,h,y=e[a],v=y.orientation,m=y.domain,g=y.padding,b=void 0===g?{}:g,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=m[1]-m[0],j=1/0,P=y.categoricalDomain.sort();if(P.forEach((function(t,e){e>0&&(j=Math.min((t||0)-(P[e-1]||0),j))})),Number.isFinite(j)){var A=j/S,M="vertical"===y.layout?r.height:r.width;if("gap"===y.padding&&(u=A*M/2),"no-gap"===y.padding){var k=xa(t.barCategoryGap,A*M),E=A*M/2;u=E-k-(E-k)/M*k}}}l="xAxis"===n?[r.left+(b.left||0)+(u||0),r.left+r.width-(b.right||0)-(u||0)]:"yAxis"===n?"horizontal"===c?[r.top+r.height-(b.bottom||0),r.top+(b.top||0)]:[r.top+(b.top||0)+(u||0),r.top+r.height-(b.bottom||0)-(u||0)]:y.range,x&&(l=[l[1],l[0]]);var C=function(t,e,r){var n=t.scale,o=t.type,i=t.layout,a=t.axisType;if("auto"===n)return"radial"===i&&"radiusAxis"===a?{scale:iv(),realScaleType:"band"}:"radial"===i&&"angleAxis"===a?{scale:Em(),realScaleType:"linear"}:"category"===o&&e&&(e.indexOf("LineChart")>=0||e.indexOf("AreaChart")>=0||e.indexOf("ComposedChart")>=0&&!r)?{scale:cv(),realScaleType:"point"}:"category"===o?{scale:iv(),realScaleType:"band"}:{scale:Em(),realScaleType:"linear"};if(Ji(n)){var c="scale".concat(Mc(n));return{scale:(ww[c]||cv)(),realScaleType:ww[c]?c:"point"}}return Qi(n)?{scale:n}:{scale:cv(),realScaleType:"point"}}(y,o,f),_=C.scale,T=C.realScaleType;_.domain(m).range(l),function(t){var e=t.domain();if(e&&!(e.length<=2)){var r=e.length,n=t.range(),o=Math.min(n[0],n[1])-PO,i=Math.max(n[0],n[1])+PO,a=t(e[0]),c=t(e[r-1]);(a<o||a>i||c<o||c>i)&&t.domain([e[0],e[r-1]])}}(_);var D=function(t,e){var r=e.realScaleType,n=e.type,o=e.tickCount,i=e.originalDomain,a=e.allowDecimals,c=r||e.scale;if("auto"!==c&&"linear"!==c)return null;if(o&&"number"===n&&i&&("auto"===i[0]||"auto"===i[1])){var u=t.domain();if(!u.length)return null;var l=zx(u,o,a);return t.domain([Dw(l),Mw(l)]),{niceTicks:l}}if(o&&"number"===n){var s=t.domain();return{niceTicks:Hx(s,o,a)}}return null}(_,Pk(Pk({},y),{},{realScaleType:T}));"xAxis"===n?(h="top"===v&&!w||"bottom"===v&&w,p=r.left,d=s[O]-h*y.height):"yAxis"===n&&(h="left"===v&&!w||"right"===v&&w,p=s[O]-h*y.width,d=r.top);var I=Pk(Pk(Pk({},y),D),{},{realScaleType:T,x:p,y:d,scale:_,width:"xAxis"===n?r.width:y.width,height:"yAxis"===n?r.height:y.height});return I.bandSize=IO(I,D),y.hide||"xAxis"!==n?y.hide||(s[O]+=(h?-1:1)*I.width):s[O]+=(h?-1:1)*I.height,Pk(Pk({},i),{},Ak({},a,I))}),{})},Ek=function(t,e){var r=t.x,n=t.y,o=e.x,i=e.y;return{x:Math.min(r,o),y:Math.min(n,i),width:Math.abs(o-r),height:Math.abs(i-n)}},Ck=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.scale=e}return e=t,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(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.bandAware,n=e.position;if(void 0!==t){if(n)switch(n){case"start":default:return this.scale(t);case"middle":var o=this.bandwidth?this.bandwidth()/2:0;return this.scale(t)+o;case"end":var i=this.bandwidth?this.bandwidth():0;return this.scale(t)+i}if(r){var a=this.bandwidth?this.bandwidth()/2:0;return this.scale(t)+a}return this.scale(t)}}},{key:"isInRange",value:function(t){var e=this.range(),r=e[0],n=e[e.length-1];return r<=n?t>=r&&t<=n:t>=n&&t<=r}}],n=[{key:"create",value:function(e){return new t(e)}}],r&&Sk(e.prototype,r),n&&Sk(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,r,n}();Ak(Ck,"EPS",1e-4);var _k=function(t){var e=Object.keys(t).reduce((function(e,r){return Pk(Pk({},e),{},Ak({},r,Ck.create(t[r])))}),{});return Pk(Pk({},e),{},{apply:function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.bandAware,o=r.position;return KM(t,(function(t,r){return e[r].apply(t,{bandAware:n,position:o})}))},isInRange:function(t){return ZM(t,(function(t,r){return e[r].isInRange(t)}))}})};var Tk,Dk,Ik,Nk,Lk,Bk,Rk,$k,zk=function(t){var e=t.width,r=t.height,n=function(t){return(t%180+180)%180}(arguments.length>1&&void 0!==arguments[1]?arguments[1]:0),o=n*Math.PI/180,i=Math.atan(r/e),a=o>i&&o<Math.PI-i?r/Math.sin(o):e/Math.cos(o);return Math.abs(a)};function Hk(){if(Bk)return Lk;Bk=1;var t=yp(),e=hp(),r=function(){if(Nk)return Ik;Nk=1;var t=lM();return Ik=function(e){var r=t(e),n=r%1;return r==r?n?r-n:r:0}}(),n=Math.max;return Lk=function(o,i,a){var c=null==o?0:o.length;if(!c)return-1;var u=null==a?0:r(a);return u<0&&(u=n(c+u,0)),t(o,e(i,3),u)},Lk}!function(){if($k)return Rk;$k=1;var t=function(){if(Dk)return Tk;Dk=1;var t=hp(),e=ep(),r=rp();return Tk=function(n){return function(o,i,a){var c=Object(o);if(!e(o)){var u=t(i,3);o=r(o),i=function(t){return u(c[t],t,c)}}var l=n(o,i,a);return l>-1?c[u?o[l]:l]:void 0}}}(),e=t(Hk());Rk=e}();var Fk=Ze(Li())((function(t){return{x:t.left,y:t.top,width:t.width,height:t.height}}),(function(t){return["l",t.left,"t",t.top,"w",t.width,"h",t.height].join("")}));function Vk(t){return Vk="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Vk(t)}var Uk=pt(void 0),Wk=pt(void 0),qk=pt(void 0),Yk=pt({}),Xk=pt(void 0),Kk=pt(0),Gk=pt(0),Zk=function(t){var e=t.state,r=e.xAxisMap,n=e.yAxisMap,o=e.offset,i=t.clipPathId,a=t.children,c=t.width,u=t.height,l=Fk(o);return J.createElement(Uk.Provider,{value:r},J.createElement(Wk.Provider,{value:n},J.createElement(Yk.Provider,{value:o},J.createElement(qk.Provider,{value:l},J.createElement(Xk.Provider,{value:i},J.createElement(Kk.Provider,{value:u},J.createElement(Gk.Provider,{value:c},a)))))))};function Jk(t){var e=Object.keys(t);return 0===e.length?"There are no available ids.":"Available ids are: ".concat(e,".")}var Qk=function(t){var e=ft(Uk);null==e&&("production"!==process.env.NODE_ENV?Ux(0,"Could not find Recharts context; are you sure this is rendered inside a Recharts wrapper component?"):Ux());var r=e[t];return null==r&&("production"!==process.env.NODE_ENV?Ux(0,'Could not find xAxis by id "'.concat(t,'" [').concat(Vk(t),"]. ").concat(Jk(e))):Ux()),r},tE=function(t){var e=ft(Wk);null==e&&("production"!==process.env.NODE_ENV?Ux(0,"Could not find Recharts context; are you sure this is rendered inside a Recharts wrapper component?"):Ux());var r=e[t];return null==r&&("production"!==process.env.NODE_ENV?Ux(0,'Could not find yAxis by id "'.concat(t,'" [').concat(Vk(t),"]. ").concat(Jk(e))):Ux()),r},eE=function(){return ft(Gk)},rE=function(){return ft(Kk)};function nE(t){return nE="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},nE(t)}function oE(t,e,r){return e&&function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,pE(n.key),n)}}(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}function iE(t,e,r){return e=cE(e),function(t,e){if(e&&("object"===nE(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,aE()?Reflect.construct(e,r||[],cE(t).constructor):e.apply(t,r))}function aE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(aE=function(){return!!t})()}function cE(t){return cE=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},cE(t)}function uE(t,e){return uE=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},uE(t,e)}function lE(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function sE(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?lE(Object(r),!0).forEach((function(e){fE(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):lE(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function fE(t,e,r){return(e=pE(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function pE(t){var e=function(t,e){if("object"!=nE(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=nE(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==nE(e)?e:e+""}function dE(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e);else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return hE(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return hE(t,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 hE(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function yE(){return yE=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},yE.apply(this,arguments)}function vE(t){var e=t.x,r=t.y,n=t.segment,o=t.xAxisId,i=t.yAxisId,a=t.shape,c=t.className,u=t.alwaysShow,l=ft(Xk),s=Qk(o),f=tE(i),p=ft(qk);if(!l||!p)return null;Oc(void 0===u,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var d=function(t,e,r,n,o,i,a,c,u){var l=o.x,s=o.y,f=o.width,p=o.height;if(r){var d=u.y,h=t.y.apply(d,{position:i});if(HM(u,"discard")&&!t.y.isInRange(h))return null;var y=[{x:l+f,y:h},{x:l,y:h}];return"left"===c?y.reverse():y}if(e){var v=u.x,m=t.x.apply(v,{position:i});if(HM(u,"discard")&&!t.x.isInRange(m))return null;var g=[{x:m,y:s+p},{x:m,y:s}];return"top"===a?g.reverse():g}if(n){var b=u.segment.map((function(e){return t.apply(e,{position:i})}));return HM(u,"discard")&&zM(b,(function(e){return!t.isInRange(e)}))?null:b}return null}(_k({x:s.scale,y:f.scale}),ga(e),ga(r),n&&2===n.length,p,t.position,s.orientation,f.orientation,t);if(!d)return null;var h=dE(d,2),y=h[0],v=y.x,m=y.y,g=h[1],b=g.x,w=g.y,x=sE(sE({clipPath:HM(t,"hidden")?"url(#".concat(l,")"):void 0},Ya(t,!0)),{},{x1:v,y1:m,x2:b,y2:w});return J.createElement(wc,{className:mn("recharts-reference-line",c)},function(t,e){return J.isValidElement(t)?J.cloneElement(t,e):Qi(t)?t(e):J.createElement("line",yE({},e,{className:"recharts-reference-line-line"}))}(a,x),cS.renderCallByParent(t,function(t){var e=t.x1,r=t.y1,n=t.x2,o=t.y2;return Ek({x:e,y:r},{x:n,y:o})}({x1:v,y1:m,x2:b,y2:w})))}var mE=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),iE(this,e,arguments)}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&uE(t,e)}(e,J.Component),oE(e,[{key:"render",value:function(){return J.createElement(vE,this.props)}}])}();function gE(){return gE=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},gE.apply(this,arguments)}function bE(t){return bE="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},bE(t)}function wE(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function xE(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?wE(Object(r),!0).forEach((function(e){ME(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):wE(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function OE(t,e,r){return e&&function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,kE(n.key),n)}}(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}function SE(t,e,r){return e=PE(e),function(t,e){if(e&&("object"===bE(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,jE()?Reflect.construct(e,r||[],PE(t).constructor):e.apply(t,r))}function jE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(jE=function(){return!!t})()}function PE(t){return PE=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},PE(t)}function AE(t,e){return AE=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},AE(t,e)}function ME(t,e,r){return(e=kE(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function kE(t){var e=function(t,e){if("object"!=bE(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=bE(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==bE(e)?e:e+""}fE(mE,"displayName","ReferenceLine"),fE(mE,"defaultProps",{isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,fill:"none",stroke:"#ccc",fillOpacity:1,strokeWidth:1,position:"middle"});var EE=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),SE(this,e,arguments)}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&AE(t,e)}(e,J.Component),OE(e,[{key:"render",value:function(){var t=this.props,r=t.x,n=t.y,o=t.r,i=t.alwaysShow,a=t.clipPathId,c=ga(r),u=ga(n);if(Oc(void 0===i,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.'),!c||!u)return null;var l=function(t){var e=t.x,r=t.y,n=t.xAxis,o=t.yAxis,i=_k({x:n.scale,y:o.scale}),a=i.apply({x:e,y:r},{bandAware:!0});return HM(t,"discard")&&!i.isInRange(a)?null:a}(this.props);if(!l)return null;var s=l.x,f=l.y,p=this.props,d=p.shape,h=p.className,y=xE(xE({clipPath:HM(this.props,"hidden")?"url(#".concat(a,")"):void 0},Ya(this.props,!0)),{},{cx:s,cy:f});return J.createElement(wc,{className:mn("recharts-reference-dot",h)},e.renderDot(d,y),cS.renderCallByParent(this.props,{x:s-o,y:f-o,width:2*o,height:2*o}))}}])}();function CE(){return CE=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},CE.apply(this,arguments)}function _E(t){return _E="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_E(t)}function TE(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function DE(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?TE(Object(r),!0).forEach((function(e){$E(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):TE(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function IE(t,e,r){return e&&function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,zE(n.key),n)}}(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}function NE(t,e,r){return e=BE(e),function(t,e){if(e&&("object"===_E(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,LE()?Reflect.construct(e,r||[],BE(t).constructor):e.apply(t,r))}function LE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(LE=function(){return!!t})()}function BE(t){return BE=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},BE(t)}function RE(t,e){return RE=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},RE(t,e)}function $E(t,e,r){return(e=zE(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function zE(t){var e=function(t,e){if("object"!=_E(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=_E(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==_E(e)?e:e+""}ME(EE,"displayName","ReferenceDot"),ME(EE,"defaultProps",{isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#fff",stroke:"#ccc",fillOpacity:1,strokeWidth:1}),ME(EE,"renderDot",(function(t,e){return J.isValidElement(t)?J.cloneElement(t,e):Qi(t)?t(e):J.createElement(fA,gE({},e,{cx:e.cx,cy:e.cy,className:"recharts-reference-dot-dot"}))}));var HE=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),NE(this,e,arguments)}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&RE(t,e)}(e,J.Component),IE(e,[{key:"render",value:function(){var t=this.props,r=t.x1,n=t.x2,o=t.y1,i=t.y2,a=t.className,c=t.alwaysShow,u=t.clipPathId;Oc(void 0===c,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var l=ga(r),s=ga(n),f=ga(o),p=ga(i),d=this.props.shape;if(!(l||s||f||p||d))return null;var h=function(t,e,r,n,o){var i=o.x1,a=o.x2,c=o.y1,u=o.y2,l=o.xAxis,s=o.yAxis;if(!l||!s)return null;var f=_k({x:l.scale,y:s.scale}),p={x:t?f.x.apply(i,{position:"start"}):f.x.rangeMin,y:r?f.y.apply(c,{position:"start"}):f.y.rangeMin},d={x:e?f.x.apply(a,{position:"end"}):f.x.rangeMax,y:n?f.y.apply(u,{position:"end"}):f.y.rangeMax};return!HM(o,"discard")||f.isInRange(p)&&f.isInRange(d)?Ek(p,d):null}(l,s,f,p,this.props);if(!h&&!d)return null;var y=HM(this.props,"hidden")?"url(#".concat(u,")"):void 0;return J.createElement(wc,{className:mn("recharts-reference-area",a)},e.renderRect(d,DE(DE({clipPath:y},Ya(this.props,!0)),h)),cS.renderCallByParent(this.props,h))}}])}();function FE(t,e,r){if(e<1)return[];if(1===e&&void 0===r)return t;for(var n=[],o=0;o<t.length;o+=e)n.push(t[o]);return n}function VE(t,e,r,n,o){if(t*e<t*n||t*e>t*o)return!1;var i=r();return t*(e-t*i/2-n)>=0&&t*(e+t*i/2-o)<=0}function UE(t){return UE="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},UE(t)}function WE(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function qE(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?WE(Object(r),!0).forEach((function(e){YE(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):WE(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function YE(t,e,r){return e=function(t){var e=function(t,e){if("object"!=UE(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=UE(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==UE(e)?e:e+""}(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function XE(t,e,r){var n=t.tick,o=t.ticks,i=t.viewBox,a=t.minTickGap,c=t.orientation,u=t.interval,l=t.tickFormatter,s=t.unit,f=t.angle;if(!o||!o.length||!n)return[];if(ma(u)||ph.isSsr)return function(t,e){return FE(t,e+1)}(o,"number"==typeof u&&ma(u)?u:0);var p=[],d="top"===c||"bottom"===c?"width":"height",h=s&&"width"===d?ny(s,{fontSize:e,letterSpacing:r}):{width:0,height:0},y=function(t,n){var o=Qi(l)?l(t.value,n):t.value;return"width"===d?function(t,e,r){var n={width:t.width+e.width,height:t.height+e.height};return zk(n,r)}(ny(o,{fontSize:e,letterSpacing:r}),h,f):ny(o,{fontSize:e,letterSpacing:r})[d]},v=o.length>=2?ya(o[1].coordinate-o[0].coordinate):1,m=function(t,e,r){var n="width"===r,o=t.x,i=t.y,a=t.width,c=t.height;return 1===e?{start:n?o:i,end:n?o+a:i+c}:{start:n?o+a:i+c,end:n?o:i}}(i,v,d);return"equidistantPreserveStart"===u?function(t,e,r,n,o){for(var i,a=(n||[]).slice(),c=e.start,u=e.end,l=0,s=1,f=c,p=function(){var e=null==n?void 0:n[l];if(void 0===e)return{v:FE(n,s)};var i,a=l,p=function(){return void 0===i&&(i=r(e,a)),i},d=e.coordinate,h=0===l||VE(t,d,p,f,u);h||(l=0,f=c,s+=1),h&&(f=d+t*(p()/2+o),l+=s)};s<=a.length;)if(i=p())return i.v;return[]}(v,m,y,o,a):(p="preserveStart"===u||"preserveStartEnd"===u?function(t,e,r,n,o,i){var a=(n||[]).slice(),c=a.length,u=e.start,l=e.end;if(i){var s=n[c-1],f=r(s,c-1),p=t*(s.coordinate+t*f/2-l);a[c-1]=s=qE(qE({},s),{},{tickCoord:p>0?s.coordinate-p*t:s.coordinate}),VE(t,s.tickCoord,(function(){return f}),u,l)&&(l=s.tickCoord-t*(f/2+o),a[c-1]=qE(qE({},s),{},{isShow:!0}))}for(var d=i?c-1:c,h=function(e){var n,i=a[e],c=function(){return void 0===n&&(n=r(i,e)),n};if(0===e){var s=t*(i.coordinate-t*c()/2-u);a[e]=i=qE(qE({},i),{},{tickCoord:s<0?i.coordinate-s*t:i.coordinate})}else a[e]=i=qE(qE({},i),{},{tickCoord:i.coordinate});VE(t,i.tickCoord,c,u,l)&&(u=i.tickCoord+t*(c()/2+o),a[e]=qE(qE({},i),{},{isShow:!0}))},y=0;y<d;y++)h(y);return a}(v,m,y,o,a,"preserveStartEnd"===u):function(t,e,r,n,o){for(var i=(n||[]).slice(),a=i.length,c=e.start,u=e.end,l=function(e){var n,l=i[e],s=function(){return void 0===n&&(n=r(l,e)),n};if(e===a-1){var f=t*(l.coordinate+t*s()/2-u);i[e]=l=qE(qE({},l),{},{tickCoord:f>0?l.coordinate-f*t:l.coordinate})}else i[e]=l=qE(qE({},l),{},{tickCoord:l.coordinate});VE(t,l.tickCoord,s,c,u)&&(u=l.tickCoord-t*(s()/2+o),i[e]=qE(qE({},l),{},{isShow:!0}))},s=a-1;s>=0;s--)l(s);return i}(v,m,y,o,a),p.filter((function(t){return t.isShow})))}$E(HE,"displayName","ReferenceArea"),$E(HE,"defaultProps",{isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#ccc",fillOpacity:.5,stroke:"none",strokeWidth:1}),$E(HE,"renderRect",(function(t,e){return J.isValidElement(t)?J.cloneElement(t,e):Qi(t)?t(e):J.createElement(lA,CE({},e,{className:"recharts-reference-area-rect"}))}));var KE=["viewBox"],GE=["viewBox"],ZE=["ticks"];function JE(t){return JE="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},JE(t)}function QE(){return QE=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},QE.apply(this,arguments)}function tC(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function eC(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?tC(Object(r),!0).forEach((function(e){uC(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):tC(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function rC(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function nC(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,lC(n.key),n)}}function oC(t,e,r){return e=aC(e),function(t,e){if(e&&("object"===JE(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,iC()?Reflect.construct(e,r||[],aC(t).constructor):e.apply(t,r))}function iC(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(iC=function(){return!!t})()}function aC(t){return aC=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},aC(t)}function cC(t,e){return cC=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},cC(t,e)}function uC(t,e,r){return(e=lC(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function lC(t){var e=function(t,e){if("object"!=JE(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=JE(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==JE(e)?e:e+""}var sC=function(t){function e(t){var r;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),(r=oC(this,e,[t])).state={fontSize:"",letterSpacing:""},r}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&cC(t,e)}(e,dt),r=e,n=[{key:"shouldComponentUpdate",value:function(t,e){var r=t.viewBox,n=rC(t,KE),o=this.props,i=o.viewBox,a=rC(o,GE);return!Pa(r,i)||!Pa(n,a)||!Pa(e,this.state)}},{key:"componentDidMount",value:function(){var t=this.layerReference;if(t){var e=t.getElementsByClassName("recharts-cartesian-axis-tick-value")[0];e&&this.setState({fontSize:window.getComputedStyle(e).fontSize,letterSpacing:window.getComputedStyle(e).letterSpacing})}}},{key:"getTickLineCoord",value:function(t){var e,r,n,o,i,a,c=this.props,u=c.x,l=c.y,s=c.width,f=c.height,p=c.orientation,d=c.tickSize,h=c.mirror,y=c.tickMargin,v=h?-1:1,m=t.tickSize||d,g=ma(t.tickCoord)?t.tickCoord:t.coordinate;switch(p){case"top":e=r=t.coordinate,a=(n=(o=l+ +!h*f)-v*m)-v*y,i=g;break;case"left":n=o=t.coordinate,i=(e=(r=u+ +!h*s)-v*m)-v*y,a=g;break;case"right":n=o=t.coordinate,i=(e=(r=u+ +h*s)+v*m)+v*y,a=g;break;default:e=r=t.coordinate,a=(n=(o=l+ +h*f)+v*m)+v*y,i=g}return{line:{x1:e,y1:n,x2:r,y2:o},tick:{x:i,y:a}}}},{key:"getTickTextAnchor",value:function(){var t,e=this.props,r=e.orientation,n=e.mirror;switch(r){case"left":t=n?"start":"end";break;case"right":t=n?"end":"start";break;default:t="middle"}return t}},{key:"getTickVerticalAnchor",value:function(){var t=this.props,e=t.orientation,r=t.mirror,n="end";switch(e){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 t=this.props,e=t.x,r=t.y,n=t.width,o=t.height,i=t.orientation,a=t.mirror,c=t.axisLine,u=eC(eC(eC({},Ya(this.props,!1)),Ya(c,!1)),{},{fill:"none"});if("top"===i||"bottom"===i){var l=+("top"===i&&!a||"bottom"===i&&a);u=eC(eC({},u),{},{x1:e,y1:r+l*o,x2:e+n,y2:r+l*o})}else{var s=+("left"===i&&!a||"right"===i&&a);u=eC(eC({},u),{},{x1:e+s*n,y1:r,x2:e+s*n,y2:r+o})}return J.createElement("line",QE({},u,{className:mn("recharts-cartesian-axis-line",qi(c,"className"))}))}},{key:"renderTicks",value:function(t,r,n){var o=this,i=this.props,a=i.tickLine,c=i.stroke,u=i.tick,l=i.tickFormatter,s=i.unit,f=XE(eC(eC({},this.props),{},{ticks:t}),r,n),p=this.getTickTextAnchor(),d=this.getTickVerticalAnchor(),h=Ya(this.props,!1),y=Ya(u,!1),v=eC(eC({},h),{},{fill:"none"},Ya(a,!1)),m=f.map((function(t,r){var n=o.getTickLineCoord(t),i=n.line,m=n.tick,g=eC(eC(eC(eC({textAnchor:p,verticalAnchor:d},h),{},{stroke:"none",fill:c},y),m),{},{index:r,payload:t,visibleTicksCount:f.length,tickFormatter:l});return J.createElement(wc,QE({className:"recharts-cartesian-axis-tick",key:"tick-".concat(t.value,"-").concat(t.coordinate,"-").concat(t.tickCoord)},Ta(o.props,t,r)),a&&J.createElement("line",QE({},v,i,{className:mn("recharts-cartesian-axis-tick-line",qi(a,"className"))})),u&&e.renderTickItem(u,g,"".concat(Qi(l)?l(t.value,r):t.value).concat(s||"")))}));return J.createElement("g",{className:"recharts-cartesian-axis-ticks"},m)}},{key:"render",value:function(){var t=this,e=this.props,r=e.axisLine,n=e.width,o=e.height,i=e.ticksGenerator,a=e.className;if(e.hide)return null;var c=this.props,u=c.ticks,l=rC(c,ZE),s=u;return Qi(i)&&(s=u&&u.length>0?i(this.props):i(l)),n<=0||o<=0||!s||!s.length?null:J.createElement(wc,{className:mn("recharts-cartesian-axis",a),ref:function(e){t.layerReference=e}},r&&this.renderAxisLine(),this.renderTicks(s,this.state.fontSize,this.state.letterSpacing),cS.renderCallByParent(this.props))}}],o=[{key:"renderTickItem",value:function(t,e,r){return J.isValidElement(t)?J.cloneElement(t,e):Qi(t)?t(e):J.createElement(Ty,QE({},e,{className:"recharts-cartesian-axis-tick-value"}),r)}}],n&&nC(r.prototype,n),o&&nC(r,o),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,o}();uC(sC,"displayName","CartesianAxis"),uC(sC,"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 fC=["type","layout","connectNulls","ref"],pC=["key"];function dC(t){return dC="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},dC(t)}function hC(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function yC(){return yC=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},yC.apply(this,arguments)}function vC(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function mC(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?vC(Object(r),!0).forEach((function(e){PC(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):vC(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function gC(t){return function(t){if(Array.isArray(t))return bC(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return bC(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return bC(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function bC(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function wC(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,AC(n.key),n)}}function xC(t,e,r){return e=SC(e),function(t,e){if(e&&("object"===dC(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,OC()?Reflect.construct(e,r||[],SC(t).constructor):e.apply(t,r))}function OC(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(OC=function(){return!!t})()}function SC(t){return SC=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},SC(t)}function jC(t,e){return jC=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},jC(t,e)}function PC(t,e,r){return(e=AC(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function AC(t){var e=function(t,e){if("object"!=dC(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=dC(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==dC(e)?e:e+""}var MC=function(t){function e(){var t;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return PC(t=xC(this,e,[].concat(n)),"state",{isAnimationFinished:!0,totalLength:0}),PC(t,"generateSimpleStrokeDasharray",(function(t,e){return"".concat(e,"px ").concat(t-e,"px")})),PC(t,"getStrokeDasharray",(function(r,n,o){var i=o.reduce((function(t,e){return t+e}));if(!i)return t.generateSimpleStrokeDasharray(n,r);for(var a=Math.floor(r/i),c=r%i,u=n-r,l=[],s=0,f=0;s<o.length;f+=o[s],++s)if(f+o[s]>c){l=[].concat(gC(o.slice(0,s)),[c-f]);break}var p=l.length%2==0?[0,u]:[u];return[].concat(gC(e.repeat(o,a)),gC(l),p).map((function(t){return"".concat(t,"px")})).join(", ")})),PC(t,"id",wa("recharts-line-")),PC(t,"pathRef",(function(e){t.mainCurve=e})),PC(t,"handleAnimationEnd",(function(){t.setState({isAnimationFinished:!0}),t.props.onAnimationEnd&&t.props.onAnimationEnd()})),PC(t,"handleAnimationStart",(function(){t.setState({isAnimationFinished:!1}),t.props.onAnimationStart&&t.props.onAnimationStart()})),t}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&jC(t,e)}(e,et),r=e,n=[{key:"componentDidMount",value:function(){if(this.props.isAnimationActive){var t=this.getTotalLength();this.setState({totalLength:t})}}},{key:"componentDidUpdate",value:function(){if(this.props.isAnimationActive){var t=this.getTotalLength();t!==this.state.totalLength&&this.setState({totalLength:t})}}},{key:"getTotalLength",value:function(){var t=this.mainCurve;try{return t&&t.getTotalLength&&t.getTotalLength()||0}catch(t){return 0}}},{key:"renderErrorBar",value:function(t,e){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var r=this.props,n=r.points,o=r.xAxis,i=r.yAxis,a=r.layout,c=Fa(r.children,oO);if(!c)return null;var u=function(t,e){return{x:t.x,y:t.y,value:t.value,errorVal:vO(t.payload,e)}},l={clipPath:t?"url(#clipPath-".concat(e,")"):null};return J.createElement(wc,l,c.map((function(t){return J.cloneElement(t,{key:"bar-".concat(t.props.dataKey),data:n,xAxis:o,yAxis:i,layout:a,dataPointFormatter:u})})))}},{key:"renderDots",value:function(t,r,n){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var o=this.props,i=o.dot,a=o.points,c=o.dataKey,u=Ya(this.props,!1),l=Ya(i,!0),s=a.map((function(t,r){var n=mC(mC(mC({key:"dot-".concat(r),r:3},u),l),{},{value:t.value,dataKey:c,cx:t.x,cy:t.y,index:r,payload:t.payload});return e.renderDotItem(i,n)})),f={clipPath:t?"url(#clipPath-".concat(r?"":"dots-").concat(n,")"):null};return J.createElement(wc,yC({className:"recharts-line-dots",key:"dots"},f),s)}},{key:"renderCurveStatically",value:function(t,e,r,n){var o=this.props,i=o.type,a=o.layout,c=o.connectNulls;o.ref;var u=hC(o,fC),l=mC(mC(mC({},Ya(u,!0)),{},{fill:"none",className:"recharts-line-curve",clipPath:e?"url(#clipPath-".concat(r,")"):null,points:t},n),{},{type:i,layout:a,connectNulls:c});return J.createElement(WS,yC({},l,{pathRef:this.pathRef}))}},{key:"renderCurveWithAnimation",value:function(t,e){var r=this,n=this.props,o=n.points,i=n.strokeDasharray,a=n.isAnimationActive,c=n.animationBegin,u=n.animationDuration,l=n.animationEasing,s=n.animationId,f=n.animateNewValues,p=n.width,d=n.height,h=this.state,y=h.prevPoints,v=h.totalLength;return J.createElement(JP,{begin:c,duration:u,isActive:a,easing:l,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/o.length,u=o.map((function(t,e){var r=Math.floor(e*c);if(y[r]){var n=y[r],o=Sa(n.x,t.x),i=Sa(n.y,t.y);return mC(mC({},t),{},{x:o(a),y:i(a)})}if(f){var u=Sa(2*p,t.x),l=Sa(d/2,t.y);return mC(mC({},t),{},{x:u(a),y:l(a)})}return mC(mC({},t),{},{x:t.x,y:t.y})}));return r.renderCurveStatically(u,t,e)}var l,s=Sa(0,v)(a);if(i){var h="".concat(i).split(/[,\s]+/gim).map((function(t){return parseFloat(t)}));l=r.getStrokeDasharray(s,v,h)}else l=r.generateSimpleStrokeDasharray(v,s);return r.renderCurveStatically(o,t,e,{strokeDasharray:l})}))}},{key:"renderCurve",value:function(t,e){var r=this.props,n=r.points,o=r.isAnimationActive,i=this.state,a=i.prevPoints,c=i.totalLength;return o&&n&&n.length&&(!a&&c>0||!$w(a,n))?this.renderCurveWithAnimation(t,e):this.renderCurveStatically(n,t,e)}},{key:"render",value:function(){var t,e=this.props,r=e.hide,n=e.dot,o=e.points,i=e.className,a=e.xAxis,c=e.yAxis,u=e.top,l=e.left,s=e.width,f=e.height,p=e.isAnimationActive,d=e.id;if(r||!o||!o.length)return null;var h=this.state.isAnimationFinished,y=1===o.length,v=mn("recharts-line",i),m=a&&a.allowDataOverflow,g=c&&c.allowDataOverflow,b=m||g,w=Ki(d)?this.id:d,x=null!==(t=Ya(n,!1))&&void 0!==t?t:{r:3,strokeWidth:2},O=x.r,S=void 0===O?3:O,j=x.strokeWidth,P=void 0===j?2:j,A=(qa(n)?n:{}).clipDot,M=void 0===A||A,k=2*S+P;return J.createElement(wc,{className:v},m||g?J.createElement("defs",null,J.createElement("clipPath",{id:"clipPath-".concat(w)},J.createElement("rect",{x:m?l:l-s/2,y:g?u:u-f/2,width:m?s:2*s,height:g?f:2*f})),!M&&J.createElement("clipPath",{id:"clipPath-dots-".concat(w)},J.createElement("rect",{x:l-k/2,y:u-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||h)&&jS.renderCallByParent(this.props,o))}}],o=[{key:"getDerivedStateFromProps",value:function(t,e){return t.animationId!==e.prevAnimationId?{prevAnimationId:t.animationId,curPoints:t.points,prevPoints:e.curPoints}:t.points!==e.curPoints?{curPoints:t.points}:null}},{key:"repeat",value:function(t,e){for(var r=t.length%2!=0?[].concat(gC(t),[0]):t,n=[],o=0;o<e;++o)n=[].concat(gC(n),gC(r));return n}},{key:"renderDotItem",value:function(t,e){var r;if(J.isValidElement(t))r=J.cloneElement(t,e);else if(Qi(t))r=t(e);else{var n=e.key,o=hC(e,pC),i=mn("recharts-line-dot","boolean"!=typeof t?t.className:"");r=J.createElement(fA,yC({key:n},o,{className:i}))}return r}}],n&&wC(r.prototype,n),o&&wC(r,o),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,o}();PC(MC,"displayName","Line"),PC(MC,"defaultProps",{xAxisId:0,yAxisId:0,connectNulls:!1,activeDot:!0,dot:!0,legendType:"line",stroke:"#3182bd",strokeWidth:1,fill:"#fff",points:[],isAnimationActive:!ph.isSsr,animateNewValues:!0,animationBegin:0,animationDuration:1500,animationEasing:"ease",hide:!1,label:!1}),PC(MC,"getComposedData",(function(t){var e=t.props,r=t.xAxis,n=t.yAxis,o=t.xAxisTicks,i=t.yAxisTicks,a=t.dataKey,c=t.bandSize,u=t.displayedData,l=t.offset,s=e.layout;return mC({points:u.map((function(t,e){var u=vO(t,a);return"horizontal"===s?{x:kO({axis:r,ticks:o,bandSize:c,entry:t,index:e}),y:Ki(u)?null:n.scale(u),value:u,payload:t}:{x:Ki(u)?null:r.scale(u),y:kO({axis:n,ticks:i,bandSize:c,entry:t,index:e}),value:u,payload:t}})),layout:s},l)}));var kC,EC=["layout","type","stroke","connectNulls","isRange","ref"],CC=["key"];function _C(t){return _C="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_C(t)}function TC(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function DC(){return DC=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},DC.apply(this,arguments)}function IC(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function NC(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?IC(Object(r),!0).forEach((function(e){HC(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):IC(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function LC(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,FC(n.key),n)}}function BC(t,e,r){return e=$C(e),function(t,e){if(e&&("object"===_C(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,RC()?Reflect.construct(e,r||[],$C(t).constructor):e.apply(t,r))}function RC(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(RC=function(){return!!t})()}function $C(t){return $C=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},$C(t)}function zC(t,e){return zC=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},zC(t,e)}function HC(t,e,r){return(e=FC(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function FC(t){var e=function(t,e){if("object"!=_C(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=_C(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==_C(e)?e:e+""}var VC=function(t){function e(){var t;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return HC(t=BC(this,e,[].concat(n)),"state",{isAnimationFinished:!0}),HC(t,"id",wa("recharts-area-")),HC(t,"handleAnimationEnd",(function(){var e=t.props.onAnimationEnd;t.setState({isAnimationFinished:!0}),Qi(e)&&e()})),HC(t,"handleAnimationStart",(function(){var e=t.props.onAnimationStart;t.setState({isAnimationFinished:!1}),Qi(e)&&e()})),t}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&zC(t,e)}(e,et),r=e,n=[{key:"renderDots",value:function(t,r,n){var o=this.props.isAnimationActive,i=this.state.isAnimationFinished;if(o&&!i)return null;var a=this.props,c=a.dot,u=a.points,l=a.dataKey,s=Ya(this.props,!1),f=Ya(c,!0),p=u.map((function(t,r){var n=NC(NC(NC({key:"dot-".concat(r),r:3},s),f),{},{index:r,cx:t.x,cy:t.y,dataKey:l,value:t.value,payload:t.payload,points:u});return e.renderDotItem(c,n)})),d={clipPath:t?"url(#clipPath-".concat(r?"":"dots-").concat(n,")"):null};return J.createElement(wc,DC({className:"recharts-area-dots"},d),p)}},{key:"renderHorizontalRect",value:function(t){var e=this.props,r=e.baseLine,n=e.points,o=e.strokeWidth,i=n[0].x,a=n[n.length-1].x,c=t*Math.abs(i-a),u=Mw(n.map((function(t){return t.y||0})));return ma(r)&&"number"==typeof r?u=Math.max(r,u):r&&Array.isArray(r)&&r.length&&(u=Math.max(Mw(r.map((function(t){return t.y||0}))),u)),ma(u)?J.createElement("rect",{x:i<a?i:i-c,y:0,width:c,height:Math.floor(u+(o?parseInt("".concat(o),10):1))}):null}},{key:"renderVerticalRect",value:function(t){var e=this.props,r=e.baseLine,n=e.points,o=e.strokeWidth,i=n[0].y,a=n[n.length-1].y,c=t*Math.abs(i-a),u=Mw(n.map((function(t){return t.x||0})));return ma(r)&&"number"==typeof r?u=Math.max(r,u):r&&Array.isArray(r)&&r.length&&(u=Math.max(Mw(r.map((function(t){return t.x||0}))),u)),ma(u)?J.createElement("rect",{x:0,y:i<a?i:i-c,width:u+(o?parseInt("".concat(o),10):1),height:Math.floor(c)}):null}},{key:"renderClipRect",value:function(t){return"vertical"===this.props.layout?this.renderVerticalRect(t):this.renderHorizontalRect(t)}},{key:"renderAreaStatically",value:function(t,e,r,n){var o=this.props,i=o.layout,a=o.type,c=o.stroke,u=o.connectNulls,l=o.isRange;o.ref;var s=TC(o,EC);return J.createElement(wc,{clipPath:r?"url(#clipPath-".concat(n,")"):null},J.createElement(WS,DC({},Ya(s,!0),{points:t,connectNulls:u,type:a,baseLine:e,layout:i,stroke:"none",className:"recharts-area-area"})),"none"!==c&&J.createElement(WS,DC({},Ya(this.props,!1),{className:"recharts-area-curve",layout:i,type:a,connectNulls:u,fill:"none",points:t})),"none"!==c&&l&&J.createElement(WS,DC({},Ya(this.props,!1),{className:"recharts-area-curve",layout:i,type:a,connectNulls:u,fill:"none",points:e})))}},{key:"renderAreaWithAnimation",value:function(t,e){var r=this,n=this.props,o=n.points,i=n.baseLine,a=n.isAnimationActive,c=n.animationBegin,u=n.animationDuration,l=n.animationEasing,s=n.animationId,f=this.state,p=f.prevPoints,d=f.prevBaseLine;return J.createElement(JP,{begin:c,duration:u,isActive:a,easing:l,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,u=p.length/o.length,l=o.map((function(t,e){var r=Math.floor(e*u);if(p[r]){var n=p[r],o=Sa(n.x,t.x),i=Sa(n.y,t.y);return NC(NC({},t),{},{x:o(a),y:i(a)})}return t}));return c=ma(i)&&"number"==typeof i?Sa(d,i)(a):Ki(i)||da(i)?Sa(d,0)(a):i.map((function(t,e){var r=Math.floor(e*u);if(d[r]){var n=d[r],o=Sa(n.x,t.x),i=Sa(n.y,t.y);return NC(NC({},t),{},{x:o(a),y:i(a)})}return t})),r.renderAreaStatically(l,c,t,e)}return J.createElement(wc,null,J.createElement("defs",null,J.createElement("clipPath",{id:"animationClipPath-".concat(e)},r.renderClipRect(a))),J.createElement(wc,{clipPath:"url(#animationClipPath-".concat(e,")")},r.renderAreaStatically(o,i,t,e)))}))}},{key:"renderArea",value:function(t,e){var r=this.props,n=r.points,o=r.baseLine,i=r.isAnimationActive,a=this.state,c=a.prevPoints,u=a.prevBaseLine,l=a.totalLength;return i&&n&&n.length&&(!c&&l>0||!$w(c,n)||!$w(u,o))?this.renderAreaWithAnimation(t,e):this.renderAreaStatically(n,o,t,e)}},{key:"render",value:function(){var t,e=this.props,r=e.hide,n=e.dot,o=e.points,i=e.className,a=e.top,c=e.left,u=e.xAxis,l=e.yAxis,s=e.width,f=e.height,p=e.isAnimationActive,d=e.id;if(r||!o||!o.length)return null;var h=this.state.isAnimationFinished,y=1===o.length,v=mn("recharts-area",i),m=u&&u.allowDataOverflow,g=l&&l.allowDataOverflow,b=m||g,w=Ki(d)?this.id:d,x=null!==(t=Ya(n,!1))&&void 0!==t?t:{r:3,strokeWidth:2},O=x.r,S=void 0===O?3:O,j=x.strokeWidth,P=void 0===j?2:j,A=(qa(n)?n:{}).clipDot,M=void 0===A||A,k=2*S+P;return J.createElement(wc,{className:v},m||g?J.createElement("defs",null,J.createElement("clipPath",{id:"clipPath-".concat(w)},J.createElement("rect",{x:m?c:c-s/2,y:g?a:a-f/2,width:m?s:2*s,height:g?f:2*f})),!M&&J.createElement("clipPath",{id:"clipPath-dots-".concat(w)},J.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||h)&&jS.renderCallByParent(this.props,o))}}],o=[{key:"getDerivedStateFromProps",value:function(t,e){return t.animationId!==e.prevAnimationId?{prevAnimationId:t.animationId,curPoints:t.points,curBaseLine:t.baseLine,prevPoints:e.curPoints,prevBaseLine:e.curBaseLine}:t.points!==e.curPoints||t.baseLine!==e.curBaseLine?{curPoints:t.points,curBaseLine:t.baseLine}:null}}],n&&LC(r.prototype,n),o&&LC(r,o),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,o}();function UC(t){return UC="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},UC(t)}function WC(t,e,r){return e&&function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,ZC(n.key),n)}}(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}function qC(t,e,r){return e=XC(e),function(t,e){if(e&&("object"===UC(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,YC()?Reflect.construct(e,r||[],XC(t).constructor):e.apply(t,r))}function YC(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(YC=function(){return!!t})()}function XC(t){return XC=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},XC(t)}function KC(t,e){return KC=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},KC(t,e)}function GC(t,e,r){return(e=ZC(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function ZC(t){var e=function(t,e){if("object"!=UC(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=UC(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==UC(e)?e:e+""}function JC(){return JC=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},JC.apply(this,arguments)}function QC(t){var e=t.xAxisId,r=eE(),n=rE(),o=Qk(e);return null==o?null:J.createElement(sC,JC({},o,{className:mn("recharts-".concat(o.axisType," ").concat(o.axisType),o.className),viewBox:{x:0,y:0,width:r,height:n},ticksGenerator:function(t){return OO(t,!0)}}))}kC=VC,HC(VC,"displayName","Area"),HC(VC,"defaultProps",{stroke:"#3182bd",fill:"#3182bd",fillOpacity:.6,xAxisId:0,yAxisId:0,legendType:"line",connectNulls:!1,points:[],dot:!1,activeDot:!0,hide:!1,isAnimationActive:!ph.isSsr,animationBegin:0,animationDuration:1500,animationEasing:"ease"}),HC(VC,"getBaseValue",(function(t,e,r,n){var o=t.layout,i=t.baseValue,a=e.props.baseValue,c=null!=a?a:i;if(ma(c)&&"number"==typeof c)return c;var u="horizontal"===o?n:r,l=u.scale.domain();if("number"===u.type){var s=Math.max(l[0],l[1]),f=Math.min(l[0],l[1]);return"dataMin"===c?f:"dataMax"===c||s<0?s:Math.max(Math.min(l[0],l[1]),0)}return"dataMin"===c?l[0]:"dataMax"===c?l[1]:l[0]})),HC(VC,"getComposedData",(function(t){var e,r=t.props,n=t.item,o=t.xAxis,i=t.yAxis,a=t.xAxisTicks,c=t.yAxisTicks,u=t.bandSize,l=t.dataKey,s=t.stackedData,f=t.dataStartIndex,p=t.displayedData,d=t.offset,h=r.layout,y=s&&s.length,v=kC.getBaseValue(r,n,o,i),m="horizontal"===h,g=!1,b=p.map((function(t,e){var r;y?r=s[f+e]:(r=vO(t,l),Array.isArray(r)?g=!0:r=[v,r]);var n=null==r[1]||y&&null==vO(t,l);return m?{x:kO({axis:o,ticks:a,bandSize:u,entry:t,index:e}),y:n?null:i.scale(r[1]),value:r,payload:t}:{x:n?null:o.scale(r[1]),y:kO({axis:i,ticks:c,bandSize:u,entry:t,index:e}),value:r,payload:t}}));return e=y||g?b.map((function(t){var e=Array.isArray(t.value)?t.value[0]:null;return m?{x:t.x,y:null!=e&&null!=t.y?i.scale(e):null}:{x:null!=e?o.scale(e):null,y:t.y}})):m?i.scale(v):o.scale(v),NC({points:b,baseLine:e,layout:h,isRange:g},d)})),HC(VC,"renderDotItem",(function(t,e){var r;if(J.isValidElement(t))r=J.cloneElement(t,e);else if(Qi(t))r=t(e);else{var n=mn("recharts-area-dot","boolean"!=typeof t?t.className:""),o=e.key,i=TC(e,CC);r=J.createElement(fA,DC({},i,{key:o,className:n}))}return r}));var t_=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),qC(this,e,arguments)}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&KC(t,e)}(e,J.Component),WC(e,[{key:"render",value:function(){return J.createElement(QC,this.props)}}])}();function e_(t){return e_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e_(t)}function r_(t,e,r){return e&&function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,u_(n.key),n)}}(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}function n_(t,e,r){return e=i_(e),function(t,e){if(e&&("object"===e_(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,o_()?Reflect.construct(e,r||[],i_(t).constructor):e.apply(t,r))}function o_(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(o_=function(){return!!t})()}function i_(t){return i_=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},i_(t)}function a_(t,e){return a_=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},a_(t,e)}function c_(t,e,r){return(e=u_(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function u_(t){var e=function(t,e){if("object"!=e_(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=e_(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==e_(e)?e:e+""}function l_(){return l_=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},l_.apply(this,arguments)}GC(t_,"displayName","XAxis"),GC(t_,"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 s_=function(t){var e=t.yAxisId,r=eE(),n=rE(),o=tE(e);return null==o?null:J.createElement(sC,l_({},o,{className:mn("recharts-".concat(o.axisType," ").concat(o.axisType),o.className),viewBox:{x:0,y:0,width:r,height:n},ticksGenerator:function(t){return OO(t,!0)}}))},f_=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),n_(this,e,arguments)}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&a_(t,e)}(e,J.Component),r_(e,[{key:"render",value:function(){return J.createElement(s_,this.props)}}])}();function p_(t){return function(t){if(Array.isArray(t))return d_(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return d_(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return d_(t,e)}(t)||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 d_(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}c_(f_,"displayName","YAxis"),c_(f_,"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 h_,y_=function(t,e,r,n,o){var i=Fa(t,mE),a=Fa(t,EE),c=[].concat(p_(i),p_(a)),u=Fa(t,HE),l="".concat(n,"Id"),s=n[0],f=e;if(c.length&&(f=c.reduce((function(t,e){if(e.props[l]===r&&HM(e.props,"extendDomain")&&ma(e.props[s])){var n=e.props[s];return[Math.min(t[0],n),Math.max(t[1],n)]}return t}),f)),u.length){var p="".concat(s,"1"),d="".concat(s,"2");f=u.reduce((function(t,e){if(e.props[l]===r&&HM(e.props,"extendDomain")&&ma(e.props[p])&&ma(e.props[d])){var n=e.props[p],o=e.props[d];return[Math.min(t[0],n,o),Math.max(t[1],n,o)]}return t}),f)}return o&&o.length&&(f=o.reduce((function(t,e){return ma(e)?[Math.min(t[0],e),Math.max(t[1],e)]:t}),f)),f},v_={exports:{}};var m_=(h_||(h_=1,function(t){var e=Object.prototype.hasOwnProperty,r="~";function n(){}function o(t,e,r){this.fn=t,this.context=e,this.once=r||!1}function i(t,e,n,i,a){if("function"!=typeof n)throw new TypeError("The listener must be a function");var c=new o(n,i||t,a),u=r?r+e:e;return t._events[u]?t._events[u].fn?t._events[u]=[t._events[u],c]:t._events[u].push(c):(t._events[u]=c,t._eventsCount++),t}function a(t,e){0==--t._eventsCount?t._events=new n:delete t._events[e]}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 t,n,o=[];if(0===this._eventsCount)return o;for(n in t=this._events)e.call(t,n)&&o.push(r?n.slice(1):n);return Object.getOwnPropertySymbols?o.concat(Object.getOwnPropertySymbols(t)):o},c.prototype.listeners=function(t){var e=r?r+t:t,n=this._events[e];if(!n)return[];if(n.fn)return[n.fn];for(var o=0,i=n.length,a=new Array(i);o<i;o++)a[o]=n[o].fn;return a},c.prototype.listenerCount=function(t){var e=r?r+t:t,n=this._events[e];return n?n.fn?1:n.length:0},c.prototype.emit=function(t,e,n,o,i,a){var c=r?r+t:t;if(!this._events[c])return!1;var u,l,s=this._events[c],f=arguments.length;if(s.fn){switch(s.once&&this.removeListener(t,s.fn,void 0,!0),f){case 1:return s.fn.call(s.context),!0;case 2:return s.fn.call(s.context,e),!0;case 3:return s.fn.call(s.context,e,n),!0;case 4:return s.fn.call(s.context,e,n,o),!0;case 5:return s.fn.call(s.context,e,n,o,i),!0;case 6:return s.fn.call(s.context,e,n,o,i,a),!0}for(l=1,u=new Array(f-1);l<f;l++)u[l-1]=arguments[l];s.fn.apply(s.context,u)}else{var p,d=s.length;for(l=0;l<d;l++)switch(s[l].once&&this.removeListener(t,s[l].fn,void 0,!0),f){case 1:s[l].fn.call(s[l].context);break;case 2:s[l].fn.call(s[l].context,e);break;case 3:s[l].fn.call(s[l].context,e,n);break;case 4:s[l].fn.call(s[l].context,e,n,o);break;default:if(!u)for(p=1,u=new Array(f-1);p<f;p++)u[p-1]=arguments[p];s[l].fn.apply(s[l].context,u)}}return!0},c.prototype.on=function(t,e,r){return i(this,t,e,r,!1)},c.prototype.once=function(t,e,r){return i(this,t,e,r,!0)},c.prototype.removeListener=function(t,e,n,o){var i=r?r+t:t;if(!this._events[i])return this;if(!e)return a(this,i),this;var c=this._events[i];if(c.fn)c.fn!==e||o&&!c.once||n&&c.context!==n||a(this,i);else{for(var u=0,l=[],s=c.length;u<s;u++)(c[u].fn!==e||o&&!c[u].once||n&&c[u].context!==n)&&l.push(c[u]);l.length?this._events[i]=1===l.length?l[0]:l:a(this,i)}return this},c.prototype.removeAllListeners=function(t){var e;return t?(e=r?r+t:t,this._events[e]&&a(this,e)):(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,t.exports=c}(v_)),v_.exports),g_=new(Ze(m_)),b_="recharts.syncMouseEvents";function w_(t){return w_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},w_(t)}function x_(t,e,r){return e&&function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,S_(n.key),n)}}(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}function O_(t,e,r){return(e=S_(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function S_(t){var e=function(t,e){if("object"!=w_(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!=w_(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"==w_(e)?e:e+""}var j_=function(){return x_((function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),O_(this,"activeIndex",0),O_(this,"coordinateList",[]),O_(this,"layout","horizontal")}),[{key:"setDetails",value:function(t){var e,r=t.coordinateList,n=void 0===r?null:r,o=t.container,i=void 0===o?null:o,a=t.layout,c=void 0===a?null:a,u=t.offset,l=void 0===u?null:u,s=t.mouseHandlerCallback,f=void 0===s?null:s;this.coordinateList=null!==(e=null!=n?n:this.coordinateList)&&void 0!==e?e:[],this.container=null!=i?i:this.container,this.layout=null!=c?c:this.layout,this.offset=null!=l?l: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(t){if(0!==this.coordinateList.length)switch(t.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(t){this.activeIndex=t}},{key:"spoofMouse",value:function(){var t,e;if("horizontal"===this.layout&&0!==this.coordinateList.length){var r=this.container.getBoundingClientRect(),n=r.x,o=r.y,i=r.height,a=this.coordinateList[this.activeIndex].coordinate,c=(null===(t=window)||void 0===t?void 0:t.scrollX)||0,u=(null===(e=window)||void 0===e?void 0:e.scrollY)||0,l=n+a+c,s=o+this.offset.top+i/2+u;this.mouseHandlerCallback({pageX:l,pageY:s})}}}])}();function P_(t){var e=t.cx,r=t.cy,n=t.radius,o=t.startAngle,i=t.endAngle;return{points:[VO(e,r,n,o),VO(e,r,n,i)],cx:e,cy:r,radius:n,startAngle:o,endAngle:i}}function A_(t,e,r){var n,o,i,a;if("horizontal"===t)i=n=e.x,o=r.top,a=r.top+r.height;else if("vertical"===t)a=o=e.y,n=r.left,i=r.left+r.width;else if(null!=e.cx&&null!=e.cy){if("centric"!==t)return P_(e);var c=e.cx,u=e.cy,l=e.innerRadius,s=e.outerRadius,f=e.angle,p=VO(c,u,l,f),d=VO(c,u,s,f);n=p.x,o=p.y,i=d.x,a=d.y}return[{x:n,y:o},{x:i,y:a}]}function M_(t){return M_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},M_(t)}function k_(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function E_(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?k_(Object(r),!0).forEach((function(e){C_(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):k_(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function C_(t,e,r){return e=function(t){var e=function(t,e){if("object"!=M_(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=M_(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==M_(e)?e:e+""}(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function __(t){var e,r,n,o=t.element,i=t.tooltipEventType,a=t.isActive,c=t.activeCoordinate,u=t.activePayload,l=t.offset,s=t.activeTooltipIndex,f=t.tooltipAxisBandSize,p=t.layout,d=t.chartName,h=null!==(e=o.props.cursor)&&void 0!==e?e:null===(r=o.type.defaultProps)||void 0===r?void 0:r.cursor;if(!o||!h||!a||!c||"ScatterChart"!==d&&"axis"!==i)return null;var y=WS;if("ScatterChart"===d)n=c,y=SA;else if("BarChart"===d)n=function(t,e,r,n){var o=n/2;return{stroke:"none",fill:"#ccc",x:"horizontal"===t?e.x-o:r.left+.5,y:"horizontal"===t?r.top+.5:e.y-o,width:"horizontal"===t?n:r.width-1,height:"horizontal"===t?r.height-1:n}}(p,c,l,f),y=lA;else if("radial"===p){var v=P_(c),m=v.cx,g=v.cy,b=v.radius;n={cx:m,cy:g,startAngle:v.startAngle,endAngle:v.endAngle,innerRadius:b,outerRadius:b},y=DS}else n={points:A_(p,c,l)},y=WS;var w=E_(E_(E_(E_({stroke:"#ccc",pointerEvents:"none"},l),n),Ya(h,!1)),{},{payload:u,payloadIndex:s,className:mn("recharts-tooltip-cursor",h.className)});return Q(h)?lt(h,w):st(y,w)}var T_=["item"],D_=["children","className","width","height","style","compact","title","desc"];function I_(t){return I_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},I_(t)}function N_(){return N_=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},N_.apply(this,arguments)}function L_(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e);else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||U_(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 B_(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function R_(t,e,r){return e&&function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,K_(n.key),n)}}(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}function $_(t,e,r){return e=H_(e),function(t,e){if(e&&("object"===I_(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,z_()?Reflect.construct(e,r||[],H_(t).constructor):e.apply(t,r))}function z_(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(z_=function(){return!!t})()}function H_(t){return H_=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},H_(t)}function F_(t,e){return F_=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},F_(t,e)}function V_(t){return function(t){if(Array.isArray(t))return W_(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||U_(t)||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 U_(t,e){if(t){if("string"==typeof t)return W_(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?W_(t,e):void 0}}function W_(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function q_(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Y_(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?q_(Object(r),!0).forEach((function(e){X_(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):q_(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function X_(t,e,r){return(e=K_(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function K_(t){var e=function(t,e){if("object"!=I_(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=I_(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==I_(e)?e:e+""}var G_={xAxis:["bottom","top"],yAxis:["left","right"]},Z_={width:"100%",height:"100%"},J_={x:0,y:0};function Q_(t){return t}var tT=function(t,e){var r=e.graphicalItems,n=e.dataStartIndex,o=e.dataEndIndex,i=(null!=r?r:[]).reduce((function(t,e){var r=e.props.data;return r&&r.length?[].concat(V_(t),V_(r)):t}),[]);return i.length>0?i:t&&t.length&&ma(n)&&ma(o)?t.slice(n,o+1):[]};function eT(t){return"number"===t?[0,"auto"]:void 0}var rT=function(t,e,r,n){var o=t.graphicalItems,i=t.tooltipAxis,a=tT(e,t);return r<0||!o||!o.length||r>=a.length?null:o.reduce((function(o,c){var u,l,s=null!==(u=c.props.data)&&void 0!==u?u:e;(s&&t.dataStartIndex+t.dataEndIndex!==0&&t.dataEndIndex-t.dataStartIndex>=r&&(s=s.slice(t.dataStartIndex,t.dataEndIndex+1)),i.dataKey&&!i.allowDuplicatedCategory)?l=ja(void 0===s?a:s,i.dataKey,n):l=s&&s[r]||a[r];return l?[].concat(V_(o),[LO(c,l)]):o}),[])},nT=function(t,e,r,n){var o=n||{x:t.chartX,y:t.chartY},i=function(t,e){return"horizontal"===e?t.x:"vertical"===e?t.y:"centric"===e?t.angle:t.radius}(o,r),a=t.orderedTooltipTicks,c=t.tooltipAxis,u=t.tooltipTicks,l=function(t){var e,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2?arguments[2]:void 0,o=arguments.length>3?arguments[3]:void 0,i=-1,a=null!==(e=null==r?void 0:r.length)&&void 0!==e?e:0;if(a<=1)return 0;if(o&&"angleAxis"===o.axisType&&Math.abs(Math.abs(o.range[1]-o.range[0])-360)<=1e-6)for(var c=o.range,u=0;u<a;u++){var l=u>0?n[u-1].coordinate:n[a-1].coordinate,s=n[u].coordinate,f=u>=a-1?n[0].coordinate:n[u+1].coordinate,p=void 0;if(ya(s-l)!==ya(f-s)){var d=[];if(ya(f-s)===ya(c[1]-c[0])){p=f;var h=s+c[1]-c[0];d[0]=Math.min(h,(h+l)/2),d[1]=Math.max(h,(h+l)/2)}else{p=l;var y=f+c[1]-c[0];d[0]=Math.min(s,(y+s)/2),d[1]=Math.max(s,(y+s)/2)}var v=[Math.min(s,(p+s)/2),Math.max(s,(p+s)/2)];if(t>v[0]&&t<=v[1]||t>=d[0]&&t<=d[1]){i=n[u].index;break}}else{var m=Math.min(l,f),g=Math.max(l,f);if(t>(m+s)/2&&t<=(g+s)/2){i=n[u].index;break}}}else for(var b=0;b<a;b++)if(0===b&&t<=(r[b].coordinate+r[b+1].coordinate)/2||b>0&&b<a-1&&t>(r[b].coordinate+r[b-1].coordinate)/2&&t<=(r[b].coordinate+r[b+1].coordinate)/2||b===a-1&&t>(r[b].coordinate+r[b-1].coordinate)/2){i=r[b].index;break}return i}(i,a,u,c);if(l>=0&&u){var s=u[l]&&u[l].value,f=rT(t,e,l,s),p=function(t,e,r,n){var o=e.find((function(t){return t&&t.index===r}));if(o){if("horizontal"===t)return{x:o.coordinate,y:n.y};if("vertical"===t)return{x:n.x,y:o.coordinate};if("centric"===t){var i=o.coordinate,a=n.radius;return Y_(Y_(Y_({},n),VO(n.cx,n.cy,a,i)),{},{angle:i,radius:a})}var c=o.coordinate,u=n.angle;return Y_(Y_(Y_({},n),VO(n.cx,n.cy,c,u)),{},{angle:u,radius:c})}return J_}(r,a,l,o);return{activeTooltipIndex:l,activeLabel:s,activePayload:f,activeCoordinate:p}}return null},oT=function(t,e){var r=e.axes,n=e.graphicalItems,o=e.axisType,i=e.axisIdKey,a=e.stackGroups,c=e.dataStartIndex,u=e.dataEndIndex,l=t.layout,s=t.children,f=t.stackOffset,p=xO(l,o);return r.reduce((function(e,r){var d,h=void 0!==r.type.defaultProps?Y_(Y_({},r.type.defaultProps),r.props):r.props,y=h.type,v=h.dataKey,m=h.allowDataOverflow,g=h.allowDuplicatedCategory,b=h.scale,w=h.ticks,x=h.includeHidden,O=h[i];if(e[O])return e;var S,j,P,A=tT(t.data,{graphicalItems:n.filter((function(t){var e;return(i in t.props?t.props[i]:null===(e=t.type.defaultProps)||void 0===e?void 0:e[i])===O})),dataStartIndex:c,dataEndIndex:u}),M=A.length;(function(t,e,r){if("number"===r&&!0===e&&Array.isArray(t)){var n=null==t?void 0:t[0],o=null==t?void 0:t[1];if(n&&o&&ma(n)&&ma(o))return!0}return!1})(h.domain,m,y)&&(S=DO(h.domain,null,m),!p||"number"!==y&&"auto"===b||(P=mO(A,v,"category")));var k=eT(y);if(!S||0===S.length){var E,C=null!==(E=h.domain)&&void 0!==E?E:k;if(v){if(S=mO(A,v,y),"category"===y&&p){var _=function(t){if(!Array.isArray(t))return!1;for(var e=t.length,r={},n=0;n<e;n++){if(r[t[n]])return!0;r[t[n]]=!0}return!1}(S);g&&_?(j=S,S=pM(0,M)):g||(S=NO(C,S,r).reduce((function(t,e){return t.indexOf(e)>=0?t:[].concat(V_(t),[e])}),[]))}else if("category"===y)S=g?S.filter((function(t){return""!==t&&!Ki(t)})):NO(C,S,r).reduce((function(t,e){return t.indexOf(e)>=0||""===e||Ki(e)?t:[].concat(V_(t),[e])}),[]);else if("number"===y){var T=function(t,e,r,n,o){var i=e.map((function(e){return bO(t,e,r,o,n)})).filter((function(t){return!Ki(t)}));return i&&i.length?i.reduce((function(t,e){return[Math.min(t[0],e[0]),Math.max(t[1],e[1])]}),[1/0,-1/0]):null}(A,n.filter((function(t){var e,r,n=i in t.props?t.props[i]:null===(e=t.type.defaultProps)||void 0===e?void 0:e[i],o="hide"in t.props?t.props.hide:null===(r=t.type.defaultProps)||void 0===r?void 0:r.hide;return n===O&&(x||!o)})),v,o,l);T&&(S=T)}!p||"number"!==y&&"auto"===b||(P=mO(A,v,"category"))}else S=p?pM(0,M):a&&a[O]&&a[O].hasStack&&"number"===y?"expand"===f?[0,1]:CO(a[O].stackGroups,c,u):wO(A,n.filter((function(t){var e=i in t.props?t.props[i]:t.type.defaultProps[i],r="hide"in t.props?t.props.hide:t.type.defaultProps.hide;return e===O&&(x||!r)})),y,l,!0);if("number"===y)S=y_(s,S,O,o,w),C&&(S=DO(C,S,m));else if("category"===y&&C){var D=C;S.every((function(t){return D.indexOf(t)>=0}))&&(S=D)}}return Y_(Y_({},e),{},X_({},O,Y_(Y_({},h),{},{axisType:o,domain:S,categoricalDomain:P,duplicateDomain:j,originalDomain:null!==(d=h.domain)&&void 0!==d?d:k,isCategorical:p,layout:l})))}),{})},iT=function(t,e){var r=e.axisType,n=void 0===r?"xAxis":r,o=e.AxisComp,i=e.graphicalItems,a=e.stackGroups,c=e.dataStartIndex,u=e.dataEndIndex,l=t.children,s="".concat(n,"Id"),f=Fa(l,o),p={};return f&&f.length?p=oT(t,{axes:f,graphicalItems:i,axisType:n,axisIdKey:s,stackGroups:a,dataStartIndex:c,dataEndIndex:u}):i&&i.length&&(p=function(t,e){var r=e.graphicalItems,n=e.Axis,o=e.axisType,i=e.axisIdKey,a=e.stackGroups,c=e.dataStartIndex,u=e.dataEndIndex,l=t.layout,s=t.children,f=tT(t.data,{graphicalItems:r,dataStartIndex:c,dataEndIndex:u}),p=f.length,d=xO(l,o),h=-1;return r.reduce((function(t,e){var y,v=(void 0!==e.type.defaultProps?Y_(Y_({},e.type.defaultProps),e.props):e.props)[i],m=eT("number");return t[v]?t:(h++,d?y=pM(0,p):a&&a[v]&&a[v].hasStack?(y=CO(a[v].stackGroups,c,u),y=y_(s,y,v,o)):(y=DO(m,wO(f,r.filter((function(t){var e,r,n=i in t.props?t.props[i]:null===(e=t.type.defaultProps)||void 0===e?void 0:e[i],o="hide"in t.props?t.props.hide:null===(r=t.type.defaultProps)||void 0===r?void 0:r.hide;return n===v&&!o})),"number",l),n.defaultProps.allowDataOverflow),y=y_(s,y,v,o)),Y_(Y_({},t),{},X_({},v,Y_(Y_({axisType:o},n.defaultProps),{},{hide:!0,orientation:qi(G_,"".concat(o,".").concat(h%2),null),domain:y,originalDomain:m,isCategorical:d,layout:l}))))}),{})}(t,{Axis:o,graphicalItems:i,axisType:n,axisIdKey:s,stackGroups:a,dataStartIndex:c,dataEndIndex:u})),p},aT=function(t){var e=t.children,r=t.defaultShowTooltip,n=Va(e,IM),o=0,i=0;return t.data&&0!==t.data.length&&(i=t.data.length-1),n&&n.props&&(n.props.startIndex>=0&&(o=n.props.startIndex),n.props.endIndex>=0&&(i=n.props.endIndex)),{chartX:0,chartY:0,dataStartIndex:o,dataEndIndex:i,activeTooltipIndex:-1,isTooltipActive:Boolean(r)}},cT=function(t){return"horizontal"===t?{numericAxisName:"yAxis",cateAxisName:"xAxis"}:"vertical"===t?{numericAxisName:"xAxis",cateAxisName:"yAxis"}:"centric"===t?{numericAxisName:"radiusAxis",cateAxisName:"angleAxis"}:{numericAxisName:"angleAxis",cateAxisName:"radiusAxis"}},uT=function(t,e){var r=t.props,n=(t.graphicalItems,t.xAxisMap),o=void 0===n?{}:n,i=t.yAxisMap,a=void 0===i?{}:i,c=r.width,u=r.height,l=r.children,s=r.margin||{},f=Va(l,IM),p=Va(l,Pd),d=Object.keys(a).reduce((function(t,e){var r=a[e],n=r.orientation;return r.mirror||r.hide?t:Y_(Y_({},t),{},X_({},n,t[n]+r.width))}),{left:s.left||0,right:s.right||0}),h=Object.keys(o).reduce((function(t,e){var r=o[e],n=r.orientation;return r.mirror||r.hide?t:Y_(Y_({},t),{},X_({},n,qi(t,"".concat(n))+r.height))}),{top:s.top||0,bottom:s.bottom||0}),y=Y_(Y_({},h),d),v=y.bottom;f&&(y.bottom+=f.props.height||IM.defaultProps.height),p&&e&&(y=function(t,e,r,n){var o=r.children,i=r.width,a=r.margin,c=i-(a.left||0)-(a.right||0),u=lO({children:o,legendWidth:c});if(u){var l=n||{},s=l.width,f=l.height,p=u.align,d=u.verticalAlign,h=u.layout;if(("vertical"===h||"horizontal"===h&&"middle"===d)&&"center"!==p&&ma(t[p]))return hO(hO({},t),{},yO({},p,t[p]+(s||0)));if(("horizontal"===h||"vertical"===h&&"center"===p)&&"middle"!==d&&ma(t[d]))return hO(hO({},t),{},yO({},d,t[d]+(f||0)))}return t}(y,0,r,e));var m=c-y.left-y.right,g=u-y.top-y.bottom;return Y_(Y_({brushBottom:v},y),{},{width:Math.max(m,0),height:Math.max(g,0)})},lT=function(t,e){return"xAxis"===e?t[e].width:"yAxis"===e?t[e].height:void 0},sT=function(t){var e=t.chartName,r=t.GraphicalChild,n=t.defaultTooltipEventType,o=void 0===n?"axis":n,i=t.validateTooltipEventTypes,a=void 0===i?["axis"]:i,c=t.axisComponents,u=t.legendContent,l=t.formatAxisMap,s=t.defaultProps,f=function(t,e){var r=e.graphicalItems,n=e.stackGroups,o=e.offset,i=e.updateId,a=e.dataStartIndex,u=e.dataEndIndex,l=t.barSize,s=t.layout,f=t.barGap,p=t.barCategoryGap,d=t.maxBarSize,h=cT(s),y=h.numericAxisName,v=h.cateAxisName,m=function(t){return!(!t||!t.length)&&t.some((function(t){var e=Ra(t&&t.type);return e&&e.indexOf("Bar")>=0}))}(r),g=[];return r.forEach((function(r,h){var b=tT(t.data,{graphicalItems:[r],dataStartIndex:a,dataEndIndex:u}),w=void 0!==r.type.defaultProps?Y_(Y_({},r.type.defaultProps),r.props):r.props,x=w.dataKey,O=w.maxBarSize,S=w["".concat(y,"Id")],j=w["".concat(v,"Id")],P=c.reduce((function(t,n){var o,i,a=e["".concat(n.axisType,"Map")],c=w["".concat(n.axisType,"Id")];a&&a[c]||"zAxis"===n.axisType||("production"!==process.env.NODE_ENV?Ux(0,"Specifying a(n) ".concat(n.axisType,"Id requires a corresponding ").concat(n.axisType,"Id on the targeted graphical component ").concat(null!==(o=null==r||null===(i=r.type)||void 0===i?void 0:i.displayName)&&void 0!==o?o:"")):Ux());var u=a[c];return Y_(Y_({},t),{},X_(X_({},n.axisType,u),"".concat(n.axisType,"Ticks"),OO(u)))}),{}),A=P[v],M=P["".concat(v,"Ticks")],k=n&&n[S]&&n[S].hasStack&&function(t,e){var r,n=(null!==(r=t.type)&&void 0!==r&&r.defaultProps?hO(hO({},t.type.defaultProps),t.props):t.props).stackId;if(ga(n)){var o=e[n];if(o){var i=o.items.indexOf(t);return i>=0?o.stackedData[i]:null}}return null}(r,n[S].stackGroups),E=Ra(r.type).indexOf("Bar")>=0,C=IO(A,M),_=[],T=m&&function(t){var e=t.barSize,r=t.totalSize,n=t.stackGroups,o=void 0===n?{}:n;if(!o)return{};for(var i={},a=Object.keys(o),c=0,u=a.length;c<u;c++)for(var l=o[a[c]].stackGroups,s=Object.keys(l),f=0,p=s.length;f<p;f++){var d=l[s[f]],h=d.items,y=d.cateAxisId,v=h.filter((function(t){return Ra(t.type).indexOf("Bar")>=0}));if(v&&v.length){var m=v[0].type.defaultProps,g=void 0!==m?hO(hO({},m),v[0].props):v[0].props,b=g.barSize,w=g[y];i[w]||(i[w]=[]);var x=Ki(b)?e:b;i[w].push({item:v[0],stackList:v.slice(1),barSize:Ki(x)?void 0:xa(x,r,0)})}}return i}({barSize:l,stackGroups:n,totalSize:lT(P,v)});if(E){var D,I,N=Ki(O)?d:O,L=null!==(D=null!==(I=IO(A,M,!0))&&void 0!==I?I:N)&&void 0!==D?D:0;_=function(t){var e=t.barGap,r=t.barCategoryGap,n=t.bandSize,o=t.sizeList,i=void 0===o?[]:o,a=t.maxBarSize,c=i.length;if(c<1)return null;var u,l=xa(e,n,0,!0),s=[];if(i[0].barSize===+i[0].barSize){var f=!1,p=n/c,d=i.reduce((function(t,e){return t+e.barSize||0}),0);(d+=(c-1)*l)>=n&&(d-=(c-1)*l,l=0),d>=n&&p>0&&(f=!0,d=c*(p*=.9));var h={offset:((n-d)/2|0)-l,size:0};u=i.reduce((function(t,e){var r={item:e.item,position:{offset:h.offset+h.size+l,size:f?p:e.barSize}},n=[].concat(fO(t),[r]);return h=n[n.length-1].position,e.stackList&&e.stackList.length&&e.stackList.forEach((function(t){n.push({item:t,position:h})})),n}),s)}else{var y=xa(r,n,0,!0);n-2*y-(c-1)*l<=0&&(l=0);var v=(n-2*y-(c-1)*l)/c;v>1&&(v>>=0);var m=a===+a?Math.min(v,a):v;u=i.reduce((function(t,e,r){var n=[].concat(fO(t),[{item:e.item,position:{offset:y+(v+l)*r+(v-m)/2,size:m}}]);return e.stackList&&e.stackList.length&&e.stackList.forEach((function(t){n.push({item:t,position:n[n.length-1].position})})),n}),s)}return u}({barGap:f,barCategoryGap:p,bandSize:L!==C?L:C,sizeList:T[j],maxBarSize:N}),L!==C&&(_=_.map((function(t){return Y_(Y_({},t),{},{position:Y_(Y_({},t.position),{},{offset:t.position.offset-L/2})})})))}var B,R,$=r&&r.type&&r.type.getComposedData;$&&g.push({props:Y_(Y_({},$(Y_(Y_({},P),{},{displayedData:b,props:t,dataKey:x,item:r,bandSize:C,barPosition:_,offset:o,stackedData:k,layout:s,dataStartIndex:a,dataEndIndex:u}))),{},X_(X_(X_({key:r.key||"item-".concat(h)},y,P[y]),v,P[v]),"animationId",i)),childIndex:(B=r,R=t.children,Ha(R).indexOf(B)),item:r})})),g},p=function(t,n){var o=t.props,i=t.dataStartIndex,a=t.dataEndIndex,u=t.updateId;if(!Ua({props:o}))return null;var s=o.children,p=o.layout,d=o.stackOffset,h=o.data,y=o.reverseStackOrder,v=cT(p),m=v.numericAxisName,g=v.cateAxisName,b=Fa(s,r),w=function(t,e,r,n,o,i){if(!t)return null;var a=(i?e.reverse():e).reduce((function(t,e){var o,i=null!==(o=e.type)&&void 0!==o&&o.defaultProps?hO(hO({},e.type.defaultProps),e.props):e.props,a=i.stackId;if(i.hide)return t;var c=i[r],u=t[c]||{hasStack:!1,stackGroups:{}};if(ga(a)){var l=u.stackGroups[a]||{numericAxisId:r,cateAxisId:n,items:[]};l.items.push(e),u.hasStack=!0,u.stackGroups[a]=l}else u.stackGroups[wa("_stackId_")]={numericAxisId:r,cateAxisId:n,items:[e]};return hO(hO({},t),{},yO({},c,u))}),{});return Object.keys(a).reduce((function(e,i){var c=a[i];return c.hasStack&&(c.stackGroups=Object.keys(c.stackGroups).reduce((function(e,i){var a=c.stackGroups[i];return hO(hO({},e),{},yO({},i,{numericAxisId:r,cateAxisId:n,items:a.items,stackedData:MO(t,a.items,o)}))}),{})),hO(hO({},e),{},yO({},i,c))}),{})}(h,b,"".concat(m,"Id"),"".concat(g,"Id"),d,y),x=c.reduce((function(t,e){var r="".concat(e.axisType,"Map");return Y_(Y_({},t),{},X_({},r,iT(o,Y_(Y_({},e),{},{graphicalItems:b,stackGroups:e.axisType===m&&w,dataStartIndex:i,dataEndIndex:a}))))}),{}),O=uT(Y_(Y_({},x),{},{props:o,graphicalItems:b}),null==n?void 0:n.legendBBox);Object.keys(x).forEach((function(t){x[t]=l(o,x[t],O,t.replace("Map",""),e)}));var S,j,P=x["".concat(g,"Map")],A=(S=Oa(P),{tooltipTicks:j=OO(S,!1,!0),orderedTooltipTicks:$d(j,(function(t){return t.coordinate})),tooltipAxis:S,tooltipAxisBandSize:IO(S,j)}),M=f(o,Y_(Y_({},x),{},{dataStartIndex:i,dataEndIndex:a,updateId:u,graphicalItems:b,stackGroups:w,offset:O}));return Y_(Y_({formattedGraphicalItems:M,graphicalItems:b,offset:O,stackGroups:w},A),x)},d=function(t){function r(t){var n,o,i;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,r),X_(i=$_(this,r,[t]),"eventEmitterSymbol",Symbol("rechartsEventEmitter")),X_(i,"accessibilityManager",new j_),X_(i,"handleLegendBBoxUpdate",(function(t){if(t){var e=i.state,r=e.dataStartIndex,n=e.dataEndIndex,o=e.updateId;i.setState(Y_({legendBBox:t},p({props:i.props,dataStartIndex:r,dataEndIndex:n,updateId:o},Y_(Y_({},i.state),{},{legendBBox:t}))))}})),X_(i,"handleReceiveSyncEvent",(function(t,e,r){if(i.props.syncId===t){if(r===i.eventEmitterSymbol&&"function"!=typeof i.props.syncMethod)return;i.applySyncEvent(e)}})),X_(i,"handleBrushChange",(function(t){var e=t.startIndex,r=t.endIndex;if(e!==i.state.dataStartIndex||r!==i.state.dataEndIndex){var n=i.state.updateId;i.setState((function(){return Y_({dataStartIndex:e,dataEndIndex:r},p({props:i.props,dataStartIndex:e,dataEndIndex:r,updateId:n},i.state))})),i.triggerSyncEvent({dataStartIndex:e,dataEndIndex:r})}})),X_(i,"handleMouseEnter",(function(t){var e=i.getMouseInfo(t);if(e){var r=Y_(Y_({},e),{},{isTooltipActive:!0});i.setState(r),i.triggerSyncEvent(r);var n=i.props.onMouseEnter;Qi(n)&&n(r,t)}})),X_(i,"triggeredAfterMouseMove",(function(t){var e=i.getMouseInfo(t),r=e?Y_(Y_({},e),{},{isTooltipActive:!0}):{isTooltipActive:!1};i.setState(r),i.triggerSyncEvent(r);var n=i.props.onMouseMove;Qi(n)&&n(r,t)})),X_(i,"handleItemMouseEnter",(function(t){i.setState((function(){return{isTooltipActive:!0,activeItem:t,activePayload:t.tooltipPayload,activeCoordinate:t.tooltipPosition||{x:t.cx,y:t.cy}}}))})),X_(i,"handleItemMouseLeave",(function(){i.setState((function(){return{isTooltipActive:!1}}))})),X_(i,"handleMouseMove",(function(t){t.persist(),i.throttleTriggeredAfterMouseMove(t)})),X_(i,"handleMouseLeave",(function(t){i.throttleTriggeredAfterMouseMove.cancel();var e={isTooltipActive:!1};i.setState(e),i.triggerSyncEvent(e);var r=i.props.onMouseLeave;Qi(r)&&r(e,t)})),X_(i,"handleOuterEvent",(function(t){var e,r=function(t){var e=t&&t.type;return e&&Ba[e]?Ba[e]:null}(t),n=qi(i.props,"".concat(r));r&&Qi(n)&&n(null!==(e=/.*touch.*/i.test(r)?i.getMouseInfo(t.changedTouches[0]):i.getMouseInfo(t))&&void 0!==e?e:{},t)})),X_(i,"handleClick",(function(t){var e=i.getMouseInfo(t);if(e){var r=Y_(Y_({},e),{},{isTooltipActive:!0});i.setState(r),i.triggerSyncEvent(r);var n=i.props.onClick;Qi(n)&&n(r,t)}})),X_(i,"handleMouseDown",(function(t){var e=i.props.onMouseDown;Qi(e)&&e(i.getMouseInfo(t),t)})),X_(i,"handleMouseUp",(function(t){var e=i.props.onMouseUp;Qi(e)&&e(i.getMouseInfo(t),t)})),X_(i,"handleTouchMove",(function(t){null!=t.changedTouches&&t.changedTouches.length>0&&i.throttleTriggeredAfterMouseMove(t.changedTouches[0])})),X_(i,"handleTouchStart",(function(t){null!=t.changedTouches&&t.changedTouches.length>0&&i.handleMouseDown(t.changedTouches[0])})),X_(i,"handleTouchEnd",(function(t){null!=t.changedTouches&&t.changedTouches.length>0&&i.handleMouseUp(t.changedTouches[0])})),X_(i,"triggerSyncEvent",(function(t){void 0!==i.props.syncId&&g_.emit(b_,i.props.syncId,t,i.eventEmitterSymbol)})),X_(i,"applySyncEvent",(function(t){var e=i.props,r=e.layout,n=e.syncMethod,o=i.state.updateId,a=t.dataStartIndex,c=t.dataEndIndex;if(void 0!==t.dataStartIndex||void 0!==t.dataEndIndex)i.setState(Y_({dataStartIndex:a,dataEndIndex:c},p({props:i.props,dataStartIndex:a,dataEndIndex:c,updateId:o},i.state)));else if(void 0!==t.activeTooltipIndex){var u=t.chartX,l=t.chartY,s=t.activeTooltipIndex,f=i.state,d=f.offset,h=f.tooltipTicks;if(!d)return;if("function"==typeof n)s=n(h,t);else if("value"===n){s=-1;for(var y=0;y<h.length;y++)if(h[y].value===t.activeLabel){s=y;break}}var v=Y_(Y_({},d),{},{x:d.left,y:d.top}),m=Math.min(u,v.x+v.width),g=Math.min(l,v.y+v.height),b=h[s]&&h[s].value,w=rT(i.state,i.props.data,s),x=h[s]?{x:"horizontal"===r?h[s].coordinate:m,y:"horizontal"===r?g:h[s].coordinate}:J_;i.setState(Y_(Y_({},t),{},{activeLabel:b,activeCoordinate:x,activePayload:w,activeTooltipIndex:s}))}else i.setState(t)})),X_(i,"renderCursor",(function(t){var r,n=i.state,o=n.isTooltipActive,a=n.activeCoordinate,c=n.activePayload,u=n.offset,l=n.activeTooltipIndex,s=n.tooltipAxisBandSize,f=i.getTooltipEventType(),p=null!==(r=t.props.active)&&void 0!==r?r:o,d=i.props.layout,h=t.key||"_recharts-cursor";return J.createElement(__,{key:h,activeCoordinate:a,activePayload:c,activeTooltipIndex:l,chartName:e,element:t,isActive:p,layout:d,offset:u,tooltipAxisBandSize:s,tooltipEventType:f})})),X_(i,"renderPolarAxis",(function(t,e,r){var n=qi(t,"type.axisType"),o=qi(i.state,"".concat(n,"Map")),a=t.type.defaultProps,c=void 0!==a?Y_(Y_({},a),t.props):t.props,u=o&&o[c["".concat(n,"Id")]];return lt(t,Y_(Y_({},u),{},{className:mn(n,u.className),key:t.key||"".concat(e,"-").concat(r),ticks:OO(u,!0)}))})),X_(i,"renderPolarGrid",(function(t){var e=t.props,r=e.radialLines,n=e.polarAngles,o=e.polarRadius,a=i.state,c=a.radiusAxisMap,u=a.angleAxisMap,l=Oa(c),s=Oa(u),f=s.cx,p=s.cy,d=s.innerRadius,h=s.outerRadius;return lt(t,{polarAngles:Array.isArray(n)?n:OO(s,!0).map((function(t){return t.coordinate})),polarRadius:Array.isArray(o)?o:OO(l,!0).map((function(t){return t.coordinate})),cx:f,cy:p,innerRadius:d,outerRadius:h,key:t.key||"polar-grid",radialLines:r})})),X_(i,"renderLegend",(function(){var t=i.state.formattedGraphicalItems,e=i.props,r=e.children,n=e.width,o=e.height,a=i.props.margin||{},c=n-(a.left||0)-(a.right||0),l=lO({children:r,formattedGraphicalItems:t,legendWidth:c,legendContent:u});if(!l)return null;var s=l.item,f=B_(l,T_);return lt(s,Y_(Y_({},f),{},{chartWidth:n,chartHeight:o,margin:a,onBBoxUpdate:i.handleLegendBBoxUpdate}))})),X_(i,"renderTooltip",(function(){var t,e=i.props,r=e.children,n=e.accessibilityLayer,o=Va(r,Lh);if(!o)return null;var a=i.state,c=a.isTooltipActive,u=a.activeCoordinate,l=a.activePayload,s=a.activeLabel,f=a.offset,p=null!==(t=o.props.active)&&void 0!==t?t:c;return lt(o,{viewBox:Y_(Y_({},f),{},{x:f.left,y:f.top}),active:p,label:s,payload:p?l:[],coordinate:u,accessibilityLayer:n})})),X_(i,"renderBrush",(function(t){var e=i.props,r=e.margin,n=e.data,o=i.state,a=o.offset,c=o.dataStartIndex,u=o.dataEndIndex,l=o.updateId;return lt(t,{key:t.key||"_recharts-brush",onChange:jO(i.handleBrushChange,t.props.onChange),data:n,x:ma(t.props.x)?t.props.x:a.left,y:ma(t.props.y)?t.props.y:a.top+a.height+a.brushBottom-(r.bottom||0),width:ma(t.props.width)?t.props.width:a.width,startIndex:c,endIndex:u,updateId:"brush-".concat(l)})})),X_(i,"renderReferenceElement",(function(t,e,r){if(!t)return null;var n=i.clipPathId,o=i.state,a=o.xAxisMap,c=o.yAxisMap,u=o.offset,l=t.type.defaultProps||{},s=t.props,f=s.xAxisId,p=void 0===f?l.xAxisId:f,d=s.yAxisId,h=void 0===d?l.yAxisId:d;return lt(t,{key:t.key||"".concat(e,"-").concat(r),xAxis:a[p],yAxis:c[h],viewBox:{x:u.left,y:u.top,width:u.width,height:u.height},clipPathId:n})})),X_(i,"renderActivePoints",(function(t){var e=t.item,n=t.activePoint,o=t.basePoint,i=t.childIndex,a=t.isRange,c=[],u=e.props.key,l=void 0!==e.item.type.defaultProps?Y_(Y_({},e.item.type.defaultProps),e.item.props):e.item.props,s=l.activeDot,f=Y_(Y_({index:i,dataKey:l.dataKey,cx:n.x,cy:n.y,r:4,fill:gO(e.item),strokeWidth:2,stroke:"#fff",payload:n.payload,value:n.value},Ya(s,!1)),_a(s));return c.push(r.renderActiveDot(s,f,"".concat(u,"-activePoint-").concat(i))),o?c.push(r.renderActiveDot(s,Y_(Y_({},f),{},{cx:o.x,cy:o.y}),"".concat(u,"-basePoint-").concat(i))):a&&c.push(null),c})),X_(i,"renderGraphicChild",(function(t,e,r){var n=i.filterFormatItem(t,e,r);if(!n)return null;var o=i.getTooltipEventType(),a=i.state,c=a.isTooltipActive,u=a.tooltipAxis,l=a.activeTooltipIndex,s=a.activeLabel,f=Va(i.props.children,Lh),p=n.props,d=p.points,h=p.isRange,y=p.baseLine,v=void 0!==n.item.type.defaultProps?Y_(Y_({},n.item.type.defaultProps),n.item.props):n.item.props,m=v.activeDot,g=v.hide,b=v.activeBar,w=v.activeShape,x=Boolean(!g&&c&&f&&(m||b||w)),O={};"axis"!==o&&f&&"click"===f.props.trigger?O={onClick:jO(i.handleItemMouseEnter,t.props.onClick)}:"axis"!==o&&(O={onMouseLeave:jO(i.handleItemMouseLeave,t.props.onMouseLeave),onMouseEnter:jO(i.handleItemMouseEnter,t.props.onMouseEnter)});var S=lt(t,Y_(Y_({},n.props),O));if(x){if(!(l>=0)){var j,P=(null!==(j=i.getItemByXY(i.state.activeCoordinate))&&void 0!==j?j:{graphicalItem:S}).graphicalItem,A=P.item,M=void 0===A?t:A,k=P.childIndex,E=Y_(Y_(Y_({},n.props),O),{},{activeIndex:k});return[lt(M,E),null,null]}var C,_;if(u.dataKey&&!u.allowDuplicatedCategory){var T="function"==typeof u.dataKey?function(t){return"function"==typeof u.dataKey?u.dataKey(t.payload):null}:"payload.".concat(u.dataKey.toString());C=ja(d,T,s),_=h&&y&&ja(y,T,s)}else C=null==d?void 0:d[l],_=h&&y&&y[l];if(w||b){var D=void 0!==t.props.activeIndex?t.props.activeIndex:l;return[lt(t,Y_(Y_(Y_({},n.props),O),{},{activeIndex:D})),null,null]}if(!Ki(C))return[S].concat(V_(i.renderActivePoints({item:n,activePoint:C,basePoint:_,childIndex:l,isRange:h})))}return h?[S,null,null]:[S,null]})),X_(i,"renderCustomized",(function(t,e,r){return lt(t,Y_(Y_({key:"recharts-customized-".concat(r)},i.props),i.state))})),X_(i,"renderMap",{CartesianGrid:{handler:Q_,once:!0},ReferenceArea:{handler:i.renderReferenceElement},ReferenceLine:{handler:Q_},ReferenceDot:{handler:i.renderReferenceElement},XAxis:{handler:Q_},YAxis:{handler:Q_},Brush:{handler:i.renderBrush,once:!0},Bar:{handler:i.renderGraphicChild},Line:{handler:i.renderGraphicChild},Area:{handler:i.renderGraphicChild},Radar:{handler:i.renderGraphicChild},RadialBar:{handler:i.renderGraphicChild},Scatter:{handler:i.renderGraphicChild},Pie:{handler:i.renderGraphicChild},Funnel:{handler:i.renderGraphicChild},Tooltip:{handler:i.renderCursor,once:!0},PolarGrid:{handler:i.renderPolarGrid,once:!0},PolarAngleAxis:{handler:i.renderPolarAxis},PolarRadiusAxis:{handler:i.renderPolarAxis},Customized:{handler:i.renderCustomized}}),i.clipPathId="".concat(null!==(n=t.id)&&void 0!==n?n:wa("recharts"),"-clip"),i.throttleTriggeredAfterMouseMove=Hh(i.triggeredAfterMouseMove,null!==(o=t.throttleDelay)&&void 0!==o?o:1e3/60),i.state={},i}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&F_(t,e)}(r,dt),R_(r,[{key:"componentDidMount",value:function(){var t,e;this.addListener(),this.accessibilityManager.setDetails({container:this.container,offset:{left:null!==(t=this.props.margin.left)&&void 0!==t?t:0,top:null!==(e=this.props.margin.top)&&void 0!==e?e:0},coordinateList:this.state.tooltipTicks,mouseHandlerCallback:this.triggeredAfterMouseMove,layout:this.props.layout}),this.displayDefaultTooltip()}},{key:"displayDefaultTooltip",value:function(){var t=this.props,e=t.children,r=t.data,n=t.height,o=t.layout,i=Va(e,Lh);if(i){var a=i.props.defaultIndex;if(!("number"!=typeof a||a<0||a>this.state.tooltipTicks.length-1)){var c=this.state.tooltipTicks[a]&&this.state.tooltipTicks[a].value,u=rT(this.state,r,a,c),l=this.state.tooltipTicks[a].coordinate,s=(this.state.offset.top+n)/2,f="horizontal"===o?{x:l,y:s}:{y:l,x:s},p=this.state.formattedGraphicalItems.find((function(t){return"Scatter"===t.item.type.name}));p&&(f=Y_(Y_({},f),p.props.points[a].tooltipPosition),u=p.props.points[a].tooltipPayload);var d={activeTooltipIndex:a,isTooltipActive:!0,activeLabel:c,activePayload:u,activeCoordinate:f};this.setState(d),this.renderCursor(i),this.accessibilityManager.setIndex(a)}}}},{key:"getSnapshotBeforeUpdate",value:function(t,e){if(!this.props.accessibilityLayer)return null;var r,n;(this.state.tooltipTicks!==e.tooltipTicks&&this.accessibilityManager.setDetails({coordinateList:this.state.tooltipTicks}),this.props.layout!==t.layout&&this.accessibilityManager.setDetails({layout:this.props.layout}),this.props.margin!==t.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(t){Xa([Va(t.children,Lh)],[Va(this.props.children,Lh)])||this.displayDefaultTooltip()}},{key:"componentWillUnmount",value:function(){this.removeListener(),this.throttleTriggeredAfterMouseMove.cancel()}},{key:"getTooltipEventType",value:function(){var t=Va(this.props.children,Lh);if(t&&"boolean"==typeof t.props.shared){var e=t.props.shared?"axis":"item";return a.indexOf(e)>=0?e:o}return o}},{key:"getMouseInfo",value:function(t){if(!this.container)return null;var e,r=this.container,n=r.getBoundingClientRect(),o={top:(e=n).top+window.scrollY-document.documentElement.clientTop,left:e.left+window.scrollX-document.documentElement.clientLeft},i={chartX:Math.round(t.pageX-o.left),chartY:Math.round(t.pageY-o.top)},a=n.width/r.offsetWidth||1,c=this.inRange(i.chartX,i.chartY,a);if(!c)return null;var u=this.state,l=u.xAxisMap,s=u.yAxisMap;if("axis"!==this.getTooltipEventType()&&l&&s){var f=Oa(l).scale,p=Oa(s).scale,d=f&&f.invert?f.invert(i.chartX):null,h=p&&p.invert?p.invert(i.chartY):null;return Y_(Y_({},i),{},{xValue:d,yValue:h})}var y=nT(this.state,this.props.data,this.props.layout,c);return y?Y_(Y_({},i),y):null}},{key:"inRange",value:function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,n=this.props.layout,o=t/r,i=e/r;if("horizontal"===n||"vertical"===n){var a=this.state.offset;return o>=a.left&&o<=a.left+a.width&&i>=a.top&&i<=a.top+a.height?{x:o,y:i}:null}var c=this.state,u=c.angleAxisMap,l=c.radiusAxisMap;if(u&&l){var s=Oa(u);return qO({x:o,y:i},s)}return null}},{key:"parseEventsOfWrapper",value:function(){var t=this.props.children,e=this.getTooltipEventType(),r=Va(t,Lh),n={};return r&&"axis"===e&&(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}),Y_(Y_({},_a(this.props,this.handleOuterEvent)),n)}},{key:"addListener",value:function(){g_.on(b_,this.handleReceiveSyncEvent)}},{key:"removeListener",value:function(){g_.removeListener(b_,this.handleReceiveSyncEvent)}},{key:"filterFormatItem",value:function(t,e,r){for(var n=this.state.formattedGraphicalItems,o=0,i=n.length;o<i;o++){var a=n[o];if(a.item===t||a.props.key===t.key||e===Ra(a.item.type)&&r===a.childIndex)return a}return null}},{key:"renderClipPath",value:function(){var t=this.clipPathId,e=this.state.offset,r=e.left,n=e.top,o=e.height,i=e.width;return J.createElement("defs",null,J.createElement("clipPath",{id:t},J.createElement("rect",{x:r,y:n,height:o,width:i})))}},{key:"getXScales",value:function(){var t=this.state.xAxisMap;return t?Object.entries(t).reduce((function(t,e){var r=L_(e,2),n=r[0],o=r[1];return Y_(Y_({},t),{},X_({},n,o.scale))}),{}):null}},{key:"getYScales",value:function(){var t=this.state.yAxisMap;return t?Object.entries(t).reduce((function(t,e){var r=L_(e,2),n=r[0],o=r[1];return Y_(Y_({},t),{},X_({},n,o.scale))}),{}):null}},{key:"getXScaleByAxisId",value:function(t){var e;return null===(e=this.state.xAxisMap)||void 0===e||null===(e=e[t])||void 0===e?void 0:e.scale}},{key:"getYScaleByAxisId",value:function(t){var e;return null===(e=this.state.yAxisMap)||void 0===e||null===(e=e[t])||void 0===e?void 0:e.scale}},{key:"getItemByXY",value:function(t){var e=this.state,r=e.formattedGraphicalItems,n=e.activeItem;if(r&&r.length)for(var o=0,i=r.length;o<i;o++){var a=r[o],c=a.props,u=a.item,l=void 0!==u.type.defaultProps?Y_(Y_({},u.type.defaultProps),u.props):u.props,s=Ra(u.type);if("Bar"===s){var f=(c.data||[]).find((function(e){return cA(t,e)}));if(f)return{graphicalItem:a,payload:f}}else if("RadialBar"===s){var p=(c.data||[]).find((function(e){return qO(t,e)}));if(p)return{graphicalItem:a,payload:p}}else if(rM(a,n)||nM(a,n)||oM(a,n)){var d=uM({graphicalItem:a,activeTooltipItem:n,itemData:l.data}),h=void 0===l.activeIndex?d:l.activeIndex;return{graphicalItem:Y_(Y_({},a),{},{childIndex:h}),payload:oM(a,n)?l.data[d]:a.props.data[d]}}}return null}},{key:"render",value:function(){var t=this;if(!Ua(this))return null;var e,r,n=this.props,o=n.children,i=n.className,a=n.width,c=n.height,u=n.style,l=n.compact,s=n.title,f=n.desc,p=B_(n,D_),d=Ya(p,!1);if(l)return J.createElement(Zk,{state:this.state,width:this.props.width,height:this.props.height,clipPathId:this.clipPathId},J.createElement(tc,N_({},d,{width:a,height:c,title:s,desc:f}),this.renderClipPath(),Ga(o,this.renderMap)));this.props.accessibilityLayer&&(d.tabIndex=null!==(e=this.props.tabIndex)&&void 0!==e?e:0,d.role=null!==(r=this.props.role)&&void 0!==r?r:"application",d.onKeyDown=function(e){t.accessibilityManager.keyboardEvent(e)},d.onFocus=function(){t.accessibilityManager.focus()});var h=this.parseEventsOfWrapper();return J.createElement(Zk,{state:this.state,width:this.props.width,height:this.props.height,clipPathId:this.clipPathId},J.createElement("div",N_({className:mn("recharts-wrapper",i),style:Y_({position:"relative",cursor:"default",width:a,height:c},u)},h,{ref:function(e){t.container=e}}),J.createElement(tc,N_({},d,{width:a,height:c,title:s,desc:f,style:Z_}),this.renderClipPath(),Ga(o,this.renderMap)),this.renderLegend(),this.renderTooltip()))}}])}();return X_(d,"displayName",e),X_(d,"defaultProps",Y_({layout:"horizontal",stackOffset:"none",barCategoryGap:"10%",barGap:4,margin:{top:5,right:5,bottom:5,left:5},reverseStackOrder:!1,syncMethod:"index"},s)),X_(d,"getDerivedStateFromProps",(function(t,e){var r=t.dataKey,n=t.data,o=t.children,i=t.width,a=t.height,c=t.layout,u=t.stackOffset,l=t.margin,s=e.dataStartIndex,f=e.dataEndIndex;if(void 0===e.updateId){var d=aT(t);return Y_(Y_(Y_({},d),{},{updateId:0},p(Y_(Y_({props:t},d),{},{updateId:0}),e)),{},{prevDataKey:r,prevData:n,prevWidth:i,prevHeight:a,prevLayout:c,prevStackOffset:u,prevMargin:l,prevChildren:o})}if(r!==e.prevDataKey||n!==e.prevData||i!==e.prevWidth||a!==e.prevHeight||c!==e.prevLayout||u!==e.prevStackOffset||!Pa(l,e.prevMargin)){var h=aT(t),y={chartX:e.chartX,chartY:e.chartY,isTooltipActive:e.isTooltipActive},v=Y_(Y_({},nT(e,n,c)),{},{updateId:e.updateId+1}),m=Y_(Y_(Y_({},h),y),v);return Y_(Y_(Y_({},m),p(Y_({props:t},m),e)),{},{prevDataKey:r,prevData:n,prevWidth:i,prevHeight:a,prevLayout:c,prevStackOffset:u,prevMargin:l,prevChildren:o})}if(!Xa(o,e.prevChildren)){var g,b,w,x,O=Va(o,IM),S=O&&null!==(g=null===(b=O.props)||void 0===b?void 0:b.startIndex)&&void 0!==g?g:s,j=O&&null!==(w=null===(x=O.props)||void 0===x?void 0:x.endIndex)&&void 0!==w?w:f,P=S!==s||j!==f,A=!Ki(n)&&!P?e.updateId:e.updateId+1;return Y_(Y_({updateId:A},p(Y_(Y_({props:t},e),{},{updateId:A,dataStartIndex:S,dataEndIndex:j}),e)),{},{prevChildren:o,dataStartIndex:S,dataEndIndex:j})}return null})),X_(d,"renderActiveDot",(function(t,e,r){var n;return n=Q(t)?lt(t,e):Qi(t)?t(e):J.createElement(fA,e),J.createElement(wc,{className:"recharts-active-dot",key:r},n)})),function(t){return J.createElement(d,t)}},fT=sT({chartName:"LineChart",GraphicalChild:MC,axisComponents:[{axisType:"xAxis",AxisComp:t_},{axisType:"yAxis",AxisComp:f_}],formatAxisMap:kk}),pT=sT({chartName:"AreaChart",GraphicalChild:VC,axisComponents:[{axisType:"xAxis",AxisComp:t_},{axisType:"yAxis",AxisComp:f_}],formatAxisMap:kk});const dT=({formatter:n,labelFormatter:o,payload:i,cx:a,cy:c})=>{const u=100;return Number.isFinite(i.value)?t("svg",{x:a-50,y:c-60,width:u,height:68,viewBox:"0 0 100 68",xmlns:"http://www.w3.org/2000/svg",children:[o&&t(r,{children:[e("rect",{fill:"white",width:"98",height:"45",stroke:Pr.coolElegance(),strokeWidth:"1",rx:"7",ry:"7",className:"shadow"}),e("text",{y:"14",x:"50%",fontSize:10,dominantBaseline:"middle",textAnchor:"middle",children:o(0,[{payload:i}])}),e("text",{y:"30",x:"50%",fontSize:11,dominantBaseline:"middle",textAnchor:"middle",fontWeight:"bold",children:n?n(i.value||0):i.value}),e("svg",{viewBox:"0 0 28 28",xmlns:"http://www.w3.org/2000/svg",y:"30",opacity:"0.7",children:e("path",{d:"M -14.041 -7.717 L -13.115 -6.975 L -14.952 -6.975 L -14.041 -7.717 Z",stroke:Pr.coolElegance(),transform:"matrix(-1, 0, 0, -1, 0, -2.220446049250313e-16)"})}),e("svg",{viewBox:"0 0 28 28",xmlns:"http://www.w3.org/2000/svg",y:"28",children:e("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)"})})]}),e("rect",{x:43,y:"52",width:14,height:14,rx:7,fill:"white",stroke:Pr.coolElegance(),strokeWidth:"2"})]}):e(r,{})},hT=({data:r,dataKey:n,width:o="100%",height:i="100%",areaType:a="linear",isAnimated:c=!1,formatter:u,labelFormatter:l,sampleRate:s,style:f})=>{const p=r?r.filter((t=>null!==t[n])):[],{isNetGain:d}=br({data:p,dataKey:n}),h=yn(),y=yn(),v=s?Sr({arr:r||[],n:s}):r;let m,g;v?.length?(g=d?Pr.mint():Pr.coolElegance(),m=v?.map((t=>{const e=parseFloat(t[n]);return{...t,[n]:Number.isFinite(e)?e:null}}))):(g=Pr.coolElegance(),m=[{[n]:1},{[n]:1}]);const b={cursor:v?.length?"crosshair":"default",...f};return e(Xh,{width:o,minHeight:i,id:h,children:t(pT,{data:m,margin:{top:20,right:0,left:0,bottom:20},style:b,children:[e("defs",{children:t("linearGradient",{id:y,x1:"0",y1:"0",x2:"0",y2:"1",children:[e("stop",{offset:"5%",stopColor:g,stopOpacity:.8}),e("stop",{offset:"95%",stopColor:g,stopOpacity:0})]})}),e(f_,{domain:v?.length?["dataMin","dataMax"]:[0,2],hide:!0}),e(VC,{type:a,dataKey:n,stroke:g,fill:`url(#${y})`,isAnimationActive:c,activeDot:t=>dT({chartId:h,labelFormatter:l,formatter:u,...t}),dot:!1}),v?.length&&e(Lh,{cursor:!1,content:()=>null})]})})},yT=({isCloseable:t,onClick:r})=>{const n=l({ssr:!1});return e(s,{children:e(f,{label:t?"Click to dismiss":null,hasArrow:!0,fontFamily:"mono",fontSize:"12px",children:e(p,{onClick:r,cursor:t?"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:Pr.black(),md:"white"},position:"fixed",top:"0",right:"0",padding:"2",fontSize:"xs",zIndex:"5",width:"10rem",boxShadow:"dark-lg",fontFamily:"mono",children:n})})})},vT=({children:t,...r})=>e(d,{border:"solid 1px",borderColor:Pr.coolElegance(),padding:"1",borderRadius:"lg",bg:"white",width:"fit-content",size:"sm",...r,children:t}),mT=({isSelected:t,children:r,...n})=>e(h,{variant:"none",paddingX:"1",fontSize:"sm",color:t?"brand.500":Pr.coolElegance(),bg:"transparent",border:"solid 1px",borderColor:t?"brand.50":"transparent",boxShadow:"none",_hover:{bg:"brand.50",color:"brand.500"},...n,children:r}),gT=({children:t,...r})=>e(y,{bg:"white",p:"4",gap:"4",w:"full",border:"solid 1px",borderColor:Pr.coolElegance(),boxShadow:"none",borderRadius:"xl",...r,children:t}),bT=r=>{const{carouselContents:n,isNavVertical:o,...i}=r,[a,c]=it(0);return n.length>=1&&e(gT,{children:t(v,{gap:10,direction:o?"column":{base:"column",md:"row"},...i,children:[n[a],t(v,{alignItems:"flex-end",justifyContent:"center",gap:6,children:[e(m,{variant:"ghost",isDisabled:0===a,"aria-label":"Previous content",icon:e(jt,{}),onClick:()=>{a>0&&a<=n.length-1&&c((t=>t-1))}}),e(m,{variant:"ghost",isDisabled:a===n.length-1,"aria-label":"Next content",icon:e(Pt,{}),onClick:()=>{a<n.length-1&&c((t=>t+1))}})]})]})})},wT=r=>{const{size:n,isDisabled:o,isReadOnly:i,isRequired:a,isIndeterminate:c,name:u,register:l,errorMessage:s,label:f,labelPosition:p="left",spaceBetween:d,onClick:h,...y}=r;let m;c||(m=e(kt,{}));const O=l?l(u):void 0;return t(g,{as:v,flexDir:"column",isInvalid:Boolean(s),isDisabled:o,isReadOnly:i,isRequired:a,children:[t(v,{onClick:h,w:"full",justifyContent:d?"space-between":"auto",children:["left"===p&&e(b,{fontSize:n,m:"0",mr:"3",children:f}),e(w,{icon:m,isDisabled:o,isReadOnly:i,isRequired:a,isIndeterminate:c,isInvalid:Boolean(s),size:n,...O,...y}),"right"===p&&e(b,{fontSize:n,m:"0",ml:"3",children:f})]}),e(v,{w:"full",children:s&&e(x,{size:n,children:s})})]})},xT=({children:t,onSubmit:r,...n})=>e(v,{as:"form",onSubmit:t=>{t.preventDefault(),r&&r(t)},noValidate:!0,gap:"6",flexDir:"column",...n,children:t});var OT=function(){return OT=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},OT.apply(this,arguments)};function ST(t,e,r){if(r||2===arguments.length)for(var n,o=0,i=e.length;o<i;o++)!n&&o in e||(n||(n=Array.prototype.slice.call(e,0,o)),n[o]=e[o]);return t.concat(n||Array.prototype.slice.call(e))}"function"==typeof SuppressedError&&SuppressedError;var jT=function(t){return t.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")},PT={k:1e3,m:1e6,b:1e9},AT=function(t){var e=t.value,r=t.groupSeparator,n=void 0===r?",":r,o=t.decimalSeparator,i=void 0===o?".":o,a=t.allowDecimals,c=void 0===a||a,u=t.decimalsLimit,l=void 0===u?2:u,s=t.allowNegativeValue,f=void 0===s||s,p=t.disableAbbreviations,d=void 0!==p&&p,h=t.prefix,y=void 0===h?"":h,v=t.transformRawValue,m=(void 0===v?function(t){return t}:v)(e);if("-"===m)return m;var g=d?[]:["k","m","b"],b=new RegExp("((^|\\D)-\\d)|(-".concat(jT(y),")")).test(m),w=RegExp("(\\d+)-?".concat(jT(y))).exec(e)||[],x=w[0],O=w[1],S=function(t,e){void 0===e&&(e=",");var r=new RegExp(jT(e),"g");return t.replace(r,"")}(y?x?m.replace(x,"").concat(O):m.replace(y,""):m,n),j=function(t,e){var r=jT(e.join("")),n=new RegExp("[^\\d".concat(r,"]"),"gi");return t.replace(n,"")}(S,ST([n,i],g,!0)),P=j;if(!d){if(g.some((function(t){return t===j.toLowerCase().replace(i,"")})))return"";var A=function(t,e){void 0===e&&(e=".");var r=new RegExp("(\\d+(".concat(jT(e),"\\d*)?)([kmb])$"),"i"),n=t.match(r);if(n){var o=n[1],i=n[3],a=PT[i.toLowerCase()];return Number(o.replace(e,"."))*a}}(j,i);A&&(P=String(A))}var M=b&&f?"-":"";if(i&&P.includes(i)){var k=j.split(i),E=k[0],C=k[1],_=l&&C?C.slice(0,l):C,T=c?"".concat(i).concat(_):"";return"".concat(M).concat(E).concat(T)}return"".concat(M).concat(P)},MT=function(t,e){var r=e.groupSeparator,n=void 0===r?",":r,o=e.decimalSeparator,i=void 0===o?".":o,a=new RegExp("\\d([^".concat(jT(n)).concat(jT(i),"0-9]+)")),c=t.match(a);return c?c[1]:void 0},kT=function(t){var e=t.value,r=t.decimalSeparator,n=t.intlConfig,o=t.decimalScale,i=t.prefix,a=void 0===i?"":i,c=t.suffix,u=void 0===c?"":c;if(""===e||void 0===e)return"";if("-"===e)return"-";var l=new RegExp("^\\d?-".concat(a?"".concat(jT(a),"?"):"","\\d")).test(e),s="."!==r?ET(e,r,l):e;r&&"-"!==r&&s.startsWith(r)&&(s="0"+s);var f={minimumFractionDigits:o||0,maximumFractionDigits:20},p=(n?new Intl.NumberFormat(n.locale,n.currency?OT(OT({},f),{style:"currency",currency:n.currency}):f):new Intl.NumberFormat(void 0,f)).formatToParts(Number(s)),d=CT(p,t),h=MT(d,OT({},t)),y=e.slice(-1)===r?r:"",v=(s.match(RegExp("\\d+\\.(\\d+)"))||[])[1];return void 0===o&&v&&r&&(d=d.includes(r)?d.replace(RegExp("(\\d+)(".concat(jT(r),")(\\d+)"),"g"),"$1$2".concat(v)):h&&!u?d.replace(h,"".concat(r).concat(v).concat(h)):"".concat(d).concat(r).concat(v)),u&&y?"".concat(d).concat(y).concat(u):h&&y?d.replace(h,"".concat(y).concat(h)):h&&u?d.replace(h,"".concat(y).concat(u)):[d,y,u].join("")},ET=function(t,e,r){var n=t;return e&&"."!==e&&(n=n.replace(RegExp(jT(e),"g"),"."),r&&"-"===e&&(n="-".concat(n.slice(1)))),n},CT=function(t,e){var r=e.prefix,n=e.groupSeparator,o=e.decimalSeparator,i=e.decimalScale,a=e.disableGroupSeparators,c=void 0!==a&&a;return t.reduce((function(t,e,a){var u=e.type,l=e.value;return 0===a&&r?"minusSign"===u?[l,r]:"currency"===u?ST(ST([],t,!0),[r],!1):[r,l]:"currency"===u?r?t:ST(ST([],t,!0),[l],!1):"group"===u?c?t:ST(ST([],t,!0),[void 0!==n?n:l],!1):"decimal"===u?void 0!==i&&0===i?t:ST(ST([],t,!0),[void 0!==o?o:l],!1):ST(ST([],t,!0),"fraction"===u?[void 0!==i?l.slice(0,i):l]:[l],!1)}),[""]).join("")},_T={currencySymbol:"",groupSeparator:"",decimalSeparator:"",prefix:"",suffix:""},TT=function(t){return RegExp(/\d/,"gi").test(t)},DT=rt((function(t,e){var r=t.allowDecimals,n=void 0===r||r,o=t.allowNegativeValue,i=void 0===o||o,a=t.id,c=t.name,u=t.className,l=t.customInput,s=t.decimalsLimit,f=t.defaultValue,p=t.disabled,d=void 0!==p&&p,h=t.maxLength,y=t.value,v=t.onValueChange,m=t.fixedDecimalLength,g=t.placeholder,b=t.decimalScale,w=t.prefix,x=t.suffix,O=t.intlConfig,S=t.step,j=t.min,P=t.max,A=t.disableGroupSeparators,M=void 0!==A&&A,k=t.disableAbbreviations,E=void 0!==k&&k,C=t.decimalSeparator,_=t.groupSeparator,T=t.onChange,D=t.onFocus,I=t.onBlur,N=t.onKeyDown,L=t.onKeyUp,B=t.transformRawValue,R=t.formatValueOnBlur,$=void 0===R||R,z=function(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(t);o<n.length;o++)e.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(r[n[o]]=t[n[o]])}return r}(t,["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&&TT(C))throw new Error("decimalSeparator cannot be a number");if(_&&TT(_))throw new Error("groupSeparator cannot be a number");var H=ut((function(){return function(t){var e=t||{},r=e.locale,n=e.currency;return(r?new Intl.NumberFormat(r,n?{currency:n,style:"currency"}:void 0):new Intl.NumberFormat).formatToParts(1000.1).reduce((function(t,e,r){return"currency"===e.type?OT(OT({},t),0===r?{currencySymbol:e.value,prefix:e.value}:{currencySymbol:e.value,suffix:e.value}):"group"===e.type?OT(OT({},t),{groupSeparator:e.value}):"decimal"===e.type?OT(OT({},t),{decimalSeparator:e.value}):t}),_T)}(O)}),[O]),F=C||H.decimalSeparator||"",V=_||H.groupSeparator||"";if(F&&V&&F===V&&!1===M)throw new Error("decimalSeparator cannot be the same as groupSeparator");var U={decimalSeparator:F,groupSeparator:V,disableGroupSeparators:M,intlConfig:O,prefix:w||H.prefix,suffix:x},W={decimalSeparator:F,groupSeparator:V,allowDecimals:n,decimalsLimit:s||m||2,allowNegativeValue:i,disableAbbreviations:E,prefix:w||H.prefix,transformRawValue:B},q=it((function(){return null!=f?kT(OT(OT({},U),{decimalScale:b,value:String(f)})):null!=y?kT(OT(OT({},U),{decimalScale:b,value:String(y)})):""})),Y=q[0],X=q[1],K=it(!1),G=K[0],Z=K[1],Q=it(0),tt=Q[0],et=Q[1],rt=it(0),at=rt[0],lt=rt[1],st=it(null),ft=st[0],pt=st[1],dt=nt(null);ot(e,(function(){return dt.current}));var ht=function(t,e){Z(!0);var r=function(t){var e=t.selectionStart,r=t.value,n=t.lastKeyStroke,o=t.stateValue,i=t.groupSeparator,a=e,c=r;if(o&&a){var u=r.split("");return"Backspace"===n&&o[a]===i&&(u.splice(a-1,1),a-=1),"Delete"===n&&o[a]===i&&(u.splice(a,1),a+=1),{modifiedValue:c=u.join(""),cursorPosition:a}}return{modifiedValue:c,cursorPosition:e}}({selectionStart:e,value:t,lastKeyStroke:ft,stateValue:Y,groupSeparator:V}),n=r.modifiedValue,o=r.cursorPosition,i=AT(OT({value:n},W));if(!(h&&i.replace(/-/g,"").length>h)){if(""===i||"-"===i||i===F)return v&&v(void 0,c,{float:null,formatted:"",value:""}),X(i),void et(1);var a=F?i.replace(F,"."):i,u=parseFloat(a),l=kT(OT({value:i},U));if(null!=o){var s=o+(l.length-t.length);s=s<=0?w?w.length:0:s,et(s),lt(at+1)}if(X(l),v)v(i,c,{float:u,formatted:l,value:i})}};ct((function(){null==y&&null==f&&X("")}),[f,y]),ct((function(){G&&"-"!==Y&&dt.current&&document.activeElement===dt.current&&dt.current.setSelectionRange(tt,tt)}),[Y,tt,dt,G,at]);var yt=OT({type:"text",inputMode:"decimal",id:a,name:c,className:u,onChange:function(t){var e=t.target,r=e.value,n=e.selectionStart;ht(r,n),T&&T(t)},onBlur:function(t){var e=t.target.value,r=AT(OT({value:e},W));if("-"===r||r===F||!r)return X(""),void(I&&I(t));var n=function(t,e,r){if(void 0!==r&&t.length>1){if(0===r)return t.replace(e,"");if(t.includes(e)){var n=t.split(e),o=n[0];if((c=n[1]).length===r)return t;if(c.length>r)return"".concat(o).concat(e).concat(c.slice(0,r))}var i=t.length>r?new RegExp("(\\d+)(\\d{".concat(r,"})")):new RegExp("(\\d)(\\d+)"),a=t.match(i);if(a){o=a[1];var c=a[2];return"".concat(o).concat(e).concat(c)}}return t}(r,F,m),o=function(t,e,r){if(void 0===e&&(e="."),void 0===r||""===t||void 0===t)return t;if(!t.match(/\d/g))return"";var n=t.split(e),o=n[0],i=n[1];if(0===r)return o;var a=i||"";if(a.length<r)for(;a.length<r;)a+="0";else a=a.slice(0,r);return"".concat(o).concat(e).concat(a)}(n,F,void 0!==b?b:m),i=parseFloat(o.replace(F,".")),a=kT(OT(OT({},U),{value:o}));v&&$&&v(o,c,{float:i,formatted:a,value:o}),X(a),I&&I(t)},onFocus:function(t){return D&&D(t),Y?Y.length:0},onKeyDown:function(t){var e=t.key;if(pt(e),S&&("ArrowUp"===e||"ArrowDown"===e)){t.preventDefault(),et(Y.length);var r=parseFloat(null!=y?String(y).replace(F,"."):AT(OT({value:Y},W)))||0,n="ArrowUp"===e?r+S:r-S;if(void 0!==j&&n<Number(j))return;if(void 0!==P&&n>Number(P))return;var o=String(S).includes(".")?Number(String(S).split(".")[1].length):void 0;ht(String(o?n.toFixed(o):n).replace(".",F))}N&&N(t)},onKeyUp:function(t){var e=t.key,r=t.currentTarget.selectionStart;if("ArrowUp"!==e&&"ArrowDown"!==e&&"-"!==Y){var n=MT(Y,{groupSeparator:V,decimalSeparator:F});if(n&&r&&r>Y.length-n.length&&dt.current){var o=Y.length-n.length;dt.current.setSelectionRange(o,o)}}L&&L(t)},placeholder:g,disabled:d,value:null==y||"-"===Y||F&&Y===F?Y:kT(OT(OT({},U),{decimalScale:G?void 0:b,value:String(y)})),ref:dt},z);if(l){var vt=l;return J.createElement(vt,OT({},yt))}return J.createElement("input",OT({},yt))}));DT.displayName="CurrencyInput";const IT=O(((r,n)=>{const{size:o,isDisabled:i,isReadOnly:a,isRequired:c,spellCheck:u=!1,name:l,label:s,register:f,errorMessage:p,helperText:d,leftAddon:h,leftElement:y,rightAddon:v,rightElement:m,type:w="text",containerCss:O,...C}=r,_=wr(o),T=f?f(l):void 0,D="currency"===w?{as:DT,placeholder:"$0.00",prefix:"$",allowNegative:!1,disableAbbreviations:!0}:{};return t(g,{isInvalid:Boolean(p),isDisabled:i,isReadOnly:a,isRequired:c,sx:O,children:[s&&e(b,{className:"cf-form-label",size:o,children:s}),t(S,{size:o,children:[h&&e(j,{children:h}),y&&e(P,{w:"auto",ml:"1em",children:y}),e(A,{size:o,spellCheck:u,paddingLeft:y&&"2.5em",paddingRight:m&&"2.5em",type:"currency"===w?"text":w,...T,...D,...C,ref:n||T?.ref}),m&&e(M,{w:"auto",mr:"1em",children:m}),v&&e(k,{children:v})]}),p&&e(x,{className:"cf-form-error",size:o,children:p}),d&&e(E,{className:"cf-form-helper-text",fontSize:_,children:d})]})}));var NT=t=>null==t;var LT=t=>!NT(t)&&!Array.isArray(t)&&(t=>"object"==typeof t)(t)&&!(t=>t instanceof Date)(t),BT=t=>{const e=t.constructor&&t.constructor.prototype;return LT(e)&&e.hasOwnProperty("isPrototypeOf")},RT="undefined"!=typeof window&&void 0!==window.HTMLElement&&"undefined"!=typeof document;function $T(t){let e;const r=Array.isArray(t);if(t instanceof Date)e=new Date(t);else if(t instanceof Set)e=new Set(t);else{if(RT&&(t instanceof Blob||t instanceof FileList)||!r&&!LT(t))return t;if(e=r?[]:{},r||BT(t))for(const r in t)t.hasOwnProperty(r)&&(e[r]=$T(t[r]));else e=t}return e}var zT=t=>Array.isArray(t)?t.filter(Boolean):[],HT=t=>void 0===t,FT=(t,e,r)=>{if(!e||!LT(t))return r;const n=zT(e.split(/[,[\].]+?/)).reduce(((t,e)=>NT(t)?t:t[e]),t);return HT(n)||n===t?HT(t[e])?r:t[e]:n},VT=t=>"boolean"==typeof t,UT=t=>/^\w*$/.test(t),WT=t=>zT(t.replace(/["|']|\]/g,"").split(/\.|\[/)),qT=(t,e,r)=>{let n=-1;const o=UT(e)?[e]:WT(e),i=o.length,a=i-1;for(;++n<i;){const e=o[n];let i=r;if(n!==a){const r=t[e];i=LT(r)||Array.isArray(r)?r:isNaN(+o[n+1])?{}:[]}if("__proto__"===e)return;t[e]=i,t=t[e]}return t};const YT="onBlur",XT="onChange",KT="onSubmit",GT="onTouched",ZT="all",JT="max",QT="min",tD="maxLength",eD="minLength",rD="pattern",nD="required",oD="validate",iD=J.createContext(null);var aD=t=>LT(t)&&!Object.keys(t).length,cD=t=>Array.isArray(t)?t:[t];var uD=t=>"string"==typeof t,lD=(t,e,r,n,o)=>e?{...r[t],types:{...r[t]&&r[t].types?r[t].types:{},[n]:o||!0}}:{},sD=()=>{const t="undefined"==typeof performance?Date.now():1e3*performance.now();return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(e=>{const r=(16*Math.random()+t)%16|0;return("x"==e?r:3&r|8).toString(16)}))},fD=(t,e,r={})=>r.shouldFocus||HT(r.shouldFocus)?r.focusName||`${t}.${HT(r.focusIndex)?e:r.focusIndex}.`:"",pD=t=>({isOnSubmit:!t||t===KT,isOnBlur:t===YT,isOnChange:t===XT,isOnAll:t===ZT,isOnTouch:t===GT});const dD=(t,e,r,n)=>{for(const r of Object.keys(t)){const o=FT(t,r);if(o){const{_f:t,...i}=o;if(t){if(t.refs&&t.refs[0]&&e(t.refs[0],r)&&!n)return!0;if(t.ref&&e(t.ref,t.name)&&!n)return!0;if(dD(i,e))break}else if(LT(i)&&dD(i,e))break}}};var hD=(t,e,r)=>{const n=cD(FT(t,r));return qT(n,"root",e[r]),qT(t,r,n),t},yD=t=>uD(t),vD=t=>t instanceof RegExp;function mD(t,e,r="validate"){if(yD(t)||Array.isArray(t)&&t.every(yD)||VT(t)&&!t)return{type:r,message:yD(t)?t:"",ref:e}}var gD=t=>LT(t)&&!vD(t)?t:{value:t,message:""},bD=async(t,e,r,n,o)=>{const{ref:i,refs:a,required:c,maxLength:u,minLength:l,min:s,max:f,pattern:p,validate:d,name:h,valueAsNumber:y,mount:v,disabled:m}=t._f,g=FT(e,h);if(!v||m)return{};const b=a?a[0]:i,w=t=>{n&&b.reportValidity&&(b.setCustomValidity(VT(t)?"":t||""),b.reportValidity())},x={};i.type,(t=>{t.type})(i);const O=(y||(t=>"file"===t.type)(i))&&HT(i.value)&&HT(g)||(t=>{if(!RT)return!1;const e=t?t.ownerDocument:0;return t instanceof(e&&e.defaultView?e.defaultView.HTMLElement:HTMLElement)})(i)&&""===i.value||""===g||Array.isArray(g)&&!g.length,S=lD.bind(null,h,r,x),j=(t,e,r,n=tD,o=eD)=>{const a=t?e:r;x[h]={type:t?n:o,message:a,ref:i,...S(t?n:o,a)}};if(!Array.isArray(g)||!g.length){const{value:t,message:e}=yD(c)?{value:!!c,message:c}:gD(c);if(t&&(x[h]={type:nD,message:e,ref:b,...S(nD,e)},!r))return w(e),x}if(!(O||NT(s)&&NT(f))){let t,e;const n=gD(f),o=gD(s);if(NT(g)||isNaN(g)){const r=i.valueAsDate||new Date(g),a=t=>new Date((new Date).toDateString()+" "+t),c="time"==i.type,u="week"==i.type;uD(n.value)&&g&&(t=c?a(g)>a(n.value):u?g>n.value:r>new Date(n.value)),uD(o.value)&&g&&(e=c?a(g)<a(o.value):u?g<o.value:r<new Date(o.value))}else{const r=i.valueAsNumber||(g?+g:g);NT(n.value)||(t=r>n.value),NT(o.value)||(e=r<o.value)}if((t||e)&&(j(!!t,n.message,o.message,JT,QT),!r))return w(x[h].message),x}if((u||l)&&!O&&(uD(g)||Array.isArray(g))){const t=gD(u),e=gD(l),n=!NT(t.value)&&g.length>+t.value,o=!NT(e.value)&&g.length<+e.value;if((n||o)&&(j(n,t.message,e.message),!r))return w(x[h].message),x}if(p&&!O&&uD(g)){const{value:t,message:e}=gD(p);if(vD(t)&&!g.match(t)&&(x[h]={type:rD,message:e,ref:i,...S(rD,e)},!r))return w(e),x}if(d)if("function"==typeof d){const t=mD(await d(g,e),b);if(t&&(x[h]={...t,...S(oD,t.message)},!r))return w(t.message),x}else if(LT(d)){let t={};for(const n in d){if(!aD(t)&&!r)break;const o=mD(await d[n](g,e),b,n);o&&(t={...o,...S(n,o.message)},w(o.message),r&&(x[h]=t))}if(!aD(t)&&(x[h]={ref:b,...t},!r))return x}return w(!0),x},wD=(t,e)=>[...t,...cD(e)],xD=t=>Array.isArray(t)?t.map((()=>{})):void 0;function OD(t,e,r){return[...t.slice(0,e),...cD(r),...t.slice(e)]}var SD=(t,e,r)=>Array.isArray(t)?(HT(t[r])&&(t[r]=void 0),t.splice(r,0,t.splice(e,1)[0]),t):[],jD=(t,e)=>[...cD(e),...cD(t)];var PD=(t,e)=>HT(e)?[]:function(t,e){let r=0;const n=[...t];for(const t of e)n.splice(t-r,1),r++;return zT(n).length?n:[]}(t,cD(e).sort(((t,e)=>t-e))),AD=(t,e,r)=>{[t[e],t[r]]=[t[r],t[e]]};function MD(t,e){const r=Array.isArray(e)?e:UT(e)?[e]:WT(e),n=1===r.length?t:function(t,e){const r=e.slice(0,-1).length;let n=0;for(;n<r;)t=HT(t)?n++:t[e[n++]];return t}(t,r),o=r.length-1,i=r[o];return n&&delete n[i],0!==o&&(LT(n)&&aD(n)||Array.isArray(n)&&function(t){for(const e in t)if(t.hasOwnProperty(e)&&!HT(t[e]))return!1;return!0}(n))&&MD(t,r.slice(0,-1)),t}var kD=(t,e,r)=>(t[e]=r,t);function ED(t){const e=J.useContext(iD),{control:r=e.control,name:n,keyName:o="id",shouldUnregister:i}=t,[a,c]=J.useState(r._getFieldArray(n)),u=J.useRef(r._getFieldArray(n).map(sD)),l=J.useRef(a),s=J.useRef(n),f=J.useRef(!1);s.current=n,l.current=a,r._names.array.add(n),t.rules&&r.register(n,t.rules),function(t){const e=J.useRef(t);e.current=t,J.useEffect((()=>{const r=!t.disabled&&e.current.subject&&e.current.subject.subscribe({next:e.current.next});return()=>{r&&r.unsubscribe()}}),[t.disabled])}({next:({values:t,name:e})=>{if(e===s.current||!e){const e=FT(t,s.current);Array.isArray(e)&&(c(e),u.current=e.map(sD))}},subject:r._subjects.array});const p=J.useCallback((t=>{f.current=!0,r._updateFieldArray(n,t)}),[r,n]);return J.useEffect((()=>{if(r._state.action=!1,((t,e,r)=>e.watchAll||e.watch.has(t)||[...e.watch].some((e=>t.startsWith(e)&&/^\.\w+/.test(t.slice(e.length)))))(n,r._names)&&r._subjects.state.next({...r._formState}),f.current&&(!pD(r._options.mode).isOnSubmit||r._formState.isSubmitted))if(r._options.resolver)r._executeSchema([n]).then((t=>{const e=FT(t.errors,n),o=FT(r._formState.errors,n);(o?!e&&o.type||e&&(o.type!==e.type||o.message!==e.message):e&&e.type)&&(e?qT(r._formState.errors,n,e):MD(r._formState.errors,n),r._subjects.state.next({errors:r._formState.errors}))}));else{const t=FT(r._fields,n);!t||!t._f||pD(r._options.reValidateMode).isOnSubmit&&pD(r._options.mode).isOnSubmit||bD(t,r._formValues,r._options.criteriaMode===ZT,r._options.shouldUseNativeValidation).then((t=>!aD(t)&&r._subjects.state.next({errors:hD(r._formState.errors,t,n)})))}r._subjects.values.next({name:n,values:{...r._formValues}}),r._names.focus&&dD(r._fields,((t,e)=>{if(r._names.focus&&e.startsWith(r._names.focus)&&t.focus)return t.focus(),1})),r._names.focus="",r._updateValid(),f.current=!1}),[a,n,r]),J.useEffect((()=>(!FT(r._formValues,n)&&r._updateFieldArray(n),()=>{(r._options.shouldUnregister||i)&&r.unregister(n)})),[n,r,o,i]),{swap:J.useCallback(((t,e)=>{const o=r._getFieldArray(n);AD(o,t,e),AD(u.current,t,e),p(o),c(o),r._updateFieldArray(n,o,AD,{argA:t,argB:e},!1)}),[p,n,r]),move:J.useCallback(((t,e)=>{const o=r._getFieldArray(n);SD(o,t,e),SD(u.current,t,e),p(o),c(o),r._updateFieldArray(n,o,SD,{argA:t,argB:e},!1)}),[p,n,r]),prepend:J.useCallback(((t,e)=>{const o=cD($T(t)),i=jD(r._getFieldArray(n),o);r._names.focus=fD(n,0,e),u.current=jD(u.current,o.map(sD)),p(i),c(i),r._updateFieldArray(n,i,jD,{argA:xD(t)})}),[p,n,r]),append:J.useCallback(((t,e)=>{const o=cD($T(t)),i=wD(r._getFieldArray(n),o);r._names.focus=fD(n,i.length-1,e),u.current=wD(u.current,o.map(sD)),p(i),c(i),r._updateFieldArray(n,i,wD,{argA:xD(t)})}),[p,n,r]),remove:J.useCallback((t=>{const e=PD(r._getFieldArray(n),t);u.current=PD(u.current,t),p(e),c(e),r._updateFieldArray(n,e,PD,{argA:t})}),[p,n,r]),insert:J.useCallback(((t,e,o)=>{const i=cD($T(e)),a=OD(r._getFieldArray(n),t,i);r._names.focus=fD(n,t,o),u.current=OD(u.current,t,i.map(sD)),p(a),c(a),r._updateFieldArray(n,a,OD,{argA:t,argB:xD(e)})}),[p,n,r]),update:J.useCallback(((t,e)=>{const o=$T(e),i=kD(r._getFieldArray(n),t,o);u.current=[...i].map(((e,r)=>e&&r!==t?u.current[r]:sD())),p(i),c([...i]),r._updateFieldArray(n,i,kD,{argA:t,argB:o},!0,!1)}),[p,n,r]),replace:J.useCallback((t=>{const e=cD($T(t));u.current=e.map(sD),p([...e]),c([...e]),r._updateFieldArray(n,[...e],(t=>t),{},!0,!1)}),[p,n,r]),fields:J.useMemo((()=>a.map(((t,e)=>({...t,[o]:u.current[e]||sD()})))),[a,o])}}const CD=({name:r,control:n,register:o,defaultValues:i,onArrayAppend:a,onArrayRemove:c})=>{const{fields:u,append:l,remove:s}=ED({control:n,name:r}),p=Object.keys(i).reduce(((t,e)=>({...t,[e]:i[e]})),{});return t(C,{children:[u.map(((n,i)=>e(C,{children:t(C,{pb:6,position:"relative",children:[Object.keys(n).filter((t=>"id"!==t)).map((t=>e(IT,{label:t,name:`${r}.${i}.${t}`,register:o},`${t}-${n.id}`))),e(f,{label:"Delete",children:e(v,{position:"absolute",top:"0",right:"0",children:e(h,{"aria-label":"Delete",size:"sm",variant:"ghost",onClick:()=>{s(i),c&&c(i)},minW:"2rem",p:"0",children:"X"})})})]})},n.id))),e(v,{children:e(h,{size:"sm",onClick:()=>{l(p),a&&a(p)},ml:"auto",children:"+"})})]})},_D=({data:r,dataKey:n,width:o="100%",height:i="100%",lineType:a="linear",isAnimated:c=!1,formatter:u,labelFormatter:l,sampleRate:s,style:f})=>{const{isNetGain:p}=br({data:r,dataKey:n}),d=yn(),h=s?Sr({arr:r||[],n:s}):r;let y,v;h?.length?(v=p?Pr.mint():Pr.heroicRed(),y=h?.map((t=>({...t,[n]:Number(t[n])||0})))):(v=Pr.coolElegance(),y=[{[n]:0},{[n]:0}]);const m={cursor:h?.length?"crosshair":"default",...f};return e(Xh,{width:o,minHeight:i,id:d,children:t(fT,{data:y,style:m,children:[e(f_,{domain:["dataMin","dataMax"],hide:!0}),e(MC,{isAnimationActive:c,type:a,dataKey:n,stroke:v,strokeWidth:"2",activeDot:t=>dT({chartId:d,labelFormatter:l,formatter:u,...t}),dot:!1,scale:"threshold"}),h?.length&&e(Lh,{cursor:!1,content:()=>null})]})})},TD=({isOpen:r,onClose:n,headerContent:o=null,footerContent:i=null,children:a,isCentered:c=!0,size:u={base:"md",md:"xl"},isDisabledCloseButton:l,bodyProps:s={},contentProps:f={},...p})=>{const d={maxHeight:"60vh",bg:"transparent",overflow:"scroll",...s},h={...{minWidth:kr},...f};return t(_,{blockScrollOnMount:!1,scrollBehavior:"inside",isOpen:r,onClose:n,isCentered:c,size:u,trapFocus:!xr(),...p,children:[e(T,{}),t(D,{...h,children:[e(I,{children:o}),e(N,{isDisabled:l}),e(L,{...d,children:a}),i&&e(B,{borderTop:"solid 1px",borderColor:Pr.coolElegance(),justifyContent:"flex-start",children:i})]})]})},DD=t=>{const{isActive:r,children:n,href:o,...i}=t;return e(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 ${Pr.black(.08)}`:"none",href:o,alignItems:"center",lineHeight:"1",position:"relative",padding:"2",zIndex:"3",transition:"border-color 0.25s",_hover:{borderColor:!r&&Pr.coolElegance(),textDecoration:"none"},...i,children:n},o)};var ID,ND={exports:{}};var LD,BD=(ID||(ID=1,LD=ND,function(t,e){LD.exports=e(J)}(0,(t=>(()=>{var e={703:(t,e,r)=>{var n=r(414);function o(){}function i(){}i.resetWarningCache=o,t.exports=function(){function t(t,e,r,o,i,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 e(){return t}t.isRequired=t;var r={array:t,bigint:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,elementType:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e,checkPropTypes:i,resetWarningCache:o};return r.PropTypes=r,r}},697:(t,e,r)=>{t.exports=r(703)()},414:t=>{t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},98:e=>{e.exports=t}},r={};function n(t){var o=r[t];if(void 0!==o)return o.exports;var i=r[t]={exports:{}};return e[t](i,i.exports,n),i.exports}n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var o={};return(()=>{n.r(o),n.d(o,{default:()=>w});var t=n(98),e=n.n(t),r=n(697),i=n.n(r);function a(){return a=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},a.apply(this,arguments)}var c=function(t){var r=t.pageClassName,n=t.pageLinkClassName,o=t.page,i=t.selected,c=t.activeClassName,u=t.activeLinkClassName,l=t.getEventListener,s=t.pageSelectedHandler,f=t.href,p=t.extraAriaContext,d=t.pageLabelBuilder,h=t.rel,y=t.ariaLabel||"Page "+o+(p?" "+p:""),v=null;return i&&(v="page",y=t.ariaLabel||"Page "+o+" is your current page",r=void 0!==r?r+" "+c:c,void 0!==n?void 0!==u&&(n=n+" "+u):n=u),e().createElement("li",{className:r},e().createElement("a",a({rel:h,role:f?void 0:"button",className:n,href:f,tabIndex:i?"-1":"0","aria-label":y,"aria-current":v,onKeyPress:s},l(s)),d(o)))};c.propTypes={pageSelectedHandler:i().func.isRequired,selected:i().bool.isRequired,pageClassName:i().string,pageLinkClassName:i().string,activeClassName:i().string,activeLinkClassName:i().string,extraAriaContext:i().string,href:i().string,ariaLabel:i().string,page:i().number.isRequired,getEventListener:i().func.isRequired,pageLabelBuilder:i().func.isRequired,rel:i().string};const u=c;function l(){return l=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},l.apply(this,arguments)}var s=function(t){var r=t.breakLabel,n=t.breakAriaLabel,o=t.breakClassName,i=t.breakLinkClassName,a=t.breakHandler,c=t.getEventListener,u=o||"break";return e().createElement("li",{className:u},e().createElement("a",l({className:i,role:"button",tabIndex:"0","aria-label":n,onKeyPress:a},c(a)),r))};s.propTypes={breakLabel:i().oneOfType([i().string,i().node]),breakAriaLabel:i().string,breakClassName:i().string,breakLinkClassName:i().string,breakHandler:i().func.isRequired,getEventListener:i().func.isRequired};const f=s;function p(t){return null!=t?t:arguments.length>1&&void 0!==arguments[1]?arguments[1]:""}function d(t){return d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},d(t)}function h(){return h=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},h.apply(this,arguments)}function y(t,e){return y=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},y(t,e)}function v(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function m(t){return m=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},m(t)}function g(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var b=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&y(t,e)}(c,t);var r,n,o,i,a=(o=c,i=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(t){return!1}}(),function(){var t,e=m(o);if(i){var r=m(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return function(t,e){if(e&&("object"===d(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return v(t)}(this,t)});function c(t){var r,n;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,c),g(v(r=a.call(this,t)),"handlePreviousPage",(function(t){var e=r.state.selected;r.handleClick(t,null,e>0?e-1:void 0,{isPrevious:!0})})),g(v(r),"handleNextPage",(function(t){var e=r.state.selected,n=r.props.pageCount;r.handleClick(t,null,e<n-1?e+1:void 0,{isNext:!0})})),g(v(r),"handlePageSelected",(function(t,e){if(r.state.selected===t)return r.callActiveCallback(t),void r.handleClick(e,null,void 0,{isActive:!0});r.handleClick(e,null,t)})),g(v(r),"handlePageChange",(function(t){r.state.selected!==t&&(r.setState({selected:t}),r.callCallback(t))})),g(v(r),"getEventListener",(function(t){return g({},r.props.eventListener,t)})),g(v(r),"handleClick",(function(t,e,n){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=o.isPrevious,a=void 0!==i&&i,c=o.isNext,u=void 0!==c&&c,l=o.isBreak,s=void 0!==l&&l,f=o.isActive,p=void 0!==f&&f;t.preventDefault?t.preventDefault():t.returnValue=!1;var d=r.state.selected,h=r.props.onClick,y=n;if(h){var v=h({index:e,selected:d,nextSelectedPage:n,event:t,isPrevious:a,isNext:u,isBreak:s,isActive:p});if(!1===v)return;Number.isInteger(v)&&(y=v)}void 0!==y&&r.handlePageChange(y)})),g(v(r),"handleBreakClick",(function(t,e){var n=r.state.selected;r.handleClick(e,t,n<t?r.getForwardJump():r.getBackwardJump(),{isBreak:!0})})),g(v(r),"callCallback",(function(t){void 0!==r.props.onPageChange&&"function"==typeof r.props.onPageChange&&r.props.onPageChange({selected:t})})),g(v(r),"callActiveCallback",(function(t){void 0!==r.props.onPageActive&&"function"==typeof r.props.onPageActive&&r.props.onPageActive({selected:t})})),g(v(r),"getElementPageRel",(function(t){var e=r.state.selected,n=r.props,o=n.nextPageRel,i=n.prevPageRel,a=n.selectedPageRel;return e-1===t?i:e===t?a:e+1===t?o:void 0})),g(v(r),"pagination",(function(){var t=[],n=r.props,o=n.pageRangeDisplayed,i=n.pageCount,a=n.marginPagesDisplayed,c=n.breakLabel,u=n.breakClassName,l=n.breakLinkClassName,s=n.breakAriaLabels,p=r.state.selected;if(i<=o)for(var d=0;d<i;d++)t.push(r.getPageElement(d));else{var h=o/2,y=o-h;p>i-o/2?h=o-(y=i-p):p<o/2&&(y=o-(h=p));var v,m,g=function(t){return r.getPageElement(t)},b=[];for(v=0;v<i;v++){var w=v+1;if(w<=a)b.push({type:"page",index:v,display:g(v)});else if(w>i-a)b.push({type:"page",index:v,display:g(v)});else if(v>=p-h&&v<=p+(0===p&&o>1?y-1:y))b.push({type:"page",index:v,display:g(v)});else if(c&&b.length>0&&b[b.length-1].display!==m&&(o>0||a>0)){var x=v<p?s.backward:s.forward;m=e().createElement(f,{key:v,breakAriaLabel:x,breakLabel:c,breakClassName:u,breakLinkClassName:l,breakHandler:r.handleBreakClick.bind(null,v),getEventListener:r.getEventListener}),b.push({type:"break",index:v,display:m})}}b.forEach((function(e,r){var n=e;"break"===e.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:e.index,display:g(e.index)}),t.push(n.display)}))}return t})),void 0!==t.initialPage&&void 0!==t.forcePage&&console.warn("(react-paginate): Both initialPage (".concat(t.initialPage,") and forcePage (").concat(t.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=t.initialPage?t.initialPage:t.forcePage?t.forcePage:0,r.state={selected:n},r}return r=c,(n=[{key:"componentDidMount",value:function(){var t=this.props,e=t.initialPage,r=t.disableInitialCallback,n=t.extraAriaContext,o=t.pageCount,i=t.forcePage;void 0===e||r||this.callCallback(e),n&&console.warn("DEPRECATED (react-paginate): The extraAriaContext prop is deprecated. You should now use the ariaLabelBuilder instead."),Number.isInteger(o)||console.warn("(react-paginate): The pageCount prop value provided is not an integer (".concat(o,"). Did you forget a Math.ceil()?")),void 0!==e&&e>o-1&&console.warn("(react-paginate): The initialPage prop provided is greater than the maximum page index from pageCount prop (".concat(e," > ").concat(o-1,").")),void 0!==i&&i>o-1&&console.warn("(react-paginate): The forcePage prop provided is greater than the maximum page index from pageCount prop (".concat(i," > ").concat(o-1,")."))}},{key:"componentDidUpdate",value:function(t){void 0!==this.props.forcePage&&this.props.forcePage!==t.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(t.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 t=this.state.selected,e=this.props,r=e.pageCount,n=t+e.pageRangeDisplayed;return n>=r?r-1:n}},{key:"getBackwardJump",value:function(){var t=this.state.selected-this.props.pageRangeDisplayed;return t<0?0:t}},{key:"getElementHref",value:function(t){var e=this.props,r=e.hrefBuilder,n=e.pageCount,o=e.hrefAllControls;if(r)return o||t>=0&&t<n?r(t+1,n,this.state.selected):void 0}},{key:"ariaLabelBuilder",value:function(t){var e=t===this.state.selected;if(this.props.ariaLabelBuilder&&t>=0&&t<this.props.pageCount){var r=this.props.ariaLabelBuilder(t+1,e);return this.props.extraAriaContext&&!e&&(r=r+" "+this.props.extraAriaContext),r}}},{key:"getPageElement",value:function(t){var r=this.state.selected,n=this.props,o=n.pageClassName,i=n.pageLinkClassName,a=n.activeClassName,c=n.activeLinkClassName,l=n.extraAriaContext,s=n.pageLabelBuilder;return e().createElement(u,{key:t,pageSelectedHandler:this.handlePageSelected.bind(null,t),selected:r===t,rel:this.getElementPageRel(t),pageClassName:o,pageLinkClassName:i,activeClassName:a,activeLinkClassName:c,extraAriaContext:l,href:this.getElementHref(t),ariaLabel:this.ariaLabelBuilder(t),page:t+1,pageLabelBuilder:s,getEventListener:this.getEventListener})}},{key:"render",value:function(){var t=this.props.renderOnZeroPageCount;if(0===this.props.pageCount&&void 0!==t)return t?t(this.props):t;var r=this.props,n=r.disabledClassName,o=r.disabledLinkClassName,i=r.pageCount,a=r.className,c=r.containerClassName,u=r.previousLabel,l=r.previousClassName,s=r.previousLinkClassName,f=r.previousAriaLabel,d=r.prevRel,y=r.nextLabel,v=r.nextClassName,m=r.nextLinkClassName,g=r.nextAriaLabel,b=r.nextRel,w=this.state.selected,x=0===w,O=w===i-1,S="".concat(p(l)).concat(x?" ".concat(p(n)):""),j="".concat(p(v)).concat(O?" ".concat(p(n)):""),P="".concat(p(s)).concat(x?" ".concat(p(o)):""),A="".concat(p(m)).concat(O?" ".concat(p(o)):""),M=x?"true":"false",k=O?"true":"false";return e().createElement("ul",{className:a||c,role:"navigation","aria-label":"Pagination"},e().createElement("li",{className:S},e().createElement("a",h({className:P,href:this.getElementHref(w-1),tabIndex:x?"-1":"0",role:"button",onKeyPress:this.handlePreviousPage,"aria-disabled":M,"aria-label":f,rel:d},this.getEventListener(this.handlePreviousPage)),u)),this.pagination(),e().createElement("li",{className:j},e().createElement("a",h({className:A,href:this.getElementHref(w+1),tabIndex:O?"-1":"0",role:"button",onKeyPress:this.handleNextPage,"aria-disabled":k,"aria-label":g,rel:b},this.getEventListener(this.handleNextPage)),y)))}}])&&function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}(r.prototype,n),Object.defineProperty(r,"prototype",{writable:!1}),c}(t.Component);g(b,"propTypes",{pageCount:i().number.isRequired,pageRangeDisplayed:i().number,marginPagesDisplayed:i().number,previousLabel:i().node,previousAriaLabel:i().string,prevPageRel:i().string,prevRel:i().string,nextLabel:i().node,nextAriaLabel:i().string,nextPageRel:i().string,nextRel:i().string,breakLabel:i().oneOfType([i().string,i().node]),breakAriaLabels:i().shape({forward:i().string,backward:i().string}),hrefBuilder:i().func,hrefAllControls:i().bool,onPageChange:i().func,onPageActive:i().func,onClick:i().func,initialPage:i().number,forcePage:i().number,disableInitialCallback:i().bool,containerClassName:i().string,className:i().string,pageClassName:i().string,pageLinkClassName:i().string,pageLabelBuilder:i().func,activeClassName:i().string,activeLinkClassName:i().string,previousClassName:i().string,nextClassName:i().string,previousLinkClassName:i().string,nextLinkClassName:i().string,disabledClassName:i().string,disabledLinkClassName:i().string,breakClassName:i().string,breakLinkClassName:i().string,extraAriaContext:i().string,ariaLabelBuilder:i().func,eventListener:i().string,renderOnZeroPageCount:i().func,selectedPageRel:i().string}),g(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(t){return t},eventListener:"onClick",renderOnZeroPageCount:void 0,selectedPageRel:"canonical",hrefAllControls:!1});const w=b})(),o})()))),ND.exports);const RD=n(Ze(BD)),$D=({totalRecords:t=0,recordsPerPage:r=10,pageRangeDisplayed:n=3,handlePageClick:o,forcePage:i,...a})=>{const c=Math.ceil(t/r);return e(v,{justifyContent:{base:"center",md:"flex-end"},fontSize:{base:14,md:18},gap:2,w:"full",...a,children:e(RD,{breakLabel:"...",previousLabel:"<",nextLabel:">",onPageChange:o,pageRangeDisplayed:n,pageCount:c,renderOnZeroPageCount:null,forcePage:i,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:Pr.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"}}})})},zD=({isLoading:r,hasMore:n,setLastEvaluatedKeyParams:o,lastEvaluatedKey:i,...a})=>{const[c,u]=it([]),[l,s]=it(1);return t(v,{w:"full",justifyContent:"flex-end",alignItems:"center",direction:"row",gap:4,...a,children:[e(h,{onClick:()=>{if(2===l)return o(void 0),u([]),void s((t=>t-1));const t=c.length-1,e=c[t-1];o(e),u((t=>t.slice(0,-1))),s((t=>t-1))},isDisabled:r||1===l,children:"Previous"}),e(h,{onClick:()=>{if(i){const t={lastEvaluatedPKey:i.pKey,lastEvaluatedSKey:i.sKey};o(t),u((e=>[...e,t])),s((t=>t+1))}},isDisabled:r||!n,children:"Next"})]})},HD=({children:t,isEnabled:r=!0,...n})=>{const o=r?ht`
31
+ */function dj(){if(QS)return JS;QS=1;var t=Object.getOwnPropertySymbols,e=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;return JS=function(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de","5"===Object.getOwnPropertyNames(t)[0])return!1;for(var e={},r=0;r<10;r++)e["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(e).map((function(t){return e[t]})).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach((function(t){n[t]=t})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(t){return!1}}()?Object.assign:function(n,o){for(var i,a,c=function(t){if(null==t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}(n),u=1;u<arguments.length;u++){for(var l in i=Object(arguments[u]))e.call(i,l)&&(c[l]=i[l]);if(t){a=t(i);for(var s=0;s<a.length;s++)r.call(i,a[s])&&(c[a[s]]=i[a[s]])}}return c},JS}function hj(){if(ej)return tj;ej=1;return tj="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}function yj(){return nj?rj:(nj=1,rj=Function.call.bind(Object.prototype.hasOwnProperty))}function vj(){if(ij)return oj;ij=1;var t=function(){};if("production"!==process.env.NODE_ENV){var e=hj(),r={},n=yj();t=function(t){var e="Warning: "+t;"undefined"!=typeof console&&console.error(e);try{throw new Error(e)}catch(t){}}}function o(o,i,a,c,u){if("production"!==process.env.NODE_ENV)for(var l in o)if(n(o,l)){var s;try{if("function"!=typeof o[l]){var f=Error((c||"React class")+": "+a+" type `"+l+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof o[l]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw f.name="Invariant Violation",f}s=o[l](i,l,c,a,null,e)}catch(t){s=t}if(!s||s instanceof Error||t((c||"React class")+": type specification of "+a+" `"+l+"` 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=u?u():"";t("Failed "+a+" type: "+s.message+(null!=p?p:""))}}}return o.resetWarningCache=function(){"production"!==process.env.NODE_ENV&&(r={})},oj=o}function mj(){if(cj)return aj;cj=1;var t=pj(),e=dj(),r=hj(),n=yj(),o=vj(),i=function(){};function a(){return null}return"production"!==process.env.NODE_ENV&&(i=function(t){var e="Warning: "+t;"undefined"!=typeof console&&console.error(e);try{throw new Error(e)}catch(t){}}),aj=function(c,u){var l="function"==typeof Symbol&&Symbol.iterator,s="@@iterator";var 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(t){return y((function(e,n,o,i,a){if("function"!=typeof t)return new h("Property `"+a+"` of component `"+o+"` has invalid PropType notation inside arrayOf.");var c=e[n];if(!Array.isArray(c))return new h("Invalid "+i+" `"+a+"` of type `"+b(c)+"` supplied to `"+o+"`, expected an array.");for(var u=0;u<c.length;u++){var l=t(c,u,o,i,a+"["+u+"]",r);if(l instanceof Error)return l}return null}))},element:y((function(t,e,r,n,o){var i=t[e];return c(i)?null:new h("Invalid "+n+" `"+o+"` of type `"+b(i)+"` supplied to `"+r+"`, expected a single ReactElement.")})),elementType:y((function(e,r,n,o,i){var a=e[r];return t.isValidElementType(a)?null:new h("Invalid "+o+" `"+i+"` of type `"+b(a)+"` supplied to `"+n+"`, expected a single ReactElement type.")})),instanceOf:function(t){return y((function(e,r,n,o,i){if(!(e[r]instanceof t)){var a=t.name||f;return new h("Invalid "+o+" `"+i+"` of type `"+(((c=e[r]).constructor&&c.constructor.name?c.constructor.name:f)+"` supplied to `")+n+"`, expected instance of `"+a+"`.")}var c;return null}))},node:y((function(t,e,r,n,o){return g(t[e])?null:new h("Invalid "+n+" `"+o+"` supplied to `"+r+"`, expected a ReactNode.")})),objectOf:function(t){return y((function(e,o,i,a,c){if("function"!=typeof t)return new h("Property `"+c+"` of component `"+i+"` has invalid PropType notation inside objectOf.");var u=e[o],l=b(u);if("object"!==l)return new h("Invalid "+a+" `"+c+"` of type `"+l+"` supplied to `"+i+"`, expected an object.");for(var s in u)if(n(u,s)){var f=t(u,s,i,a,c+"."+s,r);if(f instanceof Error)return f}return null}))},oneOf:function(t){if(!Array.isArray(t))return"production"!==process.env.NODE_ENV&&i(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;return y((function(e,r,n,o,i){for(var a=e[r],c=0;c<t.length;c++)if(d(a,t[c]))return null;var u=JSON.stringify(t,(function(t,e){return"symbol"===w(e)?String(e):e}));return new h("Invalid "+o+" `"+i+"` of value `"+String(a)+"` supplied to `"+n+"`, expected one of "+u+".")}))},oneOfType:function(t){if(!Array.isArray(t))return"production"!==process.env.NODE_ENV&&i("Invalid argument supplied to oneOfType, expected an instance of array."),a;for(var e=0;e<t.length;e++){var o=t[e];if("function"!=typeof o)return i("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+x(o)+" at index "+e+"."),a}return y((function(e,o,i,a,c){for(var u=[],l=0;l<t.length;l++){var s=(0,t[l])(e,o,i,a,c,r);if(null==s)return null;s.data&&n(s.data,"expectedType")&&u.push(s.data.expectedType)}return new h("Invalid "+a+" `"+c+"` supplied to `"+i+"`"+(u.length>0?", expected one of type ["+u.join(", ")+"]":"")+".")}))},shape:function(t){return y((function(e,n,o,i,a){var c=e[n],u=b(c);if("object"!==u)return new h("Invalid "+i+" `"+a+"` of type `"+u+"` supplied to `"+o+"`, expected `object`.");for(var l in t){var s=t[l];if("function"!=typeof s)return m(o,i,a,l,w(s));var f=s(c,l,o,i,a+"."+l,r);if(f)return f}return null}))},exact:function(t){return y((function(o,i,a,c,u){var l=o[i],s=b(l);if("object"!==s)return new h("Invalid "+c+" `"+u+"` of type `"+s+"` supplied to `"+a+"`, expected `object`.");var f=e({},o[i],t);for(var p in f){var d=t[p];if(n(t,p)&&"function"!=typeof d)return m(a,c,u,p,w(d));if(!d)return new h("Invalid "+c+" `"+u+"` key `"+p+"` supplied to `"+a+"`.\nBad object: "+JSON.stringify(o[i],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(t),null," "));var y=d(l,p,a,c,u+"."+p,r);if(y)return y}return null}))}};function d(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}function h(t,e){this.message=t,this.data=e&&"object"==typeof e?e:{},this.stack=""}function y(t){if("production"!==process.env.NODE_ENV)var e={},n=0;function o(o,a,c,l,s,p,d){if(l=l||f,p=p||c,d!==r){if(u){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=l+":"+c;!e[v]&&n<3&&(i("You are manually calling a React.PropTypes validation function for the `"+p+"` prop on `"+l+"`. 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."),e[v]=!0,n++)}}return null==a[c]?o?null===a[c]?new h("The "+s+" `"+p+"` is marked as required in `"+l+"`, but its value is `null`."):new h("The "+s+" `"+p+"` is marked as required in `"+l+"`, but its value is `undefined`."):null:t(a,c,l,s,p)}var a=o.bind(null,!1);return a.isRequired=o.bind(null,!0),a}function v(t){return y((function(e,r,n,o,i,a){var c=e[r];return b(c)!==t?new h("Invalid "+o+" `"+i+"` of type `"+w(c)+"` supplied to `"+n+"`, expected `"+t+"`.",{expectedType:t}):null}))}function m(t,e,r,n,o){return new h((t||"React class")+": "+e+" type `"+r+"."+n+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+o+"`.")}function g(t){switch(typeof t){case"number":case"string":case"undefined":return!0;case"boolean":return!t;case"object":if(Array.isArray(t))return t.every(g);if(null===t||c(t))return!0;var e=function(t){var e=t&&(l&&t[l]||t[s]);if("function"==typeof e)return e}(t);if(!e)return!1;var r,n=e.call(t);if(e!==t.entries){for(;!(r=n.next()).done;)if(!g(r.value))return!1}else for(;!(r=n.next()).done;){var o=r.value;if(o&&!g(o[1]))return!1}return!0;default:return!1}}function b(t){var e=typeof t;return Array.isArray(t)?"array":t instanceof RegExp?"object":function(t,e){return"symbol"===t||!!e&&("Symbol"===e["@@toStringTag"]||"function"==typeof Symbol&&e instanceof Symbol)}(e,t)?"symbol":e}function w(t){if(null==t)return""+t;var e=b(t);if("object"===e){if(t instanceof Date)return"date";if(t instanceof RegExp)return"regexp"}return e}function x(t){var e=w(t);switch(e){case"array":case"object":return"an "+e;case"boolean":case"date":case"regexp":return"a "+e;default:return e}}return h.prototype=Error.prototype,p.checkPropTypes=o,p.resetWarningCache=o.resetWarningCache,p.PropTypes=p,p},aj}function gj(){if(lj)return uj;lj=1;var t=hj();function e(){}function r(){}return r.resetWarningCache=e,uj=function(){function n(e,r,n,o,i,a){if(a!==t){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 o(){return n}n.isRequired=n;var i={array:n,bigint:n,bool:n,func:n,number:n,object:n,string:n,symbol:n,any:n,arrayOf:o,element:n,elementType:n,instanceOf:o,node:n,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:r,resetWarningCache:e};return i.PropTypes=i,i}}function bj(){if(sj)return YS.exports;if(sj=1,"production"!==process.env.NODE_ENV){var t=pj();YS.exports=mj()(t.isElement,true)}else YS.exports=gj()();return YS.exports}var wj=Je(bj()),xj=Object.getOwnPropertyNames,Oj=Object.getOwnPropertySymbols,Sj=Object.prototype.hasOwnProperty;function jj(t,e){return function(r,n,o){return t(r,n,o)&&e(r,n,o)}}function Pj(t){return function(e,r,n){if(!e||!r||"object"!=typeof e||"object"!=typeof r)return t(e,r,n);var o=n.cache,i=o.get(e),a=o.get(r);if(i&&a)return i===r&&a===e;o.set(e,r),o.set(r,e);var c=t(e,r,n);return o.delete(e),o.delete(r),c}}function Aj(t){return xj(t).concat(Oj(t))}var Mj=Object.hasOwn||function(t,e){return Sj.call(t,e)};function kj(t,e){return t||e?t===e:t===e||t!=t&&e!=e}var Ej="_owner",Cj=Object.getOwnPropertyDescriptor,_j=Object.keys;function Tj(t,e,r){var n=t.length;if(e.length!==n)return!1;for(;n-- >0;)if(!r.equals(t[n],e[n],n,n,t,e,r))return!1;return!0}function Dj(t,e){return kj(t.getTime(),e.getTime())}function Ij(t,e,r){if(t.size!==e.size)return!1;for(var n,o,i={},a=t.entries(),c=0;(n=a.next())&&!n.done;){for(var u=e.entries(),l=!1,s=0;(o=u.next())&&!o.done;){var f=n.value,p=f[0],d=f[1],h=o.value,y=h[0],v=h[1];l||i[s]||!(l=r.equals(p,y,c,s,t,e,r)&&r.equals(d,v,p,y,t,e,r))||(i[s]=!0),s++}if(!l)return!1;c++}return!0}function Nj(t,e,r){var n,o=_j(t),i=o.length;if(_j(e).length!==i)return!1;for(;i-- >0;){if((n=o[i])===Ej&&(t.$$typeof||e.$$typeof)&&t.$$typeof!==e.$$typeof)return!1;if(!Mj(e,n)||!r.equals(t[n],e[n],n,n,t,e,r))return!1}return!0}function Lj(t,e,r){var n,o,i,a=Aj(t),c=a.length;if(Aj(e).length!==c)return!1;for(;c-- >0;){if((n=a[c])===Ej&&(t.$$typeof||e.$$typeof)&&t.$$typeof!==e.$$typeof)return!1;if(!Mj(e,n))return!1;if(!r.equals(t[n],e[n],n,n,t,e,r))return!1;if(o=Cj(t,n),i=Cj(e,n),(o||i)&&(!o||!i||o.configurable!==i.configurable||o.enumerable!==i.enumerable||o.writable!==i.writable))return!1}return!0}function Bj(t,e){return kj(t.valueOf(),e.valueOf())}function Rj(t,e){return t.source===e.source&&t.flags===e.flags}function $j(t,e,r){if(t.size!==e.size)return!1;for(var n,o,i={},a=t.values();(n=a.next())&&!n.done;){for(var c=e.values(),u=!1,l=0;(o=c.next())&&!o.done;)u||i[l]||!(u=r.equals(n.value,o.value,n.value,o.value,t,e,r))||(i[l]=!0),l++;if(!u)return!1}return!0}function zj(t,e){var r=t.length;if(e.length!==r)return!1;for(;r-- >0;)if(t[r]!==e[r])return!1;return!0}var Hj="[object Arguments]",Fj="[object Boolean]",Vj="[object Date]",Uj="[object Map]",Wj="[object Number]",qj="[object Object]",Yj="[object RegExp]",Xj="[object Set]",Kj="[object String]",Gj=Array.isArray,Zj="function"==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView:null,Jj=Object.assign,Qj=Object.prototype.toString.call.bind(Object.prototype.toString);var tP=eP();function eP(t){void 0===t&&(t={});var e,r=t.circular,n=void 0!==r&&r,o=t.createInternalComparator,i=t.createState,a=t.strict,c=void 0!==a&&a,u=function(t){var e=t.circular,r=t.createCustomConfig,n=t.strict,o={areArraysEqual:n?Lj:Tj,areDatesEqual:Dj,areMapsEqual:n?jj(Ij,Lj):Ij,areObjectsEqual:n?Lj:Nj,arePrimitiveWrappersEqual:Bj,areRegExpsEqual:Rj,areSetsEqual:n?jj($j,Lj):$j,areTypedArraysEqual:n?Lj:zj};if(r&&(o=Jj({},o,r(o))),e){var i=Pj(o.areArraysEqual),a=Pj(o.areMapsEqual),c=Pj(o.areObjectsEqual),u=Pj(o.areSetsEqual);o=Jj({},o,{areArraysEqual:i,areMapsEqual:a,areObjectsEqual:c,areSetsEqual:u})}return o}(t),l=function(t){var e=t.areArraysEqual,r=t.areDatesEqual,n=t.areMapsEqual,o=t.areObjectsEqual,i=t.arePrimitiveWrappersEqual,a=t.areRegExpsEqual,c=t.areSetsEqual,u=t.areTypedArraysEqual;return function(t,l,s){if(t===l)return!0;if(null==t||null==l||"object"!=typeof t||"object"!=typeof l)return t!=t&&l!=l;var f=t.constructor;if(f!==l.constructor)return!1;if(f===Object)return o(t,l,s);if(Gj(t))return e(t,l,s);if(null!=Zj&&Zj(t))return u(t,l,s);if(f===Date)return r(t,l,s);if(f===RegExp)return a(t,l,s);if(f===Map)return n(t,l,s);if(f===Set)return c(t,l,s);var p=Qj(t);return p===Vj?r(t,l,s):p===Yj?a(t,l,s):p===Uj?n(t,l,s):p===Xj?c(t,l,s):p===qj?"function"!=typeof t.then&&"function"!=typeof l.then&&o(t,l,s):p===Hj?o(t,l,s):(p===Fj||p===Wj||p===Kj)&&i(t,l,s)}}(u),s=o?o(l):(e=l,function(t,r,n,o,i,a,c){return e(t,r,c)});return function(t){var e=t.circular,r=t.comparator,n=t.createState,o=t.equals,i=t.strict;if(n)return function(t,a){var c=n(),u=c.cache,l=void 0===u?e?new WeakMap:void 0:u,s=c.meta;return r(t,a,{cache:l,equals:o,meta:s,strict:i})};if(e)return function(t,e){return r(t,e,{cache:new WeakMap,equals:o,meta:void 0,strict:i})};var a={cache:void 0,equals:o,meta:void 0,strict:i};return function(t,e){return r(t,e,a)}}({circular:n,comparator:l,createState:i,equals:s,strict:c})}function rP(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=-1;requestAnimationFrame((function n(o){r<0&&(r=o),o-r>e?(t(o),r=-1):function(t){"undefined"!=typeof requestAnimationFrame&&requestAnimationFrame(t)}(n)}))}function nP(t){return nP="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},nP(t)}function oP(t){return function(t){if(Array.isArray(t))return t}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return iP(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return iP(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 iP(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function aP(){var t=function(){return null},e=!1,r=function r(n){if(!e){if(Array.isArray(n)){if(!n.length)return;var o=oP(n),i=o[0],a=o.slice(1);return"number"==typeof i?void rP(r.bind(null,a),i):(r(i),void rP(r.bind(null,a)))}"object"===nP(n)&&t(n),"function"==typeof n&&n()}};return{stop:function(){e=!0},start:function(t){e=!1,r(t)},subscribe:function(e){return t=e,function(){t=function(){return null}}}}}function cP(t){return cP="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},cP(t)}function uP(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function lP(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?uP(Object(r),!0).forEach((function(e){sP(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):uP(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function sP(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==cP(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==cP(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===cP(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}eP({strict:!0}),eP({circular:!0}),eP({circular:!0,strict:!0}),eP({createInternalComparator:function(){return kj}}),eP({strict:!0,createInternalComparator:function(){return kj}}),eP({circular:!0,createInternalComparator:function(){return kj}}),eP({circular:!0,createInternalComparator:function(){return kj},strict:!0});var fP=function(t){return t},pP=function(t,e){return Object.keys(e).reduce((function(r,n){return lP(lP({},r),{},sP({},n,t(n,e[n])))}),{})},dP=function(t,e,r){return t.map((function(t){return"".concat((n=t,n.replace(/([A-Z])/g,(function(t){return"-".concat(t.toLowerCase())})))," ").concat(e,"ms ").concat(r);var n})).join(",")},hP="production"!==process.env.NODE_ENV,yP=function(t,e,r,n,o,i,a,c){if(hP&&"undefined"!=typeof console&&console.warn&&(void 0===e&&console.warn("LogUtils requires an error message argument"),!t))if(void 0===e)console.warn("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[r,n,o,i,a,c],l=0;console.warn(e.replace(/%s/g,(function(){return u[l++]})))}};function vP(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e);else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||gP(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 mP(t){return function(t){if(Array.isArray(t))return bP(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||gP(t)||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 gP(t,e){if(t){if("string"==typeof t)return bP(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?bP(t,e):void 0}}function bP(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var wP=1e-4,xP=function(t,e){return[0,3*t,3*e-6*t,3*t-3*e+1]},OP=function(t,e){return t.map((function(t,r){return t*Math.pow(e,r)})).reduce((function(t,e){return t+e}))},SP=function(t,e){return function(r){var n=xP(t,e);return OP(n,r)}},jP=function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];var n=e[0],o=e[1],i=e[2],a=e[3];if(1===e.length)switch(e[0]){case"linear":n=0,o=0,i=1,a=1;break;case"ease":n=.25,o=.1,i=.25,a=1;break;case"ease-in":n=.42,o=0,i=1,a=1;break;case"ease-out":n=.42,o=0,i=.58,a=1;break;case"ease-in-out":n=0,o=0,i=.58,a=1;break;default:var c=e[0].split("(");if("cubic-bezier"===c[0]&&4===c[1].split(")")[0].split(",").length){var u=c[1].split(")")[0].split(",").map((function(t){return parseFloat(t)})),l=vP(u,4);n=l[0],o=l[1],i=l[2],a=l[3]}else yP(!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",e)}yP([n,i,o,a].every((function(t){return"number"==typeof t&&t>=0&&t<=1})),"[configBezier]: arguments should be x1, y1, x2, y2 of [0, 1] instead received %s",e);var s,f,p=SP(n,i),d=SP(o,a),h=(s=n,f=i,function(t){var e=xP(s,f),r=[].concat(mP(e.map((function(t,e){return t*e})).slice(1)),[0]);return OP(r,t)}),y=function(t){for(var e,r=t>1?1:t,n=r,o=0;o<8;++o){var i=p(n)-r,a=h(n);if(Math.abs(i-r)<wP||a<wP)return d(n);n=(e=n-i/a)>1?1:e<0?0:e}return d(n)};return y.isStepper=!1,y},PP=function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];var n=e[0];if("string"==typeof n)switch(n){case"ease":case"ease-in-out":case"ease-out":case"ease-in":case"linear":return jP(n);case"spring":return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.stiff,r=void 0===e?100:e,n=t.damping,o=void 0===n?8:n,i=t.dt,a=void 0===i?17:i,c=function(t,e,n){var i=n+(-(t-e)*r-n*o)*a/1e3,c=n*a/1e3+t;return Math.abs(c-e)<wP&&Math.abs(i)<wP?[e,0]:[c,i]};return c.isStepper=!0,c.dt=a,c}();default:if("cubic-bezier"===n.split("(")[0])return jP(n);yP(!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",e)}return"function"==typeof n?n:(yP(!1,"[configEasing]: first argument type should be function or string, instead received %s",e),null)};function AP(t){return AP="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},AP(t)}function MP(t){return function(t){if(Array.isArray(t))return DP(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||TP(t)||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 kP(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function EP(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?kP(Object(r),!0).forEach((function(e){CP(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):kP(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function CP(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==AP(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==AP(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===AP(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function _P(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e);else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||TP(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 TP(t,e){if(t){if("string"==typeof t)return DP(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?DP(t,e):void 0}}function DP(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var IP=function(t,e,r){return t+(e-t)*r},NP=function(t){return t.from!==t.to},LP=function t(e,r,n){var o=pP((function(t,r){if(NP(r)){var n=_P(e(r.from,r.to,r.velocity),2),o=n[0],i=n[1];return EP(EP({},r),{},{from:o,velocity:i})}return r}),r);return n<1?pP((function(t,e){return NP(e)?EP(EP({},e),{},{velocity:IP(e.velocity,o[t].velocity,n),from:IP(e.from,o[t].from,n)}):e}),r):t(e,o,n-1)},BP=function(t,e,r,n,o){var i,a,c,u,l=(i=t,a=e,[Object.keys(i),Object.keys(a)].reduce((function(t,e){return t.filter((function(t){return e.includes(t)}))}))),s=l.reduce((function(r,n){return EP(EP({},r),{},CP({},n,[t[n],e[n]]))}),{}),f=l.reduce((function(r,n){return EP(EP({},r),{},CP({},n,{from:t[n],velocity:0,to:e[n]}))}),{}),p=-1,d=function(){return null};return d=r.isStepper?function(n){c||(c=n);var i=(n-c)/r.dt;f=LP(r,f,i),o(EP(EP(EP({},t),e),pP((function(t,e){return e.from}),f))),c=n,Object.values(f).filter(NP).length&&(p=requestAnimationFrame(d))}:function(i){u||(u=i);var a=(i-u)/n,c=pP((function(t,e){return IP.apply(void 0,MP(e).concat([r(a)]))}),s);if(o(EP(EP(EP({},t),e),c)),a<1)p=requestAnimationFrame(d);else{var l=pP((function(t,e){return IP.apply(void 0,MP(e).concat([r(1)]))}),s);o(EP(EP(EP({},t),e),l))}},function(){return requestAnimationFrame(d),function(){cancelAnimationFrame(p)}}};function RP(t){return RP="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},RP(t)}var $P=["children","begin","duration","attributeName","easing","isActive","steps","from","to","canBegin","onAnimationEnd","shouldReAnimate","onAnimationReStart"];function zP(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function HP(t){return function(t){if(Array.isArray(t))return FP(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return FP(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return FP(t,e)}(t)||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 FP(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function VP(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function UP(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?VP(Object(r),!0).forEach((function(e){WP(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):VP(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function WP(t,e,r){return(e=YP(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function qP(t,e,r){return e&&function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,YP(n.key),n)}}(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}function YP(t){var e=function(t,e){if("object"!==RP(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==RP(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===RP(e)?e:String(e)}function XP(t,e){return XP=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},XP(t,e)}function KP(t){var e=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(t){return!1}}();return function(){var r,n=JP(t);if(e){var o=JP(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return GP(this,r)}}function GP(t,e){if(e&&("object"===RP(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return ZP(t)}function ZP(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function JP(t){return JP=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},JP(t)}var QP=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&XP(t,e)}(r,et);var e=KP(r);function r(t,n){var o;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,r);var i=(o=e.call(this,t,n)).props,a=i.isActive,c=i.attributeName,u=i.from,l=i.to,s=i.steps,f=i.children,p=i.duration;if(o.handleStyleChange=o.handleStyleChange.bind(ZP(o)),o.changeStyle=o.changeStyle.bind(ZP(o)),!a||p<=0)return o.state={style:{}},"function"==typeof f&&(o.state={style:l}),GP(o);if(s&&s.length)o.state={style:s[0].style};else if(u){if("function"==typeof f)return o.state={style:u},GP(o);o.state={style:c?WP({},c,u):u}}else o.state={style:{}};return o}return qP(r,[{key:"componentDidMount",value:function(){var t=this.props,e=t.isActive,r=t.canBegin;this.mounted=!0,e&&r&&this.runAnimation(this.props)}},{key:"componentDidUpdate",value:function(t){var e=this.props,r=e.isActive,n=e.canBegin,o=e.attributeName,i=e.shouldReAnimate,a=e.to,c=e.from,u=this.state.style;if(n)if(r){if(!(tP(t.to,a)&&t.canBegin&&t.isActive)){var l=!t.canBegin||!t.isActive;this.manager&&this.manager.stop(),this.stopJSAnimation&&this.stopJSAnimation();var s=l||i?c:t.to;if(this.state&&u){var f={style:o?WP({},o,s):s};(o&&u[o]!==s||!o&&u!==s)&&this.setState(f)}this.runAnimation(UP(UP({},this.props),{},{from:s,begin:0}))}}else{var p={style:o?WP({},o,a):a};this.state&&u&&(o&&u[o]!==a||!o&&u!==a)&&this.setState(p)}}},{key:"componentWillUnmount",value:function(){this.mounted=!1;var t=this.props.onAnimationEnd;this.unSubscribe&&this.unSubscribe(),this.manager&&(this.manager.stop(),this.manager=null),this.stopJSAnimation&&this.stopJSAnimation(),t&&t()}},{key:"handleStyleChange",value:function(t){this.changeStyle(t)}},{key:"changeStyle",value:function(t){this.mounted&&this.setState({style:t})}},{key:"runJSAnimation",value:function(t){var e=this,r=t.from,n=t.to,o=t.duration,i=t.easing,a=t.begin,c=t.onAnimationEnd,u=t.onAnimationStart,l=BP(r,n,PP(i),o,this.changeStyle);this.manager.start([u,a,function(){e.stopJSAnimation=l()},o,c])}},{key:"runStepAnimation",value:function(t){var e=this,r=t.steps,n=t.begin,o=t.onAnimationStart,i=r[0],a=i.style,c=i.duration,u=void 0===c?0:c;return this.manager.start([o].concat(HP(r.reduce((function(t,n,o){if(0===o)return t;var i=n.duration,a=n.easing,c=void 0===a?"ease":a,u=n.style,l=n.properties,s=n.onAnimationEnd,f=o>0?r[o-1]:n,p=l||Object.keys(u);if("function"==typeof c||"spring"===c)return[].concat(HP(t),[e.runJSAnimation.bind(e,{from:f.style,to:u,duration:i,easing:c}),i]);var d=dP(p,i,c),h=UP(UP(UP({},f.style),u),{},{transition:d});return[].concat(HP(t),[h,i,s]).filter(fP)}),[a,Math.max(u,n)])),[t.onAnimationEnd]))}},{key:"runAnimation",value:function(t){this.manager||(this.manager=aP());var e=t.begin,r=t.duration,n=t.attributeName,o=t.to,i=t.easing,a=t.onAnimationStart,c=t.onAnimationEnd,u=t.steps,l=t.children,s=this.manager;if(this.unSubscribe=s.subscribe(this.handleStyleChange),"function"!=typeof i&&"function"!=typeof l&&"spring"!==i)if(u.length>1)this.runStepAnimation(t);else{var f=n?WP({},n,o):o,p=dP(Object.keys(f),r,i);s.start([a,e,UP(UP({},f),{},{transition:p}),r,c])}else this.runJSAnimation(t)}},{key:"render",value:function(){var t=this.props,e=t.children;t.begin;var r=t.duration;t.attributeName,t.easing;var n=t.isActive;t.steps,t.from,t.to,t.canBegin,t.onAnimationEnd,t.shouldReAnimate,t.onAnimationReStart;var o=zP(t,$P),i=tt.count(e),a=this.state.style;if("function"==typeof e)return e(a);if(!n||0===i||r<=0)return e;var c=function(t){var e=t.props,r=e.style,n=void 0===r?{}:r,i=e.className;return lt(t,UP(UP({},o),{},{style:UP(UP({},n),a),className:i}))};return 1===i?c(tt.only(e)):J.createElement("div",null,tt.map(e,(function(t){return c(t)})))}}]),r}();function tA(t){return tA="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},tA(t)}function eA(){return eA=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},eA.apply(this,arguments)}function rA(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e);else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return nA(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return nA(t,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 nA(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function oA(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function iA(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?oA(Object(r),!0).forEach((function(e){aA(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):oA(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function aA(t,e,r){return e=function(t){var e=function(t,e){if("object"!=tA(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=tA(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==tA(e)?e:e+""}(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}QP.displayName="Animate",QP.defaultProps={begin:0,duration:1e3,from:"",to:"",attributeName:"",easing:"ease",isActive:!0,canBegin:!0,steps:[],onAnimationEnd:function(){},onAnimationStart:function(){}},QP.propTypes={from:wj.oneOfType([wj.object,wj.string]),to:wj.oneOfType([wj.object,wj.string]),attributeName:wj.string,duration:wj.number,begin:wj.number,easing:wj.oneOfType([wj.string,wj.func]),steps:wj.arrayOf(wj.shape({duration:wj.number.isRequired,style:wj.object.isRequired,easing:wj.oneOfType([wj.oneOf(["ease","ease-in","ease-out","ease-in-out","linear"]),wj.func]),properties:wj.arrayOf("string"),onAnimationEnd:wj.func})),children:wj.oneOfType([wj.node,wj.func]),isActive:wj.bool,canBegin:wj.bool,onAnimationEnd:wj.func,shouldReAnimate:wj.bool,onAnimationStart:wj.func,onAnimationReStart:wj.func},wj.object,wj.object,wj.object,wj.element,wj.object,wj.object,wj.object,wj.oneOfType([wj.array,wj.element]),wj.any;var cA=function(t,e,r,n,o){var i,a=Math.min(Math.abs(r)/2,Math.abs(n)/2),c=n>=0?1:-1,u=r>=0?1:-1,l=n>=0&&r>=0||n<0&&r<0?1:0;if(a>0&&o instanceof Array){for(var s=[0,0,0,0],f=0;f<4;f++)s[f]=o[f]>a?a:o[f];i="M".concat(t,",").concat(e+c*s[0]),s[0]>0&&(i+="A ".concat(s[0],",").concat(s[0],",0,0,").concat(l,",").concat(t+u*s[0],",").concat(e)),i+="L ".concat(t+r-u*s[1],",").concat(e),s[1]>0&&(i+="A ".concat(s[1],",").concat(s[1],",0,0,").concat(l,",\n ").concat(t+r,",").concat(e+c*s[1])),i+="L ".concat(t+r,",").concat(e+n-c*s[2]),s[2]>0&&(i+="A ".concat(s[2],",").concat(s[2],",0,0,").concat(l,",\n ").concat(t+r-u*s[2],",").concat(e+n)),i+="L ".concat(t+u*s[3],",").concat(e+n),s[3]>0&&(i+="A ".concat(s[3],",").concat(s[3],",0,0,").concat(l,",\n ").concat(t,",").concat(e+n-c*s[3])),i+="Z"}else if(a>0&&o===+o&&o>0){var p=Math.min(a,o);i="M ".concat(t,",").concat(e+c*p,"\n A ").concat(p,",").concat(p,",0,0,").concat(l,",").concat(t+u*p,",").concat(e,"\n L ").concat(t+r-u*p,",").concat(e,"\n A ").concat(p,",").concat(p,",0,0,").concat(l,",").concat(t+r,",").concat(e+c*p,"\n L ").concat(t+r,",").concat(e+n-c*p,"\n A ").concat(p,",").concat(p,",0,0,").concat(l,",").concat(t+r-u*p,",").concat(e+n,"\n L ").concat(t+u*p,",").concat(e+n,"\n A ").concat(p,",").concat(p,",0,0,").concat(l,",").concat(t,",").concat(e+n-c*p," Z")}else i="M ".concat(t,",").concat(e," h ").concat(r," v ").concat(n," h ").concat(-r," Z");return i},uA=function(t,e){if(!t||!e)return!1;var r=t.x,n=t.y,o=e.x,i=e.y,a=e.width,c=e.height;if(Math.abs(a)>0&&Math.abs(c)>0){var u=Math.min(o,o+a),l=Math.max(o,o+a),s=Math.min(i,i+c),f=Math.max(i,i+c);return r>=u&&r<=l&&n>=s&&n<=f}return!1},lA={x:0,y:0,width:0,height:0,radius:0,isAnimationActive:!1,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"},sA=function(t){var e=iA(iA({},lA),t),r=nt(),n=rA(it(-1),2),o=n[0],i=n[1];ct((function(){if(r.current&&r.current.getTotalLength)try{var t=r.current.getTotalLength();t&&i(t)}catch(t){}}),[]);var a=e.x,c=e.y,u=e.width,l=e.height,s=e.radius,f=e.className,p=e.animationEasing,d=e.animationDuration,h=e.animationBegin,y=e.isAnimationActive,v=e.isUpdateAnimationActive;if(a!==+a||c!==+c||u!==+u||l!==+l||0===u||0===l)return null;var m=gn("recharts-rectangle",f);return v?J.createElement(QP,{canBegin:o>0,from:{width:u,height:l,x:a,y:c},to:{width:u,height:l,x:a,y:c},duration:d,animationEasing:p,isActive:v},(function(t){var n=t.width,i=t.height,a=t.x,c=t.y;return J.createElement(QP,{canBegin:o>0,from:"0px ".concat(-1===o?1:o,"px"),to:"".concat(o,"px 0px"),attributeName:"strokeDasharray",begin:h,duration:d,isActive:y,easing:p},J.createElement("path",eA({},Xa(e,!0),{className:m,d:cA(a,c,n,i,s),ref:r})))})):J.createElement("path",eA({},Xa(e,!0),{className:m,d:cA(a,c,u,l,s)}))};function fA(){return fA=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},fA.apply(this,arguments)}var pA=function(t){var e=t.cx,r=t.cy,n=t.r,o=gn("recharts-dot",t.className);return e===+e&&r===+r&&n===+n?J.createElement("circle",fA({},Xa(t,!1),Ta(t),{className:o,cx:e,cy:r,r:n})):null};function dA(t){return dA="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},dA(t)}var hA=["x","y","top","left","width","height","className"];function yA(){return yA=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},yA.apply(this,arguments)}function vA(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function mA(t,e,r){return e=function(t){var e=function(t,e){if("object"!=dA(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=dA(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==dA(e)?e:e+""}(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function gA(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}var bA,wA,xA,OA,SA=function(t,e,r,n,o,i){return"M".concat(t,",").concat(o,"v").concat(n,"M").concat(i,",").concat(e,"h").concat(r)},jA=function(t){var e=t.x,r=void 0===e?0:e,n=t.y,o=void 0===n?0:n,i=t.top,a=void 0===i?0:i,c=t.left,u=void 0===c?0:c,l=t.width,s=void 0===l?0:l,f=t.height,p=void 0===f?0:f,d=t.className,h=function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?vA(Object(r),!0).forEach((function(e){mA(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):vA(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({x:r,y:o,top:a,left:u,width:s,height:p},gA(t,hA));return ga(r)&&ga(o)&&ga(s)&&ga(p)&&ga(a)&&ga(u)?J.createElement("path",yA({},Xa(h,!0),{className:gn("recharts-cross",d),d:SA(r,o,s,p,a,u)})):null};var PA,AA,MA=function(){if(OA)return xA;OA=1;var t=wi(),e=function(){if(wA)return bA;wA=1;var t=tp()(Object.getPrototypeOf,Object);return bA=t}(),r=xi(),n=Function.prototype,o=Object.prototype,i=n.toString,a=o.hasOwnProperty,c=i.call(Object);return xA=function(n){if(!r(n)||"[object Object]"!=t(n))return!1;var o=e(n);if(null===o)return!0;var u=a.call(o,"constructor")&&o.constructor;return"function"==typeof u&&u instanceof u&&i.call(u)==c}}(),kA=Je(MA);var EA=Je(function(){if(AA)return PA;AA=1;var t=wi(),e=xi();return PA=function(r){return!0===r||!1===r||e(r)&&"[object Boolean]"==t(r)}}());function CA(t){return CA="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},CA(t)}function _A(){return _A=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},_A.apply(this,arguments)}function TA(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e);else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return DA(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return DA(t,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 DA(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function IA(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function NA(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?IA(Object(r),!0).forEach((function(e){LA(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):IA(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function LA(t,e,r){return e=function(t){var e=function(t,e){if("object"!=CA(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=CA(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==CA(e)?e:e+""}(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var BA,RA,$A,zA,HA,FA,VA,UA,WA=function(t,e,r,n,o){var i,a=r-n;return i="M ".concat(t,",").concat(e),i+="L ".concat(t+r,",").concat(e),i+="L ".concat(t+r-a/2,",").concat(e+o),i+="L ".concat(t+r-a/2-n,",").concat(e+o),i+="L ".concat(t,",").concat(e," Z")},qA={x:0,y:0,upperWidth:0,lowerWidth:0,height:0,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"},YA=function(t){var e=NA(NA({},qA),t),r=nt(),n=TA(it(-1),2),o=n[0],i=n[1];ct((function(){if(r.current&&r.current.getTotalLength)try{var t=r.current.getTotalLength();t&&i(t)}catch(t){}}),[]);var a=e.x,c=e.y,u=e.upperWidth,l=e.lowerWidth,s=e.height,f=e.className,p=e.animationEasing,d=e.animationDuration,h=e.animationBegin,y=e.isUpdateAnimationActive;if(a!==+a||c!==+c||u!==+u||l!==+l||s!==+s||0===u&&0===l||0===s)return null;var v=gn("recharts-trapezoid",f);return y?J.createElement(QP,{canBegin:o>0,from:{upperWidth:0,lowerWidth:0,height:s,x:a,y:c},to:{upperWidth:u,lowerWidth:l,height:s,x:a,y:c},duration:d,animationEasing:p,isActive:y},(function(t){var n=t.upperWidth,i=t.lowerWidth,a=t.height,c=t.x,u=t.y;return J.createElement(QP,{canBegin:o>0,from:"0px ".concat(-1===o?1:o,"px"),to:"".concat(o,"px 0px"),attributeName:"strokeDasharray",begin:h,duration:d,easing:p},J.createElement("path",_A({},Xa(e,!0),{className:v,d:WA(c,u,n,i,a),ref:r})))})):J.createElement("g",null,J.createElement("path",_A({},Xa(e,!0),{className:v,d:WA(a,c,u,l,s)})))},XA=["option","shapeType","propTransformer","activeClassName","isActive"];function KA(t){return KA="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},KA(t)}function GA(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function ZA(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function JA(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?ZA(Object(r),!0).forEach((function(e){QA(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ZA(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function QA(t,e,r){return e=function(t){var e=function(t,e){if("object"!=KA(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=KA(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==KA(e)?e:e+""}(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function tM(t,e){return JA(JA({},e),t)}function eM(t){var e=t.shapeType,r=t.elementProps;switch(e){case"rectangle":return J.createElement(sA,r);case"trapezoid":return J.createElement(YA,r);case"sector":return J.createElement(IS,r);case"symbols":if(function(t,e){return"symbols"===t}(e))return J.createElement(Fu,r);break;default:return null}}function rM(t){var e,r=t.option,n=t.shapeType,o=t.propTransformer,i=void 0===o?tM:o,a=t.activeClassName,c=void 0===a?"recharts-active-shape":a,u=t.isActive,l=GA(t,XA);if(Q(r))e=lt(r,JA(JA({},l),function(t){return Q(t)?t.props:t}(r)));else if(ta(r))e=r(l);else if(kA(r)&&!EA(r)){var s=i(r,l);e=J.createElement(eM,{shapeType:n,elementProps:s})}else{var f=l;e=J.createElement(eM,{shapeType:n,elementProps:f})}return u?J.createElement(xc,{className:c},e):e}function nM(t,e){return null!=e&&"trapezoids"in t.props}function oM(t,e){return null!=e&&"sectors"in t.props}function iM(t,e){return null!=e&&"points"in t.props}function aM(t,e){var r,n,o=t.x===(null==e||null===(r=e.labelViewBox)||void 0===r?void 0:r.x)||t.x===e.x,i=t.y===(null==e||null===(n=e.labelViewBox)||void 0===n?void 0:n.y)||t.y===e.y;return o&&i}function cM(t,e){var r=t.endAngle===e.endAngle,n=t.startAngle===e.startAngle;return r&&n}function uM(t,e){var r=t.x===e.x,n=t.y===e.y,o=t.z===e.z;return r&&n&&o}function lM(t){var e=t.activeTooltipItem,r=t.graphicalItem,n=t.itemData,o=function(t,e){var r;return nM(t,e)?r="trapezoids":oM(t,e)?r="sectors":iM(t,e)&&(r="points"),r}(r,e),i=function(t,e){var r,n;return nM(t,e)?null===(r=e.tooltipPayload)||void 0===r||null===(r=r[0])||void 0===r||null===(r=r.payload)||void 0===r?void 0:r.payload:oM(t,e)?null===(n=e.tooltipPayload)||void 0===n||null===(n=n[0])||void 0===n||null===(n=n.payload)||void 0===n?void 0:n.payload:iM(t,e)?e.payload:{}}(r,e),a=n.filter((function(t,n){var a=zw(i,t),c=r.props[o].filter((function(t){var n=function(t,e){var r;return nM(t,e)?r=aM:oM(t,e)?r=cM:iM(t,e)&&(r=uM),r}(r,e);return n(t,e)})),u=r.props[o].indexOf(c[c.length-1]);return a&&n===u}));return n.indexOf(a[a.length-1])}function sM(){if(zA)return $A;zA=1;var t=$h(),e=1/0;return $A=function(r){return r?(r=t(r))===e||r===-1/0?17976931348623157e292*(r<0?-1:1):r==r?r:0:0===r?r:0}}function fM(){if(FA)return HA;FA=1;var t=function(){if(RA)return BA;RA=1;var t=Math.ceil,e=Math.max;return BA=function(r,n,o,i){for(var a=-1,c=e(t((n-r)/(o||1)),0),u=Array(c);c--;)u[i?c:++a]=r,r+=o;return u}}(),e=Rd(),r=sM();return HA=function(n){return function(o,i,a){return a&&"number"!=typeof a&&e(o,i,a)&&(i=a=void 0),o=r(o),void 0===i?(i=o,o=0):i=r(i),a=void 0===a?o<i?1:-1:r(a),t(o,i,a,n)}}}var pM=function(){if(UA)return VA;UA=1;var t=fM()();return VA=t}(),dM=Je(pM);function hM(t){return hM="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},hM(t)}function yM(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function vM(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?yM(Object(r),!0).forEach((function(e){mM(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):yM(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function mM(t,e,r){return e=function(t){var e=function(t,e){if("object"!=hM(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=hM(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==hM(e)?e:e+""}(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var gM=["Webkit","Moz","O","ms"];function bM(t){return bM="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},bM(t)}function wM(){return wM=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},wM.apply(this,arguments)}function xM(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function OM(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?xM(Object(r),!0).forEach((function(e){kM(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):xM(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function SM(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,EM(n.key),n)}}function jM(t,e,r){return e=AM(e),function(t,e){if(e&&("object"===bM(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,PM()?Reflect.construct(e,r||[],AM(t).constructor):e.apply(t,r))}function PM(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(PM=function(){return!!t})()}function AM(t){return AM=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},AM(t)}function MM(t,e){return MM=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},MM(t,e)}function kM(t,e,r){return(e=EM(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function EM(t){var e=function(t,e){if("object"!=bM(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=bM(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==bM(e)?e:e+""}var CM,_M,TM,DM,IM=function(t){return t.changedTouches&&!!t.changedTouches.length},NM=function(t){function e(t){var r;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),kM(r=jM(this,e,[t]),"handleDrag",(function(t){r.leaveTimer&&(clearTimeout(r.leaveTimer),r.leaveTimer=null),r.state.isTravellerMoving?r.handleTravellerMove(t):r.state.isSlideMoving&&r.handleSlideDrag(t)})),kM(r,"handleTouchMove",(function(t){null!=t.changedTouches&&t.changedTouches.length>0&&r.handleDrag(t.changedTouches[0])})),kM(r,"handleDragEnd",(function(){r.setState({isTravellerMoving:!1,isSlideMoving:!1},(function(){var t=r.props,e=t.endIndex,n=t.onDragEnd,o=t.startIndex;null==n||n({endIndex:e,startIndex:o})})),r.detachDragEndListener()})),kM(r,"handleLeaveWrapper",(function(){(r.state.isTravellerMoving||r.state.isSlideMoving)&&(r.leaveTimer=window.setTimeout(r.handleDragEnd,r.props.leaveTimeOut))})),kM(r,"handleEnterSlideOrTraveller",(function(){r.setState({isTextActive:!0})})),kM(r,"handleLeaveSlideOrTraveller",(function(){r.setState({isTextActive:!1})})),kM(r,"handleSlideDragStart",(function(t){var e=IM(t)?t.changedTouches[0]:t;r.setState({isTravellerMoving:!1,isSlideMoving:!0,slideMoveStartX:e.pageX}),r.attachDragEndListener()})),r.travellerDragStartHandlers={startX:r.handleTravellerDragStart.bind(r,"startX"),endX:r.handleTravellerDragStart.bind(r,"endX")},r.state={},r}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&MM(t,e)}(e,et),r=e,n=[{key:"componentWillUnmount",value:function(){this.leaveTimer&&(clearTimeout(this.leaveTimer),this.leaveTimer=null),this.detachDragEndListener()}},{key:"getIndex",value:function(t){var r=t.startX,n=t.endX,o=this.state.scaleValues,i=this.props,a=i.gap,c=i.data.length-1,u=Math.min(r,n),l=Math.max(r,n),s=e.getIndexInRange(o,u),f=e.getIndexInRange(o,l);return{startIndex:s-s%a,endIndex:f===c?c:f-f%a}}},{key:"getTextOfTick",value:function(t){var e=this.props,r=e.data,n=e.tickFormatter,o=e.dataKey,i=mO(r[t],o,t);return ta(n)?n(i,t):i}},{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(t){var e=this.state,r=e.slideMoveStartX,n=e.startX,o=e.endX,i=this.props,a=i.x,c=i.width,u=i.travellerWidth,l=i.startIndex,s=i.endIndex,f=i.onChange,p=t.pageX-r;p>0?p=Math.min(p,a+c-u-o,a+c-u-n):p<0&&(p=Math.max(p,a-n,a-o));var d=this.getIndex({startX:n+p,endX:o+p});d.startIndex===l&&d.endIndex===s||!f||f(d),this.setState({startX:n+p,endX:o+p,slideMoveStartX:t.pageX})}},{key:"handleTravellerDragStart",value:function(t,e){var r=IM(e)?e.changedTouches[0]:e;this.setState({isSlideMoving:!1,isTravellerMoving:!0,movingTravellerId:t,brushMoveStartX:r.pageX}),this.attachDragEndListener()}},{key:"handleTravellerMove",value:function(t){var e=this.state,r=e.brushMoveStartX,n=e.movingTravellerId,o=e.endX,i=e.startX,a=this.state[n],c=this.props,u=c.x,l=c.width,s=c.travellerWidth,f=c.onChange,p=c.gap,d=c.data,h={startX:this.state.startX,endX:this.state.endX},y=t.pageX-r;y>0?y=Math.min(y,u+l-s-a):y<0&&(y=Math.max(y,u-a)),h[n]=a+y;var v=this.getIndex(h),m=v.startIndex,g=v.endIndex;this.setState(kM(kM({},n,a+y),"brushMoveStartX",t.pageX),(function(){var t;f&&(t=d.length-1,("startX"===n&&(o>i?m%p==0:g%p==0)||o<i&&g===t||"endX"===n&&(o>i?g%p==0:m%p==0)||o>i&&g===t)&&f(v))}))}},{key:"handleTravellerMoveKeyboard",value:function(t,e){var r=this,n=this.state,o=n.scaleValues,i=n.startX,a=n.endX,c=this.state[e],u=o.indexOf(c);if(-1!==u){var l=u+t;if(!(-1===l||l>=o.length)){var s=o[l];"startX"===e&&s>=a||"endX"===e&&s<=i||this.setState(kM({},e,s),(function(){r.props.onChange(r.getIndex({startX:r.state.startX,endX:r.state.endX}))}))}}}},{key:"renderBackground",value:function(){var t=this.props,e=t.x,r=t.y,n=t.width,o=t.height,i=t.fill,a=t.stroke;return J.createElement("rect",{stroke:a,fill:i,x:e,y:r,width:n,height:o})}},{key:"renderPanorama",value:function(){var t=this.props,e=t.x,r=t.y,n=t.width,o=t.height,i=t.data,a=t.children,c=t.padding,u=tt.only(a);return u?J.cloneElement(u,{x:e,y:r,width:n,height:o,margin:c,compact:!0,data:i}):null}},{key:"renderTravellerLayer",value:function(t,r){var n,o,i=this,a=this.props,c=a.y,u=a.travellerWidth,l=a.height,s=a.traveller,f=a.ariaLabel,p=a.data,d=a.startIndex,h=a.endIndex,y=Math.max(t,this.props.x),v=OM(OM({},Xa(this.props,!1)),{},{x:y,y:c,width:u,height:l}),m=f||"Min value: ".concat(null===(n=p[d])||void 0===n?void 0:n.name,", Max value: ").concat(null===(o=p[h])||void 0===o?void 0:o.name);return J.createElement(xc,{tabIndex:0,role:"slider","aria-label":m,"aria-valuenow":t,className:"recharts-brush-traveller",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.travellerDragStartHandlers[r],onTouchStart:this.travellerDragStartHandlers[r],onKeyDown:function(t){["ArrowLeft","ArrowRight"].includes(t.key)&&(t.preventDefault(),t.stopPropagation(),i.handleTravellerMoveKeyboard("ArrowRight"===t.key?1:-1,r))},onFocus:function(){i.setState({isTravellerFocused:!0})},onBlur:function(){i.setState({isTravellerFocused:!1})},style:{cursor:"col-resize"}},e.renderTraveller(s,v))}},{key:"renderSlide",value:function(t,e){var r=this.props,n=r.y,o=r.height,i=r.stroke,a=r.travellerWidth,c=Math.min(t,e)+a,u=Math.max(Math.abs(e-t)-a,0);return J.createElement("rect",{className:"recharts-brush-slide",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.handleSlideDragStart,onTouchStart:this.handleSlideDragStart,style:{cursor:"move"},stroke:"none",fill:i,fillOpacity:.2,x:c,y:n,width:u,height:o})}},{key:"renderText",value:function(){var t=this.props,e=t.startIndex,r=t.endIndex,n=t.y,o=t.height,i=t.travellerWidth,a=t.stroke,c=this.state,u=c.startX,l=c.endX,s={pointerEvents:"none",fill:a};return J.createElement(xc,{className:"recharts-brush-texts"},J.createElement(Dy,wM({textAnchor:"end",verticalAnchor:"middle",x:Math.min(u,l)-5,y:n+o/2},s),this.getTextOfTick(e)),J.createElement(Dy,wM({textAnchor:"start",verticalAnchor:"middle",x:Math.max(u,l)+i+5,y:n+o/2},s),this.getTextOfTick(r)))}},{key:"render",value:function(){var t=this.props,e=t.data,r=t.className,n=t.children,o=t.x,i=t.y,a=t.width,c=t.height,u=t.alwaysShowText,l=this.state,s=l.startX,f=l.endX,p=l.isTextActive,d=l.isSlideMoving,h=l.isTravellerMoving,y=l.isTravellerFocused;if(!e||!e.length||!ga(o)||!ga(i)||!ga(a)||!ga(c)||a<=0||c<=0)return null;var v,m,g,b,w=gn("recharts-brush",r),x=1===J.Children.count(n),O=(m="none",g=(v="userSelect").replace(/(\w)/,(function(t){return t.toUpperCase()})),(b=gM.reduce((function(t,e){return vM(vM({},t),{},mM({},e+g,m))}),{}))[v]=m,b);return J.createElement(xc,{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||d||h||y||u)&&this.renderText())}}],o=[{key:"renderDefaultTraveller",value:function(t){var e=t.x,r=t.y,n=t.width,o=t.height,i=t.stroke,a=Math.floor(r+o/2)-1;return J.createElement(J.Fragment,null,J.createElement("rect",{x:e,y:r,width:n,height:o,fill:i,stroke:"none"}),J.createElement("line",{x1:e+1,y1:a,x2:e+n-1,y2:a,fill:"none",stroke:"#fff"}),J.createElement("line",{x1:e+1,y1:a+2,x2:e+n-1,y2:a+2,fill:"none",stroke:"#fff"}))}},{key:"renderTraveller",value:function(t,r){return J.isValidElement(t)?J.cloneElement(t,r):ta(t)?t(r):e.renderDefaultTraveller(r)}},{key:"getDerivedStateFromProps",value:function(t,e){var r=t.data,n=t.width,o=t.x,i=t.travellerWidth,a=t.updateId,c=t.startIndex,u=t.endIndex;if(r!==e.prevData||a!==e.prevUpdateId)return OM({prevData:r,prevTravellerWidth:i,prevUpdateId:a,prevX:o,prevWidth:n},r&&r.length?function(t){var e=t.data,r=t.startIndex,n=t.endIndex,o=t.x,i=t.width,a=t.travellerWidth;if(!e||!e.length)return{};var c=e.length,u=uv().domain(dM(0,c)).range([o,o+i-a]),l=u.domain().map((function(t){return u(t)}));return{isTextActive:!1,isSlideMoving:!1,isTravellerMoving:!1,isTravellerFocused:!1,startX:u(r),endX:u(n),scale:u,scaleValues:l}}({data:r,width:n,x:o,travellerWidth:i,startIndex:c,endIndex:u}):{scale:null,scaleValues:null});if(e.scale&&(n!==e.prevWidth||o!==e.prevX||i!==e.prevTravellerWidth)){e.scale.range([o,o+n-i]);var l=e.scale.domain().map((function(t){return e.scale(t)}));return{prevData:r,prevTravellerWidth:i,prevUpdateId:a,prevX:o,prevWidth:n,startX:e.scale(t.startIndex),endX:e.scale(t.endIndex),scaleValues:l}}return null}},{key:"getIndexInRange",value:function(t,e){for(var r=0,n=t.length-1;n-r>1;){var o=Math.floor((r+n)/2);t[o]>e?n=o:r=o}return e>=t[n]?n:r}}],n&&SM(r.prototype,n),o&&SM(r,o),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,o}();kM(NM,"displayName","Brush"),kM(NM,"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 LM,BM,RM,$M,zM=function(){if(DM)return TM;DM=1;var t=Zl(),e=yp(),r=function(){if(_M)return CM;_M=1;var t=Cd();return CM=function(e,r){var n;return t(e,(function(t,e,o){return!(n=r(t,e,o))})),!!n}}(),n=vi(),o=Rd();return TM=function(i,a,c){var u=n(i)?t:r;return c&&o(i,a,c)&&(a=void 0),u(i,e(a,3))}}(),HM=Je(zM),FM=function(t,e){var r=t.alwaysShow,n=t.ifOverflow;return r&&(n="extendDomain"),n===e};var VM,UM,WM,qM,YM,XM,KM=function(){if($M)return RM;$M=1;var t=function(){if(BM)return LM;BM=1;var t=Nd();return LM=function(e,r,n){"__proto__"==r&&t?t(e,r,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[r]=n},LM}(),e=Ed(),r=yp();return RM=function(n,o){var i={};return o=r(o,3),e(n,(function(e,r,n){t(i,r,o(e,r,n))})),i},RM}(),GM=Je(KM);var ZM=function(){if(XM)return YM;XM=1;var t=(UM||(UM=1,VM=function(t,e){for(var r=-1,n=null==t?0:t.length;++r<n;)if(!e(t[r],r,t))return!1;return!0}),VM),e=function(){if(qM)return WM;qM=1;var t=Cd();return WM=function(e,r){var n=!0;return t(e,(function(t,e,o){return n=!!r(t,e,o)})),n}}(),r=yp(),n=vi(),o=Rd();return YM=function(i,a,c){var u=n(i)?t:e;return c&&o(i,a,c)&&(a=void 0),u(i,r(a,3))}}(),JM=Je(ZM),QM=["x","y"];function tk(t){return tk="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},tk(t)}function ek(){return ek=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},ek.apply(this,arguments)}function rk(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function nk(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?rk(Object(r),!0).forEach((function(e){ok(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):rk(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function ok(t,e,r){return e=function(t){var e=function(t,e){if("object"!=tk(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=tk(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==tk(e)?e:e+""}(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function ik(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function ak(t,e){var r=t.x,n=t.y,o=ik(t,QM),i="".concat(r),a=parseInt(i,10),c="".concat(n),u=parseInt(c,10),l="".concat(e.height||o.height),s=parseInt(l,10),f="".concat(e.width||o.width),p=parseInt(f,10);return nk(nk(nk(nk(nk({},e),o),a?{x:a}:{}),u?{y:u}:{}),{},{height:s,width:p,name:e.name,radius:e.radius})}function ck(t){return J.createElement(rM,ek({shapeType:"rectangle",propTransformer:ak,activeClassName:"recharts-active-bar"},t))}var uk,lk=["value","background"];function sk(t){return sk="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},sk(t)}function fk(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function pk(){return pk=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},pk.apply(this,arguments)}function dk(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function hk(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?dk(Object(r),!0).forEach((function(e){wk(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):dk(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function yk(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,xk(n.key),n)}}function vk(t,e,r){return e=gk(e),function(t,e){if(e&&("object"===sk(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,mk()?Reflect.construct(e,r||[],gk(t).constructor):e.apply(t,r))}function mk(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(mk=function(){return!!t})()}function gk(t){return gk=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},gk(t)}function bk(t,e){return bk=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},bk(t,e)}function wk(t,e,r){return(e=xk(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function xk(t){var e=function(t,e){if("object"!=sk(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=sk(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==sk(e)?e:e+""}var Ok=function(t){function e(){var t;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return wk(t=vk(this,e,[].concat(n)),"state",{isAnimationFinished:!1}),wk(t,"id",xa("recharts-bar-")),wk(t,"handleAnimationEnd",(function(){var e=t.props.onAnimationEnd;t.setState({isAnimationFinished:!0}),e&&e()})),wk(t,"handleAnimationStart",(function(){var e=t.props.onAnimationStart;t.setState({isAnimationFinished:!1}),e&&e()})),t}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&bk(t,e)}(e,et),r=e,n=[{key:"renderRectanglesStatically",value:function(t){var e=this,r=this.props,n=r.shape,o=r.dataKey,i=r.activeIndex,a=r.activeBar,c=Xa(this.props,!1);return t&&t.map((function(t,r){var u=r===i,l=u?a:n,s=hk(hk(hk({},c),t),{},{isActive:u,option:l,index:r,dataKey:o,onAnimationStart:e.handleAnimationStart,onAnimationEnd:e.handleAnimationEnd});return J.createElement(xc,pk({className:"recharts-bar-rectangle"},Da(e.props,t,r),{key:"rectangle-".concat(null==t?void 0:t.x,"-").concat(null==t?void 0:t.y,"-").concat(null==t?void 0:t.value)}),J.createElement(ck,s))}))}},{key:"renderRectanglesWithAnimation",value:function(){var t=this,e=this.props,r=e.data,n=e.layout,o=e.isAnimationActive,i=e.animationBegin,a=e.animationDuration,c=e.animationEasing,u=e.animationId,l=this.state.prevData;return J.createElement(QP,{begin:i,duration:a,isActive:o,easing:c,from:{t:0},to:{t:1},key:"bar-".concat(u),onAnimationEnd:this.handleAnimationEnd,onAnimationStart:this.handleAnimationStart},(function(e){var o=e.t,i=r.map((function(t,e){var r=l&&l[e];if(r){var i=ja(r.x,t.x),a=ja(r.y,t.y),c=ja(r.width,t.width),u=ja(r.height,t.height);return hk(hk({},t),{},{x:i(o),y:a(o),width:c(o),height:u(o)})}if("horizontal"===n){var s=ja(0,t.height)(o);return hk(hk({},t),{},{y:t.y+t.height-s,height:s})}var f=ja(0,t.width)(o);return hk(hk({},t),{},{width:f})}));return J.createElement(xc,null,t.renderRectanglesStatically(i))}))}},{key:"renderRectangles",value:function(){var t=this.props,e=t.data,r=t.isAnimationActive,n=this.state.prevData;return!(r&&e&&e.length)||n&&zw(n,e)?this.renderRectanglesStatically(e):this.renderRectanglesWithAnimation()}},{key:"renderBackground",value:function(){var t=this,e=this.props,r=e.data,n=e.dataKey,o=e.activeIndex,i=Xa(this.props.background,!1);return r.map((function(e,r){e.value;var a=e.background,c=fk(e,lk);if(!a)return null;var u=hk(hk(hk(hk(hk({},c),{},{fill:"#eee"},a),i),Da(t.props,e,r)),{},{onAnimationStart:t.handleAnimationStart,onAnimationEnd:t.handleAnimationEnd,dataKey:n,index:r,className:"recharts-bar-background-rectangle"});return J.createElement(ck,pk({key:"background-bar-".concat(r),option:t.props.background,isActive:r===o},u))}))}},{key:"renderErrorBar",value:function(t,e){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var r=this.props,n=r.data,o=r.xAxis,i=r.yAxis,a=r.layout,c=Va(r.children,iO);if(!c)return null;var u="vertical"===a?n[0].height/2:n[0].width/2,l=function(t,e){var r=Array.isArray(t.value)?t.value[1]:t.value;return{x:t.x,y:t.y,value:r,errorVal:mO(t,e)}},s={clipPath:t?"url(#clipPath-".concat(e,")"):null};return J.createElement(xc,s,c.map((function(t){return J.cloneElement(t,{key:"error-bar-".concat(e,"-").concat(t.props.dataKey),data:n,xAxis:o,yAxis:i,layout:a,offset:u,dataPointFormatter:l})})))}},{key:"render",value:function(){var t=this.props,e=t.hide,r=t.data,n=t.className,o=t.xAxis,i=t.yAxis,a=t.left,c=t.top,u=t.width,l=t.height,s=t.isAnimationActive,f=t.background,p=t.id;if(e||!r||!r.length)return null;var d=this.state.isAnimationFinished,h=gn("recharts-bar",n),y=o&&o.allowDataOverflow,v=i&&i.allowDataOverflow,m=y||v,g=Gi(p)?this.id:p;return J.createElement(xc,{className:h},y||v?J.createElement("defs",null,J.createElement("clipPath",{id:"clipPath-".concat(g)},J.createElement("rect",{x:y?a:a-u/2,y:v?c:c-l/2,width:y?u:2*u,height:v?l:2*l}))):null,J.createElement(xc,{className:"recharts-bar-rectangles",clipPath:m?"url(#clipPath-".concat(g,")"):null},f?this.renderBackground():null,this.renderRectangles()),this.renderErrorBar(m,g),(!s||d)&&PS.renderCallByParent(this.props,r))}}],o=[{key:"getDerivedStateFromProps",value:function(t,e){return t.animationId!==e.prevAnimationId?{prevAnimationId:t.animationId,curData:t.data,prevData:e.curData}:t.data!==e.curData?{curData:t.data}:null}}],n&&yk(r.prototype,n),o&&yk(r,o),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,o}();function Sk(t){return Sk="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Sk(t)}function jk(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,kk(n.key),n)}}function Pk(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ak(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Pk(Object(r),!0).forEach((function(e){Mk(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Pk(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Mk(t,e,r){return(e=kk(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function kk(t){var e=function(t,e){if("object"!=Sk(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=Sk(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==Sk(e)?e:e+""}uk=Ok,wk(Ok,"displayName","Bar"),wk(Ok,"defaultProps",{xAxisId:0,yAxisId:0,legendType:"rect",minPointSize:0,hide:!1,data:[],layout:"vertical",activeBar:!1,isAnimationActive:!dh,animationBegin:0,animationDuration:400,animationEasing:"ease"}),wk(Ok,"getComposedData",(function(t){var e=t.props,r=t.item,n=t.barPosition,o=t.bandSize,i=t.xAxis,a=t.yAxis,c=t.xAxisTicks,u=t.yAxisTicks,l=t.stackedData,s=t.dataStartIndex,f=t.displayedData,p=t.offset,d=function(t,e){if(!t)return null;for(var r=0,n=t.length;r<n;r++)if(t[r].item===e)return t[r].position;return null}(n,r);if(!d)return null;var h=e.layout,y=r.type.defaultProps,v=void 0!==y?hk(hk({},y),r.props):r.props,m=v.dataKey,g=v.children,b=v.minPointSize,w="horizontal"===h?a:i,x=l?w.scale.domain():null,O=function(t){var e=t.numericAxis,r=e.scale.domain();if("number"===e.type){var n=Math.min(r[0],r[1]),o=Math.max(r[0],r[1]);return n<=0&&o>=0?0:o<0?o:n}return r[0]}({numericAxis:w}),S=Va(g,Gh),j=f.map((function(t,e){var n,f,p,y,v,g;l?n=function(t,e){if(!e||2!==e.length||!ga(e[0])||!ga(e[1]))return t;var r=Math.min(e[0],e[1]),n=Math.max(e[0],e[1]),o=[t[0],t[1]];return(!ga(t[0])||t[0]<r)&&(o[0]=r),(!ga(t[1])||t[1]>n)&&(o[1]=n),o[0]>n&&(o[0]=n),o[1]<r&&(o[1]=r),o}(l[s+e],x):(n=mO(t,m),Array.isArray(n)||(n=[O,n]));var w=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return function(r,n){if("number"==typeof t)return t;var o="number"==typeof r;return o?t(r,n):(o||("production"!==process.env.NODE_ENV?Wx(0,"minPointSize callback function received a value with type of ".concat(tk(r),". Currently only numbers are supported.")):Wx()),e)}}(b,uk.defaultProps.minPointSize)(n[1],e);if("horizontal"===h){var j,P=[a.scale(n[0]),a.scale(n[1])],A=P[0],M=P[1];f=CO({axis:i,ticks:c,bandSize:o,offset:d.offset,entry:t,index:e}),p=null!==(j=null!=M?M:A)&&void 0!==j?j:void 0,y=d.size;var k=A-M;if(v=Number.isNaN(k)?0:k,g={x:f,y:a.y,width:y,height:a.height},Math.abs(w)>0&&Math.abs(v)<Math.abs(w)){var E=va(v||w)*(Math.abs(w)-Math.abs(v));p-=E,v+=E}}else{var C=[i.scale(n[0]),i.scale(n[1])],_=C[0],T=C[1];if(f=_,p=CO({axis:a,ticks:u,bandSize:o,offset:d.offset,entry:t,index:e}),y=T-_,v=d.size,g={x:i.x,y:p,width:i.width,height:v},Math.abs(w)>0&&Math.abs(y)<Math.abs(w))y+=va(y||w)*(Math.abs(w)-Math.abs(y))}return hk(hk(hk({},t),{},{x:f,y:p,width:y,height:v,value:l?n:n[1],payload:t,background:g},S&&S[e]&&S[e].props),{},{tooltipPayload:[BO(r,t)],tooltipPosition:{x:f+y/2,y:p+v/2}})}));return hk({data:j,layout:h},p)}));var Ek=function(t,e,r,n,o){var i=t.width,a=t.height,c=t.layout,u=t.children,l=Object.keys(e),s={left:r.left,leftMirror:r.left,right:i-r.right,rightMirror:i-r.right,top:r.top,topMirror:r.top,bottom:a-r.bottom,bottomMirror:a-r.bottom},f=!!Ua(u,Ok);return l.reduce((function(i,a){var u,l,p,d,h,y=e[a],v=y.orientation,m=y.domain,g=y.padding,b=void 0===g?{}:g,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=m[1]-m[0],j=1/0,P=y.categoricalDomain.sort();if(P.forEach((function(t,e){e>0&&(j=Math.min((t||0)-(P[e-1]||0),j))})),Number.isFinite(j)){var A=j/S,M="vertical"===y.layout?r.height:r.width;if("gap"===y.padding&&(u=A*M/2),"no-gap"===y.padding){var k=Oa(t.barCategoryGap,A*M),E=A*M/2;u=E-k-(E-k)/M*k}}}l="xAxis"===n?[r.left+(b.left||0)+(u||0),r.left+r.width-(b.right||0)-(u||0)]:"yAxis"===n?"horizontal"===c?[r.top+r.height-(b.bottom||0),r.top+(b.top||0)]:[r.top+(b.top||0)+(u||0),r.top+r.height-(b.bottom||0)-(u||0)]:y.range,x&&(l=[l[1],l[0]]);var C=function(t,e,r){var n=t.scale,o=t.type,i=t.layout,a=t.axisType;if("auto"===n)return"radial"===i&&"radiusAxis"===a?{scale:av(),realScaleType:"band"}:"radial"===i&&"angleAxis"===a?{scale:Cm(),realScaleType:"linear"}:"category"===o&&e&&(e.indexOf("LineChart")>=0||e.indexOf("AreaChart")>=0||e.indexOf("ComposedChart")>=0&&!r)?{scale:uv(),realScaleType:"point"}:"category"===o?{scale:av(),realScaleType:"band"}:{scale:Cm(),realScaleType:"linear"};if(Qi(n)){var c="scale".concat(kc(n));return{scale:(xw[c]||uv)(),realScaleType:xw[c]?c:"point"}}return ta(n)?{scale:n}:{scale:uv(),realScaleType:"point"}}(y,o,f),_=C.scale,T=C.realScaleType;_.domain(m).range(l),function(t){var e=t.domain();if(e&&!(e.length<=2)){var r=e.length,n=t.range(),o=Math.min(n[0],n[1])-AO,i=Math.max(n[0],n[1])+AO,a=t(e[0]),c=t(e[r-1]);(a<o||a>i||c<o||c>i)&&t.domain([e[0],e[r-1]])}}(_);var D=function(t,e){var r=e.realScaleType,n=e.type,o=e.tickCount,i=e.originalDomain,a=e.allowDecimals,c=r||e.scale;if("auto"!==c&&"linear"!==c)return null;if(o&&"number"===n&&i&&("auto"===i[0]||"auto"===i[1])){var u=t.domain();if(!u.length)return null;var l=Hx(u,o,a);return t.domain([Iw(l),kw(l)]),{niceTicks:l}}if(o&&"number"===n){var s=t.domain();return{niceTicks:Fx(s,o,a)}}return null}(_,Ak(Ak({},y),{},{realScaleType:T}));"xAxis"===n?(h="top"===v&&!w||"bottom"===v&&w,p=r.left,d=s[O]-h*y.height):"yAxis"===n&&(h="left"===v&&!w||"right"===v&&w,p=s[O]-h*y.width,d=r.top);var I=Ak(Ak(Ak({},y),D),{},{realScaleType:T,x:p,y:d,scale:_,width:"xAxis"===n?r.width:y.width,height:"yAxis"===n?r.height:y.height});return I.bandSize=NO(I,D),y.hide||"xAxis"!==n?y.hide||(s[O]+=(h?-1:1)*I.width):s[O]+=(h?-1:1)*I.height,Ak(Ak({},i),{},Mk({},a,I))}),{})},Ck=function(t,e){var r=t.x,n=t.y,o=e.x,i=e.y;return{x:Math.min(r,o),y:Math.min(n,i),width:Math.abs(o-r),height:Math.abs(i-n)}},_k=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.scale=e}return e=t,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(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.bandAware,n=e.position;if(void 0!==t){if(n)switch(n){case"start":default:return this.scale(t);case"middle":var o=this.bandwidth?this.bandwidth()/2:0;return this.scale(t)+o;case"end":var i=this.bandwidth?this.bandwidth():0;return this.scale(t)+i}if(r){var a=this.bandwidth?this.bandwidth()/2:0;return this.scale(t)+a}return this.scale(t)}}},{key:"isInRange",value:function(t){var e=this.range(),r=e[0],n=e[e.length-1];return r<=n?t>=r&&t<=n:t>=n&&t<=r}}],n=[{key:"create",value:function(e){return new t(e)}}],r&&jk(e.prototype,r),n&&jk(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,r,n}();Mk(_k,"EPS",1e-4);var Tk=function(t){var e=Object.keys(t).reduce((function(e,r){return Ak(Ak({},e),{},Mk({},r,_k.create(t[r])))}),{});return Ak(Ak({},e),{},{apply:function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.bandAware,o=r.position;return GM(t,(function(t,r){return e[r].apply(t,{bandAware:n,position:o})}))},isInRange:function(t){return JM(t,(function(t,r){return e[r].isInRange(t)}))}})};var Dk,Ik,Nk,Lk,Bk,Rk,$k,zk,Hk=function(t){var e=t.width,r=t.height,n=function(t){return(t%180+180)%180}(arguments.length>1&&void 0!==arguments[1]?arguments[1]:0),o=n*Math.PI/180,i=Math.atan(r/e),a=o>i&&o<Math.PI-i?r/Math.sin(o):e/Math.cos(o);return Math.abs(a)};function Fk(){if(Rk)return Bk;Rk=1;var t=vp(),e=yp(),r=function(){if(Lk)return Nk;Lk=1;var t=sM();return Nk=function(e){var r=t(e),n=r%1;return r==r?n?r-n:r:0}}(),n=Math.max;return Bk=function(o,i,a){var c=null==o?0:o.length;if(!c)return-1;var u=null==a?0:r(a);return u<0&&(u=n(c+u,0)),t(o,e(i,3),u)},Bk}!function(){if(zk)return $k;zk=1;var t=function(){if(Ik)return Dk;Ik=1;var t=yp(),e=rp(),r=np();return Dk=function(n){return function(o,i,a){var c=Object(o);if(!e(o)){var u=t(i,3);o=r(o),i=function(t){return u(c[t],t,c)}}var l=n(o,i,a);return l>-1?c[u?o[l]:l]:void 0}}}(),e=t(Fk());$k=e}();var Vk=Je(Bi())((function(t){return{x:t.left,y:t.top,width:t.width,height:t.height}}),(function(t){return["l",t.left,"t",t.top,"w",t.width,"h",t.height].join("")}));function Uk(t){return Uk="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Uk(t)}var Wk=pt(void 0),qk=pt(void 0),Yk=pt(void 0),Xk=pt({}),Kk=pt(void 0),Gk=pt(0),Zk=pt(0),Jk=function(t){var e=t.state,r=e.xAxisMap,n=e.yAxisMap,o=e.offset,i=t.clipPathId,a=t.children,c=t.width,u=t.height,l=Vk(o);return J.createElement(Wk.Provider,{value:r},J.createElement(qk.Provider,{value:n},J.createElement(Xk.Provider,{value:o},J.createElement(Yk.Provider,{value:l},J.createElement(Kk.Provider,{value:i},J.createElement(Gk.Provider,{value:u},J.createElement(Zk.Provider,{value:c},a)))))))};function Qk(t){var e=Object.keys(t);return 0===e.length?"There are no available ids.":"Available ids are: ".concat(e,".")}var tE=function(t){var e=ft(Wk);null==e&&("production"!==process.env.NODE_ENV?Wx(0,"Could not find Recharts context; are you sure this is rendered inside a Recharts wrapper component?"):Wx());var r=e[t];return null==r&&("production"!==process.env.NODE_ENV?Wx(0,'Could not find xAxis by id "'.concat(t,'" [').concat(Uk(t),"]. ").concat(Qk(e))):Wx()),r},eE=function(t){var e=ft(qk);null==e&&("production"!==process.env.NODE_ENV?Wx(0,"Could not find Recharts context; are you sure this is rendered inside a Recharts wrapper component?"):Wx());var r=e[t];return null==r&&("production"!==process.env.NODE_ENV?Wx(0,'Could not find yAxis by id "'.concat(t,'" [').concat(Uk(t),"]. ").concat(Qk(e))):Wx()),r},rE=function(){return ft(Zk)},nE=function(){return ft(Gk)};function oE(t){return oE="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},oE(t)}function iE(t,e,r){return e&&function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,dE(n.key),n)}}(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}function aE(t,e,r){return e=uE(e),function(t,e){if(e&&("object"===oE(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,cE()?Reflect.construct(e,r||[],uE(t).constructor):e.apply(t,r))}function cE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(cE=function(){return!!t})()}function uE(t){return uE=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},uE(t)}function lE(t,e){return lE=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},lE(t,e)}function sE(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function fE(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?sE(Object(r),!0).forEach((function(e){pE(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):sE(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function pE(t,e,r){return(e=dE(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function dE(t){var e=function(t,e){if("object"!=oE(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!=oE(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"==oE(e)?e:e+""}function hE(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e);else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return yE(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return yE(t,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 yE(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function vE(){return vE=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},vE.apply(this,arguments)}function mE(t){var e=t.x,r=t.y,n=t.segment,o=t.xAxisId,i=t.yAxisId,a=t.shape,c=t.className,u=t.alwaysShow,l=ft(Kk),s=tE(o),f=eE(i),p=ft(Yk);if(!l||!p)return null;Sc(void 0===u,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var d=function(t,e,r,n,o,i,a,c,u){var l=o.x,s=o.y,f=o.width,p=o.height;if(r){var d=u.y,h=t.y.apply(d,{position:i});if(FM(u,"discard")&&!t.y.isInRange(h))return null;var y=[{x:l+f,y:h},{x:l,y:h}];return"left"===c?y.reverse():y}if(e){var v=u.x,m=t.x.apply(v,{position:i});if(FM(u,"discard")&&!t.x.isInRange(m))return null;var g=[{x:m,y:s+p},{x:m,y:s}];return"top"===a?g.reverse():g}if(n){var b=u.segment.map((function(e){return t.apply(e,{position:i})}));return FM(u,"discard")&&HM(b,(function(e){return!t.isInRange(e)}))?null:b}return null}(Tk({x:s.scale,y:f.scale}),ba(e),ba(r),n&&2===n.length,p,t.position,s.orientation,f.orientation,t);if(!d)return null;var h=hE(d,2),y=h[0],v=y.x,m=y.y,g=h[1],b=g.x,w=g.y,x=fE(fE({clipPath:FM(t,"hidden")?"url(#".concat(l,")"):void 0},Xa(t,!0)),{},{x1:v,y1:m,x2:b,y2:w});return J.createElement(xc,{className:gn("recharts-reference-line",c)},function(t,e){return J.isValidElement(t)?J.cloneElement(t,e):ta(t)?t(e):J.createElement("line",vE({},e,{className:"recharts-reference-line-line"}))}(a,x),uS.renderCallByParent(t,function(t){var e=t.x1,r=t.y1,n=t.x2,o=t.y2;return Ck({x:e,y:r},{x:n,y:o})}({x1:v,y1:m,x2:b,y2:w})))}var gE=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),aE(this,e,arguments)}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&lE(t,e)}(e,J.Component),iE(e,[{key:"render",value:function(){return J.createElement(mE,this.props)}}])}();function bE(){return bE=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},bE.apply(this,arguments)}function wE(t){return wE="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},wE(t)}function xE(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function OE(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?xE(Object(r),!0).forEach((function(e){kE(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):xE(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function SE(t,e,r){return e&&function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,EE(n.key),n)}}(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}function jE(t,e,r){return e=AE(e),function(t,e){if(e&&("object"===wE(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,PE()?Reflect.construct(e,r||[],AE(t).constructor):e.apply(t,r))}function PE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(PE=function(){return!!t})()}function AE(t){return AE=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},AE(t)}function ME(t,e){return ME=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},ME(t,e)}function kE(t,e,r){return(e=EE(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function EE(t){var e=function(t,e){if("object"!=wE(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!=wE(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"==wE(e)?e:e+""}pE(gE,"displayName","ReferenceLine"),pE(gE,"defaultProps",{isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,fill:"none",stroke:"#ccc",fillOpacity:1,strokeWidth:1,position:"middle"});var CE=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),jE(this,e,arguments)}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&ME(t,e)}(e,J.Component),SE(e,[{key:"render",value:function(){var t=this.props,r=t.x,n=t.y,o=t.r,i=t.alwaysShow,a=t.clipPathId,c=ba(r),u=ba(n);if(Sc(void 0===i,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.'),!c||!u)return null;var l=function(t){var e=t.x,r=t.y,n=t.xAxis,o=t.yAxis,i=Tk({x:n.scale,y:o.scale}),a=i.apply({x:e,y:r},{bandAware:!0});return FM(t,"discard")&&!i.isInRange(a)?null:a}(this.props);if(!l)return null;var s=l.x,f=l.y,p=this.props,d=p.shape,h=p.className,y=OE(OE({clipPath:FM(this.props,"hidden")?"url(#".concat(a,")"):void 0},Xa(this.props,!0)),{},{cx:s,cy:f});return J.createElement(xc,{className:gn("recharts-reference-dot",h)},e.renderDot(d,y),uS.renderCallByParent(this.props,{x:s-o,y:f-o,width:2*o,height:2*o}))}}])}();function _E(){return _E=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},_E.apply(this,arguments)}function TE(t){return TE="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},TE(t)}function DE(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function IE(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?DE(Object(r),!0).forEach((function(e){zE(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):DE(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function NE(t,e,r){return e&&function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,HE(n.key),n)}}(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}function LE(t,e,r){return e=RE(e),function(t,e){if(e&&("object"===TE(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,BE()?Reflect.construct(e,r||[],RE(t).constructor):e.apply(t,r))}function BE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(BE=function(){return!!t})()}function RE(t){return RE=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},RE(t)}function $E(t,e){return $E=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},$E(t,e)}function zE(t,e,r){return(e=HE(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function HE(t){var e=function(t,e){if("object"!=TE(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!=TE(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"==TE(e)?e:e+""}kE(CE,"displayName","ReferenceDot"),kE(CE,"defaultProps",{isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#fff",stroke:"#ccc",fillOpacity:1,strokeWidth:1}),kE(CE,"renderDot",(function(t,e){return J.isValidElement(t)?J.cloneElement(t,e):ta(t)?t(e):J.createElement(pA,bE({},e,{cx:e.cx,cy:e.cy,className:"recharts-reference-dot-dot"}))}));var FE=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),LE(this,e,arguments)}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&$E(t,e)}(e,J.Component),NE(e,[{key:"render",value:function(){var t=this.props,r=t.x1,n=t.x2,o=t.y1,i=t.y2,a=t.className,c=t.alwaysShow,u=t.clipPathId;Sc(void 0===c,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var l=ba(r),s=ba(n),f=ba(o),p=ba(i),d=this.props.shape;if(!(l||s||f||p||d))return null;var h=function(t,e,r,n,o){var i=o.x1,a=o.x2,c=o.y1,u=o.y2,l=o.xAxis,s=o.yAxis;if(!l||!s)return null;var f=Tk({x:l.scale,y:s.scale}),p={x:t?f.x.apply(i,{position:"start"}):f.x.rangeMin,y:r?f.y.apply(c,{position:"start"}):f.y.rangeMin},d={x:e?f.x.apply(a,{position:"end"}):f.x.rangeMax,y:n?f.y.apply(u,{position:"end"}):f.y.rangeMax};return!FM(o,"discard")||f.isInRange(p)&&f.isInRange(d)?Ck(p,d):null}(l,s,f,p,this.props);if(!h&&!d)return null;var y=FM(this.props,"hidden")?"url(#".concat(u,")"):void 0;return J.createElement(xc,{className:gn("recharts-reference-area",a)},e.renderRect(d,IE(IE({clipPath:y},Xa(this.props,!0)),h)),uS.renderCallByParent(this.props,h))}}])}();function VE(t,e,r){if(e<1)return[];if(1===e&&void 0===r)return t;for(var n=[],o=0;o<t.length;o+=e)n.push(t[o]);return n}function UE(t,e,r,n,o){if(t*e<t*n||t*e>t*o)return!1;var i=r();return t*(e-t*i/2-n)>=0&&t*(e+t*i/2-o)<=0}function WE(t){return WE="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},WE(t)}function qE(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function YE(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?qE(Object(r),!0).forEach((function(e){XE(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):qE(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function XE(t,e,r){return e=function(t){var e=function(t,e){if("object"!=WE(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=WE(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==WE(e)?e:e+""}(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function KE(t,e,r){var n=t.tick,o=t.ticks,i=t.viewBox,a=t.minTickGap,c=t.orientation,u=t.interval,l=t.tickFormatter,s=t.unit,f=t.angle;if(!o||!o.length||!n)return[];if(ga(u)||dh)return function(t,e){return VE(t,e+1)}(o,"number"==typeof u&&ga(u)?u:0);var p=[],d="top"===c||"bottom"===c?"width":"height",h=s&&"width"===d?oy(s,{fontSize:e,letterSpacing:r}):{width:0,height:0},y=function(t,n){var o=ta(l)?l(t.value,n):t.value;return"width"===d?function(t,e,r){var n={width:t.width+e.width,height:t.height+e.height};return Hk(n,r)}(oy(o,{fontSize:e,letterSpacing:r}),h,f):oy(o,{fontSize:e,letterSpacing:r})[d]},v=o.length>=2?va(o[1].coordinate-o[0].coordinate):1,m=function(t,e,r){var n="width"===r,o=t.x,i=t.y,a=t.width,c=t.height;return 1===e?{start:n?o:i,end:n?o+a:i+c}:{start:n?o+a:i+c,end:n?o:i}}(i,v,d);return"equidistantPreserveStart"===u?function(t,e,r,n,o){for(var i,a=(n||[]).slice(),c=e.start,u=e.end,l=0,s=1,f=c,p=function(){var e=null==n?void 0:n[l];if(void 0===e)return{v:VE(n,s)};var i,a=l,p=function(){return void 0===i&&(i=r(e,a)),i},d=e.coordinate,h=0===l||UE(t,d,p,f,u);h||(l=0,f=c,s+=1),h&&(f=d+t*(p()/2+o),l+=s)};s<=a.length;)if(i=p())return i.v;return[]}(v,m,y,o,a):(p="preserveStart"===u||"preserveStartEnd"===u?function(t,e,r,n,o,i){var a=(n||[]).slice(),c=a.length,u=e.start,l=e.end;if(i){var s=n[c-1],f=r(s,c-1),p=t*(s.coordinate+t*f/2-l);a[c-1]=s=YE(YE({},s),{},{tickCoord:p>0?s.coordinate-p*t:s.coordinate}),UE(t,s.tickCoord,(function(){return f}),u,l)&&(l=s.tickCoord-t*(f/2+o),a[c-1]=YE(YE({},s),{},{isShow:!0}))}for(var d=i?c-1:c,h=function(e){var n,i=a[e],c=function(){return void 0===n&&(n=r(i,e)),n};if(0===e){var s=t*(i.coordinate-t*c()/2-u);a[e]=i=YE(YE({},i),{},{tickCoord:s<0?i.coordinate-s*t:i.coordinate})}else a[e]=i=YE(YE({},i),{},{tickCoord:i.coordinate});UE(t,i.tickCoord,c,u,l)&&(u=i.tickCoord+t*(c()/2+o),a[e]=YE(YE({},i),{},{isShow:!0}))},y=0;y<d;y++)h(y);return a}(v,m,y,o,a,"preserveStartEnd"===u):function(t,e,r,n,o){for(var i=(n||[]).slice(),a=i.length,c=e.start,u=e.end,l=function(e){var n,l=i[e],s=function(){return void 0===n&&(n=r(l,e)),n};if(e===a-1){var f=t*(l.coordinate+t*s()/2-u);i[e]=l=YE(YE({},l),{},{tickCoord:f>0?l.coordinate-f*t:l.coordinate})}else i[e]=l=YE(YE({},l),{},{tickCoord:l.coordinate});UE(t,l.tickCoord,s,c,u)&&(u=l.tickCoord-t*(s()/2+o),i[e]=YE(YE({},l),{},{isShow:!0}))},s=a-1;s>=0;s--)l(s);return i}(v,m,y,o,a),p.filter((function(t){return t.isShow})))}zE(FE,"displayName","ReferenceArea"),zE(FE,"defaultProps",{isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#ccc",fillOpacity:.5,stroke:"none",strokeWidth:1}),zE(FE,"renderRect",(function(t,e){return J.isValidElement(t)?J.cloneElement(t,e):ta(t)?t(e):J.createElement(sA,_E({},e,{className:"recharts-reference-area-rect"}))}));var GE=["viewBox"],ZE=["viewBox"],JE=["ticks"];function QE(t){return QE="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},QE(t)}function tC(){return tC=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},tC.apply(this,arguments)}function eC(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function rC(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?eC(Object(r),!0).forEach((function(e){lC(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):eC(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function nC(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function oC(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,sC(n.key),n)}}function iC(t,e,r){return e=cC(e),function(t,e){if(e&&("object"===QE(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,aC()?Reflect.construct(e,r||[],cC(t).constructor):e.apply(t,r))}function aC(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(aC=function(){return!!t})()}function cC(t){return cC=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},cC(t)}function uC(t,e){return uC=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},uC(t,e)}function lC(t,e,r){return(e=sC(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function sC(t){var e=function(t,e){if("object"!=QE(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!=QE(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"==QE(e)?e:e+""}var fC=function(t){function e(t){var r;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),(r=iC(this,e,[t])).state={fontSize:"",letterSpacing:""},r}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&uC(t,e)}(e,dt),r=e,n=[{key:"shouldComponentUpdate",value:function(t,e){var r=t.viewBox,n=nC(t,GE),o=this.props,i=o.viewBox,a=nC(o,ZE);return!Aa(r,i)||!Aa(n,a)||!Aa(e,this.state)}},{key:"componentDidMount",value:function(){var t=this.layerReference;if(t){var e=t.getElementsByClassName("recharts-cartesian-axis-tick-value")[0];e&&this.setState({fontSize:window.getComputedStyle(e).fontSize,letterSpacing:window.getComputedStyle(e).letterSpacing})}}},{key:"getTickLineCoord",value:function(t){var e,r,n,o,i,a,c=this.props,u=c.x,l=c.y,s=c.width,f=c.height,p=c.orientation,d=c.tickSize,h=c.mirror,y=c.tickMargin,v=h?-1:1,m=t.tickSize||d,g=ga(t.tickCoord)?t.tickCoord:t.coordinate;switch(p){case"top":e=r=t.coordinate,a=(n=(o=l+ +!h*f)-v*m)-v*y,i=g;break;case"left":n=o=t.coordinate,i=(e=(r=u+ +!h*s)-v*m)-v*y,a=g;break;case"right":n=o=t.coordinate,i=(e=(r=u+ +h*s)+v*m)+v*y,a=g;break;default:e=r=t.coordinate,a=(n=(o=l+ +h*f)+v*m)+v*y,i=g}return{line:{x1:e,y1:n,x2:r,y2:o},tick:{x:i,y:a}}}},{key:"getTickTextAnchor",value:function(){var t,e=this.props,r=e.orientation,n=e.mirror;switch(r){case"left":t=n?"start":"end";break;case"right":t=n?"end":"start";break;default:t="middle"}return t}},{key:"getTickVerticalAnchor",value:function(){var t=this.props,e=t.orientation,r=t.mirror,n="end";switch(e){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 t=this.props,e=t.x,r=t.y,n=t.width,o=t.height,i=t.orientation,a=t.mirror,c=t.axisLine,u=rC(rC(rC({},Xa(this.props,!1)),Xa(c,!1)),{},{fill:"none"});if("top"===i||"bottom"===i){var l=+("top"===i&&!a||"bottom"===i&&a);u=rC(rC({},u),{},{x1:e,y1:r+l*o,x2:e+n,y2:r+l*o})}else{var s=+("left"===i&&!a||"right"===i&&a);u=rC(rC({},u),{},{x1:e+s*n,y1:r,x2:e+s*n,y2:r+o})}return J.createElement("line",tC({},u,{className:gn("recharts-cartesian-axis-line",Yi(c,"className"))}))}},{key:"renderTicks",value:function(t,r,n){var o=this,i=this.props,a=i.tickLine,c=i.stroke,u=i.tick,l=i.tickFormatter,s=i.unit,f=KE(rC(rC({},this.props),{},{ticks:t}),r,n),p=this.getTickTextAnchor(),d=this.getTickVerticalAnchor(),h=Xa(this.props,!1),y=Xa(u,!1),v=rC(rC({},h),{},{fill:"none"},Xa(a,!1)),m=f.map((function(t,r){var n=o.getTickLineCoord(t),i=n.line,m=n.tick,g=rC(rC(rC(rC({textAnchor:p,verticalAnchor:d},h),{},{stroke:"none",fill:c},y),m),{},{index:r,payload:t,visibleTicksCount:f.length,tickFormatter:l});return J.createElement(xc,tC({className:"recharts-cartesian-axis-tick",key:"tick-".concat(t.value,"-").concat(t.coordinate,"-").concat(t.tickCoord)},Da(o.props,t,r)),a&&J.createElement("line",tC({},v,i,{className:gn("recharts-cartesian-axis-tick-line",Yi(a,"className"))})),u&&e.renderTickItem(u,g,"".concat(ta(l)?l(t.value,r):t.value).concat(s||"")))}));return J.createElement("g",{className:"recharts-cartesian-axis-ticks"},m)}},{key:"render",value:function(){var t=this,e=this.props,r=e.axisLine,n=e.width,o=e.height,i=e.ticksGenerator,a=e.className;if(e.hide)return null;var c=this.props,u=c.ticks,l=nC(c,JE),s=u;return ta(i)&&(s=u&&u.length>0?i(this.props):i(l)),n<=0||o<=0||!s||!s.length?null:J.createElement(xc,{className:gn("recharts-cartesian-axis",a),ref:function(e){t.layerReference=e}},r&&this.renderAxisLine(),this.renderTicks(s,this.state.fontSize,this.state.letterSpacing),uS.renderCallByParent(this.props))}}],o=[{key:"renderTickItem",value:function(t,e,r){return J.isValidElement(t)?J.cloneElement(t,e):ta(t)?t(e):J.createElement(Dy,tC({},e,{className:"recharts-cartesian-axis-tick-value"}),r)}}],n&&oC(r.prototype,n),o&&oC(r,o),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,o}();lC(fC,"displayName","CartesianAxis"),lC(fC,"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 pC=["type","layout","connectNulls","ref"],dC=["key"];function hC(t){return hC="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},hC(t)}function yC(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function vC(){return vC=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},vC.apply(this,arguments)}function mC(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function gC(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?mC(Object(r),!0).forEach((function(e){AC(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):mC(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function bC(t){return function(t){if(Array.isArray(t))return wC(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return wC(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return wC(t,e)}(t)||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 wC(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function xC(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,MC(n.key),n)}}function OC(t,e,r){return e=jC(e),function(t,e){if(e&&("object"===hC(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,SC()?Reflect.construct(e,r||[],jC(t).constructor):e.apply(t,r))}function SC(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(SC=function(){return!!t})()}function jC(t){return jC=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},jC(t)}function PC(t,e){return PC=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},PC(t,e)}function AC(t,e,r){return(e=MC(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function MC(t){var e=function(t,e){if("object"!=hC(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=hC(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==hC(e)?e:e+""}var kC=function(t){function e(){var t;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return AC(t=OC(this,e,[].concat(n)),"state",{isAnimationFinished:!0,totalLength:0}),AC(t,"generateSimpleStrokeDasharray",(function(t,e){return"".concat(e,"px ").concat(t-e,"px")})),AC(t,"getStrokeDasharray",(function(r,n,o){var i=o.reduce((function(t,e){return t+e}));if(!i)return t.generateSimpleStrokeDasharray(n,r);for(var a=Math.floor(r/i),c=r%i,u=n-r,l=[],s=0,f=0;s<o.length;f+=o[s],++s)if(f+o[s]>c){l=[].concat(bC(o.slice(0,s)),[c-f]);break}var p=l.length%2==0?[0,u]:[u];return[].concat(bC(e.repeat(o,a)),bC(l),p).map((function(t){return"".concat(t,"px")})).join(", ")})),AC(t,"id",xa("recharts-line-")),AC(t,"pathRef",(function(e){t.mainCurve=e})),AC(t,"handleAnimationEnd",(function(){t.setState({isAnimationFinished:!0}),t.props.onAnimationEnd&&t.props.onAnimationEnd()})),AC(t,"handleAnimationStart",(function(){t.setState({isAnimationFinished:!1}),t.props.onAnimationStart&&t.props.onAnimationStart()})),t}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&PC(t,e)}(e,et),r=e,n=[{key:"componentDidMount",value:function(){if(this.props.isAnimationActive){var t=this.getTotalLength();this.setState({totalLength:t})}}},{key:"componentDidUpdate",value:function(){if(this.props.isAnimationActive){var t=this.getTotalLength();t!==this.state.totalLength&&this.setState({totalLength:t})}}},{key:"getTotalLength",value:function(){var t=this.mainCurve;try{return t&&t.getTotalLength&&t.getTotalLength()||0}catch(t){return 0}}},{key:"renderErrorBar",value:function(t,e){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var r=this.props,n=r.points,o=r.xAxis,i=r.yAxis,a=r.layout,c=Va(r.children,iO);if(!c)return null;var u=function(t,e){return{x:t.x,y:t.y,value:t.value,errorVal:mO(t.payload,e)}},l={clipPath:t?"url(#clipPath-".concat(e,")"):null};return J.createElement(xc,l,c.map((function(t){return J.cloneElement(t,{key:"bar-".concat(t.props.dataKey),data:n,xAxis:o,yAxis:i,layout:a,dataPointFormatter:u})})))}},{key:"renderDots",value:function(t,r,n){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var o=this.props,i=o.dot,a=o.points,c=o.dataKey,u=Xa(this.props,!1),l=Xa(i,!0),s=a.map((function(t,r){var n=gC(gC(gC({key:"dot-".concat(r),r:3},u),l),{},{value:t.value,dataKey:c,cx:t.x,cy:t.y,index:r,payload:t.payload});return e.renderDotItem(i,n)})),f={clipPath:t?"url(#clipPath-".concat(r?"":"dots-").concat(n,")"):null};return J.createElement(xc,vC({className:"recharts-line-dots",key:"dots"},f),s)}},{key:"renderCurveStatically",value:function(t,e,r,n){var o=this.props,i=o.type,a=o.layout,c=o.connectNulls;o.ref;var u=yC(o,pC),l=gC(gC(gC({},Xa(u,!0)),{},{fill:"none",className:"recharts-line-curve",clipPath:e?"url(#clipPath-".concat(r,")"):null,points:t},n),{},{type:i,layout:a,connectNulls:c});return J.createElement(qS,vC({},l,{pathRef:this.pathRef}))}},{key:"renderCurveWithAnimation",value:function(t,e){var r=this,n=this.props,o=n.points,i=n.strokeDasharray,a=n.isAnimationActive,c=n.animationBegin,u=n.animationDuration,l=n.animationEasing,s=n.animationId,f=n.animateNewValues,p=n.width,d=n.height,h=this.state,y=h.prevPoints,v=h.totalLength;return J.createElement(QP,{begin:c,duration:u,isActive:a,easing:l,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/o.length,u=o.map((function(t,e){var r=Math.floor(e*c);if(y[r]){var n=y[r],o=ja(n.x,t.x),i=ja(n.y,t.y);return gC(gC({},t),{},{x:o(a),y:i(a)})}if(f){var u=ja(2*p,t.x),l=ja(d/2,t.y);return gC(gC({},t),{},{x:u(a),y:l(a)})}return gC(gC({},t),{},{x:t.x,y:t.y})}));return r.renderCurveStatically(u,t,e)}var l,s=ja(0,v)(a);if(i){var h="".concat(i).split(/[,\s]+/gim).map((function(t){return parseFloat(t)}));l=r.getStrokeDasharray(s,v,h)}else l=r.generateSimpleStrokeDasharray(v,s);return r.renderCurveStatically(o,t,e,{strokeDasharray:l})}))}},{key:"renderCurve",value:function(t,e){var r=this.props,n=r.points,o=r.isAnimationActive,i=this.state,a=i.prevPoints,c=i.totalLength;return o&&n&&n.length&&(!a&&c>0||!zw(a,n))?this.renderCurveWithAnimation(t,e):this.renderCurveStatically(n,t,e)}},{key:"render",value:function(){var t,e=this.props,r=e.hide,n=e.dot,o=e.points,i=e.className,a=e.xAxis,c=e.yAxis,u=e.top,l=e.left,s=e.width,f=e.height,p=e.isAnimationActive,d=e.id;if(r||!o||!o.length)return null;var h=this.state.isAnimationFinished,y=1===o.length,v=gn("recharts-line",i),m=a&&a.allowDataOverflow,g=c&&c.allowDataOverflow,b=m||g,w=Gi(d)?this.id:d,x=null!==(t=Xa(n,!1))&&void 0!==t?t:{r:3,strokeWidth:2},O=x.r,S=void 0===O?3:O,j=x.strokeWidth,P=void 0===j?2:j,A=(Ya(n)?n:{}).clipDot,M=void 0===A||A,k=2*S+P;return J.createElement(xc,{className:v},m||g?J.createElement("defs",null,J.createElement("clipPath",{id:"clipPath-".concat(w)},J.createElement("rect",{x:m?l:l-s/2,y:g?u:u-f/2,width:m?s:2*s,height:g?f:2*f})),!M&&J.createElement("clipPath",{id:"clipPath-dots-".concat(w)},J.createElement("rect",{x:l-k/2,y:u-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||h)&&PS.renderCallByParent(this.props,o))}}],o=[{key:"getDerivedStateFromProps",value:function(t,e){return t.animationId!==e.prevAnimationId?{prevAnimationId:t.animationId,curPoints:t.points,prevPoints:e.curPoints}:t.points!==e.curPoints?{curPoints:t.points}:null}},{key:"repeat",value:function(t,e){for(var r=t.length%2!=0?[].concat(bC(t),[0]):t,n=[],o=0;o<e;++o)n=[].concat(bC(n),bC(r));return n}},{key:"renderDotItem",value:function(t,e){var r;if(J.isValidElement(t))r=J.cloneElement(t,e);else if(ta(t))r=t(e);else{var n=e.key,o=yC(e,dC),i=gn("recharts-line-dot","boolean"!=typeof t?t.className:"");r=J.createElement(pA,vC({key:n},o,{className:i}))}return r}}],n&&xC(r.prototype,n),o&&xC(r,o),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,o}();AC(kC,"displayName","Line"),AC(kC,"defaultProps",{xAxisId:0,yAxisId:0,connectNulls:!1,activeDot:!0,dot:!0,legendType:"line",stroke:"#3182bd",strokeWidth:1,fill:"#fff",points:[],isAnimationActive:!dh,animateNewValues:!0,animationBegin:0,animationDuration:1500,animationEasing:"ease",hide:!1,label:!1}),AC(kC,"getComposedData",(function(t){var e=t.props,r=t.xAxis,n=t.yAxis,o=t.xAxisTicks,i=t.yAxisTicks,a=t.dataKey,c=t.bandSize,u=t.displayedData,l=t.offset,s=e.layout;return gC({points:u.map((function(t,e){var u=mO(t,a);return"horizontal"===s?{x:EO({axis:r,ticks:o,bandSize:c,entry:t,index:e}),y:Gi(u)?null:n.scale(u),value:u,payload:t}:{x:Gi(u)?null:r.scale(u),y:EO({axis:n,ticks:i,bandSize:c,entry:t,index:e}),value:u,payload:t}})),layout:s},l)}));var EC,CC=["layout","type","stroke","connectNulls","isRange","ref"],_C=["key"];function TC(t){return TC="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},TC(t)}function DC(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function IC(){return IC=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},IC.apply(this,arguments)}function NC(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function LC(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?NC(Object(r),!0).forEach((function(e){FC(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):NC(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function BC(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,VC(n.key),n)}}function RC(t,e,r){return e=zC(e),function(t,e){if(e&&("object"===TC(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,$C()?Reflect.construct(e,r||[],zC(t).constructor):e.apply(t,r))}function $C(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return($C=function(){return!!t})()}function zC(t){return zC=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},zC(t)}function HC(t,e){return HC=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},HC(t,e)}function FC(t,e,r){return(e=VC(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function VC(t){var e=function(t,e){if("object"!=TC(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=TC(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==TC(e)?e:e+""}var UC=function(t){function e(){var t;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return FC(t=RC(this,e,[].concat(n)),"state",{isAnimationFinished:!0}),FC(t,"id",xa("recharts-area-")),FC(t,"handleAnimationEnd",(function(){var e=t.props.onAnimationEnd;t.setState({isAnimationFinished:!0}),ta(e)&&e()})),FC(t,"handleAnimationStart",(function(){var e=t.props.onAnimationStart;t.setState({isAnimationFinished:!1}),ta(e)&&e()})),t}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&HC(t,e)}(e,et),r=e,n=[{key:"renderDots",value:function(t,r,n){var o=this.props.isAnimationActive,i=this.state.isAnimationFinished;if(o&&!i)return null;var a=this.props,c=a.dot,u=a.points,l=a.dataKey,s=Xa(this.props,!1),f=Xa(c,!0),p=u.map((function(t,r){var n=LC(LC(LC({key:"dot-".concat(r),r:3},s),f),{},{index:r,cx:t.x,cy:t.y,dataKey:l,value:t.value,payload:t.payload,points:u});return e.renderDotItem(c,n)})),d={clipPath:t?"url(#clipPath-".concat(r?"":"dots-").concat(n,")"):null};return J.createElement(xc,IC({className:"recharts-area-dots"},d),p)}},{key:"renderHorizontalRect",value:function(t){var e=this.props,r=e.baseLine,n=e.points,o=e.strokeWidth,i=n[0].x,a=n[n.length-1].x,c=t*Math.abs(i-a),u=kw(n.map((function(t){return t.y||0})));return ga(r)&&"number"==typeof r?u=Math.max(r,u):r&&Array.isArray(r)&&r.length&&(u=Math.max(kw(r.map((function(t){return t.y||0}))),u)),ga(u)?J.createElement("rect",{x:i<a?i:i-c,y:0,width:c,height:Math.floor(u+(o?parseInt("".concat(o),10):1))}):null}},{key:"renderVerticalRect",value:function(t){var e=this.props,r=e.baseLine,n=e.points,o=e.strokeWidth,i=n[0].y,a=n[n.length-1].y,c=t*Math.abs(i-a),u=kw(n.map((function(t){return t.x||0})));return ga(r)&&"number"==typeof r?u=Math.max(r,u):r&&Array.isArray(r)&&r.length&&(u=Math.max(kw(r.map((function(t){return t.x||0}))),u)),ga(u)?J.createElement("rect",{x:0,y:i<a?i:i-c,width:u+(o?parseInt("".concat(o),10):1),height:Math.floor(c)}):null}},{key:"renderClipRect",value:function(t){return"vertical"===this.props.layout?this.renderVerticalRect(t):this.renderHorizontalRect(t)}},{key:"renderAreaStatically",value:function(t,e,r,n){var o=this.props,i=o.layout,a=o.type,c=o.stroke,u=o.connectNulls,l=o.isRange;o.ref;var s=DC(o,CC);return J.createElement(xc,{clipPath:r?"url(#clipPath-".concat(n,")"):null},J.createElement(qS,IC({},Xa(s,!0),{points:t,connectNulls:u,type:a,baseLine:e,layout:i,stroke:"none",className:"recharts-area-area"})),"none"!==c&&J.createElement(qS,IC({},Xa(this.props,!1),{className:"recharts-area-curve",layout:i,type:a,connectNulls:u,fill:"none",points:t})),"none"!==c&&l&&J.createElement(qS,IC({},Xa(this.props,!1),{className:"recharts-area-curve",layout:i,type:a,connectNulls:u,fill:"none",points:e})))}},{key:"renderAreaWithAnimation",value:function(t,e){var r=this,n=this.props,o=n.points,i=n.baseLine,a=n.isAnimationActive,c=n.animationBegin,u=n.animationDuration,l=n.animationEasing,s=n.animationId,f=this.state,p=f.prevPoints,d=f.prevBaseLine;return J.createElement(QP,{begin:c,duration:u,isActive:a,easing:l,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,u=p.length/o.length,l=o.map((function(t,e){var r=Math.floor(e*u);if(p[r]){var n=p[r],o=ja(n.x,t.x),i=ja(n.y,t.y);return LC(LC({},t),{},{x:o(a),y:i(a)})}return t}));return c=ga(i)&&"number"==typeof i?ja(d,i)(a):Gi(i)||ha(i)?ja(d,0)(a):i.map((function(t,e){var r=Math.floor(e*u);if(d[r]){var n=d[r],o=ja(n.x,t.x),i=ja(n.y,t.y);return LC(LC({},t),{},{x:o(a),y:i(a)})}return t})),r.renderAreaStatically(l,c,t,e)}return J.createElement(xc,null,J.createElement("defs",null,J.createElement("clipPath",{id:"animationClipPath-".concat(e)},r.renderClipRect(a))),J.createElement(xc,{clipPath:"url(#animationClipPath-".concat(e,")")},r.renderAreaStatically(o,i,t,e)))}))}},{key:"renderArea",value:function(t,e){var r=this.props,n=r.points,o=r.baseLine,i=r.isAnimationActive,a=this.state,c=a.prevPoints,u=a.prevBaseLine,l=a.totalLength;return i&&n&&n.length&&(!c&&l>0||!zw(c,n)||!zw(u,o))?this.renderAreaWithAnimation(t,e):this.renderAreaStatically(n,o,t,e)}},{key:"render",value:function(){var t,e=this.props,r=e.hide,n=e.dot,o=e.points,i=e.className,a=e.top,c=e.left,u=e.xAxis,l=e.yAxis,s=e.width,f=e.height,p=e.isAnimationActive,d=e.id;if(r||!o||!o.length)return null;var h=this.state.isAnimationFinished,y=1===o.length,v=gn("recharts-area",i),m=u&&u.allowDataOverflow,g=l&&l.allowDataOverflow,b=m||g,w=Gi(d)?this.id:d,x=null!==(t=Xa(n,!1))&&void 0!==t?t:{r:3,strokeWidth:2},O=x.r,S=void 0===O?3:O,j=x.strokeWidth,P=void 0===j?2:j,A=(Ya(n)?n:{}).clipDot,M=void 0===A||A,k=2*S+P;return J.createElement(xc,{className:v},m||g?J.createElement("defs",null,J.createElement("clipPath",{id:"clipPath-".concat(w)},J.createElement("rect",{x:m?c:c-s/2,y:g?a:a-f/2,width:m?s:2*s,height:g?f:2*f})),!M&&J.createElement("clipPath",{id:"clipPath-dots-".concat(w)},J.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||h)&&PS.renderCallByParent(this.props,o))}}],o=[{key:"getDerivedStateFromProps",value:function(t,e){return t.animationId!==e.prevAnimationId?{prevAnimationId:t.animationId,curPoints:t.points,curBaseLine:t.baseLine,prevPoints:e.curPoints,prevBaseLine:e.curBaseLine}:t.points!==e.curPoints||t.baseLine!==e.curBaseLine?{curPoints:t.points,curBaseLine:t.baseLine}:null}}],n&&BC(r.prototype,n),o&&BC(r,o),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,o}();function WC(t){return WC="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},WC(t)}function qC(t,e,r){return e&&function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,JC(n.key),n)}}(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}function YC(t,e,r){return e=KC(e),function(t,e){if(e&&("object"===WC(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,XC()?Reflect.construct(e,r||[],KC(t).constructor):e.apply(t,r))}function XC(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(XC=function(){return!!t})()}function KC(t){return KC=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},KC(t)}function GC(t,e){return GC=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},GC(t,e)}function ZC(t,e,r){return(e=JC(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function JC(t){var e=function(t,e){if("object"!=WC(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!=WC(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"==WC(e)?e:e+""}function QC(){return QC=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},QC.apply(this,arguments)}function t_(t){var e=t.xAxisId,r=rE(),n=nE(),o=tE(e);return null==o?null:J.createElement(fC,QC({},o,{className:gn("recharts-".concat(o.axisType," ").concat(o.axisType),o.className),viewBox:{x:0,y:0,width:r,height:n},ticksGenerator:function(t){return SO(t,!0)}}))}EC=UC,FC(UC,"displayName","Area"),FC(UC,"defaultProps",{stroke:"#3182bd",fill:"#3182bd",fillOpacity:.6,xAxisId:0,yAxisId:0,legendType:"line",connectNulls:!1,points:[],dot:!1,activeDot:!0,hide:!1,isAnimationActive:!dh,animationBegin:0,animationDuration:1500,animationEasing:"ease"}),FC(UC,"getBaseValue",(function(t,e,r,n){var o=t.layout,i=t.baseValue,a=e.props.baseValue,c=null!=a?a:i;if(ga(c)&&"number"==typeof c)return c;var u="horizontal"===o?n:r,l=u.scale.domain();if("number"===u.type){var s=Math.max(l[0],l[1]),f=Math.min(l[0],l[1]);return"dataMin"===c?f:"dataMax"===c||s<0?s:Math.max(Math.min(l[0],l[1]),0)}return"dataMin"===c?l[0]:"dataMax"===c?l[1]:l[0]})),FC(UC,"getComposedData",(function(t){var e,r=t.props,n=t.item,o=t.xAxis,i=t.yAxis,a=t.xAxisTicks,c=t.yAxisTicks,u=t.bandSize,l=t.dataKey,s=t.stackedData,f=t.dataStartIndex,p=t.displayedData,d=t.offset,h=r.layout,y=s&&s.length,v=EC.getBaseValue(r,n,o,i),m="horizontal"===h,g=!1,b=p.map((function(t,e){var r;y?r=s[f+e]:(r=mO(t,l),Array.isArray(r)?g=!0:r=[v,r]);var n=null==r[1]||y&&null==mO(t,l);return m?{x:EO({axis:o,ticks:a,bandSize:u,entry:t,index:e}),y:n?null:i.scale(r[1]),value:r,payload:t}:{x:n?null:o.scale(r[1]),y:EO({axis:i,ticks:c,bandSize:u,entry:t,index:e}),value:r,payload:t}}));return e=y||g?b.map((function(t){var e=Array.isArray(t.value)?t.value[0]:null;return m?{x:t.x,y:null!=e&&null!=t.y?i.scale(e):null}:{x:null!=e?o.scale(e):null,y:t.y}})):m?i.scale(v):o.scale(v),LC({points:b,baseLine:e,layout:h,isRange:g},d)})),FC(UC,"renderDotItem",(function(t,e){var r;if(J.isValidElement(t))r=J.cloneElement(t,e);else if(ta(t))r=t(e);else{var n=gn("recharts-area-dot","boolean"!=typeof t?t.className:""),o=e.key,i=DC(e,_C);r=J.createElement(pA,IC({},i,{key:o,className:n}))}return r}));var e_=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),YC(this,e,arguments)}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&GC(t,e)}(e,J.Component),qC(e,[{key:"render",value:function(){return J.createElement(t_,this.props)}}])}();function r_(t){return r_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r_(t)}function n_(t,e,r){return e&&function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,l_(n.key),n)}}(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}function o_(t,e,r){return e=a_(e),function(t,e){if(e&&("object"===r_(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,i_()?Reflect.construct(e,r||[],a_(t).constructor):e.apply(t,r))}function i_(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(i_=function(){return!!t})()}function a_(t){return a_=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},a_(t)}function c_(t,e){return c_=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},c_(t,e)}function u_(t,e,r){return(e=l_(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function l_(t){var e=function(t,e){if("object"!=r_(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!=r_(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"==r_(e)?e:e+""}function s_(){return s_=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},s_.apply(this,arguments)}ZC(e_,"displayName","XAxis"),ZC(e_,"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 f_=function(t){var e=t.yAxisId,r=rE(),n=nE(),o=eE(e);return null==o?null:J.createElement(fC,s_({},o,{className:gn("recharts-".concat(o.axisType," ").concat(o.axisType),o.className),viewBox:{x:0,y:0,width:r,height:n},ticksGenerator:function(t){return SO(t,!0)}}))},p_=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),o_(this,e,arguments)}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&c_(t,e)}(e,J.Component),n_(e,[{key:"render",value:function(){return J.createElement(f_,this.props)}}])}();function d_(t){return function(t){if(Array.isArray(t))return h_(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return h_(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return h_(t,e)}(t)||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 h_(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}u_(p_,"displayName","YAxis"),u_(p_,"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 y_,v_=function(t,e,r,n,o){var i=Va(t,gE),a=Va(t,CE),c=[].concat(d_(i),d_(a)),u=Va(t,FE),l="".concat(n,"Id"),s=n[0],f=e;if(c.length&&(f=c.reduce((function(t,e){if(e.props[l]===r&&FM(e.props,"extendDomain")&&ga(e.props[s])){var n=e.props[s];return[Math.min(t[0],n),Math.max(t[1],n)]}return t}),f)),u.length){var p="".concat(s,"1"),d="".concat(s,"2");f=u.reduce((function(t,e){if(e.props[l]===r&&FM(e.props,"extendDomain")&&ga(e.props[p])&&ga(e.props[d])){var n=e.props[p],o=e.props[d];return[Math.min(t[0],n,o),Math.max(t[1],n,o)]}return t}),f)}return o&&o.length&&(f=o.reduce((function(t,e){return ga(e)?[Math.min(t[0],e),Math.max(t[1],e)]:t}),f)),f},m_={exports:{}};var g_=(y_||(y_=1,function(t){var e=Object.prototype.hasOwnProperty,r="~";function n(){}function o(t,e,r){this.fn=t,this.context=e,this.once=r||!1}function i(t,e,n,i,a){if("function"!=typeof n)throw new TypeError("The listener must be a function");var c=new o(n,i||t,a),u=r?r+e:e;return t._events[u]?t._events[u].fn?t._events[u]=[t._events[u],c]:t._events[u].push(c):(t._events[u]=c,t._eventsCount++),t}function a(t,e){0==--t._eventsCount?t._events=new n:delete t._events[e]}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 t,n,o=[];if(0===this._eventsCount)return o;for(n in t=this._events)e.call(t,n)&&o.push(r?n.slice(1):n);return Object.getOwnPropertySymbols?o.concat(Object.getOwnPropertySymbols(t)):o},c.prototype.listeners=function(t){var e=r?r+t:t,n=this._events[e];if(!n)return[];if(n.fn)return[n.fn];for(var o=0,i=n.length,a=new Array(i);o<i;o++)a[o]=n[o].fn;return a},c.prototype.listenerCount=function(t){var e=r?r+t:t,n=this._events[e];return n?n.fn?1:n.length:0},c.prototype.emit=function(t,e,n,o,i,a){var c=r?r+t:t;if(!this._events[c])return!1;var u,l,s=this._events[c],f=arguments.length;if(s.fn){switch(s.once&&this.removeListener(t,s.fn,void 0,!0),f){case 1:return s.fn.call(s.context),!0;case 2:return s.fn.call(s.context,e),!0;case 3:return s.fn.call(s.context,e,n),!0;case 4:return s.fn.call(s.context,e,n,o),!0;case 5:return s.fn.call(s.context,e,n,o,i),!0;case 6:return s.fn.call(s.context,e,n,o,i,a),!0}for(l=1,u=new Array(f-1);l<f;l++)u[l-1]=arguments[l];s.fn.apply(s.context,u)}else{var p,d=s.length;for(l=0;l<d;l++)switch(s[l].once&&this.removeListener(t,s[l].fn,void 0,!0),f){case 1:s[l].fn.call(s[l].context);break;case 2:s[l].fn.call(s[l].context,e);break;case 3:s[l].fn.call(s[l].context,e,n);break;case 4:s[l].fn.call(s[l].context,e,n,o);break;default:if(!u)for(p=1,u=new Array(f-1);p<f;p++)u[p-1]=arguments[p];s[l].fn.apply(s[l].context,u)}}return!0},c.prototype.on=function(t,e,r){return i(this,t,e,r,!1)},c.prototype.once=function(t,e,r){return i(this,t,e,r,!0)},c.prototype.removeListener=function(t,e,n,o){var i=r?r+t:t;if(!this._events[i])return this;if(!e)return a(this,i),this;var c=this._events[i];if(c.fn)c.fn!==e||o&&!c.once||n&&c.context!==n||a(this,i);else{for(var u=0,l=[],s=c.length;u<s;u++)(c[u].fn!==e||o&&!c[u].once||n&&c[u].context!==n)&&l.push(c[u]);l.length?this._events[i]=1===l.length?l[0]:l:a(this,i)}return this},c.prototype.removeAllListeners=function(t){var e;return t?(e=r?r+t:t,this._events[e]&&a(this,e)):(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,t.exports=c}(m_)),m_.exports),b_=new(Je(g_)),w_="recharts.syncMouseEvents";function x_(t){return x_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},x_(t)}function O_(t,e,r){return e&&function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,j_(n.key),n)}}(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}function S_(t,e,r){return(e=j_(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function j_(t){var e=function(t,e){if("object"!=x_(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!=x_(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"==x_(e)?e:e+""}var P_=function(){return O_((function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),S_(this,"activeIndex",0),S_(this,"coordinateList",[]),S_(this,"layout","horizontal")}),[{key:"setDetails",value:function(t){var e,r=t.coordinateList,n=void 0===r?null:r,o=t.container,i=void 0===o?null:o,a=t.layout,c=void 0===a?null:a,u=t.offset,l=void 0===u?null:u,s=t.mouseHandlerCallback,f=void 0===s?null:s;this.coordinateList=null!==(e=null!=n?n:this.coordinateList)&&void 0!==e?e:[],this.container=null!=i?i:this.container,this.layout=null!=c?c:this.layout,this.offset=null!=l?l: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(t){if(0!==this.coordinateList.length)switch(t.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(t){this.activeIndex=t}},{key:"spoofMouse",value:function(){var t,e;if("horizontal"===this.layout&&0!==this.coordinateList.length){var r=this.container.getBoundingClientRect(),n=r.x,o=r.y,i=r.height,a=this.coordinateList[this.activeIndex].coordinate,c=(null===(t=window)||void 0===t?void 0:t.scrollX)||0,u=(null===(e=window)||void 0===e?void 0:e.scrollY)||0,l=n+a+c,s=o+this.offset.top+i/2+u;this.mouseHandlerCallback({pageX:l,pageY:s})}}}])}();function A_(t){var e=t.cx,r=t.cy,n=t.radius,o=t.startAngle,i=t.endAngle;return{points:[UO(e,r,n,o),UO(e,r,n,i)],cx:e,cy:r,radius:n,startAngle:o,endAngle:i}}function M_(t,e,r){var n,o,i,a;if("horizontal"===t)i=n=e.x,o=r.top,a=r.top+r.height;else if("vertical"===t)a=o=e.y,n=r.left,i=r.left+r.width;else if(null!=e.cx&&null!=e.cy){if("centric"!==t)return A_(e);var c=e.cx,u=e.cy,l=e.innerRadius,s=e.outerRadius,f=e.angle,p=UO(c,u,l,f),d=UO(c,u,s,f);n=p.x,o=p.y,i=d.x,a=d.y}return[{x:n,y:o},{x:i,y:a}]}function k_(t){return k_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},k_(t)}function E_(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function C_(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?E_(Object(r),!0).forEach((function(e){__(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):E_(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function __(t,e,r){return e=function(t){var e=function(t,e){if("object"!=k_(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=k_(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==k_(e)?e:e+""}(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function T_(t){var e,r,n,o=t.element,i=t.tooltipEventType,a=t.isActive,c=t.activeCoordinate,u=t.activePayload,l=t.offset,s=t.activeTooltipIndex,f=t.tooltipAxisBandSize,p=t.layout,d=t.chartName,h=null!==(e=o.props.cursor)&&void 0!==e?e:null===(r=o.type.defaultProps)||void 0===r?void 0:r.cursor;if(!o||!h||!a||!c||"ScatterChart"!==d&&"axis"!==i)return null;var y=qS;if("ScatterChart"===d)n=c,y=jA;else if("BarChart"===d)n=function(t,e,r,n){var o=n/2;return{stroke:"none",fill:"#ccc",x:"horizontal"===t?e.x-o:r.left+.5,y:"horizontal"===t?r.top+.5:e.y-o,width:"horizontal"===t?n:r.width-1,height:"horizontal"===t?r.height-1:n}}(p,c,l,f),y=sA;else if("radial"===p){var v=A_(c),m=v.cx,g=v.cy,b=v.radius;n={cx:m,cy:g,startAngle:v.startAngle,endAngle:v.endAngle,innerRadius:b,outerRadius:b},y=IS}else n={points:M_(p,c,l)},y=qS;var w=C_(C_(C_(C_({stroke:"#ccc",pointerEvents:"none"},l),n),Xa(h,!1)),{},{payload:u,payloadIndex:s,className:gn("recharts-tooltip-cursor",h.className)});return Q(h)?lt(h,w):st(y,w)}var D_=["item"],I_=["children","className","width","height","style","compact","title","desc"];function N_(t){return N_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},N_(t)}function L_(){return L_=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},L_.apply(this,arguments)}function B_(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e);else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||W_(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 R_(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function $_(t,e,r){return e&&function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,G_(n.key),n)}}(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}function z_(t,e,r){return e=F_(e),function(t,e){if(e&&("object"===N_(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,H_()?Reflect.construct(e,r||[],F_(t).constructor):e.apply(t,r))}function H_(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(H_=function(){return!!t})()}function F_(t){return F_=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},F_(t)}function V_(t,e){return V_=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},V_(t,e)}function U_(t){return function(t){if(Array.isArray(t))return q_(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||W_(t)||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 W_(t,e){if(t){if("string"==typeof t)return q_(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?q_(t,e):void 0}}function q_(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function Y_(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function X_(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Y_(Object(r),!0).forEach((function(e){K_(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Y_(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function K_(t,e,r){return(e=G_(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function G_(t){var e=function(t,e){if("object"!=N_(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=N_(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==N_(e)?e:e+""}var Z_={xAxis:["bottom","top"],yAxis:["left","right"]},J_={width:"100%",height:"100%"},Q_={x:0,y:0};function tT(t){return t}var eT=function(t,e){var r=e.graphicalItems,n=e.dataStartIndex,o=e.dataEndIndex,i=(null!=r?r:[]).reduce((function(t,e){var r=e.props.data;return r&&r.length?[].concat(U_(t),U_(r)):t}),[]);return i.length>0?i:t&&t.length&&ga(n)&&ga(o)?t.slice(n,o+1):[]};function rT(t){return"number"===t?[0,"auto"]:void 0}var nT=function(t,e,r,n){var o=t.graphicalItems,i=t.tooltipAxis,a=eT(e,t);return r<0||!o||!o.length||r>=a.length?null:o.reduce((function(o,c){var u,l,s=null!==(u=c.props.data)&&void 0!==u?u:e;(s&&t.dataStartIndex+t.dataEndIndex!==0&&t.dataEndIndex-t.dataStartIndex>=r&&(s=s.slice(t.dataStartIndex,t.dataEndIndex+1)),i.dataKey&&!i.allowDuplicatedCategory)?l=Pa(void 0===s?a:s,i.dataKey,n):l=s&&s[r]||a[r];return l?[].concat(U_(o),[BO(c,l)]):o}),[])},oT=function(t,e,r,n){var o=n||{x:t.chartX,y:t.chartY},i=function(t,e){return"horizontal"===e?t.x:"vertical"===e?t.y:"centric"===e?t.angle:t.radius}(o,r),a=t.orderedTooltipTicks,c=t.tooltipAxis,u=t.tooltipTicks,l=function(t){var e,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2?arguments[2]:void 0,o=arguments.length>3?arguments[3]:void 0,i=-1,a=null!==(e=null==r?void 0:r.length)&&void 0!==e?e:0;if(a<=1)return 0;if(o&&"angleAxis"===o.axisType&&Math.abs(Math.abs(o.range[1]-o.range[0])-360)<=1e-6)for(var c=o.range,u=0;u<a;u++){var l=u>0?n[u-1].coordinate:n[a-1].coordinate,s=n[u].coordinate,f=u>=a-1?n[0].coordinate:n[u+1].coordinate,p=void 0;if(va(s-l)!==va(f-s)){var d=[];if(va(f-s)===va(c[1]-c[0])){p=f;var h=s+c[1]-c[0];d[0]=Math.min(h,(h+l)/2),d[1]=Math.max(h,(h+l)/2)}else{p=l;var y=f+c[1]-c[0];d[0]=Math.min(s,(y+s)/2),d[1]=Math.max(s,(y+s)/2)}var v=[Math.min(s,(p+s)/2),Math.max(s,(p+s)/2)];if(t>v[0]&&t<=v[1]||t>=d[0]&&t<=d[1]){i=n[u].index;break}}else{var m=Math.min(l,f),g=Math.max(l,f);if(t>(m+s)/2&&t<=(g+s)/2){i=n[u].index;break}}}else for(var b=0;b<a;b++)if(0===b&&t<=(r[b].coordinate+r[b+1].coordinate)/2||b>0&&b<a-1&&t>(r[b].coordinate+r[b-1].coordinate)/2&&t<=(r[b].coordinate+r[b+1].coordinate)/2||b===a-1&&t>(r[b].coordinate+r[b-1].coordinate)/2){i=r[b].index;break}return i}(i,a,u,c);if(l>=0&&u){var s=u[l]&&u[l].value,f=nT(t,e,l,s),p=function(t,e,r,n){var o=e.find((function(t){return t&&t.index===r}));if(o){if("horizontal"===t)return{x:o.coordinate,y:n.y};if("vertical"===t)return{x:n.x,y:o.coordinate};if("centric"===t){var i=o.coordinate,a=n.radius;return X_(X_(X_({},n),UO(n.cx,n.cy,a,i)),{},{angle:i,radius:a})}var c=o.coordinate,u=n.angle;return X_(X_(X_({},n),UO(n.cx,n.cy,c,u)),{},{angle:u,radius:c})}return Q_}(r,a,l,o);return{activeTooltipIndex:l,activeLabel:s,activePayload:f,activeCoordinate:p}}return null},iT=function(t,e){var r=e.axes,n=e.graphicalItems,o=e.axisType,i=e.axisIdKey,a=e.stackGroups,c=e.dataStartIndex,u=e.dataEndIndex,l=t.layout,s=t.children,f=t.stackOffset,p=OO(l,o);return r.reduce((function(e,r){var d,h=void 0!==r.type.defaultProps?X_(X_({},r.type.defaultProps),r.props):r.props,y=h.type,v=h.dataKey,m=h.allowDataOverflow,g=h.allowDuplicatedCategory,b=h.scale,w=h.ticks,x=h.includeHidden,O=h[i];if(e[O])return e;var S,j,P,A=eT(t.data,{graphicalItems:n.filter((function(t){var e;return(i in t.props?t.props[i]:null===(e=t.type.defaultProps)||void 0===e?void 0:e[i])===O})),dataStartIndex:c,dataEndIndex:u}),M=A.length;(function(t,e,r){if("number"===r&&!0===e&&Array.isArray(t)){var n=null==t?void 0:t[0],o=null==t?void 0:t[1];if(n&&o&&ga(n)&&ga(o))return!0}return!1})(h.domain,m,y)&&(S=IO(h.domain,null,m),!p||"number"!==y&&"auto"===b||(P=gO(A,v,"category")));var k=rT(y);if(!S||0===S.length){var E,C=null!==(E=h.domain)&&void 0!==E?E:k;if(v){if(S=gO(A,v,y),"category"===y&&p){var _=function(t){if(!Array.isArray(t))return!1;for(var e=t.length,r={},n=0;n<e;n++){if(r[t[n]])return!0;r[t[n]]=!0}return!1}(S);g&&_?(j=S,S=dM(0,M)):g||(S=LO(C,S,r).reduce((function(t,e){return t.indexOf(e)>=0?t:[].concat(U_(t),[e])}),[]))}else if("category"===y)S=g?S.filter((function(t){return""!==t&&!Gi(t)})):LO(C,S,r).reduce((function(t,e){return t.indexOf(e)>=0||""===e||Gi(e)?t:[].concat(U_(t),[e])}),[]);else if("number"===y){var T=function(t,e,r,n,o){var i=e.map((function(e){return wO(t,e,r,o,n)})).filter((function(t){return!Gi(t)}));return i&&i.length?i.reduce((function(t,e){return[Math.min(t[0],e[0]),Math.max(t[1],e[1])]}),[1/0,-1/0]):null}(A,n.filter((function(t){var e,r,n=i in t.props?t.props[i]:null===(e=t.type.defaultProps)||void 0===e?void 0:e[i],o="hide"in t.props?t.props.hide:null===(r=t.type.defaultProps)||void 0===r?void 0:r.hide;return n===O&&(x||!o)})),v,o,l);T&&(S=T)}!p||"number"!==y&&"auto"===b||(P=gO(A,v,"category"))}else S=p?dM(0,M):a&&a[O]&&a[O].hasStack&&"number"===y?"expand"===f?[0,1]:_O(a[O].stackGroups,c,u):xO(A,n.filter((function(t){var e=i in t.props?t.props[i]:t.type.defaultProps[i],r="hide"in t.props?t.props.hide:t.type.defaultProps.hide;return e===O&&(x||!r)})),y,l,!0);if("number"===y)S=v_(s,S,O,o,w),C&&(S=IO(C,S,m));else if("category"===y&&C){var D=C;S.every((function(t){return D.indexOf(t)>=0}))&&(S=D)}}return X_(X_({},e),{},K_({},O,X_(X_({},h),{},{axisType:o,domain:S,categoricalDomain:P,duplicateDomain:j,originalDomain:null!==(d=h.domain)&&void 0!==d?d:k,isCategorical:p,layout:l})))}),{})},aT=function(t,e){var r=e.axisType,n=void 0===r?"xAxis":r,o=e.AxisComp,i=e.graphicalItems,a=e.stackGroups,c=e.dataStartIndex,u=e.dataEndIndex,l=t.children,s="".concat(n,"Id"),f=Va(l,o),p={};return f&&f.length?p=iT(t,{axes:f,graphicalItems:i,axisType:n,axisIdKey:s,stackGroups:a,dataStartIndex:c,dataEndIndex:u}):i&&i.length&&(p=function(t,e){var r=e.graphicalItems,n=e.Axis,o=e.axisType,i=e.axisIdKey,a=e.stackGroups,c=e.dataStartIndex,u=e.dataEndIndex,l=t.layout,s=t.children,f=eT(t.data,{graphicalItems:r,dataStartIndex:c,dataEndIndex:u}),p=f.length,d=OO(l,o),h=-1;return r.reduce((function(t,e){var y,v=(void 0!==e.type.defaultProps?X_(X_({},e.type.defaultProps),e.props):e.props)[i],m=rT("number");return t[v]?t:(h++,d?y=dM(0,p):a&&a[v]&&a[v].hasStack?(y=_O(a[v].stackGroups,c,u),y=v_(s,y,v,o)):(y=IO(m,xO(f,r.filter((function(t){var e,r,n=i in t.props?t.props[i]:null===(e=t.type.defaultProps)||void 0===e?void 0:e[i],o="hide"in t.props?t.props.hide:null===(r=t.type.defaultProps)||void 0===r?void 0:r.hide;return n===v&&!o})),"number",l),n.defaultProps.allowDataOverflow),y=v_(s,y,v,o)),X_(X_({},t),{},K_({},v,X_(X_({axisType:o},n.defaultProps),{},{hide:!0,orientation:Yi(Z_,"".concat(o,".").concat(h%2),null),domain:y,originalDomain:m,isCategorical:d,layout:l}))))}),{})}(t,{Axis:o,graphicalItems:i,axisType:n,axisIdKey:s,stackGroups:a,dataStartIndex:c,dataEndIndex:u})),p},cT=function(t){var e=t.children,r=t.defaultShowTooltip,n=Ua(e,NM),o=0,i=0;return t.data&&0!==t.data.length&&(i=t.data.length-1),n&&n.props&&(n.props.startIndex>=0&&(o=n.props.startIndex),n.props.endIndex>=0&&(i=n.props.endIndex)),{chartX:0,chartY:0,dataStartIndex:o,dataEndIndex:i,activeTooltipIndex:-1,isTooltipActive:Boolean(r)}},uT=function(t){return"horizontal"===t?{numericAxisName:"yAxis",cateAxisName:"xAxis"}:"vertical"===t?{numericAxisName:"xAxis",cateAxisName:"yAxis"}:"centric"===t?{numericAxisName:"radiusAxis",cateAxisName:"angleAxis"}:{numericAxisName:"angleAxis",cateAxisName:"radiusAxis"}},lT=function(t,e){var r=t.props,n=(t.graphicalItems,t.xAxisMap),o=void 0===n?{}:n,i=t.yAxisMap,a=void 0===i?{}:i,c=r.width,u=r.height,l=r.children,s=r.margin||{},f=Ua(l,NM),p=Ua(l,Ad),d=Object.keys(a).reduce((function(t,e){var r=a[e],n=r.orientation;return r.mirror||r.hide?t:X_(X_({},t),{},K_({},n,t[n]+r.width))}),{left:s.left||0,right:s.right||0}),h=Object.keys(o).reduce((function(t,e){var r=o[e],n=r.orientation;return r.mirror||r.hide?t:X_(X_({},t),{},K_({},n,Yi(t,"".concat(n))+r.height))}),{top:s.top||0,bottom:s.bottom||0}),y=X_(X_({},h),d),v=y.bottom;f&&(y.bottom+=f.props.height||NM.defaultProps.height),p&&e&&(y=function(t,e,r,n){var o=r.children,i=r.width,a=r.margin,c=i-(a.left||0)-(a.right||0),u=sO({children:o,legendWidth:c});if(u){var l=n||{},s=l.width,f=l.height,p=u.align,d=u.verticalAlign,h=u.layout;if(("vertical"===h||"horizontal"===h&&"middle"===d)&&"center"!==p&&ga(t[p]))return yO(yO({},t),{},vO({},p,t[p]+(s||0)));if(("horizontal"===h||"vertical"===h&&"center"===p)&&"middle"!==d&&ga(t[d]))return yO(yO({},t),{},vO({},d,t[d]+(f||0)))}return t}(y,0,r,e));var m=c-y.left-y.right,g=u-y.top-y.bottom;return X_(X_({brushBottom:v},y),{},{width:Math.max(m,0),height:Math.max(g,0)})},sT=function(t,e){return"xAxis"===e?t[e].width:"yAxis"===e?t[e].height:void 0},fT=function(t){var e=t.chartName,r=t.GraphicalChild,n=t.defaultTooltipEventType,o=void 0===n?"axis":n,i=t.validateTooltipEventTypes,a=void 0===i?["axis"]:i,c=t.axisComponents,u=t.legendContent,l=t.formatAxisMap,s=t.defaultProps,f=function(t,e){var r=e.graphicalItems,n=e.stackGroups,o=e.offset,i=e.updateId,a=e.dataStartIndex,u=e.dataEndIndex,l=t.barSize,s=t.layout,f=t.barGap,p=t.barCategoryGap,d=t.maxBarSize,h=uT(s),y=h.numericAxisName,v=h.cateAxisName,m=function(t){return!(!t||!t.length)&&t.some((function(t){var e=$a(t&&t.type);return e&&e.indexOf("Bar")>=0}))}(r),g=[];return r.forEach((function(r,h){var b=eT(t.data,{graphicalItems:[r],dataStartIndex:a,dataEndIndex:u}),w=void 0!==r.type.defaultProps?X_(X_({},r.type.defaultProps),r.props):r.props,x=w.dataKey,O=w.maxBarSize,S=w["".concat(y,"Id")],j=w["".concat(v,"Id")],P=c.reduce((function(t,n){var o,i,a=e["".concat(n.axisType,"Map")],c=w["".concat(n.axisType,"Id")];a&&a[c]||"zAxis"===n.axisType||("production"!==process.env.NODE_ENV?Wx(0,"Specifying a(n) ".concat(n.axisType,"Id requires a corresponding ").concat(n.axisType,"Id on the targeted graphical component ").concat(null!==(o=null==r||null===(i=r.type)||void 0===i?void 0:i.displayName)&&void 0!==o?o:"")):Wx());var u=a[c];return X_(X_({},t),{},K_(K_({},n.axisType,u),"".concat(n.axisType,"Ticks"),SO(u)))}),{}),A=P[v],M=P["".concat(v,"Ticks")],k=n&&n[S]&&n[S].hasStack&&function(t,e){var r,n=(null!==(r=t.type)&&void 0!==r&&r.defaultProps?yO(yO({},t.type.defaultProps),t.props):t.props).stackId;if(ba(n)){var o=e[n];if(o){var i=o.items.indexOf(t);return i>=0?o.stackedData[i]:null}}return null}(r,n[S].stackGroups),E=$a(r.type).indexOf("Bar")>=0,C=NO(A,M),_=[],T=m&&function(t){var e=t.barSize,r=t.totalSize,n=t.stackGroups,o=void 0===n?{}:n;if(!o)return{};for(var i={},a=Object.keys(o),c=0,u=a.length;c<u;c++)for(var l=o[a[c]].stackGroups,s=Object.keys(l),f=0,p=s.length;f<p;f++){var d=l[s[f]],h=d.items,y=d.cateAxisId,v=h.filter((function(t){return $a(t.type).indexOf("Bar")>=0}));if(v&&v.length){var m=v[0].type.defaultProps,g=void 0!==m?yO(yO({},m),v[0].props):v[0].props,b=g.barSize,w=g[y];i[w]||(i[w]=[]);var x=Gi(b)?e:b;i[w].push({item:v[0],stackList:v.slice(1),barSize:Gi(x)?void 0:Oa(x,r,0)})}}return i}({barSize:l,stackGroups:n,totalSize:sT(P,v)});if(E){var D,I,N=Gi(O)?d:O,L=null!==(D=null!==(I=NO(A,M,!0))&&void 0!==I?I:N)&&void 0!==D?D:0;_=function(t){var e=t.barGap,r=t.barCategoryGap,n=t.bandSize,o=t.sizeList,i=void 0===o?[]:o,a=t.maxBarSize,c=i.length;if(c<1)return null;var u,l=Oa(e,n,0,!0),s=[];if(i[0].barSize===+i[0].barSize){var f=!1,p=n/c,d=i.reduce((function(t,e){return t+e.barSize||0}),0);(d+=(c-1)*l)>=n&&(d-=(c-1)*l,l=0),d>=n&&p>0&&(f=!0,d=c*(p*=.9));var h={offset:((n-d)/2|0)-l,size:0};u=i.reduce((function(t,e){var r={item:e.item,position:{offset:h.offset+h.size+l,size:f?p:e.barSize}},n=[].concat(pO(t),[r]);return h=n[n.length-1].position,e.stackList&&e.stackList.length&&e.stackList.forEach((function(t){n.push({item:t,position:h})})),n}),s)}else{var y=Oa(r,n,0,!0);n-2*y-(c-1)*l<=0&&(l=0);var v=(n-2*y-(c-1)*l)/c;v>1&&(v>>=0);var m=a===+a?Math.min(v,a):v;u=i.reduce((function(t,e,r){var n=[].concat(pO(t),[{item:e.item,position:{offset:y+(v+l)*r+(v-m)/2,size:m}}]);return e.stackList&&e.stackList.length&&e.stackList.forEach((function(t){n.push({item:t,position:n[n.length-1].position})})),n}),s)}return u}({barGap:f,barCategoryGap:p,bandSize:L!==C?L:C,sizeList:T[j],maxBarSize:N}),L!==C&&(_=_.map((function(t){return X_(X_({},t),{},{position:X_(X_({},t.position),{},{offset:t.position.offset-L/2})})})))}var B,R,$=r&&r.type&&r.type.getComposedData;$&&g.push({props:X_(X_({},$(X_(X_({},P),{},{displayedData:b,props:t,dataKey:x,item:r,bandSize:C,barPosition:_,offset:o,stackedData:k,layout:s,dataStartIndex:a,dataEndIndex:u}))),{},K_(K_(K_({key:r.key||"item-".concat(h)},y,P[y]),v,P[v]),"animationId",i)),childIndex:(B=r,R=t.children,Fa(R).indexOf(B)),item:r})})),g},p=function(t,n){var o=t.props,i=t.dataStartIndex,a=t.dataEndIndex,u=t.updateId;if(!Wa({props:o}))return null;var s=o.children,p=o.layout,d=o.stackOffset,h=o.data,y=o.reverseStackOrder,v=uT(p),m=v.numericAxisName,g=v.cateAxisName,b=Va(s,r),w=function(t,e,r,n,o,i){if(!t)return null;var a=(i?e.reverse():e).reduce((function(t,e){var o,i=null!==(o=e.type)&&void 0!==o&&o.defaultProps?yO(yO({},e.type.defaultProps),e.props):e.props,a=i.stackId;if(i.hide)return t;var c=i[r],u=t[c]||{hasStack:!1,stackGroups:{}};if(ba(a)){var l=u.stackGroups[a]||{numericAxisId:r,cateAxisId:n,items:[]};l.items.push(e),u.hasStack=!0,u.stackGroups[a]=l}else u.stackGroups[xa("_stackId_")]={numericAxisId:r,cateAxisId:n,items:[e]};return yO(yO({},t),{},vO({},c,u))}),{});return Object.keys(a).reduce((function(e,i){var c=a[i];return c.hasStack&&(c.stackGroups=Object.keys(c.stackGroups).reduce((function(e,i){var a=c.stackGroups[i];return yO(yO({},e),{},vO({},i,{numericAxisId:r,cateAxisId:n,items:a.items,stackedData:kO(t,a.items,o)}))}),{})),yO(yO({},e),{},vO({},i,c))}),{})}(h,b,"".concat(m,"Id"),"".concat(g,"Id"),d,y),x=c.reduce((function(t,e){var r="".concat(e.axisType,"Map");return X_(X_({},t),{},K_({},r,aT(o,X_(X_({},e),{},{graphicalItems:b,stackGroups:e.axisType===m&&w,dataStartIndex:i,dataEndIndex:a}))))}),{}),O=lT(X_(X_({},x),{},{props:o,graphicalItems:b}),null==n?void 0:n.legendBBox);Object.keys(x).forEach((function(t){x[t]=l(o,x[t],O,t.replace("Map",""),e)}));var S,j,P=x["".concat(g,"Map")],A=(S=Sa(P),{tooltipTicks:j=SO(S,!1,!0),orderedTooltipTicks:zd(j,(function(t){return t.coordinate})),tooltipAxis:S,tooltipAxisBandSize:NO(S,j)}),M=f(o,X_(X_({},x),{},{dataStartIndex:i,dataEndIndex:a,updateId:u,graphicalItems:b,stackGroups:w,offset:O}));return X_(X_({formattedGraphicalItems:M,graphicalItems:b,offset:O,stackGroups:w},A),x)},d=function(t){function r(t){var n,o,i;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,r),K_(i=z_(this,r,[t]),"eventEmitterSymbol",Symbol("rechartsEventEmitter")),K_(i,"accessibilityManager",new P_),K_(i,"handleLegendBBoxUpdate",(function(t){if(t){var e=i.state,r=e.dataStartIndex,n=e.dataEndIndex,o=e.updateId;i.setState(X_({legendBBox:t},p({props:i.props,dataStartIndex:r,dataEndIndex:n,updateId:o},X_(X_({},i.state),{},{legendBBox:t}))))}})),K_(i,"handleReceiveSyncEvent",(function(t,e,r){if(i.props.syncId===t){if(r===i.eventEmitterSymbol&&"function"!=typeof i.props.syncMethod)return;i.applySyncEvent(e)}})),K_(i,"handleBrushChange",(function(t){var e=t.startIndex,r=t.endIndex;if(e!==i.state.dataStartIndex||r!==i.state.dataEndIndex){var n=i.state.updateId;i.setState((function(){return X_({dataStartIndex:e,dataEndIndex:r},p({props:i.props,dataStartIndex:e,dataEndIndex:r,updateId:n},i.state))})),i.triggerSyncEvent({dataStartIndex:e,dataEndIndex:r})}})),K_(i,"handleMouseEnter",(function(t){var e=i.getMouseInfo(t);if(e){var r=X_(X_({},e),{},{isTooltipActive:!0});i.setState(r),i.triggerSyncEvent(r);var n=i.props.onMouseEnter;ta(n)&&n(r,t)}})),K_(i,"triggeredAfterMouseMove",(function(t){var e=i.getMouseInfo(t),r=e?X_(X_({},e),{},{isTooltipActive:!0}):{isTooltipActive:!1};i.setState(r),i.triggerSyncEvent(r);var n=i.props.onMouseMove;ta(n)&&n(r,t)})),K_(i,"handleItemMouseEnter",(function(t){i.setState((function(){return{isTooltipActive:!0,activeItem:t,activePayload:t.tooltipPayload,activeCoordinate:t.tooltipPosition||{x:t.cx,y:t.cy}}}))})),K_(i,"handleItemMouseLeave",(function(){i.setState((function(){return{isTooltipActive:!1}}))})),K_(i,"handleMouseMove",(function(t){t.persist(),i.throttleTriggeredAfterMouseMove(t)})),K_(i,"handleMouseLeave",(function(t){i.throttleTriggeredAfterMouseMove.cancel();var e={isTooltipActive:!1};i.setState(e),i.triggerSyncEvent(e);var r=i.props.onMouseLeave;ta(r)&&r(e,t)})),K_(i,"handleOuterEvent",(function(t){var e,r=function(t){var e=t&&t.type;return e&&Ra[e]?Ra[e]:null}(t),n=Yi(i.props,"".concat(r));r&&ta(n)&&n(null!==(e=/.*touch.*/i.test(r)?i.getMouseInfo(t.changedTouches[0]):i.getMouseInfo(t))&&void 0!==e?e:{},t)})),K_(i,"handleClick",(function(t){var e=i.getMouseInfo(t);if(e){var r=X_(X_({},e),{},{isTooltipActive:!0});i.setState(r),i.triggerSyncEvent(r);var n=i.props.onClick;ta(n)&&n(r,t)}})),K_(i,"handleMouseDown",(function(t){var e=i.props.onMouseDown;ta(e)&&e(i.getMouseInfo(t),t)})),K_(i,"handleMouseUp",(function(t){var e=i.props.onMouseUp;ta(e)&&e(i.getMouseInfo(t),t)})),K_(i,"handleTouchMove",(function(t){null!=t.changedTouches&&t.changedTouches.length>0&&i.throttleTriggeredAfterMouseMove(t.changedTouches[0])})),K_(i,"handleTouchStart",(function(t){null!=t.changedTouches&&t.changedTouches.length>0&&i.handleMouseDown(t.changedTouches[0])})),K_(i,"handleTouchEnd",(function(t){null!=t.changedTouches&&t.changedTouches.length>0&&i.handleMouseUp(t.changedTouches[0])})),K_(i,"triggerSyncEvent",(function(t){void 0!==i.props.syncId&&b_.emit(w_,i.props.syncId,t,i.eventEmitterSymbol)})),K_(i,"applySyncEvent",(function(t){var e=i.props,r=e.layout,n=e.syncMethod,o=i.state.updateId,a=t.dataStartIndex,c=t.dataEndIndex;if(void 0!==t.dataStartIndex||void 0!==t.dataEndIndex)i.setState(X_({dataStartIndex:a,dataEndIndex:c},p({props:i.props,dataStartIndex:a,dataEndIndex:c,updateId:o},i.state)));else if(void 0!==t.activeTooltipIndex){var u=t.chartX,l=t.chartY,s=t.activeTooltipIndex,f=i.state,d=f.offset,h=f.tooltipTicks;if(!d)return;if("function"==typeof n)s=n(h,t);else if("value"===n){s=-1;for(var y=0;y<h.length;y++)if(h[y].value===t.activeLabel){s=y;break}}var v=X_(X_({},d),{},{x:d.left,y:d.top}),m=Math.min(u,v.x+v.width),g=Math.min(l,v.y+v.height),b=h[s]&&h[s].value,w=nT(i.state,i.props.data,s),x=h[s]?{x:"horizontal"===r?h[s].coordinate:m,y:"horizontal"===r?g:h[s].coordinate}:Q_;i.setState(X_(X_({},t),{},{activeLabel:b,activeCoordinate:x,activePayload:w,activeTooltipIndex:s}))}else i.setState(t)})),K_(i,"renderCursor",(function(t){var r,n=i.state,o=n.isTooltipActive,a=n.activeCoordinate,c=n.activePayload,u=n.offset,l=n.activeTooltipIndex,s=n.tooltipAxisBandSize,f=i.getTooltipEventType(),p=null!==(r=t.props.active)&&void 0!==r?r:o,d=i.props.layout,h=t.key||"_recharts-cursor";return J.createElement(T_,{key:h,activeCoordinate:a,activePayload:c,activeTooltipIndex:l,chartName:e,element:t,isActive:p,layout:d,offset:u,tooltipAxisBandSize:s,tooltipEventType:f})})),K_(i,"renderPolarAxis",(function(t,e,r){var n=Yi(t,"type.axisType"),o=Yi(i.state,"".concat(n,"Map")),a=t.type.defaultProps,c=void 0!==a?X_(X_({},a),t.props):t.props,u=o&&o[c["".concat(n,"Id")]];return lt(t,X_(X_({},u),{},{className:gn(n,u.className),key:t.key||"".concat(e,"-").concat(r),ticks:SO(u,!0)}))})),K_(i,"renderPolarGrid",(function(t){var e=t.props,r=e.radialLines,n=e.polarAngles,o=e.polarRadius,a=i.state,c=a.radiusAxisMap,u=a.angleAxisMap,l=Sa(c),s=Sa(u),f=s.cx,p=s.cy,d=s.innerRadius,h=s.outerRadius;return lt(t,{polarAngles:Array.isArray(n)?n:SO(s,!0).map((function(t){return t.coordinate})),polarRadius:Array.isArray(o)?o:SO(l,!0).map((function(t){return t.coordinate})),cx:f,cy:p,innerRadius:d,outerRadius:h,key:t.key||"polar-grid",radialLines:r})})),K_(i,"renderLegend",(function(){var t=i.state.formattedGraphicalItems,e=i.props,r=e.children,n=e.width,o=e.height,a=i.props.margin||{},c=n-(a.left||0)-(a.right||0),l=sO({children:r,formattedGraphicalItems:t,legendWidth:c,legendContent:u});if(!l)return null;var s=l.item,f=R_(l,D_);return lt(s,X_(X_({},f),{},{chartWidth:n,chartHeight:o,margin:a,onBBoxUpdate:i.handleLegendBBoxUpdate}))})),K_(i,"renderTooltip",(function(){var t,e=i.props,r=e.children,n=e.accessibilityLayer,o=Ua(r,Bh);if(!o)return null;var a=i.state,c=a.isTooltipActive,u=a.activeCoordinate,l=a.activePayload,s=a.activeLabel,f=a.offset,p=null!==(t=o.props.active)&&void 0!==t?t:c;return lt(o,{viewBox:X_(X_({},f),{},{x:f.left,y:f.top}),active:p,label:s,payload:p?l:[],coordinate:u,accessibilityLayer:n})})),K_(i,"renderBrush",(function(t){var e=i.props,r=e.margin,n=e.data,o=i.state,a=o.offset,c=o.dataStartIndex,u=o.dataEndIndex,l=o.updateId;return lt(t,{key:t.key||"_recharts-brush",onChange:PO(i.handleBrushChange,t.props.onChange),data:n,x:ga(t.props.x)?t.props.x:a.left,y:ga(t.props.y)?t.props.y:a.top+a.height+a.brushBottom-(r.bottom||0),width:ga(t.props.width)?t.props.width:a.width,startIndex:c,endIndex:u,updateId:"brush-".concat(l)})})),K_(i,"renderReferenceElement",(function(t,e,r){if(!t)return null;var n=i.clipPathId,o=i.state,a=o.xAxisMap,c=o.yAxisMap,u=o.offset,l=t.type.defaultProps||{},s=t.props,f=s.xAxisId,p=void 0===f?l.xAxisId:f,d=s.yAxisId,h=void 0===d?l.yAxisId:d;return lt(t,{key:t.key||"".concat(e,"-").concat(r),xAxis:a[p],yAxis:c[h],viewBox:{x:u.left,y:u.top,width:u.width,height:u.height},clipPathId:n})})),K_(i,"renderActivePoints",(function(t){var e=t.item,n=t.activePoint,o=t.basePoint,i=t.childIndex,a=t.isRange,c=[],u=e.props.key,l=void 0!==e.item.type.defaultProps?X_(X_({},e.item.type.defaultProps),e.item.props):e.item.props,s=l.activeDot,f=X_(X_({index:i,dataKey:l.dataKey,cx:n.x,cy:n.y,r:4,fill:bO(e.item),strokeWidth:2,stroke:"#fff",payload:n.payload,value:n.value},Xa(s,!1)),Ta(s));return c.push(r.renderActiveDot(s,f,"".concat(u,"-activePoint-").concat(i))),o?c.push(r.renderActiveDot(s,X_(X_({},f),{},{cx:o.x,cy:o.y}),"".concat(u,"-basePoint-").concat(i))):a&&c.push(null),c})),K_(i,"renderGraphicChild",(function(t,e,r){var n=i.filterFormatItem(t,e,r);if(!n)return null;var o=i.getTooltipEventType(),a=i.state,c=a.isTooltipActive,u=a.tooltipAxis,l=a.activeTooltipIndex,s=a.activeLabel,f=Ua(i.props.children,Bh),p=n.props,d=p.points,h=p.isRange,y=p.baseLine,v=void 0!==n.item.type.defaultProps?X_(X_({},n.item.type.defaultProps),n.item.props):n.item.props,m=v.activeDot,g=v.hide,b=v.activeBar,w=v.activeShape,x=Boolean(!g&&c&&f&&(m||b||w)),O={};"axis"!==o&&f&&"click"===f.props.trigger?O={onClick:PO(i.handleItemMouseEnter,t.props.onClick)}:"axis"!==o&&(O={onMouseLeave:PO(i.handleItemMouseLeave,t.props.onMouseLeave),onMouseEnter:PO(i.handleItemMouseEnter,t.props.onMouseEnter)});var S=lt(t,X_(X_({},n.props),O));if(x){if(!(l>=0)){var j,P=(null!==(j=i.getItemByXY(i.state.activeCoordinate))&&void 0!==j?j:{graphicalItem:S}).graphicalItem,A=P.item,M=void 0===A?t:A,k=P.childIndex,E=X_(X_(X_({},n.props),O),{},{activeIndex:k});return[lt(M,E),null,null]}var C,_;if(u.dataKey&&!u.allowDuplicatedCategory){var T="function"==typeof u.dataKey?function(t){return"function"==typeof u.dataKey?u.dataKey(t.payload):null}:"payload.".concat(u.dataKey.toString());C=Pa(d,T,s),_=h&&y&&Pa(y,T,s)}else C=null==d?void 0:d[l],_=h&&y&&y[l];if(w||b){var D=void 0!==t.props.activeIndex?t.props.activeIndex:l;return[lt(t,X_(X_(X_({},n.props),O),{},{activeIndex:D})),null,null]}if(!Gi(C))return[S].concat(U_(i.renderActivePoints({item:n,activePoint:C,basePoint:_,childIndex:l,isRange:h})))}return h?[S,null,null]:[S,null]})),K_(i,"renderCustomized",(function(t,e,r){return lt(t,X_(X_({key:"recharts-customized-".concat(r)},i.props),i.state))})),K_(i,"renderMap",{CartesianGrid:{handler:tT,once:!0},ReferenceArea:{handler:i.renderReferenceElement},ReferenceLine:{handler:tT},ReferenceDot:{handler:i.renderReferenceElement},XAxis:{handler:tT},YAxis:{handler:tT},Brush:{handler:i.renderBrush,once:!0},Bar:{handler:i.renderGraphicChild},Line:{handler:i.renderGraphicChild},Area:{handler:i.renderGraphicChild},Radar:{handler:i.renderGraphicChild},RadialBar:{handler:i.renderGraphicChild},Scatter:{handler:i.renderGraphicChild},Pie:{handler:i.renderGraphicChild},Funnel:{handler:i.renderGraphicChild},Tooltip:{handler:i.renderCursor,once:!0},PolarGrid:{handler:i.renderPolarGrid,once:!0},PolarAngleAxis:{handler:i.renderPolarAxis},PolarRadiusAxis:{handler:i.renderPolarAxis},Customized:{handler:i.renderCustomized}}),i.clipPathId="".concat(null!==(n=t.id)&&void 0!==n?n:xa("recharts"),"-clip"),i.throttleTriggeredAfterMouseMove=Fh(i.triggeredAfterMouseMove,null!==(o=t.throttleDelay)&&void 0!==o?o:1e3/60),i.state={},i}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&V_(t,e)}(r,dt),$_(r,[{key:"componentDidMount",value:function(){var t,e;this.addListener(),this.accessibilityManager.setDetails({container:this.container,offset:{left:null!==(t=this.props.margin.left)&&void 0!==t?t:0,top:null!==(e=this.props.margin.top)&&void 0!==e?e:0},coordinateList:this.state.tooltipTicks,mouseHandlerCallback:this.triggeredAfterMouseMove,layout:this.props.layout}),this.displayDefaultTooltip()}},{key:"displayDefaultTooltip",value:function(){var t=this.props,e=t.children,r=t.data,n=t.height,o=t.layout,i=Ua(e,Bh);if(i){var a=i.props.defaultIndex;if(!("number"!=typeof a||a<0||a>this.state.tooltipTicks.length-1)){var c=this.state.tooltipTicks[a]&&this.state.tooltipTicks[a].value,u=nT(this.state,r,a,c),l=this.state.tooltipTicks[a].coordinate,s=(this.state.offset.top+n)/2,f="horizontal"===o?{x:l,y:s}:{y:l,x:s},p=this.state.formattedGraphicalItems.find((function(t){return"Scatter"===t.item.type.name}));p&&(f=X_(X_({},f),p.props.points[a].tooltipPosition),u=p.props.points[a].tooltipPayload);var d={activeTooltipIndex:a,isTooltipActive:!0,activeLabel:c,activePayload:u,activeCoordinate:f};this.setState(d),this.renderCursor(i),this.accessibilityManager.setIndex(a)}}}},{key:"getSnapshotBeforeUpdate",value:function(t,e){if(!this.props.accessibilityLayer)return null;var r,n;(this.state.tooltipTicks!==e.tooltipTicks&&this.accessibilityManager.setDetails({coordinateList:this.state.tooltipTicks}),this.props.layout!==t.layout&&this.accessibilityManager.setDetails({layout:this.props.layout}),this.props.margin!==t.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(t){Ka([Ua(t.children,Bh)],[Ua(this.props.children,Bh)])||this.displayDefaultTooltip()}},{key:"componentWillUnmount",value:function(){this.removeListener(),this.throttleTriggeredAfterMouseMove.cancel()}},{key:"getTooltipEventType",value:function(){var t=Ua(this.props.children,Bh);if(t&&"boolean"==typeof t.props.shared){var e=t.props.shared?"axis":"item";return a.indexOf(e)>=0?e:o}return o}},{key:"getMouseInfo",value:function(t){if(!this.container)return null;var e,r=this.container,n=r.getBoundingClientRect(),o={top:(e=n).top+window.scrollY-document.documentElement.clientTop,left:e.left+window.scrollX-document.documentElement.clientLeft},i={chartX:Math.round(t.pageX-o.left),chartY:Math.round(t.pageY-o.top)},a=n.width/r.offsetWidth||1,c=this.inRange(i.chartX,i.chartY,a);if(!c)return null;var u=this.state,l=u.xAxisMap,s=u.yAxisMap;if("axis"!==this.getTooltipEventType()&&l&&s){var f=Sa(l).scale,p=Sa(s).scale,d=f&&f.invert?f.invert(i.chartX):null,h=p&&p.invert?p.invert(i.chartY):null;return X_(X_({},i),{},{xValue:d,yValue:h})}var y=oT(this.state,this.props.data,this.props.layout,c);return y?X_(X_({},i),y):null}},{key:"inRange",value:function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,n=this.props.layout,o=t/r,i=e/r;if("horizontal"===n||"vertical"===n){var a=this.state.offset;return o>=a.left&&o<=a.left+a.width&&i>=a.top&&i<=a.top+a.height?{x:o,y:i}:null}var c=this.state,u=c.angleAxisMap,l=c.radiusAxisMap;if(u&&l){var s=Sa(u);return YO({x:o,y:i},s)}return null}},{key:"parseEventsOfWrapper",value:function(){var t=this.props.children,e=this.getTooltipEventType(),r=Ua(t,Bh),n={};return r&&"axis"===e&&(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}),X_(X_({},Ta(this.props,this.handleOuterEvent)),n)}},{key:"addListener",value:function(){b_.on(w_,this.handleReceiveSyncEvent)}},{key:"removeListener",value:function(){b_.removeListener(w_,this.handleReceiveSyncEvent)}},{key:"filterFormatItem",value:function(t,e,r){for(var n=this.state.formattedGraphicalItems,o=0,i=n.length;o<i;o++){var a=n[o];if(a.item===t||a.props.key===t.key||e===$a(a.item.type)&&r===a.childIndex)return a}return null}},{key:"renderClipPath",value:function(){var t=this.clipPathId,e=this.state.offset,r=e.left,n=e.top,o=e.height,i=e.width;return J.createElement("defs",null,J.createElement("clipPath",{id:t},J.createElement("rect",{x:r,y:n,height:o,width:i})))}},{key:"getXScales",value:function(){var t=this.state.xAxisMap;return t?Object.entries(t).reduce((function(t,e){var r=B_(e,2),n=r[0],o=r[1];return X_(X_({},t),{},K_({},n,o.scale))}),{}):null}},{key:"getYScales",value:function(){var t=this.state.yAxisMap;return t?Object.entries(t).reduce((function(t,e){var r=B_(e,2),n=r[0],o=r[1];return X_(X_({},t),{},K_({},n,o.scale))}),{}):null}},{key:"getXScaleByAxisId",value:function(t){var e;return null===(e=this.state.xAxisMap)||void 0===e||null===(e=e[t])||void 0===e?void 0:e.scale}},{key:"getYScaleByAxisId",value:function(t){var e;return null===(e=this.state.yAxisMap)||void 0===e||null===(e=e[t])||void 0===e?void 0:e.scale}},{key:"getItemByXY",value:function(t){var e=this.state,r=e.formattedGraphicalItems,n=e.activeItem;if(r&&r.length)for(var o=0,i=r.length;o<i;o++){var a=r[o],c=a.props,u=a.item,l=void 0!==u.type.defaultProps?X_(X_({},u.type.defaultProps),u.props):u.props,s=$a(u.type);if("Bar"===s){var f=(c.data||[]).find((function(e){return uA(t,e)}));if(f)return{graphicalItem:a,payload:f}}else if("RadialBar"===s){var p=(c.data||[]).find((function(e){return YO(t,e)}));if(p)return{graphicalItem:a,payload:p}}else if(nM(a,n)||oM(a,n)||iM(a,n)){var d=lM({graphicalItem:a,activeTooltipItem:n,itemData:l.data}),h=void 0===l.activeIndex?d:l.activeIndex;return{graphicalItem:X_(X_({},a),{},{childIndex:h}),payload:iM(a,n)?l.data[d]:a.props.data[d]}}}return null}},{key:"render",value:function(){var t=this;if(!Wa(this))return null;var e,r,n=this.props,o=n.children,i=n.className,a=n.width,c=n.height,u=n.style,l=n.compact,s=n.title,f=n.desc,p=R_(n,I_),d=Xa(p,!1);if(l)return J.createElement(Jk,{state:this.state,width:this.props.width,height:this.props.height,clipPathId:this.clipPathId},J.createElement(ec,L_({},d,{width:a,height:c,title:s,desc:f}),this.renderClipPath(),Za(o,this.renderMap)));this.props.accessibilityLayer&&(d.tabIndex=null!==(e=this.props.tabIndex)&&void 0!==e?e:0,d.role=null!==(r=this.props.role)&&void 0!==r?r:"application",d.onKeyDown=function(e){t.accessibilityManager.keyboardEvent(e)},d.onFocus=function(){t.accessibilityManager.focus()});var h=this.parseEventsOfWrapper();return J.createElement(Jk,{state:this.state,width:this.props.width,height:this.props.height,clipPathId:this.clipPathId},J.createElement("div",L_({className:gn("recharts-wrapper",i),style:X_({position:"relative",cursor:"default",width:a,height:c},u)},h,{ref:function(e){t.container=e}}),J.createElement(ec,L_({},d,{width:a,height:c,title:s,desc:f,style:J_}),this.renderClipPath(),Za(o,this.renderMap)),this.renderLegend(),this.renderTooltip()))}}])}();K_(d,"displayName",e),K_(d,"defaultProps",X_({layout:"horizontal",stackOffset:"none",barCategoryGap:"10%",barGap:4,margin:{top:5,right:5,bottom:5,left:5},reverseStackOrder:!1,syncMethod:"index"},s)),K_(d,"getDerivedStateFromProps",(function(t,e){var r=t.dataKey,n=t.data,o=t.children,i=t.width,a=t.height,c=t.layout,u=t.stackOffset,l=t.margin,s=e.dataStartIndex,f=e.dataEndIndex;if(void 0===e.updateId){var d=cT(t);return X_(X_(X_({},d),{},{updateId:0},p(X_(X_({props:t},d),{},{updateId:0}),e)),{},{prevDataKey:r,prevData:n,prevWidth:i,prevHeight:a,prevLayout:c,prevStackOffset:u,prevMargin:l,prevChildren:o})}if(r!==e.prevDataKey||n!==e.prevData||i!==e.prevWidth||a!==e.prevHeight||c!==e.prevLayout||u!==e.prevStackOffset||!Aa(l,e.prevMargin)){var h=cT(t),y={chartX:e.chartX,chartY:e.chartY,isTooltipActive:e.isTooltipActive},v=X_(X_({},oT(e,n,c)),{},{updateId:e.updateId+1}),m=X_(X_(X_({},h),y),v);return X_(X_(X_({},m),p(X_({props:t},m),e)),{},{prevDataKey:r,prevData:n,prevWidth:i,prevHeight:a,prevLayout:c,prevStackOffset:u,prevMargin:l,prevChildren:o})}if(!Ka(o,e.prevChildren)){var g,b,w,x,O=Ua(o,NM),S=O&&null!==(g=null===(b=O.props)||void 0===b?void 0:b.startIndex)&&void 0!==g?g:s,j=O&&null!==(w=null===(x=O.props)||void 0===x?void 0:x.endIndex)&&void 0!==w?w:f,P=S!==s||j!==f,A=!Gi(n)&&!P?e.updateId:e.updateId+1;return X_(X_({updateId:A},p(X_(X_({props:t},e),{},{updateId:A,dataStartIndex:S,dataEndIndex:j}),e)),{},{prevChildren:o,dataStartIndex:S,dataEndIndex:j})}return null})),K_(d,"renderActiveDot",(function(t,e,r){var n;return n=Q(t)?lt(t,e):ta(t)?t(e):J.createElement(pA,e),J.createElement(xc,{className:"recharts-active-dot",key:r},n)}));var h=rt((function(t,e){return J.createElement(d,L_({},t,{ref:e}))}));return h.displayName=d.displayName,h},pT=fT({chartName:"LineChart",GraphicalChild:kC,axisComponents:[{axisType:"xAxis",AxisComp:e_},{axisType:"yAxis",AxisComp:p_}],formatAxisMap:Ek}),dT=fT({chartName:"AreaChart",GraphicalChild:UC,axisComponents:[{axisType:"xAxis",AxisComp:e_},{axisType:"yAxis",AxisComp:p_}],formatAxisMap:Ek});const hT=({formatter:n,labelFormatter:o,payload:i,cx:a,cy:c})=>{const u=100;return Number.isFinite(i.value)?t("svg",{x:a-50,y:c-60,width:u,height:68,viewBox:"0 0 100 68",xmlns:"http://www.w3.org/2000/svg",children:[o&&t(r,{children:[e("rect",{fill:"white",width:"98",height:"45",stroke:Ar.coolElegance(),strokeWidth:"1",rx:"7",ry:"7",className:"shadow"}),e("text",{y:"14",x:"50%",fontSize:10,dominantBaseline:"middle",textAnchor:"middle",children:o(0,[{payload:i}])}),e("text",{y:"30",x:"50%",fontSize:11,dominantBaseline:"middle",textAnchor:"middle",fontWeight:"bold",children:n?n(i.value||0):i.value}),e("svg",{viewBox:"0 0 28 28",xmlns:"http://www.w3.org/2000/svg",y:"30",opacity:"0.7",children:e("path",{d:"M -14.041 -7.717 L -13.115 -6.975 L -14.952 -6.975 L -14.041 -7.717 Z",stroke:Ar.coolElegance(),transform:"matrix(-1, 0, 0, -1, 0, -2.220446049250313e-16)"})}),e("svg",{viewBox:"0 0 28 28",xmlns:"http://www.w3.org/2000/svg",y:"28",children:e("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)"})})]}),e("rect",{x:43,y:"52",width:14,height:14,rx:7,fill:"white",stroke:Ar.coolElegance(),strokeWidth:"2"})]}):e(r,{})},yT=({data:r,dataKey:n,width:o="100%",height:i="100%",areaType:a="linear",isAnimated:c=!1,formatter:u,labelFormatter:l,sampleRate:s,style:f})=>{const p=r?r.filter((t=>null!==t[n])):[],{isNetGain:d}=wr({data:p,dataKey:n}),h=vn(),y=vn(),v=s?jr({arr:r||[],n:s}):r;let m,g;v?.length?(g=d?Ar.mint():Ar.coolElegance(),m=v?.map((t=>{const e=parseFloat(t[n]);return{...t,[n]:Number.isFinite(e)?e:null}}))):(g=Ar.coolElegance(),m=[{[n]:1},{[n]:1}]);const b={cursor:v?.length?"crosshair":"default",...f};return e(Kh,{width:o,minHeight:i,id:h,children:t(dT,{data:m,margin:{top:20,right:0,left:0,bottom:20},style:b,children:[e("defs",{children:t("linearGradient",{id:y,x1:"0",y1:"0",x2:"0",y2:"1",children:[e("stop",{offset:"5%",stopColor:g,stopOpacity:.8}),e("stop",{offset:"95%",stopColor:g,stopOpacity:0})]})}),e(p_,{domain:v?.length?["dataMin","dataMax"]:[0,2],hide:!0}),e(UC,{type:a,dataKey:n,stroke:g,fill:`url(#${y})`,isAnimationActive:c,activeDot:t=>hT({labelFormatter:l,formatter:u,...t}),dot:!1}),v?.length&&e(Bh,{cursor:!1,content:()=>null})]})})},vT=({isCloseable:t,onClick:r})=>{const n=l({ssr:!1});return e(s,{children:e(f,{label:t?"Click to dismiss":null,hasArrow:!0,fontFamily:"mono",fontSize:"12px",children:e(p,{onClick:r,cursor:t?"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:Ar.black(),md:"white"},position:"fixed",top:"0",right:"0",padding:"2",fontSize:"xs",zIndex:"5",width:"10rem",boxShadow:"dark-lg",fontFamily:"mono",children:n})})})},mT=({children:t,...r})=>e(d,{border:"solid 1px",borderColor:Ar.coolElegance(),padding:"1",borderRadius:"lg",bg:"white",width:"fit-content",size:"sm",...r,children:t}),gT=({isSelected:t,children:r,...n})=>e(h,{variant:"none",paddingX:"1",fontSize:"sm",color:t?"brand.500":Ar.coolElegance(),bg:"transparent",border:"solid 1px",borderColor:t?"brand.50":"transparent",boxShadow:"none",_hover:{bg:"brand.50",color:"brand.500"},...n,children:r}),bT=({children:t,...r})=>e(y,{bg:"white",p:"4",gap:"4",w:"full",border:"solid 1px",borderColor:Ar.coolElegance(),boxShadow:"none",borderRadius:"xl",...r,children:t}),wT=r=>{const{carouselContents:n,isNavVertical:o,...i}=r,[a,c]=it(0);return n.length>=1&&e(bT,{children:t(v,{gap:10,direction:o?"column":{base:"column",md:"row"},...i,children:[n[a],t(v,{alignItems:"flex-end",justifyContent:"center",gap:6,children:[e(m,{variant:"ghost",isDisabled:0===a,"aria-label":"Previous content",icon:e(jt,{}),onClick:()=>{a>0&&a<=n.length-1&&c((t=>t-1))}}),e(m,{variant:"ghost",isDisabled:a===n.length-1,"aria-label":"Next content",icon:e(Pt,{}),onClick:()=>{a<n.length-1&&c((t=>t+1))}})]})]})})},xT=r=>{const{size:n,isDisabled:o,isReadOnly:i,isRequired:a,isIndeterminate:c,name:u,register:l,errorMessage:s,label:f,labelPosition:p="left",spaceBetween:d,onClick:h,...y}=r;let m;c||(m=e(kt,{}));const O=l?l(u):void 0;return t(g,{as:v,flexDir:"column",isInvalid:Boolean(s),isDisabled:o,isReadOnly:i,isRequired:a,children:[t(v,{onClick:h,w:"full",justifyContent:d?"space-between":"auto",children:["left"===p&&e(b,{fontSize:n,m:"0",mr:"3",children:f}),e(w,{icon:m,isDisabled:o,isReadOnly:i,isRequired:a,isIndeterminate:c,isInvalid:Boolean(s),size:n,...O,...y}),"right"===p&&e(b,{fontSize:n,m:"0",ml:"3",children:f})]}),e(v,{w:"full",children:s&&e(x,{size:n,children:s})})]})},OT=({children:t,onSubmit:r,...n})=>e(v,{as:"form",onSubmit:t=>{t.preventDefault(),r&&r(t)},noValidate:!0,gap:"6",flexDir:"column",...n,children:t});var ST=function(){return ST=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},ST.apply(this,arguments)};function jT(t,e,r){if(r||2===arguments.length)for(var n,o=0,i=e.length;o<i;o++)!n&&o in e||(n||(n=Array.prototype.slice.call(e,0,o)),n[o]=e[o]);return t.concat(n||Array.prototype.slice.call(e))}"function"==typeof SuppressedError&&SuppressedError;var PT=function(t){return t.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")},AT={k:1e3,m:1e6,b:1e9},MT=function(t){var e=t.value,r=t.groupSeparator,n=void 0===r?",":r,o=t.decimalSeparator,i=void 0===o?".":o,a=t.allowDecimals,c=void 0===a||a,u=t.decimalsLimit,l=void 0===u?2:u,s=t.allowNegativeValue,f=void 0===s||s,p=t.disableAbbreviations,d=void 0!==p&&p,h=t.prefix,y=void 0===h?"":h,v=t.transformRawValue,m=(void 0===v?function(t){return t}:v)(e);if("-"===m)return m;var g=d?[]:["k","m","b"],b=new RegExp("((^|\\D)-\\d)|(-".concat(PT(y),")")).test(m),w=RegExp("(\\d+)-?".concat(PT(y))).exec(e)||[],x=w[0],O=w[1],S=function(t,e){void 0===e&&(e=",");var r=new RegExp(PT(e),"g");return t.replace(r,"")}(y?x?m.replace(x,"").concat(O):m.replace(y,""):m,n),j=function(t,e){var r=PT(e.join("")),n=new RegExp("[^\\d".concat(r,"]"),"gi");return t.replace(n,"")}(S,jT([n,i],g,!0)),P=j;if(!d){if(g.some((function(t){return t===j.toLowerCase().replace(i,"")})))return"";var A=function(t,e){void 0===e&&(e=".");var r=new RegExp("(\\d+(".concat(PT(e),"\\d*)?)([kmb])$"),"i"),n=t.match(r);if(n){var o=n[1],i=n[3],a=AT[i.toLowerCase()];return Number(o.replace(e,"."))*a}}(j,i);A&&(P=String(A))}var M=b&&f?"-":"";if(i&&P.includes(i)){var k=j.split(i),E=k[0],C=k[1],_=l&&C?C.slice(0,l):C,T=c?"".concat(i).concat(_):"";return"".concat(M).concat(E).concat(T)}return"".concat(M).concat(P)},kT=function(t,e){var r=e.groupSeparator,n=void 0===r?",":r,o=e.decimalSeparator,i=void 0===o?".":o,a=new RegExp("\\d([^".concat(PT(n)).concat(PT(i),"0-9]+)")),c=t.match(a);return c?c[1]:void 0},ET=function(t){var e=t.value,r=t.decimalSeparator,n=t.intlConfig,o=t.decimalScale,i=t.prefix,a=void 0===i?"":i,c=t.suffix,u=void 0===c?"":c;if(""===e||void 0===e)return"";if("-"===e)return"-";var l=new RegExp("^\\d?-".concat(a?"".concat(PT(a),"?"):"","\\d")).test(e),s="."!==r?CT(e,r,l):e;r&&"-"!==r&&s.startsWith(r)&&(s="0"+s);var f={minimumFractionDigits:o||0,maximumFractionDigits:20},p=(n?new Intl.NumberFormat(n.locale,n.currency?ST(ST({},f),{style:"currency",currency:n.currency}):f):new Intl.NumberFormat(void 0,f)).formatToParts(Number(s)),d=_T(p,t),h=kT(d,ST({},t)),y=e.slice(-1)===r?r:"",v=(s.match(RegExp("\\d+\\.(\\d+)"))||[])[1];return void 0===o&&v&&r&&(d=d.includes(r)?d.replace(RegExp("(\\d+)(".concat(PT(r),")(\\d+)"),"g"),"$1$2".concat(v)):h&&!u?d.replace(h,"".concat(r).concat(v).concat(h)):"".concat(d).concat(r).concat(v)),u&&y?"".concat(d).concat(y).concat(u):h&&y?d.replace(h,"".concat(y).concat(h)):h&&u?d.replace(h,"".concat(y).concat(u)):[d,y,u].join("")},CT=function(t,e,r){var n=t;return e&&"."!==e&&(n=n.replace(RegExp(PT(e),"g"),"."),r&&"-"===e&&(n="-".concat(n.slice(1)))),n},_T=function(t,e){var r=e.prefix,n=e.groupSeparator,o=e.decimalSeparator,i=e.decimalScale,a=e.disableGroupSeparators,c=void 0!==a&&a;return t.reduce((function(t,e,a){var u=e.type,l=e.value;return 0===a&&r?"minusSign"===u?[l,r]:"currency"===u?jT(jT([],t,!0),[r],!1):[r,l]:"currency"===u?r?t:jT(jT([],t,!0),[l],!1):"group"===u?c?t:jT(jT([],t,!0),[void 0!==n?n:l],!1):"decimal"===u?void 0!==i&&0===i?t:jT(jT([],t,!0),[void 0!==o?o:l],!1):jT(jT([],t,!0),"fraction"===u?[void 0!==i?l.slice(0,i):l]:[l],!1)}),[""]).join("")},TT={currencySymbol:"",groupSeparator:"",decimalSeparator:"",prefix:"",suffix:""},DT=function(t){return RegExp(/\d/,"gi").test(t)},IT=rt((function(t,e){var r=t.allowDecimals,n=void 0===r||r,o=t.allowNegativeValue,i=void 0===o||o,a=t.id,c=t.name,u=t.className,l=t.customInput,s=t.decimalsLimit,f=t.defaultValue,p=t.disabled,d=void 0!==p&&p,h=t.maxLength,y=t.value,v=t.onValueChange,m=t.fixedDecimalLength,g=t.placeholder,b=t.decimalScale,w=t.prefix,x=t.suffix,O=t.intlConfig,S=t.step,j=t.min,P=t.max,A=t.disableGroupSeparators,M=void 0!==A&&A,k=t.disableAbbreviations,E=void 0!==k&&k,C=t.decimalSeparator,_=t.groupSeparator,T=t.onChange,D=t.onFocus,I=t.onBlur,N=t.onKeyDown,L=t.onKeyUp,B=t.transformRawValue,R=t.formatValueOnBlur,$=void 0===R||R,z=function(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(t);o<n.length;o++)e.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(r[n[o]]=t[n[o]])}return r}(t,["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&&DT(C))throw new Error("decimalSeparator cannot be a number");if(_&&DT(_))throw new Error("groupSeparator cannot be a number");var H=ut((function(){return function(t){var e=t||{},r=e.locale,n=e.currency;return(r?new Intl.NumberFormat(r,n?{currency:n,style:"currency"}:void 0):new Intl.NumberFormat).formatToParts(1000.1).reduce((function(t,e,r){return"currency"===e.type?ST(ST({},t),0===r?{currencySymbol:e.value,prefix:e.value}:{currencySymbol:e.value,suffix:e.value}):"group"===e.type?ST(ST({},t),{groupSeparator:e.value}):"decimal"===e.type?ST(ST({},t),{decimalSeparator:e.value}):t}),TT)}(O)}),[O]),F=C||H.decimalSeparator||"",V=_||H.groupSeparator||"";if(F&&V&&F===V&&!1===M)throw new Error("decimalSeparator cannot be the same as groupSeparator");var U={decimalSeparator:F,groupSeparator:V,disableGroupSeparators:M,intlConfig:O,prefix:w||H.prefix,suffix:x},W={decimalSeparator:F,groupSeparator:V,allowDecimals:n,decimalsLimit:s||m||2,allowNegativeValue:i,disableAbbreviations:E,prefix:w||H.prefix,transformRawValue:B},q=it((function(){return null!=f?ET(ST(ST({},U),{decimalScale:b,value:String(f)})):null!=y?ET(ST(ST({},U),{decimalScale:b,value:String(y)})):""})),Y=q[0],X=q[1],K=it(!1),G=K[0],Z=K[1],Q=it(0),tt=Q[0],et=Q[1],rt=it(0),at=rt[0],lt=rt[1],st=it(null),ft=st[0],pt=st[1],dt=nt(null);ot(e,(function(){return dt.current}));var ht=function(t,e){Z(!0);var r=function(t){var e=t.selectionStart,r=t.value,n=t.lastKeyStroke,o=t.stateValue,i=t.groupSeparator,a=e,c=r;if(o&&a){var u=r.split("");return"Backspace"===n&&o[a]===i&&(u.splice(a-1,1),a-=1),"Delete"===n&&o[a]===i&&(u.splice(a,1),a+=1),{modifiedValue:c=u.join(""),cursorPosition:a}}return{modifiedValue:c,cursorPosition:e}}({selectionStart:e,value:t,lastKeyStroke:ft,stateValue:Y,groupSeparator:V}),n=r.modifiedValue,o=r.cursorPosition,i=MT(ST({value:n},W));if(!(h&&i.replace(/-/g,"").length>h)){if(""===i||"-"===i||i===F)return v&&v(void 0,c,{float:null,formatted:"",value:""}),X(i),void et(1);var a=F?i.replace(F,"."):i,u=parseFloat(a),l=ET(ST({value:i},U));if(null!=o){var s=o+(l.length-t.length);s=s<=0?w?w.length:0:s,et(s),lt(at+1)}if(X(l),v)v(i,c,{float:u,formatted:l,value:i})}};ct((function(){null==y&&null==f&&X("")}),[f,y]),ct((function(){G&&"-"!==Y&&dt.current&&document.activeElement===dt.current&&dt.current.setSelectionRange(tt,tt)}),[Y,tt,dt,G,at]);var yt=ST({type:"text",inputMode:"decimal",id:a,name:c,className:u,onChange:function(t){var e=t.target,r=e.value,n=e.selectionStart;ht(r,n),T&&T(t)},onBlur:function(t){var e=t.target.value,r=MT(ST({value:e},W));if("-"===r||r===F||!r)return X(""),void(I&&I(t));var n=function(t,e,r){if(void 0!==r&&t.length>1){if(0===r)return t.replace(e,"");if(t.includes(e)){var n=t.split(e),o=n[0];if((c=n[1]).length===r)return t;if(c.length>r)return"".concat(o).concat(e).concat(c.slice(0,r))}var i=t.length>r?new RegExp("(\\d+)(\\d{".concat(r,"})")):new RegExp("(\\d)(\\d+)"),a=t.match(i);if(a){o=a[1];var c=a[2];return"".concat(o).concat(e).concat(c)}}return t}(r,F,m),o=function(t,e,r){if(void 0===e&&(e="."),void 0===r||""===t||void 0===t)return t;if(!t.match(/\d/g))return"";var n=t.split(e),o=n[0],i=n[1];if(0===r)return o;var a=i||"";if(a.length<r)for(;a.length<r;)a+="0";else a=a.slice(0,r);return"".concat(o).concat(e).concat(a)}(n,F,void 0!==b?b:m),i=parseFloat(o.replace(F,".")),a=ET(ST(ST({},U),{value:o}));v&&$&&v(o,c,{float:i,formatted:a,value:o}),X(a),I&&I(t)},onFocus:function(t){return D&&D(t),Y?Y.length:0},onKeyDown:function(t){var e=t.key;if(pt(e),S&&("ArrowUp"===e||"ArrowDown"===e)){t.preventDefault(),et(Y.length);var r=parseFloat(null!=y?String(y).replace(F,"."):MT(ST({value:Y},W)))||0,n="ArrowUp"===e?r+S:r-S;if(void 0!==j&&n<Number(j))return;if(void 0!==P&&n>Number(P))return;var o=String(S).includes(".")?Number(String(S).split(".")[1].length):void 0;ht(String(o?n.toFixed(o):n).replace(".",F))}N&&N(t)},onKeyUp:function(t){var e=t.key,r=t.currentTarget.selectionStart;if("ArrowUp"!==e&&"ArrowDown"!==e&&"-"!==Y){var n=kT(Y,{groupSeparator:V,decimalSeparator:F});if(n&&r&&r>Y.length-n.length&&dt.current){var o=Y.length-n.length;dt.current.setSelectionRange(o,o)}}L&&L(t)},placeholder:g,disabled:d,value:null==y||"-"===Y||F&&Y===F?Y:ET(ST(ST({},U),{decimalScale:G?void 0:b,value:String(y)})),ref:dt},z);if(l){var vt=l;return J.createElement(vt,ST({},yt))}return J.createElement("input",ST({},yt))}));IT.displayName="CurrencyInput";const NT=O(((r,n)=>{const{size:o,isDisabled:i,isReadOnly:a,isRequired:c,spellCheck:u=!1,name:l,label:s,register:f,errorMessage:p,helperText:d,leftAddon:h,leftElement:y,rightAddon:v,rightElement:m,type:w="text",containerCss:O,...C}=r,_=xr(o),T=f?f(l):void 0,D="currency"===w?{as:IT,placeholder:"$0.00",prefix:"$",allowNegative:!1,disableAbbreviations:!0}:{};return t(g,{isInvalid:Boolean(p),isDisabled:i,isReadOnly:a,isRequired:c,sx:O,children:[s&&e(b,{className:"cf-form-label",size:o,children:s}),t(S,{size:o,children:[h&&e(j,{children:h}),y&&e(P,{w:"auto",ml:"1em",children:y}),e(A,{size:o,spellCheck:u,paddingLeft:y&&"2.5em",paddingRight:m&&"2.5em",type:"currency"===w?"text":w,...T,...D,...C,ref:n||T?.ref}),m&&e(M,{w:"auto",mr:"1em",children:m}),v&&e(k,{children:v})]}),p&&e(x,{className:"cf-form-error",size:o,children:p}),d&&e(E,{className:"cf-form-helper-text",fontSize:_,children:d})]})}));var LT=t=>null==t;var BT=t=>!LT(t)&&!Array.isArray(t)&&(t=>"object"==typeof t)(t)&&!(t=>t instanceof Date)(t),RT=t=>{const e=t.constructor&&t.constructor.prototype;return BT(e)&&e.hasOwnProperty("isPrototypeOf")},$T="undefined"!=typeof window&&void 0!==window.HTMLElement&&"undefined"!=typeof document;function zT(t){let e;const r=Array.isArray(t);if(t instanceof Date)e=new Date(t);else if(t instanceof Set)e=new Set(t);else{if($T&&(t instanceof Blob||t instanceof FileList)||!r&&!BT(t))return t;if(e=r?[]:{},r||RT(t))for(const r in t)t.hasOwnProperty(r)&&(e[r]=zT(t[r]));else e=t}return e}var HT=t=>Array.isArray(t)?t.filter(Boolean):[],FT=t=>void 0===t,VT=(t,e,r)=>{if(!e||!BT(t))return r;const n=HT(e.split(/[,[\].]+?/)).reduce(((t,e)=>LT(t)?t:t[e]),t);return FT(n)||n===t?FT(t[e])?r:t[e]:n},UT=t=>"boolean"==typeof t,WT=t=>/^\w*$/.test(t),qT=t=>HT(t.replace(/["|']|\]/g,"").split(/\.|\[/)),YT=(t,e,r)=>{let n=-1;const o=WT(e)?[e]:qT(e),i=o.length,a=i-1;for(;++n<i;){const e=o[n];let i=r;if(n!==a){const r=t[e];i=BT(r)||Array.isArray(r)?r:isNaN(+o[n+1])?{}:[]}if("__proto__"===e)return;t[e]=i,t=t[e]}return t};const XT="onBlur",KT="onChange",GT="onSubmit",ZT="onTouched",JT="all",QT="max",tD="min",eD="maxLength",rD="minLength",nD="pattern",oD="required",iD="validate",aD=J.createContext(null);var cD=t=>BT(t)&&!Object.keys(t).length,uD=t=>Array.isArray(t)?t:[t];var lD=t=>"string"==typeof t,sD=(t,e,r,n,o)=>e?{...r[t],types:{...r[t]&&r[t].types?r[t].types:{},[n]:o||!0}}:{},fD=()=>{const t="undefined"==typeof performance?Date.now():1e3*performance.now();return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(e=>{const r=(16*Math.random()+t)%16|0;return("x"==e?r:3&r|8).toString(16)}))},pD=(t,e,r={})=>r.shouldFocus||FT(r.shouldFocus)?r.focusName||`${t}.${FT(r.focusIndex)?e:r.focusIndex}.`:"",dD=t=>({isOnSubmit:!t||t===GT,isOnBlur:t===XT,isOnChange:t===KT,isOnAll:t===JT,isOnTouch:t===ZT});const hD=(t,e,r,n)=>{for(const r of Object.keys(t)){const o=VT(t,r);if(o){const{_f:t,...i}=o;if(t){if(t.refs&&t.refs[0]&&e(t.refs[0],r)&&!n)return!0;if(t.ref&&e(t.ref,t.name)&&!n)return!0;if(hD(i,e))break}else if(BT(i)&&hD(i,e))break}}};var yD=(t,e,r)=>{const n=uD(VT(t,r));return YT(n,"root",e[r]),YT(t,r,n),t},vD=t=>lD(t),mD=t=>t instanceof RegExp;function gD(t,e,r="validate"){if(vD(t)||Array.isArray(t)&&t.every(vD)||UT(t)&&!t)return{type:r,message:vD(t)?t:"",ref:e}}var bD=t=>BT(t)&&!mD(t)?t:{value:t,message:""},wD=async(t,e,r,n,o)=>{const{ref:i,refs:a,required:c,maxLength:u,minLength:l,min:s,max:f,pattern:p,validate:d,name:h,valueAsNumber:y,mount:v,disabled:m}=t._f,g=VT(e,h);if(!v||m)return{};const b=a?a[0]:i,w=t=>{n&&b.reportValidity&&(b.setCustomValidity(UT(t)?"":t||""),b.reportValidity())},x={};i.type,(t=>{t.type})(i);const O=(y||(t=>"file"===t.type)(i))&&FT(i.value)&&FT(g)||(t=>{if(!$T)return!1;const e=t?t.ownerDocument:0;return t instanceof(e&&e.defaultView?e.defaultView.HTMLElement:HTMLElement)})(i)&&""===i.value||""===g||Array.isArray(g)&&!g.length,S=sD.bind(null,h,r,x),j=(t,e,r,n=eD,o=rD)=>{const a=t?e:r;x[h]={type:t?n:o,message:a,ref:i,...S(t?n:o,a)}};if(!Array.isArray(g)||!g.length){const{value:t,message:e}=vD(c)?{value:!!c,message:c}:bD(c);if(t&&(x[h]={type:oD,message:e,ref:b,...S(oD,e)},!r))return w(e),x}if(!(O||LT(s)&&LT(f))){let t,e;const n=bD(f),o=bD(s);if(LT(g)||isNaN(g)){const r=i.valueAsDate||new Date(g),a=t=>new Date((new Date).toDateString()+" "+t),c="time"==i.type,u="week"==i.type;lD(n.value)&&g&&(t=c?a(g)>a(n.value):u?g>n.value:r>new Date(n.value)),lD(o.value)&&g&&(e=c?a(g)<a(o.value):u?g<o.value:r<new Date(o.value))}else{const r=i.valueAsNumber||(g?+g:g);LT(n.value)||(t=r>n.value),LT(o.value)||(e=r<o.value)}if((t||e)&&(j(!!t,n.message,o.message,QT,tD),!r))return w(x[h].message),x}if((u||l)&&!O&&(lD(g)||Array.isArray(g))){const t=bD(u),e=bD(l),n=!LT(t.value)&&g.length>+t.value,o=!LT(e.value)&&g.length<+e.value;if((n||o)&&(j(n,t.message,e.message),!r))return w(x[h].message),x}if(p&&!O&&lD(g)){const{value:t,message:e}=bD(p);if(mD(t)&&!g.match(t)&&(x[h]={type:nD,message:e,ref:i,...S(nD,e)},!r))return w(e),x}if(d)if("function"==typeof d){const t=gD(await d(g,e),b);if(t&&(x[h]={...t,...S(iD,t.message)},!r))return w(t.message),x}else if(BT(d)){let t={};for(const n in d){if(!cD(t)&&!r)break;const o=gD(await d[n](g,e),b,n);o&&(t={...o,...S(n,o.message)},w(o.message),r&&(x[h]=t))}if(!cD(t)&&(x[h]={ref:b,...t},!r))return x}return w(!0),x},xD=(t,e)=>[...t,...uD(e)],OD=t=>Array.isArray(t)?t.map((()=>{})):void 0;function SD(t,e,r){return[...t.slice(0,e),...uD(r),...t.slice(e)]}var jD=(t,e,r)=>Array.isArray(t)?(FT(t[r])&&(t[r]=void 0),t.splice(r,0,t.splice(e,1)[0]),t):[],PD=(t,e)=>[...uD(e),...uD(t)];var AD=(t,e)=>FT(e)?[]:function(t,e){let r=0;const n=[...t];for(const t of e)n.splice(t-r,1),r++;return HT(n).length?n:[]}(t,uD(e).sort(((t,e)=>t-e))),MD=(t,e,r)=>{[t[e],t[r]]=[t[r],t[e]]};function kD(t,e){const r=Array.isArray(e)?e:WT(e)?[e]:qT(e),n=1===r.length?t:function(t,e){const r=e.slice(0,-1).length;let n=0;for(;n<r;)t=FT(t)?n++:t[e[n++]];return t}(t,r),o=r.length-1,i=r[o];return n&&delete n[i],0!==o&&(BT(n)&&cD(n)||Array.isArray(n)&&function(t){for(const e in t)if(t.hasOwnProperty(e)&&!FT(t[e]))return!1;return!0}(n))&&kD(t,r.slice(0,-1)),t}var ED=(t,e,r)=>(t[e]=r,t);function CD(t){const e=J.useContext(aD),{control:r=e.control,name:n,keyName:o="id",shouldUnregister:i}=t,[a,c]=J.useState(r._getFieldArray(n)),u=J.useRef(r._getFieldArray(n).map(fD)),l=J.useRef(a),s=J.useRef(n),f=J.useRef(!1);s.current=n,l.current=a,r._names.array.add(n),t.rules&&r.register(n,t.rules),function(t){const e=J.useRef(t);e.current=t,J.useEffect((()=>{const r=!t.disabled&&e.current.subject&&e.current.subject.subscribe({next:e.current.next});return()=>{r&&r.unsubscribe()}}),[t.disabled])}({next:({values:t,name:e})=>{if(e===s.current||!e){const e=VT(t,s.current);Array.isArray(e)&&(c(e),u.current=e.map(fD))}},subject:r._subjects.array});const p=J.useCallback((t=>{f.current=!0,r._updateFieldArray(n,t)}),[r,n]);return J.useEffect((()=>{if(r._state.action=!1,((t,e,r)=>e.watchAll||e.watch.has(t)||[...e.watch].some((e=>t.startsWith(e)&&/^\.\w+/.test(t.slice(e.length)))))(n,r._names)&&r._subjects.state.next({...r._formState}),f.current&&(!dD(r._options.mode).isOnSubmit||r._formState.isSubmitted))if(r._options.resolver)r._executeSchema([n]).then((t=>{const e=VT(t.errors,n),o=VT(r._formState.errors,n);(o?!e&&o.type||e&&(o.type!==e.type||o.message!==e.message):e&&e.type)&&(e?YT(r._formState.errors,n,e):kD(r._formState.errors,n),r._subjects.state.next({errors:r._formState.errors}))}));else{const t=VT(r._fields,n);!t||!t._f||dD(r._options.reValidateMode).isOnSubmit&&dD(r._options.mode).isOnSubmit||wD(t,r._formValues,r._options.criteriaMode===JT,r._options.shouldUseNativeValidation).then((t=>!cD(t)&&r._subjects.state.next({errors:yD(r._formState.errors,t,n)})))}r._subjects.values.next({name:n,values:{...r._formValues}}),r._names.focus&&hD(r._fields,((t,e)=>{if(r._names.focus&&e.startsWith(r._names.focus)&&t.focus)return t.focus(),1})),r._names.focus="",r._updateValid(),f.current=!1}),[a,n,r]),J.useEffect((()=>(!VT(r._formValues,n)&&r._updateFieldArray(n),()=>{(r._options.shouldUnregister||i)&&r.unregister(n)})),[n,r,o,i]),{swap:J.useCallback(((t,e)=>{const o=r._getFieldArray(n);MD(o,t,e),MD(u.current,t,e),p(o),c(o),r._updateFieldArray(n,o,MD,{argA:t,argB:e},!1)}),[p,n,r]),move:J.useCallback(((t,e)=>{const o=r._getFieldArray(n);jD(o,t,e),jD(u.current,t,e),p(o),c(o),r._updateFieldArray(n,o,jD,{argA:t,argB:e},!1)}),[p,n,r]),prepend:J.useCallback(((t,e)=>{const o=uD(zT(t)),i=PD(r._getFieldArray(n),o);r._names.focus=pD(n,0,e),u.current=PD(u.current,o.map(fD)),p(i),c(i),r._updateFieldArray(n,i,PD,{argA:OD(t)})}),[p,n,r]),append:J.useCallback(((t,e)=>{const o=uD(zT(t)),i=xD(r._getFieldArray(n),o);r._names.focus=pD(n,i.length-1,e),u.current=xD(u.current,o.map(fD)),p(i),c(i),r._updateFieldArray(n,i,xD,{argA:OD(t)})}),[p,n,r]),remove:J.useCallback((t=>{const e=AD(r._getFieldArray(n),t);u.current=AD(u.current,t),p(e),c(e),r._updateFieldArray(n,e,AD,{argA:t})}),[p,n,r]),insert:J.useCallback(((t,e,o)=>{const i=uD(zT(e)),a=SD(r._getFieldArray(n),t,i);r._names.focus=pD(n,t,o),u.current=SD(u.current,t,i.map(fD)),p(a),c(a),r._updateFieldArray(n,a,SD,{argA:t,argB:OD(e)})}),[p,n,r]),update:J.useCallback(((t,e)=>{const o=zT(e),i=ED(r._getFieldArray(n),t,o);u.current=[...i].map(((e,r)=>e&&r!==t?u.current[r]:fD())),p(i),c([...i]),r._updateFieldArray(n,i,ED,{argA:t,argB:o},!0,!1)}),[p,n,r]),replace:J.useCallback((t=>{const e=uD(zT(t));u.current=e.map(fD),p([...e]),c([...e]),r._updateFieldArray(n,[...e],(t=>t),{},!0,!1)}),[p,n,r]),fields:J.useMemo((()=>a.map(((t,e)=>({...t,[o]:u.current[e]||fD()})))),[a,o])}}const _D=({name:r,control:n,register:o,defaultValues:i,onArrayAppend:a,onArrayRemove:c})=>{const{fields:u,append:l,remove:s}=CD({control:n,name:r}),p=Object.keys(i).reduce(((t,e)=>({...t,[e]:i[e]})),{});return t(C,{children:[u.map(((n,i)=>e(C,{children:t(C,{pb:6,position:"relative",children:[Object.keys(n).filter((t=>"id"!==t)).map((t=>e(NT,{label:t,name:`${r}.${i}.${t}`,register:o},`${t}-${n.id}`))),e(f,{label:"Delete",children:e(v,{position:"absolute",top:"0",right:"0",children:e(h,{"aria-label":"Delete",size:"sm",variant:"ghost",onClick:()=>{s(i),c&&c(i)},minW:"2rem",p:"0",children:"X"})})})]})},n.id))),e(v,{children:e(h,{size:"sm",onClick:()=>{l(p),a&&a(p)},ml:"auto",children:"+"})})]})},TD=({data:r,dataKey:n,width:o="100%",height:i="100%",lineType:a="linear",isAnimated:c=!1,formatter:u,labelFormatter:l,sampleRate:s,style:f})=>{const{isNetGain:p}=wr({data:r,dataKey:n}),d=vn(),h=s?jr({arr:r||[],n:s}):r;let y,v;h?.length?(v=p?Ar.mint():Ar.heroicRed(),y=h?.map((t=>({...t,[n]:Number(t[n])||0})))):(v=Ar.coolElegance(),y=[{[n]:0},{[n]:0}]);const m={cursor:h?.length?"crosshair":"default",...f};return e(Kh,{width:o,minHeight:i,id:d,children:t(pT,{data:y,style:m,children:[e(p_,{domain:["dataMin","dataMax"],hide:!0}),e(kC,{isAnimationActive:c,type:a,dataKey:n,stroke:v,strokeWidth:"2",activeDot:t=>hT({labelFormatter:l,formatter:u,...t}),dot:!1,scale:"threshold"}),h?.length&&e(Bh,{cursor:!1,content:()=>null})]})})},DD=({isOpen:r,onClose:n,headerContent:o=null,footerContent:i=null,children:a,isCentered:c=!0,size:u={base:"md",md:"xl"},isDisabledCloseButton:l,bodyProps:s={},contentProps:f={},...p})=>{const d={maxHeight:"60vh",bg:"transparent",overflow:"scroll",...s},h={...{minWidth:Er},...f};return t(_,{blockScrollOnMount:!1,scrollBehavior:"inside",isOpen:r,onClose:n,isCentered:c,size:u,trapFocus:!Or(),...p,children:[e(T,{}),t(D,{...h,children:[e(I,{children:o}),e(N,{isDisabled:l}),e(L,{...d,children:a}),i&&e(B,{borderTop:"solid 1px",borderColor:Ar.coolElegance(),justifyContent:"flex-start",children:i})]})]})},ID=t=>{const{isActive:r,children:n,href:o,...i}=t;return e(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 ${Ar.black(.08)}`:"none",href:o,alignItems:"center",lineHeight:"1",position:"relative",padding:"2",zIndex:"3",transition:"border-color 0.25s",_hover:{borderColor:!r&&Ar.coolElegance(),textDecoration:"none"},...i,children:n},o)};var ND,LD={exports:{}};var BD,RD=(ND||(ND=1,BD=LD,function(t,e){BD.exports=e(J)}(0,(t=>(()=>{var e={703:(t,e,r)=>{var n=r(414);function o(){}function i(){}i.resetWarningCache=o,t.exports=function(){function t(t,e,r,o,i,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 e(){return t}t.isRequired=t;var r={array:t,bigint:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,elementType:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e,checkPropTypes:i,resetWarningCache:o};return r.PropTypes=r,r}},697:(t,e,r)=>{t.exports=r(703)()},414:t=>{t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},98:e=>{e.exports=t}},r={};function n(t){var o=r[t];if(void 0!==o)return o.exports;var i=r[t]={exports:{}};return e[t](i,i.exports,n),i.exports}n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var o={};return(()=>{n.r(o),n.d(o,{default:()=>w});var t=n(98),e=n.n(t),r=n(697),i=n.n(r);function a(){return a=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},a.apply(this,arguments)}var c=function(t){var r=t.pageClassName,n=t.pageLinkClassName,o=t.page,i=t.selected,c=t.activeClassName,u=t.activeLinkClassName,l=t.getEventListener,s=t.pageSelectedHandler,f=t.href,p=t.extraAriaContext,d=t.pageLabelBuilder,h=t.rel,y=t.ariaLabel||"Page "+o+(p?" "+p:""),v=null;return i&&(v="page",y=t.ariaLabel||"Page "+o+" is your current page",r=void 0!==r?r+" "+c:c,void 0!==n?void 0!==u&&(n=n+" "+u):n=u),e().createElement("li",{className:r},e().createElement("a",a({rel:h,role:f?void 0:"button",className:n,href:f,tabIndex:i?"-1":"0","aria-label":y,"aria-current":v,onKeyPress:s},l(s)),d(o)))};c.propTypes={pageSelectedHandler:i().func.isRequired,selected:i().bool.isRequired,pageClassName:i().string,pageLinkClassName:i().string,activeClassName:i().string,activeLinkClassName:i().string,extraAriaContext:i().string,href:i().string,ariaLabel:i().string,page:i().number.isRequired,getEventListener:i().func.isRequired,pageLabelBuilder:i().func.isRequired,rel:i().string};const u=c;function l(){return l=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},l.apply(this,arguments)}var s=function(t){var r=t.breakLabel,n=t.breakAriaLabel,o=t.breakClassName,i=t.breakLinkClassName,a=t.breakHandler,c=t.getEventListener,u=o||"break";return e().createElement("li",{className:u},e().createElement("a",l({className:i,role:"button",tabIndex:"0","aria-label":n,onKeyPress:a},c(a)),r))};s.propTypes={breakLabel:i().oneOfType([i().string,i().node]),breakAriaLabel:i().string,breakClassName:i().string,breakLinkClassName:i().string,breakHandler:i().func.isRequired,getEventListener:i().func.isRequired};const f=s;function p(t){return null!=t?t:arguments.length>1&&void 0!==arguments[1]?arguments[1]:""}function d(t){return d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},d(t)}function h(){return h=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},h.apply(this,arguments)}function y(t,e){return y=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},y(t,e)}function v(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function m(t){return m=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},m(t)}function g(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var b=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&y(t,e)}(c,t);var r,n,o,i,a=(o=c,i=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(t){return!1}}(),function(){var t,e=m(o);if(i){var r=m(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return function(t,e){if(e&&("object"===d(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return v(t)}(this,t)});function c(t){var r,n;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,c),g(v(r=a.call(this,t)),"handlePreviousPage",(function(t){var e=r.state.selected;r.handleClick(t,null,e>0?e-1:void 0,{isPrevious:!0})})),g(v(r),"handleNextPage",(function(t){var e=r.state.selected,n=r.props.pageCount;r.handleClick(t,null,e<n-1?e+1:void 0,{isNext:!0})})),g(v(r),"handlePageSelected",(function(t,e){if(r.state.selected===t)return r.callActiveCallback(t),void r.handleClick(e,null,void 0,{isActive:!0});r.handleClick(e,null,t)})),g(v(r),"handlePageChange",(function(t){r.state.selected!==t&&(r.setState({selected:t}),r.callCallback(t))})),g(v(r),"getEventListener",(function(t){return g({},r.props.eventListener,t)})),g(v(r),"handleClick",(function(t,e,n){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=o.isPrevious,a=void 0!==i&&i,c=o.isNext,u=void 0!==c&&c,l=o.isBreak,s=void 0!==l&&l,f=o.isActive,p=void 0!==f&&f;t.preventDefault?t.preventDefault():t.returnValue=!1;var d=r.state.selected,h=r.props.onClick,y=n;if(h){var v=h({index:e,selected:d,nextSelectedPage:n,event:t,isPrevious:a,isNext:u,isBreak:s,isActive:p});if(!1===v)return;Number.isInteger(v)&&(y=v)}void 0!==y&&r.handlePageChange(y)})),g(v(r),"handleBreakClick",(function(t,e){var n=r.state.selected;r.handleClick(e,t,n<t?r.getForwardJump():r.getBackwardJump(),{isBreak:!0})})),g(v(r),"callCallback",(function(t){void 0!==r.props.onPageChange&&"function"==typeof r.props.onPageChange&&r.props.onPageChange({selected:t})})),g(v(r),"callActiveCallback",(function(t){void 0!==r.props.onPageActive&&"function"==typeof r.props.onPageActive&&r.props.onPageActive({selected:t})})),g(v(r),"getElementPageRel",(function(t){var e=r.state.selected,n=r.props,o=n.nextPageRel,i=n.prevPageRel,a=n.selectedPageRel;return e-1===t?i:e===t?a:e+1===t?o:void 0})),g(v(r),"pagination",(function(){var t=[],n=r.props,o=n.pageRangeDisplayed,i=n.pageCount,a=n.marginPagesDisplayed,c=n.breakLabel,u=n.breakClassName,l=n.breakLinkClassName,s=n.breakAriaLabels,p=r.state.selected;if(i<=o)for(var d=0;d<i;d++)t.push(r.getPageElement(d));else{var h=o/2,y=o-h;p>i-o/2?h=o-(y=i-p):p<o/2&&(y=o-(h=p));var v,m,g=function(t){return r.getPageElement(t)},b=[];for(v=0;v<i;v++){var w=v+1;if(w<=a)b.push({type:"page",index:v,display:g(v)});else if(w>i-a)b.push({type:"page",index:v,display:g(v)});else if(v>=p-h&&v<=p+(0===p&&o>1?y-1:y))b.push({type:"page",index:v,display:g(v)});else if(c&&b.length>0&&b[b.length-1].display!==m&&(o>0||a>0)){var x=v<p?s.backward:s.forward;m=e().createElement(f,{key:v,breakAriaLabel:x,breakLabel:c,breakClassName:u,breakLinkClassName:l,breakHandler:r.handleBreakClick.bind(null,v),getEventListener:r.getEventListener}),b.push({type:"break",index:v,display:m})}}b.forEach((function(e,r){var n=e;"break"===e.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:e.index,display:g(e.index)}),t.push(n.display)}))}return t})),void 0!==t.initialPage&&void 0!==t.forcePage&&console.warn("(react-paginate): Both initialPage (".concat(t.initialPage,") and forcePage (").concat(t.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=t.initialPage?t.initialPage:t.forcePage?t.forcePage:0,r.state={selected:n},r}return r=c,(n=[{key:"componentDidMount",value:function(){var t=this.props,e=t.initialPage,r=t.disableInitialCallback,n=t.extraAriaContext,o=t.pageCount,i=t.forcePage;void 0===e||r||this.callCallback(e),n&&console.warn("DEPRECATED (react-paginate): The extraAriaContext prop is deprecated. You should now use the ariaLabelBuilder instead."),Number.isInteger(o)||console.warn("(react-paginate): The pageCount prop value provided is not an integer (".concat(o,"). Did you forget a Math.ceil()?")),void 0!==e&&e>o-1&&console.warn("(react-paginate): The initialPage prop provided is greater than the maximum page index from pageCount prop (".concat(e," > ").concat(o-1,").")),void 0!==i&&i>o-1&&console.warn("(react-paginate): The forcePage prop provided is greater than the maximum page index from pageCount prop (".concat(i," > ").concat(o-1,")."))}},{key:"componentDidUpdate",value:function(t){void 0!==this.props.forcePage&&this.props.forcePage!==t.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(t.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 t=this.state.selected,e=this.props,r=e.pageCount,n=t+e.pageRangeDisplayed;return n>=r?r-1:n}},{key:"getBackwardJump",value:function(){var t=this.state.selected-this.props.pageRangeDisplayed;return t<0?0:t}},{key:"getElementHref",value:function(t){var e=this.props,r=e.hrefBuilder,n=e.pageCount,o=e.hrefAllControls;if(r)return o||t>=0&&t<n?r(t+1,n,this.state.selected):void 0}},{key:"ariaLabelBuilder",value:function(t){var e=t===this.state.selected;if(this.props.ariaLabelBuilder&&t>=0&&t<this.props.pageCount){var r=this.props.ariaLabelBuilder(t+1,e);return this.props.extraAriaContext&&!e&&(r=r+" "+this.props.extraAriaContext),r}}},{key:"getPageElement",value:function(t){var r=this.state.selected,n=this.props,o=n.pageClassName,i=n.pageLinkClassName,a=n.activeClassName,c=n.activeLinkClassName,l=n.extraAriaContext,s=n.pageLabelBuilder;return e().createElement(u,{key:t,pageSelectedHandler:this.handlePageSelected.bind(null,t),selected:r===t,rel:this.getElementPageRel(t),pageClassName:o,pageLinkClassName:i,activeClassName:a,activeLinkClassName:c,extraAriaContext:l,href:this.getElementHref(t),ariaLabel:this.ariaLabelBuilder(t),page:t+1,pageLabelBuilder:s,getEventListener:this.getEventListener})}},{key:"render",value:function(){var t=this.props.renderOnZeroPageCount;if(0===this.props.pageCount&&void 0!==t)return t?t(this.props):t;var r=this.props,n=r.disabledClassName,o=r.disabledLinkClassName,i=r.pageCount,a=r.className,c=r.containerClassName,u=r.previousLabel,l=r.previousClassName,s=r.previousLinkClassName,f=r.previousAriaLabel,d=r.prevRel,y=r.nextLabel,v=r.nextClassName,m=r.nextLinkClassName,g=r.nextAriaLabel,b=r.nextRel,w=this.state.selected,x=0===w,O=w===i-1,S="".concat(p(l)).concat(x?" ".concat(p(n)):""),j="".concat(p(v)).concat(O?" ".concat(p(n)):""),P="".concat(p(s)).concat(x?" ".concat(p(o)):""),A="".concat(p(m)).concat(O?" ".concat(p(o)):""),M=x?"true":"false",k=O?"true":"false";return e().createElement("ul",{className:a||c,role:"navigation","aria-label":"Pagination"},e().createElement("li",{className:S},e().createElement("a",h({className:P,href:this.getElementHref(w-1),tabIndex:x?"-1":"0",role:"button",onKeyPress:this.handlePreviousPage,"aria-disabled":M,"aria-label":f,rel:d},this.getEventListener(this.handlePreviousPage)),u)),this.pagination(),e().createElement("li",{className:j},e().createElement("a",h({className:A,href:this.getElementHref(w+1),tabIndex:O?"-1":"0",role:"button",onKeyPress:this.handleNextPage,"aria-disabled":k,"aria-label":g,rel:b},this.getEventListener(this.handleNextPage)),y)))}}])&&function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}(r.prototype,n),Object.defineProperty(r,"prototype",{writable:!1}),c}(t.Component);g(b,"propTypes",{pageCount:i().number.isRequired,pageRangeDisplayed:i().number,marginPagesDisplayed:i().number,previousLabel:i().node,previousAriaLabel:i().string,prevPageRel:i().string,prevRel:i().string,nextLabel:i().node,nextAriaLabel:i().string,nextPageRel:i().string,nextRel:i().string,breakLabel:i().oneOfType([i().string,i().node]),breakAriaLabels:i().shape({forward:i().string,backward:i().string}),hrefBuilder:i().func,hrefAllControls:i().bool,onPageChange:i().func,onPageActive:i().func,onClick:i().func,initialPage:i().number,forcePage:i().number,disableInitialCallback:i().bool,containerClassName:i().string,className:i().string,pageClassName:i().string,pageLinkClassName:i().string,pageLabelBuilder:i().func,activeClassName:i().string,activeLinkClassName:i().string,previousClassName:i().string,nextClassName:i().string,previousLinkClassName:i().string,nextLinkClassName:i().string,disabledClassName:i().string,disabledLinkClassName:i().string,breakClassName:i().string,breakLinkClassName:i().string,extraAriaContext:i().string,ariaLabelBuilder:i().func,eventListener:i().string,renderOnZeroPageCount:i().func,selectedPageRel:i().string}),g(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(t){return t},eventListener:"onClick",renderOnZeroPageCount:void 0,selectedPageRel:"canonical",hrefAllControls:!1});const w=b})(),o})()))),LD.exports);const $D=n(Je(RD)),zD=({totalRecords:t=0,recordsPerPage:r=10,pageRangeDisplayed:n=3,handlePageClick:o,forcePage:i,...a})=>{const c=Math.ceil(t/r);return e(v,{justifyContent:{base:"center",md:"flex-end"},fontSize:{base:14,md:18},gap:2,w:"full",...a,children:e($D,{breakLabel:"...",previousLabel:"<",nextLabel:">",onPageChange:o,pageRangeDisplayed:n,pageCount:c,renderOnZeroPageCount:null,forcePage:i,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:Ar.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"}}})})},HD=({isLoading:r,hasMore:n,setLastEvaluatedKeyParams:o,lastEvaluatedKey:i,...a})=>{const[c,u]=it([]),[l,s]=it(1);return t(v,{w:"full",justifyContent:"flex-end",alignItems:"center",direction:"row",gap:4,...a,children:[e(h,{onClick:()=>{if(2===l)return o(void 0),u([]),void s((t=>t-1));const t=c.length-1,e=c[t-1];o(e),u((t=>t.slice(0,-1))),s((t=>t-1))},isDisabled:r||1===l,children:"Previous"}),e(h,{onClick:()=>{if(i){const t={lastEvaluatedPKey:i.pKey,lastEvaluatedSKey:i.sKey};o(t),u((e=>[...e,t])),s((t=>t+1))}},isDisabled:r||!n,children:"Next"})]})},FD=({children:t,isEnabled:r=!0,...n})=>{const o=r?ht`
32
32
  text-wrap: balance;
33
33
  text-wrap: pretty;
34
- `:void 0;return e(C,{css:o,...n,children:t})},FD=r=>{const{children:n,size:o,isDisabled:i,isReadOnly:a,isRequired:c,name:u,register:l,errorMessage:s,helperText:f,label:p,...d}=r,h=wr(o),y=l?l(u):void 0;return t(g,{isInvalid:Boolean(s),isDisabled:i,isReadOnly:a,isRequired:c,children:[p&&e(b,{size:o,children:p}),e($,{icon:e(St,{}),size:o,...y,...d,children:n}),s&&e(x,{size:o,children:s}),f&&e(E,{fontSize:h,children:f})]})},VD=yt({from:{transform:"rotate(0deg)"},to:{transform:"rotate(360deg)"}}),UD=({boxSize:t=8,color:r="brand",...n})=>{const o="neutral"===r?Pr.sonicSilver():"brand.500";return e(v,{width:"full",justifyContent:"center",alignItems:"center",minHeight:Number.isFinite(Number(t))?3*Number(t):`calc(${t} * 3)`,...n,children:e(v,{width:t,height:t,animation:`${VD} 2000ms infinite linear`,children:e(de,{boxSize:t,__css:{path:{fill:o}}})})})},WD=r=>{const{label:n,rightIcon:o,leftIcon:i,onClose:a,...c}=r,[u,l]=it(!0);return u?t(z,{className:"cf-tag",...c,children:[i&&e(H,{as:i}),e(F,{children:n}),o&&e(V,{as:o}),a&&e(U,{onClick:()=>{a(),l(!1)}})]}):null},qD=({description:r,title:n,onClose:o,isClosable:i,status:a})=>{let c,u;switch(a){case"error":u=vt;break;case"success":u=kt;break;case"warning":u=Yt,c="yellow";break;case"loading":c="brand",u=G;break;default:c="brand",u=Yt}return t(W,{as:v,colorScheme:c,justifyContent:"space-between",status:a,children:[t(v,{alignItems:"center",mr:"4",children:[e(q,{children:e(u,{size:"sm"})}),t(C,{children:[e(Y,{children:n}),e(X,{children:r})]})]}),i&&e(K,{onClick:o})]})},YD=({children:t,label:r})=>{const n=r?e(v,{padding:"1",flexDir:"column",gap:"2",lineHeight:"normal",fontSize:"sm",children:r}):null;return e(f,{label:n,hasArrow:!0,children:t})},XD=()=>{const t=l({ssr:!1}),e="base"===t||"sm"===t,r="md"===t,n="lg"===t||"xl"===t||"2xl"===t;return{breakpoint:t,isSmallBreakpoint:e,isMediumBreakpoint:r,isLargeBreakpoint:n,isAboveSmallBreakpoint:r||n,isBelowLargeBreakpoint:r||e}};export{hT as CfAreaChart,yT as CfBreakpointDebugger,vT as CfButtonGroup,mT as CfButtonGroupButton,gT as CfCard,bT as CfCarousel,wT as CfCheckbox,xT as CfForm,IT as CfInput,CD as CfInputArray,_D as CfLineChart,TD as CfModal,DD as CfNavLink,$D as CfOpenSearchPagination,zD as CfPagination,HD as CfPrettyWrap,FD as CfSelect,UD as CfSpinner,WD as CfTag,qD as CfToast,YD as CfTooltip,vt as IconAlert,be as IconAlgo,mt as IconArrowDown,gt as IconArrowUp,we as IconAvax,bt as IconBank,wt as IconBarChart,xe as IconBch,xt as IconBookCheck,Oe as IconBtc,Ot as IconCalendar,St as IconCaretDown,jt as IconCaretLeft,Pt as IconCaretRight,At as IconCaretUp,Mt as IconCent,kt as IconCheck,Et as IconChecking,Ct as IconCircleCheck,_t as IconClose,Tt as IconConnect,Dt as IconCopy,It as IconDollar,Nt as IconDollarBill,Lt as IconDownload,Bt as IconEdit,Rt as IconEnter,$t as IconEnterInverted,Se as IconEth,zt as IconExchange,Ht as IconFilter,Ft as IconHelp,Vt as IconHistory,Ut as IconHome,Wt as IconIndicatorDown,qt as IconIndicatorUp,Yt as IconInfo,je as IconLink,Xt as IconLock,Pe as IconLtc,Kt as IconMail,Gt as IconMenu,Zt as IconMinus,Ae as IconMkr,Jt as IconMore,Qt as IconNotification,te as IconOverview,ee as IconPercent,re as IconPieChart,ne as IconPlus,ge as IconRefresh,oe as IconReports,ie as IconReservesSuccess,ae as IconReservesWarning,ce as IconSearch,ue as IconSettings,le as IconSettlement,se as IconSignIn,fe as IconSignOut,pe as IconSort,de as IconSpinner,he as IconSupport,ye as IconTrash,ve as IconUpload,me as IconUser,Me as IconXlm,ke as IconXrp,Ke as aggregateAmounts,fn as coreTheme,Er as dateFormats,lr as dateToTimestamp,sr as formatPercentage,pn as formatPhoneNumber,gr as formatUsd,br as getDelta,xr as isIframe,kr as layoutMinWidth,Sr as pullFromEnd,jr as splitOnCapitals,Pr as uiColors,Mr as usdToNumber,XD as useCfBreakpoint,Cr as utcDateToLocal};
34
+ `:void 0;return e(C,{css:o,...n,children:t})},VD=r=>{const{children:n,size:o,isDisabled:i,isReadOnly:a,isRequired:c,name:u,register:l,errorMessage:s,helperText:f,label:p,...d}=r,h=xr(o),y=l?l(u):void 0;return t(g,{isInvalid:Boolean(s),isDisabled:i,isReadOnly:a,isRequired:c,children:[p&&e(b,{size:o,children:p}),e($,{icon:e(St,{}),size:o,...y,...d,children:n}),s&&e(x,{size:o,children:s}),f&&e(E,{fontSize:h,children:f})]})},UD=yt({from:{transform:"rotate(0deg)"},to:{transform:"rotate(360deg)"}}),WD=({boxSize:t=8,color:r="brand",...n})=>{const o="neutral"===r?Ar.sonicSilver():"brand.500";return e(v,{width:"full",justifyContent:"center",alignItems:"center",minHeight:Number.isFinite(Number(t))?3*Number(t):`calc(${t} * 3)`,...n,children:e(v,{width:t,height:t,animation:`${UD} 2000ms infinite linear`,children:e(de,{boxSize:t,__css:{path:{fill:o}}})})})},qD=r=>{const{label:n,rightIcon:o,leftIcon:i,onClose:a,...c}=r,[u,l]=it(!0);return u?t(z,{className:"cf-tag",...c,children:[i&&e(H,{as:i}),e(F,{children:n}),o&&e(V,{as:o}),a&&e(U,{onClick:()=>{a(),l(!1)}})]}):null},YD=({description:r,title:n,onClose:o,isClosable:i,status:a})=>{let c,u;switch(a){case"error":u=vt;break;case"success":u=kt;break;case"warning":u=Yt,c="yellow";break;case"loading":c="brand",u=G;break;default:c="brand",u=Yt}return t(W,{as:v,colorScheme:c,justifyContent:"space-between",status:a,children:[t(v,{alignItems:"center",mr:"4",children:[e(q,{children:e(u,{size:"sm"})}),t(C,{children:[e(Y,{children:n}),e(X,{children:r})]})]}),i&&e(K,{onClick:o})]})},XD=({children:t,label:r})=>{const n=r?e(v,{padding:"1",flexDir:"column",gap:"2",lineHeight:"normal",fontSize:"sm",children:r}):null;return e(f,{label:n,hasArrow:!0,children:t})},KD=()=>{const t=l({ssr:!1}),e="base"===t||"sm"===t,r="md"===t,n="lg"===t||"xl"===t||"2xl"===t;return{breakpoint:t,isSmallBreakpoint:e,isMediumBreakpoint:r,isLargeBreakpoint:n,isAboveSmallBreakpoint:r||n,isBelowLargeBreakpoint:r||e}};export{yT as CfAreaChart,vT as CfBreakpointDebugger,mT as CfButtonGroup,gT as CfButtonGroupButton,bT as CfCard,wT as CfCarousel,xT as CfCheckbox,OT as CfForm,NT as CfInput,_D as CfInputArray,TD as CfLineChart,DD as CfModal,ID as CfNavLink,zD as CfOpenSearchPagination,HD as CfPagination,FD as CfPrettyWrap,VD as CfSelect,WD as CfSpinner,qD as CfTag,YD as CfToast,XD as CfTooltip,vt as IconAlert,we as IconAlgo,mt as IconArrowDown,gt as IconArrowUp,xe as IconAvax,bt as IconBank,wt as IconBarChart,Oe as IconBch,xt as IconBookCheck,Se as IconBtc,Ot as IconCalendar,St as IconCaretDown,jt as IconCaretLeft,Pt as IconCaretRight,At as IconCaretUp,Mt as IconCent,kt as IconCheck,Et as IconChecking,Ct as IconCircleCheck,_t as IconClose,Tt as IconConnect,Dt as IconCopy,It as IconDollar,Nt as IconDollarBill,Lt as IconDownload,Bt as IconEdit,Rt as IconEnter,$t as IconEnterInverted,je as IconEth,zt as IconExchange,ge as IconExternalLink,Ht as IconFilter,Ft as IconHelp,Vt as IconHistory,Ut as IconHome,Wt as IconIndicatorDown,qt as IconIndicatorUp,Yt as IconInfo,Pe as IconLink,Xt as IconLock,Ae as IconLtc,Kt as IconMail,Gt as IconMenu,Zt as IconMinus,Me as IconMkr,Jt as IconMore,Qt as IconNotification,te as IconOverview,ee as IconPercent,re as IconPieChart,ne as IconPlus,be as IconRefresh,oe as IconReports,ie as IconReservesSuccess,ae as IconReservesWarning,ce as IconSearch,ue as IconSettings,le as IconSettlement,se as IconSignIn,fe as IconSignOut,pe as IconSort,de as IconSpinner,he as IconSupport,ye as IconTrash,ve as IconUpload,me as IconUser,ke as IconXlm,Ee as IconXrp,Ge as aggregateAmounts,pn as coreTheme,Cr as dateFormats,sr as dateToTimestamp,fr as formatPercentage,dn as formatPhoneNumber,br as formatUsd,wr as getDelta,Or as isIframe,Er as layoutMinWidth,jr as pullFromEnd,Pr as splitOnCapitals,Ar as uiColors,kr as usdToNumber,KD as useCfBreakpoint,_r as utcDateToLocal};
35
35
  //# sourceMappingURL=index.js.map