@orangelogic/design-system 2.162.0 → 2.164.0

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 (285) hide show
  1. package/library/chunks/{AxisLabelRadial.lE2gKah-.js → AxisLabelRadial.fe7zjixN.js} +1 -1
  2. package/library/chunks/{BaseColumnSeries.B57B3iHh.js → BaseColumnSeries.8Mpxz385.js} +1 -1
  3. package/library/chunks/{CandlestickSeries.CmmI426l.js → CandlestickSeries.DuadaOTa.js} +19 -19
  4. package/library/chunks/{Circle.DAhHYhrc.js → Circle.6LomW0ej.js} +1 -1
  5. package/library/chunks/{ColumnSeries.DBgXk-b4.js → ColumnSeries.D1NLfRh5.js} +2 -2
  6. package/library/chunks/{EditableAxisLabel.C6H99qiS.js → EditableAxisLabel.Bi9vxLDV.js} +2 -2
  7. package/library/chunks/{EditableLabel.B7HB7Cu4.js → EditableLabel.CMR3O9E-.js} +1 -1
  8. package/library/chunks/{Gradient.DHhBnhFd.js → Gradient.CquE8_a4.js} +1 -1
  9. package/library/chunks/{LinearGradient.CGx00O8B.js → LinearGradient.CVN1VJp-.js} +9 -9
  10. package/library/chunks/{Picture.DYltTVSo.js → Picture.BYTZ_I8g.js} +1 -1
  11. package/library/chunks/{Polygon.BCrxKagx.js → Polygon.CU2sMltE.js} +1 -1
  12. package/library/chunks/{ProgressPie.CXksPJFv.js → ProgressPie.Dd74dbmm.js} +6 -6
  13. package/library/chunks/{RadialLabel.BYH69FGU.js → RadialLabel.7ka6ND-t.js} +1 -1
  14. package/library/chunks/{Scrollbar.DEv50o4R.js → Scrollbar.DqUnZReo.js} +1 -1
  15. package/library/chunks/Slice.BVI8rfHI.js +34 -0
  16. package/library/chunks/{Slider.BX8g2iGv.js → Slider.DtjYaJOw.js} +1 -1
  17. package/library/chunks/{SpriteResizer.CfIBMSp3.js → SpriteResizer.Ci2Wt2YJ.js} +11 -11
  18. package/library/chunks/{Triangle.CNY8-QfL.js → Triangle.C75emy3D.js} +1 -1
  19. package/library/chunks/{ZoomTools.6jZrzA7x.js → ZoomTools.CA9mtHI8.js} +2 -2
  20. package/library/chunks/_arrayEach.DU4X1H_a.js +8 -0
  21. package/library/chunks/_baseClone.BHNjfIdS.js +215 -0
  22. package/library/chunks/_baseEach.DQk0As2f.js +32 -0
  23. package/library/chunks/{_baseIteratee.BdKyHJ5i.js → _baseIteratee.sC2wLi2m.js} +3 -2
  24. package/library/chunks/{_baseUniq.je-HWbb3.js → _baseUniq.lwMgmtt2.js} +16 -15
  25. package/library/chunks/_baseXor.DixEm6JQ.js +35 -0
  26. package/library/chunks/_flatRest.D3ZVApI5.js +30 -0
  27. package/library/chunks/abnfDiagram-VRR7QNED.DKqYa5p7.js +89 -0
  28. package/library/chunks/{am-chart.CqdmTS0P.js → am-chart.Cr-vMjcY.js} +1577 -1727
  29. package/library/chunks/{animation.S74lUDDc.js → animation.BD-1xugN.js} +1 -1
  30. package/library/chunks/arc.xqNd6x9S.js +84 -0
  31. package/library/chunks/architectureDiagram-ZJ3FMSHR.CBIOk9Kp.js +4757 -0
  32. package/library/chunks/{asset-link-format.DLAzKfhk.js → asset-link-format.0q_MQOYh.js} +691 -635
  33. package/library/chunks/asset-link-format.ClaYu_v8.js +7 -0
  34. package/library/chunks/blockDiagram-677ZJIJ3.CeQxLPwj.js +2428 -0
  35. package/library/chunks/{button.8syoJXYs.js → button.DGyqdBou.js} +2 -2
  36. package/library/chunks/c4Diagram-LMCZKHZV.B73xdpNh.js +1580 -0
  37. package/library/chunks/{capitalize.BTYI3NfM.js → capitalize.CIBKBL10.js} +1 -1
  38. package/library/chunks/{cardinal.BCA_LB0u.js → cardinal.BXTAeOLk.js} +1 -0
  39. package/library/chunks/cardinalClosed.Mdce1x5M.js +59 -0
  40. package/library/chunks/channel.s_XjcUYI.js +5 -0
  41. package/library/chunks/chunk-2Q5K7J3B.Dy1Z-bMH.js +15 -0
  42. package/library/chunks/chunk-32BRIVSS.BbIrVi3j.js +71 -0
  43. package/library/chunks/chunk-5VM5RSS4.D0-lddDM.js +19 -0
  44. package/library/chunks/chunk-EX3LRPZG.L693y8d4.js +1412 -0
  45. package/library/chunks/chunk-JWPE2WC7.BV0i4LDu.js +8 -0
  46. package/library/chunks/chunk-MOJQB5TN.BZstBMYC.js +664 -0
  47. package/library/chunks/chunk-RYQCIY6F.BMsuG7ya.js +314 -0
  48. package/library/chunks/chunk-V7JOEXUC.DcJlyQO0.js +1537 -0
  49. package/library/chunks/chunk-VR4S4FIN.BpryBs7q.js +19 -0
  50. package/library/chunks/chunk-XXDRQBXY.CSOjab1V.js +11 -0
  51. package/library/chunks/classDiagram-OUVF2IWQ.Dvz7CNwe.js +18 -0
  52. package/library/chunks/classDiagram-v2-EOCWNBFH.Dvz7CNwe.js +18 -0
  53. package/library/chunks/cloneDeep.B-5z5SI3.js +51 -0
  54. package/library/chunks/{color-swatch-group.CLv1LSZy.js → color-swatch-group.ChP9amU9.js} +2576 -2723
  55. package/library/chunks/{color-swatch.DsWP2fd-.js → color-swatch.QsHoy_K1.js} +1 -1
  56. package/library/chunks/{colorPicker.GYgA76kc.js → colorPicker.Cg6Zxf8f.js} +5 -5
  57. package/library/chunks/{confirm-popover.C-eHPJaU.js → confirm-popover.D8mdy6KG.js} +2 -2
  58. package/library/chunks/constant.BQ4UJ-kW.js +12 -0
  59. package/library/chunks/cose-bilkent-JH36ORCC.cfzS2XsK.js +2612 -0
  60. package/library/chunks/cynefin-VYW2F7L2.c7H5z9nQ.js +23790 -0
  61. package/library/chunks/cynefinDiagram-TSTJHNR4.C8SgNXWI.js +299 -0
  62. package/library/chunks/cytoscape.esm.Cbrwqewp.js +18786 -0
  63. package/library/chunks/dagre-VKFMJZFB.D5B1cAri.js +343 -0
  64. package/library/chunks/debounce.Bv1rtE8D.js +55 -0
  65. package/library/chunks/defaultLocale.CPy_WVtp.js +171 -0
  66. package/library/chunks/descending.AD5n-tFs.js +10 -0
  67. package/library/chunks/diagram-FQU43EPY.DJukDcLl.js +466 -0
  68. package/library/chunks/diagram-G47NLZAW.BBOvcbcR.js +316 -0
  69. package/library/chunks/diagram-NH7WQ7WH.DOpRwmC2.js +142 -0
  70. package/library/chunks/diagram-OA4YK3LP.Dm5WJs91.js +350 -0
  71. package/library/chunks/diagram-WEI45ONY.COuzdmSR.js +217 -0
  72. package/library/chunks/{dialog.Bzf4-IgH.js → dialog.05FgdLBZ.js} +2 -2
  73. package/library/chunks/{document-viewer.CGyOG1yw.js → document-viewer.Cng07M-1.js} +7 -7
  74. package/library/chunks/{dot-pagination.BdZc-K0r.js → dot-pagination.Pg9O0nIh.js} +1 -1
  75. package/library/chunks/ebnfDiagram-CCIWWBDH.Dz-QBH6Y.js +111 -0
  76. package/library/chunks/erDiagram-Q63AITRT.sSw_w-2B.js +913 -0
  77. package/library/chunks/{exporting.DQhKH1BX.js → exporting.Djsoh75g.js} +11 -11
  78. package/library/chunks/flow.aZRVH3p1.js +1304 -0
  79. package/library/chunks/flowDiagram-23GEKE2U.CMMbuUHf.js +1642 -0
  80. package/library/chunks/{folder-select.BKAuh4GE.js → folder-select.Dw1ZKZAq.js} +160 -140
  81. package/library/chunks/{gantt.tu-w6fQ5.js → gantt.Bv6_3H9y.js} +22 -22
  82. package/library/chunks/ganttDiagram-NO4QXBWP.DZdwd0O4.js +2715 -0
  83. package/library/chunks/gitGraphDiagram-IHSO6WYX.F6mwS3uS.js +818 -0
  84. package/library/chunks/graph.XHMI5hta.js +653 -0
  85. package/library/chunks/{header.e1FLwywx.js → header.DDI0MfJA.js} +1 -1
  86. package/library/chunks/{hierarchy.CTnBzzmQ.js → hierarchy.C4LxmFxx.js} +836 -904
  87. package/library/chunks/{hub-connection.CA_wS_wh.js → hub-connection.BtevPWYb.js} +1 -1
  88. package/library/chunks/{icon-button.DbVIFgu7.js → icon-button.BwmMJ0bI.js} +1 -1
  89. package/library/chunks/{icon.mxNZ85k0.js → icon.D5iM9wXS.js} +1 -1
  90. package/library/chunks/{iframe.DcHjOcLG.js → iframe.Cc-xZIm_.js} +1 -1
  91. package/library/chunks/{image.5mhGPvMN.js → image.BgODrAzQ.js} +2 -2
  92. package/library/chunks/{image.QVlPFadX.js → image.Y5c_hFx8.js} +1 -1
  93. package/library/chunks/{index.BVDhdCk-.js → index.2SOQHTpX.js} +23 -23
  94. package/library/chunks/index.BDn1QW8J.js +167 -0
  95. package/library/chunks/{index.DcjJFMlq.js → index.CrhRU5m8.js} +284 -273
  96. package/library/chunks/index.thKLME8E.js +77 -0
  97. package/library/chunks/infoDiagram-FWYZ7A6U.BnktKL7i.js +24 -0
  98. package/library/chunks/init.DjUOC4st.js +16 -0
  99. package/library/chunks/{input.BcyLZUmv.js → input.DOorVTYZ.js} +2 -2
  100. package/library/chunks/isArrayLikeObject.D7afXo-f.js +86 -0
  101. package/library/chunks/isEmpty.DtTJTUcf.js +27 -0
  102. package/library/chunks/ishikawaDiagram-FXEZZL3T.CFp-9Kes.js +621 -0
  103. package/library/chunks/journeyDiagram-5HDEW3XC.BxO1aPu_.js +837 -0
  104. package/library/chunks/{json.D7WeFaJm.js → json.Dz5QFEi5.js} +3 -3
  105. package/library/chunks/kanban-definition-HUTT4EX6.Bk8vmLFK.js +724 -0
  106. package/library/chunks/katex.DoRnZ_sp.js +11682 -0
  107. package/library/chunks/layout.DZcMFKol.js +1446 -0
  108. package/library/chunks/line.DP-iSN_J.js +157 -0
  109. package/library/chunks/linear.TNHhsH1m.js +215 -0
  110. package/library/chunks/{map.BjtxEozr.js → map.CBcV0WVq.js} +100 -105
  111. package/library/chunks/map.DJnohTgl.js +18 -0
  112. package/library/chunks/markdown.I1AJG75v.js +4180 -0
  113. package/library/chunks/math.D2lKC7md.js +22 -0
  114. package/library/chunks/mermaid.core.Dspbw7Ig.js +13598 -0
  115. package/library/chunks/mindmap-definition-LN4V7U3C.DuCBBYwE.js +808 -0
  116. package/library/chunks/{number.CtCaI0T_.js → number.Cx2ncfJJ.js} +2 -2
  117. package/library/chunks/{option.qN3aaqVI.js → option.DyNR1vzy.js} +2 -2
  118. package/library/chunks/ordinal.bqVaUip-.js +61 -0
  119. package/library/chunks/{pagination.Cupa46TN.js → pagination.qFmncShC.js} +5 -5
  120. package/library/chunks/pegDiagram-2B236MQR.DQrkEdJr.js +97 -0
  121. package/library/chunks/{percent.D_CkaRGb.js → percent.D8mkiJ2G.js} +17 -17
  122. package/library/chunks/pieDiagram-ENE6RG2P.B6nPW8Pj.js +212 -0
  123. package/library/chunks/position-picker.DjnhxIKF.js +4 -0
  124. package/library/chunks/quadrantDiagram-ABIIQ3AL.BFy9moxz.js +1026 -0
  125. package/library/chunks/{radar.BMKaNvJH.js → radar.B3p5bRix.js} +78 -129
  126. package/library/chunks/railroadDiagram-RFXS5EU6.CSao8YZX.js +79 -0
  127. package/library/chunks/range.DdOGybNB.js +9 -0
  128. package/library/chunks/requirementDiagram-TGXJPOKE.CjpliZnF.js +882 -0
  129. package/library/chunks/sankey.BR94A-8L.js +294 -0
  130. package/library/chunks/sankeyDiagram-HTMAVEWB.D8aAxVGe.js +564 -0
  131. package/library/chunks/select.C6_sM3Pr.js +7 -0
  132. package/library/chunks/sequenceDiagram-DBY2YBRQ.Cu9MV3h-.js +2891 -0
  133. package/library/chunks/sizeCapture-X5ZJPWSS.BDByEFcW.js +46 -0
  134. package/library/chunks/{sliceGrouper.C-t5ZRrz.js → sliceGrouper.CcRqQhZX.js} +1 -1
  135. package/library/chunks/stateDiagram-2N3HPSRC.DvrAW9Ck.js +267 -0
  136. package/library/chunks/stateDiagram-v2-6OUMAXLB.CFfuaFM1.js +18 -0
  137. package/library/chunks/step.almIqwJ6.js +51 -0
  138. package/library/chunks/{stock.vF_pji1F.js → stock.CQbn6zW4.js} +9 -9
  139. package/library/chunks/swimlanes-5IMT3BWC.AtMD47q7.js +5332 -0
  140. package/library/chunks/swimlanesDiagram-G3AALYLV.26A1eX7s.js +15 -0
  141. package/library/chunks/{tab-group.kSg5_10g.js → tab-group.1Y71_aN8.js} +3 -3
  142. package/library/chunks/{time.DWfbnPnM.js → time.DYWuX2id.js} +1 -1
  143. package/library/chunks/timeline-definition-FHXFAJF6.CYSh6xl5.js +1058 -0
  144. package/library/chunks/{timeline.gWu0up6r.js → timeline.Czz_uBEd.js} +33 -32
  145. package/library/chunks/toNumber.MuDz8DgU.js +31 -0
  146. package/library/chunks/{toString.Dcbz5jVT.js → toString.B1zKIiZc.js} +1 -1
  147. package/library/chunks/{toast.TDU3wVhq.js → toast.CXEAfCvN.js} +1 -1
  148. package/library/chunks/transformation.8uLv6uwG.js +264 -0
  149. package/library/chunks/{tree.C2dPd6gt.js → tree.vn5sHbdt.js} +123 -117
  150. package/library/chunks/value.BXEGBVFV.js +44 -0
  151. package/library/chunks/{venn.BVBe-JXs.js → venn.B5Jl-c4i.js} +2 -2
  152. package/library/chunks/vennDiagram-L72KCM5P.CSk1WWlu.js +1581 -0
  153. package/library/chunks/wardleyDiagram-EHGQE667.C7UzXYG7.js +675 -0
  154. package/library/chunks/{watch.DOt4Mabe.js → watch.DJF5K-8U.js} +27 -27
  155. package/library/chunks/{wc.DTNpfIc1.js → wc.B2THb2Kk.js} +18 -18
  156. package/library/chunks/xy.BO6U5QrZ.js +294 -0
  157. package/library/chunks/xychartDiagram-FW5EYKEG.idiZWvYS.js +1383 -0
  158. package/library/components/alert.js +2 -2
  159. package/library/components/am-chart.js +3 -3
  160. package/library/components/animated-image.js +2 -2
  161. package/library/components/animation.js +2 -2
  162. package/library/components/array-line-clamp.js +1 -1
  163. package/library/components/asset-link-format.js +8 -7
  164. package/library/components/atoms.js +29 -29
  165. package/library/components/audio.js +3 -3
  166. package/library/components/avatar.js +2 -2
  167. package/library/components/border-input-group.js +1 -1
  168. package/library/components/breadcrumb-item.js +1 -1
  169. package/library/components/breadcrumb.js +1 -1
  170. package/library/components/button.js +3 -3
  171. package/library/components/checkbox.js +195 -18
  172. package/library/components/color-picker.js +4 -4
  173. package/library/components/color-swatch-group.js +5 -5
  174. package/library/components/color-swatch.js +2 -2
  175. package/library/components/confirm-popover.js +3 -3
  176. package/library/components/copy-button.js +2 -2
  177. package/library/components/corner-position-input-group.js +2 -2
  178. package/library/components/cropper.js +4 -4
  179. package/library/components/date-calendar.js +1 -1
  180. package/library/components/details.js +2 -2
  181. package/library/components/dialog.js +3 -3
  182. package/library/components/diff.js +1 -1
  183. package/library/components/divider.js +1 -1
  184. package/library/components/document-viewer.js +3 -3
  185. package/library/components/dot-pagination.js +2 -2
  186. package/library/components/drawer.js +3 -3
  187. package/library/components/dropdown.js +2 -2
  188. package/library/components/dynamic-select.js +6 -6
  189. package/library/components/e-chart.js +1 -1
  190. package/library/components/element-clamp.js +2 -2
  191. package/library/components/file-on-demand.js +350 -374
  192. package/library/components/folder-select.js +5 -5
  193. package/library/components/format-time.js +2 -2
  194. package/library/components/grid-item.js +1 -1
  195. package/library/components/header.js +2 -2
  196. package/library/components/hub-connection.js +2 -2
  197. package/library/components/icon-button.js +2 -2
  198. package/library/components/icon.js +2 -2
  199. package/library/components/iframe.js +2 -2
  200. package/library/components/image-comparer.js +2 -2
  201. package/library/components/image.js +3 -3
  202. package/library/components/include.js +1 -1
  203. package/library/components/input.js +3 -3
  204. package/library/components/line-clamp.js +1 -1
  205. package/library/components/markdown.js +11 -2704
  206. package/library/components/masonry.js +76 -73
  207. package/library/components/menu-item.js +2 -2
  208. package/library/components/molecules.js +3 -3
  209. package/library/components/mutation-observer.js +1 -1
  210. package/library/components/option.js +3 -3
  211. package/library/components/organisms.js +2 -2
  212. package/library/components/padding-input-group.js +1 -1
  213. package/library/components/pagination.js +6 -6
  214. package/library/components/position-picker.js +25 -25
  215. package/library/components/qr-code.js +1 -1
  216. package/library/components/radio-button.js +1 -1
  217. package/library/components/radio-card.js +1 -1
  218. package/library/components/radio-group.js +1 -1
  219. package/library/components/radio.js +2 -2
  220. package/library/components/range.js +1 -1
  221. package/library/components/rating.js +2 -2
  222. package/library/components/resize-observer.js +1 -1
  223. package/library/components/select.js +3 -3
  224. package/library/components/shadow-input-group.js +1 -1
  225. package/library/components/share-option-list.js +2 -2
  226. package/library/components/sidebar.js +3 -3
  227. package/library/components/size-input-group.js +3 -3
  228. package/library/components/split-panel.js +1 -1
  229. package/library/components/step.js +1 -1
  230. package/library/components/stepper-wizard.js +1 -1
  231. package/library/components/stepper.js +1 -1
  232. package/library/components/switch.js +1 -1
  233. package/library/components/tab-group.js +4 -4
  234. package/library/components/tab-panel.js +1 -1
  235. package/library/components/tab.js +2 -2
  236. package/library/components/tag.js +1 -1
  237. package/library/components/textarea.js +1 -1
  238. package/library/components/timecode.js +1 -1
  239. package/library/components/tooltip.js +1 -1
  240. package/library/components/tree-item.js +4 -4
  241. package/library/components/tree.js +2 -2
  242. package/library/components/typeface.js +2 -2
  243. package/library/components/types.js +122327 -120686
  244. package/library/components/video.js +2 -2
  245. package/library/package.json +2 -1
  246. package/library/packages/atoms/src/components/markdown/markdown.d.ts +41 -1
  247. package/library/packages/atoms/src/components/markdown/parser.d.ts +18 -3
  248. package/library/packages/atoms/src/components/markdown/styles.d.ts +17 -0
  249. package/library/packages/atoms/src/components/tree/tree.d.ts +7 -1
  250. package/library/packages/atoms/src/components/tree-item/tree-item.d.ts +11 -1
  251. package/library/packages/events/src/cx-folder-select-loading-change.d.ts +8 -0
  252. package/library/packages/events/src/events.d.ts +1 -0
  253. package/library/packages/hybrid/table-core/src/table/styles/table-frozen.styles.d.ts +8 -0
  254. package/library/packages/hybrid/table-core/src/table/table.d.ts +9 -1
  255. package/library/packages/hybrid/table-core/src/tabulator-tables/modules/FrozenColumns/FrozenColumns.d.ts +14 -1
  256. package/library/packages/hybrid/table-core/src/tabulator-tables/modules/ResizeColumns/ResizeColumns.d.ts +18 -1
  257. package/library/packages/molecules/src/folder-select/components/folder-select-tree/folder-select-tree.d.ts +7 -0
  258. package/library/packages/molecules/src/folder-select/folder-select.d.ts +7 -0
  259. package/library/packages/molecules/src/index.d.ts +1 -0
  260. package/library/packages/molecules/src/markdown-viewer/markdown-viewer.d.ts +124 -0
  261. package/library/packages/molecules/src/markdown-viewer/markdown-viewer.styles.d.ts +6 -0
  262. package/library/packages/molecules/src/masonry/masonry.d.ts +5 -0
  263. package/library/packages/organisms/src/asset-link-format/asset-link-format.d.ts +9 -0
  264. package/library/packages/organisms/src/asset-link-format/components/asset-link-format-crop/asset-link-format-crop.d.ts +30 -0
  265. package/library/packages/tools/src/tiptap/utils/md/editor-controller.d.ts +57 -0
  266. package/library/packages/tools/src/tiptap/utils/md/from-markdown.d.ts +11 -0
  267. package/library/packages/tools/src/tiptap/utils/md/input-rules.d.ts +15 -0
  268. package/library/packages/tools/src/tiptap/utils/md/schema.d.ts +13 -0
  269. package/library/packages/tools/src/tiptap/utils/md/to-markdown.d.ts +14 -0
  270. package/library/packages/types/src/asset-link-format.d.ts +19 -0
  271. package/library/packages/types/src/markdown-viewer.d.ts +12 -0
  272. package/library/packages/types/src/tree-item.d.ts +12 -0
  273. package/library/react-web-component.d.ts +86 -8
  274. package/library/utils.js +64 -65
  275. package/package.json +2 -1
  276. package/library/chunks/Slice.C5lVu2g_.js +0 -120
  277. package/library/chunks/_baseXor.VohG8cOH.js +0 -116
  278. package/library/chunks/asset-link-format.QzzboHHE.js +0 -6
  279. package/library/chunks/checkbox.3i2j3PHc.js +0 -198
  280. package/library/chunks/content-builder.BU8X7I6V.js +0 -60
  281. package/library/chunks/debounce.C_J-9zJi.js +0 -82
  282. package/library/chunks/flow.hz0UDjCb.js +0 -1594
  283. package/library/chunks/index.DU0XUO4k.js +0 -176
  284. package/library/chunks/transformation.D1alV_s4.js +0 -189
  285. package/library/chunks/xy.BNgyrwGD.js +0 -333
