@synnaxlabs/pluto 0.24.0 → 0.25.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 (457) hide show
  1. package/dist/{Animated-DGp8qHGT.js → Animated-BpuQZROI.js} +3 -3
  2. package/dist/{Animated-Cbt7tqBk.cjs → Animated-DqAjXT8r.cjs} +1 -1
  3. package/dist/{Keyboard-HZ6Llqo5.js → Keyboard-BTyEk3pg.js} +3 -3
  4. package/dist/{Keyboard-BjnOIJ5V.cjs → Keyboard-GDYsV4-x.cjs} +1 -1
  5. package/dist/{LinePlot-Dw8vQLJw.js → LinePlot-CQAK-dkX.js} +4133 -3935
  6. package/dist/LinePlot-DnLLplw_.cjs +66 -0
  7. package/dist/{Link-j-xpQ9HD.js → Link-BrhOiMiE.js} +2 -2
  8. package/dist/Link-CpMcH9c1.cjs +1 -0
  9. package/dist/List-BS57aL1n.js +22 -0
  10. package/dist/{List-BX3MLMNz.cjs → List-Dux7qweq.cjs} +1 -1
  11. package/dist/{Pack-B5JX1aqf.js → Pack-CCCsIeot.js} +2 -2
  12. package/dist/{Pack-D93gFUU9.cjs → Pack-_i2cfPYc.cjs} +1 -1
  13. package/dist/{Toggle-Cq3FTFfq.js → Toggle-CpLFBHo7.js} +16471 -16522
  14. package/dist/Toggle-DlNzb7nt.cjs +143 -0
  15. package/dist/{Video-DIIo17du.js → Video-Bi9kFIHV.js} +2 -2
  16. package/dist/{Video-D382cbrn.cjs → Video-THwAEuOy.cjs} +1 -1
  17. package/dist/{aggregator-BIhLPgXc.js → aggregator-CoD5WrqU.js} +3687 -4501
  18. package/dist/aggregator-D47lwtdn.cjs +51 -0
  19. package/dist/align.cjs +1 -1
  20. package/dist/align.js +1 -1
  21. package/dist/button.cjs +1 -1
  22. package/dist/button.js +1 -1
  23. package/dist/color.cjs +1 -1
  24. package/dist/color.js +1 -1
  25. package/dist/css-CC1MhhH7.cjs +1 -0
  26. package/dist/css-Ce6IGevn.js +1042 -0
  27. package/dist/css.cjs +1 -1
  28. package/dist/css.js +2 -2
  29. package/dist/dropdown.cjs +1 -1
  30. package/dist/dropdown.js +1 -1
  31. package/dist/ether.cjs +1 -1
  32. package/dist/ether.js +9 -9
  33. package/dist/{external-DUeGQ4si.cjs → external-B7RXnD0a.cjs} +1 -1
  34. package/dist/{external-IpylADnr.cjs → external-B815mDB0.cjs} +1 -1
  35. package/dist/{external-DVg6hQ24.js → external-BxBMVx6g.js} +13 -14
  36. package/dist/{external-CZiW7AR4.js → external-C6v1z0ty.js} +24 -38
  37. package/dist/{external-CDZA7f7F.js → external-C8CIAjMj.js} +2 -2
  38. package/dist/external-CLwP0eXe.cjs +1 -0
  39. package/dist/{external-CFqe6ymi.cjs → external-CMk1k986.cjs} +1 -1
  40. package/dist/{external-DKxxR-uc.cjs → external-CUJXIrxM.cjs} +1 -1
  41. package/dist/{external-lDVnD7Yi.js → external-CXrgzQf5.js} +2 -2
  42. package/dist/external-Cv5GChi6.js +344 -0
  43. package/dist/{external-B5j7Ee09.cjs → external-DMYExlt2.cjs} +1 -1
  44. package/dist/{external-C3TJ5wKl.js → external-DQ4EhNBA.js} +12 -12
  45. package/dist/{external-CjjdhnS5.cjs → external-DRvtVPhp.cjs} +1 -1
  46. package/dist/{external-RIKGjo5R.js → external-DShO9063.js} +4 -4
  47. package/dist/external-DU5Xqqld.cjs +1 -0
  48. package/dist/{external-DvFgLm4v.js → external-D_WKlwCh.js} +42 -33
  49. package/dist/{external-CD2dFTTj.cjs → external-DjSiwSCE.cjs} +1 -1
  50. package/dist/{external-D9eq1UnF.cjs → external-Dm3eiIEN.cjs} +1 -1
  51. package/dist/external-Do75w1Zt.cjs +1 -0
  52. package/dist/{external-BCyTR9bj.cjs → external-DqnUE4mV.cjs} +1 -1
  53. package/dist/external-DyTzmzSc.js +93 -0
  54. package/dist/{external-B4-opRnY.js → external-NHkWeW29.js} +1 -1
  55. package/dist/{external-D6mqXF0b.js → external-NeMo53nv.js} +18 -19
  56. package/dist/{external-BJI4w1QU.js → external-e0OPlFyY.js} +5 -5
  57. package/dist/header.cjs +1 -1
  58. package/dist/header.js +1 -1
  59. package/dist/index.cjs +1 -1
  60. package/dist/index.js +4805 -4318
  61. package/dist/input.cjs +1 -1
  62. package/dist/input.js +1 -1
  63. package/dist/{jsx-runtime-DqxPLdyS.js → jsx-runtime-B6kdoens.js} +225 -214
  64. package/dist/jsx-runtime-Cek9Ww4S.cjs +30 -0
  65. package/dist/list.cjs +1 -1
  66. package/dist/list.js +1 -1
  67. package/dist/menu.cjs +1 -1
  68. package/dist/menu.js +1 -1
  69. package/dist/src/accordion/Accordion.d.ts +2 -2
  70. package/dist/src/aether/aether/aether.d.ts +5 -5
  71. package/dist/src/aether/main.d.ts +4 -4
  72. package/dist/src/aether/main.d.ts.map +1 -1
  73. package/dist/src/aether/test/test.d.ts +1 -1
  74. package/dist/src/aether/test/test.d.ts.map +1 -1
  75. package/dist/src/alamos/Provider.d.ts +3 -3
  76. package/dist/src/alamos/aether/alamos.d.ts +2 -2
  77. package/dist/src/alamos/aether/alamos.d.ts.map +1 -1
  78. package/dist/src/align/Center.d.ts +1 -1
  79. package/dist/src/align/Center.d.ts.map +1 -1
  80. package/dist/src/align/Pack.d.ts +1 -1
  81. package/dist/src/align/Pack.d.ts.map +1 -1
  82. package/dist/src/align/Space.d.ts +3 -3
  83. package/dist/src/align/Space.d.ts.map +1 -1
  84. package/dist/src/button/Button.d.ts +13 -11
  85. package/dist/src/button/Button.d.ts.map +1 -1
  86. package/dist/src/button/Icon.d.ts +2 -2
  87. package/dist/src/button/Link.d.ts +3 -3
  88. package/dist/src/button/Link.d.ts.map +1 -1
  89. package/dist/src/button/Toggle.d.ts +8 -8
  90. package/dist/src/button/color.d.ts +2 -2
  91. package/dist/src/button/color.d.ts.map +1 -1
  92. package/dist/src/channel/AliasProvider.d.ts +2 -2
  93. package/dist/src/channel/AliasProvider.d.ts.map +1 -1
  94. package/dist/src/channel/LinePlot.d.ts +8 -8
  95. package/dist/src/channel/Select.d.ts +2 -2
  96. package/dist/src/color/Picker/Picker.d.ts +2 -2
  97. package/dist/src/color/Swatch/Swatch.d.ts +4 -4
  98. package/dist/src/color/core/color.d.ts +7 -0
  99. package/dist/src/color/core/color.d.ts.map +1 -1
  100. package/dist/src/css/color.d.ts.map +1 -1
  101. package/dist/src/css/css.d.ts +4 -4
  102. package/dist/src/css/css.d.ts.map +1 -1
  103. package/dist/src/css/vars.d.ts.map +1 -1
  104. package/dist/src/dialog/use.d.ts.map +1 -1
  105. package/dist/src/divider/Divider.d.ts +1 -1
  106. package/dist/src/dropdown/Dropdown.d.ts +5 -5
  107. package/dist/src/dropdown/Dropdown.d.ts.map +1 -1
  108. package/dist/src/form/Field.d.ts +7 -7
  109. package/dist/src/form/Field.d.ts.map +1 -1
  110. package/dist/src/form/Form.d.ts +7 -7
  111. package/dist/src/form/Form.d.ts.map +1 -1
  112. package/dist/src/generic/Generic.d.ts +1 -1
  113. package/dist/src/generic/Generic.d.ts.map +1 -1
  114. package/dist/src/hardware/device/Select.d.ts +2 -2
  115. package/dist/src/haul/Haul.d.ts +20 -16
  116. package/dist/src/haul/Haul.d.ts.map +1 -1
  117. package/dist/src/header/Actions.d.ts +1 -1
  118. package/dist/src/header/ButtonTitle.d.ts +1 -1
  119. package/dist/src/header/Header.d.ts +2 -2
  120. package/dist/src/header/Title.d.ts +1 -1
  121. package/dist/src/hooks/effect.d.ts.map +1 -1
  122. package/dist/src/hooks/ref.d.ts +3 -3
  123. package/dist/src/hooks/ref.d.ts.map +1 -1
  124. package/dist/src/hooks/useCursorDrag/types.d.ts +1 -1
  125. package/dist/src/hooks/useCursorDrag/useCursorDrag.d.ts +2 -2
  126. package/dist/src/hooks/useDebouncedCallback.d.ts.map +1 -1
  127. package/dist/src/hooks/useFilter.d.ts +1 -1
  128. package/dist/src/hooks/useFilter.d.ts.map +1 -1
  129. package/dist/src/hooks/useRequiredContext.d.ts.map +1 -1
  130. package/dist/src/hooks/useResize.d.ts +1 -1
  131. package/dist/src/hooks/useResize.d.ts.map +1 -1
  132. package/dist/src/hooks/useTransforms.d.ts.map +1 -1
  133. package/dist/src/hooks/useUniqueKey.d.ts.map +1 -1
  134. package/dist/src/icon/Icon.d.ts +14 -0
  135. package/dist/src/icon/Icon.d.ts.map +1 -0
  136. package/dist/src/icon/index.d.ts +2 -0
  137. package/dist/src/icon/index.d.ts.map +1 -0
  138. package/dist/src/index.d.ts +2 -0
  139. package/dist/src/index.d.ts.map +1 -1
  140. package/dist/src/input/Date.d.ts +1 -1
  141. package/dist/src/input/Date.d.ts.map +1 -1
  142. package/dist/src/input/DateTime.d.ts +1 -1
  143. package/dist/src/input/DragButton.d.ts +3 -3
  144. package/dist/src/input/HelpText.d.ts +2 -2
  145. package/dist/src/input/Item.d.ts +2 -2
  146. package/dist/src/input/Numeric.d.ts +3 -3
  147. package/dist/src/input/Numeric.d.ts.map +1 -1
  148. package/dist/src/input/Switch.d.ts.map +1 -1
  149. package/dist/src/input/Text.d.ts +1 -1
  150. package/dist/src/input/Text.d.ts.map +1 -1
  151. package/dist/src/input/TextArea.d.ts +1 -1
  152. package/dist/src/input/Time.d.ts +2 -2
  153. package/dist/src/input/Time.d.ts.map +1 -1
  154. package/dist/src/input/types.d.ts +2 -2
  155. package/dist/src/list/Column.d.ts +6 -6
  156. package/dist/src/list/Column.d.ts.map +1 -1
  157. package/dist/src/list/Core.d.ts +4 -4
  158. package/dist/src/list/Core.d.ts.map +1 -1
  159. package/dist/src/list/Data.d.ts +5 -3
  160. package/dist/src/list/Data.d.ts.map +1 -1
  161. package/dist/src/list/Filter.d.ts +4 -4
  162. package/dist/src/list/Filter.d.ts.map +1 -1
  163. package/dist/src/list/Hover.d.ts +1 -1
  164. package/dist/src/list/Hover.d.ts.map +1 -1
  165. package/dist/src/list/Item.d.ts +3 -3
  166. package/dist/src/list/Item.d.ts.map +1 -1
  167. package/dist/src/list/List.d.ts +1 -1
  168. package/dist/src/list/List.d.ts.map +1 -1
  169. package/dist/src/list/Search.d.ts +3 -3
  170. package/dist/src/list/Search.d.ts.map +1 -1
  171. package/dist/src/list/Selector.d.ts +2 -2
  172. package/dist/src/list/Selector.d.ts.map +1 -1
  173. package/dist/src/list/types.d.ts.map +1 -1
  174. package/dist/src/list/useSelect.d.ts +1 -1
  175. package/dist/src/list/useSelect.d.ts.map +1 -1
  176. package/dist/src/memo/useMemoCompare.d.ts +1 -1
  177. package/dist/src/memo/useMemoCompare.d.ts.map +1 -1
  178. package/dist/src/menu/ContextMenu.d.ts +2 -2
  179. package/dist/src/menu/Item.d.ts +7 -7
  180. package/dist/src/menu/Item.d.ts.map +1 -1
  181. package/dist/src/menu/Menu.d.ts +2 -2
  182. package/dist/src/mock/MockGLBufferController.d.ts +1 -1
  183. package/dist/src/modal/Modal.d.ts +3 -3
  184. package/dist/src/modal/Modal.d.ts.map +1 -1
  185. package/dist/src/mosaic/Mosaic.d.ts +5 -4
  186. package/dist/src/mosaic/Mosaic.d.ts.map +1 -1
  187. package/dist/src/mosaic/tree.d.ts +2 -2
  188. package/dist/src/mosaic/tree.d.ts.map +1 -1
  189. package/dist/src/mosaic/types.d.ts +2 -2
  190. package/dist/src/mosaic/use.d.ts +1 -1
  191. package/dist/src/nav/Bar.d.ts +2 -2
  192. package/dist/src/nav/Bar.d.ts.map +1 -1
  193. package/dist/src/nav/Drawer.d.ts +3 -3
  194. package/dist/src/note/Note.d.ts +1 -1
  195. package/dist/src/note/Note.d.ts.map +1 -1
  196. package/dist/src/observe/use.d.ts.map +1 -1
  197. package/dist/src/os/Controls/Controls.d.ts +2 -2
  198. package/dist/src/os/Controls/Mac.d.ts +1 -1
  199. package/dist/src/os/Controls/Windows.d.ts +1 -1
  200. package/dist/src/os/Controls/types.d.ts +1 -1
  201. package/dist/src/os/use.d.ts.map +1 -1
  202. package/dist/src/pluto/Pluto.d.ts +8 -8
  203. package/dist/src/portal/Portal.d.ts +0 -1
  204. package/dist/src/portal/Portal.d.ts.map +1 -1
  205. package/dist/src/ranger/SelectLabel.d.ts +2 -2
  206. package/dist/src/ranger/TimeRangeChip.d.ts +2 -2
  207. package/dist/src/resize/Core.d.ts +1 -1
  208. package/dist/src/resize/Multiple.d.ts +2 -2
  209. package/dist/src/resize/Single.d.ts +2 -2
  210. package/dist/src/select/Button.d.ts +8 -8
  211. package/dist/src/select/Button.d.ts.map +1 -1
  212. package/dist/src/select/ClearButton.d.ts +1 -1
  213. package/dist/src/select/ClearButton.d.ts.map +1 -1
  214. package/dist/src/select/DataType.d.ts +1 -1
  215. package/dist/src/select/DataType.d.ts.map +1 -1
  216. package/dist/src/select/Direction.d.ts +2 -2
  217. package/dist/src/select/List.d.ts +3 -3
  218. package/dist/src/select/List.d.ts.map +1 -1
  219. package/dist/src/select/Multiple.d.ts +7 -7
  220. package/dist/src/select/Multiple.d.ts.map +1 -1
  221. package/dist/src/select/Single.d.ts +5 -5
  222. package/dist/src/select/Single.d.ts.map +1 -1
  223. package/dist/src/state/state.d.ts +1 -1
  224. package/dist/src/state/state.d.ts.map +1 -1
  225. package/dist/src/status/Aggregator.d.ts +4 -4
  226. package/dist/src/status/Circle.d.ts +2 -2
  227. package/dist/src/status/Notification.d.ts +3 -3
  228. package/dist/src/status/Text.d.ts +2 -2
  229. package/dist/src/status/Text.d.ts.map +1 -1
  230. package/dist/src/status/aether/aggregator.d.ts +3 -3
  231. package/dist/src/status/aether/aggregator.d.ts.map +1 -1
  232. package/dist/src/status/aether/types.d.ts +1 -1
  233. package/dist/src/steps/Steps.d.ts +2 -2
  234. package/dist/src/synnax/Provider.d.ts +2 -2
  235. package/dist/src/synnax/Provider.d.ts.map +1 -1
  236. package/dist/src/synnax/aether/provider.d.ts +14 -14
  237. package/dist/src/synnax/aether/provider.d.ts.map +1 -1
  238. package/dist/src/tabs/Selector.d.ts +3 -3
  239. package/dist/src/tabs/Tabs.d.ts +3 -3
  240. package/dist/src/tabs/types.d.ts +2 -2
  241. package/dist/src/tag/Tag.d.ts +3 -3
  242. package/dist/src/telem/Provider.d.ts +1 -1
  243. package/dist/src/telem/aether/context.d.ts +4 -4
  244. package/dist/src/telem/aether/context.d.ts.map +1 -1
  245. package/dist/src/telem/aether/factory.d.ts +1 -1
  246. package/dist/src/telem/aether/factory.d.ts.map +1 -1
  247. package/dist/src/telem/aether/noop.d.ts +1 -1
  248. package/dist/src/telem/aether/pipeline.d.ts +3 -3
  249. package/dist/src/telem/aether/pipeline.d.ts.map +1 -1
  250. package/dist/src/telem/aether/provider.d.ts +6 -6
  251. package/dist/src/telem/aether/remote.d.ts +3 -3
  252. package/dist/src/telem/aether/remote.d.ts.map +1 -1
  253. package/dist/src/telem/aether/static.d.ts +3 -3
  254. package/dist/src/telem/aether/telem.d.ts +3 -3
  255. package/dist/src/telem/aether/transformers.d.ts +3 -3
  256. package/dist/src/telem/aether/transformers.d.ts.map +1 -1
  257. package/dist/src/telem/client/cache/cache.d.ts +3 -3
  258. package/dist/src/telem/client/cache/static.d.ts +1 -1
  259. package/dist/src/telem/client/cache/unary.d.ts +3 -3
  260. package/dist/src/telem/client/client.d.ts +4 -5
  261. package/dist/src/telem/client/client.d.ts.map +1 -1
  262. package/dist/src/telem/client/reader.d.ts +4 -4
  263. package/dist/src/telem/client/streamer.d.ts +4 -4
  264. package/dist/src/telem/client/types.d.ts +1 -1
  265. package/dist/src/telem/control/Chip.d.ts +3 -3
  266. package/dist/src/telem/control/Chip.d.ts.map +1 -1
  267. package/dist/src/telem/control/Controller.d.ts +4 -4
  268. package/dist/src/telem/control/Indicator.d.ts +3 -3
  269. package/dist/src/telem/control/Legend.d.ts +1 -1
  270. package/dist/src/telem/control/Legend.d.ts.map +1 -1
  271. package/dist/src/telem/control/StateProvider.d.ts +3 -3
  272. package/dist/src/telem/control/aether/chip.d.ts +3 -3
  273. package/dist/src/telem/control/aether/controller.d.ts +8 -8
  274. package/dist/src/telem/control/aether/controller.d.ts.map +1 -1
  275. package/dist/src/telem/control/aether/indicator.d.ts +3 -3
  276. package/dist/src/telem/control/aether/legend.d.ts +3 -3
  277. package/dist/src/telem/control/aether/state.d.ts +5 -5
  278. package/dist/src/telem/test/mock.d.ts +2 -2
  279. package/dist/src/testutil/dom.d.ts.map +1 -1
  280. package/dist/src/text/DateTime.d.ts +5 -5
  281. package/dist/src/text/DateTime.d.ts.map +1 -1
  282. package/dist/src/text/Editable.d.ts +7 -10
  283. package/dist/src/text/Editable.d.ts.map +1 -1
  284. package/dist/src/text/Keyboard.d.ts +3 -3
  285. package/dist/src/text/Keyboard.d.ts.map +1 -1
  286. package/dist/src/text/Link.d.ts +3 -3
  287. package/dist/src/text/Link.d.ts.map +1 -1
  288. package/dist/src/text/SelectLevel.d.ts +2 -2
  289. package/dist/src/text/Text.d.ts +4 -4
  290. package/dist/src/text/Text.d.ts.map +1 -1
  291. package/dist/src/text/WithIcon.d.ts +5 -5
  292. package/dist/src/text/WithIcon.d.ts.map +1 -1
  293. package/dist/src/text/core/types.d.ts +1 -1
  294. package/dist/src/text/dimensions.d.ts.map +1 -1
  295. package/dist/src/theming/Provider.d.ts +4 -4
  296. package/dist/src/theming/Provider.d.ts.map +1 -1
  297. package/dist/src/theming/aether/provider.d.ts +2 -2
  298. package/dist/src/theming/aether/provider.d.ts.map +1 -1
  299. package/dist/src/theming/core/fontString.d.ts +2 -2
  300. package/dist/src/theming/core/fontString.d.ts.map +1 -1
  301. package/dist/src/theming/core/theme.d.ts +1 -1
  302. package/dist/src/theming/css.d.ts.map +1 -1
  303. package/dist/src/theming/font.d.ts.map +1 -1
  304. package/dist/src/tooltip/Config.d.ts +1 -1
  305. package/dist/src/tooltip/Dialog.d.ts +2 -2
  306. package/dist/src/tooltip/Dialog.d.ts.map +1 -1
  307. package/dist/src/tooltip/wrap.d.ts +1 -1
  308. package/dist/src/tooltip/wrap.d.ts.map +1 -1
  309. package/dist/src/tree/Tree.d.ts +14 -14
  310. package/dist/src/tree/Tree.d.ts.map +1 -1
  311. package/dist/src/tree/core.d.ts +1 -1
  312. package/dist/src/triggers/Provider.d.ts +2 -2
  313. package/dist/src/triggers/Status.d.ts +1 -1
  314. package/dist/src/triggers/Text.d.ts +4 -4
  315. package/dist/src/triggers/Text.d.ts.map +1 -1
  316. package/dist/src/triggers/hooks.d.ts +3 -3
  317. package/dist/src/triggers/hooks.d.ts.map +1 -1
  318. package/dist/src/triggers/triggers.d.ts +2 -2
  319. package/dist/src/triggers/triggers.d.ts.map +1 -1
  320. package/dist/src/triggers/useDrag.d.ts +2 -2
  321. package/dist/src/util/children.d.ts +2 -2
  322. package/dist/src/util/children.d.ts.map +1 -1
  323. package/dist/src/util/component.d.ts +1 -1
  324. package/dist/src/util/component.d.ts.map +1 -1
  325. package/dist/src/util/renderProp.d.ts +1 -1
  326. package/dist/src/util/renderProp.d.ts.map +1 -1
  327. package/dist/src/util/zod.d.ts.map +1 -1
  328. package/dist/src/viewport/Mask.d.ts.map +1 -1
  329. package/dist/src/viewport/SelectMode.d.ts +2 -2
  330. package/dist/src/viewport/use.d.ts +3 -3
  331. package/dist/src/vis/axis/axis.d.ts +3 -3
  332. package/dist/src/vis/axis/canvas.d.ts +2 -2
  333. package/dist/src/vis/axis/ticks.d.ts +1 -1
  334. package/dist/src/vis/button/aether/button.d.ts +2 -2
  335. package/dist/src/vis/button/use.d.ts +1 -1
  336. package/dist/src/vis/canvas/Canvas.d.ts +2 -2
  337. package/dist/src/vis/canvas/Canvas.d.ts.map +1 -1
  338. package/dist/src/vis/canvas/aether/canvas.d.ts +25 -25
  339. package/dist/src/vis/diagram/Diagram.d.ts +6 -6
  340. package/dist/src/vis/diagram/Diagram.d.ts.map +1 -1
  341. package/dist/src/vis/diagram/aether/Diagram.d.ts +41 -41
  342. package/dist/src/vis/diagram/aether/Diagram.d.ts.map +1 -1
  343. package/dist/src/vis/diagram/aether/types.d.ts +331 -0
  344. package/dist/src/vis/diagram/aether/types.d.ts.map +1 -0
  345. package/dist/src/vis/diagram/align.d.ts +1 -1
  346. package/dist/src/vis/diagram/align.d.ts.map +1 -1
  347. package/dist/src/vis/diagram/edge/Edge.d.ts +4 -4
  348. package/dist/src/vis/diagram/edge/Edge.d.ts.map +1 -1
  349. package/dist/src/vis/diagram/edge/connector/connector.d.ts +12 -4
  350. package/dist/src/vis/diagram/edge/connector/connector.d.ts.map +1 -1
  351. package/dist/src/vis/diagram/external.d.ts +1 -1
  352. package/dist/src/vis/diagram/external.d.ts.map +1 -1
  353. package/dist/src/vis/diagram/util.d.ts +1 -1
  354. package/dist/src/vis/diagram/util.d.ts.map +1 -1
  355. package/dist/src/vis/draw2d/index.d.ts +4 -4
  356. package/dist/src/vis/eraser/aether/eraser.d.ts +26 -26
  357. package/dist/src/vis/eraser/use.d.ts +2 -2
  358. package/dist/src/vis/legend/Container.d.ts +20 -20
  359. package/dist/src/vis/legend/Container.d.ts.map +1 -1
  360. package/dist/src/vis/legend/Simple.d.ts +2 -2
  361. package/dist/src/vis/line/Line.d.ts +2 -2
  362. package/dist/src/vis/line/Line.d.ts.map +1 -1
  363. package/dist/src/vis/line/aether/line.d.ts +8 -7
  364. package/dist/src/vis/line/aether/line.d.ts.map +1 -1
  365. package/dist/src/vis/lineplot/Axis.d.ts +5 -5
  366. package/dist/src/vis/lineplot/Axis.d.ts.map +1 -1
  367. package/dist/src/vis/lineplot/Legend.d.ts +2 -2
  368. package/dist/src/vis/lineplot/Line.d.ts +1 -1
  369. package/dist/src/vis/lineplot/Line.d.ts.map +1 -1
  370. package/dist/src/vis/lineplot/LinePlot.d.ts +7 -7
  371. package/dist/src/vis/lineplot/LinePlot.d.ts.map +1 -1
  372. package/dist/src/vis/lineplot/Title.d.ts +2 -2
  373. package/dist/src/vis/lineplot/Title.d.ts.map +1 -1
  374. package/dist/src/vis/lineplot/Viewport.d.ts +1 -1
  375. package/dist/src/vis/lineplot/aether/LinePlot.d.ts +57 -57
  376. package/dist/src/vis/lineplot/aether/LinePlot.d.ts.map +1 -1
  377. package/dist/src/vis/lineplot/aether/XAxis.d.ts +4 -3
  378. package/dist/src/vis/lineplot/aether/XAxis.d.ts.map +1 -1
  379. package/dist/src/vis/lineplot/aether/YAxis.d.ts +5 -4
  380. package/dist/src/vis/lineplot/aether/YAxis.d.ts.map +1 -1
  381. package/dist/src/vis/lineplot/aether/axis.d.ts +6 -6
  382. package/dist/src/vis/lineplot/aether/axis.d.ts.map +1 -1
  383. package/dist/src/vis/lineplot/aether/grid.d.ts +1 -1
  384. package/dist/src/vis/lineplot/aether/grid.d.ts.map +1 -1
  385. package/dist/src/vis/lineplot/range/Annotation.d.ts +2 -2
  386. package/dist/src/vis/lineplot/range/Annotation.d.ts.map +1 -1
  387. package/dist/src/vis/lineplot/range/Provider.d.ts +2 -2
  388. package/dist/src/vis/lineplot/range/Provider.d.ts.map +1 -1
  389. package/dist/src/vis/lineplot/range/aether/annotation.d.ts +4 -4
  390. package/dist/src/vis/lineplot/range/aether/provider.d.ts +19 -19
  391. package/dist/src/vis/lineplot/tooltip/Tooltip.d.ts +2 -2
  392. package/dist/src/vis/lineplot/tooltip/Tooltip.d.ts.map +1 -1
  393. package/dist/src/vis/lineplot/tooltip/aether/tooltip.d.ts +6 -6
  394. package/dist/src/vis/measure/Measure.d.ts +1 -2
  395. package/dist/src/vis/measure/Measure.d.ts.map +1 -1
  396. package/dist/src/vis/measure/aether/measure.d.ts +7 -7
  397. package/dist/src/vis/render/GLProgram.d.ts +2 -2
  398. package/dist/src/vis/render/clear/program.d.ts +1 -1
  399. package/dist/src/vis/render/context.d.ts +4 -7
  400. package/dist/src/vis/render/context.d.ts.map +1 -1
  401. package/dist/src/vis/render/eraser.d.ts +3 -3
  402. package/dist/src/vis/render/performance.d.ts +11 -0
  403. package/dist/src/vis/render/performance.d.ts.map +1 -0
  404. package/dist/src/vis/render/util.d.ts.map +1 -1
  405. package/dist/src/vis/rule/Rule.d.ts +2 -2
  406. package/dist/src/vis/rule/Rule.d.ts.map +1 -1
  407. package/dist/src/vis/rule/aether/aether.d.ts +5 -5
  408. package/dist/src/vis/schematic/Forms.d.ts +1 -0
  409. package/dist/src/vis/schematic/Forms.d.ts.map +1 -1
  410. package/dist/src/vis/schematic/Labeled.d.ts +2 -2
  411. package/dist/src/vis/schematic/Labeled.d.ts.map +1 -1
  412. package/dist/src/vis/schematic/SelectOrientation.d.ts +3 -3
  413. package/dist/src/vis/schematic/Symbols.d.ts +113 -19
  414. package/dist/src/vis/schematic/Symbols.d.ts.map +1 -1
  415. package/dist/src/vis/schematic/primitives/Primitives.d.ts +27 -3
  416. package/dist/src/vis/schematic/primitives/Primitives.d.ts.map +1 -1
  417. package/dist/src/vis/schematic/registry.d.ts +5 -6
  418. package/dist/src/vis/schematic/registry.d.ts.map +1 -1
  419. package/dist/src/vis/toggle/aether/toggle.d.ts +5 -5
  420. package/dist/src/vis/toggle/use.d.ts +1 -1
  421. package/dist/src/vis/value/aether/value.d.ts +43 -43
  422. package/dist/src/vis/value/use.d.ts +12 -12
  423. package/dist/src/worker/Context.d.ts +1 -1
  424. package/dist/src/worker/Context.d.ts.map +1 -1
  425. package/dist/style.css +1 -1
  426. package/dist/tabs.cjs +1 -1
  427. package/dist/tabs.js +1 -1
  428. package/dist/text.cjs +1 -1
  429. package/dist/text.js +2 -2
  430. package/dist/theming.cjs +1 -1
  431. package/dist/theming.js +2 -2
  432. package/dist/tree.cjs +1 -1
  433. package/dist/tree.js +1 -1
  434. package/dist/triggers.cjs +1 -1
  435. package/dist/triggers.js +1 -1
  436. package/dist/{units-MTRY0KtD.cjs → units-CoE6Mywf.cjs} +1 -1
  437. package/dist/{units-DeLVJ01P.js → units-DlP7zkaE.js} +1 -1
  438. package/dist/video.cjs +1 -1
  439. package/dist/video.js +1 -1
  440. package/package.json +23 -24
  441. package/dist/LinePlot-tnVASicV.cjs +0 -66
  442. package/dist/Link-CmzvCQDi.cjs +0 -1
  443. package/dist/List-BlgM15Pf.js +0 -22
  444. package/dist/Toggle-BvWOTk9-.cjs +0 -188
  445. package/dist/aggregator-CaPKb9Zv.cjs +0 -51
  446. package/dist/css-BNL3vU5o.cjs +0 -1
  447. package/dist/css-CDB-JY4S.js +0 -1370
  448. package/dist/external-BK0QWtit.cjs +0 -1
  449. package/dist/external-CRbJq-i4.js +0 -92
  450. package/dist/external-jSb_axxw.js +0 -346
  451. package/dist/external-v3jmKHoB.cjs +0 -1
  452. package/dist/external-zDAAJJHM.cjs +0 -1
  453. package/dist/jsx-runtime-fmb_vB8K.cjs +0 -25
  454. package/dist/src/util/case.d.ts +0 -2
  455. package/dist/src/util/case.d.ts.map +0 -1
  456. package/dist/src/vis/diagram/types.d.ts +0 -73
  457. package/dist/src/vis/diagram/types.d.ts.map +0 -1
