@allyhub/sdk 0.7.1 → 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 (1086) hide show
  1. package/CHANGELOG.md +149 -0
  2. package/NOTICE +46 -49
  3. package/dist/dom.d.ts +1 -209
  4. package/dist/dom.js +1 -1
  5. package/dist/image.d.ts +2 -0
  6. package/dist/image.js +2 -0
  7. package/dist/index.d.ts +1 -21
  8. package/dist/index.js +1 -1
  9. package/dist/media.d.ts +1 -5
  10. package/dist/media.js +1 -1
  11. package/dist/node_modules/@allyhub/audio/dist/levels.d.ts +96 -0
  12. package/dist/node_modules/@allyhub/audio/dist/levels.js +2 -0
  13. package/dist/node_modules/@allyhub/audio/dist/node/ffmpeg.d.ts +26 -0
  14. package/dist/node_modules/@allyhub/audio/dist/node/ffmpeg.js +2 -0
  15. package/dist/node_modules/@allyhub/audio/package.json +17 -0
  16. package/dist/node_modules/@allyhub/chart/dist/chart-file.d.ts +11 -0
  17. package/dist/node_modules/@allyhub/chart/dist/chart-file.js +2 -0
  18. package/dist/node_modules/@allyhub/chart/dist/chart-xml.d.ts +33 -0
  19. package/dist/node_modules/@allyhub/chart/dist/chart-xml.js +3 -0
  20. package/dist/node_modules/@allyhub/chart/dist/chart.d.ts +206 -0
  21. package/dist/node_modules/@allyhub/chart/dist/chart.js +2 -0
  22. package/dist/node_modules/@allyhub/chart/dist/embedded.d.ts +15 -0
  23. package/dist/node_modules/@allyhub/chart/dist/embedded.js +3 -0
  24. package/dist/node_modules/@allyhub/chart/dist/index.d.ts +6 -0
  25. package/dist/node_modules/@allyhub/chart/dist/index.js +2 -0
  26. package/dist/node_modules/@allyhub/chart/dist/svg.d.ts +22 -0
  27. package/dist/node_modules/@allyhub/chart/dist/svg.js +2 -0
  28. package/dist/node_modules/@allyhub/chart/package.json +14 -0
  29. package/dist/node_modules/@allyhub/diagnostics/dist/fact.d.ts +37 -0
  30. package/dist/node_modules/@allyhub/diagnostics/dist/fact.js +2 -0
  31. package/dist/node_modules/@allyhub/diagnostics/dist/index.d.ts +4 -0
  32. package/dist/node_modules/@allyhub/diagnostics/dist/index.js +2 -0
  33. package/dist/node_modules/@allyhub/diagnostics/dist/problem.d.ts +43 -0
  34. package/dist/node_modules/@allyhub/diagnostics/dist/problem.js +2 -0
  35. package/dist/node_modules/@allyhub/diagnostics/dist/rules.d.ts +30 -0
  36. package/dist/node_modules/@allyhub/diagnostics/dist/rules.js +2 -0
  37. package/dist/node_modules/@allyhub/diagnostics/package.json +14 -0
  38. package/dist/node_modules/@allyhub/formats/dist/contributed.d.ts +126 -0
  39. package/dist/node_modules/@allyhub/formats/dist/contributed.js +2 -0
  40. package/dist/node_modules/@allyhub/formats/dist/data/faces.d.ts +38 -0
  41. package/dist/node_modules/@allyhub/formats/dist/data/reference.d.ts +585 -0
  42. package/dist/node_modules/@allyhub/formats/dist/data/reference.js +2 -0
  43. package/dist/node_modules/@allyhub/formats/dist/data/script.d.ts +67 -0
  44. package/dist/node_modules/@allyhub/formats/dist/data/script.js +2 -0
  45. package/dist/node_modules/@allyhub/formats/dist/data/sheet.d.ts +5076 -0
  46. package/dist/node_modules/@allyhub/formats/dist/data/sheet.js +2 -0
  47. package/dist/node_modules/@allyhub/formats/dist/data/slides.d.ts +2608 -0
  48. package/dist/node_modules/@allyhub/formats/dist/data/slides.js +2 -0
  49. package/dist/node_modules/@allyhub/formats/dist/data/website.d.ts +21 -0
  50. package/dist/node_modules/@allyhub/formats/dist/data/website.js +2 -0
  51. package/dist/node_modules/@allyhub/formats/dist/data/work.d.ts +42 -0
  52. package/dist/node_modules/@allyhub/formats/dist/data/work.js +2 -0
  53. package/dist/node_modules/@allyhub/formats/dist/extension.d.ts +91 -0
  54. package/dist/node_modules/@allyhub/formats/dist/extension.js +2 -0
  55. package/dist/node_modules/@allyhub/formats/dist/files.d.ts +51 -0
  56. package/dist/node_modules/@allyhub/formats/dist/files.js +2 -0
  57. package/dist/node_modules/@allyhub/formats/dist/index.d.ts +27 -0
  58. package/dist/node_modules/@allyhub/formats/dist/index.js +2 -0
  59. package/dist/node_modules/@allyhub/formats/dist/items.d.ts +256 -0
  60. package/dist/node_modules/@allyhub/formats/dist/items.js +2 -0
  61. package/dist/node_modules/@allyhub/formats/dist/layout.d.ts +62 -0
  62. package/dist/node_modules/@allyhub/formats/dist/layout.js +5 -0
  63. package/dist/node_modules/@allyhub/formats/dist/schemas.d.ts +2745 -0
  64. package/dist/node_modules/@allyhub/formats/dist/schemas.js +2 -0
  65. package/dist/node_modules/@allyhub/formats/package.json +15 -0
  66. package/dist/node_modules/@allyhub/image-draw/dist/context.d.ts +5 -0
  67. package/dist/node_modules/@allyhub/image-draw/dist/context.js +2 -0
  68. package/dist/node_modules/@allyhub/image-draw/dist/contrast.d.ts +13 -0
  69. package/dist/node_modules/@allyhub/image-draw/dist/contrast.js +2 -0
  70. package/dist/node_modules/@allyhub/image-draw/dist/env.d.ts +112 -0
  71. package/dist/node_modules/@allyhub/image-draw/dist/env.js +2 -0
  72. package/dist/node_modules/@allyhub/image-draw/dist/errors.d.ts +20 -0
  73. package/dist/node_modules/@allyhub/image-draw/dist/errors.js +2 -0
  74. package/dist/node_modules/@allyhub/image-draw/dist/fonts.d.ts +110 -0
  75. package/dist/node_modules/@allyhub/image-draw/dist/fonts.js +2 -0
  76. package/dist/node_modules/@allyhub/image-draw/dist/guards.d.ts +32 -0
  77. package/dist/node_modules/@allyhub/image-draw/dist/guards.js +2 -0
  78. package/dist/node_modules/@allyhub/image-draw/dist/hash.d.ts +3 -0
  79. package/dist/node_modules/@allyhub/image-draw/dist/hash.js +2 -0
  80. package/dist/node_modules/@allyhub/image-draw/dist/inspect.d.ts +113 -0
  81. package/dist/node_modules/@allyhub/image-draw/dist/inspect.js +3 -0
  82. package/dist/node_modules/@allyhub/image-draw/dist/layer-style.d.ts +151 -0
  83. package/dist/node_modules/@allyhub/image-draw/dist/layer-style.js +2 -0
  84. package/dist/node_modules/@allyhub/image-draw/dist/paint.d.ts +29 -0
  85. package/dist/node_modules/@allyhub/image-draw/dist/paint.js +2 -0
  86. package/dist/node_modules/@allyhub/image-draw/dist/pictures.d.ts +39 -0
  87. package/dist/node_modules/@allyhub/image-draw/dist/pictures.js +2 -0
  88. package/dist/node_modules/@allyhub/image-draw/dist/plan.d.ts +52 -0
  89. package/dist/node_modules/@allyhub/image-draw/dist/plan.js +2 -0
  90. package/dist/node_modules/@allyhub/image-draw/dist/reads.d.ts +145 -0
  91. package/dist/node_modules/@allyhub/image-draw/dist/reads.js +2 -0
  92. package/dist/node_modules/@allyhub/image-draw/dist/shape-path.d.ts +26 -0
  93. package/dist/node_modules/@allyhub/image-draw/dist/shape-path.js +2 -0
  94. package/dist/node_modules/@allyhub/image-draw/dist/stage.d.ts +56 -0
  95. package/dist/node_modules/@allyhub/image-draw/dist/stage.js +2 -0
  96. package/dist/node_modules/@allyhub/image-draw/dist/styles.d.ts +35 -0
  97. package/dist/node_modules/@allyhub/image-draw/dist/styles.js +2 -0
  98. package/dist/node_modules/@allyhub/image-draw/dist/tone.d.ts +53 -0
  99. package/dist/node_modules/@allyhub/image-draw/dist/tone.js +2 -0
  100. package/dist/node_modules/@allyhub/image-draw/package.json +14 -0
  101. package/dist/node_modules/@allyhub/image-measure/dist/contrast.d.ts +43 -0
  102. package/dist/node_modules/@allyhub/image-measure/dist/contrast.js +2 -0
  103. package/dist/node_modules/@allyhub/image-measure/dist/layout.d.ts +186 -0
  104. package/dist/node_modules/@allyhub/image-measure/dist/layout.js +5 -0
  105. package/dist/node_modules/@allyhub/image-measure/package.json +14 -0
  106. package/dist/node_modules/@allyhub/image-sdk/dist/adjustment.d.ts +13 -0
  107. package/dist/node_modules/@allyhub/image-sdk/dist/adjustment.js +2 -0
  108. package/dist/node_modules/@allyhub/image-sdk/dist/define.d.ts +119 -0
  109. package/dist/node_modules/@allyhub/image-sdk/dist/define.js +2 -0
  110. package/dist/node_modules/@allyhub/image-sdk/dist/dom.d.ts +210 -0
  111. package/dist/node_modules/@allyhub/image-sdk/dist/dom.js +2 -0
  112. package/dist/node_modules/@allyhub/image-sdk/dist/fill.d.ts +21 -0
  113. package/dist/node_modules/@allyhub/image-sdk/dist/fill.js +2 -0
  114. package/dist/node_modules/@allyhub/image-sdk/dist/group.d.ts +17 -0
  115. package/dist/node_modules/@allyhub/image-sdk/dist/group.js +2 -0
  116. package/dist/node_modules/@allyhub/image-sdk/dist/index.d.ts +166 -0
  117. package/dist/node_modules/@allyhub/image-sdk/dist/index.js +2 -0
  118. package/dist/node_modules/@allyhub/image-sdk/dist/media.d.ts +6 -0
  119. package/dist/node_modules/@allyhub/image-sdk/dist/media.js +2 -0
  120. package/dist/node_modules/@allyhub/image-sdk/dist/messages.d.ts +40 -0
  121. package/dist/node_modules/@allyhub/image-sdk/dist/picture.d.ts +59 -0
  122. package/dist/node_modules/@allyhub/image-sdk/dist/picture.js +2 -0
  123. package/dist/node_modules/@allyhub/image-sdk/dist/props.d.ts +124 -0
  124. package/dist/node_modules/@allyhub/image-sdk/dist/shape.d.ts +34 -0
  125. package/dist/node_modules/@allyhub/image-sdk/dist/shape.js +2 -0
  126. package/dist/node_modules/@allyhub/image-sdk/dist/stack.d.ts +16 -0
  127. package/dist/node_modules/@allyhub/image-sdk/dist/stack.js +2 -0
  128. package/dist/node_modules/@allyhub/image-sdk/dist/text-layer.d.ts +38 -0
  129. package/dist/node_modules/@allyhub/image-sdk/dist/text-layer.js +2 -0
  130. package/dist/node_modules/@allyhub/image-sdk/dist/written.js +2 -0
  131. package/dist/node_modules/@allyhub/image-sdk/package.json +19 -0
  132. package/dist/node_modules/@allyhub/measure/dist/compare.d.ts +195 -0
  133. package/dist/node_modules/@allyhub/measure/dist/compare.js +2 -0
  134. package/dist/node_modules/@allyhub/measure/dist/grain.d.ts +8 -0
  135. package/dist/node_modules/@allyhub/measure/dist/grain.js +2 -0
  136. package/dist/node_modules/@allyhub/measure/dist/image.d.ts +16 -0
  137. package/dist/node_modules/@allyhub/measure/dist/image.js +2 -0
  138. package/dist/node_modules/@allyhub/measure/dist/index.d.ts +4 -0
  139. package/dist/node_modules/@allyhub/measure/dist/index.js +2 -0
  140. package/dist/node_modules/@allyhub/measure/package.json +13 -0
  141. package/dist/node_modules/@allyhub/ooxml/dist/generated/presets.d.ts +31 -0
  142. package/dist/node_modules/@allyhub/ooxml/dist/generated/presets.js +2 -0
  143. package/dist/node_modules/@allyhub/ooxml/dist/geometry/index.d.ts +71 -0
  144. package/dist/node_modules/@allyhub/ooxml/dist/geometry/index.js +2 -0
  145. package/dist/node_modules/@allyhub/ooxml/package.json +26 -0
  146. package/dist/node_modules/@allyhub/piece/dist/anchors.d.ts +156 -0
  147. package/dist/node_modules/@allyhub/piece/dist/component.d.ts +70 -0
  148. package/dist/node_modules/@allyhub/piece/dist/component.js +2 -0
  149. package/dist/node_modules/@allyhub/piece/dist/context.d.ts +39 -0
  150. package/dist/node_modules/@allyhub/piece/dist/contrast.d.ts +98 -0
  151. package/dist/node_modules/@allyhub/piece/dist/export.d.ts +114 -0
  152. package/dist/node_modules/@allyhub/piece/dist/export.js +2 -0
  153. package/dist/node_modules/@allyhub/piece/dist/formats.d.ts +149 -0
  154. package/dist/node_modules/@allyhub/piece/dist/formats.js +2 -0
  155. package/dist/node_modules/@allyhub/piece/dist/gen.d.ts +104 -0
  156. package/dist/node_modules/@allyhub/piece/dist/gen.js +2 -0
  157. package/dist/node_modules/@allyhub/piece/dist/index.d.ts +26 -0
  158. package/dist/node_modules/@allyhub/piece/dist/index.js +2 -0
  159. package/dist/node_modules/@allyhub/piece/dist/layer-style.d.ts +1558 -0
  160. package/dist/node_modules/@allyhub/piece/dist/layer-style.js +2 -0
  161. package/dist/node_modules/@allyhub/piece/dist/layer.d.ts +389 -0
  162. package/dist/node_modules/@allyhub/piece/dist/layer.js +2 -0
  163. package/dist/node_modules/@allyhub/piece/dist/layout.d.ts +421 -0
  164. package/dist/node_modules/@allyhub/piece/dist/layout.js +2 -0
  165. package/dist/node_modules/@allyhub/piece/dist/look.d.ts +66 -0
  166. package/dist/node_modules/@allyhub/piece/dist/media.d.ts +256 -0
  167. package/dist/node_modules/@allyhub/piece/dist/media.js +2 -0
  168. package/dist/node_modules/@allyhub/piece/dist/messages.d.ts +94 -0
  169. package/dist/node_modules/@allyhub/piece/dist/names.d.ts +26 -0
  170. package/dist/node_modules/@allyhub/piece/dist/names.js +2 -0
  171. package/dist/node_modules/@allyhub/piece/dist/page/console.d.ts +21 -0
  172. package/dist/node_modules/@allyhub/piece/dist/page/console.js +2 -0
  173. package/dist/node_modules/@allyhub/piece/dist/page/index.d.ts +3 -0
  174. package/dist/node_modules/@allyhub/piece/dist/page/index.js +2 -0
  175. package/dist/node_modules/@allyhub/piece/dist/page/locate.d.ts +4 -0
  176. package/dist/node_modules/@allyhub/piece/dist/page/locate.js +2 -0
  177. package/dist/node_modules/@allyhub/piece/dist/picture.d.ts +62 -0
  178. package/dist/node_modules/@allyhub/piece/dist/picture.js +2 -0
  179. package/dist/node_modules/@allyhub/piece/dist/piece.d.ts +15 -0
  180. package/dist/node_modules/@allyhub/piece/dist/piece.js +2 -0
  181. package/dist/node_modules/@allyhub/piece/dist/script.d.ts +81 -0
  182. package/dist/node_modules/@allyhub/piece/dist/script.js +2 -0
  183. package/dist/node_modules/@allyhub/piece/dist/source.d.ts +131 -0
  184. package/dist/node_modules/@allyhub/piece/dist/stage.d.ts +285 -0
  185. package/dist/node_modules/@allyhub/piece/dist/stage.js +2 -0
  186. package/dist/node_modules/@allyhub/piece/dist/version.d.ts +15 -0
  187. package/dist/node_modules/@allyhub/piece/dist/version.js +2 -0
  188. package/dist/node_modules/@allyhub/piece/dist/voice.d.ts +156 -0
  189. package/dist/node_modules/@allyhub/piece/package.json +18 -0
  190. package/dist/node_modules/@allyhub/protocol/LICENSE +241 -0
  191. package/dist/node_modules/@allyhub/protocol/dist/account.d.ts +478 -0
  192. package/dist/node_modules/@allyhub/protocol/dist/account.js +2 -0
  193. package/dist/node_modules/@allyhub/protocol/dist/app.d.ts +30 -0
  194. package/dist/node_modules/@allyhub/protocol/dist/app.js +2 -0
  195. package/dist/node_modules/@allyhub/protocol/dist/auth.d.ts +119 -0
  196. package/dist/node_modules/@allyhub/protocol/dist/auth.js +2 -0
  197. package/dist/node_modules/@allyhub/protocol/dist/cli.d.ts +66 -0
  198. package/dist/node_modules/@allyhub/protocol/dist/cli.js +2 -0
  199. package/dist/node_modules/@allyhub/protocol/dist/cloud.d.ts +327 -0
  200. package/dist/node_modules/@allyhub/protocol/dist/cloud.js +2 -0
  201. package/dist/node_modules/@allyhub/protocol/dist/editor.d.ts +651 -0
  202. package/dist/node_modules/@allyhub/protocol/dist/editor.js +2 -0
  203. package/dist/node_modules/@allyhub/protocol/dist/files.d.ts +103 -0
  204. package/dist/node_modules/@allyhub/protocol/dist/files.js +2 -0
  205. package/dist/node_modules/@allyhub/protocol/dist/frame.d.ts +303 -0
  206. package/dist/node_modules/@allyhub/protocol/dist/frame.js +2 -0
  207. package/dist/node_modules/@allyhub/protocol/dist/image.d.ts +8 -0
  208. package/dist/node_modules/@allyhub/protocol/dist/image.js +2 -0
  209. package/dist/node_modules/@allyhub/protocol/dist/index.d.ts +28 -0
  210. package/dist/node_modules/@allyhub/protocol/dist/index.js +2 -0
  211. package/dist/node_modules/@allyhub/protocol/dist/jobs.d.ts +91 -0
  212. package/dist/node_modules/@allyhub/protocol/dist/jobs.js +2 -0
  213. package/dist/node_modules/@allyhub/protocol/dist/kinds.d.ts +98 -0
  214. package/dist/node_modules/@allyhub/protocol/dist/kinds.js +2 -0
  215. package/dist/node_modules/@allyhub/protocol/dist/mail.d.ts +273 -0
  216. package/dist/node_modules/@allyhub/protocol/dist/mail.js +2 -0
  217. package/dist/node_modules/@allyhub/protocol/dist/notes.d.ts +213 -0
  218. package/dist/node_modules/@allyhub/protocol/dist/notes.js +2 -0
  219. package/dist/node_modules/@allyhub/protocol/dist/peer.d.ts +59 -0
  220. package/dist/node_modules/@allyhub/protocol/dist/peer.js +2 -0
  221. package/dist/node_modules/@allyhub/protocol/dist/place.d.ts +21 -0
  222. package/dist/node_modules/@allyhub/protocol/dist/place.js +2 -0
  223. package/dist/node_modules/@allyhub/protocol/dist/presence.d.ts +125 -0
  224. package/dist/node_modules/@allyhub/protocol/dist/presence.js +2 -0
  225. package/dist/node_modules/@allyhub/protocol/dist/registry.d.ts +191 -0
  226. package/dist/node_modules/@allyhub/protocol/dist/registry.js +2 -0
  227. package/dist/node_modules/@allyhub/protocol/dist/routes.js +2 -0
  228. package/dist/node_modules/@allyhub/protocol/dist/shape.d.ts +35 -0
  229. package/dist/node_modules/@allyhub/protocol/dist/shape.js +2 -0
  230. package/dist/node_modules/@allyhub/protocol/dist/shares.d.ts +109 -0
  231. package/dist/node_modules/@allyhub/protocol/dist/shares.js +2 -0
  232. package/dist/node_modules/@allyhub/protocol/dist/sites.d.ts +297 -0
  233. package/dist/node_modules/@allyhub/protocol/dist/sites.js +2 -0
  234. package/dist/node_modules/@allyhub/protocol/dist/snapshots.d.ts +447 -0
  235. package/dist/node_modules/@allyhub/protocol/dist/snapshots.js +2 -0
  236. package/dist/node_modules/@allyhub/protocol/dist/sources.d.ts +14 -0
  237. package/dist/node_modules/@allyhub/protocol/dist/sources.js +2 -0
  238. package/dist/node_modules/@allyhub/protocol/dist/teams.d.ts +195 -0
  239. package/dist/node_modules/@allyhub/protocol/dist/teams.js +2 -0
  240. package/dist/node_modules/@allyhub/protocol/dist/tools.d.ts +524 -0
  241. package/dist/node_modules/@allyhub/protocol/dist/tools.js +2 -0
  242. package/dist/node_modules/@allyhub/protocol/package.json +14 -0
  243. package/dist/node_modules/@allyhub/runtimes/LICENSE +241 -0
  244. package/dist/node_modules/@allyhub/runtimes/dist/bundled.d.ts +10 -0
  245. package/dist/node_modules/@allyhub/runtimes/dist/bundled.js +2 -0
  246. package/dist/node_modules/@allyhub/runtimes/dist/declared.d.ts +14 -0
  247. package/dist/node_modules/@allyhub/runtimes/dist/declared.js +2 -0
  248. package/dist/node_modules/@allyhub/runtimes/dist/download.d.ts +38 -0
  249. package/dist/node_modules/@allyhub/runtimes/dist/download.js +2 -0
  250. package/dist/node_modules/@allyhub/runtimes/dist/ffmpeg.d.ts +15 -0
  251. package/dist/node_modules/@allyhub/runtimes/dist/ffmpeg.js +2 -0
  252. package/dist/node_modules/@allyhub/runtimes/dist/index.d.ts +12 -0
  253. package/dist/node_modules/@allyhub/runtimes/dist/index.js +2 -0
  254. package/dist/node_modules/@allyhub/runtimes/dist/manifest.d.ts +3 -0
  255. package/dist/node_modules/@allyhub/runtimes/dist/manifest.js +2 -0
  256. package/dist/node_modules/@allyhub/runtimes/dist/node-program.d.ts +12 -0
  257. package/dist/node_modules/@allyhub/runtimes/dist/node-program.js +2 -0
  258. package/dist/node_modules/@allyhub/runtimes/dist/packages.d.ts +84 -0
  259. package/dist/node_modules/@allyhub/runtimes/dist/packages.js +4 -0
  260. package/dist/node_modules/@allyhub/runtimes/dist/runtimes.d.ts +73 -0
  261. package/dist/node_modules/@allyhub/runtimes/dist/runtimes.js +4 -0
  262. package/dist/node_modules/@allyhub/runtimes/manifest.json +387 -0
  263. package/dist/node_modules/@allyhub/runtimes/package.json +18 -0
  264. package/dist/node_modules/@allyhub/runtimes/pins/pdfjs-dist/package-lock.json +275 -0
  265. package/dist/node_modules/@allyhub/runtimes/pins/pdfjs-dist/package.json +11 -0
  266. package/dist/node_modules/@allyhub/scenery/LICENSE +241 -0
  267. package/dist/node_modules/@allyhub/scenery/dist/define.d.ts +166 -0
  268. package/dist/node_modules/@allyhub/scenery/dist/define.js +2 -0
  269. package/dist/node_modules/@allyhub/scenery/package.json +13 -0
  270. package/dist/node_modules/@allyhub/sheet/LICENSE +241 -0
  271. package/dist/node_modules/@allyhub/sheet/dist/api/capabilities.js +2 -0
  272. package/dist/node_modules/@allyhub/sheet/dist/api/charts.d.ts +204 -0
  273. package/dist/node_modules/@allyhub/sheet/dist/api/charts.js +2 -0
  274. package/dist/node_modules/@allyhub/sheet/dist/api/code.d.ts +19 -0
  275. package/dist/node_modules/@allyhub/sheet/dist/api/code.js +2 -0
  276. package/dist/node_modules/@allyhub/sheet/dist/api/page.d.ts +83 -0
  277. package/dist/node_modules/@allyhub/sheet/dist/api/page.js +2 -0
  278. package/dist/node_modules/@allyhub/sheet/dist/api/rules.d.ts +170 -0
  279. package/dist/node_modules/@allyhub/sheet/dist/api/rules.js +2 -0
  280. package/dist/node_modules/@allyhub/sheet/dist/api/styles.d.ts +117 -0
  281. package/dist/node_modules/@allyhub/sheet/dist/api/styles.js +2 -0
  282. package/dist/node_modules/@allyhub/sheet/dist/api/workbook.d.ts +366 -0
  283. package/dist/node_modules/@allyhub/sheet/dist/api/workbook.js +2 -0
  284. package/dist/node_modules/@allyhub/sheet/dist/arrange.d.ts +68 -0
  285. package/dist/node_modules/@allyhub/sheet/dist/calc/server.d.ts +82 -0
  286. package/dist/node_modules/@allyhub/sheet/dist/chart.d.ts +52 -0
  287. package/dist/node_modules/@allyhub/sheet/dist/chart.js +2 -0
  288. package/dist/node_modules/@allyhub/sheet/dist/diff.js +2 -0
  289. package/dist/node_modules/@allyhub/sheet/dist/edit.d.ts +154 -0
  290. package/dist/node_modules/@allyhub/sheet/dist/export.js +5 -0
  291. package/dist/node_modules/@allyhub/sheet/dist/file.d.ts +24 -0
  292. package/dist/node_modules/@allyhub/sheet/dist/file.js +3 -0
  293. package/dist/node_modules/@allyhub/sheet/dist/files.d.ts +24 -0
  294. package/dist/node_modules/@allyhub/sheet/dist/files.js +2 -0
  295. package/dist/node_modules/@allyhub/sheet/dist/generated.d.ts +32 -0
  296. package/dist/node_modules/@allyhub/sheet/dist/generated.js +2 -0
  297. package/dist/node_modules/@allyhub/sheet/dist/import.d.ts +13 -0
  298. package/dist/node_modules/@allyhub/sheet/dist/import.js +2 -0
  299. package/dist/node_modules/@allyhub/sheet/dist/index.d.ts +41 -0
  300. package/dist/node_modules/@allyhub/sheet/dist/index.js +2 -0
  301. package/dist/node_modules/@allyhub/sheet/dist/inspect.d.ts +100 -0
  302. package/dist/node_modules/@allyhub/sheet/dist/paginate.d.ts +98 -0
  303. package/dist/node_modules/@allyhub/sheet/dist/patch.d.ts +4 -0
  304. package/dist/node_modules/@allyhub/sheet/dist/patch.js +2 -0
  305. package/dist/node_modules/@allyhub/sheet/dist/sdk.d.ts +2 -0
  306. package/dist/node_modules/@allyhub/sheet/dist/sdk.js +2 -0
  307. package/dist/node_modules/@allyhub/sheet/dist/structure.d.ts +38 -0
  308. package/dist/node_modules/@allyhub/sheet/dist/table-style.d.ts +32 -0
  309. package/dist/node_modules/@allyhub/sheet/dist/validate.d.ts +26 -0
  310. package/dist/node_modules/@allyhub/sheet/dist/validate.js +2 -0
  311. package/dist/node_modules/@allyhub/sheet/dist/workbook.d.ts +324 -0
  312. package/dist/node_modules/@allyhub/sheet/dist/workbook.js +2 -0
  313. package/dist/node_modules/@allyhub/sheet/dist/xlsx/charts.d.ts +53 -0
  314. package/dist/node_modules/@allyhub/sheet/dist/xlsx/charts.js +2 -0
  315. package/dist/node_modules/@allyhub/sheet/dist/xlsx/import.d.ts +51 -0
  316. package/dist/node_modules/@allyhub/sheet/dist/xlsx/import.js +2 -0
  317. package/dist/node_modules/@allyhub/sheet/dist/xlsx/read.d.ts +159 -0
  318. package/dist/node_modules/@allyhub/sheet/dist/xlsx/read.js +3 -0
  319. package/dist/node_modules/@allyhub/sheet/dist/xlsx/write.js +2 -0
  320. package/dist/node_modules/@allyhub/sheet/dist/xlsx/zip.d.ts +40 -0
  321. package/dist/node_modules/@allyhub/sheet/dist/xlsx/zip.js +2 -0
  322. package/dist/node_modules/@allyhub/sheet/package.json +25 -0
  323. package/dist/node_modules/@allyhub/slides-core/LICENSE +241 -0
  324. package/dist/node_modules/@allyhub/slides-core/dist/animation.d.ts +145 -0
  325. package/dist/node_modules/@allyhub/slides-core/dist/animation.js +2 -0
  326. package/dist/node_modules/@allyhub/slides-core/dist/api.d.ts +770 -0
  327. package/dist/node_modules/@allyhub/slides-core/dist/api.js +4 -0
  328. package/dist/node_modules/@allyhub/slides-core/dist/capabilities.js +2 -0
  329. package/dist/node_modules/@allyhub/slides-core/dist/chart-api.d.ts +219 -0
  330. package/dist/node_modules/@allyhub/slides-core/dist/chart-api.js +2 -0
  331. package/dist/node_modules/@allyhub/slides-core/dist/code.d.ts +33 -0
  332. package/dist/node_modules/@allyhub/slides-core/dist/code.js +2 -0
  333. package/dist/node_modules/@allyhub/slides-core/dist/connect.d.ts +62 -0
  334. package/dist/node_modules/@allyhub/slides-core/dist/connect.js +2 -0
  335. package/dist/node_modules/@allyhub/slides-core/dist/fact.d.ts +208 -0
  336. package/dist/node_modules/@allyhub/slides-core/dist/fact.js +2 -0
  337. package/dist/node_modules/@allyhub/slides-core/dist/file.d.ts +131 -0
  338. package/dist/node_modules/@allyhub/slides-core/dist/file.js +4 -0
  339. package/dist/node_modules/@allyhub/slides-core/dist/index.d.ts +27 -0
  340. package/dist/node_modules/@allyhub/slides-core/dist/index.js +2 -0
  341. package/dist/node_modules/@allyhub/slides-core/dist/measure.d.ts +36 -0
  342. package/dist/node_modules/@allyhub/slides-core/dist/measure.js +2 -0
  343. package/dist/node_modules/@allyhub/slides-core/dist/merge.d.ts +58 -0
  344. package/dist/node_modules/@allyhub/slides-core/dist/merge.js +2 -0
  345. package/dist/node_modules/@allyhub/slides-core/dist/model.d.ts +310 -0
  346. package/dist/node_modules/@allyhub/slides-core/dist/office.d.ts +84 -0
  347. package/dist/node_modules/@allyhub/slides-core/dist/path.d.ts +6 -0
  348. package/dist/node_modules/@allyhub/slides-core/dist/resolve.d.ts +209 -0
  349. package/dist/node_modules/@allyhub/slides-core/dist/resolve.js +2 -0
  350. package/dist/node_modules/@allyhub/slides-core/dist/script.d.ts +45 -0
  351. package/dist/node_modules/@allyhub/slides-core/dist/script.js +3 -0
  352. package/dist/node_modules/@allyhub/slides-core/dist/sdk.d.ts +18 -0
  353. package/dist/node_modules/@allyhub/slides-core/dist/sdk.js +2 -0
  354. package/dist/node_modules/@allyhub/slides-core/dist/stage.d.ts +78 -0
  355. package/dist/node_modules/@allyhub/slides-core/dist/strict.d.ts +7 -0
  356. package/dist/node_modules/@allyhub/slides-core/dist/strict.js +2 -0
  357. package/dist/node_modules/@allyhub/slides-core/dist/theme.d.ts +72 -0
  358. package/dist/node_modules/@allyhub/slides-core/dist/units.d.ts +59 -0
  359. package/dist/node_modules/@allyhub/slides-core/dist/units.js +2 -0
  360. package/dist/node_modules/@allyhub/slides-core/package.json +18 -0
  361. package/dist/node_modules/@allyhub/video-core/LICENSE +241 -0
  362. package/dist/node_modules/@allyhub/video-core/dist/audio-types.d.ts +147 -0
  363. package/dist/node_modules/@allyhub/video-core/dist/captions.d.ts +113 -0
  364. package/dist/node_modules/@allyhub/video-core/dist/captions.js +11 -0
  365. package/dist/node_modules/@allyhub/video-core/dist/check.d.ts +62 -0
  366. package/dist/node_modules/@allyhub/video-core/dist/check.js +2 -0
  367. package/dist/node_modules/@allyhub/video-core/dist/cut-report.d.ts +77 -0
  368. package/dist/node_modules/@allyhub/video-core/dist/cut-report.js +2 -0
  369. package/dist/node_modules/@allyhub/video-core/dist/edits.d.ts +163 -0
  370. package/dist/node_modules/@allyhub/video-core/dist/edits.js +2 -0
  371. package/dist/node_modules/@allyhub/video-core/dist/fact.d.ts +438 -0
  372. package/dist/node_modules/@allyhub/video-core/dist/fact.js +2 -0
  373. package/dist/node_modules/@allyhub/video-core/dist/footage-motion.d.ts +169 -0
  374. package/dist/node_modules/@allyhub/video-core/dist/footage-motion.js +2 -0
  375. package/dist/node_modules/@allyhub/video-core/dist/index.d.ts +27 -0
  376. package/dist/node_modules/@allyhub/video-core/dist/index.js +2 -0
  377. package/dist/node_modules/@allyhub/video-core/dist/measure.d.ts +212 -0
  378. package/dist/node_modules/@allyhub/video-core/dist/measure.js +2 -0
  379. package/dist/node_modules/@allyhub/video-core/dist/mix-plan.d.ts +44 -0
  380. package/dist/node_modules/@allyhub/video-core/dist/mix-plan.js +2 -0
  381. package/dist/node_modules/@allyhub/video-core/dist/motion.d.ts +56 -0
  382. package/dist/node_modules/@allyhub/video-core/dist/piece.d.ts +746 -0
  383. package/dist/node_modules/@allyhub/video-core/dist/piece.js +2 -0
  384. package/dist/node_modules/@allyhub/video-core/dist/placement.d.ts +37 -0
  385. package/dist/node_modules/@allyhub/video-core/dist/render-types.js +2 -0
  386. package/dist/node_modules/@allyhub/video-core/dist/schema.d.ts +344 -0
  387. package/dist/node_modules/@allyhub/video-core/dist/schema.js +2 -0
  388. package/dist/node_modules/@allyhub/video-core/dist/script-edit.d.ts +185 -0
  389. package/dist/node_modules/@allyhub/video-core/dist/script-edit.js +2 -0
  390. package/dist/node_modules/@allyhub/video-core/dist/seams.d.ts +213 -0
  391. package/dist/node_modules/@allyhub/video-core/dist/sound-under.d.ts +72 -0
  392. package/dist/node_modules/@allyhub/video-core/dist/sound-under.js +2 -0
  393. package/dist/node_modules/@allyhub/video-core/dist/speech.d.ts +81 -0
  394. package/dist/node_modules/@allyhub/video-core/dist/speech.js +5 -0
  395. package/dist/node_modules/@allyhub/video-core/dist/stage.d.ts +52 -0
  396. package/dist/node_modules/@allyhub/video-core/dist/stage.js +2 -0
  397. package/dist/node_modules/@allyhub/video-core/dist/timeline.d.ts +513 -0
  398. package/dist/node_modules/@allyhub/video-core/dist/timeline.js +2 -0
  399. package/dist/node_modules/@allyhub/video-core/dist/timing.d.ts +88 -0
  400. package/dist/node_modules/@allyhub/video-core/dist/timing.js +2 -0
  401. package/dist/node_modules/@allyhub/video-core/dist/transcript.d.ts +288 -0
  402. package/dist/node_modules/@allyhub/video-core/dist/transcript.js +2 -0
  403. package/dist/node_modules/@allyhub/video-core/dist/transition.d.ts +300 -0
  404. package/dist/node_modules/@allyhub/video-core/dist/transition.js +2 -0
  405. package/dist/node_modules/@allyhub/video-core/package.json +14 -0
  406. package/dist/node_modules/@allyhub/video-sdk/LICENSE +241 -0
  407. package/dist/node_modules/@allyhub/video-sdk/NOTICE +118 -0
  408. package/dist/node_modules/@allyhub/video-sdk/dist/free.d.ts +22 -0
  409. package/dist/node_modules/@allyhub/video-sdk/dist/free.js +2 -0
  410. package/dist/node_modules/@allyhub/video-sdk/dist/index.d.ts +28 -0
  411. package/dist/node_modules/@allyhub/video-sdk/dist/index.js +2 -0
  412. package/dist/node_modules/@allyhub/video-sdk/dist/input.d.ts +360 -0
  413. package/dist/node_modules/@allyhub/video-sdk/dist/input.js +2 -0
  414. package/dist/node_modules/@allyhub/video-sdk/dist/module.d.ts +25 -0
  415. package/dist/node_modules/@allyhub/video-sdk/dist/module.js +2 -0
  416. package/dist/node_modules/@allyhub/video-sdk/dist/parts.d.ts +225 -0
  417. package/dist/node_modules/@allyhub/video-sdk/dist/parts.js +2 -0
  418. package/dist/node_modules/@allyhub/video-sdk/dist/phone.d.ts +26 -0
  419. package/dist/node_modules/@allyhub/video-sdk/dist/phone.js +2 -0
  420. package/dist/node_modules/@allyhub/video-sdk/dist/piece.d.ts +120 -0
  421. package/dist/node_modules/@allyhub/video-sdk/dist/piece.js +2 -0
  422. package/dist/node_modules/@allyhub/video-sdk/dist/route.d.ts +46 -0
  423. package/dist/node_modules/@allyhub/video-sdk/dist/route.js +2 -0
  424. package/dist/node_modules/@allyhub/video-sdk/dist/scenery.d.ts +2 -0
  425. package/dist/node_modules/@allyhub/video-sdk/dist/scenery.js +2 -0
  426. package/dist/node_modules/@allyhub/video-sdk/package.json +19 -0
  427. package/dist/scenery.d.ts +1 -1
  428. package/dist/scenery.js +1 -1
  429. package/dist/sheets.d.ts +1 -1
  430. package/dist/sheets.js +1 -1
  431. package/dist/slides.d.ts +1 -9
  432. package/dist/slides.js +1 -1
  433. package/docs/README.md +9 -7
  434. package/docs/batches.md +5 -5
  435. package/docs/contract.md +2 -2
  436. package/docs/defaults.md +330 -19
  437. package/docs/docs.md +209 -48
  438. package/docs/footage.md +7 -7
  439. package/docs/image.md +165 -0
  440. package/docs/layers.md +48 -13
  441. package/docs/modeling.md +9 -9
  442. package/docs/pictures.md +65 -0
  443. package/docs/project.md +53 -33
  444. package/docs/scenery.md +15 -15
  445. package/docs/sheets.md +27 -26
  446. package/docs/slides.md +74 -66
  447. package/docs/sound.md +3 -3
  448. package/docs/speech.md +8 -8
  449. package/docs/video.md +16 -13
  450. package/docs/websites.md +7 -7
  451. package/package.json +9 -3
  452. package/dist/define.d.ts +0 -85
  453. package/dist/define.js +0 -2
  454. package/dist/free.d.ts +0 -18
  455. package/dist/free.js +0 -2
  456. package/dist/input.d.ts +0 -306
  457. package/dist/input.js +0 -2
  458. package/dist/messages.d.ts +0 -40
  459. package/dist/module.d.ts +0 -23
  460. package/dist/module.js +0 -2
  461. package/dist/node_modules/@allyhub-next/audio/dist/levels.d.ts +0 -97
  462. package/dist/node_modules/@allyhub-next/audio/dist/levels.js +0 -2
  463. package/dist/node_modules/@allyhub-next/audio/dist/node/ffmpeg.d.ts +0 -31
  464. package/dist/node_modules/@allyhub-next/audio/dist/node/ffmpeg.js +0 -2
  465. package/dist/node_modules/@allyhub-next/audio/package.json +0 -17
  466. package/dist/node_modules/@allyhub-next/chart/dist/chart-xml.d.ts +0 -31
  467. package/dist/node_modules/@allyhub-next/chart/dist/chart-xml.js +0 -3
  468. package/dist/node_modules/@allyhub-next/chart/dist/chart.d.ts +0 -204
  469. package/dist/node_modules/@allyhub-next/chart/dist/chart.js +0 -2
  470. package/dist/node_modules/@allyhub-next/chart/dist/index.d.ts +0 -3
  471. package/dist/node_modules/@allyhub-next/chart/dist/index.js +0 -2
  472. package/dist/node_modules/@allyhub-next/chart/package.json +0 -14
  473. package/dist/node_modules/@allyhub-next/formats/dist/data/comments.d.ts +0 -94
  474. package/dist/node_modules/@allyhub-next/formats/dist/data/comments.js +0 -2
  475. package/dist/node_modules/@allyhub-next/formats/dist/data/faces.d.ts +0 -38
  476. package/dist/node_modules/@allyhub-next/formats/dist/data/reference.d.ts +0 -590
  477. package/dist/node_modules/@allyhub-next/formats/dist/data/reference.js +0 -2
  478. package/dist/node_modules/@allyhub-next/formats/dist/data/script.d.ts +0 -62
  479. package/dist/node_modules/@allyhub-next/formats/dist/data/script.js +0 -2
  480. package/dist/node_modules/@allyhub-next/formats/dist/data/sheet.d.ts +0 -5138
  481. package/dist/node_modules/@allyhub-next/formats/dist/data/sheet.js +0 -2
  482. package/dist/node_modules/@allyhub-next/formats/dist/data/slides.d.ts +0 -2520
  483. package/dist/node_modules/@allyhub-next/formats/dist/data/slides.js +0 -2
  484. package/dist/node_modules/@allyhub-next/formats/dist/data/website.d.ts +0 -20
  485. package/dist/node_modules/@allyhub-next/formats/dist/data/website.js +0 -2
  486. package/dist/node_modules/@allyhub-next/formats/dist/index.d.ts +0 -23
  487. package/dist/node_modules/@allyhub-next/formats/dist/index.js +0 -2
  488. package/dist/node_modules/@allyhub-next/formats/dist/items.d.ts +0 -120
  489. package/dist/node_modules/@allyhub-next/formats/dist/items.js +0 -2
  490. package/dist/node_modules/@allyhub-next/formats/dist/layout.d.ts +0 -56
  491. package/dist/node_modules/@allyhub-next/formats/dist/layout.js +0 -5
  492. package/dist/node_modules/@allyhub-next/formats/dist/schemas.d.ts +0 -2741
  493. package/dist/node_modules/@allyhub-next/formats/dist/schemas.js +0 -2
  494. package/dist/node_modules/@allyhub-next/formats/package.json +0 -15
  495. package/dist/node_modules/@allyhub-next/ooxml/dist/generated/presets.d.ts +0 -28
  496. package/dist/node_modules/@allyhub-next/ooxml/dist/generated/presets.js +0 -2
  497. package/dist/node_modules/@allyhub-next/ooxml/dist/geometry/index.d.ts +0 -57
  498. package/dist/node_modules/@allyhub-next/ooxml/dist/geometry/index.js +0 -2
  499. package/dist/node_modules/@allyhub-next/ooxml/package.json +0 -26
  500. package/dist/node_modules/@allyhub-next/protocol/dist/account.d.ts +0 -338
  501. package/dist/node_modules/@allyhub-next/protocol/dist/account.js +0 -2
  502. package/dist/node_modules/@allyhub-next/protocol/dist/app.d.ts +0 -37
  503. package/dist/node_modules/@allyhub-next/protocol/dist/app.js +0 -2
  504. package/dist/node_modules/@allyhub-next/protocol/dist/auth.d.ts +0 -115
  505. package/dist/node_modules/@allyhub-next/protocol/dist/auth.js +0 -2
  506. package/dist/node_modules/@allyhub-next/protocol/dist/cli.d.ts +0 -55
  507. package/dist/node_modules/@allyhub-next/protocol/dist/cli.js +0 -2
  508. package/dist/node_modules/@allyhub-next/protocol/dist/cloud.d.ts +0 -324
  509. package/dist/node_modules/@allyhub-next/protocol/dist/cloud.js +0 -2
  510. package/dist/node_modules/@allyhub-next/protocol/dist/editor.d.ts +0 -486
  511. package/dist/node_modules/@allyhub-next/protocol/dist/editor.js +0 -2
  512. package/dist/node_modules/@allyhub-next/protocol/dist/files.d.ts +0 -101
  513. package/dist/node_modules/@allyhub-next/protocol/dist/files.js +0 -2
  514. package/dist/node_modules/@allyhub-next/protocol/dist/index.d.ts +0 -20
  515. package/dist/node_modules/@allyhub-next/protocol/dist/index.js +0 -2
  516. package/dist/node_modules/@allyhub-next/protocol/dist/notes.d.ts +0 -188
  517. package/dist/node_modules/@allyhub-next/protocol/dist/notes.js +0 -2
  518. package/dist/node_modules/@allyhub-next/protocol/dist/registry.d.ts +0 -185
  519. package/dist/node_modules/@allyhub-next/protocol/dist/registry.js +0 -2
  520. package/dist/node_modules/@allyhub-next/protocol/dist/routes.js +0 -2
  521. package/dist/node_modules/@allyhub-next/protocol/dist/shares.d.ts +0 -115
  522. package/dist/node_modules/@allyhub-next/protocol/dist/shares.js +0 -2
  523. package/dist/node_modules/@allyhub-next/protocol/dist/sites.d.ts +0 -293
  524. package/dist/node_modules/@allyhub-next/protocol/dist/sites.js +0 -2
  525. package/dist/node_modules/@allyhub-next/protocol/dist/snapshots.d.ts +0 -396
  526. package/dist/node_modules/@allyhub-next/protocol/dist/snapshots.js +0 -2
  527. package/dist/node_modules/@allyhub-next/protocol/dist/teams.d.ts +0 -79
  528. package/dist/node_modules/@allyhub-next/protocol/dist/teams.js +0 -2
  529. package/dist/node_modules/@allyhub-next/protocol/dist/tools.d.ts +0 -428
  530. package/dist/node_modules/@allyhub-next/protocol/dist/tools.js +0 -2
  531. package/dist/node_modules/@allyhub-next/protocol/package.json +0 -14
  532. package/dist/node_modules/@allyhub-next/runtimes/dist/bundled.d.ts +0 -10
  533. package/dist/node_modules/@allyhub-next/runtimes/dist/bundled.js +0 -2
  534. package/dist/node_modules/@allyhub-next/runtimes/dist/download.d.ts +0 -33
  535. package/dist/node_modules/@allyhub-next/runtimes/dist/download.js +0 -2
  536. package/dist/node_modules/@allyhub-next/runtimes/dist/index.d.ts +0 -10
  537. package/dist/node_modules/@allyhub-next/runtimes/dist/index.js +0 -2
  538. package/dist/node_modules/@allyhub-next/runtimes/dist/manifest.d.ts +0 -3
  539. package/dist/node_modules/@allyhub-next/runtimes/dist/manifest.js +0 -2
  540. package/dist/node_modules/@allyhub-next/runtimes/dist/node-program.d.ts +0 -3
  541. package/dist/node_modules/@allyhub-next/runtimes/dist/node-program.js +0 -2
  542. package/dist/node_modules/@allyhub-next/runtimes/dist/packages.d.ts +0 -82
  543. package/dist/node_modules/@allyhub-next/runtimes/dist/packages.js +0 -4
  544. package/dist/node_modules/@allyhub-next/runtimes/dist/runtimes.d.ts +0 -72
  545. package/dist/node_modules/@allyhub-next/runtimes/dist/runtimes.js +0 -4
  546. package/dist/node_modules/@allyhub-next/runtimes/manifest.json +0 -469
  547. package/dist/node_modules/@allyhub-next/runtimes/package.json +0 -18
  548. package/dist/node_modules/@allyhub-next/runtimes/pins/onnxruntime-node/package-lock.json +0 -227
  549. package/dist/node_modules/@allyhub-next/runtimes/pins/onnxruntime-node/package.json +0 -8
  550. package/dist/node_modules/@allyhub-next/runtimes/pins/sherpa-onnx-node/package-lock.json +0 -105
  551. package/dist/node_modules/@allyhub-next/runtimes/pins/sherpa-onnx-node/package.json +0 -8
  552. package/dist/node_modules/@allyhub-next/runtimes/pins/tesseract.js/package-lock.json +0 -128
  553. package/dist/node_modules/@allyhub-next/runtimes/pins/tesseract.js/package.json +0 -9
  554. package/dist/node_modules/@allyhub-next/scenery/dist/define.d.ts +0 -164
  555. package/dist/node_modules/@allyhub-next/scenery/dist/define.js +0 -2
  556. package/dist/node_modules/@allyhub-next/scenery/package.json +0 -13
  557. package/dist/node_modules/@allyhub-next/sheet/dist/api/capabilities.js +0 -2
  558. package/dist/node_modules/@allyhub-next/sheet/dist/api/charts.d.ts +0 -204
  559. package/dist/node_modules/@allyhub-next/sheet/dist/api/charts.js +0 -2
  560. package/dist/node_modules/@allyhub-next/sheet/dist/api/code.d.ts +0 -19
  561. package/dist/node_modules/@allyhub-next/sheet/dist/api/code.js +0 -2
  562. package/dist/node_modules/@allyhub-next/sheet/dist/api/page.d.ts +0 -83
  563. package/dist/node_modules/@allyhub-next/sheet/dist/api/page.js +0 -2
  564. package/dist/node_modules/@allyhub-next/sheet/dist/api/rules.d.ts +0 -170
  565. package/dist/node_modules/@allyhub-next/sheet/dist/api/rules.js +0 -2
  566. package/dist/node_modules/@allyhub-next/sheet/dist/api/styles.d.ts +0 -117
  567. package/dist/node_modules/@allyhub-next/sheet/dist/api/styles.js +0 -2
  568. package/dist/node_modules/@allyhub-next/sheet/dist/api/workbook.d.ts +0 -362
  569. package/dist/node_modules/@allyhub-next/sheet/dist/api/workbook.js +0 -2
  570. package/dist/node_modules/@allyhub-next/sheet/dist/arrange.d.ts +0 -68
  571. package/dist/node_modules/@allyhub-next/sheet/dist/calc/server.d.ts +0 -82
  572. package/dist/node_modules/@allyhub-next/sheet/dist/chart.d.ts +0 -58
  573. package/dist/node_modules/@allyhub-next/sheet/dist/chart.js +0 -2
  574. package/dist/node_modules/@allyhub-next/sheet/dist/diff.js +0 -2
  575. package/dist/node_modules/@allyhub-next/sheet/dist/edit.d.ts +0 -154
  576. package/dist/node_modules/@allyhub-next/sheet/dist/export.js +0 -5
  577. package/dist/node_modules/@allyhub-next/sheet/dist/file.d.ts +0 -19
  578. package/dist/node_modules/@allyhub-next/sheet/dist/file.js +0 -3
  579. package/dist/node_modules/@allyhub-next/sheet/dist/files.d.ts +0 -24
  580. package/dist/node_modules/@allyhub-next/sheet/dist/files.js +0 -2
  581. package/dist/node_modules/@allyhub-next/sheet/dist/generated.d.ts +0 -46
  582. package/dist/node_modules/@allyhub-next/sheet/dist/generated.js +0 -2
  583. package/dist/node_modules/@allyhub-next/sheet/dist/import.d.ts +0 -11
  584. package/dist/node_modules/@allyhub-next/sheet/dist/import.js +0 -2
  585. package/dist/node_modules/@allyhub-next/sheet/dist/index.d.ts +0 -42
  586. package/dist/node_modules/@allyhub-next/sheet/dist/index.js +0 -2
  587. package/dist/node_modules/@allyhub-next/sheet/dist/inspect.d.ts +0 -25
  588. package/dist/node_modules/@allyhub-next/sheet/dist/paginate.d.ts +0 -98
  589. package/dist/node_modules/@allyhub-next/sheet/dist/patch.d.ts +0 -4
  590. package/dist/node_modules/@allyhub-next/sheet/dist/patch.js +0 -2
  591. package/dist/node_modules/@allyhub-next/sheet/dist/structure.d.ts +0 -38
  592. package/dist/node_modules/@allyhub-next/sheet/dist/table-style.d.ts +0 -32
  593. package/dist/node_modules/@allyhub-next/sheet/dist/validate.d.ts +0 -26
  594. package/dist/node_modules/@allyhub-next/sheet/dist/validate.js +0 -2
  595. package/dist/node_modules/@allyhub-next/sheet/dist/workbook.d.ts +0 -324
  596. package/dist/node_modules/@allyhub-next/sheet/dist/workbook.js +0 -2
  597. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/charts.d.ts +0 -53
  598. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/charts.js +0 -2
  599. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/import.d.ts +0 -49
  600. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/import.js +0 -2
  601. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/read.d.ts +0 -159
  602. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/read.js +0 -3
  603. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/write.js +0 -2
  604. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/zip.d.ts +0 -40
  605. package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/zip.js +0 -2
  606. package/dist/node_modules/@allyhub-next/sheet/package.json +0 -21
  607. package/dist/node_modules/@allyhub-next/slides-core/dist/animation.d.ts +0 -129
  608. package/dist/node_modules/@allyhub-next/slides-core/dist/animation.js +0 -2
  609. package/dist/node_modules/@allyhub-next/slides-core/dist/api.d.ts +0 -726
  610. package/dist/node_modules/@allyhub-next/slides-core/dist/api.js +0 -4
  611. package/dist/node_modules/@allyhub-next/slides-core/dist/capabilities.js +0 -2
  612. package/dist/node_modules/@allyhub-next/slides-core/dist/chart-api.d.ts +0 -202
  613. package/dist/node_modules/@allyhub-next/slides-core/dist/chart-api.js +0 -2
  614. package/dist/node_modules/@allyhub-next/slides-core/dist/chart-file.d.ts +0 -11
  615. package/dist/node_modules/@allyhub-next/slides-core/dist/chart-file.js +0 -2
  616. package/dist/node_modules/@allyhub-next/slides-core/dist/code.d.ts +0 -33
  617. package/dist/node_modules/@allyhub-next/slides-core/dist/code.js +0 -2
  618. package/dist/node_modules/@allyhub-next/slides-core/dist/file.d.ts +0 -131
  619. package/dist/node_modules/@allyhub-next/slides-core/dist/file.js +0 -4
  620. package/dist/node_modules/@allyhub-next/slides-core/dist/index.d.ts +0 -26
  621. package/dist/node_modules/@allyhub-next/slides-core/dist/index.js +0 -2
  622. package/dist/node_modules/@allyhub-next/slides-core/dist/measure.d.ts +0 -34
  623. package/dist/node_modules/@allyhub-next/slides-core/dist/measure.js +0 -2
  624. package/dist/node_modules/@allyhub-next/slides-core/dist/merge.d.ts +0 -58
  625. package/dist/node_modules/@allyhub-next/slides-core/dist/merge.js +0 -2
  626. package/dist/node_modules/@allyhub-next/slides-core/dist/model.d.ts +0 -309
  627. package/dist/node_modules/@allyhub-next/slides-core/dist/office.d.ts +0 -84
  628. package/dist/node_modules/@allyhub-next/slides-core/dist/path.d.ts +0 -6
  629. package/dist/node_modules/@allyhub-next/slides-core/dist/resolve.d.ts +0 -202
  630. package/dist/node_modules/@allyhub-next/slides-core/dist/resolve.js +0 -2
  631. package/dist/node_modules/@allyhub-next/slides-core/dist/script.d.ts +0 -45
  632. package/dist/node_modules/@allyhub-next/slides-core/dist/script.js +0 -3
  633. package/dist/node_modules/@allyhub-next/slides-core/dist/stage.d.ts +0 -61
  634. package/dist/node_modules/@allyhub-next/slides-core/dist/strict.d.ts +0 -7
  635. package/dist/node_modules/@allyhub-next/slides-core/dist/strict.js +0 -2
  636. package/dist/node_modules/@allyhub-next/slides-core/dist/theme.d.ts +0 -72
  637. package/dist/node_modules/@allyhub-next/slides-core/dist/units.d.ts +0 -62
  638. package/dist/node_modules/@allyhub-next/slides-core/dist/units.js +0 -2
  639. package/dist/node_modules/@allyhub-next/slides-core/package.json +0 -14
  640. package/dist/node_modules/@allyhub-next/video-core/dist/anchors.d.ts +0 -164
  641. package/dist/node_modules/@allyhub-next/video-core/dist/audio-types.d.ts +0 -148
  642. package/dist/node_modules/@allyhub-next/video-core/dist/captions.d.ts +0 -122
  643. package/dist/node_modules/@allyhub-next/video-core/dist/captions.js +0 -11
  644. package/dist/node_modules/@allyhub-next/video-core/dist/contrast.d.ts +0 -98
  645. package/dist/node_modules/@allyhub-next/video-core/dist/cut-report.d.ts +0 -77
  646. package/dist/node_modules/@allyhub-next/video-core/dist/cut-report.js +0 -2
  647. package/dist/node_modules/@allyhub-next/video-core/dist/edits.d.ts +0 -163
  648. package/dist/node_modules/@allyhub-next/video-core/dist/edits.js +0 -2
  649. package/dist/node_modules/@allyhub-next/video-core/dist/export.d.ts +0 -97
  650. package/dist/node_modules/@allyhub-next/video-core/dist/export.js +0 -2
  651. package/dist/node_modules/@allyhub-next/video-core/dist/fact.d.ts +0 -1179
  652. package/dist/node_modules/@allyhub-next/video-core/dist/fact.js +0 -2
  653. package/dist/node_modules/@allyhub-next/video-core/dist/footage-motion.d.ts +0 -168
  654. package/dist/node_modules/@allyhub-next/video-core/dist/footage-motion.js +0 -2
  655. package/dist/node_modules/@allyhub-next/video-core/dist/formats.d.ts +0 -205
  656. package/dist/node_modules/@allyhub-next/video-core/dist/formats.js +0 -2
  657. package/dist/node_modules/@allyhub-next/video-core/dist/gen.d.ts +0 -37
  658. package/dist/node_modules/@allyhub-next/video-core/dist/gen.js +0 -2
  659. package/dist/node_modules/@allyhub-next/video-core/dist/index.d.ts +0 -40
  660. package/dist/node_modules/@allyhub-next/video-core/dist/index.js +0 -2
  661. package/dist/node_modules/@allyhub-next/video-core/dist/look.d.ts +0 -66
  662. package/dist/node_modules/@allyhub-next/video-core/dist/measure.d.ts +0 -558
  663. package/dist/node_modules/@allyhub-next/video-core/dist/measure.js +0 -5
  664. package/dist/node_modules/@allyhub-next/video-core/dist/media.d.ts +0 -226
  665. package/dist/node_modules/@allyhub-next/video-core/dist/media.js +0 -2
  666. package/dist/node_modules/@allyhub-next/video-core/dist/messages.d.ts +0 -88
  667. package/dist/node_modules/@allyhub-next/video-core/dist/motion.d.ts +0 -56
  668. package/dist/node_modules/@allyhub-next/video-core/dist/piece.d.ts +0 -1154
  669. package/dist/node_modules/@allyhub-next/video-core/dist/piece.js +0 -2
  670. package/dist/node_modules/@allyhub-next/video-core/dist/placement.d.ts +0 -37
  671. package/dist/node_modules/@allyhub-next/video-core/dist/problem.d.ts +0 -278
  672. package/dist/node_modules/@allyhub-next/video-core/dist/problem.js +0 -2
  673. package/dist/node_modules/@allyhub-next/video-core/dist/schema.d.ts +0 -350
  674. package/dist/node_modules/@allyhub-next/video-core/dist/schema.js +0 -2
  675. package/dist/node_modules/@allyhub-next/video-core/dist/script-edit.d.ts +0 -180
  676. package/dist/node_modules/@allyhub-next/video-core/dist/script-edit.js +0 -2
  677. package/dist/node_modules/@allyhub-next/video-core/dist/script.d.ts +0 -76
  678. package/dist/node_modules/@allyhub-next/video-core/dist/script.js +0 -2
  679. package/dist/node_modules/@allyhub-next/video-core/dist/seams.d.ts +0 -214
  680. package/dist/node_modules/@allyhub-next/video-core/dist/sound-under.d.ts +0 -72
  681. package/dist/node_modules/@allyhub-next/video-core/dist/sound-under.js +0 -2
  682. package/dist/node_modules/@allyhub-next/video-core/dist/source.d.ts +0 -7
  683. package/dist/node_modules/@allyhub-next/video-core/dist/speech.d.ts +0 -83
  684. package/dist/node_modules/@allyhub-next/video-core/dist/speech.js +0 -5
  685. package/dist/node_modules/@allyhub-next/video-core/dist/timeline.d.ts +0 -626
  686. package/dist/node_modules/@allyhub-next/video-core/dist/timeline.js +0 -2
  687. package/dist/node_modules/@allyhub-next/video-core/dist/timing.d.ts +0 -88
  688. package/dist/node_modules/@allyhub-next/video-core/dist/timing.js +0 -2
  689. package/dist/node_modules/@allyhub-next/video-core/dist/transcript.d.ts +0 -288
  690. package/dist/node_modules/@allyhub-next/video-core/dist/transcript.js +0 -2
  691. package/dist/node_modules/@allyhub-next/video-core/dist/transition.d.ts +0 -289
  692. package/dist/node_modules/@allyhub-next/video-core/dist/transition.js +0 -2
  693. package/dist/node_modules/@allyhub-next/video-core/dist/voice.d.ts +0 -175
  694. package/dist/node_modules/@allyhub-next/video-core/package.json +0 -14
  695. package/dist/parts.d.ts +0 -216
  696. package/dist/parts.js +0 -2
  697. package/dist/phone.d.ts +0 -26
  698. package/dist/phone.js +0 -2
  699. package/dist/piece.d.ts +0 -110
  700. package/dist/piece.js +0 -2
  701. package/dist/props.d.ts +0 -124
  702. package/dist/written.js +0 -2
  703. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/LICENSE +0 -0
  704. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/at-cut.d.ts +0 -0
  705. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/at-cut.js +0 -0
  706. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/decode.d.ts +0 -0
  707. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/decode.js +0 -0
  708. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/envelope.d.ts +0 -0
  709. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/envelope.js +0 -0
  710. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/index.d.ts +0 -0
  711. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/index.js +0 -0
  712. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/master.d.ts +0 -0
  713. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/master.js +0 -0
  714. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/music.d.ts +0 -0
  715. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/music.js +0 -0
  716. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/node/decode.d.ts +0 -0
  717. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/node/decode.js +0 -0
  718. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/node/ebur128.d.ts +0 -0
  719. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/node/ebur128.js +0 -0
  720. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/node/index.d.ts +0 -0
  721. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/node/index.js +0 -0
  722. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/node/loudness.d.ts +0 -0
  723. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/node/loudness.js +0 -0
  724. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/node/master.d.ts +0 -0
  725. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/node/master.js +0 -0
  726. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/node/measure.d.ts +0 -0
  727. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/node/measure.js +0 -0
  728. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/node/mix.d.ts +0 -0
  729. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/node/mix.js +0 -0
  730. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/plan.d.ts +0 -0
  731. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/plan.js +0 -0
  732. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recorded.d.ts +0 -0
  733. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recorded.js +0 -0
  734. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/bandwidth.d.ts +0 -0
  735. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/bandwidth.js +0 -0
  736. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/chain.d.ts +0 -0
  737. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/chain.js +0 -0
  738. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/dynamics.d.ts +0 -0
  739. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/dynamics.js +0 -0
  740. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/fft.d.ts +0 -0
  741. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/fft.js +0 -0
  742. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/filters.d.ts +0 -0
  743. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/filters.js +0 -0
  744. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/fit.d.ts +0 -0
  745. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/fit.js +0 -0
  746. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/index.d.ts +0 -0
  747. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/index.js +0 -0
  748. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/loudness.d.ts +0 -0
  749. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/loudness.js +0 -0
  750. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/measure.d.ts +0 -0
  751. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/measure.js +0 -0
  752. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/mic.d.ts +0 -0
  753. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/mic.js +0 -0
  754. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/noise.d.ts +0 -0
  755. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/noise.js +0 -0
  756. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/presets.d.ts +0 -0
  757. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/presets.js +0 -0
  758. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/room.d.ts +0 -0
  759. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/room.js +0 -0
  760. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/setup.d.ts +0 -0
  761. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/setup.js +0 -0
  762. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/vec.d.ts +0 -0
  763. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/recording/vec.js +0 -0
  764. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/render.d.ts +0 -0
  765. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/render.js +0 -0
  766. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/sfx.d.ts +0 -0
  767. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/sfx.js +0 -0
  768. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/shape.d.ts +0 -0
  769. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/shape.js +0 -0
  770. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/voice.d.ts +0 -0
  771. /package/dist/node_modules/{@allyhub-next → @allyhub}/audio/dist/voice.js +0 -0
  772. /package/dist/node_modules/{@allyhub-next → @allyhub}/chart/LICENSE +0 -0
  773. /package/dist/node_modules/{@allyhub-next/formats → @allyhub/diagnostics}/LICENSE +0 -0
  774. /package/dist/node_modules/{@allyhub-next/ooxml → @allyhub/formats}/LICENSE +0 -0
  775. /package/dist/node_modules/{@allyhub-next/sheet → @allyhub/formats}/dist/csv.d.ts +0 -0
  776. /package/dist/node_modules/{@allyhub-next/sheet → @allyhub/formats}/dist/csv.js +0 -0
  777. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/config.d.ts +0 -0
  778. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/config.js +0 -0
  779. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/deck-code.d.ts +0 -0
  780. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/deck-code.js +0 -0
  781. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/edits.d.ts +0 -0
  782. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/edits.js +0 -0
  783. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/elements.d.ts +0 -0
  784. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/elements.js +0 -0
  785. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/faces.js +0 -0
  786. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/file.d.ts +0 -0
  787. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/file.js +0 -0
  788. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/gen.d.ts +0 -0
  789. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/gen.js +0 -0
  790. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/messages.d.ts +0 -0
  791. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/messages.js +0 -0
  792. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/words.d.ts +0 -0
  793. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/data/words.js +0 -0
  794. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/media-type.d.ts +0 -0
  795. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/media-type.js +0 -0
  796. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/note-shape.d.ts +0 -0
  797. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/note-shape.js +0 -0
  798. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/strict.d.ts +0 -0
  799. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/strict.js +0 -0
  800. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/zip.d.ts +0 -0
  801. /package/dist/node_modules/{@allyhub-next → @allyhub}/formats/dist/zip.js +0 -0
  802. /package/dist/node_modules/{@allyhub-next/protocol → @allyhub/image-draw}/LICENSE +0 -0
  803. /package/dist/node_modules/{@allyhub-next/runtimes → @allyhub/image-measure}/LICENSE +0 -0
  804. /package/dist/node_modules/{@allyhub-next/scenery → @allyhub/image-sdk}/LICENSE +0 -0
  805. /package/dist/{fit.d.ts → node_modules/@allyhub/image-sdk/dist/fit.d.ts} +0 -0
  806. /package/dist/{fit.js → node_modules/@allyhub/image-sdk/dist/fit.js} +0 -0
  807. /package/dist/{messages.js → node_modules/@allyhub/image-sdk/dist/messages.js} +0 -0
  808. /package/dist/{props.js → node_modules/@allyhub/image-sdk/dist/props.js} +0 -0
  809. /package/dist/{text.d.ts → node_modules/@allyhub/image-sdk/dist/text.d.ts} +0 -0
  810. /package/dist/{text.js → node_modules/@allyhub/image-sdk/dist/text.js} +0 -0
  811. /package/dist/{written.d.ts → node_modules/@allyhub/image-sdk/dist/written.d.ts} +0 -0
  812. /package/dist/node_modules/{@allyhub-next/sheet → @allyhub/measure}/LICENSE +0 -0
  813. /package/dist/node_modules/{@allyhub-next/slides-core → @allyhub/ooxml}/LICENSE +0 -0
  814. /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/brightness.d.ts +0 -0
  815. /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/brightness.js +0 -0
  816. /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/color.d.ts +0 -0
  817. /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/color.js +0 -0
  818. /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/enums.d.ts +0 -0
  819. /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/enums.js +0 -0
  820. /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/ext.d.ts +0 -0
  821. /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/ext.js +0 -0
  822. /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/generated/enums.d.ts +0 -0
  823. /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/generated/enums.js +0 -0
  824. /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/generated/spec.d.ts +0 -0
  825. /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/generated/spec.js +0 -0
  826. /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/index.d.ts +0 -0
  827. /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/index.js +0 -0
  828. /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/mce.d.ts +0 -0
  829. /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/mce.js +0 -0
  830. /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/node.d.ts +0 -0
  831. /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/node.js +0 -0
  832. /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/ns.d.ts +0 -0
  833. /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/ns.js +0 -0
  834. /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/opc.d.ts +0 -0
  835. /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/opc.js +0 -0
  836. /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/report.d.ts +0 -0
  837. /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/report.js +0 -0
  838. /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/xml.d.ts +0 -0
  839. /package/dist/node_modules/{@allyhub-next → @allyhub}/ooxml/dist/xml.js +0 -0
  840. /package/dist/node_modules/{@allyhub-next/video-core → @allyhub/piece}/LICENSE +0 -0
  841. /package/dist/node_modules/{@allyhub-next/video-core → @allyhub/piece}/dist/anchors.js +0 -0
  842. /package/dist/node_modules/{@allyhub-next/video-core → @allyhub/piece}/dist/console.d.ts +0 -0
  843. /package/dist/node_modules/{@allyhub-next/video-core → @allyhub/piece}/dist/console.js +0 -0
  844. /package/dist/node_modules/{@allyhub-next/slides-core/dist/model.js → @allyhub/piece/dist/context.js} +0 -0
  845. /package/dist/node_modules/{@allyhub-next/video-core → @allyhub/piece}/dist/contrast.js +0 -0
  846. /package/dist/node_modules/{@allyhub-next/video-core → @allyhub/piece}/dist/look.js +0 -0
  847. /package/dist/node_modules/{@allyhub-next/video-core → @allyhub/piece}/dist/marks.d.ts +0 -0
  848. /package/dist/node_modules/{@allyhub-next/video-core → @allyhub/piece}/dist/marks.js +0 -0
  849. /package/dist/node_modules/{@allyhub-next/video-core → @allyhub/piece}/dist/matrix.d.ts +0 -0
  850. /package/dist/node_modules/{@allyhub-next/video-core → @allyhub/piece}/dist/matrix.js +0 -0
  851. /package/dist/node_modules/{@allyhub-next/video-core → @allyhub/piece}/dist/messages.js +0 -0
  852. /package/dist/node_modules/{@allyhub-next/video-core → @allyhub/piece}/dist/source.js +0 -0
  853. /package/dist/node_modules/{@allyhub-next/video-core → @allyhub/piece}/dist/voice.js +0 -0
  854. /package/dist/node_modules/{@allyhub-next/video-core → @allyhub/piece}/dist/words.d.ts +0 -0
  855. /package/dist/node_modules/{@allyhub-next/video-core → @allyhub/piece}/dist/words.js +0 -0
  856. /package/dist/node_modules/{@allyhub-next → @allyhub}/protocol/dist/blobs.d.ts +0 -0
  857. /package/dist/node_modules/{@allyhub-next → @allyhub}/protocol/dist/blobs.js +0 -0
  858. /package/dist/node_modules/{@allyhub-next → @allyhub}/protocol/dist/jsonrpc.d.ts +0 -0
  859. /package/dist/node_modules/{@allyhub-next → @allyhub}/protocol/dist/jsonrpc.js +0 -0
  860. /package/dist/node_modules/{@allyhub-next → @allyhub}/protocol/dist/open.d.ts +0 -0
  861. /package/dist/node_modules/{@allyhub-next → @allyhub}/protocol/dist/open.js +0 -0
  862. /package/dist/node_modules/{@allyhub-next → @allyhub}/protocol/dist/routes.d.ts +0 -0
  863. /package/dist/node_modules/{@allyhub-next → @allyhub}/protocol/dist/runtimes.d.ts +0 -0
  864. /package/dist/node_modules/{@allyhub-next → @allyhub}/protocol/dist/runtimes.js +0 -0
  865. /package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/dist/errors.d.ts +0 -0
  866. /package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/dist/errors.js +0 -0
  867. /package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/dist/home.d.ts +0 -0
  868. /package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/dist/home.js +0 -0
  869. /package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/dist/lock.d.ts +0 -0
  870. /package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/dist/lock.js +0 -0
  871. /package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/dist/unpack.d.ts +0 -0
  872. /package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/dist/unpack.js +0 -0
  873. /package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/pins/docx/package-lock.json +0 -0
  874. /package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/pins/docx/package.json +0 -0
  875. /package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/pins/gltf-tools/package-lock.json +0 -0
  876. /package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/pins/gltf-tools/package.json +0 -0
  877. /package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/pins/manifold-3d/package-lock.json +0 -0
  878. /package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/pins/manifold-3d/package.json +0 -0
  879. /package/dist/node_modules/{@allyhub-next → @allyhub}/runtimes/schemas/runtimes.schema.json +0 -0
  880. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/NOTICE +0 -0
  881. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/aim.d.ts +0 -0
  882. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/aim.js +0 -0
  883. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/bake.d.ts +0 -0
  884. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/bake.js +0 -0
  885. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/camera.d.ts +0 -0
  886. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/camera.js +0 -0
  887. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/curve.d.ts +0 -0
  888. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/curve.js +0 -0
  889. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/fit.d.ts +0 -0
  890. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/fit.js +0 -0
  891. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/glass.d.ts +0 -0
  892. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/glass.js +0 -0
  893. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/handheld.d.ts +0 -0
  894. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/handheld.js +0 -0
  895. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/hull.d.ts +0 -0
  896. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/hull.js +0 -0
  897. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/index.d.ts +0 -0
  898. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/index.js +0 -0
  899. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/lens.d.ts +0 -0
  900. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/lens.js +0 -0
  901. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/moire.d.ts +0 -0
  902. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/moire.js +0 -0
  903. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/motion.d.ts +0 -0
  904. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/motion.js +0 -0
  905. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/move.d.ts +0 -0
  906. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/move.js +0 -0
  907. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/noise.d.ts +0 -0
  908. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/noise.js +0 -0
  909. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/phone.d.ts +0 -0
  910. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/phone.js +0 -0
  911. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/report.d.ts +0 -0
  912. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/report.js +0 -0
  913. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/screen-focus.d.ts +0 -0
  914. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/screen-focus.js +0 -0
  915. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/screen.d.ts +0 -0
  916. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/screen.js +0 -0
  917. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/solve.d.ts +0 -0
  918. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/solve.js +0 -0
  919. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/timing.d.ts +0 -0
  920. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/timing.js +0 -0
  921. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/vec.d.ts +0 -0
  922. /package/dist/node_modules/{@allyhub-next → @allyhub}/scenery/dist/vec.js +0 -0
  923. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/address.d.ts +0 -0
  924. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/address.js +0 -0
  925. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/api/capabilities.d.ts +0 -0
  926. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/api/hint.d.ts +0 -0
  927. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/api/hint.js +0 -0
  928. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/api/index.d.ts +0 -0
  929. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/api/index.js +0 -0
  930. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/api/rectangles.d.ts +0 -0
  931. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/api/rectangles.js +0 -0
  932. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/arrange.js +0 -0
  933. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/analyse.d.ts +0 -0
  934. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/analyse.js +0 -0
  935. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/coerce.d.ts +0 -0
  936. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/coerce.js +0 -0
  937. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/engine.d.ts +0 -0
  938. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/engine.js +0 -0
  939. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/aggregate.d.ts +0 -0
  940. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/aggregate.js +0 -0
  941. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/convert.d.ts +0 -0
  942. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/convert.js +0 -0
  943. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/criteria.d.ts +0 -0
  944. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/criteria.js +0 -0
  945. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/database.d.ts +0 -0
  946. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/database.js +0 -0
  947. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/date.d.ts +0 -0
  948. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/date.js +0 -0
  949. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/define.d.ts +0 -0
  950. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/define.js +0 -0
  951. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/delimiters.d.ts +0 -0
  952. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/delimiters.js +0 -0
  953. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/distributions.d.ts +0 -0
  954. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/distributions.js +0 -0
  955. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/dynamic.d.ts +0 -0
  956. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/dynamic.js +0 -0
  957. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/finance.d.ts +0 -0
  958. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/finance.js +0 -0
  959. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/index.d.ts +0 -0
  960. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/index.js +0 -0
  961. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/info.d.ts +0 -0
  962. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/info.js +0 -0
  963. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/kernels.d.ts +0 -0
  964. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/kernels.js +0 -0
  965. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/logical.d.ts +0 -0
  966. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/logical.js +0 -0
  967. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/lookup.d.ts +0 -0
  968. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/lookup.js +0 -0
  969. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/maths.d.ts +0 -0
  970. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/maths.js +0 -0
  971. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/modern.d.ts +0 -0
  972. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/modern.js +0 -0
  973. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/special.d.ts +0 -0
  974. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/special.js +0 -0
  975. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/text.d.ts +0 -0
  976. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/functions/text.js +0 -0
  977. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/graph.d.ts +0 -0
  978. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/graph.js +0 -0
  979. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/indexes.d.ts +0 -0
  980. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/indexes.js +0 -0
  981. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/remote.d.ts +0 -0
  982. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/remote.js +0 -0
  983. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/server.js +0 -0
  984. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/types.d.ts +0 -0
  985. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/calc/types.js +0 -0
  986. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/check.d.ts +0 -0
  987. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/check.js +0 -0
  988. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/diff.d.ts +0 -0
  989. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/edit.js +0 -0
  990. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/export.d.ts +0 -0
  991. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/fill.d.ts +0 -0
  992. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/fill.js +0 -0
  993. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/filter.d.ts +0 -0
  994. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/filter.js +0 -0
  995. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/format.d.ts +0 -0
  996. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/format.js +0 -0
  997. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/formula/ast.d.ts +0 -0
  998. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/formula/ast.js +0 -0
  999. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/formula/move.d.ts +0 -0
  1000. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/formula/move.js +0 -0
  1001. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/formula/parse.d.ts +0 -0
  1002. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/formula/parse.js +0 -0
  1003. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/formula/print.d.ts +0 -0
  1004. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/formula/print.js +0 -0
  1005. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/formula/rewrite.d.ts +0 -0
  1006. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/formula/rewrite.js +0 -0
  1007. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/formula/walk.d.ts +0 -0
  1008. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/formula/walk.js +0 -0
  1009. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/html.d.ts +0 -0
  1010. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/html.js +0 -0
  1011. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/inspect.js +0 -0
  1012. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/paginate.js +0 -0
  1013. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/profile.d.ts +0 -0
  1014. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/profile.js +0 -0
  1015. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/rules.d.ts +0 -0
  1016. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/rules.js +0 -0
  1017. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/scenario.d.ts +0 -0
  1018. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/scenario.js +0 -0
  1019. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/series.d.ts +0 -0
  1020. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/series.js +0 -0
  1021. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/sort.d.ts +0 -0
  1022. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/sort.js +0 -0
  1023. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/structure.js +0 -0
  1024. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/table-style.js +0 -0
  1025. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/table-styles.d.ts +0 -0
  1026. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/table-styles.js +0 -0
  1027. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/values.d.ts +0 -0
  1028. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/values.js +0 -0
  1029. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/write.d.ts +0 -0
  1030. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/write.js +0 -0
  1031. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/colors.d.ts +0 -0
  1032. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/colors.js +0 -0
  1033. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/formula.d.ts +0 -0
  1034. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/formula.js +0 -0
  1035. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/functions.d.ts +0 -0
  1036. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/functions.js +0 -0
  1037. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/index.d.ts +0 -0
  1038. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/index.js +0 -0
  1039. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/numfmt.d.ts +0 -0
  1040. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/numfmt.js +0 -0
  1041. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/sax.d.ts +0 -0
  1042. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/sax.js +0 -0
  1043. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/styles.d.ts +0 -0
  1044. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/styles.js +0 -0
  1045. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/theme.d.ts +0 -0
  1046. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/theme.js +0 -0
  1047. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/write.d.ts +0 -0
  1048. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/xml.d.ts +0 -0
  1049. /package/dist/node_modules/{@allyhub-next → @allyhub}/sheet/dist/xlsx/xml.js +0 -0
  1050. /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/capabilities.d.ts +0 -0
  1051. /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/check.d.ts +0 -0
  1052. /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/check.js +0 -0
  1053. /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/components.d.ts +0 -0
  1054. /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/components.js +0 -0
  1055. /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/enums.d.ts +0 -0
  1056. /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/enums.js +0 -0
  1057. /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/identity.d.ts +0 -0
  1058. /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/identity.js +0 -0
  1059. /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/lang.d.ts +0 -0
  1060. /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/lang.js +0 -0
  1061. /package/dist/node_modules/{@allyhub-next/slides-core/dist/stage.js → @allyhub/slides-core/dist/model.js} +0 -0
  1062. /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/office.js +0 -0
  1063. /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/path.js +0 -0
  1064. /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/placeholders.d.ts +0 -0
  1065. /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/placeholders.js +0 -0
  1066. /package/dist/node_modules/{@allyhub-next/video-core/dist/render-types.js → @allyhub/slides-core/dist/stage.js} +0 -0
  1067. /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/theme.js +0 -0
  1068. /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/values.d.ts +0 -0
  1069. /package/dist/node_modules/{@allyhub-next → @allyhub}/slides-core/dist/values.js +0 -0
  1070. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/audio-types.js +0 -0
  1071. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/backdrop.d.ts +0 -0
  1072. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/backdrop.js +0 -0
  1073. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/edit.d.ts +0 -0
  1074. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/edit.js +0 -0
  1075. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/motion.js +0 -0
  1076. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/music.d.ts +0 -0
  1077. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/music.js +0 -0
  1078. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/placement.js +0 -0
  1079. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/render-types.d.ts +0 -0
  1080. /package/dist/node_modules/{@allyhub-next → @allyhub}/video-core/dist/seams.js +0 -0
  1081. /package/dist/{anim.d.ts → node_modules/@allyhub/video-sdk/dist/anim.d.ts} +0 -0
  1082. /package/dist/{anim.js → node_modules/@allyhub/video-sdk/dist/anim.js} +0 -0
  1083. /package/dist/{noise.d.ts → node_modules/@allyhub/video-sdk/dist/noise.d.ts} +0 -0
  1084. /package/dist/{noise.js → node_modules/@allyhub/video-sdk/dist/noise.js} +0 -0
  1085. /package/dist/{paths.d.ts → node_modules/@allyhub/video-sdk/dist/paths.d.ts} +0 -0
  1086. /package/dist/{paths.js → node_modules/@allyhub/video-sdk/dist/paths.js} +0 -0
