drizzle-cube 0.12.3 → 0.13.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (475) hide show
  1. package/dist/adapters/ActivityGridChart.config-BDe2_qYC.js +1 -0
  2. package/dist/adapters/ActivityGridChart.config-BY3cUifC.cjs +1 -0
  3. package/dist/adapters/AreaChart.config-CaLEu4WZ.cjs +1 -0
  4. package/dist/adapters/AreaChart.config-upS1qK9z.js +1 -0
  5. package/dist/adapters/BarChart.config-CSbClrlz.cjs +1 -0
  6. package/dist/adapters/BarChart.config-GlYPKS8R.js +1 -0
  7. package/dist/adapters/BoxPlotChart.config-BIxjwA1O.cjs +1 -0
  8. package/dist/adapters/BoxPlotChart.config-DybpbTEl.js +1 -0
  9. package/dist/adapters/BubbleChart.config-CREi46jt.cjs +1 -0
  10. package/dist/adapters/BubbleChart.config-Di8lOOga.js +1 -0
  11. package/dist/adapters/CandlestickChart.config-BrbgDZcn.cjs +1 -0
  12. package/dist/adapters/CandlestickChart.config-CTHDWBM7.js +1 -0
  13. package/dist/adapters/DataTable.config-BpzbJKOY.cjs +1 -0
  14. package/dist/adapters/DataTable.config-DbPDoKSt.js +1 -0
  15. package/dist/adapters/DotStripChart.config-Bkj53d85.cjs +1 -0
  16. package/dist/adapters/DotStripChart.config-Xxte1OgG.js +1 -0
  17. package/dist/adapters/FunnelChart.config-CRbPp-7K.js +1 -0
  18. package/dist/adapters/FunnelChart.config-DfaMSLui.cjs +1 -0
  19. package/dist/adapters/GaugeChart.config-CKKMCRn4.js +1 -0
  20. package/dist/adapters/GaugeChart.config-CN7S1OEB.cjs +1 -0
  21. package/dist/adapters/HeatMapChart.config-BloGhLrU.js +1 -0
  22. package/dist/adapters/HeatMapChart.config-C94iqzfw.cjs +1 -0
  23. package/dist/adapters/KpiDelta.config-CMGQIfsy.cjs +1 -0
  24. package/dist/adapters/KpiDelta.config-qC8_1W29.js +1 -0
  25. package/dist/adapters/KpiNumber.config-CnYoD9WM.js +1 -0
  26. package/dist/adapters/KpiNumber.config-jxzFzY71.cjs +1 -0
  27. package/dist/adapters/KpiText.config--11XBVEz.js +1 -0
  28. package/dist/adapters/KpiText.config-DOYHINgD.cjs +1 -0
  29. package/dist/adapters/LineChart.config-Bt6XKzQj.js +1 -0
  30. package/dist/adapters/LineChart.config-nwC-IWRL.cjs +1 -0
  31. package/dist/adapters/MarkdownChart.config-Br1jAwCf.js +1 -0
  32. package/dist/adapters/MarkdownChart.config-CeqYtwrd.cjs +1 -0
  33. package/dist/adapters/MeasureProfileChart.config-B0G_11c9.js +1 -0
  34. package/dist/adapters/MeasureProfileChart.config-_ZC5pb_I.cjs +1 -0
  35. package/dist/adapters/PieChart.config-CZc5LcmR.js +1 -0
  36. package/dist/adapters/PieChart.config-D1tFIodJ.cjs +1 -0
  37. package/dist/adapters/ProportionBarChart.config-9zHgirKR.cjs +1 -0
  38. package/dist/adapters/ProportionBarChart.config-BMIYtg7Q.js +1 -0
  39. package/dist/adapters/RadarChart.config-CYPyOMbT.js +1 -0
  40. package/dist/adapters/RadarChart.config-mPXx8Moz.cjs +1 -0
  41. package/dist/adapters/RadialBarChart.config-EzhjUjvA.cjs +1 -0
  42. package/dist/adapters/RadialBarChart.config-l9yaKru1.js +1 -0
  43. package/dist/adapters/RecordsTable.config-BNKcGGjX.cjs +1 -0
  44. package/dist/adapters/RecordsTable.config-CbtJMaVG.js +1 -0
  45. package/dist/adapters/RetentionCombinedChart.config-CtJ-q7Gr.js +1 -0
  46. package/dist/adapters/RetentionCombinedChart.config-Y47OjDeH.cjs +1 -0
  47. package/dist/adapters/RetentionHeatmap.config-BqLV6f6o.cjs +1 -0
  48. package/dist/adapters/RetentionHeatmap.config-DPNhEK1p.js +1 -0
  49. package/dist/adapters/SankeyChart.config-Dipd6fNz.cjs +1 -0
  50. package/dist/adapters/SankeyChart.config-DpK5pFy5.js +1 -0
  51. package/dist/adapters/ScatterChart.config-BfDDAH83.cjs +1 -0
  52. package/dist/adapters/ScatterChart.config-C90xKdE-.js +1 -0
  53. package/dist/adapters/SunburstChart.config-CacceE1E.cjs +1 -0
  54. package/dist/adapters/SunburstChart.config-MoFnOy0s.js +1 -0
  55. package/dist/adapters/TreeMapChart.config-BYHi-dzk.js +1 -0
  56. package/dist/adapters/TreeMapChart.config-CWSspab0.cjs +1 -0
  57. package/dist/adapters/WaterfallChart.config-CiOnjcsk.cjs +1 -0
  58. package/dist/adapters/WaterfallChart.config-TNtq-2mo.js +1 -0
  59. package/dist/adapters/core/index.cjs +1 -1
  60. package/dist/adapters/core/index.js +1 -1
  61. package/dist/adapters/{core-CD6SqK5q.js → core-D1FtXGPM.js} +2 -2
  62. package/dist/adapters/{core-3nDM2f7O.cjs → core-Ib5DN_B6.cjs} +1 -1
  63. package/dist/adapters/{cors-headers-DxkPVNnZ.cjs → cors-headers-D0ofhz3k.cjs} +2 -2
  64. package/dist/adapters/{cors-headers-DYYDrG7S.js → cors-headers-DPNvO_6o.js} +5 -2
  65. package/dist/adapters/cors-headers.d.ts +10 -2
  66. package/dist/adapters/express/index.cjs +2 -2
  67. package/dist/adapters/express/index.d.ts +18 -2
  68. package/dist/adapters/express/index.js +45 -32
  69. package/dist/adapters/fastify/index.cjs +1 -1
  70. package/dist/adapters/fastify/index.js +9 -9
  71. package/dist/adapters/{handler-DSOaXFuV.cjs → handler-CRAPq8xB.cjs} +3 -3
  72. package/dist/adapters/{handler-B_vsFWWm.js → handler-Dqe0_Uvx.js} +32 -37
  73. package/dist/adapters/hono/index.cjs +1 -1
  74. package/dist/adapters/hono/index.js +8 -8
  75. package/dist/adapters/mcp-app-html.cjs +1 -1
  76. package/dist/adapters/mcp-app-html.d.ts +3 -3
  77. package/dist/adapters/mcp-app-html.js +5 -1
  78. package/dist/adapters/mcp-tools.cjs +1 -1
  79. package/dist/adapters/mcp-tools.d.ts +21 -4
  80. package/dist/adapters/mcp-tools.js +42 -36
  81. package/dist/adapters/{mcp-transport-7zszPPXk.cjs → mcp-transport-DnnABB3F.cjs} +1 -1
  82. package/dist/adapters/{mcp-transport-DVI1lCNM.js → mcp-transport-DpJDF0M_.js} +1 -1
  83. package/dist/adapters/nextjs/index.cjs +1 -1
  84. package/dist/adapters/nextjs/index.js +11 -6
  85. package/dist/adapters/{openai-DA9yrRkA.js → openai-DDdpBh3c.js} +1 -1
  86. package/dist/adapters/{openai-Bdnnw3Ok.js → openai-DOMIchMU.js} +1 -1
  87. package/dist/adapters/{openai-JLaT_FPt.cjs → openai-Dxk9OT5p.cjs} +1 -1
  88. package/dist/adapters/{openai-CE52anhW.cjs → openai-Dxu_8i7e.cjs} +1 -1
  89. package/dist/adapters/{utils-OLv25-nn.cjs → utils-0Afl53Xc.cjs} +1 -1
  90. package/dist/adapters/{utils-BtiRfbcX.js → utils-DrbnoHoa.js} +3 -1
  91. package/dist/adapters/utils.cjs +1 -1
  92. package/dist/adapters/utils.js +1 -1
  93. package/dist/cjs/adapters/cors-headers.d.ts +10 -2
  94. package/dist/cjs/adapters/express/index.d.ts +18 -2
  95. package/dist/cjs/adapters/mcp-app-html.d.ts +3 -3
  96. package/dist/cjs/adapters/mcp-tools.d.ts +21 -4
  97. package/dist/cjs/client/components/charts/HeatMapCanvas.d.ts +1 -1
  98. package/dist/cjs/client/components/dashboard/DashboardContext.d.ts +1 -1
  99. package/dist/cjs/client/components/dashboard/gridLayoutModule.d.ts +9 -0
  100. package/dist/cjs/client/hooks/dashboard/useGridLayoutEngine.d.ts +1 -1
  101. package/dist/cjs/client/hooks/useDashboardHook.d.ts +1 -1
  102. package/dist/cjs/client/stores/dashboardStore.d.ts +1 -1
  103. package/dist/cjs/client/types/gridLayout.d.ts +29 -0
  104. package/dist/client/charts.js +15 -14
  105. package/dist/client/chunks/ActivityGridChart-CmboSrmc.js +297 -0
  106. package/dist/client/chunks/ActivityGridChart-CmboSrmc.js.map +1 -0
  107. package/dist/client/chunks/AngledXAxisTick-CY2hSVQ6.js +23 -0
  108. package/dist/client/chunks/AngledXAxisTick-CY2hSVQ6.js.map +1 -0
  109. package/dist/client/chunks/BarSeries-CA5hID9E.js +85 -0
  110. package/dist/client/chunks/BarSeries-CA5hID9E.js.map +1 -0
  111. package/dist/client/chunks/BatchCoordinator-DGE3i5Sj.js +315 -0
  112. package/dist/client/chunks/BatchCoordinator-DGE3i5Sj.js.map +1 -0
  113. package/dist/client/chunks/BubbleChart-DiloeKCW.js +222 -0
  114. package/dist/client/chunks/BubbleChart-DiloeKCW.js.map +1 -0
  115. package/dist/client/chunks/BubbleChart.helpers-CaDSYRlF.js +1477 -0
  116. package/dist/client/chunks/BubbleChart.helpers-CaDSYRlF.js.map +1 -0
  117. package/dist/client/chunks/ChartStates-oCfgZumF.js +66 -0
  118. package/dist/client/chunks/ChartStates-oCfgZumF.js.map +1 -0
  119. package/dist/client/chunks/ChartSummaryHeader-nx-4H-in.js +67 -0
  120. package/dist/client/chunks/ChartSummaryHeader-nx-4H-in.js.map +1 -0
  121. package/dist/client/chunks/{DashboardEditModal-F2fGr29d.js → DashboardEditModal-6N8H3lXW.js} +2611 -4403
  122. package/dist/client/chunks/DashboardEditModal-6N8H3lXW.js.map +1 -0
  123. package/dist/client/chunks/DataHistogram-DbQbA-Pi.js +105 -0
  124. package/dist/client/chunks/DataHistogram-DbQbA-Pi.js.map +1 -0
  125. package/dist/client/chunks/{DotStripChart-CQaJwo8K.js → DotStripChart-HcSCkYDs.js} +13 -9
  126. package/dist/client/chunks/{DotStripChart-CQaJwo8K.js.map → DotStripChart-HcSCkYDs.js.map} +1 -1
  127. package/dist/client/chunks/DotStripChart.config-BbyRO65s.js +118 -0
  128. package/dist/client/chunks/DotStripChart.config-BbyRO65s.js.map +1 -0
  129. package/dist/client/chunks/FunnelViews-SjgYxngb.js +279 -0
  130. package/dist/client/chunks/FunnelViews-SjgYxngb.js.map +1 -0
  131. package/dist/client/chunks/HeatMapChart-B9pj-KQi.js +207 -0
  132. package/dist/client/chunks/HeatMapChart-B9pj-KQi.js.map +1 -0
  133. package/dist/client/chunks/KpiCompactLayout-rsMv3YHG.js +176 -0
  134. package/dist/client/chunks/KpiCompactLayout-rsMv3YHG.js.map +1 -0
  135. package/dist/client/chunks/KpiDelta-1BfMFygT.js +32 -0
  136. package/dist/client/chunks/KpiDelta-1BfMFygT.js.map +1 -0
  137. package/dist/client/chunks/KpiText-DzPeryRS.js +61 -0
  138. package/dist/client/chunks/KpiText-DzPeryRS.js.map +1 -0
  139. package/dist/client/chunks/LoadingIndicator-DQ0k6L2K.js +20 -0
  140. package/dist/client/chunks/LoadingIndicator-DQ0k6L2K.js.map +1 -0
  141. package/dist/client/chunks/MarkdownChart-_aif5Ye3.js +4672 -0
  142. package/dist/client/chunks/MarkdownChart-_aif5Ye3.js.map +1 -0
  143. package/dist/client/chunks/PortletAnalysisModal-C0MLoJTP.js +664 -0
  144. package/dist/client/chunks/PortletAnalysisModal-C0MLoJTP.js.map +1 -0
  145. package/dist/client/chunks/{ProportionBarChart-DiA5ZGeg.js → ProportionBarChart-B9Rgyhbc.js} +12 -9
  146. package/dist/client/chunks/{ProportionBarChart-DiA5ZGeg.js.map → ProportionBarChart-B9Rgyhbc.js.map} +1 -1
  147. package/dist/client/chunks/ProportionBarChart.config-CMtPMCH4.js +65 -0
  148. package/dist/client/chunks/ProportionBarChart.config-CMtPMCH4.js.map +1 -0
  149. package/dist/client/chunks/{RecordsTable-Bgqo-LjT.js → RecordsTable-DRovI83Z.js} +22 -18
  150. package/dist/client/chunks/{RecordsTable-Bgqo-LjT.js.map → RecordsTable-DRovI83Z.js.map} +1 -1
  151. package/dist/client/chunks/RecordsTable.config-ke4o6xDT.js +71 -0
  152. package/dist/client/chunks/RecordsTable.config-ke4o6xDT.js.map +1 -0
  153. package/dist/client/chunks/{RetentionCombinedChart-BtMRtwlb.js → RetentionCombinedChart-D_vAvtIb.js} +4 -3
  154. package/dist/client/chunks/{RetentionCombinedChart-BtMRtwlb.js.map → RetentionCombinedChart-D_vAvtIb.js.map} +1 -1
  155. package/dist/client/chunks/RetentionCombinedChart.config-BHrENGdA.js +53 -0
  156. package/dist/client/chunks/RetentionCombinedChart.config-BHrENGdA.js.map +1 -0
  157. package/dist/client/chunks/{RetentionHeatmap-ChTa35gp.js → RetentionHeatmap-CVEmxbg9.js} +2 -2
  158. package/dist/client/chunks/{RetentionHeatmap-ChTa35gp.js.map → RetentionHeatmap-CVEmxbg9.js.map} +1 -1
  159. package/dist/client/chunks/RetentionHeatmap.config-Dk4X_BQS.js +22 -0
  160. package/dist/client/chunks/RetentionHeatmap.config-Dk4X_BQS.js.map +1 -0
  161. package/dist/client/chunks/ScatterSeries-CJCF4e7H.js +161 -0
  162. package/dist/client/chunks/ScatterSeries-CJCF4e7H.js.map +1 -0
  163. package/dist/client/chunks/SchemaVisualization-DE8WBbNZ.js +1 -0
  164. package/dist/client/chunks/TextPortletModal-Bg5hFfZg.js +193 -0
  165. package/dist/client/chunks/TextPortletModal-Bg5hFfZg.js.map +1 -0
  166. package/dist/client/chunks/TreeMapLegend-D39xLZ7R.js +258 -0
  167. package/dist/client/chunks/TreeMapLegend-D39xLZ7R.js.map +1 -0
  168. package/dist/client/chunks/{analysis-builder-CnmkTZm2.js → analysis-builder-BMoycXCE.js} +716 -712
  169. package/dist/client/chunks/{analysis-builder-CnmkTZm2.js.map → analysis-builder-BMoycXCE.js.map} +1 -1
  170. package/dist/client/chunks/{analysis-builder-shared-BsjxOL7r.js → analysis-builder-shared-D1KnOXT2.js} +985 -983
  171. package/dist/client/chunks/{analysis-builder-shared-BsjxOL7r.js.map → analysis-builder-shared-D1KnOXT2.js.map} +1 -1
  172. package/dist/client/chunks/cartesianChartHelpers-D6a1iOJI.js +261 -0
  173. package/dist/client/chunks/cartesianChartHelpers-D6a1iOJI.js.map +1 -0
  174. package/dist/client/chunks/chart-activity-grid-CiqEnzs_.js +133 -0
  175. package/dist/client/chunks/chart-activity-grid-CiqEnzs_.js.map +1 -0
  176. package/dist/client/chunks/chart-area-BgKyGty4.js +127 -0
  177. package/dist/client/chunks/chart-area-BgKyGty4.js.map +1 -0
  178. package/dist/client/chunks/chart-bar-BKTQ6zyq.js +131 -0
  179. package/dist/client/chunks/chart-bar-BKTQ6zyq.js.map +1 -0
  180. package/dist/client/chunks/{chart-box-plot-CW5GZHM9.js → chart-box-plot-FD8d8S_Y.js} +13 -11
  181. package/dist/client/chunks/{chart-box-plot-CW5GZHM9.js.map → chart-box-plot-FD8d8S_Y.js.map} +1 -1
  182. package/dist/client/chunks/chart-bubble-BbmLUynL.js +97 -0
  183. package/dist/client/chunks/chart-bubble-BbmLUynL.js.map +1 -0
  184. package/dist/client/chunks/{chart-candlestick-BPFeay7t.js → chart-candlestick-DeDZSkhF.js} +4 -3
  185. package/dist/client/chunks/{chart-candlestick-BPFeay7t.js.map → chart-candlestick-DeDZSkhF.js.map} +1 -1
  186. package/dist/client/chunks/{chart-config-activity-grid-C4vXGQNu.js → chart-config-activity-grid-BxBwSQOi.js} +2 -2
  187. package/dist/client/chunks/{chart-config-activity-grid-C4vXGQNu.js.map → chart-config-activity-grid-BxBwSQOi.js.map} +1 -1
  188. package/dist/client/chunks/chart-config-area-CiUGyEFe.js +53 -0
  189. package/dist/client/chunks/chart-config-area-CiUGyEFe.js.map +1 -0
  190. package/dist/client/chunks/{chart-config-bar-G2HJJBVV.js → chart-config-bar-CgnxLwWK.js} +7 -7
  191. package/dist/client/chunks/{chart-config-bar-G2HJJBVV.js.map → chart-config-bar-CgnxLwWK.js.map} +1 -1
  192. package/dist/client/chunks/{chart-config-box-plot-DMuJZqkr.js → chart-config-box-plot-MlPKB7lL.js} +2 -2
  193. package/dist/client/chunks/{chart-config-box-plot-DMuJZqkr.js.map → chart-config-box-plot-MlPKB7lL.js.map} +1 -1
  194. package/dist/client/chunks/{chart-config-bubble-1IyZinH0.js → chart-config-bubble-kkgqYpmA.js} +2 -2
  195. package/dist/client/chunks/{chart-config-bubble-1IyZinH0.js.map → chart-config-bubble-kkgqYpmA.js.map} +1 -1
  196. package/dist/client/chunks/{chart-config-candlestick-QwQwJB_-.js → chart-config-candlestick-BROunjEW.js} +2 -2
  197. package/dist/client/chunks/{chart-config-candlestick-QwQwJB_-.js.map → chart-config-candlestick-BROunjEW.js.map} +1 -1
  198. package/dist/client/chunks/{chart-config-data-table-CrGyS7aJ.js → chart-config-data-table-B6Qi3Xm7.js} +2 -2
  199. package/dist/client/chunks/{chart-config-data-table-CrGyS7aJ.js.map → chart-config-data-table-B6Qi3Xm7.js.map} +1 -1
  200. package/dist/client/chunks/{chart-config-funnel-DMLLKtPF.js → chart-config-funnel-Dd5O8OuZ.js} +2 -2
  201. package/dist/client/chunks/{chart-config-funnel-DMLLKtPF.js.map → chart-config-funnel-Dd5O8OuZ.js.map} +1 -1
  202. package/dist/client/chunks/{chart-config-gauge-CJktdjox.js → chart-config-gauge-BHzJ-ajH.js} +2 -2
  203. package/dist/client/chunks/{chart-config-gauge-CJktdjox.js.map → chart-config-gauge-BHzJ-ajH.js.map} +1 -1
  204. package/dist/client/chunks/{chart-config-heat-map-CJF65SyL.js → chart-config-heat-map-BQ3lWgrt.js} +2 -2
  205. package/dist/client/chunks/{chart-config-heat-map-CJF65SyL.js.map → chart-config-heat-map-BQ3lWgrt.js.map} +1 -1
  206. package/dist/client/chunks/{chart-config-kpi-delta-BIAq1Ftg.js → chart-config-kpi-delta-Bb-SdLfu.js} +3 -3
  207. package/dist/client/chunks/{chart-config-kpi-delta-BIAq1Ftg.js.map → chart-config-kpi-delta-Bb-SdLfu.js.map} +1 -1
  208. package/dist/client/chunks/{chart-config-kpi-number-Dgc4gIYu.js → chart-config-kpi-number-DrgZOOSX.js} +3 -3
  209. package/dist/client/chunks/{chart-config-kpi-number-Dgc4gIYu.js.map → chart-config-kpi-number-DrgZOOSX.js.map} +1 -1
  210. package/dist/client/chunks/{chart-config-kpi-text-DnnxvOSA.js → chart-config-kpi-text-xy5s6xuC.js} +2 -2
  211. package/dist/client/chunks/{chart-config-kpi-text-DnnxvOSA.js.map → chart-config-kpi-text-xy5s6xuC.js.map} +1 -1
  212. package/dist/client/chunks/{chart-config-line-DLkRs1Zr.js → chart-config-line-SZnp_5gb.js} +9 -9
  213. package/dist/client/chunks/{chart-config-line-DLkRs1Zr.js.map → chart-config-line-SZnp_5gb.js.map} +1 -1
  214. package/dist/client/chunks/{chart-config-markdown-CK8PAWUg.js → chart-config-markdown-BWAma-cF.js} +2 -2
  215. package/dist/client/chunks/{chart-config-markdown-CK8PAWUg.js.map → chart-config-markdown-BWAma-cF.js.map} +1 -1
  216. package/dist/client/chunks/{chart-config-measure-profile-CRSRIpKh.js → chart-config-measure-profile-CLvcY5Qs.js} +2 -2
  217. package/dist/client/chunks/{chart-config-measure-profile-CRSRIpKh.js.map → chart-config-measure-profile-CLvcY5Qs.js.map} +1 -1
  218. package/dist/client/chunks/{chart-config-pie-XrHim0C8.js → chart-config-pie-DgM8pgZ3.js} +3 -3
  219. package/dist/client/chunks/{chart-config-pie-XrHim0C8.js.map → chart-config-pie-DgM8pgZ3.js.map} +1 -1
  220. package/dist/client/chunks/{chart-config-radar-xNS6Juqc.js → chart-config-radar-Bz7e2iJu.js} +3 -3
  221. package/dist/client/chunks/{chart-config-radar-xNS6Juqc.js.map → chart-config-radar-Bz7e2iJu.js.map} +1 -1
  222. package/dist/client/chunks/{chart-config-radial-bar-ChUChsEe.js → chart-config-radial-bar-Cq-77n9m.js} +3 -3
  223. package/dist/client/chunks/{chart-config-radial-bar-ChUChsEe.js.map → chart-config-radial-bar-Cq-77n9m.js.map} +1 -1
  224. package/dist/client/chunks/{chart-config-sankey-De8E0C1A.js → chart-config-sankey-CbqiUqXk.js} +2 -2
  225. package/dist/client/chunks/{chart-config-sankey-De8E0C1A.js.map → chart-config-sankey-CbqiUqXk.js.map} +1 -1
  226. package/dist/client/chunks/{chart-config-scatter-CWA89oX4.js → chart-config-scatter-CpsCAH0E.js} +2 -2
  227. package/dist/client/chunks/{chart-config-scatter-CWA89oX4.js.map → chart-config-scatter-CpsCAH0E.js.map} +1 -1
  228. package/dist/client/chunks/{chart-config-sunburst-B4NUYHMH.js → chart-config-sunburst-D_uXQPeS.js} +2 -2
  229. package/dist/client/chunks/{chart-config-sunburst-B4NUYHMH.js.map → chart-config-sunburst-D_uXQPeS.js.map} +1 -1
  230. package/dist/client/chunks/{chart-config-tree-map-CnrJ7OC1.js → chart-config-tree-map-CoeS1GRn.js} +3 -3
  231. package/dist/client/chunks/{chart-config-tree-map-CnrJ7OC1.js.map → chart-config-tree-map-CoeS1GRn.js.map} +1 -1
  232. package/dist/client/chunks/{chart-config-waterfall-DlQb_PLh.js → chart-config-waterfall-CNLbg6tA.js} +2 -2
  233. package/dist/client/chunks/{chart-config-waterfall-DlQb_PLh.js.map → chart-config-waterfall-CNLbg6tA.js.map} +1 -1
  234. package/dist/client/chunks/chart-data-table-DLwFKymv.js +167 -0
  235. package/dist/client/chunks/chart-data-table-DLwFKymv.js.map +1 -0
  236. package/dist/client/chunks/chart-funnel-BirEW77o.js +34 -0
  237. package/dist/client/chunks/chart-funnel-BirEW77o.js.map +1 -0
  238. package/dist/client/chunks/chart-gauge-C4yS5138.js +145 -0
  239. package/dist/client/chunks/chart-gauge-C4yS5138.js.map +1 -0
  240. package/dist/client/chunks/chart-heat-map-DvGcfud9.js +66 -0
  241. package/dist/client/chunks/chart-heat-map-DvGcfud9.js.map +1 -0
  242. package/dist/client/chunks/chart-kpi-delta-BeReVMyn.js +211 -0
  243. package/dist/client/chunks/chart-kpi-delta-BeReVMyn.js.map +1 -0
  244. package/dist/client/chunks/chart-kpi-number-CuYpI5LO.js +166 -0
  245. package/dist/client/chunks/chart-kpi-number-CuYpI5LO.js.map +1 -0
  246. package/dist/client/chunks/chart-kpi-text-D3dha9Dn.js +132 -0
  247. package/dist/client/chunks/chart-kpi-text-D3dha9Dn.js.map +1 -0
  248. package/dist/client/chunks/{chart-line-D_yFQDze.js → chart-line-EzYdBDdL.js} +35 -28
  249. package/dist/client/chunks/{chart-line-D_yFQDze.js.map → chart-line-EzYdBDdL.js.map} +1 -1
  250. package/dist/client/chunks/chart-markdown-B1AZcI8Y.js +68 -0
  251. package/dist/client/chunks/chart-markdown-B1AZcI8Y.js.map +1 -0
  252. package/dist/client/chunks/{chart-measure-profile-DOHIm-QY.js → chart-measure-profile-DaL9c2jy.js} +14 -10
  253. package/dist/client/chunks/{chart-measure-profile-DOHIm-QY.js.map → chart-measure-profile-DaL9c2jy.js.map} +1 -1
  254. package/dist/client/chunks/{chart-pie-DLrT81CL.js → chart-pie-Dw3W8Qjg.js} +37 -32
  255. package/dist/client/chunks/{chart-pie-DLrT81CL.js.map → chart-pie-Dw3W8Qjg.js.map} +1 -1
  256. package/dist/client/chunks/chart-radar-BhySlY7t.js +99 -0
  257. package/dist/client/chunks/chart-radar-BhySlY7t.js.map +1 -0
  258. package/dist/client/chunks/chart-radial-bar-DXc37T3I.js +90 -0
  259. package/dist/client/chunks/chart-radial-bar-DXc37T3I.js.map +1 -0
  260. package/dist/client/chunks/{chart-sankey-CWkctg-k.js → chart-sankey-Xi0rQvx-.js} +64 -72
  261. package/dist/client/chunks/chart-sankey-Xi0rQvx-.js.map +1 -0
  262. package/dist/client/chunks/chart-scatter-D7mMgM6E.js +108 -0
  263. package/dist/client/chunks/chart-scatter-D7mMgM6E.js.map +1 -0
  264. package/dist/client/chunks/{chart-sunburst-9sgiHFSO.js → chart-sunburst-t3Qb3HI7.js} +5 -4
  265. package/dist/client/chunks/{chart-sunburst-9sgiHFSO.js.map → chart-sunburst-t3Qb3HI7.js.map} +1 -1
  266. package/dist/client/chunks/chart-tree-map-C0EZEE0y.js +79 -0
  267. package/dist/client/chunks/chart-tree-map-C0EZEE0y.js.map +1 -0
  268. package/dist/client/chunks/{chart-waterfall-BS7x0dW-.js → chart-waterfall-C4rt-_iE.js} +17 -13
  269. package/dist/client/chunks/{chart-waterfall-BS7x0dW-.js.map → chart-waterfall-C4rt-_iE.js.map} +1 -1
  270. package/dist/client/chunks/chartAxisResolution-s-yFUG-H.js +14 -0
  271. package/dist/client/chunks/chartAxisResolution-s-yFUG-H.js.map +1 -0
  272. package/dist/client/chunks/chartComponentRegistry-lrQVhpz2.js +183 -0
  273. package/dist/client/chunks/chartComponentRegistry-lrQVhpz2.js.map +1 -0
  274. package/dist/client/chunks/chartConstants-CeG7zZmB.js +32 -0
  275. package/dist/client/chunks/chartConstants-CeG7zZmB.js.map +1 -0
  276. package/dist/client/chunks/chartPlugin-QJVPr2DC.js +126 -0
  277. package/dist/client/chunks/chartPlugin-QJVPr2DC.js.map +1 -0
  278. package/dist/client/chunks/chartRegistry-C6U441qz.js +425 -0
  279. package/dist/client/chunks/chartRegistry-C6U441qz.js.map +1 -0
  280. package/dist/client/chunks/chartScaffolding-BFh8cJ0z.js +132 -0
  281. package/dist/client/chunks/chartScaffolding-BFh8cJ0z.js.map +1 -0
  282. package/dist/client/chunks/chartUtils-BDj8NT4c.js +293 -0
  283. package/dist/client/chunks/chartUtils-BDj8NT4c.js.map +1 -0
  284. package/dist/client/chunks/charts-core-USDYqnlX.js +137 -0
  285. package/dist/client/chunks/charts-core-USDYqnlX.js.map +1 -0
  286. package/dist/client/chunks/charts-loader-i4Fe3mAw.js +164 -0
  287. package/dist/client/chunks/charts-loader-i4Fe3mAw.js.map +1 -0
  288. package/dist/client/chunks/comparisonUtils-BrJqygLf.js +150 -0
  289. package/dist/client/chunks/comparisonUtils-BrJqygLf.js.map +1 -0
  290. package/dist/client/chunks/{core-C6Oh9jUG.js → core-nhQQ5GTQ.js} +2 -2
  291. package/dist/client/chunks/{core-C6Oh9jUG.js.map → core-nhQQ5GTQ.js.map} +1 -1
  292. package/dist/client/chunks/{dashboardExport-ZiT4DcDZ.js → dashboardExport-BNWvcHvg.js} +2 -2
  293. package/dist/client/chunks/{dashboardExport-ZiT4DcDZ.js.map → dashboardExport-BNWvcHvg.js.map} +1 -1
  294. package/dist/client/chunks/dist-CiyOP0NN.js +3830 -0
  295. package/dist/client/chunks/dist-CiyOP0NN.js.map +1 -0
  296. package/dist/client/chunks/exportXlsx-Dnc0ZOJW.js +238 -0
  297. package/dist/client/chunks/exportXlsx-Dnc0ZOJW.js.map +1 -0
  298. package/dist/client/chunks/flow-utils-D1Ql5SVc.js +13 -0
  299. package/dist/client/chunks/flow-utils-D1Ql5SVc.js.map +1 -0
  300. package/dist/client/chunks/funnel-utils-DM7HviOg.js +107 -0
  301. package/dist/client/chunks/funnel-utils-DM7HviOg.js.map +1 -0
  302. package/dist/client/chunks/gaugeChartHelpers-DIizWJgM.js +317 -0
  303. package/dist/client/chunks/gaugeChartHelpers-DIizWJgM.js.map +1 -0
  304. package/dist/client/chunks/multiQueryUtils-My_HGw4K.js +104 -0
  305. package/dist/client/chunks/multiQueryUtils-My_HGw4K.js.map +1 -0
  306. package/dist/client/chunks/{nl-NL-CKfZudeP.js → nl-NL-D0By-h6j.js} +4 -2
  307. package/dist/client/chunks/{nl-NL-CKfZudeP.js.map → nl-NL-D0By-h6j.js.map} +1 -1
  308. package/dist/client/chunks/ordinal-CTFeIYeM.js +67 -0
  309. package/dist/client/chunks/ordinal-CTFeIYeM.js.map +1 -0
  310. package/dist/client/chunks/periodUtils-Ce0-vU2S.js +77 -0
  311. package/dist/client/chunks/periodUtils-Ce0-vU2S.js.map +1 -0
  312. package/dist/client/chunks/pivotUtils-wtiioqnU.js +117 -0
  313. package/dist/client/chunks/pivotUtils-wtiioqnU.js.map +1 -0
  314. package/dist/client/chunks/providers-Bn1iccjx.js +238 -0
  315. package/dist/client/chunks/providers-Bn1iccjx.js.map +1 -0
  316. package/dist/client/chunks/quantize-CaQkhIo6.js +906 -0
  317. package/dist/client/chunks/quantize-CaQkhIo6.js.map +1 -0
  318. package/dist/client/chunks/query-shape-Dv_qf-Nn.js +10 -0
  319. package/dist/client/chunks/query-shape-Dv_qf-Nn.js.map +1 -0
  320. package/dist/client/chunks/radarChartHelpers-qBWsG55A.js +47 -0
  321. package/dist/client/chunks/radarChartHelpers-qBWsG55A.js.map +1 -0
  322. package/dist/client/chunks/radialBarChartHelpers-BSdeHzM7.js +40 -0
  323. package/dist/client/chunks/radialBarChartHelpers-BSdeHzM7.js.map +1 -0
  324. package/dist/client/chunks/{rolldown-runtime-DArdT4gl.js → rolldown-runtime-B0aSnxlc.js} +2 -5
  325. package/dist/client/chunks/{schema-visualization-BO70spCF.js → schema-visualization-D5HMwXPe.js} +115 -106
  326. package/dist/client/chunks/schema-visualization-D5HMwXPe.js.map +1 -0
  327. package/dist/client/chunks/targetUtils-SRy303Hh.js +36 -0
  328. package/dist/client/chunks/targetUtils-SRy303Hh.js.map +1 -0
  329. package/dist/client/chunks/theme-wFun5b1M.js +100 -0
  330. package/dist/client/chunks/theme-wFun5b1M.js.map +1 -0
  331. package/dist/client/chunks/useChartDimensions-Dj85ySRd.js +52 -0
  332. package/dist/client/chunks/useChartDimensions-Dj85ySRd.js.map +1 -0
  333. package/dist/client/chunks/useCubeFieldLabel-CYdABa_m.js +12 -0
  334. package/dist/client/chunks/useCubeFieldLabel-CYdABa_m.js.map +1 -0
  335. package/dist/client/chunks/useCubeMetaQuery-BQRQjE8r.js +46 -0
  336. package/dist/client/chunks/useCubeMetaQuery-BQRQjE8r.js.map +1 -0
  337. package/dist/client/chunks/{useDirtyStateTracking-OVW-JnrF.js → useDirtyStateTracking-DvlGcFpU.js} +84 -81
  338. package/dist/client/chunks/{useDirtyStateTracking-OVW-JnrF.js.map → useDirtyStateTracking-DvlGcFpU.js.map} +1 -1
  339. package/dist/client/chunks/{useExplainAI-BrjlR24K.js → useExplainAI-DGXJ0Rcg.js} +29 -29
  340. package/dist/client/chunks/{useExplainAI-BrjlR24K.js.map → useExplainAI-DGXJ0Rcg.js.map} +1 -1
  341. package/dist/client/chunks/useTheme-Bq_gYwsK.js +27 -0
  342. package/dist/client/chunks/useTheme-Bq_gYwsK.js.map +1 -0
  343. package/dist/client/chunks/{chart-activity-grid-DeDPSs12.js → useTranslation-F7BGje95.js} +38 -1007
  344. package/dist/client/chunks/useTranslation-F7BGje95.js.map +1 -0
  345. package/dist/client/chunks/vendor-BPwAo1-t.js +2466 -0
  346. package/dist/client/chunks/vendor-BPwAo1-t.js.map +1 -0
  347. package/dist/client/components/charts/HeatMapCanvas.d.ts +1 -1
  348. package/dist/client/components/dashboard/DashboardContext.d.ts +1 -1
  349. package/dist/client/components/dashboard/gridLayoutModule.d.ts +9 -0
  350. package/dist/client/components.js +1214 -3
  351. package/dist/client/components.js.map +1 -0
  352. package/dist/client/hooks/dashboard/useGridLayoutEngine.d.ts +1 -1
  353. package/dist/client/hooks/useDashboardHook.d.ts +1 -1
  354. package/dist/client/hooks.js +4 -4
  355. package/dist/client/icons.js +1846 -1
  356. package/dist/client/icons.js.map +1 -0
  357. package/dist/client/index.js +454 -446
  358. package/dist/client/index.js.map +1 -1
  359. package/dist/client/providers.js +3 -3
  360. package/dist/client/schema.js +1 -1
  361. package/dist/client/stores/dashboardStore.d.ts +1 -1
  362. package/dist/client/types/gridLayout.d.ts +29 -0
  363. package/dist/client/utils.js +19 -16
  364. package/dist/client/utils.js.map +1 -1
  365. package/dist/client-bundle-stats.html +1 -1
  366. package/dist/mcp-app/mcp-app.html +139 -139
  367. package/dist/server/index.cjs +2 -2
  368. package/dist/server/index.js +3 -6
  369. package/package.json +47 -39
  370. package/dist/adapters/ActivityGridChart.config-D14_z5sv.js +0 -1
  371. package/dist/adapters/ActivityGridChart.config-ufhph9uT.cjs +0 -1
  372. package/dist/adapters/AreaChart.config-0WZQMQva.js +0 -1
  373. package/dist/adapters/AreaChart.config-D13ltksm.cjs +0 -1
  374. package/dist/adapters/BarChart.config-CKW_EixK.cjs +0 -1
  375. package/dist/adapters/BarChart.config-Dap2k5h9.js +0 -1
  376. package/dist/adapters/BoxPlotChart.config-BL9GycIS.js +0 -1
  377. package/dist/adapters/BoxPlotChart.config-D8ijk7P0.cjs +0 -1
  378. package/dist/adapters/BubbleChart.config-B5mdZpOU.js +0 -1
  379. package/dist/adapters/BubbleChart.config-D_F6Q5z3.cjs +0 -1
  380. package/dist/adapters/CandlestickChart.config-DWebnARH.cjs +0 -1
  381. package/dist/adapters/CandlestickChart.config-U_bjkKnh.js +0 -1
  382. package/dist/adapters/DataTable.config-CgONV9qM.cjs +0 -1
  383. package/dist/adapters/DataTable.config-Cuagfjxg.js +0 -1
  384. package/dist/adapters/DotStripChart.config-B5lxjWSO.js +0 -1
  385. package/dist/adapters/DotStripChart.config-fD9Mc6W1.cjs +0 -1
  386. package/dist/adapters/FunnelChart.config-BaE_hLT-.js +0 -1
  387. package/dist/adapters/FunnelChart.config-Cx7W7-R0.cjs +0 -1
  388. package/dist/adapters/GaugeChart.config-CgKuBQVo.cjs +0 -1
  389. package/dist/adapters/GaugeChart.config-ilNlLLj6.js +0 -1
  390. package/dist/adapters/HeatMapChart.config-Bbk6aa8K.js +0 -1
  391. package/dist/adapters/HeatMapChart.config-CURg_iiu.cjs +0 -1
  392. package/dist/adapters/KpiDelta.config-CuZ2C_6t.js +0 -1
  393. package/dist/adapters/KpiDelta.config-DRy870xF.cjs +0 -1
  394. package/dist/adapters/KpiNumber.config-BWowvaBG.cjs +0 -1
  395. package/dist/adapters/KpiNumber.config-h9VspPBo.js +0 -1
  396. package/dist/adapters/KpiText.config-CXouHoxx.js +0 -1
  397. package/dist/adapters/KpiText.config-dSbcOdVW.cjs +0 -1
  398. package/dist/adapters/LineChart.config-BrcTc3dO.cjs +0 -1
  399. package/dist/adapters/LineChart.config-DOZctkmK.js +0 -1
  400. package/dist/adapters/MarkdownChart.config-BduAIK5N.js +0 -1
  401. package/dist/adapters/MarkdownChart.config-CFnH92Fg.cjs +0 -1
  402. package/dist/adapters/MeasureProfileChart.config-BgdtMIbZ.js +0 -1
  403. package/dist/adapters/MeasureProfileChart.config-CUahwnse.cjs +0 -1
  404. package/dist/adapters/PieChart.config-Bwf8meCN.js +0 -1
  405. package/dist/adapters/PieChart.config-ClfJ6LyA.cjs +0 -1
  406. package/dist/adapters/ProportionBarChart.config-CKyen5fP.cjs +0 -1
  407. package/dist/adapters/ProportionBarChart.config-D7RADfKH.js +0 -1
  408. package/dist/adapters/RadarChart.config-CBR7pNrt.js +0 -1
  409. package/dist/adapters/RadarChart.config-DSLRklgx.cjs +0 -1
  410. package/dist/adapters/RadialBarChart.config-BTGjY6JD.js +0 -1
  411. package/dist/adapters/RadialBarChart.config-CPbimqdg.cjs +0 -1
  412. package/dist/adapters/RecordsTable.config-B1Z_3JTJ.js +0 -1
  413. package/dist/adapters/RecordsTable.config-C6QhLcZk.cjs +0 -1
  414. package/dist/adapters/RetentionCombinedChart.config-BkSezvSb.js +0 -1
  415. package/dist/adapters/RetentionCombinedChart.config-R1Eq-xRI.cjs +0 -1
  416. package/dist/adapters/RetentionHeatmap.config-BlUhtL5W.js +0 -1
  417. package/dist/adapters/RetentionHeatmap.config-DCIsToqo.cjs +0 -1
  418. package/dist/adapters/SankeyChart.config-Bt0F2A6e.js +0 -1
  419. package/dist/adapters/SankeyChart.config-_Z5ZrziF.cjs +0 -1
  420. package/dist/adapters/ScatterChart.config-BW0_kSo8.cjs +0 -1
  421. package/dist/adapters/ScatterChart.config-DCaM-v68.js +0 -1
  422. package/dist/adapters/SunburstChart.config-B8Q9pbbo.js +0 -1
  423. package/dist/adapters/SunburstChart.config-mhQZB6uc.cjs +0 -1
  424. package/dist/adapters/TreeMapChart.config-Ch--bdyv.js +0 -1
  425. package/dist/adapters/TreeMapChart.config-DaNlt1aC.cjs +0 -1
  426. package/dist/adapters/WaterfallChart.config-CR49XWjE.cjs +0 -1
  427. package/dist/adapters/WaterfallChart.config-qHaD0m4H.js +0 -1
  428. package/dist/adapters/mcp-app-html-DkiIh0rL.cjs +0 -1
  429. package/dist/adapters/mcp-app-html-DwnysAEL.js +0 -5
  430. package/dist/client/chunks/DashboardEditModal-F2fGr29d.js.map +0 -1
  431. package/dist/client/chunks/chart-activity-grid-DeDPSs12.js.map +0 -1
  432. package/dist/client/chunks/chart-area-WyrVYze7.js +0 -961
  433. package/dist/client/chunks/chart-area-WyrVYze7.js.map +0 -1
  434. package/dist/client/chunks/chart-bar-wGHC1Hfo.js +0 -201
  435. package/dist/client/chunks/chart-bar-wGHC1Hfo.js.map +0 -1
  436. package/dist/client/chunks/chart-bubble-CKkVi7L2.js +0 -221
  437. package/dist/client/chunks/chart-bubble-CKkVi7L2.js.map +0 -1
  438. package/dist/client/chunks/chart-config-area-BnsRQ-MY.js +0 -172
  439. package/dist/client/chunks/chart-config-area-BnsRQ-MY.js.map +0 -1
  440. package/dist/client/chunks/chart-data-table-uJG1V-be.js +0 -5548
  441. package/dist/client/chunks/chart-data-table-uJG1V-be.js.map +0 -1
  442. package/dist/client/chunks/chart-funnel-BtUexI1t.js +0 -409
  443. package/dist/client/chunks/chart-funnel-BtUexI1t.js.map +0 -1
  444. package/dist/client/chunks/chart-gauge-BSrfZFsW.js +0 -456
  445. package/dist/client/chunks/chart-gauge-BSrfZFsW.js.map +0 -1
  446. package/dist/client/chunks/chart-heat-map-DtMtuFnw.js +0 -236
  447. package/dist/client/chunks/chart-heat-map-DtMtuFnw.js.map +0 -1
  448. package/dist/client/chunks/chart-kpi-delta-B0BkN_Q6.js +0 -482
  449. package/dist/client/chunks/chart-kpi-delta-B0BkN_Q6.js.map +0 -1
  450. package/dist/client/chunks/chart-kpi-number-zlBkLesi.js +0 -263
  451. package/dist/client/chunks/chart-kpi-number-zlBkLesi.js.map +0 -1
  452. package/dist/client/chunks/chart-kpi-text-BXXfkhz_.js +0 -188
  453. package/dist/client/chunks/chart-kpi-text-BXXfkhz_.js.map +0 -1
  454. package/dist/client/chunks/chart-markdown-DaBTpRgf.js +0 -8565
  455. package/dist/client/chunks/chart-markdown-DaBTpRgf.js.map +0 -1
  456. package/dist/client/chunks/chart-radar-CcXG6k6o.js +0 -138
  457. package/dist/client/chunks/chart-radar-CcXG6k6o.js.map +0 -1
  458. package/dist/client/chunks/chart-radial-bar-DYn5FLrG.js +0 -122
  459. package/dist/client/chunks/chart-radial-bar-DYn5FLrG.js.map +0 -1
  460. package/dist/client/chunks/chart-sankey-CWkctg-k.js.map +0 -1
  461. package/dist/client/chunks/chart-scatter-CCGL2IEP.js +0 -258
  462. package/dist/client/chunks/chart-scatter-CCGL2IEP.js.map +0 -1
  463. package/dist/client/chunks/chart-tree-map-DOWeXCn_.js +0 -325
  464. package/dist/client/chunks/chart-tree-map-DOWeXCn_.js.map +0 -1
  465. package/dist/client/chunks/charts-core-DM-Eav_9.js +0 -190
  466. package/dist/client/chunks/charts-core-DM-Eav_9.js.map +0 -1
  467. package/dist/client/chunks/charts-loader-3N-LqjLk.js +0 -87
  468. package/dist/client/chunks/charts-loader-3N-LqjLk.js.map +0 -1
  469. package/dist/client/chunks/exceljs.min-BqhtpmKc.js +0 -32036
  470. package/dist/client/chunks/exceljs.min-BqhtpmKc.js.map +0 -1
  471. package/dist/client/chunks/providers-DwQCKdGW.js +0 -7
  472. package/dist/client/chunks/providers-DwQCKdGW.js.map +0 -1
  473. package/dist/client/chunks/schema-visualization-BO70spCF.js.map +0 -1
  474. package/dist/client/chunks/vendor-Das3qwov.js +0 -881
  475. package/dist/client/chunks/vendor-Das3qwov.js.map +0 -1
