drizzle-cube 0.5.3 → 0.5.4

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 (135) hide show
  1. package/dist/adapters/express/index.cjs +2 -2
  2. package/dist/adapters/express/index.js +105 -104
  3. package/dist/adapters/fastify/index.cjs +2 -2
  4. package/dist/adapters/fastify/index.js +107 -106
  5. package/dist/adapters/{google-CBfBGU4F.js → google-CT4kgmBf.js} +1 -1
  6. package/dist/adapters/{google-BOAwi9Ib.cjs → google-Dgo9-Kb5.cjs} +1 -1
  7. package/dist/adapters/{handler-Cqf-CqAS.cjs → handler-CNn3q29F.cjs} +13 -13
  8. package/dist/adapters/{handler-BC3nFNxV.js → handler-_TKfigrZ.js} +33 -34
  9. package/dist/adapters/hono/index.cjs +1 -1
  10. package/dist/adapters/hono/index.js +99 -98
  11. package/dist/adapters/{locale-D9VQkLXt.js → locale-BQQrZYhz.js} +1 -1
  12. package/dist/adapters/{locale-BoiA6WiV.cjs → locale-Dl_3R6hP.cjs} +7 -7
  13. package/dist/adapters/mcp-tools.cjs +1 -1
  14. package/dist/adapters/mcp-tools.js +2 -2
  15. package/dist/adapters/mcp-transport-CkyawtUT.cjs +40 -0
  16. package/dist/adapters/mcp-transport-DSbd6M_u.js +586 -0
  17. package/dist/adapters/mcp-transport.d.ts +22 -0
  18. package/dist/adapters/nextjs/index.cjs +1 -1
  19. package/dist/adapters/nextjs/index.js +136 -135
  20. package/dist/adapters/{openai-B4N3KfTG.cjs → openai-BjLV_Wjx.cjs} +1 -1
  21. package/dist/adapters/{openai-BWdm0JvG.js → openai-DQawCWQb.js} +1 -1
  22. package/dist/adapters/{utils-CTYvfZ3I.js → utils-DG8ti3FT.js} +1097 -661
  23. package/dist/adapters/utils-DrWvXf0G.cjs +128 -0
  24. package/dist/adapters/utils.cjs +1 -1
  25. package/dist/adapters/utils.d.ts +46 -4
  26. package/dist/adapters/utils.js +1 -1
  27. package/dist/client/charts.js +12 -12
  28. package/dist/client/chunks/{DashboardEditModal-IU_0dgfC.js → DashboardEditModal-BBcB0E2g.js} +10 -10
  29. package/dist/client/chunks/{DashboardEditModal-IU_0dgfC.js.map → DashboardEditModal-BBcB0E2g.js.map} +1 -1
  30. package/dist/client/chunks/{FieldSearchModal-BCWanpPX.js → FieldSearchModal-CisOov-_.js} +4 -4
  31. package/dist/client/chunks/{FieldSearchModal-BCWanpPX.js.map → FieldSearchModal-CisOov-_.js.map} +1 -1
  32. package/dist/client/chunks/KpiDelta-D09hA_UJ.js +2 -0
  33. package/dist/client/chunks/KpiNumber-B7F9F9fC.js +2 -0
  34. package/dist/client/chunks/KpiText-C3ZXOF8b.js +2 -0
  35. package/dist/client/chunks/{RetentionCombinedChart-CQMBODsK.js → RetentionCombinedChart-DiyZwiPv.js} +3 -3
  36. package/dist/client/chunks/{RetentionCombinedChart-CQMBODsK.js.map → RetentionCombinedChart-DiyZwiPv.js.map} +1 -1
  37. package/dist/client/chunks/{RetentionHeatmap-B_5sewwi.js → RetentionHeatmap-usGF7BCo.js} +2 -2
  38. package/dist/client/chunks/{RetentionHeatmap-B_5sewwi.js.map → RetentionHeatmap-usGF7BCo.js.map} +1 -1
  39. package/dist/client/chunks/SchemaVisualization-DP4k1fPp.js +2 -0
  40. package/dist/client/chunks/SchemaVisualizationLazy-Brqv_PY9.js +2 -0
  41. package/dist/client/chunks/{analysis-builder-Dm6eD_AX.js → analysis-builder-0o1W-k3K.js} +8 -8
  42. package/dist/client/chunks/{analysis-builder-Dm6eD_AX.js.map → analysis-builder-0o1W-k3K.js.map} +1 -1
  43. package/dist/client/chunks/{analysis-builder-shared-DT5bXwCA.js → analysis-builder-shared-Cz4KAlIC.js} +9 -9
  44. package/dist/client/chunks/{analysis-builder-shared-DT5bXwCA.js.map → analysis-builder-shared-Cz4KAlIC.js.map} +1 -1
  45. package/dist/client/chunks/{chart-activity-grid-CWT0gLv4.js → chart-activity-grid-VFFm85hC.js} +18 -3
  46. package/dist/client/chunks/{chart-activity-grid-CWT0gLv4.js.map → chart-activity-grid-VFFm85hC.js.map} +1 -1
  47. package/dist/client/chunks/{chart-area-DDti9Qtp.js → chart-area-CwwIHTmK.js} +2 -2
  48. package/dist/client/chunks/{chart-area-DDti9Qtp.js.map → chart-area-CwwIHTmK.js.map} +1 -1
  49. package/dist/client/chunks/{chart-bar-B3s9qDlh.js → chart-bar-Bmny922L.js} +3 -3
  50. package/dist/client/chunks/{chart-bar-B3s9qDlh.js.map → chart-bar-Bmny922L.js.map} +1 -1
  51. package/dist/client/chunks/{chart-box-plot-o-h9MRX5.js → chart-box-plot-DM7GwtCV.js} +2 -2
  52. package/dist/client/chunks/{chart-box-plot-o-h9MRX5.js.map → chart-box-plot-DM7GwtCV.js.map} +1 -1
  53. package/dist/client/chunks/{chart-bubble-CMDp4Pfm.js → chart-bubble-DJOq4IpT.js} +2 -2
  54. package/dist/client/chunks/{chart-bubble-CMDp4Pfm.js.map → chart-bubble-DJOq4IpT.js.map} +1 -1
  55. package/dist/client/chunks/{chart-candlestick-WyANJ0Ky.js → chart-candlestick-C2nzVCv1.js} +2 -2
  56. package/dist/client/chunks/{chart-candlestick-WyANJ0Ky.js.map → chart-candlestick-C2nzVCv1.js.map} +1 -1
  57. package/dist/client/chunks/{chart-data-table-Qrt6EAno.js → chart-data-table-zZtwLf55.js} +30 -30
  58. package/dist/client/chunks/chart-data-table-zZtwLf55.js.map +1 -0
  59. package/dist/client/chunks/{chart-funnel-C7pgktN5.js → chart-funnel-COTJy8BP.js} +2 -2
  60. package/dist/client/chunks/{chart-funnel-C7pgktN5.js.map → chart-funnel-COTJy8BP.js.map} +1 -1
  61. package/dist/client/chunks/{chart-gauge-D2r2B_AR.js → chart-gauge-C8lIneI0.js} +2 -2
  62. package/dist/client/chunks/{chart-gauge-D2r2B_AR.js.map → chart-gauge-C8lIneI0.js.map} +1 -1
  63. package/dist/client/chunks/{chart-heat-map-Dw2yjwfO.js → chart-heat-map-BJXt3RMt.js} +2 -2
  64. package/dist/client/chunks/{chart-heat-map-Dw2yjwfO.js.map → chart-heat-map-BJXt3RMt.js.map} +1 -1
  65. package/dist/client/chunks/{chart-kpi-delta-CgldZ7zO.js → chart-kpi-delta-DHkNqufb.js} +3 -3
  66. package/dist/client/chunks/{chart-kpi-delta-CgldZ7zO.js.map → chart-kpi-delta-DHkNqufb.js.map} +1 -1
  67. package/dist/client/chunks/{chart-kpi-number-ByfuX1ki.js → chart-kpi-number-BrXw7m-S.js} +5 -5
  68. package/dist/client/chunks/{chart-kpi-number-ByfuX1ki.js.map → chart-kpi-number-BrXw7m-S.js.map} +1 -1
  69. package/dist/client/chunks/{chart-kpi-text-DeNuDraJ.js → chart-kpi-text-D0plngLV.js} +3 -3
  70. package/dist/client/chunks/{chart-kpi-text-DeNuDraJ.js.map → chart-kpi-text-D0plngLV.js.map} +1 -1
  71. package/dist/client/chunks/{chart-line-RdZwtk27.js → chart-line-DKvW32U-.js} +3 -3
  72. package/dist/client/chunks/{chart-line-RdZwtk27.js.map → chart-line-DKvW32U-.js.map} +1 -1
  73. package/dist/client/chunks/{chart-markdown-CiGRZdJj.js → chart-markdown-CJU2hUq3.js} +2 -2
  74. package/dist/client/chunks/{chart-markdown-CiGRZdJj.js.map → chart-markdown-CJU2hUq3.js.map} +1 -1
  75. package/dist/client/chunks/{chart-measure-profile-Ckjw9bX6.js → chart-measure-profile-DNT_tbh4.js} +3 -3
  76. package/dist/client/chunks/{chart-measure-profile-Ckjw9bX6.js.map → chart-measure-profile-DNT_tbh4.js.map} +1 -1
  77. package/dist/client/chunks/{chart-pie-BvY4FY__.js → chart-pie-CzYnncO-.js} +3 -3
  78. package/dist/client/chunks/{chart-pie-BvY4FY__.js.map → chart-pie-CzYnncO-.js.map} +1 -1
  79. package/dist/client/chunks/{chart-radar-DjiiEAmc.js → chart-radar-8iAt3QZl.js} +3 -3
  80. package/dist/client/chunks/{chart-radar-DjiiEAmc.js.map → chart-radar-8iAt3QZl.js.map} +1 -1
  81. package/dist/client/chunks/{chart-radial-bar-lla_JEYu.js → chart-radial-bar-CJbG7RIe.js} +3 -3
  82. package/dist/client/chunks/{chart-radial-bar-lla_JEYu.js.map → chart-radial-bar-CJbG7RIe.js.map} +1 -1
  83. package/dist/client/chunks/{chart-sankey-WwkZAhLy.js → chart-sankey-C-wLBUmb.js} +2 -2
  84. package/dist/client/chunks/{chart-sankey-WwkZAhLy.js.map → chart-sankey-C-wLBUmb.js.map} +1 -1
  85. package/dist/client/chunks/{chart-scatter-DwXnI0rr.js → chart-scatter-NMjD1lbW.js} +3 -3
  86. package/dist/client/chunks/{chart-scatter-DwXnI0rr.js.map → chart-scatter-NMjD1lbW.js.map} +1 -1
  87. package/dist/client/chunks/{chart-sunburst-CIDB_pTl.js → chart-sunburst-HtJ-LJ7n.js} +3 -3
  88. package/dist/client/chunks/{chart-sunburst-CIDB_pTl.js.map → chart-sunburst-HtJ-LJ7n.js.map} +1 -1
  89. package/dist/client/chunks/{chart-tree-map-DJHoA26f.js → chart-tree-map-CetaLMt8.js} +3 -3
  90. package/dist/client/chunks/{chart-tree-map-DJHoA26f.js.map → chart-tree-map-CetaLMt8.js.map} +1 -1
  91. package/dist/client/chunks/{chart-waterfall-Y7c8csO5.js → chart-waterfall-ontNp1Sd.js} +3 -3
  92. package/dist/client/chunks/{chart-waterfall-Y7c8csO5.js.map → chart-waterfall-ontNp1Sd.js.map} +1 -1
  93. package/dist/client/chunks/{charts-core-BXOqaYFn.js → charts-core-B5UXUg6_.js} +2 -2
  94. package/dist/client/chunks/{charts-core-BXOqaYFn.js.map → charts-core-B5UXUg6_.js.map} +1 -1
  95. package/dist/client/chunks/{nl-NL-vCifBijs.js → nl-NL-DDf0OdfW.js} +17 -2
  96. package/dist/client/chunks/{nl-NL-vCifBijs.js.map → nl-NL-DDf0OdfW.js.map} +1 -1
  97. package/dist/client/chunks/{schema-visualization-DWwJukK7.js → schema-visualization-cnB2xZxn.js} +4 -4
  98. package/dist/client/chunks/{schema-visualization-DWwJukK7.js.map → schema-visualization-cnB2xZxn.js.map} +1 -1
  99. package/dist/client/chunks/{useDebounce-DyJVREop.js → useDebounce-BOBSvhHy.js} +4 -4
  100. package/dist/client/chunks/{useDebounce-DyJVREop.js.map → useDebounce-BOBSvhHy.js.map} +1 -1
  101. package/dist/client/chunks/{useExplainAI-CxSkjocM.js → useExplainAI-B_Pi4eXW.js} +4 -4
  102. package/dist/client/chunks/{useExplainAI-CxSkjocM.js.map → useExplainAI-B_Pi4eXW.js.map} +1 -1
  103. package/dist/client/chunks/{utils-BHZdKxua.js → utils-BIuqPQuJ.js} +2 -2
  104. package/dist/client/chunks/{utils-BHZdKxua.js.map → utils-BIuqPQuJ.js.map} +1 -1
  105. package/dist/client/chunks/{vendor-CBD_Olr0.js → vendor-BxLCTfvm.js} +2 -2
  106. package/dist/client/chunks/{vendor-CBD_Olr0.js.map → vendor-BxLCTfvm.js.map} +1 -1
  107. package/dist/client/components.js +3 -3
  108. package/dist/client/hooks.js +3 -3
  109. package/dist/client/icons.js +1 -1
  110. package/dist/client/index.js +14 -14
  111. package/dist/client/providers.js +1 -1
  112. package/dist/client/schema.js +1 -1
  113. package/dist/client/utils.js +5 -5
  114. package/dist/client-bundle-stats.html +1 -1
  115. package/dist/mcp-app/mcp-app.html +23 -23
  116. package/dist/server/index.cjs +134 -133
  117. package/dist/server/index.js +1000 -946
  118. package/package.json +1 -1
  119. package/dist/adapters/mcp-prompts-BUFyQLHQ.js +0 -377
  120. package/dist/adapters/mcp-prompts-B_NvEJT_.cjs +0 -111
  121. package/dist/adapters/mcp-transport-B0mgxRnJ.js +0 -579
  122. package/dist/adapters/mcp-transport-irsahKmD.cjs +0 -39
  123. package/dist/adapters/utils-XPOzzMdY.cjs +0 -17
  124. package/dist/client/chunks/KpiDelta-_igN6cJa.js +0 -2
  125. package/dist/client/chunks/KpiNumber-t5n8PtRU.js +0 -2
  126. package/dist/client/chunks/KpiText-BCZJJ6a0.js +0 -2
  127. package/dist/client/chunks/SchemaVisualization-BUUhlOvG.js +0 -2
  128. package/dist/client/chunks/SchemaVisualizationLazy-CwaPCUL0.js +0 -2
  129. package/dist/client/chunks/chart-data-table-Qrt6EAno.js.map +0 -1
  130. /package/dist/adapters/{anthropic-Cto4Jxqt.cjs → anthropic-BIva8k1r.cjs} +0 -0
  131. /package/dist/adapters/{anthropic-DpEbCVvF.js → anthropic-B_rg0BhK.js} +0 -0
  132. /package/dist/adapters/{dist-BnyV9wfA.cjs → dist-Boc63-1q.cjs} +0 -0
  133. /package/dist/adapters/{dist-DjVh2RFz.js → dist-De5fzUEM.js} +0 -0
  134. /package/dist/adapters/{openai-CoqT_FM5.cjs → openai-Bgri5TJc.cjs} +0 -0
  135. /package/dist/adapters/{openai-D0Nsvc9L.js → openai-CuUGrKaK.js} +0 -0
@@ -0,0 +1,586 @@
1
+ import { S as e, b as t, c as n, d as r, h as i, p as a, x as o } from "./utils-DG8ti3FT.js";
2
+ //#region src/mcp-app/generated-html.ts
3
+ var s = "<!DOCTYPE html>\n<html lang=\"en\">\n <head>\n <meta charset=\"UTF-8\" />\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\" />\n <title>Drizzle Cube Visualization</title>\n <script type=\"module\" crossorigin>var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,t)=>()=>(e&&(t=e(e=0)),t),s=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),c=(e,n)=>{let r={};for(var i in e)t(r,i,{get:e[i],enumerable:!0});return n||t(r,Symbol.toStringTag,{value:`Module`}),r},l=(e,i,o,s)=>{if(i&&typeof i==`object`||typeof i==`function`)for(var c=r(i),l=0,u=c.length,d;l<u;l++)d=c[l],!a.call(e,d)&&d!==o&&t(e,d,{get:(e=>i[e]).bind(null,d),enumerable:!(s=n(i,d))||s.enumerable});return e},u=(n,r,a)=>(a=n==null?{}:e(i(n)),l(r||!n||!n.__esModule?t(a,`default`,{value:n,enumerable:!0}):a,n));(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel=\"modulepreload\"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),e.crossOrigin===`use-credentials`?t.credentials=`include`:e.crossOrigin===`anonymous`?t.credentials=`omit`:t.credentials=`same-origin`,t}function n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();var d=s((e=>{var t=Symbol.for(`react.element`),n=Symbol.for(`react.portal`),r=Symbol.for(`react.fragment`),i=Symbol.for(`react.strict_mode`),a=Symbol.for(`react.profiler`),o=Symbol.for(`react.provider`),s=Symbol.for(`react.context`),c=Symbol.for(`react.forward_ref`),l=Symbol.for(`react.suspense`),u=Symbol.for(`react.memo`),d=Symbol.for(`react.lazy`),f=Symbol.iterator;function p(e){return typeof e!=`object`||!e?null:(e=f&&e[f]||e[`@@iterator`],typeof e==`function`?e:null)}var m={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},h=Object.assign,g={};function _(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||m}_.prototype.isReactComponent={},_.prototype.setState=function(e,t){if(typeof e!=`object`&&typeof e!=`function`&&e!=null)throw Error(`setState(...): takes an object of state variables to update or a function which returns an object of state variables.`);this.updater.enqueueSetState(this,e,t,`setState`)},_.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,`forceUpdate`)};function v(){}v.prototype=_.prototype;function y(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||m}var b=y.prototype=new v;b.constructor=y,h(b,_.prototype),b.isPureReactComponent=!0;var x=Array.isArray,S=Object.prototype.hasOwnProperty,C={current:null},w={key:!0,ref:!0,__self:!0,__source:!0};function T(e,n,r){var i,a={},o=null,s=null;if(n!=null)for(i in n.ref!==void 0&&(s=n.ref),n.key!==void 0&&(o=``+n.key),n)S.call(n,i)&&!w.hasOwnProperty(i)&&(a[i]=n[i]);var c=arguments.length-2;if(c===1)a.children=r;else if(1<c){for(var l=Array(c),u=0;u<c;u++)l[u]=arguments[u+2];a.children=l}if(e&&e.defaultProps)for(i in c=e.defaultProps,c)a[i]===void 0&&(a[i]=c[i]);return{$$typeof:t,type:e,key:o,ref:s,props:a,_owner:C.current}}function E(e,n){return{$$typeof:t,type:e.type,key:n,ref:e.ref,props:e.props,_owner:e._owner}}function D(e){return typeof e==`object`&&!!e&&e.$$typeof===t}function O(e){var t={\"=\":`=0`,\":\":`=2`};return`$`+e.replace(/[=:]/g,function(e){return t[e]})}var k=/\\/+/g;function A(e,t){return typeof e==`object`&&e&&e.key!=null?O(``+e.key):t.toString(36)}function j(e,r,i,a,o){var s=typeof e;(s===`undefined`||s===`boolean`)&&(e=null);var c=!1;if(e===null)c=!0;else switch(s){case`string`:case`number`:c=!0;break;case`object`:switch(e.$$typeof){case t:case n:c=!0}}if(c)return c=e,o=o(c),e=a===``?`.`+A(c,0):a,x(o)?(i=``,e!=null&&(i=e.replace(k,`$&/`)+`/`),j(o,r,i,``,function(e){return e})):o!=null&&(D(o)&&(o=E(o,i+(!o.key||c&&c.key===o.key?``:(``+o.key).replace(k,`$&/`)+`/`)+e)),r.push(o)),1;if(c=0,a=a===``?`.`:a+`:`,x(e))for(var l=0;l<e.length;l++){s=e[l];var u=a+A(s,l);c+=j(s,r,i,u,o)}else if(u=p(e),typeof u==`function`)for(e=u.call(e),l=0;!(s=e.next()).done;)s=s.value,u=a+A(s,l++),c+=j(s,r,i,u,o);else if(s===`object`)throw r=String(e),Error(`Objects are not valid as a React child (found: `+(r===`[object Object]`?`object with keys {`+Object.keys(e).join(`, `)+`}`:r)+`). If you meant to render a collection of children, use an array instead.`);return c}function M(e,t,n){if(e==null)return e;var r=[],i=0;return j(e,r,``,``,function(e){return t.call(n,e,i++)}),r}function N(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(t){(e._status===0||e._status===-1)&&(e._status=1,e._result=t)},function(t){(e._status===0||e._status===-1)&&(e._status=2,e._result=t)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var ee={current:null},te={transition:null},ne={ReactCurrentDispatcher:ee,ReactCurrentBatchConfig:te,ReactCurrentOwner:C};function re(){throw Error(`act(...) is not supported in production builds of React.`)}e.Children={map:M,forEach:function(e,t,n){M(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return M(e,function(){t++}),t},toArray:function(e){return M(e,function(e){return e})||[]},only:function(e){if(!D(e))throw Error(`React.Children.only expected to receive a single React element child.`);return e}},e.Component=_,e.Fragment=r,e.Profiler=a,e.PureComponent=y,e.StrictMode=i,e.Suspense=l,e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ne,e.act=re,e.cloneElement=function(e,n,r){if(e==null)throw Error(`React.cloneElement(...): The argument must be a React element, but you passed `+e+`.`);var i=h({},e.props),a=e.key,o=e.ref,s=e._owner;if(n!=null){if(n.ref!==void 0&&(o=n.ref,s=C.current),n.key!==void 0&&(a=``+n.key),e.type&&e.type.defaultProps)var c=e.type.defaultProps;for(l in n)S.call(n,l)&&!w.hasOwnProperty(l)&&(i[l]=n[l]===void 0&&c!==void 0?c[l]:n[l])}var l=arguments.length-2;if(l===1)i.children=r;else if(1<l){c=Array(l);for(var u=0;u<l;u++)c[u]=arguments[u+2];i.children=c}return{$$typeof:t,type:e.type,key:a,ref:o,props:i,_owner:s}},e.createContext=function(e){return e={$$typeof:s,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:o,_context:e},e.Consumer=e},e.createElement=T,e.createFactory=function(e){var t=T.bind(null,e);return t.type=e,t},e.createRef=function(){return{current:null}},e.forwardRef=function(e){return{$$typeof:c,render:e}},e.isValidElement=D,e.lazy=function(e){return{$$typeof:d,_payload:{_status:-1,_result:e},_init:N}},e.memo=function(e,t){return{$$typeof:u,type:e,compare:t===void 0?null:t}},e.startTransition=function(e){var t=te.transition;te.transition={};try{e()}finally{te.transition=t}},e.unstable_act=re,e.useCallback=function(e,t){return ee.current.useCallback(e,t)},e.useContext=function(e){return ee.current.useContext(e)},e.useDebugValue=function(){},e.useDeferredValue=function(e){return ee.current.useDeferredValue(e)},e.useEffect=function(e,t){return ee.current.useEffect(e,t)},e.useId=function(){return ee.current.useId()},e.useImperativeHandle=function(e,t,n){return ee.current.useImperativeHandle(e,t,n)},e.useInsertionEffect=function(e,t){return ee.current.useInsertionEffect(e,t)},e.useLayoutEffect=function(e,t){return ee.current.useLayoutEffect(e,t)},e.useMemo=function(e,t){return ee.current.useMemo(e,t)},e.useReducer=function(e,t,n){return ee.current.useReducer(e,t,n)},e.useRef=function(e){return ee.current.useRef(e)},e.useState=function(e){return ee.current.useState(e)},e.useSyncExternalStore=function(e,t,n){return ee.current.useSyncExternalStore(e,t,n)},e.useTransition=function(){return ee.current.useTransition()},e.version=`18.3.1`})),f=s(((e,t)=>{t.exports=d()})),p=s((e=>{function t(e,t){var n=e.length;e.push(t);a:for(;0<n;){var r=n-1>>>1,a=e[r];if(0<i(a,t))e[r]=t,e[n]=a,n=r;else break a}}function n(e){return e.length===0?null:e[0]}function r(e){if(e.length===0)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;a:for(var r=0,a=e.length,o=a>>>1;r<o;){var s=2*(r+1)-1,c=e[s],l=s+1,u=e[l];if(0>i(c,n))l<a&&0>i(u,c)?(e[r]=u,e[l]=n,r=l):(e[r]=c,e[s]=n,r=s);else if(l<a&&0>i(u,n))e[r]=u,e[l]=n,r=l;else break a}}return t}function i(e,t){var n=e.sortIndex-t.sortIndex;return n===0?e.id-t.id:n}if(typeof performance==`object`&&typeof performance.now==`function`){var a=performance;e.unstable_now=function(){return a.now()}}else{var o=Date,s=o.now();e.unstable_now=function(){return o.now()-s}}var c=[],l=[],u=1,d=null,f=3,p=!1,m=!1,h=!1,g=typeof setTimeout==`function`?setTimeout:null,_=typeof clearTimeout==`function`?clearTimeout:null,v=typeof setImmediate<`u`?setImmediate:null;typeof navigator<`u`&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function y(e){for(var i=n(l);i!==null;){if(i.callback===null)r(l);else if(i.startTime<=e)r(l),i.sortIndex=i.expirationTime,t(c,i);else break;i=n(l)}}function b(e){if(h=!1,y(e),!m)if(n(c)!==null)m=!0,M(x);else{var t=n(l);t!==null&&N(b,t.startTime-e)}}function x(t,i){m=!1,h&&(h=!1,_(w),w=-1),p=!0;var a=f;try{for(y(i),d=n(c);d!==null&&(!(d.expirationTime>i)||t&&!D());){var o=d.callback;if(typeof o==`function`){d.callback=null,f=d.priorityLevel;var s=o(d.expirationTime<=i);i=e.unstable_now(),typeof s==`function`?d.callback=s:d===n(c)&&r(c),y(i)}else r(c);d=n(c)}if(d!==null)var u=!0;else{var g=n(l);g!==null&&N(b,g.startTime-i),u=!1}return u}finally{d=null,f=a,p=!1}}var S=!1,C=null,w=-1,T=5,E=-1;function D(){return!(e.unstable_now()-E<T)}function O(){if(C!==null){var t=e.unstable_now();E=t;var n=!0;try{n=C(!0,t)}finally{n?k():(S=!1,C=null)}}else S=!1}var k;if(typeof v==`function`)k=function(){v(O)};else if(typeof MessageChannel<`u`){var A=new MessageChannel,j=A.port2;A.port1.onmessage=O,k=function(){j.postMessage(null)}}else k=function(){g(O,0)};function M(e){C=e,S||(S=!0,k())}function N(t,n){w=g(function(){t(e.unstable_now())},n)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(e){e.callback=null},e.unstable_continueExecution=function(){m||p||(m=!0,M(x))},e.unstable_forceFrameRate=function(e){0>e||125<e?console.error(`forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported`):T=0<e?Math.floor(1e3/e):5},e.unstable_getCurrentPriorityLevel=function(){return f},e.unstable_getFirstCallbackNode=function(){return n(c)},e.unstable_next=function(e){switch(f){case 1:case 2:case 3:var t=3;break;default:t=f}var n=f;f=t;try{return e()}finally{f=n}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=f;f=e;try{return t()}finally{f=n}},e.unstable_scheduleCallback=function(r,i,a){var o=e.unstable_now();switch(typeof a==`object`&&a?(a=a.delay,a=typeof a==`number`&&0<a?o+a:o):a=o,r){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return s=a+s,r={id:u++,callback:i,priorityLevel:r,startTime:a,expirationTime:s,sortIndex:-1},a>o?(r.sortIndex=a,t(l,r),n(c)===null&&r===n(l)&&(h?(_(w),w=-1):h=!0,N(b,a-o))):(r.sortIndex=s,t(c,r),m||p||(m=!0,M(x))),r},e.unstable_shouldYield=D,e.unstable_wrapCallback=function(e){var t=f;return function(){var n=f;f=t;try{return e.apply(this,arguments)}finally{f=n}}}})),m=s(((e,t)=>{t.exports=p()})),h=s((e=>{var t=f(),n=m();function r(e){for(var t=`https://reactjs.org/docs/error-decoder.html?invariant=`+e,n=1;n<arguments.length;n++)t+=`&args[]=`+encodeURIComponent(arguments[n]);return`Minified React error #`+e+`; visit `+t+` for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`}var i=new Set,a={};function o(e,t){s(e,t),s(e+`Capture`,t)}function s(e,t){for(a[e]=t,e=0;e<t.length;e++)i.add(t[e])}var c=!(typeof window>`u`||window.document===void 0||window.document.createElement===void 0),l=Object.prototype.hasOwnProperty,u=/^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$/,d={},p={};function h(e){return l.call(p,e)?!0:l.call(d,e)?!1:u.test(e)?p[e]=!0:(d[e]=!0,!1)}function g(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case`function`:case`symbol`:return!0;case`boolean`:return r?!1:n===null?(e=e.toLowerCase().slice(0,5),e!==`data-`&&e!==`aria-`):!n.acceptsBooleans;default:return!1}}function _(e,t,n,r){if(t==null||g(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function v(e,t,n,r,i,a,o){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=a,this.removeEmptyString=o}var y={};`children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style`.split(` `).forEach(function(e){y[e]=new v(e,0,!1,e,null,!1,!1)}),[[`acceptCharset`,`accept-charset`],[`className`,`class`],[`htmlFor`,`for`],[`httpEquiv`,`http-equiv`]].forEach(function(e){var t=e[0];y[t]=new v(t,1,!1,e[1],null,!1,!1)}),[`contentEditable`,`draggable`,`spellCheck`,`value`].forEach(function(e){y[e]=new v(e,2,!1,e.toLowerCase(),null,!1,!1)}),[`autoReverse`,`externalResourcesRequired`,`focusable`,`preserveAlpha`].forEach(function(e){y[e]=new v(e,2,!1,e,null,!1,!1)}),`allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope`.split(` `).forEach(function(e){y[e]=new v(e,3,!1,e.toLowerCase(),null,!1,!1)}),[`checked`,`multiple`,`muted`,`selected`].forEach(function(e){y[e]=new v(e,3,!0,e,null,!1,!1)}),[`capture`,`download`].forEach(function(e){y[e]=new v(e,4,!1,e,null,!1,!1)}),[`cols`,`rows`,`size`,`span`].forEach(function(e){y[e]=new v(e,6,!1,e,null,!1,!1)}),[`rowSpan`,`start`].forEach(function(e){y[e]=new v(e,5,!1,e.toLowerCase(),null,!1,!1)});var b=/[\\-:]([a-z])/g;function x(e){return e[1].toUpperCase()}`accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height`.split(` `).forEach(function(e){var t=e.replace(b,x);y[t]=new v(t,1,!1,e,null,!1,!1)}),`xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type`.split(` `).forEach(function(e){var t=e.replace(b,x);y[t]=new v(t,1,!1,e,`http://www.w3.org/1999/xlink`,!1,!1)}),[`xml:base`,`xml:lang`,`xml:space`].forEach(function(e){var t=e.replace(b,x);y[t]=new v(t,1,!1,e,`http://www.w3.org/XML/1998/namespace`,!1,!1)}),[`tabIndex`,`crossOrigin`].forEach(function(e){y[e]=new v(e,1,!1,e.toLowerCase(),null,!1,!1)}),y.xlinkHref=new v(`xlinkHref`,1,!1,`xlink:href`,`http://www.w3.org/1999/xlink`,!0,!1),[`src`,`href`,`action`,`formAction`].forEach(function(e){y[e]=new v(e,1,!1,e.toLowerCase(),null,!0,!0)});function S(e,t,n,r){var i=y.hasOwnProperty(t)?y[t]:null;(i===null?r||!(2<t.length)||t[0]!==`o`&&t[0]!==`O`||t[1]!==`n`&&t[1]!==`N`:i.type!==0)&&(_(t,n,i,r)&&(n=null),r||i===null?h(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,``+n)):i.mustUseProperty?e[i.propertyName]=n===null?i.type===3?!1:``:n:(t=i.attributeName,r=i.attributeNamespace,n===null?e.removeAttribute(t):(i=i.type,n=i===3||i===4&&!0===n?``:``+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var C=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,w=Symbol.for(`react.element`),T=Symbol.for(`react.portal`),E=Symbol.for(`react.fragment`),D=Symbol.for(`react.strict_mode`),O=Symbol.for(`react.profiler`),k=Symbol.for(`react.provider`),A=Symbol.for(`react.context`),j=Symbol.for(`react.forward_ref`),M=Symbol.for(`react.suspense`),N=Symbol.for(`react.suspense_list`),ee=Symbol.for(`react.memo`),te=Symbol.for(`react.lazy`),ne=Symbol.for(`react.offscreen`),re=Symbol.iterator;function ie(e){return typeof e!=`object`||!e?null:(e=re&&e[re]||e[`@@iterator`],typeof e==`function`?e:null)}var ae=Object.assign,oe;function se(e){if(oe===void 0)try{throw Error()}catch(e){var t=e.stack.trim().match(/\\n( *(at )?)/);oe=t&&t[1]||``}return`\n`+oe+e}var ce=!1;function P(e,t){if(!e||ce)return``;ce=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,`props`,{set:function(){throw Error()}}),typeof Reflect==`object`&&Reflect.construct){try{Reflect.construct(t,[])}catch(e){var r=e}Reflect.construct(e,[],t)}else{try{t.call()}catch(e){r=e}e.call(t.prototype)}else{try{throw Error()}catch(e){r=e}e()}}catch(t){if(t&&r&&typeof t.stack==`string`){for(var i=t.stack.split(`\n`),a=r.stack.split(`\n`),o=i.length-1,s=a.length-1;1<=o&&0<=s&&i[o]!==a[s];)s--;for(;1<=o&&0<=s;o--,s--)if(i[o]!==a[s]){if(o!==1||s!==1)do if(o--,s--,0>s||i[o]!==a[s]){var c=`\n`+i[o].replace(` at new `,` at `);return e.displayName&&c.includes(`<anonymous>`)&&(c=c.replace(`<anonymous>`,e.displayName)),c}while(1<=o&&0<=s);break}}}finally{ce=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:``)?se(e):``}function le(e){switch(e.tag){case 5:return se(e.type);case 16:return se(`Lazy`);case 13:return se(`Suspense`);case 19:return se(`SuspenseList`);case 0:case 2:case 15:return e=P(e.type,!1),e;case 11:return e=P(e.type.render,!1),e;case 1:return e=P(e.type,!0),e;default:return``}}function ue(e){if(e==null)return null;if(typeof e==`function`)return e.displayName||e.name||null;if(typeof e==`string`)return e;switch(e){case E:return`Fragment`;case T:return`Portal`;case O:return`Profiler`;case D:return`StrictMode`;case M:return`Suspense`;case N:return`SuspenseList`}if(typeof e==`object`)switch(e.$$typeof){case A:return(e.displayName||`Context`)+`.Consumer`;case k:return(e._context.displayName||`Context`)+`.Provider`;case j:var t=e.render;return e=e.displayName,e||=(e=t.displayName||t.name||``,e===``?`ForwardRef`:`ForwardRef(`+e+`)`),e;case ee:return t=e.displayName||null,t===null?ue(e.type)||`Memo`:t;case te:t=e._payload,e=e._init;try{return ue(e(t))}catch{}}return null}function de(e){var t=e.type;switch(e.tag){case 24:return`Cache`;case 9:return(t.displayName||`Context`)+`.Consumer`;case 10:return(t._context.displayName||`Context`)+`.Provider`;case 18:return`DehydratedFragment`;case 11:return e=t.render,e=e.displayName||e.name||``,t.displayName||(e===``?`ForwardRef`:`ForwardRef(`+e+`)`);case 7:return`Fragment`;case 5:return t;case 4:return`Portal`;case 3:return`Root`;case 6:return`Text`;case 16:return ue(t);case 8:return t===D?`StrictMode`:`Mode`;case 22:return`Offscreen`;case 12:return`Profiler`;case 21:return`Scope`;case 13:return`Suspense`;case 19:return`SuspenseList`;case 25:return`TracingMarker`;case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t==`function`)return t.displayName||t.name||null;if(typeof t==`string`)return t}return null}function fe(e){switch(typeof e){case`boolean`:case`number`:case`string`:case`undefined`:return e;case`object`:return e;default:return``}}function pe(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()===`input`&&(t===`checkbox`||t===`radio`)}function me(e){var t=pe(e)?`checked`:`value`,n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=``+e[t];if(!e.hasOwnProperty(t)&&n!==void 0&&typeof n.get==`function`&&typeof n.set==`function`){var i=n.get,a=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(e){r=``+e,a.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=``+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function he(e){e._valueTracker||=me(e)}function ge(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r=``;return e&&(r=pe(e)?e.checked?`true`:`false`:e.value),e=r,e===n?!1:(t.setValue(e),!0)}function _e(e){if(e||=typeof document<`u`?document:void 0,e===void 0)return null;try{return e.activeElement||e.body}catch{return e.body}}function ve(e,t){var n=t.checked;return ae({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function ye(e,t){var n=t.defaultValue==null?``:t.defaultValue,r=t.checked==null?t.defaultChecked:t.checked;n=fe(t.value==null?n:t.value),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type===`checkbox`||t.type===`radio`?t.checked!=null:t.value!=null}}function be(e,t){t=t.checked,t!=null&&S(e,`checked`,t,!1)}function xe(e,t){be(e,t);var n=fe(t.value),r=t.type;if(n!=null)r===`number`?(n===0&&e.value===``||e.value!=n)&&(e.value=``+n):e.value!==``+n&&(e.value=``+n);else if(r===`submit`||r===`reset`){e.removeAttribute(`value`);return}t.hasOwnProperty(`value`)?Ce(e,t.type,n):t.hasOwnProperty(`defaultValue`)&&Ce(e,t.type,fe(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Se(e,t,n){if(t.hasOwnProperty(`value`)||t.hasOwnProperty(`defaultValue`)){var r=t.type;if(!(r!==`submit`&&r!==`reset`||t.value!==void 0&&t.value!==null))return;t=``+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==``&&(e.name=``),e.defaultChecked=!!e._wrapperState.initialChecked,n!==``&&(e.name=n)}function Ce(e,t,n){(t!==`number`||_e(e.ownerDocument)!==e)&&(n==null?e.defaultValue=``+e._wrapperState.initialValue:e.defaultValue!==``+n&&(e.defaultValue=``+n))}var we=Array.isArray;function Te(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t[`$`+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty(`$`+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=``+fe(n),t=null,i=0;i<e.length;i++){if(e[i].value===n){e[i].selected=!0,r&&(e[i].defaultSelected=!0);return}t!==null||e[i].disabled||(t=e[i])}t!==null&&(t.selected=!0)}}function Ee(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(r(91));return ae({},t,{value:void 0,defaultValue:void 0,children:``+e._wrapperState.initialValue})}function De(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(r(92));if(we(n)){if(1<n.length)throw Error(r(93));n=n[0]}t=n}t??=``,n=t}e._wrapperState={initialValue:fe(n)}}function Oe(e,t){var n=fe(t.value),r=fe(t.defaultValue);n!=null&&(n=``+n,n!==e.value&&(e.value=n),t.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),r!=null&&(e.defaultValue=``+r)}function ke(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==``&&t!==null&&(e.value=t)}function Ae(e){switch(e){case`svg`:return`http://www.w3.org/2000/svg`;case`math`:return`http://www.w3.org/1998/Math/MathML`;default:return`http://www.w3.org/1999/xhtml`}}function je(e,t){return e==null||e===`http://www.w3.org/1999/xhtml`?Ae(t):e===`http://www.w3.org/2000/svg`&&t===`foreignObject`?`http://www.w3.org/1999/xhtml`:e}var Me,Ne=function(e){return typeof MSApp<`u`&&MSApp.execUnsafeLocalFunction?function(t,n,r,i){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,i)})}:e}(function(e,t){if(e.namespaceURI!==`http://www.w3.org/2000/svg`||`innerHTML`in e)e.innerHTML=t;else{for(Me||=document.createElement(`div`),Me.innerHTML=`<svg>`+t.valueOf().toString()+`</svg>`,t=Me.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Pe(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Fe={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Ie=[`Webkit`,`ms`,`Moz`,`O`];Object.keys(Fe).forEach(function(e){Ie.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Fe[t]=Fe[e]})});function Le(e,t,n){return t==null||typeof t==`boolean`||t===``?``:n||typeof t!=`number`||t===0||Fe.hasOwnProperty(e)&&Fe[e]?(``+t).trim():t+`px`}function Re(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=n.indexOf(`--`)===0,i=Le(n,t[n],r);n===`float`&&(n=`cssFloat`),r?e.setProperty(n,i):e[n]=i}}var ze=ae({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Be(e,t){if(t){if(ze[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(r(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(r(60));if(typeof t.dangerouslySetInnerHTML!=`object`||!(`__html`in t.dangerouslySetInnerHTML))throw Error(r(61))}if(t.style!=null&&typeof t.style!=`object`)throw Error(r(62))}}function Ve(e,t){if(e.indexOf(`-`)===-1)return typeof t.is==`string`;switch(e){case`annotation-xml`:case`color-profile`:case`font-face`:case`font-face-src`:case`font-face-uri`:case`font-face-format`:case`font-face-name`:case`missing-glyph`:return!1;default:return!0}}var He=null;function Ue(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var We=null,Ge=null,Ke=null;function qe(e){if(e=Ji(e)){if(typeof We!=`function`)throw Error(r(280));var t=e.stateNode;t&&(t=Xi(t),We(e.stateNode,e.type,t))}}function Je(e){Ge?Ke?Ke.push(e):Ke=[e]:Ge=e}function Ye(){if(Ge){var e=Ge,t=Ke;if(Ke=Ge=null,qe(e),t)for(e=0;e<t.length;e++)qe(t[e])}}function Xe(e,t){return e(t)}function Ze(){}var Qe=!1;function $e(e,t,n){if(Qe)return e(t,n);Qe=!0;try{return Xe(e,t,n)}finally{Qe=!1,(Ge!==null||Ke!==null)&&(Ze(),Ye())}}function et(e,t){var n=e.stateNode;if(n===null)return null;var i=Xi(n);if(i===null)return null;n=i[t];a:switch(t){case`onClick`:case`onClickCapture`:case`onDoubleClick`:case`onDoubleClickCapture`:case`onMouseDown`:case`onMouseDownCapture`:case`onMouseMove`:case`onMouseMoveCapture`:case`onMouseUp`:case`onMouseUpCapture`:case`onMouseEnter`:(i=!i.disabled)||(e=e.type,i=!(e===`button`||e===`input`||e===`select`||e===`textarea`)),e=!i;break a;default:e=!1}if(e)return null;if(n&&typeof n!=`function`)throw Error(r(231,t,typeof n));return n}var tt=!1;if(c)try{var nt={};Object.defineProperty(nt,`passive`,{get:function(){tt=!0}}),window.addEventListener(`test`,nt,nt),window.removeEventListener(`test`,nt,nt)}catch{tt=!1}function rt(e,t,n,r,i,a,o,s,c){var l=Array.prototype.slice.call(arguments,3);try{t.apply(n,l)}catch(e){this.onError(e)}}var it=!1,at=null,ot=!1,st=null,ct={onError:function(e){it=!0,at=e}};function lt(e,t,n,r,i,a,o,s,c){it=!1,at=null,rt.apply(ct,arguments)}function ut(e,t,n,i,a,o,s,c,l){if(lt.apply(this,arguments),it){if(it){var u=at;it=!1,at=null}else throw Error(r(198));ot||(ot=!0,st=u)}}function dt(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function ft(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function pt(e){if(dt(e)!==e)throw Error(r(188))}function mt(e){var t=e.alternate;if(!t){if(t=dt(e),t===null)throw Error(r(188));return t===e?e:null}for(var n=e,i=t;;){var a=n.return;if(a===null)break;var o=a.alternate;if(o===null){if(i=a.return,i!==null){n=i;continue}break}if(a.child===o.child){for(o=a.child;o;){if(o===n)return pt(a),e;if(o===i)return pt(a),t;o=o.sibling}throw Error(r(188))}if(n.return!==i.return)n=a,i=o;else{for(var s=!1,c=a.child;c;){if(c===n){s=!0,n=a,i=o;break}if(c===i){s=!0,i=a,n=o;break}c=c.sibling}if(!s){for(c=o.child;c;){if(c===n){s=!0,n=o,i=a;break}if(c===i){s=!0,i=o,n=a;break}c=c.sibling}if(!s)throw Error(r(189))}}if(n.alternate!==i)throw Error(r(190))}if(n.tag!==3)throw Error(r(188));return n.stateNode.current===n?e:t}function ht(e){return e=mt(e),e===null?null:gt(e)}function gt(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=gt(e);if(t!==null)return t;e=e.sibling}return null}var _t=n.unstable_scheduleCallback,vt=n.unstable_cancelCallback,yt=n.unstable_shouldYield,bt=n.unstable_requestPaint,xt=n.unstable_now,St=n.unstable_getCurrentPriorityLevel,Ct=n.unstable_ImmediatePriority,wt=n.unstable_UserBlockingPriority,Tt=n.unstable_NormalPriority,Et=n.unstable_LowPriority,Dt=n.unstable_IdlePriority,Ot=null,kt=null;function At(e){if(kt&&typeof kt.onCommitFiberRoot==`function`)try{kt.onCommitFiberRoot(Ot,e,void 0,(e.current.flags&128)==128)}catch{}}var jt=Math.clz32?Math.clz32:Pt,Mt=Math.log,Nt=Math.LN2;function Pt(e){return e>>>=0,e===0?32:31-(Mt(e)/Nt|0)|0}var Ft=64,It=4194304;function Lt(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Rt(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,a=e.pingedLanes,o=n&268435455;if(o!==0){var s=o&~i;s===0?(a&=o,a!==0&&(r=Lt(a))):r=Lt(s)}else o=n&~i,o===0?a!==0&&(r=Lt(a)):r=Lt(o);if(r===0)return 0;if(t!==0&&t!==r&&(t&i)===0&&(i=r&-r,a=t&-t,i>=a||i===16&&a&4194240))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-jt(t),i=1<<n,r|=e[n],t&=~i;return r}function zt(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Bt(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,a=e.pendingLanes;0<a;){var o=31-jt(a),s=1<<o,c=i[o];c===-1?((s&n)===0||(s&r)!==0)&&(i[o]=zt(s,t)):c<=t&&(e.expiredLanes|=s),a&=~s}}function Vt(e){return e=e.pendingLanes&-1073741825,e===0?e&1073741824?1073741824:0:e}function Ht(){var e=Ft;return Ft<<=1,!(Ft&4194240)&&(Ft=64),e}function Ut(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Wt(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-jt(t),e[t]=n}function Gt(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var i=31-jt(n),a=1<<i;t[i]=0,r[i]=-1,e[i]=-1,n&=~a}}function Kt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-jt(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}var qt=0;function Jt(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var Yt,Xt,Zt,Qt,$t,en=!1,tn=[],nn=null,rn=null,an=null,on=new Map,sn=new Map,cn=[],ln=`mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit`.split(` `);function un(e,t){switch(e){case`focusin`:case`focusout`:nn=null;break;case`dragenter`:case`dragleave`:rn=null;break;case`mouseover`:case`mouseout`:an=null;break;case`pointerover`:case`pointerout`:on.delete(t.pointerId);break;case`gotpointercapture`:case`lostpointercapture`:sn.delete(t.pointerId)}}function dn(e,t,n,r,i,a){return e===null||e.nativeEvent!==a?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:a,targetContainers:[i]},t!==null&&(t=Ji(t),t!==null&&Xt(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function fn(e,t,n,r,i){switch(t){case`focusin`:return nn=dn(nn,e,t,n,r,i),!0;case`dragenter`:return rn=dn(rn,e,t,n,r,i),!0;case`mouseover`:return an=dn(an,e,t,n,r,i),!0;case`pointerover`:var a=i.pointerId;return on.set(a,dn(on.get(a)||null,e,t,n,r,i)),!0;case`gotpointercapture`:return a=i.pointerId,sn.set(a,dn(sn.get(a)||null,e,t,n,r,i)),!0}return!1}function pn(e){var t=qi(e.target);if(t!==null){var n=dt(t);if(n!==null){if(t=n.tag,t===13){if(t=ft(n),t!==null){e.blockedOn=t,$t(e.priority,function(){Zt(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function mn(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=Tn(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);He=r,n.target.dispatchEvent(r),He=null}else return t=Ji(n),t!==null&&Xt(t),e.blockedOn=n,!1;t.shift()}return!0}function hn(e,t,n){mn(e)&&n.delete(t)}function gn(){en=!1,nn!==null&&mn(nn)&&(nn=null),rn!==null&&mn(rn)&&(rn=null),an!==null&&mn(an)&&(an=null),on.forEach(hn),sn.forEach(hn)}function _n(e,t){e.blockedOn===t&&(e.blockedOn=null,en||(en=!0,n.unstable_scheduleCallback(n.unstable_NormalPriority,gn)))}function vn(e){function t(t){return _n(t,e)}if(0<tn.length){_n(tn[0],e);for(var n=1;n<tn.length;n++){var r=tn[n];r.blockedOn===e&&(r.blockedOn=null)}}for(nn!==null&&_n(nn,e),rn!==null&&_n(rn,e),an!==null&&_n(an,e),on.forEach(t),sn.forEach(t),n=0;n<cn.length;n++)r=cn[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<cn.length&&(n=cn[0],n.blockedOn===null);)pn(n),n.blockedOn===null&&cn.shift()}var yn=C.ReactCurrentBatchConfig,bn=!0;function xn(e,t,n,r){var i=qt,a=yn.transition;yn.transition=null;try{qt=1,Cn(e,t,n,r)}finally{qt=i,yn.transition=a}}function Sn(e,t,n,r){var i=qt,a=yn.transition;yn.transition=null;try{qt=4,Cn(e,t,n,r)}finally{qt=i,yn.transition=a}}function Cn(e,t,n,r){if(bn){var i=Tn(e,t,n,r);if(i===null)yi(e,t,r,wn,n),un(e,r);else if(fn(i,e,t,n,r))r.stopPropagation();else if(un(e,r),t&4&&-1<ln.indexOf(e)){for(;i!==null;){var a=Ji(i);if(a!==null&&Yt(a),a=Tn(e,t,n,r),a===null&&yi(e,t,r,wn,n),a===i)break;i=a}i!==null&&r.stopPropagation()}else yi(e,t,r,null,n)}}var wn=null;function Tn(e,t,n,r){if(wn=null,e=Ue(r),e=qi(e),e!==null)if(t=dt(e),t===null)e=null;else if(n=t.tag,n===13){if(e=ft(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return wn=e,null}function En(e){switch(e){case`cancel`:case`click`:case`close`:case`contextmenu`:case`copy`:case`cut`:case`auxclick`:case`dblclick`:case`dragend`:case`dragstart`:case`drop`:case`focusin`:case`focusout`:case`input`:case`invalid`:case`keydown`:case`keypress`:case`keyup`:case`mousedown`:case`mouseup`:case`paste`:case`pause`:case`play`:case`pointercancel`:case`pointerdown`:case`pointerup`:case`ratechange`:case`reset`:case`resize`:case`seeked`:case`submit`:case`touchcancel`:case`touchend`:case`touchstart`:case`volumechange`:case`change`:case`selectionchange`:case`textInput`:case`compositionstart`:case`compositionend`:case`compositionupdate`:case`beforeblur`:case`afterblur`:case`beforeinput`:case`blur`:case`fullscreenchange`:case`focus`:case`hashchange`:case`popstate`:case`select`:case`selectstart`:return 1;case`drag`:case`dragenter`:case`dragexit`:case`dragleave`:case`dragover`:case`mousemove`:case`mouseout`:case`mouseover`:case`pointermove`:case`pointerout`:case`pointerover`:case`scroll`:case`toggle`:case`touchmove`:case`wheel`:case`mouseenter`:case`mouseleave`:case`pointerenter`:case`pointerleave`:return 4;case`message`:switch(St()){case Ct:return 1;case wt:return 4;case Tt:case Et:return 16;case Dt:return 536870912;default:return 16}default:return 16}}var Dn=null,On=null,kn=null;function An(){if(kn)return kn;var e,t=On,n=t.length,r,i=`value`in Dn?Dn.value:Dn.textContent,a=i.length;for(e=0;e<n&&t[e]===i[e];e++);var o=n-e;for(r=1;r<=o&&t[n-r]===i[a-r];r++);return kn=i.slice(e,1<r?1-r:void 0)}function jn(e){var t=e.keyCode;return`charCode`in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function Mn(){return!0}function Nn(){return!1}function Pn(e){function t(t,n,r,i,a){for(var o in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=i,this.target=a,this.currentTarget=null,e)e.hasOwnProperty(o)&&(t=e[o],this[o]=t?t(i):i[o]);return this.isDefaultPrevented=(i.defaultPrevented==null?!1===i.returnValue:i.defaultPrevented)?Mn:Nn,this.isPropagationStopped=Nn,this}return ae(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():typeof e.returnValue!=`unknown`&&(e.returnValue=!1),this.isDefaultPrevented=Mn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():typeof e.cancelBubble!=`unknown`&&(e.cancelBubble=!0),this.isPropagationStopped=Mn)},persist:function(){},isPersistent:Mn}),t}var Fn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},In=Pn(Fn),Ln=ae({},Fn,{view:0,detail:0}),Rn=Pn(Ln),zn,Bn,Vn,Hn=ae({},Ln,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:$n,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return`movementX`in e?e.movementX:(e!==Vn&&(Vn&&e.type===`mousemove`?(zn=e.screenX-Vn.screenX,Bn=e.screenY-Vn.screenY):Bn=zn=0,Vn=e),zn)},movementY:function(e){return`movementY`in e?e.movementY:Bn}}),Un=Pn(Hn),Wn=Pn(ae({},Hn,{dataTransfer:0})),Gn=Pn(ae({},Ln,{relatedTarget:0})),Kn=Pn(ae({},Fn,{animationName:0,elapsedTime:0,pseudoElement:0})),qn=Pn(ae({},Fn,{clipboardData:function(e){return`clipboardData`in e?e.clipboardData:window.clipboardData}})),Jn=Pn(ae({},Fn,{data:0})),Yn={Esc:`Escape`,Spacebar:` `,Left:`ArrowLeft`,Up:`ArrowUp`,Right:`ArrowRight`,Down:`ArrowDown`,Del:`Delete`,Win:`OS`,Menu:`ContextMenu`,Apps:`ContextMenu`,Scroll:`ScrollLock`,MozPrintableKey:`Unidentified`},Xn={8:`Backspace`,9:`Tab`,12:`Clear`,13:`Enter`,16:`Shift`,17:`Control`,18:`Alt`,19:`Pause`,20:`CapsLock`,27:`Escape`,32:` `,33:`PageUp`,34:`PageDown`,35:`End`,36:`Home`,37:`ArrowLeft`,38:`ArrowUp`,39:`ArrowRight`,40:`ArrowDown`,45:`Insert`,46:`Delete`,112:`F1`,113:`F2`,114:`F3`,115:`F4`,116:`F5`,117:`F6`,118:`F7`,119:`F8`,120:`F9`,121:`F10`,122:`F11`,123:`F12`,144:`NumLock`,145:`ScrollLock`,224:`Meta`},Zn={Alt:`altKey`,Control:`ctrlKey`,Meta:`metaKey`,Shift:`shiftKey`};function Qn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Zn[e])?!!t[e]:!1}function $n(){return Qn}var er=Pn(ae({},Ln,{key:function(e){if(e.key){var t=Yn[e.key]||e.key;if(t!==`Unidentified`)return t}return e.type===`keypress`?(e=jn(e),e===13?`Enter`:String.fromCharCode(e)):e.type===`keydown`||e.type===`keyup`?Xn[e.keyCode]||`Unidentified`:``},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:$n,charCode:function(e){return e.type===`keypress`?jn(e):0},keyCode:function(e){return e.type===`keydown`||e.type===`keyup`?e.keyCode:0},which:function(e){return e.type===`keypress`?jn(e):e.type===`keydown`||e.type===`keyup`?e.keyCode:0}})),tr=Pn(ae({},Hn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),nr=Pn(ae({},Ln,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:$n})),rr=Pn(ae({},Fn,{propertyName:0,elapsedTime:0,pseudoElement:0})),ir=Pn(ae({},Hn,{deltaX:function(e){return`deltaX`in e?e.deltaX:`wheelDeltaX`in e?-e.wheelDeltaX:0},deltaY:function(e){return`deltaY`in e?e.deltaY:`wheelDeltaY`in e?-e.wheelDeltaY:`wheelDelta`in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0})),ar=[9,13,27,32],or=c&&`CompositionEvent`in window,sr=null;c&&`documentMode`in document&&(sr=document.documentMode);var cr=c&&`TextEvent`in window&&!sr,lr=c&&(!or||sr&&8<sr&&11>=sr),ur=` `,dr=!1;function fr(e,t){switch(e){case`keyup`:return ar.indexOf(t.keyCode)!==-1;case`keydown`:return t.keyCode!==229;case`keypress`:case`mousedown`:case`focusout`:return!0;default:return!1}}function pr(e){return e=e.detail,typeof e==`object`&&`data`in e?e.data:null}var mr=!1;function hr(e,t){switch(e){case`compositionend`:return pr(t);case`keypress`:return t.which===32?(dr=!0,ur):null;case`textInput`:return e=t.data,e===ur&&dr?null:e;default:return null}}function gr(e,t){if(mr)return e===`compositionend`||!or&&fr(e,t)?(e=An(),kn=On=Dn=null,mr=!1,e):null;switch(e){case`paste`:return null;case`keypress`:if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case`compositionend`:return lr&&t.locale!==`ko`?null:t.data;default:return null}}var _r={color:!0,date:!0,datetime:!0,\"datetime-local\":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function vr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t===`input`?!!_r[e.type]:t===`textarea`}function yr(e,t,n,r){Je(r),t=xi(t,`onChange`),0<t.length&&(n=new In(`onChange`,`change`,null,n,r),e.push({event:n,listeners:t}))}var br=null,xr=null;function Sr(e){pi(e,0)}function Cr(e){if(ge(Yi(e)))return e}function wr(e,t){if(e===`change`)return t}var Tr=!1;if(c){var Er;if(c){var Dr=`oninput`in document;if(!Dr){var Or=document.createElement(`div`);Or.setAttribute(`oninput`,`return;`),Dr=typeof Or.oninput==`function`}Er=Dr}else Er=!1;Tr=Er&&(!document.documentMode||9<document.documentMode)}function kr(){br&&(br.detachEvent(`onpropertychange`,Ar),xr=br=null)}function Ar(e){if(e.propertyName===`value`&&Cr(xr)){var t=[];yr(t,xr,e,Ue(e)),$e(Sr,t)}}function jr(e,t,n){e===`focusin`?(kr(),br=t,xr=n,br.attachEvent(`onpropertychange`,Ar)):e===`focusout`&&kr()}function Mr(e){if(e===`selectionchange`||e===`keyup`||e===`keydown`)return Cr(xr)}function Nr(e,t){if(e===`click`)return Cr(t)}function Pr(e,t){if(e===`input`||e===`change`)return Cr(t)}function Fr(e,t){return e===t&&(e!==0||1/e==1/t)||e!==e&&t!==t}var Ir=typeof Object.is==`function`?Object.is:Fr;function Lr(e,t){if(Ir(e,t))return!0;if(typeof e!=`object`||!e||typeof t!=`object`||!t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var i=n[r];if(!l.call(t,i)||!Ir(e[i],t[i]))return!1}return!0}function Rr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function zr(e,t){var n=Rr(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}a:{for(;n;){if(n.nextSibling){n=n.nextSibling;break a}n=n.parentNode}n=void 0}n=Rr(n)}}function Br(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Br(e,t.parentNode):`contains`in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Vr(){for(var e=window,t=_e();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href==`string`}catch{n=!1}if(n)e=t.contentWindow;else break;t=_e(e.document)}return t}function Hr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t===`input`&&(e.type===`text`||e.type===`search`||e.type===`tel`||e.type===`url`||e.type===`password`)||t===`textarea`||e.contentEditable===`true`)}function Ur(e){var t=Vr(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Br(n.ownerDocument.documentElement,n)){if(r!==null&&Hr(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),`selectionStart`in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var i=n.textContent.length,a=Math.min(r.start,i);r=r.end===void 0?a:Math.min(r.end,i),!e.extend&&a>r&&(i=r,r=a,a=i),i=zr(n,a);var o=zr(n,r);i&&o&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),a>r?(e.addRange(t),e.extend(o.node,o.offset)):(t.setEnd(o.node,o.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus==`function`&&n.focus(),n=0;n<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var Wr=c&&`documentMode`in document&&11>=document.documentMode,Gr=null,Kr=null,qr=null,Jr=!1;function Yr(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Jr||Gr==null||Gr!==_e(r)||(r=Gr,`selectionStart`in r&&Hr(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),qr&&Lr(qr,r)||(qr=r,r=xi(Kr,`onSelect`),0<r.length&&(t=new In(`onSelect`,`select`,null,t,n),e.push({event:t,listeners:r}),t.target=Gr)))}function Xr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n[`Webkit`+e]=`webkit`+t,n[`Moz`+e]=`moz`+t,n}var Zr={animationend:Xr(`Animation`,`AnimationEnd`),animationiteration:Xr(`Animation`,`AnimationIteration`),animationstart:Xr(`Animation`,`AnimationStart`),transitionend:Xr(`Transition`,`TransitionEnd`)},Qr={},$r={};c&&($r=document.createElement(`div`).style,`AnimationEvent`in window||(delete Zr.animationend.animation,delete Zr.animationiteration.animation,delete Zr.animationstart.animation),`TransitionEvent`in window||delete Zr.transitionend.transition);function ei(e){if(Qr[e])return Qr[e];if(!Zr[e])return e;var t=Zr[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in $r)return Qr[e]=t[n];return e}var ti=ei(`animationend`),ni=ei(`animationiteration`),ri=ei(`animationstart`),ii=ei(`transitionend`),ai=new Map,oi=`abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel`.split(` `);function si(e,t){ai.set(e,t),o(t,[e])}for(var ci=0;ci<oi.length;ci++){var li=oi[ci];si(li.toLowerCase(),`on`+(li[0].toUpperCase()+li.slice(1)))}si(ti,`onAnimationEnd`),si(ni,`onAnimationIteration`),si(ri,`onAnimationStart`),si(`dblclick`,`onDoubleClick`),si(`focusin`,`onFocus`),si(`focusout`,`onBlur`),si(ii,`onTransitionEnd`),s(`onMouseEnter`,[`mouseout`,`mouseover`]),s(`onMouseLeave`,[`mouseout`,`mouseover`]),s(`onPointerEnter`,[`pointerout`,`pointerover`]),s(`onPointerLeave`,[`pointerout`,`pointerover`]),o(`onChange`,`change click focusin focusout input keydown keyup selectionchange`.split(` `)),o(`onSelect`,`focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange`.split(` `)),o(`onBeforeInput`,[`compositionend`,`keypress`,`textInput`,`paste`]),o(`onCompositionEnd`,`compositionend focusout keydown keypress keyup mousedown`.split(` `)),o(`onCompositionStart`,`compositionstart focusout keydown keypress keyup mousedown`.split(` `)),o(`onCompositionUpdate`,`compositionupdate focusout keydown keypress keyup mousedown`.split(` `));var ui=`abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting`.split(` `),di=new Set(`cancel close invalid load scroll toggle`.split(` `).concat(ui));function fi(e,t,n){var r=e.type||`unknown-event`;e.currentTarget=n,ut(r,t,void 0,e),e.currentTarget=null}function pi(e,t){t=(t&4)!=0;for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;a:{var a=void 0;if(t)for(var o=r.length-1;0<=o;o--){var s=r[o],c=s.instance,l=s.currentTarget;if(s=s.listener,c!==a&&i.isPropagationStopped())break a;fi(i,s,l),a=c}else for(o=0;o<r.length;o++){if(s=r[o],c=s.instance,l=s.currentTarget,s=s.listener,c!==a&&i.isPropagationStopped())break a;fi(i,s,l),a=c}}}if(ot)throw e=st,ot=!1,st=null,e}function mi(e,t){var n=t[Wi];n===void 0&&(n=t[Wi]=new Set);var r=e+`__bubble`;n.has(r)||(vi(t,e,2,!1),n.add(r))}function hi(e,t,n){var r=0;t&&(r|=4),vi(n,e,r,t)}var gi=`_reactListening`+Math.random().toString(36).slice(2);function _i(e){if(!e[gi]){e[gi]=!0,i.forEach(function(t){t!==`selectionchange`&&(di.has(t)||hi(t,!1,e),hi(t,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[gi]||(t[gi]=!0,hi(`selectionchange`,!1,t))}}function vi(e,t,n,r){switch(En(t)){case 1:var i=xn;break;case 4:i=Sn;break;default:i=Cn}n=i.bind(null,t,n,e),i=void 0,!tt||t!==`touchstart`&&t!==`touchmove`&&t!==`wheel`||(i=!0),r?i===void 0?e.addEventListener(t,n,!0):e.addEventListener(t,n,{capture:!0,passive:i}):i===void 0?e.addEventListener(t,n,!1):e.addEventListener(t,n,{passive:i})}function yi(e,t,n,r,i){var a=r;if(!(t&1)&&!(t&2)&&r!==null)a:for(;;){if(r===null)return;var o=r.tag;if(o===3||o===4){var s=r.stateNode.containerInfo;if(s===i||s.nodeType===8&&s.parentNode===i)break;if(o===4)for(o=r.return;o!==null;){var c=o.tag;if((c===3||c===4)&&(c=o.stateNode.containerInfo,c===i||c.nodeType===8&&c.parentNode===i))return;o=o.return}for(;s!==null;){if(o=qi(s),o===null)return;if(c=o.tag,c===5||c===6){r=a=o;continue a}s=s.parentNode}}r=r.return}$e(function(){var r=a,i=Ue(n),o=[];a:{var s=ai.get(e);if(s!==void 0){var c=In,l=e;switch(e){case`keypress`:if(jn(n)===0)break a;case`keydown`:case`keyup`:c=er;break;case`focusin`:l=`focus`,c=Gn;break;case`focusout`:l=`blur`,c=Gn;break;case`beforeblur`:case`afterblur`:c=Gn;break;case`click`:if(n.button===2)break a;case`auxclick`:case`dblclick`:case`mousedown`:case`mousemove`:case`mouseup`:case`mouseout`:case`mouseover`:case`contextmenu`:c=Un;break;case`drag`:case`dragend`:case`dragenter`:case`dragexit`:case`dragleave`:case`dragover`:case`dragstart`:case`drop`:c=Wn;break;case`touchcancel`:case`touchend`:case`touchmove`:case`touchstart`:c=nr;break;case ti:case ni:case ri:c=Kn;break;case ii:c=rr;break;case`scroll`:c=Rn;break;case`wheel`:c=ir;break;case`copy`:case`cut`:case`paste`:c=qn;break;case`gotpointercapture`:case`lostpointercapture`:case`pointercancel`:case`pointerdown`:case`pointermove`:case`pointerout`:case`pointerover`:case`pointerup`:c=tr}var u=(t&4)!=0,d=!u&&e===`scroll`,f=u?s===null?null:s+`Capture`:s;u=[];for(var p=r,m;p!==null;){m=p;var h=m.stateNode;if(m.tag===5&&h!==null&&(m=h,f!==null&&(h=et(p,f),h!=null&&u.push(bi(p,h,m)))),d)break;p=p.return}0<u.length&&(s=new c(s,l,null,n,i),o.push({event:s,listeners:u}))}}if(!(t&7)){a:{if(s=e===`mouseover`||e===`pointerover`,c=e===`mouseout`||e===`pointerout`,s&&n!==He&&(l=n.relatedTarget||n.fromElement)&&(qi(l)||l[Ui]))break a;if((c||s)&&(s=i.window===i?i:(s=i.ownerDocument)?s.defaultView||s.parentWindow:window,c?(l=n.relatedTarget||n.toElement,c=r,l=l?qi(l):null,l!==null&&(d=dt(l),l!==d||l.tag!==5&&l.tag!==6)&&(l=null)):(c=null,l=r),c!==l)){if(u=Un,h=`onMouseLeave`,f=`onMouseEnter`,p=`mouse`,(e===`pointerout`||e===`pointerover`)&&(u=tr,h=`onPointerLeave`,f=`onPointerEnter`,p=`pointer`),d=c==null?s:Yi(c),m=l==null?s:Yi(l),s=new u(h,p+`leave`,c,n,i),s.target=d,s.relatedTarget=m,h=null,qi(i)===r&&(u=new u(f,p+`enter`,l,n,i),u.target=m,u.relatedTarget=d,h=u),d=h,c&&l)b:{for(u=c,f=l,p=0,m=u;m;m=Si(m))p++;for(m=0,h=f;h;h=Si(h))m++;for(;0<p-m;)u=Si(u),p--;for(;0<m-p;)f=Si(f),m--;for(;p--;){if(u===f||f!==null&&u===f.alternate)break b;u=Si(u),f=Si(f)}u=null}else u=null;c!==null&&Ci(o,s,c,u,!1),l!==null&&d!==null&&Ci(o,d,l,u,!0)}}a:{if(s=r?Yi(r):window,c=s.nodeName&&s.nodeName.toLowerCase(),c===`select`||c===`input`&&s.type===`file`)var g=wr;else if(vr(s))if(Tr)g=Pr;else{g=Mr;var _=jr}else (c=s.nodeName)&&c.toLowerCase()===`input`&&(s.type===`checkbox`||s.type===`radio`)&&(g=Nr);if(g&&=g(e,r)){yr(o,g,n,i);break a}_&&_(e,s,r),e===`focusout`&&(_=s._wrapperState)&&_.controlled&&s.type===`number`&&Ce(s,`number`,s.value)}switch(_=r?Yi(r):window,e){case`focusin`:(vr(_)||_.contentEditable===`true`)&&(Gr=_,Kr=r,qr=null);break;case`focusout`:qr=Kr=Gr=null;break;case`mousedown`:Jr=!0;break;case`contextmenu`:case`mouseup`:case`dragend`:Jr=!1,Yr(o,n,i);break;case`selectionchange`:if(Wr)break;case`keydown`:case`keyup`:Yr(o,n,i)}var v;if(or)b:{switch(e){case`compositionstart`:var y=`onCompositionStart`;break b;case`compositionend`:y=`onCompositionEnd`;break b;case`compositionupdate`:y=`onCompositionUpdate`;break b}y=void 0}else mr?fr(e,n)&&(y=`onCompositionEnd`):e===`keydown`&&n.keyCode===229&&(y=`onCompositionStart`);y&&(lr&&n.locale!==`ko`&&(mr||y!==`onCompositionStart`?y===`onCompositionEnd`&&mr&&(v=An()):(Dn=i,On=`value`in Dn?Dn.value:Dn.textContent,mr=!0)),_=xi(r,y),0<_.length&&(y=new Jn(y,e,null,n,i),o.push({event:y,listeners:_}),v?y.data=v:(v=pr(n),v!==null&&(y.data=v)))),(v=cr?hr(e,n):gr(e,n))&&(r=xi(r,`onBeforeInput`),0<r.length&&(i=new Jn(`onBeforeInput`,`beforeinput`,null,n,i),o.push({event:i,listeners:r}),i.data=v))}pi(o,t)})}function bi(e,t,n){return{instance:e,listener:t,currentTarget:n}}function xi(e,t){for(var n=t+`Capture`,r=[];e!==null;){var i=e,a=i.stateNode;i.tag===5&&a!==null&&(i=a,a=et(e,n),a!=null&&r.unshift(bi(e,a,i)),a=et(e,t),a!=null&&r.push(bi(e,a,i))),e=e.return}return r}function Si(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function Ci(e,t,n,r,i){for(var a=t._reactName,o=[];n!==null&&n!==r;){var s=n,c=s.alternate,l=s.stateNode;if(c!==null&&c===r)break;s.tag===5&&l!==null&&(s=l,i?(c=et(n,a),c!=null&&o.unshift(bi(n,c,s))):i||(c=et(n,a),c!=null&&o.push(bi(n,c,s)))),n=n.return}o.length!==0&&e.push({event:t,listeners:o})}var wi=/\\r\\n?/g,Ti=/\\u0000|\\uFFFD/g;function Ei(e){return(typeof e==`string`?e:``+e).replace(wi,`\n`).replace(Ti,``)}function Di(e,t,n){if(t=Ei(t),Ei(e)!==t&&n)throw Error(r(425))}function Oi(){}var ki=null,Ai=null;function ji(e,t){return e===`textarea`||e===`noscript`||typeof t.children==`string`||typeof t.children==`number`||typeof t.dangerouslySetInnerHTML==`object`&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Mi=typeof setTimeout==`function`?setTimeout:void 0,Ni=typeof clearTimeout==`function`?clearTimeout:void 0,Pi=typeof Promise==`function`?Promise:void 0,Fi=typeof queueMicrotask==`function`?queueMicrotask:Pi===void 0?Mi:function(e){return Pi.resolve(null).then(e).catch(Ii)};function Ii(e){setTimeout(function(){throw e})}function Li(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&i.nodeType===8)if(n=i.data,n===`/$`){if(r===0){e.removeChild(i),vn(t);return}r--}else n!==`$`&&n!==`$?`&&n!==`$!`||r++;n=i}while(n);vn(t)}function Ri(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t===`$`||t===`$!`||t===`$?`)break;if(t===`/$`)return null}}return e}function zi(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n===`$`||n===`$!`||n===`$?`){if(t===0)return e;t--}else n===`/$`&&t++}e=e.previousSibling}return null}var Bi=Math.random().toString(36).slice(2),Vi=`__reactFiber$`+Bi,Hi=`__reactProps$`+Bi,Ui=`__reactContainer$`+Bi,Wi=`__reactEvents$`+Bi,Gi=`__reactListeners$`+Bi,Ki=`__reactHandles$`+Bi;function qi(e){var t=e[Vi];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Ui]||n[Vi]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=zi(e);e!==null;){if(n=e[Vi])return n;e=zi(e)}return t}e=n,n=e.parentNode}return null}function Ji(e){return e=e[Vi]||e[Ui],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Yi(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(r(33))}function Xi(e){return e[Hi]||null}var Zi=[],Qi=-1;function $i(e){return{current:e}}function ea(e){0>Qi||(e.current=Zi[Qi],Zi[Qi]=null,Qi--)}function ta(e,t){Qi++,Zi[Qi]=e.current,e.current=t}var na={},ra=$i(na),ia=$i(!1),aa=na;function oa(e,t){var n=e.type.contextTypes;if(!n)return na;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},a;for(a in n)i[a]=t[a];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function sa(e){return e=e.childContextTypes,e!=null}function ca(){ea(ia),ea(ra)}function la(e,t,n){if(ra.current!==na)throw Error(r(168));ta(ra,t),ta(ia,n)}function ua(e,t,n){var i=e.stateNode;if(t=t.childContextTypes,typeof i.getChildContext!=`function`)return n;for(var a in i=i.getChildContext(),i)if(!(a in t))throw Error(r(108,de(e)||`Unknown`,a));return ae({},n,i)}function da(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||na,aa=ra.current,ta(ra,e),ta(ia,ia.current),!0}function fa(e,t,n){var i=e.stateNode;if(!i)throw Error(r(169));n?(e=ua(e,t,aa),i.__reactInternalMemoizedMergedChildContext=e,ea(ia),ea(ra),ta(ra,e)):ea(ia),ta(ia,n)}var F=null,pa=!1,ma=!1;function ha(e){F===null?F=[e]:F.push(e)}function ga(e){pa=!0,ha(e)}function _a(){if(!ma&&F!==null){ma=!0;var e=0,t=qt;try{var n=F;for(qt=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}F=null,pa=!1}catch(t){throw F!==null&&(F=F.slice(e+1)),_t(Ct,_a),t}finally{qt=t,ma=!1}}return null}var va=[],ya=0,ba=null,xa=0,Sa=[],Ca=0,wa=null,Ta=1,Ea=``;function Da(e,t){va[ya++]=xa,va[ya++]=ba,ba=e,xa=t}function Oa(e,t,n){Sa[Ca++]=Ta,Sa[Ca++]=Ea,Sa[Ca++]=wa,wa=e;var r=Ta;e=Ea;var i=32-jt(r)-1;r&=~(1<<i),n+=1;var a=32-jt(t)+i;if(30<a){var o=i-i%5;a=(r&(1<<o)-1).toString(32),r>>=o,i-=o,Ta=1<<32-jt(t)+i|n<<i|r,Ea=a+e}else Ta=1<<a|n<<i|r,Ea=e}function ka(e){e.return!==null&&(Da(e,1),Oa(e,1,0))}function Aa(e){for(;e===ba;)ba=va[--ya],va[ya]=null,xa=va[--ya],va[ya]=null;for(;e===wa;)wa=Sa[--Ca],Sa[Ca]=null,Ea=Sa[--Ca],Sa[Ca]=null,Ta=Sa[--Ca],Sa[Ca]=null}var ja=null,Ma=null,Na=!1,I=null;function Pa(e,t){var n=ru(5,null,null,0);n.elementType=`DELETED`,n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function Fa(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t===null?!1:(e.stateNode=t,ja=e,Ma=Ri(t.firstChild),!0);case 6:return t=e.pendingProps===``||t.nodeType!==3?null:t,t===null?!1:(e.stateNode=t,ja=e,Ma=null,!0);case 13:return t=t.nodeType===8?t:null,t===null?!1:(n=wa===null?null:{id:Ta,overflow:Ea},e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=ru(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,ja=e,Ma=null,!0);default:return!1}}function Ia(e){return(e.mode&1)!=0&&(e.flags&128)==0}function La(e){if(Na){var t=Ma;if(t){var n=t;if(!Fa(e,t)){if(Ia(e))throw Error(r(418));t=Ri(n.nextSibling);var i=ja;t&&Fa(e,t)?Pa(i,n):(e.flags=e.flags&-4097|2,Na=!1,ja=e)}}else{if(Ia(e))throw Error(r(418));e.flags=e.flags&-4097|2,Na=!1,ja=e}}}function Ra(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;ja=e}function za(e){if(e!==ja)return!1;if(!Na)return Ra(e),Na=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!==`head`&&t!==`body`&&!ji(e.type,e.memoizedProps)),t&&=Ma){if(Ia(e))throw Ba(),Error(r(418));for(;t;)Pa(e,t),t=Ri(t.nextSibling)}if(Ra(e),e.tag===13){if(e=e.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(r(317));a:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n===`/$`){if(t===0){Ma=Ri(e.nextSibling);break a}t--}else n!==`$`&&n!==`$!`&&n!==`$?`||t++}e=e.nextSibling}Ma=null}}else Ma=ja?Ri(e.stateNode.nextSibling):null;return!0}function Ba(){for(var e=Ma;e;)e=Ri(e.nextSibling)}function Va(){Ma=ja=null,Na=!1}function Ha(e){I===null?I=[e]:I.push(e)}var Ua=C.ReactCurrentBatchConfig;function Wa(e,t,n){if(e=n.ref,e!==null&&typeof e!=`function`&&typeof e!=`object`){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(r(309));var i=n.stateNode}if(!i)throw Error(r(147,e));var a=i,o=``+e;return t!==null&&t.ref!==null&&typeof t.ref==`function`&&t.ref._stringRef===o?t.ref:(t=function(e){var t=a.refs;e===null?delete t[o]:t[o]=e},t._stringRef=o,t)}if(typeof e!=`string`)throw Error(r(284));if(!n._owner)throw Error(r(290,e))}return e}function Ga(e,t){throw e=Object.prototype.toString.call(t),Error(r(31,e===`[object Object]`?`object with keys {`+Object.keys(t).join(`, `)+`}`:e))}function Ka(e){var t=e._init;return t(e._payload)}function L(e){function t(t,n){if(e){var r=t.deletions;r===null?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;r!==null;)t(n,r),r=r.sibling;return null}function i(e,t){for(e=new Map;t!==null;)t.key===null?e.set(t.index,t):e.set(t.key,t),t=t.sibling;return e}function a(e,t){return e=ou(e,t),e.index=0,e.sibling=null,e}function o(t,n,r){return t.index=r,e?(r=t.alternate,r===null?(t.flags|=2,n):(r=r.index,r<n?(t.flags|=2,n):r)):(t.flags|=1048576,n)}function s(t){return e&&t.alternate===null&&(t.flags|=2),t}function c(e,t,n,r){return t===null||t.tag!==6?(t=uu(n,e.mode,r),t.return=e,t):(t=a(t,n),t.return=e,t)}function l(e,t,n,r){var i=n.type;return i===E?d(e,t,n.props.children,r,n.key):t!==null&&(t.elementType===i||typeof i==`object`&&i&&i.$$typeof===te&&Ka(i)===t.type)?(r=a(t,n.props),r.ref=Wa(e,t,n),r.return=e,r):(r=su(n.type,n.key,n.props,null,e.mode,r),r.ref=Wa(e,t,n),r.return=e,r)}function u(e,t,n,r){return t===null||t.tag!==4||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?(t=du(n,e.mode,r),t.return=e,t):(t=a(t,n.children||[]),t.return=e,t)}function d(e,t,n,r,i){return t===null||t.tag!==7?(t=cu(n,e.mode,r,i),t.return=e,t):(t=a(t,n),t.return=e,t)}function f(e,t,n){if(typeof t==`string`&&t!==``||typeof t==`number`)return t=uu(``+t,e.mode,n),t.return=e,t;if(typeof t==`object`&&t){switch(t.$$typeof){case w:return n=su(t.type,t.key,t.props,null,e.mode,n),n.ref=Wa(e,null,t),n.return=e,n;case T:return t=du(t,e.mode,n),t.return=e,t;case te:var r=t._init;return f(e,r(t._payload),n)}if(we(t)||ie(t))return t=cu(t,e.mode,n,null),t.return=e,t;Ga(e,t)}return null}function p(e,t,n,r){var i=t===null?null:t.key;if(typeof n==`string`&&n!==``||typeof n==`number`)return i===null?c(e,t,``+n,r):null;if(typeof n==`object`&&n){switch(n.$$typeof){case w:return n.key===i?l(e,t,n,r):null;case T:return n.key===i?u(e,t,n,r):null;case te:return i=n._init,p(e,t,i(n._payload),r)}if(we(n)||ie(n))return i===null?d(e,t,n,r,null):null;Ga(e,n)}return null}function m(e,t,n,r,i){if(typeof r==`string`&&r!==``||typeof r==`number`)return e=e.get(n)||null,c(t,e,``+r,i);if(typeof r==`object`&&r){switch(r.$$typeof){case w:return e=e.get(r.key===null?n:r.key)||null,l(t,e,r,i);case T:return e=e.get(r.key===null?n:r.key)||null,u(t,e,r,i);case te:var a=r._init;return m(e,t,n,a(r._payload),i)}if(we(r)||ie(r))return e=e.get(n)||null,d(t,e,r,i,null);Ga(t,r)}return null}function h(r,a,s,c){for(var l=null,u=null,d=a,h=a=0,g=null;d!==null&&h<s.length;h++){d.index>h?(g=d,d=null):g=d.sibling;var _=p(r,d,s[h],c);if(_===null){d===null&&(d=g);break}e&&d&&_.alternate===null&&t(r,d),a=o(_,a,h),u===null?l=_:u.sibling=_,u=_,d=g}if(h===s.length)return n(r,d),Na&&Da(r,h),l;if(d===null){for(;h<s.length;h++)d=f(r,s[h],c),d!==null&&(a=o(d,a,h),u===null?l=d:u.sibling=d,u=d);return Na&&Da(r,h),l}for(d=i(r,d);h<s.length;h++)g=m(d,r,h,s[h],c),g!==null&&(e&&g.alternate!==null&&d.delete(g.key===null?h:g.key),a=o(g,a,h),u===null?l=g:u.sibling=g,u=g);return e&&d.forEach(function(e){return t(r,e)}),Na&&Da(r,h),l}function g(a,s,c,l){var u=ie(c);if(typeof u!=`function`)throw Error(r(150));if(c=u.call(c),c==null)throw Error(r(151));for(var d=u=null,h=s,g=s=0,_=null,v=c.next();h!==null&&!v.done;g++,v=c.next()){h.index>g?(_=h,h=null):_=h.sibling;var y=p(a,h,v.value,l);if(y===null){h===null&&(h=_);break}e&&h&&y.alternate===null&&t(a,h),s=o(y,s,g),d===null?u=y:d.sibling=y,d=y,h=_}if(v.done)return n(a,h),Na&&Da(a,g),u;if(h===null){for(;!v.done;g++,v=c.next())v=f(a,v.value,l),v!==null&&(s=o(v,s,g),d===null?u=v:d.sibling=v,d=v);return Na&&Da(a,g),u}for(h=i(a,h);!v.done;g++,v=c.next())v=m(h,a,g,v.value,l),v!==null&&(e&&v.alternate!==null&&h.delete(v.key===null?g:v.key),s=o(v,s,g),d===null?u=v:d.sibling=v,d=v);return e&&h.forEach(function(e){return t(a,e)}),Na&&Da(a,g),u}function _(e,r,i,o){if(typeof i==`object`&&i&&i.type===E&&i.key===null&&(i=i.props.children),typeof i==`object`&&i){switch(i.$$typeof){case w:a:{for(var c=i.key,l=r;l!==null;){if(l.key===c){if(c=i.type,c===E){if(l.tag===7){n(e,l.sibling),r=a(l,i.props.children),r.return=e,e=r;break a}}else if(l.elementType===c||typeof c==`object`&&c&&c.$$typeof===te&&Ka(c)===l.type){n(e,l.sibling),r=a(l,i.props),r.ref=Wa(e,l,i),r.return=e,e=r;break a}n(e,l);break}else t(e,l);l=l.sibling}i.type===E?(r=cu(i.props.children,e.mode,o,i.key),r.return=e,e=r):(o=su(i.type,i.key,i.props,null,e.mode,o),o.ref=Wa(e,r,i),o.return=e,e=o)}return s(e);case T:a:{for(l=i.key;r!==null;){if(r.key===l)if(r.tag===4&&r.stateNode.containerInfo===i.containerInfo&&r.stateNode.implementation===i.implementation){n(e,r.sibling),r=a(r,i.children||[]),r.return=e,e=r;break a}else{n(e,r);break}else t(e,r);r=r.sibling}r=du(i,e.mode,o),r.return=e,e=r}return s(e);case te:return l=i._init,_(e,r,l(i._payload),o)}if(we(i))return h(e,r,i,o);if(ie(i))return g(e,r,i,o);Ga(e,i)}return typeof i==`string`&&i!==``||typeof i==`number`?(i=``+i,r!==null&&r.tag===6?(n(e,r.sibling),r=a(r,i),r.return=e,e=r):(n(e,r),r=uu(i,e.mode,o),r.return=e,e=r),s(e)):n(e,r)}return _}var qa=L(!0),R=L(!1),Ja=$i(null),Ya=null,z=null,Xa=null;function Za(){Xa=z=Ya=null}function Qa(e){var t=Ja.current;ea(Ja),e._currentValue=t}function $a(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)===t?r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t):(e.childLanes|=t,r!==null&&(r.childLanes|=t)),e===n)break;e=e.return}}function eo(e,t){Ya=e,Xa=z=null,e=e.dependencies,e!==null&&e.firstContext!==null&&((e.lanes&t)!==0&&(Hs=!0),e.firstContext=null)}function B(e){var t=e._currentValue;if(Xa!==e)if(e={context:e,memoizedValue:t,next:null},z===null){if(Ya===null)throw Error(r(308));z=e,Ya.dependencies={lanes:0,firstContext:e}}else z=z.next=e;return t}var to=null;function no(e){to===null?to=[e]:to.push(e)}function ro(e,t,n,r){var i=t.interleaved;return i===null?(n.next=n,no(t)):(n.next=i.next,i.next=n),t.interleaved=n,V(e,r)}function V(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var io=!1;function ao(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function oo(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function so(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function co(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,Zc&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,V(e,n)}return i=r.interleaved,i===null?(t.next=t,no(r)):(t.next=i.next,i.next=t),r.interleaved=t,V(e,n)}function lo(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,n&4194240)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Kt(e,n)}}function uo(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,a=null;if(n=n.firstBaseUpdate,n!==null){do{var o={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};a===null?i=a=o:a=a.next=o,n=n.next}while(n!==null);a===null?i=a=t:a=a.next=t}else i=a=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:a,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function fo(e,t,n,r){var i=e.updateQueue;io=!1;var a=i.firstBaseUpdate,o=i.lastBaseUpdate,s=i.shared.pending;if(s!==null){i.shared.pending=null;var c=s,l=c.next;c.next=null,o===null?a=l:o.next=l,o=c;var u=e.alternate;u!==null&&(u=u.updateQueue,s=u.lastBaseUpdate,s!==o&&(s===null?u.firstBaseUpdate=l:s.next=l,u.lastBaseUpdate=c))}if(a!==null){var d=i.baseState;o=0,u=l=c=null,s=a;do{var f=s.lane,p=s.eventTime;if((r&f)===f){u!==null&&(u=u.next={eventTime:p,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});a:{var m=e,h=s;switch(f=t,p=n,h.tag){case 1:if(m=h.payload,typeof m==`function`){d=m.call(p,d,f);break a}d=m;break a;case 3:m.flags=m.flags&-65537|128;case 0:if(m=h.payload,f=typeof m==`function`?m.call(p,d,f):m,f==null)break a;d=ae({},d,f);break a;case 2:io=!0}}s.callback!==null&&s.lane!==0&&(e.flags|=64,f=i.effects,f===null?i.effects=[s]:f.push(s))}else p={eventTime:p,lane:f,tag:s.tag,payload:s.payload,callback:s.callback,next:null},u===null?(l=u=p,c=d):u=u.next=p,o|=f;if(s=s.next,s===null){if(s=i.shared.pending,s===null)break;f=s,s=f.next,f.next=null,i.lastBaseUpdate=f,i.shared.pending=null}}while(1);if(u===null&&(c=d),i.baseState=c,i.firstBaseUpdate=l,i.lastBaseUpdate=u,t=i.shared.interleaved,t!==null){i=t;do o|=i.lane,i=i.next;while(i!==t)}else a===null&&(i.shared.lanes=0);al|=o,e.lanes=o,e.memoizedState=d}}function po(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var i=e[t],a=i.callback;if(a!==null){if(i.callback=null,i=n,typeof a!=`function`)throw Error(r(191,a));a.call(i)}}}var mo={},ho=$i(mo),go=$i(mo),_o=$i(mo);function vo(e){if(e===mo)throw Error(r(174));return e}function yo(e,t){switch(ta(_o,t),ta(go,e),ta(ho,mo),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:je(null,``);break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=je(t,e)}ea(ho),ta(ho,t)}function bo(){ea(ho),ea(go),ea(_o)}function xo(e){vo(_o.current);var t=vo(ho.current),n=je(t,e.type);t!==n&&(ta(go,e),ta(ho,n))}function So(e){go.current===e&&(ea(ho),ea(go))}var Co=$i(0);function wo(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data===`$?`||n.data===`$!`))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var To=[];function Eo(){for(var e=0;e<To.length;e++)To[e]._workInProgressVersionPrimary=null;To.length=0}var Do=C.ReactCurrentDispatcher,Oo=C.ReactCurrentBatchConfig,ko=0,Ao=null,jo=null,Mo=null,No=!1,Po=!1,Fo=0,Io=0;function Lo(){throw Error(r(321))}function Ro(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Ir(e[n],t[n]))return!1;return!0}function zo(e,t,n,i,a,o){if(ko=o,Ao=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Do.current=e===null||e.memoizedState===null?Ss:Cs,e=n(i,a),Po){o=0;do{if(Po=!1,Fo=0,25<=o)throw Error(r(301));o+=1,Mo=jo=null,t.updateQueue=null,Do.current=ws,e=n(i,a)}while(Po)}if(Do.current=xs,t=jo!==null&&jo.next!==null,ko=0,Mo=jo=Ao=null,No=!1,t)throw Error(r(300));return e}function Bo(){var e=Fo!==0;return Fo=0,e}function Vo(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Mo===null?Ao.memoizedState=Mo=e:Mo=Mo.next=e,Mo}function Ho(){if(jo===null){var e=Ao.alternate;e=e===null?null:e.memoizedState}else e=jo.next;var t=Mo===null?Ao.memoizedState:Mo.next;if(t!==null)Mo=t,jo=e;else{if(e===null)throw Error(r(310));jo=e,e={memoizedState:jo.memoizedState,baseState:jo.baseState,baseQueue:jo.baseQueue,queue:jo.queue,next:null},Mo===null?Ao.memoizedState=Mo=e:Mo=Mo.next=e}return Mo}function Uo(e,t){return typeof t==`function`?t(e):t}function Wo(e){var t=Ho(),n=t.queue;if(n===null)throw Error(r(311));n.lastRenderedReducer=e;var i=jo,a=i.baseQueue,o=n.pending;if(o!==null){if(a!==null){var s=a.next;a.next=o.next,o.next=s}i.baseQueue=a=o,n.pending=null}if(a!==null){o=a.next,i=i.baseState;var c=s=null,l=null,u=o;do{var d=u.lane;if((ko&d)===d)l!==null&&(l=l.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),i=u.hasEagerState?u.eagerState:e(i,u.action);else{var f={lane:d,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};l===null?(c=l=f,s=i):l=l.next=f,Ao.lanes|=d,al|=d}u=u.next}while(u!==null&&u!==o);l===null?s=i:l.next=c,Ir(i,t.memoizedState)||(Hs=!0),t.memoizedState=i,t.baseState=s,t.baseQueue=l,n.lastRenderedState=i}if(e=n.interleaved,e!==null){a=e;do o=a.lane,Ao.lanes|=o,al|=o,a=a.next;while(a!==e)}else a===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Go(e){var t=Ho(),n=t.queue;if(n===null)throw Error(r(311));n.lastRenderedReducer=e;var i=n.dispatch,a=n.pending,o=t.memoizedState;if(a!==null){n.pending=null;var s=a=a.next;do o=e(o,s.action),s=s.next;while(s!==a);Ir(o,t.memoizedState)||(Hs=!0),t.memoizedState=o,t.baseQueue===null&&(t.baseState=o),n.lastRenderedState=o}return[o,i]}function Ko(){}function qo(e,t){var n=Ao,i=Ho(),a=t(),o=!Ir(i.memoizedState,a);if(o&&(i.memoizedState=a,Hs=!0),i=i.queue,as(Xo.bind(null,n,i,e),[e]),i.getSnapshot!==t||o||Mo!==null&&Mo.memoizedState.tag&1){if(n.flags|=2048,es(9,Yo.bind(null,n,i,a,t),void 0,null),Qc===null)throw Error(r(349));ko&30||Jo(n,t,a)}return a}function Jo(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=Ao.updateQueue,t===null?(t={lastEffect:null,stores:null},Ao.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Yo(e,t,n,r){t.value=n,t.getSnapshot=r,Zo(t)&&Qo(e)}function Xo(e,t,n){return n(function(){Zo(t)&&Qo(e)})}function Zo(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Ir(e,n)}catch{return!0}}function Qo(e){var t=V(e,1);t!==null&&Tl(t,e,1,-1)}function $o(e){var t=Vo();return typeof e==`function`&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Uo,lastRenderedState:e},t.queue=e,e=e.dispatch=_s.bind(null,Ao,e),[t.memoizedState,e]}function es(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=Ao.updateQueue,t===null?(t={lastEffect:null,stores:null},Ao.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e)),e}function ts(){return Ho().memoizedState}function ns(e,t,n,r){var i=Vo();Ao.flags|=e,i.memoizedState=es(1|t,n,void 0,r===void 0?null:r)}function rs(e,t,n,r){var i=Ho();r=r===void 0?null:r;var a=void 0;if(jo!==null){var o=jo.memoizedState;if(a=o.destroy,r!==null&&Ro(r,o.deps)){i.memoizedState=es(t,n,a,r);return}}Ao.flags|=e,i.memoizedState=es(1|t,n,a,r)}function is(e,t){return ns(8390656,8,e,t)}function as(e,t){return rs(2048,8,e,t)}function os(e,t){return rs(4,2,e,t)}function ss(e,t){return rs(4,4,e,t)}function cs(e,t){if(typeof t==`function`)return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function ls(e,t,n){return n=n==null?null:n.concat([e]),rs(4,4,cs.bind(null,t,e),n)}function us(){}function ds(e,t){var n=Ho();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Ro(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function fs(e,t){var n=Ho();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Ro(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function ps(e,t,n){return ko&21?(Ir(n,t)||(n=Ht(),Ao.lanes|=n,al|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,Hs=!0),e.memoizedState=n)}function ms(e,t){var n=qt;qt=n!==0&&4>n?n:4,e(!0);var r=Oo.transition;Oo.transition={};try{e(!1),t()}finally{qt=n,Oo.transition=r}}function hs(){return Ho().memoizedState}function gs(e,t,n){var r=wl(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},vs(e))ys(t,n);else if(n=ro(e,t,n,r),n!==null){var i=Cl();Tl(n,e,r,i),bs(n,t,r)}}function _s(e,t,n){var r=wl(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(vs(e))ys(t,i);else{var a=e.alternate;if(e.lanes===0&&(a===null||a.lanes===0)&&(a=t.lastRenderedReducer,a!==null))try{var o=t.lastRenderedState,s=a(o,n);if(i.hasEagerState=!0,i.eagerState=s,Ir(s,o)){var c=t.interleaved;c===null?(i.next=i,no(t)):(i.next=c.next,c.next=i),t.interleaved=i;return}}catch{}n=ro(e,t,i,r),n!==null&&(i=Cl(),Tl(n,e,r,i),bs(n,t,r))}}function vs(e){var t=e.alternate;return e===Ao||t!==null&&t===Ao}function ys(e,t){Po=No=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function bs(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Kt(e,n)}}var xs={readContext:B,useCallback:Lo,useContext:Lo,useEffect:Lo,useImperativeHandle:Lo,useInsertionEffect:Lo,useLayoutEffect:Lo,useMemo:Lo,useReducer:Lo,useRef:Lo,useState:Lo,useDebugValue:Lo,useDeferredValue:Lo,useTransition:Lo,useMutableSource:Lo,useSyncExternalStore:Lo,useId:Lo,unstable_isNewReconciler:!1},Ss={readContext:B,useCallback:function(e,t){return Vo().memoizedState=[e,t===void 0?null:t],e},useContext:B,useEffect:is,useImperativeHandle:function(e,t,n){return n=n==null?null:n.concat([e]),ns(4194308,4,cs.bind(null,t,e),n)},useLayoutEffect:function(e,t){return ns(4194308,4,e,t)},useInsertionEffect:function(e,t){return ns(4,2,e,t)},useMemo:function(e,t){var n=Vo();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Vo();return t=n===void 0?t:n(t),r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=gs.bind(null,Ao,e),[r.memoizedState,e]},useRef:function(e){var t=Vo();return e={current:e},t.memoizedState=e},useState:$o,useDebugValue:us,useDeferredValue:function(e){return Vo().memoizedState=e},useTransition:function(){var e=$o(!1),t=e[0];return e=ms.bind(null,e[1]),Vo().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var i=Ao,a=Vo();if(Na){if(n===void 0)throw Error(r(407));n=n()}else{if(n=t(),Qc===null)throw Error(r(349));ko&30||Jo(i,t,n)}a.memoizedState=n;var o={value:n,getSnapshot:t};return a.queue=o,is(Xo.bind(null,i,o,e),[e]),i.flags|=2048,es(9,Yo.bind(null,i,o,n,t),void 0,null),n},useId:function(){var e=Vo(),t=Qc.identifierPrefix;if(Na){var n=Ea,r=Ta;n=(r&~(1<<32-jt(r)-1)).toString(32)+n,t=`:`+t+`R`+n,n=Fo++,0<n&&(t+=`H`+n.toString(32)),t+=`:`}else n=Io++,t=`:`+t+`r`+n.toString(32)+`:`;return e.memoizedState=t},unstable_isNewReconciler:!1},Cs={readContext:B,useCallback:ds,useContext:B,useEffect:as,useImperativeHandle:ls,useInsertionEffect:os,useLayoutEffect:ss,useMemo:fs,useReducer:Wo,useRef:ts,useState:function(){return Wo(Uo)},useDebugValue:us,useDeferredValue:function(e){return ps(Ho(),jo.memoizedState,e)},useTransition:function(){return[Wo(Uo)[0],Ho().memoizedState]},useMutableSource:Ko,useSyncExternalStore:qo,useId:hs,unstable_isNewReconciler:!1},ws={readContext:B,useCallback:ds,useContext:B,useEffect:as,useImperativeHandle:ls,useInsertionEffect:os,useLayoutEffect:ss,useMemo:fs,useReducer:Go,useRef:ts,useState:function(){return Go(Uo)},useDebugValue:us,useDeferredValue:function(e){var t=Ho();return jo===null?t.memoizedState=e:ps(t,jo.memoizedState,e)},useTransition:function(){return[Go(Uo)[0],Ho().memoizedState]},useMutableSource:Ko,useSyncExternalStore:qo,useId:hs,unstable_isNewReconciler:!1};function Ts(e,t){if(e&&e.defaultProps){for(var n in t=ae({},t),e=e.defaultProps,e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function Es(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:ae({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var Ds={isMounted:function(e){return(e=e._reactInternals)?dt(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Cl(),i=wl(e),a=so(r,i);a.payload=t,n!=null&&(a.callback=n),t=co(e,a,i),t!==null&&(Tl(t,e,i,r),lo(t,e,i))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Cl(),i=wl(e),a=so(r,i);a.tag=1,a.payload=t,n!=null&&(a.callback=n),t=co(e,a,i),t!==null&&(Tl(t,e,i,r),lo(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Cl(),r=wl(e),i=so(n,r);i.tag=2,t!=null&&(i.callback=t),t=co(e,i,r),t!==null&&(Tl(t,e,r,n),lo(t,e,r))}};function Os(e,t,n,r,i,a,o){return e=e.stateNode,typeof e.shouldComponentUpdate==`function`?e.shouldComponentUpdate(r,a,o):t.prototype&&t.prototype.isPureReactComponent?!Lr(n,r)||!Lr(i,a):!0}function ks(e,t,n){var r=!1,i=na,a=t.contextType;return typeof a==`object`&&a?a=B(a):(i=sa(t)?aa:ra.current,r=t.contextTypes,a=(r=r!=null)?oa(e,i):na),t=new t(n,a),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=Ds,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=a),t}function As(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps==`function`&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps==`function`&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Ds.enqueueReplaceState(t,t.state,null)}function js(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs={},ao(e);var a=t.contextType;typeof a==`object`&&a?i.context=B(a):(a=sa(t)?aa:ra.current,i.context=oa(e,a)),i.state=e.memoizedState,a=t.getDerivedStateFromProps,typeof a==`function`&&(Es(e,t,a,n),i.state=e.memoizedState),typeof t.getDerivedStateFromProps==`function`||typeof i.getSnapshotBeforeUpdate==`function`||typeof i.UNSAFE_componentWillMount!=`function`&&typeof i.componentWillMount!=`function`||(t=i.state,typeof i.componentWillMount==`function`&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount==`function`&&i.UNSAFE_componentWillMount(),t!==i.state&&Ds.enqueueReplaceState(i,i.state,null),fo(e,n,i,r),i.state=e.memoizedState),typeof i.componentDidMount==`function`&&(e.flags|=4194308)}function Ms(e,t){try{var n=``,r=t;do n+=le(r),r=r.return;while(r);var i=n}catch(e){i=`\nError generating stack: `+e.message+`\n`+e.stack}return{value:e,source:t,stack:i,digest:null}}function Ns(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function Ps(e,t){try{console.error(t.value)}catch(e){setTimeout(function(){throw e})}}var Fs=typeof WeakMap==`function`?WeakMap:Map;function Is(e,t,n){n=so(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){pl||(pl=!0,ml=r),Ps(e,t)},n}function Ls(e,t,n){n=so(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r==`function`){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){Ps(e,t)}}var a=e.stateNode;return a!==null&&typeof a.componentDidCatch==`function`&&(n.callback=function(){Ps(e,t),typeof r!=`function`&&(hl===null?hl=new Set([this]):hl.add(this));var n=t.stack;this.componentDidCatch(t.value,{componentStack:n===null?``:n})}),n}function Rs(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new Fs;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=Xl.bind(null,e,t,n),t.then(e,e))}function zs(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t===null?!0:t.dehydrated!==null),t)return e;e=e.return}while(e!==null);return null}function Bs(e,t,n,r,i){return e.mode&1?(e.flags|=65536,e.lanes=i,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=so(-1,1),t.tag=2,co(n,t,1))),n.lanes|=1),e)}var Vs=C.ReactCurrentOwner,Hs=!1;function Us(e,t,n,r){t.child=e===null?R(t,null,n,r):qa(t,e.child,n,r)}function Ws(e,t,n,r,i){n=n.render;var a=t.ref;return eo(t,i),r=zo(e,t,n,r,a,i),n=Bo(),e!==null&&!Hs?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,uc(e,t,i)):(Na&&n&&ka(t),t.flags|=1,Us(e,t,r,i),t.child)}function Gs(e,t,n,r,i){if(e===null){var a=n.type;return typeof a==`function`&&!iu(a)&&a.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=a,Ks(e,t,a,r,i)):(e=su(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(a=e.child,(e.lanes&i)===0){var o=a.memoizedProps;if(n=n.compare,n=n===null?Lr:n,n(o,r)&&e.ref===t.ref)return uc(e,t,i)}return t.flags|=1,e=ou(a,r),e.ref=t.ref,e.return=t,t.child=e}function Ks(e,t,n,r,i){if(e!==null){var a=e.memoizedProps;if(Lr(a,r)&&e.ref===t.ref)if(Hs=!1,t.pendingProps=r=a,(e.lanes&i)!==0)e.flags&131072&&(Hs=!0);else return t.lanes=e.lanes,uc(e,t,i)}return Ys(e,t,n,r,i)}function qs(e,t,n){var r=t.pendingProps,i=r.children,a=e===null?null:e.memoizedState;if(r.mode===`hidden`)if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},ta(nl,tl),tl|=n;else{if(!(n&1073741824))return e=a===null?n:a.baseLanes|n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,ta(nl,tl),tl|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=a===null?n:a.baseLanes,ta(nl,tl),tl|=r}else a===null?r=n:(r=a.baseLanes|n,t.memoizedState=null),ta(nl,tl),tl|=r;return Us(e,t,i,n),t.child}function Js(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Ys(e,t,n,r,i){var a=sa(n)?aa:ra.current;return a=oa(t,a),eo(t,i),n=zo(e,t,n,r,a,i),r=Bo(),e!==null&&!Hs?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,uc(e,t,i)):(Na&&r&&ka(t),t.flags|=1,Us(e,t,n,i),t.child)}function Xs(e,t,n,r,i){if(sa(n)){var a=!0;da(t)}else a=!1;if(eo(t,i),t.stateNode===null)lc(e,t),ks(t,n,r),js(t,n,r,i),r=!0;else if(e===null){var o=t.stateNode,s=t.memoizedProps;o.props=s;var c=o.context,l=n.contextType;typeof l==`object`&&l?l=B(l):(l=sa(n)?aa:ra.current,l=oa(t,l));var u=n.getDerivedStateFromProps,d=typeof u==`function`||typeof o.getSnapshotBeforeUpdate==`function`;d||typeof o.UNSAFE_componentWillReceiveProps!=`function`&&typeof o.componentWillReceiveProps!=`function`||(s!==r||c!==l)&&As(t,o,r,l),io=!1;var f=t.memoizedState;o.state=f,fo(t,r,o,i),c=t.memoizedState,s!==r||f!==c||ia.current||io?(typeof u==`function`&&(Es(t,n,u,r),c=t.memoizedState),(s=io||Os(t,n,s,r,f,c,l))?(d||typeof o.UNSAFE_componentWillMount!=`function`&&typeof o.componentWillMount!=`function`||(typeof o.componentWillMount==`function`&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount==`function`&&o.UNSAFE_componentWillMount()),typeof o.componentDidMount==`function`&&(t.flags|=4194308)):(typeof o.componentDidMount==`function`&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=c),o.props=r,o.state=c,o.context=l,r=s):(typeof o.componentDidMount==`function`&&(t.flags|=4194308),r=!1)}else{o=t.stateNode,oo(e,t),s=t.memoizedProps,l=t.type===t.elementType?s:Ts(t.type,s),o.props=l,d=t.pendingProps,f=o.context,c=n.contextType,typeof c==`object`&&c?c=B(c):(c=sa(n)?aa:ra.current,c=oa(t,c));var p=n.getDerivedStateFromProps;(u=typeof p==`function`||typeof o.getSnapshotBeforeUpdate==`function`)||typeof o.UNSAFE_componentWillReceiveProps!=`function`&&typeof o.componentWillReceiveProps!=`function`||(s!==d||f!==c)&&As(t,o,r,c),io=!1,f=t.memoizedState,o.state=f,fo(t,r,o,i);var m=t.memoizedState;s!==d||f!==m||ia.current||io?(typeof p==`function`&&(Es(t,n,p,r),m=t.memoizedState),(l=io||Os(t,n,l,r,f,m,c)||!1)?(u||typeof o.UNSAFE_componentWillUpdate!=`function`&&typeof o.componentWillUpdate!=`function`||(typeof o.componentWillUpdate==`function`&&o.componentWillUpdate(r,m,c),typeof o.UNSAFE_componentWillUpdate==`function`&&o.UNSAFE_componentWillUpdate(r,m,c)),typeof o.componentDidUpdate==`function`&&(t.flags|=4),typeof o.getSnapshotBeforeUpdate==`function`&&(t.flags|=1024)):(typeof o.componentDidUpdate!=`function`||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!=`function`||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=m),o.props=r,o.state=m,o.context=c,r=l):(typeof o.componentDidUpdate!=`function`||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!=`function`||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return Zs(e,t,n,r,a,i)}function Zs(e,t,n,r,i,a){Js(e,t);var o=(t.flags&128)!=0;if(!r&&!o)return i&&fa(t,n,!1),uc(e,t,a);r=t.stateNode,Vs.current=t;var s=o&&typeof n.getDerivedStateFromError!=`function`?null:r.render();return t.flags|=1,e!==null&&o?(t.child=qa(t,e.child,null,a),t.child=qa(t,null,s,a)):Us(e,t,s,a),t.memoizedState=r.state,i&&fa(t,n,!0),t.child}function Qs(e){var t=e.stateNode;t.pendingContext?la(e,t.pendingContext,t.pendingContext!==t.context):t.context&&la(e,t.context,!1),yo(e,t.containerInfo)}function $s(e,t,n,r,i){return Va(),Ha(i),t.flags|=256,Us(e,t,n,r),t.child}var ec={dehydrated:null,treeContext:null,retryLane:0};function tc(e){return{baseLanes:e,cachePool:null,transitions:null}}function nc(e,t,n){var r=t.pendingProps,i=Co.current,a=!1,o=(t.flags&128)!=0,s;if((s=o)||(s=e!==null&&e.memoizedState===null?!1:(i&2)!=0),s?(a=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(i|=1),ta(Co,i&1),e===null)return La(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data===`$!`?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(o=r.children,e=r.fallback,a?(r=t.mode,a=t.child,o={mode:`hidden`,children:o},!(r&1)&&a!==null?(a.childLanes=0,a.pendingProps=o):a=lu(o,r,0,null),e=cu(e,r,n,null),a.return=t,e.return=t,a.sibling=e,t.child=a,t.child.memoizedState=tc(n),t.memoizedState=ec,e):rc(t,o));if(i=e.memoizedState,i!==null&&(s=i.dehydrated,s!==null))return ac(e,t,o,r,s,i,n);if(a){a=r.fallback,o=t.mode,i=e.child,s=i.sibling;var c={mode:`hidden`,children:r.children};return!(o&1)&&t.child!==i?(r=t.child,r.childLanes=0,r.pendingProps=c,t.deletions=null):(r=ou(i,c),r.subtreeFlags=i.subtreeFlags&14680064),s===null?(a=cu(a,o,n,null),a.flags|=2):a=ou(s,a),a.return=t,r.return=t,r.sibling=a,t.child=r,r=a,a=t.child,o=e.child.memoizedState,o=o===null?tc(n):{baseLanes:o.baseLanes|n,cachePool:null,transitions:o.transitions},a.memoizedState=o,a.childLanes=e.childLanes&~n,t.memoizedState=ec,r}return a=e.child,e=a.sibling,r=ou(a,{mode:`visible`,children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function rc(e,t){return t=lu({mode:`visible`,children:t},e.mode,0,null),t.return=e,e.child=t}function ic(e,t,n,r){return r!==null&&Ha(r),qa(t,e.child,null,n),e=rc(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function ac(e,t,n,i,a,o,s){if(n)return t.flags&256?(t.flags&=-257,i=Ns(Error(r(422))),ic(e,t,s,i)):t.memoizedState===null?(o=i.fallback,a=t.mode,i=lu({mode:`visible`,children:i.children},a,0,null),o=cu(o,a,s,null),o.flags|=2,i.return=t,o.return=t,i.sibling=o,t.child=i,t.mode&1&&qa(t,e.child,null,s),t.child.memoizedState=tc(s),t.memoizedState=ec,o):(t.child=e.child,t.flags|=128,null);if(!(t.mode&1))return ic(e,t,s,null);if(a.data===`$!`){if(i=a.nextSibling&&a.nextSibling.dataset,i)var c=i.dgst;return i=c,o=Error(r(419)),i=Ns(o,i,void 0),ic(e,t,s,i)}if(c=(s&e.childLanes)!==0,Hs||c){if(i=Qc,i!==null){switch(s&-s){case 4:a=2;break;case 16:a=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:a=32;break;case 536870912:a=268435456;break;default:a=0}a=(a&(i.suspendedLanes|s))===0?a:0,a!==0&&a!==o.retryLane&&(o.retryLane=a,V(e,a),Tl(i,e,a,-1))}return zl(),i=Ns(Error(r(421))),ic(e,t,s,i)}return a.data===`$?`?(t.flags|=128,t.child=e.child,t=Ql.bind(null,e),a._reactRetry=t,null):(e=o.treeContext,Ma=Ri(a.nextSibling),ja=t,Na=!0,I=null,e!==null&&(Sa[Ca++]=Ta,Sa[Ca++]=Ea,Sa[Ca++]=wa,Ta=e.id,Ea=e.overflow,wa=t),t=rc(t,i.children),t.flags|=4096,t)}function oc(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),$a(e.return,t,n)}function sc(e,t,n,r,i){var a=e.memoizedState;a===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailMode=i)}function cc(e,t,n){var r=t.pendingProps,i=r.revealOrder,a=r.tail;if(Us(e,t,r.children,n),r=Co.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)a:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&oc(e,n,t);else if(e.tag===19)oc(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break a;for(;e.sibling===null;){if(e.return===null||e.return===t)break a;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(ta(Co,r),!(t.mode&1))t.memoizedState=null;else switch(i){case`forwards`:for(n=t.child,i=null;n!==null;)e=n.alternate,e!==null&&wo(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),sc(t,!1,i,n,a);break;case`backwards`:for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&wo(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}sc(t,!0,n,null,a);break;case`together`:sc(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function lc(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function uc(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),al|=t.lanes,(n&t.childLanes)===0)return null;if(e!==null&&t.child!==e.child)throw Error(r(153));if(t.child!==null){for(e=t.child,n=ou(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=ou(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function dc(e,t,n){switch(t.tag){case 3:Qs(t),Va();break;case 5:xo(t);break;case 1:sa(t.type)&&da(t);break;case 4:yo(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;ta(Ja,r._currentValue),r._currentValue=i;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated===null?(n&t.child.childLanes)===0?(ta(Co,Co.current&1),e=uc(e,t,n),e===null?null:e.sibling):nc(e,t,n):(ta(Co,Co.current&1),t.flags|=128,null);ta(Co,Co.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return cc(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),ta(Co,Co.current),r)break;return null;case 22:case 23:return t.lanes=0,qs(e,t,n)}return uc(e,t,n)}var fc=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},pc=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,vo(ho.current);var o=null;switch(n){case`input`:i=ve(e,i),r=ve(e,r),o=[];break;case`select`:i=ae({},i,{value:void 0}),r=ae({},r,{value:void 0}),o=[];break;case`textarea`:i=Ee(e,i),r=Ee(e,r),o=[];break;default:typeof i.onClick!=`function`&&typeof r.onClick==`function`&&(e.onclick=Oi)}Be(n,r);var s;for(u in n=null,i)if(!r.hasOwnProperty(u)&&i.hasOwnProperty(u)&&i[u]!=null)if(u===`style`){var c=i[u];for(s in c)c.hasOwnProperty(s)&&(n||={},n[s]=``)}else u!==`dangerouslySetInnerHTML`&&u!==`children`&&u!==`suppressContentEditableWarning`&&u!==`suppressHydrationWarning`&&u!==`autoFocus`&&(a.hasOwnProperty(u)?o||=[]:(o||=[]).push(u,null));for(u in r){var l=r[u];if(c=i?.[u],r.hasOwnProperty(u)&&l!==c&&(l!=null||c!=null))if(u===`style`)if(c){for(s in c)!c.hasOwnProperty(s)||l&&l.hasOwnProperty(s)||(n||={},n[s]=``);for(s in l)l.hasOwnProperty(s)&&c[s]!==l[s]&&(n||={},n[s]=l[s])}else n||(o||=[],o.push(u,n)),n=l;else u===`dangerouslySetInnerHTML`?(l=l?l.__html:void 0,c=c?c.__html:void 0,l!=null&&c!==l&&(o||=[]).push(u,l)):u===`children`?typeof l!=`string`&&typeof l!=`number`||(o||=[]).push(u,``+l):u!==`suppressContentEditableWarning`&&u!==`suppressHydrationWarning`&&(a.hasOwnProperty(u)?(l!=null&&u===`onScroll`&&mi(`scroll`,e),o||c===l||(o=[])):(o||=[]).push(u,l))}n&&(o||=[]).push(`style`,n);var u=o;(t.updateQueue=u)&&(t.flags|=4)}},mc=function(e,t,n,r){n!==r&&(t.flags|=4)};function hc(e,t){if(!Na)switch(e.tailMode){case`hidden`:t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case`collapsed`:n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function gc(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags&14680064,r|=i.flags&14680064,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function _c(e,t,n){var i=t.pendingProps;switch(Aa(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return gc(t),null;case 1:return sa(t.type)&&ca(),gc(t),null;case 3:return i=t.stateNode,bo(),ea(ia),ea(ra),Eo(),i.pendingContext&&(i.context=i.pendingContext,i.pendingContext=null),(e===null||e.child===null)&&(za(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,I!==null&&(kl(I),I=null))),gc(t),null;case 5:So(t);var o=vo(_o.current);if(n=t.type,e!==null&&t.stateNode!=null)pc(e,t,n,i,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!i){if(t.stateNode===null)throw Error(r(166));return gc(t),null}if(e=vo(ho.current),za(t)){i=t.stateNode,n=t.type;var s=t.memoizedProps;switch(i[Vi]=t,i[Hi]=s,e=(t.mode&1)!=0,n){case`dialog`:mi(`cancel`,i),mi(`close`,i);break;case`iframe`:case`object`:case`embed`:mi(`load`,i);break;case`video`:case`audio`:for(o=0;o<ui.length;o++)mi(ui[o],i);break;case`source`:mi(`error`,i);break;case`img`:case`image`:case`link`:mi(`error`,i),mi(`load`,i);break;case`details`:mi(`toggle`,i);break;case`input`:ye(i,s),mi(`invalid`,i);break;case`select`:i._wrapperState={wasMultiple:!!s.multiple},mi(`invalid`,i);break;case`textarea`:De(i,s),mi(`invalid`,i)}for(var c in Be(n,s),o=null,s)if(s.hasOwnProperty(c)){var l=s[c];c===`children`?typeof l==`string`?i.textContent!==l&&(!0!==s.suppressHydrationWarning&&Di(i.textContent,l,e),o=[`children`,l]):typeof l==`number`&&i.textContent!==``+l&&(!0!==s.suppressHydrationWarning&&Di(i.textContent,l,e),o=[`children`,``+l]):a.hasOwnProperty(c)&&l!=null&&c===`onScroll`&&mi(`scroll`,i)}switch(n){case`input`:he(i),Se(i,s,!0);break;case`textarea`:he(i),ke(i);break;case`select`:case`option`:break;default:typeof s.onClick==`function`&&(i.onclick=Oi)}i=o,t.updateQueue=i,i!==null&&(t.flags|=4)}else{c=o.nodeType===9?o:o.ownerDocument,e===`http://www.w3.org/1999/xhtml`&&(e=Ae(n)),e===`http://www.w3.org/1999/xhtml`?n===`script`?(e=c.createElement(`div`),e.innerHTML=`<script><\\/script>`,e=e.removeChild(e.firstChild)):typeof i.is==`string`?e=c.createElement(n,{is:i.is}):(e=c.createElement(n),n===`select`&&(c=e,i.multiple?c.multiple=!0:i.size&&(c.size=i.size))):e=c.createElementNS(e,n),e[Vi]=t,e[Hi]=i,fc(e,t,!1,!1),t.stateNode=e;a:{switch(c=Ve(n,i),n){case`dialog`:mi(`cancel`,e),mi(`close`,e),o=i;break;case`iframe`:case`object`:case`embed`:mi(`load`,e),o=i;break;case`video`:case`audio`:for(o=0;o<ui.length;o++)mi(ui[o],e);o=i;break;case`source`:mi(`error`,e),o=i;break;case`img`:case`image`:case`link`:mi(`error`,e),mi(`load`,e),o=i;break;case`details`:mi(`toggle`,e),o=i;break;case`input`:ye(e,i),o=ve(e,i),mi(`invalid`,e);break;case`option`:o=i;break;case`select`:e._wrapperState={wasMultiple:!!i.multiple},o=ae({},i,{value:void 0}),mi(`invalid`,e);break;case`textarea`:De(e,i),o=Ee(e,i),mi(`invalid`,e);break;default:o=i}for(s in Be(n,o),l=o,l)if(l.hasOwnProperty(s)){var u=l[s];s===`style`?Re(e,u):s===`dangerouslySetInnerHTML`?(u=u?u.__html:void 0,u!=null&&Ne(e,u)):s===`children`?typeof u==`string`?(n!==`textarea`||u!==``)&&Pe(e,u):typeof u==`number`&&Pe(e,``+u):s!==`suppressContentEditableWarning`&&s!==`suppressHydrationWarning`&&s!==`autoFocus`&&(a.hasOwnProperty(s)?u!=null&&s===`onScroll`&&mi(`scroll`,e):u!=null&&S(e,s,u,c))}switch(n){case`input`:he(e),Se(e,i,!1);break;case`textarea`:he(e),ke(e);break;case`option`:i.value!=null&&e.setAttribute(`value`,``+fe(i.value));break;case`select`:e.multiple=!!i.multiple,s=i.value,s==null?i.defaultValue!=null&&Te(e,!!i.multiple,i.defaultValue,!0):Te(e,!!i.multiple,s,!1);break;default:typeof o.onClick==`function`&&(e.onclick=Oi)}switch(n){case`button`:case`input`:case`select`:case`textarea`:i=!!i.autoFocus;break a;case`img`:i=!0;break a;default:i=!1}}i&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return gc(t),null;case 6:if(e&&t.stateNode!=null)mc(e,t,e.memoizedProps,i);else{if(typeof i!=`string`&&t.stateNode===null)throw Error(r(166));if(n=vo(_o.current),vo(ho.current),za(t)){if(i=t.stateNode,n=t.memoizedProps,i[Vi]=t,(s=i.nodeValue!==n)&&(e=ja,e!==null))switch(e.tag){case 3:Di(i.nodeValue,n,(e.mode&1)!=0);break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&Di(i.nodeValue,n,(e.mode&1)!=0)}s&&(t.flags|=4)}else i=(n.nodeType===9?n:n.ownerDocument).createTextNode(i),i[Vi]=t,t.stateNode=i}return gc(t),null;case 13:if(ea(Co),i=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(Na&&Ma!==null&&t.mode&1&&!(t.flags&128))Ba(),Va(),t.flags|=98560,s=!1;else if(s=za(t),i!==null&&i.dehydrated!==null){if(e===null){if(!s)throw Error(r(318));if(s=t.memoizedState,s=s===null?null:s.dehydrated,!s)throw Error(r(317));s[Vi]=t}else Va(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;gc(t),s=!1}else I!==null&&(kl(I),I=null),s=!0;if(!s)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(i=i!==null,i!==(e!==null&&e.memoizedState!==null)&&i&&(t.child.flags|=8192,t.mode&1&&(e===null||Co.current&1?rl===0&&(rl=3):zl())),t.updateQueue!==null&&(t.flags|=4),gc(t),null);case 4:return bo(),e===null&&_i(t.stateNode.containerInfo),gc(t),null;case 10:return Qa(t.type._context),gc(t),null;case 17:return sa(t.type)&&ca(),gc(t),null;case 19:if(ea(Co),s=t.memoizedState,s===null)return gc(t),null;if(i=(t.flags&128)!=0,c=s.rendering,c===null)if(i)hc(s,!1);else{if(rl!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(c=wo(e),c!==null){for(t.flags|=128,hc(s,!1),i=c.updateQueue,i!==null&&(t.updateQueue=i,t.flags|=4),t.subtreeFlags=0,i=n,n=t.child;n!==null;)s=n,e=i,s.flags&=14680066,c=s.alternate,c===null?(s.childLanes=0,s.lanes=e,s.child=null,s.subtreeFlags=0,s.memoizedProps=null,s.memoizedState=null,s.updateQueue=null,s.dependencies=null,s.stateNode=null):(s.childLanes=c.childLanes,s.lanes=c.lanes,s.child=c.child,s.subtreeFlags=0,s.deletions=null,s.memoizedProps=c.memoizedProps,s.memoizedState=c.memoizedState,s.updateQueue=c.updateQueue,s.type=c.type,e=c.dependencies,s.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return ta(Co,Co.current&1|2),t.child}e=e.sibling}s.tail!==null&&xt()>dl&&(t.flags|=128,i=!0,hc(s,!1),t.lanes=4194304)}else{if(!i)if(e=wo(c),e!==null){if(t.flags|=128,i=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),hc(s,!0),s.tail===null&&s.tailMode===`hidden`&&!c.alternate&&!Na)return gc(t),null}else 2*xt()-s.renderingStartTime>dl&&n!==1073741824&&(t.flags|=128,i=!0,hc(s,!1),t.lanes=4194304);s.isBackwards?(c.sibling=t.child,t.child=c):(n=s.last,n===null?t.child=c:n.sibling=c,s.last=c)}return s.tail===null?(gc(t),null):(t=s.tail,s.rendering=t,s.tail=t.sibling,s.renderingStartTime=xt(),t.sibling=null,n=Co.current,ta(Co,i?n&1|2:n&1),t);case 22:case 23:return Fl(),i=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==i&&(t.flags|=8192),i&&t.mode&1?tl&1073741824&&(gc(t),t.subtreeFlags&6&&(t.flags|=8192)):gc(t),null;case 24:return null;case 25:return null}throw Error(r(156,t.tag))}function vc(e,t){switch(Aa(t),t.tag){case 1:return sa(t.type)&&ca(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return bo(),ea(ia),ea(ra),Eo(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return So(t),null;case 13:if(ea(Co),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(r(340));Va()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return ea(Co),null;case 4:return bo(),null;case 10:return Qa(t.type._context),null;case 22:case 23:return Fl(),null;case 24:return null;default:return null}}var yc=!1,bc=!1,xc=typeof WeakSet==`function`?WeakSet:Set,H=null;function Sc(e,t){var n=e.ref;if(n!==null)if(typeof n==`function`)try{n(null)}catch(n){Yl(e,t,n)}else n.current=null}function Cc(e,t,n){try{n()}catch(n){Yl(e,t,n)}}var wc=!1;function Tc(e,t){if(ki=bn,e=Vr(),Hr(e)){if(`selectionStart`in e)var n={start:e.selectionStart,end:e.selectionEnd};else a:{n=(n=e.ownerDocument)&&n.defaultView||window;var i=n.getSelection&&n.getSelection();if(i&&i.rangeCount!==0){n=i.anchorNode;var a=i.anchorOffset,o=i.focusNode;i=i.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break a}var s=0,c=-1,l=-1,u=0,d=0,f=e,p=null;b:for(;;){for(var m;f!==n||a!==0&&f.nodeType!==3||(c=s+a),f!==o||i!==0&&f.nodeType!==3||(l=s+i),f.nodeType===3&&(s+=f.nodeValue.length),(m=f.firstChild)!==null;)p=f,f=m;for(;;){if(f===e)break b;if(p===n&&++u===a&&(c=s),p===o&&++d===i&&(l=s),(m=f.nextSibling)!==null)break;f=p,p=f.parentNode}f=m}n=c===-1||l===-1?null:{start:c,end:l}}else n=null}n||={start:0,end:0}}else n=null;for(Ai={focusedElem:e,selectionRange:n},bn=!1,H=t;H!==null;)if(t=H,e=t.child,t.subtreeFlags&1028&&e!==null)e.return=t,H=e;else for(;H!==null;){t=H;try{var h=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(h!==null){var g=h.memoizedProps,_=h.memoizedState,v=t.stateNode;v.__reactInternalSnapshotBeforeUpdate=v.getSnapshotBeforeUpdate(t.elementType===t.type?g:Ts(t.type,g),_)}break;case 3:var y=t.stateNode.containerInfo;y.nodeType===1?y.textContent=``:y.nodeType===9&&y.documentElement&&y.removeChild(y.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(r(163))}}catch(e){Yl(t,t.return,e)}if(e=t.sibling,e!==null){e.return=t.return,H=e;break}H=t.return}return h=wc,wc=!1,h}function Ec(e,t,n){var r=t.updateQueue;if(r=r===null?null:r.lastEffect,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var a=i.destroy;i.destroy=void 0,a!==void 0&&Cc(t,n,a)}i=i.next}while(i!==r)}}function Dc(e,t){if(t=t.updateQueue,t=t===null?null:t.lastEffect,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function Oc(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t==`function`?t(e):t.current=e}}function kc(e){var t=e.alternate;t!==null&&(e.alternate=null,kc(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Vi],delete t[Hi],delete t[Wi],delete t[Gi],delete t[Ki])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Ac(e){return e.tag===5||e.tag===3||e.tag===4}function jc(e){a:for(;;){for(;e.sibling===null;){if(e.return===null||Ac(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue a;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Mc(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Oi));else if(r!==4&&(e=e.child,e!==null))for(Mc(e,t,n),e=e.sibling;e!==null;)Mc(e,t,n),e=e.sibling}function Nc(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Nc(e,t,n),e=e.sibling;e!==null;)Nc(e,t,n),e=e.sibling}var Pc=null,Fc=!1;function Ic(e,t,n){for(n=n.child;n!==null;)Lc(e,t,n),n=n.sibling}function Lc(e,t,n){if(kt&&typeof kt.onCommitFiberUnmount==`function`)try{kt.onCommitFiberUnmount(Ot,n)}catch{}switch(n.tag){case 5:bc||Sc(n,t);case 6:var r=Pc,i=Fc;Pc=null,Ic(e,t,n),Pc=r,Fc=i,Pc!==null&&(Fc?(e=Pc,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Pc.removeChild(n.stateNode));break;case 18:Pc!==null&&(Fc?(e=Pc,n=n.stateNode,e.nodeType===8?Li(e.parentNode,n):e.nodeType===1&&Li(e,n),vn(e)):Li(Pc,n.stateNode));break;case 4:r=Pc,i=Fc,Pc=n.stateNode.containerInfo,Fc=!0,Ic(e,t,n),Pc=r,Fc=i;break;case 0:case 11:case 14:case 15:if(!bc&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var a=i,o=a.destroy;a=a.tag,o!==void 0&&(a&2||a&4)&&Cc(n,t,o),i=i.next}while(i!==r)}Ic(e,t,n);break;case 1:if(!bc&&(Sc(n,t),r=n.stateNode,typeof r.componentWillUnmount==`function`))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(e){Yl(n,t,e)}Ic(e,t,n);break;case 21:Ic(e,t,n);break;case 22:n.mode&1?(bc=(r=bc)||n.memoizedState!==null,Ic(e,t,n),bc=r):Ic(e,t,n);break;default:Ic(e,t,n)}}function Rc(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new xc),t.forEach(function(t){var r=$l.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))})}}function zc(e,t){var n=t.deletions;if(n!==null)for(var i=0;i<n.length;i++){var a=n[i];try{var o=e,s=t,c=s;a:for(;c!==null;){switch(c.tag){case 5:Pc=c.stateNode,Fc=!1;break a;case 3:Pc=c.stateNode.containerInfo,Fc=!0;break a;case 4:Pc=c.stateNode.containerInfo,Fc=!0;break a}c=c.return}if(Pc===null)throw Error(r(160));Lc(o,s,a),Pc=null,Fc=!1;var l=a.alternate;l!==null&&(l.return=null),a.return=null}catch(e){Yl(a,t,e)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)Bc(t,e),t=t.sibling}function Bc(e,t){var n=e.alternate,i=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(zc(t,e),Vc(e),i&4){try{Ec(3,e,e.return),Dc(3,e)}catch(t){Yl(e,e.return,t)}try{Ec(5,e,e.return)}catch(t){Yl(e,e.return,t)}}break;case 1:zc(t,e),Vc(e),i&512&&n!==null&&Sc(n,n.return);break;case 5:if(zc(t,e),Vc(e),i&512&&n!==null&&Sc(n,n.return),e.flags&32){var a=e.stateNode;try{Pe(a,``)}catch(t){Yl(e,e.return,t)}}if(i&4&&(a=e.stateNode,a!=null)){var o=e.memoizedProps,s=n===null?o:n.memoizedProps,c=e.type,l=e.updateQueue;if(e.updateQueue=null,l!==null)try{c===`input`&&o.type===`radio`&&o.name!=null&&be(a,o),Ve(c,s);var u=Ve(c,o);for(s=0;s<l.length;s+=2){var d=l[s],f=l[s+1];d===`style`?Re(a,f):d===`dangerouslySetInnerHTML`?Ne(a,f):d===`children`?Pe(a,f):S(a,d,f,u)}switch(c){case`input`:xe(a,o);break;case`textarea`:Oe(a,o);break;case`select`:var p=a._wrapperState.wasMultiple;a._wrapperState.wasMultiple=!!o.multiple;var m=o.value;m==null?p!==!!o.multiple&&(o.defaultValue==null?Te(a,!!o.multiple,o.multiple?[]:``,!1):Te(a,!!o.multiple,o.defaultValue,!0)):Te(a,!!o.multiple,m,!1)}a[Hi]=o}catch(t){Yl(e,e.return,t)}}break;case 6:if(zc(t,e),Vc(e),i&4){if(e.stateNode===null)throw Error(r(162));a=e.stateNode,o=e.memoizedProps;try{a.nodeValue=o}catch(t){Yl(e,e.return,t)}}break;case 3:if(zc(t,e),Vc(e),i&4&&n!==null&&n.memoizedState.isDehydrated)try{vn(t.containerInfo)}catch(t){Yl(e,e.return,t)}break;case 4:zc(t,e),Vc(e);break;case 13:zc(t,e),Vc(e),a=e.child,a.flags&8192&&(o=a.memoizedState!==null,a.stateNode.isHidden=o,!o||a.alternate!==null&&a.alternate.memoizedState!==null||(ul=xt())),i&4&&Rc(e);break;case 22:if(d=n!==null&&n.memoizedState!==null,e.mode&1?(bc=(u=bc)||d,zc(t,e),bc=u):zc(t,e),Vc(e),i&8192){if(u=e.memoizedState!==null,(e.stateNode.isHidden=u)&&!d&&e.mode&1)for(H=e,d=e.child;d!==null;){for(f=H=d;H!==null;){switch(p=H,m=p.child,p.tag){case 0:case 11:case 14:case 15:Ec(4,p,p.return);break;case 1:Sc(p,p.return);var h=p.stateNode;if(typeof h.componentWillUnmount==`function`){i=p,n=p.return;try{t=i,h.props=t.memoizedProps,h.state=t.memoizedState,h.componentWillUnmount()}catch(e){Yl(i,n,e)}}break;case 5:Sc(p,p.return);break;case 22:if(p.memoizedState!==null){Gc(f);continue}}m===null?Gc(f):(m.return=p,H=m)}d=d.sibling}a:for(d=null,f=e;;){if(f.tag===5){if(d===null){d=f;try{a=f.stateNode,u?(o=a.style,typeof o.setProperty==`function`?o.setProperty(`display`,`none`,`important`):o.display=`none`):(c=f.stateNode,l=f.memoizedProps.style,s=l!=null&&l.hasOwnProperty(`display`)?l.display:null,c.style.display=Le(`display`,s))}catch(t){Yl(e,e.return,t)}}}else if(f.tag===6){if(d===null)try{f.stateNode.nodeValue=u?``:f.memoizedProps}catch(t){Yl(e,e.return,t)}}else if((f.tag!==22&&f.tag!==23||f.memoizedState===null||f===e)&&f.child!==null){f.child.return=f,f=f.child;continue}if(f===e)break a;for(;f.sibling===null;){if(f.return===null||f.return===e)break a;d===f&&(d=null),f=f.return}d===f&&(d=null),f.sibling.return=f.return,f=f.sibling}}break;case 19:zc(t,e),Vc(e),i&4&&Rc(e);break;case 21:break;default:zc(t,e),Vc(e)}}function Vc(e){var t=e.flags;if(t&2){try{a:{for(var n=e.return;n!==null;){if(Ac(n)){var i=n;break a}n=n.return}throw Error(r(160))}switch(i.tag){case 5:var a=i.stateNode;i.flags&32&&(Pe(a,``),i.flags&=-33),Nc(e,jc(e),a);break;case 3:case 4:var o=i.stateNode.containerInfo;Mc(e,jc(e),o);break;default:throw Error(r(161))}}catch(t){Yl(e,e.return,t)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Hc(e,t,n){H=e,Uc(e,t,n)}function Uc(e,t,n){for(var r=(e.mode&1)!=0;H!==null;){var i=H,a=i.child;if(i.tag===22&&r){var o=i.memoizedState!==null||yc;if(!o){var s=i.alternate,c=s!==null&&s.memoizedState!==null||bc;s=yc;var l=bc;if(yc=o,(bc=c)&&!l)for(H=i;H!==null;)o=H,c=o.child,o.tag===22&&o.memoizedState!==null||c===null?Kc(i):(c.return=o,H=c);for(;a!==null;)H=a,Uc(a,t,n),a=a.sibling;H=i,yc=s,bc=l}Wc(e,t,n)}else i.subtreeFlags&8772&&a!==null?(a.return=i,H=a):Wc(e,t,n)}}function Wc(e){for(;H!==null;){var t=H;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:bc||Dc(5,t);break;case 1:var i=t.stateNode;if(t.flags&4&&!bc)if(n===null)i.componentDidMount();else{var a=t.elementType===t.type?n.memoizedProps:Ts(t.type,n.memoizedProps);i.componentDidUpdate(a,n.memoizedState,i.__reactInternalSnapshotBeforeUpdate)}var o=t.updateQueue;o!==null&&po(t,o,i);break;case 3:var s=t.updateQueue;if(s!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}po(t,s,n)}break;case 5:var c=t.stateNode;if(n===null&&t.flags&4){n=c;var l=t.memoizedProps;switch(t.type){case`button`:case`input`:case`select`:case`textarea`:l.autoFocus&&n.focus();break;case`img`:l.src&&(n.src=l.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var u=t.alternate;if(u!==null){var d=u.memoizedState;if(d!==null){var f=d.dehydrated;f!==null&&vn(f)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(r(163))}bc||t.flags&512&&Oc(t)}catch(e){Yl(t,t.return,e)}}if(t===e){H=null;break}if(n=t.sibling,n!==null){n.return=t.return,H=n;break}H=t.return}}function Gc(e){for(;H!==null;){var t=H;if(t===e){H=null;break}var n=t.sibling;if(n!==null){n.return=t.return,H=n;break}H=t.return}}function Kc(e){for(;H!==null;){var t=H;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{Dc(4,t)}catch(e){Yl(t,n,e)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount==`function`){var i=t.return;try{r.componentDidMount()}catch(e){Yl(t,i,e)}}var a=t.return;try{Oc(t)}catch(e){Yl(t,a,e)}break;case 5:var o=t.return;try{Oc(t)}catch(e){Yl(t,o,e)}}}catch(e){Yl(t,t.return,e)}if(t===e){H=null;break}var s=t.sibling;if(s!==null){s.return=t.return,H=s;break}H=t.return}}var qc=Math.ceil,Jc=C.ReactCurrentDispatcher,Yc=C.ReactCurrentOwner,Xc=C.ReactCurrentBatchConfig,Zc=0,Qc=null,$c=null,el=0,tl=0,nl=$i(0),rl=0,il=null,al=0,ol=0,sl=0,cl=null,ll=null,ul=0,dl=1/0,fl=null,pl=!1,ml=null,hl=null,gl=!1,_l=null,vl=0,yl=0,bl=null,xl=-1,Sl=0;function Cl(){return Zc&6?xt():xl===-1?xl=xt():xl}function wl(e){return e.mode&1?Zc&2&&el!==0?el&-el:Ua.transition===null?(e=qt,e===0?(e=window.event,e=e===void 0?16:En(e.type),e):e):(Sl===0&&(Sl=Ht()),Sl):1}function Tl(e,t,n,i){if(50<yl)throw yl=0,bl=null,Error(r(185));Wt(e,n,i),(!(Zc&2)||e!==Qc)&&(e===Qc&&(!(Zc&2)&&(ol|=n),rl===4&&jl(e,el)),El(e,i),n===1&&Zc===0&&!(t.mode&1)&&(dl=xt()+500,pa&&_a()))}function El(e,t){var n=e.callbackNode;Bt(e,t);var r=Rt(e,e===Qc?el:0);if(r===0)n!==null&&vt(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&vt(n),t===1)e.tag===0?ga(Ml.bind(null,e)):ha(Ml.bind(null,e)),Fi(function(){!(Zc&6)&&_a()}),n=null;else{switch(Jt(r)){case 1:n=Ct;break;case 4:n=wt;break;case 16:n=Tt;break;case 536870912:n=Dt;break;default:n=Tt}n=tu(n,Dl.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function Dl(e,t){if(xl=-1,Sl=0,Zc&6)throw Error(r(327));var n=e.callbackNode;if(ql()&&e.callbackNode!==n)return null;var i=Rt(e,e===Qc?el:0);if(i===0)return null;if(i&30||(i&e.expiredLanes)!==0||t)t=Bl(e,i);else{t=i;var a=Zc;Zc|=2;var o=Rl();(Qc!==e||el!==t)&&(fl=null,dl=xt()+500,Il(e,t));do try{Hl();break}catch(t){Ll(e,t)}while(1);Za(),Jc.current=o,Zc=a,$c===null?(Qc=null,el=0,t=rl):t=0}if(t!==0){if(t===2&&(a=Vt(e),a!==0&&(i=a,t=Ol(e,a))),t===1)throw n=il,Il(e,0),jl(e,i),El(e,xt()),n;if(t===6)jl(e,i);else{if(a=e.current.alternate,!(i&30)&&!Al(a)&&(t=Bl(e,i),t===2&&(o=Vt(e),o!==0&&(i=o,t=Ol(e,o))),t===1))throw n=il,Il(e,0),jl(e,i),El(e,xt()),n;switch(e.finishedWork=a,e.finishedLanes=i,t){case 0:case 1:throw Error(r(345));case 2:Gl(e,ll,fl);break;case 3:if(jl(e,i),(i&130023424)===i&&(t=ul+500-xt(),10<t)){if(Rt(e,0)!==0)break;if(a=e.suspendedLanes,(a&i)!==i){Cl(),e.pingedLanes|=e.suspendedLanes&a;break}e.timeoutHandle=Mi(Gl.bind(null,e,ll,fl),t);break}Gl(e,ll,fl);break;case 4:if(jl(e,i),(i&4194240)===i)break;for(t=e.eventTimes,a=-1;0<i;){var s=31-jt(i);o=1<<s,s=t[s],s>a&&(a=s),i&=~o}if(i=a,i=xt()-i,i=(120>i?120:480>i?480:1080>i?1080:1920>i?1920:3e3>i?3e3:4320>i?4320:1960*qc(i/1960))-i,10<i){e.timeoutHandle=Mi(Gl.bind(null,e,ll,fl),i);break}Gl(e,ll,fl);break;case 5:Gl(e,ll,fl);break;default:throw Error(r(329))}}}return El(e,xt()),e.callbackNode===n?Dl.bind(null,e):null}function Ol(e,t){var n=cl;return e.current.memoizedState.isDehydrated&&(Il(e,t).flags|=256),e=Bl(e,t),e!==2&&(t=ll,ll=n,t!==null&&kl(t)),e}function kl(e){ll===null?ll=e:ll.push.apply(ll,e)}function Al(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var i=n[r],a=i.getSnapshot;i=i.value;try{if(!Ir(a(),i))return!1}catch{return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function jl(e,t){for(t&=~sl,t&=~ol,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-jt(t),r=1<<n;e[n]=-1,t&=~r}}function Ml(e){if(Zc&6)throw Error(r(327));ql();var t=Rt(e,0);if(!(t&1))return El(e,xt()),null;var n=Bl(e,t);if(e.tag!==0&&n===2){var i=Vt(e);i!==0&&(t=i,n=Ol(e,i))}if(n===1)throw n=il,Il(e,0),jl(e,t),El(e,xt()),n;if(n===6)throw Error(r(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Gl(e,ll,fl),El(e,xt()),null}function Nl(e,t){var n=Zc;Zc|=1;try{return e(t)}finally{Zc=n,Zc===0&&(dl=xt()+500,pa&&_a())}}function Pl(e){_l!==null&&_l.tag===0&&!(Zc&6)&&ql();var t=Zc;Zc|=1;var n=Xc.transition,r=qt;try{if(Xc.transition=null,qt=1,e)return e()}finally{qt=r,Xc.transition=n,Zc=t,!(Zc&6)&&_a()}}function Fl(){tl=nl.current,ea(nl)}function Il(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,Ni(n)),$c!==null)for(n=$c.return;n!==null;){var r=n;switch(Aa(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&ca();break;case 3:bo(),ea(ia),ea(ra),Eo();break;case 5:So(r);break;case 4:bo();break;case 13:ea(Co);break;case 19:ea(Co);break;case 10:Qa(r.type._context);break;case 22:case 23:Fl()}n=n.return}if(Qc=e,$c=e=ou(e.current,null),el=tl=t,rl=0,il=null,sl=ol=al=0,ll=cl=null,to!==null){for(t=0;t<to.length;t++)if(n=to[t],r=n.interleaved,r!==null){n.interleaved=null;var i=r.next,a=n.pending;if(a!==null){var o=a.next;a.next=i,r.next=o}n.pending=r}to=null}return e}function Ll(e,t){do{var n=$c;try{if(Za(),Do.current=xs,No){for(var i=Ao.memoizedState;i!==null;){var a=i.queue;a!==null&&(a.pending=null),i=i.next}No=!1}if(ko=0,Mo=jo=Ao=null,Po=!1,Fo=0,Yc.current=null,n===null||n.return===null){rl=1,il=t,$c=null;break}a:{var o=e,s=n.return,c=n,l=t;if(t=el,c.flags|=32768,typeof l==`object`&&l&&typeof l.then==`function`){var u=l,d=c,f=d.tag;if(!(d.mode&1)&&(f===0||f===11||f===15)){var p=d.alternate;p?(d.updateQueue=p.updateQueue,d.memoizedState=p.memoizedState,d.lanes=p.lanes):(d.updateQueue=null,d.memoizedState=null)}var m=zs(s);if(m!==null){m.flags&=-257,Bs(m,s,c,o,t),m.mode&1&&Rs(o,u,t),t=m,l=u;var h=t.updateQueue;if(h===null){var g=new Set;g.add(l),t.updateQueue=g}else h.add(l);break a}else{if(!(t&1)){Rs(o,u,t),zl();break a}l=Error(r(426))}}else if(Na&&c.mode&1){var _=zs(s);if(_!==null){!(_.flags&65536)&&(_.flags|=256),Bs(_,s,c,o,t),Ha(Ms(l,c));break a}}o=l=Ms(l,c),rl!==4&&(rl=2),cl===null?cl=[o]:cl.push(o),o=s;do{switch(o.tag){case 3:o.flags|=65536,t&=-t,o.lanes|=t;var v=Is(o,l,t);uo(o,v);break a;case 1:c=l;var y=o.type,b=o.stateNode;if(!(o.flags&128)&&(typeof y.getDerivedStateFromError==`function`||b!==null&&typeof b.componentDidCatch==`function`&&(hl===null||!hl.has(b)))){o.flags|=65536,t&=-t,o.lanes|=t;var x=Ls(o,c,t);uo(o,x);break a}}o=o.return}while(o!==null)}Wl(n)}catch(e){t=e,$c===n&&n!==null&&($c=n=n.return);continue}break}while(1)}function Rl(){var e=Jc.current;return Jc.current=xs,e===null?xs:e}function zl(){(rl===0||rl===3||rl===2)&&(rl=4),Qc===null||!(al&268435455)&&!(ol&268435455)||jl(Qc,el)}function Bl(e,t){var n=Zc;Zc|=2;var i=Rl();(Qc!==e||el!==t)&&(fl=null,Il(e,t));do try{Vl();break}catch(t){Ll(e,t)}while(1);if(Za(),Zc=n,Jc.current=i,$c!==null)throw Error(r(261));return Qc=null,el=0,rl}function Vl(){for(;$c!==null;)Ul($c)}function Hl(){for(;$c!==null&&!yt();)Ul($c)}function Ul(e){var t=eu(e.alternate,e,tl);e.memoizedProps=e.pendingProps,t===null?Wl(e):$c=t,Yc.current=null}function Wl(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=vc(n,t),n!==null){n.flags&=32767,$c=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{rl=6,$c=null;return}}else if(n=_c(n,t,tl),n!==null){$c=n;return}if(t=t.sibling,t!==null){$c=t;return}$c=t=e}while(t!==null);rl===0&&(rl=5)}function Gl(e,t,n){var r=qt,i=Xc.transition;try{Xc.transition=null,qt=1,Kl(e,t,n,r)}finally{Xc.transition=i,qt=r}return null}function Kl(e,t,n,i){do ql();while(_l!==null);if(Zc&6)throw Error(r(327));n=e.finishedWork;var a=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(r(177));e.callbackNode=null,e.callbackPriority=0;var o=n.lanes|n.childLanes;if(Gt(e,o),e===Qc&&($c=Qc=null,el=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||gl||(gl=!0,tu(Tt,function(){return ql(),null})),o=(n.flags&15990)!=0,n.subtreeFlags&15990||o){o=Xc.transition,Xc.transition=null;var s=qt;qt=1;var c=Zc;Zc|=4,Yc.current=null,Tc(e,n),Bc(n,e),Ur(Ai),bn=!!ki,Ai=ki=null,e.current=n,Hc(n,e,a),bt(),Zc=c,qt=s,Xc.transition=o}else e.current=n;if(gl&&(gl=!1,_l=e,vl=a),o=e.pendingLanes,o===0&&(hl=null),At(n.stateNode,i),El(e,xt()),t!==null)for(i=e.onRecoverableError,n=0;n<t.length;n++)a=t[n],i(a.value,{componentStack:a.stack,digest:a.digest});if(pl)throw pl=!1,e=ml,ml=null,e;return vl&1&&e.tag!==0&&ql(),o=e.pendingLanes,o&1?e===bl?yl++:(yl=0,bl=e):yl=0,_a(),null}function ql(){if(_l!==null){var e=Jt(vl),t=Xc.transition,n=qt;try{if(Xc.transition=null,qt=16>e?16:e,_l===null)var i=!1;else{if(e=_l,_l=null,vl=0,Zc&6)throw Error(r(331));var a=Zc;for(Zc|=4,H=e.current;H!==null;){var o=H,s=o.child;if(H.flags&16){var c=o.deletions;if(c!==null){for(var l=0;l<c.length;l++){var u=c[l];for(H=u;H!==null;){var d=H;switch(d.tag){case 0:case 11:case 15:Ec(8,d,o)}var f=d.child;if(f!==null)f.return=d,H=f;else for(;H!==null;){d=H;var p=d.sibling,m=d.return;if(kc(d),d===u){H=null;break}if(p!==null){p.return=m,H=p;break}H=m}}}var h=o.alternate;if(h!==null){var g=h.child;if(g!==null){h.child=null;do{var _=g.sibling;g.sibling=null,g=_}while(g!==null)}}H=o}}if(o.subtreeFlags&2064&&s!==null)s.return=o,H=s;else b:for(;H!==null;){if(o=H,o.flags&2048)switch(o.tag){case 0:case 11:case 15:Ec(9,o,o.return)}var v=o.sibling;if(v!==null){v.return=o.return,H=v;break b}H=o.return}}var y=e.current;for(H=y;H!==null;){s=H;var b=s.child;if(s.subtreeFlags&2064&&b!==null)b.return=s,H=b;else b:for(s=y;H!==null;){if(c=H,c.flags&2048)try{switch(c.tag){case 0:case 11:case 15:Dc(9,c)}}catch(e){Yl(c,c.return,e)}if(c===s){H=null;break b}var x=c.sibling;if(x!==null){x.return=c.return,H=x;break b}H=c.return}}if(Zc=a,_a(),kt&&typeof kt.onPostCommitFiberRoot==`function`)try{kt.onPostCommitFiberRoot(Ot,e)}catch{}i=!0}return i}finally{qt=n,Xc.transition=t}}return!1}function Jl(e,t,n){t=Ms(n,t),t=Is(e,t,1),e=co(e,t,1),t=Cl(),e!==null&&(Wt(e,1,t),El(e,t))}function Yl(e,t,n){if(e.tag===3)Jl(e,e,n);else for(;t!==null;){if(t.tag===3){Jl(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError==`function`||typeof r.componentDidCatch==`function`&&(hl===null||!hl.has(r))){e=Ms(n,e),e=Ls(t,e,1),t=co(t,e,1),e=Cl(),t!==null&&(Wt(t,1,e),El(t,e));break}}t=t.return}}function Xl(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=Cl(),e.pingedLanes|=e.suspendedLanes&n,Qc===e&&(el&n)===n&&(rl===4||rl===3&&(el&130023424)===el&&500>xt()-ul?Il(e,0):sl|=n),El(e,t)}function Zl(e,t){t===0&&(e.mode&1?(t=It,It<<=1,!(It&130023424)&&(It=4194304)):t=1);var n=Cl();e=V(e,t),e!==null&&(Wt(e,t,n),El(e,n))}function Ql(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Zl(e,n)}function $l(e,t){var n=0;switch(e.tag){case 13:var i=e.stateNode,a=e.memoizedState;a!==null&&(n=a.retryLane);break;case 19:i=e.stateNode;break;default:throw Error(r(314))}i!==null&&i.delete(t),Zl(e,n)}var eu=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||ia.current)Hs=!0;else{if((e.lanes&n)===0&&!(t.flags&128))return Hs=!1,dc(e,t,n);Hs=!!(e.flags&131072)}else Hs=!1,Na&&t.flags&1048576&&Oa(t,xa,t.index);switch(t.lanes=0,t.tag){case 2:var i=t.type;lc(e,t),e=t.pendingProps;var a=oa(t,ra.current);eo(t,n),a=zo(null,t,i,e,a,n);var o=Bo();return t.flags|=1,typeof a==`object`&&a&&typeof a.render==`function`&&a.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,sa(i)?(o=!0,da(t)):o=!1,t.memoizedState=a.state!==null&&a.state!==void 0?a.state:null,ao(t),a.updater=Ds,t.stateNode=a,a._reactInternals=t,js(t,i,e,n),t=Zs(null,t,i,!0,o,n)):(t.tag=0,Na&&o&&ka(t),Us(null,t,a,n),t=t.child),t;case 16:i=t.elementType;a:{switch(lc(e,t),e=t.pendingProps,a=i._init,i=a(i._payload),t.type=i,a=t.tag=au(i),e=Ts(i,e),a){case 0:t=Ys(null,t,i,e,n);break a;case 1:t=Xs(null,t,i,e,n);break a;case 11:t=Ws(null,t,i,e,n);break a;case 14:t=Gs(null,t,i,Ts(i.type,e),n);break a}throw Error(r(306,i,``))}return t;case 0:return i=t.type,a=t.pendingProps,a=t.elementType===i?a:Ts(i,a),Ys(e,t,i,a,n);case 1:return i=t.type,a=t.pendingProps,a=t.elementType===i?a:Ts(i,a),Xs(e,t,i,a,n);case 3:a:{if(Qs(t),e===null)throw Error(r(387));i=t.pendingProps,o=t.memoizedState,a=o.element,oo(e,t),fo(t,i,null,n);var s=t.memoizedState;if(i=s.element,o.isDehydrated)if(o={element:i,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){a=Ms(Error(r(423)),t),t=$s(e,t,i,n,a);break a}else if(i!==a){a=Ms(Error(r(424)),t),t=$s(e,t,i,n,a);break a}else for(Ma=Ri(t.stateNode.containerInfo.firstChild),ja=t,Na=!0,I=null,n=R(t,null,i,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Va(),i===a){t=uc(e,t,n);break a}Us(e,t,i,n)}t=t.child}return t;case 5:return xo(t),e===null&&La(t),i=t.type,a=t.pendingProps,o=e===null?null:e.memoizedProps,s=a.children,ji(i,a)?s=null:o!==null&&ji(i,o)&&(t.flags|=32),Js(e,t),Us(e,t,s,n),t.child;case 6:return e===null&&La(t),null;case 13:return nc(e,t,n);case 4:return yo(t,t.stateNode.containerInfo),i=t.pendingProps,e===null?t.child=qa(t,null,i,n):Us(e,t,i,n),t.child;case 11:return i=t.type,a=t.pendingProps,a=t.elementType===i?a:Ts(i,a),Ws(e,t,i,a,n);case 7:return Us(e,t,t.pendingProps,n),t.child;case 8:return Us(e,t,t.pendingProps.children,n),t.child;case 12:return Us(e,t,t.pendingProps.children,n),t.child;case 10:a:{if(i=t.type._context,a=t.pendingProps,o=t.memoizedProps,s=a.value,ta(Ja,i._currentValue),i._currentValue=s,o!==null)if(Ir(o.value,s)){if(o.children===a.children&&!ia.current){t=uc(e,t,n);break a}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var c=o.dependencies;if(c!==null){s=o.child;for(var l=c.firstContext;l!==null;){if(l.context===i){if(o.tag===1){l=so(-1,n&-n),l.tag=2;var u=o.updateQueue;if(u!==null){u=u.shared;var d=u.pending;d===null?l.next=l:(l.next=d.next,d.next=l),u.pending=l}}o.lanes|=n,l=o.alternate,l!==null&&(l.lanes|=n),$a(o.return,n,t),c.lanes|=n;break}l=l.next}}else if(o.tag===10)s=o.type===t.type?null:o.child;else if(o.tag===18){if(s=o.return,s===null)throw Error(r(341));s.lanes|=n,c=s.alternate,c!==null&&(c.lanes|=n),$a(s,n,t),s=o.sibling}else s=o.child;if(s!==null)s.return=o;else for(s=o;s!==null;){if(s===t){s=null;break}if(o=s.sibling,o!==null){o.return=s.return,s=o;break}s=s.return}o=s}Us(e,t,a.children,n),t=t.child}return t;case 9:return a=t.type,i=t.pendingProps.children,eo(t,n),a=B(a),i=i(a),t.flags|=1,Us(e,t,i,n),t.child;case 14:return i=t.type,a=Ts(i,t.pendingProps),a=Ts(i.type,a),Gs(e,t,i,a,n);case 15:return Ks(e,t,t.type,t.pendingProps,n);case 17:return i=t.type,a=t.pendingProps,a=t.elementType===i?a:Ts(i,a),lc(e,t),t.tag=1,sa(i)?(e=!0,da(t)):e=!1,eo(t,n),ks(t,i,a),js(t,i,a,n),Zs(null,t,i,!0,e,n);case 19:return cc(e,t,n);case 22:return qs(e,t,n)}throw Error(r(156,t.tag))};function tu(e,t){return _t(e,t)}function nu(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function ru(e,t,n,r){return new nu(e,t,n,r)}function iu(e){return e=e.prototype,!(!e||!e.isReactComponent)}function au(e){if(typeof e==`function`)return+!!iu(e);if(e!=null){if(e=e.$$typeof,e===j)return 11;if(e===ee)return 14}return 2}function ou(e,t){var n=e.alternate;return n===null?(n=ru(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function su(e,t,n,i,a,o){var s=2;if(i=e,typeof e==`function`)iu(e)&&(s=1);else if(typeof e==`string`)s=5;else a:switch(e){case E:return cu(n.children,a,o,t);case D:s=8,a|=8;break;case O:return e=ru(12,n,t,a|2),e.elementType=O,e.lanes=o,e;case M:return e=ru(13,n,t,a),e.elementType=M,e.lanes=o,e;case N:return e=ru(19,n,t,a),e.elementType=N,e.lanes=o,e;case ne:return lu(n,a,o,t);default:if(typeof e==`object`&&e)switch(e.$$typeof){case k:s=10;break a;case A:s=9;break a;case j:s=11;break a;case ee:s=14;break a;case te:s=16,i=null;break a}throw Error(r(130,e==null?e:typeof e,``))}return t=ru(s,n,t,a),t.elementType=e,t.type=i,t.lanes=o,t}function cu(e,t,n,r){return e=ru(7,e,r,t),e.lanes=n,e}function lu(e,t,n,r){return e=ru(22,e,r,t),e.elementType=ne,e.lanes=n,e.stateNode={isHidden:!1},e}function uu(e,t,n){return e=ru(6,e,null,t),e.lanes=n,e}function du(e,t,n){return t=ru(4,e.children===null?[]:e.children,e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function fu(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Ut(0),this.expirationTimes=Ut(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ut(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function pu(e,t,n,r,i,a,o,s,c){return e=new fu(e,t,n,s,c),t===1?(t=1,!0===a&&(t|=8)):t=0,a=ru(3,null,null,t),e.current=a,a.stateNode=e,a.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},ao(a),e}function mu(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:T,key:r==null?null:``+r,children:e,containerInfo:t,implementation:n}}function hu(e){if(!e)return na;e=e._reactInternals;a:{if(dt(e)!==e||e.tag!==1)throw Error(r(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break a;case 1:if(sa(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break a}}t=t.return}while(t!==null);throw Error(r(171))}if(e.tag===1){var n=e.type;if(sa(n))return ua(e,n,t)}return t}function gu(e,t,n,r,i,a,o,s,c){return e=pu(n,r,!0,e,i,a,o,s,c),e.context=hu(null),n=e.current,r=Cl(),i=wl(n),a=so(r,i),a.callback=t??null,co(n,a,i),e.current.lanes=i,Wt(e,i,r),El(e,r),e}function _u(e,t,n,r){var i=t.current,a=Cl(),o=wl(i);return n=hu(n),t.context===null?t.context=n:t.pendingContext=n,t=so(a,o),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=co(i,t,o),e!==null&&(Tl(e,i,o,a),lo(e,i,o)),o}function vu(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function yu(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function bu(e,t){yu(e,t),(e=e.alternate)&&yu(e,t)}function xu(){return null}var Su=typeof reportError==`function`?reportError:function(e){console.error(e)};function Cu(e){this._internalRoot=e}wu.prototype.render=Cu.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(r(409));_u(e,t,null,null)},wu.prototype.unmount=Cu.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Pl(function(){_u(null,e,null,null)}),t[Ui]=null}};function wu(e){this._internalRoot=e}wu.prototype.unstable_scheduleHydration=function(e){if(e){var t=Qt();e={blockedOn:null,target:e,priority:t};for(var n=0;n<cn.length&&t!==0&&t<cn[n].priority;n++);cn.splice(n,0,e),n===0&&pn(e)}};function Tu(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Eu(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==` react-mount-point-unstable `))}function Du(){}function Ou(e,t,n,r,i){if(i){if(typeof r==`function`){var a=r;r=function(){var e=vu(o);a.call(e)}}var o=gu(t,r,e,0,null,!1,!1,``,Du);return e._reactRootContainer=o,e[Ui]=o.current,_i(e.nodeType===8?e.parentNode:e),Pl(),o}for(;i=e.lastChild;)e.removeChild(i);if(typeof r==`function`){var s=r;r=function(){var e=vu(c);s.call(e)}}var c=pu(e,0,!1,null,null,!1,!1,``,Du);return e._reactRootContainer=c,e[Ui]=c.current,_i(e.nodeType===8?e.parentNode:e),Pl(function(){_u(t,c,n,r)}),c}function ku(e,t,n,r,i){var a=n._reactRootContainer;if(a){var o=a;if(typeof i==`function`){var s=i;i=function(){var e=vu(o);s.call(e)}}_u(t,o,e,i)}else o=Ou(n,t,e,i,r);return vu(o)}Yt=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=Lt(t.pendingLanes);n!==0&&(Kt(t,n|1),El(t,xt()),!(Zc&6)&&(dl=xt()+500,_a()))}break;case 13:Pl(function(){var t=V(e,1);t!==null&&Tl(t,e,1,Cl())}),bu(e,1)}},Xt=function(e){if(e.tag===13){var t=V(e,134217728);t!==null&&Tl(t,e,134217728,Cl()),bu(e,134217728)}},Zt=function(e){if(e.tag===13){var t=wl(e),n=V(e,t);n!==null&&Tl(n,e,t,Cl()),bu(e,t)}},Qt=function(){return qt},$t=function(e,t){var n=qt;try{return qt=e,t()}finally{qt=n}},We=function(e,t,n){switch(t){case`input`:if(xe(e,n),t=n.name,n.type===`radio`&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll(`input[name=`+JSON.stringify(``+t)+`][type=\"radio\"]`),t=0;t<n.length;t++){var i=n[t];if(i!==e&&i.form===e.form){var a=Xi(i);if(!a)throw Error(r(90));ge(i),xe(i,a)}}}break;case`textarea`:Oe(e,n);break;case`select`:t=n.value,t!=null&&Te(e,!!n.multiple,t,!1)}},Xe=Nl,Ze=Pl;var Au={usingClientEntryPoint:!1,Events:[Ji,Yi,Xi,Je,Ye,Nl]},ju={findFiberByHostInstance:qi,bundleType:0,version:`18.3.1`,rendererPackageName:`react-dom`},Mu={bundleType:ju.bundleType,version:ju.version,rendererPackageName:ju.rendererPackageName,rendererConfig:ju.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:C.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=ht(e),e===null?null:e.stateNode},findFiberByHostInstance:ju.findFiberByHostInstance||xu,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:`18.3.1-next-f1338f8080-20240426`};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<`u`){var Nu=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Nu.isDisabled&&Nu.supportsFiber)try{Ot=Nu.inject(Mu),kt=Nu}catch{}}e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Au,e.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Tu(t))throw Error(r(200));return mu(e,t,null,n)},e.createRoot=function(e,t){if(!Tu(e))throw Error(r(299));var n=!1,i=``,a=Su;return t!=null&&(!0===t.unstable_strictMode&&(n=!0),t.identifierPrefix!==void 0&&(i=t.identifierPrefix),t.onRecoverableError!==void 0&&(a=t.onRecoverableError)),t=pu(e,1,!1,null,null,n,!1,i,a),e[Ui]=t.current,_i(e.nodeType===8?e.parentNode:e),new Cu(t)},e.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render==`function`?Error(r(188)):(e=Object.keys(e).join(`,`),Error(r(268,e)));return e=ht(t),e=e===null?null:e.stateNode,e},e.flushSync=function(e){return Pl(e)},e.hydrate=function(e,t,n){if(!Eu(t))throw Error(r(200));return ku(null,e,t,!0,n)},e.hydrateRoot=function(e,t,n){if(!Tu(e))throw Error(r(405));var i=n!=null&&n.hydratedSources||null,a=!1,o=``,s=Su;if(n!=null&&(!0===n.unstable_strictMode&&(a=!0),n.identifierPrefix!==void 0&&(o=n.identifierPrefix),n.onRecoverableError!==void 0&&(s=n.onRecoverableError)),t=gu(t,null,e,1,n??null,a,!1,o,s),e[Ui]=t.current,_i(e),i)for(e=0;e<i.length;e++)n=i[e],a=n._getVersion,a=a(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,a]:t.mutableSourceEagerHydrationData.push(n,a);return new wu(t)},e.render=function(e,t,n){if(!Eu(t))throw Error(r(200));return ku(null,e,t,!1,n)},e.unmountComponentAtNode=function(e){if(!Eu(e))throw Error(r(40));return e._reactRootContainer?(Pl(function(){ku(null,null,e,!1,function(){e._reactRootContainer=null,e[Ui]=null})}),!0):!1},e.unstable_batchedUpdates=Nl,e.unstable_renderSubtreeIntoContainer=function(e,t,n,i){if(!Eu(n))throw Error(r(200));if(e==null||e._reactInternals===void 0)throw Error(r(38));return ku(e,t,n,!1,i)},e.version=`18.3.1-next-f1338f8080-20240426`})),g=s(((e,t)=>{function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>`u`||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!=`function`))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(e){console.error(e)}}n(),t.exports=h()})),_=s((e=>{var t=g();e.createRoot=t.createRoot,e.hydrateRoot=t.hydrateRoot}));Object.freeze({status:`aborted`});function v(e,t,n){function r(n,r){if(n._zod||Object.defineProperty(n,`_zod`,{value:{def:r,constr:o,traits:new Set},enumerable:!1}),n._zod.traits.has(e))return;n._zod.traits.add(e),t(n,r);let i=o.prototype,a=Object.keys(i);for(let e=0;e<a.length;e++){let t=a[e];t in n||(n[t]=i[t].bind(n))}}let i=n?.Parent??Object;class a extends i{}Object.defineProperty(a,`name`,{value:e});function o(e){var t;let i=n?.Parent?new a:this;r(i,e),(t=i._zod).deferred??(t.deferred=[]);for(let e of i._zod.deferred)e();return i}return Object.defineProperty(o,`init`,{value:r}),Object.defineProperty(o,Symbol.hasInstance,{value:t=>n?.Parent&&t instanceof n.Parent?!0:t?._zod?.traits?.has(e)}),Object.defineProperty(o,`name`,{value:e}),o}var y=class extends Error{constructor(){super(`Encountered Promise during synchronous parse. Use .parseAsync() instead.`)}},b=class extends Error{constructor(e){super(`Encountered unidirectional transform during encode: ${e}`),this.name=`ZodEncodeError`}},x={};function S(e){return e&&Object.assign(x,e),x}function C(e){let t=Object.values(e).filter(e=>typeof e==`number`);return Object.entries(e).filter(([e,n])=>t.indexOf(+e)===-1).map(([e,t])=>t)}function w(e,t){return typeof t==`bigint`?t.toString():t}function T(e){return{get value(){{let t=e();return Object.defineProperty(this,`value`,{value:t}),t}throw Error(`cached value already set`)}}}function E(e){return e==null}function D(e){let t=+!!e.startsWith(`^`),n=e.endsWith(`$`)?e.length-1:e.length;return e.slice(t,n)}function O(e,t){let n=(e.toString().split(`.`)[1]||``).length,r=t.toString(),i=(r.split(`.`)[1]||``).length;if(i===0&&/\\d?e-\\d?/.test(r)){let e=r.match(/\\d?e-(\\d?)/);e?.[1]&&(i=Number.parseInt(e[1]))}let a=n>i?n:i;return Number.parseInt(e.toFixed(a).replace(`.`,``))%Number.parseInt(t.toFixed(a).replace(`.`,``))/10**a}var k=Symbol(`evaluating`);function A(e,t,n){let r;Object.defineProperty(e,t,{get(){if(r!==k)return r===void 0&&(r=k,r=n()),r},set(n){Object.defineProperty(e,t,{value:n})},configurable:!0})}function j(e,t,n){Object.defineProperty(e,t,{value:n,writable:!0,enumerable:!0,configurable:!0})}function M(...e){let t={};for(let n of e)Object.assign(t,Object.getOwnPropertyDescriptors(n));return Object.defineProperties({},t)}function N(e){return JSON.stringify(e)}function ee(e){return e.toLowerCase().trim().replace(/[^\\w\\s-]/g,``).replace(/[\\s_-]+/g,`-`).replace(/^-+|-+$/g,``)}var te=`captureStackTrace`in Error?Error.captureStackTrace:(...e)=>{};function ne(e){return typeof e==`object`&&!!e&&!Array.isArray(e)}var re=T(()=>{if(typeof navigator<`u`&&navigator?.userAgent?.includes(`Cloudflare`))return!1;try{return Function(``),!0}catch{return!1}});function ie(e){if(ne(e)===!1)return!1;let t=e.constructor;if(t===void 0||typeof t!=`function`)return!0;let n=t.prototype;return!(ne(n)===!1||Object.prototype.hasOwnProperty.call(n,`isPrototypeOf`)===!1)}function ae(e){return ie(e)?{...e}:Array.isArray(e)?[...e]:e}var oe=new Set([`string`,`number`,`symbol`]);function se(e){return e.replace(/[.*+?^${}()|[\\]\\\\]/g,`\\\\$&`)}function ce(e,t,n){let r=new e._zod.constr(t??e._zod.def);return(!t||n?.parent)&&(r._zod.parent=e),r}function P(e){let t=e;if(!t)return{};if(typeof t==`string`)return{error:()=>t};if(t?.message!==void 0){if(t?.error!==void 0)throw Error(\"Cannot specify both `message` and `error` params\");t.error=t.message}return delete t.message,typeof t.error==`string`?{...t,error:()=>t.error}:t}function le(e){return Object.keys(e).filter(t=>e[t]._zod.optin===`optional`&&e[t]._zod.optout===`optional`)}var ue={safeint:[-(2**53-1),2**53-1],int32:[-2147483648,2147483647],uint32:[0,4294967295],float32:[-34028234663852886e22,34028234663852886e22],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]};function de(e,t){let n=e._zod.def,r=n.checks;if(r&&r.length>0)throw Error(`.pick() cannot be used on object schemas containing refinements`);return ce(e,M(e._zod.def,{get shape(){let e={};for(let r in t){if(!(r in n.shape))throw Error(`Unrecognized key: \"${r}\"`);t[r]&&(e[r]=n.shape[r])}return j(this,`shape`,e),e},checks:[]}))}function fe(e,t){let n=e._zod.def,r=n.checks;if(r&&r.length>0)throw Error(`.omit() cannot be used on object schemas containing refinements`);return ce(e,M(e._zod.def,{get shape(){let r={...e._zod.def.shape};for(let e in t){if(!(e in n.shape))throw Error(`Unrecognized key: \"${e}\"`);t[e]&&delete r[e]}return j(this,`shape`,r),r},checks:[]}))}function pe(e,t){if(!ie(t))throw Error(`Invalid input to extend: expected a plain object`);let n=e._zod.def.checks;if(n&&n.length>0){let n=e._zod.def.shape;for(let e in t)if(Object.getOwnPropertyDescriptor(n,e)!==void 0)throw Error(\"Cannot overwrite keys on object schemas containing refinements. Use `.safeExtend()` instead.\")}return ce(e,M(e._zod.def,{get shape(){let n={...e._zod.def.shape,...t};return j(this,`shape`,n),n}}))}function me(e,t){if(!ie(t))throw Error(`Invalid input to safeExtend: expected a plain object`);return ce(e,M(e._zod.def,{get shape(){let n={...e._zod.def.shape,...t};return j(this,`shape`,n),n}}))}function he(e,t){return ce(e,M(e._zod.def,{get shape(){let n={...e._zod.def.shape,...t._zod.def.shape};return j(this,`shape`,n),n},get catchall(){return t._zod.def.catchall},checks:[]}))}function ge(e,t,n){let r=t._zod.def.checks;if(r&&r.length>0)throw Error(`.partial() cannot be used on object schemas containing refinements`);return ce(t,M(t._zod.def,{get shape(){let r=t._zod.def.shape,i={...r};if(n)for(let t in n){if(!(t in r))throw Error(`Unrecognized key: \"${t}\"`);n[t]&&(i[t]=e?new e({type:`optional`,innerType:r[t]}):r[t])}else for(let t in r)i[t]=e?new e({type:`optional`,innerType:r[t]}):r[t];return j(this,`shape`,i),i},checks:[]}))}function _e(e,t,n){return ce(t,M(t._zod.def,{get shape(){let r=t._zod.def.shape,i={...r};if(n)for(let t in n){if(!(t in i))throw Error(`Unrecognized key: \"${t}\"`);n[t]&&(i[t]=new e({type:`nonoptional`,innerType:r[t]}))}else for(let t in r)i[t]=new e({type:`nonoptional`,innerType:r[t]});return j(this,`shape`,i),i}}))}function ve(e,t=0){if(e.aborted===!0)return!0;for(let n=t;n<e.issues.length;n++)if(e.issues[n]?.continue!==!0)return!0;return!1}function ye(e,t){return t.map(t=>{var n;return(n=t).path??(n.path=[]),t.path.unshift(e),t})}function be(e){return typeof e==`string`?e:e?.message}function xe(e,t,n){let r={...e,path:e.path??[]};return e.message||(r.message=be(e.inst?._zod.def?.error?.(e))??be(t?.error?.(e))??be(n.customError?.(e))??be(n.localeError?.(e))??`Invalid input`),delete r.inst,delete r.continue,t?.reportInput||delete r.input,r}function Se(e){return Array.isArray(e)?`array`:typeof e==`string`?`string`:`unknown`}function Ce(...e){let[t,n,r]=e;return typeof t==`string`?{message:t,code:`custom`,input:n,inst:r}:{...t}}var we=(e,t)=>{e.name=`$ZodError`,Object.defineProperty(e,`_zod`,{value:e._zod,enumerable:!1}),Object.defineProperty(e,`issues`,{value:t,enumerable:!1}),e.message=JSON.stringify(t,w,2),Object.defineProperty(e,`toString`,{value:()=>e.message,enumerable:!1})},Te=v(`$ZodError`,we),Ee=v(`$ZodError`,we,{Parent:Error});function De(e,t=e=>e.message){let n={},r=[];for(let i of e.issues)i.path.length>0?(n[i.path[0]]=n[i.path[0]]||[],n[i.path[0]].push(t(i))):r.push(t(i));return{formErrors:r,fieldErrors:n}}function Oe(e,t=e=>e.message){let n={_errors:[]},r=e=>{for(let i of e.issues)if(i.code===`invalid_union`&&i.errors.length)i.errors.map(e=>r({issues:e}));else if(i.code===`invalid_key`)r({issues:i.issues});else if(i.code===`invalid_element`)r({issues:i.issues});else if(i.path.length===0)n._errors.push(t(i));else{let e=n,r=0;for(;r<i.path.length;){let n=i.path[r];r===i.path.length-1?(e[n]=e[n]||{_errors:[]},e[n]._errors.push(t(i))):e[n]=e[n]||{_errors:[]},e=e[n],r++}}};return r(e),n}var ke=e=>(t,n,r,i)=>{let a=r?Object.assign(r,{async:!1}):{async:!1},o=t._zod.run({value:n,issues:[]},a);if(o instanceof Promise)throw new y;if(o.issues.length){let t=new(i?.Err??e)(o.issues.map(e=>xe(e,a,S())));throw te(t,i?.callee),t}return o.value},Ae=e=>async(t,n,r,i)=>{let a=r?Object.assign(r,{async:!0}):{async:!0},o=t._zod.run({value:n,issues:[]},a);if(o instanceof Promise&&(o=await o),o.issues.length){let t=new(i?.Err??e)(o.issues.map(e=>xe(e,a,S())));throw te(t,i?.callee),t}return o.value},je=e=>(t,n,r)=>{let i=r?{...r,async:!1}:{async:!1},a=t._zod.run({value:n,issues:[]},i);if(a instanceof Promise)throw new y;return a.issues.length?{success:!1,error:new(e??Te)(a.issues.map(e=>xe(e,i,S())))}:{success:!0,data:a.value}},Me=je(Ee),Ne=e=>async(t,n,r)=>{let i=r?Object.assign(r,{async:!0}):{async:!0},a=t._zod.run({value:n,issues:[]},i);return a instanceof Promise&&(a=await a),a.issues.length?{success:!1,error:new e(a.issues.map(e=>xe(e,i,S())))}:{success:!0,data:a.value}},Pe=Ne(Ee),Fe=e=>(t,n,r)=>{let i=r?Object.assign(r,{direction:`backward`}):{direction:`backward`};return ke(e)(t,n,i)},Ie=e=>(t,n,r)=>ke(e)(t,n,r),Le=e=>async(t,n,r)=>{let i=r?Object.assign(r,{direction:`backward`}):{direction:`backward`};return Ae(e)(t,n,i)},Re=e=>async(t,n,r)=>Ae(e)(t,n,r),ze=e=>(t,n,r)=>{let i=r?Object.assign(r,{direction:`backward`}):{direction:`backward`};return je(e)(t,n,i)},Be=e=>(t,n,r)=>je(e)(t,n,r),Ve=e=>async(t,n,r)=>{let i=r?Object.assign(r,{direction:`backward`}):{direction:`backward`};return Ne(e)(t,n,i)},He=e=>async(t,n,r)=>Ne(e)(t,n,r),Ue=/^[cC][^\\s-]{8,}$/,We=/^[0-9a-z]+$/,Ge=/^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/,Ke=/^[0-9a-vA-V]{20}$/,qe=/^[A-Za-z0-9]{27}$/,Je=/^[a-zA-Z0-9_-]{21}$/,Ye=/^P(?:(\\d+W)|(?!.*W)(?=\\d|T\\d)(\\d+Y)?(\\d+M)?(\\d+D)?(T(?=\\d)(\\d+H)?(\\d+M)?(\\d+([.,]\\d+)?S)?)?)$/,Xe=/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/,Ze=e=>e?RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${e}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`):/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/,Qe=/^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$/,$e=`^(\\\\p{Extended_Pictographic}|\\\\p{Emoji_Component})+$`;function et(){return new RegExp($e,`u`)}var tt=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,nt=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$/,rt=/^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\\/([0-9]|[1-2][0-9]|3[0-2])$/,it=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|::|([0-9a-fA-F]{1,4})?::([0-9a-fA-F]{1,4}:?){0,6})\\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,at=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,ot=/^[A-Za-z0-9_-]*$/,st=/^\\+[1-9]\\d{6,14}$/,ct=`(?:(?:\\\\d\\\\d[2468][048]|\\\\d\\\\d[13579][26]|\\\\d\\\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\\\d|30)|(?:02)-(?:0[1-9]|1\\\\d|2[0-8])))`,lt=RegExp(`^${ct}$`);function ut(e){let t=`(?:[01]\\\\d|2[0-3]):[0-5]\\\\d`;return typeof e.precision==`number`?e.precision===-1?`${t}`:e.precision===0?`${t}:[0-5]\\\\d`:`${t}:[0-5]\\\\d\\\\.\\\\d{${e.precision}}`:`${t}(?::[0-5]\\\\d(?:\\\\.\\\\d+)?)?`}function dt(e){return RegExp(`^${ut(e)}$`)}function ft(e){let t=ut({precision:e.precision}),n=[`Z`];e.local&&n.push(``),e.offset&&n.push(`([+-](?:[01]\\\\d|2[0-3]):[0-5]\\\\d)`);let r=`${t}(?:${n.join(`|`)})`;return RegExp(`^${ct}T(?:${r})$`)}var pt=e=>{let t=e?`[\\\\s\\\\S]{${e?.minimum??0},${e?.maximum??``}}`:`[\\\\s\\\\S]*`;return RegExp(`^${t}$`)},mt=/^-?\\d+$/,ht=/^-?\\d+(?:\\.\\d+)?$/,gt=/^(?:true|false)$/i,_t=/^null$/i,vt=/^undefined$/i,yt=/^[^A-Z]*$/,bt=/^[^a-z]*$/,xt=v(`$ZodCheck`,(e,t)=>{var n;e._zod??={},e._zod.def=t,(n=e._zod).onattach??(n.onattach=[])}),St={number:`number`,bigint:`bigint`,object:`date`},Ct=v(`$ZodCheckLessThan`,(e,t)=>{xt.init(e,t);let n=St[typeof t.value];e._zod.onattach.push(e=>{let n=e._zod.bag,r=(t.inclusive?n.maximum:n.exclusiveMaximum)??1/0;t.value<r&&(t.inclusive?n.maximum=t.value:n.exclusiveMaximum=t.value)}),e._zod.check=r=>{(t.inclusive?r.value<=t.value:r.value<t.value)||r.issues.push({origin:n,code:`too_big`,maximum:typeof t.value==`object`?t.value.getTime():t.value,input:r.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),wt=v(`$ZodCheckGreaterThan`,(e,t)=>{xt.init(e,t);let n=St[typeof t.value];e._zod.onattach.push(e=>{let n=e._zod.bag,r=(t.inclusive?n.minimum:n.exclusiveMinimum)??-1/0;t.value>r&&(t.inclusive?n.minimum=t.value:n.exclusiveMinimum=t.value)}),e._zod.check=r=>{(t.inclusive?r.value>=t.value:r.value>t.value)||r.issues.push({origin:n,code:`too_small`,minimum:typeof t.value==`object`?t.value.getTime():t.value,input:r.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),Tt=v(`$ZodCheckMultipleOf`,(e,t)=>{xt.init(e,t),e._zod.onattach.push(e=>{var n;(n=e._zod.bag).multipleOf??(n.multipleOf=t.value)}),e._zod.check=n=>{if(typeof n.value!=typeof t.value)throw Error(`Cannot mix number and bigint in multiple_of check.`);(typeof n.value==`bigint`?n.value%t.value===BigInt(0):O(n.value,t.value)===0)||n.issues.push({origin:typeof n.value,code:`not_multiple_of`,divisor:t.value,input:n.value,inst:e,continue:!t.abort})}}),Et=v(`$ZodCheckNumberFormat`,(e,t)=>{xt.init(e,t),t.format=t.format||`float64`;let n=t.format?.includes(`int`),r=n?`int`:`number`,[i,a]=ue[t.format];e._zod.onattach.push(e=>{let r=e._zod.bag;r.format=t.format,r.minimum=i,r.maximum=a,n&&(r.pattern=mt)}),e._zod.check=o=>{let s=o.value;if(n){if(!Number.isInteger(s)){o.issues.push({expected:r,format:t.format,code:`invalid_type`,continue:!1,input:s,inst:e});return}if(!Number.isSafeInteger(s)){s>0?o.issues.push({input:s,code:`too_big`,maximum:2**53-1,note:`Integers must be within the safe integer range.`,inst:e,origin:r,inclusive:!0,continue:!t.abort}):o.issues.push({input:s,code:`too_small`,minimum:-(2**53-1),note:`Integers must be within the safe integer range.`,inst:e,origin:r,inclusive:!0,continue:!t.abort});return}}s<i&&o.issues.push({origin:`number`,input:s,code:`too_small`,minimum:i,inclusive:!0,inst:e,continue:!t.abort}),s>a&&o.issues.push({origin:`number`,input:s,code:`too_big`,maximum:a,inclusive:!0,inst:e,continue:!t.abort})}}),Dt=v(`$ZodCheckMaxLength`,(e,t)=>{var n;xt.init(e,t),(n=e._zod.def).when??(n.when=e=>{let t=e.value;return!E(t)&&t.length!==void 0}),e._zod.onattach.push(e=>{let n=e._zod.bag.maximum??1/0;t.maximum<n&&(e._zod.bag.maximum=t.maximum)}),e._zod.check=n=>{let r=n.value;if(r.length<=t.maximum)return;let i=Se(r);n.issues.push({origin:i,code:`too_big`,maximum:t.maximum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),Ot=v(`$ZodCheckMinLength`,(e,t)=>{var n;xt.init(e,t),(n=e._zod.def).when??(n.when=e=>{let t=e.value;return!E(t)&&t.length!==void 0}),e._zod.onattach.push(e=>{let n=e._zod.bag.minimum??-1/0;t.minimum>n&&(e._zod.bag.minimum=t.minimum)}),e._zod.check=n=>{let r=n.value;if(r.length>=t.minimum)return;let i=Se(r);n.issues.push({origin:i,code:`too_small`,minimum:t.minimum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),kt=v(`$ZodCheckLengthEquals`,(e,t)=>{var n;xt.init(e,t),(n=e._zod.def).when??(n.when=e=>{let t=e.value;return!E(t)&&t.length!==void 0}),e._zod.onattach.push(e=>{let n=e._zod.bag;n.minimum=t.length,n.maximum=t.length,n.length=t.length}),e._zod.check=n=>{let r=n.value,i=r.length;if(i===t.length)return;let a=Se(r),o=i>t.length;n.issues.push({origin:a,...o?{code:`too_big`,maximum:t.length}:{code:`too_small`,minimum:t.length},inclusive:!0,exact:!0,input:n.value,inst:e,continue:!t.abort})}}),At=v(`$ZodCheckStringFormat`,(e,t)=>{var n,r;xt.init(e,t),e._zod.onattach.push(e=>{let n=e._zod.bag;n.format=t.format,t.pattern&&(n.patterns??=new Set,n.patterns.add(t.pattern))}),t.pattern?(n=e._zod).check??(n.check=n=>{t.pattern.lastIndex=0,!t.pattern.test(n.value)&&n.issues.push({origin:`string`,code:`invalid_format`,format:t.format,input:n.value,...t.pattern?{pattern:t.pattern.toString()}:{},inst:e,continue:!t.abort})}):(r=e._zod).check??(r.check=()=>{})}),jt=v(`$ZodCheckRegex`,(e,t)=>{At.init(e,t),e._zod.check=n=>{t.pattern.lastIndex=0,!t.pattern.test(n.value)&&n.issues.push({origin:`string`,code:`invalid_format`,format:`regex`,input:n.value,pattern:t.pattern.toString(),inst:e,continue:!t.abort})}}),Mt=v(`$ZodCheckLowerCase`,(e,t)=>{t.pattern??=yt,At.init(e,t)}),Nt=v(`$ZodCheckUpperCase`,(e,t)=>{t.pattern??=bt,At.init(e,t)}),Pt=v(`$ZodCheckIncludes`,(e,t)=>{xt.init(e,t);let n=se(t.includes),r=new RegExp(typeof t.position==`number`?`^.{${t.position}}${n}`:n);t.pattern=r,e._zod.onattach.push(e=>{let t=e._zod.bag;t.patterns??=new Set,t.patterns.add(r)}),e._zod.check=n=>{n.value.includes(t.includes,t.position)||n.issues.push({origin:`string`,code:`invalid_format`,format:`includes`,includes:t.includes,input:n.value,inst:e,continue:!t.abort})}}),Ft=v(`$ZodCheckStartsWith`,(e,t)=>{xt.init(e,t);let n=RegExp(`^${se(t.prefix)}.*`);t.pattern??=n,e._zod.onattach.push(e=>{let t=e._zod.bag;t.patterns??=new Set,t.patterns.add(n)}),e._zod.check=n=>{n.value.startsWith(t.prefix)||n.issues.push({origin:`string`,code:`invalid_format`,format:`starts_with`,prefix:t.prefix,input:n.value,inst:e,continue:!t.abort})}}),It=v(`$ZodCheckEndsWith`,(e,t)=>{xt.init(e,t);let n=RegExp(`.*${se(t.suffix)}$`);t.pattern??=n,e._zod.onattach.push(e=>{let t=e._zod.bag;t.patterns??=new Set,t.patterns.add(n)}),e._zod.check=n=>{n.value.endsWith(t.suffix)||n.issues.push({origin:`string`,code:`invalid_format`,format:`ends_with`,suffix:t.suffix,input:n.value,inst:e,continue:!t.abort})}}),Lt=v(`$ZodCheckOverwrite`,(e,t)=>{xt.init(e,t),e._zod.check=e=>{e.value=t.tx(e.value)}}),Rt=class{constructor(e=[]){this.content=[],this.indent=0,this&&(this.args=e)}indented(e){this.indent+=1,e(this),--this.indent}write(e){if(typeof e==`function`){e(this,{execution:`sync`}),e(this,{execution:`async`});return}let t=e.split(`\n`).filter(e=>e),n=Math.min(...t.map(e=>e.length-e.trimStart().length)),r=t.map(e=>e.slice(n)).map(e=>` `.repeat(this.indent*2)+e);for(let e of r)this.content.push(e)}compile(){let e=Function,t=this?.args,n=[...(this?.content??[``]).map(e=>` ${e}`)];return new e(...t,n.join(`\n`))}},zt={major:4,minor:3,patch:6},Bt=v(`$ZodType`,(e,t)=>{var n;e??={},e._zod.def=t,e._zod.bag=e._zod.bag||{},e._zod.version=zt;let r=[...e._zod.def.checks??[]];e._zod.traits.has(`$ZodCheck`)&&r.unshift(e);for(let t of r)for(let n of t._zod.onattach)n(e);if(r.length===0)(n=e._zod).deferred??(n.deferred=[]),e._zod.deferred?.push(()=>{e._zod.run=e._zod.parse});else{let t=(e,t,n)=>{let r=ve(e),i;for(let a of t){if(a._zod.def.when){if(!a._zod.def.when(e))continue}else if(r)continue;let t=e.issues.length,o=a._zod.check(e);if(o instanceof Promise&&n?.async===!1)throw new y;if(i||o instanceof Promise)i=(i??Promise.resolve()).then(async()=>{await o,e.issues.length!==t&&(r||=ve(e,t))});else{if(e.issues.length===t)continue;r||=ve(e,t)}}return i?i.then(()=>e):e},n=(n,i,a)=>{if(ve(n))return n.aborted=!0,n;let o=t(i,r,a);if(o instanceof Promise){if(a.async===!1)throw new y;return o.then(t=>e._zod.parse(t,a))}return e._zod.parse(o,a)};e._zod.run=(i,a)=>{if(a.skipChecks)return e._zod.parse(i,a);if(a.direction===`backward`){let t=e._zod.parse({value:i.value,issues:[]},{...a,skipChecks:!0});return t instanceof Promise?t.then(e=>n(e,i,a)):n(t,i,a)}let o=e._zod.parse(i,a);if(o instanceof Promise){if(a.async===!1)throw new y;return o.then(e=>t(e,r,a))}return t(o,r,a)}}A(e,`~standard`,()=>({validate:t=>{try{let n=Me(e,t);return n.success?{value:n.data}:{issues:n.error?.issues}}catch{return Pe(e,t).then(e=>e.success?{value:e.data}:{issues:e.error?.issues})}},vendor:`zod`,version:1}))}),Vt=v(`$ZodString`,(e,t)=>{Bt.init(e,t),e._zod.pattern=[...e?._zod.bag?.patterns??[]].pop()??pt(e._zod.bag),e._zod.parse=(n,r)=>{if(t.coerce)try{n.value=String(n.value)}catch{}return typeof n.value==`string`||n.issues.push({expected:`string`,code:`invalid_type`,input:n.value,inst:e}),n}}),Ht=v(`$ZodStringFormat`,(e,t)=>{At.init(e,t),Vt.init(e,t)}),Ut=v(`$ZodGUID`,(e,t)=>{t.pattern??=Xe,Ht.init(e,t)}),Wt=v(`$ZodUUID`,(e,t)=>{if(t.version){let e={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[t.version];if(e===void 0)throw Error(`Invalid UUID version: \"${t.version}\"`);t.pattern??=Ze(e)}else t.pattern??=Ze();Ht.init(e,t)}),Gt=v(`$ZodEmail`,(e,t)=>{t.pattern??=Qe,Ht.init(e,t)}),Kt=v(`$ZodURL`,(e,t)=>{Ht.init(e,t),e._zod.check=n=>{try{let r=n.value.trim(),i=new URL(r);t.hostname&&(t.hostname.lastIndex=0,t.hostname.test(i.hostname)||n.issues.push({code:`invalid_format`,format:`url`,note:`Invalid hostname`,pattern:t.hostname.source,input:n.value,inst:e,continue:!t.abort})),t.protocol&&(t.protocol.lastIndex=0,t.protocol.test(i.protocol.endsWith(`:`)?i.protocol.slice(0,-1):i.protocol)||n.issues.push({code:`invalid_format`,format:`url`,note:`Invalid protocol`,pattern:t.protocol.source,input:n.value,inst:e,continue:!t.abort})),t.normalize?n.value=i.href:n.value=r;return}catch{n.issues.push({code:`invalid_format`,format:`url`,input:n.value,inst:e,continue:!t.abort})}}}),qt=v(`$ZodEmoji`,(e,t)=>{t.pattern??=et(),Ht.init(e,t)}),Jt=v(`$ZodNanoID`,(e,t)=>{t.pattern??=Je,Ht.init(e,t)}),Yt=v(`$ZodCUID`,(e,t)=>{t.pattern??=Ue,Ht.init(e,t)}),Xt=v(`$ZodCUID2`,(e,t)=>{t.pattern??=We,Ht.init(e,t)}),Zt=v(`$ZodULID`,(e,t)=>{t.pattern??=Ge,Ht.init(e,t)}),Qt=v(`$ZodXID`,(e,t)=>{t.pattern??=Ke,Ht.init(e,t)}),$t=v(`$ZodKSUID`,(e,t)=>{t.pattern??=qe,Ht.init(e,t)}),en=v(`$ZodISODateTime`,(e,t)=>{t.pattern??=ft(t),Ht.init(e,t)}),tn=v(`$ZodISODate`,(e,t)=>{t.pattern??=lt,Ht.init(e,t)}),nn=v(`$ZodISOTime`,(e,t)=>{t.pattern??=dt(t),Ht.init(e,t)}),rn=v(`$ZodISODuration`,(e,t)=>{t.pattern??=Ye,Ht.init(e,t)}),an=v(`$ZodIPv4`,(e,t)=>{t.pattern??=tt,Ht.init(e,t),e._zod.bag.format=`ipv4`}),on=v(`$ZodIPv6`,(e,t)=>{t.pattern??=nt,Ht.init(e,t),e._zod.bag.format=`ipv6`,e._zod.check=n=>{try{new URL(`http://[${n.value}]`)}catch{n.issues.push({code:`invalid_format`,format:`ipv6`,input:n.value,inst:e,continue:!t.abort})}}}),sn=v(`$ZodCIDRv4`,(e,t)=>{t.pattern??=rt,Ht.init(e,t)}),cn=v(`$ZodCIDRv6`,(e,t)=>{t.pattern??=it,Ht.init(e,t),e._zod.check=n=>{let r=n.value.split(`/`);try{if(r.length!==2)throw Error();let[e,t]=r;if(!t)throw Error();let n=Number(t);if(`${n}`!==t||n<0||n>128)throw Error();new URL(`http://[${e}]`)}catch{n.issues.push({code:`invalid_format`,format:`cidrv6`,input:n.value,inst:e,continue:!t.abort})}}});function ln(e){if(e===``)return!0;if(e.length%4!=0)return!1;try{return atob(e),!0}catch{return!1}}var un=v(`$ZodBase64`,(e,t)=>{t.pattern??=at,Ht.init(e,t),e._zod.bag.contentEncoding=`base64`,e._zod.check=n=>{ln(n.value)||n.issues.push({code:`invalid_format`,format:`base64`,input:n.value,inst:e,continue:!t.abort})}});function dn(e){if(!ot.test(e))return!1;let t=e.replace(/[-_]/g,e=>e===`-`?`+`:`/`);return ln(t.padEnd(Math.ceil(t.length/4)*4,`=`))}var fn=v(`$ZodBase64URL`,(e,t)=>{t.pattern??=ot,Ht.init(e,t),e._zod.bag.contentEncoding=`base64url`,e._zod.check=n=>{dn(n.value)||n.issues.push({code:`invalid_format`,format:`base64url`,input:n.value,inst:e,continue:!t.abort})}}),pn=v(`$ZodE164`,(e,t)=>{t.pattern??=st,Ht.init(e,t)});function mn(e,t=null){try{let n=e.split(`.`);if(n.length!==3)return!1;let[r]=n;if(!r)return!1;let i=JSON.parse(atob(r));return!(`typ`in i&&i?.typ!==`JWT`||!i.alg||t&&(!(`alg`in i)||i.alg!==t))}catch{return!1}}var hn=v(`$ZodJWT`,(e,t)=>{Ht.init(e,t),e._zod.check=n=>{mn(n.value,t.alg)||n.issues.push({code:`invalid_format`,format:`jwt`,input:n.value,inst:e,continue:!t.abort})}}),gn=v(`$ZodNumber`,(e,t)=>{Bt.init(e,t),e._zod.pattern=e._zod.bag.pattern??ht,e._zod.parse=(n,r)=>{if(t.coerce)try{n.value=Number(n.value)}catch{}let i=n.value;if(typeof i==`number`&&!Number.isNaN(i)&&Number.isFinite(i))return n;let a=typeof i==`number`?Number.isNaN(i)?`NaN`:Number.isFinite(i)?void 0:`Infinity`:void 0;return n.issues.push({expected:`number`,code:`invalid_type`,input:i,inst:e,...a?{received:a}:{}}),n}}),_n=v(`$ZodNumberFormat`,(e,t)=>{Et.init(e,t),gn.init(e,t)}),vn=v(`$ZodBoolean`,(e,t)=>{Bt.init(e,t),e._zod.pattern=gt,e._zod.parse=(n,r)=>{if(t.coerce)try{n.value=!!n.value}catch{}let i=n.value;return typeof i==`boolean`||n.issues.push({expected:`boolean`,code:`invalid_type`,input:i,inst:e}),n}}),yn=v(`$ZodUndefined`,(e,t)=>{Bt.init(e,t),e._zod.pattern=vt,e._zod.values=new Set([void 0]),e._zod.optin=`optional`,e._zod.optout=`optional`,e._zod.parse=(t,n)=>{let r=t.value;return r===void 0||t.issues.push({expected:`undefined`,code:`invalid_type`,input:r,inst:e}),t}}),bn=v(`$ZodNull`,(e,t)=>{Bt.init(e,t),e._zod.pattern=_t,e._zod.values=new Set([null]),e._zod.parse=(t,n)=>{let r=t.value;return r===null||t.issues.push({expected:`null`,code:`invalid_type`,input:r,inst:e}),t}}),xn=v(`$ZodUnknown`,(e,t)=>{Bt.init(e,t),e._zod.parse=e=>e}),Sn=v(`$ZodNever`,(e,t)=>{Bt.init(e,t),e._zod.parse=(t,n)=>(t.issues.push({expected:`never`,code:`invalid_type`,input:t.value,inst:e}),t)});function Cn(e,t,n){e.issues.length&&t.issues.push(...ye(n,e.issues)),t.value[n]=e.value}var wn=v(`$ZodArray`,(e,t)=>{Bt.init(e,t),e._zod.parse=(n,r)=>{let i=n.value;if(!Array.isArray(i))return n.issues.push({expected:`array`,code:`invalid_type`,input:i,inst:e}),n;n.value=Array(i.length);let a=[];for(let e=0;e<i.length;e++){let o=i[e],s=t.element._zod.run({value:o,issues:[]},r);s instanceof Promise?a.push(s.then(t=>Cn(t,n,e))):Cn(s,n,e)}return a.length?Promise.all(a).then(()=>n):n}});function Tn(e,t,n,r,i){if(e.issues.length){if(i&&!(n in r))return;t.issues.push(...ye(n,e.issues))}e.value===void 0?n in r&&(t.value[n]=void 0):t.value[n]=e.value}function En(e){let t=Object.keys(e.shape);for(let n of t)if(!e.shape?.[n]?._zod?.traits?.has(`$ZodType`))throw Error(`Invalid element at key \"${n}\": expected a Zod schema`);let n=le(e.shape);return{...e,keys:t,keySet:new Set(t),numKeys:t.length,optionalKeys:new Set(n)}}function Dn(e,t,n,r,i,a){let o=[],s=i.keySet,c=i.catchall._zod,l=c.def.type,u=c.optout===`optional`;for(let i in t){if(s.has(i))continue;if(l===`never`){o.push(i);continue}let a=c.run({value:t[i],issues:[]},r);a instanceof Promise?e.push(a.then(e=>Tn(e,n,i,t,u))):Tn(a,n,i,t,u)}return o.length&&n.issues.push({code:`unrecognized_keys`,keys:o,input:t,inst:a}),e.length?Promise.all(e).then(()=>n):n}var On=v(`$ZodObject`,(e,t)=>{if(Bt.init(e,t),!Object.getOwnPropertyDescriptor(t,`shape`)?.get){let e=t.shape;Object.defineProperty(t,`shape`,{get:()=>{let n={...e};return Object.defineProperty(t,`shape`,{value:n}),n}})}let n=T(()=>En(t));A(e._zod,`propValues`,()=>{let e=t.shape,n={};for(let t in e){let r=e[t]._zod;if(r.values){n[t]??(n[t]=new Set);for(let e of r.values)n[t].add(e)}}return n});let r=ne,i=t.catchall,a;e._zod.parse=(t,o)=>{a??=n.value;let s=t.value;if(!r(s))return t.issues.push({expected:`object`,code:`invalid_type`,input:s,inst:e}),t;t.value={};let c=[],l=a.shape;for(let e of a.keys){let n=l[e],r=n._zod.optout===`optional`,i=n._zod.run({value:s[e],issues:[]},o);i instanceof Promise?c.push(i.then(n=>Tn(n,t,e,s,r))):Tn(i,t,e,s,r)}return i?Dn(c,s,t,o,n.value,e):c.length?Promise.all(c).then(()=>t):t}}),kn=v(`$ZodObjectJIT`,(e,t)=>{On.init(e,t);let n=e._zod.parse,r=T(()=>En(t)),i=e=>{let t=new Rt([`shape`,`payload`,`ctx`]),n=r.value,i=e=>{let t=N(e);return`shape[${t}]._zod.run({ value: input[${t}], issues: [] }, ctx)`};t.write(`const input = payload.value;`);let a=Object.create(null),o=0;for(let e of n.keys)a[e]=`key_${o++}`;t.write(`const newResult = {};`);for(let r of n.keys){let n=a[r],o=N(r),s=e[r]?._zod?.optout===`optional`;t.write(`const ${n} = ${i(r)};`),s?t.write(`\n if (${n}.issues.length) {\n if (${o} in input) {\n payload.issues = payload.issues.concat(${n}.issues.map(iss => ({\n ...iss,\n path: iss.path ? [${o}, ...iss.path] : [${o}]\n })));\n }\n }\n \n if (${n}.value === undefined) {\n if (${o} in input) {\n newResult[${o}] = undefined;\n }\n } else {\n newResult[${o}] = ${n}.value;\n }\n \n `):t.write(`\n if (${n}.issues.length) {\n payload.issues = payload.issues.concat(${n}.issues.map(iss => ({\n ...iss,\n path: iss.path ? [${o}, ...iss.path] : [${o}]\n })));\n }\n \n if (${n}.value === undefined) {\n if (${o} in input) {\n newResult[${o}] = undefined;\n }\n } else {\n newResult[${o}] = ${n}.value;\n }\n \n `)}t.write(`payload.value = newResult;`),t.write(`return payload;`);let s=t.compile();return(t,n)=>s(e,t,n)},a,o=ne,s=!x.jitless,c=s&&re.value,l=t.catchall,u;e._zod.parse=(d,f)=>{u??=r.value;let p=d.value;return o(p)?s&&c&&f?.async===!1&&f.jitless!==!0?(a||=i(t.shape),d=a(d,f),l?Dn([],p,d,f,u,e):d):n(d,f):(d.issues.push({expected:`object`,code:`invalid_type`,input:p,inst:e}),d)}});function An(e,t,n,r){for(let n of e)if(n.issues.length===0)return t.value=n.value,t;let i=e.filter(e=>!ve(e));return i.length===1?(t.value=i[0].value,i[0]):(t.issues.push({code:`invalid_union`,input:t.value,inst:n,errors:e.map(e=>e.issues.map(e=>xe(e,r,S())))}),t)}var jn=v(`$ZodUnion`,(e,t)=>{Bt.init(e,t),A(e._zod,`optin`,()=>t.options.some(e=>e._zod.optin===`optional`)?`optional`:void 0),A(e._zod,`optout`,()=>t.options.some(e=>e._zod.optout===`optional`)?`optional`:void 0),A(e._zod,`values`,()=>{if(t.options.every(e=>e._zod.values))return new Set(t.options.flatMap(e=>Array.from(e._zod.values)))}),A(e._zod,`pattern`,()=>{if(t.options.every(e=>e._zod.pattern)){let e=t.options.map(e=>e._zod.pattern);return RegExp(`^(${e.map(e=>D(e.source)).join(`|`)})$`)}});let n=t.options.length===1,r=t.options[0]._zod.run;e._zod.parse=(i,a)=>{if(n)return r(i,a);let o=!1,s=[];for(let e of t.options){let t=e._zod.run({value:i.value,issues:[]},a);if(t instanceof Promise)s.push(t),o=!0;else{if(t.issues.length===0)return t;s.push(t)}}return o?Promise.all(s).then(t=>An(t,i,e,a)):An(s,i,e,a)}}),Mn=v(`$ZodDiscriminatedUnion`,(e,t)=>{t.inclusive=!1,jn.init(e,t);let n=e._zod.parse;A(e._zod,`propValues`,()=>{let e={};for(let n of t.options){let r=n._zod.propValues;if(!r||Object.keys(r).length===0)throw Error(`Invalid discriminated union option at index \"${t.options.indexOf(n)}\"`);for(let[t,n]of Object.entries(r)){e[t]||(e[t]=new Set);for(let r of n)e[t].add(r)}}return e});let r=T(()=>{let e=t.options,n=new Map;for(let r of e){let e=r._zod.propValues?.[t.discriminator];if(!e||e.size===0)throw Error(`Invalid discriminated union option at index \"${t.options.indexOf(r)}\"`);for(let t of e){if(n.has(t))throw Error(`Duplicate discriminator value \"${String(t)}\"`);n.set(t,r)}}return n});e._zod.parse=(i,a)=>{let o=i.value;if(!ne(o))return i.issues.push({code:`invalid_type`,expected:`object`,input:o,inst:e}),i;let s=r.value.get(o?.[t.discriminator]);return s?s._zod.run(i,a):t.unionFallback?n(i,a):(i.issues.push({code:`invalid_union`,errors:[],note:`No matching discriminator`,discriminator:t.discriminator,input:o,path:[t.discriminator],inst:e}),i)}}),Nn=v(`$ZodIntersection`,(e,t)=>{Bt.init(e,t),e._zod.parse=(e,n)=>{let r=e.value,i=t.left._zod.run({value:r,issues:[]},n),a=t.right._zod.run({value:r,issues:[]},n);return i instanceof Promise||a instanceof Promise?Promise.all([i,a]).then(([t,n])=>Fn(e,t,n)):Fn(e,i,a)}});function Pn(e,t){if(e===t||e instanceof Date&&t instanceof Date&&+e==+t)return{valid:!0,data:e};if(ie(e)&&ie(t)){let n=Object.keys(t),r=Object.keys(e).filter(e=>n.indexOf(e)!==-1),i={...e,...t};for(let n of r){let r=Pn(e[n],t[n]);if(!r.valid)return{valid:!1,mergeErrorPath:[n,...r.mergeErrorPath]};i[n]=r.data}return{valid:!0,data:i}}if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return{valid:!1,mergeErrorPath:[]};let n=[];for(let r=0;r<e.length;r++){let i=e[r],a=t[r],o=Pn(i,a);if(!o.valid)return{valid:!1,mergeErrorPath:[r,...o.mergeErrorPath]};n.push(o.data)}return{valid:!0,data:n}}return{valid:!1,mergeErrorPath:[]}}function Fn(e,t,n){let r=new Map,i;for(let n of t.issues)if(n.code===`unrecognized_keys`){i??=n;for(let e of n.keys)r.has(e)||r.set(e,{}),r.get(e).l=!0}else e.issues.push(n);for(let t of n.issues)if(t.code===`unrecognized_keys`)for(let e of t.keys)r.has(e)||r.set(e,{}),r.get(e).r=!0;else e.issues.push(t);let a=[...r].filter(([,e])=>e.l&&e.r).map(([e])=>e);if(a.length&&i&&e.issues.push({...i,keys:a}),ve(e))return e;let o=Pn(t.value,n.value);if(!o.valid)throw Error(`Unmergable intersection. Error path: ${JSON.stringify(o.mergeErrorPath)}`);return e.value=o.data,e}var In=v(`$ZodRecord`,(e,t)=>{Bt.init(e,t),e._zod.parse=(n,r)=>{let i=n.value;if(!ie(i))return n.issues.push({expected:`record`,code:`invalid_type`,input:i,inst:e}),n;let a=[],o=t.keyType._zod.values;if(o){n.value={};let s=new Set;for(let e of o)if(typeof e==`string`||typeof e==`number`||typeof e==`symbol`){s.add(typeof e==`number`?e.toString():e);let o=t.valueType._zod.run({value:i[e],issues:[]},r);o instanceof Promise?a.push(o.then(t=>{t.issues.length&&n.issues.push(...ye(e,t.issues)),n.value[e]=t.value})):(o.issues.length&&n.issues.push(...ye(e,o.issues)),n.value[e]=o.value)}let c;for(let e in i)s.has(e)||(c??=[],c.push(e));c&&c.length>0&&n.issues.push({code:`unrecognized_keys`,input:i,inst:e,keys:c})}else{n.value={};for(let o of Reflect.ownKeys(i)){if(o===`__proto__`)continue;let s=t.keyType._zod.run({value:o,issues:[]},r);if(s instanceof Promise)throw Error(`Async schemas not supported in object keys currently`);if(typeof o==`string`&&ht.test(o)&&s.issues.length){let e=t.keyType._zod.run({value:Number(o),issues:[]},r);if(e instanceof Promise)throw Error(`Async schemas not supported in object keys currently`);e.issues.length===0&&(s=e)}if(s.issues.length){t.mode===`loose`?n.value[o]=i[o]:n.issues.push({code:`invalid_key`,origin:`record`,issues:s.issues.map(e=>xe(e,r,S())),input:o,path:[o],inst:e});continue}let c=t.valueType._zod.run({value:i[o],issues:[]},r);c instanceof Promise?a.push(c.then(e=>{e.issues.length&&n.issues.push(...ye(o,e.issues)),n.value[s.value]=e.value})):(c.issues.length&&n.issues.push(...ye(o,c.issues)),n.value[s.value]=c.value)}}return a.length?Promise.all(a).then(()=>n):n}}),Ln=v(`$ZodEnum`,(e,t)=>{Bt.init(e,t);let n=C(t.entries),r=new Set(n);e._zod.values=r,e._zod.pattern=RegExp(`^(${n.filter(e=>oe.has(typeof e)).map(e=>typeof e==`string`?se(e):e.toString()).join(`|`)})$`),e._zod.parse=(t,i)=>{let a=t.value;return r.has(a)||t.issues.push({code:`invalid_value`,values:n,input:a,inst:e}),t}}),Rn=v(`$ZodLiteral`,(e,t)=>{if(Bt.init(e,t),t.values.length===0)throw Error(`Cannot create literal schema with no valid values`);let n=new Set(t.values);e._zod.values=n,e._zod.pattern=RegExp(`^(${t.values.map(e=>typeof e==`string`?se(e):e?se(e.toString()):String(e)).join(`|`)})$`),e._zod.parse=(r,i)=>{let a=r.value;return n.has(a)||r.issues.push({code:`invalid_value`,values:t.values,input:a,inst:e}),r}}),zn=v(`$ZodTransform`,(e,t)=>{Bt.init(e,t),e._zod.parse=(n,r)=>{if(r.direction===`backward`)throw new b(e.constructor.name);let i=t.transform(n.value,n);if(r.async)return(i instanceof Promise?i:Promise.resolve(i)).then(e=>(n.value=e,n));if(i instanceof Promise)throw new y;return n.value=i,n}});function Bn(e,t){return e.issues.length&&t===void 0?{issues:[],value:void 0}:e}var Vn=v(`$ZodOptional`,(e,t)=>{Bt.init(e,t),e._zod.optin=`optional`,e._zod.optout=`optional`,A(e._zod,`values`,()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,void 0]):void 0),A(e._zod,`pattern`,()=>{let e=t.innerType._zod.pattern;return e?RegExp(`^(${D(e.source)})?$`):void 0}),e._zod.parse=(e,n)=>{if(t.innerType._zod.optin===`optional`){let r=t.innerType._zod.run(e,n);return r instanceof Promise?r.then(t=>Bn(t,e.value)):Bn(r,e.value)}return e.value===void 0?e:t.innerType._zod.run(e,n)}}),Hn=v(`$ZodExactOptional`,(e,t)=>{Vn.init(e,t),A(e._zod,`values`,()=>t.innerType._zod.values),A(e._zod,`pattern`,()=>t.innerType._zod.pattern),e._zod.parse=(e,n)=>t.innerType._zod.run(e,n)}),Un=v(`$ZodNullable`,(e,t)=>{Bt.init(e,t),A(e._zod,`optin`,()=>t.innerType._zod.optin),A(e._zod,`optout`,()=>t.innerType._zod.optout),A(e._zod,`pattern`,()=>{let e=t.innerType._zod.pattern;return e?RegExp(`^(${D(e.source)}|null)$`):void 0}),A(e._zod,`values`,()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,null]):void 0),e._zod.parse=(e,n)=>e.value===null?e:t.innerType._zod.run(e,n)}),Wn=v(`$ZodDefault`,(e,t)=>{Bt.init(e,t),e._zod.optin=`optional`,A(e._zod,`values`,()=>t.innerType._zod.values),e._zod.parse=(e,n)=>{if(n.direction===`backward`)return t.innerType._zod.run(e,n);if(e.value===void 0)return e.value=t.defaultValue,e;let r=t.innerType._zod.run(e,n);return r instanceof Promise?r.then(e=>Gn(e,t)):Gn(r,t)}});function Gn(e,t){return e.value===void 0&&(e.value=t.defaultValue),e}var Kn=v(`$ZodPrefault`,(e,t)=>{Bt.init(e,t),e._zod.optin=`optional`,A(e._zod,`values`,()=>t.innerType._zod.values),e._zod.parse=(e,n)=>(n.direction===`backward`||e.value===void 0&&(e.value=t.defaultValue),t.innerType._zod.run(e,n))}),qn=v(`$ZodNonOptional`,(e,t)=>{Bt.init(e,t),A(e._zod,`values`,()=>{let e=t.innerType._zod.values;return e?new Set([...e].filter(e=>e!==void 0)):void 0}),e._zod.parse=(n,r)=>{let i=t.innerType._zod.run(n,r);return i instanceof Promise?i.then(t=>Jn(t,e)):Jn(i,e)}});function Jn(e,t){return!e.issues.length&&e.value===void 0&&e.issues.push({code:`invalid_type`,expected:`nonoptional`,input:e.value,inst:t}),e}var Yn=v(`$ZodCatch`,(e,t)=>{Bt.init(e,t),A(e._zod,`optin`,()=>t.innerType._zod.optin),A(e._zod,`optout`,()=>t.innerType._zod.optout),A(e._zod,`values`,()=>t.innerType._zod.values),e._zod.parse=(e,n)=>{if(n.direction===`backward`)return t.innerType._zod.run(e,n);let r=t.innerType._zod.run(e,n);return r instanceof Promise?r.then(r=>(e.value=r.value,r.issues.length&&(e.value=t.catchValue({...e,error:{issues:r.issues.map(e=>xe(e,n,S()))},input:e.value}),e.issues=[]),e)):(e.value=r.value,r.issues.length&&(e.value=t.catchValue({...e,error:{issues:r.issues.map(e=>xe(e,n,S()))},input:e.value}),e.issues=[]),e)}}),Xn=v(`$ZodPipe`,(e,t)=>{Bt.init(e,t),A(e._zod,`values`,()=>t.in._zod.values),A(e._zod,`optin`,()=>t.in._zod.optin),A(e._zod,`optout`,()=>t.out._zod.optout),A(e._zod,`propValues`,()=>t.in._zod.propValues),e._zod.parse=(e,n)=>{if(n.direction===`backward`){let r=t.out._zod.run(e,n);return r instanceof Promise?r.then(e=>Zn(e,t.in,n)):Zn(r,t.in,n)}let r=t.in._zod.run(e,n);return r instanceof Promise?r.then(e=>Zn(e,t.out,n)):Zn(r,t.out,n)}});function Zn(e,t,n){return e.issues.length?(e.aborted=!0,e):t._zod.run({value:e.value,issues:e.issues},n)}var Qn=v(`$ZodReadonly`,(e,t)=>{Bt.init(e,t),A(e._zod,`propValues`,()=>t.innerType._zod.propValues),A(e._zod,`values`,()=>t.innerType._zod.values),A(e._zod,`optin`,()=>t.innerType?._zod?.optin),A(e._zod,`optout`,()=>t.innerType?._zod?.optout),e._zod.parse=(e,n)=>{if(n.direction===`backward`)return t.innerType._zod.run(e,n);let r=t.innerType._zod.run(e,n);return r instanceof Promise?r.then($n):$n(r)}});function $n(e){return e.value=Object.freeze(e.value),e}var er=v(`$ZodCustom`,(e,t)=>{xt.init(e,t),Bt.init(e,t),e._zod.parse=(e,t)=>e,e._zod.check=n=>{let r=n.value,i=t.fn(r);if(i instanceof Promise)return i.then(t=>tr(t,n,r,e));tr(i,n,r,e)}});function tr(e,t,n,r){if(!e){let e={code:`custom`,input:n,inst:r,path:[...r._zod.def.path??[]],continue:!r._zod.def.abort};r._zod.def.params&&(e.params=r._zod.def.params),t.issues.push(Ce(e))}}var nr,rr=class{constructor(){this._map=new WeakMap,this._idmap=new Map}add(e,...t){let n=t[0];return this._map.set(e,n),n&&typeof n==`object`&&`id`in n&&this._idmap.set(n.id,e),this}clear(){return this._map=new WeakMap,this._idmap=new Map,this}remove(e){let t=this._map.get(e);return t&&typeof t==`object`&&`id`in t&&this._idmap.delete(t.id),this._map.delete(e),this}get(e){let t=e._zod.parent;if(t){let n={...this.get(t)??{}};delete n.id;let r={...n,...this._map.get(e)};return Object.keys(r).length?r:void 0}return this._map.get(e)}has(e){return this._map.has(e)}};function ir(){return new rr}(nr=globalThis).__zod_globalRegistry??(nr.__zod_globalRegistry=ir());var ar=globalThis.__zod_globalRegistry;function or(e,t){return new e({type:`string`,...P(t)})}function sr(e,t){return new e({type:`string`,format:`email`,check:`string_format`,abort:!1,...P(t)})}function cr(e,t){return new e({type:`string`,format:`guid`,check:`string_format`,abort:!1,...P(t)})}function lr(e,t){return new e({type:`string`,format:`uuid`,check:`string_format`,abort:!1,...P(t)})}function ur(e,t){return new e({type:`string`,format:`uuid`,check:`string_format`,abort:!1,version:`v4`,...P(t)})}function dr(e,t){return new e({type:`string`,format:`uuid`,check:`string_format`,abort:!1,version:`v6`,...P(t)})}function fr(e,t){return new e({type:`string`,format:`uuid`,check:`string_format`,abort:!1,version:`v7`,...P(t)})}function pr(e,t){return new e({type:`string`,format:`url`,check:`string_format`,abort:!1,...P(t)})}function mr(e,t){return new e({type:`string`,format:`emoji`,check:`string_format`,abort:!1,...P(t)})}function hr(e,t){return new e({type:`string`,format:`nanoid`,check:`string_format`,abort:!1,...P(t)})}function gr(e,t){return new e({type:`string`,format:`cuid`,check:`string_format`,abort:!1,...P(t)})}function _r(e,t){return new e({type:`string`,format:`cuid2`,check:`string_format`,abort:!1,...P(t)})}function vr(e,t){return new e({type:`string`,format:`ulid`,check:`string_format`,abort:!1,...P(t)})}function yr(e,t){return new e({type:`string`,format:`xid`,check:`string_format`,abort:!1,...P(t)})}function br(e,t){return new e({type:`string`,format:`ksuid`,check:`string_format`,abort:!1,...P(t)})}function xr(e,t){return new e({type:`string`,format:`ipv4`,check:`string_format`,abort:!1,...P(t)})}function Sr(e,t){return new e({type:`string`,format:`ipv6`,check:`string_format`,abort:!1,...P(t)})}function Cr(e,t){return new e({type:`string`,format:`cidrv4`,check:`string_format`,abort:!1,...P(t)})}function wr(e,t){return new e({type:`string`,format:`cidrv6`,check:`string_format`,abort:!1,...P(t)})}function Tr(e,t){return new e({type:`string`,format:`base64`,check:`string_format`,abort:!1,...P(t)})}function Er(e,t){return new e({type:`string`,format:`base64url`,check:`string_format`,abort:!1,...P(t)})}function Dr(e,t){return new e({type:`string`,format:`e164`,check:`string_format`,abort:!1,...P(t)})}function Or(e,t){return new e({type:`string`,format:`jwt`,check:`string_format`,abort:!1,...P(t)})}function kr(e,t){return new e({type:`string`,format:`datetime`,check:`string_format`,offset:!1,local:!1,precision:null,...P(t)})}function Ar(e,t){return new e({type:`string`,format:`date`,check:`string_format`,...P(t)})}function jr(e,t){return new e({type:`string`,format:`time`,check:`string_format`,precision:null,...P(t)})}function Mr(e,t){return new e({type:`string`,format:`duration`,check:`string_format`,...P(t)})}function Nr(e,t){return new e({type:`number`,checks:[],...P(t)})}function Pr(e,t){return new e({type:`number`,check:`number_format`,abort:!1,format:`safeint`,...P(t)})}function Fr(e,t){return new e({type:`boolean`,...P(t)})}function Ir(e,t){return new e({type:`undefined`,...P(t)})}function Lr(e,t){return new e({type:`null`,...P(t)})}function Rr(e){return new e({type:`unknown`})}function zr(e,t){return new e({type:`never`,...P(t)})}function Br(e,t){return new Ct({check:`less_than`,...P(t),value:e,inclusive:!1})}function Vr(e,t){return new Ct({check:`less_than`,...P(t),value:e,inclusive:!0})}function Hr(e,t){return new wt({check:`greater_than`,...P(t),value:e,inclusive:!1})}function Ur(e,t){return new wt({check:`greater_than`,...P(t),value:e,inclusive:!0})}function Wr(e,t){return new Tt({check:`multiple_of`,...P(t),value:e})}function Gr(e,t){return new Dt({check:`max_length`,...P(t),maximum:e})}function Kr(e,t){return new Ot({check:`min_length`,...P(t),minimum:e})}function qr(e,t){return new kt({check:`length_equals`,...P(t),length:e})}function Jr(e,t){return new jt({check:`string_format`,format:`regex`,...P(t),pattern:e})}function Yr(e){return new Mt({check:`string_format`,format:`lowercase`,...P(e)})}function Xr(e){return new Nt({check:`string_format`,format:`uppercase`,...P(e)})}function Zr(e,t){return new Pt({check:`string_format`,format:`includes`,...P(t),includes:e})}function Qr(e,t){return new Ft({check:`string_format`,format:`starts_with`,...P(t),prefix:e})}function $r(e,t){return new It({check:`string_format`,format:`ends_with`,...P(t),suffix:e})}function ei(e){return new Lt({check:`overwrite`,tx:e})}function ti(e){return ei(t=>t.normalize(e))}function ni(){return ei(e=>e.trim())}function ri(){return ei(e=>e.toLowerCase())}function ii(){return ei(e=>e.toUpperCase())}function ai(){return ei(e=>ee(e))}function oi(e,t,n){return new e({type:`array`,element:t,...P(n)})}function si(e,t,n){let r=P(n);return r.abort??=!0,new e({type:`custom`,check:`custom`,fn:t,...r})}function ci(e,t,n){return new e({type:`custom`,check:`custom`,fn:t,...P(n)})}function li(e){let t=ui(n=>(n.addIssue=e=>{if(typeof e==`string`)n.issues.push(Ce(e,n.value,t._zod.def));else{let r=e;r.fatal&&(r.continue=!1),r.code??=`custom`,r.input??=n.value,r.inst??=t,r.continue??=!t._zod.def.abort,n.issues.push(Ce(r))}},e(n.value,n)));return t}function ui(e,t){let n=new xt({check:`custom`,...P(t)});return n._zod.check=e,n}function di(e){let t=e?.target??`draft-2020-12`;return t===`draft-4`&&(t=`draft-04`),t===`draft-7`&&(t=`draft-07`),{processors:e.processors??{},metadataRegistry:e?.metadata??ar,target:t,unrepresentable:e?.unrepresentable??`throw`,override:e?.override??(()=>{}),io:e?.io??`output`,counter:0,seen:new Map,cycles:e?.cycles??`ref`,reused:e?.reused??`inline`,external:e?.external??void 0}}function fi(e,t,n={path:[],schemaPath:[]}){var r;let i=e._zod.def,a=t.seen.get(e);if(a)return a.count++,n.schemaPath.includes(e)&&(a.cycle=n.path),a.schema;let o={schema:{},count:1,cycle:void 0,path:n.path};t.seen.set(e,o);let s=e._zod.toJSONSchema?.();if(s)o.schema=s;else{let r={...n,schemaPath:[...n.schemaPath,e],path:n.path};if(e._zod.processJSONSchema)e._zod.processJSONSchema(t,o.schema,r);else{let n=o.schema,a=t.processors[i.type];if(!a)throw Error(`[toJSONSchema]: Non-representable type encountered: ${i.type}`);a(e,t,n,r)}let a=e._zod.parent;a&&(o.ref||=a,fi(a,t,r),t.seen.get(a).isParent=!0)}let c=t.metadataRegistry.get(e);return c&&Object.assign(o.schema,c),t.io===`input`&&hi(e)&&(delete o.schema.examples,delete o.schema.default),t.io===`input`&&o.schema._prefault&&((r=o.schema).default??(r.default=o.schema._prefault)),delete o.schema._prefault,t.seen.get(e).schema}function pi(e,t){let n=e.seen.get(t);if(!n)throw Error(`Unprocessed schema. This is a bug in Zod.`);let r=new Map;for(let t of e.seen.entries()){let n=e.metadataRegistry.get(t[0])?.id;if(n){let e=r.get(n);if(e&&e!==t[0])throw Error(`Duplicate schema id \"${n}\" detected during JSON Schema conversion. Two different schemas cannot share the same id when converted together.`);r.set(n,t[0])}}let i=t=>{let r=e.target===`draft-2020-12`?`$defs`:`definitions`;if(e.external){let n=e.external.registry.get(t[0])?.id,i=e.external.uri??(e=>e);if(n)return{ref:i(n)};let a=t[1].defId??t[1].schema.id??`schema${e.counter++}`;return t[1].defId=a,{defId:a,ref:`${i(`__shared`)}#/${r}/${a}`}}if(t[1]===n)return{ref:`#`};let i=`#/${r}/`,a=t[1].schema.id??`__schema${e.counter++}`;return{defId:a,ref:i+a}},a=e=>{if(e[1].schema.$ref)return;let t=e[1],{ref:n,defId:r}=i(e);t.def={...t.schema},r&&(t.defId=r);let a=t.schema;for(let e in a)delete a[e];a.$ref=n};if(e.cycles===`throw`)for(let t of e.seen.entries()){let e=t[1];if(e.cycle)throw Error(`Cycle detected: #/${e.cycle?.join(`/`)}/<root>\n\nSet the \\`cycles\\` parameter to \\`\"ref\"\\` to resolve cyclical schemas with defs.`)}for(let n of e.seen.entries()){let r=n[1];if(t===n[0]){a(n);continue}if(e.external){let r=e.external.registry.get(n[0])?.id;if(t!==n[0]&&r){a(n);continue}}if(e.metadataRegistry.get(n[0])?.id){a(n);continue}if(r.cycle){a(n);continue}if(r.count>1&&e.reused===`ref`){a(n);continue}}}function mi(e,t){let n=e.seen.get(t);if(!n)throw Error(`Unprocessed schema. This is a bug in Zod.`);let r=t=>{let n=e.seen.get(t);if(n.ref===null)return;let i=n.def??n.schema,a={...i},o=n.ref;if(n.ref=null,o){r(o);let n=e.seen.get(o),s=n.schema;if(s.$ref&&(e.target===`draft-07`||e.target===`draft-04`||e.target===`openapi-3.0`)?(i.allOf=i.allOf??[],i.allOf.push(s)):Object.assign(i,s),Object.assign(i,a),t._zod.parent===o)for(let e in i)e===`$ref`||e===`allOf`||e in a||delete i[e];if(s.$ref&&n.def)for(let e in i)e===`$ref`||e===`allOf`||e in n.def&&JSON.stringify(i[e])===JSON.stringify(n.def[e])&&delete i[e]}let s=t._zod.parent;if(s&&s!==o){r(s);let t=e.seen.get(s);if(t?.schema.$ref&&(i.$ref=t.schema.$ref,t.def))for(let e in i)e===`$ref`||e===`allOf`||e in t.def&&JSON.stringify(i[e])===JSON.stringify(t.def[e])&&delete i[e]}e.override({zodSchema:t,jsonSchema:i,path:n.path??[]})};for(let t of[...e.seen.entries()].reverse())r(t[0]);let i={};if(e.target===`draft-2020-12`?i.$schema=`https://json-schema.org/draft/2020-12/schema`:e.target===`draft-07`?i.$schema=`http://json-schema.org/draft-07/schema#`:e.target===`draft-04`?i.$schema=`http://json-schema.org/draft-04/schema#`:e.target,e.external?.uri){let n=e.external.registry.get(t)?.id;if(!n)throw Error(\"Schema is missing an `id` property\");i.$id=e.external.uri(n)}Object.assign(i,n.def??n.schema);let a=e.external?.defs??{};for(let t of e.seen.entries()){let e=t[1];e.def&&e.defId&&(a[e.defId]=e.def)}e.external||Object.keys(a).length>0&&(e.target===`draft-2020-12`?i.$defs=a:i.definitions=a);try{let n=JSON.parse(JSON.stringify(i));return Object.defineProperty(n,`~standard`,{value:{...t[`~standard`],jsonSchema:{input:_i(t,`input`,e.processors),output:_i(t,`output`,e.processors)}},enumerable:!1,writable:!1}),n}catch{throw Error(`Error converting schema to JSON.`)}}function hi(e,t){let n=t??{seen:new Set};if(n.seen.has(e))return!1;n.seen.add(e);let r=e._zod.def;if(r.type===`transform`)return!0;if(r.type===`array`)return hi(r.element,n);if(r.type===`set`)return hi(r.valueType,n);if(r.type===`lazy`)return hi(r.getter(),n);if(r.type===`promise`||r.type===`optional`||r.type===`nonoptional`||r.type===`nullable`||r.type===`readonly`||r.type===`default`||r.type===`prefault`)return hi(r.innerType,n);if(r.type===`intersection`)return hi(r.left,n)||hi(r.right,n);if(r.type===`record`||r.type===`map`)return hi(r.keyType,n)||hi(r.valueType,n);if(r.type===`pipe`)return hi(r.in,n)||hi(r.out,n);if(r.type===`object`){for(let e in r.shape)if(hi(r.shape[e],n))return!0;return!1}if(r.type===`union`){for(let e of r.options)if(hi(e,n))return!0;return!1}if(r.type===`tuple`){for(let e of r.items)if(hi(e,n))return!0;return!!(r.rest&&hi(r.rest,n))}return!1}var gi=(e,t={})=>n=>{let r=di({...n,processors:t});return fi(e,r),pi(r,e),mi(r,e)},_i=(e,t,n={})=>r=>{let{libraryOptions:i,target:a}=r??{},o=di({...i??{},target:a,io:t,processors:n});return fi(e,o),pi(o,e),mi(o,e)},vi={guid:`uuid`,url:`uri`,datetime:`date-time`,json_string:`json-string`,regex:``},yi=(e,t,n,r)=>{let i=n;i.type=`string`;let{minimum:a,maximum:o,format:s,patterns:c,contentEncoding:l}=e._zod.bag;if(typeof a==`number`&&(i.minLength=a),typeof o==`number`&&(i.maxLength=o),s&&(i.format=vi[s]??s,i.format===``&&delete i.format,s===`time`&&delete i.format),l&&(i.contentEncoding=l),c&&c.size>0){let e=[...c];e.length===1?i.pattern=e[0].source:e.length>1&&(i.allOf=[...e.map(e=>({...t.target===`draft-07`||t.target===`draft-04`||t.target===`openapi-3.0`?{type:`string`}:{},pattern:e.source}))])}},bi=(e,t,n,r)=>{let i=n,{minimum:a,maximum:o,format:s,multipleOf:c,exclusiveMaximum:l,exclusiveMinimum:u}=e._zod.bag;typeof s==`string`&&s.includes(`int`)?i.type=`integer`:i.type=`number`,typeof u==`number`&&(t.target===`draft-04`||t.target===`openapi-3.0`?(i.minimum=u,i.exclusiveMinimum=!0):i.exclusiveMinimum=u),typeof a==`number`&&(i.minimum=a,typeof u==`number`&&t.target!==`draft-04`&&(u>=a?delete i.minimum:delete i.exclusiveMinimum)),typeof l==`number`&&(t.target===`draft-04`||t.target===`openapi-3.0`?(i.maximum=l,i.exclusiveMaximum=!0):i.exclusiveMaximum=l),typeof o==`number`&&(i.maximum=o,typeof l==`number`&&t.target!==`draft-04`&&(l<=o?delete i.maximum:delete i.exclusiveMaximum)),typeof c==`number`&&(i.multipleOf=c)},xi=(e,t,n,r)=>{n.type=`boolean`},Si=(e,t,n,r)=>{t.target===`openapi-3.0`?(n.type=`string`,n.nullable=!0,n.enum=[null]):n.type=`null`},Ci=(e,t,n,r)=>{if(t.unrepresentable===`throw`)throw Error(`Undefined cannot be represented in JSON Schema`)},wi=(e,t,n,r)=>{n.not={}},Ti=(e,t,n,r)=>{let i=e._zod.def,a=C(i.entries);a.every(e=>typeof e==`number`)&&(n.type=`number`),a.every(e=>typeof e==`string`)&&(n.type=`string`),n.enum=a},Ei=(e,t,n,r)=>{let i=e._zod.def,a=[];for(let e of i.values)if(e===void 0){if(t.unrepresentable===`throw`)throw Error(\"Literal `undefined` cannot be represented in JSON Schema\")}else if(typeof e==`bigint`){if(t.unrepresentable===`throw`)throw Error(`BigInt literals cannot be represented in JSON Schema`);a.push(Number(e))}else a.push(e);if(a.length!==0)if(a.length===1){let e=a[0];n.type=e===null?`null`:typeof e,t.target===`draft-04`||t.target===`openapi-3.0`?n.enum=[e]:n.const=e}else a.every(e=>typeof e==`number`)&&(n.type=`number`),a.every(e=>typeof e==`string`)&&(n.type=`string`),a.every(e=>typeof e==`boolean`)&&(n.type=`boolean`),a.every(e=>e===null)&&(n.type=`null`),n.enum=a},Di=(e,t,n,r)=>{if(t.unrepresentable===`throw`)throw Error(`Custom types cannot be represented in JSON Schema`)},Oi=(e,t,n,r)=>{if(t.unrepresentable===`throw`)throw Error(`Transforms cannot be represented in JSON Schema`)},ki=(e,t,n,r)=>{let i=n,a=e._zod.def,{minimum:o,maximum:s}=e._zod.bag;typeof o==`number`&&(i.minItems=o),typeof s==`number`&&(i.maxItems=s),i.type=`array`,i.items=fi(a.element,t,{...r,path:[...r.path,`items`]})},Ai=(e,t,n,r)=>{let i=n,a=e._zod.def;i.type=`object`,i.properties={};let o=a.shape;for(let e in o)i.properties[e]=fi(o[e],t,{...r,path:[...r.path,`properties`,e]});let s=new Set(Object.keys(o)),c=new Set([...s].filter(e=>{let n=a.shape[e]._zod;return t.io===`input`?n.optin===void 0:n.optout===void 0}));c.size>0&&(i.required=Array.from(c)),a.catchall?._zod.def.type===`never`?i.additionalProperties=!1:a.catchall?a.catchall&&(i.additionalProperties=fi(a.catchall,t,{...r,path:[...r.path,`additionalProperties`]})):t.io===`output`&&(i.additionalProperties=!1)},ji=(e,t,n,r)=>{let i=e._zod.def,a=i.inclusive===!1,o=i.options.map((e,n)=>fi(e,t,{...r,path:[...r.path,a?`oneOf`:`anyOf`,n]}));a?n.oneOf=o:n.anyOf=o},Mi=(e,t,n,r)=>{let i=e._zod.def,a=fi(i.left,t,{...r,path:[...r.path,`allOf`,0]}),o=fi(i.right,t,{...r,path:[...r.path,`allOf`,1]}),s=e=>`allOf`in e&&Object.keys(e).length===1;n.allOf=[...s(a)?a.allOf:[a],...s(o)?o.allOf:[o]]},Ni=(e,t,n,r)=>{let i=n,a=e._zod.def;i.type=`object`;let o=a.keyType,s=o._zod.bag?.patterns;if(a.mode===`loose`&&s&&s.size>0){let e=fi(a.valueType,t,{...r,path:[...r.path,`patternProperties`,`*`]});i.patternProperties={};for(let t of s)i.patternProperties[t.source]=e}else (t.target===`draft-07`||t.target===`draft-2020-12`)&&(i.propertyNames=fi(a.keyType,t,{...r,path:[...r.path,`propertyNames`]})),i.additionalProperties=fi(a.valueType,t,{...r,path:[...r.path,`additionalProperties`]});let c=o._zod.values;if(c){let e=[...c].filter(e=>typeof e==`string`||typeof e==`number`);e.length>0&&(i.required=e)}},Pi=(e,t,n,r)=>{let i=e._zod.def,a=fi(i.innerType,t,r),o=t.seen.get(e);t.target===`openapi-3.0`?(o.ref=i.innerType,n.nullable=!0):n.anyOf=[a,{type:`null`}]},Fi=(e,t,n,r)=>{let i=e._zod.def;fi(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType},Ii=(e,t,n,r)=>{let i=e._zod.def;fi(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType,n.default=JSON.parse(JSON.stringify(i.defaultValue))},Li=(e,t,n,r)=>{let i=e._zod.def;fi(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType,t.io===`input`&&(n._prefault=JSON.parse(JSON.stringify(i.defaultValue)))},Ri=(e,t,n,r)=>{let i=e._zod.def;fi(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType;let o;try{o=i.catchValue(void 0)}catch{throw Error(`Dynamic catch values are not supported in JSON Schema`)}n.default=o},zi=(e,t,n,r)=>{let i=e._zod.def,a=t.io===`input`?i.in._zod.def.type===`transform`?i.out:i.in:i.out;fi(a,t,r);let o=t.seen.get(e);o.ref=a},Bi=(e,t,n,r)=>{let i=e._zod.def;fi(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType,n.readOnly=!0},Vi=(e,t,n,r)=>{let i=e._zod.def;fi(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType},Hi=v(`ZodISODateTime`,(e,t)=>{en.init(e,t),pa.init(e,t)});function Ui(e){return kr(Hi,e)}var Wi=v(`ZodISODate`,(e,t)=>{tn.init(e,t),pa.init(e,t)});function Gi(e){return Ar(Wi,e)}var Ki=v(`ZodISOTime`,(e,t)=>{nn.init(e,t),pa.init(e,t)});function qi(e){return jr(Ki,e)}var Ji=v(`ZodISODuration`,(e,t)=>{rn.init(e,t),pa.init(e,t)});function Yi(e){return Mr(Ji,e)}var Xi=(e,t)=>{Te.init(e,t),e.name=`ZodError`,Object.defineProperties(e,{format:{value:t=>Oe(e,t)},flatten:{value:t=>De(e,t)},addIssue:{value:t=>{e.issues.push(t),e.message=JSON.stringify(e.issues,w,2)}},addIssues:{value:t=>{e.issues.push(...t),e.message=JSON.stringify(e.issues,w,2)}},isEmpty:{get(){return e.issues.length===0}}})};v(`ZodError`,Xi);var Zi=v(`ZodError`,Xi,{Parent:Error}),Qi=ke(Zi),$i=Ae(Zi),ea=je(Zi),ta=Ne(Zi),na=Fe(Zi),ra=Ie(Zi),ia=Le(Zi),aa=Re(Zi),oa=ze(Zi),sa=Be(Zi),ca=Ve(Zi),la=He(Zi),ua=v(`ZodType`,(e,t)=>(Bt.init(e,t),Object.assign(e[`~standard`],{jsonSchema:{input:_i(e,`input`),output:_i(e,`output`)}}),e.toJSONSchema=gi(e,{}),e.def=t,e.type=t.type,Object.defineProperty(e,`_def`,{value:t}),e.check=(...n)=>e.clone(M(t,{checks:[...t.checks??[],...n.map(e=>typeof e==`function`?{_zod:{check:e,def:{check:`custom`},onattach:[]}}:e)]}),{parent:!0}),e.with=e.check,e.clone=(t,n)=>ce(e,t,n),e.brand=()=>e,e.register=((t,n)=>(t.add(e,n),e)),e.parse=(t,n)=>Qi(e,t,n,{callee:e.parse}),e.safeParse=(t,n)=>ea(e,t,n),e.parseAsync=async(t,n)=>$i(e,t,n,{callee:e.parseAsync}),e.safeParseAsync=async(t,n)=>ta(e,t,n),e.spa=e.safeParseAsync,e.encode=(t,n)=>na(e,t,n),e.decode=(t,n)=>ra(e,t,n),e.encodeAsync=async(t,n)=>ia(e,t,n),e.decodeAsync=async(t,n)=>aa(e,t,n),e.safeEncode=(t,n)=>oa(e,t,n),e.safeDecode=(t,n)=>sa(e,t,n),e.safeEncodeAsync=async(t,n)=>ca(e,t,n),e.safeDecodeAsync=async(t,n)=>la(e,t,n),e.refine=(t,n)=>e.check(Do(t,n)),e.superRefine=t=>e.check(Oo(t)),e.overwrite=t=>e.check(ei(t)),e.optional=()=>so(e),e.exactOptional=()=>lo(e),e.nullable=()=>fo(e),e.nullish=()=>so(fo(e)),e.nonoptional=t=>vo(e,t),e.array=()=>L(e),e.or=t=>z([e,t]),e.and=t=>$a(e,t),e.transform=t=>So(e,ao(t)),e.default=t=>mo(e,t),e.prefault=t=>go(e,t),e.catch=t=>bo(e,t),e.pipe=t=>So(e,t),e.readonly=()=>wo(e),e.describe=t=>{let n=e.clone();return ar.add(n,{description:t}),n},Object.defineProperty(e,`description`,{get(){return ar.get(e)?.description},configurable:!0}),e.meta=(...t)=>{if(t.length===0)return ar.get(e);let n=e.clone();return ar.add(n,t[0]),n},e.isOptional=()=>e.safeParse(void 0).success,e.isNullable=()=>e.safeParse(null).success,e.apply=t=>t(e),e)),da=v(`_ZodString`,(e,t)=>{Vt.init(e,t),ua.init(e,t),e._zod.processJSONSchema=(t,n,r)=>yi(e,t,n,r);let n=e._zod.bag;e.format=n.format??null,e.minLength=n.minimum??null,e.maxLength=n.maximum??null,e.regex=(...t)=>e.check(Jr(...t)),e.includes=(...t)=>e.check(Zr(...t)),e.startsWith=(...t)=>e.check(Qr(...t)),e.endsWith=(...t)=>e.check($r(...t)),e.min=(...t)=>e.check(Kr(...t)),e.max=(...t)=>e.check(Gr(...t)),e.length=(...t)=>e.check(qr(...t)),e.nonempty=(...t)=>e.check(Kr(1,...t)),e.lowercase=t=>e.check(Yr(t)),e.uppercase=t=>e.check(Xr(t)),e.trim=()=>e.check(ni()),e.normalize=(...t)=>e.check(ti(...t)),e.toLowerCase=()=>e.check(ri()),e.toUpperCase=()=>e.check(ii()),e.slugify=()=>e.check(ai())}),fa=v(`ZodString`,(e,t)=>{Vt.init(e,t),da.init(e,t),e.email=t=>e.check(sr(ma,t)),e.url=t=>e.check(pr(_a,t)),e.jwt=t=>e.check(Or(Ma,t)),e.emoji=t=>e.check(mr(va,t)),e.guid=t=>e.check(cr(ha,t)),e.uuid=t=>e.check(lr(ga,t)),e.uuidv4=t=>e.check(ur(ga,t)),e.uuidv6=t=>e.check(dr(ga,t)),e.uuidv7=t=>e.check(fr(ga,t)),e.nanoid=t=>e.check(hr(ya,t)),e.guid=t=>e.check(cr(ha,t)),e.cuid=t=>e.check(gr(ba,t)),e.cuid2=t=>e.check(_r(xa,t)),e.ulid=t=>e.check(vr(Sa,t)),e.base64=t=>e.check(Tr(ka,t)),e.base64url=t=>e.check(Er(Aa,t)),e.xid=t=>e.check(yr(Ca,t)),e.ksuid=t=>e.check(br(wa,t)),e.ipv4=t=>e.check(xr(Ta,t)),e.ipv6=t=>e.check(Sr(Ea,t)),e.cidrv4=t=>e.check(Cr(Da,t)),e.cidrv6=t=>e.check(wr(Oa,t)),e.e164=t=>e.check(Dr(ja,t)),e.datetime=t=>e.check(Ui(t)),e.date=t=>e.check(Gi(t)),e.time=t=>e.check(qi(t)),e.duration=t=>e.check(Yi(t))});function F(e){return or(fa,e)}var pa=v(`ZodStringFormat`,(e,t)=>{Ht.init(e,t),da.init(e,t)}),ma=v(`ZodEmail`,(e,t)=>{Gt.init(e,t),pa.init(e,t)}),ha=v(`ZodGUID`,(e,t)=>{Ut.init(e,t),pa.init(e,t)}),ga=v(`ZodUUID`,(e,t)=>{Wt.init(e,t),pa.init(e,t)}),_a=v(`ZodURL`,(e,t)=>{Kt.init(e,t),pa.init(e,t)}),va=v(`ZodEmoji`,(e,t)=>{qt.init(e,t),pa.init(e,t)}),ya=v(`ZodNanoID`,(e,t)=>{Jt.init(e,t),pa.init(e,t)}),ba=v(`ZodCUID`,(e,t)=>{Yt.init(e,t),pa.init(e,t)}),xa=v(`ZodCUID2`,(e,t)=>{Xt.init(e,t),pa.init(e,t)}),Sa=v(`ZodULID`,(e,t)=>{Zt.init(e,t),pa.init(e,t)}),Ca=v(`ZodXID`,(e,t)=>{Qt.init(e,t),pa.init(e,t)}),wa=v(`ZodKSUID`,(e,t)=>{$t.init(e,t),pa.init(e,t)}),Ta=v(`ZodIPv4`,(e,t)=>{an.init(e,t),pa.init(e,t)}),Ea=v(`ZodIPv6`,(e,t)=>{on.init(e,t),pa.init(e,t)}),Da=v(`ZodCIDRv4`,(e,t)=>{sn.init(e,t),pa.init(e,t)}),Oa=v(`ZodCIDRv6`,(e,t)=>{cn.init(e,t),pa.init(e,t)}),ka=v(`ZodBase64`,(e,t)=>{un.init(e,t),pa.init(e,t)}),Aa=v(`ZodBase64URL`,(e,t)=>{fn.init(e,t),pa.init(e,t)}),ja=v(`ZodE164`,(e,t)=>{pn.init(e,t),pa.init(e,t)}),Ma=v(`ZodJWT`,(e,t)=>{hn.init(e,t),pa.init(e,t)}),Na=v(`ZodNumber`,(e,t)=>{gn.init(e,t),ua.init(e,t),e._zod.processJSONSchema=(t,n,r)=>bi(e,t,n,r),e.gt=(t,n)=>e.check(Hr(t,n)),e.gte=(t,n)=>e.check(Ur(t,n)),e.min=(t,n)=>e.check(Ur(t,n)),e.lt=(t,n)=>e.check(Br(t,n)),e.lte=(t,n)=>e.check(Vr(t,n)),e.max=(t,n)=>e.check(Vr(t,n)),e.int=t=>e.check(Fa(t)),e.safe=t=>e.check(Fa(t)),e.positive=t=>e.check(Hr(0,t)),e.nonnegative=t=>e.check(Ur(0,t)),e.negative=t=>e.check(Br(0,t)),e.nonpositive=t=>e.check(Vr(0,t)),e.multipleOf=(t,n)=>e.check(Wr(t,n)),e.step=(t,n)=>e.check(Wr(t,n)),e.finite=()=>e;let n=e._zod.bag;e.minValue=Math.max(n.minimum??-1/0,n.exclusiveMinimum??-1/0)??null,e.maxValue=Math.min(n.maximum??1/0,n.exclusiveMaximum??1/0)??null,e.isInt=(n.format??``).includes(`int`)||Number.isSafeInteger(n.multipleOf??.5),e.isFinite=!0,e.format=n.format??null});function I(e){return Nr(Na,e)}var Pa=v(`ZodNumberFormat`,(e,t)=>{_n.init(e,t),Na.init(e,t)});function Fa(e){return Pr(Pa,e)}var Ia=v(`ZodBoolean`,(e,t)=>{vn.init(e,t),ua.init(e,t),e._zod.processJSONSchema=(t,n,r)=>xi(e,t,n,r)});function La(e){return Fr(Ia,e)}var Ra=v(`ZodUndefined`,(e,t)=>{yn.init(e,t),ua.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Ci(e,t,n,r)});function za(e){return Ir(Ra,e)}var Ba=v(`ZodNull`,(e,t)=>{bn.init(e,t),ua.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Si(e,t,n,r)});function Va(e){return Lr(Ba,e)}var Ha=v(`ZodUnknown`,(e,t)=>{xn.init(e,t),ua.init(e,t),e._zod.processJSONSchema=(e,t,n)=>void 0});function Ua(){return Rr(Ha)}var Wa=v(`ZodNever`,(e,t)=>{Sn.init(e,t),ua.init(e,t),e._zod.processJSONSchema=(t,n,r)=>wi(e,t,n,r)});function Ga(e){return zr(Wa,e)}var Ka=v(`ZodArray`,(e,t)=>{wn.init(e,t),ua.init(e,t),e._zod.processJSONSchema=(t,n,r)=>ki(e,t,n,r),e.element=t.element,e.min=(t,n)=>e.check(Kr(t,n)),e.nonempty=t=>e.check(Kr(1,t)),e.max=(t,n)=>e.check(Gr(t,n)),e.length=(t,n)=>e.check(qr(t,n)),e.unwrap=()=>e.element});function L(e,t){return oi(Ka,e,t)}var qa=v(`ZodObject`,(e,t)=>{kn.init(e,t),ua.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Ai(e,t,n,r),A(e,`shape`,()=>t.shape),e.keyof=()=>no(Object.keys(e._zod.def.shape)),e.catchall=t=>e.clone({...e._zod.def,catchall:t}),e.passthrough=()=>e.clone({...e._zod.def,catchall:Ua()}),e.loose=()=>e.clone({...e._zod.def,catchall:Ua()}),e.strict=()=>e.clone({...e._zod.def,catchall:Ga()}),e.strip=()=>e.clone({...e._zod.def,catchall:void 0}),e.extend=t=>pe(e,t),e.safeExtend=t=>me(e,t),e.merge=t=>he(e,t),e.pick=t=>de(e,t),e.omit=t=>fe(e,t),e.partial=(...t)=>ge(oo,e,t[0]),e.required=(...t)=>_e(_o,e,t[0])});function R(e,t){return new qa({type:`object`,shape:e??{},...P(t)})}function Ja(e,t){return new qa({type:`object`,shape:e,catchall:Ua(),...P(t)})}var Ya=v(`ZodUnion`,(e,t)=>{jn.init(e,t),ua.init(e,t),e._zod.processJSONSchema=(t,n,r)=>ji(e,t,n,r),e.options=t.options});function z(e,t){return new Ya({type:`union`,options:e,...P(t)})}var Xa=v(`ZodDiscriminatedUnion`,(e,t)=>{Ya.init(e,t),Mn.init(e,t)});function Za(e,t,n){return new Xa({type:`union`,options:t,discriminator:e,...P(n)})}var Qa=v(`ZodIntersection`,(e,t)=>{Nn.init(e,t),ua.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Mi(e,t,n,r)});function $a(e,t){return new Qa({type:`intersection`,left:e,right:t})}var eo=v(`ZodRecord`,(e,t)=>{In.init(e,t),ua.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Ni(e,t,n,r),e.keyType=t.keyType,e.valueType=t.valueType});function B(e,t,n){return new eo({type:`record`,keyType:e,valueType:t,...P(n)})}var to=v(`ZodEnum`,(e,t)=>{Ln.init(e,t),ua.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Ti(e,t,n,r),e.enum=t.entries,e.options=Object.values(t.entries);let n=new Set(Object.keys(t.entries));e.extract=(e,r)=>{let i={};for(let r of e)if(n.has(r))i[r]=t.entries[r];else throw Error(`Key ${r} not found in enum`);return new to({...t,checks:[],...P(r),entries:i})},e.exclude=(e,r)=>{let i={...t.entries};for(let t of e)if(n.has(t))delete i[t];else throw Error(`Key ${t} not found in enum`);return new to({...t,checks:[],...P(r),entries:i})}});function no(e,t){return new to({type:`enum`,entries:Array.isArray(e)?Object.fromEntries(e.map(e=>[e,e])):e,...P(t)})}var ro=v(`ZodLiteral`,(e,t)=>{Rn.init(e,t),ua.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Ei(e,t,n,r),e.values=new Set(t.values),Object.defineProperty(e,`value`,{get(){if(t.values.length>1)throw Error(\"This schema contains multiple valid literal values. Use `.values` instead.\");return t.values[0]}})});function V(e,t){return new ro({type:`literal`,values:Array.isArray(e)?e:[e],...P(t)})}var io=v(`ZodTransform`,(e,t)=>{zn.init(e,t),ua.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Oi(e,t,n,r),e._zod.parse=(n,r)=>{if(r.direction===`backward`)throw new b(e.constructor.name);n.addIssue=r=>{if(typeof r==`string`)n.issues.push(Ce(r,n.value,t));else{let t=r;t.fatal&&(t.continue=!1),t.code??=`custom`,t.input??=n.value,t.inst??=e,n.issues.push(Ce(t))}};let i=t.transform(n.value,n);return i instanceof Promise?i.then(e=>(n.value=e,n)):(n.value=i,n)}});function ao(e){return new io({type:`transform`,transform:e})}var oo=v(`ZodOptional`,(e,t)=>{Vn.init(e,t),ua.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Vi(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function so(e){return new oo({type:`optional`,innerType:e})}var co=v(`ZodExactOptional`,(e,t)=>{Hn.init(e,t),ua.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Vi(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function lo(e){return new co({type:`optional`,innerType:e})}var uo=v(`ZodNullable`,(e,t)=>{Un.init(e,t),ua.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Pi(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function fo(e){return new uo({type:`nullable`,innerType:e})}var po=v(`ZodDefault`,(e,t)=>{Wn.init(e,t),ua.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Ii(e,t,n,r),e.unwrap=()=>e._zod.def.innerType,e.removeDefault=e.unwrap});function mo(e,t){return new po({type:`default`,innerType:e,get defaultValue(){return typeof t==`function`?t():ae(t)}})}var ho=v(`ZodPrefault`,(e,t)=>{Kn.init(e,t),ua.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Li(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function go(e,t){return new ho({type:`prefault`,innerType:e,get defaultValue(){return typeof t==`function`?t():ae(t)}})}var _o=v(`ZodNonOptional`,(e,t)=>{qn.init(e,t),ua.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Fi(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function vo(e,t){return new _o({type:`nonoptional`,innerType:e,...P(t)})}var yo=v(`ZodCatch`,(e,t)=>{Yn.init(e,t),ua.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Ri(e,t,n,r),e.unwrap=()=>e._zod.def.innerType,e.removeCatch=e.unwrap});function bo(e,t){return new yo({type:`catch`,innerType:e,catchValue:typeof t==`function`?t:()=>t})}var xo=v(`ZodPipe`,(e,t)=>{Xn.init(e,t),ua.init(e,t),e._zod.processJSONSchema=(t,n,r)=>zi(e,t,n,r),e.in=t.in,e.out=t.out});function So(e,t){return new xo({type:`pipe`,in:e,out:t})}var Co=v(`ZodReadonly`,(e,t)=>{Qn.init(e,t),ua.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Bi(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function wo(e){return new Co({type:`readonly`,innerType:e})}var To=v(`ZodCustom`,(e,t)=>{er.init(e,t),ua.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Di(e,t,n,r)});function Eo(e,t){return si(To,e??(()=>!0),t)}function Do(e,t={}){return ci(To,e,t)}function Oo(e){return li(e)}function ko(e,t){return So(ao(e),t)}var Ao=u(f(),1),jo=_(),Mo=`io.modelcontextprotocol/related-task`,No=Eo(e=>e!==null&&(typeof e==`object`||typeof e==`function`)),Po=z([F(),I().int()]),Fo=F();Ja({ttl:I().optional(),pollInterval:I().optional()});var Io=R({ttl:I().optional()}),Lo=R({taskId:F()}),Ro=Ja({progressToken:Po.optional(),[Mo]:Lo.optional()}),zo=R({_meta:Ro.optional()}),Bo=zo.extend({task:Io.optional()}),Vo=e=>Bo.safeParse(e).success,Ho=R({method:F(),params:zo.loose().optional()}),Uo=R({_meta:Ro.optional()}),Wo=R({method:F(),params:Uo.loose().optional()}),Go=Ja({_meta:Ro.optional()}),Ko=z([F(),I().int()]),qo=R({jsonrpc:V(`2.0`),id:Ko,...Ho.shape}).strict(),Jo=e=>qo.safeParse(e).success,Yo=R({jsonrpc:V(`2.0`),...Wo.shape}).strict(),Xo=e=>Yo.safeParse(e).success,Zo=R({jsonrpc:V(`2.0`),id:Ko,result:Go}).strict(),Qo=e=>Zo.safeParse(e).success,$o;(function(e){e[e.ConnectionClosed=-32e3]=`ConnectionClosed`,e[e.RequestTimeout=-32001]=`RequestTimeout`,e[e.ParseError=-32700]=`ParseError`,e[e.InvalidRequest=-32600]=`InvalidRequest`,e[e.MethodNotFound=-32601]=`MethodNotFound`,e[e.InvalidParams=-32602]=`InvalidParams`,e[e.InternalError=-32603]=`InternalError`,e[e.UrlElicitationRequired=-32042]=`UrlElicitationRequired`})($o||={});var es=R({jsonrpc:V(`2.0`),id:Ko.optional(),error:R({code:I().int(),message:F(),data:Ua().optional()})}).strict(),ts=e=>es.safeParse(e).success,ns=z([qo,Yo,Zo,es]);z([Zo,es]);var rs=Go.strict(),is=Uo.extend({requestId:Ko.optional(),reason:F().optional()}),as=Wo.extend({method:V(`notifications/cancelled`),params:is}),os=R({icons:L(R({src:F(),mimeType:F().optional(),sizes:L(F()).optional(),theme:no([`light`,`dark`]).optional()})).optional()}),ss=R({name:F(),title:F().optional()}),cs=ss.extend({...ss.shape,...os.shape,version:F(),websiteUrl:F().optional(),description:F().optional()}),ls=ko(e=>e&&typeof e==`object`&&!Array.isArray(e)&&Object.keys(e).length===0?{form:{}}:e,$a(R({form:$a(R({applyDefaults:La().optional()}),B(F(),Ua())).optional(),url:No.optional()}),B(F(),Ua()).optional())),us=Ja({list:No.optional(),cancel:No.optional(),requests:Ja({sampling:Ja({createMessage:No.optional()}).optional(),elicitation:Ja({create:No.optional()}).optional()}).optional()}),ds=Ja({list:No.optional(),cancel:No.optional(),requests:Ja({tools:Ja({call:No.optional()}).optional()}).optional()}),fs=R({experimental:B(F(),No).optional(),sampling:R({context:No.optional(),tools:No.optional()}).optional(),elicitation:ls.optional(),roots:R({listChanged:La().optional()}).optional(),tasks:us.optional(),extensions:B(F(),No).optional()}),ps=zo.extend({protocolVersion:F(),capabilities:fs,clientInfo:cs}),ms=Ho.extend({method:V(`initialize`),params:ps}),hs=R({experimental:B(F(),No).optional(),logging:No.optional(),completions:No.optional(),prompts:R({listChanged:La().optional()}).optional(),resources:R({subscribe:La().optional(),listChanged:La().optional()}).optional(),tools:R({listChanged:La().optional()}).optional(),tasks:ds.optional(),extensions:B(F(),No).optional()}),gs=Go.extend({protocolVersion:F(),capabilities:hs,serverInfo:cs,instructions:F().optional()}),_s=Wo.extend({method:V(`notifications/initialized`),params:Uo.optional()}),vs=Ho.extend({method:V(`ping`),params:zo.optional()}),ys=R({progress:I(),total:so(I()),message:so(F())}),bs=R({...Uo.shape,...ys.shape,progressToken:Po}),xs=Wo.extend({method:V(`notifications/progress`),params:bs}),Ss=zo.extend({cursor:Fo.optional()}),Cs=Ho.extend({params:Ss.optional()}),ws=Go.extend({nextCursor:Fo.optional()}),Ts=no([`working`,`input_required`,`completed`,`failed`,`cancelled`]),Es=R({taskId:F(),status:Ts,ttl:z([I(),Va()]),createdAt:F(),lastUpdatedAt:F(),pollInterval:so(I()),statusMessage:so(F())}),Ds=Go.extend({task:Es}),Os=Uo.merge(Es),ks=Wo.extend({method:V(`notifications/tasks/status`),params:Os}),As=Ho.extend({method:V(`tasks/get`),params:zo.extend({taskId:F()})}),js=Go.merge(Es),Ms=Ho.extend({method:V(`tasks/result`),params:zo.extend({taskId:F()})});Go.loose();var Ns=Cs.extend({method:V(`tasks/list`)}),Ps=ws.extend({tasks:L(Es)}),Fs=Ho.extend({method:V(`tasks/cancel`),params:zo.extend({taskId:F()})}),Is=Go.merge(Es),Ls=R({uri:F(),mimeType:so(F()),_meta:B(F(),Ua()).optional()}),Rs=Ls.extend({text:F()}),zs=F().refine(e=>{try{return atob(e),!0}catch{return!1}},{message:`Invalid Base64 string`}),Bs=Ls.extend({blob:zs}),Vs=no([`user`,`assistant`]),Hs=R({audience:L(Vs).optional(),priority:I().min(0).max(1).optional(),lastModified:Ui({offset:!0}).optional()}),Us=R({...ss.shape,...os.shape,uri:F(),description:so(F()),mimeType:so(F()),size:so(I()),annotations:Hs.optional(),_meta:so(Ja({}))}),Ws=R({...ss.shape,...os.shape,uriTemplate:F(),description:so(F()),mimeType:so(F()),annotations:Hs.optional(),_meta:so(Ja({}))}),Gs=Cs.extend({method:V(`resources/list`)}),Ks=ws.extend({resources:L(Us)}),qs=Cs.extend({method:V(`resources/templates/list`)}),Js=ws.extend({resourceTemplates:L(Ws)}),Ys=zo.extend({uri:F()}),Xs=Ys,Zs=Ho.extend({method:V(`resources/read`),params:Xs}),Qs=Go.extend({contents:L(z([Rs,Bs]))}),$s=Wo.extend({method:V(`notifications/resources/list_changed`),params:Uo.optional()}),ec=Ys,tc=Ho.extend({method:V(`resources/subscribe`),params:ec}),nc=Ys,rc=Ho.extend({method:V(`resources/unsubscribe`),params:nc}),ic=Uo.extend({uri:F()}),ac=Wo.extend({method:V(`notifications/resources/updated`),params:ic}),oc=R({name:F(),description:so(F()),required:so(La())}),sc=R({...ss.shape,...os.shape,description:so(F()),arguments:so(L(oc)),_meta:so(Ja({}))}),cc=Cs.extend({method:V(`prompts/list`)}),lc=ws.extend({prompts:L(sc)}),uc=zo.extend({name:F(),arguments:B(F(),F()).optional()}),dc=Ho.extend({method:V(`prompts/get`),params:uc}),fc=R({type:V(`text`),text:F(),annotations:Hs.optional(),_meta:B(F(),Ua()).optional()}),pc=R({type:V(`image`),data:zs,mimeType:F(),annotations:Hs.optional(),_meta:B(F(),Ua()).optional()}),mc=R({type:V(`audio`),data:zs,mimeType:F(),annotations:Hs.optional(),_meta:B(F(),Ua()).optional()}),hc=R({type:V(`tool_use`),name:F(),id:F(),input:B(F(),Ua()),_meta:B(F(),Ua()).optional()}),gc=R({type:V(`resource`),resource:z([Rs,Bs]),annotations:Hs.optional(),_meta:B(F(),Ua()).optional()}),_c=Us.extend({type:V(`resource_link`)}),vc=z([fc,pc,mc,_c,gc]),yc=R({role:Vs,content:vc}),bc=Go.extend({description:F().optional(),messages:L(yc)}),xc=Wo.extend({method:V(`notifications/prompts/list_changed`),params:Uo.optional()}),H=R({title:F().optional(),readOnlyHint:La().optional(),destructiveHint:La().optional(),idempotentHint:La().optional(),openWorldHint:La().optional()}),Sc=R({taskSupport:no([`required`,`optional`,`forbidden`]).optional()}),Cc=R({...ss.shape,...os.shape,description:F().optional(),inputSchema:R({type:V(`object`),properties:B(F(),No).optional(),required:L(F()).optional()}).catchall(Ua()),outputSchema:R({type:V(`object`),properties:B(F(),No).optional(),required:L(F()).optional()}).catchall(Ua()).optional(),annotations:H.optional(),execution:Sc.optional(),_meta:B(F(),Ua()).optional()}),wc=Cs.extend({method:V(`tools/list`)}),Tc=ws.extend({tools:L(Cc)}),Ec=Go.extend({content:L(vc).default([]),structuredContent:B(F(),Ua()).optional(),isError:La().optional()});Ec.or(Go.extend({toolResult:Ua()}));var Dc=Bo.extend({name:F(),arguments:B(F(),Ua()).optional()}),Oc=Ho.extend({method:V(`tools/call`),params:Dc}),kc=Wo.extend({method:V(`notifications/tools/list_changed`),params:Uo.optional()});R({autoRefresh:La().default(!0),debounceMs:I().int().nonnegative().default(300)});var Ac=no([`debug`,`info`,`notice`,`warning`,`error`,`critical`,`alert`,`emergency`]),jc=zo.extend({level:Ac}),Mc=Ho.extend({method:V(`logging/setLevel`),params:jc}),Nc=Uo.extend({level:Ac,logger:F().optional(),data:Ua()}),Pc=Wo.extend({method:V(`notifications/message`),params:Nc}),Fc=R({hints:L(R({name:F().optional()})).optional(),costPriority:I().min(0).max(1).optional(),speedPriority:I().min(0).max(1).optional(),intelligencePriority:I().min(0).max(1).optional()}),Ic=R({mode:no([`auto`,`required`,`none`]).optional()}),Lc=R({type:V(`tool_result`),toolUseId:F().describe(`The unique identifier for the corresponding tool call.`),content:L(vc).default([]),structuredContent:R({}).loose().optional(),isError:La().optional(),_meta:B(F(),Ua()).optional()}),Rc=Za(`type`,[fc,pc,mc]),zc=Za(`type`,[fc,pc,mc,hc,Lc]),Bc=R({role:Vs,content:z([zc,L(zc)]),_meta:B(F(),Ua()).optional()}),Vc=Bo.extend({messages:L(Bc),modelPreferences:Fc.optional(),systemPrompt:F().optional(),includeContext:no([`none`,`thisServer`,`allServers`]).optional(),temperature:I().optional(),maxTokens:I().int(),stopSequences:L(F()).optional(),metadata:No.optional(),tools:L(Cc).optional(),toolChoice:Ic.optional()}),Hc=Ho.extend({method:V(`sampling/createMessage`),params:Vc}),Uc=Go.extend({model:F(),stopReason:so(no([`endTurn`,`stopSequence`,`maxTokens`]).or(F())),role:Vs,content:Rc}),Wc=Go.extend({model:F(),stopReason:so(no([`endTurn`,`stopSequence`,`maxTokens`,`toolUse`]).or(F())),role:Vs,content:z([zc,L(zc)])}),Gc=R({type:V(`boolean`),title:F().optional(),description:F().optional(),default:La().optional()}),Kc=R({type:V(`string`),title:F().optional(),description:F().optional(),minLength:I().optional(),maxLength:I().optional(),format:no([`email`,`uri`,`date`,`date-time`]).optional(),default:F().optional()}),qc=R({type:no([`number`,`integer`]),title:F().optional(),description:F().optional(),minimum:I().optional(),maximum:I().optional(),default:I().optional()}),Jc=R({type:V(`string`),title:F().optional(),description:F().optional(),enum:L(F()),default:F().optional()}),Yc=R({type:V(`string`),title:F().optional(),description:F().optional(),oneOf:L(R({const:F(),title:F()})),default:F().optional()}),Xc=z([z([R({type:V(`string`),title:F().optional(),description:F().optional(),enum:L(F()),enumNames:L(F()).optional(),default:F().optional()}),z([Jc,Yc]),z([R({type:V(`array`),title:F().optional(),description:F().optional(),minItems:I().optional(),maxItems:I().optional(),items:R({type:V(`string`),enum:L(F())}),default:L(F()).optional()}),R({type:V(`array`),title:F().optional(),description:F().optional(),minItems:I().optional(),maxItems:I().optional(),items:R({anyOf:L(R({const:F(),title:F()}))}),default:L(F()).optional()})])]),Gc,Kc,qc]),Zc=z([Bo.extend({mode:V(`form`).optional(),message:F(),requestedSchema:R({type:V(`object`),properties:B(F(),Xc),required:L(F()).optional()})}),Bo.extend({mode:V(`url`),message:F(),elicitationId:F(),url:F().url()})]),Qc=Ho.extend({method:V(`elicitation/create`),params:Zc}),$c=Uo.extend({elicitationId:F()}),el=Wo.extend({method:V(`notifications/elicitation/complete`),params:$c}),tl=Go.extend({action:no([`accept`,`decline`,`cancel`]),content:ko(e=>e===null?void 0:e,B(F(),z([F(),I(),La(),L(F())])).optional())}),nl=R({type:V(`ref/resource`),uri:F()}),rl=R({type:V(`ref/prompt`),name:F()}),il=zo.extend({ref:z([rl,nl]),argument:R({name:F(),value:F()}),context:R({arguments:B(F(),F()).optional()}).optional()}),al=Ho.extend({method:V(`completion/complete`),params:il}),ol=Go.extend({completion:Ja({values:L(F()).max(100),total:so(I().int()),hasMore:so(La())})}),sl=R({uri:F().startsWith(`file://`),name:F().optional(),_meta:B(F(),Ua()).optional()}),cl=Ho.extend({method:V(`roots/list`),params:zo.optional()}),ll=Go.extend({roots:L(sl)}),ul=Wo.extend({method:V(`notifications/roots/list_changed`),params:Uo.optional()});z([vs,ms,al,Mc,dc,cc,Gs,qs,Zs,tc,rc,Oc,wc,As,Ms,Ns,Fs]),z([as,xs,_s,ul,ks]),z([rs,Uc,Wc,tl,ll,js,Ps,Ds]),z([vs,Hc,Qc,cl,As,Ms,Ns,Fs]),z([as,xs,Pc,ac,$s,kc,xc,ks,el]),z([rs,gs,ol,bc,lc,Ks,Js,Qs,Ec,Tc,js,Ps,Ds]);var dl=class e extends Error{constructor(e,t,n){super(`MCP error ${e}: ${t}`),this.code=e,this.data=n,this.name=`McpError`}static fromError(t,n,r){if(t===$o.UrlElicitationRequired&&r){let e=r;if(e.elicitations)return new fl(e.elicitations,n)}return new e(t,n,r)}},fl=class extends dl{constructor(e,t=`URL elicitation${e.length>1?`s`:``} required`){super($o.UrlElicitationRequired,t,{elicitations:e})}get elicitations(){return this.data?.elicitations??[]}};function pl(e){return!!e._zod}function ml(e,t){return pl(e)?Me(e,t):e.safeParse(t)}function hl(e){if(!e)return;let t;if(t=pl(e)?e._zod?.def?.shape:e.shape,t){if(typeof t==`function`)try{return t()}catch{return}return t}}function gl(e){if(pl(e)){let t=e._zod?.def;if(t){if(t.value!==void 0)return t.value;if(Array.isArray(t.values)&&t.values.length>0)return t.values[0]}}let t=e._def;if(t){if(t.value!==void 0)return t.value;if(Array.isArray(t.values)&&t.values.length>0)return t.values[0]}let n=e.value;if(n!==void 0)return n}function _l(e){return e===`completed`||e===`failed`||e===`cancelled`}function vl(e){let t=hl(e)?.method;if(!t)throw Error(`Schema is missing a method literal`);let n=gl(t);if(typeof n!=`string`)throw Error(`Schema method literal must be a string`);return n}function yl(e,t){let n=ml(e,t);if(!n.success)throw n.error;return n.data}var bl=class{constructor(e){this._options=e,this._requestMessageId=0,this._requestHandlers=new Map,this._requestHandlerAbortControllers=new Map,this._notificationHandlers=new Map,this._responseHandlers=new Map,this._progressHandlers=new Map,this._timeoutInfo=new Map,this._pendingDebouncedNotifications=new Set,this._taskProgressTokens=new Map,this._requestResolvers=new Map,this.setNotificationHandler(as,e=>{this._oncancel(e)}),this.setNotificationHandler(xs,e=>{this._onprogress(e)}),this.setRequestHandler(vs,e=>({})),this._taskStore=e?.taskStore,this._taskMessageQueue=e?.taskMessageQueue,this._taskStore&&(this.setRequestHandler(As,async(e,t)=>{let n=await this._taskStore.getTask(e.params.taskId,t.sessionId);if(!n)throw new dl($o.InvalidParams,`Failed to retrieve task: Task not found`);return{...n}}),this.setRequestHandler(Ms,async(e,t)=>{let n=async()=>{let r=e.params.taskId;if(this._taskMessageQueue){let e;for(;e=await this._taskMessageQueue.dequeue(r,t.sessionId);){if(e.type===`response`||e.type===`error`){let t=e.message,n=t.id,r=this._requestResolvers.get(n);if(r)if(this._requestResolvers.delete(n),e.type===`response`)r(t);else{let e=t;r(new dl(e.error.code,e.error.message,e.error.data))}else{let t=e.type===`response`?`Response`:`Error`;this._onerror(Error(`${t} handler missing for request ${n}`))}continue}await this._transport?.send(e.message,{relatedRequestId:t.requestId})}}let i=await this._taskStore.getTask(r,t.sessionId);if(!i)throw new dl($o.InvalidParams,`Task not found: ${r}`);if(!_l(i.status))return await this._waitForTaskUpdate(r,t.signal),await n();if(_l(i.status)){let e=await this._taskStore.getTaskResult(r,t.sessionId);return this._clearTaskQueue(r),{...e,_meta:{...e._meta,[Mo]:{taskId:r}}}}return await n()};return await n()}),this.setRequestHandler(Ns,async(e,t)=>{try{let{tasks:n,nextCursor:r}=await this._taskStore.listTasks(e.params?.cursor,t.sessionId);return{tasks:n,nextCursor:r,_meta:{}}}catch(e){throw new dl($o.InvalidParams,`Failed to list tasks: ${e instanceof Error?e.message:String(e)}`)}}),this.setRequestHandler(Fs,async(e,t)=>{try{let n=await this._taskStore.getTask(e.params.taskId,t.sessionId);if(!n)throw new dl($o.InvalidParams,`Task not found: ${e.params.taskId}`);if(_l(n.status))throw new dl($o.InvalidParams,`Cannot cancel task in terminal status: ${n.status}`);await this._taskStore.updateTaskStatus(e.params.taskId,`cancelled`,`Client cancelled task execution.`,t.sessionId),this._clearTaskQueue(e.params.taskId);let r=await this._taskStore.getTask(e.params.taskId,t.sessionId);if(!r)throw new dl($o.InvalidParams,`Task not found after cancellation: ${e.params.taskId}`);return{_meta:{},...r}}catch(e){throw e instanceof dl?e:new dl($o.InvalidRequest,`Failed to cancel task: ${e instanceof Error?e.message:String(e)}`)}}))}async _oncancel(e){e.params.requestId&&this._requestHandlerAbortControllers.get(e.params.requestId)?.abort(e.params.reason)}_setupTimeout(e,t,n,r,i=!1){this._timeoutInfo.set(e,{timeoutId:setTimeout(r,t),startTime:Date.now(),timeout:t,maxTotalTimeout:n,resetTimeoutOnProgress:i,onTimeout:r})}_resetTimeout(e){let t=this._timeoutInfo.get(e);if(!t)return!1;let n=Date.now()-t.startTime;if(t.maxTotalTimeout&&n>=t.maxTotalTimeout)throw this._timeoutInfo.delete(e),dl.fromError($o.RequestTimeout,`Maximum total timeout exceeded`,{maxTotalTimeout:t.maxTotalTimeout,totalElapsed:n});return clearTimeout(t.timeoutId),t.timeoutId=setTimeout(t.onTimeout,t.timeout),!0}_cleanupTimeout(e){let t=this._timeoutInfo.get(e);t&&(clearTimeout(t.timeoutId),this._timeoutInfo.delete(e))}async connect(e){if(this._transport)throw Error(`Already connected to a transport. Call close() before connecting to a new transport, or use a separate Protocol instance per connection.`);this._transport=e;let t=this.transport?.onclose;this._transport.onclose=()=>{t?.(),this._onclose()};let n=this.transport?.onerror;this._transport.onerror=e=>{n?.(e),this._onerror(e)};let r=this._transport?.onmessage;this._transport.onmessage=(e,t)=>{r?.(e,t),Qo(e)||ts(e)?this._onresponse(e):Jo(e)?this._onrequest(e,t):Xo(e)?this._onnotification(e):this._onerror(Error(`Unknown message type: ${JSON.stringify(e)}`))},await this._transport.start()}_onclose(){let e=this._responseHandlers;this._responseHandlers=new Map,this._progressHandlers.clear(),this._taskProgressTokens.clear(),this._pendingDebouncedNotifications.clear();for(let e of this._timeoutInfo.values())clearTimeout(e.timeoutId);this._timeoutInfo.clear();for(let e of this._requestHandlerAbortControllers.values())e.abort();this._requestHandlerAbortControllers.clear();let t=dl.fromError($o.ConnectionClosed,`Connection closed`);this._transport=void 0,this.onclose?.();for(let n of e.values())n(t)}_onerror(e){this.onerror?.(e)}_onnotification(e){let t=this._notificationHandlers.get(e.method)??this.fallbackNotificationHandler;t!==void 0&&Promise.resolve().then(()=>t(e)).catch(e=>this._onerror(Error(`Uncaught error in notification handler: ${e}`)))}_onrequest(e,t){let n=this._requestHandlers.get(e.method)??this.fallbackRequestHandler,r=this._transport,i=e.params?._meta?.[Mo]?.taskId;if(n===void 0){let t={jsonrpc:`2.0`,id:e.id,error:{code:$o.MethodNotFound,message:`Method not found`}};i&&this._taskMessageQueue?this._enqueueTaskMessage(i,{type:`error`,message:t,timestamp:Date.now()},r?.sessionId).catch(e=>this._onerror(Error(`Failed to enqueue error response: ${e}`))):r?.send(t).catch(e=>this._onerror(Error(`Failed to send an error response: ${e}`)));return}let a=new AbortController;this._requestHandlerAbortControllers.set(e.id,a);let o=Vo(e.params)?e.params.task:void 0,s=this._taskStore?this.requestTaskStore(e,r?.sessionId):void 0,c={signal:a.signal,sessionId:r?.sessionId,_meta:e.params?._meta,sendNotification:async t=>{if(a.signal.aborted)return;let n={relatedRequestId:e.id};i&&(n.relatedTask={taskId:i}),await this.notification(t,n)},sendRequest:async(t,n,r)=>{if(a.signal.aborted)throw new dl($o.ConnectionClosed,`Request was cancelled`);let o={...r,relatedRequestId:e.id};i&&!o.relatedTask&&(o.relatedTask={taskId:i});let c=o.relatedTask?.taskId??i;return c&&s&&await s.updateTaskStatus(c,`input_required`),await this.request(t,n,o)},authInfo:t?.authInfo,requestId:e.id,requestInfo:t?.requestInfo,taskId:i,taskStore:s,taskRequestedTtl:o?.ttl,closeSSEStream:t?.closeSSEStream,closeStandaloneSSEStream:t?.closeStandaloneSSEStream};Promise.resolve().then(()=>{o&&this.assertTaskHandlerCapability(e.method)}).then(()=>n(e,c)).then(async t=>{if(a.signal.aborted)return;let n={result:t,jsonrpc:`2.0`,id:e.id};i&&this._taskMessageQueue?await this._enqueueTaskMessage(i,{type:`response`,message:n,timestamp:Date.now()},r?.sessionId):await r?.send(n)},async t=>{if(a.signal.aborted)return;let n={jsonrpc:`2.0`,id:e.id,error:{code:Number.isSafeInteger(t.code)?t.code:$o.InternalError,message:t.message??`Internal error`,...t.data!==void 0&&{data:t.data}}};i&&this._taskMessageQueue?await this._enqueueTaskMessage(i,{type:`error`,message:n,timestamp:Date.now()},r?.sessionId):await r?.send(n)}).catch(e=>this._onerror(Error(`Failed to send response: ${e}`))).finally(()=>{this._requestHandlerAbortControllers.get(e.id)===a&&this._requestHandlerAbortControllers.delete(e.id)})}_onprogress(e){let{progressToken:t,...n}=e.params,r=Number(t),i=this._progressHandlers.get(r);if(!i){this._onerror(Error(`Received a progress notification for an unknown token: ${JSON.stringify(e)}`));return}let a=this._responseHandlers.get(r),o=this._timeoutInfo.get(r);if(o&&a&&o.resetTimeoutOnProgress)try{this._resetTimeout(r)}catch(e){this._responseHandlers.delete(r),this._progressHandlers.delete(r),this._cleanupTimeout(r),a(e);return}i(n)}_onresponse(e){let t=Number(e.id),n=this._requestResolvers.get(t);if(n){this._requestResolvers.delete(t),Qo(e)?n(e):n(new dl(e.error.code,e.error.message,e.error.data));return}let r=this._responseHandlers.get(t);if(r===void 0){this._onerror(Error(`Received a response for an unknown message ID: ${JSON.stringify(e)}`));return}this._responseHandlers.delete(t),this._cleanupTimeout(t);let i=!1;if(Qo(e)&&e.result&&typeof e.result==`object`){let n=e.result;if(n.task&&typeof n.task==`object`){let e=n.task;typeof e.taskId==`string`&&(i=!0,this._taskProgressTokens.set(e.taskId,t))}}i||this._progressHandlers.delete(t),Qo(e)?r(e):r(dl.fromError(e.error.code,e.error.message,e.error.data))}get transport(){return this._transport}async close(){await this._transport?.close()}async*requestStream(e,t,n){let{task:r}=n??{};if(!r){try{yield{type:`result`,result:await this.request(e,t,n)}}catch(e){yield{type:`error`,error:e instanceof dl?e:new dl($o.InternalError,String(e))}}return}let i;try{let r=await this.request(e,Ds,n);if(r.task)i=r.task.taskId,yield{type:`taskCreated`,task:r.task};else throw new dl($o.InternalError,`Task creation did not return a task`);for(;;){let e=await this.getTask({taskId:i},n);if(yield{type:`taskStatus`,task:e},_l(e.status)){e.status===`completed`?yield{type:`result`,result:await this.getTaskResult({taskId:i},t,n)}:e.status===`failed`?yield{type:`error`,error:new dl($o.InternalError,`Task ${i} failed`)}:e.status===`cancelled`&&(yield{type:`error`,error:new dl($o.InternalError,`Task ${i} was cancelled`)});return}if(e.status===`input_required`){yield{type:`result`,result:await this.getTaskResult({taskId:i},t,n)};return}let r=e.pollInterval??this._options?.defaultTaskPollInterval??1e3;await new Promise(e=>setTimeout(e,r)),n?.signal?.throwIfAborted()}}catch(e){yield{type:`error`,error:e instanceof dl?e:new dl($o.InternalError,String(e))}}}request(e,t,n){let{relatedRequestId:r,resumptionToken:i,onresumptiontoken:a,task:o,relatedTask:s}=n??{};return new Promise((c,l)=>{let u=e=>{l(e)};if(!this._transport){u(Error(`Not connected`));return}if(this._options?.enforceStrictCapabilities===!0)try{this.assertCapabilityForMethod(e.method),o&&this.assertTaskCapability(e.method)}catch(e){u(e);return}n?.signal?.throwIfAborted();let d=this._requestMessageId++,f={...e,jsonrpc:`2.0`,id:d};n?.onprogress&&(this._progressHandlers.set(d,n.onprogress),f.params={...e.params,_meta:{...e.params?._meta||{},progressToken:d}}),o&&(f.params={...f.params,task:o}),s&&(f.params={...f.params,_meta:{...f.params?._meta||{},[Mo]:s}});let p=e=>{this._responseHandlers.delete(d),this._progressHandlers.delete(d),this._cleanupTimeout(d),this._transport?.send({jsonrpc:`2.0`,method:`notifications/cancelled`,params:{requestId:d,reason:String(e)}},{relatedRequestId:r,resumptionToken:i,onresumptiontoken:a}).catch(e=>this._onerror(Error(`Failed to send cancellation: ${e}`))),l(e instanceof dl?e:new dl($o.RequestTimeout,String(e)))};this._responseHandlers.set(d,e=>{if(!n?.signal?.aborted){if(e instanceof Error)return l(e);try{let n=ml(t,e.result);n.success?c(n.data):l(n.error)}catch(e){l(e)}}}),n?.signal?.addEventListener(`abort`,()=>{p(n?.signal?.reason)});let m=n?.timeout??6e4;this._setupTimeout(d,m,n?.maxTotalTimeout,()=>p(dl.fromError($o.RequestTimeout,`Request timed out`,{timeout:m})),n?.resetTimeoutOnProgress??!1);let h=s?.taskId;h?(this._requestResolvers.set(d,e=>{let t=this._responseHandlers.get(d);t?t(e):this._onerror(Error(`Response handler missing for side-channeled request ${d}`))}),this._enqueueTaskMessage(h,{type:`request`,message:f,timestamp:Date.now()}).catch(e=>{this._cleanupTimeout(d),l(e)})):this._transport.send(f,{relatedRequestId:r,resumptionToken:i,onresumptiontoken:a}).catch(e=>{this._cleanupTimeout(d),l(e)})})}async getTask(e,t){return this.request({method:`tasks/get`,params:e},js,t)}async getTaskResult(e,t,n){return this.request({method:`tasks/result`,params:e},t,n)}async listTasks(e,t){return this.request({method:`tasks/list`,params:e},Ps,t)}async cancelTask(e,t){return this.request({method:`tasks/cancel`,params:e},Is,t)}async notification(e,t){if(!this._transport)throw Error(`Not connected`);this.assertNotificationCapability(e.method);let n=t?.relatedTask?.taskId;if(n){let r={...e,jsonrpc:`2.0`,params:{...e.params,_meta:{...e.params?._meta||{},[Mo]:t.relatedTask}}};await this._enqueueTaskMessage(n,{type:`notification`,message:r,timestamp:Date.now()});return}if((this._options?.debouncedNotificationMethods??[]).includes(e.method)&&!e.params&&!t?.relatedRequestId&&!t?.relatedTask){if(this._pendingDebouncedNotifications.has(e.method))return;this._pendingDebouncedNotifications.add(e.method),Promise.resolve().then(()=>{if(this._pendingDebouncedNotifications.delete(e.method),!this._transport)return;let n={...e,jsonrpc:`2.0`};t?.relatedTask&&(n={...n,params:{...n.params,_meta:{...n.params?._meta||{},[Mo]:t.relatedTask}}}),this._transport?.send(n,t).catch(e=>this._onerror(e))});return}let r={...e,jsonrpc:`2.0`};t?.relatedTask&&(r={...r,params:{...r.params,_meta:{...r.params?._meta||{},[Mo]:t.relatedTask}}}),await this._transport.send(r,t)}setRequestHandler(e,t){let n=vl(e);this.assertRequestHandlerCapability(n),this._requestHandlers.set(n,(n,r)=>{let i=yl(e,n);return Promise.resolve(t(i,r))})}removeRequestHandler(e){this._requestHandlers.delete(e)}assertCanSetRequestHandler(e){if(this._requestHandlers.has(e))throw Error(`A request handler for ${e} already exists, which would be overridden`)}setNotificationHandler(e,t){let n=vl(e);this._notificationHandlers.set(n,n=>{let r=yl(e,n);return Promise.resolve(t(r))})}removeNotificationHandler(e){this._notificationHandlers.delete(e)}_cleanupTaskProgressHandler(e){let t=this._taskProgressTokens.get(e);t!==void 0&&(this._progressHandlers.delete(t),this._taskProgressTokens.delete(e))}async _enqueueTaskMessage(e,t,n){if(!this._taskStore||!this._taskMessageQueue)throw Error(`Cannot enqueue task message: taskStore and taskMessageQueue are not configured`);let r=this._options?.maxTaskQueueSize;await this._taskMessageQueue.enqueue(e,t,n,r)}async _clearTaskQueue(e,t){if(this._taskMessageQueue){let n=await this._taskMessageQueue.dequeueAll(e,t);for(let t of n)if(t.type===`request`&&Jo(t.message)){let n=t.message.id,r=this._requestResolvers.get(n);r?(r(new dl($o.InternalError,`Task cancelled or completed`)),this._requestResolvers.delete(n)):this._onerror(Error(`Resolver missing for request ${n} during task ${e} cleanup`))}}}async _waitForTaskUpdate(e,t){let n=this._options?.defaultTaskPollInterval??1e3;try{let t=await this._taskStore?.getTask(e);t?.pollInterval&&(n=t.pollInterval)}catch{}return new Promise((e,r)=>{if(t.aborted){r(new dl($o.InvalidRequest,`Request cancelled`));return}let i=setTimeout(e,n);t.addEventListener(`abort`,()=>{clearTimeout(i),r(new dl($o.InvalidRequest,`Request cancelled`))},{once:!0})})}requestTaskStore(e,t){let n=this._taskStore;if(!n)throw Error(`No task store configured`);return{createTask:async r=>{if(!e)throw Error(`No request provided`);return await n.createTask(r,e.id,{method:e.method,params:e.params},t)},getTask:async e=>{let r=await n.getTask(e,t);if(!r)throw new dl($o.InvalidParams,`Failed to retrieve task: Task not found`);return r},storeTaskResult:async(e,r,i)=>{await n.storeTaskResult(e,r,i,t);let a=await n.getTask(e,t);if(a){let t=ks.parse({method:`notifications/tasks/status`,params:a});await this.notification(t),_l(a.status)&&this._cleanupTaskProgressHandler(e)}},getTaskResult:e=>n.getTaskResult(e,t),updateTaskStatus:async(e,r,i)=>{let a=await n.getTask(e,t);if(!a)throw new dl($o.InvalidParams,`Task \"${e}\" not found - it may have been cleaned up`);if(_l(a.status))throw new dl($o.InvalidParams,`Cannot update task \"${e}\" from terminal status \"${a.status}\" to \"${r}\". Terminal states (completed, failed, cancelled) cannot transition to other states.`);await n.updateTaskStatus(e,r,i,t);let o=await n.getTask(e,t);if(o){let t=ks.parse({method:`notifications/tasks/status`,params:o});await this.notification(t),_l(o.status)&&this._cleanupTaskProgressHandler(e)}},listTasks:e=>n.listTasks(e,t)}}},xl=class extends bl{_registeredMethods=new Set;_eventSlots=new Map;onEventDispatch(e,t){}_ensureEventSlot(e){let t=this._eventSlots.get(e);if(!t){let n=this.eventSchemas[e];if(!n)throw Error(`Unknown event: ${String(e)}`);t={listeners:[]},this._eventSlots.set(e,t);let r=n.shape.method.value;this._registeredMethods.add(r);let i=t;super.setNotificationHandler(n,t=>{let n=t.params;this.onEventDispatch(e,n),i.onHandler?.(n);for(let e of[...i.listeners])e(n)})}return t}setEventHandler(e,t){let n=this._ensureEventSlot(e);n.onHandler&&t&&console.warn(`[MCP Apps] on${String(e)} handler replaced. Use addEventListener(\"${String(e)}\", …) to add multiple listeners without replacing.`),n.onHandler=t}getEventHandler(e){return this._eventSlots.get(e)?.onHandler}addEventListener(e,t){this._ensureEventSlot(e).listeners.push(t)}removeEventListener(e,t){let n=this._eventSlots.get(e);if(!n)return;let r=n.listeners.indexOf(t);r!==-1&&n.listeners.splice(r,1)}setRequestHandler=(e,t)=>{this._assertMethodNotRegistered(e,`setRequestHandler`),super.setRequestHandler(e,t)};setNotificationHandler=(e,t)=>{this._assertMethodNotRegistered(e,`setNotificationHandler`),super.setNotificationHandler(e,t)};warnIfRequestHandlerReplaced(e,t,n){t&&n&&console.warn(`[MCP Apps] ${e} handler replaced. Previous handler will no longer be called.`)}replaceRequestHandler=(e,t)=>{let n=e.shape.method.value;this._registeredMethods.add(n),super.setRequestHandler(e,t)};_assertMethodNotRegistered(e,t){let n=e.shape.method.value;if(this._registeredMethods.has(n))throw Error(`Handler for \"${n}\" already registered (via ${t}). Use addEventListener() to attach multiple listeners, or the on* setter for replace semantics.`);this._registeredMethods.add(n)}},Sl=`2026-01-26`,Cl=class{eventTarget;eventSource;messageListener;constructor(e=window.parent,t){this.eventTarget=e,this.eventSource=t,this.messageListener=e=>{if(t&&e.source!==this.eventSource){console.debug(`Ignoring message from unknown source`,e);return}let n=ns.safeParse(e.data);n.success?(console.debug(`Parsed message`,n.data),this.onmessage?.(n.data)):e.data?.jsonrpc===`2.0`?(console.error(`Failed to parse message`,n.error.message,e),this.onerror?.(Error(`Invalid JSON-RPC message received: `+n.error.message))):console.debug(`Ignoring non-JSON-RPC message`,n.error.message,e)}}async start(){window.addEventListener(`message`,this.messageListener)}async send(e,t){e.method!==`ui/notifications/tool-input-partial`&&console.debug(`Sending message`,e),this.eventTarget.postMessage(e,`*`)}async close(){window.removeEventListener(`message`,this.messageListener),this.onclose?.()}onclose;onerror;onmessage;sessionId;setProtocolVersion},wl=z([V(`light`),V(`dark`)]).describe(`Color theme preference for the host environment.`),Tl=z([V(`inline`),V(`fullscreen`),V(`pip`)]).describe(`Display mode for UI presentation.`),El=B(z([V(`--color-background-primary`),V(`--color-background-secondary`),V(`--color-background-tertiary`),V(`--color-background-inverse`),V(`--color-background-ghost`),V(`--color-background-info`),V(`--color-background-danger`),V(`--color-background-success`),V(`--color-background-warning`),V(`--color-background-disabled`),V(`--color-text-primary`),V(`--color-text-secondary`),V(`--color-text-tertiary`),V(`--color-text-inverse`),V(`--color-text-ghost`),V(`--color-text-info`),V(`--color-text-danger`),V(`--color-text-success`),V(`--color-text-warning`),V(`--color-text-disabled`),V(`--color-border-primary`),V(`--color-border-secondary`),V(`--color-border-tertiary`),V(`--color-border-inverse`),V(`--color-border-ghost`),V(`--color-border-info`),V(`--color-border-danger`),V(`--color-border-success`),V(`--color-border-warning`),V(`--color-border-disabled`),V(`--color-ring-primary`),V(`--color-ring-secondary`),V(`--color-ring-inverse`),V(`--color-ring-info`),V(`--color-ring-danger`),V(`--color-ring-success`),V(`--color-ring-warning`),V(`--font-sans`),V(`--font-mono`),V(`--font-weight-normal`),V(`--font-weight-medium`),V(`--font-weight-semibold`),V(`--font-weight-bold`),V(`--font-text-xs-size`),V(`--font-text-sm-size`),V(`--font-text-md-size`),V(`--font-text-lg-size`),V(`--font-heading-xs-size`),V(`--font-heading-sm-size`),V(`--font-heading-md-size`),V(`--font-heading-lg-size`),V(`--font-heading-xl-size`),V(`--font-heading-2xl-size`),V(`--font-heading-3xl-size`),V(`--font-text-xs-line-height`),V(`--font-text-sm-line-height`),V(`--font-text-md-line-height`),V(`--font-text-lg-line-height`),V(`--font-heading-xs-line-height`),V(`--font-heading-sm-line-height`),V(`--font-heading-md-line-height`),V(`--font-heading-lg-line-height`),V(`--font-heading-xl-line-height`),V(`--font-heading-2xl-line-height`),V(`--font-heading-3xl-line-height`),V(`--border-radius-xs`),V(`--border-radius-sm`),V(`--border-radius-md`),V(`--border-radius-lg`),V(`--border-radius-xl`),V(`--border-radius-full`),V(`--border-width-regular`),V(`--shadow-hairline`),V(`--shadow-sm`),V(`--shadow-md`),V(`--shadow-lg`)]).describe(`CSS variable keys available to MCP apps for theming.`).describe(`Style variables for theming MCP apps.\n\nIndividual style keys are optional - hosts may provide any subset of these values.\nValues are strings containing CSS values (colors, sizes, font stacks, etc.).\n\nNote: This type uses \\`Record<K, string | undefined>\\` rather than \\`Partial<Record<K, string>>\\`\nfor compatibility with Zod schema generation. Both are functionally equivalent for validation.`),z([F(),za()]).describe(`Style variables for theming MCP apps.\n\nIndividual style keys are optional - hosts may provide any subset of these values.\nValues are strings containing CSS values (colors, sizes, font stacks, etc.).\n\nNote: This type uses \\`Record<K, string | undefined>\\` rather than \\`Partial<Record<K, string>>\\`\nfor compatibility with Zod schema generation. Both are functionally equivalent for validation.`)).describe(`Style variables for theming MCP apps.\n\nIndividual style keys are optional - hosts may provide any subset of these values.\nValues are strings containing CSS values (colors, sizes, font stacks, etc.).\n\nNote: This type uses \\`Record<K, string | undefined>\\` rather than \\`Partial<Record<K, string>>\\`\nfor compatibility with Zod schema generation. Both are functionally equivalent for validation.`);R({method:V(`ui/open-link`),params:R({url:F().describe(`URL to open in the host's browser`)})});var Dl=R({isError:La().optional().describe(`True if the host failed to open the URL (e.g., due to security policy).`)}).passthrough(),Ol=R({isError:La().optional().describe(`True if the download failed (e.g., user cancelled or host denied).`)}).passthrough(),kl=R({isError:La().optional().describe(`True if the host rejected or failed to deliver the message.`)}).passthrough();R({method:V(`ui/notifications/sandbox-proxy-ready`),params:R({})});var Al=R({connectDomains:L(F()).optional().describe(`Origins for network requests (fetch/XHR/WebSocket).\n\n- Maps to CSP \\`connect-src\\` directive\n- Empty or omitted → no network connections (secure default)`),resourceDomains:L(F()).optional().describe(\"Origins for static resources (images, scripts, stylesheets, fonts, media).\\n\\n- Maps to CSP `img-src`, `script-src`, `style-src`, `font-src`, `media-src` directives\\n- Wildcard subdomains supported: `https://*.example.com`\\n- Empty or omitted → no network resources (secure default)\"),frameDomains:L(F()).optional().describe(\"Origins for nested iframes.\\n\\n- Maps to CSP `frame-src` directive\\n- Empty or omitted → no nested iframes allowed (`frame-src 'none'`)\"),baseUriDomains:L(F()).optional().describe(\"Allowed base URIs for the document.\\n\\n- Maps to CSP `base-uri` directive\\n- Empty or omitted → only same origin allowed (`base-uri 'self'`)\")}),jl=R({camera:R({}).optional().describe(`Request camera access.\n\nMaps to Permission Policy \\`camera\\` feature.`),microphone:R({}).optional().describe(`Request microphone access.\n\nMaps to Permission Policy \\`microphone\\` feature.`),geolocation:R({}).optional().describe(`Request geolocation access.\n\nMaps to Permission Policy \\`geolocation\\` feature.`),clipboardWrite:R({}).optional().describe(`Request clipboard write access.\n\nMaps to Permission Policy \\`clipboard-write\\` feature.`)});R({method:V(`ui/notifications/size-changed`),params:R({width:I().optional().describe(`New width in pixels.`),height:I().optional().describe(`New height in pixels.`)})});var Ml=R({method:V(`ui/notifications/tool-input`),params:R({arguments:B(F(),Ua().describe(`Complete tool call arguments as key-value pairs.`)).optional().describe(`Complete tool call arguments as key-value pairs.`)})}),Nl=R({method:V(`ui/notifications/tool-input-partial`),params:R({arguments:B(F(),Ua().describe(`Partial tool call arguments (incomplete, may change).`)).optional().describe(`Partial tool call arguments (incomplete, may change).`)})}),Pl=R({method:V(`ui/notifications/tool-cancelled`),params:R({reason:F().optional().describe(`Optional reason for the cancellation (e.g., \"user action\", \"timeout\").`)})}),Fl=R({fonts:F().optional()}),Il=R({variables:El.optional().describe(`CSS variables for theming the app.`),css:Fl.optional().describe(`CSS blocks that apps can inject.`)}),Ll=R({method:V(`ui/resource-teardown`),params:R({})});B(F(),Ua());var Rl=R({text:R({}).optional().describe(`Host supports text content blocks.`),image:R({}).optional().describe(`Host supports image content blocks.`),audio:R({}).optional().describe(`Host supports audio content blocks.`),resource:R({}).optional().describe(`Host supports resource content blocks.`),resourceLink:R({}).optional().describe(`Host supports resource link content blocks.`),structuredContent:R({}).optional().describe(`Host supports structured content.`)});R({method:V(`ui/notifications/request-teardown`),params:R({}).optional()});var zl=R({experimental:R({}).optional().describe(`Experimental features (structure TBD).`),openLinks:R({}).optional().describe(`Host supports opening external URLs.`),downloadFile:R({}).optional().describe(`Host supports file downloads via ui/download-file.`),serverTools:R({listChanged:La().optional().describe(`Host supports tools/list_changed notifications.`)}).optional().describe(`Host can proxy tool calls to the MCP server.`),serverResources:R({listChanged:La().optional().describe(`Host supports resources/list_changed notifications.`)}).optional().describe(`Host can proxy resource reads to the MCP server.`),logging:R({}).optional().describe(`Host accepts log messages.`),sandbox:R({permissions:jl.optional().describe(`Permissions granted by the host (camera, microphone, geolocation).`),csp:Al.optional().describe(`CSP domains approved by the host.`)}).optional().describe(`Sandbox configuration applied by the host.`),updateModelContext:Rl.optional().describe(`Host accepts context updates (ui/update-model-context) to be included in the model's context for future turns.`),message:Rl.optional().describe(`Host supports receiving content messages (ui/message) from the view.`)}),Bl=R({experimental:R({}).optional().describe(`Experimental features (structure TBD).`),tools:R({listChanged:La().optional().describe(`App supports tools/list_changed notifications.`)}).optional().describe(`App exposes MCP-style tools that the host can call.`),availableDisplayModes:L(Tl).optional().describe(`Display modes the app supports.`)});R({method:V(`ui/notifications/initialized`),params:R({}).optional()}),R({csp:Al.optional().describe(`Content Security Policy configuration for UI resources.`),permissions:jl.optional().describe(`Sandbox permissions requested by the UI resource.`),domain:F().optional().describe(`Dedicated origin for view sandbox.\n\nUseful when views need stable, dedicated origins for OAuth callbacks, CORS policies, or API key allowlists.\n\n**Host-dependent:** The format and validation rules for this field are determined by each host. Servers MUST consult host-specific documentation for the expected domain format. Common patterns include:\n- Hash-based subdomains (e.g., \\`{hash}.claudemcpcontent.com\\`)\n- URL-derived subdomains (e.g., \\`www-example-com.oaiusercontent.com\\`)\n\nIf omitted, host uses default sandbox origin (typically per-conversation).`),prefersBorder:La().optional().describe(`Visual boundary preference - true if view prefers a visible border.\n\nBoolean requesting whether a visible border and background is provided by the host. Specifying an explicit value for this is recommended because hosts' defaults may vary.\n\n- \\`true\\`: request visible border + background\n- \\`false\\`: request no visible border + background\n- omitted: host decides border`)}),R({method:V(`ui/request-display-mode`),params:R({mode:Tl.describe(`The display mode being requested.`)})});var Vl=R({mode:Tl.describe(`The display mode that was actually set. May differ from requested if not supported.`)}).passthrough(),Hl=z([V(`model`),V(`app`)]).describe(`Tool visibility scope - who can access the tool.`);R({resourceUri:F().optional(),visibility:L(Hl).optional().describe(`Who can access this tool. Default: [\"model\", \"app\"]\n- \"model\": Tool visible to and callable by the agent\n- \"app\": Tool callable by the app from this server only`)}),R({mimeTypes:L(F()).optional().describe('Array of supported MIME types for UI resources.\\nMust include `\"text/html;profile=mcp-app\"` for MCP Apps support.')}),R({method:V(`ui/download-file`),params:R({contents:L(z([gc,_c])).describe(`Resource contents to download — embedded (inline data) or linked (host fetches). Uses standard MCP resource types.`)})}),R({method:V(`ui/message`),params:R({role:V(`user`).describe(`Message role, currently only \"user\" is supported.`),content:L(vc).describe(`Message content blocks (text, image, etc.).`)})}),R({method:V(`ui/notifications/sandbox-resource-ready`),params:R({html:F().describe(`HTML content to load into the inner iframe.`),sandbox:F().optional().describe(`Optional override for the inner iframe's sandbox attribute.`),csp:Al.optional().describe(`CSP configuration from resource metadata.`),permissions:jl.optional().describe(`Sandbox permissions from resource metadata.`)})});var Ul=R({method:V(`ui/notifications/tool-result`),params:Ec.describe(`Standard MCP tool execution result.`)}),Wl=R({toolInfo:R({id:Ko.optional().describe(`JSON-RPC id of the tools/call request.`),tool:Cc.describe(`Tool definition including name, inputSchema, etc.`)}).optional().describe(`Metadata of the tool call that instantiated this App.`),theme:wl.optional().describe(`Current color theme preference.`),styles:Il.optional().describe(`Style configuration for theming the app.`),displayMode:Tl.optional().describe(`How the UI is currently displayed.`),availableDisplayModes:L(Tl).optional().describe(`Display modes the host supports.`),containerDimensions:z([R({height:I().describe(`Fixed container height in pixels.`)}),R({maxHeight:z([I(),za()]).optional().describe(`Maximum container height in pixels.`)})]).and(z([R({width:I().describe(`Fixed container width in pixels.`)}),R({maxWidth:z([I(),za()]).optional().describe(`Maximum container width in pixels.`)})])).optional().describe(`Container dimensions. Represents the dimensions of the iframe or other\ncontainer holding the app. Specify either width or maxWidth, and either height or maxHeight.`),locale:F().optional().describe(`User's language and region preference in BCP 47 format.`),timeZone:F().optional().describe(`User's timezone in IANA format.`),userAgent:F().optional().describe(`Host application identifier.`),platform:z([V(`web`),V(`desktop`),V(`mobile`)]).optional().describe(`Platform type for responsive design decisions.`),deviceCapabilities:R({touch:La().optional().describe(`Whether the device supports touch input.`),hover:La().optional().describe(`Whether the device supports hover interactions.`)}).optional().describe(`Device input capabilities.`),safeAreaInsets:R({top:I().describe(`Top safe area inset in pixels.`),right:I().describe(`Right safe area inset in pixels.`),bottom:I().describe(`Bottom safe area inset in pixels.`),left:I().describe(`Left safe area inset in pixels.`)}).optional().describe(`Mobile safe area boundaries in pixels.`)}).passthrough(),Gl=R({method:V(`ui/notifications/host-context-changed`),params:Wl.describe(`Partial context update containing only changed fields.`)});R({method:V(`ui/update-model-context`),params:R({content:L(vc).optional().describe(`Context content blocks (text, image, etc.).`),structuredContent:B(F(),Ua().describe(`Structured content for machine-readable context data.`)).optional().describe(`Structured content for machine-readable context data.`)})}),R({method:V(`ui/initialize`),params:R({appInfo:cs.describe(`App identification (name and version).`),appCapabilities:Bl.describe(`Features and capabilities this app provides.`),protocolVersion:F().describe(`Protocol version this app supports.`)})});var Kl=R({protocolVersion:F().describe(`Negotiated protocol version string (e.g., \"2025-11-21\").`),hostInfo:cs.describe(`Host application identification and version.`),hostCapabilities:zl.describe(`Features and capabilities provided by the host.`),hostContext:Wl.describe(`Rich context about the host environment.`)}).passthrough(),ql=class extends xl{_appInfo;_capabilities;options;_hostCapabilities;_hostInfo;_hostContext;eventSchemas={toolinput:Ml,toolinputpartial:Nl,toolresult:Ul,toolcancelled:Pl,hostcontextchanged:Gl};onEventDispatch(e,t){e===`hostcontextchanged`&&(this._hostContext={...this._hostContext,...t})}constructor(e,t={},n={autoResize:!0}){super(n),this._appInfo=e,this._capabilities=t,this.options=n,this.setRequestHandler(vs,e=>(console.log(`Received ping:`,e.params),{})),this.setEventHandler(`hostcontextchanged`,void 0)}getHostCapabilities(){return this._hostCapabilities}getHostVersion(){return this._hostInfo}getHostContext(){return this._hostContext}get ontoolinput(){return this.getEventHandler(`toolinput`)}set ontoolinput(e){this.setEventHandler(`toolinput`,e)}get ontoolinputpartial(){return this.getEventHandler(`toolinputpartial`)}set ontoolinputpartial(e){this.setEventHandler(`toolinputpartial`,e)}get ontoolresult(){return this.getEventHandler(`toolresult`)}set ontoolresult(e){this.setEventHandler(`toolresult`,e)}get ontoolcancelled(){return this.getEventHandler(`toolcancelled`)}set ontoolcancelled(e){this.setEventHandler(`toolcancelled`,e)}get onhostcontextchanged(){return this.getEventHandler(`hostcontextchanged`)}set onhostcontextchanged(e){this.setEventHandler(`hostcontextchanged`,e)}_onteardown;get onteardown(){return this._onteardown}set onteardown(e){this.warnIfRequestHandlerReplaced(`onteardown`,this._onteardown,e),this._onteardown=e,this.replaceRequestHandler(Ll,(e,t)=>{if(!this._onteardown)throw Error(`No onteardown handler set`);return this._onteardown(e.params,t)})}_oncalltool;get oncalltool(){return this._oncalltool}set oncalltool(e){this.warnIfRequestHandlerReplaced(`oncalltool`,this._oncalltool,e),this._oncalltool=e,this.replaceRequestHandler(Oc,(e,t)=>{if(!this._oncalltool)throw Error(`No oncalltool handler set`);return this._oncalltool(e.params,t)})}_onlisttools;get onlisttools(){return this._onlisttools}set onlisttools(e){this.warnIfRequestHandlerReplaced(`onlisttools`,this._onlisttools,e),this._onlisttools=e,this.replaceRequestHandler(wc,(e,t)=>{if(!this._onlisttools)throw Error(`No onlisttools handler set`);return this._onlisttools(e.params,t)})}assertCapabilityForMethod(e){}assertRequestHandlerCapability(e){switch(e){case`tools/call`:case`tools/list`:if(!this._capabilities.tools)throw Error(`Client does not support tool capability (required for ${e})`);return;case`ping`:case`ui/resource-teardown`:return;default:throw Error(`No handler for method ${e} registered`)}}assertNotificationCapability(e){}assertTaskCapability(e){throw Error(`Tasks are not supported in MCP Apps`)}assertTaskHandlerCapability(e){throw Error(`Task handlers are not supported in MCP Apps`)}async callServerTool(e,t){if(typeof e==`string`)throw Error(`callServerTool() expects an object as its first argument, but received a string (\"${e}\"). Did you mean: callServerTool({ name: \"${e}\", arguments: { ... } })?`);return await this.request({method:`tools/call`,params:e},Ec,t)}async readServerResource(e,t){return await this.request({method:`resources/read`,params:e},Qs,t)}async listServerResources(e,t){return await this.request({method:`resources/list`,params:e},Ks,t)}sendMessage(e,t){return this.request({method:`ui/message`,params:e},kl,t)}sendLog(e){return this.notification({method:`notifications/message`,params:e})}updateModelContext(e,t){return this.request({method:`ui/update-model-context`,params:e},rs,t)}openLink(e,t){return this.request({method:`ui/open-link`,params:e},Dl,t)}sendOpenLink=this.openLink;downloadFile(e,t){return this.request({method:`ui/download-file`,params:e},Ol,t)}requestTeardown(e={}){return this.notification({method:`ui/notifications/request-teardown`,params:e})}requestDisplayMode(e,t){return this.request({method:`ui/request-display-mode`,params:e},Vl,t)}sendSizeChanged(e){return this.notification({method:`ui/notifications/size-changed`,params:e})}setupSizeChangedNotifications(){let e=!1,t=0,n=0,r=()=>{e||(e=!0,requestAnimationFrame(()=>{e=!1;let r=document.documentElement,i=r.style.height;r.style.height=`max-content`;let a=Math.ceil(r.getBoundingClientRect().height);r.style.height=i;let o=Math.ceil(window.innerWidth);(o!==t||a!==n)&&(t=o,n=a,this.sendSizeChanged({width:o,height:a}))}))};r();let i=new ResizeObserver(r);return i.observe(document.documentElement),i.observe(document.body),()=>i.disconnect()}async connect(e=new Cl(window.parent,window.parent),t){if(this.transport)throw Error(`App is already connected. Call close() before connecting again.`);await super.connect(e);try{let e=await this.request({method:`ui/initialize`,params:{appCapabilities:this._capabilities,appInfo:this._appInfo,protocolVersion:Sl}},Kl,t);if(e===void 0)throw Error(`Server sent invalid initialize result: ${e}`);this._hostCapabilities=e.hostCapabilities,this._hostInfo=e.hostInfo,this._hostContext=e.hostContext,await this.notification({method:`ui/notifications/initialized`}),this.options?.autoResize&&this.setupSizeChangedNotifications()}catch(e){throw this.close(),e}}};function Jl({appInfo:e,capabilities:t,onAppCreated:n}){let[r,i]=(0,Ao.useState)(null),[a,o]=(0,Ao.useState)(!1),[s,c]=(0,Ao.useState)(null);return(0,Ao.useEffect)(()=>{let r=!0;async function a(){try{let a=new Cl(window.parent,window.parent),s=new ql(e,t);n?.(s),await s.connect(a),r&&(i(s),o(!0),c(null))}catch(e){r&&(i(null),o(!1),c(e instanceof Error?e:Error(`Failed to connect`)))}}return a(),()=>{r=!1}},[]),{app:r,isConnected:a,error:s}}var Yl,Xl=o((()=>{Yl=(e,t,n)=>{let r=t.lastIndexOf(`?`),i=e[r===-1||r<t.lastIndexOf(`/`)?t:t.slice(0,r)];return i?typeof i==`function`?i():Promise.resolve(i):new Promise((e,r)=>{(typeof queueMicrotask==`function`?queueMicrotask:setTimeout)(r.bind(null,Error(`Unknown variable dynamic import: `+t+(t.split(`/`).length===n?``:`. Note that variables only represent file names one level deep.`))))})}})),Zl=c({default:()=>Ql}),Ql,$l=o((()=>{Ql={\"analysis.modes.query.label\":`Query`,\"analysis.modes.query.description\":`Standard analysis (single or multi-query)`,\"analysis.modes.funnel.label\":`Funnel`,\"analysis.modes.funnel.description\":`Sequential conversion analysis`,\"analysis.modes.flow.label\":`Flow`,\"analysis.modes.flow.description\":`Bidirectional path analysis with Sankey visualisation`,\"analysis.modes.retention.label\":`Retention`,\"analysis.modes.retention.description\":`Cohort-based retention analysis over time periods`,\"analysis.ai.title\":`AI Query Generator`,\"analysis.ai.generating\":`Generating...`,\"analysis.ai.placeholder\":`Describe your query in natural language... (e.g., 'Show total sales by month for the last year')`,\"analysis.ai.shortcutHint\":`Press Enter to generate, Shift+Enter for new line`,\"analysis.ai.successMessage\":`Query generated and loaded! Check the results below, then click Accept to keep or Cancel to revert.`,\"analysis.ai.button.accept\":`Accept`,\"analysis.ai.button.cancel\":`Cancel`,\"analysis.ai.button.close\":`Close`,\"analysis.ai.button.generate\":`Generate`,\"analysis.ai.button.generating\":`Generating...`,\"analysis.sections.metrics\":`Metrics`,\"analysis.sections.breakdown\":`Breakdown`,\"analysis.sections.dimensions\":`Dimensions`,\"analysis.sections.filters\":`Filter`,\"analysis.sections.limit\":`Limit`,\"analysis.tabs.query\":`Query`,\"analysis.tabs.chart\":`Chart`,\"analysis.tabs.chartTitle\":`Chart configuration`,\"analysis.tabs.chartDisabled\":`Add metrics to configure chart`,\"analysis.tabs.display\":`Display`,\"analysis.tabs.displayTitle\":`Display options`,\"analysis.tabs.displayDisabled\":`Add metrics to configure display`,\"analysis.multiQuery.removeQuery\":`Remove query`,\"analysis.multiQuery.addQuery\":`Add new query`,\"analysis.multiQuery.addAnother\":`Add another query`,\"analysis.multiQuery.mergeExplanation\":`In merge mode, dimensions are shared from Q1.`,\"analysis.multiQuery.switchToSeparate\":`Switch to separate series`,\"analysis.mergeStrategy.concat\":`Separate series`,\"analysis.mergeStrategy.merge\":`Merge by dimension`,\"analysis.mergeStrategy.funnel\":`Funnel`,\"analysis.placeholders.addMetrics\":`Add metrics to generate SQL`,\"analysis.placeholders.hoverField\":`Hover over a field to see details`,\"analysis.placeholders.noData\":`No data available`,\"common.actions.accept\":`Accept`,\"common.actions.cancel\":`Cancel`,\"common.actions.delete\":`Delete`,\"common.actions.close\":`Close`,\"common.actions.edit\":`Edit`,\"common.actions.save\":`Save`,\"common.actions.copy\":`Copy`,\"common.actions.duplicate\":`Duplicate`,\"common.actions.refresh\":`Refresh`,\"common.actions.confirm\":`Confirm`,\"common.actions.add\":`Add`,\"common.actions.clear\":`Clear`,\"common.actions.select\":`Select`,\"common.actions.navigate\":`Navigate`,\"common.actions.share\":`Share`,\"common.loading\":`Loading...`,\"common.modal.processing\":`Processing...`,\"common.modal.dashboardName\":`Dashboard Name`,\"common.modal.deleteConfirmation\":`Are you sure? This action cannot be undone.`,\"common.sorting.ascending\":`Sorted ascending (click for descending)`,\"common.sorting.descending\":`Sorted descending (click to remove)`,\"common.sorting.none\":`Click to sort ascending`,\"fieldTypes.count\":`Count`,\"fieldTypes.countDistinct\":`Count Distinct`,\"fieldTypes.countDistinctApprox\":`Count Distinct (Approx)`,\"fieldTypes.sum\":`Sum`,\"fieldTypes.avg\":`Average`,\"fieldTypes.min\":`Minimum`,\"fieldTypes.max\":`Maximum`,\"fieldTypes.runningTotal\":`Running Total`,\"fieldTypes.number\":`Number`,\"fieldTypes.string\":`Text`,\"fieldTypes.boolean\":`Boolean`,\"fieldTypes.time\":`Time Dimension`,\"fieldTypes.geo\":`Geographic`,\"fieldTypes.dimension\":`Dimension`,\"fieldPanel.emptyState\":`Hover over a field to see details`,\"fieldPanel.usageHint\":`Press Enter or click to add this field to your query.`,\"fieldPanel.labels.type\":`Type`,\"fieldPanel.labels.cube\":`Cube`,\"fieldPanel.labels.category\":`Category`,\"fieldCategory.measure\":`Measure`,\"fieldCategory.timeDimension\":`Time Dimension`,\"fieldCategory.dimension\":`Dimension`,\"fieldSearch.placeholder.metrics\":`Search metrics...`,\"fieldSearch.placeholder.filter\":`Search fields to filter...`,\"fieldSearch.placeholder.dimensions\":`Search dimensions...`,\"fieldSearch.modal.title.metrics\":`Select a Metric`,\"fieldSearch.modal.title.filter\":`Select a Field to Filter`,\"fieldSearch.modal.title.dimensions\":`Select a Dimension`,\"fieldSearch.filter.allCubes\":`All Cubes`,\"fieldSearch.categories.all\":`All`,\"fieldSearch.empty.heading\":`No fields found`,\"fieldSearch.empty.noMatchMetrics\":`No metrics match \"{searchTerm}\"`,\"fieldSearch.empty.noMatchDimensions\":`No dimensions match \"{searchTerm}\"`,\"fieldSearch.empty.noMetrics\":`No metrics available`,\"fieldSearch.empty.noDimensions\":`No dimensions available`,\"fieldSearch.section.recents\":`Recents`,\"fieldSearch.footer.metricsAvailable\":`metrics available`,\"fieldSearch.footer.fieldsAvailable\":`fields available`,\"fieldSearch.footer.dimensionsAvailable\":`dimensions available`,\"fieldSearch.shortcut.navigate\":`Navigate`,\"fieldSearch.shortcut.keyEnter\":`Enter`,\"fieldSearch.shortcut.keyShift\":`Shift`,\"fieldSearch.shortcut.keyEsc\":`Esc`,\"fieldSearch.shortcut.plusClick\":`+Click`,\"fieldSearch.shortcut.select\":`Select`,\"fieldSearch.shortcut.multiSelect\":`Multi-select`,\"fieldSearch.shortcut.close\":`Close`,\"filter.group.condition\":`condition`,\"filter.group.conditions\":`conditions`,\"filter.group.addFilter\":`Add Filter`,\"filter.group.addAndGroup\":`Add AND Group`,\"filter.group.addOrGroup\":`Add OR Group`,\"filter.group.removeGroup\":`Remove group`,\"filter.group.empty\":`No conditions in this group`,\"filter.group.addFilterLink\":`Add a filter`,\"filter.modal.title\":`Edit Filter`,\"filter.modal.fieldLabel\":`Field`,\"filter.modal.operatorLabel\":`Operator`,\"filter.modal.valueLabel\":`Value`,\"filter.modal.selectRange\":`Select range`,\"filter.modal.noValueRequired\":`No value required`,\"filter.modal.dateTo\":`to`,\"filter.modal.min\":`Min`,\"filter.modal.to\":`to`,\"filter.modal.max\":`Max`,\"filter.modal.enterNumber\":`Enter number`,\"filter.modal.loading\":`Loading...`,\"filter.modal.selectValue\":`Select value...`,\"filter.modal.search\":`Search...`,\"filter.modal.errorPrefix\":`Error: `,\"filter.modal.noValues\":`No values found`,\"filter.modal.multiSelectHint\":`Hold Shift to select multiple values`,\"filter.modal.enterValue\":`Enter value...`,\"filter.removeButton.title\":`Remove filter`,\"filter.section.clearAll\":`Clear all`,\"filter.section.dropHint\":`Drop to add filter`,\"filter.section.empty\":`No filters applied`,\"filter.valueDisplay.empty\":`(empty)`,\"filter.valueDisplay.more\":`more`,\"filter.operator.equals.label\":`equals`,\"filter.operator.equals.description\":`Exact match`,\"filter.operator.notEquals.label\":`not equals`,\"filter.operator.notEquals.description\":`Does not match`,\"filter.operator.contains.label\":`contains`,\"filter.operator.contains.description\":`Contains text (case insensitive)`,\"filter.operator.notContains.label\":`not contains`,\"filter.operator.notContains.description\":`Does not contain text`,\"filter.operator.startsWith.label\":`starts with`,\"filter.operator.startsWith.description\":`Starts with text`,\"filter.operator.notStartsWith.label\":`not starts with`,\"filter.operator.notStartsWith.description\":`Does not start with text`,\"filter.operator.endsWith.label\":`ends with`,\"filter.operator.endsWith.description\":`Ends with text`,\"filter.operator.notEndsWith.label\":`not ends with`,\"filter.operator.notEndsWith.description\":`Does not end with text`,\"filter.operator.like.label\":`like`,\"filter.operator.like.description\":`SQL LIKE pattern matching (case sensitive)`,\"filter.operator.notLike.label\":`not like`,\"filter.operator.notLike.description\":`SQL NOT LIKE pattern matching (case sensitive)`,\"filter.operator.ilike.label\":`ilike`,\"filter.operator.ilike.description\":`SQL ILIKE pattern matching (case insensitive)`,\"filter.operator.gt.label\":`greater than`,\"filter.operator.gt.description\":`Greater than value`,\"filter.operator.gte.label\":`greater than or equal`,\"filter.operator.gte.description\":`Greater than or equal to value`,\"filter.operator.lt.label\":`less than`,\"filter.operator.lt.description\":`Less than value`,\"filter.operator.lte.label\":`less than or equal`,\"filter.operator.lte.description\":`Less than or equal to value`,\"filter.operator.between.label\":`between`,\"filter.operator.between.description\":`Between two values (inclusive)`,\"filter.operator.notBetween.label\":`not between`,\"filter.operator.notBetween.description\":`Not between two values`,\"filter.operator.in.label\":`in`,\"filter.operator.in.description\":`Matches any of the provided values`,\"filter.operator.notIn.label\":`not in`,\"filter.operator.notIn.description\":`Does not match any of the provided values`,\"filter.operator.set.label\":`is set`,\"filter.operator.set.description\":`Is not null/empty`,\"filter.operator.notSet.label\":`is not set`,\"filter.operator.notSet.description\":`Is null/empty`,\"filter.operator.isEmpty.label\":`is empty`,\"filter.operator.isEmpty.description\":`Is empty string or null`,\"filter.operator.isNotEmpty.label\":`is not empty`,\"filter.operator.isNotEmpty.description\":`Is not empty string and not null`,\"filter.operator.inDateRange.label\":`in date range`,\"filter.operator.inDateRange.description\":`Between two dates`,\"filter.operator.beforeDate.label\":`before date`,\"filter.operator.beforeDate.description\":`Before specified date`,\"filter.operator.afterDate.label\":`after date`,\"filter.operator.afterDate.description\":`After specified date`,\"filter.operator.regex.label\":`matches regex`,\"filter.operator.regex.description\":`Matches regular expression pattern`,\"filter.operator.notRegex.label\":`not matches regex`,\"filter.operator.notRegex.description\":`Does not match regular expression pattern`,\"filter.operator.arrayContains.label\":`array contains all`,\"filter.operator.arrayContains.description\":`Array field contains all specified values (PostgreSQL only)`,\"filter.operator.arrayOverlaps.label\":`array contains any`,\"filter.operator.arrayOverlaps.description\":`Array field contains any of the specified values (PostgreSQL only)`,\"filter.operator.arrayContained.label\":`array values in`,\"filter.operator.arrayContained.description\":`All array field values are within specified values (PostgreSQL only)`,\"dateRange.custom\":`Custom`,\"dateRange.today\":`Today`,\"dateRange.yesterday\":`Yesterday`,\"dateRange.thisWeek\":`This week`,\"dateRange.thisMonth\":`This month`,\"dateRange.thisQuarter\":`This quarter`,\"dateRange.thisYear\":`This year`,\"dateRange.last7Days\":`Last 7 days`,\"dateRange.last30Days\":`Last 30 days`,\"dateRange.lastNDays\":`Last N days`,\"dateRange.lastWeek\":`Last week`,\"dateRange.lastNWeeks\":`Last N weeks`,\"dateRange.lastMonth\":`Last month`,\"dateRange.last12Months\":`Last 12 months`,\"dateRange.lastNMonths\":`Last N months`,\"dateRange.lastQuarter\":`Last quarter`,\"dateRange.lastNQuarters\":`Last N quarters`,\"dateRange.lastYear\":`Last year`,\"dateRange.lastNYears\":`Last N years`,\"timeGranularity.hour\":`Hour`,\"timeGranularity.day\":`Day`,\"timeGranularity.week\":`Week`,\"timeGranularity.month\":`Month`,\"timeGranularity.quarter\":`Quarter`,\"timeGranularity.year\":`Year`,\"query.limit.label\":`Limit`,\"query.limit.clear\":`Clear`,\"chart.bar.label\":`Bar Chart`,\"chart.bar.description\":`Compare values across categories`,\"chart.bar.useCase\":`Best for comparing discrete categories, showing rankings, or displaying changes over time`,\"chart.line.label\":`Line Chart`,\"chart.line.description\":`Show trends and changes over time`,\"chart.line.useCase\":`Best for continuous data, trends, time series, and showing relationships between multiple series`,\"chart.area.label\":`Area Chart`,\"chart.area.description\":`Emphasise magnitude of change over time`,\"chart.area.useCase\":`Best for showing cumulative totals, volume changes, or stacked comparisons over time`,\"chart.pie.label\":`Pie Chart`,\"chart.pie.description\":`Show proportions of a whole`,\"chart.pie.useCase\":`Best for showing percentage distribution or composition of a total (limit to 5-7 slices)`,\"chart.scatter.label\":`Scatter Plot`,\"chart.scatter.description\":`Reveal correlations between variables`,\"chart.scatter.useCase\":`Best for identifying patterns, correlations, outliers, and relationships between two measures`,\"chart.bubble.label\":`Bubble Chart`,\"chart.bubble.description\":`Compare three dimensions of data`,\"chart.bubble.useCase\":`Best for showing relationships between three variables (X, Y, and size), market analysis`,\"chart.radar.label\":`Radar Chart`,\"chart.radar.description\":`Compare multiple metrics across categories`,\"chart.radar.useCase\":`Best for multivariate comparisons, performance metrics, strengths/weaknesses analysis`,\"chart.radialBar.label\":`Radial Bar Chart`,\"chart.radialBar.description\":`Circular progress and KPI visualisation`,\"chart.radialBar.useCase\":`Best for showing progress toward goals, KPIs, or comparing percentages in a compact form`,\"chart.treemap.label\":`TreeMap`,\"chart.treemap.description\":`Visualise hierarchical data with nested rectangles`,\"chart.treemap.useCase\":`Best for showing part-to-whole relationships in hierarchical data, disk usage, budget allocation`,\"chart.table.label\":`Data Table`,\"chart.table.description\":`Display detailed tabular data`,\"chart.table.useCase\":`Best for precise values, detailed analysis, sortable/filterable data exploration`,\"chart.activityGrid.label\":`Activity Grid`,\"chart.activityGrid.description\":`GitHub-style activity grid showing temporal patterns across different time scales`,\"chart.activityGrid.useCase\":`Best for visualising activity patterns over time. Supports hour (3hr blocks × days), day (days × weeks), week (weeks × months), month (months × quarters), and quarter (quarters × years) granularities`,\"chart.kpiNumber.label\":`KPI Number`,\"chart.kpiNumber.description\":`Display key performance indicators as large numbers`,\"chart.kpiNumber.useCase\":`Perfect for showing important metrics like revenue, user count, or other key business metrics in a prominent, easy-to-read format`,\"chart.kpiDelta.label\":`KPI Delta`,\"chart.kpiDelta.description\":`Display change between latest and previous values with trend indicators`,\"chart.kpiDelta.useCase\":`Perfect for showing performance changes over time, such as revenue growth, user acquisition changes, or other metrics where the trend and delta are more important than the absolute value`,\"chart.kpiText.label\":`KPI Text`,\"chart.kpiText.description\":`Display key performance indicators as customisable text`,\"chart.kpiText.useCase\":`Perfect for showing metrics with custom formatting, combining multiple values, or displaying contextual KPI information using templates`,\"chart.markdown.label\":`Markdown`,\"chart.markdown.description\":`Display custom markdown content with formatting`,\"chart.markdown.useCase\":`Perfect for adding documentation, notes, section headers, instructions, or formatted text to dashboards`,\"chart.funnel.label\":`Funnel Chart`,\"chart.funnel.description\":`Show conversion through sequential steps`,\"chart.funnel.useCase\":`Best for visualising user journey funnels, sales pipelines, or multi-step processes`,\"chart.sankey.label\":`Sankey Chart`,\"chart.sankey.description\":`Show flow between states or steps`,\"chart.sankey.useCase\":`Best for visualising user journey flows, path analysis, or state transitions`,\"chart.sunburst.label\":`Sunburst Chart`,\"chart.sunburst.description\":`Show hierarchical flow as radial rings`,\"chart.sunburst.useCase\":`Best for visualising forward paths from a starting event in a compact radial layout`,\"chart.heatmap.label\":`Heatmap`,\"chart.heatmap.description\":`Visualise intensity across two dimensions`,\"chart.heatmap.useCase\":`Best for showing patterns in matrix data like correlations, schedules, or category comparisons`,\"chart.retentionHeatmap.label\":`Retention Matrix`,\"chart.retentionHeatmap.description\":`Cohort retention matrix visualisation`,\"chart.retentionHeatmap.useCase\":`Visualise user retention over time by cohort`,\"chart.retentionCombined.label\":`Retention Chart`,\"chart.retentionCombined.description\":`Combined retention visualisation with line chart and heatmap modes`,\"chart.retentionCombined.useCase\":`Visualise user retention over time with optional breakdown segmentation`,\"chart.boxPlot.label\":`Box Plot`,\"chart.boxPlot.description\":`Show statistical distribution (median, IQR, whiskers) across categories`,\"chart.boxPlot.useCase\":`Best for P&L spread per symbol, trade size distribution, latency distribution across platforms`,\"chart.waterfall.label\":`Waterfall Chart`,\"chart.waterfall.description\":`Show cumulative effect of sequential positive and negative values`,\"chart.waterfall.useCase\":`Best for P&L decomposition, cash flow analysis, budget variance, or any sequential contribution breakdown`,\"chart.candlestick.label\":`Candlestick Chart`,\"chart.candlestick.description\":`Financial candlestick chart showing open/close body and high/low wicks`,\"chart.candlestick.useCase\":`Best for EOD quotes (bid/ask spread per date/symbol), markout distribution bands, or OHLC price data`,\"chart.measureProfile.label\":`Measure Profile`,\"chart.measureProfile.description\":`Plot N measures as sequential X-axis points to visualise a profile or shape across intervals`,\"chart.measureProfile.useCase\":`Best for markout interval analysis (e.g. avgMinus2m → avgAtEvent → avgPlus2h), metric profiles, or any pattern across ordered measures`,\"chart.gauge.label\":`Gauge Chart`,\"chart.gauge.description\":`Half-circle arc gauge for a single KPI value versus a maximum target`,\"chart.gauge.useCase\":`Best for high-water marks vs equity, margin utilisation, or any single value progress toward a goal`,\"chart.config.chartType\":`Chart Type`,\"chart.config.loading\":`Loading chart configuration...`,\"chart.config.axisConfig\":`Chart Configuration`,\"chart.config.unassigned\":`Unassigned Fields`,\"chart.config.unassignedHint\":`Drag fields to chart axes above`,\"chart.config.noFields\":`Add metrics and breakdowns in the Query tab to configure chart axes`,\"chart.dropZone.xAxis.label\":`X-Axis (Categories)`,\"chart.dropZone.xAxis.description\":`Dimensions and time dimensions for grouping`,\"chart.dropZone.xAxis.empty\":`Drop dimensions & time dimensions here`,\"chart.dropZone.yAxis.label\":`Y-Axis (Values)`,\"chart.dropZone.yAxis.description\":`Measures for values or dimensions for series`,\"chart.dropZone.yAxis.empty\":`Drop measures or dimensions here`,\"chart.dropZone.series.label\":`Series (Split into Multiple Series)`,\"chart.dropZone.series.description\":`Dimensions to create separate data series`,\"chart.dropZone.series.empty\":`Drop dimensions here to split data into series`,\"chart.dropZone.maxReached\":`Maximum items reached`,\"chart.dropZone.default.empty\":`Drop fields here`,\"chart.bar.dropZone.xAxis.empty\":`Drop dimensions & time dimensions here`,\"chart.bar.dropZone.yAxis.empty\":`Drop measures here`,\"chart.bar.dropZone.series.empty\":`Drop dimensions here to split data into series`,\"chart.line.dropZone.xAxis.empty\":`Drop time dimensions or dimensions here`,\"chart.line.dropZone.yAxis.empty\":`Drop measures here`,\"chart.line.dropZone.series.empty\":`Drop dimensions here for multiple lines`,\"chart.area.dropZone.xAxis.empty\":`Drop time dimensions or dimensions here`,\"chart.area.dropZone.yAxis.empty\":`Drop measures here`,\"chart.area.dropZone.series.empty\":`Drop dimensions here for stacked areas`,\"chart.pie.dropZone.xAxis.empty\":`Drop a dimension for categories`,\"chart.pie.dropZone.yAxis.empty\":`Drop a measure for values`,\"chart.scatter.dropZone.xAxis.empty\":`Drop a field for X-axis`,\"chart.scatter.dropZone.yAxis.empty\":`Drop a measure for Y-axis`,\"chart.scatter.dropZone.series.empty\":`Drop a dimension to colour points`,\"chart.bubble.dropZone.xAxis.empty\":`Drop a field for X-axis position`,\"chart.bubble.dropZone.yAxis.empty\":`Drop a measure for Y-axis position`,\"chart.bubble.dropZone.sizeField.empty\":`Drop a measure for bubble size`,\"chart.bubble.dropZone.series.empty\":`Drop a dimension for bubble labels`,\"chart.bubble.dropZone.colorField.empty\":`Drop a field for bubble colour (optional)`,\"chart.radar.dropZone.xAxis.empty\":`Drop dimensions for radar axes`,\"chart.radar.dropZone.yAxis.empty\":`Drop measures for values`,\"chart.radar.dropZone.series.empty\":`Drop dimensions for multiple shapes`,\"chart.radialBar.dropZone.xAxis.empty\":`Drop dimensions for categories`,\"chart.radialBar.dropZone.yAxis.empty\":`Drop a measure for values`,\"chart.treemap.dropZone.xAxis.empty\":`Drop dimensions for categories`,\"chart.treemap.dropZone.yAxis.empty\":`Drop a measure for size`,\"chart.treemap.dropZone.series.empty\":`Drop a dimension for colour grouping`,\"chart.table.dropZone.xAxis.empty\":`Drop fields to display as columns (or leave empty for all)`,\"chart.activityGrid.dropZone.dateField.empty\":`Drop a time dimension (granularity affects grid structure)`,\"chart.activityGrid.dropZone.valueField.empty\":`Drop a measure for activity intensity`,\"chart.kpiNumber.dropZone.yAxis.empty\":`Drop a measure here`,\"chart.kpiDelta.dropZone.yAxis.empty\":`Drop a measure here`,\"chart.kpiDelta.dropZone.xAxis.empty\":`Drop a dimension for ordering`,\"chart.kpiText.dropZone.yAxis.empty\":`Drop a measure here`,\"chart.funnel.dropZone.xAxis.empty\":`Steps defined in funnel config`,\"chart.funnel.dropZone.yAxis.empty\":`Counts calculated from funnel execution`,\"chart.sankey.dropZone.xAxis.empty\":`Auto-populated from flow config`,\"chart.sankey.dropZone.yAxis.empty\":`Calculated from flow execution`,\"chart.sunburst.dropZone.xAxis.empty\":`Auto-populated from flow config`,\"chart.sunburst.dropZone.yAxis.empty\":`Calculated from flow execution`,\"chart.heatmap.dropZone.xAxis.empty\":`Drop one dimension here`,\"chart.heatmap.dropZone.yAxis.empty\":`Drop one dimension here`,\"chart.heatmap.dropZone.valueField.empty\":`Drop one measure here`,\"chart.boxPlot.dropZone.xAxis.empty\":`Drop a dimension here`,\"chart.boxPlot.dropZone.yAxis.empty\":`Drop 1, 3, or 5 measures here`,\"chart.waterfall.dropZone.xAxis.empty\":`Drop a dimension here`,\"chart.waterfall.dropZone.yAxis.empty\":`Drop a measure here`,\"chart.candlestick.dropZone.xAxis.empty\":`Drop a time or dimension here`,\"chart.candlestick.dropZone.yAxis.empty\":`Drop 2+ measures here`,\"chart.measureProfile.dropZone.yAxis.empty\":`Drop 2+ measures here (displayed left → right)`,\"chart.measureProfile.dropZone.series.empty\":`Drop a dimension here to create multiple lines`,\"chart.gauge.dropZone.yAxis.empty\":`Drop 1 measure here (optional 2nd for dynamic max)`,\"chart.activityGrid.validation.timeDimensionRequired\":`Time dimension is required for activity grid`,\"chart.activityGrid.validation.measureRequired\":`Activity measure is required for intensity mapping`,\"chart.kpiDelta.validation.measureRequired\":`A measure is required for KPI Delta charts`,\"chart.heatmap.validation.xAxisRequired\":`X-axis dimension required`,\"chart.heatmap.validation.yAxisRequired\":`Y-axis dimension required`,\"chart.heatmap.validation.valueRequired\":`Value measure required`,\"chart.option.stacking.label\":`Stacking`,\"chart.option.stacking.none\":`None`,\"chart.option.stacking.stacked\":`Stacked`,\"chart.option.stacking.percent\":`Stacked 100%`,\"chart.option.stacking.description\":`How to stack multiple series`,\"chart.option.target.label\":`Target Values`,\"chart.option.target.description\":`Single value or comma-separated values to spread across X-axis`,\"chart.option.connectNulls.label\":`Connect Nulls`,\"chart.option.connectNulls.description\":`Draw continuous line through missing data points`,\"chart.option.leftYAxisFormat.label\":`Left Y-Axis Format`,\"chart.option.leftYAxisFormat.description\":`Number formatting for left Y-axis`,\"chart.option.rightYAxisFormat.label\":`Right Y-Axis Format`,\"chart.option.rightYAxisFormat.description\":`Number formatting for right Y-axis`,\"chart.option.xAxisFormat.label\":`X-Axis Format`,\"chart.option.xAxisFormat.description\":`Number formatting for X-axis`,\"chart.option.yAxisFormat.label\":`Y-Axis Format`,\"chart.option.yAxisFormat.description\":`Number formatting for Y-axis`,\"chart.option.valueFormat.label\":`Value Format`,\"chart.option.valueFormat.description\":`Number formatting for values`,\"chart.option.innerRadius.label\":`Inner Radius`,\"chart.option.innerRadius.description\":`Hollow centre size (0% = solid pie, higher = donut style)`,\"chart.option.showLabels.label\":`Show Cell Values`,\"chart.option.showLabels.description\":`Display values inside each cell`,\"chart.option.cellShape.label\":`Cell Shape`,\"chart.option.cellShape.rectangle\":`Rectangle`,\"chart.option.cellShape.circle\":`Circle`,\"chart.option.funnelStyle.label\":`Funnel Style`,\"chart.option.funnelStyle.bars\":`Bars`,\"chart.option.funnelStyle.funnel\":`Funnel`,\"chart.option.funnelOrientation.label\":`Orientation`,\"chart.option.funnelOrientation.horizontal\":`Horizontal`,\"chart.option.funnelOrientation.vertical\":`Vertical`,\"chart.option.hideSummaryFooter.label\":`Hide Summary Footer`,\"chart.option.hideSummaryFooter.description\":`Hide the summary footer showing steps count and overall conversion`,\"chart.option.showConversion.label\":`Show Conversion Rate`,\"chart.option.showConversion.description\":`Display step-to-step conversion percentage`,\"chart.option.showAvgTime.label\":`Show Avg Time`,\"chart.option.showAvgTime.description\":`Display average time to convert`,\"chart.option.showMedianTime.label\":`Show Median Time`,\"chart.option.showMedianTime.description\":`Display median time to convert`,\"chart.option.showP90Time.label\":`Show P90 Time`,\"chart.option.showP90Time.description\":`Display 90th percentile time to convert`,\"chart.option.linkOpacity.label\":`Link Opacity`,\"chart.option.linkOpacity.light\":`Light`,\"chart.option.linkOpacity.medium\":`Medium`,\"chart.option.linkOpacity.dark\":`Dark`,\"chart.option.showNodeLabels.label\":`Show Node Labels`,\"chart.option.showNodeLabels.description\":`Display labels on flow nodes`,\"chart.option.prefix.label\":`Prefix`,\"chart.option.prefix.description\":`Text to display before the number`,\"chart.option.suffix.label\":`Suffix`,\"chart.option.suffix.description\":`Text to display after the number`,\"chart.option.decimals.label\":`Decimal Places`,\"chart.option.decimals.description\":`Number of decimal places to display`,\"chart.option.showHistogram.label\":`Show Variance Histogram`,\"chart.option.showHistogram.description\":`Display historical variance chart below the delta`,\"chart.option.useLastCompletePeriod.label\":`Use Last Complete Period`,\"chart.option.useLastCompletePeriod.description\":`Exclude current incomplete period from calculation (e.g., partial week/month)`,\"chart.option.skipLastPeriod.label\":`Skip Last Period`,\"chart.option.skipLastPeriod.description\":`Always exclude the last period regardless of completeness`,\"chart.option.retentionDisplayMode.label\":`Display Mode`,\"chart.option.retentionDisplayMode.lineChart\":`Line Chart`,\"chart.option.retentionDisplayMode.heatmapTable\":`Heatmap Table`,\"chart.option.retentionDisplayMode.combined\":`Combined`,\"chart.option.showLegend.label\":`Show Legend`,\"chart.option.showLegend.description\":`Show the legend`,\"chart.option.showGrid.label\":`Show Grid`,\"chart.option.showGrid.description\":`Show grid lines on the chart`,\"chart.option.showTooltip.label\":`Show Tooltip`,\"chart.option.showTooltip.description\":`Show tooltip on hover with detailed stats`,\"chart.option.priorPeriodStyle.label\":`Prior Period Line Style`,\"chart.option.priorPeriodStyle.dashed\":`Dashed`,\"chart.option.priorPeriodStyle.dotted\":`Dotted`,\"chart.option.priorPeriodStyle.solid\":`Solid`,\"chart.option.priorPeriodStyle.description\":`Line style for prior period in comparison mode`,\"chart.option.priorPeriodOpacity.label\":`Prior Period Opacity`,\"chart.option.priorPeriodOpacity.description\":`Opacity for prior period lines (0.1 to 1)`,\"chart.option.showTotal.label\":`Show Total Bar`,\"chart.option.showTotal.description\":`Append a final bar showing the running total`,\"chart.option.showConnectorLine.label\":`Show Connector Line`,\"chart.option.showConnectorLine.description\":`Draw a dashed step-line connecting bar tops`,\"chart.option.showDataLabels.label\":`Show Data Labels`,\"chart.option.showDataLabels.description\":`Display the value at each data point`,\"chart.option.showReferenceLineAtZero.label\":`Show Zero Reference Line`,\"chart.option.showReferenceLineAtZero.description\":`Draw a dashed line at Y = 0`,\"chart.option.lineType.label\":`Line Interpolation`,\"chart.option.lineType.smooth\":`Smooth (monotone)`,\"chart.option.lineType.linear\":`Linear`,\"chart.option.lineType.step\":`Step`,\"chart.option.lineType.description\":`How data points are connected`,\"chart.option.rangeMode.label\":`Chart Mode`,\"chart.option.rangeMode.ohlc\":`OHLC (open, close, high, low)`,\"chart.option.rangeMode.range\":`Range (high, low / bid, ask)`,\"chart.option.rangeMode.description\":`OHLC: 4 measures. Range: 2 measures (high + low).`,\"chart.option.bullColor.label\":`Bullish Colour`,\"chart.option.bullColor.description\":`Candle colour when close ≥ open`,\"chart.option.bearColor.label\":`Bearish Colour`,\"chart.option.bearColor.description\":`Candle colour when close < open`,\"chart.option.showWicks.label\":`Show Wicks`,\"chart.option.showWicks.description\":`Draw high/low wicks above and below the body`,\"chart.option.minValue.label\":`Minimum Value`,\"chart.option.minValue.description\":`Lower bound of the gauge arc (default 0)`,\"chart.option.maxValue.label\":`Maximum Value (static)`,\"chart.option.maxValue.description\":`Upper bound of the gauge. Leave empty to use yAxis[1] or default 100`,\"chart.option.showCentreLabel.label\":`Show Centre Label`,\"chart.option.showCentreLabel.description\":`Display current value and field name in the centre of the gauge`,\"chart.option.showPercentage.label\":`Show as Percentage`,\"chart.option.showPercentage.description\":`Display value as % of max instead of raw number`,\"chart.option.fitToWidth.label\":`Fit to Width`,\"chart.option.fitToWidth.description\":`Automatically size blocks to fill portlet width and height while maintaining aspect ratio`,\"chart.option.fontSize.label\":`Font Size`,\"chart.option.fontSize.small\":`Small`,\"chart.option.fontSize.medium\":`Medium`,\"chart.option.fontSize.large\":`Large`,\"chart.option.alignment.label\":`Text Alignment`,\"chart.option.alignment.left\":`Left`,\"chart.option.alignment.center\":`Center`,\"chart.option.alignment.right\":`Right`,\"chart.option.hideHeader.label\":`Hide Header`,\"chart.option.hideHeader.description\":`Hide the portlet header bar (title and action buttons)`,\"chart.option.transparentBackground.label\":`Transparent Background`,\"chart.option.transparentBackground.description\":`Remove card background, border, and shadow for seamless integration as section headers`,\"chart.option.autoHeight.label\":`Auto Height`,\"chart.option.autoHeight.description\":`In row and mobile layouts, size to markdown content instead of fixed row height`,\"chart.option.accentBorder.label\":`Accent Border`,\"chart.option.accentBorder.none\":`None`,\"chart.option.accentBorder.left\":`Left`,\"chart.option.accentBorder.top\":`Top`,\"chart.option.accentBorder.bottom\":`Bottom`,\"chart.option.accentBorder.description\":`Add an accent-coloured border on one side of the content`,\"chart.configText.20_percent\":`20%`,\"chart.configText.40_percent\":`40%`,\"chart.configText.60_percent\":`60%`,\"chart.configText.80_percent\":`80%`,\"chart.configText.accent_color\":`Accent Color`,\"chart.configText.activity_measure\":`Activity Measure`,\"chart.configText.add_2_or_more_measures_they_become_the_x_axis_categories_in_the_order_li\":`Add 2 or more measures — they become the X-axis categories in the order listed`,\"chart.configText.add_an_accent_colored_border_on_one_side_of_the_content\":`Add an accent-colored border on one side of the content`,\"chart.configText.all_fields_to_display_as_columns\":`All fields to display as columns`,\"chart.configText.array_of_value_0_1_fraction_color_bands_shown_as_outer_arc_markers\":`Array of {value (0–1 fraction), color} bands shown as outer arc markers`,\"chart.configText.axes_categories\":`Axes (Categories)`,\"chart.configText.bubble_colour\":`Bubble Colour`,\"chart.configText.bubble_labels\":`Bubble Labels`,\"chart.configText.bubble_radius\":`Bubble Radius`,\"chart.configText.categories\":`Categories`,\"chart.configText.choose_how_to_visualize_retention_data\":`Choose how to visualize retention data`,\"chart.configText.color_bubbles_by_this_field_optional\":`Color bubbles by this field (optional)`,\"chart.configText.color_for_negative_changes_decreases\":`Color for negative changes (decreases)`,\"chart.configText.color_for_positive_changes_increases\":`Color for positive changes (increases)`,\"chart.configText.color_from_the_dashboard_palette_for_headers_bullets_and_links\":`Color from the dashboard palette for headers, bullets, and links`,\"chart.configText.color_from_the_dashboard_palette_for_the_kpi_value_text\":`Color from the dashboard palette for the KPI value text`,\"chart.configText.color_groups\":`Color Groups`,\"chart.configText.columns\":`Columns`,\"chart.configText.columns_x_axis\":`Columns (X-Axis)`,\"chart.configText.count_at_each_step_auto_calculated\":`Count at each step (auto-calculated)`,\"chart.configText.count_of_entities_following_each_path\":`Count of entities following each path`,\"chart.configText.current_value_to_display_on_the_gauge_e_g_current_equity_margin_used\":`Current value to display on the gauge (e.g. current equity, margin used)`,\"chart.configText.dimension_for_column_categories\":`Dimension for column categories`,\"chart.configText.dimension_for_ordering_data_typically_time\":`Dimension for ordering data (typically time)`,\"chart.configText.dimension_for_pie_slices\":`Dimension for pie slices`,\"chart.configText.dimension_for_row_categories\":`Dimension for row categories`,\"chart.configText.dimension_labels_for_each_bar_segment_e_g_symbol_transaction_type\":`Dimension labels for each bar segment (e.g. symbol, transaction type)`,\"chart.configText.dimension_optional\":`Dimension (optional)`,\"chart.configText.dimension_to_color_points_by_category\":`Dimension to color points by category`,\"chart.configText.dimension_to_color_rectangles_by_category\":`Dimension to color rectangles by category`,\"chart.configText.dimension_to_group_boxes_by_e_g_symbol_platform\":`Dimension to group boxes by (e.g. symbol, platform)`,\"chart.configText.dimension_to_split_data_into_separate_profile_lines_e_g_symbol_platform\":`Dimension to split data into separate profile lines (e.g. symbol, platform)`,\"chart.configText.dimensions_for_radar_axes\":`Dimensions for radar axes`,\"chart.configText.dimensions_for_radial_segments\":`Dimensions for radial segments`,\"chart.configText.dimensions_for_treemap_rectangles\":`Dimensions for treemap rectangles`,\"chart.configText.dimensions_to_create_multiple_radar_shapes\":`Dimensions to create multiple radar shapes`,\"chart.configText.dimensions_to_create_separate_lines\":`Dimensions to create separate lines`,\"chart.configText.dimensions_to_create_stacked_areas\":`Dimensions to create stacked areas`,\"chart.configText.display_the_value_above_each_bar_segment\":`Display the value above each bar segment`,\"chart.configText.display_value_at_each_data_point\":`Display value at each data point`,\"chart.configText.drop_1_measure_for_auto_mode_3_for_avg_stddev_median_mode_or_5_for_min_q\":`Drop 1 measure for auto mode, 3 for avg/stddev/median mode, or 5 for min/q1/median/q3/max mode`,\"chart.configText.drop_2_4_measures_in_order_open_close_high_low_ohlc_mode_for_range_mode_\":`Drop 2–4 measures in order: open, close, high, low (OHLC mode). For range mode drop 2: high, low.`,\"chart.configText.enter_markdown_text_supports_headers_bold_text_italic_text_links_text_ur\":`Enter markdown text. Supports headers (#), bold (**text**), italic (*text*), links ([text](url)), lists (- item), and horizontal rules (---).`,\"chart.configText.event_dimension_that_categorizes_flow_nodes\":`Event dimension that categorizes flow nodes`,\"chart.configText.event_type\":`Event Type`,\"chart.configText.exclude_current_incomplete_period_from_aggregation_e_g_partial_week_mont\":`Exclude current incomplete period from aggregation (e.g., partial week/month)`,\"chart.configText.exclude_current_incomplete_period_from_delta_calculation_e_g_partial_wee\":`Exclude current incomplete period from delta calculation (e.g., partial week/month)`,\"chart.configText.field_to_use_for_bubble_labels_and_identification\":`Field to use for bubble labels and identification`,\"chart.configText.flow_count\":`Flow Count`,\"chart.configText.hide_the_statistics_footer_below_the_chart\":`Hide the statistics footer below the chart`,\"chart.configText.hollow_center_size_0_percent_solid_pie_higher_donut_style\":`Hollow center size (0% = solid pie, higher = donut style)`,\"chart.configText.horizontal_alignment_of_the_markdown_content\":`Horizontal alignment of the markdown content`,\"chart.configText.horizontal_axis_position\":`Horizontal axis position`,\"chart.configText.how_to_stack_multiple_area_series\":`How to stack multiple area series`,\"chart.configText.how_to_stack_multiple_bar_series\":`How to stack multiple bar series`,\"chart.configText.markdown_content\":`Markdown Content`,\"chart.configText.measure_for_rectangle_sizes\":`Measure for rectangle sizes`,\"chart.configText.measure_for_slice_sizes\":`Measure for slice sizes`,\"chart.configText.measure_for_y_position\":`Measure for Y position`,\"chart.configText.measure_or_dimension_for_x_position\":`Measure or dimension for X position`,\"chart.configText.measure_that_determines_cell_color\":`Measure that determines cell color`,\"chart.configText.measure_to_display_as_kpi_number\":`Measure to display as KPI number`,\"chart.configText.measure_to_display_in_the_kpi_text_template\":`Measure to display in the KPI text template`,\"chart.configText.measure_to_track_changes_for\":`Measure to track changes for`,\"chart.configText.measure_used_for_activity_intensity_color_coding\":`Measure used for activity intensity (color coding)`,\"chart.configText.measures_for_area_values\":`Measures for area values`,\"chart.configText.measures_for_bar_heights\":`Measures for bar heights`,\"chart.configText.measures_for_line_values\":`Measures for line values`,\"chart.configText.measures_for_radar_values\":`Measures for radar values`,\"chart.configText.measures_for_radial_bar_lengths\":`Measures for radial bar lengths`,\"chart.configText.measures_x_axis_order\":`Measures (X-Axis Order)`,\"chart.configText.negative_change_color\":`Negative Change Color`,\"chart.configText.none_pie\":`None (Pie)`,\"chart.configText.number_formatting_for_cell_values_and_legend\":`Number formatting for cell values and legend`,\"chart.configText.number_formatting_for_numeric_values\":`Number formatting for numeric values`,\"chart.configText.number_formatting_for_size_values\":`Number formatting for size values`,\"chart.configText.number_formatting_for_the_displayed_value_and_axis_labels\":`Number formatting for the displayed value and axis labels`,\"chart.configText.number_formatting_for_the_price_axis\":`Number formatting for the price axis`,\"chart.configText.number_formatting_for_the_value_axis\":`Number formatting for the value axis`,\"chart.configText.number_formatting_for_the_y_axis\":`Number formatting for the Y-axis`,\"chart.configText.number_formatting_for_x_axis_labels\":`Number formatting for X-axis labels`,\"chart.configText.number_formatting_for_y_axis_and_values\":`Number formatting for Y-axis and values`,\"chart.configText.number_formatting_for_y_axis_labels\":`Number formatting for Y-axis labels`,\"chart.configText.number_of_decimal_places_to_display_for_numeric_values\":`Number of decimal places to display for numeric values`,\"chart.configText.ohlc_measures_open_close_high_low\":`OHLC Measures (open, close, high, low)`,\"chart.configText.opacity_of_flow_links\":`Opacity of flow links`,\"chart.configText.overall_text_size_for_the_markdown_content\":`Overall text size for the markdown content`,\"chart.configText.positive_change_color\":`Positive Change Color`,\"chart.configText.rows_y_axis\":`Rows (Y-Axis)`,\"chart.configText.series_color_groups\":`Series (Color Groups)`,\"chart.configText.series_multiple_lines\":`Series (Multiple Lines)`,\"chart.configText.series_multiple_shapes\":`Series (Multiple Shapes)`,\"chart.configText.series_split_into_multiple_lines\":`Series (Split into Multiple Lines)`,\"chart.configText.series_stack_areas\":`Series (Stack Areas)`,\"chart.configText.show_series_legend_only_visible_with_a_series_dimension\":`Show series legend (only visible with a Series dimension)`,\"chart.configText.show_the_color_intensity_legend\":`Show the color intensity legend`,\"chart.configText.show_the_legend_for_breakdown_segments\":`Show the legend for breakdown segments`,\"chart.configText.single_measure_whose_values_are_summed_cumulatively\":`Single measure whose values are summed cumulatively`,\"chart.configText.size\":`Size`,\"chart.configText.size_of_bubbles_based_on_this_measure\":`Size of bubbles based on this measure`,\"chart.configText.size_of_the_center_hole_0_for_full_circle\":`Size of the center hole (0 for full circle)`,\"chart.configText.step_count\":`Step Count`,\"chart.configText.step_name\":`Step Name`,\"chart.configText.step_names_auto_populated_from_funnel_steps\":`Step names (auto-populated from funnel steps)`,\"chart.configText.target_value_to_compare_against_first_value_used_if_multiple_provided\":`Target value to compare against (first value used if multiple provided)`,\"chart.configText.template_for_displaying_the_text_use_value_to_insert_the_measure_value\":\"Template for displaying the text. Use ${value} to insert the measure value.\",\"chart.configText.text_template\":`Text Template`,\"chart.configText.threshold_bands\":`Threshold Bands`,\"chart.configText.time_dimension\":`Time Dimension`,\"chart.configText.time_dimension_or_category_for_each_candle_e_g_date_symbol\":`Time dimension or category for each candle (e.g. date, symbol)`,\"chart.configText.time_dimensions_or_dimensions_for_x_axis\":`Time dimensions or dimensions for X-axis`,\"chart.configText.time_field_that_determines_grid_structure_granularity_affects_layout\":`Time field that determines grid structure (granularity affects layout)`,\"chart.configText.value\":`Value`,\"chart.configText.value_color\":`Value Color`,\"chart.configText.value_color_intensity\":`Value (Color Intensity)`,\"chart.configText.value_measure\":`Value Measure`,\"chart.configText.values\":`Values`,\"chart.configText.vertical_axis_position\":`Vertical axis position`,\"chart.configText.visualization_style\":`Visualization style`,\"chart.configText.x_axis_groups\":`X-Axis (Groups)`,\"chart.configText.x_axis_time_categories\":`X-Axis (Time/Categories)`,\"chart.configText.x_axis_time_category\":`X-Axis (Time / Category)`,\"chart.configText.y_axis\":`Y-Axis`,\"chart.configText.y_axis_measures\":`Y-Axis (Measures)`,\"chart.configText.y_axis_value\":`Y-Axis (Value)`,\"display.loading\":`Loading display options...`,\"display.noOptions\":`No display options available for this chart type.`,\"display.heading\":`Display Options`,\"results.loading.title\":`Executing Query...`,\"results.loading.subtitle\":`Running your query against the cube API`,\"results.error.title\":`Query Execution Failed`,\"results.error.subtitle\":`There was an error executing your query. Please check the query and try again.`,\"results.waiting.title\":`Preparing Query...`,\"results.waiting.subtitle\":`Your query will execute shortly`,\"results.needsRefresh.title\":`Ready to Execute`,\"results.needsRefresh.subtitle\":`Click refresh to run your query`,\"results.needsRefresh.runButton\":`Run Query`,\"results.empty.query\":`Add metrics or breakdowns from the panel on the right to see results`,\"results.empty.retention\":`Select a cube and configure retention settings to see results`,\"results.empty.funnel\":`Add funnel steps to see conversion analysis`,\"results.empty.flow\":`Configure flow analysis to see user journey paths`,\"results.empty.title\":`No Results Yet`,\"results.ai.button\":`Analyse with AI`,\"results.noData.title\":`Query Successful`,\"results.noData.subtitle\":`No data returned from the query`,\"results.chart.noData\":`No data to display`,\"results.chart.noDataHint\":`Run a query to see chart visualisation`,\"results.chart.unsupported\":`Unsupported chart type`,\"results.refreshing\":`Refreshing results...`,\"results.header.rows\":`rows`,\"results.header.row\":`row`,\"results.header.stale\":`Results may be outdated`,\"results.header.failed\":`Query failed`,\"results.header.executing\":`Executing...`,\"results.header.noResults\":`No results`,\"results.view.chart\":`Chart`,\"results.view.merged\":`Merged`,\"results.warning.largeDataset\":`Large dataset:`,\"results.warning.configChanged\":`Query configuration changed. Results may be outdated.`,\"results.warning.refreshNow\":`Refresh Now`,\"results.share.copied\":`Copied!`,\"results.share.noChart\":`(no chart)`,\"server.errors.dbNotConfigured\":`Database executor not configured`,\"server.errors.cubeNotFound\":`Cube '{cubeName}' not found`,\"server.errors.noCubesInQuery\":`No cubes found in query`,\"server.errors.dbAdapterRequired\":`DatabaseExecutor must have a databaseAdapter property`,\"server.errors.rlsRequiresTransactions\":`rlsSetup requires a database driver that supports transactions (db.transaction)`,\"server.errors.queryExecutionFailed\":`Query execution failed: {message}`,\"server.errors.queryExecutionUnknown\":`Query execution failed: Unknown error`,\"server.errors.noCompareDateRange\":`No compareDateRange found in query`,\"server.errors.compareDateRangeInvalid\":`compareDateRange requires at least 2 periods`,\"server.errors.funnelValidationFailed\":`Funnel validation failed: {errors}`,\"server.errors.flowValidationFailed\":`Flow validation failed: {errors}`,\"server.errors.retentionValidationFailed\":`Retention validation failed: {errors}`,\"server.errors.cubeRefUnresolved\":`{cubeName}.joins.{joinName}: target cube '{targetCube}' is not registered`,\"server.errors.unresolvedCubeRefs\":`Unresolved cube references:\n{details}`,\"server.errors.calculatedMeasureValidation\":`Calculated measure validation failed for cube '{cubeName}':\n{details}`,\"server.errors.queryValidationFailed\":`Query validation failed: {errors}`,\"server.errors.queryContainsMultipleModes\":`Query contains multiple query modes: {modes}`,\"server.errors.primaryCubeNotFound\":`Primary cube '{cubeName}' not found`,\"server.errors.noJoinPath\":`No join path found from '{fromCube}' to '{toCube}'`,\"server.errors.cubeNotFoundForMeasure\":`Cube '{cubeName}' not found for measure '{measure}'`,\"server.errors.cubeNotFoundForDimension\":`Cube '{cubeName}' not found for dimension '{dimension}'`,\"server.errors.cubeNotFoundForTimeDimension\":`Cube '{cubeName}' not found for time dimension '{timeDimension}'`,\"server.errors.invalidFunnelConfig\":`Query does not contain a valid funnel configuration`,\"server.errors.invalidFlowConfig\":`Query does not contain a valid flow configuration`,\"server.errors.invalidRetentionConfig\":`Query does not contain a valid retention configuration`,\"server.errors.llmInitFailed\":`Failed to initialize LLM provider`,\"server.validation.ai.bindingKeyRequired.flow\":`flow.bindingKey is required`,\"server.validation.ai.bindingKeyRequired.funnel\":`funnel.bindingKey is required`,\"server.validation.ai.bindingKeyRequired.retention\":`retention.bindingKey is required`,\"server.validation.ai.cubeNotFoundInFilter\":`Cube '{cubeName}' not found in filter`,\"server.validation.ai.cubeNotFoundWithAvailable\":`Cube '{cubeName}' not found`,\"server.validation.ai.cubeNotFoundWithSuggestion\":`Cube '{cubeName}' not found`,\"server.validation.ai.dimensionNotFoundWithAvailable\":`Dimension '{dimensionName}' not found on cube '{cubeName}'`,\"server.validation.ai.dimensionNotFoundWithSuggestion\":`Dimension '{dimensionName}' not found on cube '{cubeName}'`,\"server.validation.ai.dimensionNotTimeType\":`Dimension '{dimension}' is not a time type (it's '{type}')`,\"server.validation.ai.emptyQuery\":`Query must have at least one measure or dimension`,\"server.validation.ai.eventDimensionRequired\":`flow.eventDimension is required`,\"server.validation.ai.filterFieldNotFound\":`Filter field '{fieldName}' not found on cube '{cubeName}'`,\"server.validation.ai.filterFieldNotFoundWithSuggestion\":`Filter field '{fieldName}' not found on cube '{cubeName}'`,\"server.validation.ai.funnelRequiresSteps\":`funnel requires at least 2 steps`,\"server.validation.ai.funnelStepsRequired\":`funnel.steps array is required`,\"server.validation.ai.granularityNotSpecified\":`retention.granularity not specified`,\"server.validation.ai.invalidDimensionFormat\":`Invalid dimension format: '{dimension}'. Expected 'CubeName.dimensionName'`,\"server.validation.ai.invalidFilterMemberFormat\":`Invalid filter member format: '{member}'`,\"server.validation.ai.invalidMeasureFormat\":`Invalid measure format: '{measure}'. Expected 'CubeName.measureName'`,\"server.validation.ai.measureNotFoundWithAvailable\":`Measure '{measureName}' not found on cube '{cubeName}'`,\"server.validation.ai.measureNotFoundWithSuggestion\":`Measure '{measureName}' not found on cube '{cubeName}'`,\"server.validation.ai.performanceManyDimensions\":`Query has {count} dimensions, which may produce many rows`,\"server.validation.ai.performanceManyMeasures\":`Query has {count} measures, which may impact performance`,\"server.validation.ai.periodsNotSpecified\":`retention.periods not specified`,\"server.validation.ai.retentionTimeDimensionRequired\":`retention.timeDimension is required`,\"server.validation.ai.stepMissingName\":`Step {step} is missing a name`,\"server.validation.ai.stepsBothMissing\":`Neither stepsBefore nor stepsAfter specified`,\"server.validation.ai.suggestAddDimensionFilters\":`Consider adding filters or reducing dimensions`,\"server.validation.ai.suggestAddStepNames\":`Add descriptive names to funnel steps`,\"server.validation.ai.suggestSetSteps\":`Set stepsBefore and/or stepsAfter to see event sequences`,\"server.validation.ai.suggestSpecifyGranularity\":`Specify granularity: \"day\", \"week\", or \"month\"`,\"server.validation.ai.suggestSpecifyPeriods\":`Specify number of periods to analyze`,\"server.validation.ai.suggestSplitQueries\":`Consider splitting into multiple queries`,\"server.validation.ai.suggestUseTimeDimension\":`Use a dimension with type \"time\" for timeDimensions`,\"server.validation.ai.timeDimensionRequired.flow\":`flow.timeDimension is required`,\"server.validation.ai.timeDimensionRequired.funnel\":`funnel.timeDimension is required`,\"server.validation.chart.barNeedsDimension\":`Bar charts need an xAxis dimension for category labels. Add a dimension to the query or use \"table\" chart type instead.`,\"server.validation.chart.barXAxisRequired\":`chartConfig.xAxis is required for bar charts. Put a dimension in xAxis so bars have category labels.`,\"server.validation.chart.dropZoneRequired\":`chartConfig.{key} is required for {chartType} chart ({label}). Accepts: {acceptDesc}.`,\"server.validation.chart.seriesDuplicatesXAxis\":`chartConfig.series must not contain the same field as xAxis (found: {duplicates}). The series field is only for splitting into grouped/stacked sub-series by a DIFFERENT dimension. Remove the duplicate from series.`,\"server.validation.flow.bindingKeyCubeNotFound\":`Binding key cube not found: {cubeName}`,\"server.validation.flow.bindingKeyDimNotFound\":`Binding key dimension not found: {dimName} in cube {cubeName}`,\"server.validation.flow.bindingKeyMappingCubeNotFound\":`Binding key mapping cube not found: {cubeName}`,\"server.validation.flow.eventDimCubeNotFound\":`Event dimension cube not found: {cubeName}`,\"server.validation.flow.eventDimNotFound\":`Event dimension not found: {dimName} in cube {cubeName}`,\"server.validation.flow.eventDimRequired\":`Event dimension is required for flow analysis`,\"server.validation.flow.highStepDepthWarning\":`High step depth (4-5) may impact query performance on large datasets`,\"server.validation.flow.invalidBindingKeyFormat\":`Invalid binding key format: {bindingKey}. Expected 'CubeName.dimensionName'`,\"server.validation.flow.invalidEventDimFormat\":`Invalid event dimension format: {eventDimension}. Expected 'CubeName.dimensionName'`,\"server.validation.flow.invalidJoinStrategy\":`Invalid joinStrategy: {joinStrategy}`,\"server.validation.flow.invalidTimeDimFormat\":`Invalid time dimension format: {timeDimension}. Expected 'CubeName.dimensionName'`,\"server.validation.flow.lateralNotSupported\":`Lateral joins are not supported on this database`,\"server.validation.flow.lateralNotSupportedExec\":`Lateral joins with CTE references are not supported on this database`,\"server.validation.flow.sqliteNotSupported\":`Flow queries are not supported on SQLite. Use PostgreSQL or MySQL for flow analysis.`,\"server.validation.flow.startingStepFilterRequired\":`Starting step must have at least one filter`,\"server.validation.flow.startingStepNameMissing\":`Starting step has no name - using default`,\"server.validation.flow.startingStepRequired\":`Starting step is required for flow analysis`,\"server.validation.flow.stepsBeforeRange\":`stepsBefore must be between 0 and 5, got: {value}`,\"server.validation.flow.stepsAfterRange\":`stepsAfter must be between 0 and 5, got: {value}`,\"server.validation.flow.timeDimCubeNotFound\":`Time dimension cube not found: {cubeName}`,\"server.validation.flow.timeDimNotFound\":`Time dimension not found: {dimName} in cube {cubeName}`,\"server.validation.funnel.bindingKeyCubeNotFound\":`Binding key cube not found: {cubeName}`,\"server.validation.funnel.bindingKeyDimNotFound\":`Binding key dimension not found: {dimName} in cube {cubeName}`,\"server.validation.funnel.bindingKeyMappingCubeNotFound\":`Binding key mapping cube not found: {cubeName}`,\"server.validation.funnel.invalidBindingKeyFormat\":`Invalid binding key format: {bindingKey}. Expected 'CubeName.dimensionName'`,\"server.validation.funnel.invalidTimeDimFormat\":`Invalid time dimension format: {timeDimension}. Expected 'CubeName.dimensionName'`,\"server.validation.funnel.minSteps\":`Funnel must have at least 2 steps`,\"server.validation.funnel.stepCubeNotFound\":`Step {step} cube not found: {cube}`,\"server.validation.funnel.stepFilterCubeNotFound\":`Step {step} filter cube not found: {cubeName}`,\"server.validation.funnel.stepFilterIsMeasure\":`Step {step} filter '{member}' is a measure. Funnel step filters only support dimensions, not measures.`,\"server.validation.funnel.stepFilterMemberNotFound\":`Step {step} filter member not found: {field} in cube {cubeName}`,\"server.validation.funnel.stepFilterNoJoinPath\":`Step {step} filter '{member}' requires a join from '{stepCube}' but no join path was found. Define a join relationship between these cubes.`,\"server.validation.funnel.stepMustHaveName\":`Step {step} must have a name`,\"server.validation.funnel.stepTimeToConvertFormat\":`Step {step} timeToConvert must be ISO 8601 duration format: {value}`,\"server.validation.funnel.timeDimCubeNotFound\":`Time dimension cube not found: {cubeName}`,\"server.validation.funnel.timeDimNotFound\":`Time dimension not found: {dimName} in cube {cubeName}`,\"server.validation.retention.bindingKeyCubeNotFound\":`Binding key cube not found: {cubeName}`,\"server.validation.retention.bindingKeyDimNotFound\":`Binding key dimension not found: {dimName} in cube {cubeName}`,\"server.validation.retention.bindingKeyMappingCubeNotFound\":`Binding key mapping cube not found: {cubeName}`,\"server.validation.retention.breakdownDimCubeNotFound\":`Breakdown dimension cube not found: {cubeName}`,\"server.validation.retention.breakdownDimNotFound\":`Breakdown dimension not found: {dimName} in cube {cubeName}`,\"server.validation.retention.cubeNotFound\":`Cube not found: {cubeName}`,\"server.validation.retention.dateRangeEndRequired\":`Date range end is required`,\"server.validation.retention.dateRangeInvalidEnd\":`Invalid date range end format`,\"server.validation.retention.dateRangeInvalidStart\":`Invalid date range start format`,\"server.validation.retention.dateRangeRequired\":`Date range is required`,\"server.validation.retention.dateRangeStartBeforeEnd\":`Date range start must be before or equal to end`,\"server.validation.retention.dateRangeStartRequired\":`Date range start is required`,\"server.validation.retention.invalidBindingKeyFormat\":`Invalid binding key format: {bindingKey}. Expected 'CubeName.dimensionName'`,\"server.validation.retention.invalidBreakdownDimFormat\":`Invalid breakdown dimension format: {dimension}. Expected 'CubeName.dimensionName'`,\"server.validation.retention.invalidGranularity\":`Invalid granularity: {granularity}`,\"server.validation.retention.invalidRetentionType\":`Invalid retention type: {retentionType}`,\"server.validation.retention.invalidTimeDimFormat\":`Invalid time dimension format: {timeDimension}`,\"server.validation.retention.noBindingKeyMapping\":`No binding key mapping found for cube: {cubeName}`,\"server.validation.retention.periodsMax\":`Periods cannot exceed 52 (performance limit)`,\"server.validation.retention.periodsMin\":`Periods must be at least 1`,\"server.validation.retention.timeDimNotFound\":`Time dimension not found: {dimName}`,\"server.validation.calculatedMeasure.mustHaveCalculatedSql\":`Calculated measure '{cubeName}.{fieldName}' must have calculatedSql property`,\"server.validation.calculatedMeasure.invalidSyntax\":`Invalid calculatedSql syntax in '{cubeName}.{fieldName}': {errors}`,\"server.validation.calculatedMeasure.circularDependency\":`Circular dependency detected in calculated measures: {cycle}`,\"server.validation.query.multipleQueryModes\":`Query contains multiple query modes: {modes}`,\"server.validation.query.funnelBindingKeyCubeNotFound\":`Funnel binding key cube not found: {cubeName}`,\"server.validation.query.flowBindingKeyCubeNotFound\":`Flow binding key cube not found: {cubeName}`,\"server.validation.query.retentionCubeNotFound\":`Retention cube not found: {cubeName}`,\"server.validation.query.retentionBindingKeyCubeNotFound\":`Retention binding key cube not found: {cubeName}`,\"server.validation.query.retentionBreakdownCubeNotFound\":`Retention breakdown cube not found: {cubeName}`,\"server.validation.query.invalidMeasureFormat\":`Invalid measure format: {measure}. Expected format: 'CubeName.fieldName'`,\"server.validation.query.cubeNotFoundForMeasure\":`Cube '{cubeName}' not found (referenced in measure '{measure}')`,\"server.validation.query.measureNotFound\":`Measure '{fieldName}' not found on cube '{cubeName}'{hint}`,\"server.validation.query.invalidDimensionFormat\":`Invalid dimension format: {dimension}. Expected format: 'CubeName.fieldName'`,\"server.validation.query.cubeNotFoundForDimension\":`Cube '{cubeName}' not found (referenced in dimension '{dimension}')`,\"server.validation.query.dimensionNotFound\":`Dimension '{fieldName}' not found on cube '{cubeName}'{hint}`,\"server.validation.query.invalidTimeDimensionFormat\":`Invalid timeDimension format: {dimension}. Expected format: 'CubeName.fieldName'`,\"server.validation.query.cubeNotFoundForTimeDimension\":`Cube '{cubeName}' not found (referenced in timeDimension '{dimension}')`,\"server.validation.query.timeDimensionNotFound\":`TimeDimension '{fieldName}' not found on cube '{cubeName}' (must be a dimension with time type)`,\"server.validation.query.mustReferenceAtLeastOneCube\":`Query must reference at least one cube through measures, dimensions, or filters`,\"server.validation.query.ungroupedRequiresDimension\":`Ungrouped queries require at least one dimension or time dimension`,\"server.validation.query.ungroupedIncompatibleFunnel\":`Ungrouped queries are incompatible with funnel analysis`,\"server.validation.query.ungroupedIncompatibleFlow\":`Ungrouped queries are incompatible with flow analysis`,\"server.validation.query.ungroupedIncompatibleRetention\":`Ungrouped queries are incompatible with retention analysis`,\"server.validation.query.ungroupedIncompatibleCompareDateRange\":`Ungrouped queries are incompatible with compareDateRange`,\"server.validation.query.ungroupedIncompatibleFillMissingDates\":`Ungrouped queries are incompatible with fillMissingDates`,\"server.validation.query.filterMustHaveMember\":`Filter must have a member field`,\"server.validation.query.invalidFilterMemberFormat\":`Invalid filter member format: {member}. Expected format: 'CubeName.fieldName'`,\"server.validation.query.cubeNotFoundForFilter\":`Cube '{cubeName}' not found (referenced in filter '{member}')`,\"server.validation.query.filterFieldNotFound\":`Filter field '{fieldName}' not found on cube '{cubeName}' (must be a dimension or measure){hint}`,\"server.errors.funnel.cubeNotFoundForStep\":`Cube not found for step: {cube}`,\"server.errors.funnel.cubeNotFoundForBindingKey\":`Cube not found for binding key: {bindingKey}`,\"server.errors.funnel.cannotResolveCubeForStep\":`Cannot resolve cube for step - multi-cube funnel requires cube specification in each step`,\"server.errors.funnel.bindingKeyDimNotFound\":`Binding key dimension not found: {bindingKey}`,\"server.errors.funnel.noBindingKeyMapping\":`No binding key mapping found for cube: {cubeName}`,\"server.errors.funnel.bindingKeyMappingDimNotFound\":`Binding key dimension not found: {dimension}`,\"server.errors.funnel.timeDimNotFound\":`Time dimension not found: {timeDimension}`,\"server.errors.funnel.noTimeDimMapping\":`No time dimension mapping found for cube: {cubeName}`,\"server.errors.funnel.timeDimMappingNotFound\":`Time dimension not found: {dimension}`,\"server.errors.flow.cannotResolveCube\":`Cannot resolve cube for flow query`,\"server.errors.flow.cubeNotFound\":`Cube not found: {cubeName}`,\"server.errors.flow.bindingKeyDimNotFound\":`Binding key dimension not found: {bindingKey}`,\"server.errors.flow.noBindingKeyMapping\":`No binding key mapping found for cube: {cubeName}`,\"server.errors.flow.bindingKeyMappingDimNotFound\":`Binding key dimension not found: {dimension}`,\"server.errors.flow.timeDimNotFound\":`Time dimension not found: {timeDimension}`,\"server.errors.flow.noTimeDimMapping\":`No time dimension mapping found for cube: {cubeName}`,\"server.errors.flow.timeDimMappingNotFound\":`Time dimension not found: {dimension}`,\"server.errors.flow.eventDimNotFound\":`Event dimension not found: {eventDimension}`,\"server.validation.template.emptyReference\":`Empty member reference {} found in template`,\"server.validation.template.invalidMemberReference\":`Invalid member reference {ref}: must start with letter or underscore, and contain only letters, numbers, underscores, and dots`,\"server.validation.template.multipleDots\":`Invalid member reference {ref}: only one dot allowed (Cube.measure format)`,\"server.validation.template.nestedBraces\":`Nested braces are not allowed in member references`,\"server.validation.template.substituteTargetCubeNotFound\":`Cannot substitute {ref}: cube '{cubeName}' not found`,\"server.validation.template.substituteMeasureNotResolved\":`Cannot substitute {ref}: measure '{measureName}' not resolved yet. Ensure measures are resolved in dependency order.`,\"server.validation.template.unmatchedClosingBrace\":`Unmatched closing brace at position {position}`,\"server.validation.template.unmatchedOpeningBrace\":`Unmatched opening brace in template`,\"notebook.aiAssistant\":`AI Assistant`,\"notebook.saveAsDashboard\":`Save as Dashboard`,\"notebook.saveAsDashboardTitle\":`Save notebook as a dashboard`,\"notebook.clearTitle\":`Clear notebook and chat`,\"notebook.feedbackThanks\":`Thanks for your feedback!`,\"notebook.feedbackQuestion\":`Was this helpful?`,\"notebook.feedbackYes\":`Yes`,\"notebook.feedbackNo\":`No`,\"notebook.thinking\":`Thinking...`,\"notebook.emptyState.title\":`Data Analysis Assistant`,\"notebook.emptyState.description\":`Ask me about your data and I'll create visualizations and insights.`,\"notebook.emptyState.example1\":`\"Show me employee productivity trends\"`,\"notebook.emptyState.example2\":`\"What are the top departments by headcount?\"`,\"notebook.emptyState.example3\":`\"Compare revenue across product categories\"`,\"notebook.saveAsDashboardPrompt\":`Save the current notebook as a dashboard with a professional layout, section headers, and appropriate filters.`,\"notebook.chatInput.placeholder\":`Ask about your data...`,\"notebook.chatInput.stop\":`Stop`,\"notebook.chatInput.continue\":`Continue`,\"notebook.chatInput.send\":`Send`,\"notebook.canvas.emptyTitle\":`Your notebook is empty`,\"notebook.canvas.emptyDescription\":`Ask the AI assistant a question about your data. Charts and insights will appear here as the assistant analyzes your data.`,\"notebook.canvas.editVisualization\":`Edit Visualization`,\"notebook.canvas.update\":`Update`,\"notebook.collapsed.noBlocks\":`No blocks`,\"notebook.collapsed.expandNotebook\":`Expand notebook`,\"notebook.collapsed.expandChat\":`Expand AI chat`,\"notebook.collapsed.aiChat\":`AI Chat`,\"notebook.collapsed.markdown\":`Markdown`,\"schema.loading\":`Loading cube schema...`,\"schema.error\":`Failed to load cube schema`,\"schema.noCubes\":`No cubes found`,\"schema.noCubesHint\":`Register some cubes to see the relationship diagram`,\"schema.computingLayout\":`Computing layout...`,\"schema.searchPlaceholder\":`Search cubes and fields...`,\"schema.autoLayout\":`Auto Layout`,\"schema.missingDeps.title\":`Schema Visualization requires additional packages`,\"schema.missingDeps.description\":`Install the required dependencies to enable the interactive schema diagram:`,\"schema.loadingVisualization\":`Loading schema visualization...`,\"schema.measures\":`Measures ({count})`,\"schema.timeDimensions\":`Time Dimensions ({count})`,\"schema.dimensions\":`Dimensions ({count})`,\"schema.cubeInfo\":`Cube info`,\"dataBrowser.selectCube\":`Select a cube`,\"dataBrowser.selectCubeHint\":`Choose a cube from the sidebar to browse its data`,\"dataBrowser.loadingData\":`Loading data...`,\"dataBrowser.noData\":`No data`,\"dataBrowser.noRows\":`No rows returned for this query`,\"dataBrowser.toolbar.filters\":`Filters`,\"dataBrowser.toolbar.columns\":`Columns`,\"dataBrowser.toolbar.rows\":`{count} rows`,\"dataBrowser.sidebar.cubes\":`Cubes`,\"dataBrowser.sidebar.searchPlaceholder\":`Search...`,\"dataBrowser.sidebar.noCubes\":`No cubes found`,\"queryAnalysis.summary\":`Query Summary`,\"queryAnalysis.summary.type\":`Type`,\"queryAnalysis.summary.cubes\":`Cubes`,\"queryAnalysis.summary.joins\":`Joins`,\"queryAnalysis.summary.ctes\":`CTEs`,\"queryAnalysis.summary.strategy\":`Strategy`,\"queryAnalysis.primaryCube\":`Primary Cube (FROM table)`,\"queryAnalysis.primaryCube.showCandidates\":`Show candidates ({count})`,\"queryAnalysis.primaryCube.reachable\":`reachable`,\"queryAnalysis.primaryCube.cannotReachAll\":`cannot reach all`,\"queryAnalysis.joinPaths\":`Join Paths`,\"queryAnalysis.joinPaths.steps\":`{count} step`,\"queryAnalysis.joinPaths.stepsPlural\":`{count} steps`,\"queryAnalysis.joinPaths.noPath\":`No path`,\"queryAnalysis.joinPaths.selection\":`Selection:`,\"queryAnalysis.joinPaths.pathCandidates\":`Path scoring candidates ({count})`,\"queryAnalysis.joinPaths.visitedCubes\":`Cubes visited during search ({count})`,\"queryAnalysis.preAggregations\":`Pre-Aggregation CTEs`,\"queryAnalysis.preAggregations.measures\":`Measures:`,\"queryAnalysis.preAggregations.joinKeys\":`Join keys:`,\"queryAnalysis.warnings\":`Warnings`,\"queryAnalysis.cubesInvolved\":`Cubes involved:`,\"common.actions.copied\":`Copied`,\"common.actions.copyToClipboard\":`Copy to clipboard`,\"chart.runtime.noData\":`No data available`,\"chart.runtime.noDataHint.bar\":`No data points to display in bar chart`,\"chart.runtime.noDataHint.line\":`No data points to display in line chart`,\"chart.runtime.noDataHint.area\":`No data points to display in area chart`,\"chart.runtime.noDataHint.pie\":`No data points to display in pie chart`,\"chart.runtime.noDataHint.scatter\":`No data points to display in scatter chart`,\"chart.runtime.noDataHint.radar\":`No data points to display in radar chart`,\"chart.runtime.noDataHint.radialBar\":`No data points to display in radial bar chart`,\"chart.runtime.noDataHint.treemap\":`No data points to display in treemap chart`,\"chart.runtime.noDataHint.bubble\":`No data points to display in bubble chart`,\"chart.runtime.noDataHint.boxPlot\":`No data points to display in box plot chart`,\"chart.runtime.noDataHint.waterfall\":`No data points to display in waterfall chart`,\"chart.runtime.noDataHint.candlestick\":`No data points to display in candlestick chart`,\"chart.runtime.noDataHint.gauge\":`No data points to display in gauge chart`,\"chart.runtime.noDataHint.measureProfile\":`No data points to display in measure profile chart`,\"chart.runtime.noDataHint.activityGrid\":`No data points to display in activity grid`,\"chart.runtime.noDataHint.heatmap\":`Run a query to see heatmap visualization`,\"chart.runtime.noDataHint.table\":`No data to display in table`,\"chart.runtime.noDataHint.kpi\":`No data points to display`,\"chart.runtime.noDataHint.funnel\":`Configure a funnel with at least 2 steps and a binding key`,\"chart.runtime.noDataHint.flow\":`Configure a flow analysis with a starting step and event dimension`,\"chart.runtime.noDataHint.retention\":`Configure retention analysis to see results`,\"chart.runtime.noValidData\":`No valid data`,\"chart.runtime.noValidDataHint.bar\":`No valid data points for bar chart after transformation`,\"chart.runtime.noValidDataHint.line\":`No valid data points for line chart after transformation`,\"chart.runtime.noValidDataHint.area\":`No valid data points for area chart after transformation`,\"chart.runtime.noValidDataHint.scatter\":`No valid data points for scatter chart after transformation`,\"chart.runtime.noValidDataHint.radar\":`No valid data points for radar chart after transformation`,\"chart.runtime.noValidDataHint.radialBar\":`No valid data points for radial bar chart after transformation`,\"chart.runtime.noValidDataHint.treemap\":`No valid data points for treemap chart after transformation`,\"chart.runtime.noValidDataHint.pie\":`No data points to display in pie chart`,\"chart.runtime.noValidDataHint.pieFiltered\":`Filtered out {count} data points (zero or invalid values)`,\"chart.runtime.noValidDataHint.boxPlot\":`Could not compute box plot statistics from the provided data`,\"chart.runtime.noValidDataHint.gauge\":`Gauge value is not a valid number`,\"chart.runtime.noValidDataHint.kpiText\":`All values are null or invalid`,\"chart.runtime.configError\":`Configuration Error`,\"chart.runtime.configErrorHint.axisInvalid\":`Invalid or missing chart axis configuration`,\"chart.runtime.configErrorHint.axisFields\":`Missing required X-axis or Y-axis fields`,\"chart.runtime.configErrorHint.pieAxis\":`chartConfig.x/y or chartConfig.xAxis/yAxis required for pie chart`,\"chart.runtime.configErrorHint.radarNumeric\":`No numeric fields found for radar chart values`,\"chart.runtime.configErrorHint.radialBarNumeric\":`No numeric field found for radial bar chart values`,\"chart.runtime.configErrorHint.treemapNumeric\":`No numeric field found for treemap chart size`,\"chart.runtime.configErrorHint.noMeasure\":`No measure field configured`,\"chart.runtime.configErrorHint.noMeasures\":`No measure fields configured`,\"chart.runtime.configErrorHint.bubbleRequired\":`Bubble chart requires xAxis, yAxis, series, and sizeField dimensions`,\"chart.runtime.configErrorHint.bubbleOptional\":`Optional: colorField for bubble coloring`,\"chart.runtime.configErrorHint.activityGridRequired\":`Activity grid requires a time dimension and a measure`,\"chart.runtime.chartError\":`{chartType} Error`,\"chart.runtime.unknownError\":`Unknown rendering error`,\"chart.runtime.checkConfig\":`Check the data and configuration`,\"chart.runtime.unableToRender\":`Unable to render retention data`,\"chart.runtime.dataFormatIncorrect\":`Data format may be incorrect`,\"chart.runtime.measuringDimensions\":`Measuring chart dimensions...`,\"chart.runtime.unableToDisplay\":`Unable to display chart`,\"chart.runtime.responsiveContainerError\":`Failed to create responsive container`,\"chart.runtime.noDataToDisplay\":`No data to display`,\"chart.runtime.table.invalidStructure\":`Data structure is invalid`,\"chart.runtime.heatmapNoResults\":`The query returned no results for the heatmap`,\"chart.runtime.heatmapConfigRequired\":`Configuration required`,\"chart.runtime.heatmapXRequired\":`X-axis dimension required. `,\"chart.runtime.heatmapYRequired\":`Y-axis dimension required. `,\"chart.runtime.heatmapValueRequired\":`Value measure required.`,\"chart.runtime.heatmapTruncated\":`Data truncated to {maxRows}x{maxCols} cells (original: {originalRows}x{originalCols}). Add filters to reduce dimensions.`,\"chart.runtime.activityGridGranularityTooHigh\":`Granularity Too High`,\"chart.runtime.activityGridGranularityHint\":`Activity grids work best with hour, day, week, month, or quarter granularity`,\"chart.runtime.activityGridGranularityAction\":`Please choose a lower granularity for your time dimension`,\"chart.runtime.activityGridConfigRequired\":`Configuration Required`,\"chart.runtime.retention.cohort\":`Cohort`,\"chart.runtime.retention.segment\":`Segment`,\"chart.runtime.retention.users\":`Users`,\"chart.runtime.retention.cohortSize\":`Cohort Size: {count}`,\"chart.runtime.retention.retained\":`Retained: {count}`,\"chart.runtime.retention.rate\":`Rate: {rate}`,\"chart.runtime.retention.retentionPercent\":`Retention %`,\"chart.runtime.retention.periodLabel\":`{cohort} - Period {period}`,\"chart.runtime.retention.noData\":`No data`,\"chart.runtime.retention.total\":`Total`,\"chart.runtime.retention.retention\":`Retention`,\"chart.runtime.funnel.noData\":`No funnel data`,\"chart.runtime.funnel.steps\":`steps`,\"chart.runtime.funnel.overall\":`Overall:`,\"chart.runtime.funnel.completed\":`{completed} / {total} completed`,\"chart.runtime.flow.noData\":`No flow data`,\"chart.runtime.flow.events\":`events`,\"chart.runtime.flow.eventsAfter\":`events (after)`,\"chart.runtime.flow.paths\":`Paths:`,\"chart.runtime.flow.startingEntities\":`starting entities`,\"chart.runtime.flow.entities\":`entities`,\"chart.runtime.kpiDelta.insufficientData\":`Insufficient Data`,\"chart.runtime.kpiDelta.requiresTwoPoints\":`Delta calculation requires at least 2 data points`,\"chart.runtime.kpiDelta.currentPoints\":`Current data points: {count}`,\"chart.runtime.kpiDelta.noVariance\":`No variance data`,\"chart.runtime.kpiNumber.noData\":`No data`,\"chart.runtime.markdown.noContent\":`No content`,\"chart.runtime.markdown.addContent\":`Add markdown content in the chart configuration`,\"chart.runtime.axisFormat.label\":`Label`,\"chart.runtime.axisFormat.autoLabel\":`Auto-generated label`,\"chart.runtime.axisFormat.unit\":`Unit`,\"chart.runtime.axisFormat.custom\":`Custom`,\"chart.runtime.axisFormat.prefix\":`Prefix`,\"chart.runtime.axisFormat.prefixExample\":`e.g., $`,\"chart.runtime.axisFormat.suffix\":`Suffix`,\"chart.runtime.axisFormat.suffixExample\":`e.g., units`,\"chart.runtime.axisFormat.abbreviation\":`Abbreviation`,\"chart.runtime.axisFormat.yes\":`Yes`,\"chart.runtime.axisFormat.no\":`No`,\"chart.runtime.axisFormat.decimals\":`Decimals`,\"chart.runtime.axisFormat.preview\":`Preview`,\"chart.runtime.axisFormat.leftYAxis\":`Left Y-Axis`,\"chart.runtime.axisFormat.rightYAxis\":`Right Y-Axis`,\"chart.runtime.axisFormat.xAxis\":`X-Axis`,\"chart.runtime.missingDep.title\":`Missing Dependency`,\"chart.runtime.missingDep.description\":`The {chartType} chart requires the {packageName} package.`,\"chart.runtime.missingDep.restartHint\":`After installing, restart your development server.`,\"chart.runtime.unknownChartType\":`Unknown chart type`,\"chart.runtime.unknownChartTypeHint\":`\"{chartType}\" is not registered`,\"chart.runtime.boxPlot.truncated\":`Data truncated to {max} groups (original: {total})`,\"chart.runtime.candlestick.truncated\":`Showing first {max} candles (total: {total})`,\"chart.runtime.bar.hiddenPoints\":`{count} data point(s) with no values hidden`,\"chart.runtime.waterfall.increase\":`Increase`,\"chart.runtime.waterfall.decrease\":`Decrease`,\"chart.runtime.waterfall.total\":`Total`,\"chart.runtime.tooltip.noData\":`No data`,\"chart.runtime.tooltip.targetValue\":`Target Value`,\"results.toolbar.refreshing\":`Refreshing`,\"results.toolbar.refresh\":`Refresh`,\"results.toolbar.refreshTitle\":`Refresh data (Shift+click to bypass cache)`,\"results.toolbar.refreshingTitle\":`Refreshing...`,\"results.toolbar.cacheBustTitle\":`Click to refresh and bypass cache`,\"results.toolbar.clear\":`Clear`,\"results.toolbar.clearFunnel\":`Clear funnel`,\"results.toolbar.clearQuery\":`Clear all query data`,\"results.toolbar.aiClose\":`Close AI assistant`,\"results.toolbar.aiOpen\":`Analyse with AI`,\"results.toolbar.shareTitle\":`Share this analysis`,\"results.toolbar.shareCopied\":`Link copied!`,\"results.toolbar.schemaHide\":`Hide schema diagram`,\"results.toolbar.schemaShow\":`Show schema diagram`,\"results.toolbar.debugHide\":`Hide debug info`,\"results.toolbar.debugShow\":`Show debug info`,\"results.toolbar.chartView\":`Chart view`,\"results.toolbar.chartDisabled\":`Add metrics to enable chart view`,\"results.toolbar.tableView\":`Table view`,\"results.toolbar.mergedTableView\":`Merged table view`,\"results.view.table\":`Table`,\"results.warning.filterHint\":`Consider adding filters to improve performance.`,\"results.debug.query\":`Query:`,\"results.debug.queryAnalysis\":`Query Analysis`,\"results.debug.copyMarkdownTitle\":`Copy query, analysis, and SQL as markdown`,\"results.debug.copyAsMarkdown\":`Copy as Markdown`,\"results.debug.analysisError\":`Analysis unavailable due to error`,\"results.debug.analysisEmpty\":`Add metrics to see analysis`,\"results.debug.cubeQuery\":`Cube Query`,\"results.debug.cubeQueryExecuted\":`Executed Query (with funnel filters)`,\"results.debug.funnelFilterHint\":`This query includes an IN filter with binding key values from the previous step`,\"results.debug.noQuery\":`No query`,\"results.debug.serverResponse\":`Server Response`,\"results.debug.noResults\":`No results yet`,\"results.debug.chartConfig\":`Chart Config`,\"results.debug.displayConfig\":`Display Config`,\"results.debug.generatedSql\":`Generated SQL`,\"results.debug.loadingSql\":`Loading SQL...`,\"results.debug.executionError\":`Execution Error`,\"results.confirm.clearFunnel\":`Clear Funnel`,\"results.confirm.clearQuery\":`Clear Query`,\"results.confirm.clearFunnelMessage\":`Are you sure you want to clear this funnel? This action cannot be undone.`,\"results.confirm.clearQueryMessage\":`Are you sure you want to clear this query? This action cannot be undone.`,\"results.table.noData\":`No data to display`,\"results.table.noDataHint\":`Run a query to see table data`,\"results.flow.noData\":`No flow data to display`,\"results.flow.noDataHint\":`Configure flow analysis to see results`,\"results.flow.nodes\":`Nodes ({count})`,\"results.flow.transitions\":`Transitions ({count})`,\"results.flow.layer\":`Layer`,\"results.flow.name\":`Name`,\"results.flow.count\":`Count`,\"results.flow.from\":`From`,\"results.flow.to\":`To`,\"results.debug.funnel.label\":`Funnel Query`,\"results.debug.funnel.steps\":`{count} steps`,\"results.debug.funnel.serverQuery\":`Funnel Server Query`,\"results.debug.funnel.noQuery\":`No funnel query configured`,\"results.debug.funnel.sqlPlaceholder\":`Configure funnel binding key to generate SQL`,\"results.debug.funnel.stepsTitle\":`Funnel Steps`,\"results.debug.flow.label\":`Flow Query`,\"results.debug.flow.badge\":`{before} before, {after} after`,\"results.debug.flow.serverQuery\":`Flow Server Query`,\"results.debug.flow.noQuery\":`No flow query configured`,\"results.debug.flow.sqlPlaceholder\":`Configure flow to generate SQL`,\"results.debug.flow.configTitle\":`Flow Configuration`,\"results.debug.flow.startingStep\":`Starting Step:`,\"results.debug.flow.eventDimension\":`Event Dimension:`,\"results.debug.flow.stepsBefore\":`Steps Before:`,\"results.debug.flow.stepsAfter\":`Steps After:`,\"results.debug.flow.notSet\":`Not set`,\"results.debug.flow.responseTitle\":`Server Response (Sankey Data)`,\"results.debug.retention.label\":`Retention Query`,\"results.debug.retention.badge\":`{segments} segment(s), {users} users`,\"results.debug.retention.serverQuery\":`Retention Server Query`,\"results.debug.retention.configIncomplete\":`Configuration Incomplete`,\"results.debug.retention.configHint\":`Configure the retention analysis settings to generate a query.`,\"results.debug.retention.sqlPlaceholder\":`Configure retention to generate SQL`,\"results.debug.retention.configTitle\":`Retention Configuration`,\"results.debug.retention.summaryTitle\":`Retention Summary`,\"results.debug.retention.retentionType\":`Retention Type:`,\"results.debug.retention.periods\":`Periods:`,\"results.debug.retention.granularity\":`Granularity:`,\"results.debug.retention.segments\":`Segments:`,\"results.debug.retention.avgPeriod1\":`Avg Period 1:`,\"results.debug.retention.maxPeriod1\":`Max Period 1:`,\"results.debug.retention.minPeriod1\":`Min Period 1:`,\"results.debug.standard.sqlPlaceholder\":`Add metrics to generate SQL`,\"flow.tabs.flow\":`Flow`,\"flow.tabs.display\":`Display`,\"flow.tabs.displayUnavailable\":`Display options not available`,\"flow.tabs.displayTitle\":`Display options`,\"flow.visualization.title\":`Visualization`,\"flow.visualization.description\":`Choose how to visualize the flow data. This affects how data is aggregated.`,\"flow.visualization.sankey\":`Sankey`,\"flow.visualization.sankeyHint\":`Paths can converge`,\"flow.visualization.sunburst\":`Sunburst`,\"flow.visualization.sunburstHint\":`Unique paths only`,\"flow.startingStep.title\":`Starting Step`,\"flow.startingStep.description\":`Define the anchor event from which paths will be explored in both directions.`,\"flow.startingStep.filterLabel\":`Filter Conditions`,\"flow.depth.title\":`Exploration Depth`,\"flow.depth.descriptionSankey\":`How many steps to explore before and after the starting step.`,\"flow.depth.descriptionSunburst\":`How many steps to explore after the starting step.`,\"flow.depth.stepsBefore\":`Steps Before`,\"flow.depth.stepsBeforeNA\":`(N/A)`,\"flow.depth.stepsAfter\":`Steps After`,\"flow.depth.performanceWarning\":`High step depth (4-5) may impact query performance on large datasets.`,\"flow.joinStrategy.title\":`Join Strategy`,\"flow.joinStrategy.description\":`Control how before/after steps are fetched. Switch to window if lateral is slower on your DB.`,\"flow.joinStrategy.auto\":`Auto (prefer lateral if available)`,\"flow.joinStrategy.lateral\":`Lateral (index seeks)`,\"flow.joinStrategy.window\":`Window (ROW_NUMBER)`,\"retention.tabs.retention\":`Retention`,\"retention.tabs.display\":`Display`,\"retention.tabs.displayUnavailable\":`Display options not available`,\"retention.tabs.displayTitle\":`Display options`,\"retention.dateRange.title\":`Date Range`,\"retention.dateRange.description\":`Select the date range for cohort entry. Users who first appear within this range will be analyzed.`,\"retention.dateRange.label\":`Date Range`,\"retention.dateRange.selectRange\":`Select date range`,\"retention.dateRange.customRange\":`Custom Range`,\"retention.dateRange.applyCustom\":`Apply Custom Range`,\"retention.cohortFilter.title\":`Cohort Filter`,\"retention.cohortFilter.description\":`Define who enters the cohort. Users whose first event matches these filters within the date range are included.`,\"retention.returnFilter.title\":`Return Filter`,\"retention.returnFilter.description\":`Define what counts as a return. Events matching these filters in subsequent periods count as retention.`,\"retention.breakdown.title\":`Breakdown`,\"retention.breakdown.description\":`Optionally segment retention by dimensions (e.g., country, plan type).`,\"retention.settings.title\":`Settings`,\"retention.settings.description\":`Configure how retention is calculated and displayed.`,\"retention.settings.granularityLabel\":`Period Granularity`,\"retention.settings.periodsLabel\":`Number of Periods ({min}-{max})`,\"retention.settings.periodsWarning\":`High period count may impact query performance.`,\"retention.settings.retentionTypeLabel\":`Retention Type`,\"debug.explainPlan\":`Explain Plan`,\"debug.explainRunning\":`Running...`,\"debug.explainIncludeTiming\":`Include timing`,\"debug.explainRunningAnalyze\":`Running EXPLAIN ANALYZE...`,\"debug.explainRunningBasic\":`Running EXPLAIN...`,\"debug.explainError\":`Explain Error:`,\"debug.sequentialScans\":`Sequential Scans Detected`,\"debug.indexesUsed\":`{count} Index Used`,\"debug.indexesUsedPlural\":`{count} Indexes Used`,\"debug.executionTime\":`Execution: {time}ms`,\"debug.planningTime\":`Planning: {time}ms`,\"debug.cost\":`Cost: {cost}`,\"debug.indexes\":`Indexes:`,\"debug.executionPlanTitle\":`Execution Plan ({database})`,\"debug.aiAnalyzing\":`Analyzing...`,\"debug.aiAnalysis\":`AI Analysis`,\"debug.aiAnalysisError\":`AI Analysis Error:`,\"explainAI.title\":`AI Performance Analysis`,\"explainAI.assessment.good\":`Good`,\"explainAI.assessment.warning\":`Warning`,\"explainAI.assessment.critical\":`Critical`,\"explainAI.summary\":`Summary`,\"explainAI.queryAnalysis\":`Query Analysis`,\"explainAI.issuesFound\":`Issues Found ({count})`,\"explainAI.recommendations\":`Recommendations ({count})`,\"explainAI.noRecommendations\":`No specific recommendations. The query appears to be well-optimized.`,\"explainAI.expectedImpact\":`Expected impact:`,\"explainAI.addToCube\":`Add to {cubeName} cube:`,\"explainAI.modelLabel\":`Model:`,\"explainAI.usingUserKey\":`(using your API key)`,\"explainAI.copied\":`Copied!`,\"explainAI.copy\":`Copy`,\"explainAI.type.index\":`INDEX`,\"explainAI.type.table\":`TABLE`,\"explainAI.type.cube\":`CUBE`,\"explainAI.type.general\":`TIP`,\"errorBoundary.modeError\":`Mode Error`,\"errorBoundary.modeErrorDescription\":`There was a problem with the {mode} mode. This might be due to invalid configuration data.`,\"errorBoundary.showDetails\":`Show error details`,\"errorBoundary.unknownError\":`Unknown error`,\"errorBoundary.tryAgain\":`Try Again`,\"errorBoundary.switchToQuery\":`Switch to Query Mode`,\"funnel.tabs.steps\":`Steps`,\"funnel.tabs.display\":`Display`,\"funnel.tabs.displayUnavailable\":`Display options not available`,\"funnel.tabs.displayTitle\":`Display options`,\"funnel.steps.title\":`Funnel Steps`,\"funnel.steps.emptyMessage\":`No steps defined. Add at least 2 steps to create a funnel.`,\"funnel.steps.addFirst\":`Add First Step`,\"funnel.steps.addStep\":`Add Step`,\"funnel.steps.validationHint\":`Add at least one more step to create a valid funnel`,\"funnel.step.removeTitle\":`Remove step`,\"funnel.step.editNameTitle\":`Click to edit name`,\"funnel.step.placeholder\":`Step name`,\"funnel.step.timeWindow\":`Time Window`,\"funnel.step.timeWindowHelp\":`Max time from previous step to qualify`,\"funnel.step.filters\":`{count} filter`,\"funnel.step.filtersPlural\":`{count} filters`,\"funnel.step.within\":`within {time}`,\"funnel.step.noFilters\":`No filters configured`,\"funnel.config.configuration\":`Configuration`,\"funnel.config.cube\":`Cube`,\"funnel.config.cubeHelp\":`Select a cube configured for funnel analysis`,\"funnel.config.cubePlaceholder\":`Select event stream cube`,\"funnel.config.bindingKey\":`Binding Key`,\"funnel.config.bindingKeyHelp\":`Entity that connects steps (e.g., user ID, order ID)`,\"funnel.config.bindingKeyPlaceholder\":`Select binding key`,\"funnel.config.selectCubeFirst\":`Select cube first`,\"funnel.config.timeDimension\":`Time Dimension`,\"funnel.config.timeDimensionHelp\":`Timestamp field for step ordering`,\"funnel.config.timeDimensionPlaceholder\":`Select time dimension`,\"funnel.config.noMatchingFields\":`No matching fields found`,\"funnel.bindingKey.searchPlaceholder\":`Search dimensions...`,\"funnel.bindingKey.noMatching\":`No matching dimensions found`,\"funnel.bindingKey.helpText\":`Select a dimension that identifies entities across funnel steps (e.g., user ID, order ID)`,\"funnel.bindingKey.clearTitle\":`Clear binding key`,\"flow.config.configuration\":`Configuration`,\"flow.config.cube\":`Cube`,\"flow.config.cubeHelp\":`Select a cube configured for flow analysis`,\"flow.config.cubePlaceholder\":`Select event stream cube`,\"flow.config.bindingKey\":`Binding Key`,\"flow.config.bindingKeyHelp\":`Entity that links events together (e.g., user ID)`,\"flow.config.bindingKeyPlaceholder\":`Select binding key`,\"flow.config.selectCubeFirst\":`Select cube first`,\"flow.config.timeDimension\":`Time Dimension`,\"flow.config.timeDimensionHelp\":`Timestamp field for event ordering`,\"flow.config.timeDimensionPlaceholder\":`Select time dimension`,\"flow.config.eventDimension\":`Event Dimension`,\"flow.config.eventDimensionHelp\":`Dimension that categorizes events (node labels in Sankey)`,\"flow.config.eventDimensionPlaceholder\":`Select event dimension`,\"flow.config.noMatchingFields\":`No matching fields found`,\"retention.config.configuration\":`Configuration`,\"retention.config.cube\":`Cube`,\"retention.config.cubeHelp\":`Select the cube containing your user events`,\"retention.config.cubePlaceholder\":`Select cube`,\"retention.config.bindingKey\":`Binding Key`,\"retention.config.bindingKeyHelp\":`Dimension that identifies entities across events (e.g., user ID, customer ID)`,\"retention.config.bindingKeyPlaceholder\":`Select user identifier`,\"retention.config.selectCubeFirst\":`Select cube first`,\"retention.config.timestamp\":`Timestamp`,\"retention.config.timestampHelp\":`Timestamp field for cohort entry and activity`,\"retention.config.timestampPlaceholder\":`Select timestamp`,\"retention.config.noMatchingFields\":`No matching fields found`,\"retention.config.searchPlaceholder\":`Search...`,\"display.showLegend\":`Show Legend`,\"display.showGrid\":`Show Grid`,\"display.showTooltip\":`Show Tooltip`,\"display.stacked\":`Stacked`,\"display.hideHeader\":`Hide Header`,\"fieldSearch.aria.closeDialog\":`Close dialog`,\"fieldSearch.aria.filterByCube\":`Filter by cube`,\"fieldSearch.aria.cubeCategories\":`Cube categories`,\"fieldSearch.aria.availableFields\":`Available fields`,\"chart.dropZone.required\":`This field is required`,\"common.actions.apply\":`Apply`,\"common.actions.done\":`Done`,\"common.actions.update\":`Update`,\"common.actions.retry\":`Retry`,\"common.actions.exit\":`Exit`,\"common.actions.selectAll\":`Select All`,\"common.saving\":`Saving...`,\"common.labels.title\":`Title`,\"dashboardFilter.editFilter\":`Edit Filter`,\"dashboardFilter.filterLabel\":`Filter Label`,\"dashboardFilter.enterFilterLabel\":`Enter filter label`,\"dashboardFilter.universalTimeFilter\":`Universal Time Filter`,\"dashboardFilter.universalTimeDescription\":`This filter applies to all time dimensions in mapped portlets. Users can select the date range when viewing the dashboard.`,\"dashboardFilter.field\":`Field`,\"dashboardFilter.showDashboardFields\":`Show dashboard fields only`,\"dashboardFilter.showAllFields\":`Show all fields`,\"dashboardFilter.dashboard\":`Dashboard`,\"dashboardFilter.all\":`All`,\"dashboardFilter.clickToSelectField\":`Click to select a field`,\"dashboardFilter.operator\":`Operator`,\"dashboardFilter.defaultValue\":`Default Value`,\"dashboardFilter.deleteFilter\":`Delete Filter`,\"dashboardFilter.noValueRequired\":`No value required`,\"dashboardFilter.to\":`to`,\"dashboardFilter.selectValue\":`Select value...`,\"dashboardFilter.search\":`Search...`,\"dashboardFilter.errorPrefix\":`Error: `,\"dashboardFilter.noValuesFound\":`No values found`,\"dashboardFilter.enterValue\":`Enter value...`,\"dashboardFilter.enterNumber\":`Enter number`,\"dashboardFilter.min\":`Min`,\"dashboardFilter.max\":`Max`,\"dashboardFilter.filterLabelRequired\":`Filter label is required`,\"dashboardFilter.selectFieldRequired\":`Please select a field for the filter`,\"dashboardFilter.notSet\":`(not set)`,\"dashboardFilter.clickToConfigure\":`Click to configure`,\"dashboardFilter.customDate.startDate\":`Start Date`,\"dashboardFilter.customDate.endDate\":`End Date`,\"dashboardFilter.customDate.sinceDate\":`Since Date`,\"dashboardFilter.customDate.fromSelectedToToday\":`From selected date to today`,\"dashboardFilter.customDate.number\":`Number`,\"dashboardFilter.customDate.unit\":`Unit`,\"dashboardFilter.customDate.lastNPreview\":`Last {number} {unit}`,\"dashboardFilter.editMode.filters\":`Filters`,\"dashboardFilter.editMode.noFilters\":`No filters configured. Click \"Add\" to create one.`,\"dashboardFilter.editMode.dateRange\":`Date Range`,\"dashboardFilter.editMode.filter\":`Filter`,\"dashboardFilter.editMode.editFilter\":`Edit filter`,\"dashboardFilter.editMode.removeFilter\":`Remove filter`,\"dashboardFilter.filterValue.editValue\":`Edit value`,\"dashboardFilter.readOnly.filters\":`Filters`,\"filter.shared.fieldsInQuery\":`Fields in Query ({count})`,\"filter.shared.allAvailableFields\":`All Available Fields ({count})`,\"filter.shared.noFieldsMatch\":`No fields found matching \"{searchTerm}\"`,\"filter.shared.searchFields\":`Search fields...`,\"filter.shared.selectField\":`Select field...`,\"filter.shared.schemaNotLoaded\":`Schema not loaded`,\"filter.shared.group.addFilter\":`Add Filter`,\"filter.shared.group.addAndGroup\":`Add AND Group`,\"filter.shared.group.addOrGroup\":`Add OR Group`,\"filter.shared.group.addCondition\":`Add condition`,\"filter.shared.group.noConditions\":`No conditions in this group.`,\"filter.shared.group.addFilterLink\":`Add a filter`,\"filter.shared.builder.filters\":`Filters ({count})`,\"filter.shared.builder.clearAll\":`Clear all`,\"filter.shared.builder.addFilter\":`Add Filter`,\"filter.shared.dateRange.title\":`Date Ranges ({count})`,\"filter.shared.dateRange.clearAll\":`Clear all`,\"filter.shared.dateRange.addDateRange\":`Add Date Range`,\"filter.shared.dateRange.allHaveDateRanges\":`All time dimensions already have date ranges`,\"filter.shared.valueSelector.noValueRequired\":`No value required`,\"filter.shared.valueSelector.to\":`to`,\"filter.shared.valueSelector.min\":`Min`,\"filter.shared.valueSelector.max\":`Max`,\"filter.shared.valueSelector.enterNumber\":`Enter number`,\"filter.shared.valueSelector.loadingValues\":`Loading values...`,\"filter.shared.valueSelector.selectValue\":`Select value...`,\"filter.shared.valueSelector.searchValues\":`Search values...`,\"filter.shared.valueSelector.searching\":`Searching...`,\"filter.shared.valueSelector.errorLoading\":`Error loading values: {error}`,\"filter.shared.valueSelector.noMatchingValues\":`No matching values`,\"filter.shared.valueSelector.noValuesAvailable\":`No values available`,\"filter.shared.valueSelector.enterValue\":`Enter {type} value`,\"dashboard.noPortlets\":`No Portlets`,\"dashboard.noPortletsDescription\":`Add your first portlet to start visualizing your data`,\"dashboard.addText\":`Add Text`,\"dashboard.addPortlet\":`Add Portlet`,\"dashboard.finishEditing\":`Finish Editing`,\"dashboard.edit\":`Edit`,\"dashboard.grid\":`Grid`,\"dashboard.rows\":`Rows`,\"dashboard.desktopRequired\":`Desktop view required for editing`,\"dashboard.editModeHint\":`Drag • Resize • Auto-save`,\"dashboard.filterSelectionMode\":`Filter Selection Mode - Click portlets to toggle '{filterLabel}'`,\"dashboard.filterSelectionEscHint\":`• Press ESC to exit`,\"dashboard.editPortlet\":`Edit Portlet`,\"dashboard.addNewPortlet\":`Add New Portlet`,\"dashboard.updatePortlet\":`Update Portlet`,\"dashboard.deletePortlet\":`Delete Portlet`,\"dashboard.deletePortletConfirm\":`Are you sure you want to delete`,\"dashboard.deletePortletSuffix\":`? This action cannot be undone.`,\"dashboard.thisPortlet\":`this portlet`,\"dashboard.editModal.dashboardName\":`Dashboard Name`,\"dashboard.editModal.enterDashboardName\":`Enter dashboard name...`,\"dashboard.editModal.descriptionOptional\":`Description (optional)`,\"dashboard.editModal.enterDescription\":`Enter description...`,\"portlet.configRequired\":`Configuration Required`,\"portlet.configRequiredHint\":`Please configure this chart`,\"portlet.queryError\":`Query Error`,\"portlet.queryWithFilters\":`Query (with filters applied)`,\"portlet.chartConfig\":`Chart Config`,\"portlet.noDataAvailable\":`No data available`,\"portlet.noDataDrilled\":`No data points to display for the current filter`,\"portlet.invalidQuery\":`Invalid query or no results`,\"portlet.unsupportedChartType\":`Unsupported chart type`,\"portlet.unableToRender\":`Unable to render chart`,\"portlet.enterTitle\":`Enter portlet title...`,\"portlet.enterPortletTitle\":`Please enter a title for the portlet.`,\"portlet.configureQuery\":`Please configure a query before saving.`,\"portlet.configureFlow\":`Please configure the flow analysis (binding key, time dimension, event dimension, and starting step filter).`,\"portlet.configureRetention\":`Please configure the retention analysis (binding key, time dimension, and date range).`,\"portlet.configureFunnel\":`Please add at least two funnel steps.`,\"portlet.addMetricOrBreakdown\":`Please add at least one metric or breakdown to your query.`,\"portlet.filterConfig.title\":`Configure Dashboard Filters`,\"portlet.filterConfig.subtitle\":`Choose which dashboard filters apply to \"{portletTitle}\"`,\"portlet.filterConfig.noFilters\":`No dashboard filters available`,\"portlet.filterConfig.noFiltersHint\":`Add filters at the dashboard level first`,\"portlet.filterConfig.availableFilters\":`Available Filters`,\"portlet.filterConfig.selectedCount\":`{selected} of {total} selected`,\"portlet.filterConfig.applied\":`Applied`,\"portlet.filterConfig.noValue\":`no value`,\"portlet.filterConfig.complexFilter\":`Complex filter`,\"portlet.filterConfig.groupFilter\":`{type} group with {count} filter`,\"portlet.filterConfig.groupFilterPlural\":`{type} group with {count} filters`,\"portlet.filterConfig.applyFilters\":`Apply Filters`,\"textPortlet.editText\":`Edit Text`,\"textPortlet.addText\":`Add Text`,\"textPortlet.markdownContent\":`Markdown Content`,\"textPortlet.markdownHint\":`Supports headers (#), bold (**text**), italic (*text*), links ([text](url)), lists (- item), and horizontal rules (---).`,\"textPortlet.preview\":`Preview`,\"debug.title\":`Chart Debug Information`,\"debug.chartType\":`Chart Type`,\"debug.fieldAnalysis\":`Field Analysis`,\"debug.chartConfig\":`Chart Config`,\"debug.displayConfig\":`Display Config`,\"debug.queryObject\":`Query Object`,\"debug.dataSample\":`Data Sample (first 3 rows)`,\"debug.cacheStatus\":`Cache Status`,\"debug.cacheHit\":`Cache Hit`,\"debug.cachedAt\":`Cached At:`,\"debug.ttl\":`TTL:`,\"debug.ttlRemaining\":`TTL Remaining:`,\"debug.freshQuery\":`Fresh Query`,\"debug.notFromCache\":`Result not served from cache`,\"debug.escToClose\":`Press`,\"debug.escKey\":`ESC`,\"debug.toClose\":`to close`,\"debug.tooltip\":`Debug chart configuration`,\"error.unableToRender\":`Unable to render chart`,\"error.unableToRenderNamed\":`Unable to render {title}`,\"error.renderDescription\":`There was an error rendering this chart component. The error details are shown below.`,\"error.errorLabel\":`Error:`,\"error.typeLabel\":`Type:`,\"error.portletConfig\":`Portlet Configuration`,\"error.cubeQuery\":`Cube Query`,\"error.componentStack\":`Component Stack`,\"error.tryAgain\":`Try Again`,\"drill.back\":`Back`,\"drill.goBackOneLevel\":`Go back one level`,\"drill.returnToTop\":`Return to top level`,\"drill.navigateTo\":`Navigate to {label}`,\"drill.empty\":`(empty)`,\"analyticsPage.title\":`Analytics Page - Coming in Phase 4`,\"dataHistogram.average\":`Average of {count} values`,\"dataHistogram.valuesInRange\":`{count} values in this range`,\"mcp.status.connecting\":`Connecting...`,\"mcp.status.loading\":`Loading...`,\"mcp.status.waiting\":`Waiting for query results...`,\"mcp.error.connectionLabel\":`Connection error:`,\"mcp.error.errorLabel\":`Error:`,\"mcp.error.noTextContent\":`No text content in result`,\"mcp.error.invalidResultFormat\":`Invalid result format: missing data array`,\"mcp.error.parseFailed\":`Failed to parse result: {message}`,\"mcp.error.queryFailed\":`Query failed: {message}`,\"mcp.footer.rows\":`{count} row`,\"mcp.footer.rowsPlural\":`{count} rows`,\"mcp.footer.measures\":`{count} measure`,\"mcp.footer.measuresPlural\":`{count} measures`,\"mcp.footer.dimensions\":`{count} dimension`,\"mcp.footer.dimensionsPlural\":`{count} dimensions`}})),eu,tu,nu,ru,iu=o((()=>{eu=`modulepreload`,tu=function(e,t){return new URL(e,t).href},nu={},ru=function(e,t,n){let r=Promise.resolve();if(t&&t.length>0){let e=document.getElementsByTagName(`link`),i=document.querySelector(`meta[property=csp-nonce]`),a=i?.nonce||i?.getAttribute(`nonce`);function o(e){return Promise.all(e.map(e=>Promise.resolve(e).then(e=>({status:`fulfilled`,value:e}),e=>({status:`rejected`,reason:e}))))}r=o(t.map(t=>{if(t=tu(t,n),t in nu)return;nu[t]=!0;let r=t.endsWith(`.css`),i=r?`[rel=\"stylesheet\"]`:``;if(n)for(let n=e.length-1;n>=0;n--){let i=e[n];if(i.href===t&&(!r||i.rel===`stylesheet`))return}else if(document.querySelector(`link[href=\"${t}\"]${i}`))return;let o=document.createElement(`link`);if(o.rel=r?`stylesheet`:eu,r||(o.as=`script`),o.crossOrigin=``,o.href=t,a&&o.setAttribute(`nonce`,a),document.head.appendChild(o),r)return new Promise((e,n)=>{o.addEventListener(`load`,e),o.addEventListener(`error`,()=>n(Error(`Unable to preload CSS for ${t}`)))})}))}function i(e){let t=new Event(`vite:preloadError`,{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}return r.then(t=>{for(let e of t||[])e.status===`rejected`&&i(e.reason);return e().catch(i)})}})),au=c({default:()=>ou}),ou,su=o((()=>{ou={\"analysis.modes.query.label\":`crwdns2661:0crwdne2661:0`,\"analysis.modes.query.description\":`crwdns2663:0crwdne2663:0`,\"analysis.modes.funnel.label\":`crwdns2665:0crwdne2665:0`,\"analysis.modes.funnel.description\":`crwdns2667:0crwdne2667:0`,\"analysis.modes.flow.label\":`crwdns2669:0crwdne2669:0`,\"analysis.modes.flow.description\":`crwdns2671:0crwdne2671:0`,\"analysis.modes.retention.label\":`crwdns2673:0crwdne2673:0`,\"analysis.modes.retention.description\":`crwdns2675:0crwdne2675:0`,\"analysis.ai.title\":`crwdns2677:0crwdne2677:0`,\"analysis.ai.generating\":`crwdns2679:0crwdne2679:0`,\"analysis.ai.placeholder\":`crwdns2681:0crwdne2681:0`,\"analysis.ai.shortcutHint\":`crwdns2683:0crwdne2683:0`,\"analysis.ai.successMessage\":`crwdns2685:0crwdne2685:0`,\"analysis.ai.button.accept\":`crwdns2687:0crwdne2687:0`,\"analysis.ai.button.cancel\":`crwdns2689:0crwdne2689:0`,\"analysis.ai.button.close\":`crwdns2691:0crwdne2691:0`,\"analysis.ai.button.generate\":`crwdns2693:0crwdne2693:0`,\"analysis.ai.button.generating\":`crwdns2695:0crwdne2695:0`,\"analysis.sections.metrics\":`crwdns2697:0crwdne2697:0`,\"analysis.sections.breakdown\":`crwdns2699:0crwdne2699:0`,\"analysis.sections.dimensions\":`crwdns2701:0crwdne2701:0`,\"analysis.sections.filters\":`crwdns2703:0crwdne2703:0`,\"analysis.sections.limit\":`crwdns2705:0crwdne2705:0`,\"analysis.tabs.query\":`crwdns2707:0crwdne2707:0`,\"analysis.tabs.chart\":`crwdns2709:0crwdne2709:0`,\"analysis.tabs.chartTitle\":`crwdns2711:0crwdne2711:0`,\"analysis.tabs.chartDisabled\":`crwdns2713:0crwdne2713:0`,\"analysis.tabs.display\":`crwdns2715:0crwdne2715:0`,\"analysis.tabs.displayTitle\":`crwdns2717:0crwdne2717:0`,\"analysis.tabs.displayDisabled\":`crwdns2719:0crwdne2719:0`,\"analysis.multiQuery.removeQuery\":`crwdns2721:0crwdne2721:0`,\"analysis.multiQuery.addQuery\":`crwdns2723:0crwdne2723:0`,\"analysis.multiQuery.addAnother\":`crwdns2725:0crwdne2725:0`,\"analysis.multiQuery.mergeExplanation\":`crwdns2727:0crwdne2727:0`,\"analysis.multiQuery.switchToSeparate\":`crwdns2729:0crwdne2729:0`,\"analysis.mergeStrategy.concat\":`crwdns2731:0crwdne2731:0`,\"analysis.mergeStrategy.merge\":`crwdns2733:0crwdne2733:0`,\"analysis.mergeStrategy.funnel\":`crwdns2735:0crwdne2735:0`,\"analysis.placeholders.addMetrics\":`crwdns2737:0crwdne2737:0`,\"analysis.placeholders.hoverField\":`crwdns2739:0crwdne2739:0`,\"analysis.placeholders.noData\":`crwdns2741:0crwdne2741:0`,\"common.actions.accept\":`crwdns2743:0crwdne2743:0`,\"common.actions.cancel\":`crwdns2745:0crwdne2745:0`,\"common.actions.delete\":`crwdns2747:0crwdne2747:0`,\"common.actions.close\":`crwdns2749:0crwdne2749:0`,\"common.actions.edit\":`crwdns2751:0crwdne2751:0`,\"common.actions.save\":`crwdns2753:0crwdne2753:0`,\"common.actions.copy\":`crwdns2755:0crwdne2755:0`,\"common.actions.duplicate\":`crwdns2757:0crwdne2757:0`,\"common.actions.refresh\":`crwdns2759:0crwdne2759:0`,\"common.actions.confirm\":`crwdns2761:0crwdne2761:0`,\"common.actions.add\":`crwdns2763:0crwdne2763:0`,\"common.actions.clear\":`crwdns2765:0crwdne2765:0`,\"common.actions.select\":`crwdns2767:0crwdne2767:0`,\"common.actions.navigate\":`crwdns2769:0crwdne2769:0`,\"common.actions.share\":`crwdns2771:0crwdne2771:0`,\"common.loading\":`crwdns2773:0crwdne2773:0`,\"common.modal.processing\":`crwdns2775:0crwdne2775:0`,\"common.modal.dashboardName\":`crwdns2777:0crwdne2777:0`,\"common.modal.deleteConfirmation\":`crwdns2779:0crwdne2779:0`,\"common.sorting.ascending\":`crwdns2781:0crwdne2781:0`,\"common.sorting.descending\":`crwdns2783:0crwdne2783:0`,\"common.sorting.none\":`crwdns2785:0crwdne2785:0`,\"fieldTypes.count\":`crwdns2787:0crwdne2787:0`,\"fieldTypes.countDistinct\":`crwdns2789:0crwdne2789:0`,\"fieldTypes.countDistinctApprox\":`crwdns2791:0crwdne2791:0`,\"fieldTypes.sum\":`crwdns2793:0crwdne2793:0`,\"fieldTypes.avg\":`crwdns2795:0crwdne2795:0`,\"fieldTypes.min\":`crwdns2797:0crwdne2797:0`,\"fieldTypes.max\":`crwdns2799:0crwdne2799:0`,\"fieldTypes.runningTotal\":`crwdns2801:0crwdne2801:0`,\"fieldTypes.number\":`crwdns2803:0crwdne2803:0`,\"fieldTypes.string\":`crwdns2805:0crwdne2805:0`,\"fieldTypes.boolean\":`crwdns2807:0crwdne2807:0`,\"fieldTypes.time\":`crwdns2809:0crwdne2809:0`,\"fieldTypes.geo\":`crwdns2811:0crwdne2811:0`,\"fieldTypes.dimension\":`crwdns2813:0crwdne2813:0`,\"fieldPanel.emptyState\":`crwdns2815:0crwdne2815:0`,\"fieldPanel.usageHint\":`crwdns2817:0crwdne2817:0`,\"fieldPanel.labels.type\":`crwdns2819:0crwdne2819:0`,\"fieldPanel.labels.cube\":`crwdns2821:0crwdne2821:0`,\"fieldPanel.labels.category\":`crwdns2823:0crwdne2823:0`,\"fieldCategory.measure\":`crwdns2825:0crwdne2825:0`,\"fieldCategory.timeDimension\":`crwdns2827:0crwdne2827:0`,\"fieldCategory.dimension\":`crwdns2829:0crwdne2829:0`,\"fieldSearch.placeholder.metrics\":`crwdns2831:0crwdne2831:0`,\"fieldSearch.placeholder.filter\":`crwdns2833:0crwdne2833:0`,\"fieldSearch.placeholder.dimensions\":`crwdns2835:0crwdne2835:0`,\"fieldSearch.modal.title.metrics\":`crwdns2837:0crwdne2837:0`,\"fieldSearch.modal.title.filter\":`crwdns2839:0crwdne2839:0`,\"fieldSearch.modal.title.dimensions\":`crwdns2841:0crwdne2841:0`,\"fieldSearch.filter.allCubes\":`crwdns2843:0crwdne2843:0`,\"fieldSearch.categories.all\":`crwdns2845:0crwdne2845:0`,\"fieldSearch.empty.heading\":`crwdns2847:0crwdne2847:0`,\"fieldSearch.empty.noMatchMetrics\":`crwdns2849:0{searchTerm}crwdne2849:0`,\"fieldSearch.empty.noMatchDimensions\":`crwdns2851:0{searchTerm}crwdne2851:0`,\"fieldSearch.empty.noMetrics\":`crwdns2853:0crwdne2853:0`,\"fieldSearch.empty.noDimensions\":`crwdns2855:0crwdne2855:0`,\"fieldSearch.section.recents\":`crwdns2857:0crwdne2857:0`,\"fieldSearch.footer.metricsAvailable\":`crwdns2859:0crwdne2859:0`,\"fieldSearch.footer.fieldsAvailable\":`crwdns2861:0crwdne2861:0`,\"fieldSearch.footer.dimensionsAvailable\":`crwdns2863:0crwdne2863:0`,\"fieldSearch.shortcut.navigate\":`crwdns2865:0crwdne2865:0`,\"fieldSearch.shortcut.keyEnter\":`crwdns3991:0crwdne3991:0`,\"fieldSearch.shortcut.keyShift\":`crwdns3993:0crwdne3993:0`,\"fieldSearch.shortcut.keyEsc\":`crwdns3995:0crwdne3995:0`,\"fieldSearch.shortcut.plusClick\":`crwdns3997:0crwdne3997:0`,\"fieldSearch.shortcut.select\":`crwdns2867:0crwdne2867:0`,\"fieldSearch.shortcut.multiSelect\":`crwdns2869:0crwdne2869:0`,\"fieldSearch.shortcut.close\":`crwdns2871:0crwdne2871:0`,\"filter.group.condition\":`crwdns2873:0crwdne2873:0`,\"filter.group.conditions\":`crwdns2875:0crwdne2875:0`,\"filter.group.addFilter\":`crwdns2877:0crwdne2877:0`,\"filter.group.addAndGroup\":`crwdns2879:0crwdne2879:0`,\"filter.group.addOrGroup\":`crwdns2881:0crwdne2881:0`,\"filter.group.removeGroup\":`crwdns2883:0crwdne2883:0`,\"filter.group.empty\":`crwdns2885:0crwdne2885:0`,\"filter.group.addFilterLink\":`crwdns2887:0crwdne2887:0`,\"filter.modal.title\":`crwdns2889:0crwdne2889:0`,\"filter.modal.fieldLabel\":`crwdns2891:0crwdne2891:0`,\"filter.modal.operatorLabel\":`crwdns2893:0crwdne2893:0`,\"filter.modal.valueLabel\":`crwdns2895:0crwdne2895:0`,\"filter.modal.selectRange\":`crwdns2897:0crwdne2897:0`,\"filter.modal.noValueRequired\":`crwdns2899:0crwdne2899:0`,\"filter.modal.dateTo\":`crwdns2901:0crwdne2901:0`,\"filter.modal.min\":`crwdns2903:0crwdne2903:0`,\"filter.modal.to\":`crwdns2905:0crwdne2905:0`,\"filter.modal.max\":`crwdns2907:0crwdne2907:0`,\"filter.modal.enterNumber\":`crwdns2909:0crwdne2909:0`,\"filter.modal.loading\":`crwdns2911:0crwdne2911:0`,\"filter.modal.selectValue\":`crwdns2913:0crwdne2913:0`,\"filter.modal.search\":`crwdns2915:0crwdne2915:0`,\"filter.modal.errorPrefix\":`crwdns2917:0crwdne2917:0`,\"filter.modal.noValues\":`crwdns2919:0crwdne2919:0`,\"filter.modal.multiSelectHint\":`crwdns2921:0crwdne2921:0`,\"filter.modal.enterValue\":`crwdns2923:0crwdne2923:0`,\"filter.removeButton.title\":`crwdns2925:0crwdne2925:0`,\"filter.section.clearAll\":`crwdns2927:0crwdne2927:0`,\"filter.section.dropHint\":`crwdns2929:0crwdne2929:0`,\"filter.section.empty\":`crwdns2931:0crwdne2931:0`,\"filter.valueDisplay.empty\":`crwdns2933:0crwdne2933:0`,\"filter.valueDisplay.more\":`crwdns2935:0crwdne2935:0`,\"filter.operator.equals.label\":`crwdns2937:0crwdne2937:0`,\"filter.operator.equals.description\":`crwdns2939:0crwdne2939:0`,\"filter.operator.notEquals.label\":`crwdns2941:0crwdne2941:0`,\"filter.operator.notEquals.description\":`crwdns2943:0crwdne2943:0`,\"filter.operator.contains.label\":`crwdns2945:0crwdne2945:0`,\"filter.operator.contains.description\":`crwdns2947:0crwdne2947:0`,\"filter.operator.notContains.label\":`crwdns2949:0crwdne2949:0`,\"filter.operator.notContains.description\":`crwdns2951:0crwdne2951:0`,\"filter.operator.startsWith.label\":`crwdns2953:0crwdne2953:0`,\"filter.operator.startsWith.description\":`crwdns2955:0crwdne2955:0`,\"filter.operator.notStartsWith.label\":`crwdns2957:0crwdne2957:0`,\"filter.operator.notStartsWith.description\":`crwdns2959:0crwdne2959:0`,\"filter.operator.endsWith.label\":`crwdns2961:0crwdne2961:0`,\"filter.operator.endsWith.description\":`crwdns2963:0crwdne2963:0`,\"filter.operator.notEndsWith.label\":`crwdns2965:0crwdne2965:0`,\"filter.operator.notEndsWith.description\":`crwdns2967:0crwdne2967:0`,\"filter.operator.like.label\":`crwdns2969:0crwdne2969:0`,\"filter.operator.like.description\":`crwdns2971:0crwdne2971:0`,\"filter.operator.notLike.label\":`crwdns2973:0crwdne2973:0`,\"filter.operator.notLike.description\":`crwdns2975:0crwdne2975:0`,\"filter.operator.ilike.label\":`crwdns2977:0crwdne2977:0`,\"filter.operator.ilike.description\":`crwdns2979:0crwdne2979:0`,\"filter.operator.gt.label\":`crwdns2981:0crwdne2981:0`,\"filter.operator.gt.description\":`crwdns2983:0crwdne2983:0`,\"filter.operator.gte.label\":`crwdns2985:0crwdne2985:0`,\"filter.operator.gte.description\":`crwdns2987:0crwdne2987:0`,\"filter.operator.lt.label\":`crwdns2989:0crwdne2989:0`,\"filter.operator.lt.description\":`crwdns2991:0crwdne2991:0`,\"filter.operator.lte.label\":`crwdns2993:0crwdne2993:0`,\"filter.operator.lte.description\":`crwdns2995:0crwdne2995:0`,\"filter.operator.between.label\":`crwdns2997:0crwdne2997:0`,\"filter.operator.between.description\":`crwdns2999:0crwdne2999:0`,\"filter.operator.notBetween.label\":`crwdns3001:0crwdne3001:0`,\"filter.operator.notBetween.description\":`crwdns3003:0crwdne3003:0`,\"filter.operator.in.label\":`crwdns3005:0crwdne3005:0`,\"filter.operator.in.description\":`crwdns3007:0crwdne3007:0`,\"filter.operator.notIn.label\":`crwdns3009:0crwdne3009:0`,\"filter.operator.notIn.description\":`crwdns3011:0crwdne3011:0`,\"filter.operator.set.label\":`crwdns3013:0crwdne3013:0`,\"filter.operator.set.description\":`crwdns3015:0crwdne3015:0`,\"filter.operator.notSet.label\":`crwdns3017:0crwdne3017:0`,\"filter.operator.notSet.description\":`crwdns3019:0crwdne3019:0`,\"filter.operator.isEmpty.label\":`crwdns3021:0crwdne3021:0`,\"filter.operator.isEmpty.description\":`crwdns3023:0crwdne3023:0`,\"filter.operator.isNotEmpty.label\":`crwdns3025:0crwdne3025:0`,\"filter.operator.isNotEmpty.description\":`crwdns3027:0crwdne3027:0`,\"filter.operator.inDateRange.label\":`crwdns3029:0crwdne3029:0`,\"filter.operator.inDateRange.description\":`crwdns3031:0crwdne3031:0`,\"filter.operator.beforeDate.label\":`crwdns3033:0crwdne3033:0`,\"filter.operator.beforeDate.description\":`crwdns3035:0crwdne3035:0`,\"filter.operator.afterDate.label\":`crwdns3037:0crwdne3037:0`,\"filter.operator.afterDate.description\":`crwdns3039:0crwdne3039:0`,\"filter.operator.regex.label\":`crwdns3041:0crwdne3041:0`,\"filter.operator.regex.description\":`crwdns3043:0crwdne3043:0`,\"filter.operator.notRegex.label\":`crwdns3045:0crwdne3045:0`,\"filter.operator.notRegex.description\":`crwdns3047:0crwdne3047:0`,\"filter.operator.arrayContains.label\":`crwdns3049:0crwdne3049:0`,\"filter.operator.arrayContains.description\":`crwdns3051:0crwdne3051:0`,\"filter.operator.arrayOverlaps.label\":`crwdns3053:0crwdne3053:0`,\"filter.operator.arrayOverlaps.description\":`crwdns3055:0crwdne3055:0`,\"filter.operator.arrayContained.label\":`crwdns3057:0crwdne3057:0`,\"filter.operator.arrayContained.description\":`crwdns3059:0crwdne3059:0`,\"dateRange.custom\":`crwdns3061:0crwdne3061:0`,\"dateRange.today\":`crwdns3063:0crwdne3063:0`,\"dateRange.yesterday\":`crwdns3065:0crwdne3065:0`,\"dateRange.thisWeek\":`crwdns3067:0crwdne3067:0`,\"dateRange.thisMonth\":`crwdns3069:0crwdne3069:0`,\"dateRange.thisQuarter\":`crwdns3071:0crwdne3071:0`,\"dateRange.thisYear\":`crwdns3073:0crwdne3073:0`,\"dateRange.last7Days\":`crwdns3075:0crwdne3075:0`,\"dateRange.last30Days\":`crwdns3077:0crwdne3077:0`,\"dateRange.lastNDays\":`crwdns3079:0crwdne3079:0`,\"dateRange.lastWeek\":`crwdns3081:0crwdne3081:0`,\"dateRange.lastNWeeks\":`crwdns3083:0crwdne3083:0`,\"dateRange.lastMonth\":`crwdns3085:0crwdne3085:0`,\"dateRange.last12Months\":`crwdns3087:0crwdne3087:0`,\"dateRange.lastNMonths\":`crwdns3089:0crwdne3089:0`,\"dateRange.lastQuarter\":`crwdns3091:0crwdne3091:0`,\"dateRange.lastNQuarters\":`crwdns3093:0crwdne3093:0`,\"dateRange.lastYear\":`crwdns3095:0crwdne3095:0`,\"dateRange.lastNYears\":`crwdns3097:0crwdne3097:0`,\"timeGranularity.hour\":`crwdns3099:0crwdne3099:0`,\"timeGranularity.day\":`crwdns3101:0crwdne3101:0`,\"timeGranularity.week\":`crwdns3103:0crwdne3103:0`,\"timeGranularity.month\":`crwdns3105:0crwdne3105:0`,\"timeGranularity.quarter\":`crwdns3107:0crwdne3107:0`,\"timeGranularity.year\":`crwdns3109:0crwdne3109:0`,\"query.limit.label\":`crwdns3111:0crwdne3111:0`,\"query.limit.clear\":`crwdns3113:0crwdne3113:0`,\"chart.bar.label\":`crwdns3115:0crwdne3115:0`,\"chart.bar.description\":`crwdns3117:0crwdne3117:0`,\"chart.bar.useCase\":`crwdns3119:0crwdne3119:0`,\"chart.line.label\":`crwdns3121:0crwdne3121:0`,\"chart.line.description\":`crwdns3123:0crwdne3123:0`,\"chart.line.useCase\":`crwdns3125:0crwdne3125:0`,\"chart.area.label\":`crwdns3127:0crwdne3127:0`,\"chart.area.description\":`crwdns3129:0crwdne3129:0`,\"chart.area.useCase\":`crwdns3131:0crwdne3131:0`,\"chart.pie.label\":`crwdns3133:0crwdne3133:0`,\"chart.pie.description\":`crwdns3135:0crwdne3135:0`,\"chart.pie.useCase\":`crwdns3137:0crwdne3137:0`,\"chart.scatter.label\":`crwdns3139:0crwdne3139:0`,\"chart.scatter.description\":`crwdns3141:0crwdne3141:0`,\"chart.scatter.useCase\":`crwdns3143:0crwdne3143:0`,\"chart.bubble.label\":`crwdns3145:0crwdne3145:0`,\"chart.bubble.description\":`crwdns3147:0crwdne3147:0`,\"chart.bubble.useCase\":`crwdns3149:0crwdne3149:0`,\"chart.radar.label\":`crwdns3151:0crwdne3151:0`,\"chart.radar.description\":`crwdns3153:0crwdne3153:0`,\"chart.radar.useCase\":`crwdns3155:0crwdne3155:0`,\"chart.radialBar.label\":`crwdns3157:0crwdne3157:0`,\"chart.radialBar.description\":`crwdns3159:0crwdne3159:0`,\"chart.radialBar.useCase\":`crwdns3161:0crwdne3161:0`,\"chart.treemap.label\":`crwdns3163:0crwdne3163:0`,\"chart.treemap.description\":`crwdns3165:0crwdne3165:0`,\"chart.treemap.useCase\":`crwdns3167:0crwdne3167:0`,\"chart.table.label\":`crwdns3169:0crwdne3169:0`,\"chart.table.description\":`crwdns3171:0crwdne3171:0`,\"chart.table.useCase\":`crwdns3173:0crwdne3173:0`,\"chart.activityGrid.label\":`crwdns3175:0crwdne3175:0`,\"chart.activityGrid.description\":`crwdns3177:0crwdne3177:0`,\"chart.activityGrid.useCase\":`crwdns3179:0crwdne3179:0`,\"chart.kpiNumber.label\":`crwdns3181:0crwdne3181:0`,\"chart.kpiNumber.description\":`crwdns3183:0crwdne3183:0`,\"chart.kpiNumber.useCase\":`crwdns3185:0crwdne3185:0`,\"chart.kpiDelta.label\":`crwdns3187:0crwdne3187:0`,\"chart.kpiDelta.description\":`crwdns3189:0crwdne3189:0`,\"chart.kpiDelta.useCase\":`crwdns3191:0crwdne3191:0`,\"chart.kpiText.label\":`crwdns3193:0crwdne3193:0`,\"chart.kpiText.description\":`crwdns3195:0crwdne3195:0`,\"chart.kpiText.useCase\":`crwdns3197:0crwdne3197:0`,\"chart.markdown.label\":`crwdns3199:0crwdne3199:0`,\"chart.markdown.description\":`crwdns3201:0crwdne3201:0`,\"chart.markdown.useCase\":`crwdns3203:0crwdne3203:0`,\"chart.funnel.label\":`crwdns3205:0crwdne3205:0`,\"chart.funnel.description\":`crwdns3207:0crwdne3207:0`,\"chart.funnel.useCase\":`crwdns3209:0crwdne3209:0`,\"chart.sankey.label\":`crwdns3211:0crwdne3211:0`,\"chart.sankey.description\":`crwdns3213:0crwdne3213:0`,\"chart.sankey.useCase\":`crwdns3215:0crwdne3215:0`,\"chart.sunburst.label\":`crwdns3217:0crwdne3217:0`,\"chart.sunburst.description\":`crwdns3219:0crwdne3219:0`,\"chart.sunburst.useCase\":`crwdns3221:0crwdne3221:0`,\"chart.heatmap.label\":`crwdns3223:0crwdne3223:0`,\"chart.heatmap.description\":`crwdns3225:0crwdne3225:0`,\"chart.heatmap.useCase\":`crwdns3227:0crwdne3227:0`,\"chart.retentionHeatmap.label\":`crwdns3229:0crwdne3229:0`,\"chart.retentionHeatmap.description\":`crwdns3231:0crwdne3231:0`,\"chart.retentionHeatmap.useCase\":`crwdns3233:0crwdne3233:0`,\"chart.retentionCombined.label\":`crwdns3235:0crwdne3235:0`,\"chart.retentionCombined.description\":`crwdns3237:0crwdne3237:0`,\"chart.retentionCombined.useCase\":`crwdns3239:0crwdne3239:0`,\"chart.boxPlot.label\":`crwdns3241:0crwdne3241:0`,\"chart.boxPlot.description\":`crwdns3243:0crwdne3243:0`,\"chart.boxPlot.useCase\":`crwdns3245:0crwdne3245:0`,\"chart.waterfall.label\":`crwdns3247:0crwdne3247:0`,\"chart.waterfall.description\":`crwdns3249:0crwdne3249:0`,\"chart.waterfall.useCase\":`crwdns3251:0crwdne3251:0`,\"chart.candlestick.label\":`crwdns3253:0crwdne3253:0`,\"chart.candlestick.description\":`crwdns3255:0crwdne3255:0`,\"chart.candlestick.useCase\":`crwdns3257:0crwdne3257:0`,\"chart.measureProfile.label\":`crwdns3259:0crwdne3259:0`,\"chart.measureProfile.description\":`crwdns3261:0crwdne3261:0`,\"chart.measureProfile.useCase\":`crwdns3263:0crwdne3263:0`,\"chart.gauge.label\":`crwdns3265:0crwdne3265:0`,\"chart.gauge.description\":`crwdns3267:0crwdne3267:0`,\"chart.gauge.useCase\":`crwdns3269:0crwdne3269:0`,\"chart.config.chartType\":`crwdns3271:0crwdne3271:0`,\"chart.config.loading\":`crwdns3273:0crwdne3273:0`,\"chart.config.axisConfig\":`crwdns3275:0crwdne3275:0`,\"chart.config.unassigned\":`crwdns3277:0crwdne3277:0`,\"chart.config.unassignedHint\":`crwdns3279:0crwdne3279:0`,\"chart.config.noFields\":`crwdns3281:0crwdne3281:0`,\"chart.dropZone.xAxis.label\":`crwdns3283:0crwdne3283:0`,\"chart.dropZone.xAxis.description\":`crwdns3285:0crwdne3285:0`,\"chart.dropZone.xAxis.empty\":`crwdns3287:0crwdne3287:0`,\"chart.dropZone.yAxis.label\":`crwdns3289:0crwdne3289:0`,\"chart.dropZone.yAxis.description\":`crwdns3291:0crwdne3291:0`,\"chart.dropZone.yAxis.empty\":`crwdns3293:0crwdne3293:0`,\"chart.dropZone.series.label\":`crwdns3295:0crwdne3295:0`,\"chart.dropZone.series.description\":`crwdns3297:0crwdne3297:0`,\"chart.dropZone.series.empty\":`crwdns3299:0crwdne3299:0`,\"chart.option.stacking.label\":`crwdns3301:0crwdne3301:0`,\"chart.option.stacking.none\":`crwdns3303:0crwdne3303:0`,\"chart.option.stacking.stacked\":`crwdns3305:0crwdne3305:0`,\"chart.option.stacking.percent\":`crwdns3307:0crwdne3307:0`,\"chart.option.stacking.description\":`crwdns3309:0crwdne3309:0`,\"chart.option.target.label\":`crwdns3311:0crwdne3311:0`,\"chart.option.target.description\":`crwdns3313:0crwdne3313:0`,\"chart.option.connectNulls.label\":`crwdns3315:0crwdne3315:0`,\"chart.option.connectNulls.description\":`crwdns3317:0crwdne3317:0`,\"chart.option.leftYAxisFormat.label\":`crwdns3319:0crwdne3319:0`,\"chart.option.leftYAxisFormat.description\":`crwdns3321:0crwdne3321:0`,\"chart.option.rightYAxisFormat.label\":`crwdns3323:0crwdne3323:0`,\"chart.option.rightYAxisFormat.description\":`crwdns3325:0crwdne3325:0`,\"chart.option.xAxisFormat.label\":`crwdns3327:0crwdne3327:0`,\"chart.option.xAxisFormat.description\":`crwdns3329:0crwdne3329:0`,\"chart.option.yAxisFormat.label\":`crwdns3331:0crwdne3331:0`,\"chart.option.yAxisFormat.description\":`crwdns3333:0crwdne3333:0`,\"chart.option.valueFormat.label\":`crwdns3335:0crwdne3335:0`,\"chart.option.valueFormat.description\":`crwdns3337:0crwdne3337:0`,\"chart.option.innerRadius.label\":`crwdns3339:0crwdne3339:0`,\"chart.option.innerRadius.description\":`crwdns3341:0crwdne3341:0`,\"chart.option.showLabels.label\":`crwdns3343:0crwdne3343:0`,\"chart.option.showLabels.description\":`crwdns3345:0crwdne3345:0`,\"chart.option.cellShape.label\":`crwdns3347:0crwdne3347:0`,\"chart.option.cellShape.rectangle\":`crwdns3349:0crwdne3349:0`,\"chart.option.cellShape.circle\":`crwdns3351:0crwdne3351:0`,\"chart.option.funnelStyle.label\":`crwdns3353:0crwdne3353:0`,\"chart.option.funnelStyle.bars\":`crwdns3355:0crwdne3355:0`,\"chart.option.funnelStyle.funnel\":`crwdns3357:0crwdne3357:0`,\"chart.option.funnelOrientation.label\":`crwdns3359:0crwdne3359:0`,\"chart.option.funnelOrientation.horizontal\":`crwdns3361:0crwdne3361:0`,\"chart.option.funnelOrientation.vertical\":`crwdns3363:0crwdne3363:0`,\"chart.option.hideSummaryFooter.label\":`crwdns3365:0crwdne3365:0`,\"chart.option.hideSummaryFooter.description\":`crwdns3367:0crwdne3367:0`,\"chart.option.showConversion.label\":`crwdns3369:0crwdne3369:0`,\"chart.option.showConversion.description\":`crwdns3371:0crwdne3371:0`,\"chart.option.showAvgTime.label\":`crwdns3373:0crwdne3373:0`,\"chart.option.showAvgTime.description\":`crwdns3375:0crwdne3375:0`,\"chart.option.showMedianTime.label\":`crwdns3377:0crwdne3377:0`,\"chart.option.showMedianTime.description\":`crwdns3379:0crwdne3379:0`,\"chart.option.showP90Time.label\":`crwdns3381:0crwdne3381:0`,\"chart.option.showP90Time.description\":`crwdns3383:0crwdne3383:0`,\"chart.option.linkOpacity.label\":`crwdns3385:0crwdne3385:0`,\"chart.option.linkOpacity.light\":`crwdns3387:0crwdne3387:0`,\"chart.option.linkOpacity.medium\":`crwdns3389:0crwdne3389:0`,\"chart.option.linkOpacity.dark\":`crwdns3391:0crwdne3391:0`,\"chart.option.showNodeLabels.label\":`crwdns3393:0crwdne3393:0`,\"chart.option.showNodeLabels.description\":`crwdns3395:0crwdne3395:0`,\"chart.option.prefix.label\":`crwdns3397:0crwdne3397:0`,\"chart.option.prefix.description\":`crwdns3399:0crwdne3399:0`,\"chart.option.suffix.label\":`crwdns3401:0crwdne3401:0`,\"chart.option.suffix.description\":`crwdns3403:0crwdne3403:0`,\"chart.option.decimals.label\":`crwdns3405:0crwdne3405:0`,\"chart.option.decimals.description\":`crwdns3407:0crwdne3407:0`,\"chart.option.showHistogram.label\":`crwdns3409:0crwdne3409:0`,\"chart.option.showHistogram.description\":`crwdns3411:0crwdne3411:0`,\"chart.option.useLastCompletePeriod.label\":`crwdns3413:0crwdne3413:0`,\"chart.option.useLastCompletePeriod.description\":`crwdns3415:0crwdne3415:0`,\"chart.option.skipLastPeriod.label\":`crwdns3417:0crwdne3417:0`,\"chart.option.skipLastPeriod.description\":`crwdns3419:0crwdne3419:0`,\"chart.option.retentionDisplayMode.label\":`crwdns3421:0crwdne3421:0`,\"chart.option.retentionDisplayMode.lineChart\":`crwdns3423:0crwdne3423:0`,\"chart.option.retentionDisplayMode.heatmapTable\":`crwdns3425:0crwdne3425:0`,\"chart.option.retentionDisplayMode.combined\":`crwdns3427:0crwdne3427:0`,\"chart.option.showLegend.label\":`crwdns3429:0crwdne3429:0`,\"chart.option.showLegend.description\":`crwdns3431:0crwdne3431:0`,\"chart.option.showGrid.label\":`crwdns3433:0crwdne3433:0`,\"chart.option.showGrid.description\":`crwdns3435:0crwdne3435:0`,\"chart.option.showTooltip.label\":`crwdns3437:0crwdne3437:0`,\"chart.option.showTooltip.description\":`crwdns3439:0crwdne3439:0`,\"chart.option.priorPeriodStyle.label\":`crwdns3441:0crwdne3441:0`,\"chart.option.priorPeriodStyle.dashed\":`crwdns3443:0crwdne3443:0`,\"chart.option.priorPeriodStyle.dotted\":`crwdns3445:0crwdne3445:0`,\"chart.option.priorPeriodStyle.solid\":`crwdns3447:0crwdne3447:0`,\"chart.option.priorPeriodStyle.description\":`crwdns3449:0crwdne3449:0`,\"chart.option.priorPeriodOpacity.label\":`crwdns3451:0crwdne3451:0`,\"chart.option.priorPeriodOpacity.description\":`crwdns3453:0crwdne3453:0`,\"chart.option.showTotal.label\":`crwdns3455:0crwdne3455:0`,\"chart.option.showTotal.description\":`crwdns3457:0crwdne3457:0`,\"chart.option.showConnectorLine.label\":`crwdns3459:0crwdne3459:0`,\"chart.option.showConnectorLine.description\":`crwdns3461:0crwdne3461:0`,\"chart.option.showDataLabels.label\":`crwdns3463:0crwdne3463:0`,\"chart.option.showDataLabels.description\":`crwdns3465:0crwdne3465:0`,\"chart.option.showReferenceLineAtZero.label\":`crwdns3467:0crwdne3467:0`,\"chart.option.showReferenceLineAtZero.description\":`crwdns3469:0crwdne3469:0`,\"chart.option.lineType.label\":`crwdns3471:0crwdne3471:0`,\"chart.option.lineType.smooth\":`crwdns3473:0crwdne3473:0`,\"chart.option.lineType.linear\":`crwdns3475:0crwdne3475:0`,\"chart.option.lineType.step\":`crwdns3477:0crwdne3477:0`,\"chart.option.lineType.description\":`crwdns3479:0crwdne3479:0`,\"chart.option.rangeMode.label\":`crwdns3481:0crwdne3481:0`,\"chart.option.rangeMode.ohlc\":`crwdns3483:0crwdne3483:0`,\"chart.option.rangeMode.range\":`crwdns3485:0crwdne3485:0`,\"chart.option.rangeMode.description\":`crwdns3487:0crwdne3487:0`,\"chart.option.bullColor.label\":`crwdns3489:0crwdne3489:0`,\"chart.option.bullColor.description\":`crwdns3491:0crwdne3491:0`,\"chart.option.bearColor.label\":`crwdns3493:0crwdne3493:0`,\"chart.option.bearColor.description\":`crwdns3495:0crwdne3495:0`,\"chart.option.showWicks.label\":`crwdns3497:0crwdne3497:0`,\"chart.option.showWicks.description\":`crwdns3499:0crwdne3499:0`,\"chart.option.minValue.label\":`crwdns3501:0crwdne3501:0`,\"chart.option.minValue.description\":`crwdns3503:0crwdne3503:0`,\"chart.option.maxValue.label\":`crwdns3505:0crwdne3505:0`,\"chart.option.maxValue.description\":`crwdns3507:0crwdne3507:0`,\"chart.option.showCentreLabel.label\":`crwdns3509:0crwdne3509:0`,\"chart.option.showCentreLabel.description\":`crwdns3511:0crwdne3511:0`,\"chart.option.showPercentage.label\":`crwdns3513:0crwdne3513:0`,\"chart.option.showPercentage.description\":`crwdns3515:0crwdne3515:0`,\"chart.option.fitToWidth.label\":`crwdns3517:0crwdne3517:0`,\"chart.option.fitToWidth.description\":`crwdns3519:0crwdne3519:0`,\"chart.option.fontSize.label\":`crwdns3521:0crwdne3521:0`,\"chart.option.fontSize.small\":`crwdns3523:0crwdne3523:0`,\"chart.option.fontSize.medium\":`crwdns3525:0crwdne3525:0`,\"chart.option.fontSize.large\":`crwdns3527:0crwdne3527:0`,\"chart.option.alignment.label\":`crwdns3529:0crwdne3529:0`,\"chart.option.alignment.left\":`crwdns3531:0crwdne3531:0`,\"chart.option.alignment.center\":`crwdns3533:0crwdne3533:0`,\"chart.option.alignment.right\":`crwdns3535:0crwdne3535:0`,\"chart.option.hideHeader.label\":`crwdns3537:0crwdne3537:0`,\"chart.option.hideHeader.description\":`crwdns3539:0crwdne3539:0`,\"chart.option.transparentBackground.label\":`crwdns3541:0crwdne3541:0`,\"chart.option.transparentBackground.description\":`crwdns3543:0crwdne3543:0`,\"chart.option.autoHeight.label\":`crwdns3545:0crwdne3545:0`,\"chart.option.autoHeight.description\":`crwdns3547:0crwdne3547:0`,\"chart.option.accentBorder.label\":`crwdns3549:0crwdne3549:0`,\"chart.option.accentBorder.none\":`crwdns3551:0crwdne3551:0`,\"chart.option.accentBorder.left\":`crwdns3553:0crwdne3553:0`,\"chart.option.accentBorder.top\":`crwdns3555:0crwdne3555:0`,\"chart.option.accentBorder.bottom\":`crwdns3557:0crwdne3557:0`,\"chart.option.accentBorder.description\":`crwdns3559:0crwdne3559:0`,\"chart.configText.20_percent\":`crwdns5247:0crwdne5247:0`,\"chart.configText.40_percent\":`crwdns5249:0crwdne5249:0`,\"chart.configText.60_percent\":`crwdns5251:0crwdne5251:0`,\"chart.configText.80_percent\":`crwdns5253:0crwdne5253:0`,\"chart.configText.accent_color\":`crwdns5255:0crwdne5255:0`,\"chart.configText.activity_measure\":`crwdns5257:0crwdne5257:0`,\"chart.configText.add_2_or_more_measures_they_become_the_x_axis_categories_in_the_order_li\":`crwdns5259:0crwdne5259:0`,\"chart.configText.add_an_accent_colored_border_on_one_side_of_the_content\":`crwdns5261:0crwdne5261:0`,\"chart.configText.all_fields_to_display_as_columns\":`crwdns5263:0crwdne5263:0`,\"chart.configText.array_of_value_0_1_fraction_color_bands_shown_as_outer_arc_markers\":`crwdns5265:0crwdne5265:0`,\"chart.configText.axes_categories\":`crwdns5267:0crwdne5267:0`,\"chart.configText.bubble_colour\":`crwdns5269:0crwdne5269:0`,\"chart.configText.bubble_labels\":`crwdns5271:0crwdne5271:0`,\"chart.configText.bubble_radius\":`crwdns5273:0crwdne5273:0`,\"chart.configText.categories\":`crwdns5275:0crwdne5275:0`,\"chart.configText.choose_how_to_visualize_retention_data\":`crwdns5277:0crwdne5277:0`,\"chart.configText.color_bubbles_by_this_field_optional\":`crwdns5279:0crwdne5279:0`,\"chart.configText.color_for_negative_changes_decreases\":`crwdns5281:0crwdne5281:0`,\"chart.configText.color_for_positive_changes_increases\":`crwdns5283:0crwdne5283:0`,\"chart.configText.color_from_the_dashboard_palette_for_headers_bullets_and_links\":`crwdns5285:0crwdne5285:0`,\"chart.configText.color_from_the_dashboard_palette_for_the_kpi_value_text\":`crwdns5287:0crwdne5287:0`,\"chart.configText.color_groups\":`crwdns5289:0crwdne5289:0`,\"chart.configText.columns\":`crwdns5291:0crwdne5291:0`,\"chart.configText.columns_x_axis\":`crwdns5293:0crwdne5293:0`,\"chart.configText.count_at_each_step_auto_calculated\":`crwdns5295:0crwdne5295:0`,\"chart.configText.count_of_entities_following_each_path\":`crwdns5297:0crwdne5297:0`,\"chart.configText.current_value_to_display_on_the_gauge_e_g_current_equity_margin_used\":`crwdns5299:0crwdne5299:0`,\"chart.configText.dimension_for_column_categories\":`crwdns5301:0crwdne5301:0`,\"chart.configText.dimension_for_ordering_data_typically_time\":`crwdns5303:0crwdne5303:0`,\"chart.configText.dimension_for_pie_slices\":`crwdns5305:0crwdne5305:0`,\"chart.configText.dimension_for_row_categories\":`crwdns5307:0crwdne5307:0`,\"chart.configText.dimension_labels_for_each_bar_segment_e_g_symbol_transaction_type\":`crwdns5309:0crwdne5309:0`,\"chart.configText.dimension_optional\":`crwdns5311:0crwdne5311:0`,\"chart.configText.dimension_to_color_points_by_category\":`crwdns5313:0crwdne5313:0`,\"chart.configText.dimension_to_color_rectangles_by_category\":`crwdns5315:0crwdne5315:0`,\"chart.configText.dimension_to_group_boxes_by_e_g_symbol_platform\":`crwdns5317:0crwdne5317:0`,\"chart.configText.dimension_to_split_data_into_separate_profile_lines_e_g_symbol_platform\":`crwdns5319:0crwdne5319:0`,\"chart.configText.dimensions_for_radar_axes\":`crwdns5321:0crwdne5321:0`,\"chart.configText.dimensions_for_radial_segments\":`crwdns5323:0crwdne5323:0`,\"chart.configText.dimensions_for_treemap_rectangles\":`crwdns5325:0crwdne5325:0`,\"chart.configText.dimensions_to_create_multiple_radar_shapes\":`crwdns5327:0crwdne5327:0`,\"chart.configText.dimensions_to_create_separate_lines\":`crwdns5329:0crwdne5329:0`,\"chart.configText.dimensions_to_create_stacked_areas\":`crwdns5331:0crwdne5331:0`,\"chart.configText.display_the_value_above_each_bar_segment\":`crwdns5333:0crwdne5333:0`,\"chart.configText.display_value_at_each_data_point\":`crwdns5335:0crwdne5335:0`,\"chart.configText.drop_1_measure_for_auto_mode_3_for_avg_stddev_median_mode_or_5_for_min_q\":`crwdns5337:0crwdne5337:0`,\"chart.configText.drop_2_4_measures_in_order_open_close_high_low_ohlc_mode_for_range_mode_\":`crwdns5339:0crwdne5339:0`,\"chart.configText.enter_markdown_text_supports_headers_bold_text_italic_text_links_text_ur\":`crwdns5341:0urlcrwdne5341:0`,\"chart.configText.event_dimension_that_categorizes_flow_nodes\":`crwdns5343:0crwdne5343:0`,\"chart.configText.event_type\":`crwdns5345:0crwdne5345:0`,\"chart.configText.exclude_current_incomplete_period_from_aggregation_e_g_partial_week_mont\":`crwdns5347:0crwdne5347:0`,\"chart.configText.exclude_current_incomplete_period_from_delta_calculation_e_g_partial_wee\":`crwdns5349:0crwdne5349:0`,\"chart.configText.field_to_use_for_bubble_labels_and_identification\":`crwdns5351:0crwdne5351:0`,\"chart.configText.flow_count\":`crwdns5353:0crwdne5353:0`,\"chart.configText.hide_the_statistics_footer_below_the_chart\":`crwdns5355:0crwdne5355:0`,\"chart.configText.hollow_center_size_0_percent_solid_pie_higher_donut_style\":`crwdns5357:0crwdne5357:0`,\"chart.configText.horizontal_alignment_of_the_markdown_content\":`crwdns5359:0crwdne5359:0`,\"chart.configText.horizontal_axis_position\":`crwdns5361:0crwdne5361:0`,\"chart.configText.how_to_stack_multiple_area_series\":`crwdns5363:0crwdne5363:0`,\"chart.configText.how_to_stack_multiple_bar_series\":`crwdns5365:0crwdne5365:0`,\"chart.configText.markdown_content\":`crwdns5367:0crwdne5367:0`,\"chart.configText.measure_for_rectangle_sizes\":`crwdns5369:0crwdne5369:0`,\"chart.configText.measure_for_slice_sizes\":`crwdns5371:0crwdne5371:0`,\"chart.configText.measure_for_y_position\":`crwdns5373:0crwdne5373:0`,\"chart.configText.measure_or_dimension_for_x_position\":`crwdns5375:0crwdne5375:0`,\"chart.configText.measure_that_determines_cell_color\":`crwdns5377:0crwdne5377:0`,\"chart.configText.measure_to_display_as_kpi_number\":`crwdns5379:0crwdne5379:0`,\"chart.configText.measure_to_display_in_the_kpi_text_template\":`crwdns5381:0crwdne5381:0`,\"chart.configText.measure_to_track_changes_for\":`crwdns5383:0crwdne5383:0`,\"chart.configText.measure_used_for_activity_intensity_color_coding\":`crwdns5385:0crwdne5385:0`,\"chart.configText.measures_for_area_values\":`crwdns5387:0crwdne5387:0`,\"chart.configText.measures_for_bar_heights\":`crwdns5389:0crwdne5389:0`,\"chart.configText.measures_for_line_values\":`crwdns5391:0crwdne5391:0`,\"chart.configText.measures_for_radar_values\":`crwdns5393:0crwdne5393:0`,\"chart.configText.measures_for_radial_bar_lengths\":`crwdns5395:0crwdne5395:0`,\"chart.configText.measures_x_axis_order\":`crwdns5397:0crwdne5397:0`,\"chart.configText.negative_change_color\":`crwdns5399:0crwdne5399:0`,\"chart.configText.none_pie\":`crwdns5401:0crwdne5401:0`,\"chart.configText.number_formatting_for_cell_values_and_legend\":`crwdns5403:0crwdne5403:0`,\"chart.configText.number_formatting_for_numeric_values\":`crwdns5405:0crwdne5405:0`,\"chart.configText.number_formatting_for_size_values\":`crwdns5407:0crwdne5407:0`,\"chart.configText.number_formatting_for_the_displayed_value_and_axis_labels\":`crwdns5409:0crwdne5409:0`,\"chart.configText.number_formatting_for_the_price_axis\":`crwdns5411:0crwdne5411:0`,\"chart.configText.number_formatting_for_the_value_axis\":`crwdns5413:0crwdne5413:0`,\"chart.configText.number_formatting_for_the_y_axis\":`crwdns5415:0crwdne5415:0`,\"chart.configText.number_formatting_for_x_axis_labels\":`crwdns5417:0crwdne5417:0`,\"chart.configText.number_formatting_for_y_axis_and_values\":`crwdns5419:0crwdne5419:0`,\"chart.configText.number_formatting_for_y_axis_labels\":`crwdns5421:0crwdne5421:0`,\"chart.configText.number_of_decimal_places_to_display_for_numeric_values\":`crwdns5423:0crwdne5423:0`,\"chart.configText.ohlc_measures_open_close_high_low\":`crwdns5425:0crwdne5425:0`,\"chart.configText.opacity_of_flow_links\":`crwdns5427:0crwdne5427:0`,\"chart.configText.overall_text_size_for_the_markdown_content\":`crwdns5429:0crwdne5429:0`,\"chart.configText.positive_change_color\":`crwdns5431:0crwdne5431:0`,\"chart.configText.rows_y_axis\":`crwdns5433:0crwdne5433:0`,\"chart.configText.series_color_groups\":`crwdns5435:0crwdne5435:0`,\"chart.configText.series_multiple_lines\":`crwdns5437:0crwdne5437:0`,\"chart.configText.series_multiple_shapes\":`crwdns5439:0crwdne5439:0`,\"chart.configText.series_split_into_multiple_lines\":`crwdns5441:0crwdne5441:0`,\"chart.configText.series_stack_areas\":`crwdns5443:0crwdne5443:0`,\"chart.configText.show_series_legend_only_visible_with_a_series_dimension\":`crwdns5445:0crwdne5445:0`,\"chart.configText.show_the_color_intensity_legend\":`crwdns5447:0crwdne5447:0`,\"chart.configText.show_the_legend_for_breakdown_segments\":`crwdns5449:0crwdne5449:0`,\"chart.configText.single_measure_whose_values_are_summed_cumulatively\":`crwdns5451:0crwdne5451:0`,\"chart.configText.size\":`crwdns5453:0crwdne5453:0`,\"chart.configText.size_of_bubbles_based_on_this_measure\":`crwdns5455:0crwdne5455:0`,\"chart.configText.size_of_the_center_hole_0_for_full_circle\":`crwdns5457:0crwdne5457:0`,\"chart.configText.step_count\":`crwdns5459:0crwdne5459:0`,\"chart.configText.step_name\":`crwdns5461:0crwdne5461:0`,\"chart.configText.step_names_auto_populated_from_funnel_steps\":`crwdns5463:0crwdne5463:0`,\"chart.configText.target_value_to_compare_against_first_value_used_if_multiple_provided\":`crwdns5465:0crwdne5465:0`,\"chart.configText.template_for_displaying_the_text_use_value_to_insert_the_measure_value\":\"crwdns5467:0${value}crwdne5467:0\",\"chart.configText.text_template\":`crwdns5469:0crwdne5469:0`,\"chart.configText.threshold_bands\":`crwdns5471:0crwdne5471:0`,\"chart.configText.time_dimension\":`crwdns5473:0crwdne5473:0`,\"chart.configText.time_dimension_or_category_for_each_candle_e_g_date_symbol\":`crwdns5475:0crwdne5475:0`,\"chart.configText.time_dimensions_or_dimensions_for_x_axis\":`crwdns5477:0crwdne5477:0`,\"chart.configText.time_field_that_determines_grid_structure_granularity_affects_layout\":`crwdns5479:0crwdne5479:0`,\"chart.configText.value\":`crwdns5481:0crwdne5481:0`,\"chart.configText.value_color\":`crwdns5483:0crwdne5483:0`,\"chart.configText.value_color_intensity\":`crwdns5485:0crwdne5485:0`,\"chart.configText.value_measure\":`crwdns5487:0crwdne5487:0`,\"chart.configText.values\":`crwdns5489:0crwdne5489:0`,\"chart.configText.vertical_axis_position\":`crwdns5491:0crwdne5491:0`,\"chart.configText.visualization_style\":`crwdns5493:0crwdne5493:0`,\"chart.configText.x_axis_groups\":`crwdns5495:0crwdne5495:0`,\"chart.configText.x_axis_time_categories\":`crwdns5497:0crwdne5497:0`,\"chart.configText.x_axis_time_category\":`crwdns5499:0crwdne5499:0`,\"chart.configText.y_axis\":`crwdns5501:0crwdne5501:0`,\"chart.configText.y_axis_measures\":`crwdns5503:0crwdne5503:0`,\"chart.configText.y_axis_value\":`crwdns5505:0crwdne5505:0`,\"display.loading\":`crwdns3561:0crwdne3561:0`,\"display.noOptions\":`crwdns3563:0crwdne3563:0`,\"display.heading\":`crwdns3565:0crwdne3565:0`,\"results.loading.title\":`crwdns3567:0crwdne3567:0`,\"results.loading.subtitle\":`crwdns3569:0crwdne3569:0`,\"results.error.title\":`crwdns3571:0crwdne3571:0`,\"results.error.subtitle\":`crwdns3573:0crwdne3573:0`,\"results.waiting.title\":`crwdns3575:0crwdne3575:0`,\"results.waiting.subtitle\":`crwdns3577:0crwdne3577:0`,\"results.needsRefresh.title\":`crwdns3579:0crwdne3579:0`,\"results.needsRefresh.subtitle\":`crwdns3581:0crwdne3581:0`,\"results.needsRefresh.runButton\":`crwdns3583:0crwdne3583:0`,\"results.empty.query\":`crwdns3585:0crwdne3585:0`,\"results.empty.retention\":`crwdns3587:0crwdne3587:0`,\"results.empty.funnel\":`crwdns3589:0crwdne3589:0`,\"results.empty.flow\":`crwdns3591:0crwdne3591:0`,\"results.empty.title\":`crwdns3593:0crwdne3593:0`,\"results.ai.button\":`crwdns3595:0crwdne3595:0`,\"results.noData.title\":`crwdns3597:0crwdne3597:0`,\"results.noData.subtitle\":`crwdns3599:0crwdne3599:0`,\"results.chart.noData\":`crwdns3601:0crwdne3601:0`,\"results.chart.noDataHint\":`crwdns3603:0crwdne3603:0`,\"results.chart.unsupported\":`crwdns3605:0crwdne3605:0`,\"results.refreshing\":`crwdns3607:0crwdne3607:0`,\"results.header.rows\":`crwdns3609:0crwdne3609:0`,\"results.header.row\":`crwdns3611:0crwdne3611:0`,\"results.header.stale\":`crwdns3613:0crwdne3613:0`,\"results.header.failed\":`crwdns3615:0crwdne3615:0`,\"results.header.executing\":`crwdns3617:0crwdne3617:0`,\"results.header.noResults\":`crwdns3619:0crwdne3619:0`,\"results.view.chart\":`crwdns3621:0crwdne3621:0`,\"results.view.merged\":`crwdns3623:0crwdne3623:0`,\"results.warning.largeDataset\":`crwdns3625:0crwdne3625:0`,\"results.warning.configChanged\":`crwdns3627:0crwdne3627:0`,\"results.warning.refreshNow\":`crwdns3629:0crwdne3629:0`,\"results.share.copied\":`crwdns3631:0crwdne3631:0`,\"results.share.noChart\":`crwdns3633:0crwdne3633:0`,\"server.errors.dbNotConfigured\":`crwdns3635:0crwdne3635:0`,\"server.errors.cubeNotFound\":`crwdns3637:0{cubeName}crwdne3637:0`,\"server.errors.noCubesInQuery\":`crwdns3639:0crwdne3639:0`,\"server.errors.dbAdapterRequired\":`crwdns3641:0crwdne3641:0`,\"server.errors.rlsRequiresTransactions\":`crwdns3643:0crwdne3643:0`,\"server.errors.queryExecutionFailed\":`crwdns3645:0{message}crwdne3645:0`,\"server.errors.queryExecutionUnknown\":`crwdns3647:0crwdne3647:0`,\"server.errors.noCompareDateRange\":`crwdns3649:0crwdne3649:0`,\"server.errors.compareDateRangeInvalid\":`crwdns3651:0crwdne3651:0`,\"server.errors.funnelValidationFailed\":`crwdns3653:0{errors}crwdne3653:0`,\"server.errors.flowValidationFailed\":`crwdns3655:0{errors}crwdne3655:0`,\"server.errors.retentionValidationFailed\":`crwdns3657:0{errors}crwdne3657:0`,\"server.errors.cubeRefUnresolved\":`crwdns3659:0{cubeName}crwdnd3659:0{joinName}crwdnd3659:0{targetCube}crwdne3659:0`,\"server.errors.unresolvedCubeRefs\":`crwdns3661:0{details}crwdne3661:0`,\"server.errors.calculatedMeasureValidation\":`crwdns3663:0{cubeName}crwdnd3663:0{details}crwdne3663:0`,\"server.errors.queryValidationFailed\":`crwdns3665:0{errors}crwdne3665:0`,\"server.errors.queryContainsMultipleModes\":`crwdns3667:0{modes}crwdne3667:0`,\"server.errors.primaryCubeNotFound\":`crwdns3669:0{cubeName}crwdne3669:0`,\"server.errors.noJoinPath\":`crwdns3671:0{fromCube}crwdnd3671:0{toCube}crwdne3671:0`,\"server.errors.cubeNotFoundForMeasure\":`crwdns3673:0{cubeName}crwdnd3673:0{measure}crwdne3673:0`,\"server.errors.cubeNotFoundForDimension\":`crwdns3675:0{cubeName}crwdnd3675:0{dimension}crwdne3675:0`,\"server.errors.cubeNotFoundForTimeDimension\":`crwdns3677:0{cubeName}crwdnd3677:0{timeDimension}crwdne3677:0`,\"server.errors.invalidFunnelConfig\":`crwdns3679:0crwdne3679:0`,\"server.errors.invalidFlowConfig\":`crwdns3681:0crwdne3681:0`,\"server.errors.invalidRetentionConfig\":`crwdns3683:0crwdne3683:0`,\"server.errors.llmInitFailed\":`crwdns3685:0crwdne3685:0`,\"server.validation.ai.bindingKeyRequired.flow\":`crwdns3687:0crwdne3687:0`,\"server.validation.ai.bindingKeyRequired.funnel\":`crwdns3689:0crwdne3689:0`,\"server.validation.ai.bindingKeyRequired.retention\":`crwdns3691:0crwdne3691:0`,\"server.validation.ai.cubeNotFoundInFilter\":`crwdns3693:0{cubeName}crwdne3693:0`,\"server.validation.ai.cubeNotFoundWithAvailable\":`crwdns3695:0{cubeName}crwdne3695:0`,\"server.validation.ai.cubeNotFoundWithSuggestion\":`crwdns3697:0{cubeName}crwdne3697:0`,\"server.validation.ai.dimensionNotFoundWithAvailable\":`crwdns3699:0{dimensionName}crwdnd3699:0{cubeName}crwdne3699:0`,\"server.validation.ai.dimensionNotFoundWithSuggestion\":`crwdns3701:0{dimensionName}crwdnd3701:0{cubeName}crwdne3701:0`,\"server.validation.ai.dimensionNotTimeType\":`crwdns3703:0{dimension}crwdnd3703:0{type}crwdne3703:0`,\"server.validation.ai.emptyQuery\":`crwdns3705:0crwdne3705:0`,\"server.validation.ai.eventDimensionRequired\":`crwdns3707:0crwdne3707:0`,\"server.validation.ai.filterFieldNotFound\":`crwdns3709:0{fieldName}crwdnd3709:0{cubeName}crwdne3709:0`,\"server.validation.ai.filterFieldNotFoundWithSuggestion\":`crwdns3711:0{fieldName}crwdnd3711:0{cubeName}crwdne3711:0`,\"server.validation.ai.funnelRequiresSteps\":`crwdns3713:0crwdne3713:0`,\"server.validation.ai.funnelStepsRequired\":`crwdns3715:0crwdne3715:0`,\"server.validation.ai.granularityNotSpecified\":`crwdns3717:0crwdne3717:0`,\"server.validation.ai.invalidDimensionFormat\":`crwdns3719:0{dimension}crwdne3719:0`,\"server.validation.ai.invalidFilterMemberFormat\":`crwdns3721:0{member}crwdne3721:0`,\"server.validation.ai.invalidMeasureFormat\":`crwdns3723:0{measure}crwdne3723:0`,\"server.validation.ai.measureNotFoundWithAvailable\":`crwdns3725:0{measureName}crwdnd3725:0{cubeName}crwdne3725:0`,\"server.validation.ai.measureNotFoundWithSuggestion\":`crwdns3727:0{measureName}crwdnd3727:0{cubeName}crwdne3727:0`,\"server.validation.ai.performanceManyDimensions\":`crwdns3729:0{count}crwdne3729:0`,\"server.validation.ai.performanceManyMeasures\":`crwdns3731:0{count}crwdne3731:0`,\"server.validation.ai.periodsNotSpecified\":`crwdns3733:0crwdne3733:0`,\"server.validation.ai.retentionTimeDimensionRequired\":`crwdns3735:0crwdne3735:0`,\"server.validation.ai.stepMissingName\":`crwdns3737:0{step}crwdne3737:0`,\"server.validation.ai.stepsBothMissing\":`crwdns3739:0crwdne3739:0`,\"server.validation.ai.suggestAddDimensionFilters\":`crwdns3741:0crwdne3741:0`,\"server.validation.ai.suggestAddStepNames\":`crwdns3743:0crwdne3743:0`,\"server.validation.ai.suggestSetSteps\":`crwdns3745:0crwdne3745:0`,\"server.validation.ai.suggestSpecifyGranularity\":`crwdns3747:0crwdne3747:0`,\"server.validation.ai.suggestSpecifyPeriods\":`crwdns3749:0crwdne3749:0`,\"server.validation.ai.suggestSplitQueries\":`crwdns3751:0crwdne3751:0`,\"server.validation.ai.suggestUseTimeDimension\":`crwdns3753:0crwdne3753:0`,\"server.validation.ai.timeDimensionRequired.flow\":`crwdns3755:0crwdne3755:0`,\"server.validation.ai.timeDimensionRequired.funnel\":`crwdns3757:0crwdne3757:0`,\"server.validation.chart.barNeedsDimension\":`crwdns3759:0crwdne3759:0`,\"server.validation.chart.barXAxisRequired\":`crwdns3761:0crwdne3761:0`,\"server.validation.chart.dropZoneRequired\":`crwdns3763:0{key}crwdnd3763:0{chartType}crwdnd3763:0{label}crwdnd3763:0{acceptDesc}crwdne3763:0`,\"server.validation.chart.seriesDuplicatesXAxis\":`crwdns3765:0{duplicates}crwdne3765:0`,\"server.validation.flow.bindingKeyCubeNotFound\":`crwdns3767:0{cubeName}crwdne3767:0`,\"server.validation.flow.bindingKeyDimNotFound\":`crwdns3769:0{dimName}crwdnd3769:0{cubeName}crwdne3769:0`,\"server.validation.flow.bindingKeyMappingCubeNotFound\":`crwdns3771:0{cubeName}crwdne3771:0`,\"server.validation.flow.eventDimCubeNotFound\":`crwdns3773:0{cubeName}crwdne3773:0`,\"server.validation.flow.eventDimNotFound\":`crwdns3775:0{dimName}crwdnd3775:0{cubeName}crwdne3775:0`,\"server.validation.flow.eventDimRequired\":`crwdns3777:0crwdne3777:0`,\"server.validation.flow.highStepDepthWarning\":`crwdns3779:0crwdne3779:0`,\"server.validation.flow.invalidBindingKeyFormat\":`crwdns3781:0{bindingKey}crwdne3781:0`,\"server.validation.flow.invalidEventDimFormat\":`crwdns3783:0{eventDimension}crwdne3783:0`,\"server.validation.flow.invalidJoinStrategy\":`crwdns3785:0{joinStrategy}crwdne3785:0`,\"server.validation.flow.invalidTimeDimFormat\":`crwdns3787:0{timeDimension}crwdne3787:0`,\"server.validation.flow.lateralNotSupported\":`crwdns3789:0crwdne3789:0`,\"server.validation.flow.lateralNotSupportedExec\":`crwdns3791:0crwdne3791:0`,\"server.validation.flow.sqliteNotSupported\":`crwdns3793:0crwdne3793:0`,\"server.validation.flow.startingStepFilterRequired\":`crwdns3795:0crwdne3795:0`,\"server.validation.flow.startingStepNameMissing\":`crwdns3797:0crwdne3797:0`,\"server.validation.flow.startingStepRequired\":`crwdns3799:0crwdne3799:0`,\"server.validation.flow.stepsBeforeRange\":`crwdns3801:0{value}crwdne3801:0`,\"server.validation.flow.stepsAfterRange\":`crwdns3803:0{value}crwdne3803:0`,\"server.validation.flow.timeDimCubeNotFound\":`crwdns3805:0{cubeName}crwdne3805:0`,\"server.validation.flow.timeDimNotFound\":`crwdns3807:0{dimName}crwdnd3807:0{cubeName}crwdne3807:0`,\"server.validation.funnel.bindingKeyCubeNotFound\":`crwdns3809:0{cubeName}crwdne3809:0`,\"server.validation.funnel.bindingKeyDimNotFound\":`crwdns3811:0{dimName}crwdnd3811:0{cubeName}crwdne3811:0`,\"server.validation.funnel.bindingKeyMappingCubeNotFound\":`crwdns3813:0{cubeName}crwdne3813:0`,\"server.validation.funnel.invalidBindingKeyFormat\":`crwdns3815:0{bindingKey}crwdne3815:0`,\"server.validation.funnel.invalidTimeDimFormat\":`crwdns3817:0{timeDimension}crwdne3817:0`,\"server.validation.funnel.minSteps\":`crwdns3819:0crwdne3819:0`,\"server.validation.funnel.stepCubeNotFound\":`crwdns3821:0{step}crwdnd3821:0{cube}crwdne3821:0`,\"server.validation.funnel.stepFilterCubeNotFound\":`crwdns3823:0{step}crwdnd3823:0{cubeName}crwdne3823:0`,\"server.validation.funnel.stepFilterIsMeasure\":`crwdns3825:0{step}crwdnd3825:0{member}crwdne3825:0`,\"server.validation.funnel.stepFilterMemberNotFound\":`crwdns3827:0{step}crwdnd3827:0{field}crwdnd3827:0{cubeName}crwdne3827:0`,\"server.validation.funnel.stepFilterNoJoinPath\":`crwdns3829:0{step}crwdnd3829:0{member}crwdnd3829:0{stepCube}crwdne3829:0`,\"server.validation.funnel.stepMustHaveName\":`crwdns3831:0{step}crwdne3831:0`,\"server.validation.funnel.stepTimeToConvertFormat\":`crwdns3833:0{step}crwdnd3833:0{value}crwdne3833:0`,\"server.validation.funnel.timeDimCubeNotFound\":`crwdns3835:0{cubeName}crwdne3835:0`,\"server.validation.funnel.timeDimNotFound\":`crwdns3837:0{dimName}crwdnd3837:0{cubeName}crwdne3837:0`,\"server.validation.retention.bindingKeyCubeNotFound\":`crwdns3839:0{cubeName}crwdne3839:0`,\"server.validation.retention.bindingKeyDimNotFound\":`crwdns3841:0{dimName}crwdnd3841:0{cubeName}crwdne3841:0`,\"server.validation.retention.bindingKeyMappingCubeNotFound\":`crwdns3843:0{cubeName}crwdne3843:0`,\"server.validation.retention.breakdownDimCubeNotFound\":`crwdns3845:0{cubeName}crwdne3845:0`,\"server.validation.retention.breakdownDimNotFound\":`crwdns3847:0{dimName}crwdnd3847:0{cubeName}crwdne3847:0`,\"server.validation.retention.cubeNotFound\":`crwdns3849:0{cubeName}crwdne3849:0`,\"server.validation.retention.dateRangeEndRequired\":`crwdns3851:0crwdne3851:0`,\"server.validation.retention.dateRangeInvalidEnd\":`crwdns3853:0crwdne3853:0`,\"server.validation.retention.dateRangeInvalidStart\":`crwdns3855:0crwdne3855:0`,\"server.validation.retention.dateRangeRequired\":`crwdns3857:0crwdne3857:0`,\"server.validation.retention.dateRangeStartBeforeEnd\":`crwdns3859:0crwdne3859:0`,\"server.validation.retention.dateRangeStartRequired\":`crwdns3861:0crwdne3861:0`,\"server.validation.retention.invalidBindingKeyFormat\":`crwdns3863:0{bindingKey}crwdne3863:0`,\"server.validation.retention.invalidBreakdownDimFormat\":`crwdns3865:0{dimension}crwdne3865:0`,\"server.validation.retention.invalidGranularity\":`crwdns3867:0{granularity}crwdne3867:0`,\"server.validation.retention.invalidRetentionType\":`crwdns3869:0{retentionType}crwdne3869:0`,\"server.validation.retention.invalidTimeDimFormat\":`crwdns3871:0{timeDimension}crwdne3871:0`,\"server.validation.retention.noBindingKeyMapping\":`crwdns3873:0{cubeName}crwdne3873:0`,\"server.validation.retention.periodsMax\":`crwdns3875:0crwdne3875:0`,\"server.validation.retention.periodsMin\":`crwdns3877:0crwdne3877:0`,\"server.validation.retention.timeDimNotFound\":`crwdns3879:0{dimName}crwdne3879:0`,\"server.validation.calculatedMeasure.mustHaveCalculatedSql\":`crwdns3881:0{cubeName}crwdnd3881:0{fieldName}crwdne3881:0`,\"server.validation.calculatedMeasure.invalidSyntax\":`crwdns3883:0{cubeName}crwdnd3883:0{fieldName}crwdnd3883:0{errors}crwdne3883:0`,\"server.validation.calculatedMeasure.circularDependency\":`crwdns3885:0{cycle}crwdne3885:0`,\"server.validation.query.multipleQueryModes\":`crwdns3887:0{modes}crwdne3887:0`,\"server.validation.query.funnelBindingKeyCubeNotFound\":`crwdns3889:0{cubeName}crwdne3889:0`,\"server.validation.query.flowBindingKeyCubeNotFound\":`crwdns3891:0{cubeName}crwdne3891:0`,\"server.validation.query.retentionCubeNotFound\":`crwdns3893:0{cubeName}crwdne3893:0`,\"server.validation.query.retentionBindingKeyCubeNotFound\":`crwdns3895:0{cubeName}crwdne3895:0`,\"server.validation.query.retentionBreakdownCubeNotFound\":`crwdns3897:0{cubeName}crwdne3897:0`,\"server.validation.query.invalidMeasureFormat\":`crwdns3899:0{measure}crwdne3899:0`,\"server.validation.query.cubeNotFoundForMeasure\":`crwdns3901:0{cubeName}crwdnd3901:0{measure}crwdne3901:0`,\"server.validation.query.measureNotFound\":`crwdns3903:0{fieldName}crwdnd3903:0{cubeName}crwdnd3903:0{hint}crwdne3903:0`,\"server.validation.query.invalidDimensionFormat\":`crwdns3905:0{dimension}crwdne3905:0`,\"server.validation.query.cubeNotFoundForDimension\":`crwdns3907:0{cubeName}crwdnd3907:0{dimension}crwdne3907:0`,\"server.validation.query.dimensionNotFound\":`crwdns3909:0{fieldName}crwdnd3909:0{cubeName}crwdnd3909:0{hint}crwdne3909:0`,\"server.validation.query.invalidTimeDimensionFormat\":`crwdns3911:0{dimension}crwdne3911:0`,\"server.validation.query.cubeNotFoundForTimeDimension\":`crwdns3913:0{cubeName}crwdnd3913:0{dimension}crwdne3913:0`,\"server.validation.query.timeDimensionNotFound\":`crwdns3915:0{fieldName}crwdnd3915:0{cubeName}crwdne3915:0`,\"server.validation.query.mustReferenceAtLeastOneCube\":`crwdns3917:0crwdne3917:0`,\"server.validation.query.ungroupedRequiresDimension\":`crwdns3919:0crwdne3919:0`,\"server.validation.query.ungroupedIncompatibleFunnel\":`crwdns3921:0crwdne3921:0`,\"server.validation.query.ungroupedIncompatibleFlow\":`crwdns3923:0crwdne3923:0`,\"server.validation.query.ungroupedIncompatibleRetention\":`crwdns3925:0crwdne3925:0`,\"server.validation.query.ungroupedIncompatibleCompareDateRange\":`crwdns3927:0crwdne3927:0`,\"server.validation.query.ungroupedIncompatibleFillMissingDates\":`crwdns3929:0crwdne3929:0`,\"server.validation.query.filterMustHaveMember\":`crwdns3931:0crwdne3931:0`,\"server.validation.query.invalidFilterMemberFormat\":`crwdns3933:0{member}crwdne3933:0`,\"server.validation.query.cubeNotFoundForFilter\":`crwdns3935:0{cubeName}crwdnd3935:0{member}crwdne3935:0`,\"server.validation.query.filterFieldNotFound\":`crwdns3937:0{fieldName}crwdnd3937:0{cubeName}crwdnd3937:0{hint}crwdne3937:0`,\"server.errors.funnel.cubeNotFoundForStep\":`crwdns3939:0{cube}crwdne3939:0`,\"server.errors.funnel.cubeNotFoundForBindingKey\":`crwdns3941:0{bindingKey}crwdne3941:0`,\"server.errors.funnel.cannotResolveCubeForStep\":`crwdns3943:0crwdne3943:0`,\"server.errors.funnel.bindingKeyDimNotFound\":`crwdns3945:0{bindingKey}crwdne3945:0`,\"server.errors.funnel.noBindingKeyMapping\":`crwdns3947:0{cubeName}crwdne3947:0`,\"server.errors.funnel.bindingKeyMappingDimNotFound\":`crwdns3949:0{dimension}crwdne3949:0`,\"server.errors.funnel.timeDimNotFound\":`crwdns3951:0{timeDimension}crwdne3951:0`,\"server.errors.funnel.noTimeDimMapping\":`crwdns3953:0{cubeName}crwdne3953:0`,\"server.errors.funnel.timeDimMappingNotFound\":`crwdns3955:0{dimension}crwdne3955:0`,\"server.errors.flow.cannotResolveCube\":`crwdns3957:0crwdne3957:0`,\"server.errors.flow.cubeNotFound\":`crwdns3959:0{cubeName}crwdne3959:0`,\"server.errors.flow.bindingKeyDimNotFound\":`crwdns3961:0{bindingKey}crwdne3961:0`,\"server.errors.flow.noBindingKeyMapping\":`crwdns3963:0{cubeName}crwdne3963:0`,\"server.errors.flow.bindingKeyMappingDimNotFound\":`crwdns3965:0{dimension}crwdne3965:0`,\"server.errors.flow.timeDimNotFound\":`crwdns3967:0{timeDimension}crwdne3967:0`,\"server.errors.flow.noTimeDimMapping\":`crwdns3969:0{cubeName}crwdne3969:0`,\"server.errors.flow.timeDimMappingNotFound\":`crwdns3971:0{dimension}crwdne3971:0`,\"server.errors.flow.eventDimNotFound\":`crwdns3973:0{eventDimension}crwdne3973:0`,\"server.validation.template.emptyReference\":`crwdns3975:0crwdne3975:0`,\"server.validation.template.invalidMemberReference\":`crwdns3977:0{ref}crwdne3977:0`,\"server.validation.template.multipleDots\":`crwdns3979:0{ref}crwdne3979:0`,\"server.validation.template.nestedBraces\":`crwdns3981:0crwdne3981:0`,\"server.validation.template.substituteTargetCubeNotFound\":`crwdns3983:0{ref}crwdnd3983:0{cubeName}crwdne3983:0`,\"server.validation.template.substituteMeasureNotResolved\":`crwdns3985:0{ref}crwdnd3985:0{measureName}crwdne3985:0`,\"server.validation.template.unmatchedClosingBrace\":`crwdns3987:0{position}crwdne3987:0`,\"server.validation.template.unmatchedOpeningBrace\":`crwdns3989:0crwdne3989:0`,\"notebook.aiAssistant\":`crwdns3999:0crwdne3999:0`,\"notebook.saveAsDashboard\":`crwdns4001:0crwdne4001:0`,\"notebook.saveAsDashboardTitle\":`crwdns4003:0crwdne4003:0`,\"notebook.clearTitle\":`crwdns4005:0crwdne4005:0`,\"notebook.feedbackThanks\":`crwdns4007:0crwdne4007:0`,\"notebook.feedbackQuestion\":`crwdns4009:0crwdne4009:0`,\"notebook.feedbackYes\":`crwdns4011:0crwdne4011:0`,\"notebook.feedbackNo\":`crwdns4013:0crwdne4013:0`,\"notebook.thinking\":`crwdns4015:0crwdne4015:0`,\"notebook.emptyState.title\":`crwdns4017:0crwdne4017:0`,\"notebook.emptyState.description\":`crwdns4019:0crwdne4019:0`,\"notebook.emptyState.example1\":`crwdns4021:0crwdne4021:0`,\"notebook.emptyState.example2\":`crwdns4023:0crwdne4023:0`,\"notebook.emptyState.example3\":`crwdns4025:0crwdne4025:0`,\"notebook.saveAsDashboardPrompt\":`crwdns4027:0crwdne4027:0`,\"notebook.chatInput.placeholder\":`crwdns4029:0crwdne4029:0`,\"notebook.chatInput.stop\":`crwdns4031:0crwdne4031:0`,\"notebook.chatInput.continue\":`crwdns4033:0crwdne4033:0`,\"notebook.chatInput.send\":`crwdns4035:0crwdne4035:0`,\"notebook.canvas.emptyTitle\":`crwdns4037:0crwdne4037:0`,\"notebook.canvas.emptyDescription\":`crwdns4039:0crwdne4039:0`,\"notebook.canvas.editVisualization\":`crwdns4041:0crwdne4041:0`,\"notebook.canvas.update\":`crwdns4043:0crwdne4043:0`,\"notebook.collapsed.noBlocks\":`crwdns4045:0crwdne4045:0`,\"notebook.collapsed.expandNotebook\":`crwdns4047:0crwdne4047:0`,\"notebook.collapsed.expandChat\":`crwdns4049:0crwdne4049:0`,\"notebook.collapsed.aiChat\":`crwdns4051:0crwdne4051:0`,\"notebook.collapsed.markdown\":`crwdns4053:0crwdne4053:0`,\"schema.loading\":`crwdns4055:0crwdne4055:0`,\"schema.error\":`crwdns4057:0crwdne4057:0`,\"schema.noCubes\":`crwdns4059:0crwdne4059:0`,\"schema.noCubesHint\":`crwdns4061:0crwdne4061:0`,\"schema.computingLayout\":`crwdns4063:0crwdne4063:0`,\"schema.searchPlaceholder\":`crwdns4065:0crwdne4065:0`,\"schema.autoLayout\":`crwdns4067:0crwdne4067:0`,\"schema.missingDeps.title\":`crwdns4069:0crwdne4069:0`,\"schema.missingDeps.description\":`crwdns4071:0crwdne4071:0`,\"schema.loadingVisualization\":`crwdns4073:0crwdne4073:0`,\"schema.measures\":`crwdns4075:0{count}crwdne4075:0`,\"schema.timeDimensions\":`crwdns4077:0{count}crwdne4077:0`,\"schema.dimensions\":`crwdns4079:0{count}crwdne4079:0`,\"schema.cubeInfo\":`crwdns4081:0crwdne4081:0`,\"dataBrowser.selectCube\":`crwdns4083:0crwdne4083:0`,\"dataBrowser.selectCubeHint\":`crwdns4085:0crwdne4085:0`,\"dataBrowser.loadingData\":`crwdns4087:0crwdne4087:0`,\"dataBrowser.noData\":`crwdns4089:0crwdne4089:0`,\"dataBrowser.noRows\":`crwdns4091:0crwdne4091:0`,\"dataBrowser.toolbar.filters\":`crwdns4093:0crwdne4093:0`,\"dataBrowser.toolbar.columns\":`crwdns4095:0crwdne4095:0`,\"dataBrowser.toolbar.rows\":`crwdns4097:0{count}crwdne4097:0`,\"dataBrowser.sidebar.cubes\":`crwdns4099:0crwdne4099:0`,\"dataBrowser.sidebar.searchPlaceholder\":`crwdns4101:0crwdne4101:0`,\"dataBrowser.sidebar.noCubes\":`crwdns4103:0crwdne4103:0`,\"queryAnalysis.summary\":`crwdns4105:0crwdne4105:0`,\"queryAnalysis.summary.type\":`crwdns4107:0crwdne4107:0`,\"queryAnalysis.summary.cubes\":`crwdns4109:0crwdne4109:0`,\"queryAnalysis.summary.joins\":`crwdns4111:0crwdne4111:0`,\"queryAnalysis.summary.ctes\":`crwdns4113:0crwdne4113:0`,\"queryAnalysis.summary.strategy\":`crwdns4115:0crwdne4115:0`,\"queryAnalysis.primaryCube\":`crwdns4117:0crwdne4117:0`,\"queryAnalysis.primaryCube.showCandidates\":`crwdns4119:0{count}crwdne4119:0`,\"queryAnalysis.primaryCube.reachable\":`crwdns4121:0crwdne4121:0`,\"queryAnalysis.primaryCube.cannotReachAll\":`crwdns4123:0crwdne4123:0`,\"queryAnalysis.joinPaths\":`crwdns4125:0crwdne4125:0`,\"queryAnalysis.joinPaths.steps\":`crwdns4127:0{count}crwdne4127:0`,\"queryAnalysis.joinPaths.stepsPlural\":`crwdns4129:0{count}crwdne4129:0`,\"queryAnalysis.joinPaths.noPath\":`crwdns4131:0crwdne4131:0`,\"queryAnalysis.joinPaths.selection\":`crwdns4133:0crwdne4133:0`,\"queryAnalysis.joinPaths.pathCandidates\":`crwdns4135:0{count}crwdne4135:0`,\"queryAnalysis.joinPaths.visitedCubes\":`crwdns4137:0{count}crwdne4137:0`,\"queryAnalysis.preAggregations\":`crwdns4139:0crwdne4139:0`,\"queryAnalysis.preAggregations.measures\":`crwdns4141:0crwdne4141:0`,\"queryAnalysis.preAggregations.joinKeys\":`crwdns4143:0crwdne4143:0`,\"queryAnalysis.warnings\":`crwdns4145:0crwdne4145:0`,\"queryAnalysis.cubesInvolved\":`crwdns4147:0crwdne4147:0`,\"common.actions.copied\":`crwdns4149:0crwdne4149:0`,\"common.actions.copyToClipboard\":`crwdns4151:0crwdne4151:0`,\"chart.runtime.noData\":`crwdns4153:0crwdne4153:0`,\"chart.runtime.noDataHint.bar\":`crwdns4155:0crwdne4155:0`,\"chart.runtime.noDataHint.line\":`crwdns4157:0crwdne4157:0`,\"chart.runtime.noDataHint.area\":`crwdns4159:0crwdne4159:0`,\"chart.runtime.noDataHint.pie\":`crwdns4161:0crwdne4161:0`,\"chart.runtime.noDataHint.scatter\":`crwdns4163:0crwdne4163:0`,\"chart.runtime.noDataHint.radar\":`crwdns4165:0crwdne4165:0`,\"chart.runtime.noDataHint.radialBar\":`crwdns4167:0crwdne4167:0`,\"chart.runtime.noDataHint.treemap\":`crwdns4169:0crwdne4169:0`,\"chart.runtime.noDataHint.bubble\":`crwdns4171:0crwdne4171:0`,\"chart.runtime.noDataHint.boxPlot\":`crwdns4173:0crwdne4173:0`,\"chart.runtime.noDataHint.waterfall\":`crwdns4175:0crwdne4175:0`,\"chart.runtime.noDataHint.candlestick\":`crwdns4177:0crwdne4177:0`,\"chart.runtime.noDataHint.gauge\":`crwdns4179:0crwdne4179:0`,\"chart.runtime.noDataHint.measureProfile\":`crwdns4181:0crwdne4181:0`,\"chart.runtime.noDataHint.activityGrid\":`crwdns4183:0crwdne4183:0`,\"chart.runtime.noDataHint.heatmap\":`crwdns4185:0crwdne4185:0`,\"chart.runtime.noDataHint.table\":`crwdns4187:0crwdne4187:0`,\"chart.runtime.noDataHint.kpi\":`crwdns4189:0crwdne4189:0`,\"chart.runtime.noDataHint.funnel\":`crwdns4191:0crwdne4191:0`,\"chart.runtime.noDataHint.flow\":`crwdns4193:0crwdne4193:0`,\"chart.runtime.noDataHint.retention\":`crwdns4195:0crwdne4195:0`,\"chart.runtime.noValidData\":`crwdns4197:0crwdne4197:0`,\"chart.runtime.noValidDataHint.bar\":`crwdns4199:0crwdne4199:0`,\"chart.runtime.noValidDataHint.line\":`crwdns4201:0crwdne4201:0`,\"chart.runtime.noValidDataHint.area\":`crwdns4203:0crwdne4203:0`,\"chart.runtime.noValidDataHint.scatter\":`crwdns4205:0crwdne4205:0`,\"chart.runtime.noValidDataHint.radar\":`crwdns4207:0crwdne4207:0`,\"chart.runtime.noValidDataHint.radialBar\":`crwdns4209:0crwdne4209:0`,\"chart.runtime.noValidDataHint.treemap\":`crwdns4211:0crwdne4211:0`,\"chart.runtime.noValidDataHint.pie\":`crwdns4213:0crwdne4213:0`,\"chart.runtime.noValidDataHint.pieFiltered\":`crwdns4215:0{count}crwdne4215:0`,\"chart.runtime.noValidDataHint.boxPlot\":`crwdns4217:0crwdne4217:0`,\"chart.runtime.noValidDataHint.gauge\":`crwdns4219:0crwdne4219:0`,\"chart.runtime.noValidDataHint.kpiText\":`crwdns4221:0crwdne4221:0`,\"chart.runtime.configError\":`crwdns4223:0crwdne4223:0`,\"chart.runtime.configErrorHint.axisInvalid\":`crwdns4225:0crwdne4225:0`,\"chart.runtime.configErrorHint.axisFields\":`crwdns4227:0crwdne4227:0`,\"chart.runtime.configErrorHint.pieAxis\":`crwdns4229:0crwdne4229:0`,\"chart.runtime.configErrorHint.radarNumeric\":`crwdns4231:0crwdne4231:0`,\"chart.runtime.configErrorHint.radialBarNumeric\":`crwdns4233:0crwdne4233:0`,\"chart.runtime.configErrorHint.treemapNumeric\":`crwdns4235:0crwdne4235:0`,\"chart.runtime.configErrorHint.noMeasure\":`crwdns4237:0crwdne4237:0`,\"chart.runtime.configErrorHint.noMeasures\":`crwdns4239:0crwdne4239:0`,\"chart.runtime.configErrorHint.bubbleRequired\":`crwdns4241:0crwdne4241:0`,\"chart.runtime.configErrorHint.bubbleOptional\":`crwdns4243:0crwdne4243:0`,\"chart.runtime.configErrorHint.activityGridRequired\":`crwdns4245:0crwdne4245:0`,\"chart.runtime.chartError\":`crwdns4247:0{chartType}crwdne4247:0`,\"chart.runtime.unknownError\":`crwdns4249:0crwdne4249:0`,\"chart.runtime.checkConfig\":`crwdns4251:0crwdne4251:0`,\"chart.runtime.unableToRender\":`crwdns4253:0crwdne4253:0`,\"chart.runtime.dataFormatIncorrect\":`crwdns4255:0crwdne4255:0`,\"chart.runtime.measuringDimensions\":`crwdns4257:0crwdne4257:0`,\"chart.runtime.unableToDisplay\":`crwdns4259:0crwdne4259:0`,\"chart.runtime.responsiveContainerError\":`crwdns4261:0crwdne4261:0`,\"chart.runtime.noDataToDisplay\":`crwdns4263:0crwdne4263:0`,\"chart.runtime.table.invalidStructure\":`crwdns4265:0crwdne4265:0`,\"chart.runtime.heatmapNoResults\":`crwdns4267:0crwdne4267:0`,\"chart.runtime.heatmapConfigRequired\":`crwdns4269:0crwdne4269:0`,\"chart.runtime.heatmapXRequired\":`crwdns4271:0crwdne4271:0`,\"chart.runtime.heatmapYRequired\":`crwdns4273:0crwdne4273:0`,\"chart.runtime.heatmapValueRequired\":`crwdns4275:0crwdne4275:0`,\"chart.runtime.heatmapTruncated\":`crwdns4277:0{maxRows}crwdnd4277:0{maxCols}crwdnd4277:0{originalRows}crwdnd4277:0{originalCols}crwdne4277:0`,\"chart.runtime.activityGridGranularityTooHigh\":`crwdns4279:0crwdne4279:0`,\"chart.runtime.activityGridGranularityHint\":`crwdns4281:0crwdne4281:0`,\"chart.runtime.activityGridGranularityAction\":`crwdns4283:0crwdne4283:0`,\"chart.runtime.activityGridConfigRequired\":`crwdns4285:0crwdne4285:0`,\"chart.runtime.retention.cohort\":`crwdns4287:0crwdne4287:0`,\"chart.runtime.retention.segment\":`crwdns4289:0crwdne4289:0`,\"chart.runtime.retention.users\":`crwdns4291:0crwdne4291:0`,\"chart.runtime.retention.cohortSize\":`crwdns4293:0{count}crwdne4293:0`,\"chart.runtime.retention.retained\":`crwdns4295:0{count}crwdne4295:0`,\"chart.runtime.retention.rate\":`crwdns4297:0{rate}crwdne4297:0`,\"chart.runtime.retention.retentionPercent\":`crwdns4299:0crwdne4299:0`,\"chart.runtime.retention.periodLabel\":`crwdns4301:0{cohort}crwdnd4301:0{period}crwdne4301:0`,\"chart.runtime.retention.noData\":`crwdns4303:0crwdne4303:0`,\"chart.runtime.retention.total\":`crwdns4305:0crwdne4305:0`,\"chart.runtime.retention.retention\":`crwdns4307:0crwdne4307:0`,\"chart.runtime.funnel.noData\":`crwdns4309:0crwdne4309:0`,\"chart.runtime.funnel.steps\":`crwdns4311:0crwdne4311:0`,\"chart.runtime.funnel.overall\":`crwdns4313:0crwdne4313:0`,\"chart.runtime.funnel.completed\":`crwdns4315:0{completed}crwdnd4315:0{total}crwdne4315:0`,\"chart.runtime.flow.noData\":`crwdns4317:0crwdne4317:0`,\"chart.runtime.flow.events\":`crwdns4319:0crwdne4319:0`,\"chart.runtime.flow.eventsAfter\":`crwdns4321:0crwdne4321:0`,\"chart.runtime.flow.paths\":`crwdns4323:0crwdne4323:0`,\"chart.runtime.flow.startingEntities\":`crwdns4325:0crwdne4325:0`,\"chart.runtime.flow.entities\":`crwdns4327:0crwdne4327:0`,\"chart.runtime.kpiDelta.insufficientData\":`crwdns4329:0crwdne4329:0`,\"chart.runtime.kpiDelta.requiresTwoPoints\":`crwdns4331:0crwdne4331:0`,\"chart.runtime.kpiDelta.currentPoints\":`crwdns4333:0{count}crwdne4333:0`,\"chart.runtime.kpiDelta.noVariance\":`crwdns4335:0crwdne4335:0`,\"chart.runtime.kpiNumber.noData\":`crwdns4337:0crwdne4337:0`,\"chart.runtime.markdown.noContent\":`crwdns4339:0crwdne4339:0`,\"chart.runtime.markdown.addContent\":`crwdns4341:0crwdne4341:0`,\"chart.runtime.axisFormat.label\":`crwdns4343:0crwdne4343:0`,\"chart.runtime.axisFormat.autoLabel\":`crwdns4345:0crwdne4345:0`,\"chart.runtime.axisFormat.unit\":`crwdns4347:0crwdne4347:0`,\"chart.runtime.axisFormat.custom\":`crwdns4349:0crwdne4349:0`,\"chart.runtime.axisFormat.prefix\":`crwdns4351:0crwdne4351:0`,\"chart.runtime.axisFormat.prefixExample\":`crwdns4353:0crwdne4353:0`,\"chart.runtime.axisFormat.suffix\":`crwdns4355:0crwdne4355:0`,\"chart.runtime.axisFormat.suffixExample\":`crwdns4357:0crwdne4357:0`,\"chart.runtime.axisFormat.abbreviation\":`crwdns4359:0crwdne4359:0`,\"chart.runtime.axisFormat.yes\":`crwdns4361:0crwdne4361:0`,\"chart.runtime.axisFormat.no\":`crwdns4363:0crwdne4363:0`,\"chart.runtime.axisFormat.decimals\":`crwdns4365:0crwdne4365:0`,\"chart.runtime.axisFormat.preview\":`crwdns4367:0crwdne4367:0`,\"chart.runtime.axisFormat.leftYAxis\":`crwdns4369:0crwdne4369:0`,\"chart.runtime.axisFormat.rightYAxis\":`crwdns4371:0crwdne4371:0`,\"chart.runtime.axisFormat.xAxis\":`crwdns4373:0crwdne4373:0`,\"chart.runtime.missingDep.title\":`crwdns4375:0crwdne4375:0`,\"chart.runtime.missingDep.description\":`crwdns4377:0{chartType}crwdnd4377:0{packageName}crwdne4377:0`,\"chart.runtime.missingDep.restartHint\":`crwdns4379:0crwdne4379:0`,\"chart.runtime.unknownChartType\":`crwdns4381:0crwdne4381:0`,\"chart.runtime.unknownChartTypeHint\":`crwdns4383:0{chartType}crwdne4383:0`,\"chart.runtime.boxPlot.truncated\":`crwdns4385:0{max}crwdnd4385:0{total}crwdne4385:0`,\"chart.runtime.candlestick.truncated\":`crwdns4387:0{max}crwdnd4387:0{total}crwdne4387:0`,\"chart.runtime.bar.hiddenPoints\":`crwdns4389:0{count}crwdne4389:0`,\"chart.runtime.waterfall.increase\":`crwdns4391:0crwdne4391:0`,\"chart.runtime.waterfall.decrease\":`crwdns4393:0crwdne4393:0`,\"chart.runtime.waterfall.total\":`crwdns4395:0crwdne4395:0`,\"chart.runtime.tooltip.noData\":`crwdns4397:0crwdne4397:0`,\"chart.runtime.tooltip.targetValue\":`crwdns4399:0crwdne4399:0`,\"results.toolbar.refreshing\":`crwdns4401:0crwdne4401:0`,\"results.toolbar.refresh\":`crwdns4403:0crwdne4403:0`,\"results.toolbar.refreshTitle\":`crwdns4405:0crwdne4405:0`,\"results.toolbar.refreshingTitle\":`crwdns4407:0crwdne4407:0`,\"results.toolbar.cacheBustTitle\":`crwdns4409:0crwdne4409:0`,\"results.toolbar.clear\":`crwdns4411:0crwdne4411:0`,\"results.toolbar.clearFunnel\":`crwdns4413:0crwdne4413:0`,\"results.toolbar.clearQuery\":`crwdns4415:0crwdne4415:0`,\"results.toolbar.aiClose\":`crwdns4417:0crwdne4417:0`,\"results.toolbar.aiOpen\":`crwdns4419:0crwdne4419:0`,\"results.toolbar.shareTitle\":`crwdns4421:0crwdne4421:0`,\"results.toolbar.shareCopied\":`crwdns4423:0crwdne4423:0`,\"results.toolbar.schemaHide\":`crwdns4425:0crwdne4425:0`,\"results.toolbar.schemaShow\":`crwdns4427:0crwdne4427:0`,\"results.toolbar.debugHide\":`crwdns4429:0crwdne4429:0`,\"results.toolbar.debugShow\":`crwdns4431:0crwdne4431:0`,\"results.toolbar.chartView\":`crwdns4433:0crwdne4433:0`,\"results.toolbar.chartDisabled\":`crwdns4435:0crwdne4435:0`,\"results.toolbar.tableView\":`crwdns4437:0crwdne4437:0`,\"results.toolbar.mergedTableView\":`crwdns4439:0crwdne4439:0`,\"results.view.table\":`crwdns4441:0crwdne4441:0`,\"results.warning.filterHint\":`crwdns4443:0crwdne4443:0`,\"results.debug.query\":`crwdns4445:0crwdne4445:0`,\"results.debug.queryAnalysis\":`crwdns4447:0crwdne4447:0`,\"results.debug.copyMarkdownTitle\":`crwdns4449:0crwdne4449:0`,\"results.debug.copyAsMarkdown\":`crwdns4451:0crwdne4451:0`,\"results.debug.analysisError\":`crwdns4453:0crwdne4453:0`,\"results.debug.analysisEmpty\":`crwdns4455:0crwdne4455:0`,\"results.debug.cubeQuery\":`crwdns4457:0crwdne4457:0`,\"results.debug.cubeQueryExecuted\":`crwdns4459:0crwdne4459:0`,\"results.debug.funnelFilterHint\":`crwdns4461:0crwdne4461:0`,\"results.debug.noQuery\":`crwdns4463:0crwdne4463:0`,\"results.debug.serverResponse\":`crwdns4465:0crwdne4465:0`,\"results.debug.noResults\":`crwdns4467:0crwdne4467:0`,\"results.debug.chartConfig\":`crwdns4469:0crwdne4469:0`,\"results.debug.displayConfig\":`crwdns4471:0crwdne4471:0`,\"results.debug.generatedSql\":`crwdns4473:0crwdne4473:0`,\"results.debug.loadingSql\":`crwdns4475:0crwdne4475:0`,\"results.debug.executionError\":`crwdns4477:0crwdne4477:0`,\"results.confirm.clearFunnel\":`crwdns4479:0crwdne4479:0`,\"results.confirm.clearQuery\":`crwdns4481:0crwdne4481:0`,\"results.confirm.clearFunnelMessage\":`crwdns4483:0crwdne4483:0`,\"results.confirm.clearQueryMessage\":`crwdns4485:0crwdne4485:0`,\"results.table.noData\":`crwdns4487:0crwdne4487:0`,\"results.table.noDataHint\":`crwdns4489:0crwdne4489:0`,\"results.flow.noData\":`crwdns4491:0crwdne4491:0`,\"results.flow.noDataHint\":`crwdns4493:0crwdne4493:0`,\"results.flow.nodes\":`crwdns4495:0{count}crwdne4495:0`,\"results.flow.transitions\":`crwdns4497:0{count}crwdne4497:0`,\"results.flow.layer\":`crwdns4499:0crwdne4499:0`,\"results.flow.name\":`crwdns4501:0crwdne4501:0`,\"results.flow.count\":`crwdns4503:0crwdne4503:0`,\"results.flow.from\":`crwdns4505:0crwdne4505:0`,\"results.flow.to\":`crwdns4507:0crwdne4507:0`,\"results.debug.funnel.label\":`crwdns4509:0crwdne4509:0`,\"results.debug.funnel.steps\":`crwdns4511:0{count}crwdne4511:0`,\"results.debug.funnel.serverQuery\":`crwdns4513:0crwdne4513:0`,\"results.debug.funnel.noQuery\":`crwdns4515:0crwdne4515:0`,\"results.debug.funnel.sqlPlaceholder\":`crwdns4517:0crwdne4517:0`,\"results.debug.funnel.stepsTitle\":`crwdns4519:0crwdne4519:0`,\"results.debug.flow.label\":`crwdns4521:0crwdne4521:0`,\"results.debug.flow.badge\":`crwdns4523:0{before}crwdnd4523:0{after}crwdne4523:0`,\"results.debug.flow.serverQuery\":`crwdns4525:0crwdne4525:0`,\"results.debug.flow.noQuery\":`crwdns4527:0crwdne4527:0`,\"results.debug.flow.sqlPlaceholder\":`crwdns4529:0crwdne4529:0`,\"results.debug.flow.configTitle\":`crwdns4531:0crwdne4531:0`,\"results.debug.flow.startingStep\":`crwdns4533:0crwdne4533:0`,\"results.debug.flow.eventDimension\":`crwdns4535:0crwdne4535:0`,\"results.debug.flow.stepsBefore\":`crwdns4537:0crwdne4537:0`,\"results.debug.flow.stepsAfter\":`crwdns4539:0crwdne4539:0`,\"results.debug.flow.notSet\":`crwdns4541:0crwdne4541:0`,\"results.debug.flow.responseTitle\":`crwdns4543:0crwdne4543:0`,\"results.debug.retention.label\":`crwdns4545:0crwdne4545:0`,\"results.debug.retention.badge\":`crwdns4547:0{segments}crwdnd4547:0{users}crwdne4547:0`,\"results.debug.retention.serverQuery\":`crwdns4549:0crwdne4549:0`,\"results.debug.retention.configIncomplete\":`crwdns4551:0crwdne4551:0`,\"results.debug.retention.configHint\":`crwdns4553:0crwdne4553:0`,\"results.debug.retention.sqlPlaceholder\":`crwdns4555:0crwdne4555:0`,\"results.debug.retention.configTitle\":`crwdns4557:0crwdne4557:0`,\"results.debug.retention.summaryTitle\":`crwdns4559:0crwdne4559:0`,\"results.debug.retention.retentionType\":`crwdns4561:0crwdne4561:0`,\"results.debug.retention.periods\":`crwdns4563:0crwdne4563:0`,\"results.debug.retention.granularity\":`crwdns4565:0crwdne4565:0`,\"results.debug.retention.segments\":`crwdns4567:0crwdne4567:0`,\"results.debug.retention.avgPeriod1\":`crwdns4569:0crwdne4569:0`,\"results.debug.retention.maxPeriod1\":`crwdns4571:0crwdne4571:0`,\"results.debug.retention.minPeriod1\":`crwdns4573:0crwdne4573:0`,\"results.debug.standard.sqlPlaceholder\":`crwdns4575:0crwdne4575:0`,\"flow.tabs.flow\":`crwdns4577:0crwdne4577:0`,\"flow.tabs.display\":`crwdns4579:0crwdne4579:0`,\"flow.tabs.displayUnavailable\":`crwdns4581:0crwdne4581:0`,\"flow.tabs.displayTitle\":`crwdns4583:0crwdne4583:0`,\"flow.visualization.title\":`crwdns4585:0crwdne4585:0`,\"flow.visualization.description\":`crwdns4587:0crwdne4587:0`,\"flow.visualization.sankey\":`crwdns4589:0crwdne4589:0`,\"flow.visualization.sankeyHint\":`crwdns4591:0crwdne4591:0`,\"flow.visualization.sunburst\":`crwdns4593:0crwdne4593:0`,\"flow.visualization.sunburstHint\":`crwdns4595:0crwdne4595:0`,\"flow.startingStep.title\":`crwdns4597:0crwdne4597:0`,\"flow.startingStep.description\":`crwdns4599:0crwdne4599:0`,\"flow.startingStep.filterLabel\":`crwdns4601:0crwdne4601:0`,\"flow.depth.title\":`crwdns4603:0crwdne4603:0`,\"flow.depth.descriptionSankey\":`crwdns4605:0crwdne4605:0`,\"flow.depth.descriptionSunburst\":`crwdns4607:0crwdne4607:0`,\"flow.depth.stepsBefore\":`crwdns4609:0crwdne4609:0`,\"flow.depth.stepsBeforeNA\":`crwdns4611:0crwdne4611:0`,\"flow.depth.stepsAfter\":`crwdns4613:0crwdne4613:0`,\"flow.depth.performanceWarning\":`crwdns4615:0crwdne4615:0`,\"flow.joinStrategy.title\":`crwdns4617:0crwdne4617:0`,\"flow.joinStrategy.description\":`crwdns4619:0crwdne4619:0`,\"flow.joinStrategy.auto\":`crwdns4621:0crwdne4621:0`,\"flow.joinStrategy.lateral\":`crwdns4623:0crwdne4623:0`,\"flow.joinStrategy.window\":`crwdns4625:0crwdne4625:0`,\"retention.tabs.retention\":`crwdns4627:0crwdne4627:0`,\"retention.tabs.display\":`crwdns4629:0crwdne4629:0`,\"retention.tabs.displayUnavailable\":`crwdns4631:0crwdne4631:0`,\"retention.tabs.displayTitle\":`crwdns4633:0crwdne4633:0`,\"retention.dateRange.title\":`crwdns4635:0crwdne4635:0`,\"retention.dateRange.description\":`crwdns4637:0crwdne4637:0`,\"retention.dateRange.label\":`crwdns4639:0crwdne4639:0`,\"retention.dateRange.selectRange\":`crwdns4641:0crwdne4641:0`,\"retention.dateRange.customRange\":`crwdns4643:0crwdne4643:0`,\"retention.dateRange.applyCustom\":`crwdns4645:0crwdne4645:0`,\"retention.cohortFilter.title\":`crwdns4647:0crwdne4647:0`,\"retention.cohortFilter.description\":`crwdns4649:0crwdne4649:0`,\"retention.returnFilter.title\":`crwdns4651:0crwdne4651:0`,\"retention.returnFilter.description\":`crwdns4653:0crwdne4653:0`,\"retention.breakdown.title\":`crwdns4655:0crwdne4655:0`,\"retention.breakdown.description\":`crwdns4657:0crwdne4657:0`,\"retention.settings.title\":`crwdns4659:0crwdne4659:0`,\"retention.settings.description\":`crwdns4661:0crwdne4661:0`,\"retention.settings.granularityLabel\":`crwdns4663:0crwdne4663:0`,\"retention.settings.periodsLabel\":`crwdns4665:0{min}crwdnd4665:0{max}crwdne4665:0`,\"retention.settings.periodsWarning\":`crwdns4667:0crwdne4667:0`,\"retention.settings.retentionTypeLabel\":`crwdns4669:0crwdne4669:0`,\"debug.explainPlan\":`crwdns4671:0crwdne4671:0`,\"debug.explainRunning\":`crwdns4673:0crwdne4673:0`,\"debug.explainIncludeTiming\":`crwdns4675:0crwdne4675:0`,\"debug.explainRunningAnalyze\":`crwdns4677:0crwdne4677:0`,\"debug.explainRunningBasic\":`crwdns4679:0crwdne4679:0`,\"debug.explainError\":`crwdns4681:0crwdne4681:0`,\"debug.sequentialScans\":`crwdns4683:0crwdne4683:0`,\"debug.indexesUsed\":`crwdns4685:0{count}crwdne4685:0`,\"debug.indexesUsedPlural\":`crwdns4687:0{count}crwdne4687:0`,\"debug.executionTime\":`crwdns4689:0{time}crwdne4689:0`,\"debug.planningTime\":`crwdns4691:0{time}crwdne4691:0`,\"debug.cost\":`crwdns4693:0{cost}crwdne4693:0`,\"debug.indexes\":`crwdns4695:0crwdne4695:0`,\"debug.executionPlanTitle\":`crwdns4697:0{database}crwdne4697:0`,\"debug.aiAnalyzing\":`crwdns4699:0crwdne4699:0`,\"debug.aiAnalysis\":`crwdns4701:0crwdne4701:0`,\"debug.aiAnalysisError\":`crwdns4703:0crwdne4703:0`,\"explainAI.title\":`crwdns4705:0crwdne4705:0`,\"explainAI.assessment.good\":`crwdns4707:0crwdne4707:0`,\"explainAI.assessment.warning\":`crwdns4709:0crwdne4709:0`,\"explainAI.assessment.critical\":`crwdns4711:0crwdne4711:0`,\"explainAI.summary\":`crwdns4713:0crwdne4713:0`,\"explainAI.queryAnalysis\":`crwdns4715:0crwdne4715:0`,\"explainAI.issuesFound\":`crwdns4717:0{count}crwdne4717:0`,\"explainAI.recommendations\":`crwdns4719:0{count}crwdne4719:0`,\"explainAI.noRecommendations\":`crwdns4721:0crwdne4721:0`,\"explainAI.expectedImpact\":`crwdns4723:0crwdne4723:0`,\"explainAI.addToCube\":`crwdns4725:0{cubeName}crwdne4725:0`,\"explainAI.modelLabel\":`crwdns4727:0crwdne4727:0`,\"explainAI.usingUserKey\":`crwdns4729:0crwdne4729:0`,\"explainAI.copied\":`crwdns4731:0crwdne4731:0`,\"explainAI.copy\":`crwdns4733:0crwdne4733:0`,\"explainAI.type.index\":`crwdns4735:0crwdne4735:0`,\"explainAI.type.table\":`crwdns4737:0crwdne4737:0`,\"explainAI.type.cube\":`crwdns4739:0crwdne4739:0`,\"explainAI.type.general\":`crwdns4741:0crwdne4741:0`,\"errorBoundary.modeError\":`crwdns4743:0crwdne4743:0`,\"errorBoundary.modeErrorDescription\":`crwdns4745:0{mode}crwdne4745:0`,\"errorBoundary.showDetails\":`crwdns4747:0crwdne4747:0`,\"errorBoundary.unknownError\":`crwdns4749:0crwdne4749:0`,\"errorBoundary.tryAgain\":`crwdns4751:0crwdne4751:0`,\"errorBoundary.switchToQuery\":`crwdns4753:0crwdne4753:0`,\"funnel.tabs.steps\":`crwdns4755:0crwdne4755:0`,\"funnel.tabs.display\":`crwdns4757:0crwdne4757:0`,\"funnel.tabs.displayUnavailable\":`crwdns4759:0crwdne4759:0`,\"funnel.tabs.displayTitle\":`crwdns4761:0crwdne4761:0`,\"funnel.steps.title\":`crwdns4763:0crwdne4763:0`,\"funnel.steps.emptyMessage\":`crwdns4765:0crwdne4765:0`,\"funnel.steps.addFirst\":`crwdns4767:0crwdne4767:0`,\"funnel.steps.addStep\":`crwdns4769:0crwdne4769:0`,\"funnel.steps.validationHint\":`crwdns4771:0crwdne4771:0`,\"funnel.step.removeTitle\":`crwdns4773:0crwdne4773:0`,\"funnel.step.editNameTitle\":`crwdns4775:0crwdne4775:0`,\"funnel.step.placeholder\":`crwdns4777:0crwdne4777:0`,\"funnel.step.timeWindow\":`crwdns4779:0crwdne4779:0`,\"funnel.step.timeWindowHelp\":`crwdns4781:0crwdne4781:0`,\"funnel.step.filters\":`crwdns4783:0{count}crwdne4783:0`,\"funnel.step.filtersPlural\":`crwdns4785:0{count}crwdne4785:0`,\"funnel.step.within\":`crwdns4787:0{time}crwdne4787:0`,\"funnel.step.noFilters\":`crwdns4789:0crwdne4789:0`,\"funnel.config.configuration\":`crwdns4791:0crwdne4791:0`,\"funnel.config.cube\":`crwdns4793:0crwdne4793:0`,\"funnel.config.cubeHelp\":`crwdns4795:0crwdne4795:0`,\"funnel.config.cubePlaceholder\":`crwdns4797:0crwdne4797:0`,\"funnel.config.bindingKey\":`crwdns4799:0crwdne4799:0`,\"funnel.config.bindingKeyHelp\":`crwdns4801:0crwdne4801:0`,\"funnel.config.bindingKeyPlaceholder\":`crwdns4803:0crwdne4803:0`,\"funnel.config.selectCubeFirst\":`crwdns4805:0crwdne4805:0`,\"funnel.config.timeDimension\":`crwdns4807:0crwdne4807:0`,\"funnel.config.timeDimensionHelp\":`crwdns4809:0crwdne4809:0`,\"funnel.config.timeDimensionPlaceholder\":`crwdns4811:0crwdne4811:0`,\"funnel.config.noMatchingFields\":`crwdns4813:0crwdne4813:0`,\"funnel.bindingKey.searchPlaceholder\":`crwdns4815:0crwdne4815:0`,\"funnel.bindingKey.noMatching\":`crwdns4817:0crwdne4817:0`,\"funnel.bindingKey.helpText\":`crwdns4819:0crwdne4819:0`,\"funnel.bindingKey.clearTitle\":`crwdns4821:0crwdne4821:0`,\"flow.config.configuration\":`crwdns4823:0crwdne4823:0`,\"flow.config.cube\":`crwdns4825:0crwdne4825:0`,\"flow.config.cubeHelp\":`crwdns4827:0crwdne4827:0`,\"flow.config.cubePlaceholder\":`crwdns4829:0crwdne4829:0`,\"flow.config.bindingKey\":`crwdns4831:0crwdne4831:0`,\"flow.config.bindingKeyHelp\":`crwdns4833:0crwdne4833:0`,\"flow.config.bindingKeyPlaceholder\":`crwdns4835:0crwdne4835:0`,\"flow.config.selectCubeFirst\":`crwdns4837:0crwdne4837:0`,\"flow.config.timeDimension\":`crwdns4839:0crwdne4839:0`,\"flow.config.timeDimensionHelp\":`crwdns4841:0crwdne4841:0`,\"flow.config.timeDimensionPlaceholder\":`crwdns4843:0crwdne4843:0`,\"flow.config.eventDimension\":`crwdns4845:0crwdne4845:0`,\"flow.config.eventDimensionHelp\":`crwdns4847:0crwdne4847:0`,\"flow.config.eventDimensionPlaceholder\":`crwdns4849:0crwdne4849:0`,\"flow.config.noMatchingFields\":`crwdns4851:0crwdne4851:0`,\"retention.config.configuration\":`crwdns4853:0crwdne4853:0`,\"retention.config.cube\":`crwdns4855:0crwdne4855:0`,\"retention.config.cubeHelp\":`crwdns4857:0crwdne4857:0`,\"retention.config.cubePlaceholder\":`crwdns4859:0crwdne4859:0`,\"retention.config.bindingKey\":`crwdns4861:0crwdne4861:0`,\"retention.config.bindingKeyHelp\":`crwdns4863:0crwdne4863:0`,\"retention.config.bindingKeyPlaceholder\":`crwdns4865:0crwdne4865:0`,\"retention.config.selectCubeFirst\":`crwdns4867:0crwdne4867:0`,\"retention.config.timestamp\":`crwdns4869:0crwdne4869:0`,\"retention.config.timestampHelp\":`crwdns4871:0crwdne4871:0`,\"retention.config.timestampPlaceholder\":`crwdns4873:0crwdne4873:0`,\"retention.config.noMatchingFields\":`crwdns4875:0crwdne4875:0`,\"retention.config.searchPlaceholder\":`crwdns4877:0crwdne4877:0`,\"display.showLegend\":`crwdns4879:0crwdne4879:0`,\"display.showGrid\":`crwdns4881:0crwdne4881:0`,\"display.showTooltip\":`crwdns4883:0crwdne4883:0`,\"display.stacked\":`crwdns4885:0crwdne4885:0`,\"display.hideHeader\":`crwdns4887:0crwdne4887:0`,\"fieldSearch.aria.closeDialog\":`crwdns4889:0crwdne4889:0`,\"fieldSearch.aria.filterByCube\":`crwdns4891:0crwdne4891:0`,\"fieldSearch.aria.cubeCategories\":`crwdns4893:0crwdne4893:0`,\"fieldSearch.aria.availableFields\":`crwdns4895:0crwdne4895:0`,\"chart.dropZone.required\":`crwdns4897:0crwdne4897:0`,\"common.actions.apply\":`crwdns4899:0crwdne4899:0`,\"common.actions.done\":`crwdns4901:0crwdne4901:0`,\"common.actions.update\":`crwdns4903:0crwdne4903:0`,\"common.actions.retry\":`crwdns4905:0crwdne4905:0`,\"common.actions.exit\":`crwdns4907:0crwdne4907:0`,\"common.actions.selectAll\":`crwdns4909:0crwdne4909:0`,\"common.saving\":`crwdns4911:0crwdne4911:0`,\"common.labels.title\":`crwdns4913:0crwdne4913:0`,\"dashboardFilter.editFilter\":`crwdns4915:0crwdne4915:0`,\"dashboardFilter.filterLabel\":`crwdns4917:0crwdne4917:0`,\"dashboardFilter.enterFilterLabel\":`crwdns4919:0crwdne4919:0`,\"dashboardFilter.universalTimeFilter\":`crwdns4921:0crwdne4921:0`,\"dashboardFilter.universalTimeDescription\":`crwdns4923:0crwdne4923:0`,\"dashboardFilter.field\":`crwdns4925:0crwdne4925:0`,\"dashboardFilter.showDashboardFields\":`crwdns4927:0crwdne4927:0`,\"dashboardFilter.showAllFields\":`crwdns4929:0crwdne4929:0`,\"dashboardFilter.dashboard\":`crwdns4931:0crwdne4931:0`,\"dashboardFilter.all\":`crwdns4933:0crwdne4933:0`,\"dashboardFilter.clickToSelectField\":`crwdns4935:0crwdne4935:0`,\"dashboardFilter.operator\":`crwdns4937:0crwdne4937:0`,\"dashboardFilter.defaultValue\":`crwdns4939:0crwdne4939:0`,\"dashboardFilter.deleteFilter\":`crwdns4941:0crwdne4941:0`,\"dashboardFilter.noValueRequired\":`crwdns4943:0crwdne4943:0`,\"dashboardFilter.to\":`crwdns4945:0crwdne4945:0`,\"dashboardFilter.selectValue\":`crwdns4947:0crwdne4947:0`,\"dashboardFilter.search\":`crwdns4949:0crwdne4949:0`,\"dashboardFilter.errorPrefix\":`crwdns4951:0crwdne4951:0`,\"dashboardFilter.noValuesFound\":`crwdns4953:0crwdne4953:0`,\"dashboardFilter.enterValue\":`crwdns4955:0crwdne4955:0`,\"dashboardFilter.enterNumber\":`crwdns4957:0crwdne4957:0`,\"dashboardFilter.min\":`crwdns4959:0crwdne4959:0`,\"dashboardFilter.max\":`crwdns4961:0crwdne4961:0`,\"dashboardFilter.filterLabelRequired\":`crwdns4963:0crwdne4963:0`,\"dashboardFilter.selectFieldRequired\":`crwdns4965:0crwdne4965:0`,\"dashboardFilter.notSet\":`crwdns4967:0crwdne4967:0`,\"dashboardFilter.clickToConfigure\":`crwdns4969:0crwdne4969:0`,\"dashboardFilter.customDate.startDate\":`crwdns4971:0crwdne4971:0`,\"dashboardFilter.customDate.endDate\":`crwdns4973:0crwdne4973:0`,\"dashboardFilter.customDate.sinceDate\":`crwdns4975:0crwdne4975:0`,\"dashboardFilter.customDate.fromSelectedToToday\":`crwdns4977:0crwdne4977:0`,\"dashboardFilter.customDate.number\":`crwdns4979:0crwdne4979:0`,\"dashboardFilter.customDate.unit\":`crwdns4981:0crwdne4981:0`,\"dashboardFilter.customDate.lastNPreview\":`crwdns4983:0{number}crwdnd4983:0{unit}crwdne4983:0`,\"dashboardFilter.editMode.filters\":`crwdns4985:0crwdne4985:0`,\"dashboardFilter.editMode.noFilters\":`crwdns4987:0crwdne4987:0`,\"dashboardFilter.editMode.dateRange\":`crwdns4989:0crwdne4989:0`,\"dashboardFilter.editMode.filter\":`crwdns4991:0crwdne4991:0`,\"dashboardFilter.editMode.editFilter\":`crwdns4993:0crwdne4993:0`,\"dashboardFilter.editMode.removeFilter\":`crwdns4995:0crwdne4995:0`,\"dashboardFilter.filterValue.editValue\":`crwdns4997:0crwdne4997:0`,\"dashboardFilter.readOnly.filters\":`crwdns4999:0crwdne4999:0`,\"filter.shared.fieldsInQuery\":`crwdns5001:0{count}crwdne5001:0`,\"filter.shared.allAvailableFields\":`crwdns5003:0{count}crwdne5003:0`,\"filter.shared.noFieldsMatch\":`crwdns5005:0{searchTerm}crwdne5005:0`,\"filter.shared.searchFields\":`crwdns5007:0crwdne5007:0`,\"filter.shared.selectField\":`crwdns5009:0crwdne5009:0`,\"filter.shared.schemaNotLoaded\":`crwdns5011:0crwdne5011:0`,\"filter.shared.group.addFilter\":`crwdns5013:0crwdne5013:0`,\"filter.shared.group.addAndGroup\":`crwdns5015:0crwdne5015:0`,\"filter.shared.group.addOrGroup\":`crwdns5017:0crwdne5017:0`,\"filter.shared.group.addCondition\":`crwdns5019:0crwdne5019:0`,\"filter.shared.group.noConditions\":`crwdns5021:0crwdne5021:0`,\"filter.shared.group.addFilterLink\":`crwdns5023:0crwdne5023:0`,\"filter.shared.builder.filters\":`crwdns5025:0{count}crwdne5025:0`,\"filter.shared.builder.clearAll\":`crwdns5027:0crwdne5027:0`,\"filter.shared.builder.addFilter\":`crwdns5029:0crwdne5029:0`,\"filter.shared.dateRange.title\":`crwdns5031:0{count}crwdne5031:0`,\"filter.shared.dateRange.clearAll\":`crwdns5033:0crwdne5033:0`,\"filter.shared.dateRange.addDateRange\":`crwdns5035:0crwdne5035:0`,\"filter.shared.dateRange.allHaveDateRanges\":`crwdns5037:0crwdne5037:0`,\"filter.shared.valueSelector.noValueRequired\":`crwdns5039:0crwdne5039:0`,\"filter.shared.valueSelector.to\":`crwdns5041:0crwdne5041:0`,\"filter.shared.valueSelector.min\":`crwdns5043:0crwdne5043:0`,\"filter.shared.valueSelector.max\":`crwdns5045:0crwdne5045:0`,\"filter.shared.valueSelector.enterNumber\":`crwdns5047:0crwdne5047:0`,\"filter.shared.valueSelector.loadingValues\":`crwdns5049:0crwdne5049:0`,\"filter.shared.valueSelector.selectValue\":`crwdns5051:0crwdne5051:0`,\"filter.shared.valueSelector.searchValues\":`crwdns5053:0crwdne5053:0`,\"filter.shared.valueSelector.searching\":`crwdns5055:0crwdne5055:0`,\"filter.shared.valueSelector.errorLoading\":`crwdns5057:0{error}crwdne5057:0`,\"filter.shared.valueSelector.noMatchingValues\":`crwdns5059:0crwdne5059:0`,\"filter.shared.valueSelector.noValuesAvailable\":`crwdns5061:0crwdne5061:0`,\"filter.shared.valueSelector.enterValue\":`crwdns5063:0{type}crwdne5063:0`,\"dashboard.noPortlets\":`crwdns5065:0crwdne5065:0`,\"dashboard.noPortletsDescription\":`crwdns5067:0crwdne5067:0`,\"dashboard.addText\":`crwdns5069:0crwdne5069:0`,\"dashboard.addPortlet\":`crwdns5071:0crwdne5071:0`,\"dashboard.finishEditing\":`crwdns5073:0crwdne5073:0`,\"dashboard.edit\":`crwdns5075:0crwdne5075:0`,\"dashboard.grid\":`crwdns5077:0crwdne5077:0`,\"dashboard.rows\":`crwdns5079:0crwdne5079:0`,\"dashboard.desktopRequired\":`crwdns5081:0crwdne5081:0`,\"dashboard.editModeHint\":`crwdns5083:0crwdne5083:0`,\"dashboard.filterSelectionMode\":`crwdns5085:0{filterLabel}crwdne5085:0`,\"dashboard.filterSelectionEscHint\":`crwdns5087:0crwdne5087:0`,\"dashboard.editPortlet\":`crwdns5089:0crwdne5089:0`,\"dashboard.addNewPortlet\":`crwdns5091:0crwdne5091:0`,\"dashboard.updatePortlet\":`crwdns5093:0crwdne5093:0`,\"dashboard.deletePortlet\":`crwdns5095:0crwdne5095:0`,\"dashboard.deletePortletConfirm\":`crwdns5097:0crwdne5097:0`,\"dashboard.deletePortletSuffix\":`crwdns5099:0crwdne5099:0`,\"dashboard.thisPortlet\":`crwdns5101:0crwdne5101:0`,\"dashboard.editModal.dashboardName\":`crwdns5103:0crwdne5103:0`,\"dashboard.editModal.enterDashboardName\":`crwdns5105:0crwdne5105:0`,\"dashboard.editModal.descriptionOptional\":`crwdns5107:0crwdne5107:0`,\"dashboard.editModal.enterDescription\":`crwdns5109:0crwdne5109:0`,\"portlet.configRequired\":`crwdns5111:0crwdne5111:0`,\"portlet.configRequiredHint\":`crwdns5113:0crwdne5113:0`,\"portlet.queryError\":`crwdns5115:0crwdne5115:0`,\"portlet.queryWithFilters\":`crwdns5117:0crwdne5117:0`,\"portlet.chartConfig\":`crwdns5119:0crwdne5119:0`,\"portlet.noDataAvailable\":`crwdns5121:0crwdne5121:0`,\"portlet.noDataDrilled\":`crwdns5123:0crwdne5123:0`,\"portlet.invalidQuery\":`crwdns5125:0crwdne5125:0`,\"portlet.unsupportedChartType\":`crwdns5127:0crwdne5127:0`,\"portlet.unableToRender\":`crwdns5129:0crwdne5129:0`,\"portlet.enterTitle\":`crwdns5131:0crwdne5131:0`,\"portlet.enterPortletTitle\":`crwdns5133:0crwdne5133:0`,\"portlet.configureQuery\":`crwdns5135:0crwdne5135:0`,\"portlet.configureFlow\":`crwdns5137:0crwdne5137:0`,\"portlet.configureRetention\":`crwdns5139:0crwdne5139:0`,\"portlet.configureFunnel\":`crwdns5141:0crwdne5141:0`,\"portlet.addMetricOrBreakdown\":`crwdns5143:0crwdne5143:0`,\"portlet.filterConfig.title\":`crwdns5145:0crwdne5145:0`,\"portlet.filterConfig.subtitle\":`crwdns5147:0{portletTitle}crwdne5147:0`,\"portlet.filterConfig.noFilters\":`crwdns5149:0crwdne5149:0`,\"portlet.filterConfig.noFiltersHint\":`crwdns5151:0crwdne5151:0`,\"portlet.filterConfig.availableFilters\":`crwdns5153:0crwdne5153:0`,\"portlet.filterConfig.selectedCount\":`crwdns5155:0{selected}crwdnd5155:0{total}crwdne5155:0`,\"portlet.filterConfig.applied\":`crwdns5157:0crwdne5157:0`,\"portlet.filterConfig.noValue\":`crwdns5159:0crwdne5159:0`,\"portlet.filterConfig.complexFilter\":`crwdns5161:0crwdne5161:0`,\"portlet.filterConfig.groupFilter\":`crwdns5163:0{type}crwdnd5163:0{count}crwdne5163:0`,\"portlet.filterConfig.groupFilterPlural\":`crwdns5165:0{type}crwdnd5165:0{count}crwdne5165:0`,\"portlet.filterConfig.applyFilters\":`crwdns5167:0crwdne5167:0`,\"textPortlet.editText\":`crwdns5169:0crwdne5169:0`,\"textPortlet.addText\":`crwdns5171:0crwdne5171:0`,\"textPortlet.markdownContent\":`crwdns5173:0crwdne5173:0`,\"textPortlet.markdownHint\":`crwdns5175:0urlcrwdne5175:0`,\"textPortlet.preview\":`crwdns5177:0crwdne5177:0`,\"debug.title\":`crwdns5179:0crwdne5179:0`,\"debug.chartType\":`crwdns5181:0crwdne5181:0`,\"debug.fieldAnalysis\":`crwdns5183:0crwdne5183:0`,\"debug.chartConfig\":`crwdns5185:0crwdne5185:0`,\"debug.displayConfig\":`crwdns5187:0crwdne5187:0`,\"debug.queryObject\":`crwdns5189:0crwdne5189:0`,\"debug.dataSample\":`crwdns5191:0crwdne5191:0`,\"debug.cacheStatus\":`crwdns5193:0crwdne5193:0`,\"debug.cacheHit\":`crwdns5195:0crwdne5195:0`,\"debug.cachedAt\":`crwdns5197:0crwdne5197:0`,\"debug.ttl\":`crwdns5199:0crwdne5199:0`,\"debug.ttlRemaining\":`crwdns5201:0crwdne5201:0`,\"debug.freshQuery\":`crwdns5203:0crwdne5203:0`,\"debug.notFromCache\":`crwdns5205:0crwdne5205:0`,\"debug.escToClose\":`crwdns5207:0crwdne5207:0`,\"debug.escKey\":`crwdns5209:0crwdne5209:0`,\"debug.toClose\":`crwdns5211:0crwdne5211:0`,\"debug.tooltip\":`crwdns5213:0crwdne5213:0`,\"error.unableToRender\":`crwdns5215:0crwdne5215:0`,\"error.unableToRenderNamed\":`crwdns5217:0{title}crwdne5217:0`,\"error.renderDescription\":`crwdns5219:0crwdne5219:0`,\"error.errorLabel\":`crwdns5221:0crwdne5221:0`,\"error.typeLabel\":`crwdns5223:0crwdne5223:0`,\"error.portletConfig\":`crwdns5225:0crwdne5225:0`,\"error.cubeQuery\":`crwdns5227:0crwdne5227:0`,\"error.componentStack\":`crwdns5229:0crwdne5229:0`,\"error.tryAgain\":`crwdns5231:0crwdne5231:0`,\"drill.back\":`crwdns5233:0crwdne5233:0`,\"drill.goBackOneLevel\":`crwdns5235:0crwdne5235:0`,\"drill.returnToTop\":`crwdns5237:0crwdne5237:0`,\"drill.navigateTo\":`crwdns5239:0{label}crwdne5239:0`,\"drill.empty\":`crwdns5241:0crwdne5241:0`,\"analyticsPage.title\":`crwdns5243:0crwdne5243:0`,\"dataHistogram.average\":`crwdns5507:0{count}crwdne5507:0`,\"dataHistogram.valuesInRange\":`crwdns5245:0{count}crwdne5245:0`}})),cu=c({default:()=>lu}),lu,uu=o((()=>{lu={\"analysis.modes.flow.description\":`Bidirectional path analysis with Sankey visualization`,\"chart.area.description\":`Emphasize magnitude of change over time`,\"chart.radialBar.description\":`Circular progress and KPI visualization`,\"chart.treemap.description\":`Visualize hierarchical data with nested rectangles`,\"chart.activityGrid.description\":`GitHub-style activity grid showing temporal patterns across different time scales`,\"chart.activityGrid.useCase\":`Best for visualizing activity patterns over time. Supports hour (3hr blocks × days), day (days × weeks), week (weeks × months), month (months × quarters), and quarter (quarters × years) granularities`,\"chart.kpiText.description\":`Display key performance indicators as customizable text`,\"chart.funnel.useCase\":`Best for visualizing user journey funnels, sales pipelines, or multi-step processes`,\"chart.sankey.useCase\":`Best for visualizing user journey flows, path analysis, or state transitions`,\"chart.sunburst.useCase\":`Best for visualizing forward paths from a starting event in a compact radial layout`,\"chart.heatmap.description\":`Visualize intensity across two dimensions`,\"chart.retentionHeatmap.description\":`Cohort retention matrix visualization`,\"chart.retentionHeatmap.useCase\":`Visualize user retention over time by cohort`,\"chart.retentionCombined.description\":`Combined retention visualization with line chart and heatmap modes`,\"chart.retentionCombined.useCase\":`Visualize user retention over time with optional breakdown segmentation`,\"chart.measureProfile.description\":`Plot N measures as sequential X-axis points to visualize a profile or shape across intervals`,\"chart.gauge.useCase\":`Best for high-water marks vs equity, margin utilization, or any single value progress toward a goal`,\"chart.option.innerRadius.description\":`Hollow center size (0% = solid pie, higher = donut style)`,\"chart.option.bullColor.label\":`Bullish Color`,\"chart.option.bullColor.description\":`Candle color when close ≥ open`,\"chart.option.bearColor.label\":`Bearish Color`,\"chart.option.bearColor.description\":`Candle color when close < open`,\"chart.option.showCentreLabel.label\":`Show Center Label`,\"chart.option.showCentreLabel.description\":`Display current value and field name in the center of the gauge`,\"chart.option.accentBorder.description\":`Add an accent-colored border on one side of the content`,\"chart.scatter.dropZone.series.empty\":`Drop a dimension to color points`,\"chart.bubble.dropZone.colorField.empty\":`Drop a field for bubble color (optional)`,\"chart.treemap.dropZone.series.empty\":`Drop a dimension for color grouping`}})),du=c({default:()=>fu}),fu,pu=o((()=>{fu={\"analysis.modes.query.label\":`Zoekopdracht`,\"analysis.modes.query.description\":`Standard analyse (enkele of meerdere-query)`,\"analysis.modes.funnel.label\":`Trechter`,\"analysis.modes.funnel.description\":`Sequential conversion analyse`,\"analysis.modes.flow.label\":`Stroom`,\"analysis.modes.flow.description\":`Bidirectional pad analyse met Sankey visualisatie`,\"analysis.modes.retention.label\":`Retentie`,\"analysis.modes.retention.description\":`Cohortgebaseerde retentieanalyse over tijdsperioden`,\"analysis.ai.title\":`AI-querygenerator`,\"analysis.ai.generating\":`Genereren...`,\"analysis.ai.placeholder\":`Beschrijf je query in natuurlijke taal... (bijv. 'Toon totale verkoop per maand voor het afgelopen jaar')`,\"analysis.ai.shortcutHint\":`Druk op Enter om te genereren, Shift+Enter voor een nieuwe regel`,\"analysis.ai.successMessage\":`Query gegenereerd en geladen! Controleer de resultaten hieronder en klik op Accepteren om te behouden of Annuleren om terug te draaien.`,\"analysis.ai.button.accept\":`Accepteren`,\"analysis.ai.button.cancel\":`Annuleren`,\"analysis.ai.button.close\":`Sluiten`,\"analysis.ai.button.generate\":`Genereren`,\"analysis.ai.button.generating\":`Genereren...`,\"analysis.sections.metrics\":`Metrieken`,\"analysis.sections.breakdown\":`Opsplitsing`,\"analysis.sections.dimensions\":`Dimensies`,\"analysis.sections.filters\":`Filter`,\"analysis.sections.limit\":`Limiet`,\"analysis.tabs.query\":`Zoekopdracht`,\"analysis.tabs.chart\":`Grafiek`,\"analysis.tabs.chartTitle\":`Grafiek configuratie`,\"analysis.tabs.chartDisabled\":`Voeg metingen toe om de grafiek te configureren`,\"analysis.tabs.display\":`Weergave`,\"analysis.tabs.displayTitle\":`Weergave options`,\"analysis.tabs.displayDisabled\":`Voeg metingen toe om de weergave te configureren`,\"analysis.multiQuery.removeQuery\":`Verwijderen query`,\"analysis.multiQuery.addQuery\":`Voeg new query`,\"analysis.multiQuery.addAnother\":`Voeg another query`,\"analysis.multiQuery.mergeExplanation\":`In samenvoegen modus, dimensies zijn shared van Q1.`,\"analysis.multiQuery.switchToSeparate\":`Schakel naar aparte reeksen`,\"analysis.mergeStrategy.concat\":`Apart reeksen`,\"analysis.mergeStrategy.merge\":`Samenvoegen op dimensie`,\"analysis.mergeStrategy.funnel\":`Trechter`,\"analysis.placeholders.addMetrics\":`Voeg metingen toe om SQL te genereren`,\"analysis.placeholders.hoverField\":`Beweeg over een veld om details te zien`,\"analysis.placeholders.noData\":`Geen gegevens beschikbaar`,\"common.actions.accept\":`Accepteren`,\"common.actions.cancel\":`Annuleren`,\"common.actions.delete\":`Verwijderen`,\"common.actions.close\":`Sluiten`,\"common.actions.edit\":`Bewerken`,\"common.actions.save\":`Opslaan`,\"common.actions.copy\":`Kopiëren`,\"common.actions.duplicate\":`Dupliceren`,\"common.actions.refresh\":`Vernieuwen`,\"common.actions.confirm\":`Bevestigen`,\"common.actions.add\":`Voeg`,\"common.actions.clear\":`Wissen`,\"common.actions.select\":`Selecteer`,\"common.actions.navigate\":`Navigeer`,\"common.actions.share\":`Delen`,\"common.loading\":`Laden...`,\"common.modal.processing\":`Verwerken...`,\"common.modal.dashboardName\":`Dashboard Naam`,\"common.modal.deleteConfirmation\":`Weet je het zeker? Deze actie kan niet ongedaan worden gemaakt.`,\"common.sorting.ascending\":`Oplopend gesorteerd (klik voor aflopend)`,\"common.sorting.descending\":`Aflopend gesorteerd (klik om te verwijderen)`,\"common.sorting.none\":`Klik om oplopend te sorteren`,\"fieldTypes.count\":`Aantal`,\"fieldTypes.countDistinct\":`Aantal Distinct`,\"fieldTypes.countDistinctApprox\":`Aantal Distinct (Approx)`,\"fieldTypes.sum\":`Som`,\"fieldTypes.avg\":`Gemiddelde`,\"fieldTypes.min\":`Minimum`,\"fieldTypes.max\":`Maximum`,\"fieldTypes.runningTotal\":`Uitvoeren Totaal`,\"fieldTypes.number\":`Nummer`,\"fieldTypes.string\":`Tekst`,\"fieldTypes.boolean\":`Boolean`,\"fieldTypes.time\":`Tijd Dimensie`,\"fieldTypes.geo\":`Geografisch`,\"fieldTypes.dimension\":`Dimensie`,\"fieldPanel.emptyState\":`Beweeg over een veld om details te zien`,\"fieldPanel.usageHint\":`Druk op Enter of klik om dit veld aan je query toe te voegen.`,\"fieldPanel.labels.type\":`Type`,\"fieldPanel.labels.cube\":`Cube`,\"fieldPanel.labels.category\":`Categorie`,\"fieldCategory.measure\":`Meting`,\"fieldCategory.timeDimension\":`Tijd Dimensie`,\"fieldCategory.dimension\":`Dimensie`,\"fieldSearch.placeholder.metrics\":`Zoeken metingen...`,\"fieldSearch.placeholder.filter\":`Zoeken velden naar filter...`,\"fieldSearch.placeholder.dimensions\":`Zoeken dimensies...`,\"fieldSearch.modal.title.metrics\":`Selecteer a Metric`,\"fieldSearch.modal.title.filter\":`Selecteer a Veld naar Filter`,\"fieldSearch.modal.title.dimensions\":`Selecteer a Dimensie`,\"fieldSearch.filter.allCubes\":`Alle Cubes`,\"fieldSearch.categories.all\":`Alle`,\"fieldSearch.empty.heading\":`Geen velden gevonden`,\"fieldSearch.empty.noMatchMetrics\":`Geen metingen match \"{searchTerm}\"`,\"fieldSearch.empty.noMatchDimensions\":`Geen dimensies match \"{searchTerm}\"`,\"fieldSearch.empty.noMetrics\":`Geen metingen beschikbaar`,\"fieldSearch.empty.noDimensions\":`Geen dimensies beschikbaar`,\"fieldSearch.section.recents\":`Recent`,\"fieldSearch.footer.metricsAvailable\":`metrieken beschikbaar`,\"fieldSearch.footer.fieldsAvailable\":`velden beschikbaar`,\"fieldSearch.footer.dimensionsAvailable\":`dimensies beschikbaar`,\"fieldSearch.shortcut.navigate\":`Navigeer`,\"fieldSearch.shortcut.keyEnter\":`Enter`,\"fieldSearch.shortcut.keyShift\":`Shift`,\"fieldSearch.shortcut.keyEsc\":`Esc`,\"fieldSearch.shortcut.plusClick\":`+Klik`,\"fieldSearch.shortcut.select\":`Selecteer`,\"fieldSearch.shortcut.multiSelect\":`Meerdere-selecteer`,\"fieldSearch.shortcut.close\":`Sluiten`,\"filter.group.condition\":`voorwaarde`,\"filter.group.conditions\":`voorwaarden`,\"filter.group.addFilter\":`Voeg Filter`,\"filter.group.addAndGroup\":`Voeg EN Groep`,\"filter.group.addOrGroup\":`Voeg OF Groep`,\"filter.group.removeGroup\":`Verwijderen groep`,\"filter.group.empty\":`Geen conditions in deze groep`,\"filter.group.addFilterLink\":`Voeg a filter`,\"filter.modal.title\":`Bewerken Filter`,\"filter.modal.fieldLabel\":`Veld`,\"filter.modal.operatorLabel\":`Operator`,\"filter.modal.valueLabel\":`Waarde`,\"filter.modal.selectRange\":`Selecteer range`,\"filter.modal.noValueRequired\":`Geen waarde vereist`,\"filter.modal.dateTo\":`naar`,\"filter.modal.min\":`Min`,\"filter.modal.to\":`naar`,\"filter.modal.max\":`Max`,\"filter.modal.enterNumber\":`Enter nummer`,\"filter.modal.loading\":`Laden...`,\"filter.modal.selectValue\":`Selecteer waarde...`,\"filter.modal.search\":`Zoeken...`,\"filter.modal.errorPrefix\":`Fout:`,\"filter.modal.noValues\":`Geen waarden gevonden`,\"filter.modal.multiSelectHint\":`Houd Shift ingedrukt om meerdere waarden te selecteren`,\"filter.modal.enterValue\":`Enter waarde...`,\"filter.removeButton.title\":`Verwijderen filter`,\"filter.section.clearAll\":`Wissen alle`,\"filter.section.dropHint\":`Sleep hierheen om filter toe te voegen`,\"filter.section.empty\":`Geen filters toegepast`,\"filter.valueDisplay.empty\":`(leeg)`,\"filter.valueDisplay.more\":`meer`,\"filter.operator.equals.label\":`gelijk aan`,\"filter.operator.equals.description\":`Exacte overeenkomst`,\"filter.operator.notEquals.label\":`niet gelijk aan`,\"filter.operator.notEquals.description\":`Komt niet overeen`,\"filter.operator.contains.label\":`bevat`,\"filter.operator.contains.description\":`Bevat tekst (hoofdletterongevoelig)`,\"filter.operator.notContains.label\":`niet bevat`,\"filter.operator.notContains.description\":`Bevat geen tekst`,\"filter.operator.startsWith.label\":`begint met`,\"filter.operator.startsWith.description\":`Begint met tekst`,\"filter.operator.notStartsWith.label\":`niet begint met`,\"filter.operator.notStartsWith.description\":`Begint niet met tekst`,\"filter.operator.endsWith.label\":`eindigt met`,\"filter.operator.endsWith.description\":`Eindigt met tekst`,\"filter.operator.notEndsWith.label\":`niet eindigt met`,\"filter.operator.notEndsWith.description\":`Eindigt niet met tekst`,\"filter.operator.like.label\":`like`,\"filter.operator.like.description\":`SQL LIKE pattern overeenkomstige (hoofdletter gevoelig)`,\"filter.operator.notLike.label\":`niet like`,\"filter.operator.notLike.description\":`SQL NIET LIKE pattern overeenkomstige (hoofdletter gevoelig)`,\"filter.operator.ilike.label\":`ilike`,\"filter.operator.ilike.description\":`SQL ILIKE pattern overeenkomstige (hoofdletter ongevoelig)`,\"filter.operator.gt.label\":`groter dan`,\"filter.operator.gt.description\":`Groter dan waarde`,\"filter.operator.gte.label\":`groter dan van gelijk`,\"filter.operator.gte.description\":`Groter dan van gelijk naar waarde`,\"filter.operator.lt.label\":`kleiner dan`,\"filter.operator.lt.description\":`Kleiner dan waarde`,\"filter.operator.lte.label\":`kleiner dan van gelijk`,\"filter.operator.lte.description\":`Kleiner dan van gelijk naar waarde`,\"filter.operator.between.label\":`tussen`,\"filter.operator.between.description\":`Tussen twee waarden (inclusive)`,\"filter.operator.notBetween.label\":`niet tussen`,\"filter.operator.notBetween.description\":`Niet tussen twee waarden`,\"filter.operator.in.label\":`in`,\"filter.operator.in.description\":`Komt overeen elke van de opgegeven waarden`,\"filter.operator.notIn.label\":`niet in`,\"filter.operator.notIn.description\":`Komt niet overeen elke van de opgegeven waarden`,\"filter.operator.set.label\":`is set`,\"filter.operator.set.description\":`Is niet nul/leeg`,\"filter.operator.notSet.label\":`is niet set`,\"filter.operator.notSet.description\":`Is nul/leeg`,\"filter.operator.isEmpty.label\":`is leeg`,\"filter.operator.isEmpty.description\":`Is leeg tekenreeks van nul`,\"filter.operator.isNotEmpty.label\":`is niet leeg`,\"filter.operator.isNotEmpty.description\":`Is niet leeg tekenreeks en niet nul`,\"filter.operator.inDateRange.label\":`in datum bereik`,\"filter.operator.inDateRange.description\":`Tussen twee dates`,\"filter.operator.beforeDate.label\":`voor datum`,\"filter.operator.beforeDate.description\":`Voor opgegeven datum`,\"filter.operator.afterDate.label\":`na datum`,\"filter.operator.afterDate.description\":`Na opgegeven datum`,\"filter.operator.regex.label\":`komt overeen regex`,\"filter.operator.regex.description\":`Komt overeen reguliere expressie pattern`,\"filter.operator.notRegex.label\":`niet komt overeen regex`,\"filter.operator.notRegex.description\":`Komt niet overeen reguliere expressie pattern`,\"filter.operator.arrayContains.label\":`array bevat alle`,\"filter.operator.arrayContains.description\":`Array veld bevat alle opgegeven waarden (PostgreSQL alleen)`,\"filter.operator.arrayOverlaps.label\":`array bevat elke`,\"filter.operator.arrayOverlaps.description\":`Array veld bevat elke van de opgegeven waarden (PostgreSQL alleen)`,\"filter.operator.arrayContained.label\":`array waarden in`,\"filter.operator.arrayContained.description\":`Alle array veld waarden vallen binnen specified waarden (PostgreSQL only)`,\"dateRange.custom\":`Aangepast`,\"dateRange.today\":`Vandaag`,\"dateRange.yesterday\":`Gisteren`,\"dateRange.thisWeek\":`Deze week`,\"dateRange.thisMonth\":`Deze maand`,\"dateRange.thisQuarter\":`Deze quarter`,\"dateRange.thisYear\":`Deze jaar`,\"dateRange.last7Days\":`Laatste 7 days`,\"dateRange.last30Days\":`Laatste 30 days`,\"dateRange.lastNDays\":`Laatste N days`,\"dateRange.lastWeek\":`Laatste week`,\"dateRange.lastNWeeks\":`Laatste N weeks`,\"dateRange.lastMonth\":`Laatste month`,\"dateRange.last12Months\":`Laatste 12 months`,\"dateRange.lastNMonths\":`Laatste N months`,\"dateRange.lastQuarter\":`Laatste quarter`,\"dateRange.lastNQuarters\":`Laatste N quarters`,\"dateRange.lastYear\":`Laatste jaar`,\"dateRange.lastNYears\":`Laatste N years`,\"timeGranularity.hour\":`Uur`,\"timeGranularity.day\":`Dag`,\"timeGranularity.week\":`Week`,\"timeGranularity.month\":`Maand`,\"timeGranularity.quarter\":`Kwartaal`,\"timeGranularity.year\":`Jaar`,\"query.limit.label\":`Limiet`,\"query.limit.clear\":`Wissen`,\"chart.bar.label\":`Staaf Grafiek`,\"chart.bar.description\":`Vergelijk waarden over categorieën`,\"chart.bar.useCase\":`Beste voor het vergelijken van discrete categorieën, het tonen van ranglijsten of het weergeven van wijzigingen in de tijd`,\"chart.line.label\":`Lijn Grafiek`,\"chart.line.description\":`Toon trends en wijzigingen in de tijd`,\"chart.line.useCase\":`Beste voor doorlopende gegevens, trends, time reeksen, en toont relationships tussen multiple reeksen`,\"chart.area.label\":`Area Grafiek`,\"chart.area.description\":`Benadruk de omvang van veranderingen in de tijd`,\"chart.area.useCase\":`Beste voor het tonen van cumulatieve totalen, volumewijzigingen of gestapelde vergelijkingen in de tijd`,\"chart.pie.label\":`Taart Grafiek`,\"chart.pie.description\":`Toon proportions of a whole`,\"chart.pie.useCase\":`Beste voor toont percentage distribution of composition of a totaal (limit naar 5-7 slices)`,\"chart.scatter.label\":`Spreiding Plot`,\"chart.scatter.description\":`Reveal correlations tussen variables`,\"chart.scatter.useCase\":`Beste voor identifying patterns, correlations, outliers, en relationships tussen two metingen`,\"chart.bubble.label\":`Bubble Grafiek`,\"chart.bubble.description\":`Vergelijk three dimensies of gegevens`,\"chart.bubble.useCase\":`Beste voor toont relationships tussen three variables (X, Y, en size), market analyse`,\"chart.radar.label\":`Radar Grafiek`,\"chart.radar.description\":`Vergelijk meerdere metingen over categorieën`,\"chart.radar.useCase\":`Beste voor multivariate comparisons, prestatie metingen, strengths/weaknesses analyse`,\"chart.radialBar.label\":`Radial Staaf Grafiek`,\"chart.radialBar.description\":`Circular voortgang en KPI visualisatie`,\"chart.radialBar.useCase\":`Beste voor toont voortgang toward doelen, KPIs, of comparing percentages in a compact form`,\"chart.treemap.label\":`Boomkaart`,\"chart.treemap.description\":`Visualise hierarchical gegevens met nested rectangles`,\"chart.treemap.useCase\":`Beste voor toont part-naar-whole relationships in hierarchical gegevens, disk usage, budget allocation`,\"chart.table.label\":`Gegevens Tabel`,\"chart.table.description\":`Weergave gedetailleerde tabular gegevens`,\"chart.table.useCase\":`Beste voor precise waarden, gedetailleerde analyse, sortable/filterable gegevens exploration`,\"chart.activityGrid.label\":`Activiteit Raster`,\"chart.activityGrid.description\":`GitHub-stijl activiteitenraster dat temporele patronen over verschillende tijdschalen toont`,\"chart.activityGrid.useCase\":`Beste voor het visualiseren van activiteitspatronen in de tijd. Ondersteunt uur (3-uursblokken × dagen), dag (dagen × weken), week (weken × maanden), maand (maanden × kwartalen) en kwartaal (kwartalen × jaren) granulariteit`,\"chart.kpiNumber.label\":`KPI Nummer`,\"chart.kpiNumber.description\":`Weergave key prestatie indicators as large numbers`,\"chart.kpiNumber.useCase\":`Perfect voor toont belangrijk metrieken like omzet, gebruiker aantal, van andere sleutel business metrieken in een prominent, easy-naar-read format`,\"chart.kpiDelta.label\":`KPI-delta`,\"chart.kpiDelta.description\":`Weergave change tussen latest en previous waarden met trend indicators`,\"chart.kpiDelta.useCase\":`Ideaal voor het tonen van prestatieveranderingen in de tijd, zoals omzetgroei, wijzigingen in gebruikersacquisitie en andere metrieken waarbij trend en delta belangrijker zijn dan de absolute waarde`,\"chart.kpiText.label\":`KPI Tekst`,\"chart.kpiText.description\":`Weergave key prestatie indicators as customisable text`,\"chart.kpiText.useCase\":`Perfect voor toont metrieken met custom formatting, combining meerdere waarden, van displaying contextual KPI information met templates`,\"chart.markdown.label\":`Markdown`,\"chart.markdown.description\":`Weergave custom markdown content met formatting`,\"chart.markdown.useCase\":`Perfect voor adding documentation, notes, section kopteksten, instructions, van formatted tekst naar dashboards`,\"chart.funnel.label\":`Funnel Grafiek`,\"chart.funnel.description\":`Toon conversion through sequential stappen`,\"chart.funnel.useCase\":`Beste voor visualiseren user journey funnels, verkoop pipelines, of meerdere-stap processes`,\"chart.sankey.label\":`Sankey Grafiek`,\"chart.sankey.description\":`Toon flow tussen states of stappen`,\"chart.sankey.useCase\":`Beste voor visualiseren user journey flows, pad analyse, of state transitions`,\"chart.sunburst.label\":`Sunburst Grafiek`,\"chart.sunburst.description\":`Toon hierarchical flow as radial rings`,\"chart.sunburst.useCase\":`Beste voor visualiseren forward paden van a startende gebeurtenis in a compact radial layout`,\"chart.heatmap.label\":`Heatmap`,\"chart.heatmap.description\":`Visualiseer intensiteit over twee dimensies`,\"chart.heatmap.useCase\":`Beste voor toont patterns in matrix gegevens like correlations, schedules, of categorie comparisons`,\"chart.retentionHeatmap.label\":`Retentie Matrix`,\"chart.retentionHeatmap.description\":`Cohort retentie matrix visualisatie`,\"chart.retentionHeatmap.useCase\":`Visualiseer gebruikersretentie in de tijd per cohort`,\"chart.retentionCombined.label\":`Retentie Grafiek`,\"chart.retentionCombined.description\":`Combined retentie visualisatie met lijngrafiek en heatmap modes`,\"chart.retentionCombined.useCase\":`Visualiseer gebruikersretentie in de tijd met optionele segmentatie naar uitsplitsing`,\"chart.boxPlot.label\":`Boxplot`,\"chart.boxPlot.description\":`Toon statistische verdeling (mediaan, IQR, whiskers) over categorieën`,\"chart.boxPlot.useCase\":`Beste voor P&L-spreiding per symbool, verdeling van handelsgrootte en latentieverdeling over platforms`,\"chart.waterfall.label\":`Waterfall Grafiek`,\"chart.waterfall.description\":`Toon cumulative effect of sequential positive en negative waarden`,\"chart.waterfall.useCase\":`Beste voor P&L decomposition, cash flow analyse, budget variance, of elke sequential contribution breakdown`,\"chart.candlestick.label\":`Candlestick Grafiek`,\"chart.candlestick.description\":`Financial candlestick grafiek toont openen/sluiten body en hoog/laag wicks`,\"chart.candlestick.useCase\":`Beste voor EOD quotes (bid/ask spread per date/symbol), markout distribution bands, of OHLC price gegevens`,\"chart.measureProfile.label\":`Meting Profile`,\"chart.measureProfile.description\":`Plot N metingen als opeenvolgende X-aspunten om een profiel of vorm over intervallen te visualiseren`,\"chart.measureProfile.useCase\":`Beste voor markout-intervalanalyse (bijv. avgMinus2m → avgAtEvent → avgPlus2h), metricprofielen of elk patroon over geordende metingen`,\"chart.gauge.label\":`Gauge Grafiek`,\"chart.gauge.description\":`Half-circle arc meter voor een enkele KPI waarde versus een maximum target`,\"chart.gauge.useCase\":`Beste voor hoogwatermerken vs equity, margin utilisation, of elke enkele waarde voortgang toward a doel`,\"chart.config.chartType\":`Grafiek Type`,\"chart.config.loading\":`Laden grafiek configuratie...`,\"chart.config.axisConfig\":`Grafiek Configuration`,\"chart.config.unassigned\":`Unassigned Velden`,\"chart.config.unassignedHint\":`Drag velden naar grafiek axes above`,\"chart.config.noFields\":`Voeg metingen en uitsplitsingen toe in het tabblad Query om grafiekassen te configureren`,\"chart.dropZone.xAxis.label\":`X-As (Categorieën)`,\"chart.dropZone.xAxis.description\":`Dimensies en time dimensies voor grouping`,\"chart.dropZone.xAxis.empty\":`Sleep dimensies & tijd dimensies hier`,\"chart.dropZone.yAxis.label\":`Y-As (Waarden)`,\"chart.dropZone.yAxis.description\":`Metingen voor waarden of dimensies voor reeksen`,\"chart.dropZone.yAxis.empty\":`Sleep metingen van dimensies hier`,\"chart.dropZone.series.label\":`Reeks (Splits naar Multiple Reeks)`,\"chart.dropZone.series.description\":`Dimensies naar create separate gegevens reeksen`,\"chart.dropZone.series.empty\":`Sleep dimensies hier naar splits gegevens naar reeksen`,\"chart.dropZone.maxReached\":`Maximaal aantal items bereikt`,\"chart.dropZone.default.empty\":`Sleep velden hierheen`,\"chart.bar.dropZone.xAxis.empty\":`Sleep dimensies & tijdsdimensies hierheen`,\"chart.bar.dropZone.yAxis.empty\":`Sleep metingen hierheen`,\"chart.bar.dropZone.series.empty\":`Sleep dimensies hierheen om gegevens in reeksen te splitsen`,\"chart.line.dropZone.xAxis.empty\":`Sleep tijdsdimensies of dimensies hierheen`,\"chart.line.dropZone.yAxis.empty\":`Sleep metingen hierheen`,\"chart.line.dropZone.series.empty\":`Sleep dimensies hierheen voor meerdere lijnen`,\"chart.area.dropZone.xAxis.empty\":`Sleep tijdsdimensies of dimensies hierheen`,\"chart.area.dropZone.yAxis.empty\":`Sleep metingen hierheen`,\"chart.area.dropZone.series.empty\":`Sleep dimensies hierheen voor gestapelde gebieden`,\"chart.pie.dropZone.xAxis.empty\":`Sleep een dimensie voor categorieën`,\"chart.pie.dropZone.yAxis.empty\":`Sleep een meting voor waarden`,\"chart.scatter.dropZone.xAxis.empty\":`Sleep een veld voor X-as`,\"chart.scatter.dropZone.yAxis.empty\":`Sleep een meting voor Y-as`,\"chart.scatter.dropZone.series.empty\":`Sleep een dimensie om punten te kleuren`,\"chart.bubble.dropZone.xAxis.empty\":`Sleep een veld voor X-aspositie`,\"chart.bubble.dropZone.yAxis.empty\":`Sleep een meting voor Y-aspositie`,\"chart.bubble.dropZone.sizeField.empty\":`Sleep een meting voor bellengrootte`,\"chart.bubble.dropZone.series.empty\":`Sleep een dimensie voor bellenlabels`,\"chart.bubble.dropZone.colorField.empty\":`Sleep een veld voor bellenkleur (optioneel)`,\"chart.radar.dropZone.xAxis.empty\":`Sleep dimensies voor radarassen`,\"chart.radar.dropZone.yAxis.empty\":`Sleep metingen voor waarden`,\"chart.radar.dropZone.series.empty\":`Sleep dimensies voor meerdere vormen`,\"chart.radialBar.dropZone.xAxis.empty\":`Sleep dimensies voor categorieën`,\"chart.radialBar.dropZone.yAxis.empty\":`Sleep een meting voor waarden`,\"chart.treemap.dropZone.xAxis.empty\":`Sleep dimensies voor categorieën`,\"chart.treemap.dropZone.yAxis.empty\":`Sleep een meting voor grootte`,\"chart.treemap.dropZone.series.empty\":`Sleep een dimensie voor kleurgroepering`,\"chart.table.dropZone.xAxis.empty\":`Sleep velden om als kolommen weer te geven (of laat leeg voor alles)`,\"chart.activityGrid.dropZone.dateField.empty\":`Sleep een tijdsdimensie (granulariteit beïnvloedt rasterstructuur)`,\"chart.activityGrid.dropZone.valueField.empty\":`Sleep een meting voor activiteitsintensiteit`,\"chart.kpiNumber.dropZone.yAxis.empty\":`Sleep een meting hierheen`,\"chart.kpiDelta.dropZone.yAxis.empty\":`Sleep een meting hierheen`,\"chart.kpiDelta.dropZone.xAxis.empty\":`Sleep een dimensie voor ordening`,\"chart.kpiText.dropZone.yAxis.empty\":`Sleep een meting hierheen`,\"chart.funnel.dropZone.xAxis.empty\":`Stappen gedefinieerd in trechterconfig`,\"chart.funnel.dropZone.yAxis.empty\":`Tellingen berekend uit trechteruitvoering`,\"chart.sankey.dropZone.xAxis.empty\":`Automatisch ingevuld vanuit stroomconfig`,\"chart.sankey.dropZone.yAxis.empty\":`Berekend vanuit stroomuitvoering`,\"chart.sunburst.dropZone.xAxis.empty\":`Automatisch ingevuld vanuit stroomconfig`,\"chart.sunburst.dropZone.yAxis.empty\":`Berekend vanuit stroomuitvoering`,\"chart.heatmap.dropZone.xAxis.empty\":`Sleep één dimensie hierheen`,\"chart.heatmap.dropZone.yAxis.empty\":`Sleep één dimensie hierheen`,\"chart.heatmap.dropZone.valueField.empty\":`Sleep één meting hierheen`,\"chart.boxPlot.dropZone.xAxis.empty\":`Sleep een dimensie hierheen`,\"chart.boxPlot.dropZone.yAxis.empty\":`Sleep 1, 3 of 5 metingen hierheen`,\"chart.waterfall.dropZone.xAxis.empty\":`Sleep een dimensie hierheen`,\"chart.waterfall.dropZone.yAxis.empty\":`Sleep een meting hierheen`,\"chart.candlestick.dropZone.xAxis.empty\":`Sleep een tijd- of dimensie hierheen`,\"chart.candlestick.dropZone.yAxis.empty\":`Sleep 2+ metingen hierheen`,\"chart.measureProfile.dropZone.yAxis.empty\":`Sleep 2+ metingen hierheen (weergegeven links → rechts)`,\"chart.measureProfile.dropZone.series.empty\":`Sleep een dimensie hierheen om meerdere lijnen te maken`,\"chart.gauge.dropZone.yAxis.empty\":`Sleep 1 meting hierheen (optioneel 2e voor dynamisch max)`,\"chart.activityGrid.validation.timeDimensionRequired\":`Tijdsdimensie is vereist voor activiteitsraster`,\"chart.activityGrid.validation.measureRequired\":`Activiteitsmeting is vereist voor intensiteitstoewijzing`,\"chart.kpiDelta.validation.measureRequired\":`Een meting is vereist voor KPI Delta-grafieken`,\"chart.heatmap.validation.xAxisRequired\":`X-as dimensie vereist`,\"chart.heatmap.validation.yAxisRequired\":`Y-as dimensie vereist`,\"chart.heatmap.validation.valueRequired\":`Waardemeting vereist`,\"chart.option.stacking.label\":`Stapeling`,\"chart.option.stacking.none\":`Geen`,\"chart.option.stacking.stacked\":`Gestapeld`,\"chart.option.stacking.percent\":`Gestapeld 100%`,\"chart.option.stacking.description\":`Hoe naar stack meerdere reeksen`,\"chart.option.target.label\":`Doelwaardes`,\"chart.option.target.description\":`Enkele waarde of door komma's gescheiden waarden om over de X-as te spreiden`,\"chart.option.connectNulls.label\":`Verbind null-waarden`,\"chart.option.connectNulls.description\":`Tekenen doorlopende regel through ontbrekend gegevens punten`,\"chart.option.leftYAxisFormat.label\":`Left Y-As Format`,\"chart.option.leftYAxisFormat.description\":`Nummer formatting voor left Y-axis`,\"chart.option.rightYAxisFormat.label\":`Right Y-As Format`,\"chart.option.rightYAxisFormat.description\":`Nummer formatting voor right Y-axis`,\"chart.option.xAxisFormat.label\":`X-As Format`,\"chart.option.xAxisFormat.description\":`Nummer formatting voor X-axis`,\"chart.option.yAxisFormat.label\":`Y-As Format`,\"chart.option.yAxisFormat.description\":`Nummer formatting voor Y-axis`,\"chart.option.valueFormat.label\":`Waarde Format`,\"chart.option.valueFormat.description\":`Nummer formatting voor waarden`,\"chart.option.innerRadius.label\":`Binnenradius`,\"chart.option.innerRadius.description\":`Hollow centre grootte (0% = solid pie, higher = donut style)`,\"chart.option.showLabels.label\":`Toon Cell Waarden`,\"chart.option.showLabels.description\":`Weergave waarden inside each cell`,\"chart.option.cellShape.label\":`Celvorm`,\"chart.option.cellShape.rectangle\":`Rechthoek`,\"chart.option.cellShape.circle\":`Cirkel`,\"chart.option.funnelStyle.label\":`Trechterstijl`,\"chart.option.funnelStyle.bars\":`Balken`,\"chart.option.funnelStyle.funnel\":`Trechter`,\"chart.option.funnelOrientation.label\":`Oriëntatie`,\"chart.option.funnelOrientation.horizontal\":`Horizontaal`,\"chart.option.funnelOrientation.vertical\":`Verticaal`,\"chart.option.hideSummaryFooter.label\":`Verbergen Samenvatting Footer`,\"chart.option.hideSummaryFooter.description\":`Verberg de samenvattingsfooter die het aantal stappen en de totale conversie toont`,\"chart.option.showConversion.label\":`Toon Conversion Rate`,\"chart.option.showConversion.description\":`Weergave stap-naar-stap conversion percentage`,\"chart.option.showAvgTime.label\":`Toon Avg Tijd`,\"chart.option.showAvgTime.description\":`Weergave average time naar convert`,\"chart.option.showMedianTime.label\":`Toon Median Tijd`,\"chart.option.showMedianTime.description\":`Weergave median time naar convert`,\"chart.option.showP90Time.label\":`Toon P90 Tijd`,\"chart.option.showP90Time.description\":`Weergave 90th percentile time naar convert`,\"chart.option.linkOpacity.label\":`Link-opaciteit`,\"chart.option.linkOpacity.light\":`Licht`,\"chart.option.linkOpacity.medium\":`Gemiddeld`,\"chart.option.linkOpacity.dark\":`Donker`,\"chart.option.showNodeLabels.label\":`Toon Node Labels`,\"chart.option.showNodeLabels.description\":`Weergave labels on flow nodes`,\"chart.option.prefix.label\":`Voorvoegsel`,\"chart.option.prefix.description\":`Tekst om vóór het getal weer te geven`,\"chart.option.suffix.label\":`Achtervoegsel`,\"chart.option.suffix.description\":`Tekst om na het getal weer te geven`,\"chart.option.decimals.label\":`Aantal decimalen`,\"chart.option.decimals.description\":`Nummer of decimal places naar weergeven`,\"chart.option.showHistogram.label\":`Toon Variance Histogram`,\"chart.option.showHistogram.description\":`Toon historische variantiegrafiek onder de delta`,\"chart.option.useLastCompletePeriod.label\":`Gebruik Laatste Voltooid Periode`,\"chart.option.useLastCompletePeriod.description\":`Exclude current incomplete periode van calculation (e.g., partial week/maand)`,\"chart.option.skipLastPeriod.label\":`Skip Laatste Periode`,\"chart.option.skipLastPeriod.description\":`Always exclude de laatste periode regardless van completeness`,\"chart.option.retentionDisplayMode.label\":`Weergave Mode`,\"chart.option.retentionDisplayMode.lineChart\":`Lijn Grafiek`,\"chart.option.retentionDisplayMode.heatmapTable\":`Heatmap Tabel`,\"chart.option.retentionDisplayMode.combined\":`Gecombineerd`,\"chart.option.showLegend.label\":`Toon Legenda`,\"chart.option.showLegend.description\":`Toon de legenda`,\"chart.option.showGrid.label\":`Toon Grid`,\"chart.option.showGrid.description\":`Toon rasterlijnen op de grafiek`,\"chart.option.showTooltip.label\":`Toon Tooltip`,\"chart.option.showTooltip.description\":`Toon tooltip on zweef met gedetailleerde stats`,\"chart.option.priorPeriodStyle.label\":`Prior Periode Lijn Style`,\"chart.option.priorPeriodStyle.dashed\":`Gestreept`,\"chart.option.priorPeriodStyle.dotted\":`Gestippeld`,\"chart.option.priorPeriodStyle.solid\":`Vol`,\"chart.option.priorPeriodStyle.description\":`Lijn style voor prior period in comparison mode`,\"chart.option.priorPeriodOpacity.label\":`Prior Periode Opacity`,\"chart.option.priorPeriodOpacity.description\":`Opacity voor prior periode lines (0.1 naar 1)`,\"chart.option.showTotal.label\":`Toon Totaal Staaf`,\"chart.option.showTotal.description\":`Append een final staaf toont de draaiend totaal`,\"chart.option.showConnectorLine.label\":`Toon Connector Lijn`,\"chart.option.showConnectorLine.description\":`Tekenen een dashed stap-regel connecting staaf tops`,\"chart.option.showDataLabels.label\":`Toon Gegevens Labels`,\"chart.option.showDataLabels.description\":`Toon de waarde bij elk datapunt`,\"chart.option.showReferenceLineAtZero.label\":`Toon Zero Reference Lijn`,\"chart.option.showReferenceLineAtZero.description\":`Tekenen een dashed regel bij Y = 0`,\"chart.option.lineType.label\":`Lijn Interpolation`,\"chart.option.lineType.smooth\":`Vloeiend (monotoon)`,\"chart.option.lineType.linear\":`Lineair`,\"chart.option.lineType.step\":`Stap`,\"chart.option.lineType.description\":`Hoe gegevens punten zijn connected`,\"chart.option.rangeMode.label\":`Grafiek Mode`,\"chart.option.rangeMode.ohlc\":`OHLC (openen, sluiten, hoog, laag)`,\"chart.option.rangeMode.range\":`Bereik (hoog, laag / bid, ask)`,\"chart.option.rangeMode.description\":`OHLC: 4 metingen. Bereik: 2 metingen (hoog + laag).`,\"chart.option.bullColor.label\":`Bullish Kleur`,\"chart.option.bullColor.description\":`Candle kleur when sluiten ≥ openen`,\"chart.option.bearColor.label\":`Bearish Kleur`,\"chart.option.bearColor.description\":`Candle kleur when sluiten < openen`,\"chart.option.showWicks.label\":`Toon Wicks`,\"chart.option.showWicks.description\":`Tekenen hoog/laag wicks above en onder de body`,\"chart.option.minValue.label\":`Minimum Waarde`,\"chart.option.minValue.description\":`Lower bound van de meter arc (standaard 0)`,\"chart.option.maxValue.label\":`Maximum Waarde (static)`,\"chart.option.maxValue.description\":`Upper bound van de meter. Leave leeg naar use yAxis[1] van standaard 100`,\"chart.option.showCentreLabel.label\":`Toon Centre Label`,\"chart.option.showCentreLabel.description\":`Toon huidige waarde en veldnaam in het midden van de gauge`,\"chart.option.showPercentage.label\":`Toon as Percentage`,\"chart.option.showPercentage.description\":`Weergave waarde as % of max instead of raw number`,\"chart.option.fitToWidth.label\":`Fit naar Width`,\"chart.option.fitToWidth.description\":`Automatically grootte blocks naar fill portlet width en hoogte while maintaining aspect ratio`,\"chart.option.fontSize.label\":`Font Grootte`,\"chart.option.fontSize.small\":`Klein`,\"chart.option.fontSize.medium\":`Gemiddeld`,\"chart.option.fontSize.large\":`Groot`,\"chart.option.alignment.label\":`Tekst Alignment`,\"chart.option.alignment.left\":`Links`,\"chart.option.alignment.center\":`Midden`,\"chart.option.alignment.right\":`Rechts`,\"chart.option.hideHeader.label\":`Verbergen Header`,\"chart.option.hideHeader.description\":`Verberg de portlet-headerbalk (titel en actieknoppen)`,\"chart.option.transparentBackground.label\":`Transparante achtergrond`,\"chart.option.transparentBackground.description\":`Verwijderen card background, border, en shadow voor seamless integration as section headers`,\"chart.option.autoHeight.label\":`Automatisch Hoogte`,\"chart.option.autoHeight.description\":`In rij en mobile layouts, grootte naar markdown content instead van fixed rij hoogte`,\"chart.option.accentBorder.label\":`Accentrand`,\"chart.option.accentBorder.none\":`Geen`,\"chart.option.accentBorder.left\":`Links`,\"chart.option.accentBorder.top\":`Boven`,\"chart.option.accentBorder.bottom\":`Onderkant`,\"chart.option.accentBorder.description\":`Voeg een accentkleurige rand toe aan één zijde van de inhoud`,\"chart.configText.20_percent\":`20%`,\"chart.configText.40_percent\":`40%`,\"chart.configText.60_percent\":`60%`,\"chart.configText.80_percent\":`80%`,\"chart.configText.accent_color\":`Accentkleur`,\"chart.configText.activity_measure\":`Activiteitsmeetwaarde`,\"chart.configText.add_2_or_more_measures_they_become_the_x_axis_categories_in_the_order_li\":`Voeg 2 of meer meetwaarden toe — ze worden de X-as-categorieen in de opgegeven volgorde`,\"chart.configText.add_an_accent_colored_border_on_one_side_of_the_content\":`Voeg een accentgekleurde rand toe aan een zijde van de inhoud`,\"chart.configText.all_fields_to_display_as_columns\":`Alle velden om als kolommen weer te geven`,\"chart.configText.array_of_value_0_1_fraction_color_bands_shown_as_outer_arc_markers\":`Array van {value (0-1 fractie), color}-banden, getoond als markeringen op de buitenste boog`,\"chart.configText.axes_categories\":`Assen (Categorieen)`,\"chart.configText.bubble_colour\":`Bubbelkleur`,\"chart.configText.bubble_labels\":`Bubbellabels`,\"chart.configText.bubble_radius\":`Bubbelstraal`,\"chart.configText.categories\":`Categorieen`,\"chart.configText.choose_how_to_visualize_retention_data\":`Kies hoe retentiedata wordt gevisualiseerd`,\"chart.configText.color_bubbles_by_this_field_optional\":`Kleur bubbels op basis van dit veld (optioneel)`,\"chart.configText.color_for_negative_changes_decreases\":`Kleur voor negatieve veranderingen (dalingen)`,\"chart.configText.color_for_positive_changes_increases\":`Kleur voor positieve veranderingen (stijgingen)`,\"chart.configText.color_from_the_dashboard_palette_for_headers_bullets_and_links\":`Kleur uit het dashboardpalet voor koppen, opsommingstekens en links`,\"chart.configText.color_from_the_dashboard_palette_for_the_kpi_value_text\":`Kleur uit het dashboardpalet voor de KPI-waardetekst`,\"chart.configText.color_groups\":`Kleurgroepen`,\"chart.configText.columns\":`Kolommen`,\"chart.configText.columns_x_axis\":`Kolommen (X-as)`,\"chart.configText.count_at_each_step_auto_calculated\":`Aantal per stap (automatisch berekend)`,\"chart.configText.count_of_entities_following_each_path\":`Aantal entiteiten dat elk pad volgt`,\"chart.configText.current_value_to_display_on_the_gauge_e_g_current_equity_margin_used\":`Huidige waarde om op de meter te tonen (bijv. huidige equity, gebruikte marge)`,\"chart.configText.dimension_for_column_categories\":`Dimensie voor kolomcategorieen`,\"chart.configText.dimension_for_ordering_data_typically_time\":`Dimensie voor het ordenen van data (meestal tijd)`,\"chart.configText.dimension_for_pie_slices\":`Dimensie voor taartsegmenten`,\"chart.configText.dimension_for_row_categories\":`Dimensie voor rijcategorieen`,\"chart.configText.dimension_labels_for_each_bar_segment_e_g_symbol_transaction_type\":`Dimensielabels voor elk staafsegment (bijv. symbool, transactietype)`,\"chart.configText.dimension_optional\":`Dimensie (optioneel)`,\"chart.configText.dimension_to_color_points_by_category\":`Dimensie om punten per categorie te kleuren`,\"chart.configText.dimension_to_color_rectangles_by_category\":`Dimensie om rechthoeken per categorie te kleuren`,\"chart.configText.dimension_to_group_boxes_by_e_g_symbol_platform\":`Dimensie om boxen op te groeperen (bijv. symbool, platform)`,\"chart.configText.dimension_to_split_data_into_separate_profile_lines_e_g_symbol_platform\":`Dimensie om data op te splitsen in aparte profiellijnen (bijv. symbool, platform)`,\"chart.configText.dimensions_for_radar_axes\":`Dimensies voor radarassen`,\"chart.configText.dimensions_for_radial_segments\":`Dimensies voor radiale segmenten`,\"chart.configText.dimensions_for_treemap_rectangles\":`Dimensies voor treemap-rechthoeken`,\"chart.configText.dimensions_to_create_multiple_radar_shapes\":`Dimensies om meerdere radarvormen te maken`,\"chart.configText.dimensions_to_create_separate_lines\":`Dimensies om afzonderlijke lijnen te maken`,\"chart.configText.dimensions_to_create_stacked_areas\":`Dimensies om gestapelde gebieden te maken`,\"chart.configText.display_the_value_above_each_bar_segment\":`Toon de waarde boven elk staafsegment`,\"chart.configText.display_value_at_each_data_point\":`Toon de waarde bij elk datapunt`,\"chart.configText.drop_1_measure_for_auto_mode_3_for_avg_stddev_median_mode_or_5_for_min_q\":`Sleep 1 meetwaarde voor automatische modus, 3 voor avg/stddev/mediaanmodus, of 5 voor min/q1/mediaan/q3/max-modus`,\"chart.configText.drop_2_4_measures_in_order_open_close_high_low_ohlc_mode_for_range_mode_\":`Sleep 2-4 meetwaarden in deze volgorde: open, close, high, low (OHLC-modus). Sleep voor bereikmodus 2: high, low.`,\"chart.configText.enter_markdown_text_supports_headers_bold_text_italic_text_links_text_ur\":`Voer markdowntekst in. Ondersteunt koppen (#), vet (**tekst**), cursief (*tekst*), links ([tekst](url)), lijsten (- item) en horizontale lijnen (---).`,\"chart.configText.event_dimension_that_categorizes_flow_nodes\":`Eventdimensie die flowknooppunten categoriseert`,\"chart.configText.event_type\":`Eventtype`,\"chart.configText.exclude_current_incomplete_period_from_aggregation_e_g_partial_week_mont\":`Sluit de huidige onvolledige periode uit van aggregatie (bijv. gedeeltelijke week/maand)`,\"chart.configText.exclude_current_incomplete_period_from_delta_calculation_e_g_partial_wee\":`Sluit de huidige onvolledige periode uit van deltaberekening (bijv. gedeeltelijke week/maand)`,\"chart.configText.field_to_use_for_bubble_labels_and_identification\":`Veld voor bubbellabels en identificatie`,\"chart.configText.flow_count\":`Flowaantal`,\"chart.configText.hide_the_statistics_footer_below_the_chart\":`Verberg de statistiekfooter onder de grafiek`,\"chart.configText.hollow_center_size_0_percent_solid_pie_higher_donut_style\":`Grootte van het holle midden (0% = volle taart, hoger = donutstijl)`,\"chart.configText.horizontal_alignment_of_the_markdown_content\":`Horizontale uitlijning van de markdowninhoud`,\"chart.configText.horizontal_axis_position\":`Horizontale aspositie`,\"chart.configText.how_to_stack_multiple_area_series\":`Hoe meerdere gebiedsreeksen te stapelen`,\"chart.configText.how_to_stack_multiple_bar_series\":`Hoe meerdere staafreeksen te stapelen`,\"chart.configText.markdown_content\":`Markdowninhoud`,\"chart.configText.measure_for_rectangle_sizes\":`Meetwaarde voor rechthoekgroottes`,\"chart.configText.measure_for_slice_sizes\":`Meetwaarde voor segmentgroottes`,\"chart.configText.measure_for_y_position\":`Meetwaarde voor Y-positie`,\"chart.configText.measure_or_dimension_for_x_position\":`Meetwaarde of dimensie voor X-positie`,\"chart.configText.measure_that_determines_cell_color\":`Meetwaarde die de celkleur bepaalt`,\"chart.configText.measure_to_display_as_kpi_number\":`Meetwaarde om als KPI-getal te tonen`,\"chart.configText.measure_to_display_in_the_kpi_text_template\":`Meetwaarde om in de KPI-tekstsjabloon te tonen`,\"chart.configText.measure_to_track_changes_for\":`Meetwaarde om veranderingen voor te volgen`,\"chart.configText.measure_used_for_activity_intensity_color_coding\":`Meetwaarde voor activiteitsintensiteit (kleurcodering)`,\"chart.configText.measures_for_area_values\":`Meetwaarden voor gebiedswaarden`,\"chart.configText.measures_for_bar_heights\":`Meetwaarden voor staafhoogtes`,\"chart.configText.measures_for_line_values\":`Meetwaarden voor lijnwaarden`,\"chart.configText.measures_for_radar_values\":`Meetwaarden voor radarwaarden`,\"chart.configText.measures_for_radial_bar_lengths\":`Meetwaarden voor lengtes van radiale staven`,\"chart.configText.measures_x_axis_order\":`Meetwaarden (X-asvolgorde)`,\"chart.configText.negative_change_color\":`Kleur bij negatieve verandering`,\"chart.configText.none_pie\":`Geen (Taart)`,\"chart.configText.number_formatting_for_cell_values_and_legend\":`Getalopmaak voor celwaarden en legenda`,\"chart.configText.number_formatting_for_numeric_values\":`Getalopmaak voor numerieke waarden`,\"chart.configText.number_formatting_for_size_values\":`Getalopmaak voor groottewaarden`,\"chart.configText.number_formatting_for_the_displayed_value_and_axis_labels\":`Getalopmaak voor de getoonde waarde en aslabels`,\"chart.configText.number_formatting_for_the_price_axis\":`Getalopmaak voor de prijsas`,\"chart.configText.number_formatting_for_the_value_axis\":`Getalopmaak voor de waarde-as`,\"chart.configText.number_formatting_for_the_y_axis\":`Getalopmaak voor de Y-as`,\"chart.configText.number_formatting_for_x_axis_labels\":`Getalopmaak voor X-aslabels`,\"chart.configText.number_formatting_for_y_axis_and_values\":`Getalopmaak voor Y-as en waarden`,\"chart.configText.number_formatting_for_y_axis_labels\":`Getalopmaak voor Y-aslabels`,\"chart.configText.number_of_decimal_places_to_display_for_numeric_values\":`Aantal decimalen om te tonen voor numerieke waarden`,\"chart.configText.ohlc_measures_open_close_high_low\":`OHLC-meetwaarden (open, close, high, low)`,\"chart.configText.opacity_of_flow_links\":`Dekking van flowlinks`,\"chart.configText.overall_text_size_for_the_markdown_content\":`Algemene tekstgrootte voor de markdowninhoud`,\"chart.configText.positive_change_color\":`Kleur bij positieve verandering`,\"chart.configText.rows_y_axis\":`Rijen (Y-as)`,\"chart.configText.series_color_groups\":`Reeksen (Kleurgroepen)`,\"chart.configText.series_multiple_lines\":`Reeksen (Meerdere lijnen)`,\"chart.configText.series_multiple_shapes\":`Reeksen (Meerdere vormen)`,\"chart.configText.series_split_into_multiple_lines\":`Reeksen (Opgesplitst in meerdere lijnen)`,\"chart.configText.series_stack_areas\":`Reeksen (Gebieden stapelen)`,\"chart.configText.show_series_legend_only_visible_with_a_series_dimension\":`Toon reekslegenda (alleen zichtbaar met een reeksdimensie)`,\"chart.configText.show_the_color_intensity_legend\":`Toon de legenda voor kleurintensiteit`,\"chart.configText.show_the_legend_for_breakdown_segments\":`Toon de legenda voor segmenten in uitsplitsing`,\"chart.configText.single_measure_whose_values_are_summed_cumulatively\":`Enkele meetwaarde waarvan de waarden cumulatief worden opgeteld`,\"chart.configText.size\":`Grootte`,\"chart.configText.size_of_bubbles_based_on_this_measure\":`Grootte van bubbels op basis van deze meetwaarde`,\"chart.configText.size_of_the_center_hole_0_for_full_circle\":`Grootte van het middengat (0 voor volledige cirkel)`,\"chart.configText.step_count\":`Stapaantal`,\"chart.configText.step_name\":`Stapnaam`,\"chart.configText.step_names_auto_populated_from_funnel_steps\":`Stapnamen (automatisch ingevuld vanuit funnelstappen)`,\"chart.configText.target_value_to_compare_against_first_value_used_if_multiple_provided\":`Doelwaarde om mee te vergelijken (eerste waarde wordt gebruikt als er meerdere zijn opgegeven)`,\"chart.configText.template_for_displaying_the_text_use_value_to_insert_the_measure_value\":\"Sjabloon voor het tonen van tekst. Gebruik ${value} om de meetwaarde in te voegen.\",\"chart.configText.text_template\":`Tekstsjabloon`,\"chart.configText.threshold_bands\":`Drempelbanden`,\"chart.configText.time_dimension\":`Tijddimensie`,\"chart.configText.time_dimension_or_category_for_each_candle_e_g_date_symbol\":`Tijddimensie of categorie voor elke candle (bijv. datum, symbool)`,\"chart.configText.time_dimensions_or_dimensions_for_x_axis\":`Tijddimensies of dimensies voor de X-as`,\"chart.configText.time_field_that_determines_grid_structure_granularity_affects_layout\":`Tijdveld dat de roosterstructuur bepaalt (granulariteit beinvloedt de layout)`,\"chart.configText.value\":`Waarde`,\"chart.configText.value_color\":`Waardekleur`,\"chart.configText.value_color_intensity\":`Waarde (Kleurintensiteit)`,\"chart.configText.value_measure\":`Waardemeetwaarde`,\"chart.configText.values\":`Waarden`,\"chart.configText.vertical_axis_position\":`Verticale aspositie`,\"chart.configText.visualization_style\":`Visualisatiestijl`,\"chart.configText.x_axis_groups\":`X-as (Groepen)`,\"chart.configText.x_axis_time_categories\":`X-as (Tijd/Categorieen)`,\"chart.configText.x_axis_time_category\":`X-as (Tijd / Categorie)`,\"chart.configText.y_axis\":`Y-as`,\"chart.configText.y_axis_measures\":`Y-as (Meetwaarden)`,\"chart.configText.y_axis_value\":`Y-as (Waarde)`,\"display.loading\":`Laden weergeven options...`,\"display.noOptions\":`Geen weergeven options beschikbaar voor deze grafiek type.`,\"display.heading\":`Weergave Opties`,\"results.loading.title\":`Query uitvoeren...`,\"results.loading.subtitle\":`Je query wordt uitgevoerd tegen de Cube API`,\"results.error.title\":`Query Uitvoering Mislukt`,\"results.error.subtitle\":`Er is een fout opgetreden bij het uitvoeren van je query. Controleer de query en probeer het opnieuw.`,\"results.waiting.title\":`Query voorbereiden...`,\"results.waiting.subtitle\":`Je query wordt zo uitgevoerd`,\"results.needsRefresh.title\":`Ready naar Execute`,\"results.needsRefresh.subtitle\":`Klik op vernieuwen om je query uit te voeren`,\"results.needsRefresh.runButton\":`Uitvoeren Query`,\"results.empty.query\":`Voeg metingen of uitsplitsingen toe vanuit het paneel rechts om resultaten te zien`,\"results.empty.retention\":`Selecteer een cube en configureer retentie-instellingen om resultaten te zien`,\"results.empty.funnel\":`Voeg funnelstappen toe om conversieanalyse te zien`,\"results.empty.flow\":`Configureer flowanalyse om gebruikerspaden te zien`,\"results.empty.title\":`Geen Resultaten Yet`,\"results.ai.button\":`Analyse met AI`,\"results.noData.title\":`Query geslaagd`,\"results.noData.subtitle\":`Geen gegevens geretourneerd door de query`,\"results.chart.noData\":`Geen gegevens om weer te geven`,\"results.chart.noDataHint\":`Voer een query uit om grafiekvisualisatie te zien`,\"results.chart.unsupported\":`Unsupported grafiek type`,\"results.refreshing\":`Vernieuwen resultaten...`,\"results.header.rows\":`rijen`,\"results.header.row\":`rij`,\"results.header.stale\":`Resultaten may be outdated`,\"results.header.failed\":`Query mislukt`,\"results.header.executing\":`Uitvoeren...`,\"results.header.noResults\":`Geen results`,\"results.view.chart\":`Grafiek`,\"results.view.merged\":`Samengevoegd`,\"results.warning.largeDataset\":`Groot dataset:`,\"results.warning.configChanged\":`Query configuratie changed. Resultaten may be outdated.`,\"results.warning.refreshNow\":`Vernieuwen Now`,\"results.share.copied\":`Gekopieerd!`,\"results.share.noChart\":`(geen grafiek)`,\"server.errors.dbNotConfigured\":`Database-executor is niet geconfigureerd`,\"server.errors.cubeNotFound\":`Cube '{cubeName}' niet gevonden`,\"server.errors.noCubesInQuery\":`Geen cubes gevonden in query`,\"server.errors.dbAdapterRequired\":`DatabaseExecutor moet hebben een databaseAdapter property`,\"server.errors.rlsRequiresTransactions\":`rlsSetup vereist een database driver dat ondersteunt transactions (db.transaction)`,\"server.errors.queryExecutionFailed\":`Query uitvoering mislukt: {message}`,\"server.errors.queryExecutionUnknown\":`Query-uitvoering mislukt: onbekende fout`,\"server.errors.noCompareDateRange\":`Geen compareDateRange gevonden in query`,\"server.errors.compareDateRangeInvalid\":`compareDateRange vereist bij minimaal 2 periodes`,\"server.errors.funnelValidationFailed\":`Funnel validatie mislukt: {errors}`,\"server.errors.flowValidationFailed\":`Flow validatie mislukt: {errors}`,\"server.errors.retentionValidationFailed\":`Retentie validatie mislukt: {errors}`,\"server.errors.cubeRefUnresolved\":`{cubeName}.joins.{joinName}: target cube '{targetCube}' is niet registered`,\"server.errors.unresolvedCubeRefs\":`Unresolved cube verwijzingen:\n{details}`,\"server.errors.calculatedMeasureValidation\":`Berekend meting validatie mislukt voor cube '{cubeName}':\n{details}`,\"server.errors.queryValidationFailed\":`Query validatie mislukt: {errors}`,\"server.errors.queryContainsMultipleModes\":`Query bevat meerdere query modes: {modes}`,\"server.errors.primaryCubeNotFound\":`Primary cube '{cubeName}' niet gevonden`,\"server.errors.noJoinPath\":`Geen join pad gevonden van '{fromCube}' naar '{toCube}'`,\"server.errors.cubeNotFoundForMeasure\":`Cube '{cubeName}' niet gevonden voor meting '{measure}'`,\"server.errors.cubeNotFoundForDimension\":`Cube '{cubeName}' niet gevonden voor dimensie '{dimension}'`,\"server.errors.cubeNotFoundForTimeDimension\":`Cube '{cubeName}' niet gevonden voor tijd dimensie '{timeDimension}'`,\"server.errors.invalidFunnelConfig\":`Query is niet contain a valid funnel configuratie`,\"server.errors.invalidFlowConfig\":`Query is niet contain a valid flow configuratie`,\"server.errors.invalidRetentionConfig\":`Query is niet contain a valid retentie configuratie`,\"server.errors.llmInitFailed\":`Mislukt naar initialize LLM provider`,\"server.validation.ai.bindingKeyRequired.flow\":`flow.bindingKey is vereist`,\"server.validation.ai.bindingKeyRequired.funnel\":`funnel.bindingKey is vereist`,\"server.validation.ai.bindingKeyRequired.retention\":`retentie.bindingKey is vereist`,\"server.validation.ai.cubeNotFoundInFilter\":`Cube '{cubeName}' niet gevonden in filter`,\"server.validation.ai.cubeNotFoundWithAvailable\":`Cube '{cubeName}' niet gevonden`,\"server.validation.ai.cubeNotFoundWithSuggestion\":`Cube '{cubeName}' niet gevonden`,\"server.validation.ai.dimensionNotFoundWithAvailable\":`Dimensie '{dimensionName}' not gevonden on cube '{cubeName}'`,\"server.validation.ai.dimensionNotFoundWithSuggestion\":`Dimensie '{dimensionName}' not gevonden on cube '{cubeName}'`,\"server.validation.ai.dimensionNotTimeType\":`Dimensie '{dimension}' is not a time type (it's '{type}')`,\"server.validation.ai.emptyQuery\":`Query moet hebben bij minimaal één meting van dimensie`,\"server.validation.ai.eventDimensionRequired\":`flow.eventDimension is vereist`,\"server.validation.ai.filterFieldNotFound\":`Filter veld '{fieldName}' niet gevonden op cube '{cubeName}'`,\"server.validation.ai.filterFieldNotFoundWithSuggestion\":`Filter veld '{fieldName}' niet gevonden op cube '{cubeName}'`,\"server.validation.ai.funnelRequiresSteps\":`funnel vereist bij minimaal 2 stappen`,\"server.validation.ai.funnelStepsRequired\":`funnel.stappen array is vereist`,\"server.validation.ai.granularityNotSpecified\":`retentie.granularity not specified`,\"server.validation.ai.invalidDimensionFormat\":`Ongeldig dimensie format: '{dimension}'. Expected 'CubeName.dimensionName'`,\"server.validation.ai.invalidFilterMemberFormat\":`Ongeldig filter member format: '{member}'`,\"server.validation.ai.invalidMeasureFormat\":`Ongeldig meting format: '{measure}'. Expected 'CubeName.measureName'`,\"server.validation.ai.measureNotFoundWithAvailable\":`Meting '{measureName}' not gevonden on cube '{cubeName}'`,\"server.validation.ai.measureNotFoundWithSuggestion\":`Meting '{measureName}' not gevonden on cube '{cubeName}'`,\"server.validation.ai.performanceManyDimensions\":`Query heeft {count} dimensies, welke kan produce veel rijen`,\"server.validation.ai.performanceManyMeasures\":`Query heeft {count} metingen, welke kan impact prestatie`,\"server.validation.ai.periodsNotSpecified\":`retentie.periods not specified`,\"server.validation.ai.retentionTimeDimensionRequired\":`retentie.timeDimension is vereist`,\"server.validation.ai.stepMissingName\":`Stap {step} is ontbrekend a name`,\"server.validation.ai.stepsBothMissing\":`Neither stepsBefore nor stepsAfter opgegeven`,\"server.validation.ai.suggestAddDimensionFilters\":`Overweeg adding filters van reducing dimensies`,\"server.validation.ai.suggestAddStepNames\":`Voeg descriptive names naar funnel stappen`,\"server.validation.ai.suggestSetSteps\":`Set stepsBefore en/van stepsAfter naar zien gebeurtenis sequences`,\"server.validation.ai.suggestSpecifyGranularity\":`Specify granularity: \"day\", \"week\", van \"maand\"`,\"server.validation.ai.suggestSpecifyPeriods\":`Specify nummer van periodes naar analyze`,\"server.validation.ai.suggestSplitQueries\":`Overweeg splitting naar meerdere queries`,\"server.validation.ai.suggestUseTimeDimension\":`Gebruik a dimensie met type \"time\" voor timeDimensions`,\"server.validation.ai.timeDimensionRequired.flow\":`flow.timeDimension is vereist`,\"server.validation.ai.timeDimensionRequired.funnel\":`funnel.timeDimension is vereist`,\"server.validation.chart.barNeedsDimension\":`Staafgrafieken hebben een xAxis-dimensie nodig voor categorielabels. Voeg een dimensie toe aan de query of gebruik in plaats daarvan het grafiektype \"table\".`,\"server.validation.chart.barXAxisRequired\":`chartConfig.xAxis is vereist voor staaf grafieken. Put een dimensie in xAxis so bars hebben categorie labels.`,\"server.validation.chart.dropZoneRequired\":`chartConfig.{key} is vereist voor {chartType} grafiek ({label}). Accepts: {acceptDesc}.`,\"server.validation.chart.seriesDuplicatesXAxis\":`chartConfig.series mag niet hetzelfde veld bevatten als xAxis (gevonden: {duplicates}). Het series-veld is alleen bedoeld om te splitsen in gegroepeerde/gestapelde subseries met een ANDERE dimensie. Verwijder het duplicaat uit series.`,\"server.validation.flow.bindingKeyCubeNotFound\":`Koppeling sleutel cube niet gevonden: {cubeName}`,\"server.validation.flow.bindingKeyDimNotFound\":`Koppeling sleutel dimensie niet gevonden: {dimName} in cube {cubeName}`,\"server.validation.flow.bindingKeyMappingCubeNotFound\":`Koppeling sleutel mapping cube niet gevonden: {cubeName}`,\"server.validation.flow.eventDimCubeNotFound\":`Gebeurtenis dimensie cube not gevonden: {cubeName}`,\"server.validation.flow.eventDimNotFound\":`Gebeurtenis dimensie not gevonden: {dimName} in cube {cubeName}`,\"server.validation.flow.eventDimRequired\":`Gebeurtenis dimensie is vereist voor flow analyse`,\"server.validation.flow.highStepDepthWarning\":`Hoog stap depth (4-5) kan impact query prestatie op groot datasets`,\"server.validation.flow.invalidBindingKeyFormat\":`Ongeldig binding key format: {bindingKey}. Expected 'CubeName.dimensionName'`,\"server.validation.flow.invalidEventDimFormat\":`Ongeldig gebeurtenis dimensie format: {eventDimension}. Expected 'CubeName.dimensionName'`,\"server.validation.flow.invalidJoinStrategy\":`Ongeldig joinStrategy: {joinStrategy}`,\"server.validation.flow.invalidTimeDimFormat\":`Ongeldig time dimensie format: {timeDimension}. Expected 'CubeName.dimensionName'`,\"server.validation.flow.lateralNotSupported\":`Lateral joins zijn niet supported op deze database`,\"server.validation.flow.lateralNotSupportedExec\":`Lateral joins met CTE verwijzingen zijn niet supported op deze database`,\"server.validation.flow.sqliteNotSupported\":`Flow queries zijn niet supported on SQLite. Gebruik PostgreSQL of MySQL voor flow analyse.`,\"server.validation.flow.startingStepFilterRequired\":`Startende stap moet hebben bij minimaal één filter`,\"server.validation.flow.startingStepNameMissing\":`Startende stap heeft geen naam - met standaard`,\"server.validation.flow.startingStepRequired\":`Startende stap is vereist voor flow analyse`,\"server.validation.flow.stepsBeforeRange\":`stepsBefore moet zijn tussen 0 en 5, got: {value}`,\"server.validation.flow.stepsAfterRange\":`stepsAfter moet zijn tussen 0 en 5, got: {value}`,\"server.validation.flow.timeDimCubeNotFound\":`Tijd dimensie cube not gevonden: {cubeName}`,\"server.validation.flow.timeDimNotFound\":`Tijd dimensie not gevonden: {dimName} in cube {cubeName}`,\"server.validation.funnel.bindingKeyCubeNotFound\":`Koppeling sleutel cube niet gevonden: {cubeName}`,\"server.validation.funnel.bindingKeyDimNotFound\":`Koppeling sleutel dimensie niet gevonden: {dimName} in cube {cubeName}`,\"server.validation.funnel.bindingKeyMappingCubeNotFound\":`Koppeling sleutel mapping cube niet gevonden: {cubeName}`,\"server.validation.funnel.invalidBindingKeyFormat\":`Ongeldig binding key format: {bindingKey}. Expected 'CubeName.dimensionName'`,\"server.validation.funnel.invalidTimeDimFormat\":`Ongeldig time dimensie format: {timeDimension}. Expected 'CubeName.dimensionName'`,\"server.validation.funnel.minSteps\":`Funnel moet hebben bij minimaal 2 stappen`,\"server.validation.funnel.stepCubeNotFound\":`Stap {step} cube not gevonden: {cube}`,\"server.validation.funnel.stepFilterCubeNotFound\":`Stap {step} filter cube not gevonden: {cubeName}`,\"server.validation.funnel.stepFilterIsMeasure\":`Stap {step} filter '{member}' is a meting. Funnel stap filters only support dimensies, not metingen.`,\"server.validation.funnel.stepFilterMemberNotFound\":`Stap {step} filter member not gevonden: {field} in cube {cubeName}`,\"server.validation.funnel.stepFilterNoJoinPath\":`Stap {step} filter '{member}' requires a join van '{stepCube}' but no join pad was gevonden. Define a join relationship tussen these cubes.`,\"server.validation.funnel.stepMustHaveName\":`Stap {step} moet have a name`,\"server.validation.funnel.stepTimeToConvertFormat\":`Stap {step} timeToConvert moet be ISO 8601 duration format: {value}`,\"server.validation.funnel.timeDimCubeNotFound\":`Tijd dimensie cube not gevonden: {cubeName}`,\"server.validation.funnel.timeDimNotFound\":`Tijd dimensie not gevonden: {dimName} in cube {cubeName}`,\"server.validation.retention.bindingKeyCubeNotFound\":`Koppeling sleutel cube niet gevonden: {cubeName}`,\"server.validation.retention.bindingKeyDimNotFound\":`Koppeling sleutel dimensie niet gevonden: {dimName} in cube {cubeName}`,\"server.validation.retention.bindingKeyMappingCubeNotFound\":`Koppeling sleutel mapping cube niet gevonden: {cubeName}`,\"server.validation.retention.breakdownDimCubeNotFound\":`Opsplitsing dimensie cube niet gevonden: {cubeName}`,\"server.validation.retention.breakdownDimNotFound\":`Opsplitsing dimensie niet gevonden: {dimName} in cube {cubeName}`,\"server.validation.retention.cubeNotFound\":`Cube niet gevonden: {cubeName}`,\"server.validation.retention.dateRangeEndRequired\":`Datum range end is vereist`,\"server.validation.retention.dateRangeInvalidEnd\":`Ongeldig date range end format`,\"server.validation.retention.dateRangeInvalidStart\":`Ongeldig date range start format`,\"server.validation.retention.dateRangeRequired\":`Datum range is vereist`,\"server.validation.retention.dateRangeStartBeforeEnd\":`Datum range start moet be voor of equal naar end`,\"server.validation.retention.dateRangeStartRequired\":`Datum range start is vereist`,\"server.validation.retention.invalidBindingKeyFormat\":`Ongeldig binding key format: {bindingKey}. Expected 'CubeName.dimensionName'`,\"server.validation.retention.invalidBreakdownDimFormat\":`Ongeldig breakdown dimensie format: {dimension}. Expected 'CubeName.dimensionName'`,\"server.validation.retention.invalidGranularity\":`Ongeldig granularity: {granularity}`,\"server.validation.retention.invalidRetentionType\":`Ongeldig retentie type: {retentionType}`,\"server.validation.retention.invalidTimeDimFormat\":`Ongeldig time dimensie format: {timeDimension}`,\"server.validation.retention.noBindingKeyMapping\":`Geen binding key mapping gevonden voor cube: {cubeName}`,\"server.validation.retention.periodsMax\":`Periodes kan niet exceed 52 (prestatie limiet)`,\"server.validation.retention.periodsMin\":`Periodes moet zijn bij minimaal 1`,\"server.validation.retention.timeDimNotFound\":`Tijd dimensie not gevonden: {dimName}`,\"server.validation.calculatedMeasure.mustHaveCalculatedSql\":`Berekend meting '{cubeName}.{fieldName}' moet hebben calculatedSql property`,\"server.validation.calculatedMeasure.invalidSyntax\":`Ongeldig calculatedSql syntax in '{cubeName}.{fieldName}': {errors}`,\"server.validation.calculatedMeasure.circularDependency\":`Circular dependency detected in berekend metingen: {cycle}`,\"server.validation.query.multipleQueryModes\":`Query bevat meerdere query modes: {modes}`,\"server.validation.query.funnelBindingKeyCubeNotFound\":`Funnel koppeling sleutel cube niet gevonden: {cubeName}`,\"server.validation.query.flowBindingKeyCubeNotFound\":`Flow koppeling sleutel cube niet gevonden: {cubeName}`,\"server.validation.query.retentionCubeNotFound\":`Retentie cube niet gevonden: {cubeName}`,\"server.validation.query.retentionBindingKeyCubeNotFound\":`Retentie koppeling sleutel cube niet gevonden: {cubeName}`,\"server.validation.query.retentionBreakdownCubeNotFound\":`Retentie opsplitsing cube niet gevonden: {cubeName}`,\"server.validation.query.invalidMeasureFormat\":`Ongeldig meting format: {measure}. Expected format: 'CubeName.fieldName'`,\"server.validation.query.cubeNotFoundForMeasure\":`Cube '{cubeName}' niet gevonden (referenced in meting '{measure}')`,\"server.validation.query.measureNotFound\":`Meting '{fieldName}' not gevonden on cube '{cubeName}'{hint}`,\"server.validation.query.invalidDimensionFormat\":`Ongeldig dimensie format: {dimension}. Expected format: 'CubeName.fieldName'`,\"server.validation.query.cubeNotFoundForDimension\":`Cube '{cubeName}' niet gevonden (referenced in dimensie '{dimension}')`,\"server.validation.query.dimensionNotFound\":`Dimensie '{fieldName}' not gevonden on cube '{cubeName}'{hint}`,\"server.validation.query.invalidTimeDimensionFormat\":`Ongeldig timeDimension format: {dimension}. Expected format: 'CubeName.fieldName'`,\"server.validation.query.cubeNotFoundForTimeDimension\":`Cube '{cubeName}' niet gevonden (referenced in timeDimension '{dimension}')`,\"server.validation.query.timeDimensionNotFound\":`TimeDimension '{fieldName}' niet gevonden op cube '{cubeName}' (moet zijn een dimensie met tijd type)`,\"server.validation.query.mustReferenceAtLeastOneCube\":`Query moet reference bij minimaal één cube through metingen, dimensies, van filters`,\"server.validation.query.ungroupedRequiresDimension\":`Ongegroepeerd queries require bij minimaal één dimensie van tijd dimensie`,\"server.validation.query.ungroupedIncompatibleFunnel\":`Ungrouped queries are incompatible met funnel analyse`,\"server.validation.query.ungroupedIncompatibleFlow\":`Ungrouped queries are incompatible met flow analyse`,\"server.validation.query.ungroupedIncompatibleRetention\":`Ungrouped queries are incompatible met retentie analyse`,\"server.validation.query.ungroupedIncompatibleCompareDateRange\":`Ongegroepeerd queries zijn incompatible met compareDateRange`,\"server.validation.query.ungroupedIncompatibleFillMissingDates\":`Ongroepeerde queries zijn niet compatibel met fillMissingDates`,\"server.validation.query.filterMustHaveMember\":`Filter moet hebben een lid veld`,\"server.validation.query.invalidFilterMemberFormat\":`Ongeldig filter member format: {member}. Expected format: 'CubeName.fieldName'`,\"server.validation.query.cubeNotFoundForFilter\":`Cube '{cubeName}' niet gevonden (referenced in filter '{member}')`,\"server.validation.query.filterFieldNotFound\":`Filter veld '{fieldName}' niet gevonden op cube '{cubeName}' (moet zijn een dimensie van meting){hint}`,\"server.errors.funnel.cubeNotFoundForStep\":`Cube niet gevonden voor stap: {cube}`,\"server.errors.funnel.cubeNotFoundForBindingKey\":`Cube niet gevonden voor koppeling sleutel: {bindingKey}`,\"server.errors.funnel.cannotResolveCubeForStep\":`Kan niet resolve cube voor stap - meerdere-cube funnel vereist cube specification in each stap`,\"server.errors.funnel.bindingKeyDimNotFound\":`Koppeling sleutel dimensie niet gevonden: {bindingKey}`,\"server.errors.funnel.noBindingKeyMapping\":`Geen binding key mapping gevonden voor cube: {cubeName}`,\"server.errors.funnel.bindingKeyMappingDimNotFound\":`Koppeling sleutel dimensie niet gevonden: {dimension}`,\"server.errors.funnel.timeDimNotFound\":`Tijd dimensie not gevonden: {timeDimension}`,\"server.errors.funnel.noTimeDimMapping\":`Geen time dimensie mapping gevonden voor cube: {cubeName}`,\"server.errors.funnel.timeDimMappingNotFound\":`Tijd dimensie not gevonden: {dimension}`,\"server.errors.flow.cannotResolveCube\":`Kan niet resolve cube voor flow query`,\"server.errors.flow.cubeNotFound\":`Cube niet gevonden: {cubeName}`,\"server.errors.flow.bindingKeyDimNotFound\":`Koppeling sleutel dimensie niet gevonden: {bindingKey}`,\"server.errors.flow.noBindingKeyMapping\":`Geen binding key mapping gevonden voor cube: {cubeName}`,\"server.errors.flow.bindingKeyMappingDimNotFound\":`Koppeling sleutel dimensie niet gevonden: {dimension}`,\"server.errors.flow.timeDimNotFound\":`Tijd dimensie not gevonden: {timeDimension}`,\"server.errors.flow.noTimeDimMapping\":`Geen time dimensie mapping gevonden voor cube: {cubeName}`,\"server.errors.flow.timeDimMappingNotFound\":`Tijd dimensie not gevonden: {dimension}`,\"server.errors.flow.eventDimNotFound\":`Gebeurtenis dimensie not gevonden: {eventDimension}`,\"server.validation.template.emptyReference\":`Leeg lid reference {} gevonden in template`,\"server.validation.template.invalidMemberReference\":`Ongeldig member reference {ref}: moet start met letter of underscore, en contain only letters, numbers, underscores, en dots`,\"server.validation.template.multipleDots\":`Ongeldig member reference {ref}: only one dot allowed (Cube.meting format)`,\"server.validation.template.nestedBraces\":`Nested braces zijn niet allowed in lid verwijzingen`,\"server.validation.template.substituteTargetCubeNotFound\":`Kan niet substitute {ref}: cube '{cubeName}' niet gevonden`,\"server.validation.template.substituteMeasureNotResolved\":`Kan niet substitute {ref}: meting '{measureName}' niet resolved yet. Ensure metingen zijn resolved in dependency order.`,\"server.validation.template.unmatchedClosingBrace\":`Unmatched closing brace bij position {position}`,\"server.validation.template.unmatchedOpeningBrace\":`Ongepaarde openingsaccolade in sjabloon`,\"notebook.aiAssistant\":`AI-assistent`,\"notebook.saveAsDashboard\":`Opslaan as Dashboard`,\"notebook.saveAsDashboardTitle\":`Opslaan notebook as a dashboard`,\"notebook.clearTitle\":`Wissen notebook en chat`,\"notebook.feedbackThanks\":`Thanks voor je feedback!`,\"notebook.feedbackQuestion\":`Was deze helpful?`,\"notebook.feedbackYes\":`Ja`,\"notebook.feedbackNo\":`Nee`,\"notebook.thinking\":`Denken...`,\"notebook.emptyState.title\":`Gegevens Analyse Assistant`,\"notebook.emptyState.description\":`Ask me about je gegevens en I'll create visualisaties en insights.`,\"notebook.emptyState.example1\":`\"Toon me employee productivity trends\"`,\"notebook.emptyState.example2\":`\"What zijn de boven departments op headcount?\"`,\"notebook.emptyState.example3\":`\"Vergelijk omzet per productcategorie\"`,\"notebook.saveAsDashboardPrompt\":`Sla het huidige notebook op als dashboard met een professionele lay-out, sectiekoppen en passende filters.`,\"notebook.chatInput.placeholder\":`Ask about je gegevens...`,\"notebook.chatInput.stop\":`Stoppen`,\"notebook.chatInput.continue\":`Doorgaan`,\"notebook.chatInput.send\":`Verzenden`,\"notebook.canvas.emptyTitle\":`Je notebook is leeg`,\"notebook.canvas.emptyDescription\":`Stel de AI-assistent een vraag over je gegevens. Grafieken en inzichten verschijnen hier terwijl de assistent je gegevens analyseert.`,\"notebook.canvas.editVisualization\":`Bewerken Visualization`,\"notebook.canvas.update\":`Bijwerken`,\"notebook.collapsed.noBlocks\":`Geen blocks`,\"notebook.collapsed.expandNotebook\":`Notitieblok uitklappen`,\"notebook.collapsed.expandChat\":`AI-chat uitklappen`,\"notebook.collapsed.aiChat\":`AI-chat`,\"notebook.collapsed.markdown\":`Markdown`,\"schema.loading\":`Laden cube schema...`,\"schema.error\":`Mislukt naar load cube schema`,\"schema.noCubes\":`Geen cubes gevonden`,\"schema.noCubesHint\":`Register some kubussen naar zien de relationship diagram`,\"schema.computingLayout\":`Layout berekenen...`,\"schema.searchPlaceholder\":`Zoeken cubes en velden...`,\"schema.autoLayout\":`Automatisch Layout`,\"schema.missingDeps.title\":`Schema Visualization vereist additional packages`,\"schema.missingDeps.description\":`Install de vereist dependencies naar enable de interactive schema diagram:`,\"schema.loadingVisualization\":`Laden schema visualisatie...`,\"schema.measures\":`Metingen ({count})`,\"schema.timeDimensions\":`Tijd Dimensies ({count})`,\"schema.dimensions\":`Dimensies ({count})`,\"schema.cubeInfo\":`Cube-info`,\"dataBrowser.selectCube\":`Selecteer a cube`,\"dataBrowser.selectCubeHint\":`Kies een cube uit de zijbalk om de gegevens te bekijken`,\"dataBrowser.loadingData\":`Laden gegevens...`,\"dataBrowser.noData\":`Geen gegevens`,\"dataBrowser.noRows\":`Geen rijen geretourneerd voor deze query`,\"dataBrowser.toolbar.filters\":`Filters`,\"dataBrowser.toolbar.columns\":`Kolommen`,\"dataBrowser.toolbar.rows\":`{count} rijen`,\"dataBrowser.sidebar.cubes\":`Kubussen`,\"dataBrowser.sidebar.searchPlaceholder\":`Zoeken...`,\"dataBrowser.sidebar.noCubes\":`Geen cubes gevonden`,\"queryAnalysis.summary\":`Query Samenvatting`,\"queryAnalysis.summary.type\":`Type`,\"queryAnalysis.summary.cubes\":`Kubussen`,\"queryAnalysis.summary.joins\":`Joins`,\"queryAnalysis.summary.ctes\":`CTE's`,\"queryAnalysis.summary.strategy\":`Strategie`,\"queryAnalysis.primaryCube\":`Primary Cube (VAN tabel)`,\"queryAnalysis.primaryCube.showCandidates\":`Toon candidates ({count})`,\"queryAnalysis.primaryCube.reachable\":`bereikbaar`,\"queryAnalysis.primaryCube.cannotReachAll\":`kan niet reach alle`,\"queryAnalysis.joinPaths\":`Join Paden`,\"queryAnalysis.joinPaths.steps\":`{count} stap`,\"queryAnalysis.joinPaths.stepsPlural\":`{count} stappen`,\"queryAnalysis.joinPaths.noPath\":`Geen pad`,\"queryAnalysis.joinPaths.selection\":`Selectie:`,\"queryAnalysis.joinPaths.pathCandidates\":`Pad scoring candidates ({count})`,\"queryAnalysis.joinPaths.visitedCubes\":`Kubussen visited during search ({count})`,\"queryAnalysis.preAggregations\":`Pre-aggregatie-CTE's`,\"queryAnalysis.preAggregations.measures\":`Metingen:`,\"queryAnalysis.preAggregations.joinKeys\":`Join-sleutels:`,\"queryAnalysis.warnings\":`Waarschuwingen`,\"queryAnalysis.cubesInvolved\":`Kubussen involved:`,\"common.actions.copied\":`Gekopieerd`,\"common.actions.copyToClipboard\":`Kopiëren naar clipboard`,\"chart.runtime.noData\":`Geen gegevens beschikbaar`,\"chart.runtime.noDataHint.bar\":`Geen datapunten om weer te geven in staafgrafiek`,\"chart.runtime.noDataHint.line\":`Geen datapunten om weer te geven in lijngrafiek`,\"chart.runtime.noDataHint.area\":`Geen datapunten om weer te geven in vlakgrafiek`,\"chart.runtime.noDataHint.pie\":`Geen datapunten om weer te geven in cirkeldiagram`,\"chart.runtime.noDataHint.scatter\":`Geen datapunten om weer te geven in spreidingsdiagram`,\"chart.runtime.noDataHint.radar\":`Geen datapunten om weer te geven in radardiagram`,\"chart.runtime.noDataHint.radialBar\":`Geen datapunten om weer te geven in radial staafgrafiek`,\"chart.runtime.noDataHint.treemap\":`Geen datapunten om weer te geven in boomkaart`,\"chart.runtime.noDataHint.bubble\":`Geen datapunten om weer te geven in bellendiagram`,\"chart.runtime.noDataHint.boxPlot\":`Geen datapunten om weer te geven in boxplot`,\"chart.runtime.noDataHint.waterfall\":`Geen datapunten om weer te geven in watervalgrafiek`,\"chart.runtime.noDataHint.candlestick\":`Geen datapunten om weer te geven in candlestickgrafiek`,\"chart.runtime.noDataHint.gauge\":`Geen datapunten om weer te geven in meterdiagram`,\"chart.runtime.noDataHint.measureProfile\":`Geen datapunten om weer te geven in meetprofielgrafiek`,\"chart.runtime.noDataHint.activityGrid\":`Geen datapunten om weer te geven in activiteitenraster`,\"chart.runtime.noDataHint.heatmap\":`Voer een query uit om de heatmap-visualisatie te zien`,\"chart.runtime.noDataHint.table\":`Geen gegevens naar weergeven in tabel`,\"chart.runtime.noDataHint.kpi\":`Geen gegevens points naar weergeven`,\"chart.runtime.noDataHint.funnel\":`Configureer een funnel met minimaal 2 stappen en een koppelingssleutel`,\"chart.runtime.noDataHint.flow\":`Configureer een flowanalyse met een startstap en eventdimensie`,\"chart.runtime.noDataHint.retention\":`Configureer retentieanalyse om resultaten te zien`,\"chart.runtime.noValidData\":`Geen geldige gegevens`,\"chart.runtime.noValidDataHint.bar\":`Geen geldige datapunten voor staafgrafiek na transformatie`,\"chart.runtime.noValidDataHint.line\":`Geen geldige datapunten voor lijngrafiek na transformatie`,\"chart.runtime.noValidDataHint.area\":`Geen geldige datapunten voor vlakgrafiek na transformatie`,\"chart.runtime.noValidDataHint.scatter\":`Geen geldige datapunten voor spreidingsdiagram na transformatie`,\"chart.runtime.noValidDataHint.radar\":`Geen geldige datapunten voor radardiagram na transformatie`,\"chart.runtime.noValidDataHint.radialBar\":`Geen geldige datapunten voor radial staafgrafiek na transformatie`,\"chart.runtime.noValidDataHint.treemap\":`Geen geldige datapunten voor boomkaart na transformatie`,\"chart.runtime.noValidDataHint.pie\":`Geen datapunten om weer te geven in cirkeldiagram`,\"chart.runtime.noValidDataHint.pieFiltered\":`Uitgefilterd {count} gegevens punten (zero van ongeldig waarden)`,\"chart.runtime.noValidDataHint.boxPlot\":`Kon boxplotstatistieken niet berekenen uit de opgegeven gegevens`,\"chart.runtime.noValidDataHint.gauge\":`Gauge-waarde is geen geldig getal`,\"chart.runtime.noValidDataHint.kpiText\":`Alle waarden are null of ongeldig`,\"chart.runtime.configError\":`Configuratiefout`,\"chart.runtime.configErrorHint.axisInvalid\":`Ongeldige of ontbrekende grafiek-asconfiguratie`,\"chart.runtime.configErrorHint.axisFields\":`Vereiste velden voor X-as of Y-as ontbreken`,\"chart.runtime.configErrorHint.pieAxis\":`chartConfig.x/y of chartConfig.xAxis/yAxis is vereist voor cirkeldiagram`,\"chart.runtime.configErrorHint.radarNumeric\":`Geen numerieke velden gevonden voor radardiagramwaarden`,\"chart.runtime.configErrorHint.radialBarNumeric\":`Geen numeriek veld gevonden voor radial-bar-grafiekwaarden`,\"chart.runtime.configErrorHint.treemapNumeric\":`Geen numeriek veld gevonden voor treemapgrootte`,\"chart.runtime.configErrorHint.noMeasure\":`Geen metingveld geconfigureerd`,\"chart.runtime.configErrorHint.noMeasures\":`Geen metingvelden geconfigureerd`,\"chart.runtime.configErrorHint.bubbleRequired\":`Bellendiagram vereist xAxis-, yAxis-, reeksen- en sizeField-dimensies`,\"chart.runtime.configErrorHint.bubbleOptional\":`Optioneel: colorField voor bubble-kleuring`,\"chart.runtime.configErrorHint.activityGridRequired\":`Activiteitsraster vereist een tijdsdimensie en een meting`,\"chart.runtime.chartError\":`{chartType} Fout`,\"chart.runtime.unknownError\":`Onbekende renderfout`,\"chart.runtime.checkConfig\":`Controleer de gegevens en configuratie`,\"chart.runtime.unableToRender\":`Kan retentiegegevens niet renderen`,\"chart.runtime.dataFormatIncorrect\":`Gegevensindeling kan onjuist zijn`,\"chart.runtime.measuringDimensions\":`Grafiekafmetingen worden gemeten...`,\"chart.runtime.unableToDisplay\":`Kan grafiek niet weergeven`,\"chart.runtime.responsiveContainerError\":`Maken van responsieve container mislukt`,\"chart.runtime.noDataToDisplay\":`Geen gegevens om weer te geven`,\"chart.runtime.table.invalidStructure\":`Gegevens structure is ongeldig`,\"chart.runtime.heatmapNoResults\":`De query retourneerde geen resultaten voor de heatmap`,\"chart.runtime.heatmapConfigRequired\":`Configuratie vereist`,\"chart.runtime.heatmapXRequired\":`X-asdimensie vereist.`,\"chart.runtime.heatmapYRequired\":`Y-asdimensie vereist.`,\"chart.runtime.heatmapValueRequired\":`Waarde-meting vereist.`,\"chart.runtime.heatmapTruncated\":`Gegevens ingekort tot {maxRows}x{maxCols} cellen (origineel: {originalRows}x{originalCols}). Voeg filters toe om dimensies te verkleinen.`,\"chart.runtime.activityGridGranularityTooHigh\":`Granulariteit te hoog`,\"chart.runtime.activityGridGranularityHint\":`Activiteitsrasters werken het best met uur-, dag-, week-, maand- of kwartaalgranulariteit`,\"chart.runtime.activityGridGranularityAction\":`Kies een lagere granulariteit voor je tijdsdimensie`,\"chart.runtime.activityGridConfigRequired\":`Configuratie vereist`,\"chart.runtime.retention.cohort\":`Cohort`,\"chart.runtime.retention.segment\":`Segment`,\"chart.runtime.retention.users\":`Gebruikers`,\"chart.runtime.retention.cohortSize\":`Cohortgrootte: {count}`,\"chart.runtime.retention.retained\":`Behouden: {count}`,\"chart.runtime.retention.rate\":`Percentage: {rate}`,\"chart.runtime.retention.retentionPercent\":`Retentie %`,\"chart.runtime.retention.periodLabel\":`{cohort} - Periode {period}`,\"chart.runtime.retention.noData\":`Geen gegevens`,\"chart.runtime.retention.total\":`Totaal`,\"chart.runtime.retention.retention\":`Retentie`,\"chart.runtime.funnel.noData\":`Geen funnelgegevens`,\"chart.runtime.funnel.steps\":`stappen`,\"chart.runtime.funnel.overall\":`Totaal:`,\"chart.runtime.funnel.completed\":`{completed} / {total} voltooid`,\"chart.runtime.flow.noData\":`Geen flowgegevens`,\"chart.runtime.flow.events\":`gebeurtenissen`,\"chart.runtime.flow.eventsAfter\":`gebeurtenissen (na)`,\"chart.runtime.flow.paths\":`Paden:`,\"chart.runtime.flow.startingEntities\":`startende entiteiten`,\"chart.runtime.flow.entities\":`entiteiten`,\"chart.runtime.kpiDelta.insufficientData\":`Onvoldoende gegevens`,\"chart.runtime.kpiDelta.requiresTwoPoints\":`Delta calculation vereist bij minimaal 2 gegevens punten`,\"chart.runtime.kpiDelta.currentPoints\":`Huidige gegevens points: {count}`,\"chart.runtime.kpiDelta.noVariance\":`Geen variance gegevens`,\"chart.runtime.kpiNumber.noData\":`Geen gegevens`,\"chart.runtime.markdown.noContent\":`Geen inhoud`,\"chart.runtime.markdown.addContent\":`Voeg markdown-inhoud toe in de grafiekconfiguratie`,\"chart.runtime.axisFormat.label\":`Label`,\"chart.runtime.axisFormat.autoLabel\":`Automatisch-gegenereerd label`,\"chart.runtime.axisFormat.unit\":`Eenheid`,\"chart.runtime.axisFormat.custom\":`Aangepast`,\"chart.runtime.axisFormat.prefix\":`Voorvoegsel`,\"chart.runtime.axisFormat.prefixExample\":`bijv., $`,\"chart.runtime.axisFormat.suffix\":`Achtervoegsel`,\"chart.runtime.axisFormat.suffixExample\":`bijv., eenheden`,\"chart.runtime.axisFormat.abbreviation\":`Afkorting`,\"chart.runtime.axisFormat.yes\":`Ja`,\"chart.runtime.axisFormat.no\":`Nee`,\"chart.runtime.axisFormat.decimals\":`Decimalen`,\"chart.runtime.axisFormat.preview\":`Voorbeeld`,\"chart.runtime.axisFormat.leftYAxis\":`Left Y-As`,\"chart.runtime.axisFormat.rightYAxis\":`Right Y-As`,\"chart.runtime.axisFormat.xAxis\":`X-As`,\"chart.runtime.missingDep.title\":`Ontbrekende afhankelijkheid`,\"chart.runtime.missingDep.description\":`De {chartType} grafiek vereist de {packageName} package.`,\"chart.runtime.missingDep.restartHint\":`Start na installatie je ontwikkelserver opnieuw.`,\"chart.runtime.unknownChartType\":`Onbekend grafiektype`,\"chart.runtime.unknownChartTypeHint\":`\"{chartType}\" is niet registered`,\"chart.runtime.boxPlot.truncated\":`Gegevens ingekort tot {max} groepen (origineel: {total})`,\"chart.runtime.candlestick.truncated\":`Toont de eerste {max} candles (totaal: {total})`,\"chart.runtime.bar.hiddenPoints\":`{count} gegevens punt(en) met geen waarden hidden`,\"chart.runtime.waterfall.increase\":`Toename`,\"chart.runtime.waterfall.decrease\":`Afname`,\"chart.runtime.waterfall.total\":`Totaal`,\"chart.runtime.tooltip.noData\":`Geen gegevens`,\"chart.runtime.tooltip.targetValue\":`Doelwaarde`,\"results.toolbar.refreshing\":`Vernieuwen`,\"results.toolbar.refresh\":`Vernieuwen`,\"results.toolbar.refreshTitle\":`Vernieuwen gegevens (Shift+klik naar bypass cache)`,\"results.toolbar.refreshingTitle\":`Vernieuwen...`,\"results.toolbar.cacheBustTitle\":`Klik naar vernieuw en bypass cache`,\"results.toolbar.clear\":`Wissen`,\"results.toolbar.clearFunnel\":`Wissen funnel`,\"results.toolbar.clearQuery\":`Wissen alle query gegevens`,\"results.toolbar.aiClose\":`Sluiten AI assistant`,\"results.toolbar.aiOpen\":`Analyse met AI`,\"results.toolbar.shareTitle\":`Share deze analyse`,\"results.toolbar.shareCopied\":`Link gekopieerd!`,\"results.toolbar.schemaHide\":`Verbergen schema diagram`,\"results.toolbar.schemaShow\":`Toon schema diagram`,\"results.toolbar.debugHide\":`Verbergen debug info`,\"results.toolbar.debugShow\":`Toon debug info`,\"results.toolbar.chartView\":`Grafiek view`,\"results.toolbar.chartDisabled\":`Voeg metingen naar enable grafiek view`,\"results.toolbar.tableView\":`Tabel view`,\"results.toolbar.mergedTableView\":`Merged tabel view`,\"results.view.table\":`Tabel`,\"results.warning.filterHint\":`Overweeg adding filters naar improve prestatie.`,\"results.debug.query\":`Query:`,\"results.debug.queryAnalysis\":`Query Analyse`,\"results.debug.copyMarkdownTitle\":`Kopieer query, analyse, en SQL as markdown`,\"results.debug.copyAsMarkdown\":`Kopiëren as Markdown`,\"results.debug.analysisError\":`Analyse unavailable due naar fout`,\"results.debug.analysisEmpty\":`Voeg metingen toe om analyse te zien`,\"results.debug.cubeQuery\":`Cube-query`,\"results.debug.cubeQueryExecuted\":`Executed Query (met funnel filters)`,\"results.debug.funnelFilterHint\":`Deze query includes an IN filter met koppeling sleutel waarden van de previous stap`,\"results.debug.noQuery\":`Geen query`,\"results.debug.serverResponse\":`Serverantwoord`,\"results.debug.noResults\":`Geen results yet`,\"results.debug.chartConfig\":`Grafiek Configuratie`,\"results.debug.displayConfig\":`Weergave Configuratie`,\"results.debug.generatedSql\":`Gegenereerd SQL`,\"results.debug.loadingSql\":`Laden SQL...`,\"results.debug.executionError\":`Execution Fout`,\"results.confirm.clearFunnel\":`Wissen Funnel`,\"results.confirm.clearQuery\":`Wissen Query`,\"results.confirm.clearFunnelMessage\":`Zijn je sure je want naar clear deze funnel? Deze action kan niet be undone.`,\"results.confirm.clearQueryMessage\":`Zijn je sure je want naar clear deze query? Deze action kan niet be undone.`,\"results.table.noData\":`Geen gegevens om weer te geven`,\"results.table.noDataHint\":`Voer een query uit om tabelgegevens te zien`,\"results.flow.noData\":`Geen flow gegevens naar weergeven`,\"results.flow.noDataHint\":`Configureer flowanalyse om resultaten te zien`,\"results.flow.nodes\":`Knooppunten ({count})`,\"results.flow.transitions\":`Overgangen ({count})`,\"results.flow.layer\":`Laag`,\"results.flow.name\":`Naam`,\"results.flow.count\":`Aantal`,\"results.flow.from\":`Van`,\"results.flow.to\":`Naar`,\"results.debug.funnel.label\":`Trechter-query`,\"results.debug.funnel.steps\":`{count} stappen`,\"results.debug.funnel.serverQuery\":`Trechter-serverquery`,\"results.debug.funnel.noQuery\":`Geen funnelquery geconfigureerd`,\"results.debug.funnel.sqlPlaceholder\":`Configureer funnel-koppelingssleutel om SQL te genereren`,\"results.debug.funnel.stepsTitle\":`Funnel Stappen`,\"results.debug.flow.label\":`Flow-query`,\"results.debug.flow.badge\":`{before} voor, {after} na`,\"results.debug.flow.serverQuery\":`Flow-serverquery`,\"results.debug.flow.noQuery\":`Geen flowquery geconfigureerd`,\"results.debug.flow.sqlPlaceholder\":`Configureer flow om SQL te genereren`,\"results.debug.flow.configTitle\":`Flow Configuratie`,\"results.debug.flow.startingStep\":`Startende Stap:`,\"results.debug.flow.eventDimension\":`Gebeurtenis Dimensie:`,\"results.debug.flow.stepsBefore\":`Stappen Voor:`,\"results.debug.flow.stepsAfter\":`Stappen Na:`,\"results.debug.flow.notSet\":`Niet set`,\"results.debug.flow.responseTitle\":`Server Response (Sankey Gegevens)`,\"results.debug.retention.label\":`Retentie Query`,\"results.debug.retention.badge\":`{segments} segment(en), {users} gebruikers`,\"results.debug.retention.serverQuery\":`Retentie Server Query`,\"results.debug.retention.configIncomplete\":`Configuratie Incomplete`,\"results.debug.retention.configHint\":`Configureer de retentieanalyse-instellingen om een query te genereren.`,\"results.debug.retention.sqlPlaceholder\":`Configureer retentie om SQL te genereren`,\"results.debug.retention.configTitle\":`Retentie Configuratie`,\"results.debug.retention.summaryTitle\":`Retentie Samenvatting`,\"results.debug.retention.retentionType\":`Retentie Type:`,\"results.debug.retention.periods\":`Periodes:`,\"results.debug.retention.granularity\":`Granulariteit:`,\"results.debug.retention.segments\":`Segmenten:`,\"results.debug.retention.avgPeriod1\":`Avg Periode 1:`,\"results.debug.retention.maxPeriod1\":`Max Periode 1:`,\"results.debug.retention.minPeriod1\":`Min Periode 1:`,\"results.debug.standard.sqlPlaceholder\":`Voeg metingen toe om SQL te genereren`,\"flow.tabs.flow\":`Stroom`,\"flow.tabs.display\":`Weergave`,\"flow.tabs.displayUnavailable\":`Weergave options not beschikbaar`,\"flow.tabs.displayTitle\":`Weergave options`,\"flow.visualization.title\":`Visualisatie`,\"flow.visualization.description\":`Kies hoe je de flowgegevens wilt visualiseren. Dit bepaalt hoe gegevens worden geaggregeerd.`,\"flow.visualization.sankey\":`Sankey`,\"flow.visualization.sankeyHint\":`Paden can converge`,\"flow.visualization.sunburst\":`Sunburst`,\"flow.visualization.sunburstHint\":`Unique paden alleen`,\"flow.startingStep.title\":`Startende Stap`,\"flow.startingStep.description\":`Define de anchor gebeurtenis van welke paden will zijn explored in both directions.`,\"flow.startingStep.filterLabel\":`Filter Voorwaarden`,\"flow.depth.title\":`Verkenningsdiepte`,\"flow.depth.descriptionSankey\":`Hoe veel stappen naar explore voor en na de startende stap.`,\"flow.depth.descriptionSunburst\":`Hoe veel stappen naar explore na de startende stap.`,\"flow.depth.stepsBefore\":`Stappen Voor`,\"flow.depth.stepsBeforeNA\":`(N/EEN)`,\"flow.depth.stepsAfter\":`Stappen Na`,\"flow.depth.performanceWarning\":`Hoog stap depth (4-5) kan impact query prestatie op groot datasets.`,\"flow.joinStrategy.title\":`Join-strategie`,\"flow.joinStrategy.description\":`Control hoe voor/na stappen zijn fetched. Schakel naar window if lateral is slower op je DB.`,\"flow.joinStrategy.auto\":`Automatisch (prefer lateral if beschikbaar)`,\"flow.joinStrategy.lateral\":`Lateraal (index-zoekacties)`,\"flow.joinStrategy.window\":`Venster (ROW_NUMBER)`,\"retention.tabs.retention\":`Retentie`,\"retention.tabs.display\":`Weergave`,\"retention.tabs.displayUnavailable\":`Weergave options not beschikbaar`,\"retention.tabs.displayTitle\":`Weergave options`,\"retention.dateRange.title\":`Datum Range`,\"retention.dateRange.description\":`Selecteer het datumbereik voor cohort-instroom. Gebruikers die voor het eerst binnen dit bereik verschijnen worden geanalyseerd.`,\"retention.dateRange.label\":`Datum Range`,\"retention.dateRange.selectRange\":`Selecteer date range`,\"retention.dateRange.customRange\":`Aangepast Range`,\"retention.dateRange.applyCustom\":`Toepassen Aangepast Range`,\"retention.cohortFilter.title\":`Cohortfilter`,\"retention.cohortFilter.description\":`Bepaal wie tot het cohort behoort. Gebruikers waarvan de eerste gebeurtenis binnen het datumbereik aan deze filters voldoet, worden opgenomen.`,\"retention.returnFilter.title\":`Terugkeerfilter`,\"retention.returnFilter.description\":`Define what counts as a return. Gebeurtenissen matching these filters in subsequent periods count as retentie.`,\"retention.breakdown.title\":`Opsplitsing`,\"retention.breakdown.description\":`Optionally segment retentie by dimensies (e.g., country, plan type).`,\"retention.settings.title\":`Instellingen`,\"retention.settings.description\":`Configureer hoe retentie wordt berekend en weergegeven.`,\"retention.settings.granularityLabel\":`Periode Granularity`,\"retention.settings.periodsLabel\":`Nummer of Periods ({min}-{max})`,\"retention.settings.periodsWarning\":`Hoog periode aantal kan impact query prestatie.`,\"retention.settings.retentionTypeLabel\":`Retentie Type`,\"debug.explainPlan\":`Uitleggen Plan`,\"debug.explainRunning\":`Draaiend...`,\"debug.explainIncludeTiming\":`Inclusief timing`,\"debug.explainRunningAnalyze\":`Draaiend UITLEGGEN ANALYZE...`,\"debug.explainRunningBasic\":`Draaiend UITLEGGEN...`,\"debug.explainError\":`Explain Fout:`,\"debug.sequentialScans\":`Sequentiële scans gedetecteerd`,\"debug.indexesUsed\":`{count} index gebruikt`,\"debug.indexesUsedPlural\":`{count} indexen gebruikt`,\"debug.executionTime\":`Uitvoering: {time}ms`,\"debug.planningTime\":`Planning: {time} ms`,\"debug.cost\":`Kosten: {cost}`,\"debug.indexes\":`Indexen:`,\"debug.executionPlanTitle\":`Uitvoering Plan ({database})`,\"debug.aiAnalyzing\":`Analyseren...`,\"debug.aiAnalysis\":`AI Analyse`,\"debug.aiAnalysisError\":`AI Analyse Fout:`,\"explainAI.title\":`AI Performance Analyse`,\"explainAI.assessment.good\":`Goed`,\"explainAI.assessment.warning\":`Waarschuwing`,\"explainAI.assessment.critical\":`Kritiek`,\"explainAI.summary\":`Samenvatting`,\"explainAI.queryAnalysis\":`Query Analyse`,\"explainAI.issuesFound\":`Issues Gevonden ({count})`,\"explainAI.recommendations\":`Aanbevelingen ({count})`,\"explainAI.noRecommendations\":`Geen specifieke aanbevelingen. De query lijkt goed geoptimaliseerd.`,\"explainAI.expectedImpact\":`Verwachte impact:`,\"explainAI.addToCube\":`Voeg naar {cubeName} cube:`,\"explainAI.modelLabel\":`Model:`,\"explainAI.usingUserKey\":`(met je API sleutel)`,\"explainAI.copied\":`Gekopieerd!`,\"explainAI.copy\":`Kopiëren`,\"explainAI.type.index\":`INDEX`,\"explainAI.type.table\":`TABEL`,\"explainAI.type.cube\":`CUBE`,\"explainAI.type.general\":`TIP`,\"errorBoundary.modeError\":`Mode Fout`,\"errorBoundary.modeErrorDescription\":`Er is een probleem opgetreden met de modus {mode}. Dit kan komen door ongeldige configuratiegegevens.`,\"errorBoundary.showDetails\":`Toon fout details`,\"errorBoundary.unknownError\":`Onbekend fout`,\"errorBoundary.tryAgain\":`Opnieuw proberen`,\"errorBoundary.switchToQuery\":`Schakel naar Query Modus`,\"funnel.tabs.steps\":`Stappen`,\"funnel.tabs.display\":`Weergave`,\"funnel.tabs.displayUnavailable\":`Weergave options not beschikbaar`,\"funnel.tabs.displayTitle\":`Weergave options`,\"funnel.steps.title\":`Funnel Stappen`,\"funnel.steps.emptyMessage\":`Geen stappen defined. Voeg at least 2 stappen naar create a funnel.`,\"funnel.steps.addFirst\":`Voeg First Stap`,\"funnel.steps.addStep\":`Voeg Stap`,\"funnel.steps.validationHint\":`Voeg at least one more stap naar create a valid funnel`,\"funnel.step.removeTitle\":`Verwijderen stap`,\"funnel.step.editNameTitle\":`Klik naar edit naam`,\"funnel.step.placeholder\":`Stap name`,\"funnel.step.timeWindow\":`Tijd Window`,\"funnel.step.timeWindowHelp\":`Max tijd van previous stap naar qualify`,\"funnel.step.filters\":`{count} filter`,\"funnel.step.filtersPlural\":`{count} filters`,\"funnel.step.within\":`binnen {time}`,\"funnel.step.noFilters\":`Geen filters geconfigureerd`,\"funnel.config.configuration\":`Configuratie`,\"funnel.config.cube\":`Cube`,\"funnel.config.cubeHelp\":`Selecteer een cube die is geconfigureerd voor funnelanalyse`,\"funnel.config.cubePlaceholder\":`Selecteer gebeurtenis stream cube`,\"funnel.config.bindingKey\":`Koppeling Sleutel`,\"funnel.config.bindingKeyHelp\":`Entity dat connects stappen (e.g., gebruiker ID, order ID)`,\"funnel.config.bindingKeyPlaceholder\":`Selecteer binding key`,\"funnel.config.selectCubeFirst\":`Selecteer cube first`,\"funnel.config.timeDimension\":`Tijd Dimensie`,\"funnel.config.timeDimensionHelp\":`Tijdstempel veld voor stap ordering`,\"funnel.config.timeDimensionPlaceholder\":`Selecteer time dimensie`,\"funnel.config.noMatchingFields\":`Geen matching velden gevonden`,\"funnel.bindingKey.searchPlaceholder\":`Zoeken dimensies...`,\"funnel.bindingKey.noMatching\":`Geen matching dimensies gevonden`,\"funnel.bindingKey.helpText\":`Selecteer een dimensie die entiteiten over funnelstappen identificeert (bijv. gebruikers-ID, order-ID)`,\"funnel.bindingKey.clearTitle\":`Wissen binding key`,\"flow.config.configuration\":`Configuratie`,\"flow.config.cube\":`Cube`,\"flow.config.cubeHelp\":`Selecteer een cube die is geconfigureerd voor flowanalyse`,\"flow.config.cubePlaceholder\":`Selecteer gebeurtenis stream cube`,\"flow.config.bindingKey\":`Koppeling Sleutel`,\"flow.config.bindingKeyHelp\":`Entity dat links gebeurtenissen together (e.g., gebruiker ID)`,\"flow.config.bindingKeyPlaceholder\":`Selecteer binding key`,\"flow.config.selectCubeFirst\":`Selecteer cube first`,\"flow.config.timeDimension\":`Tijd Dimensie`,\"flow.config.timeDimensionHelp\":`Tijdstempel veld voor gebeurtenis ordering`,\"flow.config.timeDimensionPlaceholder\":`Selecteer time dimensie`,\"flow.config.eventDimension\":`Gebeurtenis Dimensie`,\"flow.config.eventDimensionHelp\":`Dimensie dat categorizes gebeurtenissen (node labels in Sankey)`,\"flow.config.eventDimensionPlaceholder\":`Selecteer gebeurtenis dimensie`,\"flow.config.noMatchingFields\":`Geen matching velden gevonden`,\"retention.config.configuration\":`Configuratie`,\"retention.config.cube\":`Cube`,\"retention.config.cubeHelp\":`Selecteer de cube met je gebruikersgebeurtenissen`,\"retention.config.cubePlaceholder\":`Selecteer cube`,\"retention.config.bindingKey\":`Koppeling Sleutel`,\"retention.config.bindingKeyHelp\":`Dimensie die entiteiten over gebeurtenissen identificeert (bijv. gebruikers-ID, klant-ID)`,\"retention.config.bindingKeyPlaceholder\":`Selecteer user identifier`,\"retention.config.selectCubeFirst\":`Selecteer cube first`,\"retention.config.timestamp\":`Tijdstempel`,\"retention.config.timestampHelp\":`Tijdstempel veld voor cohort entry en activiteit`,\"retention.config.timestampPlaceholder\":`Selecteer timestamp`,\"retention.config.noMatchingFields\":`Geen matching velden gevonden`,\"retention.config.searchPlaceholder\":`Zoeken...`,\"display.showLegend\":`Toon Legenda`,\"display.showGrid\":`Toon Grid`,\"display.showTooltip\":`Toon Tooltip`,\"display.stacked\":`Gestapeld`,\"display.hideHeader\":`Verbergen Header`,\"fieldSearch.aria.closeDialog\":`Sluiten dialog`,\"fieldSearch.aria.filterByCube\":`Filter op cube`,\"fieldSearch.aria.cubeCategories\":`Cube-categorieën`,\"fieldSearch.aria.availableFields\":`Beschikbaar velden`,\"chart.dropZone.required\":`Deze veld is vereist`,\"common.actions.apply\":`Toepassen`,\"common.actions.done\":`Klaar`,\"common.actions.update\":`Bijwerken`,\"common.actions.retry\":`Opnieuw proberen`,\"common.actions.exit\":`Afsluiten`,\"common.actions.selectAll\":`Selecteer Alle`,\"common.saving\":`Opslaan...`,\"common.labels.title\":`Titel`,\"dashboardFilter.editFilter\":`Bewerken Filter`,\"dashboardFilter.filterLabel\":`Filterlabel`,\"dashboardFilter.enterFilterLabel\":`Enter filter label`,\"dashboardFilter.universalTimeFilter\":`Universal Tijd Filter`,\"dashboardFilter.universalTimeDescription\":`Dit filter wordt toegepast op alle tijdsdimensies in gekoppelde portlets. Gebruikers kunnen het datumbereik kiezen bij het bekijken van het dashboard.`,\"dashboardFilter.field\":`Veld`,\"dashboardFilter.showDashboardFields\":`Toon dashboard velden only`,\"dashboardFilter.showAllFields\":`Toon alle velden`,\"dashboardFilter.dashboard\":`Dashboard`,\"dashboardFilter.all\":`Alle`,\"dashboardFilter.clickToSelectField\":`Klik naar selecteer een veld`,\"dashboardFilter.operator\":`Operator`,\"dashboardFilter.defaultValue\":`Standaard Waarde`,\"dashboardFilter.deleteFilter\":`Verwijderen Filter`,\"dashboardFilter.noValueRequired\":`Geen waarde vereist`,\"dashboardFilter.to\":`naar`,\"dashboardFilter.selectValue\":`Selecteer waarde...`,\"dashboardFilter.search\":`Zoeken...`,\"dashboardFilter.errorPrefix\":`Fout:`,\"dashboardFilter.noValuesFound\":`Geen waarden gevonden`,\"dashboardFilter.enterValue\":`Enter waarde...`,\"dashboardFilter.enterNumber\":`Enter nummer`,\"dashboardFilter.min\":`Min`,\"dashboardFilter.max\":`Max`,\"dashboardFilter.filterLabelRequired\":`Filter label is vereist`,\"dashboardFilter.selectFieldRequired\":`Selecteer een veld voor het filter`,\"dashboardFilter.notSet\":`(niet set)`,\"dashboardFilter.clickToConfigure\":`Klik om te configureren`,\"dashboardFilter.customDate.startDate\":`Start Datum`,\"dashboardFilter.customDate.endDate\":`End Datum`,\"dashboardFilter.customDate.sinceDate\":`Since Datum`,\"dashboardFilter.customDate.fromSelectedToToday\":`Van selected date naar today`,\"dashboardFilter.customDate.number\":`Nummer`,\"dashboardFilter.customDate.unit\":`Eenheid`,\"dashboardFilter.customDate.lastNPreview\":`Laatste {number} {unit}`,\"dashboardFilter.editMode.filters\":`Filters`,\"dashboardFilter.editMode.noFilters\":`Geen filters geconfigureerd. Klik op \"Voeg toe\" om er één te maken.`,\"dashboardFilter.editMode.dateRange\":`Datum Range`,\"dashboardFilter.editMode.filter\":`Filter`,\"dashboardFilter.editMode.editFilter\":`Bewerken filter`,\"dashboardFilter.editMode.removeFilter\":`Verwijderen filter`,\"dashboardFilter.filterValue.editValue\":`Bewerken waarde`,\"dashboardFilter.readOnly.filters\":`Filters`,\"filter.shared.fieldsInQuery\":`Velden in Query ({count})`,\"filter.shared.allAvailableFields\":`Alle Beschikbaar Velden ({count})`,\"filter.shared.noFieldsMatch\":`Geen velden gevonden matching \"{searchTerm}\"`,\"filter.shared.searchFields\":`Zoeken velden...`,\"filter.shared.selectField\":`Selecteer veld...`,\"filter.shared.schemaNotLoaded\":`Schema niet geladen`,\"filter.shared.group.addFilter\":`Voeg Filter`,\"filter.shared.group.addAndGroup\":`Voeg EN Groep`,\"filter.shared.group.addOrGroup\":`Voeg OF Groep`,\"filter.shared.group.addCondition\":`Voeg condition`,\"filter.shared.group.noConditions\":`Geen conditions in deze groep.`,\"filter.shared.group.addFilterLink\":`Voeg a filter`,\"filter.shared.builder.filters\":`Filters ({count})`,\"filter.shared.builder.clearAll\":`Wissen alle`,\"filter.shared.builder.addFilter\":`Voeg Filter`,\"filter.shared.dateRange.title\":`Datum Ranges ({count})`,\"filter.shared.dateRange.clearAll\":`Wissen alle`,\"filter.shared.dateRange.addDateRange\":`Voeg Datum Range`,\"filter.shared.dateRange.allHaveDateRanges\":`Alle time dimensies already have date ranges`,\"filter.shared.valueSelector.noValueRequired\":`Geen waarde vereist`,\"filter.shared.valueSelector.to\":`naar`,\"filter.shared.valueSelector.min\":`Min`,\"filter.shared.valueSelector.max\":`Max`,\"filter.shared.valueSelector.enterNumber\":`Enter nummer`,\"filter.shared.valueSelector.loadingValues\":`Laden waarden...`,\"filter.shared.valueSelector.selectValue\":`Selecteer waarde...`,\"filter.shared.valueSelector.searchValues\":`Zoeken waarden...`,\"filter.shared.valueSelector.searching\":`Searching...`,\"filter.shared.valueSelector.errorLoading\":`Fout laden waarden: {error}`,\"filter.shared.valueSelector.noMatchingValues\":`Geen matching waarden`,\"filter.shared.valueSelector.noValuesAvailable\":`Geen waarden beschikbaar`,\"filter.shared.valueSelector.enterValue\":`Enter {type} waarde`,\"dashboard.noPortlets\":`Geen Portlets`,\"dashboard.noPortletsDescription\":`Voeg je first portlet naar start visualizing je gegevens`,\"dashboard.addText\":`Voeg Tekst`,\"dashboard.addPortlet\":`Voeg Portlet`,\"dashboard.finishEditing\":`Finish Editing`,\"dashboard.edit\":`Bewerken`,\"dashboard.grid\":`Raster`,\"dashboard.rows\":`Rijen`,\"dashboard.desktopRequired\":`Desktop view vereist voor editing`,\"dashboard.editModeHint\":`Drag • Resize • Automatisch-save`,\"dashboard.filterSelectionMode\":`Filter Selection Modus - Klik portlets naar toggle '{filterLabel}'`,\"dashboard.filterSelectionEscHint\":`• Druk ESC naar exit`,\"dashboard.editPortlet\":`Bewerken Portlet`,\"dashboard.addNewPortlet\":`Voeg Nieuw Portlet`,\"dashboard.updatePortlet\":`Bijwerken Portlet`,\"dashboard.deletePortlet\":`Verwijderen Portlet`,\"dashboard.deletePortletConfirm\":`Zijn je sure je want naar verwijder`,\"dashboard.deletePortletSuffix\":`? Deze action kan niet zijn undone.`,\"dashboard.thisPortlet\":`deze portlet`,\"dashboard.editModal.dashboardName\":`Dashboard Naam`,\"dashboard.editModal.enterDashboardName\":`Enter dashboard naam...`,\"dashboard.editModal.descriptionOptional\":`Beschrijving (optional)`,\"dashboard.editModal.enterDescription\":`Enter description...`,\"portlet.configRequired\":`Configuratie vereist`,\"portlet.configRequiredHint\":`Configureer deze grafiek`,\"portlet.queryError\":`Query Fout`,\"portlet.queryWithFilters\":`Query (met filters toegepast)`,\"portlet.chartConfig\":`Grafiek Configuratie`,\"portlet.noDataAvailable\":`Geen gegevens beschikbaar`,\"portlet.noDataDrilled\":`Geen datapunten om weer te geven voor het huidige filter`,\"portlet.invalidQuery\":`Ongeldig query of no results`,\"portlet.unsupportedChartType\":`Unsupported grafiek type`,\"portlet.unableToRender\":`Kan niet renderen grafiek`,\"portlet.enterTitle\":`Enter portlet title...`,\"portlet.enterPortletTitle\":`Voer een titel in voor de portlet.`,\"portlet.configureQuery\":`Configureer een query voordat je opslaat.`,\"portlet.configureFlow\":`Configureer de flowanalyse (binding key, tijdsdimensie, gebeurtenisdimensie en startstapfilter).`,\"portlet.configureRetention\":`Configureer de retentieanalyse (binding key, tijdsdimensie en datumbereik).`,\"portlet.configureFunnel\":`Alstublieft add at least two funnel stappen.`,\"portlet.addMetricOrBreakdown\":`Alstublieft add at least one metric of breakdown naar je query.`,\"portlet.filterConfig.title\":`Configureer dashboardfilters`,\"portlet.filterConfig.subtitle\":`Kies which dashboard filters apply naar \"{portletTitle}\"`,\"portlet.filterConfig.noFilters\":`Geen dashboard filters beschikbaar`,\"portlet.filterConfig.noFiltersHint\":`Voeg eerst filters toe op dashboardniveau`,\"portlet.filterConfig.availableFilters\":`Beschikbaar Filters`,\"portlet.filterConfig.selectedCount\":`{selected} van {total} selected`,\"portlet.filterConfig.applied\":`Toegepast`,\"portlet.filterConfig.noValue\":`geen waarde`,\"portlet.filterConfig.complexFilter\":`Complex filter`,\"portlet.filterConfig.groupFilter\":`{type} groep met {count} filter`,\"portlet.filterConfig.groupFilterPlural\":`{type} groep met {count} filters`,\"portlet.filterConfig.applyFilters\":`Toepassen Filters`,\"textPortlet.editText\":`Bewerken Tekst`,\"textPortlet.addText\":`Voeg Tekst`,\"textPortlet.markdownContent\":`Markdown Content`,\"textPortlet.markdownHint\":`Ondersteunt kopteksten (#), bold (**tekst**), italic (*tekst*), links ([tekst](url)), lists (- item), en horizontal rules (---).`,\"textPortlet.preview\":`Voorbeeld`,\"debug.title\":`Grafiek Debug Information`,\"debug.chartType\":`Grafiek Type`,\"debug.fieldAnalysis\":`Veld Analyse`,\"debug.chartConfig\":`Grafiek Configuratie`,\"debug.displayConfig\":`Weergave Configuratie`,\"debug.queryObject\":`Query-object`,\"debug.dataSample\":`Gegevens Sample (first 3 rijen)`,\"debug.cacheStatus\":`Cachestatus`,\"debug.cacheHit\":`Cache-hit`,\"debug.cachedAt\":`Cached Bij:`,\"debug.ttl\":`TTL:`,\"debug.ttlRemaining\":`Resterende TTL:`,\"debug.freshQuery\":`Nieuwe query`,\"debug.notFromCache\":`Resultaat not served van cache`,\"debug.escToClose\":`Druk`,\"debug.escKey\":`ESC`,\"debug.toClose\":`naar sluiten`,\"debug.tooltip\":`Debug grafiek configuratie`,\"error.unableToRender\":`Kan niet renderen grafiek`,\"error.unableToRenderNamed\":`Kan niet renderen {title}`,\"error.renderDescription\":`There was an fout rendering deze grafiek component. De fout details zijn shown onder.`,\"error.errorLabel\":`Fout:`,\"error.typeLabel\":`Type:`,\"error.portletConfig\":`Portlet Configuratie`,\"error.cubeQuery\":`Cube-query`,\"error.componentStack\":`Componentstack`,\"error.tryAgain\":`Opnieuw proberen`,\"drill.back\":`Terug`,\"drill.goBackOneLevel\":`Go back één level`,\"drill.returnToTop\":`Return naar boven level`,\"drill.navigateTo\":`Navigeer naar {label}`,\"drill.empty\":`(leeg)`,\"analyticsPage.title\":`Analysepagina - Komt in fase 4`,\"dataHistogram.average\":`Gemiddelde van {count} waarden`,\"dataHistogram.valuesInRange\":`{count} waarden in deze bereik`,\"mcp.status.connecting\":`Verbinden...`,\"mcp.status.loading\":`Laden...`,\"mcp.status.waiting\":`Wachten op queryresultaten...`,\"mcp.error.connectionLabel\":`Verbindingsfout:`,\"mcp.error.errorLabel\":`Fout:`,\"mcp.error.noTextContent\":`Geen tekstinhoud in resultaat`,\"mcp.error.invalidResultFormat\":`Ongeldig resultaatformaat: data-array ontbreekt`,\"mcp.error.parseFailed\":`Kon resultaat niet verwerken: {message}`,\"mcp.error.queryFailed\":`Query mislukt: {message}`,\"mcp.footer.rows\":`{count} rij`,\"mcp.footer.rowsPlural\":`{count} rijen`,\"mcp.footer.measures\":`{count} metriek`,\"mcp.footer.measuresPlural\":`{count} metrieken`,\"mcp.footer.dimensions\":`{count} dimensie`,\"mcp.footer.dimensionsPlural\":`{count} dimensies`}}));function mu(e,t){let n=bu[e];return n?t?n.replace(/\\{(\\w+)\\}/g,(e,n)=>{let r=t[n];return r===void 0?`{${n}}`:String(r)}):n:(xu&&typeof console<`u`&&console.warn(`[drizzle-cube i18n] Missing translation key: \"${e}\"`),e)}async function hu(e){if(e===`nl`&&(e=`nl-NL`),e===`en-GB`||e===`en`){yu=`en-GB`,bu=Ql;return}try{let t=await Yl(Object.assign({\"./locales/af-ZA.json\":()=>ru(()=>Promise.resolve().then(()=>(su(),au)),void 0,import.meta.url),\"./locales/en-US.json\":()=>ru(()=>Promise.resolve().then(()=>(uu(),cu)),void 0,import.meta.url),\"./locales/en.json\":()=>ru(()=>Promise.resolve().then(()=>($l(),Zl)),void 0,import.meta.url),\"./locales/nl-NL.json\":()=>ru(()=>Promise.resolve().then(()=>(pu(),du)),void 0,import.meta.url)}),`./locales/${e}.json`,3);yu=e,bu={...Ql,...t.default}}catch{typeof console<`u`&&console.warn(`[drizzle-cube] Failed to load locale \"${e}\", falling back to en-GB`),yu=`en-GB`,bu=Ql}}function gu(e,t){yu=e,bu={...Ql,...t}}function _u(){return yu}function vu(){return bu}var yu,bu,xu,Su=o((()=>{Xl(),$l(),iu(),yu=`en-GB`,bu=Ql,xu=!1})),Cu=s((e=>{var t=f(),n=Symbol.for(`react.element`),r=Symbol.for(`react.fragment`),i=Object.prototype.hasOwnProperty,a=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,o={key:!0,ref:!0,__self:!0,__source:!0};function s(e,t,r){var s,c={},l=null,u=null;for(s in r!==void 0&&(l=``+r),t.key!==void 0&&(l=``+t.key),t.ref!==void 0&&(u=t.ref),t)i.call(t,s)&&!o.hasOwnProperty(s)&&(c[s]=t[s]);if(e&&e.defaultProps)for(s in t=e.defaultProps,t)c[s]===void 0&&(c[s]=t[s]);return{$$typeof:n,type:e,key:l,ref:u,props:c,_owner:a.current}}e.Fragment=r,e.jsx=s,e.jsxs=s})),wu=s(((e,t)=>{t.exports=Cu()}));function Tu({locale:e=`en-GB`,translations:t,children:n}){let[r,i]=(0,Eu.useState)(!1),[a,o]=(0,Eu.useState)(_u());(0,Eu.useEffect)(()=>{let n=!1;return(async()=>{await hu(e),t&&!n&&gu(e,{...vu(),...t}),n||(o(_u()),i(!0))})(),()=>{n=!0}},[e,t]);let s={t:mu,locale:r?a:e};return(0,Du.jsx)(Ou.Provider,{value:s,children:n})}var Eu,Du,Ou,ku=o((()=>{Eu=u(f(),1),Su(),Du=wu(),Ou=(0,Eu.createContext)({t:mu,locale:`en-GB`})}));function Au(e){let{t,locale:n}=(0,ju.useContext)(Ou);return{t:(0,ju.useCallback)((n,r)=>t(e?`${e}.${n}`:n,r),[t,e]),locale:n}}var ju,Mu=o((()=>{ju=u(f(),1),ku()}));function Nu(e){var t,n,r=``;if(typeof e==`string`||typeof e==`number`)r+=e;else if(typeof e==`object`)if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=Nu(e[t]))&&(r&&(r+=` `),r+=n)}else for(n in e)e[n]&&(r&&(r+=` `),r+=n);return r}function U(){for(var e,t,n=0,r=``,i=arguments.length;n<i;n++)(e=arguments[n])&&(t=Nu(e))&&(r&&(r+=` `),r+=t);return r}var Pu=o((()=>{}));function Fu(e){return typeof e==`string`?Iu.includes(e):!1}var Iu,Lu=o((()=>{Iu=`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`.split(`.`)}));function Ru(e){return typeof e==`string`?Uu.has(e):!1}function zu(e){return typeof e==`string`&&e.startsWith(`data-`)}function Bu(e){if(typeof e!=`object`||!e)return{};var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(Ru(n)||zu(n))&&(t[n]=e[n]);return t}function Vu(e){if(e==null)return null;if((0,Hu.isValidElement)(e)&&typeof e.props==`object`&&e.props!==null){var t=e.props;return Bu(t)}return typeof e==`object`&&!Array.isArray(e)?Bu(e):null}var Hu,Uu,Wu=o((()=>{Hu=u(f()),Uu=new Set(`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`.split(`.`))}));function Gu(e){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(Ru(n)||zu(n)||Fu(n))&&(t[n]=e[n]);return t}function eee(e){return e==null?null:(0,Ku.isValidElement)(e)?Gu(e.props):typeof e==`object`&&!Array.isArray(e)?Gu(e):null}var Ku,qu=o((()=>{Ku=u(f()),Lu(),Wu()}));function Ju(){return Ju=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ju.apply(null,arguments)}function tee(e,t){if(e==null)return{};var n,r,i=nee(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function nee(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}var Yu,Xu,Zu,Qu,$u=o((()=>{Yu=u(f()),Xu=u(f()),Pu(),qu(),Zu=[`children`,`width`,`height`,`viewBox`,`className`,`style`,`title`,`desc`],Qu=(0,Xu.forwardRef)((e,t)=>{var{children:n,width:r,height:i,viewBox:a,className:o,style:s,title:c,desc:l}=e,u=tee(e,Zu),d=a||{width:r,height:i,x:0,y:0},f=U(`recharts-surface`,o);return Yu.createElement(`svg`,Ju({},Gu(u),{className:f,width:r,height:i,style:s,viewBox:`${d.x} ${d.y} ${d.width} ${d.height}`,ref:t}),Yu.createElement(`title`,null,c),Yu.createElement(`desc`,null,l),n)})}));function ed(){return ed=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ed.apply(null,arguments)}function td(e,t){if(e==null)return{};var n,r,i=ree(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function ree(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}var nd,rd,W,id=o((()=>{nd=u(f()),Pu(),qu(),rd=[`children`,`className`],W=nd.forwardRef((e,t)=>{var{children:n,className:r}=e,i=td(e,rd),a=U(`recharts-layer`,r);return nd.createElement(`g`,ed({className:a},Gu(i),{ref:t}),n)})})),ad,od,sd,cd=o((()=>{ad=u(f()),od=(0,ad.createContext)(null),sd=()=>(0,ad.useContext)(od)}));function ld(e){return function(){return e}}var ud=o((()=>{}));function iee(e){return e>1?0:e<-1?yd:Math.acos(e)}function dd(e){return e>=1?bd:e<=-1?-bd:Math.asin(e)}var fd,pd,md,hd,gd,_d,vd,yd,bd,xd,Sd=o((()=>{fd=Math.abs,pd=Math.atan2,md=Math.cos,hd=Math.max,gd=Math.min,_d=Math.sin,vd=Math.sqrt,yd=Math.PI,bd=yd/2,xd=2*yd}));function Cd(e){this._+=e[0];for(let t=1,n=e.length;t<n;++t)this._+=arguments[t]+e[t]}function aee(e){let t=Math.floor(e);if(!(t>=0))throw Error(`invalid digits: ${e}`);if(t>15)return Cd;let n=10**t;return function(e){this._+=e[0];for(let t=1,r=e.length;t<r;++t)this._+=Math.round(arguments[t]*n)/n+e[t]}}function wd(){return new kd}var Td,Ed,Dd,Od,kd,oee=o((()=>{Td=Math.PI,Ed=2*Td,Dd=1e-6,Od=Ed-Dd,kd=class{constructor(e){this._x0=this._y0=this._x1=this._y1=null,this._=``,this._append=e==null?Cd:aee(e)}moveTo(e,t){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+t}`}closePath(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(e,t){this._append`L${this._x1=+e},${this._y1=+t}`}quadraticCurveTo(e,t,n,r){this._append`Q${+e},${+t},${this._x1=+n},${this._y1=+r}`}bezierCurveTo(e,t,n,r,i,a){this._append`C${+e},${+t},${+n},${+r},${this._x1=+i},${this._y1=+a}`}arcTo(e,t,n,r,i){if(e=+e,t=+t,n=+n,r=+r,i=+i,i<0)throw Error(`negative radius: ${i}`);let a=this._x1,o=this._y1,s=n-e,c=r-t,l=a-e,u=o-t,d=l*l+u*u;if(this._x1===null)this._append`M${this._x1=e},${this._y1=t}`;else if(d>Dd)if(!(Math.abs(u*s-c*l)>Dd)||!i)this._append`L${this._x1=e},${this._y1=t}`;else{let f=n-a,p=r-o,m=s*s+c*c,h=f*f+p*p,g=Math.sqrt(m),_=Math.sqrt(d),v=i*Math.tan((Td-Math.acos((m+d-h)/(2*g*_)))/2),y=v/_,b=v/g;Math.abs(y-1)>Dd&&this._append`L${e+y*l},${t+y*u}`,this._append`A${i},${i},0,0,${+(u*f>l*p)},${this._x1=e+b*s},${this._y1=t+b*c}`}}arc(e,t,n,r,i,a){if(e=+e,t=+t,n=+n,a=!!a,n<0)throw Error(`negative radius: ${n}`);let o=n*Math.cos(r),s=n*Math.sin(r),c=e+o,l=t+s,u=1^a,d=a?r-i:i-r;this._x1===null?this._append`M${c},${l}`:(Math.abs(this._x1-c)>Dd||Math.abs(this._y1-l)>Dd)&&this._append`L${c},${l}`,n&&(d<0&&(d=d%Ed+Ed),d>Od?this._append`A${n},${n},0,1,${u},${e-o},${t-s}A${n},${n},0,1,${u},${this._x1=c},${this._y1=l}`:d>Dd&&this._append`A${n},${n},0,${+(d>=Td)},${u},${this._x1=e+n*Math.cos(i)},${this._y1=t+n*Math.sin(i)}`)}rect(e,t,n,r){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+t}h${n=+n}v${+r}h${-n}Z`}toString(){return this._}},wd.prototype=kd.prototype})),Ad=o((()=>{oee()}));function jd(e){let t=3;return e.digits=function(n){if(!arguments.length)return t;if(n==null)t=null;else{let e=Math.floor(n);if(!(e>=0))throw RangeError(`invalid digits: ${n}`);t=e}return e},()=>new kd(t)}var Md=o((()=>{Ad()}));function see(e){return e.innerRadius}function cee(e){return e.outerRadius}function lee(e){return e.startAngle}function uee(e){return e.endAngle}function dee(e){return e&&e.padAngle}function fee(e,t,n,r,i,a,o,s){var c=n-e,l=r-t,u=o-i,d=s-a,f=d*c-u*l;if(!(f*f<1e-12))return f=(u*(t-a)-d*(e-i))/f,[e+f*c,t+f*l]}function Nd(e,t,n,r,i,a,o){var s=e-n,c=t-r,l=(o?a:-a)/vd(s*s+c*c),u=l*c,d=-l*s,f=e+u,p=t+d,m=n+u,h=r+d,g=(f+m)/2,_=(p+h)/2,v=m-f,y=h-p,b=v*v+y*y,x=i-a,S=f*h-m*p,C=(y<0?-1:1)*vd(hd(0,x*x*b-S*S)),w=(S*y-v*C)/b,T=(-S*v-y*C)/b,E=(S*y+v*C)/b,D=(-S*v+y*C)/b,O=w-g,k=T-_,A=E-g,j=D-_;return O*O+k*k>A*A+j*j&&(w=E,T=D),{cx:w,cy:T,x01:-u,y01:-d,x11:w*(i/x-1),y11:T*(i/x-1)}}function pee(){var e=see,t=cee,n=ld(0),r=null,i=lee,a=uee,o=dee,s=null,c=jd(l);function l(){var l,u,d=+e.apply(this,arguments),f=+t.apply(this,arguments),p=i.apply(this,arguments)-bd,m=a.apply(this,arguments)-bd,h=fd(m-p),g=m>p;if(s||=l=c(),f<d&&(u=f,f=d,d=u),!(f>1e-12))s.moveTo(0,0);else if(h>xd-1e-12)s.moveTo(f*md(p),f*_d(p)),s.arc(0,0,f,p,m,!g),d>1e-12&&(s.moveTo(d*md(m),d*_d(m)),s.arc(0,0,d,m,p,g));else{var _=p,v=m,y=p,b=m,x=h,S=h,C=o.apply(this,arguments)/2,w=C>1e-12&&(r?+r.apply(this,arguments):vd(d*d+f*f)),T=gd(fd(f-d)/2,+n.apply(this,arguments)),E=T,D=T,O,k;if(w>1e-12){var A=dd(w/d*_d(C)),j=dd(w/f*_d(C));(x-=A*2)>1e-12?(A*=g?1:-1,y+=A,b-=A):(x=0,y=b=(p+m)/2),(S-=j*2)>1e-12?(j*=g?1:-1,_+=j,v-=j):(S=0,_=v=(p+m)/2)}var M=f*md(_),N=f*_d(_),ee=d*md(b),te=d*_d(b);if(T>1e-12){var ne=f*md(v),re=f*_d(v),ie=d*md(y),ae=d*_d(y),oe;if(h<yd)if(oe=fee(M,N,ie,ae,ne,re,ee,te)){var se=M-oe[0],ce=N-oe[1],P=ne-oe[0],le=re-oe[1],ue=1/_d(iee((se*P+ce*le)/(vd(se*se+ce*ce)*vd(P*P+le*le)))/2),de=vd(oe[0]*oe[0]+oe[1]*oe[1]);E=gd(T,(d-de)/(ue-1)),D=gd(T,(f-de)/(ue+1))}else E=D=0}S>1e-12?D>1e-12?(O=Nd(ie,ae,M,N,f,D,g),k=Nd(ne,re,ee,te,f,D,g),s.moveTo(O.cx+O.x01,O.cy+O.y01),D<T?s.arc(O.cx,O.cy,D,pd(O.y01,O.x01),pd(k.y01,k.x01),!g):(s.arc(O.cx,O.cy,D,pd(O.y01,O.x01),pd(O.y11,O.x11),!g),s.arc(0,0,f,pd(O.cy+O.y11,O.cx+O.x11),pd(k.cy+k.y11,k.cx+k.x11),!g),s.arc(k.cx,k.cy,D,pd(k.y11,k.x11),pd(k.y01,k.x01),!g))):(s.moveTo(M,N),s.arc(0,0,f,_,v,!g)):s.moveTo(M,N),!(d>1e-12)||!(x>1e-12)?s.lineTo(ee,te):E>1e-12?(O=Nd(ee,te,ne,re,d,-E,g),k=Nd(M,N,ie,ae,d,-E,g),s.lineTo(O.cx+O.x01,O.cy+O.y01),E<T?s.arc(O.cx,O.cy,E,pd(O.y01,O.x01),pd(k.y01,k.x01),!g):(s.arc(O.cx,O.cy,E,pd(O.y01,O.x01),pd(O.y11,O.x11),!g),s.arc(0,0,d,pd(O.cy+O.y11,O.cx+O.x11),pd(k.cy+k.y11,k.cx+k.x11),g),s.arc(k.cx,k.cy,E,pd(k.y11,k.x11),pd(k.y01,k.x01),!g))):s.arc(0,0,d,b,y,g)}if(s.closePath(),l)return s=null,l+``||null}return l.centroid=function(){var n=(+e.apply(this,arguments)+ +t.apply(this,arguments))/2,r=(+i.apply(this,arguments)+ +a.apply(this,arguments))/2-yd/2;return[md(r)*n,_d(r)*n]},l.innerRadius=function(t){return arguments.length?(e=typeof t==`function`?t:ld(+t),l):e},l.outerRadius=function(e){return arguments.length?(t=typeof e==`function`?e:ld(+e),l):t},l.cornerRadius=function(e){return arguments.length?(n=typeof e==`function`?e:ld(+e),l):n},l.padRadius=function(e){return arguments.length?(r=e==null?null:typeof e==`function`?e:ld(+e),l):r},l.startAngle=function(e){return arguments.length?(i=typeof e==`function`?e:ld(+e),l):i},l.endAngle=function(e){return arguments.length?(a=typeof e==`function`?e:ld(+e),l):a},l.padAngle=function(e){return arguments.length?(o=typeof e==`function`?e:ld(+e),l):o},l.context=function(e){return arguments.length?(s=e??null,l):s},l}var mee=o((()=>{ud(),Sd(),Md()}));function Pd(e){return typeof e==`object`&&`length`in e?e:Array.from(e)}var Fd=o((()=>{Array.prototype.slice}));function Id(e){this._context=e}function Ld(e){return new Id(e)}var Rd=o((()=>{Id.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._context.lineTo(e,t);break}}}}));function zd(e){return e[0]}function Bd(e){return e[1]}var Vd=o((()=>{}));function Hd(e,t){var n=ld(!0),r=null,i=Ld,a=null,o=jd(s);e=typeof e==`function`?e:e===void 0?zd:ld(e),t=typeof t==`function`?t:t===void 0?Bd:ld(t);function s(s){var c,l=(s=Pd(s)).length,u,d=!1,f;for(r??(a=i(f=o())),c=0;c<=l;++c)!(c<l&&n(u=s[c],c,s))===d&&((d=!d)?a.lineStart():a.lineEnd()),d&&a.point(+e(u,c,s),+t(u,c,s));if(f)return a=null,f+``||null}return s.x=function(t){return arguments.length?(e=typeof t==`function`?t:ld(+t),s):e},s.y=function(e){return arguments.length?(t=typeof e==`function`?e:ld(+e),s):t},s.defined=function(e){return arguments.length?(n=typeof e==`function`?e:ld(!!e),s):n},s.curve=function(e){return arguments.length?(i=e,r!=null&&(a=i(r)),s):i},s.context=function(e){return arguments.length?(e==null?r=a=null:a=i(r=e),s):r},s}var Ud=o((()=>{Fd(),ud(),Rd(),Md(),Vd()}));function Wd(e,t,n){var r=null,i=ld(!0),a=null,o=Ld,s=null,c=jd(l);e=typeof e==`function`?e:e===void 0?zd:ld(+e),t=typeof t==`function`?t:ld(t===void 0?0:+t),n=typeof n==`function`?n:n===void 0?Bd:ld(+n);function l(l){var u,d,f,p=(l=Pd(l)).length,m,h=!1,g,_=Array(p),v=Array(p);for(a??(s=o(g=c())),u=0;u<=p;++u){if(!(u<p&&i(m=l[u],u,l))===h)if(h=!h)d=u,s.areaStart(),s.lineStart();else{for(s.lineEnd(),s.lineStart(),f=u-1;f>=d;--f)s.point(_[f],v[f]);s.lineEnd(),s.areaEnd()}h&&(_[u]=+e(m,u,l),v[u]=+t(m,u,l),s.point(r?+r(m,u,l):_[u],n?+n(m,u,l):v[u]))}if(g)return s=null,g+``||null}function u(){return Hd().defined(i).curve(o).context(a)}return l.x=function(t){return arguments.length?(e=typeof t==`function`?t:ld(+t),r=null,l):e},l.x0=function(t){return arguments.length?(e=typeof t==`function`?t:ld(+t),l):e},l.x1=function(e){return arguments.length?(r=e==null?null:typeof e==`function`?e:ld(+e),l):r},l.y=function(e){return arguments.length?(t=typeof e==`function`?e:ld(+e),n=null,l):t},l.y0=function(e){return arguments.length?(t=typeof e==`function`?e:ld(+e),l):t},l.y1=function(e){return arguments.length?(n=e==null?null:typeof e==`function`?e:ld(+e),l):n},l.lineX0=l.lineY0=function(){return u().x(e).y(t)},l.lineY1=function(){return u().x(e).y(n)},l.lineX1=function(){return u().x(r).y(t)},l.defined=function(e){return arguments.length?(i=typeof e==`function`?e:ld(!!e),l):i},l.curve=function(e){return arguments.length?(o=e,a!=null&&(s=o(a)),l):o},l.context=function(e){return arguments.length?(e==null?a=s=null:s=o(a=e),l):a},l}var hee=o((()=>{Fd(),ud(),Rd(),Ud(),Md(),Vd()}));function gee(e){return new Gd(e,!0)}function _ee(e){return new Gd(e,!1)}var Gd,vee=o((()=>{Gd=class{constructor(e,t){this._context=e,this._x=t}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line}point(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._x?this._context.bezierCurveTo(this._x0=(this._x0+e)/2,this._y0,this._x0,t,e,t):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+t)/2,e,this._y0,e,t);break}this._x0=e,this._y0=t}}})),Kd,qd=o((()=>{Sd(),Kd={draw(e,t){let n=vd(t/yd);e.moveTo(n,0),e.arc(0,0,n,0,xd)}}})),Jd,yee=o((()=>{Sd(),Jd={draw(e,t){let n=vd(t/5)/2;e.moveTo(-3*n,-n),e.lineTo(-n,-n),e.lineTo(-n,-3*n),e.lineTo(n,-3*n),e.lineTo(n,-n),e.lineTo(3*n,-n),e.lineTo(3*n,n),e.lineTo(n,n),e.lineTo(n,3*n),e.lineTo(-n,3*n),e.lineTo(-n,n),e.lineTo(-3*n,n),e.closePath()}}})),Yd,Xd,Zd,Qd=o((()=>{Sd(),Yd=vd(1/3),Xd=Yd*2,Zd={draw(e,t){let n=vd(t/Xd),r=n*Yd;e.moveTo(0,-n),e.lineTo(r,0),e.lineTo(0,n),e.lineTo(-r,0),e.closePath()}}})),$d,ef=o((()=>{Sd(),$d={draw(e,t){let n=vd(t),r=-n/2;e.rect(r,r,n,n)}}})),tf,nf,rf,af,of,sf=o((()=>{Sd(),tf=.8908130915292852,nf=_d(yd/10)/_d(7*yd/10),rf=_d(xd/10)*nf,af=-md(xd/10)*nf,of={draw(e,t){let n=vd(t*tf),r=rf*n,i=af*n;e.moveTo(0,-n),e.lineTo(r,i);for(let t=1;t<5;++t){let a=xd*t/5,o=md(a),s=_d(a);e.lineTo(s*n,-o*n),e.lineTo(o*r-s*i,s*r+o*i)}e.closePath()}}})),cf,lf,uf=o((()=>{Sd(),cf=vd(3),lf={draw(e,t){let n=-vd(t/(cf*3));e.moveTo(0,n*2),e.lineTo(-cf*n,-n),e.lineTo(cf*n,-n),e.closePath()}}})),df,ff,pf,mf,hf,gf=o((()=>{Sd(),df=-.5,ff=vd(3)/2,pf=1/vd(12),mf=(pf/2+1)*3,hf={draw(e,t){let n=vd(t/mf),r=n/2,i=n*pf,a=r,o=n*pf+n,s=-a,c=o;e.moveTo(r,i),e.lineTo(a,o),e.lineTo(s,c),e.lineTo(df*r-ff*i,ff*r+df*i),e.lineTo(df*a-ff*o,ff*a+df*o),e.lineTo(df*s-ff*c,ff*s+df*c),e.lineTo(df*r+ff*i,df*i-ff*r),e.lineTo(df*a+ff*o,df*o-ff*a),e.lineTo(df*s+ff*c,df*c-ff*s),e.closePath()}}}));function _f(e,t){let n=null,r=jd(i);e=typeof e==`function`?e:ld(e||Kd),t=typeof t==`function`?t:ld(t===void 0?64:+t);function i(){let i;if(n||=i=r(),e.apply(this,arguments).draw(n,+t.apply(this,arguments)),i)return n=null,i+``||null}return i.type=function(t){return arguments.length?(e=typeof t==`function`?t:ld(t),i):e},i.size=function(e){return arguments.length?(t=typeof e==`function`?e:ld(+e),i):t},i.context=function(e){return arguments.length?(n=e??null,i):n},i}var vf=o((()=>{ud(),Md(),qd()}));function yf(){}var bf=o((()=>{}));function xf(e,t,n){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+n)/6)}function Sf(e){this._context=e}function bee(e){return new Sf(e)}var Cf=o((()=>{Sf.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:xf(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:xf(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}}}));function wf(e){this._context=e}function xee(e){return new wf(e)}var See=o((()=>{bf(),Cf(),wf.prototype={areaStart:yf,areaEnd:yf,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);break}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x2=e,this._y2=t;break;case 1:this._point=2,this._x3=e,this._y3=t;break;case 2:this._point=3,this._x4=e,this._y4=t,this._context.moveTo((this._x0+4*this._x1+e)/6,(this._y0+4*this._y1+t)/6);break;default:xf(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}}}));function Tf(e){this._context=e}function Cee(e){return new Tf(e)}var wee=o((()=>{Cf(),Tf.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||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+e)/6,r=(this._y0+4*this._y1+t)/6;this._line?this._context.lineTo(n,r):this._context.moveTo(n,r);break;case 3:this._point=4;default:xf(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}}}));function Ef(e){this._context=e}function Tee(e){return new Ef(e)}var Eee=o((()=>{bf(),Ef.prototype={areaStart:yf,areaEnd:yf,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(e,t){e=+e,t=+t,this._point?this._context.lineTo(e,t):(this._point=1,this._context.moveTo(e,t))}}}));function Df(e){return e<0?-1:1}function Of(e,t,n){var r=e._x1-e._x0,i=t-e._x1,a=(e._y1-e._y0)/(r||i<0&&-0),o=(n-e._y1)/(i||r<0&&-0),s=(a*i+o*r)/(r+i);return(Df(a)+Df(o))*Math.min(Math.abs(a),Math.abs(o),.5*Math.abs(s))||0}function kf(e,t){var n=e._x1-e._x0;return n?(3*(e._y1-e._y0)/n-t)/2:t}function Af(e,t,n){var r=e._x0,i=e._y0,a=e._x1,o=e._y1,s=(a-r)/3;e._context.bezierCurveTo(r+s,i+s*t,a-s,o-s*n,a,o)}function jf(e){this._context=e}function Mf(e){this._context=new Nf(e)}function Nf(e){this._context=e}function Dee(e){return new jf(e)}function Oee(e){return new Mf(e)}var kee=o((()=>{jf.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:Af(this,this._t0,kf(this,this._t0));break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){var n=NaN;if(e=+e,t=+t,!(e===this._x1&&t===this._y1)){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,Af(this,kf(this,n=Of(this,e,t)),n);break;default:Af(this,this._t0,n=Of(this,e,t));break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t,this._t0=n}}},(Mf.prototype=Object.create(jf.prototype)).point=function(e,t){jf.prototype.point.call(this,t,e)},Nf.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,n,r,i,a){this._context.bezierCurveTo(t,e,r,n,a,i)}}}));function Pf(e){this._context=e}function Ff(e){var t,n=e.length-1,r,i=Array(n),a=Array(n),o=Array(n);for(i[0]=0,a[0]=2,o[0]=e[0]+2*e[1],t=1;t<n-1;++t)i[t]=1,a[t]=4,o[t]=4*e[t]+2*e[t+1];for(i[n-1]=2,a[n-1]=7,o[n-1]=8*e[n-1]+e[n],t=1;t<n;++t)r=i[t]/a[t-1],a[t]-=r,o[t]-=r*o[t-1];for(i[n-1]=o[n-1]/a[n-1],t=n-2;t>=0;--t)i[t]=(o[t]-i[t+1])/a[t];for(a[n-1]=(e[n]+i[n-1])/2,t=0;t<n-1;++t)a[t]=2*e[t+1]-i[t+1];return[i,a]}function Aee(e){return new Pf(e)}var jee=o((()=>{Pf.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,n=e.length;if(n)if(this._line?this._context.lineTo(e[0],t[0]):this._context.moveTo(e[0],t[0]),n===2)this._context.lineTo(e[1],t[1]);else for(var r=Ff(e),i=Ff(t),a=0,o=1;o<n;++a,++o)this._context.bezierCurveTo(r[0][a],i[0][a],r[1][a],i[1][a],e[o],t[o]);(this._line||this._line!==0&&n===1)&&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)}}}));function If(e,t){this._context=e,this._t=t}function Mee(e){return new If(e,.5)}function Nee(e){return new If(e,0)}function Pee(e){return new If(e,1)}var Fee=o((()=>{If.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&&this._point===2&&this._context.lineTo(this._x,this._y),(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t);else{var n=this._x*(1-this._t)+e*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,t)}break}this._x=e,this._y=t}}}));function Lf(e,t){if((o=e.length)>1)for(var n=1,r,i,a=e[t[0]],o,s=a.length;n<o;++n)for(i=a,a=e[t[n]],r=0;r<s;++r)a[r][1]+=a[r][0]=isNaN(i[r][1])?i[r][0]:i[r][1]}var Rf=o((()=>{}));function zf(e){for(var t=e.length,n=Array(t);--t>=0;)n[t]=t;return n}var Bf=o((()=>{}));function Iee(e,t){return e[t]}function Lee(e){let t=[];return t.key=e,t}function Ree(){var e=ld([]),t=zf,n=Lf,r=Iee;function i(i){var a=Array.from(e.apply(this,arguments),Lee),o,s=a.length,c=-1,l;for(let e of i)for(o=0,++c;o<s;++o)(a[o][c]=[0,+r(e,a[o].key,c,i)]).data=e;for(o=0,l=Pd(t(a));o<s;++o)a[l[o]].index=o;return n(a,l),a}return i.keys=function(t){return arguments.length?(e=typeof t==`function`?t:ld(Array.from(t)),i):e},i.value=function(e){return arguments.length?(r=typeof e==`function`?e:ld(+e),i):r},i.order=function(e){return arguments.length?(t=e==null?zf:typeof e==`function`?e:ld(Array.from(e)),i):t},i.offset=function(e){return arguments.length?(n=e??Lf,i):n},i}var zee=o((()=>{Fd(),ud(),Rf(),Bf()}));function Bee(e,t){if((r=e.length)>0){for(var n,r,i=0,a=e[0].length,o;i<a;++i){for(o=n=0;n<r;++n)o+=e[n][i][1]||0;if(o)for(n=0;n<r;++n)e[n][i][1]/=o}Lf(e,t)}}var Vee=o((()=>{Rf()}));function Hee(e,t){if((i=e.length)>0){for(var n=0,r=e[t[0]],i,a=r.length;n<a;++n){for(var o=0,s=0;o<i;++o)s+=e[o][n][1]||0;r[n][1]+=r[n][0]=-s/2}Lf(e,t)}}var Uee=o((()=>{Rf()}));function Wee(e,t){if(!(!((o=e.length)>0)||!((a=(i=e[t[0]]).length)>0))){for(var n=0,r=1,i,a,o;r<a;++r){for(var s=0,c=0,l=0;s<o;++s){for(var u=e[t[s]],d=u[r][1]||0,f=(d-(u[r-1][1]||0))/2,p=0;p<s;++p){var m=e[t[p]],h=m[r][1]||0,g=m[r-1][1]||0;f+=h-g}c+=d,l+=f*d}i[r-1][1]+=i[r-1][0]=n,c&&(n-=l/c)}i[r-1][1]+=i[r-1][0]=n,Lf(e,t)}}var Gee=o((()=>{Rf()})),Vf=o((()=>{mee(),hee(),Ud(),Fd(),ud(),Sd(),Rd(),vee(),Md(),Vd(),vf(),qd(),yee(),Qd(),ef(),sf(),uf(),gf(),See(),wee(),Cf(),bf(),Eee(),kee(),jee(),Fee(),zee(),Vee(),Rf(),Uee(),Gee(),Bf()})),Hf=o((()=>{Vf()})),Uf=s((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});function t(e){return e===`__proto__`}e.isUnsafeProperty=t})),Wf=s((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});function t(e){switch(typeof e){case`number`:case`symbol`:return!1;case`string`:return e.includes(`.`)||e.includes(`[`)||e.includes(`]`)}}e.isDeepKey=t})),Gf=s((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});function t(e){return typeof e==`string`||typeof e==`symbol`?e:Object.is(e?.valueOf?.(),-0)?`-0`:String(e)}e.toKey=t})),Kee=s((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});function t(e){if(e==null)return``;if(typeof e==`string`)return e;if(Array.isArray(e))return e.map(t).join(`,`);let n=String(e);return n===`0`&&Object.is(Number(e),-0)?`-0`:n}e.toString=t})),Kf=s((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=Kee(),n=Gf();function r(e){if(Array.isArray(e))return e.map(n.toKey);if(typeof e==`symbol`)return[e];e=t.toString(e);let r=[],i=e.length;if(i===0)return r;let a=0,o=``,s=``,c=!1;for(e.charCodeAt(0)===46&&(r.push(``),a++);a<i;){let t=e[a];s?t===`\\\\`&&a+1<i?(a++,o+=e[a]):t===s?s=``:o+=t:c?t===`\"`||t===`'`?s=t:t===`]`?(c=!1,r.push(o),o=``):o+=t:t===`[`?(c=!0,o&&=(r.push(o),``)):t===`.`?o&&=(r.push(o),``):o+=t,a++}return o&&r.push(o),r}e.toPath=r})),qf=s((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=Uf(),n=Wf(),r=Gf(),i=Kf();function a(e,s,c){if(e==null)return c;switch(typeof s){case`string`:{if(t.isUnsafeProperty(s))return c;let r=e[s];return r===void 0?n.isDeepKey(s)?a(e,i.toPath(s),c):c:r}case`number`:case`symbol`:{typeof s==`number`&&(s=r.toKey(s));let t=e[s];return t===void 0?c:t}default:{if(Array.isArray(s))return o(e,s,c);if(s=Object.is(s?.valueOf(),-0)?`-0`:String(s),t.isUnsafeProperty(s))return c;let n=e[s];return n===void 0?c:n}}}function o(e,n,r){if(n.length===0)return r;let i=e;for(let e=0;e<n.length;e++){if(i==null||t.isUnsafeProperty(n[e]))return r;i=i[n[e]]}return i===void 0?r:i}e.get=a})),Jf=s(((e,t)=>{t.exports=qf().get}));function Yf(e){var t=10**(arguments.length>1&&arguments[1]!==void 0?arguments[1]:Zf),n=Math.round(e*t)/t;return Object.is(n,-0)?0:n}function Xf(e){var t=[...arguments].slice(1);return e.reduce((e,n,r)=>{var i=t[r-1];return typeof i==`string`?e+i+n:i===void 0?e+n:e+Yf(i)+n},``)}var Zf,Qf=o((()=>{Zf=4}));function G(e,t,n){return K(e)&&K(t)?Yf(e+n*(t-e)):t}function $f(e,t,n){if(!(!e||!e.length))return e.find(e=>e&&(typeof t==`function`?t(e):(0,np.default)(e,t))===n)}function ep(e){return e!=null}function tp(){}var np,rp,ip,ap,K,op,sp,cp,lp,up,dp,fp,pp,q=o((()=>{np=u(Jf()),Qf(),rp=e=>e===0?0:e>0?1:-1,ip=e=>typeof e==`number`&&e!=+e,ap=e=>typeof e==`string`&&e.indexOf(`%`)===e.length-1,K=e=>(typeof e==`number`||e instanceof Number)&&!ip(e),op=e=>K(e)||typeof e==`string`,sp=0,cp=e=>{var t=++sp;return`${e||``}${t}`},lp=function(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(!K(e)&&typeof e!=`string`)return n;var i;if(ap(e)){if(t==null)return n;var a=e.indexOf(`%`);i=t*parseFloat(e.slice(0,a))/100}else i=+e;return ip(i)&&(i=n),r&&t!=null&&i>t&&(i=t),i},up=e=>{if(!Array.isArray(e))return!1;for(var t=e.length,n={},r=0;r<t;r++)if(!n[String(e[r])])n[String(e[r])]=!0;else return!0;return!1},dp=e=>{for(var t=e.length,n=0,r=0,i=0,a=0,o=1/0,s=-1/0,c=0,l=0,u=0;u<t;u++)c=e[u]?.cx||0,l=e[u]?.cy||0,n+=c,r+=l,i+=c*l,a+=c*c,o=Math.min(o,c),s=Math.max(s,c);var d=t*a===n*n?0:(t*i-n*r)/(t*a-n*n);return{xmin:o,xmax:s,a:d,b:(r-d*n)/t}},fp=e=>e==null,pp=e=>fp(e)?e:`${e.charAt(0).toUpperCase()}${e.slice(1)}`}));function mp(){return mp=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},mp.apply(null,arguments)}function hp(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function gp(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?hp(Object(n),!0).forEach(function(t){qee(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):hp(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function qee(e,t,n){return(t=Jee(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Jee(e){var t=Yee(e,`string`);return typeof t==`symbol`?t:t+``}function Yee(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function Xee(e,t){if(e==null)return{};var n,r,i=Zee(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function Zee(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}var _p,vp,yp,bp,xp,Sp,Cp,wp,Tp=o((()=>{_p=u(f()),Hf(),Pu(),q(),qu(),vp=[`type`,`size`,`sizeType`],yp={symbolCircle:Kd,symbolCross:Jd,symbolDiamond:Zd,symbolSquare:$d,symbolStar:of,symbolTriangle:lf,symbolWye:hf},bp=Math.PI/180,xp=e=>yp[`symbol${pp(e)}`]||Kd,Sp=(e,t,n)=>{if(t===`area`)return e;switch(n){case`cross`:return 5*e*e/9;case`diamond`:return .5*e*e/Math.sqrt(3);case`square`:return e*e;case`star`:var r=18*bp;return 1.25*e*e*(Math.tan(r)-Math.tan(r*2)*Math.tan(r)**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}},Cp=(e,t)=>{yp[`symbol${pp(e)}`]=t},wp=e=>{var{type:t=`circle`,size:n=64,sizeType:r=`area`}=e,i=gp(gp({},Xee(e,vp)),{},{type:t,size:n,sizeType:r}),a=`circle`;typeof t==`string`&&(a=t);var o=()=>{var e=xp(a),t=_f().type(e).size(Sp(n,r,a))();if(t!==null)return t},{className:s,cx:c,cy:l}=i,u=Gu(i);return K(c)&&K(l)&&K(n)?_p.createElement(`path`,mp({},u,{className:U(`recharts-symbols`,s),transform:`translate(${c}, ${l})`,d:o()})):null},wp.registerSymbol=Cp})),Ep,Dp,Op,kp,Ap,jp,Mp=o((()=>{Ep=u(f()),Lu(),Dp=e=>`radius`in e&&`startAngle`in e&&`endAngle`in e,Op=(e,t)=>{if(!e||typeof e==`function`||typeof e==`boolean`)return null;var n=e;if((0,Ep.isValidElement)(e)&&(n=e.props),typeof n!=`object`&&typeof n!=`function`)return null;var r={};return Object.keys(n).forEach(e=>{Fu(e)&&typeof n[e]==`function`&&(r[e]=t||(t=>n[e](n,t)))}),r},kp=(e,t,n)=>r=>(e(t,n,r),null),Ap=(e,t,n)=>{if(e===null||typeof e!=`object`&&typeof e!=`function`)return null;var r=null;return Object.keys(e).forEach(i=>{var a=e[i];Fu(i)&&typeof a==`function`&&(r||={},r[i]=kp(a,t,n))}),r},jp=e=>Array.isArray(e)&&e.length>0}));function Np(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Qee(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?Np(Object(n),!0).forEach(function(t){$ee(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Np(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function $ee(e,t,n){return(t=ete(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ete(e){var t=tte(e,`string`);return typeof t==`symbol`?t:t+``}function tte(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function Pp(e,t){var n=Qee({},e),r=t;return Object.keys(t).reduce((e,t)=>(e[t]===void 0&&r[t]!==void 0&&(e[t]=r[t]),e),n)}var Fp=o((()=>{}));function Ip(){return Ip=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ip.apply(null,arguments)}function Lp(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Rp(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?Lp(Object(n),!0).forEach(function(t){nte(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Lp(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function nte(e,t,n){return(t=zp(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function zp(e){var t=Bp(e,`string`);return typeof t==`symbol`?t:t+``}function Bp(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function rte(e){if(typeof e==`object`&&e&&`strokeDasharray`in e)return String(e.strokeDasharray)}function ite(e){var{data:t,iconType:n,inactiveColor:r}=e,i=Hp/2,a=Hp/6,o=Hp/3,s=t.inactive?r:t.color,c=n??t.type;if(c===`none`)return null;if(c===`plainline`)return Vp.createElement(`line`,{strokeWidth:4,fill:`none`,stroke:s,strokeDasharray:rte(t.payload),x1:0,y1:i,x2:Hp,y2:i,className:`recharts-legend-icon`});if(c===`line`)return Vp.createElement(`path`,{strokeWidth:4,fill:`none`,stroke:s,d:`M0,${i}h${o}\n A${a},${a},0,1,1,${2*o},${i}\n H${Hp}M${2*o},${i}\n A${a},${a},0,1,1,${o},${i}`,className:`recharts-legend-icon`});if(c===`rect`)return Vp.createElement(`path`,{stroke:`none`,fill:s,d:`M0,${Hp/8}h${Hp}v${Hp*3/4}h${-Hp}z`,className:`recharts-legend-icon`});if(Vp.isValidElement(t.legendIcon)){var l=Rp({},t);return delete l.legendIcon,Vp.cloneElement(t.legendIcon,l)}return Vp.createElement(wp,{fill:s,cx:i,cy:i,size:Hp,sizeType:`diameter`,type:c})}function ate(e){var{payload:t,iconSize:n,layout:r,formatter:i,inactiveColor:a,iconType:o,labelStyle:s}=e,c={x:0,y:0,width:Hp,height:Hp},l={display:r===`horizontal`?`inline-block`:`block`,marginRight:10},u={display:`inline-block`,verticalAlign:`middle`,marginRight:4};return t.map((t,r)=>{var d=t.formatter||i,f=U({\"recharts-legend-item\":!0,[`legend-item-${r}`]:!0,inactive:t.inactive});if(t.type===`none`)return null;var p=typeof s==`object`?Rp({},s):{};p.color=t.inactive?a:p.color||t.color;var m=d?d(t.value,t,r):t.value;return Vp.createElement(`li`,Ip({className:f,style:l,key:`legend-item-${r}`},Ap(e,t,r)),Vp.createElement(Qu,{width:n,height:n,viewBox:c,style:u,\"aria-label\":`${t.value} legend icon`},Vp.createElement(ite,{data:t,iconType:o,inactiveColor:a})),Vp.createElement(`span`,{className:`recharts-legend-item-text`,style:p},m))})}var Vp,Hp,Up,Wp,Gp=o((()=>{Vp=u(f()),Pu(),$u(),Tp(),Mp(),Fp(),Hp=32,Up={align:`center`,iconSize:14,inactiveColor:`#ccc`,layout:`horizontal`,verticalAlign:`middle`,labelStyle:{}},Wp=e=>{var t=Pp(e,Up),{payload:n,layout:r,align:i}=t;if(!n||!n.length)return null;var a={padding:0,margin:0,textAlign:r===`horizontal`?i:`left`};return Vp.createElement(`ul`,{className:`recharts-default-legend`,style:a},Vp.createElement(ate,Ip({},t,{payload:n})))}})),ote=s((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});function t(e,t){let n=new Map;for(let r=0;r<e.length;r++){let i=e[r],a=t(i,r,e);n.has(a)||n.set(a,i)}return Array.from(n.values())}e.uniqBy=t})),ste=s((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});function t(e,t){return function(...n){return e.apply(this,n.slice(0,t))}}e.ary=t})),Kp=s((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});function t(e){return e}e.identity=t})),cte=s((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});function t(e){return Number.isSafeInteger(e)&&e>=0}e.isLength=t})),qp=s((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=cte();function n(e){return e!=null&&typeof e!=`function`&&t.isLength(e.length)}e.isArrayLike=n})),lte=s((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});function t(e){return typeof e==`object`&&!!e}e.isObjectLike=t})),ute=s((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=qp(),n=lte();function r(e){return n.isObjectLike(e)&&t.isArrayLike(e)}e.isArrayLikeObject=r})),dte=s((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=qf();function n(e){return function(n){return t.get(n,e)}}e.property=n})),Jp=s((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});function t(e){return e!==null&&(typeof e==`object`||typeof e==`function`)}e.isObject=t})),Yp=s((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});function t(e){return e==null||typeof e!=`object`&&typeof e!=`function`}e.isPrimitive=t})),Xp=s((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});function t(e,t){return e===t||Number.isNaN(e)&&Number.isNaN(t)}e.isEqualsSameValueZero=t})),fte=s((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=Jp(),n=Yp(),r=Xp();function i(e,t,n){return typeof n==`function`?a(e,t,function e(t,r,i,o,s,c){let l=n(t,r,i,o,s,c);return l===void 0?a(t,r,e,c):!!l},new Map):i(e,t,()=>void 0)}function a(e,n,i,s){if(n===e)return!0;switch(typeof n){case`object`:return o(e,n,i,s);case`function`:return Object.keys(n).length>0?a(e,{...n},i,s):r.isEqualsSameValueZero(e,n);default:return t.isObject(e)?typeof n==`string`?n===``:!0:r.isEqualsSameValueZero(e,n)}}function o(e,t,r,i){if(t==null)return!0;if(Array.isArray(t))return c(e,t,r,i);if(t instanceof Map)return s(e,t,r,i);if(t instanceof Set)return l(e,t,r,i);let a=Object.keys(t);if(e==null||n.isPrimitive(e))return a.length===0;if(a.length===0)return!0;if(i?.has(t))return i.get(t)===e;i?.set(t,e);try{for(let o=0;o<a.length;o++){let s=a[o];if(!n.isPrimitive(e)&&!(s in e)||t[s]===void 0&&e[s]!==void 0||t[s]===null&&e[s]!==null||!r(e[s],t[s],s,e,t,i))return!1}return!0}finally{i?.delete(t)}}function s(e,t,n,r){if(t.size===0)return!0;if(!(e instanceof Map))return!1;for(let[i,a]of t.entries())if(n(e.get(i),a,i,e,t,r)===!1)return!1;return!0}function c(e,t,n,r){if(t.length===0)return!0;if(!Array.isArray(e))return!1;let i=new Set;for(let a=0;a<t.length;a++){let o=t[a],s=!1;for(let c=0;c<e.length;c++){if(i.has(c))continue;let l=e[c],u=!1;if(n(l,o,a,e,t,r)&&(u=!0),u){i.add(c),s=!0;break}}if(!s)return!1}return!0}function l(e,t,n,r){return t.size===0?!0:e instanceof Set?c([...e],[...t],n,r):!1}e.isMatchWith=i,e.isSetMatch=l})),Zp=s((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=fte();function n(e,n){return t.isMatchWith(e,n,()=>void 0)}e.isMatch=n})),Qp=s((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});function t(e){return Object.getOwnPropertySymbols(e).filter(t=>Object.prototype.propertyIsEnumerable.call(e,t))}e.getSymbols=t})),$p=s((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});function t(e){return e==null?e===void 0?`[object Undefined]`:`[object Null]`:Object.prototype.toString.call(e)}e.getTag=t})),em=s((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`}),e.argumentsTag=`[object Arguments]`,e.arrayBufferTag=`[object ArrayBuffer]`,e.arrayTag=`[object Array]`,e.bigInt64ArrayTag=`[object BigInt64Array]`,e.bigUint64ArrayTag=`[object BigUint64Array]`,e.booleanTag=`[object Boolean]`,e.dataViewTag=`[object DataView]`,e.dateTag=`[object Date]`,e.errorTag=`[object Error]`,e.float32ArrayTag=`[object Float32Array]`,e.float64ArrayTag=`[object Float64Array]`,e.functionTag=`[object Function]`,e.int16ArrayTag=`[object Int16Array]`,e.int32ArrayTag=`[object Int32Array]`,e.int8ArrayTag=`[object Int8Array]`,e.mapTag=`[object Map]`,e.numberTag=`[object Number]`,e.objectTag=`[object Object]`,e.regexpTag=`[object RegExp]`,e.setTag=`[object Set]`,e.stringTag=`[object String]`,e.symbolTag=`[object Symbol]`,e.uint16ArrayTag=`[object Uint16Array]`,e.uint32ArrayTag=`[object Uint32Array]`,e.uint8ArrayTag=`[object Uint8Array]`,e.uint8ClampedArrayTag=`[object Uint8ClampedArray]`})),tm=s((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});function t(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}e.isTypedArray=t})),nm=s((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=Qp(),n=$p(),r=em(),i=Yp(),a=tm();function o(e,t){return s(e,void 0,e,new Map,t)}function s(e,t,n,r=new Map,o=void 0){let u=o?.(e,t,n,r);if(u!==void 0)return u;if(i.isPrimitive(e))return e;if(r.has(e))return r.get(e);if(Array.isArray(e)){let t=Array(e.length);r.set(e,t);for(let i=0;i<e.length;i++)t[i]=s(e[i],i,n,r,o);return Object.hasOwn(e,`index`)&&(t.index=e.index),Object.hasOwn(e,`input`)&&(t.input=e.input),t}if(e instanceof Date)return new Date(e.getTime());if(e instanceof RegExp){let t=new RegExp(e.source,e.flags);return t.lastIndex=e.lastIndex,t}if(e instanceof Map){let t=new Map;r.set(e,t);for(let[i,a]of e)t.set(i,s(a,i,n,r,o));return t}if(e instanceof Set){let t=new Set;r.set(e,t);for(let i of e)t.add(s(i,void 0,n,r,o));return t}if(typeof Buffer<`u`&&Buffer.isBuffer(e))return e.subarray();if(a.isTypedArray(e)){let t=new(Object.getPrototypeOf(e)).constructor(e.length);r.set(e,t);for(let i=0;i<e.length;i++)t[i]=s(e[i],i,n,r,o);return t}if(e instanceof ArrayBuffer||typeof SharedArrayBuffer<`u`&&e instanceof SharedArrayBuffer)return e.slice(0);if(e instanceof DataView){let t=new DataView(e.buffer.slice(0),e.byteOffset,e.byteLength);return r.set(e,t),c(t,e,n,r,o),t}if(typeof File<`u`&&e instanceof File){let t=new File([e],e.name,{type:e.type});return r.set(e,t),c(t,e,n,r,o),t}if(typeof Blob<`u`&&e instanceof Blob){let t=new Blob([e],{type:e.type});return r.set(e,t),c(t,e,n,r,o),t}if(e instanceof Error){let t=new e.constructor;return r.set(e,t),t.message=e.message,t.name=e.name,t.stack=e.stack,t.cause=e.cause,c(t,e,n,r,o),t}if(e instanceof Boolean){let t=new Boolean(e.valueOf());return r.set(e,t),c(t,e,n,r,o),t}if(e instanceof Number){let t=new Number(e.valueOf());return r.set(e,t),c(t,e,n,r,o),t}if(e instanceof String){let t=new String(e.valueOf());return r.set(e,t),c(t,e,n,r,o),t}if(typeof e==`object`&&l(e)){let t=Object.create(Object.getPrototypeOf(e));return r.set(e,t),c(t,e,n,r,o),t}return e}function c(e,n,r=e,i,a){let o=[...Object.keys(n),...t.getSymbols(n)];for(let t=0;t<o.length;t++){let c=o[t],l=Object.getOwnPropertyDescriptor(e,c);(l==null||l.writable)&&(e[c]=s(n[c],c,r,i,a))}}function l(e){switch(n.getTag(e)){case r.argumentsTag:case r.arrayTag:case r.arrayBufferTag:case r.dataViewTag:case r.booleanTag:case r.dateTag:case r.float32ArrayTag:case r.float64ArrayTag:case r.int8ArrayTag:case r.int16ArrayTag:case r.int32ArrayTag:case r.mapTag:case r.numberTag:case r.objectTag:case r.regexpTag:case r.setTag:case r.stringTag:case r.symbolTag:case r.uint8ArrayTag:case r.uint8ClampedArrayTag:case r.uint16ArrayTag:case r.uint32ArrayTag:return!0;default:return!1}}e.cloneDeepWith=o,e.cloneDeepWithImpl=s,e.copyProperties=c})),pte=s((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=nm();function n(e){return t.cloneDeepWithImpl(e,void 0,e,new Map,void 0)}e.cloneDeep=n})),mte=s((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=Zp(),n=pte();function r(e){return e=n.cloneDeep(e),n=>t.isMatch(n,e)}e.matches=r})),rm=s((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=nm(),n=$p(),r=em();function i(e,i){return t.cloneDeepWith(e,(a,o,s,c)=>{let l=i?.(a,o,s,c);if(l!==void 0)return l;if(typeof e==`object`){if(n.getTag(e)===r.objectTag&&typeof e.constructor!=`function`){let n={};return c.set(e,n),t.copyProperties(n,e,s,c),n}switch(Object.prototype.toString.call(e)){case r.numberTag:case r.stringTag:case r.booleanTag:{let n=new e.constructor(e?.valueOf());return t.copyProperties(n,e),n}case r.argumentsTag:{let n={};return t.copyProperties(n,e),n.length=e.length,n[Symbol.iterator]=e[Symbol.iterator],n}default:return}}})}e.cloneDeepWith=i})),hte=s((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=rm();function n(e){return t.cloneDeepWith(e)}e.cloneDeep=n})),im=s((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=/^(?:0|[1-9]\\d*)$/;function n(e,n=2**53-1){switch(typeof e){case`number`:return Number.isInteger(e)&&e>=0&&e<n;case`symbol`:return!1;case`string`:return t.test(e)}}e.isIndex=n})),gte=s((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=$p();function n(e){return typeof e==`object`&&!!e&&t.getTag(e)===`[object Arguments]`}e.isArguments=n})),_te=s((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=Wf(),n=im(),r=gte(),i=Kf();function a(e,a){let o;if(o=Array.isArray(a)?a:typeof a==`string`&&t.isDeepKey(a)&&e?.[a]==null?i.toPath(a):[a],o.length===0)return!1;let s=e;for(let e=0;e<o.length;e++){let t=o[e];if((s==null||!Object.hasOwn(s,t))&&!((Array.isArray(s)||r.isArguments(s))&&n.isIndex(t)&&t<s.length))return!1;s=s[t]}return!0}e.has=a})),vte=s((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=Zp(),n=Gf(),r=hte(),i=qf(),a=_te();function o(e,o){switch(typeof e){case`object`:Object.is(e?.valueOf(),-0)&&(e=`-0`);break;case`number`:e=n.toKey(e);break}return o=r.cloneDeep(o),function(n){let r=i.get(n,e);return r===void 0?a.has(n,e):o===void 0?r===void 0:t.isMatch(r,o)}}e.matchesProperty=o})),am=s((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=Kp(),n=dte(),r=mte(),i=vte();function a(e){if(e==null)return t.identity;switch(typeof e){case`function`:return e;case`object`:return Array.isArray(e)&&e.length===2?i.matchesProperty(e[0],e[1]):r.matches(e);case`string`:case`symbol`:case`number`:return n.property(e)}}e.iteratee=a})),yte=s((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=ote(),n=ste(),r=Kp(),i=ute(),a=am();function o(e,o=r.identity){return i.isArrayLikeObject(e)?t.uniqBy(Array.from(e),n.ary(a.iteratee(o),1)):[]}e.uniqBy=o})),bte=s(((e,t)=>{t.exports=yte().uniqBy}));function om(e,t,n){return t===!0?(0,sm.default)(e,n):typeof t==`function`?(0,sm.default)(e,t):e}var sm,cm=o((()=>{sm=u(bte())})),xte=s((e=>{var t=f();function n(e,t){return e===t&&(e!==0||1/e==1/t)||e!==e&&t!==t}var r=typeof Object.is==`function`?Object.is:n,i=t.useState,a=t.useEffect,o=t.useLayoutEffect,s=t.useDebugValue;function c(e,t){var n=t(),r=i({inst:{value:n,getSnapshot:t}}),c=r[0].inst,u=r[1];return o(function(){c.value=n,c.getSnapshot=t,l(c)&&u({inst:c})},[e,n,t]),a(function(){return l(c)&&u({inst:c}),e(function(){l(c)&&u({inst:c})})},[e]),s(n),n}function l(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!r(e,n)}catch{return!0}}function u(e,t){return t()}var d=typeof window>`u`||window.document===void 0||window.document.createElement===void 0?u:c;e.useSyncExternalStore=t.useSyncExternalStore===void 0?d:t.useSyncExternalStore})),Ste=s(((e,t)=>{t.exports=xte()})),Cte=s((e=>{var t=f(),n=Ste();function r(e,t){return e===t&&(e!==0||1/e==1/t)||e!==e&&t!==t}var i=typeof Object.is==`function`?Object.is:r,a=n.useSyncExternalStore,o=t.useRef,s=t.useEffect,c=t.useMemo,l=t.useDebugValue;e.useSyncExternalStoreWithSelector=function(e,t,n,r,u){var d=o(null);if(d.current===null){var f={hasValue:!1,value:null};d.current=f}else f=d.current;d=c(function(){function e(e){if(!a){if(a=!0,o=e,e=r(e),u!==void 0&&f.hasValue){var t=f.value;if(u(t,e))return s=t}return s=e}if(t=s,i(o,e))return t;var n=r(e);return u!==void 0&&u(t,n)?(o=e,t):(o=e,s=n)}var a=!1,o,s,c=n===void 0?null:n;return[function(){return e(t())},c===null?void 0:function(){return e(c())}]},[t,n,r,u]);var p=a(e,d[0],d[1]);return s(function(){f.hasValue=!0,f.value=p},[p]),l(p),p}})),wte=s(((e,t)=>{t.exports=Cte()})),lm,um,dm=o((()=>{lm=u(f()),um=(0,lm.createContext)(null)}));function J(e){var t=(0,pm.useContext)(um),n=(0,pm.useMemo)(()=>t?t=>{if(t!=null)return e(t)}:gm,[t,e]);return(0,fm.useSyncExternalStoreWithSelector)(t?t.subscription.addNestedSub:_m,t?t.store.getState:gm,t?t.store.getState:gm,n,vm)}var fm,pm,mm,hm,gm,_m,vm,Y=o((()=>{fm=wte(),pm=u(f()),dm(),mm=e=>e,hm=()=>{var e=(0,pm.useContext)(um);return e?e.store.dispatch:mm},gm=()=>{},_m=()=>gm,vm=(e,t)=>e===t}));function Tte(e,t=`expected a function, instead received ${typeof e}`){if(typeof e!=`function`)throw TypeError(t)}function Ete(e,t=`expected an object, instead received ${typeof e}`){if(typeof e!=`object`)throw TypeError(t)}function Dte(e,t=`expected all items to be functions, instead received the following types: `){if(!e.every(e=>typeof e==`function`)){let n=e.map(e=>typeof e==`function`?`function ${e.name||`unnamed`}()`:typeof e).join(`, `);throw TypeError(`${t}[${n}]`)}}function Ote(e){let t=Array.isArray(e[0])?e[0]:e;return Dte(t,`createSelector expects all input-selectors to be functions, but received the following types: `),t}function kte(e,t){let n=[],{length:r}=e;for(let i=0;i<r;i++)n.push(e[i].apply(null,t));return n}function ym(){return{s:wm,v:void 0,o:null,p:null}}function bm(e,t={}){let n=ym(),{resultEqualityCheck:r}=t,i,a=0;function o(){let t=n,{length:o}=arguments;for(let e=0,n=o;e<n;e++){let n=arguments[e];if(typeof n==`function`||typeof n==`object`&&n){let e=t.o;e===null&&(t.o=e=new WeakMap);let r=e.get(n);r===void 0?(t=ym(),e.set(n,t)):t=r}else{let e=t.p;e===null&&(t.p=e=new Map);let r=e.get(n);r===void 0?(t=ym(),e.set(n,t)):t=r}}let s=t,c;if(t.s===Tm)c=t.v;else if(c=e.apply(null,arguments),a++,r){let e=i?.deref?.()??i;e!=null&&r(e,c)&&(c=e,a!==0&&a--),i=typeof c==`object`&&c||typeof c==`function`?new Cm(c):c}return s.s=Tm,s.v=c,c}return o.clearCache=()=>{n=ym(),o.resetResultsCount()},o.resultsCount=()=>a,o.resetResultsCount=()=>{a=0},o}function Ate(e,...t){let n=typeof e==`function`?{memoize:e,memoizeOptions:t}:e,r=(...e)=>{let t=0,r=0,i,a={},o=e.pop();typeof o==`object`&&(a=o,o=e.pop()),Tte(o,`createSelector expects an output function after the inputs, but received: [${typeof o}]`);let{memoize:s,memoizeOptions:c=[],argsMemoize:l=bm,argsMemoizeOptions:u=[],devModeChecks:d={}}={...n,...a},f=xm(c),p=xm(u),m=Ote(e),h=s(function(){return t++,o.apply(null,arguments)},...f),g=l(function(){r++;let e=kte(m,arguments);return i=h.apply(null,e),i},...p);return Object.assign(g,{resultFunc:o,memoizedResultFunc:h,dependencies:m,dependencyRecomputations:()=>r,resetDependencyRecomputations:()=>{r=0},lastResult:()=>i,recomputations:()=>t,resetRecomputations:()=>{t=0},memoize:s,argsMemoize:l})};return Object.assign(r,{withTypes:()=>r}),r}var xm,Sm,Cm,wm,Tm,X,Em,Dm=o((()=>{xm=e=>Array.isArray(e)?e:[e],Sm=class{constructor(e){this.value=e}deref(){return this.value}},Cm=typeof WeakRef<`u`?WeakRef:Sm,wm=0,Tm=1,X=Ate(bm),Em=Object.assign((e,t=X)=>{Ete(e,`createStructuredSelector expects first argument to be an object where each property is a selector, instead received a ${typeof e}`);let n=Object.keys(e);return t(n.map(t=>e[t]),(...e)=>e.reduce((e,t,r)=>(e[n[r]]=t,e),{}))},{withTypes:()=>Em})})),Om=s((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});function t(e){return typeof e==`symbol`?1:e===null?2:e===void 0?3:e===e?0:4}e.compareValues=(e,n,r)=>{if(e!==n){let i=t(e),a=t(n);if(i===a&&i===0){if(e<n)return r===`desc`?1:-1;if(e>n)return r===`desc`?-1:1}return r===`desc`?a-i:i-a}return 0}})),km=s((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});function t(e){return typeof e==`symbol`||e instanceof Symbol}e.isSymbol=t})),Am=s((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=km(),n=/\\.|\\[(?:[^[\\]]*|([\"'])(?:(?!\\1)[^\\\\]|\\\\.)*?\\1)\\]/,r=/^\\w*$/;function i(e,i){return Array.isArray(e)?!1:typeof e==`number`||typeof e==`boolean`||e==null||t.isSymbol(e)?!0:typeof e==`string`&&(r.test(e)||!n.test(e))||i!=null&&Object.hasOwn(i,e)}e.isKey=i})),jm=s((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=Om(),n=Am(),r=Kf();function i(e,i,a,o){if(e==null)return[];a=o?void 0:a,Array.isArray(e)||(e=Object.values(e)),Array.isArray(i)||(i=i==null?[null]:[i]),i.length===0&&(i=[null]),Array.isArray(a)||(a=a==null?[]:[a]),a=a.map(e=>String(e));let s=(e,t)=>{let n=e;for(let e=0;e<t.length&&n!=null;++e)n=n[t[e]];return n},c=(e,t)=>t==null||e==null?t:typeof e==`object`&&`key`in e?Object.hasOwn(t,e.key)?t[e.key]:s(t,e.path):typeof e==`function`?e(t):Array.isArray(e)?s(t,e):typeof t==`object`?t[e]:t,l=i.map(e=>(Array.isArray(e)&&e.length===1&&(e=e[0]),e==null||typeof e==`function`||Array.isArray(e)||n.isKey(e)?e:{key:e,path:r.toPath(e)}));return e.map(e=>({original:e,criteria:l.map(t=>c(t,e))})).slice().sort((e,n)=>{for(let r=0;r<l.length;r++){let i=t.compareValues(e.criteria[r],n.criteria[r],a[r]);if(i!==0)return i}return 0}).map(e=>e.original)}e.orderBy=i})),Mm=s((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});function t(e,t=1){let n=[],r=Math.floor(t),i=(e,t)=>{for(let a=0;a<e.length;a++){let o=e[a];Array.isArray(o)&&t<r?i(o,t+1):n.push(o)}};return i(e,0),n}e.flatten=t})),Nm=s((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=im(),n=qp(),r=Jp(),i=Xp();function a(e,a,o){return r.isObject(o)&&(typeof a==`number`&&n.isArrayLike(o)&&t.isIndex(a)&&a<o.length||typeof a==`string`&&a in o)?i.isEqualsSameValueZero(o[a],e):!1}e.isIterateeCall=a})),Pm=s((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=jm(),n=Mm(),r=Nm();function i(e,...i){let a=i.length;return a>1&&r.isIterateeCall(e,i[0],i[1])?i=[]:a>2&&r.isIterateeCall(i[0],i[1],i[2])&&(i=[i[0]]),t.orderBy(e,n.flatten(i),[`asc`])}e.sortBy=i})),Fm=s(((e,t)=>{t.exports=Pm().sortBy})),Im,Lm,Rm,zm,Bm,Vm=o((()=>{Dm(),Im=u(Fm()),Lm=e=>e.legend.settings,Rm=e=>e.legend.size,zm=e=>e.legend.payload,Bm=X([zm,Lm],(e,t)=>{var{itemSorter:n}=t,r=e.flat(1);return n?(0,Im.default)(r,n):r})}));function jte(){return J(Bm)}var Mte=o((()=>{Y(),Vm()}));function Hm(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],[t,n]=(0,Um.useState)({height:0,left:0,top:0,width:0});return[t,(0,Um.useCallback)(e=>{if(e!=null){var r=e.getBoundingClientRect(),i={height:r.height,left:r.left,top:r.top,width:r.width};(Math.abs(i.height-t.height)>Wm||Math.abs(i.left-t.left)>Wm||Math.abs(i.top-t.top)>Wm||Math.abs(i.width-t.width)>Wm)&&n({height:i.height,left:i.left,top:i.top,width:i.width})}},[t.width,t.height,t.top,t.left,...e])]}var Um,Wm,Gm=o((()=>{Um=u(f()),Wm=1}));function Km(e){return`Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}function qm(e){if(typeof e!=`object`||!e)return!1;let t=e;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t||Object.getPrototypeOf(e)===null}function Jm(e,t,n){if(typeof e!=`function`)throw Error(Km(2));if(typeof t==`function`&&typeof n==`function`||typeof n==`function`&&typeof arguments[3]==`function`)throw Error(Km(0));if(typeof t==`function`&&n===void 0&&(n=t,t=void 0),n!==void 0){if(typeof n!=`function`)throw Error(Km(1));return n(Jm)(e,t)}let r=e,i=t,a=new Map,o=a,s=0,c=!1;function l(){o===a&&(o=new Map,a.forEach((e,t)=>{o.set(t,e)}))}function u(){if(c)throw Error(Km(3));return i}function d(e){if(typeof e!=`function`)throw Error(Km(4));if(c)throw Error(Km(5));let t=!0;l();let n=s++;return o.set(n,e),function(){if(t){if(c)throw Error(Km(6));t=!1,l(),o.delete(n),a=null}}}function f(e){if(!qm(e))throw Error(Km(7));if(e.type===void 0)throw Error(Km(8));if(typeof e.type!=`string`)throw Error(Km(17));if(c)throw Error(Km(9));try{c=!0,i=r(i,e)}finally{c=!1}return(a=o).forEach(e=>{e()}),e}function p(e){if(typeof e!=`function`)throw Error(Km(10));r=e,f({type:eh.REPLACE})}function m(){let e=d;return{subscribe(t){if(typeof t!=`object`||!t)throw Error(Km(11));function n(){let e=t;e.next&&e.next(u())}return n(),{unsubscribe:e(n)}},[Qm](){return this}}}return f({type:eh.INIT}),{dispatch:f,subscribe:d,getState:u,replaceReducer:p,[Qm]:m}}function Nte(e){Object.keys(e).forEach(t=>{let n=e[t];if(n(void 0,{type:eh.INIT})===void 0)throw Error(Km(12));if(n(void 0,{type:eh.PROBE_UNKNOWN_ACTION()})===void 0)throw Error(Km(13))})}function Ym(e){let t=Object.keys(e),n={};for(let r=0;r<t.length;r++){let i=t[r];typeof e[i]==`function`&&(n[i]=e[i])}let r=Object.keys(n),i;try{Nte(n)}catch(e){i=e}return function(e={},t){if(i)throw i;let a=!1,o={};for(let i=0;i<r.length;i++){let s=r[i],c=n[s],l=e[s],u=c(l,t);if(u===void 0)throw t&&t.type,Error(Km(14));o[s]=u,a||=u!==l}return a||=r.length!==Object.keys(e).length,a?o:e}}function Xm(...e){return e.length===0?e=>e:e.length===1?e[0]:e.reduce((e,t)=>(...n)=>e(t(...n)))}function Pte(...e){return t=>(n,r)=>{let i=t(n,r),a=()=>{throw Error(Km(15))},o={getState:i.getState,dispatch:(e,...t)=>a(e,...t)};return a=Xm(...e.map(e=>e(o)))(i.dispatch),{...i,dispatch:a}}}function Zm(e){return qm(e)&&`type`in e&&typeof e.type==`string`}var Qm,$m,eh,th=o((()=>{Qm=typeof Symbol==`function`&&Symbol.observable||`@@observable`,$m=()=>Math.random().toString(36).substring(7).split(``).join(`.`),eh={INIT:`@@redux/INIT${$m()}`,REPLACE:`@@redux/REPLACE${$m()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${$m()}`}}));function nh(e,...t){throw Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}function rh(e){return e?ih(e)||Wh(e)||!!e[Oh]||!!e[Mh]?.[Oh]||Gh(e)||Kh(e):!1}function ih(e){if(!e||!qh(e))return!1;let t=jh(e);if(t===null||t===Ah[Nh])return!0;let n=Ah.hasOwnProperty.call(t,Mh)&&t[Mh];if(n===Object)return!0;if(!Jh(n))return!1;let r=Bh.get(n);return r===void 0&&(r=Function.toString.call(n),Bh.set(n,r)),r===zh}function ah(e,t,n=!0){oh(e)===0?(n?Reflect.ownKeys(e):Ah.keys(e)).forEach(n=>{t(n,e[n],e)}):e.forEach((n,r)=>t(r,n,e))}function oh(e){let t=e[kh];return t?t.type_:Wh(e)?1:Gh(e)?2:Kh(e)?3:0}function Fte(e,t){return e===t?e!==0||1/e==1/t:e!==e&&t!==t}function Ite(e){let t=+e;return Number.isInteger(t)&&String(t)===e}function sh(e,t){if(Gh(e))return new Map(e);if(Kh(e))return new Set(e);if(Wh(e))return Array[Nh].slice.call(e);let n=ih(e);if(t===!0||t===`class_only`&&!n){let t=Ah.getOwnPropertyDescriptors(e);delete t[kh];let n=Reflect.ownKeys(t);for(let r=0;r<n.length;r++){let i=n[r],a=t[i];a[Ih]===!1&&(a[Ih]=!0,a[Ph]=!0),(a.get||a.set)&&(t[i]={[Ph]:!0,[Ih]:!0,[Fh]:a[Fh],[Lh]:e[i]})}return Ah.create(jh(e),t)}else{let t=jh(e);if(t!==null&&n)return{...e};let r=Ah.create(t);return Ah.assign(r,e)}}function ch(e,t=!1){return lh(e)||Rh(e)||!rh(e)?e:(oh(e)>1&&Ah.defineProperties(e,{set:Qh,add:Qh,clear:Qh,delete:Qh}),Ah.freeze(e),t&&ah(e,(e,t)=>{ch(t,!0)},!1),e)}function Lte(){nh(2)}function lh(e){return e===null||!qh(e)?!0:Ah.isFrozen(e)}function uh(e){let t=ng[e];return t||nh(0,e),t}function dh(e,t){t&&(e.patchPlugin_=uh(eg),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function fh(e){ph(e),e.drafts_.forEach(Rte),e.drafts_=null}function ph(e){e===ig&&(ig=e.parent_)}function Rte(e){let t=e[kh];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function mh(e,t){t.unfinalizedDrafts_=t.drafts_.length;let n=t.drafts_[0];if(e!==void 0&&e!==n){n[kh].modified_&&(fh(t),nh(4)),rh(e)&&(e=hh(t,e));let{patchPlugin_:r}=t;r&&r.generateReplacementPatches_(n[kh].base_,e,t)}else e=hh(t,n);return zte(t,e,!0),fh(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e===Dh?void 0:e}function hh(e,t){if(lh(t))return t;let n=t[kh];if(!n)return yh(t,e.handledSet_,e);if(!cg(n,e))return t;if(!n.modified_)return n.base_;if(!n.finalized_){let{callbacks_:t}=n;if(t)for(;t.length>0;)t.pop()(e);vh(n,e)}return n.copy_}function zte(e,t,n=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&ch(t,n)}function gh(e){e.finalized_=!0,e.scope_.unfinalizedDrafts_--}function _h(e,t,n,r){let i=Xh(e),a=e.type_;if(r!==void 0&&Hh(i,r,a)===t){Uh(i,r,n,a);return}if(!e.draftLocations_){let t=e.draftLocations_=new Map;ah(i,(e,n)=>{if(Rh(n)){let r=t.get(n)||[];r.push(e),t.set(n,r)}})}let o=e.draftLocations_.get(t)??lg;for(let e of o)Uh(i,e,n,a)}function Bte(e,t,n){e.callbacks_.push(function(r){let i=t;if(!i||!cg(i,r))return;r.mapSetPlugin_?.fixSetContents(i);let a=Zh(i);_h(e,i.draft_??i,a,n),vh(i,r)})}function vh(e,t){if(e.modified_&&!e.finalized_&&(e.type_===3||e.type_===1&&e.allIndicesReassigned_||(e.assigned_?.size??0)>0)){let{patchPlugin_:n}=t;if(n){let r=n.getPath(e);r&&n.generatePatches_(e,r,t)}gh(e)}}function Vte(e,t,n){let{scope_:r}=e;if(Rh(n)){let i=n[kh];cg(i,r)&&i.callbacks_.push(function(){Ch(e),_h(e,n,Zh(i),t)})}else rh(n)&&e.callbacks_.push(function(){let i=Xh(e);e.type_===3?i.has(n)&&yh(n,r.handledSet_,r):Hh(i,t,e.type_)===n&&r.drafts_.length>1&&(e.assigned_.get(t)??!1)===!0&&e.copy_&&yh(Hh(e.copy_,t,e.type_),r.handledSet_,r)})}function yh(e,t,n){return!n.immer_.autoFreeze_&&n.unfinalizedDrafts_<1||Rh(e)||t.has(e)||!rh(e)||lh(e)?e:(t.add(e),ah(e,(r,i)=>{if(Rh(i)){let t=i[kh];cg(t,n)&&(Uh(e,r,Zh(t),e.type_),gh(t))}else rh(i)&&yh(i,t,n)}),e)}function Hte(e,t){let n=Wh(e),r={type_:+!!n,scope_:t?t.scope_:ag(),modified_:!1,finalized_:!1,assigned_:void 0,parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1,callbacks_:void 0},i=r,a=ug;n&&(i=[r],a=dg);let{revoke:o,proxy:s}=Proxy.revocable(i,a);return r.draft_=s,r.revoke_=o,[s,r]}function bh(e,t){let n=e[kh];return(n?Xh(n):e)[t]}function Ute(e,t,n){let r=xh(t,n);return r?Lh in r?r[Lh]:r.get?.call(e.draft_):void 0}function xh(e,t){if(!(t in e))return;let n=jh(e);for(;n;){let e=Object.getOwnPropertyDescriptor(n,t);if(e)return e;n=jh(n)}}function Sh(e){e.modified_||(e.modified_=!0,e.parent_&&Sh(e.parent_))}function Ch(e){e.copy_||=(e.assigned_=new Map,sh(e.base_,e.scope_.immer_.useStrictShallowCopy_))}function wh(e,t,n,r){let[i,a]=Gh(t)?uh($h).proxyMap_(t,n):Kh(t)?uh($h).proxySet_(t,n):Hte(t,n);return(n?.scope_??ag()).drafts_.push(i),a.callbacks_=n?.callbacks_??[],a.key_=r,n&&r!==void 0?Bte(n,a,r):a.callbacks_.push(function(e){e.mapSetPlugin_?.fixSetContents(a);let{patchPlugin_:t}=e;a.modified_&&t&&t.generatePatches_(a,[],e)}),i}function Th(e){return Rh(e)||nh(10,e),Eh(e)}function Eh(e){if(!rh(e)||lh(e))return e;let t=e[kh],n,r=!0;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,n=sh(e,t.scope_.immer_.useStrictShallowCopy_),r=t.scope_.immer_.shouldUseStrictIteration()}else n=sh(e,!0);return ah(n,(e,t)=>{Uh(n,e,Eh(t))},r),t&&(t.finalized_=!1),n}var Dh,Oh,kh,Ah,jh,Mh,Nh,Ph,Fh,Ih,Lh,Rh,zh,Bh,Vh,Hh,Uh,Wh,Gh,Kh,qh,Jh,Yh,Xh,Zh,Qh,$h,eg,tg,ng,rg,ig,ag,og,sg,cg,lg,ug,dg,fg,pg,mg,Wte=o((()=>{Dh=Symbol.for(`immer-nothing`),Oh=Symbol.for(`immer-draftable`),kh=Symbol.for(`immer-state`),Ah=Object,jh=Ah.getPrototypeOf,Mh=`constructor`,Nh=`prototype`,Ph=`configurable`,Fh=`enumerable`,Ih=`writable`,Lh=`value`,Rh=e=>!!e&&!!e[kh],zh=Ah[Nh][Mh].toString(),Bh=new WeakMap,Vh=(e,t,n=oh(e))=>n===2?e.has(t):Ah[Nh].hasOwnProperty.call(e,t),Hh=(e,t,n=oh(e))=>n===2?e.get(t):e[t],Uh=(e,t,n,r=oh(e))=>{r===2?e.set(t,n):r===3?e.add(n):e[t]=n},Wh=Array.isArray,Gh=e=>e instanceof Map,Kh=e=>e instanceof Set,qh=e=>typeof e==`object`,Jh=e=>typeof e==`function`,Yh=e=>typeof e==`boolean`,Xh=e=>e.copy_||e.base_,Zh=e=>e.modified_?e.copy_:e.base_,Qh={[Lh]:Lte},$h=`MapSet`,eg=`Patches`,tg=`ArrayMethods`,ng={},rg=e=>!!ng[e],ag=()=>ig,og=(e,t)=>({drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0,handledSet_:new Set,processedForPatches_:new Set,mapSetPlugin_:rg($h)?uh($h):void 0,arrayMethodsPlugin_:rg(tg)?uh(tg):void 0}),sg=e=>ig=og(ig,e),cg=(e,t)=>e.scope_===t,lg=[],ug={get(e,t){if(t===kh)return e;let n=e.scope_.arrayMethodsPlugin_,r=e.type_===1&&typeof t==`string`;if(r&&n?.isArrayOperationMethod(t))return n.createMethodInterceptor(e,t);let i=Xh(e);if(!Vh(i,t,e.type_))return Ute(e,i,t);let a=i[t];if(e.finalized_||!rh(a)||r&&e.operationMethod&&n?.isMutatingArrayMethod(e.operationMethod)&&Ite(t))return a;if(a===bh(e.base_,t)){Ch(e);let n=e.type_===1?+t:t,r=wh(e.scope_,a,e,n);return e.copy_[n]=r}return a},has(e,t){return t in Xh(e)},ownKeys(e){return Reflect.ownKeys(Xh(e))},set(e,t,n){let r=xh(Xh(e),t);if(r?.set)return r.set.call(e.draft_,n),!0;if(!e.modified_){let r=bh(Xh(e),t),i=r?.[kh];if(i&&i.base_===n)return e.copy_[t]=n,e.assigned_.set(t,!1),!0;if(Fte(n,r)&&(n!==void 0||Vh(e.base_,t,e.type_)))return!0;Ch(e),Sh(e)}return e.copy_[t]===n&&(n!==void 0||t in e.copy_)||Number.isNaN(n)&&Number.isNaN(e.copy_[t])?!0:(e.copy_[t]=n,e.assigned_.set(t,!0),Vte(e,t,n),!0)},deleteProperty(e,t){return Ch(e),bh(e.base_,t)!==void 0||t in e.base_?(e.assigned_.set(t,!1),Sh(e)):e.assigned_.delete(t),e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor(e,t){let n=Xh(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r&&{[Ih]:!0,[Ph]:e.type_!==1||t!==`length`,[Fh]:r[Fh],[Lh]:n[t]}},defineProperty(){nh(11)},getPrototypeOf(e){return jh(e.base_)},setPrototypeOf(){nh(12)}},dg={};for(let e in ug){let t=ug[e];dg[e]=function(){let e=arguments;return e[0]=e[0][0],t.apply(this,e)}}dg.deleteProperty=function(e,t){return dg.set.call(this,e,t,void 0)},dg.set=function(e,t,n){return ug.set.call(this,e[0],t,n,e[0])},fg=class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.useStrictIteration_=!1,this.produce=(e,t,n)=>{if(Jh(e)&&!Jh(t)){let n=t;t=e;let r=this;return function(e=n,...i){return r.produce(e,e=>t.call(this,e,...i))}}Jh(t)||nh(6),n!==void 0&&!Jh(n)&&nh(7);let r;if(rh(e)){let i=sg(this),a=wh(i,e,void 0),o=!0;try{r=t(a),o=!1}finally{o?fh(i):ph(i)}return dh(i,n),mh(r,i)}else if(!e||!qh(e)){if(r=t(e),r===void 0&&(r=e),r===Dh&&(r=void 0),this.autoFreeze_&&ch(r,!0),n){let t=[],i=[];uh(eg).generateReplacementPatches_(e,r,{patches_:t,inversePatches_:i}),n(t,i)}return r}else nh(1,e)},this.produceWithPatches=(e,t)=>{if(Jh(e))return(t,...n)=>this.produceWithPatches(t,t=>e(t,...n));let n,r;return[this.produce(e,t,(e,t)=>{n=e,r=t}),n,r]},Yh(e?.autoFreeze)&&this.setAutoFreeze(e.autoFreeze),Yh(e?.useStrictShallowCopy)&&this.setUseStrictShallowCopy(e.useStrictShallowCopy),Yh(e?.useStrictIteration)&&this.setUseStrictIteration(e.useStrictIteration)}createDraft(e){rh(e)||nh(8),Rh(e)&&(e=Th(e));let t=sg(this),n=wh(t,e,void 0);return n[kh].isManual_=!0,ph(t),n}finishDraft(e,t){let n=e&&e[kh];(!n||!n.isManual_)&&nh(9);let{scope_:r}=n;return dh(r,t),mh(void 0,r)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}setUseStrictIteration(e){this.useStrictIteration_=e}shouldUseStrictIteration(){return this.useStrictIteration_}applyPatches(e,t){let n;for(n=t.length-1;n>=0;n--){let r=t[n];if(r.path.length===0&&r.op===`replace`){e=r.value;break}}n>-1&&(t=t.slice(n+1));let r=uh(eg).applyPatches_;return Rh(e)?r(e,t):this.produce(e,e=>r(e,t))}},pg=new fg,mg=pg.produce}));function hg(e){return({dispatch:t,getState:n})=>r=>i=>typeof i==`function`?i(t,n,e):r(i)}var gg,_g,Gte=o((()=>{gg=hg(),_g=hg}));function vg(e,t){function n(...n){if(t){let r=t(...n);if(!r)throw Error(wg(0));return{type:e,payload:r.payload,...`meta`in r&&{meta:r.meta},...`error`in r&&{error:r.error}}}return{type:e,payload:n[0]}}return n.toString=()=>`${e}`,n.type=e,n.match=t=>Zm(t)&&t.type===e,n}function yg(e){return rh(e)?mg(e,()=>{}):e}function bg(e,t,n){return e.has(t)?e.get(t):e.set(t,n(t)).get(t)}function Kte(e){return typeof e==`boolean`}function qte(e){let t=Dg(),{reducer:n=void 0,middleware:r,devTools:i=!0,duplicateMiddlewareCheck:a=!0,preloadedState:o=void 0,enhancers:s=void 0}=e||{},c;if(typeof n==`function`)c=n;else if(qm(n))c=Ym(n);else throw Error(wg(1));let l;l=typeof r==`function`?r(t):t();let u=Xm;i&&(u=Tg({trace:!1,...typeof i==`object`&&i}));let d=Mg(Pte(...l)),f=typeof s==`function`?s(d):d(),p=u(...f);return Jm(c,o,p)}function xg(e){let t={},n=[],r,i={addCase(e,n){let r=typeof e==`string`?e:e.type;if(!r)throw Error(wg(28));if(r in t)throw Error(wg(29));return t[r]=n,i},addAsyncThunk(e,r){return r.pending&&(t[e.pending.type]=r.pending),r.rejected&&(t[e.rejected.type]=r.rejected),r.fulfilled&&(t[e.fulfilled.type]=r.fulfilled),r.settled&&n.push({matcher:e.settled,reducer:r.settled}),i},addMatcher(e,t){return n.push({matcher:e,reducer:t}),i},addDefaultCase(e){return r=e,i}};return e(i),[t,n,r]}function Jte(e){return typeof e==`function`}function Yte(e,t){let[n,r,i]=xg(t),a;if(Jte(e))a=()=>yg(e());else{let t=yg(e);a=()=>t}function o(e=a(),t){let o=[n[t.type],...r.filter(({matcher:e})=>e(t)).map(({reducer:e})=>e)];return o.filter(e=>!!e).length===0&&(o=[i]),o.reduce((e,n)=>{if(n)if(Rh(e)){let r=n(e,t);return r===void 0?e:r}else if(rh(e))return mg(e,e=>n(e,t));else{let r=n(e,t);if(r===void 0){if(e===null)return e;throw Error(`A case reducer on a non-draftable value must not return undefined`)}return r}return e},e)}return o.getInitialState=a,o}function Xte(e,t){return`${e}/${t}`}function Zte({creators:e}={}){let t=e?.asyncThunk?.[Fg];return function(e){let{name:n,reducerPath:r=n}=e;if(!n)throw Error(wg(11));let i=(typeof e.reducers==`function`?e.reducers($te()):e.reducers)||{},a=Object.keys(i),o={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},s={addCase(e,t){let n=typeof e==`string`?e:e.type;if(!n)throw Error(wg(12));if(n in o.sliceCaseReducersByType)throw Error(wg(13));return o.sliceCaseReducersByType[n]=t,s},addMatcher(e,t){return o.sliceMatchers.push({matcher:e,reducer:t}),s},exposeAction(e,t){return o.actionCreators[e]=t,s},exposeCaseReducer(e,t){return o.sliceCaseReducersByName[e]=t,s}};a.forEach(r=>{let a=i[r],o={reducerName:r,type:Xte(n,r),createNotation:typeof e.reducers==`function`};tne(a)?rne(o,a,s,t):ene(o,a,s)});function c(){let[t={},n=[],r=void 0]=typeof e.extraReducers==`function`?xg(e.extraReducers):[e.extraReducers],i={...t,...o.sliceCaseReducersByType};return Yte(e.initialState,e=>{for(let t in i)e.addCase(t,i[t]);for(let t of o.sliceMatchers)e.addMatcher(t.matcher,t.reducer);for(let t of n)e.addMatcher(t.matcher,t.reducer);r&&e.addDefaultCase(r)})}let l=e=>e,u=new Map,d=new WeakMap,f;function p(e,t){return f||=c(),f(e,t)}function m(){return f||=c(),f.getInitialState()}function h(t,n=!1){function r(e){let i=e[t];return i===void 0&&n&&(i=bg(d,r,m)),i}function i(t=l){return bg(bg(u,n,()=>new WeakMap),t,()=>{let r={};for(let[i,a]of Object.entries(e.selectors??{}))r[i]=Qte(a,t,()=>bg(d,t,m),n);return r})}return{reducerPath:t,getSelectors:i,get selectors(){return i(r)},selectSlice:r}}let g={name:n,reducer:p,actions:o.actionCreators,caseReducers:o.sliceCaseReducersByName,getInitialState:m,...h(r),injectInto(e,{reducerPath:t,...n}={}){let i=t??r;return e.inject({reducerPath:i,reducer:p},n),{...g,...h(i,!0)}}};return g}}function Qte(e,t,n,r){function i(i,...a){let o=t(i);return o===void 0&&r&&(o=n()),e(o,...a)}return i.unwrapped=e,i}function $te(){function e(e,t){return{_reducerDefinitionType:`asyncThunk`,payloadCreator:e,...t}}return e.withTypes=()=>e,{reducer(e){return Object.assign({[e.name](...t){return e(...t)}}[e.name],{_reducerDefinitionType:`reducer`})},preparedReducer(e,t){return{_reducerDefinitionType:`reducerWithPrepare`,prepare:e,reducer:t}},asyncThunk:e}}function ene({type:e,reducerName:t,createNotation:n},r,i){let a,o;if(`reducer`in r){if(n&&!nne(r))throw Error(wg(17));a=r.reducer,o=r.prepare}else a=r;i.addCase(e,a).exposeCaseReducer(t,a).exposeAction(t,o?vg(e,o):vg(e))}function tne(e){return e._reducerDefinitionType===`asyncThunk`}function nne(e){return e._reducerDefinitionType===`reducerWithPrepare`}function rne({type:e,reducerName:t},n,r,i){if(!i)throw Error(wg(18));let{payloadCreator:a,fulfilled:o,pending:s,rejected:c,settled:l,options:u}=n,d=i(e,a,u);r.exposeAction(t,d),o&&r.addCase(d.fulfilled,o),s&&r.addCase(d.pending,s),c&&r.addCase(d.rejected,c),l&&r.addMatcher(d.settled,l),r.exposeCaseReducer(t,{fulfilled:o||Sg,pending:s||Sg,rejected:c||Sg,settled:l||Sg})}function Sg(){}function Cg(e,t){let n=qg;return new Promise((r,i)=>{let a=()=>i(new Gg(e.reason));if(e.aborted){a();return}n=Yg(e,a),t.finally(()=>n()).then(r,i)}).finally(()=>{n=qg})}function wg(e){return`Minified Redux Toolkit error #${e}; visit https://redux-toolkit.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}var Tg,Eg,Dg,Og,kg,Ag,jg,Mg,Ng,Pg,Fg,Ig,Lg,Rg,zg,Bg,Vg,Hg,Ug,Wg,Gg,Kg,qg,Jg,Yg,Xg,Zg,Qg,$g,e_,t_,n_,r_,i_,a_,o_,s_,c_,l_,u_,d_,f_,p_,m_,h_,g_=o((()=>{th(),Wte(),th(),Gte(),Tg=typeof window<`u`&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]==`object`?Xm:Xm.apply(null,arguments)},typeof window<`u`&&window.__REDUX_DEVTOOLS_EXTENSION__&&window.__REDUX_DEVTOOLS_EXTENSION__,Eg=class e extends Array{constructor(...t){super(...t),Object.setPrototypeOf(this,e.prototype)}static get[Symbol.species](){return e}concat(...e){return super.concat.apply(this,e)}prepend(...t){return t.length===1&&Array.isArray(t[0])?new e(...t[0].concat(this)):new e(...t.concat(this))}},Dg=()=>function(e){let{thunk:t=!0,immutableCheck:n=!0,serializableCheck:r=!0,actionCreatorCheck:i=!0}=e??{},a=new Eg;return t&&(Kte(t)?a.push(gg):a.push(_g(t.extraArgument))),a},Og=`RTK_autoBatch`,kg=()=>e=>({payload:e,meta:{[Og]:!0}}),Ag=e=>t=>{setTimeout(t,e)},jg=(e={type:`raf`})=>t=>(...n)=>{let r=t(...n),i=!0,a=!1,o=!1,s=new Set,c=e.type===`tick`?queueMicrotask:e.type===`raf`?typeof window<`u`&&window.requestAnimationFrame?window.requestAnimationFrame:Ag(10):e.type===`callback`?e.queueNotification:Ag(e.timeout),l=()=>{o=!1,a&&(a=!1,s.forEach(e=>e()))};return Object.assign({},r,{subscribe(e){let t=r.subscribe(()=>i&&e());return s.add(e),()=>{t(),s.delete(e)}},dispatch(e){try{return i=!e?.meta?.[Og],a=!i,a&&(o||(o=!0,c(l))),r.dispatch(e)}finally{i=!0}}})},Mg=e=>function(t){let{autoBatch:n=!0}=t??{},r=new Eg(e);return n&&r.push(jg(typeof n==`object`?n:void 0)),r},Ng=`ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW`,Pg=(e=21)=>{let t=``,n=e;for(;n--;)t+=Ng[Math.random()*64|0];return t},Fg=Symbol.for(`rtk-slice-createasyncthunk`),Ig=Zte(),Lg=`task`,Rg=`listener`,zg=`completed`,Bg=`cancelled`,Vg=`task-${Bg}`,Hg=`task-${zg}`,Ug=`${Rg}-${Bg}`,Wg=`${Rg}-${zg}`,Gg=class{constructor(e){this.code=e,this.message=`${Lg} ${Bg} (reason: ${e})`}name=`TaskAbortError`;message},Kg=(e,t)=>{if(typeof e!=`function`)throw TypeError(wg(32))},qg=()=>{},Jg=(e,t=qg)=>(e.catch(t),e),Yg=(e,t)=>(e.addEventListener(`abort`,t,{once:!0}),()=>e.removeEventListener(`abort`,t)),Xg=e=>{if(e.aborted)throw new Gg(e.reason)},Zg=async(e,t)=>{try{return await Promise.resolve(),{status:`ok`,value:await e()}}catch(e){return{status:e instanceof Gg?`cancelled`:`rejected`,error:e}}finally{t?.()}},Qg=e=>t=>Jg(Cg(e,t).then(t=>(Xg(e),t))),$g=e=>{let t=Qg(e);return e=>t(new Promise(t=>setTimeout(t,e)))},{assign:e_}=Object,t_={},n_=`listenerMiddleware`,r_=(e,t)=>{let n=t=>Yg(e,()=>t.abort(e.reason));return(r,i)=>{Kg(r,`taskExecutor`);let a=new AbortController;n(a);let o=Zg(async()=>{Xg(e),Xg(a.signal);let t=await r({pause:Qg(a.signal),delay:$g(a.signal),signal:a.signal});return Xg(a.signal),t},()=>a.abort(Hg));return i?.autoJoin&&t.push(o.catch(qg)),{result:Qg(e)(o),cancel(){a.abort(Vg)}}}},i_=(e,t)=>{let n=async(n,r)=>{Xg(t);let i=()=>{},a=[new Promise((t,r)=>{let a=e({predicate:n,effect:(e,n)=>{n.unsubscribe(),t([e,n.getState(),n.getOriginalState()])}});i=()=>{a(),r()}})];r!=null&&a.push(new Promise(e=>setTimeout(e,r,null)));try{let e=await Cg(t,Promise.race(a));return Xg(t),e}finally{i()}};return(e,t)=>Jg(n(e,t))},a_=e=>{let{type:t,actionCreator:n,matcher:r,predicate:i,effect:a}=e;if(t)i=vg(t).match;else if(n)t=n.type,i=n.match;else if(r)i=r;else if(!i)throw Error(wg(21));return Kg(a,`options.listener`),{predicate:i,type:t,effect:a}},o_=e_(e=>{let{type:t,predicate:n,effect:r}=a_(e);return{id:Pg(),effect:r,type:t,predicate:n,pending:new Set,unsubscribe:()=>{throw Error(wg(22))}}},{withTypes:()=>o_}),s_=(e,t)=>{let{type:n,effect:r,predicate:i}=a_(t);return Array.from(e.values()).find(e=>(typeof n==`string`?e.type===n:e.predicate===i)&&e.effect===r)},c_=e=>{e.pending.forEach(e=>{e.abort(Ug)})},l_=(e,t)=>()=>{for(let e of t.keys())c_(e);e.clear()},u_=(e,t,n)=>{try{e(t,n)}catch(e){setTimeout(()=>{throw e},0)}},d_=e_(vg(`${n_}/add`),{withTypes:()=>d_}),f_=vg(`${n_}/removeAll`),p_=e_(vg(`${n_}/remove`),{withTypes:()=>p_}),m_=(...e)=>{console.error(`${n_}/error`,...e)},h_=(e={})=>{let t=new Map,n=new Map,r=e=>{let t=n.get(e)??0;n.set(e,t+1)},i=e=>{let t=n.get(e)??1;t===1?n.delete(e):n.set(e,t-1)},{extra:a,onError:o=m_}=e;Kg(o,`onError`);let s=e=>(e.unsubscribe=()=>t.delete(e.id),t.set(e.id,e),t=>{e.unsubscribe(),t?.cancelActive&&c_(e)}),c=e=>s(s_(t,e)??o_(e));e_(c,{withTypes:()=>c});let l=e=>{let n=s_(t,e);return n&&(n.unsubscribe(),e.cancelActive&&c_(n)),!!n};e_(l,{withTypes:()=>l});let u=async(e,n,s,l)=>{let u=new AbortController,d=i_(c,u.signal),f=[];try{e.pending.add(u),r(e),await Promise.resolve(e.effect(n,e_({},s,{getOriginalState:l,condition:(e,t)=>d(e,t).then(Boolean),take:d,delay:$g(u.signal),pause:Qg(u.signal),extra:a,signal:u.signal,fork:r_(u.signal,f),unsubscribe:e.unsubscribe,subscribe:()=>{t.set(e.id,e)},cancelActiveListeners:()=>{e.pending.forEach((e,t,n)=>{e!==u&&(e.abort(Ug),n.delete(e))})},cancel:()=>{u.abort(Ug),e.pending.delete(u)},throwIfCancelled:()=>{Xg(u.signal)}})))}catch(e){e instanceof Gg||u_(o,e,{raisedBy:`effect`})}finally{await Promise.all(f),u.abort(Wg),i(e),e.pending.delete(u)}},d=l_(t,n);return{middleware:e=>n=>r=>{if(!Zm(r))return n(r);if(d_.match(r))return c(r.payload);if(f_.match(r)){d();return}if(p_.match(r))return l(r.payload);let i=e.getState(),a=()=>{if(i===t_)throw Error(wg(23));return i},s;try{if(s=n(r),t.size>0){let n=e.getState(),s=Array.from(t.values());for(let t of s){let s=!1;try{s=t.predicate(r,n,i)}catch(e){s=!1,u_(o,e,{raisedBy:`predicate`})}s&&u(t,r,e,a)}}}finally{i=t_}return s},startListening:c,stopListening:l,clearListeners:d}}})),__,v_,y_,b_,x_,S_,C_=o((()=>{g_(),__=Ig({name:`chartLayout`,initialState:{layoutType:`horizontal`,width:0,height:0,margin:{top:5,right:5,bottom:5,left:5},scale:1},reducers:{setLayout(e,t){e.layoutType=t.payload},setChartSize(e,t){e.width=t.payload.width,e.height=t.payload.height},setMargin(e,t){e.margin.top=t.payload.top??0,e.margin.right=t.payload.right??0,e.margin.bottom=t.payload.bottom??0,e.margin.left=t.payload.left??0},setScale(e,t){e.scale=t.payload}}}),{setMargin:v_,setLayout:y_,setChartSize:b_,setScale:x_}=__.actions,S_=__.reducer}));function w_(e,t,n){return Array.isArray(e)&&e&&t+n!==0?e.slice(t,n+1):e}var T_=o((()=>{}));function Z(e){return Number.isFinite(e)}function E_(e){return typeof e==`number`&&e>0&&Number.isFinite(e)}var D_=o((()=>{}));function O_(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function k_(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?O_(Object(n),!0).forEach(function(t){ine(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):O_(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function ine(e,t,n){return(t=ane(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ane(e){var t=one(e,`string`);return typeof t==`symbol`?t:t+``}function one(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function A_(e,t,n){return fp(e)||fp(t)?n:op(t)?(0,I_.default)(e,t,n):typeof t==`function`?t(e):n}function j_(e){return e==null?void 0:String(e)}function M_(e){var{axis:t,ticks:n,bandSize:r,entry:i,index:a,dataKey:o}=e;if(t.type===`category`){if(!t.allowDuplicatedCategory&&t.dataKey&&!fp(i[t.dataKey])){var s=$f(n,`value`,i[t.dataKey]);if(s)return s.coordinate+r/2}return n!=null&&n[a]?n[a].coordinate+r/2:null}var c=A_(i,fp(o)?t.dataKey:o),l=t.scale.map(c);return K(l)?l:null}function N_(e){var{tooltipEntrySettings:t,dataKey:n,payload:r,value:i,name:a}=e;return k_(k_({},t),{},{dataKey:n,payload:r,value:i,name:a})}function P_(e,t){if(e)return String(e);if(typeof t==`string`)return t}var F_,I_,L_,R_,z_,B_,V_,H_,U_,W_,G_,K_,q_,J_,Y_,X_,Z_,Q_,$_,ev,tv,nv=o((()=>{F_=u(Fm()),I_=u(Jf()),Hf(),q(),T_(),D_(),L_=(e,t,n)=>{if(t&&n){var{width:r,height:i}=n,{align:a,verticalAlign:o,layout:s}=t;if((s===`vertical`||s===`horizontal`&&o===`middle`)&&a!==`center`&&K(e[a]))return k_(k_({},e),{},{[a]:e[a]+(r||0)});if((s===`horizontal`||s===`vertical`&&a===`center`)&&o!==`middle`&&K(e[o]))return k_(k_({},e),{},{[o]:e[o]+(i||0)})}return e},R_=(e,t)=>e===`horizontal`&&t===`xAxis`||e===`vertical`&&t===`yAxis`||e===`centric`&&t===`angleAxis`||e===`radial`&&t===`radiusAxis`,z_=(e,t,n,r)=>{if(r)return e.map(e=>e.coordinate);var i,a,o=e.map(e=>(e.coordinate===t&&(i=!0),e.coordinate===n&&(a=!0),e.coordinate));return i||o.push(t),a||o.push(n),o},B_=(e,t,n)=>{if(!e)return null;var{duplicateDomain:r,type:i,range:a,scale:o,realScaleType:s,isCategorical:c,categoricalDomain:l,tickCount:u,ticks:d,niceTicks:f,axisType:p}=e;if(!o)return null;var m=s===`scaleBand`&&o.bandwidth?o.bandwidth()/2:2,h=(t||n)&&i===`category`&&o.bandwidth?o.bandwidth()/m:0;return h=p===`angleAxis`&&a&&a.length>=2?rp(a[0]-a[1])*2*h:h,t&&(d||f)?(d||f||[]).map((e,t)=>{var n=r?r.indexOf(e):e,i=o.map(n);return Z(i)?{coordinate:i+h,value:e,offset:h,index:t}:null}).filter(ep):c&&l?l.map((e,t)=>{var n=o.map(e);return Z(n)?{coordinate:n+h,value:e,index:t,offset:h}:null}).filter(ep):o.ticks&&!n&&u!=null?o.ticks(u).map((e,t)=>{var n=o.map(e);return Z(n)?{coordinate:n+h,value:e,index:t,offset:h}:null}).filter(ep):o.domain().map((e,t)=>{var n=o.map(e);return Z(n)?{coordinate:n+h,value:r?r[e]:e,index:t,offset:h}:null}).filter(ep)},V_=(e,t)=>{if(!t||t.length!==2||!K(t[0])||!K(t[1]))return e;var n=Math.min(t[0],t[1]),r=Math.max(t[0],t[1]),i=[e[0],e[1]];return(!K(e[0])||e[0]<n)&&(i[0]=n),(!K(e[1])||e[1]>r)&&(i[1]=r),i[0]>r&&(i[0]=r),i[1]<n&&(i[1]=n),i},H_=e=>{var t=e.length;if(!(t<=0)){var n=e[0]?.length;if(!(n==null||n<=0))for(var r=0;r<n;++r)for(var i=0,a=0,o=0;o<t;++o){var s=e[o]?.[r];if(s!=null){var c=s[1],l=s[0],u=ip(c)?l:c;u>=0?(s[0]=i,i+=u,s[1]=i):(s[0]=a,a+=u,s[1]=a)}}}},U_=e=>{var t=e.length;if(!(t<=0)){var n=e[0]?.length;if(!(n==null||n<=0))for(var r=0;r<n;++r)for(var i=0,a=0;a<t;++a){var o=e[a]?.[r];if(o!=null){var s=ip(o[1])?o[0]:o[1];s>=0?(o[0]=i,i+=s,o[1]=i):(o[0]=0,o[1]=0)}}}},W_={sign:H_,expand:Bee,none:Lf,silhouette:Hee,wiggle:Wee,positive:U_},G_=(e,t,n)=>{var r=W_[n]??Lf,i=Ree().keys(t).value((e,t)=>Number(A_(e,t,0))).order(zf).offset(r)(e);return i.forEach((n,r)=>{n.forEach((n,i)=>{var a=A_(e[i],t[r],0);Array.isArray(a)&&a.length===2&&K(a[0])&&K(a[1])&&(n[0]=a[0],n[1]=a[1])})}),i},K_=e=>{var{axis:t,ticks:n,offset:r,bandSize:i,entry:a,index:o}=e;if(t.type===`category`)return n[o]?n[o].coordinate+r:null;var s=A_(a,t.dataKey,t.scale.domain()[o]);if(fp(s))return null;var c=t.scale.map(s);return K(c)?c-i/2+r:null},q_=e=>{var{numericAxis:t}=e,n=t.scale.domain();if(t.type===`number`){var r=Math.min(n[0],n[1]),i=Math.max(n[0],n[1]);return r<=0&&i>=0?0:i<0?i:r}return n[0]},J_=e=>{var t=e.flat(2).filter(K);return[Math.min(...t),Math.max(...t)]},Y_=e=>[e[0]===1/0?0:e[0],e[1]===-1/0?0:e[1]],X_=(e,t,n)=>{if(e!=null)return Y_(Object.keys(e).reduce((r,i)=>{var a=e[i];if(!a)return r;var{stackedData:o}=a,s=o.reduce((e,r)=>{var i=J_(w_(r,t,n));return!Z(i[0])||!Z(i[1])?e:[Math.min(e[0],i[0]),Math.max(e[1],i[1])]},[1/0,-1/0]);return[Math.min(s[0],r[0]),Math.max(s[1],r[1])]},[1/0,-1/0]))},Z_=/^dataMin[\\s]*-[\\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,Q_=/^dataMax[\\s]*\\+[\\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,$_=(e,t,n)=>{if(e&&e.scale&&e.scale.bandwidth){var r=e.scale.bandwidth();if(!n||r>0)return r}if(e&&t&&t.length>=2){for(var i=(0,F_.default)(t,e=>e.coordinate),a=1/0,o=1,s=i.length;o<s;o++){var c=i[o],l=i[o-1];a=Math.min((c?.coordinate||0)-(l?.coordinate||0),a)}return a===1/0?0:a}return n?void 0:0},ev=(e,t)=>{if(t===`horizontal`)return e.relativeX;if(t===`vertical`)return e.relativeY},tv=(e,t)=>t===`centric`?e.angle:e.radius})),rv,iv,av,ov,sv=o((()=>{rv=e=>e.layout.width,iv=e=>e.layout.height,av=e=>e.layout.scale,ov=e=>e.layout.margin})),cv,lv,uv=o((()=>{Dm(),cv=X(e=>e.cartesianAxis.xAxis,e=>Object.values(e)),lv=X(e=>e.cartesianAxis.yAxis,e=>Object.values(e))})),dv,fv,pv,mv=o((()=>{dv=[`#1890FF`,`#66B5FF`,`#41D9C7`,`#2FC25B`,`#6EDB8F`,`#9AE65C`,`#FACC14`,`#E6965C`,`#57AD71`,`#223273`,`#738AE6`,`#7564CC`,`#8543E0`,`#A877ED`,`#5C8EE6`,`#13C2C2`,`#70E0E0`,`#5CA3E6`,`#3436C7`,`#8082FF`,`#DD81E6`,`#F04864`,`#FA7D92`,`#D598D9`],fv=`data-recharts-item-index`,pv=`data-recharts-item-id`}));function hv(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function gv(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?hv(Object(n),!0).forEach(function(t){sne(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):hv(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function sne(e,t,n){return(t=cne(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function cne(e){var t=lne(e,`string`);return typeof t==`symbol`?t:t+``}function lne(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function une(e){return lv(e).reduce((e,t)=>t.orientation===`left`&&!t.mirror&&!t.hide?e+(typeof t.width==`number`?t.width:60):e,0)}function dne(e){return lv(e).reduce((e,t)=>t.orientation===`right`&&!t.mirror&&!t.hide?e+(typeof t.width==`number`?t.width:60):e,0)}function fne(e){return cv(e).reduce((e,t)=>t.orientation===`top`&&!t.mirror&&!t.hide?e+t.height:e,0)}function pne(e){return cv(e).reduce((e,t)=>t.orientation===`bottom`&&!t.mirror&&!t.hide?e+t.height:e,0)}var _v,vv,yv,bv,xv=o((()=>{Dm(),Vm(),nv(),sv(),uv(),mv(),_v=e=>e.brush.height,vv=X([rv,iv,ov,_v,une,dne,fne,pne,Lm,Rm],(e,t,n,r,i,a,o,s,c,l)=>{var u={left:(n.left||0)+i,right:(n.right||0)+a},d=gv(gv({},{top:(n.top||0)+o,bottom:(n.bottom||0)+s}),u),f=d.bottom;d.bottom+=r,d=L_(d,c,l);var p=e-d.left-d.right,m=t-d.top-d.bottom;return gv(gv({brushBottom:f},d),{},{width:Math.max(p,0),height:Math.max(m,0)})}),yv=X(vv,e=>({x:e.left,y:e.top,width:e.width,height:e.height})),bv=X(rv,iv,(e,t)=>({x:0,y:0,width:e,height:t}))})),Sv,Cv,wv,Tv=o((()=>{f(),Sv=u(f()),Cv=(0,Sv.createContext)(null),wv=()=>(0,Sv.useContext)(Cv)!=null})),Ev,Dv,Ov=o((()=>{Dm(),xv(),sv(),q(),Ev=e=>e.brush,Dv=X([Ev,vv,ov],(e,t,n)=>({height:e.height,x:K(e.x)?e.x:t.left,y:K(e.y)?e.y:t.top+t.height+t.brushBottom-(n?.bottom||0),width:K(e.width)?e.width:t.width}))})),mne=s((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});function t(e,t,{signal:n,edges:r}={}){let i,a=null,o=r!=null&&r.includes(`leading`),s=r==null||r.includes(`trailing`),c=()=>{a!==null&&(e.apply(i,a),i=void 0,a=null)},l=()=>{s&&c(),p()},u=null,d=()=>{u!=null&&clearTimeout(u),u=setTimeout(()=>{u=null,l()},t)},f=()=>{u!==null&&(clearTimeout(u),u=null)},p=()=>{f(),i=void 0,a=null},m=()=>{c()},h=function(...e){if(n?.aborted)return;i=this,a=e;let t=u==null;d(),o&&t&&c()};return h.schedule=d,h.cancel=p,h.flush=m,n?.addEventListener(`abort`,p,{once:!0}),h}e.debounce=t})),hne=s((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=mne();function n(e,n=0,r={}){typeof r!=`object`&&(r={});let{leading:i=!1,trailing:a=!0,maxWait:o}=r,s=[,,];i&&(s[0]=`leading`),a&&(s[1]=`trailing`);let c,l=null,u=t.debounce(function(...t){c=e.apply(this,t),l=null},n,{edges:s}),d=function(...t){return o!=null&&(l===null&&(l=Date.now()),Date.now()-l>=o)?(c=e.apply(this,t),l=Date.now(),u.cancel(),u.schedule(),c):(u.apply(this,t),c)};return d.cancel=u.cancel,d.flush=()=>(u.flush(),c),d}e.debounce=n})),gne=s((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=hne();function n(e,n=0,r={}){let{leading:i=!0,trailing:a=!0}=r;return t.debounce(e,n,{leading:i,maxWait:n,trailing:a})}e.throttle=n})),_ne=s(((e,t)=>{t.exports=gne().throttle})),kv,Av,jv=o((()=>{kv=!0,Av=function(e,t){var n=[...arguments].slice(2);if(kv&&typeof console<`u`&&console.warn&&(t===void 0&&console.warn(`LogUtils requires an error message argument`),!e))if(t===void 0)console.warn(`Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.`);else{var r=0;console.warn(t.replace(/%s/g,()=>n[r++]))}}}));function Mv(e){var{width:t,height:n,aspect:r}=e,i=t,a=n;return i===void 0&&a===void 0?(i=Nv.width,a=Nv.height):i===void 0?i=r&&r>0?void 0:Nv.width:a===void 0&&(a=r&&r>0?void 0:Nv.height),{width:i,height:a}}var Nv,Pv,Fv,Iv,Lv,Rv,zv,vne=o((()=>{q(),Nv={width:`100%`,height:`100%`,debounce:0,minWidth:0,initialDimension:{width:-1,height:-1}},Pv=(e,t,n)=>{var{width:r=Nv.width,height:i=Nv.height,aspect:a,maxHeight:o}=n,s=ap(r)?e:Number(r),c=ap(i)?t:Number(i);return a&&a>0&&(s?c=s/a:c&&(s=c*a),o&&c!=null&&c>o&&(c=o)),{calculatedWidth:s,calculatedHeight:c}},Fv={width:0,height:0,overflow:`visible`},Iv={width:0,overflowX:`visible`},Lv={height:0,overflowY:`visible`},Rv={},zv=e=>{var{width:t,height:n}=e,r=ap(t),i=ap(n);return r&&i?Fv:r?Iv:i?Lv:Rv}}));function Bv(){return Bv=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Bv.apply(null,arguments)}function Vv(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Hv(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?Vv(Object(n),!0).forEach(function(t){yne(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Vv(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function yne(e,t,n){return(t=bne(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function bne(e){var t=xne(e,`string`);return typeof t==`symbol`?t:t+``}function xne(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function Sne(e){return E_(e.width)&&E_(e.height)}function Uv(e){var{children:t,width:n,height:r}=e,i=(0,Gv.useMemo)(()=>({width:n,height:r}),[n,r]);return Sne(i)?Wv.createElement(qv.Provider,{value:i},t):null}var Wv,Gv,Kv,qv,Jv,Yv,Xv,Zv=o((()=>{Pu(),Wv=u(f()),Gv=u(f()),Kv=u(_ne()),q(),jv(),vne(),D_(),qv=(0,Gv.createContext)(Nv.initialDimension),Jv=()=>(0,Gv.useContext)(qv),Yv=(0,Gv.forwardRef)((e,t)=>{var{aspect:n,initialDimension:r=Nv.initialDimension,width:i,height:a,minWidth:o=Nv.minWidth,minHeight:s,maxHeight:c,children:l,debounce:u=Nv.debounce,id:d,className:f,onResize:p,style:m={}}=e,h=(0,Gv.useRef)(null),g=(0,Gv.useRef)();g.current=p,(0,Gv.useImperativeHandle)(t,()=>h.current);var[_,v]=(0,Gv.useState)({containerWidth:r.width,containerHeight:r.height}),y=(0,Gv.useCallback)((e,t)=>{v(n=>{var r=Math.round(e),i=Math.round(t);return n.containerWidth===r&&n.containerHeight===i?n:{containerWidth:r,containerHeight:i}})},[]);(0,Gv.useEffect)(()=>{if(h.current==null||typeof ResizeObserver>`u`)return tp;var e=e=>{var t,n=e[0];if(n!=null){var{width:r,height:i}=n.contentRect;y(r,i),(t=g.current)==null||t.call(g,r,i)}};u>0&&(e=(0,Kv.default)(e,u,{trailing:!0,leading:!1}));var t=new ResizeObserver(e),{width:n,height:r}=h.current.getBoundingClientRect();return y(n,r),t.observe(h.current),()=>{t.disconnect()}},[y,u]);var{containerWidth:b,containerHeight:x}=_;Av(!n||n>0,`The aspect(%s) must be greater than zero.`,n);var{calculatedWidth:S,calculatedHeight:C}=Pv(b,x,{width:i,height:a,aspect:n,maxHeight:c});return Av(S!=null&&S>0||C!=null&&C>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.`,S,C,i,a,o,s,n),Wv.createElement(`div`,{id:d?`${d}`:void 0,className:U(`recharts-responsive-container`,f),style:Hv(Hv({},m),{},{width:i,height:a,minWidth:o,minHeight:s,maxHeight:c}),ref:h},Wv.createElement(`div`,{style:zv({width:i,height:a})},Wv.createElement(Uv,{width:S,height:C},l)))}),Xv=(0,Gv.forwardRef)((e,t)=>{var n=Jv();if(E_(n.width)&&E_(n.height))return e.children;var{width:r,height:i}=Mv({width:e.width,height:e.height,aspect:e.aspect}),{calculatedWidth:a,calculatedHeight:o}=Pv(void 0,void 0,{width:r,height:i,aspect:e.aspect,maxHeight:e.maxHeight});return K(a)&&K(o)?Wv.createElement(Uv,{width:a,height:o},e.children):Wv.createElement(Yv,Bv({},e,{width:r,height:i,ref:t}))})}));function Qv(e){if(e)return{x:e.x,y:e.y,upperWidth:`upperWidth`in e?e.upperWidth:e.width,lowerWidth:`lowerWidth`in e?e.lowerWidth:e.width,width:e.width,height:e.height}}var $v,ey,ty,ny,ry,iy,ay,Q,oy,sy,cy,ly,uy,dy,fy,py=o((()=>{$v=u(f()),Y(),C_(),xv(),sv(),Tv(),Ov(),Zv(),D_(),ey=()=>{var e=wv(),t=J(yv),n=J(Dv),r=J(Ev)?.padding;return!e||!n||!r?t:{width:n.width-r.left-r.right,height:n.height-r.top-r.bottom,x:r.left,y:r.top}},ty={top:0,bottom:0,left:0,right:0,width:0,height:0,brushBottom:0},ny=()=>J(vv)??ty,ry=()=>J(rv),iy=()=>J(iv),ay=()=>J(e=>e.layout.margin),Q=e=>e.layout.layoutType,oy=()=>J(Q),sy=()=>{var e=oy();if(e===`horizontal`||e===`vertical`)return e},cy=e=>{var t=e.layout.layoutType;if(t===`centric`||t===`radial`)return t},ly=()=>J(cy),uy=()=>oy()!==void 0,dy=e=>{var t=hm(),n=wv(),{width:r,height:i}=e,a=Jv(),o=r,s=i;return a&&(o=a.width>0?a.width:r,s=a.height>0?a.height:i),(0,$v.useEffect)(()=>{!n&&E_(o)&&E_(s)&&t(b_({width:o,height:s}))},[t,n,o,s]),null},fy=e=>{var{margin:t}=e,n=hm();return(0,$v.useEffect)(()=>{n(v_(t))},[n,t]),null}}));function my(e,...t){throw Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}function hy(e){return!!e&&!!e[Yy]}function gy(e){return e?_y(e)||Array.isArray(e)||!!e[Jy]||!!e.constructor?.[Jy]||Sy(e)||Cy(e):!1}function _y(e){if(!e||typeof e!=`object`)return!1;let t=Object.getPrototypeOf(e);if(t===null||t===Object.prototype)return!0;let n=Object.hasOwnProperty.call(t,`constructor`)&&t.constructor;if(n===Object)return!0;if(typeof n!=`function`)return!1;let r=Qy.get(n);return r===void 0&&(r=Function.toString.call(n),Qy.set(n,r)),r===Zy}function vy(e,t,n=!0){yy(e)===0?(n?Reflect.ownKeys(e):Object.keys(e)).forEach(n=>{t(n,e[n],e)}):e.forEach((n,r)=>t(r,n,e))}function yy(e){let t=e[Yy];return t?t.type_:Array.isArray(e)?1:Sy(e)?2:Cy(e)?3:0}function by(e,t){return yy(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function xy(e,t,n){let r=yy(e);r===2?e.set(t,n):r===3?e.add(n):e[t]=n}function Cne(e,t){return e===t?e!==0||1/e==1/t:e!==e&&t!==t}function Sy(e){return e instanceof Map}function Cy(e){return e instanceof Set}function wy(e){return e.copy_||e.base_}function Ty(e,t){if(Sy(e))return new Map(e);if(Cy(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);let n=_y(e);if(t===!0||t===`class_only`&&!n){let t=Object.getOwnPropertyDescriptors(e);delete t[Yy];let n=Reflect.ownKeys(t);for(let r=0;r<n.length;r++){let i=n[r],a=t[i];a.writable===!1&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(t[i]={configurable:!0,writable:!0,enumerable:a.enumerable,value:e[i]})}return Object.create(Xy(e),t)}else{let t=Xy(e);return t!==null&&n?{...e}:Object.assign(Object.create(t),e)}}function Ey(e,t=!1){return Dy(e)||hy(e)||!gy(e)?e:(yy(e)>1&&Object.defineProperties(e,{set:$y,add:$y,clear:$y,delete:$y}),Object.freeze(e),t&&Object.values(e).forEach(e=>Ey(e,!0)),e)}function wne(){my(2)}function Dy(e){return typeof e!=`object`||!e?!0:Object.isFrozen(e)}function Oy(e){let t=eb[e];return t||my(0,e),t}function ky(){return tb}function Ay(e,t){return{drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function jy(e,t){t&&(Oy(`Patches`),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function My(e){Ny(e),e.drafts_.forEach(Fy),e.drafts_=null}function Ny(e){e===tb&&(tb=e.parent_)}function Py(e){return tb=Ay(tb,e)}function Fy(e){let t=e[Yy];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function Iy(e,t){t.unfinalizedDrafts_=t.drafts_.length;let n=t.drafts_[0];return e!==void 0&&e!==n?(n[Yy].modified_&&(My(t),my(4)),gy(e)&&(e=Ly(t,e),t.parent_||zy(t,e)),t.patches_&&Oy(`Patches`).generateReplacementPatches_(n[Yy].base_,e,t.patches_,t.inversePatches_)):e=Ly(t,n,[]),My(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e===qy?void 0:e}function Ly(e,t,n){if(Dy(t))return t;let r=e.immer_.shouldUseStrictIteration(),i=t[Yy];if(!i)return vy(t,(r,a)=>Ry(e,i,t,r,a,n),r),t;if(i.scope_!==e)return t;if(!i.modified_)return zy(e,i.base_,!0),i.base_;if(!i.finalized_){i.finalized_=!0,i.scope_.unfinalizedDrafts_--;let t=i.copy_,a=t,o=!1;i.type_===3&&(a=new Set(t),t.clear(),o=!0),vy(a,(r,a)=>Ry(e,i,t,r,a,n,o),r),zy(e,t,!1),n&&e.patches_&&Oy(`Patches`).generatePatches_(i,n,e.patches_,e.inversePatches_)}return i.copy_}function Ry(e,t,n,r,i,a,o){if(i==null||typeof i!=`object`&&!o)return;let s=Dy(i);if(!(s&&!o)){if(hy(i)){let o=Ly(e,i,a&&t&&t.type_!==3&&!by(t.assigned_,r)?a.concat(r):void 0);if(xy(n,r,o),hy(o))e.canAutoFreeze_=!1;else return}else o&&n.add(i);if(gy(i)&&!s){if(!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1||t&&t.base_&&t.base_[r]===i&&s)return;Ly(e,i),(!t||!t.scope_.parent_)&&typeof r!=`symbol`&&(Sy(n)?n.has(r):Object.prototype.propertyIsEnumerable.call(n,r))&&zy(e,i)}}}function zy(e,t,n=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&Ey(t,n)}function Tne(e,t){let n=Array.isArray(e),r={type_:+!!n,scope_:t?t.scope_:ky(),modified_:!1,finalized_:!1,assigned_:{},parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1},i=r,a=nb;n&&(i=[r],a=rb);let{revoke:o,proxy:s}=Proxy.revocable(i,a);return r.draft_=s,r.revoke_=o,s}function By(e,t){let n=e[Yy];return(n?wy(n):e)[t]}function Ene(e,t,n){let r=Vy(t,n);return r?`value`in r?r.value:r.get?.call(e.draft_):void 0}function Vy(e,t){if(!(t in e))return;let n=Xy(e);for(;n;){let e=Object.getOwnPropertyDescriptor(n,t);if(e)return e;n=Xy(n)}}function Hy(e){e.modified_||(e.modified_=!0,e.parent_&&Hy(e.parent_))}function Uy(e){e.copy_||=Ty(e.base_,e.scope_.immer_.useStrictShallowCopy_)}function Wy(e,t){let n=Sy(e)?Oy(`MapSet`).proxyMap_(e,t):Cy(e)?Oy(`MapSet`).proxySet_(e,t):Tne(e,t);return(t?t.scope_:ky()).drafts_.push(n),n}function Dne(e){return hy(e)||my(10,e),Gy(e)}function Gy(e){if(!gy(e)||Dy(e))return e;let t=e[Yy],n,r=!0;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,n=Ty(e,t.scope_.immer_.useStrictShallowCopy_),r=t.scope_.immer_.shouldUseStrictIteration()}else n=Ty(e,!0);return vy(n,(e,t)=>{xy(n,e,Gy(t))},r),t&&(t.finalized_=!1),n}function Ky(e){return e}var qy,Jy,Yy,Xy,Zy,Qy,$y,eb,tb,nb,rb,ib,ab,ob=o((()=>{qy=Symbol.for(`immer-nothing`),Jy=Symbol.for(`immer-draftable`),Yy=Symbol.for(`immer-state`),Xy=Object.getPrototypeOf,Zy=Object.prototype.constructor.toString(),Qy=new WeakMap,$y={value:wne},eb={},nb={get(e,t){if(t===Yy)return e;let n=wy(e);if(!by(n,t))return Ene(e,n,t);let r=n[t];return e.finalized_||!gy(r)?r:r===By(e.base_,t)?(Uy(e),e.copy_[t]=Wy(r,e)):r},has(e,t){return t in wy(e)},ownKeys(e){return Reflect.ownKeys(wy(e))},set(e,t,n){let r=Vy(wy(e),t);if(r?.set)return r.set.call(e.draft_,n),!0;if(!e.modified_){let r=By(wy(e),t),i=r?.[Yy];if(i&&i.base_===n)return e.copy_[t]=n,e.assigned_[t]=!1,!0;if(Cne(n,r)&&(n!==void 0||by(e.base_,t)))return!0;Uy(e),Hy(e)}return e.copy_[t]===n&&(n!==void 0||t in e.copy_)||Number.isNaN(n)&&Number.isNaN(e.copy_[t])?!0:(e.copy_[t]=n,e.assigned_[t]=!0,!0)},deleteProperty(e,t){return By(e.base_,t)!==void 0||t in e.base_?(e.assigned_[t]=!1,Uy(e),Hy(e)):delete e.assigned_[t],e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor(e,t){let n=wy(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r&&{writable:!0,configurable:e.type_!==1||t!==`length`,enumerable:r.enumerable,value:n[t]}},defineProperty(){my(11)},getPrototypeOf(e){return Xy(e.base_)},setPrototypeOf(){my(12)}},rb={},vy(nb,(e,t)=>{rb[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),rb.deleteProperty=function(e,t){return rb.set.call(this,e,t,void 0)},rb.set=function(e,t,n){return nb.set.call(this,e[0],t,n,e[0])},ib=class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.useStrictIteration_=!0,this.produce=(e,t,n)=>{if(typeof e==`function`&&typeof t!=`function`){let n=t;t=e;let r=this;return function(e=n,...i){return r.produce(e,e=>t.call(this,e,...i))}}typeof t!=`function`&&my(6),n!==void 0&&typeof n!=`function`&&my(7);let r;if(gy(e)){let i=Py(this),a=Wy(e,void 0),o=!0;try{r=t(a),o=!1}finally{o?My(i):Ny(i)}return jy(i,n),Iy(r,i)}else if(!e||typeof e!=`object`){if(r=t(e),r===void 0&&(r=e),r===qy&&(r=void 0),this.autoFreeze_&&Ey(r,!0),n){let t=[],i=[];Oy(`Patches`).generateReplacementPatches_(e,r,t,i),n(t,i)}return r}else my(1,e)},this.produceWithPatches=(e,t)=>{if(typeof e==`function`)return(t,...n)=>this.produceWithPatches(t,t=>e(t,...n));let n,r;return[this.produce(e,t,(e,t)=>{n=e,r=t}),n,r]},typeof e?.autoFreeze==`boolean`&&this.setAutoFreeze(e.autoFreeze),typeof e?.useStrictShallowCopy==`boolean`&&this.setUseStrictShallowCopy(e.useStrictShallowCopy),typeof e?.useStrictIteration==`boolean`&&this.setUseStrictIteration(e.useStrictIteration)}createDraft(e){gy(e)||my(8),hy(e)&&(e=Dne(e));let t=Py(this),n=Wy(e,void 0);return n[Yy].isManual_=!0,Ny(t),n}finishDraft(e,t){let n=e&&e[Yy];(!n||!n.isManual_)&&my(9);let{scope_:r}=n;return jy(r,t),Iy(void 0,r)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}setUseStrictIteration(e){this.useStrictIteration_=e}shouldUseStrictIteration(){return this.useStrictIteration_}applyPatches(e,t){let n;for(n=t.length-1;n>=0;n--){let r=t[n];if(r.path.length===0&&r.op===`replace`){e=r.value;break}}n>-1&&(t=t.slice(n+1));let r=Oy(`Patches`).applyPatches_;return hy(e)?r(e,t):this.produce(e,e=>r(e,t))}},ab=new ib,ab.produce})),sb,cb,lb,ub,db,fb,pb,mb=o((()=>{g_(),ob(),sb=Ig({name:`legend`,initialState:{settings:{layout:`horizontal`,align:`center`,verticalAlign:`middle`,itemSorter:`value`},size:{width:0,height:0},payload:[]},reducers:{setLegendSize(e,t){e.size.width=t.payload.width,e.size.height=t.payload.height},setLegendSettings(e,t){e.settings.align=t.payload.align,e.settings.layout=t.payload.layout,e.settings.verticalAlign=t.payload.verticalAlign,e.settings.itemSorter=t.payload.itemSorter},addLegendPayload:{reducer(e,t){e.payload.push(Ky(t.payload))},prepare:kg()},replaceLegendPayload:{reducer(e,t){var{prev:n,next:r}=t.payload,i=Th(e).payload.indexOf(Ky(n));i>-1&&(e.payload[i]=Ky(r))},prepare:kg()},removeLegendPayload:{reducer(e,t){var n=Th(e).payload.indexOf(Ky(t.payload));n>-1&&e.payload.splice(n,1)},prepare:kg()}}}),{setLegendSize:cb,setLegendSettings:lb,addLegendPayload:ub,replaceLegendPayload:db,removeLegendPayload:fb}=sb.actions,pb=sb.reducer})),One=s((e=>{var t=f();t.useSyncExternalStore,t.useRef,t.useEffect,t.useMemo,t.useDebugValue})),kne=s(((e,t)=>{t.exports=One()}));function Ane(e){e()}function jne(){let e=null,t=null;return{clear(){e=null,t=null},notify(){Ane(()=>{let t=e;for(;t;)t.callback(),t=t.next})},get(){let t=[],n=e;for(;n;)t.push(n),n=n.next;return t},subscribe(n){let r=!0,i=t={callback:n,next:null,prev:t};return i.prev?i.prev.next=i:e=i,function(){!r||e===null||(r=!1,i.next?i.next.prev=i.prev:t=i.prev,i.prev?i.prev.next=i.next:e=i.next)}}}}function Mne(e,t){let n,r=_b,i=0,a=!1;function o(e){u();let t=r.subscribe(e),n=!1;return()=>{n||(n=!0,t(),d())}}function s(){r.notify()}function c(){m.onStateChange&&m.onStateChange()}function l(){return a}function u(){i++,n||(n=t?t.addNestedSub(c):e.subscribe(c),r=jne())}function d(){i--,n&&i===0&&(n(),n=void 0,r.clear(),r=_b)}function f(){a||(a=!0,u())}function p(){a&&(a=!1,d())}let m={addNestedSub:o,notifyNestedSubs:s,handleChangeWrapper:c,isSubscribed:l,trySubscribe:f,tryUnsubscribe:p,getListeners:()=>r};return m}function hb(e,t){return e===t?e!==0||t!==0||1/e==1/t:e!==e&&t!==t}function Nne(e,t){if(hb(e,t))return!0;if(typeof e!=`object`||!e||typeof t!=`object`||!t)return!1;let n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(let r=0;r<n.length;r++)if(!Object.prototype.hasOwnProperty.call(t,n[r])||!hb(e[n[r]],t[n[r]]))return!1;return!0}function Pne(){if(!gb.createContext)return{};let e=Tb[wb]??=new Map,t=e.get(gb.createContext);return t||(t=gb.createContext(null),e.set(gb.createContext,t)),t}function Fne(e){let{children:t,context:n,serverState:r,store:i}=e,a=gb.useMemo(()=>({store:i,subscription:Mne(i),getServerState:r?()=>r:void 0}),[i,r]),o=gb.useMemo(()=>i.getState(),[i]);Cb(()=>{let{subscription:e}=a;return e.onStateChange=e.notifyNestedSubs,e.trySubscribe(),o!==i.getState()&&e.notifyNestedSubs(),()=>{e.tryUnsubscribe(),e.onStateChange=void 0}},[a,o]);let s=n||Eb;return gb.createElement(s.Provider,{value:a},t)}var gb,_b,vb,yb,bb,xb,Sb,Cb,wb,Tb,Eb,Db,Ob=o((()=>{gb=u(f(),1),kne(),_b={notify(){},get:()=>[]},vb=()=>typeof window<`u`&&window.document!==void 0&&window.document.createElement!==void 0,yb=vb(),bb=()=>typeof navigator<`u`&&navigator.product===`ReactNative`,xb=bb(),Sb=()=>yb||xb?gb.useLayoutEffect:gb.useEffect,Cb=Sb(),wb=Symbol.for(`react-redux-context`),Tb=typeof globalThis<`u`?globalThis:{},Eb=Pne(),Db=Fne}));function Ine(e,t){return e==null&&t==null?!0:typeof e==`number`&&typeof t==`number`?e===t||e!==e&&t!==t:e===t}function kb(e,t){for(var n of new Set([...Object.keys(e),...Object.keys(t)]))if(Ab.has(n)){if(e[n]==null&&t[n]==null)continue;if(!Nne(e[n],t[n]))return!1}else if(!Ine(e[n],t[n]))return!1;return!0}var Ab,jb=o((()=>{Ob(),Ab=new Set([`axisLine`,`tickLine`,`activeBar`,`activeDot`,`activeLabel`,`activeShape`,`allowEscapeViewBox`,`background`,`cursor`,`dot`,`label`,`line`,`margin`,`padding`,`position`,`shape`,`style`,`tick`,`wrapperStyle`,`radius`,`throttledEvents`])}));function Mb(){return Mb=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Mb.apply(null,arguments)}function Nb(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Pb(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?Nb(Object(n),!0).forEach(function(t){Fb(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Nb(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Fb(e,t,n){return(t=Ib(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ib(e){var t=Lb(e,`string`);return typeof t==`symbol`?t:t+``}function Lb(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function Rb(e,t){if(e==null)return{};var n,r,i=zb(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function zb(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function Bb(e){return e.value}function Vb(e){var{contextPayload:t}=e,n=Rb(e,Jb),r=om(t,e.payloadUniqBy,Bb),i=Pb(Pb({},n),{},{payload:r});return Gb.isValidElement(e.content)?Gb.cloneElement(e.content,i):typeof e.content==`function`?Gb.createElement(e.content,i):Gb.createElement(Wp,i)}function Hb(e,t,n,r,i,a){var{layout:o,align:s,verticalAlign:c}=t,l,u;return(!e||(e.left===void 0||e.left===null)&&(e.right===void 0||e.right===null))&&(l=s===`center`&&o===`vertical`?{left:((r||0)-a.width)/2}:s===`right`?{right:n&&n.right||0}:{left:n&&n.left||0}),(!e||(e.top===void 0||e.top===null)&&(e.bottom===void 0||e.bottom===null))&&(u=c===`middle`?{top:((i||0)-a.height)/2}:c===`bottom`?{bottom:n&&n.bottom||0}:{top:n&&n.top||0}),Pb(Pb({},l),u)}function Ub(e){var t=hm();return(0,Kb.useEffect)(()=>{t(lb(e))},[t,e]),null}function Wb(e){var t=hm();return(0,Kb.useEffect)(()=>(t(cb(e)),()=>{t(cb({width:0,height:0}))}),[t,e]),null}function Lne(e,t,n,r){return e===`vertical`&&t!=null?{height:t}:e===`horizontal`?{width:n||r}:null}function Rne(e){var t=Pp(e,Yb),n=jte(),r=sd(),i=ay(),{width:a,height:o,wrapperStyle:s,portal:c}=t,[l,u]=Hm([n]),d=ry(),f=iy();if(d==null||f==null)return null;var p=d-(i?.left||0)-(i?.right||0),m=Lne(t.layout,o,a,p),h=c?s:Pb(Pb({position:`absolute`,width:m?.width||a||`auto`,height:m?.height||o||`auto`},Hb(s,t,i,d,f,l)),s),g=c??r;return g==null||n==null?null:(0,qb.createPortal)(Gb.createElement(`div`,{className:`recharts-legend-wrapper`,style:h,ref:u},Gb.createElement(Ub,{layout:t.layout,align:t.align,verticalAlign:t.verticalAlign,itemSorter:t.itemSorter}),!c&&Gb.createElement(Wb,{width:l.width,height:l.height}),Gb.createElement(Vb,Mb({},t,m,{margin:i,chartWidth:d,chartHeight:f,contextPayload:n}))),g)}var Gb,Kb,qb,Jb,Yb,Xb,zne=o((()=>{Gb=u(f()),Kb=u(f()),qb=g(),cd(),Gp(),cm(),Mte(),Gm(),py(),mb(),Y(),Fp(),jb(),Jb=[`contextPayload`],Yb={align:`center`,iconSize:14,inactiveColor:`#ccc`,itemSorter:`value`,layout:`horizontal`,verticalAlign:`bottom`},Xb=Gb.memo(Rne,kb),Xb.displayName=`Legend`}));function Zb(){return Zb=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Zb.apply(null,arguments)}function Qb(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function $b(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?Qb(Object(n),!0).forEach(function(t){Bne(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Qb(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Bne(e,t,n){return(t=Vne(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Vne(e){var t=Hne(e,`string`);return typeof t==`symbol`?t:t+``}function Hne(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function Une(e){return Array.isArray(e)&&op(e[0])&&op(e[1])?e.join(` ~ `):e}function Wne(e,t){return t==null?e:(0,tx.default)(e,t)}var ex,tx,nx,rx,ix=o((()=>{ex=u(f()),tx=u(Fm()),Pu(),q(),nx={separator:` : `,contentStyle:{margin:0,padding:10,backgroundColor:`#fff`,border:`1px solid #ccc`,whiteSpace:`nowrap`},itemStyle:{display:`block`,paddingTop:4,paddingBottom:4,color:`#000`},labelStyle:{},accessibilityLayer:!1},rx=e=>{var{separator:t=nx.separator,contentStyle:n,itemStyle:r,labelStyle:i=nx.labelStyle,payload:a,formatter:o,itemSorter:s,wrapperClassName:c,labelClassName:l,label:u,labelFormatter:d,accessibilityLayer:f=nx.accessibilityLayer}=e,p=()=>{if(a&&a.length){var e={padding:0,margin:0},n=Wne(a,s).map((e,n)=>{if(!e||e.type===`none`)return null;var i=e.formatter||o||Une,{value:s,name:c}=e,l=s,u=c;if(i){var d=i(s,c,e,n,a);if(Array.isArray(d))[l,u]=d;else if(d!=null)l=d;else return null}var f=$b($b({},nx.itemStyle),{},{color:e.color||nx.itemStyle.color},r);return ex.createElement(`li`,{className:`recharts-tooltip-item`,key:`tooltip-item-${n}`,style:f},op(u)?ex.createElement(`span`,{className:`recharts-tooltip-item-name`},u):null,op(u)?ex.createElement(`span`,{className:`recharts-tooltip-item-separator`},t):null,ex.createElement(`span`,{className:`recharts-tooltip-item-value`},l),ex.createElement(`span`,{className:`recharts-tooltip-item-unit`},e.unit||``))});return ex.createElement(`ul`,{className:`recharts-tooltip-item-list`,style:e},n)}return null},m=$b($b({},nx.contentStyle),n),h=$b({margin:0},i),g=!fp(u),_=g?u:``,v=U(`recharts-default-tooltip`,c),y=U(`recharts-tooltip-label`,l);g&&d&&a!=null&&(_=d(u,a));var b=f?{role:`status`,\"aria-live\":`assertive`}:{};return ex.createElement(`div`,Zb({className:v,style:m},b),ex.createElement(`p`,{className:y,style:h},ex.isValidElement(_)?_:`${_}`),p())}}));function Gne(e){var{coordinate:t,translateX:n,translateY:r}=e;return U(ox,{[`${ox}-right`]:K(n)&&t&&K(t.x)&&n>=t.x,[`${ox}-left`]:K(n)&&t&&K(t.x)&&n<t.x,[`${ox}-bottom`]:K(r)&&t&&K(t.y)&&r>=t.y,[`${ox}-top`]:K(r)&&t&&K(t.y)&&r<t.y})}function ax(e){var{allowEscapeViewBox:t,coordinate:n,key:r,offset:i,position:a,reverseDirection:o,tooltipDimension:s,viewBox:c,viewBoxDimension:l}=e;if(a&&K(a[r]))return a[r];var u=n[r]-s-(i>0?i:0),d=n[r]+i;if(t[r])return o[r]?u:d;var f=c[r];return f==null?0:o[r]?Math.max(u<f?d:u,f):l==null?0:d+s>f+l?Math.max(u,f):Math.max(d,f)}function Kne(e){var{translateX:t,translateY:n,useTranslate3d:r}=e;return{transform:r?`translate3d(${t}px, ${n}px, 0)`:`translate(${t}px, ${n}px)`}}function qne(e){var{allowEscapeViewBox:t,coordinate:n,offsetTop:r,offsetLeft:i,position:a,reverseDirection:o,tooltipBox:s,useTranslate3d:c,viewBox:l}=e,u,d,f;return s.height>0&&s.width>0&&n?(d=ax({allowEscapeViewBox:t,coordinate:n,key:`x`,offset:i,position:a,reverseDirection:o,tooltipDimension:s.width,viewBox:l,viewBoxDimension:l.width}),f=ax({allowEscapeViewBox:t,coordinate:n,key:`y`,offset:r,position:a,reverseDirection:o,tooltipDimension:s.height,viewBox:l,viewBoxDimension:l.height}),u=Kne({translateX:d,translateY:f,useTranslate3d:c})):u=sx,{cssProperties:u,cssClasses:Gne({translateX:d,translateY:f,coordinate:n})}}var ox,sx,Jne=o((()=>{Pu(),q(),ox=`recharts-tooltip-wrapper`,sx={visibility:`hidden`}})),cx,lx,ux=o((()=>{cx=()=>!(typeof window<`u`&&window.document&&window.document.createElement&&window.setTimeout),lx={devToolsEnabled:!0,isSsr:cx()}}));function dx(){var[e,t]=(0,fx.useState)(()=>lx.isSsr||!window.matchMedia?!1:window.matchMedia(`(prefers-reduced-motion: reduce)`).matches);return(0,fx.useEffect)(()=>{if(window.matchMedia){var e=window.matchMedia(`(prefers-reduced-motion: reduce)`),n=()=>{t(e.matches)};return e.addEventListener(`change`,n),()=>{e.removeEventListener(`change`,n)}}},[]),e}var fx,px=o((()=>{fx=u(f()),ux()}));function mx(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function hx(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?mx(Object(n),!0).forEach(function(t){Yne(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):mx(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Yne(e,t,n){return(t=Xne(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Xne(e){var t=Zne(e,`string`);return typeof t==`symbol`?t:t+``}function Zne(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function Qne(e){if(!(e.prefersReducedMotion&&e.isAnimationActive===`auto`)&&e.isAnimationActive&&e.active)return`transform ${e.animationDuration}ms ${e.animationEasing}`}function $ne(e){var t=dx(),[n,r]=gx.useState(()=>({dismissed:!1,dismissedAtCoordinate:{x:0,y:0}}));gx.useEffect(()=>{var t=t=>{t.key===`Escape`&&r({dismissed:!0,dismissedAtCoordinate:{x:e.coordinate?.x??0,y:e.coordinate?.y??0}})};return document.addEventListener(`keydown`,t),()=>{document.removeEventListener(`keydown`,t)}},[e.coordinate?.x,e.coordinate?.y]),n.dismissed&&((e.coordinate?.x??0)!==n.dismissedAtCoordinate.x||(e.coordinate?.y??0)!==n.dismissedAtCoordinate.y)&&r(hx(hx({},n),{},{dismissed:!1}));var{cssClasses:i,cssProperties:a}=qne({allowEscapeViewBox:e.allowEscapeViewBox,coordinate:e.coordinate,offsetLeft:typeof e.offset==`number`?e.offset:e.offset.x,offsetTop:typeof e.offset==`number`?e.offset:e.offset.y,position:e.position,reverseDirection:e.reverseDirection,tooltipBox:{height:e.lastBoundingBox.height,width:e.lastBoundingBox.width},useTranslate3d:e.useTranslate3d,viewBox:e.viewBox}),o=hx(hx({},e.hasPortalFromProps?{}:hx(hx({transition:Qne({prefersReducedMotion:t,isAnimationActive:e.isAnimationActive,active:e.active,animationDuration:e.animationDuration,animationEasing:e.animationEasing})},a),{},{pointerEvents:`none`,position:`absolute`,top:0,left:0})),{},{visibility:!n.dismissed&&e.active&&e.hasPayload?`visible`:`hidden`},e.wrapperStyle);return gx.createElement(`div`,{xmlns:`http://www.w3.org/1999/xhtml`,tabIndex:-1,className:i,style:o,ref:e.innerRef},e.children)}var gx,_x,ere=o((()=>{gx=u(f()),Jne(),px(),_x=gx.memo($ne)})),vx,yx=o((()=>{Y(),vx=()=>J(e=>e.rootProps.accessibilityLayer)??!0}));function bx(){return bx=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},bx.apply(null,arguments)}function xx(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Sx(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?xx(Object(n),!0).forEach(function(t){tre(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):xx(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function tre(e,t,n){return(t=nre(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function nre(e){var t=rre(e,`string`);return typeof t==`symbol`?t:t+``}function rre(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var Cx,wx,Tx,Ex,Dx,Ox,kx,Ax,jx,Mx,Nx=o((()=>{Cx=u(f()),Hf(),Pu(),Mp(),q(),D_(),Wu(),py(),wx={curveBasisClosed:xee,curveBasisOpen:Cee,curveBasis:bee,curveBumpX:gee,curveBumpY:_ee,curveLinearClosed:Tee,curveLinear:Ld,curveMonotoneX:Dee,curveMonotoneY:Oee,curveNatural:Aee,curveStep:Mee,curveStepAfter:Pee,curveStepBefore:Nee},Tx=e=>Z(e.x)&&Z(e.y),Ex=e=>e.base!=null&&Tx(e.base)&&Tx(e),Dx=e=>e.x,Ox=e=>e.y,kx=(e,t)=>{if(typeof e==`function`)return e;var n=`curve${pp(e)}`;if((n===`curveMonotone`||n===`curveBump`)&&t){var r=wx[`${n}${t===`vertical`?`Y`:`X`}`];if(r)return r}return wx[n]||Ld},Ax={connectNulls:!1,type:`linear`},jx=e=>{var{type:t=Ax.type,points:n=[],baseLine:r,layout:i,connectNulls:a=Ax.connectNulls}=e,o=kx(t,i),s=a?n.filter(Tx):n;if(Array.isArray(r)){var c,l=n.map((e,t)=>Sx(Sx({},e),{},{base:r[t]}));return c=i===`vertical`?Wd().y(Ox).x1(Dx).x0(e=>e.base.x):Wd().x(Dx).y1(Ox).y0(e=>e.base.y),c.defined(Ex).curve(o)(a?l.filter(Ex):l)}return(i===`vertical`&&K(r)?Wd().y(Ox).x1(Dx).x0(r):K(r)?Wd().x(Dx).y1(Ox).y0(r):Hd().x(Dx).y(Ox)).defined(Tx).curve(o)(s)},Mx=e=>{var{className:t,points:n,path:r,pathRef:i}=e,a=oy();if((!n||!n.length)&&!r)return null;var o={type:e.type,points:e.points,baseLine:e.baseLine,layout:e.layout||a,connectNulls:e.connectNulls},s=n&&n.length?jx(o):r;return Cx.createElement(`path`,bx({},Bu(e),Op(e),{className:U(`recharts-curve`,t),d:s===null?void 0:s,ref:i}))}}));function Px(){return Px=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Px.apply(null,arguments)}function Fx(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function ire(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?Fx(Object(n),!0).forEach(function(t){are(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Fx(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function are(e,t,n){return(t=ore(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ore(e){var t=sre(e,`string`);return typeof t==`symbol`?t:t+``}function sre(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function cre(e,t){if(e==null)return{};var n,r,i=lre(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function lre(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}var Ix,Lx,Rx,zx,Bx=o((()=>{Ix=u(f()),Pu(),q(),qu(),Lx=[`x`,`y`,`top`,`left`,`width`,`height`,`className`],Rx=(e,t,n,r,i,a)=>`M${e},${i}v${r}M${a},${t}h${n}`,zx=e=>{var{x:t=0,y:n=0,top:r=0,left:i=0,width:a=0,height:o=0,className:s}=e,c=cre(e,Lx),l=ire({x:t,y:n,top:r,left:i,width:a,height:o},c);return!K(t)||!K(n)||!K(a)||!K(o)||!K(r)||!K(i)?null:Ix.createElement(`path`,Px({},Gu(l),{className:U(`recharts-cross`,s),d:Rx(t,n,a,o,r,i)}))}}));function ure(e,t,n,r){var i=r/2;return{stroke:`none`,fill:`#ccc`,x:e===`horizontal`?t.x-i:n.left+.5,y:e===`horizontal`?n.top+.5:t.y-i,width:e===`horizontal`?r:n.width-1,height:e===`horizontal`?n.height-1:r}}var dre=o((()=>{}));function Vx(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Hx(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?Vx(Object(n),!0).forEach(function(t){fre(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Vx(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function fre(e,t,n){return(t=pre(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function pre(e){var t=mre(e,`string`);return typeof t==`symbol`?t:t+``}function mre(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var Ux,Wx,Gx,Kx,qx=o((()=>{Ux=e=>e.replace(/([A-Z])/g,e=>`-${e.toLowerCase()}`),Wx=(e,t,n)=>e.map(e=>`${Ux(e)} ${t}ms ${n}`).join(`,`),Gx=(e,t)=>[Object.keys(e),Object.keys(t)].reduce((e,t)=>e.filter(e=>t.includes(e))),Kx=(e,t)=>Object.keys(t).reduce((n,r)=>Hx(Hx({},n),{},{[r]:e(r,t[r])}),{})}));function Jx(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Yx(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?Jx(Object(n),!0).forEach(function(t){hre(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Jx(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function hre(e,t,n){return(t=gre(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function gre(e){var t=_re(e,`string`);return typeof t==`symbol`?t:t+``}function _re(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function vre(e,t,n,r,i,a){var o,s=r.reduce((n,r)=>Yx(Yx({},n),{},{[r]:{from:e[r],velocity:0,to:t[r]}}),{}),c=()=>Kx((e,t)=>t.from,s),l=()=>!Object.values(s).filter(Zx).length,u=null,d=r=>{o||=r;var f=(r-o)/n.dt;s=Qx(n,s,f),i(Yx(Yx(Yx({},e),t),c())),o=r,l()||(u=a.setTimeout(d))};return()=>(u=a.setTimeout(d),()=>{var e;(e=u)==null||e()})}function yre(e,t,n,r,i,a,o){var s=null,c=i.reduce((n,r)=>{var i=e[r],a=t[r];return i==null||a==null?n:Yx(Yx({},n),{},{[r]:[i,a]})},{}),l,u=i=>{l||=i;var d=(i-l)/r,f=Kx((e,t)=>Xx(...t,n(d)),c);if(a(Yx(Yx(Yx({},e),t),f)),d<1)s=o.setTimeout(u);else{var p=Kx((e,t)=>Xx(...t,n(1)),c);a(Yx(Yx(Yx({},e),t),p))}};return()=>(s=o.setTimeout(u),()=>{var e;(e=s)==null||e()})}var Xx,Zx,Qx,$x,bre=o((()=>{qx(),Xx=(e,t,n)=>e+(t-e)*n,Zx=e=>{var{from:t,to:n}=e;return t!==n},Qx=(e,t,n)=>{var r=Kx((t,n)=>{if(Zx(n)){var[r,i]=e(n.from,n.to,n.velocity);return Yx(Yx({},n),{},{from:r,velocity:i})}return n},t);return n<1?Kx((e,t)=>Zx(t)&&r[e]!=null?Yx(Yx({},t),{},{velocity:Xx(t.velocity,r[e].velocity,n),from:Xx(t.from,r[e].from,n)}):t,t):Qx(e,r,n-1)},$x=(e,t,n,r,i,a)=>{var o=Gx(e,t);return n==null?()=>(i(Yx(Yx({},e),t)),()=>{}):n.isStepper===!0?vre(e,t,n,o,i,a):yre(e,t,n,r,o,i,a)}})),eS,tS,nS,rS,iS,aS,oS,sS,cS,lS,xre=o((()=>{eS=(e,t)=>[0,3*e,3*t-6*e,3*e-3*t+1],tS=(e,t)=>e.map((e,n)=>e*t**n).reduce((e,t)=>e+t),nS=(e,t)=>n=>tS(eS(e,t),n),rS=(e,t)=>n=>tS([...eS(e,t).map((e,t)=>e*t).slice(1),0],n),iS=e=>{var t,n=e.split(`(`);if(n.length!==2||n[0]!==`cubic-bezier`)return null;var r=(t=n[1])==null||(t=t.split(`)`)[0])==null?void 0:t.split(`,`);if(r==null||r.length!==4)return null;var i=r.map(e=>parseFloat(e));return[i[0],i[1],i[2],i[3]]},aS=function(){var e=[...arguments];if(e.length===1)switch(e[0]){case`linear`:return[0,0,1,1];case`ease`:return[.25,.1,.25,1];case`ease-in`:return[.42,0,1,1];case`ease-out`:return[.42,0,.58,1];case`ease-in-out`:return[0,0,.58,1];default:var t=iS(e[0]);if(t)return t}return e.length===4?e:[0,0,1,1]},oS=(e,t,n,r)=>{var i=nS(e,n),a=nS(t,r),o=rS(e,n),s=e=>e>1?1:e<0?0:e,c=e=>{for(var t=e>1?1:e,n=t,r=0;r<8;++r){var c=i(n)-t,l=o(n);if(Math.abs(c-t)<1e-4||l<1e-4)return a(n);n=s(n-c/l)}return a(n)};return c.isStepper=!1,c},sS=function(){return oS(...aS(...arguments))},cS=function(){var{stiff:e=100,damping:t=8,dt:n=17}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=(r,i,a)=>{var o=a+(-(r-i)*e-a*t)*n/1e3,s=a*n/1e3+r;return Math.abs(s-i)<1e-4&&Math.abs(o)<1e-4?[i,0]:[s,o]};return r.isStepper=!0,r.dt=n,r},lS=e=>{if(typeof e==`string`)switch(e){case`ease`:case`ease-in-out`:case`ease-out`:case`ease-in`:case`linear`:return sS(e);case`spring`:return cS();default:if(e.split(`(`)[0]===`cubic-bezier`)return sS(e)}return typeof e==`function`?e:null}}));function Sre(e){var t,n=()=>null,r=!1,i=null,a=o=>{if(!r){if(Array.isArray(o)){if(!o.length)return;var[s,...c]=o;if(typeof s==`number`){i=e.setTimeout(a.bind(null,c),s);return}a(s),i=e.setTimeout(a.bind(null,c));return}typeof o==`string`&&(t=o,n(t)),typeof o==`object`&&(t=o,n(t)),typeof o==`function`&&o()}};return{stop:()=>{r=!0},start:e=>{r=!1,i&&=(i(),null),a(e)},subscribe:e=>(n=e,()=>{n=()=>null}),getTimeoutController:()=>e}}var Cre=o((()=>{})),uS,wre=o((()=>{uS=class{setTimeout(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n=performance.now(),r=null,i=a=>{a-n>=t?e(a):typeof requestAnimationFrame==`function`&&(r=requestAnimationFrame(i))};return r=requestAnimationFrame(i),()=>{r!=null&&cancelAnimationFrame(r)}}}}));function Tre(){return Sre(new uS)}var Ere=o((()=>{Cre(),wre()}));function dS(e,t){var n=(0,fS.useContext)(pS);return(0,fS.useMemo)(()=>t??n(e),[e,t,n])}var fS,pS,mS=o((()=>{fS=u(f()),Ere(),pS=(0,fS.createContext)(Tre)}));function hS(e){var t=Pp(e,_S),{isActive:n,canBegin:r,duration:i,easing:a,begin:o,onAnimationEnd:s,onAnimationStart:c,children:l}=t,u=dx(),d=n===`auto`?!lx.isSsr&&!u:n,f=dS(t.animationId,t.animationManager),[p,m]=(0,gS.useState)(d?vS:yS),h=(0,gS.useRef)(null);return(0,gS.useEffect)(()=>{d||m(yS)},[d]),(0,gS.useEffect)(()=>{if(!d||!r)return tp;var e=$x(vS,yS,lS(a),i,m,f.getTimeoutController());return f.start([c,o,()=>{h.current=e()},i,s]),()=>{f.stop(),h.current&&h.current(),s()}},[d,r,i,a,o,c,s,f]),l(p.t)}var gS,_S,vS,yS,bS=o((()=>{gS=u(f()),q(),Fp(),bre(),xre(),mS(),ux(),px(),_S={begin:0,duration:1e3,easing:`ease`,isActive:!0,canBegin:!0,onAnimationEnd:()=>{},onAnimationStart:()=>{}},vS={t:0},yS={t:1}}));function xS(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:`animation-`,n=(0,SS.useRef)(cp(t)),r=(0,SS.useRef)(e);return r.current!==e&&(n.current=cp(t),r.current=e),n.current}var SS,CS=o((()=>{SS=u(f()),q()}));function wS(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function TS(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?wS(Object(n),!0).forEach(function(t){ES(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):wS(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function ES(e,t,n){return(t=DS(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function DS(e){var t=OS(e,`string`);return typeof t==`symbol`?t:t+``}function OS(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function kS(){return kS=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},kS.apply(null,arguments)}function AS(e,t){if(e==null)return{};var n,r,i=jS(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function jS(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function MS(e,t){return t||=e.slice(0),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var NS,PS,FS,IS,LS,Dre,Ore,kre,Are,jre,Mre,Nre,Pre,Fre,RS,zS,BS,VS=o((()=>{NS=u(f()),PS=u(f()),Pu(),Fp(),bS(),q(),CS(),qx(),qu(),Qf(),FS=[`radius`],IS=[`radius`],RS=(e,t,n,r,i)=>{var a=Yf(n),o=Yf(r),s=Math.min(Math.abs(a)/2,Math.abs(o)/2),c=o>=0?1:-1,l=a>=0?1:-1,u=+(o>=0&&a>=0||o<0&&a<0),d;if(s>0&&Array.isArray(i)){for(var f=[0,0,0,0],p=0,m=4;p<m;p++){var h=i[p]??0;f[p]=h>s?s:h}d=Xf(LS||=MS([`M`,`,`,``]),e,t+c*f[0]),f[0]>0&&(d+=Xf(Dre||=MS([`A `,`,`,`,0,0,`,`,`,`,`,``]),f[0],f[0],u,e+l*f[0],t)),d+=Xf(Ore||=MS([`L `,`,`,``]),e+n-l*f[1],t),f[1]>0&&(d+=Xf(kre||=MS([`A `,`,`,`,0,0,`,`,\n `,`,`,``]),f[1],f[1],u,e+n,t+c*f[1])),d+=Xf(Are||=MS([`L `,`,`,``]),e+n,t+r-c*f[2]),f[2]>0&&(d+=Xf(jre||=MS([`A `,`,`,`,0,0,`,`,\n `,`,`,``]),f[2],f[2],u,e+n-l*f[2],t+r)),d+=Xf(Mre||=MS([`L `,`,`,``]),e+l*f[3],t+r),f[3]>0&&(d+=Xf(Nre||=MS([`A `,`,`,`,0,0,`,`,\n `,`,`,``]),f[3],f[3],u,e,t+r-c*f[3])),d+=`Z`}else if(s>0&&i===+i&&i>0){var g=Math.min(s,i);d=Xf(Pre||=MS(`M .,.\n A .,.,0,0,.,.,.\n L .,.\n A .,.,0,0,.,.,.\n L .,.\n A .,.,0,0,.,.,.\n L .,.\n A .,.,0,0,.,.,. Z`.split(`.`)),e,t+c*g,g,g,u,e+l*g,t,e+n-l*g,t,g,g,u,e+n,t+c*g,e+n,t+r-c*g,g,g,u,e+n-l*g,t+r,e+l*g,t+r,g,g,u,e,t+r-c*g)}else d=Xf(Fre||=MS([`M `,`,`,` h `,` v `,` h `,` Z`]),e,t,n,r,-n);return d},zS={x:0,y:0,width:0,height:0,radius:0,isAnimationActive:!1,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:`ease`},BS=e=>{var t=Pp(e,zS),n=(0,PS.useRef)(null),[r,i]=(0,PS.useState)(-1);(0,PS.useEffect)(()=>{if(n.current&&n.current.getTotalLength)try{var e=n.current.getTotalLength();e&&i(e)}catch{}},[]);var{x:a,y:o,width:s,height:c,radius:l,className:u}=t,{animationEasing:d,animationDuration:f,animationBegin:p,isAnimationActive:m,isUpdateAnimationActive:h}=t,g=(0,PS.useRef)(s),_=(0,PS.useRef)(c),v=(0,PS.useRef)(a),y=(0,PS.useRef)(o),b=xS((0,PS.useMemo)(()=>({x:a,y:o,width:s,height:c,radius:l}),[a,o,s,c,l]),`rectangle-`);if(a!==+a||o!==+o||s!==+s||c!==+c||s===0||c===0)return null;var x=U(`recharts-rectangle`,u);if(!h){var S=Gu(t),{radius:C}=S,w=AS(S,FS);return NS.createElement(`path`,kS({},w,{x:Yf(a),y:Yf(o),width:Yf(s),height:Yf(c),radius:typeof l==`number`?l:void 0,className:x,d:RS(a,o,s,c,l)}))}var T=g.current,E=_.current,D=v.current,O=y.current,k=`0px ${r===-1?1:r}px`,A=`${r}px ${r}px`,j=Wx([`strokeDasharray`],f,typeof d==`string`?d:zS.animationEasing);return NS.createElement(hS,{animationId:b,key:b,canBegin:r>0,duration:f,easing:d,isActive:h,begin:p},e=>{var r=G(T,s,e),i=G(E,c,e),u=G(D,a,e),d=G(O,o,e);n.current&&(g.current=r,_.current=i,v.current=u,y.current=d);var f=m?e>0?{transition:j,strokeDasharray:A}:{strokeDasharray:k}:{strokeDasharray:A},p=Gu(t),{radius:h}=p,b=AS(p,IS);return NS.createElement(`path`,kS({},b,{radius:typeof l==`number`?l:void 0,className:x,d:RS(u,d,r,i,l),ref:n,style:TS(TS({},f),t.style)}))})}}));function HS(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function US(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?HS(Object(n),!0).forEach(function(t){Ire(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):HS(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Ire(e,t,n){return(t=Lre(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Lre(e){var t=Rre(e,`string`);return typeof t==`symbol`?t:t+``}function Rre(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var WS,GS,KS,qS,JS,YS,XS,ZS,QS,$S,eC=o((()=>{WS=Math.PI/180,GS=e=>e*Math.PI/180,KS=e=>e*180/Math.PI,qS=(e,t,n,r)=>({x:e+Math.cos(-WS*r)*n,y:t+Math.sin(-WS*r)*n}),JS=function(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{top:0,right:0,bottom:0,left:0,width:0,height:0,brushBottom:0};return Math.min(Math.abs(e-(n.left||0)-(n.right||0)),Math.abs(t-(n.top||0)-(n.bottom||0)))/2},YS=(e,t)=>{var{x:n,y:r}=e,{x:i,y:a}=t;return Math.sqrt((n-i)**2+(r-a)**2)},XS=(e,t)=>{var{x:n,y:r}=e,{cx:i,cy:a}=t,o=YS({x:n,y:r},{x:i,y:a});if(o<=0)return{radius:o,angle:0};var s=(n-i)/o,c=Math.acos(s);return r>a&&(c=2*Math.PI-c),{radius:o,angle:KS(c),angleInRadian:c}},ZS=e=>{var{startAngle:t,endAngle:n}=e,r=Math.floor(t/360),i=Math.floor(n/360),a=Math.min(r,i);return{startAngle:t-a*360,endAngle:n-a*360}},QS=(e,t)=>{var{startAngle:n,endAngle:r}=t,i=Math.floor(n/360),a=Math.floor(r/360);return e+Math.min(i,a)*360},$S=(e,t)=>{var{relativeX:n,relativeY:r}=e,{radius:i,angle:a}=XS({x:n,y:r},t),{innerRadius:o,outerRadius:s}=t;if(i<o||i>s||i===0)return null;var{startAngle:c,endAngle:l}=ZS(t),u=a,d;if(c<=l){for(;u>l;)u-=360;for(;u<c;)u+=360;d=u>=c&&u<=l}else{for(;u>c;)u-=360;for(;u<l;)u+=360;d=u>=l&&u<=c}return d?US(US({},t),{},{radius:i,angle:QS(u,t)}):null}}));function tC(e){var{cx:t,cy:n,radius:r,startAngle:i,endAngle:a}=e;return{points:[qS(t,n,r,i),qS(t,n,r,a)],cx:t,cy:n,radius:r,startAngle:i,endAngle:a}}var nC=o((()=>{eC()}));function rC(){return rC=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},rC.apply(null,arguments)}function iC(e,t){return t||=e.slice(0),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var aC,zre,Bre,Vre,Hre,Ure,Wre,Gre,oC,sC,cC,lC,uC,dC,fC=o((()=>{aC=u(f()),Pu(),eC(),q(),Fp(),qu(),Qf(),oC=(e,t)=>rp(t-e)*Math.min(Math.abs(t-e),359.999),sC=e=>{var{cx:t,cy:n,radius:r,angle:i,sign:a,isExternal:o,cornerRadius:s,cornerIsExternal:c}=e,l=s*(o?1:-1)+r,u=Math.asin(s/l)/WS,d=c?i:i+a*u,f=qS(t,n,l,d),p=qS(t,n,r,d),m=c?i-a*u:i;return{center:f,circleTangency:p,lineTangency:qS(t,n,l*Math.cos(u*WS),m),theta:u}},cC=e=>{var{cx:t,cy:n,innerRadius:r,outerRadius:i,startAngle:a,endAngle:o}=e,s=oC(a,o),c=a+s,l=qS(t,n,i,a),u=qS(t,n,i,c),d=Xf(zre||=iC([`M `,`,`,`\n A `,`,`,`,0,\n `,`,`,`,\n `,`,`,`\n `]),l.x,l.y,i,i,+(Math.abs(s)>180),+(a>c),u.x,u.y);if(r>0){var f=qS(t,n,r,a),p=qS(t,n,r,c);d+=Xf(Bre||=iC([`L `,`,`,`\n A `,`,`,`,0,\n `,`,`,`,\n `,`,`,` Z`]),p.x,p.y,r,r,+(Math.abs(s)>180),+(a<=c),f.x,f.y)}else d+=Xf(Vre||=iC([`L `,`,`,` Z`]),t,n);return d},lC=e=>{var{cx:t,cy:n,innerRadius:r,outerRadius:i,cornerRadius:a,forceCornerRadius:o,cornerIsExternal:s,startAngle:c,endAngle:l}=e,u=rp(l-c),{circleTangency:d,lineTangency:f,theta:p}=sC({cx:t,cy:n,radius:i,angle:c,sign:u,cornerRadius:a,cornerIsExternal:s}),{circleTangency:m,lineTangency:h,theta:g}=sC({cx:t,cy:n,radius:i,angle:l,sign:-u,cornerRadius:a,cornerIsExternal:s}),_=s?Math.abs(c-l):Math.abs(c-l)-p-g;if(_<0)return o?Xf(Hre||=iC([`M `,`,`,`\n a`,`,`,`,0,0,1,`,`,0\n a`,`,`,`,0,0,1,`,`,0\n `]),f.x,f.y,a,a,a*2,a,a,-a*2):cC({cx:t,cy:n,innerRadius:r,outerRadius:i,startAngle:c,endAngle:l});var v=Xf(Ure||=iC([`M `,`,`,`\n A`,`,`,`,0,0,`,`,`,`,`,`\n A`,`,`,`,0,`,`,`,`,`,`,`,`\n A`,`,`,`,0,0,`,`,`,`,`,`\n `]),f.x,f.y,a,a,+(u<0),d.x,d.y,i,i,+(_>180),+(u<0),m.x,m.y,a,a,+(u<0),h.x,h.y);if(r>0){var{circleTangency:y,lineTangency:b,theta:x}=sC({cx:t,cy:n,radius:r,angle:c,sign:u,isExternal:!0,cornerRadius:a,cornerIsExternal:s}),{circleTangency:S,lineTangency:C,theta:w}=sC({cx:t,cy:n,radius:r,angle:l,sign:-u,isExternal:!0,cornerRadius:a,cornerIsExternal:s}),T=s?Math.abs(c-l):Math.abs(c-l)-x-w;if(T<0&&a===0)return`${v}L${t},${n}Z`;v+=Xf(Wre||=iC([`L`,`,`,`\n A`,`,`,`,0,0,`,`,`,`,`,`\n A`,`,`,`,0,`,`,`,`,`,`,`,`\n A`,`,`,`,0,0,`,`,`,`,`,`Z`]),C.x,C.y,a,a,+(u<0),S.x,S.y,r,r,+(T>180),+(u>0),y.x,y.y,a,a,+(u<0),b.x,b.y)}else v+=Xf(Gre||=iC([`L`,`,`,`Z`]),t,n);return v},uC={cx:0,cy:0,innerRadius:0,outerRadius:0,startAngle:0,endAngle:0,cornerRadius:0,forceCornerRadius:!1,cornerIsExternal:!1},dC=e=>{var t=Pp(e,uC),{cx:n,cy:r,innerRadius:i,outerRadius:a,cornerRadius:o,forceCornerRadius:s,cornerIsExternal:c,startAngle:l,endAngle:u,className:d}=t;if(a<i||l===u)return null;var f=U(`recharts-sector`,d),p=a-i,m=lp(o,p,0,!0),h=m>0&&Math.abs(l-u)<360?lC({cx:n,cy:r,innerRadius:i,outerRadius:a,cornerRadius:Math.min(m,p/2),forceCornerRadius:s,cornerIsExternal:c,startAngle:l,endAngle:u}):cC({cx:n,cy:r,innerRadius:i,outerRadius:a,startAngle:l,endAngle:u});return aC.createElement(`path`,rC({},Gu(t),{className:f,d:h}))}}));function Kre(e,t,n){if(e===`horizontal`)return[{x:t.x,y:n.top},{x:t.x,y:n.top+n.height}];if(e===`vertical`)return[{x:n.left,y:t.y},{x:n.left+n.width,y:t.y}];if(Dp(t)){if(e===`centric`){var{cx:r,cy:i,innerRadius:a,outerRadius:o,angle:s}=t,c=qS(r,i,a,s),l=qS(r,i,o,s);return[{x:c.x,y:c.y},{x:l.x,y:l.y}]}return tC(t)}}var qre=o((()=>{eC(),Mp(),nC()})),Jre=s((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=km();function n(e){return t.isSymbol(e)?NaN:Number(e)}e.toNumber=n})),pC=s((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=Jre();function n(e){return e?(e=t.toNumber(e),e===1/0||e===-1/0?(e<0?-1:1)*Number.MAX_VALUE:e===e?e:0):e===0?e:0}e.toFinite=n})),Yre=s((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=Nm(),n=pC();function r(e,r,i){i&&typeof i!=`number`&&t.isIterateeCall(e,r,i)&&(r=i=void 0),e=n.toFinite(e),r===void 0?(r=e,e=0):r=n.toFinite(r),i=i===void 0?e<r?1:-1:n.toFinite(i);let a=Math.max(Math.ceil((r-e)/(i||1)),0),o=Array(a);for(let t=0;t<a;t++)o[t]=e,e+=i;return o}e.range=r})),Xre=s(((e,t)=>{t.exports=Yre().range})),mC,hC,gC,_C,vC,yC,bC,xC=o((()=>{Dm(),mC=e=>e.chartData,hC=X([mC],e=>{var t=e.chartData==null?0:e.chartData.length-1;return{chartData:e.chartData,computedData:e.computedData,dataEndIndex:t,dataStartIndex:0}}),gC=(e,t,n,r)=>r?hC(e):mC(e),_C=(e,t,n)=>n?hC(e):mC(e),vC=X([gC],e=>{var{chartData:t,dataStartIndex:n,dataEndIndex:r}=e;return t==null?[]:t.slice(n,r+1)}),yC=X([hC],e=>{var{chartData:t,dataStartIndex:n,dataEndIndex:r}=e;return t==null?[]:t.slice(n,r+1)}),bC=X([mC],e=>{var{chartData:t,dataStartIndex:n,dataEndIndex:r}=e;return t==null?[]:t.slice(n,r+1)})}));function SC(e){if(Array.isArray(e)&&e.length===2){var[t,n]=e;if(Z(t)&&Z(n))return!0}return!1}function CC(e,t,n){return n?e:[Math.min(e[0],t[0]),Math.max(e[1],t[1])]}function wC(e,t){if(t&&typeof e!=`function`&&Array.isArray(e)&&e.length===2){var[n,r]=e,i,a;if(Z(n))i=n;else if(typeof n==`function`)return;if(Z(r))a=r;else if(typeof r==`function`)return;var o=[i,a];if(SC(o))return o}}function Zre(e,t,n){if(!(!n&&t==null)){if(typeof e==`function`&&t!=null)try{var r=e(t,n);if(SC(r))return CC(r,t,n)}catch{}if(Array.isArray(e)&&e.length===2){var[i,a]=e,o,s;if(i===`auto`)t!=null&&(o=Math.min(...t));else if(K(i))o=i;else if(typeof i==`function`)try{t!=null&&(o=i(t?.[0]))}catch{}else if(typeof i==`string`&&Z_.test(i)){var c=Z_.exec(i);if(c==null||c[1]==null||t==null)o=void 0;else{var l=+c[1];o=t[0]-l}}else o=t?.[0];if(a===`auto`)t!=null&&(s=Math.max(...t));else if(K(a))s=a;else if(typeof a==`function`)try{t!=null&&(s=a(t?.[1]))}catch{}else if(typeof a==`string`&&Q_.test(a)){var u=Q_.exec(a);if(u==null||u[1]==null||t==null)s=void 0;else{var d=+u[1];s=t[1]+d}}else s=t?.[1];var f=[o,s];if(SC(f))return t==null?f:CC(f,t,n)}}}var TC=o((()=>{nv(),q(),D_()})),EC=s(((e,t)=>{(function(e){var n=1e9,r={precision:20,rounding:4,toExpNeg:-7,toExpPos:21,LN10:`2.302585092994045684017991454684364207601101488628772976033327900967572609677352480235997205089598298341967784042286`},i=!0,a=`[DecimalError] `,o=a+`Invalid argument: `,s=a+`Exponent out of range: `,c=Math.floor,l=Math.pow,u=/^(\\d+(\\.\\d*)?|\\.\\d+)(e[+-]?\\d+)?$/i,d,f=1e7,p=7,m=9007199254740991,h=c(m/p),g={};g.absoluteValue=g.abs=function(){var e=new this.constructor(this);return e.s&&=1,e},g.comparedTo=g.cmp=function(e){var t,n,r,i,a=this;if(e=new a.constructor(e),a.s!==e.s)return a.s||-e.s;if(a.e!==e.e)return a.e>e.e^a.s<0?1:-1;for(r=a.d.length,i=e.d.length,t=0,n=r<i?r:i;t<n;++t)if(a.d[t]!==e.d[t])return a.d[t]>e.d[t]^a.s<0?1:-1;return r===i?0:r>i^a.s<0?1:-1},g.decimalPlaces=g.dp=function(){var e=this,t=e.d.length-1,n=(t-e.e)*p;if(t=e.d[t],t)for(;t%10==0;t/=10)n--;return n<0?0:n},g.dividedBy=g.div=function(e){return b(this,new this.constructor(e))},g.dividedToIntegerBy=g.idiv=function(e){var t=this,n=t.constructor;return D(b(t,new n(e),0,1),n.precision)},g.equals=g.eq=function(e){return!this.cmp(e)},g.exponent=function(){return S(this)},g.greaterThan=g.gt=function(e){return this.cmp(e)>0},g.greaterThanOrEqualTo=g.gte=function(e){return this.cmp(e)>=0},g.isInteger=g.isint=function(){return this.e>this.d.length-2},g.isNegative=g.isneg=function(){return this.s<0},g.isPositive=g.ispos=function(){return this.s>0},g.isZero=function(){return this.s===0},g.lessThan=g.lt=function(e){return this.cmp(e)<0},g.lessThanOrEqualTo=g.lte=function(e){return this.cmp(e)<1},g.logarithm=g.log=function(e){var t,n=this,r=n.constructor,o=r.precision,s=o+5;if(e===void 0)e=new r(10);else if(e=new r(e),e.s<1||e.eq(d))throw Error(a+`NaN`);if(n.s<1)throw Error(a+(n.s?`NaN`:`-Infinity`));return n.eq(d)?new r(0):(i=!1,t=b(T(n,s),T(e,s),s),i=!0,D(t,o))},g.minus=g.sub=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?O(t,e):_(t,(e.s=-e.s,e))},g.modulo=g.mod=function(e){var t,n=this,r=n.constructor,o=r.precision;if(e=new r(e),!e.s)throw Error(a+`NaN`);return n.s?(i=!1,t=b(n,e,0,1).times(e),i=!0,n.minus(t)):D(new r(n),o)},g.naturalExponential=g.exp=function(){return x(this)},g.naturalLogarithm=g.ln=function(){return T(this)},g.negated=g.neg=function(){var e=new this.constructor(this);return e.s=-e.s||0,e},g.plus=g.add=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?_(t,e):O(t,(e.s=-e.s,e))},g.precision=g.sd=function(e){var t,n,r,i=this;if(e!==void 0&&e!==!!e&&e!==1&&e!==0)throw Error(o+e);if(t=S(i)+1,r=i.d.length-1,n=r*p+1,r=i.d[r],r){for(;r%10==0;r/=10)n--;for(r=i.d[0];r>=10;r/=10)n++}return e&&t>n?t:n},g.squareRoot=g.sqrt=function(){var e,t,n,r,o,s,l,u=this,d=u.constructor;if(u.s<1){if(!u.s)return new d(0);throw Error(a+`NaN`)}for(e=S(u),i=!1,o=Math.sqrt(+u),o==0||o==1/0?(t=y(u.d),(t.length+e)%2==0&&(t+=`0`),o=Math.sqrt(t),e=c((e+1)/2)-(e<0||e%2),o==1/0?t=`5e`+e:(t=o.toExponential(),t=t.slice(0,t.indexOf(`e`)+1)+e),r=new d(t)):r=new d(o.toString()),n=d.precision,o=l=n+3;;)if(s=r,r=s.plus(b(u,s,l+2)).times(.5),y(s.d).slice(0,l)===(t=y(r.d)).slice(0,l)){if(t=t.slice(l-3,l+1),o==l&&t==`4999`){if(D(s,n+1,0),s.times(s).eq(u)){r=s;break}}else if(t!=`9999`)break;l+=4}return i=!0,D(r,n)},g.times=g.mul=function(e){var t,n,r,a,o,s,c,l,u,d=this,p=d.constructor,m=d.d,h=(e=new p(e)).d;if(!d.s||!e.s)return new p(0);for(e.s*=d.s,n=d.e+e.e,l=m.length,u=h.length,l<u&&(o=m,m=h,h=o,s=l,l=u,u=s),o=[],s=l+u,r=s;r--;)o.push(0);for(r=u;--r>=0;){for(t=0,a=l+r;a>r;)c=o[a]+h[r]*m[a-r-1]+t,o[a--]=c%f|0,t=c/f|0;o[a]=(o[a]+t)%f|0}for(;!o[--s];)o.pop();return t?++n:o.shift(),e.d=o,e.e=n,i?D(e,p.precision):e},g.toDecimalPlaces=g.todp=function(e,t){var r=this,i=r.constructor;return r=new i(r),e===void 0?r:(v(e,0,n),t===void 0?t=i.rounding:v(t,0,8),D(r,e+S(r)+1,t))},g.toExponential=function(e,t){var r,i=this,a=i.constructor;return e===void 0?r=k(i,!0):(v(e,0,n),t===void 0?t=a.rounding:v(t,0,8),i=D(new a(i),e+1,t),r=k(i,!0,e+1)),r},g.toFixed=function(e,t){var r,i,a=this,o=a.constructor;return e===void 0?k(a):(v(e,0,n),t===void 0?t=o.rounding:v(t,0,8),i=D(new o(a),e+S(a)+1,t),r=k(i.abs(),!1,e+S(i)+1),a.isneg()&&!a.isZero()?`-`+r:r)},g.toInteger=g.toint=function(){var e=this,t=e.constructor;return D(new t(e),S(e)+1,t.rounding)},g.toNumber=function(){return+this},g.toPower=g.pow=function(e){var t,n,r,o,s,l,u=this,f=u.constructor,h=12,g=+(e=new f(e));if(!e.s)return new f(d);if(u=new f(u),!u.s){if(e.s<1)throw Error(a+`Infinity`);return u}if(u.eq(d))return u;if(r=f.precision,e.eq(d))return D(u,r);if(t=e.e,n=e.d.length-1,l=t>=n,s=u.s,!l){if(s<0)throw Error(a+`NaN`)}else if((n=g<0?-g:g)<=m){for(o=new f(d),t=Math.ceil(r/p+4),i=!1;n%2&&(o=o.times(u),A(o.d,t)),n=c(n/2),n!==0;)u=u.times(u),A(u.d,t);return i=!0,e.s<0?new f(d).div(o):D(o,r)}return s=s<0&&e.d[Math.max(t,n)]&1?-1:1,u.s=1,i=!1,o=e.times(T(u,r+h)),i=!0,o=x(o),o.s=s,o},g.toPrecision=function(e,t){var r,i,a=this,o=a.constructor;return e===void 0?(r=S(a),i=k(a,r<=o.toExpNeg||r>=o.toExpPos)):(v(e,1,n),t===void 0?t=o.rounding:v(t,0,8),a=D(new o(a),e,t),r=S(a),i=k(a,e<=r||r<=o.toExpNeg,e)),i},g.toSignificantDigits=g.tosd=function(e,t){var r=this,i=r.constructor;return e===void 0?(e=i.precision,t=i.rounding):(v(e,1,n),t===void 0?t=i.rounding:v(t,0,8)),D(new i(r),e,t)},g.toString=g.valueOf=g.val=g.toJSON=function(){var e=this,t=S(e),n=e.constructor;return k(e,t<=n.toExpNeg||t>=n.toExpPos)};function _(e,t){var n,r,a,o,s,c,l,u,d=e.constructor,m=d.precision;if(!e.s||!t.s)return t.s||(t=new d(e)),i?D(t,m):t;if(l=e.d,u=t.d,s=e.e,a=t.e,l=l.slice(),o=s-a,o){for(o<0?(r=l,o=-o,c=u.length):(r=u,a=s,c=l.length),s=Math.ceil(m/p),c=s>c?s+1:c+1,o>c&&(o=c,r.length=1),r.reverse();o--;)r.push(0);r.reverse()}for(c=l.length,o=u.length,c-o<0&&(o=c,r=u,u=l,l=r),n=0;o;)n=(l[--o]=l[o]+u[o]+n)/f|0,l[o]%=f;for(n&&(l.unshift(n),++a),c=l.length;l[--c]==0;)l.pop();return t.d=l,t.e=a,i?D(t,m):t}function v(e,t,n){if(e!==~~e||e<t||e>n)throw Error(o+e)}function y(e){var t,n,r,i=e.length-1,a=``,o=e[0];if(i>0){for(a+=o,t=1;t<i;t++)r=e[t]+``,n=p-r.length,n&&(a+=w(n)),a+=r;o=e[t],r=o+``,n=p-r.length,n&&(a+=w(n))}else if(o===0)return`0`;for(;o%10==0;)o/=10;return a+o}var b=(function(){function e(e,t){var n,r=0,i=e.length;for(e=e.slice();i--;)n=e[i]*t+r,e[i]=n%f|0,r=n/f|0;return r&&e.unshift(r),e}function t(e,t,n,r){var i,a;if(n!=r)a=n>r?1:-1;else for(i=a=0;i<n;i++)if(e[i]!=t[i]){a=e[i]>t[i]?1:-1;break}return a}function n(e,t,n){for(var r=0;n--;)e[n]-=r,r=+(e[n]<t[n]),e[n]=r*f+e[n]-t[n];for(;!e[0]&&e.length>1;)e.shift()}return function(r,i,o,s){var c,l,u,d,m,h,g,_,v,y,b,x,C,w,T,E,O,k,A=r.constructor,j=r.s==i.s?1:-1,M=r.d,N=i.d;if(!r.s)return new A(r);if(!i.s)throw Error(a+`Division by zero`);for(l=r.e-i.e,O=N.length,T=M.length,g=new A(j),_=g.d=[],u=0;N[u]==(M[u]||0);)++u;if(N[u]>(M[u]||0)&&--l,x=o==null?o=A.precision:s?o+(S(r)-S(i))+1:o,x<0)return new A(0);if(x=x/p+2|0,u=0,O==1)for(d=0,N=N[0],x++;(u<T||d)&&x--;u++)C=d*f+(M[u]||0),_[u]=C/N|0,d=C%N|0;else{for(d=f/(N[0]+1)|0,d>1&&(N=e(N,d),M=e(M,d),O=N.length,T=M.length),w=O,v=M.slice(0,O),y=v.length;y<O;)v[y++]=0;k=N.slice(),k.unshift(0),E=N[0],N[1]>=f/2&&++E;do d=0,c=t(N,v,O,y),c<0?(b=v[0],O!=y&&(b=b*f+(v[1]||0)),d=b/E|0,d>1?(d>=f&&(d=f-1),m=e(N,d),h=m.length,y=v.length,c=t(m,v,h,y),c==1&&(d--,n(m,O<h?k:N,h))):(d==0&&(c=d=1),m=N.slice()),h=m.length,h<y&&m.unshift(0),n(v,m,y),c==-1&&(y=v.length,c=t(N,v,O,y),c<1&&(d++,n(v,O<y?k:N,y))),y=v.length):c===0&&(d++,v=[0]),_[u++]=d,c&&v[0]?v[y++]=M[w]||0:(v=[M[w]],y=1);while((w++<T||v[0]!==void 0)&&x--)}return _[0]||_.shift(),g.e=l,D(g,s?o+S(g)+1:o)}})();function x(e,t){var n,r,a,o,c,u,f=0,p=0,m=e.constructor,h=m.precision;if(S(e)>16)throw Error(s+S(e));if(!e.s)return new m(d);for(t==null?(i=!1,u=h):u=t,c=new m(.03125);e.abs().gte(.1);)e=e.times(c),p+=5;for(r=Math.log(l(2,p))/Math.LN10*2+5|0,u+=r,n=a=o=new m(d),m.precision=u;;){if(a=D(a.times(e),u),n=n.times(++f),c=o.plus(b(a,n,u)),y(c.d).slice(0,u)===y(o.d).slice(0,u)){for(;p--;)o=D(o.times(o),u);return m.precision=h,t==null?(i=!0,D(o,h)):o}o=c}}function S(e){for(var t=e.e*p,n=e.d[0];n>=10;n/=10)t++;return t}function C(e,t,n){if(t>e.LN10.sd())throw i=!0,n&&(e.precision=n),Error(a+`LN10 precision limit exceeded`);return D(new e(e.LN10),t)}function w(e){for(var t=``;e--;)t+=`0`;return t}function T(e,t){var n,r,o,s,c,l,u,f,p,m=1,h=10,g=e,_=g.d,v=g.constructor,x=v.precision;if(g.s<1)throw Error(a+(g.s?`NaN`:`-Infinity`));if(g.eq(d))return new v(0);if(t==null?(i=!1,f=x):f=t,g.eq(10))return t??(i=!0),C(v,f);if(f+=h,v.precision=f,n=y(_),r=n.charAt(0),s=S(g),Math.abs(s)<0x5543df729c000){for(;r<7&&r!=1||r==1&&n.charAt(1)>3;)g=g.times(e),n=y(g.d),r=n.charAt(0),m++;s=S(g),r>1?(g=new v(`0.`+n),s++):g=new v(r+`.`+n.slice(1))}else return u=C(v,f+2,x).times(s+``),g=T(new v(r+`.`+n.slice(1)),f-h).plus(u),v.precision=x,t==null?(i=!0,D(g,x)):g;for(l=c=g=b(g.minus(d),g.plus(d),f),p=D(g.times(g),f),o=3;;){if(c=D(c.times(p),f),u=l.plus(b(c,new v(o),f)),y(u.d).slice(0,f)===y(l.d).slice(0,f))return l=l.times(2),s!==0&&(l=l.plus(C(v,f+2,x).times(s+``))),l=b(l,new v(m),f),v.precision=x,t==null?(i=!0,D(l,x)):l;l=u,o+=2}}function E(e,t){var n,r,a;for((n=t.indexOf(`.`))>-1&&(t=t.replace(`.`,``)),(r=t.search(/e/i))>0?(n<0&&(n=r),n+=+t.slice(r+1),t=t.substring(0,r)):n<0&&(n=t.length),r=0;t.charCodeAt(r)===48;)++r;for(a=t.length;t.charCodeAt(a-1)===48;)--a;if(t=t.slice(r,a),t){if(a-=r,n=n-r-1,e.e=c(n/p),e.d=[],r=(n+1)%p,n<0&&(r+=p),r<a){for(r&&e.d.push(+t.slice(0,r)),a-=p;r<a;)e.d.push(+t.slice(r,r+=p));t=t.slice(r),r=p-t.length}else r-=a;for(;r--;)t+=`0`;if(e.d.push(+t),i&&(e.e>h||e.e<-h))throw Error(s+n)}else e.s=0,e.e=0,e.d=[0];return e}function D(e,t,n){var r,a,o,u,d,m,g,_,v=e.d;for(u=1,o=v[0];o>=10;o/=10)u++;if(r=t-u,r<0)r+=p,a=t,g=v[_=0];else{if(_=Math.ceil((r+1)/p),o=v.length,_>=o)return e;for(g=o=v[_],u=1;o>=10;o/=10)u++;r%=p,a=r-p+u}if(n!==void 0&&(o=l(10,u-a-1),d=g/o%10|0,m=t<0||v[_+1]!==void 0||g%o,m=n<4?(d||m)&&(n==0||n==(e.s<0?3:2)):d>5||d==5&&(n==4||m||n==6&&(r>0?a>0?g/l(10,u-a):0:v[_-1])%10&1||n==(e.s<0?8:7))),t<1||!v[0])return m?(o=S(e),v.length=1,t=t-o-1,v[0]=l(10,(p-t%p)%p),e.e=c(-t/p)||0):(v.length=1,v[0]=e.e=e.s=0),e;if(r==0?(v.length=_,o=1,_--):(v.length=_+1,o=l(10,p-r),v[_]=a>0?(g/l(10,u-a)%l(10,a)|0)*o:0),m)for(;;)if(_==0){(v[0]+=o)==f&&(v[0]=1,++e.e);break}else{if(v[_]+=o,v[_]!=f)break;v[_--]=0,o=1}for(r=v.length;v[--r]===0;)v.pop();if(i&&(e.e>h||e.e<-h))throw Error(s+S(e));return e}function O(e,t){var n,r,a,o,s,c,l,u,d,m,h=e.constructor,g=h.precision;if(!e.s||!t.s)return t.s?t.s=-t.s:t=new h(e),i?D(t,g):t;if(l=e.d,m=t.d,r=t.e,u=e.e,l=l.slice(),s=u-r,s){for(d=s<0,d?(n=l,s=-s,c=m.length):(n=m,r=u,c=l.length),a=Math.max(Math.ceil(g/p),c)+2,s>a&&(s=a,n.length=1),n.reverse(),a=s;a--;)n.push(0);n.reverse()}else{for(a=l.length,c=m.length,d=a<c,d&&(c=a),a=0;a<c;a++)if(l[a]!=m[a]){d=l[a]<m[a];break}s=0}for(d&&(n=l,l=m,m=n,t.s=-t.s),c=l.length,a=m.length-c;a>0;--a)l[c++]=0;for(a=m.length;a>s;){if(l[--a]<m[a]){for(o=a;o&&l[--o]===0;)l[o]=f-1;--l[o],l[a]+=f}l[a]-=m[a]}for(;l[--c]===0;)l.pop();for(;l[0]===0;l.shift())--r;return l[0]?(t.d=l,t.e=r,i?D(t,g):t):new h(0)}function k(e,t,n){var r,i=S(e),a=y(e.d),o=a.length;return t?(n&&(r=n-o)>0?a=a.charAt(0)+`.`+a.slice(1)+w(r):o>1&&(a=a.charAt(0)+`.`+a.slice(1)),a=a+(i<0?`e`:`e+`)+i):i<0?(a=`0.`+w(-i-1)+a,n&&(r=n-o)>0&&(a+=w(r))):i>=o?(a+=w(i+1-o),n&&(r=n-i-1)>0&&(a=a+`.`+w(r))):((r=i+1)<o&&(a=a.slice(0,r)+`.`+a.slice(r)),n&&(r=n-o)>0&&(i+1===o&&(a+=`.`),a+=w(r))),e.s<0?`-`+a:a}function A(e,t){if(e.length>t)return e.length=t,!0}function j(e){var t,n,r;function i(e){var t=this;if(!(t instanceof i))return new i(e);if(t.constructor=i,e instanceof i){t.s=e.s,t.e=e.e,t.d=(e=e.d)?e.slice():e;return}if(typeof e==`number`){if(e*0!=0)throw Error(o+e);if(e>0)t.s=1;else if(e<0)e=-e,t.s=-1;else{t.s=0,t.e=0,t.d=[0];return}if(e===~~e&&e<1e7){t.e=0,t.d=[e];return}return E(t,e.toString())}else if(typeof e!=`string`)throw Error(o+e);if(e.charCodeAt(0)===45?(e=e.slice(1),t.s=-1):t.s=1,u.test(e))E(t,e);else throw Error(o+e)}if(i.prototype=g,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=j,i.config=i.set=M,e===void 0&&(e={}),e)for(r=[`precision`,`rounding`,`toExpNeg`,`toExpPos`,`LN10`],t=0;t<r.length;)e.hasOwnProperty(n=r[t++])||(e[n]=this[n]);return i.config(e),i}function M(e){if(!e||typeof e!=`object`)throw Error(a+`Object expected`);var t,r,i,s=[`precision`,1,n,`rounding`,0,8,`toExpNeg`,-1/0,0,`toExpPos`,0,1/0];for(t=0;t<s.length;t+=3)if((i=e[r=s[t]])!==void 0)if(c(i)===i&&i>=s[t+1]&&i<=s[t+2])this[r]=i;else throw Error(o+r+`: `+i);if((i=e[r=`LN10`])!==void 0)if(i==Math.LN10)this[r]=new this(i);else throw Error(o+r+`: `+i);return this}r=j(r),r.default=r.Decimal=r,d=new r(1),typeof define==`function`&&define.amd?define(function(){return r}):t!==void 0&&t.exports?t.exports=r:(e||=typeof self<`u`&&self&&self.self==self?self:Function(`return this`)(),e.Decimal=r)})(e)}));function DC(e){return e===0?1:Math.floor(new kC.default(e).abs().log(10).toNumber())+1}function OC(e,t,n){for(var r=new kC.default(e),i=0,a=[];r.lt(t)&&i<1e5;)a.push(r.toNumber()),r=r.add(n),i++;return a}var kC,Qre=o((()=>{kC=u(EC())})),AC,jC,MC,NC,PC,FC,IC,LC,RC=o((()=>{AC=u(EC()),Qre(),jC=e=>{var[t,n]=e,[r,i]=[t,n];return t>n&&([r,i]=[n,t]),[r,i]},MC=(e,t,n)=>{if(e.lte(0))return new AC.default(0);var r=DC(e.toNumber()),i=new AC.default(10).pow(r),a=e.div(i),o=r===1?.1:.05,s=new AC.default(Math.ceil(a.div(o).toNumber())).add(n).mul(o).mul(i);return t?new AC.default(s.toNumber()):new AC.default(Math.ceil(s.toNumber()))},NC=(e,t,n)=>{if(e.lte(0))return new AC.default(0);var r=[1,2,2.5,5],i=e.toNumber(),a=Math.floor(new AC.default(i).abs().log(10).toNumber()),o=new AC.default(10).pow(a),s=e.div(o).toNumber(),c=r.findIndex(e=>e>=s-1e-10);if(c===-1&&(o=o.mul(10),c=0),c+=n,c>=r.length){var l=Math.floor(c/r.length);c%=r.length,o=o.mul(new AC.default(10).pow(l))}var u=new AC.default(r[c]??1).mul(o);return t?u:new AC.default(Math.ceil(u.toNumber()))},PC=(e,t,n)=>{var r=new AC.default(1),i=new AC.default(e);if(!i.isint()&&n){var a=Math.abs(e);a<1?(r=new AC.default(10).pow(DC(e)-1),i=new AC.default(Math.floor(i.div(r).toNumber())).mul(r)):a>1&&(i=new AC.default(Math.floor(e)))}else e===0?i=new AC.default(Math.floor((t-1)/2)):n||(i=new AC.default(Math.floor(e)));for(var o=Math.floor((t-1)/2),s=[],c=0;c<t;c++)s.push(i.add(new AC.default(c-o).mul(r)).toNumber());return s},FC=function(e,t,n,r){var i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:0,a=arguments.length>5&&arguments[5]!==void 0?arguments[5]:MC;if(!Number.isFinite((t-e)/(n-1)))return{step:new AC.default(0),tickMin:new AC.default(0),tickMax:new AC.default(0)};var o=a(new AC.default(t).sub(e).div(n-1),r,i),s;e<=0&&t>=0?s=new AC.default(0):(s=new AC.default(e).add(t).div(2),s=s.sub(new AC.default(s).mod(o)));var c=Math.ceil(s.sub(e).div(o).toNumber()),l=Math.ceil(new AC.default(t).sub(s).div(o).toNumber()),u=c+l+1;return u>n?FC(e,t,n,r,i+1,a):(u<n&&(l=t>0?l+(n-u):l,c=t>0?c:c+(n-u)),{step:o,tickMin:s.sub(new AC.default(c).mul(o)),tickMax:s.add(new AC.default(l).mul(o))})},IC=function(e){var[t,n]=e,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:6,i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:`auto`,o=Math.max(r,2),[s,c]=jC([t,n]);if(s===-1/0||c===1/0){var l=c===1/0?[s,...Array(r-1).fill(1/0)]:[...Array(r-1).fill(-1/0),c];return t>n?l.reverse():l}if(s===c)return PC(s,r,i);var{step:u,tickMin:d,tickMax:f}=FC(s,c,o,i,0,a===`snap125`?NC:MC),p=OC(d,f.add(new AC.default(.1).mul(u)),u);return t>n?p.reverse():p},LC=function(e,t){var[n,r]=e,i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:`auto`,[o,s]=jC([n,r]);if(o===-1/0||s===1/0)return[n,r];if(o===s)return[o];var c=a===`snap125`?NC:MC,l=Math.max(t,2),u=c(new AC.default(s).sub(o).div(l-1),i,0),d=[...OC(new AC.default(o),new AC.default(s),u),s];return i===!1&&(d=d.map(e=>Math.round(e))),n>r?d.reverse():d}})),$re=o((()=>{RC()})),zC,BC,VC,HC,UC,WC,GC,KC,qC,JC,YC,XC=o((()=>{zC=e=>e.rootProps.maxBarSize,BC=e=>e.rootProps.barGap,VC=e=>e.rootProps.barCategoryGap,HC=e=>e.rootProps.barSize,UC=e=>e.rootProps.stackOffset,WC=e=>e.rootProps.reverseStackOrder,GC=e=>e.options.chartName,KC=e=>e.rootProps.syncId,qC=e=>e.rootProps.syncMethod,JC=e=>e.options.eventEmitter,YC=e=>e.rootProps.baseValue})),ZC,QC=o((()=>{ZC={grid:-100,barBackground:-50,area:100,cursorRectangle:200,bar:300,line:400,axis:500,scatter:600,activeBar:1e3,cursorLine:1100,activeDot:1200,label:2e3}})),$C,ew=o((()=>{QC(),$C={allowDecimals:!1,allowDuplicatedCategory:!0,allowDataOverflow:!1,angle:0,angleAxisId:0,axisLine:!0,axisLineType:`polygon`,cx:0,cy:0,hide:!1,includeHidden:!1,label:!1,niceTicks:`auto`,orientation:`outer`,reversed:!1,scale:`auto`,tick:!0,tickLine:!0,tickSize:8,type:`auto`,zIndex:ZC.axis}})),tw,nw=o((()=>{QC(),tw={allowDataOverflow:!1,allowDecimals:!1,allowDuplicatedCategory:!0,angle:0,axisLine:!0,includeHidden:!1,hide:!1,niceTicks:`auto`,label:!1,orientation:`right`,radiusAxisId:0,reversed:!1,scale:`auto`,stroke:`#ccc`,tick:!0,tickCount:5,tickLine:!0,type:`auto`,zIndex:ZC.axis}})),rw,iw=o((()=>{rw=(e,t)=>{if(!(!e||!t))return e!=null&&e.reversed?[t[1],t[0]]:t}}));function aw(e,t,n){if(n!==`auto`)return n;if(e!=null)return R_(e,t)?`category`:`number`}var ow=o((()=>{nv()}));function sw(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function cw(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?sw(Object(n),!0).forEach(function(t){eie(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):sw(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function eie(e,t,n){return(t=tie(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function tie(e){var t=nie(e,`string`);return typeof t==`symbol`?t:t+``}function nie(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var lw,uw,dw,fw,pw,mw,hw,gw,_w,vw,yw,bw,xw,Sw,Cw,ww,Tw=o((()=>{Dm(),sv(),xv(),eC(),q(),ew(),nw(),iw(),py(),ow(),lw={allowDataOverflow:$C.allowDataOverflow,allowDecimals:$C.allowDecimals,allowDuplicatedCategory:!1,dataKey:void 0,domain:void 0,id:$C.angleAxisId,includeHidden:!1,name:void 0,reversed:$C.reversed,scale:$C.scale,tick:$C.tick,tickCount:void 0,ticks:void 0,type:$C.type,unit:void 0,niceTicks:`auto`},uw={allowDataOverflow:tw.allowDataOverflow,allowDecimals:tw.allowDecimals,allowDuplicatedCategory:tw.allowDuplicatedCategory,dataKey:void 0,domain:void 0,id:tw.radiusAxisId,includeHidden:tw.includeHidden,name:void 0,reversed:tw.reversed,scale:tw.scale,tick:tw.tick,tickCount:tw.tickCount,ticks:void 0,type:tw.type,unit:void 0,niceTicks:`auto`},dw=(e,t)=>{if(t!=null)return e.polarAxis.angleAxis[t]},fw=X([dw,cy],(e,t)=>{if(e!=null)return e;var n=aw(t,`angleAxis`,lw.type)??`category`;return cw(cw({},lw),{},{type:n})}),pw=(e,t)=>e.polarAxis.radiusAxis[t],mw=X([pw,cy],(e,t)=>{if(e!=null)return e;var n=aw(t,`radiusAxis`,uw.type)??`category`;return cw(cw({},uw),{},{type:n})}),hw=e=>e.polarOptions,gw=X([rv,iv,vv],JS),_w=X([hw,gw],(e,t)=>{if(e!=null)return lp(e.innerRadius,t,0)}),vw=X([hw,gw],(e,t)=>{if(e!=null)return lp(e.outerRadius,t,t*.8)}),yw=e=>{if(e==null)return[0,0];var{startAngle:t,endAngle:n}=e;return[t,n]},bw=X([hw],yw),xw=X([fw,bw],rw),Sw=X([gw,_w,vw],(e,t,n)=>{if(!(e==null||t==null||n==null))return[t,n]}),Cw=X([mw,Sw],rw),ww=X([Q,hw,_w,vw,rv,iv],(e,t,n,r,i,a)=>{if(!(e!==`centric`&&e!==`radial`||t==null||n==null||r==null)){var{cx:o,cy:s,startAngle:c,endAngle:l}=t;return{cx:lp(o,i,i/2),cy:lp(s,a,a/2),innerRadius:n,outerRadius:r,startAngle:c,endAngle:l,clockWise:!1}}})})),Ew,Dw=o((()=>{Ew=(e,t)=>t})),Ow,kw=o((()=>{Ow=(e,t,n)=>n}));function Aw(e){return e?.id}var jw=o((()=>{}));function Mw(e,t,n){var{chartData:r=[]}=t,{allowDuplicatedCategory:i,dataKey:a}=n,o=new Map;return e.forEach(e=>{var t=e.data??r;if(!(t==null||t.length===0)){var n=Aw(e);t.forEach((t,r)=>{var s=a==null||i?r:String(A_(t,a,null)),c=A_(t,e.dataKey,0),l=o.has(s)?o.get(s):{};Object.assign(l,{[n]:c}),o.set(s,l)})}}),Array.from(o.values())}var Nw=o((()=>{jw(),nv()}));function Pw(e){return`stackId`in e&&e.stackId!=null&&e.dataKey!=null}var Fw=o((()=>{})),Iw,Lw=o((()=>{Iw=(e,t)=>e===t?!0:e==null||t==null?!1:e[0]===t[0]&&e[1]===t[1]}));function Rw(e,t){return Array.isArray(e)&&Array.isArray(t)&&e.length===0&&t.length===0?!0:e===t}function zw(e,t){if(e.length===t.length){for(var n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}return!1}var Bw=o((()=>{})),Vw,Hw=o((()=>{py(),Vw=e=>{var t=Q(e);return t===`horizontal`?`xAxis`:t===`vertical`?`yAxis`:t===`centric`?`angleAxis`:`radiusAxis`}})),Uw,Ww=o((()=>{Uw=e=>e.tooltip.settings.axisId}));function Gw(e){if(e!=null){var t=e.ticks,n=e.bandwidth,r=e.range(),i=[Math.min(...r),Math.max(...r)];return{domain:()=>e.domain(),range:function(e){function t(){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}(()=>i),rangeMin:()=>i[0],rangeMax:()=>i[1],isInRange(e){var t=i[0],n=i[1];return t<=n?e>=t&&e<=n:e>=n&&e<=t},bandwidth:n?()=>n.call(e):void 0,ticks:t?n=>t.call(e,n):void 0,map:(t,n)=>{var r=e(t);if(r!=null){if(e.bandwidth&&n!=null&&n.position){var i=e.bandwidth();switch(n.position){case`middle`:r+=i/2;break;case`end`:r+=i;break;default:break}}return r}}}}}var Kw=o((()=>{})),qw,Jw=o((()=>{TC(),D_(),qw=(e,t)=>{if(t!=null)switch(e){case`linear`:if(!SC(t)){for(var n,r,i=0;i<t.length;i++){var a=t[i];Z(a)&&((n===void 0||a<n)&&(n=a),(r===void 0||a>r)&&(r=a))}return n!==void 0&&r!==void 0?[n,r]:void 0}return t;default:return t}}}));function Yw(e,t){return e==null||t==null?NaN:e<t?-1:e>t?1:e>=t?0:NaN}var Xw=o((()=>{}));function Zw(e,t){return e==null||t==null?NaN:t<e?-1:t>e?1:t>=e?0:NaN}var Qw=o((()=>{}));function $w(e){let t,n,r;e.length===2?(t=e===Yw||e===Zw?e:eT,n=e,r=e):(t=Yw,n=(t,n)=>Yw(e(t),n),r=(t,n)=>e(t)-n);function i(e,r,i=0,a=e.length){if(i<a){if(t(r,r)!==0)return a;do{let t=i+a>>>1;n(e[t],r)<0?i=t+1:a=t}while(i<a)}return i}function a(e,r,i=0,a=e.length){if(i<a){if(t(r,r)!==0)return a;do{let t=i+a>>>1;n(e[t],r)<=0?i=t+1:a=t}while(i<a)}return i}function o(e,t,n=0,a=e.length){let o=i(e,t,n,a-1);return o>n&&r(e[o-1],t)>-r(e[o],t)?o-1:o}return{left:i,center:o,right:a}}function eT(){return 0}var tT=o((()=>{Xw(),Qw()}));function nT(e){return e===null?NaN:+e}function*rT(e,t){if(t===void 0)for(let t of e)t!=null&&(t=+t)>=t&&(yield t);else{let n=-1;for(let r of e)(r=t(r,++n,e))!=null&&(r=+r)>=r&&(yield r)}}var iT=o((()=>{})),aT,oT,sT=o((()=>{Xw(),tT(),iT(),aT=$w(Yw),oT=aT.right,aT.left,$w(nT).center}));function cT(e,t){let n,r;if(t===void 0)for(let t of e)t!=null&&(n===void 0?t>=t&&(n=r=t):(n>t&&(n=t),r<t&&(r=t)));else{let i=-1;for(let a of e)(a=t(a,++i,e))!=null&&(n===void 0?a>=a&&(n=r=a):(n>a&&(n=a),r<a&&(r=a)))}return[n,r]}var lT=o((()=>{}));function uT({_intern:e,_key:t},n){let r=t(n);return e.has(r)?e.get(r):n}function dT({_intern:e,_key:t},n){let r=t(n);return e.has(r)?e.get(r):(e.set(r,n),n)}function fT({_intern:e,_key:t},n){let r=t(n);return e.has(r)&&(n=e.get(r),e.delete(r)),n}function pT(e){return typeof e==`object`&&e?e.valueOf():e}var mT,hT=o((()=>{mT=class extends Map{constructor(e,t=pT){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:t}}),e!=null)for(let[t,n]of e)this.set(t,n)}get(e){return super.get(uT(this,e))}has(e){return super.has(uT(this,e))}set(e,t){return super.set(dT(this,e),t)}delete(e){return super.delete(fT(this,e))}}}));function gT(e=Yw){if(e===Yw)return _T;if(typeof e!=`function`)throw TypeError(`compare is not a function`);return(t,n)=>{let r=e(t,n);return r||r===0?r:(e(n,n)===0)-(e(t,t)===0)}}function _T(e,t){return(e==null||!(e>=e))-(t==null||!(t>=t))||(e<t?-1:+(e>t))}var vT=o((()=>{Xw()}));function yT(e,t,n){let r=(t-e)/Math.max(0,n),i=Math.floor(Math.log10(r)),a=r/10**i,o=a>=CT?10:a>=wT?5:a>=TT?2:1,s,c,l;return i<0?(l=10**-i/o,s=Math.round(e*l),c=Math.round(t*l),s/l<e&&++s,c/l>t&&--c,l=-l):(l=10**i*o,s=Math.round(e/l),c=Math.round(t/l),s*l<e&&++s,c*l>t&&--c),c<s&&.5<=n&&n<2?yT(e,t,n*2):[s,c,l]}function bT(e,t,n){if(t=+t,e=+e,n=+n,!(n>0))return[];if(e===t)return[e];let r=t<e,[i,a,o]=r?yT(t,e,n):yT(e,t,n);if(!(a>=i))return[];let s=a-i+1,c=Array(s);if(r)if(o<0)for(let e=0;e<s;++e)c[e]=(a-e)/-o;else for(let e=0;e<s;++e)c[e]=(a-e)*o;else if(o<0)for(let e=0;e<s;++e)c[e]=(i+e)/-o;else for(let e=0;e<s;++e)c[e]=(i+e)*o;return c}function xT(e,t,n){return t=+t,e=+e,n=+n,yT(e,t,n)[2]}function ST(e,t,n){t=+t,e=+e,n=+n;let r=t<e,i=r?xT(t,e,n):xT(e,t,n);return(r?-1:1)*(i<0?1/-i:i)}var CT,wT,TT,ET=o((()=>{CT=Math.sqrt(50),wT=Math.sqrt(10),TT=Math.sqrt(2)}));function DT(e,t){let n;if(t===void 0)for(let t of e)t!=null&&(n<t||n===void 0&&t>=t)&&(n=t);else{let r=-1;for(let i of e)(i=t(i,++r,e))!=null&&(n<i||n===void 0&&i>=i)&&(n=i)}return n}var OT=o((()=>{}));function kT(e,t){let n;if(t===void 0)for(let t of e)t!=null&&(n>t||n===void 0&&t>=t)&&(n=t);else{let r=-1;for(let i of e)(i=t(i,++r,e))!=null&&(n>i||n===void 0&&i>=i)&&(n=i)}return n}var AT=o((()=>{}));function jT(e,t,n=0,r=1/0,i){if(t=Math.floor(t),n=Math.floor(Math.max(0,n)),r=Math.floor(Math.min(e.length-1,r)),!(n<=t&&t<=r))return e;for(i=i===void 0?_T:gT(i);r>n;){if(r-n>600){let a=r-n+1,o=t-n+1,s=Math.log(a),c=.5*Math.exp(2*s/3),l=.5*Math.sqrt(s*c*(a-c)/a)*(o-a/2<0?-1:1),u=Math.max(n,Math.floor(t-o*c/a+l)),d=Math.min(r,Math.floor(t+(a-o)*c/a+l));jT(e,t,u,d,i)}let a=e[t],o=n,s=r;for(MT(e,n,t),i(e[r],a)>0&&MT(e,n,r);o<s;){for(MT(e,o,s),++o,--s;i(e[o],a)<0;)++o;for(;i(e[s],a)>0;)--s}i(e[n],a)===0?MT(e,n,s):(++s,MT(e,s,r)),s<=t&&(n=s+1),t<=s&&(r=s-1)}return e}function MT(e,t,n){let r=e[t];e[t]=e[n],e[n]=r}var NT=o((()=>{vT()}));function PT(e,t,n){if(e=Float64Array.from(rT(e,n)),!(!(r=e.length)||isNaN(t=+t))){if(t<=0||r<2)return kT(e);if(t>=1)return DT(e);var r,i=(r-1)*t,a=Math.floor(i),o=DT(jT(e,a).subarray(0,a+1));return o+(kT(e.subarray(a+1))-o)*(i-a)}}function FT(e,t,n=nT){if(!(!(r=e.length)||isNaN(t=+t))){if(t<=0||r<2)return+n(e[0],0,e);if(t>=1)return+n(e[r-1],r-1,e);var r,i=(r-1)*t,a=Math.floor(i),o=+n(e[a],a,e);return o+(+n(e[a+1],a+1,e)-o)*(i-a)}}var IT=o((()=>{OT(),AT(),NT(),iT()}));function LT(e,t,n){e=+e,t=+t,n=(i=arguments.length)<2?(t=e,e=0,1):i<3?1:+n;for(var r=-1,i=Math.max(0,Math.ceil((t-e)/n))|0,a=Array(i);++r<i;)a[r]=e+r*n;return a}var RT=o((()=>{})),zT=o((()=>{sT(),Xw(),tT(),Qw(),lT(),hT(),vT(),ET(),IT(),OT(),AT(),NT(),RT()}));function BT(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e);break}return this}function VT(e,t){switch(arguments.length){case 0:break;case 1:typeof e==`function`?this.interpolator(e):this.range(e);break;default:this.domain(e),typeof t==`function`?this.interpolator(t):this.range(t);break}return this}var HT=o((()=>{}));function UT(){var e=new mT,t=[],n=[],r=WT;function i(i){let a=e.get(i);if(a===void 0){if(r!==WT)return r;e.set(i,a=t.push(i)-1)}return n[a%n.length]}return i.domain=function(n){if(!arguments.length)return t.slice();t=[],e=new mT;for(let r of n)e.has(r)||e.set(r,t.push(r)-1);return i},i.range=function(e){return arguments.length?(n=Array.from(e),i):n.slice()},i.unknown=function(e){return arguments.length?(r=e,i):r},i.copy=function(){return UT(t,n).unknown(r)},BT.apply(i,arguments),i}var WT,GT=o((()=>{zT(),HT(),WT=Symbol(`implicit`)}));function KT(){var e=UT().unknown(void 0),t=e.domain,n=e.range,r=0,i=1,a,o,s=!1,c=0,l=0,u=.5;delete e.unknown;function d(){var e=t().length,d=i<r,f=d?i:r,p=d?r:i;a=(p-f)/Math.max(1,e-c+l*2),s&&(a=Math.floor(a)),f+=(p-f-a*(e-c))*u,o=a*(1-c),s&&(f=Math.round(f),o=Math.round(o));var m=LT(e).map(function(e){return f+a*e});return n(d?m.reverse():m)}return e.domain=function(e){return arguments.length?(t(e),d()):t()},e.range=function(e){return arguments.length?([r,i]=e,r=+r,i=+i,d()):[r,i]},e.rangeRound=function(e){return[r,i]=e,r=+r,i=+i,s=!0,d()},e.bandwidth=function(){return o},e.step=function(){return a},e.round=function(e){return arguments.length?(s=!!e,d()):s},e.padding=function(e){return arguments.length?(c=Math.min(1,l=+e),d()):c},e.paddingInner=function(e){return arguments.length?(c=Math.min(1,e),d()):c},e.paddingOuter=function(e){return arguments.length?(l=+e,d()):l},e.align=function(e){return arguments.length?(u=Math.max(0,Math.min(1,e)),d()):u},e.copy=function(){return KT(t(),[r,i]).round(s).paddingInner(c).paddingOuter(l).align(u)},BT.apply(d(),arguments)}function qT(e){var t=e.copy;return e.padding=e.paddingOuter,delete e.paddingInner,delete e.paddingOuter,e.copy=function(){return qT(t())},e}function rie(){return qT(KT.apply(null,arguments).paddingInner(1))}var iie=o((()=>{zT(),HT(),GT()}));function JT(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function YT(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}var XT=o((()=>{}));function ZT(){}function QT(){return this.rgb().formatHex()}function aie(){return this.rgb().formatHex8()}function oie(){return dE(this).formatHsl()}function $T(){return this.rgb().formatRgb()}function eE(e){var t,n;return e=(e+``).trim().toLowerCase(),(t=xE.exec(e))?(n=t[1].length,t=parseInt(t[1],16),n===6?tE(t):n===3?new iE(t>>8&15|t>>4&240,t>>4&15|t&240,(t&15)<<4|t&15,1):n===8?nE(t>>24&255,t>>16&255,t>>8&255,(t&255)/255):n===4?nE(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|t&240,((t&15)<<4|t&15)/255):null):(t=SE.exec(e))?new iE(t[1],t[2],t[3],1):(t=CE.exec(e))?new iE(t[1]*255/100,t[2]*255/100,t[3]*255/100,1):(t=wE.exec(e))?nE(t[1],t[2],t[3],t[4]):(t=TE.exec(e))?nE(t[1]*255/100,t[2]*255/100,t[3]*255/100,t[4]):(t=EE.exec(e))?uE(t[1],t[2]/100,t[3]/100,1):(t=DE.exec(e))?uE(t[1],t[2]/100,t[3]/100,t[4]):OE.hasOwnProperty(e)?tE(OE[e]):e===`transparent`?new iE(NaN,NaN,NaN,0):null}function tE(e){return new iE(e>>16&255,e>>8&255,e&255,1)}function nE(e,t,n,r){return r<=0&&(e=t=n=NaN),new iE(e,t,n,r)}function sie(e){return e instanceof ZT||(e=eE(e)),e?(e=e.rgb(),new iE(e.r,e.g,e.b,e.opacity)):new iE}function rE(e,t,n,r){return arguments.length===1?sie(e):new iE(e,t,n,r??1)}function iE(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function aE(){return`#${lE(this.r)}${lE(this.g)}${lE(this.b)}`}function cie(){return`#${lE(this.r)}${lE(this.g)}${lE(this.b)}${lE((isNaN(this.opacity)?1:this.opacity)*255)}`}function oE(){let e=sE(this.opacity);return`${e===1?`rgb(`:`rgba(`}${cE(this.r)}, ${cE(this.g)}, ${cE(this.b)}${e===1?`)`:`, ${e})`}`}function sE(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function cE(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function lE(e){return e=cE(e),(e<16?`0`:``)+e.toString(16)}function uE(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new fE(e,t,n,r)}function dE(e){if(e instanceof fE)return new fE(e.h,e.s,e.l,e.opacity);if(e instanceof ZT||(e=eE(e)),!e)return new fE;if(e instanceof fE)return e;e=e.rgb();var t=e.r/255,n=e.g/255,r=e.b/255,i=Math.min(t,n,r),a=Math.max(t,n,r),o=NaN,s=a-i,c=(a+i)/2;return s?(o=t===a?(n-r)/s+(n<r)*6:n===a?(r-t)/s+2:(t-n)/s+4,s/=c<.5?a+i:2-a-i,o*=60):s=c>0&&c<1?0:o,new fE(o,s,c,e.opacity)}function lie(e,t,n,r){return arguments.length===1?dE(e):new fE(e,t,n,r??1)}function fE(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function pE(e){return e=(e||0)%360,e<0?e+360:e}function mE(e){return Math.max(0,Math.min(1,e||0))}function hE(e,t,n){return(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)*255}var gE,_E,vE,yE,bE,xE,SE,CE,wE,TE,EE,DE,OE,uie=o((()=>{XT(),gE=.7,_E=1/gE,vE=`\\\\s*([+-]?\\\\d+)\\\\s*`,yE=`\\\\s*([+-]?(?:\\\\d*\\\\.)?\\\\d+(?:[eE][+-]?\\\\d+)?)\\\\s*`,bE=`\\\\s*([+-]?(?:\\\\d*\\\\.)?\\\\d+(?:[eE][+-]?\\\\d+)?)%\\\\s*`,xE=/^#([0-9a-f]{3,8})$/,SE=RegExp(`^rgb\\\\(${vE},${vE},${vE}\\\\)$`),CE=RegExp(`^rgb\\\\(${bE},${bE},${bE}\\\\)$`),wE=RegExp(`^rgba\\\\(${vE},${vE},${vE},${yE}\\\\)$`),TE=RegExp(`^rgba\\\\(${bE},${bE},${bE},${yE}\\\\)$`),EE=RegExp(`^hsl\\\\(${yE},${bE},${bE}\\\\)$`),DE=RegExp(`^hsla\\\\(${yE},${bE},${bE},${yE}\\\\)$`),OE={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074},JT(ZT,eE,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:QT,formatHex:QT,formatHex8:aie,formatHsl:oie,formatRgb:$T,toString:$T}),JT(iE,rE,YT(ZT,{brighter(e){return e=e==null?_E:_E**+e,new iE(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=e==null?gE:gE**+e,new iE(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new iE(cE(this.r),cE(this.g),cE(this.b),sE(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:aE,formatHex:aE,formatHex8:cie,formatRgb:oE,toString:oE})),JT(fE,lie,YT(ZT,{brighter(e){return e=e==null?_E:_E**+e,new fE(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=e==null?gE:gE**+e,new fE(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,n=this.l,r=n+(n<.5?n:1-n)*t,i=2*n-r;return new iE(hE(e>=240?e-240:e+120,i,r),hE(e,i,r),hE(e<120?e+240:e-120,i,r),this.opacity)},clamp(){return new fE(pE(this.h),mE(this.s),mE(this.l),sE(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=sE(this.opacity);return`${e===1?`hsl(`:`hsla(`}${pE(this.h)}, ${mE(this.s)*100}%, ${mE(this.l)*100}%${e===1?`)`:`, ${e})`}`}}))})),kE=o((()=>{uie(),XT()})),AE=o((()=>{})),jE=o((()=>{AE()})),ME,NE=o((()=>{ME=e=>()=>e}));function die(e,t){return function(n){return e+n*t}}function fie(e,t,n){return e**=+n,t=t**+n-e,n=1/n,function(r){return(e+r*t)**+n}}function pie(e){return(e=+e)==1?PE:function(t,n){return n-t?fie(t,n,e):ME(isNaN(t)?n:t)}}function PE(e,t){var n=t-e;return n?die(e,n):ME(isNaN(e)?t:e)}var FE=o((()=>{NE()})),IE,LE=o((()=>{kE(),AE(),jE(),FE(),IE=(function e(t){var n=pie(t);function r(e,t){var r=n((e=rE(e)).r,(t=rE(t)).r),i=n(e.g,t.g),a=n(e.b,t.b),o=PE(e.opacity,t.opacity);return function(t){return e.r=r(t),e.g=i(t),e.b=a(t),e.opacity=o(t),e+``}}return r.gamma=e,r})(1)}));function mie(e,t){t||=[];var n=e?Math.min(t.length,e.length):0,r=t.slice(),i;return function(a){for(i=0;i<n;++i)r[i]=e[i]*(1-a)+t[i]*a;return r}}function hie(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}var RE=o((()=>{}));function gie(e,t){var n=t?t.length:0,r=e?Math.min(n,e.length):0,i=Array(r),a=Array(n),o;for(o=0;o<r;++o)i[o]=JE(e[o],t[o]);for(;o<n;++o)a[o]=t[o];return function(e){for(o=0;o<r;++o)a[o]=i[o](e);return a}}var zE=o((()=>{YE()}));function _ie(e,t){var n=new Date;return e=+e,t=+t,function(r){return n.setTime(e*(1-r)+t*r),n}}var BE=o((()=>{}));function VE(e,t){return e=+e,t=+t,function(n){return e*(1-n)+t*n}}var HE=o((()=>{}));function vie(e,t){var n={},r={},i;for(i in(typeof e!=`object`||!e)&&(e={}),(typeof t!=`object`||!t)&&(t={}),t)i in e?n[i]=JE(e[i],t[i]):r[i]=t[i];return function(e){for(i in n)r[i]=n[i](e);return r}}var UE=o((()=>{YE()}));function yie(e){return function(){return e}}function bie(e){return function(t){return e(t)+``}}function WE(e,t){var n=GE.lastIndex=KE.lastIndex=0,r,i,a,o=-1,s=[],c=[];for(e+=``,t+=``;(r=GE.exec(e))&&(i=KE.exec(t));)(a=i.index)>n&&(a=t.slice(n,a),s[o]?s[o]+=a:s[++o]=a),(r=r[0])===(i=i[0])?s[o]?s[o]+=i:s[++o]=i:(s[++o]=null,c.push({i:o,x:VE(r,i)})),n=KE.lastIndex;return n<t.length&&(a=t.slice(n),s[o]?s[o]+=a:s[++o]=a),s.length<2?c[0]?bie(c[0].x):yie(t):(t=c.length,function(e){for(var n=0,r;n<t;++n)s[(r=c[n]).i]=r.x(e);return s.join(``)})}var GE,KE,qE=o((()=>{HE(),GE=/[-+]?(?:\\d+\\.?\\d*|\\.?\\d+)(?:[eE][-+]?\\d+)?/g,KE=new RegExp(GE.source,`g`)}));function JE(e,t){var n=typeof t,r;return t==null||n===`boolean`?ME(t):(n===`number`?VE:n===`string`?(r=eE(t))?(t=r,IE):WE:t instanceof eE?IE:t instanceof Date?_ie:hie(t)?mie:Array.isArray(t)?gie:typeof t.valueOf!=`function`&&typeof t.toString!=`function`||isNaN(t)?vie:VE)(e,t)}var YE=o((()=>{kE(),LE(),zE(),BE(),HE(),UE(),qE(),NE(),RE()}));function XE(e,t){return e=+e,t=+t,function(n){return Math.round(e*(1-n)+t*n)}}var xie=o((()=>{}));function ZE(e,t,n,r,i,a){var o,s,c;return(o=Math.sqrt(e*e+t*t))&&(e/=o,t/=o),(c=e*n+t*r)&&(n-=e*c,r-=t*c),(s=Math.sqrt(n*n+r*r))&&(n/=s,r/=s,c/=s),e*r<t*n&&(e=-e,t=-t,c=-c,o=-o),{translateX:i,translateY:a,rotate:Math.atan2(t,e)*QE,skewX:Math.atan(c)*QE,scaleX:o,scaleY:s}}var QE,$E,Sie=o((()=>{QE=180/Math.PI,$E={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1}}));function Cie(e){let t=new(typeof DOMMatrix==`function`?DOMMatrix:WebKitCSSMatrix)(e+``);return t.isIdentity?$E:ZE(t.a,t.b,t.c,t.d,t.e,t.f)}function wie(e){return e==null||(eD||=document.createElementNS(`http://www.w3.org/2000/svg`,`g`),eD.setAttribute(`transform`,e),!(e=eD.transform.baseVal.consolidate()))?$E:(e=e.matrix,ZE(e.a,e.b,e.c,e.d,e.e,e.f))}var eD,Tie=o((()=>{Sie()}));function tD(e,t,n,r){function i(e){return e.length?e.pop()+` `:``}function a(e,r,i,a,o,s){if(e!==i||r!==a){var c=o.push(`translate(`,null,t,null,n);s.push({i:c-4,x:VE(e,i)},{i:c-2,x:VE(r,a)})}else (i||a)&&o.push(`translate(`+i+t+a+n)}function o(e,t,n,a){e===t?t&&n.push(i(n)+`rotate(`+t+r):(e-t>180?t+=360:t-e>180&&(e+=360),a.push({i:n.push(i(n)+`rotate(`,null,r)-2,x:VE(e,t)}))}function s(e,t,n,a){e===t?t&&n.push(i(n)+`skewX(`+t+r):a.push({i:n.push(i(n)+`skewX(`,null,r)-2,x:VE(e,t)})}function c(e,t,n,r,a,o){if(e!==n||t!==r){var s=a.push(i(a)+`scale(`,null,`,`,null,`)`);o.push({i:s-4,x:VE(e,n)},{i:s-2,x:VE(t,r)})}else (n!==1||r!==1)&&a.push(i(a)+`scale(`+n+`,`+r+`)`)}return function(t,n){var r=[],i=[];return t=e(t),n=e(n),a(t.translateX,t.translateY,n.translateX,n.translateY,r,i),o(t.rotate,n.rotate,r,i),s(t.skewX,n.skewX,r,i),c(t.scaleX,t.scaleY,n.scaleX,n.scaleY,r,i),t=n=null,function(e){for(var t=-1,n=i.length,a;++t<n;)r[(a=i[t]).i]=a.x(e);return r.join(``)}}}var nD,rD,Eie=o((()=>{HE(),Tie(),nD=tD(Cie,`px, `,`px)`,`deg)`),rD=tD(wie,`, `,`)`,`)`)}));function Die(e,t){t===void 0&&(t=e,e=JE);for(var n=0,r=t.length-1,i=t[0],a=Array(r<0?0:r);n<r;)a[n]=e(i,i=t[++n]);return function(e){var t=Math.max(0,Math.min(r-1,Math.floor(e*=r)));return a[t](e-t)}}var Oie=o((()=>{YE()})),iD=o((()=>{YE(),zE(),AE(),jE(),BE(),FE(),HE(),RE(),UE(),xie(),qE(),Eie(),LE(),kE(),Oie()}));function kie(e){return function(){return e}}var Aie=o((()=>{}));function aD(e){return+e}var oD=o((()=>{}));function sD(e){return e}function cD(e,t){return(t-=e=+e)?function(n){return(n-e)/t}:kie(isNaN(t)?NaN:.5)}function jie(e,t){var n;return e>t&&(n=e,e=t,t=n),function(n){return Math.max(e,Math.min(t,n))}}function Mie(e,t,n){var r=e[0],i=e[1],a=t[0],o=t[1];return i<r?(r=cD(i,r),a=n(o,a)):(r=cD(r,i),a=n(a,o)),function(e){return a(r(e))}}function Nie(e,t,n){var r=Math.min(e.length,t.length)-1,i=Array(r),a=Array(r),o=-1;for(e[r]<e[0]&&(e=e.slice().reverse(),t=t.slice().reverse());++o<r;)i[o]=cD(e[o],e[o+1]),a[o]=n(t[o],t[o+1]);return function(t){var n=oT(e,t,1,r)-1;return a[n](i[n](t))}}function lD(e,t){return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown())}function uD(){var e=fD,t=fD,n=JE,r,i,a,o=sD,s,c,l;function u(){var n=Math.min(e.length,t.length);return o!==sD&&(o=jie(e[0],e[n-1])),s=n>2?Nie:Mie,c=l=null,d}function d(i){return i==null||isNaN(i=+i)?a:(c||=s(e.map(r),t,n))(r(o(i)))}return d.invert=function(n){return o(i((l||=s(t,e.map(r),VE))(n)))},d.domain=function(t){return arguments.length?(e=Array.from(t,aD),u()):e.slice()},d.range=function(e){return arguments.length?(t=Array.from(e),u()):t.slice()},d.rangeRound=function(e){return t=Array.from(e),n=XE,u()},d.clamp=function(e){return arguments.length?(o=e?!0:sD,u()):o!==sD},d.interpolate=function(e){return arguments.length?(n=e,u()):n},d.unknown=function(e){return arguments.length?(a=e,d):a},function(e,t){return r=e,i=t,u()}}function dD(){return uD()(sD,sD)}var fD,pD=o((()=>{zT(),iD(),Aie(),oD(),fD=[0,1]}));function Pie(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString(`en`).replace(/,/g,``):e.toString(10)}function mD(e,t){if((n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf(`e`))<0)return null;var n,r=e.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+e.slice(n+1)]}var hD=o((()=>{}));function gD(e){return e=mD(Math.abs(e)),e?e[1]:NaN}var _D=o((()=>{hD()}));function Fie(e,t){return function(n,r){for(var i=n.length,a=[],o=0,s=e[0],c=0;i>0&&s>0&&(c+s+1>r&&(s=Math.max(1,r-c)),a.push(n.substring(i-=s,i+s)),!((c+=s+1)>r));)s=e[o=(o+1)%e.length];return a.reverse().join(t)}}var Iie=o((()=>{}));function Lie(e){return function(t){return t.replace(/[0-9]/g,function(t){return e[+t]})}}var Rie=o((()=>{}));function vD(e){if(!(t=bD.exec(e)))throw Error(`invalid format: `+e);var t;return new yD({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 yD(e){this.fill=e.fill===void 0?` `:e.fill+``,this.align=e.align===void 0?`>`:e.align+``,this.sign=e.sign===void 0?`-`:e.sign+``,this.symbol=e.symbol===void 0?``:e.symbol+``,this.zero=!!e.zero,this.width=e.width===void 0?void 0:+e.width,this.comma=!!e.comma,this.precision=e.precision===void 0?void 0:+e.precision,this.trim=!!e.trim,this.type=e.type===void 0?``:e.type+``}var bD,xD=o((()=>{bD=/^(?:(.)?([<>=^]))?([+\\-( ])?([$#])?(0)?(\\d+)?(,)?(\\.\\d+)?(~)?([a-z%])?$/i,vD.prototype=yD.prototype,yD.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?`0`:``)+(this.width===void 0?``:Math.max(1,this.width|0))+(this.comma?`,`:``)+(this.precision===void 0?``:`.`+Math.max(0,this.precision|0))+(this.trim?`~`:``)+this.type}}));function zie(e){out:for(var t=e.length,n=1,r=-1,i;n<t;++n)switch(e[n]){case`.`:r=i=n;break;case`0`:r===0&&(r=n),i=n;break;default:if(!+e[n])break out;r>0&&(r=0);break}return r>0?e.slice(0,r)+e.slice(i+1):e}var Bie=o((()=>{}));function Vie(e,t){var n=mD(e,t);if(!n)return e+``;var r=n[0],i=n[1],a=i-(SD=Math.max(-8,Math.min(8,Math.floor(i/3)))*3)+1,o=r.length;return a===o?r:a>o?r+Array(a-o+1).join(`0`):a>0?r.slice(0,a)+`.`+r.slice(a):`0.`+Array(1-a).join(`0`)+mD(e,Math.max(0,t+a-1))[0]}var SD,CD=o((()=>{hD()}));function wD(e,t){var n=mD(e,t);if(!n)return e+``;var r=n[0],i=n[1];return i<0?`0.`+Array(-i).join(`0`)+r:r.length>i+1?r.slice(0,i+1)+`.`+r.slice(i+1):r+Array(i-r.length+2).join(`0`)}var Hie=o((()=>{hD()})),TD,Uie=o((()=>{hD(),CD(),Hie(),TD={\"%\":function(e,t){return(e*100).toFixed(t)},b:function(e){return Math.round(e).toString(2)},c:function(e){return e+``},d:Pie,e:function(e,t){return e.toExponential(t)},f:function(e,t){return e.toFixed(t)},g:function(e,t){return e.toPrecision(t)},o:function(e){return Math.round(e).toString(8)},p:function(e,t){return wD(e*100,t)},r:wD,s:Vie,X:function(e){return Math.round(e).toString(16).toUpperCase()},x:function(e){return Math.round(e).toString(16)}}}));function ED(e){return e}var Wie=o((()=>{}));function Gie(e){var t=e.grouping===void 0||e.thousands===void 0?ED:Fie(DD.call(e.grouping,Number),e.thousands+``),n=e.currency===void 0?``:e.currency[0]+``,r=e.currency===void 0?``:e.currency[1]+``,i=e.decimal===void 0?`.`:e.decimal+``,a=e.numerals===void 0?ED:Lie(DD.call(e.numerals,String)),o=e.percent===void 0?`%`:e.percent+``,s=e.minus===void 0?`-`:e.minus+``,c=e.nan===void 0?`NaN`:e.nan+``;function l(e){e=vD(e);var l=e.fill,u=e.align,d=e.sign,f=e.symbol,p=e.zero,m=e.width,h=e.comma,g=e.precision,_=e.trim,v=e.type;v===`n`?(h=!0,v=`g`):TD[v]||(g===void 0&&(g=12),_=!0,v=`g`),(p||l===`0`&&u===`=`)&&(p=!0,l=`0`,u=`=`);var y=f===`$`?n:f===`#`&&/[boxX]/.test(v)?`0`+v.toLowerCase():``,b=f===`$`?r:/[%p]/.test(v)?o:``,x=TD[v],S=/[defgprs%]/.test(v);g=g===void 0?6:/[gprs]/.test(v)?Math.max(1,Math.min(21,g)):Math.max(0,Math.min(20,g));function C(e){var n=y,r=b,o,f,C;if(v===`c`)r=x(e)+r,e=``;else{e=+e;var w=e<0||1/e<0;if(e=isNaN(e)?c:x(Math.abs(e),g),_&&(e=zie(e)),w&&+e==0&&d!==`+`&&(w=!1),n=(w?d===`(`?d:s:d===`-`||d===`(`?``:d)+n,r=(v===`s`?OD[8+SD/3]:``)+r+(w&&d===`(`?`)`:``),S){for(o=-1,f=e.length;++o<f;)if(C=e.charCodeAt(o),48>C||C>57){r=(C===46?i+e.slice(o+1):e.slice(o))+r,e=e.slice(0,o);break}}}h&&!p&&(e=t(e,1/0));var T=n.length+e.length+r.length,E=T<m?Array(m-T+1).join(l):``;switch(h&&p&&(e=t(E+e,E.length?m-r.length:1/0),E=``),u){case`<`:e=n+e+r+E;break;case`=`:e=n+E+e+r;break;case`^`:e=E.slice(0,T=E.length>>1)+n+e+r+E.slice(T);break;default:e=E+n+e+r;break}return a(e)}return C.toString=function(){return e+``},C}function u(e,t){var n=l((e=vD(e),e.type=`f`,e)),r=Math.max(-8,Math.min(8,Math.floor(gD(t)/3)))*3,i=10**-r,a=OD[8+r/3];return function(e){return n(i*e)+a}}return{format:l,formatPrefix:u}}var DD,OD,kD=o((()=>{_D(),Iie(),Rie(),xD(),Bie(),Uie(),CD(),Wie(),DD=Array.prototype.map,OD=[`y`,`z`,`a`,`f`,`p`,`n`,`µ`,`m`,``,`k`,`M`,`G`,`T`,`P`,`E`,`Z`,`Y`]}));function Kie(e){return AD=Gie(e),jD=AD.format,MD=AD.formatPrefix,AD}var AD,jD,MD,qie=o((()=>{kD(),Kie({decimal:`.`,thousands:`,`,grouping:[3],currency:[`$`,``],minus:`-`})}));function Jie(e){return Math.max(0,-gD(Math.abs(e)))}var Yie=o((()=>{_D()}));function Xie(e,t){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(gD(t)/3)))*3-gD(Math.abs(e)))}var Zie=o((()=>{_D()}));function Qie(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,gD(t)-gD(e))+1}var $ie=o((()=>{_D()})),ND=o((()=>{qie(),kD(),xD(),Yie(),Zie(),$ie()}));function PD(e,t,n,r){var i=ST(e,t,n),a;switch(r=vD(r??`,f`),r.type){case`s`:var o=Math.max(Math.abs(e),Math.abs(t));return r.precision==null&&!isNaN(a=Xie(i,o))&&(r.precision=a),MD(r,o);case``:case`e`:case`g`:case`p`:case`r`:r.precision==null&&!isNaN(a=Qie(i,Math.max(Math.abs(e),Math.abs(t))))&&(r.precision=a-(r.type===`e`));break;case`f`:case`%`:r.precision==null&&!isNaN(a=Jie(i))&&(r.precision=a-(r.type===`%`)*2);break}return jD(r)}var FD=o((()=>{zT(),ND()}));function ID(e){var t=e.domain;return e.ticks=function(e){var n=t();return bT(n[0],n[n.length-1],e??10)},e.tickFormat=function(e,n){var r=t();return PD(r[0],r[r.length-1],e??10,n)},e.nice=function(n){n??=10;var r=t(),i=0,a=r.length-1,o=r[i],s=r[a],c,l,u=10;for(s<o&&(l=o,o=s,s=l,l=i,i=a,a=l);u-- >0;){if(l=xT(o,s,n),l===c)return r[i]=o,r[a]=s,t(r);if(l>0)o=Math.floor(o/l)*l,s=Math.ceil(s/l)*l;else if(l<0)o=Math.ceil(o*l)/l,s=Math.floor(s*l)/l;else break;c=l}return e},e}function LD(){var e=dD();return e.copy=function(){return lD(e,LD())},BT.apply(e,arguments),ID(e)}var RD=o((()=>{zT(),pD(),HT(),FD()}));function zD(e){var t;function n(e){return e==null||isNaN(e=+e)?t:e}return n.invert=n,n.domain=n.range=function(t){return arguments.length?(e=Array.from(t,aD),n):e.slice()},n.unknown=function(e){return arguments.length?(t=e,n):t},n.copy=function(){return zD(e).unknown(t)},e=arguments.length?Array.from(e,aD):[0,1],ID(n)}var eae=o((()=>{RD(),oD()}));function BD(e,t){e=e.slice();var n=0,r=e.length-1,i=e[n],a=e[r],o;return a<i&&(o=n,n=r,r=o,o=i,i=a,a=o),e[n]=t.floor(i),e[r]=t.ceil(a),e}var VD=o((()=>{}));function HD(e){return Math.log(e)}function UD(e){return Math.exp(e)}function tae(e){return-Math.log(-e)}function nae(e){return-Math.exp(-e)}function rae(e){return isFinite(e)?+(`1e`+e):e<0?0:e}function iae(e){return e===10?rae:e===Math.E?Math.exp:t=>e**+t}function aae(e){return e===Math.E?Math.log:e===10&&Math.log10||e===2&&Math.log2||(e=Math.log(e),t=>Math.log(t)/e)}function WD(e){return(t,n)=>-e(-t,n)}function GD(e){let t=e(HD,UD),n=t.domain,r=10,i,a;function o(){return i=aae(r),a=iae(r),n()[0]<0?(i=WD(i),a=WD(a),e(tae,nae)):e(HD,UD),t}return t.base=function(e){return arguments.length?(r=+e,o()):r},t.domain=function(e){return arguments.length?(n(e),o()):n()},t.ticks=e=>{let t=n(),o=t[0],s=t[t.length-1],c=s<o;c&&([o,s]=[s,o]);let l=i(o),u=i(s),d,f,p=e==null?10:+e,m=[];if(!(r%1)&&u-l<p){if(l=Math.floor(l),u=Math.ceil(u),o>0){for(;l<=u;++l)for(d=1;d<r;++d)if(f=l<0?d/a(-l):d*a(l),!(f<o)){if(f>s)break;m.push(f)}}else for(;l<=u;++l)for(d=r-1;d>=1;--d)if(f=l>0?d/a(-l):d*a(l),!(f<o)){if(f>s)break;m.push(f)}m.length*2<p&&(m=bT(o,s,p))}else m=bT(l,u,Math.min(u-l,p)).map(a);return c?m.reverse():m},t.tickFormat=(e,n)=>{if(e??=10,n??=r===10?`s`:`,`,typeof n!=`function`&&(!(r%1)&&(n=vD(n)).precision==null&&(n.trim=!0),n=jD(n)),e===1/0)return n;let o=Math.max(1,r*e/t.ticks().length);return e=>{let t=e/a(Math.round(i(e)));return t*r<r-.5&&(t*=r),t<=o?n(e):``}},t.nice=()=>n(BD(n(),{floor:e=>a(Math.floor(i(e))),ceil:e=>a(Math.ceil(i(e)))})),t}function KD(){let e=GD(uD()).domain([1,10]);return e.copy=()=>lD(e,KD()).base(e.base()),BT.apply(e,arguments),e}var qD=o((()=>{zT(),ND(),VD(),pD(),HT()}));function JD(e){return function(t){return Math.sign(t)*Math.log1p(Math.abs(t/e))}}function YD(e){return function(t){return Math.sign(t)*Math.expm1(Math.abs(t))*e}}function XD(e){var t=1,n=e(JD(t),YD(t));return n.constant=function(n){return arguments.length?e(JD(t=+n),YD(t)):t},ID(n)}function ZD(){var e=XD(uD());return e.copy=function(){return lD(e,ZD()).constant(e.constant())},BT.apply(e,arguments)}var QD=o((()=>{RD(),pD(),HT()}));function $D(e){return function(t){return t<0?-((-t)**+e):t**+e}}function oae(e){return e<0?-Math.sqrt(-e):Math.sqrt(e)}function sae(e){return e<0?-e*e:e*e}function eO(e){var t=e(sD,sD),n=1;function r(){return n===1?e(sD,sD):n===.5?e(oae,sae):e($D(n),$D(1/n))}return t.exponent=function(e){return arguments.length?(n=+e,r()):n},ID(t)}function tO(){var e=eO(uD());return e.copy=function(){return lD(e,tO()).exponent(e.exponent())},BT.apply(e,arguments),e}function nO(){return tO.apply(null,arguments).exponent(.5)}var rO=o((()=>{RD(),pD(),HT()}));function iO(e){return Math.sign(e)*e*e}function cae(e){return Math.sign(e)*Math.sqrt(Math.abs(e))}function aO(){var e=dD(),t=[0,1],n=!1,r;function i(t){var i=cae(e(t));return isNaN(i)?r:n?Math.round(i):i}return i.invert=function(t){return e.invert(iO(t))},i.domain=function(t){return arguments.length?(e.domain(t),i):e.domain()},i.range=function(n){return arguments.length?(e.range((t=Array.from(n,aD)).map(iO)),i):t.slice()},i.rangeRound=function(e){return i.range(e).round(!0)},i.round=function(e){return arguments.length?(n=!!e,i):n},i.clamp=function(t){return arguments.length?(e.clamp(t),i):e.clamp()},i.unknown=function(e){return arguments.length?(r=e,i):r},i.copy=function(){return aO(e.domain(),t).round(n).clamp(e.clamp()).unknown(r)},BT.apply(i,arguments),ID(i)}var lae=o((()=>{pD(),HT(),RD(),oD()}));function oO(){var e=[],t=[],n=[],r;function i(){var r=0,i=Math.max(1,t.length);for(n=Array(i-1);++r<i;)n[r-1]=FT(e,r/i);return a}function a(e){return e==null||isNaN(e=+e)?r:t[oT(n,e)]}return a.invertExtent=function(r){var i=t.indexOf(r);return i<0?[NaN,NaN]:[i>0?n[i-1]:e[0],i<n.length?n[i]:e[e.length-1]]},a.domain=function(t){if(!arguments.length)return e.slice();e=[];for(let n of t)n!=null&&!isNaN(n=+n)&&e.push(n);return e.sort(Yw),i()},a.range=function(e){return arguments.length?(t=Array.from(e),i()):t.slice()},a.unknown=function(e){return arguments.length?(r=e,a):r},a.quantiles=function(){return n.slice()},a.copy=function(){return oO().domain(e).range(t).unknown(r)},BT.apply(a,arguments)}var uae=o((()=>{zT(),HT()}));function sO(){var e=0,t=1,n=1,r=[.5],i=[0,1],a;function o(e){return e!=null&&e<=e?i[oT(r,e,0,n)]:a}function s(){var i=-1;for(r=Array(n);++i<n;)r[i]=((i+1)*t-(i-n)*e)/(n+1);return o}return o.domain=function(n){return arguments.length?([e,t]=n,e=+e,t=+t,s()):[e,t]},o.range=function(e){return arguments.length?(n=(i=Array.from(e)).length-1,s()):i.slice()},o.invertExtent=function(a){var o=i.indexOf(a);return o<0?[NaN,NaN]:o<1?[e,r[0]]:o>=n?[r[n-1],t]:[r[o-1],r[o]]},o.unknown=function(e){return arguments.length&&(a=e),o},o.thresholds=function(){return r.slice()},o.copy=function(){return sO().domain([e,t]).range(i).unknown(a)},BT.apply(ID(o),arguments)}var dae=o((()=>{zT(),RD(),HT()}));function cO(){var e=[.5],t=[0,1],n,r=1;function i(i){return i!=null&&i<=i?t[oT(e,i,0,r)]:n}return i.domain=function(n){return arguments.length?(e=Array.from(n),r=Math.min(e.length,t.length-1),i):e.slice()},i.range=function(n){return arguments.length?(t=Array.from(n),r=Math.min(e.length,t.length-1),i):t.slice()},i.invertExtent=function(n){var r=t.indexOf(n);return[e[r-1],e[r]]},i.unknown=function(e){return arguments.length?(n=e,i):n},i.copy=function(){return cO().domain(e).range(t).unknown(n)},BT.apply(i,arguments)}var fae=o((()=>{zT(),HT()}));function lO(e,t,n,r){function i(t){return e(t=arguments.length===0?new Date:new Date(+t)),t}return i.floor=t=>(e(t=new Date(+t)),t),i.ceil=n=>(e(n=new Date(n-1)),t(n,1),e(n),n),i.round=e=>{let t=i(e),n=i.ceil(e);return e-t<n-e?t:n},i.offset=(e,n)=>(t(e=new Date(+e),n==null?1:Math.floor(n)),e),i.range=(n,r,a)=>{let o=[];if(n=i.ceil(n),a=a==null?1:Math.floor(a),!(n<r)||!(a>0))return o;let s;do o.push(s=new Date(+n)),t(n,a),e(n);while(s<n&&n<r);return o},i.filter=n=>lO(t=>{if(t>=t)for(;e(t),!n(t);)t.setTime(t-1)},(e,r)=>{if(e>=e)if(r<0)for(;++r<=0;)for(;t(e,-1),!n(e););else for(;--r>=0;)for(;t(e,1),!n(e););}),n&&(i.count=(t,r)=>(uO.setTime(+t),dO.setTime(+r),e(uO),e(dO),Math.floor(n(uO,dO))),i.every=e=>(e=Math.floor(e),!isFinite(e)||!(e>0)?null:e>1?i.filter(r?t=>r(t)%e===0:t=>i.count(0,t)%e===0):i)),i}var uO,dO,fO=o((()=>{uO=new Date,dO=new Date})),pO,mO=o((()=>{fO(),pO=lO(()=>{},(e,t)=>{e.setTime(+e+t)},(e,t)=>t-e),pO.every=e=>(e=Math.floor(e),!isFinite(e)||!(e>0)?null:e>1?lO(t=>{t.setTime(Math.floor(t/e)*e)},(t,n)=>{t.setTime(+t+n*e)},(t,n)=>(n-t)/e):pO),pO.range})),hO,gO,_O,vO,yO,bO,xO,SO=o((()=>{hO=1e3,gO=hO*60,_O=gO*60,vO=_O*24,yO=vO*7,bO=vO*30,xO=vO*365})),CO,wO=o((()=>{fO(),SO(),CO=lO(e=>{e.setTime(e-e.getMilliseconds())},(e,t)=>{e.setTime(+e+t*hO)},(e,t)=>(t-e)/hO,e=>e.getUTCSeconds()),CO.range})),TO,EO,DO=o((()=>{fO(),SO(),TO=lO(e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*hO)},(e,t)=>{e.setTime(+e+t*gO)},(e,t)=>(t-e)/gO,e=>e.getMinutes()),TO.range,EO=lO(e=>{e.setUTCSeconds(0,0)},(e,t)=>{e.setTime(+e+t*gO)},(e,t)=>(t-e)/gO,e=>e.getUTCMinutes()),EO.range})),OO,kO,AO=o((()=>{fO(),SO(),OO=lO(e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*hO-e.getMinutes()*gO)},(e,t)=>{e.setTime(+e+t*_O)},(e,t)=>(t-e)/_O,e=>e.getHours()),OO.range,kO=lO(e=>{e.setUTCMinutes(0,0,0)},(e,t)=>{e.setTime(+e+t*_O)},(e,t)=>(t-e)/_O,e=>e.getUTCHours()),kO.range})),jO,MO,NO,PO=o((()=>{fO(),SO(),jO=lO(e=>e.setHours(0,0,0,0),(e,t)=>e.setDate(e.getDate()+t),(e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*gO)/vO,e=>e.getDate()-1),jO.range,MO=lO(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/vO,e=>e.getUTCDate()-1),MO.range,NO=lO(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/vO,e=>Math.floor(e/vO)),NO.range}));function FO(e){return lO(t=>{t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)},(e,t)=>{e.setDate(e.getDate()+t*7)},(e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*gO)/yO)}function IO(e){return lO(t=>{t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t*7)},(e,t)=>(t-e)/yO)}var LO,RO,zO,BO,VO,HO,UO,WO,GO,KO,qO,JO,YO,XO,ZO=o((()=>{fO(),SO(),LO=FO(0),RO=FO(1),zO=FO(2),BO=FO(3),VO=FO(4),HO=FO(5),UO=FO(6),LO.range,RO.range,zO.range,BO.range,VO.range,HO.range,UO.range,WO=IO(0),GO=IO(1),KO=IO(2),qO=IO(3),JO=IO(4),YO=IO(5),XO=IO(6),WO.range,GO.range,KO.range,qO.range,JO.range,YO.range,XO.range})),QO,$O,ek=o((()=>{fO(),QO=lO(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()),QO.range,$O=lO(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()),$O.range})),tk,nk,rk=o((()=>{fO(),tk=lO(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()),tk.every=e=>!isFinite(e=Math.floor(e))||!(e>0)?null:lO(t=>{t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)},(t,n)=>{t.setFullYear(t.getFullYear()+n*e)}),tk.range,nk=lO(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()),nk.every=e=>!isFinite(e=Math.floor(e))||!(e>0)?null:lO(t=>{t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},(t,n)=>{t.setUTCFullYear(t.getUTCFullYear()+n*e)}),nk.range}));function ik(e,t,n,r,i,a){let o=[[CO,1,hO],[CO,5,5*hO],[CO,15,15*hO],[CO,30,30*hO],[a,1,gO],[a,5,5*gO],[a,15,15*gO],[a,30,30*gO],[i,1,_O],[i,3,3*_O],[i,6,6*_O],[i,12,12*_O],[r,1,vO],[r,2,2*vO],[n,1,yO],[t,1,bO],[t,3,3*bO],[e,1,xO]];function s(e,t,n){let r=t<e;r&&([e,t]=[t,e]);let i=n&&typeof n.range==`function`?n:c(e,t,n),a=i?i.range(e,+t+1):[];return r?a.reverse():a}function c(t,n,r){let i=Math.abs(n-t)/r,a=$w(([,,e])=>e).right(o,i);if(a===o.length)return e.every(ST(t/xO,n/xO,r));if(a===0)return pO.every(Math.max(ST(t,n,r),1));let[s,c]=o[i/o[a-1][2]<o[a][2]/i?a-1:a];return s.every(c)}return[s,c]}var ak,ok,sk,ck,pae=o((()=>{zT(),SO(),mO(),wO(),DO(),AO(),PO(),ZO(),ek(),rk(),[ak,ok]=ik(nk,$O,WO,NO,kO,EO),[sk,ck]=ik(tk,QO,LO,jO,OO,TO)})),lk=o((()=>{fO(),mO(),wO(),DO(),AO(),PO(),ZO(),ek(),rk(),pae()}));function uk(e,t,n,r){function i(t){return e(t=arguments.length===0?new Date:new Date(+t)),t}return i.floor=function(t){return e(t=new Date(+t)),t},i.ceil=function(n){return e(n=new Date(n-1)),t(n,1),e(n),n},i.round=function(e){var t=i(e),n=i.ceil(e);return e-t<n-e?t:n},i.offset=function(e,n){return t(e=new Date(+e),n==null?1:Math.floor(n)),e},i.range=function(n,r,a){var o=[],s;if(n=i.ceil(n),a=a==null?1:Math.floor(a),!(n<r)||!(a>0))return o;do o.push(s=new Date(+n)),t(n,a),e(n);while(s<n&&n<r);return o},i.filter=function(n){return uk(function(t){if(t>=t)for(;e(t),!n(t);)t.setTime(t-1)},function(e,r){if(e>=e)if(r<0)for(;++r<=0;)for(;t(e,-1),!n(e););else for(;--r>=0;)for(;t(e,1),!n(e););})},n&&(i.count=function(t,r){return dk.setTime(+t),fk.setTime(+r),e(dk),e(fk),Math.floor(n(dk,fk))},i.every=function(e){return e=Math.floor(e),!isFinite(e)||!(e>0)?null:e>1?i.filter(r?function(t){return r(t)%e===0}:function(t){return i.count(0,t)%e===0}):i}),i}var dk,fk,pk=o((()=>{dk=new Date,fk=new Date})),mk,hk,gk,_k=o((()=>{mk=6e4,hk=864e5,gk=6048e5})),vk,mae=o((()=>{pk(),_k(),vk=uk(function(e){e.setHours(0,0,0,0)},function(e,t){e.setDate(e.getDate()+t)},function(e,t){return(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*mk)/hk},function(e){return e.getDate()-1}),vk.range}));function yk(e){return uk(function(t){t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)},function(e,t){e.setDate(e.getDate()+t*7)},function(e,t){return(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*mk)/gk})}var bk,xk,Sk,Ck,wk,Tk,Ek,hae=o((()=>{pk(),_k(),bk=yk(0),xk=yk(1),Sk=yk(2),Ck=yk(3),wk=yk(4),Tk=yk(5),Ek=yk(6),bk.range,xk.range,Sk.range,Ck.range,wk.range,Tk.range,Ek.range})),Dk,gae=o((()=>{pk(),Dk=uk(function(e){e.setMonth(0,1),e.setHours(0,0,0,0)},function(e,t){e.setFullYear(e.getFullYear()+t)},function(e,t){return t.getFullYear()-e.getFullYear()},function(e){return e.getFullYear()}),Dk.every=function(e){return!isFinite(e=Math.floor(e))||!(e>0)?null:uk(function(t){t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)},function(t,n){t.setFullYear(t.getFullYear()+n*e)})},Dk.range})),Ok,_ae=o((()=>{pk(),_k(),Ok=uk(function(e){e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCDate(e.getUTCDate()+t)},function(e,t){return(t-e)/hk},function(e){return e.getUTCDate()-1}),Ok.range}));function kk(e){return uk(function(t){t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)},function(e,t){e.setUTCDate(e.getUTCDate()+t*7)},function(e,t){return(t-e)/gk})}var Ak,jk,Mk,Nk,Pk,Fk,Ik,vae=o((()=>{pk(),_k(),Ak=kk(0),jk=kk(1),Mk=kk(2),Nk=kk(3),Pk=kk(4),Fk=kk(5),Ik=kk(6),Ak.range,jk.range,Mk.range,Nk.range,Pk.range,Fk.range,Ik.range})),Lk,yae=o((()=>{pk(),Lk=uk(function(e){e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCFullYear(e.getUTCFullYear()+t)},function(e,t){return t.getUTCFullYear()-e.getUTCFullYear()},function(e){return e.getUTCFullYear()}),Lk.every=function(e){return!isFinite(e=Math.floor(e))||!(e>0)?null:uk(function(t){t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},function(t,n){t.setUTCFullYear(t.getUTCFullYear()+n*e)})},Lk.range})),bae=o((()=>{pk(),_k(),mae(),hae(),gae(),_ae(),vae(),yae()}));function Rk(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 zk(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 Bk(e,t,n){return{y:e,m:t,d:n,H:0,M:0,S:0,L:0}}function xae(e){var t=e.dateTime,n=e.date,r=e.time,i=e.periods,a=e.days,o=e.shortDays,s=e.months,c=e.shortMonths,l=Hk(i),u=Uk(i),d=Hk(a),f=Uk(a),p=Hk(o),m=Uk(o),h=Hk(s),g=Uk(s),_=Hk(c),v=Uk(c),y={a:N,A:ee,b:te,B:ne,c:null,d:tA,e:tA,f:Fae,g:Gae,G:qae,H:Mae,I:Nae,j:Pae,L:nA,m:Iae,M:Lae,p:re,q:ie,Q:cA,s:lA,S:Rae,u:zae,U:Bae,V:Vae,w:Hae,W:Uae,x:null,X:null,y:Wae,Y:Kae,Z:Jae,\"%\":sA},b={a:ae,A:oe,b:se,B:ce,c:null,d:iA,e:iA,f:Qae,g:coe,G:uoe,H:Yae,I:Xae,j:Zae,L:aA,m:$ae,M:eoe,p:P,q:le,Q:cA,s:lA,S:toe,u:noe,U:roe,V:ioe,w:aoe,W:ooe,x:null,X:null,y:soe,Y:loe,Z:doe,\"%\":sA},x={a:E,A:D,b:O,B:k,c:A,d:qk,e:qk,f:Zk,g:Kk,G:Gk,H:Jk,I:Jk,j:Aae,L:Xk,m:kae,M:jae,p:T,q:Oae,Q:$k,s:eA,S:Yk,u:Cae,U:wae,V:Tae,w:Wk,W:Eae,x:j,X:M,y:Kk,Y:Gk,Z:Dae,\"%\":Qk};y.x=S(n,y),y.X=S(r,y),y.c=S(t,y),b.x=S(n,b),b.X=S(r,b),b.c=S(t,b);function S(e,t){return function(n){var r=[],i=-1,a=0,o=e.length,s,c,l;for(n instanceof Date||(n=new Date(+n));++i<o;)e.charCodeAt(i)===37&&(r.push(e.slice(a,i)),(c=uA[s=e.charAt(++i)])==null?c=s===`e`?` `:`0`:s=e.charAt(++i),(l=t[s])&&(s=l(n,c)),r.push(s),a=i+1);return r.push(e.slice(a,i)),r.join(``)}}function C(e,t){return function(n){var r=Bk(1900,void 0,1),i=w(r,e,n+=``,0),a,o;if(i!=n.length)return null;if(`Q`in r)return new Date(r.Q);if(`s`in r)return new Date(r.s*1e3+(`L`in r?r.L:0));if(t&&!(`Z`in r)&&(r.Z=0),`p`in r&&(r.H=r.H%12+r.p*12),r.m===void 0&&(r.m=`q`in r?r.q:0),`V`in r){if(r.V<1||r.V>53)return null;`w`in r||(r.w=1),`Z`in r?(a=zk(Bk(r.y,0,1)),o=a.getUTCDay(),a=o>4||o===0?jk.ceil(a):jk(a),a=Ok.offset(a,(r.V-1)*7),r.y=a.getUTCFullYear(),r.m=a.getUTCMonth(),r.d=a.getUTCDate()+(r.w+6)%7):(a=Rk(Bk(r.y,0,1)),o=a.getDay(),a=o>4||o===0?xk.ceil(a):xk(a),a=vk.offset(a,(r.V-1)*7),r.y=a.getFullYear(),r.m=a.getMonth(),r.d=a.getDate()+(r.w+6)%7)}else (`W`in r||`U`in r)&&(`w`in r||(r.w=`u`in r?r.u%7:+(`W`in r)),o=`Z`in r?zk(Bk(r.y,0,1)).getUTCDay():Rk(Bk(r.y,0,1)).getDay(),r.m=0,r.d=`W`in r?(r.w+6)%7+r.W*7-(o+5)%7:r.w+r.U*7-(o+6)%7);return`Z`in r?(r.H+=r.Z/100|0,r.M+=r.Z%100,zk(r)):Rk(r)}}function w(e,t,n,r){for(var i=0,a=t.length,o=n.length,s,c;i<a;){if(r>=o)return-1;if(s=t.charCodeAt(i++),s===37){if(s=t.charAt(i++),c=x[s in uA?t.charAt(i++):s],!c||(r=c(e,n,r))<0)return-1}else if(s!=n.charCodeAt(r++))return-1}return r}function T(e,t,n){var r=l.exec(t.slice(n));return r?(e.p=u.get(r[0].toLowerCase()),n+r[0].length):-1}function E(e,t,n){var r=p.exec(t.slice(n));return r?(e.w=m.get(r[0].toLowerCase()),n+r[0].length):-1}function D(e,t,n){var r=d.exec(t.slice(n));return r?(e.w=f.get(r[0].toLowerCase()),n+r[0].length):-1}function O(e,t,n){var r=_.exec(t.slice(n));return r?(e.m=v.get(r[0].toLowerCase()),n+r[0].length):-1}function k(e,t,n){var r=h.exec(t.slice(n));return r?(e.m=g.get(r[0].toLowerCase()),n+r[0].length):-1}function A(e,n,r){return w(e,t,n,r)}function j(e,t,r){return w(e,n,t,r)}function M(e,t,n){return w(e,r,t,n)}function N(e){return o[e.getDay()]}function ee(e){return a[e.getDay()]}function te(e){return c[e.getMonth()]}function ne(e){return s[e.getMonth()]}function re(e){return i[+(e.getHours()>=12)]}function ie(e){return 1+~~(e.getMonth()/3)}function ae(e){return o[e.getUTCDay()]}function oe(e){return a[e.getUTCDay()]}function se(e){return c[e.getUTCMonth()]}function ce(e){return s[e.getUTCMonth()]}function P(e){return i[+(e.getUTCHours()>=12)]}function le(e){return 1+~~(e.getUTCMonth()/3)}return{format:function(e){var t=S(e+=``,y);return t.toString=function(){return e},t},parse:function(e){var t=C(e+=``,!1);return t.toString=function(){return e},t},utcFormat:function(e){var t=S(e+=``,b);return t.toString=function(){return e},t},utcParse:function(e){var t=C(e+=``,!0);return t.toString=function(){return e},t}}}function Vk(e,t,n){var r=e<0?`-`:``,i=(r?-e:e)+``,a=i.length;return r+(a<n?Array(n-a+1).join(t)+i:i)}function Sae(e){return e.replace(pA,`\\\\$&`)}function Hk(e){return RegExp(`^(?:`+e.map(Sae).join(`|`)+`)`,`i`)}function Uk(e){return new Map(e.map((e,t)=>[e.toLowerCase(),t]))}function Wk(e,t,n){var r=dA.exec(t.slice(n,n+1));return r?(e.w=+r[0],n+r[0].length):-1}function Cae(e,t,n){var r=dA.exec(t.slice(n,n+1));return r?(e.u=+r[0],n+r[0].length):-1}function wae(e,t,n){var r=dA.exec(t.slice(n,n+2));return r?(e.U=+r[0],n+r[0].length):-1}function Tae(e,t,n){var r=dA.exec(t.slice(n,n+2));return r?(e.V=+r[0],n+r[0].length):-1}function Eae(e,t,n){var r=dA.exec(t.slice(n,n+2));return r?(e.W=+r[0],n+r[0].length):-1}function Gk(e,t,n){var r=dA.exec(t.slice(n,n+4));return r?(e.y=+r[0],n+r[0].length):-1}function Kk(e,t,n){var r=dA.exec(t.slice(n,n+2));return r?(e.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function Dae(e,t,n){var r=/^(Z)|([+-]\\d\\d)(?::?(\\d\\d))?/.exec(t.slice(n,n+6));return r?(e.Z=r[1]?0:-(r[2]+(r[3]||`00`)),n+r[0].length):-1}function Oae(e,t,n){var r=dA.exec(t.slice(n,n+1));return r?(e.q=r[0]*3-3,n+r[0].length):-1}function kae(e,t,n){var r=dA.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function qk(e,t,n){var r=dA.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function Aae(e,t,n){var r=dA.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function Jk(e,t,n){var r=dA.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function jae(e,t,n){var r=dA.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function Yk(e,t,n){var r=dA.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function Xk(e,t,n){var r=dA.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function Zk(e,t,n){var r=dA.exec(t.slice(n,n+6));return r?(e.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function Qk(e,t,n){var r=fA.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function $k(e,t,n){var r=dA.exec(t.slice(n));return r?(e.Q=+r[0],n+r[0].length):-1}function eA(e,t,n){var r=dA.exec(t.slice(n));return r?(e.s=+r[0],n+r[0].length):-1}function tA(e,t){return Vk(e.getDate(),t,2)}function Mae(e,t){return Vk(e.getHours(),t,2)}function Nae(e,t){return Vk(e.getHours()%12||12,t,2)}function Pae(e,t){return Vk(1+vk.count(Dk(e),e),t,3)}function nA(e,t){return Vk(e.getMilliseconds(),t,3)}function Fae(e,t){return nA(e,t)+`000`}function Iae(e,t){return Vk(e.getMonth()+1,t,2)}function Lae(e,t){return Vk(e.getMinutes(),t,2)}function Rae(e,t){return Vk(e.getSeconds(),t,2)}function zae(e){var t=e.getDay();return t===0?7:t}function Bae(e,t){return Vk(bk.count(Dk(e)-1,e),t,2)}function rA(e){var t=e.getDay();return t>=4||t===0?wk(e):wk.ceil(e)}function Vae(e,t){return e=rA(e),Vk(wk.count(Dk(e),e)+(Dk(e).getDay()===4),t,2)}function Hae(e){return e.getDay()}function Uae(e,t){return Vk(xk.count(Dk(e)-1,e),t,2)}function Wae(e,t){return Vk(e.getFullYear()%100,t,2)}function Gae(e,t){return e=rA(e),Vk(e.getFullYear()%100,t,2)}function Kae(e,t){return Vk(e.getFullYear()%1e4,t,4)}function qae(e,t){var n=e.getDay();return e=n>=4||n===0?wk(e):wk.ceil(e),Vk(e.getFullYear()%1e4,t,4)}function Jae(e){var t=e.getTimezoneOffset();return(t>0?`-`:(t*=-1,`+`))+Vk(t/60|0,`0`,2)+Vk(t%60,`0`,2)}function iA(e,t){return Vk(e.getUTCDate(),t,2)}function Yae(e,t){return Vk(e.getUTCHours(),t,2)}function Xae(e,t){return Vk(e.getUTCHours()%12||12,t,2)}function Zae(e,t){return Vk(1+Ok.count(Lk(e),e),t,3)}function aA(e,t){return Vk(e.getUTCMilliseconds(),t,3)}function Qae(e,t){return aA(e,t)+`000`}function $ae(e,t){return Vk(e.getUTCMonth()+1,t,2)}function eoe(e,t){return Vk(e.getUTCMinutes(),t,2)}function toe(e,t){return Vk(e.getUTCSeconds(),t,2)}function noe(e){var t=e.getUTCDay();return t===0?7:t}function roe(e,t){return Vk(Ak.count(Lk(e)-1,e),t,2)}function oA(e){var t=e.getUTCDay();return t>=4||t===0?Pk(e):Pk.ceil(e)}function ioe(e,t){return e=oA(e),Vk(Pk.count(Lk(e),e)+(Lk(e).getUTCDay()===4),t,2)}function aoe(e){return e.getUTCDay()}function ooe(e,t){return Vk(jk.count(Lk(e)-1,e),t,2)}function soe(e,t){return Vk(e.getUTCFullYear()%100,t,2)}function coe(e,t){return e=oA(e),Vk(e.getUTCFullYear()%100,t,2)}function loe(e,t){return Vk(e.getUTCFullYear()%1e4,t,4)}function uoe(e,t){var n=e.getUTCDay();return e=n>=4||n===0?Pk(e):Pk.ceil(e),Vk(e.getUTCFullYear()%1e4,t,4)}function doe(){return`+0000`}function sA(){return`%`}function cA(e){return+e}function lA(e){return Math.floor(e/1e3)}var uA,dA,fA,pA,mA=o((()=>{bae(),uA={\"-\":``,_:` `,0:`0`},dA=/^\\s*\\d+/,fA=/^%/,pA=/[\\\\^$*+?|[\\]().{}]/g}));function foe(e){return hA=xae(e),gA=hA.format,poe=hA.parse,_A=hA.utcFormat,moe=hA.utcParse,hA}var hA,gA,poe,_A,moe,hoe=o((()=>{mA(),foe({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`]})})),vA=o((()=>{hoe(),mA()}));function goe(e){return new Date(e)}function _oe(e){return e instanceof Date?+e:+new Date(+e)}function yA(e,t,n,r,i,a,o,s,c,l){var u=dD(),d=u.invert,f=u.domain,p=l(`.%L`),m=l(`:%S`),h=l(`%I:%M`),g=l(`%I %p`),_=l(`%a %d`),v=l(`%b %d`),y=l(`%B`),b=l(`%Y`);function x(e){return(c(e)<e?p:s(e)<e?m:o(e)<e?h:a(e)<e?g:r(e)<e?i(e)<e?_:v:n(e)<e?y:b)(e)}return u.invert=function(e){return new Date(d(e))},u.domain=function(e){return arguments.length?f(Array.from(e,_oe)):f().map(goe)},u.ticks=function(t){var n=f();return e(n[0],n[n.length-1],t??10)},u.tickFormat=function(e,t){return t==null?x:l(t)},u.nice=function(e){var n=f();return(!e||typeof e.range!=`function`)&&(e=t(n[0],n[n.length-1],e??10)),e?f(BD(n,e)):u},u.copy=function(){return lD(u,yA(e,t,n,r,i,a,o,s,c,l))},u}function voe(){return BT.apply(yA(sk,ck,tk,QO,LO,jO,OO,TO,CO,gA).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}var bA=o((()=>{lk(),vA(),pD(),HT(),VD()}));function yoe(){return BT.apply(yA(ak,ok,nk,$O,WO,MO,kO,EO,CO,_A).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}var boe=o((()=>{lk(),vA(),bA(),HT()}));function xA(){var e=0,t=1,n,r,i,a,o=sD,s=!1,c;function l(e){return e==null||isNaN(e=+e)?c:o(i===0?.5:(e=(a(e)-n)*i,s?Math.max(0,Math.min(1,e)):e))}l.domain=function(o){return arguments.length?([e,t]=o,n=a(e=+e),r=a(t=+t),i=n===r?0:1/(r-n),l):[e,t]},l.clamp=function(e){return arguments.length?(s=!!e,l):s},l.interpolator=function(e){return arguments.length?(o=e,l):o};function u(e){return function(t){var n,r;return arguments.length?([n,r]=t,o=e(n,r),l):[o(0),o(1)]}}return l.range=u(JE),l.rangeRound=u(XE),l.unknown=function(e){return arguments.length?(c=e,l):c},function(o){return a=o,n=o(e),r=o(t),i=n===r?0:1/(r-n),l}}function SA(e,t){return t.domain(e.domain()).interpolator(e.interpolator()).clamp(e.clamp()).unknown(e.unknown())}function CA(){var e=ID(xA()(sD));return e.copy=function(){return SA(e,CA())},VT.apply(e,arguments)}function wA(){var e=GD(xA()).domain([1,10]);return e.copy=function(){return SA(e,wA()).base(e.base())},VT.apply(e,arguments)}function TA(){var e=XD(xA());return e.copy=function(){return SA(e,TA()).constant(e.constant())},VT.apply(e,arguments)}function EA(){var e=eO(xA());return e.copy=function(){return SA(e,EA()).exponent(e.exponent())},VT.apply(e,arguments)}function xoe(){return EA.apply(null,arguments).exponent(.5)}var DA=o((()=>{iD(),pD(),HT(),RD(),qD(),QD(),rO()}));function OA(){var e=[],t=sD;function n(n){if(n!=null&&!isNaN(n=+n))return t((oT(e,n,1)-1)/(e.length-1))}return n.domain=function(t){if(!arguments.length)return e.slice();e=[];for(let n of t)n!=null&&!isNaN(n=+n)&&e.push(n);return e.sort(Yw),n},n.interpolator=function(e){return arguments.length?(t=e,n):t},n.range=function(){return e.map((n,r)=>t(r/(e.length-1)))},n.quantiles=function(t){return Array.from({length:t+1},(n,r)=>PT(e,r/t))},n.copy=function(){return OA(t).domain(e)},VT.apply(n,arguments)}var Soe=o((()=>{zT(),pD(),HT()}));function kA(){var e=0,t=.5,n=1,r=1,i,a,o,s,c,l=sD,u,d=!1,f;function p(e){return isNaN(e=+e)?f:(e=.5+((e=+u(e))-a)*(r*e<r*a?s:c),l(d?Math.max(0,Math.min(1,e)):e))}p.domain=function(l){return arguments.length?([e,t,n]=l,i=u(e=+e),a=u(t=+t),o=u(n=+n),s=i===a?0:.5/(a-i),c=a===o?0:.5/(o-a),r=a<i?-1:1,p):[e,t,n]},p.clamp=function(e){return arguments.length?(d=!!e,p):d},p.interpolator=function(e){return arguments.length?(l=e,p):l};function m(e){return function(t){var n,r,i;return arguments.length?([n,r,i]=t,l=Die(e,[n,r,i]),p):[l(0),l(.5),l(1)]}}return p.range=m(JE),p.rangeRound=m(XE),p.unknown=function(e){return arguments.length?(f=e,p):f},function(l){return u=l,i=l(e),a=l(t),o=l(n),s=i===a?0:.5/(a-i),c=a===o?0:.5/(o-a),r=a<i?-1:1,p}}function AA(){var e=ID(kA()(sD));return e.copy=function(){return SA(e,AA())},VT.apply(e,arguments)}function jA(){var e=GD(kA()).domain([.1,1,10]);return e.copy=function(){return SA(e,jA()).base(e.base())},VT.apply(e,arguments)}function MA(){var e=XD(kA());return e.copy=function(){return SA(e,MA()).constant(e.constant())},VT.apply(e,arguments)}function NA(){var e=eO(kA());return e.copy=function(){return SA(e,NA()).exponent(e.exponent())},VT.apply(e,arguments)}function Coe(){return NA.apply(null,arguments).exponent(.5)}var woe=o((()=>{iD(),pD(),HT(),RD(),qD(),DA(),QD(),rO()})),PA=o((()=>{iie(),eae(),RD(),qD(),QD(),GT(),rO(),lae(),uae(),dae(),fae(),bA(),boe(),DA(),Soe(),woe(),FD()})),FA=c({scaleBand:()=>KT,scaleDiverging:()=>AA,scaleDivergingLog:()=>jA,scaleDivergingPow:()=>NA,scaleDivergingSqrt:()=>Coe,scaleDivergingSymlog:()=>MA,scaleIdentity:()=>zD,scaleImplicit:()=>WT,scaleLinear:()=>LD,scaleLog:()=>KD,scaleOrdinal:()=>UT,scalePoint:()=>rie,scalePow:()=>tO,scaleQuantile:()=>oO,scaleQuantize:()=>sO,scaleRadial:()=>aO,scaleSequential:()=>CA,scaleSequentialLog:()=>wA,scaleSequentialPow:()=>EA,scaleSequentialQuantile:()=>OA,scaleSequentialSqrt:()=>xoe,scaleSequentialSymlog:()=>TA,scaleSqrt:()=>nO,scaleSymlog:()=>ZD,scaleThreshold:()=>cO,scaleTime:()=>voe,scaleUtc:()=>yoe,tickFormat:()=>PD}),IA=o((()=>{PA()}));function Toe(e){var t=FA;if(e in t&&typeof t[e]==`function`)return t[e]();var n=`scale${pp(e)}`;if(n in t&&typeof t[n]==`function`)return t[n]()}function LA(e,t,n){if(typeof e==`function`)return e.copy().domain(t).range(n);if(e!=null){var r=Toe(e);if(r!=null)return r.domain(t).range(n),r}}function RA(e,t,n,r){if(!(n==null||r==null))return typeof e.scale==`function`?LA(e.scale,n,r):LA(t,n,r)}var zA=o((()=>{IA(),q()}));function Eoe(e){return`scale${pp(e)}`}function Doe(e){return Eoe(e)in FA}var BA,VA=o((()=>{IA(),q(),BA=(e,t,n)=>{if(e!=null){var{scale:r,type:i}=e;if(r===`auto`)return i===`category`&&n&&(n.indexOf(`LineChart`)>=0||n.indexOf(`AreaChart`)>=0||n.indexOf(`ComposedChart`)>=0&&!t)?`point`:i===`category`?`band`:`linear`;if(typeof r==`string`)return Doe(r)?r:`point`}}}));function Ooe(e,t){for(var n=0,r=e.length,i=e[0]<e[e.length-1];n<r;){var a=Math.floor((n+r)/2);(i?e[a]<t:e[a]>t)?n=a+1:r=a}return n}function HA(e,t){if(e){var n=t??e.domain(),r=n.map(t=>e(t)??0),i=e.range();if(!(n.length===0||i.length<2))return e=>{var t=Ooe(r,e);if(t<=0)return n[0];if(t>=n.length)return n[n.length-1];var i=r[t-1]??0,a=r[t]??0;return Math.abs(e-i)<=Math.abs(e-a)?n[t-1]:n[t]}}}var UA=o((()=>{}));function koe(e){if(e!=null)return`invert`in e&&typeof e.invert==`function`?e.invert.bind(e):HA(e,void 0)}var Aoe=o((()=>{UA()}));function WA(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function GA(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?WA(Object(n),!0).forEach(function(t){joe(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):WA(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function joe(e,t,n){return(t=Moe(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Moe(e){var t=Noe(e,`string`);return typeof t==`symbol`?t:t+``}function Noe(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function KA(e,t){return n=>{switch(e){case`xAxis`:return`xAxisId`in n&&n.xAxisId===t;case`yAxis`:return`yAxisId`in n&&n.yAxisId===t;case`zAxis`:return`zAxisId`in n&&n.zAxisId===t;case`angleAxis`:return`angleAxisId`in n&&n.angleAxisId===t;case`radiusAxis`:return`radiusAxisId`in n&&n.radiusAxisId===t;default:return!1}}}function qA(e){if(op(e)||e instanceof Date){var t=Number(e);if(Z(t))return t}}function JA(e){if(Array.isArray(e)){var t=[qA(e[0]),qA(e[1])];return SC(t)?t:void 0}var n=qA(e);if(n!=null)return[n,n]}function YA(e){return e.map(qA).filter(ep)}function Poe(e,t){var n=qA(e),r=qA(t);return n==null&&r==null?0:n==null?-1:r==null?1:n-r}function XA(e,t){switch(e){case`xAxis`:return t.direction===`x`;case`yAxis`:return t.direction===`y`;default:return!1}}function Foe(e,t,n){if(!n||!n.length)return[];var r;if(typeof t==`number`&&!ip(t))r=t;else if(Array.isArray(t)){var i=YA(t);i.length>0&&(r=Math.max(...i))}return r==null?[]:YA(n.flatMap(t=>{var n=A_(e,t.dataKey),i,a;if(Array.isArray(n)?[i,a]=n:i=a=n,!(!Z(i)||!Z(a)))return[r-i,r+a]}))}function Ioe(e){var{value:t}=e;if(op(t)||t instanceof Date)return t}function Loe(e){if(e.x!=null)return YA([e.x]);var t=e.segment?.map(e=>e.x);return t==null||t.length===0?[]:YA(t)}function Roe(e){if(e.y!=null)return YA([e.y]);var t=e.segment?.map(e=>e.y);return t==null||t.length===0?[]:YA(t)}function ZA(e,t){return e.id<t.id?-1:+(e.id>t.id)}var QA,$A,ej,tj,nj,rj,ij,aj,oj,sj,cj,lj,uj,dj,fj,pj,mj,hj,gj,_j,vj,yj,bj,xj,Sj,Cj,wj,Tj,Ej,Dj,Oj,kj,Aj,jj,Mj,Nj,Pj,Fj,Ij,Lj,Rj,zj,Bj,Vj,Hj,Uj,Wj,Gj,Kj,qj,Jj,Yj,Xj,Zj,Qj,$j,eM,tM,nM,rM,iM,aM,oM,sM,cM,lM,uM,dM,fM,pM,mM,hM,gM,_M,vM,yM,bM,xM,SM,CM,wM,TM,EM,DM,OM,kM,AM,jM,MM,NM,PM,FM,IM,LM,RM,zM,BM,VM,HM,UM,WM,GM,KM,qM,JM,YM,XM,ZM,QM,$M,eN,tN,nN,rN,iN=o((()=>{Dm(),QA=u(Xre()),py(),nv(),xC(),TC(),q(),D_(),$re(),sv(),uv(),xv(),Ov(),XC(),Tw(),Dw(),kw(),iw(),mv(),jw(),Nw(),Fw(),Lw(),Bw(),Hw(),Ww(),Kw(),Jw(),zA(),VA(),UA(),Aoe(),$A=[0,`auto`],ej={allowDataOverflow:!1,allowDecimals:!0,allowDuplicatedCategory:!0,angle:0,dataKey:void 0,domain:void 0,height:30,hide:!0,id:0,includeHidden:!1,interval:`preserveEnd`,minTickGap:5,mirror:!1,name:void 0,orientation:`bottom`,padding:{left:0,right:0},reversed:!1,scale:`auto`,tick:!0,tickCount:5,tickFormatter:void 0,ticks:void 0,type:`category`,unit:void 0,niceTicks:`auto`},tj=(e,t)=>e.cartesianAxis.xAxis[t],nj=(e,t)=>tj(e,t)??ej,rj={allowDataOverflow:!1,allowDecimals:!0,allowDuplicatedCategory:!0,angle:0,dataKey:void 0,domain:$A,hide:!0,id:0,includeHidden:!1,interval:`preserveEnd`,minTickGap:5,mirror:!1,name:void 0,orientation:`left`,padding:{top:0,bottom:0},reversed:!1,scale:`auto`,tick:!0,tickCount:5,tickFormatter:void 0,ticks:void 0,type:`number`,unit:void 0,niceTicks:`auto`,width:60},ij=(e,t)=>e.cartesianAxis.yAxis[t],aj=(e,t)=>ij(e,t)??rj,oj={domain:[0,`auto`],includeHidden:!1,reversed:!1,allowDataOverflow:!1,allowDuplicatedCategory:!1,dataKey:void 0,id:0,name:``,range:[64,64],scale:`auto`,type:`number`,unit:``},sj=(e,t)=>e.cartesianAxis.zAxis[t]??oj,cj=(e,t,n)=>{switch(t){case`xAxis`:return nj(e,n);case`yAxis`:return aj(e,n);case`zAxis`:return sj(e,n);case`angleAxis`:return fw(e,n);case`radiusAxis`:return mw(e,n);default:throw Error(`Unexpected axis type: ${t}`)}},lj=(e,t,n)=>{switch(t){case`xAxis`:return nj(e,n);case`yAxis`:return aj(e,n);default:throw Error(`Unexpected axis type: ${t}`)}},uj=(e,t,n)=>{switch(t){case`xAxis`:return nj(e,n);case`yAxis`:return aj(e,n);case`angleAxis`:return fw(e,n);case`radiusAxis`:return mw(e,n);default:throw Error(`Unexpected axis type: ${t}`)}},dj=e=>e.graphicalItems.cartesianItems.some(e=>e.type===`bar`)||e.graphicalItems.polarItems.some(e=>e.type===`radialBar`),fj=e=>e.graphicalItems.cartesianItems,pj=X([Ew,Ow],KA),mj=(e,t,n)=>e.filter(n).filter(e=>t?.includeHidden===!0?!0:!e.hide),hj=X([fj,cj,pj],mj,{memoizeOptions:{resultEqualityCheck:Rw}}),gj=X([hj],e=>e.filter(e=>e.type===`area`||e.type===`bar`).filter(Pw)),_j=e=>e.filter(e=>!(`stackId`in e)||e.stackId===void 0),vj=X([hj],_j),yj=e=>e.map(e=>e.data).filter(Boolean).flat(1),bj=X([hj],e=>e.some(e=>!e.data)),xj=X([hj],yj,{memoizeOptions:{resultEqualityCheck:Rw}}),Sj=(e,t)=>{var{chartData:n=[],dataStartIndex:r,dataEndIndex:i}=t;return e.length>0?e:n.slice(r,i+1)},Cj=X([xj,gC],Sj),wj=(e,t,n)=>t?.dataKey==null?n.length>0?n.map(e=>e.dataKey).flatMap(t=>e.map(e=>({value:A_(e,t)}))):e.map(e=>({value:e})):e.map(e=>({value:A_(e,t.dataKey)})),Tj=(e,t,n,r,i,a)=>{var{chartData:o=[],dataStartIndex:s,dataEndIndex:c}=r,l=wj(e,t,n);return i&&t?.dataKey!=null&&a.length>0?[...o.slice(s,c+1).map(e=>({value:A_(e,t.dataKey)})).filter(e=>e.value!=null),...l]:l},Ej=X([Cj,cj,hj,gC,bj,xj],Tj),Dj=X([Ej],e=>e?.map(e=>e.value).sort(Poe)),Oj=e=>uj(e,Vw(e),Uw(e)),kj=X([Oj],e=>e?.dataKey),Aj=X([gj,gC,Oj],Mw),jj=(e,t,n,r)=>{var i=t.reduce((e,t)=>{if(t.stackId==null)return e;var n=e[t.stackId];return n??=[],n.push(t),e[t.stackId]=n,e},{});return Object.fromEntries(Object.entries(i).map(t=>{var[i,a]=t,o=r?[...a].reverse():a;return[i,{stackedData:G_(e,o.map(Aw),n),graphicalItems:o}]}))},Mj=X([Aj,gj,UC,WC],jj),Nj=(e,t,n,r)=>{var{dataStartIndex:i,dataEndIndex:a}=t;if(r==null&&n!==`zAxis`){var o=X_(e,i,a);if(!(o!=null&&o[0]===0&&o[1]===0))return o}},Pj=X([cj],e=>e.allowDataOverflow),Fj=e=>{if(e==null||!(`domain`in e))return $A;if(e.domain!=null)return e.domain;if(`ticks`in e&&e.ticks!=null){if(e.type===`number`){var t=YA(e.ticks);return[Math.min(...t),Math.max(...t)]}if(e.type===`category`)return e.ticks.map(String)}return e?.domain??$A},Ij=X([cj],Fj),Lj=X([Ij,Pj],wC),Rj=X([Mj,mC,Ew,Lj],Nj,{memoizeOptions:{resultEqualityCheck:Iw}}),zj=e=>e.errorBars,Bj=(e,t,n)=>e.flatMap(e=>t[e.id]).filter(Boolean).filter(e=>XA(n,e)),Vj=function(){var e=[...arguments].filter(Boolean);if(e.length!==0){var t=e.flat();return[Math.min(...t),Math.max(...t)]}},Hj=function(e,t,n,r,i){var a=arguments.length>5&&arguments[5]!==void 0?arguments[5]:[],o,s;if(n.length>0&&n.forEach(e=>{var n=e.data==null?a:[...e.data],c=r[e.id]?.filter(e=>XA(i,e));n.forEach(n=>{var r=A_(n,t.dataKey??e.dataKey),i=Foe(n,r,c);if(i.length>=2){var a=Math.min(...i),l=Math.max(...i);(o==null||a<o)&&(o=a),(s==null||l>s)&&(s=l)}var u=JA(r);u!=null&&(o=o==null?u[0]:Math.min(o,u[0]),s=s==null?u[1]:Math.max(s,u[1]))})}),t?.dataKey!=null&&n.length===0&&e.forEach(e=>{var n=JA(A_(e,t.dataKey));n!=null&&(o=o==null?n[0]:Math.min(o,n[0]),s=s==null?n[1]:Math.max(s,n[1]))}),Z(o)&&Z(s))return[o,s]},Uj=X([Cj,cj,vj,zj,Ew,vC],Hj,{memoizeOptions:{resultEqualityCheck:Iw}}),Wj=(e,t,n)=>{var r=e.map(Ioe).filter(e=>e!=null);return n&&(t.dataKey==null||t.allowDuplicatedCategory&&up(r))?(0,QA.default)(0,e.length):t.allowDuplicatedCategory?r:Array.from(new Set(r))},Gj=e=>e.referenceElements.dots,Kj=(e,t,n)=>e.filter(e=>e.ifOverflow===`extendDomain`).filter(e=>t===`xAxis`?e.xAxisId===n:e.yAxisId===n),qj=X([Gj,Ew,Ow],Kj),Jj=e=>e.referenceElements.areas,Yj=X([Jj,Ew,Ow],Kj),Xj=e=>e.referenceElements.lines,Zj=X([Xj,Ew,Ow],Kj),Qj=(e,t)=>{if(e!=null){var n=YA(e.map(e=>t===`xAxis`?e.x:e.y));if(n.length!==0)return[Math.min(...n),Math.max(...n)]}},$j=X(qj,Ew,Qj),eM=(e,t)=>{if(e!=null){var n=YA(e.flatMap(e=>[t===`xAxis`?e.x1:e.y1,t===`xAxis`?e.x2:e.y2]));if(n.length!==0)return[Math.min(...n),Math.max(...n)]}},tM=X([Yj,Ew],eM),nM=(e,t)=>{if(e!=null){var n=e.flatMap(e=>t===`xAxis`?Loe(e):Roe(e));if(n.length!==0)return[Math.min(...n),Math.max(...n)]}},rM=X($j,X([Zj,Ew],nM),tM,(e,t,n)=>Vj(e,n,t)),iM=(e,t,n,r,i,a,o,s)=>n??Zre(t,o===`vertical`&&s===`xAxis`||o===`horizontal`&&s===`yAxis`?Vj(r,a,i):Vj(a,i),e.allowDataOverflow),aM=X([cj,Ij,Lj,Rj,Uj,rM,Q,Ew],iM,{memoizeOptions:{resultEqualityCheck:Iw}}),oM=[0,1],sM=(e,t,n,r,i,a,o)=>{if(!((e==null||n==null||n.length===0)&&o===void 0)){var{dataKey:s,type:c}=e,l=R_(t,a);return l&&s==null?(0,QA.default)(0,n?.length??0):c===`category`?Wj(r,e,l):i===`expand`&&!l?oM:o}},cM=X([cj,Q,Cj,Ej,UC,Ew,aM],sM),lM=X([cj,dj,GC],BA),uM=(e,t,n)=>{var{niceTicks:r}=t;if(r!==`none`){var i=Fj(t),a=Array.isArray(i)&&(i[0]===`auto`||i[1]===`auto`);if((r===`snap125`||r===`adaptive`)&&t!=null&&t.tickCount&&SC(e)){if(a)return IC(e,t.tickCount,t.allowDecimals,r);if(t.type===`number`)return LC(e,t.tickCount,t.allowDecimals,r)}if(r===`auto`&&n===`linear`&&t!=null&&t.tickCount){if(a&&SC(e))return IC(e,t.tickCount,t.allowDecimals,`adaptive`);if(t.type===`number`&&SC(e))return LC(e,t.tickCount,t.allowDecimals,`adaptive`)}}},dM=X([cM,uj,lM],uM),fM=(e,t,n,r)=>{if(r!==`angleAxis`&&e?.type===`number`&&SC(t)&&Array.isArray(n)&&n.length>0){var i=t[0],a=n[0]??0,o=t[1],s=n[n.length-1]??0;return[Math.min(i,a),Math.max(o,s)]}return t},pM=X([cj,cM,dM,Ew],fM),mM=X(Ej,cj,(e,t)=>{if(!(!t||t.type!==`number`)){var n=1/0,r=Array.from(YA(e.map(e=>e.value))).sort((e,t)=>e-t),i=r[0],a=r[r.length-1];if(i==null||a==null)return 1/0;var o=a-i;if(o===0)return 1/0;for(var s=0;s<r.length-1;s++){var c=r[s],l=r[s+1];if(!(c==null||l==null)){var u=l-c;n=Math.min(n,u)}}return n/o}}),hM=X(mM,Q,VC,vv,(e,t,n,r,i)=>i,(e,t,n,r,i)=>{if(!Z(e))return 0;var a=t===`vertical`?r.height:r.width;if(i===`gap`)return e*a/2;if(i===`no-gap`){var o=lp(n,e*a),s=e*a/2;return s-o-(s-o)/a*o}return 0}),gM=(e,t,n)=>{var r=nj(e,t);return r==null||typeof r.padding!=`string`?0:hM(e,`xAxis`,t,n,r.padding)},_M=(e,t,n)=>{var r=aj(e,t);return r==null||typeof r.padding!=`string`?0:hM(e,`yAxis`,t,n,r.padding)},vM=X(nj,gM,(e,t)=>{if(e==null)return{left:0,right:0};var{padding:n}=e;return typeof n==`string`?{left:t,right:t}:{left:(n.left??0)+t,right:(n.right??0)+t}}),yM=X(aj,_M,(e,t)=>{if(e==null)return{top:0,bottom:0};var{padding:n}=e;return typeof n==`string`?{top:t,bottom:t}:{top:(n.top??0)+t,bottom:(n.bottom??0)+t}}),bM=X([vv,vM,Dv,Ev,(e,t,n)=>n],(e,t,n,r,i)=>{var{padding:a}=r;return i?[a.left,n.width-a.right]:[e.left+t.left,e.left+e.width-t.right]}),xM=X([vv,Q,yM,Dv,Ev,(e,t,n)=>n],(e,t,n,r,i,a)=>{var{padding:o}=i;return a?[r.height-o.bottom,o.top]:t===`horizontal`?[e.top+e.height-n.bottom,e.top+n.top]:[e.top+n.top,e.top+e.height-n.bottom]}),SM=(e,t,n,r)=>{switch(t){case`xAxis`:return bM(e,n,r);case`yAxis`:return xM(e,n,r);case`zAxis`:return sj(e,n)?.range;case`angleAxis`:return bw(e);case`radiusAxis`:return Sw(e,n);default:return}},CM=X([cj,SM],rw),wM=X([lM,pM],qw),TM=X([cj,lM,wM,CM],RA),EM=(e,t,n,r)=>{if(!(n==null||n.dataKey==null)){var{type:i,scale:a}=n;if(R_(e,r)&&(i===`number`||a!==`auto`))return t.map(e=>e.value)}},DM=X([Q,Ej,uj,Ew],EM),OM=X([TM],Gw),X([TM],koe),X([TM,Dj],HA),X([hj,zj,Ew],Bj),kM=(e,t)=>t,AM=(e,t,n)=>n,jM=X(cv,kM,AM,(e,t,n)=>e.filter(e=>e.orientation===t).filter(e=>e.mirror===n).sort(ZA)),MM=X(lv,kM,AM,(e,t,n)=>e.filter(e=>e.orientation===t).filter(e=>e.mirror===n).sort(ZA)),NM=(e,t)=>({width:e.width,height:t.height}),PM=(e,t)=>({width:typeof t.width==`number`?t.width:60,height:e.height}),FM=X(vv,nj,NM),IM=(e,t,n)=>{switch(t){case`top`:return e.top;case`bottom`:return n-e.bottom;default:return 0}},LM=(e,t,n)=>{switch(t){case`left`:return e.left;case`right`:return n-e.right;default:return 0}},RM=X(iv,vv,jM,kM,AM,(e,t,n,r,i)=>{var a={},o;return n.forEach(n=>{var s=NM(t,n);o??=IM(t,r,e);var c=r===`top`&&!i||r===`bottom`&&i;a[n.id]=o-Number(c)*s.height,o+=(c?-1:1)*s.height}),a}),zM=X(rv,vv,MM,kM,AM,(e,t,n,r,i)=>{var a={},o;return n.forEach(n=>{var s=PM(t,n);o??=LM(t,r,e);var c=r===`left`&&!i||r===`right`&&i;a[n.id]=o-Number(c)*s.width,o+=(c?-1:1)*s.width}),a}),BM=(e,t)=>{var n=nj(e,t);if(n!=null)return RM(e,n.orientation,n.mirror)},VM=X([vv,nj,BM,(e,t)=>t],(e,t,n,r)=>{if(t!=null){var i=n?.[r];return i==null?{x:e.left,y:0}:{x:e.left,y:i}}}),HM=(e,t)=>{var n=aj(e,t);if(n!=null)return zM(e,n.orientation,n.mirror)},UM=X([vv,aj,HM,(e,t)=>t],(e,t,n,r)=>{if(t!=null){var i=n?.[r];return i==null?{x:0,y:e.top}:{x:i,y:e.top}}}),WM=X(vv,aj,(e,t)=>({width:typeof t.width==`number`?t.width:60,height:e.height})),GM=(e,t,n)=>{switch(t){case`xAxis`:return FM(e,n).width;case`yAxis`:return WM(e,n).height;default:return}},KM=(e,t,n,r)=>{if(n!=null){var{allowDuplicatedCategory:i,type:a,dataKey:o}=n,s=R_(e,r),c=t.map(e=>e.value),l=c.filter(e=>e!=null);if(o&&s&&a===`category`&&i&&up(l))return c}},qM=X([Q,Ej,cj,Ew],KM),JM=X([Q,lj,lM,OM,qM,DM,SM,dM,Ew],(e,t,n,r,i,a,o,s,c)=>{if(t!=null){var l=R_(e,c);return{angle:t.angle,interval:t.interval,minTickGap:t.minTickGap,orientation:t.orientation,tick:t.tick,tickCount:t.tickCount,tickFormatter:t.tickFormatter,ticks:t.ticks,type:t.type,unit:t.unit,axisType:c,categoricalDomain:a,duplicateDomain:i,isCategorical:l,niceTicks:s,range:o,realScaleType:n,scale:r}}}),YM=(e,t,n,r,i,a,o,s,c)=>{if(!(t==null||r==null)){var l=R_(e,c),{type:u,ticks:d,tickCount:f}=t,p=n===`scaleBand`&&typeof r.bandwidth==`function`?r.bandwidth()/2:2,m=u===`category`&&r.bandwidth?r.bandwidth()/p:0;m=c===`angleAxis`&&a!=null&&a.length>=2?rp(a[0]-a[1])*2*m:m;var h=d||i;return h?h.map((e,t)=>{var n=o?o.indexOf(e):e,i=r.map(n);return Z(i)?{index:t,coordinate:i+m,value:e,offset:m}:null}).filter(ep):l&&s?s.map((e,t)=>{var n=r.map(e);return Z(n)?{coordinate:n+m,value:e,index:t,offset:m}:null}).filter(ep):r.ticks?r.ticks(f).map((e,t)=>{var n=r.map(e);return Z(n)?{coordinate:n+m,value:e,index:t,offset:m}:null}).filter(ep):r.domain().map((e,t)=>{var n=r.map(e);return Z(n)?{coordinate:n+m,value:o?o[e]:e,index:t,offset:m}:null}).filter(ep)}},XM=X([Q,uj,lM,OM,dM,SM,qM,DM,Ew],YM),ZM=(e,t,n,r,i,a,o)=>{if(!(t==null||n==null||r==null||r[0]===r[1])){var s=R_(e,o),{tickCount:c}=t,l=0;return l=o===`angleAxis`&&r?.length>=2?rp(r[0]-r[1])*2*l:l,s&&a?a.map((e,t)=>{var r=n.map(e);return Z(r)?{coordinate:r+l,value:e,index:t,offset:l}:null}).filter(ep):n.ticks?n.ticks(c).map((e,t)=>{var r=n.map(e);return Z(r)?{coordinate:r+l,value:e,index:t,offset:l}:null}).filter(ep):n.domain().map((e,t)=>{var r=n.map(e);return Z(r)?{coordinate:r+l,value:i?i[e]:e,index:t,offset:l}:null}).filter(ep)}},QM=X([Q,uj,OM,SM,qM,DM,Ew],ZM),$M=X(cj,OM,(e,t)=>{if(!(e==null||t==null))return GA(GA({},e),{},{scale:t})}),eN=X([X([cj,lM,cM,CM],RA)],Gw),tN=X((e,t,n)=>sj(e,n),eN,(e,t)=>{if(!(e==null||t==null))return GA(GA({},e),{},{scale:t})}),nN=X([Q,cv,lv],(e,t,n)=>{switch(e){case`horizontal`:return t.some(e=>e.reversed)?`right-to-left`:`left-to-right`;case`vertical`:return n.some(e=>e.reversed)?`bottom-to-top`:`top-to-bottom`;case`centric`:case`radial`:return`left-to-right`;default:return}}),rN=(e,t,n)=>e.renderedTicks[t]?.[n],X([rN],e=>{if(!(!e||e.length===0))return t=>{var n=1/0,r=e[0];for(var i of e){var a=Math.abs(i.coordinate-t);a<n&&(n=a,r=i)}return r?.value}})}));function aN(e,t,n){if(e==null)return t;var r=e?`axis`:`item`;return n==null?t:n.includes(r)?r:t}function oN(e,t){return aN(t,sN(e),cN(e))}function zoe(e){return J(t=>oN(t,e))}var sN,cN,lN=o((()=>{Y(),sN=e=>e.options.defaultTooltipEventType,cN=e=>e.options.validateTooltipEventTypes})),uN,dN=o((()=>{q(),uN=(e,t)=>{var n,r=Number(t);if(!(ip(r)||t==null))return r>=0?e==null||(n=e[r])==null?void 0:n.value:void 0}})),fN,Boe=o((()=>{fN=e=>e.tooltip.settings})),pN,mN,hN,gN,_N,vN,yN,bN,xN,SN,CN,wN,TN,EN,DN,ON,kN=o((()=>{g_(),ob(),pN={active:!1,index:null,dataKey:void 0,graphicalItemId:void 0,coordinate:void 0},mN={itemInteraction:{click:pN,hover:pN},axisInteraction:{click:pN,hover:pN},keyboardInteraction:pN,syncInteraction:{active:!1,index:null,dataKey:void 0,label:void 0,coordinate:void 0,sourceViewBox:void 0,graphicalItemId:void 0},tooltipItemPayloads:[],settings:{shared:void 0,trigger:`hover`,axisId:0,active:!1,defaultIndex:void 0}},hN=Ig({name:`tooltip`,initialState:mN,reducers:{addTooltipEntrySettings:{reducer(e,t){e.tooltipItemPayloads.push(Ky(t.payload))},prepare:kg()},replaceTooltipEntrySettings:{reducer(e,t){var{prev:n,next:r}=t.payload,i=Th(e).tooltipItemPayloads.indexOf(Ky(n));i>-1&&(e.tooltipItemPayloads[i]=Ky(r))},prepare:kg()},removeTooltipEntrySettings:{reducer(e,t){var n=Th(e).tooltipItemPayloads.indexOf(Ky(t.payload));n>-1&&e.tooltipItemPayloads.splice(n,1)},prepare:kg()},setTooltipSettingsState(e,t){e.settings=t.payload},setActiveMouseOverItemIndex(e,t){e.syncInteraction.active=!1,e.syncInteraction.sourceViewBox=void 0,e.keyboardInteraction.active=!1,e.itemInteraction.hover.active=!0,e.itemInteraction.hover.index=t.payload.activeIndex,e.itemInteraction.hover.dataKey=t.payload.activeDataKey,e.itemInteraction.hover.graphicalItemId=t.payload.activeGraphicalItemId,e.itemInteraction.hover.coordinate=t.payload.activeCoordinate},mouseLeaveChart(e){e.itemInteraction.hover.active=!1,e.axisInteraction.hover.active=!1},mouseLeaveItem(e){e.itemInteraction.hover.active=!1},setActiveClickItemIndex(e,t){e.syncInteraction.active=!1,e.syncInteraction.sourceViewBox=void 0,e.itemInteraction.click.active=!0,e.keyboardInteraction.active=!1,e.itemInteraction.click.index=t.payload.activeIndex,e.itemInteraction.click.dataKey=t.payload.activeDataKey,e.itemInteraction.click.graphicalItemId=t.payload.activeGraphicalItemId,e.itemInteraction.click.coordinate=t.payload.activeCoordinate},setMouseOverAxisIndex(e,t){e.syncInteraction.active=!1,e.syncInteraction.sourceViewBox=void 0,e.axisInteraction.hover.active=!0,e.keyboardInteraction.active=!1,e.axisInteraction.hover.index=t.payload.activeIndex,e.axisInteraction.hover.dataKey=t.payload.activeDataKey,e.axisInteraction.hover.coordinate=t.payload.activeCoordinate},setMouseClickAxisIndex(e,t){e.syncInteraction.active=!1,e.syncInteraction.sourceViewBox=void 0,e.keyboardInteraction.active=!1,e.axisInteraction.click.active=!0,e.axisInteraction.click.index=t.payload.activeIndex,e.axisInteraction.click.dataKey=t.payload.activeDataKey,e.axisInteraction.click.coordinate=t.payload.activeCoordinate},setSyncInteraction(e,t){e.syncInteraction=t.payload},setKeyboardInteraction(e,t){e.keyboardInteraction.active=t.payload.active,e.keyboardInteraction.index=t.payload.activeIndex,e.keyboardInteraction.coordinate=t.payload.activeCoordinate}}}),{addTooltipEntrySettings:gN,replaceTooltipEntrySettings:_N,removeTooltipEntrySettings:vN,setTooltipSettingsState:yN,setActiveMouseOverItemIndex:bN,mouseLeaveItem:xN,mouseLeaveChart:SN,setActiveClickItemIndex:CN,setMouseOverAxisIndex:wN,setMouseClickAxisIndex:TN,setSyncInteraction:EN,setKeyboardInteraction:DN}=hN.actions,ON=hN.reducer}));function AN(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function jN(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?AN(Object(n),!0).forEach(function(t){Voe(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):AN(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Voe(e,t,n){return(t=Hoe(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Hoe(e){var t=Uoe(e,`string`);return typeof t==`symbol`?t:t+``}function Uoe(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function Woe(e,t,n){return t===`axis`?n===`click`?e.axisInteraction.click:e.axisInteraction.hover:n===`click`?e.itemInteraction.click:e.itemInteraction.hover}function Goe(e){return e.index!=null}var MN,NN=o((()=>{kN(),MN=(e,t,n,r)=>{if(t==null)return pN;var i=Woe(e,t,n);if(i==null)return pN;if(i.active)return i;if(e.keyboardInteraction.active)return e.keyboardInteraction;if(e.syncInteraction.active&&e.syncInteraction.index!=null)return e.syncInteraction;var a=e.settings.active===!0;if(Goe(i)){if(a)return jN(jN({},i),{},{active:!0})}else if(r!=null)return{active:!0,coordinate:void 0,dataKey:void 0,index:r,graphicalItemId:void 0};return jN(jN({},pN),{},{coordinate:i.coordinate})}}));function Koe(e){if(typeof e==`number`)return Number.isFinite(e)?e:void 0;if(e instanceof Date){var t=e.valueOf();return Number.isFinite(t)?t:void 0}var n=Number(e);return Number.isFinite(n)?n:void 0}function qoe(e,t){var n=Koe(e),r=t[0],i=t[1];return n===void 0?!1:n>=Math.min(r,i)&&n<=Math.max(r,i)}function Joe(e,t,n){if(n==null||t==null)return!0;var r=A_(e,t);return r==null||!SC(n)?!0:qoe(r,n)}var PN,FN=o((()=>{D_(),nv(),TC(),PN=(e,t,n,r)=>{var i=e?.index;if(i==null)return null;var a=Number(i);if(!Z(a))return i;var o=0,s=1/0;t.length>0&&(s=t.length-1);var c=Math.max(o,Math.min(a,s)),l=t[c];return l==null||Joe(l,n,r)?String(c):null}})),IN,LN=o((()=>{IN=(e,t,n,r,i,a,o)=>{if(a!=null){var s=o[0]?.getPosition(a);if(s!=null)return s;var c=i?.[Number(a)];if(c)switch(n){case`horizontal`:return{x:c.coordinate,y:(r.top+t)/2};default:return{x:(r.left+e)/2,y:c.coordinate}}}}})),RN,zN=o((()=>{RN=(e,t,n,r)=>{if(t===`axis`)return e.tooltipItemPayloads;if(e.tooltipItemPayloads.length===0)return[];var i=n===`hover`?e.itemInteraction.hover.graphicalItemId:e.itemInteraction.click.graphicalItemId;if(e.syncInteraction.active&&i==null)return e.tooltipItemPayloads;if(i==null&&(r!=null||e.keyboardInteraction.active)){var a=e.tooltipItemPayloads[0];return a==null?[]:[a]}return e.tooltipItemPayloads.filter(e=>e.settings?.graphicalItemId===i)}})),BN,VN=o((()=>{BN=e=>e.options.tooltipPayloadSearcher})),HN,UN=o((()=>{HN=e=>e.tooltip}));function WN(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function GN(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?WN(Object(n),!0).forEach(function(t){Yoe(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):WN(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Yoe(e,t,n){return(t=Xoe(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Xoe(e){var t=Zoe(e,`string`);return typeof t==`symbol`?t:t+``}function Zoe(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function Qoe(e){if(typeof e==`string`||typeof e==`number`)return e}function $oe(e){if(typeof e==`string`||typeof e==`number`||typeof e==`boolean`)return e}function ese(e){if(typeof e==`string`||typeof e==`number`)return e;if(typeof e==`function`)return t=>e(t)}function KN(e){if(typeof e==`string`)return e}function tse(e){if(!(typeof e!=`object`||!e))return{name:`name`in e?Qoe(e.name):void 0,unit:`unit`in e?$oe(e.unit):void 0,dataKey:`dataKey`in e?ese(e.dataKey):void 0,payload:`payload`in e?e.payload:void 0,color:`color`in e?KN(e.color):void 0,fill:`fill`in e?KN(e.fill):void 0}}function nse(e,t){return e??t}var qN,JN=o((()=>{q(),nv(),T_(),qN=(e,t,n,r,i,a,o)=>{if(!(t==null||a==null)){var{chartData:s,computedData:c,dataStartIndex:l,dataEndIndex:u}=n;return e.reduce((e,n)=>{var{dataDefinedOnItem:d,settings:f}=n,p=nse(d,s),m=Array.isArray(p)?w_(p,l,u):p,h=f?.dataKey??r,g=f?.nameKey,_=r&&Array.isArray(m)&&!Array.isArray(m[0])&&o===`axis`?$f(m,r,i):a(m,t,c,g);return Array.isArray(_)?_.forEach(t=>{var n=tse(t),r=n?.name,i=n?.dataKey,a=n?.payload,o=GN(GN({},f),{},{name:r,unit:n?.unit,color:n?.color??f?.color,fill:n?.fill??f?.fill});e.push(N_({tooltipEntrySettings:o,dataKey:i,payload:a,value:A_(a,i),name:r==null?void 0:String(r)}))}):e.push(N_({tooltipEntrySettings:f,dataKey:h,payload:_,value:A_(_,h),name:A_(_,g)??f?.name})),e},[])}}})),YN,XN,ZN,QN,$N,eP,tP,nP,rP,iP,aP,oP,sP,cP,lP,uP,dP,fP,pP,mP,hP,gP,_P,vP,yP,bP,xP,SP,CP,wP,TP,EP,DP,OP,kP,AP,jP,MP,NP,PP,FP,IP,LP=o((()=>{Dm(),iN(),py(),nv(),xC(),XC(),q(),iw(),lN(),dN(),Boe(),NN(),FN(),LN(),sv(),xv(),zN(),VN(),UN(),JN(),Ww(),Hw(),Nw(),Fw(),TC(),Lw(),Bw(),Kw(),D_(),VA(),zA(),YN=X([Oj,dj,GC],BA),XN=X([e=>e.graphicalItems.cartesianItems,e=>e.graphicalItems.polarItems],(e,t)=>[...e,...t]),ZN=X([Vw,Uw],KA),QN=X([XN,Oj,ZN],mj,{memoizeOptions:{resultEqualityCheck:Rw}}),$N=X([QN],e=>e.filter(Pw)),eP=X([QN],yj,{memoizeOptions:{resultEqualityCheck:Rw}}),tP=X([QN],e=>e.some(e=>!e.data)),nP=X([eP,mC],Sj),rP=X([$N,mC,Oj],Mw),iP=X([nP,Oj,QN,mC,tP,eP],Tj),aP=X([Oj],Fj),oP=X([aP,X([Oj],e=>e.allowDataOverflow)],wC),sP=X([X([rP,X([QN],e=>e.filter(Pw)),UC,WC],jj),mC,Vw,oP],Nj),cP=X([nP,Oj,X([QN],_j),zj,Vw,bC],Hj,{memoizeOptions:{resultEqualityCheck:Iw}}),lP=X([X([Gj,Vw,Uw],Kj),Vw],Qj),uP=X([X([Jj,Vw,Uw],Kj),Vw],eM),dP=X([Oj,aP,oP,sP,cP,X([lP,X([X([Xj,Vw,Uw],Kj),Vw],nM),uP],Vj),Q,Vw],iM),fP=X([Oj,Q,nP,iP,UC,Vw,dP],sM),pP=X([fP,Oj,YN],uM),mP=X([Oj,fP,pP,Vw],fM),hP=e=>SM(e,Vw(e),Uw(e),!1),gP=X([Oj,hP],rw),_P=X([Oj,YN,mP,gP],RA),vP=X([_P],Gw),yP=X([Q,iP,Oj,Vw],KM),bP=X([Q,iP,Oj,Vw],EM),xP=(e,t,n,r,i,a,o,s)=>{if(t){var{type:c}=t,l=R_(e,s);if(r){var u=n===`scaleBand`&&r.bandwidth?r.bandwidth()/2:2,d=c===`category`&&r.bandwidth?r.bandwidth()/u:0;return d=s===`angleAxis`&&i!=null&&i?.length>=2?rp(i[0]-i[1])*2*d:d,l&&o?o.map((e,t)=>{var n=r.map(e);return Z(n)?{coordinate:n+d,value:e,index:t,offset:d}:null}).filter(ep):r.domain().map((e,t)=>{var n=r.map(e);return Z(n)?{coordinate:n+d,value:a?a[e]:e,index:t,offset:d}:null}).filter(ep)}}},SP=X([Q,Oj,YN,vP,hP,yP,bP,Vw],xP),CP=X([sN,cN,fN],(e,t,n)=>aN(n.shared,e,t)),wP=e=>e.tooltip.settings.trigger,TP=e=>e.tooltip.settings.defaultIndex,EP=X([HN,CP,wP,TP],MN),DP=X([EP,nP,kj,fP],PN),OP=X([SP,DP],uN),kP=X([EP],e=>{if(e)return e.dataKey}),AP=X([EP],e=>{if(e)return e.graphicalItemId}),jP=X([HN,CP,wP,TP],RN),MP=X([rv,iv,Q,vv,SP,TP,jP],IN),NP=X([EP,MP],(e,t)=>e!=null&&e.coordinate?e.coordinate:t),PP=X([EP],e=>e?.active??!1),FP=X([jP,DP,mC,kj,OP,BN,CP],qN),IP=X([FP],e=>{if(e!=null){var t=e.map(e=>e.payload).filter(e=>e!=null);return Array.from(new Set(t))}})}));function RP(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function zP(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?RP(Object(n),!0).forEach(function(t){rse(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):RP(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function rse(e,t,n){return(t=ise(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ise(e){var t=ase(e,`string`);return typeof t==`symbol`?t:t+``}function ase(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var BP,VP,ose=o((()=>{Y(),nv(),iN(),LP(),BP=()=>J(Oj),VP=()=>{var e=BP(),t=J(SP),n=J(vP);return $_(!e||!n?void 0:zP(zP({},e),{},{scale:n}),t)}}));function HP(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function UP(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?HP(Object(n),!0).forEach(function(t){sse(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):HP(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function sse(e,t,n){return(t=cse(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function cse(e){var t=lse(e,`string`);return typeof t==`symbol`?t:t+``}function lse(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function use(e,t){var{relativeX:n,relativeY:r}=e;return n>=t.left&&n<=t.left+t.width&&r>=t.top&&r<=t.top+t.height}var WP,GP,KP,dse=o((()=>{eC(),q(),WP=(e,t,n,r)=>{var i=t.find(e=>e&&e.index===n);if(i){if(e===`horizontal`)return{x:i.coordinate,y:r.relativeY};if(e===`vertical`)return{x:r.relativeX,y:i.coordinate}}return{x:0,y:0}},GP=(e,t,n,r)=>{var i=t.find(e=>e&&e.index===n);if(i){if(e===`centric`){var a=i.coordinate,{radius:o}=r;return UP(UP(UP({},r),qS(r.cx,r.cy,o,a)),{},{angle:a,radius:o})}var s=i.coordinate,{angle:c}=r;return UP(UP(UP({},r),qS(r.cx,r.cy,s,c)),{},{angle:c,radius:s})}return{angle:0,clockWise:!1,cx:0,cy:0,endAngle:0,innerRadius:0,outerRadius:0,radius:0,startAngle:0,x:0,y:0}},KP=(e,t,n,r,i)=>{var a=t?.length??0;if(a<=1||e==null)return 0;if(r===`angleAxis`&&i!=null&&Math.abs(Math.abs(i[1]-i[0])-360)<=1e-6)for(var o=0;o<a;o++){var s=o>0?n[o-1]?.coordinate:n[a-1]?.coordinate,c=n[o]?.coordinate,l=o>=a-1?n[0]?.coordinate:n[o+1]?.coordinate,u=void 0;if(!(s==null||c==null||l==null))if(rp(c-s)!==rp(l-c)){var d=[];if(rp(l-c)===rp(i[1]-i[0])){u=l;var f=c+i[1]-i[0];d[0]=Math.min(f,(f+s)/2),d[1]=Math.max(f,(f+s)/2)}else{u=s;var p=l+i[1]-i[0];d[0]=Math.min(c,(p+c)/2),d[1]=Math.max(c,(p+c)/2)}var m=[Math.min(c,(u+c)/2),Math.max(c,(u+c)/2)];if(e>m[0]&&e<=m[1]||e>=d[0]&&e<=d[1])return n[o]?.index}else{var h=Math.min(s,l),g=Math.max(s,l);if(e>(h+c)/2&&e<=(g+c)/2)return n[o]?.index}}else if(t)for(var _=0;_<a;_++){var v=t[_];if(v!=null){var y=t[_+1],b=t[_-1];if(_===0&&y!=null&&e<=(v.coordinate+y.coordinate)/2||_===a-1&&b!=null&&e>(v.coordinate+b.coordinate)/2||_>0&&_<a-1&&b!=null&&y!=null&&e>(v.coordinate+b.coordinate)/2&&e<=(v.coordinate+y.coordinate)/2)return v.index}}return-1}})),qP,JP,YP,XP,ZP,QP,$P,eF,tF,nF,rF,iF,aF,oF,sF,cF,lF,uF,dF=o((()=>{Dm(),qP=u(Fm()),Y(),nv(),xC(),LP(),iN(),XC(),py(),xv(),sv(),dN(),NN(),FN(),LN(),zN(),VN(),UN(),JN(),dse(),eC(),JP=()=>J(GC),YP=(e,t)=>t,XP=(e,t,n)=>n,ZP=(e,t,n,r)=>r,QP=X(SP,e=>(0,qP.default)(e,e=>e.coordinate)),$P=X([HN,YP,XP,ZP],MN),eF=X([$P,nP,kj,fP],PN),tF=(e,t,n)=>{if(t!=null){var r=HN(e);return t===`axis`?n===`hover`?r.axisInteraction.hover.dataKey:r.axisInteraction.click.dataKey:n===`hover`?r.itemInteraction.hover.dataKey:r.itemInteraction.click.dataKey}},nF=X([HN,YP,XP,ZP],RN),rF=X([rv,iv,Q,vv,SP,ZP,nF],IN),iF=X([$P,rF],(e,t)=>e.coordinate??t),aF=X([SP,eF],uN),oF=X([nF,eF,mC,kj,aF,BN,YP],qN),sF=X([$P,eF],(e,t)=>({isActive:e.active&&t!=null,activeIndex:t})),cF=(e,t,n,r,i,a,o)=>{if(!(!e||!n||!r||!i)&&use(e,o)){var s=KP(ev(e,t),a,i,n,r),c=WP(t,i,s,e);return{activeIndex:String(s),activeCoordinate:c}}},lF=(e,t,n,r,i,a,o)=>{if(!(!e||!r||!i||!a||!n)){var s=$S(e,n);if(s){var c=KP(tv(s,t),o,a,r,i),l=GP(t,a,c,s);return{activeIndex:String(c),activeCoordinate:l}}}},uF=(e,t,n,r,i,a,o,s)=>{if(!(!e||!t||!r||!i||!a))return t===`horizontal`||t===`vertical`?cF(e,t,r,i,a,o,s):lF(e,t,n,r,i,a,o)}})),fF,pF,mF=o((()=>{Dm(),Bw(),QC(),fF=X(e=>e.zIndex.zIndexMap,(e,t)=>t,(e,t,n)=>n,(e,t,n)=>{if(t!=null){var r=e[t];if(r!=null)return n?r.panoramaElement:r.element}}),pF=X(e=>e.zIndex.zIndexMap,e=>{var t=Object.keys(e).map(e=>parseInt(e,10)).concat(Object.values(ZC));return Array.from(new Set(t)).sort((e,t)=>e-t)},{memoizeOptions:{resultEqualityCheck:zw}})}));function hF(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function gF(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?hF(Object(n),!0).forEach(function(t){fse(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):hF(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function fse(e,t,n){return(t=pse(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function pse(e){var t=mse(e,`string`);return typeof t==`symbol`?t:t+``}function mse(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function hse(e){return vF.has(e)}var _F,vF,yF,bF,xF,SF,CF,wF,TF=o((()=>{g_(),ob(),QC(),_F={zIndexMap:Object.values(ZC).reduce((e,t)=>gF(gF({},e),{},{[t]:{element:void 0,panoramaElement:void 0,consumers:0}}),{})},vF=new Set(Object.values(ZC)),yF=Ig({name:`zIndex`,initialState:_F,reducers:{registerZIndexPortal:{reducer:(e,t)=>{var{zIndex:n}=t.payload;e.zIndexMap[n]?e.zIndexMap[n].consumers+=1:e.zIndexMap[n]={consumers:1,element:void 0,panoramaElement:void 0}},prepare:kg()},unregisterZIndexPortal:{reducer:(e,t)=>{var{zIndex:n}=t.payload;e.zIndexMap[n]&&(--e.zIndexMap[n].consumers,e.zIndexMap[n].consumers<=0&&!hse(n)&&delete e.zIndexMap[n])},prepare:kg()},registerZIndexPortalElement:{reducer:(e,t)=>{var{zIndex:n,element:r,isPanorama:i}=t.payload;e.zIndexMap[n]?i?e.zIndexMap[n].panoramaElement=Ky(r):e.zIndexMap[n].element=Ky(r):e.zIndexMap[n]={consumers:0,element:i?void 0:Ky(r),panoramaElement:i?Ky(r):void 0}},prepare:kg()},unregisterZIndexPortalElement:{reducer:(e,t)=>{var{zIndex:n}=t.payload;e.zIndexMap[n]&&(t.payload.isPanorama?e.zIndexMap[n].panoramaElement=void 0:e.zIndexMap[n].element=void 0)},prepare:kg()}}}),{registerZIndexPortal:bF,unregisterZIndexPortal:xF,registerZIndexPortalElement:SF,unregisterZIndexPortalElement:CF}=yF.actions,wF=yF.reducer}));function EF(e){var{zIndex:t,children:n}=e,r=uy()&&t!==void 0&&t!==0,i=wv(),a=(0,DF.useRef)(void 0),o=(0,DF.useRef)(new Set),s=hm(),c=J(e=>fF(e,t,i));if((0,DF.useLayoutEffect)(()=>{if(!r){var e=o.current;e.forEach(e=>{s(xF({zIndex:e}))}),e.clear(),a.current=void 0;return}if(o.current.has(t)||(s(bF({zIndex:t})),o.current.add(t)),c){a.current=c;var n=o.current;n.forEach(e=>{e!==t&&(s(xF({zIndex:e})),n.delete(e))})}},[s,t,r,c]),(0,DF.useLayoutEffect)(()=>{var e=o.current;return()=>{e.forEach(e=>{s(xF({zIndex:e}))}),e.clear()}},[s]),!r)return n;var l=c??a.current;return l?(0,OF.createPortal)(n,l):null}var DF,OF,kF=o((()=>{DF=u(f()),OF=g(),Y(),mF(),TF(),py(),Tv()}));function AF(){return AF=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},AF.apply(null,arguments)}function jF(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function MF(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?jF(Object(n),!0).forEach(function(t){gse(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):jF(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function gse(e,t,n){return(t=_se(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _se(e){var t=vse(e,`string`);return typeof t==`symbol`?t:t+``}function vse(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function yse(e){var{cursor:t,cursorComp:n,cursorProps:r}=e;return(0,PF.isValidElement)(t)?(0,PF.cloneElement)(t,r):(0,PF.createElement)(n,r)}function bse(e){var{coordinate:t,payload:n,index:r,offset:i,tooltipAxisBandSize:a,layout:o,cursor:s,tooltipEventType:c,chartName:l}=e,u=t,d=n,f=r;if(!s||!u||l!==`ScatterChart`&&c!==`axis`)return null;var p,m,h;if(l===`ScatterChart`)p=u,m=zx,h=ZC.cursorLine;else if(l===`BarChart`)p=ure(o,u,i,a),m=BS,h=ZC.cursorRectangle;else if(o===`radial`&&Dp(u)){var{cx:g,cy:_,radius:v,startAngle:y,endAngle:b}=tC(u);p={cx:g,cy:_,startAngle:y,endAngle:b,innerRadius:v,outerRadius:v},m=dC,h=ZC.cursorLine}else p={points:Kre(o,u,i)},m=Mx,h=ZC.cursorLine;var x=typeof s==`object`&&`className`in s?s.className:void 0,S=MF(MF(MF(MF({stroke:`#ccc`,pointerEvents:`none`},i),p),Vu(s)),{},{payload:d,payloadIndex:f,className:U(`recharts-tooltip-cursor`,x)});return NF.createElement(EF,{zIndex:e.zIndex??h},NF.createElement(yse,{cursor:s,cursorComp:m,cursorProps:S}))}function xse(e){var t=VP(),n=ny(),r=oy(),i=JP();return t==null||n==null||r==null||i==null?null:NF.createElement(bse,AF({},e,{offset:n,layout:r,tooltipAxisBandSize:t,chartName:i}))}var NF,PF,Sse=o((()=>{NF=u(f()),PF=u(f()),Pu(),Mp(),Nx(),Bx(),dre(),VS(),nC(),fC(),qre(),py(),ose(),dF(),Wu(),kF(),QC()})),FF,IF,LF,RF=o((()=>{FF=u(f()),IF=(0,FF.createContext)(null),LF=()=>(0,FF.useContext)(IF)})),Cse=s(((e,t)=>{var n=Object.prototype.hasOwnProperty,r=`~`;function i(){}Object.create&&(i.prototype=Object.create(null),new i().__proto__||(r=!1));function a(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function o(e,t,n,i,o){if(typeof n!=`function`)throw TypeError(`The listener must be a function`);var s=new a(n,i||e,o),c=r?r+t:t;return e._events[c]?e._events[c].fn?e._events[c]=[e._events[c],s]:e._events[c].push(s):(e._events[c]=s,e._eventsCount++),e}function s(e,t){--e._eventsCount===0?e._events=new i:delete e._events[t]}function c(){this._events=new i,this._eventsCount=0}c.prototype.eventNames=function(){var e=[],t,i;if(this._eventsCount===0)return e;for(i in t=this._events)n.call(t,i)&&e.push(r?i.slice(1):i);return Object.getOwnPropertySymbols?e.concat(Object.getOwnPropertySymbols(t)):e},c.prototype.listeners=function(e){var t=r?r+e:e,n=this._events[t];if(!n)return[];if(n.fn)return[n.fn];for(var i=0,a=n.length,o=Array(a);i<a;i++)o[i]=n[i].fn;return o},c.prototype.listenerCount=function(e){var t=r?r+e:e,n=this._events[t];return n?n.fn?1:n.length:0},c.prototype.emit=function(e,t,n,i,a,o){var s=r?r+e:e;if(!this._events[s])return!1;var c=this._events[s],l=arguments.length,u,d;if(c.fn){switch(c.once&&this.removeListener(e,c.fn,void 0,!0),l){case 1:return c.fn.call(c.context),!0;case 2:return c.fn.call(c.context,t),!0;case 3:return c.fn.call(c.context,t,n),!0;case 4:return c.fn.call(c.context,t,n,i),!0;case 5:return c.fn.call(c.context,t,n,i,a),!0;case 6:return c.fn.call(c.context,t,n,i,a,o),!0}for(d=1,u=Array(l-1);d<l;d++)u[d-1]=arguments[d];c.fn.apply(c.context,u)}else{var f=c.length,p;for(d=0;d<f;d++)switch(c[d].once&&this.removeListener(e,c[d].fn,void 0,!0),l){case 1:c[d].fn.call(c[d].context);break;case 2:c[d].fn.call(c[d].context,t);break;case 3:c[d].fn.call(c[d].context,t,n);break;case 4:c[d].fn.call(c[d].context,t,n,i);break;default:if(!u)for(p=1,u=Array(l-1);p<l;p++)u[p-1]=arguments[p];c[d].fn.apply(c[d].context,u)}}return!0},c.prototype.on=function(e,t,n){return o(this,e,t,n,!1)},c.prototype.once=function(e,t,n){return o(this,e,t,n,!0)},c.prototype.removeListener=function(e,t,n,i){var a=r?r+e:e;if(!this._events[a])return this;if(!t)return s(this,a),this;var o=this._events[a];if(o.fn)o.fn===t&&(!i||o.once)&&(!n||o.context===n)&&s(this,a);else{for(var c=0,l=[],u=o.length;c<u;c++)(o[c].fn!==t||i&&!o[c].once||n&&o[c].context!==n)&&l.push(o[c]);l.length?this._events[a]=l.length===1?l[0]:l:s(this,a)}return this},c.prototype.removeAllListeners=function(e){var t;return e?(t=r?r+e:e,this._events[t]&&s(this,t)):(this._events=new i,this._eventsCount=0),this},c.prototype.off=c.prototype.removeListener,c.prototype.addListener=c.prototype.on,c.prefixed=r,c.EventEmitter=c,t!==void 0&&(t.exports=c)})),zF,BF,wse=o((()=>{zF=u(Cse(),1),BF=zF.default})),VF,HF,UF,Tse=o((()=>{wse(),VF=new BF,HF=`recharts.syncEvent.tooltip`,UF=`recharts.syncEvent.brush`})),WF,GF,KF,qF,JF=o((()=>{g_(),q(),WF=(e,t)=>{if(t&&Array.isArray(e)){var n=Number.parseInt(t,10);if(!ip(n))return e[n]}},GF=Ig({name:`options`,initialState:{chartName:``,tooltipPayloadSearcher:()=>void 0,eventEmitter:void 0,defaultTooltipEventType:`axis`},reducers:{createEventEmitter:e=>{e.eventEmitter??=Symbol(`rechartsEventEmitter`)}}}),KF=GF.reducer,{createEventEmitter:qF}=GF.actions}));function Ese(e){return e.tooltip.syncInteraction}var Dse=o((()=>{})),YF,XF,ZF,QF,$F,eI,tI=o((()=>{g_(),ob(),YF={chartData:void 0,computedData:void 0,dataStartIndex:0,dataEndIndex:0},XF=Ig({name:`chartData`,initialState:YF,reducers:{setChartData(e,t){if(e.chartData=Ky(t.payload),t.payload==null){e.dataStartIndex=0,e.dataEndIndex=0;return}t.payload.length>0&&e.dataEndIndex!==t.payload.length-1&&(e.dataEndIndex=t.payload.length-1)},setComputedData(e,t){e.computedData=t.payload},setDataStartEndIndexes(e,t){var{startIndex:n,endIndex:r}=t.payload;n!=null&&(e.dataStartIndex=n),r!=null&&(e.dataEndIndex=r)}}}),{setChartData:ZF,setDataStartEndIndexes:QF,setComputedData:$F}=XF.actions,eI=XF.reducer}));function nI(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function rI(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?nI(Object(n),!0).forEach(function(t){iI(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):nI(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function iI(e,t,n){return(t=aI(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function aI(e){var t=oI(e,`string`);return typeof t==`symbol`?t:t+``}function oI(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function sI(e,t){if(e==null)return{};var n,r,i=cI(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function cI(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function lI(){var e=J(KC),t=J(JC),n=hm(),r=J(qC),i=J(SP),a=oy(),o=ey();(0,pI.useEffect)(()=>{if(e==null)return tp;var s=(s,c,l)=>{if(t!==l&&e===s){if(c.payload.active===!1){n(EN({active:!1,coordinate:void 0,dataKey:void 0,index:null,label:void 0,sourceViewBox:void 0,graphicalItemId:void 0}));return}if(r===`index`){var u;if(o&&c!=null&&(u=c.payload)!=null&&u.coordinate&&c.payload.sourceViewBox){var d=c.payload.coordinate,{x:f,y:p}=d,m=sI(d,mI),{x:h,y:g,width:_,height:v}=c.payload.sourceViewBox,y=rI(rI({},m),{},{x:o.x+(_?(f-h)/_:0)*o.width,y:o.y+(v?(p-g)/v:0)*o.height});n(rI(rI({},c),{},{payload:rI(rI({},c.payload),{},{coordinate:y})}))}else n(c);return}if(i!=null){var b;typeof r==`function`?b=i[r(i,{activeTooltipIndex:c.payload.index==null?void 0:Number(c.payload.index),isTooltipActive:c.payload.active,activeIndex:c.payload.index==null?void 0:Number(c.payload.index),activeLabel:c.payload.label,activeDataKey:c.payload.dataKey,activeCoordinate:c.payload.coordinate})]:r===`value`&&(b=i.find(e=>String(e.value)===c.payload.label));var{coordinate:x}=c.payload;if(x==null||o==null){n(EN({active:!1,coordinate:void 0,dataKey:void 0,index:null,label:void 0,sourceViewBox:void 0,graphicalItemId:void 0}));return}if(b==null){n(EN({active:!1,coordinate:void 0,dataKey:void 0,index:null,label:void 0,sourceViewBox:c.payload.sourceViewBox,graphicalItemId:void 0}));return}var{x:S,y:C}=x,w=Math.min(S,o.x+o.width),T=Math.min(C,o.y+o.height),E={x:a===`horizontal`?b.coordinate:w,y:a===`horizontal`?T:b.coordinate};n(EN({active:c.payload.active,coordinate:E,dataKey:c.payload.dataKey,index:String(b.index),label:c.payload.label,sourceViewBox:c.payload.sourceViewBox,graphicalItemId:c.payload.graphicalItemId}))}}};return VF.on(HF,s),()=>{VF.off(HF,s)}},[J(e=>e.rootProps.className),n,t,e,r,i,a,o])}function uI(){var e=J(KC),t=J(JC),n=hm();(0,pI.useEffect)(()=>{if(e==null)return tp;var r=(r,i,a)=>{t!==a&&e===r&&n(QF(i))};return VF.on(UF,r),()=>{VF.off(UF,r)}},[n,t,e])}function dI(){var e=hm();(0,pI.useEffect)(()=>{e(qF())},[e]),lI(),uI()}function fI(e,t,n,r,i,a){var o=J(n=>tF(n,e,t)),s=J(AP),c=J(JC),l=J(KC),u=J(qC),d=J(Ese)?.sourceViewBox!=null,f=ey();(0,pI.useEffect)(()=>{if(!d&&l!=null&&c!=null){var e=EN({active:a,coordinate:n,dataKey:o,index:i,label:typeof r==`number`?String(r):r,sourceViewBox:f,graphicalItemId:s});VF.emit(HF,l,e,c)}},[d,n,o,s,i,r,c,l,u,a,f])}var pI,mI,hI=o((()=>{pI=u(f()),Y(),XC(),Tse(),JF(),kN(),dF(),LP(),Dse(),py(),tI(),q(),mI=[`x`,`y`]}));function gI(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function _I(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?gI(Object(n),!0).forEach(function(t){vI(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):gI(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function vI(e,t,n){return(t=yI(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function yI(e){var t=bI(e,`string`);return typeof t==`symbol`?t:t+``}function bI(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function xI(e){return e.dataKey}function SI(e,t){return wI.isValidElement(e)?wI.cloneElement(e,t):typeof e==`function`?wI.createElement(e,t):wI.createElement(rx,t)}function CI(e){var t=Pp(e,OI),{active:n,allowEscapeViewBox:r,animationDuration:i,animationEasing:a,content:o,filterNull:s,isAnimationActive:c,offset:l,payloadUniqBy:u,position:d,reverseDirection:f,useTranslate3d:p,wrapperStyle:m,cursor:h,shared:g,trigger:_,defaultIndex:v,portal:y,axisId:b}=t,x=hm(),S=typeof v==`number`?String(v):v;(0,TI.useEffect)(()=>{x(yN({shared:g,trigger:_,axisId:b,active:n,defaultIndex:S}))},[x,g,_,b,n,S]);var C=ey(),w=vx(),T=zoe(g),{activeIndex:E,isActive:D}=J(e=>sF(e,T,_,S))??{},O=J(e=>oF(e,T,_,S)),k=J(e=>aF(e,T,_,S)),A=J(e=>iF(e,T,_,S)),j=O,M=LF(),N=n??D??!1,[ee,te]=Hm([j,N]),ne=T===`axis`?k:void 0;fI(T,_,A,ne,E,N);var re=y??M;if(re==null||C==null||T==null)return null;var ie=j??DI;N||(ie=DI),s&&ie.length&&(ie=om(ie.filter(e=>e.value!=null&&(e.hide!==!0||t.includeHidden)),u,xI));var ae=ie.length>0,oe=_I(_I({},t),{},{payload:ie,label:ne,active:N,activeIndex:E,coordinate:A,accessibilityLayer:w}),se=wI.createElement(_x,{allowEscapeViewBox:r,animationDuration:i,animationEasing:a,isAnimationActive:c,active:N,coordinate:A,hasPayload:ae,offset:l,position:d,reverseDirection:f,useTranslate3d:p,viewBox:C,wrapperStyle:m,lastBoundingBox:ee,innerRef:te,hasPortalFromProps:!!y},SI(o,oe));return wI.createElement(wI.Fragment,null,(0,EI.createPortal)(se,re),N&&wI.createElement(xse,{cursor:h,tooltipEventType:T,coordinate:A,payload:ie,index:E}))}var wI,TI,EI,DI,OI,kI=o((()=>{wI=u(f()),TI=u(f()),EI=g(),ix(),ere(),cm(),py(),yx(),Gm(),Sse(),dF(),RF(),Y(),kN(),hI(),lN(),Fp(),DI=[],OI={allowEscapeViewBox:{x:!1,y:!1},animationDuration:400,animationEasing:`ease`,axisId:0,contentStyle:{},cursor:!0,filterNull:!0,includeHidden:!1,isAnimationActive:`auto`,itemSorter:`name`,itemStyle:{},labelStyle:{},offset:10,reverseDirection:{x:!1,y:!1},separator:` : `,trigger:`hover`,useTranslate3d:!1,wrapperStyle:{}}})),AI,jI=o((()=>{AI=e=>null,AI.displayName=`Cell`}));function MI(e,t,n){return(t=NI(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function NI(e){var t=PI(e,`string`);return typeof t==`symbol`?t:t+``}function PI(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var FI,II=o((()=>{FI=class{constructor(e){MI(this,`cache`,new Map),this.maxSize=e}get(e){var t=this.cache.get(e);return t!==void 0&&(this.cache.delete(e),this.cache.set(e,t)),t}set(e,t){if(this.cache.has(e))this.cache.delete(e);else if(this.cache.size>=this.maxSize){var n=this.cache.keys().next().value;n!=null&&this.cache.delete(n)}this.cache.set(e,t)}clear(){this.cache.clear()}size(){return this.cache.size}}}));function LI(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function RI(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?LI(Object(n),!0).forEach(function(t){zI(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):LI(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function zI(e,t,n){return(t=Ose(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ose(e){var t=kse(e,`string`);return typeof t==`symbol`?t:t+``}function kse(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function Ase(e,t){return`${e}|${t.fontSize||``}|${t.fontFamily||``}|${t.fontWeight||``}|${t.fontStyle||``}|${t.letterSpacing||``}|${t.textTransform||``}`}var BI,VI,HI,UI,WI,GI,KI=o((()=>{ux(),II(),BI=RI({},{cacheSize:2e3,enableCache:!0}),VI=new FI(BI.cacheSize),HI={position:`absolute`,top:`-20000px`,left:0,padding:0,margin:0,border:`none`,whiteSpace:`pre`},UI=`recharts_measurement_span`,WI=(e,t)=>{try{var n=document.getElementById(UI);n||(n=document.createElement(`span`),n.setAttribute(`id`,UI),n.setAttribute(`aria-hidden`,`true`),document.body.appendChild(n)),Object.assign(n.style,HI,t),n.textContent=`${e}`;var r=n.getBoundingClientRect();return{width:r.width,height:r.height}}catch{return{width:0,height:0}}},GI=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(e==null||lx.isSsr)return{width:0,height:0};if(!BI.enableCache)return WI(e,t);var n=Ase(e,t),r=VI.get(n);if(r)return r;var i=WI(e,t);return VI.set(n,i),i}}));function jse(e,t,n){return(t=Mse(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Mse(e){var t=Nse(e,`string`);return typeof t==`symbol`?t:t+``}function Nse(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function Pse(e){return tL.includes(e)}function Fse(e,t){return e*eL[t]}function qI(e){if(e==null||e.includes(nL))return nL;for(var t=e;t.includes(`*`)||t.includes(`/`);){var[,n,r,i]=XI.exec(t)??[],a=rL.parse(n??``),o=rL.parse(i??``),s=r===`*`?a.multiply(o):a.divide(o);if(s.isNaN())return nL;t=t.replace(XI,s.toString())}for(;t.includes(`+`)||/.-\\d+(?:\\.\\d+)?/.test(t);){var[,c,l,u]=ZI.exec(t)??[],d=rL.parse(c??``),f=rL.parse(u??``),p=l===`+`?d.add(f):d.subtract(f);if(p.isNaN())return nL;t=t.replace(ZI,p.toString())}return t}function Ise(e){for(var t=e,n;(n=iL.exec(t))!=null;){var[,r]=n;t=t.replace(iL,qI(r))}return t}function Lse(e){var t=e.replace(/\\s+/g,``);return t=Ise(t),t=qI(t),t}function Rse(e){try{return Lse(e)}catch{return nL}}function JI(e){var t=Rse(e.slice(5,-1));return t===nL?``:t}var YI,XI,ZI,QI,$I,eL,tL,nL,rL,iL,zse=o((()=>{q(),XI=/(-?\\d+(?:\\.\\d+)?[a-zA-Z%]*)([*/])(-?\\d+(?:\\.\\d+)?[a-zA-Z%]*)/,ZI=/(-?\\d+(?:\\.\\d+)?[a-zA-Z%]*)([+-])(-?\\d+(?:\\.\\d+)?[a-zA-Z%]*)/,QI=/^(px|cm|vh|vw|em|rem|%|mm|in|pt|pc|ex|ch|vmin|vmax|Q)$/,$I=/(-?\\d+(?:\\.\\d+)?)([a-zA-Z%]+)?/,eL={cm:96/2.54,mm:96/25.4,pt:96/72,pc:96/6,in:96,Q:96/(2.54*40),px:1},tL=[`cm`,`mm`,`pt`,`pc`,`in`,`Q`,`px`],nL=`NaN`,rL=class e{static parse(t){var[,n,r]=$I.exec(t)??[];return n==null?e.NaN:new e(parseFloat(n),r??``)}constructor(e,t){this.num=e,this.unit=t,this.num=e,this.unit=t,ip(e)&&(this.unit=``),t!==``&&!QI.test(t)&&(this.num=NaN,this.unit=``),Pse(t)&&(this.num=Fse(e,t),this.unit=`px`)}add(t){return this.unit===t.unit?new e(this.num+t.num,this.unit):new e(NaN,``)}subtract(t){return this.unit===t.unit?new e(this.num-t.num,this.unit):new e(NaN,``)}multiply(t){return this.unit!==``&&t.unit!==``&&this.unit!==t.unit?new e(NaN,``):new e(this.num*t.num,this.unit||t.unit)}divide(t){return this.unit!==``&&t.unit!==``&&this.unit!==t.unit?new e(NaN,``):new e(this.num/t.num,this.unit||t.unit)}toString(){return`${this.num}${this.unit}`}isNaN(){return ip(this.num)}},YI=rL,jse(rL,`NaN`,new YI(NaN,``)),iL=/\\(([^()]*)\\)/}));function aL(){return aL=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},aL.apply(null,arguments)}function oL(e,t){if(e==null)return{};var n,r,i=Bse(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function Bse(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function sL(e){return e===`start`||e===`middle`||e===`end`||e===`inherit`}function Vse(e){return fp(e)||typeof e==`string`||typeof e==`number`||typeof e==`boolean`}var cL,lL,uL,dL,fL,pL,mL,hL,gL,_L,vL,yL,bL,xL,SL,CL,wL=o((()=>{cL=u(f()),lL=u(f()),Pu(),q(),ux(),KI(),zse(),qu(),Fp(),D_(),uL=[`x`,`y`,`lineHeight`,`capHeight`,`fill`,`scaleToFit`,`textAnchor`,`verticalAnchor`],dL=[`dx`,`dy`,`angle`,`className`,`breakAll`],fL=/[ \\f\\n\\r\\t\\v\\u2028\\u2029]+/,pL=e=>{var{children:t,breakAll:n,style:r}=e;try{var i=[];return fp(t)||(i=n?t.toString().split(``):t.toString().split(fL)),{wordsWithComputedWidth:i.map(e=>({word:e,width:GI(e,r).width})),spaceWidth:n?0:GI(`\\xA0`,r).width}}catch{return null}},mL=(e,t,n,r)=>e.reduce((e,i)=>{var{word:a,width:o}=i,s=e[e.length-1];if(s&&o!=null&&(t==null||r||s.width+o+n<Number(t)))s.words.push(a),s.width+=o+n;else{var c={words:[a],width:o};e.push(c)}return e},[]),hL=e=>e.reduce((e,t)=>e.width>t.width?e:t),gL=`…`,_L=(e,t,n,r,i,a,o,s)=>{var c=pL({breakAll:n,style:r,children:e.slice(0,t)+gL});if(!c)return[!1,[]];var l=mL(c.wordsWithComputedWidth,a,o,s);return[l.length>i||hL(l).width>Number(a),l]},vL=(e,t,n,r,i)=>{var{maxLines:a,children:o,style:s,breakAll:c}=e,l=K(a),u=String(o),d=mL(t,r,n,i);if(!l||i||!(d.length>a||hL(d).width>Number(r)))return d;for(var f=0,p=u.length-1,m=0,h;f<=p&&m<=u.length-1;){var g=Math.floor((f+p)/2),[_,v]=_L(u,g-1,c,s,a,r,n,i),[y]=_L(u,g,c,s,a,r,n,i);if(!_&&!y&&(f=g+1),_&&y&&(p=g-1),!_&&y){h=v;break}m++}return h||d},yL=e=>[{words:fp(e)?[]:e.toString().split(fL),width:void 0}],bL=e=>{var{width:t,scaleToFit:n,children:r,style:i,breakAll:a,maxLines:o}=e;if((t||n)&&!lx.isSsr){var s,c,l=pL({breakAll:a,children:r,style:i});if(l){var{wordsWithComputedWidth:u,spaceWidth:d}=l;s=u,c=d}else return yL(r);return vL({breakAll:a,children:r,maxLines:o,style:i},s,c,t,!!n)}return yL(r)},xL=`#808080`,SL={angle:0,breakAll:!1,capHeight:`0.71em`,fill:xL,lineHeight:`1em`,scaleToFit:!1,textAnchor:`start`,verticalAnchor:`end`,x:0,y:0},CL=(0,lL.forwardRef)((e,t)=>{var n=Pp(e,SL),{x:r,y:i,lineHeight:a,capHeight:o,fill:s,scaleToFit:c,textAnchor:l,verticalAnchor:u}=n,d=oL(n,uL),f=(0,lL.useMemo)(()=>bL({breakAll:d.breakAll,children:d.children,maxLines:d.maxLines,scaleToFit:c,style:d.style,width:d.width}),[d.breakAll,d.children,d.maxLines,c,d.style,d.width]),{dx:p,dy:m,angle:h,className:g,breakAll:_}=d,v=oL(d,dL);if(!op(r)||!op(i)||f.length===0)return null;var y=Number(r)+(K(p)?p:0),b=Number(i)+(K(m)?m:0);if(!Z(y)||!Z(b))return null;var x;switch(u){case`start`:x=JI(`calc(${o})`);break;case`middle`:x=JI(`calc(${(f.length-1)/2} * -${a} + (${o} / 2))`);break;default:x=JI(`calc(${f.length-1} * -${a})`);break}var S=[],C=f[0];if(c&&C!=null){var w=C.width,{width:T}=d;S.push(`scale(${K(T)&&K(w)?T/w:1})`)}return h&&S.push(`rotate(${h}, ${y}, ${b})`),S.length&&(v.transform=S.join(` `)),cL.createElement(`text`,aL({},Gu(v),{ref:t,x:y,y:b,className:U(`recharts-text`,g),textAnchor:l,fill:s.includes(`url`)?xL:s}),f.map((e,t)=>{var n=e.words.join(_?``:` `);return cL.createElement(`tspan`,{x:y,dy:t===0?x:a,key:`${n}-${t}`},n)}))}),CL.displayName=`Text`}));function TL(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function EL(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?TL(Object(n),!0).forEach(function(t){Hse(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):TL(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Hse(e,t,n){return(t=Use(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Use(e){var t=Wse(e,`string`);return typeof t==`symbol`?t:t+``}function Wse(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var DL,Gse=o((()=>{q(),py(),DL=e=>{var{viewBox:t,position:n,offset:r=0,parentViewBox:i,clamp:a}=e,{x:o,y:s,height:c,upperWidth:l,lowerWidth:u}=Qv(t),d=o,f=o+(l-u)/2,p=(d+f)/2,m=(l+u)/2,h=d+l/2,g=c>=0?1:-1,_=g*r,v=g>0?`end`:`start`,y=g>0?`start`:`end`,b=l>=0?1:-1,x=b*r,S=b>0?`end`:`start`,C=b>0?`start`:`end`,w=i;if(n===`top`){var T={x:d+l/2,y:s-_,horizontalAnchor:`middle`,verticalAnchor:v};return a&&w&&(T.height=Math.max(s-w.y,0),T.width=l),T}if(n===`bottom`){var E={x:f+u/2,y:s+c+_,horizontalAnchor:`middle`,verticalAnchor:y};return a&&w&&(E.height=Math.max(w.y+w.height-(s+c),0),E.width=u),E}if(n===`left`){var D={x:p-x,y:s+c/2,horizontalAnchor:S,verticalAnchor:`middle`};return a&&w&&(D.width=Math.max(D.x-w.x,0),D.height=c),D}if(n===`right`){var O={x:p+m+x,y:s+c/2,horizontalAnchor:C,verticalAnchor:`middle`};return a&&w&&(O.width=Math.max(w.x+w.width-O.x,0),O.height=c),O}var k=a&&w?{width:m,height:c}:{};return n===`insideLeft`?EL({x:p+x,y:s+c/2,horizontalAnchor:C,verticalAnchor:`middle`},k):n===`insideRight`?EL({x:p+m-x,y:s+c/2,horizontalAnchor:S,verticalAnchor:`middle`},k):n===`insideTop`?EL({x:d+l/2,y:s+_,horizontalAnchor:`middle`,verticalAnchor:y},k):n===`insideBottom`?EL({x:f+u/2,y:s+c-_,horizontalAnchor:`middle`,verticalAnchor:v},k):n===`insideTopLeft`?EL({x:d+x,y:s+_,horizontalAnchor:C,verticalAnchor:y},k):n===`insideTopRight`?EL({x:d+l-x,y:s+_,horizontalAnchor:S,verticalAnchor:y},k):n===`insideBottomLeft`?EL({x:f+x,y:s+c-_,horizontalAnchor:C,verticalAnchor:v},k):n===`insideBottomRight`?EL({x:f+u-x,y:s+c-_,horizontalAnchor:S,verticalAnchor:v},k):n&&typeof n==`object`&&(K(n.x)||ap(n.x))&&(K(n.y)||ap(n.y))?EL({x:o+lp(n.x,m),y:s+lp(n.y,c),horizontalAnchor:`end`,verticalAnchor:`end`},k):EL({x:h,y:s+c/2,horizontalAnchor:`middle`,verticalAnchor:`middle`},k)}}));function OL(e,t){if(e==null)return{};var n,r,i=Kse(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function Kse(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function kL(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function AL(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?kL(Object(n),!0).forEach(function(t){qse(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):kL(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function qse(e,t,n){return(t=Jse(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Jse(e){var t=Yse(e,`string`);return typeof t==`symbol`?t:t+``}function Yse(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function jL(){return jL=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},jL.apply(null,arguments)}function Xse(e){if(!YL(e))return e;var{cx:t,cy:n,outerRadius:r}=e,i=r*2;return{x:t-r,y:n-r,width:i,upperWidth:i,lowerWidth:i,height:i}}function ML(e){var t=Pp(e,XL),{viewBox:n,parentViewBox:r,position:i,value:a,children:o,content:s,className:c=``,textBreakAll:l,labelRef:u}=t,d=UL(),f=BL(),p=n==null?i===`center`?f:d??f:YL(n)?n:Qv(n),m,h,g=Xse(p);if(!p||fp(a)&&fp(o)&&!(0,FL.isValidElement)(s)&&typeof s!=`function`)return null;var _=AL(AL({},t),{},{viewBox:p});if((0,FL.isValidElement)(s)){var{labelRef:v}=_;return(0,FL.cloneElement)(s,OL(_,IL))}if(typeof s==`function`){var{content:y}=_;if(m=(0,FL.createElement)(s,OL(_,LL)),(0,FL.isValidElement)(m))return m}else m=WL(t);var b=Gu(t);if(YL(p)){if(i===`insideStart`||i===`insideEnd`||i===`end`)return qL(t,i,m,b,p);h=JL(p,t.offset,t.position)}else{if(!g)return null;var x=DL({viewBox:g,position:i,offset:t.offset,parentViewBox:YL(r)?void 0:r,clamp:!0});h=AL(AL({x:x.x,y:x.y,textAnchor:x.horizontalAnchor,verticalAnchor:x.verticalAnchor},x.width===void 0?{}:{width:x.width}),x.height===void 0?{}:{height:x.height})}return PL.createElement(EF,{zIndex:t.zIndex},PL.createElement(CL,jL({ref:u,className:U(`recharts-label`,c)},b,h,{textAnchor:sL(b.textAnchor)?b.textAnchor:h.textAnchor,breakAll:l}),m))}function NL(e){var{label:t,labelRef:n}=e;return ZL(t,BL(),n)||null}function Zse(e){var{label:t}=e;return ZL(t,UL())||null}var PL,FL,IL,LL,RL,zL,BL,VL,HL,UL,WL,GL,KL,qL,JL,YL,XL,ZL,QL=o((()=>{PL=u(f()),FL=u(f()),Pu(),wL(),q(),eC(),py(),Y(),Tw(),Fp(),qu(),kF(),QC(),Gse(),IL=[`labelRef`],LL=[`content`],RL=(0,FL.createContext)(null),zL=e=>{var{x:t,y:n,upperWidth:r,lowerWidth:i,width:a,height:o,children:s}=e,c=(0,FL.useMemo)(()=>({x:t,y:n,upperWidth:r,lowerWidth:i,width:a,height:o}),[t,n,r,i,a,o]);return PL.createElement(RL.Provider,{value:c},s)},BL=()=>{var e=(0,FL.useContext)(RL),t=ey();return e||(t?Qv(t):void 0)},VL=(0,FL.createContext)(null),HL=e=>{var{cx:t,cy:n,innerRadius:r,outerRadius:i,startAngle:a,endAngle:o,clockWise:s,children:c}=e,l=(0,FL.useMemo)(()=>({cx:t,cy:n,innerRadius:r,outerRadius:i,startAngle:a,endAngle:o,clockWise:s}),[t,n,r,i,a,o,s]);return PL.createElement(VL.Provider,{value:l},c)},UL=()=>{var e=(0,FL.useContext)(VL),t=J(ww);return e||t},WL=e=>{var{value:t,formatter:n}=e,r=fp(e.children)?t:e.children;return typeof n==`function`?n(r):r},GL=e=>e!=null&&typeof e==`function`,KL=(e,t)=>rp(t-e)*Math.min(Math.abs(t-e),360),qL=(e,t,n,r,i)=>{var{offset:a,className:o}=e,{cx:s,cy:c,innerRadius:l,outerRadius:u,startAngle:d,endAngle:f,clockWise:p}=i,m=(l+u)/2,h=KL(d,f),g=h>=0?1:-1,_,v;switch(t){case`insideStart`:_=d+g*a,v=p;break;case`insideEnd`:_=f-g*a,v=!p;break;case`end`:_=f+g*a,v=p;break;default:throw Error(`Unsupported position ${t}`)}v=h<=0?v:!v;var y=qS(s,c,m,_),b=qS(s,c,m,_+(v?1:-1)*359),x=`M${y.x},${y.y}\n A${m},${m},0,1,${+!v},\n ${b.x},${b.y}`,S=fp(e.id)?cp(`recharts-radial-line-`):e.id;return PL.createElement(`text`,jL({},r,{dominantBaseline:`central`,className:U(`recharts-radial-bar-label`,o)}),PL.createElement(`defs`,null,PL.createElement(`path`,{id:S,d:x})),PL.createElement(`textPath`,{xlinkHref:`#${S}`},n))},JL=(e,t,n)=>{var{cx:r,cy:i,innerRadius:a,outerRadius:o,startAngle:s,endAngle:c}=e,l=(s+c)/2;if(n===`outside`){var{x:u,y:d}=qS(r,i,o+t,l);return{x:u,y:d,textAnchor:u>=r?`start`:`end`,verticalAnchor:`middle`}}if(n===`center`)return{x:r,y:i,textAnchor:`middle`,verticalAnchor:`middle`};if(n===`centerTop`)return{x:r,y:i,textAnchor:`middle`,verticalAnchor:`start`};if(n===`centerBottom`)return{x:r,y:i,textAnchor:`middle`,verticalAnchor:`end`};var{x:f,y:p}=qS(r,i,(a+o)/2,l);return{x:f,y:p,textAnchor:`middle`,verticalAnchor:`middle`}},YL=e=>e!=null&&`cx`in e&&K(e.cx),XL={angle:0,offset:5,zIndex:ZC.label,position:`middle`,textBreakAll:!1},ML.displayName=`Label`,ZL=(e,t,n)=>{if(!e)return null;var r={viewBox:t,labelRef:n};return e===!0?PL.createElement(ML,jL({key:`label-implicit`},r)):op(e)?PL.createElement(ML,jL({key:`label-implicit`,value:e},r)):(0,FL.isValidElement)(e)?e.type===ML?(0,FL.cloneElement)(e,AL({key:`label-implicit`},r)):PL.createElement(ML,jL({key:`label-implicit`,content:e},r)):GL(e)?PL.createElement(ML,jL({key:`label-implicit`,content:e},r)):e&&typeof e==`object`?PL.createElement(ML,jL({},e,{key:`label-implicit`},r)):null}}));function $L(){return $L=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},$L.apply(null,arguments)}function eR(e,t){if(e==null)return{};var n,r,i=Qse(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function Qse(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function $se(){return(0,iR.useContext)(cR)}function ece(){return(0,iR.useContext)(uR)}function tR(e){var{valueAccessor:t=sR}=e,n=eR(e,aR),{dataKey:r,clockWise:i,id:a,textBreakAll:o,zIndex:s}=n,c=eR(n,oR),l=$se(),u=ece(),d=l||u;return!d||!d.length?null:rR.createElement(EF,{zIndex:s??ZC.label},rR.createElement(W,{className:`recharts-label-list`},d.map((e,i)=>{var s=fp(r)?t(e,i):A_(e.payload,r),l=fp(a)?{}:{id:`${a}-${i}`};return rR.createElement(ML,$L({key:`label-${i}`},Gu(e),c,l,{fill:n.fill??e.fill,parentViewBox:e.parentViewBox,value:s,textBreakAll:o,viewBox:e.viewBox,index:i,zIndex:0}))})))}function nR(e){var{label:t}=e;return t?t===!0?rR.createElement(tR,{key:`labelList-implicit`}):rR.isValidElement(t)||GL(t)?rR.createElement(tR,{key:`labelList-implicit`,content:t}):typeof t==`object`?rR.createElement(tR,$L({key:`labelList-implicit`},t,{type:String(t.type)})):null:null}var rR,iR,aR,oR,sR,cR,lR,uR,dR,fR=o((()=>{rR=u(f()),iR=u(f()),QL(),id(),nv(),q(),qu(),kF(),QC(),wL(),aR=[`valueAccessor`],oR=[`dataKey`,`clockWise`,`id`,`textBreakAll`,`zIndex`],sR=e=>{var t=Array.isArray(e.value)?e.value[e.value.length-1]:e.value;if(Vse(t))return t},cR=(0,iR.createContext)(void 0),lR=cR.Provider,uR=(0,iR.createContext)(void 0),dR=uR.Provider,tR.displayName=`LabelList`}));function pR(){return pR=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},pR.apply(null,arguments)}function tce(e,t){if(e==null)return{};var n,r,i=nce(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function nce(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function rce(e,t){return t||=e.slice(0),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var mR,hR,ice,gR,_R,vR,yR,bR,xR=o((()=>{mR=u(f()),Pu(),qu(),Qf(),hR=[`points`,`className`,`baseLinePoints`,`connectNulls`],gR=e=>e!=null&&e.x===+e.x&&e.y===+e.y,_R=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=[[]];e.forEach(e=>{var n=t[t.length-1];gR(e)?n&&n.push(e):n&&n.length>0&&t.push([])});var n=e[0],r=t[t.length-1];gR(n)&&r&&r.push(n);var i=t[t.length-1];return i&&i.length<=0&&(t=t.slice(0,-1)),t},vR=(e,t)=>{var n=_R(e);t&&(n=[n.reduce((e,t)=>[...e,...t],[])]);var r=n.map(e=>e.reduce((e,t,n)=>Xf(ice||=rce([``,``,``,`,`,``]),e,n===0?`M`:`L`,t.x,t.y),``)).join(``);return n.length===1?`${r}Z`:r},yR=(e,t,n)=>{var r=vR(e,n);return`${r.slice(-1)===`Z`?r.slice(0,-1):r}L${vR(Array.from(t).reverse(),n).slice(1)}`},bR=e=>{var{points:t,className:n,baseLinePoints:r,connectNulls:i}=e,a=tce(e,hR);if(!t||!t.length)return null;var o=U(`recharts-polygon`,n);if(r&&r.length){var s=a.stroke&&a.stroke!==`none`,c=yR(t,r,i);return mR.createElement(`g`,{className:o},mR.createElement(`path`,pR({},Gu(a),{fill:c.slice(-1)===`Z`?a.fill:`none`,stroke:`none`,d:c})),s?mR.createElement(`path`,pR({},Gu(a),{fill:`none`,d:vR(t,i)})):null,s?mR.createElement(`path`,pR({},Gu(a),{fill:`none`,d:vR(r,i)})):null)}var l=vR(t,i);return mR.createElement(`path`,pR({},Gu(a),{fill:l.slice(-1)===`Z`?a.fill:`none`,className:o,d:l}))}}));function SR(){return SR=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},SR.apply(null,arguments)}var CR,wR,TR=o((()=>{CR=u(f()),Pu(),Mp(),Wu(),q(),wR=e=>{var{cx:t,cy:n,r,className:i}=e,a=U(`recharts-dot`,i);return K(t)&&K(n)&&K(r)?CR.createElement(`circle`,SR({},Bu(e),Op(e),{className:a,cx:t,cy:n,r})):null}})),ER,DR,OR,kR,AR,jR,MR,NR,PR,FR,IR,LR,RR=o((()=>{Dm(),xC(),iN(),py(),nv(),Dw(),kw(),XC(),Jw(),ER=e=>e.graphicalItems.polarItems,DR=X([Ew,Ow],KA),OR=X([ER,cj,DR],mj),kR=X([OR],yj),AR=X([kR,hC],Sj),jR=X([AR,cj,OR],wj),X([AR,cj,OR],(e,t,n)=>n.length>0?e.flatMap(e=>n.flatMap(n=>({value:A_(e,t.dataKey??n.dataKey),errorDomain:[]}))).filter(Boolean):t?.dataKey==null?e.map(e=>({value:e,errorDomain:[]})):e.map(e=>({value:A_(e,t.dataKey),errorDomain:[]}))),MR=()=>void 0,NR=X([cj,Ij,Lj,MR,X([AR,cj,OR,zj,Ew,yC],Hj),MR,Q,Ew],iM),PR=X([cj,Q,AR,jR,UC,Ew,NR],sM),FR=X([PR,uj,lM],uM),IR=X([cj,PR,FR,Ew],fM),LR=X([lM,IR],qw)})),zR,BR,VR,HR,UR,WR,GR,KR,qR=o((()=>{Dm(),iN(),Tw(),py(),RR(),Dw(),Kw(),zA(),zR=(e,t,n)=>{switch(t){case`angleAxis`:return fw(e,n);case`radiusAxis`:return mw(e,n);default:throw Error(`Unexpected axis type: ${t}`)}},BR=(e,t,n)=>{switch(t){case`angleAxis`:return xw(e,n);case`radiusAxis`:return Cw(e,n);default:throw Error(`Unexpected axis type: ${t}`)}},VR=X([zR,lM,LR,BR],RA),HR=X([VR],Gw),UR=X([Q,jR,uj,Ew],EM),WR=X([Q,zR,lM,HR,FR,BR,qM,UR,Ew],YM),GR=X([WR],e=>{if(e){var t=new Map;return e.forEach(e=>{var n=(e.coordinate+360)%360;t.has(n)||t.set(n,e)}),Array.from(t.values())}}),KR=X([Q,zR,HR,BR,qM,UR,Ew],ZM)})),JR,YR,XR,ZR,ace=o((()=>{Dm(),qR(),JR=(e,t)=>WR(e,`angleAxis`,t,!1),YR=X([JR],e=>{if(e)return e.map(e=>e.coordinate)}),XR=(e,t)=>WR(e,`radiusAxis`,t,!1),ZR=X([XR],e=>{if(e)return e.map(e=>e.coordinate)})}));function oce(e,t){if(e==null)return{};var n,r,i=sce(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function sce(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function QR(){return QR=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},QR.apply(null,arguments)}function $R(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function ez(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?$R(Object(n),!0).forEach(function(t){cce(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$R(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function cce(e,t,n){return(t=lce(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function lce(e){var t=uce(e,`string`);return typeof t==`symbol`?t:t+``}function uce(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var tz,nz,rz,iz,az,oz,sz,cz,lz,dce=o((()=>{Pu(),tz=u(f()),eC(),Y(),ace(),Tw(),Wu(),kF(),QC(),Fp(),nz=[`gridType`,`radialLines`,`angleAxisId`,`radiusAxisId`,`cx`,`cy`,`innerRadius`,`outerRadius`,`polarAngles`,`polarRadius`,`zIndex`],rz=(e,t,n,r)=>{var i=``;return r.forEach((r,a)=>{var o=qS(t,n,e,r);a?i+=`L ${o.x},${o.y}`:i+=`M ${o.x},${o.y}`}),i+=`Z`,i},iz=e=>{var{cx:t,cy:n,innerRadius:r,outerRadius:i,polarAngles:a,radialLines:o}=e;if(!a||!a.length||!o)return null;var s=ez({},Bu(e));return tz.createElement(`g`,{className:`recharts-polar-grid-angle`},a.map(e=>{var a=qS(t,n,r,e),o=qS(t,n,i,e);return tz.createElement(`line`,QR({key:`line-${e}`},s,{x1:a.x,y1:a.y,x2:o.x,y2:o.y}))}))},az=e=>{var{cx:t,cy:n,radius:r}=e,i=ez({},Bu(e));return tz.createElement(`circle`,QR({},i,{className:U(`recharts-polar-grid-concentric-circle`,e.className),cx:t,cy:n,r}))},oz=e=>{var{radius:t}=e,n=ez({},Bu(e));return tz.createElement(`path`,QR({},n,{className:U(`recharts-polar-grid-concentric-polygon`,e.className),d:rz(t,e.cx,e.cy,e.polarAngles)}))},sz=e=>{var{polarRadius:t,gridType:n}=e;if(!t||!t.length)return null;var r=Math.max(...t),i=e.fill&&e.fill!==`none`;return tz.createElement(`g`,{className:`recharts-polar-grid-concentric`},i&&n===`circle`&&tz.createElement(az,QR({},e,{radius:r})),i&&n!==`circle`&&tz.createElement(oz,QR({},e,{radius:r})),t.map((t,r)=>{var i=r;return n===`circle`?tz.createElement(az,QR({key:i},e,{fill:`none`,radius:t})):tz.createElement(oz,QR({key:i},e,{fill:`none`,radius:t}))}))},cz={angleAxisId:0,radiusAxisId:0,gridType:`polygon`,radialLines:!0,zIndex:ZC.grid,stroke:`#ccc`,strokeWidth:1,fill:`none`},lz=e=>{var t=Pp(e,cz),{gridType:n,radialLines:r,angleAxisId:i,radiusAxisId:a,cx:o,cy:s,innerRadius:c,outerRadius:l,polarAngles:u,polarRadius:d,zIndex:f}=t,p=oce(t,nz),m=J(ww),h=J(e=>YR(e,i)),g=J(e=>ZR(e,a)),_=Array.isArray(u)?u:h,v=Array.isArray(d)?d:g;if(_==null||v==null)return null;var y=ez({cx:m?.cx??o??0,cy:m?.cy??s??0,innerRadius:m?.innerRadius??c??0,outerRadius:m?.outerRadius??l??0,polarAngles:_,polarRadius:v,zIndex:f},p),{outerRadius:b}=y;return b<=0?null:tz.createElement(EF,{zIndex:y.zIndex},tz.createElement(`g`,{className:`recharts-polar-grid`},tz.createElement(sz,QR({gridType:n,radialLines:r},y,{polarAngles:_,polarRadius:v})),tz.createElement(iz,QR({gridType:n,radialLines:r},y,{polarAngles:_,polarRadius:v}))))},lz.displayName=`PolarGrid`})),fce=s((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});function t(e,t){if(e.length===0)return;let n=e[0],r=t(n,0,e);for(let i=1;i<e.length;i++){let a=e[i],o=t(a,i,e);o>r&&(r=o,n=a)}return n}e.maxBy=t})),pce=s((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=fce(),n=Kp(),r=am();function i(e,i){if(e!=null)return t.maxBy(Array.from(e),r.iteratee(i??n.identity))}e.maxBy=i})),mce=s(((e,t)=>{t.exports=pce().maxBy})),hce=s((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});function t(e,t){if(e.length===0)return;let n=e[0],r=t(n,0,e);for(let i=1;i<e.length;i++){let a=e[i],o=t(a,i,e);o<r&&(r=o,n=a)}return n}e.minBy=t})),gce=s((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=hce(),n=Kp(),r=am();function i(e,i){if(e!=null)return t.minBy(Array.from(e),r.iteratee(i??n.identity))}e.minBy=i})),_ce=s(((e,t)=>{t.exports=gce().minBy})),uz,dz,fz,pz,mz,hz,gz=o((()=>{g_(),ob(),uz=Ig({name:`polarAxis`,initialState:{radiusAxis:{},angleAxis:{}},reducers:{addRadiusAxis(e,t){e.radiusAxis[t.payload.id]=Ky(t.payload)},removeRadiusAxis(e,t){delete e.radiusAxis[t.payload.id]},addAngleAxis(e,t){e.angleAxis[t.payload.id]=Ky(t.payload)},removeAngleAxis(e,t){delete e.angleAxis[t.payload.id]}}}),{addRadiusAxis:dz,removeRadiusAxis:fz,addAngleAxis:pz,removeAngleAxis:mz}=uz.actions,hz=uz.reducer}));function _z(e){return e&&typeof e==`object`&&`className`in e&&typeof e.className==`string`?e.className:``}var vz=o((()=>{}));function yz(){return yz=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},yz.apply(null,arguments)}function bz(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function xz(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?bz(Object(n),!0).forEach(function(t){vce(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):bz(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function vce(e,t,n){return(t=yce(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function yce(e){var t=bce(e,`string`);return typeof t==`symbol`?t:t+``}function bce(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function Sz(e,t){if(e==null)return{};var n,r,i=xce(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function xce(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function Sce(e){var t=hm(),n=ly(),r=(0,Tz.useMemo)(()=>{var{type:t}=e,r=Sz(e,Oz),i=aw(n,`radiusAxis`,t);if(i!=null)return xz(xz({},r),{},{type:i})},[e,n]);return(0,Tz.useEffect)(()=>r==null?tp:(t(dz(r)),()=>{t(fz(r))}),[t,r]),null}function Cz(e){var t=Pp(e,tw);return wz.createElement(wz.Fragment,null,wz.createElement(Sce,{domain:t.domain,id:t.radiusAxisId,scale:t.scale,type:t.type,dataKey:t.dataKey,unit:void 0,name:t.name,allowDuplicatedCategory:t.allowDuplicatedCategory,allowDataOverflow:t.allowDataOverflow,reversed:t.reversed,includeHidden:t.includeHidden,allowDecimals:t.allowDecimals,niceTicks:t.niceTicks??`auto`,ticks:t.ticks,tickCount:t.tickCount,tick:t.tick}),wz.createElement(Rz,t))}var wz,Tz,Ez,Dz,Oz,kz,Az,jz,Mz,Nz,Pz,Fz,Iz,Lz,Rz,Cce=o((()=>{wz=u(f()),Tz=u(f()),Ez=u(mce()),Dz=u(_ce()),Pu(),wL(),QL(),id(),eC(),Mp(),gz(),Y(),qR(),Tw(),nw(),Wu(),Fp(),kF(),py(),q(),ow(),vz(),Oz=[`type`],kz=[`cx`,`cy`,`angle`,`axisLine`],Az=[`angle`,`tickFormatter`,`stroke`,`tick`],jz=`radiusAxis`,Mz=(e,t,n,r)=>{var{coordinate:i}=e;return qS(n,r,i,t)},Nz=e=>{var t;switch(e){case`left`:t=`end`;break;case`right`:t=`start`;break;default:t=`middle`;break}return t},Pz=(e,t,n,r)=>{var i=(0,Ez.default)(r,e=>e.coordinate||0);return{cx:t,cy:n,startAngle:e,endAngle:e,innerRadius:(0,Dz.default)(r,e=>e.coordinate||0)?.coordinate||0,outerRadius:i?.coordinate||0,clockWise:!1}},Fz=(e,t)=>{var{cx:n,cy:r,angle:i,axisLine:a}=e,o=Sz(e,kz),s=t.reduce((e,t)=>[Math.min(e[0],t.coordinate),Math.max(e[1],t.coordinate)],[1/0,-1/0]),c=qS(n,r,s[0],i),l=qS(n,r,s[1],i),u=xz(xz(xz({},Bu(o)),{},{fill:`none`},Bu(a)),{},{x1:c.x,y1:c.y,x2:l.x,y2:l.y});return wz.createElement(`line`,yz({className:`recharts-polar-radius-axis-line`},u))},Iz=(e,t,n)=>wz.isValidElement(e)?wz.cloneElement(e,t):typeof e==`function`?e(t):wz.createElement(CL,yz({},t,{className:`recharts-polar-radius-axis-tick-value`}),n),Lz=(e,t)=>{var{angle:n,tickFormatter:r,stroke:i,tick:a}=e,o=Sz(e,Az),s=Nz(e.orientation),c=Bu(o),l=Vu(a),u=t.map((t,o)=>{var u=Mz(t,e.angle,e.cx,e.cy),d=xz(xz(xz(xz({textAnchor:s,transform:`rotate(${90-n}, ${u.x}, ${u.y})`},c),{},{stroke:`none`,fill:i},l),{},{index:o},u),{},{payload:t});return wz.createElement(W,yz({className:U(`recharts-polar-radius-axis-tick`,_z(a)),key:`tick-${t.coordinate}`},Ap(e,t,o)),Iz(a,d,r?r(t.value,o):t.value))});return wz.createElement(W,{className:`recharts-polar-radius-axis-ticks`},u)},Rz=e=>{var{radiusAxisId:t}=e,n=J(ww),r=J(e=>HR(e,`radiusAxis`,t)),i=J(e=>WR(e,`radiusAxis`,t,!1));if(n==null||!i||!i.length||r==null)return null;var a=xz(xz({},e),{},{scale:r},n),{tick:o,axisLine:s}=a;return wz.createElement(EF,{zIndex:a.zIndex},wz.createElement(W,{className:U(`recharts-polar-radius-axis`,jz,a.className)},s&&Fz(a,i),o&&Lz(a,i),wz.createElement(HL,Pz(a.angle,a.cx,a.cy,i),wz.createElement(Zse,{label:a.label}),a.children)))},Cz.displayName=`PolarRadiusAxis`}));function zz(){return zz=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},zz.apply(null,arguments)}function Bz(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Vz(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?Bz(Object(n),!0).forEach(function(t){wce(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Bz(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function wce(e,t,n){return(t=Tce(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Tce(e){var t=Ece(e,`string`);return typeof t==`symbol`?t:t+``}function Ece(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function Hz(e,t){if(e==null)return{};var n,r,i=Dce(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function Dce(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function Oce(e){var t=hm(),n=ly(),r=(0,Gz.useMemo)(()=>{var{children:t,type:r}=e,i=Hz(e,Kz),a=aw(n,`angleAxis`,r);if(a!=null)return Vz(Vz({},i),{},{type:a})},[e,n]),i=r===J(e=>fw(e,r?.id));return(0,Gz.useEffect)(()=>r==null?tp:(t(pz(r)),()=>{t(mz(r))}),[t,r]),i?e.children:null}function Uz(e){var t=Pp(e,$C);return Wz.createElement(Oce,{id:t.angleAxisId,scale:t.scale,type:t.type,dataKey:t.dataKey,unit:void 0,name:t.name,allowDuplicatedCategory:!1,allowDataOverflow:!1,reversed:t.reversed,includeHidden:!1,allowDecimals:t.allowDecimals,tickCount:t.tickCount,niceTicks:t.niceTicks??`auto`,ticks:t.ticks,tick:t.tick,domain:t.domain},Wz.createElement(rB,t))}var Wz,Gz,Kz,qz,Jz,Yz,Xz,Zz,Qz,$z,eB,tB,nB,rB,kce=o((()=>{Wz=u(f()),Gz=u(f()),Pu(),id(),TR(),xR(),wL(),Mp(),eC(),gz(),Y(),qR(),Tw(),ew(),Tv(),Wu(),Fp(),kF(),py(),q(),ow(),vz(),Kz=[`children`,`type`],qz=[`ref`],Jz=1e-5,Yz=Math.cos(GS(45)),Xz=`angleAxis`,Zz=(e,t)=>{var{cx:n,cy:r,radius:i,orientation:a,tickSize:o}=t,s=o||8,c=qS(n,r,i,e.coordinate),l=qS(n,r,i+(a===`inner`?-1:1)*s,e.coordinate);return{x1:c.x,y1:c.y,x2:l.x,y2:l.y}},Qz=(e,t)=>{var n=Math.cos(GS(-e.coordinate));return n>Jz?t===`outer`?`start`:`end`:n<-Jz?t===`outer`?`end`:`start`:`middle`},$z=e=>{var t=Math.cos(GS(-e.coordinate)),n=Math.sin(GS(-e.coordinate));return Math.abs(t)<=Yz?n>0?`start`:`end`:`middle`},eB=e=>{var{cx:t,cy:n,radius:r,axisLineType:i,axisLine:a,ticks:o}=e;if(!a)return null;var s=Vz(Vz({},Bu(e)),{},{fill:`none`},Bu(a));if(i===`circle`)return Wz.createElement(wR,zz({className:`recharts-polar-angle-axis-line`},s,{cx:t,cy:n,r}));var c=o.map(e=>qS(t,n,r,e.coordinate));return Wz.createElement(bR,zz({className:`recharts-polar-angle-axis-line`},s,{points:c}))},tB=e=>{var{tick:t,tickProps:n,value:r}=e;return t?Wz.isValidElement(t)?Wz.cloneElement(t,n):typeof t==`function`?t(n):Wz.createElement(CL,zz({},n,{className:`recharts-polar-angle-axis-tick-value`}),r):null},nB=e=>{var{tick:t,tickLine:n,tickFormatter:r,stroke:i,ticks:a}=e,o=Bu(e),{ref:s}=o,c=Hz(o,qz),l=Vu(t),u=Vz(Vz({},c),{},{fill:`none`},Bu(n)),d=a.map((a,o)=>{var s=Zz(a,e),d=Qz(a,e.orientation),f=$z(a),p=Vz(Vz(Vz({},c),{},{textAnchor:d,verticalAnchor:f,stroke:`none`,fill:i},l),{},{index:o,payload:a,x:s.x2,y:s.y2});return Wz.createElement(W,zz({className:U(`recharts-polar-angle-axis-tick`,_z(t)),key:`tick-${a.coordinate}`},Ap(e,a,o)),n&&Wz.createElement(`line`,zz({className:`recharts-polar-angle-axis-tick-line`},u,s)),Wz.createElement(tB,{tick:t,tickProps:p,value:r?r(a.value,o):a.value}))});return Wz.createElement(W,{className:`recharts-polar-angle-axis-ticks`},d)},rB=e=>{var{angleAxisId:t}=e,n=J(ww),r=J(e=>HR(e,`angleAxis`,t)),i=wv(),a=J(e=>GR(e,`angleAxis`,t,i));if(n==null||!a||!a.length||r==null)return null;var o=Vz(Vz(Vz({},e),{},{scale:r},n),{},{radius:n.outerRadius,ticks:a});return Wz.createElement(EF,{zIndex:o.zIndex},Wz.createElement(W,{className:U(`recharts-polar-angle-axis`,Xz,o.className)},Wz.createElement(eB,o),Wz.createElement(nB,o)))},Uz.displayName=`PolarAngleAxis`}));function iB(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function aB(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?iB(Object(n),!0).forEach(function(t){Ace(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):iB(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Ace(e,t,n){return(t=jce(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function jce(e){var t=Mce(e,`string`);return typeof t==`symbol`?t:t+``}function Mce(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var oB,sB,cB,lB,uB,dB,fB,Nce=o((()=>{Dm(),oH(),xC(),xv(),nv(),RR(),oB=(e,t)=>t,sB=X([ER,oB],(e,t)=>e.filter(e=>e.type===`pie`).find(e=>e.id===t)),cB=[],lB=(e,t,n)=>n?.length===0?cB:n,uB=X([hC,sB,lB],(e,t,n)=>{var{chartData:r}=e;if(t!=null){var i=t?.data!=null&&t.data.length>0?t.data:r;if((!i||!i.length)&&n!=null&&(i=n.map(e=>aB(aB({},t.presentationProps),e.props))),i!=null)return i}}),dB=X([uB,sB,lB],(e,t,n)=>{if(!(e==null||t==null))return e.map((e,r)=>{var i,a=A_(e,t.nameKey,t.name),o=n!=null&&(i=n[r])!=null&&(i=i.props)!=null&&i.fill?n[r].props.fill:typeof e==`object`&&e&&`fill`in e?e.fill:t.fill;return{value:P_(a,t.dataKey),color:o,payload:e,type:t.legendType}})}),fB=X([uB,sB,lB,vv],(e,t,n,r)=>{if(!(t==null||e==null))return zV({offset:r,pieSettings:t,displayedData:e,cells:n})})})),Pce=s((e=>{var t=60103,n=60106,r=60107,i=60108,a=60114,o=60109,s=60110,c=60112,l=60113,u=60120,d=60115,f=60116;if(typeof Symbol==`function`&&Symbol.for){var p=Symbol.for;t=p(`react.element`),n=p(`react.portal`),r=p(`react.fragment`),i=p(`react.strict_mode`),a=p(`react.profiler`),o=p(`react.provider`),s=p(`react.context`),c=p(`react.forward_ref`),l=p(`react.suspense`),u=p(`react.suspense_list`),d=p(`react.memo`),f=p(`react.lazy`),p(`react.block`),p(`react.server.block`),p(`react.fundamental`),p(`react.debug_trace_mode`),p(`react.legacy_hidden`)}function m(e){if(typeof e==`object`&&e){var p=e.$$typeof;switch(p){case t:switch(e=e.type,e){case r:case a:case i:case l:case u:return e;default:switch(e&&=e.$$typeof,e){case s:case c:case f:case d:case o:return e;default:return p}}case n:return p}}}e.isFragment=function(e){return m(e)===r}})),Fce=s(((e,t)=>{t.exports=Pce()}));function pB(e,t){var n=[],r=[];return r=Array.isArray(t)?t.map(e=>_B(e)):[_B(t)],bB(e).forEach(e=>{var t=(0,mB.default)(e,`type.displayName`)||(0,mB.default)(e,`type.name`);t&&r.indexOf(t)!==-1&&n.push(e)}),n}var mB,hB,gB,_B,vB,yB,bB,xB,SB=o((()=>{mB=u(Jf()),hB=u(f()),gB=Fce(),q(),_B=e=>typeof e==`string`?e:e?e.displayName||e.name||`Component`:``,vB=null,yB=null,bB=e=>{if(e===vB&&Array.isArray(yB))return yB;var t=[];return hB.Children.forEach(e,e=>{fp(e)||((0,gB.isFragment)(e)?t=t.concat(bB(e.props.children)):t.push(e))}),yB=t,vB=e,t},xB=e=>e&&typeof e==`object`&&`clipDot`in e?!!e.clipDot:!0})),CB=s((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});function t(e){if(typeof e!=`object`||!e)return!1;if(Object.getPrototypeOf(e)===null)return!0;if(Object.prototype.toString.call(e)!==`[object Object]`){let t=e[Symbol.toStringTag];return t==null||!Object.getOwnPropertyDescriptor(e,Symbol.toStringTag)?.writable?!1:e.toString()===`[object ${t}]`}let t=e;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}e.isPlainObject=t})),Ice=s(((e,t)=>{t.exports=CB().isPlainObject}));function wB(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function TB(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?wB(Object(n),!0).forEach(function(t){Lce(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):wB(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Lce(e,t,n){return(t=Rce(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Rce(e){var t=zce(e,`string`);return typeof t==`symbol`?t:t+``}function zce(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function EB(){return EB=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},EB.apply(null,arguments)}function DB(e,t){return t||=e.slice(0),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var OB,kB,Bce,Vce,Hce,Uce,Wce,AB,jB,MB,NB=o((()=>{OB=u(f()),kB=u(f()),Pu(),Fp(),bS(),CS(),q(),qx(),qu(),Qf(),AB=(e,t,n,r,i)=>{var a=n-r,o=Xf(Bce||=DB([`M `,`,`,``]),e,t);return o+=Xf(Vce||=DB([`L `,`,`,``]),e+n,t),o+=Xf(Hce||=DB([`L `,`,`,``]),e+n-a/2,t+i),o+=Xf(Uce||=DB([`L `,`,`,``]),e+n-a/2-r,t+i),o+=Xf(Wce||=DB([`L `,`,`,` Z`]),e,t),o},jB={x:0,y:0,upperWidth:0,lowerWidth:0,height:0,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:`ease`},MB=e=>{var t=Pp(e,jB),{x:n,y:r,upperWidth:i,lowerWidth:a,height:o,className:s}=t,{animationEasing:c,animationDuration:l,animationBegin:u,isUpdateAnimationActive:d}=t,f=(0,kB.useRef)(null),[p,m]=(0,kB.useState)(-1),h=(0,kB.useRef)(i),g=(0,kB.useRef)(a),_=(0,kB.useRef)(o),v=(0,kB.useRef)(n),y=(0,kB.useRef)(r),b=xS(e,`trapezoid-`);if((0,kB.useEffect)(()=>{if(f.current&&f.current.getTotalLength)try{var e=f.current.getTotalLength();e&&m(e)}catch{}},[]),n!==+n||r!==+r||i!==+i||a!==+a||o!==+o||i===0&&a===0||o===0)return null;var x=U(`recharts-trapezoid`,s);if(!d)return OB.createElement(`g`,null,OB.createElement(`path`,EB({},Gu(t),{className:x,d:AB(n,r,i,a,o)})));var S=h.current,C=g.current,w=_.current,T=v.current,E=y.current,D=`0px ${p===-1?1:p}px`,O=`${p}px ${p}px`,k=Wx([`strokeDasharray`],l,c);return OB.createElement(hS,{animationId:b,key:b,canBegin:p>0,duration:l,easing:c,isActive:d,begin:u},e=>{var s=G(S,i,e),c=G(C,a,e),l=G(w,o,e),u=G(T,n,e),d=G(E,r,e);f.current&&(h.current=s,g.current=c,_.current=l,v.current=u,y.current=d);var p=e>0?{transition:k,strokeDasharray:O}:{strokeDasharray:D};return OB.createElement(`path`,EB({},Gu(t),{className:x,d:AB(u,d,s,c,l),ref:f,style:TB(TB({},p),t.style)}))})}}));function Gce(e,t){if(e==null)return{};var n,r,i=Kce(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function Kce(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function PB(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function FB(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?PB(Object(n),!0).forEach(function(t){qce(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):PB(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function qce(e,t,n){return(t=Jce(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Jce(e){var t=Yce(e,`string`);return typeof t==`symbol`?t:t+``}function Yce(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function Xce(e,t){return FB(FB({},t),e)}function Zce(e,t){return e===`symbols`}function IB(e){var{shapeType:t,elementProps:n}=e;switch(t){case`rectangle`:return RB.createElement(BS,n);case`trapezoid`:return RB.createElement(MB,n);case`sector`:return RB.createElement(dC,n);case`symbols`:if(Zce(t,n))return RB.createElement(wp,n);break;case`curve`:return RB.createElement(Mx,n);default:return null}}function Qce(e){return(0,zB.isValidElement)(e)?e.props:e}function LB(e){var{option:t,shapeType:n,activeClassName:r=`recharts-active-shape`,inActiveClassName:i=`recharts-shape`}=e,a=Gce(e,VB),o;if((0,zB.isValidElement)(t))o=(0,zB.cloneElement)(t,FB(FB({},a),Qce(t)));else if(typeof t==`function`)o=t(a,a.index);else if((0,BB.default)(t)&&typeof t!=`boolean`){var s=Xce(t,a);o=RB.createElement(IB,{shapeType:n,elementProps:s})}else{var c=a;o=RB.createElement(IB,{shapeType:n,elementProps:c})}return a.isActive?RB.createElement(W,{className:r},o):RB.createElement(W,{className:i},o)}var RB,zB,BB,VB,HB=o((()=>{RB=u(f()),zB=u(f()),BB=u(Ice()),VS(),NB(),fC(),id(),Tp(),Nx(),VB=[`option`,`shapeType`,`activeClassName`,`inActiveClassName`]})),UB,WB,GB,KB=o((()=>{Y(),kN(),UB=(e,t,n)=>{var r=hm();return(i,a)=>o=>{e?.(i,a,o),r(bN({activeIndex:String(a),activeDataKey:t,activeCoordinate:i.tooltipPosition,activeGraphicalItemId:n}))}},WB=e=>{var t=hm();return(n,r)=>i=>{e?.(n,r,i),t(xN())}},GB=(e,t,n)=>{var r=hm();return(i,a)=>o=>{e?.(i,a,o),r(CN({activeIndex:String(a),activeDataKey:t,activeCoordinate:i.tooltipPosition,activeGraphicalItemId:n}))}}}));function qB(e){var{tooltipEntrySettings:t}=e,n=hm(),r=wv(),i=(0,JB.useRef)(null);return(0,JB.useLayoutEffect)(()=>{r||(i.current===null?n(gN(t)):i.current!==t&&n(_N({prev:i.current,next:t})),i.current=t)},[t,n,r]),(0,JB.useLayoutEffect)(()=>()=>{i.current&&=(n(vN(i.current)),null)},[n]),null}var JB,YB=o((()=>{JB=u(f()),Y(),kN(),Tv()}));function XB(e){var{legendPayload:t}=e,n=hm(),r=wv(),i=(0,QB.useRef)(null);return(0,QB.useLayoutEffect)(()=>{r||(i.current===null?n(ub(t)):i.current!==t&&n(db({prev:i.current,next:t})),i.current=t)},[n,r,t]),(0,QB.useLayoutEffect)(()=>()=>{i.current&&=(n(fb(i.current)),null)},[n]),null}function ZB(e){var{legendPayload:t}=e,n=hm(),r=J(Q),i=(0,QB.useRef)(null);return(0,QB.useLayoutEffect)(()=>{r!==`centric`&&r!==`radial`||(i.current===null?n(ub(t)):i.current!==t&&n(db({prev:i.current,next:t})),i.current=t)},[n,r,t]),(0,QB.useLayoutEffect)(()=>()=>{i.current&&=(n(fb(i.current)),null)},[n]),null}var QB,$B=o((()=>{QB=u(f()),Tv(),py(),Y(),mb()})),eV,tV,nV,rV=o((()=>{eV=u(f()),q(),tV=()=>{var[e]=eV.useState(()=>cp(`uid-`));return e},nV=eV.useId??tV}));function iV(e,t){var n=nV();return t||(e?`${e}-${n}`:n)}var aV=o((()=>{rV()})),oV,sV,cV,lV,uV=o((()=>{oV=u(f()),sV=u(f()),aV(),cV=(0,sV.createContext)(void 0),lV=e=>{var{id:t,type:n,children:r}=e,i=iV(`recharts-${n}`,t);return oV.createElement(cV.Provider,{value:i},r(i))}})),dV,fV,pV,mV,hV,gV,_V,vV,yV=o((()=>{g_(),ob(),dV=Ig({name:`graphicalItems`,initialState:{cartesianItems:[],polarItems:[]},reducers:{addCartesianGraphicalItem:{reducer(e,t){e.cartesianItems.push(Ky(t.payload))},prepare:kg()},replaceCartesianGraphicalItem:{reducer(e,t){var{prev:n,next:r}=t.payload,i=Th(e).cartesianItems.indexOf(Ky(n));i>-1&&(e.cartesianItems[i]=Ky(r))},prepare:kg()},removeCartesianGraphicalItem:{reducer(e,t){var n=Th(e).cartesianItems.indexOf(Ky(t.payload));n>-1&&e.cartesianItems.splice(n,1)},prepare:kg()},addPolarGraphicalItem:{reducer(e,t){e.polarItems.push(Ky(t.payload))},prepare:kg()},removePolarGraphicalItem:{reducer(e,t){var n=Th(e).polarItems.indexOf(Ky(t.payload));n>-1&&e.polarItems.splice(n,1)},prepare:kg()},replacePolarGraphicalItem:{reducer(e,t){var{prev:n,next:r}=t.payload,i=Th(e).polarItems.indexOf(Ky(n));i>-1&&(e.polarItems[i]=Ky(r))},prepare:kg()}}}),{addCartesianGraphicalItem:fV,replaceCartesianGraphicalItem:pV,removeCartesianGraphicalItem:mV,addPolarGraphicalItem:hV,removePolarGraphicalItem:gV,replacePolarGraphicalItem:_V}=dV.actions,vV=dV.reducer})),bV,xV,SV,CV,wV,TV=o((()=>{bV=u(f()),Y(),yV(),xV=e=>{var t=hm(),n=(0,bV.useRef)(null);return(0,bV.useLayoutEffect)(()=>{n.current===null?t(fV(e)):n.current!==e&&t(pV({prev:n.current,next:e})),n.current=e},[t,e]),(0,bV.useLayoutEffect)(()=>()=>{n.current&&=(t(mV(n.current)),null)},[t]),null},SV=(0,bV.memo)(xV),CV=e=>{var t=hm(),n=(0,bV.useRef)(null);return(0,bV.useLayoutEffect)(()=>{n.current===null?t(hV(e)):n.current!==e&&t(_V({prev:n.current,next:e})),n.current=e},[t,e]),(0,bV.useLayoutEffect)(()=>()=>{n.current&&=(t(gV(n.current)),null)},[t]),null},wV=(0,bV.memo)(CV)}));function EV(){return EV=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},EV.apply(null,arguments)}function DV(e,t){if(e==null)return{};var n,r,i=OV(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function OV(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function kV(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function AV(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?kV(Object(n),!0).forEach(function(t){jV(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):kV(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function jV(e,t,n){return(t=MV(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function MV(e){var t=NV(e,`string`);return typeof t==`symbol`?t:t+``}function NV(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function PV(e){var t=(0,GV.useMemo)(()=>pB(e.children,AI),[e.children]),n=J(n=>dB(n,e.id,t));return n==null?null:WV.createElement(ZB,{legendPayload:n})}function FV(e){if(!(e==null||typeof e==`boolean`||typeof e==`function`)){if(WV.isValidElement(e)){var t=e.props?.fill;return typeof t==`string`?t:void 0}var{fill:n}=e;return typeof n==`string`?n:void 0}}function IV(e){var{sectors:t,props:n,showLabels:r}=e,{label:i,labelLine:a,dataKey:o}=n;if(!r||!i||!t)return null;var s=Bu(n),c=Vu(i),l=Vu(a),u=typeof i==`object`&&`offsetRadius`in i&&typeof i.offsetRadius==`number`&&i.offsetRadius||20,d=t.map((e,t)=>{var n=(e.startAngle+e.endAngle)/2,r=qS(e.cx,e.cy,e.outerRadius+u,n),d=AV(AV(AV(AV({},s),e),{},{stroke:`none`},c),{},{index:t,textAnchor:QV(r.x,e.cx)},r),f=AV(AV(AV(AV({},s),e),{},{fill:`none`,stroke:e.fill},l),{},{index:t,points:[qS(e.cx,e.cy,e.outerRadius,n),r],key:`line`});return WV.createElement(EF,{zIndex:ZC.label,key:`label-${e.startAngle}-${e.endAngle}-${e.midAngle}-${t}`},WV.createElement(W,null,a&&nH(a,f),rH(i,d,A_(e,o))))});return WV.createElement(W,{className:`recharts-pie-labels`},d)}function LV(e){var{sectors:t,props:n,showLabels:r}=e,{label:i}=n;return typeof i==`object`&&i&&`position`in i?WV.createElement(nR,{label:i}):WV.createElement(IV,{sectors:t,props:n,showLabels:r})}function RV(e){var{sectors:t,activeShape:n,inactiveShape:r,allOtherPieProps:i,shape:a,id:o}=e,s=J(DP),c=J(kP),l=J(AP),{onMouseEnter:u,onClick:d,onMouseLeave:f}=i,p=DV(i,JV),m=UB(u,i.dataKey,o),h=WB(f),g=GB(d,i.dataKey,o);return t==null||t.length===0?null:WV.createElement(WV.Fragment,null,t.map((e,u)=>{if(e?.startAngle===0&&e?.endAngle===0&&t.length!==1)return null;var d=l==null||l===o,f=String(u)===s&&(c==null||i.dataKey===c)&&d,_=n&&f?n:s?r:null,v=AV(AV({},e),{},{stroke:e.stroke,tabIndex:-1,[fv]:u,[pv]:o});return WV.createElement(W,EV({key:`sector-${e?.startAngle}-${e?.endAngle}-${e.midAngle}-${u}`,tabIndex:-1,className:`recharts-pie-sector`},Ap(p,e,u),{onMouseEnter:m(e,u),onMouseLeave:h(e,u),onClick:g(e,u)}),WV.createElement(LB,EV({option:a??_,index:u,shapeType:`sector`,isActive:f},v)))}))}function zV(e){var{pieSettings:t,displayedData:n,cells:r,offset:i}=e,{cornerRadius:a,startAngle:o,endAngle:s,dataKey:c,nameKey:l,tooltipType:u}=t,d=Math.abs(t.minAngle),f=tH(o,s),p=Math.abs(f),m=n.length<=1?0:t.paddingAngle??0,h=n.filter(e=>A_(e,c,0)!==0).length,g=(p>=360?h:h-1)*m,_=n.reduce((e,t)=>{var n=A_(t,c,0);return e+(K(n)?n:0)},0),v=d>0&&_>0&&n.some(e=>{var t=A_(e,c,0),n=(K(t)?t:0)/_;return t!==0&&n*p<d})?d:0,y=p-h*v-g,b;if(_>0){var x;b=n.map((e,n)=>{var s=A_(e,c,0),d=A_(e,l,n),p=eH(t,i,e),h=(K(s)?s:0)/_,g,b=AV(AV({},e),r&&r[n]&&r[n].props),S=b!=null&&`fill`in b&&typeof b.fill==`string`?b.fill:t.fill;g=n?x.endAngle+rp(f)*m*(s===0?0:1):o;var C=g+rp(f)*((s===0?0:v)+h*y),w=(g+C)/2,T=(p.innerRadius+p.outerRadius)/2,E=[{name:d,value:s,payload:b,dataKey:c,type:u,color:S,fill:S,graphicalItemId:t.id}],D=qS(p.cx,p.cy,T,w);return x=AV(AV(AV(AV({},t.presentationProps),{},{percent:h,cornerRadius:typeof a==`string`?parseFloat(a):a,name:d,tooltipPayload:E,midAngle:w,middleRadius:T,tooltipPosition:D},b),p),{},{value:s,dataKey:c,startAngle:g,endAngle:C,payload:b,paddingAngle:s===0?0:rp(f)*m}),x})}return b}function BV(e){var{showLabels:t,sectors:n,children:r}=e,i=(0,GV.useMemo)(()=>!t||!n?[]:n.map(e=>({value:e.value,payload:e.payload,clockWise:!1,parentViewBox:void 0,viewBox:{cx:e.cx,cy:e.cy,innerRadius:e.innerRadius,outerRadius:e.outerRadius,startAngle:e.startAngle,endAngle:e.endAngle,clockWise:!1},fill:e.fill})),[n,t]);return WV.createElement(dR,{value:t?i:void 0},r)}function VV(e){var{props:t,previousSectorsRef:n,id:r}=e,{sectors:i,isAnimationActive:a,animationBegin:o,animationDuration:s,animationEasing:c,activeShape:l,inactiveShape:u,onAnimationStart:d,onAnimationEnd:f}=t,p=xS(t,`recharts-pie-`),m=n.current,[h,g]=(0,GV.useState)(!1),_=(0,GV.useCallback)(()=>{typeof f==`function`&&f(),g(!1)},[f]),v=(0,GV.useCallback)(()=>{typeof d==`function`&&d(),g(!0)},[d]);return WV.createElement(BV,{showLabels:!h,sectors:i},WV.createElement(hS,{animationId:p,begin:o,duration:s,isActive:a,easing:c,onAnimationStart:v,onAnimationEnd:_,key:p},e=>{var a=[],o=(i&&i[0])?.startAngle??0;return i?.forEach((t,n)=>{var r=m&&m[n],i=n>0?(0,KV.default)(t,`paddingAngle`,0):0;if(r){var s=G(r.endAngle-r.startAngle,t.endAngle-t.startAngle,e),c=AV(AV({},t),{},{startAngle:o+i,endAngle:o+s+i});a.push(c),o=c.endAngle}else{var{endAngle:l,startAngle:u}=t,d=G(0,l-u,e),f=AV(AV({},t),{},{startAngle:o+i,endAngle:o+d+i});a.push(f),o=f.endAngle}}),n.current=a,WV.createElement(W,null,WV.createElement(RV,{sectors:a,activeShape:l,inactiveShape:u,allOtherPieProps:t,shape:t.shape,id:r}))}),WV.createElement(LV,{showLabels:!h,sectors:i,props:t}),t.children)}function HV(e){var{id:t}=e,n=DV(e,YV),{hide:r,className:i,rootTabIndex:a}=e,o=(0,GV.useMemo)(()=>pB(e.children,AI),[e.children]),s=J(e=>fB(e,t,o)),c=(0,GV.useRef)(null),l=U(`recharts-pie`,i);return r||s==null?(c.current=null,WV.createElement(W,{tabIndex:a,className:l})):WV.createElement(EF,{zIndex:e.zIndex},WV.createElement(ZV,{dataKey:e.dataKey,nameKey:e.nameKey,sectors:s,stroke:e.stroke,strokeWidth:e.strokeWidth,fill:e.fill,name:e.name,hide:e.hide,tooltipType:e.tooltipType,id:t,activeShape:e.activeShape}),WV.createElement(W,{tabIndex:a,className:l},WV.createElement(VV,{props:AV(AV({},n),{},{sectors:s}),previousSectorsRef:c,id:t})))}function UV(e){var t=Pp(e,iH),{id:n}=t,r=DV(t,XV),i=Bu(r);return WV.createElement(lV,{id:n,type:`pie`},e=>WV.createElement(WV.Fragment,null,WV.createElement(wV,{type:`pie`,id:e,data:r.data,dataKey:r.dataKey,hide:r.hide,angleAxisId:0,radiusAxisId:0,name:r.name,nameKey:r.nameKey,tooltipType:r.tooltipType,legendType:r.legendType,fill:r.fill,cx:r.cx,cy:r.cy,startAngle:r.startAngle,endAngle:r.endAngle,paddingAngle:r.paddingAngle,minAngle:r.minAngle,innerRadius:r.innerRadius,outerRadius:r.outerRadius,cornerRadius:r.cornerRadius,presentationProps:i,maxRadius:t.maxRadius}),WV.createElement(PV,EV({},r,{id:e})),WV.createElement(HV,EV({},r,{id:e}))))}var WV,GV,KV,qV,JV,YV,XV,ZV,QV,$V,eH,tH,nH,rH,iH,aH,oH=o((()=>{WV=u(f()),GV=u(f()),KV=u(Jf()),Pu(),Nce(),Y(),id(),Nx(),wL(),jI(),SB(),eC(),q(),nv(),Mp(),HB(),KB(),YB(),LP(),$B(),mv(),CS(),Fp(),uV(),TV(),Wu(),bS(),fR(),kF(),QC(),vz(),qV=[`key`],JV=[`onMouseEnter`,`onClick`,`onMouseLeave`],YV=[`id`],XV=[`id`],ZV=WV.memo(e=>{var{dataKey:t,nameKey:n,sectors:r,stroke:i,strokeWidth:a,fill:o,name:s,hide:c,tooltipType:l,id:u,activeShape:d}=e,f=FV(d),p={dataDefinedOnItem:r.map(e=>{var t=e.tooltipPayload;return f==null||t==null?t:t.map(e=>AV(AV({},e),{},{color:f,fill:f}))}),getPosition:e=>r[Number(e)]?.tooltipPosition,settings:{stroke:i,strokeWidth:a,fill:o,dataKey:t,nameKey:n,name:P_(s,t),hide:c,type:l,color:o,unit:``,graphicalItemId:u}};return WV.createElement(qB,{tooltipEntrySettings:p})}),QV=(e,t)=>e>t?`start`:e<t?`end`:`middle`,$V=(e,t,n)=>lp(typeof t==`function`?t(e):t,n,n*.8),eH=(e,t,n)=>{var{top:r,left:i,width:a,height:o}=t,s=JS(a,o);return{cx:i+lp(e.cx,a,a/2),cy:r+lp(e.cy,o,o/2),innerRadius:lp(e.innerRadius,s,0),outerRadius:$V(n,e.outerRadius,s),maxRadius:e.maxRadius||Math.sqrt(a*a+o*o)/2}},tH=(e,t)=>rp(t-e)*Math.min(Math.abs(t-e),360),nH=(e,t)=>{if(WV.isValidElement(e))return WV.cloneElement(e,t);if(typeof e==`function`)return e(t);var n=U(`recharts-pie-label-line`,typeof e==`boolean`?``:e.className),{key:r}=t,i=DV(t,qV);return WV.createElement(Mx,EV({},i,{type:`linear`,className:n}))},rH=(e,t,n)=>{if(WV.isValidElement(e))return WV.cloneElement(e,t);var r=n;if(typeof e==`function`&&(r=e(t),WV.isValidElement(r)))return r;var i=U(`recharts-pie-label-text`,_z(e));return WV.createElement(CL,EV({},t,{alignmentBaseline:`middle`,className:i}),r)},iH={animationBegin:400,animationDuration:1500,animationEasing:`ease`,cx:`50%`,cy:`50%`,dataKey:`value`,endAngle:360,fill:`#808080`,hide:!1,innerRadius:0,isAnimationActive:`auto`,label:!1,labelLine:!0,legendType:`rect`,minAngle:0,nameKey:`name`,outerRadius:`80%`,paddingAngle:0,rootTabIndex:0,startAngle:0,stroke:`#fff`,zIndex:ZC.area},aH=UV,aH.displayName=`Pie`})),sH=s((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});function t(e){return e[e.length-1]}e.last=t})),cH=s((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});function t(e){return Array.isArray(e)?e:Array.from(e)}e.toArray=t})),lH=s((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=sH(),n=cH(),r=qp();function i(e){if(r.isArrayLike(e))return t.last(n.toArray(e))}e.last=i})),uH=s(((e,t)=>{t.exports=lH().last}));function dH(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function fH(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?dH(Object(n),!0).forEach(function(t){pH(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):dH(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function pH(e,t,n){return(t=mH(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function mH(e){var t=hH(e,`string`);return typeof t==`symbol`?t:t+``}function hH(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function gH(){return gH=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},gH.apply(null,arguments)}function _H(e,t){if(e==null)return{};var n,r,i=vH(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function vH(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function yH(e){var{option:t,dotProps:n,className:r}=e;if((0,CH.isValidElement)(t))return(0,CH.cloneElement)(t,n);if(typeof t==`function`)return t(n);var i=U(r,typeof t==`boolean`?``:t.className),a=n??{},{points:o}=a,s=_H(a,wH);return SH.createElement(wR,gH({},s,{className:i}))}function bH(e,t){return e==null?!1:t?!0:e.length===1}function xH(e){var{points:t,dot:n,className:r,dotClassName:i,dataKey:a,baseProps:o,needClip:s,clipPathId:c,zIndex:l=ZC.scatter}=e;if(!bH(t,n))return null;var u=xB(n),d=eee(n),f=t.map((e,r)=>{var s=fH(fH(fH({r:3},o),d),{},{index:r,cx:e.x??void 0,cy:e.y??void 0,dataKey:a,value:e.value,payload:e.payload,points:t});return SH.createElement(yH,{key:`dot-${r}`,option:n,dotProps:s,className:i})}),p={};return s&&c!=null&&(p.clipPath=`url(#clipPath-${u?``:`dots-`}${c})`),SH.createElement(EF,{zIndex:l},SH.createElement(W,gH({className:r},p),f))}var SH,CH,wH,TH=o((()=>{SH=u(f()),CH=u(f()),Pu(),TR(),id(),SB(),qu(),kF(),QC(),wH=[`points`]}));function EH(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function DH(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?EH(Object(n),!0).forEach(function(t){OH(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):EH(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function OH(e,t,n){return(t=kH(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function kH(e){var t=AH(e,`string`);return typeof t==`symbol`?t:t+``}function AH(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var jH,MH,NH,PH,FH,IH,LH,$ce,ele,tle,RH,zH,BH=o((()=>{g_(),ob(),jH=Ig({name:`cartesianAxis`,initialState:{xAxis:{},yAxis:{},zAxis:{}},reducers:{addXAxis:{reducer(e,t){e.xAxis[t.payload.id]=Ky(t.payload)},prepare:kg()},replaceXAxis:{reducer(e,t){var{prev:n,next:r}=t.payload;e.xAxis[n.id]!==void 0&&(n.id!==r.id&&delete e.xAxis[n.id],e.xAxis[r.id]=Ky(r))},prepare:kg()},removeXAxis:{reducer(e,t){delete e.xAxis[t.payload.id]},prepare:kg()},addYAxis:{reducer(e,t){e.yAxis[t.payload.id]=Ky(t.payload)},prepare:kg()},replaceYAxis:{reducer(e,t){var{prev:n,next:r}=t.payload;e.yAxis[n.id]!==void 0&&(n.id!==r.id&&delete e.yAxis[n.id],e.yAxis[r.id]=Ky(r))},prepare:kg()},removeYAxis:{reducer(e,t){delete e.yAxis[t.payload.id]},prepare:kg()},addZAxis:{reducer(e,t){e.zAxis[t.payload.id]=Ky(t.payload)},prepare:kg()},replaceZAxis:{reducer(e,t){var{prev:n,next:r}=t.payload;e.zAxis[n.id]!==void 0&&(n.id!==r.id&&delete e.zAxis[n.id],e.zAxis[r.id]=Ky(r))},prepare:kg()},removeZAxis:{reducer(e,t){delete e.zAxis[t.payload.id]},prepare:kg()},updateYAxisWidth(e,t){var{id:n,width:r}=t.payload,i=e.yAxis[n];if(i){var a=i.widthHistory||[];if(a.length===3&&a[0]===a[2]&&r===a[1]&&r!==i.width&&Math.abs(r-(a[0]??0))<=1)return;var o=[...a,r].slice(-3);e.yAxis[n]=DH(DH({},i),{},{width:r,widthHistory:o})}}}}),{addXAxis:MH,replaceXAxis:NH,removeXAxis:PH,addYAxis:FH,replaceYAxis:IH,removeYAxis:LH,addZAxis:$ce,replaceZAxis:ele,removeZAxis:tle,updateYAxisWidth:RH}=jH.actions,zH=jH.reducer})),VH,nle=o((()=>{Dm(),xv(),VH=X([vv],e=>({top:e.top,bottom:e.bottom,left:e.left,right:e.right}))})),HH,rle=o((()=>{Dm(),nle(),sv(),HH=X([VH,rv,iv],(e,t,n)=>{if(!(!e||t==null||n==null))return{x:e.left,y:e.top,width:Math.max(0,t-e.left-e.right),height:Math.max(0,n-e.top-e.bottom)}})})),UH,WH,GH=o((()=>{Y(),LP(),rle(),UH=()=>J(HH),WH=()=>J(IP)}));function KH(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function qH(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?KH(Object(n),!0).forEach(function(t){ile(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):KH(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function ile(e,t,n){return(t=ale(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ale(e){var t=ole(e,`string`);return typeof t==`symbol`?t:t+``}function ole(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function JH(e){var{points:t,mainColor:n,activeDot:r,itemDataKey:i,clipPath:a,zIndex:o=ZC.activeDot}=e,s=J(DP),c=WH();if(t==null||c==null)return null;var l=t.find(e=>c.includes(e.payload));return fp(l)?null:YH.createElement(EF,{zIndex:o},YH.createElement(ZH,{point:l,childIndex:Number(s),mainColor:n,dataKey:i,activeDot:r,clipPath:a}))}var YH,XH,ZH,QH=o((()=>{YH=u(f()),XH=u(f()),Mp(),TR(),id(),Y(),LP(),GH(),q(),Wu(),kF(),QC(),ZH=e=>{var{point:t,childIndex:n,mainColor:r,activeDot:i,dataKey:a,clipPath:o}=e;if(i===!1||t.x==null||t.y==null)return null;var s=qH(qH(qH({},{index:n,dataKey:a,cx:t.x,cy:t.y,r:4,fill:r??`none`,strokeWidth:2,stroke:`#fff`,payload:t.payload,value:t.value}),Vu(i)),Op(i)),c=(0,XH.isValidElement)(i)?(0,XH.cloneElement)(i,s):typeof i==`function`?i(s):YH.createElement(wR,s);return YH.createElement(W,{className:`recharts-active-dot`,clipPath:o},c)}}));function $H(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function eU(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?$H(Object(n),!0).forEach(function(t){sle(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$H(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function sle(e,t,n){return(t=cle(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function cle(e){var t=lle(e,`string`);return typeof t==`symbol`?t:t+``}function lle(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var tU,nU,rU,iU,aU,oU,sU,cU,lU,uU,dU,fU,pU,ule=o((()=>{Dm(),DU(),qR(),Tw(),xC(),py(),nv(),RR(),tU=(e,t)=>HR(e,`radiusAxis`,t),nU=X([tU],e=>{if(e!=null)return{scale:e}}),rU=X([mw,tU],(e,t)=>{if(!(e==null||t==null))return eU(eU({},e),{},{scale:t})}),iU=(e,t,n,r)=>WR(e,`radiusAxis`,t,r),aU=(e,t,n)=>fw(e,n),oU=(e,t,n)=>HR(e,`angleAxis`,n),sU=X([aU,oU],(e,t)=>{if(!(e==null||t==null))return eU(eU({},e),{},{scale:t})}),cU=(e,t,n,r)=>WR(e,`angleAxis`,n,r),lU=X([aU,oU,ww],(e,t,n)=>{if(!(n==null||t==null))return{scale:t,type:e.type,dataKey:e.dataKey,cx:n.cx,cy:n.cy}}),uU=(e,t,n,r,i)=>i,dU=X([Q,rU,iU,sU,cU],(e,t,n,r,i)=>R_(e,`radiusAxis`)?$_(t,n,!1):$_(r,i,!1)),fU=X([ER,uU],(e,t)=>{if(e!=null)return e.find(e=>e.type===`radar`&&t===e.id)?.dataKey}),pU=X([nU,lU,hC,fU,dU],(e,t,n,r,i)=>{var{chartData:a,dataStartIndex:o,dataEndIndex:s}=n;if(!(e==null||t==null||a==null||i==null||r==null))return _le({radiusAxis:e,angleAxis:t,displayedData:a.slice(o,s+1),dataKey:r,bandSize:i})})}));function mU(){return mU=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},mU.apply(null,arguments)}function hU(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function gU(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?hU(Object(n),!0).forEach(function(t){dle(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):hU(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function dle(e,t,n){return(t=fle(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function fle(e){var t=ple(e,`string`);return typeof t==`symbol`?t:t+``}function ple(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function mle(e,t){if(e==null)return{};var n,r,i=hle(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function hle(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function _U(e,t){return e&&e!==`none`?e:t}function gle(e){var{points:t,props:n}=e,{dot:r,dataKey:i}=n,{id:a}=n,o=Bu(mle(n,SU));return yU.createElement(xH,{points:t,dot:r,className:`recharts-radar-dots`,dotClassName:`recharts-radar-dot`,dataKey:i,baseProps:o})}function _le(e){var{radiusAxis:t,angleAxis:n,displayedData:r,dataKey:i,bandSize:a}=e,{cx:o,cy:s}=n,c=!1,l=[],u=n.type===`number`?0:a??0;r.forEach((e,r)=>{var a=A_(e,n.dataKey,r),d=A_(e,i),f=(n.scale.map(a)??0)+u,p=Array.isArray(d)?(0,xU.default)(d):d,m=fp(p)?0:t.scale.map(p)??0;Array.isArray(d)&&d.length>=2&&(c=!0),l.push(gU(gU({},qS(o,s,m,f)),{},{name:a,value:d,cx:o,cy:s,radius:m,angle:f,payload:e}))});var d=[];return c&&l.forEach(e=>{if(Array.isArray(e.value)){var n=e.value[0],r=fp(n)?0:t.scale.map(n)??0;d.push(gU(gU({},e),{},{radius:r},qS(o,s,r,e.angle)))}else d.push(e)}),{points:l,isRange:c,baseLinePoints:d}}function vle(e){var{showLabels:t,points:n,children:r}=e,i=n.map(e=>{var t={x:e.x,y:e.y,width:0,lowerWidth:0,upperWidth:0,height:0};return gU(gU({},t),{},{value:e.value??``,payload:e.payload,parentViewBox:void 0,viewBox:t,fill:void 0})});return yU.createElement(lR,{value:t?i:void 0},r)}function yle(e){var{points:t,baseLinePoints:n,props:r}=e;if(t==null)return null;var{shape:i,isRange:a,connectNulls:o}=r,s=yU.isValidElement(i)?yU.cloneElement(i,gU(gU({},r),{},{points:t})):typeof i==`function`?i(gU(gU({},r),{},{points:t})):yU.createElement(bR,mU({},Gu(r),{onMouseEnter:e=>{var{onMouseEnter:t}=r;t&&t(r,e)},onMouseLeave:e=>{var{onMouseLeave:t}=r;t&&t(r,e)},points:t,baseLinePoints:a?n:void 0,connectNulls:o}));return yU.createElement(W,{className:`recharts-radar-polygon`},s,yU.createElement(gle,{props:r,points:t}))}function ble(e){var{props:t,previousPointsRef:n,previousBaseLinePointsRef:r}=e,{points:i,baseLinePoints:a,isAnimationActive:o,animationBegin:s,animationDuration:c,animationEasing:l,onAnimationEnd:u,onAnimationStart:d}=t,f=n.current,p=r.current,m=f?f.length/i.length:1,h=p?p.length/a.length:1,g=xS(t,`recharts-radar-`),[_,v]=(0,bU.useState)(!1),y=!_,b=(0,bU.useCallback)(()=>{typeof u==`function`&&u(),v(!1)},[u]),x=(0,bU.useCallback)(()=>{typeof d==`function`&&d(),v(!0)},[d]);return yU.createElement(vle,{showLabels:y,points:i},yU.createElement(hS,{animationId:g,begin:s,duration:c,isActive:o,easing:l,key:`radar-${g}`,onAnimationEnd:b,onAnimationStart:x},e=>{var o=e===1?i:i.map(TU(f,m,e)),s=e===1?a:a?.map(TU(p,h,e));return e>0&&(n.current=o,r.current=s),yU.createElement(yle,{points:o,baseLinePoints:s,props:t})}),yU.createElement(nR,{label:t.label}),t.children)}function xle(e){var t=(0,bU.useRef)(void 0),n=(0,bU.useRef)(void 0);return yU.createElement(ble,{props:e,previousPointsRef:t,previousBaseLinePointsRef:n})}function Sle(e){var{hide:t,className:n,points:r}=e;if(t)return null;var i=U(`recharts-radar`,n);return yU.createElement(EF,{zIndex:e.zIndex},yU.createElement(W,{className:i},yU.createElement(xle,e)),yU.createElement(JH,{points:r,mainColor:_U(e.stroke,e.fill),itemDataKey:e.dataKey,activeDot:e.activeDot}))}function Cle(e){var t=wv(),n=J(n=>pU(n,e.radiusAxisId,e.angleAxisId,t,e.id));return n?.points==null?null:yU.createElement(Sle,mU({},e,{points:n?.points,baseLinePoints:n?.baseLinePoints,isRange:n?.isRange}))}function vU(e){var t=Pp(e,EU);return yU.createElement(lV,{id:t.id,type:`radar`},e=>yU.createElement(yU.Fragment,null,yU.createElement(wV,{type:`radar`,id:e,data:void 0,dataKey:t.dataKey,hide:t.hide,angleAxisId:t.angleAxisId,radiusAxisId:t.radiusAxisId}),yU.createElement(ZB,{legendPayload:CU(t)}),yU.createElement(wU,{dataKey:t.dataKey,stroke:t.stroke,strokeWidth:t.strokeWidth,fill:t.fill,name:t.name,hide:t.hide,tooltipType:t.tooltipType,id:e}),yU.createElement(Cle,mU({},t,{id:e}))))}var yU,bU,xU,SU,CU,wU,TU,EU,DU=o((()=>{yU=u(f()),bU=u(f()),xU=u(uH()),Pu(),q(),eC(),nv(),xR(),id(),fR(),TH(),QH(),YB(),ule(),Y(),Tv(),$B(),CS(),uV(),TV(),Wu(),bS(),qu(),Fp(),kF(),QC(),SU=[`id`],CU=e=>{var{dataKey:t,name:n,stroke:r,fill:i,legendType:a,hide:o}=e;return[{inactive:o,dataKey:t,type:a,color:_U(r,i),value:P_(n,t),payload:e}]},wU=yU.memo(e=>{var{dataKey:t,stroke:n,strokeWidth:r,fill:i,name:a,hide:o,tooltipType:s,id:c}=e,l={dataDefinedOnItem:void 0,getPosition:tp,settings:{stroke:n,strokeWidth:r,fill:i,nameKey:void 0,dataKey:t,name:P_(a,t),hide:o,type:s,color:_U(n,i),unit:``,graphicalItemId:c}};return yU.createElement(qB,{tooltipEntrySettings:l})}),TU=(e,t,n)=>(r,i)=>{var a=e&&e[Math.floor(i*t)];return a?gU(gU({},r),{},{x:G(a.x,r.x,n),y:G(a.y,r.y,n)}):gU(gU({},r),{},{x:G(r.cx,r.x,n),y:G(r.cy,r.y,n)})},EU={activeDot:!0,angleAxisId:0,animationBegin:0,animationDuration:1500,animationEasing:`ease`,dot:!1,hide:!1,isAnimationActive:`auto`,label:!1,legendType:`rect`,radiusAxisId:0,zIndex:ZC.area},vU.displayName=`Radar`}));function OU(){return OU=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},OU.apply(null,arguments)}function kU(e){return typeof e==`string`?parseInt(e,10):e}function AU(e){return jU.createElement(LB,OU({shapeType:`sector`},e))}var jU,wle=o((()=>{jU=u(f()),HB()})),MU,NU,PU=o((()=>{Fw(),q(),MU=(e,t,n)=>{var r=n??e;if(!fp(r))return lp(r,t,0)},NU=(e,t,n)=>{var r={},i=e.filter(Pw),a=e.filter(e=>e.stackId==null),o=i.reduce((e,t)=>{var n=e[t.stackId];return n??=[],n.push(t),e[t.stackId]=n,e},r),s=Object.entries(o).map(e=>{var[r,i]=e;return{stackId:r,dataKeys:i.map(e=>e.dataKey),barSize:MU(t,n,i[0]?.barSize)}}),c=a.map(e=>({stackId:void 0,dataKeys:[e.dataKey].filter(e=>e!=null),barSize:MU(t,n,e.barSize)}));return[...s,...c]}}));function FU(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function IU(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?FU(Object(n),!0).forEach(function(t){Tle(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):FU(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Tle(e,t,n){return(t=Ele(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ele(e){var t=Dle(e,`string`);return typeof t==`symbol`?t:t+``}function Dle(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function Ole(e,t,n,r,i){var a=r.length;if(!(a<1)){var o=lp(e,n,0,!0),s,c=[];if(Z(r[0]?.barSize)){var l=!1,u=n/a,d=r.reduce((e,t)=>e+(t.barSize||0),0);d+=(a-1)*o,d>=n&&(d-=(a-1)*o,o=0),d>=n&&u>0&&(l=!0,u*=.9,d=a*u);var f={offset:((n-d)/2>>0)-o,size:0};s=r.reduce((e,t)=>{var n={stackId:t.stackId,dataKeys:t.dataKeys,position:{offset:f.offset+f.size+o,size:l?u:t.barSize??0}},r=[...e,n];return f=n.position,r},c)}else{var p=lp(t,n,0,!0);n-2*p-(a-1)*o<=0&&(o=0);var m=(n-2*p-(a-1)*o)/a;m>1&&(m>>=0);var h=Z(i)?Math.min(m,i):m;s=r.reduce((e,t,n)=>[...e,{stackId:t.stackId,dataKeys:t.dataKeys,position:{offset:p+(m+o)*n+(m-h)/2,size:h}}],c)}return s}}var LU,RU=o((()=>{q(),D_(),LU=(e,t,n,r,i,a,o)=>{var s=fp(o)?t:o,c=Ole(n,r,i===a?a:i,e,s);return i!==a&&c!=null&&(c=c.map(e=>IU(IU({},e),{},{position:IU(IU({},e.position),{},{offset:e.position.offset-i/2})}))),c}})),zU,BU=o((()=>{jw(),zU=(e,t)=>{var n=Aw(t);if(!(!e||n==null||t==null)){var{stackId:r}=t;if(r!=null){var i=e[r];if(i){var{stackedData:a}=i;if(a)return a.find(e=>e.key===n)}}}}})),VU,HU=o((()=>{VU=(e,t)=>{if(!(e==null||t==null)){var n=e.find(e=>e.stackId===t.stackId&&t.dataKey!=null&&e.dataKeys.includes(t.dataKey));if(n!=null)return n.position}}}));function UU(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function WU(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?UU(Object(n),!0).forEach(function(t){kle(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):UU(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function kle(e,t,n){return(t=Ale(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ale(e){var t=jle(e,`string`);return typeof t==`symbol`?t:t+``}function jle(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var GU,KU,qU,JU,YU,XU,ZU,QU,$U,eW,tW,nW,rW,iW,aW,oW,sW,cW,lW,uW,dW,fW,pW,mW,hW,gW,_W,vW,yW,Mle=o((()=>{Dm(),IW(),xC(),qR(),iN(),Tw(),py(),nv(),XC(),RR(),q(),Nw(),Fw(),PU(),RU(),BU(),HU(),GU=(e,t)=>mw(e,t),KU=(e,t)=>HR(e,`radiusAxis`,t),qU=X([GU,KU],(e,t)=>{if(!(e==null||t==null))return WU(WU({},e),{},{scale:t})}),JU=(e,t)=>KR(e,`radiusAxis`,t,!1),YU=(e,t,n)=>fw(e,n),XU=(e,t,n)=>HR(e,`angleAxis`,n),ZU=X([YU,XU],(e,t)=>{if(!(e==null||t==null))return WU(WU({},e),{},{scale:t})}),QU=(e,t,n)=>WR(e,`angleAxis`,n,!1),$U=(e,t,n,r)=>r,eW=X([ER,$U],(e,t)=>{if(e.some(e=>e.type===`radialBar`&&t.dataKey===e.dataKey&&t.stackId===e.stackId))return t}),tW=X([Q,qU,JU,ZU,QU],(e,t,n,r,i)=>R_(e,`radiusAxis`)?$_(t,n,!1):$_(r,i,!1)),nW=X([ZU,qU,Q],(e,t,n)=>{var r=n===`radial`?e:t;if(!(r==null||r.scale==null))return q_({numericAxis:r})}),rW=(e,t,n,r,i)=>i,iW=(e,t,n,r,i)=>n,aW=(e,t,n,r,i)=>t,oW=(e,t,n,r,i)=>r.maxBarSize,sW=e=>e.type===`radialBar`,cW=X([Q,ER,iW,aW],(e,t,n,r)=>t.filter(t=>e===`centric`?t.angleAxisId===n:t.radiusAxisId===r).filter(e=>e.hide===!1).filter(sW)),lW=()=>void 0,uW=X([cW,HC,lW],NU),dW=X([Q,zC,ZU,QU,qU,JU,oW],(e,t,n,r,i,a,o)=>{var s=fp(o)?t:o;return e===`centric`?$_(n,r,!0)??s??0:$_(i,a,!0)??s??0}),fW=X([uW,zC,BC,VC,dW,tW,oW],LU),pW=X([fW,eW],VU),mW=X([OR],e=>e.filter(sW).filter(Pw)),hW=X([X([mW,hC,Oj],Mw),mW,UC,WC],jj),gW=(e,t,n)=>Q(e)===`centric`?hW(e,`radiusAxis`,t):hW(e,`angleAxis`,n),_W=X([gW,eW],zU),vW=X([ZU,QU,qU,JU,mC,eW,tW,Q,nW,ww,rW,pW,_W],(e,t,n,r,i,a,o,s,c,l,u,d,f)=>{var{chartData:p,dataStartIndex:m,dataEndIndex:h}=i;if(a==null||n==null||e==null||p==null||o==null||d==null||s!==`centric`&&s!==`radial`||r==null||l==null)return[];var{dataKey:g,minPointSize:_}=a,{cx:v,cy:y,startAngle:b,endAngle:x}=l;return Ule({angleAxis:e,angleAxisTicks:t,bandSize:o,baseValue:c,cells:u,cx:v,cy:y,dataKey:g,dataStartIndex:m,displayedData:p.slice(m,h+1),endAngle:x,layout:s,minPointSize:_,pos:d,radiusAxis:n,radiusAxisTicks:r,stackedData:f,stackedDomain:f?(s===`centric`?n:e).scale.domain():null,startAngle:b})}),yW=X([hC,(e,t)=>t],(e,t)=>{var{chartData:n,dataStartIndex:r,dataEndIndex:i}=e;if(n==null)return[];var a=n.slice(r,i+1);return a.length===0?[]:a.map(e=>({type:t,value:e.name,color:e.fill,payload:e}))})}));function bW(e,t){return e&&typeof e==`object`&&`zIndex`in e&&typeof e.zIndex==`number`&&Z(e.zIndex)?e.zIndex:t}var xW=o((()=>{D_()}));function SW(){return SW=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},SW.apply(null,arguments)}function CW(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function wW(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?CW(Object(n),!0).forEach(function(t){Nle(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):CW(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Nle(e,t,n){return(t=Ple(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ple(e){var t=Fle(e,`string`);return typeof t==`symbol`?t:t+``}function Fle(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function TW(e,t){if(e==null)return{};var n,r,i=Ile(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function Ile(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function Lle(e){var{showLabels:t,sectors:n,children:r}=e,i=n.map(e=>({value:e.value,payload:e.payload,parentViewBox:void 0,clockWise:!1,viewBox:{cx:e.cx,cy:e.cy,innerRadius:e.innerRadius,outerRadius:e.outerRadius,startAngle:e.startAngle,endAngle:e.endAngle,clockWise:!1},fill:e.fill}));return DW.createElement(dR,{value:t?i:void 0},r)}function Rle(e){var{sectors:t,allOtherRadialBarProps:n,showLabels:r}=e,{shape:i,activeShape:a,cornerRadius:o,id:s}=n,c=TW(n,kW),l=Bu(c),u=J(DP),{onMouseEnter:d,onClick:f,onMouseLeave:p}=n,m=TW(n,AW),h=UB(d,n.dataKey,s),g=WB(p),_=GB(f,n.dataKey,s);return t==null?null:DW.createElement(Lle,{showLabels:r,sectors:t},t.map((e,t)=>{var n=!!(a&&u===String(t)),r=h(e,t),s=g(e,t),d=_(e,t),f=wW(wW(wW(wW({},l),{},{cornerRadius:kU(o)},e),Ap(m,e,t)),{},{onMouseEnter:r,onMouseLeave:s,onClick:d,className:`recharts-radial-bar-sector ${e.className}`,forceCornerRadius:c.forceCornerRadius,cornerIsExternal:c.cornerIsExternal,isActive:n,option:n?a:i,index:t});return n?DW.createElement(EF,{zIndex:ZC.activeBar,key:`sector-${e.cx}-${e.cy}-${e.innerRadius}-${e.outerRadius}-${e.startAngle}-${e.endAngle}-${t}`},DW.createElement(AU,f)):DW.createElement(AU,SW({key:`sector-${e.cx}-${e.cy}-${e.innerRadius}-${e.outerRadius}-${e.startAngle}-${e.endAngle}-${t}`},f))}),DW.createElement(nR,{label:n.label}),n.children)}function zle(e){var{props:t,previousSectorsRef:n}=e,{sectors:r,isAnimationActive:i,animationBegin:a,animationDuration:o,animationEasing:s,onAnimationEnd:c,onAnimationStart:l}=t,u=xS(t,`recharts-radialbar-`),d=n.current,[f,p]=(0,OW.useState)(!1),m=(0,OW.useCallback)(()=>{typeof c==`function`&&c(),p(!1)},[c]),h=(0,OW.useCallback)(()=>{typeof l==`function`&&l(),p(!0)},[l]);return DW.createElement(hS,{animationId:u,begin:a,duration:o,isActive:i,easing:s,onAnimationStart:h,onAnimationEnd:m,key:u},e=>{var i=e===1?r:(r??MW).map((t,n)=>{var r=d&&d[n];if(r)return wW(wW({},t),{},{startAngle:G(r.startAngle,t.startAngle,e),endAngle:G(r.endAngle,t.endAngle,e)});var{endAngle:i,startAngle:a}=t;return wW(wW({},t),{},{endAngle:G(a,i,e)})});return e>0&&(n.current=i??null),DW.createElement(Rle,{sectors:i??MW,allOtherRadialBarProps:t,showLabels:!f})})}function Ble(e){var t=(0,OW.useRef)(null);return DW.createElement(zle,{props:e,previousSectorsRef:t})}function Vle(e){var t=J(t=>yW(t,e.legendType));return DW.createElement(ZB,{legendPayload:t??[]})}function Hle(e){var t=DW.useMemo(()=>pB(e.children,AI),[e.children]),n=DW.useMemo(()=>({data:void 0,hide:!1,id:e.id,dataKey:e.dataKey,minPointSize:e.minPointSize,stackId:j_(e.stackId),maxBarSize:e.maxBarSize,barSize:e.barSize,type:`radialBar`,angleAxisId:e.angleAxisId,radiusAxisId:e.radiusAxisId}),[e.id,e.dataKey,e.minPointSize,e.stackId,e.maxBarSize,e.barSize,e.angleAxisId,e.radiusAxisId]),r=J(r=>vW(r,e.radiusAxisId,e.angleAxisId,n,t))??MW;return DW.createElement(DW.Fragment,null,DW.createElement(NW,{dataKey:e.dataKey,sectors:r,stroke:e.stroke,strokeWidth:e.strokeWidth,name:e.name,hide:e.hide,fill:e.fill,tooltipType:e.tooltipType,id:e.id}),DW.createElement(PW,SW({},e,{sectors:r})))}function Ule(e){var{displayedData:t,stackedData:n,dataStartIndex:r,stackedDomain:i,dataKey:a,baseValue:o,layout:s,radiusAxis:c,radiusAxisTicks:l,bandSize:u,pos:d,angleAxis:f,minPointSize:p,cx:m,cy:h,angleAxisTicks:g,cells:_,startAngle:v,endAngle:y}=e;return g==null||l==null?MW:(t??[]).map((e,t)=>{var b,x,S,C,w,T;if(n?b=V_(n[r+t],i):(b=A_(e,a),Array.isArray(b)||(b=[o,b])),s===`radial`){if(C=f.scale.map(b[0])??v,w=f.scale.map(b[1])??y,x=K_({axis:c,ticks:l,bandSize:u,offset:d.offset,entry:e,index:t}),x!=null&&w!=null&&C!=null){S=x+d.size;var E=w-C;if(Math.abs(p)>0&&Math.abs(E)<Math.abs(p)){var D=rp(E||p)*(Math.abs(p)-Math.abs(E));w+=D}T={background:{cx:m,cy:h,innerRadius:x,outerRadius:S,startAngle:v,endAngle:y}}}}else if(x=c.scale.map(b[0]),S=c.scale.map(b[1]),C=K_({axis:f,ticks:g,bandSize:u,offset:d.offset,entry:e,index:t}),x!=null&&S!=null&&C!=null){w=C+d.size;var O=S-x;if(Math.abs(p)>0&&Math.abs(O)<Math.abs(p)){var k=rp(O||p)*(Math.abs(p)-Math.abs(O));S+=k}}return wW(wW(wW({},e),T),{},{payload:e,value:n?b:b[1],cx:m,cy:h,innerRadius:x,outerRadius:S,startAngle:C,endAngle:w},_&&_[t]&&_[t].props)})}function EW(e){var t=Pp(e,FW);return DW.createElement(lV,{id:t.id,type:`radialBar`},e=>DW.createElement(DW.Fragment,null,DW.createElement(wV,{type:`radialBar`,id:e,data:void 0,dataKey:t.dataKey,hide:t.hide??FW.hide,angleAxisId:t.angleAxisId??FW.angleAxisId,radiusAxisId:t.radiusAxisId??FW.radiusAxisId,stackId:j_(t.stackId),barSize:t.barSize,minPointSize:t.minPointSize,maxBarSize:t.maxBarSize}),DW.createElement(Vle,t),DW.createElement(Hle,SW({},t,{id:e}))))}var DW,OW,kW,AW,jW,MW,NW,PW,FW,IW=o((()=>{DW=u(f()),OW=u(f()),Pu(),wle(),id(),SB(),fR(),jI(),q(),nv(),Mp(),KB(),YB(),Mle(),Y(),LP(),$B(),CS(),uV(),TV(),Wu(),bS(),Fp(),kF(),QC(),xW(),kW=[`shape`,`activeShape`,`cornerRadius`,`id`],AW=[`onMouseEnter`,`onClick`,`onMouseLeave`],jW=[`value`,`background`],MW=[],NW=DW.memo(e=>{var{dataKey:t,sectors:n,stroke:r,strokeWidth:i,name:a,hide:o,fill:s,tooltipType:c,id:l}=e,u={dataDefinedOnItem:n,getPosition:tp,settings:{graphicalItemId:l,stroke:r,strokeWidth:i,fill:s,nameKey:void 0,dataKey:t,name:P_(a,t),hide:o,type:c,color:s,unit:``}};return DW.createElement(qB,{tooltipEntrySettings:u})}),PW=class extends OW.PureComponent{renderBackground(e){if(e==null)return null;var{cornerRadius:t}=this.props,n=Vu(this.props.background);return DW.createElement(EF,{zIndex:bW(this.props.background,ZC.barBackground)},e.map((e,r)=>{var{value:i,background:a}=e,o=TW(e,jW);if(!a)return null;var s=wW(wW(wW(wW(wW({cornerRadius:kU(t)},o),{},{fill:`#eee`},a),n),Ap(this.props,e,r)),{},{index:r,className:U(`recharts-radial-bar-background-sector`,String(n?.className)),option:a,isActive:!1});return DW.createElement(AU,SW({key:`background-${o.cx}-${o.cy}-${o.innerRadius}-${o.outerRadius}-${o.startAngle}-${o.endAngle}-${r}`},s))}))}render(){var{hide:e,sectors:t,className:n,background:r}=this.props;if(e)return null;var i=U(`recharts-area`,n);return DW.createElement(EF,{zIndex:this.props.zIndex},DW.createElement(W,{className:i},r&&DW.createElement(W,{className:`recharts-radial-bar-background`},this.renderBackground(t)),DW.createElement(W,{className:`recharts-radial-bar-sectors`},DW.createElement(Ble,this.props))))}},FW={angleAxisId:0,animationBegin:0,animationDuration:1500,animationEasing:`ease`,background:!1,cornerIsExternal:!1,cornerRadius:0,forceCornerRadius:!1,hide:!1,isAnimationActive:`auto`,label:!1,legendType:`rect`,minPointSize:0,radiusAxisId:0,zIndex:ZC.bar},EW.displayName=`RadialBar`})),LW,RW,zW=o((()=>{LW=u(f()),tI(),Y(),Tv(),RW=e=>{var{chartData:t}=e,n=hm(),r=wv();return(0,LW.useEffect)(()=>r?()=>{}:(n(ZF(t)),()=>{n(ZF(void 0))}),[t,n,r]),null}})),BW,VW,Wle,HW,UW=o((()=>{g_(),BW={x:0,y:0,width:0,height:0,padding:{top:0,right:0,bottom:0,left:0}},VW=Ig({name:`brush`,initialState:BW,reducers:{setBrushSettings(e,t){return t.payload==null?BW:t.payload}}}),{setBrushSettings:Wle}=VW.actions,HW=VW.reducer}));function Gle(e){return(e%180+180)%180}var WW,GW,KW,qW=o((()=>{WW=(e,t)=>{var{x:n,y:r}=e,{x:i,y:a}=t;return{x:Math.min(n,i),y:Math.min(r,a),width:Math.abs(i-n),height:Math.abs(a-r)}},GW=e=>{var{x1:t,y1:n,x2:r,y2:i}=e;return WW({x:t,y:n},{x:r,y:i})},KW=function(e){var{width:t,height:n}=e,r=Gle(arguments.length>1&&arguments[1]!==void 0?arguments[1]:0)*Math.PI/180,i=Math.atan(n/t),a=r>i&&r<Math.PI-i?n/Math.sin(r):t/Math.cos(r);return Math.abs(a)}})),JW,YW,Kle,qle,Jle,Yle,XW,ZW,QW,$W=o((()=>{g_(),ob(),JW={dots:[],areas:[],lines:[]},YW=Ig({name:`referenceElements`,initialState:JW,reducers:{addDot:(e,t)=>{e.dots.push(t.payload)},removeDot:(e,t)=>{var n=Th(e).dots.findIndex(e=>e===t.payload);n!==-1&&e.dots.splice(n,1)},addArea:(e,t)=>{e.areas.push(t.payload)},removeArea:(e,t)=>{var n=Th(e).areas.findIndex(e=>e===t.payload);n!==-1&&e.areas.splice(n,1)},addLine:(e,t)=>{e.lines.push(Ky(t.payload))},removeLine:(e,t)=>{var n=Th(e).lines.findIndex(e=>e===t.payload);n!==-1&&e.lines.splice(n,1)}}}),{addDot:Kle,removeDot:qle,addArea:Jle,removeArea:Yle,addLine:XW,removeLine:ZW}=YW.actions,QW=YW.reducer})),eG,tG,nG,rG,iG,aG=o((()=>{eG=u(f()),tG=u(f()),q(),GH(),nG=(0,tG.createContext)(void 0),rG=e=>{var{children:t}=e,[n]=(0,tG.useState)(`${cp(`recharts`)}-clip`),r=UH();if(r==null)return null;var{x:i,y:a,width:o,height:s}=r;return eG.createElement(nG.Provider,{value:n},eG.createElement(`defs`,null,eG.createElement(`clipPath`,{id:n},eG.createElement(`rect`,{x:i,y:a,height:s,width:o}))),t)},iG=()=>(0,tG.useContext)(nG)})),oG,sG=o((()=>{oG=class{constructor(e){var{x:t,y:n}=e;this.xAxisScale=t,this.yAxisScale=n}map(e,t){var{position:n}=t;return{x:this.xAxisScale.map(e.x,{position:n})??0,y:this.yAxisScale.map(e.y,{position:n})??0}}mapWithFallback(e,t){var{position:n,fallback:r}=t,i=r===`rangeMin`?this.yAxisScale.rangeMin():r===`rangeMax`?this.yAxisScale.rangeMax():0,a=r===`rangeMin`?this.xAxisScale.rangeMin():r===`rangeMax`?this.xAxisScale.rangeMax():0;return{x:this.xAxisScale.map(e.x,{position:n})??a,y:this.yAxisScale.map(e.y,{position:n})??i}}isInRange(e){var{x:t,y:n}=e,r=t==null||this.xAxisScale.isInRange(t),i=n==null||this.yAxisScale.isInRange(n);return r&&i}}}));function cG(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function lG(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?cG(Object(n),!0).forEach(function(t){Xle(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):cG(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Xle(e,t,n){return(t=Zle(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Zle(e){var t=Qle(e,`string`);return typeof t==`symbol`?t:t+``}function Qle(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function uG(){return uG=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},uG.apply(null,arguments)}function $le(e){var t=hm();return(0,pG.useEffect)(()=>(t(XW(e)),()=>{t(ZW(e))})),null}function eue(e){var{xAxisId:t,yAxisId:n,shape:r,className:i,ifOverflow:a}=e,o=wv(),s=iG(),c=J(e=>nj(e,t)),l=J(e=>aj(e,n)),u=J(e=>OM(e,`xAxis`,t,o)),d=J(e=>OM(e,`yAxis`,n,o)),f=ey();if(!s||!f||c==null||l==null||u==null||d==null)return null;var p=vG(u,d,f,e.position,c.orientation,l.orientation,e);if(!p)return null;var m=p[0],h=p[1];if(m==null||h==null)return null;var{x:g,y:_}=m,{x:v,y}=h,b=lG(lG({clipPath:a===`hidden`?`url(#${s})`:void 0},Gu(e)),{},{x1:g,y1:_,x2:v,y2:y}),x=GW({x1:g,y1:_,x2:v,y2:y});return fG.createElement(EF,{zIndex:e.zIndex},fG.createElement(W,{className:U(`recharts-reference-line`,i)},mG(r,b),fG.createElement(zL,uG({},x,{lowerWidth:x.width,upperWidth:x.width}),fG.createElement(NL,{label:e.label}),e.children)))}function dG(e){var t=Pp(e,yG);return fG.createElement(fG.Fragment,null,fG.createElement($le,{yAxisId:t.yAxisId,xAxisId:t.xAxisId,ifOverflow:t.ifOverflow,x:t.x,y:t.y,segment:t.segment}),fG.createElement(eue,t))}var fG,pG,mG,hG,gG,_G,vG,yG,tue=o((()=>{fG=u(f()),pG=u(f()),Pu(),id(),QL(),q(),qW(),py(),$W(),Y(),iN(),Tv(),aG(),qu(),Fp(),kF(),QC(),D_(),sG(),mG=(e,t)=>{var n;if(fG.isValidElement(e))n=fG.cloneElement(e,t);else if(typeof e==`function`)n=e(t);else{if(!Z(t.x1)||!Z(t.y1)||!Z(t.x2)||!Z(t.y2))return null;n=fG.createElement(`line`,uG({},t,{className:`recharts-reference-line-line`}))}return n},hG=(e,t,n,r,i,a)=>{var{x:o,width:s}=a,c=i.map(e,{position:n});if(!Z(c)||t===`discard`&&!i.isInRange(c))return null;var l=[{x:o+s,y:c},{x:o,y:c}];return r===`left`?l.reverse():l},gG=(e,t,n,r,i,a)=>{var{y:o,height:s}=a,c=i.map(e,{position:n});if(!Z(c)||t===`discard`&&!i.isInRange(c))return null;var l=[{x:c,y:o+s},{x:c,y:o}];return r===`top`?l.reverse():l},_G=(e,t,n,r)=>{var i=[r.mapWithFallback(e[0],{position:n,fallback:`rangeMin`}),r.mapWithFallback(e[1],{position:n,fallback:`rangeMax`})];return t===`discard`&&i.some(e=>!r.isInRange(e))?null:i},vG=(e,t,n,r,i,a,o)=>{var{x:s,y:c,segment:l,ifOverflow:u}=o,d=op(s);return op(c)?hG(c,u,r,a,t,n):d?gG(s,u,r,i,e,n):l!=null&&l.length===2?_G(l,u,r,new oG({x:e,y:t})):null},yG={ifOverflow:`discard`,xAxisId:0,yAxisId:0,fill:`none`,label:!1,stroke:`#ccc`,fillOpacity:1,strokeWidth:1,position:`middle`,zIndex:ZC.line},dG.displayName=`ReferenceLine`}));function bG(e,t){if(t<1)return[];if(t===1)return e;for(var n=[],r=0;r<e.length;r+=t){var i=e[r];i!==void 0&&n.push(i)}return n}var xG=o((()=>{}));function nue(e,t,n){return KW({width:e.width+t.width,height:e.height+t.height},n)}function rue(e,t,n){var r=n===`width`,{x:i,y:a,width:o,height:s}=e;return t===1?{start:r?i:a,end:r?i+o:a+s}:{start:r?i+o:a+s,end:r?i:a}}function SG(e,t,n,r,i){if(e*t<e*r||e*t>e*i)return!1;var a=n();return e*(t-e*a/2-r)>=0&&e*(t+e*a/2-i)<=0}function iue(e,t){return bG(e,t+1)}var CG=o((()=>{qW(),xG()}));function aue(e,t,n,r,i){for(var a=(r||[]).slice(),{start:o,end:s}=t,c=0,l=1,u=o,d=function(){var t=r?.[c];if(t===void 0)return{v:bG(r,l)};var a=c,d,f=()=>(d===void 0&&(d=n(t,a)),d),p=t.coordinate,m=c===0||SG(e,p,f,u,s);m||(c=0,u=o,l+=1),m&&(u=p+e*(f()/2+i),c+=l)},f;l<=a.length;)if(f=d(),f)return f.v;return[]}function oue(e,t,n,r,i){var a=(r||[]).slice().length;if(a===0)return[];for(var{start:o,end:s}=t,c=1;c<=a;c++){for(var l=(a-1)%c,u=o,d=!0,f=function(){var t=r[m];if(t==null)return 0;var a=m,o,c=()=>(o===void 0&&(o=n(t,a)),o),f=t.coordinate,p=m===l||SG(e,f,c,u,s);if(!p)return d=!1,1;p&&(u=f+e*(c()/2+i))},p,m=l;m<a&&(p=f(),!(p!==0&&p===1));m+=c);if(d){for(var h=[],g=l;g<a;g+=c){var _=r[g];_!=null&&h.push(_)}return h}}return[]}var sue=o((()=>{CG(),xG()}));function wG(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function TG(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?wG(Object(n),!0).forEach(function(t){cue(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):wG(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function cue(e,t,n){return(t=lue(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function lue(e){var t=uue(e,`string`);return typeof t==`symbol`?t:t+``}function uue(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function due(e,t,n,r,i){for(var a=(r||[]).slice(),o=a.length,{start:s}=t,{end:c}=t,l=function(t){var r=a[t];if(r==null)return 1;var l=r,u,d=()=>(u===void 0&&(u=n(r,t)),u);if(t===o-1){var f=e*(l.coordinate+e*d()/2-c);a[t]=l=TG(TG({},l),{},{tickCoord:f>0?l.coordinate-f*e:l.coordinate})}else a[t]=l=TG(TG({},l),{},{tickCoord:l.coordinate});l.tickCoord!=null&&SG(e,l.tickCoord,d,s,c)&&(c=l.tickCoord-e*(d()/2+i),a[t]=TG(TG({},l),{},{isShow:!0}))},u=o-1;u>=0;u--)if(l(u))continue;return a}function fue(e,t,n,r,i,a){var o=(r||[]).slice(),s=o.length,{start:c,end:l}=t;if(a){var u=r[s-1];if(u!=null){var d=n(u,s-1),f=e*(u.coordinate+e*d/2-l);o[s-1]=u=TG(TG({},u),{},{tickCoord:f>0?u.coordinate-f*e:u.coordinate}),u.tickCoord!=null&&SG(e,u.tickCoord,()=>d,c,l)&&(l=u.tickCoord-e*(d/2+i),o[s-1]=TG(TG({},u),{},{isShow:!0}))}}for(var p=a?s-1:s,m=function(t){var r=o[t];if(r==null)return 1;var a=r,s,u=()=>(s===void 0&&(s=n(r,t)),s);if(t===0){var d=e*(a.coordinate-e*u()/2-c);o[t]=a=TG(TG({},a),{},{tickCoord:d<0?a.coordinate-d*e:a.coordinate})}else o[t]=a=TG(TG({},a),{},{tickCoord:a.coordinate});a.tickCoord!=null&&SG(e,a.tickCoord,u,c,l)&&(c=a.tickCoord+e*(u()/2+i),o[t]=TG(TG({},a),{},{isShow:!0}))},h=0;h<p;h++)if(m(h))continue;return o}function EG(e,t,n){var{tick:r,ticks:i,viewBox:a,minTickGap:o,orientation:s,interval:c,tickFormatter:l,unit:u,angle:d}=e;if(!i||!i.length||!r)return[];if(K(c)||lx.isSsr)return iue(i,K(c)?c:0)??[];var f=[],p=s===`top`||s===`bottom`?`width`:`height`,m=u&&p===`width`?GI(u,{fontSize:t,letterSpacing:n}):{width:0,height:0},h=(e,r)=>{var i=typeof l==`function`?l(e.value,r):e.value;return p===`width`?nue(GI(i,{fontSize:t,letterSpacing:n}),m,d):GI(i,{fontSize:t,letterSpacing:n})[p]},g=i[0],_=i[1],v=i.length>=2&&g!=null&&_!=null?rp(_.coordinate-g.coordinate):1,y=rue(a,v,p);return c===`equidistantPreserveStart`?aue(v,y,h,i,o):c===`equidistantPreserveEnd`?oue(v,y,h,i,o):(f=c===`preserveStart`||c===`preserveStartEnd`?fue(v,y,h,i,o,c===`preserveStartEnd`):due(v,y,h,i,o),f.filter(e=>e.isShow))}var DG=o((()=>{q(),KI(),ux(),CG(),sue()})),OG,pue=o((()=>{OG=e=>{var{ticks:t,label:n,labelGapWithTick:r=5,tickSize:i=0,tickMargin:a=0}=e,o=0;if(t){Array.from(t).forEach(e=>{if(e){var t=e.getBoundingClientRect();t.width>o&&(o=t.width)}});var s=n?n.getBoundingClientRect().width:0,c=i+a,l=o+c+s+(n?r:0);return Math.round(l)}return 0}})),kG,AG,jG,MG,NG,PG=o((()=>{g_(),ob(),kG={xAxis:{},yAxis:{}},AG=Ig({name:`renderedTicks`,initialState:kG,reducers:{setRenderedTicks:(e,t)=>{var{axisType:n,axisId:r,ticks:i}=t.payload;e[n][r]=Ky(i)},removeRenderedTicks:(e,t)=>{var{axisType:n,axisId:r}=t.payload;delete e[n][r]}}}),{setRenderedTicks:jG,removeRenderedTicks:MG}=AG.actions,NG=AG.reducer}));function mue(e,t){if(e==null)return{};var n,r,i=FG(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function FG(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function IG(){return IG=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},IG.apply(null,arguments)}function LG(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function RG(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?LG(Object(n),!0).forEach(function(t){hue(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):LG(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function hue(e,t,n){return(t=gue(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function gue(e){var t=_ue(e,`string`);return typeof t==`symbol`?t:t+``}function _ue(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function vue(e){var{x:t,y:n,width:r,height:i,orientation:a,mirror:o,axisLine:s,otherSvgProps:c}=e;if(!s)return null;var l=RG(RG(RG({},c),Bu(s)),{},{fill:`none`});if(a===`top`||a===`bottom`){var u=+(a===`top`&&!o||a===`bottom`&&o);l=RG(RG({},l),{},{x1:t,y1:n+u*i,x2:t+r,y2:n+u*i})}else{var d=+(a===`left`&&!o||a===`right`&&o);l=RG(RG({},l),{},{x1:t+d*r,y1:n,x2:t+d*r,y2:n+i})}return zG.createElement(`line`,IG({},l,{className:U(`recharts-cartesian-axis-line`,(0,VG.default)(s,`className`))}))}function yue(e,t,n,r,i,a,o,s,c){var l,u,d,f,p,m,h=s?-1:1,g=e.tickSize||o,_=K(e.tickCoord)?e.tickCoord:e.coordinate;switch(a){case`top`:l=u=e.coordinate,f=n+ +!s*i,d=f-h*g,m=d-h*c,p=_;break;case`left`:d=f=e.coordinate,u=t+ +!s*r,l=u-h*g,p=l-h*c,m=_;break;case`right`:d=f=e.coordinate,u=t+ +s*r,l=u+h*g,p=l+h*c,m=_;break;default:l=u=e.coordinate,f=n+ +s*i,d=f+h*g,m=d+h*c,p=_;break}return{line:{x1:l,y1:d,x2:u,y2:f},tick:{x:p,y:m}}}function bue(e,t){switch(e){case`left`:return t?`start`:`end`;case`right`:return t?`end`:`start`;default:return`middle`}}function xue(e,t){switch(e){case`left`:case`right`:return`middle`;case`top`:return t?`start`:`end`;default:return t?`end`:`start`}}function Sue(e){var{option:t,tickProps:n,value:r}=e,i,a=U(n.className,`recharts-cartesian-axis-tick-value`);if(zG.isValidElement(t))i=zG.cloneElement(t,RG(RG({},n),{},{className:a}));else if(typeof t==`function`)i=t(RG(RG({},n),{},{className:a}));else{var o=`recharts-cartesian-axis-tick-value`;typeof t!=`boolean`&&(o=U(o,_z(t))),i=zG.createElement(CL,IG({},n,{className:o}),r)}return i}function Cue(e){var{ticks:t,axisType:n,axisId:r}=e,i=hm();return(0,BG.useEffect)(()=>r==null||n==null?tp:(i(jG({ticks:t.map(e=>({value:e.value,coordinate:e.coordinate,offset:e.offset,index:e.index})),axisId:r,axisType:n})),()=>{i(MG({axisId:r,axisType:n}))}),[i,t,r,n]),null}var zG,BG,VG,HG,UG,WG,GG,KG,qG=o((()=>{zG=u(f()),BG=u(f()),VG=u(Jf()),Pu(),id(),wL(),QL(),q(),Mp(),DG(),Wu(),pue(),Fp(),kF(),QC(),vz(),PG(),Y(),HG=[`axisLine`,`width`,`height`,`className`,`hide`,`ticks`,`axisType`,`axisId`],UG={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`,zIndex:ZC.axis},WG=(0,BG.forwardRef)((e,t)=>{var{ticks:n=[],tick:r,tickLine:i,stroke:a,tickFormatter:o,unit:s,padding:c,tickTextProps:l,orientation:u,mirror:d,x:f,y:p,width:m,height:h,tickSize:g,tickMargin:_,fontSize:v,letterSpacing:y,getTicksConfig:b,events:x,axisType:S,axisId:C}=e,w=EG(RG(RG({},b),{},{ticks:n}),v,y),T=Bu(b),E=Vu(r),D=sL(T.textAnchor)?T.textAnchor:bue(u,d),O=xue(u,d),k={};typeof i==`object`&&(k=i);var A=RG(RG({},T),{},{fill:`none`},k),j=w.map(e=>RG({entry:e},yue(e,f,p,m,h,u,g,d,_))),M=j.map(e=>{var{entry:t,line:n}=e;return zG.createElement(W,{className:`recharts-cartesian-axis-tick`,key:`tick-${t.value}-${t.coordinate}-${t.tickCoord}`},i&&zG.createElement(`line`,IG({},A,n,{className:U(`recharts-cartesian-axis-tick-line`,(0,VG.default)(i,`className`))})))}),N=j.map((e,t)=>{var{entry:n,tick:i}=e,u=RG(RG({},RG(RG(RG(RG({verticalAnchor:O},T),{},{textAnchor:D,stroke:`none`,fill:a},i),{},{index:t,payload:n,visibleTicksCount:w.length,tickFormatter:o,padding:c},l),{},{angle:l?.angle??T.angle??0})),E);return zG.createElement(W,IG({className:`recharts-cartesian-axis-tick-label`,key:`tick-label-${n.value}-${n.coordinate}-${n.tickCoord}`},Ap(x,n,t)),r&&zG.createElement(Sue,{option:r,tickProps:u,value:`${typeof o==`function`?o(n.value,t):n.value}${s||``}`}))});return zG.createElement(`g`,{className:`recharts-cartesian-axis-ticks recharts-${S}-ticks`},zG.createElement(Cue,{ticks:w,axisId:C,axisType:S}),N.length>0&&zG.createElement(EF,{zIndex:ZC.label},zG.createElement(`g`,{className:`recharts-cartesian-axis-tick-labels recharts-${S}-tick-labels`,ref:t},N)),M.length>0&&zG.createElement(`g`,{className:`recharts-cartesian-axis-tick-lines recharts-${S}-tick-lines`},M))}),GG=(0,BG.forwardRef)((e,t)=>{var{axisLine:n,width:r,height:i,className:a,hide:o,ticks:s,axisType:c,axisId:l}=e,u=mue(e,HG),[d,f]=(0,BG.useState)(``),[p,m]=(0,BG.useState)(``),h=(0,BG.useRef)(null);(0,BG.useImperativeHandle)(t,()=>({getCalculatedWidth:()=>OG({ticks:h.current,label:e.labelRef?.current,labelGapWithTick:5,tickSize:e.tickSize,tickMargin:e.tickMargin})}));var g=(0,BG.useCallback)(e=>{if(e){var t=e.getElementsByClassName(`recharts-cartesian-axis-tick-value`);h.current=t;var n=t[0];if(n){var r=window.getComputedStyle(n),i=r.fontSize,a=r.letterSpacing;(i!==d||a!==p)&&(f(i),m(a))}}},[d,p]);return o||r!=null&&r<=0||i!=null&&i<=0?null:zG.createElement(EF,{zIndex:e.zIndex},zG.createElement(W,{className:U(`recharts-cartesian-axis`,a)},zG.createElement(vue,{x:e.x,y:e.y,width:r,height:i,orientation:e.orientation,mirror:e.mirror,axisLine:n,otherSvgProps:Bu(e)}),zG.createElement(WG,{ref:g,axisType:c,events:u,fontSize:d,getTicksConfig:e,height:e.height,letterSpacing:p,mirror:e.mirror,orientation:e.orientation,padding:e.padding,stroke:e.stroke,tick:e.tick,tickFormatter:e.tickFormatter,tickLine:e.tickLine,tickMargin:e.tickMargin,tickSize:e.tickSize,tickTextProps:e.tickTextProps,ticks:s,unit:e.unit,width:e.width,x:e.x,y:e.y,axisId:l}),zG.createElement(zL,{x:e.x,y:e.y,width:e.width,height:e.height,lowerWidth:e.width,upperWidth:e.width},zG.createElement(NL,{label:e.label,labelRef:e.labelRef}),e.children)))}),KG=zG.forwardRef((e,t)=>{var n=Pp(e,UG);return zG.createElement(GG,IG({},n,{ref:t}))}),KG.displayName=`CartesianAxis`}));function JG(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function YG(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?JG(Object(n),!0).forEach(function(t){wue(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):JG(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function wue(e,t,n){return(t=Tue(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Tue(e){var t=Eue(e,`string`);return typeof t==`symbol`?t:t+``}function Eue(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function XG(){return XG=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},XG.apply(null,arguments)}function ZG(e,t){if(e==null)return{};var n,r,i=Due(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function Due(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function QG(e){var{option:t,lineItemProps:n}=e,r;if(eK.isValidElement(t))r=eK.cloneElement(t,n);else if(typeof t==`function`)r=t(n);else{var{x1:i,y1:a,x2:o,y2:s,key:c}=n,l=Bu(ZG(n,tK))??{},{offset:u}=l,d=ZG(l,nK);r=eK.createElement(`line`,XG({},d,{x1:i,y1:a,x2:o,y2:s,fill:`none`,key:c}))}return r}function Oue(e){var{x:t,width:n,horizontal:r=!0,horizontalPoints:i}=e;if(!r||!i||!i.length)return null;var{xAxisId:a,yAxisId:o}=e,s=ZG(e,rK),c=i.map((e,i)=>{var a=YG(YG({},s),{},{x1:t,y1:e,x2:t+n,y2:e,key:`line-${i}`,index:i});return eK.createElement(QG,{key:`line-${i}`,option:r,lineItemProps:a})});return eK.createElement(`g`,{className:`recharts-cartesian-grid-horizontal`},c)}function kue(e){var{y:t,height:n,vertical:r=!0,verticalPoints:i}=e;if(!r||!i||!i.length)return null;var{xAxisId:a,yAxisId:o}=e,s=ZG(e,iK),c=i.map((e,i)=>{var a=YG(YG({},s),{},{x1:e,y1:t,x2:e,y2:t+n,key:`line-${i}`,index:i});return eK.createElement(QG,{option:r,lineItemProps:a,key:`line-${i}`})});return eK.createElement(`g`,{className:`recharts-cartesian-grid-vertical`},c)}function Aue(e){var{horizontalFill:t,fillOpacity:n,x:r,y:i,width:a,height:o,horizontalPoints:s,horizontal:c=!0}=e;if(!c||!t||!t.length||s==null)return null;var l=s.map(e=>Math.round(e+i-i)).sort((e,t)=>e-t);i!==l[0]&&l.unshift(0);var u=l.map((e,s)=>{var c=l[s+1],u=c==null?i+o-e:c-e;if(u<=0)return null;var d=s%t.length;return eK.createElement(`rect`,{key:`react-${s}`,y:e,x:r,height:u,width:a,stroke:`none`,fill:t[d],fillOpacity:n,className:`recharts-cartesian-grid-bg`})});return eK.createElement(`g`,{className:`recharts-cartesian-gridstripes-horizontal`},u)}function jue(e){var{vertical:t=!0,verticalFill:n,fillOpacity:r,x:i,y:a,width:o,height:s,verticalPoints:c}=e;if(!t||!n||!n.length)return null;var l=c.map(e=>Math.round(e+i-i)).sort((e,t)=>e-t);i!==l[0]&&l.unshift(0);var u=l.map((e,t)=>{var c=l[t+1],u=c==null?i+o-e:c-e;if(u<=0)return null;var d=t%n.length;return eK.createElement(`rect`,{key:`react-${t}`,x:e,y:a,width:u,height:s,stroke:`none`,fill:n[d],fillOpacity:r,className:`recharts-cartesian-grid-bg`})});return eK.createElement(`g`,{className:`recharts-cartesian-gridstripes-vertical`},u)}function $G(e){var t=ry(),n=iy(),r=ny(),i=YG(YG({},Pp(e,cK)),{},{x:K(e.x)?e.x:r.left,y:K(e.y)?e.y:r.top,width:K(e.width)?e.width:r.width,height:K(e.height)?e.height:r.height}),{xAxisId:a,yAxisId:o,x:s,y:c,width:l,height:u,syncWithTicks:d,horizontalValues:f,verticalValues:p}=i,m=wv(),h=J(e=>JM(e,`xAxis`,a,m)),g=J(e=>JM(e,`yAxis`,o,m));if(!E_(l)||!E_(u)||!K(s)||!K(c))return null;var _=i.verticalCoordinatesGenerator||oK,v=i.horizontalCoordinatesGenerator||sK,{horizontalPoints:y,verticalPoints:b}=i;if((!y||!y.length)&&typeof v==`function`){var x=f&&f.length,S=v({yAxis:g?YG(YG({},g),{},{ticks:x?f:g.ticks}):void 0,width:t??l,height:n??u,offset:r},x?!0:d);Av(Array.isArray(S),`horizontalCoordinatesGenerator should return Array but instead it returned [${typeof S}]`),Array.isArray(S)&&(y=S)}if((!b||!b.length)&&typeof _==`function`){var C=p&&p.length,w=_({xAxis:h?YG(YG({},h),{},{ticks:C?p:h.ticks}):void 0,width:t??l,height:n??u,offset:r},C?!0:d);Av(Array.isArray(w),`verticalCoordinatesGenerator should return Array but instead it returned [${typeof w}]`),Array.isArray(w)&&(b=w)}return eK.createElement(EF,{zIndex:i.zIndex},eK.createElement(`g`,{className:`recharts-cartesian-grid`},eK.createElement(aK,{fill:i.fill,fillOpacity:i.fillOpacity,x:i.x,y:i.y,width:i.width,height:i.height,ry:i.ry}),eK.createElement(Aue,XG({},i,{horizontalPoints:y})),eK.createElement(jue,XG({},i,{verticalPoints:b})),eK.createElement(Oue,XG({},i,{offset:r,horizontalPoints:y,xAxis:h,yAxis:g})),eK.createElement(kue,XG({},i,{offset:r,verticalPoints:b,xAxis:h,yAxis:g}))))}var eK,tK,nK,rK,iK,aK,oK,sK,cK,Mue=o((()=>{eK=u(f()),jv(),q(),nv(),DG(),qG(),py(),iN(),Y(),Tv(),Fp(),Wu(),D_(),kF(),QC(),tK=[`x1`,`y1`,`x2`,`y2`,`key`],nK=[`offset`],rK=[`xAxisId`,`yAxisId`],iK=[`xAxisId`,`yAxisId`],aK=e=>{var{fill:t}=e;if(!t||t===`none`)return null;var{fillOpacity:n,x:r,y:i,width:a,height:o,ry:s}=e;return eK.createElement(`rect`,{x:r,y:i,ry:s,width:a,height:o,stroke:`none`,fill:t,fillOpacity:n,className:`recharts-cartesian-grid-bg`})},oK=(e,t)=>{var{xAxis:n,width:r,height:i,offset:a}=e;return z_(EG(YG(YG(YG({},UG),n),{},{ticks:B_(n,!0),viewBox:{x:0,y:0,width:r,height:i}})),a.left,a.left+a.width,t)},sK=(e,t)=>{var{yAxis:n,width:r,height:i,offset:a}=e;return z_(EG(YG(YG(YG({},UG),n),{},{ticks:B_(n,!0),viewBox:{x:0,y:0,width:r,height:i}})),a.top,a.top+a.height,t)},cK={horizontal:!0,vertical:!0,horizontalPoints:[],verticalPoints:[],stroke:`#ccc`,fill:`none`,verticalFill:[],horizontalFill:[],xAxisId:0,yAxisId:0,syncWithTicks:!1,zIndex:ZC.grid},$G.displayName=`CartesianGrid`})),lK,Nue,Pue,Fue,uK,Iue=o((()=>{g_(),lK=Ig({name:`errorBars`,initialState:{},reducers:{addErrorBar:(e,t)=>{var{itemId:n,errorBar:r}=t.payload;e[n]||(e[n]=[]),e[n].push(r)},replaceErrorBar:(e,t)=>{var{itemId:n,prev:r,next:i}=t.payload;e[n]&&(e[n]=e[n].map(e=>e.dataKey===r.dataKey&&e.direction===r.direction?i:e))},removeErrorBar:(e,t)=>{var{itemId:n,errorBar:r}=t.payload;e[n]&&(e[n]=e[n].filter(e=>e.dataKey!==r.dataKey||e.direction!==r.direction))}}}),{addErrorBar:Nue,replaceErrorBar:Pue,removeErrorBar:Fue}=lK.actions,uK=lK.reducer}));function Lue(e,t){if(e==null)return{};var n,r,i=Rue(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function Rue(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function dK(e){var{children:t}=e,n=Lue(e,mK);return fK.createElement(hK.Provider,{value:n},t)}var fK,pK,mK,hK,gK=o((()=>{fK=u(f()),pK=u(f()),mK=[`children`],hK=(0,pK.createContext)({data:[],xAxisId:`xAxis-0`,yAxisId:`yAxis-0`,dataPointFormatter:()=>({x:0,y:0,value:0}),errorBarOffset:0})}));function _K(e,t){var n=J(t=>nj(t,e)),r=J(e=>aj(e,t)),i=n?.allowDataOverflow??ej.allowDataOverflow,a=r?.allowDataOverflow??rj.allowDataOverflow;return{needClip:i||a,needClipX:i,needClipY:a}}function vK(e){var{xAxisId:t,yAxisId:n,clipPathId:r}=e,i=UH(),{needClipX:a,needClipY:o,needClip:s}=_K(t,n);if(!s||!i)return null;var{x:c,y:l,width:u,height:d}=i;return yK.createElement(`clipPath`,{id:`clipPath-${r}`},yK.createElement(`rect`,{x:a?c:c-u/2,y:o?l:l-d/2,width:a?u:u*2,height:o?d:d*2}))}var yK,bK=o((()=>{yK=u(f()),Y(),iN(),GH()}));function zue(e){return e.type===`line`}var xK,SK,CK,wK,TK,EK,DK,OK,Bue=o((()=>{Dm(),YK(),xC(),py(),iN(),nv(),xK=(e,t,n,r)=>$M(e,`xAxis`,t,r),SK=(e,t,n,r)=>QM(e,`xAxis`,t,r),CK=(e,t,n,r)=>$M(e,`yAxis`,n,r),wK=(e,t,n,r)=>QM(e,`yAxis`,n,r),TK=X([Q,xK,CK,SK,wK],(e,t,n,r,i)=>R_(e,`xAxis`)?$_(t,r,!1):$_(n,i,!1)),EK=(e,t,n,r,i)=>i,DK=X([fj,EK],(e,t)=>e.filter(zue).find(e=>e.id===t)),OK=X([Q,xK,CK,SK,wK,DK,TK,gC],(e,t,n,r,i,a,o,s)=>{var{chartData:c,dataStartIndex:l,dataEndIndex:u}=s;if(!(a==null||t==null||n==null||r==null||i==null||r.length===0||i.length===0||o==null||e!==`horizontal`&&e!==`vertical`)){var{dataKey:d,data:f}=a,p=f!=null&&f.length>0?f:c?.slice(l,u+1);if(p!=null)return Que({layout:e,xAxis:t,yAxis:n,xAxisTicks:r,yAxisTicks:i,dataKey:d,bandSize:o,displayedData:p})}})}));function kK(e){var t=Vu(e),n=3,r=2;if(t!=null){var{r:i,strokeWidth:a}=t,o=Number(i),s=Number(a);return(Number.isNaN(o)||o<0)&&(o=n),(Number.isNaN(s)||s<0)&&(s=r),{r:o,strokeWidth:s}}return{r:n,strokeWidth:r}}var AK=o((()=>{Wu()}));function jK(){return jK=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},jK.apply(null,arguments)}function MK(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function NK(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?MK(Object(n),!0).forEach(function(t){Vue(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):MK(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Vue(e,t,n){return(t=Hue(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Hue(e){var t=Uue(e,`string`);return typeof t==`symbol`?t:t+``}function Uue(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function PK(e,t){if(e==null)return{};var n,r,i=Wue(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function Wue(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function Gue(e,t){for(var n=e.length%2==0?e:[...e,0],r=[],i=0;i<t;++i)r.push(...n);return r}function Kue(e){var{clipPathId:t,points:n,props:r}=e,{dot:i,dataKey:a,needClip:o}=r,{id:s}=r,c=Bu(PK(r,RK));return IK.createElement(xH,{points:n,dot:i,className:`recharts-line-dots`,dotClassName:`recharts-line-dot`,dataKey:a,baseProps:c,needClip:o,clipPathId:t})}function que(e){var{showLabels:t,children:n,points:r}=e,i=(0,LK.useMemo)(()=>r?.map(e=>{var t={x:e.x??0,y:e.y??0,width:0,lowerWidth:0,upperWidth:0,height:0};return NK(NK({},t),{},{value:e.value,payload:e.payload,viewBox:t,parentViewBox:void 0,fill:void 0})}),[r]);return IK.createElement(lR,{value:t?i:void 0},n)}function FK(e){var{clipPathId:t,pathRef:n,points:r,strokeDasharray:i,props:a}=e,{type:o,layout:s,connectNulls:c,needClip:l,shape:u}=a,d=NK(NK({},Gu(PK(a,zK))),{},{fill:`none`,className:`recharts-line-curve`,clipPath:l?`url(#clipPath-${t})`:void 0,points:r,type:o,layout:s,connectNulls:c,strokeDasharray:i??a.strokeDasharray});return IK.createElement(IK.Fragment,null,r?.length>1&&IK.createElement(LB,jK({shapeType:`curve`,option:u},d,{pathRef:n})),IK.createElement(Kue,{points:r,clipPathId:t,props:a}))}function Jue(e){try{return e&&e.getTotalLength&&e.getTotalLength()||0}catch{return 0}}function Yue(e){var{clipPathId:t,props:n,pathRef:r,previousPointsRef:i,longestAnimatedLengthRef:a}=e,{points:o,strokeDasharray:s,isAnimationActive:c,animationBegin:l,animationDuration:u,animationEasing:d,animateNewValues:f,width:p,height:m,onAnimationEnd:h,onAnimationStart:g}=n,_=i.current,v=xS(o,`recharts-line-`),y=(0,LK.useRef)(v),[b,x]=(0,LK.useState)(!1),S=!b,C=(0,LK.useCallback)(()=>{typeof h==`function`&&h(),x(!1)},[h]),w=(0,LK.useCallback)(()=>{typeof g==`function`&&g(),x(!0)},[g]),T=Jue(r.current),E=(0,LK.useRef)(0);y.current!==v&&(E.current=a.current,y.current=v);var D=E.current;return IK.createElement(que,{points:o,showLabels:S},n.children,IK.createElement(hS,{animationId:v,begin:l,duration:u,isActive:c,easing:d,onAnimationEnd:C,onAnimationStart:w,key:v},e=>{var l=G(D,T+D,e),u=Math.min(l,T),d=c?s?WK(u,T,`${s}`.split(/[,\\s]+/gim).map(e=>parseFloat(e))):UK(T,u):s==null?void 0:String(s);if(e>0&&T>0&&(i.current=o,a.current=Math.max(a.current,u)),_){var h=_.length/o.length,g=e===1?o:o.map((t,n)=>{var r=Math.floor(n*h);if(_[r]){var i=_[r];return NK(NK({},t),{},{x:G(i.x,t.x,e),y:G(i.y,t.y,e)})}return f?NK(NK({},t),{},{x:G(p*2,t.x,e),y:G(m/2,t.y,e)}):NK(NK({},t),{},{x:t.x,y:t.y})});return i.current=g,IK.createElement(FK,{props:n,points:g,clipPathId:t,pathRef:r,strokeDasharray:d})}return IK.createElement(FK,{props:n,points:o,clipPathId:t,pathRef:r,strokeDasharray:d})}),IK.createElement(nR,{label:n.label}))}function Xue(e){var{clipPathId:t,props:n}=e,r=(0,LK.useRef)(null),i=(0,LK.useRef)(0),a=(0,LK.useRef)(null);return IK.createElement(Yue,{props:n,clipPathId:t,previousPointsRef:r,longestAnimatedLengthRef:i,pathRef:a})}function Zue(e){var t=Pp(e,qK),{activeDot:n,animateNewValues:r,animationBegin:i,animationDuration:a,animationEasing:o,connectNulls:s,dot:c,hide:l,isAnimationActive:u,label:d,legendType:f,xAxisId:p,yAxisId:m,id:h}=t,g=PK(t,BK),{needClip:_}=_K(p,m),v=UH(),y=oy(),b=wv(),x=J(e=>OK(e,p,m,b,h));if(y!==`horizontal`&&y!==`vertical`||x==null||v==null)return null;var{height:S,width:C,x:w,y:T}=v;return IK.createElement(KK,jK({},g,{id:h,connectNulls:s,dot:c,activeDot:n,animateNewValues:r,animationBegin:i,animationDuration:a,animationEasing:o,isAnimationActive:u,hide:l,label:d,legendType:f,xAxisId:p,yAxisId:m,points:x,layout:y,height:S,width:C,left:w,top:T,needClip:_}))}function Que(e){var{layout:t,xAxis:n,yAxis:r,xAxisTicks:i,yAxisTicks:a,dataKey:o,bandSize:s,displayedData:c}=e;return c.map((e,c)=>{var l=A_(e,o);if(t===`horizontal`)return{x:M_({axis:n,ticks:i,bandSize:s,entry:e,index:c}),y:(fp(l)?null:r.scale.map(l))??null,value:l,payload:e};var u=fp(l)?null:n.scale.map(l),d=M_({axis:r,ticks:a,bandSize:s,entry:e,index:c});return u==null||d==null?null:{x:u,y:d,value:l,payload:e}}).filter(Boolean)}function $ue(e){var t=Pp(e,qK),n=wv();return IK.createElement(lV,{id:t.id,type:`line`},e=>IK.createElement(IK.Fragment,null,IK.createElement(XB,{legendPayload:VK(t)}),IK.createElement(HK,{dataKey:t.dataKey,data:t.data,stroke:t.stroke,strokeWidth:t.strokeWidth,fill:t.fill,name:t.name,hide:t.hide,unit:t.unit,tooltipType:t.tooltipType,id:e}),IK.createElement(SV,{type:`line`,id:e,data:t.data,xAxisId:t.xAxisId,yAxisId:t.yAxisId,zAxisId:0,dataKey:t.dataKey,hide:t.hide,isPanorama:n}),IK.createElement(Zue,jK({},t,{id:e}))))}var IK,LK,RK,zK,BK,VK,HK,UK,WK,GK,KK,qK,JK,YK=o((()=>{IK=u(f()),LK=u(f()),Pu(),id(),fR(),TH(),q(),SB(),nv(),QH(),YB(),gK(),bK(),py(),Tv(),Bue(),Y(),$B(),CS(),Fp(),GH(),uV(),TV(),Wu(),bS(),qu(),AK(),HB(),kF(),QC(),jb(),RK=[`id`],zK=[`type`,`layout`,`connectNulls`,`needClip`,`shape`],BK=[`activeDot`,`animateNewValues`,`animationBegin`,`animationDuration`,`animationEasing`,`connectNulls`,`dot`,`hide`,`isAnimationActive`,`label`,`legendType`,`xAxisId`,`yAxisId`,`id`],VK=e=>{var{dataKey:t,name:n,stroke:r,legendType:i,hide:a}=e;return[{inactive:a,dataKey:t,type:i,color:r,value:P_(n,t),payload:e}]},HK=IK.memo(e=>{var{dataKey:t,data:n,stroke:r,strokeWidth:i,fill:a,name:o,hide:s,unit:c,tooltipType:l,id:u}=e,d={dataDefinedOnItem:n,getPosition:tp,settings:{stroke:r,strokeWidth:i,fill:a,dataKey:t,nameKey:void 0,name:P_(o,t),hide:s,type:l,color:r,unit:c,graphicalItemId:u}};return IK.createElement(qB,{tooltipEntrySettings:d})}),UK=(e,t)=>`${t}px ${e}px`,WK=(e,t,n)=>{var r=n.reduce((e,t)=>e+t,0);if(!r)return UK(t,e);for(var i=Math.floor(e/r),a=e%r,o=[],s=0,c=0;s<n.length;c+=(l=n[s])??0,++s){var l,u=n[s];if(u!=null&&c+u>a){o=[...n.slice(0,s),a-c];break}}var d=o.length%2==0?[0,t]:[t];return[...Gue(n,i),...o,...d].map(e=>`${e}px`).join(`, `)},GK=(e,t)=>({x:e.x??void 0,y:e.y??void 0,value:e.value,errorVal:A_(e.payload,t)}),KK=class extends LK.Component{render(){var{hide:e,dot:t,points:n,className:r,xAxisId:i,yAxisId:a,top:o,left:s,width:c,height:l,id:u,needClip:d,zIndex:f}=this.props;if(e)return null;var p=U(`recharts-line`,r),m=u,{r:h,strokeWidth:g}=kK(t),_=xB(t),v=h*2+g,y=d?`url(#clipPath-${_?``:`dots-`}${m})`:void 0;return IK.createElement(EF,{zIndex:f},IK.createElement(W,{className:p},d&&IK.createElement(`defs`,null,IK.createElement(vK,{clipPathId:m,xAxisId:i,yAxisId:a}),!_&&IK.createElement(`clipPath`,{id:`clipPath-dots-${m}`},IK.createElement(`rect`,{x:s-v/2,y:o-v/2,width:c+v,height:l+v}))),IK.createElement(dK,{xAxisId:i,yAxisId:a,data:n,dataPointFormatter:GK,errorBarOffset:0},IK.createElement(Xue,{props:this.props,clipPathId:m}))),IK.createElement(JH,{activeDot:this.props.activeDot,points:n,mainColor:this.props.stroke,itemDataKey:this.props.dataKey,clipPath:y}))}},qK={activeDot:!0,animateNewValues:!0,animationBegin:0,animationDuration:1500,animationEasing:`ease`,connectNulls:!1,dot:!0,fill:`#fff`,hide:!1,isAnimationActive:`auto`,label:!1,legendType:`line`,stroke:`#3182bd`,strokeWidth:1,xAxisId:0,yAxisId:0,zIndex:ZC.line,type:`linear`},JK=IK.memo($ue,kb),JK.displayName=`Line`}));function XK(e,t){return e.graphicalItems.cartesianItems.find(e=>e.id===t)?.xAxisId??0}function ZK(e,t){return e.graphicalItems.cartesianItems.find(e=>e.id===t)?.yAxisId??0}var QK=o((()=>{BH()})),$K,eq,tq,nq,rq,iq,aq,oq,sq,cq,lq,uq,ede=o((()=>{Dm(),Dq(),iN(),py(),xC(),nv(),jw(),XC(),QK(),$K=(e,t,n)=>$M(e,`xAxis`,XK(e,t),n),eq=(e,t,n)=>QM(e,`xAxis`,XK(e,t),n),tq=(e,t,n)=>$M(e,`yAxis`,ZK(e,t),n),nq=(e,t,n)=>QM(e,`yAxis`,ZK(e,t),n),rq=X([Q,$K,tq,eq,nq],(e,t,n,r,i)=>R_(e,`xAxis`)?$_(t,r,!1):$_(n,i,!1)),iq=(e,t)=>t,aq=X([fj,iq],(e,t)=>e.filter(e=>e.type===`area`).find(e=>e.id===t)),oq=e=>R_(Q(e),`xAxis`)?`yAxis`:`xAxis`,sq=(e,t)=>oq(e)===`yAxis`?ZK(e,t):XK(e,t),cq=(e,t,n)=>Mj(e,oq(e),sq(e,t),n),lq=X([aq,cq],(e,t)=>{if(!(e==null||t==null)){var{stackId:n}=e,r=Aw(e);if(!(n==null||r==null)){var i=(t[n]?.stackedData)?.find(e=>e.key===r);if(i!=null)return i.map(e=>[e[0],e[1]])}}}),uq=X([Q,$K,tq,eq,nq,lq,_C,rq,aq,YC],(e,t,n,r,i,a,o,s,c,l)=>{var{chartData:u,dataStartIndex:d,dataEndIndex:f}=o;if(!(c==null||e!==`horizontal`&&e!==`vertical`||t==null||n==null||r==null||i==null||r.length===0||i.length===0||s==null)){var{data:p}=c,m=p&&p.length>0?p:u?.slice(d,f+1);if(m!=null)return pde({layout:e,xAxis:t,yAxis:n,xAxisTicks:r,yAxisTicks:i,dataStartIndex:d,areaSettings:c,stackedData:a,displayedData:m,chartBaseValue:l,bandSize:s})}})}));function dq(){return dq=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},dq.apply(null,arguments)}function fq(e,t){if(e==null)return{};var n,r,i=tde(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function tde(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function pq(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function mq(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?pq(Object(n),!0).forEach(function(t){nde(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):pq(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function nde(e,t,n){return(t=rde(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function rde(e){var t=ide(e,`string`);return typeof t==`symbol`?t:t+``}function ide(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function hq(e,t){return e&&e!==`none`?e:t}function ade(e){var{clipPathId:t,points:n,props:r}=e,{needClip:i,dot:a,dataKey:o}=r,s=Bu(r);return _q.createElement(xH,{points:n,dot:a,className:`recharts-area-dots`,dotClassName:`recharts-area-dot`,dataKey:o,baseProps:s,needClip:i,clipPathId:t})}function ode(e){var{showLabels:t,children:n,points:r}=e,i=r.map(e=>{var t={x:e.x??0,y:e.y??0,width:0,lowerWidth:0,upperWidth:0,height:0};return mq(mq({},t),{},{value:e.value,payload:e.payload,parentViewBox:void 0,viewBox:t,fill:void 0})});return _q.createElement(lR,{value:t?i:void 0},n)}function gq(e){var{points:t,baseLine:n,needClip:r,clipPathId:i,props:a}=e,{layout:o,type:s,stroke:c,connectNulls:l,isRange:u}=a,{id:d}=a,f=fq(a,yq),p=Bu(f),m=Gu(f);return _q.createElement(_q.Fragment,null,t?.length>1&&_q.createElement(W,{clipPath:r?`url(#clipPath-${i})`:void 0},_q.createElement(Mx,dq({},m,{id:d,points:t,connectNulls:l,type:s,baseLine:n,layout:o,stroke:`none`,className:`recharts-area-area`})),c!==`none`&&_q.createElement(Mx,dq({},p,{className:`recharts-area-curve`,layout:o,type:s,connectNulls:l,fill:`none`,points:t})),c!==`none`&&u&&Array.isArray(n)&&_q.createElement(Mx,dq({},p,{className:`recharts-area-curve`,layout:o,type:s,connectNulls:l,fill:`none`,points:n}))),_q.createElement(ade,{points:t,props:f,clipPathId:i}))}function sde(e){var{alpha:t,baseLine:n,points:r,strokeWidth:i}=e,a=r[0]?.y,o=r[r.length-1]?.y;if(!Z(a)||!Z(o))return null;var s=t*Math.abs(a-o),c=Math.max(...r.map(e=>e.x||0));return K(n)?c=Math.max(n,c):n&&Array.isArray(n)&&n.length&&(c=Math.max(...n.map(e=>e.x||0),c)),K(c)?_q.createElement(`rect`,{x:0,y:a<o?a:a-s,width:c+(i?parseInt(`${i}`,10):1),height:Math.floor(s)}):null}function cde(e){var{alpha:t,baseLine:n,points:r,strokeWidth:i}=e,a=r[0]?.x,o=r[r.length-1]?.x;if(!Z(a)||!Z(o))return null;var s=t*Math.abs(a-o),c=Math.max(...r.map(e=>e.y||0));return K(n)?c=Math.max(n,c):n&&Array.isArray(n)&&n.length&&(c=Math.max(...n.map(e=>e.y||0),c)),K(c)?_q.createElement(`rect`,{x:a<o?a:a-s,y:0,width:s,height:Math.floor(c+(i?parseInt(`${i}`,10):1))}):null}function lde(e){var{alpha:t,layout:n,points:r,baseLine:i,strokeWidth:a}=e;return n===`vertical`?_q.createElement(sde,{alpha:t,points:r,baseLine:i,strokeWidth:a}):_q.createElement(cde,{alpha:t,points:r,baseLine:i,strokeWidth:a})}function ude(e){var{needClip:t,clipPathId:n,props:r,previousPointsRef:i,previousBaselineRef:a}=e,{points:o,baseLine:s,isAnimationActive:c,animationBegin:l,animationDuration:u,animationEasing:d,onAnimationStart:f,onAnimationEnd:p}=r,m=xS((0,vq.useMemo)(()=>({points:o,baseLine:s}),[o,s]),`recharts-area-`),h=sy(),[g,_]=(0,vq.useState)(!1),v=!g,y=(0,vq.useCallback)(()=>{typeof p==`function`&&p(),_(!1)},[p]),b=(0,vq.useCallback)(()=>{typeof f==`function`&&f(),_(!0)},[f]);if(h==null)return null;var x=i.current,S=a.current;return _q.createElement(ode,{showLabels:v,points:o},r.children,_q.createElement(hS,{animationId:m,begin:l,duration:u,isActive:c,easing:d,onAnimationEnd:y,onAnimationStart:b,key:m},e=>{if(x){var l=x.length/o.length,u=e===1?o:o.map((t,n)=>{var r=Math.floor(n*l);if(x[r]){var i=x[r];return mq(mq({},t),{},{x:G(i.x,t.x,e),y:G(i.y,t.y,e)})}return t}),d=K(s)?G(S,s,e):fp(s)||ip(s)?G(S,0,e):s.map((t,n)=>{var r=Math.floor(n*l);if(Array.isArray(S)&&S[r]){var i=S[r];return mq(mq({},t),{},{x:G(i.x,t.x,e),y:G(i.y,t.y,e)})}return t});return e>0&&(i.current=u,a.current=d),_q.createElement(gq,{points:u,baseLine:d,needClip:t,clipPathId:n,props:r})}return e>0&&(i.current=o,a.current=s),_q.createElement(W,null,c&&_q.createElement(`defs`,null,_q.createElement(`clipPath`,{id:`animationClipPath-${n}`},_q.createElement(lde,{alpha:e,points:o,baseLine:s,layout:h,strokeWidth:r.strokeWidth}))),_q.createElement(W,{clipPath:`url(#animationClipPath-${n})`},_q.createElement(gq,{points:o,baseLine:s,needClip:t,clipPathId:n,props:r})))}),_q.createElement(nR,{label:r.label}))}function dde(e){var{needClip:t,clipPathId:n,props:r}=e,i=(0,vq.useRef)(null),a=(0,vq.useRef)();return _q.createElement(ude,{needClip:t,clipPathId:n,props:r,previousPointsRef:i,previousBaselineRef:a})}function fde(e){var{activeDot:t,animationBegin:n,animationDuration:r,animationEasing:i,connectNulls:a,dot:o,fill:s,fillOpacity:c,hide:l,isAnimationActive:u,legendType:d,stroke:f,xAxisId:p,yAxisId:m}=e,h=fq(e,bq),g=oy(),_=JP(),{needClip:v}=_K(p,m),y=wv(),{points:b,isRange:x,baseLine:S}=J(t=>uq(t,e.id,y))??{},C=UH();if(g!==`horizontal`&&g!==`vertical`||C==null||_!==`AreaChart`&&_!==`ComposedChart`)return null;var{height:w,width:T,x:E,y:D}=C;return!b||!b.length?null:_q.createElement(Cq,dq({},h,{activeDot:t,animationBegin:n,animationDuration:r,animationEasing:i,baseLine:S,connectNulls:a,dot:o,fill:s,fillOpacity:c,height:w,hide:l,layout:g,isAnimationActive:u,isRange:x,legendType:d,needClip:v,points:b,stroke:f,width:T,left:E,top:D,xAxisId:p,yAxisId:m}))}function pde(e){var{areaSettings:{connectNulls:t,baseValue:n,dataKey:r},stackedData:i,layout:a,chartBaseValue:o,xAxis:s,yAxis:c,displayedData:l,dataStartIndex:u,xAxisTicks:d,yAxisTicks:f,bandSize:p}=e,m=i&&i.length,h=Tq(a,o,n,s,c),g=a===`horizontal`,_=!1,v=l.map((e,n)=>{var a;if(m)a=i[u+n];else{var o=A_(e,r);Array.isArray(o)?(a=o,_=!0):a=[h,o]}var l=a?.[1]??null,v=l==null||m&&!t&&A_(e,r)==null;return g?{x:M_({axis:s,ticks:d,bandSize:p,entry:e,index:n}),y:v?null:c.scale.map(l)??null,value:a,payload:e}:{x:v?null:s.scale.map(l)??null,y:M_({axis:c,ticks:f,bandSize:p,entry:e,index:n}),value:a,payload:e}});return{points:v,baseLine:(m||_?v.map(e=>{var t=Array.isArray(e.value)?e.value[0]:null;return g?{x:e.x,y:t!=null&&e.y!=null?c.scale.map(t)??null:null,payload:e.payload}:{x:t==null?null:s.scale.map(t)??null,y:e.y,payload:e.payload}}):g?c.scale.map(h):s.scale.map(h))??0,isRange:_}}function mde(e){var t=Pp(e,wq),n=wv();return _q.createElement(lV,{id:t.id,type:`area`},e=>_q.createElement(_q.Fragment,null,_q.createElement(XB,{legendPayload:xq(t)}),_q.createElement(Sq,{dataKey:t.dataKey,data:t.data,stroke:t.stroke,strokeWidth:t.strokeWidth,fill:t.fill,name:t.name,hide:t.hide,unit:t.unit,tooltipType:t.tooltipType,id:e}),_q.createElement(SV,{type:`area`,id:e,data:t.data,dataKey:t.dataKey,xAxisId:t.xAxisId,yAxisId:t.yAxisId,zAxisId:0,stackId:j_(t.stackId),hide:t.hide,barSize:void 0,baseValue:t.baseValue,isPanorama:n,connectNulls:t.connectNulls}),_q.createElement(fde,dq({},t,{id:e}))))}var _q,vq,yq,bq,xq,Sq,Cq,wq,Tq,Eq,Dq=o((()=>{_q=u(f()),vq=u(f()),Pu(),Nx(),id(),fR(),TH(),q(),nv(),SB(),QH(),YB(),bK(),ede(),Tv(),py(),dF(),$B(),Y(),CS(),Fp(),D_(),GH(),uV(),TV(),Wu(),bS(),AK(),qu(),kF(),QC(),jb(),yq=[`id`],bq=[`activeDot`,`animationBegin`,`animationDuration`,`animationEasing`,`connectNulls`,`dot`,`fill`,`fillOpacity`,`hide`,`isAnimationActive`,`legendType`,`stroke`,`xAxisId`,`yAxisId`],xq=e=>{var{dataKey:t,name:n,stroke:r,fill:i,legendType:a,hide:o}=e;return[{inactive:o,dataKey:t,type:a,color:hq(r,i),value:P_(n,t),payload:e}]},Sq=_q.memo(e=>{var{dataKey:t,data:n,stroke:r,strokeWidth:i,fill:a,name:o,hide:s,unit:c,tooltipType:l,id:u}=e,d={dataDefinedOnItem:n,getPosition:tp,settings:{stroke:r,strokeWidth:i,fill:a,dataKey:t,nameKey:void 0,name:P_(o,t),hide:s,type:l,color:hq(r,a),unit:c,graphicalItemId:u}};return _q.createElement(qB,{tooltipEntrySettings:d})}),Cq=class extends vq.PureComponent{render(){var{hide:e,dot:t,points:n,className:r,top:i,left:a,needClip:o,xAxisId:s,yAxisId:c,width:l,height:u,id:d,baseLine:f,zIndex:p}=this.props;if(e)return null;var m=U(`recharts-area`,r),h=d,{r:g,strokeWidth:_}=kK(t),v=xB(t),y=g*2+_,b=o?`url(#clipPath-${v?``:`dots-`}${h})`:void 0;return _q.createElement(EF,{zIndex:p},_q.createElement(W,{className:m},o&&_q.createElement(`defs`,null,_q.createElement(vK,{clipPathId:h,xAxisId:s,yAxisId:c}),!v&&_q.createElement(`clipPath`,{id:`clipPath-dots-${h}`},_q.createElement(`rect`,{x:a-y/2,y:i-y/2,width:l+y,height:u+y}))),_q.createElement(dde,{needClip:o,clipPathId:h,props:this.props})),_q.createElement(JH,{points:n,mainColor:hq(this.props.stroke,this.props.fill),itemDataKey:this.props.dataKey,activeDot:this.props.activeDot,clipPath:b}),this.props.isRange&&Array.isArray(f)&&_q.createElement(JH,{points:f,mainColor:hq(this.props.stroke,this.props.fill),itemDataKey:this.props.dataKey,activeDot:this.props.activeDot,clipPath:b}))}},wq={activeDot:!0,animationBegin:0,animationDuration:1500,animationEasing:`ease`,connectNulls:!1,dot:!1,fill:`#3182bd`,fillOpacity:.6,hide:!1,isAnimationActive:`auto`,legendType:`line`,stroke:`#3182bd`,strokeWidth:1,type:`linear`,label:!1,xAxisId:0,yAxisId:0,zIndex:ZC.area},Tq=(e,t,n,r,i)=>{var a=n??t;if(K(a))return a;var o=e===`horizontal`?i:r,s=o.scale.domain();if(o.type===`number`){var c=Math.max(s[0],s[1]),l=Math.min(s[0],s[1]);return a===`dataMin`?l:a===`dataMax`||c<0?c:Math.max(Math.min(s[0],s[1]),0)}return a===`dataMin`?s[0]:a===`dataMax`?s[1]:s[0]},Eq=_q.memo(mde,kb),Eq.displayName=`Area`}));function hde(e,t){if(!e){if(Oq)throw Error(kq);var n=typeof t==`function`?t():t,r=n?`${kq}: ${n}`:kq;throw Error(r)}}var Oq,kq,gde=o((()=>{Oq=!0,kq=`Invariant failed`}));function Aq(){return Aq=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Aq.apply(null,arguments)}function jq(e){return Mq.createElement(LB,Aq({shapeType:`rectangle`,activeClassName:`recharts-active-bar`,inActiveClassName:`recharts-inactive-bar`},e))}var Mq,Nq,_de=o((()=>{Mq=u(f()),gde(),HB(),q(),Nq=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return(n,r)=>{if(K(e))return e;var i=K(n)||fp(n);return i?e(n,r):(!i&&hde(!1,`minPointSize callback function received a value with type of ${typeof n}. Currently only numbers or null/undefined are supported.`),t)}}})),Pq,Fq,Iq,Lq,Rq,zq,Bq,Vq,Hq,Uq,Wq,Gq,Kq,qq,Jq,Yq,Xq,Zq,Qq,vde=o((()=>{Dm(),iN(),q(),nv(),EJ(),py(),xC(),xv(),XC(),PU(),RU(),BU(),QK(),HU(),Pq=(e,t,n)=>n,Fq=(e,t)=>t,Iq=X([fj,Fq],(e,t)=>e.filter(e=>e.type===`bar`).find(e=>e.id===t)),Lq=X([Iq],e=>e?.maxBarSize),Rq=(e,t,n,r)=>r,zq=X([Q,fj,XK,ZK,Pq],(e,t,n,r,i)=>t.filter(t=>e===`horizontal`?t.xAxisId===n:t.yAxisId===r).filter(e=>e.isPanorama===i).filter(e=>e.hide===!1).filter(e=>e.type===`bar`)),Bq=(e,t,n)=>{var r=Q(e),i=XK(e,t),a=ZK(e,t);if(!(i==null||a==null))return r===`horizontal`?Mj(e,`yAxis`,a,n):Mj(e,`xAxis`,i,n)},Vq=(e,t)=>{var n=Q(e),r=XK(e,t),i=ZK(e,t);if(!(r==null||i==null))return n===`horizontal`?GM(e,`xAxis`,r):GM(e,`yAxis`,i)},Hq=X([zq,HC,Vq],NU),Uq=(e,t,n)=>{var r=Iq(e,t);if(r==null)return 0;var i=XK(e,t),a=ZK(e,t);if(i==null||a==null)return 0;var o=Q(e),s=zC(e),{maxBarSize:c}=r,l=fp(c)?s:c,u,d;return o===`horizontal`?(u=$M(e,`xAxis`,i,n),d=QM(e,`xAxis`,i,n)):(u=$M(e,`yAxis`,a,n),d=QM(e,`yAxis`,a,n)),$_(u,d,!0)??l??0},Wq=(e,t,n)=>{var r=Q(e),i=XK(e,t),a=ZK(e,t);if(!(i==null||a==null)){var o,s;return r===`horizontal`?(o=$M(e,`xAxis`,i,n),s=QM(e,`xAxis`,i,n)):(o=$M(e,`yAxis`,a,n),s=QM(e,`yAxis`,a,n)),$_(o,s)}},Gq=X([Hq,zC,BC,VC,Uq,Wq,Lq],LU),Kq=(e,t,n)=>{var r=XK(e,t);if(r!=null)return $M(e,`xAxis`,r,n)},qq=(e,t,n)=>{var r=ZK(e,t);if(r!=null)return $M(e,`yAxis`,r,n)},Jq=(e,t,n)=>{var r=XK(e,t);if(r!=null)return QM(e,`xAxis`,r,n)},Yq=(e,t,n)=>{var r=ZK(e,t);if(r!=null)return QM(e,`yAxis`,r,n)},Xq=X([Gq,Iq],VU),Zq=X([Bq,Iq],zU),Qq=X([vv,bv,Kq,qq,Jq,Yq,Xq,Q,_C,Wq,Zq,Iq,Rq],(e,t,n,r,i,a,o,s,c,l,u,d,f)=>{var{chartData:p,dataStartIndex:m,dataEndIndex:h}=c;if(!(d==null||o==null||t==null||s!==`horizontal`&&s!==`vertical`||n==null||r==null||i==null||a==null||l==null)){var{data:g}=d,_=g!=null&&g.length>0?g:p?.slice(m,h+1);if(_!=null)return Nde({layout:s,barSettings:d,pos:o,parentViewBox:t,bandSize:l,xAxis:n,yAxis:r,xAxisTicks:i,yAxisTicks:a,stackedData:u,displayedData:_,offset:e,cells:f,dataStartIndex:m})}})}));function $q(){return $q=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},$q.apply(null,arguments)}function yde(e,t){if(e==null)return{};var n,r,i=bde(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function bde(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}var eJ,tJ,nJ,rJ,iJ,aJ,oJ,sJ,cJ=o((()=>{eJ=u(f()),tJ=u(f()),nv(),id(),nJ=[`index`],rJ=(0,tJ.createContext)(void 0),iJ=e=>{var t=(0,tJ.useContext)(rJ);if(t!=null)return t.stackId;if(e!=null)return j_(e)},aJ=(e,t)=>`recharts-bar-stack-clip-path-${e}-${t}`,oJ=e=>{var t=(0,tJ.useContext)(rJ);if(t!=null){var{stackId:n}=t;return`url(#${aJ(n,e)})`}},sJ=e=>{var{index:t}=e,n=yde(e,nJ),r=oJ(t);return eJ.createElement(W,$q({className:`recharts-bar-stack-layer`,clipPath:r},n))}}));function lJ(){return lJ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},lJ.apply(null,arguments)}function uJ(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function dJ(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?uJ(Object(n),!0).forEach(function(t){xde(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):uJ(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function xde(e,t,n){return(t=Sde(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Sde(e){var t=Cde(e,`string`);return typeof t==`symbol`?t:t+``}function Cde(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function fJ(e,t){if(e==null)return{};var n,r,i=wde(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function wde(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function Tde(e){var t=J(DP),{data:n,dataKey:r,background:i,allOtherBarProps:a}=e,{onMouseEnter:o,onMouseLeave:s,onClick:c}=a,l=fJ(a,hJ),u=UB(o,r,a.id),d=WB(s),f=GB(c,r,a.id);if(!i||n==null)return null;var p=Vu(i);return pJ.createElement(EF,{zIndex:bW(i,ZC.barBackground)},n.map((e,n)=>{var{value:a,background:o,tooltipPosition:s}=e,c=fJ(e,gJ);if(!o)return null;var m=u(e,n),h=d(e,n),g=f(e,n),_=dJ(dJ(dJ(dJ(dJ({option:i,isActive:String(n)===t},c),{},{fill:`#eee`},o),p),Ap(l,e,n)),{},{onMouseEnter:m,onMouseLeave:h,onClick:g,dataKey:r,index:n,className:`recharts-bar-background-rectangle`});return pJ.createElement(jq,lJ({key:`background-bar-${n}`},_))}))}function Ede(e){var{showLabels:t,children:n,rects:r}=e,i=r?.map(e=>{var t={x:e.x,y:e.y,width:e.width,lowerWidth:e.width,upperWidth:e.width,height:e.height};return dJ(dJ({},t),{},{value:e.value,payload:e.payload,parentViewBox:e.parentViewBox,viewBox:t,fill:e.fill})});return pJ.createElement(lR,{value:t?i:void 0},n)}function Dde(e){var{shape:t,activeBar:n,baseProps:r,entry:i,index:a,dataKey:o}=e,s=J(DP),c=J(kP),l=n&&String(i.originalDataIndex)===s&&(c==null||o===c),[u,d]=(0,mJ.useState)(!1),[f,p]=(0,mJ.useState)(!1);(0,mJ.useEffect)(()=>{var e;return l?(d(!0),e=requestAnimationFrame(()=>{p(!0)})):p(!1),()=>{cancelAnimationFrame(e)}},[l]);var m=(0,mJ.useCallback)(()=>{l||d(!1)},[l]),h=l&&f,g=l||u,_=l?n===!0?t:n:t,v=pJ.createElement(jq,lJ({},r,{name:String(r.name)},i,{isActive:h,option:_,index:a,dataKey:o,onTransitionEnd:m}));return g?pJ.createElement(EF,{zIndex:ZC.activeBar},pJ.createElement(sJ,{index:i.originalDataIndex},v)):v}function Ode(e){var{shape:t,baseProps:n,entry:r,index:i,dataKey:a}=e;return pJ.createElement(jq,lJ({},n,{name:String(n.name)},r,{isActive:!1,option:t,index:i,dataKey:a}))}function kde(e){var{data:t,props:n}=e,r=Bu(n)??{},{id:i}=r,a=fJ(r,_J),{shape:o,dataKey:s,activeBar:c}=n,{onMouseEnter:l,onClick:u,onMouseLeave:d}=n,f=fJ(n,vJ),p=UB(l,s,i),m=WB(d),h=GB(u,s,i);return t?pJ.createElement(pJ.Fragment,null,t.map((e,t)=>pJ.createElement(sJ,lJ({index:e.originalDataIndex,key:`rectangle-${e?.x}-${e?.y}-${e?.value}-${t}`,className:`recharts-bar-rectangle`},Ap(f,e,t),{onMouseEnter:p(e,t),onMouseLeave:m(e,t),onClick:h(e,t)}),c?pJ.createElement(Dde,{shape:o,activeBar:c,baseProps:a,entry:e,index:t,dataKey:s}):pJ.createElement(Ode,{shape:o,baseProps:a,entry:e,index:t,dataKey:s})))):null}function Ade(e){var{props:t,previousRectanglesRef:n}=e,{data:r,layout:i,isAnimationActive:a,animationBegin:o,animationDuration:s,animationEasing:c,onAnimationEnd:l,onAnimationStart:u}=t,d=n.current,f=xS(t,`recharts-bar-`),[p,m]=(0,mJ.useState)(!1),h=!p,g=(0,mJ.useCallback)(()=>{typeof l==`function`&&l(),m(!1)},[l]),_=(0,mJ.useCallback)(()=>{typeof u==`function`&&u(),m(!0)},[u]);return pJ.createElement(Ede,{showLabels:h,rects:r},pJ.createElement(hS,{animationId:f,begin:o,duration:s,isActive:a,easing:c,onAnimationEnd:g,onAnimationStart:_,key:f},e=>{var a=e===1?r:r?.map((t,n)=>{var r=d&&d[n];if(r)return dJ(dJ({},t),{},{x:G(r.x,t.x,e),y:G(r.y,t.y,e),width:G(r.width,t.width,e),height:G(r.height,t.height,e)});if(i===`horizontal`){var a=G(0,t.height,e),o=G(t.stackedBarStart,t.y,e);return dJ(dJ({},t),{},{y:o,height:a})}var s=G(0,t.width,e),c=G(t.stackedBarStart,t.x,e);return dJ(dJ({},t),{},{width:s,x:c})});return e>0&&(n.current=a??null),a==null?null:pJ.createElement(W,null,pJ.createElement(kde,{props:t,data:a}))}),pJ.createElement(nR,{label:t.label}),t.children)}function jde(e){var t=(0,mJ.useRef)(null);return pJ.createElement(Ade,{previousRectanglesRef:t,props:e})}function Mde(e){var{xAxisId:t,yAxisId:n,hide:r,legendType:i,minPointSize:a,activeBar:o,animationBegin:s,animationDuration:c,animationEasing:l,isAnimationActive:u}=e,{needClip:d}=_K(t,n),f=oy(),p=wv(),m=pB(e.children,AI),h=J(t=>Qq(t,e.id,p,m));if(f!==`vertical`&&f!==`horizontal`)return null;var g,_=h?.[0];return g=_==null||_.height==null||_.width==null?0:f===`vertical`?_.height/2:_.width/2,pJ.createElement(dK,{xAxisId:t,yAxisId:n,data:h,dataPointFormatter:SJ,errorBarOffset:g},pJ.createElement(CJ,lJ({},e,{layout:f,needClip:d,data:h,xAxisId:t,yAxisId:n,hide:r,legendType:i,minPointSize:a,activeBar:o,animationBegin:s,animationDuration:c,animationEasing:l,isAnimationActive:u})))}function Nde(e){var{layout:t,barSettings:{dataKey:n,minPointSize:r,hasCustomShape:i},pos:a,bandSize:o,xAxis:s,yAxis:c,xAxisTicks:l,yAxisTicks:u,stackedData:d,displayedData:f,offset:p,cells:m,parentViewBox:h,dataStartIndex:g}=e,_=t===`horizontal`?c:s,v=d?_.scale.domain():null,y=q_({numericAxis:_}),b=_.scale.map(y);return f.map((e,f)=>{var _,x,S,C,w,T;if(d){var E=d[f+g];if(E==null)return null;_=V_(E,v)}else _=A_(e,n),Array.isArray(_)||(_=[y,_]);var D=Nq(r,xJ)(_[1],f);if(t===`horizontal`){var O=c.scale.map(_[0]),k=c.scale.map(_[1]);if(O==null||k==null)return null;x=K_({axis:s,ticks:l,bandSize:o,offset:a.offset,entry:e,index:f}),S=k??O??void 0,C=a.size;var A=O-k;if(w=ip(A)?0:A,T={x,y:p.top,width:C,height:p.height},Math.abs(D)>0&&Math.abs(w)<Math.abs(D)){var j=rp(w||D)*(Math.abs(D)-Math.abs(w));S-=j,w+=j}}else{var M=s.scale.map(_[0]),N=s.scale.map(_[1]);if(M==null||N==null)return null;if(x=M,S=K_({axis:c,ticks:u,bandSize:o,offset:a.offset,entry:e,index:f}),C=N-M,w=a.size,T={x:p.left,y:S,width:p.width,height:w},Math.abs(D)>0&&Math.abs(C)<Math.abs(D)){var ee=rp(C||D)*(Math.abs(D)-Math.abs(C));C+=ee}}return x==null||S==null||C==null||w==null||!i&&(C===0||w===0)?null:dJ(dJ({},e),{},{stackedBarStart:b,x,y:S,width:C,height:w,value:d?_:_[1],payload:e,background:T,tooltipPosition:{x:x+C/2,y:S+w/2},parentViewBox:h,originalDataIndex:f},m&&m[f]&&m[f].props)}).filter(Boolean)}function Pde(e){var t=Pp(e,wJ),n=iJ(t.stackId),r=wv();return pJ.createElement(lV,{id:t.id,type:`bar`},e=>pJ.createElement(pJ.Fragment,null,pJ.createElement(XB,{legendPayload:yJ(t)}),pJ.createElement(bJ,{dataKey:t.dataKey,stroke:t.stroke,strokeWidth:t.strokeWidth,fill:t.fill,name:t.name,hide:t.hide,unit:t.unit,tooltipType:t.tooltipType,id:e}),pJ.createElement(SV,{type:`bar`,id:e,data:void 0,xAxisId:t.xAxisId,yAxisId:t.yAxisId,zAxisId:0,dataKey:t.dataKey,stackId:n,hide:t.hide,barSize:t.barSize,minPointSize:t.minPointSize,maxBarSize:t.maxBarSize,isPanorama:r,hasCustomShape:t.shape!=null}),pJ.createElement(EF,{zIndex:t.zIndex},pJ.createElement(Mde,lJ({},t,{id:e})))))}var pJ,mJ,hJ,gJ,_J,vJ,yJ,bJ,xJ,SJ,CJ,wJ,TJ,EJ=o((()=>{pJ=u(f()),mJ=u(f()),Pu(),id(),jI(),fR(),q(),SB(),nv(),Mp(),_de(),KB(),YB(),gK(),bK(),py(),vde(),Y(),Tv(),LP(),$B(),CS(),Fp(),uV(),TV(),Wu(),bS(),kF(),QC(),xW(),jb(),cJ(),hJ=[`onMouseEnter`,`onMouseLeave`,`onClick`],gJ=[`value`,`background`,`tooltipPosition`],_J=[`id`],vJ=[`onMouseEnter`,`onClick`,`onMouseLeave`],yJ=e=>{var{dataKey:t,name:n,fill:r,legendType:i,hide:a}=e;return[{inactive:a,dataKey:t,type:i,color:r,value:P_(n,t),payload:e}]},bJ=pJ.memo(e=>{var{dataKey:t,stroke:n,strokeWidth:r,fill:i,name:a,hide:o,unit:s,tooltipType:c,id:l}=e,u={dataDefinedOnItem:void 0,getPosition:tp,settings:{stroke:n,strokeWidth:r,fill:i,dataKey:t,nameKey:void 0,name:P_(a,t),hide:o,type:c,color:i,unit:s,graphicalItemId:l}};return pJ.createElement(qB,{tooltipEntrySettings:u})}),xJ=0,SJ=(e,t)=>{var n=Array.isArray(e.value)?e.value[1]:e.value;return{x:e.x,y:e.y,value:n,errorVal:A_(e,t)}},CJ=class extends mJ.PureComponent{render(){var{hide:e,data:t,dataKey:n,className:r,xAxisId:i,yAxisId:a,needClip:o,background:s,id:c}=this.props;if(e||t==null)return null;var l=U(`recharts-bar`,r),u=c;return pJ.createElement(W,{className:l,id:c},o&&pJ.createElement(`defs`,null,pJ.createElement(vK,{clipPathId:u,xAxisId:i,yAxisId:a})),pJ.createElement(W,{className:`recharts-bar-rectangles`,clipPath:o?`url(#clipPath-${u})`:void 0},pJ.createElement(Tde,{data:t,dataKey:n,background:s,allOtherBarProps:this.props}),pJ.createElement(jde,this.props)))}},wJ={activeBar:!1,animationBegin:0,animationDuration:400,animationEasing:`ease`,background:!1,hide:!1,isAnimationActive:`auto`,label:!1,legendType:`rect`,minPointSize:xJ,xAxisId:0,yAxisId:0,zIndex:ZC.bar},TJ=pJ.memo(Pde,kb),TJ.displayName=`Bar`}));function DJ(){return DJ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},DJ.apply(null,arguments)}function Fde(e,t){if(e==null)return{};var n,r,i=Ide(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function Ide(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function Lde(e){var{option:t,isActive:n}=e,r=Fde(e,kJ);return typeof t==`string`?OJ.createElement(LB,DJ({option:OJ.createElement(wp,DJ({type:t},r)),isActive:n,shapeType:`symbols`},r)):OJ.createElement(LB,DJ({option:t,isActive:n,shapeType:`symbols`},r))}var OJ,kJ,Rde=o((()=>{OJ=u(f()),Tp(),HB(),kJ=[`option`,`isActive`]})),AJ,jJ,MJ,NJ,PJ,FJ,IJ,LJ,RJ,zJ,zde=o((()=>{Dm(),eY(),xC(),iN(),AJ=(e,t,n,r,i,a,o)=>$M(e,`xAxis`,t,o),jJ=(e,t,n,r,i,a,o)=>QM(e,`xAxis`,t,o),MJ=(e,t,n,r,i,a,o)=>$M(e,`yAxis`,n,o),NJ=(e,t,n,r,i,a,o)=>QM(e,`yAxis`,n,o),PJ=(e,t,n,r)=>tN(e,`zAxis`,r,!1),FJ=(e,t,n,r,i)=>i,IJ=(e,t,n,r,i,a)=>a,LJ=(e,t,n,r,i,a,o)=>gC(e,void 0,void 0,o),RJ=X([fj,FJ],(e,t)=>e.filter(e=>e.type===`scatter`).find(e=>e.id===t)),zJ=X([LJ,AJ,jJ,MJ,NJ,PJ,RJ,IJ],(e,t,n,r,i,a,o,s)=>{var{chartData:c,dataStartIndex:l,dataEndIndex:u}=e;if(o!=null){var d=o?.data!=null&&o.data.length>0?o.data:c?.slice(l,u+1);if(!(d==null||t==null||r==null||n==null||i==null||n?.length===0||i?.length===0))return Jde({displayedData:d,xAxis:t,yAxis:r,zAxis:a,scatterSettings:o,xAxisTicks:n,yAxisTicks:i,cells:s})}})}));function BJ(e,t){if(e==null)return{};var n,r,i=Bde(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function Bde(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function VJ(){return VJ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},VJ.apply(null,arguments)}function HJ(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function UJ(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?HJ(Object(n),!0).forEach(function(t){Vde(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):HJ(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Vde(e,t,n){return(t=Hde(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Hde(e){var t=Ude(e,`string`);return typeof t==`symbol`?t:t+``}function Ude(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function Wde(e){var{points:t,props:n}=e,{line:r,lineType:i,lineJointType:a}=n;if(!r)return null;var o=Bu(n),s=Vu(r),c,l;if(i===`joint`)c=t.map(e=>({x:e.cx??null,y:e.cy??null}));else if(i===`fitting`){var{xmin:u,xmax:d,a:f,b:p}=dp(t),m=e=>f*e+p;c=[{x:u,y:m(u)},{x:d,y:m(d)}]}var h=UJ(UJ(UJ({},o),{},{fill:`none`,stroke:o&&o.fill},s),{},{points:c});return l=WJ.isValidElement(r)?WJ.cloneElement(r,h):typeof r==`function`?r(h):WJ.createElement(Mx,VJ({},h,{type:a})),WJ.createElement(W,{className:`recharts-scatter-line`,key:`recharts-scatter-line`},l)}function Gde(e){var{showLabels:t,points:n,children:r}=e,i=ey(),a=(0,GJ.useMemo)(()=>n?.map(e=>{var t={x:e.x??0,y:e.y??0,width:e.width,height:e.height,lowerWidth:e.width,upperWidth:e.width};return UJ(UJ({},t),{},{value:void 0,payload:e.payload,viewBox:t,parentViewBox:i,fill:void 0})}),[i,n]);return WJ.createElement(lR,{value:t?a:void 0},r)}function Kde(e){var{points:t,allOtherScatterProps:n}=e,{shape:r,activeShape:i,dataKey:a}=n,{id:o}=n,s=BJ(n,KJ),c=J(DP),{onMouseEnter:l,onClick:u,onMouseLeave:d}=n,f=BJ(n,qJ),p=UB(l,a,o),m=WB(d),h=GB(u,a,o);if(!jp(t))return null;var g=Bu(s);return WJ.createElement(WJ.Fragment,null,WJ.createElement(Wde,{points:t,props:s}),t.map((e,t)=>{var n=i!=null&&i!==!1,a=n&&c===String(t),s=n&&a?i:r,l=UJ(UJ(UJ({},g),e),{},{index:t,[pv]:String(o)});return WJ.createElement(EF,{key:`symbol-${e?.cx}-${e?.cy}-${e?.size}-${t}`,zIndex:a?ZC.activeDot:void 0},WJ.createElement(W,VJ({className:`recharts-scatter-symbol`},Ap(f,e,t),{onMouseEnter:p(e,t),onMouseLeave:m(e,t),onClick:h(e,t)}),WJ.createElement(Lde,VJ({option:s,isActive:a},l))))}))}function qde(e){var{previousPointsRef:t,props:n}=e,{points:r,isAnimationActive:i,animationBegin:a,animationDuration:o,animationEasing:s}=n,c=t.current,l=xS(n,`recharts-scatter-`),[u,d]=(0,GJ.useState)(!1),f=(0,GJ.useCallback)(()=>{d(!1)},[]),p=(0,GJ.useCallback)(()=>{d(!0)},[]),m=!u;return WJ.createElement(Gde,{showLabels:m,points:r},n.children,WJ.createElement(hS,{animationId:l,begin:a,duration:o,isActive:i,easing:s,onAnimationEnd:f,onAnimationStart:p,key:l},e=>{var i=e===1?r:r?.map((t,n)=>{var r=c&&c[n];return r?UJ(UJ({},t),{},{cx:t.cx==null?void 0:G(r.cx,t.cx,e),cy:t.cy==null?void 0:G(r.cy,t.cy,e),size:G(r.size,t.size,e)}):UJ(UJ({},t),{},{size:G(0,t.size,e)})});return e>0&&(t.current=i),WJ.createElement(W,null,WJ.createElement(Kde,{points:i,allOtherScatterProps:n,showLabels:m}))}),WJ.createElement(nR,{label:n.label}))}function Jde(e){var{displayedData:t,xAxis:n,yAxis:r,zAxis:i,scatterSettings:a,xAxisTicks:o,yAxisTicks:s,cells:c}=e,l=fp(n.dataKey)?a.dataKey:n.dataKey,u=fp(r.dataKey)?a.dataKey:r.dataKey,d=i&&i.dataKey,f=i?i.range:oj.range,p=f&&f[0],m=n.scale.bandwidth?n.scale.bandwidth():0,h=r.scale.bandwidth?r.scale.bandwidth():0;return t.map((e,t)=>{var f=A_(e,l),g=A_(e,u),_=!fp(d)&&A_(e,d)||`-`,v=[{name:fp(n.dataKey)?a.name:n.name||String(n.dataKey),unit:n.unit||``,value:f,payload:e,dataKey:l,type:a.tooltipType,graphicalItemId:a.id},{name:fp(r.dataKey)?a.name:r.name||String(r.dataKey),unit:r.unit||``,value:g,payload:e,dataKey:u,type:a.tooltipType,graphicalItemId:a.id}];_!==`-`&&i!=null&&v.push({name:i.name||i.dataKey,unit:i.unit||``,value:_,payload:e,dataKey:d,type:a.tooltipType,graphicalItemId:a.id});var y=M_({axis:n,ticks:o,bandSize:m,entry:e,index:t,dataKey:l}),b=M_({axis:r,ticks:s,bandSize:h,entry:e,index:t,dataKey:u}),x=_!==`-`&&i!=null?i.scale.map(_):p,S=x==null?0:Math.sqrt(Math.max(x,0)/Math.PI);return UJ(UJ({},e),{},{cx:y,cy:b,x:y==null?void 0:y-S,y:b==null?void 0:b-S,width:2*S,height:2*S,size:x,node:{x:f,y:g,z:_},tooltipPayload:v,tooltipPosition:{x:y,y:b},payload:e},c&&c[t]&&c[t].props)})}function Yde(e){var{hide:t,points:n,className:r,needClip:i,xAxisId:a,yAxisId:o,id:s}=e,c=(0,GJ.useRef)(null);if(t)return null;var l=U(`recharts-scatter`,r),u=s;return WJ.createElement(EF,{zIndex:e.zIndex},WJ.createElement(W,{className:l,clipPath:i?`url(#clipPath-${u})`:void 0,id:s},i&&WJ.createElement(`defs`,null,WJ.createElement(vK,{clipPathId:u,xAxisId:a,yAxisId:o})),WJ.createElement(dK,{xAxisId:a,yAxisId:o,data:n,dataPointFormatter:ZJ,errorBarOffset:0},WJ.createElement(W,{key:`recharts-scatter-symbols`},WJ.createElement(qde,{props:e,previousPointsRef:c})))))}function Xde(e){var t=Pp(e,QJ),{animationBegin:n,animationDuration:r,animationEasing:i,hide:a,isAnimationActive:o,legendType:s,lineJointType:c,lineType:l,shape:u,xAxisId:d,yAxisId:f,zAxisId:p}=t,m=BJ(t,JJ),{needClip:h}=_K(d,f),g=(0,GJ.useMemo)(()=>pB(e.children,AI),[e.children]),_=wv(),v=J(t=>zJ(t,d,f,p,e.id,g,_));return h==null||v==null?null:WJ.createElement(WJ.Fragment,null,WJ.createElement(XJ,{dataKey:e.dataKey,points:v,stroke:e.stroke,strokeWidth:e.strokeWidth,fill:e.fill,name:e.name,hide:e.hide,tooltipType:e.tooltipType,id:e.id}),WJ.createElement(Yde,VJ({},m,{xAxisId:d,yAxisId:f,zAxisId:p,lineType:l,lineJointType:c,legendType:s,shape:u,hide:a,isAnimationActive:o,animationBegin:n,animationDuration:r,animationEasing:i,points:v,needClip:h})))}function Zde(e){var t=Pp(e,QJ),n=wv();return WJ.createElement(lV,{id:t.id,type:`scatter`},e=>WJ.createElement(WJ.Fragment,null,WJ.createElement(XB,{legendPayload:YJ(t)}),WJ.createElement(SV,{type:`scatter`,id:e,data:t.data,xAxisId:t.xAxisId,yAxisId:t.yAxisId,zAxisId:t.zAxisId,dataKey:t.dataKey,hide:t.hide,name:t.name,tooltipType:t.tooltipType,isPanorama:n}),WJ.createElement(Xde,VJ({},t,{id:e}))))}var WJ,GJ,KJ,qJ,JJ,YJ,XJ,ZJ,QJ,$J,eY=o((()=>{WJ=u(f()),GJ=u(f()),Pu(),id(),fR(),SB(),Nx(),jI(),q(),nv(),Mp(),Rde(),KB(),YB(),gK(),bK(),zde(),Y(),iN(),Tv(),LP(),$B(),mv(),CS(),Fp(),uV(),TV(),Wu(),bS(),py(),kF(),QC(),jb(),KJ=[`id`],qJ=[`onMouseEnter`,`onClick`,`onMouseLeave`],JJ=[`animationBegin`,`animationDuration`,`animationEasing`,`hide`,`isAnimationActive`,`legendType`,`lineJointType`,`lineType`,`shape`,`xAxisId`,`yAxisId`,`zAxisId`],YJ=e=>{var{dataKey:t,name:n,fill:r,legendType:i,hide:a}=e;return[{inactive:a,dataKey:t,type:i,color:r,value:P_(n,t),payload:e}]},XJ=WJ.memo(e=>{var{dataKey:t,points:n,stroke:r,strokeWidth:i,fill:a,name:o,hide:s,tooltipType:c,id:l}=e,u={dataDefinedOnItem:n?.map(e=>e.tooltipPayload),getPosition:e=>{var t;return n==null||(t=n[Number(e)])==null?void 0:t.tooltipPosition},settings:{stroke:r,strokeWidth:i,fill:a,nameKey:void 0,dataKey:t,name:P_(o,t),hide:s,type:c,color:a,unit:``,graphicalItemId:l}};return WJ.createElement(qB,{tooltipEntrySettings:u})}),ZJ=(e,t,n)=>({x:e.cx,y:e.cy,value:Number(n===`x`?e.node.x:e.node.y),errorVal:A_(e,t)}),QJ={xAxisId:0,yAxisId:0,zAxisId:0,label:!1,line:!1,legendType:`circle`,lineType:`joint`,lineJointType:`linear`,shape:`circle`,hide:!1,isAnimationActive:`auto`,animationBegin:0,animationDuration:400,animationEasing:`linear`,zIndex:ZC.scatter},$J=WJ.memo(Zde,kb),$J.displayName=`Scatter`}));function tY(e,t){if(e==null)return{};var n,r,i=Qde(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function Qde(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function nY(e,t){return e===t?!0:Array.isArray(e)&&e.length===2&&Array.isArray(t)&&t.length===2?e[0]===t[0]&&e[1]===t[1]:!1}function rY(e,t){if(e===t)return!0;var{domain:n,range:r}=e,i=tY(e,iY),{domain:a,range:o}=t,s=tY(t,aY);return!nY(n,a)||!nY(r,o)?!1:kb(i,s)}var iY,aY,oY=o((()=>{jb(),iY=[`domain`,`range`],aY=[`domain`,`range`]}));function sY(){return sY=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},sY.apply(null,arguments)}function cY(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function lY(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?cY(Object(n),!0).forEach(function(t){$de(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):cY(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function $de(e,t,n){return(t=efe(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function efe(e){var t=tfe(e,`string`);return typeof t==`symbol`?t:t+``}function tfe(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function uY(e,t){if(e==null)return{};var n,r,i=nfe(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function nfe(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function rfe(e){var t=hm(),n=(0,fY.useRef)(null),r=sy(),{type:i}=e,a=uY(e,pY),o=aw(r,`xAxis`,i),s=(0,fY.useMemo)(()=>{if(o!=null)return lY(lY({},a),{},{type:o})},[a,o]);return(0,fY.useLayoutEffect)(()=>{s!=null&&(n.current===null?t(MH(s)):n.current!==s&&t(NH({prev:n.current,next:s})),n.current=s)},[s,t]),(0,fY.useLayoutEffect)(()=>()=>{n.current&&=(t(PH(n.current)),null)},[t]),null}var dY,fY,pY,mY,hY,gY,_Y,vY,yY,ife=o((()=>{dY=u(f()),fY=u(f()),Pu(),qG(),Y(),BH(),iN(),xv(),Tv(),Fp(),oY(),py(),ow(),pY=[`type`],mY=[`dangerouslySetInnerHTML`,`ticks`,`scale`],hY=[`id`,`scale`],gY=e=>{var{xAxisId:t,className:n}=e,r=J(bv),i=wv(),a=`xAxis`,o=J(e=>XM(e,a,t,i)),s=J(e=>FM(e,t)),c=J(e=>VM(e,t)),l=J(e=>tj(e,t));if(s==null||c==null||l==null)return null;var{dangerouslySetInnerHTML:u,ticks:d,scale:f}=e,p=uY(e,mY),{id:m,scale:h}=l,g=uY(l,hY);return dY.createElement(KG,sY({},p,g,{x:c.x,y:c.y,width:s.width,height:s.height,className:U(`recharts-${a} ${a}`,n),viewBox:r,ticks:o,axisType:a,axisId:t}))},_Y={allowDataOverflow:ej.allowDataOverflow,allowDecimals:ej.allowDecimals,allowDuplicatedCategory:ej.allowDuplicatedCategory,angle:ej.angle,axisLine:UG.axisLine,height:ej.height,hide:!1,includeHidden:ej.includeHidden,interval:ej.interval,label:!1,minTickGap:ej.minTickGap,mirror:ej.mirror,orientation:ej.orientation,padding:ej.padding,reversed:ej.reversed,scale:ej.scale,tick:ej.tick,tickCount:ej.tickCount,tickLine:UG.tickLine,tickSize:UG.tickSize,type:ej.type,niceTicks:ej.niceTicks,xAxisId:0},vY=e=>{var t=Pp(e,_Y);return dY.createElement(dY.Fragment,null,dY.createElement(rfe,{allowDataOverflow:t.allowDataOverflow,allowDecimals:t.allowDecimals,allowDuplicatedCategory:t.allowDuplicatedCategory,angle:t.angle,dataKey:t.dataKey,domain:t.domain,height:t.height,hide:t.hide,id:t.xAxisId,includeHidden:t.includeHidden,interval:t.interval,minTickGap:t.minTickGap,mirror:t.mirror,name:t.name,orientation:t.orientation,padding:t.padding,reversed:t.reversed,scale:t.scale,tick:t.tick,tickCount:t.tickCount,tickFormatter:t.tickFormatter,ticks:t.ticks,type:t.type,unit:t.unit,niceTicks:t.niceTicks}),dY.createElement(gY,t))},yY=dY.memo(vY,rY),yY.displayName=`XAxis`}));function bY(){return bY=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},bY.apply(null,arguments)}function xY(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function SY(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?xY(Object(n),!0).forEach(function(t){CY(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):xY(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function CY(e,t,n){return(t=wY(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function wY(e){var t=TY(e,`string`);return typeof t==`symbol`?t:t+``}function TY(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function EY(e,t){if(e==null)return{};var n,r,i=DY(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function DY(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function OY(e){var t=hm(),n=(0,jY.useRef)(null),r=sy(),{type:i}=e,a=EY(e,MY),o=aw(r,`yAxis`,i),s=(0,jY.useMemo)(()=>{if(o!=null)return SY(SY({},a),{},{type:o})},[o,a]);return(0,jY.useLayoutEffect)(()=>{s!=null&&(n.current===null?t(FH(s)):n.current!==s&&t(IH({prev:n.current,next:s})),n.current=s)},[s,t]),(0,jY.useLayoutEffect)(()=>()=>{n.current&&=(t(LH(n.current)),null)},[t]),null}function kY(e){var{yAxisId:t,className:n,width:r,label:i}=e,a=(0,jY.useRef)(null),o=(0,jY.useRef)(null),s=J(bv),c=wv(),l=hm(),u=`yAxis`,d=J(e=>WM(e,t)),f=J(e=>UM(e,t)),p=J(e=>XM(e,u,t,c)),m=J(e=>ij(e,t));if((0,jY.useLayoutEffect)(()=>{if(!(r!==`auto`||!d||GL(i)||(0,jY.isValidElement)(i)||m==null)){var e=a.current;if(e){var n=e.getCalculatedWidth();Math.round(d.width)!==Math.round(n)&&l(RH({id:t,width:n}))}}},[p,d,l,i,t,r,m]),d==null||f==null||m==null)return null;var{dangerouslySetInnerHTML:h,ticks:g,scale:_}=e,v=EY(e,NY),{id:y,scale:b}=m,x=EY(m,PY);return AY.createElement(KG,bY({},v,x,{ref:a,labelRef:o,x:f.x,y:f.y,tickTextProps:r===`auto`?{width:void 0}:{width:r},width:d.width,height:d.height,className:U(`recharts-${u} ${u}`,n),viewBox:s,ticks:p,axisType:u,axisId:t}))}var AY,jY,MY,NY,PY,FY,IY,LY,RY=o((()=>{AY=u(f()),jY=u(f()),Pu(),qG(),BH(),Y(),iN(),xv(),Tv(),QL(),Fp(),oY(),py(),ow(),MY=[`type`],NY=[`dangerouslySetInnerHTML`,`ticks`,`scale`],PY=[`id`,`scale`],FY={allowDataOverflow:rj.allowDataOverflow,allowDecimals:rj.allowDecimals,allowDuplicatedCategory:rj.allowDuplicatedCategory,angle:rj.angle,axisLine:UG.axisLine,hide:!1,includeHidden:rj.includeHidden,interval:rj.interval,label:!1,minTickGap:rj.minTickGap,mirror:rj.mirror,orientation:rj.orientation,padding:rj.padding,reversed:rj.reversed,scale:rj.scale,tick:rj.tick,tickCount:rj.tickCount,tickLine:UG.tickLine,tickSize:UG.tickSize,type:rj.type,niceTicks:rj.niceTicks,width:rj.width,yAxisId:0},IY=e=>{var t=Pp(e,FY);return AY.createElement(AY.Fragment,null,AY.createElement(OY,{interval:t.interval,id:t.yAxisId,scale:t.scale,type:t.type,domain:t.domain,allowDataOverflow:t.allowDataOverflow,dataKey:t.dataKey,allowDuplicatedCategory:t.allowDuplicatedCategory,allowDecimals:t.allowDecimals,tickCount:t.tickCount,padding:t.padding,includeHidden:t.includeHidden,reversed:t.reversed,ticks:t.ticks,width:t.width,orientation:t.orientation,mirror:t.mirror,hide:t.hide,unit:t.unit,name:t.name,angle:t.angle,minTickGap:t.minTickGap,tick:t.tick,tickFormatter:t.tickFormatter,niceTicks:t.niceTicks}),AY.createElement(kY,t))},LY=AY.memo(IY,rY),LY.displayName=`YAxis`}));function zY(e){var t=Pp(e,VY),{animationId:n,from:r,to:i,attributeName:a,isActive:o,canBegin:s,duration:c,easing:l,begin:u,onAnimationEnd:d,onAnimationStart:f,children:p}=t,m=dx(),h=o===`auto`?!lx.isSsr&&!m:o,g=dS(n+a,t.animationManager),[_,v]=(0,BY.useState)(()=>h?r:i),y=(0,BY.useRef)(!1),b=(0,BY.useCallback)(()=>{v(r),f()},[r,f]);return(0,BY.useEffect)(()=>{if(!h||!s)return tp;y.current=!0;var e=g.subscribe(v);return g.start([b,u,i,c,d]),()=>{g.stop(),e&&e(),d()}},[h,s,c,l,u,b,d,g,i,r]),h?s&&y.current?p({transition:Wx([a],c,l),[a]:_}):p({[a]:r}):p({[a]:i})}var BY,VY,HY=o((()=>{BY=u(f()),q(),Fp(),mS(),qx(),ux(),px(),VY={begin:0,duration:1e3,easing:`ease`,isActive:!0,canBegin:!0,onAnimationEnd:()=>{},onAnimationStart:()=>{}}})),UY,WY,GY=o((()=>{Dm(),py(),LP(),xv(),dF(),Tw(),Hw(),UY=(e,t)=>t,WY=X([UY,Q,ww,Vw,gP,SP,QP,vv],uF)}));function KY(e){return`getBBox`in e.currentTarget&&typeof e.currentTarget.getBBox==`function`}function qY(e){var t=e.currentTarget.getBoundingClientRect(),n,r;if(KY(e)){var i=e.currentTarget.getBBox();n=i.width>0?t.width/i.width:1,r=i.height>0?t.height/i.height:1}else{var a=e.currentTarget;n=a.offsetWidth>0?t.width/a.offsetWidth:1,r=a.offsetHeight>0?t.height/a.offsetHeight:1}var o=(e,i)=>({relativeX:Math.round((e-t.left)/n),relativeY:Math.round((i-t.top)/r)});return`touches`in e?Array.from(e.touches).map(e=>o(e.clientX,e.clientY)):o(e.clientX,e.clientY)}var JY=o((()=>{})),YY,XY,ZY,QY,$Y,eX,tX,nX=o((()=>{g_(),kN(),GY(),lN(),JY(),YY=vg(`mouseClick`),XY=h_(),XY.startListening({actionCreator:YY,effect:(e,t)=>{var n=e.payload,r=WY(t.getState(),qY(n));r?.activeIndex!=null&&t.dispatch(TN({activeIndex:r.activeIndex,activeDataKey:void 0,activeCoordinate:r.activeCoordinate}))}}),ZY=vg(`mouseMove`),QY=h_(),$Y=null,eX=null,tX=null,QY.startListening({actionCreator:ZY,effect:(e,t)=>{var n=e.payload,{throttleDelay:r,throttledEvents:i}=t.getState().eventSettings,a=i===`all`||i?.includes(`mousemove`);$Y!==null&&(cancelAnimationFrame($Y),$Y=null),eX!==null&&(typeof r!=`number`||!a)&&(clearTimeout(eX),eX=null),tX=qY(n);var o=()=>{var e=t.getState(),n=oN(e,e.tooltip.settings.shared);if(!tX){$Y=null,eX=null;return}if(n===`axis`){var r=WY(e,tX);r?.activeIndex==null?t.dispatch(SN()):t.dispatch(wN({activeIndex:r.activeIndex,activeDataKey:void 0,activeCoordinate:r.activeCoordinate}))}$Y=null,eX=null};if(!a){o();return}r===`raf`?$Y=requestAnimationFrame(o):typeof r==`number`&&eX===null&&(eX=setTimeout(o,r))}})}));function rX(e,t){return t instanceof HTMLElement?`HTMLElement <${t.tagName} class=\"${t.className}\">`:t===window?`global.window`:e===`children`&&typeof t==`object`&&t?`<<CHILDREN>>`:t}var iX=o((()=>{})),aX,oX,sX,cX,lX=o((()=>{g_(),aX={accessibilityLayer:!0,barCategoryGap:`10%`,barGap:4,barSize:void 0,className:void 0,maxBarSize:void 0,stackOffset:`none`,syncId:void 0,syncMethod:`index`,baseValue:void 0,reverseStackOrder:!1},oX=Ig({name:`rootProps`,initialState:aX,reducers:{updateOptions:(e,t)=>{e.accessibilityLayer=t.payload.accessibilityLayer,e.barCategoryGap=t.payload.barCategoryGap,e.barGap=t.payload.barGap??aX.barGap,e.barSize=t.payload.barSize,e.maxBarSize=t.payload.maxBarSize,e.stackOffset=t.payload.stackOffset,e.syncId=t.payload.syncId,e.syncMethod=t.payload.syncMethod,e.className=t.payload.className,e.baseValue=t.payload.baseValue,e.reverseStackOrder=t.payload.reverseStackOrder}}}),sX=oX.reducer,{updateOptions:cX}=oX.actions})),uX,dX,fX,pX=o((()=>{g_(),uX=Ig({name:`polarOptions`,initialState:null,reducers:{updatePolarOptions:(e,t)=>e===null?t.payload:(e.startAngle=t.payload.startAngle,e.endAngle=t.payload.endAngle,e.cx=t.payload.cx,e.cy=t.payload.cy,e.innerRadius=t.payload.innerRadius,e.outerRadius=t.payload.outerRadius,e)}}),{updatePolarOptions:dX}=uX.actions,fX=uX.reducer})),mX,hX,gX,_X,vX,yX,bX,xX=o((()=>{g_(),kN(),LP(),dF(),iN(),FN(),lN(),mX=vg(`keyDown`),hX=vg(`focus`),gX=vg(`blur`),_X=h_(),vX=null,yX=null,bX=null,_X.startListening({actionCreator:mX,effect:(e,t)=>{bX=e.payload,vX!==null&&(cancelAnimationFrame(vX),vX=null);var{throttleDelay:n,throttledEvents:r}=t.getState().eventSettings,i=r===`all`||r.includes(`keydown`);yX!==null&&(typeof n!=`number`||!i)&&(clearTimeout(yX),yX=null);var a=()=>{try{var e=t.getState();if(e.rootProps.accessibilityLayer===!1)return;var{keyboardInteraction:n}=e.tooltip,r=bX;if(r!==`ArrowRight`&&r!==`ArrowLeft`&&r!==`Enter`)return;var i=PN(n,nP(e),kj(e),fP(e)),a=i==null?-1:Number(i),o=!Number.isFinite(a)||a<0,s=SP(e),c=nP(e),l=oN(e,e.tooltip.settings.shared);if(r===`Enter`){if(o)return;var u=rF(e,l,`hover`,String(n.index));t.dispatch(DN({active:!n.active,activeIndex:n.index,activeCoordinate:u}));return}var d=nN(e)===`left-to-right`?1:-1,f=r===`ArrowRight`?1:-1,p;if(o){var m=kj(e),h=fP(e),g=f*d,_=e=>({active:!1,index:String(e),dataKey:void 0,graphicalItemId:void 0,coordinate:void 0});if(p=-1,g>0){for(var v=0;v<c.length;v++)if(PN(_(v),c,m,h)!=null){p=v;break}}else for(var y=c.length-1;y>=0;y--)if(PN(_(y),c,m,h)!=null){p=y;break}if(p<0)return}else{p=a+f*d;var b=s?.length||c.length;if(b===0||p>=b||p<0)return}var x=rF(e,l,`hover`,String(p));t.dispatch(DN({active:!0,activeIndex:p.toString(),activeCoordinate:x}))}finally{vX=null,yX=null}};if(!i){a();return}n===`raf`?vX=requestAnimationFrame(a):typeof n==`number`&&yX===null&&(a(),bX=null,yX=setTimeout(()=>{bX?a():(yX=null,vX=null)},n))}}),_X.startListening({actionCreator:hX,effect:(e,t)=>{var n=t.getState();if(n.rootProps.accessibilityLayer!==!1){var{keyboardInteraction:r}=n.tooltip;if(!r.active&&r.index==null){var i=`0`,a=rF(n,oN(n,n.tooltip.settings.shared),`hover`,String(i));t.dispatch(DN({active:!0,activeIndex:i,activeCoordinate:a}))}}}}),_X.startListening({actionCreator:gX,effect:(e,t)=>{var n=t.getState();if(n.rootProps.accessibilityLayer!==!1){var{keyboardInteraction:r}=n.tooltip;r.active&&t.dispatch(DN({active:!1,activeIndex:r.index,activeCoordinate:r.coordinate}))}}})}));function SX(e){e.persist();var{currentTarget:t}=e;return new Proxy(e,{get:(e,n)=>{if(n===`currentTarget`)return t;var r=Reflect.get(e,n);return typeof r==`function`?r.bind(e):r}})}var CX=o((()=>{})),wX,TX,EX,DX,OX,kX=o((()=>{g_(),LP(),CX(),wX=vg(`externalEvent`),TX=h_(),EX=new Map,DX=new Map,OX=new Map,TX.startListening({actionCreator:wX,effect:(e,t)=>{var{handler:n,reactEvent:r}=e.payload;if(n!=null){var i=r.type,a=SX(r);OX.set(i,{handler:n,reactEvent:a});var o=EX.get(i);o!==void 0&&(cancelAnimationFrame(o),EX.delete(i));var{throttleDelay:s,throttledEvents:c}=t.getState().eventSettings,l=c,u=l===`all`||l?.includes(i),d=DX.get(i);d!==void 0&&(typeof s!=`number`||!u)&&(clearTimeout(d),DX.delete(i));var f=()=>{var e=OX.get(i);try{if(!e)return;var{handler:n,reactEvent:r}=e,a=t.getState(),o={activeCoordinate:NP(a),activeDataKey:kP(a),activeIndex:DP(a),activeLabel:OP(a),activeTooltipIndex:DP(a),isTooltipActive:PP(a)};n&&n(o,r)}finally{EX.delete(i),DX.delete(i),OX.delete(i)}};if(!u){f();return}if(s===`raf`){var p=requestAnimationFrame(f);EX.set(i,p)}else if(typeof s==`number`){if(!DX.has(i)){f();var m=setTimeout(f,s);DX.set(i,m)}}else f()}}})})),AX,jX,MX=o((()=>{Dm(),UN(),AX=X([HN],e=>e.tooltipItemPayloads),jX=X([AX,(e,t)=>t,(e,t,n)=>n],(e,t,n)=>{if(t!=null){var r=e.find(e=>e.settings.graphicalItemId===n);if(r!=null){var{getPosition:i}=r;if(i!=null)return i(t)}}})})),NX,PX,FX,IX,LX,RX,zX=o((()=>{g_(),kN(),GY(),JY(),lN(),mv(),MX(),LP(),CX(),NX=vg(`touchMove`),PX=h_(),FX=null,IX=null,LX=null,RX=null,PX.startListening({actionCreator:NX,effect:(e,t)=>{var n=e.payload;if(!(n.touches==null||n.touches.length===0)){RX=SX(n);var{throttleDelay:r,throttledEvents:i}=t.getState().eventSettings,a=i===`all`||i.includes(`touchmove`);FX!==null&&(cancelAnimationFrame(FX),FX=null),IX!==null&&(typeof r!=`number`||!a)&&(clearTimeout(IX),IX=null),LX=Array.from(n.touches).map(e=>qY({clientX:e.clientX,clientY:e.clientY,currentTarget:n.currentTarget}));var o=()=>{if(RX!=null){var e=t.getState(),n=oN(e,e.tooltip.settings.shared);if(n===`axis`){var r=LX?.[0];if(r==null){FX=null,IX=null;return}var i=WY(e,r);i?.activeIndex!=null&&t.dispatch(wN({activeIndex:i.activeIndex,activeDataKey:void 0,activeCoordinate:i.activeCoordinate}))}else if(n===`item`){var a=RX.touches[0];if(document.elementFromPoint==null||a==null)return;var o=document.elementFromPoint(a.clientX,a.clientY);if(!o||!o.getAttribute)return;var s=o.getAttribute(fv),c=o.getAttribute(`data-recharts-item-id`)??void 0,l=QN(e).find(e=>e.id===c);if(s==null||l==null||c==null)return;var{dataKey:u}=l,d=jX(e,s,c);t.dispatch(bN({activeDataKey:u,activeIndex:s,activeCoordinate:d,activeGraphicalItemId:c}))}FX=null,IX=null}};if(!a){o();return}r===`raf`?FX=requestAnimationFrame(o):typeof r==`number`&&IX===null&&(o(),RX=null,IX=setTimeout(()=>{RX?o():(IX=null,FX=null)},r))}}})})),BX,VX,HX,UX,WX=o((()=>{g_(),ob(),BX={throttleDelay:`raf`,throttledEvents:[`mousemove`,`touchmove`,`pointermove`,`scroll`,`wheel`]},VX=Ig({name:`eventSettings`,initialState:BX,reducers:{setEventSettings:(e,t)=>{t.payload.throttleDelay!=null&&(e.throttleDelay=t.payload.throttleDelay),t.payload.throttledEvents!=null&&(e.throttledEvents=Ky(t.payload.throttledEvents))}}}),{setEventSettings:HX}=VX.actions,UX=VX.reducer})),GX,KX,qX=o((()=>{g_(),JF(),kN(),tI(),C_(),nX(),iX(),BH(),yV(),$W(),UW(),mb(),lX(),gz(),pX(),xX(),kX(),zX(),Iue(),ux(),TF(),WX(),PG(),GX=Ym({brush:HW,cartesianAxis:zH,chartData:eI,errorBars:uK,eventSettings:UX,graphicalItems:vV,layout:S_,legend:pb,options:KF,polarAxis:hz,polarOptions:fX,referenceElements:QW,renderedTicks:NG,rootProps:sX,tooltip:ON,zIndex:wF}),KX=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:`Chart`;return qte({reducer:GX,preloadedState:e,middleware:e=>e({serializableCheck:!1,immutableCheck:![`commonjs`,`es6`,`production`].includes(`es6`)}).concat([XY.middleware,QY.middleware,_X.middleware,TX.middleware,PX.middleware]),enhancers:e=>{var t=e;return typeof e==`function`&&(t=e()),t.concat(jg({type:`raf`}))},devTools:lx.devToolsEnabled&&{serialize:{replacer:rX},name:`recharts-${t}`}})}}));function JX(e){var{preloadedState:t,children:n,reduxStoreName:r}=e,i=wv(),a=(0,XX.useRef)(null);if(i)return n;a.current??=KX(t,r);var o=um;return YX.createElement(Db,{context:o,store:a.current},n)}var YX,XX,ZX=o((()=>{YX=u(f()),XX=u(f()),Ob(),qX(),Tv(),dm()}));function QX(e){var{layout:t,margin:n}=e,r=hm(),i=wv();return(0,$X.useEffect)(()=>{i||(r(y_(t)),r(v_(n)))},[r,i,t,n]),null}var $X,eZ,tZ=o((()=>{$X=u(f()),Tv(),C_(),Y(),jb(),eZ=(0,$X.memo)(QX,kb)}));function nZ(e){var t=hm();return(0,rZ.useEffect)(()=>{t(cX(e))},[t,e]),null}var rZ,iZ=o((()=>{rZ=u(f()),lX(),Y()})),aZ,oZ,sZ,cZ=o((()=>{aZ=u(f()),Y(),WX(),jb(),oZ=e=>{var t=hm();return(0,aZ.useEffect)(()=>{t(HX(e))},[t,e]),null},sZ=(0,aZ.memo)(oZ,kb)}));function lZ(e){var{zIndex:t,isPanorama:n}=e,r=(0,fZ.useRef)(null),i=hm();return(0,fZ.useLayoutEffect)(()=>(r.current&&i(SF({zIndex:t,element:r.current,isPanorama:n})),()=>{i(CF({zIndex:t,isPanorama:n}))}),[i,t,n]),dZ.createElement(`g`,{tabIndex:-1,ref:r,className:`recharts-zIndex-layer_${t}`})}function uZ(e){var{children:t,isPanorama:n}=e,r=J(pF);if(!r||r.length===0)return t;var i=r.filter(e=>e<0),a=r.filter(e=>e>0);return dZ.createElement(dZ.Fragment,null,i.map(e=>dZ.createElement(lZ,{key:e,zIndex:e,isPanorama:n})),t,a.map(e=>dZ.createElement(lZ,{key:e,zIndex:e,isPanorama:n})))}var dZ,fZ,pZ=o((()=>{dZ=u(f()),fZ=u(f()),Y(),TF(),mF()}));function mZ(e,t){if(e==null)return{};var n,r,i=hZ(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function hZ(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function gZ(){return gZ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},gZ.apply(null,arguments)}var _Z,vZ,yZ,bZ,xZ,SZ,CZ,wZ=o((()=>{_Z=u(f()),vZ=u(f()),py(),yx(),Tv(),$u(),Y(),Ov(),D_(),pZ(),yZ=[`children`],bZ={width:`100%`,height:`100%`,display:`block`},xZ=(0,vZ.forwardRef)((e,t)=>{var n=ry(),r=iy(),i=vx();if(!E_(n)||!E_(r))return null;var{children:a,otherAttributes:o,title:s,desc:c}=e,l,u;return o!=null&&(l=typeof o.tabIndex==`number`?o.tabIndex:i?0:void 0,u=typeof o.role==`string`?o.role:i?`application`:void 0),_Z.createElement(Qu,gZ({},o,{title:s,desc:c,role:u,tabIndex:l,width:n,height:r,style:bZ,ref:t}),a)}),SZ=e=>{var{children:t}=e,n=J(Dv);if(!n)return null;var{width:r,height:i,y:a,x:o}=n;return _Z.createElement(Qu,{width:r,height:i,x:o,y:a},t)},CZ=(0,vZ.forwardRef)((e,t)=>{var{children:n}=e,r=mZ(e,yZ);return wv()?_Z.createElement(SZ,null,_Z.createElement(uZ,{isPanorama:!0},n)):_Z.createElement(xZ,gZ({ref:t},r),_Z.createElement(uZ,{isPanorama:!1},n))})}));function TZ(){var e=hm(),[t,n]=(0,EZ.useState)(null),r=J(av);return(0,EZ.useEffect)(()=>{if(t!=null){var n=t.getBoundingClientRect().width/t.offsetWidth;Z(n)&&n!==r&&e(x_(n))}},[t,e,r]),n}var EZ,DZ=o((()=>{EZ=u(f()),Y(),sv(),C_(),D_()}));function OZ(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function kZ(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?OZ(Object(n),!0).forEach(function(t){AZ(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):OZ(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function AZ(e,t,n){return(t=jZ(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function jZ(e){var t=MZ(e,`string`);return typeof t==`symbol`?t:t+``}function MZ(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function NZ(){return NZ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},NZ.apply(null,arguments)}function PZ(e){if(typeof e==`number`)return e;if(typeof e==`string`){var t=parseFloat(e);if(!Number.isNaN(t))return t}return 0}function FZ(e){return e?zZ:HZ}var IZ,LZ,RZ,zZ,BZ,VZ,HZ,UZ,WZ=o((()=>{IZ=u(f()),LZ=u(f()),Pu(),kN(),Y(),nX(),hI(),xX(),DZ(),kX(),zX(),RF(),cd(),py(),Zv(),RZ=()=>(dI(),null),zZ=(0,LZ.forwardRef)((e,t)=>{var n=(0,LZ.useRef)(null),[r,i]=(0,LZ.useState)({containerWidth:PZ(e.style?.width),containerHeight:PZ(e.style?.height)}),a=(0,LZ.useCallback)((e,t)=>{i(n=>{var r=Math.round(e),i=Math.round(t);return n.containerWidth===r&&n.containerHeight===i?n:{containerWidth:r,containerHeight:i}})},[]),o=(0,LZ.useCallback)(e=>{if(typeof t==`function`&&t(e),n.current!=null&&(n.current.disconnect(),n.current=null),e!=null&&typeof ResizeObserver<`u`){var{width:r,height:i}=e.getBoundingClientRect();a(r,i);var o=new ResizeObserver(e=>{var t=e[0];if(t!=null){var{width:n,height:r}=t.contentRect;a(n,r)}});o.observe(e),n.current=o}},[t,a]);return(0,LZ.useEffect)(()=>()=>{n.current?.disconnect()},[a]),IZ.createElement(IZ.Fragment,null,IZ.createElement(dy,{width:r.containerWidth,height:r.containerHeight}),IZ.createElement(`div`,NZ({ref:o},e)))}),BZ=(0,LZ.forwardRef)((e,t)=>{var{width:n,height:r}=e,[i,a]=(0,LZ.useState)({containerWidth:PZ(n),containerHeight:PZ(r)}),o=(0,LZ.useCallback)((e,t)=>{a(n=>{var r=Math.round(e),i=Math.round(t);return n.containerWidth===r&&n.containerHeight===i?n:{containerWidth:r,containerHeight:i}})},[]),s=(0,LZ.useCallback)(e=>{if(typeof t==`function`&&t(e),e!=null){var{width:n,height:r}=e.getBoundingClientRect();o(n,r)}},[t,o]);return IZ.createElement(IZ.Fragment,null,IZ.createElement(dy,{width:i.containerWidth,height:i.containerHeight}),IZ.createElement(`div`,NZ({ref:s},e)))}),VZ=(0,LZ.forwardRef)((e,t)=>{var{width:n,height:r}=e;return IZ.createElement(IZ.Fragment,null,IZ.createElement(dy,{width:n,height:r}),IZ.createElement(`div`,NZ({ref:t},e)))}),HZ=(0,LZ.forwardRef)((e,t)=>{var{width:n,height:r}=e;return typeof n==`string`||typeof r==`string`?IZ.createElement(BZ,NZ({},e,{ref:t})):typeof n==`number`&&typeof r==`number`?IZ.createElement(VZ,NZ({},e,{width:n,height:r,ref:t})):IZ.createElement(IZ.Fragment,null,IZ.createElement(dy,{width:n,height:r}),IZ.createElement(`div`,NZ({ref:t},e)))}),UZ=(0,LZ.forwardRef)((e,t)=>{var{children:n,className:r,height:i,onClick:a,onContextMenu:o,onDoubleClick:s,onMouseDown:c,onMouseEnter:l,onMouseLeave:u,onMouseMove:d,onMouseUp:f,onTouchEnd:p,onTouchMove:m,onTouchStart:h,style:g,width:_,responsive:v,dispatchTouchEvents:y=!0}=e,b=(0,LZ.useRef)(null),x=hm(),[S,C]=(0,LZ.useState)(null),[w,T]=(0,LZ.useState)(null),E=TZ(),D=Jv(),O=D?.width>0?D.width:_,k=D?.height>0?D.height:i,A=(0,LZ.useCallback)(e=>{E(e),typeof t==`function`&&t(e),C(e),T(e),e!=null&&(b.current=e)},[E,t,C,T]),j=(0,LZ.useCallback)(e=>{x(YY(e)),x(wX({handler:a,reactEvent:e}))},[x,a]),M=(0,LZ.useCallback)(e=>{x(ZY(e)),x(wX({handler:l,reactEvent:e}))},[x,l]),N=(0,LZ.useCallback)(e=>{x(SN()),x(wX({handler:u,reactEvent:e}))},[x,u]),ee=(0,LZ.useCallback)(e=>{x(ZY(e)),x(wX({handler:d,reactEvent:e}))},[x,d]),te=(0,LZ.useCallback)(()=>{x(hX())},[x]),ne=(0,LZ.useCallback)(()=>{x(gX())},[x]),re=(0,LZ.useCallback)(e=>{x(mX(e.key))},[x]),ie=(0,LZ.useCallback)(e=>{x(wX({handler:o,reactEvent:e}))},[x,o]),ae=(0,LZ.useCallback)(e=>{x(wX({handler:s,reactEvent:e}))},[x,s]),oe=(0,LZ.useCallback)(e=>{x(wX({handler:c,reactEvent:e}))},[x,c]),se=(0,LZ.useCallback)(e=>{x(wX({handler:f,reactEvent:e}))},[x,f]),ce=(0,LZ.useCallback)(e=>{x(wX({handler:h,reactEvent:e}))},[x,h]),P=(0,LZ.useCallback)(e=>{y&&x(NX(e)),x(wX({handler:m,reactEvent:e}))},[x,y,m]),le=(0,LZ.useCallback)(e=>{x(wX({handler:p,reactEvent:e}))},[x,p]),ue=FZ(v);return IZ.createElement(IF.Provider,{value:S},IZ.createElement(od.Provider,{value:w},IZ.createElement(ue,{width:O??g?.width,height:k??g?.height,className:U(`recharts-wrapper`,r),style:kZ({position:`relative`,cursor:`default`,width:O,height:k},g),onClick:j,onContextMenu:ie,onDoubleClick:ae,onFocus:te,onBlur:ne,onKeyDown:re,onMouseDown:oe,onMouseEnter:M,onMouseLeave:N,onMouseMove:ee,onMouseUp:se,onTouchEnd:le,onTouchMove:P,onTouchStart:ce,ref:A},IZ.createElement(RZ,null),n)))})}));function GZ(e,t){if(e==null)return{};var n,r,i=KZ(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function KZ(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}var qZ,JZ,YZ,XZ,ZZ=o((()=>{qZ=u(f()),JZ=u(f()),wZ(),WZ(),aG(),Wu(),py(),YZ=[`width`,`height`,`responsive`,`children`,`className`,`style`,`compact`,`title`,`desc`],XZ=(0,JZ.forwardRef)((e,t)=>{var{width:n,height:r,responsive:i,children:a,className:o,style:s,compact:c,title:l,desc:u}=e,d=Bu(GZ(e,YZ));return c?qZ.createElement(qZ.Fragment,null,qZ.createElement(dy,{width:n,height:r}),qZ.createElement(CZ,{otherAttributes:d,title:l,desc:u},a)):qZ.createElement(UZ,{className:o,style:s,width:n,height:r,responsive:i??!1,onClick:e.onClick,onMouseLeave:e.onMouseLeave,onMouseEnter:e.onMouseEnter,onMouseMove:e.onMouseMove,onMouseDown:e.onMouseDown,onMouseUp:e.onMouseUp,onContextMenu:e.onContextMenu,onDoubleClick:e.onDoubleClick,onTouchStart:e.onTouchStart,onTouchMove:e.onTouchMove,onTouchEnd:e.onTouchEnd},qZ.createElement(CZ,{otherAttributes:d,title:l,desc:u,ref:t},qZ.createElement(rG,null,a)))})}));function QZ(){return QZ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},QZ.apply(null,arguments)}function $Z(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function afe(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?$Z(Object(n),!0).forEach(function(t){ofe(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$Z(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function ofe(e,t,n){return(t=sfe(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function sfe(e){var t=cfe(e,`string`);return typeof t==`symbol`?t:t+``}function cfe(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var eQ,tQ,nQ,rQ,iQ,aQ=o((()=>{eQ=u(f()),tQ=u(f()),ZX(),zW(),tZ(),iZ(),cZ(),ZZ(),Fp(),WX(),nQ={top:5,right:5,bottom:5,left:5},rQ=afe({accessibilityLayer:!0,barCategoryGap:`10%`,barGap:4,layout:`horizontal`,margin:nQ,responsive:!1,reverseStackOrder:!1,stackOffset:`none`,syncMethod:`index`},BX),iQ=(0,tQ.forwardRef)(function(e,t){var n=Pp(e.categoricalChartProps,rQ),{chartName:r,defaultTooltipEventType:i,validateTooltipEventTypes:a,tooltipPayloadSearcher:o,categoricalChartProps:s}=e,c={chartName:r,defaultTooltipEventType:i,validateTooltipEventTypes:a,tooltipPayloadSearcher:o,eventEmitter:void 0};return eQ.createElement(JX,{preloadedState:{options:c},reduxStoreName:s.id??r},eQ.createElement(RW,{chartData:s.data}),eQ.createElement(eZ,{layout:n.layout,margin:n.margin}),eQ.createElement(sZ,{throttleDelay:n.throttleDelay,throttledEvents:n.throttledEvents}),eQ.createElement(nZ,{baseValue:n.baseValue,accessibilityLayer:n.accessibilityLayer,barCategoryGap:n.barCategoryGap,maxBarSize:n.maxBarSize,stackOffset:n.stackOffset,barGap:n.barGap,barSize:n.barSize,syncId:n.syncId,syncMethod:n.syncMethod,className:n.className,reverseStackOrder:n.reverseStackOrder}),eQ.createElement(XZ,QZ({},n,{ref:t})))})})),oQ,sQ,cQ,lQ,lfe=o((()=>{oQ=u(f()),sQ=u(f()),JF(),aQ(),cQ=[`axis`],lQ=(0,sQ.forwardRef)((e,t)=>oQ.createElement(iQ,{chartName:`LineChart`,defaultTooltipEventType:`axis`,validateTooltipEventTypes:cQ,tooltipPayloadSearcher:WF,categoricalChartProps:e,ref:t}))}));function ufe(e){var t=hm();return(0,uQ.useEffect)(()=>{t(dX(e))},[t,e]),null}var uQ,dfe=o((()=>{uQ=u(f()),Y(),pX()}));function dQ(){return dQ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},dQ.apply(null,arguments)}function ffe(e,t){if(e==null)return{};var n,r,i=pfe(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function pfe(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function fQ(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function mfe(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?fQ(Object(n),!0).forEach(function(t){hfe(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):fQ(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function hfe(e,t,n){return(t=gfe(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function gfe(e){var t=_fe(e,`string`);return typeof t==`symbol`?t:t+``}function _fe(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var pQ,mQ,hQ,gQ,_Q,vQ,yQ=o((()=>{pQ=u(f()),mQ=u(f()),ZX(),zW(),tZ(),iZ(),cZ(),dfe(),ZZ(),Fp(),WX(),hQ=[`layout`],gQ={top:5,right:5,bottom:5,left:5},_Q=mfe({accessibilityLayer:!0,stackOffset:`none`,barCategoryGap:`10%`,barGap:4,margin:gQ,reverseStackOrder:!1,syncMethod:`index`,layout:`radial`,responsive:!1,cx:`50%`,cy:`50%`,innerRadius:0,outerRadius:`80%`},BX),vQ=(0,pQ.forwardRef)(function(e,t){var n=Pp(e.categoricalChartProps,_Q),{layout:r}=n,i=ffe(n,hQ),{chartName:a,defaultTooltipEventType:o,validateTooltipEventTypes:s,tooltipPayloadSearcher:c}=e,l={chartName:a,defaultTooltipEventType:o,validateTooltipEventTypes:s,tooltipPayloadSearcher:c,eventEmitter:void 0};return mQ.createElement(JX,{preloadedState:{options:l},reduxStoreName:n.id??a},mQ.createElement(RW,{chartData:n.data}),mQ.createElement(eZ,{layout:r,margin:n.margin}),mQ.createElement(sZ,{throttleDelay:n.throttleDelay,throttledEvents:n.throttledEvents}),mQ.createElement(nZ,{baseValue:void 0,accessibilityLayer:n.accessibilityLayer,barCategoryGap:n.barCategoryGap,maxBarSize:n.maxBarSize,stackOffset:n.stackOffset,barGap:n.barGap,barSize:n.barSize,syncId:n.syncId,syncMethod:n.syncMethod,className:n.className,reverseStackOrder:n.reverseStackOrder}),mQ.createElement(ufe,{cx:n.cx,cy:n.cy,startAngle:n.startAngle,endAngle:n.endAngle,innerRadius:n.innerRadius,outerRadius:n.outerRadius}),mQ.createElement(XZ,dQ({},i,{ref:t})))})}));function bQ(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function xQ(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?bQ(Object(n),!0).forEach(function(t){vfe(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):bQ(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function vfe(e,t,n){return(t=yfe(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function yfe(e){var t=bfe(e,`string`);return typeof t==`symbol`?t:t+``}function bfe(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var SQ,CQ,wQ,TQ,EQ,xfe=o((()=>{SQ=u(f()),CQ=u(f()),JF(),yQ(),Fp(),wQ=[`item`],TQ=xQ(xQ({},_Q),{},{layout:`centric`,startAngle:0,endAngle:360}),EQ=(0,CQ.forwardRef)((e,t)=>{var n=Pp(e,TQ);return SQ.createElement(vQ,{chartName:`PieChart`,defaultTooltipEventType:`item`,validateTooltipEventTypes:wQ,tooltipPayloadSearcher:WF,categoricalChartProps:n,ref:t})})})),Sfe=s((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});function t(e){return typeof Buffer<`u`&&Buffer.isBuffer(e)}e.isBuffer=t})),Cfe=s((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});function t(e){let t=e?.constructor;return e===(typeof t==`function`?t.prototype:Object.prototype)}e.isPrototype=t})),wfe=s((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=tm();function n(e){return t.isTypedArray(e)}e.isTypedArray=n})),Tfe=s((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=pC();function n(e){let n=t.toFinite(e),r=n%1;return r?n-r:n}e.toInteger=n})),Efe=s((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=Tfe();function n(e,n){if(e=t.toInteger(e),e<1||!Number.isSafeInteger(e))return[];let r=Array(e);for(let t=0;t<e;t++)r[t]=typeof n==`function`?n(t):t;return r}e.times=n})),Dfe=s((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=Sfe(),n=Cfe(),r=qp(),i=wfe(),a=Efe();function o(e){if(e==null)return[];switch(typeof e){case`object`:case`function`:return r.isArrayLike(e)?l(e):n.isPrototype(e)?c(e):s(e);default:return s(Object(e))}}function s(e){let t=[];for(let n in e)t.push(n);return t}function c(e){return s(e).filter(e=>e!==`constructor`)}function l(e){let n=a.times(e.length,e=>`${e}`),r=new Set(n);t.isBuffer(e)&&(r.add(`offset`),r.add(`parent`)),i.isTypedArray(e)&&(r.add(`buffer`),r.add(`byteLength`),r.add(`byteOffset`));let o=s(e).filter(e=>!r.has(e));return Array.isArray(e)?[...n,...o]:[...n.filter(t=>Object.hasOwn(e,t)),...o]}e.keysIn=o})),Ofe=s((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=qf(),n=Uf(),r=Wf(),i=Gf(),a=Kf();function o(e,t){if(e==null)return!0;switch(typeof t){case`symbol`:case`number`:case`object`:if(Array.isArray(t))return s(e,t);if(typeof t==`number`?t=i.toKey(t):typeof t==`object`&&(t=Object.is(t?.valueOf(),-0)?`-0`:String(t)),n.isUnsafeProperty(t))return!1;if(e?.[t]===void 0)return!0;try{return delete e[t],!0}catch{return!1}case`string`:if(e?.[t]===void 0&&r.isDeepKey(t))return s(e,a.toPath(t));if(n.isUnsafeProperty(t))return!1;try{return delete e[t],!0}catch{return!1}}}function s(e,r){let i=r.length===1?e:t.get(e,r.slice(0,-1)),a=r[r.length-1];if(i?.[a]===void 0)return!0;if(n.isUnsafeProperty(a))return!1;try{return delete i[a],!0}catch{return!1}}e.unset=o})),kfe=s((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=Qp();function n(e){let n=[];for(;e;)n.push(...t.getSymbols(e)),e=Object.getPrototypeOf(e);return n}e.getSymbolsIn=n})),Afe=s((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=qp();function n(e,n=1){let r=[],i=Math.floor(n);if(!t.isArrayLike(e))return r;let a=(e,t)=>{for(let n=0;n<e.length;n++){let o=e[n];t<i&&(Array.isArray(o)||o?.[Symbol.isConcatSpreadable]||typeof o==`object`&&o&&Object.prototype.toString.call(o)===`[object Arguments]`)?a(Array.isArray(o)?o:Array.from(o),t+1):r.push(o)}};return a(Array.from(e),0),r}e.flatten=n})),jfe=s((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=rm(),n=Dfe(),r=Ofe(),i=kfe(),a=Wf(),o=Afe(),s=CB();function c(e,...t){if(e==null)return{};t=o.flatten(t);let n=l(e,t);for(let e=0;e<t.length;e++){let i=t[e];switch(typeof i){case`object`:Array.isArray(i)||(i=Array.from(i));for(let e=0;e<i.length;e++){let t=i[e];r.unset(n,t)}break;case`string`:case`symbol`:case`number`:r.unset(n,i);break}}return n}function l(e,t){return t.some(e=>Array.isArray(e)||a.isDeepKey(e))?d(e):u(e)}function u(e){let t={},r=[...n.keysIn(e),...i.getSymbolsIn(e)];for(let n=0;n<r.length;n++){let i=r[n];t[i]=e[i]}return t}function d(e){let r={},a=[...n.keysIn(e),...i.getSymbolsIn(e)];for(let n=0;n<a.length;n++){let i=a[n];r[i]=t.cloneDeepWith(e[i],e=>{if(!s.isPlainObject(e))return e})}return r}e.omit=c})),DQ=s(((e,t)=>{t.exports=jfe().omit}));function Mfe(e,t){if(e==null)return{};var n,r,i=Nfe(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function Nfe(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function OQ(){return OQ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},OQ.apply(null,arguments)}function kQ(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function AQ(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?kQ(Object(n),!0).forEach(function(t){jQ(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):kQ(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function jQ(e,t,n){return(t=Pfe(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Pfe(e){var t=Ffe(e,`string`);return typeof t==`symbol`?t:t+``}function Ffe(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function Ife(e){return typeof e==`object`&&!!e&&`x`in e&&`y`in e&&`width`in e&&`height`in e&&typeof e.x==`number`&&typeof e.y==`number`&&typeof e.width==`number`&&typeof e.height==`number`}function Lfe(e){var{content:t,nodeProps:n,type:r,colorPanel:i,onMouseEnter:a,onMouseLeave:o,onClick:s}=e;if(MQ.isValidElement(t))return MQ.createElement(W,{onMouseEnter:a,onMouseLeave:o,onClick:s},MQ.cloneElement(t,n));if(typeof t==`function`)return MQ.createElement(W,{onMouseEnter:a,onMouseLeave:o,onClick:s},t(n));var{x:c,y:l,width:u,height:d,index:f}=n,p=null;u>10&&d>10&&n.children&&r===`nest`&&(p=MQ.createElement(bR,{points:[{x:c+2,y:l+d/2},{x:c+6,y:l+d/2+3},{x:c+2,y:l+d/2+6}]}));var m=null,h=GI(n.name);u>20&&d>20&&h.width<u&&h.height<d&&(m=MQ.createElement(`text`,{x:c+8,y:l+d/2+7,fontSize:14},n.name));var g=i||dv;return MQ.createElement(`g`,null,MQ.createElement(BS,OQ({fill:n.depth<2?g[f%g.length]:`rgba(255,255,255,0)`,stroke:`#fff`},(0,PQ.default)(n,[`children`]),{onMouseEnter:a,onMouseLeave:o,onClick:s,\"data-recharts-item-index\":n.tooltipIndex})),p,m)}function Rfe(e){var t=hm(),n={x:e.nodeProps.x+e.nodeProps.width/2,y:e.nodeProps.y+e.nodeProps.height/2};return MQ.createElement(Lfe,OQ({},e,{onMouseEnter:()=>{t(bN({activeIndex:e.nodeProps.tooltipIndex,activeDataKey:e.dataKey,activeCoordinate:n,activeGraphicalItemId:e.id}))},onMouseLeave:()=>{},onClick:()=>{t(CN({activeIndex:e.nodeProps.tooltipIndex,activeDataKey:e.dataKey,activeCoordinate:n,activeGraphicalItemId:e.id}))}}))}function zfe(e){var{content:t,nodeProps:n,isLeaf:r,treemapProps:i,onNestClick:a}=e,{id:o,isAnimationActive:s,animationBegin:c,animationDuration:l,animationEasing:u,isUpdateAnimationActive:d,type:f,colorPanel:p,dataKey:m,onAnimationStart:h,onAnimationEnd:g,onMouseEnter:_,onClick:v,onMouseLeave:y}=i,{width:b,height:x,x:S,y:C}=n,w=-S-b,T=0,E=e=>{(r||f===`nest`)&&typeof _==`function`&&_(n,e)},D=e=>{(r||f===`nest`)&&typeof y==`function`&&y(n,e)},O=()=>{f===`nest`&&a(n),(r||f===`nest`)&&typeof v==`function`&&v(n)},k=(0,NQ.useCallback)(()=>{typeof g==`function`&&g()},[g]),A=(0,NQ.useCallback)(()=>{typeof h==`function`&&h()},[h]);return MQ.createElement(zY,{animationId:`treemap-${n.tooltipIndex}`,from:`translate(${w}px, ${T}px)`,to:`translate(0, 0)`,attributeName:`transform`,begin:c,easing:u,isActive:s,duration:l,onAnimationStart:A,onAnimationEnd:k},e=>MQ.createElement(W,{onMouseEnter:E,onMouseLeave:D,onClick:O,style:AQ(AQ({},e),{},{transformOrigin:`${S} ${C}`})},MQ.createElement(Rfe,{id:o,content:t,dataKey:m,nodeProps:AQ(AQ({},n),{},{isAnimationActive:s,isUpdateAnimationActive:!d,width:b,height:x,x:S,y:C}),type:f,colorPanel:p})))}function Bfe(e){var t=hm(),n=ry(),r=iy();if(!E_(n)||!E_(r))return null;var{id:i}=e;return MQ.createElement(lV,{id:i,type:`treemap`},i=>MQ.createElement($Q,OQ({},e,{id:i,width:n,height:r,dispatch:t})))}function Vfe(e){var t=Pp(e,YQ),{className:n,style:r,width:i,height:a,throttleDelay:o,throttledEvents:s}=t,[c,l]=(0,NQ.useState)(null);return MQ.createElement(JX,{preloadedState:{options:BQ},reduxStoreName:t.className??`Treemap`},MQ.createElement(fy,{margin:QQ}),MQ.createElement(sZ,{throttleDelay:o,throttledEvents:s}),MQ.createElement(UZ,{dispatchTouchEvents:!1,className:n,style:r,width:i,height:a,responsive:!1,ref:e=>{c==null&&e!=null&&l(e)},onMouseEnter:void 0,onMouseLeave:void 0,onClick:void 0,onMouseMove:void 0,onMouseDown:void 0,onMouseUp:void 0,onContextMenu:void 0,onDoubleClick:void 0,onTouchStart:void 0,onTouchMove:void 0,onTouchEnd:void 0},MQ.createElement(IF.Provider,{value:c},MQ.createElement(Bfe,t))))}var MQ,NQ,PQ,FQ,IQ,LQ,RQ,zQ,BQ,VQ,HQ,UQ,WQ,GQ,KQ,qQ,JQ,YQ,XQ,ZQ,QQ,$Q,Hfe=o((()=>{MQ=u(f()),NQ=u(f()),PQ=u(DQ()),FQ=u(Jf()),id(),$u(),xR(),VS(),nv(),mv(),q(),KI(),py(),RF(),WZ(),kN(),YB(),ZX(),cZ(),Y(),D_(),Wu(),HY(),Fp(),uV(),WX(),IQ=[`width`,`height`,`className`,`style`,`children`,`type`],LQ=`value`,RQ=(e,t)=>{if(!(!e||!t))return(0,FQ.default)(e,t)},zQ=function(e){return`${arguments.length>1&&arguments[1]!==void 0?arguments[1]:``}children[${e}]`},BQ={chartName:`Treemap`,defaultTooltipEventType:`item`,validateTooltipEventTypes:[`item`],tooltipPayloadSearcher:RQ,eventEmitter:void 0},VQ=e=>{var{depth:t,node:n,index:r,dataKey:i,nameKey:a,nestedActiveTooltipIndex:o}=e,s=t===0?``:zQ(r,o),{children:c}=n,l=t+1,u=c&&c.length?c.map((e,t)=>VQ({depth:l,node:e,index:t,dataKey:i,nameKey:a,nestedActiveTooltipIndex:s})):null,d;if(u&&u.length)d=u.reduce((e,t)=>e+t.value,0);else{var f=n[i],p=typeof f==`number`?f:0;d=ip(p)||p<=0?0:p}return AQ(AQ({},n),{},{children:u,name:A_(n,a,``),[LQ]:d,depth:t,index:r,tooltipIndex:s})},HQ=e=>({x:e.x,y:e.y,width:e.width,height:e.height}),UQ=(e,t)=>{var n=t<0?0:t;return e.map(e=>{var t=e[LQ]*n;return AQ(AQ({},e),{},{area:ip(t)||t<=0?0:t})})},WQ=(e,t,n)=>{var r=t*t,i=e.area*e.area,{min:a,max:o}=e.reduce((e,t)=>({min:Math.min(e.min,t.area),max:Math.max(e.max,t.area)}),{min:1/0,max:0});return i?Math.max(r*o*n/i,i/(r*a*n)):1/0},GQ=(e,t,n,r)=>{var i=t?Math.round(e.area/t):0;(r||i>n.height)&&(i=n.height);for(var a=n.x,o,s=0,c=e.length;s<c;s++)o=e[s],o!=null&&(o.x=a,o.y=n.y,o.height=i,o.width=Math.min(i?Math.round(o.area/i):0,n.x+n.width-a),a+=o.width);return o!=null&&(o.width+=n.x+n.width-a),AQ(AQ({},n),{},{y:n.y+i,height:n.height-i})},KQ=(e,t,n,r)=>{var i=t?Math.round(e.area/t):0;(r||i>n.width)&&(i=n.width);for(var a=n.y,o,s=0,c=e.length;s<c;s++)o=e[s],o!=null&&(o.x=n.x,o.y=a,o.width=i,o.height=Math.min(i?Math.round(o.area/i):0,n.y+n.height-a),a+=o.height);return o&&(o.height+=n.y+n.height-a),AQ(AQ({},n),{},{x:n.x+i,width:n.width-i})},qQ=(e,t,n,r)=>t===n.width?GQ(e,t,n,r):KQ(e,t,n,r),JQ=(e,t)=>{var{children:n}=e;if(n&&n.length){var r=HQ(e),i=[],a=1/0,o,s,c=Math.min(r.width,r.height),l=UQ(n,r.width*r.height/e[LQ]),u=l.slice();for(i.area=0;u.length>0;)[o]=u,o!=null&&(i.push(o),i.area+=o.area,s=WQ(i,c,t),s<=a?(u.shift(),a=s):(i.area-=i.pop()?.area??0,r=qQ(i,c,r,!1),c=Math.min(r.width,r.height),i.length=i.area=0,a=1/0));return i.length&&=(r=qQ(i,c,r,!0),i.area=0),AQ(AQ({},e),{},{children:l.map(e=>JQ(e,t))})}return e},YQ=AQ({aspectRatio:.5*(1+Math.sqrt(5)),dataKey:`value`,nameKey:`name`,type:`flat`,isAnimationActive:`auto`,isUpdateAnimationActive:`auto`,animationBegin:0,animationDuration:1500,animationEasing:`linear`},BX),XQ={isAnimationFinished:!1,formatRoot:null,currentRoot:void 0,nestIndex:[],prevAspectRatio:YQ.aspectRatio,prevDataKey:YQ.dataKey},ZQ=MQ.memo(e=>{var{dataKey:t,nameKey:n,stroke:r,fill:i,currentRoot:a,id:o}=e,s={dataDefinedOnItem:a,getPosition:tp,settings:{stroke:r,strokeWidth:void 0,fill:i,dataKey:t,nameKey:n,name:void 0,hide:!1,type:void 0,color:i,unit:``,graphicalItemId:o}};return MQ.createElement(qB,{tooltipEntrySettings:s})}),QQ={top:0,right:0,bottom:0,left:0},$Q=class extends NQ.PureComponent{constructor(){super(...arguments),jQ(this,`state`,AQ({},XQ)),jQ(this,`handleClick`,e=>{var{onClick:t,type:n}=this.props;if(n===`nest`&&e.children){var{width:r,height:i,dataKey:a,nameKey:o,aspectRatio:s}=this.props,c=VQ({depth:0,node:AQ(AQ({},e),{},{x:0,y:0,width:r,height:i}),index:0,dataKey:a,nameKey:o,nestedActiveTooltipIndex:e.tooltipIndex}),l=JQ(c,s),{nestIndex:u}=this.state;u.push(e),this.setState({formatRoot:l,currentRoot:c,nestIndex:u})}t&&t(e)}),jQ(this,`handleTouchMove`,e=>{var t=e.touches[0];if(t!=null){var n=document.elementFromPoint(t.clientX,t.clientY);if(!(!n||!n.getAttribute||this.state.formatRoot==null)){var r=n.getAttribute(`data-recharts-item-index`),i=RQ(this.state.formatRoot,r);if(Ife(i)){var{dataKey:a,dispatch:o}=this.props;o(bN({activeIndex:r,activeDataKey:a,activeCoordinate:{x:i.x+i.width/2,y:i.y+i.height/2},activeGraphicalItemId:this.props.id}))}}}})}static getDerivedStateFromProps(e,t){if(e.data!==t.prevData||e.type!==t.prevType||e.width!==t.prevWidth||e.height!==t.prevHeight||e.dataKey!==t.prevDataKey||e.aspectRatio!==t.prevAspectRatio){var n=VQ({depth:0,node:{children:e.data,x:0,y:0,width:e.width,height:e.height},index:0,dataKey:e.dataKey,nameKey:e.nameKey}),r=JQ(n,e.aspectRatio);return AQ(AQ({},t),{},{formatRoot:r,currentRoot:n,nestIndex:[n],prevAspectRatio:e.aspectRatio,prevData:e.data,prevWidth:e.width,prevHeight:e.height,prevDataKey:e.dataKey,prevType:e.type})}return null}handleNestIndex(e,t){var{nestIndex:n}=this.state,{width:r,height:i,dataKey:a,nameKey:o,aspectRatio:s}=this.props,c=JQ(VQ({depth:0,node:AQ(AQ({},e),{},{x:0,y:0,width:r,height:i}),index:0,dataKey:a,nameKey:o,nestedActiveTooltipIndex:e.tooltipIndex}),s);n=n.slice(0,t+1),this.setState({formatRoot:c,currentRoot:e,nestIndex:n})}renderNode(e,t){var{content:n,type:r}=this.props,i=AQ(AQ(AQ({},Bu(this.props)),t),{},{root:e}),a=!t.children||!t.children.length,{currentRoot:o}=this.state;return!(o?.children||[]).filter(e=>e.depth===t.depth&&e.name===t.name).length&&e.depth&&r===`nest`?null:MQ.createElement(W,{key:`recharts-treemap-node-${i.x}-${i.y}-${i.name}`,className:`recharts-treemap-depth-${t.depth}`},MQ.createElement(zfe,{isLeaf:a,content:n,nodeProps:i,treemapProps:this.props,onNestClick:this.handleClick}),t.children&&t.children.length?t.children.map(e=>this.renderNode(t,e)):null)}renderAllNodes(){var{formatRoot:e}=this.state;return e?this.renderNode(e,e):null}renderNestIndex(){var{nameKey:e,nestIndexContent:t}=this.props,{nestIndex:n}=this.state;return MQ.createElement(`div`,{className:`recharts-treemap-nest-index-wrapper`,style:{marginTop:`8px`,textAlign:`center`}},n.map((n,r)=>{var i=(0,FQ.default)(n,e,`root`),a=typeof i==`string`?i:`root`,o;return MQ.isValidElement(t)&&(o=MQ.cloneElement(t,n,r)),o=typeof t==`function`?t(n,r):a,MQ.createElement(`div`,{onClick:this.handleNestIndex.bind(this,n,r),key:`nest-index-${cp()}`,className:`recharts-treemap-nest-index-box`,style:{cursor:`pointer`,display:`inline-block`,padding:`0 7px`,background:`#000`,color:`#fff`,marginRight:`3px`}},o)}))}render(){var e=this.props,{width:t,height:n,className:r,style:i,children:a,type:o}=e,s=Bu(Mfe(e,IQ));return MQ.createElement(MQ.Fragment,null,MQ.createElement(ZQ,{dataKey:this.props.dataKey,nameKey:this.props.nameKey,stroke:this.props.stroke,fill:this.props.fill,currentRoot:this.state.currentRoot,id:this.props.id}),MQ.createElement(Qu,OQ({},s,{width:t,height:o===`nest`?n-30:n,onTouchMove:this.handleTouchMove}),this.renderAllNodes(),a),o===`nest`&&this.renderNestIndex())}},jQ($Q,`displayName`,`Treemap`)}));function e$(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function t$(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?e$(Object(n),!0).forEach(function(t){Ufe(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):e$(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Ufe(e,t,n){return(t=Wfe(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Wfe(e){var t=Gfe(e,`string`);return typeof t==`symbol`?t:t+``}function Gfe(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var n$,r$,i$,a$,o$,Kfe=o((()=>{n$=u(f()),r$=u(f()),JF(),Fp(),yQ(),i$=[`axis`],a$=t$(t$({},_Q),{},{layout:`centric`,startAngle:90,endAngle:-270}),o$=(0,r$.forwardRef)((e,t)=>{var n=Pp(e,a$);return n$.createElement(vQ,{chartName:`RadarChart`,defaultTooltipEventType:`axis`,validateTooltipEventTypes:i$,tooltipPayloadSearcher:WF,categoricalChartProps:n,ref:t})})})),s$,c$,l$,u$,qfe=o((()=>{s$=u(f()),c$=u(f()),JF(),aQ(),l$=[`item`],u$=(0,c$.forwardRef)((e,t)=>s$.createElement(iQ,{chartName:`ScatterChart`,defaultTooltipEventType:`item`,validateTooltipEventTypes:l$,tooltipPayloadSearcher:WF,categoricalChartProps:e,ref:t}))}));function d$(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function f$(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?d$(Object(n),!0).forEach(function(t){Jfe(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d$(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Jfe(e,t,n){return(t=Yfe(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Yfe(e){var t=Xfe(e,`string`);return typeof t==`symbol`?t:t+``}function Xfe(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var p$,m$,h$,g$,_$,Zfe=o((()=>{p$=u(f()),m$=u(f()),JF(),Fp(),yQ(),h$=[`axis`,`item`],g$=f$(f$({},_Q),{},{layout:`radial`,startAngle:0,endAngle:360}),_$=(0,m$.forwardRef)((e,t)=>{var n=Pp(e,g$);return p$.createElement(vQ,{chartName:`RadialBarChart`,defaultTooltipEventType:`axis`,validateTooltipEventTypes:h$,tooltipPayloadSearcher:WF,categoricalChartProps:n,ref:t})})})),v$,y$,b$,x$,Qfe=o((()=>{v$=u(f()),y$=u(f()),JF(),aQ(),b$=[`axis`],x$=(0,y$.forwardRef)((e,t)=>v$.createElement(iQ,{chartName:`ComposedChart`,defaultTooltipEventType:`axis`,validateTooltipEventTypes:b$,tooltipPayloadSearcher:WF,categoricalChartProps:e,ref:t}))}));function S$(){return S$=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},S$.apply(null,arguments)}function $fe(e){return C$.createElement(LB,S$({shapeType:`trapezoid`},e))}var C$,epe=o((()=>{C$=u(f()),HB()}));function w$(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function T$(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?w$(Object(n),!0).forEach(function(t){tpe(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):w$(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function tpe(e,t,n){return(t=npe(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function npe(e){var t=rpe(e,`string`);return typeof t==`symbol`?t:t+``}function rpe(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var E$,D$,ipe=o((()=>{Dm(),U$(),xv(),xC(),E$=(e,t)=>t,D$=X([vv,E$,hC],(e,t,n)=>{var{data:r,dataKey:i,nameKey:a,tooltipType:o,lastShapeType:s,reversed:c,customWidth:l,cells:u,presentationProps:d,id:f}=t,{chartData:p}=n,m;if(r!=null&&r.length>0?m=r:p!=null&&p.length>0&&(m=p),m&&m.length)m=m.map((e,t)=>T$(T$(T$({payload:e},d),e),u&&u[t]&&u[t].props));else if(u&&u.length)m=u.map(e=>T$(T$({},d),e.props));else return[];return mpe({dataKey:i,nameKey:a,displayedData:m,tooltipType:o,lastShapeType:s,reversed:c,offset:e,customWidth:l,graphicalItemId:f})})}));function O$(){return O$=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},O$.apply(null,arguments)}function k$(e,t){if(e==null)return{};var n,r,i=ape(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function ape(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function A$(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function j$(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?A$(Object(n),!0).forEach(function(t){ope(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):A$(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function ope(e,t,n){return(t=spe(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function spe(e){var t=cpe(e,`string`);return typeof t==`symbol`?t:t+``}function cpe(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function lpe(e){var{showLabels:t,trapezoids:n,children:r}=e,i=(0,N$.useMemo)(()=>{if(t)return n?.map(e=>{var t=e.labelViewBox;return j$(j$({},t),{},{value:e.name,payload:e.payload,parentViewBox:e.parentViewBox,viewBox:t,fill:e.fill})})},[t,n]);return M$.createElement(lR,{value:i},r)}function upe(e){var{trapezoids:t,allOtherFunnelProps:n}=e,r=J(e=>eF(e,`item`,e.tooltip.settings.trigger,void 0)),{onMouseEnter:i,onClick:a,onMouseLeave:o,shape:s,activeShape:c}=n,l=k$(n,F$),u=UB(i,n.dataKey,n.id),d=WB(o),f=GB(a,n.dataKey,n.id);return M$.createElement(M$.Fragment,null,t.map((e,t)=>{var n=!!c&&r===String(t),i=n?c:s,a=j$(j$({},e),{},{option:i,isActive:n,stroke:e.stroke}),{id:o}=a,p=k$(a,I$);return M$.createElement(W,O$({key:`trapezoid-${e?.x}-${e?.y}-${e?.name}-${e?.value}`,className:`recharts-funnel-trapezoid`},Ap(l,e,t),{onMouseEnter:u(e,t),onMouseLeave:d(e,t),onClick:f(e,t)}),M$.createElement($fe,p))}))}function dpe(e){var{previousTrapezoidsRef:t,props:n}=e,{trapezoids:r,isAnimationActive:i,animationBegin:a,animationDuration:o,animationEasing:s,onAnimationEnd:c,onAnimationStart:l}=n,u=t.current,[d,f]=(0,N$.useState)(!1),p=!d,m=xS(r,`recharts-funnel-`),h=(0,N$.useCallback)(()=>{typeof c==`function`&&c(),f(!1)},[c]),g=(0,N$.useCallback)(()=>{typeof l==`function`&&l(),f(!0)},[l]);return M$.createElement(lpe,{showLabels:p,trapezoids:r},M$.createElement(hS,{animationId:m,begin:a,duration:o,isActive:i,easing:s,key:m,onAnimationStart:g,onAnimationEnd:h},e=>{var i=e===1?r:r.map((t,n)=>{var r=u&&u[n];return r?j$(j$({},t),{},{x:G(r.x,t.x,e),y:G(r.y,t.y,e),upperWidth:G(r.upperWidth,t.upperWidth,e),lowerWidth:G(r.lowerWidth,t.lowerWidth,e),height:G(r.height,t.height,e)}):j$(j$({},t),{},{x:G(t.x+t.upperWidth/2,t.x,e),y:G(t.y+t.height/2,t.y,e),upperWidth:G(0,t.upperWidth,e),lowerWidth:G(0,t.lowerWidth,e),height:G(0,t.height,e)})});return e>0&&(t.current=i),M$.createElement(W,null,M$.createElement(upe,{trapezoids:i,allOtherFunnelProps:n}))}),M$.createElement(nR,{label:n.label}),n.children)}function fpe(e){var t=(0,N$.useRef)(void 0);return M$.createElement(dpe,{props:e,previousTrapezoidsRef:t})}function ppe(e){var t=UH(),{stroke:n,fill:r,legendType:i,hide:a,isAnimationActive:o,animationBegin:s,animationDuration:c,animationEasing:l,nameKey:u,lastShapeType:d,id:f}=e,p=k$(e,L$),m=Bu(e),h=pB(e.children,AI),g=(0,N$.useMemo)(()=>({dataKey:e.dataKey,nameKey:u,data:e.data,tooltipType:e.tooltipType,lastShapeType:d,reversed:e.reversed,customWidth:e.width,cells:h,presentationProps:m,id:f}),[e.dataKey,u,e.data,e.tooltipType,d,e.reversed,e.width,h,m,f]),_=J(e=>D$(e,g));if(a||!_||!_.length||!t)return null;var{height:v,width:y}=t,b=U(`recharts-trapezoids`,e.className);return M$.createElement(M$.Fragment,null,M$.createElement(z$,{dataKey:e.dataKey,nameKey:e.nameKey,stroke:e.stroke,strokeWidth:e.strokeWidth,fill:e.fill,name:e.name,hide:e.hide,tooltipType:e.tooltipType,data:e.data,trapezoids:_,id:f}),M$.createElement(W,{className:b},M$.createElement(fpe,O$({},p,{id:f,stroke:n,fill:r,nameKey:u,lastShapeType:d,animationBegin:s,animationDuration:c,animationEasing:l,isAnimationActive:o,hide:a,legendType:i,height:v,width:y,trapezoids:_}))))}function mpe(e){var{dataKey:t,nameKey:n,displayedData:r,tooltipType:i,lastShapeType:a,reversed:o,offset:s,customWidth:c,graphicalItemId:l}=e,{realHeight:u,realWidth:d,offsetX:f,offsetY:p}=B$(c,s),m=r.map(e=>{var n=A_(e,t,0);return typeof n==`number`?n:0}),h=Math.max.apply(null,m),g=r.length,_=u/g,v={x:s.left,y:s.top,width:s.width,height:s.height},y=r.map((e,o)=>{var s=A_(e,t,0),c=String(A_(e,n,o)),u=s,m;if(o!==g-1){var y=A_(r[o+1],t,0);if(typeof y==`number`)m=y;else if(Array.isArray(y)){var[b,x]=y;typeof b==`number`&&(u=b),typeof x==`number`&&(m=x)}}else if(s instanceof Array&&s.length===2){var[S,C]=s;typeof S==`number`&&(u=S),typeof C==`number`&&(m=C)}else m=a===`rectangle`?u:0;var w=(h-u)*d/(2*h)+f,T=_*o+p,E=u/h*d,D=m/h*d,O=[{name:c,value:u,payload:e,dataKey:t,type:i,graphicalItemId:l}],k={x:w+E/2,y:T+_/2},A={x:w,y:T,upperWidth:E,lowerWidth:D,width:Math.max(E,D),height:_};return j$(j$(j$({},A),{},{name:c,val:u,tooltipPayload:O,tooltipPosition:k},typeof e==`object`&&e?(0,P$.default)(e,[`width`]):{}),{},{payload:e,parentViewBox:v,labelViewBox:A})});return o&&(y=y.map((e,t)=>{var n={x:e.x-(e.lowerWidth-e.upperWidth)/2,y:e.y-t*_+(g-1-t)*_,upperWidth:e.lowerWidth,lowerWidth:e.upperWidth,width:Math.max(e.lowerWidth,e.upperWidth),height:_};return j$(j$(j$({},e),n),{},{tooltipPosition:j$(j$({},e.tooltipPosition),{},{y:e.y-t*_+(g-1-t)*_+_/2}),labelViewBox:n})})),y}function hpe(e){var t=Pp(e,V$),{id:n}=t,r=k$(t,R$);return M$.createElement(lV,{id:n,type:`funnel`},e=>M$.createElement(ppe,O$({},r,{id:e})))}var M$,N$,P$,F$,I$,L$,R$,z$,B$,V$,H$,U$=o((()=>{M$=u(f()),N$=u(f()),P$=u(DQ()),Pu(),dF(),Y(),id(),fR(),q(),nv(),Mp(),epe(),KB(),YB(),ipe(),SB(),jI(),Fp(),GH(),Wu(),bS(),CS(),uV(),F$=[`onMouseEnter`,`onClick`,`onMouseLeave`,`shape`,`activeShape`],I$=[`id`],L$=[`stroke`,`fill`,`legendType`,`hide`,`isAnimationActive`,`animationBegin`,`animationDuration`,`animationEasing`,`nameKey`,`lastShapeType`,`id`],R$=[`id`],z$=M$.memo(e=>{var{dataKey:t,nameKey:n,stroke:r,strokeWidth:i,fill:a,name:o,hide:s,tooltipType:c,data:l,trapezoids:u,id:d}=e,f={dataDefinedOnItem:l,getPosition:e=>u[Number(e)]?.tooltipPosition,settings:{stroke:r,strokeWidth:i,fill:a,dataKey:t,name:o,nameKey:n,hide:s,type:c,color:a,unit:``,graphicalItemId:d}};return M$.createElement(qB,{tooltipEntrySettings:f})}),B$=(e,t)=>{var{width:n,height:r,left:i,top:a}=t;return{realWidth:lp(e,n,n),realHeight:r,offsetX:i,offsetY:a}},V$={animationBegin:400,animationDuration:1500,animationEasing:`ease`,fill:`#808080`,hide:!1,isAnimationActive:`auto`,lastShapeType:`triangle`,legendType:`rect`,nameKey:`name`,reversed:!1,stroke:`#fff`},H$=hpe,H$.displayName=`Funnel`})),W$,G$,K$,q$,gpe=o((()=>{W$=u(f()),G$=u(f()),JF(),aQ(),K$=[`item`],q$=(0,G$.forwardRef)((e,t)=>W$.createElement(iQ,{chartName:`FunnelChart`,defaultTooltipEventType:`item`,validateTooltipEventTypes:K$,tooltipPayloadSearcher:WF,categoricalChartProps:e,ref:t}))})),J$=o((()=>{$u(),id(),zne(),Gp(),kI(),ix(),Zv(),jI(),wL(),QL(),fR(),jv(),fC(),Nx(),VS(),xR(),TR(),Bx(),Tp(),dce(),Cce(),kce(),oH(),DU(),IW(),Pu(),IA(),nv(),q(),zW(),Y(),tI(),UW(),Tv(),Ov(),hI(),Fp(),Wu(),tue(),$W(),iN(),aG(),qu(),kF(),QC(),sG(),qW(),qG(),Mue(),YK(),Dq(),EJ(),cJ(),eY(),ife(),RY(),BH(),gK(),GH(),py(),HY(),lfe(),JF(),aQ(),xfe(),Hfe(),RF(),WZ(),ZX(),kN(),YB(),cZ(),D_(),uV(),WX(),Kfe(),qfe(),Zfe(),Qfe(),eC(),U$(),gpe(),NB(),ux(),RC(),JY()}));function Y$({size:e=`md`,className:t=``}){return(0,X$.jsx)(`div`,{className:`dc:animate-spin dc:rounded-full dc:border-b-2 ${Z$[e]} ${t}`,style:{borderBottomColor:`var(--dc-primary)`},role:`status`,\"aria-label\":`Loading`})}var X$,Z$,_pe=o((()=>{X$=wu(),Z$={xs:`dc:h-3 dc:w-3`,sm:`dc:h-6 dc:w-6`,md:`dc:h-8 dc:w-8`,lg:`dc:h-12 dc:w-12`}}));function Q$({children:e,height:t=`100%`}){let{t:n}=Au(),r=(0,$$.useRef)(null),[i,a]=(0,$$.useState)(!1),[o,s]=(0,$$.useState)({width:0,height:0}),c=(0,$$.useRef)({width:0,height:0}),l=(0,$$.useRef)(!1),u=(0,$$.useRef)(null),d=(0,$$.useRef)(null);(0,$$.useLayoutEffect)(()=>{let e=!0,t=null,n=()=>{if(d.current=null,!e)return;let t=u.current;if(u.current=null,!t)return;let n=Math.round(t.width),r=Math.round(t.height);if(n<=0||r<=0)return;let i=c.current.width!==n||c.current.height!==r,o=!l.current;!i&&!o||(c.current={width:n,height:r},l.current=!0,(0,$$.startTransition)(()=>{i&&s({width:n,height:r}),o&&a(!0)}))},i=(e,t)=>{u.current={width:e,height:t},d.current===null&&(d.current=requestAnimationFrame(n))};return t=new ResizeObserver(e=>{for(let t of e){let{width:e,height:n}=t.contentRect;e>0&&n>0&&i(e,n)}}),r.current&&(t.observe(r.current),(()=>{if(!e||!r.current)return;let t=r.current.getBoundingClientRect(),n=Math.max(r.current.clientWidth,t.width),a=Math.max(r.current.clientHeight,t.height);n>0&&a>0&&i(n,a)})()),()=>{e=!1,d.current!==null&&(cancelAnimationFrame(d.current),d.current=null),t?.disconnect()}},[]);try{return t===`100%`?(0,e1.jsx)(`div`,{ref:r,className:`dc:w-full dc:h-full dc:flex-1 dc:flex dc:flex-col dc:relative`,style:{minHeight:`250px`,minWidth:`100px`,overflow:`hidden`,userSelect:`none`},children:i&&o.width>0&&o.height>0?(0,e1.jsx)(Xv,{width:o.width,height:o.height-16,debounce:100,style:{marginTop:`16px`},children:e}):(0,e1.jsx)(`div`,{className:`dc:flex dc:items-center dc:justify-center dc:w-full dc:h-full`,children:(0,e1.jsx)(Y$,{size:`sm`})})}):(0,e1.jsx)(`div`,{ref:r,className:`dc:w-full dc:flex dc:flex-col dc:relative`,style:{height:typeof t==`number`?`${t}px`:t,width:`100%`,minHeight:`200px`,minWidth:`100px`,userSelect:`none`,overflow:`hidden`},children:i&&o.width>0&&o.height>0?(0,e1.jsx)(Xv,{width:o.width,height:o.height-16,debounce:100,style:{marginTop:`16px`},children:e}):(0,e1.jsx)(`div`,{className:`dc:flex dc:items-center dc:justify-center dc:w-full dc:h-full`,children:(0,e1.jsx)(Y$,{size:`sm`})})})}catch(e){return(0,e1.jsxs)(`div`,{className:`dc:flex dc:flex-col dc:items-center dc:justify-center dc:w-full dc:h-full dc:p-4 dc:text-center dc:border dc:border-dashed dc:rounded-lg`,style:{height:t,borderColor:`var(--dc-border)`,backgroundColor:`var(--dc-surface)`},children:[(0,e1.jsx)(`div`,{className:`dc:text-sm dc:font-semibold dc:mb-1 text-dc-text-muted`,children:n(`chart.runtime.unableToDisplay`)}),(0,e1.jsx)(`div`,{className:`dc:text-xs text-dc-text-secondary`,children:e instanceof Error?e.message:`Failed to create responsive container`})]})}}var $$,e1,t1=o((()=>{$$=u(f(),1),J$(),Mu(),_pe(),e1=wu()}));function n1(e){return e!=null&&!isNaN(Number(e))}function r1(e){if(e==null)return null;let t=typeof e==`string`?parseFloat(e):Number(e);return isNaN(t)?null:t}function i1(e){if(e==null)return`No data`;let t=typeof e==`number`?e:parseFloat(e);return isNaN(t)?String(e):Number.isInteger(t)?t.toLocaleString():parseFloat(t.toFixed(2)).toLocaleString()}function a1(e,t,n){if(e==null)return`No data`;let r=typeof e==`number`?e:parseFloat(String(e));if(isNaN(r))return String(e);if(!isFinite(r))return r>0?`∞`:`-∞`;let i=n||(typeof navigator<`u`?navigator.language:`en-US`);if(!t)return i1(e);let{unit:a,abbreviate:o=!0,decimals:s,customPrefix:c,customSuffix:l}=t,u=r,d=``;if(o){let e=Math.abs(r);e>=1e9?(u=r/1e9,d=`B`):e>=1e6?(u=r/1e6,d=`M`):e>=1e3&&(u=r/1e3,d=`K`)}let f=s===void 0?Number.isInteger(u)?0:2:s;switch(a){case`currency`:{let e=vpe(i);if(o&&d){let t=new Intl.NumberFormat(i,{style:`currency`,currency:e,minimumFractionDigits:f,maximumFractionDigits:f}).format(u),n=new Intl.NumberFormat(i,{style:`currency`,currency:e}).formatToParts(u);return n[n.length-1]?.type===`currency`?t.replace(/(\\s*[^\\d\\s]+)$/,d+`$1`):t+d}return new Intl.NumberFormat(i,{style:`currency`,currency:e,minimumFractionDigits:f,maximumFractionDigits:f}).format(u)}case`percent`:{let e=Math.abs(u)<=1&&!o?u*100:u;return new Intl.NumberFormat(i,{minimumFractionDigits:f,maximumFractionDigits:f}).format(e)+d+`%`}case`custom`:{let e=c||``,t=l||``;return e+new Intl.NumberFormat(i,{minimumFractionDigits:f,maximumFractionDigits:f}).format(u)+d+t}default:return new Intl.NumberFormat(i,{minimumFractionDigits:f,maximumFractionDigits:f}).format(u)+d}}function vpe(e){return{US:`USD`,CA:`CAD`,GB:`GBP`,UK:`GBP`,AU:`AUD`,NZ:`NZD`,EU:`EUR`,DE:`EUR`,FR:`EUR`,IT:`EUR`,ES:`EUR`,NL:`EUR`,BE:`EUR`,AT:`EUR`,IE:`EUR`,PT:`EUR`,FI:`EUR`,JP:`JPY`,CN:`CNY`,KR:`KRW`,IN:`INR`,BR:`BRL`,MX:`MXN`,CH:`CHF`,SE:`SEK`,NO:`NOK`,DK:`DKK`,PL:`PLN`,RU:`RUB`,ZA:`ZAR`,SG:`SGD`,HK:`HKD`,TW:`TWD`,TH:`THB`,MY:`MYR`,PH:`PHP`,ID:`IDR`,VN:`VND`,AE:`AED`,SA:`SAR`,IL:`ILS`,TR:`TRY`}[e.split(`-`)[1]?.toUpperCase()]||`USD`}function o1(e,t){if(!e)return`Unknown`;let n=String(e);if(n.match(/^\\d{4}-\\d{2}-\\d{2}[T ]\\d{2}:\\d{2}:\\d{2}/)){let e=n;n.includes(` `)&&(e=n.replace(` `,`T`).replace(`+00`,`Z`).replace(/\\+\\d{2}:\\d{2}$/,`Z`)),!e.endsWith(`Z`)&&!e.includes(`+`)&&(e+=`Z`);let r=new Date(e);if(isNaN(r.getTime()))return n;let i=r.getUTCFullYear(),a=String(r.getUTCMonth()+1).padStart(2,`0`),o=String(r.getUTCDate()).padStart(2,`0`),s=r.getUTCHours(),c=r.getUTCMinutes();if(t)switch(t.toLowerCase()){case`year`:return`${i}`;case`quarter`:return`${i}-Q${Math.floor(r.getUTCMonth()/3)+1}`;case`month`:return`${i}-${a}`;case`week`:return`${i}-${a}-${o}`;case`day`:return`${i}-${a}-${o}`;case`hour`:return`${i}-${a}-${o} ${String(s).padStart(2,`0`)}:00`;case`minute`:return`${i}-${a}-${o} ${String(s).padStart(2,`0`)}:${String(c).padStart(2,`0`)}`;default:break}let l=r.getUTCSeconds(),u=r.getUTCMilliseconds();return o===`01`&&s===0&&c===0&&l===0&&u===0?a===`01`||a===`04`||a===`07`||a===`10`?`${i}-Q${Math.floor(r.getUTCMonth()/3)+1}`:`${i}-${a}`:s===0&&c===0&&l===0&&u===0?`${i}-${a}-${o}`:c===0&&l===0&&u===0?`${i}-${a}-${o} ${String(s).padStart(2,`0`)}:00`:`${i}-${a}-${o} ${String(s).padStart(2,`0`)}:${String(c).padStart(2,`0`)}`}return n}function s1(e,t){try{if(e?.timeDimensions){let n=e.timeDimensions.find(e=>t===e.dimension||t.startsWith(e.dimension.replace(`.`,`_`))||t===`${e.dimension}_${e.granularity}`);if(n?.granularity)return n.granularity}let n=t.match(/_([a-z]+)$/);if(n){let e=n[1];if([`year`,`quarter`,`month`,`week`,`day`,`hour`,`minute`,`second`].includes(e))return e}return}catch{return}}function ype(e,t,n,r,i=e=>e){if(!e||e.length===0)return[];let a=s1(r,t);return e.map(e=>{let r={name:o1(e[t],a)||e[t]||`Unknown`};return n.forEach(t=>{let n=i(t);n===`__proto__`||n===`constructor`||n===`prototype`||(r[n]=r1(e[t]))}),r})}function c1(e,t,n,r,i,a=e=>e){if(!e||e.length===0)return{data:[],seriesKeys:[],hasDimensions:!1};let o=r||{},s=[...o.dimensions||[],...o.timeDimensions?.map(e=>e.dimension)||[]],c=o.measures||[],l=n.filter(e=>c.includes(e)),u=(i||[]).filter(e=>s.includes(e));if(u.length>0){let n={};return e.forEach(e=>{let i=s1(r,t),o=o1(e[t],i)||e[t]||`Unknown`;o===`__proto__`||o===`constructor`||o===`prototype`||(n[o]||(n[o]={name:String(o)}),l.forEach(t=>{let r=a(t);if(r===`__proto__`||r===`constructor`||r===`prototype`)return;let i=r1(e[t]);if(i!==null){let e=n[o][r];n[o][r]=e==null?i:e+i}else r in n[o]||(n[o][r]=null)}),u.forEach(t=>{let r=e[t];if(r!=null){let t=String(r),i=l[0]||c.find(e=>e.includes(`totalCost`)||e.includes(`count`)||e.includes(`sum`))||c[0];if(i){if(t===`__proto__`||t===`constructor`||t===`prototype`)return;let r=r1(e[i]);if(r!==null){let e=n[o][t];n[o][t]=e==null?r:e+r}else t in n[o]||(n[o][t]=null)}}}))}),{data:Object.values(n),seriesKeys:Array.from(new Set(e.flatMap(e=>u.map(t=>{let n=e[t];return n==null?null:String(n)}).filter(e=>e!==null)))),hasDimensions:!0}}return{data:ype(e,t,n,r,a),seriesKeys:n.map(e=>a(e)),hasDimensions:!1}}var l1=o((()=>{}));function u1({formatter:e,labelFormatter:t}){return(0,d1.jsx)(CI,{formatter:e||f1,labelFormatter:t,contentStyle:{backgroundColor:`white`,border:`1px solid #e5e7eb`,borderRadius:`0.5rem`,fontSize:`0.875rem`,color:`#1f2937`,boxShadow:`0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)`,padding:`8px 12px`}})}var d1,f1,p1=o((()=>{f(),J$(),l1(),d1=wu(),f1=(e,t)=>e==null?[`No data`,t]:[i1(e),t]})),m1,h1,g1=o((()=>{f(),m1=wu(),h1=({x:e=0,y:t=0,payload:n,tickFormatter:r,index:i=0})=>{if(!n)return null;let a=r?r(n.value,i):String(n.value);return(0,m1.jsx)(`g`,{transform:`translate(${e},${t})`,children:(0,m1.jsx)(`text`,{x:0,y:0,dy:16,textAnchor:`end`,fill:`currentColor`,fontSize:12,transform:`rotate(-45)`,children:a})})}})),_1,v1,y1,b1,x1=o((()=>{_1=[`#3b82f6`,`#10b981`,`#f59e0b`,`#ef4444`,`#8b5cf6`,`#f97316`,`#06b6d4`,`#84cc16`],v1=[`#440154`,`#414487`,`#2a788e`,`#22a884`,`#7ad151`,`#fde725`],y1=`#10b981`,b1={top:5,right:30,left:20,bottom:5}}));function S1(e){if(!e||typeof e!=`string`)return[];let t=e.trim();if(!t)return[];try{let e=t.split(`,`).map(e=>e.trim()).filter(e=>e!==``).map(e=>{let t=parseFloat(e);if(isNaN(t))throw Error(`Invalid numeric value: ${e}`);return t});return e.length>0?e:[]}catch(e){return console.warn(`Failed to parse target values:`,e),[]}}function C1(e,t){if(e.length===0||t<=0)return[];if(e.length===1)return Array(t).fill(e[0]);let n=[],r=Math.floor(t/e.length),i=t%e.length,a=0;for(let t=0;t<e.length;t++){let o=r+ +(t<i);for(let r=0;r<o;r++)n[a++]=e[t]}return n}function bpe(e,t){return t===0?e===0?0:e>0?100:-100:(e-t)/t*100}function xpe(e,t=1){return`${e>=0?`+`:``}${e.toFixed(t)}%`}var w1=o((()=>{}));function Spe(){let e=(0,T1.useContext)(E1);if(!e)throw Error(`useCubeMeta must be used within CubeMetaProvider`);return e}var T1,E1,D1=o((()=>{T1=u(f(),1),E1=(0,T1.createContext)(null)}));function O1(){let e=(0,k1.useContext)(E1);if(!e)throw Error(`useCubeFieldLabel must be used within CubeProvider`);return(0,k1.useMemo)(()=>e.getFieldLabel,[e.getFieldLabel])}var k1,A1=o((()=>{k1=u(f(),1),D1()})),j1,M1,N1,Cpe=o((()=>{j1=u(f(),1),Mu(),J$(),t1(),p1(),g1(),x1(),l1(),w1(),A1(),M1=wu(),N1=j1.memo(function({data:e,chartConfig:t,displayConfig:n={},queryObject:r,height:i=`100%`,colorPalette:a,onDataPointClick:o,drillEnabled:s}){let{t:c}=Au(),[l,u]=(0,j1.useState)(null),d=O1(),f=n?.stackType??(n?.stacked?`normal`:`none`),p=f!==`none`,m=f===`percent`,h={showLegend:n?.showLegend??!0,showGrid:n?.showGrid??!0,showTooltip:n?.showTooltip??!0},g=n?.leftYAxisFormat,_=n?.rightYAxisFormat,{xAxisField:v,yAxisFields:y,seriesFields:b,configError:x}=(0,j1.useMemo)(()=>{let e,n=[],r=[],i=null;return t?.xAxis&&t?.yAxis?(e=Array.isArray(t.xAxis)?t.xAxis[0]:t.xAxis,n=Array.isArray(t.yAxis)?t.yAxis:[t.yAxis],r=t.series||[]):t?.x&&t?.y?(e=t.x,n=Array.isArray(t.y)?t.y:[t.y]):i=`Invalid or missing chart axis configuration`,!i&&(!e||!n||n.length===0)&&(i=`Missing required X-axis or Y-axis fields`),{xAxisField:e,yAxisFields:n,seriesFields:r,configError:i}},[t]),{data:S,seriesKeys:C}=(0,j1.useMemo)(()=>x||!e||e.length===0||!v?{data:[],seriesKeys:[]}:c1(e,v,y,r,b,d),[e,v,y,r,b,d,x]),w=(0,j1.useMemo)(()=>t?.yAxisAssignment||{},[t?.yAxisAssignment]),T=(0,j1.useMemo)(()=>{let e={};return y.forEach(t=>{let n=d(t);e[n]=t}),e},[y,d]),E=y.some(e=>w[e]===`right`),D=y.filter(e=>(w[e]||`left`)===`left`),O=y.filter(e=>w[e]===`right`),{chartData:k,skippedCount:A}=(0,j1.useMemo)(()=>{if(S.length===0||C.length===0)return{chartData:[],skippedCount:0};let e=S.filter(e=>C.some(t=>n1(e[t])));return{chartData:e,skippedCount:S.length-e.length}},[S,C]);try{if(!e||e.length===0)return(0,M1.jsx)(`div`,{className:`dc:flex dc:items-center dc:justify-center dc:w-full text-dc-text-muted`,style:{height:i},children:(0,M1.jsxs)(`div`,{className:`dc:text-center`,children:[(0,M1.jsx)(`div`,{className:`dc:text-sm dc:font-semibold dc:mb-1`,children:c(`chart.runtime.noData`)}),(0,M1.jsx)(`div`,{className:`dc:text-xs text-dc-text-secondary`,children:`No data points to display in bar chart`})]})});if(x)return(0,M1.jsx)(`div`,{className:`dc:flex dc:items-center dc:justify-center dc:w-full text-dc-warning`,style:{height:i},children:(0,M1.jsxs)(`div`,{className:`dc:text-center`,children:[(0,M1.jsx)(`div`,{className:`dc:text-sm dc:font-semibold dc:mb-1`,children:c(`chart.runtime.configError`)}),(0,M1.jsx)(`div`,{className:`dc:text-xs`,children:x})]})});let t=p&&!E,r=m&&!E,f=r?`expand`:void 0,v=C.length===1&&k.some(e=>{let t=e[C[0]];return typeof t==`number`&&t<0}),y=C.length===1&&!v&&!b.length&&k.length>1,S=h.showLegend,j={...b1,left:40,right:E?40:20},M=C1(S1(n?.target||``),k.length),N=k;return M.length>0&&(N=k.map((e,t)=>({...e,__target:M[t]||null}))),!k||k.length===0?(0,M1.jsx)(`div`,{className:`dc:flex dc:items-center dc:justify-center dc:w-full text-dc-text-muted`,style:{height:i},children:(0,M1.jsxs)(`div`,{className:`dc:text-center`,children:[(0,M1.jsx)(`div`,{className:`dc:text-sm dc:font-semibold dc:mb-1`,children:c(`chart.runtime.noValidData`)}),(0,M1.jsx)(`div`,{className:`dc:text-xs text-dc-text-secondary`,children:`No valid data points for bar chart after transformation`})]})}):(0,M1.jsxs)(`div`,{className:`dc:relative dc:w-full`,style:{height:i},children:[(0,M1.jsx)(Q$,{height:A>0?`calc(100% - 20px)`:`100%`,children:(0,M1.jsxs)(x$,{data:N,margin:j,stackOffset:f,accessibilityLayer:!1,children:[h.showGrid&&(0,M1.jsx)($G,{strokeDasharray:`3 3`,style:{pointerEvents:`none`}}),(0,M1.jsx)(yY,{dataKey:`name`,type:`category`,tick:(0,M1.jsx)(h1,{}),height:60}),(0,M1.jsx)(LY,{yAxisId:`left`,orientation:`left`,tick:{fontSize:12},tickFormatter:r?e=>`${(e*100).toFixed(0)}%`:g?e=>a1(e,g):void 0,domain:r?[0,1]:void 0,label:r?void 0:D.length>0?{value:g?.label||d(D[0]),angle:-90,position:`left`,style:{textAnchor:`middle`,fontSize:`12px`}}:void 0}),E&&(0,M1.jsx)(LY,{yAxisId:`right`,orientation:`right`,tick:{fontSize:12},tickFormatter:_?e=>a1(e,_):void 0,label:O.length>0?{value:_?.label||d(O[0]),angle:90,position:`right`,style:{textAnchor:`middle`,fontSize:`12px`}}:void 0}),h.showTooltip&&(0,M1.jsx)(u1,{formatter:(e,t)=>{if(e==null)return[`No data`,t];if(t===`Target`)return[a1(e,g),`Target Value`];if(r&&typeof e==`number`)return[`${(e*100).toFixed(1)}%`,t];let n=T[t];return[a1(e,(n&&w[n]===`right`?`right`:`left`)==`right`?_:g),t]}}),S&&(0,M1.jsx)(Xb,{wrapperStyle:{fontSize:`12px`,paddingTop:`25px`},iconType:`rect`,iconSize:8,layout:`horizontal`,align:`center`,verticalAlign:`bottom`,onMouseEnter:e=>u(String(e.dataKey||``)),onMouseLeave:()=>u(null)}),C.map((e,n)=>{let r=T[e];return(0,M1.jsxs)(TJ,{dataKey:e,yAxisId:r&&w[r]===`right`?`right`:`left`,stackId:t?`stack`:void 0,fill:v?y1:a?.colors&&a.colors[n%a.colors.length]||_1[n%_1.length],fillOpacity:l?l===e?1:.3:1,cursor:s?`pointer`:void 0,onClick:(t,n,i)=>{o&&s&&t&&o({dataPoint:N[n]||t,clickedField:r||e,xValue:t.name,position:{x:i.clientX,y:i.clientY},nativeEvent:i})},children:[v&&k.map((t,n)=>{let r=t[e];return(0,M1.jsx)(AI,{fill:typeof r==`number`&&r<0?`#ef4444`:`#10b981`,fillOpacity:l?l===e?1:.3:1},`cell-${n}`)}),y&&k.map((t,n)=>{let r=a?.colors||_1;return(0,M1.jsx)(AI,{fill:r[n%r.length],fillOpacity:l?l===e?1:.3:1},`cat-${n}`)})]},e)}),M.length>0&&(0,M1.jsxs)(M1.Fragment,{children:[(0,M1.jsx)(JK,{type:`monotone`,dataKey:`__target`,yAxisId:`left`,stroke:`#ffffff`,strokeWidth:2,dot:!1,activeDot:!1,connectNulls:!1}),(0,M1.jsx)(JK,{type:`monotone`,dataKey:`__target`,yAxisId:`left`,name:`Target`,stroke:`#8B5CF6`,strokeWidth:2,strokeDasharray:`2 3`,dot:!1,activeDot:!1,connectNulls:!1})]})]})}),A>0&&(0,M1.jsxs)(`div`,{className:`dc:text-xs text-dc-text-muted dc:text-center dc:mt-1`,children:[A,` data point`,A===1?``:`s`,` with no values hidden`]})]})}catch(e){return(0,M1.jsx)(`div`,{className:`dc:flex dc:flex-col dc:items-center dc:justify-center dc:w-full text-dc-error dc:p-4`,style:{height:i},children:(0,M1.jsxs)(`div`,{className:`dc:text-center`,children:[(0,M1.jsx)(`div`,{className:`dc:text-sm dc:font-semibold dc:mb-1`,children:c(`chart.runtime.chartError`,{chartType:`Bar Chart`})}),(0,M1.jsx)(`div`,{className:`dc:text-xs dc:mb-2`,children:e instanceof Error?e.message:c(`chart.runtime.unknownError`)}),(0,M1.jsx)(`div`,{className:`dc:text-xs text-dc-text-muted`,children:c(`chart.runtime.checkConfig`)})]})})}})}));function P1(e){return e.length>0&&`__periodIndex`in e[0]}function F1(e){if(!P1(e))return[];let t=new Set;for(let n of e)n.__period&&t.add(n.__period);return Array.from(t)}function wpe(e){if(!P1(e))return[];let t=new Set;for(let n of e)typeof n.__periodIndex==`number`&&t.add(n.__periodIndex);return Array.from(t).sort((e,t)=>e-t)}function I1(e,t){return t===0?`Current`:`Prior`}function Tpe(e,t,n){if(e.length===0)return[];let r=[`__period`,`__periodIndex`,`__periodDayIndex`],i=e[0],a=[];for(let e of Object.keys(i))!t.includes(e)&&e!==n&&!r.includes(e)&&a.push(e);return a}function Epe(e,t){let n=new Map;for(let e of t)n.set(e,new Set);for(let r of e)for(let e of t)r[e]!==void 0&&r[e]!==null&&n.get(e).add(r[e]);return n}function Dpe(e,t,n,r){if(!P1(e))return{data:e,seriesKeys:t,xAxisKey:n};let i=F1(e),a=wpe(e),o=Tpe(e,t,n),s=o.length>0,c=s?Epe(e,o):null,l=new Map;for(let a of e){let e=a.__periodDayIndex,c=a.__periodIndex;l.has(e)||l.set(e,{__periodDayIndex:e,__displayDate:c===0?a[n]:void 0});let u=l.get(e);!u.__displayDate&&a[n]&&(u.__displayDate=a[n]);let d=``;s&&(d=o.map(e=>{let t=a[e];return r?r(String(t)):String(t)}).join(` / `));let f=I1(i[c]||``,c);for(let e of t){let t=r?r(e):e,n=d?`${d} - ${t} (${f})`:`${t} (${f})`;u[n]=a[e]}}let u=Array.from(l.values()).sort((e,t)=>e.__periodDayIndex-t.__periodDayIndex),d=[];if(s&&c){let e=Ope(o,c,r);for(let n of e)for(let e of t){let t=r?r(e):e;for(let e=0;e<a.length;e++){let r=I1(i[e]||``,e);d.push(`${n} - ${t} (${r})`)}}}else for(let e of t){let t=r?r(e):e;for(let e=0;e<a.length;e++){let n=I1(i[e]||``,e);d.push(`${t} (${n})`)}}return{data:u,seriesKeys:d,xAxisKey:`__periodDayIndex`}}function Ope(e,t,n){if(e.length===0)return[];if(e.length===1){let r=e[0];return Array.from(t.get(r)||[]).map(e=>n?n(String(e)):String(e))}let r=[],i=e.map(e=>Array.from(t.get(e)||[]));function a(e,t){if(e===i.length){let e=t.map(e=>n?n(String(e)):String(e));r.push(e.join(` / `));return}for(let n of i[e])a(e+1,[...t,n])}return a(0,[]),r}function kpe(e,t){if(t.length<2)return!1;for(let n=1;n<t.length;n++){let r=I1(t[n],n);if(e.includes(`(${r})`))return!0}return e.includes(`(Prior`)}function Ape(e=`dashed`){switch(e){case`solid`:return;case`dashed`:return`5 5`;case`dotted`:return`2 2`;default:return`5 5`}}var jpe=o((()=>{})),L1,R1,z1,Mpe=o((()=>{L1=u(f(),1),Mu(),J$(),t1(),p1(),g1(),x1(),l1(),w1(),jpe(),A1(),R1=wu(),z1=L1.memo(function({data:e,chartConfig:t,displayConfig:n={},queryObject:r,height:i=`100%`,colorPalette:a,onDataPointClick:o,drillEnabled:s}){let{t:c}=Au(),[l,u]=(0,L1.useState)(null),d=O1(),f=(0,L1.useMemo)(()=>t?.yAxis?Array.isArray(t.yAxis)?t.yAxis:[t.yAxis]:t?.y?Array.isArray(t.y)?t.y:[t.y]:[],[t?.yAxis,t?.y]),p=(0,L1.useMemo)(()=>t?.yAxisAssignment||{},[t?.yAxisAssignment]),m=(0,L1.useMemo)(()=>{let e={};return f.forEach(t=>{let n=d(t);e[n]=t}),e},[f,d]);try{let h={showLegend:n?.showLegend??!0,showGrid:n?.showGrid??!0,showTooltip:n?.showTooltip??!0,connectNulls:n?.connectNulls??!1},g=n?.leftYAxisFormat,_=n?.rightYAxisFormat;if(!e||e.length===0)return(0,R1.jsx)(`div`,{className:`dc:flex dc:items-center dc:justify-center dc:w-full text-dc-text-muted`,style:{height:i},children:(0,R1.jsxs)(`div`,{className:`dc:text-center`,children:[(0,R1.jsx)(`div`,{className:`dc:text-sm dc:font-semibold dc:mb-1`,children:c(`chart.runtime.noData`)}),(0,R1.jsx)(`div`,{className:`dc:text-xs text-dc-text-secondary`,children:c(`chart.runtime.noDataHint.line`)})]})});let v,y=[];if(t?.xAxis&&t?.yAxis)v=Array.isArray(t.xAxis)?t.xAxis[0]:t.xAxis,y=t.series||[];else if(t?.x&&t?.y)v=t.x;else return(0,R1.jsx)(`div`,{className:`dc:flex dc:items-center dc:justify-center dc:w-full text-dc-warning`,style:{height:i},children:(0,R1.jsxs)(`div`,{className:`dc:text-center`,children:[(0,R1.jsx)(`div`,{className:`dc:text-sm dc:font-semibold dc:mb-1`,children:c(`chart.runtime.configError`)}),(0,R1.jsx)(`div`,{className:`dc:text-xs`,children:c(`chart.runtime.configErrorHint.axisInvalid`)})]})});if(!v||f.length===0)return(0,R1.jsx)(`div`,{className:`dc:flex dc:items-center dc:justify-center dc:w-full text-dc-warning`,style:{height:i},children:(0,R1.jsxs)(`div`,{className:`dc:text-center`,children:[(0,R1.jsx)(`div`,{className:`dc:text-sm dc:font-semibold dc:mb-1`,children:c(`chart.runtime.configError`)}),(0,R1.jsx)(`div`,{className:`dc:text-xs`,children:c(`chart.runtime.configErrorHint.axisFields`)})]})});let b=P1(e),x=n?.priorPeriodStyle||`dashed`,S=n?.priorPeriodOpacity??.5,C=b?F1(e):[],w,T,E=`name`;if(b){let t=Dpe(e,f,v,d);w=t.data,T=t.seriesKeys,E=`__periodDayIndex`}else{let t=c1(e,v,f,r,y,d);w=t.data,T=t.seriesKeys}let D=e=>{if(m[e])return m[e];if(e.length>1e3)return;let t=e.replace(/\\s*\\((Current|Prior)\\)$/,``).split(` - `);return m[t[t.length-1]]},O=f.some(e=>p[e]===`right`),k=f.filter(e=>(p[e]||`left`)===`left`),A=f.filter(e=>p[e]===`right`),j=h.showLegend,M={...b1,left:40,right:O?40:20},N=C1(S1(n?.target||``),w.length),ee=w;return N.length>0&&(ee=w.map((e,t)=>({...e,__target:N[t]||null}))),!w||w.length===0?(0,R1.jsx)(`div`,{className:`dc:flex dc:items-center dc:justify-center dc:w-full text-dc-text-muted`,style:{height:i},children:(0,R1.jsxs)(`div`,{className:`dc:text-center`,children:[(0,R1.jsx)(`div`,{className:`dc:text-sm dc:font-semibold dc:mb-1`,children:c(`chart.runtime.noValidData`)}),(0,R1.jsx)(`div`,{className:`dc:text-xs text-dc-text-secondary`,children:`No valid data points for line chart after transformation`})]})}):(0,R1.jsx)(Q$,{height:i,children:(0,R1.jsxs)(lQ,{data:ee,margin:M,accessibilityLayer:!1,children:[h.showGrid&&(0,R1.jsx)($G,{strokeDasharray:`3 3`,style:{pointerEvents:`none`}}),(0,R1.jsx)(yY,{dataKey:E,type:`category`,tick:(0,R1.jsx)(h1,{tickFormatter:b?(e,t)=>{let n=w[t];if(n?.__displayDate){let e=s1(r,v);return o1(n.__displayDate,e)}return`Period ${Number(e)+1}`}:void 0}),height:60}),(0,R1.jsx)(LY,{yAxisId:`left`,orientation:`left`,tick:{fontSize:12},tickFormatter:g?e=>a1(e,g):void 0,label:k.length>0?{value:g?.label||d(k[0]),angle:-90,position:`left`,style:{textAnchor:`middle`,fontSize:`12px`}}:void 0}),O&&(0,R1.jsx)(LY,{yAxisId:`right`,orientation:`right`,tick:{fontSize:12},tickFormatter:_?e=>a1(e,_):void 0,label:A.length>0?{value:_?.label||d(A[0]),angle:90,position:`right`,style:{textAnchor:`middle`,fontSize:`12px`}}:void 0}),h.showTooltip&&(0,R1.jsx)(u1,{formatter:(e,t)=>{if(e==null)return[`No data`,t];if(t===`Target`)return[a1(e,g),`Target Value`];let n=D(t);return[a1(e,(n&&p[n]===`right`?`right`:`left`)==`right`?_:g),t]},labelFormatter:b?(e,t)=>{if(t&&t.length>0){let e=t[0]?.payload;if(e?.__displayDate){let t=s1(r,v);return o1(e.__displayDate,t)}}return`Period ${Number(e)+1}`}:void 0}),j&&(0,R1.jsx)(Xb,{wrapperStyle:{fontSize:`12px`,paddingTop:`25px`},iconType:`line`,iconSize:8,layout:`horizontal`,align:`center`,verticalAlign:`bottom`,onMouseEnter:e=>u(String(e.dataKey||``)),onMouseLeave:()=>u(null)}),T.map((e,t)=>{let n=D(e),r=n&&p[n]===`right`?`right`:`left`,i=b&&kpe(e,C),c=i?Ape(x):void 0,u=i?S:1,d=a?.colors&&a.colors[t%a.colors.length]||_1[t%_1.length];return(0,R1.jsx)(JK,{type:`monotone`,dataKey:e,yAxisId:r,stroke:d,strokeWidth:i?1.5:2,strokeDasharray:c,dot:i?!1:t=>{let{cx:r,cy:i,payload:a,key:c}=t;if(r===void 0||i===void 0)return null;let l=t=>{t.stopPropagation(),t.preventDefault(),o&&o({dataPoint:a,clickedField:n||e,xValue:a.name,position:{x:t.clientX,y:t.clientY},nativeEvent:t})};return s&&o?(0,R1.jsxs)(`g`,{children:[(0,R1.jsx)(`circle`,{cx:r,cy:i,r:6,fill:`var(--dc-surface)`,style:{pointerEvents:`none`}}),(0,R1.jsx)(`circle`,{cx:r,cy:i,r:4,fill:`var(--dc-surface)`,stroke:d,strokeWidth:2,cursor:`pointer`,onClick:e=>{l(e)}})]},c):(0,R1.jsx)(`circle`,{cx:r,cy:i,r:3,fill:d},c)},activeDot:!1,strokeOpacity:l?l===e?1:.3:u,connectNulls:h.connectNulls},e)}),N.length>0&&(0,R1.jsxs)(R1.Fragment,{children:[(0,R1.jsx)(JK,{type:`monotone`,dataKey:`__target`,yAxisId:`left`,stroke:`#ffffff`,strokeWidth:2,dot:!1,activeDot:!1,connectNulls:!1}),(0,R1.jsx)(JK,{type:`monotone`,dataKey:`__target`,yAxisId:`left`,name:`Target`,stroke:`#8B5CF6`,strokeWidth:2,strokeDasharray:`2 3`,dot:!1,activeDot:!1,connectNulls:!1})]})]})})}catch(e){return(0,R1.jsx)(`div`,{className:`dc:flex dc:flex-col dc:items-center dc:justify-center dc:w-full text-dc-error dc:p-4`,style:{height:i},children:(0,R1.jsxs)(`div`,{className:`dc:text-center`,children:[(0,R1.jsx)(`div`,{className:`dc:text-sm dc:font-semibold dc:mb-1`,children:c(`chart.runtime.chartError`,{chartType:`Line Chart`})}),(0,R1.jsx)(`div`,{className:`dc:text-xs dc:mb-2`,children:e instanceof Error?e.message:c(`chart.runtime.unknownError`)}),(0,R1.jsx)(`div`,{className:`dc:text-xs text-dc-text-muted`,children:c(`chart.runtime.checkConfig`)})]})})}})})),B1,V1,H1,Npe=o((()=>{B1=u(f(),1),Mu(),J$(),t1(),p1(),g1(),x1(),l1(),w1(),A1(),V1=wu(),H1=B1.memo(function({data:e,chartConfig:t,displayConfig:n={},queryObject:r,height:i=`100%`,colorPalette:a,onDataPointClick:o,drillEnabled:s}){let{t:c}=Au(),[l,u]=(0,B1.useState)(null),d=O1();try{let f=n?.stackType??(n?.stacked?`normal`:`none`),p=f!==`none`,m=f===`percent`,h={showLegend:n?.showLegend??!0,showGrid:n?.showGrid??!0,showTooltip:n?.showTooltip??!0,connectNulls:n?.connectNulls??!1},g=n?.leftYAxisFormat,_=n?.rightYAxisFormat;if(!e||e.length===0)return(0,V1.jsx)(`div`,{className:`dc:flex dc:items-center dc:justify-center dc:w-full text-dc-text-muted`,style:{height:i},children:(0,V1.jsxs)(`div`,{className:`dc:text-center`,children:[(0,V1.jsx)(`div`,{className:`dc:text-sm dc:font-semibold dc:mb-1`,children:c(`chart.runtime.noData`)}),(0,V1.jsx)(`div`,{className:`dc:text-xs text-dc-text-secondary`,children:c(`chart.runtime.noDataHint.area`)})]})});let v,y,b=[];if(t?.xAxis&&t?.yAxis)v=Array.isArray(t.xAxis)?t.xAxis[0]:t.xAxis,y=Array.isArray(t.yAxis)?t.yAxis:[t.yAxis],b=t.series||[];else if(t?.x&&t?.y)v=t.x,y=Array.isArray(t.y)?t.y:[t.y];else return(0,V1.jsx)(`div`,{className:`dc:flex dc:items-center dc:justify-center dc:w-full text-dc-warning`,style:{height:i},children:(0,V1.jsxs)(`div`,{className:`dc:text-center`,children:[(0,V1.jsx)(`div`,{className:`dc:text-sm dc:font-semibold dc:mb-1`,children:c(`chart.runtime.configError`)}),(0,V1.jsx)(`div`,{className:`dc:text-xs`,children:c(`chart.runtime.configErrorHint.axisInvalid`)})]})});if(!v||!y||y.length===0)return(0,V1.jsx)(`div`,{className:`dc:flex dc:items-center dc:justify-center dc:w-full text-dc-warning`,style:{height:i},children:(0,V1.jsxs)(`div`,{className:`dc:text-center`,children:[(0,V1.jsx)(`div`,{className:`dc:text-sm dc:font-semibold dc:mb-1`,children:c(`chart.runtime.configError`)}),(0,V1.jsx)(`div`,{className:`dc:text-xs`,children:c(`chart.runtime.configErrorHint.axisFields`)})]})});let{data:x,seriesKeys:S}=c1(e,v,y,r,b,d),C=t?.yAxisAssignment||{},w={};y.forEach(e=>{let t=d(e);w[t]=e});let T=y.some(e=>C[e]===`right`),E=y.filter(e=>(C[e]||`left`)===`left`),D=y.filter(e=>C[e]===`right`),O=p&&!T,k=m&&!T,A=h.showLegend,j={...b1,left:40,right:T?40:20},M=C1(S1(n?.target||``),x.length),N=x;return M.length>0&&(N=x.map((e,t)=>({...e,__target:M[t]||null}))),!x||x.length===0?(0,V1.jsx)(`div`,{className:`dc:flex dc:items-center dc:justify-center dc:w-full text-dc-text-muted`,style:{height:i},children:(0,V1.jsxs)(`div`,{className:`dc:text-center`,children:[(0,V1.jsx)(`div`,{className:`dc:text-sm dc:font-semibold dc:mb-1`,children:c(`chart.runtime.noValidData`)}),(0,V1.jsx)(`div`,{className:`dc:text-xs text-dc-text-secondary`,children:`No valid data points for area chart after transformation`})]})}):(0,V1.jsx)(Q$,{height:i,children:(0,V1.jsxs)(x$,{data:N,margin:j,stackOffset:k?`expand`:void 0,accessibilityLayer:!1,children:[h.showGrid&&(0,V1.jsx)($G,{strokeDasharray:`3 3`,style:{pointerEvents:`none`}}),(0,V1.jsx)(yY,{dataKey:`name`,type:`category`,tick:(0,V1.jsx)(h1,{}),height:60}),(0,V1.jsx)(LY,{yAxisId:`left`,orientation:`left`,tick:{fontSize:12},tickFormatter:k?e=>`${(e*100).toFixed(0)}%`:g?e=>a1(e,g):void 0,domain:k?[0,1]:void 0,label:k?void 0:E.length>0?{value:g?.label||d(E[0]),angle:-90,position:`left`,style:{textAnchor:`middle`,fontSize:`12px`}}:void 0}),T&&(0,V1.jsx)(LY,{yAxisId:`right`,orientation:`right`,tick:{fontSize:12},tickFormatter:_?e=>a1(e,_):void 0,label:D.length>0?{value:_?.label||d(D[0]),angle:90,position:`right`,style:{textAnchor:`middle`,fontSize:`12px`}}:void 0}),h.showTooltip&&(0,V1.jsx)(u1,{formatter:(e,t)=>{if(e==null)return[`No data`,t];if(t===`Target`)return[a1(e,g),`Target Value`];if(k&&typeof e==`number`)return[`${(e*100).toFixed(1)}%`,t];let n=w[t];return[a1(e,(n&&C[n]===`right`?`right`:`left`)==`right`?_:g),t]}}),A&&(0,V1.jsx)(Xb,{wrapperStyle:{fontSize:`12px`,paddingTop:`10px`},iconType:`rect`,iconSize:8,layout:`horizontal`,align:`center`,verticalAlign:`bottom`,onMouseEnter:e=>u(String(e.dataKey||``)),onMouseLeave:()=>u(null)}),S.map((e,t)=>{let n=w[e],r=n&&C[n]===`right`?`right`:`left`,i=a?.colors&&a.colors[t%a.colors.length]||_1[t%_1.length];return(0,V1.jsx)(Eq,{type:`monotone`,dataKey:e,yAxisId:r,stackId:O?`stack`:void 0,stroke:i,fill:i,fillOpacity:l?l===e?.6:.1:.3,strokeWidth:2,strokeOpacity:l?l===e?1:.3:1,connectNulls:h.connectNulls,dot:t=>{let{cx:r,cy:a,payload:c,key:l}=t;if(!s||r===void 0||a===void 0)return null;let u=t=>{t.stopPropagation(),t.preventDefault(),o&&o({dataPoint:c,clickedField:n||e,xValue:c.name,position:{x:t.clientX,y:t.clientY},nativeEvent:t})};return(0,V1.jsxs)(`g`,{children:[(0,V1.jsx)(`circle`,{cx:r,cy:a,r:6,fill:`var(--dc-surface)`,style:{pointerEvents:`none`}}),(0,V1.jsx)(`circle`,{cx:r,cy:a,r:4,fill:`var(--dc-surface)`,stroke:i,strokeWidth:2,cursor:`pointer`,onClick:e=>{u(e)}})]},l)},activeDot:!1},e)}),M.length>0&&(0,V1.jsxs)(V1.Fragment,{children:[(0,V1.jsx)(JK,{type:`monotone`,dataKey:`__target`,yAxisId:`left`,stroke:`#ffffff`,strokeWidth:2,dot:!1,activeDot:!1,connectNulls:!1}),(0,V1.jsx)(JK,{type:`monotone`,dataKey:`__target`,yAxisId:`left`,name:`Target`,stroke:`#8B5CF6`,strokeWidth:2,strokeDasharray:`2 3`,dot:!1,activeDot:!1,connectNulls:!1})]})]})})}catch(e){return(0,V1.jsx)(`div`,{className:`dc:flex dc:flex-col dc:items-center dc:justify-center dc:w-full text-dc-error dc:p-4`,style:{height:i},children:(0,V1.jsxs)(`div`,{className:`dc:text-center`,children:[(0,V1.jsx)(`div`,{className:`dc:text-sm dc:font-semibold dc:mb-1`,children:c(`chart.runtime.chartError`,{chartType:`Area Chart`})}),(0,V1.jsx)(`div`,{className:`dc:text-xs dc:mb-2`,children:e instanceof Error?e.message:c(`chart.runtime.unknownError`)}),(0,V1.jsx)(`div`,{className:`dc:text-xs text-dc-text-muted`,children:c(`chart.runtime.checkConfig`)})]})})}})})),U1,W1,G1,Ppe=o((()=>{U1=u(f(),1),Mu(),J$(),t1(),p1(),x1(),l1(),A1(),W1=wu(),G1=U1.memo(function({data:e,chartConfig:t,displayConfig:n={},queryObject:r,height:i=`100%`,colorPalette:a,onDataPointClick:o,drillEnabled:s}){let{t:c}=Au(),[l,u]=(0,U1.useState)(null),d=O1();try{let f={showLegend:n?.showLegend??!0,showTooltip:n?.showTooltip??!0,leftYAxisFormat:n?.leftYAxisFormat,innerRadius:n?.innerRadius||`0%`};if(!e||e.length===0)return(0,W1.jsx)(`div`,{className:`dc:flex dc:items-center dc:justify-center dc:w-full text-dc-text-muted`,style:{height:i},children:(0,W1.jsxs)(`div`,{className:`dc:text-center`,children:[(0,W1.jsx)(`div`,{className:`dc:text-sm dc:font-semibold dc:mb-1`,children:c(`chart.runtime.noData`)}),(0,W1.jsx)(`div`,{className:`dc:text-xs text-dc-text-secondary`,children:c(`chart.runtime.noDataHint.pie`)})]})});let p,m,h,g=[];if(t?.xAxis&&t?.yAxis)m=Array.isArray(t.xAxis)?t.xAxis[0]:t.xAxis,h=Array.isArray(t.yAxis)?t.yAxis:[t.yAxis],g=t.series||[];else if(t?.x&&t?.y)m=t.x,h=Array.isArray(t.y)?t.y:[t.y];else return(0,W1.jsx)(`div`,{className:`dc:flex dc:items-center dc:justify-center dc:w-full text-dc-warning`,style:{height:i},children:(0,W1.jsxs)(`div`,{className:`dc:text-center`,children:[(0,W1.jsx)(`div`,{className:`dc:text-sm dc:font-semibold dc:mb-1`,children:c(`chart.runtime.configError`)}),(0,W1.jsx)(`div`,{className:`dc:text-xs`,children:c(`chart.runtime.configErrorHint.pieAxis`)})]})});if(!m||!h||h.length===0)return(0,W1.jsx)(`div`,{className:`dc:flex dc:items-center dc:justify-center dc:w-full text-dc-warning`,style:{height:i},children:(0,W1.jsxs)(`div`,{className:`dc:text-center`,children:[(0,W1.jsx)(`div`,{className:`dc:text-sm dc:font-semibold dc:mb-1`,children:c(`chart.runtime.configError`)}),(0,W1.jsx)(`div`,{className:`dc:text-xs`,children:c(`chart.runtime.configErrorHint.axisFields`)})]})});if(g.length>0){let{data:t}=c1(e,m,h,r,g,d);if(p=[],t.length>0){let e=t[0];Object.keys(e).forEach(t=>{t!==`name`&&typeof e[t]==`number`&&p.push({name:String(t),value:e[t]})})}}else{let t=s1(r,m);p=e.map(e=>{let n=o1(e[m],t)||String(e[m])||`Unknown`;return typeof e[m]==`boolean`?n=e[m]?`Active`:`Inactive`:(n===`true`||n===`false`)&&(n=n===`true`?`Active`:`Inactive`),{name:n,value:typeof e[h[0]]==`string`?parseFloat(e[h[0]]):e[h[0]]||0}})}let _=p.length;return p=p.filter(e=>e.value!=null&&!isNaN(e.value)&&e.value!==0&&e.value>0),p.length===0?(0,W1.jsx)(`div`,{className:`dc:flex dc:items-center dc:justify-center dc:w-full text-dc-text-muted`,style:{height:i},children:(0,W1.jsxs)(`div`,{className:`dc:text-center`,children:[(0,W1.jsx)(`div`,{className:`dc:text-sm dc:font-semibold dc:mb-1`,children:c(`chart.runtime.noValidData`)}),(0,W1.jsx)(`div`,{className:`dc:text-xs text-dc-text-secondary`,children:_>0?`Filtered out ${_} data points (zero or invalid values)`:`No data points to display in pie chart`})]})}):(0,W1.jsx)(Q$,{height:i,children:(0,W1.jsxs)(EQ,{accessibilityLayer:!1,children:[(0,W1.jsx)(aH,{data:p,cx:`50%`,cy:`50%`,innerRadius:f.innerRadius===`0%`?void 0:f.innerRadius,outerRadius:`70%`,dataKey:`value`,label:f.showLegend?void 0:({name:e,percent:t})=>`${e} ${((t||0)*100).toFixed(0)}%`,cursor:s?`pointer`:void 0,onClick:(e,t,n)=>{o&&s&&e&&o({dataPoint:e,clickedField:h[0],xValue:e.name,position:{x:n.clientX,y:n.clientY},nativeEvent:n})},children:p.map((e,t)=>(0,W1.jsx)(AI,{fill:a?.colors&&a.colors[t%a.colors.length]||_1[t%_1.length],fillOpacity:l?l===p[t].name?1:.3:1},`cell-${t}`))}),f.showTooltip&&(0,W1.jsx)(u1,{formatter:f.leftYAxisFormat?(e,t)=>[a1(e,f.leftYAxisFormat),t]:void 0}),f.showLegend&&(0,W1.jsx)(Xb,{wrapperStyle:{fontSize:`12px`,paddingTop:`10px`},iconType:`circle`,iconSize:8,layout:`horizontal`,align:`center`,verticalAlign:`bottom`,onMouseEnter:e=>u(String(e.value||``)),onMouseLeave:()=>u(null)})]})})}catch(e){return(0,W1.jsx)(`div`,{className:`dc:flex dc:flex-col dc:items-center dc:justify-center dc:w-full text-dc-error dc:p-4`,style:{height:i},children:(0,W1.jsxs)(`div`,{className:`dc:text-center`,children:[(0,W1.jsx)(`div`,{className:`dc:text-sm dc:font-semibold dc:mb-1`,children:c(`chart.runtime.chartError`,{chartType:`Pie Chart`})}),(0,W1.jsx)(`div`,{className:`dc:text-xs dc:mb-2`,children:e instanceof Error?e.message:c(`chart.runtime.unknownError`)}),(0,W1.jsx)(`div`,{className:`dc:text-xs text-dc-text-muted`,children:c(`chart.runtime.checkConfig`)})]})})}})})),K1,q1,J1,Fpe=o((()=>{K1=u(f(),1),Mu(),J$(),t1(),x1(),l1(),A1(),q1=wu(),J1=K1.memo(function({data:e,chartConfig:t,displayConfig:n={},queryObject:r,height:i=`100%`,colorPalette:a}){let{t:o}=Au(),[s,c]=(0,K1.useState)(null),l=O1();try{let u={showLegend:n?.showLegend??!0,showGrid:n?.showGrid??!0,showTooltip:n?.showTooltip??!0},d=n?.xAxisFormat,f=n?.leftYAxisFormat;if(!e||e.length===0)return(0,q1.jsx)(`div`,{className:`dc:flex dc:items-center dc:justify-center dc:w-full text-dc-text-muted`,style:{height:i},children:(0,q1.jsxs)(`div`,{className:`dc:text-center`,children:[(0,q1.jsx)(`div`,{className:`dc:text-sm dc:font-semibold dc:mb-1`,children:o(`chart.runtime.noData`)}),(0,q1.jsx)(`div`,{className:`dc:text-xs text-dc-text-secondary`,children:o(`chart.runtime.noDataHint.scatter`)})]})});let p,m,h=[];if(t?.xAxis&&t?.yAxis){p=Array.isArray(t.xAxis)?t.xAxis[0]:t.xAxis,m=Array.isArray(t.yAxis)?t.yAxis[0]:t.yAxis;let e=t.series;h=e?Array.isArray(e)?e:[e]:[]}else if(t?.x&&t?.y)p=t.x,m=Array.isArray(t.y)?t.y[0]:t.y;else return(0,q1.jsx)(`div`,{className:`dc:flex dc:items-center dc:justify-center dc:w-full text-dc-warning`,style:{height:i},children:(0,q1.jsxs)(`div`,{className:`dc:text-center`,children:[(0,q1.jsx)(`div`,{className:`dc:text-sm dc:font-semibold dc:mb-1`,children:o(`chart.runtime.configError`)}),(0,q1.jsx)(`div`,{className:`dc:text-xs`,children:o(`chart.runtime.configErrorHint.axisInvalid`)})]})});if(!p||!m)return(0,q1.jsx)(`div`,{className:`dc:flex dc:items-center dc:justify-center dc:w-full text-dc-warning`,style:{height:i},children:(0,q1.jsxs)(`div`,{className:`dc:text-center`,children:[(0,q1.jsx)(`div`,{className:`dc:text-sm dc:font-semibold dc:mb-1`,children:o(`chart.runtime.configError`)}),(0,q1.jsx)(`div`,{className:`dc:text-xs`,children:o(`chart.runtime.configErrorHint.axisFields`)})]})});let g=(r?.timeDimensions||[]).map(e=>e.dimension),_,v={};if(h.length>0){let t=h[0];e.forEach(e=>{let n=String(e[t]||`Default`);v[n]||(v[n]=[]);let i=s1(r,p),a=o1(e[p],i)||e[p],o=r1(e[m]),s=typeof a==`string`?parseFloat(a):a;if(n1(s)&&o!==null){let t={};g.forEach(n=>{if(e[n]){let i=s1(r,n);t[n]=o1(e[n],i)}}),v[n].push({x:s,y:o,name:n,timeValues:t,originalItem:e})}}),_=Object.keys(v).flatMap(e=>v[e])}else{let t=s1(r,p);_=e.map(e=>{let n=o1(e[p],t)||e[p],i=r1(e[m]),a=typeof n==`string`?parseFloat(n):n,o={};return g.forEach(t=>{if(e[t]){let n=s1(r,t);o[t]=o1(e[t],n)}}),{x:a,y:i,name:`Point`,timeValues:o,originalItem:e,isValid:n1(a)&&i!==null}}).filter(e=>e.isValid)}if(!_||_.length===0)return(0,q1.jsx)(`div`,{className:`dc:flex dc:items-center dc:justify-center dc:w-full text-dc-text-muted`,style:{height:i},children:(0,q1.jsxs)(`div`,{className:`dc:text-center`,children:[(0,q1.jsx)(`div`,{className:`dc:text-sm dc:font-semibold dc:mb-1`,children:o(`chart.runtime.noValidData`)}),(0,q1.jsx)(`div`,{className:`dc:text-xs text-dc-text-secondary`,children:`No valid data points for scatter chart after transformation`})]})});let y=Object.keys(v),b=y.length>1&&y.length<=20,x=u.showLegend&&b;return(0,q1.jsx)(Q$,{height:i,children:(0,q1.jsxs)(u$,{margin:{...b1,left:40},accessibilityLayer:!1,children:[u.showGrid&&(0,q1.jsx)($G,{strokeDasharray:`3 3`}),(0,q1.jsx)(yY,{type:`number`,dataKey:`x`,name:d?.label||l(p),tick:{fontSize:12},tickFormatter:d?e=>a1(e,d):void 0}),(0,q1.jsx)(LY,{type:`number`,dataKey:`y`,name:f?.label||l(m),tick:{fontSize:12},tickFormatter:f?e=>a1(e,f):void 0,label:{value:f?.label||l(m),angle:-90,position:`left`,style:{textAnchor:`middle`,fontSize:`12px`}}}),u.showTooltip&&(0,q1.jsx)(CI,{cursor:{strokeDasharray:`3 3`},content:({active:e,payload:t})=>{if(!e||!t||t.length===0)return null;let n=t[0]?.payload;return n?(0,q1.jsxs)(`div`,{style:{backgroundColor:`white`,border:`1px solid #e5e7eb`,borderRadius:`0.5rem`,fontSize:`0.875rem`,color:`#1f2937`,boxShadow:`0 4px 6px -1px rgba(0, 0, 0, 0.1)`,padding:`8px 12px`},children:[(0,q1.jsx)(`div`,{style:{fontWeight:600,marginBottom:`4px`},children:n.name}),n.timeValues&&Object.keys(n.timeValues).length>0&&(0,q1.jsx)(`div`,{style:{marginBottom:`4px`,color:`#6b7280`},children:Object.entries(n.timeValues).map(([e,t])=>(0,q1.jsxs)(`div`,{children:[l(e),`: `,t]},e))}),(0,q1.jsxs)(`div`,{children:[d?.label||l(p),`: `,a1(n.x,d)]}),(0,q1.jsxs)(`div`,{children:[f?.label||l(m),`: `,a1(n.y,f)]})]}):null}}),x&&(0,q1.jsx)(Xb,{wrapperStyle:{fontSize:`12px`,paddingTop:`10px`},iconType:`circle`,iconSize:8,layout:`horizontal`,align:`center`,verticalAlign:`bottom`,onMouseEnter:e=>c(String(e.dataKey||``)),onMouseLeave:()=>c(null)}),b?y.map((e,t)=>(0,q1.jsx)($J,{name:e,data:v[e],fill:a?.colors&&a.colors[t%a.colors.length]||_1[t%_1.length],fillOpacity:s?s===e?1:.3:1},e)):(0,q1.jsx)($J,{name:`Data`,data:_,fill:a?.colors&&a.colors[0]||_1[0]})]})})}catch(e){return(0,q1.jsx)(`div`,{className:`dc:flex dc:flex-col dc:items-center dc:justify-center dc:w-full text-dc-error dc:p-4`,style:{height:i},children:(0,q1.jsxs)(`div`,{className:`dc:text-center`,children:[(0,q1.jsx)(`div`,{className:`dc:text-sm dc:font-semibold dc:mb-1`,children:o(`chart.runtime.chartError`,{chartType:`Scatter Chart`})}),(0,q1.jsx)(`div`,{className:`dc:text-xs dc:mb-2`,children:e instanceof Error?e.message:o(`chart.runtime.unknownError`)}),(0,q1.jsx)(`div`,{className:`dc:text-xs text-dc-text-muted`,children:o(`chart.runtime.checkConfig`)})]})})}})}));function Ipe(e){return e}var Lpe=o((()=>{}));function Rpe(e){return`translate(`+e+`,0)`}function zpe(e){return`translate(0,`+e+`)`}function Bpe(e){return t=>+e(t)}function Vpe(e,t){return t=Math.max(0,e.bandwidth()-t*2)/2,e.round()&&(t=Math.round(t)),n=>+e(n)+t}function Hpe(){return!this.__axis}function Y1(e,t){var n=[],r=null,i=null,a=6,o=6,s=3,c=typeof window<`u`&&window.devicePixelRatio>1?0:.5,l=e===Q1||e===t0?-1:1,u=e===t0||e===$1?`x`:`y`,d=e===Q1||e===e0?Rpe:zpe;function f(f){var p=r??(t.ticks?t.ticks.apply(t,n):t.domain()),m=i??(t.tickFormat?t.tickFormat.apply(t,n):Ipe),h=Math.max(a,0)+s,g=t.range(),_=+g[0]+c,v=+g[g.length-1]+c,y=(t.bandwidth?Vpe:Bpe)(t.copy(),c),b=f.selection?f.selection():f,x=b.selectAll(`.domain`).data([null]),S=b.selectAll(`.tick`).data(p,t).order(),C=S.exit(),w=S.enter().append(`g`).attr(`class`,`tick`),T=S.select(`line`),E=S.select(`text`);x=x.merge(x.enter().insert(`path`,`.tick`).attr(`class`,`domain`).attr(`stroke`,`currentColor`)),S=S.merge(w),T=T.merge(w.append(`line`).attr(`stroke`,`currentColor`).attr(u+`2`,l*a)),E=E.merge(w.append(`text`).attr(`fill`,`currentColor`).attr(u,l*h).attr(`dy`,e===Q1?`0em`:e===e0?`0.71em`:`0.32em`)),f!==b&&(x=x.transition(f),S=S.transition(f),T=T.transition(f),E=E.transition(f),C=C.transition(f).attr(`opacity`,n0).attr(`transform`,function(e){return isFinite(e=y(e))?d(e+c):this.getAttribute(`transform`)}),w.attr(`opacity`,n0).attr(`transform`,function(e){var t=this.parentNode.__axis;return d((t&&isFinite(t=t(e))?t:y(e))+c)})),C.remove(),x.attr(`d`,e===t0||e===$1?o?`M`+l*o+`,`+_+`H`+c+`V`+v+`H`+l*o:`M`+c+`,`+_+`V`+v:o?`M`+_+`,`+l*o+`V`+c+`H`+v+`V`+l*o:`M`+_+`,`+c+`H`+v),S.attr(`opacity`,1).attr(`transform`,function(e){return d(y(e)+c)}),T.attr(u+`2`,l*a),E.attr(u,l*h).text(m),b.filter(Hpe).attr(`fill`,`none`).attr(`font-size`,10).attr(`font-family`,`sans-serif`).attr(`text-anchor`,e===$1?`start`:e===t0?`end`:`middle`),b.each(function(){this.__axis=y})}return f.scale=function(e){return arguments.length?(t=e,f):t},f.ticks=function(){return n=Array.from(arguments),f},f.tickArguments=function(e){return arguments.length?(n=e==null?[]:Array.from(e),f):n.slice()},f.tickValues=function(e){return arguments.length?(r=e==null?null:Array.from(e),f):r&&r.slice()},f.tickFormat=function(e){return arguments.length?(i=e,f):i},f.tickSize=function(e){return arguments.length?(a=o=+e,f):a},f.tickSizeInner=function(e){return arguments.length?(a=+e,f):a},f.tickSizeOuter=function(e){return arguments.length?(o=+e,f):o},f.tickPadding=function(e){return arguments.length?(s=+e,f):s},f.offset=function(e){return arguments.length?(c=+e,f):c},f}function X1(e){return Y1(e0,e)}function Z1(e){return Y1(t0,e)}var Q1,$1,e0,t0,n0,Upe=o((()=>{Lpe(),Q1=1,$1=2,e0=3,t0=4,n0=1e-6})),Wpe=o((()=>{Upe()}));function r0(){for(var e=0,t=arguments.length,n={},r;e<t;++e){if(!(r=arguments[e]+``)||r in n||/[\\s.]/.test(r))throw Error(`illegal type: `+r);n[r]=[]}return new i0(n)}function i0(e){this._=e}function Gpe(e,t){return e.trim().split(/^|\\s+/).map(function(e){var n=``,r=e.indexOf(`.`);if(r>=0&&(n=e.slice(r+1),e=e.slice(0,r)),e&&!t.hasOwnProperty(e))throw Error(`unknown type: `+e);return{type:e,name:n}})}function Kpe(e,t){for(var n=0,r=e.length,i;n<r;++n)if((i=e[n]).name===t)return i.value}function a0(e,t,n){for(var r=0,i=e.length;r<i;++r)if(e[r].name===t){e[r]=o0,e=e.slice(0,r).concat(e.slice(r+1));break}return n!=null&&e.push({name:t,value:n}),e}var o0,qpe=o((()=>{o0={value:()=>{}},i0.prototype=r0.prototype={constructor:i0,on:function(e,t){var n=this._,r=Gpe(e+``,n),i,a=-1,o=r.length;if(arguments.length<2){for(;++a<o;)if((i=(e=r[a]).type)&&(i=Kpe(n[i],e.name)))return i;return}if(t!=null&&typeof t!=`function`)throw Error(`invalid callback: `+t);for(;++a<o;)if(i=(e=r[a]).type)n[i]=a0(n[i],e.name,t);else if(t==null)for(i in n)n[i]=a0(n[i],e.name,null);return this},copy:function(){var e={},t=this._;for(var n in t)e[n]=t[n].slice();return new i0(e)},call:function(e,t){if((i=arguments.length-2)>0)for(var n=Array(i),r=0,i,a;r<i;++r)n[r]=arguments[r+2];if(!this._.hasOwnProperty(e))throw Error(`unknown type: `+e);for(a=this._[e],r=0,i=a.length;r<i;++r)a[r].value.apply(t,n)},apply:function(e,t,n){if(!this._.hasOwnProperty(e))throw Error(`unknown type: `+e);for(var r=this._[e],i=0,a=r.length;i<a;++i)r[i].value.apply(t,n)}}})),s0=o((()=>{qpe()})),c0,l0,u0=o((()=>{c0=`http://www.w3.org/1999/xhtml`,l0={svg:`http://www.w3.org/2000/svg`,xhtml:c0,xlink:`http://www.w3.org/1999/xlink`,xml:`http://www.w3.org/XML/1998/namespace`,xmlns:`http://www.w3.org/2000/xmlns/`}}));function d0(e){var t=e+=``,n=t.indexOf(`:`);return n>=0&&(t=e.slice(0,n))!==`xmlns`&&(e=e.slice(n+1)),l0.hasOwnProperty(t)?{space:l0[t],local:e}:e}var f0=o((()=>{u0()}));function Jpe(e){return function(){var t=this.ownerDocument,n=this.namespaceURI;return n===`http://www.w3.org/1999/xhtml`&&t.documentElement.namespaceURI===`http://www.w3.org/1999/xhtml`?t.createElement(e):t.createElementNS(n,e)}}function Ype(e){return function(){return this.ownerDocument.createElementNS(e.space,e.local)}}function p0(e){var t=d0(e);return(t.local?Ype:Jpe)(t)}var m0=o((()=>{f0(),u0()}));function Xpe(){}function h0(e){return e==null?Xpe:function(){return this.querySelector(e)}}var g0=o((()=>{}));function Zpe(e){typeof e!=`function`&&(e=h0(e));for(var t=this._groups,n=t.length,r=Array(n),i=0;i<n;++i)for(var a=t[i],o=a.length,s=r[i]=Array(o),c,l,u=0;u<o;++u)(c=a[u])&&(l=e.call(c,c.__data__,u,a))&&(`__data__`in c&&(l.__data__=c.__data__),s[u]=l);return new z0(r,this._parents)}var Qpe=o((()=>{H0(),g0()}));function $pe(e){return e==null?[]:Array.isArray(e)?e:Array.from(e)}var _0=o((()=>{}));function eme(){return[]}function v0(e){return e==null?eme:function(){return this.querySelectorAll(e)}}var y0=o((()=>{}));function tme(e){return function(){return $pe(e.apply(this,arguments))}}function nme(e){e=typeof e==`function`?tme(e):v0(e);for(var t=this._groups,n=t.length,r=[],i=[],a=0;a<n;++a)for(var o=t[a],s=o.length,c,l=0;l<s;++l)(c=o[l])&&(r.push(e.call(c,c.__data__,l,o)),i.push(c));return new z0(r,i)}var rme=o((()=>{H0(),_0(),y0()}));function b0(e){return function(){return this.matches(e)}}function x0(e){return function(t){return t.matches(e)}}var S0=o((()=>{}));function ime(e){return function(){return C0.call(this.children,e)}}function ame(){return this.firstElementChild}function ome(e){return this.select(e==null?ame:ime(typeof e==`function`?e:x0(e)))}var C0,sme=o((()=>{S0(),C0=Array.prototype.find}));function cme(){return Array.from(this.children)}function lme(e){return function(){return w0.call(this.children,e)}}function ume(e){return this.selectAll(e==null?cme:lme(typeof e==`function`?e:x0(e)))}var w0,dme=o((()=>{S0(),w0=Array.prototype.filter}));function fme(e){typeof e!=`function`&&(e=b0(e));for(var t=this._groups,n=t.length,r=Array(n),i=0;i<n;++i)for(var a=t[i],o=a.length,s=r[i]=[],c,l=0;l<o;++l)(c=a[l])&&e.call(c,c.__data__,l,a)&&s.push(c);return new z0(r,this._parents)}var pme=o((()=>{H0(),S0()}));function T0(e){return Array(e.length)}var E0=o((()=>{}));function mme(){return new z0(this._enter||this._groups.map(T0),this._parents)}function D0(e,t){this.ownerDocument=e.ownerDocument,this.namespaceURI=e.namespaceURI,this._next=null,this._parent=e,this.__data__=t}var O0=o((()=>{E0(),H0(),D0.prototype={constructor:D0,appendChild:function(e){return this._parent.insertBefore(e,this._next)},insertBefore:function(e,t){return this._parent.insertBefore(e,t)},querySelector:function(e){return this._parent.querySelector(e)},querySelectorAll:function(e){return this._parent.querySelectorAll(e)}}}));function hme(e){return function(){return e}}var gme=o((()=>{}));function _me(e,t,n,r,i,a){for(var o=0,s,c=t.length,l=a.length;o<l;++o)(s=t[o])?(s.__data__=a[o],r[o]=s):n[o]=new D0(e,a[o]);for(;o<c;++o)(s=t[o])&&(i[o]=s)}function vme(e,t,n,r,i,a,o){var s,c,l=new Map,u=t.length,d=a.length,f=Array(u),p;for(s=0;s<u;++s)(c=t[s])&&(f[s]=p=o.call(c,c.__data__,s,t)+``,l.has(p)?i[s]=c:l.set(p,c));for(s=0;s<d;++s)p=o.call(e,a[s],s,a)+``,(c=l.get(p))?(r[s]=c,c.__data__=a[s],l.delete(p)):n[s]=new D0(e,a[s]);for(s=0;s<u;++s)(c=t[s])&&l.get(f[s])===c&&(i[s]=c)}function yme(e){return e.__data__}function bme(e,t){if(!arguments.length)return Array.from(this,yme);var n=t?vme:_me,r=this._parents,i=this._groups;typeof e!=`function`&&(e=hme(e));for(var a=i.length,o=Array(a),s=Array(a),c=Array(a),l=0;l<a;++l){var u=r[l],d=i[l],f=d.length,p=xme(e.call(u,u&&u.__data__,l,r)),m=p.length,h=s[l]=Array(m),g=o[l]=Array(m);n(u,d,h,g,c[l]=Array(f),p,t);for(var _=0,v=0,y,b;_<m;++_)if(y=h[_]){for(_>=v&&(v=_+1);!(b=g[v])&&++v<m;);y._next=b||null}}return o=new z0(o,r),o._enter=s,o._exit=c,o}function xme(e){return typeof e==`object`&&`length`in e?e:Array.from(e)}var Sme=o((()=>{H0(),O0(),gme()}));function Cme(){return new z0(this._exit||this._groups.map(T0),this._parents)}var wme=o((()=>{E0(),H0()}));function Tme(e,t,n){var r=this.enter(),i=this,a=this.exit();return typeof e==`function`?(r=e(r),r&&=r.selection()):r=r.append(e+``),t!=null&&(i=t(i),i&&=i.selection()),n==null?a.remove():n(a),r&&i?r.merge(i).order():i}var Eme=o((()=>{}));function Dme(e){for(var t=e.selection?e.selection():e,n=this._groups,r=t._groups,i=n.length,a=r.length,o=Math.min(i,a),s=Array(i),c=0;c<o;++c)for(var l=n[c],u=r[c],d=l.length,f=s[c]=Array(d),p,m=0;m<d;++m)(p=l[m]||u[m])&&(f[m]=p);for(;c<i;++c)s[c]=n[c];return new z0(s,this._parents)}var Ome=o((()=>{H0()}));function kme(){for(var e=this._groups,t=-1,n=e.length;++t<n;)for(var r=e[t],i=r.length-1,a=r[i],o;--i>=0;)(o=r[i])&&(a&&o.compareDocumentPosition(a)^4&&a.parentNode.insertBefore(o,a),a=o);return this}var Ame=o((()=>{}));function jme(e){e||=Mme;function t(t,n){return t&&n?e(t.__data__,n.__data__):!t-!n}for(var n=this._groups,r=n.length,i=Array(r),a=0;a<r;++a){for(var o=n[a],s=o.length,c=i[a]=Array(s),l,u=0;u<s;++u)(l=o[u])&&(c[u]=l);c.sort(t)}return new z0(i,this._parents).order()}function Mme(e,t){return e<t?-1:e>t?1:e>=t?0:NaN}var Nme=o((()=>{H0()}));function Pme(){var e=arguments[0];return arguments[0]=this,e.apply(null,arguments),this}var Fme=o((()=>{}));function Ime(){return Array.from(this)}var Lme=o((()=>{}));function Rme(){for(var e=this._groups,t=0,n=e.length;t<n;++t)for(var r=e[t],i=0,a=r.length;i<a;++i){var o=r[i];if(o)return o}return null}var zme=o((()=>{}));function Bme(){let e=0;for(let t of this)++e;return e}var Vme=o((()=>{}));function Hme(){return!this.node()}var Ume=o((()=>{}));function Wme(e){for(var t=this._groups,n=0,r=t.length;n<r;++n)for(var i=t[n],a=0,o=i.length,s;a<o;++a)(s=i[a])&&e.call(s,s.__data__,a,i);return this}var Gme=o((()=>{}));function Kme(e){return function(){this.removeAttribute(e)}}function qme(e){return function(){this.removeAttributeNS(e.space,e.local)}}function Jme(e,t){return function(){this.setAttribute(e,t)}}function Yme(e,t){return function(){this.setAttributeNS(e.space,e.local,t)}}function Xme(e,t){return function(){var n=t.apply(this,arguments);n==null?this.removeAttribute(e):this.setAttribute(e,n)}}function Zme(e,t){return function(){var n=t.apply(this,arguments);n==null?this.removeAttributeNS(e.space,e.local):this.setAttributeNS(e.space,e.local,n)}}function Qme(e,t){var n=d0(e);if(arguments.length<2){var r=this.node();return n.local?r.getAttributeNS(n.space,n.local):r.getAttribute(n)}return this.each((t==null?n.local?qme:Kme:typeof t==`function`?n.local?Zme:Xme:n.local?Yme:Jme)(n,t))}var $me=o((()=>{f0()}));function k0(e){return e.ownerDocument&&e.ownerDocument.defaultView||e.document&&e||e.defaultView}var A0=o((()=>{}));function ehe(e){return function(){this.style.removeProperty(e)}}function the(e,t,n){return function(){this.style.setProperty(e,t,n)}}function nhe(e,t,n){return function(){var r=t.apply(this,arguments);r==null?this.style.removeProperty(e):this.style.setProperty(e,r,n)}}function rhe(e,t,n){return arguments.length>1?this.each((t==null?ehe:typeof t==`function`?nhe:the)(e,t,n??``)):j0(this.node(),e)}function j0(e,t){return e.style.getPropertyValue(t)||k0(e).getComputedStyle(e,null).getPropertyValue(t)}var M0=o((()=>{A0()}));function ihe(e){return function(){delete this[e]}}function ahe(e,t){return function(){this[e]=t}}function ohe(e,t){return function(){var n=t.apply(this,arguments);n==null?delete this[e]:this[e]=n}}function she(e,t){return arguments.length>1?this.each((t==null?ihe:typeof t==`function`?ohe:ahe)(e,t)):this.node()[e]}var che=o((()=>{}));function N0(e){return e.trim().split(/^|\\s+/)}function P0(e){return e.classList||new F0(e)}function F0(e){this._node=e,this._names=N0(e.getAttribute(`class`)||``)}function I0(e,t){for(var n=P0(e),r=-1,i=t.length;++r<i;)n.add(t[r])}function L0(e,t){for(var n=P0(e),r=-1,i=t.length;++r<i;)n.remove(t[r])}function lhe(e){return function(){I0(this,e)}}function uhe(e){return function(){L0(this,e)}}function dhe(e,t){return function(){(t.apply(this,arguments)?I0:L0)(this,e)}}function fhe(e,t){var n=N0(e+``);if(arguments.length<2){for(var r=P0(this.node()),i=-1,a=n.length;++i<a;)if(!r.contains(n[i]))return!1;return!0}return this.each((typeof t==`function`?dhe:t?lhe:uhe)(n,t))}var phe=o((()=>{F0.prototype={add:function(e){this._names.indexOf(e)<0&&(this._names.push(e),this._node.setAttribute(`class`,this._names.join(` `)))},remove:function(e){var t=this._names.indexOf(e);t>=0&&(this._names.splice(t,1),this._node.setAttribute(`class`,this._names.join(` `)))},contains:function(e){return this._names.indexOf(e)>=0}}}));function mhe(){this.textContent=``}function hhe(e){return function(){this.textContent=e}}function ghe(e){return function(){this.textContent=e.apply(this,arguments)??``}}function _he(e){return arguments.length?this.each(e==null?mhe:(typeof e==`function`?ghe:hhe)(e)):this.node().textContent}var vhe=o((()=>{}));function yhe(){this.innerHTML=``}function bhe(e){return function(){this.innerHTML=e}}function xhe(e){return function(){this.innerHTML=e.apply(this,arguments)??``}}function She(e){return arguments.length?this.each(e==null?yhe:(typeof e==`function`?xhe:bhe)(e)):this.node().innerHTML}var Che=o((()=>{}));function whe(){this.nextSibling&&this.parentNode.appendChild(this)}function The(){return this.each(whe)}var Ehe=o((()=>{}));function Dhe(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function Ohe(){return this.each(Dhe)}var khe=o((()=>{}));function Ahe(e){var t=typeof e==`function`?e:p0(e);return this.select(function(){return this.appendChild(t.apply(this,arguments))})}var jhe=o((()=>{m0()}));function Mhe(){return null}function Nhe(e,t){var n=typeof e==`function`?e:p0(e),r=t==null?Mhe:typeof t==`function`?t:h0(t);return this.select(function(){return this.insertBefore(n.apply(this,arguments),r.apply(this,arguments)||null)})}var Phe=o((()=>{m0(),g0()}));function Fhe(){var e=this.parentNode;e&&e.removeChild(this)}function Ihe(){return this.each(Fhe)}var Lhe=o((()=>{}));function Rhe(){var e=this.cloneNode(!1),t=this.parentNode;return t?t.insertBefore(e,this.nextSibling):e}function zhe(){var e=this.cloneNode(!0),t=this.parentNode;return t?t.insertBefore(e,this.nextSibling):e}function Bhe(e){return this.select(e?zhe:Rhe)}var Vhe=o((()=>{}));function Hhe(e){return arguments.length?this.property(`__data__`,e):this.node().__data__}var Uhe=o((()=>{}));function Whe(e){return function(t){e.call(this,t,this.__data__)}}function Ghe(e){return e.trim().split(/^|\\s+/).map(function(e){var t=``,n=e.indexOf(`.`);return n>=0&&(t=e.slice(n+1),e=e.slice(0,n)),{type:e,name:t}})}function Khe(e){return function(){var t=this.__on;if(t){for(var n=0,r=-1,i=t.length,a;n<i;++n)a=t[n],(!e.type||a.type===e.type)&&a.name===e.name?this.removeEventListener(a.type,a.listener,a.options):t[++r]=a;++r?t.length=r:delete this.__on}}}function qhe(e,t,n){return function(){var r=this.__on,i,a=Whe(t);if(r){for(var o=0,s=r.length;o<s;++o)if((i=r[o]).type===e.type&&i.name===e.name){this.removeEventListener(i.type,i.listener,i.options),this.addEventListener(i.type,i.listener=a,i.options=n),i.value=t;return}}this.addEventListener(e.type,a,n),i={type:e.type,name:e.name,value:t,listener:a,options:n},r?r.push(i):this.__on=[i]}}function Jhe(e,t,n){var r=Ghe(e+``),i,a=r.length,o;if(arguments.length<2){var s=this.node().__on;if(s){for(var c=0,l=s.length,u;c<l;++c)for(i=0,u=s[c];i<a;++i)if((o=r[i]).type===u.type&&o.name===u.name)return u.value}return}for(s=t?qhe:Khe,i=0;i<a;++i)this.each(s(r[i],t,n));return this}var Yhe=o((()=>{}));function R0(e,t,n){var r=k0(e),i=r.CustomEvent;typeof i==`function`?i=new i(t,n):(i=r.document.createEvent(`Event`),n?(i.initEvent(t,n.bubbles,n.cancelable),i.detail=n.detail):i.initEvent(t,!1,!1)),e.dispatchEvent(i)}function Xhe(e,t){return function(){return R0(this,e,t)}}function Zhe(e,t){return function(){return R0(this,e,t.apply(this,arguments))}}function Qhe(e,t){return this.each((typeof t==`function`?Zhe:Xhe)(e,t))}var $he=o((()=>{A0()}));function*ege(){for(var e=this._groups,t=0,n=e.length;t<n;++t)for(var r=e[t],i=0,a=r.length,o;i<a;++i)(o=r[i])&&(yield o)}var tge=o((()=>{}));function z0(e,t){this._groups=e,this._parents=t}function B0(){return new z0([[document.documentElement]],V0)}function nge(){return this}var V0,H0=o((()=>{Qpe(),rme(),sme(),dme(),pme(),Sme(),O0(),wme(),Eme(),Ome(),Ame(),Nme(),Fme(),Lme(),zme(),Vme(),Ume(),Gme(),$me(),M0(),che(),phe(),vhe(),Che(),Ehe(),khe(),jhe(),Phe(),Lhe(),Vhe(),Uhe(),Yhe(),$he(),tge(),V0=[null],z0.prototype=B0.prototype={constructor:z0,select:Zpe,selectAll:nme,selectChild:ome,selectChildren:ume,filter:fme,data:bme,enter:mme,exit:Cme,join:Tme,merge:Dme,selection:nge,order:kme,sort:jme,call:Pme,nodes:Ime,node:Rme,size:Bme,empty:Hme,each:Wme,attr:Qme,style:rhe,property:she,classed:fhe,text:_he,html:She,raise:The,lower:Ohe,append:Ahe,insert:Nhe,remove:Ihe,clone:Bhe,datum:Hhe,on:Jhe,dispatch:Qhe,[Symbol.iterator]:ege}}));function U0(e){return typeof e==`string`?new z0([[document.querySelector(e)]],[document.documentElement]):new z0([[e]],V0)}var rge=o((()=>{H0()})),W0=o((()=>{m0(),rge(),S0(),f0(),u0(),_0(),H0(),g0(),y0(),M0(),A0()})),ige=o((()=>{s0(),W0()}));function G0(){return r2||=(o2(age),a2.now()+i2)}function age(){r2=0}function K0(){this._call=this._time=this._next=null}function q0(e,t,n){var r=new K0;return r.restart(e,t,n),r}function oge(){G0(),++X0;for(var e=e2,t;e;)(t=r2-e._time)>=0&&e._call.call(void 0,t),e=e._next;--X0}function J0(){r2=(n2=a2.now())+i2,X0=Z0=0;try{oge()}finally{X0=0,cge(),r2=0}}function sge(){var e=a2.now(),t=e-n2;t>$0&&(i2-=t,n2=e)}function cge(){for(var e,t=e2,n,r=1/0;t;)t._call?(r>t._time&&(r=t._time),e=t,t=t._next):(n=t._next,t._next=null,t=e?e._next=n:e2=n);t2=e,Y0(r)}function Y0(e){X0||(Z0&&=clearTimeout(Z0),e-r2>24?(e<1/0&&(Z0=setTimeout(J0,e-a2.now()-i2)),Q0&&=clearInterval(Q0)):(Q0||=(n2=a2.now(),setInterval(sge,$0)),X0=1,o2(J0)))}var X0,Z0,Q0,$0,e2,t2,n2,r2,i2,a2,o2,s2=o((()=>{X0=0,Z0=0,Q0=0,$0=1e3,n2=0,r2=0,i2=0,a2=typeof performance==`object`&&performance.now?performance:Date,o2=typeof window==`object`&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(e){setTimeout(e,17)},K0.prototype=q0.prototype={constructor:K0,restart:function(e,t,n){if(typeof e!=`function`)throw TypeError(`callback is not a function`);n=(n==null?G0():+n)+(t==null?0:+t),!this._next&&t2!==this&&(t2?t2._next=this:e2=this,t2=this),this._call=e,this._time=n,Y0()},stop:function(){this._call&&(this._call=null,this._time=1/0,Y0())}}}));function c2(e,t,n){var r=new K0;return t=t==null?0:+t,r.restart(n=>{r.stop(),e(n+t)},t,n),r}var lge=o((()=>{s2()})),l2=o((()=>{s2(),lge()}));function u2(e,t,n,r,i,a){var o=e.__transition;if(!o)e.__transition={};else if(n in o)return;uge(e,n,{name:t,index:r,group:i,on:m2,tween:h2,time:a.time,delay:a.delay,duration:a.duration,ease:a.ease,timer:null,state:0})}function d2(e,t){var n=p2(e,t);if(n.state>0)throw Error(`too late; already scheduled`);return n}function f2(e,t){var n=p2(e,t);if(n.state>3)throw Error(`too late; already running`);return n}function p2(e,t){var n=e.__transition;if(!n||!(n=n[t]))throw Error(`transition not found`);return n}function uge(e,t,n){var r=e.__transition,i;r[t]=n,n.timer=q0(a,0,n.time);function a(e){n.state=1,n.timer.restart(o,n.delay,n.time),n.delay<=e&&o(e-n.delay)}function o(a){var l,u,d,f;if(n.state!==1)return c();for(l in r)if(f=r[l],f.name===n.name){if(f.state===3)return c2(o);f.state===4?(f.state=6,f.timer.stop(),f.on.call(`interrupt`,e,e.__data__,f.index,f.group),delete r[l]):+l<t&&(f.state=6,f.timer.stop(),f.on.call(`cancel`,e,e.__data__,f.index,f.group),delete r[l])}if(c2(function(){n.state===3&&(n.state=4,n.timer.restart(s,n.delay,n.time),s(a))}),n.state=2,n.on.call(`start`,e,e.__data__,n.index,n.group),n.state===2){for(n.state=3,i=Array(d=n.tween.length),l=0,u=-1;l<d;++l)(f=n.tween[l].value.call(e,e.__data__,n.index,n.group))&&(i[++u]=f);i.length=u+1}}function s(t){for(var r=t<n.duration?n.ease.call(null,t/n.duration):(n.timer.restart(c),n.state=5,1),a=-1,o=i.length;++a<o;)i[a].call(e,r);n.state===5&&(n.on.call(`end`,e,e.__data__,n.index,n.group),c())}function c(){for(var i in n.state=6,n.timer.stop(),delete r[t],r)return;delete e.__transition}}var m2,h2,g2=o((()=>{s0(),l2(),m2=r0(`start`,`end`,`cancel`,`interrupt`),h2=[]}));function dge(e,t){var n=e.__transition,r,i,a=!0,o;if(n){for(o in t=t==null?null:t+``,n){if((r=n[o]).name!==t){a=!1;continue}i=r.state>2&&r.state<5,r.state=6,r.timer.stop(),r.on.call(i?`interrupt`:`cancel`,e,e.__data__,r.index,r.group),delete n[o]}a&&delete e.__transition}}var _2=o((()=>{g2()}));function fge(e){return this.each(function(){dge(this,e)})}var pge=o((()=>{_2()}));function mge(e,t){var n,r;return function(){var i=f2(this,e),a=i.tween;if(a!==n){r=n=a;for(var o=0,s=r.length;o<s;++o)if(r[o].name===t){r=r.slice(),r.splice(o,1);break}}i.tween=r}}function hge(e,t,n){var r,i;if(typeof n!=`function`)throw Error();return function(){var a=f2(this,e),o=a.tween;if(o!==r){i=(r=o).slice();for(var s={name:t,value:n},c=0,l=i.length;c<l;++c)if(i[c].name===t){i[c]=s;break}c===l&&i.push(s)}a.tween=i}}function gge(e,t){var n=this._id;if(e+=``,arguments.length<2){for(var r=p2(this.node(),n).tween,i=0,a=r.length,o;i<a;++i)if((o=r[i]).name===e)return o.value;return null}return this.each((t==null?mge:hge)(n,e,t))}function v2(e,t,n){var r=e._id;return e.each(function(){var e=f2(this,r);(e.value||={})[t]=n.apply(this,arguments)}),function(e){return p2(e,r).value[t]}}var y2=o((()=>{g2()}));function b2(e,t){var n;return(typeof t==`number`?VE:t instanceof eE?IE:(n=eE(t))?(t=n,IE):WE)(e,t)}var x2=o((()=>{kE(),iD()}));function _ge(e){return function(){this.removeAttribute(e)}}function vge(e){return function(){this.removeAttributeNS(e.space,e.local)}}function yge(e,t,n){var r,i=n+``,a;return function(){var o=this.getAttribute(e);return o===i?null:o===r?a:a=t(r=o,n)}}function bge(e,t,n){var r,i=n+``,a;return function(){var o=this.getAttributeNS(e.space,e.local);return o===i?null:o===r?a:a=t(r=o,n)}}function xge(e,t,n){var r,i,a;return function(){var o,s=n(this),c;return s==null?void this.removeAttribute(e):(o=this.getAttribute(e),c=s+``,o===c?null:o===r&&c===i?a:(i=c,a=t(r=o,s)))}}function Sge(e,t,n){var r,i,a;return function(){var o,s=n(this),c;return s==null?void this.removeAttributeNS(e.space,e.local):(o=this.getAttributeNS(e.space,e.local),c=s+``,o===c?null:o===r&&c===i?a:(i=c,a=t(r=o,s)))}}function Cge(e,t){var n=d0(e),r=n===`transform`?rD:b2;return this.attrTween(e,typeof t==`function`?(n.local?Sge:xge)(n,r,v2(this,`attr.`+e,t)):t==null?(n.local?vge:_ge)(n):(n.local?bge:yge)(n,r,t))}var wge=o((()=>{iD(),W0(),y2(),x2()}));function Tge(e,t){return function(n){this.setAttribute(e,t.call(this,n))}}function Ege(e,t){return function(n){this.setAttributeNS(e.space,e.local,t.call(this,n))}}function Dge(e,t){var n,r;function i(){var i=t.apply(this,arguments);return i!==r&&(n=(r=i)&&Ege(e,i)),n}return i._value=t,i}function Oge(e,t){var n,r;function i(){var i=t.apply(this,arguments);return i!==r&&(n=(r=i)&&Tge(e,i)),n}return i._value=t,i}function kge(e,t){var n=`attr.`+e;if(arguments.length<2)return(n=this.tween(n))&&n._value;if(t==null)return this.tween(n,null);if(typeof t!=`function`)throw Error();var r=d0(e);return this.tween(n,(r.local?Dge:Oge)(r,t))}var Age=o((()=>{W0()}));function jge(e,t){return function(){d2(this,e).delay=+t.apply(this,arguments)}}function Mge(e,t){return t=+t,function(){d2(this,e).delay=t}}function Nge(e){var t=this._id;return arguments.length?this.each((typeof e==`function`?jge:Mge)(t,e)):p2(this.node(),t).delay}var Pge=o((()=>{g2()}));function Fge(e,t){return function(){f2(this,e).duration=+t.apply(this,arguments)}}function Ige(e,t){return t=+t,function(){f2(this,e).duration=t}}function Lge(e){var t=this._id;return arguments.length?this.each((typeof e==`function`?Fge:Ige)(t,e)):p2(this.node(),t).duration}var Rge=o((()=>{g2()}));function zge(e,t){if(typeof t!=`function`)throw Error();return function(){f2(this,e).ease=t}}function Bge(e){var t=this._id;return arguments.length?this.each(zge(t,e)):p2(this.node(),t).ease}var Vge=o((()=>{g2()}));function Hge(e,t){return function(){var n=t.apply(this,arguments);if(typeof n!=`function`)throw Error();f2(this,e).ease=n}}function Uge(e){if(typeof e!=`function`)throw Error();return this.each(Hge(this._id,e))}var Wge=o((()=>{g2()}));function Gge(e){typeof e!=`function`&&(e=b0(e));for(var t=this._groups,n=t.length,r=Array(n),i=0;i<n;++i)for(var a=t[i],o=a.length,s=r[i]=[],c,l=0;l<o;++l)(c=a[l])&&e.call(c,c.__data__,l,a)&&s.push(c);return new w2(r,this._parents,this._name,this._id)}var Kge=o((()=>{W0(),O2()}));function qge(e){if(e._id!==this._id)throw Error();for(var t=this._groups,n=e._groups,r=t.length,i=n.length,a=Math.min(r,i),o=Array(r),s=0;s<a;++s)for(var c=t[s],l=n[s],u=c.length,d=o[s]=Array(u),f,p=0;p<u;++p)(f=c[p]||l[p])&&(d[p]=f);for(;s<r;++s)o[s]=t[s];return new w2(o,this._parents,this._name,this._id)}var Jge=o((()=>{O2()}));function Yge(e){return(e+``).trim().split(/^|\\s+/).every(function(e){var t=e.indexOf(`.`);return t>=0&&(e=e.slice(0,t)),!e||e===`start`})}function Xge(e,t,n){var r,i,a=Yge(t)?d2:f2;return function(){var o=a(this,e),s=o.on;s!==r&&(i=(r=s).copy()).on(t,n),o.on=i}}function Zge(e,t){var n=this._id;return arguments.length<2?p2(this.node(),n).on.on(e):this.each(Xge(n,e,t))}var Qge=o((()=>{g2()}));function $ge(e){return function(){var t=this.parentNode;for(var n in this.__transition)if(+n!==e)return;t&&t.removeChild(this)}}function e_e(){return this.on(`end.remove`,$ge(this._id))}var t_e=o((()=>{}));function n_e(e){var t=this._name,n=this._id;typeof e!=`function`&&(e=h0(e));for(var r=this._groups,i=r.length,a=Array(i),o=0;o<i;++o)for(var s=r[o],c=s.length,l=a[o]=Array(c),u,d,f=0;f<c;++f)(u=s[f])&&(d=e.call(u,u.__data__,f,s))&&(`__data__`in u&&(d.__data__=u.__data__),l[f]=d,u2(l[f],t,n,f,l,p2(u,n)));return new w2(a,this._parents,t,n)}var r_e=o((()=>{W0(),O2(),g2()}));function i_e(e){var t=this._name,n=this._id;typeof e!=`function`&&(e=v0(e));for(var r=this._groups,i=r.length,a=[],o=[],s=0;s<i;++s)for(var c=r[s],l=c.length,u,d=0;d<l;++d)if(u=c[d]){for(var f=e.call(u,u.__data__,d,c),p,m=p2(u,n),h=0,g=f.length;h<g;++h)(p=f[h])&&u2(p,t,n,h,f,m);a.push(f),o.push(u)}return new w2(a,o,t,n)}var a_e=o((()=>{W0(),O2(),g2()}));function o_e(){return new S2(this._groups,this._parents)}var S2,s_e=o((()=>{W0(),S2=B0.prototype.constructor}));function c_e(e,t){var n,r,i;return function(){var a=j0(this,e),o=(this.style.removeProperty(e),j0(this,e));return a===o?null:a===n&&o===r?i:i=t(n=a,r=o)}}function C2(e){return function(){this.style.removeProperty(e)}}function l_e(e,t,n){var r,i=n+``,a;return function(){var o=j0(this,e);return o===i?null:o===r?a:a=t(r=o,n)}}function u_e(e,t,n){var r,i,a;return function(){var o=j0(this,e),s=n(this),c=s+``;return s??(c=s=(this.style.removeProperty(e),j0(this,e))),o===c?null:o===r&&c===i?a:(i=c,a=t(r=o,s))}}function d_e(e,t){var n,r,i,a=`style.`+t,o=`end.`+a,s;return function(){var c=f2(this,e),l=c.on,u=c.value[a]==null?s||=C2(t):void 0;(l!==n||i!==u)&&(r=(n=l).copy()).on(o,i=u),c.on=r}}function f_e(e,t,n){var r=(e+=``)==`transform`?nD:b2;return t==null?this.styleTween(e,c_e(e,r)).on(`end.style.`+e,C2(e)):typeof t==`function`?this.styleTween(e,u_e(e,r,v2(this,`style.`+e,t))).each(d_e(this._id,e)):this.styleTween(e,l_e(e,r,t),n).on(`end.style.`+e,null)}var p_e=o((()=>{iD(),W0(),g2(),y2(),x2()}));function m_e(e,t,n){return function(r){this.style.setProperty(e,t.call(this,r),n)}}function h_e(e,t,n){var r,i;function a(){var a=t.apply(this,arguments);return a!==i&&(r=(i=a)&&m_e(e,a,n)),r}return a._value=t,a}function g_e(e,t,n){var r=`style.`+(e+=``);if(arguments.length<2)return(r=this.tween(r))&&r._value;if(t==null)return this.tween(r,null);if(typeof t!=`function`)throw Error();return this.tween(r,h_e(e,t,n??``))}var __e=o((()=>{}));function v_e(e){return function(){this.textContent=e}}function y_e(e){return function(){this.textContent=e(this)??``}}function b_e(e){return this.tween(`text`,typeof e==`function`?y_e(v2(this,`text`,e)):v_e(e==null?``:e+``))}var x_e=o((()=>{y2()}));function S_e(e){return function(t){this.textContent=e.call(this,t)}}function C_e(e){var t,n;function r(){var r=e.apply(this,arguments);return r!==n&&(t=(n=r)&&S_e(r)),t}return r._value=e,r}function w_e(e){var t=`text`;if(arguments.length<1)return(t=this.tween(t))&&t._value;if(e==null)return this.tween(t,null);if(typeof e!=`function`)throw Error();return this.tween(t,C_e(e))}var T_e=o((()=>{}));function E_e(){for(var e=this._name,t=this._id,n=T2(),r=this._groups,i=r.length,a=0;a<i;++a)for(var o=r[a],s=o.length,c,l=0;l<s;++l)if(c=o[l]){var u=p2(c,t);u2(c,e,n,l,o,{time:u.time+u.delay+u.duration,delay:0,duration:u.duration,ease:u.ease})}return new w2(r,this._parents,e,n)}var D_e=o((()=>{O2(),g2()}));function O_e(){var e,t,n=this,r=n._id,i=n.size();return new Promise(function(a,o){var s={value:o},c={value:function(){--i===0&&a()}};n.each(function(){var n=f2(this,r),i=n.on;i!==e&&(t=(e=i).copy(),t._.cancel.push(s),t._.interrupt.push(s),t._.end.push(c)),n.on=t}),i===0&&a()})}var k_e=o((()=>{g2()}));function w2(e,t,n,r){this._groups=e,this._parents=t,this._name=n,this._id=r}function A_e(e){return B0().transition(e)}function T2(){return++E2}var E2,D2,O2=o((()=>{W0(),wge(),Age(),Pge(),Rge(),Vge(),Wge(),Kge(),Jge(),Qge(),t_e(),r_e(),a_e(),s_e(),p_e(),__e(),x_e(),T_e(),D_e(),y2(),k_e(),E2=0,D2=B0.prototype,w2.prototype=A_e.prototype={constructor:w2,select:n_e,selectAll:i_e,selectChild:D2.selectChild,selectChildren:D2.selectChildren,filter:Gge,merge:qge,selection:o_e,transition:E_e,call:D2.call,nodes:D2.nodes,node:D2.node,size:D2.size,empty:D2.empty,each:D2.each,on:Zge,attr:Cge,attrTween:kge,style:f_e,styleTween:g_e,text:b_e,textTween:w_e,remove:e_e,tween:gge,delay:Nge,duration:Lge,ease:Bge,easeVarying:Uge,end:O_e,[Symbol.iterator]:D2[Symbol.iterator]}}));function j_e(e){return((e*=2)<=1?e*e*e:(e-=2)*e*e+2)/2}var M_e=o((()=>{})),k2=o((()=>{M_e()}));function N_e(e,t){for(var n;!(n=e.__transition)||!(n=n[t]);)if(!(e=e.parentNode))throw Error(`transition ${t} not found`);return n}function P_e(e){var t,n;e instanceof w2?(t=e._id,e=e._name):(t=T2(),(n=A2).time=G0(),e=e==null?null:e+``);for(var r=this._groups,i=r.length,a=0;a<i;++a)for(var o=r[a],s=o.length,c,l=0;l<s;++l)(c=o[l])&&u2(c,e,t,l,o,n||N_e(c,t));return new w2(r,this._parents,e,t)}var A2,F_e=o((()=>{O2(),g2(),k2(),l2(),A2={time:null,delay:0,duration:250,ease:j_e}})),I_e=o((()=>{W0(),pge(),F_e(),B0.prototype.interrupt=fge,B0.prototype.transition=P_e})),j2=o((()=>{I_e(),O2(),g2(),_2()}));function M2(e){return{type:e}}var L_e,R_e,z_e,B_e=o((()=>{j2(),{abs:L_e,max:R_e,min:z_e}=Math,[`w`,`e`].map(M2),[`n`,`s`].map(M2),[`n`,`w`,`e`,`s`,`nw`,`ne`,`sw`,`se`].map(M2)})),V_e=o((()=>{B_e()})),H_e=o((()=>{Ad()})),U_e=o((()=>{zT()})),W_e=o((()=>{})),N2=o((()=>{})),G_e=o((()=>{N2()})),P2=o((()=>{})),K_e=o((()=>{P2(),s0(),l2()}));function q_e(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString(`en`).replace(/,/g,``):e.toString(10)}function F2(e,t){if(!isFinite(e)||e===0)return null;var n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf(`e`),r=e.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+e.slice(n+1)]}var I2=o((()=>{}));function J_e(e){return e=F2(Math.abs(e)),e?e[1]:NaN}var L2=o((()=>{I2()}));function Y_e(e,t){return function(n,r){for(var i=n.length,a=[],o=0,s=e[0],c=0;i>0&&s>0&&(c+s+1>r&&(s=Math.max(1,r-c)),a.push(n.substring(i-=s,i+s)),!((c+=s+1)>r));)s=e[o=(o+1)%e.length];return a.reverse().join(t)}}var X_e=o((()=>{}));function Z_e(e){return function(t){return t.replace(/[0-9]/g,function(t){return e[+t]})}}var Q_e=o((()=>{}));function R2(e){if(!(t=B2.exec(e)))throw Error(`invalid format: `+e);var t;return new z2({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 z2(e){this.fill=e.fill===void 0?` `:e.fill+``,this.align=e.align===void 0?`>`:e.align+``,this.sign=e.sign===void 0?`-`:e.sign+``,this.symbol=e.symbol===void 0?``:e.symbol+``,this.zero=!!e.zero,this.width=e.width===void 0?void 0:+e.width,this.comma=!!e.comma,this.precision=e.precision===void 0?void 0:+e.precision,this.trim=!!e.trim,this.type=e.type===void 0?``:e.type+``}var B2,V2=o((()=>{B2=/^(?:(.)?([<>=^]))?([+\\-( ])?([$#])?(0)?(\\d+)?(,)?(\\.\\d+)?(~)?([a-z%])?$/i,R2.prototype=z2.prototype,z2.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?`0`:``)+(this.width===void 0?``:Math.max(1,this.width|0))+(this.comma?`,`:``)+(this.precision===void 0?``:`.`+Math.max(0,this.precision|0))+(this.trim?`~`:``)+this.type}}));function $_e(e){out:for(var t=e.length,n=1,r=-1,i;n<t;++n)switch(e[n]){case`.`:r=i=n;break;case`0`:r===0&&(r=n),i=n;break;default:if(!+e[n])break out;r>0&&(r=0);break}return r>0?e.slice(0,r)+e.slice(i+1):e}var eve=o((()=>{}));function tve(e,t){var n=F2(e,t);if(!n)return H2=void 0,e.toPrecision(t);var r=n[0],i=n[1],a=i-(H2=Math.max(-8,Math.min(8,Math.floor(i/3)))*3)+1,o=r.length;return a===o?r:a>o?r+Array(a-o+1).join(`0`):a>0?r.slice(0,a)+`.`+r.slice(a):`0.`+Array(1-a).join(`0`)+F2(e,Math.max(0,t+a-1))[0]}var H2,U2=o((()=>{I2()}));function W2(e,t){var n=F2(e,t);if(!n)return e+``;var r=n[0],i=n[1];return i<0?`0.`+Array(-i).join(`0`)+r:r.length>i+1?r.slice(0,i+1)+`.`+r.slice(i+1):r+Array(i-r.length+2).join(`0`)}var nve=o((()=>{I2()})),G2,rve=o((()=>{I2(),U2(),nve(),G2={\"%\":(e,t)=>(e*100).toFixed(t),b:e=>Math.round(e).toString(2),c:e=>e+``,d:q_e,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)=>W2(e*100,t),r:W2,s:tve,X:e=>Math.round(e).toString(16).toUpperCase(),x:e=>Math.round(e).toString(16)}}));function K2(e){return e}var ive=o((()=>{}));function ave(e){var t=e.grouping===void 0||e.thousands===void 0?K2:Y_e(q2.call(e.grouping,Number),e.thousands+``),n=e.currency===void 0?``:e.currency[0]+``,r=e.currency===void 0?``:e.currency[1]+``,i=e.decimal===void 0?`.`:e.decimal+``,a=e.numerals===void 0?K2:Z_e(q2.call(e.numerals,String)),o=e.percent===void 0?`%`:e.percent+``,s=e.minus===void 0?`−`:e.minus+``,c=e.nan===void 0?`NaN`:e.nan+``;function l(e,l){e=R2(e);var u=e.fill,d=e.align,f=e.sign,p=e.symbol,m=e.zero,h=e.width,g=e.comma,_=e.precision,v=e.trim,y=e.type;y===`n`?(g=!0,y=`g`):G2[y]||(_===void 0&&(_=12),v=!0,y=`g`),(m||u===`0`&&d===`=`)&&(m=!0,u=`0`,d=`=`);var b=(l&&l.prefix!==void 0?l.prefix:``)+(p===`$`?n:p===`#`&&/[boxX]/.test(y)?`0`+y.toLowerCase():``),x=(p===`$`?r:/[%p]/.test(y)?o:``)+(l&&l.suffix!==void 0?l.suffix:``),S=G2[y],C=/[defgprs%]/.test(y);_=_===void 0?6:/[gprs]/.test(y)?Math.max(1,Math.min(21,_)):Math.max(0,Math.min(20,_));function w(e){var n=b,r=x,o,l,p;if(y===`c`)r=S(e)+r,e=``;else{e=+e;var w=e<0||1/e<0;if(e=isNaN(e)?c:S(Math.abs(e),_),v&&(e=$_e(e)),w&&+e==0&&f!==`+`&&(w=!1),n=(w?f===`(`?f:s:f===`-`||f===`(`?``:f)+n,r=(y===`s`&&!isNaN(e)&&H2!==void 0?J2[8+H2/3]:``)+r+(w&&f===`(`?`)`:``),C){for(o=-1,l=e.length;++o<l;)if(p=e.charCodeAt(o),48>p||p>57){r=(p===46?i+e.slice(o+1):e.slice(o))+r,e=e.slice(0,o);break}}}g&&!m&&(e=t(e,1/0));var T=n.length+e.length+r.length,E=T<h?Array(h-T+1).join(u):``;switch(g&&m&&(e=t(E+e,E.length?h-r.length:1/0),E=``),d){case`<`:e=n+e+r+E;break;case`=`:e=n+E+e+r;break;case`^`:e=E.slice(0,T=E.length>>1)+n+e+r+E.slice(T);break;default:e=E+n+e+r;break}return a(e)}return w.toString=function(){return e+``},w}function u(e,t){var n=Math.max(-8,Math.min(8,Math.floor(J_e(t)/3)))*3,r=10**-n,i=l((e=R2(e),e.type=`f`,e),{suffix:J2[8+n/3]});return function(e){return i(r*e)}}return{format:l,formatPrefix:u}}var q2,J2,Y2=o((()=>{L2(),X_e(),Q_e(),V2(),eve(),rve(),U2(),ive(),q2=Array.prototype.map,J2=[`y`,`z`,`a`,`f`,`p`,`n`,`µ`,`m`,``,`k`,`M`,`G`,`T`,`P`,`E`,`Z`,`Y`]}));function ove(e){return X2=ave(e),sve=X2.format,cve=X2.formatPrefix,X2}var X2,sve,cve,lve=o((()=>{Y2(),ove({thousands:`,`,grouping:[3],currency:[`$`,``]})})),uve=o((()=>{lve(),Y2(),V2(),L2()})),dve=o((()=>{zT()})),fve=o((()=>{})),pve=o((()=>{})),mve=o((()=>{})),hve=o((()=>{iD(),kE()}));function Z2(e,t,n,r){function i(t){return e(t=arguments.length===0?new Date:new Date(+t)),t}return i.floor=t=>(e(t=new Date(+t)),t),i.ceil=n=>(e(n=new Date(n-1)),t(n,1),e(n),n),i.round=e=>{let t=i(e),n=i.ceil(e);return e-t<n-e?t:n},i.offset=(e,n)=>(t(e=new Date(+e),n==null?1:Math.floor(n)),e),i.range=(n,r,a)=>{let o=[];if(n=i.ceil(n),a=a==null?1:Math.floor(a),!(n<r)||!(a>0))return o;let s;do o.push(s=new Date(+n)),t(n,a),e(n);while(s<n&&n<r);return o},i.filter=n=>Z2(t=>{if(t>=t)for(;e(t),!n(t);)t.setTime(t-1)},(e,r)=>{if(e>=e)if(r<0)for(;++r<=0;)for(;t(e,-1),!n(e););else for(;--r>=0;)for(;t(e,1),!n(e););}),n&&(i.count=(t,r)=>(Q2.setTime(+t),$2.setTime(+r),e(Q2),e($2),Math.floor(n(Q2,$2))),i.every=e=>(e=Math.floor(e),!isFinite(e)||!(e>0)?null:e>1?i.filter(r?t=>r(t)%e===0:t=>i.count(0,t)%e===0):i)),i}var Q2,$2,e4=o((()=>{Q2=new Date,$2=new Date})),t4,n4,r4,i4,a4,o4=o((()=>{t4=1e3,n4=t4*60,r4=n4*60,i4=r4*24,a4=i4*7,i4*30,i4*365})),s4,c4,l4,gve=o((()=>{e4(),o4(),s4=Z2(e=>e.setHours(0,0,0,0),(e,t)=>e.setDate(e.getDate()+t),(e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*n4)/i4,e=>e.getDate()-1),s4.range,c4=Z2(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/i4,e=>e.getUTCDate()-1),c4.range,l4=Z2(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/i4,e=>Math.floor(e/i4)),l4.range}));function u4(e){return Z2(t=>{t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)},(e,t)=>{e.setDate(e.getDate()+t*7)},(e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*n4)/a4)}function d4(e){return Z2(t=>{t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t*7)},(e,t)=>(t-e)/a4)}var f4,p4,m4,h4,g4,_4,v4,y4,b4,x4,S4,C4,w4,T4,_ve=o((()=>{e4(),o4(),f4=u4(0),p4=u4(1),m4=u4(2),h4=u4(3),g4=u4(4),_4=u4(5),v4=u4(6),f4.range,p4.range,m4.range,h4.range,g4.range,_4.range,v4.range,y4=d4(0),b4=d4(1),x4=d4(2),S4=d4(3),C4=d4(4),w4=d4(5),T4=d4(6),y4.range,b4.range,x4.range,S4.range,C4.range,w4.range,T4.range})),E4,D4,vve=o((()=>{e4(),E4=Z2(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()),E4.every=e=>!isFinite(e=Math.floor(e))||!(e>0)?null:Z2(t=>{t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)},(t,n)=>{t.setFullYear(t.getFullYear()+n*e)}),E4.range,D4=Z2(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()),D4.every=e=>!isFinite(e=Math.floor(e))||!(e>0)?null:Z2(t=>{t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},(t,n)=>{t.setUTCFullYear(t.getUTCFullYear()+n*e)}),D4.range})),O4=o((()=>{e4(),o4(),gve(),_ve(),vve(),zT()}));function k4(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 A4(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 j4(e,t,n){return{y:e,m:t,d:n,H:0,M:0,S:0,L:0}}function yve(e){var t=e.dateTime,n=e.date,r=e.time,i=e.periods,a=e.days,o=e.shortDays,s=e.months,c=e.shortMonths,l=N4(i),u=P4(i),d=N4(a),f=P4(a),p=N4(o),m=P4(o),h=N4(s),g=P4(s),_=N4(c),v=P4(c),y={a:N,A:ee,b:te,B:ne,c:null,d:z4,e:z4,f:Bve,g:Xve,G:Qve,H:Lve,I:Rve,j:zve,L:B4,m:Vve,M:Hve,p:re,q:ie,Q:K4,s:q4,S:Uve,u:Wve,U:Gve,V:Kve,w:qve,W:Jve,x:null,X:null,y:Yve,Y:Zve,Z:$ve,\"%\":G4},b={a:ae,A:oe,b:se,B:ce,c:null,d:H4,e:H4,f:rye,g:pye,G:hye,H:eye,I:tye,j:nye,L:U4,m:iye,M:aye,p:P,q:le,Q:K4,s:q4,S:oye,u:sye,U:cye,V:lye,w:uye,W:dye,x:null,X:null,y:fye,Y:mye,Z:gye,\"%\":G4},x={a:E,A:D,b:O,B:k,c:A,d:L4,e:L4,f:Nve,g:I4,G:F4,H:R4,I:R4,j:kve,L:Mve,m:Ove,M:Ave,p:T,q:Dve,Q:Fve,s:Ive,S:jve,u:Sve,U:Cve,V:wve,w:xve,W:Tve,x:j,X:M,y:I4,Y:F4,Z:Eve,\"%\":Pve};y.x=S(n,y),y.X=S(r,y),y.c=S(t,y),b.x=S(n,b),b.X=S(r,b),b.c=S(t,b);function S(e,t){return function(n){var r=[],i=-1,a=0,o=e.length,s,c,l;for(n instanceof Date||(n=new Date(+n));++i<o;)e.charCodeAt(i)===37&&(r.push(e.slice(a,i)),(c=J4[s=e.charAt(++i)])==null?c=s===`e`?` `:`0`:s=e.charAt(++i),(l=t[s])&&(s=l(n,c)),r.push(s),a=i+1);return r.push(e.slice(a,i)),r.join(``)}}function C(e,t){return function(n){var r=j4(1900,void 0,1),i=w(r,e,n+=``,0),a,o;if(i!=n.length)return null;if(`Q`in r)return new Date(r.Q);if(`s`in r)return new Date(r.s*1e3+(`L`in r?r.L:0));if(t&&!(`Z`in r)&&(r.Z=0),`p`in r&&(r.H=r.H%12+r.p*12),r.m===void 0&&(r.m=`q`in r?r.q:0),`V`in r){if(r.V<1||r.V>53)return null;`w`in r||(r.w=1),`Z`in r?(a=A4(j4(r.y,0,1)),o=a.getUTCDay(),a=o>4||o===0?b4.ceil(a):b4(a),a=c4.offset(a,(r.V-1)*7),r.y=a.getUTCFullYear(),r.m=a.getUTCMonth(),r.d=a.getUTCDate()+(r.w+6)%7):(a=k4(j4(r.y,0,1)),o=a.getDay(),a=o>4||o===0?p4.ceil(a):p4(a),a=s4.offset(a,(r.V-1)*7),r.y=a.getFullYear(),r.m=a.getMonth(),r.d=a.getDate()+(r.w+6)%7)}else (`W`in r||`U`in r)&&(`w`in r||(r.w=`u`in r?r.u%7:+(`W`in r)),o=`Z`in r?A4(j4(r.y,0,1)).getUTCDay():k4(j4(r.y,0,1)).getDay(),r.m=0,r.d=`W`in r?(r.w+6)%7+r.W*7-(o+5)%7:r.w+r.U*7-(o+6)%7);return`Z`in r?(r.H+=r.Z/100|0,r.M+=r.Z%100,A4(r)):k4(r)}}function w(e,t,n,r){for(var i=0,a=t.length,o=n.length,s,c;i<a;){if(r>=o)return-1;if(s=t.charCodeAt(i++),s===37){if(s=t.charAt(i++),c=x[s in J4?t.charAt(i++):s],!c||(r=c(e,n,r))<0)return-1}else if(s!=n.charCodeAt(r++))return-1}return r}function T(e,t,n){var r=l.exec(t.slice(n));return r?(e.p=u.get(r[0].toLowerCase()),n+r[0].length):-1}function E(e,t,n){var r=p.exec(t.slice(n));return r?(e.w=m.get(r[0].toLowerCase()),n+r[0].length):-1}function D(e,t,n){var r=d.exec(t.slice(n));return r?(e.w=f.get(r[0].toLowerCase()),n+r[0].length):-1}function O(e,t,n){var r=_.exec(t.slice(n));return r?(e.m=v.get(r[0].toLowerCase()),n+r[0].length):-1}function k(e,t,n){var r=h.exec(t.slice(n));return r?(e.m=g.get(r[0].toLowerCase()),n+r[0].length):-1}function A(e,n,r){return w(e,t,n,r)}function j(e,t,r){return w(e,n,t,r)}function M(e,t,n){return w(e,r,t,n)}function N(e){return o[e.getDay()]}function ee(e){return a[e.getDay()]}function te(e){return c[e.getMonth()]}function ne(e){return s[e.getMonth()]}function re(e){return i[+(e.getHours()>=12)]}function ie(e){return 1+~~(e.getMonth()/3)}function ae(e){return o[e.getUTCDay()]}function oe(e){return a[e.getUTCDay()]}function se(e){return c[e.getUTCMonth()]}function ce(e){return s[e.getUTCMonth()]}function P(e){return i[+(e.getUTCHours()>=12)]}function le(e){return 1+~~(e.getUTCMonth()/3)}return{format:function(e){var t=S(e+=``,y);return t.toString=function(){return e},t},parse:function(e){var t=C(e+=``,!1);return t.toString=function(){return e},t},utcFormat:function(e){var t=S(e+=``,b);return t.toString=function(){return e},t},utcParse:function(e){var t=C(e+=``,!0);return t.toString=function(){return e},t}}}function M4(e,t,n){var r=e<0?`-`:``,i=(r?-e:e)+``,a=i.length;return r+(a<n?Array(n-a+1).join(t)+i:i)}function bve(e){return e.replace(Z4,`\\\\$&`)}function N4(e){return RegExp(`^(?:`+e.map(bve).join(`|`)+`)`,`i`)}function P4(e){return new Map(e.map((e,t)=>[e.toLowerCase(),t]))}function xve(e,t,n){var r=Y4.exec(t.slice(n,n+1));return r?(e.w=+r[0],n+r[0].length):-1}function Sve(e,t,n){var r=Y4.exec(t.slice(n,n+1));return r?(e.u=+r[0],n+r[0].length):-1}function Cve(e,t,n){var r=Y4.exec(t.slice(n,n+2));return r?(e.U=+r[0],n+r[0].length):-1}function wve(e,t,n){var r=Y4.exec(t.slice(n,n+2));return r?(e.V=+r[0],n+r[0].length):-1}function Tve(e,t,n){var r=Y4.exec(t.slice(n,n+2));return r?(e.W=+r[0],n+r[0].length):-1}function F4(e,t,n){var r=Y4.exec(t.slice(n,n+4));return r?(e.y=+r[0],n+r[0].length):-1}function I4(e,t,n){var r=Y4.exec(t.slice(n,n+2));return r?(e.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function Eve(e,t,n){var r=/^(Z)|([+-]\\d\\d)(?::?(\\d\\d))?/.exec(t.slice(n,n+6));return r?(e.Z=r[1]?0:-(r[2]+(r[3]||`00`)),n+r[0].length):-1}function Dve(e,t,n){var r=Y4.exec(t.slice(n,n+1));return r?(e.q=r[0]*3-3,n+r[0].length):-1}function Ove(e,t,n){var r=Y4.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function L4(e,t,n){var r=Y4.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function kve(e,t,n){var r=Y4.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function R4(e,t,n){var r=Y4.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function Ave(e,t,n){var r=Y4.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function jve(e,t,n){var r=Y4.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function Mve(e,t,n){var r=Y4.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function Nve(e,t,n){var r=Y4.exec(t.slice(n,n+6));return r?(e.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function Pve(e,t,n){var r=X4.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function Fve(e,t,n){var r=Y4.exec(t.slice(n));return r?(e.Q=+r[0],n+r[0].length):-1}function Ive(e,t,n){var r=Y4.exec(t.slice(n));return r?(e.s=+r[0],n+r[0].length):-1}function z4(e,t){return M4(e.getDate(),t,2)}function Lve(e,t){return M4(e.getHours(),t,2)}function Rve(e,t){return M4(e.getHours()%12||12,t,2)}function zve(e,t){return M4(1+s4.count(E4(e),e),t,3)}function B4(e,t){return M4(e.getMilliseconds(),t,3)}function Bve(e,t){return B4(e,t)+`000`}function Vve(e,t){return M4(e.getMonth()+1,t,2)}function Hve(e,t){return M4(e.getMinutes(),t,2)}function Uve(e,t){return M4(e.getSeconds(),t,2)}function Wve(e){var t=e.getDay();return t===0?7:t}function Gve(e,t){return M4(f4.count(E4(e)-1,e),t,2)}function V4(e){var t=e.getDay();return t>=4||t===0?g4(e):g4.ceil(e)}function Kve(e,t){return e=V4(e),M4(g4.count(E4(e),e)+(E4(e).getDay()===4),t,2)}function qve(e){return e.getDay()}function Jve(e,t){return M4(p4.count(E4(e)-1,e),t,2)}function Yve(e,t){return M4(e.getFullYear()%100,t,2)}function Xve(e,t){return e=V4(e),M4(e.getFullYear()%100,t,2)}function Zve(e,t){return M4(e.getFullYear()%1e4,t,4)}function Qve(e,t){var n=e.getDay();return e=n>=4||n===0?g4(e):g4.ceil(e),M4(e.getFullYear()%1e4,t,4)}function $ve(e){var t=e.getTimezoneOffset();return(t>0?`-`:(t*=-1,`+`))+M4(t/60|0,`0`,2)+M4(t%60,`0`,2)}function H4(e,t){return M4(e.getUTCDate(),t,2)}function eye(e,t){return M4(e.getUTCHours(),t,2)}function tye(e,t){return M4(e.getUTCHours()%12||12,t,2)}function nye(e,t){return M4(1+c4.count(D4(e),e),t,3)}function U4(e,t){return M4(e.getUTCMilliseconds(),t,3)}function rye(e,t){return U4(e,t)+`000`}function iye(e,t){return M4(e.getUTCMonth()+1,t,2)}function aye(e,t){return M4(e.getUTCMinutes(),t,2)}function oye(e,t){return M4(e.getUTCSeconds(),t,2)}function sye(e){var t=e.getUTCDay();return t===0?7:t}function cye(e,t){return M4(y4.count(D4(e)-1,e),t,2)}function W4(e){var t=e.getUTCDay();return t>=4||t===0?C4(e):C4.ceil(e)}function lye(e,t){return e=W4(e),M4(C4.count(D4(e),e)+(D4(e).getUTCDay()===4),t,2)}function uye(e){return e.getUTCDay()}function dye(e,t){return M4(b4.count(D4(e)-1,e),t,2)}function fye(e,t){return M4(e.getUTCFullYear()%100,t,2)}function pye(e,t){return e=W4(e),M4(e.getUTCFullYear()%100,t,2)}function mye(e,t){return M4(e.getUTCFullYear()%1e4,t,4)}function hye(e,t){var n=e.getUTCDay();return e=n>=4||n===0?C4(e):C4.ceil(e),M4(e.getUTCFullYear()%1e4,t,4)}function gye(){return`+0000`}function G4(){return`%`}function K4(e){return+e}function q4(e){return Math.floor(e/1e3)}var J4,Y4,X4,Z4,Q4=o((()=>{O4(),J4={\"-\":``,_:` `,0:`0`},Y4=/^\\s*\\d+/,X4=/^%/,Z4=/[\\\\^$*+?|[\\]().{}]/g}));function _ye(e){return $4=yve(e),vye=$4.format,yye=$4.parse,bye=$4.utcFormat,xye=$4.utcParse,$4}var $4,vye,yye,bye,xye,Sye=o((()=>{Q4(),_ye({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`]})})),Cye=o((()=>{Sye(),Q4()}));function e3(e,t,n){this.k=e,this.x=t,this.y=n}function wye(e){for(;!e.__zoom;)if(!(e=e.parentNode))return t3;return e.__zoom}var t3,n3=o((()=>{e3.prototype={constructor:e3,scale:function(e){return e===1?this:new e3(this.k*e,this.x,this.y)},translate:function(e,t){return e===0&t===0?this:new e3(this.k,this.x+this.k*e,this.y+this.k*t)},apply:function(e){return[e[0]*this.k+this.x,e[1]*this.k+this.y]},applyX:function(e){return e*this.k+this.x},applyY:function(e){return e*this.k+this.y},invert:function(e){return[(e[0]-this.x)/this.k,(e[1]-this.y)/this.k]},invertX:function(e){return(e-this.x)/this.k},invertY:function(e){return(e-this.y)/this.k},rescaleX:function(e){return e.copy().domain(e.range().map(this.invertX,this).map(e.invert,e))},rescaleY:function(e){return e.copy().domain(e.range().map(this.invertY,this).map(e.invert,e))},toString:function(){return`translate(`+this.x+`,`+this.y+`) scale(`+this.k+`)`}},t3=new e3(1,0,0),wye.prototype=e3.prototype})),Tye=o((()=>{j2(),n3()})),Eye=o((()=>{Tye(),n3()})),r3=o((()=>{zT(),Wpe(),V_e(),H_e(),kE(),U_e(),W_e(),s0(),ige(),N2(),k2(),G_e(),K_e(),uve(),dve(),fve(),iD(),Ad(),pve(),P2(),mve(),PA(),hve(),W0(),Vf(),O4(),Cye(),l2(),j2(),Eye()})),i3,a3,o3,Dye=o((()=>{i3=u(f(),1),Mu(),J$(),r3(),t1(),p1(),x1(),l1(),A1(),a3=wu(),o3=i3.memo(function({data:e,chartConfig:t,displayConfig:n={},queryObject:r,height:i=`100%`,colorPalette:a,onDataPointClick:o,drillEnabled:s}){let{t:c}=Au(),[l,u]=(0,i3.useState)(null),d=O1();try{let f={showTooltip:n?.showTooltip??!0,showLegend:n?.showLegend??!0,leftYAxisFormat:n?.leftYAxisFormat};if(!e||e.length===0)return(0,a3.jsx)(`div`,{className:`dc:flex dc:items-center dc:justify-center dc:w-full text-dc-text-muted`,style:{height:i},children:(0,a3.jsxs)(`div`,{className:`dc:text-center`,children:[(0,a3.jsx)(`div`,{className:`dc:text-sm dc:font-semibold dc:mb-1`,children:c(`chart.runtime.noData`)}),(0,a3.jsx)(`div`,{className:`dc:text-xs text-dc-text-secondary`,children:c(`chart.runtime.noDataHint.treemap`)})]})});let p,m=!1,h;if(t?.xAxis&&t?.yAxis){let n=Array.isArray(t.xAxis)?t.xAxis[0]:t.xAxis,i=Array.isArray(t.yAxis)?t.yAxis[0]:t.yAxis;h=Array.isArray(t.series)?t.series[0]:t.series;let o=s1(r,n);if(h){let t=e.map(e=>{let t=e[h];return typeof t==`string`?parseFloat(t):t}).filter(e=>!isNaN(e));if(m=t.length===e.length&&t.every(e=>typeof e==`number`),m){let r=Math.min(...t),a=Math.max(...t),s=sO().domain([r,a]).range(v1);p=e.map(e=>{let t=s(typeof e[h]==`string`?parseFloat(e[h]):e[h]);return{name:o1(e[n],o)||String(e[n])||`Unknown`,size:typeof e[i]==`string`?parseFloat(e[i]):e[i]||0,fill:t,series:String(e[h])}})}else{let t=[...new Set(e.map(e=>String(e[h])))],r=UT().domain(t).range(a?.colors||_1);p=e.map(e=>({name:o1(e[n],o)||String(e[n])||`Unknown`,size:typeof e[i]==`string`?parseFloat(e[i]):e[i]||0,fill:r(String(e[h])),series:String(e[h])}))}}else p=e.map((e,t)=>({name:o1(e[n],o)||String(e[n])||`Unknown`,size:typeof e[i]==`string`?parseFloat(e[i]):e[i]||0,fill:a?.colors&&a.colors[t%a.colors.length]||_1[t%_1.length]}))}else{let t=e[0],n=Object.keys(t),r=n.find(e=>typeof t[e]==`string`||e.toLowerCase().includes(`name`)||e.toLowerCase().includes(`label`)||e.toLowerCase().includes(`category`))||n[0],o=n.find(e=>e.toLowerCase().includes(`size`))||n.find(e=>typeof t[e]==`number`&&e!==r)||n[1];if(!o)return(0,a3.jsx)(`div`,{className:`dc:flex dc:items-center dc:justify-center dc:w-full text-dc-warning`,style:{height:i},children:(0,a3.jsxs)(`div`,{className:`dc:text-center`,children:[(0,a3.jsx)(`div`,{className:`dc:text-sm dc:font-semibold dc:mb-1`,children:c(`chart.runtime.configError`)}),(0,a3.jsx)(`div`,{className:`dc:text-xs`,children:c(`chart.runtime.configErrorHint.treemapNumeric`)})]})});p=e.map((e,t)=>{let n=e[r];return n=typeof n==`boolean`?n?`Active`:`Inactive`:n===`true`||n===`false`?n===`true`?`Active`:`Inactive`:String(n),{name:n,size:typeof e[o]==`string`?parseFloat(e[o]):e[o]||0,fill:a?.colors&&a.colors[t%a.colors.length]||_1[t%_1.length]}})}if(p=p.filter(e=>e.size!=null&&e.size>0),p.length===0)return(0,a3.jsx)(`div`,{className:`dc:flex dc:items-center dc:justify-center dc:w-full text-dc-text-muted`,style:{height:i},children:(0,a3.jsxs)(`div`,{className:`dc:text-center`,children:[(0,a3.jsx)(`div`,{className:`dc:text-sm dc:font-semibold dc:mb-1`,children:c(`chart.runtime.noValidData`)}),(0,a3.jsx)(`div`,{className:`dc:text-xs text-dc-text-secondary`,children:`No valid data points for treemap chart after transformation`})]})});let g=e=>{let{x:n,y:i,width:c,height:d,index:m,name:h,size:g}=e;return c<20||d<20?null:(0,a3.jsxs)(`g`,{children:[(0,a3.jsx)(`rect`,{x:n,y:i,width:c,height:d,style:{fill:p[m]?.fill||a?.colors&&a.colors[m%a.colors.length]||_1[m%_1.length],fillOpacity:l===null?.8:l===m?1:.6,stroke:`#fff`,strokeWidth:2,cursor:s?`pointer`:`default`,pointerEvents:`all`},onMouseEnter:()=>u(m),onMouseLeave:()=>u(null),onClick:s&&o?e=>{e.stopPropagation();let n=p[m];n&&o&&o({dataPoint:n,clickedField:r?.measures?.[0]||t?.yAxis?.[0]||``,xValue:h,position:{x:e.clientX,y:e.clientY},nativeEvent:e})}:void 0}),(0,a3.jsx)(`foreignObject`,{x:n,y:i,width:c,height:d,style:{pointerEvents:`none`,overflow:`visible`},children:(0,a3.jsxs)(`div`,{style:{width:`100%`,height:`100%`,display:`flex`,flexDirection:`column`,alignItems:`center`,justifyContent:`center`,padding:`4px`,boxSizing:`border-box`,color:`#ffffff`,textShadow:`0 1px 2px rgba(0,0,0,0.8)`,fontFamily:`system-ui, -apple-system, sans-serif`,overflow:`hidden`},children:[c>40&&d>30&&(0,a3.jsx)(`div`,{style:{fontSize:`${Math.max(10,Math.min(c/8,d/8,16))}px`,fontWeight:`600`,textAlign:`center`,lineHeight:`1.2`,marginBottom:c>60&&d>45?`4px`:`0`,wordBreak:`break-word`,hyphens:`auto`},children:h}),c>60&&d>45&&(0,a3.jsx)(`div`,{style:{fontSize:`${Math.max(8,Math.min(c/10,d/10,14))}px`,textAlign:`center`,opacity:.9},children:f.leftYAxisFormat?a1(g,f.leftYAxisFormat):typeof g==`number`?g.toLocaleString():g})]})})]})},_=p.some(e=>`series`in e)?[...new Set(p.map(e=>e.series).filter(Boolean))]:[],v=[];if(f.showLegend&&h)if(m){let t=Math.min(...e.map(e=>{let t=e[h];return typeof t==`string`?parseFloat(t):t})),n=Math.max(...e.map(e=>{let t=e[h];return typeof t==`string`?parseFloat(t):t}));v=v1.map((e,r)=>{let i=r/(v1.length-1),a=t+(n-t)*i;return{value:f.leftYAxisFormat?a1(a,f.leftYAxisFormat):a.toFixed(2),type:`rect`,color:e}})}else _.length>1&&(v=_.map((e,t)=>({value:e,type:`rect`,color:_1[t%_1.length]})));let y=f.showLegend&&v.length>0;return(0,a3.jsxs)(`div`,{className:`dc:w-full`,style:{height:y?typeof i==`string`&&i.includes(`%`)?i:typeof i==`number`?i+60:`calc(${i} + 60px)`:i},children:[(0,a3.jsx)(Q$,{height:y?`calc(100% - 50px)`:`100%`,children:(0,a3.jsx)(Vfe,{data:p,dataKey:`size`,aspectRatio:4/3,stroke:`#fff`,content:(0,a3.jsx)(g,{}),children:f.showTooltip&&(0,a3.jsx)(u1,{formatter:f.leftYAxisFormat?(e,t)=>[a1(e,f.leftYAxisFormat),t]:void 0})})}),y&&(0,a3.jsx)(`div`,{className:`dc:flex dc:justify-center dc:items-center dc:mt-4 dc:pb-2`,children:m?(0,a3.jsxs)(`div`,{className:`dc:flex dc:flex-col dc:items-center`,children:[(0,a3.jsx)(`div`,{className:`dc:text-xs dc:font-semibold text-dc-text-primary dc:mb-2`,children:h?d(h):``}),(0,a3.jsxs)(`div`,{className:`dc:flex dc:items-center dc:gap-2`,children:[(0,a3.jsx)(`span`,{className:`dc:text-xs text-dc-text-muted`,children:f.leftYAxisFormat?a1(Math.min(...e.map(e=>{let t=e[h];return typeof t==`string`?parseFloat(t):t})),f.leftYAxisFormat):Math.min(...e.map(e=>{let t=e[h];return typeof t==`string`?parseFloat(t):t})).toFixed(2)}),(0,a3.jsx)(`div`,{className:`dc:h-4 dc:rounded-sm`,style:{width:`200px`,background:`linear-gradient(to right, ${v1.join(`, `)})`}}),(0,a3.jsx)(`span`,{className:`dc:text-xs text-dc-text-muted`,children:f.leftYAxisFormat?a1(Math.max(...e.map(e=>{let t=e[h];return typeof t==`string`?parseFloat(t):t})),f.leftYAxisFormat):Math.max(...e.map(e=>{let t=e[h];return typeof t==`string`?parseFloat(t):t})).toFixed(2)})]})]}):(0,a3.jsx)(`div`,{className:`dc:flex dc:flex-wrap dc:justify-center dc:gap-4`,children:v.map((e,t)=>(0,a3.jsxs)(`div`,{className:`dc:flex dc:items-center dc:gap-2`,children:[(0,a3.jsx)(`div`,{className:`dc:w-3 dc:h-3 rounded-xs`,style:{backgroundColor:e.color}}),(0,a3.jsx)(`span`,{className:`dc:text-xs text-dc-text-muted`,children:e.value})]},t))})})]})}catch(e){return(0,a3.jsx)(`div`,{className:`dc:flex dc:flex-col dc:items-center dc:justify-center dc:w-full text-dc-error dc:p-4`,style:{height:i},children:(0,a3.jsxs)(`div`,{className:`dc:text-center`,children:[(0,a3.jsx)(`div`,{className:`dc:text-sm dc:font-semibold dc:mb-1`,children:c(`chart.runtime.chartError`,{chartType:`TreeMap Chart`})}),(0,a3.jsx)(`div`,{className:`dc:text-xs dc:mb-2`,children:e instanceof Error?e.message:c(`chart.runtime.unknownError`)}),(0,a3.jsx)(`div`,{className:`dc:text-xs text-dc-text-muted`,children:c(`chart.runtime.checkConfig`)})]})})}})}));function Oye(e,t){let n=e.icons,r=e.aliases||Object.create(null),i=Object.create(null);function a(e){if(n[e])return i[e]=[];if(!(e in i)){i[e]=null;let t=r[e]&&r[e].parent,n=t&&a(t);n&&(i[e]=[t].concat(n))}return i[e]}return Object.keys(n).concat(Object.keys(r)).forEach(a),i}function kye(e,t){let n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);let r=((e.rotate||0)+(t.rotate||0))%4;return r&&(n.rotate=r),n}function s3(e,t){let n=kye(e,t);for(let r in j3)r in k3?r in e&&!(r in n)&&(n[r]=k3[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function Aye(e,t,n){let r=e.icons,i=e.aliases||Object.create(null),a={};function o(e){a=s3(r[e]||i[e],a)}return o(t),n.forEach(o),s3(e,a)}function c3(e,t){let n=[];if(typeof e!=`object`||typeof e.icons!=`object`)return n;e.not_found instanceof Array&&e.not_found.forEach(e=>{t(e,null),n.push(e)});let r=Oye(e);for(let i in r){let a=r[i];a&&(t(i,Aye(e,i,a)),n.push(i))}return n}function l3(e,t){for(let n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function u3(e){if(typeof e!=`object`||!e)return null;let t=e;if(typeof t.prefix!=`string`||!e.icons||typeof e.icons!=`object`||!l3(e,M3))return null;let n=t.icons;for(let e in n){let t=n[e];if(!e||typeof t.body!=`string`||!l3(t,j3))return null}let r=t.aliases||Object.create(null);for(let e in r){let t=r[e],i=t.parent;if(!e||typeof i!=`string`||!n[i]&&!r[i]||!l3(t,j3))return null}return t}function jye(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function d3(e,t){let n=N3[e]||(N3[e]=Object.create(null));return n[t]||(n[t]=jye(e,t))}function f3(e,t){return u3(t)?c3(t,(t,n)=>{n?e.icons[t]=n:e.missing.add(t)}):[]}function Mye(e,t,n){try{if(typeof n.body==`string`)return e.icons[t]={...n},!0}catch{}return!1}function p3(e){return typeof e==`boolean`&&(L3=e),L3}function m3(e){let t=typeof e==`string`?F3(e,!0,L3):e;if(t){let e=d3(t.provider,t.prefix),n=t.name;return e.icons[n]||(e.missing.has(n)?null:void 0)}}function Nye(e,t){let n=F3(e,!0,L3);if(!n)return!1;let r=d3(n.provider,n.prefix);return t?Mye(r,n.name,t):(r.missing.add(n.name),!0)}function Pye(e,t){if(typeof e!=`object`)return!1;if(typeof t!=`string`&&(t=e.provider||``),L3&&!t&&!e.prefix){let t=!1;return u3(e)&&(e.prefix=``,c3(e,(e,n)=>{Nye(e,n)&&(t=!0)})),t}let n=e.prefix;return I3({prefix:n,name:`a`})?!!f3(d3(t,n),e):!1}function h3(e,t,n){if(t===1)return e;if(n||=100,typeof e==`number`)return Math.ceil(e*t*n)/n;if(typeof e!=`string`)return e;let r=e.split(B3);if(r===null||!r.length)return e;let i=[],a=r.shift(),o=V3.test(a);for(;;){if(o){let e=parseFloat(a);isNaN(e)?i.push(a):i.push(Math.ceil(e*t*n)/n)}else i.push(a);if(a=r.shift(),a===void 0)return i.join(``);o=!o}}function Fye(e,t=`defs`){let n=``,r=e.indexOf(`<`+t);for(;r>=0;){let i=e.indexOf(`>`,r),a=e.indexOf(`</`+t);if(i===-1||a===-1)break;let o=e.indexOf(`>`,a);if(o===-1)break;n+=e.slice(i+1,a).trim(),e=e.slice(0,r).trim()+e.slice(o+1)}return{defs:n,content:e}}function Iye(e,t){return e?`<defs>`+e+`</defs>`+t:t}function Lye(e,t,n){let r=Fye(e);return Iye(r.defs,t+r.content+n)}function Rye(e,t){let n={...A3,...e},r={...z3,...t},i={left:n.left,top:n.top,width:n.width,height:n.height},a=n.body;[n,r].forEach(e=>{let t=[],n=e.hFlip,r=e.vFlip,o=e.rotate;n?r?o+=2:(t.push(`translate(`+(i.width+i.left).toString()+` `+(0-i.top).toString()+`)`),t.push(`scale(-1 1)`),i.top=i.left=0):r&&(t.push(`translate(`+(0-i.left).toString()+` `+(i.height+i.top).toString()+`)`),t.push(`scale(1 -1)`),i.top=i.left=0);let s;switch(o<0&&(o-=Math.floor(o/4)*4),o%=4,o){case 1:s=i.height/2+i.top,t.unshift(`rotate(90 `+s.toString()+` `+s.toString()+`)`);break;case 2:t.unshift(`rotate(180 `+(i.width/2+i.left).toString()+` `+(i.height/2+i.top).toString()+`)`);break;case 3:s=i.width/2+i.left,t.unshift(`rotate(-90 `+s.toString()+` `+s.toString()+`)`);break}o%2==1&&(i.left!==i.top&&(s=i.left,i.left=i.top,i.top=s),i.width!==i.height&&(s=i.width,i.width=i.height,i.height=s)),t.length&&(a=Lye(a,`<g transform=\"`+t.join(` `)+`\">`,`</g>`))});let o=r.width,s=r.height,c=i.width,l=i.height,u,d;o===null?(d=s===null?`1em`:s===`auto`?l:s,u=h3(d,c/l)):(u=o===`auto`?c:o,d=s===null?h3(u,l/c):s===`auto`?l:s);let f={},p=(e,t)=>{H3(t)||(f[e]=t.toString())};p(`width`,u),p(`height`,d);let m=[i.left,i.top,c,l];return f.viewBox=m.join(` `),{attributes:f,viewBox:m,body:a}}function zye(e,t=W3){let n=[],r;for(;r=U3.exec(e);)n.push(r[1]);if(!n.length)return e;let i=`suffix`+(Math.random()*16777216|Date.now()).toString(16);return n.forEach(n=>{let r=typeof t==`function`?t(n):t+(G3++).toString(),a=n.replace(/[.*+?^${}()|[\\]\\\\]/g,`\\\\$&`);e=e.replace(RegExp(`([#;\"])(`+a+`)([\")]|\\\\.[a-z])`,`g`),`$1`+r+i+`$3`)}),e=e.replace(new RegExp(i,`g`),``),e}function Bye(e,t){K3[e]=t}function g3(e){return K3[e]||K3[``]}function _3(e){let t;if(typeof e.resources==`string`)t=[e.resources];else if(t=e.resources,!(t instanceof Array)||!t.length)return null;return{resources:t,path:e.path||`/`,maxURL:e.maxURL||500,rotate:e.rotate||750,timeout:e.timeout||5e3,random:e.random===!0,index:e.index||0,dataAfterTimeout:e.dataAfterTimeout!==!1}}function Vye(e,t){let n=_3(t);return n===null?!1:(q3[e]=n,!0)}function v3(e){return q3[e]}function Hye(e,t){let n=v3(e);if(!n)return 0;let r;if(!n.maxURL)r=0;else{let e=0;n.resources.forEach(t=>{e=Math.max(e,t.length)});let i=t+`.json?icons=`;r=n.maxURL-e-n.path.length-i.length}return r}function Uye(e){return e===404}function Wye(e){if(typeof e==`string`){let t=v3(e);if(t)return t.path}return`/`}function y3(e,t){e.forEach(e=>{let n=e.loaderCallbacks;n&&(e.loaderCallbacks=n.filter(e=>e.id!==t))})}function Gye(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;let t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let n=!1,r=e.provider,i=e.prefix;t.forEach(t=>{let a=t.icons,o=a.pending.length;a.pending=a.pending.filter(t=>{if(t.prefix!==i)return!0;let o=t.name;if(e.icons[o])a.loaded.push({provider:r,prefix:i,name:o});else if(e.missing.has(o))a.missing.push({provider:r,prefix:i,name:o});else return n=!0,!0;return!1}),a.pending.length!==o&&(n||y3([e],t.id),t.callback(a.loaded.slice(0),a.missing.slice(0),a.pending.slice(0),t.abort))})}))}function Kye(e,t,n){let r=t6++,i=y3.bind(null,n,r);if(!t.pending.length)return i;let a={id:r,icons:t,callback:e,abort:i};return n.forEach(e=>{(e.loaderCallbacks||=[]).push(a)}),i}function qye(e){let t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((e,t)=>e.provider===t.provider?e.prefix===t.prefix?e.name.localeCompare(t.name):e.prefix.localeCompare(t.prefix):e.provider.localeCompare(t.provider));let r={provider:``,prefix:``,name:``};return e.forEach(e=>{if(r.name===e.name&&r.prefix===e.prefix&&r.provider===e.provider)return;r=e;let i=e.provider,a=e.prefix,o=e.name,s=n[i]||(n[i]=Object.create(null)),c=s[a]||(s[a]=d3(i,a)),l;l=o in c.icons?t.loaded:a===``||c.missing.has(o)?t.missing:t.pending;let u={provider:i,prefix:a,name:o};l.push(u)}),t}function Jye(e,t=!0,n=!1){let r=[];return e.forEach(e=>{let i=typeof e==`string`?F3(e,t,n):e;i&&r.push(i)}),r}function Yye(e,t,n,r){let i=e.resources.length,a=e.random?Math.floor(Math.random()*i):e.index,o;if(e.random){let t=e.resources.slice(0);for(o=[];t.length>1;){let e=Math.floor(Math.random()*t.length);o.push(t[e]),t=t.slice(0,e).concat(t.slice(e+1))}o=o.concat(t)}else o=e.resources.slice(a).concat(e.resources.slice(0,a));let s=Date.now(),c=`pending`,l=0,u,d=null,f=[],p=[];typeof r==`function`&&p.push(r);function m(){d&&=(clearTimeout(d),null)}function h(){c===`pending`&&(c=`aborted`),m(),f.forEach(e=>{e.status===`pending`&&(e.status=`aborted`)}),f=[]}function g(e,t){t&&(p=[]),typeof e==`function`&&p.push(e)}function _(){return{startTime:s,payload:t,status:c,queriesSent:l,queriesPending:f.length,subscribe:g,abort:h}}function v(){c=`failed`,p.forEach(e=>{e(void 0,u)})}function y(){f.forEach(e=>{e.status===`pending`&&(e.status=`aborted`)}),f=[]}function b(t,n,r){let i=n!==`success`;switch(f=f.filter(e=>e!==t),c){case`pending`:break;case`failed`:if(i||!e.dataAfterTimeout)return;break;default:return}if(n===`abort`){u=r,v();return}if(i){u=r,f.length||(o.length?x():v());return}if(m(),y(),!e.random){let n=e.resources.indexOf(t.resource);n!==-1&&n!==e.index&&(e.index=n)}c=`completed`,p.forEach(e=>{e(r)})}function x(){if(c!==`pending`)return;m();let r=o.shift();if(r===void 0){if(f.length){d=setTimeout(()=>{m(),c===`pending`&&(y(),v())},e.timeout);return}v();return}let i={status:`pending`,resource:r,callback:(e,t)=>{b(i,e,t)}};f.push(i),l++,d=setTimeout(x,e.rotate),n(r,t,i.callback)}return setTimeout(x),_}function b3(e){let t={...n6,...e},n=[];function r(){n=n.filter(e=>e().status===`pending`)}function i(e,i,a){let o=Yye(t,e,i,(e,t)=>{r(),a&&a(e,t)});return n.push(o),o}function a(e){return n.find(t=>e(t))||null}return{query:i,find:a,setIndex:e=>{t.index=e},getIndex:()=>t.index,cleanup:r}}function x3(){}function Xye(e){if(!r6[e]){let t=v3(e);if(!t)return;r6[e]={config:t,redundancy:b3(t)}}return r6[e]}function Zye(e,t,n){let r,i;if(typeof e==`string`){let t=g3(e);if(!t)return n(void 0,424),x3;i=t.send;let a=Xye(e);a&&(r=a.redundancy)}else{let t=_3(e);if(t){r=b3(t);let n=g3(e.resources?e.resources[0]:``);n&&(i=n.send)}}return!r||!i?(n(void 0,424),x3):r.query(t,i,n)().abort}function S3(){}function Qye(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,Gye(e)}))}function $ye(e){let t=[],n=[];return e.forEach(e=>{(e.match(P3)?t:n).push(e)}),{valid:t,invalid:n}}function C3(e,t,n){function r(){let n=e.pendingIcons;t.forEach(t=>{n&&n.delete(t),e.icons[t]||e.missing.add(t)})}if(n&&typeof n==`object`)try{if(!f3(e,n).length){r();return}}catch(e){console.error(e)}r(),Qye(e)}function w3(e,t){e instanceof Promise?e.then(e=>{t(e)}).catch(()=>{t(null)}):t(e)}function ebe(e,t){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(t).sort():e.iconsToLoad=t,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout(()=>{e.iconsQueueFlag=!1;let{provider:t,prefix:n}=e,r=e.iconsToLoad;if(delete e.iconsToLoad,!r||!r.length)return;let i=e.loadIcon;if(e.loadIcons&&(r.length>1||!i)){w3(e.loadIcons(r,n,t),t=>{C3(e,r,t)});return}if(i){r.forEach(r=>{w3(i(r,n,t),t=>{C3(e,[r],t?{prefix:n,icons:{[r]:t}}:null)})});return}let{valid:a,invalid:o}=$ye(r);if(o.length&&C3(e,o,null),!a.length)return;let s=n.match(P3)?g3(t):null;if(!s){C3(e,a,null);return}s.prepare(t,n,a).forEach(n=>{Zye(t,n,t=>{C3(e,n.icons,t)})})}))}function tbe(e,t){let n={...e};for(let e in t){let r=t[e],i=typeof r;e in R3?(r===null||r&&(i===`string`||i===`number`))&&(n[e]=r):i===typeof n[e]&&(n[e]=e===`rotate`?r%4:r)}return n}function nbe(e,t){t.split(a6).forEach(t=>{switch(t.trim()){case`horizontal`:e.hFlip=!0;break;case`vertical`:e.vFlip=!0;break}})}function rbe(e,t=0){let n=e.replace(/^-?[0-9.]*/,``);function r(e){for(;e<0;)e+=4;return e%4}if(n===``){let t=parseInt(e);return isNaN(t)?0:r(t)}else if(n!==e){let t=0;switch(n){case`%`:t=25;break;case`deg`:t=90}if(t){let i=parseFloat(e.slice(0,e.length-n.length));return isNaN(i)?0:(i/=t,i%1==0?r(i):0)}}return t}function ibe(e,t){let n=e.indexOf(`xlink:`)===-1?``:` xmlns:xlink=\"http://www.w3.org/1999/xlink\"`;for(let e in t)n+=` `+e+`=\"`+t[e]+`\"`;return`<svg xmlns=\"http://www.w3.org/2000/svg\"`+n+`>`+e+`</svg>`}function abe(e){return e.replace(/\"/g,`'`).replace(/%/g,`%25`).replace(/#/g,`%23`).replace(/</g,`%3C`).replace(/>/g,`%3E`).replace(/\\s+/g,` `)}function obe(e){return`data:image/svg+xml,`+abe(e)}function sbe(e){return`url(\"`+obe(e)+`\")`}function cbe(){try{o6=window.trustedTypes.createPolicy(`iconify`,{createHTML:e=>e})}catch{o6=null}}function lbe(e){return o6===void 0&&cbe(),o6?o6.createHTML(e):e}function T3(e){return e+(e.match(/^[-0-9.]+$/)?`px`:``)}function E3(e){let[t,n]=(0,D3.useState)(!!e.ssr),[r,i]=(0,D3.useState)({});function a(t){if(t){let t=e.icon;if(typeof t==`object`)return{name:``,data:t};let n=m3(t);if(n)return{name:t,data:n}}return{name:``}}let[o,s]=(0,D3.useState)(a(!!e.ssr));function c(){let e=r.callback;e&&(e(),i({}))}function l(e){if(JSON.stringify(o)!==JSON.stringify(e))return c(),s(e),!0}function u(){var t;let n=e.icon;if(typeof n==`object`){l({name:``,data:n});return}let r=m3(n);l({name:n,data:r})&&(r===void 0?i({callback:i6([n],u)}):r&&((t=e.onLoad)==null||t.call(e,n)))}(0,D3.useEffect)(()=>(n(!0),c),[]),(0,D3.useEffect)(()=>{t&&u()},[e.icon,t]);let{name:d,data:f}=o;return f?h6({...A3,...f},e,d):e.children?e.children:e.fallback?e.fallback:(0,D3.createElement)(`span`,{})}var D3,O3,k3,A3,j3,M3,N3,P3,F3,I3,L3,R3,z3,B3,V3,H3,U3,W3,G3,K3,q3,J3,Y3,X3,Z3,Q3,$3,e6,t6,n6,r6,i6,a6,o6,s6,c6,l6,u6,d6,f6,p6,m6,h6,g6,_6=o((()=>{for(D3=u(f(),1),O3=Object.freeze({left:0,top:0,width:16,height:16}),k3=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),A3=Object.freeze({...O3,...k3}),j3=Object.freeze({...A3,body:``,hidden:!1}),M3={provider:``,aliases:{},not_found:{},...O3},N3=Object.create(null),P3=/^[a-z0-9]+(-[a-z0-9]+)*$/,F3=(e,t,n,r=``)=>{let i=e.split(`:`);if(e.slice(0,1)===`@`){if(i.length<2||i.length>3)return null;r=i.shift().slice(1)}if(i.length>3||!i.length)return null;if(i.length>1){let e=i.pop(),n=i.pop(),a={provider:i.length>0?i[0]:r,prefix:n,name:e};return t&&!I3(a)?null:a}let a=i[0],o=a.split(`-`);if(o.length>1){let e={provider:r,prefix:o.shift(),name:o.join(`-`)};return t&&!I3(e)?null:e}if(n&&r===``){let e={provider:r,prefix:``,name:a};return t&&!I3(e,n)?null:e}return null},I3=(e,t)=>e?!!((t&&e.prefix===``||e.prefix)&&e.name):!1,L3=!1,R3=Object.freeze({width:null,height:null}),z3=Object.freeze({...R3,...k3}),B3=/(-?[0-9.]*[0-9]+[0-9.]*)/g,V3=/^-?[0-9.]*[0-9]+[0-9.]*$/g,H3=e=>e===`unset`||e===`undefined`||e===`none`,U3=/\\sid=\"(\\S+)\"/g,W3=`IconifyId`+Date.now().toString(16)+(Math.random()*16777216|0).toString(16),G3=0,K3=Object.create(null),q3=Object.create(null),J3=[`https://api.simplesvg.com`,`https://api.unisvg.com`],Y3=[];J3.length>0;)J3.length===1||Math.random()>.5?Y3.push(J3.shift()):Y3.push(J3.pop());q3[``]=_3({resources:[`https://api.iconify.design`].concat(Y3)}),X3=()=>{let e;try{if(e=fetch,typeof e==`function`)return e}catch{}},Z3=X3(),Q3=(e,t,n)=>{let r=[],i=Hye(e,t),a=`icons`,o={type:a,provider:e,prefix:t,icons:[]},s=0;return n.forEach((n,c)=>{s+=n.length+1,s>=i&&c>0&&(r.push(o),o={type:a,provider:e,prefix:t,icons:[]},s=n.length),o.icons.push(n)}),r.push(o),r},$3=(e,t,n)=>{if(!Z3){n(`abort`,424);return}let r=Wye(t.provider);switch(t.type){case`icons`:{let e=t.prefix,n=t.icons.join(`,`),i=new URLSearchParams({icons:n});r+=e+`.json?`+i.toString();break}case`custom`:{let e=t.uri;r+=e.slice(0,1)===`/`?e.slice(1):e;break}default:n(`abort`,400);return}let i=503;Z3(e+r).then(e=>{let t=e.status;if(t!==200){setTimeout(()=>{n(Uye(t)?`abort`:`next`,t)});return}return i=501,e.json()}).then(e=>{if(typeof e!=`object`||!e){setTimeout(()=>{e===404?n(`abort`,e):n(`next`,i)});return}setTimeout(()=>{n(`success`,e)})}).catch(()=>{n(`next`,i)})},e6={prepare:Q3,send:$3},t6=0,n6={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1},r6=Object.create(null),i6=(e,t)=>{let n=qye(Jye(e,!0,p3()));if(!n.pending.length){let e=!0;return t&&setTimeout(()=>{e&&t(n.loaded,n.missing,n.pending,S3)}),()=>{e=!1}}let r=Object.create(null),i=[],a,o;return n.pending.forEach(e=>{let{provider:t,prefix:n}=e;if(n===o&&t===a)return;a=t,o=n,i.push(d3(t,n));let s=r[t]||(r[t]=Object.create(null));s[n]||(s[n]=[])}),n.pending.forEach(e=>{let{provider:t,prefix:n,name:i}=e,a=d3(t,n),o=a.pendingIcons||=new Set;o.has(i)||(o.add(i),r[t][n].push(i))}),i.forEach(e=>{let t=r[e.provider][e.prefix];t.length&&ebe(e,t)}),t?Kye(t,n,i):S3},a6=/[\\s,]+/,s6={...z3,inline:!1},c6={xmlns:`http://www.w3.org/2000/svg`,xmlnsXlink:`http://www.w3.org/1999/xlink`,\"aria-hidden\":!0,role:`img`},l6={display:`inline-block`},u6={backgroundColor:`currentColor`},d6={backgroundColor:`transparent`},f6={Image:`var(--svg)`,Repeat:`no-repeat`,Size:`100% 100%`},p6={WebkitMask:u6,mask:u6,background:d6};for(let e in p6){let t=p6[e];for(let n in f6)t[e+n]=f6[n]}if(m6={...s6,inline:!0},h6=(e,t,n)=>{let r=t.inline?m6:s6,i=tbe(r,t),a=t.mode||`svg`,o={},s=t.style||{},c={...a===`svg`?c6:{}};if(n){let e=F3(n,!1,!0);if(e){let t=[`iconify`];for(let n of[`provider`,`prefix`])e[n]&&t.push(`iconify--`+e[n]);c.className=t.join(` `)}}for(let e in t){let n=t[e];if(n!==void 0)switch(e){case`icon`:case`style`:case`children`:case`onLoad`:case`mode`:case`ssr`:case`fallback`:break;case`_ref`:c.ref=n;break;case`className`:c[e]=(c[e]?c[e]+` `:``)+n;break;case`inline`:case`hFlip`:case`vFlip`:i[e]=n===!0||n===`true`||n===1;break;case`flip`:typeof n==`string`&&nbe(i,n);break;case`color`:o.color=n;break;case`rotate`:typeof n==`string`?i[e]=rbe(n):typeof n==`number`&&(i[e]=n);break;case`ariaHidden`:case`aria-hidden`:n!==!0&&n!==`true`&&delete c[`aria-hidden`];break;default:r[e]===void 0&&(c[e]=n)}}let l=Rye(e,i),u=l.attributes;if(i.inline&&(o.verticalAlign=`-0.125em`),a===`svg`){c.style={...o,...s},Object.assign(c,u);let e=0,n=t.id;return typeof n==`string`&&(n=n.replace(/-/g,`_`)),c.dangerouslySetInnerHTML={__html:lbe(zye(l.body,n?()=>n+`ID`+ e++:`iconifyReact`))},(0,D3.createElement)(`svg`,c)}let{body:d,width:f,height:p}=e,m=a===`mask`||(a===`bg`?!1:d.indexOf(`currentColor`)!==-1),h=ibe(d,{...u,width:f+``,height:p+``});return c.style={...o,\"--svg\":sbe(h),width:T3(u.width),height:T3(u.height),...l6,...m?u6:d6,...s},(0,D3.createElement)(`span`,c)},p3(!0),Bye(``,e6),typeof document<`u`&&typeof window<`u`){let e=window;if(e.IconifyPreload!==void 0){let t=e.IconifyPreload,n=`Invalid IconifyPreload syntax.`;typeof t==`object`&&t&&(t instanceof Array?t:[t]).forEach(e=>{try{(typeof e!=`object`||!e||e instanceof Array||typeof e.icons!=`object`||typeof e.prefix!=`string`||!Pye(e))&&console.error(n)}catch{console.error(n)}})}if(e.IconifyProviders!==void 0){let t=e.IconifyProviders;if(typeof t==`object`&&t)for(let e in t){let n=`IconifyProviders[`+e+`] is invalid.`;try{let r=t[e];if(typeof r!=`object`||!r||r.resources===void 0)continue;Vye(e,r)||console.error(n)}catch{console.error(n)}}}}g6=(0,D3.forwardRef)((e,t)=>E3({...e,_ref:t})),(0,D3.forwardRef)((e,t)=>E3({inline:!0,...e,_ref:t}))})),v6,y6=o((()=>{v6={width:24,height:24,body:`<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><path d=\"M3 12a9 9 0 1 0 18 0a9 9 0 0 0-18 0m9-3h.01\"/><path d=\"M11 12h1v4h1\"/></g>`}}));function b6({values:e,min:t,max:n,color:r=`#1f2937`,bucketCount:i=12,height:a=32,formatValue:o=e=>e.toString(),width:s,showAverageIndicator:c=!0,targetValue:l}){let{t:u}=Au(),d=Array(i).fill(0),f=n-t;e.forEach(e=>{if(f===0)d[Math.floor(i/2)]++;else{let n=Math.floor((e-t)/f*(i-1));n=Math.max(0,Math.min(i-1,n)),d[n]++}});let p=Math.max(...d),m=e.reduce((e,t)=>e+t,0)/e.length,h=f===0?50:(m-t)/f*100,g=l!==void 0&&f>0?(l-t)/f*100:null;return(0,x6.jsxs)(`div`,{className:`dc:flex dc:flex-col dc:items-center`,children:[(0,x6.jsxs)(`div`,{className:`dc:relative dc:flex dc:items-end dc:justify-center dc:space-x-0.5`,style:{height:`${a}px`,width:s?`${s}px`:`200px`,minWidth:`200px`},children:[d.map((e,t)=>{let n=p>0?e/p:0,i=.1;return(0,x6.jsx)(`div`,{className:`dc:flex-1 dc:rounded-t-sm dc:transition-all dc:duration-300 dc:ease-out`,style:{height:`${(e>0?Math.max(i,n):i)*a}px`,backgroundColor:r,opacity:e>0?.7+n*.3:.2},title:`${e} values in this range`},t)}),c&&(0,x6.jsx)(`div`,{className:`dc:absolute dc:top-0 dc:bottom-0 dc:pointer-events-none`,style:{left:`${h}%`,transform:`translateX(-50%)`,width:`2px`,backgroundColor:`#ef4444`,opacity:.8,zIndex:10},title:`Average: ${o(m)}`,children:(0,x6.jsx)(`div`,{className:`dc:absolute dc:-top-1`,style:{left:`50%`,transform:`translateX(-50%)`,width:`0`,height:`0`,borderLeft:`4px solid transparent`,borderRight:`4px solid transparent`,borderTop:`6px solid #ef4444`}})}),g!==null&&l!==void 0&&(0,x6.jsx)(`div`,{className:`dc:absolute dc:top-0 dc:bottom-0 dc:pointer-events-none`,style:{left:`${Math.max(0,Math.min(100,g))}%`,transform:`translateX(-50%)`,width:`2px`,backgroundColor:`#10b981`,opacity:.8,zIndex:11},title:`Target: ${o(l)}`,children:(0,x6.jsx)(`div`,{className:`dc:absolute dc:-top-1`,style:{left:`50%`,transform:`translateX(-50%)`,width:`0`,height:`0`,borderLeft:`4px solid transparent`,borderRight:`4px solid transparent`,borderTop:`6px solid #10b981`}})})]}),(0,x6.jsxs)(`div`,{className:`dc:flex dc:justify-between dc:mt-2 dc:text-xs text-dc-text-muted`,style:{width:s?`${s}px`:`200px`,minWidth:`200px`},children:[(0,x6.jsx)(`span`,{children:o(t)}),(0,x6.jsx)(`span`,{children:o(n)})]}),(0,x6.jsx)(`div`,{className:`dc:text-center dc:mt-1 dc:text-xs text-dc-text-muted`,children:u(`dataHistogram.average`,{count:e.length})})]})}var x6,S6=o((()=>{Mu(),x6=wu()}));function ube(e,t){let n=new Date(e);switch(t.toLowerCase()){case`day`:n.setHours(23,59,59,999);break;case`week`:{let e=6-n.getDay();n.setDate(n.getDate()+e),n.setHours(23,59,59,999);break}case`month`:n.setMonth(n.getMonth()+1,0),n.setHours(23,59,59,999);break;case`quarter`:{let e=n.getMonth(),t=Math.floor(e/3)*3+2;n.setMonth(t+1,0),n.setHours(23,59,59,999);break}case`year`:n.setMonth(11,31),n.setHours(23,59,59,999);break;default:n.setHours(23,59,59,999)}return n}function dbe(e,t,n){if(!e||!t||!n)return!0;let r=e[t];if(!r)return!0;let i=new Date(r);return isNaN(i.getTime())?!0:ube(i,n)<=new Date}function fbe(e,t){if(!e?.timeDimensions||e.timeDimensions.length===0)return null;if(t){let n=e.timeDimensions.find(e=>e.dimension===t||e.dimension?.includes(t)||t?.includes(e.dimension));if(n?.granularity)return n.granularity}return e.timeDimensions[0]?.granularity||null}function C6(e,t,n,r,i=!1){let a={filteredData:e,excludedIncompletePeriod:!1,skippedLastPeriod:!1,granularity:null};if(e.length<2)return a;let o=fbe(n,t);if(i)return{filteredData:e.slice(0,-1),excludedIncompletePeriod:!1,skippedLastPeriod:!0,granularity:o};if(!r||!t||!n?.timeDimensions||n.timeDimensions.length===0)return{...a,granularity:o};if(!o)return a;let s=e[e.length-1];return dbe(s,t,o)?{...a,granularity:o}:{filteredData:e.slice(0,-1),excludedIncompletePeriod:!0,skippedLastPeriod:!1,granularity:o}}var w6=o((()=>{})),T6,E6,D6,pbe=o((()=>{T6=u(f(),1),Mu(),_6(),y6(),A1(),S6(),w1(),w6(),E6=wu(),D6=T6.memo(function({data:e,chartConfig:t,displayConfig:n={},queryObject:r,height:i=`100%`,colorPalette:a}){let{t:o}=Au(),[s,c]=(0,T6.useState)(32),[l,u]=(0,T6.useState)(250),d=(0,T6.useRef)(null),f=(0,T6.useRef)(null),p=O1(),m=(0,T6.useMemo)(()=>t?.yAxis?typeof t.yAxis==`string`?[t.yAxis]:Array.isArray(t.yAxis)?t.yAxis:[]:[],[t?.yAxis]),h=m[0]||``,g=r?.timeDimensions?.[0]?.dimension||void 0,_=(0,T6.useMemo)(()=>{if(!e||e.length===0)return[];let t=[...e];return g&&(t=t.sort((e,t)=>{let n=e[g],r=t[g];return n<r?-1:+(n>r)})),t},[e,g]),{useLastCompletePeriod:v=!0,skipLastPeriod:y=!1}=n,{filteredData:b,excludedIncompletePeriod:x,skippedLastPeriod:S,granularity:C}=(0,T6.useMemo)(()=>_.length===0?{filteredData:[],excludedIncompletePeriod:!1,skippedLastPeriod:!1,granularity:void 0}:C6(_,g,r,v,y),[_,g,r,v,y]),w=b,T=(0,T6.useMemo)(()=>!h||w.length===0?[]:w.map(e=>{if(e[h]!==void 0)return e[h];let t=Object.keys(e).filter(t=>typeof e[t]==`number`&&!isNaN(e[t]));if(t.length>0)return e[t[0]]}).filter(e=>e!=null&&!isNaN(Number(e))).map(e=>Number(e)),[w,h]),{avg:E,min:D,max:O}=(0,T6.useMemo)(()=>T.length===0?{avg:0,min:0,max:0}:{avg:T.reduce((e,t)=>e+t,0)/T.length,min:Math.min(...T),max:Math.max(...T)},[T]),k=(0,T6.useCallback)(e=>{if(n.formatValue)return n.formatValue(e);if(e==null)return`—`;let t=n.decimals??0,r=n.prefix??``,i;return i=Math.abs(e)>=1e9?(e/1e9).toFixed(t)+`B`:Math.abs(e)>=1e6?(e/1e6).toFixed(t)+`M`:Math.abs(e)>=1e3?(e/1e3).toFixed(t)+`K`:e.toFixed(t),r+i},[n]),A=T.length===1?T[0]:E,j=T.length>1,M=(0,T6.useMemo)(()=>{if(n.valueColorIndex!==void 0&&a?.colors){let e=n.valueColorIndex;if(e>=0&&e<a.colors.length)return a.colors[e]}return a?.colors?.[0]||`#1f2937`},[n.valueColorIndex,a?.colors]),N=(0,T6.useMemo)(()=>S1(n?.target||``),[n?.target]),ee=N.length>0?N[0]:null,te=ee!==null&&T.length>0?bpe(A,ee):null,ne=(0,T6.useMemo)(()=>{if(te===null)return`#6B7280`;if(te>=0){let e=n.positiveColorIndex??1;return a?.colors?.[e]||`#10B981`}else{let e=n.negativeColorIndex??7;return a?.colors?.[e]||`#EF4444`}},[te,n.positiveColorIndex,n.negativeColorIndex,a?.colors]);return(0,T6.useEffect)(()=>{let e=()=>{if(d.current){let e=d.current.getBoundingClientRect(),t=e.width,n=e.height;if(t>0&&n>0){let e=t/5,r=n/4;c(Math.max(24,Math.min(Math.min(e,r),120))),setTimeout(()=>{if(f.current){let e=f.current.getBoundingClientRect().width;u(Math.max(e,Math.min(t*.6,300)))}},10)}}},t=setTimeout(e,50),n=new ResizeObserver(()=>{setTimeout(e,10)});return d.current&&n.observe(d.current),()=>{clearTimeout(t),n.disconnect()}},[e,t]),!e||e.length===0?(0,E6.jsx)(`div`,{className:`dc:flex dc:items-center dc:justify-center dc:w-full dc:h-full`,style:{height:i===`100%`?`100%`:i,minHeight:i===`100%`?`200px`:void 0},children:(0,E6.jsxs)(`div`,{className:`dc:text-center text-dc-text-muted`,children:[(0,E6.jsx)(`div`,{className:`dc:text-sm dc:font-semibold dc:mb-1`,children:o(`chart.runtime.noData`)}),(0,E6.jsx)(`div`,{className:`dc:text-xs text-dc-text-secondary`,children:o(`chart.runtime.noDataHint.kpi`)})]})}):m.length===0?(0,E6.jsx)(`div`,{className:`dc:flex dc:items-center dc:justify-center dc:w-full dc:h-full`,style:{height:i===`100%`?`100%`:i,minHeight:i===`100%`?`200px`:void 0,backgroundColor:`var(--dc-danger-bg)`,color:`var(--dc-danger)`,borderColor:`var(--dc-danger-border)`},children:(0,E6.jsxs)(`div`,{className:`dc:text-center`,children:[(0,E6.jsx)(`div`,{className:`dc:text-sm dc:font-semibold dc:mb-1`,children:o(`chart.runtime.configError`)}),(0,E6.jsx)(`div`,{className:`dc:text-xs`,children:o(`chart.runtime.configErrorHint.noMeasures`)})]})}):T.length===0?(0,E6.jsxs)(`div`,{ref:d,className:`dc:flex dc:flex-col dc:items-center dc:justify-center dc:w-full dc:h-full dc:p-4`,style:{height:i===`100%`?`100%`:i,minHeight:i===`100%`?`200px`:void 0},children:[(0,E6.jsx)(`div`,{className:`text-dc-text-secondary dc:font-bold dc:text-center dc:mb-3`,style:{fontSize:`14px`,lineHeight:`1.2`},children:p(h)}),(0,E6.jsx)(`div`,{className:`dc:font-bold dc:leading-none text-dc-text-muted`,style:{fontSize:`${s}px`},children:`—`}),(0,E6.jsx)(`div`,{className:`dc:text-xs text-dc-text-muted dc:mt-2`,children:`No data`})]}):(0,E6.jsxs)(`div`,{ref:d,className:`dc:flex dc:flex-col dc:items-center dc:justify-center dc:w-full dc:h-full dc:p-4`,style:{height:i===`100%`?`100%`:i,minHeight:i===`100%`?`200px`:void 0},children:[(0,E6.jsxs)(`div`,{className:`text-dc-text-secondary dc:font-bold dc:text-center dc:mb-3 dc:flex dc:items-center dc:justify-center dc:gap-1`,style:{fontSize:`14px`,lineHeight:`1.2`},children:[(0,E6.jsx)(`span`,{children:(()=>{let e=p(h);return e&&e.length>1?e:h})()}),(x||S)&&(0,E6.jsx)(`span`,{title:S?`Excludes last ${C||`period`}`:`Excludes current incomplete ${C}`,className:`dc:cursor-help`,children:(0,E6.jsx)(g6,{icon:v6,className:`dc:w-4 dc:h-4 text-dc-text-muted dc:opacity-70`})})]}),(0,E6.jsxs)(`div`,{className:`dc:flex dc:items-center dc:justify-center dc:gap-4 dc:mb-3`,children:[(0,E6.jsx)(`div`,{ref:f,className:`dc:font-bold dc:leading-none`,style:{fontSize:`${s}px`,color:M},children:k(A)}),ee!==null&&te!==null&&(0,E6.jsxs)(`div`,{className:`dc:flex dc:flex-col dc:items-start`,children:[(0,E6.jsx)(`div`,{className:`dc:font-semibold`,style:{fontSize:`${Math.max(12,s*.3)}px`,color:ne,lineHeight:`1.2`},children:xpe(te,1)}),(0,E6.jsxs)(`div`,{className:`text-dc-text-muted dc:text-xs`,style:{opacity:.7,fontSize:`${Math.max(10,s*.2)}px`},children:[`vs `,k(ee)]})]})]}),n.suffix&&!n.formatValue&&(0,E6.jsx)(`div`,{className:`text-dc-text-muted dc:text-center`,style:{fontSize:`14px`,lineHeight:`1.2`,opacity:.8},children:n.suffix}),j&&(0,E6.jsx)(`div`,{className:`dc:mt-4`,children:(0,E6.jsx)(b6,{values:T,min:D,max:O,color:M,formatValue:k,height:24,width:l,targetValue:ee||void 0})})]})})}));function mbe({values:e,lastValue:t,positiveColor:n,negativeColor:r,formatValue:i,width:a,height:o}){let s=Math.max(10,Math.floor(a/10)),c=e.length>s?e.slice(-s):e,l=c.map(e=>e-t),u=Math.min(...l,0),d=Math.max(...l,0);if(Math.max(Math.abs(u),Math.abs(d))===0||l.length===0)return(0,k6.jsx)(`div`,{className:`dc:flex dc:items-center dc:justify-center bg-dc-bg-secondary dc:rounded-sm dc:border border-dc-border`,style:{width:`${a}px`,height:`${o}px`},children:(0,k6.jsx)(`span`,{className:`dc:text-xs text-dc-text-muted`,children:`No variance data`})});let f=a-(c.length-1)*2,p=Math.max(4,f/c.length),m=d-u,h=m>0?d/m*100:50;return(0,k6.jsxs)(`div`,{className:`dc:flex dc:items-center dc:space-x-2`,children:[(0,k6.jsxs)(`div`,{className:`dc:relative`,style:{width:`${a}px`,height:`${o}px`},children:[(0,k6.jsx)(`div`,{className:`dc:absolute dc:left-0 dc:right-0`,style:{height:`1px`,top:`${h}%`,backgroundColor:`var(--dc-border)`,zIndex:1}}),l.map((e,t)=>{let a=Math.abs(e)/m,s=Math.max(2,a*(o-4)),l=e>=0,u=t===c.length-1,d=l?n:r;return(0,k6.jsx)(`div`,{className:`dc:absolute rounded-xs`,style:{left:`${t*(p+2)}px`,width:`${p}px`,height:`${s}px`,backgroundColor:d,opacity:u?1:.6,...l?{bottom:`${100-h}%`}:{top:`${h}%`},zIndex:2},title:`${i(c[t])}: ${e>=0?`+`:``}${i(e)} vs current`},t)})]}),(0,k6.jsxs)(`div`,{className:`dc:flex dc:flex-col dc:justify-between dc:text-xs text-dc-text-muted`,style:{height:`${o}px`},children:[(0,k6.jsxs)(`span`,{children:[`+`,i(d)]}),(0,k6.jsxs)(`span`,{children:[``,i(u)]})]})]})}var O6,k6,A6,hbe=o((()=>{O6=u(f(),1),Mu(),_6(),y6(),A1(),w6(),k6=wu(),A6=O6.memo(function({data:e,chartConfig:t,displayConfig:n={},queryObject:r,height:i=`100%`,colorPalette:a}){let{t:o}=Au(),[s,c]=(0,O6.useState)(32),[l,u]=(0,O6.useState)(250),d=(0,O6.useRef)(null),f=(0,O6.useRef)(null),p=O1();if((0,O6.useEffect)(()=>{let e=()=>{if(d.current){let e=d.current.getBoundingClientRect(),t=e.width,n=e.height;if(t>0&&n>0){let e=t/4,r=n/4;c(Math.max(28,Math.min(Math.min(e,r),140))),setTimeout(()=>{if(f.current){let e=f.current.getBoundingClientRect().width,n=t-100,r=Math.max(e,Math.min(n,t*.7));u(Math.max(100,r))}},10)}}},t=setTimeout(e,50),n=new ResizeObserver(()=>{setTimeout(e,10)});return d.current&&n.observe(d.current),()=>{clearTimeout(t),n.disconnect()}},[e,t]),!e||e.length===0)return(0,k6.jsx)(`div`,{className:`dc:flex dc:items-center dc:justify-center dc:w-full dc:h-full`,style:{height:i===`100%`?`100%`:i,minHeight:i===`100%`?`200px`:void 0},children:(0,k6.jsxs)(`div`,{className:`dc:text-center text-dc-text-muted`,children:[(0,k6.jsx)(`div`,{className:`dc:text-sm dc:font-semibold dc:mb-1`,children:o(`chart.runtime.noData`)}),(0,k6.jsx)(`div`,{className:`dc:text-xs text-dc-text-secondary`,children:`No data points to display`})]})});let m=[],h=[];if(t?.yAxis&&(m=Array.isArray(t.yAxis)?t.yAxis:[t.yAxis]),t?.xAxis&&(h=Array.isArray(t.xAxis)?t.xAxis:[t.xAxis]),m.length===0)return(0,k6.jsx)(`div`,{className:`dc:flex dc:items-center dc:justify-center dc:w-full dc:h-full`,style:{height:i===`100%`?`100%`:i,minHeight:i===`100%`?`200px`:void 0,backgroundColor:`var(--dc-danger-bg)`,color:`var(--dc-danger)`,borderColor:`var(--dc-danger-border)`},children:(0,k6.jsxs)(`div`,{className:`dc:text-center`,children:[(0,k6.jsx)(`div`,{className:`dc:text-sm dc:font-semibold dc:mb-1`,children:o(`chart.runtime.configError`)}),(0,k6.jsx)(`div`,{className:`dc:text-xs`,children:o(`chart.runtime.configErrorHint.noMeasure`)})]})});let g=m[0],_=h[0],v=[...e];_&&(v=v.sort((e,t)=>{let n=e[_],r=t[_];return n<r?-1:+(n>r)}));let{useLastCompletePeriod:y=!0,skipLastPeriod:b=!1}=n,{filteredData:x,excludedIncompletePeriod:S,skippedLastPeriod:C,granularity:w}=C6(v,_,r,y,b),T=x.map(e=>e[g]).filter(e=>e!=null&&!isNaN(Number(e))).map(e=>Number(e));if(T.length<2)return(0,k6.jsx)(`div`,{className:`dc:flex dc:items-center dc:justify-center dc:w-full dc:h-full`,style:{height:i===`100%`?`100%`:i,minHeight:i===`100%`?`200px`:void 0,backgroundColor:`var(--dc-warning-bg)`,color:`var(--dc-warning)`,borderColor:`var(--dc-warning-border)`},children:(0,k6.jsxs)(`div`,{className:`dc:text-center`,children:[(0,k6.jsx)(`div`,{className:`dc:text-sm dc:font-semibold dc:mb-1`,children:o(`chart.runtime.kpiDelta.insufficientData`)}),(0,k6.jsx)(`div`,{className:`dc:text-xs`,children:o(`chart.runtime.kpiDelta.requiresTwoPoints`)}),(0,k6.jsx)(`div`,{className:`dc:text-xs`,children:o(`chart.runtime.kpiDelta.currentPoints`,{count:T.length})})]})});let E=T[T.length-1],D=T[T.length-2],O=E-D,k=D===0?0:O/Math.abs(D)*100,A=O>=0,j=e=>{if(n.formatValue)return n.formatValue(e);if(e==null)return`—`;let t=n.decimals??0,r=n.prefix??``,i;return i=Math.abs(e)>=1e9?(e/1e9).toFixed(t)+`B`:Math.abs(e)>=1e6?(e/1e6).toFixed(t)+`M`:Math.abs(e)>=1e3?(e/1e3).toFixed(t)+`K`:e.toFixed(t),r+i},M=()=>{if(n.positiveColorIndex!==void 0&&a?.colors){let e=n.positiveColorIndex;if(e>=0&&e<a.colors.length)return a.colors[e]}return`#10b981`},N=()=>{if(n.negativeColorIndex!==void 0&&a?.colors){let e=n.negativeColorIndex;if(e>=0&&e<a.colors.length)return a.colors[e]}return`#ef4444`},ee=M(),te=N(),ne=A?ee:te;return(0,k6.jsxs)(`div`,{ref:d,className:`dc:flex dc:flex-col dc:items-center dc:justify-center dc:w-full dc:h-full dc:p-4`,style:{height:i===`100%`?`100%`:i,minHeight:i===`100%`?`200px`:void 0},children:[(0,k6.jsxs)(`div`,{className:`text-dc-text-secondary dc:font-bold dc:text-center dc:mb-2 dc:flex dc:items-center dc:justify-center dc:gap-1`,style:{fontSize:`14px`,lineHeight:`1.2`},children:[(0,k6.jsx)(`span`,{children:(()=>{let e=p(g);return e&&e.length>1?e:g})()}),(S||C)&&(0,k6.jsx)(`span`,{title:C?`Excludes last ${w||`period`}`:`Excludes current incomplete ${w}`,className:`dc:cursor-help`,children:(0,k6.jsx)(g6,{icon:v6,className:`dc:w-4 dc:h-4 text-dc-text-muted dc:opacity-70`})})]}),(0,k6.jsxs)(`div`,{className:`dc:flex dc:items-center dc:justify-center dc:space-x-4 dc:mb-2`,children:[(0,k6.jsx)(`div`,{ref:f,className:`dc:font-bold dc:leading-none`,style:{fontSize:`${s}px`,color:`var(--dc-text)`},children:j(E)}),(0,k6.jsxs)(`div`,{className:`dc:flex dc:items-center dc:space-x-1`,children:[(0,k6.jsx)(`div`,{className:`dc:font-bold`,style:{color:ne,fontSize:`${s*.35}px`},children:A?`▲`:`▼`}),(0,k6.jsxs)(`div`,{className:`dc:text-left`,children:[(0,k6.jsxs)(`div`,{className:`dc:font-bold dc:leading-tight`,style:{fontSize:`${s*.35}px`,color:ne},children:[A?`+`:``,j(O)]}),(0,k6.jsxs)(`div`,{className:`dc:font-semibold dc:leading-tight`,style:{fontSize:`${s*.28}px`,color:ne,opacity:.8},children:[A?`+`:``,k.toFixed(1),`%`]})]})]})]}),n.suffix&&!n.formatValue&&(0,k6.jsx)(`div`,{className:`text-dc-text-muted dc:text-center dc:mb-3`,style:{fontSize:`14px`,lineHeight:`1.2`,opacity:.8},children:n.suffix}),n.showHistogram!==!1&&T.length>2&&(0,k6.jsx)(`div`,{className:`dc:mt-2 dc:w-full dc:flex dc:justify-center dc:overflow-hidden`,children:(0,k6.jsx)(mbe,{values:T,lastValue:E,positiveColor:ee,negativeColor:te,formatValue:j,width:l,height:64})})]})})})),j6,M6,N6,gbe=o((()=>{j6=u(f(),1),Mu(),A1(),S6(),M6=wu(),N6=j6.memo(function({data:e,chartConfig:t,displayConfig:n={},height:r=`100%`,colorPalette:i}){let{t:a}=Au(),[o,s]=(0,j6.useState)(28),[c,l]=(0,j6.useState)(0),u=(0,j6.useRef)(null),d=(0,j6.useRef)(null),f=O1();if((0,j6.useEffect)(()=>{let e=()=>{if(u.current){let e=u.current.getBoundingClientRect(),t=e.width,n=e.height;if(t>0&&n>0){let e=t/8,r=n/5;s(Math.max(18,Math.min(Math.min(e,r),80)))}}d.current&&l(d.current.getBoundingClientRect().width)},t=setTimeout(e,100),n=new ResizeObserver(()=>{clearTimeout(t),setTimeout(e,50)});return u.current&&n.observe(u.current),()=>{clearTimeout(t),n.disconnect()}},[e,t]),!e||e.length===0)return(0,M6.jsx)(`div`,{className:`dc:flex dc:items-center dc:justify-center dc:w-full dc:h-full`,style:{height:r===`100%`?`100%`:r,minHeight:r===`100%`?`200px`:void 0},children:(0,M6.jsxs)(`div`,{className:`dc:text-center text-dc-text-muted`,children:[(0,M6.jsx)(`div`,{className:`dc:text-sm dc:font-semibold dc:mb-1`,children:a(`chart.runtime.noData`)}),(0,M6.jsx)(`div`,{className:`dc:text-xs text-dc-text-secondary`,children:a(`chart.runtime.noDataHint.kpi`)})]})});let p=[];if(t?.yAxis&&(typeof t.yAxis==`string`?p=[t.yAxis]:Array.isArray(t.yAxis)&&(p=t.yAxis)),p.length===0)return(0,M6.jsx)(`div`,{className:`dc:flex dc:items-center dc:justify-center dc:w-full dc:h-full`,style:{height:r===`100%`?`100%`:r,minHeight:r===`100%`?`200px`:void 0,backgroundColor:`var(--dc-danger-bg)`,color:`var(--dc-danger)`,borderColor:`var(--dc-danger-border)`},children:(0,M6.jsxs)(`div`,{className:`dc:text-center`,children:[(0,M6.jsx)(`div`,{className:`dc:text-sm dc:font-semibold dc:mb-1`,children:a(`chart.runtime.configError`)}),(0,M6.jsx)(`div`,{className:`dc:text-xs`,children:a(`chart.runtime.configErrorHint.noMeasures`)})]})});let m=p[0],h=e.map(e=>{if(e[m]!==void 0)return e[m];let t=Object.keys(e);if(t.length>0)return e[t[0]]}).filter(e=>e!=null);if(h.length===0)return(0,M6.jsx)(`div`,{className:`dc:flex dc:items-center dc:justify-center dc:w-full dc:h-full`,style:{height:r===`100%`?`100%`:r,minHeight:r===`100%`?`200px`:void 0,backgroundColor:`var(--dc-warning-bg)`,color:`var(--dc-warning)`,borderColor:`var(--dc-warning-border)`},children:(0,M6.jsxs)(`div`,{className:`dc:text-center`,children:[(0,M6.jsx)(`div`,{className:`dc:text-sm dc:font-semibold dc:mb-1`,children:a(`chart.runtime.noValidData`)}),(0,M6.jsx)(`div`,{className:`dc:text-xs`,children:a(`chart.runtime.noValidDataHint.kpiText`)})]})});let g=h.map(e=>Number(e)).filter(e=>!isNaN(e)),_,v=null,y=null,b=!1;g.length>0?h.length===1?_=h[0]:(_=g.reduce((e,t)=>e+t,0)/g.length,v=Math.min(...g),y=Math.max(...g),b=!0):_=h.length===1?h[0]:h.join(`, `);let x=e=>{if(n.formatValue)return n.formatValue(e);if(e==null)return`—`;let t=n.decimals??2;return Math.abs(e)>=1e9?(e/1e9).toFixed(t)+`B`:Math.abs(e)>=1e6?(e/1e6).toFixed(t)+`M`:Math.abs(e)>=1e3?(e/1e3).toFixed(t)+`K`:e.toFixed(t)},S=((e,t)=>{try{let n={value:typeof t==`number`?x(t):String(t),rawValue:t,field:m,fieldLabel:f(m),min:v===null?``:x(v),max:y===null?``:x(y),count:h.length};return e.replace(/\\$\\{(\\w+)\\}/g,(e,t)=>t in n?String(n[t]):e)}catch{return String(t)}})(n.template||\"${fieldLabel}: ${value}\",_),C=(()=>{if(n.valueColorIndex!==void 0&&i?.colors){let e=n.valueColorIndex;if(e>=0&&e<i.colors.length)return i.colors[e]}return i?.colors?.[0]||`#1f2937`})();return(0,M6.jsxs)(`div`,{ref:u,className:`dc:flex dc:flex-col dc:items-center dc:justify-center dc:w-full dc:h-full dc:p-4`,style:{height:r===`100%`?`100%`:r,minHeight:r===`100%`?`200px`:void 0},children:[(0,M6.jsx)(`div`,{ref:d,className:`dc:font-bold dc:leading-tight dc:text-center`,style:{fontSize:`${o}px`,color:C},children:S}),b&&v!==null&&y!==null&&(0,M6.jsx)(`div`,{className:`dc:mt-4`,children:(0,M6.jsx)(b6,{values:h,min:v,max:y,color:C,formatValue:x,height:24,width:c||200})})]})})})),P6,F6=o((()=>{P6=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}}})),I6,L6,R6=o((()=>{F6(),I6=class extends P6{#e;#t;#n;constructor(){super(),this.#n=e=>{if(typeof window<`u`&&window.addEventListener){let t=()=>e();return window.addEventListener(`visibilitychange`,t,!1),()=>{window.removeEventListener(`visibilitychange`,t)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#n=e,this.#t?.(),this.#t=e(e=>{typeof e==`boolean`?this.setFocused(e):this.onFocus()})}setFocused(e){this.#e!==e&&(this.#e=e,this.onFocus())}onFocus(){let e=this.isFocused();this.listeners.forEach(t=>{t(e)})}isFocused(){return typeof this.#e==`boolean`?this.#e:globalThis.document?.visibilityState!==`hidden`}},L6=new I6}));function _be(e){setTimeout(e,0)}var z6,B6,V6,H6=o((()=>{z6={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),setInterval:(e,t)=>setInterval(e,t),clearInterval:e=>clearInterval(e)},B6=class{#e=z6;setTimeoutProvider(e){this.#e=e}setTimeout(e,t){return this.#e.setTimeout(e,t)}clearTimeout(e){this.#e.clearTimeout(e)}setInterval(e,t){return this.#e.setInterval(e,t)}clearInterval(e){this.#e.clearInterval(e)}},V6=new B6}));function U6(){}function vbe(e,t){return typeof e==`function`?e(t):e}function ybe(e){return typeof e==`number`&&e>=0&&e!==1/0}function bbe(e,t){return Math.max(e+(t||0)-Date.now(),0)}function W6(e,t){return typeof e==`function`?e(t):e}function xbe(e,t){return typeof e==`function`?e(t):e}function G6(e,t){let{type:n=`all`,exact:r,fetchStatus:i,predicate:a,queryKey:o,stale:s}=e;if(o){if(r){if(t.queryHash!==q6(o,t.options))return!1}else if(!Y6(t.queryKey,o))return!1}if(n!==`all`){let e=t.isActive();if(n===`active`&&!e||n===`inactive`&&e)return!1}return!(typeof s==`boolean`&&t.isStale()!==s||i&&i!==t.state.fetchStatus||a&&!a(t))}function K6(e,t){let{exact:n,status:r,predicate:i,mutationKey:a}=e;if(a){if(!t.options.mutationKey)return!1;if(n){if(J6(t.options.mutationKey)!==J6(a))return!1}else if(!Y6(t.options.mutationKey,a))return!1}return!(r&&t.state.status!==r||i&&!i(t))}function q6(e,t){return(t?.queryKeyHashFn||J6)(e)}function J6(e){return JSON.stringify(e,(e,t)=>Q6(t)?Object.keys(t).sort().reduce((e,n)=>(e[n]=t[n],e),{}):t)}function Y6(e,t){return e===t?!0:typeof e==typeof t&&e&&t&&typeof e==`object`&&typeof t==`object`?Object.keys(t).every(n=>Y6(e[n],t[n])):!1}function X6(e,t,n=0){if(e===t)return e;if(n>500)return t;let r=Z6(e)&&Z6(t);if(!r&&!(Q6(e)&&Q6(t)))return t;let i=(r?e:Object.keys(e)).length,a=r?t:Object.keys(t),o=a.length,s=r?Array(o):{},c=0;for(let l=0;l<o;l++){let o=r?l:a[l],u=e[o],d=t[o];if(u===d){s[o]=u,(r?l<i:n8.call(e,o))&&c++;continue}if(u===null||d===null||typeof u!=`object`||typeof d!=`object`){s[o]=d;continue}let f=X6(u,d,n+1);s[o]=f,f===u&&c++}return i===o&&c===i?e:s}function Z6(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function Q6(e){if(!$6(e))return!1;let t=e.constructor;if(t===void 0)return!0;let n=t.prototype;return!(!$6(n)||!n.hasOwnProperty(`isPrototypeOf`)||Object.getPrototypeOf(e)!==Object.prototype)}function $6(e){return Object.prototype.toString.call(e)===`[object Object]`}function Sbe(e){return new Promise(t=>{V6.setTimeout(t,e)})}function Cbe(e,t,n){return typeof n.structuralSharing==`function`?n.structuralSharing(e,t):n.structuralSharing===!1?t:X6(e,t)}function wbe(e,t,n=0){let r=[...e,t];return n&&r.length>n?r.slice(1):r}function Tbe(e,t,n=0){let r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}function e8(e,t){return!e.queryFn&&t?.initialPromise?()=>t.initialPromise:!e.queryFn||e.queryFn===r8?()=>Promise.reject(Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}function Ebe(e,t,n){let r=!1,i;return Object.defineProperty(e,`signal`,{enumerable:!0,get:()=>(i??=t(),r?i:(r=!0,i.aborted?n():i.addEventListener(`abort`,n,{once:!0}),i))}),e}var t8,n8,r8,i8=o((()=>{H6(),t8=typeof window>`u`||`Deno`in globalThis,n8=Object.prototype.hasOwnProperty,r8=Symbol()})),a8,o8=o((()=>{i8(),a8=(()=>{let e=()=>t8;return{isServer(){return e()},setIsServer(t){e=t}}})()}));function Dbe(){let e,t,n=new Promise((n,r)=>{e=n,t=r});n.status=`pending`,n.catch(()=>{});function r(e){Object.assign(n,e),delete n.resolve,delete n.reject}return n.resolve=t=>{r({status:`fulfilled`,value:t}),e(t)},n.reject=e=>{r({status:`rejected`,reason:e}),t(e)},n}var Obe=o((()=>{}));function kbe(){let e=[],t=0,n=e=>{e()},r=e=>{e()},i=s8,a=r=>{t?e.push(r):i(()=>{n(r)})},o=()=>{let t=e;e=[],t.length&&i(()=>{r(()=>{t.forEach(e=>{n(e)})})})};return{batch:e=>{let n;t++;try{n=e()}finally{t--,t||o()}return n},batchCalls:e=>(...t)=>{a(()=>{e(...t)})},schedule:a,setNotifyFunction:e=>{n=e},setBatchNotifyFunction:e=>{r=e},setScheduler:e=>{i=e}}}var s8,c8,l8=o((()=>{H6(),s8=_be,c8=kbe()})),u8,d8,f8=o((()=>{F6(),u8=class extends P6{#e=!0;#t;#n;constructor(){super(),this.#n=e=>{if(typeof window<`u`&&window.addEventListener){let t=()=>e(!0),n=()=>e(!1);return window.addEventListener(`online`,t,!1),window.addEventListener(`offline`,n,!1),()=>{window.removeEventListener(`online`,t),window.removeEventListener(`offline`,n)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#n=e,this.#t?.(),this.#t=e(this.setOnline.bind(this))}setOnline(e){this.#e!==e&&(this.#e=e,this.listeners.forEach(t=>{t(e)}))}isOnline(){return this.#e}},d8=new u8}));function Abe(e){return Math.min(1e3*2**e,3e4)}function p8(e){return(e??`online`)===`online`?d8.isOnline():!0}function m8(e){let t=!1,n=0,r,i=Dbe(),a=()=>i.status!==`pending`,o=t=>{if(!a()){let n=new h8(t);f(n),e.onCancel?.(n)}},s=()=>{t=!0},c=()=>{t=!1},l=()=>L6.isFocused()&&(e.networkMode===`always`||d8.isOnline())&&e.canRun(),u=()=>p8(e.networkMode)&&e.canRun(),d=e=>{a()||(r?.(),i.resolve(e))},f=e=>{a()||(r?.(),i.reject(e))},p=()=>new Promise(t=>{r=e=>{(a()||l())&&t(e)},e.onPause?.()}).then(()=>{r=void 0,a()||e.onContinue?.()}),m=()=>{if(a())return;let r,i=n===0?e.initialPromise:void 0;try{r=i??e.fn()}catch(e){r=Promise.reject(e)}Promise.resolve(r).then(d).catch(r=>{if(a())return;let i=e.retry??(a8.isServer()?0:3),o=e.retryDelay??Abe,s=typeof o==`function`?o(n,r):o,c=i===!0||typeof i==`number`&&n<i||typeof i==`function`&&i(n,r);if(t||!c){f(r);return}n++,e.onFail?.(n,r),Sbe(s).then(()=>l()?void 0:p()).then(()=>{t?f(r):m()})})};return{promise:i,status:()=>i.status,cancel:o,continue:()=>(r?.(),i),cancelRetry:s,continueRetry:c,canStart:u,start:()=>(u()?m():p().then(m),i)}}var h8,g8=o((()=>{R6(),f8(),Obe(),o8(),i8(),h8=class extends Error{constructor(e){super(`CancelledError`),this.revert=e?.revert,this.silent=e?.silent}}})),_8,v8=o((()=>{H6(),o8(),i8(),_8=class{#e;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),ybe(this.gcTime)&&(this.#e=V6.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(a8.isServer()?1/0:300*1e3))}clearGcTimeout(){this.#e!==void 0&&(V6.clearTimeout(this.#e),this.#e=void 0)}}}));function jbe(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:p8(t.networkMode)?`fetching`:`paused`,...e===void 0&&{error:null,status:`pending`}}}function y8(e,t){return{data:e,dataUpdatedAt:t??Date.now(),error:null,isInvalidated:!1,status:`success`}}function b8(e){let t=typeof e.initialData==`function`?e.initialData():e.initialData,n=t!==void 0,r=n?typeof e.initialDataUpdatedAt==`function`?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?`success`:`pending`,fetchStatus:`idle`}}var x8,Mbe=o((()=>{i8(),l8(),g8(),v8(),x8=class extends _8{#e;#t;#n;#r;#i;#a;#o;constructor(e){super(),this.#o=!1,this.#a=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.#r=e.client,this.#n=this.#r.getQueryCache(),this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#e=b8(this.options),this.state=e.state??this.#e,this.scheduleGc()}get meta(){return this.options.meta}get promise(){return this.#i?.promise}setOptions(e){if(this.options={...this.#a,...e},this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){let e=b8(this.options);e.data!==void 0&&(this.setState(y8(e.data,e.dataUpdatedAt)),this.#e=e)}}optionalRemove(){!this.observers.length&&this.state.fetchStatus===`idle`&&this.#n.remove(this)}setData(e,t){let n=Cbe(this.state.data,e,this.options);return this.#c({data:n,type:`success`,dataUpdatedAt:t?.updatedAt,manual:t?.manual}),n}setState(e,t){this.#c({type:`setState`,state:e,setStateOptions:t})}cancel(e){let t=this.#i?.promise;return this.#i?.cancel(e),t?t.then(U6).catch(U6):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return this.#e}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some(e=>xbe(e.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===r8||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdateCount>0}isStatic(){return this.getObserversCount()>0?this.observers.some(e=>W6(e.options.staleTime,this)===`static`):!1}isStale(){return this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(e=0){return this.state.data===void 0?!0:e===`static`?!1:this.state.isInvalidated?!0:!bbe(this.state.dataUpdatedAt,e)}onFocus(){this.observers.find(e=>e.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),this.#i?.continue()}onOnline(){this.observers.find(e=>e.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),this.#i?.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.#n.notify({type:`observerAdded`,query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(t=>t!==e),this.observers.length||(this.#i&&(this.#o||this.#s()?this.#i.cancel({revert:!0}):this.#i.cancelRetry()),this.scheduleGc()),this.#n.notify({type:`observerRemoved`,query:this,observer:e}))}getObserversCount(){return this.observers.length}#s(){return this.state.fetchStatus===`paused`&&this.state.status===`pending`}invalidate(){this.state.isInvalidated||this.#c({type:`invalidate`})}async fetch(e,t){if(this.state.fetchStatus!==`idle`&&this.#i?.status()!==`rejected`){if(this.state.data!==void 0&&t?.cancelRefetch)this.cancel({silent:!0});else if(this.#i)return this.#i.continueRetry(),this.#i.promise}if(e&&this.setOptions(e),!this.options.queryFn){let e=this.observers.find(e=>e.options.queryFn);e&&this.setOptions(e.options)}let n=new AbortController,r=e=>{Object.defineProperty(e,`signal`,{enumerable:!0,get:()=>(this.#o=!0,n.signal)})},i=()=>{let e=e8(this.options,t),n=(()=>{let e={client:this.#r,queryKey:this.queryKey,meta:this.meta};return r(e),e})();return this.#o=!1,this.options.persister?this.options.persister(e,n,this):e(n)},a=(()=>{let e={fetchOptions:t,options:this.options,queryKey:this.queryKey,client:this.#r,state:this.state,fetchFn:i};return r(e),e})();this.options.behavior?.onFetch(a,this),this.#t=this.state,(this.state.fetchStatus===`idle`||this.state.fetchMeta!==a.fetchOptions?.meta)&&this.#c({type:`fetch`,meta:a.fetchOptions?.meta}),this.#i=m8({initialPromise:t?.initialPromise,fn:a.fetchFn,onCancel:e=>{e instanceof h8&&e.revert&&this.setState({...this.#t,fetchStatus:`idle`}),n.abort()},onFail:(e,t)=>{this.#c({type:`failed`,failureCount:e,error:t})},onPause:()=>{this.#c({type:`pause`})},onContinue:()=>{this.#c({type:`continue`})},retry:a.options.retry,retryDelay:a.options.retryDelay,networkMode:a.options.networkMode,canRun:()=>!0});try{let e=await this.#i.start();if(e===void 0)throw Error(`${this.queryHash} data is undefined`);return this.setData(e),this.#n.config.onSuccess?.(e,this),this.#n.config.onSettled?.(e,this.state.error,this),e}catch(e){if(e instanceof h8){if(e.silent)return this.#i.promise;if(e.revert){if(this.state.data===void 0)throw e;return this.state.data}}throw this.#c({type:`error`,error:e}),this.#n.config.onError?.(e,this),this.#n.config.onSettled?.(this.state.data,e,this),e}finally{this.scheduleGc()}}#c(e){this.state=(t=>{switch(e.type){case`failed`:return{...t,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case`pause`:return{...t,fetchStatus:`paused`};case`continue`:return{...t,fetchStatus:`fetching`};case`fetch`:return{...t,...jbe(t.data,this.options),fetchMeta:e.meta??null};case`success`:let n={...t,...y8(e.data,e.dataUpdatedAt),dataUpdateCount:t.dataUpdateCount+1,...!e.manual&&{fetchStatus:`idle`,fetchFailureCount:0,fetchFailureReason:null}};return this.#t=e.manual?n:void 0,n;case`error`:let r=e.error;return{...t,error:r,errorUpdateCount:t.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:t.fetchFailureCount+1,fetchFailureReason:r,fetchStatus:`idle`,status:`error`,isInvalidated:!0};case`invalidate`:return{...t,isInvalidated:!0};case`setState`:return{...t,...e.state}}})(this.state),c8.batch(()=>{this.observers.forEach(e=>{e.onQueryUpdate()}),this.#n.notify({query:this,type:`updated`,action:e})})}}}));function S8(e){return{onFetch:(t,n)=>{let r=t.options,i=t.fetchOptions?.meta?.fetchMore?.direction,a=t.state.data?.pages||[],o=t.state.data?.pageParams||[],s={pages:[],pageParams:[]},c=0,l=async()=>{let n=!1,l=e=>{Ebe(e,()=>t.signal,()=>n=!0)},u=e8(t.options,t.fetchOptions),d=async(e,r,i)=>{if(n)return Promise.reject();if(r==null&&e.pages.length)return Promise.resolve(e);let a=await u((()=>{let e={client:t.client,queryKey:t.queryKey,pageParam:r,direction:i?`backward`:`forward`,meta:t.options.meta};return l(e),e})()),{maxPages:o}=t.options,s=i?Tbe:wbe;return{pages:s(e.pages,a,o),pageParams:s(e.pageParams,r,o)}};if(i&&a.length){let e=i===`backward`,t=e?Nbe:C8,n={pages:a,pageParams:o};s=await d(n,t(r,n),e)}else{let t=e??a.length;do{let e=c===0?o[0]??r.initialPageParam:C8(r,s);if(c>0&&e==null)break;s=await d(s,e),c++}while(c<t)}return s};t.options.persister?t.fetchFn=()=>t.options.persister?.(l,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n):t.fetchFn=l}}}function C8(e,{pages:t,pageParams:n}){let r=t.length-1;return t.length>0?e.getNextPageParam(t[r],t,n[r],n):void 0}function Nbe(e,{pages:t,pageParams:n}){return t.length>0?e.getPreviousPageParam?.(t[0],t,n[0],n):void 0}var Pbe=o((()=>{i8()}));function Fbe(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:`idle`,variables:void 0,submittedAt:0}}var w8,Ibe=o((()=>{l8(),v8(),g8(),w8=class extends _8{#e;#t;#n;#r;constructor(e){super(),this.#e=e.client,this.mutationId=e.mutationId,this.#n=e.mutationCache,this.#t=[],this.state=e.state||Fbe(),this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){this.#t.includes(e)||(this.#t.push(e),this.clearGcTimeout(),this.#n.notify({type:`observerAdded`,mutation:this,observer:e}))}removeObserver(e){this.#t=this.#t.filter(t=>t!==e),this.scheduleGc(),this.#n.notify({type:`observerRemoved`,mutation:this,observer:e})}optionalRemove(){this.#t.length||(this.state.status===`pending`?this.scheduleGc():this.#n.remove(this))}continue(){return this.#r?.continue()??this.execute(this.state.variables)}async execute(e){let t=()=>{this.#i({type:`continue`})},n={client:this.#e,meta:this.options.meta,mutationKey:this.options.mutationKey};this.#r=m8({fn:()=>this.options.mutationFn?this.options.mutationFn(e,n):Promise.reject(Error(`No mutationFn found`)),onFail:(e,t)=>{this.#i({type:`failed`,failureCount:e,error:t})},onPause:()=>{this.#i({type:`pause`})},onContinue:t,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#n.canRun(this)});let r=this.state.status===`pending`,i=!this.#r.canStart();try{if(r)t();else{this.#i({type:`pending`,variables:e,isPaused:i}),this.#n.config.onMutate&&await this.#n.config.onMutate(e,this,n);let t=await this.options.onMutate?.(e,n);t!==this.state.context&&this.#i({type:`pending`,context:t,variables:e,isPaused:i})}let a=await this.#r.start();return await this.#n.config.onSuccess?.(a,e,this.state.context,this,n),await this.options.onSuccess?.(a,e,this.state.context,n),await this.#n.config.onSettled?.(a,null,this.state.variables,this.state.context,this,n),await this.options.onSettled?.(a,null,e,this.state.context,n),this.#i({type:`success`,data:a}),a}catch(t){try{await this.#n.config.onError?.(t,e,this.state.context,this,n)}catch(e){Promise.reject(e)}try{await this.options.onError?.(t,e,this.state.context,n)}catch(e){Promise.reject(e)}try{await this.#n.config.onSettled?.(void 0,t,this.state.variables,this.state.context,this,n)}catch(e){Promise.reject(e)}try{await this.options.onSettled?.(void 0,t,e,this.state.context,n)}catch(e){Promise.reject(e)}throw this.#i({type:`error`,error:t}),t}finally{this.#n.runNext(this)}}#i(e){this.state=(t=>{switch(e.type){case`failed`:return{...t,failureCount:e.failureCount,failureReason:e.error};case`pause`:return{...t,isPaused:!0};case`continue`:return{...t,isPaused:!1};case`pending`:return{...t,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:`pending`,variables:e.variables,submittedAt:Date.now()};case`success`:return{...t,data:e.data,failureCount:0,failureReason:null,error:null,status:`success`,isPaused:!1};case`error`:return{...t,data:void 0,error:e.error,failureCount:t.failureCount+1,failureReason:e.error,isPaused:!1,status:`error`}}})(this.state),c8.batch(()=>{this.#t.forEach(t=>{t.onMutationUpdate(e)}),this.#n.notify({mutation:this,type:`updated`,action:e})})}}}));function T8(e){return e.options.scope?.id}var E8,Lbe=o((()=>{l8(),Ibe(),i8(),F6(),E8=class extends P6{constructor(e={}){super(),this.config=e,this.#e=new Set,this.#t=new Map,this.#n=0}#e;#t;#n;build(e,t,n){let r=new w8({client:e,mutationCache:this,mutationId:++this.#n,options:e.defaultMutationOptions(t),state:n});return this.add(r),r}add(e){this.#e.add(e);let t=T8(e);if(typeof t==`string`){let n=this.#t.get(t);n?n.push(e):this.#t.set(t,[e])}this.notify({type:`added`,mutation:e})}remove(e){if(this.#e.delete(e)){let t=T8(e);if(typeof t==`string`){let n=this.#t.get(t);if(n)if(n.length>1){let t=n.indexOf(e);t!==-1&&n.splice(t,1)}else n[0]===e&&this.#t.delete(t)}}this.notify({type:`removed`,mutation:e})}canRun(e){let t=T8(e);if(typeof t==`string`){let n=this.#t.get(t)?.find(e=>e.state.status===`pending`);return!n||n===e}else return!0}runNext(e){let t=T8(e);return typeof t==`string`?(this.#t.get(t)?.find(t=>t!==e&&t.state.isPaused))?.continue()??Promise.resolve():Promise.resolve()}clear(){c8.batch(()=>{this.#e.forEach(e=>{this.notify({type:`removed`,mutation:e})}),this.#e.clear(),this.#t.clear()})}getAll(){return Array.from(this.#e)}find(e){let t={exact:!0,...e};return this.getAll().find(e=>K6(t,e))}findAll(e={}){return this.getAll().filter(t=>K6(e,t))}notify(e){c8.batch(()=>{this.listeners.forEach(t=>{t(e)})})}resumePausedMutations(){let e=this.getAll().filter(e=>e.state.isPaused);return c8.batch(()=>Promise.all(e.map(e=>e.continue().catch(U6))))}}})),D8,Rbe=o((()=>{i8(),Mbe(),l8(),F6(),D8=class extends P6{constructor(e={}){super(),this.config=e,this.#e=new Map}#e;build(e,t,n){let r=t.queryKey,i=t.queryHash??q6(r,t),a=this.get(i);return a||(a=new x8({client:e,queryKey:r,queryHash:i,options:e.defaultQueryOptions(t),state:n,defaultOptions:e.getQueryDefaults(r)}),this.add(a)),a}add(e){this.#e.has(e.queryHash)||(this.#e.set(e.queryHash,e),this.notify({type:`added`,query:e}))}remove(e){let t=this.#e.get(e.queryHash);t&&(e.destroy(),t===e&&this.#e.delete(e.queryHash),this.notify({type:`removed`,query:e}))}clear(){c8.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return this.#e.get(e)}getAll(){return[...this.#e.values()]}find(e){let t={exact:!0,...e};return this.getAll().find(e=>G6(t,e))}findAll(e={}){let t=this.getAll();return Object.keys(e).length>0?t.filter(t=>G6(e,t)):t}notify(e){c8.batch(()=>{this.listeners.forEach(t=>{t(e)})})}onFocus(){c8.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){c8.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}}})),O8,zbe=o((()=>{i8(),Rbe(),Lbe(),R6(),f8(),l8(),Pbe(),O8=class{#e;#t;#n;#r;#i;#a;#o;#s;constructor(e={}){this.#e=e.queryCache||new D8,this.#t=e.mutationCache||new E8,this.#n=e.defaultOptions||{},this.#r=new Map,this.#i=new Map,this.#a=0}mount(){this.#a++,this.#a===1&&(this.#o=L6.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#e.onFocus())}),this.#s=d8.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#e.onOnline())}))}unmount(){this.#a--,this.#a===0&&(this.#o?.(),this.#o=void 0,this.#s?.(),this.#s=void 0)}isFetching(e){return this.#e.findAll({...e,fetchStatus:`fetching`}).length}isMutating(e){return this.#t.findAll({...e,status:`pending`}).length}getQueryData(e){let t=this.defaultQueryOptions({queryKey:e});return this.#e.get(t.queryHash)?.state.data}ensureQueryData(e){let t=this.defaultQueryOptions(e),n=this.#e.build(this,t),r=n.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(W6(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return this.#e.findAll(e).map(({queryKey:e,state:t})=>[e,t.data])}setQueryData(e,t,n){let r=this.defaultQueryOptions({queryKey:e}),i=this.#e.get(r.queryHash)?.state.data,a=vbe(t,i);if(a!==void 0)return this.#e.build(this,r).setData(a,{...n,manual:!0})}setQueriesData(e,t,n){return c8.batch(()=>this.#e.findAll(e).map(({queryKey:e})=>[e,this.setQueryData(e,t,n)]))}getQueryState(e){let t=this.defaultQueryOptions({queryKey:e});return this.#e.get(t.queryHash)?.state}removeQueries(e){let t=this.#e;c8.batch(()=>{t.findAll(e).forEach(e=>{t.remove(e)})})}resetQueries(e,t){let n=this.#e;return c8.batch(()=>(n.findAll(e).forEach(e=>{e.reset()}),this.refetchQueries({type:`active`,...e},t)))}cancelQueries(e,t={}){let n={revert:!0,...t},r=c8.batch(()=>this.#e.findAll(e).map(e=>e.cancel(n)));return Promise.all(r).then(U6).catch(U6)}invalidateQueries(e,t={}){return c8.batch(()=>(this.#e.findAll(e).forEach(e=>{e.invalidate()}),e?.refetchType===`none`?Promise.resolve():this.refetchQueries({...e,type:e?.refetchType??e?.type??`active`},t)))}refetchQueries(e,t={}){let n={...t,cancelRefetch:t.cancelRefetch??!0},r=c8.batch(()=>this.#e.findAll(e).filter(e=>!e.isDisabled()&&!e.isStatic()).map(e=>{let t=e.fetch(void 0,n);return n.throwOnError||(t=t.catch(U6)),e.state.fetchStatus===`paused`?Promise.resolve():t}));return Promise.all(r).then(U6)}fetchQuery(e){let t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);let n=this.#e.build(this,t);return n.isStaleByTime(W6(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(U6).catch(U6)}fetchInfiniteQuery(e){return e.behavior=S8(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(U6).catch(U6)}ensureInfiniteQueryData(e){return e.behavior=S8(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return d8.isOnline()?this.#t.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#e}getMutationCache(){return this.#t}getDefaultOptions(){return this.#n}setDefaultOptions(e){this.#n=e}setQueryDefaults(e,t){this.#r.set(J6(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){let t=[...this.#r.values()],n={};return t.forEach(t=>{Y6(e,t.queryKey)&&Object.assign(n,t.defaultOptions)}),n}setMutationDefaults(e,t){this.#i.set(J6(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){let t=[...this.#i.values()],n={};return t.forEach(t=>{Y6(e,t.mutationKey)&&Object.assign(n,t.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;let t={...this.#n.queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||=q6(t.queryKey,t),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!==`always`),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode=`offlineFirst`),t.queryFn===r8&&(t.enabled=!1),t}defaultMutationOptions(e){return e?._defaulted?e:{...this.#n.mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){this.#e.clear(),this.#t.clear()}}})),Bbe=o((()=>{})),Vbe=o((()=>{zbe(),Bbe()})),Hbe=o((()=>{})),Ube=o((()=>{Vbe(),Hbe()})),k8,Wbe=o((()=>{k8={label:`chart.bar.label`,description:`chart.bar.description`,useCase:`chart.bar.useCase`,clickableElements:{bar:!0},dropZones:[{key:`xAxis`,label:`chart.dropZone.xAxis.label`,description:`chart.dropZone.xAxis.description`,mandatory:!1,acceptTypes:[`dimension`,`timeDimension`],emptyText:`chart.bar.dropZone.xAxis.empty`},{key:`yAxis`,label:`chart.dropZone.yAxis.label`,description:`chart.configText.measures_for_bar_heights`,mandatory:!0,acceptTypes:[`measure`],emptyText:`chart.bar.dropZone.yAxis.empty`,enableDualAxis:!0},{key:`series`,label:`chart.dropZone.series.label`,description:`chart.dropZone.series.description`,mandatory:!1,acceptTypes:[`dimension`],emptyText:`chart.bar.dropZone.series.empty`}],displayOptions:[`showLegend`,`showGrid`,`showTooltip`,`hideHeader`],displayOptionsConfig:[{key:`stackType`,label:`chart.option.stacking.label`,type:`select`,defaultValue:`none`,options:[{value:`none`,label:`chart.option.accentBorder.none`},{value:`normal`,label:`chart.option.stacking.stacked`},{value:`percent`,label:`chart.option.stacking.percent`}],description:`chart.configText.how_to_stack_multiple_bar_series`},{key:`target`,label:`chart.option.target.label`,type:`string`,placeholder:`e.g., 100 or 50,75 for spread`,description:`chart.option.target.description`},{key:`leftYAxisFormat`,label:`chart.option.leftYAxisFormat.label`,type:`axisFormat`,description:`chart.option.leftYAxisFormat.description`},{key:`rightYAxisFormat`,label:`chart.option.rightYAxisFormat.label`,type:`axisFormat`,description:`chart.option.rightYAxisFormat.description`}]}})),A8,Gbe=o((()=>{A8={label:`chart.line.label`,description:`chart.line.description`,useCase:`chart.line.useCase`,clickableElements:{point:!0},dropZones:[{key:`xAxis`,label:`chart.configText.x_axis_time_categories`,description:`chart.configText.time_dimensions_or_dimensions_for_x_axis`,mandatory:!0,acceptTypes:[`dimension`,`timeDimension`],emptyText:`chart.line.dropZone.xAxis.empty`},{key:`yAxis`,label:`chart.dropZone.yAxis.label`,description:`chart.configText.measures_for_line_values`,mandatory:!0,acceptTypes:[`measure`],emptyText:`chart.line.dropZone.yAxis.empty`,enableDualAxis:!0},{key:`series`,label:`chart.configText.series_multiple_lines`,description:`chart.configText.dimensions_to_create_separate_lines`,mandatory:!1,acceptTypes:[`dimension`],emptyText:`chart.line.dropZone.series.empty`}],displayOptions:[`showLegend`,`showGrid`,`showTooltip`,`hideHeader`],displayOptionsConfig:[{key:`connectNulls`,label:`chart.option.connectNulls.label`,type:`boolean`,defaultValue:!1,description:`chart.option.connectNulls.description`},{key:`target`,label:`chart.option.target.label`,type:`string`,placeholder:`e.g., 100 or 50,75 for spread`,description:`chart.option.target.description`},{key:`priorPeriodStyle`,label:`chart.option.priorPeriodStyle.label`,type:`select`,defaultValue:`dashed`,options:[{value:`dashed`,label:`chart.option.priorPeriodStyle.dashed`},{value:`dotted`,label:`chart.option.priorPeriodStyle.dotted`},{value:`solid`,label:`chart.option.priorPeriodStyle.solid`}],description:`chart.option.priorPeriodStyle.description`},{key:`priorPeriodOpacity`,label:`chart.option.priorPeriodOpacity.label`,type:`number`,defaultValue:.5,min:.1,max:1,step:.1,description:`chart.option.priorPeriodOpacity.description`},{key:`leftYAxisFormat`,label:`chart.option.leftYAxisFormat.label`,type:`axisFormat`,description:`chart.option.leftYAxisFormat.description`},{key:`rightYAxisFormat`,label:`chart.option.rightYAxisFormat.label`,type:`axisFormat`,description:`chart.option.rightYAxisFormat.description`}]}})),j8,Kbe=o((()=>{j8={label:`chart.area.label`,description:`chart.area.description`,useCase:`chart.area.useCase`,dropZones:[{key:`xAxis`,label:`chart.configText.x_axis_time_categories`,description:`chart.configText.time_dimensions_or_dimensions_for_x_axis`,mandatory:!0,acceptTypes:[`dimension`,`timeDimension`],emptyText:`chart.area.dropZone.xAxis.empty`},{key:`yAxis`,label:`chart.dropZone.yAxis.label`,description:`chart.configText.measures_for_area_values`,mandatory:!0,acceptTypes:[`measure`],emptyText:`chart.area.dropZone.yAxis.empty`,enableDualAxis:!0},{key:`series`,label:`chart.configText.series_stack_areas`,description:`chart.configText.dimensions_to_create_stacked_areas`,mandatory:!1,acceptTypes:[`dimension`],emptyText:`chart.area.dropZone.series.empty`}],displayOptions:[`showLegend`,`showGrid`,`showTooltip`,`hideHeader`],displayOptionsConfig:[{key:`stackType`,label:`chart.option.stacking.label`,type:`select`,defaultValue:`none`,options:[{value:`none`,label:`chart.option.accentBorder.none`},{value:`normal`,label:`chart.option.stacking.stacked`},{value:`percent`,label:`chart.option.stacking.percent`}],description:`chart.configText.how_to_stack_multiple_area_series`},{key:`connectNulls`,label:`chart.option.connectNulls.label`,type:`boolean`,defaultValue:!1,description:`chart.option.connectNulls.description`},{key:`target`,label:`chart.option.target.label`,type:`string`,placeholder:`e.g., 100 or 50,75 for spread`,description:`chart.option.target.description`},{key:`leftYAxisFormat`,label:`chart.option.leftYAxisFormat.label`,type:`axisFormat`,description:`chart.option.leftYAxisFormat.description`},{key:`rightYAxisFormat`,label:`chart.option.rightYAxisFormat.label`,type:`axisFormat`,description:`chart.option.rightYAxisFormat.description`}]}})),M8,qbe=o((()=>{M8={label:`chart.pie.label`,description:`chart.pie.description`,useCase:`chart.pie.useCase`,clickableElements:{slice:!0},dropZones:[{key:`xAxis`,label:`chart.configText.categories`,description:`chart.configText.dimension_for_pie_slices`,mandatory:!0,maxItems:1,acceptTypes:[`dimension`],emptyText:`chart.pie.dropZone.xAxis.empty`},{key:`yAxis`,label:`chart.configText.values`,description:`chart.configText.measure_for_slice_sizes`,mandatory:!0,maxItems:1,acceptTypes:[`measure`],emptyText:`chart.pie.dropZone.yAxis.empty`}],displayOptions:[`showLegend`,`showTooltip`,`hideHeader`],displayOptionsConfig:[{key:`innerRadius`,label:`chart.option.innerRadius.label`,type:`select`,description:`chart.configText.hollow_center_size_0_percent_solid_pie_higher_donut_style`,defaultValue:`0%`,options:[{value:`0%`,label:`chart.configText.none_pie`},{value:`20%`,label:`chart.configText.20_percent`},{value:`40%`,label:`chart.configText.40_percent`},{value:`60%`,label:`chart.configText.60_percent`},{value:`80%`,label:`chart.configText.80_percent`}]},{key:`leftYAxisFormat`,label:`chart.option.valueFormat.label`,type:`axisFormat`,description:`chart.option.valueFormat.description`}]}})),N8,Jbe=o((()=>{N8={label:`chart.scatter.label`,description:`chart.scatter.description`,useCase:`chart.scatter.useCase`,dropZones:[{key:`xAxis`,label:`chart.runtime.axisFormat.xAxis`,description:`chart.configText.measure_or_dimension_for_x_position`,mandatory:!0,maxItems:1,acceptTypes:[`dimension`,`timeDimension`,`measure`],emptyText:`chart.scatter.dropZone.xAxis.empty`},{key:`yAxis`,label:`chart.configText.y_axis`,description:`chart.configText.measure_for_y_position`,mandatory:!0,maxItems:1,acceptTypes:[`measure`],emptyText:`chart.scatter.dropZone.yAxis.empty`},{key:`series`,label:`chart.configText.series_color_groups`,description:`chart.configText.dimension_to_color_points_by_category`,mandatory:!1,maxItems:1,acceptTypes:[`dimension`],emptyText:`chart.scatter.dropZone.series.empty`}],displayOptions:[`showLegend`,`showGrid`,`showTooltip`,`hideHeader`],displayOptionsConfig:[{key:`xAxisFormat`,label:`chart.option.xAxisFormat.label`,type:`axisFormat`,description:`chart.option.xAxisFormat.description`},{key:`leftYAxisFormat`,label:`chart.option.yAxisFormat.label`,type:`axisFormat`,description:`chart.option.yAxisFormat.description`}]}})),P8,Ybe=o((()=>{P8={label:`chart.bubble.label`,description:`chart.bubble.description`,useCase:`chart.bubble.useCase`,dropZones:[{key:`xAxis`,label:`chart.runtime.axisFormat.xAxis`,description:`chart.configText.horizontal_axis_position`,mandatory:!0,maxItems:1,acceptTypes:[`dimension`,`timeDimension`,`measure`],emptyText:`chart.bubble.dropZone.xAxis.empty`},{key:`yAxis`,label:`chart.configText.y_axis`,description:`chart.configText.vertical_axis_position`,mandatory:!0,maxItems:1,acceptTypes:[`measure`],emptyText:`chart.bubble.dropZone.yAxis.empty`},{key:`sizeField`,label:`chart.configText.bubble_radius`,description:`chart.configText.size_of_bubbles_based_on_this_measure`,mandatory:!0,maxItems:1,acceptTypes:[`measure`],emptyText:`chart.bubble.dropZone.sizeField.empty`},{key:`series`,label:`chart.configText.bubble_labels`,description:`chart.configText.field_to_use_for_bubble_labels_and_identification`,mandatory:!0,maxItems:1,acceptTypes:[`dimension`],emptyText:`chart.bubble.dropZone.series.empty`},{key:`colorField`,label:`chart.configText.bubble_colour`,description:`chart.configText.color_bubbles_by_this_field_optional`,mandatory:!1,maxItems:1,acceptTypes:[`dimension`,`measure`],emptyText:`chart.bubble.dropZone.colorField.empty`}],displayOptions:[`showLegend`,`showGrid`,`showTooltip`,`minBubbleSize`,`maxBubbleSize`,`bubbleOpacity`,`hideHeader`],displayOptionsConfig:[{key:`xAxisFormat`,label:`chart.option.xAxisFormat.label`,type:`axisFormat`,description:`chart.option.xAxisFormat.description`},{key:`leftYAxisFormat`,label:`chart.option.yAxisFormat.label`,type:`axisFormat`,description:`chart.configText.number_formatting_for_y_axis_and_values`}]}})),F8,Xbe=o((()=>{F8={label:`chart.radar.label`,description:`chart.radar.description`,useCase:`chart.radar.useCase`,dropZones:[{key:`xAxis`,label:`chart.configText.axes_categories`,description:`chart.configText.dimensions_for_radar_axes`,mandatory:!0,acceptTypes:[`dimension`],emptyText:`chart.radar.dropZone.xAxis.empty`},{key:`yAxis`,label:`chart.configText.values`,description:`chart.configText.measures_for_radar_values`,mandatory:!0,acceptTypes:[`measure`],emptyText:`chart.radar.dropZone.yAxis.empty`},{key:`series`,label:`chart.configText.series_multiple_shapes`,description:`chart.configText.dimensions_to_create_multiple_radar_shapes`,mandatory:!1,acceptTypes:[`dimension`],emptyText:`chart.radar.dropZone.series.empty`}],displayOptions:[`showLegend`,`showGrid`,`showTooltip`,`hideHeader`],displayOptionsConfig:[{key:`leftYAxisFormat`,label:`chart.option.valueFormat.label`,type:`axisFormat`,description:`chart.option.valueFormat.description`}]}})),I8,Zbe=o((()=>{I8={label:`chart.radialBar.label`,description:`chart.radialBar.description`,useCase:`chart.radialBar.useCase`,dropZones:[{key:`xAxis`,label:`chart.configText.categories`,description:`chart.configText.dimensions_for_radial_segments`,mandatory:!0,acceptTypes:[`dimension`],emptyText:`chart.radialBar.dropZone.xAxis.empty`},{key:`yAxis`,label:`chart.configText.values`,description:`chart.configText.measures_for_radial_bar_lengths`,mandatory:!0,maxItems:1,acceptTypes:[`measure`],emptyText:`chart.radialBar.dropZone.yAxis.empty`}],displayOptions:[`showLegend`,`showTooltip`,`hideHeader`],displayOptionsConfig:[{key:`leftYAxisFormat`,label:`chart.option.valueFormat.label`,type:`axisFormat`,description:`chart.option.valueFormat.description`}]}})),L8,Qbe=o((()=>{L8={label:`chart.treemap.label`,description:`chart.treemap.description`,useCase:`chart.treemap.useCase`,dropZones:[{key:`xAxis`,label:`chart.configText.categories`,description:`chart.configText.dimensions_for_treemap_rectangles`,mandatory:!0,acceptTypes:[`dimension`],emptyText:`chart.treemap.dropZone.xAxis.empty`},{key:`yAxis`,label:`chart.configText.size`,description:`chart.configText.measure_for_rectangle_sizes`,mandatory:!0,maxItems:1,acceptTypes:[`measure`],emptyText:`chart.treemap.dropZone.yAxis.empty`},{key:`series`,label:`chart.configText.color_groups`,description:`chart.configText.dimension_to_color_rectangles_by_category`,mandatory:!1,maxItems:1,acceptTypes:[`dimension`],emptyText:`chart.treemap.dropZone.series.empty`}],displayOptions:[`showLegend`,`showTooltip`,`hideHeader`],displayOptionsConfig:[{key:`leftYAxisFormat`,label:`chart.option.valueFormat.label`,type:`axisFormat`,description:`chart.configText.number_formatting_for_size_values`}],clickableElements:{cell:!0}}})),R8,$be=o((()=>{R8={label:`chart.table.label`,description:`chart.table.description`,useCase:`chart.table.useCase`,dropZones:[{key:`xAxis`,label:`chart.configText.columns`,description:`chart.configText.all_fields_to_display_as_columns`,mandatory:!1,acceptTypes:[`dimension`,`timeDimension`,`measure`],emptyText:`chart.table.dropZone.xAxis.empty`}],displayOptions:[`hideHeader`],displayOptionsConfig:[{key:`leftYAxisFormat`,label:`chart.option.valueFormat.label`,type:`axisFormat`,description:`chart.configText.number_formatting_for_numeric_values`}]}})),z8,exe=o((()=>{z8={label:`chart.activityGrid.label`,description:`chart.activityGrid.description`,useCase:`chart.activityGrid.useCase`,dropZones:[{key:`dateField`,label:`chart.configText.time_dimension`,description:`chart.configText.time_field_that_determines_grid_structure_granularity_affects_layout`,mandatory:!0,maxItems:1,acceptTypes:[`timeDimension`],emptyText:`chart.activityGrid.dropZone.dateField.empty`},{key:`valueField`,label:`chart.configText.activity_measure`,description:`chart.configText.measure_used_for_activity_intensity_color_coding`,mandatory:!0,maxItems:1,acceptTypes:[`measure`],emptyText:`chart.activityGrid.dropZone.valueField.empty`}],displayOptions:[`showLabels`,`showTooltip`,`hideHeader`],displayOptionsConfig:[{key:`fitToWidth`,label:`chart.option.fitToWidth.label`,type:`boolean`,defaultValue:!1,description:`chart.option.fitToWidth.description`}],validate:e=>{let{dateField:t,valueField:n}=e;return!t||Array.isArray(t)&&t.length===0?{isValid:!1,message:`chart.activityGrid.validation.timeDimensionRequired`}:!n||Array.isArray(n)&&n.length===0?{isValid:!1,message:`chart.activityGrid.validation.measureRequired`}:{isValid:!0}},clickableElements:{cell:!0}}})),B8,txe=o((()=>{B8={label:`chart.kpiNumber.label`,description:`chart.kpiNumber.description`,useCase:`chart.kpiNumber.useCase`,dropZones:[{key:`yAxis`,label:`chart.configText.value`,description:`chart.configText.measure_to_display_as_kpi_number`,mandatory:!0,maxItems:1,acceptTypes:[`measure`],emptyText:`chart.kpiNumber.dropZone.yAxis.empty`}],displayOptionsConfig:[{key:`target`,label:`chart.runtime.tooltip.targetValue`,type:`string`,placeholder:`e.g., 100`,description:`chart.configText.target_value_to_compare_against_first_value_used_if_multiple_provided`},{key:`prefix`,label:`chart.option.prefix.label`,type:`string`,placeholder:`e.g., $, €, #`,description:`chart.option.prefix.description`},{key:`suffix`,label:`chart.option.suffix.label`,type:`string`,placeholder:`e.g., %, units, items`,description:`chart.option.suffix.description`},{key:`decimals`,label:`chart.option.decimals.label`,type:`number`,defaultValue:0,min:0,max:10,step:1,description:`chart.option.decimals.description`},{key:`valueColorIndex`,label:`chart.configText.value_color`,type:`paletteColor`,defaultValue:0,description:`chart.configText.color_from_the_dashboard_palette_for_the_kpi_value_text`},{key:`useLastCompletePeriod`,label:`chart.option.useLastCompletePeriod.label`,type:`boolean`,defaultValue:!0,description:`chart.configText.exclude_current_incomplete_period_from_aggregation_e_g_partial_week_mont`},{key:`skipLastPeriod`,label:`chart.option.skipLastPeriod.label`,type:`boolean`,defaultValue:!1,description:`chart.option.skipLastPeriod.description`}],displayOptions:[`hideHeader`]}})),V8,nxe=o((()=>{V8={label:`chart.kpiDelta.label`,description:`chart.kpiDelta.description`,useCase:`chart.kpiDelta.useCase`,dropZones:[{key:`yAxis`,label:`chart.configText.value`,description:`chart.configText.measure_to_track_changes_for`,mandatory:!0,maxItems:1,acceptTypes:[`measure`],emptyText:`chart.kpiDelta.dropZone.yAxis.empty`},{key:`xAxis`,label:`chart.configText.dimension_optional`,description:`chart.configText.dimension_for_ordering_data_typically_time`,mandatory:!1,maxItems:1,acceptTypes:[`dimension`,`timeDimension`],emptyText:`chart.kpiDelta.dropZone.xAxis.empty`}],displayOptionsConfig:[{key:`prefix`,label:`chart.option.prefix.label`,type:`string`,placeholder:`e.g., $, €, #`,description:`chart.option.prefix.description`},{key:`suffix`,label:`chart.option.suffix.label`,type:`string`,placeholder:`e.g., %, units, items`,description:`chart.option.suffix.description`},{key:`decimals`,label:`chart.option.decimals.label`,type:`number`,defaultValue:1,min:0,max:10,step:1,description:`chart.option.decimals.description`},{key:`positiveColorIndex`,label:`chart.configText.positive_change_color`,type:`paletteColor`,defaultValue:2,description:`chart.configText.color_for_positive_changes_increases`},{key:`negativeColorIndex`,label:`chart.configText.negative_change_color`,type:`paletteColor`,defaultValue:3,description:`chart.configText.color_for_negative_changes_decreases`},{key:`showHistogram`,label:`chart.option.showHistogram.label`,type:`boolean`,defaultValue:!0,description:`chart.option.showHistogram.description`},{key:`useLastCompletePeriod`,label:`chart.option.useLastCompletePeriod.label`,type:`boolean`,defaultValue:!0,description:`chart.configText.exclude_current_incomplete_period_from_delta_calculation_e_g_partial_wee`},{key:`skipLastPeriod`,label:`chart.option.skipLastPeriod.label`,type:`boolean`,defaultValue:!1,description:`chart.option.skipLastPeriod.description`}],displayOptions:[`hideHeader`],validate:e=>!e.yAxis||Array.isArray(e.yAxis)&&e.yAxis.length===0?{isValid:!1,message:`chart.kpiDelta.validation.measureRequired`}:{isValid:!0}}})),H8,rxe=o((()=>{H8={label:`chart.kpiText.label`,description:`chart.kpiText.description`,useCase:`chart.kpiText.useCase`,dropZones:[{key:`yAxis`,label:`chart.configText.value`,description:`chart.configText.measure_to_display_in_the_kpi_text_template`,mandatory:!0,maxItems:1,acceptTypes:[`measure`],emptyText:`chart.kpiText.dropZone.yAxis.empty`}],displayOptionsConfig:[{key:`template`,label:`chart.configText.text_template`,type:`string`,placeholder:\"e.g., Total Revenue: ${value}\",description:`chart.configText.template_for_displaying_the_text_use_value_to_insert_the_measure_value`},{key:`decimals`,label:`chart.option.decimals.label`,type:`number`,defaultValue:0,min:0,max:10,step:1,description:`chart.configText.number_of_decimal_places_to_display_for_numeric_values`},{key:`valueColorIndex`,label:`chart.configText.value_color`,type:`paletteColor`,defaultValue:0,description:`chart.configText.color_from_the_dashboard_palette_for_the_kpi_value_text`}],displayOptions:[`hideHeader`]}})),U8,ixe=o((()=>{U8={label:`chart.markdown.label`,description:`chart.markdown.description`,useCase:`chart.markdown.useCase`,skipQuery:!0,dropZones:[],displayOptionsConfig:[{key:`content`,label:`chart.configText.markdown_content`,type:`string`,placeholder:`# Welcome\n\nAdd your **markdown** content here:\n\n- Lists with bullets\n- [Links](https://example.com)\n- *Italic* and **bold** text\n\n---\n\nUse --- for horizontal rules.`,description:`chart.configText.enter_markdown_text_supports_headers_bold_text_italic_text_links_text_ur`},{key:`accentColorIndex`,label:`chart.configText.accent_color`,type:`paletteColor`,defaultValue:0,description:`chart.configText.color_from_the_dashboard_palette_for_headers_bullets_and_links`},{key:`fontSize`,label:`chart.option.fontSize.label`,type:`select`,defaultValue:`medium`,options:[{value:`small`,label:`chart.option.fontSize.small`},{value:`medium`,label:`chart.option.fontSize.medium`},{value:`large`,label:`chart.option.fontSize.large`}],description:`chart.configText.overall_text_size_for_the_markdown_content`},{key:`alignment`,label:`chart.option.alignment.label`,type:`select`,defaultValue:`left`,options:[{value:`left`,label:`chart.option.accentBorder.left`},{value:`center`,label:`chart.option.alignment.center`},{value:`right`,label:`chart.option.alignment.right`}],description:`chart.configText.horizontal_alignment_of_the_markdown_content`},{key:`hideHeader`,label:`chart.option.hideHeader.label`,type:`boolean`,defaultValue:!0,description:`chart.option.hideHeader.description`},{key:`transparentBackground`,label:`chart.option.transparentBackground.label`,type:`boolean`,defaultValue:!1,description:`chart.option.transparentBackground.description`},{key:`autoHeight`,label:`chart.option.autoHeight.label`,type:`boolean`,defaultValue:!0,description:`chart.option.autoHeight.description`},{key:`accentBorder`,label:`chart.option.accentBorder.label`,type:`select`,defaultValue:`none`,options:[{value:`none`,label:`chart.option.accentBorder.none`},{value:`left`,label:`chart.option.accentBorder.left`},{value:`top`,label:`chart.option.accentBorder.top`},{value:`bottom`,label:`chart.option.accentBorder.bottom`}],description:`chart.configText.add_an_accent_colored_border_on_one_side_of_the_content`}]}})),W8,axe=o((()=>{W8={label:`chart.funnel.label`,description:`chart.funnel.description`,useCase:`chart.funnel.useCase`,dropZones:[{key:`xAxis`,label:`chart.configText.step_name`,description:`chart.configText.step_names_auto_populated_from_funnel_steps`,mandatory:!1,maxItems:1,acceptTypes:[`dimension`],emptyText:`chart.funnel.dropZone.xAxis.empty`},{key:`yAxis`,label:`chart.configText.step_count`,description:`chart.configText.count_at_each_step_auto_calculated`,mandatory:!1,maxItems:1,acceptTypes:[`measure`],emptyText:`chart.funnel.dropZone.yAxis.empty`}],displayOptions:[`hideHeader`],displayOptionsConfig:[{key:`funnelStyle`,label:`chart.option.funnelStyle.label`,type:`buttonGroup`,defaultValue:`bars`,options:[{value:`bars`,label:`chart.option.funnelStyle.bars`},{value:`funnel`,label:`chart.option.funnelStyle.funnel`}],description:`chart.configText.visualization_style`},{key:`funnelOrientation`,label:`chart.option.funnelOrientation.label`,type:`buttonGroup`,defaultValue:`horizontal`,options:[{value:`horizontal`,label:`chart.option.funnelOrientation.horizontal`},{value:`vertical`,label:`chart.option.funnelOrientation.vertical`}]},{key:`hideSummaryFooter`,label:`chart.option.hideSummaryFooter.label`,type:`boolean`,defaultValue:!1,description:`chart.option.hideSummaryFooter.description`},{key:`showFunnelConversion`,label:`chart.option.showConversion.label`,type:`boolean`,defaultValue:!0,description:`chart.option.showConversion.description`},{key:`showFunnelAvgTime`,label:`chart.option.showAvgTime.label`,type:`boolean`,defaultValue:!1,description:`chart.option.showAvgTime.description`},{key:`showFunnelMedianTime`,label:`chart.option.showMedianTime.label`,type:`boolean`,defaultValue:!1,description:`chart.option.showMedianTime.description`},{key:`showFunnelP90Time`,label:`chart.option.showP90Time.label`,type:`boolean`,defaultValue:!1,description:`chart.option.showP90Time.description`}]}})),G8,oxe=o((()=>{G8={label:`chart.sankey.label`,description:`chart.sankey.description`,useCase:`chart.sankey.useCase`,dropZones:[{key:`xAxis`,label:`chart.configText.event_type`,description:`chart.configText.event_dimension_that_categorizes_flow_nodes`,mandatory:!1,maxItems:1,acceptTypes:[`dimension`],emptyText:`chart.sankey.dropZone.xAxis.empty`},{key:`yAxis`,label:`chart.configText.flow_count`,description:`chart.configText.count_of_entities_following_each_path`,mandatory:!1,maxItems:1,acceptTypes:[`measure`],emptyText:`chart.sankey.dropZone.yAxis.empty`}],displayOptions:[`hideHeader`],displayOptionsConfig:[{key:`linkOpacity`,label:`chart.option.linkOpacity.label`,type:`buttonGroup`,defaultValue:`0.5`,options:[{value:`0.3`,label:`chart.option.linkOpacity.light`},{value:`0.5`,label:`chart.option.fontSize.medium`},{value:`0.7`,label:`chart.option.linkOpacity.dark`}],description:`chart.configText.opacity_of_flow_links`},{key:`showNodeLabels`,label:`chart.option.showNodeLabels.label`,type:`boolean`,defaultValue:!0,description:`chart.option.showNodeLabels.description`},{key:`hideSummaryFooter`,label:`chart.option.hideSummaryFooter.label`,type:`boolean`,defaultValue:!0,description:`chart.configText.hide_the_statistics_footer_below_the_chart`}]}})),K8,sxe=o((()=>{K8={label:`chart.sunburst.label`,description:`chart.sunburst.description`,useCase:`chart.sunburst.useCase`,dropZones:[{key:`xAxis`,label:`chart.configText.event_type`,description:`chart.configText.event_dimension_that_categorizes_flow_nodes`,mandatory:!1,maxItems:1,acceptTypes:[`dimension`],emptyText:`chart.sunburst.dropZone.xAxis.empty`},{key:`yAxis`,label:`chart.configText.flow_count`,description:`chart.configText.count_of_entities_following_each_path`,mandatory:!1,maxItems:1,acceptTypes:[`measure`],emptyText:`chart.sunburst.dropZone.yAxis.empty`}],displayOptions:[`hideHeader`],displayOptionsConfig:[{key:`innerRadius`,label:`chart.option.innerRadius.label`,type:`number`,defaultValue:40,min:0,max:100,step:10,description:`chart.configText.size_of_the_center_hole_0_for_full_circle`},{key:`hideSummaryFooter`,label:`chart.option.hideSummaryFooter.label`,type:`boolean`,defaultValue:!0,description:`chart.configText.hide_the_statistics_footer_below_the_chart`}]}})),q8,cxe=o((()=>{q8={label:`chart.heatmap.label`,description:`chart.heatmap.description`,useCase:`chart.heatmap.useCase`,dropZones:[{key:`xAxis`,label:`chart.configText.columns_x_axis`,description:`chart.configText.dimension_for_column_categories`,mandatory:!0,maxItems:1,acceptTypes:[`dimension`],emptyText:`chart.heatmap.dropZone.xAxis.empty`},{key:`yAxis`,label:`chart.configText.rows_y_axis`,description:`chart.configText.dimension_for_row_categories`,mandatory:!0,maxItems:1,acceptTypes:[`dimension`],emptyText:`chart.heatmap.dropZone.yAxis.empty`},{key:`valueField`,label:`chart.configText.value_color_intensity`,description:`chart.configText.measure_that_determines_cell_color`,mandatory:!0,maxItems:1,acceptTypes:[`measure`],emptyText:`chart.heatmap.dropZone.valueField.empty`}],displayOptions:[`showLegend`,`showTooltip`],displayOptionsConfig:[{key:`showLabels`,label:`chart.option.showLabels.label`,type:`boolean`,defaultValue:!1,description:`chart.option.showLabels.description`},{key:`cellShape`,label:`chart.option.cellShape.label`,type:`select`,defaultValue:`rect`,options:[{value:`rect`,label:`chart.option.cellShape.rectangle`},{value:`circle`,label:`chart.option.cellShape.circle`}]},{key:`xAxisFormat`,label:`chart.option.xAxisFormat.label`,type:`axisFormat`,description:`chart.configText.number_formatting_for_x_axis_labels`},{key:`yAxisFormat`,label:`chart.option.yAxisFormat.label`,type:`axisFormat`,description:`chart.configText.number_formatting_for_y_axis_labels`},{key:`valueFormat`,label:`chart.option.valueFormat.label`,type:`axisFormat`,description:`chart.configText.number_formatting_for_cell_values_and_legend`}],validate:e=>e.xAxis?.length?e.yAxis?.length?e.valueField?.length?{isValid:!0}:{isValid:!1,message:`chart.heatmap.validation.valueRequired`}:{isValid:!1,message:`chart.heatmap.validation.yAxisRequired`}:{isValid:!1,message:`chart.heatmap.validation.xAxisRequired`}}})),J8,lxe=o((()=>{J8={label:`chart.retentionHeatmap.label`,dropZones:[],displayOptionsConfig:[{key:`showLegend`,label:`chart.option.showLegend.label`,type:`boolean`,defaultValue:!0,description:`chart.configText.show_the_color_intensity_legend`},{key:`showTooltip`,label:`chart.option.showTooltip.label`,type:`boolean`,defaultValue:!0,description:`chart.option.showTooltip.description`}],description:`chart.retentionHeatmap.description`,useCase:`chart.retentionHeatmap.useCase`}})),Y8,uxe=o((()=>{Y8={label:`chart.retentionCombined.label`,dropZones:[],displayOptionsConfig:[{key:`retentionDisplayMode`,label:`chart.option.retentionDisplayMode.label`,type:`select`,defaultValue:`line`,options:[{value:`line`,label:`chart.option.retentionDisplayMode.lineChart`},{value:`heatmap`,label:`chart.option.retentionDisplayMode.heatmapTable`},{value:`combined`,label:`chart.option.retentionDisplayMode.combined`}],description:`chart.configText.choose_how_to_visualize_retention_data`},{key:`showLegend`,label:`chart.option.showLegend.label`,type:`boolean`,defaultValue:!0,description:`chart.configText.show_the_legend_for_breakdown_segments`},{key:`showGrid`,label:`chart.option.showGrid.label`,type:`boolean`,defaultValue:!0,description:`chart.option.showGrid.description`},{key:`showTooltip`,label:`chart.option.showTooltip.label`,type:`boolean`,defaultValue:!0,description:`chart.option.showTooltip.description`}],description:`chart.retentionCombined.description`,useCase:`chart.retentionCombined.useCase`}})),X8,dxe=o((()=>{X8={label:`chart.boxPlot.label`,description:`chart.boxPlot.description`,useCase:`chart.boxPlot.useCase`,displayOptions:[`hideHeader`],dropZones:[{key:`xAxis`,label:`chart.configText.x_axis_groups`,description:`chart.configText.dimension_to_group_boxes_by_e_g_symbol_platform`,mandatory:!0,maxItems:1,acceptTypes:[`dimension`,`timeDimension`],emptyText:`chart.boxPlot.dropZone.xAxis.empty`},{key:`yAxis`,label:`chart.configText.y_axis_measures`,description:`chart.configText.drop_1_measure_for_auto_mode_3_for_avg_stddev_median_mode_or_5_for_min_q`,mandatory:!0,maxItems:5,acceptTypes:[`measure`],emptyText:`chart.boxPlot.dropZone.yAxis.empty`}],displayOptionsConfig:[{key:`leftYAxisFormat`,label:`chart.option.yAxisFormat.label`,type:`axisFormat`,description:`chart.configText.number_formatting_for_the_value_axis`}]}})),Z8,fxe=o((()=>{Z8={label:`chart.waterfall.label`,description:`chart.waterfall.description`,useCase:`chart.waterfall.useCase`,clickableElements:{bar:!0},displayOptions:[`showTooltip`,`hideHeader`],dropZones:[{key:`xAxis`,label:`chart.dropZone.xAxis.label`,description:`chart.configText.dimension_labels_for_each_bar_segment_e_g_symbol_transaction_type`,mandatory:!0,maxItems:1,acceptTypes:[`dimension`,`timeDimension`],emptyText:`chart.waterfall.dropZone.xAxis.empty`},{key:`yAxis`,label:`chart.configText.y_axis_value`,description:`chart.configText.single_measure_whose_values_are_summed_cumulatively`,mandatory:!0,maxItems:1,acceptTypes:[`measure`],emptyText:`chart.waterfall.dropZone.yAxis.empty`}],displayOptionsConfig:[{key:`showTotal`,label:`chart.option.showTotal.label`,type:`boolean`,defaultValue:!0,description:`chart.option.showTotal.description`},{key:`showConnectorLine`,label:`chart.option.showConnectorLine.label`,type:`boolean`,defaultValue:!0,description:`chart.option.showConnectorLine.description`},{key:`showDataLabels`,label:`chart.option.showDataLabels.label`,type:`boolean`,defaultValue:!1,description:`chart.configText.display_the_value_above_each_bar_segment`},{key:`leftYAxisFormat`,label:`chart.option.yAxisFormat.label`,type:`axisFormat`,description:`chart.configText.number_formatting_for_the_y_axis`}]}})),Q8,pxe=o((()=>{Q8={label:`chart.candlestick.label`,description:`chart.candlestick.description`,useCase:`chart.candlestick.useCase`,clickableElements:{bar:!0},displayOptions:[`hideHeader`],dropZones:[{key:`xAxis`,label:`chart.configText.x_axis_time_category`,description:`chart.configText.time_dimension_or_category_for_each_candle_e_g_date_symbol`,mandatory:!0,maxItems:1,acceptTypes:[`timeDimension`,`dimension`],emptyText:`chart.candlestick.dropZone.xAxis.empty`},{key:`yAxis`,label:`chart.configText.ohlc_measures_open_close_high_low`,description:`chart.configText.drop_2_4_measures_in_order_open_close_high_low_ohlc_mode_for_range_mode_`,mandatory:!0,acceptTypes:[`measure`],emptyText:`chart.candlestick.dropZone.yAxis.empty`}],displayOptionsConfig:[{key:`rangeMode`,label:`chart.option.rangeMode.label`,type:`select`,defaultValue:`ohlc`,options:[{value:`ohlc`,label:`chart.option.rangeMode.ohlc`},{value:`range`,label:`chart.option.rangeMode.range`}],description:`chart.option.rangeMode.description`},{key:`bullColor`,label:`chart.option.bullColor.label`,type:`color`,defaultValue:`#22c55e`,description:`chart.option.bullColor.description`},{key:`bearColor`,label:`chart.option.bearColor.label`,type:`color`,defaultValue:`#ef4444`,description:`chart.option.bearColor.description`},{key:`showWicks`,label:`chart.option.showWicks.label`,type:`boolean`,defaultValue:!0,description:`chart.option.showWicks.description`},{key:`leftYAxisFormat`,label:`chart.option.yAxisFormat.label`,type:`axisFormat`,description:`chart.configText.number_formatting_for_the_price_axis`}]}})),$8,mxe=o((()=>{$8={label:`chart.measureProfile.label`,description:`chart.measureProfile.description`,useCase:`chart.measureProfile.useCase`,displayOptions:[`showLegend`,`showTooltip`,`hideHeader`],dropZones:[{key:`yAxis`,label:`chart.configText.measures_x_axis_order`,description:`chart.configText.add_2_or_more_measures_they_become_the_x_axis_categories_in_the_order_li`,mandatory:!0,acceptTypes:[`measure`],emptyText:`chart.measureProfile.dropZone.yAxis.empty`},{key:`series`,label:`chart.configText.series_split_into_multiple_lines`,description:`chart.configText.dimension_to_split_data_into_separate_profile_lines_e_g_symbol_platform`,mandatory:!1,maxItems:1,acceptTypes:[`dimension`],emptyText:`chart.measureProfile.dropZone.series.empty`}],displayOptionsConfig:[{key:`showReferenceLineAtZero`,label:`chart.option.showReferenceLineAtZero.label`,type:`boolean`,defaultValue:!0,description:`chart.option.showReferenceLineAtZero.description`},{key:`showDataLabels`,label:`chart.option.showDataLabels.label`,type:`boolean`,defaultValue:!1,description:`chart.configText.display_value_at_each_data_point`},{key:`showLegend`,label:`chart.option.showLegend.label`,type:`boolean`,defaultValue:!0,description:`chart.configText.show_series_legend_only_visible_with_a_series_dimension`},{key:`lineType`,label:`chart.option.lineType.label`,type:`select`,defaultValue:`monotone`,options:[{value:`monotone`,label:`chart.option.lineType.smooth`},{value:`linear`,label:`chart.option.lineType.linear`},{value:`step`,label:`chart.option.lineType.step`}],description:`chart.option.lineType.description`},{key:`leftYAxisFormat`,label:`chart.option.yAxisFormat.label`,type:`axisFormat`,description:`chart.configText.number_formatting_for_the_y_axis`}]}})),e5,hxe=o((()=>{e5={label:`chart.gauge.label`,description:`chart.gauge.description`,useCase:`chart.gauge.useCase`,clickableElements:{},displayOptions:[`hideHeader`],dropZones:[{key:`yAxis`,label:`chart.configText.value_measure`,description:`chart.configText.current_value_to_display_on_the_gauge_e_g_current_equity_margin_used`,mandatory:!0,maxItems:2,acceptTypes:[`measure`],emptyText:`chart.gauge.dropZone.yAxis.empty`}],displayOptionsConfig:[{key:`minValue`,label:`chart.option.minValue.label`,type:`number`,defaultValue:0,description:`chart.option.minValue.description`},{key:`maxValue`,label:`chart.option.maxValue.label`,type:`number`,description:`chart.option.maxValue.description`},{key:`thresholds`,label:`chart.configText.threshold_bands`,type:`string`,placeholder:`[{\"value\":0.33,\"color\":\"#22c55e\"},{\"value\":0.66,\"color\":\"#f59e0b\"},{\"value\":1,\"color\":\"#ef4444\"}]`,description:`chart.configText.array_of_value_0_1_fraction_color_bands_shown_as_outer_arc_markers`},{key:`showCenterLabel`,label:`chart.option.showCentreLabel.label`,type:`boolean`,defaultValue:!0,description:`chart.option.showCentreLabel.description`},{key:`showPercentage`,label:`chart.option.showPercentage.label`,type:`boolean`,defaultValue:!1,description:`chart.option.showPercentage.description`},{key:`leftYAxisFormat`,label:`chart.option.valueFormat.label`,type:`axisFormat`,description:`chart.configText.number_formatting_for_the_displayed_value_and_axis_labels`}]}})),t5,gxe=o((()=>{Wbe(),Gbe(),Kbe(),qbe(),Jbe(),Ybe(),Xbe(),Zbe(),Qbe(),$be(),exe(),txe(),nxe(),rxe(),ixe(),axe(),oxe(),sxe(),cxe(),lxe(),uxe(),dxe(),fxe(),pxe(),mxe(),hxe(),t5={bar:k8,line:A8,area:j8,pie:M8,scatter:N8,bubble:P8,radar:F8,radialBar:I8,treemap:L8,table:R8,activityGrid:z8,kpiNumber:B8,kpiDelta:V8,kpiText:H8,markdown:U8,funnel:W8,sankey:G8,sunburst:K8,heatmap:q8,retentionHeatmap:J8,retentionCombined:Y8,boxPlot:X8,waterfall:Z8,candlestick:Q8,measureProfile:$8,gauge:e5}})),n5,r5,i5,_xe=o((()=>{n5=u(f(),1),Mu(),J$(),t1(),p1(),x1(),l1(),r5=wu(),i5=n5.memo(function({data:e,chartConfig:t,displayConfig:n={},queryObject:r,height:i=`100%`,colorPalette:a}){let{t:o}=Au(),[s,c]=(0,n5.useState)(null);try{let l={showLegend:n?.showLegend??!0,showTooltip:n?.showTooltip??!0,showGrid:n?.showGrid??!0,leftYAxisFormat:n?.leftYAxisFormat};if(!e||e.length===0)return(0,r5.jsx)(`div`,{className:`dc:flex dc:items-center dc:justify-center dc:w-full text-dc-text-muted`,style:{height:i},children:(0,r5.jsxs)(`div`,{className:`dc:text-center`,children:[(0,r5.jsx)(`div`,{className:`dc:text-sm dc:font-semibold dc:mb-1`,children:o(`chart.runtime.noData`)}),(0,r5.jsx)(`div`,{className:`dc:text-xs text-dc-text-secondary`,children:o(`chart.runtime.noDataHint.radar`)})]})});let u,d=[];if(t?.xAxis&&t?.yAxis){let{data:n,seriesKeys:i}=c1(e,Array.isArray(t.xAxis)?t.xAxis[0]:t.xAxis,Array.isArray(t.yAxis)?t.yAxis:[t.yAxis],r,t.series||[]);u=n,d=i}else{let t=e[0],n=Object.keys(t),a=n.find(e=>typeof t[e]==`string`||e.toLowerCase().includes(`subject`)||e.toLowerCase().includes(`name`)||e.toLowerCase().includes(`category`))||n[0],s=n.filter(e=>typeof t[e]==`number`&&e!==a);if(s.length===0)return(0,r5.jsx)(`div`,{className:`dc:flex dc:items-center dc:justify-center dc:w-full text-dc-warning`,style:{height:i},children:(0,r5.jsxs)(`div`,{className:`dc:text-center`,children:[(0,r5.jsx)(`div`,{className:`dc:text-sm dc:font-semibold dc:mb-1`,children:o(`chart.runtime.configError`)}),(0,r5.jsx)(`div`,{className:`dc:text-xs`,children:o(`chart.runtime.configErrorHint.radarNumeric`)})]})});if(a){let t=s1(r,a);u=e.map(e=>{let n={name:o1(e[a],t)||String(e[a])||`Unknown`};return s.forEach(t=>{let r=t.split(`.`).pop()||t;n[r]=typeof e[t]==`string`?parseFloat(e[t]):e[t]||0}),n}),d=s.map(e=>e.split(`.`).pop()||e)}else u=e.map(e=>({name:String(e[n[0]]||`Unknown`),value:typeof e[s[0]]==`string`?parseFloat(e[s[0]]):e[s[0]]||0})),d=[`value`]}return!u||u.length===0?(0,r5.jsx)(`div`,{className:`dc:flex dc:items-center dc:justify-center dc:w-full text-dc-text-muted`,style:{height:i},children:(0,r5.jsxs)(`div`,{className:`dc:text-center`,children:[(0,r5.jsx)(`div`,{className:`dc:text-sm dc:font-semibold dc:mb-1`,children:o(`chart.runtime.noValidData`)}),(0,r5.jsx)(`div`,{className:`dc:text-xs text-dc-text-secondary`,children:`No valid data points for radar chart after transformation`})]})}):(0,r5.jsx)(Q$,{height:i,children:(0,r5.jsxs)(o$,{data:u,margin:{top:20,right:80,bottom:20,left:80},accessibilityLayer:!1,children:[l.showGrid&&(0,r5.jsx)(lz,{}),(0,r5.jsx)(Uz,{dataKey:`name`,tick:{fontSize:12},className:`text-dc-text-muted`}),(0,r5.jsx)(Cz,{tick:{fontSize:10},className:`text-dc-text-muted`,tickFormatter:l.leftYAxisFormat?e=>a1(e,l.leftYAxisFormat):void 0}),l.showTooltip&&(0,r5.jsx)(u1,{formatter:l.leftYAxisFormat?(e,t)=>[a1(e,l.leftYAxisFormat),t]:void 0}),l.showLegend&&d.length>1&&(0,r5.jsx)(Xb,{wrapperStyle:{fontSize:`12px`,paddingTop:`10px`},iconType:`rect`,iconSize:8,layout:`horizontal`,align:`center`,verticalAlign:`bottom`,onMouseEnter:e=>c(String(e.dataKey||``)),onMouseLeave:()=>c(null)}),d.map((e,t)=>(0,r5.jsx)(vU,{name:e,dataKey:e,stroke:a?.colors&&a.colors[t%a.colors.length]||_1[t%_1.length],fill:a?.colors&&a.colors[t%a.colors.length]||_1[t%_1.length],fillOpacity:s?s===e?.6:.1:.3,strokeOpacity:s?s===e?1:.3:1,strokeWidth:2},e))]})})}catch(e){return(0,r5.jsx)(`div`,{className:`dc:flex dc:flex-col dc:items-center dc:justify-center dc:w-full text-dc-error dc:p-4`,style:{height:i},children:(0,r5.jsxs)(`div`,{className:`dc:text-center`,children:[(0,r5.jsx)(`div`,{className:`dc:text-sm dc:font-semibold dc:mb-1`,children:o(`chart.runtime.chartError`,{chartType:`Radar Chart`})}),(0,r5.jsx)(`div`,{className:`dc:text-xs dc:mb-2`,children:e instanceof Error?e.message:o(`chart.runtime.unknownError`)}),(0,r5.jsx)(`div`,{className:`dc:text-xs text-dc-text-muted`,children:o(`chart.runtime.checkConfig`)})]})})}})})),a5,o5,s5,vxe=o((()=>{a5=u(f(),1),Mu(),J$(),t1(),p1(),x1(),l1(),o5=wu(),s5=a5.memo(function({data:e,chartConfig:t,displayConfig:n={},queryObject:r,height:i=`100%`,colorPalette:a}){let{t:o}=Au(),[s,c]=(0,a5.useState)(null);try{let l={showLegend:n?.showLegend??!0,showTooltip:n?.showTooltip??!0,leftYAxisFormat:n?.leftYAxisFormat};if(!e||e.length===0)return(0,o5.jsx)(`div`,{className:`dc:flex dc:items-center dc:justify-center dc:w-full text-dc-text-muted`,style:{height:i},children:(0,o5.jsxs)(`div`,{className:`dc:text-center`,children:[(0,o5.jsx)(`div`,{className:`dc:text-sm dc:font-semibold dc:mb-1`,children:o(`chart.runtime.noData`)}),(0,o5.jsx)(`div`,{className:`dc:text-xs text-dc-text-secondary`,children:o(`chart.runtime.noDataHint.radialBar`)})]})});let u;if(t?.xAxis&&t?.yAxis){let n=Array.isArray(t.xAxis)?t.xAxis[0]:t.xAxis,i=Array.isArray(t.yAxis)?t.yAxis[0]:t.yAxis,o=s1(r,n);u=e.map((e,t)=>({name:o1(e[n],o)||String(e[n])||`Unknown`,value:typeof e[i]==`string`?parseFloat(e[i]):e[i]||0,fill:a?.colors&&a.colors[t%a.colors.length]||_1[t%_1.length]}))}else{let t=e[0],n=Object.keys(t),r=n.find(e=>typeof t[e]==`string`||e.toLowerCase().includes(`name`)||e.toLowerCase().includes(`label`)||e.toLowerCase().includes(`category`))||n[0],s=n.find(e=>typeof t[e]==`number`&&e!==r)||n[1];if(!s)return(0,o5.jsx)(`div`,{className:`dc:flex dc:items-center dc:justify-center dc:w-full text-dc-warning`,style:{height:i},children:(0,o5.jsxs)(`div`,{className:`dc:text-center`,children:[(0,o5.jsx)(`div`,{className:`dc:text-sm dc:font-semibold dc:mb-1`,children:o(`chart.runtime.configError`)}),(0,o5.jsx)(`div`,{className:`dc:text-xs`,children:o(`chart.runtime.configErrorHint.radialBarNumeric`)})]})});u=e.map((e,t)=>{let n=e[r];return n=typeof n==`boolean`?n?`Active`:`Inactive`:n===`true`||n===`false`?n===`true`?`Active`:`Inactive`:String(n),{name:n,value:typeof e[s]==`string`?parseFloat(e[s]):e[s]||0,fill:a?.colors&&a.colors[t%a.colors.length]||_1[t%_1.length]}})}return u=u.filter(e=>e.value!=null&&e.value!==0),u.length===0?(0,o5.jsx)(`div`,{className:`dc:flex dc:items-center dc:justify-center dc:w-full text-dc-text-muted`,style:{height:i},children:(0,o5.jsxs)(`div`,{className:`dc:text-center`,children:[(0,o5.jsx)(`div`,{className:`dc:text-sm dc:font-semibold dc:mb-1`,children:o(`chart.runtime.noValidData`)}),(0,o5.jsx)(`div`,{className:`dc:text-xs text-dc-text-secondary`,children:`No valid data points for radial bar chart after transformation`})]})}):(0,o5.jsx)(Q$,{height:i,children:(0,o5.jsxs)(_$,{data:u,innerRadius:`10%`,outerRadius:`80%`,margin:{top:20,right:30,bottom:20,left:30},accessibilityLayer:!1,children:[l.showTooltip&&(0,o5.jsx)(u1,{formatter:l.leftYAxisFormat?(e,t)=>[a1(e,l.leftYAxisFormat),t]:void 0}),l.showLegend&&(0,o5.jsx)(Xb,{wrapperStyle:{fontSize:`12px`,paddingTop:`10px`},iconType:`circle`,iconSize:8,layout:`horizontal`,align:`center`,verticalAlign:`bottom`,onMouseEnter:e=>c(String(e.value||``)),onMouseLeave:()=>c(null)}),(0,o5.jsx)(EW,{dataKey:`value`,cornerRadius:4,label:{position:`insideStart`,fill:`#fff`,fontSize:12,formatter:l.leftYAxisFormat?e=>a1(e,l.leftYAxisFormat):void 0},children:u.map((e,t)=>(0,o5.jsx)(AI,{fill:e.fill,fillOpacity:s?s===e.name?1:.3:1},`cell-${t}`))})]})})}catch(e){return(0,o5.jsx)(`div`,{className:`dc:flex dc:flex-col dc:items-center dc:justify-center dc:w-full text-dc-error dc:p-4`,style:{height:i},children:(0,o5.jsxs)(`div`,{className:`dc:text-center`,children:[(0,o5.jsx)(`div`,{className:`dc:text-sm dc:font-semibold dc:mb-1`,children:o(`chart.runtime.chartError`,{chartType:`Radial Bar Chart`})}),(0,o5.jsx)(`div`,{className:`dc:text-xs dc:mb-2`,children:e instanceof Error?e.message:o(`chart.runtime.unknownError`)}),(0,o5.jsx)(`div`,{className:`dc:text-xs text-dc-text-muted`,children:o(`chart.runtime.checkConfig`)})]})})}})}));function c5(){if(typeof window>`u`)return`light`;let e=localStorage.getItem(`theme`);if(e===`dark`||e===`neon`||e===`light`)return e;let t=document.documentElement.getAttribute(`data-theme`);return t===`dark`||t===`neon`?t:document.documentElement.classList.contains(`dark`)||document.body.classList.contains(`dark`)?`dark`:document.documentElement.classList.contains(`neon`)||document.body.classList.contains(`neon`)?`neon`:window.matchMedia(`(prefers-color-scheme: dark)`).matches?`dark`:`light`}function yxe(e){typeof window>`u`||(document.documentElement.classList.remove(`dark`,`neon`),document.documentElement.setAttribute(`data-theme`,e),(e===`dark`||e===`neon`)&&document.documentElement.classList.add(e),localStorage.setItem(`theme`,e))}function l5(e){if(typeof window>`u`)return()=>{};let t=new MutationObserver(()=>{e(c5())});t.observe(document.documentElement,{attributes:!0,attributeFilter:[`class`,`data-theme`]});let n=window.matchMedia(`(prefers-color-scheme: dark)`),r=()=>e(c5());return n.addEventListener(`change`,r),()=>{t.disconnect(),n.removeEventListener(`change`,r)}}var u5=o((()=>{}));function bxe(){return{theme:(0,d5.useSyncExternalStore)(f5.subscribe.bind(f5),c5,c5),setTheme:(0,d5.useCallback)(e=>{yxe(e),f5.notify()},[])}}var d5,f5,xxe=o((()=>{d5=u(f(),1),u5(),f5={listeners:new Set,subscribe(e){return this.listeners.add(e),()=>this.listeners.delete(e)},notify(){this.listeners.forEach(e=>e())}},l5(()=>{f5.notify()})})),p5,m5,h5,Sxe=o((()=>{p5=u(f(),1),Mu(),r3(),x1(),l1(),A1(),xxe(),m5=wu(),h5=p5.memo(function({data:e,chartConfig:t,displayConfig:n={},queryObject:r,height:i=`100%`,colorPalette:a}){let{t:o}=Au(),s=(0,p5.useRef)(null),c=(0,p5.useRef)(null),[l,u]=(0,p5.useState)({width:0,height:0}),[d,f]=(0,p5.useState)(!1),{theme:p}=bxe(),m=O1(),h=(0,p5.useMemo)(()=>({showLegend:n?.showLegend??!0,showGrid:n?.showGrid??!0,showTooltip:n?.showTooltip??!0,minBubbleSize:n?.minBubbleSize??5,maxBubbleSize:n?.maxBubbleSize??50,bubbleOpacity:n?.bubbleOpacity??.7,xAxisFormat:n?.xAxisFormat,leftYAxisFormat:n?.leftYAxisFormat}),[n?.showLegend,n?.showGrid,n?.showTooltip,n?.minBubbleSize,n?.maxBubbleSize,n?.bubbleOpacity,n?.xAxisFormat,n?.leftYAxisFormat]);return(0,p5.useLayoutEffect)(()=>{let e=0,t,n,r=()=>{if(c.current){let{width:e,height:t}=c.current.getBoundingClientRect();if(e>0&&t>0)return u({width:e,height:t}),f(!0),!0}return!1};if(!r()&&e<10){let i=()=>{!r()&&e<10&&(e++,n=setTimeout(()=>{t=requestAnimationFrame(i)},50*e))};t=requestAnimationFrame(i)}return()=>{t&&cancelAnimationFrame(t),n&&clearTimeout(n)}},[]),(0,p5.useEffect)(()=>{let e=null,t=()=>{if(c.current){let{width:e,height:t}=c.current.getBoundingClientRect();e>0&&t>0&&(u({width:e,height:t}),d||f(!0))}};return c.current&&(e=new ResizeObserver(e=>{for(let t of e){let{width:e,height:n}=t.contentRect;e>0&&n>0&&(u({width:e,height:n}),d||f(!0))}}),e.observe(c.current),t()),window.addEventListener(`resize`,t),()=>{e&&e.disconnect(),window.removeEventListener(`resize`,t)}},[d]),(0,p5.useEffect)(()=>{if(!e||e.length===0||!s.current||!d||l.width===0||(U0(s.current).selectAll(`*`).remove(),!t?.xAxis||!t?.yAxis||!t?.series))return;let n=Array.isArray(t.xAxis)?t.xAxis[0]:t.xAxis,i=Array.isArray(t.yAxis)?t.yAxis[0]:t.yAxis,o=Array.isArray(t.series)?t.series[0]:t.series,c=Array.isArray(t.sizeField)?t.sizeField[0]:t.sizeField||i,u=Array.isArray(t.colorField)?t.colorField[0]:t.colorField;if(!n||!i||!o||!c)return;let f=s1(r,n),g=r?.timeDimensions?.some(e=>e.dimension===n)||!1,_=e.map(e=>{let t=e[n],r,a;if(g&&t){let e=String(t),n;if(e.match(/^\\d{4}-\\d{2}-\\d{2}[T ]/)){let t=e;e.includes(` `)&&(t=e.replace(` `,`T`).replace(`+00`,`Z`).replace(/\\+\\d{2}:\\d{2}$/,`Z`)),!t.endsWith(`Z`)&&!t.includes(`+`)&&(t+=`Z`),n=new Date(t)}else n=new Date(e);r=isNaN(n.getTime())?parseFloat(e):n.getTime(),a=o1(t,f)}else{let e=o1(t,f)||t;r=typeof e==`string`?parseFloat(e):e,a=String(e)}let s=r1(e[i]),l=r1(e[c]),d=e[o];return{x:r,xLabel:a,y:s,size:l===null?0:Math.abs(l),color:u?e[u]:d,series:d,label:`${d||`Unknown`}`,isValid:n1(r)&&s!==null&&l!==null&&l>0}}).filter(e=>e.isValid&&e.size>0);if(_.length===0)return;let v={...b1,left:b1.left+30,bottom:h.showLegend&&u?100:40},y=l.width-v.left-v.right,b=l.height-v.top-v.bottom,x=U0(s.current).attr(`width`,l.width).attr(`height`,l.height),S=x.append(`g`).attr(`transform`,`translate(${v.left},${v.top})`),C=LD().domain(cT(_,e=>e.x)).range([0,y]).nice(),w=LD().domain(cT(_,e=>e.y)).range([b,0]).nice(),T=nO().domain([0,DT(_,e=>e.size)]).range([h.minBubbleSize,h.maxBubbleSize]),E,D=!1,O=[];if(u&&_.length>0){let e=_.map(e=>{let t=e.color;return typeof t==`string`?parseFloat(t):t}).filter(e=>!isNaN(e));if(D=e.length===_.length&&e.every(e=>typeof e==`number`),D){let t=Math.min(...e),n=Math.max(...e);E=sO().domain([t,n]).range(a?.gradient||v1)}else O=[...new Set(_.map(e=>String(e.color)))],E=UT().domain(O).range(a?.colors||_1)}else E=UT().domain([`default`]).range([_1[0]]);let k=(e,t)=>getComputedStyle(document.documentElement).getPropertyValue(e).trim()||t,A=p!==`light`,j=A?k(`--dc-text-muted`,`#cbd5e1`):k(`--dc-text-secondary`,`#374151`),M=A?k(`--dc-border`,`#475569`):`#9ca3af`;if(h.showGrid){let e=S.append(`g`).attr(`class`,`grid`).attr(`transform`,`translate(0,${b})`).call(X1(C).tickSize(-b).tickFormat(()=>``));e.selectAll(`line`).style(`stroke`,M).style(`stroke-dasharray`,`3,3`).style(`opacity`,.3),e.select(`.domain`).style(`stroke`,`none`);let t=S.append(`g`).attr(`class`,`grid`).call(Z1(w).tickSize(-y).tickFormat(()=>``));t.selectAll(`line`).style(`stroke`,M).style(`stroke-dasharray`,`3,3`).style(`opacity`,.3),t.select(`.domain`).style(`stroke`,`none`)}let N=X1(C);g?N.tickFormat(e=>{let t=new Date(e);if(isNaN(t.getTime()))return String(e);switch(f?.toLowerCase()){case`year`:return String(t.getUTCFullYear());case`quarter`:{let e=Math.floor(t.getUTCMonth()/3)+1;return`${t.getUTCFullYear()}-Q${e}`}case`month`:return`${t.getUTCFullYear()}-${String(t.getUTCMonth()+1).padStart(2,`0`)}`;case`week`:case`day`:return`${t.getUTCFullYear()}-${String(t.getUTCMonth()+1).padStart(2,`0`)}-${String(t.getUTCDate()).padStart(2,`0`)}`;case`hour`:return`${String(t.getUTCMonth()+1).padStart(2,`0`)}-${String(t.getUTCDate()).padStart(2,`0`)} ${String(t.getUTCHours()).padStart(2,`0`)}:00`;default:return`${t.getUTCFullYear()}-${String(t.getUTCMonth()+1).padStart(2,`0`)}`}}):h.xAxisFormat&&N.tickFormat(e=>a1(e,h.xAxisFormat));let ee=S.append(`g`).attr(`transform`,`translate(0,${b})`).call(N);ee.selectAll(`text`).style(`fill`,j),ee.selectAll(`line, path`).style(`stroke`,M),ee.append(`text`).attr(`x`,y/2).attr(`y`,35).attr(`fill`,j).style(`text-anchor`,`middle`).style(`font-size`,`12px`).text(h.xAxisFormat?.label||m(n));let te=Z1(w);h.leftYAxisFormat&&te.tickFormat(e=>a1(e,h.leftYAxisFormat));let ne=S.append(`g`).call(te);ne.selectAll(`text`).style(`fill`,j),ne.selectAll(`line, path`).style(`stroke`,M),ne.append(`text`).attr(`transform`,`rotate(-90)`).attr(`y`,-35).attr(`x`,-b/2).attr(`fill`,j).style(`text-anchor`,`middle`).style(`font-size`,`12px`).text(h.leftYAxisFormat?.label||m(i));let re=U0(`body`).append(`div`).attr(`class`,`bubble-chart-tooltip`).style(`position`,`absolute`).style(`padding`,`8px`).style(`background`,`rgba(0, 0, 0, 0.8)`).style(`color`,`white`).style(`border-radius`,`4px`).style(`font-size`,`12px`).style(`pointer-events`,`none`).style(`opacity`,0).style(`z-index`,1e3),ie=S.selectAll(`.bubble`).data(_).enter().append(`circle`).attr(`class`,`bubble`).attr(`cx`,e=>C(e.x)).attr(`cy`,e=>w(e.y)).attr(`r`,e=>T(e.size)).style(`fill`,e=>u&&e.color!==void 0?E(D?e.color:String(e.color)):_1[0]).style(`opacity`,h.bubbleOpacity).style(`stroke`,`#fff`).style(`stroke-width`,1).style(`cursor`,`pointer`);if(h.showTooltip&&ie.on(`mouseover`,function(e,t){U0(this).transition().duration(200).style(`opacity`,1).attr(`r`,T(t.size)*1.1);let r=[`<strong>${t.series||`Unknown`}</strong>`,`${m(n)}: ${t.xLabel||(h.xAxisFormat?a1(t.x,h.xAxisFormat):t.x)}`,`${m(i)}: ${h.leftYAxisFormat?a1(t.y,h.leftYAxisFormat):t.y}`,`${m(c)}: ${h.leftYAxisFormat?a1(t.size,h.leftYAxisFormat):t.size}`,u&&t.color?`${m(u)}: ${t.color}`:``].filter(Boolean).join(`<br>`);re.html(r).style(`left`,e.pageX+10+`px`).style(`top`,e.pageY-10+`px`).transition().duration(200).style(`opacity`,1)}).on(`mousemove`,function(e){re.style(`left`,e.pageX+10+`px`).style(`top`,e.pageY-10+`px`)}).on(`mouseout`,function(e,t){U0(this).transition().duration(200).style(`opacity`,h.bubbleOpacity).attr(`r`,T(t.size)),re.transition().duration(200).style(`opacity`,0)}),h.showLegend&&u)if(D){let e=Math.min(..._.map(e=>e.color)),t=Math.max(..._.map(e=>e.color)),n=S.append(`g`).attr(`class`,`color-legend`).attr(`transform`,`translate(${y/2-200/2}, ${b+60})`),r=x.append(`defs`).append(`linearGradient`).attr(`id`,`color-scale-gradient`).attr(`x1`,`0%`).attr(`y1`,`0%`).attr(`x2`,`100%`).attr(`y2`,`0%`),i=a?.gradient||v1;i.forEach((e,t)=>{r.append(`stop`).attr(`offset`,`${t/(i.length-1)*100}%`).attr(`stop-color`,e)}),n.append(`rect`).attr(`width`,200).attr(`height`,20).style(`fill`,`url(#color-scale-gradient)`).style(`stroke`,`#ccc`).style(`stroke-width`,1),n.append(`text`).attr(`x`,0).attr(`y`,35).attr(`text-anchor`,`start`).style(`font-size`,`11px`).style(`fill`,j).text(h.leftYAxisFormat?a1(e,h.leftYAxisFormat):e.toFixed(2)),n.append(`text`).attr(`x`,200).attr(`y`,35).attr(`text-anchor`,`end`).style(`font-size`,`11px`).style(`fill`,j).text(h.leftYAxisFormat?a1(t,h.leftYAxisFormat):t.toFixed(2)),n.append(`text`).attr(`x`,200/2).attr(`y`,-5).attr(`text-anchor`,`middle`).style(`font-size`,`12px`).style(`font-weight`,`bold`).style(`fill`,j).text(m(u))}else{let e=O;if(e.length>0){let t=S.append(`g`).attr(`class`,`legend`).attr(`transform`,`translate(${y/2-e.length*80/2}, ${b+60})`).selectAll(`.legend-item`).data(e).enter().append(`g`).attr(`class`,`legend-item`).attr(`transform`,(e,t)=>`translate(${t*80}, 0)`).style(`cursor`,`pointer`);t.append(`circle`).attr(`cx`,5).attr(`cy`,5).attr(`r`,5).style(`fill`,e=>E(e)).style(`opacity`,h.bubbleOpacity),t.append(`text`).attr(`x`,15).attr(`y`,5).attr(`dy`,`.35em`).style(`font-size`,`11px`).style(`fill`,j).text(e=>String(e)),t.on(`mouseover`,function(e,t){ie.transition().duration(200).style(`opacity`,e=>u&&String(e.color)===t?1:.2)}).on(`mouseout`,function(){ie.transition().duration(200).style(`opacity`,h.bubbleOpacity)})}}return()=>{re.remove()}},[e,t,h,r,l,d,a,p,m]),!e||e.length===0?(0,m5.jsx)(`div`,{className:`dc:flex dc:items-center dc:justify-center dc:w-full text-dc-text-muted`,style:{height:i},children:(0,m5.jsxs)(`div`,{className:`dc:text-center`,children:[(0,m5.jsx)(`div`,{className:`dc:text-sm dc:font-semibold dc:mb-1`,children:o(`chart.runtime.noData`)}),(0,m5.jsx)(`div`,{className:`dc:text-xs text-dc-text-secondary`,children:o(`chart.runtime.noDataHint.bubble`)})]})}):t?.xAxis&&t?.yAxis&&t?.series?(0,m5.jsx)(`div`,{className:`dc:w-full dc:flex-1 dc:flex dc:flex-col dc:relative`,style:{height:i,minHeight:`250px`,overflow:`hidden`},children:(0,m5.jsxs)(`div`,{ref:c,className:`dc:w-full dc:h-full dc:relative`,children:[(0,m5.jsx)(`svg`,{ref:s,className:`dc:w-full dc:h-full`}),!d&&(0,m5.jsx)(`div`,{className:`dc:absolute dc:inset-0 dc:flex dc:items-center dc:justify-center`,children:(0,m5.jsx)(`div`,{className:`text-dc-text-muted dc:text-sm`,children:o(`chart.runtime.measuringDimensions`)})})]})}):(0,m5.jsx)(`div`,{className:`dc:flex dc:items-center dc:justify-center dc:w-full text-dc-warning`,style:{height:i},children:(0,m5.jsxs)(`div`,{className:`dc:text-center`,children:[(0,m5.jsx)(`div`,{className:`dc:text-sm dc:font-semibold dc:mb-1`,children:o(`chart.runtime.activityGridConfigRequired`)}),(0,m5.jsx)(`div`,{className:`dc:text-xs`,children:o(`chart.runtime.configErrorHint.bubbleRequired`)}),(0,m5.jsx)(`div`,{className:`dc:text-xs dc:mt-1`,children:o(`chart.runtime.configErrorHint.bubbleOptional`)})]})})})})),g5,_5,v5,Cxe=o((()=>{g5=u(f(),1),Mu(),r3(),x1(),l1(),A1(),u5(),_5=wu(),v5=g5.memo(function({data:e,chartConfig:t,displayConfig:n={},queryObject:r,height:i=`100%`,colorPalette:a,onDataPointClick:o,drillEnabled:s}){let{t:c}=Au(),l=(0,g5.useRef)(null),u=(0,g5.useRef)(null),[d,f]=(0,g5.useState)({width:0,height:0}),[p,m]=(0,g5.useState)(!1),[h,g]=(0,g5.useState)(`light`),_=O1();(0,g5.useEffect)(()=>(g(c5()),l5(e=>{g(e)})),[]);let v=(0,g5.useMemo)(()=>({showTooltip:n?.showTooltip??!0,showLabels:n?.showLabels??!0,fitToWidth:n?.fitToWidth??!1}),[n?.showTooltip,n?.showLabels,n?.fitToWidth]);(0,g5.useLayoutEffect)(()=>{let e=0,t,n,r=()=>{if(u.current){let{width:e,height:t}=u.current.getBoundingClientRect();if(e>0&&t>0)return f({width:e,height:t}),m(!0),!0}return!1};if(!r()&&e<10){let i=()=>{!r()&&e<10&&(e++,n=setTimeout(()=>{t=requestAnimationFrame(i)},50*e))};t=requestAnimationFrame(i)}return()=>{t&&cancelAnimationFrame(t),n&&clearTimeout(n)}},[]),(0,g5.useEffect)(()=>{let e=null,t=()=>{if(u.current){let{width:e,height:t}=u.current.getBoundingClientRect();e>0&&t>0&&(f({width:e,height:t}),p||m(!0))}};return u.current&&(e=new ResizeObserver(()=>t()),e.observe(u.current),t()),window.addEventListener(`resize`,t),()=>{e&&e.disconnect(),window.removeEventListener(`resize`,t)}},[p]);let y=e=>Math.floor(e.getMonth()/3)+1,b=e=>e.getMonth()%3+1,x=e=>{let t=e.getDate();return Math.floor((t-1)/7)+1},S=(0,g5.useCallback)(e=>{switch(e?.toLowerCase()){case`year`:return null;case`quarter`:return{extractX:e=>e.getFullYear(),extractY:e=>y(e)-1,xLabels:[],yLabels:[`Q1`,`Q2`,`Q3`,`Q4`],xFormat:e=>`'${e.toString().slice(-2)}`,yFormat:e=>[`Q1`,`Q2`,`Q3`,`Q4`][e]||``,cellWidth:16,cellHeight:16};case`month`:return{extractX:e=>{let t=e.getFullYear(),n=y(e);return t*10+n},extractY:e=>b(e)-1,xLabels:[],yLabels:[`Month 1`,`Month 2`,`Month 3`],xFormat:e=>`Q${e%10}`,yFormat:e=>[`Month 1`,`Month 2`,`Month 3`][e]||``,cellWidth:16,cellHeight:16,hasHierarchicalLabels:!0,getYearFromX:e=>Math.floor(e/10)};case`week`:return{extractX:e=>{let t=e.getFullYear(),n=e.getMonth()+1;return t*100+n},extractY:e=>x(e)-1,xLabels:[],yLabels:[`Week 1`,`Week 2`,`Week 3`,`Week 4`,`Week 5`],xFormat:e=>[`J`,`F`,`M`,`A`,`M`,`J`,`J`,`A`,`S`,`O`,`N`,`D`][e%100-1]||``,yFormat:e=>[`Week 1`,`Week 2`,`Week 3`,`Week 4`,`Week 5`][e]||``,cellWidth:16,cellHeight:16,hasHierarchicalLabels:!0,getYearFromX:e=>Math.floor(e/100)};case`day`:return{extractX:e=>{let{year:t,week:n}=C(e);return t*100+n},extractY:e=>e.getDay(),xLabels:[],yLabels:[`Sun`,`Mon`,`Tue`,`Wed`,`Thu`,`Fri`,`Sat`],xFormat:e=>`${e%100}`,yFormat:e=>[`Sun`,`Mon`,`Tue`,`Wed`,`Thu`,`Fri`,`Sat`][e]||``,cellWidth:16,cellHeight:16,hasHierarchicalLabels:!0,getYearFromX:e=>Math.floor(e/100)};case`hour`:return{extractX:e=>{let t=e.getFullYear(),n=e.getMonth()+1,r=e.getDate();return t*1e4+n*100+r},extractY:e=>Math.floor(e.getHours()/3),xLabels:[],yLabels:[`00-03`,`03-06`,`06-09`,`09-12`,`12-15`,`15-18`,`18-21`,`21-00`],xFormat:e=>`${e%100}`,yFormat:e=>[`00-03`,`03-06`,`06-09`,`09-12`,`12-15`,`15-18`,`18-21`,`21-00`][e]||``,cellWidth:16,cellHeight:16,hasHierarchicalLabels:!0,getYearFromX:e=>Math.floor(e/100)};default:return null}},[]),C=e=>{let t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate())),n=t.getUTCDay()||7;t.setUTCDate(t.getUTCDate()+4-n);let r=t.getUTCFullYear(),i=new Date(Date.UTC(r,0,1));return{year:r,week:Math.ceil(((t.getTime()-i.getTime())/864e5+1)/7)}};if((0,g5.useEffect)(()=>{if(!e||e.length===0||!l.current||!p||d.width===0||(U0(l.current).selectAll(`*`).remove(),!t?.dateField||!t?.valueField))return;let n=Array.isArray(t.dateField)?t.dateField[0]:t.dateField,i=Array.isArray(t.valueField)?t.valueField[0]:t.valueField;if(!n||!i)return;let c=(()=>{if(!r?.timeDimensions||r.timeDimensions.length===0)return`day`;let e=r.timeDimensions.find(e=>e.dimension===n||e.dimension.includes(n));if(e&&e.granularity)return e.granularity;let t=r.timeDimensions[0];return t&&t.granularity?t.granularity:`day`})(),u=S(c);if(!u)return;let f=e.map(e=>{let t=e[n],r=typeof e[i]==`string`?parseFloat(e[i]):e[i]||0,a;if(typeof t==`string`){let e=t;t.includes(` `)&&(e=t.replace(` `,`T`).replace(`+00`,`Z`).replace(/\\+\\d{2}:\\d{2}$/,`Z`)),!e.endsWith(`Z`)&&!e.includes(`+`)&&(e+=`Z`),a=new Date(e)}else a=new Date(t);return isNaN(a.getTime())?null:{x:u.extractX(a),y:u.extractY(a),value:r,date:a,label:o1(t,c)}}).filter(e=>e!==null);if(f.length===0)return;let m=DT(f,e=>e.y)||0,g=kT(f,e=>e.y)||0,y=[...new Set(f.map(e=>e.x))].sort(),b=y.length*u.cellWidth+(y.length-1)*4,x=(m-g+1)*u.cellHeight+(m-g)*4,C={...b1,left:60,bottom:10,top:u.hasHierarchicalLabels?40:25,right:10},w=d.width-C.left-C.right,T=d.height-C.top-C.bottom,E,D;if(v.fitToWidth){let e=w/b,t=T/x,n=Math.min(e,t);E=u.cellWidth*n,D=u.cellHeight*n}else{let e={width:16,height:16},t=w/b,n=T/x,r=Math.min(t,n);E=Math.max(e.width,Math.min(24,u.cellWidth*r)),D=Math.max(e.height,Math.min(24,u.cellHeight*r)),c===`week`&&E<e.width&&(E=e.width)}let O=y.length*E+(y.length-1)*4,k=O>w?O+C.left+C.right:d.width,A=U0(l.current).attr(`width`,k).attr(`height`,d.height).append(`g`).attr(`transform`,`translate(${C.left},${C.top})`),j=f.map(e=>e.value),M=kT(j)||0,N=DT(j)||1,ee=sO().domain([M,N]).range(a?.gradient||v1),te=new Map;f.forEach(e=>{let t=`${e.x}-${e.y}`;te.set(t,e)});let ne=(e,t)=>getComputedStyle(document.documentElement).getPropertyValue(e).trim()||t,re=h!==`light`,ie=re?ne(`--dc-text-muted`,`#cbd5e1`):ne(`--dc-text-secondary`,`#374151`),ae=ne(`--dc-border`,`#e5e7eb`),oe=re?ne(`--dc-bg-secondary`,`#1e293b`):ne(`--dc-bg-secondary`,`#f3f4f6`),se=re?ne(`--dc-border`,`#334155`):ne(`--dc-bg`,`#ffffff`),ce=U0(`body`).append(`div`).attr(`class`,`activity-grid-tooltip`).style(`position`,`absolute`).style(`padding`,`8px`).style(`background`,`rgba(0, 0, 0, 0.8)`).style(`color`,`white`).style(`border-radius`,`4px`).style(`font-size`,`12px`).style(`pointer-events`,`none`).style(`opacity`,0).style(`z-index`,1e3),P=new Map;y.forEach((e,t)=>{P.set(e,t)});for(let e of y)for(let t=g;t<=m;t++){let r=`${e}-${t}`,a=te.get(r),c=P.get(e)||0,l=A.append(`rect`).attr(`x`,c*(E+4)).attr(`y`,(t-g)*(D+4)).attr(`width`,E).attr(`height`,D).attr(`rx`,2).attr(`ry`,2).style(`fill`,a?ee(a.value):oe).style(`stroke`,se).style(`stroke-width`,1);v.showTooltip?l.style(`cursor`,s?`pointer`:`default`).on(`mouseover`,function(e){if(U0(this).style(`stroke`,`#000`).style(`stroke-width`,2),a){let t=[`<strong>${a.label}</strong>`,`${_(i)}: ${a.value}`].join(`<br>`);ce.html(t).style(`left`,e.pageX+10+`px`).style(`top`,e.pageY-10+`px`).transition().duration(200).style(`opacity`,1)}}).on(`mousemove`,function(e){ce.style(`left`,e.pageX+10+`px`).style(`top`,e.pageY-10+`px`)}).on(`mouseout`,function(){U0(this).style(`stroke`,se).style(`stroke-width`,1),ce.transition().duration(200).style(`opacity`,0)}):s&&l.style(`cursor`,`pointer`),s&&o&&a&&l.on(`click`,function(e){o({dataPoint:{[i]:a.value,[n]:a.date},clickedField:i,xValue:a.label,position:{x:e.pageX,y:e.pageY},nativeEvent:e})})}if(v.showLabels){if(u.hasHierarchicalLabels&&u.getYearFromX){let e=new Map;for(let t of y){let n=u.getYearFromX(t);e.has(n)||e.set(n,[]),e.get(n).push(t)}for(let e of y){let t=P.get(e)||0;A.append(`text`).attr(`x`,t*(E+4)+E/2).attr(`y`,-8).attr(`text-anchor`,`middle`).style(`font-size`,`10px`).style(`fill`,ie).text(u.xFormat(e))}for(let[t,n]of e)if(n.length>0){let e=Math.min(...n.map(e=>P.get(e)||0)),r=Math.max(...n.map(e=>P.get(e)||0)),i=(e+r)/2,a;if(t>9999){let e=Math.floor(t/100);a=`${[`Jan`,`Feb`,`Mar`,`Apr`,`May`,`Jun`,`Jul`,`Aug`,`Sep`,`Oct`,`Nov`,`Dec`][t%100-1]} '${e.toString().slice(-2)}`}else a=`'${t.toString().slice(-2)}`;A.append(`text`).attr(`x`,i*(E+4)+E/2).attr(`y`,-25).attr(`text-anchor`,`middle`).style(`font-size`,`12px`).style(`font-weight`,`bold`).style(`fill`,ie).text(a),n.length>1&&A.append(`line`).attr(`x1`,e*(E+4)).attr(`x2`,r*(E+4)+E).attr(`y1`,-20).attr(`y2`,-20).style(`stroke`,ae).style(`stroke-width`,1).style(`opacity`,.3)}}else{let e=Math.max(1,Math.floor(y.length/10));for(let t=0;t<y.length;t+=e){let e=y[t];A.append(`text`).attr(`x`,t*(E+4)+E/2).attr(`y`,-8).attr(`text-anchor`,`middle`).style(`font-size`,`10px`).style(`fill`,ie).text(u.xFormat(e))}}for(let e=g;e<=m;e++)A.append(`text`).attr(`x`,-8).attr(`y`,(e-g)*(D+4)+D/2).attr(`text-anchor`,`end`).attr(`dy`,`.35em`).style(`font-size`,`10px`).style(`fill`,ie).text(u.yFormat(e))}return()=>{ce.remove()}},[e,t,n,r,d,p,v,a,h,_,S,s,o]),!e||e.length===0)return(0,_5.jsx)(`div`,{className:`dc:flex dc:items-center dc:justify-center dc:w-full`,style:{height:i},children:(0,_5.jsxs)(`div`,{className:`dc:text-center text-dc-text-muted`,children:[(0,_5.jsx)(`div`,{className:`dc:text-sm dc:font-semibold dc:mb-1`,children:c(`chart.runtime.noData`)}),(0,_5.jsx)(`div`,{className:`dc:text-xs text-dc-text-secondary`,children:c(`chart.runtime.noDataHint.activityGrid`)})]})});if(!(t?.dateField&&t?.valueField))return(0,_5.jsx)(`div`,{className:`dc:flex dc:items-center dc:justify-center dc:w-full`,style:{height:i},children:(0,_5.jsxs)(`div`,{className:`dc:text-center text-dc-text-muted`,children:[(0,_5.jsx)(`div`,{className:`dc:text-sm dc:font-semibold dc:mb-1`,children:c(`chart.runtime.activityGridConfigRequired`)}),(0,_5.jsx)(`div`,{className:`dc:text-xs text-dc-text-secondary`,children:c(`chart.runtime.configErrorHint.activityGridRequired`)})]})});let w=Array.isArray(t.dateField)?t.dateField[0]:t.dateField;return(r?.timeDimensions?.find(e=>e.dimension===w||e.dimension.includes(w))?.granularity||`day`)?.toLowerCase()===`year`?(0,_5.jsx)(`div`,{className:`dc:flex dc:items-center dc:justify-center dc:w-full`,style:{height:i},children:(0,_5.jsxs)(`div`,{className:`dc:text-center text-dc-text-muted`,children:[(0,_5.jsx)(`div`,{className:`dc:text-sm dc:font-semibold dc:mb-1`,children:c(`chart.runtime.activityGridGranularityTooHigh`)}),(0,_5.jsx)(`div`,{className:`dc:text-xs text-dc-text-secondary`,children:c(`chart.runtime.activityGridGranularityHint`)}),(0,_5.jsx)(`div`,{className:`dc:text-xs text-dc-text-secondary dc:mt-1`,children:c(`chart.runtime.activityGridGranularityAction`)})]})}):(0,_5.jsx)(`div`,{className:`dc:w-full dc:flex dc:flex-col dc:relative`,style:{height:i,minHeight:`250px`,overflow:`hidden`,width:`100%`},children:(0,_5.jsxs)(`div`,{ref:u,className:`dc:w-full dc:h-full dc:relative dc:overflow-x-auto`,style:{width:`100%`},children:[(0,_5.jsx)(`svg`,{ref:l,className:`dc:h-full`}),!p&&(0,_5.jsx)(`div`,{className:`dc:absolute dc:inset-0 dc:flex dc:items-center dc:justify-center`,children:(0,_5.jsx)(`div`,{className:`text-dc-text-muted dc:text-sm`,children:c(`chart.runtime.measuringDimensions`)})})]})})})}));function y5(e){if(e==null)return`-`;if(e<60)return`${Math.round(e)}s`;if(e<3600){let t=e/60;return t<10?`${t.toFixed(1)}m`:`${Math.round(t)}m`}if(e<86400){let t=e/3600;return t<10?`${t.toFixed(1)}h`:`${Math.round(t)}h`}let t=e/86400;return t<10?`${t.toFixed(1)}d`:`${Math.round(t)}d`}var wxe=o((()=>{}));function b5(e,t){let n=t||C5;return n[e%n.length]}function Txe(e){if(!e||e.length===0)return!1;let t=e[0];return typeof t==`object`&&!!t&&`name`in t&&`value`in t&&`percentage`in t}function x5(e,t,n,r){let i=[];return t&&e.avgSecondsToConvert!=null&&i.push(`Avg: ${y5(e.avgSecondsToConvert)}`),n&&e.medianSecondsToConvert!=null&&i.push(`Med: ${y5(e.medianSecondsToConvert)}`),r&&e.p90SecondsToConvert!=null&&i.push(`P90: ${y5(e.p90SecondsToConvert)}`),i}var S5,$,C5,w5,Exe=o((()=>{S5=u(f(),1),Mu(),J$(),x1(),wxe(),$=wu(),C5=[`#3B82F6`,`#60A5FA`,`#93C5FD`,`#BFDBFE`,`#DBEAFE`],w5=S5.memo(function({data:e,height:t=`100%`,colorPalette:n,displayConfig:r}){let{t:i}=Au(),a=r?.funnelStepLabels,o=(r?.funnelOrientation||`horizontal`)===`vertical`,s=r?.funnelStyle??`bars`,c=r?.showFunnelConversion??!0,l=r?.showFunnelAvgTime??r?.showFunnelTimeMetrics??!1,u=r?.showFunnelMedianTime??!1,d=r?.showFunnelP90Time??!1,f=(0,S5.useMemo)(()=>!e||e.length===0?[]:Txe(e)?e:e.map((e,t)=>{let n=e,r=Object.keys(n).find(e=>e.toLowerCase().includes(`step`)||e.toLowerCase().includes(`name`)||e===`__stepName`),i=r?String(n[r]):`Step ${t+1}`,a=Object.keys(n).find(e=>e.toLowerCase().includes(`count`)||e.toLowerCase().includes(`value`)||e===`__count`),o=a&&Number(n[a])||0,s=Object.keys(n).find(e=>e.toLowerCase().includes(`percent`)||e===`__percentage`),c=s&&Number(n[s])||0,l=Object.keys(n).find(e=>e.toLowerCase().includes(`conversion`)||e===`__conversionRate`);return{name:i,value:o,percentage:c,conversionRate:l&&Number(n[l])||null,stepIndex:t}}),[e]),p=f[0]?.value||0;if(!e||e.length===0||f.length===0)return(0,$.jsx)(`div`,{className:`dc:flex dc:items-center dc:justify-center dc:w-full text-dc-text-muted`,style:{height:t},children:(0,$.jsxs)(`div`,{className:`dc:text-center`,children:[(0,$.jsx)(`div`,{className:`dc:text-sm dc:font-semibold dc:mb-1`,children:i(`chart.runtime.funnel.noData`)}),(0,$.jsx)(`div`,{className:`dc:text-xs text-dc-text-secondary`,children:i(`chart.runtime.noDataHint.funnel`)})]})});let m=n?.colors||_1;return s===`funnel`?(0,$.jsxs)(`div`,{className:`dc:relative dc:w-full dc:h-full dc:flex dc:flex-col`,style:{height:t},children:[(0,$.jsx)(`div`,{className:`dc:flex-1`,children:(0,$.jsx)(Xv,{width:`100%`,height:`100%`,children:(0,$.jsxs)(q$,{layout:o?`horizontal`:`vertical`,accessibilityLayer:!1,children:[(0,$.jsx)(CI,{formatter:e=>typeof e==`number`?e.toLocaleString():String(e),contentStyle:{backgroundColor:`var(--dc-surface)`,border:`1px solid var(--dc-border)`,borderRadius:`4px`}}),(0,$.jsxs)(H$,{dataKey:`value`,nameKey:`name`,data:f,isAnimationActive:!0,children:[f.map((e,t)=>(0,$.jsx)(AI,{fill:b5(t,m)},`cell-${t}`)),(0,$.jsx)(tR,{position:`right`,dataKey:`name`,fill:`var(--dc-text)`,style:{fontSize:`12px`}}),(0,$.jsx)(tR,{position:`center`,dataKey:`percentage`,formatter:e=>typeof e==`number`?`${e.toFixed(1)}%`:String(e),fill:`#fff`,style:{fontSize:`11px`,fontWeight:500}})]})]})})}),!r?.hideSummaryFooter&&(0,$.jsx)(`div`,{className:`dc:flex-shrink-0 dc:px-4 dc:py-2 dc:border-t border-dc-border bg-dc-surface-secondary`,children:(0,$.jsxs)(`div`,{className:`dc:flex dc:items-center dc:justify-between dc:text-sm`,children:[(0,$.jsxs)(`div`,{className:`text-dc-text-muted`,children:[(0,$.jsx)(`span`,{className:`dc:font-medium`,children:f.length}),` steps`]}),(0,$.jsxs)(`div`,{className:`text-dc-text`,children:[(0,$.jsx)(`span`,{className:`text-dc-text-muted`,children:i(`chart.runtime.funnel.overall`)}),` `,(0,$.jsx)(`span`,{className:`dc:font-medium`,children:p>0?`${((f[f.length-1]?.value||0)/p*100).toFixed(1)}%`:`0%`})]}),(0,$.jsxs)(`div`,{className:`text-dc-text-muted`,children:[f[f.length-1]?.value.toLocaleString()||0,` / `,p.toLocaleString(),` completed`]})]})})]}):o?(0,$.jsxs)(`div`,{className:`dc:relative dc:w-full dc:h-full dc:flex dc:flex-col`,style:{height:t},children:[(0,$.jsx)(`div`,{className:`dc:flex-1 dc:flex dc:items-end dc:justify-center dc:gap-4 dc:px-4 dc:py-3 dc:overflow-hidden`,children:f.map((e,t)=>{let n=p>0?e.value/p*100:0,r=t>0?f[t-1]:null,i=r&&r.value>0?e.value/r.value*100:null,o=a?.[t]||e.name,s=x5(e,l,u,d),h=s.length;return(0,$.jsxs)(`div`,{className:`dc:flex dc:flex-col dc:items-center dc:gap-2 dc:flex-1 dc:max-w-32 dc:h-full`,children:[(0,$.jsx)(`div`,{className:`${h>0?h>1?`dc:min-h-16`:`dc:min-h-10`:`dc:h-5`} dc:flex-shrink-0 dc:text-center`,children:i===null?(0,$.jsx)(`div`,{className:`dc:text-xs text-dc-text-muted`,children:`—`}):(0,$.jsxs)(`div`,{className:`dc:text-xs text-dc-text-secondary`,children:[c&&(0,$.jsxs)(`span`,{children:[`→ `,i.toFixed(1),`%`]}),h>0&&(0,$.jsx)(`div`,{className:`text-dc-text-muted dc:mt-0.5 dc:space-y-0.5`,children:s.map((e,t)=>(0,$.jsxs)(`div`,{children:[`⏱ `,e]},t))})]})}),(0,$.jsxs)(`div`,{className:`dc:flex-1 dc:w-full dc:relative dc:min-h-12`,children:[(0,$.jsx)(`div`,{className:`dc:absolute dc:inset-0 bg-dc-surface-secondary dc:rounded-sm`}),(0,$.jsx)(`div`,{className:`dc:absolute dc:bottom-0 dc:left-0 dc:right-0 dc:rounded-sm dc:transition-all dc:duration-300`,style:{height:`${Math.max(n,5)}%`,backgroundColor:b5(t,m)}}),(0,$.jsx)(`div`,{className:`dc:absolute dc:bottom-0 dc:left-0 dc:right-0 dc:flex dc:items-end dc:justify-center dc:pb-1 dc:pointer-events-none`,style:{height:`${Math.max(n,20)}%`},children:(0,$.jsxs)(`span`,{className:`dc:text-xs dc:font-medium text-white dc:drop-shadow-sm`,children:[e.percentage?.toFixed(1)??n.toFixed(1),`%`]})})]}),(0,$.jsxs)(`div`,{className:`dc:flex-shrink-0 dc:text-center`,children:[(0,$.jsx)(`div`,{className:`dc:text-sm dc:font-medium text-dc-text dc:truncate`,title:o,children:o}),(0,$.jsx)(`div`,{className:`dc:text-xs text-dc-text-muted`,children:e.value.toLocaleString()})]})]},e.name)})}),!r?.hideSummaryFooter&&(0,$.jsx)(`div`,{className:`dc:flex-shrink-0 dc:px-4 dc:py-2 dc:border-t border-dc-border bg-dc-surface-secondary`,children:(0,$.jsxs)(`div`,{className:`dc:flex dc:items-center dc:justify-between dc:text-sm`,children:[(0,$.jsxs)(`div`,{className:`text-dc-text-muted`,children:[(0,$.jsx)(`span`,{className:`dc:font-medium`,children:f.length}),` steps`]}),(0,$.jsxs)(`div`,{className:`text-dc-text`,children:[(0,$.jsx)(`span`,{className:`text-dc-text-muted`,children:i(`chart.runtime.funnel.overall`)}),` `,(0,$.jsx)(`span`,{className:`dc:font-medium`,children:p>0?`${((f[f.length-1]?.value||0)/p*100).toFixed(1)}%`:`0%`})]}),(0,$.jsxs)(`div`,{className:`text-dc-text-muted`,children:[f[f.length-1]?.value.toLocaleString()||0,` / `,p.toLocaleString(),` completed`]})]})})]}):(0,$.jsxs)(`div`,{className:`dc:relative dc:w-full dc:h-full dc:flex dc:flex-col`,style:{height:t},children:[(0,$.jsx)(`div`,{className:`dc:flex-1 dc:flex dc:flex-col dc:justify-center dc:gap-2 dc:px-4 dc:py-3 dc:overflow-hidden`,children:f.map((e,t)=>{let n=p>0?e.value/p*100:0,r=t>0?f[t-1]:null,i=r&&r.value>0?e.value/r.value*100:null,o=a?.[t]||e.name,s=x5(e,l,u,d),h=s.length;return(0,$.jsxs)(`div`,{className:`dc:flex dc:items-center dc:gap-3`,children:[(0,$.jsxs)(`div`,{className:`dc:w-24 dc:flex-shrink-0 dc:text-right`,children:[(0,$.jsx)(`div`,{className:`dc:text-sm dc:font-medium text-dc-text dc:truncate`,title:o,children:o}),(0,$.jsx)(`div`,{className:`dc:text-xs text-dc-text-muted`,children:e.value.toLocaleString()})]}),(0,$.jsxs)(`div`,{className:`dc:flex-1 dc:relative`,children:[(0,$.jsx)(`div`,{className:`dc:w-full dc:h-8 bg-dc-surface-secondary dc:rounded-sm`}),(0,$.jsx)(`div`,{className:`dc:absolute dc:top-0 dc:left-0 dc:h-8 dc:rounded-sm dc:transition-all dc:duration-300`,style:{width:`${Math.max(n,2)}%`,backgroundColor:b5(t,m)}}),(0,$.jsx)(`div`,{className:`dc:absolute dc:top-0 dc:left-0 dc:h-8 dc:flex dc:items-center dc:px-2 dc:pointer-events-none`,style:{width:`${Math.max(n,20)}%`},children:(0,$.jsxs)(`span`,{className:`dc:text-xs dc:font-medium text-white dc:drop-shadow-sm`,children:[e.percentage?.toFixed(1)??n.toFixed(1),`%`]})})]}),(0,$.jsx)(`div`,{className:`${h>0?h>1?`dc:w-36`:`dc:w-28`:`dc:w-16`} dc:flex-shrink-0 dc:text-left`,children:i===null?(0,$.jsx)(`div`,{className:`dc:text-xs text-dc-text-muted`,children:`—`}):(0,$.jsxs)(`div`,{className:`dc:text-xs text-dc-text-secondary`,children:[c&&(0,$.jsxs)(`span`,{children:[`↓ `,i.toFixed(1),`%`]}),h>0&&(0,$.jsx)(`div`,{className:`text-dc-text-muted dc:mt-0.5 dc:space-y-0.5`,children:s.map((e,t)=>(0,$.jsxs)(`div`,{children:[`⏱ `,e]},t))})]})})]},e.name)})}),!r?.hideSummaryFooter&&(0,$.jsx)(`div`,{className:`dc:flex-shrink-0 dc:px-4 dc:py-2 dc:border-t border-dc-border bg-dc-surface-secondary`,children:(0,$.jsxs)(`div`,{className:`dc:flex dc:items-center dc:justify-between dc:text-sm`,children:[(0,$.jsxs)(`div`,{className:`text-dc-text-muted`,children:[(0,$.jsx)(`span`,{className:`dc:font-medium`,children:f.length}),` steps`]}),(0,$.jsxs)(`div`,{className:`text-dc-text`,children:[(0,$.jsx)(`span`,{className:`text-dc-text-muted`,children:i(`chart.runtime.funnel.overall`)}),` `,(0,$.jsx)(`span`,{className:`dc:font-medium`,children:p>0?`${((f[f.length-1]?.value||0)/p*100).toFixed(1)}%`:`0%`})]}),(0,$.jsxs)(`div`,{className:`text-dc-text-muted`,children:[f[f.length-1]?.value.toLocaleString()||0,` / `,p.toLocaleString(),` completed`]})]})})]})})}));function T5(e){if(e==null)return null;let t=typeof e==`number`?e:parseFloat(String(e));return isNaN(t)?null:t}function Dxe(e,t,n,r,i,a,o,s){let c=T5(e[t]),l=T5(e[n]),u=T5(e[r]),d=T5(e[i]),f=T5(e[a]);return c===null||l===null||u===null||d===null||f===null?null:{label:o,min:c,q1:l,median:u,q3:d,max:f,color:s}}function Oxe(e,t,n,r,i,a){let o=T5(e[t]),s=T5(e[n]),c=T5(e[r]);if(o===null||s===null||c===null)return null;let l=Math.abs(s);return{label:i,min:o-2*l,q1:o-l,median:c,q3:o+l,max:o+2*l,color:a}}function kxe({x:e,boxWidth:t,minY:n,q1Y:r,medianY:i,q3Y:a,maxY:o,color:s,label:c}){let l=t/2,u=e,d=t*.4;return(0,D5.jsxs)(`g`,{\"data-testid\":`box-${c}`,children:[(0,D5.jsx)(`line`,{x1:u,y1:n,x2:u,y2:o,stroke:s,strokeWidth:1.5}),(0,D5.jsx)(`line`,{x1:u-d/2,y1:n,x2:u+d/2,y2:n,stroke:s,strokeWidth:1.5}),(0,D5.jsx)(`line`,{x1:u-d/2,y1:o,x2:u+d/2,y2:o,stroke:s,strokeWidth:1.5}),(0,D5.jsx)(`rect`,{x:u-l,y:Math.min(r,a),width:t,height:Math.abs(a-r)||2,fill:s,fillOpacity:.3,stroke:s,strokeWidth:1.5}),(0,D5.jsx)(`line`,{x1:u-l,y1:i,x2:u+l,y2:i,stroke:s,strokeWidth:2.5,\"data-testid\":`median-${c}`})]})}function Axe({scale:e,domainMin:t,domainMax:n,width:r,tickCount:i=5,format:a}){let o=(0,E5.useMemo)(()=>{let e=n-t;if(e===0)return[t];let r=e/(i-1);return Array.from({length:i},(e,n)=>t+n*r)},[t,n,i]);return(0,D5.jsxs)(`g`,{\"data-testid\":`y-axis`,children:[o.map((t,n)=>(0,D5.jsxs)(`g`,{transform:`translate(0, ${e(t)})`,children:[(0,D5.jsx)(`line`,{x1:0,x2:-6,stroke:`currentColor`,strokeWidth:1}),(0,D5.jsx)(`text`,{x:-10,textAnchor:`end`,dominantBaseline:`middle`,fontSize:11,fill:`currentColor`,className:`text-dc-text-secondary`,children:a?a(t):t.toLocaleString()}),(0,D5.jsx)(`line`,{x1:0,x2:r,stroke:`currentColor`,strokeOpacity:.1,strokeWidth:1})]},n)),(0,D5.jsx)(`line`,{y1:e(o[0]),y2:e(o[o.length-1]),stroke:`currentColor`,strokeWidth:1})]})}var E5,D5,O5,k5,jxe=o((()=>{E5=u(f(),1),Mu(),x1(),l1(),D5=wu(),O5=50,k5=E5.memo(function({data:e,chartConfig:t,displayConfig:n={},height:r=`100%`,colorPalette:i,onDataPointClick:a,drillEnabled:o}){let{t:s}=Au(),c=(0,E5.useRef)(null),[l,u]=(0,E5.useState)({width:0,height:0});(0,E5.useLayoutEffect)(()=>{let e=c.current;if(!e)return;let t=new ResizeObserver(e=>{for(let t of e){let{width:e,height:n}=t.contentRect;e>0&&n>0&&u({width:e,height:n})}});t.observe(e);let n=e.getBoundingClientRect();return n.width>0&&n.height>0&&u({width:n.width,height:n.height}),()=>t.disconnect()},[]);let d=n?.leftYAxisFormat,{xField:f,mode:p,fields:m,configError:h}=(0,E5.useMemo)(()=>{let e=Array.isArray(t?.xAxis)?t.xAxis[0]:t?.xAxis??t?.x,n=Array.isArray(t?.yAxis)?t.yAxis:[];return!e||n.length===0?{xField:e,mode:`none`,fields:{},configError:`BoxPlot requires an X-Axis dimension and at least one measure in Y-Axis`}:n.length>=5?{xField:e,mode:`5measure`,fields:{minField:n[0],q1Field:n[1],medianField:n[2],q3Field:n[3],maxField:n[4]},configError:null}:n.length>=3?{xField:e,mode:`3measure`,fields:{avgField:n[0],stddevField:n[1],medianField:n[2]},configError:null}:n.length===2?{xField:e,mode:`none`,fields:{},configError:`BoxPlot requires 1 measure (auto), 3 (avg/stddev/median), or 5 (min/q1/median/q3/max)`}:{xField:e,mode:`auto`,fields:{valueField:n[0]},configError:null}},[t]),g=(0,E5.useMemo)(()=>{if(h||!e||e.length===0||p===`none`)return[];let t=e.slice(0,O5),n=i?.colors??_1,r=[];for(let e=0;e<t.length;e++){let i=t[e],a=f?String(i[f]??`Row ${e+1}`):`Row ${e+1}`,o=n[e%n.length],s=null;if(p===`5measure`)s=Dxe(i,m.minField,m.q1Field,m.medianField,m.q3Field,m.maxField,a,o);else if(p===`3measure`)s=Oxe(i,m.avgField,m.stddevField,m.medianField,a,o);else{let e=T5(i[m.valueField]);e!==null&&(s={label:a,min:e,q1:e,median:e,q3:e,max:e,color:o})}s&&r.push(s)}return r},[e,f,p,m,i,h]);if(!e||e.length===0)return(0,D5.jsx)(`div`,{className:`dc:flex dc:items-center dc:justify-center dc:w-full text-dc-text-muted`,style:{height:r},children:(0,D5.jsxs)(`div`,{className:`dc:text-center`,children:[(0,D5.jsx)(`div`,{className:`dc:text-sm dc:font-semibold dc:mb-1`,children:s(`chart.runtime.noData`)}),(0,D5.jsx)(`div`,{className:`dc:text-xs text-dc-text-secondary`,children:s(`chart.runtime.noDataHint.boxPlot`)})]})});if(h)return(0,D5.jsx)(`div`,{className:`dc:flex dc:items-center dc:justify-center dc:w-full text-dc-warning`,style:{height:r},children:(0,D5.jsxs)(`div`,{className:`dc:text-center`,children:[(0,D5.jsx)(`div`,{className:`dc:text-sm dc:font-semibold dc:mb-1`,children:s(`chart.runtime.configError`)}),(0,D5.jsx)(`div`,{className:`dc:text-xs`,children:h})]})});if(g.length===0)return(0,D5.jsx)(`div`,{className:`dc:flex dc:items-center dc:justify-center dc:w-full text-dc-text-muted`,style:{height:r},children:(0,D5.jsxs)(`div`,{className:`dc:text-center`,children:[(0,D5.jsx)(`div`,{className:`dc:text-sm dc:font-semibold dc:mb-1`,children:s(`chart.runtime.noValidData`)}),(0,D5.jsx)(`div`,{className:`dc:text-xs text-dc-text-secondary`,children:s(`chart.runtime.noValidDataHint.boxPlot`)})]})});try{let t={top:20,right:20,bottom:60,left:60},n=l.width||600,i=typeof r==`number`?r:l.height||400,u=Math.max(n-t.left-t.right,50),p=Math.max(i-t.top-t.bottom,50),m=g.flatMap(e=>[e.min,e.max]),h=Math.min(...m),_=Math.max(...m),v=(_-h)*.1||1,y=h-v,b=_+v,x=b-y,S=e=>x===0?p/2:p-(e-y)/x*p,C=u/g.length,w=Math.min(C*.6,40),T=e.length>O5;return(0,D5.jsxs)(`div`,{ref:c,className:`dc:relative dc:w-full`,style:{height:r},children:[(0,D5.jsx)(`svg`,{width:`100%`,height:T?`calc(100% - 20px)`:`100%`,viewBox:`0 0 ${n} ${typeof i==`number`?i:400}`,preserveAspectRatio:`none`,\"data-testid\":`boxplot-svg`,children:(0,D5.jsxs)(`g`,{transform:`translate(${t.left}, ${t.top})`,children:[(0,D5.jsx)(Axe,{scale:S,domainMin:y,domainMax:b,width:u,tickCount:5,format:d?e=>a1(e,d):void 0}),g.map((e,t)=>{let n=C*t+C/2;return(0,D5.jsxs)(`g`,{onClick:t=>{a&&o&&a({dataPoint:{...e},clickedField:f??``,xValue:e.label,position:{x:t.clientX,y:t.clientY},nativeEvent:t})},cursor:o?`pointer`:void 0,children:[(0,D5.jsx)(`title`,{children:`${e.label}: min=${e.min}, Q1=${e.q1}, median=${e.median}, Q3=${e.q3}, max=${e.max}`}),(0,D5.jsx)(kxe,{x:n,boxWidth:w,minY:S(e.min),q1Y:S(e.q1),medianY:S(e.median),q3Y:S(e.q3),maxY:S(e.max),color:e.color,label:e.label}),(0,D5.jsx)(`text`,{x:n,y:p+20,textAnchor:`middle`,fontSize:11,fill:`currentColor`,className:`text-dc-text-secondary`,\"data-testid\":`x-label-${e.label}`,children:e.label})]},`${e.label}-${t}`)})]})}),T&&(0,D5.jsx)(`div`,{className:`dc:text-xs text-dc-warning dc:text-center dc:mt-1`,children:s(`chart.runtime.boxPlot.truncated`,{max:O5,total:e.length})})]})}catch(e){return(0,D5.jsx)(`div`,{className:`dc:flex dc:flex-col dc:items-center dc:justify-center dc:w-full text-dc-error dc:p-4`,style:{height:r},children:(0,D5.jsxs)(`div`,{className:`dc:text-center`,children:[(0,D5.jsx)(`div`,{className:`dc:text-sm dc:font-semibold dc:mb-1`,children:s(`chart.runtime.chartError`,{chartType:`Box Plot Chart`})}),(0,D5.jsx)(`div`,{className:`dc:text-xs dc:mb-2`,children:e instanceof Error?e.message:s(`chart.runtime.unknownError`)}),(0,D5.jsx)(`div`,{className:`dc:text-xs text-dc-text-muted`,children:s(`chart.runtime.checkConfig`)})]})})}})}));function Mxe(e,t,n,r,i){let a=0,o=e.map((e,r)=>{let i=String(e[t]??`Row ${r+1}`),o=e[n],s=typeof o==`number`?o:parseFloat(String(o??``)),c=isNaN(s)?0:s,l=c<0,u=l?a+c:a,d={label:i,value:Math.abs(c),runningBase:u,isTotal:!1,isNegative:l,displayValue:c,originalIndex:r};return a+=c,d});if(r){let e=i(n)||`Total`;o.push({label:e,value:Math.abs(a),runningBase:a>=0?0:a,isTotal:!0,isNegative:a<0,displayValue:a,originalIndex:o.length})}return o}function Nxe(e){let{x:t=0,y:n=0,width:r=0,value:i=0,isNegative:a,displayValue:o}=e;if(o==null)return null;let s=Number(o),c=a||s<0?n+i+14:n-6;return(0,j5.jsxs)(`text`,{x:t+r/2,y:c,fill:`currentColor`,textAnchor:`middle`,fontSize:11,children:[s>=0?`+`:``,s.toLocaleString()]})}var A5,j5,M5,N5,P5,F5,I5,Pxe=o((()=>{A5=u(f(),1),Mu(),J$(),t1(),p1(),g1(),x1(),l1(),A1(),j5=wu(),M5=`#22c55e`,N5=`#ef4444`,P5=`#6366f1`,F5=`#94a3b8`,I5=A5.memo(function({data:e,chartConfig:t,displayConfig:n={},height:r=`100%`,onDataPointClick:i,drillEnabled:a}){let{t:o}=Au(),s=O1(),c=n?.showTotal??!0,l=n?.showConnectorLine??!0,u=n?.showDataLabels??!1,d=n?.leftYAxisFormat,{xAxisField:f,yAxisField:p,configError:m}=(0,A5.useMemo)(()=>{let e=Array.isArray(t?.xAxis)?t.xAxis[0]:t?.x,n=Array.isArray(t?.yAxis)?t.yAxis[0]:t?.y?.[0];return{xAxisField:e,yAxisField:n,configError:!e||!n?`Waterfall chart requires an X-axis dimension and a Y-axis measure`:null}},[t]),h=(0,A5.useMemo)(()=>m||!e||e.length===0||!f||!p?[]:Mxe(e,f,p,c,s),[e,f,p,c,s,m]),g=(0,A5.useMemo)(()=>!l||h.length===0?[]:h.map(e=>{let t=e.isNegative?e.runningBase:e.runningBase+e.value;return{label:e.label,_connector:t}}),[h,l]),_=(0,A5.useMemo)(()=>h.map((e,t)=>({...e,_connector:g[t]?._connector})),[h,g]);try{return!e||e.length===0?(0,j5.jsx)(`div`,{className:`dc:flex dc:items-center dc:justify-center dc:w-full text-dc-text-muted`,style:{height:r},children:(0,j5.jsxs)(`div`,{className:`dc:text-center`,children:[(0,j5.jsx)(`div`,{className:`dc:text-sm dc:font-semibold dc:mb-1`,children:o(`chart.runtime.noData`)}),(0,j5.jsx)(`div`,{className:`dc:text-xs text-dc-text-secondary`,children:o(`chart.runtime.noDataHint.waterfall`)})]})}):m?(0,j5.jsx)(`div`,{className:`dc:flex dc:items-center dc:justify-center dc:w-full text-dc-warning`,style:{height:r},children:(0,j5.jsxs)(`div`,{className:`dc:text-center`,children:[(0,j5.jsx)(`div`,{className:`dc:text-sm dc:font-semibold dc:mb-1`,children:o(`chart.runtime.configError`)}),(0,j5.jsx)(`div`,{className:`dc:text-xs`,children:m})]})}):(0,j5.jsx)(`div`,{className:`dc:relative dc:w-full`,style:{height:r},children:(0,j5.jsx)(Q$,{height:`100%`,children:(0,j5.jsxs)(x$,{data:_,margin:{...b1,left:40},accessibilityLayer:!1,children:[(0,j5.jsx)($G,{strokeDasharray:`3 3`,style:{pointerEvents:`none`}}),(0,j5.jsx)(yY,{dataKey:`label`,type:`category`,tick:(0,j5.jsx)(h1,{}),height:60}),(0,j5.jsx)(LY,{tick:{fontSize:12},tickFormatter:d?e=>a1(e,d):void 0}),(0,j5.jsx)(u1,{formatter:(e,t,n)=>{if(t===`_connector`)return[``,``];let r=n?.payload;if(!r)return[e,t];let i=r.displayValue??e;return[d?a1(i,d):i?.toLocaleString?.()??i,r.isTotal?`Total`:r.isNegative?`Decrease`:`Increase`]},labelFormatter:e=>e}),(0,j5.jsx)(Xb,{wrapperStyle:{fontSize:`12px`,paddingTop:`8px`},payload:[{value:`Increase`,type:`rect`,color:M5},{value:`Decrease`,type:`rect`,color:N5},...c?[{value:`Total`,type:`rect`,color:P5}]:[]]}),(0,j5.jsx)(TJ,{dataKey:`runningBase`,stackId:`wf`,fill:`transparent`,legendType:`none`,isAnimationActive:!1}),(0,j5.jsxs)(TJ,{dataKey:`value`,stackId:`wf`,isAnimationActive:!1,cursor:a?`pointer`:void 0,onClick:(e,t,n)=>{i&&a&&e&&!e.isTotal&&i({dataPoint:e,clickedField:p,xValue:e.label,position:{x:n.clientX,y:n.clientY},nativeEvent:n})},children:[u&&(0,j5.jsx)(tR,{dataKey:`displayValue`,content:e=>(0,j5.jsx)(Nxe,{...e,runningBase:_[e.index]?.runningBase,isNegative:_[e.index]?.isNegative,displayValue:_[e.index]?.displayValue})}),_.map((e,t)=>(0,j5.jsx)(AI,{fill:e.isTotal?P5:e.isNegative?N5:M5},`cell-${t}`))]}),l&&(0,j5.jsx)(JK,{type:`stepAfter`,dataKey:`_connector`,stroke:F5,strokeWidth:1.5,strokeDasharray:`4 2`,dot:!1,activeDot:!1,legendType:`none`,isAnimationActive:!1})]})})})}catch(e){return(0,j5.jsx)(`div`,{className:`dc:flex dc:flex-col dc:items-center dc:justify-center dc:w-full text-dc-error dc:p-4`,style:{height:r},children:(0,j5.jsxs)(`div`,{className:`dc:text-center`,children:[(0,j5.jsx)(`div`,{className:`dc:text-sm dc:font-semibold dc:mb-1`,children:o(`chart.runtime.chartError`,{chartType:`Waterfall Chart`})}),(0,j5.jsx)(`div`,{className:`dc:text-xs dc:mb-2`,children:e instanceof Error?e.message:o(`chart.runtime.unknownError`)}),(0,j5.jsx)(`div`,{className:`dc:text-xs text-dc-text-muted`,children:o(`chart.runtime.checkConfig`)})]})})}})}));function L5(e){if(e==null)return null;let t=typeof e==`number`?e:parseFloat(String(e));return isNaN(t)?null:t}function Fxe({x:e,candleWidth:t,openY:n,closeY:r,highY:i,lowY:a,isBullish:o,bullColor:s,bearColor:c,showWicks:l,label:u}){let d=o?s:c,f=Math.min(n,r),p=Math.max(n,r),m=Math.max(p-f,1),h=t/2;return(0,z5.jsxs)(`g`,{\"data-testid\":`candle-${u}`,children:[(0,z5.jsx)(`rect`,{x:e-h,y:f,width:t,height:m,fill:d,\"data-testid\":`candle-body-${u}`,\"data-bullish\":o}),l&&(0,z5.jsxs)(z5.Fragment,{children:[(0,z5.jsx)(`line`,{x1:e,y1:i,x2:e,y2:f,stroke:H5,strokeWidth:1,\"data-testid\":`wick-high-${u}`}),(0,z5.jsx)(`line`,{x1:e,y1:p,x2:e,y2:a,stroke:H5,strokeWidth:1,\"data-testid\":`wick-low-${u}`})]})]})}function Ixe({domainMin:e,domainMax:t,innerHeight:n,tickCount:r,format:i}){let a=(0,R5.useMemo)(()=>{let n=(t-e)/(r-1);return Array.from({length:r},(t,r)=>e+r*n)},[e,t,r]),o=r=>n-(r-e)/(t-e)*n;return(0,z5.jsxs)(`g`,{\"data-testid\":`y-axis`,children:[(0,z5.jsx)(`line`,{y1:0,y2:n,stroke:`currentColor`,strokeWidth:1}),a.map((e,t)=>(0,z5.jsxs)(`g`,{transform:`translate(0, ${o(e)})`,children:[(0,z5.jsx)(`line`,{x1:0,x2:-6,stroke:`currentColor`,strokeWidth:1}),(0,z5.jsx)(`text`,{x:-10,textAnchor:`end`,dominantBaseline:`middle`,fontSize:11,fill:`currentColor`,className:`text-dc-text-secondary`,children:i?i(e):e.toLocaleString()}),(0,z5.jsx)(`line`,{x1:0,x2:`100%`,stroke:`currentColor`,strokeOpacity:.1,strokeWidth:1})]},t))]})}var R5,z5,B5,V5,H5,U5,W5,Lxe=o((()=>{R5=u(f(),1),Mu(),l1(),z5=wu(),B5=`#22c55e`,V5=`#ef4444`,H5=`#94a3b8`,U5=200,W5=R5.memo(function({data:e,chartConfig:t,displayConfig:n={},height:r=`100%`,onDataPointClick:i,drillEnabled:a}){let{t:o}=Au(),s=(0,R5.useRef)(null),[c,l]=(0,R5.useState)({width:0,height:0});(0,R5.useLayoutEffect)(()=>{let e=s.current;if(!e)return;let t=new ResizeObserver(e=>{for(let t of e){let{width:e,height:n}=t.contentRect;e>0&&n>0&&l({width:e,height:n})}});t.observe(e);let n=e.getBoundingClientRect();return n.width>0&&n.height>0&&l({width:n.width,height:n.height}),()=>t.disconnect()},[]);let u=n?.bullColor??B5,d=n?.bearColor??V5,f=n?.showWicks??!0,p=n?.rangeMode??`ohlc`,m=n?.leftYAxisFormat,{xField:h,openField:g,closeField:_,highField:v,lowField:y,configError:b}=(0,R5.useMemo)(()=>{let e=Array.isArray(t?.xAxis)?t.xAxis[0]:t?.xAxis??t?.x,n=Array.isArray(t?.yAxis)?t.yAxis:[],r=n[0]??``,i=(p===`range`?n[0]:n[1])??``,a=(p===`range`?n[0]:n[2])??``,o=(p===`range`?n[1]:n[3])??``;return e?p===`range`&&(!a||!o)?{xField:e,openField:r,closeField:i,highField:a,lowField:o,configError:`Range mode requires at least 2 measures (high, low) in Y-Axis`}:p===`ohlc`&&(!r||!i)?{xField:e,openField:r,closeField:i,highField:a,lowField:o,configError:`OHLC mode requires at least 2 measures (open, close) in Y-Axis`}:{xField:e,openField:r,closeField:i,highField:a,lowField:o,configError:null}:{xField:e,openField:r,closeField:i,highField:a,lowField:o,configError:`Candlestick chart requires an X-Axis (time or category dimension)`}},[t,p]),x=(0,R5.useMemo)(()=>{if(b||!e||e.length===0)return[];let t=e.slice(0,U5),n=[];for(let e=0;e<t.length;e++){let r=t[e],i=String(r[h]??`Bar ${e+1}`),a=L5(r[g]),o=L5(r[_]);if(a===null||o===null)continue;let s=a,c=o,l=v?L5(r[v])??Math.max(s,c):Math.max(s,c),u=y?L5(r[y])??Math.min(s,c):Math.min(s,c);p===`range`&&(s=u,c=l),n.push({label:i,open:s,close:c,high:Math.max(s,c,l),low:Math.min(s,c,u),isBullish:c>=s,originalIndex:e})}return n},[e,h,g,_,v,y,p,b]);try{if(!e||e.length===0)return(0,z5.jsx)(`div`,{className:`dc:flex dc:items-center dc:justify-center dc:w-full text-dc-text-muted`,style:{height:r},children:(0,z5.jsxs)(`div`,{className:`dc:text-center`,children:[(0,z5.jsx)(`div`,{className:`dc:text-sm dc:font-semibold dc:mb-1`,children:o(`chart.runtime.noData`)}),(0,z5.jsx)(`div`,{className:`dc:text-xs text-dc-text-secondary`,children:o(`chart.runtime.noDataHint.candlestick`)})]})});if(b)return(0,z5.jsx)(`div`,{className:`dc:flex dc:items-center dc:justify-center dc:w-full text-dc-warning`,style:{height:r},children:(0,z5.jsxs)(`div`,{className:`dc:text-center`,children:[(0,z5.jsx)(`div`,{className:`dc:text-sm dc:font-semibold dc:mb-1`,children:o(`chart.runtime.configError`)}),(0,z5.jsx)(`div`,{className:`dc:text-xs`,children:b})]})});let t={top:20,right:20,bottom:60,left:70},n=c.width||600,l=typeof r==`number`?r:c.height||400,p=Math.max(n-t.left-t.right,50),g=Math.max((typeof l==`number`?l:parseInt(String(l))||400)-t.top-t.bottom,50),_=x.flatMap(e=>[e.low,e.high]),v=Math.min(..._),y=Math.max(..._),S=(y-v)*.05||1,C=v-S,w=y+S,T=e=>g-(e-C)/(w-C)*g,E=p/x.length,D=Math.min(E*.7,20),O=e.length>U5;return(0,z5.jsxs)(`div`,{ref:s,className:`dc:relative dc:w-full`,style:{height:r},children:[(0,z5.jsx)(`svg`,{width:`100%`,height:O?`calc(100% - 20px)`:`100%`,viewBox:`0 0 ${n} ${typeof l==`number`?l:400}`,\"data-testid\":`candlestick-svg`,children:(0,z5.jsxs)(`g`,{transform:`translate(${t.left}, ${t.top})`,children:[(0,z5.jsx)(Ixe,{domainMin:C,domainMax:w,innerHeight:g,tickCount:5,format:m?e=>a1(e,m):void 0}),x.map((e,t)=>{let n=E*t+E/2;return(0,z5.jsxs)(`g`,{onClick:t=>{i&&a&&i({dataPoint:{...e},clickedField:h??``,xValue:e.label,position:{x:t.clientX,y:t.clientY},nativeEvent:t})},cursor:a?`pointer`:void 0,children:[(0,z5.jsx)(`title`,{children:`${e.label}: O=${e.open} H=${e.high} L=${e.low} C=${e.close}`}),(0,z5.jsx)(Fxe,{x:n,candleWidth:D,openY:T(e.open),closeY:T(e.close),highY:T(e.high),lowY:T(e.low),isBullish:e.isBullish,bullColor:u,bearColor:d,showWicks:f,label:e.label}),(0,z5.jsx)(`text`,{x:n,y:g+20,textAnchor:`middle`,fontSize:10,fill:`currentColor`,className:`text-dc-text-secondary`,\"data-testid\":`x-label-${e.label}`,children:e.label})]},e.label+t)})]})}),O&&(0,z5.jsx)(`div`,{className:`dc:text-xs text-dc-warning dc:text-center dc:mt-1`,children:o(`chart.runtime.candlestick.truncated`,{max:U5,total:e.length})})]})}catch(e){return(0,z5.jsx)(`div`,{className:`dc:flex dc:flex-col dc:items-center dc:justify-center dc:w-full text-dc-error dc:p-4`,style:{height:r},children:(0,z5.jsxs)(`div`,{className:`dc:text-center`,children:[(0,z5.jsx)(`div`,{className:`dc:text-sm dc:font-semibold dc:mb-1`,children:o(`chart.runtime.chartError`,{chartType:`Candlestick Chart`})}),(0,z5.jsx)(`div`,{className:`dc:text-xs dc:mb-2`,children:e instanceof Error?e.message:o(`chart.runtime.unknownError`)}),(0,z5.jsx)(`div`,{className:`dc:text-xs text-dc-text-muted`,children:o(`chart.runtime.checkConfig`)})]})})}})}));function Rxe(e,t,n,r){if(!e||e.length===0||t.length===0)return{profileData:[],seriesKeys:[]};if(n){let i=Array.from(new Set(e.map(e=>String(e[n]??`Unknown`))));return{profileData:t.map(t=>{let a={measureKey:t,measureLabel:r(t)};for(let r of i){let i=e.filter(e=>String(e[n]??`Unknown`)===r).map(e=>{let n=e[t];return typeof n==`number`?n:parseFloat(String(n??``))}).filter(e=>!isNaN(e));a[r]=i.length>0?i.reduce((e,t)=>e+t,0)/i.length:null}return a}),seriesKeys:i}}else{let n=`_value`;return{profileData:t.map(t=>{let i=e.map(e=>{let n=e[t];return typeof n==`number`?n:parseFloat(String(n??``))}).filter(e=>!isNaN(e));return{measureKey:t,measureLabel:r(t),[n]:i.length>0?i.reduce((e,t)=>e+t,0)/i.length:null}}),seriesKeys:[n]}}}var G5,K5,q5,zxe=o((()=>{G5=u(f(),1),Mu(),J$(),t1(),p1(),g1(),x1(),l1(),A1(),K5=wu(),q5=G5.memo(function({data:e,chartConfig:t,displayConfig:n={},height:r=`100%`,colorPalette:i,drillEnabled:a}){let{t:o}=Au(),s=O1(),c=n?.showReferenceLineAtZero??!0,l=n?.showDataLabels??!1,u=n?.lineType??`monotone`,d=n?.leftYAxisFormat,{yAxisFields:f,seriesField:p,configError:m}=(0,G5.useMemo)(()=>{let e=Array.isArray(t?.yAxis)?t.yAxis:[];return{yAxisFields:e,seriesField:Array.isArray(t?.series)?t.series[0]:t?.series??void 0,configError:e.length<2?`Measure Profile chart requires at least 2 measures in Y-Axis`:null}},[t]),{profileData:h,seriesKeys:g}=(0,G5.useMemo)(()=>m||!e||e.length===0?{profileData:[],seriesKeys:[]}:Rxe(e,f,p,s),[e,f,p,s,m]),_=(n?.showLegend??!0)&&g.length>1;try{return!e||e.length===0?(0,K5.jsx)(`div`,{className:`dc:flex dc:items-center dc:justify-center dc:w-full text-dc-text-muted`,style:{height:r},children:(0,K5.jsxs)(`div`,{className:`dc:text-center`,children:[(0,K5.jsx)(`div`,{className:`dc:text-sm dc:font-semibold dc:mb-1`,children:o(`chart.runtime.noData`)}),(0,K5.jsx)(`div`,{className:`dc:text-xs text-dc-text-secondary`,children:o(`chart.runtime.noDataHint.measureProfile`)})]})}):m?(0,K5.jsx)(`div`,{className:`dc:flex dc:items-center dc:justify-center dc:w-full text-dc-warning`,style:{height:r},children:(0,K5.jsxs)(`div`,{className:`dc:text-center`,children:[(0,K5.jsx)(`div`,{className:`dc:text-sm dc:font-semibold dc:mb-1`,children:o(`chart.runtime.configError`)}),(0,K5.jsx)(`div`,{className:`dc:text-xs`,children:m})]})}):(0,K5.jsx)(`div`,{className:`dc:relative dc:w-full`,style:{height:r},children:(0,K5.jsx)(Q$,{height:`100%`,children:(0,K5.jsxs)(lQ,{data:h,margin:{...b1,left:40},accessibilityLayer:!1,children:[(0,K5.jsx)($G,{strokeDasharray:`3 3`,style:{pointerEvents:`none`}}),(0,K5.jsx)(yY,{dataKey:`measureLabel`,type:`category`,tick:(0,K5.jsx)(h1,{}),height:60}),(0,K5.jsx)(LY,{tick:{fontSize:12},tickFormatter:d?e=>a1(e,d):void 0}),(0,K5.jsx)(u1,{formatter:(e,t)=>e==null?[`No data`,t]:[d?a1(e,d):e?.toLocaleString?.()??e,t===`_value`?s(f[0]?.split(`.`)[0])||`Value`:t]}),c&&(0,K5.jsx)(dG,{y:0,stroke:`var(--dc-border, #94a3b8)`,strokeDasharray:`4 2`}),_&&(0,K5.jsx)(Xb,{wrapperStyle:{fontSize:`12px`,paddingTop:`8px`}}),g.map((e,t)=>(0,K5.jsx)(JK,{type:u,dataKey:e,name:e===`_value`?s(f[0]?.split(`.`)[0])||`Value`:e,stroke:i?.colors&&i.colors[t%i.colors.length]||_1[t%_1.length],strokeWidth:2,dot:l?{r:4}:{r:3},activeDot:{r:5},label:l?{position:`top`,fontSize:10}:void 0,isAnimationActive:!1,cursor:a?`pointer`:void 0},e))]})})})}catch(e){return(0,K5.jsx)(`div`,{className:`dc:flex dc:flex-col dc:items-center dc:justify-center dc:w-full text-dc-error dc:p-4`,style:{height:r},children:(0,K5.jsxs)(`div`,{className:`dc:text-center`,children:[(0,K5.jsx)(`div`,{className:`dc:text-sm dc:font-semibold dc:mb-1`,children:o(`chart.runtime.chartError`,{chartType:`Measure Profile Chart`})}),(0,K5.jsx)(`div`,{className:`dc:text-xs dc:mb-2`,children:e instanceof Error?e.message:o(`chart.runtime.unknownError`)}),(0,K5.jsx)(`div`,{className:`dc:text-xs text-dc-text-muted`,children:o(`chart.runtime.checkConfig`)})]})})}})}));function J5(e){if(e==null)return null;let t=typeof e==`number`?e:parseFloat(String(e));return isNaN(t)?null:t}function Y5(e,t,n){return Math.max(t,Math.min(n,e))}function X5(e,t,n){let r=n===t?1:n-t;return e7+Y5((e-t)/r,0,1)*(t7-e7)}function Bxe(e,t){let n=[...t].sort((e,t)=>e.value-t.value),r=r7;for(let t of n)e>=t.value&&(r=t.color);return r}function Z5(e,t,n,r){return pee()({innerRadius:e,outerRadius:t,startAngle:n,endAngle:r})??``}function Vxe({angle:e,radius:t}){let n=t*.72,r=t*.06,i=Math.cos(e-Math.PI/2)*n,a=Math.sin(e-Math.PI/2)*n;return(0,$5.jsxs)(`g`,{\"data-testid\":`gauge-needle`,children:[(0,$5.jsx)(`circle`,{r,fill:`currentColor`,className:`text-dc-text-secondary`}),(0,$5.jsx)(`line`,{x1:0,y1:0,x2:i,y2:a,stroke:`currentColor`,strokeWidth:3,strokeLinecap:`round`,className:`text-dc-text-secondary`})]})}var Q5,$5,e7,t7,n7,r7,i7,Hxe=o((()=>{Q5=u(f(),1),Mu(),Vf(),l1(),A1(),$5=wu(),e7=-Math.PI*.75,t7=Math.PI*.75,n7=`#e2e8f0`,r7=`#6366f1`,i7=Q5.memo(function({data:e,chartConfig:t,displayConfig:n={},height:r=`100%`}){let{t:i}=Au(),a=O1(),o=(0,Q5.useRef)(null),[s,c]=(0,Q5.useState)({width:0,height:0});(0,Q5.useLayoutEffect)(()=>{let e=o.current;if(!e)return;let t=new ResizeObserver(e=>{for(let t of e){let{width:e,height:n}=t.contentRect;e>0&&n>0&&c({width:e,height:n})}});t.observe(e);let n=e.getBoundingClientRect();return n.width>0&&n.height>0&&c({width:n.width,height:n.height}),()=>t.disconnect()},[]);let{valueField:l,maxField:u,configError:d}=(0,Q5.useMemo)(()=>{let e=Array.isArray(t?.yAxis)?t.yAxis:[],n=e[0]??``,r=e[1]??``;return n?{valueField:n,maxField:r,configError:null}:{valueField:n,maxField:r,configError:`Gauge requires at least 1 measure in Y-Axis (current value)`}},[t]),f=(0,Q5.useMemo)(()=>{let e=n?.thresholds,t=null;if(Array.isArray(e))t=e;else if(typeof e==`string`&&e.trim())try{let n=JSON.parse(e);Array.isArray(n)&&(t=n)}catch(e){return console.warn(`GaugeChart: invalid threshold JSON`,e),[]}return t?t.filter(e=>typeof e==`object`&&!!e&&typeof e.value==`number`&&typeof e.color==`string`):[]},[n?.thresholds]),p=f.length===0?[]:[...f].sort((e,t)=>e.value-t.value).map((e,t,n)=>{let r=t===0?e7:X5(n[t-1].value,0,1),i=X5(e.value,0,1);return{color:e.color,start:r,end:i}});try{if(!e||e.length===0)return(0,$5.jsx)(`div`,{className:`dc:flex dc:items-center dc:justify-center dc:w-full text-dc-text-muted`,style:{height:r},children:(0,$5.jsxs)(`div`,{className:`dc:text-center`,children:[(0,$5.jsx)(`div`,{className:`dc:text-sm dc:font-semibold dc:mb-1`,children:i(`chart.runtime.noData`)}),(0,$5.jsx)(`div`,{className:`dc:text-xs text-dc-text-secondary`,children:i(`chart.runtime.noDataHint.gauge`)})]})});if(d)return(0,$5.jsx)(`div`,{className:`dc:flex dc:items-center dc:justify-center dc:w-full text-dc-warning`,style:{height:r},children:(0,$5.jsxs)(`div`,{className:`dc:text-center`,children:[(0,$5.jsx)(`div`,{className:`dc:text-sm dc:font-semibold dc:mb-1`,children:i(`chart.runtime.configError`)}),(0,$5.jsx)(`div`,{className:`dc:text-xs`,children:d})]})});let t=e[0],c=J5(t[l]);if(c===null)return(0,$5.jsx)(`div`,{className:`dc:flex dc:items-center dc:justify-center dc:w-full text-dc-text-muted`,style:{height:r},children:(0,$5.jsxs)(`div`,{className:`dc:text-center`,children:[(0,$5.jsx)(`div`,{className:`dc:text-sm dc:font-semibold dc:mb-1`,children:i(`chart.runtime.noValidData`)}),(0,$5.jsx)(`div`,{className:`dc:text-xs text-dc-text-secondary`,children:i(`chart.runtime.noValidDataHint.gauge`)})]})});let m=n?.minValue??0,h=u?J5(t[u]):null,g=n?.maxValue??h??100,_=g===m?m+1:g,v=Y5(c,m,_),y=(v-m)/(_-m),b=f.length>0?Bxe(y,f):r7,x=n?.showCenterLabel??!0,S=n?.showPercentage??!1,C=n?.leftYAxisFormat,w=s.width||300,T=typeof r==`number`?r:s.height||200,E=Math.min(w/2,T*.9)*.85,D=E,O=E*.6,k=w/2,A=T*.7,j=Z5(O,D,e7,t7),M=Z5(O,D,e7,X5(v,m,_)),N=X5(v,m,_),ee=C?a1(c,C):c.toLocaleString(),te=S?`${(y*100).toFixed(1)}%`:ee,ne=a(l);return(0,$5.jsx)(`div`,{ref:o,className:`dc:relative dc:w-full`,style:{height:r},children:(0,$5.jsx)(`svg`,{width:`100%`,height:`100%`,viewBox:`0 0 ${w} ${T}`,preserveAspectRatio:`xMidYMid meet`,\"data-testid\":`gauge-svg`,children:(0,$5.jsxs)(`g`,{transform:`translate(${k}, ${A})`,children:[(0,$5.jsx)(`path`,{d:j,fill:n7,\"data-testid\":`gauge-track`}),p.map((e,t)=>(0,$5.jsx)(`path`,{d:Z5(D+4,D+8,e.start,e.end),fill:e.color,\"data-testid\":`gauge-band-${t}`},t)),(0,$5.jsx)(`path`,{d:M,fill:b,\"data-testid\":`gauge-fill`,\"data-fraction\":y.toFixed(4)}),(0,$5.jsx)(Vxe,{angle:N,radius:E}),x&&(0,$5.jsxs)(`g`,{\"data-testid\":`gauge-label`,children:[(0,$5.jsx)(`text`,{textAnchor:`middle`,dominantBaseline:`middle`,fontSize:E*.22,fontWeight:`bold`,fill:`currentColor`,dy:E*.12,\"data-testid\":`gauge-value-text`,children:te}),(0,$5.jsx)(`text`,{textAnchor:`middle`,fontSize:E*.13,fill:`currentColor`,className:`text-dc-text-secondary`,dy:E*.34,children:ne})]}),(0,$5.jsx)(`text`,{x:Math.cos(e7-Math.PI/2)*(D+14),y:Math.sin(e7-Math.PI/2)*(D+14),textAnchor:`middle`,fontSize:E*.12,fill:`currentColor`,className:`text-dc-text-secondary`,\"data-testid\":`gauge-min-label`,children:C?a1(m,C):m.toLocaleString()}),(0,$5.jsx)(`text`,{x:Math.cos(t7-Math.PI/2)*(D+14),y:Math.sin(t7-Math.PI/2)*(D+14),textAnchor:`middle`,fontSize:E*.12,fill:`currentColor`,className:`text-dc-text-secondary`,\"data-testid\":`gauge-max-label`,children:C?a1(_,C):_.toLocaleString()})]})})})}catch(e){return(0,$5.jsx)(`div`,{className:`dc:flex dc:flex-col dc:items-center dc:justify-center dc:w-full text-dc-error dc:p-4`,style:{height:r},children:(0,$5.jsxs)(`div`,{className:`dc:text-center`,children:[(0,$5.jsx)(`div`,{className:`dc:text-sm dc:font-semibold dc:mb-1`,children:i(`chart.runtime.chartError`,{chartType:`Gauge Chart`})}),(0,$5.jsx)(`div`,{className:`dc:text-xs dc:mb-2`,children:e instanceof Error?e.message:i(`chart.runtime.unknownError`)}),(0,$5.jsx)(`div`,{className:`dc:text-xs text-dc-text-muted`,children:i(`chart.runtime.checkConfig`)})]})})}})})),a7,Uxe=o((()=>{a7={width:24,height:24,hidden:!0,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"m4.5 19.5l15-15m-15 0l15 15\"/>`}})),o7,Wxe=o((()=>{o7={width:24,height:24,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 4v16m8-8H4\"/>`}})),s7,Gxe=o((()=>{s7={width:24,height:24,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m15.232 5.232l3.536 3.536m-2.036-5.036a2.5 2.5 0 1 1 3.536 3.536L6.5 21.036H3v-3.572L16.732 3.732Z\"/>`}})),c7,Kxe=o((()=>{c7={width:24,height:24,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m19 7l-.867 12.142A2 2 0 0 1 16.138 21H7.862a2 2 0 0 1-1.995-1.858L5 7m5 4v6m4-6v6m1-10V4a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v3M4 7h16\"/>`}})),l7,qxe=o((()=>{l7={width:24,height:24,hidden:!0,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"M4.5 12c0-1.232.046-2.453.138-3.662a4.006 4.006 0 0 1 3.7-3.7a48.678 48.678 0 0 1 7.324 0a4.006 4.006 0 0 1 3.7 3.7c.017.22.032.441.046.662M4.5 12l-3-3m3 3l3-3m12 3c0 1.232-.046 2.453-.138 3.662a4.006 4.006 0 0 1-3.7 3.7a48.657 48.657 0 0 1-7.324 0a4.006 4.006 0 0 1-3.7-3.7c-.017-.22-.032-.441-.046-.662M19.5 12l-3 3m3-3l3 3\"/>`}})),u7,Jxe=o((()=>{u7={width:24,height:24,hidden:!0,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"M8.25 7.5V6.108c0-1.135.845-2.098 1.976-2.192c.373-.03.748-.057 1.123-.08M15.75 18H18a2.25 2.25 0 0 0 2.25-2.25V6.108c0-1.135-.845-2.098-1.976-2.192a48.424 48.424 0 0 0-1.123-.08M15.75 18.75v-1.875a3.375 3.375 0 0 0-3.375-3.375h-1.5a1.125 1.125 0 0 1-1.125-1.125v-1.5A3.375 3.375 0 0 0 6.375 7.5H5.25m11.9-3.664A2.251 2.251 0 0 0 15 2.25h-1.5a2.251 2.251 0 0 0-2.15 1.586m5.8 0c.065.21.1.433.1.664v.75h-6V4.5c0-.231.035-.454.1-.664M6.75 7.5H4.875c-.621 0-1.125.504-1.125 1.125v12c0 .621.504 1.125 1.125 1.125h9.75c.621 0 1.125-.504 1.125-1.125V16.5a9 9 0 0 0-9-9Z\"/>`}})),d7,Yxe=o((()=>{d7={width:24,height:24,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M8 7v8a2 2 0 0 0 2 2h6M8 7V5a2 2 0 0 1 2-2h4.586a1 1 0 0 1 .707.293l4.414 4.414a1 1 0 0 1 .293.707V15a2 2 0 0 1-2 2h-2M8 7H6a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2v-2\"/>`}})),f7,Xxe=o((()=>{f7={width:24,height:24,body:`<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><path d=\"M10.325 4.317c.426-1.756 2.924-1.756 3.35 0a1.724 1.724 0 0 0 2.573 1.066c1.543-.94 3.31.826 2.37 2.37a1.724 1.724 0 0 0 1.065 2.572c1.756.426 1.756 2.924 0 3.35a1.724 1.724 0 0 0-1.066 2.573c.94 1.543-.826 3.31-2.37 2.37a1.724 1.724 0 0 0-2.572 1.065c-.426 1.756-2.924 1.756-3.35 0a1.724 1.724 0 0 0-2.573-1.066c-1.543.94-3.31-.826-2.37-2.37a1.724 1.724 0 0 0-1.065-2.572c-1.756-.426-1.756-2.924 0-3.35a1.724 1.724 0 0 0 1.066-2.573c-.94-1.543.826-3.31 2.37-2.37c.996.608 2.296.07 2.572-1.065Z\"/><path d=\"M15 12a3 3 0 1 1-6 0a3 3 0 0 1 6 0Z\"/></g>`}})),p7,Zxe=o((()=>{p7={width:24,height:24,hidden:!0,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"M12 3c2.755 0 5.455.232 8.083.678c.533.09.917.556.917 1.096v1.044a2.25 2.25 0 0 1-.659 1.591l-5.432 5.432a2.25 2.25 0 0 0-.659 1.591v2.927a2.25 2.25 0 0 1-1.244 2.013L9.75 21v-6.568a2.25 2.25 0 0 0-.659-1.591L3.659 7.409A2.25 2.25 0 0 1 3 5.818V4.774c0-.54.384-1.006.917-1.096A48.32 48.32 0 0 1 12 3Z\"/>`}})),m7,Qxe=o((()=>{m7={width:24,height:24,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M8.684 13.342C8.886 12.938 9 12.482 9 12c0-.482-.114-.938-.316-1.342m0 2.684a3 3 0 1 1 0-2.684m0 2.684l6.632 3.316m-6.632-6l6.632-3.316m0 0a3 3 0 1 0 5.367-2.684a3 3 0 0 0-5.367 2.684Zm0 9.316a3 3 0 1 0 5.368 2.684a3 3 0 0 0-5.368-2.684Z\"/>`}})),h7,$xe=o((()=>{h7={width:24,height:24,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m5 15l7-7l7 7\"/>`}})),g7,eSe=o((()=>{g7={width:24,height:24,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m19 9l-7 7l-7-7\"/>`}})),_7,tSe=o((()=>{_7={width:24,height:24,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m15 19l-7-7l7-7\"/>`}})),v7,nSe=o((()=>{v7={width:24,height:24,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m9 5l7 7l-7 7\"/>`}})),y7,rSe=o((()=>{y7={width:24,height:24,hidden:!0,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"m21 21l-5.197-5.197m0 0A7.5 7.5 0 1 0 5.196 5.196a7.5 7.5 0 0 0 10.607 10.607Z\"/>`}})),b7,iSe=o((()=>{b7={width:24,height:24,hidden:!0,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"M3.75 6.75h16.5M3.75 12h16.5m-16.5 5.25h16.5\"/>`}})),x7,aSe=o((()=>{x7={width:24,height:24,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m9 12l2 2l4-4m6 2a9 9 0 1 1-18 0a9 9 0 0 1 18 0Z\"/>`}})),S7,oSe=o((()=>{S7={width:24,height:24,hidden:!0,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"M12 10.5v3.75m-9.303 3.376C1.83 19.126 2.914 21 4.645 21h14.71c1.73 0 2.813-1.874 1.948-3.374L13.949 4.88c-.866-1.501-3.032-1.501-3.898 0L2.697 17.626ZM12 17.25h.007v.008H12v-.008Z\"/>`}})),C7,sSe=o((()=>{C7={width:24,height:24,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 8v4m0 4h.01M21 12a9 9 0 1 1-18 0a9 9 0 0 1 18 0Z\"/>`}})),w7,cSe=o((()=>{w7={width:24,height:24,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 3v4M3 5h4M6 17v4m-2-2h4m5-16l2.286 6.857L21 12l-5.714 2.143L13 21l-2.286-6.857L5 12l5.714-2.143L13 3Z\"/>`}})),T7,lSe=o((()=>{T7={width:24,height:24,body:`<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><path d=\"M15 12a3 3 0 1 1-6 0a3 3 0 0 1 6 0Z\"/><path d=\"M2.458 12C3.732 7.943 7.523 5 12 5c4.478 0 8.268 2.943 9.542 7c-1.274 4.057-5.064 7-9.542 7c-4.477 0-8.268-2.943-9.542-7Z\"/></g>`}})),E7,uSe=o((()=>{E7={width:24,height:24,hidden:!0,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"M3.98 8.223A10.477 10.477 0 0 0 1.934 12c1.292 4.338 5.31 7.5 10.066 7.5c.993 0 1.953-.138 2.863-.395M6.228 6.228A10.45 10.45 0 0 1 12 4.5c4.756 0 8.773 3.162 10.065 7.498a10.523 10.523 0 0 1-4.293 5.774M6.228 6.228L3 3m3.228 3.228l3.65 3.65m7.894 7.894L21 21m-3.228-3.228l-3.65-3.65m0 0a3 3 0 1 0-4.243-4.243m4.242 4.242L9.88 9.88\"/>`}})),D7,dSe=o((()=>{D7={width:24,height:24,hidden:!0,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"M10.5 6h9.75M10.5 6a1.5 1.5 0 1 1-3 0m3 0a1.5 1.5 0 1 0-3 0M3.75 6H7.5m3 12h9.75m-9.75 0a1.5 1.5 0 0 1-3 0m3 0a1.5 1.5 0 0 0-3 0m-3.75 0H7.5m9-6h3.75m-3.75 0a1.5 1.5 0 0 1-3 0m3 0a1.5 1.5 0 0 0-3 0m-9.75 0h9.75\"/>`}})),O7,fSe=o((()=>{O7={width:24,height:24,hidden:!0,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"M9 17.25v1.007a3 3 0 0 1-.879 2.122L7.5 21h9l-.621-.621A3 3 0 0 1 15 18.257V17.25m6-12V15a2.25 2.25 0 0 1-2.25 2.25H5.25A2.25 2.25 0 0 1 3 15V5.25m18 0A2.25 2.25 0 0 0 18.75 3H5.25A2.25 2.25 0 0 0 3 5.25m18 0V12a2.25 2.25 0 0 1-2.25 2.25H5.25A2.25 2.25 0 0 1 3 12V5.25\"/>`}})),k7,pSe=o((()=>{k7={width:24,height:24,hidden:!0,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"M3.375 19.5h17.25m-17.25 0a1.125 1.125 0 0 1-1.125-1.125M3.375 19.5h7.5c.621 0 1.125-.504 1.125-1.125m-9.75 0V5.625m0 12.75v-1.5c0-.621.504-1.125 1.125-1.125m18.375 2.625V5.625m0 12.75c0 .621-.504 1.125-1.125 1.125m1.125-1.125v-1.5c0-.621-.504-1.125-1.125-1.125m0 3.75h-7.5A1.125 1.125 0 0 1 12 18.375m9.75-12.75c0-.621-.504-1.125-1.125-1.125H3.375c-.621 0-1.125.504-1.125 1.125m19.5 0v1.5c0 .621-.504 1.125-1.125 1.125M2.25 5.625v1.5c0 .621.504 1.125 1.125 1.125m0 0h17.25m-17.25 0h7.5c.621 0 1.125.504 1.125 1.125M3.375 8.25c-.621 0-1.125.504-1.125 1.125v1.5c0 .621.504 1.125 1.125 1.125m17.25-3.75h-7.5c-.621 0-1.125.504-1.125 1.125m8.625-1.125c.621 0 1.125.504 1.125 1.125v1.5c0 .621-.504 1.125-1.125 1.125m-17.25 0h7.5m-7.5 0c-.621 0-1.125.504-1.125 1.125v1.5c0 .621.504 1.125 1.125 1.125M12 10.875v-1.5m0 1.5c0 .621-.504 1.125-1.125 1.125M12 10.875c0 .621.504 1.125 1.125 1.125m-2.25 0c.621 0 1.125.504 1.125 1.125M13.125 12h7.5m-7.5 0c-.621 0-1.125.504-1.125 1.125M20.625 12c.621 0 1.125.504 1.125 1.125v1.5c0 .621-.504 1.125-1.125 1.125m-17.25 0h7.5M12 14.625v-1.5m0 1.5c0 .621-.504 1.125-1.125 1.125M12 14.625c0 .621.504 1.125 1.125 1.125m-2.25 0c.621 0 1.125.504 1.125 1.125m0 1.5v-1.5m0 0c0-.621.504-1.125 1.125-1.125m0 0h7.5\"/>`}})),A7,mSe=o((()=>{A7={width:24,height:24,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M13.828 10.172a4 4 0 0 0-5.656 0l-4 4a4 4 0 1 0 5.656 5.656l1.102-1.101m-.758-4.899a4 4 0 0 0 5.656 0l4-4a4 4 0 0 0-5.656-5.656l-1.1 1.1\"/>`}})),j7,hSe=o((()=>{j7={width:24,height:24,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m14 5l7 7m0 0l-7 7m7-7H3\"/>`}})),M7,gSe=o((()=>{M7={width:24,height:24,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 3v1m0 16v1m9-9h-1M4 12H3m15.364 6.364l-.707-.707M6.343 6.343l-.707-.707m12.728 0l-.707.707M6.343 17.657l-.707.707M16 12a4 4 0 1 1-8 0a4 4 0 0 1 8 0Z\"/>`}})),N7,_Se=o((()=>{N7={width:24,height:24,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M20.354 15.354A9 9 0 0 1 8.646 3.646A9.003 9.003 0 0 0 12 21a9.003 9.003 0 0 0 8.354-5.646Z\"/>`}})),P7,vSe=o((()=>{P7={width:24,height:24,hidden:!0,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"M6.75 12a.75.75 0 1 1-1.5 0a.75.75 0 0 1 1.5 0Zm6 0a.75.75 0 1 1-1.5 0a.75.75 0 0 1 1.5 0Zm6 0a.75.75 0 1 1-1.5 0a.75.75 0 0 1 1.5 0Z\"/>`}})),F7,ySe=o((()=>{F7={width:24,height:24,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 12h6m-6 4h6m2 5H7a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5.586a1 1 0 0 1 .707.293l5.414 5.414a1 1 0 0 1 .293.707V19a2 2 0 0 1-2 2Z\"/>`}})),I7,bSe=o((()=>{I7={width:24,height:24,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 6.253v13m0-13C10.832 5.477 9.246 5 7.5 5S4.168 5.477 3 6.253v13C4.168 18.477 5.754 18 7.5 18s3.332.477 4.5 1.253m0-13C13.168 5.477 14.754 5 16.5 5c1.747 0 3.332.477 4.5 1.253v13C19.832 18.477 18.247 18 16.5 18c-1.746 0-3.332.477-4.5 1.253\"/>`}})),L7,xSe=o((()=>{L7={width:24,height:24,hidden:!0,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"M17.25 6.75L22.5 12l-5.25 5.25m-10.5 0L1.5 12l5.25-5.25m7.5-3l-4.5 16.5\"/>`}})),R7,SSe=o((()=>{R7={width:24,height:24,hidden:!0,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"M4.098 19.902a3.75 3.75 0 0 0 5.304 0l6.401-6.402M6.75 21A3.75 3.75 0 0 1 3 17.25V4.125C3 3.504 3.504 3 4.125 3h5.25c.621 0 1.125.504 1.125 1.125v4.072M6.75 21a3.75 3.75 0 0 0 3.75-3.75V8.197M6.75 21h13.125c.621 0 1.125-.504 1.125-1.125v-5.25c0-.621-.504-1.125-1.125-1.125h-4.072M10.5 8.197l2.88-2.88a1.124 1.124 0 0 1 1.59 0l3.712 3.713c.44.44.44 1.152 0 1.59l-2.879 2.88M6.75 17.25h.008v.008H6.75v-.008Z\"/>`}})),z7,CSe=o((()=>{z7={width:24,height:24,body:`<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><path d=\"M3 9a2 2 0 0 1 2-2h.93a2 2 0 0 0 1.664-.89l.812-1.22A2 2 0 0 1 10.07 4h3.86a2 2 0 0 1 1.664.89l.812 1.22A2 2 0 0 0 18.07 7H19a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V9Z\"/><path d=\"M15 13a3 3 0 1 1-6 0a3 3 0 0 1 6 0Z\"/></g>`}})),B7,wSe=o((()=>{B7={width:24,height:24,hidden:!0,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"M3 16.5v2.25A2.25 2.25 0 0 0 5.25 21h13.5A2.25 2.25 0 0 0 21 18.75V16.5M16.5 12L12 16.5m0 0L7.5 12m4.5 4.5V3\"/>`}})),V7,TSe=o((()=>{V7={width:20,height:20,hidden:!0,body:`<path fill=\"currentColor\" d=\"M1 8.25a1.25 1.25 0 1 1 2.5 0v7.5a1.25 1.25 0 1 1-2.5 0v-7.5ZM11 3V1.7c0-.268.14-.526.395-.607A2 2 0 0 1 14 3c0 .995-.182 1.948-.514 2.826c-.204.54.166 1.174.744 1.174h2.52c1.243 0 2.261 1.01 2.146 2.247a23.864 23.864 0 0 1-1.341 5.974C17.153 16.323 16.072 17 14.9 17h-3.192a3 3 0 0 1-1.341-.317l-2.734-1.366A3 3 0 0 0 6.292 15H5V8h.963c.685 0 1.258-.483 1.612-1.068a4.011 4.011 0 0 1 2.166-1.73c.432-.143.853-.386 1.011-.814c.16-.432.248-.9.248-1.388Z\"/>`}})),H7,ESe=o((()=>{H7={width:20,height:20,hidden:!0,body:`<path fill=\"currentColor\" d=\"M18.905 12.75a1.25 1.25 0 0 1-2.5 0v-7.5a1.25 1.25 0 1 1 2.5 0v7.5Zm-10 4.25v1.3c0 .268-.14.526-.395.607A2 2 0 0 1 5.905 17c0-.995.182-1.948.514-2.826c.204-.54-.166-1.174-.744-1.174h-2.52c-1.242 0-2.26-1.01-2.146-2.247c.193-2.08.652-4.082 1.341-5.974C2.752 3.678 3.833 3 5.005 3h3.192a3 3 0 0 1 1.342.317l2.733 1.366A3 3 0 0 0 13.613 5h1.292v7h-.963c-.684 0-1.258.482-1.612 1.068a4.012 4.012 0 0 1-2.165 1.73c-.433.143-.854.386-1.012.814c-.16.432-.248.9-.248 1.388Z\"/>`}})),U7,DSe=o((()=>{U7={width:20,height:20,body:`<path fill=\"currentColor\" d=\"M2 11a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1v-5Zm6-4a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v9a1 1 0 0 1-1 1H9a1 1 0 0 1-1-1V7Zm6-3a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1h-2a1 1 0 0 1-1-1V4Z\"/>`}})),W7,OSe=o((()=>{W7={width:20,height:20,body:`<path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M17.707 9.293a1 1 0 0 1 0 1.414l-7 7a1 1 0 0 1-1.414 0l-7-7A.997.997 0 0 1 2 10V5a3 3 0 0 1 3-3h5c.256 0 .512.098.707.293l7 7ZM5 6a1 1 0 1 0 0-2a1 1 0 0 0 0 2Z\" clip-rule=\"evenodd\"/>`}})),G7,kSe=o((()=>{G7={width:20,height:20,body:`<path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M6 2a1 1 0 0 0-1 1v1H4a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2h-1V3a1 1 0 1 0-2 0v1H7V3a1 1 0 0 0-1-1Zm0 5a1 1 0 0 0 0 2h8a1 1 0 1 0 0-2H6Z\" clip-rule=\"evenodd\"/>`}})),K7,ASe=o((()=>{K7={width:20,height:20,hidden:!0,body:`<path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M2.5 3A1.5 1.5 0 0 0 1 4.5v4A1.5 1.5 0 0 0 2.5 10h6A1.5 1.5 0 0 0 10 8.5v-4A1.5 1.5 0 0 0 8.5 3h-6Zm11 2A1.5 1.5 0 0 0 12 6.5v7a1.5 1.5 0 0 0 1.5 1.5h4a1.5 1.5 0 0 0 1.5-1.5v-7A1.5 1.5 0 0 0 17.5 5h-4Zm-10 7A1.5 1.5 0 0 0 2 13.5v2A1.5 1.5 0 0 0 3.5 17h6a1.5 1.5 0 0 0 1.5-1.5v-2A1.5 1.5 0 0 0 9.5 12h-6Z\" clip-rule=\"evenodd\"/>`}})),q7,jSe=o((()=>{q7={width:20,height:20,body:`<path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M10 18a8 8 0 1 0 0-16a8 8 0 0 0 0 16ZM9.555 7.168A1 1 0 0 0 8 8v4a1 1 0 0 0 1.555.832l3-2a1 1 0 0 0 0-1.664l-3-2Z\" clip-rule=\"evenodd\"/>`}})),J7,MSe=o((()=>{J7={width:20,height:20,body:`<path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M16.707 5.293a1 1 0 0 1 0 1.414l-8 8a1 1 0 0 1-1.414 0l-4-4a1 1 0 0 1 1.414-1.414L8 12.586l7.293-7.293a1 1 0 0 1 1.414 0Z\" clip-rule=\"evenodd\"/>`}})),Y7,NSe=o((()=>{Y7={width:20,height:20,body:`<path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M10 2a1 1 0 0 1 1 1v1.323l3.954 1.582l1.599-.8a1 1 0 0 1 .894 1.79l-1.233.616l1.738 5.42a1 1 0 0 1-.285 1.05A3.989 3.989 0 0 1 15 15a3.989 3.989 0 0 1-2.667-1.019a1 1 0 0 1-.285-1.05l1.715-5.349L11 6.477V16h2a1 1 0 1 1 0 2H7a1 1 0 1 1 0-2h2V6.477L6.237 7.582l1.715 5.349a1 1 0 0 1-.285 1.05A3.989 3.989 0 0 1 5 15a3.989 3.989 0 0 1-2.667-1.019a1 1 0 0 1-.285-1.05l1.738-5.42l-1.233-.617a1 1 0 0 1 .894-1.788l1.599.799L9 4.323V3a1 1 0 0 1 1-1Zm-5 8.274l-.818 2.552c.25.112.526.174.818.174c.292 0 .569-.062.818-.174L5 10.274Zm10 0l-.818 2.552c.25.112.526.174.818.174c.292 0 .569-.062.818-.174L15 10.274Z\" clip-rule=\"evenodd\"/>`}})),X7,PSe=o((()=>{X7={width:20,height:20,hidden:!0,body:`<path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M10 18a8 8 0 1 0 0-16a8 8 0 0 0 0 16Zm.75-11.25a.75.75 0 0 0-1.5 0v4.59L7.3 9.24a.75.75 0 0 0-1.1 1.02l3.25 3.5a.75.75 0 0 0 1.1 0l3.25-3.5a.75.75 0 1 0-1.1-1.02l-1.95 2.1V6.75Z\" clip-rule=\"evenodd\"/>`}})),Z7,FSe=o((()=>{Z7={width:20,height:20,hidden:!0,body:`<path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M10 18a8 8 0 1 0 0-16a8 8 0 0 0 0 16Zm-.75-4.75a.75.75 0 0 0 1.5 0V8.66l1.95 2.1a.75.75 0 1 0 1.1-1.02l-3.25-3.5a.75.75 0 0 0-1.1 0L6.2 9.74a.75.75 0 1 0 1.1 1.02l1.95-2.1v4.59Z\" clip-rule=\"evenodd\"/>`}})),Q7,ISe=o((()=>{Q7={width:20,height:20,hidden:!0,body:`<path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M12.577 4.878a.75.75 0 0 1 .919-.53l4.78 1.281a.75.75 0 0 1 .531.919l-1.281 4.78a.75.75 0 0 1-1.449-.387l.81-3.022a19.407 19.407 0 0 0-5.594 5.203a.75.75 0 0 1-1.139.093L7 10.06l-4.72 4.72a.75.75 0 0 1-1.06-1.061l5.25-5.25a.75.75 0 0 1 1.06 0l3.074 3.073a20.923 20.923 0 0 1 5.545-4.931l-3.042-.815a.75.75 0 0 1-.53-.919Z\" clip-rule=\"evenodd\"/>`}})),$7,LSe=o((()=>{$7={width:20,height:20,body:`<path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M7 2a1 1 0 0 0-.707 1.707L7 4.414v3.758a1 1 0 0 1-.293.707l-4 4C.817 14.769 2.156 18 4.828 18h10.343c2.673 0 4.012-3.231 2.122-5.121l-4-4A1 1 0 0 1 13 8.172V4.414l.707-.707A1 1 0 0 0 13 2H7Zm2 6.172V4h2v4.172a3 3 0 0 0 .879 2.12l1.027 1.028a4 4 0 0 0-2.171.102l-.47.156a4 4 0 0 1-2.53 0l-.563-.187a1.993 1.993 0 0 0-.114-.035l1.063-1.063A3 3 0 0 0 9 8.172Z\" clip-rule=\"evenodd\"/>`}})),e9,RSe=o((()=>{e9={width:20,height:20,hidden:!0,body:`<path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M2 4.75A.75.75 0 0 1 2.75 4h14.5a.75.75 0 0 1 0 1.5H2.75A.75.75 0 0 1 2 4.75Zm0 10.5a.75.75 0 0 1 .75-.75h7.5a.75.75 0 0 1 0 1.5h-7.5a.75.75 0 0 1-.75-.75ZM2 10a.75.75 0 0 1 .75-.75h14.5a.75.75 0 0 1 0 1.5H2.75A.75.75 0 0 1 2 10Z\" clip-rule=\"evenodd\"/>`}})),t9,zSe=o((()=>{t9={width:20,height:20,body:`<g fill=\"currentColor\" fill-rule=\"evenodd\" clip-rule=\"evenodd\"><path d=\"M6.625 2.655A9 9 0 0 1 19 11a1 1 0 1 1-2 0a7 7 0 0 0-9.625-6.492a1 1 0 1 1-.75-1.853ZM4.662 4.959A1 1 0 0 1 4.75 6.37A6.97 6.97 0 0 0 3 11a1 1 0 1 1-2 0a8.97 8.97 0 0 1 2.25-5.953a1 1 0 0 1 1.412-.088Z\"/><path d=\"M5 11a5 5 0 1 1 10 0a1 1 0 1 1-2 0a3 3 0 1 0-6 0c0 1.677-.345 3.276-.968 4.729a1 1 0 1 1-1.838-.789A9.964 9.964 0 0 0 5 11Zm8.921 2.012a1 1 0 0 1 .831 1.145a19.86 19.86 0 0 1-.545 2.436a1 1 0 1 1-1.92-.558c.207-.713.371-1.445.49-2.192a1 1 0 0 1 1.144-.83Z\"/><path d=\"M10 10a1 1 0 0 1 1 1c0 2.236-.46 4.368-1.29 6.304a1 1 0 0 1-1.838-.789A13.952 13.952 0 0 0 9 11a1 1 0 0 1 1-1Z\"/></g>`}})),n9,BSe=o((()=>{n9={width:20,height:20,hidden:!0,body:`<path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M4.25 2A2.25 2.25 0 0 0 2 4.25v11.5A2.25 2.25 0 0 0 4.25 18h11.5A2.25 2.25 0 0 0 18 15.75V4.25A2.25 2.25 0 0 0 15.75 2H4.25ZM15 5.75a.75.75 0 0 0-1.5 0v8.5a.75.75 0 0 0 1.5 0v-8.5Zm-8.5 6a.75.75 0 0 0-1.5 0v2.5a.75.75 0 0 0 1.5 0v-2.5ZM8.584 9a.75.75 0 0 1 .75.75v4.5a.75.75 0 0 1-1.5 0v-4.5a.75.75 0 0 1 .75-.75Zm3.58-1.25a.75.75 0 0 0-1.5 0v6.5a.75.75 0 0 0 1.5 0v-6.5Z\" clip-rule=\"evenodd\"/>`}})),r9,VSe=o((()=>{r9={width:20,height:20,body:`<path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M10 18a8 8 0 1 0 0-16a8 8 0 0 0 0 16Zm1-11a1 1 0 1 0-2 0v2H7a1 1 0 1 0 0 2h2v2a1 1 0 1 0 2 0v-2h2a1 1 0 1 0 0-2h-2V7Z\" clip-rule=\"evenodd\"/>`}})),i9,HSe=o((()=>{i9={width:20,height:20,body:`<path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M9.243 3.03a1 1 0 0 1 .727 1.213L9.53 6h2.94l.56-2.243a1 1 0 1 1 1.94.486L14.53 6H17a1 1 0 1 1 0 2h-2.97l-1 4H15a1 1 0 1 1 0 2h-2.47l-.56 2.242a1 1 0 1 1-1.94-.485L10.47 14H7.53l-.56 2.242a1 1 0 1 1-1.94-.485L5.47 14H3a1 1 0 1 1 0-2h2.97l1-4H5a1 1 0 1 1 0-2h2.47l.56-2.243a1 1 0 0 1 1.213-.727ZM9.03 8l-1 4h2.938l1-4H9.031Z\" clip-rule=\"evenodd\"/>`}})),a9,USe=o((()=>{a9={width:24,height:24,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M3 13a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v6a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1zm6-4a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1h-4a1 1 0 0 1-1-1zm6-4a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v14a1 1 0 0 1-1 1h-4a1 1 0 0 1-1-1zM4 20h14\"/>`}})),o9,WSe=o((()=>{o9={width:24,height:24,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 19h16M4 15l4-6l4 2l4-5l4 4\"/>`}})),s9,GSe=o((()=>{s9={width:24,height:24,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m4 19l4-6l4 2l4-5l4 4v5H4m0-7l3-4l4 2l5-6l4 4\"/>`}})),c9,KSe=o((()=>{c9={width:24,height:24,body:`<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><path d=\"M10 3.2A9 9 0 1 0 20.8 14a1 1 0 0 0-1-1H13a2 2 0 0 1-2-2V4a.9.9 0 0 0-1-.8\"/><path d=\"M15 3.5A9 9 0 0 1 20.5 9H16a1 1 0 0 1-1-1V3.5\"/></g>`}})),l9,qSe=o((()=>{l9={width:24,height:24,body:`<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><path d=\"M3 3v18h18\"/><path d=\"M7 15a2 2 0 1 0 4 0a2 2 0 1 0-4 0m4-10a2 2 0 1 0 4 0a2 2 0 1 0-4 0m5 7a2 2 0 1 0 4 0a2 2 0 1 0-4 0m5-9l-6 1.5m-.887 2.15l2.771 3.695M16 12.5l-5 2\"/></g>`}})),u9,JSe=o((()=>{u9={width:24,height:24,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M3 16a3 3 0 1 0 6 0a3 3 0 1 0-6 0m11 3a2 2 0 1 0 4 0a2 2 0 1 0-4 0M10 7.5a4.5 4.5 0 1 0 9 0a4.5 4.5 0 1 0-9 0\"/>`}})),d9,YSe=o((()=>{d9={width:24,height:24,body:`<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><path d=\"m12 3l9.5 7L18 21H6L2.5 10z\"/><path d=\"m12 7.5l5.5 4L15 17H8.5l-2-5.5z\"/><path d=\"m2.5 10l9.5 3l9.5-3\"/><path d=\"M12 3v10l6 8M6 21l6-8\"/></g>`}})),f9,XSe=o((()=>{f9={width:24,height:24,body:`<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><path d=\"M11 12a1 1 0 1 0 2 0a1 1 0 1 0-2 0\"/><path d=\"M15.51 15.56A5 5 0 1 0 12 17\"/><path d=\"M18.832 17.86A9 9 0 1 0 12 21m0-9v9\"/></g>`}})),p9,ZSe=o((()=>{p9={width:24,height:24,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 6a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2zm8-2v16m-8-5h8m0-3h8m-4 0v8m0-4h4\"/>`}})),m9,h9,g9,QSe=o((()=>{m9={body:`<g fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <rect x=\"3\" y=\"4\" width=\"5\" height=\"3\" rx=\"0.75\"/>\n <rect x=\"16\" y=\"4\" width=\"5\" height=\"3\" rx=\"0.75\"/>\n <rect x=\"16\" y=\"10.5\" width=\"5\" height=\"3\" rx=\"0.75\"/>\n <rect x=\"16\" y=\"17\" width=\"5\" height=\"3\" rx=\"0.75\"/>\n <path d=\"M8 5.5 C11 5.5, 13 5.5, 16 5.5\"/>\n <path d=\"M8 5.5 C10 5.5, 11 7, 12 9 C13 11, 14 12, 16 12\"/>\n <path d=\"M8 5.5 C10 5.5, 11 10, 12 14 C13 17, 14 18.5, 16 18.5\"/>\n </g>`,width:24,height:24},h9={body:`<g fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <rect x=\"2\" y=\"3\" width=\"20\" height=\"4\" rx=\"1\"/>\n <rect x=\"4\" y=\"10\" width=\"16\" height=\"4\" rx=\"1\"/>\n <rect x=\"6\" y=\"17\" width=\"12\" height=\"4\" rx=\"1\"/>\n </g>`,width:24,height:24},g9={body:`<g fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n \\x3C!-- Grid cells representing retention matrix -->\n <rect x=\"3\" y=\"3\" width=\"4\" height=\"4\" rx=\"0.5\"/>\n <rect x=\"10\" y=\"3\" width=\"4\" height=\"4\" rx=\"0.5\"/>\n <rect x=\"17\" y=\"3\" width=\"4\" height=\"4\" rx=\"0.5\"/>\n <rect x=\"3\" y=\"10\" width=\"4\" height=\"4\" rx=\"0.5\"/>\n <rect x=\"10\" y=\"10\" width=\"4\" height=\"4\" rx=\"0.5\"/>\n <rect x=\"17\" y=\"10\" width=\"4\" height=\"4\" rx=\"0.5\"/>\n <rect x=\"3\" y=\"17\" width=\"4\" height=\"4\" rx=\"0.5\"/>\n <rect x=\"10\" y=\"17\" width=\"4\" height=\"4\" rx=\"0.5\"/>\n <rect x=\"17\" y=\"17\" width=\"4\" height=\"4\" rx=\"0.5\"/>\n </g>`,width:24,height:24}})),_9,$Se=o((()=>{_9={width:24,height:24,body:`<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><path d=\"M8.848 14.667L5.5 17.5M12 3v5m4 4h5M3 12a9 9 0 1 0 18 0a9 9 0 1 0-18 0m11.219 3.328L17 19.5\"/><path d=\"M8 12a4 4 0 1 0 8 0a4 4 0 1 0-8 0\"/></g>`}})),v9,eCe=o((()=>{v9={width:24,height:24,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M3 5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5zm0 5h18M10 3v18\"/>`}})),y9,tCe=o((()=>{y9={width:24,height:24,body:`<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><path d=\"M11.795 21H5a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v4m-1 3v4h4\"/><path d=\"M14 18a4 4 0 1 0 8 0a4 4 0 1 0-8 0m1-15v4M7 3v4m-4 4h16\"/></g>`}})),b9,nCe=o((()=>{b9={width:24,height:24,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 17V7l7 10V7m4 10h5m-5-7a2.5 3 0 1 0 5 0a2.5 3 0 1 0-5 0\"/>`}})),x9,rCe=o((()=>{x9={width:24,height:24,body:`<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><path d=\"m3 17l6-6l4 4l8-8\"/><path d=\"M14 7h7v7\"/></g>`}})),S9,iCe=o((()=>{S9={width:24,height:24,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 20h3m7 0h7M6.9 15h6.9m-3.6-8.7L16 20M5 20l6-16h2l7 16\"/>`}})),C9,aCe=o((()=>{C9={width:24,height:24,body:`<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><path d=\"M14 3v4a1 1 0 0 0 1 1h4\"/><path d=\"M17 21H7a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h7l5 5v11a2 2 0 0 1-2 2zM9 9h1m-1 4h6m-6 4h6\"/></g>`}})),w9,oCe=o((()=>{w9={width:24,height:24,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m8 9l4-4l4 4m0 6l-4 4l-4-4\"/>`}})),T9,sCe=o((()=>{T9={width:24,height:24,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M16 6a2 2 0 1 0 4 0a2 2 0 1 0-4 0M4 12a2 2 0 1 0 4 0a2 2 0 1 0-4 0m0 6a2 2 0 1 0 4 0a2 2 0 1 0-4 0m12 0a2 2 0 1 0 4 0a2 2 0 1 0-4 0m-8 0h8m2 2v1m0-18v1M6 20v1m0-11V3m6 0v18m6-13v8M8 12h13m0-6h-1m-4 0H3m0 6h1m16 6h1M3 18h1m2-4v2\"/>`}})),E9,cCe=o((()=>{E9={width:24,height:24,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m9 20l-5.447-2.724A1 1 0 0 1 3 16.382V5.618a1 1 0 0 1 1.447-.894L9 7m0 13l6-3m-6 3V7m6 10l4.553 2.276A1 1 0 0 0 21 18.382V7.618a1 1 0 0 0-.553-.894L15 4m0 13V4m0 0L9 7\"/>`}})),D9,lCe=o((()=>{D9={width:24,height:24,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m20 7l-8-4l-8 4m16 0l-8 4m8-4v10l-8 4m0-10L4 7m8 4v10M4 7v10l8 4\"/>`}})),O9,k9=o((()=>{Uxe(),Wxe(),Gxe(),Kxe(),qxe(),Jxe(),Yxe(),Xxe(),Zxe(),Qxe(),$xe(),eSe(),tSe(),nSe(),rSe(),iSe(),aSe(),oSe(),sSe(),cSe(),lSe(),uSe(),dSe(),fSe(),pSe(),mSe(),hSe(),gSe(),_Se(),vSe(),ySe(),bSe(),xSe(),SSe(),CSe(),wSe(),TSe(),ESe(),DSe(),OSe(),kSe(),ASe(),jSe(),MSe(),NSe(),PSe(),FSe(),ISe(),LSe(),RSe(),zSe(),BSe(),VSe(),HSe(),USe(),WSe(),GSe(),KSe(),qSe(),JSe(),YSe(),XSe(),ZSe(),QSe(),$Se(),eCe(),tCe(),nCe(),rCe(),iCe(),aCe(),y6(),oCe(),sCe(),cCe(),lCe(),O9={close:{icon:a7,category:`action`},add:{icon:o7,category:`action`},edit:{icon:s7,category:`action`},delete:{icon:c7,category:`action`},refresh:{icon:l7,category:`action`},copy:{icon:u7,category:`action`},duplicate:{icon:d7,category:`action`},settings:{icon:f7,category:`action`},filter:{icon:p7,category:`action`},share:{icon:m7,category:`action`},expand:{icon:g7,category:`action`},collapse:{icon:h7,category:`action`},search:{icon:y7,category:`action`},menu:{icon:b7,category:`action`},run:{icon:q7,category:`action`},check:{icon:J7,category:`action`},link:{icon:A7,category:`action`},eye:{icon:T7,category:`action`},eyeOff:{icon:E7,category:`action`},adjustments:{icon:D7,category:`action`},desktop:{icon:O7,category:`action`},table:{icon:k7,category:`action`},sun:{icon:M7,category:`action`},moon:{icon:N7,category:`action`},ellipsisHorizontal:{icon:P7,category:`action`},documentText:{icon:F7,category:`action`},bookOpen:{icon:I7,category:`action`},codeBracket:{icon:L7,category:`action`},swatch:{icon:R7,category:`action`},camera:{icon:z7,category:`action`},thumbUp:{icon:V7,category:`action`},thumbDown:{icon:H7,category:`action`},schemaGraph:{icon:E9,category:`action`},cube:{icon:D9,category:`action`},download:{icon:B7,category:`action`},measure:{icon:U7,category:`field`},dimension:{icon:W7,category:`field`},timeDimension:{icon:G7,category:`field`},segment:{icon:K7,category:`field`},chartBar:{icon:a9,category:`chart`},chartLine:{icon:o9,category:`chart`},chartArea:{icon:s9,category:`chart`},chartPie:{icon:c9,category:`chart`},chartScatter:{icon:l9,category:`chart`},chartBubble:{icon:u9,category:`chart`},chartRadar:{icon:d9,category:`chart`},chartRadialBar:{icon:f9,category:`chart`},chartTreemap:{icon:p9,category:`chart`},chartTable:{icon:v9,category:`chart`},chartActivityGrid:{icon:y9,category:`chart`},chartKpiNumber:{icon:b9,category:`chart`},chartKpiDelta:{icon:x9,category:`chart`},chartKpiText:{icon:S9,category:`chart`},chartMarkdown:{icon:C9,category:`chart`},chartFunnel:{icon:h9,category:`chart`},chartSankey:{icon:m9,category:`chart`},chartSunburst:{icon:_9,category:`chart`},chartHeatmap:{icon:T9,category:`chart`},chartRetention:{icon:g9,category:`chart`},measureCount:{icon:e9,category:`measure`},measureCountDistinct:{icon:t9,category:`measure`},measureCountDistinctApprox:{icon:n9,category:`measure`},measureSum:{icon:r9,category:`measure`},measureAvg:{icon:Y7,category:`measure`},measureMin:{icon:X7,category:`measure`},measureMax:{icon:Z7,category:`measure`},measureRunningTotal:{icon:Q7,category:`measure`},measureCalculated:{icon:$7,category:`measure`},measureNumber:{icon:i9,category:`measure`},success:{icon:x7,category:`state`},warning:{icon:S7,category:`state`},error:{icon:C7,category:`state`},info:{icon:v6,category:`state`},loading:{icon:l7,category:`state`},sparkles:{icon:w7,category:`state`},chevronUp:{icon:h7,category:`navigation`},chevronDown:{icon:g7,category:`navigation`},chevronLeft:{icon:_7,category:`navigation`},chevronRight:{icon:v7,category:`navigation`},chevronUpDown:{icon:w9,category:`navigation`},arrowUp:{icon:Z7,category:`navigation`},arrowDown:{icon:X7,category:`navigation`},arrowRight:{icon:j7,category:`navigation`},arrowPath:{icon:l7,category:`navigation`}}}));function A9(e){let t=F9.get(e);if(t)return t;let n=N9[e];if(!n)return console.warn(`Icon \"${e}\" not found in registry, using fallback`),({className:e,...t})=>(0,M9.jsx)(g6,{icon:N9.info.icon,className:e,...t});let r=({className:e,...t})=>(0,M9.jsx)(g6,{icon:n.icon,className:e,...t});return F9.set(e,r),r}function uCe(e){return A9({count:`measureCount`,countDistinct:`measureCountDistinct`,countDistinctApprox:`measureCountDistinctApprox`,sum:`measureSum`,avg:`measureAvg`,min:`measureMin`,max:`measureMax`,runningTotal:`measureRunningTotal`,calculated:`measureCalculated`,number:`measureNumber`}[e||``]||`measureCount`)}function j9(e){let t={bar:`chartBar`,line:`chartLine`,area:`chartArea`,pie:`chartPie`,scatter:`chartScatter`,bubble:`chartBubble`,radar:`chartRadar`,radialBar:`chartRadialBar`,treemap:`chartTreemap`,table:`chartTable`,activityGrid:`chartActivityGrid`,kpiNumber:`chartKpiNumber`,kpiDelta:`chartKpiDelta`,kpiText:`chartKpiText`,markdown:`chartMarkdown`,funnel:`chartFunnel`,sankey:`chartSankey`,sunburst:`chartSunburst`,heatmap:`chartHeatmap`}[e];if(t)return A9(t);if(P9){let t=P9(e);if(t)return t}return A9(`chartBar`)}var M9,N9,P9,F9,dCe=o((()=>{_6(),k9(),M9=wu(),N9={...O9},P9=null,F9=new Map})),I9,fCe=o((()=>{f(),Ube(),D1(),wu(),I9=()=>new O8({defaultOptions:{queries:{staleTime:300*1e3,gcTime:900*1e3,retry:3,refetchOnWindowFocus:!1}}}),I9()})),L9=o((()=>{dCe(),k9()}));function pCe(e){if(!e)return[];let t=[];return e.dimensions&&t.push(...e.dimensions),e.timeDimensions&&e.timeDimensions.forEach(e=>{t.includes(e.dimension)||t.push(e.dimension)}),e.measures&&t.push(...e.measures),t}function mCe(e,t){if(!e?.timeDimensions?.length)return null;let n=e.timeDimensions.find(e=>e.granularity);if(!n?.granularity||!e.measures?.length)return null;let r,i;if(t&&t.length>0){r=t.filter(t=>!(t===n.dimension||e.measures?.includes(t)));let a=t.filter(t=>e.measures?.includes(t));i=a.length>0?a:e.measures}else r=e.dimensions||[],i=e.measures;return i.length===0?null:{timeDimension:n.dimension,granularity:n.granularity,dimensions:r,measures:i}}function hCe(e,t,n){let r=new Set;return e.forEach(e=>{let i=e[t];if(i!=null){let e=o1(i,n);r.add(e)}}),Array.from(r).sort()}function gCe(e,t,n){let r=[];return e.measures.length>1&&r.push({key:`__measure__`,label:`Measure`,isTimeColumn:!1,isMeasureColumn:!0}),e.dimensions.forEach(e=>{r.push({key:e,label:n(e),isTimeColumn:!1})}),t.forEach(e=>{r.push({key:e,label:e,isTimeColumn:!0})}),r}function _Ce(e,t){let n=new Map;return e.forEach(e=>{let r=t.dimensions.length>0?t.dimensions.map(t=>String(e[t]??``)).join(`|`):`__all__`;n.has(r)||n.set(r,new Map);let i=e[t.timeDimension];if(i!=null){let a=o1(i,t.granularity);n.get(r).set(a,e)}}),n}function vCe(e,t,n,r){let i=_Ce(e,t),a=Array.from(i.keys()),o=[],s=t.measures.length,c=a.length;return t.measures.forEach(e=>{a.forEach((a,l)=>{let u=i.get(a),d=s>1?`${e}|${a}`:a,f={},p=a===`__all__`?[]:a.split(`|`);t.dimensions.forEach((e,t)=>{f[e]=p[t]??``}),s>1&&(f.__measure__=r(e)),n.forEach(t=>{f[t]=u.get(t)?.[e]??null});let m=l===0,h=m&&s>1?c:void 0;o.push({id:d,measureField:e,values:f,isFirstInGroup:m,dimensionRowSpan:h})})}),o}function yCe(e,t,n,r){if(!e||e.length===0)return{isPivoted:!0,columns:[],rows:[]};let i=hCe(e,t.timeDimension,t.granularity);return{isPivoted:!0,columns:gCe(t,i,n),rows:vCe(e,t,i,n)}}function bCe(e,t){if(t?.cubes)for(let n of t.cubes){let t=n.measures.find(t=>t.name===e);if(t)return t.type}}var xCe=o((()=>{l1()}));function SCe({pivotedData:e,height:t,meta:n,leftYAxisFormat:r}){let{t:i}=Au(),{columns:a,rows:o}=e;return a.length===0||o.length===0?(0,B9.jsx)(`div`,{className:`dc:flex dc:items-center dc:justify-center dc:w-full`,style:{height:t},children:(0,B9.jsxs)(`div`,{className:`dc:text-center text-dc-text-muted`,children:[(0,B9.jsx)(`div`,{className:`dc:text-sm dc:font-semibold dc:mb-1`,children:i(`chart.runtime.noData`)}),(0,B9.jsx)(`div`,{className:`dc:text-xs text-dc-text-secondary`,children:i(`chart.runtime.noDataHint.table`)})]})}):(0,B9.jsx)(`div`,{className:`dc:w-full dc:overflow-auto`,style:{height:t},children:(0,B9.jsxs)(`table`,{className:`dc:min-w-full dc:divide-y border-dc-border`,children:[(0,B9.jsx)(`thead`,{className:`bg-dc-surface-secondary dc:sticky dc:top-0`,children:(0,B9.jsx)(`tr`,{children:a.map(e=>(0,B9.jsx)(`th`,{className:`dc:px-3 dc:py-2 dc:text-xs dc:font-medium text-dc-text-muted dc:uppercase dc:tracking-wider dc:whitespace-nowrap ${e.isTimeColumn?`dc:text-right`:`dc:text-left`}`,children:e.label},e.key))})}),(0,B9.jsx)(`tbody`,{className:`bg-dc-surface dc:divide-y border-dc-border`,children:o.map(e=>(0,B9.jsx)(CCe,{row:e,columns:a,meta:n,leftYAxisFormat:r},e.id))})]})})}function CCe({row:e,columns:t,meta:n,leftYAxisFormat:r}){let i=uCe(bCe(e.measureField,n));return(0,B9.jsx)(`tr`,{className:`hover:bg-dc-surface-secondary`,children:t.map(t=>{let n=e.values[t.key];return t.isMeasureColumn?e.isFirstInGroup===!1?null:(0,B9.jsx)(`td`,{className:`dc:px-3 dc:py-2 dc:whitespace-nowrap dc:text-sm text-dc-text dc:align-top`,rowSpan:e.dimensionRowSpan,children:(0,B9.jsxs)(`div`,{className:`dc:flex dc:items-center`,children:[(0,B9.jsx)(i,{className:`dc:w-3.5 dc:h-3.5 dc:mr-1.5 text-dc-text-muted dc:shrink-0`}),(0,B9.jsx)(`span`,{children:n})]})},t.key):t.isTimeColumn?(0,B9.jsx)(`td`,{className:`dc:px-3 dc:py-2 dc:whitespace-nowrap dc:text-sm dc:text-right text-dc-text`,children:R9(n,r)},t.key):(0,B9.jsx)(`td`,{className:`dc:px-3 dc:py-2 dc:whitespace-nowrap dc:text-sm text-dc-text`,children:R9(n)},t.key)})})}function R9(e,t){return e==null?`-`:typeof e==`number`?t?a1(e,t):Number.isInteger(e)?e.toLocaleString():parseFloat(e.toFixed(2)).toLocaleString():typeof e==`boolean`?e?`Yes`:`No`:String(e)}function wCe({data:e,chartConfig:t,queryObject:n,height:r,getFieldLabel:i,leftYAxisFormat:a}){let{t:o}=Au(),s=Object.keys(e[0]||{}),c=(0,z9.useMemo)(()=>{if(t?.xAxis&&t.xAxis.length>0)return t.xAxis.filter(e=>s.includes(e));let e=pCe(n);if(e.length>0){let t=e.filter(e=>s.includes(e)),n=s.filter(e=>!t.includes(e));return[...t,...n]}return s},[t?.xAxis,n,s]);return c.length===0?(0,B9.jsx)(`div`,{className:`dc:flex dc:items-center dc:justify-center dc:w-full`,style:{height:r},children:(0,B9.jsxs)(`div`,{className:`dc:text-center text-dc-text-muted`,children:[(0,B9.jsx)(`div`,{className:`dc:text-sm dc:font-semibold dc:mb-1`,children:`No columns available`}),(0,B9.jsx)(`div`,{className:`dc:text-xs text-dc-text-secondary`,children:o(`chart.runtime.table.invalidStructure`)})]})}):(0,B9.jsx)(`div`,{className:`dc:w-full dc:overflow-auto`,style:{height:r},children:(0,B9.jsxs)(`table`,{className:`dc:min-w-full dc:divide-y border-dc-border`,children:[(0,B9.jsx)(`thead`,{className:`bg-dc-surface-secondary dc:sticky dc:top-0`,children:(0,B9.jsx)(`tr`,{children:c.map(e=>(0,B9.jsx)(`th`,{className:`dc:px-3 dc:py-2 dc:text-left dc:text-xs dc:font-medium text-dc-text-muted dc:uppercase dc:tracking-wider`,children:i(e)},e))})}),(0,B9.jsx)(`tbody`,{className:`bg-dc-surface dc:divide-y border-dc-border`,children:e.map((e,t)=>(0,B9.jsx)(`tr`,{className:`hover:bg-dc-surface-secondary`,children:c.map(t=>(0,B9.jsx)(`td`,{className:`dc:px-3 dc:py-2 dc:whitespace-nowrap dc:text-sm text-dc-text`,children:TCe(e[t],a)},t))},t))})]})})}function TCe(e,t){return e==null?``:typeof e==`number`?t?a1(e,t):e.toLocaleString():typeof e==`boolean`?e?`Yes`:`No`:String(e)}var z9,B9,V9,ECe=o((()=>{z9=u(f(),1),Mu(),fCe(),L9(),xCe(),l1(),B9=wu(),V9=z9.memo(function({data:e,chartConfig:t,displayConfig:n={},queryObject:r,height:i=300}){let{t:a}=Au(),{getFieldLabel:o,meta:s}=Spe(),c=(0,z9.useMemo)(()=>mCe(r,t?.xAxis),[r,t?.xAxis]),l=n?.pivotTimeDimension!==!1,u=(0,z9.useMemo)(()=>!c||!l?null:yCe(e,c,o,s),[e,c,l,o,s]);return!e||e.length===0?(0,B9.jsx)(`div`,{className:`dc:flex dc:items-center dc:justify-center dc:w-full`,style:{height:i},children:(0,B9.jsxs)(`div`,{className:`dc:text-center text-dc-text-muted`,children:[(0,B9.jsx)(`div`,{className:`dc:text-sm dc:font-semibold dc:mb-1`,children:a(`chart.runtime.noData`)}),(0,B9.jsx)(`div`,{className:`dc:text-xs text-dc-text-secondary`,children:a(`chart.runtime.noDataHint.table`)})]})}):u?.isPivoted&&u.columns.length>0?(0,B9.jsx)(SCe,{pivotedData:u,height:i,meta:s,leftYAxisFormat:n?.leftYAxisFormat}):(0,B9.jsx)(wCe,{data:e,chartConfig:t,queryObject:r,height:i,getFieldLabel:o,leftYAxisFormat:n?.leftYAxisFormat})})}));Cpe(),Mpe(),Npe(),Ppe(),Fpe(),Dye(),pbe(),hbe(),gbe(),gxe(),_xe(),vxe(),Sxe(),Cxe(),Exe(),jxe(),Pxe(),Lxe(),zxe(),Hxe(),ECe();function H9(e){return e.measures||[]}function U9(e){return e.dimensions||[]}function W9(e){return e.timeDimensions?.filter(e=>!!e.granularity).map(e=>e.dimension)||[]}function DCe(e){return e.timeDimensions?.map(e=>e.dimension)||[]}function OCe(e){let t=new Set;return e.filter(e=>!e||t.has(e)?!1:(t.add(e),!0))}function kCe(e,t){let n=new Set(t),r=[];for(let t of e)if(!(!t||typeof t!=`object`))for(let e of Object.keys(t))n.has(e)||(n.add(e),r.push(e));return r}function ACe(e,t){let n=OCe([...U9(e),...DCe(e),...H9(e)]);return[...n,...kCe(t,n)]}function jCe(e){let t=H9(e),n=U9(e),r=W9(e),i=[],a=[];return r.length>0?i.push(r[0]):n.length>0&&(i.push(n[0]),a.push(...n.slice(1))),{xAxis:i,yAxis:[...t],series:a}}function MCe(e,t,n){let r=H9(t),i=U9(t),a=W9(t),o=r.length>0,s=i.length>0,c=a.length>0;switch(e){case`table`:case`markdown`:return!0;case`kpiNumber`:case`kpiDelta`:case`kpiText`:case`gauge`:case`measureProfile`:return o;case`bar`:case`line`:case`area`:case`waterfall`:case`boxPlot`:case`candlestick`:return o&&(s||c);case`pie`:case`radialBar`:case`sunburst`:return o&&s&&n<=20;case`scatter`:case`bubble`:return o&&(s||c);case`treemap`:case`funnel`:return o&&s;case`radar`:return o&&s;case`heatmap`:return o&&s;case`sankey`:return o&&i.length>=2;case`activityGrid`:return o&&c;default:return!0}}function NCe(e,t){let n=H9(e),r=U9(e),i=W9(e),a=t.length;return n.length>=1&&r.length===0&&i.length===0&&a<=1?`kpiNumber`:i.length>0&&n.length>=1?`line`:r.length>0&&n.length>=1?a<=10&&n.length===1&&r.length===1?`pie`:a<=30?`bar`:`table`:`table`}function G9(e,t,n){return n===`table`?{chartType:n,xAxis:ACe(e,t),yAxis:[],series:[]}:{chartType:n,...jCe(e)}}L9(),Mu();var K9=wu(),PCe=[`bar`,`line`,`area`,`pie`,`scatter`,`treemap`,`kpiNumber`,`kpiDelta`,`kpiText`,`table`,`radar`,`radialBar`,`bubble`,`funnel`,`waterfall`,`gauge`,`boxPlot`,`candlestick`,`activityGrid`,`measureProfile`];function FCe({selected:e,query:t,rowCount:n,onSelect:r}){let[i,a]=(0,Ao.useState)(!1),{t:o}=Au(),s=e=>{let t=t5[e]?.label;return t?o(t):e},c=j9(e),l=s(e);return(0,K9.jsxs)(`div`,{style:{position:`relative`},children:[(0,K9.jsxs)(`button`,{type:`button`,onClick:()=>a(!i),style:{display:`flex`,alignItems:`center`,gap:6,padding:`4px 10px`,fontSize:12,fontWeight:500,borderRadius:6,border:`1px solid var(--dc-border, #e2e8f0)`,background:`var(--dc-surface, #fff)`,color:`var(--dc-text, #1e293b)`,cursor:`pointer`},children:[(0,K9.jsx)(c,{style:{width:14,height:14,color:`var(--dc-text-secondary, #64748b)`}}),(0,K9.jsx)(`span`,{children:l}),(0,K9.jsx)(`svg`,{width:`10`,height:`10`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,style:{marginLeft:2,color:`var(--dc-text-muted, #94a3b8)`,transform:i?`rotate(180deg)`:void 0,transition:`transform 0.15s`},children:(0,K9.jsx)(`path`,{strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:2,d:`M19 9l-7 7-7-7`})})]}),i&&(0,K9.jsx)(`div`,{style:{position:`absolute`,right:0,zIndex:10,marginTop:4,minWidth:260,maxHeight:320,overflowY:`auto`,background:`var(--dc-surface, #fff)`,border:`1px solid var(--dc-border, #e2e8f0)`,borderRadius:8,boxShadow:`0 4px 12px rgba(0,0,0,0.1)`,padding:6},children:(0,K9.jsx)(`div`,{style:{display:`grid`,gridTemplateColumns:`1fr 1fr`,gap:3},children:PCe.map(i=>{let o=MCe(i,t,n),c=i===e,l=j9(i),u=s(i);return(0,K9.jsxs)(`button`,{type:`button`,onClick:()=>{o&&(r(i),a(!1))},disabled:!o,style:{display:`flex`,alignItems:`center`,gap:5,padding:`4px 8px`,fontSize:11,fontWeight:c?600:400,borderRadius:4,border:`1px solid`,borderColor:c?`var(--dc-primary, #3b82f6)`:`var(--dc-border, #e2e8f0)`,background:c?`var(--dc-surface-secondary, #f9fafb)`:`var(--dc-surface, #fff)`,color:o?c?`var(--dc-primary, #3b82f6)`:`var(--dc-text, #1e293b)`:`var(--dc-text-muted, #94a3b8)`,cursor:o?`pointer`:`not-allowed`,opacity:o?1:.5,textAlign:`left`},children:[(0,K9.jsx)(l,{style:{width:14,height:14,flexShrink:0}}),(0,K9.jsx)(`span`,{style:{overflow:`hidden`,textOverflow:`ellipsis`,whiteSpace:`nowrap`},children:u})]},i)})})})]})}var ICe=z([V(`light`),V(`dark`)]).describe(`Color theme preference for the host environment.`),q9=z([V(`inline`),V(`fullscreen`),V(`pip`)]).describe(`Display mode for UI presentation.`),LCe=B(z([V(`--color-background-primary`),V(`--color-background-secondary`),V(`--color-background-tertiary`),V(`--color-background-inverse`),V(`--color-background-ghost`),V(`--color-background-info`),V(`--color-background-danger`),V(`--color-background-success`),V(`--color-background-warning`),V(`--color-background-disabled`),V(`--color-text-primary`),V(`--color-text-secondary`),V(`--color-text-tertiary`),V(`--color-text-inverse`),V(`--color-text-ghost`),V(`--color-text-info`),V(`--color-text-danger`),V(`--color-text-success`),V(`--color-text-warning`),V(`--color-text-disabled`),V(`--color-border-primary`),V(`--color-border-secondary`),V(`--color-border-tertiary`),V(`--color-border-inverse`),V(`--color-border-ghost`),V(`--color-border-info`),V(`--color-border-danger`),V(`--color-border-success`),V(`--color-border-warning`),V(`--color-border-disabled`),V(`--color-ring-primary`),V(`--color-ring-secondary`),V(`--color-ring-inverse`),V(`--color-ring-info`),V(`--color-ring-danger`),V(`--color-ring-success`),V(`--color-ring-warning`),V(`--font-sans`),V(`--font-mono`),V(`--font-weight-normal`),V(`--font-weight-medium`),V(`--font-weight-semibold`),V(`--font-weight-bold`),V(`--font-text-xs-size`),V(`--font-text-sm-size`),V(`--font-text-md-size`),V(`--font-text-lg-size`),V(`--font-heading-xs-size`),V(`--font-heading-sm-size`),V(`--font-heading-md-size`),V(`--font-heading-lg-size`),V(`--font-heading-xl-size`),V(`--font-heading-2xl-size`),V(`--font-heading-3xl-size`),V(`--font-text-xs-line-height`),V(`--font-text-sm-line-height`),V(`--font-text-md-line-height`),V(`--font-text-lg-line-height`),V(`--font-heading-xs-line-height`),V(`--font-heading-sm-line-height`),V(`--font-heading-md-line-height`),V(`--font-heading-lg-line-height`),V(`--font-heading-xl-line-height`),V(`--font-heading-2xl-line-height`),V(`--font-heading-3xl-line-height`),V(`--border-radius-xs`),V(`--border-radius-sm`),V(`--border-radius-md`),V(`--border-radius-lg`),V(`--border-radius-xl`),V(`--border-radius-full`),V(`--border-width-regular`),V(`--shadow-hairline`),V(`--shadow-sm`),V(`--shadow-md`),V(`--shadow-lg`)]).describe(`CSS variable keys available to MCP apps for theming.`).describe(`Style variables for theming MCP apps.\n\nIndividual style keys are optional - hosts may provide any subset of these values.\nValues are strings containing CSS values (colors, sizes, font stacks, etc.).\n\nNote: This type uses \\`Record<K, string | undefined>\\` rather than \\`Partial<Record<K, string>>\\`\nfor compatibility with Zod schema generation. Both are functionally equivalent for validation.`),z([F(),za()]).describe(`Style variables for theming MCP apps.\n\nIndividual style keys are optional - hosts may provide any subset of these values.\nValues are strings containing CSS values (colors, sizes, font stacks, etc.).\n\nNote: This type uses \\`Record<K, string | undefined>\\` rather than \\`Partial<Record<K, string>>\\`\nfor compatibility with Zod schema generation. Both are functionally equivalent for validation.`)).describe(`Style variables for theming MCP apps.\n\nIndividual style keys are optional - hosts may provide any subset of these values.\nValues are strings containing CSS values (colors, sizes, font stacks, etc.).\n\nNote: This type uses \\`Record<K, string | undefined>\\` rather than \\`Partial<Record<K, string>>\\`\nfor compatibility with Zod schema generation. Both are functionally equivalent for validation.`);R({method:V(`ui/open-link`),params:R({url:F().describe(`URL to open in the host's browser`)})}),R({isError:La().optional().describe(`True if the host failed to open the URL (e.g., due to security policy).`)}).passthrough(),R({isError:La().optional().describe(`True if the download failed (e.g., user cancelled or host denied).`)}).passthrough(),R({isError:La().optional().describe(`True if the host rejected or failed to deliver the message.`)}).passthrough(),R({method:V(`ui/notifications/sandbox-proxy-ready`),params:R({})});var J9=R({connectDomains:L(F()).optional().describe(`Origins for network requests (fetch/XHR/WebSocket).\n\n- Maps to CSP \\`connect-src\\` directive\n- Empty or omitted → no network connections (secure default)`),resourceDomains:L(F()).optional().describe(\"Origins for static resources (images, scripts, stylesheets, fonts, media).\\n\\n- Maps to CSP `img-src`, `script-src`, `style-src`, `font-src`, `media-src` directives\\n- Wildcard subdomains supported: `https://*.example.com`\\n- Empty or omitted → no network resources (secure default)\"),frameDomains:L(F()).optional().describe(\"Origins for nested iframes.\\n\\n- Maps to CSP `frame-src` directive\\n- Empty or omitted → no nested iframes allowed (`frame-src 'none'`)\"),baseUriDomains:L(F()).optional().describe(\"Allowed base URIs for the document.\\n\\n- Maps to CSP `base-uri` directive\\n- Empty or omitted → only same origin allowed (`base-uri 'self'`)\")}),Y9=R({camera:R({}).optional().describe(`Request camera access.\n\nMaps to Permission Policy \\`camera\\` feature.`),microphone:R({}).optional().describe(`Request microphone access.\n\nMaps to Permission Policy \\`microphone\\` feature.`),geolocation:R({}).optional().describe(`Request geolocation access.\n\nMaps to Permission Policy \\`geolocation\\` feature.`),clipboardWrite:R({}).optional().describe(`Request clipboard write access.\n\nMaps to Permission Policy \\`clipboard-write\\` feature.`)});R({method:V(`ui/notifications/size-changed`),params:R({width:I().optional().describe(`New width in pixels.`),height:I().optional().describe(`New height in pixels.`)})}),R({method:V(`ui/notifications/tool-input`),params:R({arguments:B(F(),Ua().describe(`Complete tool call arguments as key-value pairs.`)).optional().describe(`Complete tool call arguments as key-value pairs.`)})}),R({method:V(`ui/notifications/tool-input-partial`),params:R({arguments:B(F(),Ua().describe(`Partial tool call arguments (incomplete, may change).`)).optional().describe(`Partial tool call arguments (incomplete, may change).`)})}),R({method:V(`ui/notifications/tool-cancelled`),params:R({reason:F().optional().describe(`Optional reason for the cancellation (e.g., \"user action\", \"timeout\").`)})});var RCe=R({fonts:F().optional()}),zCe=R({variables:LCe.optional().describe(`CSS variables for theming the app.`),css:RCe.optional().describe(`CSS blocks that apps can inject.`)});R({method:V(`ui/resource-teardown`),params:R({})}),B(F(),Ua());var X9=R({text:R({}).optional().describe(`Host supports text content blocks.`),image:R({}).optional().describe(`Host supports image content blocks.`),audio:R({}).optional().describe(`Host supports audio content blocks.`),resource:R({}).optional().describe(`Host supports resource content blocks.`),resourceLink:R({}).optional().describe(`Host supports resource link content blocks.`),structuredContent:R({}).optional().describe(`Host supports structured content.`)});R({method:V(`ui/notifications/request-teardown`),params:R({}).optional()});var BCe=R({experimental:R({}).optional().describe(`Experimental features (structure TBD).`),openLinks:R({}).optional().describe(`Host supports opening external URLs.`),downloadFile:R({}).optional().describe(`Host supports file downloads via ui/download-file.`),serverTools:R({listChanged:La().optional().describe(`Host supports tools/list_changed notifications.`)}).optional().describe(`Host can proxy tool calls to the MCP server.`),serverResources:R({listChanged:La().optional().describe(`Host supports resources/list_changed notifications.`)}).optional().describe(`Host can proxy resource reads to the MCP server.`),logging:R({}).optional().describe(`Host accepts log messages.`),sandbox:R({permissions:Y9.optional().describe(`Permissions granted by the host (camera, microphone, geolocation).`),csp:J9.optional().describe(`CSP domains approved by the host.`)}).optional().describe(`Sandbox configuration applied by the host.`),updateModelContext:X9.optional().describe(`Host accepts context updates (ui/update-model-context) to be included in the model's context for future turns.`),message:X9.optional().describe(`Host supports receiving content messages (ui/message) from the view.`)}),VCe=R({experimental:R({}).optional().describe(`Experimental features (structure TBD).`),tools:R({listChanged:La().optional().describe(`App supports tools/list_changed notifications.`)}).optional().describe(`App exposes MCP-style tools that the host can call.`),availableDisplayModes:L(q9).optional().describe(`Display modes the app supports.`)});R({method:V(`ui/notifications/initialized`),params:R({}).optional()}),R({csp:J9.optional().describe(`Content Security Policy configuration for UI resources.`),permissions:Y9.optional().describe(`Sandbox permissions requested by the UI resource.`),domain:F().optional().describe(`Dedicated origin for view sandbox.\n\nUseful when views need stable, dedicated origins for OAuth callbacks, CORS policies, or API key allowlists.\n\n**Host-dependent:** The format and validation rules for this field are determined by each host. Servers MUST consult host-specific documentation for the expected domain format. Common patterns include:\n- Hash-based subdomains (e.g., \\`{hash}.claudemcpcontent.com\\`)\n- URL-derived subdomains (e.g., \\`www-example-com.oaiusercontent.com\\`)\n\nIf omitted, host uses default sandbox origin (typically per-conversation).`),prefersBorder:La().optional().describe(`Visual boundary preference - true if view prefers a visible border.\n\nBoolean requesting whether a visible border and background is provided by the host. Specifying an explicit value for this is recommended because hosts' defaults may vary.\n\n- \\`true\\`: request visible border + background\n- \\`false\\`: request no visible border + background\n- omitted: host decides border`)}),R({method:V(`ui/request-display-mode`),params:R({mode:q9.describe(`The display mode being requested.`)})}),R({mode:q9.describe(`The display mode that was actually set. May differ from requested if not supported.`)}).passthrough();var HCe=z([V(`model`),V(`app`)]).describe(`Tool visibility scope - who can access the tool.`);R({resourceUri:F().optional(),visibility:L(HCe).optional().describe(`Who can access this tool. Default: [\"model\", \"app\"]\n- \"model\": Tool visible to and callable by the agent\n- \"app\": Tool callable by the app from this server only`)}),R({mimeTypes:L(F()).optional().describe('Array of supported MIME types for UI resources.\\nMust include `\"text/html;profile=mcp-app\"` for MCP Apps support.')}),R({method:V(`ui/download-file`),params:R({contents:L(z([gc,_c])).describe(`Resource contents to download — embedded (inline data) or linked (host fetches). Uses standard MCP resource types.`)})}),R({method:V(`ui/message`),params:R({role:V(`user`).describe(`Message role, currently only \"user\" is supported.`),content:L(vc).describe(`Message content blocks (text, image, etc.).`)})}),R({method:V(`ui/notifications/sandbox-resource-ready`),params:R({html:F().describe(`HTML content to load into the inner iframe.`),sandbox:F().optional().describe(`Optional override for the inner iframe's sandbox attribute.`),csp:J9.optional().describe(`CSP configuration from resource metadata.`),permissions:Y9.optional().describe(`Sandbox permissions from resource metadata.`)})}),R({method:V(`ui/notifications/tool-result`),params:Ec.describe(`Standard MCP tool execution result.`)});var Z9=R({toolInfo:R({id:Ko.optional().describe(`JSON-RPC id of the tools/call request.`),tool:Cc.describe(`Tool definition including name, inputSchema, etc.`)}).optional().describe(`Metadata of the tool call that instantiated this App.`),theme:ICe.optional().describe(`Current color theme preference.`),styles:zCe.optional().describe(`Style configuration for theming the app.`),displayMode:q9.optional().describe(`How the UI is currently displayed.`),availableDisplayModes:L(q9).optional().describe(`Display modes the host supports.`),containerDimensions:z([R({height:I().describe(`Fixed container height in pixels.`)}),R({maxHeight:z([I(),za()]).optional().describe(`Maximum container height in pixels.`)})]).and(z([R({width:I().describe(`Fixed container width in pixels.`)}),R({maxWidth:z([I(),za()]).optional().describe(`Maximum container width in pixels.`)})])).optional().describe(`Container dimensions. Represents the dimensions of the iframe or other\ncontainer holding the app. Specify either width or maxWidth, and either height or maxHeight.`),locale:F().optional().describe(`User's language and region preference in BCP 47 format.`),timeZone:F().optional().describe(`User's timezone in IANA format.`),userAgent:F().optional().describe(`Host application identifier.`),platform:z([V(`web`),V(`desktop`),V(`mobile`)]).optional().describe(`Platform type for responsive design decisions.`),deviceCapabilities:R({touch:La().optional().describe(`Whether the device supports touch input.`),hover:La().optional().describe(`Whether the device supports hover interactions.`)}).optional().describe(`Device input capabilities.`),safeAreaInsets:R({top:I().describe(`Top safe area inset in pixels.`),right:I().describe(`Right safe area inset in pixels.`),bottom:I().describe(`Bottom safe area inset in pixels.`),left:I().describe(`Left safe area inset in pixels.`)}).optional().describe(`Mobile safe area boundaries in pixels.`)}).passthrough();R({method:V(`ui/notifications/host-context-changed`),params:Z9.describe(`Partial context update containing only changed fields.`)}),R({method:V(`ui/update-model-context`),params:R({content:L(vc).optional().describe(`Context content blocks (text, image, etc.).`),structuredContent:B(F(),Ua().describe(`Structured content for machine-readable context data.`)).optional().describe(`Structured content for machine-readable context data.`)})}),R({method:V(`ui/initialize`),params:R({appInfo:cs.describe(`App identification (name and version).`),appCapabilities:VCe.describe(`Features and capabilities this app provides.`),protocolVersion:F().describe(`Protocol version this app supports.`)})}),R({protocolVersion:F().describe(`Negotiated protocol version string (e.g., \"2025-11-21\").`),hostInfo:cs.describe(`Host application identification and version.`),hostCapabilities:BCe.describe(`Features and capabilities provided by the host.`),hostContext:Z9.describe(`Rich context about the host environment.`)}).passthrough();function UCe(e){let t=document.documentElement;t.setAttribute(`data-theme`,e),t.style.colorScheme=e}function WCe(e,t=document.documentElement){for(let[n,r]of Object.entries(e))r!==void 0&&t.style.setProperty(n,r)}function GCe(e){if(document.getElementById(`__mcp-host-fonts`))return;let t=document.createElement(`style`);t.id=`__mcp-host-fonts`,t.textContent=e,document.head.appendChild(t)}var KCe={\"--color-background-primary\":`--dc-surface`,\"--color-background-secondary\":`--dc-surface-secondary`,\"--color-text-primary\":`--dc-text`,\"--color-text-secondary\":`--dc-text-secondary`,\"--color-text-tertiary\":`--dc-text-muted`,\"--color-border-primary\":`--dc-border`,\"--color-border-secondary\":`--dc-border`,\"--color-accent-primary\":`--dc-accent`,\"--color-accent-secondary\":`--dc-accent-hover`,\"--color-status-error\":`--dc-error`,\"--color-status-success\":`--dc-success`,\"--color-status-warning\":`--dc-warning`};function qCe(e){if(e.theme&&UCe(e.theme),e.styles?.variables&&(WCe(e.styles.variables),JCe()),e.styles?.css?.fonts&&GCe(e.styles.css.fonts),e.safeAreaInsets){let{top:t,right:n,bottom:r,left:i}=e.safeAreaInsets;document.body.style.padding=`${t}px ${n}px ${r}px ${i}px`}}function JCe(){let e=document.documentElement,t=getComputedStyle(e);for(let[n,r]of Object.entries(KCe)){let i=t.getPropertyValue(n).trim();i&&e.style.setProperty(r,i)}}function YCe(){let e=document.documentElement;window.matchMedia(`(prefers-color-scheme: dark)`).matches?(e.style.setProperty(`--dc-surface`,`#1a1a2e`),e.style.setProperty(`--dc-surface-secondary`,`#16213e`),e.style.setProperty(`--dc-text`,`#e0e0e0`),e.style.setProperty(`--dc-text-secondary`,`#a0a0a0`),e.style.setProperty(`--dc-text-muted`,`#707070`),e.style.setProperty(`--dc-border`,`#2a2a4a`),e.style.setProperty(`--dc-accent`,`#6366f1`)):(e.style.setProperty(`--dc-surface`,`#ffffff`),e.style.setProperty(`--dc-surface-secondary`,`#f8fafc`),e.style.setProperty(`--dc-text`,`#1e293b`),e.style.setProperty(`--dc-text-secondary`,`#64748b`),e.style.setProperty(`--dc-text-muted`,`#94a3b8`),e.style.setProperty(`--dc-border`,`#e2e8f0`),e.style.setProperty(`--dc-accent`,`#6366f1`))}ku(),Mu(),D1();var XCe={bar:N1,line:z1,area:H1,pie:G1,scatter:J1,treemap:o3,kpiNumber:D6,kpiDelta:A6,kpiText:N6,table:V9,radar:i5,radialBar:s5,bubble:h5,funnel:w5,waterfall:I5,gauge:i7,boxPlot:k5,candlestick:W5,activityGrid:v5,measureProfile:q5};function ZCe(e){let t={};for(let[n,r]of Object.entries(e?.measures||{}))t[n]=r.title||n.split(`.`)[1]||n;for(let[n,r]of Object.entries(e?.dimensions||{}))t[n]=r.title||n.split(`.`)[1]||n;for(let[n,r]of Object.entries(e?.timeDimensions||{}))t[n]=r.title||n.split(`.`)[1]||n;return t}function Q9(e,t){return t===1?e:`${e}Plural`}function QCe(e,t,n,r){let i=[e(Q9(`mcp.footer.rows`,t),{count:t})];return n>0&&i.push(e(Q9(`mcp.footer.measures`,n),{count:n})),r>0&&i.push(e(Q9(`mcp.footer.dimensions`,r),{count:r})),i.join(` | `)}function $Ce(e){let t=e.split(`.`);return(t.length>1?t[1]:t[0]).replace(/([A-Z])/g,` $1`).replace(/^./,e=>e.toUpperCase()).trim()}function ewe(e,t,n){let r={...t},i={},a=e.type===n;return a&&e.chartConfig&&(r={...r,...e.chartConfig}),e.displayConfig&&(i={...i,...e.displayConfig}),a&&e.xAxis&&(r.xAxis=[e.xAxis]),a&&e.yAxis&&(r.yAxis=e.yAxis),{chartConfig:r,displayConfig:i}}function twe(){let[e,t]=(0,Ao.useState)(null),[n,r]=(0,Ao.useState)(`table`),[i,a]=(0,Ao.useState)({}),[o,s]=(0,Ao.useState)({}),[c,l]=(0,Ao.useState)(`auto`),[u,d]=(0,Ao.useState)(null),f=(0,Ao.useRef)(null),[p,m]=(0,Ao.useState)(null),[h,g]=(0,Ao.useState)(!1),[_,v]=(0,Ao.useState)(null),{t:y}=Au(),b=(0,Ao.useMemo)(()=>e?.annotation?ZCe(e.annotation):{},[e?.annotation]),x=(0,Ao.useMemo)(()=>({meta:null,labelMap:b,metaLoading:!1,metaError:null,getFieldLabel:e=>b[e]||$Ce(e),refetchMeta:()=>{}}),[b]),S=(0,Ao.useCallback)((e,n)=>{try{let i;if(e&&typeof e==`object`&&`content`in e){let t=e.content.find(e=>e.type===`text`);if(t?.text)i=JSON.parse(t.text);else{m(y(`mcp.error.noTextContent`));return}}else i=e&&typeof e==`object`&&`data`in e?e:typeof e==`string`?JSON.parse(e):e;if(i&&`results`in i&&Array.isArray(i.results)){let e=i.results[0];e&&(i={data:e.data||[],query:e.query||i.query,annotation:e.annotation})}if(!i?.data||!Array.isArray(i.data)){m(y(`mcp.error.invalidResultFormat`));return}t(i),m(null);let o=i.query||{},c=n||null,u=NCe(o,i.data),p=c?.type||u,h=G9(o,i.data,p),g={xAxis:h.xAxis,yAxis:h.yAxis,series:h.series};if(f.current=c,d(c),c){let e=ewe(c,g,p);r(p),a(e.chartConfig),s(e.displayConfig),l(`hint`)}else r(h.chartType),a(g),s({}),l(`auto`)}catch(e){m(y(`mcp.error.parseFailed`,{message:e instanceof Error?e.message:String(e)}))}},[y]),{app:C,isConnected:w,error:T}=Jl({appInfo:{name:`Drizzle Cube Visualization`,version:`1.0.0`},capabilities:{},onAppCreated:e=>{v(e),e.ontoolinput=e=>{g(!0);let t=e?.arguments?.chart??null;f.current=t,t&&d(t);let n=e?.structuredContent;n&&(g(!1),S(n,t))},e.ontoolresult=e=>{g(!1),S(e,f.current)},e.onhostcontextchanged=e=>{qCe(e)}}});(0,Ao.useEffect)(()=>{YCe()},[]);let E=(0,Ao.useCallback)(t=>{if(!e)return;let n=G9(e.query||{},e.data||[],t);r(n.chartType),a({xAxis:n.xAxis,yAxis:n.yAxis,series:n.series}),s({}),l(`manual`)},[e]);if(T)return(0,K9.jsxs)(`div`,{style:{padding:16,color:`var(--dc-error, #ef4444)`},children:[(0,K9.jsx)(`strong`,{children:y(`mcp.error.connectionLabel`)}),` `,T.message]});if(p)return(0,K9.jsxs)(`div`,{style:{padding:16,color:`var(--dc-error, #ef4444)`},children:[(0,K9.jsx)(`strong`,{children:y(`mcp.error.errorLabel`)}),` `,p]});if(h||!w)return(0,K9.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,justifyContent:`center`,padding:32,color:`var(--dc-text-secondary, #64748b)`},children:[(0,K9.jsx)(`svg`,{width:`20`,height:`20`,viewBox:`0 0 24 24`,style:{animation:`spin 1s linear infinite`,marginRight:8},children:(0,K9.jsx)(`circle`,{cx:`12`,cy:`12`,r:`10`,stroke:`currentColor`,strokeWidth:`3`,fill:`none`,strokeDasharray:`31.4 31.4`,strokeLinecap:`round`})}),y(w?`mcp.status.loading`:`mcp.status.connecting`),(0,K9.jsx)(`style`,{children:`@keyframes spin { to { transform: rotate(360deg) } }`})]});if(!e)return(0,K9.jsx)(`div`,{style:{display:`flex`,alignItems:`center`,justifyContent:`center`,padding:32,color:`var(--dc-text-muted, #94a3b8)`},children:y(`mcp.status.waiting`)});let D=e.query||{},O=XCe[n]||V9,k=u?.title&&c!==`auto`?u.title:null;return(0,K9.jsx)(E1.Provider,{value:x,children:(0,K9.jsxs)(`div`,{children:[(0,K9.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,justifyContent:`space-between`,marginBottom:8},children:[k?(0,K9.jsx)(`div`,{style:{fontSize:14,fontWeight:600,color:`var(--dc-text, #1e293b)`},children:k}):(0,K9.jsx)(`div`,{}),(0,K9.jsx)(FCe,{selected:n,query:D,rowCount:e.data.length,onSelect:E})]}),(0,K9.jsx)(`div`,{style:{height:360,marginTop:8},children:(0,K9.jsx)(O,{data:e.data,chartConfig:i,displayConfig:o,queryObject:D,height:360})}),(0,K9.jsx)(`div`,{style:{marginTop:12,fontSize:11,color:`var(--dc-text-muted, #94a3b8)`},children:QCe(y,e.data.length,D.measures?.length??0,D.dimensions?.length??0)})]})})}function nwe(){let{defaultLocale:e=`en-GB`,detectBrowserLocale:t=!0}=typeof window<`u`&&window.__DRIZZLE_CUBE_MCP_APP_CONFIG__||{};return t&&typeof navigator<`u`&&navigator.language?navigator.language:e}var $9=typeof document<`u`?document.getElementById(`root`):null;$9&&(0,jo.createRoot)($9).render((0,K9.jsx)(Tu,{locale:nwe(),children:(0,K9.jsx)(twe,{})}));<\/script>\n <style rel=\"stylesheet\" crossorigin>/*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */\n@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-space-y-reverse:0;--tw-space-x-reverse:0;--tw-divide-y-reverse:0;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-ease:initial}}}@layer theme{:root,:host{--dc-font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace;--dc-color-black:#000;--dc-color-white:#fff;--dc-spacing:.25rem;--dc-container-xs:20rem;--dc-container-sm:24rem;--dc-container-md:28rem;--dc-container-lg:32rem;--dc-container-2xl:42rem;--dc-container-4xl:56rem;--dc-container-5xl:64rem;--dc-container-6xl:72rem;--dc-container-7xl:80rem;--dc-text-xs:.75rem;--dc-text-xs--line-height:calc(1 / .75);--dc-text-sm:.875rem;--dc-text-sm--line-height:calc(1.25 / .875);--dc-text-base:1rem;--dc-text-base--line-height:calc(1.5 / 1);--dc-text-lg:1.125rem;--dc-text-lg--line-height:calc(1.75 / 1.125);--dc-text-xl:1.25rem;--dc-text-xl--line-height:calc(1.75 / 1.25);--dc-text-2xl:1.5rem;--dc-text-2xl--line-height:calc(2 / 1.5);--dc-text-3xl:1.875rem;--dc-text-3xl--line-height:calc(2.25 / 1.875);--dc-text-4xl:2.25rem;--dc-text-4xl--line-height:calc(2.5 / 2.25);--dc-text-5xl:3rem;--dc-text-5xl--line-height:1;--dc-font-weight-normal:400;--dc-font-weight-medium:500;--dc-font-weight-semibold:600;--dc-font-weight-bold:700;--dc-tracking-normal:0em;--dc-tracking-wide:.025em;--dc-tracking-wider:.05em;--dc-leading-tight:1.25;--dc-leading-relaxed:1.625;--dc-radius-sm:.25rem;--dc-radius-md:.375rem;--dc-radius-lg:.5rem;--dc-shadow-sm:0 1px 3px 0 #0000001a, 0 1px 2px -1px #0000001a;--dc-shadow-md:0 4px 6px -1px #0000001a, 0 2px 4px -2px #0000001a;--dc-shadow-lg:0 10px 15px -3px #0000001a, 0 4px 6px -4px #0000001a;--dc-shadow-xl:0 20px 25px -5px #0000001a, 0 8px 10px -6px #0000001a;--dc-shadow-2xl:0 25px 50px -12px #00000040;--dc-drop-shadow-sm:0 1px 2px #00000026;--dc-ease-out:cubic-bezier(0, 0, .2, 1);--dc-ease-in-out:cubic-bezier(.4, 0, .2, 1);--dc-animate-spin:spin 1s linear infinite;--dc-animate-pulse:pulse 2s cubic-bezier(.4, 0, .6, 1) infinite;--dc-blur-md:12px;--dc-default-transition-duration:.15s;--dc-default-transition-timing-function:cubic-bezier(.4, 0, .2, 1)}}@layer base,components;@layer utilities{.dc\\:pointer-events-none{pointer-events:none}.dc\\:sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.dc\\:absolute{position:absolute}.dc\\:fixed{position:fixed}.dc\\:relative{position:relative}.dc\\:sticky{position:sticky}.dc\\:inset-0{inset:calc(var(--dc-spacing) * 0)}.dc\\:-top-0\\.5{top:calc(var(--dc-spacing) * -.5)}.dc\\:-top-1{top:calc(var(--dc-spacing) * -1)}.dc\\:-top-5{top:calc(var(--dc-spacing) * -5)}.dc\\:top-0{top:calc(var(--dc-spacing) * 0)}.dc\\:top-0\\.5{top:calc(var(--dc-spacing) * .5)}.dc\\:top-1{top:calc(var(--dc-spacing) * 1)}.dc\\:top-1\\/2{top:50%}.dc\\:top-full{top:100%}.dc\\:-right-0\\.5{right:calc(var(--dc-spacing) * -.5)}.dc\\:right-0{right:calc(var(--dc-spacing) * 0)}.dc\\:right-0\\.5{right:calc(var(--dc-spacing) * .5)}.dc\\:right-1{right:calc(var(--dc-spacing) * 1)}.dc\\:right-4{right:calc(var(--dc-spacing) * 4)}.dc\\:right-full{right:100%}.dc\\:bottom-0{bottom:calc(var(--dc-spacing) * 0)}.dc\\:left-0{left:calc(var(--dc-spacing) * 0)}.dc\\:left-2{left:calc(var(--dc-spacing) * 2)}.dc\\:left-4{left:calc(var(--dc-spacing) * 4)}.dc\\:left-full{left:100%}.dc\\:z-10{z-index:10}.dc\\:z-20{z-index:20}.dc\\:z-30{z-index:30}.dc\\:z-40{z-index:40}.dc\\:z-50{z-index:50}.dc\\:z-\\[60\\]{z-index:60}.dc\\:float-right{float:right}.dc\\:m-0{margin:calc(var(--dc-spacing) * 0)}.dc\\:-mx-2{margin-inline:calc(var(--dc-spacing) * -2)}.dc\\:mx-1{margin-inline:calc(var(--dc-spacing) * 1)}.dc\\:mx-4{margin-inline:calc(var(--dc-spacing) * 4)}.dc\\:mx-auto{margin-inline:auto}.dc\\:my-0\\.5{margin-block:calc(var(--dc-spacing) * .5)}.dc\\:my-1{margin-block:calc(var(--dc-spacing) * 1)}.dc\\:my-2{margin-block:calc(var(--dc-spacing) * 2)}.dc\\:my-3{margin-block:calc(var(--dc-spacing) * 3)}.dc\\:my-4{margin-block:calc(var(--dc-spacing) * 4)}.dc\\:mt-0\\.5{margin-top:calc(var(--dc-spacing) * .5)}.dc\\:mt-1{margin-top:calc(var(--dc-spacing) * 1)}.dc\\:mt-2{margin-top:calc(var(--dc-spacing) * 2)}.dc\\:mt-3{margin-top:calc(var(--dc-spacing) * 3)}.dc\\:mt-4{margin-top:calc(var(--dc-spacing) * 4)}.dc\\:mt-6{margin-top:calc(var(--dc-spacing) * 6)}.dc\\:-mr-2{margin-right:calc(var(--dc-spacing) * -2)}.dc\\:mr-0\\.5{margin-right:calc(var(--dc-spacing) * .5)}.dc\\:mr-1{margin-right:calc(var(--dc-spacing) * 1)}.dc\\:mr-1\\.5{margin-right:calc(var(--dc-spacing) * 1.5)}.dc\\:mr-2{margin-right:calc(var(--dc-spacing) * 2)}.dc\\:mr-3{margin-right:calc(var(--dc-spacing) * 3)}.dc\\:mb-0{margin-bottom:calc(var(--dc-spacing) * 0)}.dc\\:mb-1{margin-bottom:calc(var(--dc-spacing) * 1)}.dc\\:mb-1\\.5{margin-bottom:calc(var(--dc-spacing) * 1.5)}.dc\\:mb-2{margin-bottom:calc(var(--dc-spacing) * 2)}.dc\\:mb-3{margin-bottom:calc(var(--dc-spacing) * 3)}.dc\\:mb-4{margin-bottom:calc(var(--dc-spacing) * 4)}.dc\\:mb-16{margin-bottom:calc(var(--dc-spacing) * 16)}.dc\\:-ml-2{margin-left:calc(var(--dc-spacing) * -2)}.dc\\:ml-0\\.5{margin-left:calc(var(--dc-spacing) * .5)}.dc\\:ml-1{margin-left:calc(var(--dc-spacing) * 1)}.dc\\:ml-1\\.5{margin-left:calc(var(--dc-spacing) * 1.5)}.dc\\:ml-2{margin-left:calc(var(--dc-spacing) * 2)}.dc\\:ml-4{margin-left:calc(var(--dc-spacing) * 4)}.dc\\:ml-5{margin-left:calc(var(--dc-spacing) * 5)}.dc\\:ml-6{margin-left:calc(var(--dc-spacing) * 6)}.dc\\:ml-auto{margin-left:auto}.dc\\:line-clamp-2{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.dc\\:block{display:block}.dc\\:flex{display:flex}.dc\\:grid{display:grid}.dc\\:hidden{display:none}.dc\\:inline-block{display:inline-block}.dc\\:inline-flex{display:inline-flex}.dc\\:h-0\\.5{height:calc(var(--dc-spacing) * .5)}.dc\\:h-1\\.5{height:calc(var(--dc-spacing) * 1.5)}.dc\\:h-2{height:calc(var(--dc-spacing) * 2)}.dc\\:h-2\\.5{height:calc(var(--dc-spacing) * 2.5)}.dc\\:h-3{height:calc(var(--dc-spacing) * 3)}.dc\\:h-3\\.5{height:calc(var(--dc-spacing) * 3.5)}.dc\\:h-4{height:calc(var(--dc-spacing) * 4)}.dc\\:h-5{height:calc(var(--dc-spacing) * 5)}.dc\\:h-6{height:calc(var(--dc-spacing) * 6)}.dc\\:h-8{height:calc(var(--dc-spacing) * 8)}.dc\\:h-10{height:calc(var(--dc-spacing) * 10)}.dc\\:h-12{height:calc(var(--dc-spacing) * 12)}.dc\\:h-64{height:calc(var(--dc-spacing) * 64)}.dc\\:h-96{height:calc(var(--dc-spacing) * 96)}.dc\\:h-\\[60vh\\]{height:60vh}.dc\\:h-\\[90vh\\]{height:90vh}.dc\\:h-full{height:100%}.dc\\:h-px{height:1px}.dc\\:max-h-20{max-height:calc(var(--dc-spacing) * 20)}.dc\\:max-h-32{max-height:calc(var(--dc-spacing) * 32)}.dc\\:max-h-40{max-height:calc(var(--dc-spacing) * 40)}.dc\\:max-h-48{max-height:calc(var(--dc-spacing) * 48)}.dc\\:max-h-56{max-height:calc(var(--dc-spacing) * 56)}.dc\\:max-h-60{max-height:calc(var(--dc-spacing) * 60)}.dc\\:max-h-64{max-height:calc(var(--dc-spacing) * 64)}.dc\\:max-h-72{max-height:calc(var(--dc-spacing) * 72)}.dc\\:max-h-80{max-height:calc(var(--dc-spacing) * 80)}.dc\\:max-h-\\[40\\%\\]{max-height:40%}.dc\\:max-h-\\[80vh\\]{max-height:80vh}.dc\\:max-h-\\[85vh\\]{max-height:85vh}.dc\\:max-h-\\[90vh\\]{max-height:90vh}.dc\\:min-h-0{min-height:calc(var(--dc-spacing) * 0)}.dc\\:min-h-10{min-height:calc(var(--dc-spacing) * 10)}.dc\\:min-h-12{min-height:calc(var(--dc-spacing) * 12)}.dc\\:min-h-16{min-height:calc(var(--dc-spacing) * 16)}.dc\\:min-h-\\[30px\\]{min-height:30px}.dc\\:min-h-\\[48px\\]{min-height:48px}.dc\\:min-h-\\[50vh\\]{min-height:50vh}.dc\\:min-h-\\[100px\\]{min-height:100px}.dc\\:min-h-\\[200px\\]{min-height:200px}.dc\\:min-h-\\[400px\\]{min-height:400px}.dc\\:w-1{width:calc(var(--dc-spacing) * 1)}.dc\\:w-1\\.5{width:calc(var(--dc-spacing) * 1.5)}.dc\\:w-2{width:calc(var(--dc-spacing) * 2)}.dc\\:w-2\\.5{width:calc(var(--dc-spacing) * 2.5)}.dc\\:w-3{width:calc(var(--dc-spacing) * 3)}.dc\\:w-3\\.5{width:calc(var(--dc-spacing) * 3.5)}.dc\\:w-4{width:calc(var(--dc-spacing) * 4)}.dc\\:w-5{width:calc(var(--dc-spacing) * 5)}.dc\\:w-6{width:calc(var(--dc-spacing) * 6)}.dc\\:w-8{width:calc(var(--dc-spacing) * 8)}.dc\\:w-10{width:calc(var(--dc-spacing) * 10)}.dc\\:w-12{width:calc(var(--dc-spacing) * 12)}.dc\\:w-16{width:calc(var(--dc-spacing) * 16)}.dc\\:w-20{width:calc(var(--dc-spacing) * 20)}.dc\\:w-24{width:calc(var(--dc-spacing) * 24)}.dc\\:w-28{width:calc(var(--dc-spacing) * 28)}.dc\\:w-36{width:calc(var(--dc-spacing) * 36)}.dc\\:w-48{width:calc(var(--dc-spacing) * 48)}.dc\\:w-52{width:calc(var(--dc-spacing) * 52)}.dc\\:w-60{width:calc(var(--dc-spacing) * 60)}.dc\\:w-72{width:calc(var(--dc-spacing) * 72)}.dc\\:w-\\[90vw\\]{width:90vw}.dc\\:w-\\[180px\\]{width:180px}.dc\\:w-\\[280px\\]{width:280px}.dc\\:w-full{width:100%}.dc\\:w-px{width:1px}.dc\\:max-w-2xl{max-width:var(--dc-container-2xl)}.dc\\:max-w-4xl{max-width:var(--dc-container-4xl)}.dc\\:max-w-5xl{max-width:var(--dc-container-5xl)}.dc\\:max-w-6xl{max-width:var(--dc-container-6xl)}.dc\\:max-w-7xl{max-width:var(--dc-container-7xl)}.dc\\:max-w-32{max-width:calc(var(--dc-spacing) * 32)}.dc\\:max-w-\\[85\\%\\]{max-width:85%}.dc\\:max-w-\\[100px\\]{max-width:100px}.dc\\:max-w-\\[150px\\]{max-width:150px}.dc\\:max-w-\\[200px\\]{max-width:200px}.dc\\:max-w-\\[280px\\]{max-width:280px}.dc\\:max-w-\\[320px\\]{max-width:320px}.dc\\:max-w-\\[1400px\\]{max-width:1400px}.dc\\:max-w-full{max-width:100%}.dc\\:max-w-lg{max-width:var(--dc-container-lg)}.dc\\:max-w-md{max-width:var(--dc-container-md)}.dc\\:max-w-none{max-width:none}.dc\\:max-w-sm{max-width:var(--dc-container-sm)}.dc\\:max-w-xs{max-width:var(--dc-container-xs)}.dc\\:min-w-0{min-width:calc(var(--dc-spacing) * 0)}.dc\\:min-w-\\[2rem\\]{min-width:2rem}.dc\\:min-w-\\[60px\\]{min-width:60px}.dc\\:min-w-\\[70px\\]{min-width:70px}.dc\\:min-w-\\[80px\\]{min-width:80px}.dc\\:min-w-\\[100px\\]{min-width:100px}.dc\\:min-w-\\[120px\\]{min-width:120px}.dc\\:min-w-\\[180px\\]{min-width:180px}.dc\\:min-w-\\[200px\\]{min-width:200px}.dc\\:min-w-\\[220px\\]{min-width:220px}.dc\\:min-w-\\[260px\\]{min-width:260px}.dc\\:min-w-\\[280px\\]{min-width:280px}.dc\\:min-w-full{min-width:100%}.dc\\:min-w-max{min-width:max-content}.dc\\:flex-1{flex:1}.dc\\:flex-shrink-0,.dc\\:shrink-0{flex-shrink:0}.dc\\:border-collapse{border-collapse:collapse}.dc\\:-translate-x-16{--tw-translate-x:calc(var(--dc-spacing) * -16);translate:var(--tw-translate-x) var(--tw-translate-y)}.dc\\:translate-x-0{--tw-translate-x:calc(var(--dc-spacing) * 0);translate:var(--tw-translate-x) var(--tw-translate-y)}.dc\\:translate-x-16{--tw-translate-x:calc(var(--dc-spacing) * 16);translate:var(--tw-translate-x) var(--tw-translate-y)}.dc\\:-translate-y-1\\/2{--tw-translate-y:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.dc\\:scale-110{--tw-scale-x:110%;--tw-scale-y:110%;--tw-scale-z:110%;scale:var(--tw-scale-x) var(--tw-scale-y)}.dc\\:rotate-180{rotate:180deg}.dc\\:transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.dc\\:animate-pulse{animation:var(--dc-animate-pulse)}.dc\\:animate-spin{animation:var(--dc-animate-spin)}.dc\\:cursor-col-resize{cursor:col-resize}.dc\\:cursor-default{cursor:default}.dc\\:cursor-grab{cursor:grab}.dc\\:cursor-grabbing{cursor:grabbing}.dc\\:cursor-help{cursor:help}.dc\\:cursor-move{cursor:move}.dc\\:cursor-not-allowed{cursor:not-allowed}.dc\\:cursor-pointer{cursor:pointer}.dc\\:cursor-wait{cursor:wait}.dc\\:resize-none{resize:none}.dc\\:resize-y{resize:vertical}.dc\\:list-inside{list-style-position:inside}.dc\\:list-decimal{list-style-type:decimal}.dc\\:list-disc{list-style-type:disc}.dc\\:grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.dc\\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.dc\\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.dc\\:flex-col{flex-direction:column}.dc\\:flex-wrap{flex-wrap:wrap}.dc\\:items-center{align-items:center}.dc\\:items-end{align-items:flex-end}.dc\\:items-start{align-items:flex-start}.dc\\:justify-between{justify-content:space-between}.dc\\:justify-center{justify-content:center}.dc\\:justify-end{justify-content:flex-end}.dc\\:justify-start{justify-content:flex-start}.dc\\:gap-0\\.5{gap:calc(var(--dc-spacing) * .5)}.dc\\:gap-1{gap:calc(var(--dc-spacing) * 1)}.dc\\:gap-1\\.5{gap:calc(var(--dc-spacing) * 1.5)}.dc\\:gap-2{gap:calc(var(--dc-spacing) * 2)}.dc\\:gap-3{gap:calc(var(--dc-spacing) * 3)}.dc\\:gap-4{gap:calc(var(--dc-spacing) * 4)}.dc\\:gap-6{gap:calc(var(--dc-spacing) * 6)}:where(.dc\\:space-y-0\\.5>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--dc-spacing) * .5) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--dc-spacing) * .5) * calc(1 - var(--tw-space-y-reverse)))}:where(.dc\\:space-y-1>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--dc-spacing) * 1) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--dc-spacing) * 1) * calc(1 - var(--tw-space-y-reverse)))}:where(.dc\\:space-y-2>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--dc-spacing) * 2) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--dc-spacing) * 2) * calc(1 - var(--tw-space-y-reverse)))}:where(.dc\\:space-y-3>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--dc-spacing) * 3) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--dc-spacing) * 3) * calc(1 - var(--tw-space-y-reverse)))}:where(.dc\\:space-y-4>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--dc-spacing) * 4) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--dc-spacing) * 4) * calc(1 - var(--tw-space-y-reverse)))}:where(.dc\\:space-y-6>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--dc-spacing) * 6) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--dc-spacing) * 6) * calc(1 - var(--tw-space-y-reverse)))}:where(.dc\\:space-x-0\\.5>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--dc-spacing) * .5) * var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--dc-spacing) * .5) * calc(1 - var(--tw-space-x-reverse)))}:where(.dc\\:space-x-1>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--dc-spacing) * 1) * var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--dc-spacing) * 1) * calc(1 - var(--tw-space-x-reverse)))}:where(.dc\\:space-x-1\\.5>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--dc-spacing) * 1.5) * var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--dc-spacing) * 1.5) * calc(1 - var(--tw-space-x-reverse)))}:where(.dc\\:space-x-2>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--dc-spacing) * 2) * var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--dc-spacing) * 2) * calc(1 - var(--tw-space-x-reverse)))}:where(.dc\\:space-x-3>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--dc-spacing) * 3) * var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--dc-spacing) * 3) * calc(1 - var(--tw-space-x-reverse)))}:where(.dc\\:space-x-4>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--dc-spacing) * 4) * var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--dc-spacing) * 4) * calc(1 - var(--tw-space-x-reverse)))}:where(.dc\\:divide-y>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(1px * var(--tw-divide-y-reverse));border-bottom-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)))}.dc\\:truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.dc\\:overflow-auto{overflow:auto}.dc\\:overflow-hidden{overflow:hidden}.dc\\:overflow-visible{overflow:visible}.dc\\:overflow-x-auto{overflow-x:auto}.dc\\:overflow-y-auto{overflow-y:auto}.dc\\:overflow-y-hidden{overflow-y:hidden}.dc\\:rounded{border-radius:.25rem}.dc\\:rounded-full{border-radius:3.40282e38px}.dc\\:rounded-lg{border-radius:var(--dc-radius-lg)}.dc\\:rounded-md{border-radius:var(--dc-radius-md)}.dc\\:rounded-none{border-radius:0}.dc\\:rounded-sm{border-radius:var(--dc-radius-sm)}.dc\\:rounded-t-lg{border-top-left-radius:var(--dc-radius-lg);border-top-right-radius:var(--dc-radius-lg)}.dc\\:rounded-t-sm{border-top-left-radius:var(--dc-radius-sm);border-top-right-radius:var(--dc-radius-sm)}.dc\\:rounded-b-lg{border-bottom-right-radius:var(--dc-radius-lg);border-bottom-left-radius:var(--dc-radius-lg)}.dc\\:rounded-br-sm{border-bottom-right-radius:var(--dc-radius-sm)}.dc\\:rounded-bl-sm{border-bottom-left-radius:var(--dc-radius-sm)}.dc\\:border{border-style:var(--tw-border-style);border-width:1px}.dc\\:border-2{border-style:var(--tw-border-style);border-width:2px}.dc\\:border-x{border-inline-style:var(--tw-border-style);border-inline-width:1px}.dc\\:border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.dc\\:border-t-2{border-top-style:var(--tw-border-style);border-top-width:2px}.dc\\:border-r{border-right-style:var(--tw-border-style);border-right-width:1px}.dc\\:border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.dc\\:border-b-2{border-bottom-style:var(--tw-border-style);border-bottom-width:2px}.dc\\:border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.dc\\:border-l-4{border-left-style:var(--tw-border-style);border-left-width:4px}.dc\\:border-dashed{--tw-border-style:dashed;border-style:dashed}.dc\\:border-none{--tw-border-style:none;border-style:none}.dc\\:border-solid{--tw-border-style:solid;border-style:solid}.dc\\:border-current{border-color:currentColor}.dc\\:bg-black\\/50{background-color:var(--dc-color-black)}@supports (color:color-mix(in lab, red, red)){.dc\\:bg-black\\/50{background-color:color-mix(in oklab, var(--dc-color-black) 50%, transparent)}}.dc\\:bg-transparent{background-color:#0000}.dc\\:p-0\\.5{padding:calc(var(--dc-spacing) * .5)}.dc\\:p-1{padding:calc(var(--dc-spacing) * 1)}.dc\\:p-1\\.5{padding:calc(var(--dc-spacing) * 1.5)}.dc\\:p-2{padding:calc(var(--dc-spacing) * 2)}.dc\\:p-3{padding:calc(var(--dc-spacing) * 3)}.dc\\:p-4{padding:calc(var(--dc-spacing) * 4)}.dc\\:p-6{padding:calc(var(--dc-spacing) * 6)}.dc\\:p-8{padding:calc(var(--dc-spacing) * 8)}.dc\\:px-1{padding-inline:calc(var(--dc-spacing) * 1)}.dc\\:px-1\\.5{padding-inline:calc(var(--dc-spacing) * 1.5)}.dc\\:px-2{padding-inline:calc(var(--dc-spacing) * 2)}.dc\\:px-2\\.5{padding-inline:calc(var(--dc-spacing) * 2.5)}.dc\\:px-3{padding-inline:calc(var(--dc-spacing) * 3)}.dc\\:px-4{padding-inline:calc(var(--dc-spacing) * 4)}.dc\\:px-6{padding-inline:calc(var(--dc-spacing) * 6)}.dc\\:py-0\\.5{padding-block:calc(var(--dc-spacing) * .5)}.dc\\:py-1{padding-block:calc(var(--dc-spacing) * 1)}.dc\\:py-1\\.5{padding-block:calc(var(--dc-spacing) * 1.5)}.dc\\:py-2{padding-block:calc(var(--dc-spacing) * 2)}.dc\\:py-2\\.5{padding-block:calc(var(--dc-spacing) * 2.5)}.dc\\:py-3{padding-block:calc(var(--dc-spacing) * 3)}.dc\\:py-4{padding-block:calc(var(--dc-spacing) * 4)}.dc\\:py-6{padding-block:calc(var(--dc-spacing) * 6)}.dc\\:py-8{padding-block:calc(var(--dc-spacing) * 8)}.dc\\:py-12{padding-block:calc(var(--dc-spacing) * 12)}.dc\\:pt-1{padding-top:calc(var(--dc-spacing) * 1)}.dc\\:pt-2{padding-top:calc(var(--dc-spacing) * 2)}.dc\\:pt-3{padding-top:calc(var(--dc-spacing) * 3)}.dc\\:pt-4{padding-top:calc(var(--dc-spacing) * 4)}.dc\\:pt-6{padding-top:calc(var(--dc-spacing) * 6)}.dc\\:pr-1{padding-right:calc(var(--dc-spacing) * 1)}.dc\\:pr-2{padding-right:calc(var(--dc-spacing) * 2)}.dc\\:pr-3{padding-right:calc(var(--dc-spacing) * 3)}.dc\\:pb-1{padding-bottom:calc(var(--dc-spacing) * 1)}.dc\\:pb-2{padding-bottom:calc(var(--dc-spacing) * 2)}.dc\\:pb-3{padding-bottom:calc(var(--dc-spacing) * 3)}.dc\\:pb-4{padding-bottom:calc(var(--dc-spacing) * 4)}.dc\\:pb-24{padding-bottom:calc(var(--dc-spacing) * 24)}.dc\\:pl-2{padding-left:calc(var(--dc-spacing) * 2)}.dc\\:pl-3{padding-left:calc(var(--dc-spacing) * 3)}.dc\\:pl-7{padding-left:calc(var(--dc-spacing) * 7)}.dc\\:pl-8{padding-left:calc(var(--dc-spacing) * 8)}.dc\\:text-center{text-align:center}.dc\\:text-left{text-align:left}.dc\\:text-right{text-align:right}.dc\\:align-top{vertical-align:top}.dc\\:font-mono{font-family:var(--dc-font-mono)}.dc\\:text-2xl{font-size:var(--dc-text-2xl);line-height:var(--tw-leading,var(--dc-text-2xl--line-height))}.dc\\:text-3xl{font-size:var(--dc-text-3xl);line-height:var(--tw-leading,var(--dc-text-3xl--line-height))}.dc\\:text-4xl{font-size:var(--dc-text-4xl);line-height:var(--tw-leading,var(--dc-text-4xl--line-height))}.dc\\:text-5xl{font-size:var(--dc-text-5xl);line-height:var(--tw-leading,var(--dc-text-5xl--line-height))}.dc\\:text-base{font-size:var(--dc-text-base);line-height:var(--tw-leading,var(--dc-text-base--line-height))}.dc\\:text-lg{font-size:var(--dc-text-lg);line-height:var(--tw-leading,var(--dc-text-lg--line-height))}.dc\\:text-sm{font-size:var(--dc-text-sm);line-height:var(--tw-leading,var(--dc-text-sm--line-height))}.dc\\:text-xl{font-size:var(--dc-text-xl);line-height:var(--tw-leading,var(--dc-text-xl--line-height))}.dc\\:text-xs{font-size:var(--dc-text-xs);line-height:var(--tw-leading,var(--dc-text-xs--line-height))}.dc\\:text-\\[9px\\]{font-size:9px}.dc\\:text-\\[10px\\]{font-size:10px}.dc\\:text-\\[11px\\]{font-size:11px}.dc\\:leading-none{--tw-leading:1;line-height:1}.dc\\:leading-relaxed{--tw-leading:var(--dc-leading-relaxed);line-height:var(--dc-leading-relaxed)}.dc\\:leading-tight{--tw-leading:var(--dc-leading-tight);line-height:var(--dc-leading-tight)}.dc\\:font-bold{--tw-font-weight:var(--dc-font-weight-bold);font-weight:var(--dc-font-weight-bold)}.dc\\:font-medium{--tw-font-weight:var(--dc-font-weight-medium);font-weight:var(--dc-font-weight-medium)}.dc\\:font-normal{--tw-font-weight:var(--dc-font-weight-normal);font-weight:var(--dc-font-weight-normal)}.dc\\:font-semibold{--tw-font-weight:var(--dc-font-weight-semibold);font-weight:var(--dc-font-weight-semibold)}.dc\\:tracking-normal{--tw-tracking:var(--dc-tracking-normal);letter-spacing:var(--dc-tracking-normal)}.dc\\:tracking-wide{--tw-tracking:var(--dc-tracking-wide);letter-spacing:var(--dc-tracking-wide)}.dc\\:tracking-wider{--tw-tracking:var(--dc-tracking-wider);letter-spacing:var(--dc-tracking-wider)}.dc\\:break-words{overflow-wrap:break-word}.dc\\:text-ellipsis{text-overflow:ellipsis}.dc\\:whitespace-nowrap{white-space:nowrap}.dc\\:whitespace-pre-wrap{white-space:pre-wrap}.dc\\:text-white{color:var(--dc-color-white)}.dc\\:capitalize{text-transform:capitalize}.dc\\:normal-case{text-transform:none}.dc\\:uppercase{text-transform:uppercase}.dc\\:italic{font-style:italic}.dc\\:tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.dc\\:underline{text-decoration-line:underline}.dc\\:opacity-0{opacity:0}.dc\\:opacity-25{opacity:.25}.dc\\:opacity-30{opacity:.3}.dc\\:opacity-40{opacity:.4}.dc\\:opacity-50{opacity:.5}.dc\\:opacity-60{opacity:.6}.dc\\:opacity-70{opacity:.7}.dc\\:opacity-75{opacity:.75}.dc\\:opacity-80{opacity:.8}.dc\\:opacity-90{opacity:.9}.dc\\:opacity-100{opacity:1}.dc\\:shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a), 0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.dc\\:shadow-sm{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.dc\\:shadow-xl{--tw-shadow:0 20px 25px -5px var(--tw-shadow-color,#0000001a), 0 8px 10px -6px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.dc\\:shadow-xs{--tw-shadow:0 1px 2px 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.dc\\:ring-1{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.dc\\:ring-2{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.dc\\:ring-offset-1{--tw-ring-offset-width:1px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.dc\\:drop-shadow-sm{--tw-drop-shadow-size:drop-shadow(0 1px 2px var(--tw-drop-shadow-color,#00000026));--tw-drop-shadow:drop-shadow(var(--dc-drop-shadow-sm));filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.dc\\:grayscale{--tw-grayscale:grayscale(100%);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.dc\\:backdrop-blur-md{--tw-backdrop-blur:blur(var(--dc-blur-md));-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.dc\\:transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--dc-default-transition-timing-function));transition-duration:var(--tw-duration,var(--dc-default-transition-duration))}.dc\\:transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--dc-default-transition-timing-function));transition-duration:var(--tw-duration,var(--dc-default-transition-duration))}.dc\\:transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--dc-default-transition-timing-function));transition-duration:var(--tw-duration,var(--dc-default-transition-duration))}.dc\\:transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--dc-default-transition-timing-function));transition-duration:var(--tw-duration,var(--dc-default-transition-duration))}.dc\\:duration-150{--tw-duration:.15s;transition-duration:.15s}.dc\\:duration-200{--tw-duration:.2s;transition-duration:.2s}.dc\\:duration-300{--tw-duration:.3s;transition-duration:.3s}.dc\\:ease-in-out{--tw-ease:var(--dc-ease-in-out);transition-timing-function:var(--dc-ease-in-out)}.dc\\:ease-out{--tw-ease:var(--dc-ease-out);transition-timing-function:var(--dc-ease-out)}.dc\\:outline-none{--tw-outline-style:none;outline-style:none}.dc\\:select-none{-webkit-user-select:none;user-select:none}.dc\\:ring-inset{--tw-ring-inset:inset}@media (hover:hover){.dc\\:group-hover\\:opacity-100:is(:where(.dc\\:group):hover *){opacity:1}}.dc\\:first\\:rounded-l-sm:first-child{border-top-left-radius:var(--dc-radius-sm);border-bottom-left-radius:var(--dc-radius-sm)}.dc\\:last\\:mb-0:last-child{margin-bottom:calc(var(--dc-spacing) * 0)}.dc\\:last\\:rounded-r-sm:last-child{border-top-right-radius:var(--dc-radius-sm);border-bottom-right-radius:var(--dc-radius-sm)}.dc\\:last\\:border-r-0:last-child{border-right-style:var(--tw-border-style);border-right-width:0}@media (hover:hover){.dc\\:hover\\:scale-110:hover{--tw-scale-x:110%;--tw-scale-y:110%;--tw-scale-z:110%;scale:var(--tw-scale-x) var(--tw-scale-y)}.dc\\:hover\\:underline:hover{text-decoration-line:underline}.dc\\:hover\\:opacity-60:hover{opacity:.6}.dc\\:hover\\:opacity-80:hover{opacity:.8}.dc\\:hover\\:opacity-90:hover{opacity:.9}.dc\\:hover\\:opacity-100:hover{opacity:1}.dc\\:hover\\:shadow-md:hover{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a), 0 2px 4px -2px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}}.dc\\:focus\\:ring-1:focus{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.dc\\:focus\\:ring-2:focus{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.dc\\:focus\\:ring-current:focus{--tw-ring-color:currentcolor}.dc\\:focus\\:ring-offset-1:focus{--tw-ring-offset-width:1px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.dc\\:focus\\:ring-offset-2:focus{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.dc\\:focus\\:outline-none:focus{--tw-outline-style:none;outline-style:none}.dc\\:active\\:cursor-grabbing:active{cursor:grabbing}.dc\\:disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.dc\\:disabled\\:opacity-30:disabled{opacity:.3}.dc\\:disabled\\:opacity-40:disabled{opacity:.4}.dc\\:disabled\\:opacity-50:disabled{opacity:.5}@media (width>=40rem){.dc\\:sm\\:inline{display:inline}.dc\\:sm\\:w-32{width:calc(var(--dc-spacing) * 32)}.dc\\:sm\\:w-40{width:calc(var(--dc-spacing) * 40)}.dc\\:sm\\:flex-initial{flex:0 auto}.dc\\:sm\\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.dc\\:sm\\:flex-row{flex-direction:row}.dc\\:sm\\:items-center{align-items:center}.dc\\:sm\\:justify-start{justify-content:flex-start}.dc\\:sm\\:opacity-0{opacity:0}@media (hover:hover){.dc\\:sm\\:group-hover\\:opacity-100:is(:where(.dc\\:group):hover *){opacity:1}}}@media (width>=48rem){.dc\\:md\\:block{display:block}.dc\\:md\\:flex{display:flex}.dc\\:md\\:hidden{display:none}.dc\\:md\\:h-\\[80vh\\]{height:80vh}.dc\\:md\\:h-\\[90vh\\]{height:90vh}.dc\\:md\\:max-h-\\[700px\\]{max-height:700px}.dc\\:md\\:w-80{width:calc(var(--dc-spacing) * 80)}.dc\\:md\\:w-\\[900px\\]{width:900px}.dc\\:md\\:w-\\[min\\(90vw\\,1400px\\)\\]{width:min(90vw,1400px)}.dc\\:md\\:max-w-\\[900px\\]{max-width:900px}.dc\\:md\\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.dc\\:md\\:items-center{align-items:center}.dc\\:md\\:justify-center{justify-content:center}.dc\\:md\\:gap-3{gap:calc(var(--dc-spacing) * 3)}.dc\\:md\\:rounded-lg{border-radius:var(--dc-radius-lg)}.dc\\:md\\:px-4{padding-inline:calc(var(--dc-spacing) * 4)}.dc\\:md\\:px-6{padding-inline:calc(var(--dc-spacing) * 6)}.dc\\:md\\:py-3{padding-block:calc(var(--dc-spacing) * 3)}.dc\\:md\\:py-4{padding-block:calc(var(--dc-spacing) * 4)}.dc\\:md\\:pt-6{padding-top:calc(var(--dc-spacing) * 6)}.dc\\:md\\:pb-4{padding-bottom:calc(var(--dc-spacing) * 4)}}@media (width>=64rem){.dc\\:lg\\:col-span-2{grid-column:span 2/span 2}.dc\\:lg\\:flex{display:flex}.dc\\:lg\\:inline{display:inline}.dc\\:lg\\:h-\\[var\\(--dc-max-h\\)\\]{height:var(--dc-max-h)}.dc\\:lg\\:h-auto{height:auto}.dc\\:lg\\:h-full{height:100%}.dc\\:lg\\:max-h-\\[var\\(--dc-max-h\\)\\]{max-height:var(--dc-max-h)}.dc\\:lg\\:w-96{width:calc(var(--dc-spacing) * 96)}.dc\\:lg\\:flex-1{flex:1}.dc\\:lg\\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.dc\\:lg\\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.dc\\:lg\\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.dc\\:lg\\:flex-row{flex-direction:row}.dc\\:lg\\:overflow-hidden{overflow:hidden}.dc\\:lg\\:border-r{border-right-style:var(--tw-border-style);border-right-width:1px}.dc\\:lg\\:border-b-0{border-bottom-style:var(--tw-border-style);border-bottom-width:0}}.bg-dc-surface{background-color:var(--dc-surface)}.bg-dc-surface-secondary{background-color:var(--dc-surface-secondary)}.bg-dc-surface-tertiary{background-color:var(--dc-surface-tertiary)}.bg-dc-surface-hover{background-color:var(--dc-surface-hover)}.text-dc-text{color:var(--dc-text)}.text-dc-text-secondary{color:var(--dc-text-secondary)}.text-dc-text-muted{color:var(--dc-text-muted)}.text-dc-text-disabled{color:var(--dc-text-disabled)}.border-dc-border{border-color:var(--dc-border)}.border-dc-border-secondary{border-color:var(--dc-border-secondary)}.border-dc-border-hover{border-color:var(--dc-border-hover)}.bg-dc-primary{background-color:var(--dc-primary)}.bg-dc-primary-hover{background-color:var(--dc-primary-hover)}.text-dc-primary{color:var(--dc-primary)}.text-dc-primary-content{color:var(--dc-primary-content)}.border-dc-primary{border-color:var(--dc-primary)}.ring-dc-primary{--tw-ring-color:var(--dc-primary)}.bg-dc-success{background-color:var(--dc-success)}.bg-dc-success-bg{background-color:var(--dc-success-bg)}.text-dc-success{color:var(--dc-success)}.border-dc-success{border-color:var(--dc-success)}.border-dc-success-border{border-color:var(--dc-success-border)}.bg-dc-warning{background-color:var(--dc-warning)}.bg-dc-warning-bg{background-color:var(--dc-warning-bg)}.text-dc-warning{color:var(--dc-warning)}.border-dc-warning{border-color:var(--dc-warning)}.border-dc-warning-border{border-color:var(--dc-warning-border)}.bg-dc-error{background-color:var(--dc-error)}.bg-dc-error-bg{background-color:var(--dc-error-bg)}.text-dc-error{color:var(--dc-error)}.border-dc-error{border-color:var(--dc-error)}.border-dc-error-border{border-color:var(--dc-error-border)}.bg-dc-info{background-color:var(--dc-info)}.bg-dc-info-bg{background-color:var(--dc-info-bg)}.text-dc-info{color:var(--dc-info)}.border-dc-info{border-color:var(--dc-info)}.border-dc-info-border{border-color:var(--dc-info-border)}.bg-dc-danger{background-color:var(--dc-danger)}.bg-dc-danger-bg{background-color:var(--dc-danger-bg)}.bg-dc-danger-hover{background-color:var(--dc-danger-hover)}.text-dc-danger{color:var(--dc-danger)}.border-dc-danger{border-color:var(--dc-danger)}.bg-dc-accent{background-color:var(--dc-accent)}.bg-dc-accent-bg{background-color:var(--dc-accent-bg)}.bg-dc-accent-hover{background-color:var(--dc-accent-hover)}.text-dc-accent{color:var(--dc-accent)}.text-dc-accent-text{color:var(--dc-accent-text)}.border-dc-accent{border-color:var(--dc-accent)}.border-dc-accent-border{border-color:var(--dc-accent-border)}.ring-dc-accent{--tw-ring-color:var(--dc-accent)}.bg-dc-card-bg{background-color:var(--dc-card-bg)}.bg-dc-card-bg-hover{background-color:var(--dc-card-bg-hover)}.border-dc-card-border{border-color:var(--dc-card-border)}.border-dc-card-border-hover{border-color:var(--dc-card-border-hover)}.bg-dc-muted{background-color:var(--dc-muted)}.bg-dc-muted-bg{background-color:var(--dc-muted-bg)}.text-dc-muted{color:var(--dc-muted)}.border-dc-muted{border-color:var(--dc-muted)}.border-dc-muted-border{border-color:var(--dc-muted-border)}.bg-dc-dimension{background-color:var(--dc-dimension-bg)}.text-dc-dimension,.text-dc-dimension-text{color:var(--dc-dimension-text)}.border-dc-dimension{border-color:var(--dc-dimension-border)}.bg-dc-time-dimension{background-color:var(--dc-time-dimension-bg)}.text-dc-time-dimension,.text-dc-time-dimension-text{color:var(--dc-time-dimension-text)}.border-dc-time-dimension{border-color:var(--dc-time-dimension-border)}.bg-dc-measure{background-color:var(--dc-measure-bg)}.text-dc-measure,.text-dc-measure-text{color:var(--dc-measure-text)}.border-dc-measure{border-color:var(--dc-measure-border)}.bg-dc-filter{background-color:var(--dc-filter-bg)}.text-dc-filter,.text-dc-filter-text{color:var(--dc-filter-text)}.border-dc-filter{border-color:var(--dc-filter-border)}.hover\\:bg-dc-surface-hover:hover{background-color:var(--dc-surface-hover)}.hover\\:border-dc-border-hover:hover{border-color:var(--dc-border-hover)}.hover\\:bg-dc-primary-hover:hover{background-color:var(--dc-primary-hover)}.hover\\:bg-dc-danger-hover:hover{background-color:var(--dc-danger-hover)}.hover\\:bg-dc-accent-hover:hover{background-color:var(--dc-accent-hover)}.hover\\:border-dc-accent:hover{border-color:var(--dc-accent)}.hover\\:bg-dc-card-bg-hover:hover{background-color:var(--dc-card-bg-hover)}.hover\\:border-dc-card-border-hover:hover{border-color:var(--dc-card-border-hover)}.hover\\:text-dc-primary:hover{color:var(--dc-primary)}.hover\\:text-dc-accent:hover{color:var(--dc-accent)}.hover\\:text-dc-danger:hover{color:var(--dc-danger)}.focus\\:ring-dc-primary:focus{--tw-ring-color:var(--dc-primary)}.focus\\:ring-dc-accent:focus{--tw-ring-color:var(--dc-accent)}.focus\\:border-dc-primary:focus{border-color:var(--dc-primary)}.focus\\:border-dc-accent:focus{border-color:var(--dc-accent)}.placeholder-dc-text-muted::placeholder{color:var(--dc-text-muted)}.placeholder-dc-text-disabled::placeholder{color:var(--dc-text-disabled)}}:root{--dc-surface:#fff;--dc-surface-secondary:#f9fafb;--dc-surface-tertiary:#f3f4f6;--dc-surface-hover:#f3f4f6;--dc-text:#111827;--dc-text-secondary:#374151;--dc-text-muted:#6b7280;--dc-text-disabled:#9ca3af;--dc-border:#e5e7eb;--dc-border-secondary:#d1d5db;--dc-border-hover:#d1d5db;--dc-primary:#3b82f6;--dc-primary-hover:#2563eb;--dc-primary-content:#fff;--dc-success:#10b981;--dc-success-bg:#d1fae5;--dc-success-border:#6ee7b7;--dc-warning:#f59e0b;--dc-warning-bg:#fef3c7;--dc-warning-border:#fcd34d;--dc-error:#ef4444;--dc-error-bg:#fee2e2;--dc-error-border:#fca5a5;--dc-info:#3b82f6;--dc-info-bg:#dbeafe;--dc-info-border:#93c5fd;--dc-danger:#dc2626;--dc-danger-hover:#b91c1c;--dc-danger-bg:#fee2e2;--dc-dimension-bg:#bbf7d0;--dc-dimension-text:#15803d;--dc-dimension-border:#86efac;--dc-time-dimension-bg:#bfdbfe;--dc-time-dimension-text:#1d4ed8;--dc-time-dimension-border:#60a5fa;--dc-measure-bg:#fde68a;--dc-measure-text:#b45309;--dc-measure-border:#fbbf24;--dc-filter-bg:#e9d5ff;--dc-filter-text:#7c3aed;--dc-filter-border:#c084fc;--dc-overlay:#000000bf;--dc-overlay-light:#00000080;--dc-shadow-sm:0 1px 2px 0 #0000000d;--dc-shadow:0 1px 3px 0 #0000001a, 0 1px 2px -1px #0000001a;--dc-shadow-md:0 4px 6px -1px #0000001a, 0 2px 4px -2px #0000001a;--dc-shadow-lg:0 10px 15px -3px #0000001a, 0 4px 6px -4px #0000001a;--dc-shadow-xl:0 20px 25px -5px #0000001a, 0 8px 10px -6px #0000001a;--dc-shadow-2xl:0 25px 50px -12px #00000040;--dc-card-bg:#fff;--dc-card-bg-hover:#f9fafb;--dc-card-border:#e5e7eb;--dc-card-border-hover:#d1d5db;--dc-accent:#3b82f6;--dc-accent-hover:#2563eb;--dc-accent-bg:#eff6ff;--dc-accent-border:#93c5fd;--dc-accent-text:#fff;--dc-muted:#6b7280;--dc-muted-bg:#f3f4f6;--dc-muted-border:#e5e7eb;--dc-ai-gradient-start:#faf5ff;--dc-ai-gradient-end:#eef2ff}[data-theme=dark],.dark,html.dark{--dc-surface:#1e293b;--dc-surface-secondary:#334155;--dc-surface-tertiary:#475569;--dc-surface-hover:#475569;--dc-text:#f1f5f9;--dc-text-secondary:#e2e8f0;--dc-text-muted:#cbd5e1;--dc-text-disabled:#94a3b8;--dc-border:#475569;--dc-border-secondary:#64748b;--dc-border-hover:#64748b;--dc-primary:#60a5fa;--dc-primary-hover:#3b82f6;--dc-primary-content:#0c4a6e;--dc-success:#34d399;--dc-success-bg:#064e3b;--dc-success-border:#059669;--dc-warning:#fbbf24;--dc-warning-bg:#78350f;--dc-warning-border:#d97706;--dc-error:#f87171;--dc-error-bg:#7f1d1d;--dc-error-border:#dc2626;--dc-info:#60a5fa;--dc-info-bg:#1e3a8a;--dc-info-border:#2563eb;--dc-danger:#ef4444;--dc-danger-hover:#dc2626;--dc-danger-bg:#7f1d1d;--dc-dimension-bg:#22c55e66;--dc-dimension-text:#4ade80;--dc-dimension-border:#22c55e;--dc-time-dimension-bg:#3b82f666;--dc-time-dimension-text:#60a5fa;--dc-time-dimension-border:#3b82f6;--dc-measure-bg:#f59e0b66;--dc-measure-text:#fbbf24;--dc-measure-border:#f59e0b;--dc-filter-bg:#8b5cf666;--dc-filter-text:#c084fc;--dc-filter-border:#a855f7;--dc-overlay:#000000d9;--dc-overlay-light:#0009;--dc-shadow-sm:0 1px 2px 0 #0000004d;--dc-shadow:0 1px 3px 0 #0006, 0 1px 2px -1px #0006;--dc-shadow-md:0 4px 6px -1px #0006, 0 2px 4px -2px #0006;--dc-shadow-lg:0 10px 15px -3px #0006, 0 4px 6px -4px #0006;--dc-shadow-xl:0 20px 25px -5px #0006, 0 8px 10px -6px #0006;--dc-shadow-2xl:0 25px 50px -12px #00000080;--dc-card-bg:#1e293b;--dc-card-bg-hover:#334155;--dc-card-border:#475569;--dc-card-border-hover:#64748b;--dc-accent:#60a5fa;--dc-accent-hover:#3b82f6;--dc-accent-bg:#1e3a8a;--dc-accent-border:#2563eb;--dc-accent-text:#fff;--dc-muted:#94a3b8;--dc-muted-bg:#334155;--dc-muted-border:#475569;--dc-ai-gradient-start:#8b5cf626;--dc-ai-gradient-end:#6366f126}[data-theme=neon],html.neon{--dc-surface:#0a0118;--dc-surface-secondary:#1a0f2e;--dc-surface-tertiary:#2a1f3e;--dc-surface-hover:#3a2f4e;--dc-text:#fff;--dc-text-secondary:#e0e0ff;--dc-text-muted:#b0b0d0;--dc-text-disabled:#808090;--dc-border:#f0f;--dc-border-secondary:#0ff;--dc-border-hover:#0f0;--dc-primary:#0ff;--dc-primary-hover:#0cc;--dc-primary-content:#000;--dc-success:#0f0;--dc-success-bg:#00ff0026;--dc-success-border:#0f0;--dc-warning:#ff0;--dc-warning-bg:#ffff0026;--dc-warning-border:#ff0;--dc-error:#f06;--dc-error-bg:#ff006626;--dc-error-border:#f06;--dc-info:#0ff;--dc-info-bg:#00ffff26;--dc-info-border:#0ff;--dc-danger:#ff1493;--dc-danger-hover:#cc1077;--dc-danger-bg:#ff149326;--dc-dimension-bg:#00ff0059;--dc-dimension-text:#0f0;--dc-dimension-border:#0f0;--dc-time-dimension-bg:#00ffff59;--dc-time-dimension-text:#0ff;--dc-time-dimension-border:#0ff;--dc-measure-bg:#ff00ff59;--dc-measure-text:#f0f;--dc-measure-border:#f0f;--dc-filter-bg:#a855f759;--dc-filter-text:#a855f7;--dc-filter-border:#a855f7;--dc-overlay:#0a0118f2;--dc-overlay-light:#0a0118bf;--dc-shadow-sm:0 0 4px #ff00ff4d;--dc-shadow:0 0 8px #f0f6, 0 0 12px #0ff3;--dc-shadow-md:0 0 12px #ff00ff80, 0 0 20px #00ffff4d;--dc-shadow-lg:0 0 20px #f0f9, 0 0 30px #0ff6;--dc-shadow-xl:0 0 30px #ff00ffb3, 0 0 50px #00ffff80;--dc-shadow-2xl:0 0 50px #f0fc, 0 0 80px #0ff9;--dc-card-bg:#1a0f2e;--dc-card-bg-hover:#2a1f3e;--dc-card-border:#f0f;--dc-card-border-hover:#0ff;--dc-accent:#0ff;--dc-accent-hover:#0cc;--dc-accent-bg:#00ffff26;--dc-accent-border:#0ff;--dc-accent-text:#0a0118;--dc-muted:#b0b0d0;--dc-muted-bg:#2a1f3e;--dc-muted-border:#f0f;--dc-ai-gradient-start:#00ffff1a;--dc-ai-gradient-end:#ff00ff1a}@keyframes dc-msg-in{0%{opacity:0}to{opacity:1}}@keyframes dc-icon-pulse{0%,to{opacity:1;transform:scale(1)}50%{opacity:.6;transform:scale(1.2)}}@keyframes dc-strip-nudge{0%,to{width:48px}40%{width:72px}}.recharts-surface:focus,.recharts-wrapper:focus,.recharts-area:focus,.recharts-area-area:focus,.recharts-area-curve:focus,.recharts-line:focus,.recharts-line-curve:focus,.recharts-bar:focus,.recharts-pie:focus,.recharts-sector:focus,.recharts-layer:focus,.recharts-wrapper svg:focus,.recharts-wrapper g:focus,.recharts-wrapper path:focus,.recharts-wrapper rect:focus,.recharts-wrapper circle:focus{outline:none}.hljs{background-color:var(--dc-surface-secondary)!important;color:var(--dc-text)!important;padding:.5em!important}.hljs-keyword,.hljs-selector-tag,.hljs-literal,.hljs-section,.hljs-link{color:var(--dc-primary)}.hljs-string,.hljs-attr{color:var(--dc-success)}.hljs-number{color:var(--dc-warning)}.hljs-comment,.hljs-quote{color:var(--dc-text-muted);font-style:italic}.hljs-title,.hljs-class .hljs-title,.hljs-function .hljs-title{color:var(--dc-accent)}.hljs-variable,.hljs-attribute,.hljs-property{color:var(--dc-text-secondary)}.hljs-built_in,.hljs-name{color:var(--dc-info)}.hljs-meta,.hljs-meta-keyword{color:var(--dc-muted)}.hljs-addition{color:var(--dc-success);background-color:var(--dc-success-bg)}.hljs-deletion{color:var(--dc-error);background-color:var(--dc-error-bg)}*,:before,:after{box-sizing:border-box;margin:0;padding:0}body{font-family:var(--font-sans,-apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, sans-serif);background:var(--dc-surface,#fff);color:var(--dc-text,#1e293b);-webkit-font-smoothing:antialiased;line-height:1.5}#root{min-height:100vh;padding:12px}.dc-mcp-table{border-collapse:collapse;width:100%;font-size:13px}.dc-mcp-table th{text-align:left;border-bottom:2px solid var(--dc-border,#e2e8f0);color:var(--dc-text-secondary,#64748b);text-transform:uppercase;letter-spacing:.03em;white-space:nowrap;padding:6px 10px;font-size:11px;font-weight:600}.dc-mcp-table td{border-bottom:1px solid var(--dc-border,#e2e8f0);color:var(--dc-text,#1e293b);padding:5px 10px}.dc-mcp-table tr:last-child td{border-bottom:none}.dc-mcp-table tr:hover td{background:var(--dc-surface-secondary,#f8fafc)}.dc-mcp-table td.numeric{text-align:right;font-variant-numeric:tabular-nums}@property --tw-translate-x{syntax:\"*\";inherits:false;initial-value:0}@property --tw-translate-y{syntax:\"*\";inherits:false;initial-value:0}@property --tw-translate-z{syntax:\"*\";inherits:false;initial-value:0}@property --tw-scale-x{syntax:\"*\";inherits:false;initial-value:1}@property --tw-scale-y{syntax:\"*\";inherits:false;initial-value:1}@property --tw-scale-z{syntax:\"*\";inherits:false;initial-value:1}@property --tw-rotate-x{syntax:\"*\";inherits:false}@property --tw-rotate-y{syntax:\"*\";inherits:false}@property --tw-rotate-z{syntax:\"*\";inherits:false}@property --tw-skew-x{syntax:\"*\";inherits:false}@property --tw-skew-y{syntax:\"*\";inherits:false}@property --tw-space-y-reverse{syntax:\"*\";inherits:false;initial-value:0}@property --tw-space-x-reverse{syntax:\"*\";inherits:false;initial-value:0}@property --tw-divide-y-reverse{syntax:\"*\";inherits:false;initial-value:0}@property --tw-border-style{syntax:\"*\";inherits:false;initial-value:solid}@property --tw-leading{syntax:\"*\";inherits:false}@property --tw-font-weight{syntax:\"*\";inherits:false}@property --tw-tracking{syntax:\"*\";inherits:false}@property --tw-ordinal{syntax:\"*\";inherits:false}@property --tw-slashed-zero{syntax:\"*\";inherits:false}@property --tw-numeric-figure{syntax:\"*\";inherits:false}@property --tw-numeric-spacing{syntax:\"*\";inherits:false}@property --tw-numeric-fraction{syntax:\"*\";inherits:false}@property --tw-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:\"*\";inherits:false}@property --tw-shadow-alpha{syntax:\"<percentage>\";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:\"*\";inherits:false}@property --tw-inset-shadow-alpha{syntax:\"<percentage>\";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:\"*\";inherits:false}@property --tw-ring-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:\"*\";inherits:false}@property --tw-inset-ring-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:\"*\";inherits:false}@property --tw-ring-offset-width{syntax:\"<length>\";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:\"*\";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-blur{syntax:\"*\";inherits:false}@property --tw-brightness{syntax:\"*\";inherits:false}@property --tw-contrast{syntax:\"*\";inherits:false}@property --tw-grayscale{syntax:\"*\";inherits:false}@property --tw-hue-rotate{syntax:\"*\";inherits:false}@property --tw-invert{syntax:\"*\";inherits:false}@property --tw-opacity{syntax:\"*\";inherits:false}@property --tw-saturate{syntax:\"*\";inherits:false}@property --tw-sepia{syntax:\"*\";inherits:false}@property --tw-drop-shadow{syntax:\"*\";inherits:false}@property --tw-drop-shadow-color{syntax:\"*\";inherits:false}@property --tw-drop-shadow-alpha{syntax:\"<percentage>\";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:\"*\";inherits:false}@property --tw-backdrop-blur{syntax:\"*\";inherits:false}@property --tw-backdrop-brightness{syntax:\"*\";inherits:false}@property --tw-backdrop-contrast{syntax:\"*\";inherits:false}@property --tw-backdrop-grayscale{syntax:\"*\";inherits:false}@property --tw-backdrop-hue-rotate{syntax:\"*\";inherits:false}@property --tw-backdrop-invert{syntax:\"*\";inherits:false}@property --tw-backdrop-opacity{syntax:\"*\";inherits:false}@property --tw-backdrop-saturate{syntax:\"*\";inherits:false}@property --tw-backdrop-sepia{syntax:\"*\";inherits:false}@property --tw-duration{syntax:\"*\";inherits:false}@property --tw-ease{syntax:\"*\";inherits:false}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.5}}\n/*$vite$:1*/</style>\n </head>\n <body>\n <div id=\"root\"></div>\n </body>\n</html>\n", c = "ui://drizzle-cube/visualization.html", l = "text/html;profile=mcp-app";
4
+ function u(e) {
5
+ if (!e) return s;
6
+ let t = `<script>window.__DRIZZLE_CUBE_MCP_APP_CONFIG__ = ${JSON.stringify({
7
+ defaultLocale: e.defaultLocale,
8
+ detectBrowserLocale: e.detectBrowserLocale
9
+ }).replace(/<\//g, "<\\/")}<\/script>`;
10
+ return s.replace("</head>", `${t}</head>`);
11
+ }
12
+ var d = [
13
+ "2025-11-25",
14
+ "2025-06-18",
15
+ "2025-03-26"
16
+ ], f = "2025-11-25";
17
+ function p(e) {
18
+ let t = E(e["mcp-protocol-version"]) || "2025-11-25";
19
+ return {
20
+ ok: d.includes(t),
21
+ negotiated: d.includes(t) ? t : null,
22
+ supported: d
23
+ };
24
+ }
25
+ function m(e) {
26
+ if (!e) return !1;
27
+ let t = e.split(",").map((e) => e.trim().toLowerCase()), n = t.includes("text/event-stream"), r = t.includes("application/json");
28
+ return n && !r;
29
+ }
30
+ var h = "mcp-session-id";
31
+ function g(e) {
32
+ if (!e) return !1;
33
+ let t = e.split(",").map((e) => e.trim().toLowerCase().split(";")[0]), n = t.some((e) => e === "application/json"), r = t.some((e) => e === "text/event-stream"), i = t.some((e) => e === "*/*");
34
+ return n && r || n || i;
35
+ }
36
+ function _(e, t = {}) {
37
+ let { allowMissingOrigin: n = !0, allowedOrigins: r } = t;
38
+ if (!e) return n ? { valid: !0 } : {
39
+ valid: !1,
40
+ reason: "Origin header is required"
41
+ };
42
+ if (!r || r.length === 0) return { valid: !0 };
43
+ let i;
44
+ try {
45
+ i = new URL(e);
46
+ } catch {
47
+ return {
48
+ valid: !1,
49
+ reason: "Invalid Origin header format"
50
+ };
51
+ }
52
+ return r.map((e) => {
53
+ try {
54
+ return new URL(e).origin;
55
+ } catch {
56
+ return e;
57
+ }
58
+ }).includes(i.origin) ? { valid: !0 } : {
59
+ valid: !1,
60
+ reason: "Origin not in allowed list"
61
+ };
62
+ }
63
+ function v(e) {
64
+ if (!e) return null;
65
+ let t = /^Bearer\s+(\S+)$/i.exec(e);
66
+ return t ? t[1] : null;
67
+ }
68
+ function y(e) {
69
+ return `Bearer resource_metadata="${e}"`;
70
+ }
71
+ function b(e, t, n) {
72
+ let r = [];
73
+ return t && r.push(`id: ${t}`), n && n > 0 && r.push(`retry: ${n}`), r.push("event: message"), r.push(`data: ${JSON.stringify(e)}`), r.push(""), r.join("\n");
74
+ }
75
+ function x(e, t, n, r) {
76
+ return {
77
+ jsonrpc: "2.0",
78
+ id: e ?? null,
79
+ error: {
80
+ code: t,
81
+ message: n,
82
+ ...r === void 0 ? {} : { data: r }
83
+ }
84
+ };
85
+ }
86
+ function S(e, t) {
87
+ return {
88
+ jsonrpc: "2.0",
89
+ id: e ?? null,
90
+ result: t
91
+ };
92
+ }
93
+ function C(e) {
94
+ if (!e || typeof e != "object") return null;
95
+ let t = e;
96
+ return t.jsonrpc !== "2.0" || typeof t.method != "string" ? null : {
97
+ jsonrpc: "2.0",
98
+ method: t.method,
99
+ id: t.id,
100
+ params: t.params
101
+ };
102
+ }
103
+ async function w(e, t, n) {
104
+ let { semanticLayer: s, extractSecurityContext: c, rawRequest: l, rawResponse: u, appEnabled: p, appConfig: m } = n, h = n.serverName ?? "drizzle-cube", g = n.prompts ?? N, _ = n.resources ?? P, v = n.instructions ?? o(), y = p ? [..._, ...M(m)] : _;
105
+ switch (e) {
106
+ case "initialize": {
107
+ let e = t?.protocolVersion, n;
108
+ return n = e && d.includes(e) ? e : f, {
109
+ protocolVersion: n,
110
+ capabilities: {
111
+ tools: { listChanged: !1 },
112
+ resources: { listChanged: !1 },
113
+ prompts: { listChanged: !1 },
114
+ sampling: {}
115
+ },
116
+ sessionId: O(),
117
+ serverInfo: {
118
+ name: h,
119
+ version: typeof process < "u" ? process.env?.npm_package_version || "dev" : "worker"
120
+ },
121
+ instructions: v
122
+ };
123
+ }
124
+ case "list_tools":
125
+ case "tools/list": return {
126
+ tools: k({ appEnabled: p }),
127
+ nextCursor: ""
128
+ };
129
+ case "call_tool":
130
+ case "tools/call": return A(t, n);
131
+ case "resources/list": return {
132
+ resources: y.map(({ uri: e, name: t, description: n, mimeType: r }) => ({
133
+ uri: e,
134
+ name: t,
135
+ description: n,
136
+ mimeType: r
137
+ })),
138
+ nextCursor: ""
139
+ };
140
+ case "resources/templates/list": return {
141
+ resourceTemplates: [],
142
+ nextCursor: ""
143
+ };
144
+ case "resources/read": {
145
+ let e = t?.uri, n = y.find((t) => t.uri === e) || y[0];
146
+ if (!n) throw T(-32602, "resource not found");
147
+ return { contents: [{
148
+ uri: n.uri,
149
+ mimeType: n.mimeType,
150
+ text: n.text
151
+ }] };
152
+ }
153
+ case "prompts/list": return {
154
+ prompts: g.map(({ name: e, description: t }) => ({
155
+ name: e,
156
+ description: t
157
+ })),
158
+ nextCursor: ""
159
+ };
160
+ case "ping": return {};
161
+ case "notifications/initialized": return {};
162
+ case "prompts/get": {
163
+ let e = t?.name, n = g.find((t) => t.name === e) || g[0];
164
+ if (!n) throw T(-32602, "prompt not found");
165
+ return {
166
+ name: n.name,
167
+ description: n.description,
168
+ messages: n.messages
169
+ };
170
+ }
171
+ case "discover": return r(s, t || {});
172
+ case "validate": {
173
+ let e = t || {};
174
+ if (!e.query) throw T(-32602, "query is required");
175
+ return i(s, e);
176
+ }
177
+ case "load": {
178
+ let e = t || {};
179
+ if (!e.query) throw T(-32602, "query is required");
180
+ return a(s, await c(l, u), e);
181
+ }
182
+ default: throw T(-32601, `Unknown MCP method: ${e}`);
183
+ }
184
+ }
185
+ function T(e, t, n) {
186
+ let r = Error(t);
187
+ return r.code = e, n !== void 0 && (r.data = n), r;
188
+ }
189
+ function E(e) {
190
+ return e ? Array.isArray(e) ? e[0] || null : e : null;
191
+ }
192
+ function D(e) {
193
+ return e.id === void 0 || e.id === null;
194
+ }
195
+ function O() {
196
+ return `evt-${n()}`;
197
+ }
198
+ function k(t) {
199
+ let n = [
200
+ {
201
+ name: "discover",
202
+ description: "MANDATORY FIRST CALL. You MUST call this before constructing any query — even if you think you know the schema.\n\nReturns:\n- 'cubes': matched cubes with measures, dimensions, joins, and metadata hints (eventStream for funnels, etc.)\n- 'queryLanguageReference': the COMPLETE TypeScript DSL for query construction. This is the source of truth for field naming, filter operators, time dimensions, and analysis modes (funnel/flow/retention). READ IT before building queries — do not guess syntax.\n- 'dateFilteringGuide': decision tree for date filtering vs time grouping. READ IT whenever the user mentions a time period — this is the #1 source of incorrect queries.\n\nThe 'joins' property on each cube shows relationships. You can include dimensions from ANY related cube in your query — the system auto-joins them.\n\nExample: If Productivity has a join to Employees, you can query:\n{ \"measures\": [\"Productivity.totalPullRequests\"], \"dimensions\": [\"Employees.name\"] }",
203
+ inputSchema: {
204
+ type: "object",
205
+ properties: {
206
+ topic: {
207
+ type: "string",
208
+ description: "Keyword to search (e.g., \"sales\", \"employees\")"
209
+ },
210
+ intent: {
211
+ type: "string",
212
+ description: "Natural language goal (e.g., \"analyze productivity trends\")"
213
+ },
214
+ limit: {
215
+ type: "number",
216
+ description: "Max results (default: 10)"
217
+ },
218
+ minScore: {
219
+ type: "number",
220
+ description: "Min relevance 0-1 (default: 0.1)"
221
+ }
222
+ }
223
+ }
224
+ },
225
+ {
226
+ name: "validate",
227
+ description: "Validate a query and get auto-corrections for issues.\n\nChecks:\n- Field existence (measures, dimensions exist in schema)\n- Filter syntax and operators\n- Cross-cube join validity\n\nReturns corrected query if issues found.",
228
+ inputSchema: {
229
+ type: "object",
230
+ required: ["query"],
231
+ properties: { query: {
232
+ type: "object",
233
+ description: "CubeQuery to validate"
234
+ } }
235
+ }
236
+ },
237
+ {
238
+ name: "load",
239
+ description: "Execute a semantic query and return aggregated results.\n\nPREREQUISITE: You MUST have called 'discover' first in this session. The discover response contains the 'queryLanguageReference' (full DSL) and 'dateFilteringGuide' you need to construct a correct query. If you have not yet called discover, call it NOW before calling load.\n\nSupports regular queries (measures/dimensions), funnel, flow, and retention analysis modes — see the queryLanguageReference returned by discover for the full DSL.\n\nKey rules (the queryLanguageReference is authoritative — these are reminders, not the full spec):\n- Fields are EXACTLY \"CubeName.fieldName\" (two parts, one dot). Copy verbatim from discover.\n- Cross-cube joins: include dimensions from related cubes (system auto-joins).\n- Aggregated totals over a period: use filters with inDateRange — NOT timeDimensions.\n- Time series (\"by month\", \"daily trend\"): use timeDimensions WITH granularity.\n- Top N: filters + order + limit.\n\nUse \"load\" for data retrieval. Use \"chart\" to visualise results with an interactive chart.",
240
+ inputSchema: {
241
+ type: "object",
242
+ required: ["query"],
243
+ properties: { query: {
244
+ type: "object",
245
+ description: "Semantic query object. Regular: { measures, dimensions, filters, timeDimensions, order, limit }. Funnel: { funnel: {...} }. Flow: { flow: {...} }. Retention: { retention: {...} }.",
246
+ properties: e
247
+ } }
248
+ }
249
+ }
250
+ ];
251
+ if (t?.appEnabled) {
252
+ n.push({
253
+ name: "chart",
254
+ description: "Execute a semantic query and render an interactive chart visualization.\n\nSame query format as \"load\", but renders results in the MCP App chart UI.\nInclude a \"chart\" object to control the visualization.\n\nChart types: bar, line, area, pie, scatter, bubble, radar, treemap, kpiNumber, kpiDelta, table, heatmap, funnel, sankey, sunburst, waterfall, activityGrid, boxPlot\nGuidelines: single number -> kpiNumber, trend -> line/area, categories -> bar, part-of-whole -> pie, correlation -> scatter/bubble, distribution -> boxPlot",
255
+ inputSchema: {
256
+ type: "object",
257
+ required: ["query"],
258
+ properties: {
259
+ query: {
260
+ type: "object",
261
+ description: "Semantic query object. Same format as the load tool.",
262
+ properties: e
263
+ },
264
+ chart: {
265
+ type: "object",
266
+ description: "Chart configuration for the visualization. If omitted, chart type is auto-detected from query shape.",
267
+ properties: {
268
+ type: {
269
+ type: "string",
270
+ enum: [
271
+ "bar",
272
+ "line",
273
+ "area",
274
+ "pie",
275
+ "scatter",
276
+ "bubble",
277
+ "radar",
278
+ "radialBar",
279
+ "treemap",
280
+ "table",
281
+ "kpiNumber",
282
+ "kpiDelta",
283
+ "heatmap",
284
+ "boxPlot",
285
+ "funnel",
286
+ "sankey",
287
+ "sunburst",
288
+ "retentionHeatmap",
289
+ "retentionCombined",
290
+ "waterfall",
291
+ "activityGrid"
292
+ ],
293
+ description: "Chart type to render"
294
+ },
295
+ title: {
296
+ type: "string",
297
+ description: "Chart title"
298
+ },
299
+ chartConfig: {
300
+ type: "object",
301
+ description: "Axis configuration — same schema as agent add_portlet chartConfig.",
302
+ properties: {
303
+ xAxis: {
304
+ type: "array",
305
+ items: { type: "string" },
306
+ description: "Dimension fields for X axis"
307
+ },
308
+ yAxis: {
309
+ type: "array",
310
+ items: { type: "string" },
311
+ description: "Measure fields for Y axis"
312
+ },
313
+ series: {
314
+ type: "array",
315
+ items: { type: "string" },
316
+ description: "Dimension for series splitting (grouped/stacked)"
317
+ },
318
+ yAxisAssignment: {
319
+ type: "object",
320
+ description: "Dual Y-axis: map measure fields to \"left\" or \"right\". Only bar/line/area with 2+ measures of different scales."
321
+ },
322
+ sizeField: {
323
+ type: "string",
324
+ description: "Bubble chart size field"
325
+ },
326
+ colorField: {
327
+ type: "string",
328
+ description: "Bubble chart color field"
329
+ }
330
+ }
331
+ },
332
+ displayConfig: {
333
+ type: "object",
334
+ description: "Display options.",
335
+ properties: {
336
+ showLegend: { type: "boolean" },
337
+ showGrid: { type: "boolean" },
338
+ showTooltip: { type: "boolean" },
339
+ stacked: { type: "boolean" },
340
+ stackType: {
341
+ type: "string",
342
+ enum: [
343
+ "none",
344
+ "normal",
345
+ "percent"
346
+ ]
347
+ },
348
+ orientation: {
349
+ type: "string",
350
+ enum: ["horizontal", "vertical"]
351
+ }
352
+ }
353
+ },
354
+ xAxis: {
355
+ type: "string",
356
+ description: "Deprecated: use chartConfig.xAxis"
357
+ },
358
+ yAxis: {
359
+ type: "array",
360
+ items: { type: "string" },
361
+ description: "Deprecated: use chartConfig.yAxis"
362
+ }
363
+ }
364
+ }
365
+ }
366
+ }
367
+ });
368
+ let t = n.find((e) => e.name === "chart");
369
+ t && (t._meta = { ui: { resourceUri: c } });
370
+ }
371
+ return n;
372
+ }
373
+ async function A(e, t) {
374
+ let { semanticLayer: n, extractSecurityContext: o, rawRequest: s, rawResponse: c } = t, l = e || {};
375
+ if (!l.name) throw T(-32602, "name is required for tools/call");
376
+ let u = l.arguments;
377
+ try {
378
+ switch (l.name) {
379
+ case "discover": return j(await r(n, u || {}));
380
+ case "validate": {
381
+ let e = u || {};
382
+ if (!e.query) throw T(-32602, "query is required");
383
+ return j(await i(n, e));
384
+ }
385
+ case "load": {
386
+ let e = u || {};
387
+ if (!e.query) throw T(-32602, "query is required");
388
+ return j(await a(n, await o(s, c), e));
389
+ }
390
+ case "chart": {
391
+ let e = u || {};
392
+ if (!e.query) throw T(-32602, "query is required");
393
+ return j(await a(n, await o(s, c), e));
394
+ }
395
+ default: throw T(-32601, `Unknown tool: ${l.name}`);
396
+ }
397
+ } catch (e) {
398
+ if (e?.code === -32602 || e?.code === -32601) throw e;
399
+ let t = e instanceof Error ? e.message : String(e);
400
+ return {
401
+ content: [{
402
+ type: "text",
403
+ text: JSON.stringify({ error: t })
404
+ }],
405
+ isError: !0
406
+ };
407
+ }
408
+ }
409
+ function j(e) {
410
+ return {
411
+ content: [{
412
+ type: "text",
413
+ text: typeof e == "string" ? e : JSON.stringify(e)
414
+ }],
415
+ isError: !1
416
+ };
417
+ }
418
+ function M(e) {
419
+ let t = u(e);
420
+ return t ? [{
421
+ uri: c,
422
+ name: "Drizzle Cube Visualization",
423
+ description: "Interactive chart visualization for query results",
424
+ mimeType: l,
425
+ text: t
426
+ }] : [];
427
+ }
428
+ var N = t(), P = [{
429
+ uri: "drizzle-cube://quickstart",
430
+ name: "Drizzle Cube MCP Quickstart",
431
+ description: "Minimal guide for using discover/validate/load",
432
+ mimeType: "text/markdown",
433
+ text: [
434
+ "# Drizzle Cube MCP Quickstart",
435
+ "",
436
+ "Tools:",
437
+ "- discover: { topic?, intent?, limit?, minScore? } -> cubes list",
438
+ "- validate: { query } -> corrected query + issues",
439
+ "- load: { query } -> data + annotation (text only)",
440
+ "- chart: { query, chart? } -> data + interactive chart visualization",
441
+ "",
442
+ "Recommended flow:",
443
+ "1) tools/call name=discover intent=\"<goal>\"",
444
+ "2) tools/call name=validate query=<draft> (optional)",
445
+ "3) tools/call name=load query=<validated> (data only) OR name=chart query=<validated> chart={type, ...} (with visualization)",
446
+ "",
447
+ "Query shapes supported:",
448
+ "- regular: { measures, dimensions, filters, timeDimensions, order, limit, offset, ungrouped }",
449
+ "- funnel: { funnel: { bindingKey, timeDimension, steps[], includeTimeMetrics?, globalTimeWindow? } }",
450
+ "- flow: { flow: { bindingKey, timeDimension, eventDimension, startingStep: { name, filter }, stepsBefore, stepsAfter } }",
451
+ "- retention: { retention: { timeDimension, bindingKey, dateRange: { start, end }, granularity, periods, retentionType } }",
452
+ "",
453
+ "Filter rules: flat arrays of { member, operator, values }. Use { and: [...] } or { or: [...] } for logical grouping."
454
+ ].join("\n")
455
+ }, {
456
+ uri: "drizzle-cube://query-shapes",
457
+ name: "Query Shapes Reference",
458
+ description: "Detailed schema examples for regular, funnel, flow, and retention queries",
459
+ mimeType: "text/markdown",
460
+ text: [
461
+ "# Query Shapes",
462
+ "",
463
+ "## Regular query",
464
+ "```json",
465
+ "{",
466
+ " \"measures\": [\"Sales.count\"],",
467
+ " \"dimensions\": [\"Sales.channel\"],",
468
+ " \"filters\": [",
469
+ " { \"member\": \"Sales.status\", \"operator\": \"equals\", \"values\": [\"paid\"] },",
470
+ " { \"or\": [",
471
+ " { \"member\": \"Sales.region\", \"operator\": \"equals\", \"values\": [\"US\"] },",
472
+ " { \"member\": \"Sales.region\", \"operator\": \"equals\", \"values\": [\"EU\"] }",
473
+ " ]}",
474
+ " ],",
475
+ " \"timeDimensions\": [{ \"dimension\": \"Sales.createdAt\", \"dateRange\": \"last 30 days\", \"granularity\": \"day\" }],",
476
+ " \"order\": { \"Sales.createdAt\": \"asc\" },",
477
+ " \"limit\": 500",
478
+ "}",
479
+ "```",
480
+ "",
481
+ "## Funnel",
482
+ "```json",
483
+ "{",
484
+ " \"funnel\": {",
485
+ " \"bindingKey\": \"Events.userId\",",
486
+ " \"timeDimension\": \"Events.timestamp\",",
487
+ " \"steps\": [",
488
+ " {",
489
+ " \"name\": \"Signup\",",
490
+ " \"filter\": [",
491
+ " { \"member\": \"Events.eventType\", \"operator\": \"equals\", \"values\": [\"signup\"] },",
492
+ " { \"member\": \"Events.timestamp\", \"operator\": \"inDateRange\", \"values\": [\"last 6 months\"] }",
493
+ " ]",
494
+ " },",
495
+ " {",
496
+ " \"name\": \"Purchase\",",
497
+ " \"filter\": [{ \"member\": \"Events.eventType\", \"operator\": \"equals\", \"values\": [\"purchase\"] }],",
498
+ " \"timeToConvert\": \"P7D\"",
499
+ " }",
500
+ " ],",
501
+ " \"includeTimeMetrics\": true",
502
+ " }",
503
+ "}",
504
+ "```",
505
+ "",
506
+ "## Flow",
507
+ "```json",
508
+ "{",
509
+ " \"flow\": {",
510
+ " \"bindingKey\": \"Events.userId\",",
511
+ " \"timeDimension\": \"Events.timestamp\",",
512
+ " \"eventDimension\": \"Events.eventType\",",
513
+ " \"startingStep\": {",
514
+ " \"name\": \"Checkout\",",
515
+ " \"filter\": { \"member\": \"Events.eventType\", \"operator\": \"equals\", \"values\": [\"checkout\"] }",
516
+ " },",
517
+ " \"stepsBefore\": 2,",
518
+ " \"stepsAfter\": 3",
519
+ " }",
520
+ "}",
521
+ "```",
522
+ "",
523
+ "## Retention",
524
+ "```json",
525
+ "{",
526
+ " \"retention\": {",
527
+ " \"timeDimension\": \"Events.timestamp\",",
528
+ " \"bindingKey\": \"Events.userId\",",
529
+ " \"dateRange\": { \"start\": \"2024-01-01\", \"end\": \"2024-03-31\" },",
530
+ " \"granularity\": \"week\",",
531
+ " \"periods\": 8,",
532
+ " \"retentionType\": \"classic\",",
533
+ " \"breakdownDimensions\": [\"Events.country\"]",
534
+ " }",
535
+ "}",
536
+ "```",
537
+ "",
538
+ "### Filter operators",
539
+ "String: equals, notEquals, contains, notContains, startsWith, endsWith, like, ilike, regex",
540
+ "Numeric: gt, gte, lt, lte, between, notBetween",
541
+ "Set: in, notIn, set, notSet, isEmpty, isNotEmpty",
542
+ "Date: inDateRange, beforeDate, afterDate",
543
+ "",
544
+ "### Time handling",
545
+ "- Aggregated totals: use filters with inDateRange (NOT timeDimensions)",
546
+ "- Time series grouping: use timeDimensions with granularity",
547
+ "- Both can be combined: inDateRange filter + timeDimensions with granularity",
548
+ "- Period comparison: use compareDateRange in timeDimensions"
549
+ ].join("\n")
550
+ }];
551
+ function F() {
552
+ return P;
553
+ }
554
+ function I() {
555
+ return N;
556
+ }
557
+ function L() {
558
+ return o();
559
+ }
560
+ function R(e) {
561
+ let t = I();
562
+ return typeof e == "function" ? e(t) : e ?? t;
563
+ }
564
+ function z(e) {
565
+ let t = F();
566
+ return typeof e == "function" ? e(t) : e ?? t;
567
+ }
568
+ function B(e) {
569
+ let t = L();
570
+ return typeof e == "function" ? e(t) : e ?? t;
571
+ }
572
+ function V(e) {
573
+ return {
574
+ uri: "drizzle-cube://schema",
575
+ name: "Cube Schema",
576
+ description: "Current cube metadata as JSON",
577
+ mimeType: "application/json",
578
+ text: JSON.stringify(e.getMetadata(), null, 2)
579
+ };
580
+ }
581
+ function H(e, t) {
582
+ let n = V(e);
583
+ return [...z(t).filter((e) => e.uri !== n.uri), n];
584
+ }
585
+ //#endregion
586
+ export { m as C, _ as S, O as _, S as a, b, y as c, I as d, F as f, C as g, p as h, x as i, w as l, D as m, c as n, H as o, u as p, h as r, k as s, l as t, v as u, B as v, g as x, R as y };