vue-data-ui 3.27.0 → 3.27.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 (531) hide show
  1. package/dist/A11yDataTable-DWNlWXzs.js +1 -0
  2. package/dist/Arrow-C2W0uGrq.js +1 -0
  3. package/dist/BaseDraggableDialog-D_tuHEjO.js +1 -0
  4. package/dist/BaseIcon-DdIyewwY.js +1 -0
  5. package/dist/BaseLegendToggle-Bq5FjyuI.js +1 -0
  6. package/dist/BaseScanner-8NdoBs7B.js +1 -0
  7. package/dist/BaseZoomControls-DoYifY2y.js +1 -0
  8. package/dist/ColorPicker-MLwiwxl5.js +1 -0
  9. package/dist/DataTable-WNecJMcY.js +1 -0
  10. package/dist/DefGrad-DKMq1REY.js +1 -0
  11. package/dist/HillActions-CHg1AQ3p.js +1 -0
  12. package/dist/Legend-D8YoT1RJ.js +1 -0
  13. package/dist/NonSvgPenAndPaper-CqtJpZKh.js +1 -0
  14. package/dist/PackageVersion-CdkxOy58.js +1 -0
  15. package/dist/PenAndPaper-IMw576MC.js +1 -0
  16. package/dist/RecursiveCircles-BftI1kwF.js +1 -0
  17. package/dist/RecursiveLabels-B0d04xSj.js +1 -0
  18. package/dist/RecursiveLinks-CZtG6uWg.js +1 -0
  19. package/dist/Shape-Bp9YNtPc.js +1 -0
  20. package/dist/SlicerPreview-CNUciSbY.js +1 -0
  21. package/dist/SparkTooltip-C5JMcBXT.js +1 -0
  22. package/dist/Title-BGYFqulv.js +1 -0
  23. package/dist/Tooltip-Cus2-XNQ.js +1 -0
  24. package/dist/UserOptions-DTxMeZv3.js +1 -0
  25. package/dist/_plugin-vue_export-helper-BDNMzG2s.js +1 -0
  26. package/dist/annotationSlots-BRR85CqJ.js +1 -0
  27. package/dist/chartImage-CIvU_04o.js +1 -0
  28. package/dist/components/arrow.js +1 -2
  29. package/dist/components/vue-ui-3d-bar.js +1 -2
  30. package/dist/components/vue-ui-accordion.js +1 -2
  31. package/dist/components/vue-ui-age-pyramid.js +1 -2
  32. package/dist/components/vue-ui-annotator.js +1 -2
  33. package/dist/components/vue-ui-bullet.js +1 -2
  34. package/dist/components/vue-ui-bump.js +1 -2
  35. package/dist/components/vue-ui-candlestick.js +1 -2
  36. package/dist/components/vue-ui-carousel-table.js +1 -2
  37. package/dist/components/vue-ui-chestnut.js +1 -2
  38. package/dist/components/vue-ui-chord.js +1 -2
  39. package/dist/components/vue-ui-circle-pack.js +1 -2
  40. package/dist/components/vue-ui-cursor.js +1 -2
  41. package/dist/components/vue-ui-dag.js +1 -2
  42. package/dist/components/vue-ui-dashboard.js +1 -2
  43. package/dist/components/vue-ui-digits.js +1 -2
  44. package/dist/components/vue-ui-donut-evolution.js +1 -2
  45. package/dist/components/vue-ui-donut.js +1 -2
  46. package/dist/components/vue-ui-dumbbell.js +1 -2
  47. package/dist/components/vue-ui-flow.js +1 -2
  48. package/dist/components/vue-ui-funnel.js +1 -2
  49. package/dist/components/vue-ui-galaxy.js +1 -2
  50. package/dist/components/vue-ui-gauge.js +1 -2
  51. package/dist/components/vue-ui-geo.js +1 -2
  52. package/dist/components/vue-ui-gizmo.js +1 -2
  53. package/dist/components/vue-ui-heatmap.js +1 -2
  54. package/dist/components/vue-ui-hill.js +1 -2
  55. package/dist/components/vue-ui-history-plot.js +1 -2
  56. package/dist/components/vue-ui-horizontal-bar.js +1 -2
  57. package/dist/components/vue-ui-icon.js +1 -2
  58. package/dist/components/vue-ui-kpi.js +1 -2
  59. package/dist/components/vue-ui-label.js +1 -2
  60. package/dist/components/vue-ui-mini-loader.js +1 -2
  61. package/dist/components/vue-ui-molecule.js +1 -2
  62. package/dist/components/vue-ui-mood-radar.js +1 -2
  63. package/dist/components/vue-ui-nested-donuts.js +1 -2
  64. package/dist/components/vue-ui-onion.js +1 -2
  65. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -2
  66. package/dist/components/vue-ui-pattern-seed.js +1 -2
  67. package/dist/components/vue-ui-pattern.js +1 -2
  68. package/dist/components/vue-ui-quadrant.js +1 -2
  69. package/dist/components/vue-ui-quick-chart.js +1 -2
  70. package/dist/components/vue-ui-radar.js +1 -2
  71. package/dist/components/vue-ui-rating.js +1 -2
  72. package/dist/components/vue-ui-relation-circle.js +1 -2
  73. package/dist/components/vue-ui-ridgeline.js +1 -2
  74. package/dist/components/vue-ui-rings.js +1 -2
  75. package/dist/components/vue-ui-scatter.js +1 -2
  76. package/dist/components/vue-ui-skeleton.js +1 -2
  77. package/dist/components/vue-ui-smiley.js +1 -2
  78. package/dist/components/vue-ui-spark-trend.js +1 -2
  79. package/dist/components/vue-ui-sparkbar.js +1 -2
  80. package/dist/components/vue-ui-sparkgauge.js +1 -2
  81. package/dist/components/vue-ui-sparkhistogram.js +1 -2
  82. package/dist/components/vue-ui-sparkline.js +1 -2
  83. package/dist/components/vue-ui-sparkstackbar.js +1 -2
  84. package/dist/components/vue-ui-stackbar.js +1 -2
  85. package/dist/components/vue-ui-stackline.js +1 -2
  86. package/dist/components/vue-ui-strip-plot.js +1 -2
  87. package/dist/components/vue-ui-table-heatmap.js +1 -2
  88. package/dist/components/vue-ui-table-sparkline.js +1 -2
  89. package/dist/components/vue-ui-table.js +1 -2
  90. package/dist/components/vue-ui-thermometer.js +1 -2
  91. package/dist/components/vue-ui-timer.js +1 -2
  92. package/dist/components/vue-ui-tiremarks.js +1 -2
  93. package/dist/components/vue-ui-treemap.js +1 -2
  94. package/dist/components/vue-ui-vertical-bar.js +1 -2
  95. package/dist/components/vue-ui-waffle.js +1 -2
  96. package/dist/components/vue-ui-wheel.js +1 -2
  97. package/dist/components/vue-ui-word-cloud.js +1 -2
  98. package/dist/components/vue-ui-world.js +1 -2
  99. package/dist/components/vue-ui-xy-canvas.js +1 -2
  100. package/dist/components/vue-ui-xy.js +1 -2
  101. package/dist/composables.js +1 -5
  102. package/dist/dom-to-png-D8t3Bm7s.js +3 -0
  103. package/dist/exposedLib-DHtyEc_G.js +1 -0
  104. package/dist/geoProjections-Bvj-eMvq.js +1 -0
  105. package/dist/img-DiT4ivZ5.js +1 -0
  106. package/dist/labelUtils-CG3uVXoZ.js +1 -0
  107. package/dist/lib-CV_IANZ6.js +12 -0
  108. package/dist/package-DE5cU1Rg.js +1 -0
  109. package/dist/patternUtils-_q3ArM3g.js +1 -0
  110. package/dist/pdf-BQSB1V3H.js +1 -0
  111. package/dist/render-common-BdZ5aRyn.js +1 -0
  112. package/dist/resolveChartConfig-DZg-korK.js +1 -0
  113. package/dist/rolldown-runtime-DK3Fl9T5.js +1 -0
  114. package/dist/ssr/vue-ui-donut.js +1 -2
  115. package/dist/ssr/vue-ui-xy.js +1 -2
  116. package/dist/ssr.js +1 -3
  117. package/dist/style.css +1 -1
  118. package/dist/tableIntegration-CNoJ1CIY.js +1 -0
  119. package/dist/types/composables.d.ts +12 -12
  120. package/dist/types/ssr.d.ts +84 -84
  121. package/dist/types/utils.d.ts +82 -73
  122. package/dist/types/vue-data-ui.d.ts +17961 -17958
  123. package/dist/types/vue-ui-3d-bar.d.ts +24 -91
  124. package/dist/types/vue-ui-accordion.d.ts +2 -10
  125. package/dist/types/vue-ui-age-pyramid.d.ts +27 -106
  126. package/dist/types/vue-ui-annotator.d.ts +12 -88
  127. package/dist/types/vue-ui-bullet.d.ts +21 -83
  128. package/dist/types/vue-ui-bump.d.ts +23 -90
  129. package/dist/types/vue-ui-candlestick.d.ts +27 -108
  130. package/dist/types/vue-ui-carousel-table.d.ts +11 -57
  131. package/dist/types/vue-ui-chestnut.d.ts +27 -96
  132. package/dist/types/vue-ui-chord.d.ts +31 -108
  133. package/dist/types/vue-ui-circle-pack.d.ts +30 -124
  134. package/dist/types/vue-ui-cursor.d.ts +2 -8
  135. package/dist/types/vue-ui-dag.d.ts +35 -125
  136. package/dist/types/vue-ui-dashboard.d.ts +18 -66
  137. package/dist/types/vue-ui-digits.d.ts +2 -11
  138. package/dist/types/vue-ui-donut-evolution.d.ts +31 -100
  139. package/dist/types/vue-ui-donut.d.ts +31 -121
  140. package/dist/types/vue-ui-dumbbell.d.ts +24 -92
  141. package/dist/types/vue-ui-flow.d.ts +28 -104
  142. package/dist/types/vue-ui-funnel.d.ts +18 -77
  143. package/dist/types/vue-ui-galaxy.d.ts +30 -112
  144. package/dist/types/vue-ui-gauge.d.ts +22 -87
  145. package/dist/types/vue-ui-geo.d.ts +22 -92
  146. package/dist/types/vue-ui-gizmo.d.ts +5 -20
  147. package/dist/types/vue-ui-heatmap.d.ts +25 -101
  148. package/dist/types/vue-ui-hill.d.ts +22 -88
  149. package/dist/types/vue-ui-history-plot.d.ts +30 -112
  150. package/dist/types/vue-ui-horizontal-bar.d.ts +30 -114
  151. package/dist/types/vue-ui-icon.d.ts +1 -13
  152. package/dist/types/vue-ui-kpi.d.ts +5 -23
  153. package/dist/types/vue-ui-label.d.ts +11 -48
  154. package/dist/types/vue-ui-mini-loader.d.ts +4 -13
  155. package/dist/types/vue-ui-molecule.d.ts +27 -110
  156. package/dist/types/vue-ui-mood-radar.d.ts +23 -90
  157. package/dist/types/vue-ui-nested-donuts.d.ts +28 -109
  158. package/dist/types/vue-ui-onion.d.ts +26 -104
  159. package/dist/types/vue-ui-parallel-coordinate-plot.d.ts +34 -123
  160. package/dist/types/vue-ui-pattern-seed.d.ts +1 -14
  161. package/dist/types/vue-ui-pattern.d.ts +1 -13
  162. package/dist/types/vue-ui-quadrant.d.ts +33 -123
  163. package/dist/types/vue-ui-quick-chart.d.ts +30 -110
  164. package/dist/types/vue-ui-radar.d.ts +31 -114
  165. package/dist/types/vue-ui-rating.d.ts +8 -40
  166. package/dist/types/vue-ui-relation-circle.d.ts +26 -90
  167. package/dist/types/vue-ui-ridgeline.d.ts +27 -104
  168. package/dist/types/vue-ui-rings.d.ts +21 -96
  169. package/dist/types/vue-ui-scatter.d.ts +22 -95
  170. package/dist/types/vue-ui-skeleton.d.ts +2 -10
  171. package/dist/types/vue-ui-smiley.d.ts +6 -26
  172. package/dist/types/vue-ui-spark-trend.d.ts +2 -18
  173. package/dist/types/vue-ui-sparkbar.d.ts +10 -47
  174. package/dist/types/vue-ui-sparkgauge.d.ts +5 -26
  175. package/dist/types/vue-ui-sparkhistogram.d.ts +12 -44
  176. package/dist/types/vue-ui-sparkline.d.ts +16 -61
  177. package/dist/types/vue-ui-sparkstackbar.d.ts +13 -58
  178. package/dist/types/vue-ui-stackbar.d.ts +36 -130
  179. package/dist/types/vue-ui-stackline.d.ts +29 -116
  180. package/dist/types/vue-ui-strip-plot.d.ts +22 -96
  181. package/dist/types/vue-ui-table-heatmap.d.ts +14 -60
  182. package/dist/types/vue-ui-table-sparkline.d.ts +12 -51
  183. package/dist/types/vue-ui-table.d.ts +9 -36
  184. package/dist/types/vue-ui-thermometer.d.ts +14 -68
  185. package/dist/types/vue-ui-timer.d.ts +10 -47
  186. package/dist/types/vue-ui-tiremarks.d.ts +14 -68
  187. package/dist/types/vue-ui-treemap.d.ts +26 -105
  188. package/dist/types/vue-ui-vertical-bar.d.ts +8 -19
  189. package/dist/types/vue-ui-waffle.d.ts +23 -99
  190. package/dist/types/vue-ui-wheel.d.ts +14 -68
  191. package/dist/types/vue-ui-word-cloud.d.ts +20 -95
  192. package/dist/types/vue-ui-world.d.ts +22 -96
  193. package/dist/types/vue-ui-xy-canvas.d.ts +24 -101
  194. package/dist/types/vue-ui-xy.d.ts +42 -146
  195. package/dist/unpackTheme-CNsFKCeq.js +1 -0
  196. package/dist/useAutoSizeLabelsInsideViewbox-AIRF0PlD.js +1 -0
  197. package/dist/useChartAccessibility-DOMuYJfm.js +1 -0
  198. package/dist/useChartExport-DtPNpc9M.js +1 -0
  199. package/dist/useConfig-CKdzPrcf.js +1 -0
  200. package/dist/useFitSvgText-C1QC4P5G.js +1 -0
  201. package/dist/useHints-BH9r_0Vd.js +6 -0
  202. package/dist/useNestedProp-CB186vF2.js +1 -0
  203. package/dist/useObjectBindings-Dse7YyAf.js +1 -0
  204. package/dist/usePanZoom-BdjP5Suc.js +1 -0
  205. package/dist/usePrefersMotion-XLHwega2.js +1 -0
  206. package/dist/usePrinter-hLW3cv4N.js +1 -0
  207. package/dist/useResponsive-D2CPcpda.js +1 -0
  208. package/dist/useStableElementSize-CegFbRlF.js +1 -0
  209. package/dist/useTableResponsive-uSz_qZOB.js +1 -0
  210. package/dist/useThemeCheck-BKNRbGeC.js +1 -0
  211. package/dist/useTimeLabelCollider-XQf_S7-z.js +1 -0
  212. package/dist/useTimeLabels-Das5O74F.js +1 -0
  213. package/dist/useTooltipPosition-aoV8pZZ9.js +1 -0
  214. package/dist/useTransitions-DfSHzsdz.js +1 -0
  215. package/dist/useUserOptionState-CXlFnwPv.js +1 -0
  216. package/dist/userOptionsSlots-DYuo-E5m.js +1 -0
  217. package/dist/utils.js +1 -30
  218. package/dist/vClickOutside-BxNzkY17.js +1 -0
  219. package/dist/vue-data-ui-DyYgLIZN.js +1 -0
  220. package/dist/vue-data-ui.js +1 -79
  221. package/dist/vue-ui-3d-bar-BZAoyWkc.js +19 -0
  222. package/dist/vue-ui-accordion-BNvevckx.js +1 -0
  223. package/dist/vue-ui-age-pyramid-DkA6vpU3.js +1 -0
  224. package/dist/vue-ui-annotator-DuQME4Hh.js +331 -0
  225. package/dist/vue-ui-bullet-BVs8JX8S.js +34 -0
  226. package/dist/vue-ui-bump-DYdm3EvF.js +10 -0
  227. package/dist/vue-ui-candlestick-DZgxl4mW.js +22 -0
  228. package/dist/vue-ui-carousel-table-BB7DsTUt.js +1 -0
  229. package/dist/vue-ui-chestnut-Bo1h5rBt.js +1 -0
  230. package/dist/vue-ui-chord-B6_veyvO.js +21 -0
  231. package/dist/vue-ui-circle-pack-Bm7e2YNh.js +13 -0
  232. package/dist/vue-ui-cursor-TidZDuSh.js +1 -0
  233. package/dist/vue-ui-dag-BiN_AnLo.js +9 -0
  234. package/dist/vue-ui-dashboard-zepAVN_W.js +1 -0
  235. package/dist/vue-ui-digits-CXKKmfGj.js +42 -0
  236. package/dist/vue-ui-donut-CKkBtyPK.js +22 -0
  237. package/dist/vue-ui-donut-DLDUpjDU.js +47 -0
  238. package/dist/vue-ui-donut-evolution-BxMTdE5G.js +2 -0
  239. package/dist/vue-ui-dumbbell-C8rNwdz0.js +9 -0
  240. package/dist/vue-ui-flow-Dru76A2O.js +3 -0
  241. package/dist/vue-ui-funnel-D_u1h5S9.js +1 -0
  242. package/dist/vue-ui-galaxy-sBEH18Xj.js +1 -0
  243. package/dist/vue-ui-gauge-Do3RN8ne.js +1 -0
  244. package/dist/vue-ui-geo-DDbtx_iJ.js +1 -0
  245. package/dist/vue-ui-gizmo-eic6xLjB.js +1 -0
  246. package/dist/vue-ui-heatmap-DlmJRsM8.js +1 -0
  247. package/dist/vue-ui-hill-C5oiuIXh.js +1 -0
  248. package/dist/vue-ui-history-plot-BJjnkWcT.js +2 -0
  249. package/dist/vue-ui-horizontal-bar-BRDBJEl1.js +4 -0
  250. package/dist/vue-ui-kpi-C-eed3jO.js +1 -0
  251. package/dist/vue-ui-label-B4pkXBxc.js +7 -0
  252. package/dist/vue-ui-mini-loader-CElmv_iF.js +1 -0
  253. package/dist/vue-ui-molecule-BeyQWZU9.js +1 -0
  254. package/dist/vue-ui-mood-radar-Bh0kHfiZ.js +1 -0
  255. package/dist/vue-ui-nested-donuts-FlnJfDaF.js +19 -0
  256. package/dist/vue-ui-onion-BjhSpjtW.js +5 -0
  257. package/dist/vue-ui-parallel-coordinate-plot-CHV6XDti.js +9 -0
  258. package/dist/vue-ui-pattern-DrPCu32G.js +1 -0
  259. package/dist/vue-ui-pattern-seed-B8YjAAEH.js +1 -0
  260. package/dist/vue-ui-quadrant-BaKSTJDv.js +2 -0
  261. package/dist/vue-ui-quick-chart-Nc2mVlle.js +17 -0
  262. package/dist/vue-ui-radar-BzUfkLlC.js +1 -0
  263. package/dist/vue-ui-rating-BwWXvbAg.js +1 -0
  264. package/dist/vue-ui-relation-circle-nAZEg-BL.js +1 -0
  265. package/dist/vue-ui-ridgeline-DxLZg1E2.js +2 -0
  266. package/dist/vue-ui-rings-BOti0NGb.js +1 -0
  267. package/dist/vue-ui-scatter-CCNMggyo.js +9 -0
  268. package/dist/vue-ui-skeleton-DI7pcimU.js +41 -0
  269. package/dist/vue-ui-smiley-D70sJZWl.js +1 -0
  270. package/dist/vue-ui-spark-trend-BVtfEalS.js +1 -0
  271. package/dist/vue-ui-sparkbar-CdsLI7Ke.js +1 -0
  272. package/dist/vue-ui-sparkgauge-wmj5Wnnp.js +1 -0
  273. package/dist/vue-ui-sparkhistogram-D8S_P_P4.js +1 -0
  274. package/dist/vue-ui-sparkline-BjsJnS_9.js +1 -0
  275. package/dist/vue-ui-sparkstackbar-ZN8LXzoV.js +1 -0
  276. package/dist/vue-ui-stackbar-Dx_EN3pT.js +29 -0
  277. package/dist/vue-ui-stackline-DW-oxJvA.js +39 -0
  278. package/dist/vue-ui-strip-plot-D7kjJ3Qh.js +2 -0
  279. package/dist/vue-ui-table-CaFVLHxE.js +14 -0
  280. package/dist/vue-ui-table-heatmap-Ctf7Rhqo.js +1 -0
  281. package/dist/vue-ui-table-sparkline-C0I0cXBS.js +1 -0
  282. package/dist/vue-ui-thermometer-B6og15Al.js +1 -0
  283. package/dist/vue-ui-timer-DgXvO2Q7.js +64 -0
  284. package/dist/vue-ui-tiremarks-Dh6fZ454.js +1 -0
  285. package/dist/vue-ui-treemap-7JuvN6P_.js +1 -0
  286. package/dist/vue-ui-waffle-BqvGzfse.js +1 -0
  287. package/dist/vue-ui-wheel-SdwJqKA7.js +1 -0
  288. package/dist/vue-ui-word-cloud-1WVV_k12.js +4 -0
  289. package/dist/vue-ui-world-DjMy_utm.js +19 -0
  290. package/dist/vue-ui-xy-DaozHMfg.js +31 -0
  291. package/dist/vue-ui-xy-canvas-CegvS9RR.js +9 -0
  292. package/dist/vue-ui-xy-rGHSI1am.js +24 -0
  293. package/dist/vue_ui_3d_bar-DmAve5Ri.js +1 -0
  294. package/dist/vue_ui_age_pyramid-CL0Ef8Ov.js +1 -0
  295. package/dist/vue_ui_bullet-CwVYkpjd.js +1 -0
  296. package/dist/vue_ui_bump-KJL9GYr4.js +1 -0
  297. package/dist/vue_ui_candlestick-DKvha_Ab.js +1 -0
  298. package/dist/vue_ui_chestnut-BxxivKN7.js +1 -0
  299. package/dist/vue_ui_chord-Fq6VBRT1.js +1 -0
  300. package/dist/vue_ui_circle_pack-CfXkXi7v.js +1 -0
  301. package/dist/vue_ui_dag-1b_dLSym.js +1 -0
  302. package/dist/vue_ui_donut-T5PeOqvf.js +1 -0
  303. package/dist/vue_ui_donut_evolution-CVoh3twl.js +1 -0
  304. package/dist/vue_ui_dumbbell-BMcxK0N3.js +1 -0
  305. package/dist/vue_ui_flow-kvV56Es9.js +1 -0
  306. package/dist/vue_ui_funnel-CaEV5hG7.js +1 -0
  307. package/dist/vue_ui_galaxy-B94QInxc.js +1 -0
  308. package/dist/vue_ui_gauge-BJhb6yqE.js +1 -0
  309. package/dist/vue_ui_geo-DL1SMQHp.js +1 -0
  310. package/dist/vue_ui_heatmap-kh5NMmwf.js +1 -0
  311. package/dist/vue_ui_hill-DQi4pQCG.js +1 -0
  312. package/dist/vue_ui_history_plot-soyqUW4Y.js +1 -0
  313. package/dist/vue_ui_horizontal_bar-C4ulIxeT.js +1 -0
  314. package/dist/vue_ui_label-dtPqyFsj.js +1 -0
  315. package/dist/vue_ui_molecule-Bw1UW1Na.js +1 -0
  316. package/dist/vue_ui_mood_radar-CXaBdJnv.js +1 -0
  317. package/dist/vue_ui_nested_donuts-CRtGsJcz.js +1 -0
  318. package/dist/vue_ui_onion-C9BedU_-.js +1 -0
  319. package/dist/vue_ui_parallel_coordinate_plot-Cs_xXAG5.js +1 -0
  320. package/dist/vue_ui_quadrant-BUv-SqzP.js +1 -0
  321. package/dist/vue_ui_quick_chart-BRfcRW6Z.js +1 -0
  322. package/dist/vue_ui_radar-68iK9Fam.js +1 -0
  323. package/dist/vue_ui_relation_circle-Dkv-cSB6.js +1 -0
  324. package/dist/vue_ui_ridgeline-Di26JtQu.js +1 -0
  325. package/dist/vue_ui_rings-BcDDXHpQ.js +1 -0
  326. package/dist/vue_ui_scatter-C50uFYQL.js +1 -0
  327. package/dist/vue_ui_spark_trend-BOM3zo64.js +1 -0
  328. package/dist/vue_ui_sparkbar-Bpx7QrFq.js +1 -0
  329. package/dist/vue_ui_sparkgauge-D2Hk6bvS.js +1 -0
  330. package/dist/vue_ui_sparkhistogram-ChwOkoMb.js +1 -0
  331. package/dist/vue_ui_sparkline-CvL_e9L8.js +1 -0
  332. package/dist/vue_ui_sparkstackbar-Chtog7hC.js +1 -0
  333. package/dist/vue_ui_stackbar-BkBIi_bL.js +1 -0
  334. package/dist/vue_ui_stackline-D7b63K84.js +1 -0
  335. package/dist/vue_ui_strip_plot-CwMowrhT.js +1 -0
  336. package/dist/vue_ui_table_heatmap-vfeY6r97.js +1 -0
  337. package/dist/vue_ui_table_sparkline-Dlfbza49.js +1 -0
  338. package/dist/vue_ui_thermometer-CRijq6H6.js +1 -0
  339. package/dist/vue_ui_tiremarks-8HFfABNF.js +1 -0
  340. package/dist/vue_ui_treemap-Bv4Rdl5_.js +1 -0
  341. package/dist/vue_ui_vertical_bar-BLyflvlz.js +1 -0
  342. package/dist/vue_ui_waffle-BbBLSluB.js +1 -0
  343. package/dist/vue_ui_wheel-C-479bvJ.js +1 -0
  344. package/dist/vue_ui_word_cloud-DBiJtSyL.js +1 -0
  345. package/dist/vue_ui_xy-CJBM9F6W.js +1 -0
  346. package/dist/vue_ui_xy_canvas-CT-FN9rU.js +1 -0
  347. package/package.json +2 -2
  348. package/dist/A11yDataTable-DdRsVULz.js +0 -45
  349. package/dist/Arrow-DKO1l8oR.js +0 -116
  350. package/dist/BaseDraggableDialog-C50TEJFv.js +0 -272
  351. package/dist/BaseIcon-Cx9FD751.js +0 -484
  352. package/dist/BaseLegendToggle-CP3sddwv.js +0 -56
  353. package/dist/BaseScanner-Dzc8VT3j.js +0 -30
  354. package/dist/BaseZoomControls-vNi8YykO.js +0 -111
  355. package/dist/ColorPicker-hmC2bvwS.js +0 -257
  356. package/dist/DataTable-CjF_An2h.js +0 -150
  357. package/dist/DefGrad-DVBqDjhO.js +0 -48
  358. package/dist/HillActions-DqqGB33u.js +0 -187
  359. package/dist/Legend-CulFgjUY.js +0 -156
  360. package/dist/NonSvgPenAndPaper-BK1v_MfW.js +0 -577
  361. package/dist/PackageVersion-D7H9nfK0.js +0 -12
  362. package/dist/PenAndPaper-CNiuGw6k.js +0 -906
  363. package/dist/RecursiveCircles-D6aDPmoe.js +0 -117
  364. package/dist/RecursiveLabels-D9rfID6q.js +0 -56
  365. package/dist/RecursiveLinks-BygcpDiT.js +0 -78
  366. package/dist/Shape-DSwamtmO.js +0 -143
  367. package/dist/SlicerPreview-k5YerMA9.js +0 -1730
  368. package/dist/SparkTooltip-D35KVv6N.js +0 -93
  369. package/dist/Title-BMCuINbv.js +0 -87
  370. package/dist/Tooltip-C4ZTwkLF.js +0 -312
  371. package/dist/UserOptions-CORYQiif.js +0 -1412
  372. package/dist/_plugin-vue_export-helper-B3ysoDQm.js +0 -8
  373. package/dist/dom-to-png-CBusMkua.js +0 -237
  374. package/dist/exposedLib-UNxZlnAS.js +0 -28
  375. package/dist/geoProjections-BYthUA8l.js +0 -302
  376. package/dist/img-Bb5rHcpO.js +0 -129
  377. package/dist/labelUtils-Ccn9kK7T.js +0 -19
  378. package/dist/lib-D4wK6ljP.js +0 -2146
  379. package/dist/package-DmQufM0G.js +0 -4
  380. package/dist/patternUtils-CS7hn6at.js +0 -258
  381. package/dist/pdf-BzIQHx-F.js +0 -90
  382. package/dist/render-common-BtfjXdkJ.js +0 -152
  383. package/dist/rolldown-runtime-Dy4uBu1J.js +0 -11
  384. package/dist/useAutoSizeLabelsInsideViewbox-DvDwcwi_.js +0 -122
  385. package/dist/useChartAccessibility-DYqac8yF.js +0 -12
  386. package/dist/useChartExport-iwOqiIWX.js +0 -803
  387. package/dist/useConfig-D_6ZrPMD.js +0 -8090
  388. package/dist/useFitSvgText-CXTzBplU.js +0 -65
  389. package/dist/useHints-Dq_w2E8B.js +0 -66
  390. package/dist/useNestedProp-DR_8JPol.js +0 -12
  391. package/dist/useObjectBindings-DvasYMGu.js +0 -191
  392. package/dist/usePanZoom-CYU3B4T3.js +0 -157
  393. package/dist/usePrefersMotion-BC-CsqR1.js +0 -15
  394. package/dist/usePrinter-DdW2GSm0.js +0 -49
  395. package/dist/useResponsive-ZtArZtUf.js +0 -97
  396. package/dist/useStableElementSize-C7KADDKj.js +0 -77
  397. package/dist/useTableResponsive-BAqJPR68.js +0 -25
  398. package/dist/useThemeCheck-C43Tcqmk.js +0 -24
  399. package/dist/useTimeLabelCollider-AEcY4Ioe.js +0 -57
  400. package/dist/useTimeLabels-d2f-W1L4.js +0 -270
  401. package/dist/useTooltipPosition-BCrtQa9H.js +0 -189
  402. package/dist/useTransitions-g_zBREk2.js +0 -39
  403. package/dist/useUserOptionState-DK-_1ddE.js +0 -15
  404. package/dist/vClickOutside-DUrZWttG.js +0 -13
  405. package/dist/vue-data-ui-Df7WV80w.js +0 -191
  406. package/dist/vue-ui-3d-bar-CJjNPwhG.js +0 -1831
  407. package/dist/vue-ui-accordion-CaoNWreI.js +0 -81
  408. package/dist/vue-ui-age-pyramid-BYcM0uIP.js +0 -1305
  409. package/dist/vue-ui-annotator-BmqjDjRF.js +0 -3325
  410. package/dist/vue-ui-bullet-DBOAvpBB.js +0 -702
  411. package/dist/vue-ui-bump-rPYwDJ4o.js +0 -1242
  412. package/dist/vue-ui-candlestick-WQHIQNv_.js +0 -2144
  413. package/dist/vue-ui-carousel-table-Dojcvt49.js +0 -467
  414. package/dist/vue-ui-chestnut-BdhEByUf.js +0 -2016
  415. package/dist/vue-ui-chord-MF4xF5az.js +0 -1347
  416. package/dist/vue-ui-circle-pack-BwDim7G8.js +0 -1647
  417. package/dist/vue-ui-cursor-w_5cbpSb.js +0 -283
  418. package/dist/vue-ui-dag-D2EUqeDN.js +0 -2931
  419. package/dist/vue-ui-dashboard-BLnVXosj.js +0 -522
  420. package/dist/vue-ui-digits-zSqwYWHm.js +0 -217
  421. package/dist/vue-ui-donut-ZYZfqIhi.js +0 -974
  422. package/dist/vue-ui-donut-evolution-DtLbWi3h.js +0 -1869
  423. package/dist/vue-ui-donut-nLDLZwig.js +0 -2427
  424. package/dist/vue-ui-dumbbell-Qgn3wRyI.js +0 -1533
  425. package/dist/vue-ui-flow-iSH6dyGw.js +0 -1229
  426. package/dist/vue-ui-funnel-Cc2z2zS5.js +0 -749
  427. package/dist/vue-ui-galaxy-GhuBSU0o.js +0 -1097
  428. package/dist/vue-ui-gauge-BAjBO13a.js +0 -934
  429. package/dist/vue-ui-geo-mwTtvIHY.js +0 -1495
  430. package/dist/vue-ui-gizmo-B5vOOrZX.js +0 -238
  431. package/dist/vue-ui-heatmap-fimkY1nN.js +0 -1613
  432. package/dist/vue-ui-hill-DPfTt3UE.js +0 -1747
  433. package/dist/vue-ui-history-plot-B1WgzqTb.js +0 -1710
  434. package/dist/vue-ui-horizontal-bar-Bkp5HQdt.js +0 -1723
  435. package/dist/vue-ui-kpi-D-p0CSQh.js +0 -104
  436. package/dist/vue-ui-label-r3-QloJL.js +0 -1451
  437. package/dist/vue-ui-mini-loader-CnrBGAtM.js +0 -133
  438. package/dist/vue-ui-molecule-BhdAYX_H.js +0 -941
  439. package/dist/vue-ui-mood-radar-CdlnPrQf.js +0 -1111
  440. package/dist/vue-ui-nested-donuts-DceVEyUc.js +0 -1515
  441. package/dist/vue-ui-onion-_L0uEATI.js +0 -1247
  442. package/dist/vue-ui-parallel-coordinate-plot-CbXwIM47.js +0 -1444
  443. package/dist/vue-ui-pattern-DKozfnVn.js +0 -154
  444. package/dist/vue-ui-pattern-seed-BB1honLm.js +0 -61
  445. package/dist/vue-ui-quadrant-CDDFLRcX.js +0 -1979
  446. package/dist/vue-ui-quick-chart-Dom257hl.js +0 -2775
  447. package/dist/vue-ui-radar-BLdri1bA.js +0 -1386
  448. package/dist/vue-ui-rating-C_iTttXB.js +0 -359
  449. package/dist/vue-ui-relation-circle-BmxTSgjd.js +0 -905
  450. package/dist/vue-ui-ridgeline-CsUrcVmL.js +0 -1630
  451. package/dist/vue-ui-rings-D_GPkgbD.js +0 -1264
  452. package/dist/vue-ui-scatter-D_C-IhnW.js +0 -2418
  453. package/dist/vue-ui-skeleton-t7e6KEZ2.js +0 -2567
  454. package/dist/vue-ui-smiley-Dl95YWVo.js +0 -376
  455. package/dist/vue-ui-spark-trend-pkZA7u5V.js +0 -457
  456. package/dist/vue-ui-sparkbar-Ds7OJjhG.js +0 -401
  457. package/dist/vue-ui-sparkgauge-US1M88qc.js +0 -268
  458. package/dist/vue-ui-sparkhistogram-FISVpSvv.js +0 -589
  459. package/dist/vue-ui-sparkline-DvE1dHcs.js +0 -2067
  460. package/dist/vue-ui-sparkstackbar-CWtF9eG-.js +0 -750
  461. package/dist/vue-ui-stackbar-fMgrHzZe.js +0 -3273
  462. package/dist/vue-ui-stackline-CSMuUup2.js +0 -2829
  463. package/dist/vue-ui-strip-plot-TGD2UFHS.js +0 -1752
  464. package/dist/vue-ui-table-BCEIbg8-.js +0 -1352
  465. package/dist/vue-ui-table-heatmap-CvUcFWMf.js +0 -363
  466. package/dist/vue-ui-table-sparkline-CoVQ1qGY.js +0 -738
  467. package/dist/vue-ui-thermometer-BYFAZCzh.js +0 -758
  468. package/dist/vue-ui-timer-BKr8RVnn.js +0 -451
  469. package/dist/vue-ui-tiremarks-BYu3cEoy.js +0 -540
  470. package/dist/vue-ui-treemap-BR3rX5_L.js +0 -1745
  471. package/dist/vue-ui-waffle-mP8g5aQk.js +0 -1633
  472. package/dist/vue-ui-wheel-CZsSO2R6.js +0 -873
  473. package/dist/vue-ui-word-cloud-CJ30onqy.js +0 -1723
  474. package/dist/vue-ui-world-BZ09DOiF.js +0 -3021
  475. package/dist/vue-ui-xy-C3h54loZ.js +0 -1387
  476. package/dist/vue-ui-xy-canvas-BwgK8drp.js +0 -2151
  477. package/dist/vue-ui-xy-jemv5dsf.js +0 -5777
  478. package/dist/vue_ui_3d_bar-C4R7o-yX.js +0 -185
  479. package/dist/vue_ui_age_pyramid-B2R66DgQ.js +0 -310
  480. package/dist/vue_ui_bullet-ClzdLoOv.js +0 -186
  481. package/dist/vue_ui_bump-Vl-zYAtG.js +0 -201
  482. package/dist/vue_ui_candlestick-BXSQY82k.js +0 -461
  483. package/dist/vue_ui_chestnut-D2oUhad6.js +0 -305
  484. package/dist/vue_ui_chord-DPfS1Umc.js +0 -275
  485. package/dist/vue_ui_circle_pack-DZC_rdfn.js +0 -172
  486. package/dist/vue_ui_dag-TsJ_azQq.js +0 -258
  487. package/dist/vue_ui_donut-BDGqG07h.js +0 -358
  488. package/dist/vue_ui_donut_evolution-C6951a2f.js +0 -745
  489. package/dist/vue_ui_dumbbell-Bfe_jFyi.js +0 -304
  490. package/dist/vue_ui_flow-BewZjjKG.js +0 -238
  491. package/dist/vue_ui_funnel-_Og4EEkO.js +0 -234
  492. package/dist/vue_ui_galaxy-Ig0cc1_h.js +0 -265
  493. package/dist/vue_ui_gauge-Cf1RZc9q.js +0 -178
  494. package/dist/vue_ui_geo-B8TODs-G.js +0 -248
  495. package/dist/vue_ui_heatmap-B2BBBSWG.js +0 -319
  496. package/dist/vue_ui_hill-dnltu0L-.js +0 -368
  497. package/dist/vue_ui_history_plot-CuN63VEc.js +0 -413
  498. package/dist/vue_ui_horizontal_bar-C4J4QzXf.js +0 -341
  499. package/dist/vue_ui_label-B0QoxQrJ.js +0 -115
  500. package/dist/vue_ui_molecule-CO9L59SF.js +0 -231
  501. package/dist/vue_ui_mood_radar-BA6LAKhk.js +0 -281
  502. package/dist/vue_ui_nested_donuts-B8csIoVO.js +0 -273
  503. package/dist/vue_ui_onion-1FTFFS46.js +0 -293
  504. package/dist/vue_ui_parallel_coordinate_plot-CBiOBira.js +0 -278
  505. package/dist/vue_ui_quadrant-CDSTKTJz.js +0 -428
  506. package/dist/vue_ui_quick_chart-DByCqSYE.js +0 -180
  507. package/dist/vue_ui_radar-jafTED5j.js +0 -306
  508. package/dist/vue_ui_relation_circle-D0p4mXmv.js +0 -98
  509. package/dist/vue_ui_ridgeline-VM8_mx4J.js +0 -767
  510. package/dist/vue_ui_rings-BVgD2aMn.js +0 -320
  511. package/dist/vue_ui_scatter-I0POnicu.js +0 -479
  512. package/dist/vue_ui_spark_trend-DxVmpkmC.js +0 -82
  513. package/dist/vue_ui_sparkbar-z6qO--Kf.js +0 -64
  514. package/dist/vue_ui_sparkgauge-BX1MS3bA.js +0 -90
  515. package/dist/vue_ui_sparkhistogram-BRgvKUH6.js +0 -123
  516. package/dist/vue_ui_sparkline-b9pEUyGF.js +0 -183
  517. package/dist/vue_ui_sparkstackbar-BOjuQnZd.js +0 -175
  518. package/dist/vue_ui_stackbar-yQyvT4Su.js +0 -537
  519. package/dist/vue_ui_stackline-Bh0RuInt.js +0 -539
  520. package/dist/vue_ui_strip_plot-BaHbnnwN.js +0 -308
  521. package/dist/vue_ui_table_heatmap-w8vx5k6f.js +0 -80
  522. package/dist/vue_ui_table_sparkline-DAbkUrNz.js +0 -124
  523. package/dist/vue_ui_thermometer-DxgqWKlE.js +0 -123
  524. package/dist/vue_ui_tiremarks-CdEPieWV.js +0 -122
  525. package/dist/vue_ui_treemap-DoEtkRN6.js +0 -328
  526. package/dist/vue_ui_vertical_bar-CP-MKz1j.js +0 -247
  527. package/dist/vue_ui_waffle-DE_DiSVP.js +0 -299
  528. package/dist/vue_ui_wheel-DZ_nR--t.js +0 -133
  529. package/dist/vue_ui_word_cloud-C-qIMNLu.js +0 -254
  530. package/dist/vue_ui_xy-CcJADijP.js +0 -614
  531. package/dist/vue_ui_xy_canvas-DrNSzYWq.js +0 -487
@@ -0,0 +1 @@
1
+ import{t as e}from"./_plugin-vue_export-helper-BDNMzG2s.js";import{Fragment as t,createElementBlock as n,createElementVNode as r,createTextVNode as i,openBlock as a,renderList as o,renderSlot as s,toDisplayString as c}from"vue";var l=[`id`],u={scope:`row`},d=/*#__PURE__*/ e({__name:`A11yDataTable`,props:{uid:{String,required:!0},head:{Array,default:()=>[]},body:{Array,default:()=>[]},caption:{String,default:`Data table`},notice:{String,default:`A data table is available below.`}},setup(e){return(d,f)=>(a(),n(`div`,{id:`chart-data-table-${e.uid}`,class:`sr-only`,"data-dom-to-png-ignore":``},[r(`p`,null,c(e.notice),1),r(`table`,null,[r(`caption`,null,c(e.caption),1),r(`thead`,null,[r(`tr`,null,[(a(!0),n(t,null,o(e.head,(t,r)=>(a(),n(`th`,{role:`cell`,key:`a11y-head-${r}-${e.uid}`,scope:`col`},[s(d.$slots,`th`,{th:t},()=>[i(c(t),1)],!0)]))),128))])]),r(`tbody`,null,[(a(!0),n(t,null,o(e.body,(l,f)=>(a(),n(`tr`,{key:`a11y-body-${f}-${e.uid}`},[r(`th`,u,c(l[0]),1),(a(!0),n(t,null,o(l.slice(1),(t,r)=>(a(),n(`td`,{key:`a11y-cell-${f}-${r}-${e.uid}`},[s(d.$slots,`td`,{td:t},()=>[i(c(t),1)],!0)]))),128))]))),128))])])],8,l))}},[[`__scopeId`,`data-v-1090a7c5`]]);export{d as t};
@@ -0,0 +1 @@
1
+ import{X as e}from"./lib-CV_IANZ6.js";import{computed as t,createElementBlock as n,createElementVNode as r,openBlock as i,unref as a}from"vue";var o={class:`vue-ui-element-arrow`},s=[`id`,`viewBox`,`refX`,`refY`,`markerWidth`,`markerHeight`],c=[`d`,`fill`],l=[`id`,`viewBox`,`refX`,`refY`,`markerWidth`,`markerHeight`],u=[`d`,`fill`],d=[`x1`,`y1`,`x2`,`y2`,`stroke`,`stroke-width`,`stroke-linecap`,`stroke-dasharray`,`marker-end`,`marker-start`],f={__name:`Arrow`,props:{markerEnd:{type:Boolean,default:!0},markerSize:{type:Number,default:10},markerStart:{type:Boolean,default:!1},stroke:{type:String,default:`#2D353C`},strokeDasharray:{type:Number,default:0},strokeLinecap:{type:String,default:`round`},strokeWidth:{type:Number,default:1},x1:{type:Number,default:0},x2:{type:Number,default:0},y1:{type:Number,default:0},y2:{type:Number,default:0}},setup(f){let p=f,m=e(),h=t(()=>`0 0 ${p.markerSize} ${p.markerSize}`),g=t(()=>p.markerSize/2),_=t(()=>g.value+p.markerSize/10);return(e,t)=>(i(),n(`g`,o,[r(`defs`,null,[r(`marker`,{id:`arrow_end_${a(m)}`,orient:`auto`,viewBox:h.value,refX:g.value,refY:g.value,markerWidth:_.value,markerHeight:_.value},[r(`path`,{d:`M 0 0 L ${f.markerSize} ${g.value} L 0 ${f.markerSize} z`,fill:f.stroke},null,8,c)],8,s),r(`marker`,{id:`arrow_start_${a(m)}`,orient:`auto-start-reverse`,viewBox:h.value,refX:g.value,refY:g.value,markerWidth:_.value,markerHeight:_.value},[r(`path`,{d:`M 0 0 L ${f.markerSize} ${g.value} L 0 ${f.markerSize} z`,fill:f.stroke},null,8,u)],8,l)]),r(`line`,{x1:f.x1,y1:f.y1,x2:f.x2,y2:f.y2,stroke:f.stroke,"stroke-width":f.strokeWidth,"stroke-linecap":f.strokeLinecap,"stroke-dasharray":f.strokeDasharray,"marker-end":f.markerEnd?`url(#arrow_end_${a(m)})`:``,"marker-start":f.markerStart?`url(#arrow_start_${a(m)})`:``},null,8,d)]))}};export{f as t};
@@ -0,0 +1 @@
1
+ import{t as e}from"./rolldown-runtime-DK3Fl9T5.js";import{X as t,t as n}from"./lib-CV_IANZ6.js";import{t as r}from"./_plugin-vue_export-helper-BDNMzG2s.js";import{t as i}from"./BaseIcon-DdIyewwY.js";import{Teleport as a,computed as o,createBlock as s,createCommentVNode as c,createElementBlock as l,createElementVNode as u,createVNode as d,nextTick as f,normalizeClass as p,normalizeStyle as m,onMounted as h,onUnmounted as g,openBlock as _,reactive as v,ref as y,renderSlot as b,unref as x,withModifiers as S}from"vue";var C=/* @__PURE__ */ e({default:()=>E}),w=[`xmlns`],T={class:`draggable-dialog-actions`},E=/*#__PURE__*/ r({__name:`BaseDraggableDialog`,props:{backgroundColor:{type:String},color:{type:String},headerBg:{type:String},headerColor:{type:String},fullscreenParent:{type:HTMLElement},isFullscreen:{type:Boolean,default:!1},withPadding:{type:Boolean,default:!1},forcedWidth:{type:Number,default:400},forcedHeight:{type:Number,default:400},isCursorPointer:{type:Boolean,default:!1},forceAspectRatio:{type:Boolean,default:!1},withFullWidth:{type:Boolean,default:!1},noLayerUpdate:{type:Boolean,default:!1}},emits:[`close`,`size`],setup(e,{expose:r,emit:C}){let E=e,D=C,O=y(!1),k=y(!1),A=y(0),j=y(null),M=y(null),N=y(null),P=`vue-ui-draggable-dialog-${t()}`,F=`${P}-title`,I=`${P}-body`;function L(){E.noLayerUpdate||(A.value+=1)}let R=v({left:window.innerWidth/2-200,top:window.innerHeight/2-120,width:E.forcedWidth,height:E.forcedHeight,dragging:!1,resizing:!1,dragOffsetX:0,dragOffsetY:0,pointerStartX:0,pointerStartY:0,resizeStartW:0,resizeStartH:0});function z(){N.value=document.activeElement instanceof HTMLElement?document.activeElement:null,O.value=!0,f(()=>{k.value||=(R.left=Math.max(0,window.innerWidth/2-R.width/2),R.top=Math.max(0,window.innerHeight/2-R.height/2),!0);let e=M.value||j.value;e&&typeof e.focus==`function`&&e.focus()})}function B(){O.value=!1,D(`close`),N.value&&typeof N.value.focus==`function`&&N.value.focus()}r({open:z,close:B});let V=o(()=>({position:`fixed`,left:`${R.left}px`,top:`${R.top}px`,width:`${R.width}px`,height:`${R.height}px`,padding:0,border:`none`,background:E.backgroundColor,boxShadow:`0 4px 24px rgba(0,0,0,0.15)`,zIndex:9999,overflow:`visible`,borderRadius:`2px`,"--dlg-color":E.color}));function H(e){return e.touches&&e.touches.length?{x:e.touches[0].clientX,y:e.touches[0].clientY}:{x:e.clientX,y:e.clientY}}function U(e){e.preventDefault?.(),L(),R.dragging=!0;let t=H(e);R.dragOffsetX=t.x-R.left,R.dragOffsetY=t.y-R.top,document.addEventListener(`mousemove`,W),document.addEventListener(`mouseup`,G),document.addEventListener(`touchmove`,W,{passive:!1}),document.addEventListener(`touchend`,G)}function W(e){if(!R.dragging)return;e.preventDefault?.();let t=H(e),n=t.x-R.dragOffsetX,r=t.y-R.dragOffsetY;n=Math.max(0,Math.min(n,window.innerWidth-R.width)),r=Math.max(0,Math.min(r,window.innerHeight-R.height)),R.left=n,R.top=r}function G(){R.dragging=!1,document.removeEventListener(`mousemove`,W),document.removeEventListener(`mouseup`,G),document.removeEventListener(`touchmove`,W),document.removeEventListener(`touchend`,G)}function K(e){e.preventDefault?.(),L(),R.resizing=!0;let t=H(e);R.pointerStartX=t.x,R.pointerStartY=t.y,R.resizeStartW=R.width,R.resizeStartH=R.height,document.addEventListener(`mousemove`,q),document.addEventListener(`mouseup`,J),document.addEventListener(`touchmove`,q,{passive:!1}),document.addEventListener(`touchend`,J)}function q(e){if(!R.resizing)return;e.preventDefault?.();let t=H(e),n=t.x-R.pointerStartX,r=t.y-R.pointerStartY;R.width=Math.max(240,R.resizeStartW+n),R.height=Math.max(400,R.resizeStartH+r),D(`size`,{width:R.width,height:R.height})}function J(){R.resizing=!1,document.removeEventListener(`mousemove`,q),document.removeEventListener(`mouseup`,J),document.removeEventListener(`touchmove`,q),document.removeEventListener(`touchend`,J),D(`size`,{width:R.width,height:R.height})}h(()=>{D(`size`,{width:R.width,height:R.height})});function Y(e){e.preventDefault?.(),L(),R.resizing=!0;let t=H(e);R.pointerStartX=t.x,R.pointerStartY=t.y,R.resizeStartW=R.width,R.resizeStartH=R.height,R.resizeStartLeft=R.left,R.resizeStartTop=R.top,document.addEventListener(`mousemove`,X),document.addEventListener(`mouseup`,Z),document.addEventListener(`touchmove`,X,{passive:!1}),document.addEventListener(`touchend`,Z)}function X(e){if(!R.resizing)return;e.preventDefault?.();let t=H(e),n=t.x-R.pointerStartX,r=Math.min(Math.max(0,R.resizeStartLeft+n),R.resizeStartLeft+R.resizeStartW-240),i=R.resizeStartW-(r-R.resizeStartLeft),a=t.y-R.pointerStartY,o=Math.max(400,R.resizeStartH+a);R.left=r,R.width=i,R.height=o}function Z(){R.resizing=!1,document.removeEventListener(`mousemove`,X),document.removeEventListener(`mouseup`,Z),document.removeEventListener(`touchmove`,X),document.removeEventListener(`touchend`,Z)}h(()=>{document.addEventListener(`keydown`,Q)});function Q(e){e.key&&e.key===`Escape`&&B()}g(()=>{G(),J(),Z(),document.removeEventListener(`keydown`,Q)});function $(e){e.key===`Tab`&&ee(e)}function ee(e){if(!j.value)return;let t=j.value.querySelectorAll(`a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), iframe, object, embed, [tabindex]:not([tabindex="-1"]), [contenteditable="true"]`);if(!t.length)return;let n=t[0],r=t[t.length-1];e.shiftKey?document.activeElement===n&&(e.preventDefault(),r.focus()):document.activeElement===r&&(e.preventDefault(),n.focus())}return(t,r)=>(_(),s(a,{to:e.isFullscreen?e.fullscreenParent:`body`,key:A.value},[O.value?(_(),l(`div`,{key:0,ref_key:`draggableDialog`,ref:j,class:`vue-ui-draggable-dialog`,style:m(V.value),role:`dialog`,"aria-modal":!0,"aria-labelledby":F,"aria-describedby":I,tabindex:`-1`,onClick:r[0]||=S(()=>{},[`stop`]),onKeydown:$},[u(`div`,{class:`vue-ui-draggable-dialog-header`,style:m({backgroundColor:e.headerBg,color:e.headerColor})},[u(`span`,{class:`drag-handle`,"aria-hidden":`true`,onMousedown:S(U,[`stop`,`prevent`]),onTouchstart:S(U,[`stop`,`prevent`])},[(_(),l(`svg`,{xmlns:x(n),width:`20`,height:`20`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,"stroke-width":`1`,"stroke-linecap":`round`,"stroke-linejoin":`round`},[...r[1]||=[u(`path`,{d:`M5 9m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0`},null,-1),u(`path`,{d:`M5 15m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0`},null,-1),u(`path`,{d:`M12 9m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0`},null,-1),u(`path`,{d:`M12 15m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0`},null,-1),u(`path`,{d:`M19 9m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0`},null,-1),u(`path`,{d:`M19 15m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0`},null,-1)]],8,w))],32),u(`span`,{class:`vue-ui-draggable-dialog-title`,id:F},[b(t.$slots,`title`,{},void 0,!0)]),u(`div`,T,[b(t.$slots,`actions`,{},void 0,!0),u(`button`,{ref_key:`closeButtonElement`,ref:M,class:`close`,type:`button`,"aria-label":`Close dialog`,onClick:B,style:m({cursor:e.isCursorPointer?`pointer`:`default`})},[d(i,{name:`close`,stroke:e.headerColor},null,8,[`stroke`])],4)])],4),u(`div`,{id:I,role:`document`,class:p({"vue-ui-draggable-dialog-body":!e.withPadding,"vue-ui-draggable-dialog-body-pad":e.withPadding,"vue-ui-draggable-dialog-body-full-width":e.withFullWidth})},[b(t.$slots,`before`,{},void 0,!0),b(t.$slots,`content`,{},void 0,!0),b(t.$slots,`after`,{},void 0,!0)],2),u(`div`,{class:`resize-handle`,"aria-hidden":`true`,onMousedown:S(K,[`stop`,`prevent`]),onTouchstart:S(K,[`stop`,`prevent`])},null,32),u(`div`,{class:`resize-handle resize-handle-left`,"aria-hidden":`true`,onMousedown:S(Y,[`stop`,`prevent`]),onTouchstart:S(Y,[`stop`,`prevent`])},null,32)],36)):c(``,!0)],8,[`to`]))}},[[`__scopeId`,`data-v-41359ac7`]]);export{C as n,E as t};
@@ -0,0 +1 @@
1
+ import{t as e}from"./rolldown-runtime-DK3Fl9T5.js";import{t}from"./lib-CV_IANZ6.js";import{t as n}from"./_plugin-vue_export-helper-BDNMzG2s.js";import{computed as r,createElementBlock as i,normalizeClass as a,openBlock as o,unref as s,useCssVars as c,useSlots as l}from"vue";var u=/* @__PURE__ */ e({default:()=>v}),d=[`xmlns`,`viewBox`,`height`,`width`,`innerHTML`],f=[`xmlns`,`viewBox`,`height`,`width`,`innerHTML`],p=`stroke-linecap="round" stroke-linejoin="round"`,m=`stroke-linecap="round"`,h=`stroke-linejoin="round"`,g=`fill="none"`,_=`stroke="none"`,v=/*#__PURE__*/ n({__name:`BaseIcon`,props:{name:String,size:{type:[Number,String],default:24},stroke:{type:String,default:`#CCCCCC`},strokeWidth:{type:Number,default:1.5},isSpin:{type:Boolean,default:!1},spinDuration:{type:String,default:`1s`}},setup(e){c(e=>({v1c62b01d:v.value}));let n=e,u=r(()=>n.name===`numbers`?`0 0 20 21`:`0 0 20 20`),v=r(()=>n.spinDuration),y=e=>`fill="${e}"`,b=e=>`style="opacity:${e}"`,x=e=>{let t=[1,.7,.5,.3,.15],n=t.length*2,r=Array.from({length:n},(e,t)=>1+t*2);return r.flatMap(i=>r.map(r=>{let a=(Math.max(Math.abs(r-n),Math.abs(i-n))-1)/2;return`<circle ${y(e)} ${_} cx="${r}" cy="${i}" r="${t[a]}" />`})).join(``)},S={chartHill:`M1 16c9 0 6-8 9-8s0 8 9 8M10 3a1 1 0 000 2 1 1 0 000-2m-8 8a1 1 0 000 2 1 1 0 000-2m16 0a1 1 0 000 2 1 1 0 000-2`,annotation:`M10 17a1 1 0 000 2 1 1 0 000-2m-9 1h6m6 0h6M4 1h12v9h-4l-2 4M7 4h3M7 7h6M4 1v9h4l2 4`,chartAgePyramid:`M2 15v2h7v-2zm9 0v2h7v-2zm-2-2H3v-2h6zm2-2v2h6v-2zM9 9H4V7h5zm2-2v2h5V7zM9 5H6V3h3zm2-2v2h3V3z`,chartLine:`M1 1v18h18M4 13c1 3 2 3 2 3 3 0 1-9 4-9 1 0 3 5 3 5 1 2 3 2 4-9`,dashboard:`M1 5a1 1 0 008 0A1 1 0 001 5m4-4v4h4M1 15h5m-5 3h7m5-9c0 1 0 1 1 1s1 0 1-1V6c0-1 0-1-1-1s-1 0-1 1zm4 0c0 1 0 1 1 1s1 0 1-1V4c0-1 0-1-1-1s-1 0-1 1zm-8 3 3 6 2-3 3 1 2-3M1 12h3`,csv:`M4 1Q1 1 1 4v12q0 3 3 3h12q3 0 3-3V6c-4 0-5-1-5-5Zm3 10c0-1 0-2-1-2H5c-1 0-1 1-1 2v3c0 1 0 2 1 2h1c1 0 1-1 1-2m5-3c0-1 0-2-1-2h-1c-1 0-1 1-1 2 0 2 3 1 3 3 0 1 0 2-1 2h-1c-1 0-1-1-1-2m5-5 1 7 1-7`,star:`m1.333 8.226 5.976-.895L9.96 1.9l2.7 5.406 5.983.843-4.308 4.237 1.047 5.951-5.36-2.788-5.337 2.836.995-5.96-4.345-4.201`,fullscreen:`M1 6V4q0-3 3-3h2m8 0h2q3 0 3 3v2m0 8v2q0 3-3 3h-2m-8 0H4q-3 0-3-3v-2m8-5L5 5m6 4 4-4m-4 6 4 4m-6-4-4 4m0-3v3h3m4 0h3v-3m0-4V5h-3M8 5H5v3`,exitFullscreen:`M1 6V4q0-3 3-3h2m8 0h2q3 0 3 3v2m0 8v2q0 3-3 3h-2m-8 0H4q-3 0-3-3v-2m7-6L4 4m8 4 4-4m-4 8 4 4m-8-4-4 4m1-4h3v3m4 0v-3h3m0-4h-3V5M8 5v3H5`,moodEmbarrassed:`M1 10a1 1 0 0 0 18 0 1 1 0 0 0-18 0m4 3c3-2 6 3 10 0M5 7a1 1 0 0 0 3 0 1 1 0 0 0-3 0m7 0a1 1 0 0 0 3 0 1 1 0 0 0-3 0`,moodSurprised:`M1 10a1 1 0 0 0 18 0 1 1 0 0 0-18 0m4-3a1 1 0 0 0 3 0 1 1 0 0 0-3 0m7 0a1 1 0 0 0 3 0 1 1 0 0 0-3 0m-2 5a1 1 0 0 0 0 3 1 1 0 0 0 0-3`,moodWink:`M1 10a1 1 0 0 0 18 0 1 1 0 0 0-18 0m4 1c2 4 6 4 10 2m-3-6a1 1 0 0 0 3 0 1 1 0 0 0-3 0M5 7h3`,moodLaughing:`M1 10a1 1 0 0 0 18 0 1 1 0 0 0-18 0m4 0c0 7 10 7 10 1zm7-3c1-1 2 0 3 0M5 6c1 0 2-1 3 1`,circleCancel:`M1 10a1 1 0 0 0 18 0 1 1 0 0 0-18 0m5-4 8 8m0-8-8 8`,circleCheck:`M1 10a1 1 0 0 0 18 0 1 1 0 0 0-18 0m4 0 4 4m6-7-6 7`,circleExclamation:`M1 10a1 1 0 0 0 18 0 1 1 0 0 0-18 0m9-5v5m0 3a1 1 0 0 0 0 2 1 1 0 0 0 0-2`,circleQuestion:`M1 10a1 1 0 0 0 18 0 1 1 0 0 0-18 0m9-5c4 0 4 5 0 5m0 3a1 1 0 0 0 0 2 1 1 0 0 0 0-2M7 7c0-1 1-2 3-2`,refresh:`M2 10a1 1 0 0 0 15 0c0-5-5-8-10-6l3-3M7 4l3 3`,chartTreemap:`M1 1h18v18H1Zm9 0v18m-9-6h9m0-3h9m-4 0v9`,kpi:`M2 5v10M6 5l-4 5 4 5m2 0V5h2m0 5a1 1 0 0 0 0-5m0 5H8m10-5h-4m0 10h4M16 5v10M1 3V2c0-1 1-1 1-1h16s1 0 1 1v1M1 17v1c0 1 1 1 1 1h16c1 0 1-1 1-1v-1`,kpiBox:`M1 3c0-1 1-2 2-2h14c1 0 2 1 2 2v14c0 1-1 2-2 2H3c-1 0-2-1-2-2zm3 10h5m7 0h-5m-7 3h12M4 4v6m3-6L4 7l3 3m2 0V4h2m0 3a1 1 0 0 0 0-3m0 3H9m7 3h-2m0-6h2m-1 0v6`,tooltip:`m8 15 2 4 2-4h6s1 0 1-1V2c0-1-1-1-1-1H2S1 1 1 2v12c0 1 1 1 1 1zM4 6h7m-7 4h3m2 0h7`,tooltipDisabled:`m8 15 2 4 2-4h6s1 0 1-1V2c0-1-1-1-1-1H2S1 1 1 2v12c0 1 1 1 1 1zM7 5l6 6m-6 0 6-6`,func:`m17 7-4 6m0-6 4 6m-5-8s-1 0-1 1v8c0 1 1 1 1 1m6-10c1 0 1 1 1 1v8c0 1-1 1-1 1M1 19c1 0 2 0 3-2L6 3c0-1 1-2 2-2h2m-5 9h2`,clipBoard:`M6 2c0-1 1-1 1-1h6c1 0 1 1 1 1s0 1-1 1H7S6 3 6 2m0 0H3C2 2 1 3 1 4v13c0 1 1 2 2 2h14c1 0 2-1 2-2V4c0-1-1-2-2-2h-3M5 7h4m-4 4h4m2 0h4M5 15h10m-4-8h4`,clipboardLine:`M6 2c0-1 1-1 1-1h6c1 0 1 1 1 1s0 1-1 1H7S6 3 6 2m0 0H3C2 2 1 3 1 4v13c0 1 1 2 2 2h14c1 0 2-1 2-2V4c0-1-1-2-2-2h-3M5 15l3-5 4 2 3-6`,clipboardDonut:`M6 2c0-1 1-1 1-1h6c1 0 1 1 1 1s0 1-1 1H7S6 3 6 2m0 0H3C2 2 1 3 1 4v13c0 1 1 2 2 2h14c1 0 2-1 2-2V4c0-1-1-2-2-2h-3m-4 3a1 1 0 0 0 0 11 1 1 0 0 0 0-11m0 3a1 1 0 0 0 0 5 1 1 0 0 0 0-5m0-3v3m-4.9 5 2.6-1.4`,clipboardBar:`M6 2c0-1 1-1 1-1h6c1 0 1 1 1 1s0 1-1 1H7S6 3 6 2m0 0H3C2 2 1 3 1 4v13c0 1 1 2 2 2h14c1 0 2-1 2-2V4c0-1-1-2-2-2h-3M5 15v-4h5v4zm5-4V7h5v8h-5`,clipboardVariable:`M6 2c0-1 1-1 1-1h6c1 0 1 1 1 1s0 1-1 1H7S6 3 6 2m0 0H3C2 2 1 3 1 4v13c0 1 1 2 2 2h14c1 0 2-1 2-2V4c0-1-1-2-2-2h-3M5 8l4 5m0-5-4 5m6-5 2.1 2.3M15 8l-4 5`,triangle:`M10 3 1 17h18z`,square:`M2 2v16h16V2z`,diamond:`m10 1-9 9 9 9 9-9z`,pentagon:`M10 1 1 9l4 10h11l3-10Z`,hexagon:`M10 1 2 6v8l8 5 8-5V6Z`,circle:`M10 1a1 1 0 0 0 0 18 1 1 0 0 0 0-18`,sigma:`m16 5 2-3H2l7 8-7 8h16l-2-3`,mu:`M15 2c0 10-2 10-5 10-5 0-5 0-5-10m0 0v16m8.5-7.2C14 12 15 12 15 12`,lambda:`M2 5c0-3 2-3 2-3 6 0 6 16 14 16m-8-8-8 8`,copy:`M18 16c0 1-1 2-2 2H8c-1 0-2-1-2-2V8c0-1 1-2 2-2h8c1 0 2 1 2 2zM6 14H4c-1 0-2-1-2-2V4c0-1 1-2 2-2h8c1 0 2 1 2 2v2`,cursor:`M6 10a1 1 0 0 0 8 0 1 1 0 0 0-8 0m-5 0h5m8 0h5m-9-9v5m0 8v5m0-11v4m-2-2h4`,copyLeft:`M10 2a1 1 0 0 0 0 16 1 1 0 0 0 0-16m0 12a1 1 0 0 0 0-8S8 6 7 8m3 6s-2 0-3-2`,stack:`M10 3 2 6l8 3 8-3zM7 8l-5 2 8 3 8-3-5-2m-6 4-5 2 8 3 8-3-5-2`,unstack:`M10 3 2 6l8 3 8-3zM7 8l-5 2 8 3 8-3-5-2m-6 4-5 2 8 3 8-3-5-2M2 2l16 16m0-16L2 18`,window:`M2 4v12c0 1 1 2 2 2h12c1 0 2-1 2-2V4c0-1-1-2-2-2H4C3 2 2 3 2 4m2 1v3c0 1 1 1 1 1h3c1 0 1-1 1-1V5c0-1-1-1-1-1H5C4 4 4 5 4 5m12 0v3c0 1-1 1-1 1h-3s-1 0-1-1V5c0-1 1-1 1-1h3s1 0 1 1M5 11s-1 0-1 1v3c0 1 1 1 1 1h3s1 0 1-1v-3c0-1-1-1-1-1zm7 0c-1 0-1 1-1 1v3s0 1 1 1h3s1 0 1-1v-3c0-1-1-1-1-1zM6 6`,chartParallelCoordinatePlot:`M2 2v16m8-16v16m8-16v16M2 4l8-1h8M2 10l8-4 8 2M2 16h8l8-4`,restart:`M3 10a1 1 0 0 0 14 0c0-4-3-7-7-7V2L7 4m-2 6a1 1 0 0 0 10 0c0-3-2-5-5-5v1L7 4m-4 6h2`,lap:`M3 10a1 1 0 0 0 14 0 1 1 0 0 0-14 0m5-8h4M5 3l1 1m9-1-1 1m-4 3v3l3 3`,carouselTable:`M16 2v16M14 4l2-2 2 2m-4 12 2 2 2-2M3 2h8c1 0 1 1 1 1v14c0 1-1 1-1 1H3c-1 0-1-1-1-1V3s0-1 1-1M2 6h10M2 9h10M2 12h10M2 15h10M7 2v16M4 4h1m4 0h1`,trash:`M7 18h6c2 0 2 0 3-12H4c1 12 1 12 3 12M3 4h14M8 2h4m-2 6v7M7 8l.518 7.01M13 8l-.546 6.984`,chartFunnel:`M9 18c1 1 2 0 2 0l1-8 6-4V3C18 1 2 1 2 3v3l6 4zM2 3C1 6 18 6 18 3`,chartTableSparkline:`M1 2v2m0 5v2s0 1 1 1h4s1 0 1-1V9c0-1-1-1-1-1H2C1 8 1 9 1 9m0 7v2s0 1 1 1h4c1 0 1-1 1-1v-2c0-1-1-1-1-1H2c-1 0-1 1-1 1M9 3c2-2 3-2 5 0s3 2 5 0M9 10c2 2 3 2 5 0s3-2 5 0M9 17c2-2 3-2 5 0s3 2 5 0M1 4s0 1 1 1h4s1 0 1-1V2c0-1-1-1-1-1H2S1 1 1 2`,chartCirclePack:`M10 7a1 1 0 0 0 0 6 1 1 0 0 0 0-6M5 5a1 1 0 0 0 2.716 3.039A1 1 0 0 0 5 5m8-1a1 1 0 0 0-1.646 3.322A1 1 0 0 0 13 4m-4.494 8.628a1 1 0 0 0-3.456 4.127 1 1 0 0 0 3.456-4.127m6.459-5.64a1 1 0 0 0-1.43 2.77 1 1 0 0 0 1.43-2.77M16 11a1 1 0 0 0-2.916 3.742A1 1 0 0 0 16 11`,home:`m2 10 8-8 8 8M4 10v7c0 1 0 1 1 1h3v-6h4v6h3c1 0 1 0 1-1v-7m-8 8`,icons:`m1 9 4-7 4 7zm11 0V2h7v7zm-7 3c-5 0-5 7 0 7s5-7 0-7m7 0 7 7m0-7-7 7`,robot:`M2 2h16v16H2zm4 3a1 1 0 0 0 0 3 1 1 0 0 0 0-3m8 0a1 1 0 0 0 0 3 1 1 0 0 0 0-3M1 4v5m18-5v5M5 11c1 5 9 5 10 0M7 1h6`,computer:`M3 2S2 2 2 3v10s0 1 1 1h14c1 0 1-1 1-1V3c0-1-1-1-1-1zm6 12v2m2-2v2m-3 1c.333-.333.667-.667 1-2q1 1.5 2 0c.333 1.333.667 1.667 1 2H7c-1 0-2 1-2 2h10c0-1-1-2-2-2h-1M6 5 4 8l2 3m8-6 2 3-2 3m-2-7-4 8`,htmlTag:`m6 5-5 5 5 5m8-10 5 5-5 5m-7 3 6-16`,curlyBrackets:`M5 2Q2 2 2 5l.35 2.988C2 9 1 9 1 10s1 1 1.396 1.949L2 15q0 3 3 3M15 2q3 0 3 3l-.389 3.035C18 9 19 9 19 10s-1 1-1.389 2.008L18 15q0 3-3 3`,curlySpread:`M5 2Q2 2 2 5l.35 2.988C2 9 1 9 1 10s1 1 1.396 1.949L2 15q0 3 3 3M15 2q3 0 3 3l-.389 3.035C18 9 19 9 19 10s-1 1-1.389 2.008L18 15q0 3-3 3m-5-9a1 1 0 0 0 0 2 1 1 0 0 0 0-2M6 9a1 1 0 0 0 0 2 1 1 0 0 0 0-2m8 0a1 1 0 0 0 0 2 1 1 0 0 0 0-2`,world:`M10 1a1 1 0 0 0 0 18 1 1 0 0 0 0-18c-7 3-7 15 0 18m0-18c7 3 7 15 0 18m0-18v18m-9-9h18M1 10`,eye:`M1 10q9-9 18 0-9 9-18 0m9-3a1 1 0 0 0 0 6 1 1 0 0 0 0-6m0 2a1 1 0 0 0 0 2 1 1 0 0 0 0-2`,chartRidgeline:`m1 15 3 1 3-2 3 4 4-8 3 6 2-1M1 12l5-1 4 1 4-6m0 0 3 5 2 1M1 9l5-1h3l5-7 3 5h2`,chartChord:`M9 1Q2 2 1 9m0 2q1 7 8 8m2 0q7-1 8-8m0-2q-1-7-8-8M5.683 2.021C9 6 13 4 14.893 2.322M2.421 4.987c12.048 2.15 13.124 7.229 14.94 10.343M4.83 17.48c4.19-3.707 6.377-3.262 10.603-.111M1.976 14.033c9.231-1.298 13.976-4.968 15.237-9.64`,tableDialogOpen:`M1 4V1m9 4v10m-5-3.364 10 .019M5 8.396l10 .016M4 4 1 1h3m0 15-3 3m0-3v3h3m12-3 3 3m-3 0h3v-3M16 4l3-3m-3 0h3v3M5 10V6s0-1 1-1h8c1 0 1 1 1 1v8c0 1-1 1-1 1H6s-1 0-1-1z`,tableDialogClose:`M4 4 1 1m3 0v3H1m15 0 3-3m-3 0v3h3m-3 12 3 3m0-3h-3v3M4 16l-3 3m0-3h3v3m6-14v10m-5-3.364 10 .019M5 8.396l10 .016M5 10V6s0-1 1-1h8c1 0 1 1 1 1v8c0 1-1 1-1 1H6s-1 0-1-1z`,minimap:`M1 3c0-2 3-2 3 0v14c0 2-3 2-3 0zm3 0h12M4 17h12V3c0-2 3-2 3 0v14c0 2-3 2-3 0M6 11l2 3 1-6 3 3 2-6`,move:`M10 2v6m0 4v6m-2-8H2m10 0h6M7 4l3-2 3 2M4 7l-2 3 2 3m3 3 3 2 3-2m3-3 2-3-2-3`,resize:`M2 12v5s0 1 1 1h5s1 0 1-2v-4c0-1-1-1-1-1H3s-1 0-1 1M6 2h3m2 0h3m2 0h1c1 0 1 1 1 1v1M4 2H3S2 2 2 3v1m0 2v3m16-3v3m0 7v1c0 1-1 1-1 1h-1m-2 0h-3m7-7v3`,selectAndGroup:`M2 1h1c1 0 1 1 1 1v1s0 1-1 1H2S1 4 1 3V2c0-1 1-1 1-1m15 0h1c1 0 1 1 1 1v1c0 1-1 1-1 1h-1s-1 0-1-1V2c0-1 1-1 1-1M2 19h1c1 0 1-1 1-1v-1s0-1-1-1H2s-1 0-1 1v1c0 1 1 1 1 1m15 0h1s1 0 1-1v-1s0-1-1-1h-1s-1 0-1 1v1c0 1 1 1 1 1M4 2.497l12-.002M2.498 4l-.012 12M17.508 4l.019 12M4 17.49l12 .009M6 6v6h6V6zm2 6v2h6V8h-2`,printer:`M6 13v4c0 1 1 1 1 1h6s1 0 1-1v-4s0-1-1-1H7c-1 0-1 1-1 1m-1 2H3s-1 0-1-1V9c0-1 1-1 1-1h14c1 0 1 1 1 1v5c0 1-1 1-1 1h-2M6 7V4c0-1 1-1 1-1h6c1 0 1 1 1 1v3`,save:`M3 2h11l4 4v11c0 1-1 1-1 1H3s-1 0-1-1V3s0-1 1-1m2 0v2c0 1 1 1 1 1h6s1 0 1-1V2m-3 7a1 1 0 0 0 0 4 1 1 0 0 0 0-4`,svg:`M4 1Q1 1 1 4v12q0 3 3 3h12q3 0 3-3V6c-4 0-5-1-5-5Zm4.458 8.052L10 16l1.519-6.97M16 11c0-3-3.005-2.19-3 0v3c0 3 2.99 2.299 3 0v-1h-1m-8.018-2.714C6.564 8.238 3.921 8.788 4 11c.757 2.259 2.806.607 3 3 0 3-3.146 2.299-3 0`,zoomUnlock:`M10 1a1 1 0 0 0 0 18 1 1 0 0 0 0-18m6.36 15.368L19 19M6 10v4c0 1 1 1 1 1h6s1 0 1-1v-4s0-1-1-1H7c-1 0-1 1-1 1m7-1a1 1 0 0 0-4-4m1 6v2`,zoomLock:`M10 1a1 1 0 0 0 0 18 1 1 0 0 0 0-18m6.36 15.368L19 19M6 10v4c0 1 1 1 1 1h6s1 0 1-1v-4s0-1-1-1H7c-1 0-1 1-1 1m4 1v2m3-4c1-6-7-6-6 0`,lock:`M16 8C16-1 4-1 4 8M3 8h14c1 0 1 1 1 1v9c0 1-1 1-1 1H3s-1 0-1-1V9s0-1 1-1m7 3a1 1 0 0 0 0 2 1 1 0 0 0 0-2m0 2v3`,unlock:`M16 8c2-7-6-8-8-6M3 8h14c1 0 1 1 1 1v9c0 1-1 1-1 1H3s-1 0-1-1V9s0-1 1-1m7 3a1 1 0 0 0 0 2 1 1 0 0 0 0-2m0 2v3`,triangleInformation:`M4 18h12c1 0 4 0 3-3L12 3c-1-2-3-2-4 0L1 15c-1 3 2 3 3 3m6-3v-5m0-4a1 1 0 0 0 0 2 1 1 0 0 0 0-2`,triangleExclamation:`M4 18h12c1 0 4 0 3-3L12 3c-1-2-3-2-4 0L1 15c-1 3 2 3 3 3m6-7V5m0 8a1 1 0 0 0 0 2 1 1 0 0 0 0-2`,direction:`M18 8C17-1 3-1 2 9m0 3c1 9 15 9 16-1M1 6l1 3 3-2m10 6 3-2 1 3`,chartDag:`M8 2h4c1 0 1 1 1 1v1s0 1-1 1H8S7 5 7 4V3s0-1 1-1m-6 8v1s0 1 1 1h4s1 0 1-1v-1s0-1-1-1H3c-1 0-1 1-1 1m10 0v1s0 1 1 1h4s1 0 1-1v-1s0-1-1-1h-4c-1 0-1 1-1 1m-9 6h4c1 0 1 1 1 1v1s0 1-1 1H3c-1 0-1-1-1-1v-1s0-1 1-1m9 1v1s0 1 1 1h4c1 0 1-1 1-1v-1c0-1-1-1-1-1h-4c-1 0-1 1-1 1M10 5c0 3-5 1-5 4m5-4c0 3 5 1 5 4M5 12v4m10-4v4`,chartGeo:`M10 14c3-5 4-5 4-8a1 1 0 0 0-8 0c0 3 2 4 4 8m0-10a1 1 0 0 0 0 4 1 1 0 0 0 0-4m-3 8H4l-3 7h18l-3-7h-3`,revert:`M10 19a1 1 0 0 0 0-16m-8 7c0 5 4 9 8 9m3-18-3 2 2 3`,lineUp:`M1 1v18h18M3 17l3-4 3 2 3-5 3 3 3-10m-2.191 1.399L18 3l.992 2.387`,histogram:`M1 1v18h18M4 19v-7h3v7m2 0V8h3v11m2 0V4h3v15`,histogramUp:`M1 1v18h18M4 19v-5h3v5m2 0v-8h3v8m2 0V8h3v11M4 9l11-7m-2.778-.374L15 2l-.731 2.63`,histogramDown:`M1 1v18h18M4 19V9h3v10m2 0v-6h3v6m2 0v-4h3v4M5 2l11 8m-2.85.336 2.798-.334-.504-2.729`,document:`M1 1v18h18m0 0V1H1m6 3H4m0 3h3m-3 3h3m-3 3h12M4 16h12M10 4v6h6V4z`,database:`M2 16c0 4 16 4 16 0m0 0V4C18 0 2 0 2 4v12M2 4c0 4 16 4 16 0M2 8c0 4 16 4 16 0M2 12c0 4 16 4 16 0`,percentage:`M2 18 18 2M5 2a1 1 0 0 0-1 5 1 1 0 0 0 1-5m11 16a1 1 0 0 0-1-5 1 1 0 0 0 1 5`,percentageUp:`M2 18 18 2M5 2a1 1 0 0 0-1 5 1 1 0 0 0 1-5m11 16a1 1 0 0 0-1-5 1 1 0 0 0 1 5M14 2h4v4`,percentageDown:`M2 18 18 2M5 2a1 1 0 0 0-1 5 1 1 0 0 0 1-5m11 16a1 1 0 0 0-1-5 1 1 0 0 0 1 5M2 14v4h4`,aToZ:`m3 8 4-7 4 7M4.716 5h4.569M3 12h8l-8 7h8m6-17v16m-2-2 2 2 2-2`,zToA:`m3 19 4-7 4 7m-6.285-2.999L9.284 16M3 1h8L3 8h8m6-6v16m-2-2 2 2 2-2`,zeroToNine:`M7 1C1.653.987 1.663 7.995 7 8c5.337-.005 5.326-7.002 0-7m10 1v16m-2-2 2 2 2-2m-8-2c0-3-8-3-8 0s8 2 8 0m0 0c0 5-3 5-8 5`,nineToZero:`M7 12c-5.338-.002-5.328 6.991 0 7 5.329-.004 5.335-7.005 0-7M17 2v16m-2-2 2 2 2-2M11 4c0-3-8-3-8 0m0 0c0 3 8 2 8 0m0 0c0 5-3 5-8 5`,chip:`M5 3h10c1 0 2 1 2 2v10c0 1-1 2-2 2H5c-1 0-2-1-2-2V5c0-1 1-2 2-2m5-2v2M7 1v2m6-2v2M1 10h2M1 7h2m-2 6h2m7 4v2m-3-2v2m6-2v2m4-9h2m-2-3h2m-2 6h2M8 7h4s1 0 1 1v4s0 1-1 1H8c-1 0-1-1-1-1V8c0-1 1-1 1-1`,wifi:`M10 6a1 1 0 0 0 0 2 1 1 0 0 0 0-2M7 4c-2 1-2 5 0 6m6-6c2 1 2 5 0 6M4 3c-2 2-2 6 0 8m12-8c2 2 2 6 0 8m-6 0v5m-8 1h4m0 0c0-1 1-1 1-1h6s1 0 1 1-1 1-1 1H7s-1 0-1-1m8 0h4`,key:`M7 10a1 1 0 0 0-6 0 1 1 0 0 0 6 0h12m-2 0v3l-2-2-2 2v-3`,shield:`M10 1C7 4 4 4 1 4c1 6 3 11 9 15 6-4 8-9 9-15-3 0-6 0-9-3`,shieldExclam:`M10 1C7 4 4 4 1 4c1 6 3 11 9 15 6-4 8-9 9-15-3 0-6 0-9-3m0 4v5m0 3a1 1 0 0 0 0 2 1 1 0 0 0 0-2`,cloud:`M4 15h12a1 1 0 0 0 1-5 1 1 0 0 0-5-3 1 1 0 0 0-5 2 1 1 0 0 0-3 6`,cloudRain:`M4 15h12a1 1 0 0 0 1-5 1 1 0 0 0-5-3 1 1 0 0 0-5 2 1 1 0 0 0-3 6m2 2-2 2m7-2-2 2m7-2-2 2`,sun:`M10 7a1 1 0 0 0 0 6 1 1 0 0 0 0-6M5 6 4 5m11 1 1-1M5 15l-1 1m11-1 1 1M10 4l.005-1.318M4 10l-1.338.001M10 16l.002 1.333M16 10l1.346.002`,croissant:`M6 3c11 0 11 14 0 14M6 3c5 4 5 10 0 14`,plus:`M10 3v14m-7-7h14`,minus:`M3 10h14`,person:`M10 1c-2 0-2 4 0 4s2-4 0-4m0 5c-4 0-1 4 0 4m0-4c4 0 1 4 0 4m-2 0 1 9m3-9-1 9m-3 0h4M8 5c-2 1-3 5-3 7m7-7c2 1 3 5 3 7`,download:`M10 2v12m-4-4 4 4 4-4M2 13v3c0 2 2 2 2 2h12s2 0 2-2v-3`,upload:`M10 6v12m-4-8 4-4 4 4M2 7V4c0-2 2-2 2-2h12s2 0 2 2v3`,target:`M10 9a1 1 0 0 0 0 2 1 1 0 0 0 0-2m0-3a1 1 0 0 0 0 8 1 1 0 0 0 0-8m0-4a1 1 0 0 0 0 16 1 1 0 0 0 0-16`,gisLayerSearch:`M10 1 2 3m8 7a1 1 0 0 0 0 8 1 1 0 0 0 0-8M2 3l8 2 8-2-8-2M2 6l8 2 8-2M2 9l4 1m7.068 6.565L16 19m2-10-4 1M2 9l6-1.499M18 9l-6-1.5M18 6l-6-1.5M2 6l6-1.5`,sqlSearch:`M6.008 3.011C5.99 1.737 2.024 1.646 2 3c.024 1.703 4.008 1.12 3.99 3.013 0 1.437-3.966 1.273-3.984-.182M10 10a1 1 0 0 0 0 8 1 1 0 0 0 0-8m3.068 6.565L16 19M10 2c-3 0-3 5 0 5m0 0c3 0 3-5 0-5m5 0v5h3m-6.538-.537L13 8`,scada:`M7 15h6c1 0 1 1 1 1v2s0 1-1 1H7c-1 0-1-1-1-1v-2s0-1 1-1m-6 2h5m8 0h5m-9-2V4M5.876 5.49l8.227 4.067m-8.207-.005 8.232-4.06M10 2a1 1 0 0 0 0 2 1 1 0 0 0 0-2M6 5a1 1 0 0 0-2 0 1 1 0 0 0 2 0m0 5a1 1 0 0 0-2 0 1 1 0 0 0 2 0m8-5a1 1 0 0 0 2 0 1 1 0 0 0-2 0m0 5a1 1 0 0 0 2 0 1 1 0 0 0-2 0`,apiStream:`M5 2Q2 2 2 5l.35 2.988C2 9 1 9 1 10s1 1 1.396 1.949L2 15q0 3 3 3M15 2q3 0 3 3l-.389 3.035C18 9 19 9 19 10s-1 1-1.389 2.008L18 15q0 3-3 3M6 6h8m-2-2 2 2-2 2m2 6H6m2-2-2 2 2 2`,wrench:`m2.036 4.452 3.073 2.99c1.786.042 2.451-.498 2.741-2.243L4.736 1.835c4.734-.415 7.475 1.62 5.773 6.105M2.036 4.452c-1.038 3.945 1.578 7.6 6.014 5.654m0 0 7.684 8.152c1.039-.014 2.272-1.262 2.26-2.159L10.509 7.94`,branches:`M4 10a1 1 0 0 0-3 0 1 1 0 0 0 3 0m6 0a1 1 0 0 0-3 0 1 1 0 0 0 3 0m0-7a1 1 0 0 0-3 0 1 1 0 0 0 3 0M2.492 8.5l.013-3.499C2.521 4.002 3.536 3.004 4.517 3H7m3 0h6m3 0a1 1 0 0 0-3 0 1 1 0 0 0 3 0M4 10h3m12 7a1 1 0 0 0-3 0 1 1 0 0 0 3 0M8.5 11.5l.011 3.5c-.005 1 .983 1.999 2.015 1.999L16 17m3-7a1 1 0 0 0-3 0 1 1 0 0 0 3 0m-9 0h6`,fork:`M4 2a1 1 0 0 0 0 4 1 1 0 0 0 0-4m12 0a1 1 0 0 0 0 4 1 1 0 0 0 0-4m-6 13a1 1 0 0 0 0 4 1 1 0 0 0 0-4M4 6v2c0 2 2 2 2 2h8s2 0 2-2V6m-6 4v5`,resizeX:`m5 6-4 4 4 4m10-8 4 4-4 4`,resizeY:`m14 5-4-4-4 4m8 10-4 4-4-4`,resizeTLBR:`M9 3H3v6m14 2v6h-6`,resizeTRBL:`M17 9V3h-6M9 17H3v-6`,focus:`M1 6V4q0-3 3-3h2m8 0h2q3 0 3 3v2m0 8v2q0 3-3 3h-2m-8 0H4q-3 0-3-3v-2m11-4a1 1 0 0 0-4 0 1 1 0 0 0 4 0`,sql:`M10 7c-3 0-3 6 0 6s3-6 0-6m0 6 2 2M5.988 8.502C5.988 6.993 2 6 2 9c.322 1.725 3.706.249 4 2-.012 3.076-3.993 2.014-3.993.504M14 7v6h4`,monitor:`M3 2S2 2 2 3v10s0 1 1 1h14c1 0 1-1 1-1V3c0-1-1-1-1-1zM2 12h16m-9 2v2m2-2v2m-3 1c.333-.333.667-.667 1-2q1 1.5 2 0c.333 1.333.667 1.667 1 2H7c-1 0-2 1-2 2h10c0-1-1-2-2-2h-1`,workstation:`M2 2S1 2 1 3v10s0 1 1 1h9M1 12h10m-3 2v2m2-2v2m-3 1c1 0 1-1 1-2 1 1 1 1 2 0 0 2 1 2 1 2m0 0H6c-1 0-2 1-2 2h7m0-17H2m12 0h4s1 0 1 1v15c0 1-1 1-1 1h-4c-1 0-1-1-1-1V3s0-1 1-1m2 3a1 1 0 0 0 0 2 1 1 0 0 0 0-2`,laptop:`M2 17c0 1 1 1 1 1h14s1 0 1-1l-2-4H4zm2-5V4s0-1 1-1h10c1 0 1 1 1 1v8zm3 4h6`,folder:`M3 2h3M3 2C2 2 2 3 2 3v14s0 1 1 1m0 0h14s1 0 1-1V6s0-2-2-2H8L6 2m12 7c0-2-2-2-2-2H4C2 7 2 9 2 9m6 0h4`,folderFill:`M3 2h3M3 2C2 2 2 3 2 3v14s0 1 1 1m0 0h14s1 0 1-1V6s0-2-2-2H8L6 2m12 10c0-2-2-2-2-2H4c-2 0-2 2-2 2m6 0h4m-7-2V7h10v3`,clip:`M6 1v14a1 1 0 0 0 8 0V4a1 1 0 0 0-5 0v11a1 1 0 0 0 2.5 0V7`,addColumn:`M3 2C2 2 2 3 2 3v14s0 1 1 1h2s1 0 1-1V3c0-1-1-1-1-1zm6 0C8 2 8 3 8 3v14s0 1 1 1h2c1 0 1-1 1-1V3s0-1-1-1zm7 6v4m-2-2h4`,addRow:`M3 2S2 2 2 3v2s0 1 1 1h14s1 0 1-1V3c0-1-1-1-1-1zm0 6C2 8 2 9 2 9v2s0 1 1 1h14c1 0 1-1 1-1V9c0-1-1-1-1-1zm7 6v4m-2-2h4`,bell:`M12 3a1 1 0 0 0-4 0c-4 1-3 6-4 9l-1 2c0 1 0 2 1 2h12c1 0 1-1 1-2l-1-2c-1-3 0-8-4-9M8 17a1 1 0 0 0 4 0`,bellOff:`M12 3a1 1 0 0 0-4 0c-4 1-3 6-4 9l-1 2c0 1 0 2 1 2h12c1 0 1-1 1-2l-1-2c-1-3 0-8-4-9M8 17a1 1 0 0 0 4 0M2 2l17 15`,bellRing:`M12 3a1 1 0 0 0-4 0c-4 1-3 6-4 9l-1 2c0 1 0 2 1 2h12c1 0 1-1 1-2l-1-2c-1-3 0-8-4-9M8 17a1 1 0 0 0 4 0M5 2C3 3 2 5 2 7m13-5c2 1 3 3 3 5`,pin:`m2 18 4-4m-3-4 7 7m0 0 1-1c1-2 1-4 1-4l4-5c1 0 1 0 2-1l-4-4c-1 1-1 1-1 2L8 8S6 8 4 9l-1 1`,unpin:`m2 18 4-4m-3-4 7 7m0 0 1-1c1-2 1-4 1-4l4-5c1 0 1 0 2-1l-4-4c-1 1-1 1-1 2L8 8S6 8 4 9l-1 1M2 2l16 16`,building:`M1 18h18M3 18V2h7v16M5 4v1m3-1v1M5 8v1m3-1v1m-3 3v1m3-1v1m2-3h7v8m-5 0v-3c0-1 3-1 3 0v3m-2-6h1`,twig:`M5 15a1 1 0 0 0 0 4 1 1 0 0 0 0-4M5 1a1 1 0 0 0 0 4 1 1 0 0 0 0-4m10 4a1 1 0 0 0 0 4 1 1 0 0 0 0-4M5 15V5m2 12h4c2 0 4-2 4-4V9`,check:`M18 2 8 18l-6-6`,doubleCheck:`M17 2 7 18l-5-6m5-1 1 1m3 3 2 2 6-11`,plug:`M14 5v10c0 1-2 1-2 0V5c0-1 2-1 2 0m-2 0c-9 0-9 10 0 10m-7-5c-5 0 1 9-4 9M15 7h4m-4 6h4`,unplug:`M14 5v10c0 1-2 1-2 0V5c0-1 2-1 2 0m-2 0c-9 0-9 10 0 10m-7-5c-5 0 1 9-4 9M15 7h4m-4 6h4M2 1l4 5m10 13-2-2.595M7.609 8.008l3.028 3.981`,spinner1:`M10 1a1 1 0 0 0 0 18m0-2a1 1 0 0 0 0-14m0 2a1 1 0 0 0 0 10m0-2a1 1 0 0 0 0-6m0 2a1 1 0 0 0 0 2`,spinner2:`M10 1a1 1 0 0 0 0 18M-3 0`,spinner3:`M10 1v3m-9 6h3m6 9v-3m9-6h-3`,spinner4:`M10 1v1m-9 8h1m8 9v-1m9-8h-1`,frameLine:`M1 1h18v18H1zm3 12 3 3 3-8 3 6 3-10`,pointer:`m2 2 5.015 15.998 2.596-6.384L16 18l2-2-6.514-6.405 6.816-2.164z`,monument:`M2 6h16c1 0 1 2 0 2H2C1 8 1 6 2 6m2 0 6-5 6 5M2 17h16M3 8v9m2-9v9m12-9v9m-2-9v9M9 8v9m2-9v9M1 19h18`,chartBump:`M2 1a1 1 0 0 0 0 2 1 1 0 0 0 0-2m8 0a1 1 0 0 0 0 2 1 1 0 0 0 0-2m8 0a1 1 0 0 0 0 2 1 1 0 0 0 0-2M2 9a1 1 0 0 0 0 2 1 1 0 0 0 0-2m0 8a1 1 0 0 0 0 2 1 1 0 0 0 0-2m8-8a1 1 0 0 0 0 2 1 1 0 0 0 0-2m8 0a1 1 0 0 0 0 2 1 1 0 0 0 0-2m-8 8a1 1 0 0 0 0 2 1 1 0 0 0 0-2m8 0a1 1 0 0 0 0 2 1 1 0 0 0 0-2M3 2c3 0 3 8 6 8m-6 0c3 0 3-8 6-8m2 0h6M3 18h6m2 0c3 0 3-8 6-8m-6 0c3 0 3 8 6 8`,folderOpen:`M1 3c0-1 1-1 1-1h3s1 0 1 1v1c0 1 1 1 1 1h8c1 0 1 1 1 1M1 3v14c0 1 1 1 1 1l4-8h13l-4 8H2M16 6v4`,folderOpenFill:`M1 3c0-1 1-1 1-1h3s1 0 1 1v1c0 1 1 1 1 1h8c1 0 1 1 1 1M1 3v14c0 1 1 1 1 1l4-7h13l-4 7H2M16 6v5M4 14.5V8h9v3`,tag:`M2 5v5l8 8s2 2 4 0l4-4c2-2 0-4 0-4l-8-8H5Q2 2 2 5m3.506.48a1 1 0 0 0 1.998 2.016A1 1 0 0 0 5.506 5.48`,lightBulbOff:`M10 1a1 1 0 0 0 0 14 1 1 0 0 0 0-14M6.482 14.053 7 18h6l.501-3.925M12 19H8m2-4V9m0-2a1 1 0 0 0 0 2 1 1 0 0 0 0-2`,lightBulbOn:`M10 1a1 1 0 0 0 0 14 1 1 0 0 0 0-14M6.482 14.053 7 18h6l.501-3.925M12 19H8m2-4V9m0-2a1 1 0 0 0 0 2 1 1 0 0 0 0-2M1 1l1 1m17-1-1 1M1 15l1-1m17 1-1-1`,knobs:`M2 10h4m0-2v4m3-2h9m-7-8v4m0-2h7M2 4h6m6 14v-4m0 2h4m-7 0H2`,hierarchy:`M8 1h4s1 0 1 1v3s0 1-1 1H8C7 6 7 5 7 5V2s0-1 1-1M2 19h4s1 0 1-1v-3c0-1-1-1-1-1H2c-1 0-1 1-1 1v3c0 1 1 1 1 1m12 0h4s1 0 1-1v-3s0-1-1-1h-4s-1 0-1 1v3c0 1 1 1 1 1m-9-9h10m-5-4v4m-5 0c-1 0-1 1-1 1v3m11-4c1 0 1 1 1 1v3`,hierarchyList:`M2 1C1 1 1 2 1 2v2s0 1 1 1h4s1 0 1-1V2s0-1-1-1zm16 18s1 0 1-1v-2c0-1-1-1-1-1h-4c-1 0-1 1-1 1v2s0 1 1 1zm-4-7h4s1 0 1-1V9c0-1-1-1-1-1h-4c-1 0-1 1-1 1v2s0 1 1 1M4 5v11c0 1 1 1 1 1h8m0-7H5s-1 0-1-1`,bucketFill:`M2 2h16c1 0 1 3 0 3H2C1 5 1 2 2 2m1 3v11c0 1 1 2 2 2h1M17 5v11c0 1-1 2-2 2h-1m-4 0V9m-3 3 3-3 3 3`,bucketEmpty:`M2 2h16c1 0 1 3 0 3H2C1 5 1 2 2 2m1 3v11c0 1 1 2 2 2h1M17 5v11c0 1-1 2-2 2h-1m-4 0V9m-3 6 3 3 3-3`,bucket:`M2 2h16c1 0 1 3 0 3H2C1 5 1 2 2 2m1 3v11c0 1 1 2 2 2h9m3-13v11c0 1-1 2-2 2h-1`,bucketRecycle:`M2 2h16c1 0 1 3 0 3H2C1 5 1 2 2 2m1 3v11c0 1 1 2 2 2h9m3-13v11c0 1-1 2-2 2h-1M8.786 9.996 10 8l1.225 2.008m1.489 2.473 1.26 2.096-2.462-.011m-2.978.011H5.98l1.317-2.141`,envelope:`M3 5h14c1 0 1 1 1 1v8s0 1-1 1H3c-1 0-1-1-1-1V6s0-1 1-1m0 1 7 5 7-5M3 14l5-4m4 0 5 4`,sliders:`M2 4h2m-2 6h10M2 16h2M6 2a1 1 0 0 0 0 4 1 1 0 0 0 0-4m2 2h10m-4 4a1 1 0 0 0 0 4 1 1 0 0 0 0-4m2 2h2M6 14a1 1 0 0 0 0 4 1 1 0 0 0 0-4m2 2h10`,checkList:`M9 5h9m-9 6h9m-9 6h9M6 2 4 6 2 4m0 6 2 2 2-4m-4 8 2 2 2-4`,bug:`M8 2a1 1 0 0 0 4 0m1 5a1 1 0 0 0-6 0m0 0c0 1 1 1 1 1h4c1 0 1-1 1-1M7 6C6 6 5 7 5 8v5c0 2 1 4 4 4h2c3 0 4-2 4-4V8c0-1-1-2-2-2m-3 2v9m-5-6H2m13 0h3M5 14c-1 0-3 1-3 4m13-4c1 0 3 1 3 4M5 8C4 8 2 7 2 5m13 3c1 0 3-1 3-3`,microscope:`M9 3s0-1-1-1H7S6 2 6 3C5 3 5 4 5 4v3c0 1 1 1 1 1h3s1 0 1-1V4s0-1-1-1m-3 7h3m-4 6h5m-8 2h16m-8 0c9 0 9-13 0-13m-3 6h1`,export:`M10 2v10M7 5l3-3 3 3M5 8H4C3 8 3 9 3 9v8s0 1 1 1h12s1 0 1-1V9s0-1-1-1h-1`,file:`M4 2v16h12V7l-5-5zm7 0v5h5`,filePlus:`M4 2v16h12V7l-5-5zm7 0v5h5m-6 3v4m-2-2h4`,fileSearch:`M4 2v16h3m8-5a1 1 0 0 0-5 3 1 1 0 0 0 5-3m0 3 3 2m-2-9V7l-5-5H4m7 0v5h5`,recycle:`M7.5 5.5c2-3 4-3 7 2m2 3c1 2 1 5-5 5m-4 0c-4 0-5-2-2-7m6-1h3v-3m-1.363 8.393L11.5 15.5l2 2m-11-8 3-1 1 3`,link:`m7 13 6-6M6 9c-5 5 0 10 5 5M9 6c5-5 10 0 5 5`,puzzle:`M16.579 9.304h-1.177V6.167c0-.871-.706-1.569-1.569-1.569h-3.137V3.421a1.96 1.96 0 0 0-1.96-1.96 1.96 1.96 0 0 0-1.962 1.96v1.177H3.638a1.57 1.57 0 0 0-1.569 1.569v2.98h1.177c1.175 0 2.116.941 2.116 2.117a2.11 2.11 0 0 1-2.116 2.118H2.069v2.98a1.57 1.57 0 0 0 1.569 1.569h2.98v-1.177c0-1.175.941-2.116 2.118-2.116 1.176 0 2.117.941 2.117 2.116v1.177h2.98a1.57 1.57 0 0 0 1.569-1.569v-3.136h1.177a1.96 1.96 0 0 0 1.96-1.962 1.96 1.96 0 0 0-1.96-1.96`,externalLink:`m19 1-9 9m5-9h4v4m-9-2H5C4 3 3 4 3 5v10c0 1 1 2 2 2h10c1 0 2-1 2-2v-5`,plotLine:`M4 14a1 1 0 0 0 0 4 1 1 0 0 0 0-4M16 2a1 1 0 0 0 0 4 1 1 0 0 0 0-4m-1.414 3.414L5.42 14.592`,plotArrow:`M4 14a1 1 0 0 0 0 4 1 1 0 0 0 0-4M17 3 5.42 14.592M13 3h4v4`,accessibility:`M10 1a1 1 0 0 0 0 4 1 1 0 0 0 0-4m0 6L4 4a1 1 0 0 0-1 2l5 3v2l-4 6a1 1 0 0 0 2 1l4-5 4 5a1 1 0 0 0 2-1l-4-6V9l5-3a1 1 0 0 0-1-2z`,clankerCrazy:`M2 2h16v17H2zm0 10 8 1 8-1m-8 1v6m-4-6.5V19m8-6.5V19M6 5a1 1 0 0 0 0 4 1 1 0 0 0 0-4m7 0a1 1 0 0 0 0 5 1 1 0 0 0 0-5M1 5v5m18-5v5M7 1h6`,clankerNasty:`M2 2h16v17H2zm0 11 8-2 8 2m-8-2v8m-4-7v7m8-7v7M1 5v5m18-5v5M4 5l4 2m4 0 4-2M7 1h6`},C={chartBar:`M2 12v6c0 1 0 1 1 1h2c1 0 1 0 1-1v-6c0-1 0-1-1-1H3c-1 0-1 0-1 1m6-5v11c0 1 0 1 1 1h2c1 0 1 0 1-1V7c0-1 0-1-1-1H9C8 6 8 6 8 7m6-5v16c0 1 0 1 1 1h2c1 0 1 0 1-1V2c0-1 0-1-1-1h-2c-1 0-1 0-1 1`,chartCandlestick:`M2 9v2c0 1 1 1 1 1h2c1 0 1-1 1-1V9c0-1-1-1-1-1H3C2 8 2 9 2 9m6-1v4s0 1 1 1h2c1 0 1-1 1-1V8c0-1-1-1-1-1H9C8 7 8 8 8 8m6 1v5c0 1 1 1 1 1h2c1 0 1-1 1-1V9s0-1-1-1h-2c-1 0-1 1-1 1M4 8V5M3 5h2m5 8v3m-1 0h2m5-8V2m-1 0h2m-7 5V4M9 4h2m-7 8v6m-1 0h2m11-3v3m-1 0h2`,chartChestnut:`M4 3a1 1 0 0 0 0 6 1 1 0 0 0 0-6m0 9a1 1 0 0 0 0 5 1 1 0 0 0 0-5m5-8h10M9 7h8m-8 3h6m-6 3h4m-4 3h2`,chartDonutEvolution:`M1 1v17c0 1 0 1 1 1h17M3 8a1 1 0 0 0 4 0 1 1 0 0 0-4 0m5 6a1 1 0 0 0 4 0 1 1 0 0 0-4 0m6-10a1 1 0 0 0 4 0 1 1 0 0 0-4 0m-7 6 2 2m2 0 4-6`,chartRelationCircle:`M1 10a1 1 0 0 0 18 0 1 1 0 0 0-18 0m0 0c6 1 8 3 9 9m0 0c0-8-2-12-4-17m4 17c0-8 2-12 4-17m-4 17c1-6 2-8 9-9`,chartRings:`M1 10a1 1 0 0 0 18 0 1 1 0 0 0-18 0m4 4a1 1 0 0 0 10 0 1 1 0 0 0-10 0m3 3a1 1 0 0 0 4 0 1 1 0 0 0-4 0`,chartSparkHistogram:`M2 9v2c0 1 1 1 1 1h2c1 0 1-1 1-1V9c0-1-1-1-1-1H3C2 8 2 9 2 9m6-1v4s0 1 1 1h2c1 0 1-1 1-1V8c0-1-1-1-1-1H9C8 7 8 8 8 8m6 1v2c0 1 1 1 1 1h2c1 0 1-1 1-1V9s0-1-1-1h-2c-1 0-1 1-1 1`,chartTable:`M2 3v14c0 1 0 1 1 1h14c1 0 1 0 1-1V3c0-1 0-1-1-1H3C2 2 2 2 2 3m8 3v12m-8-8h16M2 6h16M2 14h16M6 8h2m-2 4h2m-2 4h2m6-8h2m-2 4h2m-2 4h2`,chartVerticalBar:`M1 3v2c0 1 0 1 1 1h7c1 0 1 0 1-1V3c0-1 0-1-1-1H2C1 2 1 2 1 3m0 6v2c0 1 0 1 1 1h11c1 0 1 0 1-1V9c0-1 0-1-1-1H2C1 8 1 8 1 9m0 6v2c0 1 0 1 1 1h15c1 0 1 0 1-1v-2c0-1 0-1-1-1H2c-1 0-1 0-1 1`,chartWaffle:`M1 2v2c0 1 0 1 1 1h2c1 0 1 0 1-1V2c0-1 0-1-1-1H2C1 1 1 1 1 2m17-1h-2c-1 0-1 0-1 1v2c0 1 0 1 1 1h2c1 0 1 0 1-1V2c0-1 0-1-1-1M8 2v2c0 1 0 1 1 1h2c1 0 1 0 1-1V2c0-1 0-1-1-1H9C8 1 8 1 8 2M2 19h2c1 0 1 0 1-1v-2c0-1 0-1-1-1H2c-1 0-1 0-1 1v2c0 1 0 1 1 1M1 9v2c0 1 0 1 1 1h2c1 0 1 0 1-1V9c0-1 0-1-1-1H2C1 8 1 8 1 9m14 7v2c0 1 0 1 1 1h2c1 0 1 0 1-1v-2c0-1 0-1-1-1h-2c-1 0-1 0-1 1m-7 0v2c0 1 0 1 1 1h2c1 0 1 0 1-1v-2c0-1 0-1-1-1H9c-1 0-1 0-1 1m0-7v2c0 1 0 1 1 1h2c1 0 1 0 1-1V9c0-1 0-1-1-1H9C8 8 8 8 8 9m7 0v2c0 1 0 1 1 1h2c1 0 1 0 1-1V9c0-1 0-1-1-1h-2c-1 0-1 0-1 1`,labelClose:`M2 8c-1 1-1 3 0 4l3 4c1 1 1 1 2 1h10c2 0 2-2 2-2V5s0-2-2-2h-5m-5 7h8m-8 3h9M9 6 4 1m0 5 5-5`,labelOpen:`M2 8c-1 1-1 3 0 4l3 4c1 1 1 1 2 1h10c2 0 2-1 2-2V5s0-2-2-2H7C6 3 6 3 5 4zm5-1h6m-6 3h8m-8 3h9`,moodFlat:`M1 10a1 1 0 0 0 18 0 1 1 0 0 0-18 0m4 3c3-2 7-2 10 0M5 7a1 1 0 0 0 3 0 1 1 0 0 0-3 0m7 0a1 1 0 0 0 3 0 1 1 0 0 0-3 0`,moodHappy:`M1 10a1 1 0 0 0 18 0 1 1 0 0 0-18 0m4 1c1 7 9 7 10 0zm0-4a1 1 0 0 0 3 0 1 1 0 0 0-3 0m7 0a1 1 0 0 0 3 0 1 1 0 0 0-3 0`,moodNeutral:`M1 10a1 1 0 0 0 18 0 1 1 0 0 0-18 0m4 2h10M5 7a1 1 0 0 0 3 0 1 1 0 0 0-3 0m7 0a1 1 0 0 0 3 0 1 1 0 0 0-3 0`,moodSad:`M1 10a1 1 0 0 0 18 0 1 1 0 0 0-18 0m4 4c1-5 9-5 10 0zm0-7a1 1 0 0 0 3 0 1 1 0 0 0-3 0m7 0a1 1 0 0 0 3 0 1 1 0 0 0-3 0`,screenshot:`M1 4V3c0-1 1-2 2-2h1m12 0h1c1 0 2 1 2 2v1M1 16v1c0 1 1 2 2 2h1m12 0h1c1 0 2-1 2-2v-1M8 10a1 1 0 0 0 4 0 1 1 0 0 0-4 0m-3 3V8c0-1 0-1 1-1h8c1 0 1 0 1 1v5c0 1 0 1-1 1H6c-1 0-1 0-1-1m2-7h6`,smiley:`M1 10a1 1 0 0 0 18 0 1 1 0 0 0-18 0m4 2c3 2 7 2 10 0M5 7a1 1 0 0 0 3 0 1 1 0 0 0-3 0m7 0a1 1 0 0 0 3 0 1 1 0 0 0-3 0`,chartSparkline:`M2.033 13.067c-.071-2.13.213-3.833 1.42-3.94 1.739 0 .78 6.921 3.017 6.886 2.271 0 1.064-7.383 3.265-7.454 2.343 0 1.207 3.798 3.23 3.798C15.059 12.286 14.278 4.016 18 4`,legend:`M3 2h2s1 0 1 1v2c0 1-1 1-1 1H3S2 6 2 5V3c0-1 1-1 1-1m5 2c0-1 1-1 1-1h8s1 0 1 1-1 1-1 1H9S8 5 8 4M3 8h2s1 0 1 1v2c0 1-1 1-1 1H3s-1 0-1-1V9c0-1 1-1 1-1m5 2c0-1 1-1 1-1h8s1 0 1 1-1 1-1 1H9s-1 0-1-1m-5 4h2s1 0 1 1v2c0 1-1 1-1 1H3s-1 0-1-1v-2c0-1 1-1 1-1m5 2c0-1 1-1 1-1h8s1 0 1 1-1 1-1 1H9s-1 0-1-1`,chartGalaxy:`M7 11a1 1 0 0 0 4 0m3 0a1 1 0 0 0-7 0m-4 0a1 1 0 0 0 11 0m4 0a1 1 0 0 0-15 0m13.4 5c.6-1 1.6-3 1.6-5`,zoomPlus:`M9 1a1 1 0 0 0 0 16A1 1 0 0 0 9 1m5.65 13.65L18 18M9 5v8M5 9h8`,zoomMinus:`M9 1a1 1 0 0 0 0 16A1 1 0 0 0 9 1m5.65 13.65L18 18M5 9h8`,ratio:`M2 10h16M8 1l4 6m0-6L8 7m0 6 2 3m2-3-4 6`,settings:`M8 7a1 1 0 0 0 0 10A1 1 0 0 0 8 7m0-1v1m-6 5h1m10 0h1m-6 5v1M3.6 7.6l.8.8m-.8 8 .8-.9m8-7.9-.9.8m.1 7.1.8.9M8 11a1 1 0 0 0 0 2 1 1 0 0 0 0-2m8-9a1 1 0 0 0 0 4 1 1 0 0 0 0-4m-3 2h1m2 2v1m2-3h1m-3-3v1`,trendUp:`M6 3v4M4 5h4m3 2 5-4m-4-1a1 1 0 0 0 0 2 1 1 0 0 0 0-2m3 4a1 1 0 0 0 0 2 1 1 0 0 0 0-2m-5 12v-8m-3 3 3-3 3 3`,trendDown:`M4 5h4m3 2 5-4m-4-1a1 1 0 0 0 0 2 1 1 0 0 0 0-2m3 4a1 1 0 0 0 0 2 1 1 0 0 0 0-2m-5 12v-8m-3 5 3 3 3-3`,chartHistoryPlot:`M4 4a1 1 0 0 0 2 0 1 1 0 0 0-2 0m8-2a1 1 0 0 0 0 2 1 1 0 0 0 0-2m5 5a1 1 0 0 0 0 2 1 1 0 0 0 0-2m-5 7a1 1 0 0 0 0 2 1 1 0 0 0 0-2m-7-2a1 1 0 0 0 0 2 1 1 0 0 0 0-2m1-8 5-1m1.84.582 3.427 3.683m.358 1.688-3.862 5.344m-1.764.435-5.012-1.406M1 1v18h18`};function w(e,{stroke:t,strokeWidth:n}){let r=`stroke="${t}" stroke-width="${n}"`,i=`fill="${t}"`,a=`stroke="${t}"`,o=`${g} ${r} ${p}`,s=`${g} ${r} ${m}`,c=`${i} ${_}`,l=c,u=b(.3),d=b(.4),f=b(.5),v=b(.6),y=S[e];if(y)return`<path d="${y}" ${o}/>`;let w=C[e];return w?`<path d="${w}" ${s}/>`:{annotator:`<path ${o} d="m1 19 2-7c0 2 0 3 2 3 0 2 2 2 3 2zm2-7L14 1c1-1 2 0 2 0l3 3c1 1 0 2 0 2L8 17m-3-2L15 5M1.667 16.667l1.666 1.666m9.168-15.832L17.5 7.5" /><path d="M15 5 5 15c0 2 2 2 3 2l9.5-9.5z" ${c} ${u}/>`,annotatorDisabled:`<path ${o} d="m1 19 2-7c0 2 0 3 2 3 0 2 2 2 3 2zm2-7L14 1c1-1 2 0 2 0l3 3c1 1 0 2 0 2L8 17m-3-2L15 5M1.667 16.667l1.666 1.666m9.168-15.832L17.5 7.5M2 2l16 16" /><path d="M15 5 5 15c0 2 2 2 3 2l9.5-9.5z" ${c} ${u}/>`,chart3dBar:`<path ${g} ${r} d="M10 1 6 3v14l4 2 4-2V3zM6 3l4 2 4-2m-4 2v14" ${p}/><path ${c} ${u} d="m6 10 4 2 4-2v7l-4 2-4-2z"/>`,chartDonut:`<path ${s} d="M1 10a1 1 0 0 0 18 0 1 1 0 0 0-18 0m5 0a1 1 0 0 0 8 0 1 1 0 0 0-8 0m-5 0h5m4 4v5m4-9" /><path ${_} ${i} ${m} d="M1 10h5c0 2 2 4 4 4v5c-4 0-9-3-9-9" ${u} />`,chartNestedDonuts:`<path ${s} d="M1 10a1 1 0 0 0 18 0 1 1 0 0 0-18 0m3 0a1 1 0 0 0 12 0 1 1 0 0 0-12 0m-3 0h3"/><path ${g} ${a} stroke-width="${n/2}" ${m} d="M10 16v3m-3-9a1 1 0 0 0 6 0 1 1 0 0 0-6 0"/><path ${u} ${i} ${m} d="M7 10h3v3c-2 0-3-2-3-3"/><path ${u} ${i} ${m} d="M1 10h3c0 4 3 6 6 6v3c-5 0-9-4-9-9"/>`,chartGauge:`<path ${s} d="M19 13a1 1 0 0 0-18 0" ${u} /><path ${s} d="M9 15a1 1 0 0 0 2 0 1 1 0 0 0-2 0m1-1V8m0-4c-4 0-9 3-9 9" />`,chartHeatmap:`<path ${s} d="M2 3v14c0 1 0 1 1 1h14c1 0 1 0 1-1V3c0-1 0-1-1-1H3C2 2 2 2 2 3m8-1v16m-8-8h16M6 2v16m8-16v16M2 6h16M2 14h16"/><rect ${c} x="2" y="6" height="4" width="4" ${f} /><rect ${c} x="6" y="10" height="4" width="4" ${f} /><rect ${c} x="6" y="14" height="4" width="4" ${f} /><rect ${c} x="14" y="2" height="4" width="4" ${f} />`,chartMoodRadar:`<path ${o} d="M10 4 4 9l2 7h8l2-7zM9 2a1 1 0 0 0 2 0 1 1 0 0 0-2 0M1 8a1 1 0 0 0 2 0 1 1 0 0 0-2 0m2 10a1 1 0 0 0 2-1 1 1 0 0 0-2 1m12 0a1 1 0 0 0 2-1 1 1 0 0 0-2 1m2-10a1 1 0 0 0 2 0 1 1 0 0 0-2 0" /><path ${_} ${i} ${p} d="m10 7 3 3v4l-5-1-1-4z" ${u} />`,chartOnion:`<path ${o} d="M10 1c5 0 9 4 9 9s-4 9-9 9c-4 0-9-4-9-9m9-6c3 0 6 2 6 6s-3 6-6 6-6-2-6-6m6-3c1 0 3 1 3 3s-2 3-3 3-3-1-3-3" ${u} /><path ${o} d="M10 1c5 0 9 4 9 9s-4 9-9 9m0-15c3 0 6 2 6 6s-3 6-6 6-6-2-6-6m6-3c1 0 3 1 3 3" />`,chartQuadrant:`<path ${s} d="M10 1v18m-9-9h18" /><circle ${c} cx="3" cy="14" r="1"/><circle ${c} cx="5" cy="6" r="1"/><circle ${c} cx="14" cy="17" r="1"/><circle ${c} cx="17" cy="14" r="1"/><circle ${c} cx="15" cy="4" r="1"/>`,chartRadar:`<path ${s} d="M2 6v8l8 5 8-5V6l-8-5z" /><path ${u} ${c} stroke-width="0" ${m} d="m4 7 6-2 8 1-6 5-2 5-4-5z" /><path ${a} stroke-width="${n/3}" ${p} ${g} d="m4 7 6-2 8 1-6 5-2 5-4-5z" />`,chartScatter:`<path ${s} d="M1 1v17c0 1 0 1 1 1h17" /><circle ${c} cx="5" cy="15" r="1"/><circle ${c} cx="6" cy="12" r="1" /><circle ${c} cx="8" cy="15" r="1"/><circle ${c} cx="10" cy="8" r="1"/><circle ${c} cx="12" cy="10" r="1"/><circle ${c} cx="14" cy="6" r="1"/><circle ${c} cx="16" cy="4" r="1"/><circle ${c} cx="11" cy="14" r="1"/>`,chartSparkStackbar:`<path ${c} d="M12 8h5c2 0 2 4 0 4h-5c2 0 2-4 0-4" ${u} /><path ${c} d="M3 8h4c2 0 2 4 0 4H3c-2 0-2-4 0-4" /><path ${c} d="M7 8h5c2 0 2 4 0 4H7c2 0 2-4 0-4" ${f} /><path ${g} ${a} stroke-width="${n/3}" ${m} d="M3 8h14c2 0 2 4 0 4H3c-2 0-2-4 0-4" />`,chartThermometer:`<path ${s} d="M13 4a1 1 0 0 0-6 0v12a1 1 0 0 0 6 0zM7 15h1m-1-3h1M7 9h1M7 6h1m4 9h1m-1-3h1m-1-3h1m-1-3h1" /><path ${r} ${v} d="M10 17v-5" ${m} /><path ${m} ${r} d="M10 17V9" ${u} /><path ${m} ${r} opacity="0.3" d="M10 17V6" /><path ${m} ${r} ${b(.1)} d="M10 17V3" />`,chartTiremarks:`<path ${s} d="M1 8v4m2-4v4m2-4v4m2-4v4m2-4v4m2-4v4m2-4v4" /><path ${s} d="M1 8v4m2-4v4m2-4v4m2-4v4m2-4v4m2-4v4m2-4v4m2-4v4m2-4v4m2-4v4" ${d} />`,chartWheel:`<circle cx="10" cy="10" r="7" ${g} ${r} stroke-dasharray="16" ${m}/><circle cx="10" cy="10" r="9" ${g} ${r} stroke-dasharray="2" ${m} ${b(.7)}/><circle cx="10" cy="10" r="1" ${i} />`,close:`<path ${g} stroke-width="${n}" ${g} ${a} ${m} d="m4 4 12 12M4 16 16 4" />`,digit0:`<path ${u} ${l} d="m7 10 1-1h4l1 1-1 1H8z"/><path ${l} d="M8 1 7 2l1 1h4l1-1-1-1zM7 18l1-1h4l1 1-1 1H8zM6 3l1 1v4L6 9 5 8V4zm0 8 1 1v4l-1 1-1-1v-4zm8-8-1 1v4l1 1 1-1V4zm0 8 1 1v4l-1 1-1-1v-4z" />`,digit1:`<path ${u} ${l} d="M8 1 7 2l1 1h4l1-1-1-1zM7 18l1-1h4l1 1-1 1H8zm-1-7 1 1v4l-1 1-1-1v-4zm0-8 1 1v4L6 9 5 8V4zm1 7 1-1h4l1 1-1 1H8z"/><path ${l} d="m14 3-1 1v4l1 1 1-1V4zm0 8 1 1v4l-1 1-1-1v-4z" />`,digit2:`<path ${u} ${l} d="m14 11 1 1v4l-1 1-1-1v-4zM6 3l1 1v4L6 9 5 8V4z"/><path ${l} d="M8 1 7 2l1 1h4l1-1-1-1zm6 2-1 1v4l1 1 1-1V4zM7 18l1-1h4l1 1-1 1H8zm-1-7 1 1v4l-1 1-1-1v-4zm1-1 1-1h4l1 1-1 1H8z" />`,digit3:`<path ${u} ${l} d="m6 11 1 1v4l-1 1-1-1v-4zm0-8 1 1v4L6 9 5 8V4z"/><path ${l} d="M8 1 7 2l1 1h4l1-1-1-1zm6 2-1 1v4l1 1 1-1V4zm0 8 1 1v4l-1 1-1-1v-4zm-7 7 1-1h4l1 1-1 1H8zm0-8 1-1h4l1 1-1 1H8z" />`,digit4:`<path ${u} ${l} d="M8 1 7 2l1 1h4l1-1-1-1zM7 18l1-1h4l1 1-1 1H8zm-1-7 1 1v4l-1 1-1-1v-4z"/><path ${l} d="m14 3-1 1v4l1 1 1-1V4zm0 8 1 1v4l-1 1-1-1v-4zM6 3l1 1v4L6 9 5 8V4zm1 7 1-1h4l1 1-1 1H8z" />`,digit5:`<path ${u} ${l} d="m14 3-1 1v4l1 1 1-1V4zm-8 8 1 1v4l-1 1-1-1v-4z"/><path ${l} d="M8 1 7 2l1 1h4l1-1-1-1zm6 10 1 1v4l-1 1-1-1v-4zm-7 7 1-1h4l1 1-1 1H8zM6 3l1 1v4L6 9 5 8V4zm1 7 1-1h4l1 1-1 1H8z" />`,digit6:`<path ${u} ${l} d="m14 3-1 1v4l1 1 1-1V4z"/><path ${l} d="M8 1 7 2l1 1h4l1-1-1-1zm6 10 1 1v4l-1 1-1-1v-4zm-7 7 1-1h4l1 1-1 1H8zm-1-7 1 1v4l-1 1-1-1v-4zm0-8 1 1v4L6 9 5 8V4zm1 7 1-1h4l1 1-1 1H8z" />`,digit7:`<path ${u} ${l} d="m7 18 1-1h4l1 1-1 1H8zm-1-7 1 1v4l-1 1-1-1v-4zm0-8 1 1v4L6 9 5 8V4zm1 7 1-1h4l1 1-1 1H8z"/><path ${l} d="M8 1 7 2l1 1h4l1-1-1-1zm6 2-1 1v4l1 1 1-1V4zm0 8 1 1v4l-1 1-1-1v-4z" />`,digit8:`<path ${l} d="M8 1 7 2l1 1h4l1-1-1-1zm-1 9 1-1h4l1 1-1 1H8zm0 8 1-1h4l1 1-1 1H8zM6 3l1 1v4L6 9 5 8V4zm0 8 1 1v4l-1 1-1-1v-4zm8-8-1 1v4l1 1 1-1V4zm0 8 1 1v4l-1 1-1-1v-4z" />`,digit9:`<path ${u} ${l} d="m6 11 1 1v4l-1 1-1-1v-4z"/><path ${l} d="M8 1 7 2l1 1h4l1-1-1-1zm6 2-1 1v4l1 1 1-1V4zm0 8 1 1v4l-1 1-1-1v-4zm-7 7 1-1h4l1 1-1 1H8zM6 3l1 1v4L6 9 5 8V4zm1 7 1-1h4l1 1-1 1H8z" />`,excel:`<path stroke-width="${n}" ${g} ${a} ${h} d="M4 1Q1 1 1 4v12q0 3 3 3h12q3 0 3-3V6c-4 0-5-1-5-5Zm10 7c1 0 2 1 2 2v4c0 1-1 2-2 2H6c-1 0-2-1-2-2v-4c0-1 1-2 2-2Z"/><line ${r} x1="9" x2="9" y1="8" y2="16" /><line ${r} x1="4" x2="16" y1="12" y2="12" />`,image:`<path stroke-width="${n}" ${g} ${a} ${m} d="M4 1Q1 1 1 4v12q0 3 3 3h12q3 0 3-3V6c-4 0-5-1-5-5ZM1 16c2.333-2.333 2-6 7-4m-1 2c1-1 2-9 12-3"/><circle r="1" cx="6" cy="5" ${c}/>`,menu:`<path stroke-width="${n}" ${g} ${a} ${m} d="M2 10h16M2 5h16M2 15h16" />`,pdf:`<path stroke-width="${n}" ${g} ${a} ${p} d="M4 1Q1 1 1 4v12q0 3 3 3h12q3 0 3-3V6c-4 0-5-1-5-5Zm0 15V9h1q2 0 2 2t-2 2H4m5 3V9q3 0 3 3v1q0 3-3 3m5 0V9h2m-2 3h2"/>`,skeleton:`<path ${s} d="M3 14a1 1 0 0 0 0 4h4a1 1 0 0 0 0-4zm0-6a1 1 0 0 0 0 4h4a1 1 0 0 0 0-4zm0-6a1 1 0 0 0 0 4h1a1 1 0 0 0 0-4zm9 8v6c0 1 1 2 2 2h3c1 0 2-1 2-2v-6c0-1-1-2-2-2h-3c-1 0-2 1-2 2" stroke-dasharray="2" />`,sort:`<path stroke-width="${n}" ${g} ${a} ${m} d="m1 15 4 3 4-3M5 5v13m10-3V2m-4 3 4-3 4 3" />`,sortReverse:`<path stroke-width="${n}" ${g} ${a} ${m} d="m1 8 4-3 4 3M5 5v13m10-3V2m-4 10 4 3 4-3" />`,spin:`<path stroke-width="${n}" ${g} ${a} ${m} d="M1 10a1 1 0 0 0 18 0 1 1 0 0 0-15 0 1 1 0 0 0 12 0 1 1 0 0 0-9 0 1 1 0 0 0 6 0 1 1 0 0 0-3 0m-9 0q0-5 4-8" />`,starFill:`<path ${i} ${r} ${p} d="m1.333 8.226 5.976-.895L9.96 1.9l2.7 5.406 5.983.843-4.308 4.237 1.047 5.951-5.36-2.788-5.337 2.836.995-5.96-4.345-4.201" />`,tableClose:`<path stroke-width="${n}" ${m} ${g} ${a} d="M4 1Q1 1 1 4v12q0 3 3 3h3M4 1h12q3 0 3 3v10m-1 5-4-3-4 3"/><line stroke-width="${n}" ${a} x1="8" y1="1" x2="8" y2="19" ${m} /><line stroke-width="${n}" ${a} x1="1" y1="8" x2="19" y2="8" />`,tableOpen:`<path stroke-width="${n}" ${g} ${m} ${a} d="M4 1Q1 1 1 4v12q0 3 3 3h3M4 1h12q3 0 3 3v10m-1 2-4 3-4-3"/><line stroke-width="${n}" ${a} x1="8" y1="1" x2="8" y2="19" ${m} /><line stroke-width="${n}" ${m} ${a} x1="1" y1="8" x2="19" y2="8" />`,chartCluster:`<path ${g} ${r} d="M7 10a1 1 0 0 0 6 0 1 1 0 0 0-6 0m3-3V4a1 1 0 0 0 0-3 1 1 0 0 0 0 3m-3 6H4a1 1 0 0 0-3 0 1 1 0 0 0 3 0m6 3v3a1 1 0 0 0 0 3 1 1 0 0 0 0-3m3-6h3a1 1 0 0 0 3 0 1 1 0 0 0-3 0" />`,arrowRight:`<path ${l} d="M18 10 3 1q4.5 9 0 18z" ${h} />`,arrowTop:`<path ${l} d="M10 2 1 17q9-4.5 18 0z" ${h} />`,arrowLeft:`<path ${l} d="m2 10 15-9q-4.5 9 0 18z" ${h} />`,arrowBottom:`<path ${l} d="M10 18 1 3q9 4.5 18 0z" ${h} />`,chartSparkbar:`<path ${g} ${r} ${m} d="M2 5h16M2 10h16M2 15h16" ${u} /><path ${g} ${r} ${m} d="M2 5h13M2 10h9m-9 5h5" />`,vueDataUi:`<path ${o} d="m1 2 9 17M1 2h3l6 11h3m-3 6 3-6"/><path ${o} d="m10 13 4.974-9.549L19 13h-3l-1.266-3.447L13 13z"/>`,triangleFill:`<path ${a} ${i} stroke-width="${n}" ${p} d="M10 3 1 17h18z"/>`,squareFill:`<path ${i} ${r}${p} d="M2 2v16h16V2z"/>`,diamondFill:`<path ${i} ${r} ${p} d="m10 1-9 9 9 9 9-9z"/>`,pentagonFill:`<path ${i} ${r} ${p} d="M10 1 1 9l4 10h11l3-10Z"/>`,hexagonFill:`<path ${i} ${r} ${p} d="M10 1 2 6v8l8 5 8-5V6Z"/>`,circleFill:`<path ${r} ${i} ${p} d="M10 1a1 1 0 0 0 0 18 1 1 0 0 0 0-18"/>`,numbers:`<path ${g} ${a} stroke-width="${n/2}" ${g} ${p} d="m2 3 2-2v5m4-3c0-1 1-2 2-2s2 1 2 2c0 2-4 0-4 3h4m3-5h3l-2 2c1 0 2 0 2 1 0 2-2 2-3 2M4 13V8l-2 3h4m6-3H8c0 3 4 1 4 3 0 1-1 2-2 2s-2-1-2-2m10 0a1 1 0 0 0-3 1 1 1 0 0 0 3-1m-3 0c0-3 2-3 3-3M2 15h4c-1 3-4 2-4 5m6-4c0-1 1-1 1-1h2c1 0 1 1 1 1s0 1-1 1H9s-1 0-1-1m1 1s-1 0-1 1v1c0 1 1 1 1 1h2c1 0 1-1 1-1v-1s0-1-1-1m7 0a1 1 0 0 0-3-1 1 1 0 0 0 3 1m0 0c0 3-2 3-3 3"/>`,people:`<path ${o} d="M6 1C4 1 4 5 6 5s2-4 0-4m0 5c-4 0-1 4 0 4m0-4c4 0 1 4 0 4m-2 0 1 9m3-9-1 9m-3 0h4M4 5c-2 1-3 5-3 7M14 1c-2 0-2 4 0 4s2-4 0-4m0 5c-4 0-1 4 0 4s4-4 0-4m-2 4 1 9m3-9-1 9m-3 0h4m0-14c2 1 3 5 3 7M8 5c2 3 2 5 2 7 0-2 0-4 2-7"/>`,accordion:`<path ${o} d="M2 2h16l-2 2 2 2-2 2 2 2-2 2 2 2-2 2 2 2H2l2-2-2-2 2-2-2-2 2-2-2-2 2-2z"/><path ${c} ${u} ${p} d="M2 2h16l-2 2H4Z" /><path ${c} ${u} ${p} d="M2 6h16l-2 2H4Z" /><path ${c} ${u} ${p} d="M2 10h16l-2 2H4Z" /><path ${c} ${u} ${p} d="M2 14h16l-2 2H4Z" />`,trend:`<path ${s} stroke-kinejoin="round" d="m1 6 3-2 3 2M4 4v9m3 3s0 2 2 2c3 0 1-9 3-9s2 4 3 4c3 1 2.667-7.333 4-11"/>`,chartStripPlot:`<path ${r} ${g} d="M4 16a1 1 0 0 0 0 2 1 1 0 0 0 0-2m0-3a1 1 0 0 0 0 2 1 1 0 0 0 0-2m0-4a1 1 0 0 0 0 2 1 1 0 0 0 0-2m4 2a1 1 0 0 0 0 2 1 1 0 0 0 0-2m0-3a1 1 0 0 0 0 2 1 1 0 0 0 0-2M4 2a1 1 0 0 0 0 2 1 1 0 0 0 0-2m8 13a1 1 0 0 0 0 2 1 1 0 0 0 0-2m0-5a1 1 0 0 0 0 2 1 1 0 0 0 0-2m0-3a1 1 0 0 0 0 2 1 1 0 0 0 0-2M8 5a1 1 0 0 0 0 2 1 1 0 0 0 0-2m8 7a1 1 0 0 0 0 2 1 1 0 0 0 0-2m0-2a1 1 0 0 0 0 2 1 1 0 0 0 0-2m0 6a1 1 0 0 0 0 2 1 1 0 0 0 0-2" />`,chartDumbbell:`<path ${r} ${m} d="M3 2a1 1 0 0 0 0 2 1 1 0 0 0 0-2m7 0a1 1 0 0 0 0 2 1 1 0 0 0 0-2M4 3h5M5 9a1 1 0 0 0 0 2 1 1 0 0 0 0-2m12 0a1 1 0 0 0 0 2 1 1 0 0 0 0-2M6 10h10m-8 6a1 1 0 0 0 0 2 1 1 0 0 0 0-2m7 0a1 1 0 0 0 0 2 1 1 0 0 0 0-2m-6 1h5" />`,chartWordCloud:`<text x="10" y="10" ${i} text-anchor="middle" font-size="4.5" font-family="Arial" dominant-baseline="middle">WORDS</text><text x="5.5" y="6" ${i} text-anchor="middle" font-size="2.5" font-family="Arial" dominant-baseline="middle">WORDS</text><text x="15" y="6" ${i} text-anchor="middle" font-size="2" font-family="Arial" dominant-baseline="middle">WORDS</text><text x="5" y="13.5" ${i} text-anchor="middle" font-size="2" font-family="Arial" dominant-baseline="middle">WORDS</text><text x="14.5" y="14.4" ${i} text-anchor="middle" font-size="2.5" font-family="Arial" dominant-baseline="middle">WORDS</text><text x="10" y="3" ${i} text-anchor="middle" font-size="1.8" font-family="Arial" dominant-baseline="middle">WORDS</text><text x="10" y="17.5" ${i} text-anchor="middle" font-size="2" font-family="Arial" dominant-baseline="middle">WORDS</text>`,chartWordCloudZh:`<text x="10" y="10" ${i} text-anchor="middle" font-size="6" font-family="Arial" dominant-baseline="middle">词语</text><text x="5" y="5" ${i} text-anchor="middle" font-size="3" font-family="Arial" dominant-baseline="middle">词语</text><text x="15" y="5" ${i} text-anchor="middle" font-size="3" font-family="Arial" dominant-baseline="middle">词语</text><text x="10" y="5" ${i} text-anchor="middle" font-size="1.5" font-family="Arial" dominant-baseline="middle">词语</text><text x="10" y="2" ${i} text-anchor="middle" font-size="1.5" font-family="Arial" dominant-baseline="middle">词语</text><text x="2" y="8" ${i} text-anchor="middle" font-size="1.5" font-family="Arial" dominant-baseline="middle">词语</text><text x="2" y="11.5" ${i} text-anchor="middle" font-size="1.5" font-family="Arial" dominant-baseline="middle">词语</text><text x="18" y="8" ${i} text-anchor="middle" font-size="1.5" font-family="Arial" dominant-baseline="middle">词语</text><text x="18" y="11.5" ${i} text-anchor="middle" font-size="1.5" font-family="Arial" dominant-baseline="middle">词语</text><text x="5" y="14.5" ${i} text-anchor="middle" font-size="3" font-family="Arial" dominant-baseline="middle">词语</text><text x="15" y="14.5" ${i} text-anchor="middle" font-size="3" font-family="Arial" dominant-baseline="middle">词语</text><text x="10" y="14.5" ${i} text-anchor="middle" font-size="1.5" font-family="Arial" dominant-baseline="middle">词语</text><text x="10" y="18" ${i} text-anchor="middle" font-size="1.5" font-family="Arial" dominant-baseline="middle">词语</text>`,chartFlow:`<path stroke="transparent" stroke-width="${n}" ${p} ${i} d="M2 2h2v7H2zm7 0h2v4H9zm7 0h2v2h-2zM2 11h2v7H2zm7-3h2v3H9zm0 6h2v2H9zm7-8h2v2h-2zm0 4h2v2h-2zm0 4h2v2h-2zM4 2h5v4H4zm0 4 5 2v3L4 9zm7-4h5v2h-5zm0 2 5 2v2l-5-2zm-7 7 5 3v2l-5-3zm7-3 5 2v2l-5-2zm0 6h5v2h-5z"/>`,pause:`<path ${c} strole-linecap="round" ${h} d="M3 4v12c0 1 1 2 2 2h1c1 0 2-1 2-2V4c0-1-1-2-2-2H5C4 2 3 3 3 4m9 0v12c0 1 1 2 2 2h1c1 0 2-1 2-2V4c0-1-1-2-2-2h-1c-1 0-2 1-2 2"/>`,play:`<path ${i} stroke-width="${n}" ${p} ${g} d="M3 4v12c0 1 1 2 2 2h1c1 0 12-5 12-7v-1C18 8 7 2 6 2H5C4 2 3 3 3 4"/>`,stop:`<path ${i} stroke-width="${n}" ${p} ${g} d="M10 8 4 2H3L2 3v1l6 6-6 6v1l1 1h1l6-6 6 6h1l1-1v-1l-6-6 6-6V3l-1-1h-1z"/>`,battery:`<path ${o} d="M2 6v8c0 2 1 2 2 2h11c1 0 2 0 2-2v-1s1 0 1-1V8c0-1-1-1-1-1V6c0-2-1-2-2-2H4C3 4 2 4 2 6"/><path ${i} ${v} ${_} d="M4 7v6c0 1 1 1 1 1h6V6H5S4 6 4 7"/>`,chartStackbar:`<path ${o} d="M8 18h4V8c0-1-1-1-1-1H9S8 7 8 8zm-6 0h4v-6c0-1-1-1-1-1H3s-1 0-1 1zm12 0h4V3c0-1-1-1-1-1h-2s-1 0-1 1zM2 14h4m2-3h4m2-4h4m-4 5"/><path ${_} ${u} ${i} d="M2 14h4v4H2z" /><path ${_} ${u} ${i} d="M8 11h4v7H8z" /><path ${_} ${u} ${i} d="M14 7h4v11h-4z" />`,starFace:`<path ${a} stroke-width="${n} ${p} ${g} d="m1.333 8.226 5.976-.895L9.96 1.9l2.7 5.406 5.983.843-4.308 4.237 1.047 5.951-5.36-2.788-5.337 2.836.995-5.96ZM6.989 10c.631-1.099 1.649-.753 1.975.02m2.035 0c.672-1.078 1.608-.732 2.016.021m-5.516 1.982c1.233 2.928 4.602 1.849 4.998-.023" />`,chartBullet:`<path ${o} d="M1 7v6h18V7z"/><path ${i} d="M1 9h11v2H1Z" ${_} ${m}/><path ${i} d="M15 5v10h1V5Z" ${_} ${m}/>`,palette:`<path ${s} d="M10 2a1 1 0 0 0 0 16s4 0 4-2c0-3-2-2-3-3-1-3 3-2 4-2 5 0 4-9-5-9"/><path ${c} d="M6 6a1 1 0 0 0 2 2 1 1 0 0 0-2-2" ${b(.7)}/><path ${c} ${f} d="M6 11a1 1 0 0 0 2 2 1 1 0 0 0-2-2"/><path ${c} d="M11 5a1 1 0 0 0 2 2 1 1 0 0 0-2-2"/>`,colorPicker:`<path d="M2 16c0 1 1 2 2 2s2-2 5-2l7-8-4-4-8 7m0 0c0 3-2 4-2 5m14-8c1 1 3-1 2-2l-4-4c-1-1-3 1-2 2m6 2c3-3-1-7-4-4" ${o}/><path d="M2 16c0 1 1 2 2 2s2-2 5-2l4.347-5.011H4.022L4 11m0 0c0 3-2 4-2 5" ${p} ${i} ${d}/>`,boxes:`<path ${s} d="M10 11 6 9l-4 2v5l4 2 4-2zm0 0 4-2 4 2v5l-4 2-4-2M6 9V4l4-2 4 2v5M6 4l4 2 4-2M2 11l4 2 4-2m0 0 4 2 4-2m-8-5v5m-4 2v5m8-5v5"/><path ${c} ${f} d="m6 4 4 2v5L6 9z"/><path ${c} ${f} d="m2 11 4 2v5l-4-2z"/><path ${c} ${f} d="m10 11 4 2v5l-4-2z"/>`,homeFilled:`<path ${i} ${r} ${p} d="m2 10 8-8 8 8M4 10v7c0 1 0 1 1 1h3v-6h4v6h3c1 0 1 0 1-1v-7m-8 8"/>`,hourglass:`<path ${o} d="M4 1h12m-3 0c3 2 1 4 1 4M7 1C4 3 6 5 6 5M4 19h12M6 5c4 5 4 5 0 10m8-10c-4 5-4 5 0 10m-1 4c3-2 1-4 1-4m-7 4c-3-2-1-4-1-4"/><path ${u} ${c} d="M7 18h6c1-3-2-5-3-5s-4 2-3 5"/>`,text:`<path d="M1 3V1h12v3c0 1-2 1-2 0V3H8v14h1c1 0 1 2 0 2H5c-1 0-1-2 0-2h1V3H3v1c0 1-2 1-2 0zm10 5h8" ${p} ${i}/><path d="M14 8h5m-8 3h8m-8 3h8" ${o}/>`,bringToFront:`<path ${i} d="M7 6h6s1 0 1 1v6s0 1-1 1H7s-1 0-1-1V7s0-1 1-1"/><path ${o} d="M8 4V3s0-1-1-1H3C2 2 2 3 2 3v4c0 1 1 1 1 1h1m8 8v1c0 1 1 1 1 1h4s1 0 1-1v-4s0-1-1-1h-1"/>`,bringToBack:`<path ${i} d="M7 13v-3h1c2 0 2-1 2-2V7h3v3h-1c-1 0-2 0-2 2v1z"/><path ${g} ${a} ${p} d="M9 8V3s0-1-1-1H3C2 2 2 3 2 3v5c0 1 1 1 1 1h5c1 0 1-1 1-1m2 4v5c0 1 1 1 1 1h5s1 0 1-1v-5s0-1-1-1h-5c-1 0-1 1-1 1"/>`,chartStackline:`<path d="M2 16v2h16v-8l-4 4-3-2-3 3-3-2Z" ${c} ${b(.9)}/><path d="m2 16 3-3 3 2 3-3 3 2 4-4V6l-4 2-3-2-3 3-3-1-3 1Z" ${c}" ${v}/><path d="M2 9V2h16v4l-4 2-3-2-3 3-3-1Z" ${c} ${u}/><path d="M1 1v18h18" ${a} ${p} ${g}/>`,pie:`<path d="M10 1a1 1 0 0 0 0 18 1 1 0 0 0 0-18v9l4.025 8.049M10 10H1m9 0 4 8" ${o}/><path d="m10 10 4 8c-3.413 2.069-12.365 1.271-13-8z" ${c} ${u}/><path d="M10 1c-7.472.391-9.069 6.876-9 9h9z" ${c} ${f}/>`,network:`<path d="M7 15h6c1 0 1 1 1 1v2s0 1-1 1H7c-1 0-1-1-1-1v-2s0-1 1-1m-6 2h5m8 0h5m-9-2v-3m-6 0h12c1 0 1-1 1-1V9s0-1-1-1H4S3 8 3 9v2s0 1 1 1m0-6h12c1 0 1-1 1-1V3c0-1-1-1-1-1H4S3 2 3 3v2s0 1 1 1m6 0v2" ${o}/><path d="M6 4h1m2 0h5m-8 6h1m2 0h5" ${a} stroke-width="${n/2}" ${g} ${p}/>`,chipAi:`<path d="M5 3h10c1 0 2 1 2 2v10c0 1-1 2-2 2H5c-1 0-2-1-2-2V5c0-1 1-2 2-2m5-2v2M7 1v2m6-2v2M1 10h2M1 7h2m-2 6h2m7 4v2m-3-2v2m6-2v2m4-9h2m-2-3h2m-2 6h2" ${o}/><path d="M10 6c-1 3-1 3-4 4 3 1 3 1 4 4 1-3 1-3 4-4-3-1-3-1-4-4" ${c} />`,binary:`<path d="M4 1C2 1 2 4 4 4s2-3 0-3m4 0v3m4-3c-2 0-2 3 0 3s2-3 0-3m4 0v3M4 6v3m4-3C6 6 6 9 8 9s2-3 0-3m4 0v3m4-3c-2 0-2 3 0 3s2-3 0-3M4 11c-2 0-2 3 0 3s2-3 0-3m4 0v3m4-3v3m4-3v3M4 16v3m4-3c-2 0-2 3 0 3s2-3 0-3m4 0c-2 0-2 3 0 3s2-3 0-3m4 0v3" ${a} stroke-width="${n/2}" ${g} ${p}/>`,chipBinary:`<path d="M5 3h10c1 0 2 1 2 2v10c0 1-1 2-2 2H5c-1 0-2-1-2-2V5c0-1 1-2 2-2m5-2v2M7 1v2m6-2v2M1 10h2M1 7h2m-2 6h2m7 4v2m-3-2v2m6-2v2m4-9h2m-2-3h2m-2 6h2" ${o}/><path d="M6 6C4 6 4 9 6 9s2-3 0-3m4 0v3m4-3c-2 0-2 3 0 3s2-3 0-3m-8 5v3m4-3c-2 0-2 3 0 3s2-3 0-3m4 0v3" ${a} stroke-width="${n/3}" ${g} ${p}/>`,blur:x(t),sqlQuery:`<path d="M17 10V3C17 1 3 1 3 3v7m0-7c0 2 14 2 14 0" ${o}/><path d="M5.994 13.991C4.847 12.359 2.399 12.962 2 14c-.157 2.025 4.231.984 4 3-.857 1.638-3.696 1.047-4 0m8-4c-3 0-3 5 0 5s3-5 0-5m1 5 1 1m2-6v5h4" ${a} stroke-width="${n/1.5}" ${g} ${p}/><path d="M10 11V7M8 9l2-2 2 2" ${a} stroke-width="${n/1.5}" ${g} ${p}/>`,gisLayerQuery:`<path d="M5.994 13.991C4.847 12.359 2.399 12.962 2 14c-.157 2.025 4.231.984 4 3-.857 1.638-3.696 1.047-4 0m8-4c-3 0-3 5 0 5s3-5 0-5m1 5 1 1m2-6v5h4" ${a} stroke-width="${n/1.5}" ${g} ${p}/><path d="M10 11V7M8 9l2-2 2 2" ${a} stroke-width="${n/1.5}" ${g} ${p}/><path d="M10 1 2 3m0 0 8 2 8-2-8-2M2 6l4 1m12 2-2.482.619M14 7l4-1M2 9l2.493.629M2 6l6-1.5M18 6l-6-1.5M2 9l3-1m13 1-3-1" ${o}/>`,magnify:`<path d="M8 1a1 1 0 0 0 0 14A1 1 0 0 0 8 1m4.95 11.95L19 19" ${o}/><path d="M8 4a1 1 0 0 0 0 8 1 1 0 0 0 0-8" ${c} ${b(.1)} /><path d="M12 8a1 1 0 0 0-8 0" ${a} ${m} stroke-width="${n/3}" ${g} ${d} /><path d="M8 4c-.788-.017-2.544.345-3.456 2.003" ${a} ${m} stroke-width="${n/3}" ${g} />`,spark:`<path d="M10 1c-2 7-2 7-9 9 7 2 7 2 9 9 2-7 2-7 9-9-7-2-7-2-9-9" ${c}/>`,doubleSpark:`<path d="M1 13c5-1 5-1 6-6 1 5 1 5 6 6-5 1-5 1-6 6-1-5-1-5-6-6M15 1c-.514 3.478-.514 3.478-4 4 3.505.505 3.499.505 4 4 .513-3.489.513-3.495 4-4-3.474-.503-3.48-.51-4-4" ${c}/>`,listType:`<path d="M7 4h11M7 10h11M7 16h11" ${o}/><path d="M2 3h2v2H2z" ${i} ${a} stroke-width="${n/2}" stroke-linejoin="miter"/><path ${i} d="m3 9-1.2 2h2.4z" ${a} stroke-width="${n/2}" stroke-linejoin="miter"/><path d="M3 14.8a1 1 0 0 0 .002 2.4 1 1 0 0 0-.003-2.4" ${i} ${a} stroke-width="${n/2}"/>`,calendar:`<path d="M7 1v3m6-3v3M5 3H4C3 3 2 4 2 5v11c0 1 1 2 2 2h12c1 0 2-1 2-2V5c0-1-1-2-2-2h-1M9 3h2M2 7h16" ${o}/><path d="M4 10h2v1H4zm5 0h2v1H9zm5 0v1h2v-1zM4 14h2v1H4zm5 0h2v1H9z" ${a} stroke-width="${n/3}" ${i} ${p}/>`,test:`<path d="M4 19h12c2 0 2-2 2-2l-6-8V3c1 0 1-2 0-2H8C7 1 7 3 8 3v6l-6 8s0 2 2 2" ${o}/><path d="M5 14c3 2 6-2 10 0l2.141 2.847c.015.793-.071 1.157-1.141 1.153H4c-.75.014-1.171-.252-1.134-1.131z" ${c} ${p} ${d}/><path d="M5 14c3 2 6-2 10 0" ${a} ${m} stroke-width="${n/3}"/>`,pi:`<path d="M1 8c1-5 3-6 4-6h13c1 0 1 2 0 2h-3s-1 4-1 10c0 4 3 3 5 0-1 7-7 6-7 0 0-5 1-10 1-10H9C8 9 7 17 7 17c-1 3-4 2-4 0C7 13 7 4 7 4 4 4 3 5 1 8" ${p} ${i}/>`,fileSvg:`<path d="M18 10V7l-5-5m0 0v5h5m-5-5H2v8" ${o}/><text x="10" y="18.5" ${i} text-anchor="middle" font-size="9" font-family="Arial">SVG</text>`,filePdf:`<path d="M18 10V7l-5-5m0 0v5h5m-5-5H2v8" ${o}/><text x="10" y="18.5" ${i} text-anchor="middle" font-size="9" font-family="Arial">PDF</text>`,fileCsv:`<path d="M18 10V7l-5-5m0 0v5h5m-5-5H2v8" ${o}/><text x="10" y="18.5" ${i} text-anchor="middle" font-size="9" font-family="Arial">CSV</text>`,filePng:`<path d="M18 10V7l-5-5m0 0v5h5m-5-5H2v8" ${o}/><text x="10" y="18.5" ${i} text-anchor="middle" font-size="9" font-family="Arial">PNG</text>`,puzzleFill:`<path d="M16.579 9.304h-1.177V6.167c0-.871-.706-1.569-1.569-1.569h-3.137V3.421a1.96 1.96 0 0 0-1.96-1.96 1.96 1.96 0 0 0-1.962 1.96v1.177H3.638a1.57 1.57 0 0 0-1.569 1.569v2.98h1.177c1.175 0 2.116.941 2.116 2.117a2.11 2.11 0 0 1-2.116 2.118H2.069v2.98a1.57 1.57 0 0 0 1.569 1.569h2.98v-1.177c0-1.175.941-2.116 2.118-2.116 1.176 0 2.117.941 2.117 2.116v1.177h2.98a1.57 1.57 0 0 0 1.569-1.569v-3.136h1.177a1.96 1.96 0 0 0 1.96-1.962 1.96 1.96 0 0 0-1.96-1.96" ${p} ${i}/>`,npmx:`<path d="m17 2-6 16H9l6-16zM3 13v3h3v-3z" ${p} ${i}/>`}[e]||``}let T=l(),E=r(()=>(T.exp?.()||[])[0]||null),D=r(()=>(T.sub?.()||[])[0]||null),O=r(()=>!!E.value),k=r(()=>!!D.value),A=r(()=>O.value||k.value),j=r(()=>{let e=E.value?.props||{};return{name:e.name,stroke:e.stroke??n.stroke,strokeWidth:e[`stroke-width`]??e.strokeWidth??n.strokeWidth,size:typeof e.size==`number`?e.size:null,isSpin:!!e.isSpin||!!e[`is-spin`],spinDuration:e.spinDuration||e[`spin-duration`]||`1s`}}),M=r(()=>{let e=D.value?.props||{};return{name:e.name,stroke:e.stroke??n.stroke,strokeWidth:e[`stroke-width`]??e.strokeWidth??n.strokeWidth,size:typeof e.size==`number`?e.size:null,isSpin:!!e.isSpin||!!e[`is-spin`],spinDuration:e.spinDuration||e[`spin-duration`]||`1s`}});function N(e,t,n=`0.5s`){return`<animateTransform attributeName="transform" type="rotate" from="0 ${e} ${t}" to="360 ${e} ${t}" dur="${n}" repeatCount="indefinite"/>`}let P=r(()=>{let e=F.value;return{cx:e.minX+e.width/2,cy:e.minY+e.height/2}}),F=r(()=>{let e=String(n.viewBox).trim().split(/\s+/).map(Number),[t,r,i,a]=e.length===4?e:[0,0,20,20];return{minX:t,minY:r,width:i,height:a}}),I=r(()=>{let e=n.size||24;return(j.value.size||e*.6)/e}),L=r(()=>{let e=n.size||24;return(M.value.size||e*.6)/e}),R=r(()=>{let e=F.value,t=O.value?e.height*I.value:0,n=O.value?e.height*I.value:0,r=k.value?e.height*L.value:0,i=Math.max(n,r),a=k.value?e.height*L.value:0;return`${e.minX} ${e.minY-t} ${e.width+i} ${e.height+t+a}`}),z=r(()=>{let e=F.value,t=e.minX+e.width,n=e.minY,r=e.height,i=r*I.value,a=t,o=n,s=i/r;return`translate(${a} ${o}) translate(${-i/6} ${-i*.8}) scale(${s})`}),B=r(()=>{let e=F.value,t=e.minX+e.width,n=e.minY+e.height,r=e.height,i=r*L.value,a=t,o=n,s=i/r;return`translate(${a} ${o}) translate(${-i/6} ${i*-.2}) scale(${s})`}),V=r(()=>w(n.name,{stroke:n.stroke,strokeWidth:n.strokeWidth}));function H(e){return String(e).replace(/\sstroke(?:-(?:width|linecap|linejoin))?="[^"]*"/g,``)}let U=r(()=>{let e=w(n.name,{stroke:n.stroke,strokeWidth:n.strokeWidth}),t=``;if(O.value&&j.value.name){let e=H(w(j.value.name,{stroke:j.value.stroke,strokeWidth:j.value.strokeWidth})),{cx:n,cy:r}=P.value;t=`<g transform="${z.value}"><g stroke="${j.value.stroke}" stroke-width="${j.value.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" fill="none">${j.value.isSpin?N(n,r,j.value.spinDuration):``}${e}</g></g>`}let r=``;if(k.value&&M.value.name){let e=H(w(M.value.name,{stroke:M.value.stroke,strokeWidth:M.value.strokeWidth})),{cx:t,cy:n}=P.value;r=`<g transform="${B.value}"><g stroke="${M.value.stroke}" stroke-width="${M.value.strokeWidth}" stroke-linecap="round" stroke-linejoin="round" fill="none">${M.value.isSpin?N(t,n,M.value.spinDuration):``}${e}</g></g>`}return`${e}${t}${r}`}),W=r(()=>A.value?O.value&&!k.value||k.value&&!O.value?n.size*1.6:n.size*2.2:n.size);return(n,r)=>A.value?(o(),i(`svg`,{key:0,xmlns:s(t),class:a({"spin ":e.isSpin}),viewBox:R.value,height:W.value,width:W.value,style:{background:`transparent`,display:`block`},innerHTML:U.value},null,10,d)):(o(),i(`svg`,{key:1,xmlns:s(t),class:a({"spin ":e.isSpin}),viewBox:u.value,height:e.size,width:e.size,innerHTML:V.value,style:{background:`transparent`}},null,10,f))}},[[`__scopeId`,`data-v-4852569f`]]);export{u as n,v as t};
@@ -0,0 +1 @@
1
+ import{t as e}from"./_plugin-vue_export-helper-BDNMzG2s.js";import{t}from"./BaseIcon-DdIyewwY.js";import{createElementBlock as n,createElementVNode as r,createVNode as i,normalizeClass as a,normalizeStyle as o,openBlock as s,withKeys as c}from"vue";var l=/*#__PURE__*/ e({__name:`BaseLegendToggle`,props:{backgroundColor:{type:String,default:`#CCCCCC`},color:{type:String,default:`#2D353C`},fontSize:{type:Number,default:14},checked:{type:Boolean},isCursorPointer:{type:Boolean}},emits:[`toggle`],setup(e,{emit:l}){let u=l;return(l,d)=>(s(),n(`div`,{class:a({"vue-ui-legend-toggle-wrapper":e.isCursorPointer}),"data-dom-to-png-ignore":``},[r(`div`,{class:`vue-ui-legend-toggle`,role:`button`,tabindex:`0`,onClick:d[0]||=e=>u(`toggle`),onKeydown:d[1]||=c(e=>u(`toggle`),[`enter`]),style:o({position:`relative`,display:`flex`,alignItems:`center`,justifyContent:`center`,backgroundColor:e.backgroundColor,padding:e.fontSize/4+`px`})},[i(t,{name:e.checked?`minus`:`check`,stroke:e.color,size:e.fontSize*.6,"stroke-width":e.fontSize/4},null,8,[`name`,`stroke`,`size`,`stroke-width`])],36)],2))}},[[`__scopeId`,`data-v-f05513e8`]]);export{l as t};
@@ -0,0 +1 @@
1
+ import{t as e}from"./_plugin-vue_export-helper-BDNMzG2s.js";import{computed as t,createElementBlock as n,openBlock as r,ref as i,unref as a,watch as o}from"vue";function s({config:e,dataset:n,skeletonDataset:r,skeletonConfig:s,FINAL_CONFIG:c,prepareConfig:l,callback:u=null,dsIsNumber:d=!1,allowEmptyDataset:f=!1}){let p=i(!1),m=t(()=>{let t=a(e)?.loading??!1,r=a(n),i=f?!1:d?[null,void 0].includes(r):r==null||Array.isArray(r)&&r.length===0||Object.keys(r).length===0;return p.value||t||i}),h=i(a(n));return o([m,()=>a(n)],([e,t])=>{h.value=e?r:t,c.value=e?s:l(),u&&u()},{immediate:!0,deep:!0}),{loading:m,FINAL_DATASET:h,manualLoading:p,skeletonDataset:r,skeletonConfig:s}}var c={},l={class:`vue-data-ui-scanner`};function u(e,t){return r(),n(`div`,l)}var d=/*#__PURE__*/ e(c,[[`render`,u],[`__scopeId`,`data-v-8c8b2e12`]]);export{s as n,d as t};
@@ -0,0 +1 @@
1
+ import{t as e}from"./_plugin-vue_export-helper-BDNMzG2s.js";import{t}from"./BaseIcon-DdIyewwY.js";import{r as n}from"./exposedLib-DHtyEc_G.js";import{createCommentVNode as r,createElementBlock as i,createElementVNode as a,createVNode as o,normalizeClass as s,normalizeStyle as c,openBlock as l,toDisplayString as u,unref as d}from"vue";var f=[`disabled`],p=/*#__PURE__*/ e({__name:`BaseZoomControls`,props:{config:{type:Object,default(){return{}}},scale:{type:Number,default:0},withDirection:{type:Boolean,default:!1},isFullscreen:{type:Boolean,default:!1},isCursorPointer:{type:Boolean,default:!1}},emits:[`zoomIn`,`zoomOut`,`resetZoom`,`switchDirection`],setup(e,{emit:p}){let m=p;return(p,h)=>(l(),i(`div`,{class:s({"vue-data-ui-zoom-controls":!0,"vue-data-ui-zoom-controls-fullscreen":e.isFullscreen}),"data-dom-to-png-ignore":``,style:c({border:e.config.style.chart.controls.border,backgroundColor:e.config.style.chart.controls.backgroundColor,padding:e.config.style.chart.controls.padding,borderRadius:e.config.style.chart.controls.borderRadius,"--vue-data-ui-zoom-control-button-color":e.config.style.chart.controls.buttonColor,"--vue-data-ui-zoom-control-button-color-hover":d(n)(e.config.style.chart.controls.buttonColor,.2)})},[a(`button`,{onClick:h[0]||=e=>m(`zoomOut`),class:`vue-data-ui-zoom-controls-button`,"data-cy-zoom-out":``,style:c({cursor:e.isCursorPointer?`pointer`:`default`})},[o(t,{name:`zoomMinus`,stroke:e.config.style.chart.controls.color,size:e.config.style.chart.controls.fontSize*1.2},null,8,[`stroke`,`size`])],4),a(`button`,{class:`vue-data-ui-zoom-controls-button-zoom`,onClick:h[1]||=e=>m(`resetZoom`),"data-cy-zoom-reset":``,style:c({color:e.config.style.chart.controls.color,width:e.config.style.chart.controls.fontSize*4+`px`,borderRadius:e.config.style.chart.controls.borderRadius,fontSize:e.config.style.chart.controls.fontSize+`px`,cursor:e.isCursorPointer?`pointer`:`default`})},u(Math.round(e.scale*100))+`% `,5),a(`button`,{onClick:h[2]||=e=>m(`zoomIn`),class:`vue-data-ui-zoom-controls-button`,"data-cy-zoom-in":``,style:c({cursor:e.isCursorPointer?`pointer`:`default`})},[o(t,{name:`zoomPlus`,stroke:e.config.style.chart.controls.color,size:e.config.style.chart.controls.fontSize*1.2},null,8,[`stroke`,`size`])],4),a(`button`,{disabled:e.scale===1,onClick:h[3]||=e=>m(`resetZoom`),class:`vue-data-ui-zoom-controls-button`,style:c({cursor:e.isCursorPointer?`pointer`:`default`})},[o(t,{name:`revert`,stroke:e.config.style.chart.controls.color,size:e.config.style.chart.controls.fontSize*1.2},null,8,[`stroke`,`size`])],12,f),e.withDirection?(l(),i(`button`,{key:0,onClick:h[4]||=e=>m(`switchDirection`),class:`vue-data-ui-zoom-controls-button`,style:c({cursor:e.isCursorPointer?`pointer`:`default`})},[o(t,{name:`direction`,stroke:e.config.style.chart.controls.color,size:e.config.style.chart.controls.fontSize*1.2},null,8,[`stroke`,`size`])],4)):r(``,!0)],6))}},[[`__scopeId`,`data-v-b5d92405`]]);export{p as t};
@@ -0,0 +1 @@
1
+ import{r as e}from"./lib-CV_IANZ6.js";import{t}from"./_plugin-vue_export-helper-BDNMzG2s.js";import{t as n}from"./BaseIcon-DdIyewwY.js";import{t as r}from"./vClickOutside-BxNzkY17.js";import{Fragment as i,Teleport as a,computed as o,createBlock as s,createCommentVNode as c,createElementBlock as l,createElementVNode as u,createVNode as d,guardReactiveProps as f,nextTick as p,normalizeProps as m,normalizeStyle as h,onBeforeUnmount as g,onMounted as _,openBlock as v,ref as y,renderList as b,renderSlot as x,unref as ee,useCssVars as te,watch as S,watchEffect as C,withDirectives as w,withKeys as T,withModifiers as E}from"vue";var D=[`aria-expanded`,`aria-label`],O=[`aria-label`,`aria-pressed`,`onClick`],k={style:{position:`absolute`,top:`50%`,left:`50%`,transform:`translate(-50%, -46%)`}},A=[`value`],j=[`onClick`],ne={style:{position:`absolute`,top:`50%`,left:`50%`,transform:`translate(-50%, -46%)`}},re=[`value`],M=/*#__PURE__*/ t({__name:`ColorPicker`,props:{value:{type:String,default:`#ffffff`},size:{type:String,default:`50px`},backgroundColor:{type:String,default:`#FFFFFF`},buttonBorderColor:{type:String,default:`#FFFFFF`},teleported:{type:Boolean,default:!1},isCursorPointer:{type:Boolean,default:!1},palette:{type:Array,default:()=>[`#000000`,`#FFFFFF`,`#FF5733`,`#33FF57`,`#3357FF`,`#FFC300`,`#800080`,`#FF1493`,`#00CED1`]}},emits:[`update:value`],setup(t,{emit:M}){te(e=>({v22adcab1:t.buttonBorderColor}));let N=t,P=M,F=y(null),I=y(null),L=y(null),R=y(!1),z=y(!1),B=y({top:0,left:0}),V=o(()=>({backgroundColor:N.value,width:`100%`,height:`100%`,cursor:N.isCursorPointer?`pointer`:`default`})),H=o(()=>e(N.value));function U(e){P(`update:value`,e),R.value=!1}function W(e){P(`update:value`,e.target.value)}function G(e){e?.stopPropagation?.(),z.value=!0,L.value?.click()}function K(){R.value=!1}function q(){!z.value&&R.value&&K()}async function J(){R.value=!R.value,R.value&&N.teleported&&(await p(),Y())}function Y(){if(!I.value)return;let e=I.value.getBoundingClientRect();B.value={top:e.top+36,left:e.right-48}}function X(){R.value&&N.teleported&&Y()}function Z(){setTimeout(()=>z.value=!1,0)}C(e=>{let t=L.value;if(!t)return;let n=()=>Z(),r=()=>Z(),i=()=>{};t.addEventListener(`blur`,n),t.addEventListener(`change`,r),t.addEventListener(`input`,i),e(()=>{t.removeEventListener(`blur`,n),t.removeEventListener(`change`,r),t.removeEventListener(`input`,i)})});function Q(){Z()}function $(){document.visibilityState===`visible`&&Z()}return _(()=>{window.addEventListener(`scroll`,X,{passive:!0}),window.addEventListener(`resize`,X,{passive:!0}),window.addEventListener(`focus`,Q),document.addEventListener(`visibilitychange`,$)}),g(()=>{window.removeEventListener(`scroll`,X),window.removeEventListener(`resize`,X),window.removeEventListener(`focus`,Q),document.removeEventListener(`visibilitychange`,$)}),S(()=>N.value,e=>{L.value&&(L.value.value=e)}),(e,o)=>w((v(),l(`div`,{ref_key:`wrapperRef`,ref:F,onKeydown:T(q,[`esc`]),style:{height:`100%`,width:`100%`,position:`relative`},"aria-expanded":R.value?`true`:`false`,"aria-haspopup":`dialog`,"aria-label":`Choose color. Current color ${t.value}`},[u(`button`,{ref_key:`buttonRef`,ref:I,class:`icon`,onClick:J,style:h(V.value),type:`button`},[x(e.$slots,`annotator-action-color`,m(f({color:H.value})),()=>[d(n,{name:`palette`,stroke:H.value,size:22},null,8,[`stroke`])],!0)],4),R.value&&!t.teleported?(v(),l(`div`,{key:0,class:`vue-ui-color-picker`,role:`dialog`,"aria-label":`Color picker`,style:h({backgroundColor:t.backgroundColor,position:`absolute`,left:`calc(100% + 30px)`,top:`50%`,transform:`translateY(-18%)`}),onMousedown:o[2]||=E(()=>{},[`stop`]),onClick:o[3]||=E(()=>{},[`stop`]),onTouchstart:o[4]||=E(()=>{},[`stop`]),onKeydown:T(q,[`esc`])},[(v(!0),l(i,null,b(t.palette,e=>(v(),l(`button`,{key:e,"aria-label":`Select color ${e}`,"aria-pressed":t.value===e?`true`:`false`,class:`vue-ui-color-picker-option`,type:`button`,style:h({backgroundColor:e,outline:`1px solid ${t.buttonBorderColor}`,cursor:t.isCursorPointer?`pointer`:`default`}),onClick:()=>U(e)},null,12,O))),128)),u(`button`,{class:`vue-ui-color-picker-option`,type:`button`,style:h({backgroundColor:t.value,outline:`1px solid ${t.buttonBorderColor}`,cursor:t.isCursorPointer?`pointer`:`default`}),"aria-label":`Open native color picker`,onClick:E(G,[`stop`]),onMousedown:o[0]||=E(()=>{},[`stop`]),onTouchstart:o[1]||=E(()=>{},[`stop`])},[u(`div`,k,[d(n,{name:`colorPicker`,stroke:H.value,size:22},null,8,[`stroke`])]),u(`input`,{ref_key:`colorInput`,ref:L,type:`color`,value:t.value,class:`hidden-input`,onInput:W},null,40,A)],36)],36)):c(``,!0),R.value&&t.teleported?(v(),s(a,{key:1,to:`body`},[u(`div`,{tabindex:`0`,class:`vue-ui-color-picker`,style:h({backgroundColor:t.backgroundColor,position:`fixed`,top:B.value.top+`px`,left:B.value.left+`px`,zIndex:2147483647}),onMousedown:o[7]||=E(()=>{},[`stop`]),onClick:o[8]||=E(()=>{},[`stop`]),onTouchstart:o[9]||=E(()=>{},[`stop`])},[(v(!0),l(i,null,b(t.palette,e=>(v(),l(`button`,{key:e,class:`vue-ui-color-picker-option`,type:`button`,style:h({backgroundColor:e,outline:`1px solid ${t.buttonBorderColor}`,cursor:t.isCursorPointer?`pointer`:`default`}),onClick:()=>U(e)},null,12,j))),128)),u(`button`,{class:`vue-ui-color-picker-option`,type:`button`,style:h({backgroundColor:t.value,outline:`1px solid ${t.buttonBorderColor}`,cursor:t.isCursorPointer?`cursor`:`default`}),onClick:E(G,[`stop`]),onMousedown:o[5]||=E(()=>{},[`stop`]),onTouchstart:o[6]||=E(()=>{},[`stop`])},[u(`div`,ne,[d(n,{name:`colorPicker`,stroke:H.value,size:22},null,8,[`stroke`])]),u(`input`,{ref_key:`colorInput`,ref:L,type:`color`,value:t.value,class:`hidden-input`,onInput:W},null,40,re)],36)],36)])):c(``,!0)],40,D)),[[ee(r),q]])}},[[`__scopeId`,`data-v-f18faf44`]]);export{M as t};
@@ -0,0 +1 @@
1
+ import{t as e}from"./Shape-Bp9YNtPc.js";import{t}from"./_plugin-vue_export-helper-BDNMzG2s.js";import{t as n}from"./BaseIcon-DdIyewwY.js";import{Fragment as r,computed as i,createCommentVNode as a,createElementBlock as o,createElementVNode as s,createVNode as c,normalizeClass as l,normalizeStyle as u,onMounted as d,openBlock as f,ref as p,renderList as m,renderSlot as h,toDisplayString as g,unref as _,useCssVars as v,withKeys as y}from"vue";var b={class:`vue-ui-data-table`},x={style:{display:`flex`,"align-items":`center`,"justify-content":`flex-end`,"padding-right":`3px`,gap:`3px`}},S={style:{width:`12px`,height:`12px`}},C={key:0,height:`12`,width:`12`,viewBox:`0 0 20 20`,style:{background:`none`}},w=[`fill`],T=[`data-cell`],E={dir:`auto`,style:{display:`flex`,"align-items":`center`,gap:`5px`,"justify-content":`flex-end`,width:`100%`,"padding-right":`3px`}},D={key:0,height:`12`,width:`12`,viewBox:`0 0 20 20`,style:{background:`none`,overflow:`visible`}},O=/*#__PURE__*/ t({__name:`DataTable`,props:{colNames:{type:Array,default(){return[]}},head:Array,body:Array,title:String,config:Object,withCloseButton:{type:Boolean,default:!0},isCursorPointer:{type:Boolean,default:!1}},emits:[`close`],setup(t,{emit:O}){v(e=>({v7ded12c6:_(F)}));let k=t,{backgroundColor:A,color:j,outline:M}=k.config.th,{backgroundColor:N,color:P,outline:F}=k.config.td,I=i(()=>k.config.breakpoint),L=p(null),R=p(!1);d(()=>{let e=new ResizeObserver(e=>{e.forEach(e=>{R.value=e.contentRect.width<I.value})});L.value&&e.observe(L.value)});let z=O;return(i,d)=>(f(),o(`div`,{ref_key:`tableContainer`,ref:L,style:u(`width: 100%; container-type: inline-size; position:relative;${t.withCloseButton?`padding-top: 36px;`:``}overflow:auto`),class:l({"atom-data-table":!0,"vue-ui-responsive":R.value})},[t.withCloseButton?(f(),o(`div`,{key:0,"data-dom-to-png-ignore":``,role:`button`,tabindex:`0`,style:u(`width:32px; position: absolute; top: 0; right:4px; padding: 0 0px; display: flex; align-items:center;justify-content:center;height: 36px; width: 32px; cursor:${t.isCursorPointer?`pointer`:`default`}; background:${_(A)};`),onClick:d[0]||=e=>z(`close`),onKeypress:d[1]||=y(e=>z(`close`),[`enter`])},[c(n,{name:`close`,stroke:_(j),"stroke-width":2},null,8,[`stroke`])],36)):a(``,!0),s(`table`,b,[s(`caption`,{style:u({backgroundColor:_(A),color:_(j),outline:_(M)}),class:`vue-ui-data-table__caption`},g(t.title),5),s(`thead`,null,[s(`tr`,{role:`row`,style:u([{"font-variant-numeric":`tabular-nums`},{backgroundColor:_(A),color:_(j)}]),class:`vue-ui-data-table__thead-row`},[(f(!0),o(r,null,m(t.head,(e,t)=>(f(),o(`th`,{role:`cell`,style:u({outline:_(M)}),key:`th_${t}`},[s(`div`,x,[s(`div`,S,[e?.color?(f(),o(`svg`,C,[s(`circle`,{cx:`10`,cy:`10`,r:`10`,fill:e.color},null,8,w)])):a(``,!0)]),h(i.$slots,`th`,{th:e},void 0,!0)])],4))),128))],4)]),s(`tbody`,null,[(f(!0),o(r,null,m(t.body,(n,d)=>(f(),o(`tr`,{role:`row`,style:u([{"font-variant-numeric":`tabular-nums`},{backgroundColor:_(N),color:_(P)}]),class:l({"vue-ui-data-table__tbody__row":!0,"vue-ui-data-table__tbody__row-even":d%2==0,"vue-ui-data-table__tbody__row-odd":d%2!=0})},[(f(!0),o(r,null,m(n,(n,r)=>(f(),o(`td`,{role:`cell`,"data-cell":(t.colNames[r]&&t.colNames[r].name?t.colNames[r].name:``)||t.colNames[r]||``,style:u({outline:_(F)}),class:`vue-ui-data-table__tbody__td`},[s(`div`,E,[n?.color?(f(),o(`svg`,D,[c(e,{plot:{x:10,y:10},color:n.color,radius:9,shape:t.config.shape||n.shape||`circle`},null,8,[`color`,`shape`])])):a(``,!0),h(i.$slots,`td`,{td:n},void 0,!0)])],12,T))),256))],6))),256))])])],6))}},[[`__scopeId`,`data-v-c3927505`]]);export{O as default};
@@ -0,0 +1 @@
1
+ import{Fragment as e,createElementBlock as t,mergeProps as n,openBlock as r,renderList as i}from"vue";var a=[`id`],o=[`offset`,`stop-color`,`stop-opacity`],s=[`id`],c=[`offset`,`stop-color`,`stop-opacity`],l=/*@__PURE__*/ Object.assign({inheritAttrs:!1},{__name:`DefGrad`,props:{id:{type:String,required:!0},t:{type:String,required:!0,validator:e=>[`linear`,`radial`].includes(e)},stops:{type:Array,required:!0,validator:e=>e.every(e=>Array.isArray(e)&&e.length===3&&[`number`,`string`,`number`].includes(typeof e[0])&&typeof e[1]==`string`&&typeof e[2]==`number`)}},setup(l){return(u,d)=>l.t===`linear`?(r(),t(`linearGradient`,n({key:0},u.$attrs,{id:l.id}),[(r(!0),t(e,null,i(l.stops,([e,n,i],a)=>(r(),t(`stop`,{key:a,offset:e,"stop-color":n,"stop-opacity":i},null,8,o))),128))],16,a)):(r(),t(`radialGradient`,n({key:1},u.$attrs,{id:l.id}),[(r(!0),t(e,null,i(l.stops,([e,n,i],a)=>(r(),t(`stop`,{key:a,offset:e,"stop-color":n,"stop-opacity":i},null,8,c))),128))],16,s))}});export{l as t};
@@ -0,0 +1 @@
1
+ import{t as e}from"./_plugin-vue_export-helper-BDNMzG2s.js";import{t}from"./BaseIcon-DdIyewwY.js";import{Fragment as n,computed as r,createCommentVNode as i,createElementBlock as a,createElementVNode as o,createVNode as s,normalizeClass as c,normalizeStyle as l,onBeforeUnmount as u,onMounted as d,openBlock as f,ref as p,renderSlot as m,toDisplayString as h}from"vue";var g=[`aria-label`],_=[`aria-label`],v=[`aria-label`],y=/*#__PURE__*/ e(/* @__PURE__ */ Object.assign({name:`HillActions`},{__name:`HillActions`,props:{isEditing:{type:Boolean,default:!1},isEditable:{type:Boolean,default:!0},isFullscreen:{type:Boolean,default:!1},position:{type:String,default:`left`,validator:e=>[`left`,`right`].includes(e)},color:{type:String,default:`#2D353C`},backgroundColor:{type:String,default:`#FFFFFF`},translations:{type:Object,default(){return{edit:`Edit`,cancel:`Cancel`,save:`Save`}}},showTooltips:{type:Boolean,default:!0},isCursorPointer:{type:Boolean,default:!1},zIndex:{type:Number,default:1}},emits:[`update`,`cancel`,`save`],setup(e,{emit:y}){let b=e,x=y,S=p(!0),C=p(null),w=r(()=>({zIndex:b.zIndex,position:b.isFullscreen?`fixed`:`absolute`,top:`0`,left:b.position===`left`?b.isFullscreen?`12px`:`0`:`auto`,right:b.position===`right`?b.isFullscreen?`12px`:`0`:`auto`,height:`36px`,padding:`4px`,background:`transparent`,display:`flex`,alignItems:`center`,gap:`4px`,overflow:`visible`})),T=r(()=>({cursor:b.isCursorPointer?`pointer`:`default`,background:b.backgroundColor,color:b.color}));function E(){if(typeof window>`u`){S.value=!0;return}S.value=window.innerWidth>600}function D(e){E(),C.value=e}function O(e){C.value===e&&(C.value=null)}function k(e){return{"button-info-left":b.position===`left`,"button-info-right":b.position===`right`,"button-info-left-visible":b.position===`left`&&C.value===e,"button-info-right-visible":b.position===`right`&&C.value===e}}function A(e){b.showTooltips&&D(e)}function j(e){O(e),x(e)}return d(()=>{E(),window.addEventListener(`resize`,E,{passive:!0})}),u(()=>{window.removeEventListener(`resize`,E)}),(r,u)=>e.isEditable?(f(),a(`div`,{key:0,class:`vue-ui-hill-actions`,style:l(w.value),"data-dom-to-png-ignore":``},[e.isEditing?(f(),a(n,{key:1},[o(`button`,{type:`button`,class:`vue-ui-hill-actions__button`,style:l(T.value),"aria-label":e.translations.cancel,onMouseenter:u[5]||=e=>A(`cancel`),onMouseout:u[6]||=e=>O(`cancel`),onFocus:u[7]||=e=>A(`cancel`),onBlur:u[8]||=e=>O(`cancel`),onClick:u[9]||=e=>j(`cancel`)},[m(r.$slots,`hill-cancel`,{},()=>[s(t,{name:`circleCancel`,stroke:e.color,style:{"pointer-events":`none`}},null,8,[`stroke`])],!0),e.showTooltips&&S.value&&e.translations.cancel?(f(),a(`div`,{key:0,dir:`auto`,class:c(k(`cancel`)),style:l({background:e.backgroundColor,color:e.color})},h(e.translations.cancel),7)):i(``,!0)],44,_),o(`button`,{type:`button`,class:`vue-ui-hill-actions__button`,style:l(T.value),"aria-label":e.translations.save,onMouseenter:u[10]||=e=>A(`save`),onMouseout:u[11]||=e=>O(`save`),onFocus:u[12]||=e=>A(`save`),onBlur:u[13]||=e=>O(`save`),onClick:u[14]||=e=>j(`save`)},[m(r.$slots,`hill-save`,{},()=>[s(t,{name:`save`,stroke:e.color,style:{"pointer-events":`none`}},null,8,[`stroke`])],!0),e.showTooltips&&S.value&&e.translations.save?(f(),a(`div`,{key:0,dir:`auto`,class:c(k(`save`)),style:l({background:e.backgroundColor,color:e.color})},h(e.translations.save),7)):i(``,!0)],44,v)],64)):(f(),a(`button`,{key:0,type:`button`,class:`vue-ui-hill-actions__button`,style:l(T.value),"aria-label":e.translations.edit,onMouseenter:u[0]||=e=>A(`update`),onMouseout:u[1]||=e=>O(`update`),onFocus:u[2]||=e=>A(`update`),onBlur:u[3]||=e=>O(`update`),onClick:u[4]||=e=>j(`update`)},[m(r.$slots,`hill-edit`,{},()=>[s(t,{name:`move`,stroke:e.color,style:{"pointer-events":`none`}},null,8,[`stroke`])],!0),e.showTooltips&&S.value&&e.translations.edit?(f(),a(`div`,{key:0,dir:`auto`,class:c(k(`update`)),style:l({background:e.backgroundColor,color:e.color})},h(e.translations.edit),7)):i(``,!0)],44,g))],4)):i(``,!0)}}),[[`__scopeId`,`data-v-f3e67d0c`]]);export{y as default};
@@ -0,0 +1 @@
1
+ import{t as e}from"./rolldown-runtime-DK3Fl9T5.js";import{At as t}from"./lib-CV_IANZ6.js";import{t as n}from"./Shape-Bp9YNtPc.js";import{t as r}from"./_plugin-vue_export-helper-BDNMzG2s.js";import{Fragment as i,createBlock as a,createCommentVNode as o,createElementBlock as s,createElementVNode as c,mergeProps as l,normalizeClass as u,normalizeStyle as d,openBlock as f,renderList as p,renderSlot as m,unref as h}from"vue";var g=/* @__PURE__ */ e({default:()=>w}),_=[`id`],v=[`role`,`tabindex`,`onKeydown`,`onFocus`],y=[`onClick`,`width`,`viewBox`],b={key:0},x=[`id`],S=[`offset`,`stop-color`],C=[`fill`],w=/*#__PURE__*/ r({__name:`Legend`,props:{legendSet:{type:Array,default(){return[]}},config:{type:Object,default(){return{}}},id:{type:String,default:``},clickable:{type:Boolean,default:!0},isCursorPointer:{type:Boolean,default:!1}},emits:[`clickMarker`,`focusMarker`],setup(e,{emit:r}){let g=e,w=r;function T(e,t){g.clickable&&w(`clickMarker`,{legend:e,i:t})}function E(e,t,n){g.clickable&&(e.key===`Enter`||e.key===` `)&&(e.preventDefault(),T(t,n))}function D(e,t,n){e.preventDefault(),w(`focusMarker`,{legend:t,i:n})}function O(e){return Array.isArray(e.gradientColors)&&e.gradientColors.length}function k(e,t){let n=g.id||g.config.cy||`legend`,r=O(e)?e.gradientColors.join(`_`):``;return`${n}_${e.seriesIndex??t}_${t}_${r}_gradient`.replace(/[^a-zA-Z0-9_-]/g,`_`).slice(0,160)}function A(e,t){return t===1?`0%`:`${e/(t-1)*100}%`}function j(e){return O(e)?`0 0 90 60`:e.shape&&e.shape===`star`?`-10 -10 80 80`:`0 0 60 60`}return(r,g)=>(f(),s(`div`,{id:e.id,class:`vue-data-ui-legend`,style:d({background:e.config.backgroundColor,color:e.config.color,paddingBottom:(e.config.paddingBottom??0)+`px`,paddingTop:(e.config.paddingTop??12)+`px`,fontWeight:e.config.fontWeight,fontSize:`var(--legend-font-size, ${e.config.fontSize??14}px)`})},[m(r.$slots,`legendTitle`,{titleSet:e.legendSet},void 0,!0),m(r.$slots,`legendToggle`,{},void 0,!0),(f(!0),s(i,null,p(e.legendSet,(g,_)=>(f(),s(`div`,{key:`legend_${_}`,class:u({"vue-data-ui-legend-item":!0,active:e.clickable&&e.isCursorPointer}),role:e.clickable?`button`:void 0,tabindex:e.clickable?0:void 0,onKeydown:e=>E(e,g,_),onFocus:e=>D(e,g,_)},[g.shape?(f(),s(`svg`,{key:0,onClick:e=>T(g,_),height:`1em`,width:O(g)?`1.4em`:`1em`,viewBox:j(g),style:d(`overflow: visible; opacity:${g.opacity}`),"aria-hidden":`true`},[O(g)?(f(),s(`defs`,b,[c(`linearGradient`,{id:k(g,_),x1:`0%`,y1:`0%`,x2:`100%`,y2:`0%`},[(f(!0),s(i,null,p(g.gradientColors,(e,t)=>(f(),s(`stop`,{key:`legend_gradient_${_}_${t}`,offset:A(t,g.gradientColors.length),"stop-color":e},null,8,S))),128))],8,x)])):o(``,!0),O(g)?(f(),s(`rect`,{key:1,x:`3`,y:`12`,width:`84`,height:`38`,rx:`21`,stroke:`none`,fill:`url(#${k(g,_)})`},null,8,C)):(f(),a(n,{key:2,stroke:`none`,shape:g.shape,radius:30,plot:{x:30,y:g.shape===`triangle`?36:30},fill:g.color},null,8,[`shape`,`plot`,`fill`])),m(r.$slots,`legend-pattern`,l({ref_for:!0},{legend:g,index:h(t)(g.absoluteIndex)?g.absoluteIndex:_}),void 0,!0)],12,y)):o(``,!0),m(r.$slots,`item`,{legend:g,index:_},void 0,!0)],42,v))),128)),m(r.$slots,`after`,{},void 0,!0)],12,_))}},[[`__scopeId`,`data-v-a5e2fb14`]]);export{g as n,w as t};
@@ -0,0 +1 @@
1
+ import{$ as e,Ft as t,X as n,t as r}from"./lib-CV_IANZ6.js";import{t as i}from"./_plugin-vue_export-helper-BDNMzG2s.js";import{t as a}from"./BaseIcon-DdIyewwY.js";import{t as o}from"./ColorPicker-MLwiwxl5.js";import{Fragment as s,computed as c,createCommentVNode as l,createElementBlock as u,createElementVNode as d,createVNode as f,guardReactiveProps as p,nextTick as ee,normalizeClass as m,normalizeProps as h,normalizeStyle as g,onBeforeUnmount as te,onMounted as ne,openBlock as _,ref as v,renderList as y,renderSlot as b,toDisplayString as x,unref as re,vModelText as ie,watch as S,withCtx as ae,withDirectives as oe,withModifiers as se}from"vue";var ce=[`disabled`],le=[`data-mode`,`xmlns`,`viewBox`],ue=[`cx`,`cy`,`r`,`fill`],de=[`x1`,`y1`,`x2`,`y2`,`stroke`,`stroke-width`],fe=[`x1`,`y1`,`x2`,`y2`,`stroke`,`stroke-width`,`marker-end`],pe=[`d`,`stroke`,`stroke-width`],me=[`x`,`y`,`fill`,`font-size`],he=[`x`,`dy`],ge=[`d`,`stroke`,`stroke-width`],_e=/*#__PURE__*/ i({__name:`NonSvgPenAndPaper`,props:{parent:{type:HTMLElement},backgroundColor:{type:String,default:`#FFFFFF`},color:{type:String,default:`#2D353C`},active:{type:Boolean,default:!1},isCursorPointer:{type:Boolean,default:!1}},emits:[`close`],setup(i,{emit:_e}){let C=i,ve=_e,w=v([]),T=v([]),ye=v(`0 0 0 0`),E=v(C.color),D=v(1),O=v(null),k=v(!1),A=v(null),j=v({x:0,y:0}),M=v([``]),N=v({row:0,col:0}),P=v(16),be=1,F=[`arrow`,`text`,`line`,`draw`],I=v(0),L=c(()=>F[I.value]),R=v(null);v(null),v(null);let z=v(`arrow-${n()}`),B=v(`arrow-def-${n()}`),xe={arrow:`plotArrow`,text:`text`,line:`plotLine`,draw:`annotator`};function Se(){I.value+1>=F.length?I.value=0:I.value+=1}function V(){return be++}function Ce(e){let t=J.value;if(!t)return{x:0,y:0};let n=t.createSVGPoint(),r=e.touches?.length||e.changedTouches?.length?e.touches?.[0]||e.changedTouches?.[0]:null,i=r?r.clientX:e.clientX,a=r?r.clientY:e.clientY;n.x=i,n.y=a;let o=t.getScreenCTM()?.inverse();return o?n.matrixTransform(o):{x:0,y:0}}function H(e){if(!O.value||L.value!==`text`||k.value)return;let{x:t,y:n}=Ce(e);j.value={x:t,y:n},M.value=[``],N.value={row:0,col:0};let r=document.createElementNS(`http://www.w3.org/2000/svg`,`text`);r.setAttribute(`x`,t),r.setAttribute(`y`,n),r.setAttribute(`fill`,E.value),r.setAttribute(`font-size`,P.value),r.setAttribute(`font-family`,`sans-serif`),r.setAttribute(`class`,`vue-data-ui-doodle`),r.setAttribute(`dominant-baseline`,`hanging`),r.setAttribute(`pointer-events`,`all`);let i=document.createElementNS(`http://www.w3.org/2000/svg`,`tspan`);i.setAttribute(`x`,t),i.setAttribute(`dy`,`0`),i.textContent=``,r.appendChild(i),r.style.pointerEvents=`none`,r.style.userSelect=`none`,O.value.appendChild(r),A.value=r,k.value=!0,window.addEventListener(`keydown`,we),window.addEventListener(`mousedown`,De,!0),Te(),Ee()}function we(e){if(!k.value)return;let{row:t,col:n}=N.value,r=M.value.slice(),i=!1;if(e.key===`Enter`){let a=r[t],o=a.slice(0,n),s=a.slice(n);r.splice(t,1,o,s),t+=1,n=0,i=!0,e.preventDefault()}else if(e.key===`Backspace`){if(n>0)r[t]=r[t].slice(0,n-1)+r[t].slice(n),--n,i=!0;else if(t>0){let e=r[t-1].length;r[t-1]+=r[t],r.splice(t,1),--t,n=e,i=!0}e.preventDefault()}else if(e.key===`Delete`)n<r[t].length?(r[t]=r[t].slice(0,n)+r[t].slice(n+1),i=!0):t<r.length-1&&(r[t]+=r[t+1],r.splice(t+1,1),i=!0),e.preventDefault();else if(e.key===`ArrowLeft`)n>0?--n:t>0&&(--t,n=r[t].length),i=!0,e.preventDefault();else if(e.key===`ArrowRight`)n<r[t].length?n+=1:t<r.length-1&&(t+=1,n=0),i=!0,e.preventDefault();else if(e.key===`ArrowUp`)t>0&&(--t,n=Math.min(n,r[t].length),i=!0),e.preventDefault();else if(e.key===`ArrowDown`)t<r.length-1&&(t+=1,n=Math.min(n,r[t].length),i=!0),e.preventDefault();else if(e.key.length===1&&!e.ctrlKey&&!e.metaKey&&!e.altKey)r[t]=r[t].slice(0,n)+e.key+r[t].slice(n),n+=1,i=!0,e.preventDefault();else if(e.key===`Escape`){Oe(!0);return}else e.key===`Tab`&&e.preventDefault();i&&(M.value=r,N.value={row:t,col:n},Te(),Ee())}function Te(){let e=A.value,{x:t,y:n}=j.value;for(;e.firstChild;)e.removeChild(e.firstChild);M.value.forEach((n,r)=>{let i=document.createElementNS(`http://www.w3.org/2000/svg`,`tspan`);i.setAttribute(`x`,t),i.setAttribute(`dy`,r===0?`0`:`${P.value*1.2}`),i.textContent=n.length?n:`​`,e.appendChild(i)})}function Ee(){let e=O.value.querySelector(`.vue-data-ui-svg-caret`);e&&O.value.removeChild(e);let t=A.value;if(!t)return;let{x:n,y:r}=j.value,{row:i,col:a}=N.value,o=P.value,s=t.childNodes[i];if(!s)return;let c=s.textContent.slice(0,a);c.endsWith(` `)&&(c+=`\xA0`);let l=document.createElementNS(`http://www.w3.org/2000/svg`,`text`);l.setAttribute(`x`,n),l.setAttribute(`y`,r),l.setAttribute(`font-size`,o),l.setAttribute(`font-family`,`sans-serif`),l.textContent=c||``,O.value.appendChild(l);let u=l.getBBox();O.value.removeChild(l);let d=r+i*o*1.2,f=n+u.width,p=document.createElementNS(`http://www.w3.org/2000/svg`,`rect`);p.setAttribute(`x`,f),p.setAttribute(`y`,d),p.setAttribute(`width`,1),p.setAttribute(`height`,o),p.setAttribute(`fill`,E.value),p.setAttribute(`class`,`vue-data-ui-svg-caret`),O.value.appendChild(p)}function De(e){if(A.value&&!A.value.contains(e.target)){let e=A.value.children;e.length===1&&(e[0].textContent===``||e[0].textContent===`​`)&&A.value.remove(),Oe(!1)}}function Oe(e=!1){window.removeEventListener(`keydown`,we),window.removeEventListener(`mousedown`,De,!0);let t=O.value?.querySelector(`.vue-data-ui-svg-caret`);t&&O.value.removeChild(t);let n=M.value.every(e=>!e||e===`​`);e||n||w.value.push({id:V(),type:`text`,x:j.value.x,y:j.value.y,color:E.value,fontSize:P.value,lines:M.value.map(e=>e)}),A.value&&O.value&&O.value.contains(A.value)&&O.value.removeChild(A.value),k.value=!1,A.value=null,M.value=[``],N.value={row:0,col:0}}let U=c(()=>t(C.color,.6));function W({width:e,height:t}){ye.value=`0 0 ${e} ${t}`}let G=v(null);ne(()=>{ee(()=>{if(C.parent){G.value=new ResizeObserver(e=>{for(let t of e){let{width:e,height:n}=t.contentRect;W({width:e,height:n})}}),G.value.observe(C.parent);let{width:e,height:t}=C.parent.getBoundingClientRect();W({width:e,height:t})}}),O.value=J.value.querySelector(`g`)}),te(()=>{G.value&&G.value.disconnect()}),S(()=>C.parent,e=>{if(!e)return;let{width:t,height:n}=C.parent.getBoundingClientRect();W({width:t,height:n})},{immediate:!0}),S(L,e=>{J.value&&(J.value.removeEventListener(`mousedown`,H),J.value.removeEventListener(`touchstart`,H),e===`text`&&(J.value.addEventListener(`mousedown`,H),J.value.addEventListener(`touchstart`,H,{passive:!1})))});let K=v(!1),q=v(``),J=v(null),Y=v(!1),ke=v(null);S(()=>C.active,e=>{J.value&&(J.value.style.touchAction=e?`none`:``)},{immediate:!0});function Ae(e){if(e.cancelable&&e.preventDefault(),L.value!==`draw`||!J.value)return;K.value=!0;let{x:t,y:n}=Q(e);q.value=`M ${t} ${n}`}function je(e){if(e.cancelable&&e.preventDefault(),L.value!==`draw`||!K.value||!J.value)return;let{x:t,y:n}=Q(e);q.value+=` ${t} ${n}`}function Me(){let e=J.value;if(!e)return;let t=e.querySelector(`defs#${B.value}`);if(t||(t=document.createElementNS(r,`defs`),t.setAttribute(`id`,B.value),e.appendChild(t)),t.querySelector(`#${z.value}`))return;let n=document.createElementNS(r,`marker`);n.setAttribute(`id`,z.value),n.setAttribute(`markerUnits`,`strokeWidth`),n.setAttribute(`markerWidth`,`6`),n.setAttribute(`markerHeight`,`6`),n.setAttribute(`refX`,`4`),n.setAttribute(`refY`,`3`),n.setAttribute(`orient`,`auto`),n.setAttribute(`viewBox`,`0 0 6 6`);let i=document.createElementNS(r,`path`);i.setAttribute(`d`,`M 0 0 L 6 3 L 0 6 z`),i.setAttribute(`fill`,`context-stroke`),i.setAttribute(`stroke`,`none`),n.appendChild(i),t.appendChild(n)}function Ne(e){if(e.cancelable&&e.preventDefault(),![`line`,`arrow`].includes(L.value)||!J.value||!O.value)return;L.value===`arrow`&&Me(),Y.value=!0;let{x:t,y:n}=Q(e);ke.value={x:t,y:n},R.value=document.createElementNS(r,`line`),R.value.setAttribute(`x1`,t),R.value.setAttribute(`y1`,n),R.value.setAttribute(`x2`,t),R.value.setAttribute(`y2`,n),R.value.setAttribute(`stroke`,E.value),R.value.setAttribute(`stroke-width`,D.value),R.value.setAttribute(`stroke-linecap`,`round`),R.value.setAttribute(`class`,`vue-data-ui-doodle`),L.value===`arrow`&&R.value.setAttribute(`marker-end`,`url(#${z.value})`),O.value.appendChild(R.value)}function Pe(e){if(e.cancelable&&e.preventDefault(),![`line`,`arrow`].includes(L.value)||!Y.value||!R.value)return;let{x:t,y:n}=Q(e);R.value.setAttribute(`x2`,t),R.value.setAttribute(`y2`,n)}function X(e){if(e?.cancelable&&e.preventDefault(),!Y.value||!R.value)return;let{x:t,y:n}=Q(e);R.value.setAttribute(`x2`,t),R.value.setAttribute(`y2`,n),w.value.push({id:V(),type:L.value,x1:parseFloat(R.value.getAttribute(`x1`)),y1:parseFloat(R.value.getAttribute(`y1`)),x2:t,y2:n,strokeWidth:D.value,color:E.value}),T.value=[],O.value.contains(R.value)&&O.value.removeChild(R.value),R.value=null,ke.value=null,Y.value=!1}function Fe(e){let t=e.trim().split(/\s+/);if(t.length<4)return e;let n=t.slice(1).map(Number);if(n.length%2!=0)return e;let r=Ie(n),i=[`M ${r[0]} ${r[1]}`];for(let e=2;e<r.length-2;e+=2){let t=r[e-2],n=r[e-1],a=r[e],o=r[e+1],s=(t+a)/2,c=(n+o)/2;i.push(`Q ${t} ${n} ${s} ${c}`)}let a=r[r.length-2],o=r[r.length-1];return i.push(`L ${a} ${o}`),i.join(` `)}function Ie(e,t=1){let n=[...e];for(let r=2;r<e.length-2;r+=2){let i=e[r],a=e[r+1],o=e[r-2],s=e[r-1],c=e[r+2],l=e[r+3];n[r]=i+t*((o+c)/2-i),n[r+1]=a+t*((s+l)/2-a)}return n}function Le(e){let t=e.trim().split(/\s+/),n=``,r=``,i=null,a=null;for(let e=0;e<t.length;e+=1){let o=t[e];if(isNaN(o)){if(r=o,r===`M`||r===`L`)i=parseFloat(t[++e]),a=parseFloat(t[++e]),n+=`${r}${i} ${a}`;else if(r===`Q`){let r=parseFloat(t[++e]),o=parseFloat(t[++e]),s=parseFloat(t[++e]),c=parseFloat(t[++e]);n+=r===i&&o===a?`t${s-i} ${c-a}`:`q${r-i} ${o-a} ${s-i} ${c-a}`,i=s,a=c}}else{let s=parseFloat(o),c=parseFloat(t[++e]);if(r===`L`){let e=s-i,t=c-a;n+=e===0?`v${t}`:t===0?`h${e}`:`l${e} ${t}`,i=s,a=c}else if(r===`Q`){let r=s,o=c,l=parseFloat(t[++e]),u=parseFloat(t[++e]);n+=r===i&&o===a?`t${l-i} ${u-a}`:`q${r-i} ${o-a} ${l-i} ${u-a}`,i=l,a=u}}}return n}function Z(e){e?.cancelable&&e.preventDefault(),L.value===`draw`&&(K.value&&(w.value.push({id:V(),strokeWidth:D.value,path:Le(Fe(q.value)),color:E.value}),T.value=[],q.value=``),K.value=!1)}function Q(e){if(!J.value)return{x:0,y:0};let t=J.value.getBoundingClientRect(),n=e.touches?.length||e.changedTouches?.length?e.touches?.[0]||e.changedTouches?.[0]:null,r=n?n.clientX:e.clientX,i=n?n.clientY:e.clientY;return{x:r-t.left,y:i-t.top}}function Re(){if(w.value.length>0){let e=w.value.pop();T.value.push(e)}}function ze(){if(T.value.length>0){let e=T.value.pop();w.value.push(e)}}function Be(){w.value=[],T.value=[]}let $=v(null);return(t,n)=>(_(),u(s,null,[i.active?(_(),u(`div`,{key:0,"data-dom-to-png-ignore":``,class:m({"vue-ui-pen-and-paper-actions":!0,visible:i.active}),style:g({backgroundColor:i.backgroundColor})},[d(`button`,{class:`vue-ui-pen-and-paper-action`,style:g({backgroundColor:i.backgroundColor,border:`1px solid ${U.value}`,cursor:i.isCursorPointer?`pointer`:`default`}),onClick:n[0]||=e=>ve(`close`)},[b(t.$slots,`annotator-action-close`,{},()=>[f(a,{name:`close`,stroke:i.color},null,8,[`stroke`])],!0)],4),d(`button`,{class:m({"vue-ui-pen-and-paper-action":!0}),style:g({padding:`0 !important`,cursor:i.isCursorPointer?`pointer`:`default`})},[f(o,{value:E.value,"onUpdate:value":n[1]||=e=>E.value=e,backgroundColor:i.backgroundColor,buttonBorderColor:U.value},{"annotator-action-color":ae(({color:e})=>[b(t.$slots,`annotator-action-color`,h(p({color:e})),void 0,!0)]),_:3},8,[`value`,`backgroundColor`,`buttonBorderColor`])],4),d(`button`,{class:m([`vue-ui-pen-and-paper-action`,{"vue-ui-pen-and-paper-action-active":L.value===`text`}]),onClick:n[2]||=e=>Se(),style:g({backgroundColor:i.backgroundColor,border:`1px solid ${U.value}`,cursor:i.isCursorPointer?`pointer`:`default`})},[b(t.$slots,`annotator-action-draw`,h(p({mode:L.value})),()=>[f(a,{name:xe[L.value],stroke:i.color},null,8,[`name`,`stroke`])],!0),d(`div`,{style:g({position:`absolute`,bottom:`-20px`,color:U.value,width:`100%`,textAlign:`center`,fontSize:`12px`})},x(re(e)({v:L.value===`text`?P.value:D.value,s:`px`,r:1})),5)],6),d(`button`,{class:m({"vue-ui-pen-and-paper-action":!0,"vue-ui-pen-and-paper-action-disabled":!w.value.length}),disabled:!w.value.length,style:g({backgroundColor:i.backgroundColor,border:`1px solid ${U.value}`,marginTop:`20px`,cursor:i.isCursorPointer?`pointer`:`default`}),onClick:Re},[b(t.$slots,`annotator-action-undo`,h(p({disabled:!w.value.length})),()=>[f(a,{name:`refresh`,stroke:i.color},null,8,[`stroke`])],!0)],14,ce),d(`button`,{class:m({"vue-ui-pen-and-paper-action":!0,"vue-ui-pen-and-paper-action-disabled":!T.value.length}),style:g({backgroundColor:i.backgroundColor,border:`1px solid ${U.value}`,cursor:i.isCursorPointer?`pointer`:`default`}),onClick:ze},[b(t.$slots,`annotator-action-redo`,h(p({disabled:!T.value.length})),()=>[f(a,{name:`refresh`,stroke:i.color,style:{transform:`scaleX(-1)`}},null,8,[`stroke`])],!0)],6),d(`button`,{class:m([{"vue-ui-pen-and-paper-action":!0,"vue-ui-pen-and-paper-action-disabled":!w.value.length},`vue-ui-pen-and-paper-action`]),style:g({backgroundColor:i.backgroundColor,border:`1px solid ${U.value}`,cursor:i.isCursorPointer?`pointer`:`default`}),onClick:Be},[b(t.$slots,`annotator-action-delete`,h(p({disabled:!w.value.length})),()=>[f(a,{name:`trash`,stroke:i.color},null,8,[`stroke`])],!0)],6),L.value===`draw`?oe((_(),u(`input`,{key:0,ref_key:`range`,ref:$,type:`range`,class:`vertical-range`,min:.5,max:12,step:.1,"onUpdate:modelValue":n[3]||=e=>D.value=e,style:g({accentColor:i.color})},null,4)),[[ie,D.value]]):l(``,!0),L.value===`text`?oe((_(),u(`input`,{key:1,ref_key:`range`,ref:$,type:`range`,class:`vertical-range`,min:3,max:48,step:.1,"onUpdate:modelValue":n[4]||=e=>P.value=e,style:g({accentColor:i.color})},null,4)),[[ie,P.value]]):l(``,!0)],6)):l(``,!0),(_(),u(`svg`,{"data-mode":L.value,ref_key:`svgElement`,ref:J,xmlns:re(r),viewBox:ye.value,class:m({"vue-ui-pen-and-paper":!0,inactive:!i.active}),onMousedown:n[5]||=e=>L.value===`draw`?Ae(e):L.value===`line`||L.value===`arrow`?Ne(e):null,onMousemove:n[6]||=e=>L.value===`draw`?je(e):L.value===`line`||L.value===`arrow`?Pe(e):null,onMouseup:n[7]||=e=>L.value===`draw`?Z(e):L.value===`line`||L.value===`arrow`?X(e):null,onMouseleave:n[8]||=e=>L.value===`draw`?Z(e):L.value===`line`||L.value===`arrow`?X(e):null,onTouchstart:n[9]||=se(e=>L.value===`draw`?Ae(e):L.value===`line`||L.value===`arrow`?Ne(e):null,[`prevent`]),onTouchmove:n[10]||=se(e=>L.value===`draw`?je(e):L.value===`line`||L.value===`arrow`?Pe(e):null,[`prevent`]),onTouchend:n[11]||=e=>L.value===`draw`?Z(e):L.value===`line`||L.value===`arrow`?X(e):null,onTouchcancel:n[12]||=e=>L.value===`draw`?Z(e):L.value===`line`||L.value===`arrow`?X(e):null},[d(`g`,{ref_key:`G`,ref:O},[(_(!0),u(s,null,y(w.value,e=>(_(),u(s,{key:e.id},[e.path&&e.path.replace(`M`,``).split(` `).length===2?(_(),u(`circle`,{key:0,cx:e.path.replace(`M`,``).split(` `)[0],cy:e.path.replace(`M`,``).split(` `)[1],r:e.strokeWidth/2,fill:e.color},null,8,ue)):e.type===`line`?(_(),u(`line`,{key:1,class:`vue-ui-pen-and-paper-path`,x1:e.x1,y1:e.y1,x2:e.x2,y2:e.y2,stroke:e.color,"stroke-width":e.strokeWidth},null,8,de)):e.type===`arrow`?(_(),u(`line`,{key:2,class:`vue-ui-pen-and-paper-path`,x1:e.x1,y1:e.y1,x2:e.x2,y2:e.y2,stroke:e.color,"stroke-width":e.strokeWidth,"marker-end":`url(#${z.value})`},null,8,fe)):e.path?(_(),u(`path`,{key:3,class:`vue-ui-pen-and-paper-path`,d:e.path,stroke:e.color,"stroke-width":e.strokeWidth,fill:`none`},null,8,pe)):e.type===`text`?(_(),u(`text`,{key:4,x:e.x,y:e.y,fill:e.color,"font-size":e.fontSize,"font-family":`sans-serif`,"dominant-baseline":`hanging`,class:`vue-ui-pen-and-paper-text`},[(_(!0),u(s,null,y(e.lines,(t,n)=>(_(),u(`tspan`,{key:n,x:e.x,dy:n===0?`0`:e.fontSize*1.2},x(t.length?t:`​`),9,he))),128))],8,me)):l(``,!0)],64))),128))],512),K.value?(_(),u(`path`,{key:0,class:`vue-ui-pen-and-paper-path vue-ui-pen-and-paper-path-drawing`,d:Fe(q.value),stroke:E.value,"stroke-width":D.value*1.1,fill:`none`},null,8,ge)):l(``,!0)],42,le))],64))}},[[`__scopeId`,`data-v-42e6ba29`]]);export{_e as default};
@@ -0,0 +1 @@
1
+ import{t as e}from"./rolldown-runtime-DK3Fl9T5.js";import{t}from"./package-DE5cU1Rg.js";import{createElementBlock as n,openBlock as r,toDisplayString as i,unref as a}from"vue";var o=/* @__PURE__ */ e({default:()=>c}),s={"aria-hidden":`true`},c={__name:`PackageVersion`,setup(e){return(e,o)=>(r(),n(`desc`,s,`Composed with Vue Data UI `+i(a(t)),1))}};export{c as n,o as t};
@@ -0,0 +1 @@
1
+ import{t as e}from"./rolldown-runtime-DK3Fl9T5.js";import{$ as t,Ft as n,X as r,t as i}from"./lib-CV_IANZ6.js";import{t as a}from"./BaseIcon-DdIyewwY.js";import{t as o}from"./ColorPicker-MLwiwxl5.js";import{computed as s,createCommentVNode as c,createElementBlock as l,createElementVNode as u,createVNode as d,guardReactiveProps as f,nextTick as p,normalizeClass as m,normalizeProps as h,normalizeStyle as g,onBeforeUnmount as ee,onMounted as te,openBlock as ne,ref as _,renderSlot as v,toDisplayString as re,unref as ie,vModelText as ae,watch as y,withCtx as oe,withDirectives as se}from"vue";var ce=/* @__PURE__ */ e({default:()=>b}),le={"aria-hidden":`true`,viewBox:`0 0 6 12`,style:{width:`100%`}},ue=[`fill`],de=[`fill`],fe=[`fill`],pe=[`disabled`],me=750,he=8,ge=2,b={__name:`PenAndPaper`,props:{svgRef:{type:[Object,null,void 0],required:!0},color:{type:String,default:`#2D353C`},backgroundColor:{type:String,default:`#FFFFFF`},active:{type:Boolean,default:!1},scale:{type:Number,default:1},isCursorPointer:{type:Boolean,default:!1},palette:{type:Array,default:()=>[`#000000`,`#FFFFFF`,`#FF5733`,`#33FF57`,`#3357FF`,`#FFC300`,`#800080`,`#FF1493`,`#00CED1`]}},emits:[`close`],setup(e,{emit:ce}){let b=e,_e=ce,x=_([]),S=_([]),C=_(b.color),w=_(2),T=_(!1),ve=_(``),E=_(null),D=_(null),O=_(null),ye=_(null),k=_(null),be=_(null),A=_(!1),j=_(null),xe=_(``),M=_(``),N=_(!1),Se=_(!1),P=_(null),Ce=_(null),we=_(!1),F=_(``),Te=/* @__PURE__ */ new Map,Ee=_(`arrow-def-${r()}`),I=_(!1),L=_(null),De=_({x:0,y:0}),R=_([``]),z=_({row:0,col:0}),B=_(16),Oe=_(!1),ke=_(``),Ae=_(!1),je=[`arrow`,`text`,`line`,`draw`],V=_(0),H=s(()=>je[V.value]),Me={arrow:`plotArrow`,text:`text`,line:`plotLine`,draw:`annotator`},Ne=_(`url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAABg2lDQ1BJQ0MgcHJvZmlsZQAAKJF9kT1Iw0AcxV9TpSIVh2YQcchQnSyIijhKFYtgobQVWnUwufQLmjQkKS6OgmvBwY/FqoOLs64OroIg+AHi6OSk6CIl/i8ptIjx4Lgf7+497t4BQrPKNKtnAtB020wn4lIuvyqFXhGGiAhCiMnMMpKZxSx8x9c9Any9i/Es/3N/jgG1YDEgIBHPMcO0iTeIZzZtg/M+scjKskp8Tjxu0gWJH7muePzGueSywDNFM5ueJxaJpVIXK13MyqZGPE0cVTWd8oWcxyrnLc5atc7a9+QvDBf0lQzXaY4ggSUkkYIEBXVUUIWNGK06KRbStB/38Q+7/hS5FHJVwMixgBo0yK4f/A9+d2sVpya9pHAc6H1xnI9RILQLtBqO833sOK0TIPgMXOkdf60JzH6S3uho0SNgcBu4uO5oyh5wuQMMPRmyKbtSkKZQLALvZ/RNeSByC/Sveb2193H6AGSpq+Ub4OAQGCtR9rrPu/u6e/v3TLu/H5C7crM1WjgWAAAABmJLR0QAqwB5AHWF+8OUAAAACXBIWXMAAC4jAAAuIwF4pT92AAAAB3RJTUUH5gwUExIUagzGcQAAABl0RVh0Q29tbWVudABDcmVhdGVkIHdpdGggR0lNUFeBDhcAAABfSURBVBjTldAxDoNQDIPhL0+q1L33P1AvAhN7xfK6WAgoLfSfrNiykpQtE+7RLzx2vgF9D3o8lWDmn1QVVMP0LZQGmNtqp1/cmou0XHdG/+sYeGZwFBqPCub8rkcvvAGvsi1VYarR8wAAAABJRU5ErkJggg==') 5 5, auto`);function Pe(e){let t=e?.target;if(!(t instanceof Element))return null;let n=t.closest(`.vue-data-ui-doodle`);return n&&E.value?.contains(n)?n:null}function Fe(e){let t=e?.target;if(!(t instanceof Element))return null;let n=t.closest(`.vue-data-ui-selection-handle`);return n&&E.value?.contains(n)?n:null}function Ie(e){let t=e?.target;if(!(t instanceof Element))return null;let n=t.closest(`.vue-data-ui-selection-delete`);return n&&E.value?.contains(n)?n:null}function Le(e){if(!e)return``;let t=e.getAttribute(`data-doodle-id`);return t||(t=r(),e.setAttribute(`data-doodle-id`,t)),t}function U(){return E.value?Array.from(E.value.children).filter(e=>e.classList?.contains(`vue-data-ui-doodle`)).map(e=>e.outerHTML).join(``):``}function Re(e){if(!E.value)return;K();let t=E.value.querySelector(`.vue-data-ui-svg-caret`);if(t&&t.remove(),Array.from(E.value.children).forEach(e=>{e.classList?.contains(`vue-data-ui-doodle`)&&e.remove()}),e){let t=document.createElementNS(i,`g`);t.innerHTML=e,Array.from(t.children).forEach(e=>E.value.appendChild(e))}}function W(e,t=null){if(e===U())return;let n=Date.now(),r=x.value[x.value.length-1];t&&r?.mergeKey===t&&n-r.timestamp<=me?r.timestamp=n:x.value.push({state:e,mergeKey:t,timestamp:n}),S.value=[]}function ze(e){let t=e.touches?.[0]||e.changedTouches?.[0];return{x:t?t.clientX:e.clientX,y:t?t.clientY:e.clientY}}function Be(e,t){let n=b.svgRef;if(!n||!e)return null;let{x:r,y:i}=ze(t),a=n.createSVGPoint();a.x=r,a.y=i;let o=e.getScreenCTM()?.inverse();return o?a.matrixTransform(o):null}function Ve(e,t,n,r,i,a){let o=i-n,s=a-r,c=o*o+s*s;if(!c)return Math.hypot(e-n,t-r);let l=Math.max(0,Math.min(1,((e-n)*o+(t-r)*s)/c)),u=n+l*o,d=r+l*s;return Math.hypot(e-u,t-d)}function He(e,t){let n=Be(e,t);if(!n)return!1;let r=e.tagName.toLowerCase(),i=he*b.scale;if(r===`line`){let t=Number(e.getAttribute(`x1`)),r=Number(e.getAttribute(`y1`)),a=Number(e.getAttribute(`x2`)),o=Number(e.getAttribute(`y2`)),s=Number(e.getAttribute(`stroke-width`))||0;return Ve(n.x,n.y,t,r,a,o)<=Math.max(i,s/2)}if(r===`circle`){let t=Number(e.getAttribute(`cx`)),r=Number(e.getAttribute(`cy`)),a=Number(e.getAttribute(`r`))||0;return Math.hypot(n.x-t,n.y-r)<=a+i}if(r===`text`)try{let t=e.getBBox();return n.x>=t.x-i&&n.x<=t.x+t.width+i&&n.y>=t.y-i&&n.y<=t.y+t.height+i}catch{return!1}if(r===`path`)try{let t=e.getBBox();if(n.x<t.x-i||n.x>t.x+t.width+i||n.y<t.y-i||n.y>t.y+t.height+i)return!1;if(typeof e.isPointInStroke==`function`){let t=e.getAttribute(`stroke-width`),r=Math.max(Number(t)||0,i*2);e.setAttribute(`stroke-width`,r);let a=e.isPointInStroke(n);return t===null?e.removeAttribute(`stroke-width`):e.setAttribute(`stroke-width`,t),a}let r=e.getTotalLength(),a=Math.max(2*b.scale,2);for(let t=0;t<=r;t+=a){let r=e.getPointAtLength(t);if(Math.hypot(n.x-r.x,n.y-r.y)<=i)return!0}}catch{return!1}return!1}function Ue(e){return Pe(e)||E.value&&Array.from(E.value.querySelectorAll(`.vue-data-ui-doodle`)).reverse().find(t=>He(t,e))||null}function We(){be.value?.parentNode&&be.value.parentNode.removeChild(be.value),be.value=null}function G(){if(We(),!I.value&&b.active&&E.value&&k.value&&E.value.contains(k.value))try{let e=k.value,t=e.getBBox(),n=4*b.scale,r=document.createElementNS(i,`g`);r.setAttribute(`class`,`vue-data-ui-selection-overlay`);let a=document.createElementNS(i,`rect`);if(a.setAttribute(`class`,`vue-data-ui-selection-box`),a.setAttribute(`x`,t.x-n),a.setAttribute(`y`,t.y-n),a.setAttribute(`width`,Math.max(t.width+n*2,n*2)),a.setAttribute(`height`,Math.max(t.height+n*2,n*2)),a.setAttribute(`fill`,`none`),a.setAttribute(`stroke`,b.color),a.setAttribute(`stroke-width`,Math.max(1,b.scale)),a.setAttribute(`stroke-dasharray`,`${4*b.scale} ${3*b.scale}`),a.setAttribute(`pointer-events`,`none`),r.appendChild(a),e.tagName.toLowerCase()===`line`){let t=Math.max(4,5*b.scale),n=Math.max(1,1.5*b.scale);[{endpoint:`start`,x:Number(e.getAttribute(`x1`)),y:Number(e.getAttribute(`y1`))},{endpoint:`end`,x:Number(e.getAttribute(`x2`)),y:Number(e.getAttribute(`y2`))}].forEach(({endpoint:e,x:a,y:o})=>{let s=document.createElementNS(i,`circle`);s.setAttribute(`class`,`vue-data-ui-selection-handle`),s.setAttribute(`data-line-endpoint`,e),s.setAttribute(`cx`,a),s.setAttribute(`cy`,o),s.setAttribute(`r`,t),s.setAttribute(`fill`,b.backgroundColor),s.setAttribute(`stroke`,b.color),s.setAttribute(`stroke-width`,n),s.setAttribute(`pointer-events`,`all`),r.appendChild(s)})}let o=Math.max(20,24*b.scale),s=Math.max(1,b.scale),c=t.x+t.width+n+4*b.scale,l=t.y-n-o-4*b.scale,u=document.createElementNS(i,`g`);u.setAttribute(`class`,`vue-data-ui-selection-delete`),u.setAttribute(`role`,`button`),u.setAttribute(`tabindex`,`0`),u.setAttribute(`aria-label`,`Delete selected drawing`),u.setAttribute(`pointer-events`,`all`);let d=document.createElementNS(i,`rect`);d.setAttribute(`x`,c),d.setAttribute(`y`,l),d.setAttribute(`width`,o),d.setAttribute(`height`,o),d.setAttribute(`rx`,4*b.scale),d.setAttribute(`fill`,b.backgroundColor),d.setAttribute(`stroke`,J.value),d.setAttribute(`stroke-width`,s),d.setAttribute(`vector-effect`,`non-scaling-stroke`);let f=o/24,p=document.createElementNS(i,`path`);p.setAttribute(`d`,`M 8 8 L 16 16 M 16 8 L 8 16`),p.setAttribute(`transform`,`translate(${c} ${l}) scale(${f})`),p.setAttribute(`fill`,`none`),p.setAttribute(`stroke`,b.color),p.setAttribute(`stroke-width`,Math.max(1.25,1.5*b.scale)),p.setAttribute(`stroke-linecap`,`round`),p.setAttribute(`stroke-linejoin`,`round`),p.setAttribute(`vector-effect`,`non-scaling-stroke`),p.setAttribute(`pointer-events`,`none`),u.appendChild(d),u.appendChild(p),u.addEventListener(`keydown`,e=>{(e.key===`Enter`||e.key===` `)&&(e.preventDefault(),Ge(e))}),r.appendChild(u);let m=e.getAttribute(`transform`);m&&r.setAttribute(`transform`,m),E.value.appendChild(r),be.value=r}catch{We()}}function K(){k.value=null,A.value=!1,j.value=null,xe.value=``,M.value=``,N.value=!1,Se.value=!1,P.value=null,Ce.value=null,We(),Z()}function Ge(e=null){if(!b.active||!k.value||!E.value||!E.value.contains(k.value))return;e?.cancelable&&e.preventDefault(),e?.stopPropagation?.(),e?.stopImmediatePropagation?.();let t=U();k.value.remove(),W(t),K()}function Ke(e){return e?e.tagName.toLowerCase()===`text`||e.tagName.toLowerCase()===`circle`?e.getAttribute(`fill`):e.getAttribute(`stroke`):null}function qe(e){if(e){we.value=!0;try{let t=e.tagName.toLowerCase(),n=Ke(e);if(n&&(C.value=n),t===`text`){V.value=je.indexOf(`text`);let t=Number(e.getAttribute(`font-size`));Number.isFinite(t)&&b.scale&&(B.value=t/b.scale);return}if(t===`line`?V.value=e.hasAttribute(`marker-end`)?je.indexOf(`arrow`):je.indexOf(`line`):V.value=je.indexOf(`draw`),t===`circle`){let t=Number(e.getAttribute(`r`));Number.isFinite(t)&&b.scale&&(w.value=t*2/b.scale)}else{let t=Number(e.getAttribute(`stroke-width`));Number.isFinite(t)&&b.scale&&(w.value=t/b.scale)}}finally{p(()=>{we.value=!1})}}}function Je(e){b.active&&e&&E.value?.contains(e)&&(Le(e),k.value=e,qe(e),p(G))}function Ye(e){if(!b.active||!E.value||I.value)return;if(Ie(e)){Ge(e);return}let t=Fe(e);if(t&&k.value&&k.value.tagName.toLowerCase()===`line`){e.cancelable&&e.preventDefault(),e.stopPropagation(),e.stopImmediatePropagation?.();let n=t.getAttribute(`data-line-endpoint`);if(![`start`,`end`].includes(n))return;P.value=n,Ce.value=Be(k.value,e),A.value=!1,N.value=!1,Se.value=!1,M.value=U(),Z(e);return}let n=Ue(e);if(!n){K();return}e.cancelable&&e.preventDefault(),Se.value=k.value===n,Je(n);let{x:r,y:i}=Y(e);A.value=!0,N.value=!1,j.value={x:r,y:i},xe.value=n.getAttribute(`transform`)||``,M.value=U(),Z(e)}function Xe(e){if(!b.active||!k.value)return;if(Z(e),P.value){let t=Be(k.value,e);if(!t)return;let n=Ce.value;if(!N.value&&n&&Math.hypot(t.x-n.x,t.y-n.y)<ge*b.scale)return;e.cancelable&&e.preventDefault(),N.value=!0,P.value===`start`?(k.value.setAttribute(`x1`,t.x),k.value.setAttribute(`y1`,t.y)):(k.value.setAttribute(`x2`,t.x),k.value.setAttribute(`y2`,t.y)),G();return}if(!A.value||!j.value)return;let{x:t,y:n}=Y(e),r=t-j.value.x,i=n-j.value.y,a=Math.hypot(r,i);if(!N.value&&a<ge*b.scale)return;e.cancelable&&e.preventDefault(),N.value=!0;let o=xe.value.trim();k.value.setAttribute(`transform`,`${o?`${o} `:``}translate(${r} ${i})`),G()}function q(e){let t=k.value,n=!P.value&&t&&t.tagName.toLowerCase()===`text`&&Se.value&&!N.value&&!I.value;if(N.value&&M.value&&W(M.value),A.value=!1,j.value=null,M.value=``,N.value=!1,Se.value=!1,P.value=null,Ce.value=null,xe.value=t?.getAttribute(`transform`)||``,t&&E.value?.contains(t)&&G(),n&&t&&E.value?.contains(t)){nt(t,e),Z(e);return}Z(e)}function Ze(e){if(!b.active||!k.value||we.value)return;let t=k.value,n=t.tagName.toLowerCase();if(Ke(t)===e)return;let r=U();if(n===`text`||n===`circle`)t.setAttribute(`fill`,e);else if(t.setAttribute(`stroke`,e),n===`line`&&t.hasAttribute(`marker-end`)){let n=_t(e);n&&t.setAttribute(`marker-end`,`url(#${n})`)}I.value&&t===L.value||W(r,`color:${Le(t)}`),G(),I.value&&t===L.value&&ct()}function Qe(e){if(!b.active||!k.value||we.value)return;let t=k.value,n=t.tagName.toLowerCase();if(n===`text`)return;let r=Number(e)*b.scale;if((n===`circle`?Number(t.getAttribute(`r`))*2:Number(t.getAttribute(`stroke-width`)))===r)return;let i=U();n===`circle`?t.setAttribute(`r`,r/2):t.setAttribute(`stroke-width`,r),W(i,`size:${Le(t)}`),G()}function $e(e){if(!b.active||!k.value||we.value)return;let t=k.value;if(t.tagName.toLowerCase()!==`text`)return;let n=Number(e)*b.scale;if(Number(t.getAttribute(`font-size`))===n)return;let r=U();t.setAttribute(`font-size`,n),Array.from(t.children).forEach((e,t)=>{e.setAttribute(`dy`,t===0?`0`:`${n*1.2}`)}),I.value&&t===L.value||W(r,`font-size:${Le(t)}`),G(),I.value&&t===L.value&&ct()}y(C,Ze),y(w,Qe),y(B,$e);function et(){V.value+1>=je.length?V.value=0:V.value+=1}function tt(e){if(!E.value||!b.active||H.value!==`text`||I.value||Fe(e)||Ue(e))return;K();let t=U(),{x:n,y:a}=Y(e);De.value={x:n,y:a},R.value=[``],z.value={row:0,col:0},Oe.value=!1,ke.value=t,Ae.value=!1;let o=document.createElementNS(i,`text`);o.setAttribute(`x`,n),o.setAttribute(`y`,a),o.setAttribute(`fill`,C.value),o.setAttribute(`font-size`,B.value*b.scale),o.setAttribute(`font-family`,`sans-serif`),o.setAttribute(`class`,`vue-data-ui-doodle`),o.setAttribute(`data-doodle-id`,r()),o.setAttribute(`dominant-baseline`,`hanging`),o.setAttribute(`pointer-events`,`all`);let s=document.createElementNS(i,`tspan`);s.setAttribute(`x`,n),s.setAttribute(`dy`,`0`),s.setAttribute(`dominant-baseline`,`hanging`),s.textContent=``,o.appendChild(s),o.style.pointerEvents=`none`,o.style.userSelect=`none`,E.value.appendChild(o),k.value=o,L.value=o,I.value=!0,We(),window.addEventListener(`keydown`,rt),window.addEventListener(`mousedown`,lt,!0),it(),ct()}function nt(e){if(!b.active||!E.value||I.value||!e||e.tagName.toLowerCase()!==`text`||!E.value.contains(e))return;let t=U();k.value=e,qe(e);let n=Number(e.getAttribute(`x`))||0,r=Number(e.getAttribute(`y`))||0,i=Array.from(e.children).map(e=>{let t=e.textContent||``;return t===`​`?``:t.split(`​`).join(``)}),a=i.length?i:[e.textContent||``],o=Math.max(0,a.length-1);De.value={x:n,y:r},R.value=a,z.value={row:o,col:a[o]?.length||0},ke.value=t,Ae.value=!0,Oe.value=!0,L.value=e,I.value=!0,e.style.pointerEvents=`none`,We(),window.addEventListener(`keydown`,rt),window.addEventListener(`mousedown`,lt,!0),it(),ct()}function rt(e){if(!I.value)return;let{row:t,col:n}=z.value,r=R.value.slice(),i=!1;if(e.key===`Enter`){let a=r[t],o=a.slice(0,n),s=a.slice(n);r.splice(t,1,o,s),t+=1,n=0,i=!0,e.preventDefault()}else if(e.key===`Backspace`){if(n>0)r[t]=r[t].slice(0,n-1)+r[t].slice(n),--n,i=!0;else if(t>0){let e=r[t-1].length;r[t-1]+=r[t],r.splice(t,1),--t,n=e,i=!0}e.preventDefault()}else if(e.key===`Delete`)n<r[t].length?(r[t]=r[t].slice(0,n)+r[t].slice(n+1),i=!0):t<r.length-1&&(r[t]+=r[t+1],r.splice(t+1,1),i=!0),e.preventDefault();else if(e.key===`ArrowLeft`)n>0?--n:t>0&&(--t,n=r[t].length),i=!0,e.preventDefault();else if(e.key===`ArrowRight`)n<r[t].length?n+=1:t<r.length-1&&(t+=1,n=0),i=!0,e.preventDefault();else if(e.key===`ArrowUp`)t>0&&(--t,n=Math.min(n,r[t].length),i=!0),e.preventDefault();else if(e.key===`ArrowDown`)t<r.length-1&&(t+=1,n=Math.min(n,r[t].length),i=!0),e.preventDefault();else if(e.key.length===1&&!e.ctrlKey&&!e.metaKey&&!e.altKey)r[t]=r[t].slice(0,n)+e.key+r[t].slice(n),n+=1,i=!0,e.preventDefault();else if(e.key===`Escape`){ut(!1,!0);return}else e.key===`Tab`&&e.preventDefault();i&&(R.value=r,z.value={row:t,col:n},it(),ct())}function it(){let e=L.value;if(!e)return;let{x:t}=De.value;for(;e.firstChild;)e.removeChild(e.firstChild);R.value.forEach((n,r)=>{let a=document.createElementNS(i,`tspan`);a.setAttribute(`x`,t),a.setAttribute(`dominant-baseline`,`hanging`),a.setAttribute(`dy`,r===0?`0`:`${B.value*1.2*b.scale}`),a.textContent=n.length?n:`​`,e.appendChild(a)})}let at=_(null);function ot(){at.value!==null&&(clearInterval(at.value),at.value=null)}function st(e){ot();let t=!0;e.style.opacity=`1`,at.value=setInterval(()=>{if(!E.value||!e||!E.value.contains(e)){ot();return}t=!t,e.style.opacity=t?`1`:`0`},500)}function ct(){let e=E.value?.querySelector(`.vue-data-ui-svg-caret`);e&&E.value&&E.value.removeChild(e);let t=L.value;if(!t||!E.value)return;let{x:n,y:r}=De.value,{row:a,col:o}=z.value,s=B.value*b.scale,c=t.childNodes[a];if(!c)return;let l=c.textContent.slice(0,o);l.endsWith(` `)&&(l+=`\xA0`);let u=document.createElementNS(i,`text`);u.setAttribute(`x`,n),u.setAttribute(`y`,r),u.setAttribute(`font-size`,s),u.setAttribute(`font-family`,`sans-serif`),u.textContent=l||``,E.value.appendChild(u);let d=u.getBBox();E.value.removeChild(u);let f=r+a*s*1.2,p=n+d.width,m=document.createElementNS(i,`rect`);m.setAttribute(`x`,p),m.setAttribute(`y`,f),m.setAttribute(`rx`,1),m.setAttribute(`width`,2),m.setAttribute(`height`,s),m.setAttribute(`fill`,C.value),m.setAttribute(`class`,`vue-data-ui-svg-caret`),m.setAttribute(`pointer-events`,`none`);let h=t.getAttribute(`transform`);h&&m.setAttribute(`transform`,h),E.value.appendChild(m),st(m)}function lt(e){L.value&&(L.value.contains(e.target)||ut(!1))}function ut(e=!1,t=!1){window.removeEventListener(`keydown`,rt),window.removeEventListener(`mousedown`,lt,!0),ot();let n=E.value?.querySelector(`.vue-data-ui-svg-caret`);n&&n.remove();let r=L.value,i=ke.value,a=R.value.every(e=>!e.length);if(t){I.value=!1,L.value=null,R.value=[``],z.value={row:0,col:0},Oe.value=!1,ke.value=``,Ae.value=!1,Re(i);return}r&&E.value?.contains(r)&&(e||a?r.remove():r.style.pointerEvents=`all`),I.value=!1,L.value=null,R.value=[``],z.value={row:0,col:0},Oe.value=!1,ke.value=``,Ae.value=!1,W(i),r&&E.value?.contains(r)?Je(r):K()}let J=s(()=>n(b.color,.6));function dt(){if(!E.value)return;let e=E.value.querySelector(`.vue-data-ui-mask`);if(e&&E.value.removeChild(e),b.active){let e=document.createElementNS(`http://www.w3.org/2000/svg`,`rect`);e.setAttribute(`class`,`vue-data-ui-mask`),e.setAttribute(`width`,`100%`),e.setAttribute(`height`,`100%`),e.setAttribute(`fill`,`transparent`),e.setAttribute(`pointer-events`,`all`),E.value.insertBefore(e,E.value.firstChild)}}function Y(e){let t=b.svgRef;if(!t)return{x:0,y:0};let n=t.createSVGPoint(),r=e.touches?.length||e.changedTouches?.length?e.touches?.[0]||e.changedTouches?.[0]:null,i=r?r.clientX:e.clientX,a=r?r.clientY:e.clientY;n.x=i,n.y=a;let o=t.getScreenCTM()?.inverse();return o?n.matrixTransform(o):{x:0,y:0}}function ft(e){let t=e.trim().split(/\s+/);if(t.length<4)return e;let n=t.slice(1).map(Number);if(n.length%2!=0)return e;let r=pt(n),i=[`M ${r[0]} ${r[1]}`];for(let e=2;e<r.length-2;e+=2){let t=r[e-2],n=r[e-1],a=r[e],o=r[e+1],s=(t+a)/2,c=(n+o)/2;i.push(`Q ${t} ${n} ${s} ${c}`)}let a=r[r.length-2],o=r[r.length-1];return i.push(`L ${a} ${o}`),i.join(` `)}function pt(e,t=1){let n=[...e];for(let r=2;r<e.length-2;r+=2){let i=e[r],a=e[r+1],o=e[r-2],s=e[r-1],c=e[r+2],l=e[r+3];n[r]=i+t*((o+c)/2-i),n[r+1]=a+t*((s+l)/2-a)}return n}function mt(e){let t=e.trim().split(/\s+/),n=``,r=``,i=null,a=null;for(let e=0;e<t.length;e+=1){let o=t[e];if(isNaN(o)){if(r=o,r===`M`||r===`L`)i=parseFloat(t[++e]),a=parseFloat(t[++e]),n+=`${r}${i} ${a}`;else if(r===`Q`){let r=parseFloat(t[++e]),o=parseFloat(t[++e]),s=parseFloat(t[++e]),c=parseFloat(t[++e]);n+=r===i&&o===a?`t${s-i} ${c-a}`:`q${r-i} ${o-a} ${s-i} ${c-a}`,i=s,a=c}}else{let s=parseFloat(o),c=parseFloat(t[++e]);if(r===`L`){let e=s-i,t=c-a;n+=e===0?`v${t}`:t===0?`h${e}`:`l${e} ${t}`,i=s,a=c}else if(r===`Q`){let r=s,o=c,l=parseFloat(t[++e]),u=parseFloat(t[++e]);n+=r===i&&o===a?`t${l-i} ${u-a}`:`q${r-i} ${o-a} ${l-i} ${u-a}`,i=l,a=u}}}return n}function ht(e){if(H.value!==`draw`||!b.active||!E.value||Fe(e)||Ue(e))return;e.cancelable&&e.preventDefault(),K(),F.value=U(),T.value=!0;let{x:t,y:n}=Y(e);ye.value={x:t,y:n},ve.value=`M ${t} ${n}`,D.value=document.createElementNS(i,`path`),D.value.setAttribute(`stroke`,C.value),D.value.setAttribute(`stroke-width`,w.value*b.scale),D.value.setAttribute(`fill`,`none`),D.value.setAttribute(`stroke-linecap`,`round`),D.value.setAttribute(`stroke-linejoin`,`round`),D.value.setAttribute(`class`,`vue-data-ui-doodle`),D.value.setAttribute(`data-doodle-id`,r()),D.value.setAttribute(`pointer-events`,`stroke`),E.value.appendChild(D.value)}function gt(e){if(e.cancelable&&e.preventDefault(),!T.value||!E.value||!D.value)return;let{x:t,y:n}=Y(e);ve.value+=` ${t} ${n}`,D.value.setAttribute(`d`,ve.value)}function _t(e){let t=b.svgRef;if(!t)return null;let n=t.querySelector(`defs#${Ee.value}`);n||(n=document.createElementNS(i,`defs`),n.setAttribute(`id`,Ee.value),t.appendChild(n));let a=String(e).trim();if(Te.has(a))return Te.get(a);let o=`arrow-${r()}`,s=document.createElementNS(i,`marker`);s.setAttribute(`id`,o),s.setAttribute(`markerUnits`,`strokeWidth`),s.setAttribute(`markerWidth`,`6`),s.setAttribute(`markerHeight`,`6`),s.setAttribute(`refX`,`4`),s.setAttribute(`refY`,`3`),s.setAttribute(`orient`,`auto`),s.setAttribute(`viewBox`,`0 0 6 6`);let c=document.createElementNS(i,`path`);return c.setAttribute(`d`,`M 0 0 L 6 3 L 0 6 z`),c.setAttribute(`fill`,e),c.setAttribute(`stroke`,`none`),s.appendChild(c),n.appendChild(s),Te.set(a,o),o}function vt(e){if(![`line`,`arrow`].includes(H.value)||!b.active||!E.value||Fe(e)||Ue(e))return;e.cancelable&&e.preventDefault(),K(),F.value=U(),T.value=!0;let{x:t,y:n}=Y(e);if(ye.value={x:t,y:n},O.value=document.createElementNS(i,`line`),O.value.setAttribute(`stroke`,C.value),O.value.setAttribute(`stroke-width`,w.value*b.scale),O.value.setAttribute(`stroke-linecap`,`round`),O.value.setAttribute(`class`,`vue-data-ui-doodle`),O.value.setAttribute(`data-doodle-id`,r()),O.value.setAttribute(`pointer-events`,`stroke`),O.value.setAttribute(`x1`,t),O.value.setAttribute(`y1`,n),O.value.setAttribute(`x2`,t),O.value.setAttribute(`y2`,n),H.value===`arrow`){let e=_t(C.value);e&&O.value.setAttribute(`marker-end`,`url(#${e})`)}E.value.appendChild(O.value)}function yt(e){if(e.cancelable&&e.preventDefault(),![`line`,`arrow`].includes(H.value)||!T.value||!E.value||!O.value)return;let{x:t,y:n}=Y(e);O.value.setAttribute(`x2`,t),O.value.setAttribute(`y2`,n)}function bt(e){if(T.value&&E.value&&O.value){let{x:t,y:n}=Y(e);O.value.setAttribute(`x2`,t),O.value.setAttribute(`y2`,n),W(F.value),O.value=null,F.value=``}T.value=!1}function X(e){if(T.value&&E.value&&D.value){let{x:t,y:n}=Y(e);if(ye.value&&ye.value.x===t&&ye.value.y===n){D.value.remove();let e=document.createElementNS(i,`circle`);e.setAttribute(`cx`,t),e.setAttribute(`cy`,n),e.setAttribute(`r`,w.value*b.scale/2),e.setAttribute(`fill`,C.value),e.setAttribute(`class`,`vue-data-ui-doodle`),e.setAttribute(`data-doodle-id`,r()),e.setAttribute(`pointer-events`,`all`),E.value.appendChild(e)}else D.value.setAttribute(`d`,mt(ft(ve.value)));W(F.value),F.value=``,D.value=null}T.value=!1}function xt(){if(!x.value.length||!E.value)return;let e=U(),t=x.value.pop();S.value.push({state:e,mergeKey:null,timestamp:Date.now()}),Re(t.state)}function St(){if(!S.value.length||!E.value)return;let e=U(),t=S.value.pop();x.value.push({state:e,mergeKey:null,timestamp:Date.now()}),Re(t.state)}function Ct(){I.value&&ut(!1),K(),E.value&&(E.value.innerHTML=``),x.value=[],S.value=[],Oe.value=!1,ke.value=``,Ae.value=!1,F.value=``,dt()}y(H,()=>{b.active&&(Tt(),wt(),Z())});function wt(){b.svgRef&&b.active&&(b.svgRef.addEventListener(`mousedown`,Ye),b.svgRef.addEventListener(`mousemove`,Xe),b.svgRef.addEventListener(`mouseup`,q),b.svgRef.addEventListener(`mouseleave`,q),b.svgRef.addEventListener(`touchstart`,Ye,{passive:!1}),b.svgRef.addEventListener(`touchmove`,Xe,{passive:!1}),b.svgRef.addEventListener(`touchend`,q),b.svgRef.addEventListener(`touchcancel`,q),H.value===`draw`?(b.svgRef.addEventListener(`mousedown`,ht),b.svgRef.addEventListener(`mousemove`,gt),b.svgRef.addEventListener(`mouseup`,X),b.svgRef.addEventListener(`mouseleave`,X),b.svgRef.addEventListener(`touchstart`,ht,{passive:!1}),b.svgRef.addEventListener(`touchmove`,gt,{passive:!1}),b.svgRef.addEventListener(`touchend`,X),b.svgRef.addEventListener(`touchcancel`,X)):[`line`,`arrow`].includes(H.value)?(b.svgRef.addEventListener(`mousedown`,vt),b.svgRef.addEventListener(`mousemove`,yt),b.svgRef.addEventListener(`mouseup`,bt),b.svgRef.addEventListener(`touchstart`,vt,{passive:!1}),b.svgRef.addEventListener(`touchmove`,yt,{passive:!1}),b.svgRef.addEventListener(`touchend`,bt),b.svgRef.addEventListener(`touchcancel`,bt)):H.value===`text`&&(b.svgRef.addEventListener(`mousedown`,tt),b.svgRef.addEventListener(`touchstart`,tt,{passive:!1})),E.value&&(E.value.style.pointerEvents=`auto`))}function Tt(){b.svgRef&&(b.svgRef.removeEventListener(`mousedown`,Ye),b.svgRef.removeEventListener(`mousemove`,Xe),b.svgRef.removeEventListener(`mouseup`,q),b.svgRef.removeEventListener(`mouseleave`,q),b.svgRef.removeEventListener(`touchstart`,Ye),b.svgRef.removeEventListener(`touchmove`,Xe),b.svgRef.removeEventListener(`touchend`,q),b.svgRef.removeEventListener(`touchcancel`,q),b.svgRef.removeEventListener(`mousedown`,ht),b.svgRef.removeEventListener(`mousemove`,gt),b.svgRef.removeEventListener(`mouseup`,X),b.svgRef.removeEventListener(`mouseleave`,X),b.svgRef.removeEventListener(`touchstart`,ht),b.svgRef.removeEventListener(`touchmove`,gt),b.svgRef.removeEventListener(`touchend`,X),b.svgRef.removeEventListener(`touchcancel`,X),b.svgRef.removeEventListener(`mousedown`,vt),b.svgRef.removeEventListener(`mousemove`,yt),b.svgRef.removeEventListener(`mouseup`,bt),b.svgRef.removeEventListener(`touchstart`,vt),b.svgRef.removeEventListener(`touchmove`,yt),b.svgRef.removeEventListener(`touchend`,bt),b.svgRef.removeEventListener(`touchcancel`,bt),b.svgRef.removeEventListener(`mousedown`,tt),b.svgRef.removeEventListener(`touchstart`,tt),E.value&&(E.value.style.pointerEvents=`none`))}y(()=>b.active,e=>{e?wt():(K(),Tt()),Z()}),y(()=>b.active,()=>{p(()=>{dt()})}),y(()=>b.active,e=>{b.svgRef&&(e?b.svgRef.style.touchAction=`none`:b.svgRef.style.touchAction=``)},{immediate:!0});function Z(e=null){if(E.value){if(!b.active){E.value.style.cursor=``;return}if(I.value){E.value.style.cursor=`text`;return}if(e&&Ie(e)){E.value.style.cursor=`pointer`;return}if(P.value||e&&Fe(e)){E.value.style.cursor=`move`;return}if(A.value&&k.value){E.value.style.cursor=`grabbing`;return}if(e&&k.value&&E.value.contains(k.value)&&He(k.value,e)){E.value.style.cursor=`grab`;return}H.value===`text`?E.value.style.cursor=`text`:[`line`,`arrow`].includes(H.value)?E.value.style.cursor=`crosshair`:E.value.style.cursor=Ne.value}}let Q=_(null),Et=_(null),Dt=_(!1),$=_({x:0,y:0}),Ot=_(null),kt=_(null),At=s(()=>({backgroundColor:b.backgroundColor,"--vue-ui-pen-and-paper-drag-x":`${$.value.x}px`,"--vue-ui-pen-and-paper-drag-y":`${$.value.y}px`}));function jt(){return{width:document.documentElement.clientWidth||window.innerWidth,height:document.documentElement.clientHeight||window.innerHeight}}function Mt(){if(!Q.value)return null;let e=[Q.value,Q.value.querySelector(`.vue-ui-pen-and-paper-drag-handle`),Q.value.querySelector(`.vertical-range`)].filter(Boolean).map(e=>e.getBoundingClientRect());return{left:Math.min(...e.map(e=>e.left)),top:Math.min(...e.map(e=>e.top)),right:Math.max(...e.map(e=>e.right)),bottom:Math.max(...e.map(e=>e.bottom))}}function Nt(e){if(e.pointerType===`mouse`&&e.button!==0||!Q.value)return;e.preventDefault(),e.stopPropagation();let t=Mt();t&&(Dt.value=!0,kt.value=e.pointerId,Ot.value={clientX:e.clientX,clientY:e.clientY,offsetX:$.value.x,offsetY:$.value.y,rect:t},window.addEventListener(`pointermove`,Pt),window.addEventListener(`pointerup`,Ft),window.addEventListener(`pointercancel`,Ft))}function Pt(e){if(!Dt.value||!Ot.value||e.pointerId!==kt.value)return;e.preventDefault();let t=Ot.value,{width:n,height:r}=jt(),i=e.clientX-t.clientX,a=e.clientY-t.clientY,o=Math.min(Math.max(i,-t.rect.left),n-t.rect.right),s=Math.min(Math.max(a,-t.rect.top),r-t.rect.bottom);$.value={x:t.offsetX+o,y:t.offsetY+s}}function Ft(e){(e?.pointerId===void 0||kt.value===null||e.pointerId===kt.value)&&(Dt.value=!1,Ot.value=null,kt.value=null,window.removeEventListener(`pointermove`,Pt),window.removeEventListener(`pointerup`,Ft),window.removeEventListener(`pointercancel`,Ft))}function It(){if(!Q.value||!b.active)return;let e=Mt();if(!e)return;let{width:t,height:n}=jt(),r=0,i=0;e.left<0?r=-e.left:e.right>t&&(r=t-e.right),e.top<0?i=-e.top:e.bottom>n&&(i=n-e.bottom),(r||i)&&($.value={x:$.value.x+r,y:$.value.y+i})}return te(()=>{window.addEventListener(`resize`,It),p(()=>{b.svgRef&&(E.value=document.createElementNS(`http://www.w3.org/2000/svg`,`g`),E.value.setAttribute(`class`,`vue-data-ui-doodles`),b.svgRef.appendChild(E.value),Z(),b.active?wt():Tt(),dt())})}),y(()=>b.active,async e=>{if(!e){Ft(),$.value={x:0,y:0};return}await p(),Et.value?.focus()},{flush:`post`}),ee(()=>{ot(),K(),Ft(),window.removeEventListener(`resize`,It),E.value&&b.svgRef&&(E.value.remove(),Tt())}),(n,r)=>e.active?(ne(),l(`div`,{key:0,ref_key:`menuRef`,ref:Q,"data-dom-to-png-ignore":``,class:m([`vue-ui-pen-and-paper-actions`,{"vue-ui-pen-and-paper-actions-dragging":Dt.value}]),style:g(At.value)},[u(`button`,{type:`button`,class:`vue-ui-pen-and-paper-drag-handle`,"aria-label":`Move drawing toolbar`,style:g({backgroundColor:e.backgroundColor,border:`1px solid ${J.value}`,color:e.color}),onPointerdown:Nt},[(ne(),l(`svg`,le,[u(`circle`,{fill:e.color,cx:`3`,cy:`3`,r:`0.7`},null,8,ue),u(`circle`,{fill:e.color,cx:`3`,cy:`6`,r:`0.7`},null,8,de),u(`circle`,{fill:e.color,cx:`3`,cy:`9`,r:`0.7`},null,8,fe)]))],36),u(`button`,{ref_key:`buttonToggle`,ref:Et,class:`vue-ui-pen-and-paper-action`,onClick:r[0]||=e=>_e(`close`),style:g({backgroundColor:e.backgroundColor,border:`1px solid ${J.value}`,cursor:e.isCursorPointer?`pointer`:`default`})},[v(n.$slots,`annotator-action-close`,{},()=>[d(a,{name:`close`,stroke:e.color},null,8,[`stroke`])])],4),u(`button`,{class:`vue-ui-pen-and-paper-action`,tabindex:`-1`,style:g(`padding: 0 !important; cursor: ${e.isCursorPointer?`pointer`:`default`}`)},[d(o,{value:C.value,"onUpdate:value":r[1]||=e=>C.value=e,backgroundColor:e.backgroundColor,buttonBorderColor:J.value,isCursorPointer:e.isCursorPointer,palette:e.palette},{"annotator-action-color":oe(({color:e})=>[v(n.$slots,`annotator-action-color`,h(f({color:e})))]),_:3},8,[`value`,`backgroundColor`,`buttonBorderColor`,`isCursorPointer`,`palette`])],4),u(`button`,{class:m([`vue-ui-pen-and-paper-action`,{"vue-ui-pen-and-paper-action-active":H.value===`text`}]),onClick:r[2]||=e=>et(),style:g({backgroundColor:e.backgroundColor,border:`1px solid ${J.value}`,cursor:e.isCursorPointer?`pointer`:`default`})},[v(n.$slots,`annotator-action-draw`,h(f({mode:H.value})),()=>[d(a,{name:Me[H.value],stroke:e.color},null,8,[`name`,`stroke`])]),u(`div`,{style:g({position:`absolute`,bottom:`-20px`,color:J.value,width:`100%`,textAlign:`center`,fontSize:`12px`,fontVariantNumeric:`tabular-nums`})},re(ie(t)({v:H.value===`text`?Math.round(B.value):Math.round(w.value),s:`px`,r:1})),5)],6),u(`button`,{class:m([`vue-ui-pen-and-paper-action`,{"vue-ui-pen-and-paper-action-disabled":!x.value.length}]),disabled:!x.value.length,onClick:xt,style:g({backgroundColor:e.backgroundColor,border:`1px solid ${J.value}`,marginTop:`20px`,cursor:e.isCursorPointer?`pointer`:`default`})},[v(n.$slots,`annotator-action-undo`,h(f({disabled:!x.value.length})),()=>[d(a,{name:`refresh`,stroke:e.color},null,8,[`stroke`])])],14,pe),u(`button`,{class:m([`vue-ui-pen-and-paper-action`,{"vue-ui-pen-and-paper-action-disabled":!S.value.length}]),onClick:St,style:g({backgroundColor:e.backgroundColor,border:`1px solid ${J.value}`,cursor:e.isCursorPointer?`pointer`:`default`})},[v(n.$slots,`annotator-action-redo`,h(f({disabled:!S.value.length})),()=>[d(a,{name:`refresh`,stroke:e.color,style:{transform:`scaleX(-1)`}},null,8,[`stroke`])])],6),u(`button`,{class:m([`vue-ui-pen-and-paper-action`,{"vue-ui-pen-and-paper-action-disabled":!x.value.length}]),onClick:Ct,style:g({backgroundColor:e.backgroundColor,border:`1px solid ${J.value}`,cursor:e.isCursorPointer?`pointer`:`default`})},[v(n.$slots,`annotator-action-delete`,h(f({disabled:!x.value.length})),()=>[d(a,{name:`trash`,stroke:e.color},null,8,[`stroke`])])],6),H.value===`text`?se((ne(),l(`input`,{key:0,ref:`range`,type:`range`,class:`vertical-range`,min:3,max:48,step:1,"onUpdate:modelValue":r[3]||=e=>B.value=e,style:g({accentColor:e.color})},null,4)),[[ae,B.value]]):se((ne(),l(`input`,{key:1,ref:`range`,type:`range`,class:`vertical-range`,min:.5,max:12,step:.1,"onUpdate:modelValue":r[4]||=e=>w.value=e,style:g({accentColor:e.color})},null,4)),[[ae,w.value]])],6)):c(``,!0)}};export{b as n,ce as t};
@@ -0,0 +1 @@
1
+ import{Fragment as e,createBlock as t,createCommentVNode as n,createElementBlock as r,createElementVNode as i,mergeProps as a,openBlock as o,ref as s,renderList as c,renderSlot as l,resolveComponent as u,watch as d,withCtx as f,withModifiers as p}from"vue";var m=[`cx`,`cy`,`r`,`fill`,`stroke`,`stroke-width`,`onClick`,`onMouseover`],h=[`x`,`y`,`height`,`width`,`onClick`,`onMouseover`],g={__name:`RecursiveCircles`,props:{color:{type:String,default:`#000000`},dataset:{type:Array,default:()=>[]},hoveredUid:{type:String,default:null},linkColor:{type:String,default:`#CCCCCC`},stroke:{type:String,default:`#FFFFFF`},strokeHovered:{type:String,default:`#000000`}},emits:[`click`,`hover`],setup(g,{emit:_}){let v=g,y=_;function b(e){y(`click`,e)}function x(e){y(`hover`,e)}let S=s([]);return d(()=>v.dataset,e=>{S.value=e||[]},{immediate:!0}),(s,d)=>{let _=u(`RecursiveCircles`,!0);return o(!0),r(e,null,c(g.dataset,(u,v)=>(o(),r(e,null,[u.polygonPath&&u.polygonPath.coordinates?(o(),r(e,{key:0},[(o(!0),r(e,null,c(u.polygonPath.coordinates,(t,c)=>(o(),r(e,{key:`node_${v}_${c}`},[l(s.$slots,`node-svg`,{nodeSvg:{x:t.x,y:t.y,radius:u.circleRadius,color:u.color,stroke:g.stroke,strokeWidth:u.circleRadius/12,isSelected:g.hoveredUid&&g.hoveredUid===u.uid,onClick:()=>b(u),onEnter:()=>x(u),onLeave:()=>x(null)}},()=>[i(`circle`,{cx:t.x,cy:t.y,r:u.circleRadius,fill:`url(#gradient_${u.color})`,stroke:g.hoveredUid&&g.hoveredUid===u.uid?g.strokeHovered:g.stroke,"stroke-width":g.hoveredUid&&g.hoveredUid===u.uid?u.circleRadius/6:u.circleRadius/12,style:{cursor:`pointer`},onClick:e=>b(u),onMouseover:e=>x(u),onMouseleave:d[0]||=e=>x(null)},null,40,m)]),s.$slots.node?(o(),r(`foreignObject`,{key:0,x:t.x-u.circleRadius,y:t.y-u.circleRadius,height:u.circleRadius*2,width:u.circleRadius*2,style:{overflow:`visible`},onClick:p(e=>b(u),[`stop`]),onMouseover:e=>x(u),onMouseleave:d[1]||=e=>x(null)},[l(s.$slots,`node`,a({ref_for:!0},{node:u}))],40,h)):n(``,!0)],64))),128)),u.nodes&&u.nodes.length>0?(o(),t(_,{key:0,dataset:u.nodes,color:g.color,stroke:g.stroke,strokeHovered:g.strokeHovered,hoveredUid:g.hoveredUid,onClick:b,onHover:x},{node:f(({node:e})=>[l(s.$slots,`node`,a({ref_for:!0},{node:e}))]),"node-svg":f(({nodeSvg:e})=>[l(s.$slots,`node-svg`,a({ref_for:!0},{nodeSvg:e}))]),_:2},1032,[`dataset`,`color`,`stroke`,`strokeHovered`,`hoveredUid`])):n(``,!0)],64)):n(``,!0)],64))),256)}}};export{g as default};
@@ -0,0 +1 @@
1
+ import{Fragment as e,createBlock as t,createCommentVNode as n,createElementBlock as r,openBlock as i,ref as a,renderList as o,resolveComponent as s,toDisplayString as c,watch as l}from"vue";var u=[`x`,`y`,`fill`,`font-size`],d={__name:`RecursiveLabels`,props:{color:{type:String,default:`#000000`},dataset:{type:Array,default:()=>[]},hoveredUid:{type:String,default:null}},emits:[`zoom`,`hover`],setup(d,{emit:f}){let p=d,m=a([]);return l(()=>p.dataset,e=>{m.value=e||[]},{immediate:!0}),(a,l)=>{let f=s(`RecursiveLabels`,!0);return i(!0),r(e,null,o(m.value,(a,s)=>(i(),r(e,{key:`level_${s}`},[a.polygonPath&&a.polygonPath.coordinates?(i(),r(e,{key:0},[(i(!0),r(e,null,o(a.polygonPath.coordinates,(e,t)=>(i(),r(`text`,{key:`node_${s}_${t}`,x:e.x,y:e.y+a.circleRadius*2,fill:d.color,"font-size":a.circleRadius,"text-anchor":`middle`,style:{opacity:`0.8`,"pointer-events":`none`}},c(a.name),9,u))),128)),a.nodes&&a.nodes.length>0?(i(),t(f,{key:0,dataset:a.nodes,color:d.color,hoveredUid:d.hoveredUid},null,8,[`dataset`,`color`,`hoveredUid`])):n(``,!0)],64)):n(``,!0)],64))),128)}}};export{d as default};
@@ -0,0 +1 @@
1
+ import{Fragment as e,createBlock as t,createCommentVNode as n,createElementBlock as r,createElementVNode as i,openBlock as a,ref as o,renderList as s,resolveComponent as c,watch as l}from"vue";var u=[`x1`,`y1`,`x2`,`y2`,`stroke`,`stroke-width`],d=[`x1`,`y1`,`x2`,`y2`,`stroke`,`stroke-width`],f={__name:`RecursiveLinks`,props:{dataset:{type:Array,default:()=>[]},color:{type:String,default:`#DDDDDD`},backgroundColor:{type:String,default:`#FFFFFF`},useChildColor:{type:Boolean,default:!1}},setup(f){let p=f,m=o([]);return l(()=>p.dataset,e=>{let t=e||[];t.forEach(e=>{e.nodes&&e.nodes.length>0&&e.nodes.forEach(t=>{t.ancestor!==e&&(t.ancestor=e)})}),m.value=t},{immediate:!0}),(o,l)=>{let p=c(`RecursiveLinks`,!0);return a(),r(e,null,[(a(!0),r(e,null,s(m.value,(t,o)=>(a(),r(e,{key:`level_${o}`},[t.polygonPath&&t.polygonPath.coordinates?(a(!0),r(e,{key:0},s(t.polygonPath.coordinates,(s,c)=>(a(),r(e,{key:`node_${o}_${c}`},[t.ancestor&&t.ancestor.polygonPath?(a(),r(e,{key:0},[i(`line`,{x1:s.x,y1:s.y,x2:t.ancestor.polygonPath.coordinates[0].x,y2:t.ancestor.polygonPath.coordinates[0].y,stroke:f.backgroundColor,"stroke-width":t.strokeWidth*1.5},null,8,u),i(`line`,{x1:s.x,y1:s.y,x2:t.ancestor.polygonPath.coordinates[0].x,y2:t.ancestor.polygonPath.coordinates[0].y,stroke:f.useChildColor?t.color:f.color,"stroke-width":t.strokeWidth},null,8,d)],64)):n(``,!0)],64))),128)):n(``,!0)],64))),128)),(a(!0),r(e,null,s(m.value,i=>(a(),r(e,{key:`children_${i.uid||i.name}`},[i.polygonPath&&i.polygonPath.coordinates?(a(),r(e,{key:0},[i.nodes&&i.nodes.length>0?(a(),t(p,{key:0,dataset:i.nodes,color:f.color,useChildColor:f.useChildColor,backgroundColor:f.backgroundColor},null,8,[`dataset`,`color`,`useChildColor`,`backgroundColor`])):n(``,!0)],64)):n(``,!0)],64))),128))],64)}}};export{f as default};
@@ -0,0 +1 @@
1
+ import{B as e,M as t}from"./lib-CV_IANZ6.js";import{t as n}from"./_plugin-vue_export-helper-BDNMzG2s.js";import{computed as r,createCommentVNode as i,createElementBlock as a,normalizeClass as o,normalizeStyle as s,openBlock as c}from"vue";var l=[`cx`,`cy`,`r`,`fill`,`stroke`,`stroke-width`],u=[`d`,`fill`,`stroke`,`stroke-width`],d=[`points`,`fill`,`stroke`,`stroke-width`],f=/*#__PURE__*/ n({__name:`Shape`,props:{color:String,isSelected:{type:Boolean,default:!1},limit:{type:Number,default:3},plot:Object,radius:Number,shape:String,stroke:String,strokeWidth:Number,zoom:{type:Number,default:1.3},transition:{type:String},still:{type:Boolean}},emits:[`mouseover`,`mouseout`,`click`],setup(n,{emit:f}){let p=n,m=f;function h(e){return{circle:{points:1,rotation:0},line:{points:2,rotation:0},triangle:{points:3,rotation:.52},square:{points:4,rotation:.783},diamond:{points:4,rotation:0},pentagon:{points:5,rotation:.95},hexagon:{points:6,rotation:0}}[e]}let g=r(()=>h(p.shape)),_=r(()=>p.shape===`star`?e({plot:{x:p.plot.x,y:p.plot.y},radius:p.radius*(p.isSelected?p.zoom:1)}):null),v=r(()=>t({plot:{x:p.plot.x,y:p.plot.y},radius:p.radius*(p.isSelected?p.zoom:1),sides:g.value.points,rotation:g.value.rotation}).path);return(e,t)=>(c(),a(`g`,null,[g.value&&g.value.points===1?(c(),a(`circle`,{key:0,class:o([`vdui-shape-circle`,{"vdui-shape-no-transition":n.still}]),cx:n.plot.x,cy:n.plot.y,r:p.radius*(p.isSelected?p.zoom:1),fill:n.color,stroke:n.stroke,"stroke-width":n.strokeWidth,onMouseover:t[0]||=e=>m(`mouseover`),onMouseout:t[1]||=e=>m(`mouseout`),onClick:t[2]||=e=>m(`click`),style:s({transition:n.transition})},null,46,l)):i(``,!0),g.value&&g.value.points>=n.limit?(c(),a(`path`,{key:1,class:o([`vdui-shape-polygon`,{"vdui-shape-no-transition":n.still}]),d:v.value,fill:n.color,stroke:n.stroke,"stroke-width":n.strokeWidth,onMouseover:t[3]||=e=>m(`mouseover`),onMouseout:t[4]||=e=>m(`mouseout`),onClick:t[5]||=e=>m(`click`),style:s({transition:n.transition})},null,46,u)):i(``,!0),_.value?(c(),a(`polygon`,{key:2,class:o([`vdui-shape-star`,{"vdui-shape-no-transition":n.still}]),points:_.value,fill:n.color,stroke:n.stroke,"stroke-width":n.strokeWidth,onMouseover:t[6]||=e=>m(`mouseover`),onMouseout:t[7]||=e=>m(`mouseout`),onClick:t[8]||=e=>m(`click`),style:s({transition:n.transition})},null,46,d)):i(``,!0)]))}},[[`__scopeId`,`data-v-848f7c20`]]);export{f as t};
@@ -0,0 +1 @@
1
+ import{Dt as e,I as t,Jt as n,P as r,S as i,U as a,V as o,W as s,X as c,an as ee,kt as te,r as l,t as ne}from"./lib-CV_IANZ6.js";import{t as u}from"./_plugin-vue_export-helper-BDNMzG2s.js";import{i as re,l as ie,t as ae}from"./useResponsive-D2CPcpda.js";import{t as d}from"./BaseIcon-DdIyewwY.js";import{t as oe}from"./DefGrad-DKMq1REY.js";import{Fragment as f,computed as p,createCommentVNode as m,createElementBlock as h,createElementVNode as g,createVNode as se,guardReactiveProps as ce,mergeProps as le,nextTick as ue,normalizeClass as de,normalizeProps as fe,normalizeStyle as _,onBeforeUnmount as pe,onMounted as me,onUpdated as he,openBlock as v,ref as y,renderList as b,renderSlot as ge,toDisplayString as _e,unref as ve,useCssVars as ye,vModelText as be,watch as x,withDirectives as xe,withKeys as Se,withModifiers as S}from"vue";var Ce=[`data-minimap`],we={class:`vue-data-ui-slicer-labels`,style:{position:`relative`,"z-index":`1`,"pointer-events":`none`}},Te={key:0,style:{width:`100%`,position:`relative`,"pointer-events":`all`}},Ee={key:0,class:`minimap`,style:{width:`100%`}},De=[`xmlns`,`viewBox`],Oe=[`id`],ke=[`x`,`width`,`height`],Ae=[`width`,`height`,`stroke`],je=[`d`,`stroke`],Me=[`d`,`fill`],Ne=[`x`,`y`,`width`,`height`,`fill`],Pe=[`d`,`stroke`,`stroke-dasharray`],Fe=[`cx`,`cy`,`fill`,`stroke`],Ie=[`cx`,`cy`,`fill`,`stroke`],Le=[`x`,`width`,`height`,`fill`,`rx`],Re=[`x`,`width`,`height`,`rx`,`fill`],ze=[`x`,`width`,`height`,`fill`,`rx`,`aria-valuemin`,`aria-valuemax`,`aria-valuenow`,`aria-valuetext`],Be=[`x2`,`y1`,`y2`,`stroke`],Ve={key:`merged-tree`},He=[`d`,`stroke`],Ue=[`cx`,`cy`,`stroke`,`fill`],We=[`cx`,`cy`,`stroke`,`fill`],Ge={key:`split-tree`},Ke=[`x`,`y`,`width`,`height`,`fill`],qe=[`d`,`stroke`,`stroke-dasharray`],Je=[`cx`,`cy`,`fill`,`stroke`],Ye=[`width`,`height`],Xe=[`transform`],Ze=[`x`,`y`,`width`,`height`],Qe=[`x`,`width`,`height`,`fill`,`stroke`,`stroke-width`],$e=[`transform`],et=[`width`,`height`],tt=[`fill`,`stroke`],nt=[`stroke`],rt=[`fill`],it=[`transform`],at=[`y`,`width`,`height`],ot=[`width`,`height`,`fill`,`stroke`,`stroke-width`],st={key:0,class:`compact-handle-icon`,style:{"pointer-events":`none`}},ct=[`width`,`height`],lt=[`fill`,`stroke`],ut=[`stroke`],dt=[`fill`],ft={key:`merged-tree`,style:{"pointer-events":`none`}},pt=[`cx`,`cy`,`stroke`,`fill`],mt=[`cx`,`cy`,`fill`],ht=[`cx`,`cy`,`stroke`,`fill`],gt=[`cx`,`cy`,`fill`],_t={key:1,style:{"pointer-events":`none`}},vt=[`d`,`stroke`,`stroke-dasharray`],yt=[`cx`,`cy`,`fill`,`stroke`],bt=[`cx`,`cy`,`stroke`,`fill`],xt=[`cx`,`cy`,`fill`],St=[`cx`,`cy`,`stroke`,`fill`],Ct=[`cx`,`cy`,`fill`],wt=[`cx`,`cy`,`fill`,`stroke`],Tt=[`step`,`min`,`max`,`tabindex`],Et=[`step`,`min`,`max`,`tabindex`],Dt=48,Ot=48,kt=/*#__PURE__*/ u({__name:`SlicerPreview`,props:{uuid:{type:String,default:``},immediate:{type:Boolean,default:!0},background:{type:String,default:`#FFFFFF`},borderColor:{type:String,default:`#FFFFFF`},fontSize:{type:Number,default:14},labelLeft:{type:[String,Number],default:``},labelRight:{type:[String,Number],default:``},textColor:{type:String,default:`#1A1A1A`},inputColor:{type:String,default:`#1A1A1A`},max:{type:Number,default:0},min:{type:Number,default:0},selectColor:{type:String,default:`#4A4A4A`},useResetSlot:{type:Boolean,default:!1},valueStart:{type:[Number,String],default:0},valueEnd:{type:[Number,String],default:0},minimap:{type:Array,default:[]},smoothMinimap:{type:Boolean,default:!1},minimapSelectedColor:{type:String,default:`#1f77b4`},minimapSelectionRadius:{type:Number,default:12},minimapLineColor:{type:String,default:`#2D353C`},minimapSelectedColorOpacity:{type:Number,default:.2},minimapSelectedIndex:{type:Number,default:null},minimapIndicatorColor:{type:String,default:`#2D353C`},refreshStartPoint:{type:Number,default:0},refreshEndPoint:{type:Number,default:null},enableRangeHandles:{type:Boolean,default:!1},enableSelectionDrag:{type:Boolean,default:!0},verticalHandles:{type:Boolean,default:!1},timeLabels:{type:Array},isPreview:{type:Boolean,default:!1},preciseLabels:{type:Array,default(){return[]}},usePreciseLabels:{type:Boolean,default:!1},selectedSeries:{type:Object},customFormat:{type:[Function,null]},minimapCompact:{type:Boolean,default:!1},allMinimaps:{type:Array,default(){return[]}},minimapMerged:{type:Boolean,default:!1},minimapFrameColor:{type:String,default:`#e1e5e8`},cutNullValues:{type:Boolean,default:!1},focusOnDrag:{type:Boolean,default:!1},focusRangeRatio:{type:Number,default:.1},minScale:{type:Number,default:null},maxScale:{type:Number,default:null},forceZeroCenter:{type:Boolean,default:!1},maxWidth:{type:Number,default:null},minimapLeftInsetRatio:{type:Number,default:null},minimapRightInsetRatio:{type:Number,default:null},isCursorPointer:{type:Boolean,default:!1},additionalMinimapHeight:{type:Number,default:0},handleType:{type:String,default:``},handleWidth:{type:Number,default:20},handleBorderWidth:{type:Number,default:1},handleIconColor:{type:String,default:null},handleBorderColor:{type:String,default:null},handleFill:{type:String,default:null},precision:{type:Number,default:0},useValueRange:{type:Boolean,default:!1}},emits:[`futureStart`,`futureEnd`,`update:start`,`update:end`,`reset`,`trapMouse`,`trapMouseValue`],setup(u,{expose:kt,emit:At}){ye(e=>({v1facdf1e:on.value,v90bb30dc:R.value,v55cd00fa:cn.value,d050ae7c:u.selectColor,v15a5e250:sn.value}));let C=u;function w(e){let t=Number(e)||0;return C.precision<=0?Math.round(t):Number(t.toFixed(C.precision))}let T=y(null),E=y(C.min),D=y(C.max),O=p(()=>!!C.allMinimaps.length),jt=p(()=>te(C.minimapLeftInsetRatio)&&te(C.minimapRightInsetRatio)),Mt=p(()=>{let e=Math.min(1,Math.max(0,C.minimapLeftInsetRatio))*100,t=Math.min(1,Math.max(0,C.minimapRightInsetRatio))*100;return{padding:jt.value?`0 ${t}% 0 ${e}%`:`0 48px`,maxWidth:C.maxWidth&&!jt.value?`${C.maxWidth}px`:void 0,margin:C.maxWidth&&!jt.value?`0 auto`:void 0}}),Nt=y(c()),k=y(!1),A=p(()=>O.value&&C.minimapCompact),Pt=y(null),j=y(null),Ft=y(!1),It=y(0),Lt=y(0),Rt=y(null),zt=y(!1),Bt=p(()=>Pt.value!==null),Vt=p(()=>C.useValueRange?D.value:D.value-1),Ht=p(()=>Math.max(1,Number(C.max)-Number(C.min)));function Ut(e){return(Number(e)-Number(C.min))/Ht.value*100}function Wt(e){return z.value.width*(Ut(e)/100)}function Gt(e){let t=Math.min(1,Math.max(0,e/Math.max(1,z.value.width)));return w(Number(C.min)+Ht.value*t)}function Kt(e){let t=C.useValueRange?e?.y:e;return te(t)?Number(t):null}function qt(e,t){return C.useValueRange?Number(e?.x):t+Number(C.min)}function Jt(e,t){return C.useValueRange?Wt(qt(e,t)):H.value*t+(C.minimapCompact?0:H.value/2)}let Yt=p(()=>Math.min(40,Math.max(20,C.handleWidth))),Xt=y(0),Zt=ie(e=>I(`futureStart`,e),0),Qt=ie(e=>I(`futureEnd`,e),0),M=p(()=>C.precision>0?1/10**C.precision:1),N=p({get:()=>E.value,set(e){let t=Math.min(Number(e),Number(D.value)-M.value);t!==E.value&&(E.value=t,q.value&&(q.value.value=String(t)),C.immediate?I(`update:start`,Number(t)):k.value&&Zt(t))}}),P=p({get:()=>D.value,set(e){let t=Math.max(Number(e),Number(E.value)+M.value);t!==D.value&&(D.value=t,Gn.value&&(Gn.value.value=String(t)),C.immediate?I(`update:end`,Number(t)):k.value&&Qt(t))}});function F(){clearTimeout(null),C.immediate||(I(`update:start`,Number(E.value)),I(`update:end`,Number(D.value))),k.value=!1}let $t=p(()=>C.refreshEndPoint===null?C.max:C.refreshEndPoint),I=At,en=p(()=>{if(C.useValueRange)return Ut(E.value);if(A.value){let e=Math.max(1,B.value-1);return In.value/e*100}let e=Math.max(1,C.max-C.min);return(E.value-C.min)/e*100}),tn=p(()=>{if(C.useValueRange)return Ut(D.value);if(A.value){let e=Math.max(1,B.value-1);return Ln.value/e*100}let e=Math.max(1,C.max-C.min);return(D.value-C.min)/e*100}),nn=p(()=>(en.value+tn.value)/2),rn=p(()=>{if(!T.value)return!1;let e=Math.max(1,C.max-C.min);return T.value.getBoundingClientRect().width*((E.value-C.min)/e)-xr.value/2<0}),an=p(()=>{if(!T.value)return!1;let e=Math.max(1,C.max-C.min),t=T.value.getBoundingClientRect().width;return t*((D.value-C.min)/e)+Sr.value/2>t}),L=p(()=>{let e=an.value?`calc(${nn.value}% - ${kr.value.width}px)`:rn.value?`calc(${nn.value}% - 8px)`:`calc(${nn.value}% - ${kr.value.width/2}px)`;return{left:`${en.value}%`,width:`${Math.max(0,tn.value-en.value)}%`,background:C.selectColor,tooltipLeft:`calc(${en.value}% - ${rn.value?9:xr.value/2}px)`,tooltipRight:`calc(${tn.value}% - ${an.value?Sr.value-9:Sr.value/2}px)`,tooltipCenter:e,arrowLeft:!rn.value,arrowRight:!an.value}}),on=p(()=>C.inputColor),sn=p(()=>C.background),cn=p(()=>n(i(C.selectColor)||C.selectColor,20)),R=p(()=>C.borderColor),ln=p(()=>Number(C.max)>Number(C.min));function un(){I(`reset`)}x(()=>C.min,e=>{Number(E.value)<Number(e)&&(E.value=Number(e)),Number(D.value)<Number(e)&&(D.value=Number(e))}),x(()=>C.max,e=>{Number(E.value)>Number(e)&&(E.value=Number(e)),Number(D.value)>Number(e)&&(D.value=Number(e))});let dn=y(null),z=y({width:1,height:1}),fn=y(null);me(()=>{if(O.value){let e=ie(()=>{if(!dn.value)return;let{width:e,height:t}=ae({chart:dn.value}),n=Math.max(0,Math.round(e)),r=Math.max(0,Math.round(t-47));(n!==z.value.width||r!==z.value.height)&&(z.value.width=n,z.value.height=r+C.additionalMinimapHeight)},0);fn.value=new ResizeObserver(e),fn.value.observe(dn.value)}}),pe(()=>{fn.value&&fn.value.disconnect()});let B=p(()=>Math.max(1,C.max-C.min));function pn(e){let t=Math.floor(e-C.min);return Math.min(Math.max(0,t),B.value)}function mn(e){let t=Math.ceil(e-C.min);return Math.min(Math.max(0,t),B.value)}let V=p(()=>pn(E.value)),hn=p(()=>mn(D.value)),gn=p(()=>Math.max(...C.allMinimaps.map(e=>e.series.length))),_n=p(()=>O.value&&C.minimapCompact?40:0),vn=p(()=>_n.value/2);p(()=>Math.max(1,z.value.width-vn.value*2));let H=p(()=>{if(C.minimapCompact&&!C.useValueRange)return z.value.width/Math.max(1,B.value-1);let e=Math.max(1,gn.value-+!!C.minimapCompact);return z.value.width/e}),yn=p(()=>C.allMinimaps.length?C.allMinimaps.filter(e=>e.type===`bar`&&e.isVisible).length:0),bn=p(()=>H.value/(yn.value||1)*.8);function xn(e,t,n){let r=bn.value,i=Math.max(1,yn.value),a=gn.value-1;return n===0?e+r/2*t:n===a?e-r/2*(i-t):e-i*r/2+t*r}function Sn(e,t){return[0,gn.value-1].includes(t)?bn.value/2:bn.value}let Cn=p(()=>{let e=[];if(Array.isArray(C.minimap)&&C.minimap.length&&C.minimapMerged&&e.push(...C.minimap.map(Kt).filter(Number.isFinite)),Array.isArray(C.allMinimaps)&&C.allMinimaps.length)for(let t of C.allMinimaps)t?.isVisible&&Array.isArray(t?.series)&&e.push(...t.series.map(Kt).filter(Number.isFinite));return e.length?{min:Math.min(...e),max:Math.max(...e)}:{min:0,max:1}}),wn=p(()=>{if(C.minScale==null&&C.forceZeroCenter)return null;let e=Number(C.minScale);return Number.isFinite(e)?e:null}),Tn=p(()=>{if(C.maxScale==null&&C.forceZeroCenter)return null;let e=Number(C.maxScale);return Number.isFinite(e)?e:null}),En=p(()=>wn.value!==null&&Tn.value!==null),Dn=p(()=>{let{min:e,max:t}=Cn.value,n=wn.value,r=Tn.value,i,a;return n!==null&&r!==null?(i=Math.min(n,e),a=Math.max(r,t)):(i=n===null?e:n,a=r===null?t:r),Number.isFinite(i)||(i=0),Number.isFinite(a)||(a=1),i===a?a=i+1:i>a&&([i,a]=[a,i]),{min:i,max:a}}),On=p(()=>Dn.value.min),kn=p(()=>Dn.value.max),An=p(()=>On.value<0&&kn.value>0||kn.value<=0?On.value:0),jn=e=>{let t=Math.max(1,z.value.height);return Nn(On.value,kn.value,t,En.value)(e)},Mn=p(()=>jn(0));function Nn(e,t,n,r=!1){let i=(e,t,n)=>Math.max(t,Math.min(n,e)),a=1e-9,o=Math.max(a,t-e);if(r)return t=>n-(t-e)/o*n;if(t<=0){let t=Math.max(a,0-e);return r=>n-(r-e)/t*n}if(e>=0){let e=Math.max(a,t-0);return t=>n-(t-0)/e*n}{let r=Math.max(a,Math.max(Math.abs(e),Math.abs(t)));return e=>(1-(i(e/r,-1,1)+1)/2)*n}}function Pn(e,n=!1,i=!1){if(!e||!e.length)return{fullSet:``,points:[],selectionSet:``,sliced:[],firstPlot:null,lastPlot:null,hasFull:!1,hasSelection:!1,fullMarkers:[],selectionMarkers:[],dashed:!1};let c=Math.max(1,z.value.height),ee=Nn(On.value,kn.value,c,En.value),te=e.length,l=Math.min(Math.max(0,V.value),Math.max(0,te-1)),ne=Math.min(te,Math.max(l+1,hn.value)),u=e.map((e,t)=>{let n=Kt(e),r=Number.isFinite(n),i=Jt(e,t),a=En.value?((e,t,n)=>Math.max(t,Math.min(n,e)))(0,On.value,kn.value):0,o=ee(a);return{x:i,y:r?ee(n):NaN,v:n,value:r?n:null,y0:o,i:t,xValue:qt(e,t)}}),re=e=>e>=0&&e<u.length&&Number.isFinite(u[e]?.value),ie=u.filter(e=>Number.isFinite(e.value)&&!re(e.i-1)&&!re(e.i+1)),ae=C.useValueRange?ie.filter(e=>e.xValue>=Number(E.value)&&e.xValue<=Number(D.value)):ie.filter(e=>e.i>=l&&e.i<ne),d=C.useValueRange?u.filter(e=>e.xValue>=Number(E.value)&&e.xValue<=Number(D.value)):u.slice(l,ne);return{fullSet:u.length>=2?i?o(C.cutNullValues?u:u.filter(e=>e.value!=null)):C.smoothMinimap||n?C.cutNullValues?t(u):r(u.filter(e=>e.value!=null)):C.cutNullValues?s(u):a(u.filter(e=>e.value!=null)):``,points:u,selectionSet:d.length>=2?i?o(C.cutNullValues?d:d.filter(e=>e.value!=null)):C.smoothMinimap||n?C.cutNullValues?t(d):r(d.filter(e=>e.value!=null)):C.cutNullValues?s(d):a(d.filter(e=>e.value!=null)):``,sliced:d,firstPlot:C.useValueRange?d[0]||null:u[l]||null,lastPlot:C.useValueRange?d[d.length-1]||null:u[Math.max(0,ne-1)]||null,hasFull:u.length>=2,hasSelection:d.length>=2,fullMarkers:ie,selectionMarkers:ae}}let U=p(()=>C.minimap.length?Pn(C.minimap):[]),W=p(()=>C.allMinimaps.length?C.allMinimaps.map((e,t)=>{let n=Pn(e?.series||[],!!e.smooth,!!e.useStepper),r=e?.id??e?.name??t;return{key:typeof r==`object`?JSON.stringify(r):String(r),color:e?.color,...n,temperatureColors:e?.temperatureColors??null,isVisible:e.isVisible,type:e.type||void 0,dashed:e.dashed??!1,useStepper:!!e.useStepper}}):[]),G=p(()=>{if(C.useValueRange){let e=Wt(E.value),t=Wt(D.value);return{x:e,width:Math.max(0,t-e)}}let e=V.value,t=Math.max(e+1,hn.value);return{x:H.value*e+(C.minimapCompact?0:H.value/2),width:H.value*(t-e)-H.value}}),K=y(C.minimapSelectedIndex),Fn=e=>Math.round(C.min+e),In=p({get(){return A.value?V.value:Number(N.value)},set(e){if(A.value){if(C.useValueRange){let t=w(e);Jn(Math.min(Math.max(Number(C.min),t),Number(D.value)-M.value));return}let t=Math.round(+e||0);Jn(Fn(t))}else{let t=w(e),n=Number(D.value)-M.value,r=Math.min(Math.max(C.min,t),n);q.value&&(q.value.valueAsNumber=r),Jn(r)}}}),Ln=p({get(){return A.value?Math.max(V.value,hn.value-1):Number(P.value)},set(e){if(A.value){if(C.useValueRange){let t=w(e);Xn(Math.max(Number(E.value)+M.value,Math.min(t,Number(C.max))));return}let t=Math.round(+e||0);Xn(Fn(t+1))}else{let t=w(e),n=Number(E.value)+M.value,r=Math.max(n,Math.min(t,C.max));Gn.value&&(Gn.value.valueAsNumber=r),Xn(r)}}}),Rn=0;function zn(e,t){if(t===Rn){if(C.useValueRange){K.value=Number.isFinite(Number(e))?Wt(Number(e)):null;return}K.value=pn(C.valueStart)+e}}let Bn=re(zn,60);x(()=>C.minimapSelectedIndex,(e,t)=>{if(Rn+=1,[null,void 0].includes(e)){K.value=null;return}e!==t&&Bn(e,Rn)},{immediate:!0});function Vn(e){if(Bt.value)return;K.value=e;let t=V.value,n=hn.value;e>=t&&e<n&&!Q.value&&I(`trapMouse`,e-t)}function Hn(e){let t=Gt(e),n=C.allMinimaps.flatMap(e=>(e.series||[]).map((e,n)=>({point:e,index:n,x:Number(e?.x),distance:Math.abs(Number(e?.x)-t)}))).filter(e=>Number.isFinite(e.x));return n.length?n.reduce((e,t)=>t.distance<e.distance?t:e,n[0]):null}function Un(e){if(!ln.value||Bt.value)return;let t=Gr(e.clientX);if(C.useValueRange){let e=Hn(t);if(!e){Wn();return}K.value=Wt(e.x),I(`trapMouse`,e.index),I(`trapMouseValue`,e.x);return}Vn(Kr(t))}function Wn(){K.value=null,!Bt.value&&(I(`trapMouse`,null),I(`trapMouseValue`,null))}let q=y(null),Gn=y(null);function Kn(e){if(typeof e==`object`&&e&&`target`in e){let t=e.target,n=`valueAsNumber`in t?t.valueAsNumber:+t.value;return Number.isFinite(n)?n:NaN}let t=+e;return Number.isFinite(t)?t:NaN}let qn=0;function Jn(e){k.value=!0;let t=Kn(e);Number.isFinite(t)&&(cancelAnimationFrame(qn),qn=requestAnimationFrame(()=>{N.value=t}))}let Yn=0;function Xn(e){k.value=!0;let t=Kn(e);Number.isFinite(t)&&(cancelAnimationFrame(Yn),Yn=requestAnimationFrame(()=>{P.value=t}))}function Zn(e,t){let n=Kn(e),r=Kn(t);if(!Number.isFinite(n)||!Number.isFinite(r))return;cancelAnimationFrame(qn),cancelAnimationFrame(Yn);let i=Number(C.min),a=Number(C.max),o=M.value,s=w(Math.max(i,Math.min(n,a))),c=w(Math.max(i,Math.min(r,a)));s=Math.min(s,a-o),c=Math.max(c,s+o),c=Math.min(c,a),c<=s&&(s=i,c=a),E.value=s,D.value=c,q.value&&(q.value.value=String(s)),Gn.value&&(Gn.value.value=String(c))}pe(()=>{cancelAnimationFrame(qn),cancelAnimationFrame(Yn)});let Qn=p(()=>C.valueEnd-C.valueStart),$n=p(()=>Qn.value<C.max-C.min),er=y(!1),tr=y(null),nr=p(()=>(Xt.value-48)/(C.max-C.min)*Qn.value),rr=p(()=>Math.max(1,Xt.value-Dt-nr.value)),ir=p(()=>Math.max(1,C.max-C.min-Qn.value)),ar=p(()=>ir.value/rr.value),or=y(0),sr=y(0),cr=y(0),lr=y(0),J=null,Y=null,X=null,Z=null,ur=y(C.min);function dr(e){if(!T.value)return C.min;let t=T.value.getBoundingClientRect(),n=t.left+Dt/2,r=t.right-Dt/2,i=Math.max(1,r-n),a=(Math.max(n,Math.min(e,r))-n)/i,o=Math.max(1,C.max-C.min);return Math.round(C.min+a*o)}let fr=async e=>{if(k.value=!0,Cr.value=!0,!C.enableSelectionDrag)return;let t=e.type===`touchstart`;t||e.stopPropagation();let n=t&&e.targetTouches&&e.targetTouches[0]?e.targetTouches[0]:null,r=t?n?n.target:null:e.target;if(!r||!(r instanceof Element)||r.classList?.contains(`range-handle`)||r.classList?.contains(`vue-ui-zoom-compact-minimap-handle`)||r.closest(`.vue-ui-zoom-compact-minimap-handle`))return;er.value=!0;let i=t?n?n.clientX:0:e.clientX;if(tr.value=i,or.value=i,C.focusOnDrag&&!$n.value&&T.value&&!zt.value){zt.value=!0;try{ur.value=dr(i);let e=Math.min(.95,Math.max(.05,C.focusRangeRatio)),t=Number(C.max)-Number(C.min),n=Math.max(1,Math.round(t*e)),r=Math.floor(n/2),a=ur.value-r;a=Math.max(Number(C.min),Math.min(a,Number(C.max)-n));let o=Math.min(Number(C.max),a+n);N.value=a,P.value=o,Zt(a),Qt(o),ee(T.value,`mouseup`),await ue(),ee(T.value,`mousedown`,{clientX:i})}finally{zt.value=!1}return}sr.value=E.value,cr.value=D.value,lr.value=ar.value,J=t?`touchmove`:`mousemove`,Y=t?`touchend`:`mouseup`,X=t?mr:pr,Z=t?_r:gr,window.addEventListener(J,X,{passive:!1}),window.addEventListener(Y,Z)};function pr(e){er.value&&hr(e.clientX)}function mr(e){if(!er.value||!T.value)return;let t=e.target;if(!(t instanceof Element)||!T.value.contains(t)||t.classList&&t.classList.contains(`range-handle`))return;e.preventDefault();let n=e.targetTouches&&e.targetTouches[0]?e.targetTouches[0]:null;n&&hr(n.clientX)}function hr(e){if(!er.value)return;let t=dr(or.value),n=dr(e)-t,r=Math.round(sr.value+n);r=Math.max(C.min,Math.min(r,C.max-Qn.value));let i=r+Qn.value;N.value=r,P.value=i,Zt(r),Qt(i)}function gr(){vr()}function _r(){vr()}function vr(){er.value=!1,J&&X&&window.removeEventListener(J,X),Y&&Z&&window.removeEventListener(Y,Z),J=Y=null,X=Z=null,F()}let Q=y(!1),yr=y(null),br=y(null),xr=y(1),Sr=y(1),Cr=y(!1);function wr(){if(yr.value){let e=Math.round(yr.value.getBoundingClientRect().width);e!==xr.value&&(xr.value=e)}}function Tr(){if(br.value){let e=Math.round(br.value.getBoundingClientRect().width);e!==Sr.value&&(Sr.value=e)}}he(()=>{wr(),Tr()});let Er=y(0);function Dr(e){Er.value=+(e===`start`)}let Or=y(!1),kr=y({width:0,left:0});x([E,D],async()=>{if(await ue(),!yr.value||!br.value){Or.value=!1,kr.value={width:0,left:0};return}let e=yr.value.getBoundingClientRect(),t=br.value.getBoundingClientRect();Or.value=e.x+e.width>t.x;let n=e.x+e.width/2,r=t.x+t.width/2,i=e.width+t.width,a=(n+r)/2;kr.value={width:i,left:a-i/2}}),he(()=>{wr(),Tr()}),x(()=>C.labelLeft,()=>{ue(wr)},{deep:!0}),x(()=>C.labelRight,()=>{ue(Tr)},{deep:!0});let $=p(()=>{let t=``,n=``,r=!1;if(e(C.customFormat))try{let e=C.customFormat({absoluteIndex:E.value,seriesIndex:E.value,datapoint:C.selectedSeries,timeLabel:C.preciseLabels[E.value],side:`left`}),i=C.customFormat({absoluteIndex:Vt.value,seriesIndex:-1,datapoint:C.selectedSeries,timeLabel:C.useValueRange?null:C.preciseLabels[Vt.value],side:`right`});typeof e==`string`&&typeof i==`string`&&(t=e,n=i,r=!0)}catch{r=!1}if(!r){let e=C.useValueRange?{text:String(Math.round(E.value*1e3)/1e3)}:C.usePreciseLabels?C.preciseLabels.find(e=>e.absoluteIndex===E.value):C.timeLabels.find(e=>e.absoluteIndex===E.value),r=C.useValueRange?{text:String(Math.round(D.value*1e3)/1e3)}:C.usePreciseLabels?C.preciseLabels.find(e=>e.absoluteIndex===Vt.value):C.timeLabels.find(e=>e.absoluteIndex===Vt.value);t=e?e.text:``,n=r?r.text:``}return{left:t,right:n}});pe(()=>{fn.value&&fn.value.disconnect(),J&&X&&window.removeEventListener(J,X),Y&&Z&&window.removeEventListener(Y,Z),J=Y=null,X=Z=null,clearTimeout(null)});let Ar=p(()=>{if(!ln.value||K.value===null)return null;if(C.useValueRange){let e=K.value;return e<G.value.x||e>G.value.x+G.value.width?null:{x1:e,x2:e,y1:0,y2:Math.max(z.value.height,0),stroke:C.minimapIndicatorColor,"stroke-linecap":`round`,"stroke-dasharray":2,"stroke-width":1}}if(K.value>=V.value&&K.value<hn.value){let e=K.value,t=H.value*e+(C.minimapCompact?0:H.value/2);return{x1:t,x2:t,y1:0,y2:Math.max(z.value.height,0),stroke:C.minimapIndicatorColor,"stroke-linecap":`round`,"stroke-dasharray":2,"stroke-width":1}}return null}),jr=p(()=>Number(E.value)<Number(D.value)-1),Mr=p(()=>Number(E.value)>Number(C.min)),Nr=p(()=>Number(D.value)<Number(C.max)),Pr=p(()=>Number(D.value)>Number(E.value)+1);function Fr(e){let t=Number(E.value)+e;e>0&&!jr.value||e<0&&!Mr.value||(k.value=!0,N.value=t,F())}function Ir(e){let t=Number(D.value)+e;e>0&&!Nr.value||e<0&&!Pr.value||(k.value=!0,P.value=t,F())}let Lr={plus:()=>Fr(1),minus:()=>Fr(-1),canPlus:jr,canMinus:Mr},Rr={plus:()=>Ir(1),minus:()=>Ir(-1),canPlus:Nr,canMinus:Pr};function zr(e){if(!e||Br(e.target))return;let t=e.key,n=t===`ArrowLeft`||t===`ArrowDown`||t===`-`||t===`Subtract`,r=t===`ArrowRight`||t===`ArrowUp`||t===`+`||t===`Add`;(n||r)&&(e.preventDefault(),e.stopPropagation(),r?(Lr.plus(),Rr.plus()):(Lr.minus(),Rr.minus()))}function Br(e){return e instanceof HTMLElement&&(e.isContentEditable||e.tagName===`INPUT`||e.tagName===`TEXTAREA`||e.tagName===`SELECT`)}function Vr(e){if(!O.value||!C.minimapCompact)return;let t=T.value;if(!t)return;let n=e===`start`?`[data-cy="slicer-compact-handle-left"]`:`[data-cy="slicer-compact-handle-right"]`,r=t.querySelector(n);r&&r instanceof SVGElement&&typeof r.focus==`function`&&r.focus()}function Hr(e,t){if(!t||Br(t.target))return;let n=t.key,r=n===`ArrowLeft`||n===`ArrowDown`||n===`-`||n===`Subtract`,i=n===`ArrowRight`||n===`ArrowUp`||n===`+`||n===`Add`;(r||i)&&(t.preventDefault(),t.stopPropagation(),e===`start`?i?Lr.plus():Lr.minus():i?Rr.plus():Rr.minus(),ue(()=>Vr(e)))}let Ur=p(()=>({tabindex:0,role:`slider`,"aria-label":`Range start`,"aria-valuemin":Number(C.min),"aria-valuemax":Math.max(Number(C.min),Number(D.value)-1),"aria-valuenow":Number(E.value)})),Wr=p(()=>({tabindex:0,role:`slider`,"aria-label":`Range end`,"aria-valuemin":Math.min(Number(C.max),Number(E.value)+1),"aria-valuemax":Number(C.max),"aria-valuenow":Number(D.value)}));function Gr(e){if(!Rt.value)return 0;let t=Rt.value.getBoundingClientRect();if(!t.width)return 0;let n=(e-t.left)/t.width;return Math.min(1,Math.max(0,n))*z.value.width}function Kr(e){let t=Math.max(0,B.value-1),n=Math.max(1,z.value.width),r=Math.min(1,Math.max(0,e/n));return Math.min(t,Math.max(0,Math.round(r*t)))}function qr(e,t){let n=Math.min(Math.max(0,t),Math.max(1,z.value.width));if(C.useValueRange){let t=Gt(n);if(e===`start`){let e=Math.min(t,Number(D.value)-M.value);N.value=e,Zt(e);return}if(e===`end`){let e=Math.max(Number(E.value)+M.value,t),n=Math.min(Number(C.max),e);P.value=n,Qt(n);return}}let r=Kr(n);if(e===`start`){let e=Math.min(C.min+r,Number(D.value)-1);N.value=e,Zt(e);return}if(e===`end`){let e=Math.max(Number(E.value)+1,C.min+r+1),t=Math.min(C.max,e);P.value=t,Qt(t)}}function Jr(e=!1){let t=Ft.value;Pt.value=null,j.value=null,Ft.value=!1,It.value=0,Lt.value=0,e&&t&&F()}function Yr(e,t){if(Pt.value!==e||j.value!==t.pointerId||!dn.value)return;if(t.pointerType===`mouse`&&!(t.buttons&1)){Jr(!0);return}t.preventDefault();let n=t.clientX-It.value;if(!Ft.value){if(Math.abs(n)<4)return;Ft.value=!0,k.value=!0,Cr.value=!0}let r=Gr(t.clientX)-Lt.value;qr(e,e===`start`?r+Yt.value:r)}function Xr(e,t){if(Pt.value!==e||j.value!==t.pointerId)return;let n=t.currentTarget,r=t.pointerId;Jr(!0),n?.hasPointerCapture?.(r)&&n.releasePointerCapture(r)}function Zr(e,t){Pt.value===e&&j.value===t.pointerId&&Jr(!0)}function Qr(e,t){if(!O.value||!C.minimapCompact||!dn.value||t.pointerType===`mouse`&&t.button!==0||j.value!==null)return;t.preventDefault(),t.stopPropagation(),K.value=null;let n=Gr(t.clientX),r=e===`start`?G.value.x-Yt.value:G.value.x+G.value.width;Pt.value=e,j.value=t.pointerId,Ft.value=!1,It.value=t.clientX,Lt.value=n-r,t.currentTarget?.setPointerCapture?.(t.pointerId)}x(A,e=>{!e&&j.value!==null&&Jr(!0)});let $r=p(()=>V.value),ei=p(()=>Math.max(V.value,hn.value-1));p(()=>{if(!O.value||!C.minimapCompact||!C.allMinimaps.length)return[];let e=$r.value,t=ei.value;return W.value.flatMap(n=>{if(!n?.isVisible||![`line`,`plot`].includes(n.type)||!n.type)return[];let r=[],i=n.points?.find(t=>t.i===e&&t.value!==null),a=n.points?.find(e=>e.i===t&&e.value!==null);return i&&r.push({key:`${n.key}-left-${i.i}`,x:i.x,y:i.y,color:n.color}),a&&t!==e&&r.push({key:`${n.key}-right-${a.i}`,x:a.x,y:a.y,color:n.color}),r})});let ti=p(()=>Math.min(40,Math.max(20,C.handleWidth))),ni=p(()=>Math.max(Ot,ti.value)),ri=p(()=>Math.max(Ot,Number(z.value.height)||0)),ii=p(()=>(z.value.height-ri.value)/2),ai=p(()=>G.value.x),oi=p(()=>G.value.x+G.value.width);return kt({setStartValue:Jn,setEndValue:Xn,setRangeValues:Zn}),(e,t)=>(v(),h(`div`,{"data-minimap":O.value,"data-dom-to-png-ignore":``,"data-dom-to-png-ignore-layout":``,class:`vue-data-ui-zoom`,ref_key:`zoomWrapper`,ref:T,onMousedown:fr,onTouchstart:fr,style:_(Mt.value)},[g(`div`,we,[u.valueStart!==u.refreshStartPoint||u.valueEnd!==$t.value?(v(),h(`div`,Te,[ge(e.$slots,`reset-action`,{reset:un},()=>[g(`button`,{tabindex:`0`,role:`button`,class:`vue-data-ui-refresh-button`,style:_({top:O.value?`36px`:`-16px`,cursor:u.isCursorPointer?`pointer`:`default`}),onClick:un},[se(d,{name:`refresh`,stroke:u.textColor},null,8,[`stroke`])],4)],!0)])):m(``,!0)]),g(`div`,{class:`double-range-slider`,ref_key:`minimapWrapper`,ref:dn,style:_([{"z-index":`0`},O.value?{"--minimap-unit-px":H.value+`px`,"--minimap-offset-px":(u.minimapCompact?0:H.value/2)+`px`}:void 0]),onMouseenter:t[26]||=e=>Cr.value=!0,onMouseleave:t[27]||=e=>Cr.value=!1},[O.value?(v(),h(`div`,Ee,[(v(),h(`svg`,{ref_key:`minimapSvg`,ref:Rt,key:`mm-${u.minimapMerged?`merged`:`split`}-${u.minimapCompact?`compact`:`normal`}`,xmlns:ve(ne),viewBox:`0 0 ${Math.max(0,z.value.width)} ${Math.max(0,z.value.height)}`,preserveAspectRatio:`none`},[g(`defs`,null,[se(oe,{t:`linear`,id:Nt.value,x1:`0%`,y1:`0%`,x2:`0%`,y2:`100%`,stops:[[`0%`,u.minimapLineColor,.31],[`100%`,`transparent`,0]]},null,8,[`id`,`stops`]),g(`clipPath`,{id:`selection_clip_${Nt.value}`},[g(`rect`,{x:G.value.x,y:`0`,width:Math.max(0,G.value.width),height:Math.max(z.value.height,0)},null,8,ke)],8,Oe)]),u.minimapCompact?(v(),h(`rect`,{key:0,class:`vue-ui-zoom-minimap-frame`,x:0,y:0,width:z.value.width,height:z.value.height,fill:`none`,stroke:u.minimapFrameColor,rx:3},null,8,Ae)):m(``,!0),e.$slots.slotMap?m(``,!0):(v(),h(f,{key:1},[u.minimapMerged?(v(),h(`path`,{key:0,d:`M${U.value.fullSet}`,stroke:`${u.minimapLineColor}`,fill:`none`,"stroke-width":`1`,"stroke-linecap":`round`,"stroke-linejoin":`round`,style:{opacity:`0.6`}},null,8,je)):m(``,!0),u.minimapMerged&&!u.minimapCompact?(v(),h(`path`,{key:1,d:`M${H.value/2},${Math.max(z.value.height,0)} ${U.value.fullSet} L${z.value.width-H.value/2},${Math.max(z.value.height,0)}Z`,fill:`url(#${Nt.value})`,stroke:`none`,style:{opacity:`0.6`}},null,8,Me)):u.minimapMerged?m(``,!0):(v(),h(f,{key:2},[(v(!0),h(f,null,b(W.value.filter(e=>e.type===`bar`&&e.isVisible),(e,t)=>(v(),h(`g`,null,[(v(!0),h(f,null,b(e.points,(n,r)=>(v(),h(f,null,[e&&!isNaN(n.y)?(v(),h(`rect`,{key:0,x:xn(n.x,t,r),y:n.v>=0?n.y:n.y0,width:Sn(t,r),height:n.v>=0?n.y0-n.y:n.y-n.y0,fill:e.color,style:{opacity:.6}},null,8,Ne)):m(``,!0)],64))),256))]))),256)),(v(!0),h(f,null,b(W.value.filter(e=>e.type===`line`),e=>(v(),h(`g`,null,[e.isVisible?(v(),h(`path`,{key:0,d:`M ${e.fullSet}`,fill:`none`,stroke:e.color,style:{opacity:`0.6`},"stroke-dasharray":e.dashed?`2 4`:0},null,8,Pe)):m(``,!0),e.isVisible&&u.cutNullValues?(v(!0),h(f,{key:1},b(e.fullMarkers,t=>(v(),h(`circle`,{key:`sel-dot-under-${e.key}-${t.i}`,cx:t.x,cy:t.y,r:`2`,fill:e.color,stroke:R.value,"stroke-width":`0.5`,style:{opacity:`0.6`}},null,8,Fe))),128)):m(``,!0)]))),256)),(v(!0),h(f,null,b(W.value.filter(e=>e.type===`plot`),e=>(v(),h(`g`,null,[(v(!0),h(f,null,b(e.points,t=>(v(),h(`g`,null,[e.isVisible&&t.value!==null?(v(),h(`circle`,{key:`sel-plot-under-${e.key}-${t.i}`,cx:t.x,cy:t.y,r:`2`,fill:e.color,stroke:R.value,"stroke-width":`0.5`,style:{opacity:`0.6`}},null,8,Ie)):m(``,!0)]))),256))]))),256))],64))],64)),g(`rect`,{x:G.value.x,y:0,width:Math.max(0,G.value.width),height:Math.max(z.value.height,0),fill:R.value,rx:u.minimapSelectionRadius,stroke:`none`},null,8,Le),g(`rect`,{x:G.value.x,y:0,width:G.value.width<0?0:G.value.width,height:Math.max(z.value.height,0),rx:u.minimapSelectionRadius,fill:R.value,style:_({opacity:er.value||k.value?0:1})},null,12,Re),g(`rect`,{x:G.value.x,y:0,width:G.value.width<0?0:G.value.width,height:Math.max(z.value.height,0),fill:u.minimapSelectedColor,rx:u.minimapSelectionRadius,style:_({opacity:u.minimapSelectedColorOpacity}),tabindex:`0`,role:`slider`,"aria-label":`Selected range`,"aria-valuemin":Number(C.min),"aria-valuemax":Number(C.max),"aria-valuenow":Number(E.value),"aria-valuetext":$.value.left&&$.value.right?`${$.value.left} – ${$.value.right}`:void 0,onKeydown:zr},null,44,ze),!u.minimapMerged&&An.value<0?(v(),h(`line`,{key:2,class:`slicer-minimap-zero-line`,x1:0,x2:z.value.width,y1:Mn.value,y2:Mn.value,stroke:u.minimapFrameColor,"stroke-width":`0.5`},null,8,Be)):m(``,!0),e.$slots.slotMap?m(``,!0):(v(),h(f,{key:3},[u.minimapMerged?(v(),h(`g`,Ve,[U.value&&U.value.sliced&&U.value.sliced.length?(v(),h(f,{key:0},[U.value.selectionSet?(v(),h(`path`,{key:0,d:`M ${U.value.selectionSet}`,stroke:`${u.minimapLineColor}`,fill:`transparent`,"stroke-width":`2`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null,8,He)):m(``,!0)],64)):m(``,!0),U.value&&U.value.firstPlot?(v(),h(`circle`,{key:1,cx:U.value.firstPlot.x,cy:U.value.firstPlot.y,"stroke-width":`0.5`,stroke:R.value,r:`3`,fill:u.minimapLineColor},null,8,Ue)):m(``,!0),U.value&&U.value.lastPlot?(v(),h(`circle`,{key:2,cx:U.value.lastPlot.x,cy:U.value.lastPlot.y,"stroke-width":`0.5`,stroke:R.value,r:`3`,fill:u.minimapLineColor},null,8,We)):m(``,!0)])):(v(),h(`g`,Ge,[(v(!0),h(f,null,b(W.value.filter(e=>e.type===`bar`&&e.isVisible),(e,t)=>(v(),h(`g`,null,[(v(!0),h(f,null,b(e.points,(n,r)=>(v(),h(f,null,[e&&!isNaN(n.y)?(v(),h(`rect`,{key:0,x:xn(n.x,t,r),y:n.v>=0?n.y:n.y0,width:Sn(t,r),height:n.v>=0?n.y0-n.y:n.y-n.y0,fill:e.color,style:_({opacity:+(r>=N.value&&r<P.value)})},null,12,Ke)):m(``,!0)],64))),256))]))),256)),(v(!0),h(f,null,b(W.value.filter(e=>e.type===`line`),(e,t)=>(v(),h(`g`,{key:String(e.key)},[e&&e.hasSelection&&e.selectionSet&&e.isVisible?(v(),h(`path`,{key:0,d:`M ${e.selectionSet}`,stroke:e.temperatureColors?`url(#temperature_grad_line_${t}_${u.uuid})`:e.color,fill:`transparent`,"stroke-width":`2`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-dasharray":e.dashed?`2 4`:0},null,8,qe)):m(``,!0)]))),128)),(v(!0),h(f,null,b(W.value.filter(e=>e.type===`plot`),e=>(v(),h(`g`,{key:String(e.key)},[(v(!0),h(f,null,b(e.sliced,t=>(v(),h(`g`,null,[e.isVisible&&t.value!==null?(v(),h(`circle`,{key:0,cx:t.x,cy:t.y,r:`2`,fill:e.color,stroke:R.value,"stroke-width":`0.5`,style:{opacity:`0.6`}},null,8,Je)):m(``,!0)]))),256))]))),128))]))],64)),e.$slots.slotMap?ge(e.$slots,`slotMap`,fe(ce({width:Math.max(0,z.value.width),height:Math.max(0,z.value.height),zeroY:Mn.value,unitW:Math.max(0,H.value)})),void 0,!0,4):m(``,!0),K.value!==null&&!Q.value?(v(),h(`line`,fe(le({key:5},Ar.value)),null,16)):m(``,!0),g(`rect`,{x:0,y:0,width:Math.max(0,z.value.width),height:Math.max(0,z.value.height),fill:`transparent`,style:_([{"pointer-events":`all !important`},{cursor:u.enableSelectionDrag?Q.value?`grabbing`:`grab`:`default`}]),onMousedown:t[0]||=e=>Q.value=!0,onMouseup:t[1]||=e=>Q.value=!1,onMousemove:Un,onMouseleave:Wn},null,44,Ye),O.value&&u.minimapCompact?(v(),h(f,{key:6},[g(`g`,le({class:`vue-ui-zoom-compact-minimap-handle`,transform:`translate(${ai.value}, 0)`},Ur.value,{onKeydown:t[2]||=e=>Hr(`start`,e),onPointerdown:t[3]||=S(e=>Qr(`start`,e),[`stop`,`prevent`]),onPointermove:t[4]||=S(e=>Yr(`start`,e),[`stop`,`prevent`]),onPointerup:t[5]||=S(e=>Xr(`start`,e),[`stop`,`prevent`]),onPointercancel:t[6]||=S(e=>Xr(`start`,e),[`stop`,`prevent`]),onLostpointercapture:t[7]||=e=>Zr(`start`,e),onClick:t[8]||=S(()=>{},[`stop`,`prevent`])}),[g(`rect`,{class:`vue-ui-zoom-compact-minimap-handle-hit`,x:-ni.value,y:ii.value,width:ni.value,height:ri.value,fill:`transparent`},null,8,Ze),g(`rect`,{class:`vue-ui-zoom-compact-minimap-handle-visual`,x:-ti.value,y:0,width:ti.value,height:z.value.height,fill:u.handleFill||R.value,stroke:u.handleBorderColor||u.textColor,"stroke-width":u.handleBorderWidth,rx:3},null,8,Qe),u.handleType&&u.handleType!==`empty`?(v(),h(`g`,{key:0,class:`compact-handle-icon`,transform:`translate(${-ti.value}, 0)`,style:{"pointer-events":`none`}},[(v(),h(`svg`,{width:ti.value,height:z.value.height,viewBox:`0 0 20 20`,preserveAspectRatio:`xMidYMid meet`},[u.handleType===`arrow`?(v(),h(`path`,{key:0,d:`M 7 7 L 3 10 L 7 13 L 7 7 M 13 7 L 17 10 L 13 13 L 13 7`,fill:R.value,stroke:u.handleIconColor||u.textColor,"stroke-width":.618,"stroke-linejoin":`round`,"stroke-linecap":`round`},null,8,tt)):u.handleType===`chevron`?(v(),h(`path`,{key:1,d:`M 6 7 L 4 10 L 6 13 M 14 7 L 16 10 L 14 13`,fill:`none`,stroke:u.handleIconColor||u.textColor,"stroke-width":.618,"stroke-linejoin":`round`,"stroke-linecap":`round`},null,8,nt)):u.handleType===`grab`?(v(),h(`path`,{key:2,d:`M 8 5 A 1 1 0 0 0 8 7 A 1 1 0 0 0 8 5 M 8 9 A 1 1 0 0 0 8 11 A 1 1 0 0 0 8 9 M 8 13 A 1 1 0 0 0 8 15 A 1 1 0 0 0 8 13 M 12 5 A 1 1 0 0 0 12 7 A 1 1 0 0 0 12 5 M 12 9 A 1 1 0 0 0 12 11 A 1 1 0 0 0 12 9 M 12 13 A 1 1 0 0 0 12 15 A 1 1 0 0 0 12 13`,fill:u.handleIconColor||u.textColor,stroke:`none`,opacity:`0.6`},null,8,rt)):m(``,!0)],8,et))],8,$e)):m(``,!0)],16,Xe),g(`g`,le({class:`vue-ui-zoom-compact-minimap-handle`,transform:`translate(${oi.value}, 0)`},Wr.value,{onKeydown:t[9]||=e=>Hr(`end`,e),onPointerdown:t[10]||=S(e=>Qr(`end`,e),[`stop`,`prevent`]),onPointermove:t[11]||=S(e=>Yr(`end`,e),[`stop`,`prevent`]),onPointerup:t[12]||=S(e=>Xr(`end`,e),[`stop`,`prevent`]),onPointercancel:t[13]||=S(e=>Xr(`end`,e),[`stop`,`prevent`]),onLostpointercapture:t[14]||=e=>Zr(`end`,e),onClick:t[15]||=S(()=>{},[`stop`,`prevent`])}),[g(`rect`,{class:`vue-ui-zoom-compact-minimap-handle-hit`,x:0,y:ii.value,width:ni.value,height:ri.value,fill:`transparent`},null,8,at),g(`rect`,{class:`vue-ui-zoom-compact-minimap-handle-visual`,x:0,y:0,width:ti.value,height:z.value.height,fill:u.handleFill||R.value,stroke:u.handleBorderColor||u.textColor,"stroke-width":u.handleBorderWidth,rx:3},null,8,ot),u.handleType&&u.handleType!==`empty`?(v(),h(`g`,st,[(v(),h(`svg`,{width:ti.value,height:z.value.height,viewBox:`0 0 20 20`,preserveAspectRatio:`xMidYMid meet`},[u.handleType===`arrow`?(v(),h(`path`,{key:0,d:`M 7 7 L 3 10 L 7 13 L 7 7 M 13 7 L 17 10 L 13 13 L 13 7`,fill:R.value,stroke:u.handleIconColor||u.textColor,"stroke-width":.618,"stroke-linejoin":`round`,"stroke-linecap":`round`},null,8,lt)):u.handleType===`chevron`?(v(),h(`path`,{key:1,d:`M 6 7 L 4 10 L 6 13 M 14 7 L 16 10 L 14 13`,fill:`none`,stroke:u.handleIconColor||u.textColor,"stroke-width":.618,"stroke-linejoin":`round`,"stroke-linecap":`round`},null,8,ut)):u.handleType===`grab`?(v(),h(`path`,{key:2,d:`M 8 5 A 1 1 0 0 0 8 7 A 1 1 0 0 0 8 5 M 8 9 A 1 1 0 0 0 8 11 A 1 1 0 0 0 8 9 M 8 13 A 1 1 0 0 0 8 15 A 1 1 0 0 0 8 13 M 12 5 A 1 1 0 0 0 12 7 A 1 1 0 0 0 12 5 M 12 9 A 1 1 0 0 0 12 11 A 1 1 0 0 0 12 9 M 12 13 A 1 1 0 0 0 12 15 A 1 1 0 0 0 12 13`,fill:u.handleIconColor||u.textColor,stroke:`none`,opacity:`0.6`},null,8,dt)):m(``,!0)],8,ct))])):m(``,!0)],16,it)],64)):m(``,!0),e.$slots.slotMap?m(``,!0):(v(),h(f,{key:7},[u.minimapMerged?(v(),h(`g`,ft,[U.value&&U.value.firstPlot&&U.value.firstPlot.value!==null?(v(),h(`circle`,{key:0,cx:U.value.firstPlot.x,cy:U.value.firstPlot.y,"stroke-width":`0.5`,stroke:R.value,r:`4`,fill:u.minimapLineColor},null,8,pt)):m(``,!0),U.value&&U.value.firstPlot&&U.value.firstPlot.value!==null?(v(),h(`circle`,{key:1,cx:U.value.firstPlot.x,cy:U.value.firstPlot.y,r:2,fill:R.value},null,8,mt)):m(``,!0),U.value&&U.value.lastPlot&&U.value.lastPlot.value!==null?(v(),h(`circle`,{key:2,cx:U.value.lastPlot.x,cy:U.value.lastPlot.y,"stroke-width":`0.5`,stroke:R.value,r:`4`,fill:u.minimapLineColor},null,8,ht)):m(``,!0),U.value&&U.value.lastPlot&&U.value.lastPlot.value!==null?(v(),h(`circle`,{key:3,cx:U.value.lastPlot.x,cy:U.value.lastPlot.y,r:`2`,fill:R.value},null,8,gt)):m(``,!0)])):(v(),h(`g`,_t,[(v(!0),h(f,null,b(W.value.filter(e=>e.type===`line`),(e,t)=>(v(),h(`g`,{key:String(e.key)},[e&&e.hasSelection&&e.selectionSet&&e.isVisible?(v(),h(`path`,{key:0,d:`M ${e.selectionSet}`,stroke:e.temperatureColors?`url(#temperature_grad_line_${t}_${u.uuid})`:e.color,fill:`transparent`,"stroke-width":`2`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-dasharray":e.dashed?`2 4`:0},null,8,vt)):m(``,!0),e.isVisible&&u.cutNullValues?(v(!0),h(f,{key:1},b(e.selectionMarkers,t=>(v(),h(`circle`,{key:`sel-dot-${e.key}-${t.i}`,cx:t.x,cy:t.y,r:`2.5`,fill:e.color,stroke:R.value,"stroke-width":`0.5`},null,8,yt))),128)):m(``,!0),e&&e.firstPlot&&e.isVisible&&e.firstPlot.value!==null?(v(),h(`circle`,{key:2,cx:e.firstPlot.x,cy:e.firstPlot.y,"stroke-width":`0.5`,stroke:R.value,r:`4`,fill:e.color},null,8,bt)):m(``,!0),e&&e.firstPlot&&e.isVisible&&e.firstPlot.value!==null?(v(),h(`circle`,{key:3,cx:e.firstPlot.x,cy:e.firstPlot.y,r:`2`,fill:R.value},null,8,xt)):m(``,!0),e&&e.lastPlot&&e.isVisible&&e.lastPlot.value!==null?(v(),h(`circle`,{key:4,cx:e.lastPlot.x,cy:e.lastPlot.y,"stroke-width":`0.5`,stroke:R.value,r:`4`,fill:e.color},null,8,St)):m(``,!0),e&&e.lastPlot&&e.isVisible&&e.lastPlot.value!==null?(v(),h(`circle`,{key:5,cx:e.lastPlot.x,cy:e.lastPlot.y,r:`2`,fill:R.value},null,8,Ct)):m(``,!0)]))),128)),(v(!0),h(f,null,b(W.value.filter(e=>e.type===`plot`),e=>(v(),h(`g`,{key:String(e.key)},[(v(!0),h(f,null,b(e.points,t=>(v(),h(`g`,null,[e.isVisible&&u.cutNullValues&&t.value!==null?(v(),h(`circle`,{key:`sel-plot-${e.key}-${t.i}`,cx:t.x,cy:t.y,r:`2.5`,fill:e.color,stroke:R.value,"stroke-width":`0.5`},null,8,wt)):m(``,!0)]))),256))]))),128))]))],64))],8,De))])):m(``,!0),g(`div`,{class:`slider-track`,style:_({visibility:O.value&&u.minimapCompact?`hidden`:`visible`})},null,4),g(`div`,{class:de({"range-highlight":!0,move:u.enableSelectionDrag}),onMousedown:t[16]||=e=>Q.value=!0,onMouseup:t[17]||=e=>Q.value=!1,style:_({...L.value,cursor:Q.value?`grabbing`:`grab`,visibility:O.value&&u.minimapCompact?`hidden`:`visible`})},null,38),u.enableRangeHandles&&!(O.value&&u.minimapCompact)?xe((v(),h(`input`,{key:1,"aria-label":`range-handle-left`,ref_key:`rangeStart`,ref:q,type:`range`,step:u.precision>0?1/10**u.precision:1,class:de({"range-left":!0,"range-handle":!0,"range-minimap":O.value&&u.verticalHandles,"range-invisible":O.value&&u.minimapCompact}),min:u.min,max:u.minimapCompact&&O.value&&!u.useValueRange?Math.max(0,B.value-1):u.max,tabindex:O.value?-1:0,"onUpdate:modelValue":t[18]||=e=>In.value=e,onFocus:t[19]||=e=>O.value&&e.target.blur(),onInput:t[20]||=e=>In.value=e.target.valueAsNumber,onChange:F,onKeyup:Se(F,[`enter`]),onBlur:F,onMouseenter:t[21]||=e=>Dr(`start`),onPointerup:F},null,42,Tt)),[[be,In.value,void 0,{number:!0}]]):m(``,!0),u.enableRangeHandles&&!(O.value&&u.minimapCompact)?xe((v(),h(`input`,{key:2,"aria-label":`range-handle-right`,ref_key:`rangeEnd`,ref:Gn,type:`range`,step:u.precision>0?1/10**u.precision:1,class:de({"range-right":!0,"range-handle":!0,"range-minimap":O.value&&u.verticalHandles,"range-invisible":O.value&&u.minimapCompact}),min:u.min,max:u.minimapCompact&&O.value&&!u.useValueRange?Math.max(0,B.value-1):u.max,tabindex:O.value?-1:0,onFocus:t[22]||=e=>O.value&&e.target.blur(),"onUpdate:modelValue":t[23]||=e=>Ln.value=e,onInput:t[24]||=e=>Ln.value=e.target.valueAsNumber,onChange:F,onKeyup:Se(F,[`enter`]),onBlur:F,onMouseenter:t[25]||=e=>Dr(`end`),onPointerup:F},null,42,Et)),[[be,Ln.value,void 0,{number:!0}]]):m(``,!0),$.value.left?(v(),h(`div`,{key:3,ref_key:`tooltipLeft`,ref:yr,class:de({"range-tooltip":!0,"range-tooltip-visible":Cr.value,"range-tooltip-arrow":L.value.arrowLeft&&!u.verticalHandles,"range-tooltip-arrow-left":!L.value.arrowLeft&&!u.verticalHandles}),style:_({left:L.value.tooltipLeft,color:ve(l)(u.selectColor),backgroundColor:u.selectColor,border:`1px solid ${R.value}`,zIndex:`${Er.value+4}`,visibility:Or.value||$.value.left===$.value.right?`hidden`:`visible`,top:O.value&&u.minimapCompact?`calc(-100% - 12px)`:`-100%`})},_e($.value.left),7)):m(``,!0),(Or.value||$.value.left===$.value.right)&&($.value.left||$.value.right)?(v(),h(`div`,{key:4,ref:`tooltipMerge`,class:de({"range-tooltip":!0,"range-tooltip-visible":Cr.value,"range-tooltip-arrow":!0,"range-tooltip-arrow-left":!L.value.arrowLeft&&!u.verticalHandles,"range-tooltip-arrow-right":!L.value.arrowRight&&!u.verticalHandles}),style:_({left:L.value.tooltipCenter,width:kr.value.width+`px`,color:ve(l)(u.selectColor),backgroundColor:u.selectColor,border:`1px solid ${R.value}`,zIndex:`4`,top:O.value&&u.minimapCompact?`calc(-100% - 12px)`:`-100%`})},_e($.value.left===$.value.right?$.value.left:`${$.value.left} - ${$.value.right}`),7)):m(``,!0),$.value.right?(v(),h(`div`,{key:5,ref_key:`tooltipRight`,ref:br,class:de({"range-tooltip":!0,"range-tooltip-visible":Cr.value,"range-tooltip-arrow":L.value.arrowRight&&!u.verticalHandles,"range-tooltip-arrow-right":!L.value.arrowRight&&!u.verticalHandles}),style:_({left:L.value.tooltipRight,color:ve(l)(u.selectColor),backgroundColor:u.selectColor,border:`1px solid ${R.value}`,zIndex:`4`,visibility:Or.value||$.value.left===$.value.right?`hidden`:`visible`,top:O.value&&u.minimapCompact?`calc(-100% - 12px)`:`-100%`})},_e($.value.right),7)):m(``,!0)],36)],44,Ce))}},[[`__scopeId`,`data-v-d5072eae`]]);export{kt as t};
@@ -0,0 +1 @@
1
+ import{Jt as e,Wt as t}from"./lib-CV_IANZ6.js";import{t as n}from"./_plugin-vue_export-helper-BDNMzG2s.js";import{computed as r,createElementBlock as i,nextTick as a,normalizeStyle as o,onMounted as s,openBlock as c,ref as l,renderSlot as u,toRef as d,watch as f}from"vue";var p=/*#__PURE__*/ n({__name:`SparkTooltip`,props:{svgRef:{type:Object},x:{type:Number,required:!0},y:{type:Number,required:!0},prevX:{type:Number,required:!0},prevY:{type:Number,required:!0},offsetY:{type:Number,default:0},background:{type:String},backgroundOpacity:{type:Number,default:100},borderRadius:{type:Number,default:2},borderWidth:{type:Number,default:0},borderColor:{type:String,default:`#FFFFFF`},color:{type:String},fontSize:{type:Number}},setup(n){let p=n,m=d(p.svgRef),h=l(null),g=l(0),_=l(0),v=l(!1),y=r(()=>e(p.background,p.backgroundOpacity)),b=async()=>{if(!m.value||!h.value)return;let e=t({svgElement:m.value,element:h.value,x:p.x,y:p.y,offsetY:p.offsetY}),n=t({svgElement:m.value,element:h.value,x:p.prevX,y:p.prevY,offsetY:p.offsetY});e&&n&&(v.value=!1,g.value=n.top,_.value=n.left,await a(),setTimeout(()=>{v.value=!0,g.value=e.top,_.value=e.left},50))};return s(b),f(()=>[p.x,p.y,p.prevX,p.prevY],()=>b(),{immediate:!0}),(e,t)=>(c(),i(`div`,{ref_key:`tooltipRef`,ref:h,class:`vue-data-ui-spark-tooltip`,style:o({position:`fixed`,top:`${g.value}px`,left:`${_.value}px`,pointerEvents:`none`,background:y.value,color:p.color,fontSize:`${p.fontSize}px`,borderRadius:`${p.borderRadius}px`,border:`${p.borderWidth}px solid ${p.borderColor}`,transition:v.value?`top 0.3s ease-out, left 0.3s ease-out`:`none`})},[u(e.$slots,`default`,{},void 0,!0)],4))}},[[`__scopeId`,`data-v-57d870b0`]]);export{p as default};
@@ -0,0 +1 @@
1
+ import{t as e}from"./rolldown-runtime-DK3Fl9T5.js";import{t}from"./useNestedProp-CB186vF2.js";import{Fragment as n,computed as r,createCommentVNode as i,createElementBlock as a,createElementVNode as o,normalizeStyle as s,openBlock as c,renderSlot as l,toDisplayString as u}from"vue";var d=/* @__PURE__ */ e({default:()=>f}),f={__name:`Title`,props:{config:{type:Object,default(){return{}}},lineHeight:{type:[String,Boolean],default:!1}},setup(e){let d=e,f=r(()=>t({userConfig:d.config,defaultConfig:{title:{cy:``,text:``,color:``,fontSize:20,bold:!0,textAlign:`center`,paddingLeft:0,paddingRight:0},subtitle:{cy:``,text:``,color:``,fontSize:14,bold:!1}}}));return(t,r)=>(c(),a(n,null,[o(`div`,{class:`atom-title`,style:s({width:`calc(100% - ${f.value.title.paddingLeft+f.value.title.paddingRight}px)`,textAlign:f.value.title.textAlign,color:f.value.title.color,fontSize:`var(--title-font-size, ${f.value.title.fontSize}px)`,fontWeight:f.value.title.bold?`bold`:``,paddingLeft:f.value.title.paddingLeft+`px`,paddingRight:f.value.title.paddingRight+`px`,lineHeight:e.lineHeight?e.lineHeight:void 0})},u(f.value.title.text),5),f.value.subtitle.text?(c(),a(`div`,{key:0,class:`atom-subtitle`,style:s({width:`calc(100% - ${f.value.title.paddingLeft+f.value.title.paddingRight}px)`,textAlign:f.value.title.textAlign,color:f.value.subtitle.color,fontSize:`var(--subtitle-font-size, ${f.value.subtitle.fontSize}px)`,fontWeight:f.value.subtitle.bold?`bold`:``,paddingLeft:f.value.title.paddingLeft+`px`,paddingRight:f.value.title.paddingRight+`px`,lineHeight:e.lineHeight?e.lineHeight:void 0})},u(f.value.subtitle.text),5)):i(``,!0),f.value.subtitle.text?(c(),a(`div`,{key:1,style:s({width:`calc(100% - ${f.value.title.paddingLeft+f.value.title.paddingRight}px)`,textAlign:f.value.title.textAlign,color:f.value.subtitle.color,fontSize:`var(--subtitle-font-size, ${f.value.subtitle.fontSize}px)`,fontWeight:f.value.subtitle.bold?`bold`:``,paddingLeft:f.value.title.paddingLeft+`px`,paddingRight:f.value.title.paddingRight+`px`,lineHeight:e.lineHeight?e.lineHeight:void 0})},[l(t.$slots,`default`)],4)):i(``,!0)],64))}};export{f as n,d as t};
@@ -0,0 +1 @@
1
+ import{Jt as e}from"./lib-CV_IANZ6.js";import{Teleport as t,computed as n,createBlock as r,createCommentVNode as i,createElementBlock as a,createElementVNode as o,nextTick as s,normalizeClass as c,normalizeStyle as l,onMounted as u,onUnmounted as d,openBlock as f,ref as p,renderSlot as m,watch as h}from"vue";function g({tooltip:e,chart:t,clientPosition:n,positionPreference:r=`center`,defaultOffsetY:i=24,defaultOffsetX:a=0,blockShiftY:o=!1}){let s=p(a),c=p(i);if(e&&t){let{width:l,height:u}=e.getBoundingClientRect(),{right:d,left:f,bottom:p}=t.getBoundingClientRect();r===`center`&&(s.value=n.x+l/2>d?-l+(d-n.x):n.x-l/2<f?-l+(l-(n.x-f)):-l/2),r===`right`&&(s.value=n.x+l+a>d?-l+(d-n.x):a),r===`left`&&(s.value=n.x-l-a<f?f-n.x:-l-a),n.y+u>p&&!o&&(c.value=-u-i)}return{top:n.y+c.value,left:n.x+s.value}}function _(e,t,n){u(()=>e.addEventListener(t,n)),d(()=>e.removeEventListener(t,n))}function v(){let e=p(0),t=p(0);return _(window,`mousemove`,n=>{e.value=n.clientX,t.value=n.clientY}),{x:e,y:t}}var y=[`aria-hidden`],b=[`innerHTML`],x={__name:`Tooltip`,props:{teleportTo:{type:String,default:`body`},backgroundColor:{type:String,default:`#FFFFFF`},color:{type:String,default:`#000000`},content:String,maxWidth:{type:String,default:`300px`},parent:{type:Object},show:{type:Boolean,default:!1},isCustom:{type:Boolean,default:!1},fontSize:{type:[Number,String],default:14},borderRadius:{type:Number,default:4},borderColor:{type:String,default:`#e1e5e8`},borderWidth:{type:Number,default:1},backgroundOpacity:{type:Number,default:100},position:{type:String,default:`center`},offsetY:{type:Number,default:24},offsetX:{type:Number,default:0},blockShiftY:{type:Boolean,default:!1},isFullscreen:{type:Boolean,default:!1},smooth:{type:Boolean,default:!0},backdropFilter:{type:Boolean,default:!0},smoothForce:{type:Number,default:.18},smoothSnapThreshold:{type:Number,default:.25},isA11yMode:{type:Boolean,default:!1},a11yPosition:{type:Object,default:null}},setup(u,{expose:_}){let x=u,S=p(null),{x:C,y:w}=v(x.parent),T=p({x:0,y:0}),E=p({x:0,y:0}),D=p(null),O=p(null),k=p({scaleX:1,scaleY:1}),A=p(null);function j(){let e=N(S.value);if(D.value=e,!e){O.value=null,k.value={scaleX:1,scaleY:1},A.value=null;return}O.value=e.getBoundingClientRect(),k.value=P(e),A.value=x.parent?.getBoundingClientRect?.()||null}function M(e){return e?!!(e.transform&&e.transform!==`none`||e.perspective&&e.perspective!==`none`||e.filter&&e.filter!==`none`||e.backdropFilter&&e.backdropFilter!==`none`||e.contain&&e.contain.includes(`paint`)||e.willChange&&(e.willChange.includes(`transform`)||e.willChange.includes(`filter`))):!1}function N(e){let t=e?.parentElement||null;for(;t&&t!==document.documentElement;){if(M(getComputedStyle(t)))return t;t=t.parentElement}return null}function P(e){if(!e)return{scaleX:1,scaleY:1};let t=getComputedStyle(e).transform;if(!t||t===`none`)return{scaleX:1,scaleY:1};try{let e=new DOMMatrixReadOnly(t),n=Math.hypot(e.a,e.b),r=Math.hypot(e.c,e.d);return{scaleX:n||1,scaleY:r||1}}catch{return{scaleX:1,scaleY:1}}}function F({x:e,y:t}){x.isA11yMode||(C.value=e,w.value=t)}let I=null;function L(){if(!x.show){z();return}if(!x.smooth){E.value.x=T.value.x,E.value.y=T.value.y,z();return}let e=T.value.x-E.value.x,t=T.value.y-E.value.y;if(Math.abs(e)<=x.smoothSnapThreshold&&Math.abs(t)<=x.smoothSnapThreshold){E.value.x=T.value.x,E.value.y=T.value.y,z();return}E.value.x+=e*x.smoothForce,E.value.y+=t*x.smoothForce,I=requestAnimationFrame(L)}function R(){I==null&&x.show&&x.smooth&&(I=requestAnimationFrame(L))}function z(){I!=null&&(cancelAnimationFrame(I),I=null)}h([C,w],([e,t])=>{T.value.x=e,T.value.y=t,x.smooth?R():(E.value.x=e,E.value.y=t)}),h(()=>x.show,async e=>{if(!e){z();return}let t=C.value,n=w.value;T.value.x=t,T.value.y=n,E.value.x=t,E.value.y=n,await s(),j(),R()}),d(()=>{z()});let B=n(()=>x.isA11yMode&&x.a11yPosition&&typeof x.a11yPosition.x==`number`&&typeof x.a11yPosition.y==`number`?{x:x.a11yPosition.x,y:x.a11yPosition.y}:{x:E.value.x,y:E.value.y}),V=n(()=>{let e=O.value;if(!e)return{x:B.value.x,y:B.value.y};let{scaleX:t,scaleY:n}=k.value;return{x:(B.value.x-e.left)/t,y:(B.value.y-e.top)/n}}),H=n(()=>{let e=O.value,t=A.value;if(!e||!t)return x.parent;let{scaleX:n,scaleY:r}=k.value;return{...x.parent,getBoundingClientRect(){let i=t;return{left:(i.left-e.left)/n,top:(i.top-e.top)/r,right:(i.right-e.left)/n,bottom:(i.bottom-e.top)/r,width:i.width/n,height:i.height/r,x:(i.left-e.left)/n,y:(i.top-e.top)/r}}}}),U=n(()=>{let e=g({tooltip:S.value,chart:H.value,clientPosition:V.value,positionPreference:x.position,defaultOffsetX:x.offsetX,defaultOffsetY:x.offsetY,blockShiftY:x.blockShiftY});return{top:Math.round(e.top),left:Math.round(e.left)}}),W=n(()=>e(x.backgroundColor,x.backgroundOpacity)),G=n(()=>{let e={pointerEvents:`none`,position:`fixed`,top:`0px`,left:`0px`,transform:`translate3d(${U.value.left}px, ${U.value.top}px, 0)`,borderRadius:`${x.borderRadius}px`,border:`${x.borderWidth}px solid ${x.borderColor}`,zIndex:2147483647};return x.isCustom||Object.assign(e,{background:W.value,color:x.color,maxWidth:x.maxWidth,fontSize:`${x.fontSize}px`}),e});return _({placeTooltip:F}),(e,n)=>(f(),r(t,{to:u.isFullscreen?u.parent:u.teleportTo},[u.show?(f(),a(`div`,{key:0,ref_key:`tooltip`,ref:S,role:`tooltip`,"aria-hidden":!u.show,"aria-live":`polite`,class:c({"vue-data-ui-custom-tooltip":u.isCustom,"vue-data-ui-tooltip":!u.isCustom,"vue-data-ui-tooltip-backdrop":u.backdropFilter}),style:l(G.value)},[m(e.$slots,`tooltip-before`),m(e.$slots,`default`),m(e.$slots,`tooltip`,{},()=>[o(`div`,{innerHTML:u.content},null,8,b)]),m(e.$slots,`tooltip-after`)],14,y)):i(``,!0)],8,[`to`]))}};export{x as default};