@@ -0,0 +1,1477 @@
1
+ import { a as e, c as t, i as n, s as r } from "./chartUtils-BDj8NT4c.js";
2
+ import { c as i, l as a, s as o, u as s } from "./quantize-CaQkhIo6.js";
3
+ //#region node_modules/d3-array/src/max.js
4
+ function c(e, t) {
5
+ let n;
6
+ if (t === void 0) for (let t of e) t != null && (n < t || n === void 0 && t >= t) && (n = t);
7
+ else {
8
+ let r = -1;
9
+ for (let i of e) (i = t(i, ++r, e)) != null && (n < i || n === void 0 && i >= i) && (n = i);
10
+ }
11
+ return n;
12
+ }
13
+ //#endregion
14
+ //#region node_modules/d3-interpolate/src/transform/decompose.js
15
+ var l = 180 / Math.PI, u = {
16
+ translateX: 0,
17
+ translateY: 0,
18
+ rotate: 0,
19
+ skewX: 0,
20
+ scaleX: 1,
21
+ scaleY: 1
22
+ };
23
+ function d(e, t, n, r, i, a) {
24
+ var o, s, c;
25
+ 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), {
26
+ translateX: i,
27
+ translateY: a,
28
+ rotate: Math.atan2(t, e) * l,
29
+ skewX: Math.atan(c) * l,
30
+ scaleX: o,
31
+ scaleY: s
32
+ };
33
+ }
34
+ //#endregion
35
+ //#region node_modules/d3-interpolate/src/transform/parse.js
36
+ var f;
37
+ function p(e) {
38
+ let t = new (typeof DOMMatrix == "function" ? DOMMatrix : WebKitCSSMatrix)(e + "");
39
+ return t.isIdentity ? u : d(t.a, t.b, t.c, t.d, t.e, t.f);
40
+ }
41
+ function m(e) {
42
+ return e == null || (f ||= document.createElementNS("http://www.w3.org/2000/svg", "g"), f.setAttribute("transform", e), !(e = f.transform.baseVal.consolidate())) ? u : (e = e.matrix, d(e.a, e.b, e.c, e.d, e.e, e.f));
43
+ }
44
+ //#endregion
45
+ //#region node_modules/d3-interpolate/src/transform/index.js
46
+ function h(e, t, n, r) {
47
+ function a(e) {
48
+ return e.length ? e.pop() + " " : "";
49
+ }
50
+ function o(e, r, a, o, s, c) {
51
+ if (e !== a || r !== o) {
52
+ var l = s.push("translate(", null, t, null, n);
53
+ c.push({
54
+ i: l - 4,
55
+ x: i(e, a)
56
+ }, {
57
+ i: l - 2,
58
+ x: i(r, o)
59
+ });
60
+ } else (a || o) && s.push("translate(" + a + t + o + n);
61
+ }
62
+ function s(e, t, n, o) {
63
+ e === t ? t && n.push(a(n) + "rotate(" + t + r) : (e - t > 180 ? t += 360 : t - e > 180 && (e += 360), o.push({
64
+ i: n.push(a(n) + "rotate(", null, r) - 2,
65
+ x: i(e, t)
66
+ }));
67
+ }
68
+ function c(e, t, n, o) {
69
+ e === t ? t && n.push(a(n) + "skewX(" + t + r) : o.push({
70
+ i: n.push(a(n) + "skewX(", null, r) - 2,
71
+ x: i(e, t)
72
+ });
73
+ }
74
+ function l(e, t, n, r, o, s) {
75
+ if (e !== n || t !== r) {
76
+ var c = o.push(a(o) + "scale(", null, ",", null, ")");
77
+ s.push({
78
+ i: c - 4,
79
+ x: i(e, n)
80
+ }, {
81
+ i: c - 2,
82
+ x: i(t, r)
83
+ });
84
+ } else (n !== 1 || r !== 1) && o.push(a(o) + "scale(" + n + "," + r + ")");
85
+ }
86
+ return function(t, n) {
87
+ var r = [], i = [];
88
+ return t = e(t), n = e(n), o(t.translateX, t.translateY, n.translateX, n.translateY, r, i), s(t.rotate, n.rotate, r, i), c(t.skewX, n.skewX, r, i), l(t.scaleX, t.scaleY, n.scaleX, n.scaleY, r, i), t = n = null, function(e) {
89
+ for (var t = -1, n = i.length, a; ++t < n;) r[(a = i[t]).i] = a.x(e);
90
+ return r.join("");
91
+ };
92
+ };
93
+ }
94
+ var g = h(p, "px, ", "px)", "deg)"), _ = h(m, ", ", ")", ")"), v = {
95
+ svg: "http://www.w3.org/2000/svg",
96
+ xhtml: "http://www.w3.org/1999/xhtml",
97
+ xlink: "http://www.w3.org/1999/xlink",
98
+ xml: "http://www.w3.org/XML/1998/namespace",
99
+ xmlns: "http://www.w3.org/2000/xmlns/"
100
+ };
101
+ //#endregion
102
+ //#region node_modules/d3-selection/src/namespace.js
103
+ function y(e) {
104
+ var t = e += "", n = t.indexOf(":");
105
+ return n >= 0 && (t = e.slice(0, n)) !== "xmlns" && (e = e.slice(n + 1)), v.hasOwnProperty(t) ? {
106
+ space: v[t],
107
+ local: e
108
+ } : e;
109
+ }
110
+ //#endregion
111
+ //#region node_modules/d3-selection/src/creator.js
112
+ function b(e) {
113
+ return function() {
114
+ var t = this.ownerDocument, n = this.namespaceURI;
115
+ return n === "http://www.w3.org/1999/xhtml" && t.documentElement.namespaceURI === "http://www.w3.org/1999/xhtml" ? t.createElement(e) : t.createElementNS(n, e);
116
+ };
117
+ }
118
+ function ee(e) {
119
+ return function() {
120
+ return this.ownerDocument.createElementNS(e.space, e.local);
121
+ };
122
+ }
123
+ function te(e) {
124
+ var t = y(e);
125
+ return (t.local ? ee : b)(t);
126
+ }
127
+ //#endregion
128
+ //#region node_modules/d3-selection/src/selector.js
129
+ function ne() {}
130
+ function x(e) {
131
+ return e == null ? ne : function() {
132
+ return this.querySelector(e);
133
+ };
134
+ }
135
+ //#endregion
136
+ //#region node_modules/d3-selection/src/selection/select.js
137
+ function re(e) {
138
+ typeof e != "function" && (e = x(e));
139
+ 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);
140
+ return new A(r, this._parents);
141
+ }
142
+ //#endregion
143
+ //#region node_modules/d3-selection/src/array.js
144
+ function ie(e) {
145
+ return e == null ? [] : Array.isArray(e) ? e : Array.from(e);
146
+ }
147
+ //#endregion
148
+ //#region node_modules/d3-selection/src/selectorAll.js
149
+ function ae() {
150
+ return [];
151
+ }
152
+ function oe(e) {
153
+ return e == null ? ae : function() {
154
+ return this.querySelectorAll(e);
155
+ };
156
+ }
157
+ //#endregion
158
+ //#region node_modules/d3-selection/src/selection/selectAll.js
159
+ function se(e) {
160
+ return function() {
161
+ return ie(e.apply(this, arguments));
162
+ };
163
+ }
164
+ function ce(e) {
165
+ e = typeof e == "function" ? se(e) : oe(e);
166
+ 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));
167
+ return new A(r, i);
168
+ }
169
+ //#endregion
170
+ //#region node_modules/d3-selection/src/matcher.js
171
+ function S(e) {
172
+ return function() {
173
+ return this.matches(e);
174
+ };
175
+ }
176
+ function le(e) {
177
+ return function(t) {
178
+ return t.matches(e);
179
+ };
180
+ }
181
+ //#endregion
182
+ //#region node_modules/d3-selection/src/selection/selectChild.js
183
+ var ue = Array.prototype.find;
184
+ function de(e) {
185
+ return function() {
186
+ return ue.call(this.children, e);
187
+ };
188
+ }
189
+ function fe() {
190
+ return this.firstElementChild;
191
+ }
192
+ function pe(e) {
193
+ return this.select(e == null ? fe : de(typeof e == "function" ? e : le(e)));
194
+ }
195
+ //#endregion
196
+ //#region node_modules/d3-selection/src/selection/selectChildren.js
197
+ var me = Array.prototype.filter;
198
+ function he() {
199
+ return Array.from(this.children);
200
+ }
201
+ function ge(e) {
202
+ return function() {
203
+ return me.call(this.children, e);
204
+ };
205
+ }
206
+ function _e(e) {
207
+ return this.selectAll(e == null ? he : ge(typeof e == "function" ? e : le(e)));
208
+ }
209
+ //#endregion
210
+ //#region node_modules/d3-selection/src/selection/filter.js
211
+ function ve(e) {
212
+ typeof e != "function" && (e = S(e));
213
+ 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);
214
+ return new A(r, this._parents);
215
+ }
216
+ //#endregion
217
+ //#region node_modules/d3-selection/src/selection/sparse.js
218
+ function ye(e) {
219
+ return Array(e.length);
220
+ }
221
+ //#endregion
222
+ //#region node_modules/d3-selection/src/selection/enter.js
223
+ function be() {
224
+ return new A(this._enter || this._groups.map(ye), this._parents);
225
+ }
226
+ function C(e, t) {
227
+ this.ownerDocument = e.ownerDocument, this.namespaceURI = e.namespaceURI, this._next = null, this._parent = e, this.__data__ = t;
228
+ }
229
+ C.prototype = {
230
+ constructor: C,
231
+ appendChild: function(e) {
232
+ return this._parent.insertBefore(e, this._next);
233
+ },
234
+ insertBefore: function(e, t) {
235
+ return this._parent.insertBefore(e, t);
236
+ },
237
+ querySelector: function(e) {
238
+ return this._parent.querySelector(e);
239
+ },
240
+ querySelectorAll: function(e) {
241
+ return this._parent.querySelectorAll(e);
242
+ }
243
+ };
244
+ //#endregion
245
+ //#region node_modules/d3-selection/src/constant.js
246
+ function xe(e) {
247
+ return function() {
248
+ return e;
249
+ };
250
+ }
251
+ //#endregion
252
+ //#region node_modules/d3-selection/src/selection/data.js
253
+ function Se(e, t, n, r, i, a) {
254
+ 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 C(e, a[o]);
255
+ for (; o < c; ++o) (s = t[o]) && (i[o] = s);
256
+ }
257
+ function Ce(e, t, n, r, i, a, o) {
258
+ var s, c, l = /* @__PURE__ */ new Map(), u = t.length, d = a.length, f = Array(u), p;
259
+ 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));
260
+ 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 C(e, a[s]);
261
+ for (s = 0; s < u; ++s) (c = t[s]) && l.get(f[s]) === c && (i[s] = c);
262
+ }
263
+ function we(e) {
264
+ return e.__data__;
265
+ }
266
+ function Te(e, t) {
267
+ if (!arguments.length) return Array.from(this, we);
268
+ var n = t ? Ce : Se, r = this._parents, i = this._groups;
269
+ typeof e != "function" && (e = xe(e));
270
+ for (var a = i.length, o = Array(a), s = Array(a), c = Array(a), l = 0; l < a; ++l) {
271
+ var u = r[l], d = i[l], f = d.length, p = Ee(e.call(u, u && u.__data__, l, r)), m = p.length, h = s[l] = Array(m), g = o[l] = Array(m);
272
+ n(u, d, h, g, c[l] = Array(f), p, t);
273
+ for (var _ = 0, v = 0, y, b; _ < m; ++_) if (y = h[_]) {
274
+ for (_ >= v && (v = _ + 1); !(b = g[v]) && ++v < m;);
275
+ y._next = b || null;
276
+ }
277
+ }
278
+ return o = new A(o, r), o._enter = s, o._exit = c, o;
279
+ }
280
+ function Ee(e) {
281
+ return typeof e == "object" && "length" in e ? e : Array.from(e);
282
+ }
283
+ //#endregion
284
+ //#region node_modules/d3-selection/src/selection/exit.js
285
+ function De() {
286
+ return new A(this._exit || this._groups.map(ye), this._parents);
287
+ }
288
+ //#endregion
289
+ //#region node_modules/d3-selection/src/selection/join.js
290
+ function Oe(e, t, n) {
291
+ var r = this.enter(), i = this, a = this.exit();
292
+ 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;
293
+ }
294
+ //#endregion
295
+ //#region node_modules/d3-selection/src/selection/merge.js
296
+ function ke(e) {
297
+ for (var t = e.selection ? e.selection() : e, n = this._groups, r = t._groups, i = n.length, a = Math.min(i, r.length), o = Array(i), s = 0; s < a; ++s) for (var c = n[s], l = r[s], u = c.length, d = o[s] = Array(u), f, p = 0; p < u; ++p) (f = c[p] || l[p]) && (d[p] = f);
298
+ for (; s < i; ++s) o[s] = n[s];
299
+ return new A(o, this._parents);
300
+ }
301
+ //#endregion
302
+ //#region node_modules/d3-selection/src/selection/order.js
303
+ function Ae() {
304
+ 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);
305
+ return this;
306
+ }
307
+ //#endregion
308
+ //#region node_modules/d3-selection/src/selection/sort.js
309
+ function je(e) {
310
+ e ||= Me;
311
+ function t(t, n) {
312
+ return t && n ? e(t.__data__, n.__data__) : !t - !n;
313
+ }
314
+ for (var n = this._groups, r = n.length, i = Array(r), a = 0; a < r; ++a) {
315
+ 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);
316
+ c.sort(t);
317
+ }
318
+ return new A(i, this._parents).order();
319
+ }
320
+ function Me(e, t) {
321
+ return e < t ? -1 : e > t ? 1 : e >= t ? 0 : NaN;
322
+ }
323
+ //#endregion
324
+ //#region node_modules/d3-selection/src/selection/call.js
325
+ function Ne() {
326
+ var e = arguments[0];
327
+ return arguments[0] = this, e.apply(null, arguments), this;
328
+ }
329
+ //#endregion
330
+ //#region node_modules/d3-selection/src/selection/nodes.js
331
+ function Pe() {
332
+ return Array.from(this);
333
+ }
334
+ //#endregion
335
+ //#region node_modules/d3-selection/src/selection/node.js
336
+ function Fe() {
337
+ 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) {
338
+ var o = r[i];
339
+ if (o) return o;
340
+ }
341
+ return null;
342
+ }
343
+ //#endregion
344
+ //#region node_modules/d3-selection/src/selection/size.js
345
+ function Ie() {
346
+ let e = 0;
347
+ for (let t of this) ++e;
348
+ return e;
349
+ }
350
+ //#endregion
351
+ //#region node_modules/d3-selection/src/selection/empty.js
352
+ function Le() {
353
+ return !this.node();
354
+ }
355
+ //#endregion
356
+ //#region node_modules/d3-selection/src/selection/each.js
357
+ function Re(e) {
358
+ 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);
359
+ return this;
360
+ }
361
+ //#endregion
362
+ //#region node_modules/d3-selection/src/selection/attr.js
363
+ function ze(e) {
364
+ return function() {
365
+ this.removeAttribute(e);
366
+ };
367
+ }
368
+ function Be(e) {
369
+ return function() {
370
+ this.removeAttributeNS(e.space, e.local);
371
+ };
372
+ }
373
+ function Ve(e, t) {
374
+ return function() {
375
+ this.setAttribute(e, t);
376
+ };
377
+ }
378
+ function He(e, t) {
379
+ return function() {
380
+ this.setAttributeNS(e.space, e.local, t);
381
+ };
382
+ }
383
+ function Ue(e, t) {
384
+ return function() {
385
+ var n = t.apply(this, arguments);
386
+ n == null ? this.removeAttribute(e) : this.setAttribute(e, n);
387
+ };
388
+ }
389
+ function We(e, t) {
390
+ return function() {
391
+ var n = t.apply(this, arguments);
392
+ n == null ? this.removeAttributeNS(e.space, e.local) : this.setAttributeNS(e.space, e.local, n);
393
+ };
394
+ }
395
+ function Ge(e, t) {
396
+ var n = y(e);
397
+ if (arguments.length < 2) {
398
+ var r = this.node();
399
+ return n.local ? r.getAttributeNS(n.space, n.local) : r.getAttribute(n);
400
+ }
401
+ return this.each((t == null ? n.local ? Be : ze : typeof t == "function" ? n.local ? We : Ue : n.local ? He : Ve)(n, t));
402
+ }
403
+ //#endregion
404
+ //#region node_modules/d3-selection/src/window.js
405
+ function Ke(e) {
406
+ return e.ownerDocument && e.ownerDocument.defaultView || e.document && e || e.defaultView;
407
+ }
408
+ //#endregion
409
+ //#region node_modules/d3-selection/src/selection/style.js
410
+ function qe(e) {
411
+ return function() {
412
+ this.style.removeProperty(e);
413
+ };
414
+ }
415
+ function Je(e, t, n) {
416
+ return function() {
417
+ this.style.setProperty(e, t, n);
418
+ };
419
+ }
420
+ function Ye(e, t, n) {
421
+ return function() {
422
+ var r = t.apply(this, arguments);
423
+ r == null ? this.style.removeProperty(e) : this.style.setProperty(e, r, n);
424
+ };
425
+ }
426
+ function Xe(e, t, n) {
427
+ return arguments.length > 1 ? this.each((t == null ? qe : typeof t == "function" ? Ye : Je)(e, t, n ?? "")) : w(this.node(), e);
428
+ }
429
+ function w(e, t) {
430
+ return e.style.getPropertyValue(t) || Ke(e).getComputedStyle(e, null).getPropertyValue(t);
431
+ }
432
+ //#endregion
433
+ //#region node_modules/d3-selection/src/selection/property.js
434
+ function Ze(e) {
435
+ return function() {
436
+ delete this[e];
437
+ };
438
+ }
439
+ function Qe(e, t) {
440
+ return function() {
441
+ this[e] = t;
442
+ };
443
+ }
444
+ function $e(e, t) {
445
+ return function() {
446
+ var n = t.apply(this, arguments);
447
+ n == null ? delete this[e] : this[e] = n;
448
+ };
449
+ }
450
+ function et(e, t) {
451
+ return arguments.length > 1 ? this.each((t == null ? Ze : typeof t == "function" ? $e : Qe)(e, t)) : this.node()[e];
452
+ }
453
+ //#endregion
454
+ //#region node_modules/d3-selection/src/selection/classed.js
455
+ function tt(e) {
456
+ return e.trim().split(/^|\s+/);
457
+ }
458
+ function T(e) {
459
+ return e.classList || new nt(e);
460
+ }
461
+ function nt(e) {
462
+ this._node = e, this._names = tt(e.getAttribute("class") || "");
463
+ }
464
+ nt.prototype = {
465
+ add: function(e) {
466
+ this._names.indexOf(e) < 0 && (this._names.push(e), this._node.setAttribute("class", this._names.join(" ")));
467
+ },
468
+ remove: function(e) {
469
+ var t = this._names.indexOf(e);
470
+ t >= 0 && (this._names.splice(t, 1), this._node.setAttribute("class", this._names.join(" ")));
471
+ },
472
+ contains: function(e) {
473
+ return this._names.indexOf(e) >= 0;
474
+ }
475
+ };
476
+ function E(e, t) {
477
+ for (var n = T(e), r = -1, i = t.length; ++r < i;) n.add(t[r]);
478
+ }
479
+ function D(e, t) {
480
+ for (var n = T(e), r = -1, i = t.length; ++r < i;) n.remove(t[r]);
481
+ }
482
+ function rt(e) {
483
+ return function() {
484
+ E(this, e);
485
+ };
486
+ }
487
+ function it(e) {
488
+ return function() {
489
+ D(this, e);
490
+ };
491
+ }
492
+ function at(e, t) {
493
+ return function() {
494
+ (t.apply(this, arguments) ? E : D)(this, e);
495
+ };
496
+ }
497
+ function ot(e, t) {
498
+ var n = tt(e + "");
499
+ if (arguments.length < 2) {
500
+ for (var r = T(this.node()), i = -1, a = n.length; ++i < a;) if (!r.contains(n[i])) return !1;
501
+ return !0;
502
+ }
503
+ return this.each((typeof t == "function" ? at : t ? rt : it)(n, t));
504
+ }
505
+ //#endregion
506
+ //#region node_modules/d3-selection/src/selection/text.js
507
+ function st() {
508
+ this.textContent = "";
509
+ }
510
+ function ct(e) {
511
+ return function() {
512
+ this.textContent = e;
513
+ };
514
+ }
515
+ function lt(e) {
516
+ return function() {
517
+ var t = e.apply(this, arguments);
518
+ this.textContent = t ?? "";
519
+ };
520
+ }
521
+ function ut(e) {
522
+ return arguments.length ? this.each(e == null ? st : (typeof e == "function" ? lt : ct)(e)) : this.node().textContent;
523
+ }
524
+ //#endregion
525
+ //#region node_modules/d3-selection/src/selection/html.js
526
+ function dt() {
527
+ this.innerHTML = "";
528
+ }
529
+ function ft(e) {
530
+ return function() {
531
+ this.innerHTML = e;
532
+ };
533
+ }
534
+ function pt(e) {
535
+ return function() {
536
+ var t = e.apply(this, arguments);
537
+ this.innerHTML = t ?? "";
538
+ };
539
+ }
540
+ function mt(e) {
541
+ return arguments.length ? this.each(e == null ? dt : (typeof e == "function" ? pt : ft)(e)) : this.node().innerHTML;
542
+ }
543
+ //#endregion
544
+ //#region node_modules/d3-selection/src/selection/raise.js
545
+ function ht() {
546
+ this.nextSibling && this.parentNode.appendChild(this);
547
+ }
548
+ function gt() {
549
+ return this.each(ht);
550
+ }
551
+ //#endregion
552
+ //#region node_modules/d3-selection/src/selection/lower.js
553
+ function _t() {
554
+ this.previousSibling && this.parentNode.insertBefore(this, this.parentNode.firstChild);
555
+ }
556
+ function vt() {
557
+ return this.each(_t);
558
+ }
559
+ //#endregion
560
+ //#region node_modules/d3-selection/src/selection/append.js
561
+ function yt(e) {
562
+ var t = typeof e == "function" ? e : te(e);
563
+ return this.select(function() {
564
+ return this.appendChild(t.apply(this, arguments));
565
+ });
566
+ }
567
+ //#endregion
568
+ //#region node_modules/d3-selection/src/selection/insert.js
569
+ function bt() {
570
+ return null;
571
+ }
572
+ function xt(e, t) {
573
+ var n = typeof e == "function" ? e : te(e), r = t == null ? bt : typeof t == "function" ? t : x(t);
574
+ return this.select(function() {
575
+ return this.insertBefore(n.apply(this, arguments), r.apply(this, arguments) || null);
576
+ });
577
+ }
578
+ //#endregion
579
+ //#region node_modules/d3-selection/src/selection/remove.js
580
+ function St() {
581
+ var e = this.parentNode;
582
+ e && e.removeChild(this);
583
+ }
584
+ function Ct() {
585
+ return this.each(St);
586
+ }
587
+ //#endregion
588
+ //#region node_modules/d3-selection/src/selection/clone.js
589
+ function wt() {
590
+ var e = this.cloneNode(!1), t = this.parentNode;
591
+ return t ? t.insertBefore(e, this.nextSibling) : e;
592
+ }
593
+ function Tt() {
594
+ var e = this.cloneNode(!0), t = this.parentNode;
595
+ return t ? t.insertBefore(e, this.nextSibling) : e;
596
+ }
597
+ function Et(e) {
598
+ return this.select(e ? Tt : wt);
599
+ }
600
+ //#endregion
601
+ //#region node_modules/d3-selection/src/selection/datum.js
602
+ function Dt(e) {
603
+ return arguments.length ? this.property("__data__", e) : this.node().__data__;
604
+ }
605
+ //#endregion
606
+ //#region node_modules/d3-selection/src/selection/on.js
607
+ function Ot(e) {
608
+ return function(t) {
609
+ e.call(this, t, this.__data__);
610
+ };
611
+ }
612
+ function kt(e) {
613
+ return e.trim().split(/^|\s+/).map(function(e) {
614
+ var t = "", n = e.indexOf(".");
615
+ return n >= 0 && (t = e.slice(n + 1), e = e.slice(0, n)), {
616
+ type: e,
617
+ name: t
618
+ };
619
+ });
620
+ }
621
+ function At(e) {
622
+ return function() {
623
+ var t = this.__on;
624
+ if (t) {
625
+ 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;
626
+ ++r ? t.length = r : delete this.__on;
627
+ }
628
+ };
629
+ }
630
+ function jt(e, t, n) {
631
+ return function() {
632
+ var r = this.__on, i, a = Ot(t);
633
+ if (r) {
634
+ for (var o = 0, s = r.length; o < s; ++o) if ((i = r[o]).type === e.type && i.name === e.name) {
635
+ this.removeEventListener(i.type, i.listener, i.options), this.addEventListener(i.type, i.listener = a, i.options = n), i.value = t;
636
+ return;
637
+ }
638
+ }
639
+ this.addEventListener(e.type, a, n), i = {
640
+ type: e.type,
641
+ name: e.name,
642
+ value: t,
643
+ listener: a,
644
+ options: n
645
+ }, r ? r.push(i) : this.__on = [i];
646
+ };
647
+ }
648
+ function Mt(e, t, n) {
649
+ var r = kt(e + ""), i, a = r.length, o;
650
+ if (arguments.length < 2) {
651
+ var s = this.node().__on;
652
+ if (s) {
653
+ 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;
654
+ }
655
+ } else {
656
+ for (s = t ? jt : At, i = 0; i < a; ++i) this.each(s(r[i], t, n));
657
+ return this;
658
+ }
659
+ }
660
+ //#endregion
661
+ //#region node_modules/d3-selection/src/selection/dispatch.js
662
+ function O(e, t, n) {
663
+ var r = Ke(e), i = r.CustomEvent;
664
+ 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);
665
+ }
666
+ function Nt(e, t) {
667
+ return function() {
668
+ return O(this, e, t);
669
+ };
670
+ }
671
+ function Pt(e, t) {
672
+ return function() {
673
+ return O(this, e, t.apply(this, arguments));
674
+ };
675
+ }
676
+ function Ft(e, t) {
677
+ return this.each((typeof t == "function" ? Pt : Nt)(e, t));
678
+ }
679
+ //#endregion
680
+ //#region node_modules/d3-selection/src/selection/iterator.js
681
+ function* It() {
682
+ 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);
683
+ }
684
+ //#endregion
685
+ //#region node_modules/d3-selection/src/selection/index.js
686
+ var k = [null];
687
+ function A(e, t) {
688
+ this._groups = e, this._parents = t;
689
+ }
690
+ function j() {
691
+ return new A([[document.documentElement]], k);
692
+ }
693
+ function Lt() {
694
+ return this;
695
+ }
696
+ A.prototype = j.prototype = {
697
+ constructor: A,
698
+ select: re,
699
+ selectAll: ce,
700
+ selectChild: pe,
701
+ selectChildren: _e,
702
+ filter: ve,
703
+ data: Te,
704
+ enter: be,
705
+ exit: De,
706
+ join: Oe,
707
+ merge: ke,
708
+ selection: Lt,
709
+ order: Ae,
710
+ sort: je,
711
+ call: Ne,
712
+ nodes: Pe,
713
+ node: Fe,
714
+ size: Ie,
715
+ empty: Le,
716
+ each: Re,
717
+ attr: Ge,
718
+ style: Xe,
719
+ property: et,
720
+ classed: ot,
721
+ text: ut,
722
+ html: mt,
723
+ raise: gt,
724
+ lower: vt,
725
+ append: yt,
726
+ insert: xt,
727
+ remove: Ct,
728
+ clone: Et,
729
+ datum: Dt,
730
+ on: Mt,
731
+ dispatch: Ft,
732
+ [Symbol.iterator]: It
733
+ };
734
+ //#endregion
735
+ //#region node_modules/d3-selection/src/select.js
736
+ function Rt(e) {
737
+ return typeof e == "string" ? new A([[document.querySelector(e)]], [document.documentElement]) : new A([[e]], k);
738
+ }
739
+ //#endregion
740
+ //#region node_modules/d3-dispatch/src/dispatch.js
741
+ var zt = { value: () => {} };
742
+ function Bt() {
743
+ for (var e = 0, t = arguments.length, n = {}, r; e < t; ++e) {
744
+ if (!(r = arguments[e] + "") || r in n || /[\s.]/.test(r)) throw Error("illegal type: " + r);
745
+ n[r] = [];
746
+ }
747
+ return new M(n);
748
+ }
749
+ function M(e) {
750
+ this._ = e;
751
+ }
752
+ function Vt(e, t) {
753
+ return e.trim().split(/^|\s+/).map(function(e) {
754
+ var n = "", r = e.indexOf(".");
755
+ if (r >= 0 && (n = e.slice(r + 1), e = e.slice(0, r)), e && !t.hasOwnProperty(e)) throw Error("unknown type: " + e);
756
+ return {
757
+ type: e,
758
+ name: n
759
+ };
760
+ });
761
+ }
762
+ M.prototype = Bt.prototype = {
763
+ constructor: M,
764
+ on: function(e, t) {
765
+ var n = this._, r = Vt(e + "", n), i, a = -1, o = r.length;
766
+ if (arguments.length < 2) {
767
+ for (; ++a < o;) if ((i = (e = r[a]).type) && (i = Ht(n[i], e.name))) return i;
768
+ } else {
769
+ if (t != null && typeof t != "function") throw Error("invalid callback: " + t);
770
+ for (; ++a < o;) if (i = (e = r[a]).type) n[i] = Ut(n[i], e.name, t);
771
+ else if (t == null) for (i in n) n[i] = Ut(n[i], e.name, null);
772
+ return this;
773
+ }
774
+ },
775
+ copy: function() {
776
+ var e = {}, t = this._;
777
+ for (var n in t) e[n] = t[n].slice();
778
+ return new M(e);
779
+ },
780
+ call: function(e, t) {
781
+ if ((i = arguments.length - 2) > 0) for (var n = Array(i), r = 0, i, a; r < i; ++r) n[r] = arguments[r + 2];
782
+ if (!this._.hasOwnProperty(e)) throw Error("unknown type: " + e);
783
+ for (a = this._[e], r = 0, i = a.length; r < i; ++r) a[r].value.apply(t, n);
784
+ },
785
+ apply: function(e, t, n) {
786
+ if (!this._.hasOwnProperty(e)) throw Error("unknown type: " + e);
787
+ for (var r = this._[e], i = 0, a = r.length; i < a; ++i) r[i].value.apply(t, n);
788
+ }
789
+ };
790
+ function Ht(e, t) {
791
+ for (var n = 0, r = e.length, i; n < r; ++n) if ((i = e[n]).name === t) return i.value;
792
+ }
793
+ function Ut(e, t, n) {
794
+ for (var r = 0, i = e.length; r < i; ++r) if (e[r].name === t) {
795
+ e[r] = zt, e = e.slice(0, r).concat(e.slice(r + 1));
796
+ break;
797
+ }
798
+ return n != null && e.push({
799
+ name: t,
800
+ value: n
801
+ }), e;
802
+ }
803
+ //#endregion
804
+ //#region node_modules/d3-timer/src/timer.js
805
+ var N = 0, P = 0, F = 0, I = 1e3, L, R, z = 0, B = 0, V = 0, H = typeof performance == "object" && performance.now ? performance : Date, Wt = typeof window == "object" && window.requestAnimationFrame ? window.requestAnimationFrame.bind(window) : function(e) {
806
+ setTimeout(e, 17);
807
+ };
808
+ function U() {
809
+ return B ||= (Wt(Gt), H.now() + V);
810
+ }
811
+ function Gt() {
812
+ B = 0;
813
+ }
814
+ function W() {
815
+ this._call = this._time = this._next = null;
816
+ }
817
+ W.prototype = Kt.prototype = {
818
+ constructor: W,
819
+ restart: function(e, t, n) {
820
+ if (typeof e != "function") throw TypeError("callback is not a function");
821
+ n = (n == null ? U() : +n) + (t == null ? 0 : +t), !this._next && R !== this && (R ? R._next = this : L = this, R = this), this._call = e, this._time = n, G();
822
+ },
823
+ stop: function() {
824
+ this._call && (this._call = null, this._time = Infinity, G());
825
+ }
826
+ };
827
+ function Kt(e, t, n) {
828
+ var r = new W();
829
+ return r.restart(e, t, n), r;
830
+ }
831
+ function qt() {
832
+ U(), ++N;
833
+ for (var e = L, t; e;) (t = B - e._time) >= 0 && e._call.call(void 0, t), e = e._next;
834
+ --N;
835
+ }
836
+ function Jt() {
837
+ B = (z = H.now()) + V, N = P = 0;
838
+ try {
839
+ qt();
840
+ } finally {
841
+ N = 0, Xt(), B = 0;
842
+ }
843
+ }
844
+ function Yt() {
845
+ var e = H.now(), t = e - z;
846
+ t > I && (V -= t, z = e);
847
+ }
848
+ function Xt() {
849
+ for (var e, t = L, n, r = Infinity; 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 : L = n);
850
+ R = e, G(r);
851
+ }
852
+ function G(e) {
853
+ N || (P &&= clearTimeout(P), e - B > 24 ? (e < Infinity && (P = setTimeout(Jt, e - H.now() - V)), F &&= clearInterval(F)) : (F ||= (z = H.now(), setInterval(Yt, I)), N = 1, Wt(Jt)));
854
+ }
855
+ //#endregion
856
+ //#region node_modules/d3-timer/src/timeout.js
857
+ function Zt(e, t, n) {
858
+ var r = new W();
859
+ return t = t == null ? 0 : +t, r.restart((n) => {
860
+ r.stop(), e(n + t);
861
+ }, t, n), r;
862
+ }
863
+ //#endregion
864
+ //#region node_modules/d3-transition/src/transition/schedule.js
865
+ var Qt = Bt("start", "end", "cancel", "interrupt"), $t = [];
866
+ function K(e, t, n, r, i, a) {
867
+ var o = e.__transition;
868
+ if (!o) e.__transition = {};
869
+ else if (n in o) return;
870
+ en(e, n, {
871
+ name: t,
872
+ index: r,
873
+ group: i,
874
+ on: Qt,
875
+ tween: $t,
876
+ time: a.time,
877
+ delay: a.delay,
878
+ duration: a.duration,
879
+ ease: a.ease,
880
+ timer: null,
881
+ state: 0
882
+ });
883
+ }
884
+ function q(e, t) {
885
+ var n = Y(e, t);
886
+ if (n.state > 0) throw Error("too late; already scheduled");
887
+ return n;
888
+ }
889
+ function J(e, t) {
890
+ var n = Y(e, t);
891
+ if (n.state > 3) throw Error("too late; already running");
892
+ return n;
893
+ }
894
+ function Y(e, t) {
895
+ var n = e.__transition;
896
+ if (!n || !(n = n[t])) throw Error("transition not found");
897
+ return n;
898
+ }
899
+ function en(e, t, n) {
900
+ var r = e.__transition, i;
901
+ r[t] = n, n.timer = Kt(a, 0, n.time);
902
+ function a(e) {
903
+ n.state = 1, n.timer.restart(o, n.delay, n.time), n.delay <= e && o(e - n.delay);
904
+ }
905
+ function o(a) {
906
+ var l, u, d, f;
907
+ if (n.state !== 1) return c();
908
+ for (l in r) if (f = r[l], f.name === n.name) {
909
+ if (f.state === 3) return Zt(o);
910
+ 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]);
911
+ }
912
+ if (Zt(function() {
913
+ n.state === 3 && (n.state = 4, n.timer.restart(s, n.delay, n.time), s(a));
914
+ }), n.state = 2, n.on.call("start", e, e.__data__, n.index, n.group), n.state === 2) {
915
+ 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);
916
+ i.length = u + 1;
917
+ }
918
+ }
919
+ function s(t) {
920
+ 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);
921
+ n.state === 5 && (n.on.call("end", e, e.__data__, n.index, n.group), c());
922
+ }
923
+ function c() {
924
+ for (var i in n.state = 6, n.timer.stop(), delete r[t], r) return;
925
+ delete e.__transition;
926
+ }
927
+ }
928
+ //#endregion
929
+ //#region node_modules/d3-transition/src/interrupt.js
930
+ function tn(e, t) {
931
+ var n = e.__transition, r, i, a = !0, o;
932
+ if (n) {
933
+ for (o in t = t == null ? null : t + "", n) (r = n[o]).name === t ? (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 = !1;
934
+ a && delete e.__transition;
935
+ }
936
+ }
937
+ //#endregion
938
+ //#region node_modules/d3-transition/src/selection/interrupt.js
939
+ function nn(e) {
940
+ return this.each(function() {
941
+ tn(this, e);
942
+ });
943
+ }
944
+ //#endregion
945
+ //#region node_modules/d3-transition/src/transition/tween.js
946
+ function rn(e, t) {
947
+ var n, r;
948
+ return function() {
949
+ var i = J(this, e), a = i.tween;
950
+ if (a !== n) {
951
+ r = n = a;
952
+ for (var o = 0, s = r.length; o < s; ++o) if (r[o].name === t) {
953
+ r = r.slice(), r.splice(o, 1);
954
+ break;
955
+ }
956
+ }
957
+ i.tween = r;
958
+ };
959
+ }
960
+ function an(e, t, n) {
961
+ var r, i;
962
+ if (typeof n != "function") throw Error();
963
+ return function() {
964
+ var a = J(this, e), o = a.tween;
965
+ if (o !== r) {
966
+ i = (r = o).slice();
967
+ for (var s = {
968
+ name: t,
969
+ value: n
970
+ }, c = 0, l = i.length; c < l; ++c) if (i[c].name === t) {
971
+ i[c] = s;
972
+ break;
973
+ }
974
+ c === l && i.push(s);
975
+ }
976
+ a.tween = i;
977
+ };
978
+ }
979
+ function on(e, t) {
980
+ var n = this._id;
981
+ if (e += "", arguments.length < 2) {
982
+ for (var r = Y(this.node(), n).tween, i = 0, a = r.length, o; i < a; ++i) if ((o = r[i]).name === e) return o.value;
983
+ return null;
984
+ }
985
+ return this.each((t == null ? rn : an)(n, e, t));
986
+ }
987
+ function X(e, t, n) {
988
+ var r = e._id;
989
+ return e.each(function() {
990
+ var e = J(this, r);
991
+ (e.value ||= {})[t] = n.apply(this, arguments);
992
+ }), function(e) {
993
+ return Y(e, r).value[t];
994
+ };
995
+ }
996
+ //#endregion
997
+ //#region node_modules/d3-transition/src/transition/interpolate.js
998
+ function sn(e, t) {
999
+ var n;
1000
+ return (typeof t == "number" ? i : t instanceof s ? a : (n = s(t)) ? (t = n, a) : o)(e, t);
1001
+ }
1002
+ //#endregion
1003
+ //#region node_modules/d3-transition/src/transition/attr.js
1004
+ function cn(e) {
1005
+ return function() {
1006
+ this.removeAttribute(e);
1007
+ };
1008
+ }
1009
+ function ln(e) {
1010
+ return function() {
1011
+ this.removeAttributeNS(e.space, e.local);
1012
+ };
1013
+ }
1014
+ function un(e, t, n) {
1015
+ var r, i = n + "", a;
1016
+ return function() {
1017
+ var o = this.getAttribute(e);
1018
+ return o === i ? null : o === r ? a : a = t(r = o, n);
1019
+ };
1020
+ }
1021
+ function dn(e, t, n) {
1022
+ var r, i = n + "", a;
1023
+ return function() {
1024
+ var o = this.getAttributeNS(e.space, e.local);
1025
+ return o === i ? null : o === r ? a : a = t(r = o, n);
1026
+ };
1027
+ }
1028
+ function fn(e, t, n) {
1029
+ var r, i, a;
1030
+ return function() {
1031
+ var o, s = n(this), c;
1032
+ 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)));
1033
+ };
1034
+ }
1035
+ function pn(e, t, n) {
1036
+ var r, i, a;
1037
+ return function() {
1038
+ var o, s = n(this), c;
1039
+ 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)));
1040
+ };
1041
+ }
1042
+ function mn(e, t) {
1043
+ var n = y(e), r = n === "transform" ? _ : sn;
1044
+ return this.attrTween(e, typeof t == "function" ? (n.local ? pn : fn)(n, r, X(this, "attr." + e, t)) : t == null ? (n.local ? ln : cn)(n) : (n.local ? dn : un)(n, r, t));
1045
+ }
1046
+ //#endregion
1047
+ //#region node_modules/d3-transition/src/transition/attrTween.js
1048
+ function hn(e, t) {
1049
+ return function(n) {
1050
+ this.setAttribute(e, t.call(this, n));
1051
+ };
1052
+ }
1053
+ function gn(e, t) {
1054
+ return function(n) {
1055
+ this.setAttributeNS(e.space, e.local, t.call(this, n));
1056
+ };
1057
+ }
1058
+ function _n(e, t) {
1059
+ var n, r;
1060
+ function i() {
1061
+ var i = t.apply(this, arguments);
1062
+ return i !== r && (n = (r = i) && gn(e, i)), n;
1063
+ }
1064
+ return i._value = t, i;
1065
+ }
1066
+ function vn(e, t) {
1067
+ var n, r;
1068
+ function i() {
1069
+ var i = t.apply(this, arguments);
1070
+ return i !== r && (n = (r = i) && hn(e, i)), n;
1071
+ }
1072
+ return i._value = t, i;
1073
+ }
1074
+ function yn(e, t) {
1075
+ var n = "attr." + e;
1076
+ if (arguments.length < 2) return (n = this.tween(n)) && n._value;
1077
+ if (t == null) return this.tween(n, null);
1078
+ if (typeof t != "function") throw Error();
1079
+ var r = y(e);
1080
+ return this.tween(n, (r.local ? _n : vn)(r, t));
1081
+ }
1082
+ //#endregion
1083
+ //#region node_modules/d3-transition/src/transition/delay.js
1084
+ function bn(e, t) {
1085
+ return function() {
1086
+ q(this, e).delay = +t.apply(this, arguments);
1087
+ };
1088
+ }
1089
+ function xn(e, t) {
1090
+ return t = +t, function() {
1091
+ q(this, e).delay = t;
1092
+ };
1093
+ }
1094
+ function Sn(e) {
1095
+ var t = this._id;
1096
+ return arguments.length ? this.each((typeof e == "function" ? bn : xn)(t, e)) : Y(this.node(), t).delay;
1097
+ }
1098
+ //#endregion
1099
+ //#region node_modules/d3-transition/src/transition/duration.js
1100
+ function Cn(e, t) {
1101
+ return function() {
1102
+ J(this, e).duration = +t.apply(this, arguments);
1103
+ };
1104
+ }
1105
+ function wn(e, t) {
1106
+ return t = +t, function() {
1107
+ J(this, e).duration = t;
1108
+ };
1109
+ }
1110
+ function Tn(e) {
1111
+ var t = this._id;
1112
+ return arguments.length ? this.each((typeof e == "function" ? Cn : wn)(t, e)) : Y(this.node(), t).duration;
1113
+ }
1114
+ //#endregion
1115
+ //#region node_modules/d3-transition/src/transition/ease.js
1116
+ function En(e, t) {
1117
+ if (typeof t != "function") throw Error();
1118
+ return function() {
1119
+ J(this, e).ease = t;
1120
+ };
1121
+ }
1122
+ function Dn(e) {
1123
+ var t = this._id;
1124
+ return arguments.length ? this.each(En(t, e)) : Y(this.node(), t).ease;
1125
+ }
1126
+ //#endregion
1127
+ //#region node_modules/d3-transition/src/transition/easeVarying.js
1128
+ function On(e, t) {
1129
+ return function() {
1130
+ var n = t.apply(this, arguments);
1131
+ if (typeof n != "function") throw Error();
1132
+ J(this, e).ease = n;
1133
+ };
1134
+ }
1135
+ function kn(e) {
1136
+ if (typeof e != "function") throw Error();
1137
+ return this.each(On(this._id, e));
1138
+ }
1139
+ //#endregion
1140
+ //#region node_modules/d3-transition/src/transition/filter.js
1141
+ function An(e) {
1142
+ typeof e != "function" && (e = S(e));
1143
+ 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);
1144
+ return new Z(r, this._parents, this._name, this._id);
1145
+ }
1146
+ //#endregion
1147
+ //#region node_modules/d3-transition/src/transition/merge.js
1148
+ function jn(e) {
1149
+ if (e._id !== this._id) throw Error();
1150
+ for (var t = this._groups, n = e._groups, r = t.length, i = Math.min(r, n.length), a = Array(r), o = 0; o < i; ++o) for (var s = t[o], c = n[o], l = s.length, u = a[o] = Array(l), d, f = 0; f < l; ++f) (d = s[f] || c[f]) && (u[f] = d);
1151
+ for (; o < r; ++o) a[o] = t[o];
1152
+ return new Z(a, this._parents, this._name, this._id);
1153
+ }
1154
+ //#endregion
1155
+ //#region node_modules/d3-transition/src/transition/on.js
1156
+ function Mn(e) {
1157
+ return (e + "").trim().split(/^|\s+/).every(function(e) {
1158
+ var t = e.indexOf(".");
1159
+ return t >= 0 && (e = e.slice(0, t)), !e || e === "start";
1160
+ });
1161
+ }
1162
+ function Nn(e, t, n) {
1163
+ var r, i, a = Mn(t) ? q : J;
1164
+ return function() {
1165
+ var o = a(this, e), s = o.on;
1166
+ s !== r && (i = (r = s).copy()).on(t, n), o.on = i;
1167
+ };
1168
+ }
1169
+ function Pn(e, t) {
1170
+ var n = this._id;
1171
+ return arguments.length < 2 ? Y(this.node(), n).on.on(e) : this.each(Nn(n, e, t));
1172
+ }
1173
+ //#endregion
1174
+ //#region node_modules/d3-transition/src/transition/remove.js
1175
+ function Fn(e) {
1176
+ return function() {
1177
+ var t = this.parentNode;
1178
+ for (var n in this.__transition) if (+n !== e) return;
1179
+ t && t.removeChild(this);
1180
+ };
1181
+ }
1182
+ function In() {
1183
+ return this.on("end.remove", Fn(this._id));
1184
+ }
1185
+ //#endregion
1186
+ //#region node_modules/d3-transition/src/transition/select.js
1187
+ function Ln(e) {
1188
+ var t = this._name, n = this._id;
1189
+ typeof e != "function" && (e = x(e));
1190
+ 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, K(l[f], t, n, f, l, Y(u, n)));
1191
+ return new Z(a, this._parents, t, n);
1192
+ }
1193
+ //#endregion
1194
+ //#region node_modules/d3-transition/src/transition/selectAll.js
1195
+ function Rn(e) {
1196
+ var t = this._name, n = this._id;
1197
+ typeof e != "function" && (e = oe(e));
1198
+ 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]) {
1199
+ for (var f = e.call(u, u.__data__, d, c), p, m = Y(u, n), h = 0, g = f.length; h < g; ++h) (p = f[h]) && K(p, t, n, h, f, m);
1200
+ a.push(f), o.push(u);
1201
+ }
1202
+ return new Z(a, o, t, n);
1203
+ }
1204
+ //#endregion
1205
+ //#region node_modules/d3-transition/src/transition/selection.js
1206
+ var zn = j.prototype.constructor;
1207
+ function Bn() {
1208
+ return new zn(this._groups, this._parents);
1209
+ }
1210
+ //#endregion
1211
+ //#region node_modules/d3-transition/src/transition/style.js
1212
+ function Vn(e, t) {
1213
+ var n, r, i;
1214
+ return function() {
1215
+ var a = w(this, e), o = (this.style.removeProperty(e), w(this, e));
1216
+ return a === o ? null : a === n && o === r ? i : i = t(n = a, r = o);
1217
+ };
1218
+ }
1219
+ function Hn(e) {
1220
+ return function() {
1221
+ this.style.removeProperty(e);
1222
+ };
1223
+ }
1224
+ function Un(e, t, n) {
1225
+ var r, i = n + "", a;
1226
+ return function() {
1227
+ var o = w(this, e);
1228
+ return o === i ? null : o === r ? a : a = t(r = o, n);
1229
+ };
1230
+ }
1231
+ function Wn(e, t, n) {
1232
+ var r, i, a;
1233
+ return function() {
1234
+ var o = w(this, e), s = n(this), c = s + "";
1235
+ return s ?? (c = s = (this.style.removeProperty(e), w(this, e))), o === c ? null : o === r && c === i ? a : (i = c, a = t(r = o, s));
1236
+ };
1237
+ }
1238
+ function Gn(e, t) {
1239
+ var n, r, i, a = "style." + t, o = "end." + a, s;
1240
+ return function() {
1241
+ var c = J(this, e), l = c.on, u = c.value[a] == null ? s ||= Hn(t) : void 0;
1242
+ (l !== n || i !== u) && (r = (n = l).copy()).on(o, i = u), c.on = r;
1243
+ };
1244
+ }
1245
+ function Kn(e, t, n) {
1246
+ var r = (e += "") == "transform" ? g : sn;
1247
+ return t == null ? this.styleTween(e, Vn(e, r)).on("end.style." + e, Hn(e)) : typeof t == "function" ? this.styleTween(e, Wn(e, r, X(this, "style." + e, t))).each(Gn(this._id, e)) : this.styleTween(e, Un(e, r, t), n).on("end.style." + e, null);
1248
+ }
1249
+ //#endregion
1250
+ //#region node_modules/d3-transition/src/transition/styleTween.js
1251
+ function qn(e, t, n) {
1252
+ return function(r) {
1253
+ this.style.setProperty(e, t.call(this, r), n);
1254
+ };
1255
+ }
1256
+ function Jn(e, t, n) {
1257
+ var r, i;
1258
+ function a() {
1259
+ var a = t.apply(this, arguments);
1260
+ return a !== i && (r = (i = a) && qn(e, a, n)), r;
1261
+ }
1262
+ return a._value = t, a;
1263
+ }
1264
+ function Yn(e, t, n) {
1265
+ var r = "style." + (e += "");
1266
+ if (arguments.length < 2) return (r = this.tween(r)) && r._value;
1267
+ if (t == null) return this.tween(r, null);
1268
+ if (typeof t != "function") throw Error();
1269
+ return this.tween(r, Jn(e, t, n ?? ""));
1270
+ }
1271
+ //#endregion
1272
+ //#region node_modules/d3-transition/src/transition/text.js
1273
+ function Xn(e) {
1274
+ return function() {
1275
+ this.textContent = e;
1276
+ };
1277
+ }
1278
+ function Zn(e) {
1279
+ return function() {
1280
+ var t = e(this);
1281
+ this.textContent = t ?? "";
1282
+ };
1283
+ }
1284
+ function Qn(e) {
1285
+ return this.tween("text", typeof e == "function" ? Zn(X(this, "text", e)) : Xn(e == null ? "" : e + ""));
1286
+ }
1287
+ //#endregion
1288
+ //#region node_modules/d3-transition/src/transition/textTween.js
1289
+ function $n(e) {
1290
+ return function(t) {
1291
+ this.textContent = e.call(this, t);
1292
+ };
1293
+ }
1294
+ function er(e) {
1295
+ var t, n;
1296
+ function r() {
1297
+ var r = e.apply(this, arguments);
1298
+ return r !== n && (t = (n = r) && $n(r)), t;
1299
+ }
1300
+ return r._value = e, r;
1301
+ }
1302
+ function tr(e) {
1303
+ var t = "text";
1304
+ if (arguments.length < 1) return (t = this.tween(t)) && t._value;
1305
+ if (e == null) return this.tween(t, null);
1306
+ if (typeof e != "function") throw Error();
1307
+ return this.tween(t, er(e));
1308
+ }
1309
+ //#endregion
1310
+ //#region node_modules/d3-transition/src/transition/transition.js
1311
+ function nr() {
1312
+ for (var e = this._name, t = this._id, n = or(), 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]) {
1313
+ var u = Y(c, t);
1314
+ K(c, e, n, l, o, {
1315
+ time: u.time + u.delay + u.duration,
1316
+ delay: 0,
1317
+ duration: u.duration,
1318
+ ease: u.ease
1319
+ });
1320
+ }
1321
+ return new Z(r, this._parents, e, n);
1322
+ }
1323
+ //#endregion
1324
+ //#region node_modules/d3-transition/src/transition/end.js
1325
+ function rr() {
1326
+ var e, t, n = this, r = n._id, i = n.size();
1327
+ return new Promise(function(a, o) {
1328
+ var s = { value: o }, c = { value: function() {
1329
+ --i === 0 && a();
1330
+ } };
1331
+ n.each(function() {
1332
+ var n = J(this, r), i = n.on;
1333
+ i !== e && (t = (e = i).copy(), t._.cancel.push(s), t._.interrupt.push(s), t._.end.push(c)), n.on = t;
1334
+ }), i === 0 && a();
1335
+ });
1336
+ }
1337
+ //#endregion
1338
+ //#region node_modules/d3-transition/src/transition/index.js
1339
+ var ir = 0;
1340
+ function Z(e, t, n, r) {
1341
+ this._groups = e, this._parents = t, this._name = n, this._id = r;
1342
+ }
1343
+ function ar(e) {
1344
+ return j().transition(e);
1345
+ }
1346
+ function or() {
1347
+ return ++ir;
1348
+ }
1349
+ var Q = j.prototype;
1350
+ Z.prototype = ar.prototype = {
1351
+ constructor: Z,
1352
+ select: Ln,
1353
+ selectAll: Rn,
1354
+ selectChild: Q.selectChild,
1355
+ selectChildren: Q.selectChildren,
1356
+ filter: An,
1357
+ merge: jn,
1358
+ selection: Bn,
1359
+ transition: nr,
1360
+ call: Q.call,
1361
+ nodes: Q.nodes,
1362
+ node: Q.node,
1363
+ size: Q.size,
1364
+ empty: Q.empty,
1365
+ each: Q.each,
1366
+ on: Pn,
1367
+ attr: mn,
1368
+ attrTween: yn,
1369
+ style: Kn,
1370
+ styleTween: Yn,
1371
+ text: Qn,
1372
+ textTween: tr,
1373
+ remove: In,
1374
+ tween: on,
1375
+ delay: Sn,
1376
+ duration: Tn,
1377
+ ease: Dn,
1378
+ easeVarying: kn,
1379
+ end: rr,
1380
+ [Symbol.iterator]: Q[Symbol.iterator]
1381
+ };
1382
+ //#endregion
1383
+ //#region node_modules/d3-ease/src/cubic.js
1384
+ function sr(e) {
1385
+ return ((e *= 2) <= 1 ? e * e * e : (e -= 2) * e * e + 2) / 2;
1386
+ }
1387
+ //#endregion
1388
+ //#region node_modules/d3-transition/src/selection/transition.js
1389
+ var cr = {
1390
+ time: null,
1391
+ delay: 0,
1392
+ duration: 250,
1393
+ ease: sr
1394
+ };
1395
+ function lr(e, t) {
1396
+ for (var n; !(n = e.__transition) || !(n = n[t]);) if (!(e = e.parentNode)) throw Error(`transition ${t} not found`);
1397
+ return n;
1398
+ }
1399
+ function ur(e) {
1400
+ var t, n;
1401
+ e instanceof Z ? (t = e._id, e = e._name) : (t = or(), (n = cr).time = U(), e = e == null ? null : e + "");
1402
+ 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]) && K(c, e, t, l, o, n || lr(c, t));
1403
+ return new Z(r, this._parents, e, t);
1404
+ }
1405
+ j.prototype.interrupt = nn, j.prototype.transition = ur;
1406
+ //#endregion
1407
+ //#region src/client/components/charts/BubbleChart.helpers.ts
1408
+ function dr(e) {
1409
+ return {
1410
+ showLegend: e?.showLegend ?? !0,
1411
+ showGrid: e?.showGrid ?? !0,
1412
+ showTooltip: e?.showTooltip ?? !0,
1413
+ minBubbleSize: e?.minBubbleSize ?? 5,
1414
+ maxBubbleSize: e?.maxBubbleSize ?? 50,
1415
+ bubbleOpacity: e?.bubbleOpacity ?? .7,
1416
+ xAxisFormat: e?.xAxisFormat,
1417
+ leftYAxisFormat: e?.leftYAxisFormat
1418
+ };
1419
+ }
1420
+ function fr(e) {
1421
+ if (!e?.xAxis || !e?.yAxis || !e?.series) return null;
1422
+ let t = Array.isArray(e.xAxis) ? e.xAxis[0] : e.xAxis, n = Array.isArray(e.yAxis) ? e.yAxis[0] : e.yAxis, r = Array.isArray(e.series) ? e.series[0] : e.series, i = (Array.isArray(e.sizeField) ? e.sizeField[0] : e.sizeField) || n;
1423
+ return !t || !n || !r || !i ? null : {
1424
+ xAxisField: t,
1425
+ yAxisField: n,
1426
+ seriesField: r,
1427
+ sizeFieldName: i,
1428
+ colorFieldName: Array.isArray(e.colorField) ? e.colorField[0] : e.colorField
1429
+ };
1430
+ }
1431
+ function pr(e, t, r) {
1432
+ if (t && e) {
1433
+ let t = String(e), i;
1434
+ if (t.match(/^\d{4}-\d{2}-\d{2}[T ]/)) {
1435
+ let e = t;
1436
+ t.includes(" ") && (e = t.replace(" ", "T").replace("+00", "Z").replace(/\+\d{2}:\d{2}$/, "Z")), !e.endsWith("Z") && !e.includes("+") && (e += "Z"), i = new Date(e);
1437
+ } else i = new Date(t);
1438
+ return {
1439
+ xNum: isNaN(i.getTime()) ? parseFloat(t) : i.getTime(),
1440
+ xLabel: n(e, r)
1441
+ };
1442
+ }
1443
+ let i = n(e, r) || e;
1444
+ return {
1445
+ xNum: typeof i == "string" ? parseFloat(i) : i,
1446
+ xLabel: String(i)
1447
+ };
1448
+ }
1449
+ function mr(n, i, a) {
1450
+ let { xAxisField: o, yAxisField: s, sizeFieldName: c, seriesField: l, colorFieldName: u } = i, d = e(a, o), f = a?.timeDimensions?.some((e) => e.dimension === o) || !1;
1451
+ return n.map((e) => {
1452
+ let { xNum: n, xLabel: i } = pr(e[o], f, d), a = t(e[s]), p = t(e[c]), m = e[l];
1453
+ return {
1454
+ x: n,
1455
+ xLabel: i,
1456
+ y: a,
1457
+ size: p === null ? 0 : Math.abs(p),
1458
+ color: u ? e[u] : m,
1459
+ series: m,
1460
+ label: `${m || "Unknown"}`,
1461
+ isValid: r(n) && a !== null && p !== null && p > 0
1462
+ };
1463
+ }).filter((e) => e.isValid && e.size > 0).map(({ isValid: e, ...t }) => t);
1464
+ }
1465
+ function $(e, t) {
1466
+ return getComputedStyle(document.documentElement).getPropertyValue(e).trim() || t;
1467
+ }
1468
+ function hr(e) {
1469
+ return {
1470
+ textColor: e ? $("--dc-text-muted", "#cbd5e1") : $("--dc-text-secondary", "#374151"),
1471
+ gridColor: e ? $("--dc-border", "#475569") : "#9ca3af"
1472
+ };
1473
+ }
1474
+ //#endregion
1475
+ export { mr as a, hr as i, dr as n, Rt as o, fr as r, c as s, $ as t };
1476
+
1477
+ //# sourceMappingURL=BubbleChart.helpers-CaDSYRlF.js.map