compass-code 0.1.0__py3-none-any.whl

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.
Files changed (137) hide show
  1. compass_cli/__init__.py +0 -0
  2. compass_cli/commands/__init__.py +0 -0
  3. compass_cli/commands/ingest.py +310 -0
  4. compass_cli/commands/mcp.py +25 -0
  5. compass_cli/commands/query.py +181 -0
  6. compass_cli/commands/serve.py +123 -0
  7. compass_cli/commands/setup.py +171 -0
  8. compass_cli/display.py +231 -0
  9. compass_cli/errors.py +30 -0
  10. compass_cli/main.py +54 -0
  11. compass_cli/progress.py +191 -0
  12. compass_cli/result_views.py +389 -0
  13. compass_cli/types.py +41 -0
  14. compass_code-0.1.0.dist-info/METADATA +72 -0
  15. compass_code-0.1.0.dist-info/RECORD +137 -0
  16. compass_code-0.1.0.dist-info/WHEEL +4 -0
  17. compass_code-0.1.0.dist-info/entry_points.txt +2 -0
  18. compass_core/__init__.py +1 -0
  19. compass_core/contract/__init__.py +6 -0
  20. compass_core/contract/errors.py +116 -0
  21. compass_core/contract/models.py +204 -0
  22. compass_core/contract/params.py +99 -0
  23. compass_core/contract/results.py +370 -0
  24. compass_core/contract/serialize.py +59 -0
  25. compass_core/contract/types.py +76 -0
  26. compass_core/errors.py +148 -0
  27. compass_core/graph/__init__.py +0 -0
  28. compass_core/graph/db.py +205 -0
  29. compass_core/graph/schema.py +165 -0
  30. compass_core/graph/stored_ids.py +133 -0
  31. compass_core/graph/writer.py +482 -0
  32. compass_core/index/__init__.py +1 -0
  33. compass_core/index/freshness.py +55 -0
  34. compass_core/index/locate.py +155 -0
  35. compass_core/index/metadata.py +107 -0
  36. compass_core/ir/__init__.py +0 -0
  37. compass_core/ir/graph.py +65 -0
  38. compass_core/ir/models.py +75 -0
  39. compass_core/languages/__init__.py +1 -0
  40. compass_core/languages/base.py +26 -0
  41. compass_core/languages/python/__init__.py +6 -0
  42. compass_core/languages/python/extractor.py +670 -0
  43. compass_core/languages/python/import_resolver.py +107 -0
  44. compass_core/languages/registry.py +89 -0
  45. compass_core/logger.py +42 -0
  46. compass_core/phases/__init__.py +0 -0
  47. compass_core/phases/base.py +58 -0
  48. compass_core/phases/discovery.py +167 -0
  49. compass_core/phases/parse.py +80 -0
  50. compass_core/phases/persistence.py +33 -0
  51. compass_core/phases/pipeline.py +152 -0
  52. compass_core/phases/resolution.py +572 -0
  53. compass_core/phases/symbol_table.py +36 -0
  54. compass_core/phases/validation.py +76 -0
  55. compass_core/progress.py +45 -0
  56. compass_core/py.typed +0 -0
  57. compass_core/query/__init__.py +1 -0
  58. compass_core/query/cypher.py +92 -0
  59. compass_core/query/detail.py +241 -0
  60. compass_core/query/graph_map.py +127 -0
  61. compass_core/query/impact.py +273 -0
  62. compass_core/query/impact_walk.py +352 -0
  63. compass_core/query/overview.py +221 -0
  64. compass_core/query/references.py +235 -0
  65. compass_core/query/rows.py +378 -0
  66. compass_core/query/search.py +183 -0
  67. compass_core/query/status.py +49 -0
  68. compass_core/query/walk_queries.py +202 -0
  69. compass_core/render.py +408 -0
  70. compass_core/settings.py +61 -0
  71. compass_core/shared_types.py +78 -0
  72. compass_mcp/__init__.py +0 -0
  73. compass_mcp/guide.py +45 -0
  74. compass_mcp/py.typed +0 -0
  75. compass_mcp/server.py +261 -0
  76. compass_server/__init__.py +5 -0
  77. compass_server/errors.py +84 -0
  78. compass_server/main.py +42 -0
  79. compass_server/py.typed +0 -0
  80. compass_server/routers/__init__.py +0 -0
  81. compass_server/routers/query.py +182 -0
  82. compass_server/settings.py +37 -0
  83. compass_server/static/404.html +1 -0
  84. compass_server/static/_next/static/chunks/1629039a.eed2a06658ec4f9c.js +1 -0
  85. compass_server/static/_next/static/chunks/1ff282bf-bb7c483245264fc9.js +1 -0
  86. compass_server/static/_next/static/chunks/223.f881a22f446259bf.js +508 -0
  87. compass_server/static/_next/static/chunks/51fa5c19.6396973222c9d6fd.js +485 -0
  88. compass_server/static/_next/static/chunks/556.443c1682b6b20128.js +1 -0
  89. compass_server/static/_next/static/chunks/684-1aa0170f59baf77e.js +1 -0
  90. compass_server/static/_next/static/chunks/92e71660.3a42d4f70d017951.js +342 -0
  91. compass_server/static/_next/static/chunks/937-8692224bb6d1b605.js +1 -0
  92. compass_server/static/_next/static/chunks/app/_not-found/page-2c96ddf295eb6a86.js +1 -0
  93. compass_server/static/_next/static/chunks/app/layout-4bd0ba4a7d18aff9.js +1 -0
  94. compass_server/static/_next/static/chunks/app/page-5376a0a98bbd1faa.js +1 -0
  95. compass_server/static/_next/static/chunks/framework-96dcd958cfe08bd4.js +1 -0
  96. compass_server/static/_next/static/chunks/main-6dee8e626b16731a.js +1 -0
  97. compass_server/static/_next/static/chunks/main-app-460e8bc670818718.js +1 -0
  98. compass_server/static/_next/static/chunks/pages/_app-638a3e7363f92b80.js +1 -0
  99. compass_server/static/_next/static/chunks/pages/_error-6a72dbbb45cae743.js +1 -0
  100. compass_server/static/_next/static/chunks/polyfills-42372ed130431b0a.js +1 -0
  101. compass_server/static/_next/static/chunks/webpack-597057bf48ce4111.js +1 -0
  102. compass_server/static/_next/static/css/1b0fbfd8dd653f37.css +3 -0
  103. compass_server/static/_next/static/ctUZeD9K7jQUgLqmBas2L/_buildManifest.js +1 -0
  104. compass_server/static/_next/static/ctUZeD9K7jQUgLqmBas2L/_ssgManifest.js +1 -0
  105. compass_server/static/_next/static/media/0086f8992871c45b-s.woff2 +0 -0
  106. compass_server/static/_next/static/media/034d78ad42e9620c-s.woff2 +0 -0
  107. compass_server/static/_next/static/media/03b436aa846269de-s.woff2 +0 -0
  108. compass_server/static/_next/static/media/0484562807a97172-s.p.woff2 +0 -0
  109. compass_server/static/_next/static/media/08aedeceaf1dcd57-s.woff2 +0 -0
  110. compass_server/static/_next/static/media/0aa834ed78bf6d07-s.woff2 +0 -0
  111. compass_server/static/_next/static/media/29a4aea02fdee119-s.woff2 +0 -0
  112. compass_server/static/_next/static/media/29e7bbdce9332268-s.woff2 +0 -0
  113. compass_server/static/_next/static/media/36008747766f78c6-s.woff2 +0 -0
  114. compass_server/static/_next/static/media/39969fcf98a3026e-s.woff2 +0 -0
  115. compass_server/static/_next/static/media/4de1fea1a954a5b6-s.p.woff2 +0 -0
  116. compass_server/static/_next/static/media/5c0c2bcbaa4149ca-s.p.woff2 +0 -0
  117. compass_server/static/_next/static/media/67957d42bae0796d-s.woff2 +0 -0
  118. compass_server/static/_next/static/media/6d38f9d4e0f4772b-s.woff2 +0 -0
  119. compass_server/static/_next/static/media/6d664cce900333ee-s.p.woff2 +0 -0
  120. compass_server/static/_next/static/media/886030b0b59bc5a7-s.woff2 +0 -0
  121. compass_server/static/_next/static/media/8888a3826f4a3af4-s.p.woff2 +0 -0
  122. compass_server/static/_next/static/media/939c4f875ee75fbb-s.woff2 +0 -0
  123. compass_server/static/_next/static/media/a1386beebedccca4-s.woff2 +0 -0
  124. compass_server/static/_next/static/media/ab00a911ac2adf48-s.woff2 +0 -0
  125. compass_server/static/_next/static/media/b957ea75a84b6ea7-s.p.woff2 +0 -0
  126. compass_server/static/_next/static/media/bb3ef058b751a6ad-s.p.woff2 +0 -0
  127. compass_server/static/_next/static/media/c3bc380753a8436c-s.woff2 +0 -0
  128. compass_server/static/_next/static/media/cce080f35d014443-s.woff2 +0 -0
  129. compass_server/static/_next/static/media/db911767852bc875-s.woff2 +0 -0
  130. compass_server/static/_next/static/media/eafabf029ad39a43-s.p.woff2 +0 -0
  131. compass_server/static/_next/static/media/f10b8e9d91f3edcb-s.woff2 +0 -0
  132. compass_server/static/_next/static/media/f911b923c6adde36-s.woff2 +0 -0
  133. compass_server/static/_next/static/media/fe0777f1195381cb-s.woff2 +0 -0
  134. compass_server/static/index.html +1 -0
  135. compass_server/static/index.txt +25 -0
  136. compass_server/web_bundle.py +27 -0
  137. compass_server/web_limits.py +48 -0
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[684],{238:e=>{e.exports=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}},285:(e,t,r)=>{"use strict";r.d(t,{QQ:()=>l,VU:()=>s,XC:()=>p,_U:()=>f,j2:()=>u});var n=r(44213),o=r(88777),i=r.n(o);function a(e){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var l=["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"],c=["points","pathLength"],s={svg:["viewBox","children"],polygon:c,polyline:c},u=["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"],f=function(e,t){if(!e||"function"==typeof e||"boolean"==typeof e)return null;var r=e;if((0,n.isValidElement)(e)&&(r=e.props),!i()(r))return null;var o={};return Object.keys(r).forEach(function(e){u.includes(e)&&(o[e]=t||function(t){return r[e](r,t)})}),o},p=function(e,t,r){if(!i()(e)||"object"!==a(e))return null;var n=null;return Object.keys(e).forEach(function(o){var i=e[o];u.includes(o)&&"function"==typeof i&&(n||(n={}),n[o]=function(e){return i(t,r,e),null})}),n}},394:e=>{e.exports=function(){}},687:e=>{e.exports=function(e){return this.__data__.get(e)}},1402:(e,t,r)=>{"use strict";var n=r(56014);r.o(n,"usePathname")&&r.d(t,{usePathname:function(){return n.usePathname}}),r.o(n,"useRouter")&&r.d(t,{useRouter:function(){return n.useRouter}}),r.o(n,"useSearchParams")&&r.d(t,{useSearchParams:function(){return n.useSearchParams}})},1687:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>eE});var n=r(44213),o=r(55253),i=r.n(o);let{getOwnPropertyNames:a,getOwnPropertySymbols:l}=Object,{hasOwnProperty:c}=Object.prototype;function s(e,t){return function(r,n,o){return e(r,n,o)&&t(r,n,o)}}function u(e){return function(t,r,n){if(!t||!r||"object"!=typeof t||"object"!=typeof r)return e(t,r,n);let{cache:o}=n,i=o.get(t),a=o.get(r);if(i&&a)return i===r&&a===t;o.set(t,r),o.set(r,t);let l=e(t,r,n);return o.delete(t),o.delete(r),l}}function f(e){return a(e).concat(l(e))}let p=Object.hasOwn||((e,t)=>c.call(e,t));function d(e,t){return e===t||!e&&!t&&e!=e&&t!=t}let{getOwnPropertyDescriptor:h,keys:y}=Object,m=h(Object.getPrototypeOf(Int8Array.prototype),Symbol.toStringTag).get;function g(e,t){return e.byteLength===t.byteLength&&T(new Uint8Array(e),new Uint8Array(t))}function v(e,t,r){let n=e.length;if(t.length!==n)return!1;for(;n-- >0;)if(!r.equals(e[n],t[n],n,n,e,t,r))return!1;return!0}function b(e,t){return e.byteLength===t.byteLength&&T(new Uint8Array(e.buffer,e.byteOffset,e.byteLength),new Uint8Array(t.buffer,t.byteOffset,t.byteLength))}function x(e,t){return d(e.getTime(),t.getTime())}function w(e,t,r){return e.name===t.name&&e.message===t.message&&e.stack===t.stack&&r.equals(e.cause,t.cause,"cause","cause",e,t,r)}function O(e,t){return e===t}function A(e,t,r){let n,o,i=e.size;if(i!==t.size)return!1;if(!i)return!0;let a=Array(i),l=e.entries(),c=0;for(;(n=l.next())&&!n.done;){let i=t.entries(),l=!1,s=0;for(;(o=i.next())&&!o.done;){if(a[s]){s++;continue}let i=n.value,u=o.value;if(r.equals(i[0],u[0],c,s,e,t,r)&&r.equals(i[1],u[1],i[0],u[0],e,t,r)){l=a[s]=!0;break}s++}if(!l)return!1;c++}return!0}function k(e,t,r){let n=y(e),o=n.length;if(y(t).length!==o)return!1;for(;o-- >0;)if(!C(e,t,r,n[o]))return!1;return!0}function S(e,t,r){let n,o,i,a=f(e),l=a.length;if(f(t).length!==l)return!1;for(;l-- >0;)if(!C(e,t,r,n=a[l])||(o=h(e,n),i=h(t,n),(o||i)&&(!o||!i||o.configurable!==i.configurable||o.enumerable!==i.enumerable||o.writable!==i.writable)))return!1;return!0}function E(e,t){return d(e.valueOf(),t.valueOf())}function j(e,t){return e.source===t.source&&e.flags===t.flags}function P(e,t,r){let n,o,i=e.size;if(i!==t.size)return!1;if(!i)return!0;let a=Array(i),l=e.values();for(;(n=l.next())&&!n.done;){let i=t.values(),l=!1,c=0;for(;(o=i.next())&&!o.done;){if(!a[c]&&r.equals(n.value,o.value,n.value,o.value,e,t,r)){l=a[c]=!0;break}c++}if(!l)return!1}return!0}function T(e,t){let r=e.length;if(t.length!==r||e.byteOffset!==t.byteOffset)return!1;let n=m.call(e);if("Float64Array"===n||"Float32Array"===n||"Float16Array"===n){for(;r-- >0;)if(e[r]!==t[r]&&(e[r]==e[r]||t[r]==t[r]))return!1;return!0}for(;r-- >0;)if(e[r]!==t[r])return!1;return!0}function _(e,t){return e.href===t.href||e.protocol===t.protocol&&e.username===t.username&&e.password===t.password&&e.host===t.host&&e.pathname===t.pathname&&e.hash===t.hash&&function(e,t){let r=e.toString(),n=t.toString();return r===n||M(r)===M(n)}(e.searchParams,t.searchParams)}function M(e){return e.split("&").sort().join("&")}function C(e,t,r,n){return("_owner"===n||"__o"===n||"__v"===n)&&(!!e.$$typeof||!!t.$$typeof)||p(t,n)&&r.equals(e[n],t[n],n,n,e,t,r)}let I={"[object Int8Array]":!0,"[object Uint8Array]":!0,"[object Uint8ClampedArray]":!0,"[object Int16Array]":!0,"[object Uint16Array]":!0,"[object Int32Array]":!0,"[object Uint32Array]":!0,"[object Float16Array]":!0,"[object Float32Array]":!0,"[object Float64Array]":!0,"[object BigInt64Array]":!0,"[object BigUint64Array]":!0},N=Object.prototype.toString,D=R();function R(e={}){let{circular:t=!1,createInternalComparator:r,createState:n,strict:o=!1}=e,i=function({areArrayBuffersEqual:e,areArraysEqual:t,areDataViewsEqual:r,areDatesEqual:n,areErrorsEqual:o,areFunctionsEqual:i,areMapsEqual:a,areNumbersEqual:l,areObjectsEqual:c,arePrimitiveWrappersEqual:s,areRegExpsEqual:u,areSetsEqual:f,areTypedArraysEqual:p,areUrlsEqual:d,unknownTagComparators:h}){return function(y,m,g){if(y===m)return!0;if(null==y||null==m)return!1;let v=typeof y;if(v!==typeof m)return!1;if("object"!==v)return"number"===v?l(y,m,g):"function"===v&&i(y,m,g);let b=y.constructor;if(b!==m.constructor)return!1;if(b===Object)return c(y,m,g);if(Array.isArray(y))return t(y,m,g);if(b===Date)return n(y,m,g);if(b===RegExp)return u(y,m,g);if(b===Map)return a(y,m,g);if(b===Set)return f(y,m,g);if(null==b)return c(y,m,g);let x=N.call(y);if("[object Date]"===x)return n(y,m,g);if("[object RegExp]"===x)return u(y,m,g);if("[object Map]"===x)return a(y,m,g);if("[object Set]"===x)return f(y,m,g);if("[object Object]"===x)return"function"!=typeof y.then&&"function"!=typeof m.then&&c(y,m,g);if("[object URL]"===x)return d(y,m,g);if("[object Error]"===x)return o(y,m,g);if("[object Arguments]"===x)return c(y,m,g);if(I[x])return p(y,m,g);if("[object ArrayBuffer]"===x)return e(y,m,g);if("[object DataView]"===x)return r(y,m,g);if("[object Boolean]"===x||"[object Number]"===x||"[object String]"===x)return s(y,m,g);if(h){let e=h[x];if(!e){let t=null!=y?y[Symbol.toStringTag]:void 0;t&&(e=h[t])}if(e)return e(y,m,g)}return!1}}(function({circular:e,createCustomConfig:t,strict:r}){let n={areArrayBuffersEqual:g,areArraysEqual:r?S:v,areDataViewsEqual:b,areDatesEqual:x,areErrorsEqual:r?s(w,S):s(w,k),areFunctionsEqual:O,areMapsEqual:r?s(A,S):A,areNumbersEqual:d,areObjectsEqual:r?S:k,arePrimitiveWrappersEqual:E,areRegExpsEqual:j,areSetsEqual:r?s(P,S):P,areTypedArraysEqual:r?s(T,S):T,areUrlsEqual:_,unknownTagComparators:void 0};if(t&&(n=Object.assign({},n,t(n))),e){let e=u(n.areArraysEqual),t=u(n.areErrorsEqual),r=u(n.areMapsEqual),o=u(n.areObjectsEqual),i=u(n.areSetsEqual);n=Object.assign({},n,{areArraysEqual:e,areErrorsEqual:t,areMapsEqual:r,areObjectsEqual:o,areSetsEqual:i})}return n}(e)),a=r?r(i):function(e,t,r,n,o,a,l){return i(e,t,l)};return function({circular:e,comparator:t,createState:r,equals:n,strict:o}){if(r)return function(i,a){let{cache:l=e?new WeakMap:void 0,meta:c}=r();return t(i,a,{cache:l,equals:n,meta:c,strict:o})};if(e)return function(e,r){return t(e,r,{cache:new WeakMap,equals:n,meta:void 0,strict:o})};let i={cache:void 0,equals:n,meta:void 0,strict:o};return function(e,r){return t(e,r,i)}}({circular:t,comparator:i,createState:n,equals:a,strict:o})}function L(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=-1;requestAnimationFrame(function n(o){if(r<0&&(r=o),o-r>t)e(o),r=-1;else{var i;i=n,"undefined"!=typeof requestAnimationFrame&&requestAnimationFrame(i)}})}function F(e){return(F="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function B(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function z(e){return(z="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function $(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function U(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?$(Object(r),!0).forEach(function(t){W(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):$(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function W(e,t,r){var n;return(n=function(e,t){if("object"!==z(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==z(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"===z(n)?n:String(n))in e)?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}R({strict:!0}),R({circular:!0}),R({circular:!0,strict:!0}),R({createInternalComparator:()=>d}),R({strict:!0,createInternalComparator:()=>d}),R({circular:!0,createInternalComparator:()=>d}),R({circular:!0,createInternalComparator:()=>d,strict:!0});var G=function(e){return e},H=function(e,t){return Object.keys(t).reduce(function(r,n){return U(U({},r),{},W({},n,e(n,t[n])))},{})},q=function(e,t,r){return e.map(function(e){return"".concat(e.replace(/([A-Z])/g,function(e){return"-".concat(e.toLowerCase())})," ").concat(t,"ms ").concat(r)}).join(",")},V=function(e,t,r,n,o,i,a,l){};function K(e,t){if(e){if("string"==typeof e)return X(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return X(e,t)}}function X(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var Z=function(e,t){return[0,3*e,3*t-6*e,3*e-3*t+1]},Y=function(e,t){return e.map(function(e,r){return e*Math.pow(t,r)}).reduce(function(e,t){return e+t})},J=function(e,t){return function(r){return Y(Z(e,t),r)}},Q=function(){for(var e,t,r=arguments.length,n=Array(r),o=0;o<r;o++)n[o]=arguments[o];var i=n[0],a=n[1],l=n[2],c=n[3];if(1===n.length)switch(n[0]){case"linear":i=0,a=0,l=1,c=1;break;case"ease":i=.25,a=.1,l=.25,c=1;break;case"ease-in":i=.42,a=0,l=1,c=1;break;case"ease-out":i=.42,a=0,l=.58,c=1;break;case"ease-in-out":i=0,a=0,l=.58,c=1;break;default:var s=n[0].split("(");if("cubic-bezier"===s[0]&&4===s[1].split(")")[0].split(",").length){var u,f=function(e){if(Array.isArray(e))return e}(u=s[1].split(")")[0].split(",").map(function(e){return parseFloat(e)}))||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,l=[],c=!0,s=!1;try{i=(r=r.call(e)).next,!1;for(;!(c=(n=i.call(r)).done)&&(l.push(n.value),l.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(s)throw o}}return l}}(u,4)||K(u,4)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}();i=f[0],a=f[1],l=f[2],c=f[3]}else V(!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",n)}V([i,l,a,c].every(function(e){return"number"==typeof e&&e>=0&&e<=1}),"[configBezier]: arguments should be x1, y1, x2, y2 of [0, 1] instead received %s",n);var p=J(i,l),d=J(a,c),h=(e=i,t=l,function(r){var n;return Y([].concat(function(e){if(Array.isArray(e))return X(e)}(n=Z(e,t).map(function(e,t){return e*t}).slice(1))||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(n)||K(n)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),[0]),r)}),y=function(e){for(var t=e>1?1:e,r=t,n=0;n<8;++n){var o,i=p(r)-t,a=h(r);if(1e-4>Math.abs(i-t)||a<1e-4)break;r=(o=r-i/a)>1?1:o<0?0:o}return d(r)};return y.isStepper=!1,y},ee=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.stiff,r=void 0===t?100:t,n=e.damping,o=void 0===n?8:n,i=e.dt,a=void 0===i?17:i,l=function(e,t,n){var i=n+(-(e-t)*r-n*o)*a/1e3,l=n*a/1e3+e;return 1e-4>Math.abs(l-t)&&1e-4>Math.abs(i)?[t,0]:[l,i]};return l.isStepper=!0,l.dt=a,l},et=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=t[0];if("string"==typeof n)switch(n){case"ease":case"ease-in-out":case"ease-out":case"ease-in":case"linear":return Q(n);case"spring":return ee();default:if("cubic-bezier"===n.split("(")[0])return Q(n);V(!1,"[configEasing]: first argument should be one of 'ease', 'ease-in', 'ease-out', 'ease-in-out','cubic-bezier(x1,y1,x2,y2)', 'linear' and 'spring', instead received %s",t)}return"function"==typeof n?n:(V(!1,"[configEasing]: first argument type should be function or string, instead received %s",t),null)};function er(e){return(er="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function en(e){return function(e){if(Array.isArray(e))return ec(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||el(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function eo(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function ei(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?eo(Object(r),!0).forEach(function(t){ea(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):eo(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function ea(e,t,r){var n;return(n=function(e,t){if("object"!==er(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==er(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"===er(n)?n:String(n))in e)?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function el(e,t){if(e){if("string"==typeof e)return ec(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return ec(e,t)}}function ec(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var es=function(e,t,r){return e+(t-e)*r},eu=function(e){return e.from!==e.to},ef=function e(t,r,n){var o=H(function(e,r){if(eu(r)){var n,o=function(e){if(Array.isArray(e))return e}(n=t(r.from,r.to,r.velocity))||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,l=[],c=!0,s=!1;try{i=(r=r.call(e)).next,!1;for(;!(c=(n=i.call(r)).done)&&(l.push(n.value),l.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(s)throw o}}return l}}(n,2)||el(n,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),i=o[0],a=o[1];return ei(ei({},r),{},{from:i,velocity:a})}return r},r);return n<1?H(function(e,t){return eu(t)?ei(ei({},t),{},{velocity:es(t.velocity,o[e].velocity,n),from:es(t.from,o[e].from,n)}):t},r):e(t,o,n-1)};let ep=function(e,t,r,n,o){var i,a,l=[Object.keys(e),Object.keys(t)].reduce(function(e,t){return e.filter(function(e){return t.includes(e)})}),c=l.reduce(function(r,n){return ei(ei({},r),{},ea({},n,[e[n],t[n]]))},{}),s=l.reduce(function(r,n){return ei(ei({},r),{},ea({},n,{from:e[n],velocity:0,to:t[n]}))},{}),u=-1,f=function(){return null};return f=r.isStepper?function(n){i||(i=n);var a=(n-i)/r.dt;s=ef(r,s,a),o(ei(ei(ei({},e),t),H(function(e,t){return t.from},s))),i=n,Object.values(s).filter(eu).length&&(u=requestAnimationFrame(f))}:function(i){a||(a=i);var l=(i-a)/n,s=H(function(e,t){return es.apply(void 0,en(t).concat([r(l)]))},c);if(o(ei(ei(ei({},e),t),s)),l<1)u=requestAnimationFrame(f);else{var p=H(function(e,t){return es.apply(void 0,en(t).concat([r(1)]))},c);o(ei(ei(ei({},e),t),p))}},function(){return requestAnimationFrame(f),function(){cancelAnimationFrame(u)}}};function ed(e){return(ed="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var eh=["children","begin","duration","attributeName","easing","isActive","steps","from","to","canBegin","onAnimationEnd","shouldReAnimate","onAnimationReStart"];function ey(e){return function(e){if(Array.isArray(e))return em(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return em(e,void 0);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return em(e,t)}}(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function em(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function eg(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function ev(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?eg(Object(r),!0).forEach(function(t){eb(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):eg(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function eb(e,t,r){return(t=ex(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ex(e){var t=function(e,t){if("object"!==ed(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==ed(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===ed(t)?t:String(t)}function ew(e,t){return(ew=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function eO(e,t){if(t&&("object"===ed(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return eA(e)}function eA(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ek(e){return(ek=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var eS=function(e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");i.prototype=Object.create(e&&e.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),e&&ew(i,e);var t,r,o=(t=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(),function(){var e,r=ek(i);return e=t?Reflect.construct(r,arguments,ek(this).constructor):r.apply(this,arguments),eO(this,e)});function i(e,t){if(!(this instanceof i))throw TypeError("Cannot call a class as a function");var r=o.call(this,e,t),n=r.props,a=n.isActive,l=n.attributeName,c=n.from,s=n.to,u=n.steps,f=n.children,p=n.duration;if(r.handleStyleChange=r.handleStyleChange.bind(eA(r)),r.changeStyle=r.changeStyle.bind(eA(r)),!a||p<=0)return r.state={style:{}},"function"==typeof f&&(r.state={style:s}),eO(r);if(u&&u.length)r.state={style:u[0].style};else if(c){if("function"==typeof f)return r.state={style:c},eO(r);r.state={style:l?eb({},l,c):c}}else r.state={style:{}};return r}return r=[{key:"componentDidMount",value:function(){var e=this.props,t=e.isActive,r=e.canBegin;this.mounted=!0,t&&r&&this.runAnimation(this.props)}},{key:"componentDidUpdate",value:function(e){var t=this.props,r=t.isActive,n=t.canBegin,o=t.attributeName,i=t.shouldReAnimate,a=t.to,l=t.from,c=this.state.style;if(n){if(!r){var s={style:o?eb({},o,a):a};this.state&&c&&(o&&c[o]!==a||!o&&c!==a)&&this.setState(s);return}if(!D(e.to,a)||!e.canBegin||!e.isActive){var u=!e.canBegin||!e.isActive;this.manager&&this.manager.stop(),this.stopJSAnimation&&this.stopJSAnimation();var f=u||i?l:e.to;if(this.state&&c){var p={style:o?eb({},o,f):f};(o&&c[o]!==f||!o&&c!==f)&&this.setState(p)}this.runAnimation(ev(ev({},this.props),{},{from:f,begin:0}))}}}},{key:"componentWillUnmount",value:function(){this.mounted=!1;var e=this.props.onAnimationEnd;this.unSubscribe&&this.unSubscribe(),this.manager&&(this.manager.stop(),this.manager=null),this.stopJSAnimation&&this.stopJSAnimation(),e&&e()}},{key:"handleStyleChange",value:function(e){this.changeStyle(e)}},{key:"changeStyle",value:function(e){this.mounted&&this.setState({style:e})}},{key:"runJSAnimation",value:function(e){var t=this,r=e.from,n=e.to,o=e.duration,i=e.easing,a=e.begin,l=e.onAnimationEnd,c=e.onAnimationStart,s=ep(r,n,et(i),o,this.changeStyle);this.manager.start([c,a,function(){t.stopJSAnimation=s()},o,l])}},{key:"runStepAnimation",value:function(e){var t=this,r=e.steps,n=e.begin,o=e.onAnimationStart,i=r[0],a=i.style,l=i.duration;return this.manager.start([o].concat(ey(r.reduce(function(e,n,o){if(0===o)return e;var i=n.duration,a=n.easing,l=void 0===a?"ease":a,c=n.style,s=n.properties,u=n.onAnimationEnd,f=o>0?r[o-1]:n,p=s||Object.keys(c);if("function"==typeof l||"spring"===l)return[].concat(ey(e),[t.runJSAnimation.bind(t,{from:f.style,to:c,duration:i,easing:l}),i]);var d=q(p,i,l),h=ev(ev(ev({},f.style),c),{},{transition:d});return[].concat(ey(e),[h,i,u]).filter(G)},[a,Math.max(void 0===l?0:l,n)])),[e.onAnimationEnd]))}},{key:"runAnimation",value:function(e){this.manager||(this.manager=(t=function(){return null},r=!1,n=function e(n){if(!r){if(Array.isArray(n)){if(!n.length)return;var o=function(e){if(Array.isArray(e))return e}(n)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(n)||function(e,t){if(e){if("string"==typeof e)return B(e,void 0);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return B(e,t)}}(n)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),i=o[0],a=o.slice(1);return"number"==typeof i?void L(e.bind(null,a),i):(e(i),void L(e.bind(null,a)))}"object"===F(n)&&t(n),"function"==typeof n&&n()}},{stop:function(){r=!0},start:function(e){r=!1,n(e)},subscribe:function(e){return t=e,function(){t=function(){return null}}}}));var t,r,n,o=e.begin,i=e.duration,a=e.attributeName,l=e.to,c=e.easing,s=e.onAnimationStart,u=e.onAnimationEnd,f=e.steps,p=e.children,d=this.manager;if(this.unSubscribe=d.subscribe(this.handleStyleChange),"function"==typeof c||"function"==typeof p||"spring"===c)return void this.runJSAnimation(e);if(f.length>1)return void this.runStepAnimation(e);var h=a?eb({},a,l):l,y=q(Object.keys(h),i,c);d.start([s,o,ev(ev({},h),{},{transition:y}),i,u])}},{key:"render",value:function(){var e=this.props,t=e.children,r=(e.begin,e.duration),o=(e.attributeName,e.easing,e.isActive),i=(e.steps,e.from,e.to,e.canBegin,e.onAnimationEnd,e.shouldReAnimate,e.onAnimationReStart,function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,eh)),a=n.Children.count(t),l=this.state.style;if("function"==typeof t)return t(l);if(!o||0===a||r<=0)return t;var c=function(e){var t=e.props,r=t.style,o=t.className;return(0,n.cloneElement)(e,ev(ev({},i),{},{style:ev(ev({},void 0===r?{}:r),l),className:o}))};return 1===a?c(n.Children.only(t)):n.createElement("div",null,n.Children.map(t,function(e){return c(e)}))}}],function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,ex(n.key),n)}}(i.prototype,r),Object.defineProperty(i,"prototype",{writable:!1}),i}(n.PureComponent);eS.displayName="Animate",eS.defaultProps={begin:0,duration:1e3,from:"",to:"",attributeName:"",easing:"ease",isActive:!0,canBegin:!0,steps:[],onAnimationEnd:function(){},onAnimationStart:function(){}},eS.propTypes={from:i().oneOfType([i().object,i().string]),to:i().oneOfType([i().object,i().string]),attributeName:i().string,duration:i().number,begin:i().number,easing:i().oneOfType([i().string,i().func]),steps:i().arrayOf(i().shape({duration:i().number.isRequired,style:i().object.isRequired,easing:i().oneOfType([i().oneOf(["ease","ease-in","ease-out","ease-in-out","linear"]),i().func]),properties:i().arrayOf("string"),onAnimationEnd:i().func})),children:i().oneOfType([i().node,i().func]),isActive:i().bool,canBegin:i().bool,onAnimationEnd:i().func,shouldReAnimate:i().bool,onAnimationStart:i().func,onAnimationReStart:i().func};let eE=eS},2609:e=>{e.exports=function(e){return function(t){return e(t)}}},3148:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(91485).A)("file-text",[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]])},3924:e=>{e.exports=function(){this.__data__=[],this.size=0}},3966:(e,t,r)=>{var n=r(88777);e.exports=function(e){return e==e&&!n(e)}},4438:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(91485).A)("compass",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m16.24 7.76-1.804 5.411a2 2 0 0 1-1.265 1.265L7.76 16.24l1.804-5.411a2 2 0 0 1 1.265-1.265z",key:"9ktpf1"}]])},4595:(e,t,r)=>{var n=r(25847);e.exports=function(e){return n(e)&&e!=+e}},5011:e=>{e.exports=Array.isArray},5261:(e,t,r)=>{"use strict";r.d(t,{g:()=>s});var n=r(16989),o=r(35223),i=r(36404);function a(e){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function c(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?l(Object(r),!0).forEach(function(t){var n,o,i;n=e,o=t,i=r[t],(o=function(e){var t=function(e,t){if("object"!=a(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=a(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==a(t)?t:t+""}(o))in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var s=function(e){var t,r=e.children,a=e.formattedGraphicalItems,l=e.legendWidth,s=e.legendContent,u=(0,i.BU)(r,n.s);if(!u)return null;var f=n.s.defaultProps,p=void 0!==f?c(c({},f),u.props):{};return t=u.props&&u.props.payload?u.props&&u.props.payload:"children"===s?(a||[]).reduce(function(e,t){var r=t.item,n=t.props,o=n.sectors||n.data||[];return e.concat(o.map(function(e){return{type:u.props.iconType||r.props.legendType,value:e.name,color:e.fill,payload:e}}))},[]):(a||[]).map(function(e){var t=e.item,r=t.type.defaultProps,n=void 0!==r?c(c({},r),t.props):{},i=n.dataKey,a=n.name,l=n.legendType;return{inactive:n.hide,dataKey:i,type:p.iconType||l||"square",color:(0,o.Ps)(t),value:a||i,payload:n}}),c(c(c({},p),n.s.getWithHeight(u,l)),{},{payload:t,item:u})}},5262:(e,t,r)=>{var n=r(90665),o=r(37322),i=r(71120);e.exports=function(e){return e&&e.length?n(e,i,o):void 0}},5345:e=>{e.exports=function(){return!1}},5463:(e,t,r)=>{var n=r(25972),o=r(64316),i=r(16357),a=r(15977),l=r(52777);function c(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}c.prototype.clear=n,c.prototype.delete=o,c.prototype.get=i,c.prototype.has=a,c.prototype.set=l,e.exports=c},5696:e=>{e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},6047:(e,t,r)=>{var n=r(41281),o=r(48454);e.exports=function(e,t){return e&&n(e,t,o)}},6224:(e,t,r)=>{var n=r(79251),o=r(83202),i=r(10544);e.exports=function(e){return function(t,r,a){return a&&"number"!=typeof a&&o(t,r,a)&&(r=a=void 0),t=i(t),void 0===r?(r=t,t=0):r=i(r),a=void 0===a?t<r?1:-1:i(a),n(t,r,a,e)}}},6513:e=>{e.exports=function(e){return null==e}},6607:(e,t,r)=>{var n=r(43870),o=r(65014),i=r(65550),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,e.exports=function(e){return i(e)&&o(e.length)&&!!a[n(e)]}},7206:(e,t,r)=>{var n=r(47486);e.exports=function(e){return null==e?"":n(e)}},8291:(e,t,r)=>{var n=r(14482),o=r(51326),i=r(14819),a=r(84220),l=r(62175),c=r(2609),s=r(42402),u=r(71120),f=r(5011);e.exports=function(e,t,r){t=t.length?n(t,function(e){return f(e)?function(t){return o(t,1===e.length?e[0]:e)}:e}):[u];var p=-1;return t=n(t,c(i)),l(a(e,function(e,r,o){return{criteria:n(t,function(t){return t(e)}),index:++p,value:e}}),function(e,t){return s(e,t,r)})}},8898:(e,t,r)=>{var n=r(43870),o=r(88777);e.exports=function(e){if(!o(e))return!1;var t=n(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},8919:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});function n(e,t){if(!e)throw Error("Invariant failed")}},9797:e=>{e.exports=function(e,t){return e>t}},9818:(e,t,r)=>{"use strict";r.d(t,{c:()=>o});var n=r(44213);function o(e){let t=n.useRef(e);return n.useEffect(()=>{t.current=e}),n.useMemo(()=>(...e)=>t.current?.(...e),[])}},10034:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"workAsyncStorageInstance",{enumerable:!0,get:function(){return n}});let n=(0,r(22740).createAsyncLocalStorage)()},10377:(e,t,r)=>{var n=r(17831);e.exports=function(e,t){var r=this.__data__,o=n(r,e);return o<0?(++this.size,r.push([e,t])):r[o][1]=t,this}},10544:(e,t,r)=>{var n=r(25774),o=1/0;e.exports=function(e){return e?(e=n(e))===o||e===-o?(e<0?-1:1)*17976931348623157e292:e==e?e:0:0===e?e:0}},10975:(e,t,r)=>{"use strict";r.d(t,{bm:()=>e9,UC:()=>e8,VY:()=>e6,hJ:()=>e3,ZL:()=>e4,bL:()=>e1,hE:()=>e5,l9:()=>e2});var n,o,i=r(44213),a=r(96943),l=r(86219),c=r(99455),s=r(66234),u=r(49810),f=r(98633),p=r(70636),d=r(9818),h=r(59697),y="focusScope.autoFocusOnMount",m="focusScope.autoFocusOnUnmount",g={bubbles:!1,cancelable:!0},v=i.forwardRef((e,t)=>{let{loop:r=!1,trapped:n=!1,onMountAutoFocus:o,onUnmountAutoFocus:a,...c}=e,[s,u]=i.useState(null),f=(0,d.c)(o),v=(0,d.c)(a),A=i.useRef(null),k=(0,l.s)(t,e=>u(e)),S=i.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;i.useEffect(()=>{if(n){let e=function(e){if(S.paused||!s)return;let t=e.target;s.contains(t)?A.current=t:w(A.current,{select:!0})},t=function(e){if(S.paused||!s)return;let t=e.relatedTarget;null!==t&&(s.contains(t)||w(A.current,{select:!0}))};document.addEventListener("focusin",e),document.addEventListener("focusout",t);let r=new MutationObserver(function(e){if(document.activeElement===document.body)for(let t of e)t.removedNodes.length>0&&w(s)});return s&&r.observe(s,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),r.disconnect()}}},[n,s,S.paused]),i.useEffect(()=>{if(s){O.add(S);let e=document.activeElement;if(!s.contains(e)){let t=new CustomEvent(y,g);s.addEventListener(y,f),s.dispatchEvent(t),t.defaultPrevented||(function(e){let{select:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=document.activeElement;for(let n of e)if(w(n,{select:t}),document.activeElement!==r)return}(b(s).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&w(s))}return()=>{s.removeEventListener(y,f),setTimeout(()=>{let t=new CustomEvent(m,g);s.addEventListener(m,v),s.dispatchEvent(t),t.defaultPrevented||w(null!=e?e:document.body,{select:!0}),s.removeEventListener(m,v),O.remove(S)},0)}}},[s,f,v,S]);let E=i.useCallback(e=>{if(!r&&!n||S.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,o=document.activeElement;if(t&&o){let t=e.currentTarget,[n,i]=function(e){let t=b(e);return[x(t,e),x(t.reverse(),e)]}(t);n&&i?e.shiftKey||o!==i?e.shiftKey&&o===n&&(e.preventDefault(),r&&w(i,{select:!0})):(e.preventDefault(),r&&w(n,{select:!0})):o===t&&e.preventDefault()}},[r,n,S.paused]);return(0,h.jsx)(p.sG.div,{tabIndex:-1,...c,ref:k,onKeyDown:E})});function b(e){let t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t}function x(e,t){for(let r of e)if(!function(e,t){let{upTo:r}=t;if("hidden"===getComputedStyle(e).visibility)return!0;for(;e&&(void 0===r||e!==r);){if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}(r,{upTo:t}))return r}function w(e){let{select:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e&&e.focus){var r;let n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&(r=e)instanceof HTMLInputElement&&"select"in r&&t&&e.select()}}v.displayName="FocusScope";var O=function(){let e=[];return{add(t){let r=e[0];t!==r&&(null==r||r.pause()),(e=A(e,t)).unshift(t)},remove(t){var r;null==(r=(e=A(e,t))[0])||r.resume()}}}();function A(e,t){let r=[...e],n=r.indexOf(t);return -1!==n&&r.splice(n,1),r}var k=r(58537),S=r(71406),E=0;function j(){let e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var P=function(){return(P=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function T(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)0>t.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r}Object.create;Object.create;var _=("function"==typeof SuppressedError&&SuppressedError,"right-scroll-bar-position"),M="width-before-scroll-bar";function C(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var I="undefined"!=typeof window?i.useLayoutEffect:i.useEffect,N=new WeakMap;function D(e){return e}var R=function(e){void 0===e&&(e={});var t,r,n,o=(void 0===t&&(t=D),r=[],n=!1,{read:function(){if(n)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return r.length?r[r.length-1]:null},useMedium:function(e){var o=t(e,n);return r.push(o),function(){r=r.filter(function(e){return e!==o})}},assignSyncMedium:function(e){for(n=!0;r.length;){var t=r;r=[],t.forEach(e)}r={push:function(t){return e(t)},filter:function(){return r}}},assignMedium:function(e){n=!0;var t=[];if(r.length){var o=r;r=[],o.forEach(e),t=r}var i=function(){var r=t;t=[],r.forEach(e)},a=function(){return Promise.resolve().then(i)};a(),r={push:function(e){t.push(e),a()},filter:function(e){return t=t.filter(e),r}}}});return o.options=P({async:!0,ssr:!1},e),o}(),L=function(){},F=i.forwardRef(function(e,t){var r,n,o,a,l=i.useRef(null),c=i.useState({onScrollCapture:L,onWheelCapture:L,onTouchMoveCapture:L}),s=c[0],u=c[1],f=e.forwardProps,p=e.children,d=e.className,h=e.removeScrollBar,y=e.enabled,m=e.shards,g=e.sideCar,v=e.noRelative,b=e.noIsolation,x=e.inert,w=e.allowPinchZoom,O=e.as,A=e.gapMode,k=T(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),S=(r=[l,t],n=function(e){return r.forEach(function(t){return C(t,e)})},(o=(0,i.useState)(function(){return{value:null,callback:n,facade:{get current(){return o.value},set current(value){var e=o.value;e!==value&&(o.value=value,o.callback(value,e))}}}})[0]).callback=n,a=o.facade,I(function(){var e=N.get(a);if(e){var t=new Set(e),n=new Set(r),o=a.current;t.forEach(function(e){n.has(e)||C(e,null)}),n.forEach(function(e){t.has(e)||C(e,o)})}N.set(a,r)},[r]),a),E=P(P({},k),s);return i.createElement(i.Fragment,null,y&&i.createElement(g,{sideCar:R,removeScrollBar:h,shards:m,noRelative:v,noIsolation:b,inert:x,setCallbacks:u,allowPinchZoom:!!w,lockRef:l,gapMode:A}),f?i.cloneElement(i.Children.only(p),P(P({},E),{ref:S})):i.createElement(void 0===O?"div":O,P({},E,{className:d,ref:S}),p))});F.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},F.classNames={fullWidth:M,zeroRight:_};var B=function(e){var t=e.sideCar,r=T(e,["sideCar"]);if(!t)throw Error("Sidecar: please provide `sideCar` property to import the right car");var n=t.read();if(!n)throw Error("Sidecar medium not found");return i.createElement(n,P({},r))};B.isSideCarExport=!0;var z=function(){var e=0,t=null;return{add:function(n){if(0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=o||r.nc;return t&&e.setAttribute("nonce",t),e}())){var i,a;(i=t).styleSheet?i.styleSheet.cssText=n:i.appendChild(document.createTextNode(n)),a=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(a)}e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},$=function(){var e=z();return function(t,r){i.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&r])}},U=function(){var e=$();return function(t){return e(t.styles,t.dynamic),null}},W={left:0,top:0,right:0,gap:0},G=function(e){return parseInt(e||"",10)||0},H=function(e){var t=window.getComputedStyle(document.body),r=t["padding"===e?"paddingLeft":"marginLeft"],n=t["padding"===e?"paddingTop":"marginTop"],o=t["padding"===e?"paddingRight":"marginRight"];return[G(r),G(n),G(o)]},q=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return W;var t=H(e),r=document.documentElement.clientWidth,n=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,n-r+t[2]-t[0])}},V=U(),K="data-scroll-locked",X=function(e,t,r,n){var o=e.left,i=e.top,a=e.right,l=e.gap;return void 0===r&&(r="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(n,";\n padding-right: ").concat(l,"px ").concat(n,";\n }\n body[").concat(K,"] {\n overflow: hidden ").concat(n,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(n,";"),"margin"===r&&"\n padding-left: ".concat(o,"px;\n padding-top: ").concat(i,"px;\n padding-right: ").concat(a,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(l,"px ").concat(n,";\n "),"padding"===r&&"padding-right: ".concat(l,"px ").concat(n,";")].filter(Boolean).join(""),"\n }\n \n .").concat(_," {\n right: ").concat(l,"px ").concat(n,";\n }\n \n .").concat(M," {\n margin-right: ").concat(l,"px ").concat(n,";\n }\n \n .").concat(_," .").concat(_," {\n right: 0 ").concat(n,";\n }\n \n .").concat(M," .").concat(M," {\n margin-right: 0 ").concat(n,";\n }\n \n body[").concat(K,"] {\n ").concat("--removed-body-scroll-bar-size",": ").concat(l,"px;\n }\n")},Z=function(){var e=parseInt(document.body.getAttribute(K)||"0",10);return isFinite(e)?e:0},Y=function(){i.useEffect(function(){return document.body.setAttribute(K,(Z()+1).toString()),function(){var e=Z()-1;e<=0?document.body.removeAttribute(K):document.body.setAttribute(K,e.toString())}},[])},J=function(e){var t=e.noRelative,r=e.noImportant,n=e.gapMode,o=void 0===n?"margin":n;Y();var a=i.useMemo(function(){return q(o)},[o]);return i.createElement(V,{styles:X(a,!t,o,r?"":"!important")})},Q=!1;if("undefined"!=typeof window)try{var ee=Object.defineProperty({},"passive",{get:function(){return Q=!0,!0}});window.addEventListener("test",ee,ee),window.removeEventListener("test",ee,ee)}catch(e){Q=!1}var et=!!Q&&{passive:!1},er=function(e,t){if(!(e instanceof Element))return!1;var r=window.getComputedStyle(e);return"hidden"!==r[t]&&(r.overflowY!==r.overflowX||"TEXTAREA"===e.tagName||"visible"!==r[t])},en=function(e,t){var r=t.ownerDocument,n=t;do{if("undefined"!=typeof ShadowRoot&&n instanceof ShadowRoot&&(n=n.host),eo(e,n)){var o=ei(e,n);if(o[1]>o[2])return!0}n=n.parentNode}while(n&&n!==r.body);return!1},eo=function(e,t){return"v"===e?er(t,"overflowY"):er(t,"overflowX")},ei=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},ea=function(e,t,r,n,o){var i,a=(i=window.getComputedStyle(t).direction,"h"===e&&"rtl"===i?-1:1),l=a*n,c=r.target,s=t.contains(c),u=!1,f=l>0,p=0,d=0;do{if(!c)break;var h=ei(e,c),y=h[0],m=h[1]-h[2]-a*y;(y||m)&&eo(e,c)&&(p+=m,d+=y);var g=c.parentNode;c=g&&g.nodeType===Node.DOCUMENT_FRAGMENT_NODE?g.host:g}while(!s&&c!==document.body||s&&(t.contains(c)||t===c));return f&&(o&&1>Math.abs(p)||!o&&l>p)?u=!0:!f&&(o&&1>Math.abs(d)||!o&&-l>d)&&(u=!0),u},el=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},ec=function(e){return[e.deltaX,e.deltaY]},es=function(e){return e&&"current"in e?e.current:e},eu=0,ef=[];let ep=(n=function(e){var t=i.useRef([]),r=i.useRef([0,0]),n=i.useRef(),o=i.useState(eu++)[0],a=i.useState(U)[0],l=i.useRef(e);i.useEffect(function(){l.current=e},[e]),i.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var t=(function(e,t,r){if(r||2==arguments.length)for(var n,o=0,i=t.length;o<i;o++)!n&&o in t||(n||(n=Array.prototype.slice.call(t,0,o)),n[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))})([e.lockRef.current],(e.shards||[]).map(es),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var c=i.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!l.current.allowPinchZoom;var o,i=el(e),a=r.current,c="deltaX"in e?e.deltaX:a[0]-i[0],s="deltaY"in e?e.deltaY:a[1]-i[1],u=e.target,f=Math.abs(c)>Math.abs(s)?"h":"v";if("touches"in e&&"h"===f&&"range"===u.type)return!1;var p=window.getSelection(),d=p&&p.anchorNode;if(d&&(d===u||d.contains(u)))return!1;var h=en(f,u);if(!h)return!0;if(h?o=f:(o="v"===f?"h":"v",h=en(f,u)),!h)return!1;if(!n.current&&"changedTouches"in e&&(c||s)&&(n.current=o),!o)return!0;var y=n.current||o;return ea(y,t,e,"h"===y?c:s,!0)},[]),s=i.useCallback(function(e){if(ef.length&&ef[ef.length-1]===a){var r="deltaY"in e?ec(e):el(e),n=t.current.filter(function(t){var n;return t.name===e.type&&(t.target===e.target||e.target===t.shadowParent)&&(n=t.delta,n[0]===r[0]&&n[1]===r[1])})[0];if(n&&n.should){e.cancelable&&e.preventDefault();return}if(!n){var o=(l.current.shards||[]).map(es).filter(Boolean).filter(function(t){return t.contains(e.target)});(o.length>0?c(e,o[0]):!l.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),u=i.useCallback(function(e,r,n,o){var i={name:e,delta:r,target:n,should:o,shadowParent:function(e){for(var t=null;null!==e;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}(n)};t.current.push(i),setTimeout(function(){t.current=t.current.filter(function(e){return e!==i})},1)},[]),f=i.useCallback(function(e){r.current=el(e),n.current=void 0},[]),p=i.useCallback(function(t){u(t.type,ec(t),t.target,c(t,e.lockRef.current))},[]),d=i.useCallback(function(t){u(t.type,el(t),t.target,c(t,e.lockRef.current))},[]);i.useEffect(function(){return ef.push(a),e.setCallbacks({onScrollCapture:p,onWheelCapture:p,onTouchMoveCapture:d}),document.addEventListener("wheel",s,et),document.addEventListener("touchmove",s,et),document.addEventListener("touchstart",f,et),function(){ef=ef.filter(function(e){return e!==a}),document.removeEventListener("wheel",s,et),document.removeEventListener("touchmove",s,et),document.removeEventListener("touchstart",f,et)}},[]);var h=e.removeScrollBar,y=e.inert;return i.createElement(i.Fragment,null,y?i.createElement(a,{styles:"\n .block-interactivity-".concat(o," {pointer-events: none;}\n .allow-interactivity-").concat(o," {pointer-events: all;}\n")}):null,h?i.createElement(J,{noRelative:e.noRelative,gapMode:e.gapMode}):null)},R.useMedium(n),B);var ed=i.forwardRef(function(e,t){return i.createElement(F,P({},e,{ref:t,sideCar:ep}))});ed.classNames=F.classNames;var eh=new WeakMap,ey=new WeakMap,em={},eg=0,ev=function(e){return e&&(e.host||ev(e.parentNode))},eb=function(e,t,r,n){var o=(Array.isArray(e)?e:[e]).map(function(e){if(t.contains(e))return e;var r=ev(e);return r&&t.contains(r)?r:(console.error("aria-hidden",e,"in not contained inside",t,". Doing nothing"),null)}).filter(function(e){return!!e});em[r]||(em[r]=new WeakMap);var i=em[r],a=[],l=new Set,c=new Set(o),s=function(e){!e||l.has(e)||(l.add(e),s(e.parentNode))};o.forEach(s);var u=function(e){!e||c.has(e)||Array.prototype.forEach.call(e.children,function(e){if(l.has(e))u(e);else try{var t=e.getAttribute(n),o=null!==t&&"false"!==t,c=(eh.get(e)||0)+1,s=(i.get(e)||0)+1;eh.set(e,c),i.set(e,s),a.push(e),1===c&&o&&ey.set(e,!0),1===s&&e.setAttribute(r,"true"),o||e.setAttribute(n,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return u(t),l.clear(),eg++,function(){a.forEach(function(e){var t=eh.get(e)-1,o=i.get(e)-1;eh.set(e,t),i.set(e,o),t||(ey.has(e)||e.removeAttribute(n),ey.delete(e)),o||e.removeAttribute(r)}),--eg||(eh=new WeakMap,eh=new WeakMap,ey=new WeakMap,em={})}},ex=function(e,t,r){void 0===r&&(r="data-aria-hidden");var n=Array.from(Array.isArray(e)?e:[e]),o=t||("undefined"==typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body);return o?(n.push.apply(n,Array.from(o.querySelectorAll("[aria-live], script"))),eb(n,o,r,"aria-hidden")):function(){return null}},ew=r(24453),eO="Dialog",[eA,ek]=(0,c.A)(eO),[eS,eE]=eA(eO),ej=e=>{let{__scopeDialog:t,children:r,open:n,defaultOpen:o,onOpenChange:a,modal:l=!0}=e,c=i.useRef(null),f=i.useRef(null),[p,d]=(0,u.i)({prop:n,defaultProp:null!=o&&o,onChange:a,caller:eO});return(0,h.jsx)(eS,{scope:t,triggerRef:c,contentRef:f,contentId:(0,s.B)(),titleId:(0,s.B)(),descriptionId:(0,s.B)(),open:p,onOpenChange:d,onOpenToggle:i.useCallback(()=>d(e=>!e),[d]),modal:l,children:r})};ej.displayName=eO;var eP="DialogTrigger",eT=i.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,o=eE(eP,r),i=(0,l.s)(t,o.triggerRef);return(0,h.jsx)(p.sG.button,{type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":eX(o.open),...n,ref:i,onClick:(0,a.mK)(e.onClick,o.onOpenToggle)})});eT.displayName=eP;var e_="DialogPortal",[eM,eC]=eA(e_,{forceMount:void 0}),eI=e=>{let{__scopeDialog:t,forceMount:r,children:n,container:o}=e,a=eE(e_,t);return(0,h.jsx)(eM,{scope:t,forceMount:r,children:i.Children.map(n,e=>(0,h.jsx)(S.C,{present:r||a.open,children:(0,h.jsx)(k.Z,{asChild:!0,container:o,children:e})}))})};eI.displayName=e_;var eN="DialogOverlay",eD=i.forwardRef((e,t)=>{let r=eC(eN,e.__scopeDialog),{forceMount:n=r.forceMount,...o}=e,i=eE(eN,e.__scopeDialog);return i.modal?(0,h.jsx)(S.C,{present:n||i.open,children:(0,h.jsx)(eL,{...o,ref:t})}):null});eD.displayName=eN;var eR=(0,ew.TL)("DialogOverlay.RemoveScroll"),eL=i.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,o=eE(eN,r);return(0,h.jsx)(ed,{as:eR,allowPinchZoom:!0,shards:[o.contentRef],children:(0,h.jsx)(p.sG.div,{"data-state":eX(o.open),...n,ref:t,style:{pointerEvents:"auto",...n.style}})})}),eF="DialogContent",eB=i.forwardRef((e,t)=>{let r=eC(eF,e.__scopeDialog),{forceMount:n=r.forceMount,...o}=e,i=eE(eF,e.__scopeDialog);return(0,h.jsx)(S.C,{present:n||i.open,children:i.modal?(0,h.jsx)(ez,{...o,ref:t}):(0,h.jsx)(e$,{...o,ref:t})})});eB.displayName=eF;var ez=i.forwardRef((e,t)=>{let r=eE(eF,e.__scopeDialog),n=i.useRef(null),o=(0,l.s)(t,r.contentRef,n);return i.useEffect(()=>{let e=n.current;if(e)return ex(e)},[]),(0,h.jsx)(eU,{...e,ref:o,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,a.mK)(e.onCloseAutoFocus,e=>{var t;e.preventDefault(),null==(t=r.triggerRef.current)||t.focus()}),onPointerDownOutside:(0,a.mK)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,r=0===t.button&&!0===t.ctrlKey;(2===t.button||r)&&e.preventDefault()}),onFocusOutside:(0,a.mK)(e.onFocusOutside,e=>e.preventDefault())})}),e$=i.forwardRef((e,t)=>{let r=eE(eF,e.__scopeDialog),n=i.useRef(!1),o=i.useRef(!1);return(0,h.jsx)(eU,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{var i,a;null==(i=e.onCloseAutoFocus)||i.call(e,t),t.defaultPrevented||(n.current||null==(a=r.triggerRef.current)||a.focus(),t.preventDefault()),n.current=!1,o.current=!1},onInteractOutside:t=>{var i,a;null==(i=e.onInteractOutside)||i.call(e,t),t.defaultPrevented||(n.current=!0,"pointerdown"===t.detail.originalEvent.type&&(o.current=!0));let l=t.target;(null==(a=r.triggerRef.current)?void 0:a.contains(l))&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&o.current&&t.preventDefault()}})}),eU=i.forwardRef((e,t)=>{let{__scopeDialog:r,trapFocus:n,onOpenAutoFocus:o,onCloseAutoFocus:a,...c}=e,s=eE(eF,r),u=i.useRef(null),p=(0,l.s)(t,u);return i.useEffect(()=>{var e,t;let r=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",null!=(e=r[0])?e:j()),document.body.insertAdjacentElement("beforeend",null!=(t=r[1])?t:j()),E++,()=>{1===E&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),E--}},[]),(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)(v,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:o,onUnmountAutoFocus:a,children:(0,h.jsx)(f.qW,{role:"dialog",id:s.contentId,"aria-describedby":s.descriptionId,"aria-labelledby":s.titleId,"data-state":eX(s.open),...c,ref:p,onDismiss:()=>s.onOpenChange(!1)})}),(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)(eQ,{titleId:s.titleId}),(0,h.jsx)(e0,{contentRef:u,descriptionId:s.descriptionId})]})]})}),eW="DialogTitle",eG=i.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,o=eE(eW,r);return(0,h.jsx)(p.sG.h2,{id:o.titleId,...n,ref:t})});eG.displayName=eW;var eH="DialogDescription",eq=i.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,o=eE(eH,r);return(0,h.jsx)(p.sG.p,{id:o.descriptionId,...n,ref:t})});eq.displayName=eH;var eV="DialogClose",eK=i.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,o=eE(eV,r);return(0,h.jsx)(p.sG.button,{type:"button",...n,ref:t,onClick:(0,a.mK)(e.onClick,()=>o.onOpenChange(!1))})});function eX(e){return e?"open":"closed"}eK.displayName=eV;var eZ="DialogTitleWarning",[eY,eJ]=(0,c.q)(eZ,{contentName:eF,titleName:eW,docsSlug:"dialog"}),eQ=e=>{let{titleId:t}=e,r=eJ(eZ),n="`".concat(r.contentName,"` requires a `").concat(r.titleName,"` for the component to be accessible for screen reader users.\n\nIf you want to hide the `").concat(r.titleName,"`, you can wrap it with our VisuallyHidden component.\n\nFor more information, see https://radix-ui.com/primitives/docs/components/").concat(r.docsSlug);return i.useEffect(()=>{t&&(document.getElementById(t)||console.error(n))},[n,t]),null},e0=e=>{let{contentRef:t,descriptionId:r}=e,n=eJ("DialogDescriptionWarning"),o="Warning: Missing `Description` or `aria-describedby={undefined}` for {".concat(n.contentName,"}.");return i.useEffect(()=>{var e;let n=null==(e=t.current)?void 0:e.getAttribute("aria-describedby");r&&n&&(document.getElementById(r)||console.warn(o))},[o,t,r]),null},e1=ej,e2=eT,e4=eI,e3=eD,e8=eB,e5=eG,e6=eq,e9=eK},11220:(e,t,r)=>{"use strict";r.d(t,{c:()=>c});var n=r(44213),o=r(73138),i=r(285),a=r(36404);function l(){return(l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var c=function(e){var t=e.cx,r=e.cy,c=e.r,s=e.className,u=(0,o.A)("recharts-dot",s);return t===+t&&r===+r&&c===+c?n.createElement("circle",l({},(0,a.J9)(e,!1),(0,i._U)(e),{className:u,cx:t,cy:r,r:c})):null}},11435:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(91485).A)("target",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"6",key:"1vlfrh"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]])},12376:(e,t,r)=>{var n=r(68448),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g;e.exports=n(function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(o,function(e,r,n,o){t.push(n?o.replace(i,"$1"):r||e)}),t})},12379:(e,t,r)=>{var n=r(25591),o=r(27943),i=r(41831);e.exports=function(e,t){var r=this.__data__;if(r instanceof n){var a=r.__data__;if(!o||a.length<199)return a.push([e,t]),this.size=++r.size,this;r=this.__data__=new i(a)}return r.set(e,t),this.size=r.size,this}},12885:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(91485).A)("triangle-alert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]])},13427:e=>{e.exports=function(e){var t=-1,r=Array(e.size);return e.forEach(function(e,n){r[++t]=[n,e]}),r}},14118:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(91485).A)("package",[["path",{d:"M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73z",key:"1a0edw"}],["path",{d:"M12 22V12",key:"d0xqtd"}],["polyline",{points:"3.29 7 12 12 20.71 7",key:"ousv84"}],["path",{d:"m7.5 4.27 9 5.15",key:"1c824w"}]])},14482:e=>{e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length,o=Array(n);++r<n;)o[r]=t(e[r],r,e);return o}},14819:(e,t,r)=>{var n=r(94827),o=r(96802),i=r(71120),a=r(5011),l=r(17471);e.exports=function(e){return"function"==typeof e?e:null==e?i:"object"==typeof e?a(e)?o(e[0],e[1]):n(e):l(e)}},15974:(e,t,r)=>{var n=r(59228),o=r(6047),i=r(14819);e.exports=function(e,t){var r={};return t=i(t,3),o(e,function(e,o,i){n(r,o,t(e,o,i))}),r}},15977:(e,t,r)=>{var n=r(32204),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return n?void 0!==t[e]:o.call(t,e)}},16357:(e,t,r)=>{var n=r(32204),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(n){var r=t[e];return"__lodash_hash_undefined__"===r?void 0:r}return o.call(t,e)?t[e]:void 0}},16501:(e,t,r)=>{var n=r(50393);e.exports=function(e){return n(this,e).get(e)}},16910:(e,t,r)=>{var n=r(43870),o=r(65550);e.exports=function(e){return"symbol"==typeof e||o(e)&&"[object Symbol]"==n(e)}},16919:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(91485).A)("bot",[["path",{d:"M12 8V4H8",key:"hb8ula"}],["rect",{width:"16",height:"12",x:"4",y:"8",rx:"2",key:"enze0r"}],["path",{d:"M2 14h2",key:"vft8re"}],["path",{d:"M20 14h2",key:"4cs60a"}],["path",{d:"M15 13v2",key:"1xurst"}],["path",{d:"M9 13v2",key:"rq6x2g"}]])},16989:(e,t,r)=>{"use strict";r.d(t,{s:()=>I});var n=r(44213),o=r(8898),i=r.n(o),a=r(73138),l=r(76307),c=r(37734),s=r(26652),u=r(285);function f(e){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function p(){return(p=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function d(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function h(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(h=function(){return!!e})()}function y(e){return(y=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function m(e,t){return(m=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function g(e,t,r){return(t=v(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function v(e){var t=function(e,t){if("object"!=f(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=f(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==f(t)?t:t+""}var b=function(e){var t;function r(){var e,t;if(!(this instanceof r))throw TypeError("Cannot call a class as a function");return e=r,t=arguments,e=y(e),function(e,t){if(t&&("object"===f(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");var r=e;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,h()?Reflect.construct(e,t||[],y(this).constructor):e.apply(this,t))}if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");return r.prototype=Object.create(e&&e.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),e&&m(r,e),t=[{key:"renderIcon",value:function(e){var t=this.props.inactiveColor,r=32/6,o=32/3,i=e.inactive?t:e.color;if("plainline"===e.type)return n.createElement("line",{strokeWidth:4,fill:"none",stroke:i,strokeDasharray:e.payload.strokeDasharray,x1:0,y1:16,x2:32,y2:16,className:"recharts-legend-icon"});if("line"===e.type)return n.createElement("path",{strokeWidth:4,fill:"none",stroke:i,d:"M0,".concat(16,"h").concat(o,"\n A").concat(r,",").concat(r,",0,1,1,").concat(2*o,",").concat(16,"\n H").concat(32,"M").concat(2*o,",").concat(16,"\n A").concat(r,",").concat(r,",0,1,1,").concat(o,",").concat(16),className:"recharts-legend-icon"});if("rect"===e.type)return n.createElement("path",{stroke:"none",fill:i,d:"M0,".concat(4,"h").concat(32,"v").concat(24,"h").concat(-32,"z"),className:"recharts-legend-icon"});if(n.isValidElement(e.legendIcon)){var a=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?d(Object(r),!0).forEach(function(t){g(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):d(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({},e);return delete a.legendIcon,n.cloneElement(e.legendIcon,a)}return n.createElement(s.i,{fill:i,cx:16,cy:16,size:32,sizeType:"diameter",type:e.type})}},{key:"renderItems",value:function(){var e=this,t=this.props,r=t.payload,o=t.iconSize,s=t.layout,f=t.formatter,d=t.inactiveColor,h={x:0,y:0,width:32,height:32},y={display:"horizontal"===s?"inline-block":"block",marginRight:10},m={display:"inline-block",verticalAlign:"middle",marginRight:4};return r.map(function(t,r){var s=t.formatter||f,v=(0,a.A)(g(g({"recharts-legend-item":!0},"legend-item-".concat(r),!0),"inactive",t.inactive));if("none"===t.type)return null;var b=i()(t.value)?null:t.value;(0,l.R)(!i()(t.value),'The name property is also required when using a function for the dataKey of a chart\'s cartesian components. Ex: <Bar name="Name of my Data"/>');var x=t.inactive?d:t.color;return n.createElement("li",p({className:v,style:y,key:"legend-item-".concat(r)},(0,u.XC)(e.props,t,r)),n.createElement(c.u,{width:o,height:o,viewBox:h,style:m},e.renderIcon(t)),n.createElement("span",{className:"recharts-legend-item-text",style:{color:x}},s?s(b,t,r):b))})}},{key:"render",value:function(){var e=this.props,t=e.payload,r=e.layout,o=e.align;return t&&t.length?n.createElement("ul",{className:"recharts-default-legend",style:{padding:0,margin:0,textAlign:"horizontal"===r?o:"left"}},this.renderItems()):null}}],function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,v(n.key),n)}}(r.prototype,t),Object.defineProperty(r,"prototype",{writable:!1}),r}(n.PureComponent);g(b,"displayName","Legend"),g(b,"defaultProps",{iconSize:14,layout:"horizontal",align:"center",verticalAlign:"middle",inactiveColor:"#ccc"});var x=r(20681),w=r(66702);function O(e){return(O="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var A=["ref"];function k(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function S(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?k(Object(r),!0).forEach(function(t){_(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):k(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function E(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,M(n.key),n)}}function j(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(j=function(){return!!e})()}function P(e){return(P=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function T(e,t){return(T=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function _(e,t,r){return(t=M(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function M(e){var t=function(e,t){if("object"!=O(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=O(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==O(t)?t:t+""}function C(e){return e.value}var I=function(e){var t,r;function o(){var e,t,r;if(!(this instanceof o))throw TypeError("Cannot call a class as a function");for(var n=arguments.length,i=Array(n),a=0;a<n;a++)i[a]=arguments[a];return t=o,r=[].concat(i),t=P(t),_(e=function(e,t){if(t&&("object"===O(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");var r=e;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,j()?Reflect.construct(t,r||[],P(this).constructor):t.apply(this,r)),"lastBoundingBox",{width:-1,height:-1}),e}if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");return o.prototype=Object.create(e&&e.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),e&&T(o,e),t=[{key:"componentDidMount",value:function(){this.updateBBox()}},{key:"componentDidUpdate",value:function(){this.updateBBox()}},{key:"getBBox",value:function(){if(this.wrapperNode&&this.wrapperNode.getBoundingClientRect){var e=this.wrapperNode.getBoundingClientRect();return e.height=this.wrapperNode.offsetHeight,e.width=this.wrapperNode.offsetWidth,e}return null}},{key:"updateBBox",value:function(){var e=this.props.onBBoxUpdate,t=this.getBBox();t?(Math.abs(t.width-this.lastBoundingBox.width)>1||Math.abs(t.height-this.lastBoundingBox.height)>1)&&(this.lastBoundingBox.width=t.width,this.lastBoundingBox.height=t.height,e&&e(t)):(-1!==this.lastBoundingBox.width||-1!==this.lastBoundingBox.height)&&(this.lastBoundingBox.width=-1,this.lastBoundingBox.height=-1,e&&e(null))}},{key:"getBBoxSnapshot",value:function(){return this.lastBoundingBox.width>=0&&this.lastBoundingBox.height>=0?S({},this.lastBoundingBox):{width:0,height:0}}},{key:"getDefaultPosition",value:function(e){var t,r,n=this.props,o=n.layout,i=n.align,a=n.verticalAlign,l=n.margin,c=n.chartWidth,s=n.chartHeight;return e&&(void 0!==e.left&&null!==e.left||void 0!==e.right&&null!==e.right)||(t="center"===i&&"vertical"===o?{left:((c||0)-this.getBBoxSnapshot().width)/2}:"right"===i?{right:l&&l.right||0}:{left:l&&l.left||0}),e&&(void 0!==e.top&&null!==e.top||void 0!==e.bottom&&null!==e.bottom)||(r="middle"===a?{top:((s||0)-this.getBBoxSnapshot().height)/2}:"bottom"===a?{bottom:l&&l.bottom||0}:{top:l&&l.top||0}),S(S({},t),r)}},{key:"render",value:function(){var e=this,t=this.props,r=t.content,o=t.width,i=t.height,a=t.wrapperStyle,l=t.payloadUniqBy,c=t.payload,s=S(S({position:"absolute",width:o||"auto",height:i||"auto"},this.getDefaultPosition(a)),a);return n.createElement("div",{className:"recharts-legend-wrapper",style:s,ref:function(t){e.wrapperNode=t}},function(e,t){if(n.isValidElement(e))return n.cloneElement(e,t);if("function"==typeof e)return n.createElement(e,t);t.ref;var r=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(t,A);return n.createElement(b,r)}(r,S(S({},this.props),{},{payload:(0,w.s)(c,l,C)})))}}],r=[{key:"getWithHeight",value:function(e,t){var r=S(S({},this.defaultProps),e.props).layout;return"vertical"===r&&(0,x.Et)(e.props.height)?{height:e.props.height}:"horizontal"===r?{width:e.props.width||t}:null}}],t&&E(o.prototype,t),r&&E(o,r),Object.defineProperty(o,"prototype",{writable:!1}),o}(n.PureComponent);_(I,"displayName","Legend"),_(I,"defaultProps",{iconSize:14,layout:"horizontal",align:"center",verticalAlign:"bottom"})},17317:(e,t,r)=>{"use strict";r.d(t,{Q:()=>c});var n=r(73748),o=r(69813),i=r(82121),a=r(64030),l=r(34767),c=(0,n.gu)({chartName:"AreaChart",GraphicalChild:o.G,axisComponents:[{axisType:"xAxis",AxisComp:i.W},{axisType:"yAxis",AxisComp:a.h}],formatAxisMap:l.pr})},17471:(e,t,r)=>{var n=r(27719),o=r(27629),i=r(39758),a=r(45221);e.exports=function(e){return i(e)?n(a(e)):o(e)}},17831:(e,t,r)=>{var n=r(80568);e.exports=function(e,t){for(var r=e.length;r--;)if(n(e[r][0],t))return r;return -1}},17939:(e,t,r)=>{"use strict";r.d(t,{h:()=>m});var n=r(44213),o=r(73138),i=r(36404),a=r(68473),l=r(20681);function c(e){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function f(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?u(Object(r),!0).forEach(function(t){var n,o,i;n=e,o=t,i=r[t],(o=function(e){var t=function(e,t){if("object"!=c(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=c(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==c(t)?t:t+""}(o))in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):u(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var p=function(e){var t=e.cx,r=e.cy,n=e.radius,o=e.angle,i=e.sign,l=e.isExternal,c=e.cornerRadius,s=e.cornerIsExternal,u=c*(l?1:-1)+n,f=Math.asin(c/u)/a.Kg,p=s?o:o+i*f;return{center:(0,a.IZ)(t,r,u,p),circleTangency:(0,a.IZ)(t,r,n,p),lineTangency:(0,a.IZ)(t,r,u*Math.cos(f*a.Kg),s?o-i*f:o),theta:f}},d=function(e){var t=e.cx,r=e.cy,n=e.innerRadius,o=e.outerRadius,i=e.startAngle,c=e.endAngle,s=(0,l.sA)(c-i)*Math.min(Math.abs(c-i),359.999),u=i+s,f=(0,a.IZ)(t,r,o,i),p=(0,a.IZ)(t,r,o,u),d="M ".concat(f.x,",").concat(f.y,"\n A ").concat(o,",").concat(o,",0,\n ").concat(+(Math.abs(s)>180),",").concat(+(i>u),",\n ").concat(p.x,",").concat(p.y,"\n ");if(n>0){var h=(0,a.IZ)(t,r,n,i),y=(0,a.IZ)(t,r,n,u);d+="L ".concat(y.x,",").concat(y.y,"\n A ").concat(n,",").concat(n,",0,\n ").concat(+(Math.abs(s)>180),",").concat(+(i<=u),",\n ").concat(h.x,",").concat(h.y," Z")}else d+="L ".concat(t,",").concat(r," Z");return d},h=function(e){var t=e.cx,r=e.cy,n=e.innerRadius,o=e.outerRadius,i=e.cornerRadius,a=e.forceCornerRadius,c=e.cornerIsExternal,s=e.startAngle,u=e.endAngle,f=(0,l.sA)(u-s),h=p({cx:t,cy:r,radius:o,angle:s,sign:f,cornerRadius:i,cornerIsExternal:c}),y=h.circleTangency,m=h.lineTangency,g=h.theta,v=p({cx:t,cy:r,radius:o,angle:u,sign:-f,cornerRadius:i,cornerIsExternal:c}),b=v.circleTangency,x=v.lineTangency,w=v.theta,O=c?Math.abs(s-u):Math.abs(s-u)-g-w;if(O<0)return a?"M ".concat(m.x,",").concat(m.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 "):d({cx:t,cy:r,innerRadius:n,outerRadius:o,startAngle:s,endAngle:u});var A="M ".concat(m.x,",").concat(m.y,"\n A").concat(i,",").concat(i,",0,0,").concat(+(f<0),",").concat(y.x,",").concat(y.y,"\n A").concat(o,",").concat(o,",0,").concat(+(O>180),",").concat(+(f<0),",").concat(b.x,",").concat(b.y,"\n A").concat(i,",").concat(i,",0,0,").concat(+(f<0),",").concat(x.x,",").concat(x.y,"\n ");if(n>0){var k=p({cx:t,cy:r,radius:n,angle:s,sign:f,isExternal:!0,cornerRadius:i,cornerIsExternal:c}),S=k.circleTangency,E=k.lineTangency,j=k.theta,P=p({cx:t,cy:r,radius:n,angle:u,sign:-f,isExternal:!0,cornerRadius:i,cornerIsExternal:c}),T=P.circleTangency,_=P.lineTangency,M=P.theta,C=c?Math.abs(s-u):Math.abs(s-u)-j-M;if(C<0&&0===i)return"".concat(A,"L").concat(t,",").concat(r,"Z");A+="L".concat(_.x,",").concat(_.y,"\n A").concat(i,",").concat(i,",0,0,").concat(+(f<0),",").concat(T.x,",").concat(T.y,"\n A").concat(n,",").concat(n,",0,").concat(+(C>180),",").concat(+(f>0),",").concat(S.x,",").concat(S.y,"\n A").concat(i,",").concat(i,",0,0,").concat(+(f<0),",").concat(E.x,",").concat(E.y,"Z")}else A+="L".concat(t,",").concat(r,"Z");return A},y={cx:0,cy:0,innerRadius:0,outerRadius:0,startAngle:0,endAngle:0,cornerRadius:0,forceCornerRadius:!1,cornerIsExternal:!1},m=function(e){var t,r=f(f({},y),e),a=r.cx,c=r.cy,u=r.innerRadius,p=r.outerRadius,m=r.cornerRadius,g=r.forceCornerRadius,v=r.cornerIsExternal,b=r.startAngle,x=r.endAngle,w=r.className;if(p<u||b===x)return null;var O=(0,o.A)("recharts-sector",w),A=p-u,k=(0,l.F4)(m,A,0,!0);return t=k>0&&360>Math.abs(b-x)?h({cx:a,cy:c,innerRadius:u,outerRadius:p,cornerRadius:Math.min(k,A/2),forceCornerRadius:g,cornerIsExternal:v,startAngle:b,endAngle:x}):d({cx:a,cy:c,innerRadius:u,outerRadius:p,startAngle:b,endAngle:x}),n.createElement("path",s({},(0,i.J9)(r,!0),{className:O,d:t,role:"img"}))}},18064:(e,t,r)=>{"use strict";function n(e,t){for(var r in e)if(({}).hasOwnProperty.call(e,r)&&(!({}).hasOwnProperty.call(t,r)||e[r]!==t[r]))return!1;for(var n in t)if(({}).hasOwnProperty.call(t,n)&&!({}).hasOwnProperty.call(e,n))return!1;return!0}r.d(t,{b:()=>n})},18301:(e,t,r)=>{e.exports=r(80771)(Object.getPrototypeOf,Object)},18522:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(91485).A)("refresh-cw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]])},18797:(e,t,r)=>{"use strict";r.d(t,{f4:()=>q});var n=r(44213),o=r(73138),i=Object.create,a=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyDescriptors,u=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,p=Object.getPrototypeOf,d=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,y=(e,t,r)=>t in e?a(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,m=(e,t)=>{for(var r in t||(t={}))d.call(t,r)&&y(e,r,t[r]);if(f)for(var r of f(t))h.call(t,r)&&y(e,r,t[r]);return e},g=(e,t)=>l(e,s(t)),v=(e,t)=>{var r={};for(var n in e)d.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&f)for(var n of f(e))0>t.indexOf(n)&&h.call(e,n)&&(r[n]=e[n]);return r},b=((e,t,r)=>(r=null!=e?i(p(e)):{},((e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let o of u(t))d.call(e,o)||o===r||a(e,o,{get:()=>t[o],enumerable:!(n=c(t,o))||n.enumerable});return e})(!t&&e&&e.__esModule?r:a(r,"default",{value:e,enumerable:!0}),e)))(((e,t)=>function(){return t||(0,e[u(e)[0]])((t={exports:{}}).exports,t),t.exports})({"../../node_modules/.pnpm/prismjs@1.29.0_patch_hash=vrxx3pzkik6jpmgpayxfjunetu/node_modules/prismjs/prism.js"(e,t){var r=function(){var e=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,t=0,r={},n={util:{encode:function e(t){return t instanceof o?new o(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/\u00a0/g," ")},type:function(e){return Object.prototype.toString.call(e).slice(8,-1)},objId:function(e){return e.__id||Object.defineProperty(e,"__id",{value:++t}),e.__id},clone:function e(t,r){var o,i;switch(r=r||{},n.util.type(t)){case"Object":if(r[i=n.util.objId(t)])return r[i];for(var a in o={},r[i]=o,t)t.hasOwnProperty(a)&&(o[a]=e(t[a],r));return o;case"Array":if(r[i=n.util.objId(t)])return r[i];return o=[],r[i]=o,t.forEach(function(t,n){o[n]=e(t,r)}),o;default:return t}},getLanguage:function(t){for(;t;){var r=e.exec(t.className);if(r)return r[1].toLowerCase();t=t.parentElement}return"none"},setLanguage:function(t,r){t.className=t.className.replace(RegExp(e,"gi"),""),t.classList.add("language-"+r)},isActive:function(e,t,r){for(var n="no-"+t;e;){var o=e.classList;if(o.contains(t))return!0;if(o.contains(n))return!1;e=e.parentElement}return!!r}},languages:{plain:r,plaintext:r,text:r,txt:r,extend:function(e,t){var r=n.util.clone(n.languages[e]);for(var o in t)r[o]=t[o];return r},insertBefore:function(e,t,r,o){var i=(o=o||n.languages)[e],a={};for(var l in i)if(i.hasOwnProperty(l)){if(l==t)for(var c in r)r.hasOwnProperty(c)&&(a[c]=r[c]);r.hasOwnProperty(l)||(a[l]=i[l])}var s=o[e];return o[e]=a,n.languages.DFS(n.languages,function(t,r){r===s&&t!=e&&(this[t]=a)}),a},DFS:function e(t,r,o,i){i=i||{};var a=n.util.objId;for(var l in t)if(t.hasOwnProperty(l)){r.call(t,l,t[l],o||l);var c=t[l],s=n.util.type(c);"Object"!==s||i[a(c)]?"Array"!==s||i[a(c)]||(i[a(c)]=!0,e(c,r,l,i)):(i[a(c)]=!0,e(c,r,null,i))}}},plugins:{},highlight:function(e,t,r){var i={code:e,grammar:t,language:r};if(n.hooks.run("before-tokenize",i),!i.grammar)throw Error('The language "'+i.language+'" has no grammar.');return i.tokens=n.tokenize(i.code,i.grammar),n.hooks.run("after-tokenize",i),o.stringify(n.util.encode(i.tokens),i.language)},tokenize:function(e,t){var r=t.rest;if(r){for(var c in r)t[c]=r[c];delete t.rest}var s=new a;return l(s,s.head,e),function e(t,r,a,c,s,u){for(var f in a)if(a.hasOwnProperty(f)&&a[f]){var p=a[f];p=Array.isArray(p)?p:[p];for(var d=0;d<p.length;++d){if(u&&u.cause==f+","+d)return;var h=p[d],y=h.inside,m=!!h.lookbehind,g=!!h.greedy,v=h.alias;if(g&&!h.pattern.global){var b=h.pattern.toString().match(/[imsuy]*$/)[0];h.pattern=RegExp(h.pattern.source,b+"g")}for(var x=h.pattern||h,w=c.next,O=s;w!==r.tail&&(!u||!(O>=u.reach));O+=w.value.length,w=w.next){var A,k=w.value;if(r.length>t.length)return;if(!(k instanceof o)){var S=1;if(g){if(!(A=i(x,O,t,m))||A.index>=t.length)break;var E=A.index,j=A.index+A[0].length,P=O;for(P+=w.value.length;E>=P;)P+=(w=w.next).value.length;if(P-=w.value.length,O=P,w.value instanceof o)continue;for(var T=w;T!==r.tail&&(P<j||"string"==typeof T.value);T=T.next)S++,P+=T.value.length;S--,k=t.slice(O,P),A.index-=O}else if(!(A=i(x,0,k,m)))continue;var E=A.index,_=A[0],M=k.slice(0,E),C=k.slice(E+_.length),I=O+k.length;u&&I>u.reach&&(u.reach=I);var N=w.prev;if(M&&(N=l(r,N,M),O+=M.length),function(e,t,r){for(var n=t.next,o=0;o<r&&n!==e.tail;o++)n=n.next;t.next=n,n.prev=t,e.length-=o}(r,N,S),w=l(r,N,new o(f,y?n.tokenize(_,y):_,v,_)),C&&l(r,w,C),S>1){var D={cause:f+","+d,reach:I};e(t,r,a,w.prev,O,D),u&&D.reach>u.reach&&(u.reach=D.reach)}}}}}}(e,s,t,s.head,0),function(e){for(var t=[],r=e.head.next;r!==e.tail;)t.push(r.value),r=r.next;return t}(s)},hooks:{all:{},add:function(e,t){var r=n.hooks.all;r[e]=r[e]||[],r[e].push(t)},run:function(e,t){var r=n.hooks.all[e];if(r&&r.length)for(var o,i=0;o=r[i++];)o(t)}},Token:o};function o(e,t,r,n){this.type=e,this.content=t,this.alias=r,this.length=0|(n||"").length}function i(e,t,r,n){e.lastIndex=t;var o=e.exec(r);if(o&&n&&o[1]){var i=o[1].length;o.index+=i,o[0]=o[0].slice(i)}return o}function a(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function l(e,t,r){var n=t.next,o={value:r,prev:t,next:n};return t.next=o,n.prev=o,e.length++,o}return o.stringify=function e(t,r){if("string"==typeof t)return t;if(Array.isArray(t)){var o="";return t.forEach(function(t){o+=e(t,r)}),o}var i={type:t.type,content:e(t.content,r),tag:"span",classes:["token",t.type],attributes:{},language:r},a=t.alias;a&&(Array.isArray(a)?Array.prototype.push.apply(i.classes,a):i.classes.push(a)),n.hooks.run("wrap",i);var l="";for(var c in i.attributes)l+=" "+c+'="'+(i.attributes[c]||"").replace(/"/g,"&quot;")+'"';return"<"+i.tag+' class="'+i.classes.join(" ")+'"'+l+">"+i.content+"</"+i.tag+">"},n}();t.exports=r,r.default=r}})());b.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},b.languages.markup.tag.inside["attr-value"].inside.entity=b.languages.markup.entity,b.languages.markup.doctype.inside["internal-subset"].inside=b.languages.markup,b.hooks.add("wrap",function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&amp;/,"&"))}),Object.defineProperty(b.languages.markup.tag,"addInlined",{value:function(e,t){var r={},r=(r["language-"+t]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:b.languages[t]},r.cdata=/^<!\[CDATA\[|\]\]>$/i,{"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:r}}),t=(r["language-"+t]={pattern:/[\s\S]+/,inside:b.languages[t]},{});t[e]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return e}),"i"),lookbehind:!0,greedy:!0,inside:r},b.languages.insertBefore("markup","cdata",t)}}),Object.defineProperty(b.languages.markup.tag,"addAttribute",{value:function(e,t){b.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[t,"language-"+t],inside:b.languages[t]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),b.languages.html=b.languages.markup,b.languages.mathml=b.languages.markup,b.languages.svg=b.languages.markup,b.languages.xml=b.languages.extend("markup",{}),b.languages.ssml=b.languages.xml,b.languages.atom=b.languages.xml,b.languages.rss=b.languages.xml,function(e){var t={pattern:/\\[\\(){}[\]^$+*?|.]/,alias:"escape"},r=/\\(?:x[\da-fA-F]{2}|u[\da-fA-F]{4}|u\{[\da-fA-F]+\}|0[0-7]{0,2}|[123][0-7]{2}|c[a-zA-Z]|.)/,n="(?:[^\\\\-]|"+r.source+")",n=RegExp(n+"-"+n),o={pattern:/(<|')[^<>']+(?=[>']$)/,lookbehind:!0,alias:"variable"};e.languages.regex={"char-class":{pattern:/((?:^|[^\\])(?:\\\\)*)\[(?:[^\\\]]|\\[\s\S])*\]/,lookbehind:!0,inside:{"char-class-negation":{pattern:/(^\[)\^/,lookbehind:!0,alias:"operator"},"char-class-punctuation":{pattern:/^\[|\]$/,alias:"punctuation"},range:{pattern:n,inside:{escape:r,"range-punctuation":{pattern:/-/,alias:"operator"}}},"special-escape":t,"char-set":{pattern:/\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},escape:r}},"special-escape":t,"char-set":{pattern:/\.|\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},backreference:[{pattern:/\\(?![123][0-7]{2})[1-9]/,alias:"keyword"},{pattern:/\\k<[^<>']+>/,alias:"keyword",inside:{"group-name":o}}],anchor:{pattern:/[$^]|\\[ABbGZz]/,alias:"function"},escape:r,group:[{pattern:/\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]|<?[=!]|[idmnsuxU]+(?:-[idmnsuxU]+)?:?))?/,alias:"punctuation",inside:{"group-name":o}},{pattern:/\)/,alias:"punctuation"}],quantifier:{pattern:/(?:[+*?]|\{\d+(?:,\d*)?\})[?+]?/,alias:"number"},alternation:{pattern:/\|/,alias:"keyword"}}}(b),b.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},b.languages.javascript=b.languages.extend("clike",{"class-name":[b.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),b.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,b.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:b.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:b.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:b.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:b.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:b.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),b.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:b.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),b.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),b.languages.markup&&(b.languages.markup.tag.addInlined("script","javascript"),b.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),b.languages.js=b.languages.javascript,b.languages.actionscript=b.languages.extend("javascript",{keyword:/\b(?:as|break|case|catch|class|const|default|delete|do|dynamic|each|else|extends|final|finally|for|function|get|if|implements|import|in|include|instanceof|interface|internal|is|namespace|native|new|null|override|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|use|var|void|while|with)\b/,operator:/\+\+|--|(?:[+\-*\/%^]|&&?|\|\|?|<<?|>>?>?|[!=]=?)=?|[~?@]/}),b.languages.actionscript["class-name"].alias="function",delete b.languages.actionscript.parameter,delete b.languages.actionscript["literal-property"],b.languages.markup&&b.languages.insertBefore("actionscript","string",{xml:{pattern:/(^|[^.])<\/?\w+(?:\s+[^\s>\/=]+=("|')(?:\\[\s\S]|(?!\2)[^\\])*\2)*\s*\/?>/,lookbehind:!0,inside:b.languages.markup}}),function(e){var t=/#(?!\{).+/,r={pattern:/#\{[^}]+\}/,alias:"variable"};e.languages.coffeescript=e.languages.extend("javascript",{comment:t,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:r}}],keyword:/\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,"class-member":{pattern:/@(?!\d)\w+/,alias:"variable"}}),e.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:t,interpolation:r}}}),e.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:e.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:r}}]}),e.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete e.languages.coffeescript["template-string"],e.languages.coffee=e.languages.coffeescript}(b),function(e){var t=e.languages.javadoclike={parameter:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*@(?:arg|arguments|param)\s+)\w+/m,lookbehind:!0},keyword:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*|\{)@[a-z][a-zA-Z-]+\b/m,lookbehind:!0},punctuation:/[{}]/};Object.defineProperty(t,"addSupport",{value:function(t,r){(t="string"==typeof t?[t]:t).forEach(function(t){var n=function(e){e.inside||(e.inside={}),e.inside.rest=r},o="doc-comment";if(i=e.languages[t]){var i,a=i[o];if((a=a||(i=e.languages.insertBefore(t,"comment",{"doc-comment":{pattern:/(^|[^\\])\/\*\*[^/][\s\S]*?(?:\*\/|$)/,lookbehind:!0,alias:"comment"}}))[o])instanceof RegExp&&(a=i[o]={pattern:a}),Array.isArray(a))for(var l=0,c=a.length;l<c;l++)a[l]instanceof RegExp&&(a[l]={pattern:a[l]}),n(a[l]);else n(a)}})}}),t.addSupport(["java","javascript","php"],t)}(b),function(e){var t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/,t=(e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+t.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+t.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:t,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css,e.languages.markup);t&&(t.tag.addInlined("style","css"),t.tag.addAttribute("style","css"))}(b),function(e){var t=/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,t=(e.languages.css.selector={pattern:e.languages.css.selector.pattern,lookbehind:!0,inside:t={"pseudo-element":/:(?:after|before|first-letter|first-line|selection)|::[-\w]+/,"pseudo-class":/:[-\w]+/,class:/\.[-\w]+/,id:/#[-\w]+/,attribute:{pattern:RegExp("\\[(?:[^[\\]\"']|"+t.source+")*\\]"),greedy:!0,inside:{punctuation:/^\[|\]$/,"case-sensitivity":{pattern:/(\s)[si]$/i,lookbehind:!0,alias:"keyword"},namespace:{pattern:/^(\s*)(?:(?!\s)[-*\w\xA0-\uFFFF])*\|(?!=)/,lookbehind:!0,inside:{punctuation:/\|$/}},"attr-name":{pattern:/^(\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+/,lookbehind:!0},"attr-value":[t,{pattern:/(=\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+(?=\s*$)/,lookbehind:!0}],operator:/[|~*^$]?=/}},"n-th":[{pattern:/(\(\s*)[+-]?\d*[\dn](?:\s*[+-]\s*\d+)?(?=\s*\))/,lookbehind:!0,inside:{number:/[\dn]+/,operator:/[+-]/}},{pattern:/(\(\s*)(?:even|odd)(?=\s*\))/i,lookbehind:!0}],combinator:/>|\+|~|\|\|/,punctuation:/[(),]/}},e.languages.css.atrule.inside["selector-function-argument"].inside=t,e.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}}),{pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0}),r={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0};e.languages.insertBefore("css","function",{operator:{pattern:/(\s)[+\-*\/](?=\s)/,lookbehind:!0},hexcode:{pattern:/\B#[\da-f]{3,8}\b/i,alias:"color"},color:[{pattern:/(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|RebeccaPurple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i,lookbehind:!0},{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:t,number:r,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:t,number:r})}(b),function(e){var t=/[*&][^\s[\]{},]+/,r=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,n="(?:"+r.source+"(?:[ ]+"+t.source+")?|"+t.source+"(?:[ ]+"+r.source+")?)",o=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-]<PLAIN>)(?:[ \t]*(?:(?![#:])<PLAIN>|:<PLAIN>))*/.source.replace(/<PLAIN>/g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),i=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function a(e,t){return t=(t||"").replace(/m/g,"")+"m",RegExp(/([:\-,[{]\s*(?:\s<<prop>>[ \t]+)?)(?:<<value>>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<<prop>>/g,function(){return n}).replace(/<<value>>/g,function(){return e}),t)}e.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<<prop>>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<<prop>>/g,function(){return n})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<<prop>>[ \t]+)?)<<key>>(?=\s*:\s)/.source.replace(/<<prop>>/g,function(){return n}).replace(/<<key>>/g,function(){return"(?:"+o+"|"+i+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:a(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:a(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:a(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:a(i),lookbehind:!0,greedy:!0},number:{pattern:a(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:r,important:t,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},e.languages.yml=e.languages.yaml}(b),function(e){var t=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function r(e){return e=e.replace(/<inner>/g,function(){return t}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+e+")")}var n=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,o=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return n}),i=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source,a=(e.languages.markdown=e.languages.extend("markup",{}),e.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:e.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+o+i+"(?:"+o+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+o+i+")(?:"+o+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(n),inside:e.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+o+")"+i+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+o+"$"),inside:{"table-header":{pattern:RegExp(n),alias:"important",inside:e.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:r(/\b__(?:(?!_)<inner>|_(?:(?!_)<inner>)+_)+__\b|\*\*(?:(?!\*)<inner>|\*(?:(?!\*)<inner>)+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:r(/\b_(?:(?!_)<inner>|__(?:(?!_)<inner>)+__)+_\b|\*(?:(?!\*)<inner>|\*\*(?:(?!\*)<inner>)+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:r(/(~~?)(?:(?!~)<inner>)+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:r(/!?\[(?:(?!\])<inner>)+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\])<inner>)+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach(function(t){["url","bold","italic","strike","code-snippet"].forEach(function(r){t!==r&&(e.languages.markdown[t].inside.content.inside[r]=e.languages.markdown[r])})}),e.hooks.add("after-tokenize",function(e){"markdown"!==e.language&&"md"!==e.language||function e(t){if(t&&"string"!=typeof t)for(var r=0,n=t.length;r<n;r++){var o,i=t[r];"code"!==i.type?e(i.content):(o=i.content[1],i=i.content[3],o&&i&&"code-language"===o.type&&"code-block"===i.type&&"string"==typeof o.content&&(o=o.content.replace(/\b#/g,"sharp").replace(/\b\+\+/g,"pp"),o="language-"+(o=(/[a-z][\w-]*/i.exec(o)||[""])[0].toLowerCase()),i.alias?"string"==typeof i.alias?i.alias=[i.alias,o]:i.alias.push(o):i.alias=[o]))}}(e.tokens)}),e.hooks.add("wrap",function(t){if("code-block"===t.type){for(var r,n="",o=0,i=t.classes.length;o<i;o++){var s=t.classes[o],s=/language-(.+)/.exec(s);if(s){n=s[1];break}}var u,f=e.languages[n];f?t.content=e.highlight(t.content.replace(a,"").replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,function(e,t){return"#"===(t=t.toLowerCase())[0]?c("x"===t[1]?parseInt(t.slice(2),16):Number(t.slice(1))):l[t]||e}),f,n):n&&"none"!==n&&e.plugins.autoloader&&(u="md-"+new Date().valueOf()+"-"+Math.floor(1e16*Math.random()),t.attributes.id=u,e.plugins.autoloader.loadLanguages(n,function(){var t=document.getElementById(u);t&&(t.innerHTML=e.highlight(t.textContent,e.languages[n],n))}))}}),RegExp(e.languages.markup.tag.pattern.source,"gi")),l={amp:"&",lt:"<",gt:">",quot:'"'},c=String.fromCodePoint||String.fromCharCode;e.languages.md=e.languages.markdown}(b),b.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:b.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},b.hooks.add("after-tokenize",function(e){if("graphql"===e.language)for(var t=e.tokens.filter(function(e){return"string"!=typeof e&&"comment"!==e.type&&"scalar"!==e.type}),r=0;r<t.length;){var n=t[r++];if("keyword"===n.type&&"mutation"===n.content){var o=[];if(u(["definition-mutation","punctuation"])&&"("===t[r+1].content){r+=2;var i=f(/^\($/,/^\)$/);if(-1===i)continue;for(;r<i;r++){var a=t[r+0];"variable"===a.type&&(p(a,"variable-input"),o.push(a.content))}r=i+1}if(u(["punctuation","property-query"])&&"{"===t[r+0].content&&(p(t[++r+0],"property-mutation"),0<o.length)){var l=f(/^\{$/,/^\}$/);if(-1!==l)for(var c=r;c<l;c++){var s=t[c];"variable"===s.type&&0<=o.indexOf(s.content)&&p(s,"variable-input")}}}}function u(e,n){n=n||0;for(var o=0;o<e.length;o++){var i=t[r+(o+n)];if(!i||i.type!==e[o])return}return 1}function f(e,n){for(var o=1,i=r;i<t.length;i++){var a=t[i],l=a.content;if("punctuation"===a.type&&"string"==typeof l){if(e.test(l))o++;else if(n.test(l)&&0==--o)return i}}return -1}function p(e,t){var r=e.alias;r?Array.isArray(r)||(e.alias=r=[r]):e.alias=r=[],r.push(t)}}),b.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},identifier:{pattern:/(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/,greedy:!0,lookbehind:!0,inside:{punctuation:/^`|`$/}},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:ING|S)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/},function(e){var t=e.languages.javascript["template-string"],r=t.pattern.source,n=t.inside.interpolation,o=n.inside["interpolation-punctuation"],i=n.pattern.source;function a(t,n){if(e.languages[t])return{pattern:RegExp("((?:"+n+")\\s*)"+r),lookbehind:!0,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},"embedded-code":{pattern:/[\s\S]+/,alias:t}}}}function l(t,r,n){return t={code:t,grammar:r,language:n},e.hooks.run("before-tokenize",t),t.tokens=e.tokenize(t.code,t.grammar),e.hooks.run("after-tokenize",t),t.tokens}e.languages.javascript["template-string"]=[a("css",/\b(?:styled(?:\([^)]*\))?(?:\s*\.\s*\w+(?:\([^)]*\))*)*|css(?:\s*\.\s*(?:global|resolve))?|createGlobalStyle|keyframes)/.source),a("html",/\bhtml|\.\s*(?:inner|outer)HTML\s*\+?=/.source),a("svg",/\bsvg/.source),a("markdown",/\b(?:markdown|md)/.source),a("graphql",/\b(?:gql|graphql(?:\s*\.\s*experimental)?)/.source),a("sql",/\bsql/.source),t].filter(Boolean);var c={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};e.hooks.add("after-tokenize",function(t){t.language in c&&function t(r){for(var a=0,c=r.length;a<c;a++){var s,u,f,p=r[a];"string"!=typeof p&&(Array.isArray(s=p.content)?"template-string"===p.type?(p=s[1],3===s.length&&"string"!=typeof p&&"embedded-code"===p.type&&(u=function e(t){return"string"==typeof t?t:Array.isArray(t)?t.map(e).join(""):e(t.content)}(p),p=Array.isArray(p=p.alias)?p[0]:p,f=e.languages[p])&&(s[1]=function(t,r,a){var c=e.tokenize(t,{interpolation:{pattern:RegExp(i),lookbehind:!0}}),s=0,u={},c=l(c.map(function(e){if("string"==typeof e)return e;for(var r,n,e=e.content;-1!==t.indexOf((n=s++,r="___"+a.toUpperCase()+"_"+n+"___")););return u[r]=e,r}).join(""),r,a),f=Object.keys(u);return s=0,function t(r){for(var i=0;i<r.length;i++){if(s>=f.length)return;var a,c,p,d,h,y,m,g=r[i];"string"==typeof g||"string"==typeof g.content?(a=f[s],-1!==(m=(y="string"==typeof g?g:g.content).indexOf(a))&&(++s,c=y.substring(0,m),h=u[a],p=void 0,(d={})["interpolation-punctuation"]=o,3===(d=e.tokenize(h,d)).length&&((p=[1,1]).push.apply(p,l(d[1],e.languages.javascript,"javascript")),d.splice.apply(d,p)),p=new e.Token("interpolation",d,n.alias,h),d=y.substring(m+a.length),h=[],c&&h.push(c),h.push(p),d&&(t(y=[d]),h.push.apply(h,y)),"string"==typeof g?(r.splice.apply(r,[i,1].concat(h)),i+=h.length-1):g.content=h)):Array.isArray(m=g.content)?t(m):t([m])}}(c),new e.Token(a,c,"language-"+a,t)}(u,f,p))):t(s):"string"!=typeof s&&t([s]))}}(t.tokens)})}(b),function(e){e.languages.typescript=e.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),e.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete e.languages.typescript.parameter,delete e.languages.typescript["literal-property"];var t=e.languages.extend("typescript",{});delete t["class-name"],e.languages.typescript["class-name"].inside=t,e.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:t}}}}),e.languages.ts=e.languages.typescript}(b),function(e){var t=e.languages.javascript,r=/\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})+\}/.source,n="(@(?:arg|argument|param|property)\\s+(?:"+r+"\\s+)?)";e.languages.jsdoc=e.languages.extend("javadoclike",{parameter:{pattern:RegExp(n+/(?:(?!\s)[$\w\xA0-\uFFFF.])+(?=\s|$)/.source),lookbehind:!0,inside:{punctuation:/\./}}}),e.languages.insertBefore("jsdoc","keyword",{"optional-parameter":{pattern:RegExp(n+/\[(?:(?!\s)[$\w\xA0-\uFFFF.])+(?:=[^[\]]+)?\](?=\s|$)/.source),lookbehind:!0,inside:{parameter:{pattern:/(^\[)[$\w\xA0-\uFFFF\.]+/,lookbehind:!0,inside:{punctuation:/\./}},code:{pattern:/(=)[\s\S]*(?=\]$)/,lookbehind:!0,inside:t,alias:"language-javascript"},punctuation:/[=[\]]/}},"class-name":[{pattern:RegExp(/(@(?:augments|class|extends|interface|memberof!?|template|this|typedef)\s+(?:<TYPE>\s+)?)[A-Z]\w*(?:\.[A-Z]\w*)*/.source.replace(/<TYPE>/g,function(){return r})),lookbehind:!0,inside:{punctuation:/\./}},{pattern:RegExp("(@[a-z]+\\s+)"+r),lookbehind:!0,inside:{string:t.string,number:t.number,boolean:t.boolean,keyword:e.languages.typescript.keyword,operator:/=>|\.\.\.|[&|?:*]/,punctuation:/[.,;=<>{}()[\]]/}}],example:{pattern:/(@example\s+(?!\s))(?:[^@\s]|\s+(?!\s))+?(?=\s*(?:\*\s*)?(?:@\w|\*\/))/,lookbehind:!0,inside:{code:{pattern:/^([\t ]*(?:\*\s*)?)\S.*$/m,lookbehind:!0,inside:t,alias:"language-javascript"}}}}),e.languages.javadoclike.addSupport("javascript",e.languages.jsdoc)}(b),function(e){e.languages.flow=e.languages.extend("javascript",{}),e.languages.insertBefore("flow","keyword",{type:[{pattern:/\b(?:[Bb]oolean|Function|[Nn]umber|[Ss]tring|[Ss]ymbol|any|mixed|null|void)\b/,alias:"class-name"}]}),e.languages.flow["function-variable"].pattern=/(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=\s*(?:function\b|(?:\([^()]*\)(?:\s*:\s*\w+)?|(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/i,delete e.languages.flow.parameter,e.languages.insertBefore("flow","operator",{"flow-punctuation":{pattern:/\{\||\|\}/,alias:"punctuation"}}),Array.isArray(e.languages.flow.keyword)||(e.languages.flow.keyword=[e.languages.flow.keyword]),e.languages.flow.keyword.unshift({pattern:/(^|[^$]\b)(?:Class|declare|opaque|type)\b(?!\$)/,lookbehind:!0},{pattern:/(^|[^$]\B)\$(?:Diff|Enum|Exact|Keys|ObjMap|PropertyType|Record|Shape|Subtype|Supertype|await)\b(?!\$)/,lookbehind:!0})}(b),b.languages.n4js=b.languages.extend("javascript",{keyword:/\b(?:Array|any|boolean|break|case|catch|class|const|constructor|continue|debugger|declare|default|delete|do|else|enum|export|extends|false|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|module|new|null|number|package|private|protected|public|return|set|static|string|super|switch|this|throw|true|try|typeof|var|void|while|with|yield)\b/}),b.languages.insertBefore("n4js","constant",{annotation:{pattern:/@+\w+/,alias:"operator"}}),b.languages.n4jsd=b.languages.n4js,function(e){function t(e,t){return RegExp(e.replace(/<ID>/g,function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source}),t)}e.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+e.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),e.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+e.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),e.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]}),e.languages.insertBefore("javascript","keyword",{imports:{pattern:t(/(\bimport\b\s*)(?:<ID>(?:\s*,\s*(?:\*\s*as\s+<ID>|\{[^{}]*\}))?|\*\s*as\s+<ID>|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:e.languages.javascript},exports:{pattern:t(/(\bexport\b\s*)(?:\*(?:\s*as\s+<ID>)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:e.languages.javascript}}),e.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),e.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),e.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:t(/(\.\s*)#?<ID>/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var r=["function","function-variable","method","method-variable","property-access"],n=0;n<r.length;n++){var o=r[n],i=e.languages.javascript[o],o=(i="RegExp"===e.util.type(i)?e.languages.javascript[o]={pattern:i}:i).inside||{};(i.inside=o)["maybe-class-name"]=/^[A-Z][\s\S]*/}}(b),function(e){var t=e.util.clone(e.languages.javascript),r=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,n=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,o=/(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;function i(e,t){return RegExp(e=e.replace(/<S>/g,function(){return r}).replace(/<BRACES>/g,function(){return n}).replace(/<SPREAD>/g,function(){return o}),t)}o=i(o).source,e.languages.jsx=e.languages.extend("markup",t),e.languages.jsx.tag.pattern=i(/<\/?(?:[\w.:-]+(?:<S>+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|<BRACES>))?|<SPREAD>))*<S>*\/?)?>/.source),e.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,e.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,e.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,e.languages.jsx.tag.inside.comment=t.comment,e.languages.insertBefore("inside","attr-name",{spread:{pattern:i(/<SPREAD>/.source),inside:e.languages.jsx}},e.languages.jsx.tag),e.languages.insertBefore("inside","special-attr",{script:{pattern:i(/=<BRACES>/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:e.languages.jsx}}},e.languages.jsx.tag);var a=function(e){return e?"string"==typeof e?e:"string"==typeof e.content?e.content:e.content.map(a).join(""):""};e.hooks.add("after-tokenize",function(t){"jsx"!==t.language&&"tsx"!==t.language||function t(r){for(var n=[],o=0;o<r.length;o++){var i=r[o],l=!1;"string"!=typeof i&&("tag"===i.type&&i.content[0]&&"tag"===i.content[0].type?"</"===i.content[0].content[0].content?0<n.length&&n[n.length-1].tagName===a(i.content[0].content[1])&&n.pop():"/>"!==i.content[i.content.length-1].content&&n.push({tagName:a(i.content[0].content[1]),openedBraces:0}):0<n.length&&"punctuation"===i.type&&"{"===i.content?n[n.length-1].openedBraces++:0<n.length&&0<n[n.length-1].openedBraces&&"punctuation"===i.type&&"}"===i.content?n[n.length-1].openedBraces--:l=!0),(l||"string"==typeof i)&&0<n.length&&0===n[n.length-1].openedBraces&&(l=a(i),o<r.length-1&&("string"==typeof r[o+1]||"plain-text"===r[o+1].type)&&(l+=a(r[o+1]),r.splice(o+1,1)),0<o&&("string"==typeof r[o-1]||"plain-text"===r[o-1].type)&&(l=a(r[o-1])+l,r.splice(o-1,1),o--),r[o]=new e.Token("plain-text",l,null,l)),i.content&&"string"!=typeof i.content&&t(i.content)}}(t.tokens)})}(b),function(e){var t=e.util.clone(e.languages.typescript),t=(e.languages.tsx=e.languages.extend("jsx",t),delete e.languages.tsx.parameter,delete e.languages.tsx["literal-property"],e.languages.tsx.tag);t.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+t.pattern.source+")",t.pattern.flags),t.lookbehind=!0}(b),b.languages.swift={comment:{pattern:/(^|[^\\:])(?:\/\/.*|\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\/)/,lookbehind:!0,greedy:!0},"string-literal":[{pattern:RegExp(/(^|[^"#])/.source+"(?:"+/"(?:\\(?:\((?:[^()]|\([^()]*\))*\)|\r\n|[^(])|[^\\\r\n"])*"/.source+"|"+/"""(?:\\(?:\((?:[^()]|\([^()]*\))*\)|[^(])|[^\\"]|"(?!""))*"""/.source+")"+/(?!["#])/.source),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\\($/,alias:"punctuation"},punctuation:/\\(?=[\r\n])/,string:/[\s\S]+/}},{pattern:RegExp(/(^|[^"#])(#+)/.source+"(?:"+/"(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|\r\n|[^#])|[^\\\r\n])*?"/.source+"|"+/"""(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|[^#])|[^\\])*?"""/.source+")\\2"),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\#+\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\#+\($/,alias:"punctuation"},string:/[\s\S]+/}}],directive:{pattern:RegExp(/#/.source+"(?:"+/(?:elseif|if)\b/.source+"(?:[ ]*"+/(?:![ \t]*)?(?:\b\w+\b(?:[ \t]*\((?:[^()]|\([^()]*\))*\))?|\((?:[^()]|\([^()]*\))*\))(?:[ \t]*(?:&&|\|\|))?/.source+")+|"+/(?:else|endif)\b/.source+")"),alias:"property",inside:{"directive-name":/^#\w+/,boolean:/\b(?:false|true)\b/,number:/\b\d+(?:\.\d+)*\b/,operator:/!|&&|\|\||[<>]=?/,punctuation:/[(),]/}},literal:{pattern:/#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,alias:"constant"},"other-directive":{pattern:/#\w+\b/,alias:"property"},attribute:{pattern:/@\w+/,alias:"atrule"},"function-definition":{pattern:/(\bfunc\s+)\w+/,lookbehind:!0,alias:"function"},label:{pattern:/\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/,lookbehind:!0,alias:"important"},keyword:/\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|isolated|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,boolean:/\b(?:false|true)\b/,nil:{pattern:/\bnil\b/,alias:"constant"},"short-argument":/\$\d+\b/,omit:{pattern:/\b_\b/,alias:"keyword"},number:/\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,"class-name":/\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/,function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,operator:/[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/,punctuation:/[{}[\]();,.:\\]/},b.languages.swift["string-literal"].forEach(function(e){e.inside.interpolation.inside=b.languages.swift}),function(e){e.languages.kotlin=e.languages.extend("clike",{keyword:{pattern:/(^|[^.])\b(?:abstract|actual|annotation|as|break|by|catch|class|companion|const|constructor|continue|crossinline|data|do|dynamic|else|enum|expect|external|final|finally|for|fun|get|if|import|in|infix|init|inline|inner|interface|internal|is|lateinit|noinline|null|object|open|operator|out|override|package|private|protected|public|reified|return|sealed|set|super|suspend|tailrec|this|throw|to|try|typealias|val|var|vararg|when|where|while)\b/,lookbehind:!0},function:[{pattern:/(?:`[^\r\n`]+`|\b\w+)(?=\s*\()/,greedy:!0},{pattern:/(\.)(?:`[^\r\n`]+`|\w+)(?=\s*\{)/,lookbehind:!0,greedy:!0}],number:/\b(?:0[xX][\da-fA-F]+(?:_[\da-fA-F]+)*|0[bB][01]+(?:_[01]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?[fFL]?)\b/,operator:/\+[+=]?|-[-=>]?|==?=?|!(?:!|==?)?|[\/*%<>]=?|[?:]:?|\.\.|&&|\|\||\b(?:and|inv|or|shl|shr|ushr|xor)\b/}),delete e.languages.kotlin["class-name"];var t={"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:e.languages.kotlin}};e.languages.insertBefore("kotlin","string",{"string-literal":[{pattern:/"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/,alias:"multiline",inside:{interpolation:{pattern:/\$(?:[a-z_]\w*|\{[^{}]*\})/i,inside:t},string:/[\s\S]+/}},{pattern:/"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/,alias:"singleline",inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,lookbehind:!0,inside:t},string:/[\s\S]+/}}],char:{pattern:/'(?:[^'\\\r\n]|\\(?:.|u[a-fA-F0-9]{0,4}))'/,greedy:!0}}),delete e.languages.kotlin.string,e.languages.insertBefore("kotlin","keyword",{annotation:{pattern:/\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/,alias:"builtin"}}),e.languages.insertBefore("kotlin","function",{label:{pattern:/\b\w+@|@\w+\b/,alias:"symbol"}}),e.languages.kt=e.languages.kotlin,e.languages.kts=e.languages.kotlin}(b),b.languages.c=b.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),b.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),b.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},b.languages.c.string],char:b.languages.c.char,comment:b.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:b.languages.c}}}}),b.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete b.languages.c.boolean,b.languages.objectivec=b.languages.extend("c",{string:{pattern:/@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|in|inline|int|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,operator:/-[->]?|\+\+?|!=?|<<?=?|>>?=?|==?|&&?|\|\|?|[~^%?*\/@]/}),delete b.languages.objectivec["class-name"],b.languages.objc=b.languages.objectivec,b.languages.reason=b.languages.extend("clike",{string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},"class-name":/\b[A-Z]\w*/,keyword:/\b(?:and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|sig|struct|switch|then|to|try|type|val|virtual|when|while|with)\b/,operator:/\.{3}|:[:=]|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/}),b.languages.insertBefore("reason","class-name",{char:{pattern:/'(?:\\x[\da-f]{2}|\\o[0-3][0-7][0-7]|\\\d{3}|\\.|[^'\\\r\n])'/,greedy:!0},constructor:/\b[A-Z]\w*\b(?!\s*\.)/,label:{pattern:/\b[a-z]\w*(?=::)/,alias:"symbol"}}),delete b.languages.reason.function,function(e){for(var t=/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|<self>)*\*\//.source,r=0;r<2;r++)t=t.replace(/<self>/g,function(){return t});t=t.replace(/<self>/g,function(){return/[^\s\S]/.source}),e.languages.rust={comment:[{pattern:RegExp(/(^|[^\\])/.source+t),lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/b?"(?:\\[\s\S]|[^\\"])*"|b?r(#*)"(?:[^"]|"(?!\1))*"\1/,greedy:!0},char:{pattern:/b?'(?:\\(?:x[0-7][\da-fA-F]|u\{(?:[\da-fA-F]_*){1,6}\}|.)|[^\\\r\n\t'])'/,greedy:!0},attribute:{pattern:/#!?\[(?:[^\[\]"]|"(?:\\[\s\S]|[^\\"])*")*\]/,greedy:!0,alias:"attr-name",inside:{string:null}},"closure-params":{pattern:/([=(,:]\s*|\bmove\s*)\|[^|]*\||\|[^|]*\|(?=\s*(?:\{|->))/,lookbehind:!0,greedy:!0,inside:{"closure-punctuation":{pattern:/^\||\|$/,alias:"punctuation"},rest:null}},"lifetime-annotation":{pattern:/'\w+/,alias:"symbol"},"fragment-specifier":{pattern:/(\$\w+:)[a-z]+/,lookbehind:!0,alias:"punctuation"},variable:/\$\w+/,"function-definition":{pattern:/(\bfn\s+)\w+/,lookbehind:!0,alias:"function"},"type-definition":{pattern:/(\b(?:enum|struct|trait|type|union)\s+)\w+/,lookbehind:!0,alias:"class-name"},"module-declaration":[{pattern:/(\b(?:crate|mod)\s+)[a-z][a-z_\d]*/,lookbehind:!0,alias:"namespace"},{pattern:/(\b(?:crate|self|super)\s*)::\s*[a-z][a-z_\d]*\b(?:\s*::(?:\s*[a-z][a-z_\d]*\s*::)*)?/,lookbehind:!0,alias:"namespace",inside:{punctuation:/::/}}],keyword:[/\b(?:Self|abstract|as|async|await|become|box|break|const|continue|crate|do|dyn|else|enum|extern|final|fn|for|if|impl|in|let|loop|macro|match|mod|move|mut|override|priv|pub|ref|return|self|static|struct|super|trait|try|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\b/,/\b(?:bool|char|f(?:32|64)|[ui](?:8|16|32|64|128|size)|str)\b/],function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())/,macro:{pattern:/\b\w+!/,alias:"property"},constant:/\b[A-Z_][A-Z_\d]+\b/,"class-name":/\b[A-Z]\w*\b/,namespace:{pattern:/(?:\b[a-z][a-z_\d]*\s*::\s*)*\b[a-z][a-z_\d]*\s*::(?!\s*<)/,inside:{punctuation:/::/}},number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)(?:_?(?:f32|f64|[iu](?:8|16|32|64|size)?))?\b/,boolean:/\b(?:false|true)\b/,punctuation:/->|\.\.=|\.{1,3}|::|[{}[\];(),:]/,operator:/[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<<?=?|>>?=?|[@?]/},e.languages.rust["closure-params"].inside.rest=e.languages.rust,e.languages.rust.attribute.inside.string=e.languages.rust.string}(b),b.languages.go=b.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),b.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete b.languages.go["class-name"],function(e){var t=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,r=/\b(?!<keyword>)\w+(?:\s*\.\s*\w+)*\b/.source.replace(/<keyword>/g,function(){return t.source});e.languages.cpp=e.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!<keyword>)\w+/.source.replace(/<keyword>/g,function(){return t.source})),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:t,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),e.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/<mod-name>(?:\s*:\s*<mod-name>)?|:\s*<mod-name>/.source.replace(/<mod-name>/g,function(){return r})+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),e.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:e.languages.cpp}}}}),e.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),e.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:e.languages.extend("cpp",{})}}),e.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},e.languages.cpp["base-clause"])}(b),b.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},b.languages.python["string-interpolation"].inside.interpolation.inside.rest=b.languages.python,b.languages.py=b.languages.python,b.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},b.languages.webmanifest=b.languages.json,((e,t)=>{for(var r in t)a(e,r,{get:t[r],enumerable:!0})})({},{dracula:()=>x,duotoneDark:()=>w,duotoneLight:()=>O,github:()=>A,gruvboxMaterialDark:()=>B,gruvboxMaterialLight:()=>z,jettwaveDark:()=>D,jettwaveLight:()=>R,nightOwl:()=>k,nightOwlLight:()=>S,oceanicNext:()=>j,okaidia:()=>P,oneDark:()=>L,oneLight:()=>F,palenight:()=>T,shadesOfPurple:()=>_,synthwave84:()=>M,ultramin:()=>C,vsDark:()=>I,vsLight:()=>N});var x={plain:{color:"#F8F8F2",backgroundColor:"#282A36"},styles:[{types:["prolog","constant","builtin"],style:{color:"rgb(189, 147, 249)"}},{types:["inserted","function"],style:{color:"rgb(80, 250, 123)"}},{types:["deleted"],style:{color:"rgb(255, 85, 85)"}},{types:["changed"],style:{color:"rgb(255, 184, 108)"}},{types:["punctuation","symbol"],style:{color:"rgb(248, 248, 242)"}},{types:["string","char","tag","selector"],style:{color:"rgb(255, 121, 198)"}},{types:["keyword","variable"],style:{color:"rgb(189, 147, 249)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(98, 114, 164)"}},{types:["attr-name"],style:{color:"rgb(241, 250, 140)"}}]},w={plain:{backgroundColor:"#2a2734",color:"#9a86fd"},styles:[{types:["comment","prolog","doctype","cdata","punctuation"],style:{color:"#6c6783"}},{types:["namespace"],style:{opacity:.7}},{types:["tag","operator","number"],style:{color:"#e09142"}},{types:["property","function"],style:{color:"#9a86fd"}},{types:["tag-id","selector","atrule-id"],style:{color:"#eeebff"}},{types:["attr-name"],style:{color:"#c4b9fe"}},{types:["boolean","string","entity","url","attr-value","keyword","control","directive","unit","statement","regex","atrule","placeholder","variable"],style:{color:"#ffcc99"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"#c4b9fe"}}]},O={plain:{backgroundColor:"#faf8f5",color:"#728fcb"},styles:[{types:["comment","prolog","doctype","cdata","punctuation"],style:{color:"#b6ad9a"}},{types:["namespace"],style:{opacity:.7}},{types:["tag","operator","number"],style:{color:"#063289"}},{types:["property","function"],style:{color:"#b29762"}},{types:["tag-id","selector","atrule-id"],style:{color:"#2d2006"}},{types:["attr-name"],style:{color:"#896724"}},{types:["boolean","string","entity","url","attr-value","keyword","control","directive","unit","statement","regex","atrule"],style:{color:"#728fcb"}},{types:["placeholder","variable"],style:{color:"#93abdc"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"#896724"}}]},A={plain:{color:"#393A34",backgroundColor:"#f6f8fa"},styles:[{types:["comment","prolog","doctype","cdata"],style:{color:"#999988",fontStyle:"italic"}},{types:["namespace"],style:{opacity:.7}},{types:["string","attr-value"],style:{color:"#e3116c"}},{types:["punctuation","operator"],style:{color:"#393A34"}},{types:["entity","url","symbol","number","boolean","variable","constant","property","regex","inserted"],style:{color:"#36acaa"}},{types:["atrule","keyword","attr-name","selector"],style:{color:"#00a4db"}},{types:["function","deleted","tag"],style:{color:"#d73a49"}},{types:["function-variable"],style:{color:"#6f42c1"}},{types:["tag","selector","keyword"],style:{color:"#00009f"}}]},k={plain:{color:"#d6deeb",backgroundColor:"#011627"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)",fontStyle:"italic"}},{types:["inserted","attr-name"],style:{color:"rgb(173, 219, 103)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(99, 119, 119)",fontStyle:"italic"}},{types:["string","url"],style:{color:"rgb(173, 219, 103)"}},{types:["variable"],style:{color:"rgb(214, 222, 235)"}},{types:["number"],style:{color:"rgb(247, 140, 108)"}},{types:["builtin","char","constant","function"],style:{color:"rgb(130, 170, 255)"}},{types:["punctuation"],style:{color:"rgb(199, 146, 234)"}},{types:["selector","doctype"],style:{color:"rgb(199, 146, 234)",fontStyle:"italic"}},{types:["class-name"],style:{color:"rgb(255, 203, 139)"}},{types:["tag","operator","keyword"],style:{color:"rgb(127, 219, 202)"}},{types:["boolean"],style:{color:"rgb(255, 88, 116)"}},{types:["property"],style:{color:"rgb(128, 203, 196)"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)"}}]},S={plain:{color:"#403f53",backgroundColor:"#FBFBFB"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)",fontStyle:"italic"}},{types:["inserted","attr-name"],style:{color:"rgb(72, 118, 214)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(152, 159, 177)",fontStyle:"italic"}},{types:["string","builtin","char","constant","url"],style:{color:"rgb(72, 118, 214)"}},{types:["variable"],style:{color:"rgb(201, 103, 101)"}},{types:["number"],style:{color:"rgb(170, 9, 130)"}},{types:["punctuation"],style:{color:"rgb(153, 76, 195)"}},{types:["function","selector","doctype"],style:{color:"rgb(153, 76, 195)",fontStyle:"italic"}},{types:["class-name"],style:{color:"rgb(17, 17, 17)"}},{types:["tag"],style:{color:"rgb(153, 76, 195)"}},{types:["operator","property","keyword","namespace"],style:{color:"rgb(12, 150, 155)"}},{types:["boolean"],style:{color:"rgb(188, 84, 84)"}}]},E={char:"#D8DEE9",comment:"#999999",keyword:"#c5a5c5",primitive:"#5a9bcf",string:"#8dc891",variable:"#d7deea",boolean:"#ff8b50",tag:"#fc929e",function:"#79b6f2",className:"#FAC863"},j={plain:{backgroundColor:"#282c34",color:"#ffffff"},styles:[{types:["attr-name"],style:{color:E.keyword}},{types:["attr-value"],style:{color:E.string}},{types:["comment","block-comment","prolog","doctype","cdata","shebang"],style:{color:E.comment}},{types:["property","number","function-name","constant","symbol","deleted"],style:{color:E.primitive}},{types:["boolean"],style:{color:E.boolean}},{types:["tag"],style:{color:E.tag}},{types:["string"],style:{color:E.string}},{types:["punctuation"],style:{color:E.string}},{types:["selector","char","builtin","inserted"],style:{color:E.char}},{types:["function"],style:{color:E.function}},{types:["operator","entity","url","variable"],style:{color:E.variable}},{types:["keyword"],style:{color:E.keyword}},{types:["atrule","class-name"],style:{color:E.className}},{types:["important"],style:{fontWeight:"400"}},{types:["bold"],style:{fontWeight:"bold"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["namespace"],style:{opacity:.7}}]},P={plain:{color:"#f8f8f2",backgroundColor:"#272822"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"#f92672",fontStyle:"italic"}},{types:["inserted"],style:{color:"rgb(173, 219, 103)",fontStyle:"italic"}},{types:["comment"],style:{color:"#8292a2",fontStyle:"italic"}},{types:["string","url"],style:{color:"#a6e22e"}},{types:["variable"],style:{color:"#f8f8f2"}},{types:["number"],style:{color:"#ae81ff"}},{types:["builtin","char","constant","function","class-name"],style:{color:"#e6db74"}},{types:["punctuation"],style:{color:"#f8f8f2"}},{types:["selector","doctype"],style:{color:"#a6e22e",fontStyle:"italic"}},{types:["tag","operator","keyword"],style:{color:"#66d9ef"}},{types:["boolean"],style:{color:"#ae81ff"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)",opacity:.7}},{types:["tag","property"],style:{color:"#f92672"}},{types:["attr-name"],style:{color:"#a6e22e !important"}},{types:["doctype"],style:{color:"#8292a2"}},{types:["rule"],style:{color:"#e6db74"}}]},T={plain:{color:"#bfc7d5",backgroundColor:"#292d3e"},styles:[{types:["comment"],style:{color:"rgb(105, 112, 152)",fontStyle:"italic"}},{types:["string","inserted"],style:{color:"rgb(195, 232, 141)"}},{types:["number"],style:{color:"rgb(247, 140, 108)"}},{types:["builtin","char","constant","function"],style:{color:"rgb(130, 170, 255)"}},{types:["punctuation","selector"],style:{color:"rgb(199, 146, 234)"}},{types:["variable"],style:{color:"rgb(191, 199, 213)"}},{types:["class-name","attr-name"],style:{color:"rgb(255, 203, 107)"}},{types:["tag","deleted"],style:{color:"rgb(255, 85, 114)"}},{types:["operator"],style:{color:"rgb(137, 221, 255)"}},{types:["boolean"],style:{color:"rgb(255, 88, 116)"}},{types:["keyword"],style:{fontStyle:"italic"}},{types:["doctype"],style:{color:"rgb(199, 146, 234)",fontStyle:"italic"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)"}},{types:["url"],style:{color:"rgb(221, 221, 221)"}}]},_={plain:{color:"#9EFEFF",backgroundColor:"#2D2A55"},styles:[{types:["changed"],style:{color:"rgb(255, 238, 128)"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)"}},{types:["inserted"],style:{color:"rgb(173, 219, 103)"}},{types:["comment"],style:{color:"rgb(179, 98, 255)",fontStyle:"italic"}},{types:["punctuation"],style:{color:"rgb(255, 255, 255)"}},{types:["constant"],style:{color:"rgb(255, 98, 140)"}},{types:["string","url"],style:{color:"rgb(165, 255, 144)"}},{types:["variable"],style:{color:"rgb(255, 238, 128)"}},{types:["number","boolean"],style:{color:"rgb(255, 98, 140)"}},{types:["attr-name"],style:{color:"rgb(255, 180, 84)"}},{types:["keyword","operator","property","namespace","tag","selector","doctype"],style:{color:"rgb(255, 157, 0)"}},{types:["builtin","char","constant","function","class-name"],style:{color:"rgb(250, 208, 0)"}}]},M={plain:{backgroundColor:"linear-gradient(to bottom, #2a2139 75%, #34294f)",backgroundImage:"#34294f",color:"#f92aad",textShadow:"0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3"},styles:[{types:["comment","block-comment","prolog","doctype","cdata"],style:{color:"#495495",fontStyle:"italic"}},{types:["punctuation"],style:{color:"#ccc"}},{types:["tag","attr-name","namespace","number","unit","hexcode","deleted"],style:{color:"#e2777a"}},{types:["property","selector"],style:{color:"#72f1b8",textShadow:"0 0 2px #100c0f, 0 0 10px #257c5575, 0 0 35px #21272475"}},{types:["function-name"],style:{color:"#6196cc"}},{types:["boolean","selector-id","function"],style:{color:"#fdfdfd",textShadow:"0 0 2px #001716, 0 0 3px #03edf975, 0 0 5px #03edf975, 0 0 8px #03edf975"}},{types:["class-name","maybe-class-name","builtin"],style:{color:"#fff5f6",textShadow:"0 0 2px #000, 0 0 10px #fc1f2c75, 0 0 5px #fc1f2c75, 0 0 25px #fc1f2c75"}},{types:["constant","symbol"],style:{color:"#f92aad",textShadow:"0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3"}},{types:["important","atrule","keyword","selector-class"],style:{color:"#f4eee4",textShadow:"0 0 2px #393a33, 0 0 8px #f39f0575, 0 0 2px #f39f0575"}},{types:["string","char","attr-value","regex","variable"],style:{color:"#f87c32"}},{types:["parameter"],style:{fontStyle:"italic"}},{types:["entity","url"],style:{color:"#67cdcc"}},{types:["operator"],style:{color:"ffffffee"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["entity"],style:{cursor:"help"}},{types:["inserted"],style:{color:"green"}}]},C={plain:{color:"#282a2e",backgroundColor:"#ffffff"},styles:[{types:["comment"],style:{color:"rgb(197, 200, 198)"}},{types:["string","number","builtin","variable"],style:{color:"rgb(150, 152, 150)"}},{types:["class-name","function","tag","attr-name"],style:{color:"rgb(40, 42, 46)"}}]},I={plain:{color:"#9CDCFE",backgroundColor:"#1E1E1E"},styles:[{types:["prolog"],style:{color:"rgb(0, 0, 128)"}},{types:["comment"],style:{color:"rgb(106, 153, 85)"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"rgb(86, 156, 214)"}},{types:["number","inserted"],style:{color:"rgb(181, 206, 168)"}},{types:["constant"],style:{color:"rgb(100, 102, 149)"}},{types:["attr-name","variable"],style:{color:"rgb(156, 220, 254)"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"rgb(206, 145, 120)"}},{types:["selector"],style:{color:"rgb(215, 186, 125)"}},{types:["tag"],style:{color:"rgb(78, 201, 176)"}},{types:["tag"],languages:["markup"],style:{color:"rgb(86, 156, 214)"}},{types:["punctuation","operator"],style:{color:"rgb(212, 212, 212)"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"rgb(220, 220, 170)"}},{types:["class-name"],style:{color:"rgb(78, 201, 176)"}},{types:["char"],style:{color:"rgb(209, 105, 105)"}}]},N={plain:{color:"#000000",backgroundColor:"#ffffff"},styles:[{types:["comment"],style:{color:"rgb(0, 128, 0)"}},{types:["builtin"],style:{color:"rgb(0, 112, 193)"}},{types:["number","variable","inserted"],style:{color:"rgb(9, 134, 88)"}},{types:["operator"],style:{color:"rgb(0, 0, 0)"}},{types:["constant","char"],style:{color:"rgb(129, 31, 63)"}},{types:["tag"],style:{color:"rgb(128, 0, 0)"}},{types:["attr-name"],style:{color:"rgb(255, 0, 0)"}},{types:["deleted","string"],style:{color:"rgb(163, 21, 21)"}},{types:["changed","punctuation"],style:{color:"rgb(4, 81, 165)"}},{types:["function","keyword"],style:{color:"rgb(0, 0, 255)"}},{types:["class-name"],style:{color:"rgb(38, 127, 153)"}}]},D={plain:{color:"#f8fafc",backgroundColor:"#011627"},styles:[{types:["prolog"],style:{color:"#000080"}},{types:["comment"],style:{color:"#6A9955"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"#569CD6"}},{types:["number","inserted"],style:{color:"#B5CEA8"}},{types:["constant"],style:{color:"#f8fafc"}},{types:["attr-name","variable"],style:{color:"#9CDCFE"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"#cbd5e1"}},{types:["selector"],style:{color:"#D7BA7D"}},{types:["tag"],style:{color:"#0ea5e9"}},{types:["tag"],languages:["markup"],style:{color:"#0ea5e9"}},{types:["punctuation","operator"],style:{color:"#D4D4D4"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"#7dd3fc"}},{types:["class-name"],style:{color:"#0ea5e9"}},{types:["char"],style:{color:"#D16969"}}]},R={plain:{color:"#0f172a",backgroundColor:"#f1f5f9"},styles:[{types:["prolog"],style:{color:"#000080"}},{types:["comment"],style:{color:"#6A9955"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"#0c4a6e"}},{types:["number","inserted"],style:{color:"#B5CEA8"}},{types:["constant"],style:{color:"#0f172a"}},{types:["attr-name","variable"],style:{color:"#0c4a6e"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"#64748b"}},{types:["selector"],style:{color:"#D7BA7D"}},{types:["tag"],style:{color:"#0ea5e9"}},{types:["tag"],languages:["markup"],style:{color:"#0ea5e9"}},{types:["punctuation","operator"],style:{color:"#475569"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"#0e7490"}},{types:["class-name"],style:{color:"#0ea5e9"}},{types:["char"],style:{color:"#D16969"}}]},L={plain:{backgroundColor:"hsl(220, 13%, 18%)",color:"hsl(220, 14%, 71%)",textShadow:"0 1px rgba(0, 0, 0, 0.3)"},styles:[{types:["comment","prolog","cdata"],style:{color:"hsl(220, 10%, 40%)"}},{types:["doctype","punctuation","entity"],style:{color:"hsl(220, 14%, 71%)"}},{types:["attr-name","class-name","maybe-class-name","boolean","constant","number","atrule"],style:{color:"hsl(29, 54%, 61%)"}},{types:["keyword"],style:{color:"hsl(286, 60%, 67%)"}},{types:["property","tag","symbol","deleted","important"],style:{color:"hsl(355, 65%, 65%)"}},{types:["selector","string","char","builtin","inserted","regex","attr-value"],style:{color:"hsl(95, 38%, 62%)"}},{types:["variable","operator","function"],style:{color:"hsl(207, 82%, 66%)"}},{types:["url"],style:{color:"hsl(187, 47%, 55%)"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"hsl(220, 14%, 71%)"}}]},F={plain:{backgroundColor:"hsl(230, 1%, 98%)",color:"hsl(230, 8%, 24%)"},styles:[{types:["comment","prolog","cdata"],style:{color:"hsl(230, 4%, 64%)"}},{types:["doctype","punctuation","entity"],style:{color:"hsl(230, 8%, 24%)"}},{types:["attr-name","class-name","boolean","constant","number","atrule"],style:{color:"hsl(35, 99%, 36%)"}},{types:["keyword"],style:{color:"hsl(301, 63%, 40%)"}},{types:["property","tag","symbol","deleted","important"],style:{color:"hsl(5, 74%, 59%)"}},{types:["selector","string","char","builtin","inserted","regex","attr-value","punctuation"],style:{color:"hsl(119, 34%, 47%)"}},{types:["variable","operator","function"],style:{color:"hsl(221, 87%, 60%)"}},{types:["url"],style:{color:"hsl(198, 99%, 37%)"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"hsl(230, 8%, 24%)"}}]},B={plain:{color:"#ebdbb2",backgroundColor:"#292828"},styles:[{types:["imports","class-name","maybe-class-name","constant","doctype","builtin","function"],style:{color:"#d8a657"}},{types:["property-access"],style:{color:"#7daea3"}},{types:["tag"],style:{color:"#e78a4e"}},{types:["attr-name","char","url","regex"],style:{color:"#a9b665"}},{types:["attr-value","string"],style:{color:"#89b482"}},{types:["comment","prolog","cdata","operator","inserted"],style:{color:"#a89984"}},{types:["delimiter","boolean","keyword","selector","important","atrule","property","variable","deleted"],style:{color:"#ea6962"}},{types:["entity","number","symbol"],style:{color:"#d3869b"}}]},z={plain:{color:"#654735",backgroundColor:"#f9f5d7"},styles:[{types:["delimiter","boolean","keyword","selector","important","atrule","property","variable","deleted"],style:{color:"#af2528"}},{types:["imports","class-name","maybe-class-name","constant","doctype","builtin"],style:{color:"#b4730e"}},{types:["string","attr-value"],style:{color:"#477a5b"}},{types:["property-access"],style:{color:"#266b79"}},{types:["function","attr-name","char","url"],style:{color:"#72761e"}},{types:["tag"],style:{color:"#b94c07"}},{types:["comment","prolog","cdata","operator","inserted"],style:{color:"#a89984"}},{types:["entity","number","symbol"],style:{color:"#924f79"}}]},$=/\r\n|\r|\n/,U=e=>{0===e.length?e.push({types:["plain"],content:"\n",empty:!0}):1===e.length&&""===e[0].content&&(e[0].content="\n",e[0].empty=!0)},W=(e,t)=>{let r=e.length;return r>0&&e[r-1]===t?e:e.concat(t)},G=e=>{let t=[[]],r=[e],n=[0],o=[e.length],i=0,a=0,l=[],c=[l];for(;a>-1;){for(;(i=n[a]++)<o[a];){let e,s=t[a],u=r[a][i];if("string"==typeof u?(s=a>0?s:["plain"],e=u):(s=W(s,u.type),u.alias&&(s=W(s,u.alias)),e=u.content),"string"!=typeof e){a++,t.push(s),r.push(e),n.push(0),o.push(e.length);continue}let f=e.split($),p=f.length;l.push({types:s,content:f[0]});for(let e=1;e<p;e++)U(l),c.push(l=[]),l.push({types:s,content:f[e]})}a--,t.pop(),r.pop(),n.pop(),o.pop()}return U(l),c},H=({children:e,language:t,code:r,theme:i,prism:a})=>{let l=t.toLowerCase(),c=((e,t)=>{let{plain:r}=e,n=e.styles.reduce((e,r)=>{let{languages:n,style:o}=r;return n&&!n.includes(t)||r.types.forEach(t=>{let r=m(m({},e[t]),o);e[t]=r}),e},{});return n.root=r,n.plain=g(m({},r),{backgroundColor:void 0}),n})(i,l),s=(e=>(0,n.useCallback)(t=>{var{className:r,style:n,line:i}=t;let a=g(m({},v(t,["className","style","line"])),{className:(0,o.A)("token-line",r)});return"object"==typeof e&&"plain"in e&&(a.style=e.plain),"object"==typeof n&&(a.style=m(m({},a.style||{}),n)),a},[e]))(c),u=(e=>{let t=(0,n.useCallback)(({types:t,empty:r})=>{if(null!=e)return 1===t.length&&"plain"===t[0]?null!=r?{display:"inline-block"}:void 0:1===t.length&&null!=r?e[t[0]]:Object.assign(null!=r?{display:"inline-block"}:{},...t.map(t=>e[t]))},[e]);return(0,n.useCallback)(e=>{var{token:r,className:n,style:i}=e;let a=g(m({},v(e,["token","className","style"])),{className:(0,o.A)("token",...r.types,n),children:r.content,style:t(r)});return null!=i&&(a.style=m(m({},a.style||{}),i)),a},[t])})(c),f=a.languages[l];return e({tokens:(({prism:e,code:t,grammar:r,language:o})=>(0,n.useMemo)(()=>{if(null==r)return G([t]);let n={code:t,grammar:r,language:o,tokens:[]};return e.hooks.run("before-tokenize",n),n.tokens=e.tokenize(t,r),e.hooks.run("after-tokenize",n),G(n.tokens)},[t,r,o,e]))({prism:a,language:l,code:r,grammar:f}),className:`prism-code language-${l}`,style:null!=c?c.root:{},getLineProps:s,getTokenProps:u})},q=e=>(0,n.createElement)(H,g(m({},e),{prism:e.prism||b,theme:e.theme||I,code:e.code,language:e.language}))},20254:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(91485).A)("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]])},20672:(e,t,r)=>{"use strict";r.d(t,{F:()=>F});var n=r(44213),o=r(1687),i=r(84806),a=r.n(i),l=r(57874),c=r.n(l),s=r(6513),u=r.n(s),f=r(8898),p=r.n(f),d=r(73138),h=r(79164),y=r(75642),m=r(91258),g=r(32203),v=r(56415),b=r(30283),x=r(36404),w=r(98363),O=r(68473),A=r(20681),k=r(35223),S=r(76307),E=r(285),j=r(55754);function P(e){return(P="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function T(){return(T=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function _(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function M(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?_(Object(r),!0).forEach(function(t){R(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):_(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function C(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,L(n.key),n)}}function I(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(I=function(){return!!e})()}function N(e){return(N=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function D(e,t){return(D=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function R(e,t,r){return(t=L(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function L(e){var t=function(e,t){if("object"!=P(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=P(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==P(t)?t:t+""}var F=function(e){var t,r;function i(e){var t,r,n;if(!(this instanceof i))throw TypeError("Cannot call a class as a function");return r=i,n=[e],r=N(r),R(t=function(e,t){if(t&&("object"===P(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");var r=e;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,I()?Reflect.construct(r,n||[],N(this).constructor):r.apply(this,n)),"pieRef",null),R(t,"sectorRefs",[]),R(t,"id",(0,A.NF)("recharts-pie-")),R(t,"handleAnimationEnd",function(){var e=t.props.onAnimationEnd;t.setState({isAnimationFinished:!0}),p()(e)&&e()}),R(t,"handleAnimationStart",function(){var e=t.props.onAnimationStart;t.setState({isAnimationFinished:!1}),p()(e)&&e()}),t.state={isAnimationFinished:!e.isAnimationActive,prevIsAnimationActive:e.isAnimationActive,prevAnimationId:e.animationId,sectorToFocus:0},t}if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");return i.prototype=Object.create(e&&e.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),e&&D(i,e),t=[{key:"isActiveIndex",value:function(e){var t=this.props.activeIndex;return Array.isArray(t)?-1!==t.indexOf(e):e===t}},{key:"hasActiveIndex",value:function(){var e=this.props.activeIndex;return Array.isArray(e)?0!==e.length:e||0===e}},{key:"renderLabels",value:function(e){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var t=this.props,r=t.label,o=t.labelLine,a=t.dataKey,l=t.valueKey,c=(0,x.J9)(this.props,!1),s=(0,x.J9)(r,!1),f=(0,x.J9)(o,!1),p=r&&r.offsetRadius||20,d=e.map(function(e,t){var d=(e.startAngle+e.endAngle)/2,y=(0,O.IZ)(e.cx,e.cy,e.outerRadius+p,d),m=M(M(M(M({},c),e),{},{stroke:"none"},s),{},{index:t,textAnchor:i.getTextAnchor(y.x,e.cx)},y),g=M(M(M(M({},c),e),{},{fill:"none",stroke:e.fill},f),{},{index:t,points:[(0,O.IZ)(e.cx,e.cy,e.outerRadius,d),y]}),v=a;return u()(a)&&u()(l)?v="value":u()(a)&&(v=l),n.createElement(h.W,{key:"label-".concat(e.startAngle,"-").concat(e.endAngle,"-").concat(e.midAngle,"-").concat(t)},o&&i.renderLabelLineItem(o,g,"line"),i.renderLabelItem(r,m,(0,k.kr)(e,v)))});return n.createElement(h.W,{className:"recharts-pie-labels"},d)}},{key:"renderSectorsStatically",value:function(e){var t=this,r=this.props,o=r.activeShape,i=r.blendStroke,a=r.inactiveShape;return e.map(function(r,l){if((null==r?void 0:r.startAngle)===0&&(null==r?void 0:r.endAngle)===0&&1!==e.length)return null;var c=t.isActiveIndex(l),s=a&&t.hasActiveIndex()?a:null,u=M(M({},r),{},{stroke:i?r.fill:r.stroke,tabIndex:-1});return n.createElement(h.W,T({ref:function(e){e&&!t.sectorRefs.includes(e)&&t.sectorRefs.push(e)},tabIndex:-1,className:"recharts-pie-sector"},(0,E.XC)(t.props,r,l),{key:"sector-".concat(null==r?void 0:r.startAngle,"-").concat(null==r?void 0:r.endAngle,"-").concat(r.midAngle,"-").concat(l)}),n.createElement(j.yp,T({option:c?o:s,isActive:c,shapeType:"sector"},u)))})}},{key:"renderSectorsWithAnimation",value:function(){var e=this,t=this.props,r=t.sectors,i=t.isAnimationActive,l=t.animationBegin,c=t.animationDuration,s=t.animationEasing,u=t.animationId,f=this.state,p=f.prevSectors,d=f.prevIsAnimationActive;return n.createElement(o.Ay,{begin:l,duration:c,isActive:i,easing:s,from:{t:0},to:{t:1},key:"pie-".concat(u,"-").concat(d),onAnimationStart:this.handleAnimationStart,onAnimationEnd:this.handleAnimationEnd},function(t){var o=t.t,i=[],l=(r&&r[0]).startAngle;return r.forEach(function(e,t){var r=p&&p[t],n=t>0?a()(e,"paddingAngle",0):0;if(r){var c=(0,A.Dj)(r.endAngle-r.startAngle,e.endAngle-e.startAngle),s=M(M({},e),{},{startAngle:l+n,endAngle:l+c(o)+n});i.push(s),l=s.endAngle}else{var u=e.endAngle,f=e.startAngle,d=(0,A.Dj)(0,u-f)(o),h=M(M({},e),{},{startAngle:l+n,endAngle:l+d+n});i.push(h),l=h.endAngle}}),n.createElement(h.W,null,e.renderSectorsStatically(i))})}},{key:"attachKeyboardHandlers",value:function(e){var t=this;e.onkeydown=function(e){if(!e.altKey)switch(e.key){case"ArrowLeft":var r=++t.state.sectorToFocus%t.sectorRefs.length;t.sectorRefs[r].focus(),t.setState({sectorToFocus:r});break;case"ArrowRight":var n=--t.state.sectorToFocus<0?t.sectorRefs.length-1:t.state.sectorToFocus%t.sectorRefs.length;t.sectorRefs[n].focus(),t.setState({sectorToFocus:n});break;case"Escape":t.sectorRefs[t.state.sectorToFocus].blur(),t.setState({sectorToFocus:0})}}}},{key:"renderSectors",value:function(){var e=this.props,t=e.sectors,r=e.isAnimationActive,n=this.state.prevSectors;return r&&t&&t.length&&(!n||!c()(n,t))?this.renderSectorsWithAnimation():this.renderSectorsStatically(t)}},{key:"componentDidMount",value:function(){this.pieRef&&this.attachKeyboardHandlers(this.pieRef)}},{key:"render",value:function(){var e=this,t=this.props,r=t.hide,o=t.sectors,i=t.className,a=t.label,l=t.cx,c=t.cy,s=t.innerRadius,u=t.outerRadius,f=t.isAnimationActive,p=this.state.isAnimationFinished;if(r||!o||!o.length||!(0,A.Et)(l)||!(0,A.Et)(c)||!(0,A.Et)(s)||!(0,A.Et)(u))return null;var y=(0,d.A)("recharts-pie",i);return n.createElement(h.W,{tabIndex:this.props.rootTabIndex,className:y,ref:function(t){e.pieRef=t}},this.renderSectors(),a&&this.renderLabels(o),g.J.renderCallByParent(this.props,null,!1),(!f||p)&&v.Z.renderCallByParent(this.props,o,!1))}}],r=[{key:"getDerivedStateFromProps",value:function(e,t){return t.prevIsAnimationActive!==e.isAnimationActive?{prevIsAnimationActive:e.isAnimationActive,prevAnimationId:e.animationId,curSectors:e.sectors,prevSectors:[],isAnimationFinished:!0}:e.isAnimationActive&&e.animationId!==t.prevAnimationId?{prevAnimationId:e.animationId,curSectors:e.sectors,prevSectors:t.curSectors,isAnimationFinished:!0}:e.sectors!==t.curSectors?{curSectors:e.sectors,isAnimationFinished:!0}:null}},{key:"getTextAnchor",value:function(e,t){return e>t?"start":e<t?"end":"middle"}},{key:"renderLabelLineItem",value:function(e,t,r){if(n.isValidElement(e))return n.cloneElement(e,t);if(p()(e))return e(t);var o=(0,d.A)("recharts-pie-label-line","boolean"!=typeof e?e.className:"");return n.createElement(y.I,T({},t,{key:r,type:"linear",className:o}))}},{key:"renderLabelItem",value:function(e,t,r){if(n.isValidElement(e))return n.cloneElement(e,t);var o=r;if(p()(e)&&(o=e(t),n.isValidElement(o)))return o;var i=(0,d.A)("recharts-pie-label-text","boolean"==typeof e||p()(e)?"":e.className);return n.createElement(m.E,T({},t,{alignmentBaseline:"middle",className:i}),o)}}],t&&C(i.prototype,t),r&&C(i,r),Object.defineProperty(i,"prototype",{writable:!1}),i}(n.PureComponent);R(F,"displayName","Pie"),R(F,"defaultProps",{stroke:"#fff",fill:"#808080",legendType:"rect",cx:"50%",cy:"50%",startAngle:0,endAngle:360,innerRadius:0,outerRadius:"80%",paddingAngle:0,labelLine:!0,hide:!1,minAngle:0,isAnimationActive:!w.m.isSsr,animationBegin:400,animationDuration:1500,animationEasing:"ease",nameKey:"name",blendStroke:!1,rootTabIndex:0}),R(F,"parseDeltaAngle",function(e,t){return(0,A.sA)(t-e)*Math.min(Math.abs(t-e),360)}),R(F,"getRealPieData",function(e){var t=e.data,r=e.children,n=(0,x.J9)(e,!1),o=(0,x.aS)(r,b.f);return t&&t.length?t.map(function(e,t){return M(M(M({payload:e},n),e),o&&o[t]&&o[t].props)}):o&&o.length?o.map(function(e){return M(M({},n),e.props)}):[]}),R(F,"parseCoordinateOfPie",function(e,t){var r=t.top,n=t.left,o=t.width,i=t.height,a=(0,O.lY)(o,i);return{cx:n+(0,A.F4)(e.cx,o,o/2),cy:r+(0,A.F4)(e.cy,i,i/2),innerRadius:(0,A.F4)(e.innerRadius,a,0),outerRadius:(0,A.F4)(e.outerRadius,a,.8*a),maxRadius:e.maxRadius||Math.sqrt(o*o+i*i)/2}}),R(F,"getComposedData",function(e){var t,r,n=e.item,o=e.offset,i=void 0!==n.type.defaultProps?M(M({},n.type.defaultProps),n.props):n.props,a=F.getRealPieData(i);if(!a||!a.length)return null;var l=i.cornerRadius,c=i.startAngle,s=i.endAngle,f=i.paddingAngle,p=i.dataKey,d=i.nameKey,h=i.valueKey,y=i.tooltipType,m=Math.abs(i.minAngle),g=F.parseCoordinateOfPie(i,o),v=F.parseDeltaAngle(c,s),b=Math.abs(v),x=p;u()(p)&&u()(h)?((0,S.R)(!1,'Use "dataKey" to specify the value of pie,\n the props "valueKey" will be deprecated in 1.1.0'),x="value"):u()(p)&&((0,S.R)(!1,'Use "dataKey" to specify the value of pie,\n the props "valueKey" will be deprecated in 1.1.0'),x=h);var w=a.filter(function(e){return 0!==(0,k.kr)(e,x,0)}).length,E=b-w*m-(b>=360?w:w-1)*f,j=a.reduce(function(e,t){var r=(0,k.kr)(t,x,0);return e+((0,A.Et)(r)?r:0)},0);return j>0&&(t=a.map(function(e,t){var n,o=(0,k.kr)(e,x,0),i=(0,k.kr)(e,d,t),a=((0,A.Et)(o)?o:0)/j,s=(n=t?r.endAngle+(0,A.sA)(v)*f*(0!==o):c)+(0,A.sA)(v)*((0!==o?m:0)+a*E),u=(n+s)/2,p=(g.innerRadius+g.outerRadius)/2,h=[{name:i,value:o,payload:e,dataKey:x,type:y}],b=(0,O.IZ)(g.cx,g.cy,p,u);return r=M(M(M({percent:a,cornerRadius:l,name:i,tooltipPayload:h,midAngle:u,middleRadius:p,tooltipPosition:b},e),g),{},{value:(0,k.kr)(e,x),startAngle:n,endAngle:s,payload:e,paddingAngle:(0,A.sA)(v)*f})})),M(M({},g),{},{sectors:t,data:a})})},20681:(e,t,r)=>{"use strict";r.d(t,{CG:()=>O,Dj:()=>A,Et:()=>y,F4:()=>x,NF:()=>b,_3:()=>h,ck:()=>S,eP:()=>k,lX:()=>w,sA:()=>d,uy:()=>m,vh:()=>g});var n=r(34471),o=r.n(n),i=r(4595),a=r.n(i),l=r(84806),c=r.n(l),s=r(25847),u=r.n(s),f=r(6513),p=r.n(f),d=function(e){return 0===e?0:e>0?1:-1},h=function(e){return o()(e)&&e.indexOf("%")===e.length-1},y=function(e){return u()(e)&&!a()(e)},m=function(e){return p()(e)},g=function(e){return y(e)||o()(e)},v=0,b=function(e){var t=++v;return"".concat(e||"").concat(t)},x=function(e,t){var r,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!y(e)&&!o()(e))return n;if(h(e)){var l=e.indexOf("%");r=t*parseFloat(e.slice(0,l))/100}else r=+e;return a()(r)&&(r=n),i&&r>t&&(r=t),r},w=function(e){if(!e)return null;var t=Object.keys(e);return t&&t.length?e[t[0]]:null},O=function(e){if(!Array.isArray(e))return!1;for(var t=e.length,r={},n=0;n<t;n++)if(r[e[n]])return!0;else r[e[n]]=!0;return!1},A=function(e,t){return y(e)&&y(t)?function(r){return e+r*(t-e)}:function(){return t}};function k(e,t,r){return e&&e.length?e.find(function(e){return e&&("function"==typeof t?t(e):c()(e,t))===r}):null}var S=function(e,t){return y(e)&&y(t)?e-t:o()(e)&&o()(t)?e.localeCompare(t):e instanceof Date&&t instanceof Date?e.getTime()-t.getTime():String(e).localeCompare(String(t))}},21295:(e,t,r)=>{"use strict";function n(e){let{reason:t,children:r}=e;return r}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"BailoutToCSR",{enumerable:!0,get:function(){return n}}),r(35219)},22079:(e,t,r)=>{"use strict";r.d(t,{u:()=>M});var n=r(44213),o=r(8898),i=r.n(o),a=r(84806),l=r.n(a),c=r(73138),s=r(18064),u=r(79164),f=r(91258),p=r(32203),d=r(20681),h=r(285),y=r(36404),m=r(52119),g=["viewBox"],v=["viewBox"],b=["ticks"];function x(e){return(x="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function w(){return(w=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function O(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function A(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?O(Object(r),!0).forEach(function(t){T(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):O(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function k(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function S(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,_(n.key),n)}}function E(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(E=function(){return!!e})()}function j(e){return(j=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function P(e,t){return(P=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function T(e,t,r){return(t=_(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _(e){var t=function(e,t){if("object"!=x(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=x(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==x(t)?t:t+""}var M=function(e){var t,r;function o(e){var t,r,n;if(!(this instanceof o))throw TypeError("Cannot call a class as a function");return r=o,n=[e],r=j(r),(t=function(e,t){if(t&&("object"===x(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");var r=e;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,E()?Reflect.construct(r,n||[],j(this).constructor):r.apply(this,n))).state={fontSize:"",letterSpacing:""},t}if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");return o.prototype=Object.create(e&&e.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),e&&P(o,e),t=[{key:"shouldComponentUpdate",value:function(e,t){var r=e.viewBox,n=k(e,g),o=this.props,i=o.viewBox,a=k(o,v);return!(0,s.b)(r,i)||!(0,s.b)(n,a)||!(0,s.b)(t,this.state)}},{key:"componentDidMount",value:function(){var e=this.layerReference;if(e){var t=e.getElementsByClassName("recharts-cartesian-axis-tick-value")[0];t&&this.setState({fontSize:window.getComputedStyle(t).fontSize,letterSpacing:window.getComputedStyle(t).letterSpacing})}}},{key:"getTickLineCoord",value:function(e){var t,r,n,o,i,a,l=this.props,c=l.x,s=l.y,u=l.width,f=l.height,p=l.orientation,h=l.tickSize,y=l.mirror,m=l.tickMargin,g=y?-1:1,v=e.tickSize||h,b=(0,d.Et)(e.tickCoord)?e.tickCoord:e.coordinate;switch(p){case"top":t=r=e.coordinate,a=(n=(o=s+!y*f)-g*v)-g*m,i=b;break;case"left":n=o=e.coordinate,i=(t=(r=c+!y*u)-g*v)-g*m,a=b;break;case"right":n=o=e.coordinate,i=(t=(r=c+y*u)+g*v)+g*m,a=b;break;default:t=r=e.coordinate,a=(n=(o=s+y*f)+g*v)+g*m,i=b}return{line:{x1:t,y1:n,x2:r,y2:o},tick:{x:i,y:a}}}},{key:"getTickTextAnchor",value:function(){var e,t=this.props,r=t.orientation,n=t.mirror;switch(r){case"left":e=n?"start":"end";break;case"right":e=n?"end":"start";break;default:e="middle"}return e}},{key:"getTickVerticalAnchor",value:function(){var e=this.props,t=e.orientation,r=e.mirror,n="end";switch(t){case"left":case"right":n="middle";break;case"top":n=r?"start":"end";break;default:n=r?"end":"start"}return n}},{key:"renderAxisLine",value:function(){var e=this.props,t=e.x,r=e.y,o=e.width,i=e.height,a=e.orientation,s=e.mirror,u=e.axisLine,f=A(A(A({},(0,y.J9)(this.props,!1)),(0,y.J9)(u,!1)),{},{fill:"none"});if("top"===a||"bottom"===a){var p=+("top"===a&&!s||"bottom"===a&&s);f=A(A({},f),{},{x1:t,y1:r+p*i,x2:t+o,y2:r+p*i})}else{var d=+("left"===a&&!s||"right"===a&&s);f=A(A({},f),{},{x1:t+d*o,y1:r,x2:t+d*o,y2:r+i})}return n.createElement("line",w({},f,{className:(0,c.A)("recharts-cartesian-axis-line",l()(u,"className"))}))}},{key:"renderTicks",value:function(e,t,r){var a=this,s=this.props,f=s.tickLine,p=s.stroke,d=s.tick,g=s.tickFormatter,v=s.unit,b=(0,m.f)(A(A({},this.props),{},{ticks:e}),t,r),x=this.getTickTextAnchor(),O=this.getTickVerticalAnchor(),k=(0,y.J9)(this.props,!1),S=(0,y.J9)(d,!1),E=A(A({},k),{},{fill:"none"},(0,y.J9)(f,!1)),j=b.map(function(e,t){var r=a.getTickLineCoord(e),s=r.line,y=r.tick,m=A(A(A(A({textAnchor:x,verticalAnchor:O},k),{},{stroke:"none",fill:p},S),y),{},{index:t,payload:e,visibleTicksCount:b.length,tickFormatter:g});return n.createElement(u.W,w({className:"recharts-cartesian-axis-tick",key:"tick-".concat(e.value,"-").concat(e.coordinate,"-").concat(e.tickCoord)},(0,h.XC)(a.props,e,t)),f&&n.createElement("line",w({},E,s,{className:(0,c.A)("recharts-cartesian-axis-tick-line",l()(f,"className"))})),d&&o.renderTickItem(d,m,"".concat(i()(g)?g(e.value,t):e.value).concat(v||"")))});return n.createElement("g",{className:"recharts-cartesian-axis-ticks"},j)}},{key:"render",value:function(){var e=this,t=this.props,r=t.axisLine,o=t.width,a=t.height,l=t.ticksGenerator,s=t.className;if(t.hide)return null;var f=this.props,d=f.ticks,h=k(f,b),y=d;return(i()(l)&&(y=l(d&&d.length>0?this.props:h)),o<=0||a<=0||!y||!y.length)?null:n.createElement(u.W,{className:(0,c.A)("recharts-cartesian-axis",s),ref:function(t){e.layerReference=t}},r&&this.renderAxisLine(),this.renderTicks(y,this.state.fontSize,this.state.letterSpacing),p.J.renderCallByParent(this.props))}}],r=[{key:"renderTickItem",value:function(e,t,r){var o=(0,c.A)(t.className,"recharts-cartesian-axis-tick-value");return n.isValidElement(e)?n.cloneElement(e,A(A({},t),{},{className:o})):i()(e)?e(A(A({},t),{},{className:o})):n.createElement(f.E,w({},t,{className:"recharts-cartesian-axis-tick-value"}),r)}}],t&&S(o.prototype,t),r&&S(o,r),Object.defineProperty(o,"prototype",{writable:!1}),o}(n.Component);T(M,"displayName","CartesianAxis"),T(M,"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"})},22740:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{bindSnapshot:function(){return a},createAsyncLocalStorage:function(){return i},createSnapshot:function(){return l}});let r=Object.defineProperty(Error("Invariant: AsyncLocalStorage accessed in runtime where it is not available"),"__NEXT_ERROR_CODE",{value:"E504",enumerable:!1,configurable:!0});class n{disable(){throw r}getStore(){}run(){throw r}exit(){throw r}enterWith(){throw r}static bind(e){return e}}let o="undefined"!=typeof globalThis&&globalThis.AsyncLocalStorage;function i(){return o?new o:new n}function a(e){return o?o.bind(e):n.bind(e)}function l(){return o?o.snapshot():function(e,...t){return e(...t)}}},23473:e=>{e.exports=function(e){var t=-1,r=Array(e.size);return e.forEach(function(e){r[++t]=e}),r}},24353:(e,t,r)=>{"use strict";r.d(t,{QP:()=>ep});let n=(e=new Map,t=null,r)=>({nextPart:e,validators:t,classGroupId:r}),o=[],i=(e,t,r)=>{if(0==e.length-t)return r.classGroupId;let n=e[t],o=r.nextPart.get(n);if(o){let r=i(e,t+1,o);if(r)return r}let a=r.validators;if(null===a)return;let l=0===t?e.join("-"):e.slice(t).join("-"),c=a.length;for(let e=0;e<c;e++){let t=a[e];if(t.validator(l))return t.classGroupId}},a=(e,t)=>{let r=n();for(let n in e)l(e[n],r,n,t);return r},l=(e,t,r,n)=>{let o=e.length;for(let i=0;i<o;i++)c(e[i],t,r,n)},c=(e,t,r,n)=>"string"==typeof e?void s(e,t,r):"function"==typeof e?void u(e,t,r,n):void f(e,t,r,n),s=(e,t,r)=>{(""===e?t:p(t,e)).classGroupId=r},u=(e,t,r,n)=>{if(d(e))return void l(e(n),t,r,n);null===t.validators&&(t.validators=[]),t.validators.push({classGroupId:r,validator:e})},f=(e,t,r,n)=>{let o=Object.entries(e),i=o.length;for(let e=0;e<i;e++){let[i,a]=o[e];l(a,p(t,i),r,n)}},p=(e,t)=>{let r=e,o=t.split("-"),i=o.length;for(let e=0;e<i;e++){let t=o[e],i=r.nextPart.get(t);i||(i=n(),r.nextPart.set(t,i)),r=i}return r},d=e=>"isThemeGetter"in e&&!0===e.isThemeGetter,h=[],y=(e,t,r,n,o)=>({modifiers:e,hasImportantModifier:t,baseClassName:r,maybePostfixModifierPosition:n,isExternal:o}),m=/\s+/,g=e=>{let t;if("string"==typeof e)return e;let r="";for(let n=0;n<e.length;n++)e[n]&&(t=g(e[n]))&&(r&&(r+=" "),r+=t);return r},v=[],b=e=>{let t=t=>t[e]||v;return t.isThemeGetter=!0,t},x=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,w=/^\((?:(\w[\w-]*):)?(.+)\)$/i,O=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,A=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,k=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,S=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,E=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,j=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,P=e=>O.test(e),T=e=>!!e&&!Number.isNaN(Number(e)),_=e=>!!e&&Number.isInteger(Number(e)),M=e=>e.endsWith("%")&&T(e.slice(0,-1)),C=e=>A.test(e),I=()=>!0,N=e=>k.test(e)&&!S.test(e),D=()=>!1,R=e=>E.test(e),L=e=>j.test(e),F=e=>!z(e)&&!K(e),B=e=>er(e,ea,D),z=e=>x.test(e),$=e=>er(e,el,N),U=e=>er(e,ec,T),W=e=>er(e,eu,I),G=e=>er(e,es,D),H=e=>er(e,eo,D),q=e=>er(e,ei,L),V=e=>er(e,ef,R),K=e=>w.test(e),X=e=>en(e,el),Z=e=>en(e,es),Y=e=>en(e,eo),J=e=>en(e,ea),Q=e=>en(e,ei),ee=e=>en(e,ef,!0),et=e=>en(e,eu,!0),er=(e,t,r)=>{let n=x.exec(e);return!!n&&(n[1]?t(n[1]):r(n[2]))},en=(e,t,r=!1)=>{let n=w.exec(e);return!!n&&(n[1]?t(n[1]):r)},eo=e=>"position"===e||"percentage"===e,ei=e=>"image"===e||"url"===e,ea=e=>"length"===e||"size"===e||"bg-size"===e,el=e=>"length"===e,ec=e=>"number"===e,es=e=>"family-name"===e,eu=e=>"number"===e||"weight"===e,ef=e=>"shadow"===e;Symbol.toStringTag;let ep=((e,...t)=>{let r,n,l,c,s=e=>{let t=n(e);if(t)return t;let o=((e,t)=>{let{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:o,sortModifiers:i}=t,a=[],l=e.trim().split(m),c="";for(let e=l.length-1;e>=0;e-=1){let t=l[e],{isExternal:s,modifiers:u,hasImportantModifier:f,baseClassName:p,maybePostfixModifierPosition:d}=r(t);if(s){c=t+(c.length>0?" "+c:c);continue}let h=!!d,y=n(h?p.substring(0,d):p);if(!y){if(!h||!(y=n(p))){c=t+(c.length>0?" "+c:c);continue}h=!1}let m=0===u.length?"":1===u.length?u[0]:i(u).join(":"),g=f?m+"!":m,v=g+y;if(a.indexOf(v)>-1)continue;a.push(v);let b=o(y,h);for(let e=0;e<b.length;++e){let t=b[e];a.push(g+t)}c=t+(c.length>0?" "+c:c)}return c})(e,r);return l(e,o),o};return c=u=>(n=(r=(e=>({cache:(e=>{if(e<1)return{get:()=>void 0,set:()=>{}};let t=0,r=Object.create(null),n=Object.create(null),o=(o,i)=>{r[o]=i,++t>e&&(t=0,n=r,r=Object.create(null))};return{get(e){let t=r[e];return void 0!==t?t:void 0!==(t=n[e])?(o(e,t),t):void 0},set(e,t){e in r?r[e]=t:o(e,t)}}})(e.cacheSize),parseClassName:(e=>{let{prefix:t,experimentalParseClassName:r}=e,n=e=>{let t,r=[],n=0,o=0,i=0,a=e.length;for(let l=0;l<a;l++){let a=e[l];if(0===n&&0===o){if(":"===a){r.push(e.slice(i,l)),i=l+1;continue}if("/"===a){t=l;continue}}"["===a?n++:"]"===a?n--:"("===a?o++:")"===a&&o--}let l=0===r.length?e:e.slice(i),c=l,s=!1;return l.endsWith("!")?(c=l.slice(0,-1),s=!0):l.startsWith("!")&&(c=l.slice(1),s=!0),y(r,s,c,t&&t>i?t-i:void 0)};if(t){let e=t+":",r=n;n=t=>t.startsWith(e)?r(t.slice(e.length)):y(h,!1,t,void 0,!0)}if(r){let e=n;n=t=>r({className:t,parseClassName:e})}return n})(e),sortModifiers:(e=>{let t=new Map;return e.orderSensitiveModifiers.forEach((e,r)=>{t.set(e,1e6+r)}),e=>{let r=[],n=[];for(let o=0;o<e.length;o++){let i=e[o],a="["===i[0],l=t.has(i);a||l?(n.length>0&&(n.sort(),r.push(...n),n=[]),r.push(i)):n.push(i)}return n.length>0&&(n.sort(),r.push(...n)),r}})(e),...(e=>{let t=(e=>{let{theme:t,classGroups:r}=e;return a(r,t)})(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:e=>{if(e.startsWith("[")&&e.endsWith("]"))return(e=>-1===e.slice(1,-1).indexOf(":")?void 0:(()=>{let t=e.slice(1,-1),r=t.indexOf(":"),n=t.slice(0,r);return n?"arbitrary.."+n:void 0})())(e);let r=e.split("-"),n=+(""===r[0]&&r.length>1);return i(r,n,t)},getConflictingClassGroupIds:(e,t)=>{if(t){let t=n[e],i=r[e];return t?i?((e,t)=>{let r=Array(e.length+t.length);for(let t=0;t<e.length;t++)r[t]=e[t];for(let n=0;n<t.length;n++)r[e.length+n]=t[n];return r})(i,t):t:i||o}return r[e]||o}}})(e)}))(t.reduce((e,t)=>t(e),e()))).cache.get,l=r.cache.set,c=s,s(u)),(...e)=>c(((...e)=>{let t,r,n=0,o="";for(;n<e.length;)(t=e[n++])&&(r=g(t))&&(o&&(o+=" "),o+=r);return o})(...e))})(()=>{let e=b("color"),t=b("font"),r=b("text"),n=b("font-weight"),o=b("tracking"),i=b("leading"),a=b("breakpoint"),l=b("container"),c=b("spacing"),s=b("radius"),u=b("shadow"),f=b("inset-shadow"),p=b("text-shadow"),d=b("drop-shadow"),h=b("blur"),y=b("perspective"),m=b("aspect"),g=b("ease"),v=b("animate"),x=()=>["auto","avoid","all","avoid-page","page","left","right","column"],w=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],O=()=>[...w(),K,z],A=()=>["auto","hidden","clip","visible","scroll"],k=()=>["auto","contain","none"],S=()=>[K,z,c],E=()=>[P,"full","auto",...S()],j=()=>[_,"none","subgrid",K,z],N=()=>["auto",{span:["full",_,K,z]},_,K,z],D=()=>[_,"auto",K,z],R=()=>["auto","min","max","fr",K,z],L=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],er=()=>["start","end","center","stretch","center-safe","end-safe"],en=()=>["auto",...S()],eo=()=>[P,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...S()],ei=()=>[P,"screen","full","dvw","lvw","svw","min","max","fit",...S()],ea=()=>[P,"screen","full","lh","dvh","lvh","svh","min","max","fit",...S()],el=()=>[e,K,z],ec=()=>[...w(),Y,H,{position:[K,z]}],es=()=>["no-repeat",{repeat:["","x","y","space","round"]}],eu=()=>["auto","cover","contain",J,B,{size:[K,z]}],ef=()=>[M,X,$],ep=()=>["","none","full",s,K,z],ed=()=>["",T,X,$],eh=()=>["solid","dashed","dotted","double"],ey=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],em=()=>[T,M,Y,H],eg=()=>["","none",h,K,z],ev=()=>["none",T,K,z],eb=()=>["none",T,K,z],ex=()=>[T,K,z],ew=()=>[P,"full",...S()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[C],breakpoint:[C],color:[I],container:[C],"drop-shadow":[C],ease:["in","out","in-out"],font:[F],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[C],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[C],shadow:[C],spacing:["px",T],text:[C],"text-shadow":[C],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",P,z,K,m]}],container:["container"],columns:[{columns:[T,z,K,l]}],"break-after":[{"break-after":x()}],"break-before":[{"break-before":x()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:O()}],overflow:[{overflow:A()}],"overflow-x":[{"overflow-x":A()}],"overflow-y":[{"overflow-y":A()}],overscroll:[{overscroll:k()}],"overscroll-x":[{"overscroll-x":k()}],"overscroll-y":[{"overscroll-y":k()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:E()}],"inset-x":[{"inset-x":E()}],"inset-y":[{"inset-y":E()}],start:[{"inset-s":E(),start:E()}],end:[{"inset-e":E(),end:E()}],"inset-bs":[{"inset-bs":E()}],"inset-be":[{"inset-be":E()}],top:[{top:E()}],right:[{right:E()}],bottom:[{bottom:E()}],left:[{left:E()}],visibility:["visible","invisible","collapse"],z:[{z:[_,"auto",K,z]}],basis:[{basis:[P,"full","auto",l,...S()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[T,P,"auto","initial","none",z]}],grow:[{grow:["",T,K,z]}],shrink:[{shrink:["",T,K,z]}],order:[{order:[_,"first","last","none",K,z]}],"grid-cols":[{"grid-cols":j()}],"col-start-end":[{col:N()}],"col-start":[{"col-start":D()}],"col-end":[{"col-end":D()}],"grid-rows":[{"grid-rows":j()}],"row-start-end":[{row:N()}],"row-start":[{"row-start":D()}],"row-end":[{"row-end":D()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":R()}],"auto-rows":[{"auto-rows":R()}],gap:[{gap:S()}],"gap-x":[{"gap-x":S()}],"gap-y":[{"gap-y":S()}],"justify-content":[{justify:[...L(),"normal"]}],"justify-items":[{"justify-items":[...er(),"normal"]}],"justify-self":[{"justify-self":["auto",...er()]}],"align-content":[{content:["normal",...L()]}],"align-items":[{items:[...er(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...er(),{baseline:["","last"]}]}],"place-content":[{"place-content":L()}],"place-items":[{"place-items":[...er(),"baseline"]}],"place-self":[{"place-self":["auto",...er()]}],p:[{p:S()}],px:[{px:S()}],py:[{py:S()}],ps:[{ps:S()}],pe:[{pe:S()}],pbs:[{pbs:S()}],pbe:[{pbe:S()}],pt:[{pt:S()}],pr:[{pr:S()}],pb:[{pb:S()}],pl:[{pl:S()}],m:[{m:en()}],mx:[{mx:en()}],my:[{my:en()}],ms:[{ms:en()}],me:[{me:en()}],mbs:[{mbs:en()}],mbe:[{mbe:en()}],mt:[{mt:en()}],mr:[{mr:en()}],mb:[{mb:en()}],ml:[{ml:en()}],"space-x":[{"space-x":S()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":S()}],"space-y-reverse":["space-y-reverse"],size:[{size:eo()}],"inline-size":[{inline:["auto",...ei()]}],"min-inline-size":[{"min-inline":["auto",...ei()]}],"max-inline-size":[{"max-inline":["none",...ei()]}],"block-size":[{block:["auto",...ea()]}],"min-block-size":[{"min-block":["auto",...ea()]}],"max-block-size":[{"max-block":["none",...ea()]}],w:[{w:[l,"screen",...eo()]}],"min-w":[{"min-w":[l,"screen","none",...eo()]}],"max-w":[{"max-w":[l,"screen","none","prose",{screen:[a]},...eo()]}],h:[{h:["screen","lh",...eo()]}],"min-h":[{"min-h":["screen","lh","none",...eo()]}],"max-h":[{"max-h":["screen","lh",...eo()]}],"font-size":[{text:["base",r,X,$]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[n,et,W]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",M,z]}],"font-family":[{font:[Z,G,t]}],"font-features":[{"font-features":[z]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[o,K,z]}],"line-clamp":[{"line-clamp":[T,"none",K,U]}],leading:[{leading:[i,...S()]}],"list-image":[{"list-image":["none",K,z]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",K,z]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:el()}],"text-color":[{text:el()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...eh(),"wavy"]}],"text-decoration-thickness":[{decoration:[T,"from-font","auto",K,$]}],"text-decoration-color":[{decoration:el()}],"underline-offset":[{"underline-offset":[T,"auto",K,z]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:S()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",K,z]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",K,z]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:ec()}],"bg-repeat":[{bg:es()}],"bg-size":[{bg:eu()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},_,K,z],radial:["",K,z],conic:[_,K,z]},Q,q]}],"bg-color":[{bg:el()}],"gradient-from-pos":[{from:ef()}],"gradient-via-pos":[{via:ef()}],"gradient-to-pos":[{to:ef()}],"gradient-from":[{from:el()}],"gradient-via":[{via:el()}],"gradient-to":[{to:el()}],rounded:[{rounded:ep()}],"rounded-s":[{"rounded-s":ep()}],"rounded-e":[{"rounded-e":ep()}],"rounded-t":[{"rounded-t":ep()}],"rounded-r":[{"rounded-r":ep()}],"rounded-b":[{"rounded-b":ep()}],"rounded-l":[{"rounded-l":ep()}],"rounded-ss":[{"rounded-ss":ep()}],"rounded-se":[{"rounded-se":ep()}],"rounded-ee":[{"rounded-ee":ep()}],"rounded-es":[{"rounded-es":ep()}],"rounded-tl":[{"rounded-tl":ep()}],"rounded-tr":[{"rounded-tr":ep()}],"rounded-br":[{"rounded-br":ep()}],"rounded-bl":[{"rounded-bl":ep()}],"border-w":[{border:ed()}],"border-w-x":[{"border-x":ed()}],"border-w-y":[{"border-y":ed()}],"border-w-s":[{"border-s":ed()}],"border-w-e":[{"border-e":ed()}],"border-w-bs":[{"border-bs":ed()}],"border-w-be":[{"border-be":ed()}],"border-w-t":[{"border-t":ed()}],"border-w-r":[{"border-r":ed()}],"border-w-b":[{"border-b":ed()}],"border-w-l":[{"border-l":ed()}],"divide-x":[{"divide-x":ed()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":ed()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...eh(),"hidden","none"]}],"divide-style":[{divide:[...eh(),"hidden","none"]}],"border-color":[{border:el()}],"border-color-x":[{"border-x":el()}],"border-color-y":[{"border-y":el()}],"border-color-s":[{"border-s":el()}],"border-color-e":[{"border-e":el()}],"border-color-bs":[{"border-bs":el()}],"border-color-be":[{"border-be":el()}],"border-color-t":[{"border-t":el()}],"border-color-r":[{"border-r":el()}],"border-color-b":[{"border-b":el()}],"border-color-l":[{"border-l":el()}],"divide-color":[{divide:el()}],"outline-style":[{outline:[...eh(),"none","hidden"]}],"outline-offset":[{"outline-offset":[T,K,z]}],"outline-w":[{outline:["",T,X,$]}],"outline-color":[{outline:el()}],shadow:[{shadow:["","none",u,ee,V]}],"shadow-color":[{shadow:el()}],"inset-shadow":[{"inset-shadow":["none",f,ee,V]}],"inset-shadow-color":[{"inset-shadow":el()}],"ring-w":[{ring:ed()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:el()}],"ring-offset-w":[{"ring-offset":[T,$]}],"ring-offset-color":[{"ring-offset":el()}],"inset-ring-w":[{"inset-ring":ed()}],"inset-ring-color":[{"inset-ring":el()}],"text-shadow":[{"text-shadow":["none",p,ee,V]}],"text-shadow-color":[{"text-shadow":el()}],opacity:[{opacity:[T,K,z]}],"mix-blend":[{"mix-blend":[...ey(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":ey()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[T]}],"mask-image-linear-from-pos":[{"mask-linear-from":em()}],"mask-image-linear-to-pos":[{"mask-linear-to":em()}],"mask-image-linear-from-color":[{"mask-linear-from":el()}],"mask-image-linear-to-color":[{"mask-linear-to":el()}],"mask-image-t-from-pos":[{"mask-t-from":em()}],"mask-image-t-to-pos":[{"mask-t-to":em()}],"mask-image-t-from-color":[{"mask-t-from":el()}],"mask-image-t-to-color":[{"mask-t-to":el()}],"mask-image-r-from-pos":[{"mask-r-from":em()}],"mask-image-r-to-pos":[{"mask-r-to":em()}],"mask-image-r-from-color":[{"mask-r-from":el()}],"mask-image-r-to-color":[{"mask-r-to":el()}],"mask-image-b-from-pos":[{"mask-b-from":em()}],"mask-image-b-to-pos":[{"mask-b-to":em()}],"mask-image-b-from-color":[{"mask-b-from":el()}],"mask-image-b-to-color":[{"mask-b-to":el()}],"mask-image-l-from-pos":[{"mask-l-from":em()}],"mask-image-l-to-pos":[{"mask-l-to":em()}],"mask-image-l-from-color":[{"mask-l-from":el()}],"mask-image-l-to-color":[{"mask-l-to":el()}],"mask-image-x-from-pos":[{"mask-x-from":em()}],"mask-image-x-to-pos":[{"mask-x-to":em()}],"mask-image-x-from-color":[{"mask-x-from":el()}],"mask-image-x-to-color":[{"mask-x-to":el()}],"mask-image-y-from-pos":[{"mask-y-from":em()}],"mask-image-y-to-pos":[{"mask-y-to":em()}],"mask-image-y-from-color":[{"mask-y-from":el()}],"mask-image-y-to-color":[{"mask-y-to":el()}],"mask-image-radial":[{"mask-radial":[K,z]}],"mask-image-radial-from-pos":[{"mask-radial-from":em()}],"mask-image-radial-to-pos":[{"mask-radial-to":em()}],"mask-image-radial-from-color":[{"mask-radial-from":el()}],"mask-image-radial-to-color":[{"mask-radial-to":el()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":w()}],"mask-image-conic-pos":[{"mask-conic":[T]}],"mask-image-conic-from-pos":[{"mask-conic-from":em()}],"mask-image-conic-to-pos":[{"mask-conic-to":em()}],"mask-image-conic-from-color":[{"mask-conic-from":el()}],"mask-image-conic-to-color":[{"mask-conic-to":el()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:ec()}],"mask-repeat":[{mask:es()}],"mask-size":[{mask:eu()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",K,z]}],filter:[{filter:["","none",K,z]}],blur:[{blur:eg()}],brightness:[{brightness:[T,K,z]}],contrast:[{contrast:[T,K,z]}],"drop-shadow":[{"drop-shadow":["","none",d,ee,V]}],"drop-shadow-color":[{"drop-shadow":el()}],grayscale:[{grayscale:["",T,K,z]}],"hue-rotate":[{"hue-rotate":[T,K,z]}],invert:[{invert:["",T,K,z]}],saturate:[{saturate:[T,K,z]}],sepia:[{sepia:["",T,K,z]}],"backdrop-filter":[{"backdrop-filter":["","none",K,z]}],"backdrop-blur":[{"backdrop-blur":eg()}],"backdrop-brightness":[{"backdrop-brightness":[T,K,z]}],"backdrop-contrast":[{"backdrop-contrast":[T,K,z]}],"backdrop-grayscale":[{"backdrop-grayscale":["",T,K,z]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[T,K,z]}],"backdrop-invert":[{"backdrop-invert":["",T,K,z]}],"backdrop-opacity":[{"backdrop-opacity":[T,K,z]}],"backdrop-saturate":[{"backdrop-saturate":[T,K,z]}],"backdrop-sepia":[{"backdrop-sepia":["",T,K,z]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":S()}],"border-spacing-x":[{"border-spacing-x":S()}],"border-spacing-y":[{"border-spacing-y":S()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",K,z]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[T,"initial",K,z]}],ease:[{ease:["linear","initial",g,K,z]}],delay:[{delay:[T,K,z]}],animate:[{animate:["none",v,K,z]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[y,K,z]}],"perspective-origin":[{"perspective-origin":O()}],rotate:[{rotate:ev()}],"rotate-x":[{"rotate-x":ev()}],"rotate-y":[{"rotate-y":ev()}],"rotate-z":[{"rotate-z":ev()}],scale:[{scale:eb()}],"scale-x":[{"scale-x":eb()}],"scale-y":[{"scale-y":eb()}],"scale-z":[{"scale-z":eb()}],"scale-3d":["scale-3d"],skew:[{skew:ex()}],"skew-x":[{"skew-x":ex()}],"skew-y":[{"skew-y":ex()}],transform:[{transform:[K,z,"","none","gpu","cpu"]}],"transform-origin":[{origin:O()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:ew()}],"translate-x":[{"translate-x":ew()}],"translate-y":[{"translate-y":ew()}],"translate-z":[{"translate-z":ew()}],"translate-none":["translate-none"],accent:[{accent:el()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:el()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",K,z]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":S()}],"scroll-mx":[{"scroll-mx":S()}],"scroll-my":[{"scroll-my":S()}],"scroll-ms":[{"scroll-ms":S()}],"scroll-me":[{"scroll-me":S()}],"scroll-mbs":[{"scroll-mbs":S()}],"scroll-mbe":[{"scroll-mbe":S()}],"scroll-mt":[{"scroll-mt":S()}],"scroll-mr":[{"scroll-mr":S()}],"scroll-mb":[{"scroll-mb":S()}],"scroll-ml":[{"scroll-ml":S()}],"scroll-p":[{"scroll-p":S()}],"scroll-px":[{"scroll-px":S()}],"scroll-py":[{"scroll-py":S()}],"scroll-ps":[{"scroll-ps":S()}],"scroll-pe":[{"scroll-pe":S()}],"scroll-pbs":[{"scroll-pbs":S()}],"scroll-pbe":[{"scroll-pbe":S()}],"scroll-pt":[{"scroll-pt":S()}],"scroll-pr":[{"scroll-pr":S()}],"scroll-pb":[{"scroll-pb":S()}],"scroll-pl":[{"scroll-pl":S()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",K,z]}],fill:[{fill:["none",...el()]}],"stroke-w":[{stroke:[T,X,$,U]}],stroke:[{stroke:["none",...el()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}})},24425:(e,t,r)=>{var n=r(17831);e.exports=function(e){return n(this.__data__,e)>-1}},24453:(e,t,r)=>{"use strict";r.d(t,{Dc:()=>c,TL:()=>a});var n=r(44213),o=r(86219),i=r(59697);function a(e){let t=function(e){let t=n.forwardRef((e,t)=>{let{children:r,...i}=e;if(n.isValidElement(r)){var a;let e,l,c=(a=r,(l=(e=Object.getOwnPropertyDescriptor(a.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?a.ref:(l=(e=Object.getOwnPropertyDescriptor(a,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?a.props.ref:a.props.ref||a.ref),s=function(e,t){let r={...t};for(let n in t){let o=e[n],i=t[n];/^on[A-Z]/.test(n)?o&&i?r[n]=(...e)=>{let t=i(...e);return o(...e),t}:o&&(r[n]=o):"style"===n?r[n]={...o,...i}:"className"===n&&(r[n]=[o,i].filter(Boolean).join(" "))}return{...e,...r}}(i,r.props);return r.type!==n.Fragment&&(s.ref=t?(0,o.t)(t,c):c),n.cloneElement(r,s)}return n.Children.count(r)>1?n.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}(e),r=n.forwardRef((e,r)=>{let{children:o,...a}=e,l=n.Children.toArray(o),c=l.find(s);if(c){let e=c.props.children,o=l.map(t=>t!==c?t:n.Children.count(e)>1?n.Children.only(null):n.isValidElement(e)?e.props.children:null);return(0,i.jsx)(t,{...a,ref:r,children:n.isValidElement(e)?n.cloneElement(e,void 0,o):null})}return(0,i.jsx)(t,{...a,ref:r,children:o})});return r.displayName=`${e}.Slot`,r}var l=Symbol("radix.slottable");function c(e){let t=({children:e})=>(0,i.jsx)(i.Fragment,{children:e});return t.displayName=`${e}.Slottable`,t.__radixId=l,t}function s(e){return n.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===l}},24637:(e,t,r)=>{e.exports=r(29366)(r(52811),"Set")},25155:(e,t,r)=>{e.exports=r(29366)(r(52811),"WeakMap")},25202:(e,t,r)=>{"use strict";r.d(t,{d:()=>T});var n=r(44213),o=r(8898),i=r.n(o),a=r(76307),l=r(20681),c=r(36404),s=r(35223),u=r(52119),f=r(22079),p=r(42506),d=["x1","y1","x2","y2","key"],h=["offset"];function y(e){return(y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function m(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function g(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?m(Object(r),!0).forEach(function(t){var n,o,i;n=e,o=t,i=r[t],(o=function(e){var t=function(e,t){if("object"!=y(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=y(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==y(t)?t:t+""}(o))in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):m(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function v(){return(v=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function b(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var x=function(e){var t=e.fill;if(!t||"none"===t)return null;var r=e.fillOpacity,o=e.x,i=e.y,a=e.width,l=e.height,c=e.ry;return n.createElement("rect",{x:o,y:i,ry:c,width:a,height:l,stroke:"none",fill:t,fillOpacity:r,className:"recharts-cartesian-grid-bg"})};function w(e,t){var r;if(n.isValidElement(e))r=n.cloneElement(e,t);else if(i()(e))r=e(t);else{var o=t.x1,a=t.y1,l=t.x2,s=t.y2,u=t.key,f=b(t,d),p=(0,c.J9)(f,!1),y=(p.offset,b(p,h));r=n.createElement("line",v({},y,{x1:o,y1:a,x2:l,y2:s,fill:"none",key:u}))}return r}function O(e){var t=e.x,r=e.width,o=e.horizontal,i=void 0===o||o,a=e.horizontalPoints;if(!i||!a||!a.length)return null;var l=a.map(function(n,o){return w(i,g(g({},e),{},{x1:t,y1:n,x2:t+r,y2:n,key:"line-".concat(o),index:o}))});return n.createElement("g",{className:"recharts-cartesian-grid-horizontal"},l)}function A(e){var t=e.y,r=e.height,o=e.vertical,i=void 0===o||o,a=e.verticalPoints;if(!i||!a||!a.length)return null;var l=a.map(function(n,o){return w(i,g(g({},e),{},{x1:n,y1:t,x2:n,y2:t+r,key:"line-".concat(o),index:o}))});return n.createElement("g",{className:"recharts-cartesian-grid-vertical"},l)}function k(e){var t=e.horizontalFill,r=e.fillOpacity,o=e.x,i=e.y,a=e.width,l=e.height,c=e.horizontalPoints,s=e.horizontal;if(!(void 0===s||s)||!t||!t.length)return null;var u=c.map(function(e){return Math.round(e+i-i)}).sort(function(e,t){return e-t});i!==u[0]&&u.unshift(0);var f=u.map(function(e,c){var s=u[c+1]?u[c+1]-e:i+l-e;if(s<=0)return null;var f=c%t.length;return n.createElement("rect",{key:"react-".concat(c),y:e,x:o,height:s,width:a,stroke:"none",fill:t[f],fillOpacity:r,className:"recharts-cartesian-grid-bg"})});return n.createElement("g",{className:"recharts-cartesian-gridstripes-horizontal"},f)}function S(e){var t=e.vertical,r=e.verticalFill,o=e.fillOpacity,i=e.x,a=e.y,l=e.width,c=e.height,s=e.verticalPoints;if(!(void 0===t||t)||!r||!r.length)return null;var u=s.map(function(e){return Math.round(e+i-i)}).sort(function(e,t){return e-t});i!==u[0]&&u.unshift(0);var f=u.map(function(e,t){var s=u[t+1]?u[t+1]-e:i+l-e;if(s<=0)return null;var f=t%r.length;return n.createElement("rect",{key:"react-".concat(t),x:e,y:a,width:s,height:c,stroke:"none",fill:r[f],fillOpacity:o,className:"recharts-cartesian-grid-bg"})});return n.createElement("g",{className:"recharts-cartesian-gridstripes-vertical"},f)}var E=function(e,t){var r=e.xAxis,n=e.width,o=e.height,i=e.offset;return(0,s.PW)((0,u.f)(g(g(g({},f.u.defaultProps),r),{},{ticks:(0,s.Rh)(r,!0),viewBox:{x:0,y:0,width:n,height:o}})),i.left,i.left+i.width,t)},j=function(e,t){var r=e.yAxis,n=e.width,o=e.height,i=e.offset;return(0,s.PW)((0,u.f)(g(g(g({},f.u.defaultProps),r),{},{ticks:(0,s.Rh)(r,!0),viewBox:{x:0,y:0,width:n,height:o}})),i.top,i.top+i.height,t)},P={horizontal:!0,vertical:!0,stroke:"#ccc",fill:"none",verticalFill:[],horizontalFill:[]};function T(e){var t,r,o,c,s,u,f=(0,p.yi)(),d=(0,p.rY)(),h=(0,p.hj)(),m=g(g({},e),{},{stroke:null!=(t=e.stroke)?t:P.stroke,fill:null!=(r=e.fill)?r:P.fill,horizontal:null!=(o=e.horizontal)?o:P.horizontal,horizontalFill:null!=(c=e.horizontalFill)?c:P.horizontalFill,vertical:null!=(s=e.vertical)?s:P.vertical,verticalFill:null!=(u=e.verticalFill)?u:P.verticalFill,x:(0,l.Et)(e.x)?e.x:h.left,y:(0,l.Et)(e.y)?e.y:h.top,width:(0,l.Et)(e.width)?e.width:h.width,height:(0,l.Et)(e.height)?e.height:h.height}),b=m.x,w=m.y,T=m.width,_=m.height,M=m.syncWithTicks,C=m.horizontalValues,I=m.verticalValues,N=(0,p.pj)(),D=(0,p.$G)();if(!(0,l.Et)(T)||T<=0||!(0,l.Et)(_)||_<=0||!(0,l.Et)(b)||b!==+b||!(0,l.Et)(w)||w!==+w)return null;var R=m.verticalCoordinatesGenerator||E,L=m.horizontalCoordinatesGenerator||j,F=m.horizontalPoints,B=m.verticalPoints;if((!F||!F.length)&&i()(L)){var z=C&&C.length,$=L({yAxis:D?g(g({},D),{},{ticks:z?C:D.ticks}):void 0,width:f,height:d,offset:h},!!z||M);(0,a.R)(Array.isArray($),"horizontalCoordinatesGenerator should return Array but instead it returned [".concat(y($),"]")),Array.isArray($)&&(F=$)}if((!B||!B.length)&&i()(R)){var U=I&&I.length,W=R({xAxis:N?g(g({},N),{},{ticks:U?I:N.ticks}):void 0,width:f,height:d,offset:h},!!U||M);(0,a.R)(Array.isArray(W),"verticalCoordinatesGenerator should return Array but instead it returned [".concat(y(W),"]")),Array.isArray(W)&&(B=W)}return n.createElement("g",{className:"recharts-cartesian-grid"},n.createElement(x,{fill:m.fill,fillOpacity:m.fillOpacity,x:m.x,y:m.y,width:m.width,height:m.height,ry:m.ry}),n.createElement(O,v({},m,{offset:h,horizontalPoints:F,xAxis:N,yAxis:D})),n.createElement(A,v({},m,{offset:h,verticalPoints:B,xAxis:N,yAxis:D})),n.createElement(k,v({},m,{horizontalPoints:F})),n.createElement(S,v({},m,{verticalPoints:B})))}T.displayName="CartesianGrid"},25329:e=>{var t=Date.now;e.exports=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)}}},25591:(e,t,r)=>{var n=r(3924),o=r(45980),i=r(48325),a=r(24425),l=r(10377);function c(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}c.prototype.clear=n,c.prototype.delete=o,c.prototype.get=i,c.prototype.has=a,c.prototype.set=l,e.exports=c},25774:(e,t,r)=>{var n=r(28430),o=r(88777),i=r(16910),a=0/0,l=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,s=/^0o[0-7]+$/i,u=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(i(e))return a;if(o(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=o(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=n(e);var r=c.test(e);return r||s.test(e)?u(e.slice(2),r?2:8):l.test(e)?a:+e}},25847:(e,t,r)=>{var n=r(43870),o=r(65550);e.exports=function(e){return"number"==typeof e||o(e)&&"[object Number]"==n(e)}},25972:(e,t,r)=>{var n=r(32204);e.exports=function(){this.__data__=n?n(null):{},this.size=0}},26591:(e,t,r)=>{var n=r(72477),o=Math.max;e.exports=function(e,t,r){return t=o(void 0===t?e.length-1:t,0),function(){for(var i=arguments,a=-1,l=o(i.length-t,0),c=Array(l);++a<l;)c[a]=i[t+a];a=-1;for(var s=Array(t+1);++a<t;)s[a]=i[a];return s[t]=r(c),n(e,this,s)}}},26652:(e,t,r)=>{"use strict";r.d(t,{i:()=>I});var n=r(44213),o=r(56840),i=r.n(o);let a=Math.cos,l=Math.sin,c=Math.sqrt,s=Math.PI,u=2*s,f={draw(e,t){let r=c(t/s);e.moveTo(r,0),e.arc(0,0,r,0,u)}},p=c(1/3),d=2*p,h=l(s/10)/l(7*s/10),y=l(u/10)*h,m=-a(u/10)*h,g=c(3),v=c(3)/2,b=1/c(12),x=(b/2+1)*3;var w=r(75928),O=r(96780);c(3),c(3);var A=r(73138),k=r(36404);function S(e){return(S="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var E=["type","size","sizeType"];function j(){return(j=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function P(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function T(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?P(Object(r),!0).forEach(function(t){var n,o,i;n=e,o=t,i=r[t],(o=function(e){var t=function(e,t){if("object"!=S(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=S(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==S(t)?t:t+""}(o))in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):P(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var _={symbolCircle:f,symbolCross:{draw(e,t){let r=c(t/5)/2;e.moveTo(-3*r,-r),e.lineTo(-r,-r),e.lineTo(-r,-3*r),e.lineTo(r,-3*r),e.lineTo(r,-r),e.lineTo(3*r,-r),e.lineTo(3*r,r),e.lineTo(r,r),e.lineTo(r,3*r),e.lineTo(-r,3*r),e.lineTo(-r,r),e.lineTo(-3*r,r),e.closePath()}},symbolDiamond:{draw(e,t){let r=c(t/d),n=r*p;e.moveTo(0,-r),e.lineTo(n,0),e.lineTo(0,r),e.lineTo(-n,0),e.closePath()}},symbolSquare:{draw(e,t){let r=c(t),n=-r/2;e.rect(n,n,r,r)}},symbolStar:{draw(e,t){let r=c(.8908130915292852*t),n=y*r,o=m*r;e.moveTo(0,-r),e.lineTo(n,o);for(let t=1;t<5;++t){let i=u*t/5,c=a(i),s=l(i);e.lineTo(s*r,-c*r),e.lineTo(c*n-s*o,s*n+c*o)}e.closePath()}},symbolTriangle:{draw(e,t){let r=-c(t/(3*g));e.moveTo(0,2*r),e.lineTo(-g*r,-r),e.lineTo(g*r,-r),e.closePath()}},symbolWye:{draw(e,t){let r=c(t/x),n=r/2,o=r*b,i=r*b+r,a=-n;e.moveTo(n,o),e.lineTo(n,i),e.lineTo(a,i),e.lineTo(-.5*n-v*o,v*n+-.5*o),e.lineTo(-.5*n-v*i,v*n+-.5*i),e.lineTo(-.5*a-v*i,v*a+-.5*i),e.lineTo(-.5*n+v*o,-.5*o-v*n),e.lineTo(-.5*n+v*i,-.5*i-v*n),e.lineTo(-.5*a+v*i,-.5*i-v*a),e.closePath()}}},M=Math.PI/180,C=function(e,t,r){if("area"===t)return e;switch(r){case"cross":return 5*e*e/9;case"diamond":return .5*e*e/Math.sqrt(3);case"square":return e*e;case"star":var n=18*M;return 1.25*e*e*(Math.tan(n)-Math.tan(2*n)*Math.pow(Math.tan(n),2));case"triangle":return Math.sqrt(3)*e*e/4;case"wye":return(21-10*Math.sqrt(3))*e*e/8;default:return Math.PI*e*e/4}},I=function(e){var t,r=e.type,o=void 0===r?"circle":r,a=e.size,l=void 0===a?64:a,c=e.sizeType,s=void 0===c?"area":c,u=T(T({},function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,E)),{},{type:o,size:l,sizeType:s}),p=u.className,d=u.cx,h=u.cy,y=(0,k.J9)(u,!0);return d===+d&&h===+h&&l===+l?n.createElement("path",j({},y,{className:(0,A.A)("recharts-symbols",p),transform:"translate(".concat(d,", ").concat(h,")"),d:(t=_["symbol".concat(i()(o))]||f,(function(e,t){let r=null,n=(0,O.i)(o);function o(){let o;if(r||(r=o=n()),e.apply(this,arguments).draw(r,+t.apply(this,arguments)),o)return r=null,o+""||null}return e="function"==typeof e?e:(0,w.A)(e||f),t="function"==typeof t?t:(0,w.A)(void 0===t?64:+t),o.type=function(t){return arguments.length?(e="function"==typeof t?t:(0,w.A)(t),o):e},o.size=function(e){return arguments.length?(t="function"==typeof e?e:(0,w.A)(+e),o):t},o.context=function(e){return arguments.length?(r=null==e?null:e,o):r},o})().type(t).size(C(l,s,o))())})):null};I.registerSymbol=function(e,t){_["symbol".concat(i()(e))]=t}},26800:(e,t,r)=>{var n=r(14819),o=r(80060),i=r(48454);e.exports=function(e){return function(t,r,a){var l=Object(t);if(!o(t)){var c=n(r,3);t=i(t),r=function(e){return c(l[e],e,l)}}var s=e(t,r,a);return s>-1?l[c?t[s]:s]:void 0}}},27629:(e,t,r)=>{var n=r(51326);e.exports=function(e){return function(t){return n(t,e)}}},27719:e=>{e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},27811:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(91485).A)("code-xml",[["path",{d:"m18 16 4-4-4-4",key:"1inbqp"}],["path",{d:"m6 8-4 4 4 4",key:"15zrgr"}],["path",{d:"m14.5 4-5 16",key:"e7oirm"}]])},27835:(e,t,r)=>{"use strict";r.d(t,{y:()=>z});var n=r(44213),o=r(73138),i=r(1687),a=r(57874),l=r.n(a),c=r(6513),s=r.n(c),u=r(79164),f=r(35083),p=r(30283),d=r(56415),h=r(20681),y=r(36404),m=r(98363),g=r(35223),v=r(285),b=r(8919),x=r(55754),w=["x","y"];function O(e){return(O="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function A(){return(A=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function k(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function S(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?k(Object(r),!0).forEach(function(t){var n,o,i;n=e,o=t,i=r[t],(o=function(e){var t=function(e,t){if("object"!=O(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=O(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==O(t)?t:t+""}(o))in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):k(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function E(e,t){var r=e.x,n=e.y,o=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,w),i=parseInt("".concat(r),10),a=parseInt("".concat(n),10),l=parseInt("".concat(t.height||o.height),10),c=parseInt("".concat(t.width||o.width),10);return S(S(S(S(S({},t),o),i?{x:i}:{}),a?{y:a}:{}),{},{height:l,width:c,name:t.name,radius:t.radius})}function j(e){return n.createElement(x.yp,A({shapeType:"rectangle",propTransformer:E,activeClassName:"recharts-active-bar"},e))}var P=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return function(r,n){if("number"==typeof e)return e;var o=(0,h.Et)(r)||(0,h.uy)(r);return o?e(r,n):(o||(0,b.A)(!1),t)}},T=["value","background"];function _(e){return(_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function M(){return(M=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function C(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function I(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?C(Object(r),!0).forEach(function(t){F(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):C(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function N(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,B(n.key),n)}}function D(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(D=function(){return!!e})()}function R(e){return(R=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function L(e,t){return(L=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function F(e,t,r){return(t=B(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function B(e){var t=function(e,t){if("object"!=_(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=_(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==_(t)?t:t+""}var z=function(e){var t,r;function a(){var e,t,r;if(!(this instanceof a))throw TypeError("Cannot call a class as a function");for(var n=arguments.length,o=Array(n),i=0;i<n;i++)o[i]=arguments[i];return t=a,r=[].concat(o),t=R(t),F(e=function(e,t){if(t&&("object"===_(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");var r=e;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,D()?Reflect.construct(t,r||[],R(this).constructor):t.apply(this,r)),"state",{isAnimationFinished:!1}),F(e,"id",(0,h.NF)("recharts-bar-")),F(e,"handleAnimationEnd",function(){var t=e.props.onAnimationEnd;e.setState({isAnimationFinished:!0}),t&&t()}),F(e,"handleAnimationStart",function(){var t=e.props.onAnimationStart;e.setState({isAnimationFinished:!1}),t&&t()}),e}if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");return a.prototype=Object.create(e&&e.prototype,{constructor:{value:a,writable:!0,configurable:!0}}),Object.defineProperty(a,"prototype",{writable:!1}),e&&L(a,e),t=[{key:"renderRectanglesStatically",value:function(e){var t=this,r=this.props,o=r.shape,i=r.dataKey,a=r.activeIndex,l=r.activeBar,c=(0,y.J9)(this.props,!1);return e&&e.map(function(e,r){var s=r===a,f=I(I(I({},c),e),{},{isActive:s,option:s?l:o,index:r,dataKey:i,onAnimationStart:t.handleAnimationStart,onAnimationEnd:t.handleAnimationEnd});return n.createElement(u.W,M({className:"recharts-bar-rectangle"},(0,v.XC)(t.props,e,r),{key:"rectangle-".concat(null==e?void 0:e.x,"-").concat(null==e?void 0:e.y,"-").concat(null==e?void 0:e.value,"-").concat(r)}),n.createElement(j,f))})}},{key:"renderRectanglesWithAnimation",value:function(){var e=this,t=this.props,r=t.data,o=t.layout,a=t.isAnimationActive,l=t.animationBegin,c=t.animationDuration,s=t.animationEasing,f=t.animationId,p=this.state.prevData;return n.createElement(i.Ay,{begin:l,duration:c,isActive:a,easing:s,from:{t:0},to:{t:1},key:"bar-".concat(f),onAnimationEnd:this.handleAnimationEnd,onAnimationStart:this.handleAnimationStart},function(t){var i=t.t,a=r.map(function(e,t){var r=p&&p[t];if(r){var n=(0,h.Dj)(r.x,e.x),a=(0,h.Dj)(r.y,e.y),l=(0,h.Dj)(r.width,e.width),c=(0,h.Dj)(r.height,e.height);return I(I({},e),{},{x:n(i),y:a(i),width:l(i),height:c(i)})}if("horizontal"===o){var s=(0,h.Dj)(0,e.height)(i);return I(I({},e),{},{y:e.y+e.height-s,height:s})}var u=(0,h.Dj)(0,e.width)(i);return I(I({},e),{},{width:u})});return n.createElement(u.W,null,e.renderRectanglesStatically(a))})}},{key:"renderRectangles",value:function(){var e=this.props,t=e.data,r=e.isAnimationActive,n=this.state.prevData;return r&&t&&t.length&&(!n||!l()(n,t))?this.renderRectanglesWithAnimation():this.renderRectanglesStatically(t)}},{key:"renderBackground",value:function(){var e=this,t=this.props,r=t.data,o=t.dataKey,i=t.activeIndex,a=(0,y.J9)(this.props.background,!1);return r.map(function(t,r){t.value;var l=t.background,c=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(t,T);if(!l)return null;var s=I(I(I(I(I({},c),{},{fill:"#eee"},l),a),(0,v.XC)(e.props,t,r)),{},{onAnimationStart:e.handleAnimationStart,onAnimationEnd:e.handleAnimationEnd,dataKey:o,index:r,className:"recharts-bar-background-rectangle"});return n.createElement(j,M({key:"background-bar-".concat(r),option:e.props.background,isActive:r===i},s))})}},{key:"renderErrorBar",value:function(e,t){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var r=this.props,o=r.data,i=r.xAxis,a=r.yAxis,l=r.layout,c=r.children,s=(0,y.aS)(c,f.u);if(!s)return null;var p="vertical"===l?o[0].height/2:o[0].width/2,d=function(e,t){var r=Array.isArray(e.value)?e.value[1]:e.value;return{x:e.x,y:e.y,value:r,errorVal:(0,g.kr)(e,t)}};return n.createElement(u.W,{clipPath:e?"url(#clipPath-".concat(t,")"):null},s.map(function(e){return n.cloneElement(e,{key:"error-bar-".concat(t,"-").concat(e.props.dataKey),data:o,xAxis:i,yAxis:a,layout:l,offset:p,dataPointFormatter:d})}))}},{key:"render",value:function(){var e=this.props,t=e.hide,r=e.data,i=e.className,a=e.xAxis,l=e.yAxis,c=e.left,f=e.top,p=e.width,h=e.height,y=e.isAnimationActive,m=e.background,g=e.id;if(t||!r||!r.length)return null;var v=this.state.isAnimationFinished,b=(0,o.A)("recharts-bar",i),x=a&&a.allowDataOverflow,w=l&&l.allowDataOverflow,O=x||w,A=s()(g)?this.id:g;return n.createElement(u.W,{className:b},x||w?n.createElement("defs",null,n.createElement("clipPath",{id:"clipPath-".concat(A)},n.createElement("rect",{x:x?c:c-p/2,y:w?f:f-h/2,width:x?p:2*p,height:w?h:2*h}))):null,n.createElement(u.W,{className:"recharts-bar-rectangles",clipPath:O?"url(#clipPath-".concat(A,")"):null},m?this.renderBackground():null,this.renderRectangles()),this.renderErrorBar(O,A),(!y||v)&&d.Z.renderCallByParent(this.props,r))}}],r=[{key:"getDerivedStateFromProps",value:function(e,t){return e.animationId!==t.prevAnimationId?{prevAnimationId:e.animationId,curData:e.data,prevData:t.curData}:e.data!==t.curData?{curData:e.data}:null}}],t&&N(a.prototype,t),r&&N(a,r),Object.defineProperty(a,"prototype",{writable:!1}),a}(n.PureComponent);F(z,"displayName","Bar"),F(z,"defaultProps",{xAxisId:0,yAxisId:0,legendType:"rect",minPointSize:0,hide:!1,data:[],layout:"vertical",activeBar:!1,isAnimationActive:!m.m.isSsr,animationBegin:0,animationDuration:400,animationEasing:"ease"}),F(z,"getComposedData",function(e){var t=e.props,r=e.item,n=e.barPosition,o=e.bandSize,i=e.xAxis,a=e.yAxis,l=e.xAxisTicks,c=e.yAxisTicks,s=e.stackedData,u=e.dataStartIndex,f=e.displayedData,d=e.offset,m=(0,g.xi)(n,r);if(!m)return null;var v=t.layout,b=r.type.defaultProps,x=void 0!==b?I(I({},b),r.props):r.props,w=x.dataKey,O=x.children,A=x.minPointSize,k="horizontal"===v?a:i,S=s?k.scale.domain():null,E=(0,g.DW)({numericAxis:k}),j=(0,y.aS)(O,p.f),T=f.map(function(e,t){s?f=(0,g._f)(s[u+t],S):Array.isArray(f=(0,g.kr)(e,w))||(f=[E,f]);var n=P(A,z.defaultProps.minPointSize)(f[1],t);if("horizontal"===v){var f,p,d,y,b,x,O,k=[a.scale(f[0]),a.scale(f[1])],T=k[0],_=k[1];p=(0,g.y2)({axis:i,ticks:l,bandSize:o,offset:m.offset,entry:e,index:t}),d=null!=(O=null!=_?_:T)?O:void 0,y=m.size;var M=T-_;if(b=Number.isNaN(M)?0:M,x={x:p,y:a.y,width:y,height:a.height},Math.abs(n)>0&&Math.abs(b)<Math.abs(n)){var C=(0,h.sA)(b||n)*(Math.abs(n)-Math.abs(b));d-=C,b+=C}}else{var N=[i.scale(f[0]),i.scale(f[1])],D=N[0],R=N[1];if(p=D,d=(0,g.y2)({axis:a,ticks:c,bandSize:o,offset:m.offset,entry:e,index:t}),y=R-D,b=m.size,x={x:i.x,y:d,width:i.width,height:b},Math.abs(n)>0&&Math.abs(y)<Math.abs(n)){var L=(0,h.sA)(y||n)*(Math.abs(n)-Math.abs(y));y+=L}}return I(I(I({},e),{},{x:p,y:d,width:y,height:b,value:s?f:f[1],payload:e,background:x},j&&j[t]&&j[t].props),{},{tooltipPayload:[(0,g.zb)(r,e)],tooltipPosition:{x:p+y/2,y:d+b/2}})});return I({data:T,layout:v},d)})},27943:(e,t,r)=>{e.exports=r(29366)(r(52811),"Map")},28086:(e,t,r)=>{var n=r(69430),o=r(80129),i=r(71120);e.exports=o?function(e,t){return o(e,"toString",{configurable:!0,enumerable:!1,value:n(t),writable:!0})}:i},28105:(e,t,r)=>{var n=r(28086);e.exports=r(25329)(n)},28430:(e,t,r)=>{var n=r(94636),o=/^\s+/;e.exports=function(e){return e?e.slice(0,n(e)+1).replace(o,""):e}},28482:(e,t,r)=>{e.exports="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g},28921:(e,t,r)=>{var n=r(50393);e.exports=function(e,t){var r=n(this,e),o=r.size;return r.set(e,t),this.size+=+(r.size!=o),this}},29366:(e,t,r)=>{var n=r(68277),o=r(69174);e.exports=function(e,t){var r=o(e,t);return n(r)?r:void 0}},29529:(e,t,r)=>{var n=r(25591),o=r(78082),i=r(238),a=r(687),l=r(86835),c=r(12379);function s(e){var t=this.__data__=new n(e);this.size=t.size}s.prototype.clear=o,s.prototype.delete=i,s.prototype.get=a,s.prototype.has=l,s.prototype.set=c,e.exports=s},30283:(e,t,r)=>{"use strict";r.d(t,{f:()=>n});var n=function(e){return null};n.displayName="Cell"},30430:(e,t,r)=>{var n=r(41831);function o(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw TypeError("Expected a function");var r=function(){var n=arguments,o=t?t.apply(this,n):n[0],i=r.cache;if(i.has(o))return i.get(o);var a=e.apply(this,n);return r.cache=i.set(o,a)||i,a};return r.cache=new(o.Cache||n),r}o.Cache=n,e.exports=o},30986:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(91485).A)("search",[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]])},32203:(e,t,r)=>{"use strict";r.d(t,{J:()=>S});var n=r(44213),o=r(6513),i=r.n(o),a=r(8898),l=r.n(a),c=r(88777),s=r.n(c),u=r(73138),f=r(91258),p=r(36404),d=r(20681),h=r(68473);function y(e){return(y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var m=["offset"];function g(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function v(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function b(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?v(Object(r),!0).forEach(function(t){var n,o,i;n=e,o=t,i=r[t],(o=function(e){var t=function(e,t){if("object"!=y(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=y(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==y(t)?t:t+""}(o))in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):v(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function x(){return(x=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var w=function(e){var t=e.value,r=e.formatter,n=i()(e.children)?t:e.children;return l()(r)?r(n):n},O=function(e,t,r){var o,a,l=e.position,c=e.viewBox,s=e.offset,f=e.className,p=c.cx,y=c.cy,m=c.innerRadius,g=c.outerRadius,v=c.startAngle,b=c.endAngle,w=c.clockWise,O=(m+g)/2,A=(0,d.sA)(b-v)*Math.min(Math.abs(b-v),360),k=A>=0?1:-1;"insideStart"===l?(o=v+k*s,a=w):"insideEnd"===l?(o=b-k*s,a=!w):"end"===l&&(o=b+k*s,a=w),a=A<=0?a:!a;var S=(0,h.IZ)(p,y,O,o),E=(0,h.IZ)(p,y,O,o+(a?1:-1)*359),j="M".concat(S.x,",").concat(S.y,"\n A").concat(O,",").concat(O,",0,1,").concat(+!a,",\n ").concat(E.x,",").concat(E.y),P=i()(e.id)?(0,d.NF)("recharts-radial-line-"):e.id;return n.createElement("text",x({},r,{dominantBaseline:"central",className:(0,u.A)("recharts-radial-bar-label",f)}),n.createElement("defs",null,n.createElement("path",{id:P,d:j})),n.createElement("textPath",{xlinkHref:"#".concat(P)},t))},A=function(e){var t=e.viewBox,r=e.offset,n=e.position,o=t.cx,i=t.cy,a=t.innerRadius,l=t.outerRadius,c=(t.startAngle+t.endAngle)/2;if("outside"===n){var s=(0,h.IZ)(o,i,l+r,c),u=s.x;return{x:u,y:s.y,textAnchor:u>=o?"start":"end",verticalAnchor:"middle"}}if("center"===n)return{x:o,y:i,textAnchor:"middle",verticalAnchor:"middle"};if("centerTop"===n)return{x:o,y:i,textAnchor:"middle",verticalAnchor:"start"};if("centerBottom"===n)return{x:o,y:i,textAnchor:"middle",verticalAnchor:"end"};var f=(0,h.IZ)(o,i,(a+l)/2,c);return{x:f.x,y:f.y,textAnchor:"middle",verticalAnchor:"middle"}},k=function(e){var t=e.viewBox,r=e.parentViewBox,n=e.offset,o=e.position,i=t.x,a=t.y,l=t.width,c=t.height,u=c>=0?1:-1,f=u*n,p=u>0?"end":"start",h=u>0?"start":"end",y=l>=0?1:-1,m=y*n,g=y>0?"end":"start",v=y>0?"start":"end";if("top"===o)return b(b({},{x:i+l/2,y:a-u*n,textAnchor:"middle",verticalAnchor:p}),r?{height:Math.max(a-r.y,0),width:l}:{});if("bottom"===o)return b(b({},{x:i+l/2,y:a+c+f,textAnchor:"middle",verticalAnchor:h}),r?{height:Math.max(r.y+r.height-(a+c),0),width:l}:{});if("left"===o){var x={x:i-m,y:a+c/2,textAnchor:g,verticalAnchor:"middle"};return b(b({},x),r?{width:Math.max(x.x-r.x,0),height:c}:{})}if("right"===o){var w={x:i+l+m,y:a+c/2,textAnchor:v,verticalAnchor:"middle"};return b(b({},w),r?{width:Math.max(r.x+r.width-w.x,0),height:c}:{})}var O=r?{width:l,height:c}:{};return"insideLeft"===o?b({x:i+m,y:a+c/2,textAnchor:v,verticalAnchor:"middle"},O):"insideRight"===o?b({x:i+l-m,y:a+c/2,textAnchor:g,verticalAnchor:"middle"},O):"insideTop"===o?b({x:i+l/2,y:a+f,textAnchor:"middle",verticalAnchor:h},O):"insideBottom"===o?b({x:i+l/2,y:a+c-f,textAnchor:"middle",verticalAnchor:p},O):"insideTopLeft"===o?b({x:i+m,y:a+f,textAnchor:v,verticalAnchor:h},O):"insideTopRight"===o?b({x:i+l-m,y:a+f,textAnchor:g,verticalAnchor:h},O):"insideBottomLeft"===o?b({x:i+m,y:a+c-f,textAnchor:v,verticalAnchor:p},O):"insideBottomRight"===o?b({x:i+l-m,y:a+c-f,textAnchor:g,verticalAnchor:p},O):s()(o)&&((0,d.Et)(o.x)||(0,d._3)(o.x))&&((0,d.Et)(o.y)||(0,d._3)(o.y))?b({x:i+(0,d.F4)(o.x,l),y:a+(0,d.F4)(o.y,c),textAnchor:"end",verticalAnchor:"end"},O):b({x:i+l/2,y:a+c/2,textAnchor:"middle",verticalAnchor:"middle"},O)};function S(e){var t,r=e.offset,o=b({offset:void 0===r?5:r},function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,m)),a=o.viewBox,c=o.position,s=o.value,h=o.children,y=o.content,g=o.className,v=o.textBreakAll;if(!a||i()(s)&&i()(h)&&!(0,n.isValidElement)(y)&&!l()(y))return null;if((0,n.isValidElement)(y))return(0,n.cloneElement)(y,o);if(l()(y)){if(t=(0,n.createElement)(y,o),(0,n.isValidElement)(t))return t}else t=w(o);var S="cx"in a&&(0,d.Et)(a.cx),E=(0,p.J9)(o,!0);if(S&&("insideStart"===c||"insideEnd"===c||"end"===c))return O(o,t,E);var j=S?A(o):k(o);return n.createElement(f.E,x({className:(0,u.A)("recharts-label",void 0===g?"":g)},E,j,{breakAll:v}),t)}S.displayName="Label";var E=function(e){var t=e.cx,r=e.cy,n=e.angle,o=e.startAngle,i=e.endAngle,a=e.r,l=e.radius,c=e.innerRadius,s=e.outerRadius,u=e.x,f=e.y,p=e.top,h=e.left,y=e.width,m=e.height,g=e.clockWise,v=e.labelViewBox;if(v)return v;if((0,d.Et)(y)&&(0,d.Et)(m)){if((0,d.Et)(u)&&(0,d.Et)(f))return{x:u,y:f,width:y,height:m};if((0,d.Et)(p)&&(0,d.Et)(h))return{x:p,y:h,width:y,height:m}}return(0,d.Et)(u)&&(0,d.Et)(f)?{x:u,y:f,width:0,height:0}:(0,d.Et)(t)&&(0,d.Et)(r)?{cx:t,cy:r,startAngle:o||n||0,endAngle:i||n||0,innerRadius:c||0,outerRadius:s||l||a||0,clockWise:g}:e.viewBox?e.viewBox:{}};S.parseViewBox=E,S.renderCallByParent=function(e,t){var r,o,i=!(arguments.length>2)||void 0===arguments[2]||arguments[2];if(!e||!e.children&&i&&!e.label)return null;var a=e.children,c=E(e),u=(0,p.aS)(a,S).map(function(e,r){return(0,n.cloneElement)(e,{viewBox:t||c,key:"label-".concat(r)})});if(!i)return u;return[(r=e.label,o=t||c,!r?null:!0===r?n.createElement(S,{key:"label-implicit",viewBox:o}):(0,d.vh)(r)?n.createElement(S,{key:"label-implicit",viewBox:o,value:r}):(0,n.isValidElement)(r)?r.type===S?(0,n.cloneElement)(r,{key:"label-implicit",viewBox:o}):n.createElement(S,{key:"label-implicit",content:r,viewBox:o}):l()(r)?n.createElement(S,{key:"label-implicit",content:r,viewBox:o}):s()(r)?n.createElement(S,x({viewBox:o},r,{key:"label-implicit"})):null)].concat(function(e){if(Array.isArray(e))return g(e)}(u)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(u)||function(e,t){if(e){if("string"==typeof e)return g(e,void 0);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return g(e,t)}}(u)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())}},32204:(e,t,r)=>{e.exports=r(29366)(Object,"create")},32673:(e,t,r)=>{var n=r(62676),o=r(5011);e.exports=function(e,t,r){var i=t(e);return o(e)?i:n(i,r(e))}},32985:(e,t,r)=>{var n=r(84228),o=r(95860);e.exports=function(e,t){return n(o(e,t),1)}},33430:e=>{e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},33611:(e,t,r)=>{var n=r(91668),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,r,i,a,l){var c=1&r,s=n(e),u=s.length;if(u!=n(t).length&&!c)return!1;for(var f=u;f--;){var p=s[f];if(!(c?p in t:o.call(t,p)))return!1}var d=l.get(e),h=l.get(t);if(d&&h)return d==t&&h==e;var y=!0;l.set(e,t),l.set(t,e);for(var m=c;++f<u;){var g=e[p=s[f]],v=t[p];if(i)var b=c?i(v,g,p,t,e,l):i(g,v,p,e,t,l);if(!(void 0===b?g===v||a(g,v,r,i,l):b)){y=!1;break}m||(m="constructor"==p)}if(y&&!m){var x=e.constructor,w=t.constructor;x!=w&&"constructor"in e&&"constructor"in t&&!("function"==typeof x&&x instanceof x&&"function"==typeof w&&w instanceof w)&&(y=!1)}return l.delete(e),l.delete(t),y}},34471:(e,t,r)=>{var n=r(43870),o=r(5011),i=r(65550);e.exports=function(e){return"string"==typeof e||!o(e)&&i(e)&&"[object String]"==n(e)}},34767:(e,t,r)=>{"use strict";r.d(t,{P2:()=>w,bx:()=>O,pr:()=>g,sl:()=>v,vh:()=>b});var n=r(15974),o=r.n(n),i=r(42109),a=r.n(i),l=r(35223),c=r(36404),s=r(20681),u=r(27835);function f(e){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function p(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,m(n.key),n)}}function d(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function h(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?d(Object(r),!0).forEach(function(t){y(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):d(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function y(e,t,r){return(t=m(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function m(e){var t=function(e,t){if("object"!=f(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=f(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==f(t)?t:t+""}var g=function(e,t,r,n,o){var i=e.width,a=e.height,f=e.layout,p=e.children,d=Object.keys(t),m={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},g=!!(0,c.BU)(p,u.y);return d.reduce(function(i,a){var c,u,p,d,v,b=t[a],x=b.orientation,w=b.domain,O=b.padding,A=void 0===O?{}:O,k=b.mirror,S=b.reversed,E="".concat(x).concat(k?"Mirror":"");if("number"===b.type&&("gap"===b.padding||"no-gap"===b.padding)){var j=w[1]-w[0],P=1/0,T=b.categoricalDomain.sort(s.ck);if(T.forEach(function(e,t){t>0&&(P=Math.min((e||0)-(T[t-1]||0),P))}),Number.isFinite(P)){var _=P/j,M="vertical"===b.layout?r.height:r.width;if("gap"===b.padding&&(c=_*M/2),"no-gap"===b.padding){var C=(0,s.F4)(e.barCategoryGap,_*M),I=_*M/2;c=I-C-(I-C)/M*C}}}u="xAxis"===n?[r.left+(A.left||0)+(c||0),r.left+r.width-(A.right||0)-(c||0)]:"yAxis"===n?"horizontal"===f?[r.top+r.height-(A.bottom||0),r.top+(A.top||0)]:[r.top+(A.top||0)+(c||0),r.top+r.height-(A.bottom||0)-(c||0)]:b.range,S&&(u=[u[1],u[0]]);var N=(0,l.W7)(b,o,g),D=N.scale,R=N.realScaleType;D.domain(w).range(u),(0,l.YB)(D);var L=(0,l.w7)(D,h(h({},b),{},{realScaleType:R}));"xAxis"===n?(v="top"===x&&!k||"bottom"===x&&k,p=r.left,d=m[E]-v*b.height):"yAxis"===n&&(v="left"===x&&!k||"right"===x&&k,p=m[E]-v*b.width,d=r.top);var F=h(h(h({},b),L),{},{realScaleType:R,x:p,y:d,scale:D,width:"xAxis"===n?r.width:b.width,height:"yAxis"===n?r.height:b.height});return F.bandSize=(0,l.Hj)(F,L),b.hide||"xAxis"!==n?b.hide||(m[E]+=(v?-1:1)*F.width):m[E]+=(v?-1:1)*F.height,h(h({},i),{},y({},a,F))},{})},v=function(e,t){var r=e.x,n=e.y,o=t.x,i=t.y;return{x:Math.min(r,o),y:Math.min(n,i),width:Math.abs(o-r),height:Math.abs(i-n)}},b=function(e){return v({x:e.x1,y:e.y1},{x:e.x2,y:e.y2})},x=function(){var e,t;function r(e){if(!(this instanceof r))throw TypeError("Cannot call a class as a function");this.scale=e}return e=[{key:"domain",get:function(){return this.scale.domain}},{key:"range",get:function(){return this.scale.range}},{key:"rangeMin",get:function(){return this.range()[0]}},{key:"rangeMax",get:function(){return this.range()[1]}},{key:"bandwidth",get:function(){return this.scale.bandwidth}},{key:"apply",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.bandAware,n=t.position;if(void 0!==e){if(n)switch(n){case"start":default:return this.scale(e);case"middle":var o=this.bandwidth?this.bandwidth()/2:0;return this.scale(e)+o;case"end":var i=this.bandwidth?this.bandwidth():0;return this.scale(e)+i}if(r){var a=this.bandwidth?this.bandwidth()/2:0;return this.scale(e)+a}return this.scale(e)}}},{key:"isInRange",value:function(e){var t=this.range(),r=t[0],n=t[t.length-1];return r<=n?e>=r&&e<=n:e>=n&&e<=r}}],t=[{key:"create",value:function(e){return new r(e)}}],e&&p(r.prototype,e),t&&p(r,t),Object.defineProperty(r,"prototype",{writable:!1}),r}();y(x,"EPS",1e-4);var w=function(e){var t=Object.keys(e).reduce(function(t,r){return h(h({},t),{},y({},r,x.create(e[r])))},{});return h(h({},t),{},{apply:function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.bandAware,i=r.position;return o()(e,function(e,r){return t[r].apply(e,{bandAware:n,position:i})})},isInRange:function(e){return a()(e,function(e,r){return t[r].isInRange(e)})}})},O=function(e){var t=e.width,r=e.height,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,o=(n%180+180)%180*Math.PI/180,i=Math.atan(r/t);return Math.abs(o>i&&o<Math.PI-i?r/Math.sin(o):t/Math.cos(o))}},35083:(e,t,r)=>{"use strict";r.d(t,{u:()=>m});var n=r(44213),o=r(8919),i=r(79164),a=r(36404),l=["offset","layout","width","dataKey","data","dataPointFormatter","xAxis","yAxis"];function c(e){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function f(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(f=function(){return!!e})()}function p(e){return(p=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function d(e,t){return(d=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function h(e,t,r){return(t=y(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function y(e){var t=function(e,t){if("object"!=c(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=c(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==c(t)?t:t+""}var m=function(e){var t;function r(){var e,t;if(!(this instanceof r))throw TypeError("Cannot call a class as a function");return e=r,t=arguments,e=p(e),function(e,t){if(t&&("object"===c(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");var r=e;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,f()?Reflect.construct(e,t||[],p(this).constructor):e.apply(this,t))}if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");return r.prototype=Object.create(e&&e.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),e&&d(r,e),t=[{key:"render",value:function(){var e=this.props,t=e.offset,r=e.layout,c=e.width,f=e.dataKey,p=e.data,d=e.dataPointFormatter,h=e.xAxis,y=e.yAxis,m=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,l),g=(0,a.J9)(m,!1);"x"===this.props.direction&&"number"!==h.type&&(0,o.A)(!1);var v=p.map(function(e){var o,a,l=d(e,f),p=l.x,m=l.y,v=l.value,b=l.errorVal;if(!b)return null;var x=[];if(Array.isArray(b)){var w=function(e){if(Array.isArray(e))return e}(b)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,l=[],c=!0,s=!1;try{i=(r=r.call(e)).next,!1;for(;!(c=(n=i.call(r)).done)&&(l.push(n.value),l.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(s)throw o}}return l}}(b,2)||function(e,t){if(e){if("string"==typeof e)return u(e,2);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return u(e,t)}}(b,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}();o=w[0],a=w[1]}else o=a=b;if("vertical"===r){var O=h.scale,A=m+t,k=A+c,S=A-c,E=O(v-o),j=O(v+a);x.push({x1:j,y1:k,x2:j,y2:S}),x.push({x1:E,y1:A,x2:j,y2:A}),x.push({x1:E,y1:k,x2:E,y2:S})}else if("horizontal"===r){var P=y.scale,T=p+t,_=T-c,M=T+c,C=P(v-o),I=P(v+a);x.push({x1:_,y1:I,x2:M,y2:I}),x.push({x1:T,y1:C,x2:T,y2:I}),x.push({x1:_,y1:C,x2:M,y2:C})}return n.createElement(i.W,s({className:"recharts-errorBar",key:"bar-".concat(x.map(function(e){return"".concat(e.x1,"-").concat(e.x2,"-").concat(e.y1,"-").concat(e.y2)}))},g),x.map(function(e){return n.createElement("line",s({},e,{key:"line-".concat(e.x1,"-").concat(e.x2,"-").concat(e.y1,"-").concat(e.y2)}))}))});return n.createElement(i.W,{className:"recharts-errorBars"},v)}}],function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,y(n.key),n)}}(r.prototype,t),Object.defineProperty(r,"prototype",{writable:!1}),r}(n.Component);h(m,"defaultProps",{stroke:"black",strokeWidth:1.5,width:5,offset:0,layout:"horizontal"}),h(m,"displayName","ErrorBar")},35223:(e,t,r)=>{"use strict";r.d(t,{s0:()=>n3,gH:()=>n0,YB:()=>oo,HQ:()=>or,xi:()=>oi,Hj:()=>ob,BX:()=>n4,tA:()=>n2,DW:()=>od,y2:()=>op,nb:()=>of,PW:()=>n7,Ay:()=>nQ,vf:()=>n6,Mk:()=>oy,Ps:()=>n1,Mn:()=>os,kA:()=>oh,Rh:()=>oe,w7:()=>ou,zb:()=>ow,kr:()=>nJ,_L:()=>n9,KC:()=>ox,A1:()=>n5,W7:()=>on,AQ:()=>ov,_f:()=>oa});var n,o,i,a,l,c,s,u={};r.r(u),r.d(u,{scaleBand:()=>f.A,scaleDiverging:()=>function e(){var t=eD(rJ()(em));return t.copy=function(){return rX(t,e())},eA.K.apply(t,arguments)},scaleDivergingLog:()=>function e(){var t=eG(rJ()).domain([.1,1,10]);return t.copy=function(){return rX(t,e()).base(t.base())},eA.K.apply(t,arguments)},scaleDivergingPow:()=>rQ,scaleDivergingSqrt:()=>r0,scaleDivergingSymlog:()=>function e(){var t=eV(rJ());return t.copy=function(){return rX(t,e()).constant(t.constant())},eA.K.apply(t,arguments)},scaleIdentity:()=>function e(t){var r;function n(e){return null==e||isNaN(e*=1)?r:e}return n.invert=n,n.domain=n.range=function(e){return arguments.length?(t=Array.from(e,eh),n):t.slice()},n.unknown=function(e){return arguments.length?(r=e,n):r},n.copy=function(){return e(t).unknown(r)},t=arguments.length?Array.from(t,eh):[0,1],eD(n)},scaleImplicit:()=>eK.h,scaleLinear:()=>eR,scaleLog:()=>function e(){let t=eG(ew()).domain([1,10]);return t.copy=()=>ex(t,e()).base(t.base()),eA.C.apply(t,arguments),t},scaleOrdinal:()=>eK.A,scalePoint:()=>f.z,scalePow:()=>eQ,scaleQuantile:()=>function e(){var t,r=[],n=[],o=[];function i(){var e=0,t=Math.max(1,n.length);for(o=Array(t-1);++e<t;)o[e-1]=function(e,t,r=A){if(!(!(n=e.length)||isNaN(t*=1))){if(t<=0||n<2)return+r(e[0],0,e);if(t>=1)return+r(e[n-1],n-1,e);var n,o=(n-1)*t,i=Math.floor(o),a=+r(e[i],i,e);return a+(r(e[i+1],i+1,e)-a)*(o-i)}}(r,e/t);return a}function a(e){return null==e||isNaN(e*=1)?t:n[S(o,e)]}return a.invertExtent=function(e){var t=n.indexOf(e);return t<0?[NaN,NaN]:[t>0?o[t-1]:r[0],t<o.length?o[t]:r[r.length-1]]},a.domain=function(e){if(!arguments.length)return r.slice();for(let t of(r=[],e))null==t||isNaN(t*=1)||r.push(t);return r.sort(b),i()},a.range=function(e){return arguments.length?(n=Array.from(e),i()):n.slice()},a.unknown=function(e){return arguments.length?(t=e,a):t},a.quantiles=function(){return o.slice()},a.copy=function(){return e().domain(r).range(n).unknown(t)},eA.C.apply(a,arguments)},scaleQuantize:()=>function e(){var t,r=0,n=1,o=1,i=[.5],a=[0,1];function l(e){return null!=e&&e<=e?a[S(i,e,0,o)]:t}function c(){var e=-1;for(i=Array(o);++e<o;)i[e]=((e+1)*n-(e-o)*r)/(o+1);return l}return l.domain=function(e){return arguments.length?([r,n]=e,r*=1,n*=1,c()):[r,n]},l.range=function(e){return arguments.length?(o=(a=Array.from(e)).length-1,c()):a.slice()},l.invertExtent=function(e){var t=a.indexOf(e);return t<0?[NaN,NaN]:t<1?[r,i[0]]:t>=o?[i[o-1],n]:[i[t-1],i[t]]},l.unknown=function(e){return arguments.length&&(t=e),l},l.thresholds=function(){return i.slice()},l.copy=function(){return e().domain([r,n]).range(a).unknown(t)},eA.C.apply(eD(l),arguments)},scaleRadial:()=>function e(){var t,r=eO(),n=[0,1],o=!1;function i(e){var n,i=Math.sign(n=r(e))*Math.sqrt(Math.abs(n));return isNaN(i)?t:o?Math.round(i):i}return i.invert=function(e){return r.invert(e1(e))},i.domain=function(e){return arguments.length?(r.domain(e),i):r.domain()},i.range=function(e){return arguments.length?(r.range((n=Array.from(e,eh)).map(e1)),i):n.slice()},i.rangeRound=function(e){return i.range(e).round(!0)},i.round=function(e){return arguments.length?(o=!!e,i):o},i.clamp=function(e){return arguments.length?(r.clamp(e),i):r.clamp()},i.unknown=function(e){return arguments.length?(t=e,i):t},i.copy=function(){return e(r.domain(),n).round(o).clamp(r.clamp()).unknown(t)},eA.C.apply(i,arguments),eD(i)},scaleSequential:()=>function e(){var t=eD(rK()(em));return t.copy=function(){return rX(t,e())},eA.K.apply(t,arguments)},scaleSequentialLog:()=>function e(){var t=eG(rK()).domain([1,10]);return t.copy=function(){return rX(t,e()).base(t.base())},eA.K.apply(t,arguments)},scaleSequentialPow:()=>rZ,scaleSequentialQuantile:()=>function e(){var t=[],r=em;function n(e){if(null!=e&&!isNaN(e*=1))return r((S(t,e,1)-1)/(t.length-1))}return n.domain=function(e){if(!arguments.length)return t.slice();for(let r of(t=[],e))null==r||isNaN(r*=1)||t.push(r);return t.sort(b),n},n.interpolator=function(e){return arguments.length?(r=e,n):r},n.range=function(){return t.map((e,n)=>r(n/(t.length-1)))},n.quantiles=function(e){return Array.from({length:e+1},(r,n)=>(function(e,t,r){if(!(!(n=(e=Float64Array.from(function*(e,t){if(void 0===t)for(let t of e)null!=t&&(t*=1)>=t&&(yield t);else{let r=-1;for(let n of e)null!=(n=t(n,++r,e))&&(n*=1)>=n&&(yield n)}}(e,void 0))).length)||isNaN(t*=1))){if(t<=0||n<2)return(0,e4.A)(e);if(t>=1)return(0,e2.A)(e);var n,o=(n-1)*t,i=Math.floor(o),a=(0,e2.A)((function e(t,r,n=0,o=1/0,i){if(r=Math.floor(r),n=Math.floor(Math.max(0,n)),o=Math.floor(Math.min(t.length-1,o)),!(n<=r&&r<=o))return t;for(i=void 0===i?e3:function(e=b){if(e===b)return e3;if("function"!=typeof e)throw TypeError("compare is not a function");return(t,r)=>{let n=e(t,r);return n||0===n?n:(0===e(r,r))-(0===e(t,t))}}(i);o>n;){if(o-n>600){let a=o-n+1,l=r-n+1,c=Math.log(a),s=.5*Math.exp(2*c/3),u=.5*Math.sqrt(c*s*(a-s)/a)*(l-a/2<0?-1:1),f=Math.max(n,Math.floor(r-l*s/a+u)),p=Math.min(o,Math.floor(r+(a-l)*s/a+u));e(t,r,f,p,i)}let a=t[r],l=n,c=o;for(e8(t,n,r),i(t[o],a)>0&&e8(t,n,o);l<c;){for(e8(t,l,c),++l,--c;0>i(t[l],a);)++l;for(;i(t[c],a)>0;)--c}0===i(t[n],a)?e8(t,n,c):e8(t,++c,o),c<=r&&(n=c+1),r<=c&&(o=c-1)}return t})(e,i).subarray(0,i+1));return a+((0,e4.A)(e.subarray(i+1))-a)*(o-i)}})(t,n/e))},n.copy=function(){return e(r).domain(t)},eA.K.apply(n,arguments)},scaleSequentialSqrt:()=>rY,scaleSequentialSymlog:()=>function e(){var t=eV(rK());return t.copy=function(){return rX(t,e()).constant(t.constant())},eA.K.apply(t,arguments)},scaleSqrt:()=>e0,scaleSymlog:()=>function e(){var t=eV(ew());return t.copy=function(){return ex(t,e()).constant(t.constant())},eA.C.apply(t,arguments)},scaleThreshold:()=>function e(){var t,r=[.5],n=[0,1],o=1;function i(e){return null!=e&&e<=e?n[S(r,e,0,o)]:t}return i.domain=function(e){return arguments.length?(o=Math.min((r=Array.from(e)).length,n.length-1),i):r.slice()},i.range=function(e){return arguments.length?(n=Array.from(e),o=Math.min(r.length,n.length-1),i):n.slice()},i.invertExtent=function(e){var t=n.indexOf(e);return[r[t-1],r[t]]},i.unknown=function(e){return arguments.length?(t=e,i):t},i.copy=function(){return e().domain(r).range(n).unknown(t)},eA.C.apply(i,arguments)},scaleTime:()=>rq,scaleUtc:()=>rV,tickFormat:()=>eN});var f=r(69330);let p=Math.sqrt(50),d=Math.sqrt(10),h=Math.sqrt(2);function y(e,t,r){let n,o,i,a=(t-e)/Math.max(0,r),l=Math.floor(Math.log10(a)),c=a/Math.pow(10,l),s=c>=p?10:c>=d?5:c>=h?2:1;return(l<0?(n=Math.round(e*(i=Math.pow(10,-l)/s)),o=Math.round(t*i),n/i<e&&++n,o/i>t&&--o,i=-i):(n=Math.round(e/(i=Math.pow(10,l)*s)),o=Math.round(t/i),n*i<e&&++n,o*i>t&&--o),o<n&&.5<=r&&r<2)?y(e,t,2*r):[n,o,i]}function m(e,t,r){if(t*=1,e*=1,!((r*=1)>0))return[];if(e===t)return[e];let n=t<e,[o,i,a]=n?y(t,e,r):y(e,t,r);if(!(i>=o))return[];let l=i-o+1,c=Array(l);if(n)if(a<0)for(let e=0;e<l;++e)c[e]=-((i-e)/a);else for(let e=0;e<l;++e)c[e]=(i-e)*a;else if(a<0)for(let e=0;e<l;++e)c[e]=-((o+e)/a);else for(let e=0;e<l;++e)c[e]=(o+e)*a;return c}function g(e,t,r){return y(e*=1,t*=1,r*=1)[2]}function v(e,t,r){t*=1,e*=1,r*=1;let n=t<e,o=n?g(t,e,r):g(e,t,r);return(n?-1:1)*(o<0?-(1/o):o)}function b(e,t){return null==e||null==t?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function x(e,t){return null==e||null==t?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function w(e){let t,r,n;function o(e,n,i=0,a=e.length){if(i<a){if(0!==t(n,n))return a;do{let t=i+a>>>1;0>r(e[t],n)?i=t+1:a=t}while(i<a)}return i}return 2!==e.length?(t=b,r=(t,r)=>b(e(t),r),n=(t,r)=>e(t)-r):(t=e===b||e===x?e:O,r=e,n=e),{left:o,center:function(e,t,r=0,i=e.length){let a=o(e,t,r,i-1);return a>r&&n(e[a-1],t)>-n(e[a],t)?a-1:a},right:function(e,n,o=0,i=e.length){if(o<i){if(0!==t(n,n))return i;do{let t=o+i>>>1;0>=r(e[t],n)?o=t+1:i=t}while(o<i)}return o}}}function O(){return 0}function A(e){return null===e?NaN:+e}let k=w(b),S=k.right;function E(e,t,r){e.prototype=t.prototype=r,r.constructor=e}function j(e,t){var r=Object.create(e.prototype);for(var n in t)r[n]=t[n];return r}function P(){}k.left,w(A).center;var T="\\s*([+-]?\\d+)\\s*",_="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",M="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",C=/^#([0-9a-f]{3,8})$/,I=RegExp(`^rgb\\(${T},${T},${T}\\)$`),N=RegExp(`^rgb\\(${M},${M},${M}\\)$`),D=RegExp(`^rgba\\(${T},${T},${T},${_}\\)$`),R=RegExp(`^rgba\\(${M},${M},${M},${_}\\)$`),L=RegExp(`^hsl\\(${_},${M},${M}\\)$`),F=RegExp(`^hsla\\(${_},${M},${M},${_}\\)$`),B={aliceblue:0xf0f8ff,antiquewhite:0xfaebd7,aqua:65535,aquamarine:8388564,azure:0xf0ffff,beige:0xf5f5dc,bisque:0xffe4c4,black:0,blanchedalmond:0xffebcd,blue:255,blueviolet:9055202,brown:0xa52a2a,burlywood:0xdeb887,cadetblue:6266528,chartreuse:8388352,chocolate:0xd2691e,coral:0xff7f50,cornflowerblue:6591981,cornsilk:0xfff8dc,crimson:0xdc143c,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:0xb8860b,darkgray:0xa9a9a9,darkgreen:25600,darkgrey:0xa9a9a9,darkkhaki:0xbdb76b,darkmagenta:9109643,darkolivegreen:5597999,darkorange:0xff8c00,darkorchid:0x9932cc,darkred:9109504,darksalmon:0xe9967a,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:0xff1493,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:0xb22222,floralwhite:0xfffaf0,forestgreen:2263842,fuchsia:0xff00ff,gainsboro:0xdcdcdc,ghostwhite:0xf8f8ff,gold:0xffd700,goldenrod:0xdaa520,gray:8421504,green:32768,greenyellow:0xadff2f,grey:8421504,honeydew:0xf0fff0,hotpink:0xff69b4,indianred:0xcd5c5c,indigo:4915330,ivory:0xfffff0,khaki:0xf0e68c,lavender:0xe6e6fa,lavenderblush:0xfff0f5,lawngreen:8190976,lemonchiffon:0xfffacd,lightblue:0xadd8e6,lightcoral:0xf08080,lightcyan:0xe0ffff,lightgoldenrodyellow:0xfafad2,lightgray:0xd3d3d3,lightgreen:9498256,lightgrey:0xd3d3d3,lightpink:0xffb6c1,lightsalmon:0xffa07a,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:0xb0c4de,lightyellow:0xffffe0,lime:65280,limegreen:3329330,linen:0xfaf0e6,magenta:0xff00ff,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:0xba55d3,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:0xc71585,midnightblue:1644912,mintcream:0xf5fffa,mistyrose:0xffe4e1,moccasin:0xffe4b5,navajowhite:0xffdead,navy:128,oldlace:0xfdf5e6,olive:8421376,olivedrab:7048739,orange:0xffa500,orangered:0xff4500,orchid:0xda70d6,palegoldenrod:0xeee8aa,palegreen:0x98fb98,paleturquoise:0xafeeee,palevioletred:0xdb7093,papayawhip:0xffefd5,peachpuff:0xffdab9,peru:0xcd853f,pink:0xffc0cb,plum:0xdda0dd,powderblue:0xb0e0e6,purple:8388736,rebeccapurple:6697881,red:0xff0000,rosybrown:0xbc8f8f,royalblue:4286945,saddlebrown:9127187,salmon:0xfa8072,sandybrown:0xf4a460,seagreen:3050327,seashell:0xfff5ee,sienna:0xa0522d,silver:0xc0c0c0,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:0xfffafa,springgreen:65407,steelblue:4620980,tan:0xd2b48c,teal:32896,thistle:0xd8bfd8,tomato:0xff6347,turquoise:4251856,violet:0xee82ee,wheat:0xf5deb3,white:0xffffff,whitesmoke:0xf5f5f5,yellow:0xffff00,yellowgreen:0x9acd32};function z(){return this.rgb().formatHex()}function $(){return this.rgb().formatRgb()}function U(e){var t,r;return e=(e+"").trim().toLowerCase(),(t=C.exec(e))?(r=t[1].length,t=parseInt(t[1],16),6===r?W(t):3===r?new q(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===r?G(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===r?G(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=I.exec(e))?new q(t[1],t[2],t[3],1):(t=N.exec(e))?new q(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=D.exec(e))?G(t[1],t[2],t[3],t[4]):(t=R.exec(e))?G(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=L.exec(e))?J(t[1],t[2]/100,t[3]/100,1):(t=F.exec(e))?J(t[1],t[2]/100,t[3]/100,t[4]):B.hasOwnProperty(e)?W(B[e]):"transparent"===e?new q(NaN,NaN,NaN,0):null}function W(e){return new q(e>>16&255,e>>8&255,255&e,1)}function G(e,t,r,n){return n<=0&&(e=t=r=NaN),new q(e,t,r,n)}function H(e,t,r,n){var o;return 1==arguments.length?((o=e)instanceof P||(o=U(o)),o)?new q((o=o.rgb()).r,o.g,o.b,o.opacity):new q:new q(e,t,r,null==n?1:n)}function q(e,t,r,n){this.r=+e,this.g=+t,this.b=+r,this.opacity=+n}function V(){return`#${Y(this.r)}${Y(this.g)}${Y(this.b)}`}function K(){let e=X(this.opacity);return`${1===e?"rgb(":"rgba("}${Z(this.r)}, ${Z(this.g)}, ${Z(this.b)}${1===e?")":`, ${e})`}`}function X(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function Z(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function Y(e){return((e=Z(e))<16?"0":"")+e.toString(16)}function J(e,t,r,n){return n<=0?e=t=r=NaN:r<=0||r>=1?e=t=NaN:t<=0&&(e=NaN),new ee(e,t,r,n)}function Q(e){if(e instanceof ee)return new ee(e.h,e.s,e.l,e.opacity);if(e instanceof P||(e=U(e)),!e)return new ee;if(e instanceof ee)return e;var t=(e=e.rgb()).r/255,r=e.g/255,n=e.b/255,o=Math.min(t,r,n),i=Math.max(t,r,n),a=NaN,l=i-o,c=(i+o)/2;return l?(a=t===i?(r-n)/l+(r<n)*6:r===i?(n-t)/l+2:(t-r)/l+4,l/=c<.5?i+o:2-i-o,a*=60):l=c>0&&c<1?0:a,new ee(a,l,c,e.opacity)}function ee(e,t,r,n){this.h=+e,this.s=+t,this.l=+r,this.opacity=+n}function et(e){return(e=(e||0)%360)<0?e+360:e}function er(e){return Math.max(0,Math.min(1,e||0))}function en(e,t,r){return(e<60?t+(r-t)*e/60:e<180?r:e<240?t+(r-t)*(240-e)/60:t)*255}function eo(e,t,r,n,o){var i=e*e,a=i*e;return((1-3*e+3*i-a)*t+(4-6*i+3*a)*r+(1+3*e+3*i-3*a)*n+a*o)/6}E(P,U,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:z,formatHex:z,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return Q(this).formatHsl()},formatRgb:$,toString:$}),E(q,H,j(P,{brighter(e){return e=null==e?1.4285714285714286:Math.pow(1.4285714285714286,e),new q(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=null==e?.7:Math.pow(.7,e),new q(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new q(Z(this.r),Z(this.g),Z(this.b),X(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`#${Y(this.r)}${Y(this.g)}${Y(this.b)}${Y((isNaN(this.opacity)?1:this.opacity)*255)}`},formatRgb:K,toString:K})),E(ee,function(e,t,r,n){return 1==arguments.length?Q(e):new ee(e,t,r,null==n?1:n)},j(P,{brighter(e){return e=null==e?1.4285714285714286:Math.pow(1.4285714285714286,e),new ee(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=null==e?.7:Math.pow(.7,e),new ee(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+(this.h<0)*360,t=isNaN(e)||isNaN(this.s)?0:this.s,r=this.l,n=r+(r<.5?r:1-r)*t,o=2*r-n;return new q(en(e>=240?e-240:e+120,o,n),en(e,o,n),en(e<120?e+240:e-120,o,n),this.opacity)},clamp(){return new ee(et(this.h),er(this.s),er(this.l),X(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(){let e=X(this.opacity);return`${1===e?"hsl(":"hsla("}${et(this.h)}, ${100*er(this.s)}%, ${100*er(this.l)}%${1===e?")":`, ${e})`}`}}));let ei=e=>()=>e;function ea(e,t){var r=t-e;return r?function(t){return e+t*r}:ei(isNaN(e)?t:e)}let el=function e(t){var r,n=1==(r=+t)?ea:function(e,t){var n,o,i;return t-e?(n=e,o=t,n=Math.pow(n,i=r),o=Math.pow(o,i)-n,i=1/i,function(e){return Math.pow(n+e*o,i)}):ei(isNaN(e)?t:e)};function o(e,t){var r=n((e=H(e)).r,(t=H(t)).r),o=n(e.g,t.g),i=n(e.b,t.b),a=ea(e.opacity,t.opacity);return function(t){return e.r=r(t),e.g=o(t),e.b=i(t),e.opacity=a(t),e+""}}return o.gamma=e,o}(1);function ec(e){return function(t){var r,n,o=t.length,i=Array(o),a=Array(o),l=Array(o);for(r=0;r<o;++r)n=H(t[r]),i[r]=n.r||0,a[r]=n.g||0,l[r]=n.b||0;return i=e(i),a=e(a),l=e(l),n.opacity=1,function(e){return n.r=i(e),n.g=a(e),n.b=l(e),n+""}}}function es(e,t){return e*=1,t*=1,function(r){return e*(1-r)+t*r}}ec(function(e){var t=e.length-1;return function(r){var n=r<=0?r=0:r>=1?(r=1,t-1):Math.floor(r*t),o=e[n],i=e[n+1],a=n>0?e[n-1]:2*o-i,l=n<t-1?e[n+2]:2*i-o;return eo((r-n/t)*t,a,o,i,l)}}),ec(function(e){var t=e.length;return function(r){var n=Math.floor(((r%=1)<0?++r:r)*t),o=e[(n+t-1)%t],i=e[n%t],a=e[(n+1)%t],l=e[(n+2)%t];return eo((r-n/t)*t,o,i,a,l)}});var eu=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,ef=RegExp(eu.source,"g");function ep(e,t){var r,n,o=typeof t;return null==t||"boolean"===o?ei(t):("number"===o?es:"string"===o?(n=U(t))?(t=n,el):function(e,t){var r,n,o,i,a,l=eu.lastIndex=ef.lastIndex=0,c=-1,s=[],u=[];for(e+="",t+="";(o=eu.exec(e))&&(i=ef.exec(t));)(a=i.index)>l&&(a=t.slice(l,a),s[c]?s[c]+=a:s[++c]=a),(o=o[0])===(i=i[0])?s[c]?s[c]+=i:s[++c]=i:(s[++c]=null,u.push({i:c,x:es(o,i)})),l=ef.lastIndex;return l<t.length&&(a=t.slice(l),s[c]?s[c]+=a:s[++c]=a),s.length<2?u[0]?(r=u[0].x,function(e){return r(e)+""}):(n=t,function(){return n}):(t=u.length,function(e){for(var r,n=0;n<t;++n)s[(r=u[n]).i]=r.x(e);return s.join("")})}:t instanceof U?el:t instanceof Date?function(e,t){var r=new Date;return e*=1,t*=1,function(n){return r.setTime(e*(1-n)+t*n),r}}:!ArrayBuffer.isView(r=t)||r instanceof DataView?Array.isArray(t)?function(e,t){var r,n=t?t.length:0,o=e?Math.min(n,e.length):0,i=Array(o),a=Array(n);for(r=0;r<o;++r)i[r]=ep(e[r],t[r]);for(;r<n;++r)a[r]=t[r];return function(e){for(r=0;r<o;++r)a[r]=i[r](e);return a}}:"function"!=typeof t.valueOf&&"function"!=typeof t.toString||isNaN(t)?function(e,t){var r,n={},o={};for(r in(null===e||"object"!=typeof e)&&(e={}),(null===t||"object"!=typeof t)&&(t={}),t)r in e?n[r]=ep(e[r],t[r]):o[r]=t[r];return function(e){for(r in n)o[r]=n[r](e);return o}}:es:function(e,t){t||(t=[]);var r,n=e?Math.min(t.length,e.length):0,o=t.slice();return function(i){for(r=0;r<n;++r)o[r]=e[r]*(1-i)+t[r]*i;return o}})(e,t)}function ed(e,t){return e*=1,t*=1,function(r){return Math.round(e*(1-r)+t*r)}}function eh(e){return+e}var ey=[0,1];function em(e){return e}function eg(e,t){var r;return(t-=e*=1)?function(r){return(r-e)/t}:(r=isNaN(t)?NaN:.5,function(){return r})}function ev(e,t,r){var n=e[0],o=e[1],i=t[0],a=t[1];return o<n?(n=eg(o,n),i=r(a,i)):(n=eg(n,o),i=r(i,a)),function(e){return i(n(e))}}function eb(e,t,r){var n=Math.min(e.length,t.length)-1,o=Array(n),i=Array(n),a=-1;for(e[n]<e[0]&&(e=e.slice().reverse(),t=t.slice().reverse());++a<n;)o[a]=eg(e[a],e[a+1]),i[a]=r(t[a],t[a+1]);return function(t){var r=S(e,t,1,n)-1;return i[r](o[r](t))}}function ex(e,t){return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown())}function ew(){var e,t,r,n,o,i,a=ey,l=ey,c=ep,s=em;function u(){var e,t,r,c=Math.min(a.length,l.length);return s!==em&&(e=a[0],t=a[c-1],e>t&&(r=e,e=t,t=r),s=function(r){return Math.max(e,Math.min(t,r))}),n=c>2?eb:ev,o=i=null,f}function f(t){return null==t||isNaN(t*=1)?r:(o||(o=n(a.map(e),l,c)))(e(s(t)))}return f.invert=function(r){return s(t((i||(i=n(l,a.map(e),es)))(r)))},f.domain=function(e){return arguments.length?(a=Array.from(e,eh),u()):a.slice()},f.range=function(e){return arguments.length?(l=Array.from(e),u()):l.slice()},f.rangeRound=function(e){return l=Array.from(e),c=ed,u()},f.clamp=function(e){return arguments.length?(s=!!e||em,u()):s!==em},f.interpolate=function(e){return arguments.length?(c=e,u()):c},f.unknown=function(e){return arguments.length?(r=e,f):r},function(r,n){return e=r,t=n,u()}}function eO(){return ew()(em,em)}var eA=r(86377),ek=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function eS(e){var t;if(!(t=ek.exec(e)))throw Error("invalid format: "+e);return new eE({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}function eE(e){this.fill=void 0===e.fill?" ":e.fill+"",this.align=void 0===e.align?">":e.align+"",this.sign=void 0===e.sign?"-":e.sign+"",this.symbol=void 0===e.symbol?"":e.symbol+"",this.zero=!!e.zero,this.width=void 0===e.width?void 0:+e.width,this.comma=!!e.comma,this.precision=void 0===e.precision?void 0:+e.precision,this.trim=!!e.trim,this.type=void 0===e.type?"":e.type+""}function ej(e,t){if(!isFinite(e)||0===e)return null;var r=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"),n=e.slice(0,r);return[n.length>1?n[0]+n.slice(2):n,+e.slice(r+1)]}function eP(e){return(e=ej(Math.abs(e)))?e[1]:NaN}function eT(e,t){var r=ej(e,t);if(!r)return e+"";var n=r[0],o=r[1];return o<0?"0."+Array(-o).join("0")+n:n.length>o+1?n.slice(0,o+1)+"."+n.slice(o+1):n+Array(o-n.length+2).join("0")}eS.prototype=eE.prototype,eE.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};let e_={"%":(e,t)=>(100*e).toFixed(t),b:e=>Math.round(e).toString(2),c:e=>e+"",d:function(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)},e:(e,t)=>e.toExponential(t),f:(e,t)=>e.toFixed(t),g:(e,t)=>e.toPrecision(t),o:e=>Math.round(e).toString(8),p:(e,t)=>eT(100*e,t),r:eT,s:function(e,t){var r=ej(e,t);if(!r)return n=void 0,e.toPrecision(t);var o=r[0],i=r[1],a=i-(n=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,l=o.length;return a===l?o:a>l?o+Array(a-l+1).join("0"):a>0?o.slice(0,a)+"."+o.slice(a):"0."+Array(1-a).join("0")+ej(e,Math.max(0,t+a-1))[0]},X:e=>Math.round(e).toString(16).toUpperCase(),x:e=>Math.round(e).toString(16)};function eM(e){return e}var eC=Array.prototype.map,eI=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"];function eN(e,t,r,n){var o,l,c=v(e,t,r);switch((n=eS(null==n?",f":n)).type){case"s":var s=Math.max(Math.abs(e),Math.abs(t));return null!=n.precision||isNaN(l=Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(eP(s)/3)))-eP(Math.abs(c))))||(n.precision=l),a(n,s);case"":case"e":case"g":case"p":case"r":null!=n.precision||isNaN(l=Math.max(0,eP(Math.abs(Math.max(Math.abs(e),Math.abs(t)))-(o=Math.abs(o=c)))-eP(o))+1)||(n.precision=l-("e"===n.type));break;case"f":case"%":null!=n.precision||isNaN(l=Math.max(0,-eP(Math.abs(c))))||(n.precision=l-("%"===n.type)*2)}return i(n)}function eD(e){var t=e.domain;return e.ticks=function(e){var r=t();return m(r[0],r[r.length-1],null==e?10:e)},e.tickFormat=function(e,r){var n=t();return eN(n[0],n[n.length-1],null==e?10:e,r)},e.nice=function(r){null==r&&(r=10);var n,o,i=t(),a=0,l=i.length-1,c=i[a],s=i[l],u=10;for(s<c&&(o=c,c=s,s=o,o=a,a=l,l=o);u-- >0;){if((o=g(c,s,r))===n)return i[a]=c,i[l]=s,t(i);if(o>0)c=Math.floor(c/o)*o,s=Math.ceil(s/o)*o;else if(o<0)c=Math.ceil(c*o)/o,s=Math.floor(s*o)/o;else break;n=o}return e},e}function eR(){var e=eO();return e.copy=function(){return ex(e,eR())},eA.C.apply(e,arguments),eD(e)}function eL(e,t){e=e.slice();var r,n=0,o=e.length-1,i=e[n],a=e[o];return a<i&&(r=n,n=o,o=r,r=i,i=a,a=r),e[n]=t.floor(i),e[o]=t.ceil(a),e}function eF(e){return Math.log(e)}function eB(e){return Math.exp(e)}function ez(e){return-Math.log(-e)}function e$(e){return-Math.exp(-e)}function eU(e){return isFinite(e)?+("1e"+e):e<0?0:e}function eW(e){return(t,r)=>-e(-t,r)}function eG(e){let t,r,n=e(eF,eB),o=n.domain,a=10;function l(){var i,l;return t=(i=a)===Math.E?Math.log:10===i&&Math.log10||2===i&&Math.log2||(i=Math.log(i),e=>Math.log(e)/i),r=10===(l=a)?eU:l===Math.E?Math.exp:e=>Math.pow(l,e),o()[0]<0?(t=eW(t),r=eW(r),e(ez,e$)):e(eF,eB),n}return n.base=function(e){return arguments.length?(a=+e,l()):a},n.domain=function(e){return arguments.length?(o(e),l()):o()},n.ticks=e=>{let n,i,l=o(),c=l[0],s=l[l.length-1],u=s<c;u&&([c,s]=[s,c]);let f=t(c),p=t(s),d=null==e?10:+e,h=[];if(!(a%1)&&p-f<d){if(f=Math.floor(f),p=Math.ceil(p),c>0){for(;f<=p;++f)for(n=1;n<a;++n)if(!((i=f<0?n/r(-f):n*r(f))<c)){if(i>s)break;h.push(i)}}else for(;f<=p;++f)for(n=a-1;n>=1;--n)if(!((i=f>0?n/r(-f):n*r(f))<c)){if(i>s)break;h.push(i)}2*h.length<d&&(h=m(c,s,d))}else h=m(f,p,Math.min(p-f,d)).map(r);return u?h.reverse():h},n.tickFormat=(e,o)=>{if(null==e&&(e=10),null==o&&(o=10===a?"s":","),"function"!=typeof o&&(a%1||null!=(o=eS(o)).precision||(o.trim=!0),o=i(o)),e===1/0)return o;let l=Math.max(1,a*e/n.ticks().length);return e=>{let n=e/r(Math.round(t(e)));return n*a<a-.5&&(n*=a),n<=l?o(e):""}},n.nice=()=>o(eL(o(),{floor:e=>r(Math.floor(t(e))),ceil:e=>r(Math.ceil(t(e)))})),n}function eH(e){return function(t){return Math.sign(t)*Math.log1p(Math.abs(t/e))}}function eq(e){return function(t){return Math.sign(t)*Math.expm1(Math.abs(t))*e}}function eV(e){var t=1,r=e(eH(1),eq(t));return r.constant=function(r){return arguments.length?e(eH(t=+r),eq(t)):t},eD(r)}i=(o=function(e){var t,r,o,i=void 0===e.grouping||void 0===e.thousands?eM:(t=eC.call(e.grouping,Number),r=e.thousands+"",function(e,n){for(var o=e.length,i=[],a=0,l=t[0],c=0;o>0&&l>0&&(c+l+1>n&&(l=Math.max(1,n-c)),i.push(e.substring(o-=l,o+l)),!((c+=l+1)>n));)l=t[a=(a+1)%t.length];return i.reverse().join(r)}),a=void 0===e.currency?"":e.currency[0]+"",l=void 0===e.currency?"":e.currency[1]+"",c=void 0===e.decimal?".":e.decimal+"",s=void 0===e.numerals?eM:(o=eC.call(e.numerals,String),function(e){return e.replace(/[0-9]/g,function(e){return o[+e]})}),u=void 0===e.percent?"%":e.percent+"",f=void 0===e.minus?"−":e.minus+"",p=void 0===e.nan?"NaN":e.nan+"";function d(e,t){var r=(e=eS(e)).fill,o=e.align,d=e.sign,h=e.symbol,y=e.zero,m=e.width,g=e.comma,v=e.precision,b=e.trim,x=e.type;"n"===x?(g=!0,x="g"):e_[x]||(void 0===v&&(v=12),b=!0,x="g"),(y||"0"===r&&"="===o)&&(y=!0,r="0",o="=");var w=(t&&void 0!==t.prefix?t.prefix:"")+("$"===h?a:"#"===h&&/[boxX]/.test(x)?"0"+x.toLowerCase():""),O=("$"===h?l:/[%p]/.test(x)?u:"")+(t&&void 0!==t.suffix?t.suffix:""),A=e_[x],k=/[defgprs%]/.test(x);function S(e){var t,a,l,u=w,h=O;if("c"===x)h=A(e)+h,e="";else{var S=(e*=1)<0||1/e<0;if(e=isNaN(e)?p:A(Math.abs(e),v),b&&(e=function(e){e:for(var t,r=e.length,n=1,o=-1;n<r;++n)switch(e[n]){case".":o=t=n;break;case"0":0===o&&(o=n),t=n;break;default:if(!+e[n])break e;o>0&&(o=0)}return o>0?e.slice(0,o)+e.slice(t+1):e}(e)),S&&0==+e&&"+"!==d&&(S=!1),u=(S?"("===d?d:f:"-"===d||"("===d?"":d)+u,h=("s"!==x||isNaN(e)||void 0===n?"":eI[8+n/3])+h+(S&&"("===d?")":""),k){for(t=-1,a=e.length;++t<a;)if(48>(l=e.charCodeAt(t))||l>57){h=(46===l?c+e.slice(t+1):e.slice(t))+h,e=e.slice(0,t);break}}}g&&!y&&(e=i(e,1/0));var E=u.length+e.length+h.length,j=E<m?Array(m-E+1).join(r):"";switch(g&&y&&(e=i(j+e,j.length?m-h.length:1/0),j=""),o){case"<":e=u+e+h+j;break;case"=":e=u+j+e+h;break;case"^":e=j.slice(0,E=j.length>>1)+u+e+h+j.slice(E);break;default:e=j+u+e+h}return s(e)}return v=void 0===v?6:/[gprs]/.test(x)?Math.max(1,Math.min(21,v)):Math.max(0,Math.min(20,v)),S.toString=function(){return e+""},S}return{format:d,formatPrefix:function(e,t){var r=3*Math.max(-8,Math.min(8,Math.floor(eP(t)/3))),n=Math.pow(10,-r),o=d(((e=eS(e)).type="f",e),{suffix:eI[8+r/3]});return function(e){return o(n*e)}}}}({thousands:",",grouping:[3],currency:["$",""]})).format,a=o.formatPrefix;var eK=r(40161);function eX(e){return function(t){return t<0?-Math.pow(-t,e):Math.pow(t,e)}}function eZ(e){return e<0?-Math.sqrt(-e):Math.sqrt(e)}function eY(e){return e<0?-e*e:e*e}function eJ(e){var t=e(em,em),r=1;return t.exponent=function(t){return arguments.length?1==(r=+t)?e(em,em):.5===r?e(eZ,eY):e(eX(r),eX(1/r)):r},eD(t)}function eQ(){var e=eJ(ew());return e.copy=function(){return ex(e,eQ()).exponent(e.exponent())},eA.C.apply(e,arguments),e}function e0(){return eQ.apply(null,arguments).exponent(.5)}function e1(e){return Math.sign(e)*e*e}var e2=r(69302),e4=r(43364);function e3(e,t){return(null==e||!(e>=e))-(null==t||!(t>=t))||(e<t?-1:+(e>t))}function e8(e,t,r){let n=e[t];e[t]=e[r],e[r]=n}let e5=new Date,e6=new Date;function e9(e,t,r,n){function o(t){return e(t=0==arguments.length?new Date:new Date(+t)),t}return o.floor=t=>(e(t=new Date(+t)),t),o.ceil=r=>(e(r=new Date(r-1)),t(r,1),e(r),r),o.round=e=>{let t=o(e),r=o.ceil(e);return e-t<r-e?t:r},o.offset=(e,r)=>(t(e=new Date(+e),null==r?1:Math.floor(r)),e),o.range=(r,n,i)=>{let a,l=[];if(r=o.ceil(r),i=null==i?1:Math.floor(i),!(r<n)||!(i>0))return l;do l.push(a=new Date(+r)),t(r,i),e(r);while(a<r&&r<n);return l},o.filter=r=>e9(t=>{if(t>=t)for(;e(t),!r(t);)t.setTime(t-1)},(e,n)=>{if(e>=e)if(n<0)for(;++n<=0;)for(;t(e,-1),!r(e););else for(;--n>=0;)for(;t(e,1),!r(e););}),r&&(o.count=(t,n)=>(e5.setTime(+t),e6.setTime(+n),e(e5),e(e6),Math.floor(r(e5,e6))),o.every=e=>isFinite(e=Math.floor(e))&&e>0?e>1?o.filter(n?t=>n(t)%e==0:t=>o.count(0,t)%e==0):o:null),o}let e7=e9(()=>{},(e,t)=>{e.setTime(+e+t)},(e,t)=>t-e);e7.every=e=>isFinite(e=Math.floor(e))&&e>0?e>1?e9(t=>{t.setTime(Math.floor(t/e)*e)},(t,r)=>{t.setTime(+t+r*e)},(t,r)=>(r-t)/e):e7:null,e7.range;let te=e9(e=>{e.setTime(e-e.getMilliseconds())},(e,t)=>{e.setTime(+e+1e3*t)},(e,t)=>(t-e)/1e3,e=>e.getUTCSeconds());te.range;let tt=e9(e=>{e.setTime(e-e.getMilliseconds()-1e3*e.getSeconds())},(e,t)=>{e.setTime(+e+6e4*t)},(e,t)=>(t-e)/6e4,e=>e.getMinutes());tt.range;let tr=e9(e=>{e.setUTCSeconds(0,0)},(e,t)=>{e.setTime(+e+6e4*t)},(e,t)=>(t-e)/6e4,e=>e.getUTCMinutes());tr.range;let tn=e9(e=>{e.setTime(e-e.getMilliseconds()-1e3*e.getSeconds()-6e4*e.getMinutes())},(e,t)=>{e.setTime(+e+36e5*t)},(e,t)=>(t-e)/36e5,e=>e.getHours());tn.range;let to=e9(e=>{e.setUTCMinutes(0,0,0)},(e,t)=>{e.setTime(+e+36e5*t)},(e,t)=>(t-e)/36e5,e=>e.getUTCHours());to.range;let ti=e9(e=>e.setHours(0,0,0,0),(e,t)=>e.setDate(e.getDate()+t),(e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*6e4)/864e5,e=>e.getDate()-1);ti.range;let ta=e9(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/864e5,e=>e.getUTCDate()-1);ta.range;let tl=e9(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/864e5,e=>Math.floor(e/864e5));function tc(e){return e9(t=>{t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)},(e,t)=>{e.setDate(e.getDate()+7*t)},(e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*6e4)/6048e5)}tl.range;let ts=tc(0),tu=tc(1),tf=tc(2),tp=tc(3),td=tc(4),th=tc(5),ty=tc(6);function tm(e){return e9(t=>{t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+7*t)},(e,t)=>(t-e)/6048e5)}ts.range,tu.range,tf.range,tp.range,td.range,th.range,ty.range;let tg=tm(0),tv=tm(1),tb=tm(2),tx=tm(3),tw=tm(4),tO=tm(5),tA=tm(6);tg.range,tv.range,tb.range,tx.range,tw.range,tO.range,tA.range;let tk=e9(e=>{e.setDate(1),e.setHours(0,0,0,0)},(e,t)=>{e.setMonth(e.getMonth()+t)},(e,t)=>t.getMonth()-e.getMonth()+(t.getFullYear()-e.getFullYear())*12,e=>e.getMonth());tk.range;let tS=e9(e=>{e.setUTCDate(1),e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCMonth(e.getUTCMonth()+t)},(e,t)=>t.getUTCMonth()-e.getUTCMonth()+(t.getUTCFullYear()-e.getUTCFullYear())*12,e=>e.getUTCMonth());tS.range;let tE=e9(e=>{e.setMonth(0,1),e.setHours(0,0,0,0)},(e,t)=>{e.setFullYear(e.getFullYear()+t)},(e,t)=>t.getFullYear()-e.getFullYear(),e=>e.getFullYear());tE.every=e=>isFinite(e=Math.floor(e))&&e>0?e9(t=>{t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)},(t,r)=>{t.setFullYear(t.getFullYear()+r*e)}):null,tE.range;let tj=e9(e=>{e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCFullYear(e.getUTCFullYear()+t)},(e,t)=>t.getUTCFullYear()-e.getUTCFullYear(),e=>e.getUTCFullYear());function tP(e,t,r,n,o,i){let a=[[te,1,1e3],[te,5,5e3],[te,15,15e3],[te,30,3e4],[i,1,6e4],[i,5,3e5],[i,15,9e5],[i,30,18e5],[o,1,36e5],[o,3,108e5],[o,6,216e5],[o,12,432e5],[n,1,864e5],[n,2,1728e5],[r,1,6048e5],[t,1,2592e6],[t,3,7776e6],[e,1,31536e6]];function l(t,r,n){let o=Math.abs(r-t)/n,i=w(([,,e])=>e).right(a,o);if(i===a.length)return e.every(v(t/31536e6,r/31536e6,n));if(0===i)return e7.every(Math.max(v(t,r,n),1));let[l,c]=a[o/a[i-1][2]<a[i][2]/o?i-1:i];return l.every(c)}return[function(e,t,r){let n=t<e;n&&([e,t]=[t,e]);let o=r&&"function"==typeof r.range?r:l(e,t,r),i=o?o.range(e,+t+1):[];return n?i.reverse():i},l]}tj.every=e=>isFinite(e=Math.floor(e))&&e>0?e9(t=>{t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},(t,r)=>{t.setUTCFullYear(t.getUTCFullYear()+r*e)}):null,tj.range;let[tT,t_]=tP(tj,tS,tg,tl,to,tr),[tM,tC]=tP(tE,tk,ts,ti,tn,tt);function tI(e){if(0<=e.y&&e.y<100){var t=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return t.setFullYear(e.y),t}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function tN(e){if(0<=e.y&&e.y<100){var t=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return t.setUTCFullYear(e.y),t}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function tD(e,t,r){return{y:e,m:t,d:r,H:0,M:0,S:0,L:0}}var tR={"-":"",_:" ",0:"0"},tL=/^\s*\d+/,tF=/^%/,tB=/[\\^$*+?|[\]().{}]/g;function tz(e,t,r){var n=e<0?"-":"",o=(n?-e:e)+"",i=o.length;return n+(i<r?Array(r-i+1).join(t)+o:o)}function t$(e){return e.replace(tB,"\\$&")}function tU(e){return RegExp("^(?:"+e.map(t$).join("|")+")","i")}function tW(e){return new Map(e.map((e,t)=>[e.toLowerCase(),t]))}function tG(e,t,r){var n=tL.exec(t.slice(r,r+1));return n?(e.w=+n[0],r+n[0].length):-1}function tH(e,t,r){var n=tL.exec(t.slice(r,r+1));return n?(e.u=+n[0],r+n[0].length):-1}function tq(e,t,r){var n=tL.exec(t.slice(r,r+2));return n?(e.U=+n[0],r+n[0].length):-1}function tV(e,t,r){var n=tL.exec(t.slice(r,r+2));return n?(e.V=+n[0],r+n[0].length):-1}function tK(e,t,r){var n=tL.exec(t.slice(r,r+2));return n?(e.W=+n[0],r+n[0].length):-1}function tX(e,t,r){var n=tL.exec(t.slice(r,r+4));return n?(e.y=+n[0],r+n[0].length):-1}function tZ(e,t,r){var n=tL.exec(t.slice(r,r+2));return n?(e.y=+n[0]+(+n[0]>68?1900:2e3),r+n[0].length):-1}function tY(e,t,r){var n=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(r,r+6));return n?(e.Z=n[1]?0:-(n[2]+(n[3]||"00")),r+n[0].length):-1}function tJ(e,t,r){var n=tL.exec(t.slice(r,r+1));return n?(e.q=3*n[0]-3,r+n[0].length):-1}function tQ(e,t,r){var n=tL.exec(t.slice(r,r+2));return n?(e.m=n[0]-1,r+n[0].length):-1}function t0(e,t,r){var n=tL.exec(t.slice(r,r+2));return n?(e.d=+n[0],r+n[0].length):-1}function t1(e,t,r){var n=tL.exec(t.slice(r,r+3));return n?(e.m=0,e.d=+n[0],r+n[0].length):-1}function t2(e,t,r){var n=tL.exec(t.slice(r,r+2));return n?(e.H=+n[0],r+n[0].length):-1}function t4(e,t,r){var n=tL.exec(t.slice(r,r+2));return n?(e.M=+n[0],r+n[0].length):-1}function t3(e,t,r){var n=tL.exec(t.slice(r,r+2));return n?(e.S=+n[0],r+n[0].length):-1}function t8(e,t,r){var n=tL.exec(t.slice(r,r+3));return n?(e.L=+n[0],r+n[0].length):-1}function t5(e,t,r){var n=tL.exec(t.slice(r,r+6));return n?(e.L=Math.floor(n[0]/1e3),r+n[0].length):-1}function t6(e,t,r){var n=tF.exec(t.slice(r,r+1));return n?r+n[0].length:-1}function t9(e,t,r){var n=tL.exec(t.slice(r));return n?(e.Q=+n[0],r+n[0].length):-1}function t7(e,t,r){var n=tL.exec(t.slice(r));return n?(e.s=+n[0],r+n[0].length):-1}function re(e,t){return tz(e.getDate(),t,2)}function rt(e,t){return tz(e.getHours(),t,2)}function rr(e,t){return tz(e.getHours()%12||12,t,2)}function rn(e,t){return tz(1+ti.count(tE(e),e),t,3)}function ro(e,t){return tz(e.getMilliseconds(),t,3)}function ri(e,t){return ro(e,t)+"000"}function ra(e,t){return tz(e.getMonth()+1,t,2)}function rl(e,t){return tz(e.getMinutes(),t,2)}function rc(e,t){return tz(e.getSeconds(),t,2)}function rs(e){var t=e.getDay();return 0===t?7:t}function ru(e,t){return tz(ts.count(tE(e)-1,e),t,2)}function rf(e){var t=e.getDay();return t>=4||0===t?td(e):td.ceil(e)}function rp(e,t){return e=rf(e),tz(td.count(tE(e),e)+(4===tE(e).getDay()),t,2)}function rd(e){return e.getDay()}function rh(e,t){return tz(tu.count(tE(e)-1,e),t,2)}function ry(e,t){return tz(e.getFullYear()%100,t,2)}function rm(e,t){return tz((e=rf(e)).getFullYear()%100,t,2)}function rg(e,t){return tz(e.getFullYear()%1e4,t,4)}function rv(e,t){var r=e.getDay();return tz((e=r>=4||0===r?td(e):td.ceil(e)).getFullYear()%1e4,t,4)}function rb(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+tz(t/60|0,"0",2)+tz(t%60,"0",2)}function rx(e,t){return tz(e.getUTCDate(),t,2)}function rw(e,t){return tz(e.getUTCHours(),t,2)}function rO(e,t){return tz(e.getUTCHours()%12||12,t,2)}function rA(e,t){return tz(1+ta.count(tj(e),e),t,3)}function rk(e,t){return tz(e.getUTCMilliseconds(),t,3)}function rS(e,t){return rk(e,t)+"000"}function rE(e,t){return tz(e.getUTCMonth()+1,t,2)}function rj(e,t){return tz(e.getUTCMinutes(),t,2)}function rP(e,t){return tz(e.getUTCSeconds(),t,2)}function rT(e){var t=e.getUTCDay();return 0===t?7:t}function r_(e,t){return tz(tg.count(tj(e)-1,e),t,2)}function rM(e){var t=e.getUTCDay();return t>=4||0===t?tw(e):tw.ceil(e)}function rC(e,t){return e=rM(e),tz(tw.count(tj(e),e)+(4===tj(e).getUTCDay()),t,2)}function rI(e){return e.getUTCDay()}function rN(e,t){return tz(tv.count(tj(e)-1,e),t,2)}function rD(e,t){return tz(e.getUTCFullYear()%100,t,2)}function rR(e,t){return tz((e=rM(e)).getUTCFullYear()%100,t,2)}function rL(e,t){return tz(e.getUTCFullYear()%1e4,t,4)}function rF(e,t){var r=e.getUTCDay();return tz((e=r>=4||0===r?tw(e):tw.ceil(e)).getUTCFullYear()%1e4,t,4)}function rB(){return"+0000"}function rz(){return"%"}function r$(e){return+e}function rU(e){return Math.floor(e/1e3)}function rW(e){return new Date(e)}function rG(e){return e instanceof Date?+e:+new Date(+e)}function rH(e,t,r,n,o,i,a,l,c,s){var u=eO(),f=u.invert,p=u.domain,d=s(".%L"),h=s(":%S"),y=s("%I:%M"),m=s("%I %p"),g=s("%a %d"),v=s("%b %d"),b=s("%B"),x=s("%Y");function w(e){return(c(e)<e?d:l(e)<e?h:a(e)<e?y:i(e)<e?m:n(e)<e?o(e)<e?g:v:r(e)<e?b:x)(e)}return u.invert=function(e){return new Date(f(e))},u.domain=function(e){return arguments.length?p(Array.from(e,rG)):p().map(rW)},u.ticks=function(t){var r=p();return e(r[0],r[r.length-1],null==t?10:t)},u.tickFormat=function(e,t){return null==t?w:s(t)},u.nice=function(e){var r=p();return e&&"function"==typeof e.range||(e=t(r[0],r[r.length-1],null==e?10:e)),e?p(eL(r,e)):u},u.copy=function(){return ex(u,rH(e,t,r,n,o,i,a,l,c,s))},u}function rq(){return eA.C.apply(rH(tM,tC,tE,tk,ts,ti,tn,tt,te,c).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}function rV(){return eA.C.apply(rH(tT,t_,tj,tS,tg,ta,to,tr,te,s).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}function rK(){var e,t,r,n,o,i=0,a=1,l=em,c=!1;function s(t){return null==t||isNaN(t*=1)?o:l(0===r?.5:(t=(n(t)-e)*r,c?Math.max(0,Math.min(1,t)):t))}function u(e){return function(t){var r,n;return arguments.length?([r,n]=t,l=e(r,n),s):[l(0),l(1)]}}return s.domain=function(o){return arguments.length?([i,a]=o,e=n(i*=1),t=n(a*=1),r=e===t?0:1/(t-e),s):[i,a]},s.clamp=function(e){return arguments.length?(c=!!e,s):c},s.interpolator=function(e){return arguments.length?(l=e,s):l},s.range=u(ep),s.rangeRound=u(ed),s.unknown=function(e){return arguments.length?(o=e,s):o},function(o){return n=o,e=o(i),t=o(a),r=e===t?0:1/(t-e),s}}function rX(e,t){return t.domain(e.domain()).interpolator(e.interpolator()).clamp(e.clamp()).unknown(e.unknown())}function rZ(){var e=eJ(rK());return e.copy=function(){return rX(e,rZ()).exponent(e.exponent())},eA.K.apply(e,arguments)}function rY(){return rZ.apply(null,arguments).exponent(.5)}function rJ(){var e,t,r,n,o,i,a,l=0,c=.5,s=1,u=1,f=em,p=!1;function d(e){return isNaN(e*=1)?a:(e=.5+((e=+i(e))-t)*(u*e<u*t?n:o),f(p?Math.max(0,Math.min(1,e)):e))}function h(e){return function(t){var r,n,o;return arguments.length?([r,n,o]=t,f=function(e,t){void 0===t&&(t=e,e=ep);for(var r=0,n=t.length-1,o=t[0],i=Array(n<0?0:n);r<n;)i[r]=e(o,o=t[++r]);return function(e){var t=Math.max(0,Math.min(n-1,Math.floor(e*=n)));return i[t](e-t)}}(e,[r,n,o]),d):[f(0),f(.5),f(1)]}}return d.domain=function(a){return arguments.length?([l,c,s]=a,e=i(l*=1),t=i(c*=1),r=i(s*=1),n=e===t?0:.5/(t-e),o=t===r?0:.5/(r-t),u=t<e?-1:1,d):[l,c,s]},d.clamp=function(e){return arguments.length?(p=!!e,d):p},d.interpolator=function(e){return arguments.length?(f=e,d):f},d.range=h(ep),d.rangeRound=h(ed),d.unknown=function(e){return arguments.length?(a=e,d):a},function(a){return i=a,e=a(l),t=a(c),r=a(s),n=e===t?0:.5/(t-e),o=t===r?0:.5/(r-t),u=t<e?-1:1,d}}function rQ(){var e=eJ(rJ());return e.copy=function(){return rX(e,rQ()).exponent(e.exponent())},eA.K.apply(e,arguments)}function r0(){return rQ.apply(null,arguments).exponent(.5)}function r1(e,t){if((o=e.length)>1)for(var r,n,o,i=1,a=e[t[0]],l=a.length;i<o;++i)for(n=a,a=e[t[i]],r=0;r<l;++r)a[r][1]+=a[r][0]=isNaN(n[r][1])?n[r][0]:n[r][1]}c=(l=function(e){var t=e.dateTime,r=e.date,n=e.time,o=e.periods,i=e.days,a=e.shortDays,l=e.months,c=e.shortMonths,s=tU(o),u=tW(o),f=tU(i),p=tW(i),d=tU(a),h=tW(a),y=tU(l),m=tW(l),g=tU(c),v=tW(c),b={a:function(e){return a[e.getDay()]},A:function(e){return i[e.getDay()]},b:function(e){return c[e.getMonth()]},B:function(e){return l[e.getMonth()]},c:null,d:re,e:re,f:ri,g:rm,G:rv,H:rt,I:rr,j:rn,L:ro,m:ra,M:rl,p:function(e){return o[+(e.getHours()>=12)]},q:function(e){return 1+~~(e.getMonth()/3)},Q:r$,s:rU,S:rc,u:rs,U:ru,V:rp,w:rd,W:rh,x:null,X:null,y:ry,Y:rg,Z:rb,"%":rz},x={a:function(e){return a[e.getUTCDay()]},A:function(e){return i[e.getUTCDay()]},b:function(e){return c[e.getUTCMonth()]},B:function(e){return l[e.getUTCMonth()]},c:null,d:rx,e:rx,f:rS,g:rR,G:rF,H:rw,I:rO,j:rA,L:rk,m:rE,M:rj,p:function(e){return o[+(e.getUTCHours()>=12)]},q:function(e){return 1+~~(e.getUTCMonth()/3)},Q:r$,s:rU,S:rP,u:rT,U:r_,V:rC,w:rI,W:rN,x:null,X:null,y:rD,Y:rL,Z:rB,"%":rz},w={a:function(e,t,r){var n=d.exec(t.slice(r));return n?(e.w=h.get(n[0].toLowerCase()),r+n[0].length):-1},A:function(e,t,r){var n=f.exec(t.slice(r));return n?(e.w=p.get(n[0].toLowerCase()),r+n[0].length):-1},b:function(e,t,r){var n=g.exec(t.slice(r));return n?(e.m=v.get(n[0].toLowerCase()),r+n[0].length):-1},B:function(e,t,r){var n=y.exec(t.slice(r));return n?(e.m=m.get(n[0].toLowerCase()),r+n[0].length):-1},c:function(e,r,n){return k(e,t,r,n)},d:t0,e:t0,f:t5,g:tZ,G:tX,H:t2,I:t2,j:t1,L:t8,m:tQ,M:t4,p:function(e,t,r){var n=s.exec(t.slice(r));return n?(e.p=u.get(n[0].toLowerCase()),r+n[0].length):-1},q:tJ,Q:t9,s:t7,S:t3,u:tH,U:tq,V:tV,w:tG,W:tK,x:function(e,t,n){return k(e,r,t,n)},X:function(e,t,r){return k(e,n,t,r)},y:tZ,Y:tX,Z:tY,"%":t6};function O(e,t){return function(r){var n,o,i,a=[],l=-1,c=0,s=e.length;for(r instanceof Date||(r=new Date(+r));++l<s;)37===e.charCodeAt(l)&&(a.push(e.slice(c,l)),null!=(o=tR[n=e.charAt(++l)])?n=e.charAt(++l):o="e"===n?" ":"0",(i=t[n])&&(n=i(r,o)),a.push(n),c=l+1);return a.push(e.slice(c,l)),a.join("")}}function A(e,t){return function(r){var n,o,i=tD(1900,void 0,1);if(k(i,e,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(!t||"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?(n=(o=(n=tN(tD(i.y,0,1))).getUTCDay())>4||0===o?tv.ceil(n):tv(n),n=ta.offset(n,(i.V-1)*7),i.y=n.getUTCFullYear(),i.m=n.getUTCMonth(),i.d=n.getUTCDate()+(i.w+6)%7):(n=(o=(n=tI(tD(i.y,0,1))).getDay())>4||0===o?tu.ceil(n):tu(n),n=ti.offset(n,(i.V-1)*7),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)),o="Z"in i?tN(tD(i.y,0,1)).getUTCDay():tI(tD(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,tN(i)):tI(i)}}function k(e,t,r,n){for(var o,i,a=0,l=t.length,c=r.length;a<l;){if(n>=c)return -1;if(37===(o=t.charCodeAt(a++))){if(!(i=w[(o=t.charAt(a++))in tR?t.charAt(a++):o])||(n=i(e,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(t,b),x.x=O(r,x),x.X=O(n,x),x.c=O(t,x),{format:function(e){var t=O(e+="",b);return t.toString=function(){return e},t},parse:function(e){var t=A(e+="",!1);return t.toString=function(){return e},t},utcFormat:function(e){var t=O(e+="",x);return t.toString=function(){return e},t},utcParse:function(e){var t=A(e+="",!0);return t.toString=function(){return e},t}}}({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"]})).format,l.parse,s=l.utcFormat,l.utcParse;var r2=r(62365),r4=r(75928);function r3(e){for(var t=e.length,r=Array(t);--t>=0;)r[t]=t;return r}function r8(e,t){return e[t]}function r5(e){let t=[];return t.key=e,t}var r6=r(75724),r9=r.n(r6),r7=r(5262),ne=r.n(r7),nt=r(6513),nr=r.n(nt),nn=r(8898),no=r.n(nn),ni=r(34471),na=r.n(ni),nl=r(84806),nc=r.n(nl),ns=r(32985),nu=r.n(ns),nf=r(4595),np=r.n(nf),nd=r(56840),nh=r.n(nd),ny=r(57874),nm=r.n(ny),ng=r(66551),nv=r.n(ng),nb=r(82601),nx=r.n(nb);function nw(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var nO=function(e){return e},nA={},nk=function(e){return e===nA},nS=function(e){return function t(){return 0==arguments.length||1==arguments.length&&nk(arguments.length<=0?void 0:arguments[0])?t:e.apply(void 0,arguments)}},nE=function(e){return function e(t,r){return 1===t?r:nS(function(){for(var n=arguments.length,o=Array(n),i=0;i<n;i++)o[i]=arguments[i];var a=o.filter(function(e){return e!==nA}).length;return a>=t?r.apply(void 0,o):e(t-a,nS(function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];var i=o.map(function(e){return nk(e)?t.shift():e});return r.apply(void 0,((function(e){if(Array.isArray(e))return nw(e)})(i)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(i)||function(e,t){if(e){if("string"==typeof e)return nw(e,void 0);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return nw(e,t)}}(i)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).concat(t))}))})}(e.length,e)},nj=function(e,t){for(var r=[],n=e;n<t;++n)r[n-e]=n;return r},nP=nE(function(e,t){return Array.isArray(t)?t.map(e):Object.keys(t).map(function(e){return t[e]}).map(e)}),nT=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];if(!t.length)return nO;var n=t.reverse(),o=n[0],i=n.slice(1);return function(){return i.reduce(function(e,t){return t(e)},o.apply(void 0,arguments))}},n_=function(e){return Array.isArray(e)?e.reverse():e.split("").reverse.join("")},nM=function(e){var t=null,r=null;return function(){for(var n=arguments.length,o=Array(n),i=0;i<n;i++)o[i]=arguments[i];return t&&o.every(function(e,r){return e===t[r]})?r:(t=o,r=e.apply(void 0,o))}};nE(function(e,t,r){var n=+e;return n+r*(t-n)}),nE(function(e,t,r){var n=t-e;return(r-e)/(n=n||1/0)}),nE(function(e,t,r){var n=t-e;return Math.max(0,Math.min(1,(r-e)/(n=n||1/0)))});let nC={rangeStep:function(e,t,r){for(var n=new(nx())(e),o=0,i=[];n.lt(t)&&o<1e5;)i.push(n.toNumber()),n=n.add(r),o++;return i},getDigitCount:function(e){return 0===e?1:Math.floor(new(nx())(e).abs().log(10).toNumber())+1}};function nI(e){return function(e){if(Array.isArray(e))return nR(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||nD(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function nN(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var r=[],n=!0,o=!1,i=void 0;try{for(var a,l=e[Symbol.iterator]();!(n=(a=l.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){o=!0,i=e}finally{try{n||null==l.return||l.return()}finally{if(o)throw i}}return r}}(e,t)||nD(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function nD(e,t){if(e){if("string"==typeof e)return nR(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return nR(e,t)}}function nR(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function nL(e){var t=nN(e,2),r=t[0],n=t[1],o=r,i=n;return r>n&&(o=n,i=r),[o,i]}function nF(e,t,r){if(e.lte(0))return new(nx())(0);var n=nC.getDigitCount(e.toNumber()),o=new(nx())(10).pow(n),i=e.div(o),a=1!==n?.05:.1,l=new(nx())(Math.ceil(i.div(a).toNumber())).add(r).mul(a).mul(o);return t?l:new(nx())(Math.ceil(l))}function nB(e,t,r){var n=1,o=new(nx())(e);if(!o.isint()&&r){var i=Math.abs(e);i<1?(n=new(nx())(10).pow(nC.getDigitCount(e)-1),o=new(nx())(Math.floor(o.div(n).toNumber())).mul(n)):i>1&&(o=new(nx())(Math.floor(e)))}else 0===e?o=new(nx())(Math.floor((t-1)/2)):r||(o=new(nx())(Math.floor(e)));var a=Math.floor((t-1)/2);return nT(nP(function(e){return o.add(new(nx())(e-a).mul(n)).toNumber()}),nj)(0,t)}var nz=nM(function(e){var t=nN(e,2),r=t[0],n=t[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),l=nN(nL([r,n]),2),c=l[0],s=l[1];if(c===-1/0||s===1/0){var u=s===1/0?[c].concat(nI(nj(0,o-1).map(function(){return 1/0}))):[].concat(nI(nj(0,o-1).map(function(){return-1/0})),[s]);return r>n?n_(u):u}if(c===s)return nB(c,o,i);var f=function e(t,r,n,o){var i,a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0;if(!Number.isFinite((r-t)/(n-1)))return{step:new(nx())(0),tickMin:new(nx())(0),tickMax:new(nx())(0)};var l=nF(new(nx())(r).sub(t).div(n-1),o,a),c=Math.ceil((i=t<=0&&r>=0?new(nx())(0):(i=new(nx())(t).add(r).div(2)).sub(new(nx())(i).mod(l))).sub(t).div(l).toNumber()),s=Math.ceil(new(nx())(r).sub(i).div(l).toNumber()),u=c+s+1;return u>n?e(t,r,n,o,a+1):(u<n&&(s=r>0?s+(n-u):s,c=r>0?c:c+(n-u)),{step:l,tickMin:i.sub(new(nx())(c).mul(l)),tickMax:i.add(new(nx())(s).mul(l))})}(c,s,a,i),p=f.step,d=f.tickMin,h=f.tickMax,y=nC.rangeStep(d,h.add(new(nx())(.1).mul(p)),p);return r>n?n_(y):y});nM(function(e){var t=nN(e,2),r=t[0],n=t[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),l=nN(nL([r,n]),2),c=l[0],s=l[1];if(c===-1/0||s===1/0)return[r,n];if(c===s)return nB(c,o,i);var u=nF(new(nx())(s).sub(c).div(a-1),i,0),f=nT(nP(function(e){return new(nx())(c).add(new(nx())(e).mul(u)).toNumber()}),nj)(0,a).filter(function(e){return e>=c&&e<=s});return r>n?n_(f):f});var n$=nM(function(e,t){var r=nN(e,2),n=r[0],o=r[1],i=!(arguments.length>2)||void 0===arguments[2]||arguments[2],a=nN(nL([n,o]),2),l=a[0],c=a[1];if(l===-1/0||c===1/0)return[n,o];if(l===c)return[l];var s=Math.max(t,2),u=nF(new(nx())(c).sub(l).div(s-1),i,0),f=[].concat(nI(nC.rangeStep(new(nx())(l),new(nx())(c).sub(new(nx())(.99).mul(u)),u)),[c]);return n>o?n_(f):f}),nU=r(35083),nW=r(20681),nG=r(36404),nH=r(5261);function nq(e){return(nq="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function nV(e){return function(e){if(Array.isArray(e))return nK(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return nK(e,void 0);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return nK(e,t)}}(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function nK(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function nX(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function nZ(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?nX(Object(r),!0).forEach(function(t){nY(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):nX(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function nY(e,t,r){var n;return(n=function(e,t){if("object"!=nq(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=nq(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==nq(n)?n:n+"")in e)?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function nJ(e,t,r){return nr()(e)||nr()(t)?r:(0,nW.vh)(t)?nc()(e,t,r):no()(t)?t(e):r}function nQ(e,t,r,n){var o=nu()(e,function(e){return nJ(e,t)});if("number"===r){var i=o.filter(function(e){return(0,nW.Et)(e)||parseFloat(e)});return i.length?[ne()(i),r9()(i)]:[1/0,-1/0]}return(n?o.filter(function(e){return!nr()(e)}):o).map(function(e){return(0,nW.vh)(e)||e instanceof Date?e:""})}var n0=function(e){var t,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!=(t=null==r?void 0:r.length)?t:0;if(a<=1)return 0;if(o&&"angleAxis"===o.axisType&&1e-6>=Math.abs(Math.abs(o.range[1]-o.range[0])-360))for(var l=o.range,c=0;c<a;c++){var s=c>0?n[c-1].coordinate:n[a-1].coordinate,u=n[c].coordinate,f=c>=a-1?n[0].coordinate:n[c+1].coordinate,p=void 0;if((0,nW.sA)(u-s)!==(0,nW.sA)(f-u)){var d=[];if((0,nW.sA)(f-u)===(0,nW.sA)(l[1]-l[0])){p=f;var h=u+l[1]-l[0];d[0]=Math.min(h,(h+s)/2),d[1]=Math.max(h,(h+s)/2)}else{p=s;var y=f+l[1]-l[0];d[0]=Math.min(u,(y+u)/2),d[1]=Math.max(u,(y+u)/2)}var m=[Math.min(u,(p+u)/2),Math.max(u,(p+u)/2)];if(e>m[0]&&e<=m[1]||e>=d[0]&&e<=d[1]){i=n[c].index;break}}else{var g=Math.min(s,f),v=Math.max(s,f);if(e>(g+u)/2&&e<=(v+u)/2){i=n[c].index;break}}}else for(var b=0;b<a;b++)if(0===b&&e<=(r[b].coordinate+r[b+1].coordinate)/2||b>0&&b<a-1&&e>(r[b].coordinate+r[b-1].coordinate)/2&&e<=(r[b].coordinate+r[b+1].coordinate)/2||b===a-1&&e>(r[b].coordinate+r[b-1].coordinate)/2){i=r[b].index;break}return i},n1=function(e){var t,r,n=e.type.displayName,o=null!=(t=e.type)&&t.defaultProps?nZ(nZ({},e.type.defaultProps),e.props):e.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},n2=function(e){var t=e.barSize,r=e.totalSize,n=e.stackGroups,o=void 0===n?{}:n;if(!o)return{};for(var i={},a=Object.keys(o),l=0,c=a.length;l<c;l++)for(var s=o[a[l]].stackGroups,u=Object.keys(s),f=0,p=u.length;f<p;f++){var d=s[u[f]],h=d.items,y=d.cateAxisId,m=h.filter(function(e){return(0,nG.Mn)(e.type).indexOf("Bar")>=0});if(m&&m.length){var g=m[0].type.defaultProps,v=void 0!==g?nZ(nZ({},g),m[0].props):m[0].props,b=v.barSize,x=v[y];i[x]||(i[x]=[]);var w=nr()(b)?t:b;i[x].push({item:m[0],stackList:m.slice(1),barSize:nr()(w)?void 0:(0,nW.F4)(w,r,0)})}}return i},n4=function(e){var t,r=e.barGap,n=e.barCategoryGap,o=e.bandSize,i=e.sizeList,a=void 0===i?[]:i,l=e.maxBarSize,c=a.length;if(c<1)return null;var s=(0,nW.F4)(r,o,0,!0),u=[];if(a[0].barSize===+a[0].barSize){var f=!1,p=o/c,d=a.reduce(function(e,t){return e+t.barSize||0},0);(d+=(c-1)*s)>=o&&(d-=(c-1)*s,s=0),d>=o&&p>0&&(f=!0,p*=.9,d=c*p);var h={offset:((o-d)/2|0)-s,size:0};t=a.reduce(function(e,t){var r={item:t.item,position:{offset:h.offset+h.size+s,size:f?p:t.barSize}},n=[].concat(nV(e),[r]);return h=n[n.length-1].position,t.stackList&&t.stackList.length&&t.stackList.forEach(function(e){n.push({item:e,position:h})}),n},u)}else{var y=(0,nW.F4)(n,o,0,!0);o-2*y-(c-1)*s<=0&&(s=0);var m=(o-2*y-(c-1)*s)/c;m>1&&(m>>=0);var g=l===+l?Math.min(m,l):m;t=a.reduce(function(e,t,r){var n=[].concat(nV(e),[{item:t.item,position:{offset:y+(m+s)*r+(m-g)/2,size:g}}]);return t.stackList&&t.stackList.length&&t.stackList.forEach(function(e){n.push({item:e,position:n[n.length-1].position})}),n},u)}return t},n3=function(e,t,r,n){var o=r.children,i=r.width,a=r.margin,l=i-(a.left||0)-(a.right||0),c=(0,nH.g)({children:o,legendWidth:l});if(c){var s=n||{},u=s.width,f=s.height,p=c.align,d=c.verticalAlign,h=c.layout;if(("vertical"===h||"horizontal"===h&&"middle"===d)&&"center"!==p&&(0,nW.Et)(e[p]))return nZ(nZ({},e),{},nY({},p,e[p]+(u||0)));if(("horizontal"===h||"vertical"===h&&"center"===p)&&"middle"!==d&&(0,nW.Et)(e[d]))return nZ(nZ({},e),{},nY({},d,e[d]+(f||0)))}return e},n8=function(e,t,r,n,o){var i=t.props.children,a=(0,nG.aS)(i,nU.u).filter(function(e){var t;return t=e.props.direction,!!nr()(o)||("horizontal"===n?"yAxis"===o:"vertical"===n||"x"===t?"xAxis"===o:"y"!==t||"yAxis"===o)});if(a&&a.length){var l=a.map(function(e){return e.props.dataKey});return e.reduce(function(e,t){var n=nJ(t,r);if(nr()(n))return e;var o=Array.isArray(n)?[ne()(n),r9()(n)]:[n,n],i=l.reduce(function(e,r){var n=nJ(t,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,e[0]),Math.max(a,e[1])]},[1/0,-1/0]);return[Math.min(i[0],e[0]),Math.max(i[1],e[1])]},[1/0,-1/0])}return null},n5=function(e,t,r,n,o){var i=t.map(function(t){return n8(e,t,r,o,n)}).filter(function(e){return!nr()(e)});return i&&i.length?i.reduce(function(e,t){return[Math.min(e[0],t[0]),Math.max(e[1],t[1])]},[1/0,-1/0]):null},n6=function(e,t,r,n,o){var i=t.map(function(t){var i=t.props.dataKey;return"number"===r&&i&&n8(e,t,i,n)||nQ(e,i,r,o)});if("number"===r)return i.reduce(function(e,t){return[Math.min(e[0],t[0]),Math.max(e[1],t[1])]},[1/0,-1/0]);var a={};return i.reduce(function(e,t){for(var r=0,n=t.length;r<n;r++)a[t[r]]||(a[t[r]]=!0,e.push(t[r]));return e},[])},n9=function(e,t){return"horizontal"===e&&"xAxis"===t||"vertical"===e&&"yAxis"===t||"centric"===e&&"angleAxis"===t||"radial"===e&&"radiusAxis"===t},n7=function(e,t,r,n){if(n)return e.map(function(e){return e.coordinate});var o,i,a=e.map(function(e){return e.coordinate===t&&(o=!0),e.coordinate===r&&(i=!0),e.coordinate});return o||a.push(t),i||a.push(r),a},oe=function(e,t,r){if(!e)return null;var n=e.scale,o=e.duplicateDomain,i=e.type,a=e.range,l="scaleBand"===e.realScaleType?n.bandwidth()/2:2,c=(t||r)&&"category"===i&&n.bandwidth?n.bandwidth()/l:0;return(c="angleAxis"===e.axisType&&(null==a?void 0:a.length)>=2?2*(0,nW.sA)(a[0]-a[1])*c:c,t&&(e.ticks||e.niceTicks))?(e.ticks||e.niceTicks).map(function(e){return{coordinate:n(o?o.indexOf(e):e)+c,value:e,offset:c}}).filter(function(e){return!np()(e.coordinate)}):e.isCategorical&&e.categoricalDomain?e.categoricalDomain.map(function(e,t){return{coordinate:n(e)+c,value:e,index:t,offset:c}}):n.ticks&&!r?n.ticks(e.tickCount).map(function(e){return{coordinate:n(e)+c,value:e,offset:c}}):n.domain().map(function(e,t){return{coordinate:n(e)+c,value:o?o[e]:e,index:t,offset:c}})},ot=new WeakMap,or=function(e,t){if("function"!=typeof t)return e;ot.has(e)||ot.set(e,new WeakMap);var r=ot.get(e);if(r.has(t))return r.get(t);var n=function(){e.apply(void 0,arguments),t.apply(void 0,arguments)};return r.set(t,n),n},on=function(e,t,r){var n=e.scale,o=e.type,i=e.layout,a=e.axisType;if("auto"===n)return"radial"===i&&"radiusAxis"===a?{scale:f.A(),realScaleType:"band"}:"radial"===i&&"angleAxis"===a?{scale:eR(),realScaleType:"linear"}:"category"===o&&t&&(t.indexOf("LineChart")>=0||t.indexOf("AreaChart")>=0||t.indexOf("ComposedChart")>=0&&!r)?{scale:f.z(),realScaleType:"point"}:"category"===o?{scale:f.A(),realScaleType:"band"}:{scale:eR(),realScaleType:"linear"};if(na()(n)){var l="scale".concat(nh()(n));return{scale:(u[l]||f.z)(),realScaleType:u[l]?l:"point"}}return no()(n)?{scale:n}:{scale:f.z(),realScaleType:"point"}},oo=function(e){var t=e.domain();if(t&&!(t.length<=2)){var r=t.length,n=e.range(),o=Math.min(n[0],n[1])-1e-4,i=Math.max(n[0],n[1])+1e-4,a=e(t[0]),l=e(t[r-1]);(a<o||a>i||l<o||l>i)&&e.domain([t[0],t[r-1]])}},oi=function(e,t){if(!e)return null;for(var r=0,n=e.length;r<n;r++)if(e[r].item===t)return e[r].position;return null},oa=function(e,t){if(!t||2!==t.length||!(0,nW.Et)(t[0])||!(0,nW.Et)(t[1]))return e;var r=Math.min(t[0],t[1]),n=Math.max(t[0],t[1]),o=[e[0],e[1]];return(!(0,nW.Et)(e[0])||e[0]<r)&&(o[0]=r),(!(0,nW.Et)(e[1])||e[1]>n)&&(o[1]=n),o[0]>n&&(o[0]=n),o[1]<r&&(o[1]=r),o},ol={sign:function(e){var t=e.length;if(!(t<=0))for(var r=0,n=e[0].length;r<n;++r)for(var o=0,i=0,a=0;a<t;++a){var l=np()(e[a][r][1])?e[a][r][0]:e[a][r][1];l>=0?(e[a][r][0]=o,e[a][r][1]=o+l,o=e[a][r][1]):(e[a][r][0]=i,e[a][r][1]=i+l,i=e[a][r][1])}},expand:function(e,t){if((n=e.length)>0){for(var r,n,o,i=0,a=e[0].length;i<a;++i){for(o=r=0;r<n;++r)o+=e[r][i][1]||0;if(o)for(r=0;r<n;++r)e[r][i][1]/=o}r1(e,t)}},none:r1,silhouette:function(e,t){if((r=e.length)>0){for(var r,n=0,o=e[t[0]],i=o.length;n<i;++n){for(var a=0,l=0;a<r;++a)l+=e[a][n][1]||0;o[n][1]+=o[n][0]=-l/2}r1(e,t)}},wiggle:function(e,t){if((o=e.length)>0&&(n=(r=e[t[0]]).length)>0){for(var r,n,o,i=0,a=1;a<n;++a){for(var l=0,c=0,s=0;l<o;++l){for(var u=e[t[l]],f=u[a][1]||0,p=(f-(u[a-1][1]||0))/2,d=0;d<l;++d){var h=e[t[d]];p+=(h[a][1]||0)-(h[a-1][1]||0)}c+=f,s+=p*f}r[a-1][1]+=r[a-1][0]=i,c&&(i-=s/c)}r[a-1][1]+=r[a-1][0]=i,r1(e,t)}},positive:function(e){var t=e.length;if(!(t<=0))for(var r=0,n=e[0].length;r<n;++r)for(var o=0,i=0;i<t;++i){var a=np()(e[i][r][1])?e[i][r][0]:e[i][r][1];a>=0?(e[i][r][0]=o,e[i][r][1]=o+a,o=e[i][r][1]):(e[i][r][0]=0,e[i][r][1]=0)}}},oc=function(e,t,r){var n=t.map(function(e){return e.props.dataKey}),o=ol[r];return(function(){var e=(0,r4.A)([]),t=r3,r=r1,n=r8;function o(o){var i,a,l=Array.from(e.apply(this,arguments),r5),c=l.length,s=-1;for(let e of o)for(i=0,++s;i<c;++i)(l[i][s]=[0,+n(e,l[i].key,s,o)]).data=e;for(i=0,a=(0,r2.A)(t(l));i<c;++i)l[a[i]].index=i;return r(l,a),l}return o.keys=function(t){return arguments.length?(e="function"==typeof t?t:(0,r4.A)(Array.from(t)),o):e},o.value=function(e){return arguments.length?(n="function"==typeof e?e:(0,r4.A)(+e),o):n},o.order=function(e){return arguments.length?(t=null==e?r3:"function"==typeof e?e:(0,r4.A)(Array.from(e)),o):t},o.offset=function(e){return arguments.length?(r=null==e?r1:e,o):r},o})().keys(n).value(function(e,t){return+nJ(e,t,0)}).order(r3).offset(o)(e)},os=function(e,t,r,n,o,i){if(!e)return null;var a=(i?t.reverse():t).reduce(function(e,t){var o,i=null!=(o=t.type)&&o.defaultProps?nZ(nZ({},t.type.defaultProps),t.props):t.props,a=i.stackId;if(i.hide)return e;var l=i[r],c=e[l]||{hasStack:!1,stackGroups:{}};if((0,nW.vh)(a)){var s=c.stackGroups[a]||{numericAxisId:r,cateAxisId:n,items:[]};s.items.push(t),c.hasStack=!0,c.stackGroups[a]=s}else c.stackGroups[(0,nW.NF)("_stackId_")]={numericAxisId:r,cateAxisId:n,items:[t]};return nZ(nZ({},e),{},nY({},l,c))},{});return Object.keys(a).reduce(function(t,i){var l=a[i];return l.hasStack&&(l.stackGroups=Object.keys(l.stackGroups).reduce(function(t,i){var a=l.stackGroups[i];return nZ(nZ({},t),{},nY({},i,{numericAxisId:r,cateAxisId:n,items:a.items,stackedData:oc(e,a.items,o)}))},{})),nZ(nZ({},t),{},nY({},i,l))},{})},ou=function(e,t){var r=t.realScaleType,n=t.type,o=t.tickCount,i=t.originalDomain,a=t.allowDecimals,l=r||t.scale;if("auto"!==l&&"linear"!==l)return null;if(o&&"number"===n&&i&&("auto"===i[0]||"auto"===i[1])){var c=e.domain();if(!c.length)return null;var s=nz(c,o,a);return e.domain([ne()(s),r9()(s)]),{niceTicks:s}}return o&&"number"===n?{niceTicks:n$(e.domain(),o,a)}:null};function of(e){var t=e.axis,r=e.ticks,n=e.bandSize,o=e.entry,i=e.index,a=e.dataKey;if("category"===t.type){if(!t.allowDuplicatedCategory&&t.dataKey&&!nr()(o[t.dataKey])){var l=(0,nW.eP)(r,"value",o[t.dataKey]);if(l)return l.coordinate+n/2}return r[i]?r[i].coordinate+n/2:null}var c=nJ(o,nr()(a)?t.dataKey:a);return nr()(c)?null:t.scale(c)}var op=function(e){var t=e.axis,r=e.ticks,n=e.offset,o=e.bandSize,i=e.entry,a=e.index;if("category"===t.type)return r[a]?r[a].coordinate+n:null;var l=nJ(i,t.dataKey,t.domain[a]);return nr()(l)?null:t.scale(l)-o/2+n},od=function(e){var t=e.numericAxis,r=t.scale.domain();if("number"===t.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]},oh=function(e,t){var r,n=(null!=(r=e.type)&&r.defaultProps?nZ(nZ({},e.type.defaultProps),e.props):e.props).stackId;if((0,nW.vh)(n)){var o=t[n];if(o){var i=o.items.indexOf(e);return i>=0?o.stackedData[i]:null}}return null},oy=function(e,t,r){return Object.keys(e).reduce(function(n,o){var i=e[o].stackedData.reduce(function(e,n){var o=n.slice(t,r+1).reduce(function(e,t){return[ne()(t.concat([e[0]]).filter(nW.Et)),r9()(t.concat([e[1]]).filter(nW.Et))]},[1/0,-1/0]);return[Math.min(e[0],o[0]),Math.max(e[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(e){return e===1/0||e===-1/0?0:e})},om=/^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,og=/^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,ov=function(e,t,r){if(no()(e))return e(t,r);if(!Array.isArray(e))return t;var n=[];if((0,nW.Et)(e[0]))n[0]=r?e[0]:Math.min(e[0],t[0]);else if(om.test(e[0])){var o=+om.exec(e[0])[1];n[0]=t[0]-o}else no()(e[0])?n[0]=e[0](t[0]):n[0]=t[0];if((0,nW.Et)(e[1]))n[1]=r?e[1]:Math.max(e[1],t[1]);else if(og.test(e[1])){var i=+og.exec(e[1])[1];n[1]=t[1]+i}else no()(e[1])?n[1]=e[1](t[1]):n[1]=t[1];return n},ob=function(e,t,r){if(e&&e.scale&&e.scale.bandwidth){var n=e.scale.bandwidth();if(!r||n>0)return n}if(e&&t&&t.length>=2){for(var o=nv()(t,function(e){return e.coordinate}),i=1/0,a=1,l=o.length;a<l;a++){var c=o[a],s=o[a-1];i=Math.min((c.coordinate||0)-(s.coordinate||0),i)}return i===1/0?0:i}return r?void 0:0},ox=function(e,t,r){return!e||!e.length||nm()(e,nc()(r,"type.defaultProps.domain"))?t:e},ow=function(e,t){var r=e.type.defaultProps?nZ(nZ({},e.type.defaultProps),e.props):e.props,n=r.dataKey,o=r.name,i=r.unit,a=r.formatter,l=r.tooltipType,c=r.chartType,s=r.hide;return nZ(nZ({},(0,nG.J9)(e,!1)),{},{dataKey:n,unit:i,formatter:a,name:o||n,color:n1(e),value:nJ(t,n),type:l,payload:t,chartType:c,hide:s})}},35888:(e,t,r)=>{"use strict";r.d(t,{DX:()=>u});var n,o=r(44213),i=r(86219),a=r(59697),l=Symbol.for("react.lazy"),c=(n||(n=r.t(o,2)))[" use ".trim().toString()];function s(e){var t;return null!=e&&"object"==typeof e&&"$$typeof"in e&&e.$$typeof===l&&"_payload"in e&&"object"==typeof(t=e._payload)&&null!==t&&"then"in t}var u=function(e){let t=function(e){let t=o.forwardRef((e,t)=>{let{children:r,...n}=e;if(s(r)&&"function"==typeof c&&(r=c(r._payload)),o.isValidElement(r)){var a;let e,l,c=(a=r,(l=(e=Object.getOwnPropertyDescriptor(a.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?a.ref:(l=(e=Object.getOwnPropertyDescriptor(a,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?a.props.ref:a.props.ref||a.ref),s=function(e,t){let r={...t};for(let n in t){let o=e[n],i=t[n];/^on[A-Z]/.test(n)?o&&i?r[n]=(...e)=>{let t=i(...e);return o(...e),t}:o&&(r[n]=o):"style"===n?r[n]={...o,...i}:"className"===n&&(r[n]=[o,i].filter(Boolean).join(" "))}return{...e,...r}}(n,r.props);return r.type!==o.Fragment&&(s.ref=t?(0,i.t)(t,c):c),o.cloneElement(r,s)}return o.Children.count(r)>1?o.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}(e),r=o.forwardRef((e,r)=>{let{children:n,...i}=e;s(n)&&"function"==typeof c&&(n=c(n._payload));let l=o.Children.toArray(n),u=l.find(p);if(u){let e=u.props.children,n=l.map(t=>t!==u?t:o.Children.count(e)>1?o.Children.only(null):o.isValidElement(e)?e.props.children:null);return(0,a.jsx)(t,{...i,ref:r,children:o.isValidElement(e)?o.cloneElement(e,void 0,n):null})}return(0,a.jsx)(t,{...i,ref:r,children:n})});return r.displayName=`${e}.Slot`,r}("Slot"),f=Symbol("radix.slottable");function p(e){return o.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===f}},36404:(e,t,r)=>{"use strict";r.d(t,{AW:()=>F,BU:()=>P,J9:()=>I,Me:()=>T,Mn:()=>A,OV:()=>N,X_:()=>L,aS:()=>j,ee:()=>R,sT:()=>M});var n=r(84806),o=r.n(n),i=r(6513),a=r.n(i),l=r(34471),c=r.n(l),s=r(8898),u=r.n(s),f=r(88777),p=r.n(f),d=r(44213),h=r(45177),y=r(20681),m=r(18064),g=r(285),v=["children"],b=["children"];function x(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function w(e){return(w="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var O={click:"onClick",mousedown:"onMouseDown",mouseup:"onMouseUp",mouseover:"onMouseOver",mousemove:"onMouseMove",mouseout:"onMouseOut",mouseenter:"onMouseEnter",mouseleave:"onMouseLeave",touchcancel:"onTouchCancel",touchend:"onTouchEnd",touchmove:"onTouchMove",touchstart:"onTouchStart",contextmenu:"onContextMenu",dblclick:"onDoubleClick"},A=function(e){return"string"==typeof e?e:e?e.displayName||e.name||"Component":""},k=null,S=null,E=function e(t){if(t===k&&Array.isArray(S))return S;var r=[];return d.Children.forEach(t,function(t){a()(t)||((0,h.isFragment)(t)?r=r.concat(e(t.props.children)):r.push(t))}),S=r,k=t,r};function j(e,t){var r=[],n=[];return n=Array.isArray(t)?t.map(function(e){return A(e)}):[A(t)],E(e).forEach(function(e){var t=o()(e,"type.displayName")||o()(e,"type.name");-1!==n.indexOf(t)&&r.push(e)}),r}function P(e,t){var r=j(e,t);return r&&r[0]}var T=function(e){if(!e||!e.props)return!1;var t=e.props,r=t.width,n=t.height;return!!(0,y.Et)(r)&&!(r<=0)&&!!(0,y.Et)(n)&&!(n<=0)},_=["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"],M=function(e){return e&&"object"===w(e)&&"clipDot"in e},C=function(e,t,r,n){var o,i=null!=(o=null===g.VU||void 0===g.VU?void 0:g.VU[n])?o:[];return t.startsWith("data-")||!u()(e)&&(n&&i.includes(t)||g.QQ.includes(t))||r&&g.j2.includes(t)},I=function(e,t,r){if(!e||"function"==typeof e||"boolean"==typeof e)return null;var n=e;if((0,d.isValidElement)(e)&&(n=e.props),!p()(n))return null;var o={};return Object.keys(n).forEach(function(e){var i;C(null==(i=n)?void 0:i[e],e,t,r)&&(o[e]=n[e])}),o},N=function e(t,r){if(t===r)return!0;var n=d.Children.count(t);if(n!==d.Children.count(r))return!1;if(0===n)return!0;if(1===n)return D(Array.isArray(t)?t[0]:t,Array.isArray(r)?r[0]:r);for(var o=0;o<n;o++){var i=t[o],a=r[o];if(Array.isArray(i)||Array.isArray(a)){if(!e(i,a))return!1}else if(!D(i,a))return!1}return!0},D=function(e,t){if(a()(e)&&a()(t))return!0;if(!a()(e)&&!a()(t)){var r=e.props||{},n=r.children,o=x(r,v),i=t.props||{},l=i.children,c=x(i,b);if(n&&l)return(0,m.b)(o,c)&&N(n,l);if(!n&&!l)return(0,m.b)(o,c)}return!1},R=function(e,t){var r=[],n={};return E(e).forEach(function(e,o){if(e&&e.type&&c()(e.type)&&_.indexOf(e.type)>=0)r.push(e);else if(e){var i=A(e.type),a=t[i]||{},l=a.handler,s=a.once;if(l&&(!s||!n[i])){var u=l(e,i,o);r.push(u),n[i]=!0}}}),r},L=function(e){var t=e&&e.type;return t&&O[t]?O[t]:null},F=function(e,t){return E(t).indexOf(e)}},37028:(e,t,r)=>{"use strict";r.d(t,{r:()=>et});var n=r(73748),o=r(44213),i=r(8898),a=r.n(i),l=r(73138),c=r(79164),s=r(11220),u=r(36404),f=["points","className","baseLinePoints","connectNulls"];function p(){return(p=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function d(e){return function(e){if(Array.isArray(e))return h(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return h(e,void 0);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return h(e,t)}}(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function h(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var y=function(e){return e&&e.x===+e.x&&e.y===+e.y},m=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=[[]];return e.forEach(function(e){y(e)?t[t.length-1].push(e):t[t.length-1].length>0&&t.push([])}),y(e[0])&&t[t.length-1].push(e[0]),t[t.length-1].length<=0&&(t=t.slice(0,-1)),t},g=function(e,t){var r=m(e);t&&(r=[r.reduce(function(e,t){return[].concat(d(e),d(t))},[])]);var n=r.map(function(e){return e.reduce(function(e,t,r){return"".concat(e).concat(0===r?"M":"L").concat(t.x,",").concat(t.y)},"")}).join("");return 1===r.length?"".concat(n,"Z"):n},v=function(e,t,r){var n=g(e,r);return"".concat("Z"===n.slice(-1)?n.slice(0,-1):n,"L").concat(g(t.reverse(),r).slice(1))},b=function(e){var t=e.points,r=e.className,n=e.baseLinePoints,i=e.connectNulls,a=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,f);if(!t||!t.length)return null;var c=(0,l.A)("recharts-polygon",r);if(n&&n.length){var s=a.stroke&&"none"!==a.stroke,d=v(t,n,i);return o.createElement("g",{className:c},o.createElement("path",p({},(0,u.J9)(a,!0),{fill:"Z"===d.slice(-1)?a.fill:"none",stroke:"none",d:d})),s?o.createElement("path",p({},(0,u.J9)(a,!0),{fill:"none",d:g(t,i)})):null,s?o.createElement("path",p({},(0,u.J9)(a,!0),{fill:"none",d:g(n,i)})):null)}var h=g(t,i);return o.createElement("path",p({},(0,u.J9)(a,!0),{fill:"Z"===h.slice(-1)?a.fill:"none",className:c,d:h}))},x=r(91258),w=r(285),O=r(68473);function A(e){return(A="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function k(){return(k=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function S(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function E(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?S(Object(r),!0).forEach(function(t){M(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):S(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function j(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,C(n.key),n)}}function P(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(P=function(){return!!e})()}function T(e){return(T=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function _(e,t){return(_=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function M(e,t,r){return(t=C(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function C(e){var t=function(e,t){if("object"!=A(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=A(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==A(t)?t:t+""}var I=Math.PI/180,N=function(e){var t,r;function n(){var e,t;if(!(this instanceof n))throw TypeError("Cannot call a class as a function");return e=n,t=arguments,e=T(e),function(e,t){if(t&&("object"===A(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");var r=e;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,P()?Reflect.construct(e,t||[],T(this).constructor):e.apply(this,t))}if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");return n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),Object.defineProperty(n,"prototype",{writable:!1}),e&&_(n,e),t=[{key:"getTickLineCoord",value:function(e){var t=this.props,r=t.cx,n=t.cy,o=t.radius,i=t.orientation,a=t.tickSize,l=(0,O.IZ)(r,n,o,e.coordinate),c=(0,O.IZ)(r,n,o+("inner"===i?-1:1)*(a||8),e.coordinate);return{x1:l.x,y1:l.y,x2:c.x,y2:c.y}}},{key:"getTickTextAnchor",value:function(e){var t=this.props.orientation,r=Math.cos(-e.coordinate*I);return r>1e-5?"outer"===t?"start":"end":r<-1e-5?"outer"===t?"end":"start":"middle"}},{key:"renderAxisLine",value:function(){var e=this.props,t=e.cx,r=e.cy,n=e.radius,i=e.axisLine,a=e.axisLineType,l=E(E({},(0,u.J9)(this.props,!1)),{},{fill:"none"},(0,u.J9)(i,!1));if("circle"===a)return o.createElement(s.c,k({className:"recharts-polar-angle-axis-line"},l,{cx:t,cy:r,r:n}));var c=this.props.ticks.map(function(e){return(0,O.IZ)(t,r,n,e.coordinate)});return o.createElement(b,k({className:"recharts-polar-angle-axis-line"},l,{points:c}))}},{key:"renderTicks",value:function(){var e=this,t=this.props,r=t.ticks,i=t.tick,a=t.tickLine,s=t.tickFormatter,f=t.stroke,p=(0,u.J9)(this.props,!1),d=(0,u.J9)(i,!1),h=E(E({},p),{},{fill:"none"},(0,u.J9)(a,!1)),y=r.map(function(t,r){var u=e.getTickLineCoord(t),y=E(E(E({textAnchor:e.getTickTextAnchor(t)},p),{},{stroke:"none",fill:f},d),{},{index:r,payload:t,x:u.x2,y:u.y2});return o.createElement(c.W,k({className:(0,l.A)("recharts-polar-angle-axis-tick",(0,O.Zk)(i)),key:"tick-".concat(t.coordinate)},(0,w.XC)(e.props,t,r)),a&&o.createElement("line",k({className:"recharts-polar-angle-axis-tick-line"},h,u)),i&&n.renderTickItem(i,y,s?s(t.value,r):t.value))});return o.createElement(c.W,{className:"recharts-polar-angle-axis-ticks"},y)}},{key:"render",value:function(){var e=this.props,t=e.ticks,r=e.radius,n=e.axisLine;return!(r<=0)&&t&&t.length?o.createElement(c.W,{className:(0,l.A)("recharts-polar-angle-axis",this.props.className)},n&&this.renderAxisLine(),this.renderTicks()):null}}],r=[{key:"renderTickItem",value:function(e,t,r){return o.isValidElement(e)?o.cloneElement(e,t):a()(e)?e(t):o.createElement(x.E,k({},t,{className:"recharts-polar-angle-axis-tick-value"}),r)}}],t&&j(n.prototype,t),r&&j(n,r),Object.defineProperty(n,"prototype",{writable:!1}),n}(o.PureComponent);M(N,"displayName","PolarAngleAxis"),M(N,"axisType","angleAxis"),M(N,"defaultProps",{type:"category",angleAxisId:0,scale:"auto",cx:0,cy:0,orientation:"outer",axisLine:!0,tickLine:!0,tickSize:8,tick:!0,hide:!1,allowDuplicatedCategory:!0});var D=r(73705),R=r.n(D),L=r(82415),F=r.n(L),B=r(32203),z=["cx","cy","angle","ticks","axisLine"],$=["ticks","tick","angle","tickFormatter","stroke"];function U(e){return(U="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function W(){return(W=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function G(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function H(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?G(Object(r),!0).forEach(function(t){Y(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):G(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function q(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function V(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,J(n.key),n)}}function K(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(K=function(){return!!e})()}function X(e){return(X=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Z(e,t){return(Z=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function Y(e,t,r){return(t=J(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function J(e){var t=function(e,t){if("object"!=U(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=U(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==U(t)?t:t+""}var Q=function(e){var t,r;function n(){var e,t;if(!(this instanceof n))throw TypeError("Cannot call a class as a function");return e=n,t=arguments,e=X(e),function(e,t){if(t&&("object"===U(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");var r=e;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,K()?Reflect.construct(e,t||[],X(this).constructor):e.apply(this,t))}if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");return n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),Object.defineProperty(n,"prototype",{writable:!1}),e&&Z(n,e),t=[{key:"getTickValueCoord",value:function(e){var t=e.coordinate,r=this.props,n=r.angle,o=r.cx,i=r.cy;return(0,O.IZ)(o,i,t,n)}},{key:"getTickTextAnchor",value:function(){var e;switch(this.props.orientation){case"left":e="end";break;case"right":e="start";break;default:e="middle"}return e}},{key:"getViewBox",value:function(){var e=this.props,t=e.cx,r=e.cy,n=e.angle,o=e.ticks,i=R()(o,function(e){return e.coordinate||0});return{cx:t,cy:r,startAngle:n,endAngle:n,innerRadius:F()(o,function(e){return e.coordinate||0}).coordinate||0,outerRadius:i.coordinate||0}}},{key:"renderAxisLine",value:function(){var e=this.props,t=e.cx,r=e.cy,n=e.angle,i=e.ticks,a=e.axisLine,l=q(e,z),c=i.reduce(function(e,t){return[Math.min(e[0],t.coordinate),Math.max(e[1],t.coordinate)]},[1/0,-1/0]),s=(0,O.IZ)(t,r,c[0],n),f=(0,O.IZ)(t,r,c[1],n),p=H(H(H({},(0,u.J9)(l,!1)),{},{fill:"none"},(0,u.J9)(a,!1)),{},{x1:s.x,y1:s.y,x2:f.x,y2:f.y});return o.createElement("line",W({className:"recharts-polar-radius-axis-line"},p))}},{key:"renderTicks",value:function(){var e=this,t=this.props,r=t.ticks,i=t.tick,a=t.angle,s=t.tickFormatter,f=t.stroke,p=q(t,$),d=this.getTickTextAnchor(),h=(0,u.J9)(p,!1),y=(0,u.J9)(i,!1),m=r.map(function(t,r){var u=e.getTickValueCoord(t),p=H(H(H(H({textAnchor:d,transform:"rotate(".concat(90-a,", ").concat(u.x,", ").concat(u.y,")")},h),{},{stroke:"none",fill:f},y),{},{index:r},u),{},{payload:t});return o.createElement(c.W,W({className:(0,l.A)("recharts-polar-radius-axis-tick",(0,O.Zk)(i)),key:"tick-".concat(t.coordinate)},(0,w.XC)(e.props,t,r)),n.renderTickItem(i,p,s?s(t.value,r):t.value))});return o.createElement(c.W,{className:"recharts-polar-radius-axis-ticks"},m)}},{key:"render",value:function(){var e=this.props,t=e.ticks,r=e.axisLine,n=e.tick;return t&&t.length?o.createElement(c.W,{className:(0,l.A)("recharts-polar-radius-axis",this.props.className)},r&&this.renderAxisLine(),n&&this.renderTicks(),B.J.renderCallByParent(this.props,this.getViewBox())):null}}],r=[{key:"renderTickItem",value:function(e,t,r){return o.isValidElement(e)?o.cloneElement(e,t):a()(e)?e(t):o.createElement(x.E,W({},t,{className:"recharts-polar-radius-axis-tick-value"}),r)}}],t&&V(n.prototype,t),r&&V(n,r),Object.defineProperty(n,"prototype",{writable:!1}),n}(o.PureComponent);Y(Q,"displayName","PolarRadiusAxis"),Y(Q,"axisType","radiusAxis"),Y(Q,"defaultProps",{type:"number",radiusAxisId:0,cx:0,cy:0,angle:0,orientation:"right",stroke:"#ccc",axisLine:!0,tick:!0,tickCount:5,allowDataOverflow:!1,scale:"auto",allowDuplicatedCategory:!0});var ee=r(20672),et=(0,n.gu)({chartName:"PieChart",GraphicalChild:ee.F,validateTooltipEventTypes:["item"],defaultTooltipEventType:"item",legendContent:"children",axisComponents:[{axisType:"angleAxis",AxisComp:N},{axisType:"radiusAxis",AxisComp:Q}],formatAxisMap:O.pr,defaultProps:{layout:"centric",startAngle:0,endAngle:360,cx:"50%",cy:"50%",innerRadius:0,outerRadius:"80%"}})},37322:e=>{e.exports=function(e,t){return e<t}},37734:(e,t,r)=>{"use strict";r.d(t,{u:()=>c});var n=r(44213),o=r(73138),i=r(36404),a=["children","width","height","viewBox","className","style","title","desc"];function l(){return(l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function c(e){var t=e.children,r=e.width,c=e.height,s=e.viewBox,u=e.className,f=e.style,p=e.title,d=e.desc,h=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,a),y=s||{width:r,height:c,x:0,y:0},m=(0,o.A)("recharts-surface",u);return n.createElement("svg",l({},(0,i.J9)(h,!0,"svg"),{className:m,width:r,height:c,style:f,viewBox:"".concat(y.x," ").concat(y.y," ").concat(y.width," ").concat(y.height)}),n.createElement("title",null,p),n.createElement("desc",null,d),t)}},37762:e=>{e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length,o=0,i=[];++r<n;){var a=e[r];t(a,r,e)&&(i[o++]=a)}return i}},37960:(e,t,r)=>{e=r.nmd(e);var n=r(52811),o=r(5345),i=t&&!t.nodeType&&t,a=i&&e&&!e.nodeType&&e,l=a&&a.exports===i?n.Buffer:void 0,c=l?l.isBuffer:void 0;e.exports=c||o},37988:(e,t,r)=>{"use strict";r.d(t,{sG:()=>A});var n=r(44213),o=r.t(n,2),i=r(15480),a=r(76066),l=Object.defineProperty,c=(e,t)=>l(e,"name",{value:t,configurable:!0});function s(e){let t=n.forwardRef((t,r)=>{let{children:o,...i}=t,l=null,c=!1,s=[];m(o)&&"function"==typeof x&&(o=x(o._payload)),n.Children.forEach(o,e=>{if(h(e)){c=!0;let t="child"in e.props?e.props.child:e.props.children;m(t)&&"function"==typeof x&&(t=x(t._payload)),l=f(e,t),s.push(l?.props?.children)}else s.push(e)}),l?l=n.cloneElement(l,void 0,s):!c&&1===n.Children.count(o)&&n.isValidElement(o)&&(l=o);let u=l?d(l):void 0,y=(0,a.s)(r,u);if(!l){if(o||0===o)throw Error(c?b(e):v(e));return o}let g=p(i,l.props??{});return l.type!==n.Fragment&&(g.ref=r?y:u),n.cloneElement(l,g)});return t.displayName=`${e}.Slot`,t}c(s,"createSlot");var u=Symbol.for("radix.slottable");c(function(e){let t=c(e=>"child"in e?e.children(e.child):e.children,"Slottable");return t.displayName=`${e}.Slottable`,t.__radixId=u,t},"createSlottable");var f=c((e,t)=>{if("child"in e.props){let t=e.props.child;return n.isValidElement(t)?n.cloneElement(t,void 0,e.props.children(t.props.children)):null}return n.isValidElement(t)?t:null},"getSlottableElementFromSlottable");function p(e,t){let r={...t};for(let n in t){let o=e[n],i=t[n];/^on[A-Z]/.test(n)?o&&i?r[n]=(...e)=>{let t=i(...e);return o(...e),t}:o&&(r[n]=o):"style"===n?r[n]={...o,...i}:"className"===n&&(r[n]=[o,i].filter(Boolean).join(" "))}return{...e,...r}}function d(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(r=(t=Object.getOwnPropertyDescriptor(e,"ref")?.get)&&"isReactWarning"in t&&t.isReactWarning)?e.props.ref:e.props.ref||e.ref}function h(e){return n.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===u}c(p,"mergeProps"),c(d,"getElementRef"),c(h,"isSlottable");var y=Symbol.for("react.lazy");function m(e){return null!=e&&"object"==typeof e&&"$$typeof"in e&&e.$$typeof===y&&"_payload"in e&&g(e._payload)}function g(e){return"object"==typeof e&&null!==e&&"then"in e}c(m,"isLazyComponent"),c(g,"isPromiseLike");var v=c(e=>`${e} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`,"createSlotError"),b=c(e=>`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`,"createSlottableError"),x=o[" use ".trim().toString()],w=r(59697),O=Object.defineProperty,A=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{let r=s(`Primitive.${t}`),o=n.forwardRef((e,n)=>{let{asChild:o,...i}=e;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,w.jsx)(o?r:t,{...i,ref:n})});return o.displayName=`Primitive.${t}`,{...e,[t]:o}},{});O(function(e,t){e&&i.flushSync(()=>e.dispatchEvent(t))},"name",{value:"dispatchDiscreteCustomEvent",configurable:!0})},38282:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(91485).A)("info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]])},39517:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(91485).A)("layout-dashboard",[["rect",{width:"7",height:"9",x:"3",y:"3",rx:"1",key:"10lvy0"}],["rect",{width:"7",height:"5",x:"14",y:"3",rx:"1",key:"16une8"}],["rect",{width:"7",height:"9",x:"14",y:"12",rx:"1",key:"1hutg5"}],["rect",{width:"7",height:"5",x:"3",y:"16",rx:"1",key:"ldoo1y"}]])},39530:(e,t,r)=>{var n=r(52811);e.exports=function(){return n.Date.now()}},39710:(e,t,r)=>{var n=r(46488);e.exports=function(e,t,r){var o=e.length;return r=void 0===r?o:r,!t&&r>=o?e:n(e,t,r)}},39758:(e,t,r)=>{var n=r(5011),o=r(16910),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;e.exports=function(e,t){if(n(e))return!1;var r=typeof e;return!!("number"==r||"symbol"==r||"boolean"==r||null==e||o(e))||a.test(e)||!i.test(e)||null!=t&&e in Object(t)}},40161:(e,t,r)=>{"use strict";r.d(t,{A:()=>function e(){var t=new n,r=[],o=[],i=l;function c(e){let n=t.get(e);if(void 0===n){if(i!==l)return i;t.set(e,n=r.push(e)-1)}return o[n%o.length]}return c.domain=function(e){if(!arguments.length)return r.slice();for(let o of(r=[],t=new n,e))t.has(o)||t.set(o,r.push(o)-1);return c},c.range=function(e){return arguments.length?(o=Array.from(e),c):o.slice()},c.unknown=function(e){return arguments.length?(i=e,c):i},c.copy=function(){return e(r,o).unknown(i)},a.C.apply(c,arguments),c},h:()=>l});class n extends Map{constructor(e,t=i){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:t}}),null!=e)for(let[t,r]of e)this.set(t,r)}get(e){return super.get(o(this,e))}has(e){return super.has(o(this,e))}set(e,t){return super.set(function({_intern:e,_key:t},r){let n=t(r);return e.has(n)?e.get(n):(e.set(n,r),r)}(this,e),t)}delete(e){return super.delete(function({_intern:e,_key:t},r){let n=t(r);return e.has(n)&&(r=e.get(n),e.delete(n)),r}(this,e))}}function o({_intern:e,_key:t},r){let n=t(r);return e.has(n)?e.get(n):r}function i(e){return null!==e&&"object"==typeof e?e.valueOf():e}var a=r(86377);let l=Symbol("implicit")},40401:e=>{e.exports=function(e,t,r){for(var n=-1,o=null==e?0:e.length;++n<o;)if(r(t,e[n]))return!0;return!1}},40496:(e,t,r)=>{e.exports=r(29366)(r(52811),"Promise")},40925:e=>{var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,r){var n=typeof e;return!!(r=null==r?0x1fffffffffffff:r)&&("number"==n||"symbol"!=n&&t.test(e))&&e>-1&&e%1==0&&e<r}},41089:(e,t,r)=>{"use strict";r.d(t,{bL:()=>z,zi:()=>$});var n=r(44213),o=r.t(n,2),i=Object.defineProperty,a=(e,t)=>i(e,"name",{value:t,configurable:!0}),l=!!("undefined"!=typeof window&&window.document&&window.document.createElement);function c(e,t,{checkForDefaultPrevented:r=!0}={}){return a(function(n){if(e?.(n),!1===r||!n||!n.defaultPrevented)return t?.(n)},"handleEvent")}function s(e){if(!l)throw Error("Cannot access document outside of the DOM");return e?.ownerDocument??document}function u(e){return"IFRAME"===e.tagName}a(c,"composeEventHandlers"),a(function(e){if(!l)throw Error("Cannot access window outside of the DOM");return e?.ownerDocument?.defaultView??window},"getOwnerWindow"),a(s,"getOwnerDocument"),a(function e(t,r=!1){let{activeElement:n}=s(t);if(!n?.nodeName)return null;if(u(n)&&n.contentDocument)return e(n.contentDocument.body,r);if(r){let e=n.getAttribute("aria-activedescendant");if(e){let t=s(n).getElementById(e);if(t)return t}}return n},"getActiveElement"),a(u,"isFrame");var f=r(76066),p=r(59697),d=Object.defineProperty,h=(e,t)=>d(e,"name",{value:t,configurable:!0});function y(e,t=[]){let r=[];function o(t,o){let i=n.createContext(o);i.displayName=t+"Context";let a=r.length;r=[...r,o];let l=h(t=>{let{scope:r,children:o,...l}=t,c=r?.[e]?.[a]||i,s=n.useMemo(()=>l,Object.values(l));return(0,p.jsx)(c.Provider,{value:s,children:o})},"Provider");function c(r,l,s={}){let{optional:u=!1}=s,f=l?.[e]?.[a]||i,p=n.useContext(f);if(p)return p;if(void 0!==o)return o;if(!u)throw Error(`\`${r}\` must be used within \`${t}\``)}return l.displayName=t+"Provider",h(c,"useContext"),[l,c]}h(o,"createContext");let i=h(()=>{let t=r.map(e=>n.createContext(e));return h(function(r){let o=r?.[e]||t;return n.useMemo(()=>({[`__scope${e}`]:{...r,[e]:o}}),[r,o])},"useScope")},"createScope");return i.scopeName=e,[o,m(i,...t)]}function m(...e){let t=e[0];if(1===e.length)return t;let r=h(()=>{let r=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return h(function(e){let o=r.reduce((t,{useScope:r,scopeName:n})=>{let o=r(e)[`__scope${n}`];return{...t,...o}},{});return n.useMemo(()=>({[`__scope${t.scopeName}`]:o}),[o])},"useComposedScopes")},"createScope");return r.scopeName=t.scopeName,r}h(function(e,t){let r=n.createContext(t);r.displayName=e+"Context";let o=h(e=>{let{children:t,...o}=e,i=n.useMemo(()=>o,Object.values(o));return(0,p.jsx)(r.Provider,{value:i,children:t})},"Provider");function i(o,a={}){let{optional:l=!1}=a,c=n.useContext(r);if(c)return c;if(void 0!==t)return t;if(!l)throw Error(`\`${o}\` must be used within \`${e}\``)}return o.displayName=e+"Provider",h(i,"useContext"),[o,i]},"createContext"),h(y,"createContextScope"),h(m,"composeContextScopes");var g=globalThis?.document?n.useLayoutEffect:()=>{},v=Object.defineProperty,b=o[" useEffectEvent ".trim().toString()],x=o[" useInsertionEffect ".trim().toString()];function w(e){if("function"==typeof b)return b(e);let t=n.useRef(()=>{throw Error("Cannot call an event handler while rendering.")});return"function"==typeof x?x(()=>{t.current=e}):g(()=>{t.current=e}),n.useMemo(()=>(...e)=>t.current?.(...e),[])}v(w,"name",{value:"useEffectEvent",configurable:!0});var O=Object.defineProperty,A=(e,t)=>O(e,"name",{value:t,configurable:!0}),k=o[" useInsertionEffect ".trim().toString()]||g;function S({prop:e,defaultProp:t,onChange:r=A(()=>{},"onChange"),caller:o}){let[i,a,l]=E({defaultProp:t,onChange:r}),c=void 0!==e,s=c?e:i;return[s,n.useCallback(t=>{if(c){let r=j(t)?t(e):t;r!==e&&l.current?.(r)}else a(t)},[c,e,a,l])]}function E({defaultProp:e,onChange:t}){let[r,o]=n.useState(e),i=n.useRef(r),a=n.useRef(t);return k(()=>{a.current=t},[t]),n.useEffect(()=>{i.current!==r&&(a.current?.(r),i.current=r)},[r,i]),[r,o,a]}function j(e){return"function"==typeof e}A(S,"useControllableState"),A(E,"useUncontrolledState"),A(j,"isFunction");var P=Symbol("RADIX:SYNC_STATE");function T(e){let[t,r]=n.useState(void 0);return g(()=>{if(e){r({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let n,o;if(!Array.isArray(t)||!t.length)return;let i=t[0];if("borderBoxSize"in i){let e=i.borderBoxSize,t=Array.isArray(e)?e[0]:e;n=t.inlineSize,o=t.blockSize}else n=e.offsetWidth,o=e.offsetHeight;r({width:n,height:o})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}r(void 0)},[e]),t}A(function(e,t,r,o){let{prop:i,defaultProp:a,onChange:l,caller:c}=t,s=void 0!==i,u=w(l),f=[{...r,state:a}];o&&f.push(o);let[p,d]=n.useReducer((t,r)=>{if(r.type===P)return{...t,state:r.state};let n=e(t,r);return s&&!Object.is(n.state,t.state)&&u(n.state),n},...f),h=p.state,y=n.useRef(h);n.useEffect(()=>{y.current!==h&&(y.current=h,s||u(h))},[h,y,s]);let m=n.useMemo(()=>void 0!==i?{...p,state:i}:p,[p,i]);return n.useEffect(()=>{s&&!Object.is(i,p.state)&&d({type:P,state:i})},[i,p.state,s]),[m,d]},"useControllableStateReducer"),(0,Object.defineProperty)(T,"name",{value:"useSize",configurable:!0});var _=r(37988),M=Object.defineProperty,C=(e,t)=>M(e,"name",{value:t,configurable:!0}),I="Switch",[N,D]=y(I),[R,L]=N(I);function F(e){let{__scopeSwitch:t,checked:r,children:o,defaultChecked:i,disabled:a,form:l,name:c,onCheckedChange:s,required:u,value:f="on",internal_do_not_use_render:d}=e,[h,y]=S({prop:r,defaultProp:null!=i&&i,onChange:s,caller:I}),[m,g]=n.useState(null),[v,b]=n.useState(null),x=n.useRef(!1),[w,O]=n.useReducer(e=>e+1,0),A=!m||!!l||!!m.closest("form"),k={checked:h,setChecked:y,disabled:a,control:m,setControl:g,name:c,form:l,value:f,hasConsumerStoppedPropagationRef:x,userInteractionCount:w,onUserInteraction:O,required:u,defaultChecked:i,isFormControl:A,bubbleInput:v,setBubbleInput:b};return(0,p.jsx)(R,{scope:t,...k,children:W(d)?d(k):o})}C(F,"SwitchProvider");var B=n.forwardRef(C(function(e,t){let{__scopeSwitch:r,onClick:o,...i}=e,{control:a,form:l,value:s,disabled:u,checked:d,required:h,setControl:y,setChecked:m,hasConsumerStoppedPropagationRef:g,onUserInteraction:v,isFormControl:b,bubbleInput:x}=L("SwitchTrigger",r),w=(0,f.s)(t,y),O=n.useRef(d);return n.useEffect(()=>{let e=l?null==a?void 0:a.ownerDocument.getElementById(l):null==a?void 0:a.form;if(e instanceof HTMLFormElement){let t=C(()=>m(O.current),"reset");return e.addEventListener("reset",t),()=>e.removeEventListener("reset",t)}},[a,l,m]),(0,p.jsx)(_.sG.button,{type:"button",role:"switch","aria-checked":d,"aria-required":h,"data-state":G(d),"data-disabled":u?"":void 0,disabled:u,value:s,...i,ref:w,onClick:c(o,e=>{v(),m(e=>!e),x&&b&&(g.current=e.isPropagationStopped(),g.current||e.stopPropagation())})})},"SwitchTrigger")),z=n.forwardRef(C(function(e,t){let{__scopeSwitch:r,name:n,checked:o,defaultChecked:i,required:a,disabled:l,value:c,onCheckedChange:s,form:u,...f}=e;return(0,p.jsx)(F,{__scopeSwitch:r,checked:o,defaultChecked:i,disabled:l,required:a,onCheckedChange:s,name:n,form:u,value:c,internal_do_not_use_render:e=>{let{isFormControl:n}=e;return(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(B,{...f,ref:t,__scopeSwitch:r}),n&&(0,p.jsx)(U,{__scopeSwitch:r})]})}})},"Switch")),$=n.forwardRef(C(function(e,t){let{__scopeSwitch:r,...n}=e,o=L("SwitchThumb",r);return(0,p.jsx)(_.sG.span,{"data-state":G(o.checked),"data-disabled":o.disabled?"":void 0,...n,ref:t})},"SwitchThumb")),U=n.forwardRef(C(function(e,t){let{__scopeSwitch:r,onClick:o,...i}=e,{control:a,hasConsumerStoppedPropagationRef:l,userInteractionCount:s,checked:u,defaultChecked:d,required:h,disabled:y,name:m,value:g,form:v,bubbleInput:b,setBubbleInput:x}=L("SwitchBubbleInput",r),w=(0,f.s)(t,x),O=T(a),A=n.useRef(!1),k=n.useRef(u),S=n.useRef(s);n.useEffect(()=>{if(!b)return;let e=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set,t=s!==S.current;S.current=s;let r=k.current!==u;k.current=u;let n=!(t&&l.current);if(r&&e){A.current=!t;let r=new Event("click",{bubbles:n});e.call(b,u),b.dispatchEvent(r),A.current=!1}},[b,u,l,s]);let E=n.useRef(u);return(0,p.jsx)(_.sG.input,{type:"checkbox","aria-hidden":!0,defaultChecked:null!=d?d:E.current,required:h,disabled:y,name:m,value:g,form:v,...i,tabIndex:-1,ref:w,onClick:c(o,e=>{A.current&&e.stopPropagation()}),style:{...i.style,...O,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})},"SwitchBubbleInput"));function W(e){return"function"==typeof e}function G(e){return e?"checked":"unchecked"}C(W,"isFunction"),C(G,"getState")},41281:(e,t,r)=>{e.exports=r(83825)()},41831:(e,t,r)=>{var n=r(64452),o=r(68620),i=r(16501),a=r(48985),l=r(28921);function c(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}c.prototype.clear=n,c.prototype.delete=o,c.prototype.get=i,c.prototype.has=a,c.prototype.set=l,e.exports=c},42109:(e,t,r)=>{var n=r(62123),o=r(86405),i=r(14819),a=r(5011),l=r(83202);e.exports=function(e,t,r){var c=a(e)?n:o;return r&&l(e,t,r)&&(t=void 0),c(e,i(t,3))}},42402:(e,t,r)=>{var n=r(62748);e.exports=function(e,t,r){for(var o=-1,i=e.criteria,a=t.criteria,l=i.length,c=r.length;++o<l;){var s=n(i[o],a[o]);if(s){if(o>=c)return s;return s*("desc"==r[o]?-1:1)}}return e.index-t.index}},42506:(e,t,r)=>{"use strict";r.d(t,{DR:()=>b,pj:()=>O,rY:()=>P,yi:()=>j,Yp:()=>x,hj:()=>E,sk:()=>S,AF:()=>w,Nk:()=>k,$G:()=>A});var n=r(44213),o=r(8919),i=r(57501),a=r.n(i),l=r(42109),c=r.n(l),s=r(30430),u=r.n(s)()(function(e){return{x:e.left,y:e.top,width:e.width,height:e.height}},function(e){return"l"+e.left+"t"+e.top+"w"+e.width+"h"+e.height}),f=r(20681),p=(0,n.createContext)(void 0),d=(0,n.createContext)(void 0),h=(0,n.createContext)(void 0),y=(0,n.createContext)({}),m=(0,n.createContext)(void 0),g=(0,n.createContext)(0),v=(0,n.createContext)(0),b=function(e){var t=e.state,r=t.xAxisMap,o=t.yAxisMap,i=t.offset,a=e.clipPathId,l=e.children,c=e.width,s=e.height,f=u(i);return n.createElement(p.Provider,{value:r},n.createElement(d.Provider,{value:o},n.createElement(y.Provider,{value:i},n.createElement(h.Provider,{value:f},n.createElement(m.Provider,{value:a},n.createElement(g.Provider,{value:s},n.createElement(v.Provider,{value:c},l)))))))},x=function(){return(0,n.useContext)(m)},w=function(e){var t=(0,n.useContext)(p);null==t&&(0,o.A)(!1);var r=t[e];return null==r&&(0,o.A)(!1),r},O=function(){var e=(0,n.useContext)(p);return(0,f.lX)(e)},A=function(){var e=(0,n.useContext)(d);return a()(e,function(e){return c()(e.domain,Number.isFinite)})||(0,f.lX)(e)},k=function(e){var t=(0,n.useContext)(d);null==t&&(0,o.A)(!1);var r=t[e];return null==r&&(0,o.A)(!1),r},S=function(){return(0,n.useContext)(h)},E=function(){return(0,n.useContext)(y)},j=function(){return(0,n.useContext)(v)},P=function(){return(0,n.useContext)(g)}},43179:(e,t,r)=>{var n=r(98812),o=r(64571),i=r(94679);e.exports=function(e,t,r){return t==t?i(e,t,r):n(e,o,r)}},43364:(e,t,r)=>{"use strict";function n(e,t){let r;if(void 0===t)for(let t of e)null!=t&&(r>t||void 0===r&&t>=t)&&(r=t);else{let n=-1;for(let o of e)null!=(o=t(o,++n,e))&&(r>o||void 0===r&&o>=o)&&(r=o)}return r}r.d(t,{A:()=>n})},43870:(e,t,r)=>{var n=r(60703),o=r(61059),i=r(96680),a=n?n.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":a&&a in Object(e)?o(e):i(e)}},44189:e=>{e.exports=function(e,t){return function(r){return null!=r&&r[e]===t&&(void 0!==t||e in Object(r))}}},45119:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(91485).A)("maximize-2",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"m21 3-7 7",key:"1l2asr"}],["path",{d:"m3 21 7-7",key:"tjx5ai"}],["path",{d:"M9 21H3v-6",key:"wtvkvv"}]])},45177:(e,t,r)=>{"use strict";e.exports=r(80285)},45221:(e,t,r)=>{var n=r(16910),o=1/0;e.exports=function(e){if("string"==typeof e||n(e))return e;var t=e+"";return"0"==t&&1/e==-o?"-0":t}},45698:(e,t,r)=>{var n=r(62539),o=function(){var e=/[^.]+$/.exec(n&&n.keys&&n.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();e.exports=function(e){return!!o&&o in e}},45980:(e,t,r)=>{var n=r(17831),o=Array.prototype.splice;e.exports=function(e){var t=this.__data__,r=n(t,e);return!(r<0)&&(r==t.length-1?t.pop():o.call(t,r,1),--this.size,!0)}},46488:e=>{e.exports=function(e,t,r){var n=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(r=r>o?o:r)<0&&(r+=o),o=t>r?0:r-t>>>0,t>>>=0;for(var i=Array(o);++n<o;)i[n]=e[n+t];return i}},46733:(e,t,r)=>{var n=r(24637),o=r(394),i=r(23473);e.exports=n&&1/i(new n([,-0]))[1]==1/0?function(e){return new n(e)}:o},47486:(e,t,r)=>{var n=r(60703),o=r(14482),i=r(5011),a=r(16910),l=1/0,c=n?n.prototype:void 0,s=c?c.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(i(t))return o(t,e)+"";if(a(t))return s?s.call(t):"";var r=t+"";return"0"==r&&1/t==-l?"-0":r}},48065:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(91485).A)("user",[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]])},48325:(e,t,r)=>{var n=r(17831);e.exports=function(e){var t=this.__data__,r=n(t,e);return r<0?void 0:t[r][1]}},48454:(e,t,r)=>{var n=r(83411),o=r(79118),i=r(80060);e.exports=function(e){return i(e)?n(e):o(e)}},48484:(e,t,r)=>{"use strict";r.d(t,{F:()=>a});var n=r(73138);let o=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,i=n.$,a=(e,t)=>r=>{var n;if((null==t?void 0:t.variants)==null)return i(e,null==r?void 0:r.class,null==r?void 0:r.className);let{variants:a,defaultVariants:l}=t,c=Object.keys(a).map(e=>{let t=null==r?void 0:r[e],n=null==l?void 0:l[e];if(null===t)return null;let i=o(t)||o(n);return a[e][i]}),s=r&&Object.entries(r).reduce((e,t)=>{let[r,n]=t;return void 0===n||(e[r]=n),e},{});return i(e,c,null==t||null==(n=t.compoundVariants)?void 0:n.reduce((e,t)=>{let{class:r,className:n,...o}=t;return Object.entries(o).every(e=>{let[t,r]=e;return Array.isArray(r)?r.includes({...l,...s}[t]):({...l,...s})[t]===r})?[...e,r,n]:e},[]),null==r?void 0:r.class,null==r?void 0:r.className)}},48985:(e,t,r)=>{var n=r(50393);e.exports=function(e){return n(this,e).has(e)}},49096:e=>{var t="\ud800-\udfff",r="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",n="\ud83c[\udffb-\udfff]",o="[^"+t+"]",i="(?:\ud83c[\udde6-\uddff]){2}",a="[\ud800-\udbff][\udc00-\udfff]",l="(?:"+r+"|"+n+")?",c="[\\ufe0e\\ufe0f]?",s="(?:\\u200d(?:"+[o,i,a].join("|")+")"+c+l+")*",u=RegExp(n+"(?="+n+")|"+("(?:"+[o+r+"?",r,i,a,"["+t+"]"].join("|"))+")"+(c+l+s),"g");e.exports=function(e){return e.match(u)||[]}},49139:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(91485).A)("moon",[["path",{d:"M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401",key:"kfwtm"}]])},49208:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(91485).A)("file-code-corner",[["path",{d:"M4 12.15V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.706.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2h-3.35",key:"1wthlu"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"m5 16-3 3 3 3",key:"331omg"}],["path",{d:"m9 22 3-3-3-3",key:"lsp7cz"}]])},49694:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(91485).A)("braces",[["path",{d:"M8 3H7a2 2 0 0 0-2 2v5a2 2 0 0 1-2 2 2 2 0 0 1 2 2v5c0 1.1.9 2 2 2h1",key:"ezmyqa"}],["path",{d:"M16 21h1a2 2 0 0 0 2-2v-5c0-1.1.9-2 2-2a2 2 0 0 1-2-2V5a2 2 0 0 0-2-2h-1",key:"e1hn23"}]])},49810:(e,t,r)=>{"use strict";r.d(t,{i:()=>l});var n,o=r(44213),i=r(99110),a=(n||(n=r.t(o,2)))[" useInsertionEffect ".trim().toString()]||i.N;function l({prop:e,defaultProp:t,onChange:r=()=>{},caller:n}){let[i,l,c]=function({defaultProp:e,onChange:t}){let[r,n]=o.useState(e),i=o.useRef(r),l=o.useRef(t);return a(()=>{l.current=t},[t]),o.useEffect(()=>{i.current!==r&&(l.current?.(r),i.current=r)},[r,i]),[r,n,l]}({defaultProp:t,onChange:r}),s=void 0!==e,u=s?e:i;{let t=o.useRef(void 0!==e);o.useEffect(()=>{let e=t.current;if(e!==s){let t=s?"controlled":"uncontrolled";console.warn(`${n} is changing from ${e?"controlled":"uncontrolled"} to ${t}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}t.current=s},[s,n])}return[u,o.useCallback(t=>{if(s){let r="function"==typeof t?t(e):t;r!==e&&c.current?.(r)}else l(t)},[s,e,l,c])]}Symbol("RADIX:SYNC_STATE")},49883:(e,t,r)=>{var n=r(94537),o=r(55657),i=r(40401),a=r(75501),l=r(46733),c=r(23473);e.exports=function(e,t,r){var s=-1,u=o,f=e.length,p=!0,d=[],h=d;if(r)p=!1,u=i;else if(f>=200){var y=t?null:l(e);if(y)return c(y);p=!1,u=a,h=new n}else h=t?[]:d;t:for(;++s<f;){var m=e[s],g=t?t(m):m;if(m=r||0!==m?m:0,p&&g==g){for(var v=h.length;v--;)if(h[v]===g)continue t;t&&h.push(g),d.push(m)}else u(h,g,r)||(h!==d&&h.push(g),d.push(m))}return d}},50034:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(91485).A)("puzzle",[["path",{d:"M15.39 4.39a1 1 0 0 0 1.68-.474 2.5 2.5 0 1 1 3.014 3.015 1 1 0 0 0-.474 1.68l1.683 1.682a2.414 2.414 0 0 1 0 3.414L19.61 15.39a1 1 0 0 1-1.68-.474 2.5 2.5 0 1 0-3.014 3.015 1 1 0 0 1 .474 1.68l-1.683 1.682a2.414 2.414 0 0 1-3.414 0L8.61 19.61a1 1 0 0 0-1.68.474 2.5 2.5 0 1 1-3.014-3.015 1 1 0 0 0 .474-1.68l-1.683-1.682a2.414 2.414 0 0 1 0-3.414L4.39 8.61a1 1 0 0 1 1.68.474 2.5 2.5 0 1 0 3.014-3.015 1 1 0 0 1-.474-1.68l1.683-1.682a2.414 2.414 0 0 1 3.414 0z",key:"w46dr5"}]])},50054:(e,t,r)=>{var n=r(37762),o=r(60183),i=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols;e.exports=a?function(e){return null==e?[]:n(a(e=Object(e)),function(t){return i.call(e,t)})}:o},50393:(e,t,r)=>{var n=r(33430);e.exports=function(e,t){var r=e.__data__;return n(t)?r["string"==typeof t?"string":"hash"]:r.map}},51291:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(91485).A)("box",[["path",{d:"M21 8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z",key:"hh9hay"}],["path",{d:"m3.3 7 8.7 5 8.7-5",key:"g66t2b"}],["path",{d:"M12 22V12",key:"d0xqtd"}]])},51326:(e,t,r)=>{var n=r(67539),o=r(45221);e.exports=function(e,t){t=n(t,e);for(var r=0,i=t.length;null!=e&&r<i;)e=e[o(t[r++])];return r&&r==i?e:void 0}},52042:(e,t,r)=>{"use strict";r.d(t,{J:()=>d,M:()=>y});var n=r(44213),o=r(73138),i=r(1687),a=r(36404);function l(e){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function c(){return(c=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function f(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?u(Object(r),!0).forEach(function(t){var n,o,i;n=e,o=t,i=r[t],(o=function(e){var t=function(e,t){if("object"!=l(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=l(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==l(t)?t:t+""}(o))in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):u(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var p=function(e,t,r,n,o){var i,a=Math.min(Math.abs(r)/2,Math.abs(n)/2),l=n>=0?1:-1,c=r>=0?1:-1,s=+(n>=0&&r>=0||n<0&&r<0);if(a>0&&o instanceof Array){for(var u=[0,0,0,0],f=0;f<4;f++)u[f]=o[f]>a?a:o[f];i="M".concat(e,",").concat(t+l*u[0]),u[0]>0&&(i+="A ".concat(u[0],",").concat(u[0],",0,0,").concat(s,",").concat(e+c*u[0],",").concat(t)),i+="L ".concat(e+r-c*u[1],",").concat(t),u[1]>0&&(i+="A ".concat(u[1],",").concat(u[1],",0,0,").concat(s,",\n ").concat(e+r,",").concat(t+l*u[1])),i+="L ".concat(e+r,",").concat(t+n-l*u[2]),u[2]>0&&(i+="A ".concat(u[2],",").concat(u[2],",0,0,").concat(s,",\n ").concat(e+r-c*u[2],",").concat(t+n)),i+="L ".concat(e+c*u[3],",").concat(t+n),u[3]>0&&(i+="A ".concat(u[3],",").concat(u[3],",0,0,").concat(s,",\n ").concat(e,",").concat(t+n-l*u[3])),i+="Z"}else if(a>0&&o===+o&&o>0){var p=Math.min(a,o);i="M ".concat(e,",").concat(t+l*p,"\n A ").concat(p,",").concat(p,",0,0,").concat(s,",").concat(e+c*p,",").concat(t,"\n L ").concat(e+r-c*p,",").concat(t,"\n A ").concat(p,",").concat(p,",0,0,").concat(s,",").concat(e+r,",").concat(t+l*p,"\n L ").concat(e+r,",").concat(t+n-l*p,"\n A ").concat(p,",").concat(p,",0,0,").concat(s,",").concat(e+r-c*p,",").concat(t+n,"\n L ").concat(e+c*p,",").concat(t+n,"\n A ").concat(p,",").concat(p,",0,0,").concat(s,",").concat(e,",").concat(t+n-l*p," Z")}else i="M ".concat(e,",").concat(t," h ").concat(r," v ").concat(n," h ").concat(-r," Z");return i},d=function(e,t){if(!e||!t)return!1;var r=e.x,n=e.y,o=t.x,i=t.y,a=t.width,l=t.height;if(Math.abs(a)>0&&Math.abs(l)>0){var c=Math.min(o,o+a),s=Math.max(o,o+a),u=Math.min(i,i+l),f=Math.max(i,i+l);return r>=c&&r<=s&&n>=u&&n<=f}return!1},h={x:0,y:0,width:0,height:0,radius:0,isAnimationActive:!1,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"},y=function(e){var t,r=f(f({},h),e),l=(0,n.useRef)(),u=function(e){if(Array.isArray(e))return e}(t=(0,n.useState)(-1))||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,l=[],c=!0,s=!1;try{i=(r=r.call(e)).next,!1;for(;!(c=(n=i.call(r)).done)&&(l.push(n.value),l.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(s)throw o}}return l}}(t,2)||function(e,t){if(e){if("string"==typeof e)return s(e,2);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return s(e,t)}}(t,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),d=u[0],y=u[1];(0,n.useEffect)(function(){if(l.current&&l.current.getTotalLength)try{var e=l.current.getTotalLength();e&&y(e)}catch(e){}},[]);var m=r.x,g=r.y,v=r.width,b=r.height,x=r.radius,w=r.className,O=r.animationEasing,A=r.animationDuration,k=r.animationBegin,S=r.isAnimationActive,E=r.isUpdateAnimationActive;if(m!==+m||g!==+g||v!==+v||b!==+b||0===v||0===b)return null;var j=(0,o.A)("recharts-rectangle",w);return E?n.createElement(i.Ay,{canBegin:d>0,from:{width:v,height:b,x:m,y:g},to:{width:v,height:b,x:m,y:g},duration:A,animationEasing:O,isActive:E},function(e){var t=e.width,o=e.height,s=e.x,u=e.y;return n.createElement(i.Ay,{canBegin:d>0,from:"0px ".concat(-1===d?1:d,"px"),to:"".concat(d,"px 0px"),attributeName:"strokeDasharray",begin:k,duration:A,isActive:S,easing:O},n.createElement("path",c({},(0,a.J9)(r,!0),{className:j,d:p(s,u,t,o,x),ref:l})))}):n.createElement("path",c({},(0,a.J9)(r,!0),{className:j,d:p(m,g,v,b,x)}))}},52119:(e,t,r)=>{"use strict";r.d(t,{f:()=>h});var n=r(8898),o=r.n(n),i=r(20681),a=r(72125),l=r(98363),c=r(34767);function s(e,t,r){if(t<1)return[];if(1===t&&void 0===r)return e;for(var n=[],o=0;o<e.length;o+=t)if(void 0!==r&&!0!==r(e[o]))return;else n.push(e[o]);return n}function u(e,t,r,n,o){if(e*t<e*n||e*t>e*o)return!1;var i=r();return e*(t-e*i/2-n)>=0&&e*(t+e*i/2-o)<=0}function f(e){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function p(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function d(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?p(Object(r),!0).forEach(function(t){var n,o,i;n=e,o=t,i=r[t],(o=function(e){var t=function(e,t){if("object"!=f(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=f(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==f(t)?t:t+""}(o))in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):p(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function h(e,t,r){var n,f,p,h,y,m=e.tick,g=e.ticks,v=e.viewBox,b=e.minTickGap,x=e.orientation,w=e.interval,O=e.tickFormatter,A=e.unit,k=e.angle;if(!g||!g.length||!m)return[];if((0,i.Et)(w)||l.m.isSsr)return s(g,("number"==typeof w&&(0,i.Et)(w)?w:0)+1);var S="top"===x||"bottom"===x?"width":"height",E=A&&"width"===S?(0,a.Pu)(A,{fontSize:t,letterSpacing:r}):{width:0,height:0},j=function(e,n){var i,l,s=o()(O)?O(e.value,n):e.value;return"width"===S?(i=(0,a.Pu)(s,{fontSize:t,letterSpacing:r}),l={width:i.width+E.width,height:i.height+E.height},(0,c.bx)(l,k)):(0,a.Pu)(s,{fontSize:t,letterSpacing:r})[S]},P=g.length>=2?(0,i.sA)(g[1].coordinate-g[0].coordinate):1,T=(n="width"===S,f=v.x,p=v.y,h=v.width,y=v.height,1===P?{start:n?f:p,end:n?f+h:p+y}:{start:n?f+h:p+y,end:n?f:p});return"equidistantPreserveStart"===w?function(e,t,r,n,o){for(var i,a=(n||[]).slice(),l=t.start,c=t.end,f=0,p=1,d=l;p<=a.length;)if(i=function(){var t,i=null==n?void 0:n[f];if(void 0===i)return{v:s(n,p)};var a=f,h=function(){return void 0===t&&(t=r(i,a)),t},y=i.coordinate,m=0===f||u(e,y,h,d,c);m||(f=0,d=l,p+=1),m&&(d=y+e*(h()/2+o),f+=p)}())return i.v;return[]}(P,T,j,g,b):("preserveStart"===w||"preserveStartEnd"===w?function(e,t,r,n,o,i){var a=(n||[]).slice(),l=a.length,c=t.start,s=t.end;if(i){var f=n[l-1],p=r(f,l-1),h=e*(f.coordinate+e*p/2-s);a[l-1]=f=d(d({},f),{},{tickCoord:h>0?f.coordinate-h*e:f.coordinate}),u(e,f.tickCoord,function(){return p},c,s)&&(s=f.tickCoord-e*(p/2+o),a[l-1]=d(d({},f),{},{isShow:!0}))}for(var y=i?l-1:l,m=function(t){var n,i=a[t],l=function(){return void 0===n&&(n=r(i,t)),n};if(0===t){var f=e*(i.coordinate-e*l()/2-c);a[t]=i=d(d({},i),{},{tickCoord:f<0?i.coordinate-f*e:i.coordinate})}else a[t]=i=d(d({},i),{},{tickCoord:i.coordinate});u(e,i.tickCoord,l,c,s)&&(c=i.tickCoord+e*(l()/2+o),a[t]=d(d({},i),{},{isShow:!0}))},g=0;g<y;g++)m(g);return a}(P,T,j,g,b,"preserveStartEnd"===w):function(e,t,r,n,o){for(var i=(n||[]).slice(),a=i.length,l=t.start,c=t.end,s=function(t){var n,s=i[t],f=function(){return void 0===n&&(n=r(s,t)),n};if(t===a-1){var p=e*(s.coordinate+e*f()/2-c);i[t]=s=d(d({},s),{},{tickCoord:p>0?s.coordinate-p*e:s.coordinate})}else i[t]=s=d(d({},s),{},{tickCoord:s.coordinate});u(e,s.tickCoord,f,l,c)&&(c=s.tickCoord-e*(f()/2+o),i[t]=d(d({},s),{},{isShow:!0}))},f=a-1;f>=0;f--)s(f);return i}(P,T,j,g,b)).filter(function(e){return e.isShow})}},52777:(e,t,r)=>{var n=r(32204);e.exports=function(e,t){var r=this.__data__;return this.size+=+!this.has(e),r[e]=n&&void 0===t?"__lodash_hash_undefined__":t,this}},52811:(e,t,r)=>{var n=r(28482),o="object"==typeof self&&self&&self.Object===Object&&self;e.exports=n||o||Function("return this")()},53690:(e,t,r)=>{e.exports=r(29366)(r(52811),"DataView")},54672:(e,t,r)=>{"use strict";r.d(t,{b:()=>c});var n=r(73748),o=r(80014),i=r(82121),a=r(64030),l=r(34767),c=(0,n.gu)({chartName:"LineChart",GraphicalChild:o.N,axisComponents:[{axisType:"xAxis",AxisComp:i.W},{axisType:"yAxis",AxisComp:a.h}],formatAxisMap:l.pr})},55176:(e,t,r)=>{var n=r(60703),o=r(78274),i=r(80568),a=r(67467),l=r(13427),c=r(23473),s=n?n.prototype:void 0,u=s?s.valueOf:void 0;e.exports=function(e,t,r,n,s,f,p){switch(r){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)break;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":if(e.byteLength!=t.byteLength||!f(new o(e),new o(t)))break;return!0;case"[object Boolean]":case"[object Date]":case"[object Number]":return i(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var d=l;case"[object Set]":var h=1&n;if(d||(d=c),e.size!=t.size&&!h)break;var y=p.get(e);if(y)return y==t;n|=2,p.set(e,t);var m=a(d(e),d(t),n,s,f,p);return p.delete(e),m;case"[object Symbol]":if(u)return u.call(e)==u.call(t)}return!1}},55253:(e,t,r)=>{e.exports=r(93535)()},55634:(e,t,r)=>{var n=r(87804),o=r(14819),i=r(88474),a=r(5011),l=r(83202);e.exports=function(e,t,r){var c=a(e)?n:i;return r&&l(e,t,r)&&(t=void 0),c(e,o(t,3))}},55657:(e,t,r)=>{var n=r(43179);e.exports=function(e,t){return!!(null==e?0:e.length)&&n(e,t,0)>-1}},55754:(e,t,r)=>{"use strict";r.d(t,{yp:()=>C,GG:()=>B,NE:()=>I,nZ:()=>N,xQ:()=>D});var n=r(44213),o=r(8898),i=r.n(o),a=r(65637),l=r.n(a),c=r(83342),s=r.n(c),u=r(57874),f=r.n(u),p=r(52042),d=r(73138),h=r(1687),y=r(36404);function m(e){return(m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function g(){return(g=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function v(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function b(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function x(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?b(Object(r),!0).forEach(function(t){var n,o,i;n=e,o=t,i=r[t],(o=function(e){var t=function(e,t){if("object"!=m(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=m(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==m(t)?t:t+""}(o))in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):b(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var w=function(e,t,r,n,o){var i=r-n;return"M ".concat(e,",").concat(t)+"L ".concat(e+r,",").concat(t)+"L ".concat(e+r-i/2,",").concat(t+o)+"L ".concat(e+r-i/2-n,",").concat(t+o)+"L ".concat(e,",").concat(t," Z")},O={x:0,y:0,upperWidth:0,lowerWidth:0,height:0,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"},A=function(e){var t,r=x(x({},O),e),o=(0,n.useRef)(),i=function(e){if(Array.isArray(e))return e}(t=(0,n.useState)(-1))||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,l=[],c=!0,s=!1;try{i=(r=r.call(e)).next,!1;for(;!(c=(n=i.call(r)).done)&&(l.push(n.value),l.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(s)throw o}}return l}}(t,2)||function(e,t){if(e){if("string"==typeof e)return v(e,2);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return v(e,t)}}(t,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),a=i[0],l=i[1];(0,n.useEffect)(function(){if(o.current&&o.current.getTotalLength)try{var e=o.current.getTotalLength();e&&l(e)}catch(e){}},[]);var c=r.x,s=r.y,u=r.upperWidth,f=r.lowerWidth,p=r.height,m=r.className,b=r.animationEasing,A=r.animationDuration,k=r.animationBegin,S=r.isUpdateAnimationActive;if(c!==+c||s!==+s||u!==+u||f!==+f||p!==+p||0===u&&0===f||0===p)return null;var E=(0,d.A)("recharts-trapezoid",m);return S?n.createElement(h.Ay,{canBegin:a>0,from:{upperWidth:0,lowerWidth:0,height:p,x:c,y:s},to:{upperWidth:u,lowerWidth:f,height:p,x:c,y:s},duration:A,animationEasing:b,isActive:S},function(e){var t=e.upperWidth,i=e.lowerWidth,l=e.height,c=e.x,s=e.y;return n.createElement(h.Ay,{canBegin:a>0,from:"0px ".concat(-1===a?1:a,"px"),to:"".concat(a,"px 0px"),attributeName:"strokeDasharray",begin:k,duration:A,easing:b},n.createElement("path",g({},(0,y.J9)(r,!0),{className:E,d:w(c,s,t,i,l),ref:o})))}):n.createElement("g",null,n.createElement("path",g({},(0,y.J9)(r,!0),{className:E,d:w(c,s,u,f,p)})))},k=r(17939),S=r(79164),E=r(26652),j=["option","shapeType","propTransformer","activeClassName","isActive"];function P(e){return(P="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function T(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function _(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?T(Object(r),!0).forEach(function(t){var n,o,i;n=e,o=t,i=r[t],(o=function(e){var t=function(e,t){if("object"!=P(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=P(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==P(t)?t:t+""}(o))in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):T(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function M(e){var t=e.shapeType,r=e.elementProps;switch(t){case"rectangle":return n.createElement(p.M,r);case"trapezoid":return n.createElement(A,r);case"sector":return n.createElement(k.h,r);case"symbols":if("symbols"===t)return n.createElement(E.i,r);break;default:return null}}function C(e){var t,r=e.option,o=e.shapeType,a=e.propTransformer,c=e.activeClassName,u=e.isActive,f=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,j);if((0,n.isValidElement)(r))t=(0,n.cloneElement)(r,_(_({},f),(0,n.isValidElement)(r)?r.props:r));else if(i()(r))t=r(f);else if(l()(r)&&!s()(r)){var p=(void 0===a?function(e,t){return _(_({},t),e)}:a)(r,f);t=n.createElement(M,{shapeType:o,elementProps:p})}else t=n.createElement(M,{shapeType:o,elementProps:f});return u?n.createElement(S.W,{className:void 0===c?"recharts-active-shape":c},t):t}function I(e,t){return null!=t&&"trapezoids"in e.props}function N(e,t){return null!=t&&"sectors"in e.props}function D(e,t){return null!=t&&"points"in e.props}function R(e,t){var r,n,o=e.x===(null==t||null==(r=t.labelViewBox)?void 0:r.x)||e.x===t.x,i=e.y===(null==t||null==(n=t.labelViewBox)?void 0:n.y)||e.y===t.y;return o&&i}function L(e,t){var r=e.endAngle===t.endAngle,n=e.startAngle===t.startAngle;return r&&n}function F(e,t){var r=e.x===t.x,n=e.y===t.y,o=e.z===t.z;return r&&n&&o}function B(e){var t,r,n,o=e.activeTooltipItem,i=e.graphicalItem,a=e.itemData,l=(I(i,o)?t="trapezoids":N(i,o)?t="sectors":D(i,o)&&(t="points"),t),c=I(i,o)?null==(r=o.tooltipPayload)||null==(r=r[0])||null==(r=r.payload)?void 0:r.payload:N(i,o)?null==(n=o.tooltipPayload)||null==(n=n[0])||null==(n=n.payload)?void 0:n.payload:D(i,o)?o.payload:{},s=a.filter(function(e,t){var r=f()(c,e),n=i.props[l].filter(function(e){var t;return(I(i,o)?t=R:N(i,o)?t=L:D(i,o)&&(t=F),t)(e,o)}),a=i.props[l].indexOf(n[n.length-1]);return r&&t===a});return a.indexOf(s[s.length-1])}},56010:(e,t,r)=>{var n=r(97260),o=r(65550);e.exports=function e(t,r,i,a,l){return t===r||(null!=t&&null!=r&&(o(t)||o(r))?n(t,r,i,a,e,l):t!=t&&r!=r)}},56415:(e,t,r)=>{"use strict";r.d(t,{Z:()=>S});var n=r(44213),o=r(6513),i=r.n(o),a=r(88777),l=r.n(a),c=r(8898),s=r.n(c),u=r(92434),f=r.n(u),p=r(32203),d=r(79164),h=r(36404),y=r(35223);function m(e){return(m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var g=["valueAccessor"],v=["data","dataKey","clockWise","id","textBreakAll"];function b(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function x(){return(x=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function w(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function O(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?w(Object(r),!0).forEach(function(t){var n,o,i;n=e,o=t,i=r[t],(o=function(e){var t=function(e,t){if("object"!=m(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=m(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==m(t)?t:t+""}(o))in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):w(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function A(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var k=function(e){return Array.isArray(e.value)?f()(e.value):e.value};function S(e){var t=e.valueAccessor,r=void 0===t?k:t,o=A(e,g),a=o.data,l=o.dataKey,c=o.clockWise,s=o.id,u=o.textBreakAll,f=A(o,v);return a&&a.length?n.createElement(d.W,{className:"recharts-label-list"},a.map(function(e,t){var o=i()(l)?r(e,t):(0,y.kr)(e&&e.payload,l),a=i()(s)?{}:{id:"".concat(s,"-").concat(t)};return n.createElement(p.J,x({},(0,h.J9)(e,!0),f,a,{parentViewBox:e.parentViewBox,value:o,textBreakAll:u,viewBox:p.J.parseViewBox(i()(c)?e:O(O({},e),{},{clockWise:c})),key:"label-".concat(t),index:t}))})):null}S.displayName="LabelList",S.renderCallByParent=function(e,t){var r,o=!(arguments.length>2)||void 0===arguments[2]||arguments[2];if(!e||!e.children&&o&&!e.label)return null;var i=e.children,a=(0,h.aS)(i,S).map(function(e,r){return(0,n.cloneElement)(e,{data:t,key:"labelList-".concat(r)})});return o?[(r=e.label,!r?null:!0===r?n.createElement(S,{key:"labelList-implicit",data:t}):n.isValidElement(r)||s()(r)?n.createElement(S,{key:"labelList-implicit",data:t,content:r}):l()(r)?n.createElement(S,x({data:t},r,{key:"labelList-implicit"})):null)].concat(function(e){if(Array.isArray(e))return b(e)}(a)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(a)||function(e,t){if(e){if("string"==typeof e)return b(e,void 0);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return b(e,t)}}(a)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()):a}},56526:(e,t,r)=>{var n=r(74813),o=r(88777);e.exports=function(e,t,r){var i=!0,a=!0;if("function"!=typeof e)throw TypeError("Expected a function");return o(r)&&(i="leading"in r?!!r.leading:i,a="trailing"in r?!!r.trailing:a),n(e,t,{leading:i,maxWait:t,trailing:a})}},56840:(e,t,r)=>{e.exports=r(74419)("toUpperCase")},57254:(e,t,r)=>{var n=r(43870),o=r(65550);e.exports=function(e){return o(e)&&"[object Arguments]"==n(e)}},57501:(e,t,r)=>{e.exports=r(26800)(r(71847))},57874:(e,t,r)=>{var n=r(56010);e.exports=function(e,t){return n(e,t)}},58291:(e,t,r)=>{var n=r(53690),o=r(27943),i=r(40496),a=r(24637),l=r(25155),c=r(43870),s=r(70319),u="[object Map]",f="[object Promise]",p="[object Set]",d="[object WeakMap]",h="[object DataView]",y=s(n),m=s(o),g=s(i),v=s(a),b=s(l),x=c;(n&&x(new n(new ArrayBuffer(1)))!=h||o&&x(new o)!=u||i&&x(i.resolve())!=f||a&&x(new a)!=p||l&&x(new l)!=d)&&(x=function(e){var t=c(e),r="[object Object]"==t?e.constructor:void 0,n=r?s(r):"";if(n)switch(n){case y:return h;case m:return u;case g:return f;case v:return p;case b:return d}return t}),e.exports=x},58537:(e,t,r)=>{"use strict";r.d(t,{Z:()=>c});var n=r(44213),o=r(15480),i=r(70636),a=r(99110),l=r(59697),c=n.forwardRef((e,t)=>{var r,c;let{container:s,...u}=e,[f,p]=n.useState(!1);(0,a.N)(()=>p(!0),[]);let d=s||f&&(null==(c=globalThis)||null==(r=c.document)?void 0:r.body);return d?o.createPortal((0,l.jsx)(i.sG.div,{...u,ref:t}),d):null});c.displayName="Portal"},59228:(e,t,r)=>{var n=r(80129);e.exports=function(e,t,r){"__proto__"==t&&n?n(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}},59534:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(91485).A)("orbit",[["path",{d:"M20.341 6.484A10 10 0 0 1 10.266 21.85",key:"1enhxb"}],["path",{d:"M3.659 17.516A10 10 0 0 1 13.74 2.152",key:"1crzgf"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}],["circle",{cx:"19",cy:"5",r:"2",key:"mhkx31"}],["circle",{cx:"5",cy:"19",r:"2",key:"v8kfzx"}]])},60183:e=>{e.exports=function(){return[]}},60318:(e,t,r)=>{var n=r(57254),o=r(65550),i=Object.prototype,a=i.hasOwnProperty,l=i.propertyIsEnumerable;e.exports=n(function(){return arguments}())?n:function(e){return o(e)&&a.call(e,"callee")&&!l.call(e,"callee")}},60703:(e,t,r)=>{e.exports=r(52811).Symbol},61059:(e,t,r)=>{var n=r(60703),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,l=n?n.toStringTag:void 0;e.exports=function(e){var t=i.call(e,l),r=e[l];try{e[l]=void 0;var n=!0}catch(e){}var o=a.call(e);return n&&(t?e[l]=r:delete e[l]),o}},61075:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(91485).A)("search-x",[["path",{d:"m13.5 8.5-5 5",key:"1cs55j"}],["path",{d:"m8.5 8.5 5 5",key:"a8mexj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]])},61104:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o}});let n=r(49303)._(r(92392));function o(e,t){var r;let o={};"function"==typeof e&&(o.loader=e);let i={...o,...t};return(0,n.default)({...i,modules:null==(r=i.loadableGenerated)?void 0:r.modules})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},62123:e=>{e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length;++r<n;)if(!t(e[r],r,e))return!1;return!0}},62175:e=>{e.exports=function(e,t){var r=e.length;for(e.sort(t);r--;)e[r]=e[r].value;return e}},62365:(e,t,r)=>{"use strict";function n(e){return"object"==typeof e&&"length"in e?e:Array.from(e)}r.d(t,{A:()=>n}),Array.prototype.slice},62402:(e,t,r)=>{"use strict";let n;r.d(t,{UC:()=>tv,Kq:()=>ty,bL:()=>tm,l9:()=>tg});var o=r(44213),i=r(96943),a=r(86219),l=r(99455),c=r(98633),s=r(66234);let u=["top","right","bottom","left"],f=Math.min,p=Math.max,d=Math.round,h=Math.floor,y=e=>({x:e,y:e}),m={left:"right",right:"left",bottom:"top",top:"bottom"};function g(e,t){return"function"==typeof e?e(t):e}function v(e){return e.split("-")[0]}function b(e){return e.split("-")[1]}function x(e){return"x"===e?"y":"x"}function w(e){return"y"===e?"height":"width"}function O(e){let t=e[0];return"t"===t||"b"===t?"y":"x"}function A(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}let k=["left","right"],S=["right","left"],E=["top","bottom"],j=["bottom","top"];function P(e){let t=v(e);return m[t]+e.slice(t.length)}function T(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function _(e){let{x:t,y:r,width:n,height:o}=e;return{width:n,height:o,top:r,left:t,right:t+n,bottom:r+o,x:t,y:r}}function M(e,t,r){let n,{reference:o,floating:i}=e,a=O(t),l=x(O(t)),c=w(l),s=v(t),u="y"===a,f=o.x+o.width/2-i.width/2,p=o.y+o.height/2-i.height/2,d=o[c]/2-i[c]/2;switch(s){case"top":n={x:f,y:o.y-i.height};break;case"bottom":n={x:f,y:o.y+o.height};break;case"right":n={x:o.x+o.width,y:p};break;case"left":n={x:o.x-i.width,y:p};break;default:n={x:o.x,y:o.y}}switch(b(t)){case"start":n[l]-=d*(r&&u?-1:1);break;case"end":n[l]+=d*(r&&u?-1:1)}return n}async function C(e,t){var r;void 0===t&&(t={});let{x:n,y:o,platform:i,rects:a,elements:l,strategy:c}=e,{boundary:s="clippingAncestors",rootBoundary:u="viewport",elementContext:f="floating",altBoundary:p=!1,padding:d=0}=g(t,e),h=T(d),y=l[p?"floating"===f?"reference":"floating":f],m=_(await i.getClippingRect({element:null==(r=await (null==i.isElement?void 0:i.isElement(y)))||r?y:y.contextElement||await (null==i.getDocumentElement?void 0:i.getDocumentElement(l.floating)),boundary:s,rootBoundary:u,strategy:c})),v="floating"===f?{x:n,y:o,width:a.floating.width,height:a.floating.height}:a.reference,b=await (null==i.getOffsetParent?void 0:i.getOffsetParent(l.floating)),x=await (null==i.isElement?void 0:i.isElement(b))&&await (null==i.getScale?void 0:i.getScale(b))||{x:1,y:1},w=_(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:v,offsetParent:b,strategy:c}):v);return{top:(m.top-w.top+h.top)/x.y,bottom:(w.bottom-m.bottom+h.bottom)/x.y,left:(m.left-w.left+h.left)/x.x,right:(w.right-m.right+h.right)/x.x}}let I=async(e,t,r)=>{let{placement:n="bottom",strategy:o="absolute",middleware:i=[],platform:a}=r,l=a.detectOverflow?a:{...a,detectOverflow:C},c=await (null==a.isRTL?void 0:a.isRTL(t)),s=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:u,y:f}=M(s,n,c),p=n,d=0,h={};for(let r=0;r<i.length;r++){let y=i[r];if(!y)continue;let{name:m,fn:g}=y,{x:v,y:b,data:x,reset:w}=await g({x:u,y:f,initialPlacement:n,placement:p,strategy:o,middlewareData:h,rects:s,platform:l,elements:{reference:e,floating:t}});u=null!=v?v:u,f=null!=b?b:f,h[m]={...h[m],...x},w&&d<50&&(d++,"object"==typeof w&&(w.placement&&(p=w.placement),w.rects&&(s=!0===w.rects?await a.getElementRects({reference:e,floating:t,strategy:o}):w.rects),{x:u,y:f}=M(s,p,c)),r=-1)}return{x:u,y:f,placement:p,strategy:o,middlewareData:h}};function N(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function D(e){return u.some(t=>e[t]>=0)}let R=new Set(["left","top"]);async function L(e,t){let{placement:r,platform:n,elements:o}=e,i=await (null==n.isRTL?void 0:n.isRTL(o.floating)),a=v(r),l=b(r),c="y"===O(r),s=R.has(a)?-1:1,u=i&&c?-1:1,f=g(t,e),{mainAxis:p,crossAxis:d,alignmentAxis:h}="number"==typeof f?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return l&&"number"==typeof h&&(d="end"===l?-1*h:h),c?{x:d*u,y:p*s}:{x:p*s,y:d*u}}function F(){return"undefined"!=typeof window}function B(e){return U(e)?(e.nodeName||"").toLowerCase():"#document"}function z(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function $(e){var t;return null==(t=(U(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function U(e){return!!F()&&(e instanceof Node||e instanceof z(e).Node)}function W(e){return!!F()&&(e instanceof Element||e instanceof z(e).Element)}function G(e){return!!F()&&(e instanceof HTMLElement||e instanceof z(e).HTMLElement)}function H(e){return!!F()&&"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof z(e).ShadowRoot)}function q(e){let{overflow:t,overflowX:r,overflowY:n,display:o}=ee(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&"inline"!==o&&"contents"!==o}function V(e){try{if(e.matches(":popover-open"))return!0}catch(e){}try{return e.matches(":modal")}catch(e){return!1}}let K=/transform|translate|scale|rotate|perspective|filter/,X=/paint|layout|strict|content/,Z=e=>!!e&&"none"!==e;function Y(e){let t=W(e)?ee(e):e;return Z(t.transform)||Z(t.translate)||Z(t.scale)||Z(t.rotate)||Z(t.perspective)||!J()&&(Z(t.backdropFilter)||Z(t.filter))||K.test(t.willChange||"")||X.test(t.contain||"")}function J(){return null==n&&(n="undefined"!=typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),n}function Q(e){return/^(html|body|#document)$/.test(B(e))}function ee(e){return z(e).getComputedStyle(e)}function et(e){return W(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function er(e){if("html"===B(e))return e;let t=e.assignedSlot||e.parentNode||H(e)&&e.host||$(e);return H(t)?t.host:t}function en(e,t,r){var n;void 0===t&&(t=[]),void 0===r&&(r=!0);let o=function e(t){let r=er(t);return Q(r)?t.ownerDocument?t.ownerDocument.body:t.body:G(r)&&q(r)?r:e(r)}(e),i=o===(null==(n=e.ownerDocument)?void 0:n.body),a=z(o);if(!i)return t.concat(o,en(o,[],r));{let e=eo(a);return t.concat(a,a.visualViewport||[],q(o)?o:[],e&&r?en(e):[])}}function eo(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function ei(e){let t=ee(e),r=parseFloat(t.width)||0,n=parseFloat(t.height)||0,o=G(e),i=o?e.offsetWidth:r,a=o?e.offsetHeight:n,l=d(r)!==i||d(n)!==a;return l&&(r=i,n=a),{width:r,height:n,$:l}}function ea(e){return W(e)?e:e.contextElement}function el(e){let t=ea(e);if(!G(t))return y(1);let r=t.getBoundingClientRect(),{width:n,height:o,$:i}=ei(t),a=(i?d(r.width):r.width)/n,l=(i?d(r.height):r.height)/o;return a&&Number.isFinite(a)||(a=1),l&&Number.isFinite(l)||(l=1),{x:a,y:l}}let ec=y(0);function es(e){let t=z(e);return J()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:ec}function eu(e,t,r,n){var o;void 0===t&&(t=!1),void 0===r&&(r=!1);let i=e.getBoundingClientRect(),a=ea(e),l=y(1);t&&(n?W(n)&&(l=el(n)):l=el(e));let c=(void 0===(o=r)&&(o=!1),n&&(!o||n===z(a))&&o)?es(a):y(0),s=(i.left+c.x)/l.x,u=(i.top+c.y)/l.y,f=i.width/l.x,p=i.height/l.y;if(a){let e=z(a),t=n&&W(n)?z(n):n,r=e,o=eo(r);for(;o&&n&&t!==r;){let e=el(o),t=o.getBoundingClientRect(),n=ee(o),i=t.left+(o.clientLeft+parseFloat(n.paddingLeft))*e.x,a=t.top+(o.clientTop+parseFloat(n.paddingTop))*e.y;s*=e.x,u*=e.y,f*=e.x,p*=e.y,s+=i,u+=a,o=eo(r=z(o))}}return _({width:f,height:p,x:s,y:u})}function ef(e,t){let r=et(e).scrollLeft;return t?t.left+r:eu($(e)).left+r}function ep(e,t){let r=e.getBoundingClientRect();return{x:r.left+t.scrollLeft-ef(e,r),y:r.top+t.scrollTop}}function ed(e,t,r){let n;if("viewport"===t)n=function(e,t){let r=z(e),n=$(e),o=r.visualViewport,i=n.clientWidth,a=n.clientHeight,l=0,c=0;if(o){i=o.width,a=o.height;let e=J();(!e||e&&"fixed"===t)&&(l=o.offsetLeft,c=o.offsetTop)}let s=ef(n);if(s<=0){let e=n.ownerDocument,t=e.body,r=getComputedStyle(t),o="CSS1Compat"===e.compatMode&&parseFloat(r.marginLeft)+parseFloat(r.marginRight)||0,a=Math.abs(n.clientWidth-t.clientWidth-o);a<=25&&(i-=a)}else s<=25&&(i+=s);return{width:i,height:a,x:l,y:c}}(e,r);else if("document"===t)n=function(e){let t=$(e),r=et(e),n=e.ownerDocument.body,o=p(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),i=p(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight),a=-r.scrollLeft+ef(e),l=-r.scrollTop;return"rtl"===ee(n).direction&&(a+=p(t.clientWidth,n.clientWidth)-o),{width:o,height:i,x:a,y:l}}($(e));else if(W(t))n=function(e,t){let r=eu(e,!0,"fixed"===t),n=r.top+e.clientTop,o=r.left+e.clientLeft,i=G(e)?el(e):y(1),a=e.clientWidth*i.x,l=e.clientHeight*i.y;return{width:a,height:l,x:o*i.x,y:n*i.y}}(t,r);else{let r=es(e);n={x:t.x-r.x,y:t.y-r.y,width:t.width,height:t.height}}return _(n)}function eh(e){return"static"===ee(e).position}function ey(e,t){if(!G(e)||"fixed"===ee(e).position)return null;if(t)return t(e);let r=e.offsetParent;return $(e)===r&&(r=r.ownerDocument.body),r}function em(e,t){var r;let n=z(e);if(V(e))return n;if(!G(e)){let t=er(e);for(;t&&!Q(t);){if(W(t)&&!eh(t))return t;t=er(t)}return n}let o=ey(e,t);for(;o&&(r=o,/^(table|td|th)$/.test(B(r)))&&eh(o);)o=ey(o,t);return o&&Q(o)&&eh(o)&&!Y(o)?n:o||function(e){let t=er(e);for(;G(t)&&!Q(t);){if(Y(t))return t;if(V(t))break;t=er(t)}return null}(e)||n}let eg=async function(e){let t=this.getOffsetParent||em,r=this.getDimensions,n=await r(e.floating);return{reference:function(e,t,r){let n=G(t),o=$(t),i="fixed"===r,a=eu(e,!0,i,t),l={scrollLeft:0,scrollTop:0},c=y(0);if(n||!n&&!i)if(("body"!==B(t)||q(o))&&(l=et(t)),n){let e=eu(t,!0,i,t);c.x=e.x+t.clientLeft,c.y=e.y+t.clientTop}else o&&(c.x=ef(o));i&&!n&&o&&(c.x=ef(o));let s=!o||n||i?y(0):ep(o,l);return{x:a.left+l.scrollLeft-c.x-s.x,y:a.top+l.scrollTop-c.y-s.y,width:a.width,height:a.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}},ev={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:r,offsetParent:n,strategy:o}=e,i="fixed"===o,a=$(n),l=!!t&&V(t.floating);if(n===a||l&&i)return r;let c={scrollLeft:0,scrollTop:0},s=y(1),u=y(0),f=G(n);if((f||!f&&!i)&&(("body"!==B(n)||q(a))&&(c=et(n)),f)){let e=eu(n);s=el(n),u.x=e.x+n.clientLeft,u.y=e.y+n.clientTop}let p=!a||f||i?y(0):ep(a,c);return{width:r.width*s.x,height:r.height*s.y,x:r.x*s.x-c.scrollLeft*s.x+u.x+p.x,y:r.y*s.y-c.scrollTop*s.y+u.y+p.y}},getDocumentElement:$,getClippingRect:function(e){let{element:t,boundary:r,rootBoundary:n,strategy:o}=e,i=[..."clippingAncestors"===r?V(t)?[]:function(e,t){let r=t.get(e);if(r)return r;let n=en(e,[],!1).filter(e=>W(e)&&"body"!==B(e)),o=null,i="fixed"===ee(e).position,a=i?er(e):e;for(;W(a)&&!Q(a);){let t=ee(a),r=Y(a);r||"fixed"!==t.position||(o=null),(i?r||o:!(!r&&"static"===t.position&&o&&("absolute"===o.position||"fixed"===o.position)||q(a)&&!r&&function e(t,r){let n=er(t);return!(n===r||!W(n)||Q(n))&&("fixed"===ee(n).position||e(n,r))}(e,a)))?o=t:n=n.filter(e=>e!==a),a=er(a)}return t.set(e,n),n}(t,this._c):[].concat(r),n],a=ed(t,i[0],o),l=a.top,c=a.right,s=a.bottom,u=a.left;for(let e=1;e<i.length;e++){let r=ed(t,i[e],o);l=p(r.top,l),c=f(r.right,c),s=f(r.bottom,s),u=p(r.left,u)}return{width:c-u,height:s-l,x:u,y:l}},getOffsetParent:em,getElementRects:eg,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:r}=ei(e);return{width:t,height:r}},getScale:el,isElement:W,isRTL:function(e){return"rtl"===ee(e).direction}};function eb(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}let ex=e=>({name:"arrow",options:e,async fn(t){let{x:r,y:n,placement:o,rects:i,platform:a,elements:l,middlewareData:c}=t,{element:s,padding:u=0}=g(e,t)||{};if(null==s)return{};let d=T(u),h={x:r,y:n},y=x(O(o)),m=w(y),v=await a.getDimensions(s),A="y"===y,k=A?"clientHeight":"clientWidth",S=i.reference[m]+i.reference[y]-h[y]-i.floating[m],E=h[y]-i.reference[y],j=await (null==a.getOffsetParent?void 0:a.getOffsetParent(s)),P=j?j[k]:0;P&&await (null==a.isElement?void 0:a.isElement(j))||(P=l.floating[k]||i.floating[m]);let _=P/2-v[m]/2-1,M=f(d[A?"top":"left"],_),C=f(d[A?"bottom":"right"],_),I=P-v[m]-C,N=P/2-v[m]/2+(S/2-E/2),D=p(M,f(N,I)),R=!c.arrow&&null!=b(o)&&N!==D&&i.reference[m]/2-(N<M?M:C)-v[m]/2<0,L=R?N<M?N-M:N-I:0;return{[y]:h[y]+L,data:{[y]:D,centerOffset:N-D-L,...R&&{alignmentOffset:L}},reset:R}}});var ew=r(15480),eO="undefined"!=typeof document?o.useLayoutEffect:function(){};function eA(e,t){let r,n,o;if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if((r=e.length)!==t.length)return!1;for(n=r;0!=n--;)if(!eA(e[n],t[n]))return!1;return!0}if((r=(o=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(n=r;0!=n--;)if(!({}).hasOwnProperty.call(t,o[n]))return!1;for(n=r;0!=n--;){let r=o[n];if(("_owner"!==r||!e.$$typeof)&&!eA(e[r],t[r]))return!1}return!0}return e!=e&&t!=t}function ek(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function eS(e,t){let r=ek(e);return Math.round(t*r)/r}function eE(e){let t=o.useRef(e);return eO(()=>{t.current=e}),t}var ej=r(70636),eP=r(59697),eT=o.forwardRef((e,t)=>{let{children:r,width:n=10,height:o=5,...i}=e;return(0,eP.jsx)(ej.sG.svg,{...i,ref:t,width:n,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?r:(0,eP.jsx)("polygon",{points:"0,0 30,0 15,10"})})});eT.displayName="Arrow";var e_=r(9818),eM=r(99110),eC="Popper",[eI,eN]=(0,l.A)(eC),[eD,eR]=eI(eC),eL=e=>{let{__scopePopper:t,children:r}=e,[n,i]=o.useState(null);return(0,eP.jsx)(eD,{scope:t,anchor:n,onAnchorChange:i,children:r})};eL.displayName=eC;var eF="PopperAnchor",eB=o.forwardRef((e,t)=>{let{__scopePopper:r,virtualRef:n,...i}=e,l=eR(eF,r),c=o.useRef(null),s=(0,a.s)(t,c),u=o.useRef(null);return o.useEffect(()=>{let e=u.current;u.current=(null==n?void 0:n.current)||c.current,e!==u.current&&l.onAnchorChange(u.current)}),n?null:(0,eP.jsx)(ej.sG.div,{...i,ref:s})});eB.displayName=eF;var ez="PopperContent",[e$,eU]=eI(ez),eW=o.forwardRef((e,t)=>{var r,n,i,l,c,s,u,d;let{__scopePopper:y,side:m="bottom",sideOffset:T=0,align:_="center",alignOffset:M=0,arrowPadding:C=0,avoidCollisions:F=!0,collisionBoundary:B=[],collisionPadding:z=0,sticky:U="partial",hideWhenDetached:W=!1,updatePositionStrategy:G="optimized",onPlaced:H,...q}=e,V=eR(ez,y),[K,X]=o.useState(null),Z=(0,a.s)(t,e=>X(e)),[Y,J]=o.useState(null),Q=function(e){let[t,r]=o.useState(void 0);return(0,eM.N)(()=>{if(e){r({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let n,o;if(!Array.isArray(t)||!t.length)return;let i=t[0];if("borderBoxSize"in i){let e=i.borderBoxSize,t=Array.isArray(e)?e[0]:e;n=t.inlineSize,o=t.blockSize}else n=e.offsetWidth,o=e.offsetHeight;r({width:n,height:o})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}r(void 0)},[e]),t}(Y),ee=null!=(u=null==Q?void 0:Q.width)?u:0,et=null!=(d=null==Q?void 0:Q.height)?d:0,er="number"==typeof z?z:{top:0,right:0,bottom:0,left:0,...z},eo=Array.isArray(B)?B:[B],ei=eo.length>0,el={padding:er,boundary:eo.filter(eV),altBoundary:ei},{refs:ec,floatingStyles:es,placement:ef,isPositioned:ep,middlewareData:ed}=function(e){void 0===e&&(e={});let{placement:t="bottom",strategy:r="absolute",middleware:n=[],platform:i,elements:{reference:a,floating:l}={},transform:c=!0,whileElementsMounted:s,open:u}=e,[f,p]=o.useState({x:0,y:0,strategy:r,placement:t,middlewareData:{},isPositioned:!1}),[d,h]=o.useState(n);eA(d,n)||h(n);let[y,m]=o.useState(null),[g,v]=o.useState(null),b=o.useCallback(e=>{e!==A.current&&(A.current=e,m(e))},[]),x=o.useCallback(e=>{e!==k.current&&(k.current=e,v(e))},[]),w=a||y,O=l||g,A=o.useRef(null),k=o.useRef(null),S=o.useRef(f),E=null!=s,j=eE(s),P=eE(i),T=eE(u),_=o.useCallback(()=>{if(!A.current||!k.current)return;let e={placement:t,strategy:r,middleware:d};P.current&&(e.platform=P.current),((e,t,r)=>{let n=new Map,o={platform:ev,...r},i={...o.platform,_c:n};return I(e,t,{...o,platform:i})})(A.current,k.current,e).then(e=>{let t={...e,isPositioned:!1!==T.current};M.current&&!eA(S.current,t)&&(S.current=t,ew.flushSync(()=>{p(t)}))})},[d,t,r,P,T]);eO(()=>{!1===u&&S.current.isPositioned&&(S.current.isPositioned=!1,p(e=>({...e,isPositioned:!1})))},[u]);let M=o.useRef(!1);eO(()=>(M.current=!0,()=>{M.current=!1}),[]),eO(()=>{if(w&&(A.current=w),O&&(k.current=O),w&&O){if(j.current)return j.current(w,O,_);_()}},[w,O,_,j,E]);let C=o.useMemo(()=>({reference:A,floating:k,setReference:b,setFloating:x}),[b,x]),N=o.useMemo(()=>({reference:w,floating:O}),[w,O]),D=o.useMemo(()=>{let e={position:r,left:0,top:0};if(!N.floating)return e;let t=eS(N.floating,f.x),n=eS(N.floating,f.y);return c?{...e,transform:"translate("+t+"px, "+n+"px)",...ek(N.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:t,top:n}},[r,c,N.floating,f.x,f.y]);return o.useMemo(()=>({...f,update:_,refs:C,elements:N,floatingStyles:D}),[f,_,C,N,D])}({strategy:"fixed",placement:m+("center"!==_?"-"+_:""),whileElementsMounted:function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(e,t,r,n){let o;void 0===n&&(n={});let{ancestorScroll:i=!0,ancestorResize:a=!0,elementResize:l="function"==typeof ResizeObserver,layoutShift:c="function"==typeof IntersectionObserver,animationFrame:s=!1}=n,u=ea(e),d=i||a?[...u?en(u):[],...t?en(t):[]]:[];d.forEach(e=>{i&&e.addEventListener("scroll",r,{passive:!0}),a&&e.addEventListener("resize",r)});let y=u&&c?function(e,t){let r,n=null,o=$(e);function i(){var e;clearTimeout(r),null==(e=n)||e.disconnect(),n=null}return!function a(l,c){void 0===l&&(l=!1),void 0===c&&(c=1),i();let s=e.getBoundingClientRect(),{left:u,top:d,width:y,height:m}=s;if(l||t(),!y||!m)return;let g=h(d),v=h(o.clientWidth-(u+y)),b={rootMargin:-g+"px "+-v+"px "+-h(o.clientHeight-(d+m))+"px "+-h(u)+"px",threshold:p(0,f(1,c))||1},x=!0;function w(t){let n=t[0].intersectionRatio;if(n!==c){if(!x)return a();n?a(!1,n):r=setTimeout(()=>{a(!1,1e-7)},1e3)}1!==n||eb(s,e.getBoundingClientRect())||a(),x=!1}try{n=new IntersectionObserver(w,{...b,root:o.ownerDocument})}catch(e){n=new IntersectionObserver(w,b)}n.observe(e)}(!0),i}(u,r):null,m=-1,g=null;l&&(g=new ResizeObserver(e=>{let[n]=e;n&&n.target===u&&g&&t&&(g.unobserve(t),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var e;null==(e=g)||e.observe(t)})),r()}),u&&!s&&g.observe(u),t&&g.observe(t));let v=s?eu(e):null;return s&&function t(){let n=eu(e);v&&!eb(v,n)&&r(),v=n,o=requestAnimationFrame(t)}(),r(),()=>{var e;d.forEach(e=>{i&&e.removeEventListener("scroll",r),a&&e.removeEventListener("resize",r)}),null==y||y(),null==(e=g)||e.disconnect(),g=null,s&&cancelAnimationFrame(o)}}(...t,{animationFrame:"always"===G})},elements:{reference:V.anchor},middleware:[((e,t)=>{let r=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var r,n;let{x:o,y:i,placement:a,middlewareData:l}=t,c=await L(t,e);return a===(null==(r=l.offset)?void 0:r.placement)&&null!=(n=l.arrow)&&n.alignmentOffset?{}:{x:o+c.x,y:i+c.y,data:{...c,placement:a}}}}}(e);return{name:r.name,fn:r.fn,options:[e,t]}})({mainAxis:T+et,alignmentAxis:M}),F&&((e,t)=>{let r=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){let{x:r,y:n,placement:o,platform:i}=t,{mainAxis:a=!0,crossAxis:l=!1,limiter:c={fn:e=>{let{x:t,y:r}=e;return{x:t,y:r}}},...s}=g(e,t),u={x:r,y:n},d=await i.detectOverflow(t,s),h=O(v(o)),y=x(h),m=u[y],b=u[h];if(a){let e="y"===y?"top":"left",t="y"===y?"bottom":"right",r=m+d[e],n=m-d[t];m=p(r,f(m,n))}if(l){let e="y"===h?"top":"left",t="y"===h?"bottom":"right",r=b+d[e],n=b-d[t];b=p(r,f(b,n))}let w=c.fn({...t,[y]:m,[h]:b});return{...w,data:{x:w.x-r,y:w.y-n,enabled:{[y]:a,[h]:l}}}}}}(e);return{name:r.name,fn:r.fn,options:[e,t]}})({mainAxis:!0,crossAxis:!1,limiter:"partial"===U?((e,t)=>({fn:function(e){return void 0===e&&(e={}),{options:e,fn(t){let{x:r,y:n,placement:o,rects:i,middlewareData:a}=t,{offset:l=0,mainAxis:c=!0,crossAxis:s=!0}=g(e,t),u={x:r,y:n},f=O(o),p=x(f),d=u[p],h=u[f],y=g(l,t),m="number"==typeof y?{mainAxis:y,crossAxis:0}:{mainAxis:0,crossAxis:0,...y};if(c){let e="y"===p?"height":"width",t=i.reference[p]-i.floating[e]+m.mainAxis,r=i.reference[p]+i.reference[e]-m.mainAxis;d<t?d=t:d>r&&(d=r)}if(s){var b,w;let e="y"===p?"width":"height",t=R.has(v(o)),r=i.reference[f]-i.floating[e]+(t&&(null==(b=a.offset)?void 0:b[f])||0)+(t?0:m.crossAxis),n=i.reference[f]+i.reference[e]+(t?0:(null==(w=a.offset)?void 0:w[f])||0)-(t?m.crossAxis:0);h<r?h=r:h>n&&(h=n)}return{[p]:d,[f]:h}}}}(e).fn,options:[e,t]}))():void 0,...el}),F&&((e,t)=>{let r=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var r,n,o,i,a;let{placement:l,middlewareData:c,rects:s,initialPlacement:u,platform:f,elements:p}=t,{mainAxis:d=!0,crossAxis:h=!0,fallbackPlacements:y,fallbackStrategy:m="bestFit",fallbackAxisSideDirection:T="none",flipAlignment:_=!0,...M}=g(e,t);if(null!=(r=c.arrow)&&r.alignmentOffset)return{};let C=v(l),I=O(u),N=v(u)===u,D=await (null==f.isRTL?void 0:f.isRTL(p.floating)),R=y||(N||!_?[P(u)]:function(e){let t=P(e);return[A(e),t,A(t)]}(u)),L="none"!==T;!y&&L&&R.push(...function(e,t,r,n){let o=b(e),i=function(e,t,r){switch(e){case"top":case"bottom":if(r)return t?S:k;return t?k:S;case"left":case"right":return t?E:j;default:return[]}}(v(e),"start"===r,n);return o&&(i=i.map(e=>e+"-"+o),t&&(i=i.concat(i.map(A)))),i}(u,_,T,D));let F=[u,...R],B=await f.detectOverflow(t,M),z=[],$=(null==(n=c.flip)?void 0:n.overflows)||[];if(d&&z.push(B[C]),h){let e=function(e,t,r){void 0===r&&(r=!1);let n=b(e),o=x(O(e)),i=w(o),a="x"===o?n===(r?"end":"start")?"right":"left":"start"===n?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=P(a)),[a,P(a)]}(l,s,D);z.push(B[e[0]],B[e[1]])}if($=[...$,{placement:l,overflows:z}],!z.every(e=>e<=0)){let e=((null==(o=c.flip)?void 0:o.index)||0)+1,t=F[e];if(t&&("alignment"!==h||I===O(t)||$.every(e=>O(e.placement)!==I||e.overflows[0]>0)))return{data:{index:e,overflows:$},reset:{placement:t}};let r=null==(i=$.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:i.placement;if(!r)switch(m){case"bestFit":{let e=null==(a=$.filter(e=>{if(L){let t=O(e.placement);return t===I||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:a[0];e&&(r=e);break}case"initialPlacement":r=u}if(l!==r)return{reset:{placement:r}}}return{}}}}(e);return{name:r.name,fn:r.fn,options:[e,t]}})({...el}),((e,t)=>{let r=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){var r,n;let o,i,{placement:a,rects:l,platform:c,elements:s}=t,{apply:u=()=>{},...d}=g(e,t),h=await c.detectOverflow(t,d),y=v(a),m=b(a),x="y"===O(a),{width:w,height:A}=l.floating;"top"===y||"bottom"===y?(o=y,i=m===(await (null==c.isRTL?void 0:c.isRTL(s.floating))?"start":"end")?"left":"right"):(i=y,o="end"===m?"top":"bottom");let k=A-h.top-h.bottom,S=w-h.left-h.right,E=f(A-h[o],k),j=f(w-h[i],S),P=!t.middlewareData.shift,T=E,_=j;if(null!=(r=t.middlewareData.shift)&&r.enabled.x&&(_=S),null!=(n=t.middlewareData.shift)&&n.enabled.y&&(T=k),P&&!m){let e=p(h.left,0),t=p(h.right,0),r=p(h.top,0),n=p(h.bottom,0);x?_=w-2*(0!==e||0!==t?e+t:p(h.left,h.right)):T=A-2*(0!==r||0!==n?r+n:p(h.top,h.bottom))}await u({...t,availableWidth:_,availableHeight:T});let M=await c.getDimensions(s.floating);return w!==M.width||A!==M.height?{reset:{rects:!0}}:{}}}}(e);return{name:r.name,fn:r.fn,options:[e,t]}})({...el,apply:e=>{let{elements:t,rects:r,availableWidth:n,availableHeight:o}=e,{width:i,height:a}=r.reference,l=t.floating.style;l.setProperty("--radix-popper-available-width","".concat(n,"px")),l.setProperty("--radix-popper-available-height","".concat(o,"px")),l.setProperty("--radix-popper-anchor-width","".concat(i,"px")),l.setProperty("--radix-popper-anchor-height","".concat(a,"px"))}}),Y&&((e,t)=>{let r=(e=>({name:"arrow",options:e,fn(t){let{element:r,padding:n}="function"==typeof e?e(t):e;return r&&({}).hasOwnProperty.call(r,"current")?null!=r.current?ex({element:r.current,padding:n}).fn(t):{}:r?ex({element:r,padding:n}).fn(t):{}}}))(e);return{name:r.name,fn:r.fn,options:[e,t]}})({element:Y,padding:C}),eK({arrowWidth:ee,arrowHeight:et}),W&&((e,t)=>{let r=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){let{rects:r,platform:n}=t,{strategy:o="referenceHidden",...i}=g(e,t);switch(o){case"referenceHidden":{let e=N(await n.detectOverflow(t,{...i,elementContext:"reference"}),r.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:D(e)}}}case"escaped":{let e=N(await n.detectOverflow(t,{...i,altBoundary:!0}),r.floating);return{data:{escapedOffsets:e,escaped:D(e)}}}default:return{}}}}}(e);return{name:r.name,fn:r.fn,options:[e,t]}})({strategy:"referenceHidden",...el})]}),[eh,ey]=eX(ef),em=(0,e_.c)(H);(0,eM.N)(()=>{ep&&(null==em||em())},[ep,em]);let eg=null==(r=ed.arrow)?void 0:r.x,eT=null==(n=ed.arrow)?void 0:n.y,eC=(null==(i=ed.arrow)?void 0:i.centerOffset)!==0,[eI,eN]=o.useState();return(0,eM.N)(()=>{K&&eN(window.getComputedStyle(K).zIndex)},[K]),(0,eP.jsx)("div",{ref:ec.setFloating,"data-radix-popper-content-wrapper":"",style:{...es,transform:ep?es.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:eI,"--radix-popper-transform-origin":[null==(l=ed.transformOrigin)?void 0:l.x,null==(c=ed.transformOrigin)?void 0:c.y].join(" "),...(null==(s=ed.hide)?void 0:s.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,eP.jsx)(e$,{scope:y,placedSide:eh,onArrowChange:J,arrowX:eg,arrowY:eT,shouldHideArrow:eC,children:(0,eP.jsx)(ej.sG.div,{"data-side":eh,"data-align":ey,...q,ref:Z,style:{...q.style,animation:ep?void 0:"none"}})})})});eW.displayName=ez;var eG="PopperArrow",eH={top:"bottom",right:"left",bottom:"top",left:"right"},eq=o.forwardRef(function(e,t){let{__scopePopper:r,...n}=e,o=eU(eG,r),i=eH[o.placedSide];return(0,eP.jsx)("span",{ref:o.onArrowChange,style:{position:"absolute",left:o.arrowX,top:o.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[o.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[o.placedSide],visibility:o.shouldHideArrow?"hidden":void 0},children:(0,eP.jsx)(eT,{...n,ref:t,style:{...n.style,display:"block"}})})});function eV(e){return null!==e}eq.displayName=eG;var eK=e=>({name:"transformOrigin",options:e,fn(t){var r,n,o,i,a;let{placement:l,rects:c,middlewareData:s}=t,u=(null==(r=s.arrow)?void 0:r.centerOffset)!==0,f=u?0:e.arrowWidth,p=u?0:e.arrowHeight,[d,h]=eX(l),y={start:"0%",center:"50%",end:"100%"}[h],m=(null!=(i=null==(n=s.arrow)?void 0:n.x)?i:0)+f/2,g=(null!=(a=null==(o=s.arrow)?void 0:o.y)?a:0)+p/2,v="",b="";return"bottom"===d?(v=u?y:"".concat(m,"px"),b="".concat(-p,"px")):"top"===d?(v=u?y:"".concat(m,"px"),b="".concat(c.floating.height+p,"px")):"right"===d?(v="".concat(-p,"px"),b=u?y:"".concat(g,"px")):"left"===d&&(v="".concat(c.floating.width+p,"px"),b=u?y:"".concat(g,"px")),{data:{x:v,y:b}}}});function eX(e){let[t,r="center"]=e.split("-");return[t,r]}r(58537);var eZ=r(71406),eY=r(24453),eJ=r(49810),eQ=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),e0=o.forwardRef((e,t)=>(0,eP.jsx)(ej.sG.span,{...e,ref:t,style:{...eQ,...e.style}}));e0.displayName="VisuallyHidden";var[e1,e2]=(0,l.A)("Tooltip",[eN]),e4=eN(),e3="TooltipProvider",e8="tooltip.open",[e5,e6]=e1(e3),e9=e=>{let{__scopeTooltip:t,delayDuration:r=700,skipDelayDuration:n=300,disableHoverableContent:i=!1,children:a}=e,l=o.useRef(!0),c=o.useRef(!1),s=o.useRef(0);return o.useEffect(()=>{let e=s.current;return()=>window.clearTimeout(e)},[]),(0,eP.jsx)(e5,{scope:t,isOpenDelayedRef:l,delayDuration:r,onOpen:o.useCallback(()=>{window.clearTimeout(s.current),l.current=!1},[]),onClose:o.useCallback(()=>{window.clearTimeout(s.current),s.current=window.setTimeout(()=>l.current=!0,n)},[n]),isPointerInTransitRef:c,onPointerInTransitChange:o.useCallback(e=>{c.current=e},[]),disableHoverableContent:i,children:a})};e9.displayName=e3;var e7="Tooltip",[te,tt]=e1(e7),tr=e=>{let{__scopeTooltip:t,children:r,open:n,defaultOpen:i,onOpenChange:a,disableHoverableContent:l,delayDuration:c}=e,u=e6(e7,e.__scopeTooltip),f=e4(t),[p,d]=o.useState(null),h=(0,s.B)(),y=o.useRef(0),m=null!=l?l:u.disableHoverableContent,g=null!=c?c:u.delayDuration,v=o.useRef(!1),[b,x]=(0,eJ.i)({prop:n,defaultProp:null!=i&&i,onChange:e=>{e?(u.onOpen(),document.dispatchEvent(new CustomEvent(e8))):u.onClose(),null==a||a(e)},caller:e7}),w=o.useMemo(()=>b?v.current?"delayed-open":"instant-open":"closed",[b]),O=o.useCallback(()=>{window.clearTimeout(y.current),y.current=0,v.current=!1,x(!0)},[x]),A=o.useCallback(()=>{window.clearTimeout(y.current),y.current=0,x(!1)},[x]),k=o.useCallback(()=>{window.clearTimeout(y.current),y.current=window.setTimeout(()=>{v.current=!0,x(!0),y.current=0},g)},[g,x]);return o.useEffect(()=>()=>{y.current&&(window.clearTimeout(y.current),y.current=0)},[]),(0,eP.jsx)(eL,{...f,children:(0,eP.jsx)(te,{scope:t,contentId:h,open:b,stateAttribute:w,trigger:p,onTriggerChange:d,onTriggerEnter:o.useCallback(()=>{u.isOpenDelayedRef.current?k():O()},[u.isOpenDelayedRef,k,O]),onTriggerLeave:o.useCallback(()=>{m?A():(window.clearTimeout(y.current),y.current=0)},[A,m]),onOpen:O,onClose:A,disableHoverableContent:m,children:r})})};tr.displayName=e7;var tn="TooltipTrigger",to=o.forwardRef((e,t)=>{let{__scopeTooltip:r,...n}=e,l=tt(tn,r),c=e6(tn,r),s=e4(r),u=o.useRef(null),f=(0,a.s)(t,u,l.onTriggerChange),p=o.useRef(!1),d=o.useRef(!1),h=o.useCallback(()=>p.current=!1,[]);return o.useEffect(()=>()=>document.removeEventListener("pointerup",h),[h]),(0,eP.jsx)(eB,{asChild:!0,...s,children:(0,eP.jsx)(ej.sG.button,{"aria-describedby":l.open?l.contentId:void 0,"data-state":l.stateAttribute,...n,ref:f,onPointerMove:(0,i.mK)(e.onPointerMove,e=>{"touch"!==e.pointerType&&(d.current||c.isPointerInTransitRef.current||(l.onTriggerEnter(),d.current=!0))}),onPointerLeave:(0,i.mK)(e.onPointerLeave,()=>{l.onTriggerLeave(),d.current=!1}),onPointerDown:(0,i.mK)(e.onPointerDown,()=>{l.open&&l.onClose(),p.current=!0,document.addEventListener("pointerup",h,{once:!0})}),onFocus:(0,i.mK)(e.onFocus,()=>{p.current||l.onOpen()}),onBlur:(0,i.mK)(e.onBlur,l.onClose),onClick:(0,i.mK)(e.onClick,l.onClose)})})});to.displayName=tn;var[ti,ta]=e1("TooltipPortal",{forceMount:void 0}),tl="TooltipContent",tc=o.forwardRef((e,t)=>{let r=ta(tl,e.__scopeTooltip),{forceMount:n=r.forceMount,side:o="top",...i}=e,a=tt(tl,e.__scopeTooltip);return(0,eP.jsx)(eZ.C,{present:n||a.open,children:a.disableHoverableContent?(0,eP.jsx)(td,{side:o,...i,ref:t}):(0,eP.jsx)(ts,{side:o,...i,ref:t})})}),ts=o.forwardRef((e,t)=>{let r=tt(tl,e.__scopeTooltip),n=e6(tl,e.__scopeTooltip),i=o.useRef(null),l=(0,a.s)(t,i),[c,s]=o.useState(null),{trigger:u,onClose:f}=r,p=i.current,{onPointerInTransitChange:d}=n,h=o.useCallback(()=>{s(null),d(!1)},[d]),y=o.useCallback((e,t)=>{let r=e.currentTarget,n={x:e.clientX,y:e.clientY},o=function(e,t){let r=Math.abs(t.top-e.y),n=Math.abs(t.bottom-e.y),o=Math.abs(t.right-e.x),i=Math.abs(t.left-e.x);switch(Math.min(r,n,o,i)){case i:return"left";case o:return"right";case r:return"top";case n:return"bottom";default:throw Error("unreachable")}}(n,r.getBoundingClientRect());s(function(e){let t=e.slice();return t.sort((e,t)=>e.x<t.x?-1:e.x>t.x?1:e.y<t.y?-1:1*!!(e.y>t.y)),function(e){if(e.length<=1)return e.slice();let t=[];for(let r=0;r<e.length;r++){let n=e[r];for(;t.length>=2;){let e=t[t.length-1],r=t[t.length-2];if((e.x-r.x)*(n.y-r.y)>=(e.y-r.y)*(n.x-r.x))t.pop();else break}t.push(n)}t.pop();let r=[];for(let t=e.length-1;t>=0;t--){let n=e[t];for(;r.length>=2;){let e=r[r.length-1],t=r[r.length-2];if((e.x-t.x)*(n.y-t.y)>=(e.y-t.y)*(n.x-t.x))r.pop();else break}r.push(n)}return(r.pop(),1===t.length&&1===r.length&&t[0].x===r[0].x&&t[0].y===r[0].y)?t:t.concat(r)}(t)}([...function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:5,n=[];switch(t){case"top":n.push({x:e.x-r,y:e.y+r},{x:e.x+r,y:e.y+r});break;case"bottom":n.push({x:e.x-r,y:e.y-r},{x:e.x+r,y:e.y-r});break;case"left":n.push({x:e.x+r,y:e.y-r},{x:e.x+r,y:e.y+r});break;case"right":n.push({x:e.x-r,y:e.y-r},{x:e.x-r,y:e.y+r})}return n}(n,o),...function(e){let{top:t,right:r,bottom:n,left:o}=e;return[{x:o,y:t},{x:r,y:t},{x:r,y:n},{x:o,y:n}]}(t.getBoundingClientRect())])),d(!0)},[d]);return o.useEffect(()=>()=>h(),[h]),o.useEffect(()=>{if(u&&p){let e=e=>y(e,p),t=e=>y(e,u);return u.addEventListener("pointerleave",e),p.addEventListener("pointerleave",t),()=>{u.removeEventListener("pointerleave",e),p.removeEventListener("pointerleave",t)}}},[u,p,y,h]),o.useEffect(()=>{if(c){let e=e=>{let t=e.target,r={x:e.clientX,y:e.clientY},n=(null==u?void 0:u.contains(t))||(null==p?void 0:p.contains(t)),o=!function(e,t){let{x:r,y:n}=e,o=!1;for(let e=0,i=t.length-1;e<t.length;i=e++){let a=t[e],l=t[i],c=a.x,s=a.y,u=l.x,f=l.y;s>n!=f>n&&r<(u-c)*(n-s)/(f-s)+c&&(o=!o)}return o}(r,c);n?h():o&&(h(),f())};return document.addEventListener("pointermove",e),()=>document.removeEventListener("pointermove",e)}},[u,p,c,f,h]),(0,eP.jsx)(td,{...e,ref:l})}),[tu,tf]=e1(e7,{isInside:!1}),tp=(0,eY.Dc)("TooltipContent"),td=o.forwardRef((e,t)=>{let{__scopeTooltip:r,children:n,"aria-label":i,onEscapeKeyDown:a,onPointerDownOutside:l,...s}=e,u=tt(tl,r),f=e4(r),{onClose:p}=u;return o.useEffect(()=>(document.addEventListener(e8,p),()=>document.removeEventListener(e8,p)),[p]),o.useEffect(()=>{if(u.trigger){let e=e=>{let t=e.target;(null==t?void 0:t.contains(u.trigger))&&p()};return window.addEventListener("scroll",e,{capture:!0}),()=>window.removeEventListener("scroll",e,{capture:!0})}},[u.trigger,p]),(0,eP.jsx)(c.qW,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:a,onPointerDownOutside:l,onFocusOutside:e=>e.preventDefault(),onDismiss:p,children:(0,eP.jsxs)(eW,{"data-state":u.stateAttribute,...f,...s,ref:t,style:{...s.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[(0,eP.jsx)(tp,{children:n}),(0,eP.jsx)(tu,{scope:r,isInside:!0,children:(0,eP.jsx)(e0,{id:u.contentId,role:"tooltip",children:i||n})})]})})});tc.displayName=tl;var th="TooltipArrow";o.forwardRef((e,t)=>{let{__scopeTooltip:r,...n}=e,o=e4(r);return tf(th,r).isInside?null:(0,eP.jsx)(eq,{...o,...n,ref:t})}).displayName=th;var ty=e9,tm=tr,tg=to,tv=tc},62539:(e,t,r)=>{e.exports=r(52811)["__core-js_shared__"]},62676:e=>{e.exports=function(e,t){for(var r=-1,n=t.length,o=e.length;++r<n;)e[o+r]=t[r];return e}},62748:(e,t,r)=>{var n=r(16910);e.exports=function(e,t){if(e!==t){var r=void 0!==e,o=null===e,i=e==e,a=n(e),l=void 0!==t,c=null===t,s=t==t,u=n(t);if(!c&&!u&&!a&&e>t||a&&l&&s&&!c&&!u||o&&l&&s||!r&&s||!i)return 1;if(!o&&!a&&!u&&e<t||u&&r&&i&&!o&&!a||c&&r&&i||!l&&i||!s)return -1}return 0}},62850:(e,t,r)=>{"use strict";function n(e){let{moduleIds:t}=e;return null}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"PreloadChunks",{enumerable:!0,get:function(){return n}}),r(59697),r(15480),r(82937),r(98048)},63395:e=>{e.exports=function(e){return this.__data__.has(e)}},64004:(e,t,r)=>{"use strict";r.d(t,{u:()=>h});var n=r(73138),o=r(44213),i=r(56526),a=r.n(i),l=r(20681),c=r(76307),s=r(36404);function u(e){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function f(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function p(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?f(Object(r),!0).forEach(function(t){var n,o,i;n=e,o=t,i=r[t],(o=function(e){var t=function(e,t){if("object"!=u(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=u(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==u(t)?t:t+""}(o))in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):f(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var h=(0,o.forwardRef)(function(e,t){var r,i=e.aspect,u=e.initialDimension,f=void 0===u?{width:-1,height:-1}:u,h=e.width,y=void 0===h?"100%":h,m=e.height,g=void 0===m?"100%":m,v=e.minWidth,b=void 0===v?0:v,x=e.minHeight,w=e.maxHeight,O=e.children,A=e.debounce,k=void 0===A?0:A,S=e.id,E=e.className,j=e.onResize,P=e.style,T=(0,o.useRef)(null),_=(0,o.useRef)();_.current=j,(0,o.useImperativeHandle)(t,function(){return Object.defineProperty(T.current,"current",{get:function(){return console.warn("The usage of ref.current.current is deprecated and will no longer be supported."),T.current},configurable:!0})});var M=function(e){if(Array.isArray(e))return e}(r=(0,o.useState)({containerWidth:f.width,containerHeight:f.height}))||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,l=[],c=!0,s=!1;try{i=(r=r.call(e)).next,!1;for(;!(c=(n=i.call(r)).done)&&(l.push(n.value),l.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(s)throw o}}return l}}(r,2)||function(e,t){if(e){if("string"==typeof e)return d(e,2);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return d(e,t)}}(r,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),C=M[0],I=M[1],N=(0,o.useCallback)(function(e,t){I(function(r){var n=Math.round(e),o=Math.round(t);return r.containerWidth===n&&r.containerHeight===o?r:{containerWidth:n,containerHeight:o}})},[]);(0,o.useEffect)(function(){var e=function(e){var t,r=e[0].contentRect,n=r.width,o=r.height;N(n,o),null==(t=_.current)||t.call(_,n,o)};k>0&&(e=a()(e,k,{trailing:!0,leading:!1}));var t=new ResizeObserver(e),r=T.current.getBoundingClientRect();return N(r.width,r.height),t.observe(T.current),function(){t.disconnect()}},[N,k]);var D=(0,o.useMemo)(function(){var e=C.containerWidth,t=C.containerHeight;if(e<0||t<0)return null;(0,c.R)((0,l._3)(y)||(0,l._3)(g),"The width(%s) and height(%s) are both fixed numbers,\n maybe you don't need to use a ResponsiveContainer.",y,g),(0,c.R)(!i||i>0,"The aspect(%s) must be greater than zero.",i);var r=(0,l._3)(y)?e:y,n=(0,l._3)(g)?t:g;i&&i>0&&(r?n=r/i:n&&(r=n*i),w&&n>w&&(n=w)),(0,c.R)(r>0||n>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.",r,n,y,g,b,x,i);var a=!Array.isArray(O)&&(0,s.Mn)(O.type).endsWith("Chart");return o.Children.map(O,function(e){return o.isValidElement(e)?(0,o.cloneElement)(e,p({width:r,height:n},a?{style:p({height:"100%",width:"100%",maxHeight:n,maxWidth:r},e.props.style)}:{})):e})},[i,O,g,w,x,b,C,y]);return o.createElement("div",{id:S?"".concat(S):void 0,className:(0,n.A)("recharts-responsive-container",E),style:p(p({},void 0===P?{}:P),{},{width:y,height:g,minWidth:b,minHeight:x,maxHeight:w}),ref:T},D)})},64030:(e,t,r)=>{"use strict";r.d(t,{h:()=>m});var n=r(44213),o=r(73138),i=r(42506),a=r(22079),l=r(35223);function c(e){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function s(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(s=function(){return!!e})()}function u(e){return(u=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function f(e,t){return(f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function p(e,t,r){return(t=d(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function d(e){var t=function(e,t){if("object"!=c(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=c(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==c(t)?t:t+""}function h(){return(h=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var y=function(e){var t=e.yAxisId,r=(0,i.yi)(),c=(0,i.rY)(),s=(0,i.Nk)(t);return null==s?null:n.createElement(a.u,h({},s,{className:(0,o.A)("recharts-".concat(s.axisType," ").concat(s.axisType),s.className),viewBox:{x:0,y:0,width:r,height:c},ticksGenerator:function(e){return(0,l.Rh)(e,!0)}}))},m=function(e){var t;function r(){var e,t;if(!(this instanceof r))throw TypeError("Cannot call a class as a function");return e=r,t=arguments,e=u(e),function(e,t){if(t&&("object"===c(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");var r=e;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,s()?Reflect.construct(e,t||[],u(this).constructor):e.apply(this,t))}if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");return r.prototype=Object.create(e&&e.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),e&&f(r,e),t=[{key:"render",value:function(){return n.createElement(y,this.props)}}],function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,d(n.key),n)}}(r.prototype,t),Object.defineProperty(r,"prototype",{writable:!1}),r}(n.Component);p(m,"displayName","YAxis"),p(m,"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})},64316:e=>{e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=!!t,t}},64452:(e,t,r)=>{var n=r(5463),o=r(25591),i=r(27943);e.exports=function(){this.size=0,this.__data__={hash:new n,map:new(i||o),string:new n}}},64571:e=>{e.exports=function(e){return e!=e}},65014:e=>{e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=0x1fffffffffffff}},65310:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(91485).A)("panel-right-close",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M15 3v18",key:"14nvp0"}],["path",{d:"m8 9 3 3-3 3",key:"12hl5m"}]])},65550:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},65637:(e,t,r)=>{var n=r(43870),o=r(18301),i=r(65550),a=Object.prototype,l=Function.prototype.toString,c=a.hasOwnProperty,s=l.call(Object);e.exports=function(e){if(!i(e)||"[object Object]"!=n(e))return!1;var t=o(e);if(null===t)return!0;var r=c.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&l.call(r)==s}},65959:(e,t,r)=>{var n=r(29529),o=r(56010);e.exports=function(e,t,r,i){var a=r.length,l=a,c=!i;if(null==e)return!l;for(e=Object(e);a--;){var s=r[a];if(c&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++a<l;){var u=(s=r[a])[0],f=e[u],p=s[1];if(c&&s[2]){if(void 0===f&&!(u in e))return!1}else{var d=new n;if(i)var h=i(f,p,u,e,t,d);if(!(void 0===h?o(p,f,3,i,d):h))return!1}}return!0}},66234:(e,t,r)=>{"use strict";r.d(t,{B:()=>c});var n,o=r(44213),i=r(99110),a=(n||(n=r.t(o,2)))[" useId ".trim().toString()]||(()=>void 0),l=0;function c(e){let[t,r]=o.useState(a());return(0,i.N)(()=>{e||r(e=>e??String(l++))},[e]),e||(t?`radix-${t}`:"")}},66551:(e,t,r)=>{var n=r(84228),o=r(8291),i=r(84756),a=r(83202);e.exports=i(function(e,t){if(null==e)return[];var r=t.length;return r>1&&a(e,t[0],t[1])?t=[]:r>2&&a(t[0],t[1],t[2])&&(t=[t[0]]),o(e,n(t,1),[])})},66702:(e,t,r)=>{"use strict";r.d(t,{s:()=>l});var n=r(93430),o=r.n(n),i=r(8898),a=r.n(i);function l(e,t,r){return!0===t?o()(e,r):a()(t)?o()(e,t):e}},67467:(e,t,r)=>{var n=r(94537),o=r(87804),i=r(75501);e.exports=function(e,t,r,a,l,c){var s=1&r,u=e.length,f=t.length;if(u!=f&&!(s&&f>u))return!1;var p=c.get(e),d=c.get(t);if(p&&d)return p==t&&d==e;var h=-1,y=!0,m=2&r?new n:void 0;for(c.set(e,t),c.set(t,e);++h<u;){var g=e[h],v=t[h];if(a)var b=s?a(v,g,h,t,e,c):a(g,v,h,e,t,c);if(void 0!==b){if(b)continue;y=!1;break}if(m){if(!o(t,function(e,t){if(!i(m,t)&&(g===e||l(g,e,r,a,c)))return m.push(t)})){y=!1;break}}else if(!(g===v||l(g,v,r,a,c))){y=!1;break}}return c.delete(e),c.delete(t),y}},67539:(e,t,r)=>{var n=r(5011),o=r(39758),i=r(12376),a=r(7206);e.exports=function(e,t){return n(e)?e:o(e,t)?[e]:i(a(e))}},67828:(e,t,r)=>{e.exports=r(80771)(Object.keys,Object)},68277:(e,t,r)=>{var n=r(8898),o=r(45698),i=r(88777),a=r(70319),l=/^\[object .+?Constructor\]$/,c=Object.prototype,s=Function.prototype.toString,u=c.hasOwnProperty,f=RegExp("^"+s.call(u).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||o(e))&&(n(e)?f:l).test(a(e))}},68448:(e,t,r)=>{var n=r(30430);e.exports=function(e){var t=n(e,function(e){return 500===r.size&&r.clear(),e}),r=t.cache;return t}},68473:(e,t,r)=>{"use strict";r.d(t,{IZ:()=>m,Kg:()=>y,Zk:()=>A,lY:()=>g,pr:()=>v,yy:()=>O});var n=r(6513),o=r.n(n),i=r(44213),a=r(8898),l=r.n(a),c=r(20681),s=r(35223);function u(e){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function f(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function p(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?f(Object(r),!0).forEach(function(t){d(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):f(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function d(e,t,r){var n;return(n=function(e,t){if("object"!=u(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=u(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==u(n)?n:n+"")in e)?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function h(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var y=Math.PI/180,m=function(e,t,r,n){return{x:e+Math.cos(-y*n)*r,y:t+Math.sin(-y*n)*r}},g=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{top:0,right:0,bottom:0,left:0};return Math.min(Math.abs(e-(r.left||0)-(r.right||0)),Math.abs(t-(r.top||0)-(r.bottom||0)))/2},v=function(e,t,r,n,i){var a=e.width,l=e.height,u=e.startAngle,f=e.endAngle,y=(0,c.F4)(e.cx,a,a/2),m=(0,c.F4)(e.cy,l,l/2),v=g(a,l,r),b=(0,c.F4)(e.innerRadius,v,0),x=(0,c.F4)(e.outerRadius,v,.8*v);return Object.keys(t).reduce(function(e,r){var a,l=t[r],c=l.domain,g=l.reversed;if(o()(l.range))"angleAxis"===n?a=[u,f]:"radiusAxis"===n&&(a=[b,x]),g&&(a=[a[1],a[0]]);else{var v,w=function(e){if(Array.isArray(e))return e}(v=a=l.range)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,l=[],c=!0,s=!1;try{i=(r=r.call(e)).next,!1;for(;!(c=(n=i.call(r)).done)&&(l.push(n.value),l.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(s)throw o}}return l}}(v,2)||function(e,t){if(e){if("string"==typeof e)return h(e,2);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return h(e,t)}}(v,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}();u=w[0],f=w[1]}var O=(0,s.W7)(l,i),A=O.realScaleType,k=O.scale;k.domain(c).range(a),(0,s.YB)(k);var S=(0,s.w7)(k,p(p({},l),{},{realScaleType:A})),E=p(p(p({},l),S),{},{range:a,radius:x,realScaleType:A,scale:k,cx:y,cy:m,innerRadius:b,outerRadius:x,startAngle:u,endAngle:f});return p(p({},e),{},d({},r,E))},{})},b=function(e,t){var r=e.x,n=e.y;return Math.sqrt(Math.pow(r-t.x,2)+Math.pow(n-t.y,2))},x=function(e,t){var r=e.x,n=e.y,o=t.cx,i=t.cy,a=b({x:r,y:n},{x:o,y:i});if(a<=0)return{radius:a};var l=Math.acos((r-o)/a);return n>i&&(l=2*Math.PI-l),{radius:a,angle:180*l/Math.PI,angleInRadian:l}},w=function(e){var t=e.startAngle,r=e.endAngle,n=Math.min(Math.floor(t/360),Math.floor(r/360));return{startAngle:t-360*n,endAngle:r-360*n}},O=function(e,t){var r,n=x({x:e.x,y:e.y},t),o=n.radius,i=n.angle,a=t.innerRadius,l=t.outerRadius;if(o<a||o>l)return!1;if(0===o)return!0;var c=w(t),s=c.startAngle,u=c.endAngle,f=i;if(s<=u){for(;f>u;)f-=360;for(;f<s;)f+=360;r=f>=s&&f<=u}else{for(;f>s;)f-=360;for(;f<u;)f+=360;r=f>=u&&f<=s}return r?p(p({},t),{},{radius:o,angle:f+360*Math.min(Math.floor(t.startAngle/360),Math.floor(t.endAngle/360))}):null},A=function(e){return(0,i.isValidElement)(e)||l()(e)||"boolean"==typeof e?"":e.className}},68620:(e,t,r)=>{var n=r(50393);e.exports=function(e){var t=n(this,e).delete(e);return this.size-=!!t,t}},69174:e=>{e.exports=function(e,t){return null==e?void 0:e[t]}},69302:(e,t,r)=>{"use strict";function n(e,t){let r;if(void 0===t)for(let t of e)null!=t&&(r<t||void 0===r&&t>=t)&&(r=t);else{let n=-1;for(let o of e)null!=(o=t(o,++n,e))&&(r<o||void 0===r&&o>=o)&&(r=o)}return r}r.d(t,{A:()=>n})},69330:(e,t,r)=>{"use strict";r.d(t,{A:()=>i,z:()=>a});var n=r(86377),o=r(40161);function i(){var e,t,r=(0,o.A)().unknown(void 0),a=r.domain,l=r.range,c=0,s=1,u=!1,f=0,p=0,d=.5;function h(){var r=a().length,n=s<c,o=n?s:c,i=n?c:s;e=(i-o)/Math.max(1,r-f+2*p),u&&(e=Math.floor(e)),o+=(i-o-e*(r-f))*d,t=e*(1-f),u&&(o=Math.round(o),t=Math.round(t));var h=(function(e,t,r){e*=1,t*=1,r=(o=arguments.length)<2?(t=e,e=0,1):o<3?1:+r;for(var n=-1,o=0|Math.max(0,Math.ceil((t-e)/r)),i=Array(o);++n<o;)i[n]=e+n*r;return i})(r).map(function(t){return o+e*t});return l(n?h.reverse():h)}return delete r.unknown,r.domain=function(e){return arguments.length?(a(e),h()):a()},r.range=function(e){return arguments.length?([c,s]=e,c*=1,s*=1,h()):[c,s]},r.rangeRound=function(e){return[c,s]=e,c*=1,s*=1,u=!0,h()},r.bandwidth=function(){return t},r.step=function(){return e},r.round=function(e){return arguments.length?(u=!!e,h()):u},r.padding=function(e){return arguments.length?(f=Math.min(1,p=+e),h()):f},r.paddingInner=function(e){return arguments.length?(f=Math.min(1,e),h()):f},r.paddingOuter=function(e){return arguments.length?(p=+e,h()):p},r.align=function(e){return arguments.length?(d=Math.max(0,Math.min(1,e)),h()):d},r.copy=function(){return i(a(),[c,s]).round(u).paddingInner(f).paddingOuter(p).align(d)},n.C.apply(h(),arguments)}function a(){return function e(t){var r=t.copy;return t.padding=t.paddingOuter,delete t.paddingInner,delete t.paddingOuter,t.copy=function(){return e(r())},t}(i.apply(null,arguments).paddingInner(1))}},69351:(e,t,r)=>{var n=r(60703),o=r(60318),i=r(5011),a=n?n.isConcatSpreadable:void 0;e.exports=function(e){return i(e)||o(e)||!!(a&&e&&e[a])}},69430:e=>{e.exports=function(e){return function(){return e}}},69813:(e,t,r)=>{"use strict";r.d(t,{G:()=>L});var n=r(44213),o=r(73138),i=r(1687),a=r(8898),l=r.n(a),c=r(75724),s=r.n(c),u=r(6513),f=r.n(u),p=r(4595),d=r.n(p),h=r(57874),y=r.n(h),m=r(75642),g=r(11220),v=r(79164),b=r(56415),x=r(98363),w=r(20681),O=r(35223),A=r(36404),k=["layout","type","stroke","connectNulls","isRange","ref"],S=["key"];function E(e){return(E="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function j(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function P(){return(P=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function T(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function _(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?T(Object(r),!0).forEach(function(t){D(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):T(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function M(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,R(n.key),n)}}function C(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(C=function(){return!!e})()}function I(e){return(I=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function N(e,t){return(N=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function D(e,t,r){return(t=R(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function R(e){var t=function(e,t){if("object"!=E(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=E(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==E(t)?t:t+""}var L=function(e){var t,r;function a(){var e,t,r;if(!(this instanceof a))throw TypeError("Cannot call a class as a function");for(var n=arguments.length,o=Array(n),i=0;i<n;i++)o[i]=arguments[i];return t=a,r=[].concat(o),t=I(t),D(e=function(e,t){if(t&&("object"===E(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");var r=e;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,C()?Reflect.construct(t,r||[],I(this).constructor):t.apply(this,r)),"state",{isAnimationFinished:!0}),D(e,"id",(0,w.NF)("recharts-area-")),D(e,"handleAnimationEnd",function(){var t=e.props.onAnimationEnd;e.setState({isAnimationFinished:!0}),l()(t)&&t()}),D(e,"handleAnimationStart",function(){var t=e.props.onAnimationStart;e.setState({isAnimationFinished:!1}),l()(t)&&t()}),e}if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");return a.prototype=Object.create(e&&e.prototype,{constructor:{value:a,writable:!0,configurable:!0}}),Object.defineProperty(a,"prototype",{writable:!1}),e&&N(a,e),t=[{key:"renderDots",value:function(e,t,r){var o=this.props.isAnimationActive,i=this.state.isAnimationFinished;if(o&&!i)return null;var l=this.props,c=l.dot,s=l.points,u=l.dataKey,f=(0,A.J9)(this.props,!1),p=(0,A.J9)(c,!0),d=s.map(function(e,t){var r=_(_(_({key:"dot-".concat(t),r:3},f),p),{},{index:t,cx:e.x,cy:e.y,dataKey:u,value:e.value,payload:e.payload,points:s});return a.renderDotItem(c,r)}),h={clipPath:e?"url(#clipPath-".concat(t?"":"dots-").concat(r,")"):null};return n.createElement(v.W,P({className:"recharts-area-dots"},h),d)}},{key:"renderHorizontalRect",value:function(e){var t=this.props,r=t.baseLine,o=t.points,i=t.strokeWidth,a=o[0].x,l=o[o.length-1].x,c=e*Math.abs(a-l),u=s()(o.map(function(e){return e.y||0}));return((0,w.Et)(r)&&"number"==typeof r?u=Math.max(r,u):r&&Array.isArray(r)&&r.length&&(u=Math.max(s()(r.map(function(e){return e.y||0})),u)),(0,w.Et)(u))?n.createElement("rect",{x:a<l?a:a-c,y:0,width:c,height:Math.floor(u+(i?parseInt("".concat(i),10):1))}):null}},{key:"renderVerticalRect",value:function(e){var t=this.props,r=t.baseLine,o=t.points,i=t.strokeWidth,a=o[0].y,l=o[o.length-1].y,c=e*Math.abs(a-l),u=s()(o.map(function(e){return e.x||0}));return((0,w.Et)(r)&&"number"==typeof r?u=Math.max(r,u):r&&Array.isArray(r)&&r.length&&(u=Math.max(s()(r.map(function(e){return e.x||0})),u)),(0,w.Et)(u))?n.createElement("rect",{x:0,y:a<l?a:a-c,width:u+(i?parseInt("".concat(i),10):1),height:Math.floor(c)}):null}},{key:"renderClipRect",value:function(e){return"vertical"===this.props.layout?this.renderVerticalRect(e):this.renderHorizontalRect(e)}},{key:"renderAreaStatically",value:function(e,t,r,o){var i=this.props,a=i.layout,l=i.type,c=i.stroke,s=i.connectNulls,u=i.isRange,f=(i.ref,j(i,k));return n.createElement(v.W,{clipPath:r?"url(#clipPath-".concat(o,")"):null},n.createElement(m.I,P({},(0,A.J9)(f,!0),{points:e,connectNulls:s,type:l,baseLine:t,layout:a,stroke:"none",className:"recharts-area-area"})),"none"!==c&&n.createElement(m.I,P({},(0,A.J9)(this.props,!1),{className:"recharts-area-curve",layout:a,type:l,connectNulls:s,fill:"none",points:e})),"none"!==c&&u&&n.createElement(m.I,P({},(0,A.J9)(this.props,!1),{className:"recharts-area-curve",layout:a,type:l,connectNulls:s,fill:"none",points:t})))}},{key:"renderAreaWithAnimation",value:function(e,t){var r=this,o=this.props,a=o.points,l=o.baseLine,c=o.isAnimationActive,s=o.animationBegin,u=o.animationDuration,p=o.animationEasing,h=o.animationId,y=this.state,m=y.prevPoints,g=y.prevBaseLine;return n.createElement(i.Ay,{begin:s,duration:u,isActive:c,easing:p,from:{t:0},to:{t:1},key:"area-".concat(h),onAnimationEnd:this.handleAnimationEnd,onAnimationStart:this.handleAnimationStart},function(o){var i=o.t;if(m){var c,s=m.length/a.length,u=a.map(function(e,t){var r=Math.floor(t*s);if(m[r]){var n=m[r],o=(0,w.Dj)(n.x,e.x),a=(0,w.Dj)(n.y,e.y);return _(_({},e),{},{x:o(i),y:a(i)})}return e});return c=(0,w.Et)(l)&&"number"==typeof l?(0,w.Dj)(g,l)(i):f()(l)||d()(l)?(0,w.Dj)(g,0)(i):l.map(function(e,t){var r=Math.floor(t*s);if(g[r]){var n=g[r],o=(0,w.Dj)(n.x,e.x),a=(0,w.Dj)(n.y,e.y);return _(_({},e),{},{x:o(i),y:a(i)})}return e}),r.renderAreaStatically(u,c,e,t)}return n.createElement(v.W,null,n.createElement("defs",null,n.createElement("clipPath",{id:"animationClipPath-".concat(t)},r.renderClipRect(i))),n.createElement(v.W,{clipPath:"url(#animationClipPath-".concat(t,")")},r.renderAreaStatically(a,l,e,t)))})}},{key:"renderArea",value:function(e,t){var r=this.props,n=r.points,o=r.baseLine,i=r.isAnimationActive,a=this.state,l=a.prevPoints,c=a.prevBaseLine,s=a.totalLength;return i&&n&&n.length&&(!l&&s>0||!y()(l,n)||!y()(c,o))?this.renderAreaWithAnimation(e,t):this.renderAreaStatically(n,o,e,t)}},{key:"render",value:function(){var e,t=this.props,r=t.hide,i=t.dot,a=t.points,l=t.className,c=t.top,s=t.left,u=t.xAxis,p=t.yAxis,d=t.width,h=t.height,y=t.isAnimationActive,m=t.id;if(r||!a||!a.length)return null;var g=this.state.isAnimationFinished,x=1===a.length,w=(0,o.A)("recharts-area",l),O=u&&u.allowDataOverflow,k=p&&p.allowDataOverflow,S=O||k,E=f()(m)?this.id:m,j=null!=(e=(0,A.J9)(i,!1))?e:{r:3,strokeWidth:2},P=j.r,T=j.strokeWidth,_=((0,A.sT)(i)?i:{}).clipDot,M=void 0===_||_,C=2*(void 0===P?3:P)+(void 0===T?2:T);return n.createElement(v.W,{className:w},O||k?n.createElement("defs",null,n.createElement("clipPath",{id:"clipPath-".concat(E)},n.createElement("rect",{x:O?s:s-d/2,y:k?c:c-h/2,width:O?d:2*d,height:k?h:2*h})),!M&&n.createElement("clipPath",{id:"clipPath-dots-".concat(E)},n.createElement("rect",{x:s-C/2,y:c-C/2,width:d+C,height:h+C}))):null,x?null:this.renderArea(S,E),(i||x)&&this.renderDots(S,M,E),(!y||g)&&b.Z.renderCallByParent(this.props,a))}}],r=[{key:"getDerivedStateFromProps",value:function(e,t){return e.animationId!==t.prevAnimationId?{prevAnimationId:e.animationId,curPoints:e.points,curBaseLine:e.baseLine,prevPoints:t.curPoints,prevBaseLine:t.curBaseLine}:e.points!==t.curPoints||e.baseLine!==t.curBaseLine?{curPoints:e.points,curBaseLine:e.baseLine}:null}}],t&&M(a.prototype,t),r&&M(a,r),Object.defineProperty(a,"prototype",{writable:!1}),a}(n.PureComponent);D(L,"displayName","Area"),D(L,"defaultProps",{stroke:"#3182bd",fill:"#3182bd",fillOpacity:.6,xAxisId:0,yAxisId:0,legendType:"line",connectNulls:!1,points:[],dot:!1,activeDot:!0,hide:!1,isAnimationActive:!x.m.isSsr,animationBegin:0,animationDuration:1500,animationEasing:"ease"}),D(L,"getBaseValue",function(e,t,r,n){var o=e.layout,i=e.baseValue,a=t.props.baseValue,l=null!=a?a:i;if((0,w.Et)(l)&&"number"==typeof l)return l;var c="horizontal"===o?n:r,s=c.scale.domain();if("number"===c.type){var u=Math.max(s[0],s[1]),f=Math.min(s[0],s[1]);return"dataMin"===l?f:"dataMax"===l||u<0?u:Math.max(Math.min(s[0],s[1]),0)}return"dataMin"===l?s[0]:"dataMax"===l?s[1]:s[0]}),D(L,"getComposedData",function(e){var t,r=e.props,n=e.item,o=e.xAxis,i=e.yAxis,a=e.xAxisTicks,l=e.yAxisTicks,c=e.bandSize,s=e.dataKey,u=e.stackedData,f=e.dataStartIndex,p=e.displayedData,d=e.offset,h=r.layout,y=u&&u.length,m=L.getBaseValue(r,n,o,i),g="horizontal"===h,v=!1,b=p.map(function(e,t){y?r=u[f+t]:Array.isArray(r=(0,O.kr)(e,s))?v=!0:r=[m,r];var r,n=null==r[1]||y&&null==(0,O.kr)(e,s);return g?{x:(0,O.nb)({axis:o,ticks:a,bandSize:c,entry:e,index:t}),y:n?null:i.scale(r[1]),value:r,payload:e}:{x:n?null:o.scale(r[1]),y:(0,O.nb)({axis:i,ticks:l,bandSize:c,entry:e,index:t}),value:r,payload:e}});return t=y||v?b.map(function(e){var t=Array.isArray(e.value)?e.value[0]:null;return g?{x:e.x,y:null!=t&&null!=e.y?i.scale(t):null}:{x:null!=t?o.scale(t):null,y:e.y}}):g?i.scale(m):o.scale(m),_({points:b,baseLine:t,layout:h,isRange:v},d)}),D(L,"renderDotItem",function(e,t){var r;if(n.isValidElement(e))r=n.cloneElement(e,t);else if(l()(e))r=e(t);else{var i=(0,o.A)("recharts-area-dot","boolean"!=typeof e?e.className:""),a=t.key,c=j(t,S);r=n.createElement(g.c,P({},c,{key:a,className:i}))}return r})},70319:e=>{var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},70636:(e,t,r)=>{"use strict";r.d(t,{hO:()=>c,sG:()=>l});var n=r(44213),o=r(15480),i=r(24453),a=r(59697),l=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{let r=(0,i.TL)(`Primitive.${t}`),o=n.forwardRef((e,n)=>{let{asChild:o,...i}=e;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,a.jsx)(o?r:t,{...i,ref:n})});return o.displayName=`Primitive.${t}`,{...e,[t]:o}},{});function c(e,t){e&&o.flushSync(()=>e.dispatchEvent(t))}},71120:e=>{e.exports=function(e){return e}},71406:(e,t,r)=>{"use strict";r.d(t,{C:()=>a});var n=r(44213),o=r(86219),i=r(99110),a=e=>{let{present:t,children:r}=e,a=function(e){var t,r;let[o,a]=n.useState(),c=n.useRef(null),s=n.useRef(e),u=n.useRef("none"),[f,p]=(t=e?"mounted":"unmounted",r={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},n.useReducer((e,t)=>{let n=r[e][t];return null!=n?n:e},t));return n.useEffect(()=>{let e=l(c.current);u.current="mounted"===f?e:"none"},[f]),(0,i.N)(()=>{let t=c.current,r=s.current;if(r!==e){let n=u.current,o=l(t);e?p("MOUNT"):"none"===o||(null==t?void 0:t.display)==="none"?p("UNMOUNT"):r&&n!==o?p("ANIMATION_OUT"):p("UNMOUNT"),s.current=e}},[e,p]),(0,i.N)(()=>{if(o){var e;let t,r=null!=(e=o.ownerDocument.defaultView)?e:window,n=e=>{let n=l(c.current).includes(CSS.escape(e.animationName));if(e.target===o&&n&&(p("ANIMATION_END"),!s.current)){let e=o.style.animationFillMode;o.style.animationFillMode="forwards",t=r.setTimeout(()=>{"forwards"===o.style.animationFillMode&&(o.style.animationFillMode=e)})}},i=e=>{e.target===o&&(u.current=l(c.current))};return o.addEventListener("animationstart",i),o.addEventListener("animationcancel",n),o.addEventListener("animationend",n),()=>{r.clearTimeout(t),o.removeEventListener("animationstart",i),o.removeEventListener("animationcancel",n),o.removeEventListener("animationend",n)}}p("ANIMATION_END")},[o,p]),{isPresent:["mounted","unmountSuspended"].includes(f),ref:n.useCallback(e=>{c.current=e?getComputedStyle(e):null,a(e)},[])}}(t),c="function"==typeof r?r({present:a.isPresent}):n.Children.only(r),s=(0,o.s)(a.ref,function(e){var t,r;let n=null==(t=Object.getOwnPropertyDescriptor(e.props,"ref"))?void 0:t.get,o=n&&"isReactWarning"in n&&n.isReactWarning;return o?e.ref:(o=(n=null==(r=Object.getOwnPropertyDescriptor(e,"ref"))?void 0:r.get)&&"isReactWarning"in n&&n.isReactWarning)?e.props.ref:e.props.ref||e.ref}(c));return"function"==typeof r||a.isPresent?n.cloneElement(c,{ref:s}):null};function l(e){return(null==e?void 0:e.animationName)||"none"}a.displayName="Presence"},71847:(e,t,r)=>{var n=r(98812),o=r(14819),i=r(90567),a=Math.max;e.exports=function(e,t,r){var l=null==e?0:e.length;if(!l)return -1;var c=null==r?0:i(r);return c<0&&(c=a(l+c,0)),n(e,o(t,3),c)}},72125:(e,t,r)=>{"use strict";r.d(t,{A3:()=>f,Pu:()=>u});var n=r(98363);function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function a(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach(function(t){var n,i,a;n=e,i=t,a=r[t],(i=function(e){var t=function(e,t){if("object"!=o(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=o(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==o(t)?t:t+""}(i))in n?Object.defineProperty(n,i,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[i]=a}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var l={widthCache:{},cacheCount:0},c={position:"absolute",top:"-20000px",left:0,padding:0,margin:0,border:"none",whiteSpace:"pre"},s="recharts_measurement_span",u=function(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(null==e||n.m.isSsr)return{width:0,height:0};var o=(Object.keys(t=a({},r)).forEach(function(e){t[e]||delete t[e]}),t),i=JSON.stringify({text:e,copyStyle:o});if(l.widthCache[i])return l.widthCache[i];try{var u=document.getElementById(s);u||((u=document.createElement("span")).setAttribute("id",s),u.setAttribute("aria-hidden","true"),document.body.appendChild(u));var f=a(a({},c),o);Object.assign(u.style,f),u.textContent="".concat(e);var p=u.getBoundingClientRect(),d={width:p.width,height:p.height};return l.widthCache[i]=d,++l.cacheCount>2e3&&(l.cacheCount=0,l.widthCache={}),d}catch(e){return{width:0,height:0}}},f=function(e){return{top:e.top+window.scrollY-document.documentElement.clientTop,left:e.left+window.scrollX-document.documentElement.clientLeft}}},72135:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(91485).A)("copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]])},72477:e=>{e.exports=function(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}},73030:(e,t,r)=>{var n=r(67539),o=r(60318),i=r(5011),a=r(40925),l=r(65014),c=r(45221);e.exports=function(e,t,r){t=n(t,e);for(var s=-1,u=t.length,f=!1;++s<u;){var p=c(t[s]);if(!(f=null!=e&&r(e,p)))break;e=e[p]}return f||++s!=u?f:!!(u=null==e?0:e.length)&&l(u)&&a(p,u)&&(i(e)||o(e))}},73138:(e,t,r)=>{"use strict";function n(){for(var e,t,r=0,n="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=function e(t){var r,n,o="";if("string"==typeof t||"number"==typeof t)o+=t;else if("object"==typeof t)if(Array.isArray(t)){var i=t.length;for(r=0;r<i;r++)t[r]&&(n=e(t[r]))&&(o&&(o+=" "),o+=n)}else for(n in t)t[n]&&(o&&(o+=" "),o+=n);return o}(e))&&(n&&(n+=" "),n+=t);return n}r.d(t,{$:()=>n,A:()=>o});let o=n},73382:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(91485).A)("plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]])},73705:(e,t,r)=>{var n=r(90665),o=r(9797),i=r(14819);e.exports=function(e,t){return e&&e.length?n(e,i(t,2),o):void 0}},73748:(e,t,r)=>{"use strict";r.d(t,{gu:()=>tI});var n=r(44213),o=r(6513),i=r.n(o),a=r(8898),l=r.n(a),c=r(84459),s=r.n(c),u=r(84806),f=r.n(u),p=r(66551),d=r.n(p),h=r(56526),y=r.n(h),m=r(73138),g=r(8919),v=r(37734),b=r(79164),x=r(84626),w=r(16989),O=r(11220),A=r(52042),k=r(36404),S=r(69330),E=r(91258),j=r(35223),P=r(20681);function T(e){return(T="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function M(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?_(Object(r),!0).forEach(function(t){C(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):_(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function C(e,t,r){var n;return(n=function(e,t){if("object"!=T(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=T(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==T(n)?n:n+"")in e)?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var I=["Webkit","Moz","O","ms"],N=function(e,t){if(!e)return null;var r=e.replace(/(\w)/,function(e){return e.toUpperCase()}),n=I.reduce(function(e,n){return M(M({},e),{},C({},n+r,t))},{});return n[e]=t,n};function D(e){return(D="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function R(){return(R=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function L(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function F(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?L(Object(r),!0).forEach(function(t){W(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):L(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function B(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,G(n.key),n)}}function z(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(z=function(){return!!e})()}function $(e){return($=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function U(e,t){return(U=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function W(e,t,r){return(t=G(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function G(e){var t=function(e,t){if("object"!=D(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=D(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==D(t)?t:t+""}var H=function(e){var t=e.data,r=e.startIndex,n=e.endIndex,o=e.x,i=e.width,a=e.travellerWidth;if(!t||!t.length)return{};var l=t.length,c=(0,S.z)().domain(s()(0,l)).range([o,o+i-a]),u=c.domain().map(function(e){return c(e)});return{isTextActive:!1,isSlideMoving:!1,isTravellerMoving:!1,isTravellerFocused:!1,startX:c(r),endX:c(n),scale:c,scaleValues:u}},q=function(e){return e.changedTouches&&!!e.changedTouches.length},V=function(e){var t,r;function o(e){var t,r,n;if(!(this instanceof o))throw TypeError("Cannot call a class as a function");return r=o,n=[e],r=$(r),W(t=function(e,t){if(t&&("object"===D(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");var r=e;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,z()?Reflect.construct(r,n||[],$(this).constructor):r.apply(this,n)),"handleDrag",function(e){t.leaveTimer&&(clearTimeout(t.leaveTimer),t.leaveTimer=null),t.state.isTravellerMoving?t.handleTravellerMove(e):t.state.isSlideMoving&&t.handleSlideDrag(e)}),W(t,"handleTouchMove",function(e){null!=e.changedTouches&&e.changedTouches.length>0&&t.handleDrag(e.changedTouches[0])}),W(t,"handleDragEnd",function(){t.setState({isTravellerMoving:!1,isSlideMoving:!1},function(){var e=t.props,r=e.endIndex,n=e.onDragEnd,o=e.startIndex;null==n||n({endIndex:r,startIndex:o})}),t.detachDragEndListener()}),W(t,"handleLeaveWrapper",function(){(t.state.isTravellerMoving||t.state.isSlideMoving)&&(t.leaveTimer=window.setTimeout(t.handleDragEnd,t.props.leaveTimeOut))}),W(t,"handleEnterSlideOrTraveller",function(){t.setState({isTextActive:!0})}),W(t,"handleLeaveSlideOrTraveller",function(){t.setState({isTextActive:!1})}),W(t,"handleSlideDragStart",function(e){var r=q(e)?e.changedTouches[0]:e;t.setState({isTravellerMoving:!1,isSlideMoving:!0,slideMoveStartX:r.pageX}),t.attachDragEndListener()}),t.travellerDragStartHandlers={startX:t.handleTravellerDragStart.bind(t,"startX"),endX:t.handleTravellerDragStart.bind(t,"endX")},t.state={},t}if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");return o.prototype=Object.create(e&&e.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),e&&U(o,e),t=[{key:"componentWillUnmount",value:function(){this.leaveTimer&&(clearTimeout(this.leaveTimer),this.leaveTimer=null),this.detachDragEndListener()}},{key:"getIndex",value:function(e){var t=e.startX,r=e.endX,n=this.state.scaleValues,i=this.props,a=i.gap,l=i.data.length-1,c=Math.min(t,r),s=Math.max(t,r),u=o.getIndexInRange(n,c),f=o.getIndexInRange(n,s);return{startIndex:u-u%a,endIndex:f===l?l:f-f%a}}},{key:"getTextOfTick",value:function(e){var t=this.props,r=t.data,n=t.tickFormatter,o=t.dataKey,i=(0,j.kr)(r[e],o,e);return l()(n)?n(i,e):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(e){var t=this.state,r=t.slideMoveStartX,n=t.startX,o=t.endX,i=this.props,a=i.x,l=i.width,c=i.travellerWidth,s=i.startIndex,u=i.endIndex,f=i.onChange,p=e.pageX-r;p>0?p=Math.min(p,a+l-c-o,a+l-c-n):p<0&&(p=Math.max(p,a-n,a-o));var d=this.getIndex({startX:n+p,endX:o+p});(d.startIndex!==s||d.endIndex!==u)&&f&&f(d),this.setState({startX:n+p,endX:o+p,slideMoveStartX:e.pageX})}},{key:"handleTravellerDragStart",value:function(e,t){var r=q(t)?t.changedTouches[0]:t;this.setState({isSlideMoving:!1,isTravellerMoving:!0,movingTravellerId:e,brushMoveStartX:r.pageX}),this.attachDragEndListener()}},{key:"handleTravellerMove",value:function(e){var t=this.state,r=t.brushMoveStartX,n=t.movingTravellerId,o=t.endX,i=t.startX,a=this.state[n],l=this.props,c=l.x,s=l.width,u=l.travellerWidth,f=l.onChange,p=l.gap,d=l.data,h={startX:this.state.startX,endX:this.state.endX},y=e.pageX-r;y>0?y=Math.min(y,c+s-u-a):y<0&&(y=Math.max(y,c-a)),h[n]=a+y;var m=this.getIndex(h),g=m.startIndex,v=m.endIndex,b=function(){var e=d.length-1;return"startX"===n&&(o>i?g%p==0:v%p==0)||!!(o<i)&&v===e||"endX"===n&&(o>i?v%p==0:g%p==0)||!!(o>i)&&v===e};this.setState(W(W({},n,a+y),"brushMoveStartX",e.pageX),function(){f&&b()&&f(m)})}},{key:"handleTravellerMoveKeyboard",value:function(e,t){var r=this,n=this.state,o=n.scaleValues,i=n.startX,a=n.endX,l=this.state[t],c=o.indexOf(l);if(-1!==c){var s=c+e;if(-1!==s&&!(s>=o.length)){var u=o[s];"startX"===t&&u>=a||"endX"===t&&u<=i||this.setState(W({},t,u),function(){r.props.onChange(r.getIndex({startX:r.state.startX,endX:r.state.endX}))})}}}},{key:"renderBackground",value:function(){var e=this.props,t=e.x,r=e.y,o=e.width,i=e.height,a=e.fill,l=e.stroke;return n.createElement("rect",{stroke:l,fill:a,x:t,y:r,width:o,height:i})}},{key:"renderPanorama",value:function(){var e=this.props,t=e.x,r=e.y,o=e.width,i=e.height,a=e.data,l=e.children,c=e.padding,s=n.Children.only(l);return s?n.cloneElement(s,{x:t,y:r,width:o,height:i,margin:c,compact:!0,data:a}):null}},{key:"renderTravellerLayer",value:function(e,t){var r,i,a=this,l=this.props,c=l.y,s=l.travellerWidth,u=l.height,f=l.traveller,p=l.ariaLabel,d=l.data,h=l.startIndex,y=l.endIndex,m=Math.max(e,this.props.x),g=F(F({},(0,k.J9)(this.props,!1)),{},{x:m,y:c,width:s,height:u}),v=p||"Min value: ".concat(null==(r=d[h])?void 0:r.name,", Max value: ").concat(null==(i=d[y])?void 0:i.name);return n.createElement(b.W,{tabIndex:0,role:"slider","aria-label":v,"aria-valuenow":e,className:"recharts-brush-traveller",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.travellerDragStartHandlers[t],onTouchStart:this.travellerDragStartHandlers[t],onKeyDown:function(e){["ArrowLeft","ArrowRight"].includes(e.key)&&(e.preventDefault(),e.stopPropagation(),a.handleTravellerMoveKeyboard("ArrowRight"===e.key?1:-1,t))},onFocus:function(){a.setState({isTravellerFocused:!0})},onBlur:function(){a.setState({isTravellerFocused:!1})},style:{cursor:"col-resize"}},o.renderTraveller(f,g))}},{key:"renderSlide",value:function(e,t){var r=this.props,o=r.y,i=r.height,a=r.stroke,l=r.travellerWidth,c=Math.min(e,t)+l,s=Math.max(Math.abs(t-e)-l,0);return n.createElement("rect",{className:"recharts-brush-slide",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.handleSlideDragStart,onTouchStart:this.handleSlideDragStart,style:{cursor:"move"},stroke:"none",fill:a,fillOpacity:.2,x:c,y:o,width:s,height:i})}},{key:"renderText",value:function(){var e=this.props,t=e.startIndex,r=e.endIndex,o=e.y,i=e.height,a=e.travellerWidth,l=e.stroke,c=this.state,s=c.startX,u=c.endX,f={pointerEvents:"none",fill:l};return n.createElement(b.W,{className:"recharts-brush-texts"},n.createElement(E.E,R({textAnchor:"end",verticalAnchor:"middle",x:Math.min(s,u)-5,y:o+i/2},f),this.getTextOfTick(t)),n.createElement(E.E,R({textAnchor:"start",verticalAnchor:"middle",x:Math.max(s,u)+a+5,y:o+i/2},f),this.getTextOfTick(r)))}},{key:"render",value:function(){var e=this.props,t=e.data,r=e.className,o=e.children,i=e.x,a=e.y,l=e.width,c=e.height,s=e.alwaysShowText,u=this.state,f=u.startX,p=u.endX,d=u.isTextActive,h=u.isSlideMoving,y=u.isTravellerMoving,g=u.isTravellerFocused;if(!t||!t.length||!(0,P.Et)(i)||!(0,P.Et)(a)||!(0,P.Et)(l)||!(0,P.Et)(c)||l<=0||c<=0)return null;var v=(0,m.A)("recharts-brush",r),x=1===n.Children.count(o),w=N("userSelect","none");return n.createElement(b.W,{className:v,onMouseLeave:this.handleLeaveWrapper,onTouchMove:this.handleTouchMove,style:w},this.renderBackground(),x&&this.renderPanorama(),this.renderSlide(f,p),this.renderTravellerLayer(f,"startX"),this.renderTravellerLayer(p,"endX"),(d||h||y||g||s)&&this.renderText())}}],r=[{key:"renderDefaultTraveller",value:function(e){var t=e.x,r=e.y,o=e.width,i=e.height,a=e.stroke,l=Math.floor(r+i/2)-1;return n.createElement(n.Fragment,null,n.createElement("rect",{x:t,y:r,width:o,height:i,fill:a,stroke:"none"}),n.createElement("line",{x1:t+1,y1:l,x2:t+o-1,y2:l,fill:"none",stroke:"#fff"}),n.createElement("line",{x1:t+1,y1:l+2,x2:t+o-1,y2:l+2,fill:"none",stroke:"#fff"}))}},{key:"renderTraveller",value:function(e,t){return n.isValidElement(e)?n.cloneElement(e,t):l()(e)?e(t):o.renderDefaultTraveller(t)}},{key:"getDerivedStateFromProps",value:function(e,t){var r=e.data,n=e.width,o=e.x,i=e.travellerWidth,a=e.updateId,l=e.startIndex,c=e.endIndex;if(r!==t.prevData||a!==t.prevUpdateId)return F({prevData:r,prevTravellerWidth:i,prevUpdateId:a,prevX:o,prevWidth:n},r&&r.length?H({data:r,width:n,x:o,travellerWidth:i,startIndex:l,endIndex:c}):{scale:null,scaleValues:null});if(t.scale&&(n!==t.prevWidth||o!==t.prevX||i!==t.prevTravellerWidth)){t.scale.range([o,o+n-i]);var s=t.scale.domain().map(function(e){return t.scale(e)});return{prevData:r,prevTravellerWidth:i,prevUpdateId:a,prevX:o,prevWidth:n,startX:t.scale(e.startIndex),endX:t.scale(e.endIndex),scaleValues:s}}return null}},{key:"getIndexInRange",value:function(e,t){for(var r=e.length,n=0,o=r-1;o-n>1;){var i=Math.floor((n+o)/2);e[i]>t?o=i:n=i}return t>=e[o]?o:n}}],t&&B(o.prototype,t),r&&B(o,r),Object.defineProperty(o,"prototype",{writable:!1}),o}(n.PureComponent);W(V,"displayName","Brush"),W(V,"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 K=r(72125),X=r(5261),Z=r(32203),Y=function(e,t){var r=e.alwaysShow,n=e.ifOverflow;return r&&(n="extendDomain"),n===t},J=r(34767),Q=r(76307);function ee(){return(ee=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function et(e){return(et="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function er(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function en(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?er(Object(r),!0).forEach(function(t){el(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):er(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function eo(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(eo=function(){return!!e})()}function ei(e){return(ei=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function ea(e,t){return(ea=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function el(e,t,r){return(t=ec(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ec(e){var t=function(e,t){if("object"!=et(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=et(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==et(t)?t:t+""}var es=function(e){var t=e.x,r=e.y,n=e.xAxis,o=e.yAxis,i=(0,J.P2)({x:n.scale,y:o.scale}),a=i.apply({x:t,y:r},{bandAware:!0});return Y(e,"discard")&&!i.isInRange(a)?null:a},eu=function(e){var t;function r(){var e,t;if(!(this instanceof r))throw TypeError("Cannot call a class as a function");return e=r,t=arguments,e=ei(e),function(e,t){if(t&&("object"===et(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");var r=e;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,eo()?Reflect.construct(e,t||[],ei(this).constructor):e.apply(this,t))}if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");return r.prototype=Object.create(e&&e.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),e&&ea(r,e),t=[{key:"render",value:function(){var e=this.props,t=e.x,o=e.y,i=e.r,a=e.alwaysShow,l=e.clipPathId,c=(0,P.vh)(t),s=(0,P.vh)(o);if((0,Q.R)(void 0===a,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.'),!c||!s)return null;var u=es(this.props);if(!u)return null;var f=u.x,p=u.y,d=this.props,h=d.shape,y=d.className,g=en(en({clipPath:Y(this.props,"hidden")?"url(#".concat(l,")"):void 0},(0,k.J9)(this.props,!0)),{},{cx:f,cy:p});return n.createElement(b.W,{className:(0,m.A)("recharts-reference-dot",y)},r.renderDot(h,g),Z.J.renderCallByParent(this.props,{x:f-i,y:p-i,width:2*i,height:2*i}))}}],function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,ec(n.key),n)}}(r.prototype,t),Object.defineProperty(r,"prototype",{writable:!1}),r}(n.Component);el(eu,"displayName","ReferenceDot"),el(eu,"defaultProps",{isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#fff",stroke:"#ccc",fillOpacity:1,strokeWidth:1}),el(eu,"renderDot",function(e,t){return n.isValidElement(e)?n.cloneElement(e,t):l()(e)?e(t):n.createElement(O.c,ee({},t,{cx:t.cx,cy:t.cy,className:"recharts-reference-dot-dot"}))});var ef=r(55634),ep=r.n(ef),ed=r(42506);function eh(e){return(eh="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ey(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ey=function(){return!!e})()}function em(e){return(em=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function eg(e,t){return(eg=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function ev(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function eb(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ev(Object(r),!0).forEach(function(t){ex(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ev(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function ex(e,t,r){return(t=ew(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ew(e){var t=function(e,t){if("object"!=eh(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=eh(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==eh(t)?t:t+""}function eO(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function eA(){return(eA=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var ek=function(e,t){return n.isValidElement(e)?n.cloneElement(e,t):l()(e)?e(t):n.createElement("line",eA({},t,{className:"recharts-reference-line-line"}))},eS=function(e,t,r,n,o,i,a,l,c){var s=o.x,u=o.y,f=o.width,p=o.height;if(r){var d=c.y,h=e.y.apply(d,{position:i});if(Y(c,"discard")&&!e.y.isInRange(h))return null;var y=[{x:s+f,y:h},{x:s,y:h}];return"left"===l?y.reverse():y}if(t){var m=c.x,g=e.x.apply(m,{position:i});if(Y(c,"discard")&&!e.x.isInRange(g))return null;var v=[{x:g,y:u+p},{x:g,y:u}];return"top"===a?v.reverse():v}if(n){var b=c.segment.map(function(t){return e.apply(t,{position:i})});return Y(c,"discard")&&ep()(b,function(t){return!e.isInRange(t)})?null:b}return null};function eE(e){var t=e.x,r=e.y,o=e.segment,i=e.xAxisId,a=e.yAxisId,l=e.shape,c=e.className,s=e.alwaysShow,u=(0,ed.Yp)(),f=(0,ed.AF)(i),p=(0,ed.Nk)(a),d=(0,ed.sk)();if(!u||!d)return null;(0,Q.R)(void 0===s,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var h=eS((0,J.P2)({x:f.scale,y:p.scale}),(0,P.vh)(t),(0,P.vh)(r),o&&2===o.length,d,e.position,f.orientation,p.orientation,e);if(!h)return null;var y=function(e){if(Array.isArray(e))return e}(h)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,l=[],c=!0,s=!1;try{i=(r=r.call(e)).next,!1;for(;!(c=(n=i.call(r)).done)&&(l.push(n.value),l.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(s)throw o}}return l}}(h,2)||function(e,t){if(e){if("string"==typeof e)return eO(e,2);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return eO(e,t)}}(h,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),g=y[0],v=g.x,x=g.y,w=y[1],O=w.x,A=w.y,S=eb(eb({clipPath:Y(e,"hidden")?"url(#".concat(u,")"):void 0},(0,k.J9)(e,!0)),{},{x1:v,y1:x,x2:O,y2:A});return n.createElement(b.W,{className:(0,m.A)("recharts-reference-line",c)},ek(l,S),Z.J.renderCallByParent(e,(0,J.vh)({x1:v,y1:x,x2:O,y2:A})))}var ej=function(e){var t;function r(){var e,t;if(!(this instanceof r))throw TypeError("Cannot call a class as a function");return e=r,t=arguments,e=em(e),function(e,t){if(t&&("object"===eh(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");var r=e;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,ey()?Reflect.construct(e,t||[],em(this).constructor):e.apply(this,t))}if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");return r.prototype=Object.create(e&&e.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),e&&eg(r,e),t=[{key:"render",value:function(){return n.createElement(eE,this.props)}}],function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,ew(n.key),n)}}(r.prototype,t),Object.defineProperty(r,"prototype",{writable:!1}),r}(n.Component);function eP(){return(eP=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function eT(e){return(eT="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function e_(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function eM(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?e_(Object(r),!0).forEach(function(t){eD(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):e_(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}ex(ej,"displayName","ReferenceLine"),ex(ej,"defaultProps",{isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,fill:"none",stroke:"#ccc",fillOpacity:1,strokeWidth:1,position:"middle"});function eC(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(eC=function(){return!!e})()}function eI(e){return(eI=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function eN(e,t){return(eN=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function eD(e,t,r){return(t=eR(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function eR(e){var t=function(e,t){if("object"!=eT(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=eT(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==eT(t)?t:t+""}var eL=function(e,t,r,n,o){var i=o.x1,a=o.x2,l=o.y1,c=o.y2,s=o.xAxis,u=o.yAxis;if(!s||!u)return null;var f=(0,J.P2)({x:s.scale,y:u.scale}),p={x:e?f.x.apply(i,{position:"start"}):f.x.rangeMin,y:r?f.y.apply(l,{position:"start"}):f.y.rangeMin},d={x:t?f.x.apply(a,{position:"end"}):f.x.rangeMax,y:n?f.y.apply(c,{position:"end"}):f.y.rangeMax};return!Y(o,"discard")||f.isInRange(p)&&f.isInRange(d)?(0,J.sl)(p,d):null},eF=function(e){var t;function r(){var e,t;if(!(this instanceof r))throw TypeError("Cannot call a class as a function");return e=r,t=arguments,e=eI(e),function(e,t){if(t&&("object"===eT(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");var r=e;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,eC()?Reflect.construct(e,t||[],eI(this).constructor):e.apply(this,t))}if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");return r.prototype=Object.create(e&&e.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),e&&eN(r,e),t=[{key:"render",value:function(){var e=this.props,t=e.x1,o=e.x2,i=e.y1,a=e.y2,l=e.className,c=e.alwaysShow,s=e.clipPathId;(0,Q.R)(void 0===c,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var u=(0,P.vh)(t),f=(0,P.vh)(o),p=(0,P.vh)(i),d=(0,P.vh)(a),h=this.props.shape;if(!u&&!f&&!p&&!d&&!h)return null;var y=eL(u,f,p,d,this.props);if(!y&&!h)return null;var g=Y(this.props,"hidden")?"url(#".concat(s,")"):void 0;return n.createElement(b.W,{className:(0,m.A)("recharts-reference-area",l)},r.renderRect(h,eM(eM({clipPath:g},(0,k.J9)(this.props,!0)),y)),Z.J.renderCallByParent(this.props,y))}}],function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,eR(n.key),n)}}(r.prototype,t),Object.defineProperty(r,"prototype",{writable:!1}),r}(n.Component);function eB(e){return function(e){if(Array.isArray(e))return ez(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return ez(e,void 0);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return ez(e,t)}}(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ez(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}eD(eF,"displayName","ReferenceArea"),eD(eF,"defaultProps",{isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#ccc",fillOpacity:.5,stroke:"none",strokeWidth:1}),eD(eF,"renderRect",function(e,t){return n.isValidElement(e)?n.cloneElement(e,t):l()(e)?e(t):n.createElement(A.M,eP({},t,{className:"recharts-reference-area-rect"}))});var e$=function(e,t,r,n,o){var i=(0,k.aS)(e,ej),a=(0,k.aS)(e,eu),l=[].concat(eB(i),eB(a)),c=(0,k.aS)(e,eF),s="".concat(n,"Id"),u=n[0],f=t;if(l.length&&(f=l.reduce(function(e,t){if(t.props[s]===r&&Y(t.props,"extendDomain")&&(0,P.Et)(t.props[u])){var n=t.props[u];return[Math.min(e[0],n),Math.max(e[1],n)]}return e},f)),c.length){var p="".concat(u,"1"),d="".concat(u,"2");f=c.reduce(function(e,t){if(t.props[s]===r&&Y(t.props,"extendDomain")&&(0,P.Et)(t.props[p])&&(0,P.Et)(t.props[d])){var n=t.props[p],o=t.props[d];return[Math.min(e[0],n,o),Math.max(e[1],n,o)]}return e},f)}return o&&o.length&&(f=o.reduce(function(e,t){return(0,P.Et)(t)?[Math.min(e[0],t),Math.max(e[1],t)]:e},f)),f},eU=r(68473),eW=r(18064),eG=r(88913),eH=new(r.n(eG)()),eq="recharts.syncMouseEvents",eV=r(285);function eK(e){return(eK="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function eX(e,t,r){return(t=eZ(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function eZ(e){var t=function(e,t){if("object"!=eK(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=eK(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==eK(t)?t:t+""}var eY=function(){var e,t;return e=function e(){if(!(this instanceof e))throw TypeError("Cannot call a class as a function");eX(this,"activeIndex",0),eX(this,"coordinateList",[]),eX(this,"layout","horizontal")},t=[{key:"setDetails",value:function(e){var t,r=e.coordinateList,n=void 0===r?null:r,o=e.container,i=void 0===o?null:o,a=e.layout,l=void 0===a?null:a,c=e.offset,s=void 0===c?null:c,u=e.mouseHandlerCallback,f=void 0===u?null:u;this.coordinateList=null!=(t=null!=n?n:this.coordinateList)?t:[],this.container=null!=i?i:this.container,this.layout=null!=l?l:this.layout,this.offset=null!=s?s:this.offset,this.mouseHandlerCallback=null!=f?f:this.mouseHandlerCallback,this.activeIndex=Math.min(Math.max(this.activeIndex,0),this.coordinateList.length-1)}},{key:"focus",value:function(){this.spoofMouse()}},{key:"keyboardEvent",value:function(e){if(0!==this.coordinateList.length)switch(e.key){case"ArrowRight":if("horizontal"!==this.layout)return;this.activeIndex=Math.min(this.activeIndex+1,this.coordinateList.length-1),this.spoofMouse();break;case"ArrowLeft":if("horizontal"!==this.layout)return;this.activeIndex=Math.max(this.activeIndex-1,0),this.spoofMouse()}}},{key:"setIndex",value:function(e){this.activeIndex=e}},{key:"spoofMouse",value:function(){if("horizontal"===this.layout&&0!==this.coordinateList.length){var e,t,r=this.container.getBoundingClientRect(),n=r.x,o=r.y,i=r.height,a=this.coordinateList[this.activeIndex].coordinate,l=(null==(e=window)?void 0:e.scrollX)||0,c=(null==(t=window)?void 0:t.scrollY)||0,s=o+this.offset.top+i/2+c;this.mouseHandlerCallback({pageX:n+a+l,pageY:s})}}}],function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,eZ(n.key),n)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}(),eJ=r(55754),eQ=r(75642);function e0(e){return(e0="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var e1=["x","y","top","left","width","height","className"];function e2(){return(e2=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function e4(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}var e3=function(e){var t=e.x,r=void 0===t?0:t,o=e.y,i=void 0===o?0:o,a=e.top,l=void 0===a?0:a,c=e.left,s=void 0===c?0:c,u=e.width,f=void 0===u?0:u,p=e.height,d=void 0===p?0:p,h=e.className,y=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?e4(Object(r),!0).forEach(function(t){var n,o,i;n=e,o=t,i=r[t],(o=function(e){var t=function(e,t){if("object"!=e0(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=e0(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==e0(t)?t:t+""}(o))in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):e4(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({x:r,y:i,top:l,left:s,width:f,height:d},function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,e1));return(0,P.Et)(r)&&(0,P.Et)(i)&&(0,P.Et)(f)&&(0,P.Et)(d)&&(0,P.Et)(l)&&(0,P.Et)(s)?n.createElement("path",e2({},(0,k.J9)(y,!0),{className:(0,m.A)("recharts-cross",h),d:"M".concat(r,",").concat(l,"v").concat(d,"M").concat(s,",").concat(i,"h").concat(f)})):null};function e8(e){var t=e.cx,r=e.cy,n=e.radius,o=e.startAngle,i=e.endAngle;return{points:[(0,eU.IZ)(t,r,n,o),(0,eU.IZ)(t,r,n,i)],cx:t,cy:r,radius:n,startAngle:o,endAngle:i}}var e5=r(17939);function e6(e){return(e6="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function e9(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function e7(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?e9(Object(r),!0).forEach(function(t){var n,o,i;n=e,o=t,i=r[t],(o=function(e){var t=function(e,t){if("object"!=e6(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=e6(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==e6(t)?t:t+""}(o))in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):e9(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function te(e){var t,r,o,i,a=e.element,l=e.tooltipEventType,c=e.isActive,s=e.activeCoordinate,u=e.activePayload,f=e.offset,p=e.activeTooltipIndex,d=e.tooltipAxisBandSize,h=e.layout,y=e.chartName,g=null!=(r=a.props.cursor)?r:null==(o=a.type.defaultProps)?void 0:o.cursor;if(!a||!g||!c||!s||"ScatterChart"!==y&&"axis"!==l)return null;var v=eQ.I;if("ScatterChart"===y)i=s,v=e3;else if("BarChart"===y)t=d/2,i={stroke:"none",fill:"#ccc",x:"horizontal"===h?s.x-t:f.left+.5,y:"horizontal"===h?f.top+.5:s.y-t,width:"horizontal"===h?d:f.width-1,height:"horizontal"===h?f.height-1:d},v=A.M;else if("radial"===h){var b=e8(s),x=b.cx,w=b.cy,O=b.radius;i={cx:x,cy:w,startAngle:b.startAngle,endAngle:b.endAngle,innerRadius:O,outerRadius:O},v=e5.h}else i={points:function(e,t,r){var n,o,i,a;if("horizontal"===e)i=n=t.x,o=r.top,a=r.top+r.height;else if("vertical"===e)a=o=t.y,n=r.left,i=r.left+r.width;else if(null!=t.cx&&null!=t.cy)if("centric"!==e)return e8(t);else{var l=t.cx,c=t.cy,s=t.innerRadius,u=t.outerRadius,f=t.angle,p=(0,eU.IZ)(l,c,s,f),d=(0,eU.IZ)(l,c,u,f);n=p.x,o=p.y,i=d.x,a=d.y}return[{x:n,y:o},{x:i,y:a}]}(h,s,f)},v=eQ.I;var S=e7(e7(e7(e7({stroke:"#ccc",pointerEvents:"none"},f),i),(0,k.J9)(g,!1)),{},{payload:u,payloadIndex:p,className:(0,m.A)("recharts-tooltip-cursor",g.className)});return(0,n.isValidElement)(g)?(0,n.cloneElement)(g,S):(0,n.createElement)(v,S)}var tt=["item"],tr=["children","className","width","height","style","compact","title","desc"];function tn(e){return(tn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function to(){return(to=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function ti(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,l=[],c=!0,s=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(l.push(n.value),l.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(s)throw o}}return l}}(e,t)||tf(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ta(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function tl(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(tl=function(){return!!e})()}function tc(e){return(tc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function ts(e,t){return(ts=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function tu(e){return function(e){if(Array.isArray(e))return tp(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||tf(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function tf(e,t){if(e){if("string"==typeof e)return tp(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return tp(e,t)}}function tp(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function td(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function th(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?td(Object(r),!0).forEach(function(t){ty(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):td(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function ty(e,t,r){return(t=tm(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function tm(e){var t=function(e,t){if("object"!=tn(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=tn(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==tn(t)?t:t+""}var tg={xAxis:["bottom","top"],yAxis:["left","right"]},tv={width:"100%",height:"100%"},tb={x:0,y:0};function tx(e){return e}var tw=function(e,t,r,n){var o=t.find(function(e){return e&&e.index===r});if(o){if("horizontal"===e)return{x:o.coordinate,y:n.y};if("vertical"===e)return{x:n.x,y:o.coordinate};if("centric"===e){var i=o.coordinate,a=n.radius;return th(th(th({},n),(0,eU.IZ)(n.cx,n.cy,a,i)),{},{angle:i,radius:a})}var l=o.coordinate,c=n.angle;return th(th(th({},n),(0,eU.IZ)(n.cx,n.cy,l,c)),{},{angle:c,radius:l})}return tb},tO=function(e,t){var r=t.graphicalItems,n=t.dataStartIndex,o=t.dataEndIndex,i=(null!=r?r:[]).reduce(function(e,t){var r=t.props.data;return r&&r.length?[].concat(tu(e),tu(r)):e},[]);return i.length>0?i:e&&e.length&&(0,P.Et)(n)&&(0,P.Et)(o)?e.slice(n,o+1):[]};function tA(e){return"number"===e?[0,"auto"]:void 0}var tk=function(e,t,r,n){var o=e.graphicalItems,i=e.tooltipAxis,a=tO(t,e);return r<0||!o||!o.length||r>=a.length?null:o.reduce(function(o,l){var c,s,u=null!=(c=l.props.data)?c:t;if(u&&e.dataStartIndex+e.dataEndIndex!==0&&e.dataEndIndex-e.dataStartIndex>=r&&(u=u.slice(e.dataStartIndex,e.dataEndIndex+1)),i.dataKey&&!i.allowDuplicatedCategory){var f=void 0===u?a:u;s=(0,P.eP)(f,i.dataKey,n)}else s=u&&u[r]||a[r];return s?[].concat(tu(o),[(0,j.zb)(l,s)]):o},[])},tS=function(e,t,r,n){var o=n||{x:e.chartX,y:e.chartY},i="horizontal"===r?o.x:"vertical"===r?o.y:"centric"===r?o.angle:o.radius,a=e.orderedTooltipTicks,l=e.tooltipAxis,c=e.tooltipTicks,s=(0,j.gH)(i,a,c,l);if(s>=0&&c){var u=c[s]&&c[s].value,f=tk(e,t,s,u),p=tw(r,a,s,o);return{activeTooltipIndex:s,activeLabel:u,activePayload:f,activeCoordinate:p}}return null},tE=function(e,t){var r=t.axes,n=t.graphicalItems,o=t.axisType,a=t.axisIdKey,l=t.stackGroups,c=t.dataStartIndex,u=t.dataEndIndex,f=e.layout,p=e.children,d=e.stackOffset,h=(0,j._L)(f,o);return r.reduce(function(t,r){var y=void 0!==r.type.defaultProps?th(th({},r.type.defaultProps),r.props):r.props,m=y.type,g=y.dataKey,v=y.allowDataOverflow,b=y.allowDuplicatedCategory,x=y.scale,w=y.ticks,O=y.includeHidden,A=y[a];if(t[A])return t;var k=tO(e.data,{graphicalItems:n.filter(function(e){var t;return(a in e.props?e.props[a]:null==(t=e.type.defaultProps)?void 0:t[a])===A}),dataStartIndex:c,dataEndIndex:u}),S=k.length;(function(e,t,r){if("number"===r&&!0===t&&Array.isArray(e)){var n=null==e?void 0:e[0],o=null==e?void 0:e[1];if(n&&o&&(0,P.Et)(n)&&(0,P.Et)(o))return!0}return!1})(y.domain,v,m)&&(_=(0,j.AQ)(y.domain,null,v),h&&("number"===m||"auto"!==x)&&(C=(0,j.Ay)(k,g,"category")));var E=tA(m);if(!_||0===_.length){var T,_,M,C,I,N=null!=(I=y.domain)?I:E;if(g){if(_=(0,j.Ay)(k,g,m),"category"===m&&h){var D=(0,P.CG)(_);b&&D?(M=_,_=s()(0,S)):b||(_=(0,j.KC)(N,_,r).reduce(function(e,t){return e.indexOf(t)>=0?e:[].concat(tu(e),[t])},[]))}else if("category"===m)_=b?_.filter(function(e){return""!==e&&!i()(e)}):(0,j.KC)(N,_,r).reduce(function(e,t){return e.indexOf(t)>=0||""===t||i()(t)?e:[].concat(tu(e),[t])},[]);else if("number"===m){var R=(0,j.A1)(k,n.filter(function(e){var t,r,n=a in e.props?e.props[a]:null==(t=e.type.defaultProps)?void 0:t[a],o="hide"in e.props?e.props.hide:null==(r=e.type.defaultProps)?void 0:r.hide;return n===A&&(O||!o)}),g,o,f);R&&(_=R)}h&&("number"===m||"auto"!==x)&&(C=(0,j.Ay)(k,g,"category"))}else _=h?s()(0,S):l&&l[A]&&l[A].hasStack&&"number"===m?"expand"===d?[0,1]:(0,j.Mk)(l[A].stackGroups,c,u):(0,j.vf)(k,n.filter(function(e){var t=a in e.props?e.props[a]:e.type.defaultProps[a],r="hide"in e.props?e.props.hide:e.type.defaultProps.hide;return t===A&&(O||!r)}),m,f,!0);"number"===m?(_=e$(p,_,A,o,w),N&&(_=(0,j.AQ)(N,_,v))):"category"===m&&N&&_.every(function(e){return N.indexOf(e)>=0})&&(_=N)}return th(th({},t),{},ty({},A,th(th({},y),{},{axisType:o,domain:_,categoricalDomain:C,duplicateDomain:M,originalDomain:null!=(T=y.domain)?T:E,isCategorical:h,layout:f})))},{})},tj=function(e,t){var r=t.graphicalItems,n=t.Axis,o=t.axisType,i=t.axisIdKey,a=t.stackGroups,l=t.dataStartIndex,c=t.dataEndIndex,u=e.layout,p=e.children,d=tO(e.data,{graphicalItems:r,dataStartIndex:l,dataEndIndex:c}),h=d.length,y=(0,j._L)(u,o),m=-1;return r.reduce(function(e,t){var g,v=(void 0!==t.type.defaultProps?th(th({},t.type.defaultProps),t.props):t.props)[i],b=tA("number");return e[v]?e:(m++,g=y?s()(0,h):a&&a[v]&&a[v].hasStack?e$(p,g=(0,j.Mk)(a[v].stackGroups,l,c),v,o):e$(p,g=(0,j.AQ)(b,(0,j.vf)(d,r.filter(function(e){var t,r,n=i in e.props?e.props[i]:null==(t=e.type.defaultProps)?void 0:t[i],o="hide"in e.props?e.props.hide:null==(r=e.type.defaultProps)?void 0:r.hide;return n===v&&!o}),"number",u),n.defaultProps.allowDataOverflow),v,o),th(th({},e),{},ty({},v,th(th({axisType:o},n.defaultProps),{},{hide:!0,orientation:f()(tg,"".concat(o,".").concat(m%2),null),domain:g,originalDomain:b,isCategorical:y,layout:u}))))},{})},tP=function(e,t){var r=t.axisType,n=void 0===r?"xAxis":r,o=t.AxisComp,i=t.graphicalItems,a=t.stackGroups,l=t.dataStartIndex,c=t.dataEndIndex,s=e.children,u="".concat(n,"Id"),f=(0,k.aS)(s,o),p={};return f&&f.length?p=tE(e,{axes:f,graphicalItems:i,axisType:n,axisIdKey:u,stackGroups:a,dataStartIndex:l,dataEndIndex:c}):i&&i.length&&(p=tj(e,{Axis:o,graphicalItems:i,axisType:n,axisIdKey:u,stackGroups:a,dataStartIndex:l,dataEndIndex:c})),p},tT=function(e){var t=(0,P.lX)(e),r=(0,j.Rh)(t,!1,!0);return{tooltipTicks:r,orderedTooltipTicks:d()(r,function(e){return e.coordinate}),tooltipAxis:t,tooltipAxisBandSize:(0,j.Hj)(t,r)}},t_=function(e){var t=e.children,r=e.defaultShowTooltip,n=(0,k.BU)(t,V),o=0,i=0;return e.data&&0!==e.data.length&&(i=e.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:!!r}},tM=function(e){return"horizontal"===e?{numericAxisName:"yAxis",cateAxisName:"xAxis"}:"vertical"===e?{numericAxisName:"xAxis",cateAxisName:"yAxis"}:"centric"===e?{numericAxisName:"radiusAxis",cateAxisName:"angleAxis"}:{numericAxisName:"angleAxis",cateAxisName:"radiusAxis"}},tC=function(e,t){var r=e.props,n=e.graphicalItems,o=e.xAxisMap,i=void 0===o?{}:o,a=e.yAxisMap,l=void 0===a?{}:a,c=r.width,s=r.height,u=r.children,p=r.margin||{},d=(0,k.BU)(u,V),h=(0,k.BU)(u,w.s),y=Object.keys(l).reduce(function(e,t){var r=l[t],n=r.orientation;return r.mirror||r.hide?e:th(th({},e),{},ty({},n,e[n]+r.width))},{left:p.left||0,right:p.right||0}),m=Object.keys(i).reduce(function(e,t){var r=i[t],n=r.orientation;return r.mirror||r.hide?e:th(th({},e),{},ty({},n,f()(e,"".concat(n))+r.height))},{top:p.top||0,bottom:p.bottom||0}),g=th(th({},m),y),v=g.bottom;d&&(g.bottom+=d.props.height||V.defaultProps.height),h&&t&&(g=(0,j.s0)(g,n,r,t));var b=c-g.left-g.right,x=s-g.top-g.bottom;return th(th({brushBottom:v},g),{},{width:Math.max(b,0),height:Math.max(x,0)})},tI=function(e){var t=e.chartName,r=e.GraphicalChild,o=e.defaultTooltipEventType,a=void 0===o?"axis":o,c=e.validateTooltipEventTypes,s=void 0===c?["axis"]:c,u=e.axisComponents,p=e.legendContent,d=e.formatAxisMap,h=e.defaultProps,w=function(e,t){var r=t.graphicalItems,n=t.stackGroups,o=t.offset,a=t.updateId,l=t.dataStartIndex,c=t.dataEndIndex,s=e.barSize,f=e.layout,p=e.barGap,d=e.barCategoryGap,h=e.maxBarSize,y=tM(f),m=y.numericAxisName,v=y.cateAxisName,b=!!r&&!!r.length&&r.some(function(e){var t=(0,k.Mn)(e&&e.type);return t&&t.indexOf("Bar")>=0}),x=[];return r.forEach(function(r,y){var w=tO(e.data,{graphicalItems:[r],dataStartIndex:l,dataEndIndex:c}),O=void 0!==r.type.defaultProps?th(th({},r.type.defaultProps),r.props):r.props,A=O.dataKey,S=O.maxBarSize,E=O["".concat(m,"Id")],P=O["".concat(v,"Id")],T=u.reduce(function(e,r){var n=t["".concat(r.axisType,"Map")],o=O["".concat(r.axisType,"Id")];n&&n[o]||"zAxis"===r.axisType||(0,g.A)(!1);var i=n[o];return th(th({},e),{},ty(ty({},r.axisType,i),"".concat(r.axisType,"Ticks"),(0,j.Rh)(i)))},{}),_=T[v],M=T["".concat(v,"Ticks")],C=n&&n[E]&&n[E].hasStack&&(0,j.kA)(r,n[E].stackGroups),I=(0,k.Mn)(r.type).indexOf("Bar")>=0,N=(0,j.Hj)(_,M),D=[],R=b&&(0,j.tA)({barSize:s,stackGroups:n,totalSize:"xAxis"===v?T[v].width:"yAxis"===v?T[v].height:void 0});if(I){var L,F,B=i()(S)?h:S,z=null!=(L=null!=(F=(0,j.Hj)(_,M,!0))?F:B)?L:0;D=(0,j.BX)({barGap:p,barCategoryGap:d,bandSize:z!==N?z:N,sizeList:R[P],maxBarSize:B}),z!==N&&(D=D.map(function(e){return th(th({},e),{},{position:th(th({},e.position),{},{offset:e.position.offset-z/2})})}))}var $=r&&r.type&&r.type.getComposedData;$&&x.push({props:th(th({},$(th(th({},T),{},{displayedData:w,props:e,dataKey:A,item:r,bandSize:N,barPosition:D,offset:o,stackedData:C,layout:f,dataStartIndex:l,dataEndIndex:c}))),{},ty(ty(ty({key:r.key||"item-".concat(y)},m,T[m]),v,T[v]),"animationId",a)),childIndex:(0,k.AW)(r,e.children),item:r})}),x},S=function(e,n){var o=e.props,i=e.dataStartIndex,a=e.dataEndIndex,l=e.updateId;if(!(0,k.Me)({props:o}))return null;var c=o.children,s=o.layout,f=o.stackOffset,p=o.data,h=o.reverseStackOrder,y=tM(s),m=y.numericAxisName,g=y.cateAxisName,v=(0,k.aS)(c,r),b=(0,j.Mn)(p,v,"".concat(m,"Id"),"".concat(g,"Id"),f,h),x=u.reduce(function(e,t){var r="".concat(t.axisType,"Map");return th(th({},e),{},ty({},r,tP(o,th(th({},t),{},{graphicalItems:v,stackGroups:t.axisType===m&&b,dataStartIndex:i,dataEndIndex:a}))))},{}),O=tC(th(th({},x),{},{props:o,graphicalItems:v}),null==n?void 0:n.legendBBox);Object.keys(x).forEach(function(e){x[e]=d(o,x[e],O,e.replace("Map",""),t)});var A=tT(x["".concat(g,"Map")]),S=w(o,th(th({},x),{},{dataStartIndex:i,dataEndIndex:a,updateId:l,graphicalItems:v,stackGroups:b,offset:O}));return th(th({formattedGraphicalItems:S,graphicalItems:v,offset:O,stackGroups:b},A),x)},E=function(e){var r;function o(e){var r,a,c,s,u;if(!(this instanceof o))throw TypeError("Cannot call a class as a function");return s=o,u=[e],s=tc(s),ty(c=function(e,t){if(t&&("object"===tn(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");var r=e;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,tl()?Reflect.construct(s,u||[],tc(this).constructor):s.apply(this,u)),"eventEmitterSymbol",Symbol("rechartsEventEmitter")),ty(c,"accessibilityManager",new eY),ty(c,"handleLegendBBoxUpdate",function(e){if(e){var t=c.state,r=t.dataStartIndex,n=t.dataEndIndex,o=t.updateId;c.setState(th({legendBBox:e},S({props:c.props,dataStartIndex:r,dataEndIndex:n,updateId:o},th(th({},c.state),{},{legendBBox:e}))))}}),ty(c,"handleReceiveSyncEvent",function(e,t,r){c.props.syncId===e&&(r!==c.eventEmitterSymbol||"function"==typeof c.props.syncMethod)&&c.applySyncEvent(t)}),ty(c,"handleBrushChange",function(e){var t=e.startIndex,r=e.endIndex;if(t!==c.state.dataStartIndex||r!==c.state.dataEndIndex){var n=c.state.updateId;c.setState(function(){return th({dataStartIndex:t,dataEndIndex:r},S({props:c.props,dataStartIndex:t,dataEndIndex:r,updateId:n},c.state))}),c.triggerSyncEvent({dataStartIndex:t,dataEndIndex:r})}}),ty(c,"handleMouseEnter",function(e){var t=c.getMouseInfo(e);if(t){var r=th(th({},t),{},{isTooltipActive:!0});c.setState(r),c.triggerSyncEvent(r);var n=c.props.onMouseEnter;l()(n)&&n(r,e)}}),ty(c,"triggeredAfterMouseMove",function(e){var t=c.getMouseInfo(e),r=t?th(th({},t),{},{isTooltipActive:!0}):{isTooltipActive:!1};c.setState(r),c.triggerSyncEvent(r);var n=c.props.onMouseMove;l()(n)&&n(r,e)}),ty(c,"handleItemMouseEnter",function(e){c.setState(function(){return{isTooltipActive:!0,activeItem:e,activePayload:e.tooltipPayload,activeCoordinate:e.tooltipPosition||{x:e.cx,y:e.cy}}})}),ty(c,"handleItemMouseLeave",function(){c.setState(function(){return{isTooltipActive:!1}})}),ty(c,"handleMouseMove",function(e){e.persist(),c.throttleTriggeredAfterMouseMove(e)}),ty(c,"handleMouseLeave",function(e){c.throttleTriggeredAfterMouseMove.cancel();var t={isTooltipActive:!1};c.setState(t),c.triggerSyncEvent(t);var r=c.props.onMouseLeave;l()(r)&&r(t,e)}),ty(c,"handleOuterEvent",function(e){var t,r=(0,k.X_)(e),n=f()(c.props,"".concat(r));r&&l()(n)&&n(null!=(t=/.*touch.*/i.test(r)?c.getMouseInfo(e.changedTouches[0]):c.getMouseInfo(e))?t:{},e)}),ty(c,"handleClick",function(e){var t=c.getMouseInfo(e);if(t){var r=th(th({},t),{},{isTooltipActive:!0});c.setState(r),c.triggerSyncEvent(r);var n=c.props.onClick;l()(n)&&n(r,e)}}),ty(c,"handleMouseDown",function(e){var t=c.props.onMouseDown;l()(t)&&t(c.getMouseInfo(e),e)}),ty(c,"handleMouseUp",function(e){var t=c.props.onMouseUp;l()(t)&&t(c.getMouseInfo(e),e)}),ty(c,"handleTouchMove",function(e){null!=e.changedTouches&&e.changedTouches.length>0&&c.throttleTriggeredAfterMouseMove(e.changedTouches[0])}),ty(c,"handleTouchStart",function(e){null!=e.changedTouches&&e.changedTouches.length>0&&c.handleMouseDown(e.changedTouches[0])}),ty(c,"handleTouchEnd",function(e){null!=e.changedTouches&&e.changedTouches.length>0&&c.handleMouseUp(e.changedTouches[0])}),ty(c,"handleDoubleClick",function(e){var t=c.props.onDoubleClick;l()(t)&&t(c.getMouseInfo(e),e)}),ty(c,"handleContextMenu",function(e){var t=c.props.onContextMenu;l()(t)&&t(c.getMouseInfo(e),e)}),ty(c,"triggerSyncEvent",function(e){void 0!==c.props.syncId&&eH.emit(eq,c.props.syncId,e,c.eventEmitterSymbol)}),ty(c,"applySyncEvent",function(e){var t=c.props,r=t.layout,n=t.syncMethod,o=c.state.updateId,i=e.dataStartIndex,a=e.dataEndIndex;if(void 0!==e.dataStartIndex||void 0!==e.dataEndIndex)c.setState(th({dataStartIndex:i,dataEndIndex:a},S({props:c.props,dataStartIndex:i,dataEndIndex:a,updateId:o},c.state)));else if(void 0!==e.activeTooltipIndex){var l=e.chartX,s=e.chartY,u=e.activeTooltipIndex,f=c.state,p=f.offset,d=f.tooltipTicks;if(!p)return;if("function"==typeof n)u=n(d,e);else if("value"===n){u=-1;for(var h=0;h<d.length;h++)if(d[h].value===e.activeLabel){u=h;break}}var y=th(th({},p),{},{x:p.left,y:p.top}),m=Math.min(l,y.x+y.width),g=Math.min(s,y.y+y.height),v=d[u]&&d[u].value,b=tk(c.state,c.props.data,u),x=d[u]?{x:"horizontal"===r?d[u].coordinate:m,y:"horizontal"===r?g:d[u].coordinate}:tb;c.setState(th(th({},e),{},{activeLabel:v,activeCoordinate:x,activePayload:b,activeTooltipIndex:u}))}else c.setState(e)}),ty(c,"renderCursor",function(e){var r,o=c.state,i=o.isTooltipActive,a=o.activeCoordinate,l=o.activePayload,s=o.offset,u=o.activeTooltipIndex,f=o.tooltipAxisBandSize,p=c.getTooltipEventType(),d=null!=(r=e.props.active)?r:i,h=c.props.layout,y=e.key||"_recharts-cursor";return n.createElement(te,{key:y,activeCoordinate:a,activePayload:l,activeTooltipIndex:u,chartName:t,element:e,isActive:d,layout:h,offset:s,tooltipAxisBandSize:f,tooltipEventType:p})}),ty(c,"renderPolarAxis",function(e,t,r){var o=f()(e,"type.axisType"),i=f()(c.state,"".concat(o,"Map")),a=e.type.defaultProps,l=void 0!==a?th(th({},a),e.props):e.props,s=i&&i[l["".concat(o,"Id")]];return(0,n.cloneElement)(e,th(th({},s),{},{className:(0,m.A)(o,s.className),key:e.key||"".concat(t,"-").concat(r),ticks:(0,j.Rh)(s,!0)}))}),ty(c,"renderPolarGrid",function(e){var t=e.props,r=t.radialLines,o=t.polarAngles,i=t.polarRadius,a=c.state,l=a.radiusAxisMap,s=a.angleAxisMap,u=(0,P.lX)(l),f=(0,P.lX)(s),p=f.cx,d=f.cy,h=f.innerRadius,y=f.outerRadius;return(0,n.cloneElement)(e,{polarAngles:Array.isArray(o)?o:(0,j.Rh)(f,!0).map(function(e){return e.coordinate}),polarRadius:Array.isArray(i)?i:(0,j.Rh)(u,!0).map(function(e){return e.coordinate}),cx:p,cy:d,innerRadius:h,outerRadius:y,key:e.key||"polar-grid",radialLines:r})}),ty(c,"renderLegend",function(){var e=c.state.formattedGraphicalItems,t=c.props,r=t.children,o=t.width,i=t.height,a=c.props.margin||{},l=o-(a.left||0)-(a.right||0),s=(0,X.g)({children:r,formattedGraphicalItems:e,legendWidth:l,legendContent:p});if(!s)return null;var u=s.item,f=ta(s,tt);return(0,n.cloneElement)(u,th(th({},f),{},{chartWidth:o,chartHeight:i,margin:a,onBBoxUpdate:c.handleLegendBBoxUpdate}))}),ty(c,"renderTooltip",function(){var e,t=c.props,r=t.children,o=t.accessibilityLayer,i=(0,k.BU)(r,x.m);if(!i)return null;var a=c.state,l=a.isTooltipActive,s=a.activeCoordinate,u=a.activePayload,f=a.activeLabel,p=a.offset,d=null!=(e=i.props.active)?e:l;return(0,n.cloneElement)(i,{viewBox:th(th({},p),{},{x:p.left,y:p.top}),active:d,label:f,payload:d?u:[],coordinate:s,accessibilityLayer:o})}),ty(c,"renderBrush",function(e){var t=c.props,r=t.margin,o=t.data,i=c.state,a=i.offset,l=i.dataStartIndex,s=i.dataEndIndex,u=i.updateId;return(0,n.cloneElement)(e,{key:e.key||"_recharts-brush",onChange:(0,j.HQ)(c.handleBrushChange,e.props.onChange),data:o,x:(0,P.Et)(e.props.x)?e.props.x:a.left,y:(0,P.Et)(e.props.y)?e.props.y:a.top+a.height+a.brushBottom-(r.bottom||0),width:(0,P.Et)(e.props.width)?e.props.width:a.width,startIndex:l,endIndex:s,updateId:"brush-".concat(u)})}),ty(c,"renderReferenceElement",function(e,t,r){if(!e)return null;var o=c.clipPathId,i=c.state,a=i.xAxisMap,l=i.yAxisMap,s=i.offset,u=e.type.defaultProps||{},f=e.props,p=f.xAxisId,d=void 0===p?u.xAxisId:p,h=f.yAxisId,y=void 0===h?u.yAxisId:h;return(0,n.cloneElement)(e,{key:e.key||"".concat(t,"-").concat(r),xAxis:a[d],yAxis:l[y],viewBox:{x:s.left,y:s.top,width:s.width,height:s.height},clipPathId:o})}),ty(c,"renderActivePoints",function(e){var t=e.item,r=e.activePoint,n=e.basePoint,i=e.childIndex,a=e.isRange,l=[],c=t.props.key,s=void 0!==t.item.type.defaultProps?th(th({},t.item.type.defaultProps),t.item.props):t.item.props,u=s.activeDot,f=th(th({index:i,dataKey:s.dataKey,cx:r.x,cy:r.y,r:4,fill:(0,j.Ps)(t.item),strokeWidth:2,stroke:"#fff",payload:r.payload,value:r.value},(0,k.J9)(u,!1)),(0,eV._U)(u));return l.push(o.renderActiveDot(u,f,"".concat(c,"-activePoint-").concat(i))),n?l.push(o.renderActiveDot(u,th(th({},f),{},{cx:n.x,cy:n.y}),"".concat(c,"-basePoint-").concat(i))):a&&l.push(null),l}),ty(c,"renderGraphicChild",function(e,t,r){var o=c.filterFormatItem(e,t,r);if(!o)return null;var a=c.getTooltipEventType(),l=c.state,s=l.isTooltipActive,u=l.tooltipAxis,f=l.activeTooltipIndex,p=l.activeLabel,d=c.props.children,h=(0,k.BU)(d,x.m),y=o.props,m=y.points,g=y.isRange,v=y.baseLine,b=void 0!==o.item.type.defaultProps?th(th({},o.item.type.defaultProps),o.item.props):o.item.props,w=b.activeDot,O=b.hide,A=b.activeBar,S=b.activeShape,E=!!(!O&&s&&h&&(w||A||S)),T={};"axis"!==a&&h&&"click"===h.props.trigger?T={onClick:(0,j.HQ)(c.handleItemMouseEnter,e.props.onClick)}:"axis"!==a&&(T={onMouseLeave:(0,j.HQ)(c.handleItemMouseLeave,e.props.onMouseLeave),onMouseEnter:(0,j.HQ)(c.handleItemMouseEnter,e.props.onMouseEnter)});var _=(0,n.cloneElement)(e,th(th({},o.props),T));if(E)if(f>=0){if(u.dataKey&&!u.allowDuplicatedCategory){var M="function"==typeof u.dataKey?function(e){return"function"==typeof u.dataKey?u.dataKey(e.payload):null}:"payload.".concat(u.dataKey.toString());I=(0,P.eP)(m,M,p),N=g&&v&&(0,P.eP)(v,M,p)}else I=null==m?void 0:m[f],N=g&&v&&v[f];if(S||A){var C=void 0!==e.props.activeIndex?e.props.activeIndex:f;return[(0,n.cloneElement)(e,th(th(th({},o.props),T),{},{activeIndex:C})),null,null]}if(!i()(I))return[_].concat(tu(c.renderActivePoints({item:o,activePoint:I,basePoint:N,childIndex:f,isRange:g})))}else{var I,N,D,R=(null!=(D=c.getItemByXY(c.state.activeCoordinate))?D:{graphicalItem:_}).graphicalItem,L=R.item,F=void 0===L?e:L,B=R.childIndex,z=th(th(th({},o.props),T),{},{activeIndex:B});return[(0,n.cloneElement)(F,z),null,null]}return g?[_,null,null]:[_,null]}),ty(c,"renderCustomized",function(e,t,r){return(0,n.cloneElement)(e,th(th({key:"recharts-customized-".concat(r)},c.props),c.state))}),ty(c,"renderMap",{CartesianGrid:{handler:tx,once:!0},ReferenceArea:{handler:c.renderReferenceElement},ReferenceLine:{handler:tx},ReferenceDot:{handler:c.renderReferenceElement},XAxis:{handler:tx},YAxis:{handler:tx},Brush:{handler:c.renderBrush,once:!0},Bar:{handler:c.renderGraphicChild},Line:{handler:c.renderGraphicChild},Area:{handler:c.renderGraphicChild},Radar:{handler:c.renderGraphicChild},RadialBar:{handler:c.renderGraphicChild},Scatter:{handler:c.renderGraphicChild},Pie:{handler:c.renderGraphicChild},Funnel:{handler:c.renderGraphicChild},Tooltip:{handler:c.renderCursor,once:!0},PolarGrid:{handler:c.renderPolarGrid,once:!0},PolarAngleAxis:{handler:c.renderPolarAxis},PolarRadiusAxis:{handler:c.renderPolarAxis},Customized:{handler:c.renderCustomized}}),c.clipPathId="".concat(null!=(r=e.id)?r:(0,P.NF)("recharts"),"-clip"),c.throttleTriggeredAfterMouseMove=y()(c.triggeredAfterMouseMove,null!=(a=e.throttleDelay)?a:1e3/60),c.state={},c}if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");return o.prototype=Object.create(e&&e.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),e&&ts(o,e),r=[{key:"componentDidMount",value:function(){var e,t;this.addListener(),this.accessibilityManager.setDetails({container:this.container,offset:{left:null!=(e=this.props.margin.left)?e:0,top:null!=(t=this.props.margin.top)?t:0},coordinateList:this.state.tooltipTicks,mouseHandlerCallback:this.triggeredAfterMouseMove,layout:this.props.layout}),this.displayDefaultTooltip()}},{key:"displayDefaultTooltip",value:function(){var e=this.props,t=e.children,r=e.data,n=e.height,o=e.layout,i=(0,k.BU)(t,x.m);if(i){var a=i.props.defaultIndex;if("number"==typeof a&&!(a<0)&&!(a>this.state.tooltipTicks.length-1)){var l=this.state.tooltipTicks[a]&&this.state.tooltipTicks[a].value,c=tk(this.state,r,a,l),s=this.state.tooltipTicks[a].coordinate,u=(this.state.offset.top+n)/2,f="horizontal"===o?{x:s,y:u}:{y:s,x:u},p=this.state.formattedGraphicalItems.find(function(e){return"Scatter"===e.item.type.name});p&&(f=th(th({},f),p.props.points[a].tooltipPosition),c=p.props.points[a].tooltipPayload);var d={activeTooltipIndex:a,isTooltipActive:!0,activeLabel:l,activePayload:c,activeCoordinate:f};this.setState(d),this.renderCursor(i),this.accessibilityManager.setIndex(a)}}}},{key:"getSnapshotBeforeUpdate",value:function(e,t){if(!this.props.accessibilityLayer)return null;if(this.state.tooltipTicks!==t.tooltipTicks&&this.accessibilityManager.setDetails({coordinateList:this.state.tooltipTicks}),this.props.layout!==e.layout&&this.accessibilityManager.setDetails({layout:this.props.layout}),this.props.margin!==e.margin){var r,n;this.accessibilityManager.setDetails({offset:{left:null!=(r=this.props.margin.left)?r:0,top:null!=(n=this.props.margin.top)?n:0}})}return null}},{key:"componentDidUpdate",value:function(e){(0,k.OV)([(0,k.BU)(e.children,x.m)],[(0,k.BU)(this.props.children,x.m)])||this.displayDefaultTooltip()}},{key:"componentWillUnmount",value:function(){this.removeListener(),this.throttleTriggeredAfterMouseMove.cancel()}},{key:"getTooltipEventType",value:function(){var e=(0,k.BU)(this.props.children,x.m);if(e&&"boolean"==typeof e.props.shared){var t=e.props.shared?"axis":"item";return s.indexOf(t)>=0?t:a}return a}},{key:"getMouseInfo",value:function(e){if(!this.container)return null;var t=this.container,r=t.getBoundingClientRect(),n=(0,K.A3)(r),o={chartX:Math.round(e.pageX-n.left),chartY:Math.round(e.pageY-n.top)},i=r.width/t.offsetWidth||1,a=this.inRange(o.chartX,o.chartY,i);if(!a)return null;var l=this.state,c=l.xAxisMap,s=l.yAxisMap,u=this.getTooltipEventType(),f=tS(this.state,this.props.data,this.props.layout,a);if("axis"!==u&&c&&s){var p=(0,P.lX)(c).scale,d=(0,P.lX)(s).scale,h=p&&p.invert?p.invert(o.chartX):null,y=d&&d.invert?d.invert(o.chartY):null;return th(th({},o),{},{xValue:h,yValue:y},f)}return f?th(th({},o),f):null}},{key:"inRange",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,n=this.props.layout,o=e/r,i=t/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 l=this.state,c=l.angleAxisMap,s=l.radiusAxisMap;if(c&&s){var u=(0,P.lX)(c);return(0,eU.yy)({x:o,y:i},u)}return null}},{key:"parseEventsOfWrapper",value:function(){var e=this.props.children,t=this.getTooltipEventType(),r=(0,k.BU)(e,x.m),n={};return r&&"axis"===t&&(n="click"===r.props.trigger?{onClick:this.handleClick}:{onMouseEnter:this.handleMouseEnter,onDoubleClick:this.handleDoubleClick,onMouseMove:this.handleMouseMove,onMouseLeave:this.handleMouseLeave,onTouchMove:this.handleTouchMove,onTouchStart:this.handleTouchStart,onTouchEnd:this.handleTouchEnd,onContextMenu:this.handleContextMenu}),th(th({},(0,eV._U)(this.props,this.handleOuterEvent)),n)}},{key:"addListener",value:function(){eH.on(eq,this.handleReceiveSyncEvent)}},{key:"removeListener",value:function(){eH.removeListener(eq,this.handleReceiveSyncEvent)}},{key:"filterFormatItem",value:function(e,t,r){for(var n=this.state.formattedGraphicalItems,o=0,i=n.length;o<i;o++){var a=n[o];if(a.item===e||a.props.key===e.key||t===(0,k.Mn)(a.item.type)&&r===a.childIndex)return a}return null}},{key:"renderClipPath",value:function(){var e=this.clipPathId,t=this.state.offset,r=t.left,o=t.top,i=t.height,a=t.width;return n.createElement("defs",null,n.createElement("clipPath",{id:e},n.createElement("rect",{x:r,y:o,height:i,width:a})))}},{key:"getXScales",value:function(){var e=this.state.xAxisMap;return e?Object.entries(e).reduce(function(e,t){var r=ti(t,2),n=r[0],o=r[1];return th(th({},e),{},ty({},n,o.scale))},{}):null}},{key:"getYScales",value:function(){var e=this.state.yAxisMap;return e?Object.entries(e).reduce(function(e,t){var r=ti(t,2),n=r[0],o=r[1];return th(th({},e),{},ty({},n,o.scale))},{}):null}},{key:"getXScaleByAxisId",value:function(e){var t;return null==(t=this.state.xAxisMap)||null==(t=t[e])?void 0:t.scale}},{key:"getYScaleByAxisId",value:function(e){var t;return null==(t=this.state.yAxisMap)||null==(t=t[e])?void 0:t.scale}},{key:"getItemByXY",value:function(e){var t=this.state,r=t.formattedGraphicalItems,n=t.activeItem;if(r&&r.length)for(var o=0,i=r.length;o<i;o++){var a=r[o],l=a.props,c=a.item,s=void 0!==c.type.defaultProps?th(th({},c.type.defaultProps),c.props):c.props,u=(0,k.Mn)(c.type);if("Bar"===u){var f=(l.data||[]).find(function(t){return(0,A.J)(e,t)});if(f)return{graphicalItem:a,payload:f}}else if("RadialBar"===u){var p=(l.data||[]).find(function(t){return(0,eU.yy)(e,t)});if(p)return{graphicalItem:a,payload:p}}else if((0,eJ.NE)(a,n)||(0,eJ.nZ)(a,n)||(0,eJ.xQ)(a,n)){var d=(0,eJ.GG)({graphicalItem:a,activeTooltipItem:n,itemData:s.data}),h=void 0===s.activeIndex?d:s.activeIndex;return{graphicalItem:th(th({},a),{},{childIndex:h}),payload:(0,eJ.xQ)(a,n)?s.data[d]:a.props.data[d]}}}return null}},{key:"render",value:function(){var e,t,r=this;if(!(0,k.Me)(this))return null;var o=this.props,i=o.children,a=o.className,l=o.width,c=o.height,s=o.style,u=o.compact,f=o.title,p=o.desc,d=ta(o,tr),h=(0,k.J9)(d,!1);if(u)return n.createElement(ed.DR,{state:this.state,width:this.props.width,height:this.props.height,clipPathId:this.clipPathId},n.createElement(v.u,to({},h,{width:l,height:c,title:f,desc:p}),this.renderClipPath(),(0,k.ee)(i,this.renderMap)));this.props.accessibilityLayer&&(h.tabIndex=null!=(e=this.props.tabIndex)?e:0,h.role=null!=(t=this.props.role)?t:"application",h.onKeyDown=function(e){r.accessibilityManager.keyboardEvent(e)},h.onFocus=function(){r.accessibilityManager.focus()});var y=this.parseEventsOfWrapper();return n.createElement(ed.DR,{state:this.state,width:this.props.width,height:this.props.height,clipPathId:this.clipPathId},n.createElement("div",to({className:(0,m.A)("recharts-wrapper",a),style:th({position:"relative",cursor:"default",width:l,height:c},s)},y,{ref:function(e){r.container=e}}),n.createElement(v.u,to({},h,{width:l,height:c,title:f,desc:p,style:tv}),this.renderClipPath(),(0,k.ee)(i,this.renderMap)),this.renderLegend(),this.renderTooltip()))}}],function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,tm(n.key),n)}}(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),o}(n.Component);ty(E,"displayName",t),ty(E,"defaultProps",th({layout:"horizontal",stackOffset:"none",barCategoryGap:"10%",barGap:4,margin:{top:5,right:5,bottom:5,left:5},reverseStackOrder:!1,syncMethod:"index"},h)),ty(E,"getDerivedStateFromProps",function(e,t){var r=e.dataKey,n=e.data,o=e.children,a=e.width,l=e.height,c=e.layout,s=e.stackOffset,u=e.margin,f=t.dataStartIndex,p=t.dataEndIndex;if(void 0===t.updateId){var d=t_(e);return th(th(th({},d),{},{updateId:0},S(th(th({props:e},d),{},{updateId:0}),t)),{},{prevDataKey:r,prevData:n,prevWidth:a,prevHeight:l,prevLayout:c,prevStackOffset:s,prevMargin:u,prevChildren:o})}if(r!==t.prevDataKey||n!==t.prevData||a!==t.prevWidth||l!==t.prevHeight||c!==t.prevLayout||s!==t.prevStackOffset||!(0,eW.b)(u,t.prevMargin)){var h=t_(e),y={chartX:t.chartX,chartY:t.chartY,isTooltipActive:t.isTooltipActive},m=th(th({},tS(t,n,c)),{},{updateId:t.updateId+1}),g=th(th(th({},h),y),m);return th(th(th({},g),S(th({props:e},g),t)),{},{prevDataKey:r,prevData:n,prevWidth:a,prevHeight:l,prevLayout:c,prevStackOffset:s,prevMargin:u,prevChildren:o})}if(!(0,k.OV)(o,t.prevChildren)){var v,b,x,w,O=(0,k.BU)(o,V),A=O&&null!=(v=null==(b=O.props)?void 0:b.startIndex)?v:f,E=O&&null!=(x=null==(w=O.props)?void 0:w.endIndex)?x:p,j=i()(n)||A!==f||E!==p?t.updateId+1:t.updateId;return th(th({updateId:j},S(th(th({props:e},t),{},{updateId:j,dataStartIndex:A,dataEndIndex:E}),t)),{},{prevChildren:o,dataStartIndex:A,dataEndIndex:E})}return null}),ty(E,"renderActiveDot",function(e,t,r){var o;return o=(0,n.isValidElement)(e)?(0,n.cloneElement)(e,t):l()(e)?e(t):n.createElement(O.c,t),n.createElement(b.W,{className:"recharts-active-dot",key:r},o)});var T=(0,n.forwardRef)(function(e,t){return n.createElement(E,to({},e,{ref:t}))});return T.displayName=E.displayName,T}},73965:(e,t,r)=>{"use strict";r.d(t,{uB:()=>C});var n=/[\\\/_+.#"@\[\(\{&]/,o=/[\\\/_+.#"@\[\(\{&]/g,i=/[\s-]/,a=/[\s-]/g;function l(e){return e.toLowerCase().replace(a," ")}var c=r(10975),s=r(44213),u=r(37988),f=r(66234),p=r(76066),d='[cmdk-group=""]',h='[cmdk-group-items=""]',y='[cmdk-item=""]',m="".concat(y,':not([aria-disabled="true"])'),g="cmdk-item-select",v="data-value",b=(e,t,r)=>(function(e,t,r){return function e(t,r,l,c,s,u,f){if(u===r.length)return s===t.length?1:.99;var p=`${s},${u}`;if(void 0!==f[p])return f[p];for(var d,h,y,m,g=c.charAt(u),v=l.indexOf(g,s),b=0;v>=0;)(d=e(t,r,l,c,v+1,u+1,f))>b&&(v===s?d*=1:n.test(t.charAt(v-1))?(d*=.8,(y=t.slice(s,v-1).match(o))&&s>0&&(d*=Math.pow(.999,y.length))):i.test(t.charAt(v-1))?(d*=.9,(m=t.slice(s,v-1).match(a))&&s>0&&(d*=Math.pow(.999,m.length))):(d*=.17,s>0&&(d*=Math.pow(.999,v-s))),t.charAt(v)!==r.charAt(u)&&(d*=.9999)),(d<.1&&l.charAt(v-1)===c.charAt(u+1)||c.charAt(u+1)===c.charAt(u)&&l.charAt(v-1)!==c.charAt(u))&&.1*(h=e(t,r,l,c,v+1,u+2,f))>d&&(d=.1*h),d>b&&(b=d),v=l.indexOf(g,v+1);return f[p]=b,b}(e=r&&r.length>0?`${e+" "+r.join(" ")}`:e,t,l(e),l(t),0,0,{})})(e,t,r),x=s.createContext(void 0),w=()=>s.useContext(x),O=s.createContext(void 0),A=()=>s.useContext(O),k=s.createContext(void 0),S=s.forwardRef((e,t)=>{let r=D(()=>{var t,r;return{search:"",value:null!=(r=null!=(t=e.value)?t:e.defaultValue)?r:"",selectedItemId:void 0,filtered:{count:0,items:new Map,groups:new Set}}}),n=D(()=>new Set),o=D(()=>new Map),i=D(()=>new Map),a=D(()=>new Set),l=I(e),{label:c,children:p,value:w,onValueChange:A,filter:k,shouldFilter:S,loop:E,disablePointerSelection:j=!1,vimBindings:P=!0,...T}=e,_=(0,f.B)(),M=(0,f.B)(),C=(0,f.B)(),R=s.useRef(null),L=F();N(()=>{if(void 0!==w){let e=w.trim();r.current.value=e,$.emit()}},[w]),N(()=>{L(6,V)},[]);let $=s.useMemo(()=>({subscribe:e=>(a.current.add(e),()=>a.current.delete(e)),snapshot:()=>r.current,setState:(e,t,n)=>{var o,i,a,c;if(!Object.is(r.current[e],t)){if(r.current[e]=t,"search"===e)q(),G(),L(1,H);else if("value"===e){if(document.activeElement.hasAttribute("cmdk-input")||document.activeElement.hasAttribute("cmdk-root")){let e=document.getElementById(C);e?e.focus():null==(o=document.getElementById(_))||o.focus()}if(L(7,()=>{var e;r.current.selectedItemId=null==(e=K())?void 0:e.id,$.emit()}),n||L(5,V),(null==(i=l.current)?void 0:i.value)!==void 0){null==(c=(a=l.current).onValueChange)||c.call(a,null!=t?t:"");return}}$.emit()}},emit:()=>{a.current.forEach(e=>e())}}),[]),U=s.useMemo(()=>({value:(e,t,n)=>{var o;t!==(null==(o=i.current.get(e))?void 0:o.value)&&(i.current.set(e,{value:t,keywords:n}),r.current.filtered.items.set(e,W(t,n)),L(2,()=>{G(),$.emit()}))},item:(e,t)=>(n.current.add(e),t&&(o.current.has(t)?o.current.get(t).add(e):o.current.set(t,new Set([e]))),L(3,()=>{q(),G(),r.current.value||H(),$.emit()}),()=>{i.current.delete(e),n.current.delete(e),r.current.filtered.items.delete(e);let t=K();L(4,()=>{q(),(null==t?void 0:t.getAttribute("id"))===e&&H(),$.emit()})}),group:e=>(o.current.has(e)||o.current.set(e,new Set),()=>{i.current.delete(e),o.current.delete(e)}),filter:()=>l.current.shouldFilter,label:c||e["aria-label"],getDisablePointerSelection:()=>l.current.disablePointerSelection,listId:_,inputId:C,labelId:M,listInnerRef:R}),[]);function W(e,t){var n,o;let i=null!=(o=null==(n=l.current)?void 0:n.filter)?o:b;return e?i(e,r.current.search,t):0}function G(){if(!r.current.search||!1===l.current.shouldFilter)return;let e=r.current.filtered.items,t=[];r.current.filtered.groups.forEach(r=>{let n=o.current.get(r),i=0;n.forEach(t=>{i=Math.max(e.get(t),i)}),t.push([r,i])});let n=R.current;X().sort((t,r)=>{var n,o;let i=t.getAttribute("id"),a=r.getAttribute("id");return(null!=(n=e.get(a))?n:0)-(null!=(o=e.get(i))?o:0)}).forEach(e=>{let t=e.closest(h);t?t.appendChild(e.parentElement===t?e:e.closest("".concat(h," > *"))):n.appendChild(e.parentElement===n?e:e.closest("".concat(h," > *")))}),t.sort((e,t)=>t[1]-e[1]).forEach(e=>{var t;let r=null==(t=R.current)?void 0:t.querySelector("".concat(d,"[").concat(v,'="').concat(encodeURIComponent(e[0]),'"]'));null==r||r.parentElement.appendChild(r)})}function H(){let e=X().find(e=>"true"!==e.getAttribute("aria-disabled")),t=null==e?void 0:e.getAttribute(v);$.setState("value",t||void 0)}function q(){var e,t,a,c;if(!r.current.search||!1===l.current.shouldFilter){r.current.filtered.count=n.current.size;return}r.current.filtered.groups=new Set;let s=0;for(let o of n.current){let n=W(null!=(t=null==(e=i.current.get(o))?void 0:e.value)?t:"",null!=(c=null==(a=i.current.get(o))?void 0:a.keywords)?c:[]);r.current.filtered.items.set(o,n),n>0&&s++}for(let[e,t]of o.current)for(let n of t)if(r.current.filtered.items.get(n)>0){r.current.filtered.groups.add(e);break}r.current.filtered.count=s}function V(){var e,t,r;let n=K();n&&((null==(e=n.parentElement)?void 0:e.firstChild)===n&&(null==(r=null==(t=n.closest(d))?void 0:t.querySelector('[cmdk-group-heading=""]'))||r.scrollIntoView({block:"nearest"})),n.scrollIntoView({block:"nearest"}))}function K(){var e;return null==(e=R.current)?void 0:e.querySelector("".concat(y,'[aria-selected="true"]'))}function X(){var e;return Array.from((null==(e=R.current)?void 0:e.querySelectorAll(m))||[])}function Z(e){let t=X()[e];t&&$.setState("value",t.getAttribute(v))}function Y(e){var t;let r=K(),n=X(),o=n.findIndex(e=>e===r),i=n[o+e];null!=(t=l.current)&&t.loop&&(i=o+e<0?n[n.length-1]:o+e===n.length?n[0]:n[o+e]),i&&$.setState("value",i.getAttribute(v))}function J(e){let t=K(),r=null==t?void 0:t.closest(d),n;for(;r&&!n;)n=null==(r=e>0?function(e,t){let r=e.nextElementSibling;for(;r;){if(r.matches(t))return r;r=r.nextElementSibling}}(r,d):function(e,t){let r=e.previousElementSibling;for(;r;){if(r.matches(t))return r;r=r.previousElementSibling}}(r,d))?void 0:r.querySelector(m);n?$.setState("value",n.getAttribute(v)):Y(e)}let Q=()=>Z(X().length-1),ee=e=>{e.preventDefault(),e.metaKey?Q():e.altKey?J(1):Y(1)},et=e=>{e.preventDefault(),e.metaKey?Z(0):e.altKey?J(-1):Y(-1)};return s.createElement(u.sG.div,{ref:t,tabIndex:-1,...T,"cmdk-root":"",onKeyDown:e=>{var t;null==(t=T.onKeyDown)||t.call(T,e);let r=e.nativeEvent.isComposing||229===e.keyCode;if(!(e.defaultPrevented||r))switch(e.key){case"n":case"j":P&&e.ctrlKey&&ee(e);break;case"ArrowDown":ee(e);break;case"p":case"k":P&&e.ctrlKey&&et(e);break;case"ArrowUp":et(e);break;case"Home":e.preventDefault(),Z(0);break;case"End":e.preventDefault(),Q();break;case"Enter":{e.preventDefault();let t=K();if(t){let e=new Event(g);t.dispatchEvent(e)}}}}},s.createElement("label",{"cmdk-label":"",htmlFor:U.inputId,id:U.labelId,style:z},c),B(e,e=>s.createElement(O.Provider,{value:$},s.createElement(x.Provider,{value:U},e))))}),E=s.forwardRef((e,t)=>{var r,n;let o=(0,f.B)(),i=s.useRef(null),a=s.useContext(k),l=w(),c=I(e),d=null!=(n=null==(r=c.current)?void 0:r.forceMount)?n:null==a?void 0:a.forceMount;N(()=>{if(!d)return l.item(o,null==a?void 0:a.id)},[d]);let h=L(o,i,[e.value,e.children,i],e.keywords),y=A(),m=R(e=>e.value&&e.value===h.current),v=R(e=>!!d||!1===l.filter()||!e.search||e.filtered.items.get(o)>0);function b(){var e,t;x(),null==(t=(e=c.current).onSelect)||t.call(e,h.current)}function x(){y.setState("value",h.current,!0)}if(s.useEffect(()=>{let t=i.current;if(!(!t||e.disabled))return t.addEventListener(g,b),()=>t.removeEventListener(g,b)},[v,e.onSelect,e.disabled]),!v)return null;let{disabled:O,value:S,onSelect:E,forceMount:j,keywords:P,...T}=e;return s.createElement(u.sG.div,{ref:(0,p.t)(i,t),...T,id:o,"cmdk-item":"",role:"option","aria-disabled":!!O,"aria-selected":!!m,"data-disabled":!!O,"data-selected":!!m,onPointerMove:O||l.getDisablePointerSelection()?void 0:x,onClick:O?void 0:b},e.children)}),j=s.forwardRef((e,t)=>{let{heading:r,children:n,forceMount:o,...i}=e,a=(0,f.B)(),l=s.useRef(null),c=s.useRef(null),d=(0,f.B)(),h=w(),y=R(e=>!!o||!1===h.filter()||!e.search||e.filtered.groups.has(a));N(()=>h.group(a),[]),L(a,l,[e.value,e.heading,c]);let m=s.useMemo(()=>({id:a,forceMount:o}),[o]);return s.createElement(u.sG.div,{ref:(0,p.t)(l,t),...i,"cmdk-group":"",role:"presentation",hidden:!y||void 0},r&&s.createElement("div",{ref:c,"cmdk-group-heading":"","aria-hidden":!0,id:d},r),B(e,e=>s.createElement("div",{"cmdk-group-items":"",role:"group","aria-labelledby":r?d:void 0},s.createElement(k.Provider,{value:m},e))))}),P=s.forwardRef((e,t)=>{let{alwaysRender:r,...n}=e,o=s.useRef(null),i=R(e=>!e.search);return r||i?s.createElement(u.sG.div,{ref:(0,p.t)(o,t),...n,"cmdk-separator":"",role:"separator"}):null}),T=s.forwardRef((e,t)=>{let{onValueChange:r,...n}=e,o=null!=e.value,i=A(),a=R(e=>e.search),l=R(e=>e.selectedItemId),c=w();return s.useEffect(()=>{null!=e.value&&i.setState("search",e.value)},[e.value]),s.createElement(u.sG.input,{ref:t,...n,"cmdk-input":"",autoComplete:"off",autoCorrect:"off",spellCheck:!1,"aria-autocomplete":"list",role:"combobox","aria-expanded":!0,"aria-controls":c.listId,"aria-labelledby":c.labelId,"aria-activedescendant":l,id:c.inputId,type:"text",value:o?e.value:a,onChange:e=>{o||i.setState("search",e.target.value),null==r||r(e.target.value)}})}),_=s.forwardRef((e,t)=>{let{children:r,label:n="Suggestions",...o}=e,i=s.useRef(null),a=s.useRef(null),l=R(e=>e.selectedItemId),c=w();return s.useEffect(()=>{if(a.current&&i.current){let e=a.current,t=i.current,r,n=new ResizeObserver(()=>{r=requestAnimationFrame(()=>{let r=e.offsetHeight;t.style.setProperty("--cmdk-list-height",r.toFixed(1)+"px")})});return n.observe(e),()=>{cancelAnimationFrame(r),n.unobserve(e)}}},[]),s.createElement(u.sG.div,{ref:(0,p.t)(i,t),...o,"cmdk-list":"",role:"listbox",tabIndex:-1,"aria-activedescendant":l,"aria-label":n,id:c.listId},B(e,e=>s.createElement("div",{ref:(0,p.t)(a,c.listInnerRef),"cmdk-list-sizer":""},e)))}),M=s.forwardRef((e,t)=>{let{open:r,onOpenChange:n,overlayClassName:o,contentClassName:i,container:a,...l}=e;return s.createElement(c.bL,{open:r,onOpenChange:n},s.createElement(c.ZL,{container:a},s.createElement(c.hJ,{"cmdk-overlay":"",className:o}),s.createElement(c.UC,{"aria-label":e.label,"cmdk-dialog":"",className:i},s.createElement(S,{ref:t,...l}))))}),C=Object.assign(S,{List:_,Item:E,Input:T,Group:j,Separator:P,Dialog:M,Empty:s.forwardRef((e,t)=>R(e=>0===e.filtered.count)?s.createElement(u.sG.div,{ref:t,...e,"cmdk-empty":"",role:"presentation"}):null),Loading:s.forwardRef((e,t)=>{let{progress:r,children:n,label:o="Loading...",...i}=e;return s.createElement(u.sG.div,{ref:t,...i,"cmdk-loading":"",role:"progressbar","aria-valuenow":r,"aria-valuemin":0,"aria-valuemax":100,"aria-label":o},B(e,e=>s.createElement("div",{"aria-hidden":!0},e)))})});function I(e){let t=s.useRef(e);return N(()=>{t.current=e}),t}var N="undefined"==typeof window?s.useEffect:s.useLayoutEffect;function D(e){let t=s.useRef();return void 0===t.current&&(t.current=e()),t}function R(e){let t=A(),r=()=>e(t.snapshot());return s.useSyncExternalStore(t.subscribe,r,r)}function L(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],o=s.useRef(),i=w();return N(()=>{var a;let l=(()=>{var e;for(let t of r){if("string"==typeof t)return t.trim();if("object"==typeof t&&"current"in t)return t.current?null==(e=t.current.textContent)?void 0:e.trim():o.current}})(),c=n.map(e=>e.trim());i.value(e,l,c),null==(a=t.current)||a.setAttribute(v,l),o.current=l}),o}var F=()=>{let[e,t]=s.useState(),r=D(()=>new Map);return N(()=>{r.current.forEach(e=>e()),r.current=new Map},[e]),(e,n)=>{r.current.set(e,n),t({})}};function B(e,t){let r,{asChild:n,children:o}=e;return n&&s.isValidElement(o)?s.cloneElement("function"==typeof(r=o.type)?r(o.props):"render"in r?r.render(o.props):o,{ref:o.ref},t(o.props.children)):t(o)}var z={position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0"}},74419:(e,t,r)=>{var n=r(39710),o=r(87940),i=r(92984),a=r(7206);e.exports=function(e){return function(t){var r=o(t=a(t))?i(t):void 0,l=r?r[0]:t.charAt(0),c=r?n(r,1).join(""):t.slice(1);return l[e]()+c}}},74813:(e,t,r)=>{var n=r(88777),o=r(39530),i=r(25774),a=Math.max,l=Math.min;e.exports=function(e,t,r){var c,s,u,f,p,d,h=0,y=!1,m=!1,g=!0;if("function"!=typeof e)throw TypeError("Expected a function");function v(t){var r=c,n=s;return c=s=void 0,h=t,f=e.apply(n,r)}function b(e){var r=e-d,n=e-h;return void 0===d||r>=t||r<0||m&&n>=u}function x(){var e,r,n,i=o();if(b(i))return w(i);p=setTimeout(x,(e=i-d,r=i-h,n=t-e,m?l(n,u-r):n))}function w(e){return(p=void 0,g&&c)?v(e):(c=s=void 0,f)}function O(){var e,r=o(),n=b(r);if(c=arguments,s=this,d=r,n){if(void 0===p)return h=e=d,p=setTimeout(x,t),y?v(e):f;if(m)return clearTimeout(p),p=setTimeout(x,t),v(d)}return void 0===p&&(p=setTimeout(x,t)),f}return t=i(t)||0,n(r)&&(y=!!r.leading,u=(m="maxWait"in r)?a(i(r.maxWait)||0,t):u,g="trailing"in r?!!r.trailing:g),O.cancel=function(){void 0!==p&&clearTimeout(p),h=0,c=d=s=p=void 0},O.flush=function(){return void 0===p?f:w(o())},O}},75501:e=>{e.exports=function(e,t){return e.has(t)}},75642:(e,t,r)=>{"use strict";r.d(t,{I:()=>V});var n=r(44213);function o(){}function i(e,t,r){e._context.bezierCurveTo((2*e._x0+e._x1)/3,(2*e._y0+e._y1)/3,(e._x0+2*e._x1)/3,(e._y0+2*e._y1)/3,(e._x0+4*e._x1+t)/6,(e._y0+4*e._y1+r)/6)}function a(e){this._context=e}function l(e){this._context=e}function c(e){this._context=e}a.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:i(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e*=1,t*=1,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:i(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},l.prototype={areaStart:o,areaEnd:o,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(e,t){switch(e*=1,t*=1,this._point){case 0:this._point=1,this._x2=e,this._y2=t;break;case 1:this._point=2,this._x3=e,this._y3=t;break;case 2:this._point=3,this._x4=e,this._y4=t,this._context.moveTo((this._x0+4*this._x1+e)/6,(this._y0+4*this._y1+t)/6);break;default:i(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},c.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e*=1,t*=1,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var r=(this._x0+4*this._x1+e)/6,n=(this._y0+4*this._y1+t)/6;this._line?this._context.lineTo(r,n):this._context.moveTo(r,n);break;case 3:this._point=4;default:i(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};class s{constructor(e,t){this._context=e,this._x=t}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line}point(e,t){switch(e*=1,t*=1,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._x?this._context.bezierCurveTo(this._x0=(this._x0+e)/2,this._y0,this._x0,t,e,t):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+t)/2,e,this._y0,e,t)}this._x0=e,this._y0=t}}function u(e){this._context=e}function f(e){this._context=e}function p(e){return new f(e)}u.prototype={areaStart:o,areaEnd:o,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(e,t){e*=1,t*=1,this._point?this._context.lineTo(e,t):(this._point=1,this._context.moveTo(e,t))}};function d(e,t,r){var n=e._x1-e._x0,o=t-e._x1,i=(e._y1-e._y0)/(n||o<0&&-0),a=(r-e._y1)/(o||n<0&&-0);return((i<0?-1:1)+(a<0?-1:1))*Math.min(Math.abs(i),Math.abs(a),.5*Math.abs((i*o+a*n)/(n+o)))||0}function h(e,t){var r=e._x1-e._x0;return r?(3*(e._y1-e._y0)/r-t)/2:t}function y(e,t,r){var n=e._x0,o=e._y0,i=e._x1,a=e._y1,l=(i-n)/3;e._context.bezierCurveTo(n+l,o+l*t,i-l,a-l*r,i,a)}function m(e){this._context=e}function g(e){this._context=new v(e)}function v(e){this._context=e}function b(e){this._context=e}function x(e){var t,r,n=e.length-1,o=Array(n),i=Array(n),a=Array(n);for(o[0]=0,i[0]=2,a[0]=e[0]+2*e[1],t=1;t<n-1;++t)o[t]=1,i[t]=4,a[t]=4*e[t]+2*e[t+1];for(o[n-1]=2,i[n-1]=7,a[n-1]=8*e[n-1]+e[n],t=1;t<n;++t)r=o[t]/i[t-1],i[t]-=r,a[t]-=r*a[t-1];for(o[n-1]=a[n-1]/i[n-1],t=n-2;t>=0;--t)o[t]=(a[t]-o[t+1])/i[t];for(t=0,i[n-1]=(e[n]+o[n-1])/2;t<n-1;++t)i[t]=2*e[t+1]-o[t+1];return[o,i]}function w(e,t){this._context=e,this._t=t}f.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e*=1,t*=1,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._context.lineTo(e,t)}}},m.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:y(this,this._t0,h(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){var r=NaN;if(t*=1,(e*=1)!==this._x1||t!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,y(this,h(this,r=d(this,e,t)),r);break;default:y(this,this._t0,r=d(this,e,t))}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t,this._t0=r}}},(g.prototype=Object.create(m.prototype)).point=function(e,t){m.prototype.point.call(this,t,e)},v.prototype={moveTo:function(e,t){this._context.moveTo(t,e)},closePath:function(){this._context.closePath()},lineTo:function(e,t){this._context.lineTo(t,e)},bezierCurveTo:function(e,t,r,n,o,i){this._context.bezierCurveTo(t,e,n,r,i,o)}},b.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var e=this._x,t=this._y,r=e.length;if(r)if(this._line?this._context.lineTo(e[0],t[0]):this._context.moveTo(e[0],t[0]),2===r)this._context.lineTo(e[1],t[1]);else for(var n=x(e),o=x(t),i=0,a=1;a<r;++i,++a)this._context.bezierCurveTo(n[0][i],o[0][i],n[1][i],o[1][i],e[a],t[a]);(this._line||0!==this._line&&1===r)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(e,t){this._x.push(+e),this._y.push(+t)}},w.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&2===this._point&&this._context.lineTo(this._x,this._y),(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(e,t){switch(e*=1,t*=1,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t);else{var r=this._x*(1-this._t)+e*this._t;this._context.lineTo(r,this._y),this._context.lineTo(r,t)}}this._x=e,this._y=t}};var O=r(62365),A=r(75928),k=r(96780);function S(e){return e[0]}function E(e){return e[1]}function j(e,t){var r=(0,A.A)(!0),n=null,o=p,i=null,a=(0,k.i)(l);function l(l){var c,s,u,f=(l=(0,O.A)(l)).length,p=!1;for(null==n&&(i=o(u=a())),c=0;c<=f;++c)!(c<f&&r(s=l[c],c,l))===p&&((p=!p)?i.lineStart():i.lineEnd()),p&&i.point(+e(s,c,l),+t(s,c,l));if(u)return i=null,u+""||null}return e="function"==typeof e?e:void 0===e?S:(0,A.A)(e),t="function"==typeof t?t:void 0===t?E:(0,A.A)(t),l.x=function(t){return arguments.length?(e="function"==typeof t?t:(0,A.A)(+t),l):e},l.y=function(e){return arguments.length?(t="function"==typeof e?e:(0,A.A)(+e),l):t},l.defined=function(e){return arguments.length?(r="function"==typeof e?e:(0,A.A)(!!e),l):r},l.curve=function(e){return arguments.length?(o=e,null!=n&&(i=o(n)),l):o},l.context=function(e){return arguments.length?(null==e?n=i=null:i=o(n=e),l):n},l}function P(e,t,r){var n=null,o=(0,A.A)(!0),i=null,a=p,l=null,c=(0,k.i)(s);function s(s){var u,f,p,d,h,y=(s=(0,O.A)(s)).length,m=!1,g=Array(y),v=Array(y);for(null==i&&(l=a(h=c())),u=0;u<=y;++u){if(!(u<y&&o(d=s[u],u,s))===m)if(m=!m)f=u,l.areaStart(),l.lineStart();else{for(l.lineEnd(),l.lineStart(),p=u-1;p>=f;--p)l.point(g[p],v[p]);l.lineEnd(),l.areaEnd()}m&&(g[u]=+e(d,u,s),v[u]=+t(d,u,s),l.point(n?+n(d,u,s):g[u],r?+r(d,u,s):v[u]))}if(h)return l=null,h+""||null}function u(){return j().defined(o).curve(a).context(i)}return e="function"==typeof e?e:void 0===e?S:(0,A.A)(+e),t="function"==typeof t?t:void 0===t?(0,A.A)(0):(0,A.A)(+t),r="function"==typeof r?r:void 0===r?E:(0,A.A)(+r),s.x=function(t){return arguments.length?(e="function"==typeof t?t:(0,A.A)(+t),n=null,s):e},s.x0=function(t){return arguments.length?(e="function"==typeof t?t:(0,A.A)(+t),s):e},s.x1=function(e){return arguments.length?(n=null==e?null:"function"==typeof e?e:(0,A.A)(+e),s):n},s.y=function(e){return arguments.length?(t="function"==typeof e?e:(0,A.A)(+e),r=null,s):t},s.y0=function(e){return arguments.length?(t="function"==typeof e?e:(0,A.A)(+e),s):t},s.y1=function(e){return arguments.length?(r=null==e?null:"function"==typeof e?e:(0,A.A)(+e),s):r},s.lineX0=s.lineY0=function(){return u().x(e).y(t)},s.lineY1=function(){return u().x(e).y(r)},s.lineX1=function(){return u().x(n).y(t)},s.defined=function(e){return arguments.length?(o="function"==typeof e?e:(0,A.A)(!!e),s):o},s.curve=function(e){return arguments.length?(a=e,null!=i&&(l=a(i)),s):a},s.context=function(e){return arguments.length?(null==e?i=l=null:l=a(i=e),s):i},s}var T=r(56840),_=r.n(T),M=r(8898),C=r.n(M),I=r(73138),N=r(285),D=r(36404),R=r(20681);function L(e){return(L="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function F(){return(F=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function B(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function z(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?B(Object(r),!0).forEach(function(t){var n,o,i;n=e,o=t,i=r[t],(o=function(e){var t=function(e,t){if("object"!=L(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=L(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==L(t)?t:t+""}(o))in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):B(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var $={curveBasisClosed:function(e){return new l(e)},curveBasisOpen:function(e){return new c(e)},curveBasis:function(e){return new a(e)},curveBumpX:function(e){return new s(e,!0)},curveBumpY:function(e){return new s(e,!1)},curveLinearClosed:function(e){return new u(e)},curveLinear:p,curveMonotoneX:function(e){return new m(e)},curveMonotoneY:function(e){return new g(e)},curveNatural:function(e){return new b(e)},curveStep:function(e){return new w(e,.5)},curveStepAfter:function(e){return new w(e,1)},curveStepBefore:function(e){return new w(e,0)}},U=function(e){return e.x===+e.x&&e.y===+e.y},W=function(e){return e.x},G=function(e){return e.y},H=function(e,t){if(C()(e))return e;var r="curve".concat(_()(e));return("curveMonotone"===r||"curveBump"===r)&&t?$["".concat(r).concat("vertical"===t?"Y":"X")]:$[r]||p},q=function(e){var t,r=e.type,n=e.points,o=void 0===n?[]:n,i=e.baseLine,a=e.layout,l=e.connectNulls,c=void 0!==l&&l,s=H(void 0===r?"linear":r,a),u=c?o.filter(function(e){return U(e)}):o;if(Array.isArray(i)){var f=c?i.filter(function(e){return U(e)}):i,p=u.map(function(e,t){return z(z({},e),{},{base:f[t]})});return(t="vertical"===a?P().y(G).x1(W).x0(function(e){return e.base.x}):P().x(W).y1(G).y0(function(e){return e.base.y})).defined(U).curve(s),t(p)}return(t="vertical"===a&&(0,R.Et)(i)?P().y(G).x1(W).x0(i):(0,R.Et)(i)?P().x(W).y1(G).y0(i):j().x(W).y(G)).defined(U).curve(s),t(u)},V=function(e){var t=e.className,r=e.points,o=e.path,i=e.pathRef;if((!r||!r.length)&&!o)return null;var a=r&&r.length?q(e):o;return n.createElement("path",F({},(0,D.J9)(e,!1),(0,N._U)(e),{className:(0,I.A)("recharts-curve",t),d:a,ref:i}))}},75724:(e,t,r)=>{var n=r(90665),o=r(9797),i=r(71120);e.exports=function(e){return e&&e.length?n(e,i,o):void 0}},75928:(e,t,r)=>{"use strict";function n(e){return function(){return e}}r.d(t,{A:()=>n})},76066:(e,t,r)=>{"use strict";r.d(t,{s:()=>c,t:()=>l});var n=r(44213),o=Object.defineProperty,i=(e,t)=>o(e,"name",{value:t,configurable:!0});function a(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function l(...e){return t=>{let r=!1,n=e.map(e=>{let n=a(e,t);return r||"function"!=typeof n||(r=!0),n});if(r)return()=>{for(let t=0;t<n.length;t++){let r=n[t];"function"==typeof r?r():a(e[t],null)}}}}function c(...e){return n.useCallback(l(...e),e)}i(a,"setRef"),i(l,"composeRefs"),i(c,"useComposedRefs")},76181:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(91485).A)("circle-alert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]])},76307:(e,t,r)=>{"use strict";r.d(t,{R:()=>n});var n=function(e,t){for(var r=arguments.length,n=Array(r>2?r-2:0),o=2;o<r;o++)n[o-2]=arguments[o]}},77241:(e,t,r)=>{"use strict";r.d(t,{E:()=>c});var n=r(73748),o=r(27835),i=r(82121),a=r(64030),l=r(34767),c=(0,n.gu)({chartName:"BarChart",GraphicalChild:o.y,defaultTooltipEventType:"axis",validateTooltipEventTypes:["axis","item"],axisComponents:[{axisType:"xAxis",AxisComp:i.W},{axisType:"yAxis",AxisComp:a.h}],formatAxisMap:l.pr})},77551:e=>{var t=Object.prototype;e.exports=function(e){var r=e&&e.constructor;return e===("function"==typeof r&&r.prototype||t)}},78082:(e,t,r)=>{var n=r(25591);e.exports=function(){this.__data__=new n,this.size=0}},78274:(e,t,r)=>{e.exports=r(52811).Uint8Array},78400:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(91485).A)("sun",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]])},78727:(e,t,r)=>{var n=r(80060);e.exports=function(e,t){return function(r,o){if(null==r)return r;if(!n(r))return e(r,o);for(var i=r.length,a=t?i:-1,l=Object(r);(t?a--:++a<i)&&!1!==o(l[a],a,l););return r}}},79118:(e,t,r)=>{var n=r(77551),o=r(67828),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!n(e))return o(e);var t=[];for(var r in Object(e))i.call(e,r)&&"constructor"!=r&&t.push(r);return t}},79164:(e,t,r)=>{"use strict";r.d(t,{W:()=>c});var n=r(44213),o=r(73138),i=r(36404),a=["children","className"];function l(){return(l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var c=n.forwardRef(function(e,t){var r=e.children,c=e.className,s=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,a),u=(0,o.A)("recharts-layer",c);return n.createElement("g",l({className:u},(0,i.J9)(s,!0),{ref:t}),r)})},79251:e=>{var t=Math.ceil,r=Math.max;e.exports=function(e,n,o,i){for(var a=-1,l=r(t((n-e)/(o||1)),0),c=Array(l);l--;)c[i?l:++a]=e,e+=o;return c}},80014:(e,t,r)=>{"use strict";r.d(t,{N:()=>R});var n=r(44213),o=r(1687),i=r(8898),a=r.n(i),l=r(6513),c=r.n(l),s=r(57874),u=r.n(s),f=r(73138),p=r(75642),d=r(11220),h=r(79164),y=r(56415),m=r(35083),g=r(20681),v=r(36404),b=r(98363),x=r(35223),w=["type","layout","connectNulls","ref"],O=["key"];function A(e){return(A="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function k(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function S(){return(S=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function E(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function j(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?E(Object(r),!0).forEach(function(t){N(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):E(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function P(e){return function(e){if(Array.isArray(e))return T(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return T(e,void 0);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return T(e,t)}}(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function T(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function _(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,D(n.key),n)}}function M(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(M=function(){return!!e})()}function C(e){return(C=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function I(e,t){return(I=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function N(e,t,r){return(t=D(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function D(e){var t=function(e,t){if("object"!=A(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=A(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==A(t)?t:t+""}var R=function(e){var t,r;function i(){var e,t,r;if(!(this instanceof i))throw TypeError("Cannot call a class as a function");for(var n=arguments.length,o=Array(n),a=0;a<n;a++)o[a]=arguments[a];return t=i,r=[].concat(o),t=C(t),N(e=function(e,t){if(t&&("object"===A(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");var r=e;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,M()?Reflect.construct(t,r||[],C(this).constructor):t.apply(this,r)),"state",{isAnimationFinished:!0,totalLength:0}),N(e,"generateSimpleStrokeDasharray",function(e,t){return"".concat(t,"px ").concat(e-t,"px")}),N(e,"getStrokeDasharray",function(t,r,n){var o=n.reduce(function(e,t){return e+t});if(!o)return e.generateSimpleStrokeDasharray(r,t);for(var a=Math.floor(t/o),l=t%o,c=r-t,s=[],u=0,f=0;u<n.length;f+=n[u],++u)if(f+n[u]>l){s=[].concat(P(n.slice(0,u)),[l-f]);break}var p=s.length%2==0?[0,c]:[c];return[].concat(P(i.repeat(n,a)),P(s),p).map(function(e){return"".concat(e,"px")}).join(", ")}),N(e,"id",(0,g.NF)("recharts-line-")),N(e,"pathRef",function(t){e.mainCurve=t}),N(e,"handleAnimationEnd",function(){e.setState({isAnimationFinished:!0}),e.props.onAnimationEnd&&e.props.onAnimationEnd()}),N(e,"handleAnimationStart",function(){e.setState({isAnimationFinished:!1}),e.props.onAnimationStart&&e.props.onAnimationStart()}),e}if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");return i.prototype=Object.create(e&&e.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),e&&I(i,e),t=[{key:"componentDidMount",value:function(){if(this.props.isAnimationActive){var e=this.getTotalLength();this.setState({totalLength:e})}}},{key:"componentDidUpdate",value:function(){if(this.props.isAnimationActive){var e=this.getTotalLength();e!==this.state.totalLength&&this.setState({totalLength:e})}}},{key:"getTotalLength",value:function(){var e=this.mainCurve;try{return e&&e.getTotalLength&&e.getTotalLength()||0}catch(e){return 0}}},{key:"renderErrorBar",value:function(e,t){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var r=this.props,o=r.points,i=r.xAxis,a=r.yAxis,l=r.layout,c=r.children,s=(0,v.aS)(c,m.u);if(!s)return null;var u=function(e,t){return{x:e.x,y:e.y,value:e.value,errorVal:(0,x.kr)(e.payload,t)}};return n.createElement(h.W,{clipPath:e?"url(#clipPath-".concat(t,")"):null},s.map(function(e){return n.cloneElement(e,{key:"bar-".concat(e.props.dataKey),data:o,xAxis:i,yAxis:a,layout:l,dataPointFormatter:u})}))}},{key:"renderDots",value:function(e,t,r){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var o=this.props,a=o.dot,l=o.points,c=o.dataKey,s=(0,v.J9)(this.props,!1),u=(0,v.J9)(a,!0),f=l.map(function(e,t){var r=j(j(j({key:"dot-".concat(t),r:3},s),u),{},{index:t,cx:e.x,cy:e.y,value:e.value,dataKey:c,payload:e.payload,points:l});return i.renderDotItem(a,r)}),p={clipPath:e?"url(#clipPath-".concat(t?"":"dots-").concat(r,")"):null};return n.createElement(h.W,S({className:"recharts-line-dots",key:"dots"},p),f)}},{key:"renderCurveStatically",value:function(e,t,r,o){var i=this.props,a=i.type,l=i.layout,c=i.connectNulls,s=(i.ref,k(i,w)),u=j(j(j({},(0,v.J9)(s,!0)),{},{fill:"none",className:"recharts-line-curve",clipPath:t?"url(#clipPath-".concat(r,")"):null,points:e},o),{},{type:a,layout:l,connectNulls:c});return n.createElement(p.I,S({},u,{pathRef:this.pathRef}))}},{key:"renderCurveWithAnimation",value:function(e,t){var r=this,i=this.props,a=i.points,l=i.strokeDasharray,c=i.isAnimationActive,s=i.animationBegin,u=i.animationDuration,f=i.animationEasing,p=i.animationId,d=i.animateNewValues,h=i.width,y=i.height,m=this.state,v=m.prevPoints,b=m.totalLength;return n.createElement(o.Ay,{begin:s,duration:u,isActive:c,easing:f,from:{t:0},to:{t:1},key:"line-".concat(p),onAnimationEnd:this.handleAnimationEnd,onAnimationStart:this.handleAnimationStart},function(n){var o,i=n.t;if(v){var c=v.length/a.length,s=a.map(function(e,t){var r=Math.floor(t*c);if(v[r]){var n=v[r],o=(0,g.Dj)(n.x,e.x),a=(0,g.Dj)(n.y,e.y);return j(j({},e),{},{x:o(i),y:a(i)})}if(d){var l=(0,g.Dj)(2*h,e.x),s=(0,g.Dj)(y/2,e.y);return j(j({},e),{},{x:l(i),y:s(i)})}return j(j({},e),{},{x:e.x,y:e.y})});return r.renderCurveStatically(s,e,t)}var u=(0,g.Dj)(0,b)(i);if(l){var f="".concat(l).split(/[,\s]+/gim).map(function(e){return parseFloat(e)});o=r.getStrokeDasharray(u,b,f)}else o=r.generateSimpleStrokeDasharray(b,u);return r.renderCurveStatically(a,e,t,{strokeDasharray:o})})}},{key:"renderCurve",value:function(e,t){var r=this.props,n=r.points,o=r.isAnimationActive,i=this.state,a=i.prevPoints,l=i.totalLength;return o&&n&&n.length&&(!a&&l>0||!u()(a,n))?this.renderCurveWithAnimation(e,t):this.renderCurveStatically(n,e,t)}},{key:"render",value:function(){var e,t=this.props,r=t.hide,o=t.dot,i=t.points,a=t.className,l=t.xAxis,s=t.yAxis,u=t.top,p=t.left,d=t.width,m=t.height,g=t.isAnimationActive,b=t.id;if(r||!i||!i.length)return null;var x=this.state.isAnimationFinished,w=1===i.length,O=(0,f.A)("recharts-line",a),A=l&&l.allowDataOverflow,k=s&&s.allowDataOverflow,S=A||k,E=c()(b)?this.id:b,j=null!=(e=(0,v.J9)(o,!1))?e:{r:3,strokeWidth:2},P=j.r,T=j.strokeWidth,_=((0,v.sT)(o)?o:{}).clipDot,M=void 0===_||_,C=2*(void 0===P?3:P)+(void 0===T?2:T);return n.createElement(h.W,{className:O},A||k?n.createElement("defs",null,n.createElement("clipPath",{id:"clipPath-".concat(E)},n.createElement("rect",{x:A?p:p-d/2,y:k?u:u-m/2,width:A?d:2*d,height:k?m:2*m})),!M&&n.createElement("clipPath",{id:"clipPath-dots-".concat(E)},n.createElement("rect",{x:p-C/2,y:u-C/2,width:d+C,height:m+C}))):null,!w&&this.renderCurve(S,E),this.renderErrorBar(S,E),(w||o)&&this.renderDots(S,M,E),(!g||x)&&y.Z.renderCallByParent(this.props,i))}}],r=[{key:"getDerivedStateFromProps",value:function(e,t){return e.animationId!==t.prevAnimationId?{prevAnimationId:e.animationId,curPoints:e.points,prevPoints:t.curPoints}:e.points!==t.curPoints?{curPoints:e.points}:null}},{key:"repeat",value:function(e,t){for(var r=e.length%2!=0?[].concat(P(e),[0]):e,n=[],o=0;o<t;++o)n=[].concat(P(n),P(r));return n}},{key:"renderDotItem",value:function(e,t){var r;if(n.isValidElement(e))r=n.cloneElement(e,t);else if(a()(e))r=e(t);else{var o=t.key,i=k(t,O),l=(0,f.A)("recharts-line-dot","boolean"!=typeof e?e.className:"");r=n.createElement(d.c,S({key:o},i,{className:l}))}return r}}],t&&_(i.prototype,t),r&&_(i,r),Object.defineProperty(i,"prototype",{writable:!1}),i}(n.PureComponent);N(R,"displayName","Line"),N(R,"defaultProps",{xAxisId:0,yAxisId:0,connectNulls:!1,activeDot:!0,dot:!0,legendType:"line",stroke:"#3182bd",strokeWidth:1,fill:"#fff",points:[],isAnimationActive:!b.m.isSsr,animateNewValues:!0,animationBegin:0,animationDuration:1500,animationEasing:"ease",hide:!1,label:!1}),N(R,"getComposedData",function(e){var t=e.props,r=e.xAxis,n=e.yAxis,o=e.xAxisTicks,i=e.yAxisTicks,a=e.dataKey,l=e.bandSize,s=e.displayedData,u=e.offset,f=t.layout;return j({points:s.map(function(e,t){var s=(0,x.kr)(e,a);return"horizontal"===f?{x:(0,x.nb)({axis:r,ticks:o,bandSize:l,entry:e,index:t}),y:c()(s)?null:n.scale(s),value:s,payload:e}:{x:c()(s)?null:r.scale(s),y:(0,x.nb)({axis:n,ticks:i,bandSize:l,entry:e,index:t}),value:s,payload:e}}),layout:f},u)})},80060:(e,t,r)=>{var n=r(8898),o=r(65014);e.exports=function(e){return null!=e&&o(e.length)&&!n(e)}},80129:(e,t,r)=>{var n=r(29366);e.exports=function(){try{var e=n(Object,"defineProperty");return e({},"",{}),e}catch(e){}}()},80285:(e,t)=>{"use strict";var r=Symbol.for("react.element"),n=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),c=Symbol.for("react.context"),s=Symbol.for("react.server_context"),u=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),h=Symbol.for("react.lazy");Symbol.for("react.offscreen");Symbol.for("react.module.reference"),t.isFragment=function(e){return function(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case o:case a:case i:case f:case p:return e;default:switch(e=e&&e.$$typeof){case s:case c:case u:case h:case d:case l:return e;default:return t}}case n:return t}}}(e)===o}},80321:e=>{e.exports=function(e,t){return null!=e&&t in Object(e)}},80568:e=>{e.exports=function(e,t){return e===t||e!=e&&t!=t}},80771:e=>{e.exports=function(e,t){return function(r){return e(t(r))}}},81264:e=>{e.exports=function(e){return e.split("")}},81529:(e,t,r)=>{var n=r(80321),o=r(73030);e.exports=function(e,t){return null!=e&&o(e,t,n)}},82121:(e,t,r)=>{"use strict";r.d(t,{W:()=>m});var n=r(44213),o=r(73138),i=r(42506),a=r(22079),l=r(35223);function c(e){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function s(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(s=function(){return!!e})()}function u(e){return(u=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function f(e,t){return(f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function p(e,t,r){return(t=d(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function d(e){var t=function(e,t){if("object"!=c(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=c(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==c(t)?t:t+""}function h(){return(h=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function y(e){var t=e.xAxisId,r=(0,i.yi)(),c=(0,i.rY)(),s=(0,i.AF)(t);return null==s?null:n.createElement(a.u,h({},s,{className:(0,o.A)("recharts-".concat(s.axisType," ").concat(s.axisType),s.className),viewBox:{x:0,y:0,width:r,height:c},ticksGenerator:function(e){return(0,l.Rh)(e,!0)}}))}var m=function(e){var t;function r(){var e,t;if(!(this instanceof r))throw TypeError("Cannot call a class as a function");return e=r,t=arguments,e=u(e),function(e,t){if(t&&("object"===c(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");var r=e;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,s()?Reflect.construct(e,t||[],u(this).constructor):e.apply(this,t))}if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");return r.prototype=Object.create(e&&e.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),e&&f(r,e),t=[{key:"render",value:function(){return n.createElement(y,this.props)}}],function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,d(n.key),n)}}(r.prototype,t),Object.defineProperty(r,"prototype",{writable:!1}),r}(n.Component);p(m,"displayName","XAxis"),p(m,"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})},82415:(e,t,r)=>{var n=r(90665),o=r(14819),i=r(37322);e.exports=function(e,t){return e&&e.length?n(e,o(t,2),i):void 0}},82601:function(e,t,r){var n;!function(o){"use strict";var i,a={precision:20,rounding:4,toExpNeg:-7,toExpPos:21,LN10:"2.302585092994045684017991454684364207601101488628772976033327900967572609677352480235997205089598298341967784042286"},l=!0,c="[DecimalError] ",s=c+"Invalid argument: ",u=c+"Exponent out of range: ",f=Math.floor,p=Math.pow,d=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,h=f(1286742750677284.5),y={};function m(e,t){var r,n,o,i,a,c,s,u,f=e.constructor,p=f.precision;if(!e.s||!t.s)return t.s||(t=new f(e)),l?E(t,p):t;if(s=e.d,u=t.d,a=e.e,o=t.e,s=s.slice(),i=a-o){for(i<0?(n=s,i=-i,c=u.length):(n=u,o=a,c=s.length),i>(c=(a=Math.ceil(p/7))>c?a+1:c+1)&&(i=c,n.length=1),n.reverse();i--;)n.push(0);n.reverse()}for((c=s.length)-(i=u.length)<0&&(i=c,n=u,u=s,s=n),r=0;i;)r=(s[--i]=s[i]+u[i]+r)/1e7|0,s[i]%=1e7;for(r&&(s.unshift(r),++o),c=s.length;0==s[--c];)s.pop();return t.d=s,t.e=o,l?E(t,p):t}function g(e,t,r){if(e!==~~e||e<t||e>r)throw Error(s+e)}function v(e){var t,r,n,o=e.length-1,i="",a=e[0];if(o>0){for(i+=a,t=1;t<o;t++)(r=7-(n=e[t]+"").length)&&(i+=A(r)),i+=n;(r=7-(n=(a=e[t])+"").length)&&(i+=A(r))}else if(0===a)return"0";for(;a%10==0;)a/=10;return i+a}y.absoluteValue=y.abs=function(){var e=new this.constructor(this);return e.s&&(e.s=1),e},y.comparedTo=y.cmp=function(e){var t,r,n,o;if(e=new this.constructor(e),this.s!==e.s)return this.s||-e.s;if(this.e!==e.e)return this.e>e.e^this.s<0?1:-1;for(t=0,r=(n=this.d.length)<(o=e.d.length)?n:o;t<r;++t)if(this.d[t]!==e.d[t])return this.d[t]>e.d[t]^this.s<0?1:-1;return n===o?0:n>o^this.s<0?1:-1},y.decimalPlaces=y.dp=function(){var e=this.d.length-1,t=(e-this.e)*7;if(e=this.d[e])for(;e%10==0;e/=10)t--;return t<0?0:t},y.dividedBy=y.div=function(e){return b(this,new this.constructor(e))},y.dividedToIntegerBy=y.idiv=function(e){var t=this.constructor;return E(b(this,new t(e),0,1),t.precision)},y.equals=y.eq=function(e){return!this.cmp(e)},y.exponent=function(){return w(this)},y.greaterThan=y.gt=function(e){return this.cmp(e)>0},y.greaterThanOrEqualTo=y.gte=function(e){return this.cmp(e)>=0},y.isInteger=y.isint=function(){return this.e>this.d.length-2},y.isNegative=y.isneg=function(){return this.s<0},y.isPositive=y.ispos=function(){return this.s>0},y.isZero=function(){return 0===this.s},y.lessThan=y.lt=function(e){return 0>this.cmp(e)},y.lessThanOrEqualTo=y.lte=function(e){return 1>this.cmp(e)},y.logarithm=y.log=function(e){var t,r=this.constructor,n=r.precision,o=n+5;if(void 0===e)e=new r(10);else if((e=new r(e)).s<1||e.eq(i))throw Error(c+"NaN");if(this.s<1)throw Error(c+(this.s?"NaN":"-Infinity"));return this.eq(i)?new r(0):(l=!1,t=b(k(this,o),k(e,o),o),l=!0,E(t,n))},y.minus=y.sub=function(e){return e=new this.constructor(e),this.s==e.s?j(this,e):m(this,(e.s=-e.s,e))},y.modulo=y.mod=function(e){var t,r=this.constructor,n=r.precision;if(!(e=new r(e)).s)throw Error(c+"NaN");return this.s?(l=!1,t=b(this,e,0,1).times(e),l=!0,this.minus(t)):E(new r(this),n)},y.naturalExponential=y.exp=function(){return x(this)},y.naturalLogarithm=y.ln=function(){return k(this)},y.negated=y.neg=function(){var e=new this.constructor(this);return e.s=-e.s||0,e},y.plus=y.add=function(e){return e=new this.constructor(e),this.s==e.s?m(this,e):j(this,(e.s=-e.s,e))},y.precision=y.sd=function(e){var t,r,n;if(void 0!==e&&!!e!==e&&1!==e&&0!==e)throw Error(s+e);if(t=w(this)+1,r=7*(n=this.d.length-1)+1,n=this.d[n]){for(;n%10==0;n/=10)r--;for(n=this.d[0];n>=10;n/=10)r++}return e&&t>r?t:r},y.squareRoot=y.sqrt=function(){var e,t,r,n,o,i,a,s=this.constructor;if(this.s<1){if(!this.s)return new s(0);throw Error(c+"NaN")}for(e=w(this),l=!1,0==(o=Math.sqrt(+this))||o==1/0?(((t=v(this.d)).length+e)%2==0&&(t+="0"),o=Math.sqrt(t),e=f((e+1)/2)-(e<0||e%2),n=new s(t=o==1/0?"5e"+e:(t=o.toExponential()).slice(0,t.indexOf("e")+1)+e)):n=new s(o.toString()),o=a=(r=s.precision)+3;;)if(n=(i=n).plus(b(this,i,a+2)).times(.5),v(i.d).slice(0,a)===(t=v(n.d)).slice(0,a)){if(t=t.slice(a-3,a+1),o==a&&"4999"==t){if(E(i,r+1,0),i.times(i).eq(this)){n=i;break}}else if("9999"!=t)break;a+=4}return l=!0,E(n,r)},y.times=y.mul=function(e){var t,r,n,o,i,a,c,s,u,f=this.constructor,p=this.d,d=(e=new f(e)).d;if(!this.s||!e.s)return new f(0);for(e.s*=this.s,r=this.e+e.e,(s=p.length)<(u=d.length)&&(i=p,p=d,d=i,a=s,s=u,u=a),i=[],n=a=s+u;n--;)i.push(0);for(n=u;--n>=0;){for(t=0,o=s+n;o>n;)c=i[o]+d[n]*p[o-n-1]+t,i[o--]=c%1e7|0,t=c/1e7|0;i[o]=(i[o]+t)%1e7|0}for(;!i[--a];)i.pop();return t?++r:i.shift(),e.d=i,e.e=r,l?E(e,f.precision):e},y.toDecimalPlaces=y.todp=function(e,t){var r=this,n=r.constructor;return(r=new n(r),void 0===e)?r:(g(e,0,1e9),void 0===t?t=n.rounding:g(t,0,8),E(r,e+w(r)+1,t))},y.toExponential=function(e,t){var r,n=this,o=n.constructor;return void 0===e?r=P(n,!0):(g(e,0,1e9),void 0===t?t=o.rounding:g(t,0,8),r=P(n=E(new o(n),e+1,t),!0,e+1)),r},y.toFixed=function(e,t){var r,n,o=this.constructor;return void 0===e?P(this):(g(e,0,1e9),void 0===t?t=o.rounding:g(t,0,8),r=P((n=E(new o(this),e+w(this)+1,t)).abs(),!1,e+w(n)+1),this.isneg()&&!this.isZero()?"-"+r:r)},y.toInteger=y.toint=function(){var e=this.constructor;return E(new e(this),w(this)+1,e.rounding)},y.toNumber=function(){return+this},y.toPower=y.pow=function(e){var t,r,n,o,a,s,u=this,p=u.constructor,d=+(e=new p(e));if(!e.s)return new p(i);if(!(u=new p(u)).s){if(e.s<1)throw Error(c+"Infinity");return u}if(u.eq(i))return u;if(n=p.precision,e.eq(i))return E(u,n);if(s=(t=e.e)>=(r=e.d.length-1),a=u.s,s){if((r=d<0?-d:d)<=0x1fffffffffffff){for(o=new p(i),t=Math.ceil(n/7+4),l=!1;r%2&&T((o=o.times(u)).d,t),0!==(r=f(r/2));)T((u=u.times(u)).d,t);return l=!0,e.s<0?new p(i).div(o):E(o,n)}}else if(a<0)throw Error(c+"NaN");return a=a<0&&1&e.d[Math.max(t,r)]?-1:1,u.s=1,l=!1,o=e.times(k(u,n+12)),l=!0,(o=x(o)).s=a,o},y.toPrecision=function(e,t){var r,n,o=this,i=o.constructor;return void 0===e?(r=w(o),n=P(o,r<=i.toExpNeg||r>=i.toExpPos)):(g(e,1,1e9),void 0===t?t=i.rounding:g(t,0,8),r=w(o=E(new i(o),e,t)),n=P(o,e<=r||r<=i.toExpNeg,e)),n},y.toSignificantDigits=y.tosd=function(e,t){var r=this.constructor;return void 0===e?(e=r.precision,t=r.rounding):(g(e,1,1e9),void 0===t?t=r.rounding:g(t,0,8)),E(new r(this),e,t)},y.toString=y.valueOf=y.val=y.toJSON=function(){var e=w(this),t=this.constructor;return P(this,e<=t.toExpNeg||e>=t.toExpPos)};var b=function(){function e(e,t){var r,n=0,o=e.length;for(e=e.slice();o--;)r=e[o]*t+n,e[o]=r%1e7|0,n=r/1e7|0;return n&&e.unshift(n),e}function t(e,t,r,n){var o,i;if(r!=n)i=r>n?1:-1;else for(o=i=0;o<r;o++)if(e[o]!=t[o]){i=e[o]>t[o]?1:-1;break}return i}function r(e,t,r){for(var n=0;r--;)e[r]-=n,n=+(e[r]<t[r]),e[r]=1e7*n+e[r]-t[r];for(;!e[0]&&e.length>1;)e.shift()}return function(n,o,i,a){var l,s,u,f,p,d,h,y,m,g,v,b,x,O,A,k,S,j,P=n.constructor,T=n.s==o.s?1:-1,_=n.d,M=o.d;if(!n.s)return new P(n);if(!o.s)throw Error(c+"Division by zero");for(u=0,s=n.e-o.e,S=M.length,A=_.length,y=(h=new P(T)).d=[];M[u]==(_[u]||0);)++u;if(M[u]>(_[u]||0)&&--s,(b=null==i?i=P.precision:a?i+(w(n)-w(o))+1:i)<0)return new P(0);if(b=b/7+2|0,u=0,1==S)for(f=0,M=M[0],b++;(u<A||f)&&b--;u++)x=1e7*f+(_[u]||0),y[u]=x/M|0,f=x%M|0;else{for((f=1e7/(M[0]+1)|0)>1&&(M=e(M,f),_=e(_,f),S=M.length,A=_.length),O=S,g=(m=_.slice(0,S)).length;g<S;)m[g++]=0;(j=M.slice()).unshift(0),k=M[0],M[1]>=1e7/2&&++k;do f=0,(l=t(M,m,S,g))<0?(v=m[0],S!=g&&(v=1e7*v+(m[1]||0)),(f=v/k|0)>1?(f>=1e7&&(f=1e7-1),d=(p=e(M,f)).length,g=m.length,1==(l=t(p,m,d,g))&&(f--,r(p,S<d?j:M,d))):(0==f&&(l=f=1),p=M.slice()),(d=p.length)<g&&p.unshift(0),r(m,p,g),-1==l&&(g=m.length,(l=t(M,m,S,g))<1&&(f++,r(m,S<g?j:M,g))),g=m.length):0===l&&(f++,m=[0]),y[u++]=f,l&&m[0]?m[g++]=_[O]||0:(m=[_[O]],g=1);while((O++<A||void 0!==m[0])&&b--)}return y[0]||y.shift(),h.e=s,E(h,a?i+w(h)+1:i)}}();function x(e,t){var r,n,o,a,c,s=0,f=0,d=e.constructor,h=d.precision;if(w(e)>16)throw Error(u+w(e));if(!e.s)return new d(i);for(null==t?(l=!1,c=h):c=t,a=new d(.03125);e.abs().gte(.1);)e=e.times(a),f+=5;for(c+=Math.log(p(2,f))/Math.LN10*2+5|0,r=n=o=new d(i),d.precision=c;;){if(n=E(n.times(e),c),r=r.times(++s),v((a=o.plus(b(n,r,c))).d).slice(0,c)===v(o.d).slice(0,c)){for(;f--;)o=E(o.times(o),c);return d.precision=h,null==t?(l=!0,E(o,h)):o}o=a}}function w(e){for(var t=7*e.e,r=e.d[0];r>=10;r/=10)t++;return t}function O(e,t,r){if(t>e.LN10.sd())throw l=!0,r&&(e.precision=r),Error(c+"LN10 precision limit exceeded");return E(new e(e.LN10),t)}function A(e){for(var t="";e--;)t+="0";return t}function k(e,t){var r,n,o,a,s,u,f,p,d,h=1,y=e,m=y.d,g=y.constructor,x=g.precision;if(y.s<1)throw Error(c+(y.s?"NaN":"-Infinity"));if(y.eq(i))return new g(0);if(null==t?(l=!1,p=x):p=t,y.eq(10))return null==t&&(l=!0),O(g,p);if(g.precision=p+=10,n=(r=v(m)).charAt(0),!(15e14>Math.abs(a=w(y))))return f=O(g,p+2,x).times(a+""),y=k(new g(n+"."+r.slice(1)),p-10).plus(f),g.precision=x,null==t?(l=!0,E(y,x)):y;for(;n<7&&1!=n||1==n&&r.charAt(1)>3;)n=(r=v((y=y.times(e)).d)).charAt(0),h++;for(a=w(y),n>1?(y=new g("0."+r),a++):y=new g(n+"."+r.slice(1)),u=s=y=b(y.minus(i),y.plus(i),p),d=E(y.times(y),p),o=3;;){if(s=E(s.times(d),p),v((f=u.plus(b(s,new g(o),p))).d).slice(0,p)===v(u.d).slice(0,p))return u=u.times(2),0!==a&&(u=u.plus(O(g,p+2,x).times(a+""))),u=b(u,new g(h),p),g.precision=x,null==t?(l=!0,E(u,x)):u;u=f,o+=2}}function S(e,t){var r,n,o;for((r=t.indexOf("."))>-1&&(t=t.replace(".","")),(n=t.search(/e/i))>0?(r<0&&(r=n),r+=+t.slice(n+1),t=t.substring(0,n)):r<0&&(r=t.length),n=0;48===t.charCodeAt(n);)++n;for(o=t.length;48===t.charCodeAt(o-1);)--o;if(t=t.slice(n,o)){if(o-=n,e.e=f((r=r-n-1)/7),e.d=[],n=(r+1)%7,r<0&&(n+=7),n<o){for(n&&e.d.push(+t.slice(0,n)),o-=7;n<o;)e.d.push(+t.slice(n,n+=7));n=7-(t=t.slice(n)).length}else n-=o;for(;n--;)t+="0";if(e.d.push(+t),l&&(e.e>h||e.e<-h))throw Error(u+r)}else e.s=0,e.e=0,e.d=[0];return e}function E(e,t,r){var n,o,i,a,c,s,d,y,m=e.d;for(a=1,i=m[0];i>=10;i/=10)a++;if((n=t-a)<0)n+=7,o=t,d=m[y=0];else{if((y=Math.ceil((n+1)/7))>=(i=m.length))return e;for(a=1,d=i=m[y];i>=10;i/=10)a++;n%=7,o=n-7+a}if(void 0!==r&&(c=d/(i=p(10,a-o-1))%10|0,s=t<0||void 0!==m[y+1]||d%i,s=r<4?(c||s)&&(0==r||r==(e.s<0?3:2)):c>5||5==c&&(4==r||s||6==r&&(n>0?o>0?d/p(10,a-o):0:m[y-1])%10&1||r==(e.s<0?8:7))),t<1||!m[0])return s?(i=w(e),m.length=1,t=t-i-1,m[0]=p(10,(7-t%7)%7),e.e=f(-t/7)||0):(m.length=1,m[0]=e.e=e.s=0),e;if(0==n?(m.length=y,i=1,y--):(m.length=y+1,i=p(10,7-n),m[y]=o>0?(d/p(10,a-o)%p(10,o)|0)*i:0),s)for(;;)if(0==y){1e7==(m[0]+=i)&&(m[0]=1,++e.e);break}else{if(m[y]+=i,1e7!=m[y])break;m[y--]=0,i=1}for(n=m.length;0===m[--n];)m.pop();if(l&&(e.e>h||e.e<-h))throw Error(u+w(e));return e}function j(e,t){var r,n,o,i,a,c,s,u,f,p,d=e.constructor,h=d.precision;if(!e.s||!t.s)return t.s?t.s=-t.s:t=new d(e),l?E(t,h):t;if(s=e.d,p=t.d,n=t.e,u=e.e,s=s.slice(),a=u-n){for((f=a<0)?(r=s,a=-a,c=p.length):(r=p,n=u,c=s.length),a>(o=Math.max(Math.ceil(h/7),c)+2)&&(a=o,r.length=1),r.reverse(),o=a;o--;)r.push(0);r.reverse()}else{for((f=(o=s.length)<(c=p.length))&&(c=o),o=0;o<c;o++)if(s[o]!=p[o]){f=s[o]<p[o];break}a=0}for(f&&(r=s,s=p,p=r,t.s=-t.s),c=s.length,o=p.length-c;o>0;--o)s[c++]=0;for(o=p.length;o>a;){if(s[--o]<p[o]){for(i=o;i&&0===s[--i];)s[i]=1e7-1;--s[i],s[o]+=1e7}s[o]-=p[o]}for(;0===s[--c];)s.pop();for(;0===s[0];s.shift())--n;return s[0]?(t.d=s,t.e=n,l?E(t,h):t):new d(0)}function P(e,t,r){var n,o=w(e),i=v(e.d),a=i.length;return t?(r&&(n=r-a)>0?i=i.charAt(0)+"."+i.slice(1)+A(n):a>1&&(i=i.charAt(0)+"."+i.slice(1)),i=i+(o<0?"e":"e+")+o):o<0?(i="0."+A(-o-1)+i,r&&(n=r-a)>0&&(i+=A(n))):o>=a?(i+=A(o+1-a),r&&(n=r-o-1)>0&&(i=i+"."+A(n))):((n=o+1)<a&&(i=i.slice(0,n)+"."+i.slice(n)),r&&(n=r-a)>0&&(o+1===a&&(i+="."),i+=A(n))),e.s<0?"-"+i:i}function T(e,t){if(e.length>t)return e.length=t,!0}function _(e){if(!e||"object"!=typeof e)throw Error(c+"Object expected");var t,r,n,o=["precision",1,1e9,"rounding",0,8,"toExpNeg",-1/0,0,"toExpPos",0,1/0];for(t=0;t<o.length;t+=3)if(void 0!==(n=e[r=o[t]]))if(f(n)===n&&n>=o[t+1]&&n<=o[t+2])this[r]=n;else throw Error(s+r+": "+n);if(void 0!==(n=e[r="LN10"]))if(n==Math.LN10)this[r]=new this(n);else throw Error(s+r+": "+n);return this}(a=function e(t){var r,n,o;function i(e){if(!(this instanceof i))return new i(e);if(this.constructor=i,e instanceof i){this.s=e.s,this.e=e.e,this.d=(e=e.d)?e.slice():e;return}if("number"==typeof e){if(0*e!=0)throw Error(s+e);if(e>0)this.s=1;else if(e<0)e=-e,this.s=-1;else{this.s=0,this.e=0,this.d=[0];return}if(e===~~e&&e<1e7){this.e=0,this.d=[e];return}return S(this,e.toString())}if("string"!=typeof e)throw Error(s+e);if(45===e.charCodeAt(0)?(e=e.slice(1),this.s=-1):this.s=1,d.test(e))S(this,e);else throw Error(s+e)}if(i.prototype=y,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=e,i.config=i.set=_,void 0===t&&(t={}),t)for(r=0,o=["precision","rounding","toExpNeg","toExpPos","LN10"];r<o.length;)t.hasOwnProperty(n=o[r++])||(t[n]=this[n]);return i.config(t),i}(a)).default=a.Decimal=a,i=new a(1),void 0===(n=(function(){return a}).call(t,r,t,e))||(e.exports=n)}(0)},82937:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"workAsyncStorage",{enumerable:!0,get:function(){return n.workAsyncStorageInstance}});let n=r(10034)},83202:(e,t,r)=>{var n=r(80568),o=r(80060),i=r(40925),a=r(88777);e.exports=function(e,t,r){if(!a(r))return!1;var l=typeof t;return("number"==l?!!(o(r)&&i(t,r.length)):"string"==l&&t in r)&&n(r[t],e)}},83342:(e,t,r)=>{var n=r(43870),o=r(65550);e.exports=function(e){return!0===e||!1===e||o(e)&&"[object Boolean]"==n(e)}},83411:(e,t,r)=>{var n=r(91060),o=r(60318),i=r(5011),a=r(37960),l=r(40925),c=r(99607),s=Object.prototype.hasOwnProperty;e.exports=function(e,t){var r=i(e),u=!r&&o(e),f=!r&&!u&&a(e),p=!r&&!u&&!f&&c(e),d=r||u||f||p,h=d?n(e.length,String):[],y=h.length;for(var m in e)(t||s.call(e,m))&&!(d&&("length"==m||f&&("offset"==m||"parent"==m)||p&&("buffer"==m||"byteLength"==m||"byteOffset"==m)||l(m,y)))&&h.push(m);return h}},83825:e=>{e.exports=function(e){return function(t,r,n){for(var o=-1,i=Object(t),a=n(t),l=a.length;l--;){var c=a[e?l:++o];if(!1===r(i[c],c,i))break}return t}}},84158:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(91485).A)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},84220:(e,t,r)=>{var n=r(85847),o=r(80060);e.exports=function(e,t){var r=-1,i=o(e)?Array(e.length):[];return n(e,function(e,n,o){i[++r]=t(e,n,o)}),i}},84228:(e,t,r)=>{var n=r(62676),o=r(69351);e.exports=function e(t,r,i,a,l){var c=-1,s=t.length;for(i||(i=o),l||(l=[]);++c<s;){var u=t[c];r>0&&i(u)?r>1?e(u,r-1,i,a,l):n(l,u):a||(l[l.length]=u)}return l}},84459:(e,t,r)=>{e.exports=r(6224)()},84626:(e,t,r)=>{"use strict";r.d(t,{m:()=>U});var n=r(44213),o=r(66551),i=r.n(o),a=r(6513),l=r.n(a),c=r(73138),s=r(20681);function u(e){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function f(){return(f=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function d(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function h(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?d(Object(r),!0).forEach(function(t){var n,o,i;n=e,o=t,i=r[t],(o=function(e){var t=function(e,t){if("object"!=u(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=u(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==u(t)?t:t+""}(o))in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):d(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function y(e){return Array.isArray(e)&&(0,s.vh)(e[0])&&(0,s.vh)(e[1])?e.join(" ~ "):e}var m=function(e){var t=e.separator,r=void 0===t?" : ":t,o=e.contentStyle,a=e.itemStyle,u=void 0===a?{}:a,d=e.labelStyle,m=e.payload,g=e.formatter,v=e.itemSorter,b=e.wrapperClassName,x=e.labelClassName,w=e.label,O=e.labelFormatter,A=e.accessibilityLayer,k=h({margin:0,padding:10,backgroundColor:"#fff",border:"1px solid #ccc",whiteSpace:"nowrap"},void 0===o?{}:o),S=h({margin:0},void 0===d?{}:d),E=!l()(w),j=E?w:"",P=(0,c.A)("recharts-default-tooltip",b),T=(0,c.A)("recharts-tooltip-label",x);return E&&O&&null!=m&&(j=O(w,m)),n.createElement("div",f({className:P,style:k},void 0!==A&&A?{role:"status","aria-live":"assertive"}:{}),n.createElement("p",{className:T,style:S},n.isValidElement(j)?j:"".concat(j)),function(){if(m&&m.length){var e=(v?i()(m,v):m).map(function(e,t){if("none"===e.type)return null;var o=h({display:"block",paddingTop:4,paddingBottom:4,color:e.color||"#000"},u),i=e.formatter||g||y,a=e.value,l=e.name,c=a,f=l;if(i&&null!=c&&null!=f){var d=i(a,l,e,t,m);if(Array.isArray(d)){var v=function(e){if(Array.isArray(e))return e}(d)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,l=[],c=!0,s=!1;try{i=(r=r.call(e)).next,!1;for(;!(c=(n=i.call(r)).done)&&(l.push(n.value),l.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(s)throw o}}return l}}(d,2)||function(e,t){if(e){if("string"==typeof e)return p(e,2);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return p(e,t)}}(d,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}();c=v[0],f=v[1]}else c=d}return n.createElement("li",{className:"recharts-tooltip-item",key:"tooltip-item-".concat(t),style:o},(0,s.vh)(f)?n.createElement("span",{className:"recharts-tooltip-item-name"},f):null,(0,s.vh)(f)?n.createElement("span",{className:"recharts-tooltip-item-separator"},r):null,n.createElement("span",{className:"recharts-tooltip-item-value"},c),n.createElement("span",{className:"recharts-tooltip-item-unit"},e.unit||""))});return n.createElement("ul",{className:"recharts-tooltip-item-list",style:{padding:0,margin:0}},e)}return null}())};function g(e){return(g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function v(e,t,r){var n;return(n=function(e,t){if("object"!=g(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=g(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==g(n)?n:n+"")in e)?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var b="recharts-tooltip-wrapper",x={visibility:"hidden"};function w(e){var t=e.allowEscapeViewBox,r=e.coordinate,n=e.key,o=e.offsetTopLeft,i=e.position,a=e.reverseDirection,l=e.tooltipDimension,c=e.viewBox,u=e.viewBoxDimension;if(i&&(0,s.Et)(i[n]))return i[n];var f=r[n]-l-o,p=r[n]+o;return t[n]?a[n]?f:p:a[n]?f<c[n]?Math.max(p,c[n]):Math.max(f,c[n]):p+l>c[n]+u?Math.max(f,c[n]):Math.max(p,c[n])}function O(e){return(O="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function A(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function k(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?A(Object(r),!0).forEach(function(t){P(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):A(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function S(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(S=function(){return!!e})()}function E(e){return(E=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function j(e,t){return(j=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function P(e,t,r){return(t=T(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function T(e){var t=function(e,t){if("object"!=O(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=O(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==O(t)?t:t+""}var _=function(e){var t;function r(){var e,t,n;if(!(this instanceof r))throw TypeError("Cannot call a class as a function");for(var o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return t=r,n=[].concat(i),t=E(t),P(e=function(e,t){if(t&&("object"===O(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");var r=e;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,S()?Reflect.construct(t,n||[],E(this).constructor):t.apply(this,n)),"state",{dismissed:!1,dismissedAtCoordinate:{x:0,y:0},lastBoundingBox:{width:-1,height:-1}}),P(e,"handleKeyDown",function(t){if("Escape"===t.key){var r,n,o,i;e.setState({dismissed:!0,dismissedAtCoordinate:{x:null!=(r=null==(n=e.props.coordinate)?void 0:n.x)?r:0,y:null!=(o=null==(i=e.props.coordinate)?void 0:i.y)?o:0}})}}),e}if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");return r.prototype=Object.create(e&&e.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),e&&j(r,e),t=[{key:"updateBBox",value:function(){if(this.wrapperNode&&this.wrapperNode.getBoundingClientRect){var e=this.wrapperNode.getBoundingClientRect();(Math.abs(e.width-this.state.lastBoundingBox.width)>1||Math.abs(e.height-this.state.lastBoundingBox.height)>1)&&this.setState({lastBoundingBox:{width:e.width,height:e.height}})}else(-1!==this.state.lastBoundingBox.width||-1!==this.state.lastBoundingBox.height)&&this.setState({lastBoundingBox:{width:-1,height:-1}})}},{key:"componentDidMount",value:function(){document.addEventListener("keydown",this.handleKeyDown),this.updateBBox()}},{key:"componentWillUnmount",value:function(){document.removeEventListener("keydown",this.handleKeyDown)}},{key:"componentDidUpdate",value:function(){var e,t;this.props.active&&this.updateBBox(),this.state.dismissed&&((null==(e=this.props.coordinate)?void 0:e.x)!==this.state.dismissedAtCoordinate.x||(null==(t=this.props.coordinate)?void 0:t.y)!==this.state.dismissedAtCoordinate.y)&&(this.state.dismissed=!1)}},{key:"render",value:function(){var e,t,r,o,i,a,l,u,f,p,d,h,y,m,g,O,A,S,E,j=this,P=this.props,T=P.active,_=P.allowEscapeViewBox,M=P.animationDuration,C=P.animationEasing,I=P.children,N=P.coordinate,D=P.hasPayload,R=P.isAnimationActive,L=P.offset,F=P.position,B=P.reverseDirection,z=P.useTranslate3d,$=P.viewBox,U=P.wrapperStyle,W=(h=(e={allowEscapeViewBox:_,coordinate:N,offsetTopLeft:L,position:F,reverseDirection:B,tooltipBox:this.state.lastBoundingBox,useTranslate3d:z,viewBox:$}).allowEscapeViewBox,y=e.coordinate,m=e.offsetTopLeft,g=e.position,O=e.reverseDirection,A=e.tooltipBox,S=e.useTranslate3d,E=e.viewBox,A.height>0&&A.width>0&&y?(r=(t={translateX:p=w({allowEscapeViewBox:h,coordinate:y,key:"x",offsetTopLeft:m,position:g,reverseDirection:O,tooltipDimension:A.width,viewBox:E,viewBoxDimension:E.width}),translateY:d=w({allowEscapeViewBox:h,coordinate:y,key:"y",offsetTopLeft:m,position:g,reverseDirection:O,tooltipDimension:A.height,viewBox:E,viewBoxDimension:E.height}),useTranslate3d:S}).translateX,o=t.translateY,f={transform:t.useTranslate3d?"translate3d(".concat(r,"px, ").concat(o,"px, 0)"):"translate(".concat(r,"px, ").concat(o,"px)")}):f=x,{cssProperties:f,cssClasses:(a=(i={translateX:p,translateY:d,coordinate:y}).coordinate,l=i.translateX,u=i.translateY,(0,c.A)(b,v(v(v(v({},"".concat(b,"-right"),(0,s.Et)(l)&&a&&(0,s.Et)(a.x)&&l>=a.x),"".concat(b,"-left"),(0,s.Et)(l)&&a&&(0,s.Et)(a.x)&&l<a.x),"".concat(b,"-bottom"),(0,s.Et)(u)&&a&&(0,s.Et)(a.y)&&u>=a.y),"".concat(b,"-top"),(0,s.Et)(u)&&a&&(0,s.Et)(a.y)&&u<a.y)))}),G=W.cssClasses,H=W.cssProperties,q=k(k({transition:R&&T?"transform ".concat(M,"ms ").concat(C):void 0},H),{},{pointerEvents:"none",visibility:!this.state.dismissed&&T&&D?"visible":"hidden",position:"absolute",top:0,left:0},U);return n.createElement("div",{tabIndex:-1,className:G,style:q,ref:function(e){j.wrapperNode=e}},I)}}],function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,T(n.key),n)}}(r.prototype,t),Object.defineProperty(r,"prototype",{writable:!1}),r}(n.PureComponent),M=r(98363),C=r(66702);function I(e){return(I="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function N(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function D(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?N(Object(r),!0).forEach(function(t){B(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):N(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function R(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(R=function(){return!!e})()}function L(e){return(L=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function F(e,t){return(F=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function B(e,t,r){return(t=z(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function z(e){var t=function(e,t){if("object"!=I(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=I(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==I(t)?t:t+""}function $(e){return e.dataKey}var U=function(e){var t;function r(){var e,t;if(!(this instanceof r))throw TypeError("Cannot call a class as a function");return e=r,t=arguments,e=L(e),function(e,t){if(t&&("object"===I(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");var r=e;if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(this,R()?Reflect.construct(e,t||[],L(this).constructor):e.apply(this,t))}if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");return r.prototype=Object.create(e&&e.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),e&&F(r,e),t=[{key:"render",value:function(){var e,t=this,r=this.props,o=r.active,i=r.allowEscapeViewBox,a=r.animationDuration,l=r.animationEasing,c=r.content,s=r.coordinate,u=r.filterNull,f=r.isAnimationActive,p=r.offset,d=r.payload,h=r.payloadUniqBy,y=r.position,g=r.reverseDirection,v=r.useTranslate3d,b=r.viewBox,x=r.wrapperStyle,w=null!=d?d:[];u&&w.length&&(w=(0,C.s)(d.filter(function(e){return null!=e.value&&(!0!==e.hide||t.props.includeHidden)}),h,$));var O=w.length>0;return n.createElement(_,{allowEscapeViewBox:i,animationDuration:a,animationEasing:l,isAnimationActive:f,active:o,coordinate:s,hasPayload:O,offset:p,position:y,reverseDirection:g,useTranslate3d:v,viewBox:b,wrapperStyle:x},(e=D(D({},this.props),{},{payload:w}),n.isValidElement(c)?n.cloneElement(c,e):"function"==typeof c?n.createElement(c,e):n.createElement(m,e)))}}],function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,z(n.key),n)}}(r.prototype,t),Object.defineProperty(r,"prototype",{writable:!1}),r}(n.PureComponent);B(U,"displayName","Tooltip"),B(U,"defaultProps",{accessibilityLayer:!1,allowEscapeViewBox:{x:!1,y:!1},animationDuration:400,animationEasing:"ease",contentStyle:{},coordinate:{x:0,y:0},cursor:!0,cursorStyle:{},filterNull:!0,isAnimationActive:!M.m.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:{}})},84756:(e,t,r)=>{var n=r(71120),o=r(26591),i=r(28105);e.exports=function(e,t){return i(o(e,t,n),e+"")}},84806:(e,t,r)=>{var n=r(51326);e.exports=function(e,t,r){var o=null==e?void 0:n(e,t);return void 0===o?r:o}},85847:(e,t,r)=>{var n=r(6047);e.exports=r(78727)(n)},86219:(e,t,r)=>{"use strict";r.d(t,{s:()=>a,t:()=>i});var n=r(44213);function o(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function i(...e){return t=>{let r=!1,n=e.map(e=>{let n=o(e,t);return r||"function"!=typeof n||(r=!0),n});if(r)return()=>{for(let t=0;t<n.length;t++){let r=n[t];"function"==typeof r?r():o(e[t],null)}}}}function a(...e){return n.useCallback(i(...e),e)}},86377:(e,t,r)=>{"use strict";function n(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e)}return this}function o(e,t){switch(arguments.length){case 0:break;case 1:"function"==typeof e?this.interpolator(e):this.range(e);break;default:this.domain(e),"function"==typeof t?this.interpolator(t):this.range(t)}return this}r.d(t,{C:()=>n,K:()=>o})},86405:(e,t,r)=>{var n=r(85847);e.exports=function(e,t){var r=!0;return n(e,function(e,n,o){return r=!!t(e,n,o)}),r}},86835:e=>{e.exports=function(e){return this.__data__.has(e)}},87415:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(91485).A)("layout-list",[["rect",{width:"7",height:"7",x:"3",y:"3",rx:"1",key:"1g98yp"}],["rect",{width:"7",height:"7",x:"3",y:"14",rx:"1",key:"1bb6yr"}],["path",{d:"M14 4h7",key:"3xa0d5"}],["path",{d:"M14 9h7",key:"1icrd9"}],["path",{d:"M14 15h7",key:"1mj8o2"}],["path",{d:"M14 20h7",key:"11slyb"}]])},87804:e=>{e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1}},87940:e=>{var t=RegExp("[\\u200d\ud800-\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");e.exports=function(e){return t.test(e)}},88474:(e,t,r)=>{var n=r(85847);e.exports=function(e,t){var r;return n(e,function(e,n,o){return!(r=t(e,n,o))}),!!r}},88777:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},88913:e=>{"use strict";var t=Object.prototype.hasOwnProperty,r="~";function n(){}function o(e,t,r){this.fn=e,this.context=t,this.once=r||!1}function i(e,t,n,i,a){if("function"!=typeof n)throw TypeError("The listener must be a function");var l=new o(n,i||e,a),c=r?r+t:t;return e._events[c]?e._events[c].fn?e._events[c]=[e._events[c],l]:e._events[c].push(l):(e._events[c]=l,e._eventsCount++),e}function a(e,t){0==--e._eventsCount?e._events=new n:delete e._events[t]}function l(){this._events=new n,this._eventsCount=0}Object.create&&(n.prototype=Object.create(null),new n().__proto__||(r=!1)),l.prototype.eventNames=function(){var e,n,o=[];if(0===this._eventsCount)return o;for(n in e=this._events)t.call(e,n)&&o.push(r?n.slice(1):n);return Object.getOwnPropertySymbols?o.concat(Object.getOwnPropertySymbols(e)):o},l.prototype.listeners=function(e){var t=r?r+e:e,n=this._events[t];if(!n)return[];if(n.fn)return[n.fn];for(var o=0,i=n.length,a=Array(i);o<i;o++)a[o]=n[o].fn;return a},l.prototype.listenerCount=function(e){var t=r?r+e:e,n=this._events[t];return n?n.fn?1:n.length:0},l.prototype.emit=function(e,t,n,o,i,a){var l=r?r+e:e;if(!this._events[l])return!1;var c,s,u=this._events[l],f=arguments.length;if(u.fn){switch(u.once&&this.removeListener(e,u.fn,void 0,!0),f){case 1:return u.fn.call(u.context),!0;case 2:return u.fn.call(u.context,t),!0;case 3:return u.fn.call(u.context,t,n),!0;case 4:return u.fn.call(u.context,t,n,o),!0;case 5:return u.fn.call(u.context,t,n,o,i),!0;case 6:return u.fn.call(u.context,t,n,o,i,a),!0}for(s=1,c=Array(f-1);s<f;s++)c[s-1]=arguments[s];u.fn.apply(u.context,c)}else{var p,d=u.length;for(s=0;s<d;s++)switch(u[s].once&&this.removeListener(e,u[s].fn,void 0,!0),f){case 1:u[s].fn.call(u[s].context);break;case 2:u[s].fn.call(u[s].context,t);break;case 3:u[s].fn.call(u[s].context,t,n);break;case 4:u[s].fn.call(u[s].context,t,n,o);break;default:if(!c)for(p=1,c=Array(f-1);p<f;p++)c[p-1]=arguments[p];u[s].fn.apply(u[s].context,c)}}return!0},l.prototype.on=function(e,t,r){return i(this,e,t,r,!1)},l.prototype.once=function(e,t,r){return i(this,e,t,r,!0)},l.prototype.removeListener=function(e,t,n,o){var i=r?r+e:e;if(!this._events[i])return this;if(!t)return a(this,i),this;var l=this._events[i];if(l.fn)l.fn!==t||o&&!l.once||n&&l.context!==n||a(this,i);else{for(var c=0,s=[],u=l.length;c<u;c++)(l[c].fn!==t||o&&!l[c].once||n&&l[c].context!==n)&&s.push(l[c]);s.length?this._events[i]=1===s.length?s[0]:s:a(this,i)}return this},l.prototype.removeAllListeners=function(e){var t;return e?(t=r?r+e:e,this._events[t]&&a(this,t)):(this._events=new n,this._eventsCount=0),this},l.prototype.off=l.prototype.removeListener,l.prototype.addListener=l.prototype.on,l.prefixed=r,l.EventEmitter=l,e.exports=l},90567:(e,t,r)=>{var n=r(10544);e.exports=function(e){var t=n(e),r=t%1;return t==t?r?t-r:t:0}},90665:(e,t,r)=>{var n=r(16910);e.exports=function(e,t,r){for(var o=-1,i=e.length;++o<i;){var a=e[o],l=t(a);if(null!=l&&(void 0===c?l==l&&!n(l):r(l,c)))var c=l,s=a}return s}},91060:e=>{e.exports=function(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}},91258:(e,t,r)=>{"use strict";r.d(t,{E:()=>L});var n=r(44213),o=r(6513),i=r.n(o),a=r(73138),l=r(20681),c=r(98363),s=r(36404),u=r(72125);function f(e){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function p(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,l=[],c=!0,s=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(l.push(n.value),l.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(s)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return d(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return d(e,t)}}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function h(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,function(e){var t=function(e,t){if("object"!=f(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=f(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==f(t)?t:t+""}(n.key),n)}}var y=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,m=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([+-])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,g=/^px|cm|vh|vw|em|rem|%|mm|in|pt|pc|ex|ch|vmin|vmax|Q$/,v=/(-?\d+(?:\.\d+)?)([a-zA-Z%]+)?/,b={cm:96/2.54,mm:96/25.4,pt:96/72,pc:16,in:96,Q:96/101.6,px:1},x=Object.keys(b),w=function(){var e,t;function r(e,t){if(!(this instanceof r))throw TypeError("Cannot call a class as a function");this.num=e,this.unit=t,this.num=e,this.unit=t,Number.isNaN(e)&&(this.unit=""),""===t||g.test(t)||(this.num=NaN,this.unit=""),x.includes(t)&&(this.num=e*b[t],this.unit="px")}return e=[{key:"add",value:function(e){return this.unit!==e.unit?new r(NaN,""):new r(this.num+e.num,this.unit)}},{key:"subtract",value:function(e){return this.unit!==e.unit?new r(NaN,""):new r(this.num-e.num,this.unit)}},{key:"multiply",value:function(e){return""!==this.unit&&""!==e.unit&&this.unit!==e.unit?new r(NaN,""):new r(this.num*e.num,this.unit||e.unit)}},{key:"divide",value:function(e){return""!==this.unit&&""!==e.unit&&this.unit!==e.unit?new r(NaN,""):new r(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)}}],t=[{key:"parse",value:function(e){var t,n=p(null!=(t=v.exec(e))?t:[],3),o=n[1],i=n[2];return new r(parseFloat(o),null!=i?i:"")}}],e&&h(r.prototype,e),t&&h(r,t),Object.defineProperty(r,"prototype",{writable:!1}),r}();function O(e){if(e.includes("NaN"))return"NaN";for(var t=e;t.includes("*")||t.includes("/");){var r,n=p(null!=(r=y.exec(t))?r:[],4),o=n[1],i=n[2],a=n[3],l=w.parse(null!=o?o:""),c=w.parse(null!=a?a:""),s="*"===i?l.multiply(c):l.divide(c);if(s.isNaN())return"NaN";t=t.replace(y,s.toString())}for(;t.includes("+")||/.-\d+(?:\.\d+)?/.test(t);){var u,f=p(null!=(u=m.exec(t))?u:[],4),d=f[1],h=f[2],g=f[3],v=w.parse(null!=d?d:""),b=w.parse(null!=g?g:""),x="+"===h?v.add(b):v.subtract(b);if(x.isNaN())return"NaN";t=t.replace(m,x.toString())}return t}var A=/\(([^()]*)\)/;function k(e){var t=function(e){try{var t;return t=e.replace(/\s+/g,""),t=function(e){for(var t=e;t.includes("(");){var r=p(A.exec(t),2)[1];t=t.replace(A,O(r))}return t}(t),t=O(t)}catch(e){return"NaN"}}(e.slice(5,-1));return"NaN"===t?"":t}var S=["x","y","lineHeight","capHeight","scaleToFit","textAnchor","verticalAnchor","fill"],E=["dx","dy","angle","className","breakAll"];function j(){return(j=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function P(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function T(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,l=[],c=!0,s=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(l.push(n.value),l.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(s)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return _(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return _(e,t)}}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var M=/[ \f\n\r\t\v\u2028\u2029]+/,C=function(e){var t=e.children,r=e.breakAll,n=e.style;try{var o=[];i()(t)||(o=r?t.toString().split(""):t.toString().split(M));var a=o.map(function(e){return{word:e,width:(0,u.Pu)(e,n).width}}),l=r?0:(0,u.Pu)("\xa0",n).width;return{wordsWithComputedWidth:a,spaceWidth:l}}catch(e){return null}},I=function(e,t,r,n,o){var i,a=e.maxLines,c=e.children,s=e.style,u=e.breakAll,f=(0,l.Et)(a),p=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.reduce(function(e,t){var i=t.word,a=t.width,l=e[e.length-1];return l&&(null==n||o||l.width+a+r<Number(n))?(l.words.push(i),l.width+=a+r):e.push({words:[i],width:a}),e},[])},d=p(t);if(!f)return d;for(var h=function(e){var t=p(C({breakAll:u,style:s,children:c.slice(0,e)+"…"}).wordsWithComputedWidth);return[t.length>a||t.reduce(function(e,t){return e.width>t.width?e:t}).width>Number(n),t]},y=0,m=c.length-1,g=0;y<=m&&g<=c.length-1;){var v=Math.floor((y+m)/2),b=T(h(v-1),2),x=b[0],w=b[1],O=T(h(v),1)[0];if(x||O||(y=v+1),x&&O&&(m=v-1),!x&&O){i=w;break}g++}return i||d},N=function(e){return[{words:i()(e)?[]:e.toString().split(M)}]},D=function(e){var t=e.width,r=e.scaleToFit,n=e.children,o=e.style,i=e.breakAll,a=e.maxLines;if((t||r)&&!c.m.isSsr){var l=C({breakAll:i,children:n,style:o});if(!l)return N(n);var s=l.wordsWithComputedWidth,u=l.spaceWidth;return I({breakAll:i,children:n,maxLines:a,style:o},s,u,t,r)}return N(n)},R="#808080",L=function(e){var t,r=e.x,o=void 0===r?0:r,i=e.y,c=void 0===i?0:i,u=e.lineHeight,f=void 0===u?"1em":u,p=e.capHeight,d=void 0===p?"0.71em":p,h=e.scaleToFit,y=void 0!==h&&h,m=e.textAnchor,g=e.verticalAnchor,v=e.fill,b=void 0===v?R:v,x=P(e,S),w=(0,n.useMemo)(function(){return D({breakAll:x.breakAll,children:x.children,maxLines:x.maxLines,scaleToFit:y,style:x.style,width:x.width})},[x.breakAll,x.children,x.maxLines,y,x.style,x.width]),O=x.dx,A=x.dy,T=x.angle,_=x.className,M=x.breakAll,C=P(x,E);if(!(0,l.vh)(o)||!(0,l.vh)(c))return null;var I=o+((0,l.Et)(O)?O:0),N=c+((0,l.Et)(A)?A:0);switch(void 0===g?"end":g){case"start":t=k("calc(".concat(d,")"));break;case"middle":t=k("calc(".concat((w.length-1)/2," * -").concat(f," + (").concat(d," / 2))"));break;default:t=k("calc(".concat(w.length-1," * -").concat(f,")"))}var L=[];if(y){var F=w[0].width,B=x.width;L.push("scale(".concat(((0,l.Et)(B)?B/F:1)/F,")"))}return T&&L.push("rotate(".concat(T,", ").concat(I,", ").concat(N,")")),L.length&&(C.transform=L.join(" ")),n.createElement("text",j({},(0,s.J9)(C,!0),{x:I,y:N,className:(0,a.A)("recharts-text",_),textAnchor:void 0===m?"start":m,fill:b.includes("url")?R:b}),w.map(function(e,r){var o=e.words.join(M?"":" ");return n.createElement("tspan",{x:I,dy:0===r?t:f,key:"".concat(o,"-").concat(r)},o)}))}},91485:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(44213);let o=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.filter((e,t,r)=>!!e&&""!==e.trim()&&r.indexOf(e)===t).join(" ").trim()},i=e=>{let t=e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,r)=>r?r.toUpperCase():t.toLowerCase());return t.charAt(0).toUpperCase()+t.slice(1)};var a={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let l=(0,n.createContext)({}),c=(0,n.forwardRef)((e,t)=>{var r,i,c;let{color:s,size:u,strokeWidth:f,absoluteStrokeWidth:p,className:d="",children:h,iconNode:y,...m}=e,{size:g=24,strokeWidth:v=2,absoluteStrokeWidth:b=!1,color:x="currentColor",className:w=""}=null!=(r=(0,n.useContext)(l))?r:{},O=(null!=p?p:b)?24*Number(null!=f?f:v)/Number(null!=u?u:g):null!=f?f:v;return(0,n.createElement)("svg",{ref:t,...a,width:null!=(i=null!=u?u:g)?i:a.width,height:null!=(c=null!=u?u:g)?c:a.height,stroke:null!=s?s:x,strokeWidth:O,className:o("lucide",w,d),...!h&&!(e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0;return!1})(m)&&{"aria-hidden":"true"},...m},[...y.map(e=>{let[t,r]=e;return(0,n.createElement)(t,r)}),...Array.isArray(h)?h:[h]])}),s=(e,t)=>{let r=(0,n.forwardRef)((r,a)=>{let{className:l,...s}=r;return(0,n.createElement)(c,{ref:a,iconNode:t,className:o("lucide-".concat(i(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),"lucide-".concat(e),l),...s})});return r.displayName=i(e),r}},91668:(e,t,r)=>{var n=r(32673),o=r(50054),i=r(48454);e.exports=function(e){return n(e,i,o)}},92392:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return c}});let n=r(59697),o=r(44213),i=r(21295);function a(e){return{default:e&&"default"in e?e.default:e}}r(62850);let l={loader:()=>Promise.resolve(a(()=>null)),loading:null,ssr:!0},c=function(e){let t={...l,...e},r=(0,o.lazy)(()=>t.loader().then(a)),c=t.loading;function s(e){let a=c?(0,n.jsx)(c,{isLoading:!0,pastDelay:!0,error:null}):null,l=!t.ssr||!!t.loading,s=l?o.Suspense:o.Fragment,u=t.ssr?(0,n.jsxs)(n.Fragment,{children:[null,(0,n.jsx)(r,{...e})]}):(0,n.jsx)(i.BailoutToCSR,{reason:"next/dynamic",children:(0,n.jsx)(r,{...e})});return(0,n.jsx)(s,{...l?{fallback:a}:{},children:u})}return s.displayName="LoadableComponent",s}},92434:e=>{e.exports=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}},92798:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(91485).A)("minus",[["path",{d:"M5 12h14",key:"1ays0h"}]])},92984:(e,t,r)=>{var n=r(81264),o=r(87940),i=r(49096);e.exports=function(e){return o(e)?i(e):n(e)}},93019:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(91485).A)("clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 6v6l4 2",key:"mmk7yg"}]])},93430:(e,t,r)=>{var n=r(14819),o=r(49883);e.exports=function(e,t){return e&&e.length?o(e,n(t,2)):[]}},93535:(e,t,r)=>{"use strict";var n=r(99148);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,r,o,i,a){if(a!==n){var l=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 l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return r.PropTypes=r,r}},93539:(e,t,r)=>{"use strict";r.d(t,{default:()=>o.a});var n=r(61104),o=r.n(n)},94537:(e,t,r)=>{var n=r(41831),o=r(5696),i=r(63395);function a(e){var t=-1,r=null==e?0:e.length;for(this.__data__=new n;++t<r;)this.add(e[t])}a.prototype.add=a.prototype.push=o,a.prototype.has=i,e.exports=a},94636:e=>{var t=/\s/;e.exports=function(e){for(var r=e.length;r--&&t.test(e.charAt(r)););return r}},94679:e=>{e.exports=function(e,t,r){for(var n=r-1,o=e.length;++n<o;)if(e[n]===t)return n;return -1}},94827:(e,t,r)=>{var n=r(65959),o=r(97002),i=r(44189);e.exports=function(e){var t=o(e);return 1==t.length&&t[0][2]?i(t[0][0],t[0][1]):function(r){return r===e||n(r,e,t)}}},95860:(e,t,r)=>{var n=r(14482),o=r(14819),i=r(84220),a=r(5011);e.exports=function(e,t){return(a(e)?n:i)(e,o(t,3))}},96680:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},96780:(e,t,r)=>{"use strict";r.d(t,{i:()=>c});let n=Math.PI,o=2*n,i=o-1e-6;function a(e){this._+=e[0];for(let t=1,r=e.length;t<r;++t)this._+=arguments[t]+e[t]}class l{constructor(e){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=null==e?a:function(e){let t=Math.floor(e);if(!(t>=0))throw Error(`invalid digits: ${e}`);if(t>15)return a;let r=10**t;return function(e){this._+=e[0];for(let t=1,n=e.length;t<n;++t)this._+=Math.round(arguments[t]*r)/r+e[t]}}(e)}moveTo(e,t){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+t}`}closePath(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(e,t){this._append`L${this._x1=+e},${this._y1=+t}`}quadraticCurveTo(e,t,r,n){this._append`Q${+e},${+t},${this._x1=+r},${this._y1=+n}`}bezierCurveTo(e,t,r,n,o,i){this._append`C${+e},${+t},${+r},${+n},${this._x1=+o},${this._y1=+i}`}arcTo(e,t,r,o,i){if(e*=1,t*=1,r*=1,o*=1,(i*=1)<0)throw Error(`negative radius: ${i}`);let a=this._x1,l=this._y1,c=r-e,s=o-t,u=a-e,f=l-t,p=u*u+f*f;if(null===this._x1)this._append`M${this._x1=e},${this._y1=t}`;else if(p>1e-6)if(Math.abs(f*c-s*u)>1e-6&&i){let d=r-a,h=o-l,y=c*c+s*s,m=Math.sqrt(y),g=Math.sqrt(p),v=i*Math.tan((n-Math.acos((y+p-(d*d+h*h))/(2*m*g)))/2),b=v/g,x=v/m;Math.abs(b-1)>1e-6&&this._append`L${e+b*u},${t+b*f}`,this._append`A${i},${i},0,0,${+(f*d>u*h)},${this._x1=e+x*c},${this._y1=t+x*s}`}else this._append`L${this._x1=e},${this._y1=t}`}arc(e,t,r,a,l,c){if(e*=1,t*=1,r*=1,c=!!c,r<0)throw Error(`negative radius: ${r}`);let s=r*Math.cos(a),u=r*Math.sin(a),f=e+s,p=t+u,d=1^c,h=c?a-l:l-a;null===this._x1?this._append`M${f},${p}`:(Math.abs(this._x1-f)>1e-6||Math.abs(this._y1-p)>1e-6)&&this._append`L${f},${p}`,r&&(h<0&&(h=h%o+o),h>i?this._append`A${r},${r},0,1,${d},${e-s},${t-u}A${r},${r},0,1,${d},${this._x1=f},${this._y1=p}`:h>1e-6&&this._append`A${r},${r},0,${+(h>=n)},${d},${this._x1=e+r*Math.cos(l)},${this._y1=t+r*Math.sin(l)}`)}rect(e,t,r,n){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+t}h${r*=1}v${+n}h${-r}Z`}toString(){return this._}}function c(e){let t=3;return e.digits=function(r){if(!arguments.length)return t;if(null==r)t=null;else{let e=Math.floor(r);if(!(e>=0))throw RangeError(`invalid digits: ${r}`);t=e}return e},()=>new l(t)}l.prototype},96802:(e,t,r)=>{var n=r(56010),o=r(84806),i=r(81529),a=r(39758),l=r(3966),c=r(44189),s=r(45221);e.exports=function(e,t){return a(e)&&l(t)?c(s(e),t):function(r){var a=o(r,e);return void 0===a&&a===t?i(r,e):n(t,a,3)}}},96943:(e,t,r)=>{"use strict";function n(e,t,{checkForDefaultPrevented:r=!0}={}){return function(n){if(e?.(n),!1===r||!n.defaultPrevented)return t?.(n)}}r.d(t,{mK:()=>n}),"undefined"!=typeof window&&window.document&&window.document.createElement},97002:(e,t,r)=>{var n=r(3966),o=r(48454);e.exports=function(e){for(var t=o(e),r=t.length;r--;){var i=t[r],a=e[i];t[r]=[i,a,n(a)]}return t}},97260:(e,t,r)=>{var n=r(29529),o=r(67467),i=r(55176),a=r(33611),l=r(58291),c=r(5011),s=r(37960),u=r(99607),f="[object Arguments]",p="[object Array]",d="[object Object]",h=Object.prototype.hasOwnProperty;e.exports=function(e,t,r,y,m,g){var v=c(e),b=c(t),x=v?p:l(e),w=b?p:l(t);x=x==f?d:x,w=w==f?d:w;var O=x==d,A=w==d,k=x==w;if(k&&s(e)){if(!s(t))return!1;v=!0,O=!1}if(k&&!O)return g||(g=new n),v||u(e)?o(e,t,r,y,m,g):i(e,t,x,r,y,m,g);if(!(1&r)){var S=O&&h.call(e,"__wrapped__"),E=A&&h.call(t,"__wrapped__");if(S||E){var j=S?e.value():e,P=E?t.value():t;return g||(g=new n),m(j,P,r,y,g)}}return!!k&&(g||(g=new n),a(e,t,r,y,m,g))}},97903:(e,t,r)=>{e=r.nmd(e);var n=r(28482),o=t&&!t.nodeType&&t,i=o&&e&&!e.nodeType&&e,a=i&&i.exports===o&&n.process,l=function(){try{var e=i&&i.require&&i.require("util").types;if(e)return e;return a&&a.binding&&a.binding("util")}catch(e){}}();e.exports=l},98363:(e,t,r)=>{"use strict";r.d(t,{m:()=>n});var n={isSsr:!("undefined"!=typeof window&&window.document&&window.document.createElement&&window.setTimeout),get:function(e){return n[e]},set:function(e,t){if("string"==typeof e)n[e]=t;else{var r=Object.keys(e);r&&r.length&&r.forEach(function(t){n[t]=e[t]})}}}},98633:(e,t,r)=>{"use strict";r.d(t,{qW:()=>p});var n,o=r(44213),i=r(96943),a=r(70636),l=r(86219),c=r(9818),s=r(59697),u="dismissableLayer.update",f=o.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),p=o.forwardRef((e,t)=>{var r,p;let{disableOutsidePointerEvents:y=!1,onEscapeKeyDown:m,onPointerDownOutside:g,onFocusOutside:v,onInteractOutside:b,onDismiss:x,...w}=e,O=o.useContext(f),[A,k]=o.useState(null),S=null!=(p=null==A?void 0:A.ownerDocument)?p:null==(r=globalThis)?void 0:r.document,[,E]=o.useState({}),j=(0,l.s)(t,e=>k(e)),P=Array.from(O.layers),[T]=[...O.layersWithOutsidePointerEventsDisabled].slice(-1),_=P.indexOf(T),M=A?P.indexOf(A):-1,C=O.layersWithOutsidePointerEventsDisabled.size>0,I=M>=_,N=function(e){var t;let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null==(t=globalThis)?void 0:t.document,n=(0,c.c)(e),i=o.useRef(!1),a=o.useRef(()=>{});return o.useEffect(()=>{let e=e=>{if(e.target&&!i.current){let t=function(){h("dismissableLayer.pointerDownOutside",n,o,{discrete:!0})},o={originalEvent:e};"touch"===e.pointerType?(r.removeEventListener("click",a.current),a.current=t,r.addEventListener("click",a.current,{once:!0})):t()}else r.removeEventListener("click",a.current);i.current=!1},t=window.setTimeout(()=>{r.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(t),r.removeEventListener("pointerdown",e),r.removeEventListener("click",a.current)}},[r,n]),{onPointerDownCapture:()=>i.current=!0}}(e=>{let t=e.target,r=[...O.branches].some(e=>e.contains(t));I&&!r&&(null==g||g(e),null==b||b(e),e.defaultPrevented||null==x||x())},S),D=function(e){var t;let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null==(t=globalThis)?void 0:t.document,n=(0,c.c)(e),i=o.useRef(!1);return o.useEffect(()=>{let e=e=>{e.target&&!i.current&&h("dismissableLayer.focusOutside",n,{originalEvent:e},{discrete:!1})};return r.addEventListener("focusin",e),()=>r.removeEventListener("focusin",e)},[r,n]),{onFocusCapture:()=>i.current=!0,onBlurCapture:()=>i.current=!1}}(e=>{let t=e.target;![...O.branches].some(e=>e.contains(t))&&(null==v||v(e),null==b||b(e),e.defaultPrevented||null==x||x())},S);return!function(e,t=globalThis?.document){let r=(0,c.c)(e);o.useEffect(()=>{let e=e=>{"Escape"===e.key&&r(e)};return t.addEventListener("keydown",e,{capture:!0}),()=>t.removeEventListener("keydown",e,{capture:!0})},[r,t])}(e=>{M===O.layers.size-1&&(null==m||m(e),!e.defaultPrevented&&x&&(e.preventDefault(),x()))},S),o.useEffect(()=>{if(A)return y&&(0===O.layersWithOutsidePointerEventsDisabled.size&&(n=S.body.style.pointerEvents,S.body.style.pointerEvents="none"),O.layersWithOutsidePointerEventsDisabled.add(A)),O.layers.add(A),d(),()=>{y&&1===O.layersWithOutsidePointerEventsDisabled.size&&(S.body.style.pointerEvents=n)}},[A,S,y,O]),o.useEffect(()=>()=>{A&&(O.layers.delete(A),O.layersWithOutsidePointerEventsDisabled.delete(A),d())},[A,O]),o.useEffect(()=>{let e=()=>E({});return document.addEventListener(u,e),()=>document.removeEventListener(u,e)},[]),(0,s.jsx)(a.sG.div,{...w,ref:j,style:{pointerEvents:C?I?"auto":"none":void 0,...e.style},onFocusCapture:(0,i.mK)(e.onFocusCapture,D.onFocusCapture),onBlurCapture:(0,i.mK)(e.onBlurCapture,D.onBlurCapture),onPointerDownCapture:(0,i.mK)(e.onPointerDownCapture,N.onPointerDownCapture)})});function d(){let e=new CustomEvent(u);document.dispatchEvent(e)}function h(e,t,r,n){let{discrete:o}=n,i=r.originalEvent.target,l=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&i.addEventListener(e,t,{once:!0}),o?(0,a.hO)(i,l):i.dispatchEvent(l)}p.displayName="DismissableLayer",o.forwardRef((e,t)=>{let r=o.useContext(f),n=o.useRef(null),i=(0,l.s)(t,n);return o.useEffect(()=>{let e=n.current;if(e)return r.branches.add(e),()=>{r.branches.delete(e)}},[r.branches]),(0,s.jsx)(a.sG.div,{...e,ref:i})}).displayName="DismissableLayerBranch"},98812:e=>{e.exports=function(e,t,r,n){for(var o=e.length,i=r+(n?1:-1);n?i--:++i<o;)if(t(e[i],i,e))return i;return -1}},99110:(e,t,r)=>{"use strict";r.d(t,{N:()=>o});var n=r(44213),o=globalThis?.document?n.useLayoutEffect:()=>{}},99148:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},99455:(e,t,r)=>{"use strict";r.d(t,{A:()=>a,q:()=>i});var n=r(44213),o=r(59697);function i(e,t){let r=n.createContext(t),i=e=>{let{children:t,...i}=e,a=n.useMemo(()=>i,Object.values(i));return(0,o.jsx)(r.Provider,{value:a,children:t})};return i.displayName=e+"Provider",[i,function(o){let i=n.useContext(r);if(i)return i;if(void 0!==t)return t;throw Error(`\`${o}\` must be used within \`${e}\``)}]}function a(e,t=[]){let r=[],i=()=>{let t=r.map(e=>n.createContext(e));return function(r){let o=r?.[e]||t;return n.useMemo(()=>({[`__scope${e}`]:{...r,[e]:o}}),[r,o])}};return i.scopeName=e,[function(t,i){let a=n.createContext(i),l=r.length;r=[...r,i];let c=t=>{let{scope:r,children:i,...c}=t,s=r?.[e]?.[l]||a,u=n.useMemo(()=>c,Object.values(c));return(0,o.jsx)(s.Provider,{value:u,children:i})};return c.displayName=t+"Provider",[c,function(r,o){let c=o?.[e]?.[l]||a,s=n.useContext(c);if(s)return s;if(void 0!==i)return i;throw Error(`\`${r}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let r=()=>{let r=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let o=r.reduce((t,{useScope:r,scopeName:n})=>{let o=r(e)[`__scope${n}`];return{...t,...o}},{});return n.useMemo(()=>({[`__scope${t.scopeName}`]:o}),[o])}};return r.scopeName=t.scopeName,r}(i,...t)]}},99607:(e,t,r)=>{var n=r(6607),o=r(2609),i=r(97903),a=i&&i.isTypedArray;e.exports=a?o(a):n}}]);