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,4 +1,4 @@
1
- import{a as e,i as t,n,r}from"./dist-BgDRE85b.js";import{$ as i,A as a,B as o,C as s,D as c,E as l,F as u,G as d,K as f,M as p,O as m,Q as h,T as g,U as _,V as ee,W as v,X as y,Y as b,Z as x,_ as te,ct as ne,d as re,et as ie,f as ae,h as oe,it as se,j as ce,k as le,lt as S,nt as C,ot as ue,p as de,q as fe,rt as pe,tt as me,x as he,y as ge,z as _e}from"./dist-DDv_SbKw.js";import{A as ve,C as ye,N as be,O as w,P as T,T as xe,c as Se,d as Ce,f as we,j as Te,k as Ee,l as De,o as Oe,s as ke,u as Ae,w as je}from"./syntax-C0iPON60.js";import{E as Me,c as E,d as D,h as Ne,k as Pe,l as Fe,n as O,o as Ie,s as k,t as Le,y as Re}from"./dist-YW8hS4IM.js";var ze={}.hasOwnProperty;function Be(e,t){let n=t||{};function r(t,...n){let i=r.invalid,a=r.handlers;if(t&&ze.call(t,e)){let n=String(t[e]);i=ze.call(a,n)?a[n]:r.unknown}if(i)return i.call(this,t,...n)}return r.handlers=n.handlers||{},r.invalid=n.invalid,r.unknown=n.unknown,r}var Ve={}.hasOwnProperty;function He(e,t){let n=-1,r;if(t.extensions)for(;++n<t.extensions.length;)He(e,t.extensions[n]);for(r in t)if(Ve.call(t,r))switch(r){case`extensions`:break;case`unsafe`:Ue(e[r],t[r]);break;case`join`:Ue(e[r],t[r]);break;case`handlers`:We(e[r],t[r]);break;default:e.options[r]=t[r]}return e}function Ue(e,t){t&&e.push(...t)}function We(e,t){t&&Object.assign(e,t)}function Ge(e){if(e.charCodeAt(0)!==60)return;let t=e.charCodeAt(1);if(t===33){let t=e.charCodeAt(2);return t===45?2:t===91?5:ve(t)?4:void 0}if(t===63)return 3;let n=t===47,r=n?2:1,i=r,a=e.charCodeAt(i);if(!ve(a))return;for(;a===45||Te(a);)a=e.charCodeAt(++i);let o=e.slice(r,i).toLowerCase();return!n&&a!==47&&xe.includes(o)?1:je.includes(o)?6:7}var Ke=[qe];function qe(e,t,n,r){if(t.type===`code`&&De(t,r)&&(e.type===`list`||e.type===t.type&&De(e,r)))return!1;if(`spread`in n&&typeof n.spread==`boolean`){if(e.type===`paragraph`&&(e.type===t.type||t.type===`definition`||t.type===`heading`&&ke(t,r)))return;if(e.type===`html`){let t=Ge(e.value);if(t===void 0||t===6||t===7)return 1}if(e.type===`paragraph`&&t.type===`html`){let e=Ge(t.value);if(e===void 0||e===7)return 1}return+!!n.spread}}for(var A=[`autolink`,`destinationLiteral`,`destinationRaw`,`reference`,`titleQuote`,`titleApostrophe`],Je=[{character:` `,after:`[\\r\\n]`,inConstruct:`phrasing`},{character:` `,before:`[\\r\\n]`,inConstruct:`phrasing`},{character:` `,inConstruct:[`codeFencedLangGraveAccent`,`codeFencedLangTilde`]},{character:`\r`,inConstruct:[`codeFencedLangGraveAccent`,`codeFencedLangTilde`,`codeFencedMetaGraveAccent`,`codeFencedMetaTilde`,`destinationLiteral`,`headingAtx`]},{character:`
1
+ import{a as e,i as t,n,r}from"./dist-90dg0B0d.js";import{$ as i,A as a,B as o,C as s,D as c,E as l,F as u,G as d,K as f,M as p,O as m,Q as h,T as g,U as _,V as ee,W as v,X as y,Y as b,Z as x,_ as te,ct as ne,d as re,et as ie,f as ae,h as oe,it as se,j as ce,k as le,lt as S,nt as C,ot as ue,p as de,q as fe,rt as pe,tt as me,x as he,y as ge,z as _e}from"./dist-DMZ1VHPK.js";import{A as ve,C as ye,N as be,O as w,P as T,T as xe,c as Se,d as Ce,f as we,j as Te,k as Ee,l as De,o as Oe,s as ke,u as Ae,w as je}from"./syntax-C0iPON60.js";import{E as Me,c as E,d as D,h as Ne,k as Pe,l as Fe,n as O,o as Ie,s as k,t as Le,y as Re}from"./dist-YW8hS4IM.js";var ze={}.hasOwnProperty;function Be(e,t){let n=t||{};function r(t,...n){let i=r.invalid,a=r.handlers;if(t&&ze.call(t,e)){let n=String(t[e]);i=ze.call(a,n)?a[n]:r.unknown}if(i)return i.call(this,t,...n)}return r.handlers=n.handlers||{},r.invalid=n.invalid,r.unknown=n.unknown,r}var Ve={}.hasOwnProperty;function He(e,t){let n=-1,r;if(t.extensions)for(;++n<t.extensions.length;)He(e,t.extensions[n]);for(r in t)if(Ve.call(t,r))switch(r){case`extensions`:break;case`unsafe`:Ue(e[r],t[r]);break;case`join`:Ue(e[r],t[r]);break;case`handlers`:We(e[r],t[r]);break;default:e.options[r]=t[r]}return e}function Ue(e,t){t&&e.push(...t)}function We(e,t){t&&Object.assign(e,t)}function Ge(e){if(e.charCodeAt(0)!==60)return;let t=e.charCodeAt(1);if(t===33){let t=e.charCodeAt(2);return t===45?2:t===91?5:ve(t)?4:void 0}if(t===63)return 3;let n=t===47,r=n?2:1,i=r,a=e.charCodeAt(i);if(!ve(a))return;for(;a===45||Te(a);)a=e.charCodeAt(++i);let o=e.slice(r,i).toLowerCase();return!n&&a!==47&&xe.includes(o)?1:je.includes(o)?6:7}var Ke=[qe];function qe(e,t,n,r){if(t.type===`code`&&De(t,r)&&(e.type===`list`||e.type===t.type&&De(e,r)))return!1;if(`spread`in n&&typeof n.spread==`boolean`){if(e.type===`paragraph`&&(e.type===t.type||t.type===`definition`||t.type===`heading`&&ke(t,r)))return;if(e.type===`html`){let t=Ge(e.value);if(t===void 0||t===6||t===7)return 1}if(e.type===`paragraph`&&t.type===`html`){let e=Ge(t.value);if(e===void 0||e===7)return 1}return+!!n.spread}}for(var A=[`autolink`,`destinationLiteral`,`destinationRaw`,`reference`,`titleQuote`,`titleApostrophe`],Je=[{character:` `,after:`[\\r\\n]`,inConstruct:`phrasing`},{character:` `,before:`[\\r\\n]`,inConstruct:`phrasing`},{character:` `,inConstruct:[`codeFencedLangGraveAccent`,`codeFencedLangTilde`]},{character:`\r`,inConstruct:[`codeFencedLangGraveAccent`,`codeFencedLangTilde`,`codeFencedMetaGraveAccent`,`codeFencedMetaTilde`,`destinationLiteral`,`headingAtx`]},{character:`
2
2
  `,inConstruct:[`codeFencedLangGraveAccent`,`codeFencedLangTilde`,`codeFencedMetaGraveAccent`,`codeFencedMetaTilde`,`destinationLiteral`,`headingAtx`]},{character:`\r`,before:`[\\r\\n]`,inConstruct:`phrasing`},{character:`\r`,after:`\\r`,inConstruct:`phrasing`},{character:`
3
3
  `,before:`\\n`,inConstruct:`phrasing`},{character:`
4
4
  `,after:`[\\r\\n]`,inConstruct:`phrasing`},{character:` `,after:`[\\r\\n]`,inConstruct:`phrasing`},{character:` `,before:`[\\r\\n]`,inConstruct:`phrasing`},{character:` `,inConstruct:[`codeFencedLangGraveAccent`,`codeFencedLangTilde`]},{character:`!`,after:`\\[`,inConstruct:`phrasing`,notInConstruct:A},{character:`"`,inConstruct:`titleQuote`},{atBreak:!0,character:`#`},{character:`#`,inConstruct:`headingAtx`,after:`(?:[\r
@@ -1 +1 @@
1
- import{t as e}from"./createLucideIcon-GFZ_fxLc.js";var t=e(`table`,[[`path`,{d:`M12 3v18`,key:`108xh3`}],[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`path`,{d:`M3 9h18`,key:`1pudct`}],[`path`,{d:`M3 15h18`,key:`5xshup`}]]);export{t};
1
+ import{t as e}from"./createLucideIcon-REX213UO.js";var t=e(`table`,[[`path`,{d:`M12 3v18`,key:`108xh3`}],[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`path`,{d:`M3 9h18`,key:`1pudct`}],[`path`,{d:`M3 15h18`,key:`5xshup`}]]);export{t};
@@ -0,0 +1 @@
1
+ import{i as e}from"./rolldown-runtime-COiEfhsA.js";import{v as t}from"./react-Bk7NnOLX.js";import{at as n,gt as r,lt as i,mt as a,nt as o,ot as s,rt as c,t as l,tt as u}from"./button-EftXSfev.js";import{t as d}from"./jsx-runtime-DePvh3-m.js";import{t as f}from"./createLucideIcon-REX213UO.js";import{C as p,S as m,b as h}from"./dist-Cmnq14RO.js";import{E as g,G as _,H as v,U as y,W as b,h as x,p as S,ut as C}from"./index-D8qc_ipi.js";var w=f(`a-arrow-down`,[[`path`,{d:`m14 12 4 4 4-4`,key:`buelq4`}],[`path`,{d:`M18 16V7`,key:`ty0viw`}],[`path`,{d:`m2 16 4.039-9.69a.5.5 0 0 1 .923 0L11 16`,key:`d5nyq2`}],[`path`,{d:`M3.304 13h6.392`,key:`1q3zxz`}]]),T=f(`a-arrow-up`,[[`path`,{d:`m14 11 4-4 4 4`,key:`1pu57t`}],[`path`,{d:`M18 16V7`,key:`ty0viw`}],[`path`,{d:`m2 16 4.039-9.69a.5.5 0 0 1 .923 0L11 16`,key:`d5nyq2`}],[`path`,{d:`M3.304 13h6.392`,key:`1q3zxz`}]]),ee=f(`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`}]]),te=f(`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`}]]),ne=f(`baseline`,[[`path`,{d:`M4 20h16`,key:`14thso`}],[`path`,{d:`m6 16 6-12 6 12`,key:`1b4byz`}],[`path`,{d:`M8 12h8`,key:`1wcyev`}]]),re=f(`between-horizontal-start`,[[`rect`,{width:`13`,height:`7`,x:`8`,y:`3`,rx:`1`,key:`pkso9a`}],[`path`,{d:`m2 9 3 3-3 3`,key:`1agib5`}],[`rect`,{width:`13`,height:`7`,x:`8`,y:`14`,rx:`1`,key:`1q5fc1`}]]),ie=f(`clipboard-paste`,[[`path`,{d:`M11 14h10`,key:`1w8e9d`}],[`path`,{d:`M16 4h2a2 2 0 0 1 2 2v1.344`,key:`1e62lh`}],[`path`,{d:`m17 18 4-4-4-4`,key:`z2g111`}],[`path`,{d:`M8 4H6a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h12a2 2 0 0 0 1.793-1.113`,key:`bjbb7m`}],[`rect`,{x:`8`,y:`2`,width:`8`,height:`4`,rx:`1`,key:`ublpy`}]]),ae=f(`crop`,[[`path`,{d:`M6 2v14a2 2 0 0 0 2 2h14`,key:`ron5a4`}],[`path`,{d:`M18 22V8a2 2 0 0 0-2-2H2`,key:`7s9ehn`}]]),oe=f(`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`}]]),se=f(`heading`,[[`path`,{d:`M6 12h12`,key:`8npq4p`}],[`path`,{d:`M6 20V4`,key:`1w1bmo`}],[`path`,{d:`M18 20V4`,key:`o2hl4u`}]]),ce=f(`list-indent-decrease`,[[`path`,{d:`M21 5H11`,key:`us1j55`}],[`path`,{d:`M21 12H11`,key:`wd7e0v`}],[`path`,{d:`M21 19H11`,key:`saa85w`}],[`path`,{d:`m7 8-4 4 4 4`,key:`o5hrat`}]]),E=f(`list-indent-increase`,[[`path`,{d:`M21 5H11`,key:`us1j55`}],[`path`,{d:`M21 12H11`,key:`wd7e0v`}],[`path`,{d:`M21 19H11`,key:`saa85w`}],[`path`,{d:`m3 8 4 4-4 4`,key:`1a3j6y`}]]),D=f(`lock-open`,[[`rect`,{width:`18`,height:`11`,x:`3`,y:`11`,rx:`2`,ry:`2`,key:`1w4ew1`}],[`path`,{d:`M7 11V7a5 5 0 0 1 9.9-1`,key:`1mm8w8`}]]),O=f(`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`}]]),k=f(`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`}]]),A=f(`paintbrush`,[[`path`,{d:`m14.622 17.897-10.68-2.913`,key:`vj2p1u`}],[`path`,{d:`M18.376 2.622a1 1 0 1 1 3.002 3.002L17.36 9.643a.5.5 0 0 0 0 .707l.944.944a2.41 2.41 0 0 1 0 3.408l-.944.944a.5.5 0 0 1-.707 0L8.354 7.348a.5.5 0 0 1 0-.707l.944-.944a2.41 2.41 0 0 1 3.408 0l.944.944a.5.5 0 0 0 .707 0z`,key:`18tc5c`}],[`path`,{d:`M9 8c-1.804 2.71-3.97 3.46-6.583 3.948a.507.507 0 0 0-.302.819l7.32 8.883a1 1 0 0 0 1.185.204C12.735 20.405 16 16.792 16 15`,key:`ytzfxy`}]]),j=f(`replace`,[[`path`,{d:`M14 4a1 1 0 0 1 1-1`,key:`dhj8ez`}],[`path`,{d:`M15 10a1 1 0 0 1-1-1`,key:`1mnyi5`}],[`path`,{d:`M21 4a1 1 0 0 0-1-1`,key:`sfs9ap`}],[`path`,{d:`M21 9a1 1 0 0 1-1 1`,key:`mp6qeo`}],[`path`,{d:`m3 7 3 3 3-3`,key:`x25e72`}],[`path`,{d:`M6 10V5a2 2 0 0 1 2-2h2`,key:`15xut4`}],[`rect`,{x:`3`,y:`14`,width:`7`,height:`7`,rx:`1`,key:`1bkyp8`}]]),M=f(`rotate-cw`,[[`path`,{d:`M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8`,key:`1p45f6`}],[`path`,{d:`M21 3v5h-5`,key:`1q7to0`}]]),N=f(`rows-3`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`path`,{d:`M21 9H3`,key:`1338ky`}],[`path`,{d:`M21 15H3`,key:`9uk58r`}]]),P=f(`search`,[[`path`,{d:`m21 21-4.34-4.34`,key:`14j7rj`}],[`circle`,{cx:`11`,cy:`11`,r:`8`,key:`4ej97u`}]]),F=f(`sliders-horizontal`,[[`path`,{d:`M10 5H3`,key:`1qgfaw`}],[`path`,{d:`M12 19H3`,key:`yhmn1j`}],[`path`,{d:`M14 3v4`,key:`1sua03`}],[`path`,{d:`M16 17v4`,key:`1q0r14`}],[`path`,{d:`M21 12h-9`,key:`1o4lsq`}],[`path`,{d:`M21 19h-5`,key:`1rlt1p`}],[`path`,{d:`M21 5h-7`,key:`1oszz2`}],[`path`,{d:`M8 10v4`,key:`tgpxqk`}],[`path`,{d:`M8 12H3`,key:`a7s4jb`}]]),I=f(`table-cells-merge`,[[`path`,{d:`M12 21v-6`,key:`lihzve`}],[`path`,{d:`M12 9V3`,key:`da5inc`}],[`path`,{d:`M3 15h18`,key:`5xshup`}],[`path`,{d:`M3 9h18`,key:`1pudct`}],[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}]]),L=f(`type`,[[`path`,{d:`M12 4v16`,key:`1654pz`}],[`path`,{d:`M4 7V5a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v2`,key:`e0r10z`}],[`path`,{d:`M9 20h6`,key:`s66wpe`}]]),R=f(`underline`,[[`path`,{d:`M6 4v6a6 6 0 0 0 12 0V4`,key:`9kb039`}],[`line`,{x1:`4`,x2:`20`,y1:`20`,y2:`20`,key:`nun2al`}]]),z=f(`ungroup`,[[`rect`,{width:`8`,height:`6`,x:`5`,y:`4`,rx:`1`,key:`nzclkv`}],[`rect`,{width:`8`,height:`6`,x:`11`,y:`14`,rx:`1`,key:`4tytwb`}]]),B=e(t(),1),V=d(),H=Object.defineProperty,U=(e,t)=>H(e,`name`,{value:t,configurable:!0}),W={Automatic:`automatic`,Manual:`manual`},G=`Tabs`,[le,ue]=s(G,[b]),K=b(),[de,q]=le(G),fe=B.forwardRef(U(function(e,t){let{__scopeTabs:n,value:r,onValueChange:a,defaultValue:o,orientation:s=`horizontal`,dir:l,activationMode:d=W.Automatic,...f}=e,p=_(l),[m,h]=c({prop:r,onChange:a,defaultProp:o??``,caller:G});return(0,V.jsx)(de,{scope:n,baseId:u(),value:m,onValueChange:h,orientation:s,dir:p,activationMode:d,children:(0,V.jsx)(i.div,{dir:p,"data-orientation":s,...f,ref:t})})},`Tabs`)),pe=`TabsList`,me=B.forwardRef(U(function(e,t){let{__scopeTabs:n,loop:r=!0,...a}=e,o=q(pe,n),s=K(n);return(0,V.jsx)(v,{asChild:!0,...s,orientation:o.orientation,dir:o.dir,loop:r,children:(0,V.jsx)(i.div,{role:`tablist`,"aria-orientation":o.orientation,...a,ref:t})})},`TabsList`)),he=`TabsTrigger`,ge=B.forwardRef(U(function(e,t){let{__scopeTabs:r,value:a,disabled:o=!1,...s}=e,c=q(he,r),l=K(r),u=J(c.baseId,a),d=Y(c.baseId,a),f=a===c.value;return(0,V.jsx)(y,{asChild:!0,...l,focusable:!o,active:f,children:(0,V.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!==W.Manual;!f&&!o&&e&&c.onValueChange(a)})})})},`TabsTrigger`)),_e=`TabsContent`,ve=B.forwardRef(U(function(e,t){let{__scopeTabs:n,value:r,forceMount:a,children:s,...c}=e,l=q(_e,n),u=J(l.baseId,r),d=Y(l.baseId,r),f=r===l.value,p=B.useRef(f);return B.useEffect(()=>{let e=requestAnimationFrame(()=>p.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,V.jsx)(o,{present:a||f,children:({present:n})=>(0,V.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 J(e,t){return`${e}-trigger-${t}`}U(J,`makeTriggerId`);function Y(e,t){return`${e}-content-${t}`}U(Y,`makeContentId`);function ye(e){let t=(t,n)=>{let r=t.key===`ArrowRight`?1:t.key===`ArrowLeft`?-1:void 0;if(r===void 0)return;t.preventDefault();let i=e.tabs[(n+r+e.tabs.length)%e.tabs.length];i&&(e.onPick(i.id),document.getElementById(`${e.name}-ribbon-tab-${i.id}`)?.focus())};return(0,V.jsx)(`div`,{role:`tablist`,"aria-label":e.label,className:`ribbon-tabs`,"data-testid":`${e.name}-ribbon-tabs`,children:e.tabs.map((n,r)=>{let i=n.id===e.active;return(0,V.jsxs)(l,{variant:`ghost`,id:`${e.name}-ribbon-tab-${n.id}`,role:`tab`,"aria-selected":i,"aria-controls":`${e.name}-ribbon-panel`,tabIndex:i?0:-1,"data-contextual":n.contextual===!0?``:void 0,"data-testid":`${e.name}-ribbon-${n.id}`,className:`ribbon-tab`,onClick:()=>{e.onPick(n.id)},onDoubleClick:()=>{i&&e.onToggle()},onKeyDown:e=>{t(e,r)},children:[(0,V.jsx)(`span`,{children:n.label}),i&&e.open?(0,V.jsx)(`span`,{className:`ribbon-mark`}):null]},n.id)})})}var X=(0,B.createContext)(null),Z=56;function be(e){let t=(0,B.useRef)(null),n=(0,B.useRef)(new Map),r=(0,B.useRef)(new Map),[i,a]=(0,B.useState)(new Set),o=(0,B.useCallback)(()=>{let e=t.current;if(!e)return;let i=[...e.querySelectorAll(`:scope > [data-ribbon-group]`)];for(let e of i){let t=e.dataset.ribbonGroup??``,i=e.getBoundingClientRect().width;e.dataset.folded===void 0?n.current.set(t,i):r.current.set(t,i)}let o=getComputedStyle(e),s=e.clientWidth-parseFloat(o.paddingLeft)-parseFloat(o.paddingRight),c=parseFloat(o.columnGap)||0,l=i.map((e,t)=>{let i=e.dataset.ribbonGroup??``;return{id:i,at:t,priority:Number(e.dataset.priority??0),wide:n.current.get(i)??Z,narrow:r.current.get(i)??Z}}),u=l.reduce((e,t)=>e+t.wide,0)+c*Math.max(0,l.length-1),d=new Set;for(let e of[...l].sort((e,t)=>e.priority-t.priority||t.at-e.at)){if(u<=s)break;d.add(e.id),u-=e.wide-e.narrow}a(e=>e.size===d.size&&[...d].every(t=>e.has(t))?e:d)},[]);return(0,B.useLayoutEffect)(o),(0,B.useLayoutEffect)(()=>{let e=t.current;if(!e)return;let n=new ResizeObserver(o);return n.observe(e),()=>{n.disconnect()}},[o]),(0,V.jsx)(X.Provider,{value:{name:e.name,folded:i,balanced:e.balanced===!0},children:(0,V.jsx)(`div`,{ref:t,id:`${e.name}-ribbon-panel`,role:`tabpanel`,"aria-labelledby":`${e.name}-ribbon-tab-${e.tab}`,"aria-label":e.label,className:`ribbon-panel`,"data-testid":`${e.name}-ribbon-panel`,"data-tab":e.tab,"data-balanced":e.balanced===!0?``:void 0,children:e.children})})}function xe(e){let t=(0,B.useContext)(X),n=t?.folded.has(e.id)??!1,r=t?.name??`ribbon`,i=e.icon;return(0,V.jsx)(`div`,{role:`group`,"aria-label":e.label,"data-ribbon-group":e.id,"data-priority":e.priority??0,"data-folded":n?``:void 0,"data-testid":`${r}-group-${e.id}`,className:`ribbon-group`,children:n?(0,V.jsxs)(h,{children:[(0,V.jsx)(p,{asChild:!0,children:(0,V.jsxs)(l,{variant:`ghost`,className:`ribbon-big`,"data-testid":`${r}-group-${e.id}-folded`,children:[(0,V.jsx)(i,{}),(0,V.jsx)(Q,{label:e.label})]})}),(0,V.jsx)(m,{align:`start`,className:`ribbon-popover w-auto p-1`,"data-balanced":t?.balanced===!0?``:void 0,children:(0,V.jsx)(`div`,{className:`ribbon-group`,children:e.children})})]}):e.children})}function Se({children:e,className:t}){return(0,V.jsx)(`div`,{className:r(`ribbon-rows`,t),children:e})}function Ce({children:e}){return(0,V.jsx)(`div`,{className:`ribbon-row`,children:e})}function Q({label:e}){let t=e.split(` `),n=t.length>=3&&(t[t.length-2]?.length??0)>=4?e.lastIndexOf(` `,e.lastIndexOf(` `)-1):e.lastIndexOf(` `);return(0,V.jsxs)(`span`,{className:`ribbon-words`,children:[n<0?null:`${e.slice(0,n)} `,(0,V.jsxs)(`span`,{className:`whitespace-nowrap`,children:[n<0?e:e.slice(n+1),(0,V.jsx)(C,{className:`ribbon-chevron`})]})]})}function we(e){let t=e.icon;return(0,V.jsxs)(l,{variant:`ghost`,className:`ribbon-big`,title:e.title??e.label,"aria-pressed":e.pressed,disabled:e.disabled,"data-testid":e.testid,onClick:e.onClick,children:[(0,V.jsx)(t,{}),(0,V.jsx)(`span`,{className:`ribbon-words`,children:e.label})]})}function Te(e){let t=e.icon;return(0,V.jsxs)(S,{children:[(0,V.jsx)(g,{asChild:!0,children:(0,V.jsxs)(l,{variant:`ghost`,className:`ribbon-big`,title:e.title??e.label,disabled:e.disabled,"data-testid":e.testid,children:[(0,V.jsx)(t,{}),(0,V.jsx)(Q,{label:e.label})]})}),(0,V.jsx)(x,{align:`start`,className:r(`text-xs`,e.menuClassName),onCloseAutoFocus:t=>{t.preventDefault(),e.onDone()},children:e.children})]})}function Ee(e){let t=e.icon;return(0,V.jsxs)(l,{variant:`ghost`,className:`ribbon-small`,title:e.title??e.label,"aria-pressed":e.pressed,disabled:e.disabled,"data-testid":e.testid,onClick:e.onClick,onDoubleClick:e.onDoubleClick,children:[(0,V.jsx)(t,{}),(0,V.jsx)(`span`,{children:e.label})]})}function De(e){let t=e.icon;return(0,V.jsxs)(S,{children:[(0,V.jsx)(g,{asChild:!0,children:(0,V.jsxs)(l,{variant:`ghost`,className:`ribbon-small`,title:e.title??e.label,disabled:e.disabled,"data-testid":e.testid,children:[(0,V.jsx)(t,{}),(0,V.jsx)(`span`,{children:e.label}),(0,V.jsx)(C,{className:`ribbon-chevron`})]})}),(0,V.jsx)(x,{align:`start`,className:r(`text-xs`,e.menuClassName),onCloseAutoFocus:t=>{t.preventDefault(),e.onDone()},children:e.children})]})}function $(e){let t=e.icon,[n,r]=(0,B.useState)(!1);return(0,V.jsxs)(h,{open:n,onOpenChange:r,children:[(0,V.jsx)(p,{asChild:!0,children:(0,V.jsxs)(l,{variant:`ghost`,className:`ribbon-big`,title:e.title??e.label,disabled:e.disabled,"data-testid":e.testid,children:[(0,V.jsx)(t,{}),(0,V.jsx)(Q,{label:e.label})]})}),(0,V.jsx)(m,{align:`start`,className:`w-auto p-2`,onCloseAutoFocus:t=>{t.preventDefault(),e.onDone()},children:e.children(()=>{r(!1)})})]})}function Oe(e){let t=e.icon;return(0,V.jsxs)(`span`,{className:`ribbon-split`,children:[(0,V.jsx)(l,{variant:`ghost`,className:`ribbon-split-top`,title:e.title??e.label,"aria-label":e.label,disabled:e.disabled,"data-testid":e.testid,onClick:e.onClick,children:(0,V.jsx)(t,{})}),(0,V.jsxs)(S,{children:[(0,V.jsx)(g,{asChild:!0,children:(0,V.jsx)(l,{variant:`ghost`,className:`ribbon-split-foot`,disabled:e.disabled,"data-testid":e.menuTestid,children:(0,V.jsx)(Q,{label:e.label})})}),(0,V.jsx)(x,{align:`start`,className:r(`text-xs`,e.menuClassName),onCloseAutoFocus:t=>{t.preventDefault(),e.onDone()},children:e.children})]})]})}function ke({className:e,orientation:t=`horizontal`,...n}){return(0,V.jsx)(fe,{"data-slot":`tabs`,"data-orientation":t,orientation:t,className:r(`group/tabs flex gap-2 data-[orientation=horizontal]:flex-col`,e),...n})}var Ae=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 je({className:e,variant:t=`default`,...n}){return(0,V.jsx)(me,{"data-slot":`tabs-list`,"data-variant":t,className:r(Ae({variant:t}),e),...n})}function Me({className:e,...t}){return(0,V.jsx)(ge,{"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 Ne({className:e,...t}){return(0,V.jsx)(ve,{"data-slot":`tabs-content`,className:r(`flex-1 outline-none`,e),...t})}export{ce as A,w as B,M as C,O as D,k as E,re as F,ne as I,te as L,oe as M,ae as N,D as O,ie as P,ee as R,N as S,A as T,R as _,we as a,F as b,xe as c,Se as d,Ee as f,z as g,ye as h,Me as i,se as j,E as k,be as l,Oe as m,Ne as n,Te as o,De as p,je as r,$ as s,ke as t,Ce as u,L as v,j as w,P as x,I as y,T as z};
@@ -1,4 +1,4 @@
1
- import"./rolldown-runtime-COiEfhsA.js";import{y as e}from"./react-WA6wlt8S.js";import{gt as t}from"./button-eGxLxbv9.js";import{t as n}from"./jsx-runtime-DePvh3-m.js";var r=Symbol.for(`yaml.alias`),i=Symbol.for(`yaml.document`),a=Symbol.for(`yaml.map`),o=Symbol.for(`yaml.pair`),s=Symbol.for(`yaml.scalar`),c=Symbol.for(`yaml.seq`),l=Symbol.for(`yaml.node.type`),u=e=>!!e&&typeof e==`object`&&e[l]===r,d=e=>!!e&&typeof e==`object`&&e[l]===i,f=e=>!!e&&typeof e==`object`&&e[l]===a,p=e=>!!e&&typeof e==`object`&&e[l]===o,m=e=>!!e&&typeof e==`object`&&e[l]===s,h=e=>!!e&&typeof e==`object`&&e[l]===c;function g(e){if(e&&typeof e==`object`)switch(e[l]){case a:case c:return!0}return!1}function _(e){if(e&&typeof e==`object`)switch(e[l]){case r:case a:case s:case c:return!0}return!1}var v=e=>(m(e)||g(e))&&!!e.anchor,y=Symbol(`break visit`),b=Symbol(`skip children`),x=Symbol(`remove node`);function S(e,t){let n=ee(t);d(e)?C(null,e.contents,n,Object.freeze([e]))===x&&(e.contents=null):C(null,e,n,Object.freeze([]))}S.BREAK=y,S.SKIP=b,S.REMOVE=x;function C(e,t,n,r){let i=w(e,t,n,r);if(_(i)||p(i))return T(e,r,i),C(e,i,n,r);if(typeof i!=`symbol`){if(g(t)){r=Object.freeze(r.concat(t));for(let e=0;e<t.items.length;++e){let i=C(e,t.items[e],n,r);if(typeof i==`number`)e=i-1;else if(i===y)return y;else i===x&&(t.items.splice(e,1),--e)}}else if(p(t)){r=Object.freeze(r.concat(t));let e=C(`key`,t.key,n,r);if(e===y)return y;e===x&&(t.key=null);let i=C(`value`,t.value,n,r);if(i===y)return y;i===x&&(t.value=null)}}return i}function ee(e){return typeof e==`object`&&(e.Collection||e.Node||e.Value)?Object.assign({Alias:e.Node,Map:e.Node,Scalar:e.Node,Seq:e.Node},e.Value&&{Map:e.Value,Scalar:e.Value,Seq:e.Value},e.Collection&&{Map:e.Collection,Seq:e.Collection},e):e}function w(e,t,n,r){if(typeof n==`function`)return n(e,t,r);if(f(t))return n.Map?.(e,t,r);if(h(t))return n.Seq?.(e,t,r);if(p(t))return n.Pair?.(e,t,r);if(m(t))return n.Scalar?.(e,t,r);if(u(t))return n.Alias?.(e,t,r)}function T(e,t,n){let r=t[t.length-1];if(g(r))r.items[e]=n;else if(p(r))e===`key`?r.key=n:r.value=n;else if(d(r))r.contents=n;else{let e=u(r)?`alias`:`scalar`;throw Error(`Cannot replace node with ${e} parent`)}}var te={"!":`%21`,",":`%2C`,"[":`%5B`,"]":`%5D`,"{":`%7B`,"}":`%7D`},ne=e=>e.replace(/[!,[\]{}]/g,e=>te[e]),E=class e{constructor(t,n){this.docStart=null,this.docEnd=!1,this.yaml=Object.assign({},e.defaultYaml,t),this.tags=Object.assign({},e.defaultTags,n)}clone(){let t=new e(this.yaml,this.tags);return t.docStart=this.docStart,t}atDocument(){let t=new e(this.yaml,this.tags);switch(this.yaml.version){case`1.1`:this.atNextDocument=!0;break;case`1.2`:this.atNextDocument=!1,this.yaml={explicit:e.defaultYaml.explicit,version:`1.2`},this.tags=Object.assign({},e.defaultTags)}return t}add(t,n){this.atNextDocument&&=(this.yaml={explicit:e.defaultYaml.explicit,version:`1.1`},this.tags=Object.assign({},e.defaultTags),!1);let r=t.trim().split(/[ \t]+/),i=r.shift();switch(i){case`%TAG`:{if(r.length!==2&&(n(0,`%TAG directive should contain exactly two parts`),r.length<2))return!1;let[e,t]=r;return this.tags[e]=t,!0}case`%YAML`:{if(this.yaml.explicit=!0,r.length!==1)return n(0,`%YAML directive should contain exactly one part`),!1;let[e]=r;if(e===`1.1`||e===`1.2`)return this.yaml.version=e,!0;{let t=/^\d+\.\d+$/.test(e);return n(6,`Unsupported YAML version ${e}`,t),!1}}default:return n(0,`Unknown directive ${i}`,!0),!1}}tagName(e,t){if(e===`!`)return`!`;if(e[0]!==`!`)return t(`Not a valid tag: ${e}`),null;if(e[1]===`<`){let n=e.slice(2,-1);return n===`!`||n===`!!`?(t(`Verbatim tags aren't resolved, so ${e} is invalid.`),null):(e[e.length-1]!==`>`&&t(`Verbatim tags must end with a >`),n)}let[,n,r]=e.match(/^(.*!)([^!]*)$/s);r||t(`The ${e} tag has no suffix`);let i=this.tags[n];if(i)try{return i+decodeURIComponent(r)}catch(e){return t(String(e)),null}return n===`!`?e:(t(`Could not resolve tag: ${e}`),null)}tagString(e){for(let[t,n]of Object.entries(this.tags))if(e.startsWith(n))return t+ne(e.substring(n.length));return e[0]===`!`?e:`!<${e}>`}toString(e){let t=this.yaml.explicit?[`%YAML ${this.yaml.version||`1.2`}`]:[],n=Object.entries(this.tags),r;if(e&&n.length>0&&_(e.contents)){let t={};S(e.contents,(e,n)=>{_(n)&&n.tag&&(t[n.tag]=!0)}),r=Object.keys(t)}else r=[];for(let[i,a]of n)i===`!!`&&a===`tag:yaml.org,2002:`||e&&!r.some(e=>e.startsWith(a))||t.push(`%TAG ${i} ${a}`);return t.join(`
1
+ import"./rolldown-runtime-COiEfhsA.js";import{v as e}from"./react-Bk7NnOLX.js";import{gt as t}from"./button-EftXSfev.js";import{t as n}from"./jsx-runtime-DePvh3-m.js";var r=Symbol.for(`yaml.alias`),i=Symbol.for(`yaml.document`),a=Symbol.for(`yaml.map`),o=Symbol.for(`yaml.pair`),s=Symbol.for(`yaml.scalar`),c=Symbol.for(`yaml.seq`),l=Symbol.for(`yaml.node.type`),u=e=>!!e&&typeof e==`object`&&e[l]===r,d=e=>!!e&&typeof e==`object`&&e[l]===i,f=e=>!!e&&typeof e==`object`&&e[l]===a,p=e=>!!e&&typeof e==`object`&&e[l]===o,m=e=>!!e&&typeof e==`object`&&e[l]===s,h=e=>!!e&&typeof e==`object`&&e[l]===c;function g(e){if(e&&typeof e==`object`)switch(e[l]){case a:case c:return!0}return!1}function _(e){if(e&&typeof e==`object`)switch(e[l]){case r:case a:case s:case c:return!0}return!1}var v=e=>(m(e)||g(e))&&!!e.anchor,y=Symbol(`break visit`),b=Symbol(`skip children`),x=Symbol(`remove node`);function S(e,t){let n=ee(t);d(e)?C(null,e.contents,n,Object.freeze([e]))===x&&(e.contents=null):C(null,e,n,Object.freeze([]))}S.BREAK=y,S.SKIP=b,S.REMOVE=x;function C(e,t,n,r){let i=w(e,t,n,r);if(_(i)||p(i))return T(e,r,i),C(e,i,n,r);if(typeof i!=`symbol`){if(g(t)){r=Object.freeze(r.concat(t));for(let e=0;e<t.items.length;++e){let i=C(e,t.items[e],n,r);if(typeof i==`number`)e=i-1;else if(i===y)return y;else i===x&&(t.items.splice(e,1),--e)}}else if(p(t)){r=Object.freeze(r.concat(t));let e=C(`key`,t.key,n,r);if(e===y)return y;e===x&&(t.key=null);let i=C(`value`,t.value,n,r);if(i===y)return y;i===x&&(t.value=null)}}return i}function ee(e){return typeof e==`object`&&(e.Collection||e.Node||e.Value)?Object.assign({Alias:e.Node,Map:e.Node,Scalar:e.Node,Seq:e.Node},e.Value&&{Map:e.Value,Scalar:e.Value,Seq:e.Value},e.Collection&&{Map:e.Collection,Seq:e.Collection},e):e}function w(e,t,n,r){if(typeof n==`function`)return n(e,t,r);if(f(t))return n.Map?.(e,t,r);if(h(t))return n.Seq?.(e,t,r);if(p(t))return n.Pair?.(e,t,r);if(m(t))return n.Scalar?.(e,t,r);if(u(t))return n.Alias?.(e,t,r)}function T(e,t,n){let r=t[t.length-1];if(g(r))r.items[e]=n;else if(p(r))e===`key`?r.key=n:r.value=n;else if(d(r))r.contents=n;else{let e=u(r)?`alias`:`scalar`;throw Error(`Cannot replace node with ${e} parent`)}}var te={"!":`%21`,",":`%2C`,"[":`%5B`,"]":`%5D`,"{":`%7B`,"}":`%7D`},ne=e=>e.replace(/[!,[\]{}]/g,e=>te[e]),E=class e{constructor(t,n){this.docStart=null,this.docEnd=!1,this.yaml=Object.assign({},e.defaultYaml,t),this.tags=Object.assign({},e.defaultTags,n)}clone(){let t=new e(this.yaml,this.tags);return t.docStart=this.docStart,t}atDocument(){let t=new e(this.yaml,this.tags);switch(this.yaml.version){case`1.1`:this.atNextDocument=!0;break;case`1.2`:this.atNextDocument=!1,this.yaml={explicit:e.defaultYaml.explicit,version:`1.2`},this.tags=Object.assign({},e.defaultTags)}return t}add(t,n){this.atNextDocument&&=(this.yaml={explicit:e.defaultYaml.explicit,version:`1.1`},this.tags=Object.assign({},e.defaultTags),!1);let r=t.trim().split(/[ \t]+/),i=r.shift();switch(i){case`%TAG`:{if(r.length!==2&&(n(0,`%TAG directive should contain exactly two parts`),r.length<2))return!1;let[e,t]=r;return this.tags[e]=t,!0}case`%YAML`:{if(this.yaml.explicit=!0,r.length!==1)return n(0,`%YAML directive should contain exactly one part`),!1;let[e]=r;if(e===`1.1`||e===`1.2`)return this.yaml.version=e,!0;{let t=/^\d+\.\d+$/.test(e);return n(6,`Unsupported YAML version ${e}`,t),!1}}default:return n(0,`Unknown directive ${i}`,!0),!1}}tagName(e,t){if(e===`!`)return`!`;if(e[0]!==`!`)return t(`Not a valid tag: ${e}`),null;if(e[1]===`<`){let n=e.slice(2,-1);return n===`!`||n===`!!`?(t(`Verbatim tags aren't resolved, so ${e} is invalid.`),null):(e[e.length-1]!==`>`&&t(`Verbatim tags must end with a >`),n)}let[,n,r]=e.match(/^(.*!)([^!]*)$/s);r||t(`The ${e} tag has no suffix`);let i=this.tags[n];if(i)try{return i+decodeURIComponent(r)}catch(e){return t(String(e)),null}return n===`!`?e:(t(`Could not resolve tag: ${e}`),null)}tagString(e){for(let[t,n]of Object.entries(this.tags))if(e.startsWith(n))return t+ne(e.substring(n.length));return e[0]===`!`?e:`!<${e}>`}toString(e){let t=this.yaml.explicit?[`%YAML ${this.yaml.version||`1.2`}`]:[],n=Object.entries(this.tags),r;if(e&&n.length>0&&_(e.contents)){let t={};S(e.contents,(e,n)=>{_(n)&&n.tag&&(t[n.tag]=!0)}),r=Object.keys(t)}else r=[];for(let[i,a]of n)i===`!!`&&a===`tag:yaml.org,2002:`||e&&!r.some(e=>e.startsWith(a))||t.push(`%TAG ${i} ${a}`);return t.join(`
2
2
  `)}};E.defaultYaml={explicit:!1,version:`1.2`},E.defaultTags={"!!":`tag:yaml.org,2002:`};function re(e){if(/[\x00-\x19\s,[\]{}]/.test(e)){let t=`Anchor must not contain whitespace or control characters: ${JSON.stringify(e)}`;throw Error(t)}return!0}function ie(e){let t=new Set;return S(e,{Value(e,n){n.anchor&&t.add(n.anchor)}}),t}function ae(e,t){for(let n=1;;++n){let r=`${e}${n}`;if(!t.has(r))return r}}function oe(e,t){let n=[],r=new Map,i=null;return{onAnchor:r=>{n.push(r),i??=ie(e);let a=ae(t,i);return i.add(a),a},setAnchors:()=>{for(let e of n){let t=r.get(e);if(typeof t==`object`&&t.anchor&&(m(t.node)||g(t.node)))t.node.anchor=t.anchor;else{let t=Error(`Failed to resolve repeated object (this should not happen)`);throw t.source=e,t}}},sourceObjects:r}}function D(e,t,n,r){if(r&&typeof r==`object`){if(Array.isArray(r))for(let t=0,n=r.length;t<n;++t){let n=r[t],i=D(e,r,String(t),n);i===void 0?delete r[t]:i!==n&&(r[t]=i)}else if(r instanceof Map)for(let t of Array.from(r.keys())){let n=r.get(t),i=D(e,r,t,n);i===void 0?r.delete(t):i!==n&&r.set(t,i)}else if(r instanceof Set)for(let t of Array.from(r)){let n=D(e,r,t,t);n===void 0?r.delete(t):n!==t&&(r.delete(t),r.add(n))}else for(let[t,n]of Object.entries(r)){let i=D(e,r,t,n);i===void 0?delete r[t]:i!==n&&(r[t]=i)}}return e.call(t,n,r)}function O(e,t,n){if(Array.isArray(e))return e.map((e,t)=>O(e,String(t),n));if(e&&typeof e.toJSON==`function`){if(!n||!v(e))return e.toJSON(t,n);let r={aliasCount:0,count:1,res:void 0};n.anchors.set(e,r),n.onCreate=e=>{r.res=e,delete n.onCreate};let i=e.toJSON(t,n);return n.onCreate&&n.onCreate(i),i}return typeof e==`bigint`&&!n?.keep?Number(e):e}var se=class{constructor(e){Object.defineProperty(this,l,{value:e})}clone(){let e=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return this.range&&(e.range=this.range.slice()),e}toJS(e,{mapAsMap:t,maxAliasCount:n,onAnchor:r,reviver:i}={}){if(!d(e))throw TypeError(`A document argument is required`);let a={anchors:new Map,doc:e,keep:!0,mapAsMap:t===!0,mapKeyWarned:!1,maxAliasCount:typeof n==`number`?n:100},o=O(this,``,a);if(typeof r==`function`)for(let{count:e,res:t}of a.anchors.values())r(t,e);return typeof i==`function`?D(i,{"":o},``,o):o}},ce=class extends se{constructor(e){super(r),this.source=e,Object.defineProperty(this,"tag",{set(){throw Error(`Alias nodes cannot have tags`)}})}resolve(e,t){if(t?.maxAliasCount===0)throw ReferenceError(`Alias resolution is disabled`);let n;t?.aliasResolveCache?n=t.aliasResolveCache:(n=[],S(e,{Node:(e,t)=>{(u(t)||v(t))&&n.push(t)}}),t&&(t.aliasResolveCache=n));let r;for(let e of n){if(e===this)break;e.anchor===this.source&&(r=e)}if(r&&t){let{anchors:e,doc:n,maxAliasCount:i}=t,a=e.get(r);if(a||=(O(r,null,t),e.get(r)),a?.res===void 0)throw ReferenceError(`This should not happen: Alias anchor was not resolved?`);if(i>=0&&(a.count+=1,a.aliasCount===0&&(a.aliasCount=le(n,r,e)),a.count*a.aliasCount>i))throw ReferenceError(`Excessive alias count indicates a resource exhaustion attack`)}return r}toJSON(e,t){if(!t)return{source:this.source};let n=this.resolve(t.doc,t);if(!n){let e=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw ReferenceError(e)}return t.anchors.get(n).res}toString(e,t,n){let r=`*${this.source}`;if(e){if(re(this.source),e.options.verifyAliasOrder&&!e.anchors.has(this.source)){let e=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw Error(e)}if(e.implicitKey)return`${r} `}return r}};function le(e,t,n){if(u(t)){let r=t.resolve(e),i=n&&r&&n.get(r);return i?i.count*i.aliasCount:0}if(g(t)){let r=0;for(let i of t.items){let t=le(e,i,n);t>r&&(r=t)}return r}if(p(t)){let r=le(e,t.key,n),i=le(e,t.value,n);return Math.max(r,i)}return 1}var ue=e=>!e||typeof e!=`function`&&typeof e!=`object`,k=class extends se{constructor(e){super(s),this.value=e}toJSON(e,t){return t?.keep?this.value:O(this.value,e,t)}toString(){return String(this.value)}};k.BLOCK_FOLDED=`BLOCK_FOLDED`,k.BLOCK_LITERAL=`BLOCK_LITERAL`,k.PLAIN=`PLAIN`,k.QUOTE_DOUBLE=`QUOTE_DOUBLE`,k.QUOTE_SINGLE=`QUOTE_SINGLE`;var de=`tag:yaml.org,2002:`;function fe(e,t,n){if(t){let e=n.filter(e=>e.tag===t),r=e.find(e=>!e.format)??e[0];if(!r)throw Error(`Tag ${t} not found`);return r}return n.find(t=>t.identify?.(e)&&!t.format)}function A(e,t,n){if(d(e)&&(e=e.contents),_(e))return e;if(p(e)){let t=n.schema[a].createNode?.(n.schema,null,n);return t.items.push(e),t}(e instanceof String||e instanceof Number||e instanceof Boolean||typeof BigInt<`u`&&e instanceof BigInt)&&(e=e.valueOf());let{aliasDuplicateObjects:r,onAnchor:i,onTagObj:o,schema:s,sourceObjects:l}=n,u;if(r&&e&&typeof e==`object`){if(u=l.get(e),u)return u.anchor??(u.anchor=i(e)),new ce(u.anchor);u={anchor:null,node:null},l.set(e,u)}t?.startsWith(`!!`)&&(t=de+t.slice(2));let f=fe(e,t,s.tags);if(!f){if(e&&typeof e.toJSON==`function`&&(e=e.toJSON()),!e||typeof e!=`object`){let t=new k(e);return u&&(u.node=t),t}f=e instanceof Map?s[a]:Symbol.iterator in Object(e)?s[c]:s[a]}o&&(o(f),delete n.onTagObj);let m=f?.createNode?f.createNode(n.schema,e,n):typeof f?.nodeClass?.from==`function`?f.nodeClass.from(n.schema,e,n):new k(e);return t?m.tag=t:f.default||(m.tag=f.tag),u&&(u.node=m),m}function pe(e,t,n){let r=n;for(let e=t.length-1;e>=0;--e){let n=t[e];if(typeof n==`number`&&Number.isInteger(n)&&n>=0){let e=[];e[n]=r,r=e}else r=new Map([[n,r]])}return A(r,void 0,{aliasDuplicateObjects:!1,keepUndefined:!1,onAnchor:()=>{throw Error(`This should not happen, please report a bug.`)},schema:e,sourceObjects:new Map})}var me=e=>e==null||typeof e==`object`&&!!e[Symbol.iterator]().next().done,he=class extends se{constructor(e,t){super(e),Object.defineProperty(this,"schema",{value:t,configurable:!0,enumerable:!1,writable:!0})}clone(e){let t=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return e&&(t.schema=e),t.items=t.items.map(t=>_(t)||p(t)?t.clone(e):t),this.range&&(t.range=this.range.slice()),t}addIn(e,t){if(me(e))this.add(t);else{let[n,...r]=e,i=this.get(n,!0);if(g(i))i.addIn(r,t);else if(i===void 0&&this.schema)this.set(n,pe(this.schema,r,t));else throw Error(`Expected YAML collection at ${n}. Remaining path: ${r}`)}}deleteIn(e){let[t,...n]=e;if(n.length===0)return this.delete(t);let r=this.get(t,!0);if(g(r))return r.deleteIn(n);throw Error(`Expected YAML collection at ${t}. Remaining path: ${n}`)}getIn(e,t){let[n,...r]=e,i=this.get(n,!0);return r.length===0?!t&&m(i)?i.value:i:g(i)?i.getIn(r,t):void 0}hasAllNullValues(e){return this.items.every(t=>{if(!p(t))return!1;let n=t.value;return n==null||e&&m(n)&&n.value==null&&!n.commentBefore&&!n.comment&&!n.tag})}hasIn(e){let[t,...n]=e;if(n.length===0)return this.has(t);let r=this.get(t,!0);return g(r)?r.hasIn(n):!1}setIn(e,t){let[n,...r]=e;if(r.length===0)this.set(n,t);else{let e=this.get(n,!0);if(g(e))e.setIn(r,t);else if(e===void 0&&this.schema)this.set(n,pe(this.schema,r,t));else throw Error(`Expected YAML collection at ${n}. Remaining path: ${r}`)}}},ge=e=>e.replace(/^(?!$)(?: $)?/gm,`#`);function j(e,t){return/^\n+$/.test(e)?e.substring(1):t?e.replace(/^(?! *$)/gm,t):e}var M=(e,t,n)=>e.endsWith(`
3
3
  `)?j(n,t):n.includes(`
4
4
  `)?`
@@ -1,4 +1,4 @@
1
- import{n as e,t}from"./chunk-Y2CYZVJY-DsF7k-Jl.js";import{n,t as r}from"./d3-selection-COWvaQNI.js";import{Y as i,a,b as o,it as s,nt as c,o as l,tt as u,y as d}from"./chunk-DSNLSHJZ-CUDx1Rv5.js";import{n as f}from"./dist-DdXDFcej.js";import{m as p}from"./chunk-7S6XSTFO-Dc0Dvkq7.js";import{i as m,n as h}from"./chunk-J5ZVWO5B-oDCd-gWO.js";import{a as g}from"./mermaid.core-zFwZug4C.js";var _=(function(){var t=e(function(e,t,n,r){for(n||={},r=e.length;r--;n[e[r]]=t);return n},`o`),n=[6,11,13,14,15,17,19,20,23,24],r=[1,12],i=[1,13],a=[1,14],o=[1,15],s=[1,16],c=[1,19],l=[1,20],u={trace:e(function(){},`trace`),yy:{},symbols_:{error:2,start:3,timeline_header:4,document:5,EOF:6,timeline:7,timeline_lr:8,timeline_td:9,line:10,SPACE:11,statement:12,NEWLINE:13,title:14,acc_title:15,acc_title_value:16,acc_descr:17,acc_descr_value:18,acc_descr_multiline_value:19,section:20,period_statement:21,event_statement:22,period:23,event:24,$accept:0,$end:1},terminals_:{2:`error`,6:`EOF`,7:`timeline`,8:`timeline_lr`,9:`timeline_td`,11:`SPACE`,13:`NEWLINE`,14:`title`,15:`acc_title`,16:`acc_title_value`,17:`acc_descr`,18:`acc_descr_value`,19:`acc_descr_multiline_value`,20:`section`,23:`period`,24:`event`},productions_:[0,[3,3],[4,1],[4,1],[4,1],[5,0],[5,2],[10,2],[10,1],[10,1],[10,1],[12,1],[12,2],[12,2],[12,1],[12,1],[12,1],[12,1],[21,1],[22,1]],performAction:e(function(e,t,n,r,i,a,o){var s=a.length-1;switch(i){case 1:return a[s-1];case 3:r.setDirection(`LR`);break;case 4:r.setDirection(`TD`);break;case 5:this.$=[];break;case 6:a[s-1].push(a[s]),this.$=a[s-1];break;case 7:case 8:this.$=a[s];break;case 9:case 10:this.$=[];break;case 11:r.getCommonDb().setDiagramTitle(a[s].substr(6)),this.$=a[s].substr(6);break;case 12:this.$=a[s].trim(),r.getCommonDb().setAccTitle(this.$);break;case 13:case 14:this.$=a[s].trim(),r.getCommonDb().setAccDescription(this.$);break;case 15:r.addSection(a[s].substr(8)),this.$=a[s].substr(8);break;case 18:r.addTask(a[s],0,``),this.$=a[s];break;case 19:r.addEvent(a[s].substr(2)),this.$=a[s]}},`anonymous`),table:[{3:1,4:2,7:[1,3],8:[1,4],9:[1,5]},{1:[3]},t(n,[2,5],{5:6}),t(n,[2,2]),t(n,[2,3]),t(n,[2,4]),{6:[1,7],10:8,11:[1,9],12:10,13:[1,11],14:r,15:i,17:a,19:o,20:s,21:17,22:18,23:c,24:l},t(n,[2,10],{1:[2,1]}),t(n,[2,6]),{12:21,14:r,15:i,17:a,19:o,20:s,21:17,22:18,23:c,24:l},t(n,[2,8]),t(n,[2,9]),t(n,[2,11]),{16:[1,22]},{18:[1,23]},t(n,[2,14]),t(n,[2,15]),t(n,[2,16]),t(n,[2,17]),t(n,[2,18]),t(n,[2,19]),t(n,[2,7]),t(n,[2,12]),t(n,[2,13])],defaultActions:{},parseError:e(function(e,t){if(t.recoverable)this.trace(e);else{var n=Error(e);throw n.hash=t,n}},`parseError`),parse:e(function(t){var n=this,r=[0],i=[],a=[null],o=[],s=this.table,c=``,l=0,u=0,d=0,f=2,p=1,m=o.slice.call(arguments,1),h=Object.create(this.lexer),g={yy:{}};for(var _ in this.yy)Object.prototype.hasOwnProperty.call(this.yy,_)&&(g.yy[_]=this.yy[_]);h.setInput(t,g.yy),g.yy.lexer=h,g.yy.parser=this,h.yylloc===void 0&&(h.yylloc={});var v=h.yylloc;o.push(v);var y=h.options&&h.options.ranges;this.parseError=typeof g.yy.parseError==`function`?g.yy.parseError:Object.getPrototypeOf(this).parseError;function b(e){r.length-=2*e,a.length-=e,o.length-=e}e(b,`popStack`);function x(){var e=i.pop()||h.lex()||p;return typeof e!=`number`&&(e instanceof Array&&(i=e,e=i.pop()),e=n.symbols_[e]||e),e}e(x,`lex`);for(var S,C,w,T,E,D={},O,k,A,j;;){if(w=r[r.length-1],this.defaultActions[w]?T=this.defaultActions[w]:(S??=x(),T=s[w]&&s[w][S]),T===void 0||!T.length||!T[0]){var M=``;for(O in j=[],s[w])this.terminals_[O]&&O>f&&j.push(`'`+this.terminals_[O]+`'`);M=h.showPosition?`Parse error on line `+(l+1)+`:
1
+ import{n as e,t}from"./chunk-Y2CYZVJY-DsF7k-Jl.js";import{n,t as r}from"./d3-selection-COWvaQNI.js";import{Y as i,a,b as o,it as s,nt as c,o as l,tt as u,y as d}from"./chunk-DSNLSHJZ-BHFiQInN.js";import{n as f}from"./dist-DdXDFcej.js";import{m as p}from"./chunk-7S6XSTFO-B01FlTFf.js";import{i as m,n as h}from"./chunk-J5ZVWO5B-oDCd-gWO.js";import{a as g}from"./mermaid.core-BVUl-afX.js";var _=(function(){var t=e(function(e,t,n,r){for(n||={},r=e.length;r--;n[e[r]]=t);return n},`o`),n=[6,11,13,14,15,17,19,20,23,24],r=[1,12],i=[1,13],a=[1,14],o=[1,15],s=[1,16],c=[1,19],l=[1,20],u={trace:e(function(){},`trace`),yy:{},symbols_:{error:2,start:3,timeline_header:4,document:5,EOF:6,timeline:7,timeline_lr:8,timeline_td:9,line:10,SPACE:11,statement:12,NEWLINE:13,title:14,acc_title:15,acc_title_value:16,acc_descr:17,acc_descr_value:18,acc_descr_multiline_value:19,section:20,period_statement:21,event_statement:22,period:23,event:24,$accept:0,$end:1},terminals_:{2:`error`,6:`EOF`,7:`timeline`,8:`timeline_lr`,9:`timeline_td`,11:`SPACE`,13:`NEWLINE`,14:`title`,15:`acc_title`,16:`acc_title_value`,17:`acc_descr`,18:`acc_descr_value`,19:`acc_descr_multiline_value`,20:`section`,23:`period`,24:`event`},productions_:[0,[3,3],[4,1],[4,1],[4,1],[5,0],[5,2],[10,2],[10,1],[10,1],[10,1],[12,1],[12,2],[12,2],[12,1],[12,1],[12,1],[12,1],[21,1],[22,1]],performAction:e(function(e,t,n,r,i,a,o){var s=a.length-1;switch(i){case 1:return a[s-1];case 3:r.setDirection(`LR`);break;case 4:r.setDirection(`TD`);break;case 5:this.$=[];break;case 6:a[s-1].push(a[s]),this.$=a[s-1];break;case 7:case 8:this.$=a[s];break;case 9:case 10:this.$=[];break;case 11:r.getCommonDb().setDiagramTitle(a[s].substr(6)),this.$=a[s].substr(6);break;case 12:this.$=a[s].trim(),r.getCommonDb().setAccTitle(this.$);break;case 13:case 14:this.$=a[s].trim(),r.getCommonDb().setAccDescription(this.$);break;case 15:r.addSection(a[s].substr(8)),this.$=a[s].substr(8);break;case 18:r.addTask(a[s],0,``),this.$=a[s];break;case 19:r.addEvent(a[s].substr(2)),this.$=a[s]}},`anonymous`),table:[{3:1,4:2,7:[1,3],8:[1,4],9:[1,5]},{1:[3]},t(n,[2,5],{5:6}),t(n,[2,2]),t(n,[2,3]),t(n,[2,4]),{6:[1,7],10:8,11:[1,9],12:10,13:[1,11],14:r,15:i,17:a,19:o,20:s,21:17,22:18,23:c,24:l},t(n,[2,10],{1:[2,1]}),t(n,[2,6]),{12:21,14:r,15:i,17:a,19:o,20:s,21:17,22:18,23:c,24:l},t(n,[2,8]),t(n,[2,9]),t(n,[2,11]),{16:[1,22]},{18:[1,23]},t(n,[2,14]),t(n,[2,15]),t(n,[2,16]),t(n,[2,17]),t(n,[2,18]),t(n,[2,19]),t(n,[2,7]),t(n,[2,12]),t(n,[2,13])],defaultActions:{},parseError:e(function(e,t){if(t.recoverable)this.trace(e);else{var n=Error(e);throw n.hash=t,n}},`parseError`),parse:e(function(t){var n=this,r=[0],i=[],a=[null],o=[],s=this.table,c=``,l=0,u=0,d=0,f=2,p=1,m=o.slice.call(arguments,1),h=Object.create(this.lexer),g={yy:{}};for(var _ in this.yy)Object.prototype.hasOwnProperty.call(this.yy,_)&&(g.yy[_]=this.yy[_]);h.setInput(t,g.yy),g.yy.lexer=h,g.yy.parser=this,h.yylloc===void 0&&(h.yylloc={});var v=h.yylloc;o.push(v);var y=h.options&&h.options.ranges;this.parseError=typeof g.yy.parseError==`function`?g.yy.parseError:Object.getPrototypeOf(this).parseError;function b(e){r.length-=2*e,a.length-=e,o.length-=e}e(b,`popStack`);function x(){var e=i.pop()||h.lex()||p;return typeof e!=`number`&&(e instanceof Array&&(i=e,e=i.pop()),e=n.symbols_[e]||e),e}e(x,`lex`);for(var S,C,w,T,E,D={},O,k,A,j;;){if(w=r[r.length-1],this.defaultActions[w]?T=this.defaultActions[w]:(S??=x(),T=s[w]&&s[w][S]),T===void 0||!T.length||!T[0]){var M=``;for(O in j=[],s[w])this.terminals_[O]&&O>f&&j.push(`'`+this.terminals_[O]+`'`);M=h.showPosition?`Parse error on line `+(l+1)+`:
2
2
  `+h.showPosition()+`
3
3
  Expecting `+j.join(`, `)+`, got '`+(this.terminals_[S]||S)+`'`:`Parse error on line `+(l+1)+`: Unexpected `+(S==p?`end of input`:`'`+(this.terminals_[S]||S)+`'`),this.parseError(M,{text:h.match,token:this.terminals_[S]||S,line:h.yylineno,loc:v,expected:j})}if(T[0]instanceof Array&&T.length>1)throw Error(`Parse Error: multiple actions possible at state: `+w+`, token: `+S);switch(T[0]){case 1:r.push(S),a.push(h.yytext),o.push(h.yylloc),r.push(T[1]),S=null,C?(S=C,C=null):(u=h.yyleng,c=h.yytext,l=h.yylineno,v=h.yylloc,d>0&&d--);break;case 2:if(k=this.productions_[T[1]][1],D.$=a[a.length-k],D._$={first_line:o[o.length-(k||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(k||1)].first_column,last_column:o[o.length-1].last_column},y&&(D._$.range=[o[o.length-(k||1)].range[0],o[o.length-1].range[1]]),E=this.performAction.apply(D,[c,u,l,g.yy,T[1],a,o].concat(m)),E!==void 0)return E;k&&(r=r.slice(0,-1*k*2),a=a.slice(0,-1*k),o=o.slice(0,-1*k)),r.push(this.productions_[T[1]][0]),a.push(D.$),o.push(D._$),A=s[r[r.length-2]][r[r.length-1]],r.push(A);break;case 3:return!0}}return!0},`parse`)};u.lexer=(function(){return{EOF:1,parseError:e(function(e,t){if(this.yy.parser)this.yy.parser.parseError(e,t);else throw Error(e)},`parseError`),setInput:e(function(e,t){return this.yy=t||this.yy||{},this._input=e,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match=``,this.conditionStack=[`INITIAL`],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},`setInput`),input:e(function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e},`input`),unput:e(function(e){var t=e.length,n=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this},`unput`),more:e(function(){return this._more=!0,this},`more`),reject:e(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError(`Lexical error on line `+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
4
4
  `+this.showPosition(),{text:``,token:null,line:this.yylineno});return this},`reject`),less:e(function(e){this.unput(this.match.slice(e))},`less`),pastInput:e(function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?`...`:``)+e.substr(-20).replace(/\n/g,``)},`pastInput`),upcomingInput:e(function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?`...`:``)).replace(/\n/g,``)},`upcomingInput`),showPosition:e(function(){var e=this.pastInput(),t=Array(e.length+1).join(`-`);return e+this.upcomingInput()+`
@@ -1 +1 @@
1
- import{t as e}from"./createLucideIcon-GFZ_fxLc.js";var t=e(`trash-2`,[[`path`,{d:`M10 11v6`,key:`nco0om`}],[`path`,{d:`M14 11v6`,key:`outv1u`}],[`path`,{d:`M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6`,key:`miytrc`}],[`path`,{d:`M3 6h18`,key:`d0wm0j`}],[`path`,{d:`M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2`,key:`e791ji`}]]);export{t};
1
+ import{t as e}from"./createLucideIcon-REX213UO.js";var t=e(`trash-2`,[[`path`,{d:`M10 11v6`,key:`nco0om`}],[`path`,{d:`M14 11v6`,key:`outv1u`}],[`path`,{d:`M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6`,key:`miytrc`}],[`path`,{d:`M3 6h18`,key:`d0wm0j`}],[`path`,{d:`M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2`,key:`e791ji`}]]);export{t};
@@ -1 +1 @@
1
- import"./chunk-NGNAAXSQ-Bw6tHVuc.js";export{c as createTreeViewServices}from"./mermaid-parser.core-req5LE0X.js";
1
+ import"./chunk-NGNAAXSQ-Bw6tHVuc.js";export{c as createTreeViewServices}from"./mermaid-parser.core-RkCFmJcg.js";
@@ -1 +1 @@
1
- import"./chunk-NGNAAXSQ-Bw6tHVuc.js";export{o as createTreemapServices}from"./mermaid-parser.core-req5LE0X.js";
1
+ import"./chunk-NGNAAXSQ-Bw6tHVuc.js";export{o as createTreemapServices}from"./mermaid-parser.core-RkCFmJcg.js";
@@ -1 +1 @@
1
- import{t as e}from"./createLucideIcon-GFZ_fxLc.js";var t=e(`redo-2`,[[`path`,{d:`m15 14 5-5-5-5`,key:`12vg1m`}],[`path`,{d:`M20 9H9.5A5.5 5.5 0 0 0 4 14.5A5.5 5.5 0 0 0 9.5 20H13`,key:`6uklza`}]]),n=e(`undo-2`,[[`path`,{d:`M9 14 4 9l5-5`,key:`102s5s`}],[`path`,{d:`M4 9h10.5a5.5 5.5 0 0 1 5.5 5.5a5.5 5.5 0 0 1-5.5 5.5H11`,key:`f3b9sd`}]]);export{t as n,n as t};
1
+ import{t as e}from"./createLucideIcon-REX213UO.js";var t=e(`redo-2`,[[`path`,{d:`m15 14 5-5-5-5`,key:`12vg1m`}],[`path`,{d:`M20 9H9.5A5.5 5.5 0 0 0 4 14.5A5.5 5.5 0 0 0 9.5 20H13`,key:`6uklza`}]]),n=e(`undo-2`,[[`path`,{d:`M9 14 4 9l5-5`,key:`102s5s`}],[`path`,{d:`M4 9h10.5a5.5 5.5 0 0 1 5.5 5.5a5.5 5.5 0 0 1-5.5 5.5H11`,key:`f3b9sd`}]]);export{t as n,n as t};
@@ -1,4 +1,4 @@
1
- import{n as e}from"./chunk-Y2CYZVJY-DsF7k-Jl.js";import{n as t,t as n}from"./d3-selection-COWvaQNI.js";import{C as r,H as i,U as a,_ as o,a as s,b as c,f as l,q as u,v as d,y as f,z as p}from"./chunk-DSNLSHJZ-CUDx1Rv5.js";import"./chunk-YZO67HFG-Bbpu36XF.js";import{_ as m}from"./chunk-7S6XSTFO-Dc0Dvkq7.js";import{i as h}from"./chunk-AQDTSKZB-VAILIsfx.js";import"./chunk-UHW7PFBP-BgLV8BIJ.js";import{a as g,i as _,o as ee,r as v}from"./chunk-J5ZVWO5B-oDCd-gWO.js";import"./chunk-HAGFOTED-DAoEe-dJ.js";import"./chunk-ZAUX2LTX-C48Ri0Gs.js";import"./chunk-WQQL4CDK-CMST9dyE.js";import{t as te}from"./chunk-XXDRQBXY-i7MKP1NY.js";import{t as ne}from"./chunk-VQ5W62QI-Bw19OOSD.js";import"./chunk-HNE4Q36P-g0akya12.js";import{i as re,r as ie}from"./mermaid.core-zFwZug4C.js";function ae(e){console&&console.error&&console.error(`Error: ${e}`)}function y(e){console&&console.warn&&console.warn(`Warning: ${e}`)}function oe(e){let t=new Date().getTime(),n=e();return{time:new Date().getTime()-t,value:n}}function se(e){function t(){}t.prototype=e;let n=new t;function r(){return typeof n.bar}return r(),r(),e}function ce(e){return le(e)?e.LABEL:e.name}function le(e){return typeof e.LABEL==`string`&&e.LABEL!==``}var b=class{get definition(){return this._definition}set definition(e){this._definition=e}constructor(e){this._definition=e}accept(e){e.visit(this),this.definition.forEach(t=>{t.accept(e)})}},x=class extends b{constructor(e){super([]),this.idx=1,Object.assign(this,j(e))}set definition(e){}get definition(){return this.referencedRule===void 0?[]:this.referencedRule.definition}accept(e){e.visit(this)}},S=class extends b{constructor(e){super(e.definition),this.orgText=``,Object.assign(this,j(e))}},C=class extends b{constructor(e){super(e.definition),this.ignoreAmbiguities=!1,Object.assign(this,j(e))}},w=class extends b{constructor(e){super(e.definition),this.idx=1,Object.assign(this,j(e))}},T=class extends b{constructor(e){super(e.definition),this.idx=1,Object.assign(this,j(e))}},E=class extends b{constructor(e){super(e.definition),this.idx=1,Object.assign(this,j(e))}},D=class extends b{constructor(e){super(e.definition),this.idx=1,Object.assign(this,j(e))}},O=class extends b{constructor(e){super(e.definition),this.idx=1,Object.assign(this,j(e))}},k=class extends b{get definition(){return this._definition}set definition(e){this._definition=e}constructor(e){super(e.definition),this.idx=1,this.ignoreAmbiguities=!1,this.hasPredicates=!1,Object.assign(this,j(e))}},A=class{constructor(e){this.idx=1,Object.assign(this,j(e))}accept(e){e.visit(this)}};function ue(e){return e.map(de)}function de(e){function t(e){return e.map(de)}if(e instanceof x){let t={type:`NonTerminal`,name:e.nonTerminalName,idx:e.idx};return typeof e.label==`string`&&(t.label=e.label),t}if(e instanceof C)return{type:`Alternative`,definition:t(e.definition)};if(e instanceof w)return{type:`Option`,idx:e.idx,definition:t(e.definition)};if(e instanceof T)return{type:`RepetitionMandatory`,idx:e.idx,definition:t(e.definition)};if(e instanceof E)return{type:`RepetitionMandatoryWithSeparator`,idx:e.idx,separator:de(new A({terminalType:e.separator})),definition:t(e.definition)};if(e instanceof O)return{type:`RepetitionWithSeparator`,idx:e.idx,separator:de(new A({terminalType:e.separator})),definition:t(e.definition)};if(e instanceof D)return{type:`Repetition`,idx:e.idx,definition:t(e.definition)};if(e instanceof k)return{type:`Alternation`,idx:e.idx,definition:t(e.definition)};if(e instanceof A){let t={type:`Terminal`,name:e.terminalType.name,label:ce(e.terminalType),idx:e.idx};typeof e.label==`string`&&(t.terminalLabel=e.label);let n=e.terminalType.PATTERN;return e.terminalType.PATTERN&&(t.pattern=n instanceof RegExp?n.source:n),t}if(e instanceof S)return{type:`Rule`,name:e.name,orgText:e.orgText,definition:t(e.definition)};throw Error(`non exhaustive match`)}function j(e){return Object.fromEntries(Object.entries(e).filter(([,e])=>e!==void 0))}var fe=class{visit(e){let t=e;switch(t.constructor){case x:return this.visitNonTerminal(t);case C:return this.visitAlternative(t);case w:return this.visitOption(t);case T:return this.visitRepetitionMandatory(t);case E:return this.visitRepetitionMandatoryWithSeparator(t);case O:return this.visitRepetitionWithSeparator(t);case D:return this.visitRepetition(t);case k:return this.visitAlternation(t);case A:return this.visitTerminal(t);case S:return this.visitRule(t);default:throw Error(`non exhaustive match`)}}visitNonTerminal(e){}visitAlternative(e){}visitOption(e){}visitRepetition(e){}visitRepetitionMandatory(e){}visitRepetitionMandatoryWithSeparator(e){}visitRepetitionWithSeparator(e){}visitAlternation(e){}visitTerminal(e){}visitRule(e){}};function pe(e){return e instanceof C||e instanceof w||e instanceof D||e instanceof T||e instanceof E||e instanceof O||e instanceof A||e instanceof S}function me(e,t=[]){return e instanceof w||e instanceof D||e instanceof O?!0:e instanceof k?e.definition.some(e=>me(e,t)):e instanceof x&&t.includes(e)?!1:e instanceof b&&(e instanceof x&&t.push(e),e.definition.every(e=>me(e,t)))}function he(e){return e instanceof k}function M(e){if(e instanceof x)return`SUBRULE`;if(e instanceof w)return`OPTION`;if(e instanceof k)return`OR`;if(e instanceof T)return`AT_LEAST_ONE`;if(e instanceof E)return`AT_LEAST_ONE_SEP`;if(e instanceof O)return`MANY_SEP`;if(e instanceof D)return`MANY`;if(e instanceof A)return`CONSUME`;throw Error(`non exhaustive match`)}var ge=class{walk(e,t=[]){e.definition.forEach((n,r)=>{let i=e.definition.slice(r+1);if(n instanceof x)this.walkProdRef(n,i,t);else if(n instanceof A)this.walkTerminal(n,i,t);else if(n instanceof C)this.walkFlat(n,i,t);else if(n instanceof w)this.walkOption(n,i,t);else if(n instanceof T)this.walkAtLeastOne(n,i,t);else if(n instanceof E)this.walkAtLeastOneSep(n,i,t);else if(n instanceof O)this.walkManySep(n,i,t);else if(n instanceof D)this.walkMany(n,i,t);else if(n instanceof k)this.walkOr(n,i,t);else throw Error(`non exhaustive match`)})}walkTerminal(e,t,n){}walkProdRef(e,t,n){}walkFlat(e,t,n){let r=t.concat(n);this.walk(e,r)}walkOption(e,t,n){let r=t.concat(n);this.walk(e,r)}walkAtLeastOne(e,t,n){let r=[new w({definition:e.definition})].concat(t,n);this.walk(e,r)}walkAtLeastOneSep(e,t,n){let r=_e(e,t,n);this.walk(e,r)}walkMany(e,t,n){let r=[new w({definition:e.definition})].concat(t,n);this.walk(e,r)}walkManySep(e,t,n){let r=_e(e,t,n);this.walk(e,r)}walkOr(e,t,n){let r=t.concat(n);e.definition.forEach(e=>{let t=new C({definition:[e]});this.walk(t,r)})}};function _e(e,t,n){return[new w({definition:[new A({terminalType:e.separator})].concat(e.definition)})].concat(t,n)}function ve(e){if(e instanceof x)return ve(e.referencedRule);if(e instanceof A)return xe(e);if(pe(e))return ye(e);if(he(e))return be(e);throw Error(`non exhaustive match`)}function ye(e){let t=[],n=e.definition,r=0,i=n.length>r,a,o=!0;for(;i&&o;)a=n[r],o=me(a),t=t.concat(ve(a)),r+=1,i=n.length>r;return[...new Set(t)]}function be(e){let t=e.definition.map(e=>ve(e));return[...new Set(t.flat())]}function xe(e){return[e.terminalType]}var Se=`_~IN~_`,Ce=class extends ge{constructor(e){super(),this.topProd=e,this.follows={}}startWalking(){return this.walk(this.topProd),this.follows}walkTerminal(e,t,n){}walkProdRef(e,t,n){let r=Te(e.referencedRule,e.idx)+this.topProd.name,i=ve(new C({definition:t.concat(n)}));this.follows[r]=i}};function we(e){let t={};return e.forEach(e=>{let n=new Ce(e).startWalking();Object.assign(t,n)}),t}function Te(e,t){return e.name+t+Se}function N(e){return e.charCodeAt(0)}function Ee(e,t){Array.isArray(e)?e.forEach(function(e){t.push(e)}):t.push(e)}function De(e,t){if(e[t]===!0)throw`duplicate flag `+t;e[t],e[t]=!0}function Oe(e){if(e===void 0)throw Error(`Internal Error - Should never get here!`);return!0}function ke(){throw Error(`Internal Error - Should never get here!`)}function Ae(e){return e.type===`Character`}var je=[];for(let e=N(`0`);e<=N(`9`);e++)je.push(e);var Me=[N(`_`)].concat(je);for(let e=N(`a`);e<=N(`z`);e++)Me.push(e);for(let e=N(`A`);e<=N(`Z`);e++)Me.push(e);var Ne=[N(` `),N(`\f`),N(`
1
+ import{n as e}from"./chunk-Y2CYZVJY-DsF7k-Jl.js";import{n as t,t as n}from"./d3-selection-COWvaQNI.js";import{C as r,H as i,U as a,_ as o,a as s,b as c,f as l,q as u,v as d,y as f,z as p}from"./chunk-DSNLSHJZ-BHFiQInN.js";import"./chunk-YZO67HFG-Cgu-EQvs.js";import{_ as m}from"./chunk-7S6XSTFO-B01FlTFf.js";import{i as h}from"./chunk-AQDTSKZB-latWUvVu.js";import"./chunk-UHW7PFBP-SIEJdixh.js";import{a as g,i as _,o as ee,r as v}from"./chunk-J5ZVWO5B-oDCd-gWO.js";import"./chunk-HAGFOTED-C4hR36ab.js";import"./chunk-ZAUX2LTX-pAl5CV3o.js";import"./chunk-WQQL4CDK-CbRuCBm6.js";import{t as te}from"./chunk-XXDRQBXY-i7MKP1NY.js";import{t as ne}from"./chunk-VQ5W62QI-CxWnQRxx.js";import"./chunk-HNE4Q36P-CNrxiD2Q.js";import{i as re,r as ie}from"./mermaid.core-BVUl-afX.js";function ae(e){console&&console.error&&console.error(`Error: ${e}`)}function y(e){console&&console.warn&&console.warn(`Warning: ${e}`)}function oe(e){let t=new Date().getTime(),n=e();return{time:new Date().getTime()-t,value:n}}function se(e){function t(){}t.prototype=e;let n=new t;function r(){return typeof n.bar}return r(),r(),e}function ce(e){return le(e)?e.LABEL:e.name}function le(e){return typeof e.LABEL==`string`&&e.LABEL!==``}var b=class{get definition(){return this._definition}set definition(e){this._definition=e}constructor(e){this._definition=e}accept(e){e.visit(this),this.definition.forEach(t=>{t.accept(e)})}},x=class extends b{constructor(e){super([]),this.idx=1,Object.assign(this,j(e))}set definition(e){}get definition(){return this.referencedRule===void 0?[]:this.referencedRule.definition}accept(e){e.visit(this)}},S=class extends b{constructor(e){super(e.definition),this.orgText=``,Object.assign(this,j(e))}},C=class extends b{constructor(e){super(e.definition),this.ignoreAmbiguities=!1,Object.assign(this,j(e))}},w=class extends b{constructor(e){super(e.definition),this.idx=1,Object.assign(this,j(e))}},T=class extends b{constructor(e){super(e.definition),this.idx=1,Object.assign(this,j(e))}},E=class extends b{constructor(e){super(e.definition),this.idx=1,Object.assign(this,j(e))}},D=class extends b{constructor(e){super(e.definition),this.idx=1,Object.assign(this,j(e))}},O=class extends b{constructor(e){super(e.definition),this.idx=1,Object.assign(this,j(e))}},k=class extends b{get definition(){return this._definition}set definition(e){this._definition=e}constructor(e){super(e.definition),this.idx=1,this.ignoreAmbiguities=!1,this.hasPredicates=!1,Object.assign(this,j(e))}},A=class{constructor(e){this.idx=1,Object.assign(this,j(e))}accept(e){e.visit(this)}};function ue(e){return e.map(de)}function de(e){function t(e){return e.map(de)}if(e instanceof x){let t={type:`NonTerminal`,name:e.nonTerminalName,idx:e.idx};return typeof e.label==`string`&&(t.label=e.label),t}if(e instanceof C)return{type:`Alternative`,definition:t(e.definition)};if(e instanceof w)return{type:`Option`,idx:e.idx,definition:t(e.definition)};if(e instanceof T)return{type:`RepetitionMandatory`,idx:e.idx,definition:t(e.definition)};if(e instanceof E)return{type:`RepetitionMandatoryWithSeparator`,idx:e.idx,separator:de(new A({terminalType:e.separator})),definition:t(e.definition)};if(e instanceof O)return{type:`RepetitionWithSeparator`,idx:e.idx,separator:de(new A({terminalType:e.separator})),definition:t(e.definition)};if(e instanceof D)return{type:`Repetition`,idx:e.idx,definition:t(e.definition)};if(e instanceof k)return{type:`Alternation`,idx:e.idx,definition:t(e.definition)};if(e instanceof A){let t={type:`Terminal`,name:e.terminalType.name,label:ce(e.terminalType),idx:e.idx};typeof e.label==`string`&&(t.terminalLabel=e.label);let n=e.terminalType.PATTERN;return e.terminalType.PATTERN&&(t.pattern=n instanceof RegExp?n.source:n),t}if(e instanceof S)return{type:`Rule`,name:e.name,orgText:e.orgText,definition:t(e.definition)};throw Error(`non exhaustive match`)}function j(e){return Object.fromEntries(Object.entries(e).filter(([,e])=>e!==void 0))}var fe=class{visit(e){let t=e;switch(t.constructor){case x:return this.visitNonTerminal(t);case C:return this.visitAlternative(t);case w:return this.visitOption(t);case T:return this.visitRepetitionMandatory(t);case E:return this.visitRepetitionMandatoryWithSeparator(t);case O:return this.visitRepetitionWithSeparator(t);case D:return this.visitRepetition(t);case k:return this.visitAlternation(t);case A:return this.visitTerminal(t);case S:return this.visitRule(t);default:throw Error(`non exhaustive match`)}}visitNonTerminal(e){}visitAlternative(e){}visitOption(e){}visitRepetition(e){}visitRepetitionMandatory(e){}visitRepetitionMandatoryWithSeparator(e){}visitRepetitionWithSeparator(e){}visitAlternation(e){}visitTerminal(e){}visitRule(e){}};function pe(e){return e instanceof C||e instanceof w||e instanceof D||e instanceof T||e instanceof E||e instanceof O||e instanceof A||e instanceof S}function me(e,t=[]){return e instanceof w||e instanceof D||e instanceof O?!0:e instanceof k?e.definition.some(e=>me(e,t)):e instanceof x&&t.includes(e)?!1:e instanceof b&&(e instanceof x&&t.push(e),e.definition.every(e=>me(e,t)))}function he(e){return e instanceof k}function M(e){if(e instanceof x)return`SUBRULE`;if(e instanceof w)return`OPTION`;if(e instanceof k)return`OR`;if(e instanceof T)return`AT_LEAST_ONE`;if(e instanceof E)return`AT_LEAST_ONE_SEP`;if(e instanceof O)return`MANY_SEP`;if(e instanceof D)return`MANY`;if(e instanceof A)return`CONSUME`;throw Error(`non exhaustive match`)}var ge=class{walk(e,t=[]){e.definition.forEach((n,r)=>{let i=e.definition.slice(r+1);if(n instanceof x)this.walkProdRef(n,i,t);else if(n instanceof A)this.walkTerminal(n,i,t);else if(n instanceof C)this.walkFlat(n,i,t);else if(n instanceof w)this.walkOption(n,i,t);else if(n instanceof T)this.walkAtLeastOne(n,i,t);else if(n instanceof E)this.walkAtLeastOneSep(n,i,t);else if(n instanceof O)this.walkManySep(n,i,t);else if(n instanceof D)this.walkMany(n,i,t);else if(n instanceof k)this.walkOr(n,i,t);else throw Error(`non exhaustive match`)})}walkTerminal(e,t,n){}walkProdRef(e,t,n){}walkFlat(e,t,n){let r=t.concat(n);this.walk(e,r)}walkOption(e,t,n){let r=t.concat(n);this.walk(e,r)}walkAtLeastOne(e,t,n){let r=[new w({definition:e.definition})].concat(t,n);this.walk(e,r)}walkAtLeastOneSep(e,t,n){let r=_e(e,t,n);this.walk(e,r)}walkMany(e,t,n){let r=[new w({definition:e.definition})].concat(t,n);this.walk(e,r)}walkManySep(e,t,n){let r=_e(e,t,n);this.walk(e,r)}walkOr(e,t,n){let r=t.concat(n);e.definition.forEach(e=>{let t=new C({definition:[e]});this.walk(t,r)})}};function _e(e,t,n){return[new w({definition:[new A({terminalType:e.separator})].concat(e.definition)})].concat(t,n)}function ve(e){if(e instanceof x)return ve(e.referencedRule);if(e instanceof A)return xe(e);if(pe(e))return ye(e);if(he(e))return be(e);throw Error(`non exhaustive match`)}function ye(e){let t=[],n=e.definition,r=0,i=n.length>r,a,o=!0;for(;i&&o;)a=n[r],o=me(a),t=t.concat(ve(a)),r+=1,i=n.length>r;return[...new Set(t)]}function be(e){let t=e.definition.map(e=>ve(e));return[...new Set(t.flat())]}function xe(e){return[e.terminalType]}var Se=`_~IN~_`,Ce=class extends ge{constructor(e){super(),this.topProd=e,this.follows={}}startWalking(){return this.walk(this.topProd),this.follows}walkTerminal(e,t,n){}walkProdRef(e,t,n){let r=Te(e.referencedRule,e.idx)+this.topProd.name,i=ve(new C({definition:t.concat(n)}));this.follows[r]=i}};function we(e){let t={};return e.forEach(e=>{let n=new Ce(e).startWalking();Object.assign(t,n)}),t}function Te(e,t){return e.name+t+Se}function N(e){return e.charCodeAt(0)}function Ee(e,t){Array.isArray(e)?e.forEach(function(e){t.push(e)}):t.push(e)}function De(e,t){if(e[t]===!0)throw`duplicate flag `+t;e[t],e[t]=!0}function Oe(e){if(e===void 0)throw Error(`Internal Error - Should never get here!`);return!0}function ke(){throw Error(`Internal Error - Should never get here!`)}function Ae(e){return e.type===`Character`}var je=[];for(let e=N(`0`);e<=N(`9`);e++)je.push(e);var Me=[N(`_`)].concat(je);for(let e=N(`a`);e<=N(`z`);e++)Me.push(e);for(let e=N(`A`);e<=N(`Z`);e++)Me.push(e);var Ne=[N(` `),N(`\f`),N(`
2
2
  `),N(`\r`),N(` `),N(`\v`),N(` `),N(`\xA0`),N(` `),N(` `),N(` `),N(` `),N(` `),N(` `),N(` `),N(` `),N(` `),N(` `),N(` `),N(` `),N(`\u2028`),N(`\u2029`),N(` `),N(` `),N(` `),N(``)],Pe=/[0-9a-fA-F]/,Fe=/[0-9]/,Ie=/[1-9]/,Le=class{constructor(){this.idx=0,this.input=``,this.groupIdx=0}saveState(){return{idx:this.idx,input:this.input,groupIdx:this.groupIdx}}restoreState(e){this.idx=e.idx,this.input=e.input,this.groupIdx=e.groupIdx}pattern(e){this.idx=0,this.input=e,this.groupIdx=0,this.consumeChar(`/`);let t=this.disjunction();this.consumeChar(`/`);let n={type:`Flags`,loc:{begin:this.idx,end:e.length},global:!1,ignoreCase:!1,multiLine:!1,unicode:!1,sticky:!1};for(;this.isRegExpFlag();)switch(this.popChar()){case`g`:De(n,`global`);break;case`i`:De(n,`ignoreCase`);break;case`m`:De(n,`multiLine`);break;case`u`:De(n,`unicode`);break;case`y`:De(n,`sticky`)}if(this.idx!==this.input.length)throw Error(`Redundant input: `+this.input.substring(this.idx));return{type:`Pattern`,flags:n,value:t,loc:this.loc(0)}}disjunction(){let e=[],t=this.idx;for(e.push(this.alternative());this.peekChar()===`|`;)this.consumeChar(`|`),e.push(this.alternative());return{type:`Disjunction`,value:e,loc:this.loc(t)}}alternative(){let e=[],t=this.idx;for(;this.isTerm();)e.push(this.term());return{type:`Alternative`,value:e,loc:this.loc(t)}}term(){return this.isAssertion()?this.assertion():this.atom()}assertion(){let e=this.idx;switch(this.popChar()){case`^`:return{type:`StartAnchor`,loc:this.loc(e)};case`$`:return{type:`EndAnchor`,loc:this.loc(e)};case`\\`:switch(this.popChar()){case`b`:return{type:`WordBoundary`,loc:this.loc(e)};case`B`:return{type:`NonWordBoundary`,loc:this.loc(e)}}throw Error(`Invalid Assertion Escape`);case`(`:this.consumeChar(`?`);let t;switch(this.popChar()){case`=`:t=`Lookahead`;break;case`!`:t=`NegativeLookahead`;break;case`<`:switch(this.popChar()){case`=`:t=`Lookbehind`;break;case`!`:t=`NegativeLookbehind`}}Oe(t);let n=this.disjunction();return this.consumeChar(`)`),{type:t,value:n,loc:this.loc(e)}}return ke()}quantifier(e=!1){let t,n=this.idx;switch(this.popChar()){case`*`:t={atLeast:0,atMost:1/0};break;case`+`:t={atLeast:1,atMost:1/0};break;case`?`:t={atLeast:0,atMost:1};break;case`{`:let n=this.integerIncludingZero();switch(this.popChar()){case`}`:t={atLeast:n,atMost:n};break;case`,`:let e;this.isDigit()?(e=this.integerIncludingZero(),t={atLeast:n,atMost:e}):t={atLeast:n,atMost:1/0},this.consumeChar(`}`)}if(e===!0&&t===void 0)return;Oe(t)}if((e!==!0||t!==void 0)&&Oe(t))return this.peekChar(0)===`?`?(this.consumeChar(`?`),t.greedy=!1):t.greedy=!0,t.type=`Quantifier`,t.loc=this.loc(n),t}atom(){let e,t=this.idx;switch(this.peekChar()){case`.`:e=this.dotAll();break;case`\\`:e=this.atomEscape();break;case`[`:e=this.characterClass();break;case`(`:e=this.group()}return e===void 0&&this.isPatternCharacter()&&(e=this.patternCharacter()),Oe(e)?(e.loc=this.loc(t),this.isQuantifier()&&(e.quantifier=this.quantifier()),e):ke()}dotAll(){return this.consumeChar(`.`),{type:`Set`,complement:!0,value:[N(`
3
3
  `),N(`\r`),N(`\u2028`),N(`\u2029`)]}}atomEscape(){switch(this.consumeChar(`\\`),this.peekChar()){case`1`:case`2`:case`3`:case`4`:case`5`:case`6`:case`7`:case`8`:case`9`:return this.decimalEscapeAtom();case`d`:case`D`:case`s`:case`S`:case`w`:case`W`:return this.characterClassEscape();case`f`:case`n`:case`r`:case`t`:case`v`:return this.controlEscapeAtom();case`c`:return this.controlLetterEscapeAtom();case`0`:return this.nulCharacterAtom();case`x`:return this.hexEscapeSequenceAtom();case`u`:return this.regExpUnicodeEscapeSequenceAtom();default:return this.identityEscapeAtom()}}decimalEscapeAtom(){return{type:`GroupBackReference`,value:this.positiveInteger()}}characterClassEscape(){let e,t=!1;switch(this.popChar()){case`d`:e=je;break;case`D`:e=je,t=!0;break;case`s`:e=Ne;break;case`S`:e=Ne,t=!0;break;case`w`:e=Me;break;case`W`:e=Me,t=!0}return Oe(e)?{type:`Set`,value:e,complement:t}:ke()}controlEscapeAtom(){let e;switch(this.popChar()){case`f`:e=N(`\f`);break;case`n`:e=N(`
4
4
  `);break;case`r`:e=N(`\r`);break;case`t`:e=N(` `);break;case`v`:e=N(`\v`)}return Oe(e)?{type:`Character`,value:e}:ke()}controlLetterEscapeAtom(){this.consumeChar(`c`);let e=this.popChar();if(/[a-zA-Z]/.test(e)===!1)throw Error(`Invalid `);return{type:`Character`,value:e.toUpperCase().charCodeAt(0)-64}}nulCharacterAtom(){return this.consumeChar(`0`),{type:`Character`,value:N(`\0`)}}hexEscapeSequenceAtom(){return this.consumeChar(`x`),this.parseHexDigits(2)}regExpUnicodeEscapeSequenceAtom(){return this.consumeChar(`u`),this.parseHexDigits(4)}identityEscapeAtom(){return{type:`Character`,value:N(this.popChar())}}classPatternCharacterAtom(){switch(this.peekChar()){case`
@@ -1,4 +1,4 @@
1
- import{n as e}from"./chunk-Y2CYZVJY-DsF7k-Jl.js";import{t}from"./d3-selection-COWvaQNI.js";import{C as n,H as r,U as i,_ as a,a as o,c as s,f as c,it as l,nt as u,q as d,rt as f,tt as p,v as m,y as h}from"./chunk-DSNLSHJZ-CUDx1Rv5.js";import{i as g}from"./chunk-7S6XSTFO-Dc0Dvkq7.js";import{t as _}from"./rough.esm-Dy-Kn_BL.js";import{a as v}from"./mermaid.core-zFwZug4C.js";var y=(e,t)=>f(e,`a`,-t),b=1e-10;function x(e,t){let n=C(e),r=n.filter(t=>S(t,e)),i=0,a=0,o=[];if(r.length>1){let t=O(r);for(let e=0;e<r.length;++e){let n=r[e];n.angle=Math.atan2(n.x-t.x,n.y-t.y)}r.sort((e,t)=>t.angle-e.angle);let n=r[r.length-1];for(let t=0;t<r.length;++t){let s=r[t];a+=(n.x+s.x)*(s.y-n.y);let c={x:(s.x+n.x)/2,y:(s.y+n.y)/2},l=null;for(let t=0;t<s.parentIndex.length;++t)if(n.parentIndex.includes(s.parentIndex[t])){let r=e[s.parentIndex[t]],i=Math.atan2(s.x-r.x,s.y-r.y),a=Math.atan2(n.x-r.x,n.y-r.y),o=a-i;o<0&&(o+=2*Math.PI);let u=a-o/2,d=T(c,{x:r.x+r.radius*Math.sin(u),y:r.y+r.radius*Math.cos(u)});d>r.radius*2&&(d=r.radius*2),(l==null||l.width>d)&&(l={circle:r,width:d,p1:s,p2:n,large:d>r.radius,sweep:!0})}l!=null&&(o.push(l),i+=w(l.circle.radius,l.width),n=s)}}else{let t=e[0];for(let n=1;n<e.length;++n)e[n].radius<t.radius&&(t=e[n]);let n=!1;for(let r=0;r<e.length;++r)if(T(e[r],t)>Math.abs(t.radius-e[r].radius)){n=!0;break}n?i=a=0:(i=t.radius*t.radius*Math.PI,o.push({circle:t,p1:{x:t.x,y:t.y+t.radius},p2:{x:t.x-b,y:t.y+t.radius},width:t.radius*2,large:!0,sweep:!0}))}return a/=2,t&&(t.area=i+a,t.arcArea=i,t.polygonArea=a,t.arcs=o,t.innerPoints=r,t.intersectionPoints=n),i+a}function S(e,t){return t.every(t=>T(e,t)<t.radius+b)}function C(e){let t=[];for(let n=0;n<e.length;++n)for(let r=n+1;r<e.length;++r){let i=D(e[n],e[r]);for(let e of i)e.parentIndex=[n,r],t.push(e)}return t}function w(e,t){return e*e*Math.acos(1-t/e)-(e-t)*Math.sqrt(t*(2*e-t))}function T(e,t){return Math.sqrt((e.x-t.x)*(e.x-t.x)+(e.y-t.y)*(e.y-t.y))}function E(e,t,n){if(n>=e+t)return 0;if(n<=Math.abs(e-t))return Math.PI*Math.min(e,t)*Math.min(e,t);let r=e-(n*n-t*t+e*e)/(2*n),i=t-(n*n-e*e+t*t)/(2*n);return w(e,r)+w(t,i)}function D(e,t){let n=T(e,t),r=e.radius,i=t.radius;if(n>=r+i||n<=Math.abs(r-i))return[];let a=(r*r-i*i+n*n)/(2*n),o=Math.sqrt(r*r-a*a),s=e.x+a*(t.x-e.x)/n,c=e.y+a*(t.y-e.y)/n,l=-(t.y-e.y)*(o/n),u=-(t.x-e.x)*(o/n);return[{x:s+l,y:c-u},{x:s-l,y:c+u}]}function O(e){let t={x:0,y:0};for(let n of e)t.x+=n.x,t.y+=n.y;return t.x/=e.length,t.y/=e.length,t}function k(e,t,n,r){r||={};let i=r.maxIterations||100,a=r.tolerance||1e-10,o=e(t),s=e(n),c=n-t;if(o*s>0)throw`Initial bisect points must have opposite signs`;if(o===0)return t;if(s===0)return n;for(let n=0;n<i;++n){c/=2;let n=t+c,r=e(n);if(r*o>=0&&(t=n),Math.abs(c)<a||r===0)return n}return t+c}function A(e){let t=Array(e);for(let n=0;n<e;++n)t[n]=0;return t}function j(e,t){return A(e).map(()=>A(t))}function M(e,t){let n=0;for(let r=0;r<e.length;++r)n+=e[r]*t[r];return n}function N(e){return Math.sqrt(M(e,e))}function P(e,t,n){for(let r=0;r<t.length;++r)e[r]=t[r]*n}function F(e,t,n,r,i){for(let a=0;a<e.length;++a)e[a]=t*n[a]+r*i[a]}function I(e,t,n){n||={};let r=n.maxIterations||t.length*200,i=n.nonZeroDelta||1.05,a=n.zeroDelta||.001,o=n.minErrorDelta||1e-6,s=n.minErrorDelta||1e-5,c=n.rho===void 0?1:n.rho,l=n.chi===void 0?2:n.chi,u=n.psi===void 0?-.5:n.psi,d=n.sigma===void 0?.5:n.sigma,f,p=t.length,m=Array(p+1);m[0]=t,m[0].fx=e(t),m[0].id=0;for(let n=0;n<p;++n){let r=t.slice();r[n]=r[n]?r[n]*i:a,m[n+1]=r,m[n+1].fx=e(r),m[n+1].id=n+1}function h(e){for(let t=0;t<e.length;t++)m[p][t]=e[t];m[p].fx=e.fx}let g=(e,t)=>e.fx-t.fx,_=t.slice(),v=t.slice(),y=t.slice(),b=t.slice();for(let t=0;t<r;++t){if(m.sort(g),n.history){let e=m.map(e=>{let t=e.slice();return t.fx=e.fx,t.id=e.id,t});e.sort((e,t)=>e.id-t.id),n.history.push({x:m[0].slice(),fx:m[0].fx,simplex:e})}f=0;for(let e=0;e<p;++e)f=Math.max(f,Math.abs(m[0][e]-m[1][e]));if(Math.abs(m[0].fx-m[p].fx)<o&&f<s)break;for(let e=0;e<p;++e){_[e]=0;for(let t=0;t<p;++t)_[e]+=m[t][e];_[e]/=p}let t=m[p];if(F(v,1+c,_,-c,t),v.fx=e(v),v.fx<m[0].fx)F(b,1+l,_,-l,t),b.fx=e(b),b.fx<v.fx?h(b):h(v);else if(v.fx>=m[p-1].fx){let n=!1;if(v.fx>t.fx?(F(y,1+u,_,-u,t),y.fx=e(y),y.fx<t.fx?h(y):n=!0):(F(y,1-u*c,_,u*c,t),y.fx=e(y),y.fx<v.fx?h(y):n=!0),n){if(d>=1)break;for(let t=1;t<m.length;++t)F(m[t],1-d,m[0],d,m[t]),m[t].fx=e(m[t])}}else h(v)}return m.sort(g),{fx:m[0].fx,x:m[0]}}function L(e,t,n,r,i,a,o){let s=n.fx,c=M(n.fxprime,t),l=s,u=s,d=c,f=0;i||=1,a||=1e-6,o||=.1;function p(u,f,p){for(let m=0;m<16;++m)if(i=(u+f)/2,F(r.x,1,n.x,i,t),l=r.fx=e(r.x,r.fxprime),d=M(r.fxprime,t),l>s+a*i*c||l>=p)f=i;else{if(Math.abs(d)<=-o*c)return i;d*(f-u)>=0&&(f=u),u=i,p=l}return 0}for(let m=0;m<10;++m){if(F(r.x,1,n.x,i,t),l=r.fx=e(r.x,r.fxprime),d=M(r.fxprime,t),l>s+a*i*c||m&&l>=u)return p(f,i,u);if(Math.abs(d)<=-o*c)return i;if(d>=0)return p(i,f,l);u=l,f=i,i*=2}return i}function R(e,t,n){let r={x:t.slice(),fx:0,fxprime:t.slice()},i={x:t.slice(),fx:0,fxprime:t.slice()},a=t.slice(),o,s,c=1,l;n||={},l=n.maxIterations||t.length*20,r.fx=e(r.x,r.fxprime),o=r.fxprime.slice(),P(o,r.fxprime,-1);for(let t=0;t<l;++t){if(c=L(e,o,r,i,c),n.history&&n.history.push({x:r.x.slice(),fx:r.fx,fxprime:r.fxprime.slice(),alpha:c}),!c)P(o,r.fxprime,-1);else{F(a,1,i.fxprime,-1,r.fxprime);let e=M(r.fxprime,r.fxprime),t=Math.max(0,M(a,i.fxprime)/e);F(o,t,o,-1,i.fxprime),s=r,r=i,i=s}if(N(r.fxprime)<=1e-5)break}return n.history&&n.history.push({x:r.x.slice(),fx:r.fx,fxprime:r.fxprime.slice(),alpha:c}),r}function ee(e,t={}){t.maxIterations=t.maxIterations||500;let n=t.initialLayout||ae,r=t.lossFunction||B,i=ne(e,t),a=n(i,t),o=Object.keys(a),s=[];for(let e of o)s.push(a[e].x),s.push(a[e].y);let c=I(e=>{let t={};for(let n=0;n<o.length;++n){let r=o[n];t[r]={x:e[2*n],y:e[2*n+1],radius:a[r].radius}}return r(t,i)},s,t).x;for(let e=0;e<o.length;++e){let t=o[e];a[t].x=c[2*e],a[t].y=c[2*e+1]}return a}var te=1e-10;function z(e,t,n){return Math.min(e,t)*Math.min(e,t)*Math.PI<=n+te?Math.abs(e-t):k(r=>E(e,t,r)-n,0,e+t)}function ne(e,t={}){let n=t.distinct,r=e.map(e=>Object.assign({},e));function i(e){return e.join(`;`)}if(n){let e=new Map;for(let t of r)for(let n=0;n<t.sets.length;n++){let r=String(t.sets[n]);e.set(r,t.size+(e.get(r)||0));for(let i=n+1;i<t.sets.length;i++){let n=String(t.sets[i]),a=`${r};${n}`,o=`${n};${r}`;e.set(a,t.size+(e.get(a)||0)),e.set(o,t.size+(e.get(o)||0))}}for(let t of r)t.sets.length<3&&(t.size=e.get(i(t.sets)))}let a=[],o=new Set;for(let e of r)if(e.sets.length===1)a.push(e.sets[0]);else if(e.sets.length===2){let t=e.sets[0],n=e.sets[1];o.add(i(e.sets)),o.add(i([n,t]))}a.sort((e,t)=>e===t?0:e<t?-1:1);for(let e=0;e<a.length;++e){let t=a[e];for(let n=e+1;n<a.length;++n){let e=a[n];o.has(i([t,e]))||r.push({sets:[t,e],size:0})}}return r}function re(e,t,n){let r=j(t.length,t.length),i=j(t.length,t.length);return e.filter(e=>e.sets.length===2).forEach(e=>{let a=n[e.sets[0]],o=n[e.sets[1]],s=z(Math.sqrt(t[a].size/Math.PI),Math.sqrt(t[o].size/Math.PI),e.size);r[a][o]=r[o][a]=s;let c=0;e.size+1e-10>=Math.min(t[a].size,t[o].size)?c=1:e.size<=1e-10&&(c=-1),i[a][o]=i[o][a]=c}),{distances:r,constraints:i}}function ie(e,t,n,r){for(let e=0;e<t.length;++e)t[e]=0;let i=0;for(let a=0;a<n.length;++a){let o=e[2*a],s=e[2*a+1];for(let c=a+1;c<n.length;++c){let l=e[2*c],u=e[2*c+1],d=n[a][c],f=r[a][c],p=(l-o)*(l-o)+(u-s)*(u-s),m=Math.sqrt(p),h=p-d*d;f>0&&m<=d||f<0&&m>=d||(i+=2*h*h,t[2*a]+=4*h*(o-l),t[2*a+1]+=4*h*(s-u),t[2*c]+=4*h*(l-o),t[2*c+1]+=4*h*(u-s))}}return i}function ae(e,t={}){let n=se(e,t),r=t.lossFunction||B;if(e.length>=8){let i=oe(e,t),a=r(i,e),o=r(n,e);a+1e-8<o&&(n=i)}return n}function oe(e,t={}){let n=t.restarts||10,r=[],i={};for(let t of e)t.sets.length===1&&(i[t.sets[0]]=r.length,r.push(t));let{distances:a,constraints:o}=re(e,r,i),s=N(a.map(N))/a.length;a=a.map(e=>e.map(e=>e/s));let c=(e,t)=>ie(e,t,a,o),l=null;for(let e=0;e<n;++e){let e=R(c,A(a.length*2).map(Math.random),t);(!l||e.fx<l.fx)&&(l=e)}let u=l.x,d={};for(let e=0;e<r.length;++e){let t=r[e];d[t.sets[0]]={x:u[2*e]*s,y:u[2*e+1]*s,radius:Math.sqrt(t.size/Math.PI)}}if(t.history)for(let e of t.history)P(e.x,s);return d}function se(e,t){let n=t&&t.lossFunction?t.lossFunction:B,r={},i={};for(let t of e)if(t.sets.length===1){let e=t.sets[0];r[e]={x:1e10,y:1e10,rowid:r.length,size:t.size,radius:Math.sqrt(t.size/Math.PI)},i[e]=[]}e=e.filter(e=>e.sets.length===2);for(let t of e){let e=t.weight==null?1:t.weight,n=t.sets[0],a=t.sets[1];t.size+te>=Math.min(r[n].size,r[a].size)&&(e=0),i[n].push({set:a,size:t.size,weight:e}),i[a].push({set:n,size:t.size,weight:e})}let a=[];Object.keys(i).forEach(e=>{let t=0;for(let n=0;n<i[e].length;++n)t+=i[e][n].size*i[e][n].weight;a.push({set:e,size:t})});function o(e,t){return t.size-e.size}a.sort(o);let s={};function c(e){return e.set in s}function l(e,t){r[t].x=e.x,r[t].y=e.y,s[t]=!0}l({x:0,y:0},a[0].set);for(let t=1;t<a.length;++t){let s=a[t].set,d=i[s].filter(c),f=r[s];if(d.sort(o),d.length===0)throw`ERROR: missing pairwise overlap information`;let p=[];for(var u=0;u<d.length;++u){let e=r[d[u].set],t=z(f.radius,e.radius,d[u].size);p.push({x:e.x+t,y:e.y}),p.push({x:e.x-t,y:e.y}),p.push({y:e.y+t,x:e.x}),p.push({y:e.y-t,x:e.x});for(let n=u+1;n<d.length;++n){let i=r[d[n].set],a=z(f.radius,i.radius,d[n].size),o=D({x:e.x,y:e.y,radius:t},{x:i.x,y:i.y,radius:a});p.push(...o)}}let m=1e50,h=p[0];for(let t of p){r[s].x=t.x,r[s].y=t.y;let i=n(r,e);i<m&&(m=i,h=t)}l(h,s)}return r}function B(e,t){let n=0;for(let r of t){if(r.sets.length===1)continue;let t;if(r.sets.length===2){let n=e[r.sets[0]],i=e[r.sets[1]];t=E(n.radius,i.radius,T(n,i))}else t=x(r.sets.map(t=>e[t]));let i=r.weight==null?1:r.weight;n+=i*(t-r.size)*(t-r.size)}return n}function ce(e,t){let n=0;for(let r of t){if(r.sets.length===1)continue;let t;if(r.sets.length===2){let n=e[r.sets[0]],i=e[r.sets[1]];t=E(n.radius,i.radius,T(n,i))}else t=x(r.sets.map(t=>e[t]));let i=r.weight==null?1:r.weight,a=Math.log((t+1)/(r.size+1));n+=i*a*a}return n}function le(e,t,n){if(n==null?e.sort((e,t)=>t.radius-e.radius):e.sort(n),e.length>0){let t=e[0].x,n=e[0].y;for(let r of e)r.x-=t,r.y-=n}if(e.length===2&&T(e[0],e[1])<Math.abs(e[1].radius-e[0].radius)&&(e[1].x=e[0].x+e[0].radius-e[1].radius-1e-10,e[1].y=e[0].y),e.length>1){let n=Math.atan2(e[1].x,e[1].y)-t,r=Math.cos(n),i=Math.sin(n);for(let t of e){let e=t.x,n=t.y;t.x=r*e-i*n,t.y=i*e+r*n}}if(e.length>2){let n=Math.atan2(e[2].x,e[2].y)-t;for(;n<0;)n+=2*Math.PI;for(;n>2*Math.PI;)n-=2*Math.PI;if(n>Math.PI){let t=e[1].y/(1e-10+e[1].x);for(let n of e){var r=(n.x+t*n.y)/(1+t*t);n.x=2*r-n.x,n.y=2*r*t-n.y}}}}function ue(e){e.forEach(e=>{e.parent=e});function t(e){return e.parent!==e&&(e.parent=t(e.parent)),e.parent}function n(e,n){let r=t(e);r.parent=t(n)}for(let t=0;t<e.length;++t)for(let r=t+1;r<e.length;++r){let i=e[t].radius+e[r].radius;T(e[t],e[r])+1e-10<i&&n(e[r],e[t])}let r=new Map;for(let n=0;n<e.length;++n){let i=t(e[n]).parent.setid;r.has(i)||r.set(i,[]),r.get(i).push(e[n])}return e.forEach(e=>{delete e.parent}),Array.from(r.values())}function V(e){let t=t=>({max:e.reduce((e,n)=>Math.max(e,n[t]+n.radius),-1/0),min:e.reduce((e,n)=>Math.min(e,n[t]-n.radius),1/0)});return{xRange:t(`x`),yRange:t(`y`)}}function de(e,t,n){t??=Math.PI/2;let r=me(e).map(e=>Object.assign({},e)),i=ue(r);for(let e of i){le(e,t,n);let r=V(e);e.size=(r.xRange.max-r.xRange.min)*(r.yRange.max-r.yRange.min),e.bounds=r}i.sort((e,t)=>t.size-e.size),r=i[0];let a=r.bounds,o=(a.xRange.max-a.xRange.min)/50;function s(e,t,n){if(!e)return;let i=e.bounds,s,c;if(t)s=a.xRange.max-i.xRange.min+o;else{s=a.xRange.max-i.xRange.max;let e=(i.xRange.max-i.xRange.min)/2-(a.xRange.max-a.xRange.min)/2;e<0&&(s+=e)}if(n)c=a.yRange.max-i.yRange.min+o;else{c=a.yRange.max-i.yRange.max;let e=(i.yRange.max-i.yRange.min)/2-(a.yRange.max-a.yRange.min)/2;e<0&&(c+=e)}for(let t of e)t.x+=s,t.y+=c,r.push(t)}let c=1;for(;c<i.length;)s(i[c],!0,!1),s(i[c+1],!1,!0),s(i[c+2],!0,!0),c+=3,a=V(r);return pe(r)}function fe(e,t,n,r,i){let a=me(e);t-=2*r,n-=2*r;let{xRange:o,yRange:s}=V(a);if(o.max===o.min||s.max===s.min)return console.log(`not scaling solution: zero size detected`),e;let c,l;if(i){let e=Math.sqrt(i/Math.PI)*2;c=t/e,l=n/e}else c=t/(o.max-o.min),l=n/(s.max-s.min);let u=Math.min(l,c),d=(t-(o.max-o.min)*u)/2,f=(n-(s.max-s.min)*u)/2;return pe(a.map(e=>({radius:u*e.radius,x:r+d+(e.x-o.min)*u,y:r+f+(e.y-s.min)*u,setid:e.setid})))}function pe(e){let t={};for(let n of e)t[n.setid]=n;return t}function me(e){return Object.keys(e).map(t=>Object.assign(e[t],{setid:t}))}function he(e={}){let t=!1,n=600,r=350,i=15,a=1e3,o=Math.PI/2,s=!0,c=null,l=!0,u=!0,d=null,f=null,p=!1,m=null,h=e&&e.symmetricalTextCentre?e.symmetricalTextCentre:!1,g={},_=e&&e.colourScheme?e.colourScheme:e&&e.colorScheme?e.colorScheme:[`#1f77b4`,`#ff7f0e`,`#2ca02c`,`#d62728`,`#9467bd`,`#8c564b`,`#e377c2`,`#7f7f7f`,`#bcbd22`,`#17becf`],v=0,y=function(e){if(e in g)return g[e];var t=g[e]=_[v];return v+=1,v>=_.length&&(v=0),t},b=ee,x=B;function S(g){let _=g.datum(),v=new Set;_.forEach(e=>{e.size==0&&e.sets.length==1&&v.add(e.sets[0])}),_=_.filter(e=>!e.sets.some(e=>v.has(e)));let S={},C={};if(_.length>0){let e=b(_,{lossFunction:x,distinct:p});s&&(e=de(e,o,f)),S=fe(e,n,r,i,c),C=ve(S,_,h)}let w={};_.forEach(e=>{e.label&&(w[e.sets]=e.label)});function T(e){if(e.sets in w)return w[e.sets];if(e.sets.length==1)return``+e.sets[0]}g.selectAll(`svg`).data([S]).enter().append(`svg`);let E=g.select(`svg`);t?E.attr(`viewBox`,`0 0 ${n} ${r}`):E.attr(`width`,n).attr(`height`,r);let D={},O=!1;E.selectAll(`.venn-area path`).each(function(e){let t=this.getAttribute(`d`);e.sets.length==1&&t&&!p&&(O=!0,D[e.sets[0]]=be(t))});function k(e){return t=>Ce(e.sets.map(e=>{let i=D[e],a=S[e];return i||={x:n/2,y:r/2,radius:1},a||={x:n/2,y:r/2,radius:1},{x:i.x*(1-t)+a.x*t,y:i.y*(1-t)+a.y*t,radius:i.radius*(1-t)+a.radius*t}}),m)}let A=E.selectAll(`.venn-area`).data(_,e=>e.sets),j=A.enter().append(`g`).attr(`class`,e=>`venn-area venn-${e.sets.length==1?`circle`:`intersection`}${e.colour||e.color?` venn-coloured`:``}`).attr(`data-venn-sets`,e=>e.sets.join(`_`)),M=j.append(`path`),N=j.append(`text`).attr(`class`,`label`).text(e=>T(e)).attr(`text-anchor`,`middle`).attr(`dy`,`.35em`).attr(`x`,n/2).attr(`y`,r/2);u&&(M.style(`fill-opacity`,`0`).filter(e=>e.sets.length==1).style(`fill`,e=>e.colour?e.colour:e.color?e.color:y(e.sets)).style(`fill-opacity`,`.25`),N.style(`fill`,t=>t.colour||t.color?`#FFF`:e.textFill?e.textFill:t.sets.length==1?y(t.sets):`#444`));function P(e){return typeof e.transition==`function`?e.transition(`venn`).duration(a):e}let F=g;O&&typeof F.transition==`function`?(F=P(g),F.selectAll(`path`).attrTween(`d`,k)):F.selectAll(`path`).attr(`d`,e=>Ce(e.sets.map(e=>S[e])),m);let I=F.selectAll(`text`).filter(e=>e.sets in C).text(e=>T(e)).attr(`x`,e=>Math.floor(C[e.sets].x)).attr(`y`,e=>Math.floor(C[e.sets].y));l&&(O?`on`in I?I.on(`end`,H(S,T)):I.each(`end`,H(S,T)):I.each(H(S,T)));let L=P(A.exit()).remove();typeof A.transition==`function`&&L.selectAll(`path`).attrTween(`d`,k);let R=L.selectAll(`text`).attr(`x`,n/2).attr(`y`,r/2);return d!==null&&(N.style(`font-size`,`0px`),I.style(`font-size`,d),R.style(`font-size`,`0px`)),{circles:S,textCentres:C,nodes:A,enter:j,update:F,exit:L}}return S.wrap=function(e){return arguments.length?(l=e,S):l},S.useViewBox=function(){return t=!0,S},S.width=function(e){return arguments.length?(n=e,S):n},S.height=function(e){return arguments.length?(r=e,S):r},S.padding=function(e){return arguments.length?(i=e,S):i},S.distinct=function(e){return arguments.length?(p=e,S):p},S.colours=function(e){return arguments.length?(y=e,S):y},S.colors=function(e){return arguments.length?(y=e,S):y},S.fontSize=function(e){return arguments.length?(d=e,S):d},S.round=function(e){return arguments.length?(m=e,S):m},S.duration=function(e){return arguments.length?(a=e,S):a},S.layoutFunction=function(e){return arguments.length?(b=e,S):b},S.normalize=function(e){return arguments.length?(s=e,S):s},S.scaleToFit=function(e){return arguments.length?(c=e,S):c},S.styled=function(e){return arguments.length?(u=e,S):u},S.orientation=function(e){return arguments.length?(o=e,S):o},S.orientationOrder=function(e){return arguments.length?(f=e,S):f},S.lossFunction=function(e){return arguments.length?(x=e==="default"?B:e===`logRatio`?ce:e,S):x},S}function H(e,t){return function(n){let r=this,i=e[n.sets[0]].radius||50,a=t(n)||``,o=a.split(/\s+/).reverse(),s=(a.length+o.length)/3,c=o.pop(),l=[c],u=0,d=1.1;r.textContent=null;let f=[];function p(e){let t=r.ownerDocument.createElementNS(r.namespaceURI,`tspan`);return t.textContent=e,f.push(t),r.append(t),t}let m=p(c);for(;c=o.pop(),c;){l.push(c);let e=l.join(` `);m.textContent=e,e.length>s&&m.getComputedTextLength()>i&&(l.pop(),m.textContent=l.join(` `),l=[c],m=p(c),u++)}let h=.35-u*d/2,g=r.getAttribute(`x`),_=r.getAttribute(`y`);f.forEach((e,t)=>{e.setAttribute(`x`,g),e.setAttribute(`y`,_),e.setAttribute(`dy`,`${h+t*d}em`)})}}function U(e,t,n){let r=t[0].radius-T(t[0],e);for(let n=1;n<t.length;++n){let i=t[n].radius-T(t[n],e);i<=r&&(r=i)}for(let t=0;t<n.length;++t){let i=T(n[t],e)-n[t].radius;i<=r&&(r=i)}return r}function ge(e,t,n){let r=[];for(let t of e)r.push({x:t.x,y:t.y}),r.push({x:t.x+t.radius/2,y:t.y}),r.push({x:t.x-t.radius/2,y:t.y}),r.push({x:t.x,y:t.y+t.radius/2}),r.push({x:t.x,y:t.y-t.radius/2});let i=r[0],a=U(r[0],e,t);for(let n=1;n<r.length;++n){let o=U(r[n],e,t);o>=a&&(i=r[n],a=o)}let o=I(n=>-1*U({x:n[0],y:n[1]},e,t),[i.x,i.y],{maxIterations:500,minErrorDelta:1e-10}).x,s={x:n?0:o[0],y:o[1]},c=!0;for(let t of e)if(T(s,t)>t.radius){c=!1;break}for(let e of t)if(T(s,e)<e.radius){c=!1;break}if(c)return s;if(e.length==1)return{x:e[0].x,y:e[0].y};let l={};return x(e,l),l.arcs.length===0?{x:0,y:-1e3,disjoint:!0}:l.arcs.length==1?{x:l.arcs[0].circle.x,y:l.arcs[0].circle.y}:t.length?ge(e,[]):O(l.arcs.map(e=>e.p1))}function _e(e){let t={},n=Object.keys(e);for(let e of n)t[e]=[];for(let r=0;r<n.length;r++){let i=n[r],a=e[i];for(let o=r+1;o<n.length;++o){let r=n[o],s=e[r],c=T(a,s);c+s.radius<=a.radius+1e-10?t[r].push(i):c+a.radius<=s.radius+1e-10&&t[i].push(r)}}return t}function ve(e,t,n){let r={},i=_e(e);for(let a=0;a<t.length;++a){let o=t[a].sets,s={},c={};for(let e=0;e<o.length;++e){s[o[e]]=!0;let t=i[o[e]];for(let e=0;e<t.length;++e)c[t[e]]=!0}let l=[],u=[];for(let t in e)t in s?l.push(e[t]):t in c||u.push(e[t]);let d=ge(l,u,n);r[o]=d,d.disjoint&&t[a].size>0&&console.log(`WARNING: area `+o+` not represented on screen`)}return r}function ye(e,t,n){let r=[];return r.push(`
1
+ import{n as e}from"./chunk-Y2CYZVJY-DsF7k-Jl.js";import{t}from"./d3-selection-COWvaQNI.js";import{C as n,H as r,U as i,_ as a,a as o,c as s,f as c,it as l,nt as u,q as d,rt as f,tt as p,v as m,y as h}from"./chunk-DSNLSHJZ-BHFiQInN.js";import{i as g}from"./chunk-7S6XSTFO-B01FlTFf.js";import{t as _}from"./rough.esm-Dy-Kn_BL.js";import{a as v}from"./mermaid.core-BVUl-afX.js";var y=(e,t)=>f(e,`a`,-t),b=1e-10;function x(e,t){let n=C(e),r=n.filter(t=>S(t,e)),i=0,a=0,o=[];if(r.length>1){let t=O(r);for(let e=0;e<r.length;++e){let n=r[e];n.angle=Math.atan2(n.x-t.x,n.y-t.y)}r.sort((e,t)=>t.angle-e.angle);let n=r[r.length-1];for(let t=0;t<r.length;++t){let s=r[t];a+=(n.x+s.x)*(s.y-n.y);let c={x:(s.x+n.x)/2,y:(s.y+n.y)/2},l=null;for(let t=0;t<s.parentIndex.length;++t)if(n.parentIndex.includes(s.parentIndex[t])){let r=e[s.parentIndex[t]],i=Math.atan2(s.x-r.x,s.y-r.y),a=Math.atan2(n.x-r.x,n.y-r.y),o=a-i;o<0&&(o+=2*Math.PI);let u=a-o/2,d=T(c,{x:r.x+r.radius*Math.sin(u),y:r.y+r.radius*Math.cos(u)});d>r.radius*2&&(d=r.radius*2),(l==null||l.width>d)&&(l={circle:r,width:d,p1:s,p2:n,large:d>r.radius,sweep:!0})}l!=null&&(o.push(l),i+=w(l.circle.radius,l.width),n=s)}}else{let t=e[0];for(let n=1;n<e.length;++n)e[n].radius<t.radius&&(t=e[n]);let n=!1;for(let r=0;r<e.length;++r)if(T(e[r],t)>Math.abs(t.radius-e[r].radius)){n=!0;break}n?i=a=0:(i=t.radius*t.radius*Math.PI,o.push({circle:t,p1:{x:t.x,y:t.y+t.radius},p2:{x:t.x-b,y:t.y+t.radius},width:t.radius*2,large:!0,sweep:!0}))}return a/=2,t&&(t.area=i+a,t.arcArea=i,t.polygonArea=a,t.arcs=o,t.innerPoints=r,t.intersectionPoints=n),i+a}function S(e,t){return t.every(t=>T(e,t)<t.radius+b)}function C(e){let t=[];for(let n=0;n<e.length;++n)for(let r=n+1;r<e.length;++r){let i=D(e[n],e[r]);for(let e of i)e.parentIndex=[n,r],t.push(e)}return t}function w(e,t){return e*e*Math.acos(1-t/e)-(e-t)*Math.sqrt(t*(2*e-t))}function T(e,t){return Math.sqrt((e.x-t.x)*(e.x-t.x)+(e.y-t.y)*(e.y-t.y))}function E(e,t,n){if(n>=e+t)return 0;if(n<=Math.abs(e-t))return Math.PI*Math.min(e,t)*Math.min(e,t);let r=e-(n*n-t*t+e*e)/(2*n),i=t-(n*n-e*e+t*t)/(2*n);return w(e,r)+w(t,i)}function D(e,t){let n=T(e,t),r=e.radius,i=t.radius;if(n>=r+i||n<=Math.abs(r-i))return[];let a=(r*r-i*i+n*n)/(2*n),o=Math.sqrt(r*r-a*a),s=e.x+a*(t.x-e.x)/n,c=e.y+a*(t.y-e.y)/n,l=-(t.y-e.y)*(o/n),u=-(t.x-e.x)*(o/n);return[{x:s+l,y:c-u},{x:s-l,y:c+u}]}function O(e){let t={x:0,y:0};for(let n of e)t.x+=n.x,t.y+=n.y;return t.x/=e.length,t.y/=e.length,t}function k(e,t,n,r){r||={};let i=r.maxIterations||100,a=r.tolerance||1e-10,o=e(t),s=e(n),c=n-t;if(o*s>0)throw`Initial bisect points must have opposite signs`;if(o===0)return t;if(s===0)return n;for(let n=0;n<i;++n){c/=2;let n=t+c,r=e(n);if(r*o>=0&&(t=n),Math.abs(c)<a||r===0)return n}return t+c}function A(e){let t=Array(e);for(let n=0;n<e;++n)t[n]=0;return t}function j(e,t){return A(e).map(()=>A(t))}function M(e,t){let n=0;for(let r=0;r<e.length;++r)n+=e[r]*t[r];return n}function N(e){return Math.sqrt(M(e,e))}function P(e,t,n){for(let r=0;r<t.length;++r)e[r]=t[r]*n}function F(e,t,n,r,i){for(let a=0;a<e.length;++a)e[a]=t*n[a]+r*i[a]}function I(e,t,n){n||={};let r=n.maxIterations||t.length*200,i=n.nonZeroDelta||1.05,a=n.zeroDelta||.001,o=n.minErrorDelta||1e-6,s=n.minErrorDelta||1e-5,c=n.rho===void 0?1:n.rho,l=n.chi===void 0?2:n.chi,u=n.psi===void 0?-.5:n.psi,d=n.sigma===void 0?.5:n.sigma,f,p=t.length,m=Array(p+1);m[0]=t,m[0].fx=e(t),m[0].id=0;for(let n=0;n<p;++n){let r=t.slice();r[n]=r[n]?r[n]*i:a,m[n+1]=r,m[n+1].fx=e(r),m[n+1].id=n+1}function h(e){for(let t=0;t<e.length;t++)m[p][t]=e[t];m[p].fx=e.fx}let g=(e,t)=>e.fx-t.fx,_=t.slice(),v=t.slice(),y=t.slice(),b=t.slice();for(let t=0;t<r;++t){if(m.sort(g),n.history){let e=m.map(e=>{let t=e.slice();return t.fx=e.fx,t.id=e.id,t});e.sort((e,t)=>e.id-t.id),n.history.push({x:m[0].slice(),fx:m[0].fx,simplex:e})}f=0;for(let e=0;e<p;++e)f=Math.max(f,Math.abs(m[0][e]-m[1][e]));if(Math.abs(m[0].fx-m[p].fx)<o&&f<s)break;for(let e=0;e<p;++e){_[e]=0;for(let t=0;t<p;++t)_[e]+=m[t][e];_[e]/=p}let t=m[p];if(F(v,1+c,_,-c,t),v.fx=e(v),v.fx<m[0].fx)F(b,1+l,_,-l,t),b.fx=e(b),b.fx<v.fx?h(b):h(v);else if(v.fx>=m[p-1].fx){let n=!1;if(v.fx>t.fx?(F(y,1+u,_,-u,t),y.fx=e(y),y.fx<t.fx?h(y):n=!0):(F(y,1-u*c,_,u*c,t),y.fx=e(y),y.fx<v.fx?h(y):n=!0),n){if(d>=1)break;for(let t=1;t<m.length;++t)F(m[t],1-d,m[0],d,m[t]),m[t].fx=e(m[t])}}else h(v)}return m.sort(g),{fx:m[0].fx,x:m[0]}}function L(e,t,n,r,i,a,o){let s=n.fx,c=M(n.fxprime,t),l=s,u=s,d=c,f=0;i||=1,a||=1e-6,o||=.1;function p(u,f,p){for(let m=0;m<16;++m)if(i=(u+f)/2,F(r.x,1,n.x,i,t),l=r.fx=e(r.x,r.fxprime),d=M(r.fxprime,t),l>s+a*i*c||l>=p)f=i;else{if(Math.abs(d)<=-o*c)return i;d*(f-u)>=0&&(f=u),u=i,p=l}return 0}for(let m=0;m<10;++m){if(F(r.x,1,n.x,i,t),l=r.fx=e(r.x,r.fxprime),d=M(r.fxprime,t),l>s+a*i*c||m&&l>=u)return p(f,i,u);if(Math.abs(d)<=-o*c)return i;if(d>=0)return p(i,f,l);u=l,f=i,i*=2}return i}function R(e,t,n){let r={x:t.slice(),fx:0,fxprime:t.slice()},i={x:t.slice(),fx:0,fxprime:t.slice()},a=t.slice(),o,s,c=1,l;n||={},l=n.maxIterations||t.length*20,r.fx=e(r.x,r.fxprime),o=r.fxprime.slice(),P(o,r.fxprime,-1);for(let t=0;t<l;++t){if(c=L(e,o,r,i,c),n.history&&n.history.push({x:r.x.slice(),fx:r.fx,fxprime:r.fxprime.slice(),alpha:c}),!c)P(o,r.fxprime,-1);else{F(a,1,i.fxprime,-1,r.fxprime);let e=M(r.fxprime,r.fxprime),t=Math.max(0,M(a,i.fxprime)/e);F(o,t,o,-1,i.fxprime),s=r,r=i,i=s}if(N(r.fxprime)<=1e-5)break}return n.history&&n.history.push({x:r.x.slice(),fx:r.fx,fxprime:r.fxprime.slice(),alpha:c}),r}function ee(e,t={}){t.maxIterations=t.maxIterations||500;let n=t.initialLayout||ae,r=t.lossFunction||B,i=ne(e,t),a=n(i,t),o=Object.keys(a),s=[];for(let e of o)s.push(a[e].x),s.push(a[e].y);let c=I(e=>{let t={};for(let n=0;n<o.length;++n){let r=o[n];t[r]={x:e[2*n],y:e[2*n+1],radius:a[r].radius}}return r(t,i)},s,t).x;for(let e=0;e<o.length;++e){let t=o[e];a[t].x=c[2*e],a[t].y=c[2*e+1]}return a}var te=1e-10;function z(e,t,n){return Math.min(e,t)*Math.min(e,t)*Math.PI<=n+te?Math.abs(e-t):k(r=>E(e,t,r)-n,0,e+t)}function ne(e,t={}){let n=t.distinct,r=e.map(e=>Object.assign({},e));function i(e){return e.join(`;`)}if(n){let e=new Map;for(let t of r)for(let n=0;n<t.sets.length;n++){let r=String(t.sets[n]);e.set(r,t.size+(e.get(r)||0));for(let i=n+1;i<t.sets.length;i++){let n=String(t.sets[i]),a=`${r};${n}`,o=`${n};${r}`;e.set(a,t.size+(e.get(a)||0)),e.set(o,t.size+(e.get(o)||0))}}for(let t of r)t.sets.length<3&&(t.size=e.get(i(t.sets)))}let a=[],o=new Set;for(let e of r)if(e.sets.length===1)a.push(e.sets[0]);else if(e.sets.length===2){let t=e.sets[0],n=e.sets[1];o.add(i(e.sets)),o.add(i([n,t]))}a.sort((e,t)=>e===t?0:e<t?-1:1);for(let e=0;e<a.length;++e){let t=a[e];for(let n=e+1;n<a.length;++n){let e=a[n];o.has(i([t,e]))||r.push({sets:[t,e],size:0})}}return r}function re(e,t,n){let r=j(t.length,t.length),i=j(t.length,t.length);return e.filter(e=>e.sets.length===2).forEach(e=>{let a=n[e.sets[0]],o=n[e.sets[1]],s=z(Math.sqrt(t[a].size/Math.PI),Math.sqrt(t[o].size/Math.PI),e.size);r[a][o]=r[o][a]=s;let c=0;e.size+1e-10>=Math.min(t[a].size,t[o].size)?c=1:e.size<=1e-10&&(c=-1),i[a][o]=i[o][a]=c}),{distances:r,constraints:i}}function ie(e,t,n,r){for(let e=0;e<t.length;++e)t[e]=0;let i=0;for(let a=0;a<n.length;++a){let o=e[2*a],s=e[2*a+1];for(let c=a+1;c<n.length;++c){let l=e[2*c],u=e[2*c+1],d=n[a][c],f=r[a][c],p=(l-o)*(l-o)+(u-s)*(u-s),m=Math.sqrt(p),h=p-d*d;f>0&&m<=d||f<0&&m>=d||(i+=2*h*h,t[2*a]+=4*h*(o-l),t[2*a+1]+=4*h*(s-u),t[2*c]+=4*h*(l-o),t[2*c+1]+=4*h*(u-s))}}return i}function ae(e,t={}){let n=se(e,t),r=t.lossFunction||B;if(e.length>=8){let i=oe(e,t),a=r(i,e),o=r(n,e);a+1e-8<o&&(n=i)}return n}function oe(e,t={}){let n=t.restarts||10,r=[],i={};for(let t of e)t.sets.length===1&&(i[t.sets[0]]=r.length,r.push(t));let{distances:a,constraints:o}=re(e,r,i),s=N(a.map(N))/a.length;a=a.map(e=>e.map(e=>e/s));let c=(e,t)=>ie(e,t,a,o),l=null;for(let e=0;e<n;++e){let e=R(c,A(a.length*2).map(Math.random),t);(!l||e.fx<l.fx)&&(l=e)}let u=l.x,d={};for(let e=0;e<r.length;++e){let t=r[e];d[t.sets[0]]={x:u[2*e]*s,y:u[2*e+1]*s,radius:Math.sqrt(t.size/Math.PI)}}if(t.history)for(let e of t.history)P(e.x,s);return d}function se(e,t){let n=t&&t.lossFunction?t.lossFunction:B,r={},i={};for(let t of e)if(t.sets.length===1){let e=t.sets[0];r[e]={x:1e10,y:1e10,rowid:r.length,size:t.size,radius:Math.sqrt(t.size/Math.PI)},i[e]=[]}e=e.filter(e=>e.sets.length===2);for(let t of e){let e=t.weight==null?1:t.weight,n=t.sets[0],a=t.sets[1];t.size+te>=Math.min(r[n].size,r[a].size)&&(e=0),i[n].push({set:a,size:t.size,weight:e}),i[a].push({set:n,size:t.size,weight:e})}let a=[];Object.keys(i).forEach(e=>{let t=0;for(let n=0;n<i[e].length;++n)t+=i[e][n].size*i[e][n].weight;a.push({set:e,size:t})});function o(e,t){return t.size-e.size}a.sort(o);let s={};function c(e){return e.set in s}function l(e,t){r[t].x=e.x,r[t].y=e.y,s[t]=!0}l({x:0,y:0},a[0].set);for(let t=1;t<a.length;++t){let s=a[t].set,d=i[s].filter(c),f=r[s];if(d.sort(o),d.length===0)throw`ERROR: missing pairwise overlap information`;let p=[];for(var u=0;u<d.length;++u){let e=r[d[u].set],t=z(f.radius,e.radius,d[u].size);p.push({x:e.x+t,y:e.y}),p.push({x:e.x-t,y:e.y}),p.push({y:e.y+t,x:e.x}),p.push({y:e.y-t,x:e.x});for(let n=u+1;n<d.length;++n){let i=r[d[n].set],a=z(f.radius,i.radius,d[n].size),o=D({x:e.x,y:e.y,radius:t},{x:i.x,y:i.y,radius:a});p.push(...o)}}let m=1e50,h=p[0];for(let t of p){r[s].x=t.x,r[s].y=t.y;let i=n(r,e);i<m&&(m=i,h=t)}l(h,s)}return r}function B(e,t){let n=0;for(let r of t){if(r.sets.length===1)continue;let t;if(r.sets.length===2){let n=e[r.sets[0]],i=e[r.sets[1]];t=E(n.radius,i.radius,T(n,i))}else t=x(r.sets.map(t=>e[t]));let i=r.weight==null?1:r.weight;n+=i*(t-r.size)*(t-r.size)}return n}function ce(e,t){let n=0;for(let r of t){if(r.sets.length===1)continue;let t;if(r.sets.length===2){let n=e[r.sets[0]],i=e[r.sets[1]];t=E(n.radius,i.radius,T(n,i))}else t=x(r.sets.map(t=>e[t]));let i=r.weight==null?1:r.weight,a=Math.log((t+1)/(r.size+1));n+=i*a*a}return n}function le(e,t,n){if(n==null?e.sort((e,t)=>t.radius-e.radius):e.sort(n),e.length>0){let t=e[0].x,n=e[0].y;for(let r of e)r.x-=t,r.y-=n}if(e.length===2&&T(e[0],e[1])<Math.abs(e[1].radius-e[0].radius)&&(e[1].x=e[0].x+e[0].radius-e[1].radius-1e-10,e[1].y=e[0].y),e.length>1){let n=Math.atan2(e[1].x,e[1].y)-t,r=Math.cos(n),i=Math.sin(n);for(let t of e){let e=t.x,n=t.y;t.x=r*e-i*n,t.y=i*e+r*n}}if(e.length>2){let n=Math.atan2(e[2].x,e[2].y)-t;for(;n<0;)n+=2*Math.PI;for(;n>2*Math.PI;)n-=2*Math.PI;if(n>Math.PI){let t=e[1].y/(1e-10+e[1].x);for(let n of e){var r=(n.x+t*n.y)/(1+t*t);n.x=2*r-n.x,n.y=2*r*t-n.y}}}}function ue(e){e.forEach(e=>{e.parent=e});function t(e){return e.parent!==e&&(e.parent=t(e.parent)),e.parent}function n(e,n){let r=t(e);r.parent=t(n)}for(let t=0;t<e.length;++t)for(let r=t+1;r<e.length;++r){let i=e[t].radius+e[r].radius;T(e[t],e[r])+1e-10<i&&n(e[r],e[t])}let r=new Map;for(let n=0;n<e.length;++n){let i=t(e[n]).parent.setid;r.has(i)||r.set(i,[]),r.get(i).push(e[n])}return e.forEach(e=>{delete e.parent}),Array.from(r.values())}function V(e){let t=t=>({max:e.reduce((e,n)=>Math.max(e,n[t]+n.radius),-1/0),min:e.reduce((e,n)=>Math.min(e,n[t]-n.radius),1/0)});return{xRange:t(`x`),yRange:t(`y`)}}function de(e,t,n){t??=Math.PI/2;let r=me(e).map(e=>Object.assign({},e)),i=ue(r);for(let e of i){le(e,t,n);let r=V(e);e.size=(r.xRange.max-r.xRange.min)*(r.yRange.max-r.yRange.min),e.bounds=r}i.sort((e,t)=>t.size-e.size),r=i[0];let a=r.bounds,o=(a.xRange.max-a.xRange.min)/50;function s(e,t,n){if(!e)return;let i=e.bounds,s,c;if(t)s=a.xRange.max-i.xRange.min+o;else{s=a.xRange.max-i.xRange.max;let e=(i.xRange.max-i.xRange.min)/2-(a.xRange.max-a.xRange.min)/2;e<0&&(s+=e)}if(n)c=a.yRange.max-i.yRange.min+o;else{c=a.yRange.max-i.yRange.max;let e=(i.yRange.max-i.yRange.min)/2-(a.yRange.max-a.yRange.min)/2;e<0&&(c+=e)}for(let t of e)t.x+=s,t.y+=c,r.push(t)}let c=1;for(;c<i.length;)s(i[c],!0,!1),s(i[c+1],!1,!0),s(i[c+2],!0,!0),c+=3,a=V(r);return pe(r)}function fe(e,t,n,r,i){let a=me(e);t-=2*r,n-=2*r;let{xRange:o,yRange:s}=V(a);if(o.max===o.min||s.max===s.min)return console.log(`not scaling solution: zero size detected`),e;let c,l;if(i){let e=Math.sqrt(i/Math.PI)*2;c=t/e,l=n/e}else c=t/(o.max-o.min),l=n/(s.max-s.min);let u=Math.min(l,c),d=(t-(o.max-o.min)*u)/2,f=(n-(s.max-s.min)*u)/2;return pe(a.map(e=>({radius:u*e.radius,x:r+d+(e.x-o.min)*u,y:r+f+(e.y-s.min)*u,setid:e.setid})))}function pe(e){let t={};for(let n of e)t[n.setid]=n;return t}function me(e){return Object.keys(e).map(t=>Object.assign(e[t],{setid:t}))}function he(e={}){let t=!1,n=600,r=350,i=15,a=1e3,o=Math.PI/2,s=!0,c=null,l=!0,u=!0,d=null,f=null,p=!1,m=null,h=e&&e.symmetricalTextCentre?e.symmetricalTextCentre:!1,g={},_=e&&e.colourScheme?e.colourScheme:e&&e.colorScheme?e.colorScheme:[`#1f77b4`,`#ff7f0e`,`#2ca02c`,`#d62728`,`#9467bd`,`#8c564b`,`#e377c2`,`#7f7f7f`,`#bcbd22`,`#17becf`],v=0,y=function(e){if(e in g)return g[e];var t=g[e]=_[v];return v+=1,v>=_.length&&(v=0),t},b=ee,x=B;function S(g){let _=g.datum(),v=new Set;_.forEach(e=>{e.size==0&&e.sets.length==1&&v.add(e.sets[0])}),_=_.filter(e=>!e.sets.some(e=>v.has(e)));let S={},C={};if(_.length>0){let e=b(_,{lossFunction:x,distinct:p});s&&(e=de(e,o,f)),S=fe(e,n,r,i,c),C=ve(S,_,h)}let w={};_.forEach(e=>{e.label&&(w[e.sets]=e.label)});function T(e){if(e.sets in w)return w[e.sets];if(e.sets.length==1)return``+e.sets[0]}g.selectAll(`svg`).data([S]).enter().append(`svg`);let E=g.select(`svg`);t?E.attr(`viewBox`,`0 0 ${n} ${r}`):E.attr(`width`,n).attr(`height`,r);let D={},O=!1;E.selectAll(`.venn-area path`).each(function(e){let t=this.getAttribute(`d`);e.sets.length==1&&t&&!p&&(O=!0,D[e.sets[0]]=be(t))});function k(e){return t=>Ce(e.sets.map(e=>{let i=D[e],a=S[e];return i||={x:n/2,y:r/2,radius:1},a||={x:n/2,y:r/2,radius:1},{x:i.x*(1-t)+a.x*t,y:i.y*(1-t)+a.y*t,radius:i.radius*(1-t)+a.radius*t}}),m)}let A=E.selectAll(`.venn-area`).data(_,e=>e.sets),j=A.enter().append(`g`).attr(`class`,e=>`venn-area venn-${e.sets.length==1?`circle`:`intersection`}${e.colour||e.color?` venn-coloured`:``}`).attr(`data-venn-sets`,e=>e.sets.join(`_`)),M=j.append(`path`),N=j.append(`text`).attr(`class`,`label`).text(e=>T(e)).attr(`text-anchor`,`middle`).attr(`dy`,`.35em`).attr(`x`,n/2).attr(`y`,r/2);u&&(M.style(`fill-opacity`,`0`).filter(e=>e.sets.length==1).style(`fill`,e=>e.colour?e.colour:e.color?e.color:y(e.sets)).style(`fill-opacity`,`.25`),N.style(`fill`,t=>t.colour||t.color?`#FFF`:e.textFill?e.textFill:t.sets.length==1?y(t.sets):`#444`));function P(e){return typeof e.transition==`function`?e.transition(`venn`).duration(a):e}let F=g;O&&typeof F.transition==`function`?(F=P(g),F.selectAll(`path`).attrTween(`d`,k)):F.selectAll(`path`).attr(`d`,e=>Ce(e.sets.map(e=>S[e])),m);let I=F.selectAll(`text`).filter(e=>e.sets in C).text(e=>T(e)).attr(`x`,e=>Math.floor(C[e.sets].x)).attr(`y`,e=>Math.floor(C[e.sets].y));l&&(O?`on`in I?I.on(`end`,H(S,T)):I.each(`end`,H(S,T)):I.each(H(S,T)));let L=P(A.exit()).remove();typeof A.transition==`function`&&L.selectAll(`path`).attrTween(`d`,k);let R=L.selectAll(`text`).attr(`x`,n/2).attr(`y`,r/2);return d!==null&&(N.style(`font-size`,`0px`),I.style(`font-size`,d),R.style(`font-size`,`0px`)),{circles:S,textCentres:C,nodes:A,enter:j,update:F,exit:L}}return S.wrap=function(e){return arguments.length?(l=e,S):l},S.useViewBox=function(){return t=!0,S},S.width=function(e){return arguments.length?(n=e,S):n},S.height=function(e){return arguments.length?(r=e,S):r},S.padding=function(e){return arguments.length?(i=e,S):i},S.distinct=function(e){return arguments.length?(p=e,S):p},S.colours=function(e){return arguments.length?(y=e,S):y},S.colors=function(e){return arguments.length?(y=e,S):y},S.fontSize=function(e){return arguments.length?(d=e,S):d},S.round=function(e){return arguments.length?(m=e,S):m},S.duration=function(e){return arguments.length?(a=e,S):a},S.layoutFunction=function(e){return arguments.length?(b=e,S):b},S.normalize=function(e){return arguments.length?(s=e,S):s},S.scaleToFit=function(e){return arguments.length?(c=e,S):c},S.styled=function(e){return arguments.length?(u=e,S):u},S.orientation=function(e){return arguments.length?(o=e,S):o},S.orientationOrder=function(e){return arguments.length?(f=e,S):f},S.lossFunction=function(e){return arguments.length?(x=e==="default"?B:e===`logRatio`?ce:e,S):x},S}function H(e,t){return function(n){let r=this,i=e[n.sets[0]].radius||50,a=t(n)||``,o=a.split(/\s+/).reverse(),s=(a.length+o.length)/3,c=o.pop(),l=[c],u=0,d=1.1;r.textContent=null;let f=[];function p(e){let t=r.ownerDocument.createElementNS(r.namespaceURI,`tspan`);return t.textContent=e,f.push(t),r.append(t),t}let m=p(c);for(;c=o.pop(),c;){l.push(c);let e=l.join(` `);m.textContent=e,e.length>s&&m.getComputedTextLength()>i&&(l.pop(),m.textContent=l.join(` `),l=[c],m=p(c),u++)}let h=.35-u*d/2,g=r.getAttribute(`x`),_=r.getAttribute(`y`);f.forEach((e,t)=>{e.setAttribute(`x`,g),e.setAttribute(`y`,_),e.setAttribute(`dy`,`${h+t*d}em`)})}}function U(e,t,n){let r=t[0].radius-T(t[0],e);for(let n=1;n<t.length;++n){let i=t[n].radius-T(t[n],e);i<=r&&(r=i)}for(let t=0;t<n.length;++t){let i=T(n[t],e)-n[t].radius;i<=r&&(r=i)}return r}function ge(e,t,n){let r=[];for(let t of e)r.push({x:t.x,y:t.y}),r.push({x:t.x+t.radius/2,y:t.y}),r.push({x:t.x-t.radius/2,y:t.y}),r.push({x:t.x,y:t.y+t.radius/2}),r.push({x:t.x,y:t.y-t.radius/2});let i=r[0],a=U(r[0],e,t);for(let n=1;n<r.length;++n){let o=U(r[n],e,t);o>=a&&(i=r[n],a=o)}let o=I(n=>-1*U({x:n[0],y:n[1]},e,t),[i.x,i.y],{maxIterations:500,minErrorDelta:1e-10}).x,s={x:n?0:o[0],y:o[1]},c=!0;for(let t of e)if(T(s,t)>t.radius){c=!1;break}for(let e of t)if(T(s,e)<e.radius){c=!1;break}if(c)return s;if(e.length==1)return{x:e[0].x,y:e[0].y};let l={};return x(e,l),l.arcs.length===0?{x:0,y:-1e3,disjoint:!0}:l.arcs.length==1?{x:l.arcs[0].circle.x,y:l.arcs[0].circle.y}:t.length?ge(e,[]):O(l.arcs.map(e=>e.p1))}function _e(e){let t={},n=Object.keys(e);for(let e of n)t[e]=[];for(let r=0;r<n.length;r++){let i=n[r],a=e[i];for(let o=r+1;o<n.length;++o){let r=n[o],s=e[r],c=T(a,s);c+s.radius<=a.radius+1e-10?t[r].push(i):c+a.radius<=s.radius+1e-10&&t[i].push(r)}}return t}function ve(e,t,n){let r={},i=_e(e);for(let a=0;a<t.length;++a){let o=t[a].sets,s={},c={};for(let e=0;e<o.length;++e){s[o[e]]=!0;let t=i[o[e]];for(let e=0;e<t.length;++e)c[t[e]]=!0}let l=[],u=[];for(let t in e)t in s?l.push(e[t]):t in c||u.push(e[t]);let d=ge(l,u,n);r[o]=d,d.disjoint&&t[a].size>0&&console.log(`WARNING: area `+o+` not represented on screen`)}return r}function ye(e,t,n){let r=[];return r.push(`
2
2
  M`,e,t),r.push(`
3
3
  m`,-n,0),r.push(`
4
4
  a`,n,n,0,1,0,n*2,0),r.push(`
@@ -1 +1 @@
1
- import{i as e}from"./rolldown-runtime-COiEfhsA.js";import{u as t,v as n,y as r}from"./react-WA6wlt8S.js";import{t as i}from"./jsx-runtime-DePvh3-m.js";import"./index-CgB5osVc.js";var a=i(),o=e(r(),1);function s(e){let r=(0,o.useRef)(null),i=(0,o.useRef)(e.active),s=(0,o.useRef)(!1);return(0,o.useEffect)(()=>{i.current=e.active;let t=r.current;t&&(e.active?t.play().catch(()=>void 0):t.pause())},[e.active]),t({element:()=>r.current,hold:()=>{let e=r.current;return s.current=e!==null&&!e.paused,e?.pause(),Promise.resolve()},release:()=>{s.current&&i.current&&r.current?.play().catch(()=>void 0),s.current=!1},pictures:()=>{let e=r.current,t=e?n(e):void 0;return Promise.resolve(t?[t]:[])},locate:()=>Promise.resolve({elements:[],where:`on the video ${e.path} at ${(r.current?.currentTime??0).toFixed(2)} s`})}),(0,a.jsx)(`video`,{ref:r,src:e.url,muted:!0,loop:!0,playsInline:!0,preload:`metadata`,className:`pointer-events-none size-full object-contain`,"data-testid":`media-video`})}export{s as default};
1
+ import{i as e}from"./rolldown-runtime-COiEfhsA.js";import{_ as t,u as n,v as r}from"./react-Bk7NnOLX.js";import{t as i}from"./jsx-runtime-DePvh3-m.js";import"./index-D8qc_ipi.js";var a=i(),o=e(r(),1);function s(e){let r=(0,o.useRef)(null),i=(0,o.useRef)(e.active),s=(0,o.useRef)(!1);return(0,o.useEffect)(()=>{i.current=e.active;let t=r.current;t&&(e.active?t.play().catch(()=>void 0):t.pause())},[e.active]),n({element:()=>r.current,hold:()=>{let e=r.current;return s.current=e!==null&&!e.paused,e?.pause(),Promise.resolve()},release:()=>{s.current&&i.current&&r.current?.play().catch(()=>void 0),s.current=!1},pictures:()=>{let e=r.current,n=e?t(e):void 0;return Promise.resolve(n?[n]:[])},locate:()=>Promise.resolve({elements:[],where:`on the video ${e.path} at ${(r.current?.currentTime??0).toFixed(2)} s`})}),(0,a.jsx)(`video`,{ref:r,src:e.url,muted:!0,loop:!0,playsInline:!0,preload:`metadata`,className:`pointer-events-none size-full object-contain`,"data-testid":`media-video`})}export{s as default};
@@ -1 +1 @@
1
- import"./chunk-NGNAAXSQ-Bw6tHVuc.js";export{i as createWardleyServices}from"./mermaid-parser.core-req5LE0X.js";
1
+ import"./chunk-NGNAAXSQ-Bw6tHVuc.js";export{i as createWardleyServices}from"./mermaid-parser.core-RkCFmJcg.js";
@@ -1,4 +1,4 @@
1
- import{n as e}from"./mermaid-parser.core-req5LE0X.js";import{n as t}from"./chunk-Y2CYZVJY-DsF7k-Jl.js";import{n}from"./d3-selection-COWvaQNI.js";import{C as r,E as i,H as a,U as o,_ as s,a as c,b as l,c as u,q as d,v as f,y as p}from"./chunk-DSNLSHJZ-CUDx1Rv5.js";import{t as m}from"./chunk-JWPE2WC7-DVXcaiue.js";import{i as h}from"./chunk-7S6XSTFO-Dc0Dvkq7.js";import{a as g}from"./mermaid.core-zFwZug4C.js";var _=t((e,t)=>{let n=e<=1?e*100:e;if(n<0||n>100)throw Error(`${t} must be between 0-1 (decimal) or 0-100 (percentage). Received: ${e}`);return n},`toPercent`),v=t((e,t,n)=>({x:_(t,`${n} evolution`),y:_(e,`${n} visibility`)}),`toCoordinates`),y=t(e=>{if(e){if(e===`+<>`)return`bidirectional`;if(e===`+<`)return`backward`;if(e===`+>`)return`forward`}},`getFlowFromPort`),b=t(e=>{if(!e?.startsWith(`+`))return{};let t=/^\+'([^']*)'/.exec(e)?.[1];return e.includes(`<>`)?{flow:`bidirectional`,label:t}:e.includes(`<`)?{flow:`backward`,label:t}:e.includes(`>`)?{flow:`forward`,label:t}:{label:t}},`extractFlowFromArrow`),x=t((e,t)=>{if(m(e,t),e.size&&t.setSize(e.size.width,e.size.height),e.evolution){let n=e.evolution.stages.map(e=>e.secondName?`${e.name.trim()} / ${e.secondName.trim()}`:e.name.trim()),r=e.evolution.stages.filter(e=>e.boundary!==void 0).map(e=>e.boundary);t.updateAxes({stages:n,stageBoundaries:r})}if(e.anchors.forEach(e=>{let n=v(e.visibility,e.evolution,`Anchor "${e.name}"`);t.addNode(e.name,e.name,n.x,n.y,`anchor`)}),e.components.forEach(e=>{let n=v(e.visibility,e.evolution,`Component "${e.name}"`),r=e.label?(e.label.negX?-1:1)*e.label.offsetX:void 0,i=e.label?(e.label.negY?-1:1)*e.label.offsetY:void 0,a=e.decorator?.strategy;t.addNode(e.name,e.name,n.x,n.y,`component`,r,i,e.inertia,a)}),e.notes.forEach(e=>{let n=v(e.visibility,e.evolution,`Note "${e.text}"`);t.addNote(e.text,n.x,n.y)}),e.pipelines.forEach(e=>{let n=t.getNode(e.parent);if(!n||typeof n.y!=`number`)throw Error(`Pipeline "${e.parent}" must reference an existing component with coordinates.`);let r=n.y;t.startPipeline(e.parent),e.components.forEach(n=>{let i=`${e.parent}_${n.name}`,a=n.label?(n.label.negX?-1:1)*n.label.offsetX:void 0,o=n.label?(n.label.negY?-1:1)*n.label.offsetY:void 0,s=_(n.evolution,`Pipeline component "${n.name}" evolution`);t.addNode(i,n.name,s,r,`pipeline-component`,a,o),t.addPipelineComponent(e.parent,i)})}),e.links.forEach(e=>{let n=!!e.arrow&&(e.arrow.includes(`-.->`)||e.arrow.includes(`.-.`)),r=y(e.fromPort)??y(e.toPort),{flow:i,label:a}=b(e.arrow);!r&&i&&(r=i);let o=e.linkLabel,s=a??o;t.addLink(t.resolveNodeId(e.from),t.resolveNodeId(e.to),n,s,r)}),e.evolves.forEach(e=>{let n=t.getNode(e.component);if(n?.y!==void 0){let r=_(e.target,`Evolve target for "${e.component}"`);t.addTrend(e.component,r,n.y)}}),e.annotations.length>0){let n=e.annotations[0],r=v(n.x,n.y,`Annotations box`);t.setAnnotationsBox(r.x,r.y)}e.annotation.forEach(e=>{let n=v(e.x,e.y,`Annotation ${e.number}`);t.addAnnotation(e.number,[{x:n.x,y:n.y}],e.text)}),e.accelerators.forEach(e=>{let n=v(e.x,e.y,`Accelerator "${e.name}"`);t.addAccelerator(e.name,n.x,n.y)}),e.deaccelerators.forEach(e=>{let n=v(e.x,e.y,`Deaccelerator "${e.name}"`);t.addDeaccelerator(e.name,n.x,n.y)})},`populateDb`),S={parser:{yy:void 0},parse:t(async t=>{let r=await e(`wardley`,t);n.debug(r);let i=S.parser?.yy;if(!i||typeof i.addNode!=`function`)throw Error(`parser.parser?.yy was not a WardleyDB. This is due to a bug within Mermaid, please report this issue at https://github.com/mermaid-js/mermaid/issues.`);x(r,i)},`parse`)},C=new class{constructor(){this.nodes=new Map,this.links=[],this.trends=new Map,this.pipelines=new Map,this.annotations=[],this.notes=[],this.accelerators=[],this.deaccelerators=[],this.axes={}}static{t(this,`WardleyBuilder`)}addNode(e){let t=this.nodes.get(e.id)??{id:e.id,label:e.label},n={...t,...e,className:e.className??t.className,labelOffsetX:e.labelOffsetX??t.labelOffsetX,labelOffsetY:e.labelOffsetY??t.labelOffsetY};this.nodes.set(e.id,n)}addLink(e){this.links.push(e)}addTrend(e){this.trends.set(e.nodeId,e)}startPipeline(e){this.pipelines.set(e,{nodeId:e,componentIds:[]});let t=this.nodes.get(e);t&&(t.isPipelineParent=!0)}addPipelineComponent(e,t){let n=this.pipelines.get(e);n&&n.componentIds.push(t);let r=this.nodes.get(t);r&&(r.inPipeline=!0)}addAnnotation(e){this.annotations.push(e)}addNote(e){this.notes.push(e)}addAccelerator(e){this.accelerators.push(e)}addDeaccelerator(e){this.deaccelerators.push(e)}setAnnotationsBox(e,t){this.annotationsBox={x:e,y:t}}setAxes(e){this.axes={...this.axes,...e}}setSize(e,t){this.size={width:e,height:t}}getNode(e){return this.nodes.get(e)}resolveNodeId(e){if(this.nodes.has(e))return e;for(let[t,n]of this.nodes)if(n.label===e)return t;return e}build(){let e=[];for(let t of this.nodes.values()){if(typeof t.x!=`number`||typeof t.y!=`number`)throw Error(`Node "${t.label}" is missing coordinates`);e.push(t)}return{nodes:e,links:[...this.links],trends:[...this.trends.values()],pipelines:[...this.pipelines.values()],annotations:[...this.annotations],notes:[...this.notes],accelerators:[...this.accelerators],deaccelerators:[...this.deaccelerators],annotationsBox:this.annotationsBox,axes:{...this.axes},size:this.size}}clear(){this.nodes.clear(),this.links=[],this.trends.clear(),this.pipelines.clear(),this.annotations=[],this.notes=[],this.accelerators=[],this.deaccelerators=[],this.annotationsBox=void 0,this.axes={},this.size=void 0}};function w(){return l()[`wardley-beta`]}t(w,`getConfig`);function T(e,t,n,r,i,a,o,s,c){C.addNode({id:e,label:t,x:n,y:r,className:i,labelOffsetX:a,labelOffsetY:o,inertia:s,sourceStrategy:c})}t(T,`addNode`);function E(e,t,n=!1,r,i){C.addLink({source:e,target:t,dashed:n,label:r,flow:i})}t(E,`addLink`);function D(e,t,n){C.addTrend({nodeId:e,targetX:t,targetY:n})}t(D,`addTrend`);function O(e,t,n){C.addAnnotation({number:e,coordinates:t,text:n})}t(O,`addAnnotation`);function k(e,t,n){C.addNote({text:e,x:t,y:n})}t(k,`addNote`);function A(e,t,n){C.addAccelerator({name:e,x:t,y:n})}t(A,`addAccelerator`);function j(e,t,n){C.addDeaccelerator({name:e,x:t,y:n})}t(j,`addDeaccelerator`);function M(e,t){C.setAnnotationsBox(e,t)}t(M,`setAnnotationsBox`);function N(e,t){C.setSize(e,t)}t(N,`setSize`);function P(e){C.startPipeline(e)}t(P,`startPipeline`);function F(e,t){C.addPipelineComponent(e,t)}t(F,`addPipelineComponent`);function I(e){C.setAxes(e)}t(I,`updateAxes`);function L(e){return C.getNode(e)}t(L,`getNode`);function R(e){return C.resolveNodeId(e)}t(R,`resolveNodeId`);function z(){return C.build()}t(z,`getWardleyData`);function B(){C.clear(),c()}t(B,`clear`);var V={getConfig:w,addNode:T,addLink:E,addTrend:D,addAnnotation:O,addNote:k,addAccelerator:A,addDeaccelerator:j,setAnnotationsBox:M,setSize:N,startPipeline:P,addPipelineComponent:F,updateAxes:I,getNode:L,resolveNodeId:R,getWardleyData:z,clear:B,setAccTitle:o,getAccTitle:f,setDiagramTitle:d,getDiagramTitle:r,getAccDescription:s,setAccDescription:a},H=[`Genesis`,`Custom Built`,`Product`,`Commodity`],U=t(()=>{let{themeVariables:e}=l();return{backgroundColor:e.wardley?.backgroundColor??e.background??`#fff`,axisColor:e.wardley?.axisColor??`#000`,axisTextColor:e.wardley?.axisTextColor??e.primaryTextColor??`#222`,gridColor:e.wardley?.gridColor??`rgba(100, 100, 100, 0.2)`,componentFill:e.wardley?.componentFill??`#fff`,componentStroke:e.wardley?.componentStroke??`#000`,componentLabelColor:e.wardley?.componentLabelColor??e.primaryTextColor??`#222`,linkStroke:e.wardley?.linkStroke??`#000`,evolutionStroke:e.wardley?.evolutionStroke??`#dc3545`,annotationStroke:e.wardley?.annotationStroke??`#000`,annotationTextColor:e.wardley?.annotationTextColor??e.primaryTextColor??`#222`,annotationFill:e.wardley?.annotationFill??e.background??`#fff`}},`getTheme`),W=t(()=>{let e=l()[`wardley-beta`];return{width:e?.width??900,height:e?.height??600,padding:e?.padding??48,nodeRadius:e?.nodeRadius??6,nodeLabelOffset:e?.nodeLabelOffset??8,axisFontSize:e?.axisFontSize??12,labelFontSize:e?.labelFontSize??10,showGrid:e?.showGrid??!1,useMaxWidth:e?.useMaxWidth??!0}},`getConfigValues`),G={parser:S,db:V,renderer:{draw:t((e,r,i,a)=>{n.debug(`Rendering Wardley map
1
+ import{n as e}from"./mermaid-parser.core-RkCFmJcg.js";import{n as t}from"./chunk-Y2CYZVJY-DsF7k-Jl.js";import{n}from"./d3-selection-COWvaQNI.js";import{C as r,E as i,H as a,U as o,_ as s,a as c,b as l,c as u,q as d,v as f,y as p}from"./chunk-DSNLSHJZ-BHFiQInN.js";import{t as m}from"./chunk-JWPE2WC7-DVXcaiue.js";import{i as h}from"./chunk-7S6XSTFO-B01FlTFf.js";import{a as g}from"./mermaid.core-BVUl-afX.js";var _=t((e,t)=>{let n=e<=1?e*100:e;if(n<0||n>100)throw Error(`${t} must be between 0-1 (decimal) or 0-100 (percentage). Received: ${e}`);return n},`toPercent`),v=t((e,t,n)=>({x:_(t,`${n} evolution`),y:_(e,`${n} visibility`)}),`toCoordinates`),y=t(e=>{if(e){if(e===`+<>`)return`bidirectional`;if(e===`+<`)return`backward`;if(e===`+>`)return`forward`}},`getFlowFromPort`),b=t(e=>{if(!e?.startsWith(`+`))return{};let t=/^\+'([^']*)'/.exec(e)?.[1];return e.includes(`<>`)?{flow:`bidirectional`,label:t}:e.includes(`<`)?{flow:`backward`,label:t}:e.includes(`>`)?{flow:`forward`,label:t}:{label:t}},`extractFlowFromArrow`),x=t((e,t)=>{if(m(e,t),e.size&&t.setSize(e.size.width,e.size.height),e.evolution){let n=e.evolution.stages.map(e=>e.secondName?`${e.name.trim()} / ${e.secondName.trim()}`:e.name.trim()),r=e.evolution.stages.filter(e=>e.boundary!==void 0).map(e=>e.boundary);t.updateAxes({stages:n,stageBoundaries:r})}if(e.anchors.forEach(e=>{let n=v(e.visibility,e.evolution,`Anchor "${e.name}"`);t.addNode(e.name,e.name,n.x,n.y,`anchor`)}),e.components.forEach(e=>{let n=v(e.visibility,e.evolution,`Component "${e.name}"`),r=e.label?(e.label.negX?-1:1)*e.label.offsetX:void 0,i=e.label?(e.label.negY?-1:1)*e.label.offsetY:void 0,a=e.decorator?.strategy;t.addNode(e.name,e.name,n.x,n.y,`component`,r,i,e.inertia,a)}),e.notes.forEach(e=>{let n=v(e.visibility,e.evolution,`Note "${e.text}"`);t.addNote(e.text,n.x,n.y)}),e.pipelines.forEach(e=>{let n=t.getNode(e.parent);if(!n||typeof n.y!=`number`)throw Error(`Pipeline "${e.parent}" must reference an existing component with coordinates.`);let r=n.y;t.startPipeline(e.parent),e.components.forEach(n=>{let i=`${e.parent}_${n.name}`,a=n.label?(n.label.negX?-1:1)*n.label.offsetX:void 0,o=n.label?(n.label.negY?-1:1)*n.label.offsetY:void 0,s=_(n.evolution,`Pipeline component "${n.name}" evolution`);t.addNode(i,n.name,s,r,`pipeline-component`,a,o),t.addPipelineComponent(e.parent,i)})}),e.links.forEach(e=>{let n=!!e.arrow&&(e.arrow.includes(`-.->`)||e.arrow.includes(`.-.`)),r=y(e.fromPort)??y(e.toPort),{flow:i,label:a}=b(e.arrow);!r&&i&&(r=i);let o=e.linkLabel,s=a??o;t.addLink(t.resolveNodeId(e.from),t.resolveNodeId(e.to),n,s,r)}),e.evolves.forEach(e=>{let n=t.getNode(e.component);if(n?.y!==void 0){let r=_(e.target,`Evolve target for "${e.component}"`);t.addTrend(e.component,r,n.y)}}),e.annotations.length>0){let n=e.annotations[0],r=v(n.x,n.y,`Annotations box`);t.setAnnotationsBox(r.x,r.y)}e.annotation.forEach(e=>{let n=v(e.x,e.y,`Annotation ${e.number}`);t.addAnnotation(e.number,[{x:n.x,y:n.y}],e.text)}),e.accelerators.forEach(e=>{let n=v(e.x,e.y,`Accelerator "${e.name}"`);t.addAccelerator(e.name,n.x,n.y)}),e.deaccelerators.forEach(e=>{let n=v(e.x,e.y,`Deaccelerator "${e.name}"`);t.addDeaccelerator(e.name,n.x,n.y)})},`populateDb`),S={parser:{yy:void 0},parse:t(async t=>{let r=await e(`wardley`,t);n.debug(r);let i=S.parser?.yy;if(!i||typeof i.addNode!=`function`)throw Error(`parser.parser?.yy was not a WardleyDB. This is due to a bug within Mermaid, please report this issue at https://github.com/mermaid-js/mermaid/issues.`);x(r,i)},`parse`)},C=new class{constructor(){this.nodes=new Map,this.links=[],this.trends=new Map,this.pipelines=new Map,this.annotations=[],this.notes=[],this.accelerators=[],this.deaccelerators=[],this.axes={}}static{t(this,`WardleyBuilder`)}addNode(e){let t=this.nodes.get(e.id)??{id:e.id,label:e.label},n={...t,...e,className:e.className??t.className,labelOffsetX:e.labelOffsetX??t.labelOffsetX,labelOffsetY:e.labelOffsetY??t.labelOffsetY};this.nodes.set(e.id,n)}addLink(e){this.links.push(e)}addTrend(e){this.trends.set(e.nodeId,e)}startPipeline(e){this.pipelines.set(e,{nodeId:e,componentIds:[]});let t=this.nodes.get(e);t&&(t.isPipelineParent=!0)}addPipelineComponent(e,t){let n=this.pipelines.get(e);n&&n.componentIds.push(t);let r=this.nodes.get(t);r&&(r.inPipeline=!0)}addAnnotation(e){this.annotations.push(e)}addNote(e){this.notes.push(e)}addAccelerator(e){this.accelerators.push(e)}addDeaccelerator(e){this.deaccelerators.push(e)}setAnnotationsBox(e,t){this.annotationsBox={x:e,y:t}}setAxes(e){this.axes={...this.axes,...e}}setSize(e,t){this.size={width:e,height:t}}getNode(e){return this.nodes.get(e)}resolveNodeId(e){if(this.nodes.has(e))return e;for(let[t,n]of this.nodes)if(n.label===e)return t;return e}build(){let e=[];for(let t of this.nodes.values()){if(typeof t.x!=`number`||typeof t.y!=`number`)throw Error(`Node "${t.label}" is missing coordinates`);e.push(t)}return{nodes:e,links:[...this.links],trends:[...this.trends.values()],pipelines:[...this.pipelines.values()],annotations:[...this.annotations],notes:[...this.notes],accelerators:[...this.accelerators],deaccelerators:[...this.deaccelerators],annotationsBox:this.annotationsBox,axes:{...this.axes},size:this.size}}clear(){this.nodes.clear(),this.links=[],this.trends.clear(),this.pipelines.clear(),this.annotations=[],this.notes=[],this.accelerators=[],this.deaccelerators=[],this.annotationsBox=void 0,this.axes={},this.size=void 0}};function w(){return l()[`wardley-beta`]}t(w,`getConfig`);function T(e,t,n,r,i,a,o,s,c){C.addNode({id:e,label:t,x:n,y:r,className:i,labelOffsetX:a,labelOffsetY:o,inertia:s,sourceStrategy:c})}t(T,`addNode`);function E(e,t,n=!1,r,i){C.addLink({source:e,target:t,dashed:n,label:r,flow:i})}t(E,`addLink`);function D(e,t,n){C.addTrend({nodeId:e,targetX:t,targetY:n})}t(D,`addTrend`);function O(e,t,n){C.addAnnotation({number:e,coordinates:t,text:n})}t(O,`addAnnotation`);function k(e,t,n){C.addNote({text:e,x:t,y:n})}t(k,`addNote`);function A(e,t,n){C.addAccelerator({name:e,x:t,y:n})}t(A,`addAccelerator`);function j(e,t,n){C.addDeaccelerator({name:e,x:t,y:n})}t(j,`addDeaccelerator`);function M(e,t){C.setAnnotationsBox(e,t)}t(M,`setAnnotationsBox`);function N(e,t){C.setSize(e,t)}t(N,`setSize`);function P(e){C.startPipeline(e)}t(P,`startPipeline`);function F(e,t){C.addPipelineComponent(e,t)}t(F,`addPipelineComponent`);function I(e){C.setAxes(e)}t(I,`updateAxes`);function L(e){return C.getNode(e)}t(L,`getNode`);function R(e){return C.resolveNodeId(e)}t(R,`resolveNodeId`);function z(){return C.build()}t(z,`getWardleyData`);function B(){C.clear(),c()}t(B,`clear`);var V={getConfig:w,addNode:T,addLink:E,addTrend:D,addAnnotation:O,addNote:k,addAccelerator:A,addDeaccelerator:j,setAnnotationsBox:M,setSize:N,startPipeline:P,addPipelineComponent:F,updateAxes:I,getNode:L,resolveNodeId:R,getWardleyData:z,clear:B,setAccTitle:o,getAccTitle:f,setDiagramTitle:d,getDiagramTitle:r,getAccDescription:s,setAccDescription:a},H=[`Genesis`,`Custom Built`,`Product`,`Commodity`],U=t(()=>{let{themeVariables:e}=l();return{backgroundColor:e.wardley?.backgroundColor??e.background??`#fff`,axisColor:e.wardley?.axisColor??`#000`,axisTextColor:e.wardley?.axisTextColor??e.primaryTextColor??`#222`,gridColor:e.wardley?.gridColor??`rgba(100, 100, 100, 0.2)`,componentFill:e.wardley?.componentFill??`#fff`,componentStroke:e.wardley?.componentStroke??`#000`,componentLabelColor:e.wardley?.componentLabelColor??e.primaryTextColor??`#222`,linkStroke:e.wardley?.linkStroke??`#000`,evolutionStroke:e.wardley?.evolutionStroke??`#dc3545`,annotationStroke:e.wardley?.annotationStroke??`#000`,annotationTextColor:e.wardley?.annotationTextColor??e.primaryTextColor??`#222`,annotationFill:e.wardley?.annotationFill??e.background??`#fff`}},`getTheme`),W=t(()=>{let e=l()[`wardley-beta`];return{width:e?.width??900,height:e?.height??600,padding:e?.padding??48,nodeRadius:e?.nodeRadius??6,nodeLabelOffset:e?.nodeLabelOffset??8,axisFontSize:e?.axisFontSize??12,labelFontSize:e?.labelFontSize??10,showGrid:e?.showGrid??!1,useMaxWidth:e?.useMaxWidth??!0}},`getConfigValues`),G={parser:S,db:V,renderer:{draw:t((e,r,i,a)=>{n.debug(`Rendering Wardley map
2
2
  `+e);let o=W(),s=U(),c=o.nodeRadius*1.6,l=a.db,d=l.getWardleyData(),f=l.getDiagramTitle(),p=d.size?.width??o.width,m=d.size?.height??o.height,h=g(r);h.selectAll(`*`).remove(),u(h,m,p,o.useMaxWidth),h.attr(`viewBox`,`0 0 ${p} ${m}`);let _=h.append(`g`).attr(`class`,`wardley-map`),v=h.append(`defs`);v.append(`marker`).attr(`id`,`arrow-${r}`).attr(`viewBox`,`0 0 10 10`).attr(`refX`,9).attr(`refY`,5).attr(`markerWidth`,6).attr(`markerHeight`,6).attr(`orient`,`auto-start-reverse`).append(`path`).attr(`d`,`M 0 0 L 10 5 L 0 10 z`).attr(`fill`,s.evolutionStroke).attr(`stroke`,`none`),v.append(`marker`).attr(`id`,`link-arrow-end-${r}`).attr(`viewBox`,`0 0 10 10`).attr(`refX`,9).attr(`refY`,5).attr(`markerWidth`,5).attr(`markerHeight`,5).attr(`orient`,`auto`).append(`path`).attr(`d`,`M 0 0 L 10 5 L 0 10 z`).attr(`fill`,s.linkStroke).attr(`stroke`,`none`),v.append(`marker`).attr(`id`,`link-arrow-start-${r}`).attr(`viewBox`,`0 0 10 10`).attr(`refX`,1).attr(`refY`,5).attr(`markerWidth`,5).attr(`markerHeight`,5).attr(`orient`,`auto`).append(`path`).attr(`d`,`M 10 0 L 0 5 L 10 10 z`).attr(`fill`,s.linkStroke).attr(`stroke`,`none`),_.append(`rect`).attr(`class`,`wardley-background`).attr(`width`,p).attr(`height`,m).attr(`fill`,s.backgroundColor);let y=p-o.padding*2,b=m-o.padding*2;f&&_.append(`text`).attr(`class`,`wardley-title`).attr(`x`,p/2).attr(`y`,o.padding/2).attr(`fill`,s.axisTextColor).attr(`font-size`,o.axisFontSize*1.05).attr(`font-weight`,`bold`).attr(`text-anchor`,`middle`).attr(`dominant-baseline`,`middle`).text(f);let x=t(e=>o.padding+e/100*y,`projectX`),S=t(e=>m-o.padding-e/100*b,`projectY`),C=_.append(`g`).attr(`class`,`wardley-axes`);C.append(`line`).attr(`x1`,o.padding).attr(`x2`,p-o.padding).attr(`y1`,m-o.padding).attr(`y2`,m-o.padding).attr(`stroke`,s.axisColor).attr(`stroke-width`,1),C.append(`line`).attr(`x1`,o.padding).attr(`x2`,o.padding).attr(`y1`,o.padding).attr(`y2`,m-o.padding).attr(`stroke`,s.axisColor).attr(`stroke-width`,1);let w=d.axes.xLabel??`Evolution`,T=d.axes.yLabel??`Visibility`;C.append(`text`).attr(`class`,`wardley-axis-label wardley-axis-label-x`).attr(`x`,o.padding+y/2).attr(`y`,m-o.padding/4).attr(`fill`,s.axisTextColor).attr(`font-size`,o.axisFontSize).attr(`font-weight`,`bold`).attr(`text-anchor`,`middle`).text(w),C.append(`text`).attr(`class`,`wardley-axis-label wardley-axis-label-y`).attr(`x`,o.padding/3).attr(`y`,o.padding+b/2).attr(`fill`,s.axisTextColor).attr(`font-size`,o.axisFontSize).attr(`font-weight`,`bold`).attr(`text-anchor`,`middle`).attr(`transform`,`rotate(-90 ${o.padding/3} ${o.padding+b/2})`).text(T);let E=d.axes.stages&&d.axes.stages.length>0?d.axes.stages:H;if(E.length>0){let e=_.append(`g`).attr(`class`,`wardley-stages`),t=d.axes.stageBoundaries,n=[];if(t&&t.length===E.length){let e=0;t.forEach(t=>{n.push({start:e,end:t}),e=t})}else{let e=1/E.length;E.forEach((t,r)=>{n.push({start:r*e,end:(r+1)*e})})}E.forEach((t,r)=>{let i=n[r],a=o.padding+i.start*y,c=(a+(o.padding+i.end*y))/2;r>0&&e.append(`line`).attr(`x1`,a).attr(`x2`,a).attr(`y1`,o.padding).attr(`y2`,m-o.padding).attr(`stroke`,`#000`).attr(`stroke-width`,1).attr(`stroke-dasharray`,`5 5`).attr(`opacity`,.8),e.append(`text`).attr(`class`,`wardley-stage-label`).attr(`x`,c).attr(`y`,m-o.padding/1.5).attr(`fill`,s.axisTextColor).attr(`font-size`,o.axisFontSize-2).attr(`text-anchor`,`middle`).text(t)})}if(o.showGrid){let e=_.append(`g`).attr(`class`,`wardley-grid`);for(let t=1;t<4;t++){let n=t/4,r=o.padding+y*n;e.append(`line`).attr(`x1`,r).attr(`x2`,r).attr(`y1`,o.padding).attr(`y2`,m-o.padding).attr(`stroke`,s.gridColor).attr(`stroke-dasharray`,`2 6`),e.append(`line`).attr(`x1`,o.padding).attr(`x2`,p-o.padding).attr(`y1`,m-o.padding-b*n).attr(`y2`,m-o.padding-b*n).attr(`stroke`,s.gridColor).attr(`stroke-dasharray`,`2 6`)}}let D=new Map;if(d.nodes.forEach(e=>{D.set(e.id,{x:x(e.x),y:S(e.y),node:e})}),d.pipelines.length>0){let e=_.append(`g`).attr(`class`,`wardley-pipelines`),t=_.append(`g`).attr(`class`,`wardley-pipeline-links`);d.pipelines.forEach(n=>{if(n.componentIds.length===0)return;let r=n.componentIds.map(e=>({id:e,pos:D.get(e),node:d.nodes.find(t=>t.id===e)})).filter(e=>e.pos&&e.node).sort((e,t)=>e.node.x-t.node.x);for(let e=0;e<r.length-1;e++){let n=r[e],i=r[e+1];t.append(`line`).attr(`class`,`wardley-pipeline-evolution-link`).attr(`x1`,n.pos.x).attr(`y1`,n.pos.y).attr(`x2`,i.pos.x).attr(`y2`,i.pos.y).attr(`stroke`,s.linkStroke).attr(`stroke-width`,1).attr(`stroke-dasharray`,`4 4`)}let i=1/0,a=-1/0,l=0;if(n.componentIds.forEach(e=>{let t=D.get(e);t&&(i=Math.min(i,t.x),a=Math.max(a,t.x),l=t.y)}),i!==1/0&&a!==-1/0){let t=o.nodeRadius*4,r=l-t/2,u=D.get(n.nodeId);u&&(u.x=(i+a)/2,u.y=r-c/6),e.append(`rect`).attr(`class`,`wardley-pipeline-box`).attr(`x`,i-15).attr(`y`,r).attr(`width`,a-i+30).attr(`height`,t).attr(`fill`,`none`).attr(`stroke`,s.axisColor).attr(`stroke-width`,1.5).attr(`rx`,4).attr(`ry`,4)}})}let O=_.append(`g`).attr(`class`,`wardley-links`),k=new Map;d.pipelines.forEach(e=>{k.set(e.nodeId,new Set(e.componentIds))});let A=d.links.filter(e=>!(!D.has(e.source)||!D.has(e.target)||k.get(e.target)?.has(e.source)));O.selectAll(`line`).data(A).enter().append(`line`).attr(`class`,e=>`wardley-link${e.dashed?` wardley-link--dashed`:``}`).attr(`x1`,e=>{let t=D.get(e.source),n=D.get(e.target),r=d.nodes.find(t=>t.id===e.source).isPipelineParent?c/Math.sqrt(2):o.nodeRadius,i=n.x-t.x,a=n.y-t.y,s=Math.sqrt(i*i+a*a);return t.x+i/s*r}).attr(`y1`,e=>{let t=D.get(e.source),n=D.get(e.target),r=d.nodes.find(t=>t.id===e.source).isPipelineParent?c/Math.sqrt(2):o.nodeRadius,i=n.x-t.x,a=n.y-t.y,s=Math.sqrt(i*i+a*a);return t.y+a/s*r}).attr(`x2`,e=>{let t=D.get(e.source),n=D.get(e.target),r=d.nodes.find(t=>t.id===e.target).isPipelineParent?c/Math.sqrt(2):o.nodeRadius,i=t.x-n.x,a=t.y-n.y,s=Math.sqrt(i*i+a*a);return n.x+i/s*r}).attr(`y2`,e=>{let t=D.get(e.source),n=D.get(e.target),r=d.nodes.find(t=>t.id===e.target).isPipelineParent?c/Math.sqrt(2):o.nodeRadius,i=t.x-n.x,a=t.y-n.y,s=Math.sqrt(i*i+a*a);return n.y+a/s*r}).attr(`stroke`,s.linkStroke).attr(`stroke-width`,1).attr(`stroke-dasharray`,e=>e.dashed?`6 6`:null).attr(`marker-end`,e=>e.flow===`forward`||e.flow===`bidirectional`?`url(#link-arrow-end-${r})`:null).attr(`marker-start`,e=>e.flow===`backward`||e.flow===`bidirectional`?`url(#link-arrow-start-${r})`:null),O.selectAll(`text`).data(A.filter(e=>e.label)).enter().append(`text`).attr(`class`,`wardley-link-label`).attr(`x`,e=>{let t=D.get(e.source),n=D.get(e.target),r=(t.x+n.x)/2,i=n.y-t.y,a=n.x-t.x;return r+i/Math.sqrt(a*a+i*i)*8}).attr(`y`,e=>{let t=D.get(e.source),n=D.get(e.target),r=(t.y+n.y)/2,i=n.x-t.x,a=n.y-t.y,o=Math.sqrt(i*i+a*a);return r+-i/o*8}).attr(`fill`,s.axisTextColor).attr(`font-size`,o.labelFontSize).attr(`text-anchor`,`middle`).attr(`dominant-baseline`,`middle`).attr(`transform`,e=>{let t=D.get(e.source),n=D.get(e.target),r=(t.x+n.x)/2,i=(t.y+n.y)/2,a=n.x-t.x,o=n.y-t.y,s=Math.sqrt(a*a+o*o),c=o/s,l=-a/s,u=r+c*8,d=i+l*8,f=Math.atan2(o,a)*180/Math.PI;return(f>90||f<-90)&&(f+=180),`rotate(${f} ${u} ${d})`}).text(e=>e.label);let j=_.append(`g`).attr(`class`,`wardley-trends`),M=d.trends.map(e=>{let t=D.get(e.nodeId);if(!t)return null;let n=x(e.targetX),r=S(e.targetY),i=n-t.x,a=r-t.y,s=Math.sqrt(i*i+a*a),c=o.nodeRadius+2;return{origin:t,targetX:n,targetY:r,adjustedX2:s>c?n-i/s*c:n,adjustedY2:s>c?r-a/s*c:r}}).filter(e=>e!==null);j.selectAll(`line`).data(M).enter().append(`line`).attr(`class`,`wardley-trend`).attr(`x1`,e=>e.origin.x).attr(`y1`,e=>e.origin.y).attr(`x2`,e=>e.adjustedX2).attr(`y2`,e=>e.adjustedY2).attr(`stroke`,s.evolutionStroke).attr(`stroke-width`,1).attr(`stroke-dasharray`,`4 4`).attr(`marker-end`,`url(#arrow-${r})`);let N=_.append(`g`).attr(`class`,`wardley-nodes`).selectAll(`g`).data(d.nodes).enter().append(`g`).attr(`class`,e=>[`wardley-node`,e.className?`wardley-node--${e.className}`:``].filter(Boolean).join(` `));N.filter(e=>e.sourceStrategy===`outsource`).append(`circle`).attr(`class`,`wardley-outsource-overlay`).attr(`cx`,e=>D.get(e.id).x).attr(`cy`,e=>D.get(e.id).y).attr(`r`,o.nodeRadius*2).attr(`fill`,`#666`).attr(`stroke`,s.componentStroke).attr(`stroke-width`,1),N.filter(e=>e.sourceStrategy===`buy`).append(`circle`).attr(`class`,`wardley-buy-overlay`).attr(`cx`,e=>D.get(e.id).x).attr(`cy`,e=>D.get(e.id).y).attr(`r`,o.nodeRadius*2).attr(`fill`,`#ccc`).attr(`stroke`,s.componentStroke).attr(`stroke-width`,1),N.filter(e=>e.sourceStrategy===`build`).append(`circle`).attr(`class`,`wardley-build-overlay`).attr(`cx`,e=>D.get(e.id).x).attr(`cy`,e=>D.get(e.id).y).attr(`r`,o.nodeRadius*2).attr(`fill`,`#eee`).attr(`stroke`,`#000`).attr(`stroke-width`,1);let P=N.filter(e=>e.sourceStrategy===`market`);P.append(`circle`).attr(`class`,`wardley-market-overlay`).attr(`cx`,e=>D.get(e.id).x).attr(`cy`,e=>D.get(e.id).y).attr(`r`,o.nodeRadius*2).attr(`fill`,`white`).attr(`stroke`,s.componentStroke).attr(`stroke-width`,1),N.filter(e=>!e.isPipelineParent&&e.sourceStrategy!==`market`&&e.className!==`anchor`).append(`circle`).attr(`cx`,e=>D.get(e.id).x).attr(`cy`,e=>D.get(e.id).y).attr(`r`,o.nodeRadius).attr(`fill`,s.componentFill).attr(`stroke`,s.componentStroke).attr(`stroke-width`,1);let F=o.nodeRadius*.7,I=o.nodeRadius*1.2;if(P.append(`line`).attr(`class`,`wardley-market-line`).attr(`x1`,e=>D.get(e.id).x).attr(`y1`,e=>D.get(e.id).y-I).attr(`x2`,e=>D.get(e.id).x-I*Math.cos(Math.PI/6)).attr(`y2`,e=>D.get(e.id).y+I*Math.sin(Math.PI/6)).attr(`stroke`,s.componentStroke).attr(`stroke-width`,1),P.append(`line`).attr(`class`,`wardley-market-line`).attr(`x1`,e=>D.get(e.id).x-I*Math.cos(Math.PI/6)).attr(`y1`,e=>D.get(e.id).y+I*Math.sin(Math.PI/6)).attr(`x2`,e=>D.get(e.id).x+I*Math.cos(Math.PI/6)).attr(`y2`,e=>D.get(e.id).y+I*Math.sin(Math.PI/6)).attr(`stroke`,s.componentStroke).attr(`stroke-width`,1),P.append(`line`).attr(`class`,`wardley-market-line`).attr(`x1`,e=>D.get(e.id).x+I*Math.cos(Math.PI/6)).attr(`y1`,e=>D.get(e.id).y+I*Math.sin(Math.PI/6)).attr(`x2`,e=>D.get(e.id).x).attr(`y2`,e=>D.get(e.id).y-I).attr(`stroke`,s.componentStroke).attr(`stroke-width`,1),P.append(`circle`).attr(`class`,`wardley-market-dot`).attr(`cx`,e=>D.get(e.id).x).attr(`cy`,e=>D.get(e.id).y-I).attr(`r`,F).attr(`fill`,`white`).attr(`stroke`,s.componentStroke).attr(`stroke-width`,2),P.append(`circle`).attr(`class`,`wardley-market-dot`).attr(`cx`,e=>D.get(e.id).x-I*Math.cos(Math.PI/6)).attr(`cy`,e=>D.get(e.id).y+I*Math.sin(Math.PI/6)).attr(`r`,F).attr(`fill`,`white`).attr(`stroke`,s.componentStroke).attr(`stroke-width`,2),P.append(`circle`).attr(`class`,`wardley-market-dot`).attr(`cx`,e=>D.get(e.id).x+I*Math.cos(Math.PI/6)).attr(`cy`,e=>D.get(e.id).y+I*Math.sin(Math.PI/6)).attr(`r`,F).attr(`fill`,`white`).attr(`stroke`,s.componentStroke).attr(`stroke-width`,2),N.filter(e=>e.isPipelineParent===!0).append(`rect`).attr(`x`,e=>D.get(e.id).x-c/2).attr(`y`,e=>D.get(e.id).y-c/2).attr(`width`,c).attr(`height`,c).attr(`fill`,s.componentFill).attr(`stroke`,s.componentStroke).attr(`stroke-width`,1),N.filter(e=>e.inertia===!0).append(`line`).attr(`class`,`wardley-inertia`).attr(`x1`,e=>{let t=D.get(e.id),n=e.isPipelineParent?c/2+15:o.nodeRadius+15;return e.sourceStrategy&&(n+=o.nodeRadius+10),t.x+n}).attr(`y1`,e=>{let t=D.get(e.id),n=e.isPipelineParent?c:o.nodeRadius*2;return t.y-n/2}).attr(`x2`,e=>{let t=D.get(e.id),n=e.isPipelineParent?c/2+15:o.nodeRadius+15;return e.sourceStrategy&&(n+=o.nodeRadius+10),t.x+n}).attr(`y2`,e=>{let t=D.get(e.id),n=e.isPipelineParent?c:o.nodeRadius*2;return t.y+n/2}).attr(`stroke`,s.componentStroke).attr(`stroke-width`,6),N.append(`text`).attr(`x`,e=>{let t=D.get(e.id);if(e.className===`anchor`)return e.labelOffsetX===void 0?t.x:t.x+e.labelOffsetX;let n=o.nodeLabelOffset;e.sourceStrategy&&e.labelOffsetX===void 0&&(n+=10);let r=e.labelOffsetX??n;return t.x+r}).attr(`y`,e=>{let t=D.get(e.id);if(e.className===`anchor`)return e.labelOffsetY===void 0?t.y-3:t.y+e.labelOffsetY;let n=-o.nodeLabelOffset;e.sourceStrategy&&e.labelOffsetY===void 0&&(n-=10);let r=e.labelOffsetY??n;return t.y+r}).attr(`class`,`wardley-node-label`).attr(`fill`,e=>e.className===`evolved`?s.evolutionStroke:e.className===`anchor`?`#000`:s.componentLabelColor).attr(`font-size`,o.labelFontSize).attr(`font-weight`,e=>e.className===`anchor`?`bold`:`normal`).attr(`text-anchor`,e=>e.className===`anchor`?`middle`:`start`).attr(`dominant-baseline`,e=>e.className===`anchor`?`middle`:`auto`).text(e=>e.label),d.annotations.length>0){let e=_.append(`g`).attr(`class`,`wardley-annotations`);if(d.annotations.forEach(t=>{let n=t.coordinates.map(e=>({x:x(e.x),y:S(e.y)}));if(n.length>1)for(let t=0;t<n.length-1;t++)e.append(`line`).attr(`class`,`wardley-annotation-line`).attr(`x1`,n[t].x).attr(`y1`,n[t].y).attr(`x2`,n[t+1].x).attr(`y2`,n[t+1].y).attr(`stroke`,s.axisColor).attr(`stroke-width`,1.5).attr(`stroke-dasharray`,`4 4`);n.forEach(n=>{let r=e.append(`g`).attr(`class`,`wardley-annotation`);r.append(`circle`).attr(`cx`,n.x).attr(`cy`,n.y).attr(`r`,10).attr(`fill`,`white`).attr(`stroke`,s.axisColor).attr(`stroke-width`,1.5),r.append(`text`).attr(`x`,n.x).attr(`y`,n.y).attr(`text-anchor`,`middle`).attr(`dominant-baseline`,`central`).attr(`font-size`,10).attr(`fill`,s.axisTextColor).attr(`font-weight`,`bold`).text(t.number)})}),d.annotationsBox){let t=x(d.annotationsBox.x),n=S(d.annotationsBox.y),r=e.append(`g`).attr(`class`,`wardley-annotations-box`),i=[...d.annotations].filter(e=>e.text).sort((e,t)=>e.number-t.number),a=[];if(i.forEach((e,i)=>{let o=r.append(`text`).attr(`x`,t+10).attr(`y`,n+10+(i+1)*16).attr(`font-size`,11).attr(`fill`,s.axisTextColor).attr(`text-anchor`,`start`).attr(`dominant-baseline`,`middle`).text(`${e.number}. ${e.text}`);a.push(o)}),a.length>0){let e=0,c=0;a.forEach(t=>{let n=t.node(),r=n.getComputedTextLength();e=Math.max(e,r);let i=n.getBBox();c=Math.max(c,i.height)});let l=e+20+105,u=i.length*16+20+c/2,d=o.padding,f=p-o.padding-l,h=o.padding,g=m-o.padding-u;t=Math.max(d,Math.min(t,f)),n=Math.max(h,Math.min(n,g)),a.forEach((e,r)=>{e.attr(`x`,t+10).attr(`y`,n+10+(r+1)*16)}),r.insert(`rect`,`text`).attr(`x`,t).attr(`y`,n).attr(`width`,l).attr(`height`,u).attr(`fill`,`white`).attr(`stroke`,s.axisColor).attr(`stroke-width`,1.5).attr(`rx`,4).attr(`ry`,4)}}}if(d.notes.length>0){let e=_.append(`g`).attr(`class`,`wardley-notes`);d.notes.forEach(t=>{let n=x(t.x),r=S(t.y);e.append(`text`).attr(`x`,n).attr(`y`,r).attr(`text-anchor`,`start`).attr(`font-size`,11).attr(`fill`,s.axisTextColor).attr(`font-weight`,`bold`).text(t.text)})}if(d.accelerators.length>0){let e=_.append(`g`).attr(`class`,`wardley-accelerators`);d.accelerators.forEach(t=>{let n=x(t.x),r=S(t.y),i=`
3
3
  M ${n} ${r-15}
4
4
  L ${n+60-20} ${r-15}
@@ -1,3 +1,3 @@
1
- import{i as e}from"./rolldown-runtime-COiEfhsA.js";import{s as t,y as n}from"./react-WA6wlt8S.js";import{yt as r}from"./button-eGxLxbv9.js";import{t as i}from"./jsx-runtime-DePvh3-m.js";import{t as a}from"./createLucideIcon-GFZ_fxLc.js";import{t as o}from"./repeat-2-VQP1EVOZ.js";import{Q as s,rt as c,tt as l}from"./index-CgB5osVc.js";var u=a(`external-link`,[[`path`,{d:`M15 3h6v6`,key:`1q9fwt`}],[`path`,{d:`M10 14 21 3`,key:`gplh6r`}],[`path`,{d:`M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6`,key:`a6xqqp`}]]),d=a(`send`,[[`path`,{d:`M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z`,key:`1ffxy3`}],[`path`,{d:`m21.854 2.147-10.94 10.939`,key:`12cjpa`}]]),f=a(`thumbs-up`,[[`path`,{d:`M15 5.88 14 10h5.83a2 2 0 0 1 1.92 2.56l-2.33 8A2 2 0 0 1 17.5 22H4a2 2 0 0 1-2-2v-8a2 2 0 0 1 2-2h2.76a2 2 0 0 0 1.79-1.11L12 2a3.13 3.13 0 0 1 3 3.88Z`,key:`emmmcr`}],[`path`,{d:`M7 10v12`,key:`1qc93n`}]]),p=a(`users`,[[`path`,{d:`M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2`,key:`1yyitq`}],[`path`,{d:`M16 3.128a4 4 0 0 1 0 7.744`,key:`16gr8j`}],[`path`,{d:`M22 21v-2a4 4 0 0 0-3-3.87`,key:`kshegd`}],[`circle`,{cx:`9`,cy:`7`,r:`4`,key:`nufk8`}]]),m=1024,h=1024*m,ee=1024*h,g={commentary:3e3,pictures:{least:2,most:20},pixels:36152320,video:{bytes:{least:75*m,most:5*ee},seconds:{least:3,most:1800}},document:{bytes:100*h,pages:300},poll:{question:140,least:2,most:4,option:30},alt:4086},_=[`ONE_DAY`,`THREE_DAYS`,`SEVEN_DAYS`,`FOURTEEN_DAYS`],v=[`PUBLIC`,`CONNECTIONS`],y={picture:[`jpg`,`jpeg`,`png`,`gif`],video:[`mp4`],document:[`pdf`,`ppt`,`pptx`,`doc`,`docx`]},b=e=>e.length,x=/(?<![\p{L}\p{N}_&])#([\p{L}\p{N}_]+)/gu,S=/\bhttps?:\/\/[^\s<>()]+[^\s<>().,;:!?'"]|\b(?:www\.)?[a-z0-9-]+(?:\.[a-z0-9-]+)*\.(?:com|org|net|io|ai|dev|app|co|ly|in|me|so|gg|xyz)\b(?:\/[^\s<>()]*[^\s<>().,;:!?'"])?/giu;function C(e){return[...e.matchAll(x)].map(e=>e[1]??``)}function w(e){return[...[...e.matchAll(x)].map(e=>({kind:`hashtag`,from:e.index,to:e.index+e[0].length})),...[...e.matchAll(S)].map(e=>({kind:`link`,from:e.index,to:e.index+e[0].length}))].sort((e,t)=>e.from-t.from)}function T(e){let t=b(e);return{characters:t,most:g.commentary,left:g.commentary-t,lines:e===``?0:e.split(`
1
+ import{i as e}from"./rolldown-runtime-COiEfhsA.js";import{s as t,v as n}from"./react-Bk7NnOLX.js";import{yt as r}from"./button-EftXSfev.js";import{t as i}from"./jsx-runtime-DePvh3-m.js";import{t as a}from"./createLucideIcon-REX213UO.js";import{t as o}from"./repeat-2-DfPmKp4w.js";import{$ as s,it as c,nt as l}from"./index-D8qc_ipi.js";var u=a(`external-link`,[[`path`,{d:`M15 3h6v6`,key:`1q9fwt`}],[`path`,{d:`M10 14 21 3`,key:`gplh6r`}],[`path`,{d:`M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6`,key:`a6xqqp`}]]),d=a(`send`,[[`path`,{d:`M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z`,key:`1ffxy3`}],[`path`,{d:`m21.854 2.147-10.94 10.939`,key:`12cjpa`}]]),f=a(`thumbs-up`,[[`path`,{d:`M15 5.88 14 10h5.83a2 2 0 0 1 1.92 2.56l-2.33 8A2 2 0 0 1 17.5 22H4a2 2 0 0 1-2-2v-8a2 2 0 0 1 2-2h2.76a2 2 0 0 0 1.79-1.11L12 2a3.13 3.13 0 0 1 3 3.88Z`,key:`emmmcr`}],[`path`,{d:`M7 10v12`,key:`1qc93n`}]]),p=a(`users`,[[`path`,{d:`M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2`,key:`1yyitq`}],[`path`,{d:`M16 3.128a4 4 0 0 1 0 7.744`,key:`16gr8j`}],[`path`,{d:`M22 21v-2a4 4 0 0 0-3-3.87`,key:`kshegd`}],[`circle`,{cx:`9`,cy:`7`,r:`4`,key:`nufk8`}]]),m=1024,h=1024*m,ee=1024*h,g={commentary:3e3,pictures:{least:2,most:20},pixels:36152320,video:{bytes:{least:75*m,most:5*ee},seconds:{least:3,most:1800}},document:{bytes:100*h,pages:300},poll:{question:140,least:2,most:4,option:30},alt:4086},_=[`ONE_DAY`,`THREE_DAYS`,`SEVEN_DAYS`,`FOURTEEN_DAYS`],v=[`PUBLIC`,`CONNECTIONS`],y={picture:[`jpg`,`jpeg`,`png`,`gif`],video:[`mp4`],document:[`pdf`,`ppt`,`pptx`,`doc`,`docx`]},b=e=>e.length,x=/(?<![\p{L}\p{N}_&])#([\p{L}\p{N}_]+)/gu,S=/\bhttps?:\/\/[^\s<>()]+[^\s<>().,;:!?'"]|\b(?:www\.)?[a-z0-9-]+(?:\.[a-z0-9-]+)*\.(?:com|org|net|io|ai|dev|app|co|ly|in|me|so|gg|xyz)\b(?:\/[^\s<>()]*[^\s<>().,;:!?'"])?/giu;function C(e){return[...e.matchAll(x)].map(e=>e[1]??``)}function w(e){return[...[...e.matchAll(x)].map(e=>({kind:`hashtag`,from:e.index,to:e.index+e[0].length})),...[...e.matchAll(S)].map(e=>({kind:`link`,from:e.index,to:e.index+e[0].length}))].sort((e,t)=>e.from-t.from)}function T(e){let t=b(e);return{characters:t,most:g.commentary,left:g.commentary-t,lines:e===``?0:e.split(`
2
2
  `).length,hashtags:C(e),links:[...e.matchAll(S)].map(e=>e[0])}}var E=e(n(),1),D=i(),O=new Intl.Segmenter(void 0,{granularity:`grapheme`}),k=/[\p{Script=Han}\p{Script=Hiragana}\p{Script=Katakana}\p{Script=Hangul}]/u,te=`… more`;function ne(e,t,n){let r=[],i=0;for(let a of e.split(`
3
3
  `)){let e=i,o=``,s=-1;for(let{segment:i}of O.segment(a)){let a=/\s/u.test(i);k.test(i)&&(s=o.length);let c=o+i;if(a||n(c.trimEnd(),e)<=t){o=c,a&&(s=o.length);continue}let l=s>0?s:o.length;r.push({start:e,text:o.slice(0,l)}),e+=l,o=o.slice(l)+i,s=k.test(i)?o.length-i.length:-1}r.push({start:e,text:o}),i+=a.length+1}return r}function A(e,t,n,r){let i=ne(e,n,r);if(i.length<=t)return{folded:!1,shown:e,lines:i.length};let a=n-r(te,-1),o;if(i.slice(0,t).forEach((e,t)=>{for(let n of e.text.matchAll(/\S+/gu)){let i=n.index+n[0].length;r(e.text.slice(0,i),e.start)<a&&(o={line:t,end:e.start+i})}}),o===void 0){let n=i[t-1];return{folded:!0,shown:e.slice(0,(n?.start??0)+(n?.text.length??0)).trimEnd(),lines:t}}return{folded:!0,shown:e.slice(0,o.end),lines:o.line+1}}var j=`14px "Inter Variable", Inter, -apple-system, system-ui, "Segoe UI", Roboto, Helvetica, Arial, "Noto Sans SC", "Noto Color Emoji", sans-serif`;function M(e,t,n,r=j){let i=new OffscreenCanvas(1,1).getContext(`2d`);if(i===null)return{folded:!1,shown:e,lines:0};let a=r,o=`600 ${r}`,s=w(e),c=(e,t)=>(i.font=t,i.measureText(e).width);return A(e,t,n,(e,t)=>{if(t<0)return c(e,a);let n=0,r=0;for(let i of s){let s=Math.max(i.from-t,0),l=Math.min(i.to-t,e.length);l<=r||s>=e.length||(s>r&&(n+=c(e.slice(r,s),a)),n+=c(e.slice(Math.max(s,r),l),o),r=l)}return n+(r<e.length?c(e.slice(r),a):0)})}function N(e){let t=[],n=0;for(let r of w(e))r.from<n||(r.from>n&&t.push({text:e.slice(n,r.from)}),t.push({text:e.slice(r.from,r.to),link:!0}),n=r.to);return n<e.length&&t.push({text:e.slice(n)}),t}function P({text:e}){return(0,D.jsx)(D.Fragment,{children:N(e).map((e,t)=>e.link===!0?(0,D.jsx)(`span`,{className:`ak-li-link`,children:e.text},t):e.text)})}var F=e=>e-2-24,I={name:`AllyHub`,headline:`The content creation system for people and AI`},L=(0,E.createContext)(e=>(0,D.jsx)(`video`,{...e}));function R(e){return{ONE_DAY:`1d left`,THREE_DAYS:`3d left`,SEVEN_DAYS:`1w left`,FOURTEEN_DAYS:`2w left`}[e??`SEVEN_DAYS`]??`1w left`}function z(e){let t=Math.round(e),n=Math.floor(t/3600),r=Math.floor(t%3600/60),i=e=>String(e).padStart(2,`0`);return n>0?`${String(n)}:${i(r)}:${i(t%60)}`:`${String(r)}:${i(t%60)}`}function B({visibility:e,avatar:t=48}){return(0,D.jsxs)(`header`,{className:`ak-li-author`,children:[(0,D.jsx)(`div`,{className:`ak-li-avatar`,style:{width:t,height:t},"aria-hidden":`true`,children:I.name.slice(0,1)}),(0,D.jsxs)(`div`,{className:`ak-li-who`,children:[(0,D.jsx)(`span`,{className:`ak-li-name`,children:I.name}),(0,D.jsx)(`span`,{className:`ak-li-headline`,children:I.headline}),(0,D.jsxs)(`span`,{className:`ak-li-when`,children:[`Now •`,` `,e===`CONNECTIONS`?(0,D.jsx)(p,{"aria-label":`Connections only`}):(0,D.jsx)(l,{"aria-label":`Anyone`})]})]})]})}function V({text:e,lines:t,onFolded:n,width:r=F(552)}){let[i,a]=(0,E.useState)(0);(0,E.useEffect)(()=>{let e=!0;return document.fonts.ready.then(()=>{e&&a(e=>e+1)}),()=>{e=!1}},[]);let o=(0,E.useMemo)(()=>{if(t===void 0||i<0)return;let n=M(e,t,r);return n.folded?n.shown:void 0},[e,t,r,i]);return(0,E.useEffect)(()=>{n?.(o!==void 0)},[o,n]),(0,D.jsxs)(`div`,{className:`ak-li-words`,dir:`auto`,"data-fold":t,"data-text":e,children:[(0,D.jsx)(P,{text:o??e}),o===void 0?null:(0,D.jsx)(`span`,{className:`ak-li-more`,children:`… more`})]})}function H({label:e}){return(0,D.jsx)(`div`,{className:`ak-li-made`,children:e})}function U({m:e}){return e.kind===`made`||e.src===void 0?(0,D.jsx)(H,{label:e.label??e.file}):(0,D.jsx)(`img`,{src:e.src,alt:e.alt??``})}function W({m:e}){let t=(0,E.useContext)(L),n=e.width!==void 0&&e.height!==void 0&&e.height>0?{aspectRatio:`${String(e.width)} / ${String(e.height)}`}:void 0;return(0,D.jsxs)(`div`,{className:`ak-li-video`,style:n,children:[e.src===void 0?null:t({src:`${e.src}#t=0.1`,muted:!0,playsInline:!0,preload:`auto`},e.file),(0,D.jsx)(`span`,{className:`ak-li-play`,"aria-hidden":`true`}),e.seconds===void 0?null:(0,D.jsx)(`span`,{className:`ak-li-clock`,children:z(e.seconds)})]})}function G({m:e,title:t}){return(0,D.jsxs)(`div`,{className:`ak-li-document`,children:[(0,D.jsx)(`div`,{className:`ak-li-doc-bar`,children:(0,D.jsx)(`span`,{className:`ak-li-doc-title`,children:t??e.label??e.file??``})}),e.src===void 0?(0,D.jsxs)(`div`,{className:`ak-li-doc-page`,children:[(0,D.jsx)(c,{"aria-hidden":`true`}),(0,D.jsx)(`span`,{children:e.label??e.file})]}):(0,D.jsx)(`img`,{src:e.src,alt:e.alt??``})]})}var K=e=>e?.width!==void 0&&e.height!==void 0&&e.width>e.height;function q({images:e,onMedium:t}){if(e.length===0)return null;let n=e.length>4?4:e.length,r=e.length-n;return(0,D.jsx)(`div`,{className:`ak-li-grid`,"data-count":n,"data-wide":K(e[0])?``:void 0,children:e.slice(0,n).map((e,i)=>(0,D.jsxs)(`div`,{className:`ak-li-cell`,children:[(0,D.jsx)(U,{m:e}),i===n-1&&r>0?(0,D.jsxs)(`span`,{className:`ak-li-hidden`,children:[`+`,r]}):null,t?.(i)]},i))})}function J({c:e}){let t=e.source;try{t=new URL(e.source).hostname.replace(/^www\./u,``)}catch{}return(0,D.jsxs)(`div`,{className:`ak-li-card`,children:[e.thumbnail?(0,D.jsx)(`div`,{className:`ak-li-card-picture`,children:(0,D.jsx)(U,{m:e.thumbnail})}):null,(0,D.jsxs)(`div`,{className:`ak-li-card-text`,children:[(0,D.jsx)(`span`,{className:`ak-li-card-title`,children:e.title??e.source}),(0,D.jsxs)(`span`,{className:`ak-li-card-site`,children:[t,(0,D.jsx)(u,{"aria-hidden":`true`})]})]})]})}function Y({c:e}){return(0,D.jsxs)(`div`,{className:`ak-li-poll`,children:[(0,D.jsx)(`div`,{className:`ak-li-poll-question`,dir:`auto`,children:e.question}),(0,D.jsx)(`div`,{className:`ak-li-poll-hint`,children:`The author can see how you vote.`}),e.options.map((e,t)=>(0,D.jsx)(`div`,{className:`ak-li-option`,dir:`auto`,children:e},t)),(0,D.jsxs)(`div`,{className:`ak-li-poll-foot`,children:[`0 votes • `,R(e.duration)]})]})}function X({content:e,onMedium:t}){if(e===void 0)return null;switch(e.type){case`media`:{let n=e.medium;return(0,D.jsxs)(`div`,{className:`ak-li-content`,children:[n.kind===`video`?(0,D.jsx)(W,{m:n}):n.kind===`document`||n.kind===`made`&&e.title!==void 0?(0,D.jsx)(G,{m:n,title:e.title}):(0,D.jsx)(`div`,{className:`ak-li-single`,children:(0,D.jsx)(U,{m:n})}),t?.(0)]})}case`multiImage`:return(0,D.jsx)(`div`,{className:`ak-li-content`,children:(0,D.jsx)(q,{images:e.images,onMedium:t})});case`poll`:return(0,D.jsx)(Y,{c:e});case`article`:return(0,D.jsxs)(`div`,{className:`ak-li-content`,children:[(0,D.jsx)(J,{c:e}),t?.(0)]})}}function re(){return(0,D.jsxs)(`div`,{className:`ak-li-actions`,"aria-hidden":`true`,children:[(0,D.jsx)(f,{}),(0,D.jsx)(s,{}),(0,D.jsx)(o,{}),(0,D.jsx)(d,{})]})}function ie({post:e,lines:t,slots:n={},onFolded:r,width:i=552}){return(0,D.jsxs)(`article`,{className:`ak-li-post`,children:[(0,D.jsx)(B,{visibility:e.visibility}),n.words??(e.commentary===``?null:(0,D.jsx)(V,{text:e.commentary,lines:t,onFolded:r,width:F(i)})),n.content??(0,D.jsx)(X,{content:e.content,onMedium:n.onMedium}),n.after,(0,D.jsx)(re,{})]})}var Z=[`png`,`jpeg`,`jpg`,`gif`],Q=[`pdf`,`ppt`,`pptx`,`doc`,`docx`],ae=[...Z,`mp4`,...Q],oe=[...Z,`mp4`],$=r({en:{loading:`Opening the post…`,couldNotOpen:e=>`The post could not be opened: ${e}`,unreadable:e=>`This file is not a LinkedIn post as written, so it is shown and not changed: ${e}`,undo:`Undo`,redo:`Redo`,share:`Share your thoughts...`,postTo:e=>`Post to ${e}`,anyone:`Anyone`,connections:`Connections only`,addMedia:`Add a picture, a video or a document`,addPicture:`Add a picture`,addDocument:`Add a document (a carousel)`,addPoll:`Create a poll`,addLink:`Add a link's card`,remove:`Remove`,alt:`ALT`,documentTitle:`Document title`,made:`Made when the post is rendered`,question:`Your question`,option:e=>`Option ${String(e)}`,addOption:`Add option`,removeOption:`Remove the option`,removePoll:`Remove the poll`,duration:`Poll duration`,durations:{ONE_DAY:`1 day`,THREE_DAYS:`3 days`,SEVEN_DAYS:`1 week`,FOURTEEN_DAYS:`2 weeks`},link:{source:`Web address`,title:`Title`,description:`Description`,thumbnail:`Add a picture`,notLink:`That is not a web address`,remove:`Remove the card`},left:e=>`${String(e)} left`,over:e=>`${String(e)} over`,steps:{text:`Typing`,visibility:`Who sees it`,media:`Media`,alt:`Alt text`,title:`Document title`,poll:`Poll`,link:`Link's card`},article:{loading:`Opening the article…`,held:e=>`LinkedIn's article blocks cannot hold part of this file, so it is shown here and not changed until that is fixed: line ${e}`,title:`Title`,body:`Write here.`,addCover:`Add a cover picture or video`,changeCover:`Change the cover`,removeCover:`Remove the cover`,normal:`Normal`,heading:`Heading`,subheading:`Subheading`,style:`Style`,bold:`Bold`,italic:`Italic`,link:`Link`,linkHint:`The page's address`,removeLink:`Remove the link`,bullets:`Bulleted list`,numbers:`Numbered list`,quote:`Quote`,code:`Code snippet`,divider:`Divider`,embed:`Embed`,embedHint:`The address of a video, a deck or a post`,image:`Image`,notLink:`That is not a web address`,words:e=>e===1?`1 word`:`${String(e)} words`,add:`Add`,caption:`Caption`,copy:`Copy for LinkedIn`,copied:`Copied. Paste it into LinkedIn's article editor.`}},"zh-cn":{loading:`正在打开帖子…`,couldNotOpen:e=>`帖子无法打开:${e}`,unreadable:e=>`此文件按所写内容不是 LinkedIn 帖子,因此只显示、不修改:${e}`,undo:`撤销`,redo:`重做`,share:`分享你的想法…`,postTo:e=>`发布给${e}`,anyone:`所有人`,connections:`仅限联系人`,addMedia:`添加图片、视频或文档`,addPicture:`添加图片`,addDocument:`添加文档(轮播)`,addPoll:`发起投票`,addLink:`添加链接卡片`,remove:`移除`,alt:`ALT`,documentTitle:`文档标题`,made:`在渲染帖子时生成`,question:`你的问题`,option:e=>`选项 ${String(e)}`,addOption:`添加选项`,removeOption:`移除选项`,removePoll:`移除投票`,duration:`投票时长`,durations:{ONE_DAY:`1 天`,THREE_DAYS:`3 天`,SEVEN_DAYS:`1 周`,FOURTEEN_DAYS:`2 周`},link:{source:`网址`,title:`标题`,description:`描述`,thumbnail:`添加图片`,notLink:`这不是网址`,remove:`移除卡片`},left:e=>`还剩 ${String(e)}`,over:e=>`超出 ${String(e)}`,steps:{text:`输入`,visibility:`可见范围`,media:`媒体`,alt:`替代文本`,title:`文档标题`,poll:`投票`,link:`链接卡片`},article:{loading:`正在打开文章…`,held:e=>`LinkedIn 的文章块无法容纳此文件的一部分,因此在修正前只在此显示、不修改:第 ${e}`,title:`标题`,body:`在这里写作。`,addCover:`添加封面图片或视频`,changeCover:`更换封面`,removeCover:`移除封面`,normal:`正文`,heading:`标题`,subheading:`副标题`,style:`样式`,bold:`粗体`,italic:`斜体`,link:`链接`,linkHint:`网页地址`,removeLink:`移除链接`,bullets:`项目符号列表`,numbers:`编号列表`,quote:`引用`,code:`代码片段`,divider:`分隔线`,embed:`嵌入`,embedHint:`视频、演示文稿或帖子的地址`,image:`图片`,notLink:`这不是网址`,words:e=>`${String(e)} 词`,add:`添加`,caption:`图注`,copy:`复制到 LinkedIn`,copied:`已复制。粘贴到 LinkedIn 的文章编辑器即可。`}},"zh-tw":{loading:`正在開啟貼文…`,couldNotOpen:e=>`貼文無法開啟:${e}`,unreadable:e=>`此檔案按所寫內容不是 LinkedIn 貼文,因此只顯示、不修改:${e}`,undo:`復原`,redo:`重做`,share:`分享你的想法…`,postTo:e=>`發布給${e}`,anyone:`所有人`,connections:`僅限聯絡人`,addMedia:`新增圖片、影片或文件`,addPicture:`新增圖片`,addDocument:`新增文件(輪播)`,addPoll:`建立投票`,addLink:`新增連結卡片`,remove:`移除`,alt:`ALT`,documentTitle:`文件標題`,made:`在算繪貼文時產生`,question:`你的問題`,option:e=>`選項 ${String(e)}`,addOption:`新增選項`,removeOption:`移除選項`,removePoll:`移除投票`,duration:`投票期間`,durations:{ONE_DAY:`1 天`,THREE_DAYS:`3 天`,SEVEN_DAYS:`1 週`,FOURTEEN_DAYS:`2 週`},link:{source:`網址`,title:`標題`,description:`說明`,thumbnail:`新增圖片`,notLink:`這不是網址`,remove:`移除卡片`},left:e=>`還剩 ${String(e)}`,over:e=>`超出 ${String(e)}`,steps:{text:`輸入`,visibility:`可見範圍`,media:`媒體`,alt:`替代文字`,title:`文件標題`,poll:`投票`,link:`連結卡片`},article:{loading:`正在開啟文章…`,held:e=>`LinkedIn 的文章區塊無法容納此檔案的一部分,因此在修正前只在此顯示、不修改:第 ${e}`,title:`標題`,body:`在這裡寫作。`,addCover:`新增封面圖片或影片`,changeCover:`更換封面`,removeCover:`移除封面`,normal:`內文`,heading:`標題`,subheading:`副標題`,style:`樣式`,bold:`粗體`,italic:`斜體`,link:`連結`,linkHint:`網頁地址`,removeLink:`移除連結`,bullets:`項目符號清單`,numbers:`編號清單`,quote:`引言`,code:`程式碼片段`,divider:`分隔線`,embed:`嵌入`,embedHint:`影片、簡報或貼文的地址`,image:`圖片`,notLink:`這不是網址`,words:e=>`${String(e)} 字`,add:`新增`,caption:`圖說`,copy:`複製到 LinkedIn`,copied:`已複製。貼到 LinkedIn 的文章編輯器即可。`}},ja:{loading:`投稿を開いています…`,couldNotOpen:e=>`投稿を開けませんでした: ${e}`,unreadable:e=>`このファイルは書かれたとおりでは LinkedIn の投稿ではないため、表示のみで変更しません: ${e}`,undo:`元に戻す`,redo:`やり直す`,share:`あなたの考えをシェア…`,postTo:e=>`${e}に投稿`,anyone:`全員`,connections:`つながりのみ`,addMedia:`画像、動画、ドキュメントを追加`,addPicture:`画像を追加`,addDocument:`ドキュメント(カルーセル)を追加`,addPoll:`アンケートを作成`,addLink:`リンクカードを追加`,remove:`削除`,alt:`ALT`,documentTitle:`ドキュメントのタイトル`,made:`投稿のレンダリング時に作成`,question:`質問`,option:e=>`選択肢 ${String(e)}`,addOption:`選択肢を追加`,removeOption:`選択肢を削除`,removePoll:`アンケートを削除`,duration:`アンケートの期間`,durations:{ONE_DAY:`1日`,THREE_DAYS:`3日`,SEVEN_DAYS:`1週間`,FOURTEEN_DAYS:`2週間`},link:{source:`ウェブアドレス`,title:`タイトル`,description:`説明`,thumbnail:`画像を追加`,notLink:`ウェブアドレスではありません`,remove:`カードを削除`},left:e=>`残り ${String(e)}`,over:e=>`${String(e)} 超過`,steps:{text:`入力`,visibility:`公開範囲`,media:`メディア`,alt:`代替テキスト`,title:`ドキュメントのタイトル`,poll:`アンケート`,link:`リンクカード`},article:{loading:`記事を開いています…`,held:e=>`このファイルの一部は LinkedIn の記事ブロックに収まらないため、直るまで表示のみで変更しません: ${e} 行目`,title:`タイトル`,body:`ここに書きます。`,addCover:`カバー画像または動画を追加`,changeCover:`カバーを変更`,removeCover:`カバーを削除`,normal:`標準`,heading:`見出し`,subheading:`小見出し`,style:`スタイル`,bold:`太字`,italic:`斜体`,link:`リンク`,linkHint:`ページのアドレス`,removeLink:`リンクを削除`,bullets:`箇条書き`,numbers:`番号付きリスト`,quote:`引用`,code:`コードスニペット`,divider:`区切り線`,embed:`埋め込み`,embedHint:`動画、スライド、投稿のアドレス`,image:`画像`,notLink:`ウェブアドレスではありません`,words:e=>`${String(e)} 語`,add:`追加`,caption:`キャプション`,copy:`LinkedIn 用にコピー`,copied:`コピーしました。LinkedIn の記事エディタに貼り付けてください。`}},ko:{loading:`게시물을 여는 중…`,couldNotOpen:e=>`게시물을 열 수 없습니다: ${e}`,unreadable:e=>`이 파일은 작성된 대로는 LinkedIn 게시물이 아니어서 보여 주기만 하고 바꾸지 않습니다: ${e}`,undo:`실행 취소`,redo:`다시 실행`,share:`생각을 공유하세요…`,postTo:e=>`${e}에게 게시`,anyone:`모든 사람`,connections:`1촌만`,addMedia:`사진, 동영상 또는 문서 추가`,addPicture:`사진 추가`,addDocument:`문서(캐러셀) 추가`,addPoll:`투표 만들기`,addLink:`링크 카드 추가`,remove:`제거`,alt:`ALT`,documentTitle:`문서 제목`,made:`게시물을 렌더링할 때 만들어집니다`,question:`질문`,option:e=>`선택지 ${String(e)}`,addOption:`선택지 추가`,removeOption:`선택지 제거`,removePoll:`투표 제거`,duration:`투표 기간`,durations:{ONE_DAY:`1일`,THREE_DAYS:`3일`,SEVEN_DAYS:`1주`,FOURTEEN_DAYS:`2주`},link:{source:`웹 주소`,title:`제목`,description:`설명`,thumbnail:`사진 추가`,notLink:`웹 주소가 아닙니다`,remove:`카드 제거`},left:e=>`${String(e)} 남음`,over:e=>`${String(e)} 초과`,steps:{text:`입력`,visibility:`공개 범위`,media:`미디어`,alt:`대체 텍스트`,title:`문서 제목`,poll:`투표`,link:`링크 카드`},article:{loading:`아티클을 여는 중…`,held:e=>`이 파일의 일부를 LinkedIn 아티클 블록에 담을 수 없어, 고칠 때까지 보여 주기만 하고 바꾸지 않습니다: ${e}번째 줄`,title:`제목`,body:`여기에 쓰세요.`,addCover:`커버 사진 또는 동영상 추가`,changeCover:`커버 바꾸기`,removeCover:`커버 제거`,normal:`본문`,heading:`제목`,subheading:`부제목`,style:`스타일`,bold:`굵게`,italic:`기울임꼴`,link:`링크`,linkHint:`페이지 주소`,removeLink:`링크 제거`,bullets:`글머리 기호 목록`,numbers:`번호 목록`,quote:`인용`,code:`코드 조각`,divider:`구분선`,embed:`삽입`,embedHint:`동영상, 슬라이드 또는 게시물의 주소`,image:`이미지`,notLink:`웹 주소가 아닙니다`,words:e=>`${String(e)}단어`,add:`추가`,caption:`캡션`,copy:`LinkedIn용으로 복사`,copied:`복사했습니다. LinkedIn 아티클 편집기에 붙여 넣으세요.`}},es:{loading:`Abriendo la publicación…`,couldNotOpen:e=>`No se pudo abrir la publicación: ${e}`,unreadable:e=>`Este archivo, tal como está escrito, no es una publicación de LinkedIn, así que se muestra y no se cambia: ${e}`,undo:`Deshacer`,redo:`Rehacer`,share:`Comparte tus ideas...`,postTo:e=>`Publicar para ${e}`,anyone:`Cualquiera`,connections:`Solo contactos`,addMedia:`Añadir una imagen, un vídeo o un documento`,addPicture:`Añadir una imagen`,addDocument:`Añadir un documento (un carrusel)`,addPoll:`Crear una encuesta`,addLink:`Añadir la tarjeta de un enlace`,remove:`Quitar`,alt:`ALT`,documentTitle:`Título del documento`,made:`Se crea al renderizar la publicación`,question:`Tu pregunta`,option:e=>`Opción ${String(e)}`,addOption:`Añadir opción`,removeOption:`Quitar la opción`,removePoll:`Quitar la encuesta`,duration:`Duración de la encuesta`,durations:{ONE_DAY:`1 día`,THREE_DAYS:`3 días`,SEVEN_DAYS:`1 semana`,FOURTEEN_DAYS:`2 semanas`},link:{source:`Dirección web`,title:`Título`,description:`Descripción`,thumbnail:`Añadir una imagen`,notLink:`Eso no es una dirección web`,remove:`Quitar la tarjeta`},left:e=>`Quedan ${String(e)}`,over:e=>`${String(e)} de más`,steps:{text:`Escritura`,visibility:`Quién lo ve`,media:`Multimedia`,alt:`Texto alternativo`,title:`Título del documento`,poll:`Encuesta`,link:`Tarjeta del enlace`},article:{loading:`Abriendo el artículo…`,held:e=>`Los bloques de artículo de LinkedIn no admiten parte de este archivo, así que se muestra aquí y no se cambia hasta que se corrija: línea ${e}`,title:`Título`,body:`Escribe aquí.`,addCover:`Añadir una imagen o un vídeo de portada`,changeCover:`Cambiar la portada`,removeCover:`Quitar la portada`,normal:`Normal`,heading:`Título`,subheading:`Subtítulo`,style:`Estilo`,bold:`Negrita`,italic:`Cursiva`,link:`Enlace`,linkHint:`La dirección de la página`,removeLink:`Quitar el enlace`,bullets:`Lista con viñetas`,numbers:`Lista numerada`,quote:`Cita`,code:`Fragmento de código`,divider:`Separador`,embed:`Insertar`,embedHint:`La dirección de un vídeo, una presentación o una publicación`,image:`Imagen`,notLink:`Eso no es una dirección web`,words:e=>e===1?`1 palabra`:`${String(e)} palabras`,add:`Añadir`,caption:`Pie de foto`,copy:`Copiar para LinkedIn`,copied:`Copiado. Pégalo en el editor de artículos de LinkedIn.`}},fr:{loading:`Ouverture du post…`,couldNotOpen:e=>`Le post n’a pas pu être ouvert : ${e}`,unreadable:e=>`Tel qu’il est écrit, ce fichier n’est pas un post LinkedIn : il est affiché et n’est pas modifié : ${e}`,undo:`Annuler`,redo:`Rétablir`,share:`Partagez vos idées...`,postTo:e=>`Publier pour ${e}`,anyone:`Tout le monde`,connections:`Relations uniquement`,addMedia:`Ajouter une image, une vidéo ou un document`,addPicture:`Ajouter une image`,addDocument:`Ajouter un document (un carrousel)`,addPoll:`Créer un sondage`,addLink:`Ajouter la carte d’un lien`,remove:`Retirer`,alt:`ALT`,documentTitle:`Titre du document`,made:`Créé au rendu du post`,question:`Votre question`,option:e=>`Option ${String(e)}`,addOption:`Ajouter une option`,removeOption:`Retirer l’option`,removePoll:`Retirer le sondage`,duration:`Durée du sondage`,durations:{ONE_DAY:`1 jour`,THREE_DAYS:`3 jours`,SEVEN_DAYS:`1 semaine`,FOURTEEN_DAYS:`2 semaines`},link:{source:`Adresse web`,title:`Titre`,description:`Description`,thumbnail:`Ajouter une image`,notLink:`Ce n’est pas une adresse web`,remove:`Retirer la carte`},left:e=>`Reste ${String(e)}`,over:e=>`${String(e)} de trop`,steps:{text:`Saisie`,visibility:`Qui le voit`,media:`Médias`,alt:`Texte alternatif`,title:`Titre du document`,poll:`Sondage`,link:`Carte du lien`},article:{loading:`Ouverture de l’article…`,held:e=>`Les blocs d’article de LinkedIn ne peuvent pas contenir une partie de ce fichier : il est affiché ici et n’est pas modifié tant que ce n’est pas corrigé : ligne ${e}`,title:`Titre`,body:`Écrivez ici.`,addCover:`Ajouter une image ou une vidéo de couverture`,changeCover:`Changer la couverture`,removeCover:`Retirer la couverture`,normal:`Normal`,heading:`Titre`,subheading:`Sous-titre`,style:`Style`,bold:`Gras`,italic:`Italique`,link:`Lien`,linkHint:`L’adresse de la page`,removeLink:`Retirer le lien`,bullets:`Liste à puces`,numbers:`Liste numérotée`,quote:`Citation`,code:`Extrait de code`,divider:`Séparateur`,embed:`Intégrer`,embedHint:`L’adresse d’une vidéo, d’une présentation ou d’un post`,image:`Image`,notLink:`Ce n’est pas une adresse web`,words:e=>e<=1?`${String(e)} mot`:`${String(e)} mots`,add:`Ajouter`,caption:`Légende`,copy:`Copier pour LinkedIn`,copied:`Copié. Collez-le dans l’éditeur d’articles de LinkedIn.`}},de:{loading:`Beitrag wird geöffnet…`,couldNotOpen:e=>`Der Beitrag konnte nicht geöffnet werden: ${e}`,unreadable:e=>`Diese Datei ist, so wie sie geschrieben ist, kein LinkedIn-Beitrag. Sie wird gezeigt und nicht geändert: ${e}`,undo:`Rückgängig`,redo:`Wiederholen`,share:`Teilen Sie Ihre Gedanken...`,postTo:e=>`Posten für ${e}`,anyone:`Alle`,connections:`Nur Kontakte`,addMedia:`Bild, Video oder Dokument hinzufügen`,addPicture:`Bild hinzufügen`,addDocument:`Dokument (Karussell) hinzufügen`,addPoll:`Umfrage erstellen`,addLink:`Linkkarte hinzufügen`,remove:`Entfernen`,alt:`ALT`,documentTitle:`Titel des Dokuments`,made:`Wird beim Rendern des Beitrags erstellt`,question:`Ihre Frage`,option:e=>`Option ${String(e)}`,addOption:`Option hinzufügen`,removeOption:`Option entfernen`,removePoll:`Umfrage entfernen`,duration:`Dauer der Umfrage`,durations:{ONE_DAY:`1 Tag`,THREE_DAYS:`3 Tage`,SEVEN_DAYS:`1 Woche`,FOURTEEN_DAYS:`2 Wochen`},link:{source:`Webadresse`,title:`Titel`,description:`Beschreibung`,thumbnail:`Bild hinzufügen`,notLink:`Das ist keine Webadresse`,remove:`Karte entfernen`},left:e=>`Noch ${String(e)}`,over:e=>`${String(e)} zu viel`,steps:{text:`Tippen`,visibility:`Wer es sieht`,media:`Medien`,alt:`Alt-Text`,title:`Titel des Dokuments`,poll:`Umfrage`,link:`Linkkarte`},article:{loading:`Artikel wird geöffnet…`,held:e=>`Die Artikelblöcke von LinkedIn können einen Teil dieser Datei nicht aufnehmen. Sie wird hier gezeigt und nicht geändert, bis das behoben ist: Zeile ${e}`,title:`Titel`,body:`Hier schreiben.`,addCover:`Titelbild oder -video hinzufügen`,changeCover:`Titelbild ändern`,removeCover:`Titelbild entfernen`,normal:`Normal`,heading:`Überschrift`,subheading:`Unterüberschrift`,style:`Stil`,bold:`Fett`,italic:`Kursiv`,link:`Link`,linkHint:`Die Adresse der Seite`,removeLink:`Link entfernen`,bullets:`Aufzählung`,numbers:`Nummerierte Liste`,quote:`Zitat`,code:`Code-Snippet`,divider:`Trennlinie`,embed:`Einbetten`,embedHint:`Die Adresse eines Videos, einer Präsentation oder eines Beitrags`,image:`Bild`,notLink:`Das ist keine Webadresse`,words:e=>e===1?`1 Wort`:`${String(e)} Wörter`,add:`Hinzufügen`,caption:`Bildunterschrift`,copy:`Für LinkedIn kopieren`,copied:`Kopiert. Fügen Sie es in den Artikeleditor von LinkedIn ein.`}},pt:{loading:`Abrindo o post…`,couldNotOpen:e=>`Não foi possível abrir o post: ${e}`,unreadable:e=>`Este arquivo, como está escrito, não é um post do LinkedIn, então é mostrado e não alterado: ${e}`,undo:`Desfazer`,redo:`Refazer`,share:`Compartilhe suas ideias...`,postTo:e=>`Publicar para ${e}`,anyone:`Qualquer pessoa`,connections:`Somente conexões`,addMedia:`Adicionar uma imagem, um vídeo ou um documento`,addPicture:`Adicionar uma imagem`,addDocument:`Adicionar um documento (um carrossel)`,addPoll:`Criar uma enquete`,addLink:`Adicionar o cartão de um link`,remove:`Remover`,alt:`ALT`,documentTitle:`Título do documento`,made:`Feito quando o post é renderizado`,question:`Sua pergunta`,option:e=>`Opção ${String(e)}`,addOption:`Adicionar opção`,removeOption:`Remover a opção`,removePoll:`Remover a enquete`,duration:`Duração da enquete`,durations:{ONE_DAY:`1 dia`,THREE_DAYS:`3 dias`,SEVEN_DAYS:`1 semana`,FOURTEEN_DAYS:`2 semanas`},link:{source:`Endereço da web`,title:`Título`,description:`Descrição`,thumbnail:`Adicionar uma imagem`,notLink:`Isso não é um endereço da web`,remove:`Remover o cartão`},left:e=>`Restam ${String(e)}`,over:e=>`${String(e)} a mais`,steps:{text:`Digitação`,visibility:`Quem vê`,media:`Mídia`,alt:`Texto alternativo`,title:`Título do documento`,poll:`Enquete`,link:`Cartão do link`},article:{loading:`Abrindo o artigo…`,held:e=>`Os blocos de artigo do LinkedIn não comportam parte deste arquivo, então ele é mostrado aqui e não alterado até que seja corrigido: linha ${e}`,title:`Título`,body:`Escreva aqui.`,addCover:`Adicionar uma imagem ou um vídeo de capa`,changeCover:`Trocar a capa`,removeCover:`Remover a capa`,normal:`Normal`,heading:`Título`,subheading:`Subtítulo`,style:`Estilo`,bold:`Negrito`,italic:`Itálico`,link:`Link`,linkHint:`O endereço da página`,removeLink:`Remover o link`,bullets:`Lista com marcadores`,numbers:`Lista numerada`,quote:`Citação`,code:`Trecho de código`,divider:`Divisor`,embed:`Incorporar`,embedHint:`O endereço de um vídeo, uma apresentação ou um post`,image:`Imagem`,notLink:`Isso não é um endereço da web`,words:e=>e===1?`1 palavra`:`${String(e)} palavras`,add:`Adicionar`,caption:`Legenda`,copy:`Copiar para o LinkedIn`,copied:`Copiado. Cole no editor de artigos do LinkedIn.`}}});function se(){return $.of(t()?.locale)}export{y as _,ae as a,X as c,L as d,P as f,g,_ as h,Q as i,I as l,T as m,$ as n,Z as o,b as p,oe as r,B as s,se as t,ie as u,v,p as y};