allyhub 0.8.0 → 0.9.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 (1569) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/NOTICE +122 -42
  3. package/client.d.ts +1 -1
  4. package/dist/command.js +1 -1
  5. package/dist/commands/add.js +4 -4
  6. package/dist/commands/check.js +1 -1
  7. package/dist/commands/cloud-tools.js +13 -7
  8. package/dist/commands/cloud.js +1 -1
  9. package/dist/commands/contributed.js +2 -0
  10. package/dist/commands/dev.js +2 -2
  11. package/dist/commands/doctor.js +4 -4
  12. package/dist/commands/extensions.js +3 -0
  13. package/dist/commands/frames/common.js +1 -1
  14. package/dist/commands/frames/compare.js +1 -1
  15. package/dist/commands/frames/cuts.js +1 -1
  16. package/dist/commands/frames/doc.js +1 -1
  17. package/dist/commands/frames/overlay.js +2 -0
  18. package/dist/commands/frames/piece.js +1 -1
  19. package/dist/commands/frames/sheet.js +1 -1
  20. package/dist/commands/frames.js +9 -9
  21. package/dist/commands/index.js +1 -1
  22. package/dist/commands/inspect/combos.js +2 -2
  23. package/dist/commands/inspect/common.js +2 -2
  24. package/dist/commands/inspect/facts.js +3 -3
  25. package/dist/commands/inspect/index.js +1 -1
  26. package/dist/commands/inspect/layout.js +1 -1
  27. package/dist/commands/inspect/views.js +2 -0
  28. package/dist/commands/mail.js +9 -0
  29. package/dist/commands/render.js +2 -2
  30. package/dist/fields.js +1 -1
  31. package/dist/help.js +4 -4
  32. package/dist/main.js +4 -4
  33. package/dist/media.js +1 -1
  34. package/dist/node_modules/@allyhub/3d-extension/LICENSE +241 -0
  35. package/dist/node_modules/@allyhub/3d-extension/dist/build-plugins.js +2 -0
  36. package/dist/node_modules/@allyhub/3d-extension/dist/build.js +2 -0
  37. package/dist/node_modules/@allyhub/3d-extension/dist/cli/index.js +2 -0
  38. package/dist/node_modules/@allyhub/3d-extension/dist/cli/lookup.js +2 -0
  39. package/dist/node_modules/@allyhub/3d-extension/dist/cli/model.js +3 -0
  40. package/dist/node_modules/@allyhub/3d-extension/dist/cli/scenery-input.js +2 -0
  41. package/dist/node_modules/@allyhub/3d-extension/dist/cli/scenery.js +7 -0
  42. package/dist/node_modules/@allyhub/3d-extension/dist/project-tools.js +2 -0
  43. package/dist/node_modules/@allyhub/3d-extension/dist/read-view.js +2 -0
  44. package/dist/node_modules/@allyhub/3d-extension/dist/scenery-build.js +2 -0
  45. package/dist/node_modules/@allyhub/3d-extension/dist/stage-routes.js +2 -0
  46. package/dist/node_modules/@allyhub/3d-extension/dist/title.js +2 -0
  47. package/dist/node_modules/@allyhub/3d-extension/dist/tools.js +2 -0
  48. package/dist/node_modules/@allyhub/3d-extension/dist/tree.js +2 -0
  49. package/dist/node_modules/@allyhub/3d-extension/dist/workspace.js +2 -0
  50. package/dist/node_modules/@allyhub/3d-extension/package.json +295 -0
  51. package/dist/node_modules/@allyhub/audio/dist/levels.js +1 -1
  52. package/dist/node_modules/@allyhub/audio/dist/node/ffmpeg.js +1 -1
  53. package/dist/node_modules/@allyhub/audio/package.json +1 -1
  54. package/dist/node_modules/@allyhub/browser/dist/browser.d.ts +24 -0
  55. package/dist/node_modules/@allyhub/browser/dist/capture.d.ts +61 -0
  56. package/dist/node_modules/@allyhub/browser/dist/cdp.d.ts +51 -0
  57. package/dist/node_modules/@allyhub/browser/dist/flags.d.ts +13 -0
  58. package/dist/node_modules/@allyhub/browser/dist/frames.d.ts +35 -0
  59. package/dist/node_modules/@allyhub/browser/dist/html.d.ts +19 -0
  60. package/dist/node_modules/@allyhub/browser/dist/index.d.ts +10 -0
  61. package/dist/node_modules/@allyhub/browser/dist/launch.d.ts +35 -0
  62. package/dist/node_modules/@allyhub/browser/dist/page.d.ts +74 -0
  63. package/dist/node_modules/@allyhub/browser/dist/page.js +1 -1
  64. package/dist/node_modules/@allyhub/browser/dist/server.d.ts +26 -0
  65. package/dist/node_modules/@allyhub/browser/package.json +1 -1
  66. package/dist/node_modules/@allyhub/build/dist/build-plugins.d.ts +91 -0
  67. package/dist/node_modules/@allyhub/build/dist/build-plugins.js +2 -0
  68. package/dist/node_modules/@allyhub/build/dist/cli-command.d.ts +84 -0
  69. package/dist/node_modules/@allyhub/build/dist/cli-command.js +2 -0
  70. package/dist/node_modules/@allyhub/build/dist/content.d.ts +12 -24
  71. package/dist/node_modules/@allyhub/build/dist/content.js +1 -2
  72. package/dist/node_modules/@allyhub/build/dist/data.d.ts +2 -4
  73. package/dist/node_modules/@allyhub/build/dist/data.js +2 -2
  74. package/dist/node_modules/@allyhub/build/dist/evaluate.d.ts +44 -0
  75. package/dist/node_modules/@allyhub/build/dist/evaluate.js +2 -0
  76. package/dist/node_modules/@allyhub/build/dist/file-check.d.ts +35 -0
  77. package/dist/node_modules/@allyhub/build/dist/file-check.js +2 -0
  78. package/dist/node_modules/@allyhub/build/dist/files.js +1 -1
  79. package/dist/node_modules/@allyhub/build/dist/generated.d.ts +29 -0
  80. package/dist/node_modules/@allyhub/build/dist/generated.js +2 -0
  81. package/dist/node_modules/@allyhub/build/dist/index.d.ts +23 -9
  82. package/dist/node_modules/@allyhub/build/dist/index.js +1 -1
  83. package/dist/node_modules/@allyhub/build/dist/inspect-view.d.ts +119 -0
  84. package/dist/node_modules/@allyhub/build/dist/inspect-view.js +2 -0
  85. package/dist/node_modules/@allyhub/build/dist/kind-build.d.ts +507 -0
  86. package/dist/node_modules/@allyhub/build/dist/kind-build.js +2 -0
  87. package/dist/node_modules/@allyhub/build/dist/matrix.d.ts +2 -1
  88. package/dist/node_modules/@allyhub/build/dist/matrix.js +1 -1
  89. package/dist/node_modules/@allyhub/build/dist/media.d.ts +1 -1
  90. package/dist/node_modules/@allyhub/build/dist/media.js +1 -1
  91. package/dist/node_modules/@allyhub/build/dist/messages.d.ts +27 -15
  92. package/dist/node_modules/@allyhub/build/dist/messages.js +2 -2
  93. package/dist/node_modules/@allyhub/build/dist/meta-worker.d.ts +16 -19
  94. package/dist/node_modules/@allyhub/build/dist/meta-worker.js +2 -4
  95. package/dist/node_modules/@allyhub/build/dist/meta.d.ts +1 -1
  96. package/dist/node_modules/@allyhub/build/dist/meta.js +1 -1
  97. package/dist/node_modules/@allyhub/build/dist/model-info.d.ts +1 -1
  98. package/dist/node_modules/@allyhub/build/dist/move-refs.d.ts +1 -1
  99. package/dist/node_modules/@allyhub/build/dist/move-refs.js +1 -1
  100. package/dist/node_modules/@allyhub/build/dist/plugin.d.ts +16 -8
  101. package/dist/node_modules/@allyhub/build/dist/plugin.js +8 -9
  102. package/dist/node_modules/@allyhub/build/dist/prepare.d.ts +58 -35
  103. package/dist/node_modules/@allyhub/build/dist/prepare.js +3 -3
  104. package/dist/node_modules/@allyhub/build/dist/project-root.d.ts +19 -0
  105. package/dist/node_modules/@allyhub/build/dist/project-root.js +2 -0
  106. package/dist/node_modules/@allyhub/build/dist/project-tool.d.ts +116 -0
  107. package/dist/node_modules/@allyhub/build/dist/project-tool.js +2 -0
  108. package/dist/node_modules/@allyhub/build/dist/references.d.ts +1 -1
  109. package/dist/node_modules/@allyhub/build/dist/references.js +1 -1
  110. package/dist/node_modules/@allyhub/build/dist/scan.d.ts +7 -12
  111. package/dist/node_modules/@allyhub/build/dist/scan.js +1 -1
  112. package/dist/node_modules/@allyhub/build/dist/stage-route.d.ts +73 -0
  113. package/dist/node_modules/@allyhub/build/dist/takes.d.ts +2 -26
  114. package/dist/node_modules/@allyhub/build/dist/takes.js +1 -2
  115. package/dist/node_modules/@allyhub/build/dist/types.d.ts +1 -1
  116. package/dist/node_modules/@allyhub/build/dist/types.js +1 -1
  117. package/dist/node_modules/@allyhub/build/dist/uses.d.ts +23 -0
  118. package/dist/node_modules/@allyhub/build/dist/uses.js +2 -0
  119. package/dist/node_modules/@allyhub/build/dist/version.d.ts +56 -0
  120. package/dist/node_modules/@allyhub/build/dist/version.js +2 -0
  121. package/dist/node_modules/@allyhub/build/dist/work.d.ts +30 -0
  122. package/dist/node_modules/@allyhub/build/dist/work.js +4 -0
  123. package/dist/node_modules/@allyhub/build/package.json +1 -1
  124. package/dist/node_modules/@allyhub/canvas-extension/LICENSE +241 -0
  125. package/dist/node_modules/@allyhub/canvas-extension/dist/check.js +2 -0
  126. package/dist/node_modules/@allyhub/canvas-extension/dist/inspect.js +4 -0
  127. package/dist/node_modules/@allyhub/canvas-extension/package.json +106 -0
  128. package/dist/node_modules/@allyhub/canvas-extension/skills/allyhub/references/canvas.md +27 -0
  129. package/dist/node_modules/@allyhub/canvas-model/LICENSE +241 -0
  130. package/dist/node_modules/@allyhub/canvas-model/dist/canvas.js +8 -0
  131. package/dist/node_modules/@allyhub/canvas-model/dist/check.js +3 -0
  132. package/dist/node_modules/@allyhub/canvas-model/dist/edit.js +2 -0
  133. package/dist/node_modules/@allyhub/canvas-model/dist/index.js +2 -0
  134. package/dist/node_modules/@allyhub/canvas-model/dist/merge.js +2 -0
  135. package/dist/node_modules/@allyhub/canvas-model/package.json +14 -0
  136. package/dist/node_modules/@allyhub/chart/dist/chart-file.js +1 -1
  137. package/dist/node_modules/@allyhub/chart/dist/chart-xml.js +2 -2
  138. package/dist/node_modules/@allyhub/chart/dist/chart.js +1 -1
  139. package/dist/node_modules/@allyhub/chart/package.json +1 -1
  140. package/dist/node_modules/@allyhub/check/dist/cache.js +1 -1
  141. package/dist/node_modules/@allyhub/check/dist/check.js +2 -3
  142. package/dist/node_modules/@allyhub/check/dist/index.js +1 -1
  143. package/dist/node_modules/@allyhub/check/package.json +1 -1
  144. package/dist/node_modules/@allyhub/cloud/dist/blobs.d.ts +29 -0
  145. package/dist/node_modules/@allyhub/cloud/dist/call.d.ts +91 -0
  146. package/dist/node_modules/@allyhub/cloud/dist/call.js +4 -4
  147. package/dist/node_modules/@allyhub/cloud/dist/catalog.d.ts +12 -0
  148. package/dist/node_modules/@allyhub/cloud/dist/client.d.ts +43 -0
  149. package/dist/node_modules/@allyhub/cloud/dist/client.js +1 -1
  150. package/dist/node_modules/@allyhub/cloud/dist/config.d.ts +25 -0
  151. package/dist/node_modules/@allyhub/cloud/dist/credentials.d.ts +76 -0
  152. package/dist/node_modules/@allyhub/cloud/dist/credentials.js +2 -2
  153. package/dist/node_modules/@allyhub/cloud/dist/errors.d.ts +24 -0
  154. package/dist/node_modules/@allyhub/cloud/dist/errors.js +1 -1
  155. package/dist/node_modules/@allyhub/cloud/dist/hashes.d.ts +43 -0
  156. package/dist/node_modules/@allyhub/cloud/dist/index.d.ts +19 -0
  157. package/dist/node_modules/@allyhub/cloud/dist/index.js +1 -1
  158. package/dist/node_modules/@allyhub/cloud/dist/keychain.d.ts +18 -0
  159. package/dist/node_modules/@allyhub/cloud/dist/loopback.d.ts +22 -0
  160. package/dist/node_modules/@allyhub/cloud/dist/mail.d.ts +16 -0
  161. package/dist/node_modules/@allyhub/cloud/dist/mail.js +2 -0
  162. package/dist/node_modules/@allyhub/cloud/dist/pkce.d.ts +11 -0
  163. package/dist/node_modules/@allyhub/cloud/dist/records.d.ts +42 -0
  164. package/dist/node_modules/@allyhub/cloud/dist/signin-worker.d.ts +2 -0
  165. package/dist/node_modules/@allyhub/cloud/dist/signin.d.ts +40 -0
  166. package/dist/node_modules/@allyhub/cloud/dist/sites.d.ts +20 -0
  167. package/dist/node_modules/@allyhub/cloud/dist/token.d.ts +20 -0
  168. package/dist/node_modules/@allyhub/cloud/dist/token.js +1 -1
  169. package/dist/node_modules/@allyhub/cloud/dist/uploads.d.ts +58 -0
  170. package/dist/node_modules/@allyhub/cloud/dist/voice.d.ts +22 -0
  171. package/dist/node_modules/@allyhub/cloud/package.json +1 -1
  172. package/dist/node_modules/@allyhub/components/package.json +1 -1
  173. package/dist/node_modules/@allyhub/components/r/callout.json +2 -4
  174. package/dist/node_modules/@allyhub/components/r/caption-line.json +1 -3
  175. package/dist/node_modules/@allyhub/components/r/caption-subtitle.json +1 -3
  176. package/dist/node_modules/@allyhub/components/r/caption-word.json +1 -3
  177. package/dist/node_modules/@allyhub/components/r/chart.json +2 -4
  178. package/dist/node_modules/@allyhub/components/r/code-panel.json +2 -4
  179. package/dist/node_modules/@allyhub/components/r/connector.json +19 -0
  180. package/dist/node_modules/@allyhub/components/r/screen-demo.json +2 -4
  181. package/dist/node_modules/@allyhub/components/registry.json +6 -0
  182. package/dist/node_modules/@allyhub/components/src/callout.ts +80 -4
  183. package/dist/node_modules/@allyhub/components/src/chart.ts +14 -6
  184. package/dist/node_modules/@allyhub/components/src/code-panel.ts +10 -5
  185. package/dist/node_modules/@allyhub/components/src/connector.ts +295 -0
  186. package/dist/node_modules/@allyhub/components/src/index.ts +6 -0
  187. package/dist/node_modules/@allyhub/components/src/screen-demo.ts +47 -25
  188. package/dist/node_modules/@allyhub/dev-server/dist/background.js +1 -1
  189. package/dist/node_modules/@allyhub/dev-server/dist/card.js +1 -1
  190. package/dist/node_modules/@allyhub/dev-server/dist/exports.js +1 -1
  191. package/dist/node_modules/@allyhub/dev-server/dist/index.js +1 -1
  192. package/dist/node_modules/@allyhub/dev-server/dist/kinds.js +2 -0
  193. package/dist/node_modules/@allyhub/dev-server/dist/live.js +1 -1
  194. package/dist/node_modules/@allyhub/dev-server/dist/presence.js +2 -0
  195. package/dist/node_modules/@allyhub/dev-server/dist/project.js +1 -1
  196. package/dist/node_modules/@allyhub/dev-server/dist/reach.js +1 -1
  197. package/dist/node_modules/@allyhub/dev-server/dist/record.js +1 -1
  198. package/dist/node_modules/@allyhub/dev-server/dist/routes.js +2 -0
  199. package/dist/node_modules/@allyhub/dev-server/dist/server.js +2 -2
  200. package/dist/node_modules/@allyhub/dev-server/dist/texts.js +4 -0
  201. package/dist/node_modules/@allyhub/dev-server/dist/tools.js +1 -1
  202. package/dist/node_modules/@allyhub/dev-server/dist/tree.js +1 -1
  203. package/dist/node_modules/@allyhub/dev-server/dist/validate.js +2 -2
  204. package/dist/node_modules/@allyhub/dev-server/dist/watcher.js +1 -1
  205. package/dist/node_modules/@allyhub/dev-server/dist/writer.js +2 -2
  206. package/dist/node_modules/@allyhub/dev-server/package.json +1 -1
  207. package/dist/node_modules/@allyhub/diagnostics/LICENSE +241 -0
  208. package/dist/node_modules/@allyhub/diagnostics/dist/fact.d.ts +37 -0
  209. package/dist/node_modules/@allyhub/diagnostics/dist/fact.js +2 -0
  210. package/dist/node_modules/@allyhub/diagnostics/dist/index.d.ts +4 -0
  211. package/dist/node_modules/@allyhub/diagnostics/dist/index.js +2 -0
  212. package/dist/node_modules/@allyhub/diagnostics/dist/problem.d.ts +43 -0
  213. package/dist/node_modules/@allyhub/diagnostics/dist/problem.js +2 -0
  214. package/dist/node_modules/@allyhub/diagnostics/dist/rules.d.ts +30 -0
  215. package/dist/node_modules/@allyhub/diagnostics/dist/rules.js +2 -0
  216. package/dist/node_modules/@allyhub/diagnostics/package.json +14 -0
  217. package/dist/node_modules/@allyhub/doc/dist/captions.js +2 -0
  218. package/dist/node_modules/@allyhub/doc/dist/chart.js +1 -1
  219. package/dist/node_modules/@allyhub/doc/dist/cite.js +2 -0
  220. package/dist/node_modules/@allyhub/doc/dist/component.js +1 -1
  221. package/dist/node_modules/@allyhub/doc/dist/covers.js +61 -0
  222. package/dist/node_modules/@allyhub/doc/dist/docx.js +4 -4
  223. package/dist/node_modules/@allyhub/doc/dist/html.js +243 -56
  224. package/dist/node_modules/@allyhub/doc/dist/index.js +1 -1
  225. package/dist/node_modules/@allyhub/doc/dist/markdown.js +1 -1
  226. package/dist/node_modules/@allyhub/doc/dist/model.js +1 -1
  227. package/dist/node_modules/@allyhub/doc/dist/page.js +2 -0
  228. package/dist/node_modules/@allyhub/doc/dist/paper.js +1 -1
  229. package/dist/node_modules/@allyhub/doc/dist/parse.js +4 -4
  230. package/dist/node_modules/@allyhub/doc/dist/table.js +2 -0
  231. package/dist/node_modules/@allyhub/doc/dist/write.js +33 -28
  232. package/dist/node_modules/@allyhub/doc/package.json +1 -1
  233. package/dist/node_modules/@allyhub/doc-extension/LICENSE +241 -0
  234. package/dist/node_modules/@allyhub/doc-extension/dist/build.js +3 -0
  235. package/dist/node_modules/@allyhub/doc-extension/dist/cli/cover.js +4 -0
  236. package/dist/node_modules/@allyhub/doc-extension/dist/cli/find.js +2 -0
  237. package/dist/node_modules/@allyhub/doc-extension/dist/cli/index.js +2 -0
  238. package/dist/node_modules/@allyhub/doc-extension/dist/cli/pictures.js +2 -0
  239. package/dist/node_modules/@allyhub/doc-extension/dist/export.js +2 -0
  240. package/dist/node_modules/@allyhub/doc-extension/dist/inspect.js +3 -0
  241. package/dist/node_modules/@allyhub/doc-extension/dist/project-tools.js +2 -0
  242. package/dist/node_modules/@allyhub/doc-extension/dist/tools.js +2 -0
  243. package/dist/node_modules/@allyhub/doc-extension/dist/workspace.js +2 -0
  244. package/dist/node_modules/@allyhub/doc-extension/package.json +187 -0
  245. package/dist/node_modules/@allyhub/doc-print/LICENSE +241 -0
  246. package/dist/node_modules/@allyhub/doc-print/dist/facts.js +2 -0
  247. package/dist/node_modules/@allyhub/doc-print/dist/fonts.js +4 -0
  248. package/dist/node_modules/@allyhub/doc-print/dist/index.js +2 -0
  249. package/dist/node_modules/@allyhub/doc-print/dist/layout.js +116 -0
  250. package/dist/node_modules/@allyhub/doc-print/dist/pages.js +77 -0
  251. package/dist/node_modules/@allyhub/doc-print/dist/print.js +68 -0
  252. package/dist/node_modules/@allyhub/doc-print/package.json +13 -0
  253. package/dist/node_modules/@allyhub/export/dist/batch.js +1 -1
  254. package/dist/node_modules/@allyhub/export/dist/export.js +1 -6
  255. package/dist/node_modules/@allyhub/export/dist/index.js +1 -1
  256. package/dist/node_modules/@allyhub/export/dist/names.js +1 -1
  257. package/dist/node_modules/@allyhub/export/dist/processors.js +2 -0
  258. package/dist/node_modules/@allyhub/export/package.json +1 -1
  259. package/dist/node_modules/@allyhub/extension-api/LICENSE +241 -0
  260. package/dist/node_modules/@allyhub/extension-api/dist/api.js +2 -0
  261. package/dist/node_modules/@allyhub/extension-api/dist/index.js +2 -0
  262. package/dist/node_modules/@allyhub/extension-api/dist/lifecycle.js +2 -0
  263. package/dist/node_modules/@allyhub/extension-api/package.json +14 -0
  264. package/dist/node_modules/@allyhub/extension-host/LICENSE +241 -0
  265. package/dist/node_modules/@allyhub/extension-host/dist/host.js +2 -0
  266. package/dist/node_modules/@allyhub/extension-host/dist/index.js +2 -0
  267. package/dist/node_modules/@allyhub/extension-host/dist/node.js +3 -0
  268. package/dist/node_modules/@allyhub/extension-host/dist/points.js +2 -0
  269. package/dist/node_modules/@allyhub/extension-host/dist/shell.js +2 -0
  270. package/dist/node_modules/@allyhub/extension-host/package.json +22 -0
  271. package/dist/node_modules/@allyhub/formats/dist/contributed.d.ts +126 -0
  272. package/dist/node_modules/@allyhub/formats/dist/contributed.js +2 -0
  273. package/dist/node_modules/@allyhub/formats/dist/data/faces.d.ts +1 -1
  274. package/dist/node_modules/@allyhub/formats/dist/data/reference.d.ts +7 -12
  275. package/dist/node_modules/@allyhub/formats/dist/data/reference.js +1 -1
  276. package/dist/node_modules/@allyhub/formats/dist/data/script.d.ts +9 -4
  277. package/dist/node_modules/@allyhub/formats/dist/data/script.js +1 -1
  278. package/dist/node_modules/@allyhub/formats/dist/data/sheet.d.ts +20 -82
  279. package/dist/node_modules/@allyhub/formats/dist/data/sheet.js +1 -1
  280. package/dist/node_modules/@allyhub/formats/dist/data/slides.d.ts +96 -8
  281. package/dist/node_modules/@allyhub/formats/dist/data/slides.js +1 -1
  282. package/dist/node_modules/@allyhub/formats/dist/data/website.d.ts +2 -1
  283. package/dist/node_modules/@allyhub/formats/dist/data/website.js +1 -1
  284. package/dist/node_modules/@allyhub/formats/dist/data/work.d.ts +42 -0
  285. package/dist/node_modules/@allyhub/formats/dist/data/work.js +2 -0
  286. package/dist/node_modules/@allyhub/formats/dist/extension.d.ts +91 -0
  287. package/dist/node_modules/@allyhub/formats/dist/extension.js +2 -0
  288. package/dist/node_modules/@allyhub/formats/dist/files.d.ts +51 -0
  289. package/dist/node_modules/@allyhub/formats/dist/files.js +2 -0
  290. package/dist/node_modules/@allyhub/formats/dist/index.d.ts +5 -1
  291. package/dist/node_modules/@allyhub/formats/dist/index.js +1 -1
  292. package/dist/node_modules/@allyhub/formats/dist/items.d.ts +226 -90
  293. package/dist/node_modules/@allyhub/formats/dist/items.js +1 -1
  294. package/dist/node_modules/@allyhub/formats/dist/layout.d.ts +7 -1
  295. package/dist/node_modules/@allyhub/formats/dist/layout.js +1 -1
  296. package/dist/node_modules/@allyhub/formats/dist/schemas.d.ts +46 -42
  297. package/dist/node_modules/@allyhub/formats/dist/schemas.js +1 -1
  298. package/dist/node_modules/@allyhub/formats/package.json +1 -1
  299. package/dist/node_modules/@allyhub/i18n/LICENSE +241 -0
  300. package/dist/node_modules/@allyhub/i18n/dist/index.js +2 -0
  301. package/dist/node_modules/@allyhub/i18n/package.json +13 -0
  302. package/dist/node_modules/@allyhub/image-draw/LICENSE +241 -0
  303. package/dist/node_modules/@allyhub/image-draw/dist/context.js +2 -0
  304. package/dist/node_modules/@allyhub/image-draw/dist/env.js +2 -0
  305. package/dist/node_modules/@allyhub/image-draw/dist/errors.js +2 -0
  306. package/dist/node_modules/@allyhub/image-draw/dist/hash.js +2 -0
  307. package/dist/node_modules/@allyhub/image-draw/dist/inspect.js +3 -0
  308. package/dist/node_modules/@allyhub/image-draw/dist/layer-style.js +2 -0
  309. package/dist/node_modules/@allyhub/image-draw/dist/paint.js +2 -0
  310. package/dist/node_modules/@allyhub/image-draw/dist/plan.js +2 -0
  311. package/dist/node_modules/@allyhub/image-draw/dist/reads.js +2 -0
  312. package/dist/node_modules/@allyhub/image-draw/dist/shape-path.js +2 -0
  313. package/dist/node_modules/@allyhub/image-draw/dist/stage.js +2 -0
  314. package/dist/node_modules/@allyhub/image-draw/dist/tone.js +2 -0
  315. package/dist/node_modules/@allyhub/image-draw/package.json +14 -0
  316. package/dist/node_modules/@allyhub/image-extension/LICENSE +241 -0
  317. package/dist/node_modules/@allyhub/image-extension/dist/build-plugins.js +2 -0
  318. package/dist/node_modules/@allyhub/image-extension/dist/build.js +2 -0
  319. package/dist/node_modules/@allyhub/image-extension/dist/check.js +2 -0
  320. package/dist/node_modules/@allyhub/image-extension/dist/cli.js +3 -0
  321. package/dist/node_modules/@allyhub/image-extension/dist/evaluate.js +2 -0
  322. package/dist/node_modules/@allyhub/image-extension/dist/export.js +2 -0
  323. package/dist/node_modules/@allyhub/image-extension/dist/facts.js +2 -0
  324. package/dist/node_modules/@allyhub/image-extension/dist/project-tools.js +2 -0
  325. package/dist/node_modules/@allyhub/image-extension/dist/sources.js +2 -0
  326. package/dist/node_modules/@allyhub/image-extension/dist/stage.js +2 -0
  327. package/dist/node_modules/@allyhub/image-extension/dist/tools.js +2 -0
  328. package/dist/node_modules/@allyhub/image-extension/dist/workspace.js +2 -0
  329. package/dist/node_modules/@allyhub/image-extension/package.json +276 -0
  330. package/dist/node_modules/@allyhub/image-extension/skills/allyhub/references/images.md +44 -0
  331. package/dist/node_modules/@allyhub/image-measure/LICENSE +241 -0
  332. package/dist/node_modules/@allyhub/image-measure/dist/contrast.js +2 -0
  333. package/dist/node_modules/@allyhub/image-measure/dist/layout.js +5 -0
  334. package/dist/node_modules/@allyhub/image-measure/package.json +14 -0
  335. package/dist/node_modules/@allyhub/image-psd/LICENSE +241 -0
  336. package/dist/node_modules/@allyhub/image-psd/dist/index.js +2 -0
  337. package/dist/node_modules/@allyhub/image-psd/dist/map.js +2 -0
  338. package/dist/node_modules/@allyhub/image-psd/dist/pixels.js +2 -0
  339. package/dist/node_modules/@allyhub/image-psd/dist/read.js +18 -0
  340. package/dist/node_modules/@allyhub/image-psd/dist/write.js +2 -0
  341. package/dist/node_modules/@allyhub/image-psd/package.json +14 -0
  342. package/dist/node_modules/@allyhub/image-render/LICENSE +241 -0
  343. package/dist/node_modules/@allyhub/image-render/dist/webp.js +2 -0
  344. package/dist/node_modules/@allyhub/image-render/package.json +14 -0
  345. package/dist/node_modules/@allyhub/image-runtime/LICENSE +241 -0
  346. package/dist/node_modules/@allyhub/image-runtime/dist/board.js +2 -0
  347. package/dist/node_modules/@allyhub/image-runtime/dist/index.js +2 -0
  348. package/dist/node_modules/@allyhub/image-runtime/dist/layers.js +2 -0
  349. package/dist/node_modules/@allyhub/image-runtime/dist/load.js +3 -0
  350. package/dist/node_modules/@allyhub/image-runtime/dist/overset.js +2 -0
  351. package/dist/node_modules/@allyhub/image-runtime/dist/psd.js +2 -0
  352. package/dist/node_modules/@allyhub/image-runtime/package.json +18 -0
  353. package/dist/node_modules/@allyhub/image-sdk/LICENSE +241 -0
  354. package/dist/node_modules/@allyhub/image-sdk/dist/adjustment.js +2 -0
  355. package/dist/node_modules/@allyhub/image-sdk/dist/define.js +2 -0
  356. package/dist/node_modules/@allyhub/image-sdk/dist/dom.js +2 -0
  357. package/dist/node_modules/@allyhub/image-sdk/dist/fill.js +2 -0
  358. package/dist/node_modules/@allyhub/image-sdk/dist/fit.js +2 -0
  359. package/dist/node_modules/@allyhub/image-sdk/dist/group.js +2 -0
  360. package/dist/node_modules/@allyhub/image-sdk/dist/index.js +2 -0
  361. package/dist/node_modules/@allyhub/image-sdk/dist/media.js +2 -0
  362. package/dist/node_modules/@allyhub/image-sdk/dist/messages.js +2 -0
  363. package/dist/node_modules/@allyhub/image-sdk/dist/picture.js +2 -0
  364. package/dist/node_modules/@allyhub/image-sdk/dist/props.js +2 -0
  365. package/dist/node_modules/@allyhub/image-sdk/dist/shape.js +2 -0
  366. package/dist/node_modules/@allyhub/image-sdk/dist/stack.js +2 -0
  367. package/dist/node_modules/@allyhub/image-sdk/dist/text-layer.js +2 -0
  368. package/dist/node_modules/@allyhub/image-sdk/dist/text.js +2 -0
  369. package/dist/node_modules/@allyhub/image-sdk/dist/written.js +2 -0
  370. package/dist/node_modules/@allyhub/image-sdk/package.json +19 -0
  371. package/dist/node_modules/@allyhub/jobs/dist/index.d.ts +3 -0
  372. package/dist/node_modules/@allyhub/jobs/dist/jobs.d.ts +139 -0
  373. package/dist/node_modules/@allyhub/jobs/dist/show.d.ts +41 -0
  374. package/dist/node_modules/@allyhub/jobs/package.json +1 -1
  375. package/dist/node_modules/@allyhub/measure/dist/compare.d.ts +195 -0
  376. package/dist/node_modules/@allyhub/measure/dist/compare.js +1 -1
  377. package/dist/node_modules/@allyhub/measure/dist/grain.d.ts +8 -0
  378. package/dist/node_modules/@allyhub/measure/dist/grain.js +2 -0
  379. package/dist/node_modules/@allyhub/measure/dist/image.d.ts +16 -0
  380. package/dist/node_modules/@allyhub/measure/dist/index.d.ts +4 -0
  381. package/dist/node_modules/@allyhub/measure/dist/index.js +1 -1
  382. package/dist/node_modules/@allyhub/measure/package.json +1 -1
  383. package/dist/node_modules/@allyhub/media/NOTICE +1 -42
  384. package/dist/node_modules/@allyhub/media/dist/analysis.d.ts +25 -0
  385. package/dist/node_modules/@allyhub/media/dist/analysis.js +2 -0
  386. package/dist/node_modules/@allyhub/media/dist/audio.d.ts +2 -0
  387. package/dist/node_modules/@allyhub/media/dist/audio.js +1 -1
  388. package/dist/node_modules/@allyhub/media/dist/errors.d.ts +2 -2
  389. package/dist/node_modules/@allyhub/media/dist/index.d.ts +5 -21
  390. package/dist/node_modules/@allyhub/media/dist/index.js +1 -1
  391. package/dist/node_modules/@allyhub/media/dist/tools.d.ts +2 -12
  392. package/dist/node_modules/@allyhub/media/dist/tools.js +1 -1
  393. package/dist/node_modules/@allyhub/media/dist/video.js +1 -1
  394. package/dist/node_modules/@allyhub/media/dist/vision/cache.d.ts +2 -2
  395. package/dist/node_modules/@allyhub/media/package.json +1 -1
  396. package/dist/node_modules/@allyhub/media-extension/LICENSE +241 -0
  397. package/dist/node_modules/@allyhub/media-extension/dist/analyses/faces.js +2 -0
  398. package/dist/node_modules/@allyhub/media-extension/dist/analyses/matte.js +2 -0
  399. package/dist/node_modules/@allyhub/media-extension/dist/asr/hear.js +2 -0
  400. package/dist/node_modules/@allyhub/media-extension/dist/asr/transcribe.js +2 -0
  401. package/dist/node_modules/@allyhub/media-extension/dist/cloud.js +2 -0
  402. package/dist/node_modules/@allyhub/media-extension/dist/index.js +2 -0
  403. package/dist/node_modules/@allyhub/media-extension/dist/ocr/text.js +2 -0
  404. package/dist/node_modules/@allyhub/media-extension/dist/vision/boxes.js +2 -0
  405. package/dist/node_modules/@allyhub/media-extension/dist/vision/common.js +2 -0
  406. package/dist/node_modules/@allyhub/media-extension/dist/vision/faces.js +2 -0
  407. package/dist/node_modules/@allyhub/media-extension/dist/vision/index-media.js +3 -0
  408. package/dist/node_modules/@allyhub/media-extension/dist/vision/matte.js +2 -0
  409. package/dist/node_modules/@allyhub/media-extension/dist/vision/mattes.js +2 -0
  410. package/dist/node_modules/@allyhub/media-extension/dist/vision/track.js +2 -0
  411. package/dist/node_modules/@allyhub/media-extension/package.json +62 -0
  412. package/dist/node_modules/@allyhub/model/dist/data.d.ts +7 -2
  413. package/dist/node_modules/@allyhub/model/dist/data.js +1 -1
  414. package/dist/node_modules/@allyhub/model/package.json +1 -1
  415. package/dist/node_modules/@allyhub/ooxml/dist/generated/presets.js +1 -1
  416. package/dist/node_modules/@allyhub/ooxml/dist/geometry/index.js +1 -1
  417. package/dist/node_modules/@allyhub/ooxml/package.json +1 -1
  418. package/dist/node_modules/@allyhub/piece/LICENSE +241 -0
  419. package/dist/node_modules/@allyhub/piece/dist/anchors.d.ts +156 -0
  420. package/dist/node_modules/@allyhub/piece/dist/component.js +2 -0
  421. package/dist/node_modules/@allyhub/piece/dist/context.d.ts +39 -0
  422. package/dist/node_modules/@allyhub/piece/dist/context.js +2 -0
  423. package/dist/node_modules/@allyhub/piece/dist/contrast.d.ts +98 -0
  424. package/dist/node_modules/@allyhub/piece/dist/export.d.ts +114 -0
  425. package/dist/node_modules/@allyhub/piece/dist/export.js +2 -0
  426. package/dist/node_modules/@allyhub/piece/dist/formats.d.ts +149 -0
  427. package/dist/node_modules/@allyhub/piece/dist/formats.js +2 -0
  428. package/dist/node_modules/@allyhub/piece/dist/gen.d.ts +104 -0
  429. package/dist/node_modules/@allyhub/piece/dist/index.d.ts +26 -0
  430. package/dist/node_modules/@allyhub/piece/dist/index.js +2 -0
  431. package/dist/node_modules/@allyhub/piece/dist/layer-style.d.ts +1558 -0
  432. package/dist/node_modules/@allyhub/piece/dist/layer-style.js +2 -0
  433. package/dist/node_modules/@allyhub/piece/dist/layer.d.ts +389 -0
  434. package/dist/node_modules/@allyhub/piece/dist/layer.js +2 -0
  435. package/dist/node_modules/@allyhub/piece/dist/layout.d.ts +421 -0
  436. package/dist/node_modules/@allyhub/piece/dist/layout.js +2 -0
  437. package/dist/node_modules/@allyhub/piece/dist/look.d.ts +66 -0
  438. package/dist/node_modules/@allyhub/piece/dist/media.d.ts +256 -0
  439. package/dist/node_modules/@allyhub/piece/dist/media.js +2 -0
  440. package/dist/node_modules/@allyhub/piece/dist/messages.d.ts +94 -0
  441. package/dist/node_modules/@allyhub/piece/dist/names.d.ts +26 -0
  442. package/dist/node_modules/@allyhub/piece/dist/names.js +2 -0
  443. package/dist/node_modules/@allyhub/piece/dist/page/console.d.ts +21 -0
  444. package/dist/node_modules/@allyhub/piece/dist/page/console.js +2 -0
  445. package/dist/node_modules/@allyhub/piece/dist/page/index.d.ts +3 -0
  446. package/dist/node_modules/@allyhub/piece/dist/page/index.js +2 -0
  447. package/dist/node_modules/@allyhub/piece/dist/page/locate.d.ts +4 -0
  448. package/dist/node_modules/@allyhub/piece/dist/picture.d.ts +62 -0
  449. package/dist/node_modules/@allyhub/piece/dist/picture.js +2 -0
  450. package/dist/node_modules/@allyhub/piece/dist/piece.d.ts +15 -0
  451. package/dist/node_modules/@allyhub/piece/dist/piece.js +2 -0
  452. package/dist/node_modules/@allyhub/piece/dist/script.d.ts +81 -0
  453. package/dist/node_modules/@allyhub/piece/dist/script.js +2 -0
  454. package/dist/node_modules/@allyhub/piece/dist/source.d.ts +131 -0
  455. package/dist/node_modules/@allyhub/piece/dist/stage.d.ts +285 -0
  456. package/dist/node_modules/@allyhub/piece/dist/stage.js +2 -0
  457. package/dist/node_modules/@allyhub/piece/dist/version.d.ts +15 -0
  458. package/dist/node_modules/@allyhub/piece/dist/version.js +2 -0
  459. package/dist/node_modules/@allyhub/piece/dist/voice.d.ts +156 -0
  460. package/dist/node_modules/@allyhub/piece/package.json +18 -0
  461. package/dist/node_modules/@allyhub/project/dist/component-stills.js +11 -1
  462. package/dist/node_modules/@allyhub/project/dist/console.js +1 -1
  463. package/dist/node_modules/@allyhub/project/dist/digest.js +1 -1
  464. package/dist/node_modules/@allyhub/project/dist/index.js +1 -1
  465. package/dist/node_modules/@allyhub/project/dist/ledger.js +1 -1
  466. package/dist/node_modules/@allyhub/project/dist/media-index.js +1 -1
  467. package/dist/node_modules/@allyhub/project/dist/page.js +2 -2
  468. package/dist/node_modules/@allyhub/project/dist/part-keys.js +2 -0
  469. package/dist/node_modules/@allyhub/project/dist/part-measure.js +2 -0
  470. package/dist/node_modules/@allyhub/project/dist/part-pool.js +2 -0
  471. package/dist/node_modules/@allyhub/project/dist/session.js +1 -1
  472. package/dist/node_modules/@allyhub/project/dist/stills.js +1 -1
  473. package/dist/node_modules/@allyhub/project/dist/version.js +1 -1
  474. package/dist/node_modules/@allyhub/project/package.json +1 -1
  475. package/dist/node_modules/@allyhub/protocol/dist/account.d.ts +139 -0
  476. package/dist/node_modules/@allyhub/protocol/dist/account.js +1 -1
  477. package/dist/node_modules/@allyhub/protocol/dist/app.d.ts +3 -10
  478. package/dist/node_modules/@allyhub/protocol/dist/app.js +1 -1
  479. package/dist/node_modules/@allyhub/protocol/dist/cli.d.ts +12 -1
  480. package/dist/node_modules/@allyhub/protocol/dist/cli.js +1 -1
  481. package/dist/node_modules/@allyhub/protocol/dist/cloud.d.ts +2 -0
  482. package/dist/node_modules/@allyhub/protocol/dist/cloud.js +1 -1
  483. package/dist/node_modules/@allyhub/protocol/dist/editor.d.ts +232 -132
  484. package/dist/node_modules/@allyhub/protocol/dist/editor.js +1 -1
  485. package/dist/node_modules/@allyhub/protocol/dist/files.d.ts +2 -0
  486. package/dist/node_modules/@allyhub/protocol/dist/files.js +1 -1
  487. package/dist/node_modules/@allyhub/protocol/dist/frame.d.ts +22 -9
  488. package/dist/node_modules/@allyhub/protocol/dist/frame.js +1 -1
  489. package/dist/node_modules/@allyhub/protocol/dist/image.d.ts +8 -0
  490. package/dist/node_modules/@allyhub/protocol/dist/image.js +2 -0
  491. package/dist/node_modules/@allyhub/protocol/dist/index.d.ts +5 -0
  492. package/dist/node_modules/@allyhub/protocol/dist/index.js +1 -1
  493. package/dist/node_modules/@allyhub/protocol/dist/jobs.d.ts +6 -6
  494. package/dist/node_modules/@allyhub/protocol/dist/kinds.d.ts +98 -0
  495. package/dist/node_modules/@allyhub/protocol/dist/kinds.js +2 -0
  496. package/dist/node_modules/@allyhub/protocol/dist/mail.d.ts +273 -0
  497. package/dist/node_modules/@allyhub/protocol/dist/mail.js +2 -0
  498. package/dist/node_modules/@allyhub/protocol/dist/notes.d.ts +26 -0
  499. package/dist/node_modules/@allyhub/protocol/dist/notes.js +1 -1
  500. package/dist/node_modules/@allyhub/protocol/dist/peer.d.ts +59 -0
  501. package/dist/node_modules/@allyhub/protocol/dist/peer.js +2 -0
  502. package/dist/node_modules/@allyhub/protocol/dist/place.d.ts +21 -0
  503. package/dist/node_modules/@allyhub/protocol/dist/place.js +2 -0
  504. package/dist/node_modules/@allyhub/protocol/dist/presence.d.ts +125 -0
  505. package/dist/node_modules/@allyhub/protocol/dist/presence.js +2 -0
  506. package/dist/node_modules/@allyhub/protocol/dist/registry.d.ts +1 -1
  507. package/dist/node_modules/@allyhub/protocol/dist/routes.js +1 -1
  508. package/dist/node_modules/@allyhub/protocol/dist/shape.d.ts +35 -0
  509. package/dist/node_modules/@allyhub/protocol/dist/shape.js +2 -0
  510. package/dist/node_modules/@allyhub/protocol/dist/shares.d.ts +2 -8
  511. package/dist/node_modules/@allyhub/protocol/dist/shares.js +1 -1
  512. package/dist/node_modules/@allyhub/protocol/dist/snapshots.d.ts +70 -40
  513. package/dist/node_modules/@allyhub/protocol/dist/snapshots.js +1 -1
  514. package/dist/node_modules/@allyhub/protocol/dist/tools.d.ts +224 -177
  515. package/dist/node_modules/@allyhub/protocol/dist/tools.js +1 -1
  516. package/dist/node_modules/@allyhub/protocol/package.json +1 -1
  517. package/dist/node_modules/@allyhub/registry/package.json +1 -1
  518. package/dist/node_modules/@allyhub/render/dist/capture.js +1 -1
  519. package/dist/node_modules/@allyhub/render/dist/composite.js +1 -1
  520. package/dist/node_modules/@allyhub/render/dist/encode.js +1 -1
  521. package/dist/node_modules/@allyhub/render/dist/exports.js +2 -2
  522. package/dist/node_modules/@allyhub/render/dist/ffmpeg.js +3 -3
  523. package/dist/node_modules/@allyhub/render/dist/footage.js +1 -1
  524. package/dist/node_modules/@allyhub/render/dist/index.js +1 -1
  525. package/dist/node_modules/@allyhub/render/dist/junction.js +1 -1
  526. package/dist/node_modules/@allyhub/render/dist/parts.js +1 -1
  527. package/dist/node_modules/@allyhub/render/dist/post-probe.js +1 -1
  528. package/dist/node_modules/@allyhub/render/dist/post.js +1 -1
  529. package/dist/node_modules/@allyhub/render/dist/render.js +2 -2
  530. package/dist/node_modules/@allyhub/render/dist/sound.js +1 -1
  531. package/dist/node_modules/@allyhub/render/dist/tools.js +1 -1
  532. package/dist/node_modules/@allyhub/render/dist/version.js +2 -0
  533. package/dist/node_modules/@allyhub/render/package.json +1 -5
  534. package/dist/node_modules/@allyhub/runtime/dist/captions.js +1 -1
  535. package/dist/node_modules/@allyhub/runtime/dist/clock.js +1 -1
  536. package/dist/node_modules/@allyhub/runtime/dist/compose.js +1 -1
  537. package/dist/node_modules/@allyhub/runtime/dist/embed.js +1 -1
  538. package/dist/node_modules/@allyhub/runtime/dist/facade.js +1 -1
  539. package/dist/node_modules/@allyhub/runtime/dist/film.js +2 -0
  540. package/dist/node_modules/@allyhub/runtime/dist/footage.js +1 -1
  541. package/dist/node_modules/@allyhub/runtime/dist/frame.js +1 -1
  542. package/dist/node_modules/@allyhub/runtime/dist/index.js +1 -1
  543. package/dist/node_modules/@allyhub/runtime/dist/measure.js +2 -2
  544. package/dist/node_modules/@allyhub/runtime/dist/output.js +1 -1
  545. package/dist/node_modules/@allyhub/runtime/dist/piece.js +2 -2
  546. package/dist/node_modules/@allyhub/runtime/dist/player/player.js +1 -1
  547. package/dist/node_modules/@allyhub/runtime/dist/sound.js +1 -1
  548. package/dist/node_modules/@allyhub/runtime/dist/speech.js +1 -1
  549. package/dist/node_modules/@allyhub/runtime/dist/stage-kit.js +1 -1
  550. package/dist/node_modules/@allyhub/runtime/dist/takes.js +1 -1
  551. package/dist/node_modules/@allyhub/runtime/package.json +1 -5
  552. package/dist/node_modules/@allyhub/runtimes/dist/bundled.js +1 -1
  553. package/dist/node_modules/@allyhub/runtimes/dist/declared.d.ts +14 -0
  554. package/dist/node_modules/@allyhub/runtimes/dist/declared.js +2 -0
  555. package/dist/node_modules/@allyhub/runtimes/dist/ffmpeg.d.ts +15 -0
  556. package/dist/node_modules/@allyhub/runtimes/dist/ffmpeg.js +2 -0
  557. package/dist/node_modules/@allyhub/runtimes/dist/index.d.ts +2 -0
  558. package/dist/node_modules/@allyhub/runtimes/dist/index.js +1 -1
  559. package/dist/node_modules/@allyhub/runtimes/dist/packages.js +3 -3
  560. package/dist/node_modules/@allyhub/runtimes/dist/runtimes.d.ts +1 -0
  561. package/dist/node_modules/@allyhub/runtimes/dist/runtimes.js +1 -1
  562. package/dist/node_modules/@allyhub/runtimes/manifest.json +0 -82
  563. package/dist/node_modules/@allyhub/runtimes/package.json +1 -1
  564. package/dist/node_modules/@allyhub/scaffold/dist/index.js +6 -5
  565. package/dist/node_modules/@allyhub/scaffold/package.json +1 -1
  566. package/dist/node_modules/@allyhub/scenery/dist/define.d.ts +2 -0
  567. package/dist/node_modules/@allyhub/scenery/dist/define.js +1 -1
  568. package/dist/node_modules/@allyhub/scenery/package.json +1 -1
  569. package/dist/node_modules/@allyhub/scenery-host/dist/allyhub.d.ts +2 -3
  570. package/dist/node_modules/@allyhub/scenery-host/dist/bundle.d.ts +14 -7
  571. package/dist/node_modules/@allyhub/scenery-host/dist/bundle.js +4 -4
  572. package/dist/node_modules/@allyhub/scenery-host/dist/fact.d.ts +314 -0
  573. package/dist/node_modules/@allyhub/scenery-host/dist/fact.js +2 -0
  574. package/dist/node_modules/@allyhub/scenery-host/dist/index.d.ts +1 -0
  575. package/dist/node_modules/@allyhub/scenery-host/dist/index.js +1 -1
  576. package/dist/node_modules/@allyhub/scenery-host/dist/layer/index.d.ts +2 -2
  577. package/dist/node_modules/@allyhub/scenery-host/dist/layer/index.js +1 -1
  578. package/dist/node_modules/@allyhub/scenery-host/dist/layer/queries.d.ts +1 -1
  579. package/dist/node_modules/@allyhub/scenery-host/dist/layer/screens.d.ts +1 -1
  580. package/dist/node_modules/@allyhub/scenery-host/dist/layer/screens.js +1 -1
  581. package/dist/node_modules/@allyhub/scenery-host/dist/layer/state.d.ts +1 -1
  582. package/dist/node_modules/@allyhub/scenery-host/dist/layer/types.d.ts +2 -2
  583. package/dist/node_modules/@allyhub/scenery-host/dist/measure/facts.d.ts +3 -3
  584. package/dist/node_modules/@allyhub/scenery-host/dist/model-stage.d.ts +1 -1
  585. package/dist/node_modules/@allyhub/scenery-host/dist/model-stage.js +1 -1
  586. package/dist/node_modules/@allyhub/scenery-host/dist/stage/bakes.d.ts +42 -0
  587. package/dist/node_modules/@allyhub/scenery-host/dist/stage/bakes.js +4 -0
  588. package/dist/node_modules/@allyhub/scenery-host/dist/stage/index.d.ts +6 -0
  589. package/dist/node_modules/@allyhub/scenery-host/dist/stage/index.js +2 -0
  590. package/dist/node_modules/@allyhub/scenery-host/dist/stage/page.d.ts +70 -0
  591. package/dist/node_modules/@allyhub/scenery-host/dist/stage/page.js +12 -0
  592. package/dist/node_modules/@allyhub/scenery-host/dist/stage/solve.d.ts +49 -0
  593. package/dist/node_modules/@allyhub/scenery-host/dist/stage/version.d.ts +73 -0
  594. package/dist/node_modules/@allyhub/scenery-host/dist/stage/version.js +3 -0
  595. package/dist/node_modules/@allyhub/scenery-host/dist/stage/view.d.ts +18 -0
  596. package/dist/node_modules/@allyhub/scenery-host/dist/stage/view.js +2 -0
  597. package/dist/node_modules/@allyhub/scenery-host/package.json +5 -1
  598. package/dist/node_modules/@allyhub/sheet/dist/api/capabilities.js +1 -1
  599. package/dist/node_modules/@allyhub/sheet/dist/api/code.js +1 -1
  600. package/dist/node_modules/@allyhub/sheet/dist/api/workbook.js +1 -1
  601. package/dist/node_modules/@allyhub/sheet/dist/export.js +1 -1
  602. package/dist/node_modules/@allyhub/sheet/dist/file.js +1 -1
  603. package/dist/node_modules/@allyhub/sheet/dist/generated.js +1 -1
  604. package/dist/node_modules/@allyhub/sheet/dist/import.js +1 -1
  605. package/dist/node_modules/@allyhub/sheet/dist/index.js +1 -1
  606. package/dist/node_modules/@allyhub/sheet/dist/patch.js +1 -1
  607. package/dist/node_modules/@allyhub/sheet/dist/sdk.js +2 -0
  608. package/dist/node_modules/@allyhub/sheet/dist/workbook.js +1 -1
  609. package/dist/node_modules/@allyhub/sheet/dist/xlsx/import.js +1 -1
  610. package/dist/node_modules/@allyhub/sheet/package.json +5 -1
  611. package/dist/node_modules/@allyhub/sheet-extension/LICENSE +241 -0
  612. package/dist/node_modules/@allyhub/sheet-extension/dist/build-plugins.js +2 -0
  613. package/dist/node_modules/@allyhub/sheet-extension/dist/build.js +2 -0
  614. package/dist/node_modules/@allyhub/sheet-extension/dist/cli/index.js +2 -0
  615. package/dist/node_modules/@allyhub/sheet-extension/dist/cli/open.js +2 -0
  616. package/dist/node_modules/@allyhub/sheet-extension/dist/cli/sheet.js +8 -0
  617. package/dist/node_modules/@allyhub/sheet-extension/dist/code.js +2 -0
  618. package/dist/node_modules/@allyhub/sheet-extension/dist/evaluate.js +3 -0
  619. package/dist/node_modules/@allyhub/sheet-extension/dist/export.js +7 -0
  620. package/dist/node_modules/@allyhub/sheet-extension/dist/inspect.js +3 -0
  621. package/dist/node_modules/@allyhub/sheet-extension/dist/project-tools.js +2 -0
  622. package/dist/node_modules/@allyhub/sheet-extension/dist/tools.js +2 -0
  623. package/dist/node_modules/@allyhub/sheet-extension/dist/workspace.js +2 -0
  624. package/dist/node_modules/@allyhub/sheet-extension/package.json +209 -0
  625. package/dist/node_modules/@allyhub/slides-core/dist/animation.js +1 -1
  626. package/dist/node_modules/@allyhub/slides-core/dist/api.js +2 -2
  627. package/dist/node_modules/@allyhub/slides-core/dist/capabilities.js +1 -1
  628. package/dist/node_modules/@allyhub/slides-core/dist/chart-api.js +1 -1
  629. package/dist/node_modules/@allyhub/slides-core/dist/connect.js +2 -0
  630. package/dist/node_modules/@allyhub/slides-core/dist/fact.js +2 -0
  631. package/dist/node_modules/@allyhub/slides-core/dist/file.js +2 -2
  632. package/dist/node_modules/@allyhub/slides-core/dist/index.js +1 -1
  633. package/dist/node_modules/@allyhub/slides-core/dist/measure.js +1 -1
  634. package/dist/node_modules/@allyhub/slides-core/dist/merge.js +1 -1
  635. package/dist/node_modules/@allyhub/slides-core/dist/resolve.js +1 -1
  636. package/dist/node_modules/@allyhub/slides-core/dist/sdk.js +2 -0
  637. package/dist/node_modules/@allyhub/slides-core/dist/units.js +1 -1
  638. package/dist/node_modules/@allyhub/slides-core/package.json +5 -1
  639. package/dist/node_modules/@allyhub/slides-extension/LICENSE +241 -0
  640. package/dist/node_modules/@allyhub/slides-extension/dist/build-plugins.js +2 -0
  641. package/dist/node_modules/@allyhub/slides-extension/dist/build.js +2 -0
  642. package/dist/node_modules/@allyhub/slides-extension/dist/check.js +2 -0
  643. package/dist/node_modules/@allyhub/slides-extension/dist/cli/index.js +2 -0
  644. package/dist/node_modules/@allyhub/slides-extension/dist/cli/slides.js +3 -0
  645. package/dist/node_modules/@allyhub/slides-extension/dist/deck-info.js +2 -0
  646. package/dist/node_modules/@allyhub/slides-extension/dist/deck-pptx.js +2 -0
  647. package/dist/node_modules/@allyhub/slides-extension/dist/evaluate.js +3 -0
  648. package/dist/node_modules/@allyhub/slides-extension/dist/export.js +2 -0
  649. package/dist/node_modules/@allyhub/slides-extension/dist/project-tools.js +2 -0
  650. package/dist/node_modules/@allyhub/slides-extension/dist/read-view.js +2 -0
  651. package/dist/node_modules/@allyhub/slides-extension/dist/stage.js +2 -0
  652. package/dist/node_modules/@allyhub/slides-extension/dist/tools.js +2 -0
  653. package/dist/node_modules/@allyhub/slides-extension/dist/workspace.js +2 -0
  654. package/dist/node_modules/@allyhub/slides-extension/package.json +246 -0
  655. package/dist/node_modules/@allyhub/slides-pptx/dist/charts.js +1 -1
  656. package/dist/node_modules/@allyhub/slides-pptx/dist/import/code.js +3 -3
  657. package/dist/node_modules/@allyhub/slides-pptx/dist/import/index.js +2 -2
  658. package/dist/node_modules/@allyhub/slides-pptx/dist/import/script.js +1 -1
  659. package/dist/node_modules/@allyhub/slides-pptx/dist/read/chart.js +1 -1
  660. package/dist/node_modules/@allyhub/slides-pptx/dist/read/shapes.js +1 -1
  661. package/dist/node_modules/@allyhub/slides-pptx/dist/shapes.js +1 -1
  662. package/dist/node_modules/@allyhub/slides-pptx/dist/write.js +2 -2
  663. package/dist/node_modules/@allyhub/slides-pptx/package.json +1 -1
  664. package/dist/node_modules/@allyhub/slides-runtime/dist/component.js +1 -1
  665. package/dist/node_modules/@allyhub/slides-runtime/dist/draw.js +2 -2
  666. package/dist/node_modules/@allyhub/slides-runtime/dist/load.js +5 -5
  667. package/dist/node_modules/@allyhub/slides-runtime/package.json +1 -1
  668. package/dist/node_modules/@allyhub/stage/dist/build-process.js +2 -2
  669. package/dist/node_modules/@allyhub/stage/dist/build-worker.js +1 -1
  670. package/dist/node_modules/@allyhub/stage/dist/identity.js +1 -1
  671. package/dist/node_modules/@allyhub/stage/dist/index.js +1 -1
  672. package/dist/node_modules/@allyhub/stage/dist/page.js +2 -2
  673. package/dist/node_modules/@allyhub/stage/dist/server.js +1 -1
  674. package/dist/node_modules/@allyhub/stage/package.json +1 -1
  675. package/dist/node_modules/@allyhub/stage-page/dist/host.js +1 -1
  676. package/dist/node_modules/@allyhub/stage-page/dist/install.js +2 -0
  677. package/dist/node_modules/@allyhub/stage-page/dist/runtime/stage.js +2 -2
  678. package/dist/node_modules/@allyhub/stage-page/dist/stage-module.js +2 -0
  679. package/dist/node_modules/@allyhub/stage-page/package.json +5 -1
  680. package/dist/node_modules/@allyhub/stage-runtime/LICENSE +241 -0
  681. package/dist/node_modules/@allyhub/stage-runtime/dist/index.js +2 -0
  682. package/dist/node_modules/@allyhub/stage-runtime/dist/runtime.js +80 -0
  683. package/dist/node_modules/@allyhub/stage-runtime/dist/use.js +2 -0
  684. package/dist/node_modules/@allyhub/stage-runtime/package.json +17 -0
  685. package/dist/node_modules/@allyhub/video-core/dist/captions.js +1 -1
  686. package/dist/node_modules/@allyhub/video-core/dist/check.js +2 -0
  687. package/dist/node_modules/@allyhub/video-core/dist/cut-report.js +1 -1
  688. package/dist/node_modules/@allyhub/video-core/dist/edits.js +1 -1
  689. package/dist/node_modules/@allyhub/video-core/dist/fact.js +1 -1
  690. package/dist/node_modules/@allyhub/video-core/dist/footage-motion.js +1 -1
  691. package/dist/node_modules/@allyhub/video-core/dist/index.js +1 -1
  692. package/dist/node_modules/@allyhub/video-core/dist/measure.js +1 -4
  693. package/dist/node_modules/@allyhub/video-core/dist/mix-plan.js +2 -0
  694. package/dist/node_modules/@allyhub/video-core/dist/piece.js +1 -1
  695. package/dist/node_modules/@allyhub/video-core/dist/schema.js +1 -1
  696. package/dist/node_modules/@allyhub/video-core/dist/script-edit.js +1 -1
  697. package/dist/node_modules/@allyhub/video-core/dist/sound-under.js +1 -1
  698. package/dist/node_modules/@allyhub/video-core/dist/speech.js +2 -2
  699. package/dist/node_modules/@allyhub/video-core/dist/stage.js +2 -0
  700. package/dist/node_modules/@allyhub/video-core/dist/timeline.js +1 -1
  701. package/dist/node_modules/@allyhub/video-core/dist/timing.js +1 -1
  702. package/dist/node_modules/@allyhub/video-core/dist/transcript.js +1 -1
  703. package/dist/node_modules/@allyhub/video-core/package.json +1 -1
  704. package/dist/node_modules/@allyhub/video-extension/LICENSE +241 -0
  705. package/dist/node_modules/@allyhub/video-extension/dist/build-plugins.js +2 -0
  706. package/dist/node_modules/@allyhub/video-extension/dist/build.js +2 -0
  707. package/dist/node_modules/@allyhub/video-extension/dist/cli/audio-text.js +6 -0
  708. package/dist/node_modules/@allyhub/video-extension/dist/cli/audio.js +4 -0
  709. package/dist/node_modules/@allyhub/video-extension/dist/cli/cloud.js +2 -0
  710. package/dist/node_modules/@allyhub/video-extension/dist/cli/draw.js +2 -0
  711. package/dist/node_modules/@allyhub/video-extension/dist/cli/index.js +2 -0
  712. package/dist/node_modules/@allyhub/video-extension/dist/cli/reference-text.js +5 -0
  713. package/dist/node_modules/@allyhub/video-extension/dist/cli/reference.js +2 -0
  714. package/dist/node_modules/@allyhub/video-extension/dist/cli/voice.js +3 -0
  715. package/dist/node_modules/@allyhub/video-extension/dist/cli/words-text.js +6 -0
  716. package/dist/node_modules/@allyhub/video-extension/dist/cli/words.js +2 -0
  717. package/dist/node_modules/@allyhub/video-extension/dist/evaluate.js +2 -0
  718. package/dist/node_modules/@allyhub/video-extension/dist/export.js +2 -0
  719. package/dist/node_modules/@allyhub/video-extension/dist/inspect/common.js +2 -0
  720. package/dist/node_modules/@allyhub/video-extension/dist/inspect/contrast.js +2 -0
  721. package/dist/node_modules/@allyhub/video-extension/dist/inspect/fidelity.js +2 -0
  722. package/dist/node_modules/@allyhub/video-extension/dist/inspect/index.js +2 -0
  723. package/dist/node_modules/@allyhub/video-extension/dist/inspect/joins.js +2 -0
  724. package/dist/node_modules/@allyhub/video-extension/dist/inspect/motion.js +4 -0
  725. package/dist/node_modules/@allyhub/video-extension/dist/inspect/timeline-text.js +2 -0
  726. package/dist/node_modules/@allyhub/video-extension/dist/inspect/timeline.js +3 -0
  727. package/dist/node_modules/@allyhub/video-extension/dist/project-tools.js +2 -0
  728. package/dist/node_modules/@allyhub/video-extension/dist/read-view.js +2 -0
  729. package/dist/node_modules/@allyhub/video-extension/dist/sources.js +2 -0
  730. package/dist/node_modules/@allyhub/video-extension/dist/stage-routes.js +2 -0
  731. package/dist/node_modules/@allyhub/video-extension/dist/stage.js +2 -0
  732. package/dist/node_modules/@allyhub/video-extension/dist/tools.js +2 -0
  733. package/dist/node_modules/@allyhub/video-extension/dist/workspace.js +2 -0
  734. package/dist/node_modules/@allyhub/video-extension/package.json +454 -0
  735. package/dist/node_modules/@allyhub/video-measure/LICENSE +241 -0
  736. package/dist/node_modules/@allyhub/video-measure/dist/check.js +3 -0
  737. package/dist/node_modules/@allyhub/video-measure/dist/cuts.js +2 -0
  738. package/dist/node_modules/@allyhub/video-measure/dist/facts.js +2 -0
  739. package/dist/node_modules/@allyhub/video-measure/dist/generated.js +2 -0
  740. package/dist/node_modules/@allyhub/video-measure/dist/graphics.js +2 -0
  741. package/dist/node_modules/@allyhub/video-measure/dist/index.js +2 -0
  742. package/dist/node_modules/@allyhub/video-measure/dist/page.js +2 -0
  743. package/dist/node_modules/@allyhub/video-measure/dist/plans.js +3 -0
  744. package/dist/node_modules/@allyhub/video-measure/dist/recording-report.js +2 -0
  745. package/dist/node_modules/@allyhub/video-measure/dist/reference/piece.js +2 -0
  746. package/dist/node_modules/@allyhub/video-measure/dist/reference/sets.js +2 -0
  747. package/dist/node_modules/@allyhub/video-measure/dist/reference/text.js +2 -0
  748. package/dist/node_modules/@allyhub/video-measure/dist/reference/video.js +2 -0
  749. package/dist/node_modules/@allyhub/video-measure/dist/says.js +2 -0
  750. package/dist/node_modules/@allyhub/video-measure/dist/sound-report.js +2 -0
  751. package/dist/node_modules/@allyhub/video-measure/dist/stretch.js +2 -0
  752. package/dist/node_modules/@allyhub/video-measure/dist/version.js +2 -0
  753. package/dist/node_modules/@allyhub/video-measure/dist/words.js +3 -0
  754. package/dist/node_modules/@allyhub/video-measure/package.json +13 -0
  755. package/dist/node_modules/@allyhub/video-sdk/LICENSE +241 -0
  756. package/dist/node_modules/@allyhub/video-sdk/NOTICE +118 -0
  757. package/dist/node_modules/@allyhub/video-sdk/dist/anim.js +2 -0
  758. package/dist/node_modules/@allyhub/video-sdk/dist/free.js +2 -0
  759. package/dist/node_modules/@allyhub/video-sdk/dist/index.js +2 -0
  760. package/dist/node_modules/@allyhub/video-sdk/dist/input.js +2 -0
  761. package/dist/node_modules/@allyhub/video-sdk/dist/module.js +2 -0
  762. package/dist/node_modules/@allyhub/video-sdk/dist/noise.js +2 -0
  763. package/dist/node_modules/@allyhub/video-sdk/dist/parts.js +2 -0
  764. package/dist/node_modules/@allyhub/video-sdk/dist/paths.js +2 -0
  765. package/dist/node_modules/@allyhub/video-sdk/dist/phone.js +2 -0
  766. package/dist/node_modules/@allyhub/video-sdk/dist/piece.js +2 -0
  767. package/dist/node_modules/@allyhub/video-sdk/dist/route.js +2 -0
  768. package/dist/node_modules/@allyhub/video-sdk/dist/scenery.js +2 -0
  769. package/dist/node_modules/@allyhub/video-sdk/package.json +19 -0
  770. package/dist/node_modules/@allyhub/website/dist/publish.js +2 -2
  771. package/dist/node_modules/@allyhub/website/dist/website.js +3 -3
  772. package/dist/node_modules/@allyhub/website/package.json +1 -1
  773. package/dist/node_modules/@allyhub/website-extension/LICENSE +241 -0
  774. package/dist/node_modules/@allyhub/website-extension/dist/build.js +2 -0
  775. package/dist/node_modules/@allyhub/website-extension/dist/cli/index.js +2 -0
  776. package/dist/node_modules/@allyhub/website-extension/dist/cli/site.js +4 -0
  777. package/dist/node_modules/@allyhub/website-extension/dist/hosting.js +2 -0
  778. package/dist/node_modules/@allyhub/website-extension/dist/preview.js +6 -0
  779. package/dist/node_modules/@allyhub/website-extension/dist/project-tools.js +2 -0
  780. package/dist/node_modules/@allyhub/website-extension/dist/tools.js +2 -0
  781. package/dist/node_modules/@allyhub/website-extension/package.json +152 -0
  782. package/dist/node_modules/@allyhub/x-extension/LICENSE +241 -0
  783. package/dist/node_modules/@allyhub/x-extension/dist/article-build.js +4 -0
  784. package/dist/node_modules/@allyhub/x-extension/dist/article-kind.js +2 -0
  785. package/dist/node_modules/@allyhub/x-extension/dist/build-plugins.js +2 -0
  786. package/dist/node_modules/@allyhub/x-extension/dist/build.js +4 -0
  787. package/dist/node_modules/@allyhub/x-extension/dist/config.js +2 -0
  788. package/dist/node_modules/@allyhub/x-extension/dist/media.js +2 -0
  789. package/dist/node_modules/@allyhub/x-extension/dist/stage-module.js +67 -0
  790. package/dist/node_modules/@allyhub/x-extension/dist/stage.js +2 -0
  791. package/dist/node_modules/@allyhub/x-extension/dist/workspace.js +2 -0
  792. package/dist/node_modules/@allyhub/x-extension/package.json +277 -0
  793. package/dist/node_modules/@allyhub/x-extension/skills/allyhub/references/x.md +67 -0
  794. package/dist/node_modules/@allyhub/x-model/LICENSE +241 -0
  795. package/dist/node_modules/@allyhub/x-model/dist/article-check.js +5 -0
  796. package/dist/node_modules/@allyhub/x-model/dist/article.js +3 -0
  797. package/dist/node_modules/@allyhub/x-model/dist/check.js +2 -0
  798. package/dist/node_modules/@allyhub/x-model/dist/content-state.js +2 -0
  799. package/dist/node_modules/@allyhub/x-model/dist/count.js +2 -0
  800. package/dist/node_modules/@allyhub/x-model/dist/edit.js +3 -0
  801. package/dist/node_modules/@allyhub/x-model/dist/index.js +2 -0
  802. package/dist/node_modules/@allyhub/x-model/dist/limits.js +2 -0
  803. package/dist/node_modules/@allyhub/x-model/dist/post.js +2 -0
  804. package/dist/node_modules/@allyhub/x-model/dist/requests.js +2 -0
  805. package/dist/node_modules/@allyhub/x-model/package.json +14 -0
  806. package/dist/node_modules/@allyhub/x-view/LICENSE +241 -0
  807. package/dist/node_modules/@allyhub/x-view/dist/article.js +2 -0
  808. package/dist/node_modules/@allyhub/x-view/dist/index.js +2 -0
  809. package/dist/node_modules/@allyhub/x-view/dist/post.js +3 -0
  810. package/dist/node_modules/@allyhub/x-view/dist/stage.js +2 -0
  811. package/dist/node_modules/@allyhub/x-view/dist/text.js +2 -0
  812. package/dist/node_modules/@allyhub/x-view/package.json +21 -0
  813. package/dist/node_modules/@allyhub/x-view/src/style.css +709 -0
  814. package/dist/package.json +16 -0
  815. package/dist/parameters.js +1 -1
  816. package/dist/presence.js +2 -0
  817. package/dist/project.js +1 -1
  818. package/dist/sdk-docs.js +1 -1
  819. package/dist/text/batch-text.js +1 -1
  820. package/dist/text/console-text.js +1 -1
  821. package/dist/text/facts-text.js +5 -5
  822. package/dist/text/format.js +2 -2
  823. package/dist/text/index.js +1 -1
  824. package/dist/tool-options.js +1 -1
  825. package/dist/version.js +1 -1
  826. package/dist/works.js +1 -1
  827. package/editor-web/assets/abnfDiagram-WEYOIA3C-CN5PiJYY.js +1 -0
  828. package/editor-web/assets/alt-BOVao_9S.js +4 -0
  829. package/editor-web/assets/architecture-WOLXFQ4H-BnvZtQYk.js +1 -0
  830. package/editor-web/assets/architectureDiagram-ZHVYKT53-tkcEcFQ8.js +36 -0
  831. package/editor-web/assets/arrow-up-DTP2yVSU.js +1 -0
  832. package/editor-web/assets/article-B6YCzhj8.js +73 -0
  833. package/editor-web/assets/audio-lines-Ti8-m7H2.js +1 -0
  834. package/editor-web/assets/blockDiagram-RJAE7QA3-DhqEIpie.js +140 -0
  835. package/editor-web/assets/c4Diagram-XDPPPE54-Bg9G95tl.js +38 -0
  836. package/editor-web/assets/caladea-latin-400-italic-BXgumMrY.woff +0 -0
  837. package/editor-web/assets/caladea-latin-400-italic-LV4kG-PE.woff2 +0 -0
  838. package/editor-web/assets/caladea-latin-400-normal-BdRVtv9R.woff +0 -0
  839. package/editor-web/assets/caladea-latin-400-normal-CEHWF4nY.woff2 +0 -0
  840. package/editor-web/assets/caladea-latin-700-italic-ChDjCuPY.woff +0 -0
  841. package/editor-web/assets/caladea-latin-700-italic-DswTWW_F.woff2 +0 -0
  842. package/editor-web/assets/caladea-latin-700-normal-0s3Ufwiy.woff +0 -0
  843. package/editor-web/assets/caladea-latin-700-normal-Emkxzyyt.woff2 +0 -0
  844. package/editor-web/assets/caladea-latin-ext-400-italic-DaI5RAJ1.woff2 +0 -0
  845. package/editor-web/assets/caladea-latin-ext-400-italic-Ddrq60cI.woff +0 -0
  846. package/editor-web/assets/caladea-latin-ext-400-normal-BjxrNPcj.woff +0 -0
  847. package/editor-web/assets/caladea-latin-ext-400-normal-CyFL0oLC.woff2 +0 -0
  848. package/editor-web/assets/caladea-latin-ext-700-italic-BPwR0tp-.woff +0 -0
  849. package/editor-web/assets/caladea-latin-ext-700-italic-DKIXMnVd.woff2 +0 -0
  850. package/editor-web/assets/caladea-latin-ext-700-normal-jPPxbA1-.woff2 +0 -0
  851. package/editor-web/assets/caladea-latin-ext-700-normal-sbmkuTql.woff +0 -0
  852. package/editor-web/assets/calc-worker-B5-fDWnb.js +45 -0
  853. package/editor-web/assets/carlito-cyrillic-400-italic-BBq3u1wn.woff2 +0 -0
  854. package/editor-web/assets/carlito-cyrillic-400-italic-DkiFjkCS.woff +0 -0
  855. package/editor-web/assets/carlito-cyrillic-400-normal-BtG3bBmV.woff +0 -0
  856. package/editor-web/assets/carlito-cyrillic-400-normal-Bzv-FGbj.woff2 +0 -0
  857. package/editor-web/assets/carlito-cyrillic-700-italic-BWpxjWJ1.woff2 +0 -0
  858. package/editor-web/assets/carlito-cyrillic-700-italic-CkpLb3ak.woff +0 -0
  859. package/editor-web/assets/carlito-cyrillic-700-normal-Cj42L3Bs.woff2 +0 -0
  860. package/editor-web/assets/carlito-cyrillic-700-normal-bxg6f20d.woff +0 -0
  861. package/editor-web/assets/carlito-cyrillic-ext-400-italic-BiZjW1hk.woff2 +0 -0
  862. package/editor-web/assets/carlito-cyrillic-ext-400-italic-DcD3cPwb.woff +0 -0
  863. package/editor-web/assets/carlito-cyrillic-ext-400-normal-DYs6OoL4.woff2 +0 -0
  864. package/editor-web/assets/carlito-cyrillic-ext-400-normal-UzWcrHdi.woff +0 -0
  865. package/editor-web/assets/carlito-cyrillic-ext-700-italic-ClXPMqhh.woff2 +0 -0
  866. package/editor-web/assets/carlito-cyrillic-ext-700-italic-DoehkTRC.woff +0 -0
  867. package/editor-web/assets/carlito-cyrillic-ext-700-normal-BAPhAm-q.woff2 +0 -0
  868. package/editor-web/assets/carlito-cyrillic-ext-700-normal-C5O8kkCQ.woff +0 -0
  869. package/editor-web/assets/carlito-greek-400-italic-C1DqF7JR.woff2 +0 -0
  870. package/editor-web/assets/carlito-greek-400-italic-Cnl_RiK8.woff +0 -0
  871. package/editor-web/assets/carlito-greek-400-normal-Cv5gcxdy.woff2 +0 -0
  872. package/editor-web/assets/carlito-greek-400-normal-aOjZpsFX.woff +0 -0
  873. package/editor-web/assets/carlito-greek-700-italic-DfpwTZ8N.woff +0 -0
  874. package/editor-web/assets/carlito-greek-700-italic-VWqy950O.woff2 +0 -0
  875. package/editor-web/assets/carlito-greek-700-normal-B-Y_qvTa.woff +0 -0
  876. package/editor-web/assets/carlito-greek-700-normal-BXGaow7Z.woff2 +0 -0
  877. package/editor-web/assets/carlito-greek-ext-400-italic-BUNDIZnl.woff +0 -0
  878. package/editor-web/assets/carlito-greek-ext-400-italic-o-WxseCy.woff2 +0 -0
  879. package/editor-web/assets/carlito-greek-ext-400-normal-DnfnTswf.woff2 +0 -0
  880. package/editor-web/assets/carlito-greek-ext-400-normal-m-eDGcsW.woff +0 -0
  881. package/editor-web/assets/carlito-greek-ext-700-italic-DD0r8DLp.woff +0 -0
  882. package/editor-web/assets/carlito-greek-ext-700-italic-DiO5Rxw8.woff2 +0 -0
  883. package/editor-web/assets/carlito-greek-ext-700-normal-BGl1PQht.woff +0 -0
  884. package/editor-web/assets/carlito-greek-ext-700-normal-COKnZ-5a.woff2 +0 -0
  885. package/editor-web/assets/carlito-latin-400-italic-BiMes9J5.woff2 +0 -0
  886. package/editor-web/assets/carlito-latin-400-italic-DcRV6skQ.woff +0 -0
  887. package/editor-web/assets/carlito-latin-400-normal-R-CeALMm.woff2 +0 -0
  888. package/editor-web/assets/carlito-latin-400-normal-jEGHVXAP.woff +0 -0
  889. package/editor-web/assets/carlito-latin-700-italic-BkeTGILl.woff +0 -0
  890. package/editor-web/assets/carlito-latin-700-italic-Ckstd88m.woff2 +0 -0
  891. package/editor-web/assets/carlito-latin-700-normal-CjG3MLqY.woff +0 -0
  892. package/editor-web/assets/carlito-latin-700-normal-DQ6DOkPk.woff2 +0 -0
  893. package/editor-web/assets/carlito-latin-ext-400-italic-B7I2MSBC.woff +0 -0
  894. package/editor-web/assets/carlito-latin-ext-400-italic-CqQQuoTt.woff2 +0 -0
  895. package/editor-web/assets/carlito-latin-ext-400-normal-D112-ed2.woff +0 -0
  896. package/editor-web/assets/carlito-latin-ext-400-normal-DPZWia0-.woff2 +0 -0
  897. package/editor-web/assets/carlito-latin-ext-700-italic-BvVMpuZ3.woff2 +0 -0
  898. package/editor-web/assets/carlito-latin-ext-700-italic-Cocp2sK5.woff +0 -0
  899. package/editor-web/assets/carlito-latin-ext-700-normal-9QIvu-gI.woff +0 -0
  900. package/editor-web/assets/carlito-latin-ext-700-normal-D2WO8ap1.woff2 +0 -0
  901. package/editor-web/assets/carlito-vietnamese-400-italic-Dpe35oQb.woff +0 -0
  902. package/editor-web/assets/carlito-vietnamese-400-italic-vBbFSHZk.woff2 +0 -0
  903. package/editor-web/assets/carlito-vietnamese-400-normal-BA1ASEPx.woff2 +0 -0
  904. package/editor-web/assets/carlito-vietnamese-400-normal-D0HL2cT_.woff +0 -0
  905. package/editor-web/assets/carlito-vietnamese-700-italic-rWsihy0W.woff +0 -0
  906. package/editor-web/assets/carlito-vietnamese-700-italic-tiFMON_I.woff2 +0 -0
  907. package/editor-web/assets/carlito-vietnamese-700-normal-DIEsMQO6.woff +0 -0
  908. package/editor-web/assets/carlito-vietnamese-700-normal-gG8ns3Xg.woff2 +0 -0
  909. package/editor-web/assets/channel-C26aBI4o.js +1 -0
  910. package/editor-web/assets/chart-BOnxneyw.js +1 -0
  911. package/editor-web/assets/choice-O5nwc2N0.js +1 -0
  912. package/editor-web/assets/chunk-2E7WHVMD-C8Ve9lAa.js +88 -0
  913. package/editor-web/assets/chunk-4EMNKR2T-BDWwPUnT.js +1 -0
  914. package/editor-web/assets/chunk-55XCU76K-BQiNPKgx.js +1 -0
  915. package/editor-web/assets/chunk-7S6XSTFO-QoEt-6jf.js +2 -0
  916. package/editor-web/assets/chunk-AQDTSKZB-BeuwIv0-.js +72 -0
  917. package/editor-web/assets/chunk-DSNLSHJZ-BHW7sLAz.js +129 -0
  918. package/editor-web/assets/chunk-HAGFOTED-bbGED0hu.js +62 -0
  919. package/editor-web/assets/chunk-HNE4Q36P-FltWp8yo.js +1 -0
  920. package/editor-web/assets/chunk-NQOKRVIF-NeQzr6kH.js +213 -0
  921. package/editor-web/assets/chunk-UHW7PFBP-eA4-WUhn.js +1 -0
  922. package/editor-web/assets/chunk-VQ5W62QI-BPPv325z.js +1 -0
  923. package/editor-web/assets/chunk-WQQL4CDK-DOCIz7Te.js +10 -0
  924. package/editor-web/assets/chunk-YZO67HFG-Dc_ihQJi.js +1 -0
  925. package/editor-web/assets/chunk-ZAUX2LTX-CoqwCPSm.js +1 -0
  926. package/editor-web/assets/chunk-ZCHMQSOR-CZUQPkJx.js +2 -0
  927. package/editor-web/assets/classDiagram-v2-4MYWR3UA-DUh9c50k.js +217 -0
  928. package/editor-web/assets/collaborator-BJU5qwHd.js +1 -0
  929. package/editor-web/assets/cousine-cyrillic-400-normal-D7Mp9hmd.woff +0 -0
  930. package/editor-web/assets/cousine-cyrillic-400-normal-DaHhUWxZ.woff2 +0 -0
  931. package/editor-web/assets/cousine-cyrillic-700-normal-BEGCXyFC.woff +0 -0
  932. package/editor-web/assets/cousine-cyrillic-700-normal-BkkUdX_g.woff2 +0 -0
  933. package/editor-web/assets/cousine-cyrillic-ext-400-normal-CfRZlfI3.woff +0 -0
  934. package/editor-web/assets/cousine-cyrillic-ext-400-normal-DHXCUfGT.woff2 +0 -0
  935. package/editor-web/assets/cousine-cyrillic-ext-700-normal-C15KMCf5.woff2 +0 -0
  936. package/editor-web/assets/cousine-cyrillic-ext-700-normal-DhfE94aH.woff +0 -0
  937. package/editor-web/assets/cousine-greek-400-normal-CWPwwPBl.woff +0 -0
  938. package/editor-web/assets/cousine-greek-400-normal-D28eY3d7.woff2 +0 -0
  939. package/editor-web/assets/cousine-greek-700-normal-DsTT0TsI.woff2 +0 -0
  940. package/editor-web/assets/cousine-greek-700-normal-rpH_OJFi.woff +0 -0
  941. package/editor-web/assets/cousine-greek-ext-400-normal-n0k5mInY.woff +0 -0
  942. package/editor-web/assets/cousine-greek-ext-400-normal-qdX5ZLbv.woff2 +0 -0
  943. package/editor-web/assets/cousine-greek-ext-700-normal-CSy642Ya.woff +0 -0
  944. package/editor-web/assets/cousine-greek-ext-700-normal-DgHq_I2n.woff2 +0 -0
  945. package/editor-web/assets/cousine-hebrew-400-normal-COyK3YUR.woff2 +0 -0
  946. package/editor-web/assets/cousine-hebrew-400-normal-oCiNOOyc.woff +0 -0
  947. package/editor-web/assets/cousine-hebrew-700-normal-BCE0G3Nu.woff2 +0 -0
  948. package/editor-web/assets/cousine-hebrew-700-normal-Bf9jZ0p9.woff +0 -0
  949. package/editor-web/assets/cousine-latin-400-normal-BhCTjpdJ.woff2 +0 -0
  950. package/editor-web/assets/cousine-latin-400-normal-D0CzircV.woff +0 -0
  951. package/editor-web/assets/cousine-latin-700-normal-BO_dhHEP.woff +0 -0
  952. package/editor-web/assets/cousine-latin-700-normal-CwJ0o97b.woff2 +0 -0
  953. package/editor-web/assets/cousine-latin-ext-400-normal-B_NP9zZK.woff +0 -0
  954. package/editor-web/assets/cousine-latin-ext-400-normal-CGywThDL.woff2 +0 -0
  955. package/editor-web/assets/cousine-latin-ext-700-normal-DWTrZAet.woff2 +0 -0
  956. package/editor-web/assets/cousine-latin-ext-700-normal-NvcoPDWO.woff +0 -0
  957. package/editor-web/assets/cousine-vietnamese-400-normal-B4JqDdoh.woff2 +0 -0
  958. package/editor-web/assets/cousine-vietnamese-400-normal-Bfsm3lEf.woff +0 -0
  959. package/editor-web/assets/cousine-vietnamese-700-normal-B4DXCoMM.woff +0 -0
  960. package/editor-web/assets/cousine-vietnamese-700-normal-DLBKC3PH.woff2 +0 -0
  961. package/editor-web/assets/createLucideIcon-B3B95oX5.js +1 -0
  962. package/editor-web/assets/cynefin-EF2NZ3EQ-DUTZiog0.js +1 -0
  963. package/editor-web/assets/cynefinDiagram-WF24UDRP-oAjpfbrU.js +62 -0
  964. package/editor-web/assets/dagre-NK4GIZVX-BrKvKCvb.js +4 -0
  965. package/editor-web/assets/diagram-CBK3MWTC-GekVRnmm.js +24 -0
  966. package/editor-web/assets/diagram-I5XIIV2D-CDd1VFRT.js +24 -0
  967. package/editor-web/assets/diagram-ODIL2UCW-535RISTn.js +30 -0
  968. package/editor-web/assets/diagram-PFBEJUXE-MXzzKCGG.js +3 -0
  969. package/editor-web/assets/diagram-RJA3I4VV-vKVwkQxY.js +41 -0
  970. package/editor-web/assets/diagram-TYUNFSNR-UwGAiQLx.js +200 -0
  971. package/editor-web/assets/dist-9ymlIMhr.js +1 -0
  972. package/editor-web/assets/dist-C6NqUEG4.js +16 -0
  973. package/editor-web/assets/dist-C9UGmCG9.js +6 -0
  974. package/editor-web/assets/dist-CAk5bjBm.js +1 -0
  975. package/editor-web/assets/dist-CKyfo5RM.js +340 -0
  976. package/editor-web/assets/dist-CRaWqNwq.js +37 -0
  977. package/editor-web/assets/dist-CwIBc7HQ.js +1 -0
  978. package/editor-web/assets/dist-DXRmkezB.js +38 -0
  979. package/editor-web/assets/dist-EKK5i0dG.js +219 -0
  980. package/editor-web/assets/dist-YW8hS4IM.js +9 -0
  981. package/editor-web/assets/dist-hHJlpLWo.js +5 -0
  982. package/editor-web/assets/dist-oYKcwWUj.js +4 -0
  983. package/editor-web/assets/dist-shKo7XVN.js +2 -0
  984. package/editor-web/assets/dist-wrKxBrVu.js +24 -0
  985. package/editor-web/assets/ebnfDiagram-V4P3TTPT-73yGokYa.js +1 -0
  986. package/editor-web/assets/elk-QONTBCTQ-BW6V9y6a.js +27 -0
  987. package/editor-web/assets/erDiagram-KYQIGQAA-BPqIJ22h.js +99 -0
  988. package/editor-web/assets/eventmodeling-K75KTNOO-_VZ8jvuy.js +1 -0
  989. package/editor-web/assets/flowDiagram-IUGLLWBU-ouDQYiTr.js +1 -0
  990. package/editor-web/assets/ganttDiagram-R7GPNTJY-DZ157JN2.js +292 -0
  991. package/editor-web/assets/gitGraph-VSP46ZUC-fmcNL9bq.js +1 -0
  992. package/editor-web/assets/gitGraphDiagram-PDYL7XHY-DiZDyksR.js +106 -0
  993. package/editor-web/assets/hint-_AQWCDMj.js +1 -0
  994. package/editor-web/assets/index-BsstP-cI.js +28 -0
  995. package/editor-web/assets/index-DQRcmxBO.css +2 -0
  996. package/editor-web/assets/info-OHQRW6UA-V06620kN.js +1 -0
  997. package/editor-web/assets/infoDiagram-MVDRKAX5-CbIgheWX.js +2 -0
  998. package/editor-web/assets/ishikawaDiagram-HPEHV2GE-D5oJQPkG.js +70 -0
  999. package/editor-web/assets/italic-CDhZKo_q.js +1 -0
  1000. package/editor-web/assets/journeyDiagram-BOSHW7O7-BZEv6JI4.js +139 -0
  1001. package/editor-web/assets/jsx-runtime-DePvh3-m.js +1 -0
  1002. package/editor-web/assets/kanban-definition-FNSA4HC5-CLG1R8y_.js +89 -0
  1003. package/editor-web/assets/layout-SWqqA0yV.js +1 -0
  1004. package/editor-web/assets/mermaid-parser.core-DxDwXM7z.js +7 -0
  1005. package/editor-web/assets/mermaid.core-tU55ZwVG.js +44 -0
  1006. package/editor-web/assets/mindmap-definition-6OY57UG3-CYf4zzAh.js +98 -0
  1007. package/editor-web/assets/minus-Cgmm6ncD.js +1 -0
  1008. package/editor-web/assets/packet-JDAUHWVQ-DsHeKYNL.js +1 -0
  1009. package/editor-web/assets/pegDiagram-ECIUJNBX-CQyh6TTa.js +1 -0
  1010. package/editor-web/assets/picture-B-I4V_JT.js +1 -0
  1011. package/editor-web/assets/pie-XZMESJXO-3vCIvpNB.js +1 -0
  1012. package/editor-web/assets/pieDiagram-GNMPY74T-DF5yGBLn.js +39 -0
  1013. package/editor-web/assets/progress-0B_TVsPi.js +6 -0
  1014. package/editor-web/assets/quadrantDiagram-D57K4MC3-B7pxlDYP.js +7 -0
  1015. package/editor-web/assets/radar-ABXABTNO-cpEA41mL.js +1 -0
  1016. package/editor-web/assets/railroad-I3PHUGI6-BLyy5R2c.js +1 -0
  1017. package/editor-web/assets/railroad-abnf-LNEFI6M7-Y-oyol19.js +1 -0
  1018. package/editor-web/assets/railroad-ebnf-DWYD2UWJ-o58wHZsr.js +1 -0
  1019. package/editor-web/assets/railroad-peg-JR7BVNR7-CcD3PXZ8.js +1 -0
  1020. package/editor-web/assets/railroadDiagram-Y72NRBL7-BuCC4eyy.js +1 -0
  1021. package/editor-web/assets/react-BP46yLMB.js +1 -0
  1022. package/editor-web/assets/react-pgBZqVxJ.js +96 -0
  1023. package/editor-web/assets/read-view-DnCFmJFo.js +1 -0
  1024. package/editor-web/assets/read-view-uW5LmuBT.js +1 -0
  1025. package/editor-web/assets/read-view-v3cx-9XM.js +1 -0
  1026. package/editor-web/assets/repeat-2-C5PCbNsg.js +1 -0
  1027. package/editor-web/assets/requirementDiagram-EQYSW5RA-Dp-JFGn4.js +84 -0
  1028. package/editor-web/assets/sankeyDiagram-SY24JHO5-rYuCqEvw.js +40 -0
  1029. package/editor-web/assets/schemas-Ewwjtbf4.js +1 -0
  1030. package/editor-web/assets/sequenceDiagram-BLEHNHQU-DryW8x6d.js +169 -0
  1031. package/editor-web/assets/session-DiI9KYRI.js +1 -0
  1032. package/editor-web/assets/slides-CCwgBcGH.js +1 -0
  1033. package/editor-web/assets/sound-CqryteNl.js +1 -0
  1034. package/editor-web/assets/stateDiagram-v2-A6IESKWZ-Bnp0XfpT.js +291 -0
  1035. package/editor-web/assets/strikethrough-DJckA35o.js +1 -0
  1036. package/editor-web/assets/svg-BjM9RazX.js +1 -0
  1037. package/editor-web/assets/swatch-DL3HqIjW.js +1 -0
  1038. package/editor-web/assets/swimlanes-B3ENRKFQ-BiRRhhbd.js +1 -0
  1039. package/editor-web/assets/swimlanesDiagram-AYQRV4AK-BkOls8Tv.js +8 -0
  1040. package/editor-web/assets/switch-DltnKqN-.js +1 -0
  1041. package/editor-web/assets/syntax-C0iPON60.js +18 -0
  1042. package/editor-web/assets/syntax-CC6QYhCz.js +1 -0
  1043. package/editor-web/assets/tabs-C-re0Kxn.js +1 -0
  1044. package/editor-web/assets/textarea-BGtPqZdB.js +105 -0
  1045. package/editor-web/assets/timeline-definition-JXYKGLGB-D-Q5ZtDF.js +120 -0
  1046. package/editor-web/assets/tinos-cyrillic-400-italic-CUXT6ECP.woff +0 -0
  1047. package/editor-web/assets/tinos-cyrillic-400-italic-D26KjN84.woff2 +0 -0
  1048. package/editor-web/assets/tinos-cyrillic-400-normal-BInRL8Bn.woff +0 -0
  1049. package/editor-web/assets/tinos-cyrillic-400-normal-kS2dpklR.woff2 +0 -0
  1050. package/editor-web/assets/tinos-cyrillic-700-italic-CUFPRiVR.woff2 +0 -0
  1051. package/editor-web/assets/tinos-cyrillic-700-italic-DU6-gZzV.woff +0 -0
  1052. package/editor-web/assets/tinos-cyrillic-700-normal-DGklj3DM.woff2 +0 -0
  1053. package/editor-web/assets/tinos-cyrillic-700-normal-HYhic5tl.woff +0 -0
  1054. package/editor-web/assets/tinos-cyrillic-ext-400-italic-Bz6A2Xew.woff2 +0 -0
  1055. package/editor-web/assets/tinos-cyrillic-ext-400-italic-CgiySoL2.woff +0 -0
  1056. package/editor-web/assets/tinos-cyrillic-ext-400-normal-DdITlKdb.woff2 +0 -0
  1057. package/editor-web/assets/tinos-cyrillic-ext-400-normal-l41d2z3M.woff +0 -0
  1058. package/editor-web/assets/tinos-cyrillic-ext-700-italic-BQu9kgBz.woff +0 -0
  1059. package/editor-web/assets/tinos-cyrillic-ext-700-italic-Ceua-rFl.woff2 +0 -0
  1060. package/editor-web/assets/tinos-cyrillic-ext-700-normal-CE86bzrR.woff2 +0 -0
  1061. package/editor-web/assets/tinos-cyrillic-ext-700-normal-yBtNmQaZ.woff +0 -0
  1062. package/editor-web/assets/tinos-greek-400-italic-CITkaQD8.woff2 +0 -0
  1063. package/editor-web/assets/tinos-greek-400-italic-Dc-Zjc_Z.woff +0 -0
  1064. package/editor-web/assets/tinos-greek-400-normal-BKmklotr.woff2 +0 -0
  1065. package/editor-web/assets/tinos-greek-400-normal-D6DCdDEC.woff +0 -0
  1066. package/editor-web/assets/tinos-greek-700-italic-C474ACqK.woff2 +0 -0
  1067. package/editor-web/assets/tinos-greek-700-italic-VKIu6SKO.woff +0 -0
  1068. package/editor-web/assets/tinos-greek-700-normal-CAsZoNo7.woff +0 -0
  1069. package/editor-web/assets/tinos-greek-700-normal-DZiY5218.woff2 +0 -0
  1070. package/editor-web/assets/tinos-greek-ext-400-italic-C7FWsVQN.woff +0 -0
  1071. package/editor-web/assets/tinos-greek-ext-400-italic-QOcg_kQA.woff2 +0 -0
  1072. package/editor-web/assets/tinos-greek-ext-400-normal-1tgngtmV.woff2 +0 -0
  1073. package/editor-web/assets/tinos-greek-ext-400-normal-BY5Lx0CY.woff +0 -0
  1074. package/editor-web/assets/tinos-greek-ext-700-italic-2QV0uNor.woff2 +0 -0
  1075. package/editor-web/assets/tinos-greek-ext-700-italic-zoEBc9cL.woff +0 -0
  1076. package/editor-web/assets/tinos-greek-ext-700-normal-Bu9AJavU.woff +0 -0
  1077. package/editor-web/assets/tinos-greek-ext-700-normal-nVGGTb9r.woff2 +0 -0
  1078. package/editor-web/assets/tinos-hebrew-400-italic-Cp89YzKh.woff2 +0 -0
  1079. package/editor-web/assets/tinos-hebrew-400-italic-k5xAEjEk.woff +0 -0
  1080. package/editor-web/assets/tinos-hebrew-400-normal-B17QmYDt.woff2 +0 -0
  1081. package/editor-web/assets/tinos-hebrew-400-normal-DhGqnHb1.woff +0 -0
  1082. package/editor-web/assets/tinos-hebrew-700-italic-BSdnwE5c.woff2 +0 -0
  1083. package/editor-web/assets/tinos-hebrew-700-italic-DuNrcWBH.woff +0 -0
  1084. package/editor-web/assets/tinos-hebrew-700-normal-B737la7J.woff +0 -0
  1085. package/editor-web/assets/tinos-hebrew-700-normal-BNVAlJ0i.woff2 +0 -0
  1086. package/editor-web/assets/tinos-latin-400-italic-BYAl0kbZ.woff2 +0 -0
  1087. package/editor-web/assets/tinos-latin-400-italic-HcuZF3H0.woff +0 -0
  1088. package/editor-web/assets/tinos-latin-400-normal-B05awSIM.woff +0 -0
  1089. package/editor-web/assets/tinos-latin-400-normal-rilFpyjL.woff2 +0 -0
  1090. package/editor-web/assets/tinos-latin-700-italic-M0H2aQ0O.woff +0 -0
  1091. package/editor-web/assets/tinos-latin-700-italic-vJg8Axdx.woff2 +0 -0
  1092. package/editor-web/assets/tinos-latin-700-normal-CjcRkLdR.woff +0 -0
  1093. package/editor-web/assets/tinos-latin-700-normal-qGf2y18O.woff2 +0 -0
  1094. package/editor-web/assets/tinos-latin-ext-400-italic-DKtLLJa2.woff +0 -0
  1095. package/editor-web/assets/tinos-latin-ext-400-italic-WsHooD3r.woff2 +0 -0
  1096. package/editor-web/assets/tinos-latin-ext-400-normal-BUQPNqi9.woff +0 -0
  1097. package/editor-web/assets/tinos-latin-ext-400-normal-C68eX7xt.woff2 +0 -0
  1098. package/editor-web/assets/tinos-latin-ext-700-italic-BtLLKPsV.woff2 +0 -0
  1099. package/editor-web/assets/tinos-latin-ext-700-italic-Gmi35kWa.woff +0 -0
  1100. package/editor-web/assets/tinos-latin-ext-700-normal-CesJqEpY.woff2 +0 -0
  1101. package/editor-web/assets/tinos-latin-ext-700-normal-nLvPiDAe.woff +0 -0
  1102. package/editor-web/assets/tinos-vietnamese-400-italic-BJdaJnTX.woff2 +0 -0
  1103. package/editor-web/assets/tinos-vietnamese-400-italic-C0nreyLC.woff +0 -0
  1104. package/editor-web/assets/tinos-vietnamese-400-normal-BYl6xqrz.woff +0 -0
  1105. package/editor-web/assets/tinos-vietnamese-400-normal-CrJeqB3M.woff2 +0 -0
  1106. package/editor-web/assets/tinos-vietnamese-700-italic-BPJuDXkI.woff2 +0 -0
  1107. package/editor-web/assets/tinos-vietnamese-700-italic-Dl6iR3hy.woff +0 -0
  1108. package/editor-web/assets/tinos-vietnamese-700-normal-CmLX0U_H.woff2 +0 -0
  1109. package/editor-web/assets/tinos-vietnamese-700-normal-bKCZ5S7w.woff +0 -0
  1110. package/editor-web/assets/trash-2-Bjj6cWzP.js +1 -0
  1111. package/editor-web/assets/treeView-D4JQ5SDB-B6DDatXq.js +1 -0
  1112. package/editor-web/assets/treemap-SAJKECNS-D7j5ZhiI.js +1 -0
  1113. package/editor-web/assets/undo-2-yOSG766T.js +1 -0
  1114. package/editor-web/assets/usecaseDiagram-WPOLBNNX-tkrdKUJB.js +328 -0
  1115. package/editor-web/assets/vennDiagram-Q3Y3IDCW-Ch4XbSnD.js +34 -0
  1116. package/editor-web/assets/video-DXFiCNGc.js +1 -0
  1117. package/editor-web/assets/wardley-7MLQ67FV-Bynt7qNQ.js +1 -0
  1118. package/editor-web/assets/wardleyDiagram-IVAIDKWA-DRuSgm_L.js +78 -0
  1119. package/editor-web/assets/xychartDiagram-4URNHDU4-DctpvfkL.js +7 -0
  1120. package/editor-web/index.html +7 -3
  1121. package/package.json +21 -5
  1122. package/dist/audio-text.js +0 -6
  1123. package/dist/cloud-hearing.js +0 -2
  1124. package/dist/commands/audio.js +0 -4
  1125. package/dist/commands/inspect/contrast.js +0 -2
  1126. package/dist/commands/inspect/fidelity.js +0 -2
  1127. package/dist/commands/inspect/joins.js +0 -2
  1128. package/dist/commands/inspect/motion.js +0 -4
  1129. package/dist/commands/inspect/sheet.js +0 -3
  1130. package/dist/commands/inspect/timeline.js +0 -3
  1131. package/dist/commands/model.js +0 -3
  1132. package/dist/commands/reference-text.js +0 -5
  1133. package/dist/commands/reference.js +0 -2
  1134. package/dist/commands/scenery-input.js +0 -2
  1135. package/dist/commands/scenery.js +0 -7
  1136. package/dist/commands/sheet.js +0 -8
  1137. package/dist/commands/site.js +0 -4
  1138. package/dist/commands/slides.js +0 -3
  1139. package/dist/commands/voice.js +0 -3
  1140. package/dist/commands/words-text.js +0 -6
  1141. package/dist/commands/words.js +0 -2
  1142. package/dist/node_modules/@allyhub/build/dist/sheet-code.d.ts +0 -34
  1143. package/dist/node_modules/@allyhub/build/dist/sheet-code.js +0 -2
  1144. package/dist/node_modules/@allyhub/chart/dist/chart-file.d.ts +0 -11
  1145. package/dist/node_modules/@allyhub/chart/dist/chart-xml.d.ts +0 -33
  1146. package/dist/node_modules/@allyhub/chart/dist/chart.d.ts +0 -206
  1147. package/dist/node_modules/@allyhub/chart/dist/embedded.d.ts +0 -15
  1148. package/dist/node_modules/@allyhub/chart/dist/index.d.ts +0 -6
  1149. package/dist/node_modules/@allyhub/chart/dist/svg.d.ts +0 -22
  1150. package/dist/node_modules/@allyhub/check/dist/generated.js +0 -2
  1151. package/dist/node_modules/@allyhub/check/dist/plans.js +0 -3
  1152. package/dist/node_modules/@allyhub/check/dist/scenery.js +0 -2
  1153. package/dist/node_modules/@allyhub/doc/dist/chart.d.ts +0 -65
  1154. package/dist/node_modules/@allyhub/doc/dist/color.d.ts +0 -6
  1155. package/dist/node_modules/@allyhub/doc/dist/columns.d.ts +0 -6
  1156. package/dist/node_modules/@allyhub/doc/dist/component.d.ts +0 -27
  1157. package/dist/node_modules/@allyhub/doc/dist/docx.d.ts +0 -39
  1158. package/dist/node_modules/@allyhub/doc/dist/html.d.ts +0 -49
  1159. package/dist/node_modules/@allyhub/doc/dist/index.d.ts +0 -13
  1160. package/dist/node_modules/@allyhub/doc/dist/markdown.d.ts +0 -13
  1161. package/dist/node_modules/@allyhub/doc/dist/math.d.ts +0 -11
  1162. package/dist/node_modules/@allyhub/doc/dist/model.d.ts +0 -280
  1163. package/dist/node_modules/@allyhub/doc/dist/paper.d.ts +0 -39
  1164. package/dist/node_modules/@allyhub/doc/dist/parse.d.ts +0 -24
  1165. package/dist/node_modules/@allyhub/doc/dist/patch.d.ts +0 -8
  1166. package/dist/node_modules/@allyhub/doc/dist/title.d.ts +0 -23
  1167. package/dist/node_modules/@allyhub/doc/dist/write.d.ts +0 -18
  1168. package/dist/node_modules/@allyhub/export/dist/deck-pptx.js +0 -2
  1169. package/dist/node_modules/@allyhub/formats/dist/data/comments.d.ts +0 -94
  1170. package/dist/node_modules/@allyhub/formats/dist/data/comments.js +0 -2
  1171. package/dist/node_modules/@allyhub/measure/dist/contrast.js +0 -2
  1172. package/dist/node_modules/@allyhub/measure/dist/cuts.js +0 -2
  1173. package/dist/node_modules/@allyhub/measure/dist/facts.js +0 -2
  1174. package/dist/node_modules/@allyhub/measure/dist/fidelity.js +0 -3
  1175. package/dist/node_modules/@allyhub/measure/dist/overlay.js +0 -2
  1176. package/dist/node_modules/@allyhub/measure/dist/recording-report.js +0 -2
  1177. package/dist/node_modules/@allyhub/measure/dist/reference/piece.js +0 -2
  1178. package/dist/node_modules/@allyhub/measure/dist/reference/sets.js +0 -2
  1179. package/dist/node_modules/@allyhub/measure/dist/reference/text.js +0 -2
  1180. package/dist/node_modules/@allyhub/measure/dist/reference/video.js +0 -2
  1181. package/dist/node_modules/@allyhub/measure/dist/sound-report.js +0 -2
  1182. package/dist/node_modules/@allyhub/media/dist/asr/hear.d.ts +0 -41
  1183. package/dist/node_modules/@allyhub/media/dist/asr/hear.js +0 -2
  1184. package/dist/node_modules/@allyhub/media/dist/asr/languages.d.ts +0 -9
  1185. package/dist/node_modules/@allyhub/media/dist/asr/languages.js +0 -2
  1186. package/dist/node_modules/@allyhub/media/dist/asr/parakeet.d.ts +0 -54
  1187. package/dist/node_modules/@allyhub/media/dist/asr/parakeet.js +0 -7
  1188. package/dist/node_modules/@allyhub/media/dist/asr/protocol.d.ts +0 -20
  1189. package/dist/node_modules/@allyhub/media/dist/asr/protocol.js +0 -2
  1190. package/dist/node_modules/@allyhub/media/dist/asr/transcribe.d.ts +0 -50
  1191. package/dist/node_modules/@allyhub/media/dist/asr/transcribe.js +0 -2
  1192. package/dist/node_modules/@allyhub/media/dist/asr/windows.d.ts +0 -34
  1193. package/dist/node_modules/@allyhub/media/dist/asr/windows.js +0 -2
  1194. package/dist/node_modules/@allyhub/media/dist/asr/words.d.ts +0 -7
  1195. package/dist/node_modules/@allyhub/media/dist/asr/words.js +0 -2
  1196. package/dist/node_modules/@allyhub/media/dist/asr/worker.d.ts +0 -2
  1197. package/dist/node_modules/@allyhub/media/dist/asr/worker.js +0 -4
  1198. package/dist/node_modules/@allyhub/media/dist/local.d.ts +0 -39
  1199. package/dist/node_modules/@allyhub/media/dist/local.js +0 -2
  1200. package/dist/node_modules/@allyhub/media/dist/ocr/lines.d.ts +0 -36
  1201. package/dist/node_modules/@allyhub/media/dist/ocr/lines.js +0 -2
  1202. package/dist/node_modules/@allyhub/media/dist/ocr/tesseract.d.ts +0 -62
  1203. package/dist/node_modules/@allyhub/media/dist/ocr/tesseract.js +0 -2
  1204. package/dist/node_modules/@allyhub/media/dist/ocr/text.d.ts +0 -36
  1205. package/dist/node_modules/@allyhub/media/dist/ocr/text.js +0 -4
  1206. package/dist/node_modules/@allyhub/media/dist/ocr/worker.d.ts +0 -2
  1207. package/dist/node_modules/@allyhub/media/dist/ocr/worker.js +0 -5
  1208. package/dist/node_modules/@allyhub/media/dist/vision/common.d.ts +0 -32
  1209. package/dist/node_modules/@allyhub/media/dist/vision/common.js +0 -2
  1210. package/dist/node_modules/@allyhub/media/dist/vision/faces.d.ts +0 -18
  1211. package/dist/node_modules/@allyhub/media/dist/vision/faces.js +0 -2
  1212. package/dist/node_modules/@allyhub/media/dist/vision/index-media.d.ts +0 -48
  1213. package/dist/node_modules/@allyhub/media/dist/vision/index-media.js +0 -3
  1214. package/dist/node_modules/@allyhub/media/dist/vision/matte.d.ts +0 -16
  1215. package/dist/node_modules/@allyhub/media/dist/vision/matte.js +0 -2
  1216. package/dist/node_modules/@allyhub/media/dist/vision/mattes.d.ts +0 -109
  1217. package/dist/node_modules/@allyhub/media/dist/vision/mattes.js +0 -2
  1218. package/dist/node_modules/@allyhub/media/dist/vision/models.d.ts +0 -16
  1219. package/dist/node_modules/@allyhub/media/dist/vision/models.js +0 -2
  1220. package/dist/node_modules/@allyhub/media/dist/vision/protocol.d.ts +0 -51
  1221. package/dist/node_modules/@allyhub/media/dist/vision/protocol.js +0 -2
  1222. package/dist/node_modules/@allyhub/media/dist/vision/run.d.ts +0 -12
  1223. package/dist/node_modules/@allyhub/media/dist/vision/run.js +0 -4
  1224. package/dist/node_modules/@allyhub/media/dist/vision/runtime.d.ts +0 -16
  1225. package/dist/node_modules/@allyhub/media/dist/vision/runtime.js +0 -8
  1226. package/dist/node_modules/@allyhub/media/dist/vision/status.d.ts +0 -24
  1227. package/dist/node_modules/@allyhub/media/dist/vision/status.js +0 -2
  1228. package/dist/node_modules/@allyhub/media/dist/vision/track.d.ts +0 -54
  1229. package/dist/node_modules/@allyhub/media/dist/vision/track.js +0 -2
  1230. package/dist/node_modules/@allyhub/media/dist/vision/worker.d.ts +0 -2
  1231. package/dist/node_modules/@allyhub/media/dist/vision/worker.js +0 -5
  1232. package/dist/node_modules/@allyhub/media/dist/vision/yunet.d.ts +0 -35
  1233. package/dist/node_modules/@allyhub/media/dist/vision/yunet.js +0 -2
  1234. package/dist/node_modules/@allyhub/media/dist/worker-process.d.ts +0 -3
  1235. package/dist/node_modules/@allyhub/media/dist/worker-process.js +0 -2
  1236. package/dist/node_modules/@allyhub/ooxml/dist/brightness.d.ts +0 -31
  1237. package/dist/node_modules/@allyhub/ooxml/dist/color.d.ts +0 -33
  1238. package/dist/node_modules/@allyhub/ooxml/dist/enums.d.ts +0 -13
  1239. package/dist/node_modules/@allyhub/ooxml/dist/ext.d.ts +0 -79
  1240. package/dist/node_modules/@allyhub/ooxml/dist/generated/enums.d.ts +0 -132
  1241. package/dist/node_modules/@allyhub/ooxml/dist/generated/presets.d.ts +0 -28
  1242. package/dist/node_modules/@allyhub/ooxml/dist/generated/spec.d.ts +0 -4708
  1243. package/dist/node_modules/@allyhub/ooxml/dist/geometry/index.d.ts +0 -57
  1244. package/dist/node_modules/@allyhub/ooxml/dist/index.d.ts +0 -10
  1245. package/dist/node_modules/@allyhub/ooxml/dist/mce.d.ts +0 -12
  1246. package/dist/node_modules/@allyhub/ooxml/dist/node.d.ts +0 -111
  1247. package/dist/node_modules/@allyhub/ooxml/dist/ns.d.ts +0 -45
  1248. package/dist/node_modules/@allyhub/ooxml/dist/opc.d.ts +0 -48
  1249. package/dist/node_modules/@allyhub/ooxml/dist/report.d.ts +0 -45
  1250. package/dist/node_modules/@allyhub/ooxml/dist/xml.d.ts +0 -28
  1251. package/dist/node_modules/@allyhub/project/dist/deck-keys.js +0 -2
  1252. package/dist/node_modules/@allyhub/project/dist/deck-measure.js +0 -2
  1253. package/dist/node_modules/@allyhub/project/dist/deck-pool.js +0 -2
  1254. package/dist/node_modules/@allyhub/project/dist/says.js +0 -2
  1255. package/dist/node_modules/@allyhub/project/dist/scenery.js +0 -2
  1256. package/dist/node_modules/@allyhub/project/dist/stretch.js +0 -2
  1257. package/dist/node_modules/@allyhub/render/dist/doc/fonts.js +0 -4
  1258. package/dist/node_modules/@allyhub/render/dist/doc/index.js +0 -2
  1259. package/dist/node_modules/@allyhub/render/dist/doc/pages.js +0 -32
  1260. package/dist/node_modules/@allyhub/render/dist/doc/print.js +0 -41
  1261. package/dist/node_modules/@allyhub/render/dist/webp.js +0 -2
  1262. package/dist/node_modules/@allyhub/runtime/dist/console.js +0 -2
  1263. package/dist/node_modules/@allyhub/runtime/dist/env.js +0 -2
  1264. package/dist/node_modules/@allyhub/runtime/dist/errors.js +0 -2
  1265. package/dist/node_modules/@allyhub/runtime/dist/inspect.js +0 -3
  1266. package/dist/node_modules/@allyhub/runtime/dist/mix-plan.js +0 -2
  1267. package/dist/node_modules/@allyhub/runtime/dist/reads.js +0 -2
  1268. package/dist/node_modules/@allyhub/runtime/dist/stage.js +0 -2
  1269. package/dist/node_modules/@allyhub/runtimes/pins/onnxruntime-node/package-lock.json +0 -227
  1270. package/dist/node_modules/@allyhub/runtimes/pins/onnxruntime-node/package.json +0 -8
  1271. package/dist/node_modules/@allyhub/runtimes/pins/sherpa-onnx-node/package-lock.json +0 -105
  1272. package/dist/node_modules/@allyhub/runtimes/pins/sherpa-onnx-node/package.json +0 -8
  1273. package/dist/node_modules/@allyhub/runtimes/pins/tesseract.js/package-lock.json +0 -128
  1274. package/dist/node_modules/@allyhub/runtimes/pins/tesseract.js/package.json +0 -9
  1275. package/dist/node_modules/@allyhub/sheet/dist/address.d.ts +0 -32
  1276. package/dist/node_modules/@allyhub/sheet/dist/api/capabilities.d.ts +0 -23
  1277. package/dist/node_modules/@allyhub/sheet/dist/api/charts.d.ts +0 -204
  1278. package/dist/node_modules/@allyhub/sheet/dist/api/code.d.ts +0 -19
  1279. package/dist/node_modules/@allyhub/sheet/dist/api/hint.d.ts +0 -3
  1280. package/dist/node_modules/@allyhub/sheet/dist/api/index.d.ts +0 -8
  1281. package/dist/node_modules/@allyhub/sheet/dist/api/page.d.ts +0 -83
  1282. package/dist/node_modules/@allyhub/sheet/dist/api/rectangles.d.ts +0 -4
  1283. package/dist/node_modules/@allyhub/sheet/dist/api/rules.d.ts +0 -170
  1284. package/dist/node_modules/@allyhub/sheet/dist/api/styles.d.ts +0 -117
  1285. package/dist/node_modules/@allyhub/sheet/dist/api/workbook.d.ts +0 -362
  1286. package/dist/node_modules/@allyhub/sheet/dist/arrange.d.ts +0 -68
  1287. package/dist/node_modules/@allyhub/sheet/dist/calc/analyse.d.ts +0 -27
  1288. package/dist/node_modules/@allyhub/sheet/dist/calc/coerce.d.ts +0 -23
  1289. package/dist/node_modules/@allyhub/sheet/dist/calc/engine.d.ts +0 -199
  1290. package/dist/node_modules/@allyhub/sheet/dist/calc/functions/aggregate.d.ts +0 -2
  1291. package/dist/node_modules/@allyhub/sheet/dist/calc/functions/convert.d.ts +0 -4
  1292. package/dist/node_modules/@allyhub/sheet/dist/calc/functions/criteria.d.ts +0 -15
  1293. package/dist/node_modules/@allyhub/sheet/dist/calc/functions/database.d.ts +0 -2
  1294. package/dist/node_modules/@allyhub/sheet/dist/calc/functions/date.d.ts +0 -2
  1295. package/dist/node_modules/@allyhub/sheet/dist/calc/functions/define.d.ts +0 -95
  1296. package/dist/node_modules/@allyhub/sheet/dist/calc/functions/delimiters.d.ts +0 -16
  1297. package/dist/node_modules/@allyhub/sheet/dist/calc/functions/distributions.d.ts +0 -2
  1298. package/dist/node_modules/@allyhub/sheet/dist/calc/functions/dynamic.d.ts +0 -19
  1299. package/dist/node_modules/@allyhub/sheet/dist/calc/functions/finance.d.ts +0 -2
  1300. package/dist/node_modules/@allyhub/sheet/dist/calc/functions/index.d.ts +0 -17
  1301. package/dist/node_modules/@allyhub/sheet/dist/calc/functions/info.d.ts +0 -2
  1302. package/dist/node_modules/@allyhub/sheet/dist/calc/functions/kernels.d.ts +0 -2
  1303. package/dist/node_modules/@allyhub/sheet/dist/calc/functions/logical.d.ts +0 -2
  1304. package/dist/node_modules/@allyhub/sheet/dist/calc/functions/lookup.d.ts +0 -2
  1305. package/dist/node_modules/@allyhub/sheet/dist/calc/functions/maths.d.ts +0 -2
  1306. package/dist/node_modules/@allyhub/sheet/dist/calc/functions/modern.d.ts +0 -2
  1307. package/dist/node_modules/@allyhub/sheet/dist/calc/functions/special.d.ts +0 -29
  1308. package/dist/node_modules/@allyhub/sheet/dist/calc/functions/text.d.ts +0 -2
  1309. package/dist/node_modules/@allyhub/sheet/dist/calc/graph.d.ts +0 -38
  1310. package/dist/node_modules/@allyhub/sheet/dist/calc/indexes.d.ts +0 -19
  1311. package/dist/node_modules/@allyhub/sheet/dist/calc/remote.d.ts +0 -49
  1312. package/dist/node_modules/@allyhub/sheet/dist/calc/server.d.ts +0 -82
  1313. package/dist/node_modules/@allyhub/sheet/dist/calc/types.d.ts +0 -55
  1314. package/dist/node_modules/@allyhub/sheet/dist/chart.d.ts +0 -52
  1315. package/dist/node_modules/@allyhub/sheet/dist/check.d.ts +0 -15
  1316. package/dist/node_modules/@allyhub/sheet/dist/diff.d.ts +0 -79
  1317. package/dist/node_modules/@allyhub/sheet/dist/edit.d.ts +0 -154
  1318. package/dist/node_modules/@allyhub/sheet/dist/export.d.ts +0 -32
  1319. package/dist/node_modules/@allyhub/sheet/dist/file.d.ts +0 -19
  1320. package/dist/node_modules/@allyhub/sheet/dist/files.d.ts +0 -24
  1321. package/dist/node_modules/@allyhub/sheet/dist/fill.d.ts +0 -30
  1322. package/dist/node_modules/@allyhub/sheet/dist/filter.d.ts +0 -29
  1323. package/dist/node_modules/@allyhub/sheet/dist/format.d.ts +0 -15
  1324. package/dist/node_modules/@allyhub/sheet/dist/formula/ast.d.ts +0 -113
  1325. package/dist/node_modules/@allyhub/sheet/dist/formula/move.d.ts +0 -6
  1326. package/dist/node_modules/@allyhub/sheet/dist/formula/parse.d.ts +0 -4
  1327. package/dist/node_modules/@allyhub/sheet/dist/formula/print.d.ts +0 -6
  1328. package/dist/node_modules/@allyhub/sheet/dist/formula/rewrite.d.ts +0 -65
  1329. package/dist/node_modules/@allyhub/sheet/dist/formula/walk.d.ts +0 -6
  1330. package/dist/node_modules/@allyhub/sheet/dist/generated.d.ts +0 -46
  1331. package/dist/node_modules/@allyhub/sheet/dist/html.d.ts +0 -82
  1332. package/dist/node_modules/@allyhub/sheet/dist/import.d.ts +0 -11
  1333. package/dist/node_modules/@allyhub/sheet/dist/index.d.ts +0 -42
  1334. package/dist/node_modules/@allyhub/sheet/dist/inspect.d.ts +0 -25
  1335. package/dist/node_modules/@allyhub/sheet/dist/paginate.d.ts +0 -98
  1336. package/dist/node_modules/@allyhub/sheet/dist/patch.d.ts +0 -4
  1337. package/dist/node_modules/@allyhub/sheet/dist/profile.d.ts +0 -30
  1338. package/dist/node_modules/@allyhub/sheet/dist/rules.d.ts +0 -56
  1339. package/dist/node_modules/@allyhub/sheet/dist/scenario.d.ts +0 -42
  1340. package/dist/node_modules/@allyhub/sheet/dist/series.d.ts +0 -10
  1341. package/dist/node_modules/@allyhub/sheet/dist/sort.d.ts +0 -24
  1342. package/dist/node_modules/@allyhub/sheet/dist/structure.d.ts +0 -38
  1343. package/dist/node_modules/@allyhub/sheet/dist/table-style.d.ts +0 -32
  1344. package/dist/node_modules/@allyhub/sheet/dist/table-styles.d.ts +0 -3
  1345. package/dist/node_modules/@allyhub/sheet/dist/validate.d.ts +0 -26
  1346. package/dist/node_modules/@allyhub/sheet/dist/values.d.ts +0 -67
  1347. package/dist/node_modules/@allyhub/sheet/dist/workbook.d.ts +0 -324
  1348. package/dist/node_modules/@allyhub/sheet/dist/write.d.ts +0 -5
  1349. package/dist/node_modules/@allyhub/sheet/dist/xlsx/charts.d.ts +0 -53
  1350. package/dist/node_modules/@allyhub/sheet/dist/xlsx/colors.d.ts +0 -19
  1351. package/dist/node_modules/@allyhub/sheet/dist/xlsx/formula.d.ts +0 -31
  1352. package/dist/node_modules/@allyhub/sheet/dist/xlsx/functions.d.ts +0 -15
  1353. package/dist/node_modules/@allyhub/sheet/dist/xlsx/import.d.ts +0 -49
  1354. package/dist/node_modules/@allyhub/sheet/dist/xlsx/index.d.ts +0 -5
  1355. package/dist/node_modules/@allyhub/sheet/dist/xlsx/numfmt.d.ts +0 -8
  1356. package/dist/node_modules/@allyhub/sheet/dist/xlsx/read.d.ts +0 -159
  1357. package/dist/node_modules/@allyhub/sheet/dist/xlsx/sax.d.ts +0 -23
  1358. package/dist/node_modules/@allyhub/sheet/dist/xlsx/styles.d.ts +0 -25
  1359. package/dist/node_modules/@allyhub/sheet/dist/xlsx/theme.d.ts +0 -3
  1360. package/dist/node_modules/@allyhub/sheet/dist/xlsx/write.d.ts +0 -23
  1361. package/dist/node_modules/@allyhub/sheet/dist/xlsx/xml.d.ts +0 -28
  1362. package/dist/node_modules/@allyhub/sheet/dist/xlsx/zip.d.ts +0 -40
  1363. package/dist/node_modules/@allyhub/slides-core/dist/animation.d.ts +0 -129
  1364. package/dist/node_modules/@allyhub/slides-core/dist/api.d.ts +0 -730
  1365. package/dist/node_modules/@allyhub/slides-core/dist/capabilities.d.ts +0 -18
  1366. package/dist/node_modules/@allyhub/slides-core/dist/chart-api.d.ts +0 -202
  1367. package/dist/node_modules/@allyhub/slides-core/dist/check.d.ts +0 -7
  1368. package/dist/node_modules/@allyhub/slides-core/dist/code.d.ts +0 -33
  1369. package/dist/node_modules/@allyhub/slides-core/dist/components.d.ts +0 -31
  1370. package/dist/node_modules/@allyhub/slides-core/dist/enums.d.ts +0 -329
  1371. package/dist/node_modules/@allyhub/slides-core/dist/file.d.ts +0 -131
  1372. package/dist/node_modules/@allyhub/slides-core/dist/identity.d.ts +0 -17
  1373. package/dist/node_modules/@allyhub/slides-core/dist/index.d.ts +0 -25
  1374. package/dist/node_modules/@allyhub/slides-core/dist/lang.d.ts +0 -6
  1375. package/dist/node_modules/@allyhub/slides-core/dist/measure.d.ts +0 -34
  1376. package/dist/node_modules/@allyhub/slides-core/dist/merge.d.ts +0 -58
  1377. package/dist/node_modules/@allyhub/slides-core/dist/model.d.ts +0 -293
  1378. package/dist/node_modules/@allyhub/slides-core/dist/office.d.ts +0 -84
  1379. package/dist/node_modules/@allyhub/slides-core/dist/path.d.ts +0 -6
  1380. package/dist/node_modules/@allyhub/slides-core/dist/placeholders.d.ts +0 -7
  1381. package/dist/node_modules/@allyhub/slides-core/dist/resolve.d.ts +0 -202
  1382. package/dist/node_modules/@allyhub/slides-core/dist/script.d.ts +0 -45
  1383. package/dist/node_modules/@allyhub/slides-core/dist/stage.d.ts +0 -61
  1384. package/dist/node_modules/@allyhub/slides-core/dist/strict.d.ts +0 -7
  1385. package/dist/node_modules/@allyhub/slides-core/dist/theme.d.ts +0 -72
  1386. package/dist/node_modules/@allyhub/slides-core/dist/units.d.ts +0 -62
  1387. package/dist/node_modules/@allyhub/slides-core/dist/values.d.ts +0 -7
  1388. package/dist/node_modules/@allyhub/stage/dist/bakes.js +0 -4
  1389. package/dist/node_modules/@allyhub/stage/dist/graphics.js +0 -2
  1390. package/dist/node_modules/@allyhub/stage/dist/scenery-page.js +0 -12
  1391. package/dist/node_modules/@allyhub/stage/dist/scenery.js +0 -2
  1392. package/dist/node_modules/@allyhub/stage-page/dist/runtime/runtime.js +0 -79
  1393. package/dist/node_modules/@allyhub/video-core/dist/anchors.d.ts +0 -164
  1394. package/dist/node_modules/@allyhub/video-core/dist/audio-types.d.ts +0 -148
  1395. package/dist/node_modules/@allyhub/video-core/dist/backdrop.d.ts +0 -87
  1396. package/dist/node_modules/@allyhub/video-core/dist/captions.d.ts +0 -122
  1397. package/dist/node_modules/@allyhub/video-core/dist/component.js +0 -2
  1398. package/dist/node_modules/@allyhub/video-core/dist/contrast.d.ts +0 -98
  1399. package/dist/node_modules/@allyhub/video-core/dist/cut-report.d.ts +0 -77
  1400. package/dist/node_modules/@allyhub/video-core/dist/edit.d.ts +0 -77
  1401. package/dist/node_modules/@allyhub/video-core/dist/edits.d.ts +0 -163
  1402. package/dist/node_modules/@allyhub/video-core/dist/export.d.ts +0 -97
  1403. package/dist/node_modules/@allyhub/video-core/dist/export.js +0 -2
  1404. package/dist/node_modules/@allyhub/video-core/dist/fact.d.ts +0 -1179
  1405. package/dist/node_modules/@allyhub/video-core/dist/footage-motion.d.ts +0 -168
  1406. package/dist/node_modules/@allyhub/video-core/dist/formats.d.ts +0 -205
  1407. package/dist/node_modules/@allyhub/video-core/dist/formats.js +0 -2
  1408. package/dist/node_modules/@allyhub/video-core/dist/gen.d.ts +0 -37
  1409. package/dist/node_modules/@allyhub/video-core/dist/index.d.ts +0 -41
  1410. package/dist/node_modules/@allyhub/video-core/dist/look.d.ts +0 -66
  1411. package/dist/node_modules/@allyhub/video-core/dist/measure.d.ts +0 -563
  1412. package/dist/node_modules/@allyhub/video-core/dist/media.d.ts +0 -226
  1413. package/dist/node_modules/@allyhub/video-core/dist/media.js +0 -2
  1414. package/dist/node_modules/@allyhub/video-core/dist/messages.d.ts +0 -88
  1415. package/dist/node_modules/@allyhub/video-core/dist/motion.d.ts +0 -56
  1416. package/dist/node_modules/@allyhub/video-core/dist/music.d.ts +0 -111
  1417. package/dist/node_modules/@allyhub/video-core/dist/piece.d.ts +0 -1154
  1418. package/dist/node_modules/@allyhub/video-core/dist/placement.d.ts +0 -37
  1419. package/dist/node_modules/@allyhub/video-core/dist/problem.d.ts +0 -278
  1420. package/dist/node_modules/@allyhub/video-core/dist/problem.js +0 -2
  1421. package/dist/node_modules/@allyhub/video-core/dist/render-types.d.ts +0 -49
  1422. package/dist/node_modules/@allyhub/video-core/dist/schema.d.ts +0 -350
  1423. package/dist/node_modules/@allyhub/video-core/dist/script-edit.d.ts +0 -180
  1424. package/dist/node_modules/@allyhub/video-core/dist/script.d.ts +0 -76
  1425. package/dist/node_modules/@allyhub/video-core/dist/script.js +0 -2
  1426. package/dist/node_modules/@allyhub/video-core/dist/seams.d.ts +0 -214
  1427. package/dist/node_modules/@allyhub/video-core/dist/sound-under.d.ts +0 -72
  1428. package/dist/node_modules/@allyhub/video-core/dist/source.d.ts +0 -7
  1429. package/dist/node_modules/@allyhub/video-core/dist/speech.d.ts +0 -83
  1430. package/dist/node_modules/@allyhub/video-core/dist/timeline.d.ts +0 -631
  1431. package/dist/node_modules/@allyhub/video-core/dist/timing.d.ts +0 -88
  1432. package/dist/node_modules/@allyhub/video-core/dist/transcript.d.ts +0 -288
  1433. package/dist/node_modules/@allyhub/video-core/dist/transition.d.ts +0 -300
  1434. package/dist/node_modules/@allyhub/video-core/dist/voice.d.ts +0 -175
  1435. package/dist/text/timeline-text.js +0 -2
  1436. package/editor-web/assets/abnfDiagram-WEYOIA3C-B9SmmTJt.js +0 -1
  1437. package/editor-web/assets/architecture-WOLXFQ4H-m-T100yu.js +0 -1
  1438. package/editor-web/assets/architectureDiagram-ZHVYKT53-B5nwfRgH.js +0 -36
  1439. package/editor-web/assets/blockDiagram-RJAE7QA3-ClawtW7w.js +0 -140
  1440. package/editor-web/assets/c4Diagram-XDPPPE54-CFHQpxmY.js +0 -38
  1441. package/editor-web/assets/calc-worker-BTNuOUVJ.js +0 -158
  1442. package/editor-web/assets/channel-hhT2g1yB.js +0 -1
  1443. package/editor-web/assets/choice-BJc3Tv5F.js +0 -10
  1444. package/editor-web/assets/chunk-2E7WHVMD-CoQrt8De.js +0 -88
  1445. package/editor-web/assets/chunk-4EMNKR2T-Iy5ZP2hH.js +0 -1
  1446. package/editor-web/assets/chunk-55XCU76K-DsS8sEfz.js +0 -1
  1447. package/editor-web/assets/chunk-7S6XSTFO-Co220fFP.js +0 -2
  1448. package/editor-web/assets/chunk-AQDTSKZB-JIGZAIpF.js +0 -72
  1449. package/editor-web/assets/chunk-DSNLSHJZ-Ror_NzZx.js +0 -129
  1450. package/editor-web/assets/chunk-HAGFOTED-C07qbJaC.js +0 -62
  1451. package/editor-web/assets/chunk-HNE4Q36P-CM3bprQy.js +0 -1
  1452. package/editor-web/assets/chunk-NQOKRVIF-ipM1cuU7.js +0 -213
  1453. package/editor-web/assets/chunk-UHW7PFBP-CA8McMqW.js +0 -1
  1454. package/editor-web/assets/chunk-VQ5W62QI-DEDvdgPj.js +0 -1
  1455. package/editor-web/assets/chunk-WQQL4CDK-h5ZO7LF7.js +0 -10
  1456. package/editor-web/assets/chunk-YZO67HFG-yC3xdjnt.js +0 -1
  1457. package/editor-web/assets/chunk-ZAUX2LTX-3rRCWRvD.js +0 -1
  1458. package/editor-web/assets/chunk-ZCHMQSOR-DK_PLi39.js +0 -2
  1459. package/editor-web/assets/classDiagram-v2-4MYWR3UA-B9pB-HTm.js +0 -217
  1460. package/editor-web/assets/cynefin-EF2NZ3EQ-CSd3PDdQ.js +0 -1
  1461. package/editor-web/assets/cynefinDiagram-WF24UDRP-BBCequ3T.js +0 -62
  1462. package/editor-web/assets/dagre-NK4GIZVX-C7ZOWX5t.js +0 -4
  1463. package/editor-web/assets/diagram-CBK3MWTC-CQVvlSNo.js +0 -24
  1464. package/editor-web/assets/diagram-I5XIIV2D-BCkke5x3.js +0 -24
  1465. package/editor-web/assets/diagram-ODIL2UCW-DDWQXIlX.js +0 -30
  1466. package/editor-web/assets/diagram-PFBEJUXE-C31QlFzr.js +0 -3
  1467. package/editor-web/assets/diagram-RJA3I4VV-DUXAFmI_.js +0 -41
  1468. package/editor-web/assets/diagram-TYUNFSNR-BCxuoEs9.js +0 -200
  1469. package/editor-web/assets/dist-BRuoygB7.js +0 -2
  1470. package/editor-web/assets/dist-CK42vCmN.js +0 -550
  1471. package/editor-web/assets/dist-C_buDsM-.js +0 -36
  1472. package/editor-web/assets/dist-DNcXHhzn.js +0 -37
  1473. package/editor-web/assets/dist-HxiPpGXi.js +0 -10
  1474. package/editor-web/assets/dist-PF3VMsK7.js +0 -1
  1475. package/editor-web/assets/ebnfDiagram-V4P3TTPT-Drbe1R2R.js +0 -1
  1476. package/editor-web/assets/elk-QONTBCTQ-Bqwuc5U-.js +0 -27
  1477. package/editor-web/assets/erDiagram-KYQIGQAA-lUcyPgf3.js +0 -99
  1478. package/editor-web/assets/eventmodeling-K75KTNOO-BfxFVok7.js +0 -1
  1479. package/editor-web/assets/flowDiagram-IUGLLWBU-FJVml4lT.js +0 -1
  1480. package/editor-web/assets/ganttDiagram-R7GPNTJY-AYc1JnE_.js +0 -292
  1481. package/editor-web/assets/gitGraph-VSP46ZUC-Z_2ysYZF.js +0 -1
  1482. package/editor-web/assets/gitGraphDiagram-PDYL7XHY-CB2O1LZ6.js +0 -106
  1483. package/editor-web/assets/hint-BwGc32IE.js +0 -1
  1484. package/editor-web/assets/index-BQKSbBSy.js +0 -69
  1485. package/editor-web/assets/index-CfD80QPx.css +0 -2
  1486. package/editor-web/assets/info-OHQRW6UA-BPePkERU.js +0 -1
  1487. package/editor-web/assets/infoDiagram-MVDRKAX5-CNluCREj.js +0 -2
  1488. package/editor-web/assets/ishikawaDiagram-HPEHV2GE-DIBDBol9.js +0 -70
  1489. package/editor-web/assets/journeyDiagram-BOSHW7O7-C4Hc63C8.js +0 -139
  1490. package/editor-web/assets/kanban-definition-FNSA4HC5-BShCYR9Q.js +0 -89
  1491. package/editor-web/assets/mermaid-parser.core-KGVt2icR.js +0 -7
  1492. package/editor-web/assets/mermaid.core-CVH2hRmI.js +0 -44
  1493. package/editor-web/assets/mindmap-definition-6OY57UG3-C1mo9OeK.js +0 -98
  1494. package/editor-web/assets/packet-JDAUHWVQ-B7YpYnvD.js +0 -1
  1495. package/editor-web/assets/pegDiagram-ECIUJNBX-Es99bVEq.js +0 -1
  1496. package/editor-web/assets/pie-XZMESJXO-xTUp8UcP.js +0 -1
  1497. package/editor-web/assets/pieDiagram-GNMPY74T-CD91pLk4.js +0 -39
  1498. package/editor-web/assets/quadrantDiagram-D57K4MC3-CSnvxc94.js +0 -7
  1499. package/editor-web/assets/radar-ABXABTNO-Dj-t0L18.js +0 -1
  1500. package/editor-web/assets/railroad-I3PHUGI6-BK32uCwU.js +0 -1
  1501. package/editor-web/assets/railroad-abnf-LNEFI6M7-D5R8k6d0.js +0 -1
  1502. package/editor-web/assets/railroad-ebnf-DWYD2UWJ-Crm1KEAC.js +0 -1
  1503. package/editor-web/assets/railroad-peg-JR7BVNR7-BILXac49.js +0 -1
  1504. package/editor-web/assets/railroadDiagram-Y72NRBL7-CevyjvbY.js +0 -1
  1505. package/editor-web/assets/react-BSSSHUyV.js +0 -101
  1506. package/editor-web/assets/requirementDiagram-EQYSW5RA-B5N8Q9VV.js +0 -84
  1507. package/editor-web/assets/sankeyDiagram-SY24JHO5-bCTsxF1A.js +0 -40
  1508. package/editor-web/assets/sequenceDiagram-BLEHNHQU-M37m0sEI.js +0 -169
  1509. package/editor-web/assets/stateDiagram-v2-A6IESKWZ-BDIn7XwV.js +0 -291
  1510. package/editor-web/assets/svg-BiObwMnL.js +0 -1
  1511. package/editor-web/assets/swatch-CwskGSEY.js +0 -105
  1512. package/editor-web/assets/swimlanes-B3ENRKFQ-DIU1TlDI.js +0 -1
  1513. package/editor-web/assets/swimlanesDiagram-AYQRV4AK-DPM008dB.js +0 -8
  1514. package/editor-web/assets/tabs-uHwPMprC.js +0 -1
  1515. package/editor-web/assets/timeline-definition-JXYKGLGB-C0x4clqy.js +0 -120
  1516. package/editor-web/assets/treeView-D4JQ5SDB-C9lm0KTt.js +0 -1
  1517. package/editor-web/assets/treemap-SAJKECNS-BMH4lQc7.js +0 -1
  1518. package/editor-web/assets/usecaseDiagram-WPOLBNNX-BhltpBsJ.js +0 -328
  1519. package/editor-web/assets/vennDiagram-Q3Y3IDCW-D3qN9Kpt.js +0 -34
  1520. package/editor-web/assets/wardley-7MLQ67FV-C4k02DvU.js +0 -1
  1521. package/editor-web/assets/wardleyDiagram-IVAIDKWA-dhpBDNqg.js +0 -78
  1522. package/editor-web/assets/xychartDiagram-4URNHDU4-0yEarQ-o.js +0 -7
  1523. /package/dist/{commands → node_modules/@allyhub/3d-extension/dist/cli}/scenery-text.js +0 -0
  1524. /package/dist/node_modules/@allyhub/{check/dist/result.js → build/dist/stage-route.js} +0 -0
  1525. /package/dist/node_modules/@allyhub/{render/dist/doc → doc-print/dist}/drawn.js +0 -0
  1526. /package/dist/node_modules/@allyhub/{render/dist/doc → doc-print/dist}/pdf.js +0 -0
  1527. /package/dist/node_modules/@allyhub/{sheet → formats}/dist/csv.d.ts +0 -0
  1528. /package/dist/node_modules/@allyhub/{sheet → formats}/dist/csv.js +0 -0
  1529. /package/dist/node_modules/@allyhub/{runtime → image-draw}/dist/contrast.js +0 -0
  1530. /package/dist/node_modules/@allyhub/{runtime → image-draw}/dist/fonts.js +0 -0
  1531. /package/dist/node_modules/@allyhub/{runtime → image-draw}/dist/guards.js +0 -0
  1532. /package/dist/node_modules/@allyhub/{runtime → image-draw}/dist/pictures.js +0 -0
  1533. /package/dist/node_modules/@allyhub/{runtime → image-draw}/dist/styles.js +0 -0
  1534. /package/dist/node_modules/@allyhub/{runtime/dist/bridge.js → image-extension/dist/page.js} +0 -0
  1535. /package/dist/node_modules/@allyhub/{render → image-render}/dist/pdf.js +0 -0
  1536. /package/dist/node_modules/@allyhub/{render → image-render}/dist/png.js +0 -0
  1537. /package/dist/node_modules/@allyhub/{render → measure}/dist/image.js +0 -0
  1538. /package/dist/node_modules/@allyhub/{video-core → piece}/dist/anchors.js +0 -0
  1539. /package/dist/node_modules/@allyhub/{video-core → piece}/dist/component.d.ts +0 -0
  1540. /package/dist/node_modules/@allyhub/{video-core → piece}/dist/console.d.ts +0 -0
  1541. /package/dist/node_modules/@allyhub/{video-core → piece}/dist/console.js +0 -0
  1542. /package/dist/node_modules/@allyhub/{video-core → piece}/dist/contrast.js +0 -0
  1543. /package/dist/node_modules/@allyhub/{video-core → piece}/dist/gen.js +0 -0
  1544. /package/dist/node_modules/@allyhub/{video-core → piece}/dist/look.js +0 -0
  1545. /package/dist/node_modules/@allyhub/{video-core → piece}/dist/marks.d.ts +0 -0
  1546. /package/dist/node_modules/@allyhub/{video-core → piece}/dist/marks.js +0 -0
  1547. /package/dist/node_modules/@allyhub/{video-core → piece}/dist/matrix.d.ts +0 -0
  1548. /package/dist/node_modules/@allyhub/{video-core → piece}/dist/matrix.js +0 -0
  1549. /package/dist/node_modules/@allyhub/{video-core → piece}/dist/messages.js +0 -0
  1550. /package/dist/node_modules/@allyhub/{runtime/dist → piece/dist/page}/locate.js +0 -0
  1551. /package/dist/node_modules/@allyhub/{video-core → piece}/dist/source.js +0 -0
  1552. /package/dist/node_modules/@allyhub/{video-core → piece}/dist/voice.js +0 -0
  1553. /package/dist/node_modules/@allyhub/{video-core → piece}/dist/words.d.ts +0 -0
  1554. /package/dist/node_modules/@allyhub/{video-core → piece}/dist/words.js +0 -0
  1555. /package/dist/node_modules/@allyhub/{stage/dist/scenery-solve.js → scenery-host/dist/stage/solve.js} +0 -0
  1556. /package/dist/node_modules/@allyhub/{export → slides-extension}/dist/deck-fonts.js +0 -0
  1557. /package/dist/node_modules/@allyhub/{dev-server/dist/fonts.js → slides-extension/dist/font-faces.js} +0 -0
  1558. /package/dist/node_modules/@allyhub/{dev-server → video-extension}/dist/sound.js +0 -0
  1559. /package/dist/node_modules/@allyhub/{measure → video-measure}/dist/cut-sheet.js +0 -0
  1560. /package/dist/node_modules/@allyhub/{measure → video-measure}/dist/flat.js +0 -0
  1561. /package/dist/node_modules/@allyhub/{measure → video-measure}/dist/loop.js +0 -0
  1562. /package/dist/node_modules/@allyhub/{measure → video-measure}/dist/reference/compare.js +0 -0
  1563. /package/dist/node_modules/@allyhub/{measure → video-measure}/dist/reference/folder.js +0 -0
  1564. /package/dist/node_modules/@allyhub/{measure → video-measure}/dist/reference/interpret.js +0 -0
  1565. /package/dist/node_modules/@allyhub/{measure → video-measure}/dist/reference/sections.js +0 -0
  1566. /package/dist/node_modules/@allyhub/{measure → video-measure}/dist/seams.js +0 -0
  1567. /package/dist/node_modules/@allyhub/{measure → video-measure}/dist/sound-measures.js +0 -0
  1568. /package/dist/node_modules/@allyhub/{measure → video-measure}/dist/still.js +0 -0
  1569. /package/dist/node_modules/@allyhub/{measure → video-measure}/dist/version-voice.js +0 -0
