@pie-lib/graphing 4.1.0-beta.8 → 5.0.0-next.20261002094057

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 (409) hide show
  1. package/dist/_virtual/_rolldown/runtime.js +20 -0
  2. package/dist/autosize-input.d.ts +10 -0
  3. package/dist/autosize-input.js +66 -0
  4. package/dist/axis/arrow.d.ts +13 -0
  5. package/dist/axis/arrow.js +34 -0
  6. package/dist/axis/axes.d.ts +132 -0
  7. package/dist/axis/axes.js +214 -0
  8. package/dist/axis/index.d.ts +10 -0
  9. package/dist/bg.d.ts +51 -0
  10. package/dist/bg.js +44 -0
  11. package/dist/container/actions.d.ts +15 -0
  12. package/dist/container/actions.js +7 -0
  13. package/dist/container/index.d.ts +58 -0
  14. package/dist/container/index.js +48 -0
  15. package/dist/container/marks.d.ts +10 -0
  16. package/dist/container/marks.js +11 -0
  17. package/dist/container/middleware.d.ts +10 -0
  18. package/dist/container/middleware.js +4 -0
  19. package/dist/container/reducer.d.ts +14 -0
  20. package/dist/container/reducer.js +7 -0
  21. package/dist/coordinates-label.d.ts +50 -0
  22. package/dist/coordinates-label.js +46 -0
  23. package/dist/graph-with-controls.d.ts +88 -0
  24. package/dist/graph-with-controls.js +156 -0
  25. package/dist/graph.d.ts +126 -0
  26. package/dist/graph.js +209 -0
  27. package/dist/grid-setup.d.ts +27 -0
  28. package/dist/grid-setup.js +307 -0
  29. package/dist/grid.d.ts +43 -0
  30. package/dist/grid.js +59 -0
  31. package/dist/index.d.ts +15 -0
  32. package/dist/index.js +7 -0
  33. package/dist/key-legend.d.ts +21 -0
  34. package/dist/key-legend.js +231 -0
  35. package/dist/label-svg-icon.d.ts +18 -0
  36. package/dist/label-svg-icon.js +42 -0
  37. package/dist/labels.d.ts +37 -0
  38. package/dist/labels.js +152 -0
  39. package/dist/mark-label.d.ts +60 -0
  40. package/dist/mark-label.js +222 -0
  41. package/dist/node_modules/.bun/@visx_axis@4.0.0_d84c32d47042070f/node_modules/@visx/axis/esm/axis/Axis.js +67 -0
  42. package/dist/node_modules/.bun/@visx_axis@4.0.0_d84c32d47042070f/node_modules/@visx/axis/esm/axis/AxisRenderer.js +66 -0
  43. package/dist/node_modules/.bun/@visx_axis@4.0.0_d84c32d47042070f/node_modules/@visx/axis/esm/axis/Ticks.js +39 -0
  44. package/dist/node_modules/.bun/@visx_axis@4.0.0_d84c32d47042070f/node_modules/@visx/axis/esm/constants/orientation.js +9 -0
  45. package/dist/node_modules/.bun/@visx_axis@4.0.0_d84c32d47042070f/node_modules/@visx/axis/esm/utils/createPoint.js +14 -0
  46. package/dist/node_modules/.bun/@visx_axis@4.0.0_d84c32d47042070f/node_modules/@visx/axis/esm/utils/getAxisRangePaddingConfig.js +13 -0
  47. package/dist/node_modules/.bun/@visx_axis@4.0.0_d84c32d47042070f/node_modules/@visx/axis/esm/utils/getLabelTransform.js +16 -0
  48. package/dist/node_modules/.bun/@visx_axis@4.0.0_d84c32d47042070f/node_modules/@visx/axis/esm/utils/getTickFormatter.js +8 -0
  49. package/dist/node_modules/.bun/@visx_axis@4.0.0_d84c32d47042070f/node_modules/@visx/axis/esm/utils/getTickPosition.js +14 -0
  50. package/dist/node_modules/.bun/@visx_grid@4.0.0_d84c32d47042070f/node_modules/@visx/grid/esm/grids/Grid.js +43 -0
  51. package/dist/node_modules/.bun/@visx_grid@4.0.0_d84c32d47042070f/node_modules/@visx/grid/esm/grids/GridColumns.js +46 -0
  52. package/dist/node_modules/.bun/@visx_grid@4.0.0_d84c32d47042070f/node_modules/@visx/grid/esm/grids/GridRows.js +46 -0
  53. package/dist/node_modules/.bun/@visx_grid@4.0.0_d84c32d47042070f/node_modules/@visx/grid/esm/utils/getScaleBandwidth.js +6 -0
  54. package/dist/node_modules/.bun/@visx_group@4.0.0_d84c32d47042070f/node_modules/@visx/group/esm/Group.js +17 -0
  55. package/dist/node_modules/.bun/@visx_point@4.0.0/node_modules/@visx/point/esm/Point.js +20 -0
  56. package/dist/node_modules/.bun/@visx_scale@4.0.0/node_modules/@visx/scale/esm/utils/coerceNumber.js +10 -0
  57. package/dist/node_modules/.bun/@visx_scale@4.0.0/node_modules/@visx/scale/esm/utils/getTicks.js +7 -0
  58. package/dist/node_modules/.bun/@visx_scale@4.0.0/node_modules/@visx/scale/esm/utils/toString.js +6 -0
  59. package/dist/node_modules/.bun/@visx_shape@4.0.0_d84c32d47042070f/node_modules/@visx/shape/esm/shapes/Line.js +27 -0
  60. package/dist/node_modules/.bun/@visx_shape@4.0.0_d84c32d47042070f/node_modules/@visx/shape/esm/shapes/LinePath.js +24 -0
  61. package/dist/node_modules/.bun/@visx_shape@4.0.0_d84c32d47042070f/node_modules/@visx/shape/esm/util/D3ShapeFactories.js +9 -0
  62. package/dist/node_modules/.bun/@visx_shape@4.0.0_d84c32d47042070f/node_modules/@visx/shape/esm/util/setNumberOrNumberAccessor.js +6 -0
  63. package/dist/node_modules/.bun/@visx_text@4.0.0_d84c32d47042070f/node_modules/@visx/text/esm/Text.js +27 -0
  64. package/dist/node_modules/.bun/@visx_text@4.0.0_d84c32d47042070f/node_modules/@visx/text/esm/hooks/useText.js +68 -0
  65. package/dist/node_modules/.bun/@visx_text@4.0.0_d84c32d47042070f/node_modules/@visx/text/esm/util/getStringWidth.js +19 -0
  66. package/dist/node_modules/.bun/@visx_text@4.0.0_d84c32d47042070f/node_modules/@visx/text/esm/util/memoize.js +13 -0
  67. package/dist/node_modules/.bun/@visx_vendor@4.0.0/node_modules/@visx/vendor/esm/d3-shape.js +8 -0
  68. package/dist/node_modules/.bun/balanced-match@0.4.2/node_modules/balanced-match/index.js +32 -0
  69. package/dist/node_modules/.bun/balanced-match@1.0.2/node_modules/balanced-match/index.js +33 -0
  70. package/dist/node_modules/.bun/classnames@2.5.1/node_modules/classnames/index.js +32 -0
  71. package/dist/node_modules/.bun/clsx@2.1.1/node_modules/clsx/dist/clsx.js +16 -0
  72. package/dist/node_modules/.bun/invariant@2.2.4/node_modules/invariant/browser.js +28 -0
  73. package/dist/node_modules/.bun/math-expression-evaluator@1.4.0/node_modules/math-expression-evaluator/src/formula_evaluator.js +37 -0
  74. package/dist/node_modules/.bun/math-expression-evaluator@1.4.0/node_modules/math-expression-evaluator/src/lexer.js +509 -0
  75. package/dist/node_modules/.bun/math-expression-evaluator@1.4.0/node_modules/math-expression-evaluator/src/math_function.js +108 -0
  76. package/dist/node_modules/.bun/math-expression-evaluator@1.4.0/node_modules/math-expression-evaluator/src/postfix.js +31 -0
  77. package/dist/node_modules/.bun/math-expression-evaluator@1.4.0/node_modules/math-expression-evaluator/src/postfix_evaluator.js +45 -0
  78. package/dist/node_modules/.bun/reduce-css-calc@1.3.0/node_modules/reduce-css-calc/index.js +49 -0
  79. package/dist/node_modules/.bun/reduce-function-call@1.0.3/node_modules/reduce-function-call/index.js +34 -0
  80. package/dist/node_modules/.bun/redux-undo@1.1.0/node_modules/redux-undo/dist/redux-undo.js +185 -0
  81. package/dist/node_modules/.bun/redux@5.0.1/node_modules/redux/dist/redux.js +198 -0
  82. package/dist/toggle-bar.d.ts +40 -0
  83. package/dist/toggle-bar.js +155 -0
  84. package/dist/tool-menu.d.ts +29 -0
  85. package/dist/tool-menu.js +41 -0
  86. package/dist/tools/absolute/component.d.ts +16 -0
  87. package/dist/tools/absolute/component.js +15 -0
  88. package/dist/tools/absolute/index.d.ts +20 -0
  89. package/dist/tools/absolute/index.js +32 -0
  90. package/dist/tools/circle/bg-circle.d.ts +116 -0
  91. package/dist/tools/circle/bg-circle.js +72 -0
  92. package/dist/tools/circle/component.d.ts +88 -0
  93. package/dist/tools/circle/component.js +208 -0
  94. package/dist/tools/circle/index.d.ts +20 -0
  95. package/dist/tools/circle/index.js +22 -0
  96. package/dist/tools/exponential/component.d.ts +16 -0
  97. package/dist/tools/exponential/component.js +14 -0
  98. package/dist/tools/exponential/index.d.ts +20 -0
  99. package/dist/tools/exponential/index.js +32 -0
  100. package/dist/tools/index.d.ts +27 -0
  101. package/dist/tools/index.js +55 -0
  102. package/dist/tools/line/component.d.ts +124 -0
  103. package/dist/tools/line/component.js +72 -0
  104. package/dist/tools/line/index.d.ts +13 -0
  105. package/dist/tools/line/index.js +6 -0
  106. package/dist/tools/parabola/component.d.ts +16 -0
  107. package/dist/tools/parabola/component.js +14 -0
  108. package/dist/tools/parabola/index.d.ts +20 -0
  109. package/dist/tools/parabola/index.js +32 -0
  110. package/dist/tools/point/component.d.ts +52 -0
  111. package/dist/tools/point/component.js +91 -0
  112. package/dist/tools/point/index.d.ts +15 -0
  113. package/dist/tools/point/index.js +13 -0
  114. package/dist/tools/polygon/component.d.ts +125 -0
  115. package/dist/tools/polygon/component.js +271 -0
  116. package/dist/tools/polygon/index.d.ts +19 -0
  117. package/dist/tools/polygon/index.js +55 -0
  118. package/dist/tools/polygon/line.d.ts +125 -0
  119. package/dist/tools/polygon/line.js +63 -0
  120. package/dist/tools/polygon/polygon.d.ts +122 -0
  121. package/dist/tools/polygon/polygon.js +74 -0
  122. package/dist/tools/ray/component.d.ts +101 -0
  123. package/dist/tools/ray/component.js +71 -0
  124. package/dist/tools/ray/index.d.ts +13 -0
  125. package/dist/tools/ray/index.js +6 -0
  126. package/dist/tools/segment/component.d.ts +100 -0
  127. package/dist/tools/segment/component.js +52 -0
  128. package/dist/tools/segment/index.d.ts +13 -0
  129. package/dist/tools/segment/index.js +6 -0
  130. package/dist/tools/shared/arrow-head.d.ts +51 -0
  131. package/dist/tools/shared/arrow-head.js +63 -0
  132. package/dist/tools/shared/icons/CorrectSVG.d.ts +26 -0
  133. package/dist/tools/shared/icons/CorrectSVG.js +29 -0
  134. package/dist/tools/shared/icons/IncorrectSVG.d.ts +26 -0
  135. package/dist/tools/shared/icons/IncorrectSVG.js +27 -0
  136. package/dist/tools/shared/icons/MissingSVG.d.ts +26 -0
  137. package/dist/tools/shared/icons/MissingSVG.js +28 -0
  138. package/dist/tools/shared/line/index.d.ts +251 -0
  139. package/dist/tools/shared/line/index.js +332 -0
  140. package/dist/tools/shared/line/line-path.d.ts +57 -0
  141. package/dist/tools/shared/line/line-path.js +71 -0
  142. package/dist/tools/shared/line/with-root-edge.d.ts +148 -0
  143. package/dist/tools/shared/line/with-root-edge.js +73 -0
  144. package/dist/tools/shared/point/arrow-point.d.ts +56 -0
  145. package/dist/tools/shared/point/arrow-point.js +41 -0
  146. package/dist/tools/shared/point/arrow.d.ts +45 -0
  147. package/dist/tools/shared/point/arrow.js +35 -0
  148. package/dist/tools/shared/point/base-point.d.ts +52 -0
  149. package/dist/tools/shared/point/base-point.js +103 -0
  150. package/dist/tools/shared/point/index.d.ts +216 -0
  151. package/dist/tools/shared/point/index.js +45 -0
  152. package/dist/tools/shared/styles.d.ts +29 -0
  153. package/dist/tools/shared/styles.js +20 -0
  154. package/dist/tools/shared/types.d.ts +21 -0
  155. package/dist/tools/shared/types.js +11 -0
  156. package/dist/tools/sine/component.d.ts +16 -0
  157. package/dist/tools/sine/component.js +22 -0
  158. package/dist/tools/sine/index.d.ts +20 -0
  159. package/dist/tools/sine/index.js +32 -0
  160. package/dist/tools/vector/component.d.ts +100 -0
  161. package/dist/tools/vector/component.js +44 -0
  162. package/dist/tools/vector/index.d.ts +13 -0
  163. package/dist/tools/vector/index.js +6 -0
  164. package/dist/undo-redo.d.ts +22 -0
  165. package/dist/undo-redo.js +47 -0
  166. package/dist/use-debounce.d.ts +9 -0
  167. package/dist/use-debounce.js +13 -0
  168. package/dist/utils.d.ts +61 -0
  169. package/dist/utils.js +75 -0
  170. package/package.json +51 -41
  171. package/CHANGELOG.json +0 -1
  172. package/CHANGELOG.md +0 -1469
  173. package/lib/axis/arrow.js +0 -79
  174. package/lib/axis/arrow.js.map +0 -1
  175. package/lib/axis/axes.js +0 -329
  176. package/lib/axis/axes.js.map +0 -1
  177. package/lib/axis/index.js +0 -21
  178. package/lib/axis/index.js.map +0 -1
  179. package/lib/bg.js +0 -114
  180. package/lib/bg.js.map +0 -1
  181. package/lib/container/actions.js +0 -18
  182. package/lib/container/actions.js.map +0 -1
  183. package/lib/container/index.js +0 -127
  184. package/lib/container/index.js.map +0 -1
  185. package/lib/container/marks.js +0 -22
  186. package/lib/container/marks.js.map +0 -1
  187. package/lib/container/middleware.js +0 -19
  188. package/lib/container/middleware.js.map +0 -1
  189. package/lib/container/reducer.js +0 -18
  190. package/lib/container/reducer.js.map +0 -1
  191. package/lib/coordinates-label.js +0 -79
  192. package/lib/coordinates-label.js.map +0 -1
  193. package/lib/graph-with-controls.js +0 -294
  194. package/lib/graph-with-controls.js.map +0 -1
  195. package/lib/graph.js +0 -327
  196. package/lib/graph.js.map +0 -1
  197. package/lib/grid-setup.js +0 -414
  198. package/lib/grid-setup.js.map +0 -1
  199. package/lib/grid.js +0 -131
  200. package/lib/grid.js.map +0 -1
  201. package/lib/index.js +0 -47
  202. package/lib/index.js.map +0 -1
  203. package/lib/key-legend.js +0 -201
  204. package/lib/key-legend.js.map +0 -1
  205. package/lib/label-svg-icon.js +0 -50
  206. package/lib/label-svg-icon.js.map +0 -1
  207. package/lib/labels.js +0 -243
  208. package/lib/labels.js.map +0 -1
  209. package/lib/mark-label.js +0 -285
  210. package/lib/mark-label.js.map +0 -1
  211. package/lib/toggle-bar.js +0 -252
  212. package/lib/toggle-bar.js.map +0 -1
  213. package/lib/tool-menu.js +0 -78
  214. package/lib/tool-menu.js.map +0 -1
  215. package/lib/tools/absolute/component.js +0 -29
  216. package/lib/tools/absolute/component.js.map +0 -1
  217. package/lib/tools/absolute/index.js +0 -50
  218. package/lib/tools/absolute/index.js.map +0 -1
  219. package/lib/tools/circle/bg-circle.js +0 -123
  220. package/lib/tools/circle/bg-circle.js.map +0 -1
  221. package/lib/tools/circle/component.js +0 -321
  222. package/lib/tools/circle/component.js.map +0 -1
  223. package/lib/tools/circle/index.js +0 -41
  224. package/lib/tools/circle/index.js.map +0 -1
  225. package/lib/tools/exponential/component.js +0 -28
  226. package/lib/tools/exponential/component.js.map +0 -1
  227. package/lib/tools/exponential/index.js +0 -56
  228. package/lib/tools/exponential/index.js.map +0 -1
  229. package/lib/tools/index.js +0 -86
  230. package/lib/tools/index.js.map +0 -1
  231. package/lib/tools/line/component.js +0 -97
  232. package/lib/tools/line/component.js.map +0 -1
  233. package/lib/tools/line/index.js +0 -11
  234. package/lib/tools/line/index.js.map +0 -1
  235. package/lib/tools/parabola/component.js +0 -28
  236. package/lib/tools/parabola/component.js.map +0 -1
  237. package/lib/tools/parabola/index.js +0 -50
  238. package/lib/tools/parabola/index.js.map +0 -1
  239. package/lib/tools/point/component.js +0 -148
  240. package/lib/tools/point/component.js.map +0 -1
  241. package/lib/tools/point/index.js +0 -24
  242. package/lib/tools/point/index.js.map +0 -1
  243. package/lib/tools/polygon/component.js +0 -437
  244. package/lib/tools/polygon/component.js.map +0 -1
  245. package/lib/tools/polygon/index.js +0 -89
  246. package/lib/tools/polygon/index.js.map +0 -1
  247. package/lib/tools/polygon/line.js +0 -112
  248. package/lib/tools/polygon/line.js.map +0 -1
  249. package/lib/tools/polygon/polygon.js +0 -130
  250. package/lib/tools/polygon/polygon.js.map +0 -1
  251. package/lib/tools/ray/component.js +0 -95
  252. package/lib/tools/ray/component.js.map +0 -1
  253. package/lib/tools/ray/index.js +0 -11
  254. package/lib/tools/ray/index.js.map +0 -1
  255. package/lib/tools/segment/component.js +0 -71
  256. package/lib/tools/segment/component.js.map +0 -1
  257. package/lib/tools/segment/index.js +0 -11
  258. package/lib/tools/segment/index.js.map +0 -1
  259. package/lib/tools/shared/arrow-head.js +0 -111
  260. package/lib/tools/shared/arrow-head.js.map +0 -1
  261. package/lib/tools/shared/icons/CorrectSVG.js +0 -40
  262. package/lib/tools/shared/icons/CorrectSVG.js.map +0 -1
  263. package/lib/tools/shared/icons/IncorrectSVG.js +0 -40
  264. package/lib/tools/shared/icons/IncorrectSVG.js.map +0 -1
  265. package/lib/tools/shared/icons/MissingSVG.js +0 -39
  266. package/lib/tools/shared/icons/MissingSVG.js.map +0 -1
  267. package/lib/tools/shared/line/index.js +0 -550
  268. package/lib/tools/shared/line/index.js.map +0 -1
  269. package/lib/tools/shared/line/line-path.js +0 -118
  270. package/lib/tools/shared/line/line-path.js.map +0 -1
  271. package/lib/tools/shared/line/with-root-edge.js +0 -121
  272. package/lib/tools/shared/line/with-root-edge.js.map +0 -1
  273. package/lib/tools/shared/point/arrow-point.js +0 -72
  274. package/lib/tools/shared/point/arrow-point.js.map +0 -1
  275. package/lib/tools/shared/point/arrow.js +0 -67
  276. package/lib/tools/shared/point/arrow.js.map +0 -1
  277. package/lib/tools/shared/point/base-point.js +0 -157
  278. package/lib/tools/shared/point/base-point.js.map +0 -1
  279. package/lib/tools/shared/point/index.js +0 -68
  280. package/lib/tools/shared/point/index.js.map +0 -1
  281. package/lib/tools/shared/styles.js +0 -33
  282. package/lib/tools/shared/styles.js.map +0 -1
  283. package/lib/tools/shared/types.js +0 -16
  284. package/lib/tools/shared/types.js.map +0 -1
  285. package/lib/tools/sine/component.js +0 -40
  286. package/lib/tools/sine/component.js.map +0 -1
  287. package/lib/tools/sine/index.js +0 -50
  288. package/lib/tools/sine/index.js.map +0 -1
  289. package/lib/tools/vector/component.js +0 -68
  290. package/lib/tools/vector/component.js.map +0 -1
  291. package/lib/tools/vector/index.js +0 -11
  292. package/lib/tools/vector/index.js.map +0 -1
  293. package/lib/undo-redo.js +0 -86
  294. package/lib/undo-redo.js.map +0 -1
  295. package/lib/use-debounce.js +0 -25
  296. package/lib/use-debounce.js.map +0 -1
  297. package/lib/utils.js +0 -229
  298. package/lib/utils.js.map +0 -1
  299. package/src/__tests__/bg.test.jsx +0 -250
  300. package/src/__tests__/coordinates-label.test.jsx +0 -243
  301. package/src/__tests__/graph-with-controls.test.jsx +0 -198
  302. package/src/__tests__/graph.test.jsx +0 -721
  303. package/src/__tests__/grid-setup.test.jsx +0 -645
  304. package/src/__tests__/grid.test.jsx +0 -22
  305. package/src/__tests__/key-legend.test.jsx +0 -260
  306. package/src/__tests__/label-svg-icon.test.jsx +0 -278
  307. package/src/__tests__/labels.test.jsx +0 -55
  308. package/src/__tests__/mark-label.test.jsx +0 -63
  309. package/src/__tests__/toggle-bar.test.jsx +0 -146
  310. package/src/__tests__/tool-menu.test.jsx +0 -115
  311. package/src/__tests__/undo-redo.test.jsx +0 -24
  312. package/src/__tests__/use-debounce.test.js +0 -21
  313. package/src/__tests__/utils.js +0 -41
  314. package/src/__tests__/utils.test.js +0 -105
  315. package/src/axis/__tests__/arrow.test.jsx +0 -38
  316. package/src/axis/__tests__/axes.test.jsx +0 -216
  317. package/src/axis/arrow.jsx +0 -57
  318. package/src/axis/axes.jsx +0 -285
  319. package/src/axis/index.js +0 -3
  320. package/src/bg.jsx +0 -96
  321. package/src/container/__tests__/actions.test.js +0 -105
  322. package/src/container/__tests__/index.test.jsx +0 -319
  323. package/src/container/__tests__/marks.test.js +0 -172
  324. package/src/container/__tests__/middleware.test.js +0 -235
  325. package/src/container/__tests__/reducer.test.js +0 -324
  326. package/src/container/actions.js +0 -8
  327. package/src/container/index.jsx +0 -91
  328. package/src/container/marks.js +0 -14
  329. package/src/container/middleware.js +0 -7
  330. package/src/container/reducer.js +0 -5
  331. package/src/coordinates-label.jsx +0 -63
  332. package/src/graph-with-controls.jsx +0 -239
  333. package/src/graph.jsx +0 -303
  334. package/src/grid-setup.jsx +0 -432
  335. package/src/grid.jsx +0 -133
  336. package/src/index.js +0 -7
  337. package/src/key-legend.jsx +0 -142
  338. package/src/label-svg-icon.jsx +0 -39
  339. package/src/labels.jsx +0 -207
  340. package/src/mark-label.jsx +0 -244
  341. package/src/toggle-bar.jsx +0 -224
  342. package/src/tool-menu.jsx +0 -49
  343. package/src/tools/absolute/__tests__/component.test.jsx +0 -53
  344. package/src/tools/absolute/component.jsx +0 -23
  345. package/src/tools/absolute/index.js +0 -31
  346. package/src/tools/circle/__tests__/bg-circle.test.jsx +0 -26
  347. package/src/tools/circle/__tests__/component.test.jsx +0 -494
  348. package/src/tools/circle/__tests__/index.test.js +0 -480
  349. package/src/tools/circle/bg-circle.jsx +0 -81
  350. package/src/tools/circle/component.jsx +0 -264
  351. package/src/tools/circle/index.js +0 -25
  352. package/src/tools/exponential/__tests__/component.test.jsx +0 -53
  353. package/src/tools/exponential/__tests__/index.test.js +0 -729
  354. package/src/tools/exponential/component.jsx +0 -23
  355. package/src/tools/exponential/index.js +0 -39
  356. package/src/tools/index.js +0 -48
  357. package/src/tools/line/__tests__/component.test.jsx +0 -37
  358. package/src/tools/line/component.jsx +0 -93
  359. package/src/tools/line/index.js +0 -4
  360. package/src/tools/parabola/__tests__/component.test.jsx +0 -48
  361. package/src/tools/parabola/__tests__/index.test.js +0 -470
  362. package/src/tools/parabola/component.jsx +0 -23
  363. package/src/tools/parabola/index.js +0 -31
  364. package/src/tools/point/__tests__/component.test.jsx +0 -349
  365. package/src/tools/point/__tests__/index.test.js +0 -241
  366. package/src/tools/point/component.jsx +0 -126
  367. package/src/tools/point/index.js +0 -11
  368. package/src/tools/polygon/__tests__/component.test.jsx +0 -471
  369. package/src/tools/polygon/__tests__/index.test.js +0 -294
  370. package/src/tools/polygon/__tests__/line.test.jsx +0 -35
  371. package/src/tools/polygon/__tests__/polygon.test.jsx +0 -61
  372. package/src/tools/polygon/component.jsx +0 -409
  373. package/src/tools/polygon/index.js +0 -52
  374. package/src/tools/polygon/line.jsx +0 -74
  375. package/src/tools/polygon/polygon.jsx +0 -110
  376. package/src/tools/ray/__tests__/component.test.jsx +0 -29
  377. package/src/tools/ray/component.jsx +0 -92
  378. package/src/tools/ray/index.js +0 -4
  379. package/src/tools/segment/__tests__/component.test.jsx +0 -28
  380. package/src/tools/segment/component.jsx +0 -65
  381. package/src/tools/segment/index.js +0 -4
  382. package/src/tools/shared/__tests__/arrow-head.test.jsx +0 -31
  383. package/src/tools/shared/arrow-head.jsx +0 -102
  384. package/src/tools/shared/icons/CorrectSVG.jsx +0 -32
  385. package/src/tools/shared/icons/IncorrectSVG.jsx +0 -30
  386. package/src/tools/shared/icons/MissingSVG.jsx +0 -31
  387. package/src/tools/shared/line/__tests__/index.test.jsx +0 -109
  388. package/src/tools/shared/line/__tests__/line-path.test.jsx +0 -53
  389. package/src/tools/shared/line/__tests__/with-root-edge.test.jsx +0 -73
  390. package/src/tools/shared/line/index.jsx +0 -487
  391. package/src/tools/shared/line/line-path.jsx +0 -80
  392. package/src/tools/shared/line/with-root-edge.jsx +0 -97
  393. package/src/tools/shared/point/__tests__/arrow-point.test.jsx +0 -91
  394. package/src/tools/shared/point/__tests__/base-point.test.jsx +0 -87
  395. package/src/tools/shared/point/arrow-point.jsx +0 -46
  396. package/src/tools/shared/point/arrow.jsx +0 -37
  397. package/src/tools/shared/point/base-point.jsx +0 -121
  398. package/src/tools/shared/point/index.jsx +0 -54
  399. package/src/tools/shared/styles.js +0 -27
  400. package/src/tools/shared/types.js +0 -10
  401. package/src/tools/sine/__tests__/component.test.jsx +0 -51
  402. package/src/tools/sine/component.jsx +0 -32
  403. package/src/tools/sine/index.js +0 -33
  404. package/src/tools/vector/__tests__/component.test.jsx +0 -25
  405. package/src/tools/vector/component.jsx +0 -56
  406. package/src/tools/vector/index.js +0 -4
  407. package/src/undo-redo.jsx +0 -45
  408. package/src/use-debounce.js +0 -13
  409. package/src/utils.js +0 -224
