allyhub 0.12.0 → 0.13.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 (363) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist/commands/frames/report.js +1 -1
  3. package/dist/commands/frames.js +11 -11
  4. package/dist/node_modules/@allyhub/3d-extension/package.json +1 -1
  5. package/dist/node_modules/@allyhub/audio/dist/render.js +1 -1
  6. package/dist/node_modules/@allyhub/audio/package.json +1 -1
  7. package/dist/node_modules/@allyhub/browser/package.json +1 -1
  8. package/dist/node_modules/@allyhub/build/dist/media.js +1 -1
  9. package/dist/node_modules/@allyhub/build/package.json +1 -1
  10. package/dist/node_modules/@allyhub/canvas-extension/package.json +1 -1
  11. package/dist/node_modules/@allyhub/canvas-model/package.json +1 -1
  12. package/dist/node_modules/@allyhub/chart/dist/chart-file.js +1 -1
  13. package/dist/node_modules/@allyhub/chart/dist/chart-xml.js +3 -2
  14. package/dist/node_modules/@allyhub/chart/dist/chart.js +2 -1
  15. package/dist/node_modules/@allyhub/chart/dist/color.js +2 -0
  16. package/dist/node_modules/@allyhub/chart/dist/index.js +1 -1
  17. package/dist/node_modules/@allyhub/chart/dist/svg.js +1 -1
  18. package/dist/node_modules/@allyhub/chart/package.json +1 -1
  19. package/dist/node_modules/@allyhub/check/package.json +1 -1
  20. package/dist/node_modules/@allyhub/cloud/dist/call.js +1 -1
  21. package/dist/node_modules/@allyhub/cloud/dist/records.d.ts +1 -1
  22. package/dist/node_modules/@allyhub/cloud/dist/uploads.d.ts +1 -1
  23. package/dist/node_modules/@allyhub/cloud/dist/uploads.js +1 -1
  24. package/dist/node_modules/@allyhub/cloud/package.json +1 -1
  25. package/dist/node_modules/@allyhub/components/package.json +1 -1
  26. package/dist/node_modules/@allyhub/dev-server/dist/live.js +1 -1
  27. package/dist/node_modules/@allyhub/dev-server/dist/server.js +1 -1
  28. package/dist/node_modules/@allyhub/dev-server/package.json +1 -1
  29. package/dist/node_modules/@allyhub/diagnostics/package.json +1 -1
  30. package/dist/node_modules/@allyhub/doc/package.json +1 -1
  31. package/dist/node_modules/@allyhub/doc-extension/package.json +1 -1
  32. package/dist/node_modules/@allyhub/doc-print/package.json +1 -1
  33. package/dist/node_modules/@allyhub/export/package.json +1 -1
  34. package/dist/node_modules/@allyhub/extension-api/package.json +1 -1
  35. package/dist/node_modules/@allyhub/extension-host/package.json +1 -1
  36. package/dist/node_modules/@allyhub/formats/dist/data/deck-code.d.ts +130 -0
  37. package/dist/node_modules/@allyhub/formats/dist/data/deck-code.js +1 -1
  38. package/dist/node_modules/@allyhub/formats/dist/data/gen.d.ts +3 -1
  39. package/dist/node_modules/@allyhub/formats/dist/data/gen.js +1 -1
  40. package/dist/node_modules/@allyhub/formats/dist/data/sheet.d.ts +512 -166
  41. package/dist/node_modules/@allyhub/formats/dist/data/sheet.js +1 -1
  42. package/dist/node_modules/@allyhub/formats/dist/data/slides.d.ts +2523 -136
  43. package/dist/node_modules/@allyhub/formats/dist/data/slides.js +1 -1
  44. package/dist/node_modules/@allyhub/formats/dist/schemas.d.ts +931 -87
  45. package/dist/node_modules/@allyhub/formats/dist/schemas.js +1 -1
  46. package/dist/node_modules/@allyhub/formats/package.json +1 -1
  47. package/dist/node_modules/@allyhub/i18n/package.json +1 -1
  48. package/dist/node_modules/@allyhub/image-draw/package.json +1 -1
  49. package/dist/node_modules/@allyhub/image-extension/package.json +1 -1
  50. package/dist/node_modules/@allyhub/image-measure/package.json +1 -1
  51. package/dist/node_modules/@allyhub/image-psd/package.json +1 -1
  52. package/dist/node_modules/@allyhub/image-render/package.json +1 -1
  53. package/dist/node_modules/@allyhub/image-runtime/package.json +1 -1
  54. package/dist/node_modules/@allyhub/image-sdk/package.json +1 -1
  55. package/dist/node_modules/@allyhub/jobs/package.json +1 -1
  56. package/dist/node_modules/@allyhub/linkedin-extension/package.json +1 -1
  57. package/dist/node_modules/@allyhub/linkedin-model/package.json +1 -1
  58. package/dist/node_modules/@allyhub/linkedin-view/package.json +1 -1
  59. package/dist/node_modules/@allyhub/measure/package.json +1 -1
  60. package/dist/node_modules/@allyhub/media/dist/run.d.ts +6 -1
  61. package/dist/node_modules/@allyhub/media/dist/run.js +2 -2
  62. package/dist/node_modules/@allyhub/media/package.json +1 -1
  63. package/dist/node_modules/@allyhub/media-extension/package.json +1 -1
  64. package/dist/node_modules/@allyhub/model/package.json +1 -1
  65. package/dist/node_modules/@allyhub/ooxml/dist/color.js +1 -1
  66. package/dist/node_modules/@allyhub/ooxml/dist/ext.js +1 -1
  67. package/dist/node_modules/@allyhub/ooxml/dist/index.js +1 -1
  68. package/dist/node_modules/@allyhub/ooxml/dist/transform.js +2 -0
  69. package/dist/node_modules/@allyhub/ooxml/package.json +5 -1
  70. package/dist/node_modules/@allyhub/piece/dist/gen.d.ts +4 -4
  71. package/dist/node_modules/@allyhub/piece/dist/media.d.ts +2 -2
  72. package/dist/node_modules/@allyhub/piece/package.json +1 -1
  73. package/dist/node_modules/@allyhub/project/dist/part-keys.js +1 -1
  74. package/dist/node_modules/@allyhub/project/package.json +1 -1
  75. package/dist/node_modules/@allyhub/protocol/dist/account.d.ts +35 -0
  76. package/dist/node_modules/@allyhub/protocol/dist/account.js +1 -1
  77. package/dist/node_modules/@allyhub/protocol/dist/cloud.d.ts +19 -0
  78. package/dist/node_modules/@allyhub/protocol/dist/cloud.js +1 -1
  79. package/dist/node_modules/@allyhub/protocol/dist/editor.d.ts +35 -20
  80. package/dist/node_modules/@allyhub/protocol/dist/editor.js +1 -1
  81. package/dist/node_modules/@allyhub/protocol/dist/events.d.ts +3 -3
  82. package/dist/node_modules/@allyhub/protocol/dist/frame.d.ts +28 -2
  83. package/dist/node_modules/@allyhub/protocol/dist/frame.js +1 -1
  84. package/dist/node_modules/@allyhub/protocol/dist/jobs.d.ts +6 -6
  85. package/dist/node_modules/@allyhub/protocol/dist/snapshots.d.ts +73 -10
  86. package/dist/node_modules/@allyhub/protocol/dist/snapshots.js +1 -1
  87. package/dist/node_modules/@allyhub/protocol/dist/tools.d.ts +9 -9
  88. package/dist/node_modules/@allyhub/protocol/package.json +1 -1
  89. package/dist/node_modules/@allyhub/registry/package.json +1 -1
  90. package/dist/node_modules/@allyhub/render/package.json +1 -1
  91. package/dist/node_modules/@allyhub/report-extension/dist/cli/find.js +1 -1
  92. package/dist/node_modules/@allyhub/report-extension/dist/cli/index.js +3 -3
  93. package/dist/node_modules/@allyhub/report-extension/dist/cli/picture.js +29 -1
  94. package/dist/node_modules/@allyhub/report-extension/package.json +1 -1
  95. package/dist/node_modules/@allyhub/report-extension/styles/allyhub/STYLE.md +11 -4
  96. package/dist/node_modules/@allyhub/report-extension/styles/allyhub/style.css +6 -2
  97. package/dist/node_modules/@allyhub/report-extension/styles/allyhub/style.json +1 -1
  98. package/dist/node_modules/@allyhub/report-extension/styles/allyhub/tokens.js +3 -1
  99. package/dist/node_modules/@allyhub/runtime/package.json +1 -1
  100. package/dist/node_modules/@allyhub/runtimes/package.json +1 -1
  101. package/dist/node_modules/@allyhub/scaffold/package.json +1 -1
  102. package/dist/node_modules/@allyhub/scenery/package.json +1 -1
  103. package/dist/node_modules/@allyhub/scenery-host/package.json +1 -1
  104. package/dist/node_modules/@allyhub/sheet/dist/annotations.js +2 -0
  105. package/dist/node_modules/@allyhub/sheet/dist/api/capabilities.js +1 -1
  106. package/dist/node_modules/@allyhub/sheet/dist/api/index.js +1 -1
  107. package/dist/node_modules/@allyhub/sheet/dist/api/rules.js +1 -1
  108. package/dist/node_modules/@allyhub/sheet/dist/api/styles.js +1 -1
  109. package/dist/node_modules/@allyhub/sheet/dist/api/workbook.js +1 -1
  110. package/dist/node_modules/@allyhub/sheet/dist/arrange.js +1 -1
  111. package/dist/node_modules/@allyhub/sheet/dist/data-tools.js +2 -0
  112. package/dist/node_modules/@allyhub/sheet/dist/edit.js +1 -1
  113. package/dist/node_modules/@allyhub/sheet/dist/fill.js +1 -1
  114. package/dist/node_modules/@allyhub/sheet/dist/filter.js +1 -1
  115. package/dist/node_modules/@allyhub/sheet/dist/formula/rewrite.js +1 -1
  116. package/dist/node_modules/@allyhub/sheet/dist/html.js +10 -10
  117. package/dist/node_modules/@allyhub/sheet/dist/index.js +1 -1
  118. package/dist/node_modules/@allyhub/sheet/dist/outline.js +2 -0
  119. package/dist/node_modules/@allyhub/sheet/dist/rich.js +2 -0
  120. package/dist/node_modules/@allyhub/sheet/dist/rules.js +1 -1
  121. package/dist/node_modules/@allyhub/sheet/dist/table-style.js +1 -1
  122. package/dist/node_modules/@allyhub/sheet/dist/table-styles.js +1 -1
  123. package/dist/node_modules/@allyhub/sheet/dist/workbook.js +1 -1
  124. package/dist/node_modules/@allyhub/sheet/dist/xlsx/charts.js +1 -1
  125. package/dist/node_modules/@allyhub/sheet/dist/xlsx/import.js +1 -1
  126. package/dist/node_modules/@allyhub/sheet/dist/xlsx/read.js +2 -2
  127. package/dist/node_modules/@allyhub/sheet/dist/xlsx/runs.js +2 -0
  128. package/dist/node_modules/@allyhub/sheet/dist/xlsx/styles.js +1 -1
  129. package/dist/node_modules/@allyhub/sheet/dist/xlsx/write.js +1 -1
  130. package/dist/node_modules/@allyhub/sheet/package.json +1 -1
  131. package/dist/node_modules/@allyhub/sheet-extension/package.json +1 -1
  132. package/dist/node_modules/@allyhub/slides-core/dist/animation.js +1 -1
  133. package/dist/node_modules/@allyhub/slides-core/dist/api.js +3 -3
  134. package/dist/node_modules/@allyhub/slides-core/dist/capabilities.js +1 -1
  135. package/dist/node_modules/@allyhub/slides-core/dist/chart-api.js +1 -1
  136. package/dist/node_modules/@allyhub/slides-core/dist/check.js +1 -1
  137. package/dist/node_modules/@allyhub/slides-core/dist/enums.js +1 -1
  138. package/dist/node_modules/@allyhub/slides-core/dist/file.js +3 -3
  139. package/dist/node_modules/@allyhub/slides-core/dist/generated/table-styles.js +2 -0
  140. package/dist/node_modules/@allyhub/slides-core/dist/index.js +1 -1
  141. package/dist/node_modules/@allyhub/slides-core/dist/merge.js +1 -1
  142. package/dist/node_modules/@allyhub/slides-core/dist/numbering.js +2 -0
  143. package/dist/node_modules/@allyhub/slides-core/dist/office.js +1 -1
  144. package/dist/node_modules/@allyhub/slides-core/dist/patterns.js +2 -0
  145. package/dist/node_modules/@allyhub/slides-core/dist/resolve.js +1 -1
  146. package/dist/node_modules/@allyhub/slides-core/dist/script.js +2 -2
  147. package/dist/node_modules/@allyhub/slides-core/dist/sdk.js +1 -1
  148. package/dist/node_modules/@allyhub/slides-core/dist/table-style.js +2 -0
  149. package/dist/node_modules/@allyhub/slides-core/package.json +1 -1
  150. package/dist/node_modules/@allyhub/slides-extension/dist/deck-pptx.js +1 -1
  151. package/dist/node_modules/@allyhub/slides-extension/dist/workspace.js +1 -1
  152. package/dist/node_modules/@allyhub/slides-extension/package.json +1 -1
  153. package/dist/node_modules/@allyhub/slides-pptx/dist/audio-icon.js +2 -0
  154. package/dist/node_modules/@allyhub/slides-pptx/dist/import/code.js +3 -3
  155. package/dist/node_modules/@allyhub/slides-pptx/dist/import/index.js +2 -2
  156. package/dist/node_modules/@allyhub/slides-pptx/dist/import/script.js +1 -1
  157. package/dist/node_modules/@allyhub/slides-pptx/dist/read/chart.js +2 -1
  158. package/dist/node_modules/@allyhub/slides-pptx/dist/read/common.js +1 -1
  159. package/dist/node_modules/@allyhub/slides-pptx/dist/read/index.js +2 -2
  160. package/dist/node_modules/@allyhub/slides-pptx/dist/read/shapes.js +1 -1
  161. package/dist/node_modules/@allyhub/slides-pptx/dist/read/table.js +1 -1
  162. package/dist/node_modules/@allyhub/slides-pptx/dist/read/text.js +1 -1
  163. package/dist/node_modules/@allyhub/slides-pptx/dist/read/timing.js +1 -1
  164. package/dist/node_modules/@allyhub/slides-pptx/dist/shapes.js +1 -1
  165. package/dist/node_modules/@allyhub/slides-pptx/dist/table-styles.js +2 -0
  166. package/dist/node_modules/@allyhub/slides-pptx/dist/text.js +1 -1
  167. package/dist/node_modules/@allyhub/slides-pptx/dist/theme.js +1 -1
  168. package/dist/node_modules/@allyhub/slides-pptx/dist/timing.js +1 -1
  169. package/dist/node_modules/@allyhub/slides-pptx/dist/write.js +2 -2
  170. package/dist/node_modules/@allyhub/slides-pptx/dist/xml.js +2 -2
  171. package/dist/node_modules/@allyhub/slides-pptx/package.json +1 -1
  172. package/dist/node_modules/@allyhub/slides-runtime/dist/draw.js +2 -2
  173. package/dist/node_modules/@allyhub/slides-runtime/dist/index.js +1 -1
  174. package/dist/node_modules/@allyhub/slides-runtime/dist/ink.js +1 -1
  175. package/dist/node_modules/@allyhub/slides-runtime/dist/load.js +5 -5
  176. package/dist/node_modules/@allyhub/slides-runtime/package.json +1 -1
  177. package/dist/node_modules/@allyhub/stage/package.json +1 -1
  178. package/dist/node_modules/@allyhub/stage-page/package.json +1 -1
  179. package/dist/node_modules/@allyhub/stage-runtime/dist/runtime.js +101 -49
  180. package/dist/node_modules/@allyhub/stage-runtime/package.json +1 -1
  181. package/dist/node_modules/@allyhub/telemetry/dist/errors.js +2 -0
  182. package/dist/node_modules/@allyhub/telemetry/package.json +5 -1
  183. package/dist/node_modules/@allyhub/video-core/dist/mix-plan.js +1 -1
  184. package/dist/node_modules/@allyhub/video-core/package.json +1 -1
  185. package/dist/node_modules/@allyhub/video-extension/dist/inspect/timeline-text.js +1 -1
  186. package/dist/node_modules/@allyhub/video-extension/package.json +3 -3
  187. package/dist/node_modules/@allyhub/video-measure/package.json +1 -1
  188. package/dist/node_modules/@allyhub/video-sdk/package.json +1 -1
  189. package/dist/node_modules/@allyhub/website/package.json +1 -1
  190. package/dist/node_modules/@allyhub/website-extension/package.json +1 -1
  191. package/dist/node_modules/@allyhub/x-extension/package.json +1 -1
  192. package/dist/node_modules/@allyhub/x-model/package.json +1 -1
  193. package/dist/node_modules/@allyhub/x-view/package.json +1 -1
  194. package/dist/package.json +12 -12
  195. package/editor-web/assets/{abnfDiagram-WEYOIA3C-BKmMA6gn.js → abnfDiagram-WEYOIA3C-D70jg8mE.js} +1 -1
  196. package/editor-web/assets/{architecture-WOLXFQ4H-BEFBgb4k.js → architecture-WOLXFQ4H-CrXS3E8e.js} +1 -1
  197. package/editor-web/assets/{architectureDiagram-ZHVYKT53-_u5YfCjY.js → architectureDiagram-ZHVYKT53-JrBljCOx.js} +1 -1
  198. package/editor-web/assets/arrow-down-DzZjFrBL.js +1 -0
  199. package/editor-web/assets/arrow-up-hdmh9LVD.js +1 -0
  200. package/editor-web/assets/{article-BUmD3xtR.js → article-BWrfVMRA.js} +6 -6
  201. package/editor-web/assets/article-hxHjqzV1.js +7 -0
  202. package/editor-web/assets/{audio-lines-CzuzsGjI.js → audio-lines-1s1eRs4Q.js} +1 -1
  203. package/editor-web/assets/{blockDiagram-RJAE7QA3-DybfaO3Z.js → blockDiagram-RJAE7QA3-BzfC1xTS.js} +1 -1
  204. package/editor-web/assets/{bookmark-Dsd3kHJJ.js → bookmark-Dfji3syX.js} +1 -1
  205. package/editor-web/assets/{button-eGxLxbv9.js → button-EftXSfev.js} +1 -1
  206. package/editor-web/assets/{c4Diagram-XDPPPE54-BfqLHB5i.js → c4Diagram-XDPPPE54-s2TpXKgH.js} +1 -1
  207. package/editor-web/assets/calc-worker-jImBXoeb.js +45 -0
  208. package/editor-web/assets/channel-BFbXY6R0.js +1 -0
  209. package/editor-web/assets/chart-BC3kUUDD.js +2 -0
  210. package/editor-web/assets/{chart-no-axes-column-BVkeF_Mr.js → chart-no-axes-column-CJmeYOSo.js} +1 -1
  211. package/editor-web/assets/{chunk-2E7WHVMD-BVp1I_d0.js → chunk-2E7WHVMD-DyE9v6UX.js} +1 -1
  212. package/editor-web/assets/{chunk-4EMNKR2T-CTdgWEMr.js → chunk-4EMNKR2T-CCunMMcT.js} +1 -1
  213. package/editor-web/assets/{chunk-55XCU76K-7pnsxeaP.js → chunk-55XCU76K-CZgJYrN4.js} +1 -1
  214. package/editor-web/assets/{chunk-7S6XSTFO-Dc0Dvkq7.js → chunk-7S6XSTFO-B01FlTFf.js} +1 -1
  215. package/editor-web/assets/{chunk-AQDTSKZB-VAILIsfx.js → chunk-AQDTSKZB-latWUvVu.js} +1 -1
  216. package/editor-web/assets/{chunk-DSNLSHJZ-CUDx1Rv5.js → chunk-DSNLSHJZ-BHFiQInN.js} +1 -1
  217. package/editor-web/assets/{chunk-HAGFOTED-DAoEe-dJ.js → chunk-HAGFOTED-C4hR36ab.js} +1 -1
  218. package/editor-web/assets/{chunk-HNE4Q36P-g0akya12.js → chunk-HNE4Q36P-CNrxiD2Q.js} +1 -1
  219. package/editor-web/assets/{chunk-NQOKRVIF-hTGjzXdJ.js → chunk-NQOKRVIF-DpyEHKEY.js} +1 -1
  220. package/editor-web/assets/{chunk-UHW7PFBP-BgLV8BIJ.js → chunk-UHW7PFBP-SIEJdixh.js} +1 -1
  221. package/editor-web/assets/{chunk-VQ5W62QI-Bw19OOSD.js → chunk-VQ5W62QI-CxWnQRxx.js} +1 -1
  222. package/editor-web/assets/{chunk-WQQL4CDK-CMST9dyE.js → chunk-WQQL4CDK-CbRuCBm6.js} +1 -1
  223. package/editor-web/assets/{chunk-YZO67HFG-Bbpu36XF.js → chunk-YZO67HFG-Cgu-EQvs.js} +1 -1
  224. package/editor-web/assets/{chunk-ZAUX2LTX-C48Ri0Gs.js → chunk-ZAUX2LTX-pAl5CV3o.js} +1 -1
  225. package/editor-web/assets/{chunk-ZCHMQSOR-DN1g01Oe.js → chunk-ZCHMQSOR-Du5hY-FP.js} +1 -1
  226. package/editor-web/assets/{classDiagram-v2-4MYWR3UA-U6jbPr2d.js → classDiagram-v2-4MYWR3UA-CevU94T6.js} +1 -1
  227. package/editor-web/assets/{collaborator-B1u2td9m.js → collaborator-C6IJkcGR.js} +1 -1
  228. package/editor-web/assets/copy-DvOiv9Ra.js +1 -0
  229. package/editor-web/assets/{createLucideIcon-GFZ_fxLc.js → createLucideIcon-REX213UO.js} +1 -1
  230. package/editor-web/assets/{cynefin-EF2NZ3EQ-gzkai_7-.js → cynefin-EF2NZ3EQ-DBHwpMRJ.js} +1 -1
  231. package/editor-web/assets/{cynefinDiagram-WF24UDRP-DtSekSr6.js → cynefinDiagram-WF24UDRP-CxUzpjvG.js} +1 -1
  232. package/editor-web/assets/{dagre-NK4GIZVX-CiUwYVT6.js → dagre-NK4GIZVX-BAJNBDYO.js} +1 -1
  233. package/editor-web/assets/{diagram-CBK3MWTC-r9XHCV-k.js → diagram-CBK3MWTC-BQW9Fbw-.js} +1 -1
  234. package/editor-web/assets/{diagram-I5XIIV2D-DxVsDZ34.js → diagram-I5XIIV2D-DQBROUfn.js} +1 -1
  235. package/editor-web/assets/{diagram-ODIL2UCW-B0eNQoHV.js → diagram-ODIL2UCW-DEoK31qy.js} +1 -1
  236. package/editor-web/assets/{diagram-PFBEJUXE-C7f2MfJT.js → diagram-PFBEJUXE-BTCa2We1.js} +1 -1
  237. package/editor-web/assets/{diagram-RJA3I4VV-CSXcnvct.js → diagram-RJA3I4VV-DNM8qWC3.js} +1 -1
  238. package/editor-web/assets/{diagram-TYUNFSNR-DXzOD_ii.js → diagram-TYUNFSNR-BcKpED4d.js} +1 -1
  239. package/editor-web/assets/dist-90dg0B0d.js +2 -0
  240. package/editor-web/assets/dist-BSPs7tZR.js +1 -0
  241. package/editor-web/assets/dist-CP9XwbBS.js +45 -0
  242. package/editor-web/assets/dist-CRxtC7DG.js +24 -0
  243. package/editor-web/assets/{dist-CC7OeU1e.js → dist-Cmnq14RO.js} +3 -3
  244. package/editor-web/assets/dist-CrZwqOm2.js +1 -0
  245. package/editor-web/assets/dist-CzUWTcvC.js +38 -0
  246. package/editor-web/assets/dist-D2a_y4AE.js +1 -0
  247. package/editor-web/assets/{dist-DDv_SbKw.js → dist-DMZ1VHPK.js} +1 -1
  248. package/editor-web/assets/dist-DYnXIW8F.js +16 -0
  249. package/editor-web/assets/{dist-BuWaZ3Y4.js → dist-Dpet39Yp.js} +30 -30
  250. package/editor-web/assets/dist-Dre4Cwpz.js +1 -0
  251. package/editor-web/assets/dist-RkxskWGK.js +5 -0
  252. package/editor-web/assets/dist-aANR6S2I.js +3 -0
  253. package/editor-web/assets/{dist-Gz6NDS0J.js → dist-qSuFWuVB.js} +3 -3
  254. package/editor-web/assets/{ebnfDiagram-V4P3TTPT-Cs4YRvDD.js → ebnfDiagram-V4P3TTPT-D-1x27Eh.js} +1 -1
  255. package/editor-web/assets/{elk-QONTBCTQ-Bh3LZ9WI.js → elk-QONTBCTQ-BJSCxiTH.js} +1 -1
  256. package/editor-web/assets/{erDiagram-KYQIGQAA-C4vYTYXp.js → erDiagram-KYQIGQAA-C7Q357iD.js} +1 -1
  257. package/editor-web/assets/{eventmodeling-K75KTNOO-BN1kkHWS.js → eventmodeling-K75KTNOO-kXrQLSF5.js} +1 -1
  258. package/editor-web/assets/flowDiagram-IUGLLWBU-GSC4btef.js +1 -0
  259. package/editor-web/assets/{ganttDiagram-R7GPNTJY-CA1LkkC5.js → ganttDiagram-R7GPNTJY-Bt3SRgK7.js} +1 -1
  260. package/editor-web/assets/{gitGraph-VSP46ZUC-Dy5tA7dG.js → gitGraph-VSP46ZUC-DS4CkhfK.js} +1 -1
  261. package/editor-web/assets/{gitGraphDiagram-PDYL7XHY-hJIB8EkH.js → gitGraphDiagram-PDYL7XHY-BgfmSVdI.js} +1 -1
  262. package/editor-web/assets/group-pebHQTdP.js +1 -0
  263. package/editor-web/assets/{hint-B8JpEypy.js → hint-BmRKl2nL.js} +1 -1
  264. package/editor-web/assets/index-D8qc_ipi.js +28 -0
  265. package/editor-web/assets/index-DDtZpLDF.css +2 -0
  266. package/editor-web/assets/{info-OHQRW6UA-DvzSf7rQ.js → info-OHQRW6UA-BZjctF3x.js} +1 -1
  267. package/editor-web/assets/{infoDiagram-MVDRKAX5-BjIMm4Af.js → infoDiagram-MVDRKAX5-BAp5oUXk.js} +1 -1
  268. package/editor-web/assets/{ishikawaDiagram-HPEHV2GE-Bpz71S40.js → ishikawaDiagram-HPEHV2GE-DGL7ZfUu.js} +1 -1
  269. package/editor-web/assets/{italic-D10w8n6C.js → italic-CtlNOXN9.js} +1 -1
  270. package/editor-web/assets/{journeyDiagram-BOSHW7O7-DAB-pZjD.js → journeyDiagram-BOSHW7O7-DOOoBGx-.js} +1 -1
  271. package/editor-web/assets/{kanban-definition-FNSA4HC5-cYeyh3P6.js → kanban-definition-FNSA4HC5-lbLuUiMW.js} +1 -1
  272. package/editor-web/assets/katex-UWCZofcd.js +257 -0
  273. package/editor-web/assets/{link-BC5xK1-1.js → link-CW2KxKT_.js} +1 -1
  274. package/editor-web/assets/{mermaid-parser.core-req5LE0X.js → mermaid-parser.core-RkCFmJcg.js} +3 -3
  275. package/editor-web/assets/{mermaid.core-zFwZug4C.js → mermaid.core-BVUl-afX.js} +4 -4
  276. package/editor-web/assets/{mindmap-definition-6OY57UG3-TStWb7DG.js → mindmap-definition-6OY57UG3-C3DC4T1J.js} +1 -1
  277. package/editor-web/assets/minus-D1tgAHbU.js +1 -0
  278. package/editor-web/assets/{packet-JDAUHWVQ-smFhVKcB.js → packet-JDAUHWVQ-Bkd6YpX8.js} +1 -1
  279. package/editor-web/assets/{palette-BIOudGkm.js → palette-INFK0Zsr.js} +1 -1
  280. package/editor-web/assets/{pegDiagram-ECIUJNBX-DvSNRv0-.js → pegDiagram-ECIUJNBX-B5Seh4Oe.js} +1 -1
  281. package/editor-web/assets/{pie-XZMESJXO-qjaGsBZG.js → pie-XZMESJXO-BNbb4Q8k.js} +1 -1
  282. package/editor-web/assets/{pieDiagram-GNMPY74T-Dd9P-Pdc.js → pieDiagram-GNMPY74T-_hnbUloZ.js} +1 -1
  283. package/editor-web/assets/play-DvMyq5xW.js +1 -0
  284. package/editor-web/assets/{progress-DE4C5_3x.js → progress-D6wSFdpY.js} +1 -1
  285. package/editor-web/assets/props-form-BfwEi6jW.js +1 -0
  286. package/editor-web/assets/{quadrantDiagram-D57K4MC3-h2IIKUUA.js → quadrantDiagram-D57K4MC3-1rbqW-KO.js} +1 -1
  287. package/editor-web/assets/{radar-ABXABTNO-DlVrSA1d.js → radar-ABXABTNO-BWSnhBSp.js} +1 -1
  288. package/editor-web/assets/{railroad-I3PHUGI6-nFbuLAtc.js → railroad-I3PHUGI6-BNB-OKs1.js} +1 -1
  289. package/editor-web/assets/{railroad-abnf-LNEFI6M7-Daj8h2iV.js → railroad-abnf-LNEFI6M7-BKgidf_B.js} +1 -1
  290. package/editor-web/assets/{railroad-ebnf-DWYD2UWJ-eYJyl5PH.js → railroad-ebnf-DWYD2UWJ-CNCnxtHp.js} +1 -1
  291. package/editor-web/assets/{railroad-peg-JR7BVNR7-BTRhKZQq.js → railroad-peg-JR7BVNR7-CyBW6_0o.js} +1 -1
  292. package/editor-web/assets/{railroadDiagram-Y72NRBL7-CeLGUjdp.js → railroadDiagram-Y72NRBL7-Cud3SJ7O.js} +1 -1
  293. package/editor-web/assets/{react-WA6wlt8S.js → react-Bk7NnOLX.js} +1 -1
  294. package/editor-web/assets/{repeat-2-VQP1EVOZ.js → repeat-2-DfPmKp4w.js} +1 -1
  295. package/editor-web/assets/{requirementDiagram-EQYSW5RA-Dmk9XRM5.js → requirementDiagram-EQYSW5RA-BrSCcpqV.js} +1 -1
  296. package/editor-web/assets/{row-BRlEWRrK.js → row-VwyPfa1b.js} +1 -1
  297. package/editor-web/assets/{sankeyDiagram-SY24JHO5-Yn4zlrAM.js → sankeyDiagram-SY24JHO5-rJV4dJFn.js} +1 -1
  298. package/editor-web/assets/scissors-D9WmgvNP.js +1 -0
  299. package/editor-web/assets/{sequenceDiagram-BLEHNHQU-BTRnp_PW.js → sequenceDiagram-BLEHNHQU-CEUuD2n6.js} +1 -1
  300. package/editor-web/assets/{session-Do9AqS38.js → session-DE0fvAcs.js} +1 -1
  301. package/editor-web/assets/sigma-CY2Chbro.js +1 -0
  302. package/editor-web/assets/slides-BgacyjJW.js +1 -0
  303. package/editor-web/assets/{snapshots-BUGlKQIB.js → snapshots-D8TtZp1x.js} +1 -1
  304. package/editor-web/assets/{sound-Bj3o9_Fa.js → sound-DUCxe9eC.js} +1 -1
  305. package/editor-web/assets/split-Cx2MMnC_.js +3 -0
  306. package/editor-web/assets/{stateDiagram-v2-A6IESKWZ-kstrRKv2.js → stateDiagram-v2-A6IESKWZ-BRE_C2he.js} +1 -1
  307. package/editor-web/assets/sticky-note-C5qUDHhC.js +1 -0
  308. package/editor-web/assets/{strikethrough-CfXx6IYH.js → strikethrough-DP-7tMz0.js} +1 -1
  309. package/editor-web/assets/svg-nJtFNJ-7.js +1 -0
  310. package/editor-web/assets/{swatch-WeJD41aW.js → swatch-lxK4C8fD.js} +1 -1
  311. package/editor-web/assets/{swimlanes-B3ENRKFQ-DaZsZkeP.js → swimlanes-B3ENRKFQ-BEPqWgVe.js} +1 -1
  312. package/editor-web/assets/swimlanesDiagram-AYQRV4AK-DAcNszZ6.js +8 -0
  313. package/editor-web/assets/{switch-N0G_sbqt.js → switch-DaG6OuAi.js} +1 -1
  314. package/editor-web/assets/{syntax-oWsKBWFw.js → syntax-9LD8MzGy.js} +1 -1
  315. package/editor-web/assets/{syntax-BVsgRJ4I.js → syntax-CLaCSmoi.js} +1 -1
  316. package/editor-web/assets/{table-B6hVZAMi.js → table-CTjNpE4W.js} +1 -1
  317. package/editor-web/assets/tabs-DjhzblAG.js +1 -0
  318. package/editor-web/assets/{textarea-tEWvBY9p.js → textarea-DBwRbOyF.js} +1 -1
  319. package/editor-web/assets/{timeline-definition-JXYKGLGB-CLCvY-Yf.js → timeline-definition-JXYKGLGB-p8Qeg4pS.js} +1 -1
  320. package/editor-web/assets/{trash-2-BP6nqpg2.js → trash-2-DrnRa91l.js} +1 -1
  321. package/editor-web/assets/{treeView-D4JQ5SDB-BmN0gwdC.js → treeView-D4JQ5SDB-C9FTdXKq.js} +1 -1
  322. package/editor-web/assets/{treemap-SAJKECNS-DN29G_E_.js → treemap-SAJKECNS-XAeLVOtI.js} +1 -1
  323. package/editor-web/assets/{undo-2-CHR0nvWL.js → undo-2-DUGGyBdX.js} +1 -1
  324. package/editor-web/assets/{usecaseDiagram-WPOLBNNX-DTRS54cB.js → usecaseDiagram-WPOLBNNX-BV3AMRuH.js} +1 -1
  325. package/editor-web/assets/{vennDiagram-Q3Y3IDCW-DAAc11Hx.js → vennDiagram-Q3Y3IDCW-CJdKcYyA.js} +1 -1
  326. package/editor-web/assets/{video-BlvmR8BK.js → video-He8p6dr6.js} +1 -1
  327. package/editor-web/assets/{wardley-7MLQ67FV-B-UYkmdB.js → wardley-7MLQ67FV-DZh6Mf22.js} +1 -1
  328. package/editor-web/assets/{wardleyDiagram-IVAIDKWA-BmbwCaky.js → wardleyDiagram-IVAIDKWA-XtvKSX-m.js} +1 -1
  329. package/editor-web/assets/{words-D_4T9Adq.js → words-CPHp_0tt.js} +1 -1
  330. package/editor-web/assets/{words-WgdEQdYP.js → words-CjW-1tZI.js} +1 -1
  331. package/editor-web/assets/{xychartDiagram-4URNHDU4-ChAfAq1U.js → xychartDiagram-4URNHDU4-CGkL42sz.js} +1 -1
  332. package/editor-web/assets/zoom-in-C4lxmIDE.js +1 -0
  333. package/editor-web/index.html +6 -6
  334. package/package.json +2 -2
  335. package/editor-web/assets/arrow-up-B5rJbBv0.js +0 -1
  336. package/editor-web/assets/article-DNioBb3p.js +0 -7
  337. package/editor-web/assets/calc-worker-D2pGis6e.js +0 -45
  338. package/editor-web/assets/channel-TNPgFDrw.js +0 -1
  339. package/editor-web/assets/chart-C37xvZT2.js +0 -1
  340. package/editor-web/assets/dist-BGRwhCQO.js +0 -1
  341. package/editor-web/assets/dist-BW4X7BrF.js +0 -1
  342. package/editor-web/assets/dist-BgDRE85b.js +0 -2
  343. package/editor-web/assets/dist-Blq5nJnU.js +0 -24
  344. package/editor-web/assets/dist-C1emZ9wX.js +0 -37
  345. package/editor-web/assets/dist-CX-fiPSn.js +0 -38
  346. package/editor-web/assets/dist-C_VvG-_9.js +0 -5
  347. package/editor-web/assets/dist-Ce7HrBxv.js +0 -3
  348. package/editor-web/assets/dist-D2k6w-_a.js +0 -1
  349. package/editor-web/assets/dist-DEoEO4zs.js +0 -1
  350. package/editor-web/assets/dist-DlDxxPIP.js +0 -16
  351. package/editor-web/assets/flowDiagram-IUGLLWBU-B04NGsyi.js +0 -1
  352. package/editor-web/assets/index-CgB5osVc.js +0 -28
  353. package/editor-web/assets/index-Daytem9N.css +0 -2
  354. package/editor-web/assets/katex-5Z2zF-9g.js +0 -257
  355. package/editor-web/assets/minus-DaWs5i8B.js +0 -1
  356. package/editor-web/assets/play-CrMmPghG.js +0 -1
  357. package/editor-web/assets/props-form-CsmDBqzy.js +0 -1
  358. package/editor-web/assets/schemas-VikZYZIK.js +0 -1
  359. package/editor-web/assets/slides-diTEQ3C5.js +0 -1
  360. package/editor-web/assets/split-CNU1RHcX.js +0 -3
  361. package/editor-web/assets/svg-Cx50MpxK.js +0 -1
  362. package/editor-web/assets/swimlanesDiagram-AYQRV4AK-CBZAujYY.js +0 -8
  363. package/editor-web/assets/tabs-DIFDqj-l.js +0 -1