@@ -1,5 +1,5 @@
1
1
  /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
- import{CHART_LEGEND_POSITIONS as Y,SHEET_CHART_TYPES as L}from"@allyhub/formats";import{fromMarkdown as q}from"mdast-util-from-markdown";import{frontmatterFromMarkdown as K}from"mdast-util-frontmatter";import{gfmFootnoteFromMarkdown as W}from"mdast-util-gfm-footnote";import{gfmStrikethroughFromMarkdown as z}from"mdast-util-gfm-strikethrough";import{gfmTableFromMarkdown as X}from"mdast-util-gfm-table";import{gfmTaskListItemFromMarkdown as Q}from"mdast-util-gfm-task-list-item";import{mdxFromMarkdown as V}from"mdast-util-mdx";import{frontmatter as Z}from"micromark-extension-frontmatter";import{gfmFootnote as x}from"micromark-extension-gfm-footnote";import{gfmStrikethrough as ee}from"micromark-extension-gfm-strikethrough";import{gfmTable as te}from"micromark-extension-gfm-table";import{gfmTaskListItem as ne}from"micromark-extension-gfm-task-list-item";import{mdxjs as re}from"micromark-extension-mdxjs";import{parse as ie}from"yaml";import{CHART_LABELS as I,PAGE_FONTS as P}from"./model.js";export const BLOCK_TAG="Block",CALLOUT_TAG="Callout",TABLE_TAG="Table",COMPONENT_TAG="Component",COMPONENT_ATTRIBUTES=["of","width","height","at","alt","title","align"],PAGE_BREAK_TAG="PageBreak",COLUMNS_TAG="Columns",COLUMN_TAG="Column",CHART_TAG="Chart",CHART_ATTRIBUTES=["type","title","data","categories","series","legend","labels","format","min","max","colors","width","height","alt"];const A=t=>t.split(",").map(e=>e.trim()).filter(e=>e!==""),H=new Set(["center","right","justify"]),b=(t,e)=>{const n=e.position?.start.offset,r=e.position?.end.offset;return n===void 0||r===void 0?"":t.source.slice(n,r)};function a(t,e,n){const r=e.position?.start;t.problems.push({message:n,...r?{line:r.line,column:r.column}:{}})}const oe=(t,e)=>t.bold===e.bold&&t.italic===e.italic&&t.underline===e.underline&&t.strike===e.strike&&t.code===e.code&&t.color===e.color&&t.background===e.background;function $(t,e,n,r){if(e==="")return;const i=t.at(-1);if(i&&i.note===void 0&&i.href===r&&oe(i.styles,n)){i.text+=e;return}t.push({text:e,styles:{...n},...r===void 0?{}:{href:r}})}function k(t,e,n){const r=new Map;for(const i of e.attributes){if(i.type!=="mdxJsxAttribute"||!n.includes(i.name)){a(t,e,`<${e.name??""}> takes ${n.join(", ")}: ${i.type==="mdxJsxAttribute"?i.name:"{…}"} is not one of them`);continue}i.value===null||i.value===void 0?r.set(i.name,""):typeof i.value=="string"?r.set(i.name,i.value):a(t,e,`${i.name} of <${e.name??""}> is a plain string`)}return r}function se(t,e,n){switch(e.name){case"u":return{...n,underline:!0};case"strong":case"b":return{...n,bold:!0};case"em":case"i":return{...n,italic:!0};case"del":case"s":return{...n,strike:!0};case"code":return{...n,code:!0};case"span":{const r=k(t,e,["color","bg"]),i=r.get("color"),o=r.get("bg");return{...n,...i?{color:i}:{},...o?{background:o}:{}}}default:return}}function v(t,e,n,r,i){for(const o of e)switch(o.type){case"text":for(const[,s]of o.value.matchAll(/\[\^([^\]\s]+)\]/gu))a(t,o,`the footnote [^${s??""}] has no note: write [^${s??""}]: … on a line of its own`);$(i,o.value.replace(/\r?\n/g," "),n,r);break;case"strong":v(t,o.children,{...n,bold:!0},r,i);break;case"emphasis":v(t,o.children,{...n,italic:!0},r,i);break;case"delete":v(t,o.children,{...n,strike:!0},r,i);break;case"inlineCode":$(i,o.value,{...n,code:!0},r);break;case"break":$(i,`
3
- `,n,r);break;case"link":v(t,o.children,n,o.url,i);break;case"footnoteReference":{const s=o.label??o.identifier;i.push({text:s,styles:{...n},...r===void 0?{}:{href:r},note:s});break}case"mdxJsxTextElement":{if(o.name==="br"){$(i,`
4
- `,n,r);break}const s=se(t,o,n);if(s){v(t,o.children,s,r,i);break}a(t,o,`<${o.name??""}> inside a line is not drawn: a tag the doc's code draws goes on lines of its own`),$(i,b(t,o),n,r);break}case"mdxTextExpression":a(t,o,"{…} in a line is not drawn: write \\{ for a brace"),$(i,b(t,o),n,r);break;default:a(t,o,`${o.type} is not drawn in a doc`),$(i,b(t,o),n,r)}}function M(t,e){const n=[];return v(t,e,{},void 0,n),n}const U=t=>t?.type==="mdxJsxFlowElement"&&t.name==="br"&&t.children.length===0;function j(t,e){const[n,...r]=e;if(n?.type==="paragraph"){const i=M(t,n.children);return{content:i.length===1&&i[0]?.text===`
5
- `&&Object.keys(i[0].styles).length===0?[]:i,under:E(t,r)}}return U(n)?{content:[],under:E(t,r)}:{content:[],under:E(t,e)}}const N=(t,e)=>e.length>0?{...t,children:e}:t;function ae(t,e,n,r){const{content:i,under:o}=j(t,e.children);return typeof e.checked=="boolean"?N({type:"check",checked:e.checked,content:i},o):N(n?{type:"numbered",...r===void 0||r===1?{}:{start:r},content:i}:{type:"bullet",content:i},o)}function le(t,e){return e.children.map(n=>M(t,n.children))}function g(t,e){return e?{[t]:e}:{}}function ce(t,e){const n=k(t,e,["align","color","bg","toggle"]),r=E(t,e.children),[i,...o]=r;if(i===void 0)return a(t,e,`<${BLOCK_TAG}> holds a block: this one is empty`),[];if(i.type==="embed"||i.type==="source")return a(t,e,`<${BLOCK_TAG}> holds a block of the doc's own, not a tag or an import`),r;const s=n.get("align");s!==void 0&&!H.has(s)&&a(t,e,`align is center, right or justify, not "${s}"`);const d={...s!==void 0&&H.has(s)?{align:s}:{},...g("color",n.get("color")),...g("background",n.get("bg"))};let l=i;if(n.has("toggle")&&(l.type==="heading"?l={...l,toggle:!0}:l.type==="paragraph"?l={type:"toggle",content:l.content}:a(t,e,"toggle is for a heading or a line of text")),Object.keys(d).length>0&&("content"in l?l={...l,look:d}:a(t,e,`a ${l.type} has no look to set`)),o.length>0)if("content"in l)l={...l,children:[...l.children??[],...o]};else return a(t,e,`a ${l.type} holds no blocks under it`),[l,...o];return[l]}function ue(t,e){const n=k(t,e,["icon","color","bg"]),{content:r,under:i}=j(t,e.children),o={...g("color",n.get("color")),...g("background",n.get("bg"))};return[N({type:"callout",...g("icon",n.get("icon")),...Object.keys(o).length>0?{look:o}:{},content:r},i)]}function fe(t,e){const n=k(t,e,["src","alt","title","width","align"]),r=n.get("src");if(!r)return a(t,e,"<img> names its picture: src is missing"),[];const i=Number(n.get("width")),o=n.get("align");return o!==void 0&&o!=="center"&&o!=="right"&&a(t,e,`a picture's align is center or right, not "${o}"`),[{type:"image",src:r,...g("alt",n.get("alt")),...g("caption",n.get("title")),...Number.isFinite(i)&&i>0?{width:Math.round(i)}:{},...o==="center"||o==="right"?{align:o}:{}}]}function de(t,e){if(e.children.length>0)return a(t,e,`<${COMPONENT_TAG}> holds nothing: its props are its attributes`),[];const n=new Map,r={};for(const c of e.attributes){if(c.type!=="mdxJsxAttribute"){a(t,e,`<${COMPONENT_TAG}>'s attributes are plain strings, not {…}`);continue}const u=c.value===null||c.value===void 0?"":typeof c.value=="string"?c.value:void 0;if(u===void 0){a(t,e,`${c.name} of <${COMPONENT_TAG}> is a plain string`);continue}COMPONENT_ATTRIBUTES.includes(c.name)?n.set(c.name,u):r[c.name]=u}const i=n.get("of")??"";if(i.trim()==="")return a(t,e,`<${COMPONENT_TAG}> names its component: of is missing (of="../ui.ts#Dialog")`),[];const o=c=>{const u=n.get(c);if(u===void 0)return;const p=Number(u);if(Number.isFinite(p)&&p>0)return Math.round(p);a(t,e,`${c} of <${COMPONENT_TAG}> is a number of pixels, not "${u}"`)},s=o("width"),d=o("height"),l=n.get("at"),f=l===void 0?void 0:Number(l);f!==void 0&&!(Number.isFinite(f)&&f>=0)&&a(t,e,`at of <${COMPONENT_TAG}> is seconds, 0 or more, not "${l??""}"`);const m=n.get("align");return m!==void 0&&m!=="center"&&m!=="right"&&a(t,e,`a component's align is center or right, not "${m}"`),[{type:"component",of:i,...s===void 0?{}:{width:s},...d===void 0?{}:{height:d},...f!==void 0&&Number.isFinite(f)&&f>=0?{at:f}:{},...g("alt",n.get("alt")),...g("caption",n.get("title")),...m==="center"||m==="right"?{align:m}:{},props:r}]}function me(t,e){const n=k(t,e,CHART_ATTRIBUTES),r=h=>{a(t,e,h)},i=n.get("type");if(i===void 0||i==="")return r(`<${CHART_TAG}> says what it is drawn as: type is missing (${L.join(", ")})`),[];if(!L.includes(i))return r(`a chart's type is ${L.join(", ")}, not "${i}"`),[];const o=e.children,[s,...d]=o;if(d.length>0||s!==void 0&&s.type!=="table")return r(`<${CHART_TAG}> holds one table: its numbers`),[];const l=s?.type==="table"?s.children.map(h=>h.children.map(y=>M(t,y.children).map(T=>T.text).join("").trim())):void 0,f=n.get("data"),m=n.get("categories"),c=n.get("series");if(l!==void 0&&f!==void 0)return r("a chart's numbers are its table or the file data names, not both"),[];if(l===void 0&&(f===void 0||f===""))return r(`<${CHART_TAG}> has numbers: a table inside it, or data="…" naming a file of them`),[];if(l!==void 0){(m!==void 0||c!==void 0)&&r("categories and series name a file's columns: a chart's own table has its series in its head row and its categories in its first column");const h=Math.min(...l.map(y=>y.length));(l.length<2||h<2)&&r("a chart's table has a head row and a row of numbers, a column of categories and a column of numbers")}else(m===void 0||m==="")&&r("with data, categories names the column of the categories"),(c===void 0||A(c).length===0)&&r('with data, series names the columns of the numbers (series="revenue,cost")');const u=n.get("legend"),p=[...Y,"none"];u!==void 0&&!p.includes(u)&&r(`a chart's legend is ${p.join(", ")}, not "${u}"`);const w=n.get("labels"),C=w===void 0?void 0:w===""?["value"]:A(w),S=C?.filter(h=>!I.includes(h));S?.length&&r(`a chart's labels are ${I.join(", ")}, not ${S.map(h=>`"${h}"`).join(", ")}`);const O=(h,y)=>{const T=n.get(h);if(T===void 0)return;const F=Number(T);if(T.trim()!==""&&Number.isFinite(F)&&(!y||F>0))return y?Math.round(F):F;r(`${h} of <${CHART_TAG}> is ${y?"a number of pixels":"a number"}, not "${T}"`)},G=O("min",!1),B=O("max",!1),J=O("width",!0),R=O("height",!0),_=n.get("colors");return[{type:"chart",kind:i,...g("title",n.get("title")),...l===void 0?{}:{table:l},...f===void 0||f===""?{}:{data:f},...l===void 0?g("categories",m):{},...l===void 0&&c!==void 0&&A(c).length>0?{series:A(c)}:{},...u!==void 0&&p.includes(u)?{legend:u}:{},...C!==void 0&&!S?.length?{labels:C}:{},...g("format",n.get("format")),...G===void 0?{}:{min:G},...B===void 0?{}:{max:B},..._!==void 0&&A(_).length>0?{colors:A(_)}:{},...J===void 0?{}:{width:J},...R===void 0?{}:{height:R},...g("alt",n.get("alt"))}]}function ge(t,e){k(t,e,[]);const n=[];for(const r of e.children){if(r.type!=="mdxJsxFlowElement"||r.name!==COLUMN_TAG)return a(t,r,`<${COLUMNS_TAG}> holds <${COLUMN_TAG}>s, each around its blocks`),[];const o=k(t,r,["width"]).get("width"),s=o===void 0?void 0:Number(o);o!==void 0&&!(Number.isFinite(s)&&(s??0)>0)&&a(t,r,`a column's width is a share against the others' (1, 2, 0.5), not "${o}"`);const d=E(t,r.children);if(d.some(l=>l.type==="columns"))return a(t,r,`a <${COLUMN_TAG}> holds no <${COLUMNS_TAG}>`),[];n.push({...s!==void 0&&Number.isFinite(s)&&s>0&&s!==1?{width:s}:{},blocks:d})}return n.length<2?(a(t,e,`<${COLUMNS_TAG}> holds two or more <${COLUMN_TAG}>s`),[]):[{type:"columns",columns:n}]}function he(t,e){const n=k(t,e,["widths","head"]),r=E(t,e.children),[i,...o]=r;if(i?.type!=="table"||o.length>0)return a(t,e,`<${TABLE_TAG}> holds one table`),r;const s=n.get("head");s!==void 0&&!["none","column","both","row"].includes(s)&&a(t,e,`a table's head is none, row, column or both, not "${s}"`);const d=n.get("widths")?.split(",").map(l=>{const f=Number(l.trim());return l.trim()!==""&&Number.isFinite(f)&&f>0?Math.round(f):null});return[{...i,...s==="none"||s==="column"||s==="both"?{head:s}:{},...d?.some(l=>l!==null)?{widths:d}:{}}]}function pe(t,e){switch(e.type){case"paragraph":{const n=e.children.length===1?e.children[0]:void 0;if(n?.type==="image")return[{type:"image",src:n.url,...n.alt?{alt:n.alt}:{},...n.title?{caption:n.title}:{}}];const r=M(t,e.children),i=r.map(o=>o.text).join("").trim();return i.startsWith("$$")&&i.endsWith("$$")&&i.length>4&&a(t,e,"$$ is not drawn in a doc: an equation is a ```math code block"),[{type:"paragraph",content:r}]}case"heading":return[{type:"heading",level:e.depth,content:M(t,e.children)}];case"list":{const n=e.ordered===!0;return e.children.map((r,i)=>ae(t,r,n,i===0&&n?e.start??void 0:void 0))}case"blockquote":{const{content:n,under:r}=j(t,e.children);return[N({type:"quote",content:n},r)]}case"code":return[{type:"code",...e.lang?{language:e.lang}:{},code:e.value}];case"table":return[{type:"table",rows:e.children.map(n=>le(t,n))}];case"thematicBreak":return[{type:"divider"}];case"mdxJsxFlowElement":{const n=r=>r.length>0?r:[{type:"embed",source:b(t,e)}];return e.name===BLOCK_TAG?n(ce(t,e)):e.name===TABLE_TAG?he(t,e):e.name===CALLOUT_TAG?ue(t,e):e.name===COMPONENT_TAG?n(de(t,e)):e.name===CHART_TAG?n(me(t,e)):e.name===COLUMNS_TAG?n(ge(t,e)):e.name===PAGE_BREAK_TAG?e.attributes.length>0||e.children.length>0?(a(t,e,`<${PAGE_BREAK_TAG} /> takes nothing`),n([])):[{type:"pagebreak"}]:e.name===COLUMN_TAG?(a(t,e,`a <${COLUMN_TAG}> stands inside <${COLUMNS_TAG}>`),n([])):e.name==="img"&&e.children.length===0?n(fe(t,e)):U(e)?[{type:"paragraph",content:[]}]:[{type:"embed",source:b(t,e)}]}case"footnoteDefinition":{const{content:n,under:r}=j(t,e.children);return[N({type:"note",label:e.label??e.identifier,content:n},r)]}case"mdxjsEsm":case"definition":return[{type:"source",source:b(t,e)}];case"mdxFlowExpression":return a(t,e,"{…} on its own is not drawn in a doc"),[{type:"source",source:b(t,e)}];default:return a(t,e,`${e.type} is not drawn in a doc`),[{type:"source",source:b(t,e)}]}}function D(t,e){return e.map((n,r)=>{const i=pe(t,n),o=e[r-1],s=i[0];return n.type==="list"&&n.ordered===!0&&o?.type==="list"&&o.ordered===!0&&s?.type==="numbered"&&s.start===void 0&&(i[0]={...s,start:n.start??1}),i})}function E(t,e){return D(t,e).flat()}export function parseDoc(t){const e={source:t,problems:[]};let n;try{n=q(t,{extensions:[Z(),re(),x(),te(),ee(),ne()],mdastExtensions:[K(),V(),W(),X(),z(),Q()]})}catch(c){const u=c;return{source:t,blocks:[],segments:[],page:{},problems:[{message:u.reason??u.message??"The file is not MDX",...typeof u.line=="number"?{line:u.line}:{},...typeof u.column=="number"?{column:u.column}:{}}]}}const[r]=n.children,i=r?.type==="yaml"?r:void 0,o=i?n.children.slice(1):n.children,s=i?be(e,i):{},d=[],l=D(e,o);o.forEach((c,u)=>{const p=c.position?.start.offset,w=c.position?.end.offset;p===void 0||w===void 0||d.push({start:p,end:w,blocks:l[u]??[]})});const f=i?.position?.start.offset,m=i?.position?.end.offset;return{source:t,blocks:d.flatMap(c=>c.blocks),segments:d,problems:e.problems,page:s,...f===void 0||m===void 0?{}:{frontMatter:{start:f,end:m}}}}function be(t,e){let n;try{n=ie(e.value)}catch(i){return a(t,e,`the front matter is not YAML: ${i instanceof Error?i.message:String(i)}`),{}}if(n==null)return{};if(typeof n!="object"||Array.isArray(n))return a(t,e,"the front matter holds keys: font, accent, cover, cover-y, page-numbers"),{};const r={};for(const[i,o]of Object.entries(n))i==="font"?P.includes(o)?r.font=o:a(t,e,`a page's font is ${P.join(", ")}, not ${JSON.stringify(o)}`):i==="cover"?typeof o=="string"&&o.trim()!==""?r.cover=o.trim():a(t,e,"a page's cover is a picture's path"):i==="cover-y"?typeof o=="number"&&o>=0&&o<=100?r.coverY=o:a(t,e,`a cover's cover-y is 0 (its top) to 100 (its bottom), not ${JSON.stringify(o)}`):i==="page-numbers"?o===!1?r.pageNumbers=!1:o!==!0&&a(t,e,`a page's page-numbers is true or false, not ${JSON.stringify(o)}`):i==="accent"?typeof o=="string"&&o.trim()!==""?r.accent=o.trim():a(t,e,"a page's accent is a colour"):a(t,e,`the front matter holds font, accent, cover, cover-y and page-numbers: ${i} is not one of them`);return r}
2
+ import{CHART_LEGEND_POSITIONS as D,SHEET_CHART_TYPES as j}from"@allyhub/formats";import{fromMarkdown as Y}from"mdast-util-from-markdown";import{frontmatterFromMarkdown as q}from"mdast-util-frontmatter";import{gfmFootnoteFromMarkdown as K}from"mdast-util-gfm-footnote";import{gfmStrikethroughFromMarkdown as W}from"mdast-util-gfm-strikethrough";import{gfmTableFromMarkdown as z}from"mdast-util-gfm-table";import{gfmTaskListItemFromMarkdown as X}from"mdast-util-gfm-task-list-item";import{mdxFromMarkdown as Q}from"mdast-util-mdx";import{cjkFriendlyExtension as V}from"micromark-extension-cjk-friendly";import{frontmatter as Z}from"micromark-extension-frontmatter";import{gfmFootnote as x}from"micromark-extension-gfm-footnote";import{gfmStrikethrough as ee}from"micromark-extension-gfm-strikethrough";import{gfmTable as te}from"micromark-extension-gfm-table";import{gfmTaskListItem as ne}from"micromark-extension-gfm-task-list-item";import{mdxjs as re}from"micromark-extension-mdxjs";import{parse as ie}from"yaml";import{citedOf as oe}from"./cite.js";import{PAGE_KEYS as se,readPageLook as ae}from"./page.js";import{CHART_LABELS as P}from"./model.js";export const BLOCK_TAG="Block",CALLOUT_TAG="Callout",TABLE_TAG="Table",COMPONENT_TAG="Component",COMPONENT_ATTRIBUTES=["of","width","height","at","alt","title","align","id"],PAGE_BREAK_TAG="PageBreak",CARD_TAG="Card",STATS_TAG="Stats",STAT_TAG="Stat",STAT_ATTRIBUTES=["label","value","delta","note","down-is-good","trend"],TAG_TAG="Tag",COLUMNS_TAG="Columns",COLUMN_TAG="Column",CHART_TAG="Chart",CHART_ATTRIBUTES=["type","title","data","categories","series","legend","labels","format","min","max","colors","smooth","width","height","alt","id"],BIBLIOGRAPHY_TAG="Bibliography",TOC_TAG="TableOfContents";const v=t=>t.split(",").map(e=>e.trim()).filter(e=>e!==""),J=new Set(["center","right","justify"]),k=(t,e)=>{const n=e.position?.start.offset,r=e.position?.end.offset;return n===void 0||r===void 0?"":t.source.slice(n,r)};function l(t,e,n){const r=e.position?.start;t.problems.push({message:n,...r?{line:r.line,column:r.column}:{}})}const le=(t,e)=>t.bold===e.bold&&t.italic===e.italic&&t.underline===e.underline&&t.strike===e.strike&&t.code===e.code&&t.color===e.color&&t.background===e.background&&t.tag===e.tag;function y(t,e,n,r){if(e==="")return;const i=t.at(-1);if(i&&i.note===void 0&&i.cite===void 0&&i.href===r&&le(i.styles,n)){i.text+=e;return}t.push({text:e,styles:{...n},...r===void 0?{}:{href:r}})}function h(t,e,n){const r=new Map;for(const i of e.attributes){if(i.type!=="mdxJsxAttribute"||!n.includes(i.name)){l(t,e,`<${e.name??""}> takes ${n.join(", ")}: ${i.type==="mdxJsxAttribute"?i.name:"{…}"} is not one of them`);continue}i.value===null||i.value===void 0?r.set(i.name,""):typeof i.value=="string"?r.set(i.name,i.value):l(t,e,`${i.name} of <${e.name??""}> is a plain string`)}return r}function ue(t,e,n){switch(e.name){case"u":return{...n,underline:!0};case"strong":case"b":return{...n,bold:!0};case"em":case"i":return{...n,italic:!0};case"del":case"s":return{...n,strike:!0};case"code":return{...n,code:!0};case TAG_TAG:{const r=h(t,e,["color"]).get("color");return{...n,tag:r===void 0||r===""?"gray":r}}case"span":{const r=h(t,e,["color","bg"]),i=r.get("color"),o=r.get("bg");return{...n,...i?{color:i}:{},...o?{background:o}:{}}}default:return}}function N(t,e,n,r,i){for(const o of e)switch(o.type){case"text":for(const[,s]of o.value.matchAll(/\[\^([^\]\s]+)\]/gu))l(t,o,`the footnote [^${s??""}] has no note: write [^${s??""}]: … on a line of its own`);for(const s of o.value.replace(/\r?\n/g," ").split(/(\[-?@[^\]]+\])/u)){if(s==="")continue;const d=/^\[(-?@[^\]]+)\]$/u.exec(s)?.[1];d!==void 0&&oe(d).keys.length>0?i.push({text:s,styles:{...n},cite:d}):y(i,s,n,r)}break;case"strong":N(t,o.children,{...n,bold:!0},r,i);break;case"emphasis":N(t,o.children,{...n,italic:!0},r,i);break;case"delete":N(t,o.children,{...n,strike:!0},r,i);break;case"inlineCode":y(i,o.value,{...n,code:!0},r);break;case"break":y(i,`
3
+ `,n,r);break;case"link":o.children.length===0?i.push({text:"",styles:{...n},href:o.url}):N(t,o.children,n,o.url,i);break;case"footnoteReference":{const s=o.label??o.identifier;i.push({text:s,styles:{...n},...r===void 0?{}:{href:r},note:s});break}case"mdxJsxTextElement":{if(o.name==="br"){y(i,`
4
+ `,n,r);break}const s=ue(t,o,n);if(s){N(t,o.children,s,r,i);break}l(t,o,`<${o.name??""}> inside a line is not drawn: a tag the doc's code draws goes on lines of its own`),y(i,k(t,o),n,r);break}case"mdxTextExpression":l(t,o,"{…} in a line is not drawn: write \\{ for a brace"),y(i,k(t,o),n,r);break;default:l(t,o,`${o.type} is not drawn in a doc`),y(i,k(t,o),n,r)}}function _(t,e){const n=[];return N(t,e,{},void 0,n),n}const H=t=>t?.type==="mdxJsxFlowElement"&&t.name==="br"&&t.children.length===0;function M(t,e){const[n,...r]=e;if(n?.type==="paragraph"){const i=_(t,n.children);return{content:i.length===1&&i[0]?.text===`
5
+ `&&Object.keys(i[0].styles).length===0?[]:i,under:T(t,r)}}return H(n)?{content:[],under:T(t,r)}:{content:[],under:T(t,e)}}const w=(t,e)=>e.length>0?{...t,children:e}:t;function ce(t,e,n,r){const{content:i,under:o}=M(t,e.children);return typeof e.checked=="boolean"?w({type:"check",checked:e.checked,content:i},o):w(n?{type:"numbered",...r===void 0||r===1?{}:{start:r},content:i}:{type:"bullet",content:i},o)}function de(t,e){return e.children.map(n=>_(t,n.children))}function m(t,e){return e?{[t]:e}:{}}function fe(t,e){const n=h(t,e,["align","color","bg","toggle"]),r=T(t,e.children),[i,...o]=r;if(i===void 0)return l(t,e,`<${BLOCK_TAG}> holds a block: this one is empty`),[];if(i.type==="embed"||i.type==="source")return l(t,e,`<${BLOCK_TAG}> holds a block of the doc's own, not a tag or an import`),r;const s=n.get("align");s!==void 0&&!J.has(s)&&l(t,e,`align is center, right or justify, not "${s}"`);const d={...s!==void 0&&J.has(s)?{align:s}:{},...m("color",n.get("color")),...m("background",n.get("bg"))};let a=i;if(n.has("toggle")&&(a.type==="heading"?a={...a,toggle:!0}:a.type==="paragraph"?a={type:"toggle",content:a.content}:l(t,e,"toggle is for a heading or a line of text")),Object.keys(d).length>0&&("content"in a?a={...a,look:d}:l(t,e,`a ${a.type} has no look to set`)),o.length>0)if("content"in a)a={...a,children:[...a.children??[],...o]};else return l(t,e,`a ${a.type} holds no blocks under it`),[a,...o];return[a]}function me(t,e){const n=h(t,e,["icon","color","bg"]),{content:r,under:i}=M(t,e.children),o={...m("color",n.get("color")),...m("background",n.get("bg"))};return[w({type:"callout",...m("icon",n.get("icon")),...Object.keys(o).length>0?{look:o}:{},content:r},i)]}function ge(t,e){const n=h(t,e,["title","subtitle"]),r=T(t,e.children);return[w({type:"card",...m("title",n.get("title")),...m("subtitle",n.get("subtitle"))},r)]}function he(t,e){h(t,e,[]);const n=[];for(const r of e.children){if(r.type!=="mdxJsxFlowElement"||r.name!==STAT_TAG||r.children.length>0)return l(t,r,`<${STATS_TAG}> holds <${STAT_TAG} label="…" value="…" />s, one to a line`),[];const i=h(t,r,STAT_ATTRIBUTES),o=i.get("label"),s=i.get("value");if(s===void 0||o===void 0)return l(t,r,`a <${STAT_TAG}> has a label and a value`),[];const d=i.get("trend"),a=d?.split(",").map(c=>Number(c.trim()));if(a!==void 0&&!a.every(c=>Number.isFinite(c)))return l(t,r,`a stat's trend is numbers, oldest first, comma-separated ("12,15,14,19"), not "${d??""}"`),[];n.push({label:o,value:s,...m("delta",i.get("delta")),...m("note",i.get("note")),...i.has("down-is-good")&&i.get("down-is-good")!=="false"?{downIsGood:!0}:{},...a===void 0||a.length<2?{}:{trend:a}})}return n.length===0?(l(t,e,`<${STATS_TAG}> holds one <${STAT_TAG} /> or more`),[]):[{type:"stats",stats:n}]}function pe(t,e){const n=h(t,e,["src","alt","title","width","align","id"]),r=n.get("src");if(!r)return l(t,e,"<img> names its picture: src is missing"),[];const i=Number(n.get("width")),o=n.get("align");return o!==void 0&&o!=="center"&&o!=="right"&&l(t,e,`a picture's align is center or right, not "${o}"`),[{type:"image",src:r,...m("alt",n.get("alt")),...m("caption",n.get("title")),...Number.isFinite(i)&&i>0?{width:Math.round(i)}:{},...o==="center"||o==="right"?{align:o}:{},...m("id",n.get("id"))}]}function be(t,e){if(e.children.length>0)return l(t,e,`<${COMPONENT_TAG}> holds nothing: its props are its attributes`),[];const n=new Map,r={};for(const u of e.attributes){if(u.type!=="mdxJsxAttribute"){l(t,e,`<${COMPONENT_TAG}>'s attributes are plain strings, not {…}`);continue}const f=u.value===null||u.value===void 0?"":typeof u.value=="string"?u.value:void 0;if(f===void 0){l(t,e,`${u.name} of <${COMPONENT_TAG}> is a plain string`);continue}COMPONENT_ATTRIBUTES.includes(u.name)?n.set(u.name,f):r[u.name]=f}const i=n.get("of")??"";if(i.trim()==="")return l(t,e,`<${COMPONENT_TAG}> names its component: of is missing (of="../ui.ts#Dialog")`),[];const o=u=>{const f=n.get(u);if(f===void 0)return;const b=Number(f);if(Number.isFinite(b)&&b>0)return Math.round(b);l(t,e,`${u} of <${COMPONENT_TAG}> is a number of pixels, not "${f}"`)},s=o("width"),d=o("height"),a=n.get("at"),c=a===void 0?void 0:Number(a);c!==void 0&&!(Number.isFinite(c)&&c>=0)&&l(t,e,`at of <${COMPONENT_TAG}> is seconds, 0 or more, not "${a??""}"`);const g=n.get("align");return g!==void 0&&g!=="center"&&g!=="right"&&l(t,e,`a component's align is center or right, not "${g}"`),[{type:"component",of:i,...s===void 0?{}:{width:s},...d===void 0?{}:{height:d},...c!==void 0&&Number.isFinite(c)&&c>=0?{at:c}:{},...m("alt",n.get("alt")),...m("caption",n.get("title")),...g==="center"||g==="right"?{align:g}:{},...m("id",n.get("id")),props:r}]}function ke(t,e){const n=h(t,e,CHART_ATTRIBUTES),r=p=>{l(t,e,p)},i=n.get("type");if(i===void 0||i==="")return r(`<${CHART_TAG}> says what it is drawn as: type is missing (${j.join(", ")})`),[];if(!j.includes(i))return r(`a chart's type is ${j.join(", ")}, not "${i}"`),[];const o=e.children,[s,...d]=o;if(d.length>0||s!==void 0&&s.type!=="table")return r(`<${CHART_TAG}> holds one table: its numbers`),[];const a=s?.type==="table"?s.children.map(p=>p.children.map($=>_(t,$.children).map(E=>E.text).join("").trim())):void 0,c=n.get("data"),g=n.get("categories"),u=n.get("series");if(a!==void 0&&c!==void 0)return r("a chart's numbers are its table or the file data names, not both"),[];if(a===void 0&&(c===void 0||c===""))return r(`<${CHART_TAG}> has numbers: a table inside it, or data="…" naming a file of them`),[];if(a!==void 0){(g!==void 0||u!==void 0)&&r("categories and series name a file's columns: a chart's own table has its series in its head row and its categories in its first column");const p=Math.min(...a.map($=>$.length));(a.length<2||p<2)&&r("a chart's table has a head row and a row of numbers, a column of categories and a column of numbers")}else(g===void 0||g==="")&&r("with data, categories names the column of the categories"),(u===void 0||v(u).length===0)&&r('with data, series names the columns of the numbers (series="revenue,cost")');const f=n.get("legend"),b=[...D,"none"];f!==void 0&&!b.includes(f)&&r(`a chart's legend is ${b.join(", ")}, not "${f}"`);const A=n.get("labels"),S=A===void 0?void 0:A===""?["value"]:v(A),G=S?.filter(p=>!P.includes(p));G?.length&&r(`a chart's labels are ${P.join(", ")}, not ${G.map(p=>`"${p}"`).join(", ")}`);const F=(p,$)=>{const E=n.get(p);if(E===void 0)return;const C=Number(E);if(E.trim()!==""&&Number.isFinite(C)&&(!$||C>0))return $?Math.round(C):C;r(`${p} of <${CHART_TAG}> is ${$?"a number of pixels":"a number"}, not "${E}"`)},L=F("min",!1),B=F("max",!1),I=F("width",!0),R=F("height",!0),O=n.get("colors");return[{type:"chart",kind:i,...m("title",n.get("title")),...a===void 0?{}:{table:a},...c===void 0||c===""?{}:{data:c},...a===void 0?m("categories",g):{},...a===void 0&&u!==void 0&&v(u).length>0?{series:v(u)}:{},...f!==void 0&&b.includes(f)?{legend:f}:{},...S!==void 0&&!G?.length?{labels:S}:{},...m("format",n.get("format")),...L===void 0?{}:{min:L},...B===void 0?{}:{max:B},...O!==void 0&&v(O).length>0?{colors:v(O)}:{},...n.has("smooth")&&n.get("smooth")!=="false"?{smooth:!0}:{},...I===void 0?{}:{width:I},...R===void 0?{}:{height:R},...m("alt",n.get("alt")),...m("id",n.get("id"))}]}function $e(t,e){h(t,e,[]);const n=[];for(const r of e.children){if(r.type!=="mdxJsxFlowElement"||r.name!==COLUMN_TAG)return l(t,r,`<${COLUMNS_TAG}> holds <${COLUMN_TAG}>s, each around its blocks`),[];const o=h(t,r,["width"]).get("width"),s=o===void 0?void 0:Number(o);o!==void 0&&!(Number.isFinite(s)&&(s??0)>0)&&l(t,r,`a column's width is a share against the others' (1, 2, 0.5), not "${o}"`);const d=T(t,r.children);if(d.some(a=>a.type==="columns"))return l(t,r,`a <${COLUMN_TAG}> holds no <${COLUMNS_TAG}>`),[];n.push({...s!==void 0&&Number.isFinite(s)&&s>0&&s!==1?{width:s}:{},blocks:d})}return n.length<2?(l(t,e,`<${COLUMNS_TAG}> holds two or more <${COLUMN_TAG}>s`),[]):[{type:"columns",columns:n}]}function ye(t,e){const n=h(t,e,["widths","head","caption","id"]),r=T(t,e.children),[i,...o]=r;if(i?.type!=="table"||o.length>0)return l(t,e,`<${TABLE_TAG}> holds one table`),r;const s=n.get("head");s!==void 0&&!["none","column","both","row"].includes(s)&&l(t,e,`a table's head is none, row, column or both, not "${s}"`);const d=n.get("widths")?.split(",").map(a=>{const c=Number(a.trim());return a.trim()!==""&&Number.isFinite(c)&&c>0?Math.round(c):null});return[{...i,...s==="none"||s==="column"||s==="both"?{head:s}:{},...d?.some(a=>a!==null)?{widths:d}:{},...m("caption",n.get("caption")),...m("id",n.get("id"))}]}function we(t,e){switch(e.type){case"paragraph":{const n=e.children.length===1?e.children[0]:void 0;if(n?.type==="image")return[{type:"image",src:n.url,...n.alt?{alt:n.alt}:{},...n.title?{caption:n.title}:{}}];const r=_(t,e.children),i=r.map(o=>o.text).join("").trim();return i.startsWith("$$")&&i.endsWith("$$")&&i.length>4&&l(t,e,"$$ is not drawn in a doc: an equation is a ```math code block"),[{type:"paragraph",content:r}]}case"heading":return[{type:"heading",level:e.depth,content:_(t,e.children)}];case"list":{const n=e.ordered===!0;return e.children.map((r,i)=>ce(t,r,n,i===0&&n?e.start??void 0:void 0))}case"blockquote":{const{content:n,under:r}=M(t,e.children);return[w({type:"quote",content:n},r)]}case"code":return[{type:"code",...e.lang?{language:e.lang}:{},code:e.value}];case"table":return[{type:"table",rows:e.children.map(n=>de(t,n))}];case"thematicBreak":return[{type:"divider"}];case"mdxJsxFlowElement":{const n=r=>r.length>0?r:[{type:"embed",source:k(t,e)}];if(e.name===BLOCK_TAG)return n(fe(t,e));if(e.name===TABLE_TAG)return ye(t,e);if(e.name===CALLOUT_TAG)return me(t,e);if(e.name===COMPONENT_TAG)return n(be(t,e));if(e.name===CHART_TAG)return n(ke(t,e));if(e.name===COLUMNS_TAG)return n($e(t,e));if(e.name===CARD_TAG)return n(ge(t,e));if(e.name===STATS_TAG)return n(he(t,e));if(e.name===STAT_TAG)return l(t,e,`a <${STAT_TAG} /> stands inside <${STATS_TAG}>`),n([]);if(e.name===PAGE_BREAK_TAG){const i=h(t,e,["orientation"]).get("orientation");return e.children.length>0?(l(t,e,`<${PAGE_BREAK_TAG} /> holds nothing`),n([])):i!==void 0&&i!=="portrait"&&i!=="landscape"?(l(t,e,`a page break's orientation is portrait or landscape, not "${i}"`),n([])):[{type:"pagebreak",...i===void 0?{}:{orientation:i}}]}if(e.name===BIBLIOGRAPHY_TAG)return e.attributes.length>0||e.children.length>0?(l(t,e,`<${BIBLIOGRAPHY_TAG} /> takes nothing`),n([])):[{type:"bibliography"}];if(e.name===TOC_TAG){const r=h(t,e,["levels","title"]),i=r.get("levels"),o=r.get("title"),s=i===void 0?void 0:Number(i);return e.children.length>0||s!==void 0&&!(Number.isInteger(s)&&s>=1&&s<=6)?(l(t,e,`<${TOC_TAG} /> holds nothing, and its levels are 1 to 6 (the deepest heading it lists)`),n([])):[{type:"toc",...s===void 0?{}:{levels:s},...o===void 0?{}:{title:o}}]}return e.name===COLUMN_TAG?(l(t,e,`a <${COLUMN_TAG}> stands inside <${COLUMNS_TAG}>`),n([])):e.name==="img"&&e.children.length===0?n(pe(t,e)):H(e)?[{type:"paragraph",content:[]}]:[{type:"embed",source:k(t,e)}]}case"footnoteDefinition":{const{content:n,under:r}=M(t,e.children);return[w({type:"note",label:e.label??e.identifier,content:n},r)]}case"mdxjsEsm":case"definition":return[{type:"source",source:k(t,e)}];case"mdxFlowExpression":return l(t,e,"{…} on its own is not drawn in a doc"),[{type:"source",source:k(t,e)}];default:return l(t,e,`${e.type} is not drawn in a doc`),[{type:"source",source:k(t,e)}]}}function U(t,e){return e.map((n,r)=>{const i=we(t,n),o=e[r-1],s=i[0];return n.type==="list"&&n.ordered===!0&&o?.type==="list"&&o.ordered===!0&&s?.type==="numbered"&&s.start===void 0&&(i[0]={...s,start:n.start??1}),i})}function T(t,e){return U(t,e).flat()}export function parseDoc(t){const e={source:t,problems:[]};let n;try{n=Y(t,{extensions:[Z(),re(),x(),te(),ee(),ne(),V()],mdastExtensions:[q(),Q(),K(),z(),W(),X()]})}catch(u){const f=u;return{source:t,blocks:[],segments:[],page:{},problems:[{message:f.reason??f.message??"The file is not MDX",...typeof f.line=="number"?{line:f.line}:{},...typeof f.column=="number"?{column:f.column}:{}}]}}const[r]=n.children,i=r?.type==="yaml"?r:void 0,o=i?n.children.slice(1):n.children,s=i?Te(e,i):{},d=[],a=U(e,o);o.forEach((u,f)=>{const b=u.position?.start.offset,A=u.position?.end.offset;b===void 0||A===void 0||d.push({start:b,end:A,blocks:a[f]??[]})});const c=i?.position?.start.offset,g=i?.position?.end.offset;return{source:t,blocks:d.flatMap(u=>u.blocks),segments:d,problems:e.problems,page:s,...c===void 0||g===void 0?{}:{frontMatter:{start:c,end:g}}}}function Te(t,e){let n;try{n=ie(e.value)}catch(r){return l(t,e,`the front matter is not YAML: ${r instanceof Error?r.message:String(r)}`),{}}return n==null?{}:typeof n!="object"||Array.isArray(n)?(l(t,e,`the front matter holds keys: ${se.join(", ")}`),{}):ae(n,r=>{l(t,e,r)})}
@@ -0,0 +1,2 @@
1
+ /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
+ const c=/^[+\-−–]?[$€£¥]?\s?\d[\d,.\s]*\s?(%|×|x|k|K|M|B|bn|pt|pp)?\*?$/u,x=/^([—–-]|n\/a|N\/A|NA)$/u,d=t=>t.map(e=>e.text).join("").trim();export function numberColumns(t){const e=t.head===void 0||t.head==="both",s=t.head==="column"||t.head==="both",r=e?t.rows.slice(1):t.rows,m=Math.max(0,...t.rows.map(o=>o.length)),a=new Set;for(let o=s?1:0;o<m;o++){const u=r.map(n=>d(n[o]??[]));u.some(n=>c.test(n))&&u.every(n=>n===""||c.test(n)||x.test(n))&&a.add(o)}return a}const h={min:6,max:36,room:2};export function columnShares(t){const e=Math.max(0,...t.rows.map(s=>s.length));return Array.from({length:e},(s,r)=>{const m=Math.max(0,...t.rows.map(a=>Array.from(d(a[r]??[])).length));return Math.min(h.max,Math.max(h.min,m+h.room))})}
@@ -1,65 +1,70 @@
1
1
  /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