@@ -0,0 +1,10 @@
1
+ //#region ../../../node_modules/.bun/@visx+scale@4.0.0/node_modules/@visx/scale/esm/utils/coerceNumber.js
2
+ function e(e) {
3
+ if ((typeof e == "function" || typeof e == "object" && e) && "valueOf" in e) {
4
+ let t = e.valueOf();
5
+ if (typeof t == "number") return t;
6
+ }
7
+ return e;
8
+ }
9
+ //#endregion
10
+ export { e as default };
@@ -0,0 +1,7 @@
1
+ //#region ../../../node_modules/.bun/@visx+scale@4.0.0/node_modules/@visx/scale/esm/utils/getTicks.js
2
+ function e(e, t) {
3
+ let n = e;
4
+ return "ticks" in n ? n.ticks(t) : n.domain().filter((e, n, r) => t == null || r.length <= t || n % Math.round((r.length - 1) / t) === 0);
5
+ }
6
+ //#endregion
7
+ export { e as default };
@@ -0,0 +1,6 @@
1
+ //#region ../../../node_modules/.bun/@visx+scale@4.0.0/node_modules/@visx/scale/esm/utils/toString.js
2
+ function e(e) {
3
+ return e?.toString();
4
+ }
5
+ //#endregion
6
+ export { e as default };
@@ -0,0 +1,27 @@
1
+ import { __toESM as e } from "../../../../../../../../_virtual/_rolldown/runtime.js";
2
+ import { require_classnames as t } from "../../../../../../classnames@2.5.1/node_modules/classnames/index.js";
3
+ import { jsx as n } from "react/jsx-runtime";
4
+ //#region ../../../node_modules/.bun/@visx+shape@4.0.0+d84c32d47042070f/node_modules/@visx/shape/esm/shapes/Line.js
5
+ var r = /* @__PURE__ */ e(t());
6
+ function i(e) {
7
+ let { from: t = {
8
+ x: 0,
9
+ y: 0
10
+ }, to: i = {
11
+ x: 1,
12
+ y: 1
13
+ }, fill: a = "transparent", className: o, innerRef: s, ...c } = e, l = t.x === i.x || t.y === i.y;
14
+ return /*#__PURE__*/ n("line", {
15
+ ref: s,
16
+ className: (0, r.default)("visx-line", o),
17
+ x1: t.x,
18
+ y1: t.y,
19
+ x2: i.x,
20
+ y2: i.y,
21
+ fill: a,
22
+ shapeRendering: l ? "crispEdges" : "auto",
23
+ ...c
24
+ });
25
+ }
26
+ //#endregion
27
+ export { i as default };
@@ -0,0 +1,24 @@
1
+ import { __toESM as e } from "../../../../../../../../_virtual/_rolldown/runtime.js";
2
+ import { require_classnames as t } from "../../../../../../classnames@2.5.1/node_modules/classnames/index.js";
3
+ import { line as n } from "../util/D3ShapeFactories.js";
4
+ import { Fragment as r, jsx as i } from "react/jsx-runtime";
5
+ //#region ../../../node_modules/.bun/@visx+shape@4.0.0+d84c32d47042070f/node_modules/@visx/shape/esm/shapes/LinePath.js
6
+ var a = /* @__PURE__ */ e(t());
7
+ function o(e) {
8
+ let { children: t, data: o = [], x: s, y: c, fill: l = "transparent", className: u, curve: d, innerRef: f, defined: p = () => !0, ...m } = e, h = n({
9
+ x: s,
10
+ y: c,
11
+ defined: p,
12
+ curve: d
13
+ });
14
+ return t ? /*#__PURE__*/ i(r, { children: t({ path: h }) }) : /*#__PURE__*/ i("path", {
15
+ ref: f,
16
+ className: (0, a.default)("visx-linepath", u),
17
+ d: h(o) || "",
18
+ fill: l,
19
+ strokeLinecap: "round",
20
+ ...m
21
+ });
22
+ }
23
+ //#endregion
24
+ export { o as default };
@@ -0,0 +1,9 @@
1
+ import { d3_shape_exports as e } from "../../../../../../@visx_vendor@4.0.0/node_modules/@visx/vendor/esm/d3-shape.js";
2
+ import t from "./setNumberOrNumberAccessor.js";
3
+ //#region ../../../node_modules/.bun/@visx+shape@4.0.0+d84c32d47042070f/node_modules/@visx/shape/esm/util/D3ShapeFactories.js
4
+ function n() {
5
+ let { x: n, y: r, defined: i, curve: a } = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, o = (0, e.line)();
6
+ return n && t(o.x, n), r && t(o.y, r), i && o.defined(i), a && o.curve(a), o;
7
+ }
8
+ //#endregion
9
+ export { n as line };
@@ -0,0 +1,6 @@
1
+ //#region ../../../node_modules/.bun/@visx+shape@4.0.0+d84c32d47042070f/node_modules/@visx/shape/esm/util/setNumberOrNumberAccessor.js
2
+ function e(e, t) {
3
+ e(t);
4
+ }
5
+ //#endregion
6
+ export { e as default };
@@ -0,0 +1,27 @@
1
+ import e from "./hooks/useText.js";
2
+ import { jsx as t } from "react/jsx-runtime";
3
+ //#region ../../../node_modules/.bun/@visx+text@4.0.0+d84c32d47042070f/node_modules/@visx/text/esm/Text.js
4
+ var n = { overflow: "visible" };
5
+ function r(r) {
6
+ let { dx: i = 0, dy: a = 0, textAnchor: o = "start", innerRef: s, innerTextRef: c, verticalAnchor: l, angle: u, lineHeight: d = "1em", scaleToFit: f = !1, capHeight: p, width: m, ...h } = r, { x: g = 0, fontSize: _ } = h, { wordsByLines: v, startDy: y, transform: b } = e(r);
7
+ return /*#__PURE__*/ t("svg", {
8
+ ref: s,
9
+ x: i,
10
+ y: a,
11
+ fontSize: _,
12
+ style: n,
13
+ children: v.length > 0 ? /*#__PURE__*/ t("text", {
14
+ ref: c,
15
+ transform: b,
16
+ ...h,
17
+ textAnchor: o,
18
+ children: v.map((e, n) => /*#__PURE__*/ t("tspan", {
19
+ x: g,
20
+ dy: n === 0 ? y : d,
21
+ children: e.words.join(" ")
22
+ }, n))
23
+ }) : null
24
+ });
25
+ }
26
+ //#endregion
27
+ export { r as default };
@@ -0,0 +1,68 @@
1
+ import { __toESM as e } from "../../../../../../../../_virtual/_rolldown/runtime.js";
2
+ import { require_reduce_css_calc as t } from "../../../../../../reduce-css-calc@1.3.0/node_modules/reduce-css-calc/index.js";
3
+ import n from "../util/getStringWidth.js";
4
+ import { useMemo as r } from "react";
5
+ //#region ../../../node_modules/.bun/@visx+text@4.0.0+d84c32d47042070f/node_modules/@visx/text/esm/hooks/useText.js
6
+ var i = /* @__PURE__ */ e(t());
7
+ function a(e) {
8
+ return typeof e == "number";
9
+ }
10
+ function o(e) {
11
+ return typeof e == "number" && Number.isFinite(e) || typeof e == "string";
12
+ }
13
+ function s(e) {
14
+ let { verticalAnchor: t = "end", scaleToFit: s = !1, angle: c, width: l, lineHeight: u = "1em", capHeight: d = "0.71em", children: f, style: p, ...m } = e, { x: h = 0, y: g = 0 } = m, _ = !o(h) || !o(g), { wordsWithWidth: v, spaceWidth: y } = r(() => ({
15
+ wordsWithWidth: (f == null ? [] : f.toString().split(/(?:(?!\u00A0+)\s+)/)).map((e) => ({
16
+ word: e,
17
+ wordWidth: n(e, p) || 0
18
+ })),
19
+ spaceWidth: n("\xA0", p) || 0
20
+ }), [f, p]), b = r(() => _ ? [] : l || s ? v.reduce((e, t) => {
21
+ let { word: n, wordWidth: r } = t, i = e[e.length - 1];
22
+ if (i && (l == null || s || (i.width || 0) + r + y < l)) i.words.push(n), i.width = i.width || 0, i.width += r + y;
23
+ else {
24
+ let t = {
25
+ words: [n],
26
+ width: r
27
+ };
28
+ e.push(t);
29
+ }
30
+ return e;
31
+ }, []) : [{ words: f == null ? [] : f.toString().split(/(?:(?!\u00A0+)\s+)/) }], [
32
+ _,
33
+ l,
34
+ s,
35
+ f,
36
+ v,
37
+ y
38
+ ]);
39
+ return {
40
+ wordsByLines: b,
41
+ startDy: r(() => _ ? "" : t === "start" ? (0, i.default)(`calc(${d})`) : t === "middle" ? (0, i.default)(`calc(${(b.length - 1) / 2} * -${u} + (${d} / 2))`) : (0, i.default)(`calc(${b.length - 1} * -${u})`), [
42
+ _,
43
+ t,
44
+ d,
45
+ b.length,
46
+ u
47
+ ]),
48
+ transform: r(() => {
49
+ let e = [];
50
+ if (_) return "";
51
+ if (a(h) && a(g) && a(l) && s && b.length > 0) {
52
+ let t = b[0].width || 1, n = s === "shrink-only" ? Math.min(l / t, 1) : l / t, r = n, i = h - n * h, a = g - r * g;
53
+ e.push(`matrix(${n}, 0, 0, ${r}, ${i}, ${a})`);
54
+ }
55
+ return c && e.push(`rotate(${c}, ${h}, ${g})`), e.length > 0 ? e.join(" ") : "";
56
+ }, [
57
+ _,
58
+ h,
59
+ g,
60
+ l,
61
+ s,
62
+ b,
63
+ c
64
+ ])
65
+ };
66
+ }
67
+ //#endregion
68
+ export { s as default };
@@ -0,0 +1,19 @@
1
+ import e from "./memoize.js";
2
+ //#region ../../../node_modules/.bun/@visx+text@4.0.0+d84c32d47042070f/node_modules/@visx/text/esm/util/getStringWidth.js
3
+ var t = "__react_svg_text_measurement_id";
4
+ function n(e, n) {
5
+ if (typeof document > "u") return null;
6
+ try {
7
+ let r = document.getElementById(t);
8
+ if (!r) {
9
+ let e = document.createElementNS("http://www.w3.org/2000/svg", "svg");
10
+ e.setAttribute("aria-hidden", "true"), e.style.width = "0", e.style.height = "0", e.style.position = "absolute", e.style.top = "-100%", e.style.left = "-100%", r = document.createElementNS("http://www.w3.org/2000/svg", "text"), r.setAttribute("id", t), e.appendChild(r), document.body.appendChild(e);
11
+ }
12
+ return Object.assign(r.style, n), r.textContent = e, r.getComputedTextLength();
13
+ } catch {
14
+ return null;
15
+ }
16
+ }
17
+ var r = e(n, (e, t) => `${e}_${JSON.stringify(t)}`);
18
+ //#endregion
19
+ export { r as default };
@@ -0,0 +1,13 @@
1
+ //#region ../../../node_modules/.bun/@visx+text@4.0.0+d84c32d47042070f/node_modules/@visx/text/esm/util/memoize.js
2
+ function e(e, t) {
3
+ let n = /* @__PURE__ */ new Map();
4
+ return function() {
5
+ var r = [...arguments];
6
+ let i = t(...r);
7
+ if (n.has(i)) return n.get(i);
8
+ let a = e.apply(this, r);
9
+ return n.set(i, a), a;
10
+ };
11
+ }
12
+ //#endregion
13
+ export { e as default };
@@ -0,0 +1,8 @@
1
+ import { __exportAll as e, __reExport as t } from "../../../../../../../_virtual/_rolldown/runtime.js";
2
+ export * from "d3-shape";
3
+ //#region ../../../node_modules/.bun/@visx+vendor@4.0.0/node_modules/@visx/vendor/esm/d3-shape.js
4
+ var n = /* @__PURE__ */ e({});
5
+ import * as r from "d3-shape";
6
+ t(n, r);
7
+ //#endregion
8
+ export { n as d3_shape_exports };
@@ -0,0 +1,32 @@
1
+ import { __commonJSMin as e } from "../../../../../_virtual/_rolldown/runtime.js";
2
+ //#region ../../../node_modules/.bun/balanced-match@0.4.2/node_modules/balanced-match/index.js
3
+ var t = /* @__PURE__ */ e(((e, t) => {
4
+ t.exports = n;
5
+ function n(e, t, n) {
6
+ e instanceof RegExp && (e = r(e, n)), t instanceof RegExp && (t = r(t, n));
7
+ var a = i(e, t, n);
8
+ return a && {
9
+ start: a[0],
10
+ end: a[1],
11
+ pre: n.slice(0, a[0]),
12
+ body: n.slice(a[0] + e.length, a[1]),
13
+ post: n.slice(a[1] + t.length)
14
+ };
15
+ }
16
+ function r(e, t) {
17
+ var n = t.match(e);
18
+ return n ? n[0] : null;
19
+ }
20
+ n.range = i;
21
+ function i(e, t, n) {
22
+ var r, i, a, o, s, c = n.indexOf(e), l = n.indexOf(t, c + 1), u = c;
23
+ if (c >= 0 && l > 0) {
24
+ for (r = [], a = n.length; u >= 0 && !s;) u == c ? (r.push(u), c = n.indexOf(e, u + 1)) : r.length == 1 ? s = [r.pop(), l] : (i = r.pop(), i < a && (a = i, o = l), l = n.indexOf(t, u + 1)), u = c < l && c >= 0 ? c : l;
25
+ r.length && (s = [a, o]);
26
+ }
27
+ return s;
28
+ }
29
+ }));
30
+ //#endregion
31
+ export default t();
32
+ export { t as require_balanced_match };
@@ -0,0 +1,33 @@
1
+ import { __commonJSMin as e } from "../../../../../_virtual/_rolldown/runtime.js";
2
+ //#region ../../../node_modules/.bun/balanced-match@1.0.2/node_modules/balanced-match/index.js
3
+ var t = /* @__PURE__ */ e(((e, t) => {
4
+ t.exports = n;
5
+ function n(e, t, n) {
6
+ e instanceof RegExp && (e = r(e, n)), t instanceof RegExp && (t = r(t, n));
7
+ var a = i(e, t, n);
8
+ return a && {
9
+ start: a[0],
10
+ end: a[1],
11
+ pre: n.slice(0, a[0]),
12
+ body: n.slice(a[0] + e.length, a[1]),
13
+ post: n.slice(a[1] + t.length)
14
+ };
15
+ }
16
+ function r(e, t) {
17
+ var n = t.match(e);
18
+ return n ? n[0] : null;
19
+ }
20
+ n.range = i;
21
+ function i(e, t, n) {
22
+ var r, i, a, o, s, c = n.indexOf(e), l = n.indexOf(t, c + 1), u = c;
23
+ if (c >= 0 && l > 0) {
24
+ if (e === t) return [c, l];
25
+ for (r = [], a = n.length; u >= 0 && !s;) u == c ? (r.push(u), c = n.indexOf(e, u + 1)) : r.length == 1 ? s = [r.pop(), l] : (i = r.pop(), i < a && (a = i, o = l), l = n.indexOf(t, u + 1)), u = c < l && c >= 0 ? c : l;
26
+ r.length && (s = [a, o]);
27
+ }
28
+ return s;
29
+ }
30
+ }));
31
+ //#endregion
32
+ export default t();
33
+ export { t as require_balanced_match };
@@ -0,0 +1,32 @@
1
+ import { __commonJSMin as e } from "../../../../../_virtual/_rolldown/runtime.js";
2
+ //#region ../../../node_modules/.bun/classnames@2.5.1/node_modules/classnames/index.js
3
+ var t = /* @__PURE__ */ e(((e, t) => {
4
+ (function() {
5
+ var e = {}.hasOwnProperty;
6
+ function n() {
7
+ for (var e = "", t = 0; t < arguments.length; t++) {
8
+ var n = arguments[t];
9
+ n && (e = i(e, r(n)));
10
+ }
11
+ return e;
12
+ }
13
+ function r(t) {
14
+ if (typeof t == "string" || typeof t == "number") return t;
15
+ if (typeof t != "object") return "";
16
+ if (Array.isArray(t)) return n.apply(null, t);
17
+ if (t.toString !== Object.prototype.toString && !t.toString.toString().includes("[native code]")) return t.toString();
18
+ var r = "";
19
+ for (var a in t) e.call(t, a) && t[a] && (r = i(r, a));
20
+ return r;
21
+ }
22
+ function i(e, t) {
23
+ return t ? e ? e + " " + t : e + t : e;
24
+ }
25
+ t !== void 0 && t.exports ? (n.default = n, t.exports = n) : typeof define == "function" && typeof define.amd == "object" && define.amd ? define("classnames", [], function() {
26
+ return n;
27
+ }) : window.classNames = n;
28
+ })();
29
+ }));
30
+ //#endregion
31
+ export default t();
32
+ export { t as require_classnames };
@@ -0,0 +1,16 @@
1
+ //#region ../../../node_modules/.bun/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs
2
+ function e(t) {
3
+ var n, r, i = "";
4
+ if (typeof t == "string" || typeof t == "number") i += t;
5
+ else if (typeof t == "object") if (Array.isArray(t)) {
6
+ var a = t.length;
7
+ for (n = 0; n < a; n++) t[n] && (r = e(t[n])) && (i && (i += " "), i += r);
8
+ } else for (r in t) t[r] && (i && (i += " "), i += r);
9
+ return i;
10
+ }
11
+ function t() {
12
+ for (var t, n, r = 0, i = "", a = arguments.length; r < a; r++) (t = arguments[r]) && (n = e(t)) && (i && (i += " "), i += n);
13
+ return i;
14
+ }
15
+ //#endregion
16
+ export { t as clsx, t as default };
@@ -0,0 +1,28 @@
1
+ import { __commonJSMin as e } from "../../../../../_virtual/_rolldown/runtime.js";
2
+ //#region ../../../node_modules/.bun/invariant@2.2.4/node_modules/invariant/browser.js
3
+ var t = /* @__PURE__ */ e(((e, t) => {
4
+ t.exports = function(e, t, n, r, i, a, o, s) {
5
+ if (process.env.NODE_ENV !== "production" && t === void 0) throw Error("invariant requires an error message argument");
6
+ if (!e) {
7
+ var c;
8
+ if (t === void 0) c = /* @__PURE__ */ Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");
9
+ else {
10
+ var l = [
11
+ n,
12
+ r,
13
+ i,
14
+ a,
15
+ o,
16
+ s
17
+ ], u = 0;
18
+ c = Error(t.replace(/%s/g, function() {
19
+ return l[u++];
20
+ })), c.name = "Invariant Violation";
21
+ }
22
+ throw c.framesToPop = 1, c;
23
+ }
24
+ };
25
+ }));
26
+ //#endregion
27
+ export default t();
28
+ export { t as require_browser };
@@ -0,0 +1,37 @@
1
+ import { __commonJSMin as e } from "../../../../../../_virtual/_rolldown/runtime.js";
2
+ import { require_postfix_evaluator as t } from "./postfix_evaluator.js";
3
+ //#region ../../../node_modules/.bun/math-expression-evaluator@1.4.0/node_modules/math-expression-evaluator/src/formula_evaluator.js
4
+ var n = /* @__PURE__ */ e(((e, n) => {
5
+ var r = t();
6
+ r.prototype.formulaEval = function() {
7
+ for (var e, t, n, r = [], i = this.value, a = 0; a < i.length; a++) i[a].type === 1 || i[a].type === 3 ? r.push({
8
+ value: i[a].type === 3 ? i[a].show : i[a].value,
9
+ type: 1
10
+ }) : i[a].type === 13 ? r.push({
11
+ value: i[a].show,
12
+ type: 1
13
+ }) : i[a].type === 0 ? r[r.length - 1] = {
14
+ value: i[a].show + (i[a].show == "-" ? "" : "(") + r[r.length - 1].value + (i[a].show == "-" ? "" : ")"),
15
+ type: 0
16
+ } : i[a].type === 7 ? r[r.length - 1] = {
17
+ value: (r[r.length - 1].type == 1 ? "" : "(") + r[r.length - 1].value + (r[r.length - 1].type == 1 ? "" : ")") + i[a].show,
18
+ type: 7
19
+ } : i[a].type === 10 ? (e = r.pop(), t = r.pop(), i[a].show === "P" || i[a].show === "C" ? r.push({
20
+ value: "<sup>" + t.value + "</sup>" + i[a].show + "<sub>" + e.value + "</sub>",
21
+ type: 10
22
+ }) : r.push({
23
+ value: (t.type == 1 ? "" : "(") + t.value + (t.type == 1 ? "" : ")") + "<sup>" + e.value + "</sup>",
24
+ type: 1
25
+ })) : i[a].type === 2 || i[a].type === 9 ? (e = r.pop(), t = r.pop(), r.push({
26
+ value: (t.type == 1 ? "" : "(") + t.value + (t.type == 1 ? "" : ")") + i[a].show + (e.type == 1 ? "" : "(") + e.value + (e.type == 1 ? "" : ")"),
27
+ type: i[a].type
28
+ })) : i[a].type === 12 && (e = r.pop(), t = r.pop(), n = r.pop(), r.push({
29
+ value: i[a].show + "(" + n.value + "," + t.value + "," + e.value + ")",
30
+ type: 12
31
+ }));
32
+ return r[0].value;
33
+ }, n.exports = r;
34
+ }));
35
+ //#endregion
36
+ export default n();
37
+ export { n as require_formula_evaluator };