@@ -0,0 +1,157 @@
1
+ function d(i) {
2
+ return function() {
3
+ return i;
4
+ };
5
+ }
6
+ const M = Math.PI, v = 2 * M, c = 1e-6, P = v - c;
7
+ function T(i) {
8
+ this._ += i[0];
9
+ for (let t = 1, e = i.length; t < e; ++t)
10
+ this._ += arguments[t] + i[t];
11
+ }
12
+ function S(i) {
13
+ let t = Math.floor(i);
14
+ if (!(t >= 0)) throw new Error(`invalid digits: ${i}`);
15
+ if (t > 15) return T;
16
+ const e = 10 ** t;
17
+ return function(n) {
18
+ this._ += n[0];
19
+ for (let h = 1, o = n.length; h < o; ++h)
20
+ this._ += Math.round(arguments[h] * e) / e + n[h];
21
+ };
22
+ }
23
+ class y {
24
+ constructor(t) {
25
+ this._x0 = this._y0 = // start of current subpath
26
+ this._x1 = this._y1 = null, this._ = "", this._append = t == null ? T : S(t);
27
+ }
28
+ moveTo(t, e) {
29
+ this._append`M${this._x0 = this._x1 = +t},${this._y0 = this._y1 = +e}`;
30
+ }
31
+ closePath() {
32
+ this._x1 !== null && (this._x1 = this._x0, this._y1 = this._y0, this._append`Z`);
33
+ }
34
+ lineTo(t, e) {
35
+ this._append`L${this._x1 = +t},${this._y1 = +e}`;
36
+ }
37
+ quadraticCurveTo(t, e, n, h) {
38
+ this._append`Q${+t},${+e},${this._x1 = +n},${this._y1 = +h}`;
39
+ }
40
+ bezierCurveTo(t, e, n, h, o, _) {
41
+ this._append`C${+t},${+e},${+n},${+h},${this._x1 = +o},${this._y1 = +_}`;
42
+ }
43
+ arcTo(t, e, n, h, o) {
44
+ if (t = +t, e = +e, n = +n, h = +h, o = +o, o < 0) throw new Error(`negative radius: ${o}`);
45
+ let _ = this._x1, u = this._y1, s = n - t, l = h - e, a = _ - t, f = u - e, r = a * a + f * f;
46
+ if (this._x1 === null)
47
+ this._append`M${this._x1 = t},${this._y1 = e}`;
48
+ else if (r > c) if (!(Math.abs(f * s - l * a) > c) || !o)
49
+ this._append`L${this._x1 = t},${this._y1 = e}`;
50
+ else {
51
+ let p = n - _, $ = h - u, m = s * s + l * l, A = p * p + $ * $, b = Math.sqrt(m), w = Math.sqrt(r), x = o * Math.tan((M - Math.acos((m + r - A) / (2 * b * w))) / 2), g = x / w, E = x / b;
52
+ Math.abs(g - 1) > c && this._append`L${t + g * a},${e + g * f}`, this._append`A${o},${o},0,0,${+(f * p > a * $)},${this._x1 = t + E * s},${this._y1 = e + E * l}`;
53
+ }
54
+ }
55
+ arc(t, e, n, h, o, _) {
56
+ if (t = +t, e = +e, n = +n, _ = !!_, n < 0) throw new Error(`negative radius: ${n}`);
57
+ let u = n * Math.cos(h), s = n * Math.sin(h), l = t + u, a = e + s, f = 1 ^ _, r = _ ? h - o : o - h;
58
+ this._x1 === null ? this._append`M${l},${a}` : (Math.abs(this._x1 - l) > c || Math.abs(this._y1 - a) > c) && this._append`L${l},${a}`, n && (r < 0 && (r = r % v + v), r > P ? this._append`A${n},${n},0,1,${f},${t - u},${e - s}A${n},${n},0,1,${f},${this._x1 = l},${this._y1 = a}` : r > c && this._append`A${n},${n},0,${+(r >= M)},${f},${this._x1 = t + n * Math.cos(o)},${this._y1 = e + n * Math.sin(o)}`);
59
+ }
60
+ rect(t, e, n, h) {
61
+ this._append`M${this._x0 = this._x1 = +t},${this._y0 = this._y1 = +e}h${n = +n}v${+h}h${-n}Z`;
62
+ }
63
+ toString() {
64
+ return this._;
65
+ }
66
+ }
67
+ function k() {
68
+ return new y();
69
+ }
70
+ k.prototype = y.prototype;
71
+ function q(i) {
72
+ let t = 3;
73
+ return i.digits = function(e) {
74
+ if (!arguments.length) return t;
75
+ if (e == null)
76
+ t = null;
77
+ else {
78
+ const n = Math.floor(e);
79
+ if (!(n >= 0)) throw new RangeError(`invalid digits: ${e}`);
80
+ t = n;
81
+ }
82
+ return i;
83
+ }, () => new y(t);
84
+ }
85
+ function C(i) {
86
+ return typeof i == "object" && "length" in i ? i : Array.from(i);
87
+ }
88
+ function L(i) {
89
+ this._context = i;
90
+ }
91
+ L.prototype = {
92
+ areaStart: function() {
93
+ this._line = 0;
94
+ },
95
+ areaEnd: function() {
96
+ this._line = NaN;
97
+ },
98
+ lineStart: function() {
99
+ this._point = 0;
100
+ },
101
+ lineEnd: function() {
102
+ (this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line = 1 - this._line;
103
+ },
104
+ point: function(i, t) {
105
+ switch (i = +i, t = +t, this._point) {
106
+ case 0:
107
+ this._point = 1, this._line ? this._context.lineTo(i, t) : this._context.moveTo(i, t);
108
+ break;
109
+ case 1:
110
+ this._point = 2;
111
+ // falls through
112
+ default:
113
+ this._context.lineTo(i, t);
114
+ break;
115
+ }
116
+ }
117
+ };
118
+ function N(i) {
119
+ return new L(i);
120
+ }
121
+ function R(i) {
122
+ return i[0];
123
+ }
124
+ function Z(i) {
125
+ return i[1];
126
+ }
127
+ function j(i, t) {
128
+ var e = d(!0), n = null, h = N, o = null, _ = q(u);
129
+ i = typeof i == "function" ? i : i === void 0 ? R : d(i), t = typeof t == "function" ? t : t === void 0 ? Z : d(t);
130
+ function u(s) {
131
+ var l, a = (s = C(s)).length, f, r = !1, p;
132
+ for (n == null && (o = h(p = _())), l = 0; l <= a; ++l)
133
+ !(l < a && e(f = s[l], l, s)) === r && ((r = !r) ? o.lineStart() : o.lineEnd()), r && o.point(+i(f, l, s), +t(f, l, s));
134
+ if (p) return o = null, p + "" || null;
135
+ }
136
+ return u.x = function(s) {
137
+ return arguments.length ? (i = typeof s == "function" ? s : d(+s), u) : i;
138
+ }, u.y = function(s) {
139
+ return arguments.length ? (t = typeof s == "function" ? s : d(+s), u) : t;
140
+ }, u.defined = function(s) {
141
+ return arguments.length ? (e = typeof s == "function" ? s : d(!!s), u) : e;
142
+ }, u.curve = function(s) {
143
+ return arguments.length ? (h = s, n != null && (o = h(n)), u) : h;
144
+ }, u.context = function(s) {
145
+ return arguments.length ? (s == null ? n = o = null : o = h(n = s), u) : n;
146
+ }, u;
147
+ }
148
+ export {
149
+ C as a,
150
+ N as b,
151
+ d as c,
152
+ j as l,
153
+ k as p,
154
+ q as w,
155
+ R as x,
156
+ Z as y
157
+ };
@@ -0,0 +1,215 @@
1
+ import { i as y } from "./index.CrhRU5m8.js";
2
+ import { i as b } from "./value.BXEGBVFV.js";
3
+ import { a as g, d as A } from "./descending.AD5n-tFs.js";
4
+ import { i as R } from "./init.DjUOC4st.js";
5
+ import { e as M, a as q, b as F, f as S } from "./defaultLocale.CPy_WVtp.js";
6
+ function z(n, r) {
7
+ return n = +n, r = +r, function(i) {
8
+ return Math.round(n * (1 - i) + r * i);
9
+ };
10
+ }
11
+ function k(n) {
12
+ let r, i, t;
13
+ n.length !== 2 ? (r = g, i = (a, o) => g(n(a), o), t = (a, o) => n(a) - o) : (r = n === g || n === A ? n : I, i = n, t = n);
14
+ function f(a, o, e = 0, m = a.length) {
15
+ if (e < m) {
16
+ if (r(o, o) !== 0) return m;
17
+ do {
18
+ const l = e + m >>> 1;
19
+ i(a[l], o) < 0 ? e = l + 1 : m = l;
20
+ } while (e < m);
21
+ }
22
+ return e;
23
+ }
24
+ function c(a, o, e = 0, m = a.length) {
25
+ if (e < m) {
26
+ if (r(o, o) !== 0) return m;
27
+ do {
28
+ const l = e + m >>> 1;
29
+ i(a[l], o) <= 0 ? e = l + 1 : m = l;
30
+ } while (e < m);
31
+ }
32
+ return e;
33
+ }
34
+ function u(a, o, e = 0, m = a.length) {
35
+ const l = f(a, o, e, m - 1);
36
+ return l > e && t(a[l - 1], o) > -t(a[l], o) ? l - 1 : l;
37
+ }
38
+ return { left: f, center: u, right: c };
39
+ }
40
+ function I() {
41
+ return 0;
42
+ }
43
+ function P(n) {
44
+ return n === null ? NaN : +n;
45
+ }
46
+ const $ = k(g), j = $.right;
47
+ k(P).center;
48
+ const x = Math.sqrt(50), B = Math.sqrt(10), C = Math.sqrt(2);
49
+ function p(n, r, i) {
50
+ const t = (r - n) / Math.max(0, i), f = Math.floor(Math.log10(t)), c = t / Math.pow(10, f), u = c >= x ? 10 : c >= B ? 5 : c >= C ? 2 : 1;
51
+ let a, o, e;
52
+ return f < 0 ? (e = Math.pow(10, -f) / u, a = Math.round(n * e), o = Math.round(r * e), a / e < n && ++a, o / e > r && --o, e = -e) : (e = Math.pow(10, f) * u, a = Math.round(n / e), o = Math.round(r / e), a * e < n && ++a, o * e > r && --o), o < a && 0.5 <= i && i < 2 ? p(n, r, i * 2) : [a, o, e];
53
+ }
54
+ function D(n, r, i) {
55
+ if (r = +r, n = +n, i = +i, !(i > 0)) return [];
56
+ if (n === r) return [n];
57
+ const t = r < n, [f, c, u] = t ? p(r, n, i) : p(n, r, i);
58
+ if (!(c >= f)) return [];
59
+ const a = c - f + 1, o = new Array(a);
60
+ if (t)
61
+ if (u < 0) for (let e = 0; e < a; ++e) o[e] = (c - e) / -u;
62
+ else for (let e = 0; e < a; ++e) o[e] = (c - e) * u;
63
+ else if (u < 0) for (let e = 0; e < a; ++e) o[e] = (f + e) / -u;
64
+ else for (let e = 0; e < a; ++e) o[e] = (f + e) * u;
65
+ return o;
66
+ }
67
+ function v(n, r, i) {
68
+ return r = +r, n = +n, i = +i, p(n, r, i)[2];
69
+ }
70
+ function E(n, r, i) {
71
+ r = +r, n = +n, i = +i;
72
+ const t = r < n, f = t ? v(r, n, i) : v(n, r, i);
73
+ return (t ? -1 : 1) * (f < 0 ? 1 / -f : f);
74
+ }
75
+ function G(n) {
76
+ return Math.max(0, -M(Math.abs(n)));
77
+ }
78
+ function H(n, r) {
79
+ return Math.max(0, Math.max(-8, Math.min(8, Math.floor(M(r) / 3))) * 3 - M(Math.abs(n)));
80
+ }
81
+ function J(n, r) {
82
+ return n = Math.abs(n), r = Math.abs(r) - n, Math.max(0, M(r) - M(n)) + 1;
83
+ }
84
+ function K(n) {
85
+ return function() {
86
+ return n;
87
+ };
88
+ }
89
+ function L(n) {
90
+ return +n;
91
+ }
92
+ var w = [0, 1];
93
+ function s(n) {
94
+ return n;
95
+ }
96
+ function d(n, r) {
97
+ return (r -= n = +n) ? function(i) {
98
+ return (i - n) / r;
99
+ } : K(isNaN(r) ? NaN : 0.5);
100
+ }
101
+ function O(n, r) {
102
+ var i;
103
+ return n > r && (i = n, n = r, r = i), function(t) {
104
+ return Math.max(n, Math.min(r, t));
105
+ };
106
+ }
107
+ function Q(n, r, i) {
108
+ var t = n[0], f = n[1], c = r[0], u = r[1];
109
+ return f < t ? (t = d(f, t), c = i(u, c)) : (t = d(t, f), c = i(c, u)), function(a) {
110
+ return c(t(a));
111
+ };
112
+ }
113
+ function T(n, r, i) {
114
+ var t = Math.min(n.length, r.length) - 1, f = new Array(t), c = new Array(t), u = -1;
115
+ for (n[t] < n[0] && (n = n.slice().reverse(), r = r.slice().reverse()); ++u < t; )
116
+ f[u] = d(n[u], n[u + 1]), c[u] = i(r[u], r[u + 1]);
117
+ return function(a) {
118
+ var o = j(n, a, 1, t) - 1;
119
+ return c[o](f[o](a));
120
+ };
121
+ }
122
+ function U(n, r) {
123
+ return r.domain(n.domain()).range(n.range()).interpolate(n.interpolate()).clamp(n.clamp()).unknown(n.unknown());
124
+ }
125
+ function V() {
126
+ var n = w, r = w, i = b, t, f, c, u = s, a, o, e;
127
+ function m() {
128
+ var h = Math.min(n.length, r.length);
129
+ return u !== s && (u = O(n[0], n[h - 1])), a = h > 2 ? T : Q, o = e = null, l;
130
+ }
131
+ function l(h) {
132
+ return h == null || isNaN(h = +h) ? c : (o || (o = a(n.map(t), r, i)))(t(u(h)));
133
+ }
134
+ return l.invert = function(h) {
135
+ return u(f((e || (e = a(r, n.map(t), y)))(h)));
136
+ }, l.domain = function(h) {
137
+ return arguments.length ? (n = Array.from(h, L), m()) : n.slice();
138
+ }, l.range = function(h) {
139
+ return arguments.length ? (r = Array.from(h), m()) : r.slice();
140
+ }, l.rangeRound = function(h) {
141
+ return r = Array.from(h), i = z, m();
142
+ }, l.clamp = function(h) {
143
+ return arguments.length ? (u = h ? !0 : s, m()) : u !== s;
144
+ }, l.interpolate = function(h) {
145
+ return arguments.length ? (i = h, m()) : i;
146
+ }, l.unknown = function(h) {
147
+ return arguments.length ? (c = h, l) : c;
148
+ }, function(h, N) {
149
+ return t = h, f = N, m();
150
+ };
151
+ }
152
+ function W() {
153
+ return V()(s, s);
154
+ }
155
+ function X(n, r, i, t) {
156
+ var f = E(n, r, i), c;
157
+ switch (t = q(t ?? ",f"), t.type) {
158
+ case "s": {
159
+ var u = Math.max(Math.abs(n), Math.abs(r));
160
+ return t.precision == null && !isNaN(c = H(f, u)) && (t.precision = c), F(t, u);
161
+ }
162
+ case "":
163
+ case "e":
164
+ case "g":
165
+ case "p":
166
+ case "r": {
167
+ t.precision == null && !isNaN(c = J(f, Math.max(Math.abs(n), Math.abs(r)))) && (t.precision = c - (t.type === "e"));
168
+ break;
169
+ }
170
+ case "f":
171
+ case "%": {
172
+ t.precision == null && !isNaN(c = G(f)) && (t.precision = c - (t.type === "%") * 2);
173
+ break;
174
+ }
175
+ }
176
+ return S(t);
177
+ }
178
+ function Y(n) {
179
+ var r = n.domain;
180
+ return n.ticks = function(i) {
181
+ var t = r();
182
+ return D(t[0], t[t.length - 1], i ?? 10);
183
+ }, n.tickFormat = function(i, t) {
184
+ var f = r();
185
+ return X(f[0], f[f.length - 1], i ?? 10, t);
186
+ }, n.nice = function(i) {
187
+ i == null && (i = 10);
188
+ var t = r(), f = 0, c = t.length - 1, u = t[f], a = t[c], o, e, m = 10;
189
+ for (a < u && (e = u, u = a, a = e, e = f, f = c, c = e); m-- > 0; ) {
190
+ if (e = v(u, a, i), e === o)
191
+ return t[f] = u, t[c] = a, r(t);
192
+ if (e > 0)
193
+ u = Math.floor(u / e) * e, a = Math.ceil(a / e) * e;
194
+ else if (e < 0)
195
+ u = Math.ceil(u * e) / e, a = Math.floor(a * e) / e;
196
+ else
197
+ break;
198
+ o = e;
199
+ }
200
+ return n;
201
+ }, n;
202
+ }
203
+ function Z() {
204
+ var n = W();
205
+ return n.copy = function() {
206
+ return U(n, Z());
207
+ }, R.apply(n, arguments), Y(n);
208
+ }
209
+ export {
210
+ U as a,
211
+ k as b,
212
+ W as c,
213
+ Z as l,
214
+ E as t
215
+ };