- import{stringify as z}from"yaml";import{BLOCK_TAG as E,CALLOUT_TAG as G,CHART_TAG as _,PAGE_BREAK_TAG as D,COLUMN_TAG as M,COLUMNS_TAG as R,COMPONENT_TAG as K,TABLE_TAG as N}from"./parse.js";const j=["link","span","underline","bold","italic","strike","code"];function l(e,n){switch(n){case"link":return e.href;case"span":return e.styles.color!==void 0||e.styles.background!==void 0?`${e.styles.color??""}
3
- ${e.styles.background??""}`:void 0;default:return e.styles[n]?"on":void 0}}const d=(e,n)=>n===void 0?"":` ${e}="${n.replace(/&/g,"&amp;").replace(/"/g,"&quot;")}"`,v=e=>e!==void 0&&/[\p{L}\p{N}]/u.test(e);function T(e,n,r=n){let t="";const i=Array.from(e);return i.forEach((a,s)=>{const u=i[s-1],o=i[s+1];switch(a){case"\\":case"*":case"`":case"[":case"]":case"<":case">":case"{":case"}":case"~":t+=`\\${a}`;break;case"_":t+=v(u)&&v(o)?a:`\\${a}`;break;case"&":t+=/^&(#\d+|#x[0-9a-f]+|[a-z][a-z0-9]*);/i.test(i.slice(s,s+34).join(""))?"&amp;":a;break;case"|":t+=n?"\\|":a;break;case"!":t+=o===void 0?"\\!":a;break;case`
2
+ import{Document as K,visit as Y}from"yaml";import{pageLookYaml as F}from"./page.js";import{BLOCK_TAG as C,CALLOUT_TAG as M,CARD_TAG as E,STAT_TAG as J,STATS_TAG as R,TAG_TAG as I,CHART_TAG as L,PAGE_BREAK_TAG as Q,COLUMN_TAG as B,COLUMNS_TAG as N,COMPONENT_TAG as V,TABLE_TAG as U,TOC_TAG as X,BIBLIOGRAPHY_TAG as Z}from"./parse.js";const A=["link","span","tag","underline","bold","italic","strike","code"];function g(e,n){switch(n){case"link":return e.href;case"tag":return e.styles.tag;case"span":return e.styles.color!==void 0||e.styles.background!==void 0?`${e.styles.color??""}
3
+ ${e.styles.background??""}`:void 0;default:return e.styles[n]?"on":void 0}}const s=(e,n)=>n===void 0?"":` ${e}="${n.replace(/&/g,"&amp;").replace(/"/g,"&quot;")}"`,_=e=>e!==void 0&&/[\p{L}\p{N}]/u.test(e);function G(e,n,r=n){let t="";const i=Array.from(e);return i.forEach((a,d)=>{const u=i[d-1],c=i[d+1];switch(a){case"\\":case"*":case"`":case"[":case"]":case"<":case">":case"{":case"}":case"~":t+=`\\${a}`;break;case"_":t+=_(u)&&_(c)?a:`\\${a}`;break;case"&":t+=/^&(#\d+|#x[0-9a-f]+|[a-z][a-z0-9]*);/i.test(i.slice(d,d+34).join(""))?"&amp;":a;break;case"|":t+=n?"\\|":a;break;case"!":t+=c===void 0?"\\!":a;break;case`
4
4
  `:t+=r?"<br />":`\\
5
- `;break;default:t+=a}}),t}function Y(e){const n=Math.max(0,...(e.match(/`+/g)??[]).map(i=>i.length)),r="`".repeat(n+1),t=e.startsWith("`")||e.endsWith("`")||e.startsWith(" ")&&e.endsWith(" ")&&e.trim()!==""?" ":"";return`${r}${t}${e}${t}${r}`}const H={bold:"**",italic:"*",strike:"~~"},B={underline:"u",bold:"strong",italic:"em",strike:"del",code:"code"};function L(e,n){let r="",t=0,i=!0;for(;t<e.length;){const a=e[t];if(a===void 0)break;if(a.note!==void 0){r+=`[^${a.note}]`,i=!1,t++;continue}const s=j.find(h=>!n.used.has(h)&&l(a,h)!==void 0);if(s===void 0){r+=T(a.text,n.inTable,n.oneLine),i=!0,t++;continue}const u=l(a,s);let o=t+1;for(;o<e.length;){const h=e[o];if(h===void 0||l(h,s)!==u||s==="code"&&j.some(p=>p!=="code"&&!n.used.has(p)&&l(h,p)!==void 0))break;o++}const c=e.slice(t,o),f=new Set([...n.used,s]),$=c.map(h=>h.text).join(""),A=e[o],I=A===void 0||j.every(h=>n.used.has(h)||l(A,h)===void 0);if(s==="code")r+=$.includes(`
6
- `)||n.inTable&&$.includes("|")?`<code>${T($,n.inTable,n.oneLine)}</code>`:Y($);else if(s==="link"){const h=L(c,{...n,used:f}),p=(u??"").replace(/[\s()<>\\]/g,x=>encodeURIComponent(x));r+=`[${h}](${p})`}else if(s==="span"){const h=L(c,{...n,used:f}),p=c[0];r+=`<span${d("color",p?.styles.color)}${d("bg",p?.styles.background)}>${h}</span>`}else{const h=L(c,{...n,used:f}),p=H[s],x=Array.from($),U=t===0&&o===e.length,W=n.used.has("bold")||n.used.has("italic")||n.used.has("strike"),C=w=>w!==void 0&&j.every(y=>f.has(y)||l(w,y)===void 0),q=s==="bold"&&c.every(w=>w.styles.italic===!0&&j.every(y=>y==="italic"||f.has(y)||l(w,y)===void 0)),P=p!==void 0&&v(x[0])&&v(x.at(-1))&&!$.includes(`
7
- `)&&i&&I&&(!W||U&&s==="italic"&&n.used.has("bold"))&&(C(c[0])&&C(c.at(-1))||q);r+=P?`${p}${h}${p}`:`<${B[s]}>${h}</${B[s]}>`}i=!1,t=o}return r}function F(e){if(/^(import|export)(\s|$)/.test(e))return`&#x${e.charCodeAt(0).toString(16)};${e.slice(1)}`;if(/^(#{1,6}(\s|$)|[-+](\s|$)|[=-]+\s*$|[|:\-\s]*-[|:\-\s]*$)/.test(e))return`\\${e}`;const n=/^(\d{1,9})([.)])(\s|$)/.exec(e);return n?.[1]!==void 0?`${n[1]}\\${e.slice(n[1].length)}`:e}function g(e,n=!1,r=n){const t=e.filter(s=>s.text!=="").map((s,u,o)=>{if(s.note===void 0)return s;const c=o.slice(0,u).findLast(f=>f.note===void 0);return c===void 0?s:{...s,styles:{...c.styles},...c.href===void 0?{}:{href:c.href}}}),i=L(t,{inTable:n,oneLine:r,used:new Set}),a=s=>s.replace(/ +$/,"").replace(/^ +/,u=>"&#x20;".repeat(u.length));return r?a(i):i.split(`
8
- `).map(s=>F(a(s))).join(`
9
- `)}const O=(e,n)=>e.split(`
5
+ `;break;default:t+=a}}),t}function b(e){const n=Math.max(0,...(e.match(/`+/g)??[]).map(i=>i.length)),r="`".repeat(n+1),t=e.startsWith("`")||e.endsWith("`")||e.startsWith(" ")&&e.endsWith(" ")&&e.trim()!==""?" ":"";return`${r}${t}${e}${t}${r}`}const k={bold:"**",italic:"*",strike:"~~"},W={underline:"u",bold:"strong",italic:"em",strike:"del",code:"code"};function T(e,n){let r="",t=0,i=!0;for(;t<e.length;){const a=e[t];if(a===void 0)break;if(a.note!==void 0||a.cite!==void 0){r+=a.note===void 0?`[${a.cite??""}]`:`[^${a.note}]`,i=!1,t++;continue}const d=A.find(f=>!n.used.has(f)&&g(a,f)!==void 0);if(d===void 0){r+=G(a.text,n.inTable,n.oneLine),i=!0,t++;continue}const u=g(a,d);let c=t+1;for(;c<e.length;){const f=e[c];if(f===void 0||g(f,d)!==u||d==="code"&&A.some(p=>p!=="code"&&!n.used.has(p)&&g(f,p)!==void 0))break;c++}const o=e.slice(t,c),$=new Set([...n.used,d]),h=o.map(f=>f.text).join(""),j=e[c],q=j===void 0||A.every(f=>n.used.has(f)||g(j,f)===void 0);if(d==="code")r+=h.includes(`
6
+ `)||n.inTable&&h.includes("|")?`<code>${G(h,n.inTable,n.oneLine)}</code>`:b(h);else if(d==="link"){const f=T(o,{...n,used:$}),p=(u??"").replace(/[\s()<>\\]/g,x=>encodeURIComponent(x));r+=`[${f}](${p})`}else if(d==="tag"){const f=T(o,{...n,used:$});r+=`<${I}${s("color",u)}>${f}</${I}>`}else if(d==="span"){const f=T(o,{...n,used:$}),p=o[0];r+=`<span${s("color",p?.styles.color)}${s("bg",p?.styles.background)}>${f}</span>`}else{const f=T(o,{...n,used:$}),p=k[d],x=Array.from(h),D=t===0&&c===e.length,P=n.used.has("bold")||n.used.has("italic")||n.used.has("strike"),O=w=>w!==void 0&&A.every(y=>$.has(y)||g(w,y)===void 0),z=d==="bold"&&o.every(w=>w.styles.italic===!0&&A.every(y=>y==="italic"||$.has(y)||g(w,y)===void 0)),H=p!==void 0&&_(x[0])&&_(x.at(-1))&&!h.includes(`
7
+ `)&&i&&q&&(!P||D&&d==="italic"&&n.used.has("bold"))&&(O(o[0])&&O(o.at(-1))||z);r+=H?`${p}${f}${p}`:`<${W[d]}>${f}</${W[d]}>`}i=!1,t=c}return r}function ee(e){if(/^(import|export)(\s|$)/.test(e))return`&#x${e.charCodeAt(0).toString(16)};${e.slice(1)}`;if(/^(#{1,6}(\s|$)|[-+](\s|$)|[=-]+\s*$|[|:\-\s]*-[|:\-\s]*$)/.test(e))return`\\${e}`;const n=/^(\d{1,9})([.)])(\s|$)/.exec(e);return n?.[1]!==void 0?`${n[1]}\\${e.slice(n[1].length)}`:e}function l(e,n=!1,r=n){const t=e.filter(d=>d.text!==""||d.href!==void 0).map((d,u,c)=>{if(d.note===void 0)return d;const o=c.slice(0,u).findLast($=>$.note===void 0);return o===void 0?d:{...d,styles:{...o.styles},...o.href===void 0?{}:{href:o.href}}}),i=T(t,{inTable:n,oneLine:r,used:new Set}),a=d=>d.replace(/ +$/,"").replace(/^ +/,u=>"&#x20;".repeat(u.length));return r?a(i):i.split(`
8
+ `).map(d=>ee(a(d))).join(`
9
+ `)}const v=(e,n)=>e.split(`
10
10
  `).map((r,t)=>t===0||r===""?r:`${n}${r}`).join(`
11
- `),m=e=>e.type==="bullet"||e.type==="numbered"||e.type==="check",J=e=>`${d("align",e?.align)}${d("color",e?.color)}${d("bg",e?.background)}`,Q=e=>e!==void 0&&Object.keys(e).length>0;function S(e){return!("content"in e)||e.type==="callout"?!1:Q(e.look)||e.type==="toggle"||e.type==="heading"&&e.toggle?!0:(e.type==="paragraph"||e.type==="heading")&&(e.children?.length??0)>0}function V(e){const n=Math.max(2,...(e.match(/^\s*`{3,}/gm)??[]).map(r=>r.trim().length));return"`".repeat(n+1)}function X(e,n,r){const t=e.type==="numbered"?`${String(n)}${r} `:e.type==="check"?`- [${e.checked?"x":" "}] `:"- ",i=" ".repeat(e.type==="numbered"?t.length:2),a=e.children??[],s=g(e.content)||(e.type==="check"&&(e.children??[]).length===0?"<br />":"");if(a.length===0)return`${t}${O(s,i)}`.trimEnd();const u=s===""?"<br />":s,[o]=a,c=o!==void 0&&m(o)&&g(o.content)!==""&&!(o.type==="numbered"&&(o.start??1)!==1),f=a.every(m)&&s!==""&&c;return`${t}${O(u,i)}${f?`
11
+ `),m=e=>e.type==="bullet"||e.type==="numbered"||e.type==="check",ne=e=>`${s("align",e?.align)}${s("color",e?.color)}${s("bg",e?.background)}`,te=e=>e!==void 0&&Object.keys(e).length>0;function S(e){return!("content"in e)||e.type==="callout"?!1:te(e.look)||e.type==="toggle"||e.type==="heading"&&e.toggle?!0:(e.type==="paragraph"||e.type==="heading")&&(e.children?.length??0)>0}function re(e){const n=Math.max(2,...(e.match(/^\s*`{3,}/gm)??[]).map(r=>r.trim().length));return"`".repeat(n+1)}function se(e,n,r){const t=e.type==="numbered"?`${String(n)}${r} `:e.type==="check"?`- [${e.checked?"x":" "}] `:"- ",i=" ".repeat(e.type==="numbered"?t.length:2),a=e.children??[],d=l(e.content)||(e.type==="check"&&(e.children??[]).length===0?"<br />":"");if(a.length===0)return`${t}${v(d,i)}`.trimEnd();const u=d===""?"<br />":d,[c]=a,o=c!==void 0&&m(c)&&l(c.content)!==""&&!(c.type==="numbered"&&(c.start??1)!==1),$=a.every(m)&&d!==""&&o;return`${t}${v(u,i)}${$?`
12
12
  `:`
13
13
 
14
- `}${i}${O(writeBlocks(a),i)}`}function Z(e){switch(e.type){case"paragraph":{const n=g(e.content);return n===""?"<br />":n}case"heading":return`${"#".repeat(e.level)} ${g(e.content,!1,!0).replace(/(^| )(#+)$/,"$1\\$2")}`.trimEnd();case"toggle":return g(e.content)||"<br />";case"quote":{const n=g(e.content);return(e.children?.length?[n===""?"<br />":n,writeBlocks(e.children)]:[n]).join(`
14
+ `}${i}${v(writeBlocks(a),i)}`}function ie(e){switch(e.type){case"paragraph":{const n=l(e.content);return n===""?"<br />":n}case"heading":return`${"#".repeat(e.level)} ${l(e.content,!1,!0).replace(/(^| )(#+)$/,"$1\\$2")}`.trimEnd();case"toggle":return l(e.content)||"<br />";case"quote":{const n=l(e.content);return(e.children?.length?[n===""?"<br />":n,writeBlocks(e.children)]:[n]).join(`
15
15
 
16
16
  `).split(`
17
17
  `).map(t=>t===""?">":`> ${t}`).join(`
18
- `)}case"callout":{const n=g(e.content),r=[n===""?"<br />":n,...e.children?.length?[writeBlocks(e.children)]:[]].join(`
18
+ `)}case"callout":{const n=l(e.content),r=[n===""?"<br />":n,...e.children?.length?[writeBlocks(e.children)]:[]].join(`
19
19
 
20
- `);return`<${G}${d("icon",e.icon)}${d("color",e.look?.color)}${d("bg",e.look?.background)}>
20
+ `);return`<${M}${s("icon",e.icon)}${s("color",e.look?.color)}${s("bg",e.look?.background)}>
21
21
 
22
22
  ${r}
23
23
 
24
- </${G}>`}case"code":{const n=V(e.code);return`${n}${e.language??""}
24
+ </${M}>`}case"card":{const n=e.children?.length?writeBlocks(e.children):"";return`<${E}${s("title",e.title)}${s("subtitle",e.subtitle)}>
25
+
26
+ ${n===""?"<br />":n}
27
+
28
+ </${E}>`}case"stats":return[`<${R}>`,...e.stats.map(n=>`<${J}${s("label",n.label)}${s("value",n.value)}${s("delta",n.delta)}${s("note",n.note)}${n.downIsGood?" down-is-good":""}${s("trend",n.trend?.join(","))} />`),`</${R}>`].join(`
29
+ `);case"code":{const n=re(e.code);return`${n}${e.language??""}
25
30
  ${e.code}
26
- ${n}`}case"image":{const n=e.src.replace(/[\s()<>\\]/g,t=>encodeURIComponent(t));if(e.width!==void 0||e.align!==void 0)return`<img${d("src",e.src)}${d("alt",e.alt)}${d("title",e.caption)}${d("width",e.width===void 0?void 0:String(e.width))}${d("align",e.align)} />`;const r=e.caption===void 0?"":` "${e.caption.replace(/["\\]/g,"\\$&")}"`;return`![${T(e.alt??"",!1)}](${n}${r})`}case"table":{const n=Math.max(1,...e.rows.map(u=>u.length)),r=u=>`| ${Array.from({length:n},(o,c)=>g(u[c]??[],!0)).join(" | ")} |`,[t,...i]=e.rows,a=[r(t??[]),`| ${Array.from({length:n},()=>"---").join(" | ")} |`,...i.map(r)].join(`
27
- `),s=e.widths?.some(u=>u!==null)?e.widths.map(u=>u===null?"":String(u)).join(","):void 0;return s===void 0&&e.head===void 0?a:`<${N}${d("widths",s)}${d("head",e.head)}>
31
+ ${n}`}case"image":{const n=e.src.replace(/[\s()<>\\]/g,t=>encodeURIComponent(t));if(e.width!==void 0||e.align!==void 0||e.id!==void 0)return`<img${s("src",e.src)}${s("alt",e.alt)}${s("title",e.caption)}${s("width",e.width===void 0?void 0:String(e.width))}${s("align",e.align)}${s("id",e.id)} />`;const r=e.caption===void 0?"":` "${e.caption.replace(/["\\]/g,"\\$&")}"`;return`![${G(e.alt??"",!1)}](${n}${r})`}case"table":{const n=Math.max(1,...e.rows.map(u=>u.length)),r=u=>`| ${Array.from({length:n},(c,o)=>l(u[o]??[],!0)).join(" | ")} |`,[t,...i]=e.rows,a=[r(t??[]),`| ${Array.from({length:n},()=>"---").join(" | ")} |`,...i.map(r)].join(`
32
+ `),d=e.widths?.some(u=>u!==null)?e.widths.map(u=>u===null?"":String(u)).join(","):void 0;return d===void 0&&e.head===void 0&&e.caption===void 0&&e.id===void 0?a:`<${U}${s("widths",d)}${s("head",e.head)}${s("caption",e.caption)}${s("id",e.id)}>
28
33
 
29
34
  ${a}
30
35
 
31
- </${N}>`}case"divider":return"---";case"component":{const n=t=>t===void 0?void 0:String(t),r=Object.entries(e.props).map(([t,i])=>d(t,i)).join("");return`<${K}${d("of",e.of)}${d("width",n(e.width))}${d("height",n(e.height))}${d("at",n(e.at))}${r}${d("alt",e.alt)}${d("title",e.caption)}${d("align",e.align)} />`}case"chart":return b(e);case"pagebreak":return`<${D} />`;case"note":{const n=g(e.content)||"<br />",r=e.children?.length?`
36
+ </${U}>`}case"divider":return"---";case"component":{const n=t=>t===void 0?void 0:String(t),r=Object.entries(e.props).map(([t,i])=>s(t,i)).join("");return`<${V}${s("of",e.of)}${s("width",n(e.width))}${s("height",n(e.height))}${s("at",n(e.at))}${r}${s("alt",e.alt)}${s("title",e.caption)}${s("align",e.align)}${s("id",e.id)} />`}case"chart":return de(e);case"pagebreak":return`<${Q}${s("orientation",e.orientation)} />`;case"bibliography":return`<${Z} />`;case"toc":return`<${X}${s("levels",e.levels===void 0?void 0:String(e.levels))}${s("title",e.title)} />`;case"note":{const n=l(e.content)||"<br />",r=e.children?.length?`
32
37
 
33
38
  ${writeBlocks(e.children).split(`
34
39
  `).map(t=>t===""?t:` ${t}`).join(`
35
- `)}`:"";return`[^${e.label}]: ${O(n," ")}${r}`}case"columns":return[`<${R}>`,...e.columns.map(n=>{const r=writeBlocks(n.blocks);return`<${M}${d("width",n.width===void 0?void 0:String(n.width))}>
40
+ `)}`:"";return`[^${e.label}]: ${v(n," ")}${r}`}case"columns":return[`<${N}>`,...e.columns.map(n=>{const r=writeBlocks(n.blocks);return`<${B}${s("width",n.width===void 0?void 0:String(n.width))}>
36
41
 
37
42
  ${r===""?"<br />":r}
38
43
 
39
- </${M}>`}),`</${R}>`].join(`
44
+ </${B}>`}),`</${N}>`].join(`
40
45
 
41
- `);case"embed":case"source":return e.source}}function b(e){const n=f=>f===void 0?void 0:String(f),r=f=>f===void 0?void 0:f.join(","),t=e.labels?.length===1&&e.labels[0]==="value"?" labels":d("labels",r(e.labels)),i=[d("type",e.kind),d("title",e.title),d("data",e.data),d("categories",e.categories),d("series",r(e.series)),d("legend",e.legend),t,d("format",e.format),d("min",n(e.min)),d("max",n(e.max)),d("colors",r(e.colors)),d("width",n(e.width)),d("height",n(e.height)),d("alt",e.alt)].join("");if(e.table===void 0)return`<${_}${i} />`;const a=Math.max(1,...e.table.map(f=>f.length)),s=f=>`| ${Array.from({length:a},($,A)=>T(f[A]??"",!0)).join(" | ")} |`,[u,...o]=e.table,c=[s(u??[]),`| ${Array.from({length:a},()=>"---").join(" | ")} |`,...o.map(s)].join(`
42
- `);return`<${_}${i}>
46
+ `);case"embed":case"source":return e.source}}function de(e){const n=$=>$===void 0?void 0:String($),r=$=>$===void 0?void 0:$.join(","),t=e.labels?.length===1&&e.labels[0]==="value"?" labels":s("labels",r(e.labels)),i=[s("type",e.kind),s("title",e.title),s("data",e.data),s("categories",e.categories),s("series",r(e.series)),s("legend",e.legend),t,s("format",e.format),s("min",n(e.min)),s("max",n(e.max)),s("colors",r(e.colors)),e.smooth?" smooth":"",s("width",n(e.width)),s("height",n(e.height)),s("alt",e.alt),s("id",e.id)].join("");if(e.table===void 0)return`<${L}${i} />`;const a=Math.max(1,...e.table.map($=>$.length)),d=$=>`| ${Array.from({length:a},(h,j)=>G($[j]??"",!0)).join(" | ")} |`,[u,...c]=e.table,o=[d(u??[]),`| ${Array.from({length:a},()=>"---").join(" | ")} |`,...c.map(d)].join(`
47
+ `);return`<${L}${i}>
43
48
 
44
- ${c}
49
+ ${o}
45
50
 
46
- </${_}>`}export function frontMatterOf(e){const n={...e.font===void 0?{}:{font:e.font},...e.accent===void 0?{}:{accent:e.accent},...e.cover===void 0?{}:{cover:e.cover},...e.cover===void 0||e.coverY===void 0?{}:{"cover-y":e.coverY},...e.pageNumbers===!1?{"page-numbers":!1}:{}};return Object.keys(n).length===0?"":z(n,{lineWidth:0}).trimEnd()}export function withPage(e,n){const r=frontMatterOf(n),t=r===""?"":`---
51
+ </${L}>`}export function frontMatterOf(e){const n=F(e);if(Object.keys(n).length===0)return"";const r=new K(n);return Y(r,{Seq:(t,i)=>{i.flow=!0},Map:(t,i,a)=>{a.length>1&&(i.flow=!0)}}),r.toString({lineWidth:0}).trimEnd()}export function withPage(e,n){const r=frontMatterOf(n),t=r===""?"":`---
47
52
  ${r}
48
- ---`,i=e.frontMatter;if(i===void 0){if(t==="")return e.source;const s=e.source.replace(/^\s+/u,"");return s===""?`${t}
53
+ ---`,i=e.frontMatter;if(i===void 0){if(t==="")return e.source;const d=e.source.replace(/^\s+/u,"");return d===""?`${t}
49
54
  `:`${t}
50
55
 
51
- ${s}`}const a=e.source.slice(i.end).replace(/^\s+/u,"");return t===""?a:a===""?`${t}
56
+ ${d}`}const a=e.source.slice(i.end).replace(/^\s+/u,"");return t===""?a:a===""?`${t}
52
57
  `:`${t}
53
58
 
54
- ${a}`}function k(e){const n=e.type==="toggle"||e.type==="heading"&&e.toggle,{children:r}=e,t={...e};delete t.look,delete t.children;const i=t.type==="toggle"?{type:"paragraph",content:t.content}:t.type==="heading"?{type:"heading",level:t.level,content:t.content}:t,a=m(i)||i.type==="quote",s=writeBlocks(a?[{...i,...r?{children:r}:{}}]:[i,...r??[]]);return`<${E}${J(e.look)}${n?" toggle":""}>
59
+ ${a}`}function ae(e){const n=e.type==="toggle"||e.type==="heading"&&e.toggle,{children:r}=e,t={...e};delete t.look,delete t.children;const i=t.type==="toggle"?{type:"paragraph",content:t.content}:t.type==="heading"?{type:"heading",level:t.level,content:t.content}:t,a=m(i)||i.type==="quote",d=writeBlocks(a?[{...i,...r?{children:r}:{}}]:[i,...r??[]]);return`<${C}${ne(e.look)}${n?" toggle":""}>
55
60
 
56
- ${s}
61
+ ${d}
57
62
 
58
- </${E}>`}export function continuesList(e,n){return m(e)&&m(n)&&!S(e)&&!S(n)&&e.type==="numbered"==(n.type==="numbered")&&!(n.type==="numbered"&&n.start!==void 0)}export function writeBlocks(e){const n=[];let r=0,t;for(;r<e.length;){const i=e[r];if(i===void 0)break;if(S(i)){n.push(k(i)),t=void 0,r++;continue}if(!m(i)){n.push(r===0&&i.type==="divider"?"***":Z(i)),t=void 0,r++;continue}const a=i.type==="numbered",s=i.type==="numbered"?i.start??1:1,u=a&&t==="."?")":".",o=[];let c=r;for(;c<e.length;){const $=e[c];if($===void 0||!m($)||S($)||$.type==="numbered"!==a||c>r&&!continuesList(i,$))break;o.push(X($,s+(c-r),u)),c++}const f=o.some($=>$.includes(`
63
+ </${C}>`}export function continuesList(e,n){return m(e)&&m(n)&&!S(e)&&!S(n)&&e.type==="numbered"==(n.type==="numbered")&&!(n.type==="numbered"&&n.start!==void 0)}export function writeBlocks(e){const n=[];let r=0,t;for(;r<e.length;){const i=e[r];if(i===void 0)break;if(S(i)){n.push(ae(i)),t=void 0,r++;continue}if(!m(i)){n.push(r===0&&i.type==="divider"?"***":ie(i)),t=void 0,r++;continue}const a=i.type==="numbered",d=i.type==="numbered"?i.start??1:1,u=a&&t==="."?")":".",c=[];let o=r;for(;o<e.length;){const h=e[o];if(h===void 0||!m(h)||S(h)||h.type==="numbered"!==a||o>r&&!continuesList(i,h))break;c.push(se(h,d+(o-r),u)),o++}const $=c.some(h=>h.includes(`
59
64
 
60
- `));n.push(o.join(f?`
65
+ `));n.push(c.join($?`
61
66
 
62
67
  `:`
63
- `)),t=a?u:void 0,r=c}return n.join(`
68
+ `)),t=a?u:void 0,r=o}return n.join(`
64
69
 
65
70
  `)}
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@allyhub/doc",
3
- "version": "0.8.0",
3
+ "version": "0.9.0",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {
@@ -0,0 +1,241 @@
1
+ AllyHub Software License
2
+
3
+ Copyright (c) 2026 AllyHub, Inc. ("AllyHub"). All rights reserved.
4
+
5
+ This software (the AllyHub command-line tool, its SDK, runtime and the
6
+ packages they depend on) is proprietary. It is not open source.
7
+
8
+ 1. Permitted use. You may install and run the software, unmodified, to make,
9
+ check, preview and render videos and decks, including for commercial
10
+ purposes. What you make with it is yours.
11
+
12
+ 2. Restrictions. Except as this license permits or applicable law requires,
13
+ you may not copy, modify, adapt, translate, sublicense, sell, rent, lease,
14
+ publish or otherwise distribute the software, create derivative works of
15
+ it, or reverse engineer, decompile or disassemble it.
16
+
17
+ 3. Cloud services. AllyHub's cloud tools (sign-in, research, images, voice,
18
+ video) are separate services governed by AllyHub's terms of service.
19
+
20
+ 4. Trademarks. This license grants no right to use the name "AllyHub" or its
21
+ logos.
22
+
23
+ 5. No warranty. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
24
+ KIND, EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY,
25
+ FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL
26
+ ALLYHUB BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY ARISING FROM,
27
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR ITS USE.
28
+
29
+ 6. Third-party code. Parts of the software are adapted from HyperFrames,
30
+ licensed under the Apache License, Version 2.0 (see NOTICE). Those parts
31
+ remain under that license, reproduced below, and nothing in this license
32
+ limits your rights under it.
33
+
34
+ 7. Starter components. The starter components in the "components" folder,
35
+ which "allyhub add" copies into your workspace, are licensed under the MIT
36
+ License (see components/LICENSE): once copied, you may change, use and
37
+ share them freely.
38
+
39
+ --------------------------------------------------------------------------------
40
+
41
+ Apache License
42
+ Version 2.0, January 2004
43
+ http://www.apache.org/licenses/
44
+
45
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
46
+
47
+ 1. Definitions.
48
+
49
+ "License" shall mean the terms and conditions for use, reproduction,
50
+ and distribution as defined by Sections 1 through 9 of this document.
51
+
52
+ "Licensor" shall mean the copyright owner or entity authorized by
53
+ the copyright owner that is granting the License.
54
+
55
+ "Legal Entity" shall mean the union of the acting entity and all
56
+ other entities that control, are controlled by, or are under common
57
+ control with that entity. For the purposes of this definition,
58
+ "control" means (i) the power, direct or indirect, to cause the
59
+ direction or management of such entity, whether by contract or
60
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
61
+ outstanding shares, or (iii) beneficial ownership of such entity.
62
+
63
+ "You" (or "Your") shall mean an individual or Legal Entity
64
+ exercising permissions granted by this License.
65
+
66
+ "Source" form shall mean the preferred form for making modifications,
67
+ including but not limited to software source code, documentation
68
+ source, and configuration files.
69
+
70
+ "Object" form shall mean any form resulting from mechanical
71
+ transformation or translation of a Source form, including but
72
+ not limited to compiled object code, generated documentation,
73
+ and conversions to other media types.
74
+
75
+ "Work" shall mean the work of authorship, whether in Source or
76
+ Object form, made available under the License, as indicated by a
77
+ copyright notice that is included in or attached to the work
78
+ (an example is provided in the Appendix below).
79
+
80
+ "Derivative Works" shall mean any work, whether in Source or Object
81
+ form, that is based on (or derived from) the Work and for which the
82
+ editorial revisions, annotations, elaborations, or other modifications
83
+ represent, as a whole, an original work of authorship. For the purposes
84
+ of this License, Derivative Works shall not include works that remain
85
+ separable from, or merely link (or bind by name) to the interfaces of,
86
+ the Work and Derivative Works thereof.
87
+
88
+ "Contribution" shall mean any work of authorship, including
89
+ the original version of the Work and any modifications or additions
90
+ to that Work or Derivative Works thereof, that is intentionally
91
+ submitted to Licensor for inclusion in the Work by the copyright owner
92
+ or by an individual or Legal Entity authorized to submit on behalf of
93
+ the copyright owner. For the purposes of this definition, "submitted"
94
+ means any form of electronic, verbal, or written communication sent
95
+ to the Licensor or its representatives, including but not limited to
96
+ communication on electronic mailing lists, source code control systems,
97
+ and issue tracking systems that are managed by, or on behalf of, the
98
+ Licensor for the purpose of discussing and improving the Work, but
99
+ excluding communication that is conspicuously marked or otherwise
100
+ designated in writing by the copyright owner as "Not a Contribution."
101
+
102
+ "Contributor" shall mean Licensor and any individual or Legal Entity
103
+ on behalf of whom a Contribution has been received by Licensor and
104
+ subsequently incorporated within the Work.
105
+
106
+ 2. Grant of Copyright License. Subject to the terms and conditions of
107
+ this License, each Contributor hereby grants to You a perpetual,
108
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
109
+ copyright license to reproduce, prepare Derivative Works of,
110
+ publicly display, publicly perform, sublicense, and distribute the
111
+ Work and such Derivative Works in Source or Object form.
112
+
113
+ 3. Grant of Patent License. Subject to the terms and conditions of
114
+ this License, each Contributor hereby grants to You a perpetual,
115
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
116
+ (except as stated in this section) patent license to make, have made,
117
+ use, offer to sell, sell, import, and otherwise transfer the Work,
118
+ where such license applies only to those patent claims licensable
119
+ by such Contributor that are necessarily infringed by their
120
+ Contribution(s) alone or by combination of their Contribution(s)
121
+ with the Work to which such Contribution(s) was submitted. If You
122
+ institute patent litigation against any entity (including a
123
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
124
+ or a Contribution incorporated within the Work constitutes direct
125
+ or contributory patent infringement, then any patent licenses
126
+ granted to You under this License for that Work shall terminate
127
+ as of the date such litigation is filed.
128
+
129
+ 4. Redistribution. You may reproduce and distribute copies of the
130
+ Work or Derivative Works thereof in any medium, with or without
131
+ modifications, and in Source or Object form, provided that You
132
+ meet the following conditions:
133
+
134
+ (a) You must give any other recipients of the Work or
135
+ Derivative Works a copy of this License; and
136
+
137
+ (b) You must cause any modified files to carry prominent notices
138
+ stating that You changed the files; and
139
+
140
+ (c) You must retain, in the Source form of any Derivative Works
141
+ that You distribute, all copyright, patent, trademark, and
142
+ attribution notices from the Source form of the Work,
143
+ excluding those notices that do not pertain to any part of
144
+ the Derivative Works; and
145
+
146
+ (d) If the Work includes a "NOTICE" text file as part of its
147
+ distribution, then any Derivative Works that You distribute must
148
+ include a readable copy of the attribution notices contained
149
+ within such NOTICE file, excluding those notices that do not
150
+ pertain to any part of the Derivative Works, in at least one
151
+ of the following places: within a NOTICE text file distributed
152
+ as part of the Derivative Works; within the Source form or
153
+ documentation, if provided along with the Derivative Works; or,
154
+ within a display generated by the Derivative Works, if and
155
+ wherever such third-party notices normally appear. The contents
156
+ of the NOTICE file are for informational purposes only and
157
+ do not modify the License. You may add Your own attribution
158
+ notices within Derivative Works that You distribute, alongside
159
+ or as an addendum to the NOTICE text from the Work, provided
160
+ that such additional attribution notices cannot be construed
161
+ as modifying the License.
162
+
163
+ You may add Your own copyright statement to Your modifications and
164
+ may provide additional or different license terms and conditions
165
+ for use, reproduction, or distribution of Your modifications, or
166
+ for any such Derivative Works as a whole, provided Your use,
167
+ reproduction, and distribution of the Work otherwise complies with
168
+ the conditions stated in this License.
169
+
170
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
171
+ any Contribution intentionally submitted for inclusion in the Work
172
+ by You to the Licensor shall be under the terms and conditions of
173
+ this License, without any additional terms or conditions.
174
+ Notwithstanding the above, nothing herein shall supersede or modify
175
+ the terms of any separate license agreement you may have executed
176
+ with Licensor regarding such Contributions.
177
+
178
+ 6. Trademarks. This License does not grant permission to use the trade
179
+ names, trademarks, service marks, or product names of the Licensor,
180
+ except as required for reasonable and customary use in describing the
181
+ origin of the Work and reproducing the content of the NOTICE file.
182
+
183
+ 7. Disclaimer of Warranty. Unless required by applicable law or
184
+ agreed to in writing, Licensor provides the Work (and each
185
+ Contributor provides its Contributions) on an "AS IS" BASIS,
186
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
187
+ implied, including, without limitation, any warranties or conditions
188
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
189
+ PARTICULAR PURPOSE. You are solely responsible for determining the
190
+ appropriateness of using or redistributing the Work and assume any
191
+ risks associated with Your exercise of permissions under this License.
192
+
193
+ 8. Limitation of Liability. In no event and under no legal theory,
194
+ whether in tort (including negligence), contract, or otherwise,
195
+ unless required by applicable law (such as deliberate and grossly
196
+ negligent acts) or agreed to in writing, shall any Contributor be
197
+ liable to You for damages, including any direct, indirect, special,
198
+ incidental, or consequential damages of any character arising as a
199
+ result of this License or out of the use or inability to use the
200
+ Work (including but not limited to damages for loss of goodwill,
201
+ work stoppage, computer failure or malfunction, or any and all
202
+ other commercial damages or losses), even if such Contributor
203
+ has been advised of the possibility of such damages.
204
+
205
+ 9. Accepting Warranty or Additional Liability. While redistributing
206
+ the Work or Derivative Works thereof, You may choose to offer,
207
+ and charge a fee for, acceptance of support, warranty, indemnity,
208
+ or other liability obligations and/or rights consistent with this
209
+ License. However, in accepting such obligations, You may act only
210
+ on Your own behalf and on Your sole responsibility, not on behalf
211
+ of any other Contributor, and only if You agree to indemnify,
212
+ defend, and hold each Contributor harmless for any liability
213
+ incurred by, or claims asserted against, such Contributor by reason
214
+ of your accepting any such warranty or additional liability.
215
+
216
+ END OF TERMS AND CONDITIONS
217
+
218
+ APPENDIX: How to apply the Apache License to your work.
219
+
220
+ To apply the Apache License to your work, attach the following
221
+ boilerplate notice, with the fields enclosed by brackets "[]"
222
+ replaced with your own identifying information. (Don't include
223
+ the brackets!) The text should be enclosed in the appropriate
224
+ comment syntax for the file format. We also recommend that a
225
+ file or class name and description of purpose be included on the
226
+ same "printed page" as the copyright notice for easier
227
+ identification within third-party archives.
228
+
229
+ Copyright [yyyy] [name of copyright owner]
230
+
231
+ Licensed under the Apache License, Version 2.0 (the "License");
232
+ you may not use this file except in compliance with the License.
233
+ You may obtain a copy of the License at
234
+
235
+ http://www.apache.org/licenses/LICENSE-2.0
236
+
237
+ Unless required by applicable law or agreed to in writing, software
238
+ distributed under the License is distributed on an "AS IS" BASIS,
239
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
240
+ See the License for the specific language governing permissions and
241
+ limitations under the License.
@@ -0,0 +1,3 @@
1
+ /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
+ import{readFile as S}from"node:fs/promises";import{join as D,posix as m}from"node:path";import{problem as d}from"@allyhub/diagnostics";import{parseComponentRef as J,readPropsText as W,stageName as q}from"@allyhub/build";import{DRAWN_CODE as x,citedKeys as B,docChart as P,everyBlock as v,readSources as U,mathHtml as G,parseDoc as C,shownBlocks as H,splitTitle as X,titleText as _}from"@allyhub/doc";const z=180,Q=/^([a-z][a-z0-9+.-]*:|\/\/)/iu;function V(r){for(const o of r){if(o.type!=="paragraph")continue;const t=o.content.map(i=>i.text).join("").replace(/\s+/gu," ").trim();if(t!=="")return t.length>z?`${t.slice(0,z-1)}…`:t}}function*E(r){let o=0,t=1;for(const i of r.segments){for(;o<i.start;o++)r.source[o]===`
3
+ `&&t++;for(const h of i.blocks)for(const s of v([h]))yield{block:s,line:t}}}function O(r){const o=new Map;return(t,i,h)=>{const s=`${t}#${i}`;let n=o.get(s);return n||(n=(async()=>{if(!r)return{};const a=await r.request({type:"component",file:t,name:i});if(h.push(...a.problems),!a.ok)return{not:a.error??`${t} could not be read`};const u=a.value;return u.not===void 0?{props:u.props??{}}:{not:u.not}})(),o.set(s,n)),n}}async function R(r,o,t,i,h){const s=[],n=o.entry,a=C(await S(D(r,n),"utf8"));for(const e of a.problems)s.push(d("AK-M008",`${n}: ${e.message}.`,{where:{file:n,...e.line===void 0?{}:{line:e.line}}}));const u=X(H(a.blocks)),M=_(u.title).trim()||void 0,b=V(u.body),g=new Set,L=[...a.page.cover===void 0?[]:[a.page.cover],...[...v(a.blocks)].flatMap(e=>e.type==="image"?[e.src]:[])];for(const e of L){if(Q.test(e))continue;const c=m.normalize(m.join(o.dir,decodeURIComponent(e)));g.add(c),t.has(c)||s.push(d("AK-M008",`${n} shows the picture ${e}, which is not in the project (${c}).`,{where:{file:n}}))}const j=new Map;for(const{block:e,line:c}of E(a)){if(e.type!=="component")continue;const p={where:{file:n,line:c}},$=J(e.of);if(!$){s.push(d("AK-M008",`${n}: of="${e.of}" names no component: write the module's path from the doc's folder and its export (../../components/ui.ts#Dialog).`,p));continue}const f=m.normalize(m.join(o.dir,$.path));if(!t.has(f)){s.push(d("AK-M008",`${n} shows the component ${e.of}, whose module is not in the project (${f}).`,p));continue}const l=await i(f,$.name,s);if(l.not!==void 0){s.push(d("AK-M008",`${n}: ${l.not}.`,p));continue}if(l.props)for(const I of W({name:$.name,props:l.props},e.props).problems)s.push(d("AK-M008",`${n}: ${I}.`,p));j.set(e.of,{of:e.of,module:f,name:$.name,...l.props?{props:l.props}:{}})}const A={};for(const{block:e,line:c}of E(a)){const p={where:{file:n,line:c}};if(e.type==="code"&&e.language===x.math){const{error:f}=G(e.code);f!==void 0&&s.push(d("AK-M008",`${n}: an equation: ${f}.`,p));continue}if(e.type!=="chart")continue;if(e.data!==void 0){const f=m.normalize(m.join(o.dir,e.data)),l=h[f];if(l===void 0){s.push(d("AK-M008",`${n}: a chart reads ${e.data}, which is not a data file or a sheet's table of the project (${f}).`,p));continue}if(l.error!==void 0){s.push(d("AK-M008",`${n}: a chart reads ${e.data}, which cannot be read: ${l.error}.`,p));continue}A[e.data]=l.value,t.has(f)&&g.add(f)}const $=P(e,{base:o.dir,data:f=>A[f]});for(const f of $.problems)s.push(d("AK-M008",`${n}: the chart${e.title===void 0?"":` "${e.title}"`}: ${f}.`,p))}let y,k;const w=a.page.bibliography,K=B(a.blocks);if(w!==void 0){const e=m.normalize(m.join(o.dir,decodeURIComponent(w)));if(k=e,!t.has(e))s.push(d("AK-M008",`${n}: its bibliography ${w} is not in the project (${e}).`,{where:{file:n}}));else{g.add(e);try{const c=JSON.parse(await S(D(r,e),"utf8"));if(!Array.isArray(c))throw new Error("not a list of sources");y=U(c)}catch(c){s.push(d("AK-M008",`${n}: its bibliography ${w} is not CSL-JSON (a list of sources, each with an id): ${c instanceof Error?c.message:String(c)}.`,{where:{file:n}}))}}}if(K.length>0){const e=new Set((y??[]).map(p=>p.id)),c=K.filter(p=>!e.has(p));w===void 0?s.push(d("AK-M008",`${n} cites ${K.map(p=>`@${p}`).join(", ")}: name its sources' CSL-JSON file in its front matter (bibliography: ./references.json).`,{where:{file:n}})):y!==void 0&&c.length>0&&s.push(d("AK-M008",`${n} cites ${c.map(p=>`@${p}`).join(", ")}, which ${w} does not hold.`,{where:{file:n}}))}const T={dir:o.dir,place:o.id,file:n,...M?{title:M}:{},...b?{glimpse:b}:{},shows:[...g],components:[...j.values()],data:A,...y===void 0?{}:{sources:y}},F=[...[...g].map(e=>({path:e,role:"shows"})),...k===void 0?[]:[{path:k,role:"sources"}]];return{doc:T,problems:s,files:F}}export async function readDocs(r,o,t,i,h={}){const s=new Set(t),n=O(i),a=[],u=[];for(const M of o){const b=await R(r,M,s,n,h);a.push(b.doc),u.push(...b.problems)}return{docs:a,problems:u}}const N=new WeakMap,Y={async read(r,o){let t=N.get(o.meta);t||(t={known:new Set(o.files),reads:O(o.meta)},N.set(o.meta,t));const{doc:i,problems:h,files:s}=await R(o.root,r,t.known,t.reads,o.data);return{doc:i,problems:h,files:s,...i.components.length>0?{stage:{name:q(i.place),of:i.file,components:i.components}}:{}}},unreadable(r){const o=C(r),t=o.blocks.length===0?o.problems[0]:void 0;return t&&r.trim()!==""?[`not MDX${t.line===void 0?"":` (line ${String(t.line)})`}: ${t.message}`]:[]},render:async(r,o)=>(await import("./export.js")).renderDocFiles(r,o)};export default Y;
@@ -0,0 +1,4 @@
1
+ /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
+ import{readFile as x,writeFile as p}from"node:fs/promises";import{dirname as C,join as O,relative as w}from"node:path";import{z as t}from"zod";import{PROJECT_DIR as j,defineCliCommand as v}from"@allyhub/build";import{COVER_NAMES as a,COVER_WORDS as E,coverFileName as s,coverSvg as $,parseDoc as F,withPage as R}from"@allyhub/doc";import{CommandError as b,EXIT as y}from"@allyhub/protocol";import{findDoc as D}from"./find.js";export const docCoverList=v({input:t.strictObject({}),output:t.looseObject({}),examples:["allyhub doc cover list"],run(){const o=a.map(e=>({name:e,words:E[e],file:s(e)})),n=Math.max(...a.map(e=>e.length));return Promise.resolve({value:{covers:o},text:o.map(e=>`${e.name.padEnd(n)} ${e.words}`).join(`
3
+ `)})}}),docCoverSet=v({input:t.strictObject({doc:t.string().describe("The doc, by its file or its id in allyhub.yaml"),name:t.enum(a).describe(`The cover (allyhub doc cover list): ${a.join(", ")}`),dir:j}),positional:["doc","name"],output:t.looseObject({}),examples:["allyhub doc cover set plan dots","allyhub doc cover set reports/q3 lake"],async run(o,n){const e=await n.root(o.dir),r=await D(e,n.cwd,o.doc);if(r===void 0)throw new b("not-found",`${o.doc} is not a doc.`,{exit:y.notFound,hint:"Name a doc by its file or its id in allyhub.yaml."});const d=await x(r,"utf8"),i=F(d),g=i.frontMatter===void 0?0:d.slice(0,i.frontMatter.end).split(`
4
+ `).length,l=i.problems.find(h=>h.line!==void 0&&h.line<=g);if(l!==void 0)throw new b("bad-front-matter",l.message,{exit:y.usage,hint:"Fix the front matter first (allyhub check names what is wrong)."});const m=O(C(r),s(o.name));await p(m,$(o.name));const c=`./${s(o.name)}`,f={...i.page,cover:c};delete f.coverY,await p(r,R(i,f));const u=w(e,r);return{value:{doc:u,cover:c,file:w(e,m)},text:`${u}: cover ${c}`}}});
@@ -0,0 +1,2 @@
1
+ /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
+ import{readFile as f,stat as w}from"node:fs/promises";import{join as u,relative as k,resolve as b,sep as y}from"node:path";import{readWork as x}from"@allyhub/build";import{componentDraws as D,everyBlock as $,parseDoc as m}from"@allyhub/doc";import{itemIdOf as j,listedWork as v}from"@allyhub/formats";import{CommandError as W,EXIT as B}from"@allyhub/protocol";const C=/\.mdx?$/iu;export async function findDoc(r,i,c){const t=b(i,c),o=k(r,t).split(y).join("/"),a=v((await x(r)).work);if(C.test(t)&&(await w(t).catch(()=>{}))?.isFile())return a.some(s=>s.file===o&&s.kind!=="doc")?void 0:t;const e=new Set([o,c.replace(/^\.\//u,"").replace(/\/+$/u,"")]),n=a.find(s=>s.kind==="doc"&&e.has(j(s.file)));return n===void 0?void 0:u(r,n.file)}export function pagesOf(r){const i=[];for(const c of r.split(",")){const t=/^\s*(\d+)\s*(?:-\s*(\d+)\s*)?$/u.exec(c),o=Number(t?.[1]),a=t?.[2]===void 0?o:Number(t[2]);if(!t||o<1||a<o)throw new W("bad-page",`Cannot read the pages "${r}".`,{exit:B.usage,hint:"Write pages from 1, joined with commas: --page 2, --page 2-4, --page 1,5."});for(let e=o;e<=a;e++)i.push(e)}return i}export async function fromBuild(r,i,c){const t=await f(r,"utf8"),o=e=>e.type==="component"||e.type==="chart"&&e.data!==void 0,a=m(t);return![...$(a.blocks)].some(o)&&a.page.bibliography===void 0?{}:c(async e=>{const n=e.prepared.docs.find(h=>h.place===i);if(!n)return{};const s=e.prepared.messages.locales[0],d=n.components.length===0?[]:D(m(await f(u(e.prepared.root,n.file),"utf8")).blocks),p=s===void 0?{}:{lang:s},l=d.length===0?void 0:await e.componentStills(n,d,p),g=d.length===0?void 0:await e.componentMeasures?.(n,d,p);return{stills:l,measures:g,data:n.data,sources:n.sources}})}
@@ -0,0 +1,2 @@
1
+ /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
+ import{docCoverList as o,docCoverSet as c}from"./cover.js";const e={"doc cover list":o,"doc cover set":c};export default e;
@@ -0,0 +1,2 @@
1
+ /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
+ import{mkdir as i,writeFile as c}from"node:fs/promises";import{dirname as s,extname as p,join as a,resolve as m}from"node:path";import{WORK_DIR as u}from"@allyhub/formats";const o=()=>process.env.ALLYHUB_TEST_EXACT_PICTURES==="1";export const looks=()=>o()?"png":"webp";export function picturePath(e,r,n){const t=r===void 0?n:m(e,r);return o()?t:`${t.slice(0,t.length-p(t).length)}.webp`}export const workPath=(e,...r)=>a(e,u,...r);export async function save(e,r){return await i(s(e),{recursive:!0}),await c(e,r),e}
@@ -0,0 +1,2 @@
1
+ /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
+ import{createHash as M}from"node:crypto";import{mkdir as $,readFile as x,writeFile as D}from"node:fs/promises";import{basename as P,dirname as d,join as p}from"node:path";import{componentDraws as W,componentDrawingKey as O,markdownOf as j,parseDoc as F}from"@allyhub/doc";import{renderDoc as k,renderWord as z}from"@allyhub/doc-print";import{createPackages as C}from"@allyhub/runtimes";export const DOC_TYPES=["pdf","docx","png","md"];async function E(l){const s=C(),e=()=>l?.("Getting docx, once, to write Word documents…"),[i,a]=await Promise.all([s.load("docx",{onFetch:e}),s.load("docx",{module:"fflate",onFetch:e})]);return{docx:i,zip:a}}export async function renderDocFiles(l,s){const e=s.prepared.docs.find(t=>t.place===l.id);if(!e||s.types.length===0)return[];const{root:i,log:a,types:f}=s;a?.(`Rendering ${e.file}…`);const c=[],g={file:e.file,dir:e.dir,path:e.place,title:e.title,data:e.data,sources:e.sources},h=s.prepared.messages.locales[0],m=e.components.length===0?new Map:await s.session.componentStills(e,W(F(await x(p(s.prepared.root,e.file),"utf8")).blocks),h===void 0?{}:{lang:h});if(f.includes("md")){const t=s.out("md"),o=F(await x(p(i,e.file),"utf8"));await $(d(t),{recursive:!0});const r=`${P(t,".md")}.assets`,w=new Map;for(const[n,v]of m){const b=`${M("sha256").update(n).digest("hex").slice(0,16)}.webp`;await $(p(d(t),r),{recursive:!0}),await D(p(d(t),r,b),v),w.set(n,`${r}/${b}`)}await D(t,j(o.blocks,{page:o.page,component:n=>w.get(O(n)),base:e.dir,data:n=>e.data[n],sources:e.sources})),c.push({type:"md",files:[t]})}if(f.includes("docx")){const t=s.out("docx");await z({root:i,doc:g,out:t,...await E(a),stills:m}),c.push({type:"docx",files:[t]})}const y=f.filter(t=>t==="pdf"||t==="png");if(y.length===0)return c;const u=s.out("pdf"),S=await k({root:i,doc:g,out:d(u),name:P(u,".pdf"),types:y,stills:m,onPrinted:t=>{const o=[...t.layout.blocks.values()].filter(r=>r.pastPaper>.1).length;o>0&&a?.(`${e.file}: ${String(o)} block${o===1?" runs":"s run"} past the paper's edge, which cuts ${o===1?"it":"them"}; allyhub inspect pages ${e.place} says where and by how much.`),t.settled||a?.(`${e.file}: its contents' page numbers did not hold after ${String(t.passes)} printings; one may be a page off.`)}});for(const t of S)c.push({type:t.endsWith(".png")?"png":"pdf",files:[p(d(u),t)]});return c}
@@ -0,0 +1,3 @@
1
+ /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
+ import{readFile as D}from"node:fs/promises";import{join as E,relative as y,sep as S}from"node:path";import{z as o}from"zod";import{PROJECT_DIR as T,allFindings as C,defineView as O}from"@allyhub/build";import{countFacts as _,filterFacts as I}from"@allyhub/diagnostics";import{blockNumbers as G,everyBlock as K,parseDoc as N}from"@allyhub/doc";import{DocPageError as z,PAGE_FACT_DEFAULTS as k,PAGE_FACT_KINDS as p,blockLines as B,docPages as R,pageFacts as J}from"@allyhub/doc-print";import{dirOf as M,itemIdOf as U}from"@allyhub/formats";import{CommandError as f,EXIT as h}from"@allyhub/protocol";import{findDoc as V,fromBuild as W,pagesOf as X}from"./cli/find.js";import{looks as q,picturePath as H,save as Q,workPath as Y}from"./cli/pictures.js";const $=(e,i)=>`${String(e)} ${i}${e===1?"":"s"}`,Z=O({input:o.strictObject({doc:o.string().describe("The doc, by its file or its id in allyhub.yaml"),kind:o.array(o.string()).optional().describe(`Only facts of these kinds: ${p.join(", ")}`),headingLines:o.number().int().min(1).default(k.headingLines).describe("A heading is listed when fewer lines than this follow it on its page"),shortLine:o.number().int().min(0).default(k.shortChars).describe("A paragraph's last line is listed when it holds this many letters or fewer (punctuation not counted)"),all:C("every heading and every paragraph's last line"),page:o.string().optional().describe("Draw only these pages, large: 2, 2-4, 1,5"),out:o.string().optional().describe("Where the picture goes; default .allyhub/work/inspect/<doc>/pages.webp"),dir:T}),positional:["doc"],examples:["allyhub inspect pages launch/plan","allyhub inspect pages launch/plan --kind page-split,page-heading","allyhub inspect pages launch/plan --page 3-4 --all"],async run(e,i){const s=await i.root(e.dir),r=await V(s,i.cwd,e.doc);if(r===void 0)throw new f("not-found",`${e.doc} is not a doc.`,{exit:h.notFound,hint:"Name a doc by its file or its id in allyhub.yaml."});for(const t of e.kind??[])if(!p.includes(t))throw new f("bad-kind",`A doc's pages give no fact of kind ${t}.`,{exit:h.usage,hint:`Kinds: ${p.join(", ")}.`});const c=y(s,r).split(S).join("/"),a=U(c),l=N(await D(r,"utf8")),F=B(l),{stills:j,measures:v,data:u,sources:L}=await W(r,a,t=>i.session(s,t)),g=new Map;for(const[t,P]of G(l.blocks)){const w=F.get(t);w!==void 0&&t.type!=="columns"&&g.set(P,String(w))}const A=e.page===void 0?void 0:X(e.page);let n;try{n=await R({root:s,doc:{file:c,dir:M(c),path:a,...u===void 0?{}:{data:u},sources:L},pages:A,stills:j,format:q(),outlines:g,onFetch:()=>{i.progress("Getting pdf.js, once, to draw a doc's pages…")}})}catch(t){throw t instanceof z?new f("not-found",t.message,{exit:h.notFound,hint:`Pages are 1 to ${String(t.count)}.`}):t}const m=J(l,n.layout,a,{headingLines:e.headingLines,shortChars:e.shortLine,all:e.all},[...K(l.blocks)].some(t=>t.type==="toc")?n.printing:void 0,v),d=I(m,{kinds:i.factKinds(e.kind,s)}),b=await Q(H(i.cwd,e.out,E(Y(s,"inspect",a),"pages.png")),n.picture);return{value:{doc:a,pages:n.count,paper:n.paper,picture:b,facts:d,counts:_(d),total:m.length},text:[`${a}: ${$(n.count,"page")} of ${String(n.paper.width)} × ${String(n.paper.height)} mm. The picture: ${y(i.cwd,b)} (each block outlined and labelled by its line in the doc's file, the space at each page's foot shaded).`,`${$(d.length,"fact")}: measurements for you to judge, not problems; sizes are mm on the paper, lines are its file's; --json has every one.`,...i.factLines(d,{all:e.all})].join(`
3
+ `)}}}),x={pages:Z};export default x;
@@ -0,0 +1,2 @@
1
+ /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
+ import{readFile as g}from"node:fs/promises";import{join as h}from"node:path";import{defineProjectTool as d}from"@allyhub/build";import{componentDraws as O,parseDoc as y}from"@allyhub/doc";import{pagePictures as R,placesOf as b,printDoc as k}from"@allyhub/doc-print";import{RPC_ERROR as D,RpcError as P}from"@allyhub/protocol";import{DOC_TOOLS as l}from"./tools.js";async function m(c,s){const a=await c.prepared(),t=s.replace(/^\.?\/?/u,""),o=a.docs.find(r=>r.place===t||r.file===t);if(!o)throw new P(D.notFound,`${s} is not a doc.`);return{prepared:a,doc:o,place:o.place}}const S={"doc/data":d(l["doc/data"],async({item:c},s)=>{const{doc:a}=await m(s,c);return{data:a.data,...a.sources===void 0?{}:{sources:a.sources.map(t=>({...t}))}}}),"doc/pages":d(l["doc/pages"],async({item:c,width:s},a)=>{const{prepared:t,doc:o,place:r}=await m(a,c),i=t.messages.locales[0],f=o.components.length===0?new Map:await a.componentStills(o,O(y(await g(h(t.root,o.file),"utf8")).blocks),i===void 0?{}:{lang:i}),n=await k({root:a.root,doc:{file:o.file,dir:o.dir,path:r,data:o.data,sources:o.sources},stills:f}),{pages:p}=n.layout,u=await R(n,p.map(e=>e.n),s??900);return{pages:p.map((e,w)=>({n:e.n,width:e.width,height:e.height,landscape:e.landscape,image:{mime:"image/webp",data:(u[w]??Buffer.alloc(0)).toString("base64")}})),blocks:[...n.layout.blocks.values()].map(e=>({n:e.n,places:b(e)}))}})};export default S;
@@ -0,0 +1,2 @@
1
+ /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
+ import{z as t}from"zod";import{ImageSchema as r,PathSchema as e,method as a,toolCaller as s}from"@allyhub/protocol";export const DOC_TOOLS={"doc/data":a(t.strictObject({item:e}),t.strictObject({data:t.record(t.string(),t.unknown()),sources:t.array(t.looseObject({id:t.string()})).optional()}),"The numbers a doc's charts read from the project's files (a sheet's table, a CSV, a data file of rows): what its editor draws them with."),"doc/pages":a(t.strictObject({item:e,width:t.int().min(100).max(2400).optional()}),t.strictObject({pages:t.array(t.strictObject({n:t.int().positive(),width:t.number().positive(),height:t.number().positive(),landscape:t.boolean(),image:r})),blocks:t.array(t.strictObject({n:t.int().nonnegative(),places:t.array(t.strictObject({page:t.int().positive(),top:t.number(),bottom:t.number(),left:t.number(),right:t.number()}))}))}),"A doc's pages as render prints them, each a picture, and where each of its blocks lies on them: what its page view shows, measured as `allyhub inspect pages` measures them.")},callDocTool=s(DOC_TOOLS);
@@ -0,0 +1,2 @@
1
+ /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
+ import{readFile as r}from"node:fs/promises";import{join as c}from"node:path";import{componentAt as f,everyBlock as u,parseDoc as s,splitTitle as a,titleText as p}from"@allyhub/doc";export const PREVIEW_DEFAULTS={lines:4,chars:240};function l(t){if(!("content"in t)||!Array.isArray(t.content))return;const n=t.content.map(e=>e.text).join("").trim();return n===""?void 0:n}const h=(t,n)=>t.length<=n?t:`${t.slice(0,n-1).trimEnd()}…`;export function docPreview(t){const{body:n}=a(s(t).blocks),e=[];for(const i of n){const o=l(i);if(o!==void 0&&e.push(h(o,PREVIEW_DEFAULTS.chars)),e.length===PREVIEW_DEFAULTS.lines)break}return{type:"text",lines:e}}export async function docTitle(t,n){try{const e=await r(c(t,n.entry),"utf8");return p(a(s(e).blocks).title)||void 0}catch{return}}export async function docSnapshot(t,{root:n,tool:e}){await e("doc/data",{item:t.id}).catch(()=>{});const i=await r(c(n,t.entry),"utf8").catch(()=>{});if(i===void 0)return{};const o=[];for(const d of u(s(i).blocks))d.type==="component"&&o.push(f(d));return o.length===0?{}:{stills:[{version:"",components:o}]}}export function activate(t){t.subscriptions.push(t.allyhub.kinds.registerKindProvider("doc",{preview:async(n,{root:e})=>docPreview(await r(c(e,n.entry),"utf8")),title:(n,{root:e})=>docTitle(e,n),snapshot:(n,e)=>docSnapshot(n,e)}))}