@@ -1 +0,0 @@
1
- import{t as e}from"./createLucideIcon-GFZ_fxLc.js";var t=e(`minus`,[[`path`,{d:`M5 12h14`,key:`1ays0h`}]]);export{t};
@@ -1 +0,0 @@
1
- import{t as e}from"./createLucideIcon-GFZ_fxLc.js";var t=e(`play`,[[`path`,{d:`M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z`,key:`10ikf1`}]]);export{t};
@@ -1 +0,0 @@
1
- import{i as e}from"./rolldown-runtime-COiEfhsA.js";import{c as t,m as n,o as r,y as i}from"./react-WA6wlt8S.js";import{f as a}from"./slides-diTEQ3C5.js";import{t as o}from"./jsx-runtime-DePvh3-m.js";import{t as s}from"./createLucideIcon-GFZ_fxLc.js";import{a as c,o as l}from"./chart-C37xvZT2.js";import{t as u}from"./switch-N0G_sbqt.js";import{gt as d,p as f}from"./index-CgB5osVc.js";import{t as p}from"./textarea-tEWvBY9p.js";var m=s(`between-horizontal-end`,[[`rect`,{width:`13`,height:`7`,x:`3`,y:`3`,rx:`1`,key:`11xb64`}],[`path`,{d:`m22 15-3-3 3-3`,key:`26chmm`}],[`rect`,{width:`13`,height:`7`,x:`3`,y:`14`,rx:`1`,key:`k6ky7n`}]]),h=s(`between-vertical-end`,[[`rect`,{width:`7`,height:`13`,x:`3`,y:`3`,rx:`1`,key:`1fdu0f`}],[`path`,{d:`m9 22 3-3 3 3`,key:`17z65a`}],[`rect`,{width:`7`,height:`13`,x:`14`,y:`3`,rx:`1`,key:`1squn4`}]]),g=s(`text-align-justify`,[[`path`,{d:`M3 5h18`,key:`1u36vt`}],[`path`,{d:`M3 12h18`,key:`1i2n21`}],[`path`,{d:`M3 19h18`,key:`awlh7x`}]]),_=e=>a(e)??`dk1`;function v(e,t){if(t.startsWith(`/`))return t.slice(1);let n=e===``?[]:e.split(`/`);for(let e of t.split(`/`))e!==``&&e!==`.`&&(e===`..`?n.pop():n.push(e));return n.join(`/`)}var y=e=>e&&{...e.min===void 0?{}:{minimum_scale:e.min},...e.max===void 0?{}:{maximum_scale:e.max},...e.major===void 0?{}:{major_unit:e.major},...e.gridlines===void 0?{}:{has_major_gridlines:e.gridlines},...e.visible===void 0?{}:{visible:e.visible},...e.format===void 0?{}:{number_format:e.format},...e.reverse===void 0?{}:{reverse_order:e.reverse},...e.gridline_color===void 0?{}:{gridline_color:_(e.gridline_color)},...e.line_color===void 0?{}:{line_color:_(e.line_color)}},b=e=>{if(e!==void 0&&e!==!1)return e===!0?{show_value:!0}:{...e.value===void 0?{}:{show_value:e.value},...e.percentage===void 0?{}:{show_percentage:e.percentage},...e.category===void 0?{}:{show_category_name:e.category},...e.series===void 0?{}:{show_series_name:e.series},...e.format===void 0?{}:{number_format:e.format},...e.position===void 0?{}:{position:e.position},...e.size===void 0?{}:{size:e.size},...e.color===void 0?{}:{color:_(e.color)}}};function x(e){if(typeof e==`number`)return Number.isFinite(e)?e:void 0;if(e==null)return null;if(typeof e!=`string`)return;let t=e.trim();if(t===``)return null;let n=Number(t);return Number.isFinite(n)?n:void 0}function S(e,t){let n=b(e.labels),r=c(e.type),i,a,o=e=>({...e.color===void 0?{}:{color:_(e.color)},...e.format===void 0?{}:{number_format:e.format},...e.smooth===void 0?{}:{smooth:e.smooth},...e.line_width===void 0?{}:{line_width:e.line_width},...e.marker_size===void 0?{}:{marker_size:e.marker_size}});if(e.data!==void 0){let n;try{n=t.rows(e.data)}catch(n){t.problem(`${e.data} cannot be read: ${n instanceof Error?n.message:String(n)}`);return}if(!Array.isArray(n)||n.length===0){t.problem(`${e.data} holds no rows.`);return}let s=n,c=e.categories;if(typeof c!=`string`){t.problem(`with data, categories names its column.`);return}let l=Object.keys(s[0]??{}),u=[c,...e.series.map(e=>typeof e==`string`?e:e.name)].filter(e=>!l.includes(e));if(u.length>0){t.problem(`${e.data} has no column ${u.join(`, `)} (it has ${l.join(`, `)}).`);return}i=s.map(e=>{let t=e[c];return typeof t==`string`||typeof t==`number`?String(t):``}),a=e.series.map(n=>{let i=typeof n==`string`?n:n.name;return{name:i,values:s.map((n,r)=>{let a=x(n[i]);return a===void 0?(t.problem(`${String(e.data)} row ${String(r+1)}: ${JSON.stringify(n[i])} in ${i} is not a number.`),null):a}),...r?{x:s.map(e=>x(e[c])??null)}:{},...typeof n==`string`?{}:o(n)}})}else{if(typeof e.categories==`string`){t.problem(`categories names a column, and there is no data to read.`);return}if(e.categories===void 0&&!r){t.problem(`a ${e.type} chart has categories.`);return}i=e.categories??[];let n=[];for(let a of e.series){if(typeof a==`string`||!a.values){let e=typeof a==`string`?a:a.name;t.problem(`series ${e} has no values, and there is no data to read.`);return}if(r){if(a.x?.length!==a.values.length){t.problem(`series ${a.name} has an x for each of its values.`);return}}else a.values.length!==i.length&&t.problem(`series ${a.name} has ${String(a.values.length)} values for ${String(i.length)} categories.`);n.push({name:a.name,values:a.values,...r&&a.x?{x:a.x}:{},...o(a)})}a=n}let s=n?.position;s!==void 0&&!l(e.type).includes(s)&&t.problem(`a ${e.type} chart has no label position ${s}, which PowerPoint would repair (it has ${l(e.type).join(`, `)||`none`}).`);let u=y(e.value_axis),d=y(e.category_axis);return{type:e.type,categories:i,series:a,...t.title===void 0?{}:{title:t.title},...e.legend===void 0?{}:{legend:e.legend},...n?{labels:n}:{},...e.gap_width===void 0?{}:{gap_width:e.gap_width},...e.overlap===void 0?{}:{overlap:e.overlap},...e.vary_by_categories===void 0?{}:{vary_by_categories:e.vary_by_categories},...e.category_colors===void 0?{}:{category_colors:e.category_colors.map(_)},...e.hole_size===void 0?{}:{hole_size:e.hole_size},...u?{value_axis:u}:{},...d?{category_axis:d}:{},...e.size===void 0?{}:{font_size:e.size},...e.title_size===void 0?{}:{title_size:e.title_size},...e.color===void 0?{}:{font_color:_(e.color)},...e.data===void 0?{}:{source:v(t.base,e.data)}}}var C=e(i(),1);function w(e,i,a){let o=r(),[s,c]=(0,C.useState)(),[l,u]=(0,C.useState)(0);t(`project/changed`,e=>{u(e.revision)});let f=n(s?.probe);return(0,C.useEffect)(()=>{if(!a||e===void 0)return;let t=!0;return d(o,`components/stage`,{item:e,...i===void 0?{}:{version:i}}).then(e=>{t&&c(t=>t?.url===e.url&&t.probe===e.probe?t:{url:e.url,probe:e.probe})},()=>void 0),()=>{t=!1}},[o,e,i,a,l]),s&&f!==void 0?{url:s.url,sandbox:f}:void 0}function T(e,t,n,r={}){let i=document.createElement(`iframe`);i.src=t.url,t.sandbox&&i.setAttribute(`sandbox`,`allow-scripts`),i.tabIndex=-1,i.setAttribute(`aria-hidden`,`true`),i.dataset.akComponent=n.name;let a=n,o=!1,s=()=>{let t=e.clientWidth>0?e.clientWidth/a.width:1;Object.assign(i.style,{position:`absolute`,left:`0px`,top:`0px`,width:`${String(a.width)}px`,height:`${String(a.height)}px`,border:`0`,background:`transparent`,pointerEvents:`none`,transformOrigin:`0 0`,transform:`scale(${String(t)})`})},c=()=>{i.contentWindow?.postMessage({allyhub:!0,type:`component`,...a},`*`)},l=e=>{if(e.source!==i.contentWindow)return;let t=e.data;t.allyhub===!0&&(t.type===`component-ready`?r.onDrawn?.(t.component):t.type===`error`&&r.onError?.(typeof t.message==`string`?t.message:``))};addEventListener(`message`,l);let u=new ResizeObserver(s);return u.observe(e),s(),i.addEventListener(`load`,()=>{o=!0,c()}),e.append(i),{draw(e){a=e,s(),o&&c()},remove(){removeEventListener(`message`,l),u.disconnect(),i.remove()}}}function E(e,t,n){let i=r(),[a,o]=(0,C.useState)(new Map),s=JSON.stringify(n);return(0,C.useEffect)(()=>{if(e===void 0||n.length===0)return;let r=!0;return d(i,`components/stills`,{item:e,...t===void 0?{}:{version:t},components:n.slice(0,64).map(e=>({...e}))}).then(({stills:e})=>{r&&o(t=>{let r=new Map(t);return n.slice(0,64).forEach((t,n)=>{let i=e[n];i&&r.set(JSON.stringify(t),i.url)}),r})},()=>void 0),()=>{r=!1}},[i,e,t,s]),a}var D=o();function O(e,t,n){return e===void 0?n:typeof e==`string`?e:e[t]??e.en??Object.values(e)[0]??n}var k=e=>{try{return JSON.parse(e),!0}catch{return!1}};function A({name:e,type:t,value:n,locale:r,disabled:i,onChange:a}){let o=(0,C.useId)(),[s,c]=(0,C.useState)(n??``),l=O(t.label,r,e),d=e=>{e!==(n??``)&&a(e===``&&t.optional?void 0:e)};if(t.type===`boolean`)return(0,D.jsxs)(`label`,{className:`flex items-center justify-between gap-3 text-sm`,children:[(0,D.jsx)(`span`,{children:l}),(0,D.jsx)(u,{size:`sm`,disabled:i,checked:n===`true`,onCheckedChange:e=>{a(e?`true`:`false`)}})]});let m=t.type===`list`||t.type===`object`,h=m||t.multiline===!0;return(0,D.jsxs)(`div`,{className:`flex flex-col gap-1`,children:[(0,D.jsx)(`label`,{htmlFor:o,className:`text-xs text-muted-foreground`,children:l}),h?(0,D.jsx)(p,{id:o,value:s,disabled:i,rows:m?4:3,className:m?`font-mono text-xs`:`text-sm`,"aria-invalid":m&&s!==``&&!k(s),onChange:e=>{c(e.target.value)},onBlur:()=>{d(s)}}):(0,D.jsx)(f,{id:o,value:s,disabled:i,inputMode:t.type===`number`?`decimal`:void 0,className:`h-8 text-sm`,...t.type===`number`?{type:`number`,...t.min===void 0?{}:{min:t.min},...t.max===void 0?{}:{max:t.max},...t.step===void 0?{}:{step:t.step}}:{},onChange:e=>{c(e.target.value)},onBlur:()=>{d(s)},onKeyDown:e=>{e.key===`Enter`&&d(s)}})]})}function j({types:e,values:t,locale:n,disabled:r=!1,onChange:i}){return(0,D.jsx)(`div`,{className:`flex flex-col gap-3`,children:Object.entries(e).map(([e,a])=>(0,D.jsx)(A,{name:e,type:a,value:t[e],locale:n,disabled:r,onChange:t=>{i(e,t)}},`${e}\0${t[e]??``}`))})}export{S as a,m as c,E as i,T as n,g as o,w as r,h as s,j as t};
@@ -1 +0,0 @@
1
- import{B as e,I as t,J as n,K as r,Q as i,R as a,U as ee,V as o,W as s,X as c,Y as l,Z as te,at as ne,et as u,it as d,nt as f,q as p,rt as m,tt as h,z as re}from"./snapshots-BUGlKQIB.js";import{h as ie,l as ae,n as oe,o as se,p as ce,r as g,u as _}from"./slides-diTEQ3C5.js";var v=h().regex(/^[0-9a-f]{64}$/u,`A sha256 is 64 lowercase hexadecimal digits.`),y=l().nonnegative(),le=t({offset:!0});function b(e){return u({$schema:h().optional(),...e})}var ue=`allyhub.yaml`,de=u({kind:h().min(1).optional().describe(`What it is: a kind's id (video, slides, image, doc, sheet, scenery, model, website, or an extension's); none for a file an editor opens by its name (a canvas, *.canvas)`),file:h().min(1).describe(`Its file, from the project's root: a video's, a deck's or an image's module, a doc's MDX, a sheet's YAML, a website's JSON, a canvas`),title:h().min(1).optional().describe(`Its name where people see it; none: the title its file says, else its file's name`)}),x=r(()=>m([de,u({group:h().min(1).describe(`A heading, as people see it`),items:e(x)})])),fe=b({work:e(x).default([]).describe(`The work a person sees, in order: pieces, and groups of them`)}),pe=u({fonts:e(h().min(1)).default([]),text:h().optional(),locales:e(h().min(2)).min(1).optional(),look:i(h(),d()).optional(),defaults:i(h(),d()).optional()}),S=l(),me=m([a(_),u({theme_color:a(_),brightness:l().min(-1).max(1)}),u({rgb:h().regex(/^#?[0-9A-Fa-f]{6}$/u)})]),he=u({left:S,top:S,width:S,height:S}),ge=n({text:h()}),C=n({level:l().int().min(0).max(8),runs:e(ge)}),_e=n({paragraphs:e(C),levels:e(n({}))}),w=n({name:h(),kind:a([`placeholder`,`textbox`,`picture`,`movie`,`autoshape`,`table`,`chart`,`component`]),frame:he.optional(),placeholder:u({type:h(),idx:l().int()}).optional(),text:_e.optional(),media:n({path:h(),base:h()}).optional(),component:u({name:h(),props:i(h(),d())}).optional()}),ve=n({name:h(),master:h(),shapes:e(w)}),ye=n({name:h(),background:me,text_styles:u({title:e(n({})),body:e(n({})),other:e(n({}))}),shapes:e(w),layouts:e(ve)}),T=r(()=>n({type:h(),optional:o().optional(),of:T.optional(),fields:i(h(),T).optional(),kind:h().optional()})),be=n({id:h(),layout:h(),shapes:e(w),text:i(h(),e(C)),notes:h().optional()}),E=u({slide_width:S.positive(),slide_height:S.positive(),theme:u({name:h().optional(),colors:te(a(_),h()).optional(),fonts:i(h(),h()).optional()}).optional(),masters:e(ye),components:i(h(),u({props:i(h(),T)})),generators:i(h(),m([e(be),u({error:h(),stack:h().optional()})]))}),D=u({from:y,to:y}).refine(e=>e.to>e.from,{message:`A stretch ends after its start.`,path:[`to`]}),O=l().min(0).max(2),xe=b({version:p(1),take:h().optional(),remove:e(u({from:s().nonnegative(),to:s().nonnegative(),text:h().optional()}).refine(e=>e.to>=e.from,{message:`A range ends at or after its start.`,path:[`to`]})).optional(),sounds:e(D).optional(),inWord:e(D).optional(),maxPause:l().min(.05).max(10).optional(),pad:u({before:O.optional(),after:O.optional()}).optional()}),Se=f([l(),l(),l().nonnegative(),l().nonnegative()]),k=i(h().min(1),Se);u({omitted:p(!0),sha256:v,bytes:s().nonnegative()});var A=b({version:p(1),ai:o(),tool:h().optional(),model:h().optional(),input:i(h(),d()).optional(),inputHash:v.optional(),output:i(h(),d()).optional(),credits:l().nonnegative().optional(),at:le,sha256:v,bytes:s().nonnegative(),source:u({library:h(),page:ne(),authors:e(h()).default([]),license:h()}).optional()}),j=f([l(),l(),l(),l()]),M=c({t:y,score:l()}),N=l().nullable(),P=l().int().nonnegative(),Ce=c({index:P,start:y,end:y,words:f([l().int(),l().int()]),text:h(),punctuation:o(),pauseAfter:y.optional()}),F=c({after:P,start:y,end:y,dur:y}),we=c({t:y,cut:M.optional(),weak:M.optional(),pause:c({start:y,end:y,dur:y}).optional(),sentence:P.optional()}),Te=c({id:P,text:h(),box:j,height:l(),words:P,upper:l().min(0).max(1),start:y,end:y,spans:e(f([y,y])),seconds:y,seen:l().int().positive(),frames:l().min(0).max(1),spread:l().min(0).max(1),said:l().min(0).max(1)}),Ee=c({start:y,end:y,dur:y,said:h(),words:P,wordsPerMinute:l().nonnegative(),cuts:e(y),shots:l().int().positive(),cutsPerMinute:l().nonnegative(),text:e(P),textSeconds:y}).extend({index:P,name:h(),sentences:f([l().int(),l().int()]).optional()}),De=c({cutsPerMinute:l().nonnegative(),meanShot:y,medianShot:y,wordsPerMinute:l().nonnegative(),speakingRate:l().nonnegative(),timeToFirstWord:y.optional(),timeToFirstCut:y.optional(),textShare:l().min(0).max(1),speechShare:l().min(0).max(1),tempo:c({bpm:l().positive(),confidence:l().min(0),candidates:e(c({bpm:l(),r:l(),score:l()})).optional(),prior:l().optional()}).optional(),onsetsPerMinute:l().nonnegative()}),I=c({seconds:y,p10:l(),median:l(),p90:l()}),Oe=c({gap:y,edge:y,voiced:l().min(0).max(100),whole:I,words:I.optional(),between:I.extend({voicedShare:l().min(0).max(1),onsetsPerMinute:l().nonnegative()}).optional(),floor:l()}),ke=c({params:i(h(),d()),frames:c({tone:P,color:P,motion:P}),luma:c({p1:N,p50:N,p99:N}),blackShare:N,noise:N,sharpness:N,saturation:N,warmth:N,motion:c({speed:c({p50:N,p90:N}),shake:c({p50:N,p90:N}),stillShare:N,runs:P}),sharpnessBySpeed:e(c({from:l(),to:N,frames:P,sharpness:N})),noiseByLuma:e(c({from:l(),to:l(),blocks:P,noise:N,median:N})),shake:e(c({start:y,end:y,rms:l(),peaks:e(c({hz:l(),share:l()})),flatness:l()}))}),L=c({frames:P,reach:e(c({drop:l(),hz:N})),rolloff95:N,rolloff99:N,steps:e(c({hz:l(),db:l()}))}),Ae=c({loudness:c({integrated:N,range:N,truePeak:N}),recording:c({params:i(h(),d()),spectrum:e(c({hz:l(),db:l()})),dynamics:c({spread:l(),crest:l()})}).loose(),bandwidth:L.extend({params:i(h(),d())}),voice:L.optional()});c({version:p(1),id:h(),source:c({file:h(),url:h().optional(),title:h().optional(),sha256:v}),analysedAt:h(),duration:y,width:l().int().positive(),height:l().int().positive(),fps:l().positive(),encoding:c({codec:h().optional(),bitrate:l().positive().optional(),audio:c({codec:h().optional(),profile:h().optional(),bitrate:l().positive().optional(),rate:l().positive().optional(),channels:l().int().positive().optional()}).optional()}).optional(),words:h().optional(),wordCount:P,asr:h().optional(),wordsMissing:c({code:h().optional(),message:h(),hint:h().optional(),instead:h()}).optional(),textMissing:c({code:h().optional(),message:h(),hint:h().optional(),instead:h()}).optional(),shots:c({threshold:l().min(0).max(1),minShot:l().nonnegative(),weakFloor:l().min(0).max(1),prominence:l().nonnegative(),cuts:e(M),weak:e(M),candidates:e(c({t:y,score:l(),source:a([`jump`,`change`]),around:l(),passes:o()})).optional()}),speech:c({pause:y,sentences:e(Ce),pauses:e(F),gaps:e(F).optional()}),boundaries:c({cutWithin:y,candidates:e(we)}),ocr:c({engine:h(),frames:P,unread:P.optional(),samePlace:l(),saidWithin:y}),text:e(Te),pacing:De,sound:Oe.optional(),segments:c({rule:h(),pause:y,cutWithin:y,minLength:y,list:e(Ee).min(1)}),sheets:e(h()),picture:ke,audio:Ae.optional()});var je=u({start:y,end:y,name:h().min(1).optional(),role:h().min(1).optional(),picture:h().optional(),onScreen:e(h()).optional(),notes:h().optional()}),Me=b({version:p(1).default(1),summary:h().optional(),layout:h().optional(),hook:h().optional(),sections:e(je).min(1),captions:u({lines:e(P).optional(),style:h().optional()}).optional(),watermarks:e(P).optional(),notes:h().optional(),labels:i(h(),m([h(),l(),o(),e(h())])).optional()}),R=h().regex(/^#[0-9a-fA-F]{6}$/u,`A colour is #RRGGBB.`),Ne=[`general`,`left`,`center`,`right`,`fill`,`justify`,`centerContinuous`,`distributed`],Pe=[`top`,`center`,`bottom`,`justify`,`distributed`],Fe=[`single`,`double`,`singleAccounting`,`doubleAccounting`],Ie=[`none`,`thin`,`medium`,`thick`,`double`,`hair`,`dotted`,`dashed`,`dashDot`,`dashDotDot`,`mediumDashed`,`mediumDashDot`,`mediumDashDotDot`,`slantDashDot`],Le=[`solid`,`darkDown`,`darkGray`,`darkGrid`,`darkHorizontal`,`darkTrellis`,`darkUp`,`darkVertical`,`gray0625`,`gray125`,`lightDown`,`lightGray`,`lightGrid`,`lightHorizontal`,`lightTrellis`,`lightUp`,`lightVertical`,`mediumGray`],z=u({style:a(Ie),color:R.optional()}),B={bold:o().optional(),italic:o().optional(),underline:m([o(),a(Fe)]).optional(),strike:o().optional(),font:h().min(1).optional(),size:l().positive().optional(),color:R.optional(),fill:m([R,u({pattern:a(Le),color:R.optional(),background:R.optional()})]).optional(),align:a(Ne).optional(),valign:a(Pe).optional(),wrap:o().optional(),shrink:o().optional(),indent:l().int().min(0).optional(),rotation:l().int().min(-90).max(180).optional(),border:u({left:z.optional(),right:z.optional(),top:z.optional(),bottom:z.optional()}).optional()},V={...B,format:h().min(1).optional()},H=m([l(),o(),h(),re()]),Re=u({value:H.optional(),formula:h().min(1).optional(),name:h().min(1).optional(),start:H.optional(),...V}).refine(e=>e.value===void 0||e.formula===void 0,{message:`A cell has a value or a formula, not both.`}).refine(e=>e.start===void 0||e.formula!==void 0,{message:`A cell's start is a formula's.`}),ze=m([H,Re]),Be=u({range:h().min(1),...V}),U=m([p(!0),u({separator:h().min(1).optional(),height:l().positive().optional()})]),Ve=u({formula:h().min(1).optional(),...V,width:l().positive().optional(),files:U.optional()}),W=u({values:e(h()).optional(),blanks:o().optional()}),He=u({name:h().min(1),at:h().min(1),rows:h().min(1),key:h().min(1).optional(),style:h().min(1).optional(),columns:i(h(),Ve).optional(),filter:m([p(!1),u({columns:i(h(),W)})]).optional()}),Ue=u({at:h().min(1),rows:h().min(1)}),We=u({width:l().positive().optional(),hidden:o().optional(),level:l().int().min(1).max(7).optional(),...V,files:U.optional()}),Ge=u({height:l().positive().optional(),hidden:o().optional(),level:l().int().min(1).max(7).optional(),...V}),Ke=u({range:h().min(1),columns:i(h(),W).optional()}),G=[`between`,`notBetween`,`equal`,`notEqual`,`greaterThan`,`lessThan`,`greaterThanOrEqual`,`lessThanOrEqual`],K=m([l(),h()]),q={bold:o().optional(),italic:o().optional(),underline:o().optional(),strike:o().optional(),color:R.optional(),fill:R.optional(),border:B.border},J={range:h().min(1),stop:o().optional()},Y=u({at:a([`min`,`max`,`num`,`percent`,`percentile`,`formula`]),value:K.optional()}),qe=[`3Arrows`,`3ArrowsGray`,`3Flags`,`3TrafficLights1`,`3TrafficLights2`,`3Signs`,`3Symbols`,`3Symbols2`,`4Arrows`,`4ArrowsGray`,`4RedToBlack`,`4Rating`,`4TrafficLights`,`5Arrows`,`5ArrowsGray`,`5Rating`,`5Quarters`],Je=ee(`type`,[u({...J,...q,type:p(`cellIs`),operator:a(G),formula:e(K).min(1).max(2)}),u({...J,...q,type:p(`containsText`),operator:a([`contains`,`notContains`,`beginsWith`,`endsWith`]).optional(),text:h()}),u({...J,...q,type:a([`duplicateValues`,`uniqueValues`])}),u({...J,...q,type:p(`top10`),rank:l().int().positive(),percent:o().optional(),bottom:o().optional()}),u({...J,...q,type:p(`aboveAverage`),below:o().optional(),equal:o().optional()}),u({...J,...q,type:p(`expression`),formula:h().min(1)}),u({...J,type:p(`dataBar`),color:R,min:Y.optional(),max:Y.optional(),show:o().optional()}),u({...J,type:p(`colorScale`),stops:e(u({...Y.shape,color:R})).min(2).max(3)}),u({...J,type:p(`iconSet`),icons:a(qe),stops:e(Y).min(3).max(5).optional(),reverse:o().optional(),show:o().optional()})]),Ye=u({range:h().min(1),type:a([`whole`,`decimal`,`list`,`date`,`time`,`textLength`,`custom`]),operator:a(G).optional(),formula:e(K).max(2).optional(),values:e(h()).optional(),multiple:o().optional(),separator:h().min(1).optional(),blank:o().optional(),dropdown:o().optional(),prompt:u({title:h().optional(),message:h().optional(),show:o().optional()}).optional(),error:u({style:a([`stop`,`warning`,`information`]).optional(),title:h().optional(),message:h().optional(),show:o().optional()}).optional()}),Xe=u({values:h().min(1),x:h().min(1).optional(),name:h().optional(),color:R.optional(),format:h().min(1).optional(),smooth:o().optional(),line_width:l().positive().optional(),marker_size:l().int().min(2).max(72).optional(),type:a([`column-clustered`,`column-stacked`,`column-stacked-100`,`line`,`line-markers`,`area`,`area-stacked`,`area-stacked-100`]).optional(),secondary:o().optional()}),X=u({title:h().optional(),min:l().optional(),max:l().optional(),major:l().positive().optional(),gridlines:o().optional(),visible:o().optional(),format:h().min(1).optional(),reverse:o().optional()}),Z=u({type:a(se),at:h().min(1),x:l().min(0).optional(),y:l().min(0).optional(),width:l().positive().optional(),height:l().positive().optional(),title:h().optional(),categories:h().min(1).optional(),series:e(Xe).min(1),legend:a(oe).optional(),labels:g.shape.labels,gap_width:g.shape.gap_width,overlap:g.shape.overlap,vary_by_categories:g.shape.vary_by_categories,hole_size:g.shape.hole_size,value_axis:X.optional(),category_axis:X.optional(),secondary_axis:X.optional(),size:l().positive().optional(),title_size:l().positive().optional(),color:R.optional()}),Ze={letter:1,tabloid:3,ledger:4,legal:5,executive:7,a3:8,a4:9,a5:11,b4:12,b5:13},Q=u({left:h().optional(),center:h().optional(),right:h().optional()}),Qe=u({area:h().min(1).optional(),title_rows:h().regex(/^\d+:\d+$/u).optional(),title_cols:h().regex(/^[A-Za-z]+:[A-Za-z]+$/u).optional(),orientation:a([`portrait`,`landscape`]).optional(),paper:a(Object.keys(Ze)).optional(),fit:u({width:l().int().min(0).optional(),height:l().int().min(0).optional()}).optional(),scale:l().int().min(10).max(400).optional(),breaks:u({rows:e(l().int().min(2)).optional(),cols:e(h().regex(/^[A-Za-z]+$/u)).optional()}).optional(),margins:u({left:l().min(0).optional(),right:l().min(0).optional(),top:l().min(0).optional(),bottom:l().min(0).optional(),header:l().min(0).optional(),footer:l().min(0).optional()}).optional(),header:Q.optional(),footer:Q.optional()}),$e=u({file:h().min(1),at:h().min(1),x:l().min(0).optional(),y:l().min(0).optional(),width:l().positive().optional(),height:l().positive().optional()}),et=m([h().min(1),u({text:h().min(1),author:h().optional()})]),tt=u({name:h().min(1),hidden:o().optional(),gridlines:o().optional(),tab:R.optional(),freeze:h().min(1).optional(),tables:e(He).optional(),columns:i(h(),We).optional(),rows:i(h(),Ge).optional(),cells:i(h(),ze).optional(),format:e(Be).optional(),merges:e(h().min(1)).optional(),blocks:e(Ue).optional(),filter:Ke.optional(),conditional:e(Je).optional(),validations:e(Ye).optional(),charts:e(Z).optional(),pictures:e($e).optional(),links:i(h(),h().min(1)).optional(),notes:i(h(),et).optional(),print:Qe.optional(),protect:o().optional(),names:i(h(),H).optional(),hidden_names:e(h().min(1)).optional()}),nt=u({name:h().min(1),formula:h().min(1)}),rt=m([p(!0),u({max_iterations:l().int().min(1).max(32767).optional(),max_change:l().min(0).optional()})]),it=u({title:h().optional(),code:h().min(1).optional(),names:i(h(),H).optional(),hidden_names:e(h().min(1)).optional(),sheets:e(tt).min(1),checks:e(nt).optional(),scenarios:i(h(),i(h(),H)).optional(),iteration:rt.optional()}),at=u({$schema:h().optional(),title:h().min(1).optional().describe(`The website's name where people see it (Studio's list of a project's work); none: its entry file's name.`),dev:h().min(1).optional().describe("The command that serves the website while it is made, run in its folder by a shell. It listens on $PORT at $HOST, which the host sets (`astro dev --port $PORT --host $HOST --ignore-lock`), and allows the hosts in $ALLYHUB_PREVIEW_HOSTS when its server checks the Host header. None: the output folder is served as it is."),build:h().min(1).optional().describe("The command that builds the website into its output folder (`astro build`). None: it is not built."),output:h().min(1).describe("The folder that is the built website, from the website's folder (`dist`); `.` for a website of plain files."),site:h().min(1).optional().describe("The hosted site this website publishes to, written by `allyhub site deploy` the first time, so the folder publishes to the same site from any computer.")}),ot=u({text:h().min(1),start:y,end:y,confidence:l().min(0).max(1).optional()}).refine(e=>e.end>=e.start,{message:`A word ends at or after its start.`,path:[`end`]}),st=b({version:p(1),language:h().min(2).optional(),duration:y.optional(),model:h().optional(),words:e(ot)}).refine(e=>e.words.every((t,n)=>n===0||t.start>=(e.words[n-1]?.start??0)),{message:`Words are in the order they are said.`,path:[`words`]});function ct(e){let t=e.lastIndexOf(`/`),n=e.lastIndexOf(`.`);return`${n>t?e.slice(0,n):e}.words.json`}var lt={work:{schema:fe,files:[ue],about:`The work a person sees of the project: each piece's kind, file and title, in groups.`},words:{schema:st,files:[`**/*.words.json`],about:`The words said in an audio or video file, with their times.`},edits:{schema:xe,files:[`**/edits/*.json`],about:`A recording's cut list.`},elements:{schema:k,files:[`**/*.elements.json`],about:`A page screenshot's named elements, each its box in the picture's pixels.`},gen:{schema:A,files:[`**/*.gen.json`],about:`How a media file was made, and where it came from.`},script:{schema:ce,files:[],about:`An item's words in one language.`},messages:{schema:ie,files:[`assets/text/*.json`],about:`Words several items share, in one language.`},sheet:{schema:it,files:[],about:`A workbook: its sheets, cells, formulas, formats, names, checks and scenarios.`},slides:{schema:ae,files:[],about:`A deck's pages: their order, layouts, values and what was placed on them.`},website:{schema:at,files:[],about:`A website: how it is served while it is made, how it is built, and where the built site is.`},interpretation:{schema:Me,files:[`**/reference/*/interpretation.json`],about:`What the agent concludes of a reference video: its sections, captions, watermarks and labels.`},"deck-code":{schema:E,files:[],about:`What a deck's module and its generators made, as data: what its code host sends the editor.`},config:{schema:pe,files:[],about:`allyhub.config.ts's settings.`}};function $(e){if(e.code!==`invalid_union`)return e.message;let t=e.errors.flatMap(e=>e.slice(0,1).map(e=>{let t=e.path.map(String).join(`.`);return t===``?$(e):`${t}: ${$(e)}`}));return t.length===0?e.message:`Fits none of its forms: ${[...new Set(t)].join(`; `)}`}function ut(e,t){let n=lt[e].schema.safeParse(t);return n.success?{ok:!0,value:n.data}:{ok:!1,problems:n.error.issues.map(e=>({path:e.path.map(String).join(`.`),message:$(e)}))}}export{ct as n,E as r,ut as t};
@@ -1 +0,0 @@
1
- import{B as e,K as t,Q as n,R as r,V as i,W as a,Y as o,et as s,it as c,nt as l,q as u,rt as d,tt as f,z as p}from"./snapshots-BUGlKQIB.js";var m=/^[A-Za-z0-9_-]+(?:\.[A-Za-z0-9_-]+)*$/u,h=s({display:f(),speak:f()}),g=s({declarations:e(f()).default([]),selectors:e(f()).default([]),match:n(f(),f()).refine(e=>Object.keys(e).length>0,`A match needs at least one case.`)}),ee=d([f(),h,l([g])]),_=n(f(),c()).superRefine((e,t)=>{for(let[n,r]of Object.entries(e)){if(n===`$schema`){typeof r!=`string`&&t.addIssue({code:`custom`,path:[n],message:`$schema is a string.`});continue}m.test(n)||t.addIssue({code:`custom`,path:[n],message:`"${n}" is not a message key: letters, digits, _ and -, in segments joined by dots.`});let e=ee.safeParse(r);e.success||t.addIssue({code:`custom`,path:[n],message:Array.isArray(r)?`A message with variants is [{ "declarations": […], "selectors": […], "match": {…} }]: ${e.error.issues.map(e=>e.message).join(`; `)}`:`A message is a string, { display, speak }, or [{ declarations, selectors, match }].`})}}).transform(e=>{let t={...e};return delete t.$schema,t}),v=/^[A-Za-z0-9_-]+$/u,y=f().regex(v,`A name is letters, digits, _ and -.`),b=t(()=>d([f(),h,g,e(b),n(y,b)])),x=s({id:y,say:d([f(),g]).optional(),screen:n(y,b).optional()}),S=s({id:y,text:n(y,b).optional(),alt:n(y,f()).optional(),notes:d([f(),g]).optional()}),C=s({id:y,text:n(y,b).optional()}),w=s({title:f().optional(),text:n(y,b).optional(),parts:e(x).default([]),slides:e(S).default([]),boards:e(C).default([])}).superRefine((e,t)=>{let n=new Set;e.parts.forEach((e,r)=>{n.has(e.id)&&t.addIssue({code:`custom`,path:[`parts`,r,`id`],message:`Two parts are "${e.id}".`}),n.add(e.id)});let r=new Set;e.slides.forEach((e,n)=>{r.has(e.id)&&t.addIssue({code:`custom`,path:[`slides`,n,`id`],message:`Two slides are "${e.id}".`}),r.add(e.id)});let i=new Set;e.boards.forEach((e,n)=>{i.has(e.id)&&t.addIssue({code:`custom`,path:[`boards`,n,`id`],message:`Two boards are "${e.id}".`}),i.add(e.id)})}),T=f().regex(v,`A name is letters, digits, _ and -.`),E=[`dk1`,`lt1`,`dk2`,`lt2`,`accent1`,`accent2`,`accent3`,`accent4`,`accent5`,`accent6`,`hlink`,`folHlink`],D=[`l`,`ctr`,`r`,`just`],O=`line.lineInv.triangle.rtTriangle.rect.diamond.parallelogram.trapezoid.nonIsoscelesTrapezoid.pentagon.hexagon.heptagon.octagon.decagon.dodecagon.star4.star5.star6.star7.star8.star10.star12.star16.star24.star32.roundRect.round1Rect.round2SameRect.round2DiagRect.snipRoundRect.snip1Rect.snip2SameRect.snip2DiagRect.plaque.ellipse.teardrop.homePlate.chevron.pieWedge.pie.blockArc.donut.noSmoking.rightArrow.leftArrow.upArrow.downArrow.stripedRightArrow.notchedRightArrow.bentUpArrow.leftRightArrow.upDownArrow.leftUpArrow.leftRightUpArrow.quadArrow.leftArrowCallout.rightArrowCallout.upArrowCallout.downArrowCallout.leftRightArrowCallout.upDownArrowCallout.quadArrowCallout.bentArrow.uturnArrow.circularArrow.leftCircularArrow.leftRightCircularArrow.curvedRightArrow.curvedLeftArrow.curvedUpArrow.curvedDownArrow.swooshArrow.cube.can.lightningBolt.heart.sun.moon.smileyFace.irregularSeal1.irregularSeal2.foldedCorner.bevel.frame.halfFrame.corner.diagStripe.chord.arc.leftBracket.rightBracket.leftBrace.rightBrace.bracketPair.bracePair.straightConnector1.bentConnector2.bentConnector3.bentConnector4.bentConnector5.curvedConnector2.curvedConnector3.curvedConnector4.curvedConnector5.callout1.callout2.callout3.accentCallout1.accentCallout2.accentCallout3.borderCallout1.borderCallout2.borderCallout3.accentBorderCallout1.accentBorderCallout2.accentBorderCallout3.wedgeRectCallout.wedgeRoundRectCallout.wedgeEllipseCallout.cloudCallout.cloud.ribbon.ribbon2.ellipseRibbon.ellipseRibbon2.leftRightRibbon.verticalScroll.horizontalScroll.wave.doubleWave.plus.flowChartProcess.flowChartDecision.flowChartInputOutput.flowChartPredefinedProcess.flowChartInternalStorage.flowChartDocument.flowChartMultidocument.flowChartTerminator.flowChartPreparation.flowChartManualInput.flowChartManualOperation.flowChartConnector.flowChartPunchedCard.flowChartPunchedTape.flowChartSummingJunction.flowChartOr.flowChartCollate.flowChartSort.flowChartExtract.flowChartMerge.flowChartOfflineStorage.flowChartOnlineStorage.flowChartMagneticTape.flowChartMagneticDisk.flowChartMagneticDrum.flowChartDisplay.flowChartDelay.flowChartAlternateProcess.flowChartOffpageConnector.actionButtonBlank.actionButtonHome.actionButtonHelp.actionButtonInformation.actionButtonForwardNext.actionButtonBackPrevious.actionButtonEnd.actionButtonBeginning.actionButtonReturn.actionButtonDocument.actionButtonSound.actionButtonMovie.gear6.gear9.funnel.mathPlus.mathMinus.mathMultiply.mathDivide.mathEqual.mathNotEqual.cornerTabs.squareTabs.plaqueTabs.chartX.chartStar.chartPlus`.split(`.`),k=[`appear`,`fade`,`wipe`,`fly-in`,`zoom`,`disappear`,`fade-out`,`wipe-out`,`fly-out`,`zoom-out`,`pulse`,`path`],te=[`on-click`,`with-previous`,`after-previous`],A=[`from-bottom`,`from-top`,`from-left`,`from-right`],j=[`solid`,`sysDash`,`sysDot`,`dash`,`dashDot`,`lgDash`,`lgDashDot`,`lgDashDotDot`],M=[`none`,`triangle`,`arrow`,`stealth`,`diamond`,`oval`],N=[`sm`,`med`,`lg`],P=s({w:r(N).optional(),len:r(N).optional()}),F=s({x:o(),y:o(),w:o().nonnegative(),h:o().nonnegative()}),I=RegExp(`^(${E.join(`|`)}) (lighter|darker) (100(?:\\.0{1,3})?|[1-9]?\\d(?:\\.\\d{1,3})?)%$`,`u`),L=/^#[0-9A-Fa-f]{6}$/u,R=e=>E.includes(e);function z(e){if(R(e))return e;if(L.test(e))return{rgb:e.toUpperCase()};let t=I.exec(e),[,n=``,r,i=``]=t??[],a=Math.round(Number(i)*1e3);if(!(!t||!R(n)||a<=0||a>1e5))return{theme_color:n,brightness:(r===`lighter`?a:-a)/1e5}}function ne(e){if(typeof e==`string`)return e;if(`rgb`in e)return e.rgb;let t=Math.round(Math.abs(e.brightness)*1e5)/1e3;return t===0?e.theme_color:`${e.theme_color} ${e.brightness>0?`lighter`:`darker`} ${String(t)}%`}var B=`A colour is one of the theme's (${E.join(`, `)}), one of them lighter or darker by a share over 0 up to 100% ("accent1 lighter 40%", "dk1 darker 25%"), or #RRGGBB.`,V=d([r(E),f().regex(I,B),f().regex(L,B)]).refine(e=>z(e)!==void 0,B),H=s({size:o().positive().max(4e3).optional(),bold:i().optional(),italic:i().optional(),underline:i().optional(),strike:i().optional(),color:V.optional(),font:f().min(1).optional(),align:r(D).optional(),line_spacing:o().positive().max(10).optional(),space_before:o().min(0).max(1584).optional(),space_after:o().min(0).max(1584).optional(),anchor:r([`t`,`ctr`,`b`]).optional(),bullet:d([u(!1),f().min(1).max(2)]).optional(),numbered:r([`arabicPeriod`,`arabicParenR`,`alphaLcPeriod`,`alphaUcPeriod`,`romanLcPeriod`,`romanUcPeriod`]).optional()}),U=s({left:o().lt(1).optional(),top:o().lt(1).optional(),right:o().lt(1).optional(),bottom:o().lt(1).optional()}).refine(e=>(e.left??0)+(e.right??0)<1,{message:`left and right together cut the whole picture away`}).refine(e=>(e.top??0)+(e.bottom??0)<1,{message:`top and bottom together cut the whole picture away`}),W=t(()=>d([f(),o(),i(),p(),e(W),n(f(),W)])),G=[`column-clustered`,`column-stacked`,`column-stacked-100`,`bar-clustered`,`bar-stacked`,`bar-stacked-100`,`line`,`line-markers`,`area`,`area-stacked`,`area-stacked-100`,`pie`,`doughnut`,`scatter`,`scatter-lines`,`scatter-smooth`],K=[`bottom`,`top`,`left`,`right`],q=s({min:o().optional(),max:o().optional(),major:o().positive().optional(),gridlines:i().optional(),visible:i().optional(),format:f().min(1).optional(),reverse:i().optional(),gridline_color:V.optional(),line_color:V.optional()}),J=s({type:r(G),data:f().min(1).optional(),categories:d([f().min(1),e(f())]).optional(),series:e(d([f().min(1),s({name:f().min(1),values:e(o().nullable()).optional(),x:e(o().nullable()).optional(),color:V.optional(),format:f().min(1).optional(),smooth:i().optional(),line_width:o().positive().optional(),marker_size:o().int().min(2).max(72).optional()})])).min(1),legend:r(K).optional(),labels:d([i(),s({value:i().optional(),percentage:i().optional(),category:i().optional(),series:i().optional(),format:f().min(1).optional(),position:r([`outEnd`,`inEnd`,`ctr`,`inBase`,`t`,`b`,`l`,`r`,`bestFit`]).optional(),size:o().positive().optional(),color:V.optional()})]).optional(),gap_width:o().min(0).max(500).optional(),overlap:o().min(-100).max(100).optional(),vary_by_categories:i().optional(),category_colors:e(V).min(1).optional(),hole_size:o().min(10).max(90).optional(),value_axis:q.optional(),category_axis:q.optional(),size:o().positive().optional(),title_size:o().positive().optional(),color:V.optional()}),Y=o().min(0).max(1),X=s({angle:o().min(0).max(360).optional(),stops:e(s({at:Y,color:V,transparency:Y.optional()})).min(2).max(10)}),re=s({fill:V.optional(),gradient:X.optional(),picture:f().min(1).optional()}).refine(e=>[e.fill,e.gradient,e.picture].filter(e=>e!==void 0).length===1,{message:`A background is a fill, a gradient or a picture: one of them.`}),ie=s({color:V.optional(),blur:o().min(0).max(100).optional(),distance:o().min(0).max(200).optional(),angle:o().min(0).max(360).optional(),transparency:Y.optional()}),Z=d([s({shape:f().min(1),site:a().min(0)}),u(`none`)]),ae=s({frame:F.optional(),rotation:o().min(0).lt(360).optional(),flip_h:u(!0).optional(),flip_v:u(!0).optional(),connect:s({begin:Z.optional(),end:Z.optional()}).optional(),z:a().optional(),fill:d([V,u(`none`)]).optional(),fill_transparency:Y.optional(),gradient:X.optional(),shadow:ie.optional(),line:d([V,u(`none`)]).optional(),line_width:o().positive().max(1584).optional(),line_dash:r(j).optional(),line_begin:r(M).optional(),line_end:r(M).optional(),line_begin_size:P.optional(),line_end_size:P.optional(),text:H.optional(),textbox:u(!0).optional(),picture:f().min(1).optional(),crop:U.optional(),movie:f().min(1).optional(),poster:o().min(0).optional(),geometry:r(O).optional(),adjustments:e(o()).max(8).optional(),path:s({w:o().positive(),h:o().positive(),d:f().min(1)}).optional(),table:s({columns:e(o().positive()).min(1),rows:e(s({height:o().positive(),fill:V.optional(),text:H.optional(),line:V.optional()})).min(1)}).optional(),chart:J.optional(),group:T.optional(),locked:u(!0).optional(),component:d([T,f().regex(/^[^#\s]+\.[cm]?[jt]sx?(?:#[A-Za-z_$][\w$]*)?$/u,`A component is a name the deck's module registers, or a module's path and export: ../ui.ts#Dialog.`)]).optional(),props:n(f(),W).optional(),dur:o().positive().optional()}),oe=[`textbox`,`picture`,`movie`,`geometry`,`path`,`table`,`chart`,`component`],Q=[`fade`,`push`,`wipe`,`morph`],se=s({type:r(Q),direction:r(A).optional(),duration:o().positive().optional()}),ce=s({shape:f().min(1),paragraph:a().min(0).optional(),effect:r(k),direction:r(A).optional(),start:r(te).optional(),duration:o().min(0).optional(),delay:o().min(0).optional(),path:f().min(1).optional()}),$=s({id:T,layout:f().min(1).optional(),generate:T.optional(),hidden:d([u(!0),e(f())]).optional(),shapes:n(f().min(1),ae).optional(),animations:e(ce).optional(),transition:se.optional(),advance_after:o().min(0).max(86400).optional(),background:re.optional()}),le=s({slides:e($).default([])}).superRefine((e,t)=>{let n=new Set;e.slides.forEach((e,r)=>{n.has(e.id)&&t.addIssue({code:`custom`,path:[`slides`,r,`id`],message:`Two slides are "${e.id}".`}),n.add(e.id),(e.layout===void 0?0:1)+(e.generate===void 0?0:1)!=1&&t.addIssue({code:`custom`,path:[`slides`,r],message:`Slide ${e.id} has a layout or a generator: one of them.`}),e.hidden!==void 0&&e.generate===void 0&&e.hidden!==!0&&t.addIssue({code:`custom`,path:[`slides`,r,`hidden`],message:`Slide ${e.id} is hidden (true); a list of ids is a generated block's.`});for(let[n,i]of Object.entries(e.shapes??{})){let a=oe.filter(e=>i[e]!==void 0);a.length>1&&t.addIssue({code:`custom`,path:[`slides`,r,`shapes`,n],message:`Shape ${n} is one kind of shape, not ${a.join(` and `)}.`});let o=n.includes(`/`)?n.split(`/`):[n];(!(o.length<=2&&o.every(e=>v.test(e)))||o.length===2&&e.generate===void 0)&&t.addIssue({code:`custom`,path:[`slides`,r,`shapes`,n],message:`A shape's name is letters, digits, _ and -; <slide>/<shape> only in a generated block.`})}})});export{M as a,$ as c,ne as d,z as f,_ as h,j as i,le as l,S as m,K as n,G as o,w as p,J as r,Q as s,A as t,E as u};
@@ -1,3 +0,0 @@
1
- import{i as e}from"./rolldown-runtime-COiEfhsA.js";import{o as t,s as n,u as r,v as i,y as a}from"./react-WA6wlt8S.js";import{yt as o}from"./button-eGxLxbv9.js";import{t as s}from"./jsx-runtime-DePvh3-m.js";import{t as c}from"./createLucideIcon-GFZ_fxLc.js";import{C as l,w as u,x as d}from"./dist-CC7OeU1e.js";import{gt as f,p}from"./index-CgB5osVc.js";import{t as m}from"./row-BRlEWRrK.js";import{t as h}from"./textarea-tEWvBY9p.js";var g=c(`image-plus`,[[`path`,{d:`M16 5h6`,key:`1vod17`}],[`path`,{d:`M19 2v6`,key:`4bpg5p`}],[`path`,{d:`M21 11.5V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h7.5`,key:`1ue2ih`}],[`path`,{d:`m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21`,key:`1xmnt7`}],[`circle`,{cx:`9`,cy:`9`,r:`2`,key:`af1f0g`}]]),_=e(a(),1),v=s(),y=o({en:{find:`Find`,items:`Items`,files:`Files`,nothing:`Nothing found`,altText:`Alt text`,altHint:`What the picture shows, for someone who cannot see it`,panes:`Resize the panes`},"zh-cn":{find:`查找`,items:`作品`,files:`文件`,nothing:`未找到`,altText:`替代文本`,altHint:`图片里有什么,写给看不见它的人`,panes:`调整两栏宽度`},"zh-tw":{find:`尋找`,items:`作品`,files:`檔案`,nothing:`找不到任何結果`,altText:`替代文字`,altHint:`圖片中有什麼,寫給看不見它的人`,panes:`調整兩欄寬度`},ja:{find:`検索`,items:`作品`,files:`ファイル`,nothing:`見つかりませんでした`,altText:`代替テキスト`,altHint:`画像に写っているもの。見ることができない人のために`,panes:`ペインの幅を変える`},ko:{find:`찾기`,items:`작업물`,files:`파일`,nothing:`찾은 항목 없음`,altText:`대체 텍스트`,altHint:`사진이 보여 주는 내용, 볼 수 없는 사람을 위해`,panes:`창 크기 조절`},es:{find:`Buscar`,items:`Elementos`,files:`Archivos`,nothing:`No se encontró nada`,altText:`Texto alternativo`,altHint:`Lo que muestra la imagen, para quien no puede verla`,panes:`Ajustar los paneles`},fr:{find:`Chercher`,items:`Éléments`,files:`Fichiers`,nothing:`Aucun résultat`,altText:`Texte alternatif`,altHint:`Ce que montre l’image, pour qui ne peut pas la voir`,panes:`Redimensionner les panneaux`},de:{find:`Suchen`,items:`Werke`,files:`Dateien`,nothing:`Nichts gefunden`,altText:`Alt-Text`,altHint:`Was das Bild zeigt, für jemanden, der es nicht sehen kann`,panes:`Bereiche anpassen`},pt:{find:`Procurar`,items:`Itens`,files:`Arquivos`,nothing:`Nada encontrado`,altText:`Texto alternativo`,altHint:`O que a imagem mostra, para quem não pode vê-la`,panes:`Redimensionar os painéis`}});function b(){return y.of(n()?.locale)}function x({alt:e,onAlt:t,trigger:n,most:r}){let i=b(),[a,o]=(0,_.useState)(!1),[s,c]=(0,_.useState)(e);return(0,v.jsxs)(d,{open:a,onOpenChange:n=>{o(n),n?c(e):s!==e&&t(s)},children:[(0,v.jsx)(u,{asChild:!0,children:n}),(0,v.jsx)(l,{className:`w-80`,align:`start`,children:(0,v.jsxs)(`label`,{className:`flex flex-col gap-1.5 text-sm`,children:[(0,v.jsx)(`span`,{className:`font-medium`,children:i.altText}),(0,v.jsx)(h,{autoFocus:!0,value:s,placeholder:i.altHint,maxLength:r,onFocus:e=>{let t=e.currentTarget.value.length;e.currentTarget.setSelectionRange(t,t)},onChange:e=>{c(e.target.value)},onBlur:()=>{s!==e&&t(s)}})]})})]})}function S({file:e,...t}){let n=(0,_.useRef)(null),a=(0,_.useRef)(!1);return r({element:()=>n.current,hold:()=>{let e=n.current;return a.current=e!==null&&!e.paused,e?.pause(),Promise.resolve()},release:()=>{a.current&&n.current?.play().catch(()=>void 0),a.current=!1},pictures:()=>{let e=n.current,t=e?i(e):void 0;return Promise.resolve(t?[t]:[])},locate:()=>{let t=e===void 0?`the video`:`the video ${e}`;return Promise.resolve({elements:[{name:t}],where:`on ${t} at ${(n.current?.currentTime??0).toFixed(2)} s`})}}),(0,v.jsx)(`video`,{ref:n,...t})}var C=(e,t)=>(0,v.jsx)(S,{...e,file:t});function w(e,t){let n=e===``?[]:e.split(`/`);for(let e of t.split(`#`)[0]?.split(`/`)??[])if(e!==``&&e!==`.`){if(e===`..`){if(n.length===0)return;n.pop()}else n.push(e)}return n.join(`/`)}function T(e,t){let n=e===``?[]:e.split(`/`),r=t.split(`/`),i=0;for(;i<n.length&&i<r.length-1&&n[i]===r[i];)i++;let a=[...n.slice(i).map(()=>`..`),...r.slice(i)].join(`/`);return a.startsWith(`../`)?a:`./${a}`}var E=e=>e.includes(`#`)||/\.(?:[cm]?[jt]s|tsx|jsx)$/iu.test(e);async function D(e,t,n){let r=w(t,n);if(r===void 0)return;if(!E(n))return(await e[`files/url`]({path:r}).catch(()=>void 0))?.url;let i=(await f(e,`items/preview`,{item:r}).catch(()=>void 0))?.preview;return i?.type===`picture`?`data:${i.image.mime};base64,${i.image.data}`:void 0}function O(e,n){let r=t(),[i,a]=(0,_.useState)(new Map),o=[...new Set(n)].sort().join(`
2
- `);return(0,_.useEffect)(()=>{let t=!0,n=o===``?[]:o.split(`
3
- `);return Promise.all(n.map(async t=>[t,await D(r,e,t)])).then(e=>{t&&a(new Map(e.flatMap(([e,t])=>t===void 0?[]:[[e,t]])))}),()=>{t=!1}},[r,e,o]),i}async function k(e,t,n,r=3){let i=await e(t).catch(()=>({files:[],dirs:[]})),a=i.files.map(e=>e.path).filter(n);if(r===0)return a;let o=await Promise.all(i.dirs.filter(e=>!e.split(`/`).some(e=>e.startsWith(`.`)||e===`node_modules`)).map(t=>k(e,t,n,r-1)));return[...a,...o.flat()]}var A=e=>e.split(`.`).pop()?.toLowerCase()??``;function j(e){let n=b(),r=t(),[i,a]=(0,_.useState)(``),[o,s]=(0,_.useState)([]),[c,l]=(0,_.useState)([]),u=e.types.join(`,`);(0,_.useEffect)(()=>{let e=!0,t=u.split(`,`);return k(e=>r[`files/list`]({dir:e}),``,e=>t.includes(A(e))).then(t=>{e&&s([...new Set(t)].sort())}),f(r,`project/items`,{}).then(t=>{e&&l(t.items)},()=>void 0),()=>{e=!1}},[r,u]);let d=i.trim().toLowerCase(),h=(0,_.useMemo)(()=>c.filter(t=>t.kind!==void 0&&t.entry!==e.self&&(t.kindInfo?.exports?.types??[]).some(t=>e.types.includes(t))&&(d===``||t.id.toLowerCase().includes(d)||(t.title??``).toLowerCase().includes(d))),[c,e.self,e.types,d]),g=o.filter(t=>e.types.includes(A(t))&&(d===``||t.toLowerCase().includes(d))),y=(t,n,r,i)=>(0,v.jsx)(m,{title:r,meta:(0,v.jsx)(`span`,{className:`text-lead max-w-32 truncate text-xs`,children:r}),onClick:()=>{e.onPick(i)},children:(0,v.jsx)(`span`,{className:`truncate`,children:n})},t);return(0,v.jsxs)(`div`,{className:`flex w-80 flex-col gap-2`,"data-testid":e.testId,children:[(0,v.jsx)(p,{autoFocus:!0,value:i,placeholder:n.find,"aria-label":n.find,onChange:e=>{a(e.target.value)}}),(0,v.jsxs)(`div`,{className:`flex h-72 flex-col overflow-y-auto`,children:[h.length>0&&(0,v.jsx)(`p`,{className:`text-lead px-2 pt-1 text-xs font-semibold`,children:n.items}),h.map(e=>y(`i:${e.id}`,e.title??e.id,e.entry,e.entry)),g.length>0&&(0,v.jsx)(`p`,{className:`text-lead px-2 pt-2 text-xs font-semibold`,children:n.files}),g.map(e=>y(`f:${e}`,e.split(`/`).pop()??e,e,e)),h.length===0&&g.length===0?(0,v.jsx)(`p`,{className:`text-lead px-2 py-6 text-center text-sm`,children:n.nothing}):null]})]})}var M=.3,N=.7;function P({edit:e,preview:t,width:n,background:r,testId:i}){let a=b(),[o,s]=(0,_.useState)(.5),[c,l]=(0,_.useState)(1),u=(0,_.useRef)(null),d=(0,_.useRef)(null);(0,_.useEffect)(()=>{let e=d.current;if(e===null)return;let t=()=>{l(Math.min(1,Math.max(.3,(e.clientWidth-32)/n)))};t();let r=new ResizeObserver(t);return r.observe(e),()=>{r.disconnect()}},[n]);let f=e=>Math.min(N,Math.max(M,e));return(0,v.jsxs)(`div`,{ref:u,className:`flex min-h-0 flex-1`,children:[(0,v.jsx)(`div`,{className:`min-w-0 overflow-y-auto`,style:{flexBasis:`${String(o*100)}%`},children:e}),(0,v.jsx)(`div`,{role:`separator`,"aria-orientation":`vertical`,"aria-label":a.panes,"aria-valuenow":Math.round(o*100),"aria-valuemin":M*100,"aria-valuemax":N*100,tabIndex:0,className:`ak-post-split-rule`,onPointerDown:e=>{let t=u.current?.getBoundingClientRect();if(t===void 0)return;e.currentTarget.setPointerCapture(e.pointerId);let n=e=>{s(f((e.clientX-t.left)/t.width))},r=()=>{window.removeEventListener(`pointermove`,n),window.removeEventListener(`pointerup`,r)};window.addEventListener(`pointermove`,n),window.addEventListener(`pointerup`,r)},onKeyDown:e=>{if(e.key===`ArrowLeft`)s(e=>f(e-.05));else if(e.key===`ArrowRight`)s(e=>f(e+.05));else return;e.preventDefault()}}),(0,v.jsx)(`div`,{ref:d,className:`min-w-0 flex-1 overflow-y-auto`,style:{background:r},"data-testid":i,children:(0,v.jsx)(`div`,{className:`mx-auto w-fit py-4`,style:{zoom:c},children:t})})]})}export{T as a,x as c,O as i,g as l,j as n,S as o,E as r,C as s,P as t};
@@ -1 +0,0 @@
1
- import{n as e,t}from"./chart-C37xvZT2.js";var n={dk1:`#000000`,lt1:`#FFFFFF`,dk2:`#44546A`,lt2:`#E7E6E6`,accent1:`#4472C4`,accent2:`#ED7D31`,accent3:`#A5A5A5`,accent4:`#FFC000`,accent5:`#5B9BD5`,accent6:`#70AD47`,hlink:`#0563C1`,folHlink:`#954F72`},r={"&":`&amp;`,"<":`&lt;`,">":`&gt;`,'"':`&quot;`},i=e=>e.replace(/[&<>"]/gu,e=>r[e]??e),a=e=>String(Number(e.toFixed(3)));function o(e,t){let n=e=>{let n=e.fill===void 0?`none`:t(e.fill),r=e.width>0?t(e.color):`none`;return`<path d="${i(e.d)}" fill="${n}" stroke="${r}" stroke-width="${a(e.width)}" stroke-linejoin="round"/>`},r=[];for(let t of[...e.grid,...e.shapes])r.push(n(t));for(let n of[...e.boxes,...e.keys])r.push(`<rect x="${a(n.x)}" y="${a(n.y)}" width="${a(n.width)}" height="${a(n.height)}" fill="${t(n.color)}"/>`);for(let t of[...e.axes,...e.lines])r.push(n(t));for(let n of e.dots)r.push(`<circle cx="${a(n.x)}" cy="${a(n.y)}" r="${a(n.r)}" fill="${t(n.color)}"/>`);for(let n of e.words){let e=n.rotate===void 0?``:` transform="rotate(${a(n.rotate)} ${a(n.x)} ${a(n.y)})"`;r.push(`<text x="${a(n.x)}" y="${a(n.y)}" font-size="${a(n.size)}" text-anchor="${n.anchor}" dominant-baseline="central" fill="${t(n.color)}"${e}>${i(n.text)}</text>`)}return r.join(``)}function s(r,s,c,l={}){let u=l.pointsPerPixel??.75,d=s*u,f=c*u,p=l.colors??n,m=t=>e(t,p),h=l.font??`Carlito, Calibri, Arial, sans-serif`,g=l.paper??`#FFFFFF`,_=l.edge??`#D9D9D9`,v=l.label===void 0?``:` role="img" aria-label="${i(l.label)}"`,y=g===`none`&&_===`none`?``:`<rect x="0.375" y="0.375" width="${a(d-.75)}" height="${a(f-.75)}" fill="${i(g)}" stroke="${i(_)}" stroke-width="${_===`none`?`0`:`0.75`}"/>`;return`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 ${a(d)} ${a(f)}" width="${a(s)}" height="${a(c)}" font-family="${i(h)}"${v}>${y}${o(t(r,d,f),m)}</svg>`}export{s as t};
@@ -1,8 +0,0 @@
1
- import{n as e}from"./chunk-Y2CYZVJY-DsF7k-Jl.js";import"./d3-selection-COWvaQNI.js";import"./chunk-DSNLSHJZ-CUDx1Rv5.js";import"./chunk-YZO67HFG-Bbpu36XF.js";import"./chunk-7S6XSTFO-Dc0Dvkq7.js";import"./chunk-AQDTSKZB-VAILIsfx.js";import"./chunk-UHW7PFBP-BgLV8BIJ.js";import"./chunk-HAGFOTED-DAoEe-dJ.js";import"./chunk-ZAUX2LTX-C48Ri0Gs.js";import"./chunk-WQQL4CDK-CMST9dyE.js";import"./chunk-55XCU76K-7pnsxeaP.js";import"./chunk-VQ5W62QI-Bw19OOSD.js";import"./chunk-HNE4Q36P-g0akya12.js";import{r as t,t as n}from"./chunk-NQOKRVIF-hTGjzXdJ.js";import"./mermaid.core-zFwZug4C.js";var r=n({styles:e(e=>`${t(e)}
2
- .swimlane.cluster:not([data-color-id]) rect {
3
- stroke: ${e.clusterBorder} !important;
4
- }
5
- [data-look="neo"].cluster rect {
6
- filter: none;
7
- }
8
- `,`getStyles`)});export{r as diagram};
@@ -1 +0,0 @@
1
- import{i as e}from"./rolldown-runtime-COiEfhsA.js";import{y as t}from"./react-WA6wlt8S.js";import{at as n,gt as r,lt as i,mt as a,nt as o,ot as s,rt as c,tt as l}from"./button-eGxLxbv9.js";import{t as u}from"./jsx-runtime-DePvh3-m.js";import{t as d}from"./createLucideIcon-GFZ_fxLc.js";import{G as f,K as p,U as m,W as h}from"./index-CgB5osVc.js";var g=d(`arrow-down-to-line`,[[`path`,{d:`M12 17V3`,key:`1cwfxf`}],[`path`,{d:`m6 11 6 6 6-6`,key:`12ii2o`}],[`path`,{d:`M19 21H5`,key:`150jfl`}]]),_=d(`arrow-up-to-line`,[[`path`,{d:`M5 3h14`,key:`7usisc`}],[`path`,{d:`m18 13-6-6-6 6`,key:`1kf1n9`}],[`path`,{d:`M12 7v14`,key:`1akyts`}]]),v=d(`baseline`,[[`path`,{d:`M4 20h16`,key:`14thso`}],[`path`,{d:`m6 16 6-12 6 12`,key:`1b4byz`}],[`path`,{d:`M8 12h8`,key:`1wcyev`}]]),y=d(`fold-vertical`,[[`path`,{d:`M12 22v-6`,key:`6o8u61`}],[`path`,{d:`M12 8V2`,key:`1wkif3`}],[`path`,{d:`M4 12H2`,key:`rhcxmi`}],[`path`,{d:`M10 12H8`,key:`s88cx1`}],[`path`,{d:`M16 12h-2`,key:`10asgb`}],[`path`,{d:`M22 12h-2`,key:`14jgyd`}],[`path`,{d:`m15 19-3-3-3 3`,key:`e37ymu`}],[`path`,{d:`m15 5-3 3-3-3`,key:`19d6lf`}]]),b=d(`lock`,[[`rect`,{width:`18`,height:`11`,x:`3`,y:`11`,rx:`2`,ry:`2`,key:`1w4ew1`}],[`path`,{d:`M7 11V7a5 5 0 0 1 10 0v4`,key:`fwvmzm`}]]),x=d(`paint-bucket`,[[`path`,{d:`M11 7 6 2`,key:`1jwth8`}],[`path`,{d:`M18.992 12H2.041`,key:`xw1gg`}],[`path`,{d:`M21.145 18.38A3.34 3.34 0 0 1 20 16.5a3.3 3.3 0 0 1-1.145 1.88c-.575.46-.855 1.02-.855 1.595A2 2 0 0 0 20 22a2 2 0 0 0 2-2.025c0-.58-.285-1.13-.855-1.595`,key:`1nkol4`}],[`path`,{d:`m8.5 4.5 2.148-2.148a1.205 1.205 0 0 1 1.704 0l7.296 7.296a1.205 1.205 0 0 1 0 1.704l-7.592 7.592a3.615 3.615 0 0 1-5.112 0l-3.888-3.888a3.615 3.615 0 0 1 0-5.112L5.67 7.33`,key:`1nk1rd`}]]),S=d(`underline`,[[`path`,{d:`M6 4v6a6 6 0 0 0 12 0V4`,key:`9kb039`}],[`line`,{x1:`4`,x2:`20`,y1:`20`,y2:`20`,key:`nun2al`}]]),C=e(t(),1),w=u(),T=Object.defineProperty,E=(e,t)=>T(e,`name`,{value:t,configurable:!0}),D={Automatic:`automatic`,Manual:`manual`},O=`Tabs`,[k,A]=s(O,[f]),j=f(),[M,N]=k(O),P=C.forwardRef(E(function(e,t){let{__scopeTabs:n,value:r,onValueChange:a,defaultValue:o,orientation:s=`horizontal`,dir:u,activationMode:d=D.Automatic,...f}=e,m=p(u),[h,g]=c({prop:r,onChange:a,defaultProp:o??``,caller:O});return(0,w.jsx)(M,{scope:n,baseId:l(),value:h,onValueChange:g,orientation:s,dir:m,activationMode:d,children:(0,w.jsx)(i.div,{dir:m,"data-orientation":s,...f,ref:t})})},`Tabs`)),F=`TabsList`,I=C.forwardRef(E(function(e,t){let{__scopeTabs:n,loop:r=!0,...a}=e,o=N(F,n),s=j(n);return(0,w.jsx)(m,{asChild:!0,...s,orientation:o.orientation,dir:o.dir,loop:r,children:(0,w.jsx)(i.div,{role:`tablist`,"aria-orientation":o.orientation,...a,ref:t})})},`TabsList`)),L=`TabsTrigger`,R=C.forwardRef(E(function(e,t){let{__scopeTabs:r,value:a,disabled:o=!1,...s}=e,c=N(L,r),l=j(r),u=V(c.baseId,a),d=H(c.baseId,a),f=a===c.value;return(0,w.jsx)(h,{asChild:!0,...l,focusable:!o,active:f,children:(0,w.jsx)(i.button,{type:`button`,role:`tab`,"aria-selected":f,"aria-controls":d,"data-state":f?`active`:`inactive`,"data-disabled":o?``:void 0,disabled:o,id:u,...s,ref:t,onMouseDown:n(e.onMouseDown,e=>{!o&&e.button===0&&e.ctrlKey===!1?(e.currentTarget.focus(),c.onValueChange(a)):e.preventDefault()}),onKeyDown:n(e.onKeyDown,e=>{o||e.target!==e.currentTarget||[` `,`Enter`].includes(e.key)&&c.onValueChange(a)}),onFocus:n(e.onFocus,()=>{let e=c.activationMode!==D.Manual;!f&&!o&&e&&c.onValueChange(a)})})})},`TabsTrigger`)),z=`TabsContent`,B=C.forwardRef(E(function(e,t){let{__scopeTabs:n,value:r,forceMount:a,children:s,...c}=e,l=N(z,n),u=V(l.baseId,r),d=H(l.baseId,r),f=r===l.value,p=C.useRef(f);return C.useEffect(()=>{let e=requestAnimationFrame(()=>p.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,w.jsx)(o,{present:a||f,children:({present:n})=>(0,w.jsx)(i.div,{"data-state":f?`active`:`inactive`,"data-orientation":l.orientation,role:`tabpanel`,"aria-labelledby":u,hidden:!n,id:d,tabIndex:0,...c,ref:t,style:{...e.style,animationDuration:p.current?`0s`:void 0},children:n&&s})})},`TabsContent`));function V(e,t){return`${e}-trigger-${t}`}E(V,`makeTriggerId`);function H(e,t){return`${e}-content-${t}`}E(H,`makeContentId`);function U({className:e,orientation:t=`horizontal`,...n}){return(0,w.jsx)(P,{"data-slot":`tabs`,"data-orientation":t,orientation:t,className:r(`group/tabs flex gap-2 data-[orientation=horizontal]:flex-col`,e),...n})}var W=a(`group/tabs-list inline-flex w-fit items-center justify-center rounded-lg p-[3px] text-muted-foreground group-data-[orientation=horizontal]/tabs:h-9 group-data-[orientation=vertical]/tabs:h-fit group-data-[orientation=vertical]/tabs:flex-col data-[variant=line]:rounded-none`,{variants:{variant:{default:`bg-muted`,line:`gap-1 bg-transparent`}},defaultVariants:{variant:`default`}});function G({className:e,variant:t=`default`,...n}){return(0,w.jsx)(I,{"data-slot":`tabs-list`,"data-variant":t,className:r(W({variant:t}),e),...n})}function K({className:e,...t}){return(0,w.jsx)(R,{"data-slot":`tabs-trigger`,className:r(`relative inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center gap-1.5 rounded-md border border-transparent px-2 py-1 text-sm font-medium whitespace-nowrap text-foreground/60 transition-all group-data-[orientation=vertical]/tabs:w-full group-data-[orientation=vertical]/tabs:justify-start hover:text-foreground focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 focus-visible:outline-1 focus-visible:outline-ring disabled:pointer-events-none disabled:opacity-50 group-data-[variant=default]/tabs-list:data-[state=active]:shadow-sm group-data-[variant=line]/tabs-list:data-[state=active]:shadow-none dark:text-muted-foreground dark:hover:text-foreground [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4`,`group-data-[variant=line]/tabs-list:bg-transparent group-data-[variant=line]/tabs-list:data-[state=active]:bg-transparent dark:group-data-[variant=line]/tabs-list:data-[state=active]:border-transparent dark:group-data-[variant=line]/tabs-list:data-[state=active]:bg-transparent`,`data-[state=active]:bg-background data-[state=active]:text-foreground dark:data-[state=active]:border-input dark:data-[state=active]:bg-input/30 dark:data-[state=active]:text-foreground`,`after:absolute after:bg-foreground after:opacity-0 after:transition-opacity group-data-[orientation=horizontal]/tabs:after:inset-x-0 group-data-[orientation=horizontal]/tabs:after:bottom-[-5px] group-data-[orientation=horizontal]/tabs:after:h-0.5 group-data-[orientation=vertical]/tabs:after:inset-y-0 group-data-[orientation=vertical]/tabs:after:-right-1 group-data-[orientation=vertical]/tabs:after:w-0.5 group-data-[variant=line]/tabs-list:data-[state=active]:after:opacity-100`,e),...t})}function q({className:e,...t}){return(0,w.jsx)(B,{"data-slot":`tabs-content`,className:r(`flex-1 outline-none`,e),...t})}export{S as a,y as c,g as d,K as i,v as l,q as n,x as o,G as r,b as s,U as t,_ as u};