@@ -0,0 +1,151 @@
1
+ import { type Adjustment, type Effects, type GraphicLayer, type LayerMask, type LayerTransform, type MediaInfo, type MediaRef, type StageContext } from "@allyhub/piece";
2
+ /** A box in the frame's pixels: x, y, width, height. */
3
+ export type PxBox = readonly [x: number, y: number, w: number, h: number];
4
+ /** A name for an SVG resource, unique in its document, in the order they are made. */
5
+ export declare function nextId(doc: Document, what: string): string;
6
+ /**
7
+ * The SVG defs a layer's resources go in, made once: its board's, or the
8
+ * stage's that holds its part. Never inside the part, which is hidden
9
+ * between moments: Chrome draws an element an feImage names only while it
10
+ * is shown.
11
+ */
12
+ export declare function defsOf(el: Element): SVGDefsElement;
13
+ /** A layer's own box, the frame's pixels: its `box` (shares) where it has one, else the frame. */
14
+ export declare function boxOf(layer: GraphicLayer, frame: {
15
+ width: number;
16
+ height: number;
17
+ }): PxBox;
18
+ /** A picture's media, read through the stage (so the output records it): an import by its path, a path from `base`. */
19
+ export declare function mediaOfRef(ref: MediaRef, base: string, ctx: StageContext): MediaInfo | undefined;
20
+ /** Whether a mask written as a string is a picture's path (else CSS, or "ellipse"). */
21
+ export declare const maskIsPath: (m: string) => boolean;
22
+ /** An adjustment's filter, for `backdrop-filter`: what it makes of what lies under it. */
23
+ export declare function adjustmentFilter(a: Adjustment, defs: SVGDefsElement): string;
24
+ /**
25
+ * A gradient as SVG paints it over a box: linear (Photoshop's angle,
26
+ * counter-clockwise from left to right), radial (from the box's centre to
27
+ * its farthest corner), or reflected (a linear one mirrored about its
28
+ * middle). Its length is `scale` percent of the box's.
29
+ */
30
+ export declare function svgGradient(doc: Document, id: string, gradient: NonNullable<NonNullable<Effects["gradientOverlay"]>["gradient"]>, box: PxBox): SVGLinearGradientElement | SVGRadialGradientElement;
31
+ export interface EffectsInput {
32
+ readonly fx: Effects;
33
+ readonly fillOpacity: number;
34
+ readonly box: PxBox;
35
+ readonly frame: {
36
+ readonly width: number;
37
+ readonly height: number;
38
+ };
39
+ readonly defs: SVGDefsElement;
40
+ readonly ctx: StageContext;
41
+ /** The folder a pattern's path is from. */
42
+ readonly base: string;
43
+ }
44
+ /**
45
+ * The layer's effects and its fill opacity as one filter (Photoshop's
46
+ * layer style), bottom to top: the drop shadow and the outer glow under
47
+ * what it shows (knocked out where it shows), then the overlays, the
48
+ * satin, the inner glow, the inner shadow and the bevel over it, each
49
+ * cut to what it shows. A stroke is the type or shape layer's own (it
50
+ * draws its glyphs' or path's stroke). Its id, or undefined when it has
51
+ * nothing to draw.
52
+ */
53
+ export declare function effectsFilter(o: EffectsInput): string | undefined;
54
+ export interface MaskInput {
55
+ readonly mask: LayerMask;
56
+ /** Where its source lies when it gives no box, the target's pixels. */
57
+ readonly box: PxBox;
58
+ /** The target's own size, its pixels: what a box in shares is of. */
59
+ readonly frame: {
60
+ readonly width: number;
61
+ readonly height: number;
62
+ };
63
+ readonly defs: SVGDefsElement;
64
+ readonly ctx: StageContext;
65
+ readonly base: string;
66
+ }
67
+ /**
68
+ * Masks an element: CSS's mask-image (a picture's alpha, a gradient) or
69
+ * clip-path (an ellipse) where that is all it asks, else an SVG mask (a
70
+ * path, a picture's luminance, its density, feather and inversion). An
71
+ * error message where it cannot be drawn.
72
+ */
73
+ export declare function applyMask(el: HTMLElement, o: MaskInput): string | undefined;
74
+ /** The CSS transform that turns and flips an element about a box's centre; undefined when it does neither. */
75
+ export declare function transformCss(t: LayerTransform | undefined, box: PxBox): string | undefined;
76
+ export interface StyleInput {
77
+ readonly layer: GraphicLayer;
78
+ readonly ctx: StageContext;
79
+ readonly frame: {
80
+ readonly width: number;
81
+ readonly height: number;
82
+ };
83
+ /** The folder its paths are from. */
84
+ readonly base: string;
85
+ }
86
+ /** The folder a layer's paths are from: its module's, where its function knew it. */
87
+ export declare const baseOf: (layer: GraphicLayer) => string;
88
+ /** The class of a layer's content element: what moves, turns and is masked with it, under its effects and its clipping. */
89
+ export declare const LAYER_CONTENT = "ak-content";
90
+ /**
91
+ * A layer's element made ready for its style before its content mounts:
92
+ * where it is masked, turned, flipped or clipped, an element of its own
93
+ * inside it, which its content mounts in, holds its mask and its turn (and
94
+ * a person's move: what moves with the layer), and the layer's element its
95
+ * effects, blend, opacity and clipping, which Photoshop draws after them.
96
+ * The element to mount its content in.
97
+ */
98
+ export declare function contentOf(el: HTMLElement, layer: GraphicLayer, frame: {
99
+ width: number;
100
+ height: number;
101
+ }): HTMLElement;
102
+ /** Where a layer's content is: its content element where it has one, else itself. */
103
+ export declare const contentEl: (el: HTMLElement) => HTMLElement;
104
+ /** Whether a layer, or a layer in it, is an adjustment: what lies under it in its group must be a backdrop root's. */
105
+ export declare function holdsAdjustment(layer: GraphicLayer): boolean;
106
+ /** Makes an element the root what an adjustment in it reads stops at (CSS's backdrop root), changing nothing it draws. */
107
+ export declare function backdropRoot(el: HTMLElement): void;
108
+ /**
109
+ * Draws a layer's style on its element (its content mounted): blend,
110
+ * opacity, fill opacity and effects, mask; and for a group, its isolation.
111
+ * A picture masks its own box (picture()). Undefined, or why it cannot be
112
+ * drawn.
113
+ */
114
+ export declare function styleLayer(el: HTMLElement, o: StyleInput): string | undefined;
115
+ /**
116
+ * The SVG mask of a clipping base's own shape (Photoshop's clipping mask):
117
+ * a picture's shown pixels, a shape's path, a fill's frame. Its id, or why
118
+ * this base cannot clip.
119
+ */
120
+ export declare function silhouetteOf(base: GraphicLayer, o: {
121
+ frame: {
122
+ width: number;
123
+ height: number;
124
+ };
125
+ defs: SVGDefsElement;
126
+ ctx: StageContext;
127
+ }): {
128
+ id: string;
129
+ } | {
130
+ refused: string;
131
+ };
132
+ /** A layer's element among its siblings, with its spec. */
133
+ export interface Stacked {
134
+ readonly layer: GraphicLayer;
135
+ readonly el: HTMLElement;
136
+ }
137
+ /**
138
+ * Puts clipped layers with their base (Photoshop's clipping groups): each
139
+ * base and the clipped layers over it in an element of their own, isolated
140
+ * with the base's blend and opacity, each clipped layer masked by the
141
+ * base's shape. The layers' elements are siblings, back to front, in their
142
+ * parent. What could not be clipped, each with why.
143
+ */
144
+ export declare function clipStack(stacked: readonly Stacked[], o: {
145
+ frame: {
146
+ width: number;
147
+ height: number;
148
+ };
149
+ ctx: StageContext;
150
+ }): string[];
151
+ //# sourceMappingURL=layer-style.d.ts.map
@@ -0,0 +1,2 @@
1
+ /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
+ import{ADJUSTMENT_DEFAULTS as X,BLEND_DRAWN as _,EFFECT_DEFAULTS as q,LUMA as Z,mediaKindOf as ee,pathIn as te,placePicture as ne,PICTURE_DEFAULTS as se}from"@allyhub/piece";import{strokeOnto as oe}from"./paint.js";import{shapePath as ie}from"./shape-path.js";import{brightnessContrastTable as re,colorBalanceTable as I,compose as B,curveTable as E,exposureTable as ae,gradientTables as ce,identity as R,invertTable as le,levelsTable as D,lightnessTable as de,rgbOf as L,stopsOf as pe,tableValues as P,thresholdTable as ue}from"./tone.js";const fe="http://www.w3.org/2000/svg",W=new WeakMap;export function nextId(t,n){const e=(W.get(t)??0)+1;return W.set(t,e),`ak-${n}-${String(e)}`}function k(t,n,e={},o=[]){const s=t.createElementNS(fe,n);for(const[r,i]of Object.entries(e))s.setAttribute(r,String(i));for(const r of o)s.append(r);return s}export function defsOf(t){const n=t.closest("[data-ak-board]")??t.closest(".ak-part")?.parentElement??t.ownerDocument.body,o=n.querySelector(":scope > svg[data-ak-defs]")?.querySelector("defs");if(o)return o;const s=t.ownerDocument,r=k(s,"svg",{width:0,height:0,"aria-hidden":"true","data-ak-defs":""});r.style.position="absolute",r.style.overflow="hidden";const i=k(s,"defs");return r.append(i),n.prepend(r),i}const a=t=>String(Math.round(t*1e4)/1e4);export function boxOf(t,n){const e=t.props.box;if(Array.isArray(e)&&e.length===4&&e.every(o=>typeof o=="number"&&Number.isFinite(o))){const[o,s,r,i]=e;return[o*n.width,s*n.height,r*n.width,i*n.height]}return[0,0,n.width,n.height]}export function mediaOfRef(t,n,e){if(typeof t!="string"){const s=e.asset(`/${t.path}`);return s.sha256===t.sha256?s:t}const o=te(n,t);return e.asset(o===void 0?t:`/${o}`)}export const maskIsPath=t=>t!=="ellipse"&&ee(t)==="image"&&!t.includes("(");function V(t,n){const e=new Image;e.decoding="sync",e.src=t,n.wait(e.decode().catch(()=>{n.report?.({code:"AK-A005",message:`The picture ${t} a layer's mask, pattern or clipping draws did not load.`})}))}class he{k=0;doc;el;constructor(n,e){this.doc=n,this.el=e}add(n,e,o=[]){const s=`r${String(++this.k)}`;return this.el.append(k(this.doc,n,{...e,result:s},o)),s}transfer(n,e){const o=["R","G","B","A"].flatMap(s=>{const r=e[s];return r?[k(this.doc,`feFunc${s}`,r)]:[]});return this.add("feComponentTransfer",{in:n},o)}tables(n,e,o,s,r="table"){return this.transfer(n,{R:{type:r,tableValues:P(e)},G:{type:r,tableValues:P(o)},B:{type:r,tableValues:P(s)}})}matrix(n,e){return this.add("feColorMatrix",{in:n,type:"matrix",values:e.map(a).join(" ")})}arith(n,e,o,s,r,i=0){return this.add("feComposite",{in:n,in2:e,operator:"arithmetic",k1:a(o),k2:a(s),k3:a(r),k4:a(i)})}composite(n,e,o){return this.add("feComposite",{in:n,in2:e,operator:o})}blend(n,e,o){const s=_[o];return this.add("feBlend",{in:n,in2:e,mode:"css"in s?s.css:"normal"})}flood(n,e){return this.add("feFlood",{"flood-color":n,"flood-opacity":a(e)})}blur(n,e){return e<=0?n:this.add("feGaussianBlur",{in:n,stdDeviation:a(e)})}offset(n,e,o){return e===0&&o===0?n:this.add("feOffset",{in:n,dx:a(e),dy:a(o)})}merge(n){return this.add("feMerge",{},n.map(e=>k(this.doc,"feMergeNode",{in:e})))}sub(n,e){const o={type:"table",tableValues:"1 0"},s=this.transfer(n,{R:o,G:o,B:o}),r=this.arith(s,e,0,1,1);return this.transfer(r,{R:o,G:o,B:o})}add2(n,e,o=1){return this.arith(n,e,0,1,o)}luma(n){const[e,o,s]=Z;return this.matrix(n,[e,o,s,0,0,e,o,s,0,0,e,o,s,0,0,0,0,0,1,0])}channel(n,e){const o=[0,0,0,0,0];return o[e]=1,this.matrix(n,[...o,...o,...o,0,0,0,1,0])}}function H(t,n,e){const o=t.ownerDocument,s=nextId(o,n),r=k(o,"filter",{id:s,"color-interpolation-filters":"sRGB",...e?{filterUnits:"userSpaceOnUse",x:a(e[0]),y:a(e[1]),width:a(e[2]),height:a(e[3])}:{}});return t.append(r),new he(o,r)}function U(t,n="SourceGraphic"){return t.matrix(n,[1,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,0,1])}function K(t,n,e){const o=t.luma(n),s=t.luma(e),r=t.sub(o,s),i=t.sub(s,o);return t.sub(t.add2(e,r),i)}export function adjustmentFilter(t,n){const e=H(n,"adjust"),o=X;switch(t.kind){case"levels":{const s=D(t.rgb);e.tables("SourceGraphic",B(s,D(t.red)),B(s,D(t.green)),B(s,D(t.blue)));break}case"curves":{const s=E(t.rgb);e.tables("SourceGraphic",B(s,E(t.red)),B(s,E(t.green)),B(s,E(t.blue)));break}case"brightnessContrast":{const s=re(t.brightness??o.brightnessContrast.brightness,t.contrast??o.brightnessContrast.contrast);e.tables("SourceGraphic",s,s,s);break}case"exposure":{const s=ae(t.exposure??o.exposure.exposure,t.offset??o.exposure.offset,t.gammaCorrection??o.exposure.gammaCorrection);e.tables("SourceGraphic",s,s,s);break}case"invert":{const s=le();e.tables("SourceGraphic",s,s,s);break}case"threshold":{const s=e.luma("SourceGraphic"),r=ue(t.level??o.threshold.level);e.tables(s,r,r,r,"discrete");break}case"gradientMap":{const s=e.luma("SourceGraphic"),r=ce(t.gradient??{stops:[...o.gradientMap.gradient.stops]},t.reverse??!1),[i,p,w]=r??[R(),R(),R()];e.tables(s,i,p,w);break}case"hueSaturation":{let s="SourceGraphic";const r=t.hue??0;r!==0&&(s=e.add("feColorMatrix",{in:s,type:"hueRotate",values:a(r)}));const i=t.saturation??0;i!==0&&(s=e.add("feColorMatrix",{in:s,type:"saturate",values:a(1+i/100)}));const p=de(t.lightness??0);e.tables(s,p,p,p);break}case"vibrance":{let s="SourceGraphic";const r=t.saturation??0;r!==0&&(s=e.add("feColorMatrix",{in:s,type:"saturate",values:a(1+r/100)}));const i=(t.vibrance??0)/100;if(i!==0){const p=U(e,s),w=e.channel(p,0),h=e.channel(p,1),x=e.channel(p,2),y=e.add("feBlend",{in:e.add("feBlend",{in:w,in2:h,mode:"lighten"}),in2:x,mode:"lighten"}),l=e.add("feBlend",{in:e.add("feBlend",{in:w,in2:h,mode:"darken"}),in2:x,mode:"darken"}),b=e.sub(y,l),g={type:"table",tableValues:"1 0"},c=e.transfer(b,{R:g,G:g,B:g}),d=e.luma(p),f=e.arith(c,e.sub(p,d),1,0,0),u=e.arith(c,e.sub(d,p),1,0,0),m={type:"linear",slope:a(Math.abs(i))},S=e.transfer(f,{R:m,G:m,B:m}),M=e.transfer(u,{R:m,G:m,B:m}),[v,O]=i>0?[S,M]:[M,S],G=e.sub(e.add2(p,v),O);e.composite(G,"SourceGraphic","in")}break}case"colorBalance":{const s=t.shadows??[0,0,0],r=t.midtones??[0,0,0],i=t.highlights??[0,0,0],p=U(e),w=e.tables(p,I(s[0],r[0],i[0]),I(s[1],r[1],i[1]),I(s[2],r[2],i[2])),h=t.preserveLuminosity??o.colorBalance.preserveLuminosity?K(e,p,w):w;e.composite(h,"SourceGraphic","in");break}case"photoFilter":{const s=L(t.color??o.photoFilter.color)??[1,1,1,1],r=(t.density??o.photoFilter.density)/100,i=U(e),p=x=>1-r+r*s[x],w=e.matrix(i,[p(0),0,0,0,0,0,p(1),0,0,0,0,0,p(2),0,0,0,0,0,0,1]),h=t.preserveLuminosity??o.photoFilter.preserveLuminosity?K(e,i,w):w;e.composite(h,"SourceGraphic","in");break}case"blackAndWhite":{const s=o.blackAndWhite,r={r:(t.reds??s.reds)/100,y:(t.yellows??s.yellows)/100,g:(t.greens??s.greens)/100,c:(t.cyans??s.cyans)/100,b:(t.blues??s.blues)/100,m:(t.magentas??s.magentas)/100},i=U(e),p=(f,u)=>{const m=[0,0,0,0,0];m[f]=1,m[u]=-1,m[4]=1;const S=e.matrix(i,[...m,...m,...m,0,0,0,1,0]),M=R().map((v,O)=>O>=255?1:0);return e.tables(S,M,M,M,"discrete")},w=p(0,1),h=p(1,2),x=p(0,2),y=f=>{const u={type:"table",tableValues:"1 0"};return e.transfer(f,{R:u,G:u,B:u})},l=(f,u)=>e.arith(f,u,1,0,0),b=(f,u,m,S,M)=>{const v=[0,0,0];v[f]=S,v[u]=M-S,v[m]=1-M;const O=[v[0]??0,v[1]??0,v[2]??0,0,0];return e.matrix(i,[...O,...O,...O,0,0,0,1,0])},g=[[l(w,h),b(0,1,2,r.r,r.y)],[l(x,y(h)),b(0,2,1,r.r,r.m)],[l(y(w),x),b(1,0,2,r.g,r.y)],[l(h,y(x)),b(1,2,0,r.g,r.c)],[l(y(h),y(w)),b(2,1,0,r.b,r.c)],[l(y(x),w),b(2,0,1,r.b,r.m)]];let c,d;for(const[f,u]of g){const m=d===void 0?f:l(f,y(d)),S=e.arith(m,u,1,0,0);c=c===void 0?S:e.add2(c,S),d=d===void 0?f:e.add2(d,f)}e.composite(c??i,"SourceGraphic","in");break}}return e.el.childElementCount===0&&e.offset("SourceGraphic",0,1e-4),e.el.id}const z=t=>t*Math.PI/180,N=(t,n)=>[-Math.cos(z(t))*n,Math.sin(z(t))*n];function F(t,n,e){if(e<=0)return n;const o=e>=100?1e4:1/(1-e/100);return t.transfer(n,{A:{type:"linear",slope:a(o)}})}function j(t,n){return t.transfer(n,{A:{type:"table",tableValues:"1 0"}})}function me(t,n,e){const o=t.ownerDocument,s=nextId(o,"gradient"),r=svgGradient(o,s,n,e);t.append(r);const i=k(o,"rect",{id:`${s}-r`,x:a(e[0]),y:a(e[1]),width:a(e[2]),height:a(e[3]),fill:`url(#${s})`});return t.append(i),`#${s}-r`}export function svgGradient(t,n,e,o){const s=e.style??"linear",r=pe(e),[i,p,w,h]=o,x=i+w/2,y=p+h/2,l=(e.scale??100)/100,b=m=>m.map(S=>k(t,"stop",{offset:`${a(S.location)}%`,"stop-color":S.color}));if(s==="radial"){const m=Math.hypot(w,h)/2*l;return k(t,"radialGradient",{id:n,gradientUnits:"userSpaceOnUse",cx:a(x),cy:a(y),r:a(m)},b(r))}const g=z(e.angle??90),c=(Math.abs(Math.cos(g))*w+Math.abs(Math.sin(g))*h)/2*l,d=Math.cos(g)*c,f=-Math.sin(g)*c,u=s==="reflected"?[...r.map(m=>({color:m.color,location:50-m.location/2})).reverse(),...r.map(m=>({color:m.color,location:50+m.location/2}))]:r;return k(t,"linearGradient",{id:n,gradientUnits:"userSpaceOnUse",x1:a(x-d),y1:a(y-f),x2:a(x+d),y2:a(y+f)},b(u))}export function effectsFilter(t){const{fx:n,frame:e}=t,o=c=>c!==void 0&&c.enabled!==!1,s=e.width,r=e.height,i=H(t.defs,"fx",[-s,-r,3*s,3*r]),p="SourceAlpha",w=t.fillOpacity/100,h=w<1?i.transfer("SourceGraphic",{A:{type:"linear",slope:a(w)}}):"SourceGraphic",x=[],y=(c,d)=>(c??d)/100,l=q;if(o(n.dropShadow)){const c=n.dropShadow,d=F(i,i.blur(p,(c.size??l.dropShadow.size)/2),c.spread??l.dropShadow.spread),[f,u]=N(c.angle??l.dropShadow.angle,c.distance??l.dropShadow.distance),m=i.composite(i.flood(c.color??l.dropShadow.color,y(c.opacity,l.dropShadow.opacity)),i.offset(d,f,u),"in");x.push(i.composite(m,p,"out"))}if(o(n.outerGlow)){const c=n.outerGlow,d=F(i,i.blur(p,(c.size??l.outerGlow.size)/2),c.spread??l.outerGlow.spread),f=i.composite(i.flood(c.color??l.outerGlow.color,y(c.opacity,l.outerGlow.opacity)),d,"in");x.push(i.composite(f,p,"out"))}let b=h;const g=(c,d)=>{b=i.blend(i.composite(c,p,"in"),b,d)};if(o(n.patternOverlay)){const c=n.patternOverlay,d=mediaOfRef(c.pattern,t.base,t.ctx);if(d){V(d.url,t.ctx);const f=(c.scale??l.patternOverlay.scale)/100,u=(d.width??1)*f,m=(d.height??1)*f,S=i.add("feImage",{href:d.url,x:0,y:0,width:a(u),height:a(m),preserveAspectRatio:"none"}),M=i.add("feTile",{in:S}),v=i.transfer(M,{A:{type:"linear",slope:a(y(c.opacity,l.patternOverlay.opacity))}});g(v,c.blendMode??l.patternOverlay.blendMode)}}if(o(n.gradientOverlay)){const c=n.gradientOverlay,d=l.gradientOverlay.gradient,f=me(t.defs,c.gradient??{...d,stops:d.stops.map(S=>({...S}))},t.box),u=i.add("feImage",{href:f,x:0,y:0,width:s,height:r}),m=i.transfer(u,{A:{type:"linear",slope:a(y(c.opacity,l.gradientOverlay.opacity))}});g(m,c.blendMode??l.gradientOverlay.blendMode)}if(o(n.colorOverlay)){const c=n.colorOverlay;g(i.flood(c.color??l.colorOverlay.color,y(c.opacity,l.colorOverlay.opacity)),c.blendMode??l.colorOverlay.blendMode)}if(o(n.satin)){const c=n.satin,d=(c.size??l.satin.size)/2,[f,u]=N(c.angle??l.satin.angle,c.distance??l.satin.distance),m=i.blur(i.offset(p,f,u),d),S=i.blur(i.offset(p,-f,-u),d),M=i.arith(i.arith(m,S,0,1,-1),i.arith(S,m,0,1,-1),0,1,1),v=c.invert??l.satin.invert?j(i,M):M;g(i.composite(i.flood(c.color??l.satin.color,y(c.opacity,l.satin.opacity)),v,"in"),c.blendMode??l.satin.blendMode)}if(o(n.innerGlow)){const c=n.innerGlow,d=(c.size??l.innerGlow.size)/2,u=(c.source??l.innerGlow.source)==="edge"?i.blur(j(i,p),d):j(i,i.blur(j(i,p),d)),m=F(i,u,c.choke??l.innerGlow.choke);g(i.composite(i.flood(c.color??l.innerGlow.color,y(c.opacity,l.innerGlow.opacity)),m,"in"),c.blendMode??l.innerGlow.blendMode)}if(o(n.innerShadow)){const c=n.innerShadow,[d,f]=N(c.angle??l.innerShadow.angle,c.distance??l.innerShadow.distance),u=F(i,i.offset(i.blur(j(i,p),(c.size??l.innerShadow.size)/2),d,f),c.choke??l.innerShadow.choke);g(i.composite(i.flood(c.color??l.innerShadow.color,y(c.opacity,l.innerShadow.opacity)),u,"in"),c.blendMode??l.innerShadow.blendMode)}if(o(n.bevelEmboss)){const c=n.bevelEmboss,d=l.bevelEmboss,f=c.size??d.size,u=i.blur(p,f/2),m=Math.min(c.altitude??d.altitude,89.9),S=(c.direction??d.direction)==="up",M=(360-(c.angle??d.angle)+(S?0:180))%360,v=i.blur(i.add("feDiffuseLighting",{in:u,surfaceScale:a(f*(c.depth??d.depth)/100),diffuseConstant:1,"lighting-color":"#ffffff"},[k(i.doc,"feDistantLight",{azimuth:a(M),elevation:a(m)})]),(c.soften??d.soften)/2),O=Math.sin(z(m)),G=L(c.highlightColor??d.highlightColor)??[1,1,1,1],$=L(c.shadowColor??d.shadowColor)??[0,0,0,1],A=y(c.highlightOpacity,d.highlightOpacity)*G[3],T=y(c.shadowOpacity,d.shadowOpacity)*$[3],C=i.matrix(v,[0,0,0,0,G[0],0,0,0,0,G[1],0,0,0,0,G[2],A/(1-O),0,0,0,-O*A/(1-O)]),Q=i.matrix(v,[0,0,0,0,$[0],0,0,0,0,$[1],0,0,0,0,$[2],-T/O,0,0,0,T]);g(Q,c.shadowMode??d.shadowMode),g(C,c.highlightMode??d.highlightMode)}if(x.length===0&&b==="SourceGraphic"){i.el.remove();return}return i.merge([...x,b]),i.el.id}function ye(t){return typeof t=="string"||!("src"in t||"path"in t||"box"in t||"mode"in t||"density"in t||"feather"in t||"invert"in t||"enabled"in t)?{src:t}:t}export function applyMask(t,n){const e=ye(n.mask);if(e.enabled===!1)return;const o=n.frame.width,s=n.frame.height,r=e.box?[e.box[0]*o,e.box[1]*s,e.box[2]*o,e.box[3]*s]:n.box,[i,p,w,h]=r,x=(e.density??100)/100,y=e.feather??0,l=e.invert===!0,b=e.mode==="luminance",g=e.src,c=typeof g=="string"&&g!=="ellipse"&&!maskIsPath(g),d=x===1&&y===0&&!l&&!b;if(c){if(y>0)return"a CSS mask-image is feathered by its own stops, not by feather";const $=[g],A=[];l&&($.unshift("linear-gradient(black, black)"),A.push("exclude")),x<1&&($.unshift(`linear-gradient(rgb(0 0 0 / ${a(1-x)}), rgb(0 0 0 / ${a(1-x)}))`),A.unshift("add")),Object.assign(t.style,{maskImage:$.join(", "),maskMode:$.map((T,C)=>C===$.length-1&&b?"luminance":"alpha").join(", "),maskRepeat:"no-repeat",maskPosition:$.map((T,C)=>C===$.length-1?`${a(i)}px ${a(p)}px`:"0px 0px").join(", "),maskSize:$.map((T,C)=>C===$.length-1?`${a(w)}px ${a(h)}px`:"100% 100%").join(", "),...A.length>0?{maskComposite:[...A,"add"].join(", ")}:{}});return}if(d&&g==="ellipse"){t.style.clipPath=`ellipse(${a(w/2)}px ${a(h/2)}px at ${a(i+w/2)}px ${a(p+h/2)}px)`;return}const f=g!==void 0&&g!=="ellipse"?mediaOfRef(g,n.base,n.ctx):void 0;if(d&&f&&e.path===void 0){Object.assign(t.style,{maskImage:`url("${f.url}")`,maskSize:`${a(w)}px ${a(h)}px`,maskPosition:`${a(i)}px ${a(p)}px`,maskRepeat:"no-repeat"});return}const u=t.ownerDocument,m=nextId(u,"mask"),S=[k(u,"rect",{x:0,y:0,width:a(o),height:a(s),fill:"black"})];if(e.path!==void 0)S.push(k(u,"path",{d:e.path,fill:"white"}));else if(g==="ellipse")S.push(k(u,"ellipse",{cx:a(i+w/2),cy:a(p+h/2),rx:a(w/2),ry:a(h/2),fill:"white"}));else if(f){V(f.url,n.ctx);const $=nextId(u,"white");b||n.defs.append(k(u,"filter",{id:$,"color-interpolation-filters":"sRGB"},[k(u,"feColorMatrix",{type:"matrix",values:"0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0"})])),S.push(k(u,"image",{href:f.url,x:a(i),y:a(p),width:a(w),height:a(h),preserveAspectRatio:"none",...b?{}:{filter:`url(#${$})`}}))}else return'a mask has a src (a picture, "ellipse" or a CSS mask-image) or a path';const M=nextId(u,"maskfx"),v=[];y>0&&v.push(k(u,"feGaussianBlur",{stdDeviation:a(y)}));const O=$=>k(u,"feComponentTransfer",{},["R","G","B"].map(A=>k(u,`feFunc${A}`,$)));l&&v.push(O({type:"table",tableValues:"1 0"})),x<1&&v.push(O({type:"linear",slope:a(x),intercept:a(1-x)}));const G=k(u,"g",{},S);v.length>0&&(n.defs.append(k(u,"filter",{id:M,filterUnits:"userSpaceOnUse",x:0,y:0,width:a(o),height:a(s),"color-interpolation-filters":"sRGB"},v)),G.setAttribute("filter",`url(#${M})`)),n.defs.append(k(u,"mask",{id:m,maskUnits:"userSpaceOnUse",x:0,y:0,width:a(o),height:a(s),style:"mask-type: luminance"},[G])),t.style.maskImage=`url(#${m})`}export function transformCss(t,n){if(!t)return;const e=t.rotation??0,o=t.flipH===!0?-1:1,s=t.flipV===!0?-1:1;if(e===0&&o===1&&s===1)return;const r=n[0]+n[2]/2,i=n[1]+n[3]/2;return`translate(${a(r)}px, ${a(i)}px) rotate(${a(e)}deg) scale(${String(o)}, ${String(s)}) translate(${a(-r)}px, ${a(-i)}px)`}export const baseOf=t=>{const n=t.props.base;return typeof n=="string"?n:""},LAYER_CONTENT="ak-content";export function contentOf(t,n,e){const o=transformCss(n.transform,boxOf(n,e)),s=n.mask!==void 0&&n.kind!=="pixel";if(n.kind==="adjustment"||o===void 0&&!s&&n.clipping!==!0)return t;const r=t.ownerDocument.createElement("div");return r.className=LAYER_CONTENT,Object.assign(r.style,{position:"absolute",inset:"0"}),o!==void 0&&Object.assign(r.style,{transform:o,transformOrigin:"0 0"}),t.append(r),r}export const contentEl=t=>t.querySelector(`:scope > .${LAYER_CONTENT}`)??t;export function holdsAdjustment(t){if(t.kind==="adjustment")return!0;const n=t.props.layers;return Array.isArray(n)&&n.some(e=>holdsAdjustment(e))}export function backdropRoot(t){t.style.filter===""&&(t.style.filter="opacity(1)")}export function styleLayer(t,n){const e=n.layer,o=e.kind==="group",s=e.blendMode??(o?"passThrough":"normal"),r=_[s];if("refused"in r)return`blendMode ${s} ${r.refused}`;const i=(e.opacity??100)/100,p=e.fillOpacity??100,w=e.effects,h=J(w);if(o&&s==="passThrough"){const l=i<1||p<100||h||e.mask!==void 0;if(l&&Y(e))return"a passThrough group that fades, is masked or has effects, holding an adjustment or a layer of another blend mode: Chrome draws a group's opacity, mask and effects on its own picture, which its layers would then no longer blend through";l&&(t.style.isolation="isolate")}else o&&(t.style.isolation="isolate",holdsAdjustment(e)&&backdropRoot(t));s!=="normal"&&s!=="passThrough"&&(e.kind!=="pixel"||J(e.effects))&&(t.style.mixBlendMode=r.css);const x=()=>defsOf(t),y=w?.stroke;if(y&&y.enabled!==!1){const l=q.stroke,b=y.size??l.size,g=y.position??l.position,c=y.color??l.color,d=(y.opacity??l.opacity)/100;if(e.kind==="type")for(const f of t.querySelectorAll("[data-ak-text]"))f.style.setProperty("-webkit-text-stroke",`${a(g==="outside"?b*2:b)}px ${d<1?`color-mix(in srgb, ${c} ${a(d*100)}%, transparent)`:c}`),g==="outside"&&f.style.setProperty("paint-order","stroke fill");else if(e.kind==="shape")for(const f of t.querySelectorAll("svg[data-ak-shape]")){const u=f.querySelector("path")?.getAttribute("d");u&&oe(f,u,{color:c,width:b,alignment:g,opacity:d*100,join:"round",cap:"round"},n.frame)}}if(h){const l=effectsFilter({fx:w,fillOpacity:p,box:boxOf(e,n.frame),frame:n.frame,defs:x(),ctx:n.ctx,base:n.base});l!==void 0&&(t.style.filter=`url(#${l})`),i<1&&(t.style.opacity=a(i))}else{const l=i*(p/100);l<1&&(t.style.opacity=a(l))}if(e.mask!==void 0&&e.kind!=="pixel"){const l=applyMask(contentEl(t),{mask:e.mask,box:boxOf(e,n.frame),frame:n.frame,defs:x(),ctx:n.ctx,base:n.base});if(l!==void 0)return l}}function J(t){return t!==void 0&&Object.values(t).some(n=>n!==void 0&&n.enabled!==!1)}function Y(t){const n=t.props.layers;return Array.isArray(n)?n.some(e=>{const o=e;return o.kind==="adjustment"||o.blendMode!==void 0&&o.blendMode!=="normal"&&o.blendMode!=="passThrough"||o.kind==="group"&&(o.blendMode??"passThrough")==="passThrough"&&Y(o)}):!1}export function silhouetteOf(t,n){const e=n.defs.ownerDocument,o=n.frame.width,s=n.frame.height,r=t.props;if(t.mask!==void 0)return{refused:"a clipping base with a mask of its own: not drawn yet"};if(t.transform!==void 0)return{refused:"a clipping base turned or flipped: not drawn yet"};const i=[];if(t.kind==="pixel"){if(r.filter!==void 0||r.radius!==void 0)return{refused:"a clipping base picture with a filter or a radius: its shape is then Chrome's drawing, which a mask cannot read"};const w=r.src,h=w===void 0?void 0:mediaOfRef(w,baseOf(t),n.ctx);if(!h)return{refused:"the clipping base's picture does not load"};V(h.url,n.ctx);const[x,y,l,b]=boxOf(t,n.frame),g=ne({source:{width:h.width??1,height:h.height??1},box:{width:l,height:b},fit:r.fit,position:r.position??se.position,crop:r.crop}),c=nextId(e,"clip"),[d,f,u,m]=g.shown;n.defs.append(k(e,"clipPath",{id:c,clipPathUnits:"userSpaceOnUse"},[k(e,"rect",{x:a(x+d),y:a(y+f),width:a(u),height:a(m)})]));const S=nextId(e,"white");n.defs.append(k(e,"filter",{id:S,"color-interpolation-filters":"sRGB"},[k(e,"feColorMatrix",{type:"matrix",values:"0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0"})]));const[M,v,O,G]=g.whole;i.push(k(e,"g",{"clip-path":`url(#${c})`},[k(e,"image",{href:h.url,x:a(x+M),y:a(y+v),width:a(O),height:a(G),preserveAspectRatio:"none",filter:`url(#${S})`})]))}else if(t.kind==="shape"){const w=ie(r,n.frame);if(w==="")return{refused:"the clipping base shape has no path"};const h=r.stroke,x=h?h.width??1:0,y=h?.alignment??"center";i.push(k(e,"path",{d:w,fill:r.fill===null||r.shape==="line"?"none":"white",...x>0&&y!=="inside"?{stroke:"white","stroke-width":a(y==="center"?x:x*2)}:{}}))}else if(t.kind==="fill")i.push(k(e,"rect",{x:0,y:0,width:a(o),height:a(s),fill:"white"}));else return{refused:`a ${t.kind??"component"} layer as a clipping base: its pixels are Chrome's drawing of HTML, which a mask cannot read (an SVG mask's foreignObject draws nothing); clip to a picture, a shape or a fill`};const p=nextId(e,"base");return n.defs.append(k(e,"mask",{id:p,maskUnits:"userSpaceOnUse",x:0,y:0,width:a(o),height:a(s),style:"mask-type: luminance"},i)),{id:p}}export function clipStack(t,n){const e=[];for(let o=0;o<t.length;o++){const s=t[o];if(!s||s.layer.clipping===!0){s&&o===0&&e.push(`layer ${s.layer.key??String(o+1)} is clipped with no layer under it`);continue}const r=[];for(let b=o+1;b<t.length&&t[b]?.layer.clipping===!0;b++){const g=t[b];g&&r.push(g)}if(r.length===0)continue;const i=defsOf(s.el),p=silhouetteOf(s.layer,{frame:n.frame,defs:i,ctx:n.ctx});if("refused"in p){e.push(`layer ${r.map(b=>b.layer.key??"?").join(", ")} clipped to ${s.layer.key??"?"}: ${p.refused}`);for(const b of r)b.el.style.display="none";o+=r.length;continue}const h=s.el.ownerDocument.createElement("div");h.className="ak-clip",Object.assign(h.style,{position:"absolute",inset:"0",isolation:"isolate"}),s.el.before(h);const x=s.el.querySelector("[data-ak-picture]");h.style.mixBlendMode=s.el.style.mixBlendMode||(x?.style.mixBlendMode??""),s.el.style.mixBlendMode="",x&&(x.style.mixBlendMode="");const y=(s.layer.opacity??100)/100;y<1&&(h.style.opacity=a(y));const l=(s.layer.fillOpacity??100)/100;s.el.style.opacity=s.el.style.filter===""&&l<1?a(l):"",r.some(b=>holdsAdjustment(b.layer))&&backdropRoot(h),h.append(s.el);for(const b of r){const g=b.el.style.maskImage;b.el.style.maskImage=g===""||g==="none"?`url(#${p.id})`:`${g}, url(#${p.id})`,g!==""&&g!=="none"&&(b.el.style.maskComposite="intersect"),h.append(b.el)}o+=r.length}return e}
@@ -0,0 +1,29 @@
1
+ import { type Fill, type Gradient, type ShapeStroke, type StageContext } from "@allyhub/piece";
2
+ import { type ShapeGeometry } from "./shape-path.js";
3
+ /** Why a gradient cannot be painted, or undefined. */
4
+ export declare function gradientRefusal(g: Gradient, svgOnly: boolean): string | undefined;
5
+ /** A gradient as a CSS background image over its box: Photoshop's angle (counter-clockwise from left to right) as CSS's (clockwise from the top). */
6
+ export declare function cssGradient(g: Gradient): string;
7
+ /** Paints an element with a fill as CSS backgrounds: what a fill layer draws. */
8
+ export declare function paintCss(el: HTMLElement, fill: Fill, ctx: StageContext, base: string): void;
9
+ /** A shape's options as it draws them. */
10
+ export interface ShapeDrawing extends ShapeGeometry {
11
+ readonly fill?: Fill | null;
12
+ readonly stroke?: ShapeStroke | null;
13
+ }
14
+ /**
15
+ * Draws a shape into its element as SVG over the frame: its path filled,
16
+ * and stroked about it (center), inside it (twice as wide, cut to it) or
17
+ * outside it (twice as wide, with what is inside it cut away).
18
+ */
19
+ export declare function drawShape(el: HTMLElement, s: ShapeDrawing, ctx: StageContext, base: string): void;
20
+ /**
21
+ * Strokes a path in an SVG: about it (center), inside it (twice as wide,
22
+ * cut to it) or outside it (twice as wide, with what is inside it cut
23
+ * away): a shape's stroke, and the stroke effect of a shape layer.
24
+ */
25
+ export declare function strokeOnto(root: SVGSVGElement, d: string, st: ShapeStroke, frame: {
26
+ width: number;
27
+ height: number;
28
+ }): void;
29
+ //# sourceMappingURL=paint.d.ts.map
@@ -0,0 +1,2 @@
1
+ /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
+ import{SHAPE_DEFAULTS as y}from"@allyhub/piece";import{defsOf as $,mediaOfRef as v,nextId as O,svgGradient as j}from"./layer-style.js";import{shapePath as x}from"./shape-path.js";import{stopsOf as A}from"./tone.js";const o=i=>String(Math.round(i*1e4)/1e4);export function gradientRefusal(i,t){const n=i.style??"linear";if(n==="diamond")return"a diamond gradient is no CSS or SVG gradient";if(t&&n==="angle")return"an angle gradient on a shape: SVG paints no conic gradient (a fill layer draws one)"}export function cssGradient(i){const t=i.style??"linear",n=(i.scale??100)/100,f=A(i),a=r=>t==="linear"||t==="reflected"?50+(r-50)*n:r*n,s=(r,e)=>r.flatMap((p,g)=>{const m=r[g+1],h=`${p.color} ${o(e(p.location))}%`;if(!m||(p.midpoint??50)===50)return[h];const u=p.location+(m.location-p.location)*(p.midpoint??50)/100;return[h,`${o(e(u))}%`]}).join(", "),d=90-(i.angle??90);if(t==="radial")return`radial-gradient(farthest-corner at 50% 50%, ${s(f,a)})`;if(t==="angle"){const r=f.map(e=>({...e,location:100-e.location})).reverse();return`conic-gradient(from ${o(d)}deg at 50% 50%, ${s(r,e=>e)})`}if(t==="reflected"){const r=[...f.map(e=>({color:e.color,location:50-e.location/2})).reverse(),...f.map(e=>({color:e.color,location:50+e.location/2}))];return`linear-gradient(${o(d)}deg, ${s(r,a)})`}return`linear-gradient(${o(d)}deg, ${s(f,a)})`}export function paintCss(i,t,n,f){if("color"in t){i.style.background=t.color;return}if("gradient"in t){i.style.backgroundImage=cssGradient(t.gradient);return}const a=v(t.pattern,f,n);if(!a)return;const s=(t.scale??100)/100;Object.assign(i.style,{backgroundImage:`url("${a.url}")`,backgroundSize:`${o((a.width??1)*s)}px ${o((a.height??1)*s)}px`,backgroundRepeat:"repeat",backgroundPosition:"0px 0px"})}const b="http://www.w3.org/2000/svg";function E(i,t,n,f,a){if("color"in t)return t.color;const s=$(i),d=i.ownerDocument,r=O(d,"paint");if("gradient"in t)return s.append(j(d,r,t.gradient,n)),`url(#${r})`;const e=v(t.pattern,a,f);if(!e)return"none";const p=(t.scale??100)/100,g=(e.width??1)*p,m=(e.height??1)*p,h=d.createElementNS(b,"pattern");for(const[c,l]of Object.entries({id:r,patternUnits:"userSpaceOnUse",x:"0",y:"0",width:o(g),height:o(m)}))h.setAttribute(c,l);const u=d.createElementNS(b,"image");for(const[c,l]of Object.entries({href:e.url,x:"0",y:"0",width:o(g),height:o(m),preserveAspectRatio:"none"}))u.setAttribute(c,l);return h.append(u),s.append(h),`url(#${r})`}export function drawShape(i,t,n,f){const a=i.ownerDocument,s=n.dims.width,d=n.dims.height,r=x(t,n.dims),e=a.createElementNS(b,"svg");for(const[c,l]of Object.entries({width:o(s),height:o(d),viewBox:`0 0 ${o(s)} ${o(d)}`}))e.setAttribute(c,l);e.dataset.akShape="",Object.assign(e.style,{position:"absolute",left:"0",top:"0",overflow:"visible"});const p=(()=>{const c=t.box??[0,0,1,1];return[c[0]*s,c[1]*d,c[2]*s,c[3]*d]})();i.append(e);const g=t.fill===void 0?y.fill:t.fill,m=t.shape==="line";g!==null&&!m&&(c=>{const l=a.createElementNS(b,"path");l.setAttribute("d",r);for(const[k,w]of Object.entries(c))l.setAttribute(k,w);return e.append(l),l})({fill:E(i,g,p,n,f),"data-ak-fill":""});const u=t.stroke??(m?{}:null);u!==null&&strokeOnto(e,r,m?{...u,alignment:"center"}:u,n.dims)}export function strokeOnto(i,t,n,f){const a=i.ownerDocument,s=f.width,d=f.height,r=y.stroke,e=n.width??r.width,p=n.alignment??r.alignment,g={d:t,fill:"none",stroke:n.color??r.color,"stroke-width":o(p==="center"?e:e*2),"stroke-linecap":n.cap??r.cap,"stroke-linejoin":n.join??r.join,"data-ak-stroke":""};if((n.opacity??r.opacity)<100&&(g["stroke-opacity"]=o((n.opacity??r.opacity)/100)),n.dashes&&n.dashes.length>0&&(g["stroke-dasharray"]=n.dashes.map(h=>o(h*e)).join(" ")),p!=="center"){const h=$(i),u=O(a,"stroke");if(p==="inside"){const c=a.createElementNS(b,"clipPath");c.id=u;const l=a.createElementNS(b,"path");l.setAttribute("d",t),c.append(l),h.append(c),g["clip-path"]=`url(#${u})`}else{const c=a.createElementNS(b,"mask");c.id=u;const l=a.createElementNS(b,"rect");for(const[w,S]of Object.entries({maskUnits:"userSpaceOnUse",x:o(-s),y:o(-d),width:o(3*s),height:o(3*d)}))c.setAttribute(w,S);for(const[w,S]of Object.entries({x:o(-s),y:o(-d),width:o(3*s),height:o(3*d),fill:"white"}))l.setAttribute(w,S);const k=a.createElementNS(b,"path");k.setAttribute("d",t),k.setAttribute("fill","black"),c.append(l,k),h.append(c),g.mask=`url(#${u})`}}const m=a.createElementNS(b,"path");for(const[h,u]of Object.entries(g))m.setAttribute(h,u);i.append(m)}
@@ -0,0 +1,39 @@
1
+ /** A picture that did not load. */
2
+ export interface BrokenPicture {
3
+ /** The element that draws it: the `<img>`, or the element with the background. */
4
+ el: Element;
5
+ /** The source as written: the `src` attribute, or the background's URL. */
6
+ src: string;
7
+ via: "img" | "background";
8
+ }
9
+ export interface PictureWatch {
10
+ /** Decodes what the stage draws now; what fails is recorded. */
11
+ sweep(): Promise<void>;
12
+ /** What did not load so far, once per element and source. */
13
+ broken(): BrokenPicture[];
14
+ }
15
+ /**
16
+ * Whether a source is the stage's to serve: on its own origin, or inline
17
+ * (data:, blob:). Another origin is the sandbox's (AK-N003).
18
+ */
19
+ export declare function servedHere(src: string, base: string): boolean;
20
+ /** The URLs of a computed `background-image` (`url("…")`, quoted by the browser). */
21
+ export declare function backgroundUrls(value: string): string[];
22
+ /** What to do about a source that did not load, in one sentence. */
23
+ export declare function pictureHint(src: string): string;
24
+ export declare function watchPictures(stage: HTMLElement): PictureWatch;
25
+ /**
26
+ * Waits until every picture the stage shows now is decoded, so a frame is
27
+ * never taken while a picture is still blank. A layer may change what an
28
+ * `<img>` shows, or an inline background image, as it plays (a captured
29
+ * screen swapped for the next state), and the browser may let a decoded
30
+ * picture go while it is out of sight and decode it again only when it is
31
+ * painted: either way a capture taken before it is ready shows nothing
32
+ * where it goes. So every frame asks each `<img>` that is shown, and each
33
+ * inline background URL, to be decoded (at once when it already is).
34
+ * The returned function waits at most `limitMs` and resolves with the
35
+ * sources still not decoded then; a picture that does not load, at any
36
+ * moment, is given to `broken` (AK-A005).
37
+ */
38
+ export declare function pictureWaiter(stage: HTMLElement, broken?: (b: BrokenPicture) => void): (limitMs: number) => Promise<string[]>;
39
+ //# sourceMappingURL=pictures.d.ts.map
@@ -0,0 +1,2 @@
1
+ /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
+ import{within as m}from"./guards.js";export function servedHere(c,o){let s;try{s=new URL(c,o)}catch{return!0}return s.protocol==="data:"||s.protocol==="blob:"||s.protocol!=="http:"&&s.protocol!=="https:"?!0:s.origin===new URL(o).origin}export function backgroundUrls(c){const o=[],s=/url\(\s*(?:"((?:[^"\\]|\\.)*)"|'((?:[^'\\]|\\.)*)'|([^)\s]*))\s*\)/g;for(const u of c.matchAll(s)){const e=(u[1]??u[2]??u[3]??"").replace(/\\(.)/g,"$1");e&&o.push(e)}return o}export function pictureHint(c){const o=c.trim();return o==="[object Object]"?"That is an object turned into text: for an imported media value or ctx.asset(…), use its .url.":o==="undefined"||o==="null"?`The source is ${o}: for an imported media value or ctx.asset(…), use its .url.`:/^[a-z][a-z0-9+.-]*:/i.test(o)?"The file is not there, or it is not a picture the browser can draw.":'A path is not a URL the stage serves: import the file (import logo from "./logo.svg") or use ctx.asset(path), and use its .url.'}const d=c=>c.decode().then(()=>!0,()=>!1);export function watchPictures(c){const o=[],s=()=>document.baseURI,u=(a,e,t)=>{!e||!servedHere(e,s())||o.some(i=>i.el===a&&i.src===e)||o.push({el:a,src:e,via:t})};return c.addEventListener("error",a=>{const e=a.target;e instanceof HTMLImageElement&&u(e,e.getAttribute("src")??"","img")},!0),{async sweep(){const a=Array.from(c.querySelectorAll("img"));await Promise.all(a.map(async t=>{const i=t.getAttribute("src")??"";i&&!await d(t)&&t.complete&&t.naturalWidth===0&&u(t,i,"img")}));const e=new Map;for(const t of Array.from(c.querySelectorAll("*"))){const i=getComputedStyle(t).backgroundImage;if(!i.includes("url("))continue;const r=t instanceof HTMLElement||t instanceof SVGElement?t.style.backgroundImage:"",n=r.includes("url(")?r:i;for(const l of backgroundUrls(n))e.set(l,[...e.get(l)??[],t])}await Promise.all([...e].map(async([t,i])=>{if(!servedHere(t,s()))return;const r=new Image;if(r.src=t,!await d(r))for(const n of i)u(n,t,"background")}))},broken:()=>[...o]}}export function pictureWaiter(c,o){const s=new Map,u=()=>document.baseURI;return async a=>{const e=[],t=[];for(const r of Array.from(c.querySelectorAll("img"))){if(!(r.currentSrc||r.src)||r.getClientRects().length===0)continue;const n=r.getAttribute("src")??r.currentSrc;t.push(n),e.push(r.decode().catch(()=>{r.complete&&r.naturalWidth===0&&servedHere(n,u())&&o?.({el:r,src:n,via:"img"})}))}for(const r of Array.from(c.querySelectorAll('[style*="url("]')))if(r.getClientRects().length!==0)for(const n of backgroundUrls(r.style.backgroundImage)){let l=s.get(n);l||(l=new Image,l.src=n,s.set(n,l)),t.push(n);const f=l;e.push(f.decode().catch(()=>{f.complete&&f.naturalWidth===0&&servedHere(n,u())&&o?.({el:r,src:n,via:"background"})}))}if(e.length===0)return[];const i=await m(e,a);return t.filter((r,n)=>i[n]===void 0)}}
@@ -0,0 +1,52 @@
1
+ import { LAYER_BRAND, type GraphicLayer, type LayerTiming, type TimeShape } from "@allyhub/piece";
2
+ /** A layer of a stack: a graphic layer, or a footage layer (the video's), of which the plan reads its file. */
3
+ export type StackLayer = GraphicLayer | (LayerTiming & {
4
+ readonly [LAYER_BRAND]: "footage";
5
+ readonly file?: unknown;
6
+ });
7
+ /** A graphics plane of a stack: its layers' windows, and whether they are behind the person or over the finished picture. */
8
+ export interface StackPlane {
9
+ layers: {
10
+ component: string;
11
+ start: number;
12
+ end: number;
13
+ }[];
14
+ behindPerson?: true;
15
+ overlay?: true;
16
+ }
17
+ export declare const isFootage: <L extends StackLayer>(l: L) => l is Exclude<L, GraphicLayer>;
18
+ /** A graphic layer's plane: behind the person, in front, or over the finished picture. */
19
+ export declare const zOf: (l: GraphicLayer) => "front" | "behind-person" | "overlay";
20
+ /** The layers' names, for the timeline: component names and "footage". */
21
+ export declare const layerNames: (layers: readonly StackLayer[]) => string[];
22
+ /** Replaces word references in props with seconds, where the shape says they are times. */
23
+ export declare function resolveTimes(v: unknown, shape: true | TimeShape, at: (ref: unknown) => number): unknown;
24
+ /** A layer's window in its part, seconds from the part's start. */
25
+ export declare function windowOf(l: LayerTiming, dur: number, at: (ref: unknown) => number): [number, number];
26
+ /** A part's stack, planned from its layers alone. */
27
+ export interface StackPlan {
28
+ /** The part's own footage (the first footage layer without a file) when layers are behind its person; else -1. */
29
+ takeAt: number;
30
+ /** Some graphic layer is behind the person. */
31
+ hasBehind: boolean;
32
+ /** The layers' indices in the order they are drawn, back to front. */
33
+ order: number[];
34
+ /** Its graphics planes, back to front (their layers filled in by compose). */
35
+ planes: StackPlane[];
36
+ /** Each graphic layer's plane. */
37
+ planeOf: Map<number, number>;
38
+ /** Each footage layer's count of planes under it. */
39
+ overOf: Map<number, number>;
40
+ /** Whether layer i is over the finished picture. */
41
+ overlaid(i: number): boolean;
42
+ }
43
+ /**
44
+ * The stack: the layers in the order they are listed, back to front,
45
+ * footage and graphics alike. A layer behind the person belongs to the
46
+ * part's own footage (the first footage layer without a file): drawn
47
+ * right over it, under its speaker. Graphic layers with no footage
48
+ * between them are one plane; a footage layer is over the planes before
49
+ * it; layers over the finished picture come last.
50
+ */
51
+ export declare function planStack(layers: readonly StackLayer[]): StackPlan;
52
+ //# sourceMappingURL=plan.d.ts.map
@@ -0,0 +1,2 @@
1
+ /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
+ import"@allyhub/piece";export const isFootage=n=>n.__allyhubLayer==="footage",zOf=n=>n.z==="behind-person"||n.z==="overlay"?n.z:"front",layerNames=n=>n.map(r=>isFootage(r)?"footage":r.component);export function resolveTimes(n,r,i){if(Array.isArray(n))return n.map(o=>resolveTimes(o,r,i));if(r===!0)return typeof n=="string"||typeof n=="number"?i(n):n;if(typeof n!="object"||n===null)return n;const t={...n};for(const[o,f]of Object.entries(r))o in t&&t[o]!==void 0&&(t[o]=resolveTimes(t[o],f,i));return t}export function windowOf(n,r,i){const t=u=>Math.min(Math.max(u,0),r),o=t(n.at===void 0?0:i(n.at)),f=n.until!==void 0?t(i(n.until)):n.dur!==void 0?t(o+n.dur):r;return[o,f]}export function planStack(n){const r=n.some(e=>!isFootage(e)&&zOf(e)==="behind-person"),i=r?n.findIndex(e=>isFootage(e)&&e.file===void 0):-1,t=e=>i>=0&&!isFootage(e)&&zOf(e)==="behind-person",o=e=>e!==void 0&&!isFootage(e)&&zOf(e)==="overlay",f=[];n.forEach((e,s)=>{isFootage(e)?(f.push(s),s===i&&n.forEach((c,h)=>{t(c)&&f.push(h)})):!t(e)&&!o(e)&&f.push(s)}),n.forEach((e,s)=>{o(e)&&f.push(s)});const u=[],a=new Map,p=new Map;let d;for(const e of f){const s=n[e];if(!s)continue;if(isFootage(s)){d=void 0,p.set(e,u.length);continue}const c=t(s)?"behind":o(s)?"overlay":"front";d!==c&&(u.push({layers:[],...c==="behind"?{behindPerson:!0}:{},...c==="overlay"?{overlay:!0}:{}}),d=c),a.set(e,u.length-1)}return{takeAt:i,hasBehind:r,order:f,planes:u,planeOf:a,overOf:p,overlaid:e=>o(n[e])}}
@@ -0,0 +1,145 @@
1
+ import { type Problem } from "@allyhub/diagnostics";
2
+ import { type DataFile, type MediaInfo, type MessagesFile, type MessageTree, type MessageValue, type TextAnchor } from "@allyhub/piece";
3
+ import { type LineAnchor, type MessageHint, type Reads } from "@allyhub/piece";
4
+ export interface ReadLogOptions {
5
+ lang: string | undefined;
6
+ defaultLang: string | undefined;
7
+ own: MessagesFile;
8
+ fallback: MessagesFile;
9
+ /** Key → the anchors of a line a script wrote them in, for each of the two. */
10
+ anchors?: {
11
+ own?: Readonly<Record<string, readonly TextAnchor[]>>;
12
+ fallback?: Readonly<Record<string, readonly TextAnchor[]>>;
13
+ };
14
+ /** Repo path → media, with URLs valid in this page. */
15
+ media: Record<string, MediaInfo>;
16
+ /** The piece's file: ctx.asset and ctx.data paths are relative to it. */
17
+ file: string;
18
+ /** Repo path → data files ctx.data can read. */
19
+ data?: Record<string, DataFile>;
20
+ /** The folder of the shared words, where a missing key is to be added. */
21
+ text?: string;
22
+ /** The piece's script, with `{locale}` for each language: where the keys under its id are written. */
23
+ script?: string;
24
+ /** What its keys start with (`messagePrefix` of the piece's id). */
25
+ prefix?: string;
26
+ }
27
+ export declare class ReadLog {
28
+ private readonly messages;
29
+ private readonly media;
30
+ private readonly data;
31
+ /** Text that s() or s.with() returned → the key it came from (the latest). */
32
+ private readonly keyByText;
33
+ /** Media looked for that is not there yet (a say's stem): read as missing. */
34
+ private readonly missingReads;
35
+ private readonly missingMedia;
36
+ readonly problems: Problem[];
37
+ /** Every display text read, for matching against the screen. */
38
+ readonly texts: Set<string>;
39
+ /**
40
+ * Hears every read as it happens (a message's value, a medium's or data
41
+ * file's sha256): the runtime records what each part reads while it
42
+ * mounts and draws, for the part's identity.
43
+ */
44
+ tap: ((what: string, value: string) => void) | undefined;
45
+ private readonly opts;
46
+ private readonly fileOf;
47
+ constructor(opts: ReadLogOptions);
48
+ private value;
49
+ private record;
50
+ /** The locale a key's value comes from, for plural rules. */
51
+ private locale;
52
+ /** The text of a key for these inputs, recorded. */
53
+ private text;
54
+ /** s(key, hint): this language's text, else the default language's. */
55
+ s(key: string, hint?: MessageHint): string;
56
+ /**
57
+ * s.with(key, inputs, hint): the variant these inputs select (plurals,
58
+ * selectors), with its {name} variables filled.
59
+ */
60
+ with(key: string, inputs: Readonly<Record<string, string | number>>, hint?: MessageHint): string;
61
+ /**
62
+ * The message a text came from (the latest s() or s.with() that returned
63
+ * it), and how it reads aloud: its `speak` when it has one.
64
+ */
65
+ spokenOf(text: string): {
66
+ key: string;
67
+ speak: string;
68
+ anchors?: LineAnchor[];
69
+ } | undefined;
70
+ /** s.list(prefix): numbered keys under the prefix, in order. */
71
+ list(prefix: string, hint?: MessageHint): MessageTree[];
72
+ /** The keys under a prefix (`<prefix>.…`), in either language, without recording a read. */
73
+ keysUnder(prefix: string): string[];
74
+ /** The raw value of a key without recording a read. */
75
+ peek(key: string): MessageValue | undefined;
76
+ /** Marks a key as read (e.g. a page's "<prefix>.<page>.notes"). */
77
+ touch(key: string): MessageValue | undefined;
78
+ /** Media by repo path, recorded as read. undefined when it is not in the project. */
79
+ mediaAt(path: string): MediaInfo | undefined;
80
+ /**
81
+ * Media looked for by a path that is not there yet (a say's file, by its
82
+ * stem): recorded, so the digest changes once it is made.
83
+ */
84
+ missing(path: string): void;
85
+ /** A problem found while reading (once per message). */
86
+ report(p: Problem): void;
87
+ /**
88
+ * Paths are relative to the file that wrote the output read (another
89
+ * piece's, for a piece that reuses its outputs), else the piece's.
90
+ */
91
+ relativeTo(file: string): void;
92
+ private base;
93
+ /** The file paths are relative to. */
94
+ private get pathBase();
95
+ /** Where a path named in `base` (the folder of the module that wrote it; none: the piece's) is from, for a message. */
96
+ baseOf(base?: string): string;
97
+ /** A path named in `base` (a folder; none: the piece's file's), as a project path. */
98
+ private resolve;
99
+ /**
100
+ * ctx.asset(path): media relative to the piece's file, or to `base`, the
101
+ * file the code that named it was written in (pathBase).
102
+ */
103
+ asset(path: string, base?: string): MediaInfo;
104
+ /** A media file that may not be there: found and recorded, or recorded as missing; never a problem. */
105
+ optionalAsset(path: string): MediaInfo | undefined;
106
+ /**
107
+ * A data file the piece may not have yet (a take's edits file, which the
108
+ * preview's transcript editor creates): read and recorded when it is
109
+ * there; recorded as missing (so the digest changes once it is made)
110
+ * when not, without a problem.
111
+ */
112
+ optionalData(path: string, base?: string): {
113
+ full?: string;
114
+ found: boolean;
115
+ value?: unknown;
116
+ error?: string;
117
+ };
118
+ /** ctx.data(path): a data file relative to the piece's file, parsed. */
119
+ readData(path: string): unknown;
120
+ /** reads(), with each message attributed to the part its key names. */
121
+ reads(prefix: string, partKeys: readonly string[]): Reads;
122
+ /** Translation problems: keys that fell back to the default language (S002). */
123
+ translationProblems(): Problem[];
124
+ /**
125
+ * The keys a text on screen came from: the keys whose display text is
126
+ * exactly `text` when there are any, else the keys whose display text
127
+ * contains it (a word of a split line, a line being typed), and then only
128
+ * for a text with at least `KEY_PART_MIN` letters or digits. A comma or a
129
+ * single digit is in many messages and came from none of them: naming a
130
+ * key for it would send its reader to the wrong line. Spaces do not
131
+ * count: a block's text is its text nodes joined with a space, which a
132
+ * line drawn as several spans did not have between them.
133
+ */
134
+ keysShowing(text: string): string[];
135
+ /** The messages file of this language, for problem locations. */
136
+ get file(): string;
137
+ /**
138
+ * The file the keys a text shows are written in, for its problem's
139
+ * location: the piece's script where they are all its own (in this
140
+ * language where it has them, else the default's), else the shared
141
+ * words of this language.
142
+ */
143
+ fileOfKeys(keys: readonly string[]): string;
144
+ }
145
+ //# sourceMappingURL=reads.d.ts.map
@@ -0,0 +1,2 @@
1
+ /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
+ import{problem as l}from"@allyhub/diagnostics";import{pathIn as m,asUrlString as d,displayOf as c,fillMessage as f,messageList as g,repoPath as u,speakOf as A,textsOf as p,hasMarks as w,withoutMarks as O}from"@allyhub/piece";import{lineAnchors as $}from"@allyhub/piece";import{TEXT_DIR as v}from"@allyhub/formats";const b="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII=",k=3;export class ReadLog{messages=new Map;media=new Map;data=new Map;keyByText=new Map;missingReads=new Set;missingMedia=new Set;problems=[];texts=new Set;tap;opts;fileOf;constructor(e){this.opts=e,this.fileOf=t=>`${e.text??v}/${t??"en"}.json`}value(e){const{own:t,fallback:i,lang:s,defaultLang:n}=this.opts;return Object.hasOwn(t,e)?{value:t[e],fellBack:!1}:Object.hasOwn(i,e)?{value:i[e],fellBack:s!==n}:{value:void 0,fellBack:!1}}record(e,t,i){if(this.messages.has(e))return;const{value:s,fellBack:n}=this.value(e);if(this.messages.set(e,{key:e,kind:t,fallback:n,...i?{hint:i}:{}}),t!=="list"&&s===void 0){const a=e.slice(e.indexOf(".")+1),o=Object.keys(this.opts.fallback).find(h=>h.endsWith(`.${a}`));this.problems.push(l("AK-S001",`The code reads ${e}, but the default language ${this.opts.defaultLang??"(no messages)"} does not have it. ${o===void 0?`Add it to ${this.fileOfKeys([e])}.`:`It has ${o}: read that, or give the piece the id "${e.slice(0,e.indexOf("."))}".`}`,{where:{file:this.fileOfKeys([e])}}))}}locale(e){return Object.hasOwn(this.opts.own,e)?this.opts.lang:this.opts.defaultLang}text(e,t,i){this.record(e,"text",t);const{value:s}=this.value(e);this.tap?.(`m:${e}`,JSON.stringify(s??null));for(const n of p(s))this.texts.add(n);return c(s,i,this.locale(e))??""}s(e,t){const i=this.text(e,t,{});return i&&this.keyByText.set(i,{key:e,inputs:{}}),i}with(e,t,i){const s=f(this.text(e,i,t),t);return this.texts.add(s),s&&this.keyByText.set(s,{key:e,inputs:t}),s}spokenOf(e){const t=this.keyByText.get(e);if(!t)return;const i=A(this.value(t.key).value,t.inputs,this.locale(t.key)),s=(Object.hasOwn(this.opts.own,t.key)?this.opts.anchors?.own:this.opts.anchors?.fallback)?.[t.key];return{key:t.key,speak:i===void 0?e:f(i,t.inputs),...s&&i!==void 0?{anchors:$(i,s,n=>f(n,t.inputs))}:{}}}list(e,t){const i=[],s=new Set([...Object.keys(this.opts.own),...Object.keys(this.opts.fallback)]),n=g(a=>c(this.value(a).value,{},this.locale(a)),s,e,i);this.record(e,"list",t),i.length===0&&this.problems.push(l("AK-S001",`The code reads the list ${e}, but the default language has no keys like ${e}.0, ${e}.1. Add them to ${this.fileOfKeys([`${e}.0`])}.`,{where:{file:this.fileOfKeys([`${e}.0`])}}));for(const a of i)this.text(a,void 0,{});return n}keysUnder(e){const t=`${e}.`;return[...new Set([...Object.keys(this.opts.own),...Object.keys(this.opts.fallback)])].filter(i=>i.startsWith(t))}peek(e){return this.value(e).value}touch(e){const{value:t,fellBack:i}=this.value(e);return this.tap?.(`m:${e}`,JSON.stringify(t??null)),t!==void 0&&!this.messages.has(e)&&this.messages.set(e,{key:e,kind:"text",fallback:i}),t}mediaAt(e){const t=this.opts.media[e];return t&&this.media.set(e,d(t)),this.tap?.(`f:${e}`,t?.sha256??""),t}missing(e){this.missingReads.add(e)}report(e){this.problems.some(t=>t.code===e.code&&t.message===e.message)||this.problems.push(e)}relativeTo(e){this.base=e}base;get pathBase(){return this.base??this.opts.file}baseOf(e){return e===void 0?this.pathBase:e===""?"the project's root":e}resolve(e,t){return t===void 0?u(this.pathBase,e):m(t,e)}asset(e,t){const i=this.baseOf(t),s=this.resolve(e,t),n=s===void 0?void 0:this.mediaAt(s);if(n)return n;const a=s??e;return this.missingMedia.has(a)||(this.missingMedia.add(a),this.problems.push(l("AK-A001",s===void 0?`"${e}" points outside the project. Put media in the project, with a path relative to ${i}.`:`"${e}" (named in ${i}) cannot find ${s}: the path is wrong, or the file is not in the project yet.`,{where:{file:i}}))),d({path:s??e,sha256:"",kind:"image",url:b,width:1,height:1})}optionalAsset(e){const t=u(this.pathBase,e);if(t===void 0)return;const i=this.mediaAt(t);return i||this.missing(t),i?d(i):void 0}optionalData(e,t){const i=this.resolve(e,t);if(i===void 0)return{found:!1};const s=this.opts.data?.[i];return this.data.set(i,s?.sha256??""),s?s.error===void 0?{full:i,found:!0,value:s.value}:{full:i,found:!0,error:s.error}:{full:i,found:!1}}readData(e){const t=u(this.pathBase,e),i=t===void 0?void 0:this.opts.data?.[t];if(t!==void 0&&i){if(this.data.set(t,i.sha256),this.tap?.(`d:${t}`,i.sha256),i.error===void 0)return i.value;this.missingMedia.has(t)||(this.missingMedia.add(t),this.problems.push(l("AK-R001",`Cannot read the data file ${t}: ${i.error}`,{where:{file:t}})));return}this.missingMedia.has(e)||(this.missingMedia.add(e),this.problems.push(l("AK-A001",t===void 0?`ctx.data("${e}") points outside the project. Put data files in the project, with a path relative to ${this.pathBase}.`:`ctx.data("${e}") cannot find ${t}: the path is wrong, or the file is not CSV, YAML or JSON.`,{where:{file:this.pathBase}})))}reads(e,t){const i=s=>{if(!s.startsWith(`${e}.`))return;const n=s.slice(e.length+1).split(".")[0]??"";return t.includes(n)?n:void 0};return{messages:[...this.messages.values()].map(s=>{const n=i(s.key);return n===void 0?s:{...s,part:n}}).sort((s,n)=>s.key<n.key?-1:s.key>n.key?1:0),media:[...[...this.media.values()].map(s=>({path:s.path,sha256:s.sha256,kind:s.kind})),...[...this.missingReads].filter(s=>!this.media.has(s)).map(s=>({path:s,sha256:"",kind:"audio"}))].sort((s,n)=>s.path<n.path?-1:1),data:[...this.data.entries()].map(([s,n])=>({path:s,sha256:n})).sort((s,n)=>s.path<n.path?-1:1)}}translationProblems(){const e=[];for(const t of this.messages.values())t.fallback&&t.kind==="text"&&e.push(l("AK-S002",`${this.opts.lang??""} is missing a translation: ${t.key}. The ${this.opts.defaultLang??""} text was used.`,{where:{file:this.fileOf(this.opts.lang)}}));return e}keysShowing(e){const t=o=>o.replace(/[\s\p{Cf}]+/gu,""),i=t(e);if(i==="")return[];const s=[],n=[];for(const o of this.messages.values()){const h=p(this.peek(o.key)).flatMap(r=>w(r)?[r,O(r)]:[r]).map(t);h.includes(i)?s.push(o.key):h.some(r=>r.includes(i))&&n.push(o.key)}return s.length>0?s:(i.match(/[\p{L}\p{N}]/gu)?.length??0)>=k?n:[]}get file(){return this.fileOf(this.opts.lang)}fileOfKeys(e){const{script:t,prefix:i,own:s,lang:n,defaultLang:a}=this.opts;if(t===void 0||i===void 0||e.length===0||!e.every(h=>h.startsWith(i)))return this.file;const o=e.every(h=>Object.hasOwn(s,h));return t.replace("{locale}",(o?n:a)??"en")}}
@@ -0,0 +1,26 @@
1
+ import { type ShapeKind } from "@allyhub/piece";
2
+ /** What a shape's path is made from. */
3
+ export interface ShapeGeometry {
4
+ readonly shape: ShapeKind;
5
+ /** [x, y, w, h], shares of the frame; default all of it. */
6
+ readonly box?: readonly [number, number, number, number];
7
+ /** A path's data, the board's pixels (shape "path"). */
8
+ readonly path?: string;
9
+ /** A rectangle's corners, px. */
10
+ readonly radius?: number;
11
+ /** A polygon's sides (3 to 100). */
12
+ readonly sides?: number;
13
+ /** A polygon as a star: its inner points' distance, percent of its outer (100: a polygon). */
14
+ readonly starRatio?: number;
15
+ }
16
+ /** The shape's box in the frame's pixels. */
17
+ export declare function shapeBox(g: ShapeGeometry, frame: {
18
+ width: number;
19
+ height: number;
20
+ }): [number, number, number, number];
21
+ /** The shape's path data, the frame's pixels. */
22
+ export declare function shapePath(g: ShapeGeometry, frame: {
23
+ width: number;
24
+ height: number;
25
+ }): string;
26
+ //# sourceMappingURL=shape-path.d.ts.map
@@ -0,0 +1,2 @@
1
+ /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
+ import{SHAPE_DEFAULTS as x}from"@allyhub/piece";const t=c=>String(Math.round(c*1e3)/1e3);export function shapeBox(c,i){const[n,s,o,r]=c.box??[0,0,1,1];return[n*i.width,s*i.height,o*i.width,r*i.height]}export function shapePath(c,i){if(c.shape==="path")return c.path??"";const[n,s,o,r]=shapeBox(c,i);switch(c.shape){case"ellipse":{const $=o/2,e=r/2,h=n+$;return`M${t(h-$)} ${t(s+e)}A${t($)} ${t(e)} 0 1 0 ${t(h+$)} ${t(s+e)}A${t($)} ${t(e)} 0 1 0 ${t(h-$)} ${t(s+e)}Z`}case"triangle":return`M${t(n+o/2)} ${t(s)}L${t(n+o)} ${t(s+r)}L${t(n)} ${t(s+r)}Z`;case"line":{const $=s+r/2;return`M${t(n)} ${t($)}L${t(n+o)} ${t($)}`}case"polygon":{const $=Math.round(c.sides??x.sides),e=(c.starRatio??100)/100,h=n+o/2,A=s+r/2,u=[],p=e<1?$*2:$;for(let a=0;a<p;a++){const M=-Math.PI/2+a*2*Math.PI/p,d=e<1&&a%2===1?e:1;u.push(`${t(h+Math.cos(M)*o*d/2)} ${t(A+Math.sin(M)*r*d/2)}`)}return`M${u.join("L")}Z`}default:{const $=Math.min(c.radius??x.radius,o/2,r/2);return $<=0?`M${t(n)} ${t(s)}H${t(n+o)}V${t(s+r)}H${t(n)}Z`:`M${t(n+$)} ${t(s)}H${t(n+o-$)}A${t($)} ${t($)} 0 0 1 ${t(n+o)} ${t(s+$)}V${t(s+r-$)}A${t($)} ${t($)} 0 0 1 ${t(n+o-$)} ${t(s+r)}H${t(n+$)}A${t($)} ${t($)} 0 0 1 ${t(n)} ${t(s+r-$)}V${t(s+$)}A${t($)} ${t($)} 0 0 1 ${t(n+$)} ${t(s)}Z`}}}
@@ -0,0 +1,56 @@
1
+ import { type Problem } from "@allyhub/diagnostics";
2
+ import { type Format, type Look, type SizeInfo } from "@allyhub/piece";
3
+ import type { Env } from "./env.js";
4
+ import { type StyleWatch } from "./styles.js";
5
+ /** What the stage is laid out for: a piece's frame, format, look and whether it is transparent. */
6
+ export interface DressedPiece {
7
+ readonly dims: SizeInfo;
8
+ readonly look: Look;
9
+ readonly format: Format;
10
+ readonly options: {
11
+ readonly transparent?: boolean | undefined;
12
+ };
13
+ }
14
+ /** What a stage's watchers say a problem was drawn by: a part (a board), its element and its layers'. */
15
+ export interface MountedOn {
16
+ readonly el: HTMLElement;
17
+ readonly part: {
18
+ readonly key: string;
19
+ };
20
+ readonly layers: readonly {
21
+ readonly el: HTMLElement;
22
+ readonly spec: {
23
+ readonly component: string;
24
+ };
25
+ readonly index: number;
26
+ }[];
27
+ }
28
+ export interface StageHost {
29
+ readonly el: HTMLElement;
30
+ /** Style values the browser drops, watched while checking (the outer output's, for an embedded one). */
31
+ readonly styles: StyleWatch | undefined;
32
+ /**
33
+ * Waits for the pictures a moment shows to decode, at most `limitMs`;
34
+ * the sources still not decoded then.
35
+ */
36
+ readonly picturesDrawn: (limitMs: number) => Promise<string[]>;
37
+ /** Decodes every picture on the stage now (a check's watch). */
38
+ sweep(): Promise<void>;
39
+ /** Lays the stage out for the piece: size, look, background. Its background colour as the footage plane draws it. */
40
+ dress(piece: DressedPiece): string;
41
+ /** Whether the stage draws over nothing (a render's graphics, a transparent video). */
42
+ readonly clear: boolean;
43
+ /**
44
+ * A CSS colour as "#rrggbb" (or "#rrggbbaa"), for the host's footage
45
+ * plane: whatever colour the look or the piece gives, as the browser
46
+ * draws it in sRGB on this stage (its variables resolve here).
47
+ */
48
+ readonly cssColor: (color: string) => string;
49
+ /** Takes the records of changes outside the stage while what changed is still there. */
50
+ takeOutside(): void;
51
+ /** What the watchers found, each with the part whose element holds it. */
52
+ problems(mounted: readonly MountedOn[]): Problem[];
53
+ dispose(): void;
54
+ }
55
+ export declare function createStage(env: Env, el: HTMLElement): StageHost;
56
+ //# sourceMappingURL=stage.d.ts.map
@@ -0,0 +1,2 @@
1
+ /*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
2
+ import{problem as $}from"@allyhub/diagnostics";import{addLayerRule as L,lookCss as P}from"@allyhub/piece";import{selectorOf as E}from"./inspect.js";import{pictureHint as x,pictureWaiter as A,watchPictures as H}from"./pictures.js";import{rejectedMessage as K,watchStyles as M}from"./styles.js";const p=c=>c.toString(16).padStart(2,"0");export function createStage(c,n){const{options:m,embed:g}=c,f=m.purpose==="check"&&!g,b=f?M():void 0,v=f?H(n):void 0,h=[],R=A(n,t=>{h.some(o=>o.el===t.el&&o.src===t.src)||h.push(t)}),y=new Set,S=t=>!n.contains(t.target)&&!(t.target instanceof HTMLElement&&t.target.dataset.akHolder===""),w=f?new MutationObserver(t=>{for(const o of t)S(o)&&y.add(o.target.nodeName.toLowerCase())}):void 0;let u=!1;const C=t=>{const o=document.createElement("div");o.style.color=t,n.append(o);const i=getComputedStyle(o).color;o.remove();const s=document.createElement("canvas");s.width=1,s.height=1;const a=s.getContext("2d",{willReadFrequently:!0});if(!a)return"#000000";a.fillStyle=i,a.fillRect(0,0,1,1);const[e=0,r=0,d=0,l=255]=a.getImageData(0,0,1,1).data;return`#${p(e)}${p(r)}${p(d)}${l===255?"":p(l)}`},O=()=>{w?.takeRecords().forEach(t=>{S(t)&&y.add(t.target.nodeName.toLowerCase())})};return{el:n,styles:b,picturesDrawn:R,get clear(){return u},async sweep(){await v?.sweep()},cssColor:C,takeOutside:O,dress(t){const{dims:o,look:i}=t;u=m.purpose==="render"&&!g||t.options.transparent===!0,n.replaceChildren(),L(n.ownerDocument),n.dataset.format=t.format,c.lang!==void 0&&(n.lang=c.lang),Object.assign(n.style,{position:"relative",width:`${String(o.width)}px`,height:`${String(o.height)}px`,overflow:"hidden",background:u?"transparent":"var(--ak-color-bg)",color:"var(--ak-color-fg)",fontFamily:"var(--ak-font-body)"});for(const[e,r]of Object.entries(P(i)))n.style.setProperty(e,r);const a=t.options.transparent===!0?"transparent":C("var(--ak-color-bg)");return u&&m.purpose!=="play"&&!g&&(document.documentElement.style.background="transparent",document.body.style.background="transparent"),w?.observe(document.documentElement,{subtree:!0,childList:!0,attributes:!0,characterData:!0}),a},problems(t){O();const o=[...y].map(e=>$("AK-R003",`Piece code changed <${e}> outside the stage. Draw only inside each layer's own element.`)),i=(b?.rejected()??[]).map(e=>{const r=e.el&&n.contains(e.el)?E(e.el,n):void 0;return $("AK-R004",K(e,r?` on ${r}`:""),{part:e.part,...r?{where:{selector:r}}:{}})}),s=v?.broken()??[],a=[...s,...h.filter(e=>!s.some(r=>r.el===e.el&&r.src===e.src))].map(e=>{const r=t.find(k=>k.el.contains(e.el)),d=r?.layers.find(k=>k.el.contains(e.el)),l=n.contains(e.el)?E(e.el,n):void 0,j=d?`${d.spec.component} (layer ${String(d.index+1)}) in part ${r?.part.key??""}`:r?`Part ${r.part.key}`:"The stage",D=e.via==="img"?`<img src="${e.src}">`:`a background image, url("${e.src}")`;return $("AK-A005",`${j} draws a picture that does not load: ${D}. ${x(e.src)}`,{...r?{part:r.part.key}:{},...l?{where:{selector:l}}:{}})});return[...o,...i,...a]},dispose(){w?.disconnect(),n.replaceChildren()}}}