@@ -1,1370 +0,0 @@
1
- var Gt = Object.defineProperty;
2
- var Jt = (t, e, r) => e in t ? Gt(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r;
3
- var N = (t, e, r) => (Jt(t, typeof e != "symbol" ? e + "" : e, r), r);
4
- import { z as u } from "zod";
5
- const ue = u.tuple([u.number(), u.number()]);
6
- u.tuple([u.bigint(), u.bigint()]);
7
- const ze = u.object({ width: u.number(), height: u.number() }), Qt = u.object({
8
- signedWidth: u.number(),
9
- signedHeight: u.number()
10
- }), er = ["width", "height"];
11
- u.enum(er);
12
- const tr = ["start", "center", "end"], rr = ["signedWidth", "signedHeight"];
13
- u.enum(rr);
14
- const K = u.object({ x: u.number(), y: u.number() }), it = u.object({ clientX: u.number(), clientY: u.number() }), Se = ["x", "y"], Ee = u.enum(Se), at = ["top", "right", "bottom", "left"], nr = u.enum(at), le = ["left", "right"], Ie = u.enum(le), ce = ["top", "bottom"], Ze = u.enum(ce), ke = ["center"], rt = u.enum(ke), or = [...at, ...ke], Le = u.enum(or), Io = u.enum(tr), sr = ["first", "last"], Zo = u.enum(sr), ut = u.object({ lower: u.number(), upper: u.number() }), ir = u.object({ lower: u.bigint(), upper: u.bigint() });
15
- u.union([ut, ue]);
16
- u.union([ir, ue]);
17
- const ar = u.union([Ee, Le]), ur = u.union([Ee, Le, u.instanceof(String)]), Be = (t, e) => typeof t == "bigint" ? t - BigInt(e) : t - Number(e), lt = (t, e) => typeof t == "bigint" ? t + BigInt(e) : t + Number(e), lr = (t, e, r = 1e-4) => Math.abs(t - e) < r, cr = (t) => {
18
- const e = Math.pow(10, Math.floor(Math.log10(t)));
19
- return Math.round(t / e) * e;
20
- }, ko = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
21
- __proto__: null,
22
- add: lt,
23
- closeTo: lr,
24
- roundToNearestMagnitude: cr,
25
- sub: Be
26
- }, Symbol.toStringTag, { value: "Module" })), p = (t, e) => {
27
- const r = {};
28
- if (typeof t == "number" || typeof t == "bigint")
29
- e != null ? (r.lower = t, r.upper = e) : (r.lower = typeof t == "bigint" ? 0n : 0, r.upper = t);
30
- else if (Array.isArray(t)) {
31
- if (t.length !== 2)
32
- throw new Error("bounds: expected array of length 2");
33
- [r.lower, r.upper] = t;
34
- } else
35
- return $e(t);
36
- return $e(r);
37
- }, pr = Object.freeze({ lower: 0, upper: 0 }), dr = Object.freeze({ lower: -1 / 0, upper: 1 / 0 }), yr = Object.freeze({ lower: 0, upper: 1 }), fr = Object.freeze({ lower: -1, upper: 1 }), hr = (t, e) => {
38
- if (t == null && e == null)
39
- return !0;
40
- if (t == null || e == null)
41
- return !1;
42
- const r = p(t), n = p(e);
43
- return (r == null ? void 0 : r.lower) === (n == null ? void 0 : n.lower) && (r == null ? void 0 : r.upper) === (n == null ? void 0 : n.upper);
44
- }, $e = (t) => t.lower > t.upper ? { lower: t.upper, upper: t.lower } : t, gr = (t, e) => {
45
- const r = p(t);
46
- return e < r.lower ? r.lower : e >= r.upper ? r.upper - (typeof r.upper == "number" ? 1 : 1n) : e;
47
- }, Z = (t, e) => {
48
- const r = p(t);
49
- if (typeof e == "number" || typeof e == "bigint")
50
- return e >= r.lower && e < r.upper;
51
- const n = p(e);
52
- return n.lower >= r.lower && n.upper <= r.upper;
53
- }, br = (t, e) => {
54
- const r = p(t), n = p(e);
55
- return r.lower === n.lower ? !0 : n.upper === r.lower || n.lower === r.upper ? !1 : Z(r, n.upper) || Z(r, n.lower) || Z(n, r.upper) || Z(n, r.lower);
56
- }, pe = (t) => {
57
- const e = p(t);
58
- return e.upper - e.lower;
59
- }, mr = (t) => {
60
- const e = p(t);
61
- return typeof e.lower == "bigint" ? e.lower === 0n && e.upper === 0n : e.lower === 0 && e.upper === 0;
62
- }, xr = (t) => pe(t) === 0, wr = (t) => {
63
- const e = p(t);
64
- return Number.isFinite(e.lower) && Number.isFinite(e.upper);
65
- }, vr = (t) => ({
66
- lower: Math.min(...t.map((e) => p(e).lower)),
67
- upper: Math.max(...t.map((e) => p(e).upper))
68
- }), $r = (t) => ({
69
- lower: Math.max(...t.map((e) => p(e).lower)),
70
- upper: Math.min(...t.map((e) => p(e).upper))
71
- }), Or = (t) => {
72
- const e = p(t), r = typeof e.lower == "bigint";
73
- return Array.from({ length: Number(pe(t)) }, (n, o) => r ? e.lower + BigInt(o) : e.lower + o);
74
- }, Oe = (t, e) => {
75
- const r = t.map((s) => p(s)), n = r.findIndex(
76
- (s, i) => Z(s, e) || e < r[i].lower
77
- );
78
- if (n === -1)
79
- return { index: t.length, position: 0 };
80
- const o = r[n];
81
- return Z(o, e) ? { index: n, position: Number(e - o.lower) } : { index: n, position: 0 };
82
- }, we = {
83
- removeBefore: 0,
84
- removeAfter: 0,
85
- insertInto: 0,
86
- deleteInBetween: 0
87
- }, ct = (t, e) => {
88
- const r = t.map((f) => p(f)), n = p(e);
89
- if (r.length === 0)
90
- return we;
91
- const o = Oe(r, n.lower), s = Oe(r, n.upper);
92
- if (o.index === t.length)
93
- return { ...we, insertInto: t.length };
94
- if (s.index === 0)
95
- return { ...we, removeAfter: s.position };
96
- if (o.index === s.index)
97
- return o.position !== 0 && s.position !== 0 ? null : {
98
- removeAfter: s.position,
99
- removeBefore: o.position,
100
- insertInto: o.index,
101
- deleteInBetween: 0
102
- };
103
- let i = s.index - o.index, a = o.index, c = Be(Number(pe(r[o.index])), o.position);
104
- return o.position !== 0 ? (i -= 1, a += 1) : c = 0, {
105
- removeBefore: c,
106
- removeAfter: s.position,
107
- insertInto: a,
108
- deleteInBetween: i
109
- };
110
- }, jr = (t, e) => {
111
- const r = ct(t, e), n = t.map((s) => p(s));
112
- if (r == null)
113
- return n;
114
- const o = p(e);
115
- return o.lower = lt(o.lower, r.removeBefore), o.upper = Be(o.upper, r.removeAfter), n.splice(r.insertInto, r.deleteInBetween, o), n;
116
- }, Lo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
117
- __proto__: null,
118
- CLIP: fr,
119
- DECIMAL: yr,
120
- INFINITE: dr,
121
- ZERO: pr,
122
- bounds: ut,
123
- buildInsertionPlan: ct,
124
- clamp: gr,
125
- construct: p,
126
- contains: Z,
127
- equals: hr,
128
- findInsertPosition: Oe,
129
- insert: jr,
130
- isFinite: wr,
131
- isZero: mr,
132
- linspace: Or,
133
- makeValid: $e,
134
- max: vr,
135
- min: $r,
136
- overlapsWith: br,
137
- span: pe,
138
- spanIsZero: xr
139
- }, Symbol.toStringTag, { value: "Module" })), pt = ar, E = (t) => Se.includes(t) ? t : ce.includes(t) ? "y" : "x", Ar = (t) => E(t) === "x" ? "y" : "x", Tr = (t) => E(t) === "x" ? "width" : "height", Cr = (t) => E(t) === "x" ? "left" : "top", Mr = (t) => pt.safeParse(t).success, _r = (t) => E(t) === "x" ? "signedWidth" : "signedHeight", zr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
140
- __proto__: null,
141
- construct: E,
142
- crude: pt,
143
- dimension: Tr,
144
- direction: Ee,
145
- isDirection: Mr,
146
- location: Cr,
147
- signedDimension: _r,
148
- swap: Ar
149
- }, Symbol.toStringTag, { value: "Module" }));
150
- var h = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, l = {}, de = {};
151
- Object.defineProperty(de, "__esModule", { value: !0 });
152
- function Sr(t) {
153
- return t === void 0 && (t = ""), t ? String(t).replace(/^[^A-Za-z0-9]*|[^A-Za-z0-9]*$/g, "").replace(/[^A-Za-z0-9]+/g, "$").replace(/([a-z])([A-Z])/g, function(e, r, n) {
154
- return r + "$" + n;
155
- }).toLowerCase().replace(/(\$)(\w)/g, function(e, r, n) {
156
- return n.toUpperCase();
157
- }) : "";
158
- }
159
- de.default = Sr;
160
- var ye = {};
161
- Object.defineProperty(ye, "__esModule", { value: !0 });
162
- function Er(t) {
163
- return t === void 0 && (t = ""), t ? String(t).replace(/^[^A-Za-z0-9]*|[^A-Za-z0-9]*$/g, "").replace(/([a-z])([A-Z])/g, function(e, r, n) {
164
- return r + "_" + n.toLowerCase();
165
- }).replace(/[^A-Za-z0-9]+|_+/g, "_").toLowerCase() : "";
166
- }
167
- ye.default = Er;
168
- var fe = {};
169
- Object.defineProperty(fe, "__esModule", { value: !0 });
170
- function Ir(t) {
171
- return t === void 0 && (t = ""), t ? String(t).replace(/^[^A-Za-z0-9]*|[^A-Za-z0-9]*$/g, "$").replace(/[^A-Za-z0-9]+/g, "$").replace(/([a-z])([A-Z])/g, function(e, r, n) {
172
- return r + "$" + n;
173
- }).toLowerCase().replace(/(\$)(\w?)/g, function(e, r, n) {
174
- return n.toUpperCase();
175
- }) : "";
176
- }
177
- fe.default = Ir;
178
- var Re = {};
179
- Object.defineProperty(Re, "__esModule", { value: !0 });
180
- function Zr(t) {
181
- return t === void 0 && (t = ""), t ? String(t).replace(/^[^A-Za-z0-9]*|[^A-Za-z0-9]*$/g, "").replace(/([a-z])([A-Z])/g, function(e, r, n) {
182
- return r + "_" + n.toLowerCase();
183
- }).replace(/[^A-Za-z0-9]+|_+/g, ".").toLowerCase() : "";
184
- }
185
- Re.default = Zr;
186
- var Ne = {};
187
- Object.defineProperty(Ne, "__esModule", { value: !0 });
188
- function kr(t) {
189
- return t === void 0 && (t = ""), t ? String(t).replace(/^[^A-Za-z0-9]*|[^A-Za-z0-9]*$/g, "").replace(/([a-z])([A-Z])/g, function(e, r, n) {
190
- return r + "_" + n.toLowerCase();
191
- }).replace(/[^A-Za-z0-9]+|_+/g, "/").toLowerCase() : "";
192
- }
193
- Ne.default = kr;
194
- var Pe = {};
195
- Object.defineProperty(Pe, "__esModule", { value: !0 });
196
- function Lr(t) {
197
- return t === void 0 && (t = ""), t ? String(t).replace(/^[^A-Za-z0-9]*|[^A-Za-z0-9]*$/g, "").replace(/([a-z])([A-Z])/g, function(e, r, n) {
198
- return r + "_" + n.toLowerCase();
199
- }).replace(/[^A-Za-z0-9]+|_+/g, " ").toLowerCase() : "";
200
- }
201
- Pe.default = Lr;
202
- var De = {};
203
- Object.defineProperty(De, "__esModule", { value: !0 });
204
- function Br(t) {
205
- if (t === void 0 && (t = ""), !t)
206
- return "";
207
- var e = String(t).replace(/^[^A-Za-z0-9]*|[^A-Za-z0-9]*$/g, "").replace(/([a-z])([A-Z])/g, function(r, n, o) {
208
- return n + "_" + o.toLowerCase();
209
- }).replace(/[^A-Za-z0-9]+|_+/g, " ").toLowerCase();
210
- return e.charAt(0).toUpperCase() + e.slice(1);
211
- }
212
- De.default = Br;
213
- var Ve = {};
214
- Object.defineProperty(Ve, "__esModule", { value: !0 });
215
- function Rr(t) {
216
- return t === void 0 && (t = ""), t ? String(t).replace(/^[^A-Za-z0-9]*|[^A-Za-z0-9]*$/g, "").replace(/([a-z])([A-Z])/g, function(e, r, n) {
217
- return r + "_" + n.toLowerCase();
218
- }).replace(/[^A-Za-z0-9]+|_+/g, " ").toLowerCase().replace(/( ?)(\w+)( ?)/g, function(e, r, n, o) {
219
- return r + n.charAt(0).toUpperCase() + n.slice(1) + o;
220
- }) : "";
221
- }
222
- Ve.default = Rr;
223
- var he = {};
224
- Object.defineProperty(he, "__esModule", { value: !0 });
225
- function Nr(t) {
226
- return t === void 0 && (t = ""), t ? String(t).replace(/^[^A-Za-z0-9]*|[^A-Za-z0-9]*$/g, "").replace(/([a-z])([A-Z])/g, function(e, r, n) {
227
- return r + "_" + n.toLowerCase();
228
- }).replace(/[^A-Za-z0-9]+|_+/g, "-").toLowerCase() : "";
229
- }
230
- he.default = Nr;
231
- var Ke = {}, R = {};
232
- (function(t) {
233
- Object.defineProperty(t, "__esModule", { value: !0 }), t.belongToTypes = t.isValidObject = t.isArrayObject = t.validateOptions = t.DefaultOption = void 0, t.DefaultOption = {
234
- recursive: !1,
235
- recursiveInArray: !1,
236
- keepTypesOnRecursion: []
237
- }, t.validateOptions = function(e) {
238
- return e === void 0 && (e = t.DefaultOption), e.recursive == null ? e = t.DefaultOption : e.recursiveInArray == null && (e.recursiveInArray = !1), e;
239
- }, t.isArrayObject = function(e) {
240
- return e != null && Array.isArray(e);
241
- }, t.isValidObject = function(e) {
242
- return e != null && typeof e == "object" && !Array.isArray(e);
243
- }, t.belongToTypes = function(e, r) {
244
- return (r || []).some(function(n) {
245
- return e instanceof n;
246
- });
247
- };
248
- })(R);
249
- var Pr = h && h.__spreadArrays || function() {
250
- for (var t = 0, e = 0, r = arguments.length; e < r; e++)
251
- t += arguments[e].length;
252
- for (var n = Array(t), o = 0, e = 0; e < r; e++)
253
- for (var s = arguments[e], i = 0, a = s.length; i < a; i++, o++)
254
- n[o] = s[i];
255
- return n;
256
- };
257
- Object.defineProperty(Ke, "__esModule", { value: !0 });
258
- var m = R;
259
- function G(t, e) {
260
- if (e === void 0 && (e = m.DefaultOption), !m.isValidObject(t))
261
- return null;
262
- e = m.validateOptions(e);
263
- var r = {};
264
- return Object.keys(t).forEach(function(n) {
265
- var o = t[n], s = n.toLowerCase();
266
- e.recursive && (m.isValidObject(o) ? m.belongToTypes(o, e.keepTypesOnRecursion) || (o = G(o, e)) : e.recursiveInArray && m.isArrayObject(o) && (o = Pr(o).map(function(i) {
267
- var a = i;
268
- if (m.isValidObject(i))
269
- m.belongToTypes(a, e.keepTypesOnRecursion) || (a = G(i, e));
270
- else if (m.isArrayObject(i)) {
271
- var c = G({ key: i }, e);
272
- a = c.key;
273
- }
274
- return a;
275
- }))), r[s] = o;
276
- }), r;
277
- }
278
- Ke.default = G;
279
- var He = {}, Dr = h && h.__spreadArrays || function() {
280
- for (var t = 0, e = 0, r = arguments.length; e < r; e++)
281
- t += arguments[e].length;
282
- for (var n = Array(t), o = 0, e = 0; e < r; e++)
283
- for (var s = arguments[e], i = 0, a = s.length; i < a; i++, o++)
284
- n[o] = s[i];
285
- return n;
286
- };
287
- Object.defineProperty(He, "__esModule", { value: !0 });
288
- var x = R;
289
- function J(t, e) {
290
- if (e === void 0 && (e = x.DefaultOption), !x.isValidObject(t))
291
- return null;
292
- e = x.validateOptions(e);
293
- var r = {};
294
- return Object.keys(t).forEach(function(n) {
295
- var o = t[n], s = n.toUpperCase();
296
- e.recursive && (x.isValidObject(o) ? x.belongToTypes(o, e.keepTypesOnRecursion) || (o = J(o, e)) : e.recursiveInArray && x.isArrayObject(o) && (o = Dr(o).map(function(i) {
297
- var a = i;
298
- if (x.isValidObject(i))
299
- x.belongToTypes(a, e.keepTypesOnRecursion) || (a = J(i, e));
300
- else if (x.isArrayObject(i)) {
301
- var c = J({ key: i }, e);
302
- a = c.key;
303
- }
304
- return a;
305
- }))), r[s] = o;
306
- }), r;
307
- }
308
- He.default = J;
309
- var Ye = {}, Vr = h && h.__spreadArrays || function() {
310
- for (var t = 0, e = 0, r = arguments.length; e < r; e++)
311
- t += arguments[e].length;
312
- for (var n = Array(t), o = 0, e = 0; e < r; e++)
313
- for (var s = arguments[e], i = 0, a = s.length; i < a; i++, o++)
314
- n[o] = s[i];
315
- return n;
316
- };
317
- Object.defineProperty(Ye, "__esModule", { value: !0 });
318
- var w = R, Kr = de;
319
- function Q(t, e) {
320
- if (e === void 0 && (e = w.DefaultOption), !w.isValidObject(t))
321
- return null;
322
- e = w.validateOptions(e);
323
- var r = {};
324
- return Object.keys(t).forEach(function(n) {
325
- var o = t[n], s = Kr.default(n);
326
- e.recursive && (w.isValidObject(o) ? w.belongToTypes(o, e.keepTypesOnRecursion) || (o = Q(o, e)) : e.recursiveInArray && w.isArrayObject(o) && (o = Vr(o).map(function(i) {
327
- var a = i;
328
- if (w.isValidObject(i))
329
- w.belongToTypes(a, e.keepTypesOnRecursion) || (a = Q(i, e));
330
- else if (w.isArrayObject(i)) {
331
- var c = Q({ key: i }, e);
332
- a = c.key;
333
- }
334
- return a;
335
- }))), r[s] = o;
336
- }), r;
337
- }
338
- Ye.default = Q;
339
- var Fe = {}, Hr = h && h.__spreadArrays || function() {
340
- for (var t = 0, e = 0, r = arguments.length; e < r; e++)
341
- t += arguments[e].length;
342
- for (var n = Array(t), o = 0, e = 0; e < r; e++)
343
- for (var s = arguments[e], i = 0, a = s.length; i < a; i++, o++)
344
- n[o] = s[i];
345
- return n;
346
- };
347
- Object.defineProperty(Fe, "__esModule", { value: !0 });
348
- var v = R, Yr = ye;
349
- function ee(t, e) {
350
- if (e === void 0 && (e = v.DefaultOption), !v.isValidObject(t))
351
- return null;
352
- e = v.validateOptions(e);
353
- var r = {};
354
- return Object.keys(t).forEach(function(n) {
355
- var o = t[n], s = Yr.default(n);
356
- e.recursive && (v.isValidObject(o) ? v.belongToTypes(o, e.keepTypesOnRecursion) || (o = ee(o, e)) : e.recursiveInArray && v.isArrayObject(o) && (o = Hr(o).map(function(i) {
357
- var a = i;
358
- if (v.isValidObject(i))
359
- v.belongToTypes(a, e.keepTypesOnRecursion) || (a = ee(i, e));
360
- else if (v.isArrayObject(i)) {
361
- var c = ee({ key: i }, e);
362
- a = c.key;
363
- }
364
- return a;
365
- }))), r[s] = o;
366
- }), r;
367
- }
368
- Fe.default = ee;
369
- var We = {}, Fr = h && h.__spreadArrays || function() {
370
- for (var t = 0, e = 0, r = arguments.length; e < r; e++)
371
- t += arguments[e].length;
372
- for (var n = Array(t), o = 0, e = 0; e < r; e++)
373
- for (var s = arguments[e], i = 0, a = s.length; i < a; i++, o++)
374
- n[o] = s[i];
375
- return n;
376
- };
377
- Object.defineProperty(We, "__esModule", { value: !0 });
378
- var $ = R, Wr = fe;
379
- function te(t, e) {
380
- if (e === void 0 && (e = $.DefaultOption), !$.isValidObject(t))
381
- return null;
382
- e = $.validateOptions(e);
383
- var r = {};
384
- return Object.keys(t).forEach(function(n) {
385
- var o = t[n], s = Wr.default(n);
386
- e.recursive && ($.isValidObject(o) ? $.belongToTypes(o, e.keepTypesOnRecursion) || (o = te(o, e)) : e.recursiveInArray && $.isArrayObject(o) && (o = Fr(o).map(function(i) {
387
- var a = i;
388
- if ($.isValidObject(i))
389
- $.belongToTypes(a, e.keepTypesOnRecursion) || (a = te(i, e));
390
- else if ($.isArrayObject(i)) {
391
- var c = te({ key: i }, e);
392
- a = c.key;
393
- }
394
- return a;
395
- }))), r[s] = o;
396
- }), r;
397
- }
398
- We.default = te;
399
- var Xe = {}, Xr = h && h.__spreadArrays || function() {
400
- for (var t = 0, e = 0, r = arguments.length; e < r; e++)
401
- t += arguments[e].length;
402
- for (var n = Array(t), o = 0, e = 0; e < r; e++)
403
- for (var s = arguments[e], i = 0, a = s.length; i < a; i++, o++)
404
- n[o] = s[i];
405
- return n;
406
- };
407
- Object.defineProperty(Xe, "__esModule", { value: !0 });
408
- var O = R, Ur = he;
409
- function re(t, e) {
410
- if (e === void 0 && (e = O.DefaultOption), !O.isValidObject(t))
411
- return null;
412
- e = O.validateOptions(e);
413
- var r = {};
414
- return Object.keys(t).forEach(function(n) {
415
- var o = t[n], s = Ur.default(n);
416
- e.recursive && (O.isValidObject(o) ? O.belongToTypes(o, e.keepTypesOnRecursion) || (o = re(o, e)) : e.recursiveInArray && O.isArrayObject(o) && (o = Xr(o).map(function(i) {
417
- var a = i;
418
- if (O.isValidObject(i))
419
- O.belongToTypes(a, e.keepTypesOnRecursion) || (a = re(i, e));
420
- else if (O.isArrayObject(i)) {
421
- var c = re({ key: i }, e);
422
- a = c.key;
423
- }
424
- return a;
425
- }))), r[s] = o;
426
- }), r;
427
- }
428
- Xe.default = re;
429
- Object.defineProperty(l, "__esModule", { value: !0 });
430
- l.kebabKeys = l.pascalKeys = l.snakeKeys = l.camelKeys = l.upperKeys = l.lowerKeys = l.toLowerCase = l.toUpperCase = l.toKebabCase = l.toHeaderCase = l.toSentenceCase = l.toTextCase = l.toPathCase = l.toDotCase = l.toPascalCase = l.toSnakeCase = l.toCamelCase = void 0;
431
- var dt = de;
432
- l.toCamelCase = dt.default;
433
- var yt = ye;
434
- l.toSnakeCase = yt.default;
435
- var ft = fe;
436
- l.toPascalCase = ft.default;
437
- var ht = Re;
438
- l.toDotCase = ht.default;
439
- var gt = Ne;
440
- l.toPathCase = gt.default;
441
- var bt = Pe;
442
- l.toTextCase = bt.default;
443
- var mt = De;
444
- l.toSentenceCase = mt.default;
445
- var xt = Ve;
446
- l.toHeaderCase = xt.default;
447
- var wt = he;
448
- l.toKebabCase = wt.default;
449
- var vt = Ke;
450
- l.lowerKeys = vt.default;
451
- var $t = He;
452
- l.upperKeys = $t.default;
453
- var Ot = Ye;
454
- l.camelKeys = Ot.default;
455
- var jt = Fe;
456
- l.snakeKeys = jt.default;
457
- var At = We;
458
- l.pascalKeys = At.default;
459
- var Tt = Xe;
460
- l.kebabKeys = Tt.default;
461
- var Ct = function(t) {
462
- return String(t || "").toLowerCase();
463
- };
464
- l.toLowerCase = Ct;
465
- var Mt = function(t) {
466
- return String(t || "").toUpperCase();
467
- };
468
- l.toUpperCase = Mt;
469
- var qr = {
470
- toCamelCase: dt.default,
471
- toSnakeCase: yt.default,
472
- toPascalCase: ft.default,
473
- toDotCase: ht.default,
474
- toPathCase: gt.default,
475
- toTextCase: bt.default,
476
- toSentenceCase: mt.default,
477
- toHeaderCase: xt.default,
478
- toKebabCase: wt.default,
479
- toUpperCase: Mt,
480
- toLowerCase: Ct,
481
- lowerKeys: vt.default,
482
- upperKeys: $t.default,
483
- camelKeys: Ot.default,
484
- snakeKeys: jt.default,
485
- pascalKeys: At.default,
486
- kebabKeys: Tt.default
487
- };
488
- l.default = qr;
489
- var ge = l;
490
- const _t = {
491
- recursive: !0,
492
- recursiveInArray: !0,
493
- keepTypesOnRecursion: [Number, String, Uint8Array]
494
- }, Gr = (t) => ge.snakeKeys(t, _t), Jr = (t) => ge.camelKeys(t, _t), zt = (t) => t[0].toUpperCase() + t.slice(1), Qr = (t) => ge.toSnakeCase(t), en = (t) => ge.toCamelCase(t), Bo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
495
- __proto__: null,
496
- capitalize: zt,
497
- stringToCamel: en,
498
- stringToSnake: Qr,
499
- toCamel: Jr,
500
- toSnake: Gr
501
- }, Symbol.toStringTag, { value: "Module" })), tn = Ie, rn = Ze, nn = {
502
- top: "bottom",
503
- right: "left",
504
- bottom: "top",
505
- left: "right",
506
- center: "center"
507
- }, on = {
508
- top: "left",
509
- right: "top",
510
- bottom: "right",
511
- left: "bottom",
512
- center: "center"
513
- }, sn = ur, _ = (t) => t instanceof String ? t : Se.includes(t) ? t === "x" ? "left" : "top" : t, an = (t) => nn[_(t)], un = (t) => on[_(t)], H = (t) => {
514
- const e = _(t);
515
- return e === "top" || e === "bottom" ? "y" : "x";
516
- }, ln = u.object({
517
- x: Ie.or(rt),
518
- y: Ze.or(rt)
519
- }), St = u.object({ x: Ie, y: Ze }), Y = Object.freeze({ x: "left", y: "top" }), Ue = Object.freeze({ x: "right", y: "top" }), be = Object.freeze({ x: "left", y: "bottom" }), qe = Object.freeze({ x: "right", y: "bottom" }), Ge = Object.freeze({ x: "center", y: "center" }), Et = Object.freeze({ x: "center", y: "top" }), It = Object.freeze({ x: "center", y: "bottom" }), Zt = Object.freeze({ x: "right", y: "center" }), kt = Object.freeze({ x: "left", y: "center" }), cn = Object.freeze([
520
- kt,
521
- Zt,
522
- Et,
523
- It,
524
- Y,
525
- Ue,
526
- be,
527
- qe,
528
- Ge
529
- ]), Je = (t, e) => t.x === e.x && t.y === e.y, pn = (t, e) => {
530
- if (typeof e == "object") {
531
- let r = !0;
532
- return "x" in e && (t.x === e.x || (r = !1)), "y" in e && (t.y === e.y || (r = !1)), r;
533
- }
534
- return t.x === e || t.y === e;
535
- }, Lt = (t) => [t.x, t.y], ne = (t) => H(_(t)) === "x", dn = (t) => H(_(t)) === "y", yn = (t) => `${t.x}${zt(t.y)}`, fn = (t, e) => {
536
- let r, n;
537
- if (typeof t == "object" && "x" in t ? (r = t.x, n = t.y) : (r = _(t), n = _(e ?? t)), H(r) === H(n) && r !== "center" && n !== "center")
538
- throw new Error(
539
- `[XYLocation] - encountered two locations with the same direction: ${r.toString()} - ${n.toString()}`
540
- );
541
- const o = { ...Ge };
542
- return r === "center" ? ne(n) ? [o.x, o.y] = [n, r] : [o.x, o.y] = [r, n] : n === "center" ? ne(r) ? [o.x, o.y] = [r, n] : [o.x, o.y] = [n, r] : ne(r) ? [o.x, o.y] = [r, n] : [o.x, o.y] = [n, r], o;
543
- }, Bt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
544
- __proto__: null,
545
- BOTTOM_CENTER: It,
546
- BOTTOM_LEFT: be,
547
- BOTTOM_RIGHT: qe,
548
- CENTER: Ge,
549
- CENTER_LOCATIONS: ke,
550
- LEFT_CENTER: kt,
551
- RIGHT_CENTER: Zt,
552
- TOP_CENTER: Et,
553
- TOP_LEFT: Y,
554
- TOP_RIGHT: Ue,
555
- XY_LOCATIONS: cn,
556
- X_LOCATIONS: le,
557
- Y_LOCATIONS: ce,
558
- construct: _,
559
- constructXY: fn,
560
- corner: St,
561
- crude: sn,
562
- direction: H,
563
- isX: ne,
564
- isY: dn,
565
- location: Le,
566
- outer: nr,
567
- rotate90: un,
568
- swap: an,
569
- x: tn,
570
- xy: ln,
571
- xyCouple: Lt,
572
- xyEquals: Je,
573
- xyMatches: pn,
574
- xyToString: yn,
575
- y: rn
576
- }, Symbol.toStringTag, { value: "Module" })), je = u.union([
577
- u.number(),
578
- K,
579
- ue,
580
- ze,
581
- Qt,
582
- it
583
- ]), y = (t, e) => {
584
- if (typeof t == "string") {
585
- if (e === void 0)
586
- throw new Error("The y coordinate must be given.");
587
- return t === "x" ? { x: e, y: 0 } : { x: 0, y: e };
588
- }
589
- return typeof t == "number" ? { x: t, y: e ?? t } : Array.isArray(t) ? { x: t[0], y: t[1] } : "signedWidth" in t ? { x: t.signedWidth, y: t.signedHeight } : "clientX" in t ? { x: t.clientX, y: t.clientY } : "width" in t ? { x: t.width, y: t.height } : { x: t.x, y: t.y };
590
- }, T = Object.freeze({ x: 0, y: 0 }), Rt = Object.freeze({ x: 1, y: 1 }), hn = Object.freeze({ x: 1 / 0, y: 1 / 0 }), gn = Object.freeze({ x: NaN, y: NaN }), ie = (t, e, r = 0) => {
591
- const n = y(t), o = y(e);
592
- return r === 0 ? n.x === o.x && n.y === o.y : Math.abs(n.x - o.x) <= r && Math.abs(n.y - o.y) <= r;
593
- }, bn = (t) => ie(t, T), mn = (t, e, r) => {
594
- const n = y(t), o = y(e, r);
595
- return { x: n.x * o.x, y: n.y * o.y };
596
- }, Nt = (t, e) => {
597
- const r = y(t);
598
- return { x: r.x + e, y: r.y };
599
- }, Pt = (t, e) => {
600
- const r = y(t);
601
- return { x: r.x, y: r.y + e };
602
- }, ae = (t, e, r, ...n) => typeof e == "string" && typeof r == "number" ? e === "x" ? Nt(t, r) : Pt(t, r) : [t, e, r ?? T, ...n].reduce((o, s) => {
603
- const i = y(s);
604
- return { x: o.x + i.x, y: o.y + i.y };
605
- }, T), xn = (t, e, r) => {
606
- const n = y(t);
607
- return e === "x" ? { x: r, y: n.y } : { x: n.x, y: r };
608
- }, wn = (t, e) => {
609
- const r = y(t), n = y(e);
610
- return Math.sqrt((r.x - n.x) ** 2 + (r.y - n.y) ** 2);
611
- }, vn = (t, e) => {
612
- const r = y(t), n = y(e);
613
- return { x: n.x - r.x, y: n.y - r.y };
614
- }, $n = (t) => {
615
- const e = y(t);
616
- return Number.isNaN(e.x) || Number.isNaN(e.y);
617
- }, On = (t) => {
618
- const e = y(t);
619
- return Number.isFinite(e.x) && Number.isFinite(e.y);
620
- }, jn = (t) => {
621
- const e = y(t);
622
- return [e.x, e.y];
623
- }, An = (t) => {
624
- const e = y(t);
625
- return { left: e.x, top: e.y };
626
- }, Ae = (t, e = 0) => {
627
- const r = y(t);
628
- return { x: Number(r.x.toFixed(e)), y: Number(r.y.toFixed(e)) };
629
- }, Ro = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
630
- __proto__: null,
631
- INFINITY: hn,
632
- NAN: gn,
633
- ONE: Rt,
634
- ZERO: T,
635
- clientXY: it,
636
- construct: y,
637
- couple: jn,
638
- crudeZ: je,
639
- css: An,
640
- distance: wn,
641
- equals: ie,
642
- isFinite: On,
643
- isNan: $n,
644
- isZero: bn,
645
- scale: mn,
646
- set: xn,
647
- translate: ae,
648
- translateX: Nt,
649
- translateY: Pt,
650
- translation: vn,
651
- truncate: Ae,
652
- xy: K
653
- }, Symbol.toStringTag, { value: "Module" })), W = u.union([u.number(), u.string()]);
654
- u.object({
655
- top: W,
656
- left: W,
657
- width: W,
658
- height: W
659
- });
660
- u.object({
661
- left: u.number(),
662
- top: u.number(),
663
- right: u.number(),
664
- bottom: u.number()
665
- });
666
- const Tn = u.object({
667
- one: K,
668
- two: K,
669
- root: St
670
- }), Dt = { one: T, two: T, root: Y }, Cn = { one: T, two: Rt, root: be }, Vt = (t, e) => ({
671
- one: t.one,
672
- two: t.two,
673
- root: e ?? t.root
674
- }), d = (t, e, r = 0, n = 0, o) => {
675
- const s = {
676
- one: { ...T },
677
- two: { ...T },
678
- root: o ?? Y
679
- };
680
- if (typeof t == "number") {
681
- if (typeof e != "number")
682
- throw new Error("Box constructor called with invalid arguments");
683
- return s.one = { x: t, y: e }, s.two = { x: s.one.x + r, y: s.one.y + n }, s;
684
- }
685
- return "one" in t && "two" in t && "root" in t ? { ...t, root: o ?? t.root } : ("getBoundingClientRect" in t && (t = t.getBoundingClientRect()), "left" in t ? (s.one = { x: t.left, y: t.top }, s.two = { x: t.right, y: t.bottom }, s) : (s.one = t, e == null ? s.two = { x: s.one.x + r, y: s.one.y + n } : typeof e == "number" ? s.two = { x: s.one.x + e, y: s.one.y + r } : "width" in e ? s.two = {
686
- x: s.one.x + e.width,
687
- y: s.one.y + e.height
688
- } : "signedWidth" in e ? s.two = {
689
- x: s.one.x + e.signedWidth,
690
- y: s.one.y + e.signedHeight
691
- } : s.two = e, s));
692
- }, Mn = (t, e, r) => {
693
- const n = d(t);
694
- if (typeof e == "string") {
695
- if (r == null)
696
- throw new Error("Invalid arguments for resize");
697
- const o = E(e);
698
- return d(
699
- n.one,
700
- void 0,
701
- o === "x" ? r : z(n),
702
- o === "y" ? r : S(n),
703
- n.root
704
- );
705
- }
706
- return d(n.one, e, void 0, void 0, n.root);
707
- }, _n = (t, e, r = !0) => {
708
- const n = d(t);
709
- let o = (s, i) => s < i;
710
- return r && (o = (s, i) => s <= i), "one" in e ? o(C(n), C(e)) && o(k(e), k(n)) && o(M(n), M(e)) && o(L(e), L(n)) : o(C(n), e.x) && o(e.x, k(n)) && o(M(n), e.y) && o(e.y, L(n));
711
- }, zn = (t, e) => ie(t.one, e.one) && ie(t.two, e.two) && Je(t.root, e.root), Kt = (t) => ({
712
- width: z(t),
713
- height: S(t)
714
- }), Sn = (t) => ({
715
- signedWidth: me(t),
716
- signedHeight: xe(t)
717
- }), En = (t) => ({
718
- top: M(t),
719
- left: C(t),
720
- width: z(t),
721
- height: S(t)
722
- }), Qe = (t, e, r = !1) => {
723
- const n = E(e) === "y" ? xe(t) : me(t);
724
- return r ? n : Math.abs(n);
725
- }, F = (t, e) => {
726
- const r = d(t);
727
- return {
728
- x: e.x === "center" ? Te(r).x : B(r, e.x),
729
- y: e.y === "center" ? Te(r).y : B(r, e.y)
730
- };
731
- }, B = (t, e) => {
732
- const r = d(t), n = Lt(r.root).includes(e) ? Math.min : Math.max;
733
- return le.includes(e) ? n(r.one.x, r.two.x) : n(r.one.y, r.two.y);
734
- }, In = (t) => t.one.x === t.two.x && t.one.y === t.two.y, z = (t) => Qe(t, "x"), S = (t) => Qe(t, "y"), me = (t) => {
735
- const e = d(t);
736
- return e.two.x - e.one.x;
737
- }, xe = (t) => {
738
- const e = d(t);
739
- return e.two.y - e.one.y;
740
- }, Ht = (t) => F(t, Y), Zn = (t) => F(t, Ue), kn = (t) => F(t, be), Ln = (t) => F(t, qe), k = (t) => B(t, "right"), L = (t) => B(t, "bottom"), C = (t) => B(t, "left"), M = (t) => B(t, "top"), Te = (t) => ae(Ht(t), {
741
- x: me(t) / 2,
742
- y: xe(t) / 2
743
- }), et = (t) => {
744
- const e = d(t);
745
- return e.root.x === "left" ? C(e) : k(e);
746
- }, tt = (t) => {
747
- const e = d(t);
748
- return e.root.y === "top" ? M(e) : L(e);
749
- }, Bn = (t) => ({ x: et(t), y: tt(t) }), oe = (t) => {
750
- const e = d(t);
751
- return { lower: e.one.x, upper: e.two.x };
752
- }, se = (t) => {
753
- const e = d(t);
754
- return { lower: e.one.y, upper: e.two.y };
755
- }, Rn = (t, e) => Vt(t, e), Nn = (t, e) => {
756
- const r = d(t), n = le.includes(e) ? "x" : ce.includes(e) ? "y" : null;
757
- if (n === null)
758
- throw new Error(`Invalid location: ${Bt}`);
759
- const o = e === "top" || e === "left" ? Math.min : Math.max, s = { ...r.one }, i = { ...r.two };
760
- return s[n] = o(r.one[n], r.two[n]), i[n] = o(r.one[n], r.two[n]), [s, i];
761
- }, Pn = (t, e) => {
762
- const r = d(t), n = d(e), o = et(n) + (z(n) - z(r)) / 2, s = tt(n) + (S(n) - S(r)) / 2;
763
- return d({ x: o, y: s }, Kt(r));
764
- }, Yt = (t) => typeof t != "object" || t == null ? !1 : "one" in t && "two" in t && "root" in t, Dn = (t) => z(t) / S(t), Vn = (t, e, r) => {
765
- if (typeof e == "string") {
766
- if (r == null)
767
- throw new Error("Undefined amount passed into box.translate");
768
- const o = E(e);
769
- e = y(o, r);
770
- }
771
- const n = d(t);
772
- return d(
773
- ae(n.one, e),
774
- ae(n.two, e),
775
- void 0,
776
- void 0,
777
- n.root
778
- );
779
- }, Kn = (t, e) => {
780
- const r = Math.max(C(t), C(e)), n = Math.max(M(t), M(e)), o = Math.min(k(t), k(e)), s = Math.min(L(t), L(e));
781
- return r > o || n > s ? Dt : d({ x: r, y: n }, { x: o, y: s }, void 0, void 0, t.root);
782
- }, Hn = (t) => z(t) * S(t), Yn = (t, e) => {
783
- const r = d(t);
784
- return d(
785
- Ae(r.one, e),
786
- Ae(r.two, e),
787
- void 0,
788
- void 0,
789
- r.root
790
- );
791
- }, Fn = (t, e, r, n, o, s) => {
792
- const i = { x: t, y: e }, a = { x: t + r, y: e + n };
793
- return o.x !== s.x && (o.x === "center" ? (i.x -= r / 2, a.x -= r / 2) : (i.x -= r, a.x -= r)), o.y !== s.y && (o.y === "center" ? (i.y -= n / 2, a.y -= n / 2) : (i.y -= n, a.y -= n)), d(i, a, void 0, void 0, s);
794
- }, No = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
795
- __proto__: null,
796
- DECIMAL: Cn,
797
- ZERO: Dt,
798
- area: Hn,
799
- areaIsZero: In,
800
- aspect: Dn,
801
- bottom: L,
802
- bottomLeft: kn,
803
- bottomRight: Ln,
804
- box: Tn,
805
- center: Te,
806
- construct: d,
807
- constructWithAlternateRoot: Fn,
808
- contains: _n,
809
- copy: Vt,
810
- css: En,
811
- dim: Qe,
812
- dims: Kt,
813
- edgePoints: Nn,
814
- equals: zn,
815
- height: S,
816
- intersection: Kn,
817
- isBox: Yt,
818
- left: C,
819
- loc: B,
820
- positionInCenter: Pn,
821
- reRoot: Rn,
822
- resize: Mn,
823
- right: k,
824
- root: Bn,
825
- signedDims: Sn,
826
- signedHeight: xe,
827
- signedWidth: me,
828
- top: M,
829
- topLeft: Ht,
830
- topRight: Zn,
831
- translate: Vn,
832
- truncate: Yn,
833
- width: z,
834
- x: et,
835
- xBounds: oe,
836
- xyLoc: F,
837
- y: tt,
838
- yBounds: se
839
- }, Symbol.toStringTag, { value: "Module" })), Ft = u.object({ signedWidth: u.number(), signedHeight: u.number() }), Wn = u.union([ze, Ft, K, ue]), Xn = { width: 0, height: 0 }, Un = { width: 1, height: 1 }, g = (t, e) => typeof t == "number" ? { width: t, height: e ?? t } : Array.isArray(t) ? { width: t[0], height: t[1] } : "x" in t ? { width: t.x, height: t.y } : "signedWidth" in t ? { width: t.signedWidth, height: t.signedHeight } : { ...t }, qn = (t, e) => {
840
- if (e == null)
841
- return !1;
842
- const r = g(t), n = g(e);
843
- return r.width === n.width && r.height === n.height;
844
- }, Gn = (t) => {
845
- const e = g(t);
846
- return { width: e.height, height: e.width };
847
- }, Jn = (t) => {
848
- const e = g(t);
849
- return `0 0 ${e.width} ${e.height}`;
850
- }, Qn = (t) => {
851
- const e = g(t);
852
- return [e.width, e.height];
853
- }, eo = (t) => ({
854
- width: Math.max(...t.map((e) => g(e).width)),
855
- height: Math.max(...t.map((e) => g(e).height))
856
- }), to = (t) => ({
857
- width: Math.min(...t.map((e) => g(e).width)),
858
- height: Math.min(...t.map((e) => g(e).height))
859
- }), ro = (t, e) => {
860
- const r = g(t);
861
- return { width: r.width * e, height: r.height * e };
862
- }, Po = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
863
- __proto__: null,
864
- DECIMAL: Un,
865
- ZERO: Xn,
866
- construct: g,
867
- couple: Qn,
868
- crude: Wn,
869
- dimensions: ze,
870
- equals: qn,
871
- max: eo,
872
- min: to,
873
- scale: ro,
874
- signed: Ft,
875
- svgViewBox: Jn,
876
- swap: Gn
877
- }, Symbol.toStringTag, { value: "Module" }));
878
- var no = Object.defineProperty, oo = (t, e, r) => e in t ? no(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r, A = (t, e, r) => (oo(t, typeof e != "symbol" ? e + "" : e, r), r);
879
- const so = (t, e, r) => (e != null && (t = Math.max(t, e)), r != null && (t = Math.min(t, r)), t), io = u.object({ offset: je, scale: je }), ao = (t) => (e, r, n, o) => r === "dimension" ? [e, n] : [e, o ? n - t : n + t], uo = (t) => (e, r, n, o) => [e, o ? n / t : n * t], lo = (t) => (e, r, n) => {
880
- if (e === null)
881
- return [t, n];
882
- const { lower: o, upper: s } = e, { lower: i, upper: a } = t, c = s - o, f = a - i;
883
- if (r === "dimension")
884
- return [t, n * (f / c)];
885
- const I = (n - o) * (f / c) + i;
886
- return [t, I];
887
- }, co = (t) => (e, r, n) => [t, n], po = () => (t, e, r) => {
888
- if (t === null)
889
- throw new Error("cannot invert without bounds");
890
- if (e === "dimension")
891
- return [t, r];
892
- const { lower: n, upper: o } = t;
893
- return [t, o - (r - n)];
894
- }, yo = (t) => (e, r, n) => {
895
- const { lower: o, upper: s } = t;
896
- return n = so(n, o, s), [e, n];
897
- }, Ce = class V {
898
- constructor() {
899
- A(this, "ops", []), A(this, "currBounds", null), A(this, "currType", null), A(this, "reversed", !1), this.ops = [];
900
- }
901
- static translate(e) {
902
- return new V().translate(e);
903
- }
904
- static magnify(e) {
905
- return new V().magnify(e);
906
- }
907
- static scale(e, r) {
908
- return new V().scale(e, r);
909
- }
910
- translate(e) {
911
- const r = this.new(), n = ao(e);
912
- return n.type = "translate", r.ops.push(n), r;
913
- }
914
- magnify(e) {
915
- const r = this.new(), n = uo(e);
916
- return n.type = "magnify", r.ops.push(n), r;
917
- }
918
- scale(e, r) {
919
- const n = p(e, r), o = this.new(), s = lo(n);
920
- return s.type = "scale", o.ops.push(s), o;
921
- }
922
- clamp(e, r) {
923
- const n = p(e, r), o = this.new(), s = yo(n);
924
- return s.type = "clamp", o.ops.push(s), o;
925
- }
926
- reBound(e, r) {
927
- const n = p(e, r), o = this.new(), s = co(n);
928
- return s.type = "re-bound", o.ops.push(s), o;
929
- }
930
- invert() {
931
- const e = po();
932
- e.type = "invert";
933
- const r = this.new();
934
- return r.ops.push(e), r;
935
- }
936
- pos(e) {
937
- return this.exec("position", e);
938
- }
939
- dim(e) {
940
- return this.exec("dimension", e);
941
- }
942
- new() {
943
- const e = new V();
944
- return e.ops = this.ops.slice(), e.reversed = this.reversed, e;
945
- }
946
- exec(e, r) {
947
- return this.currBounds = null, this.ops.reduce(
948
- ([n, o], s) => s(n, e, o, this.reversed),
949
- [null, r]
950
- )[1];
951
- }
952
- reverse() {
953
- const e = this.new();
954
- e.ops.reverse();
955
- const r = [];
956
- return e.ops.forEach((n, o) => {
957
- if (n.type === "scale" || r.some(([i, a]) => o >= i && o <= a))
958
- return;
959
- const s = e.ops.findIndex((i, a) => i.type === "scale" && a > o);
960
- s !== -1 && r.push([o, s]);
961
- }), r.forEach(([n, o]) => {
962
- const s = e.ops.slice(n, o);
963
- s.unshift(e.ops[o]), e.ops.splice(n, o - n + 1, ...s);
964
- }), e.reversed = !e.reversed, e;
965
- }
966
- };
967
- A(Ce, "IDENTITY", new Ce());
968
- let Me = Ce;
969
- const fo = (t) => ({
970
- scale: {
971
- x: t.x.dim(1),
972
- y: t.y.dim(1)
973
- },
974
- offset: {
975
- x: t.x.pos(0),
976
- y: t.y.pos(0)
977
- }
978
- }), _e = class j {
979
- constructor(e = new Me(), r = new Me(), n = null) {
980
- A(this, "x"), A(this, "y"), A(this, "currRoot"), this.x = e, this.y = r, this.currRoot = n;
981
- }
982
- static translate(e, r) {
983
- return new j().translate(e, r);
984
- }
985
- static translateX(e) {
986
- return new j().translateX(e);
987
- }
988
- static translateY(e) {
989
- return new j().translateY(e);
990
- }
991
- static clamp(e) {
992
- return new j().clamp(e);
993
- }
994
- static magnify(e) {
995
- return new j().magnify(e);
996
- }
997
- static scale(e) {
998
- return new j().scale(e);
999
- }
1000
- static reBound(e) {
1001
- return new j().reBound(e);
1002
- }
1003
- translate(e, r) {
1004
- const n = y(e, r), o = this.copy();
1005
- return o.x = this.x.translate(n.x), o.y = this.y.translate(n.y), o;
1006
- }
1007
- translateX(e) {
1008
- const r = this.copy();
1009
- return r.x = this.x.translate(e), r;
1010
- }
1011
- translateY(e) {
1012
- const r = this.copy();
1013
- return r.y = this.y.translate(e), r;
1014
- }
1015
- magnify(e) {
1016
- const r = this.copy();
1017
- return r.x = this.x.magnify(e.x), r.y = this.y.magnify(e.y), r;
1018
- }
1019
- scale(e) {
1020
- const r = this.copy();
1021
- if (Yt(e)) {
1022
- const n = this.currRoot;
1023
- return r.currRoot = e.root, n != null && !Je(n, e.root) && (n.x !== e.root.x && (r.x = r.x.invert()), n.y !== e.root.y && (r.y = r.y.invert())), r.x = r.x.scale(oe(e)), r.y = r.y.scale(se(e)), r;
1024
- }
1025
- return r.x = r.x.scale(e.width), r.y = r.y.scale(e.height), r;
1026
- }
1027
- reBound(e) {
1028
- const r = this.copy();
1029
- return r.x = this.x.reBound(oe(e)), r.y = this.y.reBound(se(e)), r;
1030
- }
1031
- clamp(e) {
1032
- const r = this.copy();
1033
- return r.x = this.x.clamp(oe(e)), r.y = this.y.clamp(se(e)), r;
1034
- }
1035
- copy() {
1036
- const e = new j();
1037
- return e.currRoot = this.currRoot, e.x = this.x, e.y = this.y, e;
1038
- }
1039
- reverse() {
1040
- const e = this.copy();
1041
- return e.x = this.x.reverse(), e.y = this.y.reverse(), e;
1042
- }
1043
- pos(e) {
1044
- return { x: this.x.pos(e.x), y: this.y.pos(e.y) };
1045
- }
1046
- box(e) {
1047
- return d(
1048
- this.pos(e.one),
1049
- this.pos(e.two),
1050
- 0,
1051
- 0,
1052
- this.currRoot ?? e.root
1053
- );
1054
- }
1055
- };
1056
- A(_e, "IDENTITY", new _e());
1057
- let ho = _e;
1058
- const Do = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1059
- __proto__: null,
1060
- Scale: Me,
1061
- XY: ho,
1062
- crudeXYTransform: io,
1063
- xyScaleToTransform: fo
1064
- }, Symbol.toStringTag, { value: "Module" }));
1065
- function Wt(t) {
1066
- var e, r, n = "";
1067
- if (typeof t == "string" || typeof t == "number")
1068
- n += t;
1069
- else if (typeof t == "object")
1070
- if (Array.isArray(t)) {
1071
- var o = t.length;
1072
- for (e = 0; e < o; e++)
1073
- t[e] && (r = Wt(t[e])) && (n && (n += " "), n += r);
1074
- } else
1075
- for (r in t)
1076
- t[r] && (n && (n += " "), n += r);
1077
- return n;
1078
- }
1079
- function go() {
1080
- for (var t, e, r = 0, n = "", o = arguments.length; r < o; r++)
1081
- (t = arguments[r]) && (e = Wt(t)) && (n && (n += " "), n += e);
1082
- return n;
1083
- }
1084
- const bo = go, nt = "-", ot = "__", X = "--", Xt = (t) => {
1085
- const e = (...r) => bo(...r);
1086
- return e.B = (r) => t + nt + r, e.E = (r) => t + ot + r, e.M = (r) => t + X + r, e.BM = (r, n) => e.B(r) + X + n, e.BE = (r, n) => e.B(r) + ot + n, e.BEM = (r, n, o) => e.BE(r, n) + X + o, e.extend = (r) => Xt(e.B(r)), e.var = (r) => X + t + nt + r, e;
1087
- }, mo = /^#?([0-9a-f]{6}|[0-9a-f]{8})$/i, st = u.string().regex(mo), P = u.number().min(0).max(255), xo = u.number().min(0).max(1), Ut = u.tuple([P, P, P, xo]), wo = u.tuple([P, P, P]), vo = u.object({ rgba255: Ut }), $o = (t) => t == null ? void 0 : new D(t).hex, Oo = (t) => {
1088
- if (t == null)
1089
- return;
1090
- const e = D.z.safeParse(t);
1091
- if (e.success)
1092
- return e.data.rgbaCSS;
1093
- if (typeof t == "string")
1094
- return t;
1095
- throw e.error;
1096
- }, b = class b {
1097
- /**
1098
- * @constructor Creates a new color from the given color value. The color value can be
1099
- * a hex string, an array of RGB or RGBA values, or another color.
1100
- *
1101
- * @param color - The color value to create the color from. If the color value is a
1102
- * string, it must be a valid hex color (with or without the '#') with a hasheless
1103
- * length 6 or 8. If the hex color is 8 characters long, the last twoc haracters are
1104
- * used as the alpha value. If the color value is an array, it must be an array of
1105
- * length 3 or 4, with each value between 0 and 255. If the color value is another
1106
- * color, the color will be copied.
1107
- *
1108
- * @param alpha - An optional alpha value to set. If the color value carries its own
1109
- * alpha value, this value will be ignored. Defaults to 1.
1110
- */
1111
- constructor(e, r = 1) {
1112
- /**
1113
- * @property the color as an RGBA tuple, with each color value between 0 and 255,
1114
- * and the alpha value between 0 and 1.
1115
- */
1116
- N(this, "rgba255");
1117
- if (typeof e == "string")
1118
- this.rgba255 = b.fromHex(e, r);
1119
- else if (Array.isArray(e)) {
1120
- if (e.length < 3 || e.length > 4)
1121
- throw new Error(`Invalid color: [${e.join(", ")}]`);
1122
- this.rgba255 = e.length === 3 ? [...e, r ?? 1] : e;
1123
- } else
1124
- this.rgba255 = e.rgba255;
1125
- }
1126
- /**
1127
- * @returns true if the given color is semantically equal to this color. Different
1128
- * representations of the same color are considered equal (e.g. hex and rgba).
1129
- */
1130
- equals(e) {
1131
- if (e == null)
1132
- return !1;
1133
- const r = new b(e);
1134
- return this.rgba255.every((n, o) => n === r.rgba255[o]);
1135
- }
1136
- /**
1137
- * @returns the hex representation of the color. If the color has an opacity of 1,
1138
- * the returned hex will be 6 characters long. Otherwise, it will be 8 characters
1139
- * long.
1140
- */
1141
- get hex() {
1142
- const [e, r, n, o] = this.rgba255;
1143
- return `#${U(e)}${U(r)}${U(n)}${o === 1 ? "" : U(o * 255)}`;
1144
- }
1145
- /**
1146
- * @returns the color as a CSS RGBA string.
1147
- */
1148
- get rgbaCSS() {
1149
- const [e, r, n, o] = this.rgba255;
1150
- return `rgba(${e}, ${r}, ${n}, ${o})`;
1151
- }
1152
- /**
1153
- * @returns the color as a CSS RGB string with no alpha value.
1154
- */
1155
- get rgbCSS() {
1156
- return `rgb(${this.rgbString})`;
1157
- }
1158
- /**
1159
- * @returns the color as an RGB string, with each color value between 0 and 255.
1160
- * @example "255, 255, 255"
1161
- */
1162
- get rgbString() {
1163
- const [e, r, n] = this.rgba255;
1164
- return `${e}, ${r}, ${n}`;
1165
- }
1166
- /**
1167
- * @returns the color as an RGBA tuple, with each color value between 0 and 1,
1168
- * and the alpha value between 0 and 1.
1169
- */
1170
- get rgba1() {
1171
- return [...this.rgb1, this.rgba255[3]];
1172
- }
1173
- get rgb1() {
1174
- return [this.rgba255[0] / 255, this.rgba255[1] / 255, this.rgba255[2] / 255];
1175
- }
1176
- /** @returns the red value of the color, between 0 and 255. */
1177
- get r() {
1178
- return this.rgba255[0];
1179
- }
1180
- /** @returns the green value of the color, between 0 and 255. */
1181
- get g() {
1182
- return this.rgba255[1];
1183
- }
1184
- /** @returns the blue value of the color, between 0 and 255. */
1185
- get b() {
1186
- return this.rgba255[2];
1187
- }
1188
- /** @returns the alpha value of the color, between 0 and 1. */
1189
- get a() {
1190
- return this.rgba255[3];
1191
- }
1192
- /** @returns true if all RGBA values are 0. */
1193
- get isZero() {
1194
- return this.equals(qt);
1195
- }
1196
- get hsla() {
1197
- return To(this.rgba255);
1198
- }
1199
- /**
1200
- * Creates a new color with the given alpha.
1201
- *
1202
- * @param alpha - The alpha value to set. If the value is greater than 1, it will be
1203
- * divided by 100.
1204
- * @returns A new color with the given alpha.
1205
- */
1206
- setAlpha(e) {
1207
- const [r, n, o] = this.rgba255;
1208
- if (e > 100)
1209
- throw new Error(`Color opacity must be between 0 and 100, got ${e}`);
1210
- return e > 1 && (e = e / 100), new b([r, n, o, e]);
1211
- }
1212
- /**
1213
- * @returns the luminance of the color, between 0 and 1.
1214
- */
1215
- get luminance() {
1216
- const [e, r, n] = this.rgb1.map((o) => o <= 0.03928 ? o / 12.92 : ((o + 0.055) / 1.055) ** 2.4);
1217
- return Number((0.2126 * e + 0.7152 * r + 0.0722 * n).toFixed(3));
1218
- }
1219
- /**
1220
- * @returns the contrast ratio between this color and the given color. The contrast
1221
- * ratio is a number between 1 and 21, where 1 is the lowest contrast and 21 is the
1222
- * highest.
1223
- * @param other
1224
- * @returns
1225
- */
1226
- contrast(e) {
1227
- const r = new b(e), n = this.luminance, o = r.luminance;
1228
- return (Math.max(n, o) + 0.5) / (Math.min(n, o) + 0.5);
1229
- }
1230
- pickByContrast(...e) {
1231
- if (e.length === 0)
1232
- throw new Error("[Color.pickByContrast] - must provide at least one color");
1233
- const [r] = e.map((n) => new b(n)).sort((n, o) => this.contrast(o) - this.contrast(n));
1234
- return r;
1235
- }
1236
- get isDark() {
1237
- return this.luminance < 0.5;
1238
- }
1239
- get isLight() {
1240
- return !this.isDark;
1241
- }
1242
- static fromHex(e, r = 1) {
1243
- if (!st.safeParse(e).success)
1244
- throw new Error(`Invalid hex color: ${e}`);
1245
- return e = jo(e), [
1246
- q(e, 0),
1247
- q(e, 2),
1248
- q(e, 4),
1249
- e.length === 8 ? q(e, 6) / 255 : r
1250
- ];
1251
- }
1252
- };
1253
- N(b, "z", u.union([st, Ut, wo, u.instanceof(b), vo]).transform((e) => new b(e)));
1254
- let D = b;
1255
- const qt = new D([0, 0, 0, 0]), U = (t) => Math.floor(t).toString(16).padStart(2, "0"), q = (t, e) => parseInt(t.slice(e, e + 2), 16), jo = (t) => t.startsWith("#") ? t.slice(1) : t, Ao = (t) => {
1256
- let [e, r, n] = t;
1257
- const o = t[3];
1258
- e /= 360, r /= 100, n /= 100;
1259
- let s, i, a;
1260
- if (r === 0)
1261
- s = i = a = n;
1262
- else {
1263
- const c = n < 0.5 ? n * (1 + r) : n + r - n * r, f = 2 * n - c;
1264
- s = ve(f, c, e + 1 / 3), i = ve(f, c, e), a = ve(f, c, e - 1 / 3);
1265
- }
1266
- return [Math.round(s * 255), Math.round(i * 255), Math.round(a * 255), o];
1267
- }, ve = (t, e, r) => (r < 0 && (r += 1), r > 1 && (r -= 1), r < 1 / 6 ? t + (e - t) * 6 * r : r < 1 / 2 ? e : r < 2 / 3 ? t + (e - t) * (2 / 3 - r) * 6 : t), To = (t) => {
1268
- let [e, r, n] = t;
1269
- const o = t[3];
1270
- e /= 255, r /= 255, n /= 255, e /= 255, r /= 255, n /= 255;
1271
- const s = Math.max(e, r, n), i = Math.min(e, r, n);
1272
- let a, c, f = (s + i) / 2;
1273
- if (s === i)
1274
- a = c = 0;
1275
- else {
1276
- const I = s - i;
1277
- c = f > 0.5 ? I / (2 - s - i) : I / (s + i), s === e ? a = (r - n) / I + (r < n ? 6 : 0) : s === r ? a = (n - e) / I + 2 : a = (e - r) / I + 4, a /= 6;
1278
- }
1279
- return a *= 360, c *= 100, f *= 100, [Math.round(a), Math.round(c), Math.round(f), o];
1280
- }, Vo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1281
- __proto__: null,
1282
- Color: D,
1283
- ZERO: qt,
1284
- cssString: Oo,
1285
- fromHSLA: Ao,
1286
- toHex: $o
1287
- }, Symbol.toStringTag, { value: "Module" }));
1288
- class Co {
1289
- constructor(e = "") {
1290
- N(this, "rows", []);
1291
- N(this, "columns", []);
1292
- N(this, "prefix");
1293
- this.prefix = e;
1294
- }
1295
- row(e, r, n) {
1296
- const { prefix: o } = this;
1297
- return this.rows.push({ startLabel: o + e, endLabel: o + r, size: n }), this;
1298
- }
1299
- col(e, r, n) {
1300
- const { prefix: o } = this;
1301
- return this.columns.push({ startLabel: o + e, endLabel: o + r, size: n }), this;
1302
- }
1303
- build() {
1304
- return {
1305
- display: "grid",
1306
- gridTemplateRows: this.rows.map((e, r) => {
1307
- let n = r === 0 ? "[" : "";
1308
- return n += `${e.startLabel}] ${e.size}${typeof e.size == "number" ? "px" : ""} [${e.endLabel}`, n += r === this.rows.length - 1 ? "]" : "", n;
1309
- }).join(" "),
1310
- gridTemplateColumns: this.columns.map((e, r) => {
1311
- let n = r === 0 ? "[" : "";
1312
- return n += `${e.startLabel}] ${e.size}${typeof e.size == "number" ? "px" : ""} [${e.endLabel}`, n += r === this.columns.length - 1 ? "]" : "", n;
1313
- }).join(" ")
1314
- };
1315
- }
1316
- }
1317
- const Mo = (t, e) => Object.entries(e).forEach(
1318
- ([r, n]) => n != null && t.style.setProperty(r, `${n}`)
1319
- ), _o = (t, e) => Array.from(t.style).forEach((r) => {
1320
- r.startsWith(e) && t.style.removeProperty(r);
1321
- }), zo = (t) => {
1322
- const e = Xt(t);
1323
- return e.visible = (r) => e.M(r ? "visible" : "hidden"), e.expanded = (r) => e.M(r ? "expanded" : "collapsed"), e.loc = (r) => e.M(Bt.construct(r)), e.disabled = (r) => r === !0 && e.M("disabled"), e.align = (r) => e.M(r), e.dir = (r) => r != null && e.M(zr.construct(r)), e.size = (r) => typeof r == "string" && e.M(r), e.sharp = (r) => r !== !1 && e.M("sharp"), e.rounded = (r) => r !== !1 && e.M("rounded"), e.bordered = (r) => typeof r == "boolean" ? r && e.M("bordered") : r != null ? e.M("bordered-" + r) : e.M("bordered"), e.selected = (r) => r && e.M("selected"), e.altColor = (r) => r && e.M("altColor"), e.editable = (r) => r && e.M("editable"), e.noSelect = e.M("no-select"), e.noWrap = (r) => r && e.M("no-wrap"), e.applyVars = Mo, e.removeVars = _o, e.newGridBuilder = (r) => new Co(r), e.dropRegion = (r) => r && e.B("haul-drop-region"), e.px = (r) => `${r}px`, e.inheritDims = (r = !0) => r && e.M("inherit-dims"), e;
1324
- }, Ko = zo("pluto");
1325
- export {
1326
- Je as $,
1327
- Y as A,
1328
- pn as B,
1329
- Ko as C,
1330
- Io as D,
1331
- S as E,
1332
- z as F,
1333
- Hn as G,
1334
- Kn as H,
1335
- an as I,
1336
- Bt as J,
1337
- Qr as K,
1338
- ko as L,
1339
- cn as M,
1340
- No as T,
1341
- so as Y,
1342
- qt as Z,
1343
- Po as _,
1344
- D as a,
1345
- Vo as b,
1346
- Oo as c,
1347
- Jr as d,
1348
- en as e,
1349
- Ao as f,
1350
- zr as g,
1351
- go as h,
1352
- p as i,
1353
- Bo as j,
1354
- Gr as k,
1355
- Do as l,
1356
- Lo as m,
1357
- Xt as n,
1358
- sr as o,
1359
- Zo as p,
1360
- Ro as q,
1361
- ln as r,
1362
- Le as s,
1363
- $o as t,
1364
- tr as u,
1365
- E as v,
1366
- d as w,
1367
- F as x,
1368
- Ge as y,
1369
- Fn as z
1370
- };