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
@@ -0,0 +1,2 @@
1
+ /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
+ import{contentEdges as N,markRuns as I,readMarks as $}from"@allyhub/piece";import{normText as C,WordStream as M}from"@allyhub/piece";import{largestFit as O,lineOf as R,lineSpans as j}from"./fit.js";export function h(t,n={},e=[],o){const r=document.createElement(t);o&&(r.className=o),css(r,n);for(const i of e)r.append(typeof i=="string"?document.createTextNode(i):i);return r}export function css(t,n){for(const[e,o]of Object.entries(n)){if(o===void 0)continue;const r=typeof o=="number"&&!B.has(e)?`${String(o)}px`:String(o);e.startsWith("--")?t.style.setProperty(e,r):t.style.setProperty(e.replace(/[A-Z]/g,i=>`-${i.toLowerCase()}`),r)}}const B=new Set(["opacity","zIndex","fontWeight","lineHeight","flex","flexGrow","flexShrink"]),F=/[\u3400-\u9fff\uf900-\ufaff]/;export function wordBreaks(t){if(!F.test(t)||typeof Intl.Segmenter!="function")return t;const n=new Intl.Segmenter("zh",{granularity:"word"});let e="";for(const o of n.segment(t))e&&o.isWordLike&&(e+="​"),e+=o.segment;return e}export const text=t=>typeof t=="string"||typeof t=="number"||typeof t=="boolean"?String(t):"",list=t=>Array.isArray(t)?t.map(text):t===void 0?[]:[text(t)];export function layout(t,n={}){const{width:e,height:o,orient:r}=t.dims;return{W:e,H:o,orient:r,...N(t.dims,n)}}export function contentBox(t,n={}){return h("div",{position:"absolute",left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top,display:"flex",flexDirection:"column",justifyContent:"center",...n})}export function textBlock(t,{size:n,weight:e=700,color:o="var(--ak-color-fg)",font:r="var(--ak-font-display)",lineHeight:i=1.15,align:s="left"}){return h("div",{fontFamily:r,fontSize:n,fontWeight:e,color:o,lineHeight:i,textAlign:s,overflowWrap:"break-word",textWrap:"balance",lineBreak:"strict",wordBreak:"keep-all",letterSpacing:e>=700?"-0.01em":"0"},[wordBreaks(t)])}export const MARK_STYLES={strong:{fontWeight:700},em:{color:"var(--ak-color-accent)"},strike:{textDecoration:"line-through"},code:{fontFamily:"var(--ak-font-mono)",fontSize:"0.9em"}};export function marked(t,n={}){const e=typeof t=="string"?$(t):t,o=h("span");for(const r of I(e.text,e.marks)){const i=wordBreaks(r.text);if(r.kinds.length===0){o.append(i);continue}const s={};for(const l of r.kinds)Object.assign(s,n[l]??MARK_STYLES[l]);const f=h("span",s,[i]);f.dataset.mark=r.kinds.join(" "),o.append(f)}return o}export function all(t,n){return Array.from(t.querySelectorAll(`[data-ak="${n}"]`))}export function one(t,n){return t.querySelector(`[data-ak="${n}"]`)}export function tag(t,n){return t.dataset.ak=n,t}export function fitTo(t,{min:n,max:e,maxHeight:o}){const r=()=>t.scrollWidth<=t.clientWidth+1&&t.offsetHeight<=o+1;if(t.style.fontSize=`${String(e)}px`,r())return e;let i=n,s=e;for(;s-i>.5;){const f=(i+s)/2;t.style.fontSize=`${String(f)}px`,r()?i=f:s=f}return t.style.fontSize=`${String(i)}px`,i}export const FIT_LINES_PRECISION=.5;function W(t){const n=document.createTreeWalker(t,NodeFilter.SHOW_TEXT),e=[];for(let o=n.nextNode();o;o=n.nextNode())o instanceof Text&&e.push(o);return e}function v(t){const n=document.createRange(),e=[];for(const o of W(t)){n.selectNodeContents(o);for(const r of n.getClientRects())e.push(r)}return j(e)}export function textLines(t){const n=v(t);if(n.length===0)return[];const e=n.map(()=>""),o=document.createRange();let r=0;for(const i of W(t)){const s=i.data;for(let f=0;f<s.length;){const l=(s.codePointAt(f)??0)>65535?2:1;o.setStart(i,f),o.setEnd(i,f+l);const m=o.getBoundingClientRect();if(m.height>0){const d=R(m,n);d>=0&&(r=d)}e[r]=(e[r]??"")+s.slice(f,f+l),f+=l}}return e.map(i=>i.replace(/\u200b/g,"").replace(/\s+/g," ").trim())}export function fitLines(t,n){if(typeof t=="string"){if(n.width===void 0)throw new Error("fitLines: a text needs a width");const d=h("div",n.style??{},[t]),x=h("div",{position:"absolute",left:0,top:0,visibility:"hidden",pointerEvents:"none"},[d]);document.body.append(x);try{return fitLines(d,n)}finally{x.remove()}}const e=t,{lines:o,min:r,max:i,width:s,height:f}=n;s!==void 0&&(e.style.width=`${String(s)}px`);const l=d=>(e.style.fontSize=`${String(d)}px`,e.scrollWidth>e.clientWidth+1||f!==void 0&&(e.offsetHeight>f+1||e.scrollHeight>e.clientHeight+1)?!1:v(e).length<=o),m=O(r,i,n.precision??FIT_LINES_PRECISION,l);return e.style.fontSize=`${String(m.size)}px`,{...m,lines:textLines(e)}}const _=(t,n)=>Math.max(0,Math.min(t[0]+t[2],n[0]+n[2])-Math.max(t[0],n[0]))*Math.max(0,Math.min(t[1]+t[3],n[1]+n[3])-Math.max(t[1],n[1]));export function freeAreas(t,n,e={}){const o=layout(t),[r,i,s,f]=e.within??[o.left,o.top,o.right-o.left,o.bottom-o.top],l=i+f,m=e.margin??24*o.k,x=[...e.faces===!1?[]:t.faces(n).map(a=>a.box),...e.texts===!1?[]:t.texts(n).map(a=>a.box),...e.covered===!1?[]:t.covered].filter(a=>a[0]<r+s&&a[0]+a[2]>r).map(a=>[a[1]-m,a[1]+a[3]+m]).sort((a,y)=>a[0]-y[0]),g=[];let p=i;for(const[a,y]of x)if(a>p&&g.push([r,p,s,Math.min(a,l)-p]),p=Math.max(p,y),p>=l)break;return p<l&&g.push([r,p,s,l-p]),g.filter(a=>a[3]>0&&a[3]>=(e.minHeight??0)).sort((a,y)=>y[3]-a[3])}export function captionTop(t,n,e,o,r,i={}){const s=c=>Math.min(Math.max(c,n.top),Math.max(n.top,n.bottom-r)),f=c=>s(c==="top"?n.top:c==="middle"?(n.top+n.bottom-r)/2:c==="bottom"?n.bottom-r:c),l=(i.prefer??["bottom","top","middle"]).map(f),m=Math.max(.02,i.step??.1),d=Math.max(0,e.end-e.start),x=Math.min(200,Math.max(1,Math.ceil(d/m))),g=[],p=[];for(let c=0;c<x;c++){const u=e.start+d*c/x;i.texts!==!1&&g.push(...t.texts(u).map(k=>k.box)),i.faces!==!1&&p.push(...t.faces(u).map(k=>k.box))}const a=(n.W-o)/2,y=i.textGap??48*n.k,T=i.faceGap??24*n.k,b=(c,u,k)=>u.reduce((H,A)=>H+_([a,c-k,o,r+2*k],A),0),z=g.flatMap(([,c,,u])=>[s(c-y-r),s(c+u+y)]).sort((c,u)=>Math.abs(c-(l[0]??0))-Math.abs(u-(l[0]??0)));let w=l[0]??s(n.bottom-r),S=[1/0,1/0];for(const c of[...l,...z]){const u=[b(c,g,y),b(c,p,T)];if(u[0]===0&&u[1]===0)return c;(u[0]<S[0]||u[0]===S[0]&&u[1]<S[1])&&(S=u,w=c)}return w}export function lightDark(t){const n="var(--ak-color-bg)",e="var(--ak-color-fg)",o=s=>{const f=h("span",{color:s,display:"none"});t.append(f);const l=/^rgba?\(\s*([\d.]+)[,\s]+([\d.]+)[,\s]+([\d.]+)/.exec(getComputedStyle(f).color);if(f.remove(),!l)return;const[m=0,d=0,x=0]=l.slice(1,4).map(g=>{const p=Number(g)/255;return p<=.04045?p/12.92:((p+.055)/1.055)**2.4});return .2126*m+.7152*d+.0722*x},r=o(n),i=o(e);return r!==void 0&&i!==void 0&&i>r?{light:e,dark:n}:{light:n,dark:e}}const G=/[\p{Script=Han}\p{Script=Hiragana}\p{Script=Katakana}\p{Script=Hangul}]/u;function E(t,n){const e=C(n),o=[],r=t.words.length-1;for(let i=1;;i++){const s=t.span(e,0,r,i);if(!s)return o;(G.test(e)||t.charOf(s.first)+e.length===t.charOf(s.last+1))&&o.push([s.first,s.last])}}export function emphasized(t,n){const e=t.map(()=>!1);if(!n?.length)return e;const o=new M(t);for(const r of n)for(const[i,s]of E(o,r))e.fill(!0,i,s+1);return e}export function wordEmoji(t,n){const e=t.map(()=>"");if(!n)return e;const o=new M(t);for(const[r,i]of Object.entries(n))for(const[,s]of E(o,r))(e[s]??"")===""&&(e[s]=i);return e}export function emojiEl(t,n={}){const e=h("span",{display:"inline-block",fontFamily:"var(--ak-font-emoji)",fontWeight:400,fontStyle:"normal",fontSynthesis:"none",textTransform:"none",letterSpacing:"0",lineHeight:1,WebkitTextStroke:"0",textShadow:"none",...n},[t]);return e.setAttribute("aria-hidden","true"),e}
@@ -0,0 +1,2 @@
1
+ /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
+ import{FillSchema as u,LAYER_BRAND as m,issueOf as p}from"@allyhub/piece";import{gradientRefusal as y,paintCss as g}from"@allyhub/image-draw/paint";import{LayerError as f,splitLayer as w,styleOf as $}from"./define.js";export const FILL="fill";export function paintRefusal(n){if(n&&"gradient"in n)return y(n.gradient,!1)}export const fillFor=n=>e=>{const i=`fill()${e.key===void 0?"":` ${e.key}`}`,t=u.safeParse(e.fill);if(!t.success)throw new f("AK-I003",`${i}: ${p(t.error,"fill")}.`);const l=paintRefusal(e.fill);if(l)throw new f("AK-I007",`${i}: ${l}.`);$(e,"fill","fill()");const[o,c]=w(e);return{[m]:"graphic",...o,kind:"fill",component:FILL,props:{fill:c.fill,base:n.base},mount:(s,a,d)=>{const r=s.ownerDocument.createElement("div");r.dataset.akFill="",Object.assign(r.style,{position:"absolute",inset:"0"}),g(r,a.fill,d,a.base),s.append(r)},render:()=>{}}};
@@ -0,0 +1,2 @@
1
+ /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
+ function p(o,e){const s=Math.min(o.bottom,e.bottom)-Math.max(o.top,e.top),t=Math.min(o.bottom-o.top,e.bottom-e.top);return s>t/2}export function lineSpans(o){const e=[...o].filter(t=>t.bottom-t.top>0).sort((t,n)=>t.top-n.top),s=[];for(const t of e)s.some(n=>p(t,n))||s.push({top:t.top,bottom:t.bottom});return s.sort((t,n)=>t.top-n.top)}export function lineOf(o,e){return e.findIndex(s=>p(o,s))}export function largestFit(o,e,s,t){if(t(e))return{size:e,fits:!0};if(!t(o))return{size:o,fits:!1};let n=o,r=e;const f=Math.max(s,.001);for(;r-n>f;){const i=(n+r)/2;t(i)?n=i:r=i}return{size:n,fits:!0}}
@@ -0,0 +1,2 @@
1
+ /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
+ import{LAYER_BRAND as f,isGraphicLayer as c}from"@allyhub/piece";import{LayerError as i,splitLayer as l,styleOf as m}from"./define.js";import{mountStack as g}from"./stack.js";export const GROUP="group";export function group(e){m(e,"group","group()");const[a,u]=l(e),p=u.layers;if(!Array.isArray(p))throw new i("AK-I003",`group()${e.key===void 0?"":` ${e.key}`}: layers is a list of layers, back to front.`);p.forEach((r,n)=>{if(!c(r))throw new i("AK-I003",`group() ${e.key??""}: layer ${String(n+1)} is not a layer made by a component, picture(), textLayer(), shape(), fill(), adjustment(), group() or custom().`);const o=r.z;if(o!==void 0&&o!=="front")throw new i("AK-I003",`group() ${e.key??""}: layer ${String(n+1)} has z "${o}": a group's layers are drawn in its order, so z is a layer's of a part alone.`)});const s=new WeakMap;return{[f]:"graphic",...a,kind:"group",component:GROUP,props:{layers:p},mount:(r,n,o)=>{s.set(r,g(r,n.layers,o))},render:(r,n,o,t)=>{for(const y of s.get(r)??[])y.layer.render(y.content,n,y.layer.props,t)},unmount:(r,n,o)=>{for(const t of s.get(r)??[])t.layer.unmount?.(t.content,t.layer.props,o);s.delete(r)}}}export function groupLayers(e){if(e.kind!=="group")return[];const a=e.props.layers;return Array.isArray(a)?a:[]}
@@ -0,0 +1,2 @@
1
+ /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
+ import{dirOf as l,projectPath as g}from"@allyhub/formats";import{LAYER_BRAND as u}from"@allyhub/piece";import{isColor as y}from"@allyhub/piece";import{fillFor as p}from"./fill.js";import{groupLayers as w}from"./group.js";import{pictureFor as x}from"./picture.js";import{shapeFor as A}from"./shape.js";import{textLayerFor as $}from"./text-layer.js";import{writtenIn as k}from"./written.js";export{LayerError,custom,defineComponent}from"./define.js";export{group,groupLayers}from"./group.js";export{adjustment}from"./adjustment.js";export{mountLayer,mountStack}from"./stack.js";export{ADJUSTMENT_DEFAULTS,ADJUSTMENT_KINDS,BLEND_DRAWN,BLEND_MODES,EFFECT_DEFAULTS,EFFECT_NAMES,LAYER_STYLE_DEFAULTS,SHAPE_DEFAULTS,TEXT_DEFAULTS}from"@allyhub/piece";export const isLayerSpec=e=>typeof e=="object"&&e!==null&&u in e,IMAGE_BRAND="__allyhubImage",BOARD_BRAND="__allyhubBoard",BOARD_DEFAULTS={minHeight:64,maxHeight:16384,resolution:72,colorProfile:"sRGB IEC61966-2.1"},MAX_SIDE=16384;export function isBoard(e){return typeof e=="object"&&e!==null&&BOARD_BRAND in e}const n=e=>typeof e=="number"&&Number.isInteger(e)&&e>=1&&e<=MAX_SIDE;export function parseSize(e){const r=/^(\d+)x(\d+)$/u.exec(e.trim());if(!r)return;const t=Number(r[1]),i=Number(r[2]);return n(t)&&n(i)?{width:t,height:i}:void 0}export function fromPicture(e){const{width:r,height:t}=e;if(e.kind!=="image"||r===void 0||t===void 0||!n(r)||!n(t))throw new ImageError("AK-I001",`fromPicture(${JSON.stringify(e.path)}): ${e.kind==="image"?`its size is not known in whole pixels from 1 to ${String(MAX_SIDE)}`:"it is not a still picture"}. Import a still picture (import photo from "../assets/media/photo.jpg"), or give the board its size.`);return`${String(r)}x${String(t)}`}export function boardSize(e){const r=`whole pixels from 1 to ${String(MAX_SIDE)}`;if(e.size!==void 0)return e.width!==void 0||e.height!==void 0?`board ${e.key} gives both size and width/height: give one.`:(typeof e.size=="string"?parseSize(e.size):void 0)??`board ${e.key}: size ${JSON.stringify(e.size)} is not WIDTHxHEIGHT in ${r} ("1200x630").`;if(e.width===void 0&&e.height===void 0)return`board ${e.key} has no size: give size ("1200x630"), or width and height.`;if(!n(e.width))return`board ${e.key}: width is not ${r}.`;if(e.height==="auto"){const t=e.minHeight??BOARD_DEFAULTS.minHeight,i=e.maxHeight??BOARD_DEFAULTS.maxHeight;return!n(t)||!n(i)||t>i?`board ${e.key}: minHeight and maxHeight are ${r}, the least first.`:{width:e.width,height:"auto",minHeight:t,maxHeight:i}}return n(e.height)?{width:e.width,height:e.height}:`board ${e.key}: height is not ${r} or "auto".`}export class ImageError extends Error{code;constructor(r,t){super(t),this.name="ImageError",this.code=r}}export function board(e){if(typeof e.key!="string"||!/^[A-Za-z0-9][\w.-]*$/u.test(e.key))throw new ImageError("AK-I002",`board: key ${JSON.stringify(e.key)} is not a name (letters, digits, - _ and ., from a letter or digit): it names the board's file.`);const r=boardSize(e);if(typeof r=="string")throw new ImageError("AK-I001",`board ${r}`);if(!Array.isArray(e.layers))throw new ImageError("AK-I003",`board ${e.key}: layers is a list of layers.`);if(e.background!==void 0&&e.background!=="transparent"&&!y(e.background))throw new ImageError("AK-I001",`board ${e.key}: background ${JSON.stringify(e.background)} is not a CSS colour or "transparent".`);if(e.resolution!==void 0&&!(typeof e.resolution=="number"&&e.resolution>0&&e.resolution<=1e4))throw new ImageError("AK-I001",`board ${e.key}: resolution is pixels per inch, more than 0.`);if(e.colorProfile!==void 0&&typeof e.colorProfile!="string")throw new ImageError("AK-I001",`board ${e.key}: colorProfile is a profile's name.`);const t=new Set,i=(h,c)=>{h.forEach((s,m)=>{const f=`${c} ${String(m+1)}`;if(!isLayerSpec(s))throw new ImageError("AK-I003",`${f} is not a layer made by a component, picture(), textLayer(), shape(), fill(), adjustment(), group() or custom().`);const o=s.key;if(typeof o!="string"||o==="")throw new ImageError("AK-I003",`${f} has no name: give every layer of a board its key (picture({ key: "photo", … }), Caption({ key: "caption", … })).`);if(!/^[A-Za-z0-9][\w.-]*$/u.test(o))throw new ImageError("AK-I002",`board ${e.key}: layer key ${JSON.stringify(o)} is not a name (letters, digits, - _ and ., from a letter or digit).`);if(t.has(o))throw new ImageError("AK-I002",`board ${e.key}: two layers are named ${o}. Every layer of a board needs its own key, a group's layers too.`);t.add(o);const d=s[u]==="graphic"?w(s):[];d.length>0&&i(d,`board ${e.key}: group ${o}'s layer`)})};return i(e.layers,`board ${e.key}: layer`),{...e,[BOARD_BRAND]:!0}}export function isImage(e){return typeof e=="object"&&e!==null&&IMAGE_BRAND in e}function S(e){const r=g(e);if(r.startsWith("/")||r.split("/").includes(".."))throw new Error(`imageSdkFor: ${JSON.stringify(e)} is not a project path, such as "launch/og.ts".`);return{file:r,base:l(r)}}export const imageFor=e=>r=>{if(typeof r!="object"||typeof r.boards!="function")throw new ImageError("AK-I005",`An image's module exports one image: export default image({ script: "./launch.{locale}.yaml", boards: (ctx) => [ board({ key, size, layers }), … ] }).`);if(r.script!==void 0&&(typeof r.script!="string"||!r.script.includes("{locale}")))throw new ImageError("AK-I005",`An image's script is a file per language: write {locale} in its name for each (./launch.{locale}.yaml), not ${JSON.stringify(r.script)}.`);return{...r,[IMAGE_BRAND]:!0,kind:"image",written:S(e)}},imageSdkFor=e=>{const r=k(e);return{image:imageFor(e.file),picture:x(r),textLayer:$(r),shape:A(r),fill:p(r)}};const a=imageSdkFor({file:""});export const image=a.image,picture=a.picture,textLayer=a.textLayer,shape=a.shape,fill=a.fill;
@@ -0,0 +1,2 @@
1
+ /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
+ import{asUrlString as o}from"@allyhub/piece";import{MEDIA_BRAND as t}from"@allyhub/piece";export function media(r){return o({[t]:!0,...r})}export function isMedia(r){return typeof r=="object"&&r!==null&&t in r}
@@ -0,0 +1,2 @@
1
+ /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
+ export{};
@@ -0,0 +1,2 @@
1
+ /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
+ import{LAYER_BRAND as R,MEDIA_BRAND as J,PICTURE_DEFAULTS as C,mediaKindOf as x,pathIn as F,placePicture as D}from"@allyhub/piece";import{applyMask as L,defsOf as v}from"@allyhub/image-draw/layer-style";import{BLEND_DRAWN as B}from"@allyhub/piece";import{splitLayer as G,styleOf as T}from"./define.js";export const PICTURE="picture";const k=["cover","contain","fill","none"],O=e=>typeof e=="object"&&e!==null&&(J in e||"sha256"in e),S=e=>typeof e=="number"&&Number.isFinite(e)&&e>=0&&e<=1,$=e=>{if(!Array.isArray(e)||e.length!==4||!e.every(S))return!1;const[t,i,s,n]=e;return t+s<=1+1e-9&&i+n<=1+1e-9&&s>0&&n>0},W=e=>e!=="ellipse"&&x(e)==="image"&&!e.includes("(");export function pictureProblem(e){const t=e.src;if(typeof t!="string"&&!O(t))return`src ${JSON.stringify(t)} is not a still: an import (import photo from "./photo.jpg") or a path from the module.`;const i=typeof t=="string"?t:t.path;if((typeof t=="string"?x(i):t.kind)!=="image")return`src ${i} is not a still (PNG, JPEG, WebP, AVIF, GIF or SVG); a video is footage().`;if(e.fit!==void 0&&!k.includes(e.fit))return`fit ${JSON.stringify(e.fit)} is not one of ${k.map(n=>`"${n}"`).join(", ")}.`;if(e.position!==void 0&&!(Array.isArray(e.position)&&e.position.length===2&&e.position.every(S)))return`position ${JSON.stringify(e.position)} is not [x, y] as shares of the picture (each from 0 to 1).`;if(e.box!==void 0&&!$(e.box))return`box ${JSON.stringify(e.box)} is not [x, y, w, h] as fractions of the frame, inside it.`;if(e.crop!==void 0&&!$(e.crop))return`crop ${JSON.stringify(e.crop)} is not [x, y, w, h] as fractions of the source, inside it.`;if(e.radius!==void 0&&!(typeof e.radius=="number"&&Number.isFinite(e.radius)&&e.radius>=0||typeof e.radius=="string"&&e.radius.trim()!==""))return`radius ${JSON.stringify(e.radius)} is not a number of pixels from 0 or a CSS border-radius.`;if(e.blend!==void 0)return`blend is blendMode, every layer's, by Photoshop's names ("multiply", "screen", "softLight"…)`;if(e.filter!==void 0&&typeof e.filter!="string")return`filter ${JSON.stringify(e.filter)} is not a CSS filter such as "blur(4px) saturate(0.8)".`}function N(e,t,i){if(typeof e!="string"){const n=i.asset(`/${e.path}`);return n.sha256===e.sha256?n:e}const s=F(t,e);return i.asset(s===void 0?e:`/${s}`)}const r=e=>`${String(Math.round(e*1e3)/1e3)}px`;function _(e,t,i){const s=N(t.src,t.base,i);if(!s)return;const n=i.dims.width,f=i.dims.height,[a,d,u,p]=t.box?[t.box[0]*n,t.box[1]*f,t.box[2]*n,t.box[3]*f]:[0,0,n,f],b=D({source:{width:s.width??1,height:s.height??1},box:{width:u,height:p},fit:t.fit,position:t.position??C.position,crop:t.crop}),o=document.createElement("div");o.dataset.akPicture=s.path,Object.assign(o.style,{position:"absolute",left:r(a),top:r(d),width:r(u),height:r(p),overflow:"hidden"}),t.radius!==void 0&&(o.style.borderRadius=typeof t.radius=="number"?r(t.radius*(t.at1080?Math.min(n,f)/1080:1)):t.radius),t.blendCss!==void 0&&(o.style.mixBlendMode=t.blendCss),t.filter!==void 0&&(o.style.filter=t.filter);const m=[],c=H(t.mask);if(c==="ellipse")o.style.clipPath="ellipse(50% 50%)";else if(c!==void 0){const h=typeof c=="string"&&!W(c)?void 0:N(c,t.base,i);m.push(h?`url("${h.url}")`:c)}else if(t.mask!==void 0){const h=L(o,{mask:t.mask,box:[0,0,u,p],frame:{width:u,height:p},defs:v(e),ctx:i,base:t.base});if(h!==void 0)throw new Error(`picture(): mask: ${h}.`)}const y=document.createElement("div"),[g,w,E,P]=b.shown;Object.assign(y.style,{position:"absolute",left:r(g),top:r(w),width:r(E),height:r(P),overflow:"hidden"});const l=document.createElement("img");l.alt=t.alt??"",l.decoding="sync",l.src=s.url;const[A,j,I,M]=b.whole;Object.assign(l.style,{position:"absolute",left:r(A-g),top:r(j-w),width:r(I),height:r(M),maxWidth:"none",maxHeight:"none"}),m.length>0&&Object.assign(o.style,{maskImage:m.join(", "),maskSize:"100% 100%",maskRepeat:"no-repeat"}),y.append(l),o.append(y),e.append(o)}const U=e=>e!==void 0&&Object.values(e).some(t=>t!==void 0&&t.enabled!==!1);function H(e){if(e===void 0)return;if(typeof e=="string"||O(e))return e;const t=e,i=Object.keys(t).filter(s=>t[s]!==void 0);return i.length===1&&i[0]==="src"?t.src:void 0}export function pictureLayer(e,t,i={}){const s=pictureProblem(e);if(s)throw new Error(`${i.caller??"picture()"}: ${s}`);T(e,"pixel",i.caller??"picture()");const[n,f]=G(e);return{[R]:"graphic",...n,kind:"pixel",component:PICTURE,props:{...f,...n.mask===void 0?{}:{mask:n.mask},...(()=>{const a=n.blendMode,d=a===void 0?void 0:B[a];return d&&"css"in d&&a!=="normal"&&!U(n.effects)?{blendCss:d.css}:{}})(),base:t,...i.at1080?{at1080:!0}:{}},mount:(a,d,u)=>{_(a,d,u)},render:()=>{}}}export const pictureFor=e=>t=>pictureLayer(t,e.base);
@@ -0,0 +1,2 @@
1
+ /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
+ export const text=(t={})=>({type:"text",...t}),time=(t={})=>({type:"time",...t}),asset=(t={})=>({type:"asset",...t}),color=(t={})=>({type:"color",...t}),number=(t={})=>({type:"number",...t}),boolean=(t={})=>({type:"boolean",...t}),list=(t,e={})=>({type:"list",of:t,...e}),object=(t,e={})=>({type:"object",fields:t,...e});
@@ -0,0 +1,2 @@
1
+ /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
+ import{FillSchema as u,LAYER_BRAND as d,SHAPE_KINDS as c,ShapeStrokeSchema as b,ShareBoxSchema as S,issueOf as x}from"@allyhub/piece";import{drawShape as k,gradientRefusal as $}from"@allyhub/image-draw/paint";import{z as r}from"zod";import{LayerError as m,splitLayer as g,styleOf as y}from"./define.js";import{paintRefusal as A}from"./fill.js";export const SHAPE="shape";const R=r.object({shape:r.enum(c),box:S.optional(),path:r.string().min(1).optional(),radius:r.number().min(0).max(1e5).optional(),sides:r.number().int().min(3).max(100).optional(),starRatio:r.number().min(1).max(100).optional(),fill:u.nullable().optional(),stroke:b.nullable().optional()});export function shapeProblem(s){const{shape:e,box:o,path:a,radius:t,sides:i,starRatio:p,fill:h,stroke:l}=s,n=R.safeParse({shape:e,box:o,path:a,radius:t,sides:i,starRatio:p,fill:h,stroke:l});if(!n.success)return x(n.error);if(e==="path"&&a===void 0)return`shape "path" takes a path: SVG path data in the board's pixels`;if(e!=="path"&&a!==void 0)return`a path is shape "path"'s, not ${e}'s`}export const shapeFor=s=>e=>{const o=`shape()${e.key===void 0?"":` ${e.key}`}`,a=shapeProblem(e);if(a)throw new m("AK-I003",`${o}: ${a}.`);const t=e.fill,i=t&&"gradient"in t?$(t.gradient,!0):A(t);if(i)throw new m("AK-I007",`${o}: ${i}.`);y(e,"shape","shape()");const[p,h]=g(e);return{[d]:"graphic",...p,kind:"shape",component:SHAPE,props:{...h,base:s.base},mount:(l,n,f)=>{k(l,n,f,n.base)},render:()=>{}}};
@@ -0,0 +1,2 @@
1
+ /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
+ import{LAYER_NAME as m}from"@allyhub/piece";import{baseOf as u,clipStack as c,contentOf as p,styleLayer as a}from"@allyhub/image-draw/layer-style";import{LayerError as f}from"./define.js";export function mountLayer(i,e,n){const o=p(i,e,n.dims);e.mount(o,e.props,n);const r=a(i,{layer:e,ctx:n,frame:n.dims,base:u(e)});if(r!==void 0)throw new f("AK-I007",`${e.component}${e.key===void 0?"":` ${e.key}`}: ${r}.`);return o}export function mountStack(i,e,n){const o=[];for(const s of e){if(s.visible===!1)continue;const t=i.ownerDocument.createElement("div");t.className="ak-layer",t.dataset.component=s.component,s.key!==void 0&&t.setAttribute(m,s.key),Object.assign(t.style,{position:"absolute",inset:"0"}),i.append(t),o.push({layer:s,el:t,content:mountLayer(t,s,n)})}const r=c(o,{frame:n.dims,ctx:n});if(r.length>0)throw new f("AK-I007",`${r.join("; ")}.`);return o}
@@ -0,0 +1,2 @@
1
+ /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
+ import{CharacterStyleSchema as m,LAYER_BRAND as A,ParagraphStyleSchema as b,ShareBoxSchema as S,TEXT_DEFAULTS as f,issueOf as L}from"@allyhub/piece";import{z as h}from"zod";import{LayerError as j,splitLayer as w,styleOf as I}from"./define.js";export const TEXT_LAYER="textLayer";const T=h.object({contents:h.string(),characterStyle:m.optional(),paragraphStyle:b.optional()});export function textLayerProblem(t){const n=T.safeParse(t.textItem);if(!n.success)return L(n.error,"textItem");if(t.box!==void 0&&!S.safeParse(t.box).success)return`box ${JSON.stringify(t.box)} is not [x, y, w, h] as shares of the frame, inside it`;if(t.box!==void 0&&t.position!==void 0)return"give a box (paragraph text) or a position (point text), not both";if(t.position!==void 0&&!(Array.isArray(t.position)&&t.position.length===2&&t.position.every(a=>typeof a=="number"&&a>=0&&a<=1)))return`position ${JSON.stringify(t.position)} is not [x, y] as shares of the frame`}const i=t=>`${String(Math.round(t*1e3)/1e3)}px`;export function justified(t){switch(t??f.justification){case"center":return{textAlign:"center",textAlignLast:"auto"};case"right":return{textAlign:"right",textAlignLast:"auto"};case"justifyLeft":return{textAlign:"justify",textAlignLast:"left"};case"justifyCenter":return{textAlign:"justify",textAlignLast:"center"};case"justifyRight":return{textAlign:"justify",textAlignLast:"right"};case"justifyAll":return{textAlign:"justify",textAlignLast:"justify"};default:return{textAlign:"left",textAlignLast:"auto"}}}function k(t,n,a){const g=a.dims.width,u=a.dims.height,e=n.textItem.characterStyle??{},r=n.textItem.paragraphStyle??{},x=e.size??f.size,c=document.createElement("div");c.dataset.akText="";const p=justified(r.justification);if(Object.assign(c.style,{position:"absolute",margin:"0",fontFamily:e.font===void 0?"var(--ak-font-body)":JSON.stringify(e.font),fontWeight:String(e.weight??f.weight),fontStyle:e.italic===!0?"italic":"normal",fontSize:i(x),color:e.color??f.color,letterSpacing:`${String((e.tracking??f.tracking)/1e3)}em`,lineHeight:e.leading===void 0||e.leading==="auto"?String(f.autoLeading):i(e.leading),textTransform:e.capitalization==="allCaps"?"uppercase":"none",fontVariantCaps:e.capitalization==="smallCaps"?"small-caps":"normal",textDecorationLine:[e.underline===!0?"underline":"",e.strikeThrough===!0?"line-through":""].filter(o=>o!=="").join(" ")||"none",textAlign:p.textAlign,textAlignLast:p.textAlignLast,paddingLeft:i(r.leftIndent??0),paddingRight:i(r.rightIndent??0),boxSizing:"border-box"}),n.box){const[o,l,s,y]=n.box;Object.assign(c.style,{left:i(o*g),top:i(l*u),width:i(s*g),height:i(y*u),whiteSpace:"pre-wrap",overflowWrap:"break-word"})}else{const[o,l]=n.position??[0,0],s=p.textAlign==="center"?"-50%":p.textAlign==="right"?"-100%":"0";Object.assign(c.style,{left:i(o*g),top:i(l*u),whiteSpace:"pre",...s==="0"?{}:{transform:`translateX(${s})`}})}const d=n.textItem.contents.split(/\r\n|\r|\n/u);d.forEach((o,l)=>{const s=document.createElement("p");Object.assign(s.style,{margin:"0",textIndent:i(r.firstLineIndent??0),...l>0&&r.spaceBefore?{marginTop:i(r.spaceBefore)}:{},...l<d.length-1&&r.spaceAfter?{marginBottom:i(r.spaceAfter)}:{}}),s.textContent=o===""?"​":o,c.append(s)}),t.append(c)}export const textLayerFor=t=>n=>{const a=textLayerProblem(n);if(a)throw new j("AK-I003",`textLayer()${n.key===void 0?"":` ${n.key}`}: ${a}.`);I(n,"type","textLayer()");const[g,u]=w(n);return{[A]:"graphic",...g,kind:"type",component:TEXT_LAYER,props:{...u,base:t.base},mount:(e,r,x)=>{k(e,r,x)},render:()=>{}}};
@@ -0,0 +1,2 @@
1
+ /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
+ export function splitText(t,n="words"){return n==="chars"?Array.from(t):n==="words"?t.split(/\s+/).filter(Boolean):t.split(n)}export function countText(t,n,r=0){const i=/^(\D*?)(-?[\d,]*\.?\d+)(.*)$/s.exec(t);if(!i||n>=1)return t;const o=i[2]??"",s=o.includes(".")?o.split(".")[1]?.length??0:0,e=Number(o.replace(/,/g,"")),c=r+(e-r)*Math.max(0,n),l=o.includes(",")?c.toLocaleString("en-US",{minimumFractionDigits:s,maximumFractionDigits:s}):c.toFixed(s);return`${i[1]??""}${l}${i[3]??""}`}
@@ -0,0 +1,2 @@
1
+ /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
+ import{dirOf as e,projectPath as s}from"@allyhub/formats";export function writtenIn(r){const t=s(r.file);if(t.startsWith("/")||/^[A-Za-z]:/u.test(t)||t.split("/").includes(".."))throw new Error(`sdkFor: ${JSON.stringify(r.file)} is not a project path: a file's path from the project's root, such as "launch/teaser.ts".`);return{file:t,base:e(t)}}
@@ -0,0 +1,19 @@
1
+ {
2
+ "name": "@allyhub/image-sdk",
3
+ "version": "0.9.0",
4
+ "type": "module",
5
+ "exports": {
6
+ ".": {
7
+ "types": "./dist/index.d.ts",
8
+ "default": "./dist/index.js"
9
+ },
10
+ "./*": {
11
+ "types": "./dist/*.d.ts",
12
+ "default": "./dist/*.js"
13
+ },
14
+ "./package.json": "./package.json"
15
+ },
16
+ "sideEffects": false,
17
+ "private": true,
18
+ "license": "SEE LICENSE IN LICENSE.md"
19
+ }
@@ -0,0 +1,3 @@
1
+ export { Jobs, JobFailure, failureOf, type JobPart, type JobProgress, type JobSpec, type JobStep, type JobStop, type JobsOptions, } from "./jobs.js";
2
+ export { SHOW_AFTER_MS, SHOW_AT_LEAST_MS, Showing, fractionOf, isOpen, isRunning, overallOf, roundLeft, } from "./show.js";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,139 @@
1
+ import type { Job, JobAbout, JobFailureReason, JOB_STEPS, JOB_UNITS, JOB_WHAT } from "@allyhub/protocol";
2
+ export type JobStep = (typeof JOB_STEPS)[number];
3
+ /** Why a job's signal fired: the person cancelled it (what came goes), paused it (what came is kept), or Studio quit (kept, to continue when it opens). */
4
+ export type JobStop = "cancel" | "pause" | "quit";
5
+ export interface JobSpec {
6
+ about: JobAbout;
7
+ what: (typeof JOB_WHAT)[number];
8
+ name?: string;
9
+ /** What its progress counts (default: bytes). */
10
+ unit?: (typeof JOB_UNITS)[number];
11
+ /** In all, where it is known from the start. */
12
+ total?: number;
13
+ /** Cancel can stop it (default: true). */
14
+ cancellable?: boolean;
15
+ /** Once failed, it can be run again by Try again (default: true). */
16
+ retryable?: boolean;
17
+ step?: JobStep;
18
+ /** Listed, never shown on its own (Studio's own update). */
19
+ quiet?: boolean;
20
+ /** It can pause and continue from what came: its task keeps what came when it is stopped for a pause or a quit (`stopped`). */
21
+ pausable?: boolean;
22
+ /** Throws away what came, for a paused job cancelled, which runs nothing to do it itself. */
23
+ discard?: () => Promise<void> | void;
24
+ }
25
+ /** What a task is given to tell how far it is. */
26
+ export interface JobProgress {
27
+ readonly id: string;
28
+ /** Fired when the person cancels or pauses it, or Studio closes. */
29
+ readonly signal: AbortSignal;
30
+ /** Why its signal fired: what came is kept for a pause or a quit, thrown away for a cancel. */
31
+ stopped(): JobStop | undefined;
32
+ /** Done so far, and in all once known; ignored once the job has parts. */
33
+ report(completed: number, total?: number): void;
34
+ step(step: JobStep | undefined): void;
35
+ /**
36
+ * A part of the job: in bytes or files, its reports add to the job's; in
37
+ * shares, it is `weight` of the whole (default 1), as far as its own
38
+ * reports say.
39
+ */
40
+ part(weight?: number): JobPart;
41
+ /** What it made, an absolute path, for Show in Finder. */
42
+ made(path: string): void;
43
+ }
44
+ export interface JobPart {
45
+ report(completed: number, total?: number): void;
46
+ /** It is done: its whole share counts. */
47
+ done(): void;
48
+ }
49
+ /** A failure a task names itself. */
50
+ export declare class JobFailure extends Error {
51
+ readonly reason: JobFailureReason;
52
+ constructor(reason: JobFailureReason, message: string, options?: {
53
+ cause?: unknown;
54
+ });
55
+ }
56
+ /** Why a task failed, as a person is told it, and what to copy. */
57
+ export declare function failureOf(error: unknown): {
58
+ reason: JobFailureReason;
59
+ details: string;
60
+ };
61
+ export interface JobsOptions {
62
+ /** What every id of these jobs begins with, to tell them from another process's (default "j"). */
63
+ prefix?: string;
64
+ /** Least time between two reports of a job's progress (default 250 ms). */
65
+ emitEveryMs?: number;
66
+ /** Nothing moved for this long: stalled (default 10 s). */
67
+ stallMs?: number;
68
+ /** Ended jobs kept for whoever shows them (default 20). */
69
+ keep?: number;
70
+ /** The span of the pace the time left is worked out from (default 10 s). */
71
+ paceMs?: number;
72
+ /** Least pace before a time left is given (default 3 s). */
73
+ paceAtLeastMs?: number;
74
+ }
75
+ export declare class Jobs {
76
+ private readonly all;
77
+ private readonly listeners;
78
+ private readonly emitEveryMs;
79
+ private readonly stallMs;
80
+ private readonly keep;
81
+ private readonly paceMs;
82
+ private readonly paceAtLeastMs;
83
+ private readonly prefix;
84
+ constructor(options?: JobsOptions);
85
+ /** Hears every change of every job; the function stops it. */
86
+ on(listener: (job: Job) => void): () => void;
87
+ /** Every job running, and the latest that ended, oldest first. */
88
+ list(): Job[];
89
+ get(id: string): Job | undefined;
90
+ /**
91
+ * Runs a task as a job and answers what it answers: done when it
92
+ * resolves, failed (with why) when it throws, cancelled when it throws
93
+ * after its signal fired.
94
+ */
95
+ run<R>(spec: JobSpec, task: (job: JobProgress) => Promise<R>): Promise<R>;
96
+ /** Runs a task as a job without waiting for it: its id; how it ends is told as every change is. */
97
+ start(spec: JobSpec, task: (job: JobProgress) => Promise<unknown>): string;
98
+ private begin;
99
+ /** Cancel: its signal fires, what came goes; a paused one is cancelled at once. Whether there was a job to cancel. */
100
+ cancel(id: string): boolean;
101
+ /** Pause: its signal fires, what came is kept; Resume continues it. Whether there was a job to pause. */
102
+ pause(id: string): boolean;
103
+ /** Resume: a paused job run again under its id, from what came. */
104
+ resume(id: string): boolean;
105
+ /**
106
+ * Try again: a failed or cancelled job run again under its id; one that
107
+ * can pause continues from what came, as Resume does.
108
+ */
109
+ retry(id: string): boolean;
110
+ /**
111
+ * A job paused before this process began (a download Studio kept when it
112
+ * last closed): listed as paused, at how far it came; Resume runs `task`.
113
+ */
114
+ paused(spec: JobSpec, at: {
115
+ completed: number;
116
+ total?: number | undefined;
117
+ }, task: (job: JobProgress) => Promise<unknown>): string;
118
+ /** Every job stopped as Studio closes: what can pause keeps what came, to continue when it opens. */
119
+ close(): void;
120
+ /** A job run again under its id: from where it was, or from the start. */
121
+ private again;
122
+ private fresh;
123
+ private go;
124
+ /** The job's numbers from its parts. */
125
+ private fromParts;
126
+ private moved;
127
+ /** The time left, from the pace over the last `paceMs`. */
128
+ private pace;
129
+ private watchStall;
130
+ private end;
131
+ /** Paused: how far it came kept, no pace, nothing ended. */
132
+ private hold;
133
+ /** Ended jobs beyond `keep`, the oldest first, are forgotten. */
134
+ private trim;
135
+ /** Tells the listeners: at once, or with the next of a job's reports. */
136
+ private tell;
137
+ private send;
138
+ }
139
+ //# sourceMappingURL=jobs.d.ts.map
@@ -0,0 +1,41 @@
1
+ import type { Job } from "@allyhub/protocol";
2
+ /** Work that ends sooner shows nothing (JetBrains' Progress Indicators: only work over 1 s). */
3
+ export declare const SHOW_AFTER_MS = 1000;
4
+ /** Once shown, a job stays at least this long, so it never flashes (VS Code's ProgressService). */
5
+ export declare const SHOW_AT_LEAST_MS = 800;
6
+ export declare const isRunning: (job: Job) => boolean;
7
+ /** Not ended: running, or paused for Resume. */
8
+ export declare const isOpen: (job: Job) => boolean;
9
+ /** How far it is, 0–1; none while it cannot be measured (a spinner, never a bar). */
10
+ export declare function fractionOf(job: Job): number | undefined;
11
+ /**
12
+ * All the running jobs as one: whether any runs, and how far they are
13
+ * together, the mean of those that can be measured (DaVinci Resolve's
14
+ * Overall Progress); none while none can. A quiet job is not counted.
15
+ */
16
+ export declare function overallOf(jobs: readonly Job[]): {
17
+ running: number;
18
+ fraction?: number;
19
+ };
20
+ /** A time left as a person reads it: rounded up to 1, 2, 3, 5, 10, 15, 20 or 30 seconds or minutes, else hours. */
21
+ export declare function roundLeft(seconds: number): {
22
+ n: number;
23
+ unit: "s" | "min" | "h";
24
+ };
25
+ /**
26
+ * Which jobs show now, by when this window first saw each (its own clock,
27
+ * as a Host may be another computer): a running one once it has run
28
+ * `SHOW_AFTER_MS`; an ended one that showed, until it has shown
29
+ * `SHOW_AT_LEAST_MS`; a failure always. `next` is when that may change.
30
+ */
31
+ export declare class Showing {
32
+ private readonly seen;
33
+ private readonly shown;
34
+ at(jobs: readonly Job[], now: number): {
35
+ jobs: Job[];
36
+ next: number | undefined;
37
+ };
38
+ /** Whether a job has shown in this window: an ended one stays in the list until it is next closed. */
39
+ hasShown(id: string): boolean;
40
+ }
41
+ //# sourceMappingURL=show.d.ts.map
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@allyhub/jobs",
3
- "version": "0.8.0",
3
+ "version": "0.9.0",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {
@@ -0,0 +1,195 @@
1
+ import { type Img } from "./image.js";
2
+ /** Every threshold and choice of a comparison; COMPARE_DEFAULTS has their values. */
3
+ export interface CompareOptions {
4
+ /** A pixel differs when its ΔE*ab exceeds this (2.3 is about the smallest difference people see). */
5
+ tolerance: number;
6
+ /** What transparent pixels are seen over, as RGB. */
7
+ background: [number, number, number];
8
+ /** Differing pixels this many pixels apart or closer are one region. */
9
+ gap: number;
10
+ /** Look for the best offset within this many pixels each way (0: none). */
11
+ shift: number;
12
+ /** When the sizes differ: stretch the candidate to the reference's size, scale it to the reference's width, or neither (compare the common area). */
13
+ resize: "stretch" | "width" | "none";
14
+ /** The ΔE*ab at which the heatmap is fully red. */
15
+ heatMax: number;
16
+ /** SSIM's window, in pixels. */
17
+ ssimWindow: number;
18
+ /** An edge is a step of luma by more than this many levels (of 255) within `edgeSpan` pixels along a row or a column. */
19
+ edgeStep: number;
20
+ edgeSpan: number;
21
+ /**
22
+ * Grain is measured in blocks of this many pixels each way, on the
23
+ * share of them whose content is flattest (and not clipped).
24
+ */
25
+ grainBlock: number;
26
+ grainShare: number;
27
+ }
28
+ export declare const COMPARE_DEFAULTS: CompareOptions;
29
+ export interface DiffRegion {
30
+ /** x, y, width, height in the reference's pixels. */
31
+ box: [number, number, number, number];
32
+ /** Differing pixels in it. */
33
+ pixels: number;
34
+ meanDeltaE: number;
35
+ maxDeltaE: number;
36
+ }
37
+ export interface ChannelStats {
38
+ /** Mean absolute difference, 0 to 255. */
39
+ mean: number;
40
+ max: number;
41
+ }
42
+ /** A picture's levels over the area compared, as encoded (0–255), over the background. */
43
+ export interface Levels {
44
+ /** Each channel's mean. */
45
+ rgb: [number, number, number];
46
+ /** Luma's (Rec. 709 weights) mean and its 5th, 50th and 95th percentiles. */
47
+ luma: {
48
+ mean: number;
49
+ p5: number;
50
+ p50: number;
51
+ p95: number;
52
+ };
53
+ /** The mean L* (0–100), a* (green to red) and b* (blue to yellow). */
54
+ lab: [number, number, number];
55
+ }
56
+ export interface CompareResult {
57
+ reference: {
58
+ width: number;
59
+ height: number;
60
+ };
61
+ candidate: {
62
+ width: number;
63
+ height: number;
64
+ };
65
+ /** How the candidate was resized to be compared, when its size differed. */
66
+ resized?: {
67
+ mode: CompareOptions["resize"];
68
+ from: [number, number];
69
+ to: [number, number];
70
+ scale: [number, number];
71
+ };
72
+ /** The area compared, in the reference's pixels. */
73
+ compared: [number, number, number, number];
74
+ /** The candidate was compared moved by x, y pixels (right and down). */
75
+ offset: {
76
+ x: number;
77
+ y: number;
78
+ };
79
+ /** The offset search: the mean ΔE*ab at no offset and at the best one. */
80
+ search?: {
81
+ range: number;
82
+ unshifted: number;
83
+ best: {
84
+ x: number;
85
+ y: number;
86
+ meanDeltaE: number;
87
+ };
88
+ };
89
+ pixels: number;
90
+ tolerance: number;
91
+ /** Pixels whose ΔE*ab is over the tolerance, and their share of `pixels`. */
92
+ differing: number;
93
+ share: number;
94
+ deltaE: {
95
+ mean: number;
96
+ max: number;
97
+ p95: number;
98
+ };
99
+ channels: {
100
+ r: ChannelStats;
101
+ g: ChannelStats;
102
+ b: ChannelStats;
103
+ alpha: ChannelStats;
104
+ };
105
+ /**
106
+ * Each picture's levels, and the candidate's less the reference's:
107
+ * positive where the candidate is brighter, redder (a*), yellower (b*).
108
+ */
109
+ levels: {
110
+ reference: Levels;
111
+ candidate: Levels;
112
+ difference: Levels;
113
+ };
114
+ /**
115
+ * Each picture's grain where it is flat (grainOf; undefined where no
116
+ * block is flat), and the capture.grain.amount whose grain, added to the
117
+ * candidate's, gives the reference's (variances add; 0 when the
118
+ * candidate's is the stronger).
119
+ */
120
+ grain: {
121
+ block: number;
122
+ share: number;
123
+ reference?: Grain;
124
+ candidate?: Grain;
125
+ amount?: number;
126
+ };
127
+ /** Mean SSIM of luma over windows (1: the same structure). */
128
+ ssim: number;
129
+ /** Every region, largest first. */
130
+ regions: DiffRegion[];
131
+ /**
132
+ * How soft each draws a fine edge: the 10–90 % rise of every strong step
133
+ * along the rows and columns compared, px of the reference. A Gaussian's
134
+ * is 2.563 sigmas. `soften` is the blur that widens the candidate's
135
+ * sharper quarter (p25) to the reference's, as capture.soften takes it
136
+ * (a sigma at 1080 lines); 0 when the candidate is the softer.
137
+ */
138
+ edges: {
139
+ step: number;
140
+ span: number;
141
+ reference: EdgeWidths;
142
+ candidate: EdgeWidths;
143
+ soften?: number;
144
+ };
145
+ }
146
+ /** A picture's grain, measured where it is flat. */
147
+ export interface Grain {
148
+ /** The blocks measured: the flattest share of those not clipped (`of`). */
149
+ blocks: number;
150
+ of: number;
151
+ /** Luma's standard deviation in them after each block's slope is taken out, levels of 255, and as a share of full scale (capture.grain.amount's unit). */
152
+ sd: number;
153
+ amount: number;
154
+ /** How alike neighbouring pixels' grain is (0: a pixel each; below 0, as sharpening leaves it), and the capture.grain.size whose grain is that alike (px at 1080 lines). */
155
+ correlation: number;
156
+ size: number;
157
+ }
158
+ /**
159
+ * Grain where a picture is flat: blocks of `block` px each way whose mean
160
+ * is not near black or white, the `share` of them whose content (the
161
+ * means of their sixths, with their slope taken out) varies least, and in
162
+ * those, what is left of each pixel after the block's slope: its standard
163
+ * deviation and how alike neighbours are. Undefined with no such block.
164
+ */
165
+ export declare function grainOf(luma: Float32Array, w: number, h: number, block?: number, share?: number): Grain | undefined;
166
+ /** The 10–90 % rises of a picture's strong steps: how many, the sharper quarter's and the median's. */
167
+ export interface EdgeWidths {
168
+ edges: number;
169
+ p25?: number;
170
+ median?: number;
171
+ }
172
+ export interface CompareImages {
173
+ result: CompareResult;
174
+ /** The reference, faded to grey, with the difference over it in yellow to red and the regions outlined. */
175
+ heatmap: Img;
176
+ /** Reference | candidate (as compared) | heatmap. */
177
+ side: Img;
178
+ /** The candidate as compared: resized, moved, on the reference's canvas. */
179
+ aligned: Img;
180
+ }
181
+ /**
182
+ * Compares a candidate with a reference. The candidate is resized to the
183
+ * reference's size first when they differ (`resize`), then moved by the
184
+ * best offset found within `shift` pixels, if asked.
185
+ */
186
+ /**
187
+ * The 10–90 % rises of a luma picture's steps of more than `step` levels
188
+ * within `span` pixels, along its rows and its columns.
189
+ */
190
+ export declare function edgeWidths(luma: Float32Array, w: number, h: number, o: {
191
+ step: number;
192
+ span: number;
193
+ }): EdgeWidths;
194
+ export declare function compareImages(reference: Img, candidate: Img, options?: Partial<CompareOptions>): CompareImages;
195
+ //# sourceMappingURL=compare.d.ts.map
@@ -1,2 +1,2 @@
1
1
  /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
- import{blankImage as nt,pasteImage as et,resizeImage as ut,grainSize as yt}from"@allyhub/render";const E=h=>Math.round(h*1e3)/1e3;export const COMPARE_DEFAULTS={tolerance:2.3,background:[255,255,255],gap:4,shift:0,resize:"stretch",heatMax:20,ssimWindow:8,edgeStep:90,edgeSpan:12,grainBlock:48,grainShare:.1};export function grainOf(h,b,k,o=COMPARE_DEFAULTS.grainBlock,r=COMPARE_DEFAULTS.grainShare){const s=Math.max(6,Math.round(o)),e=Math.max(1,Math.floor(s/6)),l=(s-1)/2;let A=0;for(let d=0;d<s;d++)A+=(d-l)**2;A*=s;const t=[];for(let d=0;d+s<=k;d+=s)for(let S=0;S+s<=b;S+=s){let z=0,v=0,B=0;for(let M=0;M<s;M++)for(let y=0;y<s;y++){const U=h[(d+M)*b+S+y]??0;z+=U,v+=(y-l)*U,B+=(M-l)*U}if(z/=s*s,z<12||z>243)continue;const R=v/A,P=B/A,W=new Float32Array(s*s);let J=0;for(let M=0;M<s;M++)for(let y=0;y<s;y++){const U=(h[(d+M)*b+S+y]??0)-z-R*(y-l)-P*(M-l);W[M*s+y]=U,J+=U*U}let N=0;for(let M=0;M+e<=s;M+=e)for(let y=0;y+e<=s;y+=e){let U=0;for(let Q=0;Q<e;Q++)for(let j=0;j<e;j++)U+=W[(M+Q)*s+y+j]??0;N+=(U/(e*e))**2}let D=0;for(let M=0;M<s;M++)for(let y=0;y<s;y++){const U=W[M*s+y]??0;y+1<s&&(D+=U*(W[M*s+y+1]??0)),M+1<s&&(D+=U*(W[(M+1)*s+y]??0))}t.push({content:N,sse:J,across:D})}if(t.length===0)return;t.sort((d,S)=>d.content-S.content);const i=t.slice(0,Math.max(1,Math.round(t.length*Math.min(1,Math.max(0,r))))),f=i.reduce((d,S)=>d+S.sse,0),g=i.reduce((d,S)=>d+S.across,0),I=f/(i.length*(s*s-3)),p=f>0?g/(2*s*(s-1))/(f/(s*s)):0,m=Math.sqrt(I);return{blocks:i.length,of:t.length,sd:E(m),amount:E(m/255),correlation:E(p),size:E(yt(p,Math.min(b,k)))}}function wt(h,b,k){const o=p=>{const m=p/255;return m<=.04045?m/12.92:((m+.055)/1.055)**2.4},r=o(h),s=o(b),e=o(k),l=(.4124564*r+.3575761*s+.1804375*e)/.95047,A=.2126729*r+.7151522*s+.072175*e,t=(.0193339*r+.119192*s+.9503041*e)/1.08883,i=p=>p>216/24389?Math.cbrt(p):(24389/27*p+16)/116,f=i(l),g=i(A),I=i(t);return[116*g-16,500*(f-g),200*(g-I)]}function ft(h,b){const k=h.width*h.height,o=new Float32Array(k*3),r=new Float32Array(k*3),s=new Map;for(let e=0;e<k;e++){const l=(h.data[e*4+3]??0)/255,A=Math.round((h.data[e*4]??0)*l+b[0]*(1-l)),t=Math.round((h.data[e*4+1]??0)*l+b[1]*(1-l)),i=Math.round((h.data[e*4+2]??0)*l+b[2]*(1-l));o[e*3]=A,o[e*3+1]=t,o[e*3+2]=i;const f=A<<16|t<<8|i;let g=s.get(f);g||(g=wt(A,t,i),s.size<1<<20&&s.set(f,g)),r[e*3]=g[0],r[e*3+1]=g[1],r[e*3+2]=g[2]}return{rgb:o,lab:r}}function rt(h,b,k,o,r,s,e){let l=0,A=0;for(let t=Math.max(0,s);t<Math.min(o,o+s);t+=e)for(let i=Math.max(0,r);i<Math.min(k,k+r);i+=e){const f=(t*k+i)*3,g=((t-s)*k+(i-r))*3,I=(h[f]??0)-(b[g]??0),p=(h[f+1]??0)-(b[g+1]??0),m=(h[f+2]??0)-(b[g+2]??0);l+=Math.sqrt(I*I+p*p+m*m),A++}return A?l/A:1/0}function kt(h,b,k,o,r){const s=6.502500000000001,e=(.03*255)**2,l=Math.min(r,k),A=Math.min(r,o),t=Math.max(1,Math.floor(r/2));let i=0,f=0;for(let g=0;g+A<=o;g+=t)for(let I=0;I+l<=k;I+=t){let p=0,m=0;for(let B=g;B<g+A;B++)for(let R=I;R<I+l;R++)p+=h[B*k+R]??0,m+=b[B*k+R]??0;const d=l*A;p/=d,m/=d;let S=0,z=0,v=0;for(let B=g;B<g+A;B++)for(let R=I;R<I+l;R++){const P=(h[B*k+R]??0)-p,W=(b[B*k+R]??0)-m;S+=P*P,z+=W*W,v+=P*W}S/=d-1||1,z/=d-1||1,v/=d-1||1,i+=(2*p*m+s)*(2*v+e)/((p*p+m*m+s)*(S+z+e)),f++}return f?i/f:1}function vt(h,b,k){const o=Math.min(1,Math.max(0,(h-b)/Math.max(1e-6,k-b)));return[255,Math.round(220*(1-o)),0,.55+.45*o]}export function edgeWidths(h,b,k,o){const r=[],s=(t,i)=>{let f=0;for(;f<i-o.span;){if(Math.abs(t(f)-t(f+o.span))<=o.step){f++;continue}let g=f,I=-1;for(let v=f;v<f+o.span;v++){const B=Math.abs(t(v+1)-t(v));B>I&&(I=B,g=v)}const p=t(g+1)>t(g);let m=g;for(;m>0&&g-m<o.span&&(p?t(m-1)<=t(m):t(m-1)>=t(m));)m--;let d=g+1;for(;d<i-1&&d-g-1<o.span&&(p?t(d+1)>=t(d):t(d+1)<=t(d));)d++;const S=t(m),z=t(d);if(Math.abs(z-S)>o.step){const v=[];for(let D=m;D<=d;D++)v.push(p?t(D):-t(D));const B=Math.min(S,z),R=Math.abs(z-S),P=D=>p?B+D*R:-(B+(1-D)*R),W=D=>{for(let M=0;M<v.length-1;M++){const y=v[M]??0,U=v[M+1]??0;if(y<=D&&D<U)return M+(D-y)/(U-y)}},J=W(P(.1)),N=W(P(.9));J!==void 0&&N!==void 0&&N>J&&r.push(N-J)}f=Math.max(f+1,d)}};for(let t=0;t<k;t++)s(i=>h[t*b+i]??0,b);for(let t=0;t<b;t++)s(i=>h[i*b+t]??0,k);r.sort((t,i)=>t-i);const e=t=>r.length===0?void 0:E(r[Math.min(r.length-1,Math.floor(t*r.length))]??0),l=e(.25),A=e(.5);return{edges:r.length,...l===void 0?{}:{p25:l},...A===void 0?{}:{median:A}}}const bt=2.563;export function compareImages(h,b,k={}){const o={...COMPARE_DEFAULTS,...k};let r=b,s;if(r.width!==h.width||r.height!==h.height){if(o.resize==="stretch")r=ut(r,h.width,h.height);else if(o.resize==="width"){const n=Math.max(1,Math.round(r.height*h.width/r.width));r=ut(r,h.width,n)}r!==b&&(s={mode:o.resize,from:[b.width,b.height],to:[r.width,r.height],scale:[E(r.width/b.width),E(r.height/b.height)]})}const e=h.width,l=h.height,A=nt(e,l);et(A,r,0,0);const t=ft(h,o.background);let i=ft(A,o.background),f={x:0,y:0},g;if(o.shift>0){const n=e*l>1e6?2:1,c=rt(t.lab,i.lab,e,l,0,0,1);let a={x:0,y:0,meanDeltaE:rt(t.lab,i.lab,e,l,0,0,n)};for(let x=-o.shift;x<=o.shift;x++)for(let w=-o.shift;w<=o.shift;w++){if(w===0&&x===0)continue;const q=rt(t.lab,i.lab,e,l,w,x,n);q<a.meanDeltaE-1e-9&&(a={x:w,y:x,meanDeltaE:q})}f={x:a.x,y:a.y},g={range:o.shift,unshifted:E(c),best:{...f,meanDeltaE:E(rt(t.lab,i.lab,e,l,a.x,a.y,1))}}}const I=nt(e,l);et(I,r,f.x,f.y),(f.x!==0||f.y!==0)&&(i=ft(I,o.background));const p=Math.max(0,f.x),m=Math.max(0,f.y),d=Math.min(e,r.width+f.x),S=Math.min(l,r.height+f.y),z=Math.max(0,d-p),v=Math.max(0,S-m),B=new Float32Array(e*l),R=(n,c)=>n>=p&&n<d&&c>=m&&c<S;let P=0,W=0,J=0;const N=[0,0,0,0],D=[0,0,0,0],M=new Float32Array(z*v),y=new Float32Array(z*v),U=.05,Q=new Uint32Array(Math.ceil(300/U)+1);for(let n=m;n<S;n++)for(let c=p;c<d;c++){const a=n*e+c,x=(t.lab[a*3]??0)-(i.lab[a*3]??0),w=(t.lab[a*3+1]??0)-(i.lab[a*3+1]??0),q=(t.lab[a*3+2]??0)-(i.lab[a*3+2]??0),u=Math.sqrt(x*x+w*w+q*q);B[a]=u;const O=Math.min(Q.length-1,Math.floor(u/U));Q[O]=(Q[O]??0)+1,P+=u,u>W&&(W=u),u>o.tolerance&&J++;for(let F=0;F<3;F++){const $=Math.abs((t.rgb[a*3+F]??0)-(i.rgb[a*3+F]??0));N[F]=(N[F]??0)+$,$>(D[F]??0)&&(D[F]=$)}const L=Math.abs((h.data[a*4+3]??0)-(I.data[a*4+3]??0));N[3]=(N[3]??0)+L,L>(D[3]??0)&&(D[3]=L);const _=(n-m)*z+(c-p);M[_]=.2126*(t.rgb[a*3]??0)+.7152*(t.rgb[a*3+1]??0)+.0722*(t.rgb[a*3+2]??0),y[_]=.2126*(i.rgb[a*3]??0)+.7152*(i.rgb[a*3+1]??0)+.0722*(i.rgb[a*3+2]??0)}const j=z*v;let dt=0;for(let n=0,c=0;n<Q.length;n++)if(c+=Q[n]??0,c>=j*.95){dt=n*U;break}const X=Math.max(1,Math.round(o.gap)),tt=Math.ceil(e/X),it=Math.ceil(l/X),ot=new Uint8Array(tt*it);for(let n=m;n<S;n++)for(let c=p;c<d;c++)(B[n*e+c]??0)>o.tolerance&&(ot[Math.floor(n/X)*tt+Math.floor(c/X)]=1);const at=new Uint8Array(tt*it),st=[];for(let n=0;n<ot.length;n++){if(!ot[n]||at[n])continue;const c=[n];at[n]=1;let a=1/0,x=1/0,w=-1,q=-1,u=0,O=0,L=0;for(;c.length;){const _=c.pop()??0,F=_%tt,$=Math.floor(_/tt);for(let C=$*X;C<Math.min(l,($+1)*X);C++)for(let G=F*X;G<Math.min(e,(F+1)*X);G++){if(!R(G,C))continue;const V=B[C*e+G]??0;V<=o.tolerance||(u++,O+=V,V>L&&(L=V),G<a&&(a=G),C<x&&(x=C),G>w&&(w=G),C>q&&(q=C))}for(let C=$-1;C<=$+1;C++)for(let G=F-1;G<=F+1;G++){if(G<0||C<0||G>=tt||C>=it)continue;const V=C*tt+G;ot[V]&&!at[V]&&(at[V]=1,c.push(V))}}u>0&&st.push({box:[a,x,w-a+1,q-x+1],pixels:u,meanDeltaE:E(O/u),maxDeltaE:E(L)})}st.sort((n,c)=>c.pixels-n.pixels||n.box[1]-c.box[1]||n.box[0]-c.box[0]);const Y=nt(e,l,[255,255,255,255]);for(let n=0;n<e*l;n++){let a=255-(255-(.2126*(t.rgb[n*3]??0)+.7152*(t.rgb[n*3+1]??0)+.0722*(t.rgb[n*3+2]??0)))*.35,x=a,w=a;const q=B[n]??0;if(q>o.tolerance){const[u,O,L,_]=vt(q,o.tolerance,o.heatMax);a=a*(1-_)+u*_,x=x*(1-_)+O*_,w=w*(1-_)+L*_}Y.data[n*4]=Math.round(a),Y.data[n*4+1]=Math.round(x),Y.data[n*4+2]=Math.round(w)}const mt=n=>{const[c,a,x,w]=n,q=(u,O)=>{if(u<0||O<0||u>=e||O>=l)return;const L=(O*e+u)*4;Y.data[L]=30,Y.data[L+1]=90,Y.data[L+2]=230};for(let u=c-2;u<c+x+2;u++)q(u,a-2),q(u,a+w+1);for(let u=a-2;u<a+w+2;u++)q(c-2,u),q(c+x+1,u)};for(const n of st.slice(0,50))mt(n.box);const Z=Math.max(4,Math.round(Math.min(e,l)/50)),ct=nt(e*3+Z*4,l+Z*2,[128,128,128,255]),ht=n=>{const c=nt(e,l,[...o.background,255]);for(let a=0;a<e*l;a++){const x=(n.data[a*4+3]??0)/255;for(let w=0;w<3;w++)c.data[a*4+w]=Math.round((n.data[a*4+w]??0)*x+(o.background[w]??0)*(1-x))}return c};et(ct,ht(h),Z,Z),et(ct,ht(I),e+Z*2,Z),et(ct,Y,e*2+Z*3,Z);const Mt=()=>{const n={step:o.edgeStep,span:o.edgeSpan},c=edgeWidths(M,z,v,n),a=edgeWidths(y,z,v,n),x=c.p25!==void 0&&a.p25!==void 0?E(Math.sqrt(Math.max(0,(c.p25/bt)**2-(a.p25/bt)**2))*(1080/Math.min(e,l))):void 0;return{...n,reference:c,candidate:a,...x===void 0?{}:{soften:x}}},gt=(n,c)=>{const a=[0,0,0],x=[0,0,0];for(let O=m;O<S;O++)for(let L=p;L<d;L++){const _=O*e+L;for(let F=0;F<3;F++)a[F]=(a[F]??0)+(n.rgb[_*3+F]??0),x[F]=(x[F]??0)+(n.lab[_*3+F]??0)}const w=Float32Array.from(c).sort(),q=O=>w.length?w[Math.min(w.length-1,Math.floor(O*w.length))]??0:0,u=O=>E(j?O/j:0);return{rgb:[u(a[0]??0),u(a[1]??0),u(a[2]??0)],luma:{mean:u(c.reduce((O,L)=>O+L,0)),p5:E(q(.05)),p50:E(q(.5)),p95:E(q(.95))},lab:[u(x[0]??0),u(x[1]??0),u(x[2]??0)]}},T=gt(t,M),H=gt(i,y),K=(n,c)=>E(n-c),xt={reference:T,candidate:H,difference:{rgb:[K(H.rgb[0],T.rgb[0]),K(H.rgb[1],T.rgb[1]),K(H.rgb[2],T.rgb[2])],luma:{mean:K(H.luma.mean,T.luma.mean),p5:K(H.luma.p5,T.luma.p5),p50:K(H.luma.p50,T.luma.p50),p95:K(H.luma.p95,T.luma.p95)},lab:[K(H.lab[0],T.lab[0]),K(H.lab[1],T.lab[1]),K(H.lab[2],T.lab[2])]}},pt=()=>{const n=grainOf(M,z,v,o.grainBlock,o.grainShare),c=grainOf(y,z,v,o.grainBlock,o.grainShare);return{block:o.grainBlock,share:o.grainShare,...n?{reference:n}:{},...c?{candidate:c}:{},...n&&c?{amount:E(Math.sqrt(Math.max(0,n.sd**2-c.sd**2))/255)}:{}}},lt=n=>({mean:E(j?(N[n]??0)/j:0),max:D[n]??0});return{result:{reference:{width:h.width,height:h.height},candidate:{width:b.width,height:b.height},...s?{resized:s}:{},compared:[p,m,z,v],offset:f,...g?{search:g}:{},pixels:j,tolerance:o.tolerance,differing:J,share:j?E(J/j):0,deltaE:{mean:E(j?P/j:0),max:E(W),p95:E(dt)},channels:{r:lt(0),g:lt(1),b:lt(2),alpha:lt(3)},levels:xt,grain:pt(),ssim:E(kt(M,y,z,v,o.ssimWindow)),regions:st,edges:Mt()},heatmap:Y,side:ct,aligned:ht(I)}}
2
+ import{grainSize as yt}from"./grain.js";import{blankImage as nt,pasteImage as et,resizeImage as ut}from"./image.js";const E=h=>Math.round(h*1e3)/1e3;export const COMPARE_DEFAULTS={tolerance:2.3,background:[255,255,255],gap:4,shift:0,resize:"stretch",heatMax:20,ssimWindow:8,edgeStep:90,edgeSpan:12,grainBlock:48,grainShare:.1};export function grainOf(h,b,k,o=COMPARE_DEFAULTS.grainBlock,r=COMPARE_DEFAULTS.grainShare){const s=Math.max(6,Math.round(o)),e=Math.max(1,Math.floor(s/6)),l=(s-1)/2;let A=0;for(let d=0;d<s;d++)A+=(d-l)**2;A*=s;const t=[];for(let d=0;d+s<=k;d+=s)for(let S=0;S+s<=b;S+=s){let z=0,v=0,B=0;for(let M=0;M<s;M++)for(let y=0;y<s;y++){const U=h[(d+M)*b+S+y]??0;z+=U,v+=(y-l)*U,B+=(M-l)*U}if(z/=s*s,z<12||z>243)continue;const R=v/A,P=B/A,W=new Float32Array(s*s);let J=0;for(let M=0;M<s;M++)for(let y=0;y<s;y++){const U=(h[(d+M)*b+S+y]??0)-z-R*(y-l)-P*(M-l);W[M*s+y]=U,J+=U*U}let N=0;for(let M=0;M+e<=s;M+=e)for(let y=0;y+e<=s;y+=e){let U=0;for(let Q=0;Q<e;Q++)for(let j=0;j<e;j++)U+=W[(M+Q)*s+y+j]??0;N+=(U/(e*e))**2}let D=0;for(let M=0;M<s;M++)for(let y=0;y<s;y++){const U=W[M*s+y]??0;y+1<s&&(D+=U*(W[M*s+y+1]??0)),M+1<s&&(D+=U*(W[(M+1)*s+y]??0))}t.push({content:N,sse:J,across:D})}if(t.length===0)return;t.sort((d,S)=>d.content-S.content);const i=t.slice(0,Math.max(1,Math.round(t.length*Math.min(1,Math.max(0,r))))),f=i.reduce((d,S)=>d+S.sse,0),g=i.reduce((d,S)=>d+S.across,0),I=f/(i.length*(s*s-3)),p=f>0?g/(2*s*(s-1))/(f/(s*s)):0,m=Math.sqrt(I);return{blocks:i.length,of:t.length,sd:E(m),amount:E(m/255),correlation:E(p),size:E(yt(p,Math.min(b,k)))}}function wt(h,b,k){const o=p=>{const m=p/255;return m<=.04045?m/12.92:((m+.055)/1.055)**2.4},r=o(h),s=o(b),e=o(k),l=(.4124564*r+.3575761*s+.1804375*e)/.95047,A=.2126729*r+.7151522*s+.072175*e,t=(.0193339*r+.119192*s+.9503041*e)/1.08883,i=p=>p>216/24389?Math.cbrt(p):(24389/27*p+16)/116,f=i(l),g=i(A),I=i(t);return[116*g-16,500*(f-g),200*(g-I)]}function ft(h,b){const k=h.width*h.height,o=new Float32Array(k*3),r=new Float32Array(k*3),s=new Map;for(let e=0;e<k;e++){const l=(h.data[e*4+3]??0)/255,A=Math.round((h.data[e*4]??0)*l+b[0]*(1-l)),t=Math.round((h.data[e*4+1]??0)*l+b[1]*(1-l)),i=Math.round((h.data[e*4+2]??0)*l+b[2]*(1-l));o[e*3]=A,o[e*3+1]=t,o[e*3+2]=i;const f=A<<16|t<<8|i;let g=s.get(f);g||(g=wt(A,t,i),s.size<1<<20&&s.set(f,g)),r[e*3]=g[0],r[e*3+1]=g[1],r[e*3+2]=g[2]}return{rgb:o,lab:r}}function rt(h,b,k,o,r,s,e){let l=0,A=0;for(let t=Math.max(0,s);t<Math.min(o,o+s);t+=e)for(let i=Math.max(0,r);i<Math.min(k,k+r);i+=e){const f=(t*k+i)*3,g=((t-s)*k+(i-r))*3,I=(h[f]??0)-(b[g]??0),p=(h[f+1]??0)-(b[g+1]??0),m=(h[f+2]??0)-(b[g+2]??0);l+=Math.sqrt(I*I+p*p+m*m),A++}return A?l/A:1/0}function kt(h,b,k,o,r){const s=6.502500000000001,e=(.03*255)**2,l=Math.min(r,k),A=Math.min(r,o),t=Math.max(1,Math.floor(r/2));let i=0,f=0;for(let g=0;g+A<=o;g+=t)for(let I=0;I+l<=k;I+=t){let p=0,m=0;for(let B=g;B<g+A;B++)for(let R=I;R<I+l;R++)p+=h[B*k+R]??0,m+=b[B*k+R]??0;const d=l*A;p/=d,m/=d;let S=0,z=0,v=0;for(let B=g;B<g+A;B++)for(let R=I;R<I+l;R++){const P=(h[B*k+R]??0)-p,W=(b[B*k+R]??0)-m;S+=P*P,z+=W*W,v+=P*W}S/=d-1||1,z/=d-1||1,v/=d-1||1,i+=(2*p*m+s)*(2*v+e)/((p*p+m*m+s)*(S+z+e)),f++}return f?i/f:1}function vt(h,b,k){const o=Math.min(1,Math.max(0,(h-b)/Math.max(1e-6,k-b)));return[255,Math.round(220*(1-o)),0,.55+.45*o]}export function edgeWidths(h,b,k,o){const r=[],s=(t,i)=>{let f=0;for(;f<i-o.span;){if(Math.abs(t(f)-t(f+o.span))<=o.step){f++;continue}let g=f,I=-1;for(let v=f;v<f+o.span;v++){const B=Math.abs(t(v+1)-t(v));B>I&&(I=B,g=v)}const p=t(g+1)>t(g);let m=g;for(;m>0&&g-m<o.span&&(p?t(m-1)<=t(m):t(m-1)>=t(m));)m--;let d=g+1;for(;d<i-1&&d-g-1<o.span&&(p?t(d+1)>=t(d):t(d+1)<=t(d));)d++;const S=t(m),z=t(d);if(Math.abs(z-S)>o.step){const v=[];for(let D=m;D<=d;D++)v.push(p?t(D):-t(D));const B=Math.min(S,z),R=Math.abs(z-S),P=D=>p?B+D*R:-(B+(1-D)*R),W=D=>{for(let M=0;M<v.length-1;M++){const y=v[M]??0,U=v[M+1]??0;if(y<=D&&D<U)return M+(D-y)/(U-y)}},J=W(P(.1)),N=W(P(.9));J!==void 0&&N!==void 0&&N>J&&r.push(N-J)}f=Math.max(f+1,d)}};for(let t=0;t<k;t++)s(i=>h[t*b+i]??0,b);for(let t=0;t<b;t++)s(i=>h[i*b+t]??0,k);r.sort((t,i)=>t-i);const e=t=>r.length===0?void 0:E(r[Math.min(r.length-1,Math.floor(t*r.length))]??0),l=e(.25),A=e(.5);return{edges:r.length,...l===void 0?{}:{p25:l},...A===void 0?{}:{median:A}}}const bt=2.563;export function compareImages(h,b,k={}){const o={...COMPARE_DEFAULTS,...k};let r=b,s;if(r.width!==h.width||r.height!==h.height){if(o.resize==="stretch")r=ut(r,h.width,h.height);else if(o.resize==="width"){const n=Math.max(1,Math.round(r.height*h.width/r.width));r=ut(r,h.width,n)}r!==b&&(s={mode:o.resize,from:[b.width,b.height],to:[r.width,r.height],scale:[E(r.width/b.width),E(r.height/b.height)]})}const e=h.width,l=h.height,A=nt(e,l);et(A,r,0,0);const t=ft(h,o.background);let i=ft(A,o.background),f={x:0,y:0},g;if(o.shift>0){const n=e*l>1e6?2:1,c=rt(t.lab,i.lab,e,l,0,0,1);let a={x:0,y:0,meanDeltaE:rt(t.lab,i.lab,e,l,0,0,n)};for(let x=-o.shift;x<=o.shift;x++)for(let w=-o.shift;w<=o.shift;w++){if(w===0&&x===0)continue;const q=rt(t.lab,i.lab,e,l,w,x,n);q<a.meanDeltaE-1e-9&&(a={x:w,y:x,meanDeltaE:q})}f={x:a.x,y:a.y},g={range:o.shift,unshifted:E(c),best:{...f,meanDeltaE:E(rt(t.lab,i.lab,e,l,a.x,a.y,1))}}}const I=nt(e,l);et(I,r,f.x,f.y),(f.x!==0||f.y!==0)&&(i=ft(I,o.background));const p=Math.max(0,f.x),m=Math.max(0,f.y),d=Math.min(e,r.width+f.x),S=Math.min(l,r.height+f.y),z=Math.max(0,d-p),v=Math.max(0,S-m),B=new Float32Array(e*l),R=(n,c)=>n>=p&&n<d&&c>=m&&c<S;let P=0,W=0,J=0;const N=[0,0,0,0],D=[0,0,0,0],M=new Float32Array(z*v),y=new Float32Array(z*v),U=.05,Q=new Uint32Array(Math.ceil(300/U)+1);for(let n=m;n<S;n++)for(let c=p;c<d;c++){const a=n*e+c,x=(t.lab[a*3]??0)-(i.lab[a*3]??0),w=(t.lab[a*3+1]??0)-(i.lab[a*3+1]??0),q=(t.lab[a*3+2]??0)-(i.lab[a*3+2]??0),u=Math.sqrt(x*x+w*w+q*q);B[a]=u;const O=Math.min(Q.length-1,Math.floor(u/U));Q[O]=(Q[O]??0)+1,P+=u,u>W&&(W=u),u>o.tolerance&&J++;for(let F=0;F<3;F++){const $=Math.abs((t.rgb[a*3+F]??0)-(i.rgb[a*3+F]??0));N[F]=(N[F]??0)+$,$>(D[F]??0)&&(D[F]=$)}const L=Math.abs((h.data[a*4+3]??0)-(I.data[a*4+3]??0));N[3]=(N[3]??0)+L,L>(D[3]??0)&&(D[3]=L);const _=(n-m)*z+(c-p);M[_]=.2126*(t.rgb[a*3]??0)+.7152*(t.rgb[a*3+1]??0)+.0722*(t.rgb[a*3+2]??0),y[_]=.2126*(i.rgb[a*3]??0)+.7152*(i.rgb[a*3+1]??0)+.0722*(i.rgb[a*3+2]??0)}const j=z*v;let dt=0;for(let n=0,c=0;n<Q.length;n++)if(c+=Q[n]??0,c>=j*.95){dt=n*U;break}const X=Math.max(1,Math.round(o.gap)),tt=Math.ceil(e/X),it=Math.ceil(l/X),ot=new Uint8Array(tt*it);for(let n=m;n<S;n++)for(let c=p;c<d;c++)(B[n*e+c]??0)>o.tolerance&&(ot[Math.floor(n/X)*tt+Math.floor(c/X)]=1);const at=new Uint8Array(tt*it),st=[];for(let n=0;n<ot.length;n++){if(!ot[n]||at[n])continue;const c=[n];at[n]=1;let a=1/0,x=1/0,w=-1,q=-1,u=0,O=0,L=0;for(;c.length;){const _=c.pop()??0,F=_%tt,$=Math.floor(_/tt);for(let C=$*X;C<Math.min(l,($+1)*X);C++)for(let G=F*X;G<Math.min(e,(F+1)*X);G++){if(!R(G,C))continue;const V=B[C*e+G]??0;V<=o.tolerance||(u++,O+=V,V>L&&(L=V),G<a&&(a=G),C<x&&(x=C),G>w&&(w=G),C>q&&(q=C))}for(let C=$-1;C<=$+1;C++)for(let G=F-1;G<=F+1;G++){if(G<0||C<0||G>=tt||C>=it)continue;const V=C*tt+G;ot[V]&&!at[V]&&(at[V]=1,c.push(V))}}u>0&&st.push({box:[a,x,w-a+1,q-x+1],pixels:u,meanDeltaE:E(O/u),maxDeltaE:E(L)})}st.sort((n,c)=>c.pixels-n.pixels||n.box[1]-c.box[1]||n.box[0]-c.box[0]);const Y=nt(e,l,[255,255,255,255]);for(let n=0;n<e*l;n++){let a=255-(255-(.2126*(t.rgb[n*3]??0)+.7152*(t.rgb[n*3+1]??0)+.0722*(t.rgb[n*3+2]??0)))*.35,x=a,w=a;const q=B[n]??0;if(q>o.tolerance){const[u,O,L,_]=vt(q,o.tolerance,o.heatMax);a=a*(1-_)+u*_,x=x*(1-_)+O*_,w=w*(1-_)+L*_}Y.data[n*4]=Math.round(a),Y.data[n*4+1]=Math.round(x),Y.data[n*4+2]=Math.round(w)}const mt=n=>{const[c,a,x,w]=n,q=(u,O)=>{if(u<0||O<0||u>=e||O>=l)return;const L=(O*e+u)*4;Y.data[L]=30,Y.data[L+1]=90,Y.data[L+2]=230};for(let u=c-2;u<c+x+2;u++)q(u,a-2),q(u,a+w+1);for(let u=a-2;u<a+w+2;u++)q(c-2,u),q(c+x+1,u)};for(const n of st.slice(0,50))mt(n.box);const Z=Math.max(4,Math.round(Math.min(e,l)/50)),ct=nt(e*3+Z*4,l+Z*2,[128,128,128,255]),ht=n=>{const c=nt(e,l,[...o.background,255]);for(let a=0;a<e*l;a++){const x=(n.data[a*4+3]??0)/255;for(let w=0;w<3;w++)c.data[a*4+w]=Math.round((n.data[a*4+w]??0)*x+(o.background[w]??0)*(1-x))}return c};et(ct,ht(h),Z,Z),et(ct,ht(I),e+Z*2,Z),et(ct,Y,e*2+Z*3,Z);const Mt=()=>{const n={step:o.edgeStep,span:o.edgeSpan},c=edgeWidths(M,z,v,n),a=edgeWidths(y,z,v,n),x=c.p25!==void 0&&a.p25!==void 0?E(Math.sqrt(Math.max(0,(c.p25/bt)**2-(a.p25/bt)**2))*(1080/Math.min(e,l))):void 0;return{...n,reference:c,candidate:a,...x===void 0?{}:{soften:x}}},gt=(n,c)=>{const a=[0,0,0],x=[0,0,0];for(let O=m;O<S;O++)for(let L=p;L<d;L++){const _=O*e+L;for(let F=0;F<3;F++)a[F]=(a[F]??0)+(n.rgb[_*3+F]??0),x[F]=(x[F]??0)+(n.lab[_*3+F]??0)}const w=Float32Array.from(c).sort(),q=O=>w.length?w[Math.min(w.length-1,Math.floor(O*w.length))]??0:0,u=O=>E(j?O/j:0);return{rgb:[u(a[0]??0),u(a[1]??0),u(a[2]??0)],luma:{mean:u(c.reduce((O,L)=>O+L,0)),p5:E(q(.05)),p50:E(q(.5)),p95:E(q(.95))},lab:[u(x[0]??0),u(x[1]??0),u(x[2]??0)]}},T=gt(t,M),H=gt(i,y),K=(n,c)=>E(n-c),xt={reference:T,candidate:H,difference:{rgb:[K(H.rgb[0],T.rgb[0]),K(H.rgb[1],T.rgb[1]),K(H.rgb[2],T.rgb[2])],luma:{mean:K(H.luma.mean,T.luma.mean),p5:K(H.luma.p5,T.luma.p5),p50:K(H.luma.p50,T.luma.p50),p95:K(H.luma.p95,T.luma.p95)},lab:[K(H.lab[0],T.lab[0]),K(H.lab[1],T.lab[1]),K(H.lab[2],T.lab[2])]}},pt=()=>{const n=grainOf(M,z,v,o.grainBlock,o.grainShare),c=grainOf(y,z,v,o.grainBlock,o.grainShare);return{block:o.grainBlock,share:o.grainShare,...n?{reference:n}:{},...c?{candidate:c}:{},...n&&c?{amount:E(Math.sqrt(Math.max(0,n.sd**2-c.sd**2))/255)}:{}}},lt=n=>({mean:E(j?(N[n]??0)/j:0),max:D[n]??0});return{result:{reference:{width:h.width,height:h.height},candidate:{width:b.width,height:b.height},...s?{resized:s}:{},compared:[p,m,z,v],offset:f,...g?{search:g}:{},pixels:j,tolerance:o.tolerance,differing:J,share:j?E(J/j):0,deltaE:{mean:E(j?P/j:0),max:E(W),p95:E(dt)},channels:{r:lt(0),g:lt(1),b:lt(2),alpha:lt(3)},levels:xt,grain:pt(),ssim:E(kt(M,y,z,v,o.ssimWindow)),regions:st,edges:Mt()},heatmap:Y,side:ct,aligned:ht(I)}}
@@ -0,0 +1,8 @@
1
+ /**
2
+ * The capture.grain.size whose grain has neighbouring pixels this
3
+ * correlated, on a picture `lines` px on its shorter side: 0 for grain a
4
+ * pixel each (or neighbours that differ more than chance, as sharpening
5
+ * makes them).
6
+ */
7
+ export declare function grainSize(correlation: number, lines: number): number;
8
+ //# sourceMappingURL=grain.d.ts.map
@@ -0,0 +1,2 @@
1
+ /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
+ const e=[[0,0],[.25,.0563],[.4,.1352],[.5,.197],[.6,.2616],[.75,.3569],[1,.4972],[1.25,.6077],[1.5,.691],[2,.8001],[2.5,.8632],[3,.9018],[4,.9435]];export function grainSize(t,l){const s=e[e.length-1]??[4,.9435];let f=0;if(t>=.999)f=30;else if(t>=s[1])f=s[0]*Math.sqrt(-Math.log(s[1]))/Math.sqrt(-Math.log(t));else if(t>0)for(let g=1;g<e.length;g++){const[M,h]=e[g]??s,[n,i]=e[g-1]??s;if(t<=h){f=n+(M-n)*(t-i)/(h-i);break}}return 2*f*1080/l}
@@ -0,0 +1,16 @@
1
+ /** An image as 8-bit RGBA. */
2
+ export interface Img {
3
+ width: number;
4
+ height: number;
5
+ data: Uint8Array;
6
+ }
7
+ export declare const readPng: (buf: Buffer) => Img;
8
+ export declare const writePng: (img: Img) => Buffer;
9
+ export declare const blankImage: (width: number, height: number, rgba?: readonly [number, number, number, number]) => Img;
10
+ /** A box of an image (x, y, width, height), cut to the image; undefined when nothing of it is inside. */
11
+ export declare function cropImage(img: Img, box: readonly [number, number, number, number]): Img | undefined;
12
+ /** Another image drawn into `dst` at x, y (copied, not blended). */
13
+ export declare function pasteImage(dst: Img, src: Img, x: number, y: number): void;
14
+ /** An image resampled to width × height (premultiplied, so transparent edges keep their colour), or by its nearest pixels. */
15
+ export declare function resizeImage(img: Img, width: number, height: number, filter?: "smooth" | "nearest"): Img;
16
+ //# sourceMappingURL=image.d.ts.map
@@ -0,0 +1,4 @@
1
+ export { blankImage, cropImage, pasteImage, readPng, resizeImage, writePng, type Img, } from "./image.js";
2
+ export { grainSize } from "./grain.js";
3
+ export { COMPARE_DEFAULTS, compareImages, edgeWidths, grainOf, type ChannelStats, type CompareImages, type CompareOptions, type CompareResult, type DiffRegion, type EdgeWidths, type Grain, type Levels, } from "./compare.js";
4
+ //# sourceMappingURL=index.d.ts.map