allyhub 0.9.0 → 0.11.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.
- package/CHANGELOG.md +16 -0
- package/dist/commands/auth.js +4 -4
- package/dist/commands/cloud-tools.js +11 -11
- package/dist/commands/dev.js +2 -2
- package/dist/commands/frames/compare.js +2 -2
- package/dist/commands/frames/piece.js +1 -1
- package/dist/commands/frames/report.js +2 -0
- package/dist/commands/frames.js +11 -9
- package/dist/commands/index.js +1 -1
- package/dist/commands/inspect/common.js +4 -2
- package/dist/commands/inspect/facts.js +3 -3
- package/dist/commands/inspect/layout.js +1 -1
- package/dist/commands/orgs.js +2 -2
- package/dist/commands/render.js +2 -2
- package/dist/help.js +4 -4
- package/dist/main.js +8 -7
- package/dist/node_modules/@allyhub/3d-extension/dist/stage-routes.js +1 -1
- package/dist/node_modules/@allyhub/3d-extension/package.json +34 -2
- package/dist/node_modules/@allyhub/audio/package.json +1 -1
- package/dist/node_modules/@allyhub/browser/dist/emoji.d.ts +29 -0
- package/dist/node_modules/@allyhub/browser/dist/emoji.js +57 -0
- package/dist/node_modules/@allyhub/browser/dist/picture.d.ts +18 -0
- package/dist/node_modules/@allyhub/browser/dist/picture.js +2 -0
- package/dist/node_modules/@allyhub/browser/package.json +9 -1
- package/dist/node_modules/@allyhub/build/dist/index.d.ts +1 -0
- package/dist/node_modules/@allyhub/build/dist/index.js +1 -1
- package/dist/node_modules/@allyhub/build/dist/kind-build.d.ts +7 -0
- package/dist/node_modules/@allyhub/build/dist/made-notes.d.ts +9 -0
- package/dist/node_modules/@allyhub/build/dist/made-notes.js +2 -0
- package/dist/node_modules/@allyhub/build/dist/project-tool.d.ts +17 -0
- package/dist/node_modules/@allyhub/build/dist/stage-route.d.ts +7 -0
- package/dist/node_modules/@allyhub/build/package.json +1 -1
- package/dist/node_modules/@allyhub/canvas-extension/package.json +2 -1
- package/dist/node_modules/@allyhub/canvas-extension/skills/allyhub/references/canvas.md +4 -24
- package/dist/node_modules/@allyhub/canvas-model/package.json +1 -1
- package/dist/node_modules/@allyhub/chart/dist/chart-xml.js +2 -2
- package/dist/node_modules/@allyhub/chart/dist/chart.js +1 -1
- package/dist/node_modules/@allyhub/chart/package.json +1 -1
- package/dist/node_modules/@allyhub/check/package.json +1 -1
- package/dist/node_modules/@allyhub/cloud/dist/client.d.ts +10 -0
- package/dist/node_modules/@allyhub/cloud/dist/client.js +1 -1
- package/dist/node_modules/@allyhub/cloud/dist/config.d.ts +9 -0
- package/dist/node_modules/@allyhub/cloud/dist/config.js +1 -1
- package/dist/node_modules/@allyhub/cloud/dist/credentials.d.ts +4 -4
- package/dist/node_modules/@allyhub/cloud/dist/credentials.js +2 -2
- package/dist/node_modules/@allyhub/cloud/dist/device.d.ts +12 -0
- package/dist/node_modules/@allyhub/cloud/dist/device.js +2 -0
- package/dist/node_modules/@allyhub/cloud/package.json +1 -1
- package/dist/node_modules/@allyhub/components/package.json +1 -1
- package/dist/node_modules/@allyhub/components/r/callout.json +1 -1
- package/dist/node_modules/@allyhub/components/src/callout.ts +98 -13
- package/dist/node_modules/@allyhub/dev-server/dist/exports.js +1 -1
- package/dist/node_modules/@allyhub/dev-server/dist/index.js +1 -1
- package/dist/node_modules/@allyhub/dev-server/dist/inputs.js +2 -0
- package/dist/node_modules/@allyhub/dev-server/dist/live.js +1 -1
- package/dist/node_modules/@allyhub/dev-server/dist/pages.js +2 -0
- package/dist/node_modules/@allyhub/dev-server/dist/ports.js +2 -0
- package/dist/node_modules/@allyhub/dev-server/dist/project.js +1 -1
- package/dist/node_modules/@allyhub/dev-server/dist/record.js +1 -1
- package/dist/node_modules/@allyhub/dev-server/dist/respond.js +2 -0
- package/dist/node_modules/@allyhub/dev-server/dist/reveal.js +1 -1
- package/dist/node_modules/@allyhub/dev-server/dist/routes.js +1 -1
- package/dist/node_modules/@allyhub/dev-server/dist/server.js +2 -2
- package/dist/node_modules/@allyhub/dev-server/dist/tools.js +1 -1
- package/dist/node_modules/@allyhub/dev-server/dist/watcher.js +1 -1
- package/dist/node_modules/@allyhub/dev-server/package.json +1 -1
- package/dist/node_modules/@allyhub/diagnostics/dist/problem.d.ts +7 -0
- package/dist/node_modules/@allyhub/diagnostics/package.json +1 -1
- package/dist/node_modules/@allyhub/doc/dist/captions.js +1 -1
- package/dist/node_modules/@allyhub/doc/dist/docx.js +4 -4
- package/dist/node_modules/@allyhub/doc/dist/html.js +51 -92
- package/dist/node_modules/@allyhub/doc/dist/model.js +1 -1
- package/dist/node_modules/@allyhub/doc/dist/page.js +1 -1
- package/dist/node_modules/@allyhub/doc/dist/paper.js +1 -1
- package/dist/node_modules/@allyhub/doc/dist/table.js +1 -1
- package/dist/node_modules/@allyhub/doc/dist/write.js +22 -22
- package/dist/node_modules/@allyhub/doc/package.json +1 -1
- package/dist/node_modules/@allyhub/doc-extension/dist/export.js +1 -1
- package/dist/node_modules/@allyhub/doc-extension/package.json +19 -6
- package/dist/node_modules/@allyhub/doc-print/dist/pages.js +5 -5
- package/dist/node_modules/@allyhub/doc-print/dist/print.js +10 -10
- package/dist/node_modules/@allyhub/doc-print/package.json +1 -1
- package/dist/node_modules/@allyhub/export/dist/export.js +1 -1
- package/dist/node_modules/@allyhub/export/package.json +1 -1
- package/dist/node_modules/@allyhub/extension-api/package.json +1 -1
- package/dist/node_modules/@allyhub/extension-host/dist/points.js +1 -1
- package/dist/node_modules/@allyhub/extension-host/package.json +1 -1
- package/dist/node_modules/@allyhub/formats/dist/data/faces.d.ts +1 -1
- package/dist/node_modules/@allyhub/formats/dist/data/sheet.d.ts +87 -1
- package/dist/node_modules/@allyhub/formats/dist/data/sheet.js +1 -1
- package/dist/node_modules/@allyhub/formats/dist/data/slides.d.ts +89 -0
- package/dist/node_modules/@allyhub/formats/dist/data/slides.js +1 -1
- package/dist/node_modules/@allyhub/formats/dist/note-shape.d.ts +20 -0
- package/dist/node_modules/@allyhub/formats/dist/note-shape.js +1 -1
- package/dist/node_modules/@allyhub/formats/dist/schemas.d.ts +50 -0
- package/dist/node_modules/@allyhub/formats/package.json +1 -1
- package/dist/node_modules/@allyhub/i18n/package.json +1 -1
- package/dist/node_modules/@allyhub/image-draw/package.json +1 -1
- package/dist/node_modules/@allyhub/image-extension/dist/export.js +4 -1
- package/dist/node_modules/@allyhub/image-extension/package.json +16 -6
- package/dist/node_modules/@allyhub/image-extension/skills/allyhub/references/images.md +7 -39
- package/dist/node_modules/@allyhub/image-measure/package.json +1 -1
- package/dist/node_modules/@allyhub/image-psd/package.json +1 -1
- package/dist/node_modules/@allyhub/image-render/package.json +1 -1
- package/dist/node_modules/@allyhub/image-runtime/package.json +1 -1
- package/dist/node_modules/@allyhub/image-sdk/package.json +1 -1
- package/dist/node_modules/@allyhub/jobs/package.json +1 -1
- package/dist/node_modules/@allyhub/linkedin-extension/LICENSE +241 -0
- package/dist/node_modules/@allyhub/linkedin-extension/dist/article-build.js +2 -0
- package/dist/node_modules/@allyhub/linkedin-extension/dist/article-kind.js +2 -0
- package/dist/node_modules/@allyhub/linkedin-extension/dist/build-plugins.js +2 -0
- package/dist/node_modules/@allyhub/linkedin-extension/dist/build.js +5 -0
- package/dist/node_modules/@allyhub/linkedin-extension/dist/media.js +2 -0
- package/dist/node_modules/@allyhub/linkedin-extension/dist/stage-module.js +82 -0
- package/dist/node_modules/@allyhub/linkedin-extension/dist/stage.js +2 -0
- package/dist/node_modules/@allyhub/linkedin-extension/dist/workspace.js +2 -0
- package/dist/node_modules/@allyhub/linkedin-extension/package.json +287 -0
- package/dist/node_modules/@allyhub/linkedin-extension/skills/allyhub/references/linkedin.md +12 -0
- package/dist/node_modules/@allyhub/linkedin-model/LICENSE +241 -0
- package/dist/node_modules/@allyhub/linkedin-model/dist/article-check.js +5 -0
- package/dist/node_modules/@allyhub/linkedin-model/dist/article.js +3 -0
- package/dist/node_modules/@allyhub/linkedin-model/dist/check.js +2 -0
- package/dist/node_modules/@allyhub/linkedin-model/dist/count.js +3 -0
- package/dist/node_modules/@allyhub/linkedin-model/dist/edit.js +3 -0
- package/dist/node_modules/@allyhub/linkedin-model/dist/html.js +19 -0
- package/dist/node_modules/@allyhub/linkedin-model/dist/index.js +2 -0
- package/dist/node_modules/@allyhub/linkedin-model/dist/limits.js +2 -0
- package/dist/node_modules/@allyhub/linkedin-model/dist/little.js +2 -0
- package/dist/node_modules/@allyhub/linkedin-model/dist/post.js +2 -0
- package/dist/node_modules/@allyhub/linkedin-model/dist/requests.js +2 -0
- package/dist/node_modules/@allyhub/linkedin-model/package.json +14 -0
- package/dist/node_modules/@allyhub/linkedin-view/LICENSE +241 -0
- package/dist/node_modules/@allyhub/linkedin-view/dist/article.js +2 -0
- package/dist/node_modules/@allyhub/linkedin-view/dist/fold.js +3 -0
- package/dist/node_modules/@allyhub/linkedin-view/dist/index.js +2 -0
- package/dist/node_modules/@allyhub/linkedin-view/dist/post.js +2 -0
- package/dist/node_modules/@allyhub/linkedin-view/dist/stage.js +2 -0
- package/dist/node_modules/@allyhub/linkedin-view/dist/text.js +2 -0
- package/dist/node_modules/@allyhub/linkedin-view/package.json +21 -0
- package/dist/node_modules/@allyhub/linkedin-view/src/style.css +600 -0
- package/dist/node_modules/@allyhub/measure/package.json +1 -1
- package/dist/node_modules/@allyhub/media/package.json +1 -1
- package/dist/node_modules/@allyhub/media-extension/dist/vision/faces.js +1 -1
- package/dist/node_modules/@allyhub/media-extension/package.json +7 -4
- package/dist/node_modules/@allyhub/model/package.json +1 -1
- package/dist/node_modules/@allyhub/ooxml/dist/geometry/index.js +1 -1
- package/dist/node_modules/@allyhub/ooxml/package.json +1 -1
- package/dist/node_modules/@allyhub/piece/dist/layer.d.ts +2 -0
- package/dist/node_modules/@allyhub/piece/dist/layout.d.ts +16 -0
- package/dist/node_modules/@allyhub/piece/dist/page/index.d.ts +1 -1
- package/dist/node_modules/@allyhub/piece/dist/page/index.js +1 -1
- package/dist/node_modules/@allyhub/piece/dist/page/locate.d.ts +14 -1
- package/dist/node_modules/@allyhub/piece/dist/page/locate.js +1 -1
- package/dist/node_modules/@allyhub/piece/dist/stage.d.ts +18 -0
- package/dist/node_modules/@allyhub/piece/package.json +1 -1
- package/dist/node_modules/@allyhub/project/dist/version.js +1 -1
- package/dist/node_modules/@allyhub/project/package.json +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/account.d.ts +140 -0
- package/dist/node_modules/@allyhub/protocol/dist/account.js +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/auth.d.ts +19 -1
- package/dist/node_modules/@allyhub/protocol/dist/auth.js +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/cloud.d.ts +157 -0
- package/dist/node_modules/@allyhub/protocol/dist/cloud.js +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/editor.d.ts +10 -2
- package/dist/node_modules/@allyhub/protocol/dist/editor.js +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/frame.d.ts +101 -186
- package/dist/node_modules/@allyhub/protocol/dist/frame.js +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/mail.d.ts +1 -0
- package/dist/node_modules/@allyhub/protocol/dist/mail.js +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/notes.d.ts +92 -94
- package/dist/node_modules/@allyhub/protocol/dist/notes.js +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/snapshots.d.ts +17 -0
- package/dist/node_modules/@allyhub/protocol/dist/snapshots.js +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/teams.d.ts +7 -0
- package/dist/node_modules/@allyhub/protocol/dist/teams.js +1 -1
- package/dist/node_modules/@allyhub/protocol/dist/tools.d.ts +15 -3
- package/dist/node_modules/@allyhub/protocol/dist/tools.js +1 -1
- package/dist/node_modules/@allyhub/protocol/package.json +1 -1
- package/dist/node_modules/@allyhub/registry/package.json +1 -1
- package/dist/node_modules/@allyhub/render/dist/encode.js +1 -1
- package/dist/node_modules/@allyhub/render/dist/index.js +1 -1
- package/dist/node_modules/@allyhub/render/dist/look.js +1 -1
- package/dist/node_modules/@allyhub/render/dist/render.js +2 -2
- package/dist/node_modules/@allyhub/render/package.json +1 -1
- package/dist/node_modules/@allyhub/report-extension/LICENSE +241 -0
- package/dist/node_modules/@allyhub/report-extension/dist/build.js +2 -0
- package/dist/node_modules/@allyhub/report-extension/dist/check.js +3 -0
- package/dist/node_modules/@allyhub/report-extension/dist/cli/find.js +2 -0
- package/dist/node_modules/@allyhub/report-extension/dist/cli/index.js +5 -0
- package/dist/node_modules/@allyhub/report-extension/dist/cli/picture.js +2 -0
- package/dist/node_modules/@allyhub/report-extension/dist/export.js +2 -0
- package/dist/node_modules/@allyhub/report-extension/dist/inline.js +58 -0
- package/dist/node_modules/@allyhub/report-extension/dist/page.js +21 -0
- package/dist/node_modules/@allyhub/report-extension/dist/project-tools.js +21 -0
- package/dist/node_modules/@allyhub/report-extension/dist/styles.js +5 -0
- package/dist/node_modules/@allyhub/report-extension/dist/theme.js +2 -0
- package/dist/node_modules/@allyhub/report-extension/dist/tools.js +2 -0
- package/dist/node_modules/@allyhub/report-extension/dist/workspace.js +2 -0
- package/dist/node_modules/@allyhub/report-extension/package.json +182 -0
- package/dist/node_modules/@allyhub/report-extension/styles/allyhub/STYLE.md +132 -0
- package/dist/node_modules/@allyhub/report-extension/styles/allyhub/style.css +105 -0
- package/dist/node_modules/@allyhub/report-extension/styles/allyhub/style.json +17 -0
- package/dist/node_modules/@allyhub/report-extension/styles/allyhub/tokens.js +38 -0
- package/dist/node_modules/@allyhub/runtime/dist/compose.js +1 -1
- package/dist/node_modules/@allyhub/runtime/dist/embed.js +1 -1
- package/dist/node_modules/@allyhub/runtime/dist/player/clips.js +1 -1
- package/dist/node_modules/@allyhub/runtime/dist/player/player.js +1 -1
- package/dist/node_modules/@allyhub/runtime/package.json +1 -1
- package/dist/node_modules/@allyhub/runtimes/package.json +1 -1
- package/dist/node_modules/@allyhub/scaffold/package.json +1 -1
- package/dist/node_modules/@allyhub/scenery/dist/index.d.ts +2 -2
- package/dist/node_modules/@allyhub/scenery/dist/index.js +1 -1
- package/dist/node_modules/@allyhub/scenery/dist/moire.d.ts +45 -5
- package/dist/node_modules/@allyhub/scenery/dist/moire.js +2 -2
- package/dist/node_modules/@allyhub/scenery/dist/phone.d.ts +4 -3
- package/dist/node_modules/@allyhub/scenery/dist/phone.js +1 -1
- package/dist/node_modules/@allyhub/scenery/package.json +1 -1
- package/dist/node_modules/@allyhub/scenery-host/dist/layer/grade.d.ts +7 -0
- package/dist/node_modules/@allyhub/scenery-host/dist/layer/grade.js +2 -0
- package/dist/node_modules/@allyhub/scenery-host/dist/layer/index.d.ts +4 -3
- package/dist/node_modules/@allyhub/scenery-host/dist/layer/index.js +1 -1
- package/dist/node_modules/@allyhub/scenery-host/dist/layer/screens.d.ts +1 -1
- package/dist/node_modules/@allyhub/scenery-host/dist/layer/screens.js +1 -1
- package/dist/node_modules/@allyhub/scenery-host/dist/measure/facts.js +1 -1
- package/dist/node_modules/@allyhub/scenery-host/dist/page/screens.d.ts +8 -0
- package/dist/node_modules/@allyhub/scenery-host/dist/page/screens.js +1 -1
- package/dist/node_modules/@allyhub/scenery-host/dist/viewer.d.ts +6 -0
- package/dist/node_modules/@allyhub/scenery-host/dist/viewer.js +1 -1
- package/dist/node_modules/@allyhub/scenery-host/package.json +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/calc/coerce.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/calc/engine.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/calc/functions/criteria.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/calc/functions/date.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/calc/functions/define.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/calc/functions/info.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/calc/functions/kernels.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/calc/functions/lookup.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/calc/functions/maths.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/calc/functions/text.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/calc/indexes.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/calc/types.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/chart.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/export.js +2 -4
- package/dist/node_modules/@allyhub/sheet/dist/formula/move.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/formula/parse.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/formula/print.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/index.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/inspect.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/printed.js +2 -0
- package/dist/node_modules/@allyhub/sheet/dist/values.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/workbook.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/write.js +15 -15
- package/dist/node_modules/@allyhub/sheet/dist/xlsx/charts.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/xlsx/formula.js +2 -2
- package/dist/node_modules/@allyhub/sheet/dist/xlsx/import.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/xlsx/read.js +2 -2
- package/dist/node_modules/@allyhub/sheet/dist/xlsx/sax.js +3 -1
- package/dist/node_modules/@allyhub/sheet/dist/xlsx/styles.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/xlsx/write.js +1 -1
- package/dist/node_modules/@allyhub/sheet/dist/xlsx/xml.js +3 -2
- package/dist/node_modules/@allyhub/sheet/package.json +1 -1
- package/dist/node_modules/@allyhub/sheet-extension/dist/export.js +2 -6
- package/dist/node_modules/@allyhub/sheet-extension/package.json +24 -9
- package/dist/node_modules/@allyhub/slides-core/dist/api.js +2 -2
- package/dist/node_modules/@allyhub/slides-core/dist/capabilities.js +1 -1
- package/dist/node_modules/@allyhub/slides-core/dist/enums.js +1 -1
- package/dist/node_modules/@allyhub/slides-core/dist/measure.js +1 -1
- package/dist/node_modules/@allyhub/slides-core/dist/resolve.js +1 -1
- package/dist/node_modules/@allyhub/slides-core/dist/sdk.js +1 -1
- package/dist/node_modules/@allyhub/slides-core/package.json +1 -1
- package/dist/node_modules/@allyhub/slides-extension/dist/export.js +1 -1
- package/dist/node_modules/@allyhub/slides-extension/package.json +22 -16
- package/dist/node_modules/@allyhub/slides-pptx/dist/import/code.js +2 -2
- package/dist/node_modules/@allyhub/slides-pptx/dist/import/index.js +2 -2
- package/dist/node_modules/@allyhub/slides-pptx/dist/read/common.js +1 -1
- package/dist/node_modules/@allyhub/slides-pptx/dist/read/shapes.js +1 -1
- package/dist/node_modules/@allyhub/slides-pptx/dist/read/text.js +1 -1
- package/dist/node_modules/@allyhub/slides-pptx/dist/shapes.js +1 -1
- package/dist/node_modules/@allyhub/slides-pptx/dist/text.js +1 -1
- package/dist/node_modules/@allyhub/slides-pptx/dist/write.js +2 -2
- package/dist/node_modules/@allyhub/slides-pptx/dist/xml.js +1 -1
- package/dist/node_modules/@allyhub/slides-pptx/package.json +1 -1
- package/dist/node_modules/@allyhub/slides-runtime/dist/draw.js +2 -2
- package/dist/node_modules/@allyhub/slides-runtime/dist/load.js +5 -5
- package/dist/node_modules/@allyhub/slides-runtime/package.json +1 -1
- package/dist/node_modules/@allyhub/stage/package.json +1 -1
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/caladea/400-italic.css +19 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/caladea/400.css +19 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/caladea/700-italic.css +19 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/caladea/700.css +19 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/caladea/LICENSE +93 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/caladea/cambria.css +76 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/caladea/files/caladea-latin-400-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/caladea/files/caladea-latin-400-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/caladea/files/caladea-latin-700-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/caladea/files/caladea-latin-700-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/caladea/files/caladea-latin-ext-400-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/caladea/files/caladea-latin-ext-400-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/caladea/files/caladea-latin-ext-700-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/caladea/files/caladea-latin-ext-700-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/400-italic.css +79 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/400.css +79 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/700-italic.css +79 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/700.css +79 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/LICENSE +93 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/courier-new.css +316 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-cyrillic-400-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-cyrillic-400-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-cyrillic-700-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-cyrillic-700-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-cyrillic-ext-400-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-cyrillic-ext-400-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-cyrillic-ext-700-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-cyrillic-ext-700-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-greek-400-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-greek-400-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-greek-700-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-greek-700-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-greek-ext-400-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-greek-ext-400-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-greek-ext-700-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-greek-ext-700-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-hebrew-400-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-hebrew-400-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-hebrew-700-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-hebrew-700-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-latin-400-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-latin-400-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-latin-700-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-latin-700-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-latin-ext-400-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-latin-ext-400-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-latin-ext-700-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-latin-ext-700-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-vietnamese-400-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-vietnamese-400-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-vietnamese-700-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/cousine/files/cousine-vietnamese-700-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/400-italic.css +79 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/400.css +79 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/700-italic.css +79 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/700.css +79 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/LICENSE +93 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-cyrillic-400-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-cyrillic-400-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-cyrillic-700-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-cyrillic-700-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-cyrillic-ext-400-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-cyrillic-ext-400-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-cyrillic-ext-700-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-cyrillic-ext-700-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-greek-400-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-greek-400-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-greek-700-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-greek-700-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-greek-ext-400-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-greek-ext-400-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-greek-ext-700-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-greek-ext-700-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-hebrew-400-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-hebrew-400-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-hebrew-700-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-hebrew-700-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-latin-400-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-latin-400-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-latin-700-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-latin-700-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-latin-ext-400-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-latin-ext-400-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-latin-ext-700-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-latin-ext-700-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-vietnamese-400-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-vietnamese-400-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-vietnamese-700-italic.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/files/tinos-vietnamese-700-normal.woff2 +0 -0
- package/dist/node_modules/@allyhub/stage-page/dist/fonts/tinos/times-new-roman.css +316 -0
- package/dist/node_modules/@allyhub/stage-page/dist/host.js +1 -1
- package/dist/node_modules/@allyhub/stage-page/dist/install.js +1 -1
- package/dist/node_modules/@allyhub/stage-page/dist/runtime/stage.html +3 -0
- package/dist/node_modules/@allyhub/stage-page/dist/runtime/stage.js +1 -1
- package/dist/node_modules/@allyhub/stage-page/package.json +1 -1
- package/dist/node_modules/@allyhub/stage-runtime/dist/runtime.js +18 -18
- package/dist/node_modules/@allyhub/stage-runtime/package.json +1 -1
- package/dist/node_modules/@allyhub/video-core/dist/schema.js +1 -1
- package/dist/node_modules/@allyhub/video-core/package.json +1 -1
- package/dist/node_modules/@allyhub/video-extension/dist/export.js +1 -1
- package/dist/node_modules/@allyhub/video-extension/package.json +17 -4
- package/dist/node_modules/@allyhub/video-measure/dist/version.js +1 -1
- package/dist/node_modules/@allyhub/video-measure/package.json +1 -1
- package/dist/node_modules/@allyhub/video-sdk/dist/phone.js +1 -1
- package/dist/node_modules/@allyhub/video-sdk/package.json +1 -1
- package/dist/node_modules/@allyhub/website/package.json +1 -1
- package/dist/node_modules/@allyhub/website-extension/dist/held.js +2 -0
- package/dist/node_modules/@allyhub/website-extension/dist/preview.js +5 -5
- package/dist/node_modules/@allyhub/website-extension/dist/project-tools.js +24 -1
- package/dist/node_modules/@allyhub/website-extension/dist/tools.js +1 -1
- package/dist/node_modules/@allyhub/website-extension/package.json +49 -2
- package/dist/node_modules/@allyhub/x-extension/dist/build.js +4 -3
- package/dist/node_modules/@allyhub/x-extension/package.json +43 -15
- package/dist/node_modules/@allyhub/x-extension/skills/allyhub/references/x.md +7 -62
- package/dist/node_modules/@allyhub/x-model/package.json +1 -1
- package/dist/node_modules/@allyhub/x-view/dist/article.js +1 -1
- package/dist/node_modules/@allyhub/x-view/dist/index.js +1 -1
- package/dist/node_modules/@allyhub/x-view/dist/post.js +2 -2
- package/dist/node_modules/@allyhub/x-view/package.json +1 -1
- package/dist/package.json +12 -10
- package/dist/text/facts-text.js +5 -5
- package/dist/text/index.js +1 -1
- package/dist/text/long-text.js +4 -0
- package/dist/works.js +1 -1
- package/editor-web/assets/{abnfDiagram-WEYOIA3C-CN5PiJYY.js → abnfDiagram-WEYOIA3C-BKmMA6gn.js} +1 -1
- package/editor-web/assets/{architecture-WOLXFQ4H-BnvZtQYk.js → architecture-WOLXFQ4H-BEFBgb4k.js} +1 -1
- package/editor-web/assets/{architectureDiagram-ZHVYKT53-tkcEcFQ8.js → architectureDiagram-ZHVYKT53-_u5YfCjY.js} +1 -1
- package/editor-web/assets/{arrow-up-DTP2yVSU.js → arrow-up-B5rJbBv0.js} +1 -1
- package/editor-web/assets/article-BUmD3xtR.js +8 -0
- package/editor-web/assets/article-DNioBb3p.js +7 -0
- package/editor-web/assets/{audio-lines-Ti8-m7H2.js → audio-lines-CzuzsGjI.js} +1 -1
- package/editor-web/assets/{blockDiagram-RJAE7QA3-DhqEIpie.js → blockDiagram-RJAE7QA3-DybfaO3Z.js} +1 -1
- package/editor-web/assets/bookmark-Dsd3kHJJ.js +1 -0
- package/editor-web/assets/button-eGxLxbv9.js +41 -0
- package/editor-web/assets/{c4Diagram-XDPPPE54-Bg9G95tl.js → c4Diagram-XDPPPE54-BfqLHB5i.js} +1 -1
- package/editor-web/assets/calc-worker-D2pGis6e.js +45 -0
- package/editor-web/assets/channel-TNPgFDrw.js +1 -0
- package/editor-web/assets/chart-C37xvZT2.js +1 -0
- package/editor-web/assets/chart-no-axes-column-BVkeF_Mr.js +1 -0
- package/editor-web/assets/{chunk-2E7WHVMD-C8Ve9lAa.js → chunk-2E7WHVMD-BVp1I_d0.js} +1 -1
- package/editor-web/assets/{chunk-4EMNKR2T-BDWwPUnT.js → chunk-4EMNKR2T-CTdgWEMr.js} +1 -1
- package/editor-web/assets/{chunk-55XCU76K-BQiNPKgx.js → chunk-55XCU76K-7pnsxeaP.js} +1 -1
- package/editor-web/assets/{chunk-7S6XSTFO-QoEt-6jf.js → chunk-7S6XSTFO-Dc0Dvkq7.js} +1 -1
- package/editor-web/assets/{chunk-AQDTSKZB-BeuwIv0-.js → chunk-AQDTSKZB-VAILIsfx.js} +1 -1
- package/editor-web/assets/{chunk-DSNLSHJZ-BHW7sLAz.js → chunk-DSNLSHJZ-CUDx1Rv5.js} +1 -1
- package/editor-web/assets/{chunk-HAGFOTED-bbGED0hu.js → chunk-HAGFOTED-DAoEe-dJ.js} +1 -1
- package/editor-web/assets/{chunk-HNE4Q36P-FltWp8yo.js → chunk-HNE4Q36P-g0akya12.js} +1 -1
- package/editor-web/assets/{chunk-NQOKRVIF-NeQzr6kH.js → chunk-NQOKRVIF-hTGjzXdJ.js} +1 -1
- package/editor-web/assets/{chunk-UHW7PFBP-eA4-WUhn.js → chunk-UHW7PFBP-BgLV8BIJ.js} +1 -1
- package/editor-web/assets/{chunk-VQ5W62QI-BPPv325z.js → chunk-VQ5W62QI-Bw19OOSD.js} +1 -1
- package/editor-web/assets/{chunk-WQQL4CDK-DOCIz7Te.js → chunk-WQQL4CDK-CMST9dyE.js} +1 -1
- package/editor-web/assets/{chunk-YZO67HFG-Dc_ihQJi.js → chunk-YZO67HFG-Bbpu36XF.js} +1 -1
- package/editor-web/assets/{chunk-ZAUX2LTX-CoqwCPSm.js → chunk-ZAUX2LTX-C48Ri0Gs.js} +1 -1
- package/editor-web/assets/{chunk-ZCHMQSOR-CZUQPkJx.js → chunk-ZCHMQSOR-DN1g01Oe.js} +1 -1
- package/editor-web/assets/{classDiagram-v2-4MYWR3UA-DUh9c50k.js → classDiagram-v2-4MYWR3UA-U6jbPr2d.js} +1 -1
- package/editor-web/assets/collaborator-B1u2td9m.js +1 -0
- package/editor-web/assets/createLucideIcon-GFZ_fxLc.js +1 -0
- package/editor-web/assets/{cynefin-EF2NZ3EQ-DUTZiog0.js → cynefin-EF2NZ3EQ-gzkai_7-.js} +1 -1
- package/editor-web/assets/{cynefinDiagram-WF24UDRP-oAjpfbrU.js → cynefinDiagram-WF24UDRP-DtSekSr6.js} +1 -1
- package/editor-web/assets/{dagre-NK4GIZVX-BrKvKCvb.js → dagre-NK4GIZVX-CiUwYVT6.js} +1 -1
- package/editor-web/assets/{diagram-CBK3MWTC-GekVRnmm.js → diagram-CBK3MWTC-r9XHCV-k.js} +1 -1
- package/editor-web/assets/{diagram-I5XIIV2D-CDd1VFRT.js → diagram-I5XIIV2D-DxVsDZ34.js} +1 -1
- package/editor-web/assets/{diagram-ODIL2UCW-535RISTn.js → diagram-ODIL2UCW-B0eNQoHV.js} +1 -1
- package/editor-web/assets/{diagram-PFBEJUXE-MXzzKCGG.js → diagram-PFBEJUXE-C7f2MfJT.js} +1 -1
- package/editor-web/assets/{diagram-RJA3I4VV-vKVwkQxY.js → diagram-RJA3I4VV-CSXcnvct.js} +1 -1
- package/editor-web/assets/{diagram-TYUNFSNR-UwGAiQLx.js → diagram-TYUNFSNR-DXzOD_ii.js} +1 -1
- package/editor-web/assets/dist-BGRwhCQO.js +1 -0
- package/editor-web/assets/{dist-9ymlIMhr.js → dist-BW4X7BrF.js} +1 -1
- package/editor-web/assets/dist-BgDRE85b.js +2 -0
- package/editor-web/assets/dist-Blq5nJnU.js +24 -0
- package/editor-web/assets/dist-BuWaZ3Y4.js +274 -0
- package/editor-web/assets/dist-C1emZ9wX.js +37 -0
- package/editor-web/assets/dist-CC7OeU1e.js +6 -0
- package/editor-web/assets/dist-CX-fiPSn.js +38 -0
- package/editor-web/assets/dist-C_VvG-_9.js +5 -0
- package/editor-web/assets/dist-Ce7HrBxv.js +3 -0
- package/editor-web/assets/dist-D2k6w-_a.js +1 -0
- package/editor-web/assets/dist-DDv_SbKw.js +84 -0
- package/editor-web/assets/dist-DEoEO4zs.js +1 -0
- package/editor-web/assets/dist-DlDxxPIP.js +16 -0
- package/editor-web/assets/dist-Gz6NDS0J.js +4 -0
- package/editor-web/assets/{ebnfDiagram-V4P3TTPT-73yGokYa.js → ebnfDiagram-V4P3TTPT-Cs4YRvDD.js} +1 -1
- package/editor-web/assets/{elk-QONTBCTQ-BW6V9y6a.js → elk-QONTBCTQ-Bh3LZ9WI.js} +1 -1
- package/editor-web/assets/{erDiagram-KYQIGQAA-BPqIJ22h.js → erDiagram-KYQIGQAA-C4vYTYXp.js} +1 -1
- package/editor-web/assets/{eventmodeling-K75KTNOO-_VZ8jvuy.js → eventmodeling-K75KTNOO-BN1kkHWS.js} +1 -1
- package/editor-web/assets/flowDiagram-IUGLLWBU-B04NGsyi.js +1 -0
- package/editor-web/assets/{ganttDiagram-R7GPNTJY-DZ157JN2.js → ganttDiagram-R7GPNTJY-CA1LkkC5.js} +1 -1
- package/editor-web/assets/{gitGraph-VSP46ZUC-fmcNL9bq.js → gitGraph-VSP46ZUC-Dy5tA7dG.js} +1 -1
- package/editor-web/assets/{gitGraphDiagram-PDYL7XHY-DiZDyksR.js → gitGraphDiagram-PDYL7XHY-hJIB8EkH.js} +1 -1
- package/editor-web/assets/hint-B8JpEypy.js +1 -0
- package/editor-web/assets/index-CgB5osVc.js +28 -0
- package/editor-web/assets/index-Daytem9N.css +2 -0
- package/editor-web/assets/{info-OHQRW6UA-V06620kN.js → info-OHQRW6UA-DvzSf7rQ.js} +1 -1
- package/editor-web/assets/{infoDiagram-MVDRKAX5-CbIgheWX.js → infoDiagram-MVDRKAX5-BjIMm4Af.js} +1 -1
- package/editor-web/assets/{ishikawaDiagram-HPEHV2GE-D5oJQPkG.js → ishikawaDiagram-HPEHV2GE-Bpz71S40.js} +1 -1
- package/editor-web/assets/{italic-CDhZKo_q.js → italic-D10w8n6C.js} +1 -1
- package/editor-web/assets/{journeyDiagram-BOSHW7O7-BZEv6JI4.js → journeyDiagram-BOSHW7O7-DAB-pZjD.js} +1 -1
- package/editor-web/assets/{kanban-definition-FNSA4HC5-CLG1R8y_.js → kanban-definition-FNSA4HC5-cYeyh3P6.js} +1 -1
- package/editor-web/assets/katex-5Z2zF-9g.js +257 -0
- package/editor-web/assets/link-BC5xK1-1.js +1 -0
- package/editor-web/assets/{mermaid-parser.core-DxDwXM7z.js → mermaid-parser.core-req5LE0X.js} +3 -3
- package/editor-web/assets/{mermaid.core-tU55ZwVG.js → mermaid.core-zFwZug4C.js} +4 -4
- package/editor-web/assets/{mindmap-definition-6OY57UG3-CYf4zzAh.js → mindmap-definition-6OY57UG3-TStWb7DG.js} +1 -1
- package/editor-web/assets/minus-DaWs5i8B.js +1 -0
- package/editor-web/assets/{packet-JDAUHWVQ-DsHeKYNL.js → packet-JDAUHWVQ-smFhVKcB.js} +1 -1
- package/editor-web/assets/palette-BIOudGkm.js +1 -0
- package/editor-web/assets/{pegDiagram-ECIUJNBX-CQyh6TTa.js → pegDiagram-ECIUJNBX-DvSNRv0-.js} +1 -1
- package/editor-web/assets/{pie-XZMESJXO-3vCIvpNB.js → pie-XZMESJXO-qjaGsBZG.js} +1 -1
- package/editor-web/assets/{pieDiagram-GNMPY74T-DF5yGBLn.js → pieDiagram-GNMPY74T-Dd9P-Pdc.js} +1 -1
- package/editor-web/assets/play-CrMmPghG.js +1 -0
- package/editor-web/assets/progress-DE4C5_3x.js +6 -0
- package/editor-web/assets/props-form-CsmDBqzy.js +1 -0
- package/editor-web/assets/{quadrantDiagram-D57K4MC3-B7pxlDYP.js → quadrantDiagram-D57K4MC3-h2IIKUUA.js} +1 -1
- package/editor-web/assets/{radar-ABXABTNO-cpEA41mL.js → radar-ABXABTNO-DlVrSA1d.js} +1 -1
- package/editor-web/assets/{railroad-I3PHUGI6-BLyy5R2c.js → railroad-I3PHUGI6-nFbuLAtc.js} +1 -1
- package/editor-web/assets/{railroad-abnf-LNEFI6M7-Y-oyol19.js → railroad-abnf-LNEFI6M7-Daj8h2iV.js} +1 -1
- package/editor-web/assets/{railroad-ebnf-DWYD2UWJ-o58wHZsr.js → railroad-ebnf-DWYD2UWJ-eYJyl5PH.js} +1 -1
- package/editor-web/assets/{railroad-peg-JR7BVNR7-CcD3PXZ8.js → railroad-peg-JR7BVNR7-BTRhKZQq.js} +1 -1
- package/editor-web/assets/{railroadDiagram-Y72NRBL7-BuCC4eyy.js → railroadDiagram-Y72NRBL7-CeLGUjdp.js} +1 -1
- package/editor-web/assets/react-WA6wlt8S.js +1 -0
- package/editor-web/assets/{repeat-2-C5PCbNsg.js → repeat-2-VQP1EVOZ.js} +1 -1
- package/editor-web/assets/{requirementDiagram-EQYSW5RA-Dp-JFGn4.js → requirementDiagram-EQYSW5RA-Dmk9XRM5.js} +1 -1
- package/editor-web/assets/row-BRlEWRrK.js +1 -0
- package/editor-web/assets/{sankeyDiagram-SY24JHO5-rYuCqEvw.js → sankeyDiagram-SY24JHO5-Yn4zlrAM.js} +1 -1
- package/editor-web/assets/schemas-VikZYZIK.js +1 -0
- package/editor-web/assets/{sequenceDiagram-BLEHNHQU-DryW8x6d.js → sequenceDiagram-BLEHNHQU-BTRnp_PW.js} +1 -1
- package/editor-web/assets/session-Do9AqS38.js +1 -0
- package/editor-web/assets/slides-diTEQ3C5.js +1 -0
- package/editor-web/assets/snapshots-BUGlKQIB.js +56 -0
- package/editor-web/assets/sound-Bj3o9_Fa.js +1 -0
- package/editor-web/assets/split-CNU1RHcX.js +3 -0
- package/editor-web/assets/{stateDiagram-v2-A6IESKWZ-Bnp0XfpT.js → stateDiagram-v2-A6IESKWZ-kstrRKv2.js} +1 -1
- package/editor-web/assets/{strikethrough-DJckA35o.js → strikethrough-CfXx6IYH.js} +1 -1
- package/editor-web/assets/{svg-BjM9RazX.js → svg-Cx50MpxK.js} +1 -1
- package/editor-web/assets/swatch-WeJD41aW.js +1 -0
- package/editor-web/assets/{swimlanes-B3ENRKFQ-BiRRhhbd.js → swimlanes-B3ENRKFQ-DaZsZkeP.js} +1 -1
- package/editor-web/assets/swimlanesDiagram-AYQRV4AK-CBZAujYY.js +8 -0
- package/editor-web/assets/switch-N0G_sbqt.js +1 -0
- package/editor-web/assets/syntax-BVsgRJ4I.js +66 -0
- package/editor-web/assets/syntax-oWsKBWFw.js +1 -0
- package/editor-web/assets/table-B6hVZAMi.js +1 -0
- package/editor-web/assets/tabs-DIFDqj-l.js +1 -0
- package/editor-web/assets/{textarea-BGtPqZdB.js → textarea-tEWvBY9p.js} +1 -1
- package/editor-web/assets/{timeline-definition-JXYKGLGB-D-Q5ZtDF.js → timeline-definition-JXYKGLGB-CLCvY-Yf.js} +1 -1
- package/editor-web/assets/{trash-2-Bjj6cWzP.js → trash-2-BP6nqpg2.js} +1 -1
- package/editor-web/assets/{treeView-D4JQ5SDB-B6DDatXq.js → treeView-D4JQ5SDB-BmN0gwdC.js} +1 -1
- package/editor-web/assets/{treemap-SAJKECNS-D7j5ZhiI.js → treemap-SAJKECNS-DN29G_E_.js} +1 -1
- package/editor-web/assets/{undo-2-yOSG766T.js → undo-2-CHR0nvWL.js} +1 -1
- package/editor-web/assets/{usecaseDiagram-WPOLBNNX-tkrdKUJB.js → usecaseDiagram-WPOLBNNX-DTRS54cB.js} +1 -1
- package/editor-web/assets/{vennDiagram-Q3Y3IDCW-Ch4XbSnD.js → vennDiagram-Q3Y3IDCW-DAAc11Hx.js} +1 -1
- package/editor-web/assets/video-BlvmR8BK.js +1 -0
- package/editor-web/assets/{wardley-7MLQ67FV-Bynt7qNQ.js → wardley-7MLQ67FV-B-UYkmdB.js} +1 -1
- package/editor-web/assets/{wardleyDiagram-IVAIDKWA-DRuSgm_L.js → wardleyDiagram-IVAIDKWA-BmbwCaky.js} +1 -1
- package/editor-web/assets/words-D_4T9Adq.js +3 -0
- package/editor-web/assets/words-WgdEQdYP.js +2 -0
- package/editor-web/assets/{xychartDiagram-4URNHDU4-DctpvfkL.js → xychartDiagram-4URNHDU4-ChAfAq1U.js} +1 -1
- package/editor-web/index.html +6 -5
- package/package.json +8 -2
- package/editor-web/assets/alt-BOVao_9S.js +0 -4
- package/editor-web/assets/article-B6YCzhj8.js +0 -73
- package/editor-web/assets/calc-worker-B5-fDWnb.js +0 -45
- package/editor-web/assets/channel-C26aBI4o.js +0 -1
- package/editor-web/assets/chart-BOnxneyw.js +0 -1
- package/editor-web/assets/choice-O5nwc2N0.js +0 -1
- package/editor-web/assets/collaborator-BJU5qwHd.js +0 -1
- package/editor-web/assets/createLucideIcon-B3B95oX5.js +0 -1
- package/editor-web/assets/dist-C6NqUEG4.js +0 -16
- package/editor-web/assets/dist-C9UGmCG9.js +0 -6
- package/editor-web/assets/dist-CAk5bjBm.js +0 -1
- package/editor-web/assets/dist-CKyfo5RM.js +0 -340
- package/editor-web/assets/dist-CRaWqNwq.js +0 -37
- package/editor-web/assets/dist-CwIBc7HQ.js +0 -1
- package/editor-web/assets/dist-DXRmkezB.js +0 -38
- package/editor-web/assets/dist-EKK5i0dG.js +0 -219
- package/editor-web/assets/dist-hHJlpLWo.js +0 -5
- package/editor-web/assets/dist-oYKcwWUj.js +0 -4
- package/editor-web/assets/dist-shKo7XVN.js +0 -2
- package/editor-web/assets/dist-wrKxBrVu.js +0 -24
- package/editor-web/assets/flowDiagram-IUGLLWBU-ouDQYiTr.js +0 -1
- package/editor-web/assets/hint-_AQWCDMj.js +0 -1
- package/editor-web/assets/index-BsstP-cI.js +0 -28
- package/editor-web/assets/index-DQRcmxBO.css +0 -2
- package/editor-web/assets/minus-Cgmm6ncD.js +0 -1
- package/editor-web/assets/progress-0B_TVsPi.js +0 -6
- package/editor-web/assets/react-BP46yLMB.js +0 -1
- package/editor-web/assets/react-pgBZqVxJ.js +0 -96
- package/editor-web/assets/schemas-Ewwjtbf4.js +0 -1
- package/editor-web/assets/session-DiI9KYRI.js +0 -1
- package/editor-web/assets/slides-CCwgBcGH.js +0 -1
- package/editor-web/assets/sound-CqryteNl.js +0 -1
- package/editor-web/assets/swatch-DL3HqIjW.js +0 -1
- package/editor-web/assets/swimlanesDiagram-AYQRV4AK-BkOls8Tv.js +0 -8
- package/editor-web/assets/switch-DltnKqN-.js +0 -1
- package/editor-web/assets/syntax-CC6QYhCz.js +0 -1
- package/editor-web/assets/tabs-C-re0Kxn.js +0 -1
- package/editor-web/assets/video-DXFiCNGc.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{t as e}from"./createLucideIcon-GFZ_fxLc.js";var t=e(`link`,[[`path`,{d:`M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71`,key:`1cjeqo`}],[`path`,{d:`M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71`,key:`19qd67`}]]);export{t};
|
package/editor-web/assets/{mermaid-parser.core-DxDwXM7z.js → mermaid-parser.core-req5LE0X.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./info-OHQRW6UA-
|
|
2
|
-
import{t as e}from"./index-
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./info-OHQRW6UA-DvzSf7rQ.js","./chunk-NGNAAXSQ-Bw6tHVuc.js","./packet-JDAUHWVQ-smFhVKcB.js","./pie-XZMESJXO-qjaGsBZG.js","./treeView-D4JQ5SDB-BmN0gwdC.js","./architecture-WOLXFQ4H-BEFBgb4k.js","./gitGraph-VSP46ZUC-Dy5tA7dG.js","./eventmodeling-K75KTNOO-BN1kkHWS.js","./radar-ABXABTNO-DlVrSA1d.js","./railroad-I3PHUGI6-nFbuLAtc.js","./railroad-ebnf-DWYD2UWJ-eYJyl5PH.js","./railroad-abnf-LNEFI6M7-Daj8h2iV.js","./railroad-peg-JR7BVNR7-BTRhKZQq.js","./treemap-SAJKECNS-DN29G_E_.js","./wardley-7MLQ67FV-B-UYkmdB.js","./cynefin-EF2NZ3EQ-gzkai_7-.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{t as e}from"./index-CgB5osVc.js";import{C as t,S as n,_ as r,a as i,b as a,c as o,d as ee,f as te,g as ne,h as re,i as s,l as ie,m as ae,n as c,o as l,p as oe,r as se,s as ce,t as u,u as d,v as le,w as f,x as p,y as ue}from"./chunk-NGNAAXSQ-Bw6tHVuc.js";var de=class extends u{static{p(this,`ArchitectureTokenBuilder`)}constructor(){super([`architecture`])}},fe=class extends c{static{p(this,`ArchitectureValueConverter`)}runCustomConverter(e,t,n){if(e.name===`ARCH_ICON`)return t.replace(/[()]/g,``).trim();if(e.name===`ARCH_TEXT_ICON`)return t.replace(/["()]/g,``);if(e.name===`ARCH_TITLE`){let e=t.replace(/^\[|]$/g,``).trim();return(e.startsWith(`"`)&&e.endsWith(`"`)||e.startsWith(`'`)&&e.endsWith(`'`))&&(e=e.slice(1,-1),e=e.replace(/\\"/g,`"`).replace(/\\'/g,`'`)),e.trim()}}},m={parser:{TokenBuilder:p(()=>new de,`TokenBuilder`),ValueConverter:p(()=>new fe,`ValueConverter`)}};function h(e=l){let r=f(t(e),d),i=f(n({shared:r}),se,m);return r.ServiceRegistry.register(i),{shared:r,Architecture:i}}p(h,`createArchitectureServices`);var pe=class extends u{static{p(this,`CynefinTokenBuilder`)}constructor(){super([`cynefin-beta`])}},g={parser:{TokenBuilder:p(()=>new pe,`TokenBuilder`),ValueConverter:p(()=>new s,`ValueConverter`)}};function _(e=l){let r=f(t(e),d),a=f(n({shared:r}),i,g);return r.ServiceRegistry.register(a),{shared:r,Cynefin:a}}p(_,`createCynefinServices`);var me=class extends u{static{p(this,`EventModelingTokenBuilder`)}constructor(){super([`eventmodeling`])}},v=new Set([`cmd`,`command`]),y=new Set([`evt`,`event`]),b=new Set([`rmo`,`readmodel`]),x=new Set([`pcr`,`processor`]),S=new Set([`ui`]);function C(e){let t=e.validation.EventModelingValidator,n=e.validation.ValidationRegistry;if(n){let e={EmTimeFrame:t.checkSourceFrameTypes.bind(t),EmResetFrame:t.checkSourceFrameTypes.bind(t)};n.register(e,t)}}p(C,`registerValidationChecks`);var he=class{static{p(this,`EventModelingValidator`)}checkSourceFrameTypes(e,t){e.sourceFrames.length!==0&&(v.has(e.modelEntityType)?this.validateSources(e,new Set([...S,...x]),`command`,`ui or processor`,t):y.has(e.modelEntityType)?this.validateSources(e,v,`event`,`command`,t):b.has(e.modelEntityType)?this.validateSources(e,y,`read model`,`event`,t):x.has(e.modelEntityType)?this.validateSources(e,b,`processor`,`read model`,t):S.has(e.modelEntityType)&&this.validateSources(e,b,`ui`,`read model`,t))}validateSources(e,t,n,r,i){for(let a of e.sourceFrames){let o=a.ref;o!==void 0&&!t.has(o.modelEntityType)&&i(`error`,`A ${n} can only receive input from a ${r}, not from '${o.modelEntityType}'.`,{node:e,property:`sourceFrames`})}}},w={parser:{TokenBuilder:p(()=>new me,`TokenBuilder`),ValueConverter:p(()=>new s,`ValueConverter`)},validation:{EventModelingValidator:p(()=>new he,`EventModelingValidator`)}};function T(e=l){let r=f(t(e),d),i=f(n({shared:r}),ce,w);return r.ServiceRegistry.register(i),C(i),{shared:r,EventModel:i}}p(T,`createEventModelingServices`);var ge=class extends u{static{p(this,`GitGraphTokenBuilder`)}constructor(){super([`gitGraph`])}},E={parser:{TokenBuilder:p(()=>new ge,`TokenBuilder`),ValueConverter:p(()=>new s,`ValueConverter`)}};function D(e=l){let r=f(t(e),d),i=f(n({shared:r}),o,E);return r.ServiceRegistry.register(i),{shared:r,GitGraph:i}}p(D,`createGitGraphServices`);var _e=class extends u{static{p(this,`InfoTokenBuilder`)}constructor(){super([`info`,`showInfo`])}},O={parser:{TokenBuilder:p(()=>new _e,`TokenBuilder`),ValueConverter:p(()=>new s,`ValueConverter`)}};function k(e=l){let r=f(t(e),d),i=f(n({shared:r}),ie,O);return r.ServiceRegistry.register(i),{shared:r,Info:i}}p(k,`createInfoServices`);var ve=class extends u{static{p(this,`PacketTokenBuilder`)}constructor(){super([`packet`])}},A={parser:{TokenBuilder:p(()=>new ve,`TokenBuilder`),ValueConverter:p(()=>new s,`ValueConverter`)}};function j(e=l){let r=f(t(e),d),i=f(n({shared:r}),ee,A);return r.ServiceRegistry.register(i),{shared:r,Packet:i}}p(j,`createPacketServices`);var ye=class extends u{static{p(this,`PieTokenBuilder`)}constructor(){super([`pie`,`showData`])}},be=class extends c{static{p(this,`PieValueConverter`)}runCustomConverter(e,t,n){if(e.name===`PIE_SECTION_LABEL`)return t.replace(/"/g,``).trim()}},M={parser:{TokenBuilder:p(()=>new ye,`TokenBuilder`),ValueConverter:p(()=>new be,`ValueConverter`)}};function N(e=l){let r=f(t(e),d),i=f(n({shared:r}),te,M);return r.ServiceRegistry.register(i),{shared:r,Pie:i}}p(N,`createPieServices`);var xe=class extends u{static{p(this,`RadarTokenBuilder`)}constructor(){super([`radar-beta`])}},Se={parser:{TokenBuilder:p(()=>new xe,`TokenBuilder`),ValueConverter:p(()=>new s,`ValueConverter`)}};function P(e=l){let r=f(t(e),d),i=f(n({shared:r}),oe,Se);return r.ServiceRegistry.register(i),{shared:r,Radar:i}}p(P,`createRadarServices`);var Ce=class extends u{static{p(this,`RailroadTokenBuilder`)}constructor(){super([`railroad-beta`])}},F=p(e=>{let t=e.slice(1,-1),n=``;for(let e=0;e<t.length;e++){let r=t[e];if(r===`\\`&&e+1<t.length){e++;let r=t[e];switch(r){case`n`:n+=`
|
|
3
3
|
`;break;case`r`:n+=`\r`;break;case`t`:n+=` `;break;default:n+=r}}else n+=r}return n},`decodeEscapedString`),we=class extends c{static{p(this,`RailroadValueConverter`)}runConverter(e,t,n){let r=super.runConverter(e,t,n);if(e.name===`TITLE`&&typeof r==`string`){let e=r.trim();if(e.startsWith(`"`)&&e.endsWith(`"`)||e.startsWith(`'`)&&e.endsWith(`'`))return F(e)}return r}runCustomConverter(e,t,n){if(e.name===`RR_STRING`)return F(t)}},I={parser:{TokenBuilder:p(()=>new Ce,`TokenBuilder`),ValueConverter:p(()=>new we,`ValueConverter`)}};function L(e=l){let r=f(t(e),d),i=f(n({shared:r}),ne,I);return r.ServiceRegistry.register(i),{shared:r,Railroad:i}}p(L,`createRailroadServices`);var Te=class extends u{static{p(this,`RailroadAbnfTokenBuilder`)}constructor(){super([`railroad-abnf-beta`])}},Ee=class extends c{static{p(this,`RailroadAbnfValueConverter`)}runConverter(e,t,n){let r=super.runConverter(e,t,n);if(e.name===`TITLE`&&typeof r==`string`){let e=r.trim();if(e.startsWith(`"`)&&e.endsWith(`"`)||e.startsWith(`'`)&&e.endsWith(`'`))return e.slice(1,-1)}return r}runCustomConverter(e,t,n){if(e.name===`ABNF_STRING`)return t.slice(1,-1)}},R={parser:{TokenBuilder:p(()=>new Te,`TokenBuilder`),ValueConverter:p(()=>new Ee,`ValueConverter`)}};function z(e=l){let r=f(t(e),d),i=f(n({shared:r}),ae,R);return r.ServiceRegistry.register(i),{shared:r,RailroadAbnf:i}}p(z,`createRailroadAbnfServices`);var De=class extends u{static{p(this,`RailroadEbnfTokenBuilder`)}constructor(){super([`railroad-ebnf-beta`])}},B=p(e=>{let t=e.slice(1,-1),n=``;for(let e=0;e<t.length;e++){let r=t[e];if(r===`\\`&&e+1<t.length){e++;let r=t[e];switch(r){case`n`:n+=`
|
|
4
4
|
`;break;case`r`:n+=`\r`;break;case`t`:n+=` `;break;default:n+=r}}else n+=r}return n},`decodeEscapedString`),Oe=class extends c{static{p(this,`RailroadEbnfValueConverter`)}runConverter(e,t,n){let r=super.runConverter(e,t,n);if(e.name===`TITLE`&&typeof r==`string`){let e=r.trim();if(e.startsWith(`"`)&&e.endsWith(`"`)||e.startsWith(`'`)&&e.endsWith(`'`))return B(e)}return r}runCustomConverter(e,t,n){if(e.name===`EBNF_STRING`)return B(t);if(e.name===`EBNF_SPECIAL_SEQUENCE`)return t.slice(1,-1).trim()}},V={parser:{TokenBuilder:p(()=>new De,`TokenBuilder`),ValueConverter:p(()=>new Oe,`ValueConverter`)}};function H(e=l){let r=f(t(e),d),i=f(n({shared:r}),re,V);return r.ServiceRegistry.register(i),{shared:r,RailroadEbnf:i}}p(H,`createRailroadEbnfServices`);var ke=class extends u{static{p(this,`RailroadPegTokenBuilder`)}constructor(){super([`railroad-peg-beta`])}},U=p(e=>{let t=e.slice(1,-1),n=``;for(let e=0;e<t.length;e++){let r=t[e];if(r===`\\`&&e+1<t.length){e++;let r=t[e];switch(r){case`n`:n+=`
|
|
5
|
-
`;break;case`r`:n+=`\r`;break;case`t`:n+=` `;break;default:n+=r}}else n+=r}return n},`decodeEscapedString`),Ae=class extends c{static{p(this,`RailroadPegValueConverter`)}runConverter(e,t,n){let r=super.runConverter(e,t,n);if(e.name===`TITLE`&&typeof r==`string`){let e=r.trim();if(e.startsWith(`"`)&&e.endsWith(`"`)||e.startsWith(`'`)&&e.endsWith(`'`))return U(e)}return r}runCustomConverter(e,t,n){if(e.name===`PEG_STRING`)return U(t)}},W={parser:{TokenBuilder:p(()=>new ke,`TokenBuilder`),ValueConverter:p(()=>new Ae,`ValueConverter`)}};function G(e=l){let i=f(t(e),d),a=f(n({shared:i}),r,W);return i.ServiceRegistry.register(a),{shared:i,RailroadPeg:a}}p(G,`createRailroadPegServices`);var je=class extends c{static{p(this,`TreeViewValueConverter`)}runCustomConverter(e,t,n){if(e.name===`INDENTATION`)return t?.length||0;if(e.name===`QUOTED_NAME`)return t.substring(1,t.length-1);if(e.name===`BARE_NAME`)return t.replace(/[\t ]+$/,``);if(e.name===`CLASS_ANNOTATION`)return t.trim().substring(3).trim();if(e.name===`ICON_ANNOTATION`){let e=t.trim();return e.substring(5,e.length-1)}if(e.name===`DESC_ANNOTATION`)return t.trim().substring(2).trim()}},Me=class extends u{static{p(this,`TreeViewTokenBuilder`)}constructor(){super([`treeView-beta`])}},K={parser:{TokenBuilder:p(()=>new Me,`TokenBuilder`),ValueConverter:p(()=>new je,`ValueConverter`)}};function q(e=l){let r=f(t(e),d),i=f(n({shared:r}),le,K);return r.ServiceRegistry.register(i),{shared:r,TreeView:i}}p(q,`createTreeViewServices`);var Ne=class extends u{static{p(this,`TreemapTokenBuilder`)}constructor(){super([`treemap`])}},Pe=/classDef\s+([A-Z_a-z]\w+)(?:\s+([^\n\r;]*))?;?/,Fe=class extends c{static{p(this,`TreemapValueConverter`)}runCustomConverter(e,t,n){if(e.name===`NUMBER2`)return parseFloat(t.replace(/,/g,``));if(e.name===`SEPARATOR`||e.name===`STRING2`)return t.substring(1,t.length-1);if(e.name===`INDENTATION`)return t.length;if(e.name===`ClassDef`){if(typeof t!=`string`)return t;let e=Pe.exec(t);if(e)return{$type:`ClassDefStatement`,className:e[1],styleText:e[2]||void 0}}}};function J(e){let t=e.validation.TreemapValidator,n=e.validation.ValidationRegistry;if(n){let e={Treemap:t.checkSingleRoot.bind(t)};n.register(e,t)}}p(J,`registerValidationChecks`);var Ie=class{static{p(this,`TreemapValidator`)}checkSingleRoot(e,t){let n;for(let r of e.TreemapRows)r.item&&(n===void 0&&r.indent===void 0?n=0:(r.indent===void 0||n!==void 0&&n>=parseInt(r.indent,10))&&t(`error`,`Multiple root nodes are not allowed in a treemap.`,{node:r,property:`item`}))}},Y={parser:{TokenBuilder:p(()=>new Ne,`TokenBuilder`),ValueConverter:p(()=>new Fe,`ValueConverter`)},validation:{TreemapValidator:p(()=>new Ie,`TreemapValidator`)}};function X(e=l){let r=f(t(e),d),i=f(n({shared:r}),ue,Y);return r.ServiceRegistry.register(i),J(i),{shared:r,Treemap:i}}p(X,`createTreemapServices`);var Le=class extends c{static{p(this,`WardleyValueConverter`)}runCustomConverter(e,t,n){switch(e.name.toUpperCase()){case`LINK_LABEL`:return t.substring(1).trim();default:return}}},Re={parser:{ValueConverter:p(()=>new Le,`ValueConverter`)}};function ze(e=l){let r=f(t(e),d),i=f(n({shared:r}),a,Re);return r.ServiceRegistry.register(i),{shared:r,Wardley:i}}p(ze,`createWardleyServices`);var Z={},Be={info:p(async()=>{let{createInfoServices:t}=await e(async()=>{let{createInfoServices:e}=await import(`./info-OHQRW6UA-
|
|
5
|
+
`;break;case`r`:n+=`\r`;break;case`t`:n+=` `;break;default:n+=r}}else n+=r}return n},`decodeEscapedString`),Ae=class extends c{static{p(this,`RailroadPegValueConverter`)}runConverter(e,t,n){let r=super.runConverter(e,t,n);if(e.name===`TITLE`&&typeof r==`string`){let e=r.trim();if(e.startsWith(`"`)&&e.endsWith(`"`)||e.startsWith(`'`)&&e.endsWith(`'`))return U(e)}return r}runCustomConverter(e,t,n){if(e.name===`PEG_STRING`)return U(t)}},W={parser:{TokenBuilder:p(()=>new ke,`TokenBuilder`),ValueConverter:p(()=>new Ae,`ValueConverter`)}};function G(e=l){let i=f(t(e),d),a=f(n({shared:i}),r,W);return i.ServiceRegistry.register(a),{shared:i,RailroadPeg:a}}p(G,`createRailroadPegServices`);var je=class extends c{static{p(this,`TreeViewValueConverter`)}runCustomConverter(e,t,n){if(e.name===`INDENTATION`)return t?.length||0;if(e.name===`QUOTED_NAME`)return t.substring(1,t.length-1);if(e.name===`BARE_NAME`)return t.replace(/[\t ]+$/,``);if(e.name===`CLASS_ANNOTATION`)return t.trim().substring(3).trim();if(e.name===`ICON_ANNOTATION`){let e=t.trim();return e.substring(5,e.length-1)}if(e.name===`DESC_ANNOTATION`)return t.trim().substring(2).trim()}},Me=class extends u{static{p(this,`TreeViewTokenBuilder`)}constructor(){super([`treeView-beta`])}},K={parser:{TokenBuilder:p(()=>new Me,`TokenBuilder`),ValueConverter:p(()=>new je,`ValueConverter`)}};function q(e=l){let r=f(t(e),d),i=f(n({shared:r}),le,K);return r.ServiceRegistry.register(i),{shared:r,TreeView:i}}p(q,`createTreeViewServices`);var Ne=class extends u{static{p(this,`TreemapTokenBuilder`)}constructor(){super([`treemap`])}},Pe=/classDef\s+([A-Z_a-z]\w+)(?:\s+([^\n\r;]*))?;?/,Fe=class extends c{static{p(this,`TreemapValueConverter`)}runCustomConverter(e,t,n){if(e.name===`NUMBER2`)return parseFloat(t.replace(/,/g,``));if(e.name===`SEPARATOR`||e.name===`STRING2`)return t.substring(1,t.length-1);if(e.name===`INDENTATION`)return t.length;if(e.name===`ClassDef`){if(typeof t!=`string`)return t;let e=Pe.exec(t);if(e)return{$type:`ClassDefStatement`,className:e[1],styleText:e[2]||void 0}}}};function J(e){let t=e.validation.TreemapValidator,n=e.validation.ValidationRegistry;if(n){let e={Treemap:t.checkSingleRoot.bind(t)};n.register(e,t)}}p(J,`registerValidationChecks`);var Ie=class{static{p(this,`TreemapValidator`)}checkSingleRoot(e,t){let n;for(let r of e.TreemapRows)r.item&&(n===void 0&&r.indent===void 0?n=0:(r.indent===void 0||n!==void 0&&n>=parseInt(r.indent,10))&&t(`error`,`Multiple root nodes are not allowed in a treemap.`,{node:r,property:`item`}))}},Y={parser:{TokenBuilder:p(()=>new Ne,`TokenBuilder`),ValueConverter:p(()=>new Fe,`ValueConverter`)},validation:{TreemapValidator:p(()=>new Ie,`TreemapValidator`)}};function X(e=l){let r=f(t(e),d),i=f(n({shared:r}),ue,Y);return r.ServiceRegistry.register(i),J(i),{shared:r,Treemap:i}}p(X,`createTreemapServices`);var Le=class extends c{static{p(this,`WardleyValueConverter`)}runCustomConverter(e,t,n){switch(e.name.toUpperCase()){case`LINK_LABEL`:return t.substring(1).trim();default:return}}},Re={parser:{ValueConverter:p(()=>new Le,`ValueConverter`)}};function ze(e=l){let r=f(t(e),d),i=f(n({shared:r}),a,Re);return r.ServiceRegistry.register(i),{shared:r,Wardley:i}}p(ze,`createWardleyServices`);var Z={},Be={info:p(async()=>{let{createInfoServices:t}=await e(async()=>{let{createInfoServices:e}=await import(`./info-OHQRW6UA-DvzSf7rQ.js`);return{createInfoServices:e}},__vite__mapDeps([0,1]),import.meta.url);Z.info=t().Info.parser.LangiumParser},`info`),packet:p(async()=>{let{createPacketServices:t}=await e(async()=>{let{createPacketServices:e}=await import(`./packet-JDAUHWVQ-smFhVKcB.js`);return{createPacketServices:e}},__vite__mapDeps([2,1]),import.meta.url);Z.packet=t().Packet.parser.LangiumParser},`packet`),pie:p(async()=>{let{createPieServices:t}=await e(async()=>{let{createPieServices:e}=await import(`./pie-XZMESJXO-qjaGsBZG.js`);return{createPieServices:e}},__vite__mapDeps([3,1]),import.meta.url);Z.pie=t().Pie.parser.LangiumParser},`pie`),treeView:p(async()=>{let{createTreeViewServices:t}=await e(async()=>{let{createTreeViewServices:e}=await import(`./treeView-D4JQ5SDB-BmN0gwdC.js`);return{createTreeViewServices:e}},__vite__mapDeps([4,1]),import.meta.url);Z.treeView=t().TreeView.parser.LangiumParser},`treeView`),architecture:p(async()=>{let{createArchitectureServices:t}=await e(async()=>{let{createArchitectureServices:e}=await import(`./architecture-WOLXFQ4H-BEFBgb4k.js`);return{createArchitectureServices:e}},__vite__mapDeps([5,1]),import.meta.url);Z.architecture=t().Architecture.parser.LangiumParser},`architecture`),gitGraph:p(async()=>{let{createGitGraphServices:t}=await e(async()=>{let{createGitGraphServices:e}=await import(`./gitGraph-VSP46ZUC-Dy5tA7dG.js`);return{createGitGraphServices:e}},__vite__mapDeps([6,1]),import.meta.url);Z.gitGraph=t().GitGraph.parser.LangiumParser},`gitGraph`),eventmodeling:p(async()=>{let{createEventModelingServices:t}=await e(async()=>{let{createEventModelingServices:e}=await import(`./eventmodeling-K75KTNOO-BN1kkHWS.js`);return{createEventModelingServices:e}},__vite__mapDeps([7,1]),import.meta.url);Z.eventmodeling=t().EventModel.parser.LangiumParser},`eventmodeling`),radar:p(async()=>{let{createRadarServices:t}=await e(async()=>{let{createRadarServices:e}=await import(`./radar-ABXABTNO-DlVrSA1d.js`);return{createRadarServices:e}},__vite__mapDeps([8,1]),import.meta.url);Z.radar=t().Radar.parser.LangiumParser},`radar`),railroad:p(async()=>{let{createRailroadServices:t}=await e(async()=>{let{createRailroadServices:e}=await import(`./railroad-I3PHUGI6-nFbuLAtc.js`);return{createRailroadServices:e}},__vite__mapDeps([9,1]),import.meta.url);Z.railroad=t().Railroad.parser.LangiumParser},`railroad`),railroadEbnf:p(async()=>{let{createRailroadEbnfServices:t}=await e(async()=>{let{createRailroadEbnfServices:e}=await import(`./railroad-ebnf-DWYD2UWJ-eYJyl5PH.js`);return{createRailroadEbnfServices:e}},__vite__mapDeps([10,1]),import.meta.url);Z.railroadEbnf=t().RailroadEbnf.parser.LangiumParser},`railroadEbnf`),railroadAbnf:p(async()=>{let{createRailroadAbnfServices:t}=await e(async()=>{let{createRailroadAbnfServices:e}=await import(`./railroad-abnf-LNEFI6M7-Daj8h2iV.js`);return{createRailroadAbnfServices:e}},__vite__mapDeps([11,1]),import.meta.url);Z.railroadAbnf=t().RailroadAbnf.parser.LangiumParser},`railroadAbnf`),railroadPeg:p(async()=>{let{createRailroadPegServices:t}=await e(async()=>{let{createRailroadPegServices:e}=await import(`./railroad-peg-JR7BVNR7-BTRhKZQq.js`);return{createRailroadPegServices:e}},__vite__mapDeps([12,1]),import.meta.url);Z.railroadPeg=t().RailroadPeg.parser.LangiumParser},`railroadPeg`),treemap:p(async()=>{let{createTreemapServices:t}=await e(async()=>{let{createTreemapServices:e}=await import(`./treemap-SAJKECNS-DN29G_E_.js`);return{createTreemapServices:e}},__vite__mapDeps([13,1]),import.meta.url);Z.treemap=t().Treemap.parser.LangiumParser},`treemap`),wardley:p(async()=>{let{createWardleyServices:t}=await e(async()=>{let{createWardleyServices:e}=await import(`./wardley-7MLQ67FV-B-UYkmdB.js`);return{createWardleyServices:e}},__vite__mapDeps([14,1]),import.meta.url);Z.wardley=t().Wardley.parser.LangiumParser},`wardley`),cynefin:p(async()=>{let{createCynefinServices:t}=await e(async()=>{let{createCynefinServices:e}=await import(`./cynefin-EF2NZ3EQ-gzkai_7-.js`);return{createCynefinServices:e}},__vite__mapDeps([15,1]),import.meta.url);Z.cynefin=t().Cynefin.parser.LangiumParser},`cynefin`)};async function Ve(e,t){let n=Be[e];if(!n)throw Error(`Unknown diagram type: ${e}`);Z[e]||await n();let r=Z[e].parse(t);if(r.lexerErrors.length>0||r.parserErrors.length>0)throw new $(r);return r.value}p(Ve,`parse`);var Q=p(e=>e!==void 0&&e>=0?e:`?`,`formatLocation`),$=class extends Error{constructor(e){let t=e.lexerErrors.map(e=>`Lexer error on line ${Q(e.line)}, column ${Q(e.column)}: ${e.message}`).join(`
|
|
6
6
|
`),n=e.parserErrors.map(e=>`Parse error on line ${Q(e.token.startLine)}, column ${Q(e.token.startColumn)}: ${e.message}`).join(`
|
|
7
7
|
`);super(`Parsing failed: ${t} ${n}`),this.result=e}static{p(this,`MermaidParseError`)}};export{_ as A,O as C,w as D,D as E,h as M,T as O,j as S,E as T,Se as _,Y as a,N as b,q as c,V as d,H as f,L as g,I as h,ze as i,m as j,g as k,W as l,z as m,Ve as n,X as o,R as p,Re as r,K as s,$ as t,G as u,P as v,k as w,A as x,M as y};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./elk-QONTBCTQ-
|
|
2
|
-
import{t as e}from"./index-
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./elk-QONTBCTQ-Bh3LZ9WI.js","./rolldown-runtime-COiEfhsA.js","./chunk-Y2CYZVJY-DsF7k-Jl.js","./d3-selection-COWvaQNI.js","./chunk-DSNLSHJZ-CUDx1Rv5.js","./index-CgB5osVc.js","./react-WA6wlt8S.js","./jsx-runtime-DePvh3-m.js","./button-eGxLxbv9.js","./createLucideIcon-GFZ_fxLc.js","./snapshots-BUGlKQIB.js","./layout-SWqqA0yV.js","./index-Daytem9N.css","./dist-DdXDFcej.js","./chunk-YZO67HFG-Bbpu36XF.js","./chunk-7S6XSTFO-Dc0Dvkq7.js","./chunk-AQDTSKZB-VAILIsfx.js","./chunk-UHW7PFBP-BgLV8BIJ.js","./chunk-HAGFOTED-DAoEe-dJ.js","./chunk-J5ZVWO5B-oDCd-gWO.js","./rough.esm-Dy-Kn_BL.js","./chunk-ZAUX2LTX-C48Ri0Gs.js","./chunk-WQQL4CDK-CMST9dyE.js","./chunk-HNE4Q36P-g0akya12.js","./chunk-ZCHMQSOR-DN1g01Oe.js","./graphlib-DS17s2tU.js","./chunk-4EMNKR2T-CTdgWEMr.js","./dagre-NK4GIZVX-CiUwYVT6.js","./swimlanes-B3ENRKFQ-DaZsZkeP.js","./cose-bilkent-JH36ORCC-BWS9TicX.js","./cytoscape.esm-Bn1wUjr1.js","./c4Diagram-XDPPPE54-BfqLHB5i.js","./chunk-55XCU76K-7pnsxeaP.js","./flowDiagram-IUGLLWBU-B04NGsyi.js","./chunk-VQ5W62QI-Bw19OOSD.js","./chunk-NQOKRVIF-hTGjzXdJ.js","./channel-TNPgFDrw.js","./chunk-5VM5RSS4-ZNzvKenW.js","./chunk-XXDRQBXY-i7MKP1NY.js","./diagram-TYUNFSNR-DXzOD_ii.js","./swimlanesDiagram-AYQRV4AK-CBZAujYY.js","./erDiagram-KYQIGQAA-C4vYTYXp.js","./gitGraphDiagram-PDYL7XHY-hJIB8EkH.js","./mermaid-parser.core-req5LE0X.js","./chunk-NGNAAXSQ-Bw6tHVuc.js","./chunk-JWPE2WC7-DVXcaiue.js","./chunk-2Q5K7J3B-C1jixKkw.js","./ganttDiagram-R7GPNTJY-CA1LkkC5.js","./d3-scale-CElPUUud.js","./infoDiagram-MVDRKAX5-BjIMm4Af.js","./pieDiagram-GNMPY74T-Dd9P-Pdc.js","./quadrantDiagram-D57K4MC3-h2IIKUUA.js","./xychartDiagram-4URNHDU4-ChAfAq1U.js","./requirementDiagram-EQYSW5RA-Dmk9XRM5.js","./sequenceDiagram-BLEHNHQU-BTRnp_PW.js","./classDiagram-v2-4MYWR3UA-U6jbPr2d.js","./stateDiagram-v2-A6IESKWZ-kstrRKv2.js","./journeyDiagram-BOSHW7O7-DAB-pZjD.js","./timeline-definition-JXYKGLGB-CLCvY-Yf.js","./mindmap-definition-6OY57UG3-TStWb7DG.js","./kanban-definition-FNSA4HC5-cYeyh3P6.js","./sankeyDiagram-SY24JHO5-Yn4zlrAM.js","./diagram-I5XIIV2D-DxVsDZ34.js","./diagram-RJA3I4VV-CSXcnvct.js","./blockDiagram-RJAE7QA3-DybfaO3Z.js","./chunk-DUW6YSOI-Dgx8z5s3.js","./diagram-ODIL2UCW-B0eNQoHV.js","./architectureDiagram-ZHVYKT53-_u5YfCjY.js","./diagram-PFBEJUXE-C7f2MfJT.js","./ishikawaDiagram-HPEHV2GE-Bpz71S40.js","./vennDiagram-Q3Y3IDCW-DAAc11Hx.js","./diagram-CBK3MWTC-r9XHCV-k.js","./usecaseDiagram-WPOLBNNX-DTRS54cB.js","./wardleyDiagram-IVAIDKWA-BmbwCaky.js","./cynefinDiagram-WF24UDRP-DtSekSr6.js","./railroadDiagram-Y72NRBL7-CeLGUjdp.js","./chunk-2E7WHVMD-BVp1I_d0.js","./ebnfDiagram-V4P3TTPT-Cs4YRvDD.js","./abnfDiagram-WEYOIA3C-BKmMA6gn.js","./pegDiagram-ECIUJNBX-DvSNRv0-.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{t as e}from"./index-CgB5osVc.js";import{n as t}from"./chunk-Y2CYZVJY-DsF7k-Jl.js";import{n,r,t as i}from"./d3-selection-COWvaQNI.js";import{$ as a,I as o,J as s,K as c,L as l,N as u,P as d,Q as f,S as p,T as m,V as h,W as g,Z as _,b as v,c as y,et as b,f as x,g as S,j as C,l as w,m as T,n as E,p as D,r as O,s as k,t as ee,u as A,w as j,x as M,y as N}from"./chunk-DSNLSHJZ-CUDx1Rv5.js";import{r as P}from"./chunk-YZO67HFG-Bbpu36XF.js";import{_ as F,a as I,b as L,f as R,g as te,i as ne,l as re,o as ie,p as ae,q as oe,x as se,y as ce}from"./chunk-7S6XSTFO-Dc0Dvkq7.js";import{a as le}from"./chunk-AQDTSKZB-VAILIsfx.js";import{t as ue}from"./chunk-DUW6YSOI-Dgx8z5s3.js";import"./chunk-UHW7PFBP-BgLV8BIJ.js";import{o as de}from"./chunk-HAGFOTED-DAoEe-dJ.js";import{r as fe}from"./chunk-ZAUX2LTX-C48Ri0Gs.js";import{a as pe,c as z,i as me,l as he}from"./chunk-WQQL4CDK-CMST9dyE.js";import{r as ge}from"./chunk-HNE4Q36P-g0akya12.js";var _e=t(e=>{let{securityLevel:t}=v(),n=i(`body`);if(t===`sandbox`){let t=i(`#i${e}`).node()?.contentDocument??document;n=i(t.body)}return n.select(`#${e}`)},`selectSvgElement`);function ve(e){let t=e?.constructor;return e===(typeof t==`function`?t.prototype:Object.prototype)}function ye(e){if(e==null)return!0;if(oe(e))return typeof e.splice!=`function`&&typeof e!=`string`&&!se(e)&&!L(e)&&!ce(e)?!1:e.length===0;if(typeof e==`object`||typeof e==`function`){if(e instanceof Map||e instanceof Set)return e.size===0;let t=Object.keys(e);return ve(e)?t.filter(e=>e!==`constructor`).length===0:t.length===0}return!0}var be={common:k,getConfig:N,insertCluster:ge,insertEdge:me,insertEdgeLabel:pe,insertMarkers:z,insertNode:fe,interpolateToCurve:R,labelHelper:de,log:n,positionEdgeLabel:he},xe=[`elk.stress`,`elk.force`,`elk.mrtree`,`elk.sporeOverlap`,`elk.box`,`elk.rectpacking`],Se=Object.create(null),Ce=t(e=>{for(let t of e)Se[t.name]=t},`registerLayoutLoaders`),we=t(()=>{let n=t(async()=>await e(()=>import(`./elk-QONTBCTQ-Bh3LZ9WI.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26]),import.meta.url),`loader`);return[{name:`elk`,loader:n,algorithm:`elk.layered`},...xe.map(e=>({name:e,loader:n,algorithm:e}))]},`elkLayoutLoaders`);t(()=>{Ce([{name:`dagre`,loader:t(async()=>await e(()=>import(`./dagre-NK4GIZVX-CiUwYVT6.js`),__vite__mapDeps([27,2,3,1,4,5,6,7,8,9,10,11,12,14,15,13,16,17,18,19,20,21,22,25,23,24]),import.meta.url),`loader`)},{name:`swimlane`,loader:t(async()=>await e(()=>import(`./swimlanes-B3ENRKFQ-DaZsZkeP.js`),__vite__mapDeps([28,2,3,1,4,5,6,7,8,9,10,11,12,14,15,13,16,17,18,19,20,21,22,23,24,25,26]),import.meta.url),`loader`)},{name:`cose-bilkent`,loader:t(async()=>await e(()=>import(`./cose-bilkent-JH36ORCC-BWS9TicX.js`),__vite__mapDeps([29,1,2,3,30]),import.meta.url),`loader`)},...we()])},`registerDefaultLayoutLoaders`)();var Te=t(async(e,t)=>{if(!Object.hasOwn(Se,e.layoutAlgorithm))throw Error(`Unknown layout algorithm: ${e.layoutAlgorithm}`);if(e.diagramId)for(let t of e.nodes){let n=t.domId||t.id;t.domId=`${e.diagramId}-${n}`}let n=Se[e.layoutAlgorithm],r=await n.loader();return ue(t,e.config),r.render(e,t,be,{algorithm:n.algorithm})},`render`),Ee=`dagre`,De=t((e=``,{fallback:t=Ee}={})=>{if(Object.hasOwn(Se,e))return e;for(let r of[t,Ee])if(Object.hasOwn(Se,r))return n.warn(`Layout algorithm ${e} is not registered. Using ${r} as fallback.`),r;throw Error(`Neither layout algorithm ${e}, ${t}, nor ${Ee} is registered.`)},`getRegisteredLayoutAlgorithm`);function Oe(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,`default`)?e.default:e}t(Oe,`getDefaultExportFromCjs`);var B={},ke={},V={},Ae;function H(){if(Ae)return V;Ae=1;function e(e){return e==null}t(e,`isNothing`);function n(e){return typeof e==`object`&&!!e}t(n,`isObject`);function r(t){return Array.isArray(t)?t:e(t)?[]:[t]}t(r,`toArray`);function i(e,t){if(t){let n=Object.keys(t);for(let r=0,i=n.length;r<i;r+=1){let i=n[r];e[i]=t[i]}}return e}t(i,`extend`);function a(e,t){let n=``;for(let r=0;r<t;r+=1)n+=e;return n}t(a,`repeat`);function o(e){return e===0&&1/e==-1/0}return t(o,`isNegativeZero`),V.isNothing=e,V.isObject=n,V.toArray=r,V.repeat=a,V.isNegativeZero=o,V.extend=i,V}t(H,`requireCommon`);var je,Me;function U(){if(Me)return je;Me=1;function e(e,t){let n=``,r=e.reason||`(unknown reason)`;return e.mark?(e.mark.name&&(n+=`in "`+e.mark.name+`" `),n+=`(`+(e.mark.line+1)+`:`+(e.mark.column+1)+`)`,!t&&e.mark.snippet&&(n+=`
|
|
3
3
|
|
|
4
4
|
`+e.mark.snippet),r+` `+n):r}t(e,`formatError`);function n(t,n){Error.call(this),this.name=`YAMLException`,this.reason=t,this.mark=n,this.message=e(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=Error().stack||``}return t(n,`YAMLException2`),n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n.prototype.toString=t(function(t){return this.name+`: `+e(this,t)},`toString`),je=n,je}t(U,`requireException`);var Ne,Pe;function Fe(){if(Pe)return Ne;Pe=1;let e=H();function n(e,t,n,r,i){let a=``,o=``,s=Math.floor(i/2)-1;return r-t>s&&(a=` ... `,t=r-s+a.length),n-r>s&&(o=` ...`,n=r+s-o.length),{str:a+e.slice(t,n).replace(/\t/g,`→`)+o,pos:r-t+a.length}}t(n,`getLine`);function r(t,n){return e.repeat(` `,n-t.length)+t}t(r,`padStart`);function i(t,i){if(i=Object.create(i||null),!t.buffer)return null;i.maxLength||(i.maxLength=79),typeof i.indent!=`number`&&(i.indent=1),typeof i.linesBefore!=`number`&&(i.linesBefore=3),typeof i.linesAfter!=`number`&&(i.linesAfter=2);let a=/\r?\n|\r|\0/g,o=[0],s=[],c,l=-1;for(;c=a.exec(t.buffer);)s.push(c.index),o.push(c.index+c[0].length),t.position<=c.index&&l<0&&(l=o.length-2);l<0&&(l=o.length-1);let u=``,d=Math.min(t.line+i.linesAfter,s.length).toString().length,f=i.maxLength-(i.indent+d+3);for(let a=1;a<=i.linesBefore&&!(l-a<0);a++){let c=n(t.buffer,o[l-a],s[l-a],t.position-(o[l]-o[l-a]),f);u=e.repeat(` `,i.indent)+r((t.line-a+1).toString(),d)+` | `+c.str+`
|
|
5
5
|
`+u}let p=n(t.buffer,o[l],s[l],t.position,f);u+=e.repeat(` `,i.indent)+r((t.line+1).toString(),d)+` | `+p.str+`
|
|
@@ -32,8 +32,8 @@ import{t as e}from"./index-BsstP-cI.js";import{n as t}from"./chunk-Y2CYZVJY-DsF7
|
|
|
32
32
|
`+e.slice(i,a),i=a+1),o=s;return c+=`
|
|
33
33
|
`,e.length-i>t&&o>i?c+=e.slice(i,o)+`
|
|
34
34
|
`+e.slice(o+1):c+=e.slice(i),c.slice(1)}t(k,`foldLine`);function ee(e){let t=``,n=0;for(let r=0;r<e.length;n>=65536?r+=2:r++){n=S(e,r);let i=s[n];!i&&_(n)?(t+=e[r],n>=65536&&(t+=e[r+1])):t+=i||d(n)}return t}t(ee,`escapeString`);function A(e,t,n){let r=``,i=e.tag;for(let i=0,a=n.length;i<a;i+=1){let a=n[i];e.replacer&&(a=e.replacer.call(n,String(i),a)),(F(e,t,a,!1,!1)||a===void 0&&F(e,t,null,!1,!1))&&(r!==``&&(r+=`,`+(e.condenseFlow?``:` `)),r+=e.dump)}e.tag=i,e.dump=`[`+r+`]`}t(A,`writeFlowSequence`);function j(e,t,n,r){let i=``,a=e.tag;for(let a=0,o=n.length;a<o;a+=1){let o=n[a];e.replacer&&(o=e.replacer.call(n,String(a),o)),(F(e,t+1,o,!0,!0,!1,!0)||o===void 0&&F(e,t+1,null,!0,!0,!1,!0))&&(r&&i===``||(i+=m(e,t)),e.dump&&e.dump.charCodeAt(0)===10?i+=`-`:i+=`- `,i+=e.dump)}e.tag=a,e.dump=i||`[]`}t(j,`writeBlockSequence`);function M(e,t,n){let r=``,i=e.tag,a=Object.keys(n);for(let i=0,o=a.length;i<o;i+=1){let o=``;r!==``&&(o+=`, `),e.condenseFlow&&(o+=`"`);let s=a[i],c=n[s];e.replacer&&(c=e.replacer.call(n,s,c)),F(e,t,s,!1,!1)&&(e.dump.length>1024&&(o+=`? `),o+=e.dump+(e.condenseFlow?`"`:``)+`:`+(e.condenseFlow?``:` `),F(e,t,c,!1,!1)&&(o+=e.dump,r+=o))}e.tag=i,e.dump=`{`+r+`}`}t(M,`writeFlowMapping`);function N(e,t,r,i){let a=``,o=e.tag,s=Object.keys(r);if(e.sortKeys===!0)s.sort();else if(typeof e.sortKeys==`function`)s.sort(e.sortKeys);else if(e.sortKeys)throw new n(`sortKeys must be a boolean or a function`);for(let n=0,o=s.length;n<o;n+=1){let o=``;i&&a===``||(o+=m(e,t));let c=s[n],l=r[c];if(e.replacer&&(l=e.replacer.call(r,c,l)),!F(e,t+1,c,!0,!0,!0))continue;let u=e.tag!==null&&e.tag!==`?`||e.dump&&e.dump.length>1024;u&&(e.dump&&e.dump.charCodeAt(0)===10?o+=`?`:o+=`? `),o+=e.dump,u&&(o+=m(e,t)),F(e,t+1,l,!0,u)&&(e.dump&&e.dump.charCodeAt(0)===10?o+=`:`:o+=`: `,o+=e.dump,a+=o)}e.tag=o,e.dump=a||`{}`}t(N,`writeBlockMapping`);function P(e,t,r){let o=r?e.explicitTypes:e.implicitTypes;for(let s=0,c=o.length;s<c;s+=1){let c=o[s];if((c.instanceOf||c.predicate)&&(!c.instanceOf||typeof t==`object`&&t instanceof c.instanceOf)&&(!c.predicate||c.predicate(t))){if(e.tag=r?c.multi&&c.representName?c.representName(t):c.tag:`?`,c.represent){let r=e.styleMap[c.tag]||c.defaultStyle,o;if(i.call(c.represent)===`[object Function]`)o=c.represent(t,r);else if(a.call(c.represent,r))o=c.represent[r](t,r);else throw new n(`!<`+c.tag+`> tag resolver accepts not "`+r+`" style`);e.dump=o}return!0}}return!1}t(P,`detectType`);function F(e,t,r,a,o,s,c){e.tag=null,e.dump=r,P(e,r,!1)||P(e,r,!0);let l=i.call(e.dump),u=a;a&&=e.flowLevel<0||e.flowLevel>t;let d=l===`[object Object]`||l===`[object Array]`,f,p;if(d&&(f=e.duplicates.indexOf(r),p=f!==-1),(e.tag!==null&&e.tag!==`?`||p||e.indent!==2&&t>0)&&(o=!1),p&&e.usedDuplicates[f])e.dump=`*ref_`+f;else{if(d&&p&&!e.usedDuplicates[f]&&(e.usedDuplicates[f]=!0),l===`[object Object]`)a&&Object.keys(e.dump).length!==0?(N(e,t,e.dump,o),p&&(e.dump=`&ref_`+f+e.dump)):(M(e,t,e.dump),p&&(e.dump=`&ref_`+f+` `+e.dump));else if(l===`[object Array]`)a&&e.dump.length!==0?(e.noArrayIndent&&!c&&t>0?j(e,t-1,e.dump,o):j(e,t,e.dump,o),p&&(e.dump=`&ref_`+f+e.dump)):(A(e,t,e.dump),p&&(e.dump=`&ref_`+f+` `+e.dump));else if(l===`[object String]`)e.tag!==`?`&&T(e,e.dump,t,s,u);else if(l===`[object Undefined]`)return!1;else{if(e.skipInvalid)return!1;throw new n(`unacceptable kind of an object to dump `+l)}if(e.tag!==null&&e.tag!==`?`){let t=encodeURI(e.tag[0]===`!`?e.tag.slice(1):e.tag).replace(/!/g,`%21`);t=e.tag[0]===`!`?`!`+t:t.slice(0,18)===`tag:yaml.org,2002:`?`!!`+t.slice(18):`!<`+t+`>`,e.dump=t+` `+e.dump}}return!0}t(F,`writeNode`);function I(e,t){let n=[],r=[];L(e,n,r);let i=r.length;for(let e=0;e<i;e+=1)t.duplicates.push(n[r[e]]);t.usedDuplicates=Array(i)}t(I,`getDuplicateReferences`);function L(e,t,n){if(typeof e==`object`&&e){let r=t.indexOf(e);if(r!==-1)n.indexOf(r)===-1&&n.push(r);else if(t.push(e),Array.isArray(e))for(let r=0,i=e.length;r<i;r+=1)L(e[r],t,n);else{let r=Object.keys(e);for(let i=0,a=r.length;i<a;i+=1)L(e[r[i]],t,n)}}}t(L,`inspectNode`);function R(e,t){t||={};let n=new f(t);n.noRefs||I(e,n);let r=e;return n.replacer&&(r=n.replacer.call({"":r},``,r)),F(n,0,r,!0,!0)?n.dump+`
|
|
35
|
-
`:``}return t(R,`dump2`),Bt.dump=R,Bt}t(Ht,`requireDumper`);var Ut;function Wt(){if(Ut)return B;Ut=1;let e=zt(),n=Ht();function r(e,t){return function(){throw Error(`Function yaml.`+e+` is removed in js-yaml 4. Use yaml.`+t+` instead, which is now safe by default.`)}}return t(r,`renamed`),B.Type=W(),B.Schema=Be(),B.FAILSAFE_SCHEMA=Qe(),B.JSON_SCHEMA=pt(),B.CORE_SCHEMA=gt(),B.DEFAULT_SCHEMA=Lt(),B.load=e.load,B.loadAll=e.loadAll,B.dump=n.dump,B.YAMLException=U(),B.types={binary:Tt(),float:ut(),map:Ye(),null:tt(),pairs:jt(),set:Pt(),timestamp:yt(),bool:it(),int:st(),merge:St(),omap:Ot(),seq:Ke(),str:Ue()},B.safeLoad=r(`safeLoad`,`load`),B.safeLoadAll=r(`safeLoadAll`,`loadAll`),B.safeDump=r(`safeDump`,`dump`),B}t(Wt,`requireJsYaml`);var{Type:Gt,Schema:Kt,FAILSAFE_SCHEMA:qt,JSON_SCHEMA:Jt,CORE_SCHEMA:Yt,DEFAULT_SCHEMA:Xt,load:Zt,loadAll:Qt,dump:$t,YAMLException:en,types:tn,safeLoad:nn,safeLoadAll:rn,safeDump:an}=Oe(Wt()),on=`comm`,sn=`rule`,cn=`decl`,ln=`@import`,un=`@namespace`,dn=`@keyframes`,fn=`@layer`,pn=Math.abs,mn=String.fromCharCode;function hn(e){return e.trim()}function gn(e,t,n){return e.replace(t,n)}function G(e,t){return e.charCodeAt(t)|0}function K(e,t,n){return e.slice(t,n)}function q(e){return e.length}function _n(e){return e.length}function vn(e,t){return t.push(e),e}var yn=1,bn=1,xn=0,J=0,Y=0,Sn=``;function Cn(e,t,n,r,i,a,o,s){return{value:e,root:t,parent:n,type:r,props:i,children:a,line:yn,column:bn,length:o,return:``,siblings:s}}function wn(){return Y}function Tn(){return Y=J>0?G(Sn,--J):0,bn--,Y===10&&(bn=1,yn--),Y}function X(){return Y=J<xn?G(Sn,J++):0,bn++,Y===10&&(bn=1,yn++),Y}function Z(){return G(Sn,J)}function En(){return J}function Dn(e,t){return K(Sn,e,t)}function On(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function kn(e){return yn=bn=1,xn=q(Sn=e),J=0,[]}function An(e){return Sn=``,e}function jn(e){return hn(Dn(J-1,Pn(e===91?e+2:e===40?e+1:e)))}function Mn(e){for(;(Y=Z())&&Y<33;)X();return On(e)>2||On(Y)>3?``:` `}function Nn(e,t){for(;--t&&X()&&!(Y<48||Y>102||Y>57&&Y<65||Y>70&&Y<97););return Dn(e,En()+(t<6&&Z()==32&&X()==32))}function Pn(e){for(;X();)switch(Y){case e:return J;case 34:case 39:e!==34&&e!==39&&Pn(Y);break;case 40:e===41&&Pn(e);break;case 92:X()}return J}function Fn(e,t){for(;X()&&e+Y!==57&&(e+Y!==84||Z()!==47););return`/*`+Dn(t,J-1)+`*`+mn(e===47?e:X())}function In(e){for(;!On(Z());)X();return Dn(e,J)}function Ln(e){return An(Rn(``,null,null,null,[``],e=kn(e),0,[0],e))}function Rn(e,t,n,r,i,a,o,s,c){for(var l=0,u=0,d=o,f=0,p=0,m=0,h=1,g=1,_=1,v=0,y=0,b=``,x=i,S=a,C=r,w=b;g;)switch(m=y,y=X()){case 40:m!=108&&G(w,d-1)==58?(v++,w+=`(`):w+=jn(y);break;case 41:v--,w+=`)`;break;case 34:case 39:case 91:w+=jn(y);break;case 9:case 10:case 13:case 32:if(v>0){w+=mn(y);break}w+=Mn(m);break;case 92:w+=Nn(En()-1,7);continue;case 47:switch(Z()){case 42:case 47:vn(Bn(Fn(X(),En()),t,n,c),c),(On(m||1)==5||On(Z()||1)==5)&&q(w)&&K(w,-1,void 0)!==` `&&(w+=` `);break;default:w+=`/`}break;case 123*h:s[l++]=q(w)*_;case 125*h:case 59:case 0:if(v>0&&y){w+=mn(y);break}switch(y){case 0:case 125:g=0;case 59+u:_==-1&&(w=gn(w,/\f/g,``)),p>0&&(q(w)-d||h===0)&&vn(p>32?Vn(w+`;`,r,n,d-1,c):Vn(gn(w,` `,``)+`;`,r,n,d-2,c),c);break;case 59:w+=`;`;default:if(vn(C=zn(w,t,n,l,u,i,s,b,x=[],S=[],d,a),a),y===123){if(u===0)Rn(w,t,C,C,x,a,d,s,S);else{switch(f){case 99:if(G(w,3)===110)break;case 108:if(G(w,2)===97)break;default:u=0;case 100:case 109:case 115:}u?Rn(e,C,C,r&&vn(zn(e,C,C,0,0,i,s,b,i,x=[],d,S),S),i,S,d,s,r?x:S):Rn(w,C,C,C,[``],S,0,s,S)}}}l=u=p=0,h=_=1,b=w=``,d=o;break;case 58:d=1+q(w),p=m;default:if(h<1){if(y==123)--h;else if(y==125&&h++==0&&Tn()==125)continue}switch(w+=mn(y),y*h){case 38:_=u>0?1:(w+=`\f`,-1);break;case 44:if(v>0)break;s[l++]=(q(w)-1)*_,_=1;break;case 64:Z()===45&&(w+=jn(X())),f=Z(),u=d=q(b=w+=In(En())),y++;break;case 45:m===45&&q(w)==2&&(h=0)}}return a}function zn(e,t,n,r,i,a,o,s,c,l,u,d){for(var f=i-1,p=i===0?a:[``],m=_n(p),h=0,g=0,_=0;h<r;++h)for(var v=0,y=K(e,f+1,f=pn(g=o[h])),b=e;v<m;++v)(b=hn(g>0?p[v]+` `+y:gn(y,/&\f/g,p[v])))&&(c[_++]=b);return Cn(e,t,n,i===0?sn:s,c,l,u,d)}function Bn(e,t,n,r){return Cn(e,t,n,on,mn(wn()),K(e,2,-2),0,r)}function Vn(e,t,n,r,i){return Cn(e,t,n,cn,K(e,0,r),K(e,r+1,-1),r,i)}function Hn(e,t){for(var n=``,r=0;r<e.length;r++)n+=t(e[r],r,e,t)||``;return n}function Un(e,t,n,r){switch(e.type){case fn:if(e.children.length)break;case ln:case un:case cn:return e.return=e.return||e.value;case on:return``;case dn:return e.return=e.value+`{`+Hn(e.children,r)+`}`;case sn:if(!q(e.value=e.props.join(`,`)))return``}return q(n=Hn(e.children,r))?e.return=e.value+`{`+n+`}`:``}function Wn(e){var t=_n(e);return function(n,r,i,a){for(var o=``,s=0;s<t;s++)o+=e[s](n,r,i,a)||``;return o}}var Gn=`c4`,Kn={id:Gn,detector:t(e=>/^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/.test(e),`detector`),loader:t(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./c4Diagram-XDPPPE54-Bg9G95tl.js`);return{diagram:e}},__vite__mapDeps([30,2,3,1,4,5,6,7,8,9,10,11,13,14,12,15,16,17,18,19,31]),import.meta.url);return{id:Gn,diagram:t}},`loader`)},qn=`flowchart-v2`,Jn={id:qn,detector:t(e=>/^\s*(graph|flowchart)/.test(e),`detector`),loader:t(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./flowDiagram-IUGLLWBU-ouDQYiTr.js`);return{diagram:e}},__vite__mapDeps([32,3,1,2,4,5,6,7,8,9,10,11,13,14,12,15,16,17,18,19,20,21,31,33,22,34,35,36,37]),import.meta.url);return{id:qn,diagram:t}},`loader`)},Yn=`agentflow`,Xn={id:Yn,detector:t(e=>/^\s*agentflow-beta\b/.test(e),`detector`),loader:t(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./diagram-TYUNFSNR-UwGAiQLx.js`);return{diagram:e}},__vite__mapDeps([38,2,3,1,4,5,6,7,8,9,10,11,35,13,14,12,15,36,16,18,17,19,20,21,31,37,33,22]),import.meta.url);return{id:Yn,diagram:t}},`loader`)},Zn=`swimlane`,Qn={id:Zn,detector:t(e=>/^\s*swimlane-beta\b/.test(e),`detector`),loader:t(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./swimlanesDiagram-AYQRV4AK-BkOls8Tv.js`);return{diagram:e}},__vite__mapDeps([39,2,3,1,4,5,6,7,8,9,10,11,13,14,12,15,16,17,18,19,20,21,31,33,22,34,35,36,37]),import.meta.url);return{id:Zn,diagram:t}},`loader`)},$n=`er`,er={id:$n,detector:t(e=>/^\s*erDiagram/.test(e),`detector`),loader:t(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./erDiagram-KYQIGQAA-BPqIJ22h.js`);return{diagram:e}},__vite__mapDeps([40,2,3,1,4,5,6,7,8,9,10,11,35,13,14,12,15,16,18,17,19,20,21,37,33,22]),import.meta.url);return{id:$n,diagram:t}},`loader`)},tr=`gitGraph`,nr={id:tr,detector:t(e=>/^\s*gitGraph/.test(e),`detector`),loader:t(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./gitGraphDiagram-PDYL7XHY-DiZDyksR.js`);return{diagram:e}},__vite__mapDeps([41,42,5,1,6,7,8,9,10,11,43,2,3,4,44,14,12,45]),import.meta.url);return{id:tr,diagram:t}},`loader`)},rr=`gantt`,ir={id:rr,detector:t(e=>/^\s*gantt/.test(e),`detector`),loader:t(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./ganttDiagram-R7GPNTJY-DZ157JN2.js`);return{diagram:e}},__vite__mapDeps([46,1,2,3,4,5,6,7,8,9,10,11,47,12,14]),import.meta.url);return{id:rr,diagram:t}},`loader`)},ar=`info`,or={id:ar,detector:t(e=>/^\s*info/.test(e),`detector`),loader:t(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./infoDiagram-MVDRKAX5-CbIgheWX.js`);return{diagram:e}},__vite__mapDeps([48,42,5,1,6,7,8,9,10,11,43,2,3,4]),import.meta.url);return{id:ar,diagram:t}},`loader`)},sr=`pie`,cr={id:sr,detector:t(e=>/^\s*pie/.test(e),`detector`),loader:t(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./pieDiagram-GNMPY74T-DF5yGBLn.js`);return{diagram:e}},__vite__mapDeps([49,42,5,1,6,7,8,9,10,11,43,2,3,4,47,12,44,14]),import.meta.url);return{id:sr,diagram:t}},`loader`)},lr=`quadrantChart`,ur={id:lr,detector:t(e=>/^\s*quadrantChart/.test(e),`detector`),loader:t(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./quadrantDiagram-D57K4MC3-B7pxlDYP.js`);return{diagram:e}},__vite__mapDeps([50,2,3,1,4,5,6,7,8,9,10,11,47]),import.meta.url);return{id:lr,diagram:t}},`loader`)},dr=`xychart`,fr={id:dr,detector:t(e=>/^\s*xychart(-beta)?/.test(e),`detector`),loader:t(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./xychartDiagram-4URNHDU4-DctpvfkL.js`);return{diagram:e}},__vite__mapDeps([51,2,3,1,4,5,6,7,8,9,10,11,47,12,13,14,15]),import.meta.url);return{id:dr,diagram:t}},`loader`)},pr=`requirement`,mr={id:pr,detector:t(e=>/^\s*requirement(Diagram)?/.test(e),`detector`),loader:t(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./requirementDiagram-EQYSW5RA-Dp-JFGn4.js`);return{diagram:e}},__vite__mapDeps([52,2,3,1,4,5,6,7,8,9,10,11,13,14,12,15,16,18,17,19,20,21,37,33,22]),import.meta.url);return{id:pr,diagram:t}},`loader`)},hr=`sequence`,gr={id:hr,detector:t(e=>/^\s*sequenceDiagram/.test(e),`detector`),loader:t(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./sequenceDiagram-BLEHNHQU-DryW8x6d.js`);return{diagram:e}},__vite__mapDeps([53,2,3,1,4,5,6,7,8,9,10,11,12,14,31,45]),import.meta.url);return{id:hr,diagram:t}},`loader`)},_r=`classDiagram`,vr={id:_r,detector:t(e=>/^\s*classDiagram/.test(e),`detector`),loader:t(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./classDiagram-v2-4MYWR3UA-DUh9c50k.js`);return{diagram:e}},__vite__mapDeps([54,2,3,1,4,5,6,7,8,9,10,11,13,14,12,15,36,16,18,17,19,20,21,31,37,33,22]),import.meta.url);return{id:_r,diagram:t}},`loader`)},yr=`stateDiagram`,br={id:yr,detector:t(e=>/^\s*stateDiagram/.test(e),`detector`),loader:t(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./stateDiagram-v2-A6IESKWZ-Bnp0XfpT.js`);return{diagram:e}},__vite__mapDeps([55,2,3,1,4,5,6,7,8,9,10,11,13,14,12,15,16,18,17,19,20,21,31,37,33,22]),import.meta.url);return{id:yr,diagram:t}},`loader`)},xr=`journey`,Sr={id:xr,detector:t(e=>/^\s*journey/.test(e),`detector`),loader:t(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./journeyDiagram-BOSHW7O7-BZEv6JI4.js`);return{diagram:e}},__vite__mapDeps([56,2,3,1,4,5,6,7,8,9,10,11,12,36,31]),import.meta.url);return{id:xr,diagram:t}},`loader`)},Cr=4,wr=75,Tr=t(e=>{let t=[];for(let n of e.split(/\s+/)){let e=[...n];for(;e.length>wr;)t.push(e.slice(0,wr).join(``)),e=e.slice(wr);e.length>0&&t.push(e.join(``))}let n=[],r=``;for(let e of t){let t=r?`${r} ${e}`:e;[...t].length>wr?(n.push(r),r=e):r=t}if(r&&n.push(r),n.length>Cr){n.length=Cr;let e=n[Cr-1]??``;n[Cr-1]=`${[...e].slice(0,wr-3).join(``)}...`}return n},`wrapErrorMessage`),Er={draw:t((e,t,r,i)=>{n.debug(`rendering svg for syntax error
|
|
36
|
-
`);let a=_e(t),o=a.append(`g`),s=Tr(i?.db.getErrorMessage?.()??``),c=s.length>0?500+s.length*56:512;a.attr(`viewBox`,`0 0 2412 ${c}`),y(a,100,c,!0),o.append(`path`).attr(`class`,`error-icon`).attr(`d`,`m411.313,123.313c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32-9.375,9.375-20.688-20.688c-12.484-12.5-32.766-12.5-45.25,0l-16,16c-1.261,1.261-2.304,2.648-3.31,4.051-21.739-8.561-45.324-13.426-70.065-13.426-105.867,0-192,86.133-192,192s86.133,192 192,192 192-86.133 192-192c0-24.741-4.864-48.327-13.426-70.065 1.402-1.007 2.79-2.049 4.051-3.31l16-16c12.5-12.492 12.5-32.758 0-45.25l-20.688-20.688 9.375-9.375 32.001-31.999zm-219.313,100.687c-52.938,0-96,43.063-96,96 0,8.836-7.164,16-16,16s-16-7.164-16-16c0-70.578 57.422-128 128-128 8.836,0 16,7.164 16,16s-7.164,16-16,16z`),o.append(`path`).attr(`class`,`error-icon`).attr(`d`,`m459.02,148.98c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l16,16c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16.001-16z`),o.append(`path`).attr(`class`,`error-icon`).attr(`d`,`m340.395,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16-16c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l15.999,16z`),o.append(`path`).attr(`class`,`error-icon`).attr(`d`,`m400,64c8.844,0 16-7.164 16-16v-32c0-8.836-7.156-16-16-16-8.844,0-16,7.164-16,16v32c0,8.836 7.156,16 16,16z`),o.append(`path`).attr(`class`,`error-icon`).attr(`d`,`m496,96.586h-32c-8.844,0-16,7.164-16,16 0,8.836 7.156,16 16,16h32c8.844,0 16-7.164 16-16 0-8.836-7.156-16-16-16z`),o.append(`path`).attr(`class`,`error-icon`).attr(`d`,`m436.98,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688l32-32c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32c-6.251,6.25-6.251,16.375-0.001,22.625z`),o.append(`text`).attr(`class`,`error-text`).attr(`x`,1440).attr(`y`,250).attr(`font-size`,`150px`).style(`text-anchor`,`middle`).text(`Syntax error in text`),o.append(`text`).attr(`class`,`error-text`).attr(`x`,1250).attr(`y`,400).attr(`font-size`,`100px`).style(`text-anchor`,`middle`).text(`mermaid version ${r}`),s.forEach((e,t)=>{o.append(`text`).attr(`class`,`error-text`).attr(`x`,1440).attr(`y`,510+t*56).attr(`font-size`,`42px`).style(`text-anchor`,`middle`).text(e)})},`draw`)},Dr=Er,Or,kr={db:{clear(){Or=void 0},setErrorMessage(e){Or=e},getErrorMessage(){return Or}},renderer:Er,parser:{parse:t(()=>{},`parse`)}},Ar=`flowchart-elk`,jr={id:Ar,detector:t((e,t={})=>/^\s*flowchart-elk/.test(e)?(t.layout=`elk`,!0):!1,`detector`),loader:t(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./flowDiagram-IUGLLWBU-ouDQYiTr.js`);return{diagram:e}},__vite__mapDeps([32,3,1,2,4,5,6,7,8,9,10,11,13,14,12,15,16,17,18,19,20,21,31,33,22,34,35,36,37]),import.meta.url);return{id:Ar,diagram:t}},`loader`)},Mr=`timeline`,Nr={id:Mr,detector:t(e=>/^\s*timeline/.test(e),`detector`),loader:t(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./timeline-definition-JXYKGLGB-D-Q5ZtDF.js`);return{diagram:e}},__vite__mapDeps([57,2,3,1,4,5,6,7,8,9,10,11,12,14,18]),import.meta.url);return{id:Mr,diagram:t}},`loader`)},Pr=`mindmap`,Fr={id:Pr,detector:t(e=>/^\s*mindmap/.test(e),`detector`),loader:t(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./mindmap-definition-6OY57UG3-CYf4zzAh.js`);return{diagram:e}},__vite__mapDeps([58,2,3,1,4,5,6,7,8,9,10,11,13,14,12,15,16,17,18,19,20,21,37,33,22]),import.meta.url);return{id:Pr,diagram:t}},`loader`)},Ir=`kanban`,Lr={id:Ir,detector:t(e=>/^\s*kanban/.test(e),`detector`),loader:t(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./kanban-definition-FNSA4HC5-CLG1R8y_.js`);return{diagram:e}},__vite__mapDeps([59,2,3,1,4,5,6,7,8,9,10,11,13,14,12,15,36,16,17,18,19,20,22]),import.meta.url);return{id:Ir,diagram:t}},`loader`)},Rr=`sankey`,zr={id:Rr,detector:t(e=>/^\s*sankey(-beta)?/.test(e),`detector`),loader:t(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./sankeyDiagram-SY24JHO5-rYuCqEvw.js`);return{diagram:e}},__vite__mapDeps([60,2,3,1,4,5,6,7,8,9,10,11,47]),import.meta.url);return{id:Rr,diagram:t}},`loader`)},Br=`packet`,Vr={id:Br,detector:t(e=>/^\s*packet(-beta)?/.test(e),`detector`),loader:t(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./diagram-I5XIIV2D-CDd1VFRT.js`);return{diagram:e}},__vite__mapDeps([61,42,5,1,6,7,8,9,10,11,43,2,3,4,44,14,12]),import.meta.url);return{id:Br,diagram:t}},`loader`)},Hr=`radar`,Ur={id:Hr,detector:t(e=>/^\s*radar-beta/.test(e),`detector`),loader:t(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./diagram-RJA3I4VV-vKVwkQxY.js`);return{diagram:e}},__vite__mapDeps([62,42,5,1,6,7,8,9,10,11,43,2,3,4,44,14,12]),import.meta.url);return{id:Hr,diagram:t}},`loader`)},Wr=`block`,Gr={id:Wr,detector:t(e=>/^\s*block(-beta)?/.test(e),`detector`),loader:t(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./blockDiagram-RJAE7QA3-DhqEIpie.js`);return{diagram:e}},__vite__mapDeps([63,2,3,1,4,5,6,7,8,9,10,11,35,13,14,12,15,36,64,16,18,17,19,20,21,24]),import.meta.url);return{id:Wr,diagram:t}},`loader`)},Kr=`treeView`,qr={id:Kr,detector:t(e=>/^\s*treeView-beta/.test(e),`detector`),loader:t(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./diagram-ODIL2UCW-535RISTn.js`);return{diagram:e}},__vite__mapDeps([65,42,5,1,6,7,8,9,10,11,43,2,3,4,44,13,14,12,45]),import.meta.url);return{id:Kr,diagram:t}},`loader`)},Jr=`architecture`,Yr={id:Jr,detector:t(e=>/^\s*architecture/.test(e),`detector`),loader:t(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./architectureDiagram-ZHVYKT53-tkcEcFQ8.js`);return{diagram:e}},__vite__mapDeps([66,1,42,5,6,7,8,9,10,11,43,2,3,4,44,13,14,12,15,29]),import.meta.url);return{id:Jr,diagram:t}},`loader`)},Xr=`eventmodeling`,Zr={id:Xr,detector:t(e=>/^\s*eventmodeling/.test(e),`detector`),loader:t(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./diagram-PFBEJUXE-MXzzKCGG.js`);return{diagram:e}},__vite__mapDeps([67,43,42,5,1,6,7,8,9,10,11,2,3,4,44,14,12]),import.meta.url);return{id:Xr,diagram:t}},`loader`)},Qr=`ishikawa`,$r={id:Qr,detector:t(e=>/^\s*ishikawa(-beta)?\b/i.test(e),`detector`),loader:t(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./ishikawaDiagram-HPEHV2GE-D5oJQPkG.js`);return{diagram:e}},__vite__mapDeps([68,2,3,1,4,5,6,7,8,9,10,11,14,12,19]),import.meta.url);return{id:Qr,diagram:t}},`loader`)},ei=`venn`,ti={id:ei,detector:t(e=>/^\s*venn-beta/.test(e),`detector`),loader:t(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./vennDiagram-Q3Y3IDCW-Ch4XbSnD.js`);return{diagram:e}},__vite__mapDeps([69,2,3,1,4,5,6,7,8,9,10,11,14,12,19]),import.meta.url);return{id:ei,diagram:t}},`loader`)},ni=`treemap`,ri={id:ni,detector:t(e=>/^\s*treemap/.test(e),`detector`),loader:t(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./diagram-CBK3MWTC-GekVRnmm.js`);return{diagram:e}},__vite__mapDeps([70,42,5,1,6,7,8,9,10,11,43,2,3,4,47,44,14,12,16,33]),import.meta.url);return{id:ni,diagram:t}},`loader`)},ii=`usecase`,ai={id:ii,detector:t(e=>/^\s*usecase-beta(?:\s|$)/.test(e),`detector`),loader:t(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./usecaseDiagram-WPOLBNNX-tkrdKUJB.js`);return{diagram:e}},__vite__mapDeps([71,2,3,1,4,5,6,7,8,9,10,11,13,14,12,15,16,18,17,19,20,21,37,33,22]),import.meta.url);return{id:ii,diagram:t}},`loader`)},oi=`wardley`,si={id:oi,detector:t(e=>/^\s*wardley-beta/i.test(e),`detector`),loader:t(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./wardleyDiagram-IVAIDKWA-DRuSgm_L.js`);return{diagram:e}},__vite__mapDeps([72,42,5,1,6,7,8,9,10,11,43,2,3,4,44,14,12]),import.meta.url);return{id:oi,diagram:t}},`loader`)},ci=`cynefin`,li={id:ci,detector:t(e=>/^\s*cynefin-beta(?:[\s:]|$)/.test(e),`detector`),loader:t(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./cynefinDiagram-WF24UDRP-oAjpfbrU.js`);return{diagram:e}},__vite__mapDeps([73,42,5,1,6,7,8,9,10,11,43,2,3,4,44,14,12]),import.meta.url);return{id:ci,diagram:t}},`loader`)},ui=`railroad`,di={id:ui,detector:t(e=>/^\s*railroad-beta/i.test(e),`detector`),loader:t(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./railroadDiagram-Y72NRBL7-BuCC4eyy.js`);return{diagram:e}},__vite__mapDeps([74,42,5,1,6,7,8,9,10,11,43,2,3,4,75,44]),import.meta.url);return{id:ui,diagram:t}},`loader`)},fi=`railroadEbnf`,pi={id:fi,detector:t(e=>/^\s*railroad-ebnf-beta/i.test(e),`detector`),loader:t(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./ebnfDiagram-V4P3TTPT-73yGokYa.js`);return{diagram:e}},__vite__mapDeps([76,42,5,1,6,7,8,9,10,11,43,2,3,4,75,44]),import.meta.url);return{id:fi,diagram:t}},`loader`)},mi=`railroadAbnf`,hi={id:mi,detector:t(e=>/^\s*railroad-abnf-beta/i.test(e),`detector`),loader:t(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./abnfDiagram-WEYOIA3C-CN5PiJYY.js`);return{diagram:e}},__vite__mapDeps([77,42,5,1,6,7,8,9,10,11,43,2,3,4,75,44]),import.meta.url);return{id:mi,diagram:t}},`loader`)},gi=`railroadPeg`,_i={id:gi,detector:t(e=>/^\s*railroad-peg-beta/i.test(e),`detector`),loader:t(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./pegDiagram-ECIUJNBX-CQyh6TTa.js`);return{diagram:e}},__vite__mapDeps([78,42,5,1,6,7,8,9,10,11,43,2,3,4,75,44]),import.meta.url);return{id:gi,diagram:t}},`loader`)},vi=!1,yi=t(()=>{vi||(vi=!0,u(`error`,kr,e=>e.toLowerCase().trim()===`error`),u(`---`,{db:{clear:t(()=>{},`clear`)},styles:{},renderer:{draw:t(()=>{},`draw`)},parser:{parse:t(()=>{throw Error("Diagrams beginning with --- are not valid. If you were trying to use a YAML front-matter, please ensure that you've correctly opened and closed the YAML front-matter with un-indented `---` blocks")},`parse`)},init:t(()=>null,`init`)},e=>e.toLowerCase().trimStart().startsWith(`---`)),d(jr,Fr,Yr),d(Xn,Kn,Lr,vr,er,ir,or,cr,mr,gr,Qn,Jn,Nr,nr,br,Sr,ur,zr,Vr,fr,Gr,Zr,qr,Ur,$r,ri,di,pi,hi,_i,ti,si,li,ai))},`addDiagrams`),bi=t(async()=>{n.debug(`Loading registered diagrams`);let e=(await Promise.allSettled(Object.entries(T).map(async([e,{detector:t,loader:r}])=>{if(r)try{M(e)}catch{try{let{diagram:e,id:n}=await r();u(n,e,t)}catch(t){throw n.error(`Failed to load external diagram with key ${e}. Removing from detectors.`),delete T[e],t}}}))).filter(e=>e.status===`rejected`);if(e.length>0){n.error(`Failed to load ${e.length} external diagrams`);for(let t of e)n.error(t);throw Error(`Failed to load ${e.length} external diagrams`)}},`loadRegisteredDiagrams`),xi=`graphics-document document`;function Si(e,t){e.attr(`role`,xi),t!==``&&e.attr(`aria-roledescription`,t)}t(Si,`setA11yDiagramInfo`);function Ci(e,t,n,r){if(e.insert!==void 0){if(n){let t=`chart-desc-${r}`;e.attr(`aria-describedby`,t),e.insert(`desc`,`:first-child`).attr(`id`,t).text(n)}if(t){let n=`chart-title-${r}`;e.attr(`aria-labelledby`,n),e.insert(`title`,`:first-child`).attr(`id`,n).text(t)}}}t(Ci,`addSVGa11yTitleDescription`);var wi=class e{constructor(e,t,n,r,i){this.type=e,this.text=t,this.db=n,this.parser=r,this.renderer=i}static{t(this,`Diagram`)}static async fromText(t,r={}){let i=typeof t==`string`?{raw:t,cleaned:t}:t,a=N(),o=D(i.cleaned,a);try{M(o)}catch{let e=p(o);if(!e)throw new ee(`Diagram ${o} not found.`);let{id:t,diagram:n}=await e();u(t,n)}let{db:s,parser:c,renderer:l,init:d}=M(o);c.parser&&(c.parser.yy=s),s.clear?.(),d?.(a),r.title&&s.setDiagramTitle?.(r.title);let f=i.cleaned;if(s.preserveCommentsWhenParsing&&i.withComments){let e=a.maxTextSize??x.maxTextSize;i.withComments.length>e?n.warn(`Comment-preserving source exceeds maxTextSize (${i.withComments.length} > ${e}); parsing the comment-stripped text instead. Reported source positions will not account for comment lines.`):f=i.withComments}let m=ie(f)+`
|
|
35
|
+
`:``}return t(R,`dump2`),Bt.dump=R,Bt}t(Ht,`requireDumper`);var Ut;function Wt(){if(Ut)return B;Ut=1;let e=zt(),n=Ht();function r(e,t){return function(){throw Error(`Function yaml.`+e+` is removed in js-yaml 4. Use yaml.`+t+` instead, which is now safe by default.`)}}return t(r,`renamed`),B.Type=W(),B.Schema=Be(),B.FAILSAFE_SCHEMA=Qe(),B.JSON_SCHEMA=pt(),B.CORE_SCHEMA=gt(),B.DEFAULT_SCHEMA=Lt(),B.load=e.load,B.loadAll=e.loadAll,B.dump=n.dump,B.YAMLException=U(),B.types={binary:Tt(),float:ut(),map:Ye(),null:tt(),pairs:jt(),set:Pt(),timestamp:yt(),bool:it(),int:st(),merge:St(),omap:Ot(),seq:Ke(),str:Ue()},B.safeLoad=r(`safeLoad`,`load`),B.safeLoadAll=r(`safeLoadAll`,`loadAll`),B.safeDump=r(`safeDump`,`dump`),B}t(Wt,`requireJsYaml`);var{Type:Gt,Schema:Kt,FAILSAFE_SCHEMA:qt,JSON_SCHEMA:Jt,CORE_SCHEMA:Yt,DEFAULT_SCHEMA:Xt,load:Zt,loadAll:Qt,dump:$t,YAMLException:en,types:tn,safeLoad:nn,safeLoadAll:rn,safeDump:an}=Oe(Wt()),on=`comm`,sn=`rule`,cn=`decl`,ln=`@import`,un=`@namespace`,dn=`@keyframes`,fn=`@layer`,pn=Math.abs,mn=String.fromCharCode;function hn(e){return e.trim()}function gn(e,t,n){return e.replace(t,n)}function G(e,t){return e.charCodeAt(t)|0}function K(e,t,n){return e.slice(t,n)}function q(e){return e.length}function _n(e){return e.length}function vn(e,t){return t.push(e),e}var yn=1,bn=1,xn=0,J=0,Y=0,Sn=``;function Cn(e,t,n,r,i,a,o,s){return{value:e,root:t,parent:n,type:r,props:i,children:a,line:yn,column:bn,length:o,return:``,siblings:s}}function wn(){return Y}function Tn(){return Y=J>0?G(Sn,--J):0,bn--,Y===10&&(bn=1,yn--),Y}function X(){return Y=J<xn?G(Sn,J++):0,bn++,Y===10&&(bn=1,yn++),Y}function Z(){return G(Sn,J)}function En(){return J}function Dn(e,t){return K(Sn,e,t)}function On(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function kn(e){return yn=bn=1,xn=q(Sn=e),J=0,[]}function An(e){return Sn=``,e}function jn(e){return hn(Dn(J-1,Pn(e===91?e+2:e===40?e+1:e)))}function Mn(e){for(;(Y=Z())&&Y<33;)X();return On(e)>2||On(Y)>3?``:` `}function Nn(e,t){for(;--t&&X()&&!(Y<48||Y>102||Y>57&&Y<65||Y>70&&Y<97););return Dn(e,En()+(t<6&&Z()==32&&X()==32))}function Pn(e){for(;X();)switch(Y){case e:return J;case 34:case 39:e!==34&&e!==39&&Pn(Y);break;case 40:e===41&&Pn(e);break;case 92:X()}return J}function Fn(e,t){for(;X()&&e+Y!==57&&(e+Y!==84||Z()!==47););return`/*`+Dn(t,J-1)+`*`+mn(e===47?e:X())}function In(e){for(;!On(Z());)X();return Dn(e,J)}function Ln(e){return An(Rn(``,null,null,null,[``],e=kn(e),0,[0],e))}function Rn(e,t,n,r,i,a,o,s,c){for(var l=0,u=0,d=o,f=0,p=0,m=0,h=1,g=1,_=1,v=0,y=0,b=``,x=i,S=a,C=r,w=b;g;)switch(m=y,y=X()){case 40:m!=108&&G(w,d-1)==58?(v++,w+=`(`):w+=jn(y);break;case 41:v--,w+=`)`;break;case 34:case 39:case 91:w+=jn(y);break;case 9:case 10:case 13:case 32:if(v>0){w+=mn(y);break}w+=Mn(m);break;case 92:w+=Nn(En()-1,7);continue;case 47:switch(Z()){case 42:case 47:vn(Bn(Fn(X(),En()),t,n,c),c),(On(m||1)==5||On(Z()||1)==5)&&q(w)&&K(w,-1,void 0)!==` `&&(w+=` `);break;default:w+=`/`}break;case 123*h:s[l++]=q(w)*_;case 125*h:case 59:case 0:if(v>0&&y){w+=mn(y);break}switch(y){case 0:case 125:g=0;case 59+u:_==-1&&(w=gn(w,/\f/g,``)),p>0&&(q(w)-d||h===0)&&vn(p>32?Vn(w+`;`,r,n,d-1,c):Vn(gn(w,` `,``)+`;`,r,n,d-2,c),c);break;case 59:w+=`;`;default:if(vn(C=zn(w,t,n,l,u,i,s,b,x=[],S=[],d,a),a),y===123){if(u===0)Rn(w,t,C,C,x,a,d,s,S);else{switch(f){case 99:if(G(w,3)===110)break;case 108:if(G(w,2)===97)break;default:u=0;case 100:case 109:case 115:}u?Rn(e,C,C,r&&vn(zn(e,C,C,0,0,i,s,b,i,x=[],d,S),S),i,S,d,s,r?x:S):Rn(w,C,C,C,[``],S,0,s,S)}}}l=u=p=0,h=_=1,b=w=``,d=o;break;case 58:d=1+q(w),p=m;default:if(h<1){if(y==123)--h;else if(y==125&&h++==0&&Tn()==125)continue}switch(w+=mn(y),y*h){case 38:_=u>0?1:(w+=`\f`,-1);break;case 44:if(v>0)break;s[l++]=(q(w)-1)*_,_=1;break;case 64:Z()===45&&(w+=jn(X())),f=Z(),u=d=q(b=w+=In(En())),y++;break;case 45:m===45&&q(w)==2&&(h=0)}}return a}function zn(e,t,n,r,i,a,o,s,c,l,u,d){for(var f=i-1,p=i===0?a:[``],m=_n(p),h=0,g=0,_=0;h<r;++h)for(var v=0,y=K(e,f+1,f=pn(g=o[h])),b=e;v<m;++v)(b=hn(g>0?p[v]+` `+y:gn(y,/&\f/g,p[v])))&&(c[_++]=b);return Cn(e,t,n,i===0?sn:s,c,l,u,d)}function Bn(e,t,n,r){return Cn(e,t,n,on,mn(wn()),K(e,2,-2),0,r)}function Vn(e,t,n,r,i){return Cn(e,t,n,cn,K(e,0,r),K(e,r+1,-1),r,i)}function Hn(e,t){for(var n=``,r=0;r<e.length;r++)n+=t(e[r],r,e,t)||``;return n}function Un(e,t,n,r){switch(e.type){case fn:if(e.children.length)break;case ln:case un:case cn:return e.return=e.return||e.value;case on:return``;case dn:return e.return=e.value+`{`+Hn(e.children,r)+`}`;case sn:if(!q(e.value=e.props.join(`,`)))return``}return q(n=Hn(e.children,r))?e.return=e.value+`{`+n+`}`:``}function Wn(e){var t=_n(e);return function(n,r,i,a){for(var o=``,s=0;s<t;s++)o+=e[s](n,r,i,a)||``;return o}}var Gn=`c4`,Kn={id:Gn,detector:t(e=>/^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/.test(e),`detector`),loader:t(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./c4Diagram-XDPPPE54-BfqLHB5i.js`);return{diagram:e}},__vite__mapDeps([31,2,3,1,4,5,6,7,8,9,10,11,12,14,15,13,16,17,18,19,20,32]),import.meta.url);return{id:Gn,diagram:t}},`loader`)},qn=`flowchart-v2`,Jn={id:qn,detector:t(e=>/^\s*(graph|flowchart)/.test(e),`detector`),loader:t(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./flowDiagram-IUGLLWBU-B04NGsyi.js`);return{diagram:e}},__vite__mapDeps([33,3,1,2,4,5,6,7,8,9,10,11,12,14,15,13,16,17,18,19,20,21,22,32,34,23,35,36,37,38]),import.meta.url);return{id:qn,diagram:t}},`loader`)},Yn=`agentflow`,Xn={id:Yn,detector:t(e=>/^\s*agentflow-beta\b/.test(e),`detector`),loader:t(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./diagram-TYUNFSNR-DXzOD_ii.js`);return{diagram:e}},__vite__mapDeps([39,2,3,1,4,5,6,7,8,9,10,11,12,36,14,15,13,16,37,17,19,18,20,21,22,32,38,34,23]),import.meta.url);return{id:Yn,diagram:t}},`loader`)},Zn=`swimlane`,Qn={id:Zn,detector:t(e=>/^\s*swimlane-beta\b/.test(e),`detector`),loader:t(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./swimlanesDiagram-AYQRV4AK-CBZAujYY.js`);return{diagram:e}},__vite__mapDeps([40,2,3,1,4,5,6,7,8,9,10,11,12,14,15,13,16,17,18,19,20,21,22,32,34,23,35,36,37,38]),import.meta.url);return{id:Zn,diagram:t}},`loader`)},$n=`er`,er={id:$n,detector:t(e=>/^\s*erDiagram/.test(e),`detector`),loader:t(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./erDiagram-KYQIGQAA-C4vYTYXp.js`);return{diagram:e}},__vite__mapDeps([41,2,3,1,4,5,6,7,8,9,10,11,12,36,14,15,13,16,17,19,18,20,21,22,38,34,23]),import.meta.url);return{id:$n,diagram:t}},`loader`)},tr=`gitGraph`,nr={id:tr,detector:t(e=>/^\s*gitGraph/.test(e),`detector`),loader:t(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./gitGraphDiagram-PDYL7XHY-hJIB8EkH.js`);return{diagram:e}},__vite__mapDeps([42,43,5,1,6,7,8,9,10,11,12,44,2,3,4,45,15,13,46]),import.meta.url);return{id:tr,diagram:t}},`loader`)},rr=`gantt`,ir={id:rr,detector:t(e=>/^\s*gantt/.test(e),`detector`),loader:t(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./ganttDiagram-R7GPNTJY-CA1LkkC5.js`);return{diagram:e}},__vite__mapDeps([47,1,2,3,4,5,6,7,8,9,10,11,12,48,13,15]),import.meta.url);return{id:rr,diagram:t}},`loader`)},ar=`info`,or={id:ar,detector:t(e=>/^\s*info/.test(e),`detector`),loader:t(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./infoDiagram-MVDRKAX5-BjIMm4Af.js`);return{diagram:e}},__vite__mapDeps([49,43,5,1,6,7,8,9,10,11,12,44,2,3,4]),import.meta.url);return{id:ar,diagram:t}},`loader`)},sr=`pie`,cr={id:sr,detector:t(e=>/^\s*pie/.test(e),`detector`),loader:t(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./pieDiagram-GNMPY74T-Dd9P-Pdc.js`);return{diagram:e}},__vite__mapDeps([50,43,5,1,6,7,8,9,10,11,12,44,2,3,4,48,13,45,15]),import.meta.url);return{id:sr,diagram:t}},`loader`)},lr=`quadrantChart`,ur={id:lr,detector:t(e=>/^\s*quadrantChart/.test(e),`detector`),loader:t(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./quadrantDiagram-D57K4MC3-h2IIKUUA.js`);return{diagram:e}},__vite__mapDeps([51,2,3,1,4,5,6,7,8,9,10,11,12,48]),import.meta.url);return{id:lr,diagram:t}},`loader`)},dr=`xychart`,fr={id:dr,detector:t(e=>/^\s*xychart(-beta)?/.test(e),`detector`),loader:t(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./xychartDiagram-4URNHDU4-ChAfAq1U.js`);return{diagram:e}},__vite__mapDeps([52,2,3,1,4,5,6,7,8,9,10,11,12,48,13,14,15,16]),import.meta.url);return{id:dr,diagram:t}},`loader`)},pr=`requirement`,mr={id:pr,detector:t(e=>/^\s*requirement(Diagram)?/.test(e),`detector`),loader:t(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./requirementDiagram-EQYSW5RA-Dmk9XRM5.js`);return{diagram:e}},__vite__mapDeps([53,2,3,1,4,5,6,7,8,9,10,11,12,14,15,13,16,17,19,18,20,21,22,38,34,23]),import.meta.url);return{id:pr,diagram:t}},`loader`)},hr=`sequence`,gr={id:hr,detector:t(e=>/^\s*sequenceDiagram/.test(e),`detector`),loader:t(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./sequenceDiagram-BLEHNHQU-BTRnp_PW.js`);return{diagram:e}},__vite__mapDeps([54,2,3,1,4,5,6,7,8,9,10,11,12,13,15,32,46]),import.meta.url);return{id:hr,diagram:t}},`loader`)},_r=`classDiagram`,vr={id:_r,detector:t(e=>/^\s*classDiagram/.test(e),`detector`),loader:t(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./classDiagram-v2-4MYWR3UA-U6jbPr2d.js`);return{diagram:e}},__vite__mapDeps([55,2,3,1,4,5,6,7,8,9,10,11,12,14,15,13,16,37,17,19,18,20,21,22,32,38,34,23]),import.meta.url);return{id:_r,diagram:t}},`loader`)},yr=`stateDiagram`,br={id:yr,detector:t(e=>/^\s*stateDiagram/.test(e),`detector`),loader:t(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./stateDiagram-v2-A6IESKWZ-kstrRKv2.js`);return{diagram:e}},__vite__mapDeps([56,2,3,1,4,5,6,7,8,9,10,11,12,14,15,13,16,17,19,18,20,21,22,32,38,34,23]),import.meta.url);return{id:yr,diagram:t}},`loader`)},xr=`journey`,Sr={id:xr,detector:t(e=>/^\s*journey/.test(e),`detector`),loader:t(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./journeyDiagram-BOSHW7O7-DAB-pZjD.js`);return{diagram:e}},__vite__mapDeps([57,2,3,1,4,5,6,7,8,9,10,11,12,13,37,32]),import.meta.url);return{id:xr,diagram:t}},`loader`)},Cr=4,wr=75,Tr=t(e=>{let t=[];for(let n of e.split(/\s+/)){let e=[...n];for(;e.length>wr;)t.push(e.slice(0,wr).join(``)),e=e.slice(wr);e.length>0&&t.push(e.join(``))}let n=[],r=``;for(let e of t){let t=r?`${r} ${e}`:e;[...t].length>wr?(n.push(r),r=e):r=t}if(r&&n.push(r),n.length>Cr){n.length=Cr;let e=n[Cr-1]??``;n[Cr-1]=`${[...e].slice(0,wr-3).join(``)}...`}return n},`wrapErrorMessage`),Er={draw:t((e,t,r,i)=>{n.debug(`rendering svg for syntax error
|
|
36
|
+
`);let a=_e(t),o=a.append(`g`),s=Tr(i?.db.getErrorMessage?.()??``),c=s.length>0?500+s.length*56:512;a.attr(`viewBox`,`0 0 2412 ${c}`),y(a,100,c,!0),o.append(`path`).attr(`class`,`error-icon`).attr(`d`,`m411.313,123.313c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32-9.375,9.375-20.688-20.688c-12.484-12.5-32.766-12.5-45.25,0l-16,16c-1.261,1.261-2.304,2.648-3.31,4.051-21.739-8.561-45.324-13.426-70.065-13.426-105.867,0-192,86.133-192,192s86.133,192 192,192 192-86.133 192-192c0-24.741-4.864-48.327-13.426-70.065 1.402-1.007 2.79-2.049 4.051-3.31l16-16c12.5-12.492 12.5-32.758 0-45.25l-20.688-20.688 9.375-9.375 32.001-31.999zm-219.313,100.687c-52.938,0-96,43.063-96,96 0,8.836-7.164,16-16,16s-16-7.164-16-16c0-70.578 57.422-128 128-128 8.836,0 16,7.164 16,16s-7.164,16-16,16z`),o.append(`path`).attr(`class`,`error-icon`).attr(`d`,`m459.02,148.98c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l16,16c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16.001-16z`),o.append(`path`).attr(`class`,`error-icon`).attr(`d`,`m340.395,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16-16c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l15.999,16z`),o.append(`path`).attr(`class`,`error-icon`).attr(`d`,`m400,64c8.844,0 16-7.164 16-16v-32c0-8.836-7.156-16-16-16-8.844,0-16,7.164-16,16v32c0,8.836 7.156,16 16,16z`),o.append(`path`).attr(`class`,`error-icon`).attr(`d`,`m496,96.586h-32c-8.844,0-16,7.164-16,16 0,8.836 7.156,16 16,16h32c8.844,0 16-7.164 16-16 0-8.836-7.156-16-16-16z`),o.append(`path`).attr(`class`,`error-icon`).attr(`d`,`m436.98,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688l32-32c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32c-6.251,6.25-6.251,16.375-0.001,22.625z`),o.append(`text`).attr(`class`,`error-text`).attr(`x`,1440).attr(`y`,250).attr(`font-size`,`150px`).style(`text-anchor`,`middle`).text(`Syntax error in text`),o.append(`text`).attr(`class`,`error-text`).attr(`x`,1250).attr(`y`,400).attr(`font-size`,`100px`).style(`text-anchor`,`middle`).text(`mermaid version ${r}`),s.forEach((e,t)=>{o.append(`text`).attr(`class`,`error-text`).attr(`x`,1440).attr(`y`,510+t*56).attr(`font-size`,`42px`).style(`text-anchor`,`middle`).text(e)})},`draw`)},Dr=Er,Or,kr={db:{clear(){Or=void 0},setErrorMessage(e){Or=e},getErrorMessage(){return Or}},renderer:Er,parser:{parse:t(()=>{},`parse`)}},Ar=`flowchart-elk`,jr={id:Ar,detector:t((e,t={})=>/^\s*flowchart-elk/.test(e)?(t.layout=`elk`,!0):!1,`detector`),loader:t(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./flowDiagram-IUGLLWBU-B04NGsyi.js`);return{diagram:e}},__vite__mapDeps([33,3,1,2,4,5,6,7,8,9,10,11,12,14,15,13,16,17,18,19,20,21,22,32,34,23,35,36,37,38]),import.meta.url);return{id:Ar,diagram:t}},`loader`)},Mr=`timeline`,Nr={id:Mr,detector:t(e=>/^\s*timeline/.test(e),`detector`),loader:t(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./timeline-definition-JXYKGLGB-CLCvY-Yf.js`);return{diagram:e}},__vite__mapDeps([58,2,3,1,4,5,6,7,8,9,10,11,12,13,15,19]),import.meta.url);return{id:Mr,diagram:t}},`loader`)},Pr=`mindmap`,Fr={id:Pr,detector:t(e=>/^\s*mindmap/.test(e),`detector`),loader:t(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./mindmap-definition-6OY57UG3-TStWb7DG.js`);return{diagram:e}},__vite__mapDeps([59,2,3,1,4,5,6,7,8,9,10,11,12,14,15,13,16,17,18,19,20,21,22,38,34,23]),import.meta.url);return{id:Pr,diagram:t}},`loader`)},Ir=`kanban`,Lr={id:Ir,detector:t(e=>/^\s*kanban/.test(e),`detector`),loader:t(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./kanban-definition-FNSA4HC5-cYeyh3P6.js`);return{diagram:e}},__vite__mapDeps([60,2,3,1,4,5,6,7,8,9,10,11,12,14,15,13,16,37,17,18,19,20,21,23]),import.meta.url);return{id:Ir,diagram:t}},`loader`)},Rr=`sankey`,zr={id:Rr,detector:t(e=>/^\s*sankey(-beta)?/.test(e),`detector`),loader:t(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./sankeyDiagram-SY24JHO5-Yn4zlrAM.js`);return{diagram:e}},__vite__mapDeps([61,2,3,1,4,5,6,7,8,9,10,11,12,48]),import.meta.url);return{id:Rr,diagram:t}},`loader`)},Br=`packet`,Vr={id:Br,detector:t(e=>/^\s*packet(-beta)?/.test(e),`detector`),loader:t(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./diagram-I5XIIV2D-DxVsDZ34.js`);return{diagram:e}},__vite__mapDeps([62,43,5,1,6,7,8,9,10,11,12,44,2,3,4,45,15,13]),import.meta.url);return{id:Br,diagram:t}},`loader`)},Hr=`radar`,Ur={id:Hr,detector:t(e=>/^\s*radar-beta/.test(e),`detector`),loader:t(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./diagram-RJA3I4VV-CSXcnvct.js`);return{diagram:e}},__vite__mapDeps([63,43,5,1,6,7,8,9,10,11,12,44,2,3,4,45,15,13]),import.meta.url);return{id:Hr,diagram:t}},`loader`)},Wr=`block`,Gr={id:Wr,detector:t(e=>/^\s*block(-beta)?/.test(e),`detector`),loader:t(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./blockDiagram-RJAE7QA3-DybfaO3Z.js`);return{diagram:e}},__vite__mapDeps([64,2,3,1,4,5,6,7,8,9,10,11,12,36,14,15,13,16,37,65,17,19,18,20,21,22,25]),import.meta.url);return{id:Wr,diagram:t}},`loader`)},Kr=`treeView`,qr={id:Kr,detector:t(e=>/^\s*treeView-beta/.test(e),`detector`),loader:t(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./diagram-ODIL2UCW-B0eNQoHV.js`);return{diagram:e}},__vite__mapDeps([66,43,5,1,6,7,8,9,10,11,12,44,2,3,4,45,14,15,13,46]),import.meta.url);return{id:Kr,diagram:t}},`loader`)},Jr=`architecture`,Yr={id:Jr,detector:t(e=>/^\s*architecture/.test(e),`detector`),loader:t(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./architectureDiagram-ZHVYKT53-_u5YfCjY.js`);return{diagram:e}},__vite__mapDeps([67,1,43,5,6,7,8,9,10,11,12,44,2,3,4,45,14,15,13,16,30]),import.meta.url);return{id:Jr,diagram:t}},`loader`)},Xr=`eventmodeling`,Zr={id:Xr,detector:t(e=>/^\s*eventmodeling/.test(e),`detector`),loader:t(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./diagram-PFBEJUXE-C7f2MfJT.js`);return{diagram:e}},__vite__mapDeps([68,44,43,5,1,6,7,8,9,10,11,12,2,3,4,45,15,13]),import.meta.url);return{id:Xr,diagram:t}},`loader`)},Qr=`ishikawa`,$r={id:Qr,detector:t(e=>/^\s*ishikawa(-beta)?\b/i.test(e),`detector`),loader:t(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./ishikawaDiagram-HPEHV2GE-Bpz71S40.js`);return{diagram:e}},__vite__mapDeps([69,2,3,1,4,5,6,7,8,9,10,11,12,15,13,20]),import.meta.url);return{id:Qr,diagram:t}},`loader`)},ei=`venn`,ti={id:ei,detector:t(e=>/^\s*venn-beta/.test(e),`detector`),loader:t(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./vennDiagram-Q3Y3IDCW-DAAc11Hx.js`);return{diagram:e}},__vite__mapDeps([70,2,3,1,4,5,6,7,8,9,10,11,12,15,13,20]),import.meta.url);return{id:ei,diagram:t}},`loader`)},ni=`treemap`,ri={id:ni,detector:t(e=>/^\s*treemap/.test(e),`detector`),loader:t(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./diagram-CBK3MWTC-r9XHCV-k.js`);return{diagram:e}},__vite__mapDeps([71,43,5,1,6,7,8,9,10,11,12,44,2,3,4,48,45,15,13,17,34]),import.meta.url);return{id:ni,diagram:t}},`loader`)},ii=`usecase`,ai={id:ii,detector:t(e=>/^\s*usecase-beta(?:\s|$)/.test(e),`detector`),loader:t(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./usecaseDiagram-WPOLBNNX-DTRS54cB.js`);return{diagram:e}},__vite__mapDeps([72,2,3,1,4,5,6,7,8,9,10,11,12,14,15,13,16,17,19,18,20,21,22,38,34,23]),import.meta.url);return{id:ii,diagram:t}},`loader`)},oi=`wardley`,si={id:oi,detector:t(e=>/^\s*wardley-beta/i.test(e),`detector`),loader:t(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./wardleyDiagram-IVAIDKWA-BmbwCaky.js`);return{diagram:e}},__vite__mapDeps([73,43,5,1,6,7,8,9,10,11,12,44,2,3,4,45,15,13]),import.meta.url);return{id:oi,diagram:t}},`loader`)},ci=`cynefin`,li={id:ci,detector:t(e=>/^\s*cynefin-beta(?:[\s:]|$)/.test(e),`detector`),loader:t(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./cynefinDiagram-WF24UDRP-DtSekSr6.js`);return{diagram:e}},__vite__mapDeps([74,43,5,1,6,7,8,9,10,11,12,44,2,3,4,45,15,13]),import.meta.url);return{id:ci,diagram:t}},`loader`)},ui=`railroad`,di={id:ui,detector:t(e=>/^\s*railroad-beta/i.test(e),`detector`),loader:t(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./railroadDiagram-Y72NRBL7-CeLGUjdp.js`);return{diagram:e}},__vite__mapDeps([75,43,5,1,6,7,8,9,10,11,12,44,2,3,4,76,45]),import.meta.url);return{id:ui,diagram:t}},`loader`)},fi=`railroadEbnf`,pi={id:fi,detector:t(e=>/^\s*railroad-ebnf-beta/i.test(e),`detector`),loader:t(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./ebnfDiagram-V4P3TTPT-Cs4YRvDD.js`);return{diagram:e}},__vite__mapDeps([77,43,5,1,6,7,8,9,10,11,12,44,2,3,4,76,45]),import.meta.url);return{id:fi,diagram:t}},`loader`)},mi=`railroadAbnf`,hi={id:mi,detector:t(e=>/^\s*railroad-abnf-beta/i.test(e),`detector`),loader:t(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./abnfDiagram-WEYOIA3C-BKmMA6gn.js`);return{diagram:e}},__vite__mapDeps([78,43,5,1,6,7,8,9,10,11,12,44,2,3,4,76,45]),import.meta.url);return{id:mi,diagram:t}},`loader`)},gi=`railroadPeg`,_i={id:gi,detector:t(e=>/^\s*railroad-peg-beta/i.test(e),`detector`),loader:t(async()=>{let{diagram:t}=await e(async()=>{let{diagram:e}=await import(`./pegDiagram-ECIUJNBX-DvSNRv0-.js`);return{diagram:e}},__vite__mapDeps([79,43,5,1,6,7,8,9,10,11,12,44,2,3,4,76,45]),import.meta.url);return{id:gi,diagram:t}},`loader`)},vi=!1,yi=t(()=>{vi||(vi=!0,u(`error`,kr,e=>e.toLowerCase().trim()===`error`),u(`---`,{db:{clear:t(()=>{},`clear`)},styles:{},renderer:{draw:t(()=>{},`draw`)},parser:{parse:t(()=>{throw Error("Diagrams beginning with --- are not valid. If you were trying to use a YAML front-matter, please ensure that you've correctly opened and closed the YAML front-matter with un-indented `---` blocks")},`parse`)},init:t(()=>null,`init`)},e=>e.toLowerCase().trimStart().startsWith(`---`)),d(jr,Fr,Yr),d(Xn,Kn,Lr,vr,er,ir,or,cr,mr,gr,Qn,Jn,Nr,nr,br,Sr,ur,zr,Vr,fr,Gr,Zr,qr,Ur,$r,ri,di,pi,hi,_i,ti,si,li,ai))},`addDiagrams`),bi=t(async()=>{n.debug(`Loading registered diagrams`);let e=(await Promise.allSettled(Object.entries(T).map(async([e,{detector:t,loader:r}])=>{if(r)try{M(e)}catch{try{let{diagram:e,id:n}=await r();u(n,e,t)}catch(t){throw n.error(`Failed to load external diagram with key ${e}. Removing from detectors.`),delete T[e],t}}}))).filter(e=>e.status===`rejected`);if(e.length>0){n.error(`Failed to load ${e.length} external diagrams`);for(let t of e)n.error(t);throw Error(`Failed to load ${e.length} external diagrams`)}},`loadRegisteredDiagrams`),xi=`graphics-document document`;function Si(e,t){e.attr(`role`,xi),t!==``&&e.attr(`aria-roledescription`,t)}t(Si,`setA11yDiagramInfo`);function Ci(e,t,n,r){if(e.insert!==void 0){if(n){let t=`chart-desc-${r}`;e.attr(`aria-describedby`,t),e.insert(`desc`,`:first-child`).attr(`id`,t).text(n)}if(t){let n=`chart-title-${r}`;e.attr(`aria-labelledby`,n),e.insert(`title`,`:first-child`).attr(`id`,n).text(t)}}}t(Ci,`addSVGa11yTitleDescription`);var wi=class e{constructor(e,t,n,r,i){this.type=e,this.text=t,this.db=n,this.parser=r,this.renderer=i}static{t(this,`Diagram`)}static async fromText(t,r={}){let i=typeof t==`string`?{raw:t,cleaned:t}:t,a=N(),o=D(i.cleaned,a);try{M(o)}catch{let e=p(o);if(!e)throw new ee(`Diagram ${o} not found.`);let{id:t,diagram:n}=await e();u(t,n)}let{db:s,parser:c,renderer:l,init:d}=M(o);c.parser&&(c.parser.yy=s),s.clear?.(),d?.(a),r.title&&s.setDiagramTitle?.(r.title);let f=i.cleaned;if(s.preserveCommentsWhenParsing&&i.withComments){let e=a.maxTextSize??x.maxTextSize;i.withComments.length>e?n.warn(`Comment-preserving source exceeds maxTextSize (${i.withComments.length} > ${e}); parsing the comment-stripped text instead. Reported source positions will not account for comment lines.`):f=i.withComments}let m=ie(f)+`
|
|
37
37
|
`;return i.frontmatterLineOffset&&s.setFrontmatterLineOffset?.(i.frontmatterLineOffset),await c.parse(m),new e(o,m,s,c,l)}async render(e,t){await this.renderer.draw(this.text,e,t,this)}getParser(){return this.parser}getType(){return this.type}},Ti=[],Ei=t(()=>{Ti.forEach(e=>{e()}),Ti=[]},`attachFunctions`),Di=t(e=>e.replace(/^\s*%%(?!{)[^\n]+\n?/gm,``).trimStart(),`cleanupComments`);function Oi(e){let t=C(e);if(!t)return{text:e,metadata:{}};let n=t.indent,r=Zt(n?t.body.split(`
|
|
38
38
|
`).map(e=>e.startsWith(n)?e.slice(n.length):e).join(`
|
|
39
39
|
`):t.body,{schema:Jt})??{};r=typeof r==`object`&&!Array.isArray(r)?r:{};let i={};return r.displayMode&&(i.displayMode=r.displayMode.toString()),r.title&&(i.title=r.title.toString()),r.config&&(i.config=r.config),{text:e.slice(t.length),metadata:i}}t(Oi,`extractFrontMatter`);var ki=t(e=>e.replace(/\r\n?/g,`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{n as e}from"./chunk-Y2CYZVJY-DsF7k-Jl.js";import{n as t}from"./d3-selection-COWvaQNI.js";import{O as n,b as r,f as i,it as a,nt as o,tt as s,y as c,z as l}from"./chunk-DSNLSHJZ-
|
|
1
|
+
import{n as e}from"./chunk-Y2CYZVJY-DsF7k-Jl.js";import{n as t}from"./d3-selection-COWvaQNI.js";import{O as n,b as r,f as i,it as a,nt as o,tt as s,y as c,z as l}from"./chunk-DSNLSHJZ-CUDx1Rv5.js";import"./chunk-YZO67HFG-Bbpu36XF.js";import"./chunk-7S6XSTFO-Dc0Dvkq7.js";import"./chunk-AQDTSKZB-VAILIsfx.js";import"./chunk-UHW7PFBP-BgLV8BIJ.js";import"./chunk-HAGFOTED-DAoEe-dJ.js";import"./chunk-ZAUX2LTX-C48Ri0Gs.js";import"./chunk-WQQL4CDK-CMST9dyE.js";import{t as u}from"./chunk-XXDRQBXY-i7MKP1NY.js";import{t as d}from"./chunk-VQ5W62QI-Bw19OOSD.js";import"./chunk-HNE4Q36P-g0akya12.js";import{i as f,r as p}from"./mermaid.core-zFwZug4C.js";var m=[];for(let e=0;e<256;++e)m.push((e+256).toString(16).slice(1));function h(e,t=0){return(m[e[t+0]]+m[e[t+1]]+m[e[t+2]]+m[e[t+3]]+`-`+m[e[t+4]]+m[e[t+5]]+`-`+m[e[t+6]]+m[e[t+7]]+`-`+m[e[t+8]]+m[e[t+9]]+`-`+m[e[t+10]]+m[e[t+11]]+m[e[t+12]]+m[e[t+13]]+m[e[t+14]]+m[e[t+15]]).toLowerCase()}var g=new Uint8Array(16);function _(){return crypto.getRandomValues(g)}function v(e,t,n){return!t&&!e&&crypto.randomUUID?crypto.randomUUID():y(e,t,n)}function y(e,t,n){e||={};let r=e.random??e.rng?.()??_();if(r.length<16)throw Error(`Random bytes length must be >= 16`);if(r[6]=r[6]&15|64,r[8]=r[8]&63|128,t){if(n||=0,n<0||n+16>t.length)throw RangeError(`UUID byte range ${n}:${n+15} is out of buffer bounds`);for(let e=0;e<16;++e)t[n+e]=r[e];return t}return h(r)}var b=(function(){var t=e(function(e,t,n,r){for(n||={},r=e.length;r--;n[e[r]]=t);return n},`o`),n=[1,4],r=[1,13],i=[1,12],a=[1,15],o=[1,16],s=[1,20],c=[1,19],l=[6,7,8],u=[1,26],d=[1,24],f=[1,25],p=[6,7,11],m=[1,6,13,15,16,19,22],h=[1,33],g=[1,34],_=[1,6,7,11,13,15,16,19,22],v={trace:e(function(){},`trace`),yy:{},symbols_:{error:2,start:3,mindMap:4,spaceLines:5,SPACELINE:6,NL:7,MINDMAP:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,node:14,ICON:15,CLASS:16,nodeWithId:17,nodeWithoutId:18,NODE_DSTART:19,NODE_DESCR:20,NODE_DEND:21,NODE_ID:22,$accept:0,$end:1},terminals_:{2:`error`,6:`SPACELINE`,7:`NL`,8:`MINDMAP`,11:`EOF`,13:`SPACELIST`,15:`ICON`,16:`CLASS`,19:`NODE_DSTART`,20:`NODE_DESCR`,21:`NODE_DEND`,22:`NODE_ID`},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,2],[12,2],[12,2],[12,1],[12,1],[12,1],[12,1],[12,1],[14,1],[14,1],[18,3],[17,1],[17,4]],performAction:e(function(e,t,n,r,i,a,o){var s=a.length-1;switch(i){case 6:case 7:return r;case 8:r.getLogger().trace(`Stop NL `);break;case 9:r.getLogger().trace(`Stop EOF `);break;case 11:r.getLogger().trace(`Stop NL2 `);break;case 12:r.getLogger().trace(`Stop EOF2 `);break;case 15:r.getLogger().info(`Node: `,a[s].id),r.addNode(a[s-1].length,a[s].id,a[s].descr,a[s].type);break;case 16:r.getLogger().trace(`Icon: `,a[s]),r.decorateNode({icon:a[s]});break;case 17:case 21:r.decorateNode({class:a[s]});break;case 18:r.getLogger().trace(`SPACELIST`);break;case 19:r.getLogger().trace(`Node: `,a[s].id),r.addNode(0,a[s].id,a[s].descr,a[s].type);break;case 20:r.decorateNode({icon:a[s]});break;case 25:r.getLogger().trace(`node found ..`,a[s-2]),this.$={id:a[s-1],descr:a[s-1],type:r.getType(a[s-2],a[s])};break;case 26:this.$={id:a[s],descr:a[s],type:r.nodeType.DEFAULT};break;case 27:r.getLogger().trace(`node found ..`,a[s-3]),this.$={id:a[s-3],descr:a[s-1],type:r.getType(a[s-2],a[s])}}},`anonymous`),table:[{3:1,4:2,5:3,6:[1,5],8:n},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:n},{6:r,7:[1,10],9:9,12:11,13:i,14:14,15:a,16:o,17:17,18:18,19:s,22:c},t(l,[2,3]),{1:[2,2]},t(l,[2,4]),t(l,[2,5]),{1:[2,6],6:r,12:21,13:i,14:14,15:a,16:o,17:17,18:18,19:s,22:c},{6:r,9:22,12:11,13:i,14:14,15:a,16:o,17:17,18:18,19:s,22:c},{6:u,7:d,10:23,11:f},t(p,[2,22],{17:17,18:18,14:27,15:[1,28],16:[1,29],19:s,22:c}),t(p,[2,18]),t(p,[2,19]),t(p,[2,20]),t(p,[2,21]),t(p,[2,23]),t(p,[2,24]),t(p,[2,26],{19:[1,30]}),{20:[1,31]},{6:u,7:d,10:32,11:f},{1:[2,7],6:r,12:21,13:i,14:14,15:a,16:o,17:17,18:18,19:s,22:c},t(m,[2,14],{7:h,11:g}),t(_,[2,8]),t(_,[2,9]),t(_,[2,10]),t(p,[2,15]),t(p,[2,16]),t(p,[2,17]),{20:[1,35]},{21:[1,36]},t(m,[2,13],{7:h,11:g}),t(_,[2,11]),t(_,[2,12]),{21:[1,37]},t(p,[2,25]),t(p,[2,27])],defaultActions:{2:[2,1],6:[2,2]},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`)};v.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()+`
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{t as e}from"./createLucideIcon-GFZ_fxLc.js";var t=e(`minus`,[[`path`,{d:`M5 12h14`,key:`1ays0h`}]]);export{t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"./chunk-NGNAAXSQ-Bw6tHVuc.js";export{S as createPacketServices}from"./mermaid-parser.core-
|
|
1
|
+
import"./chunk-NGNAAXSQ-Bw6tHVuc.js";export{S as createPacketServices}from"./mermaid-parser.core-req5LE0X.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{t as e}from"./createLucideIcon-GFZ_fxLc.js";var t=e(`palette`,[[`path`,{d:`M12 22a1 1 0 0 1 0-20 10 9 0 0 1 10 9 5 5 0 0 1-5 5h-2.25a1.75 1.75 0 0 0-1.4 2.8l.3.4a1.75 1.75 0 0 1-1.4 2.8z`,key:`e79jfc`}],[`circle`,{cx:`13.5`,cy:`6.5`,r:`.5`,fill:`currentColor`,key:`1okk4w`}],[`circle`,{cx:`17.5`,cy:`10.5`,r:`.5`,fill:`currentColor`,key:`f64h9f`}],[`circle`,{cx:`6.5`,cy:`12.5`,r:`.5`,fill:`currentColor`,key:`qy21gx`}],[`circle`,{cx:`8.5`,cy:`7.5`,r:`.5`,fill:`currentColor`,key:`fotxhn`}]]);export{t};
|
package/editor-web/assets/{pegDiagram-ECIUJNBX-CQyh6TTa.js → pegDiagram-ECIUJNBX-DvSNRv0-.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as e,u as t}from"./mermaid-parser.core-
|
|
1
|
+
import{t as e,u as t}from"./mermaid-parser.core-req5LE0X.js";import{n}from"./chunk-Y2CYZVJY-DsF7k-Jl.js";import{n as r}from"./d3-selection-COWvaQNI.js";import"./chunk-DSNLSHJZ-CUDx1Rv5.js";import{n as i,r as a,t as o}from"./chunk-2E7WHVMD-BVp1I_d0.js";import{t as s}from"./chunk-JWPE2WC7-DVXcaiue.js";import"./mermaid.core-zFwZug4C.js";var c=t().RailroadPeg.parser.LangiumParser,l=n(e=>{let t=e.alternatives.map(u);return t.length===1?t[0]:{type:`choice`,alternatives:t}},`transformOrderedChoice`),u=n(e=>{let t=e.elements.map(d);return t.length===1?t[0]:{type:`sequence`,elements:t}},`transformSequence`),d=n(e=>{let t=p(e.suffix);return e.operator?{type:`special`,text:e.operator===`&`?`&${f(t)}`:`!${f(t)}`}:t},`transformPrefix`),f=n(e=>{switch(e.type){case`terminal`:return`"${e.value}"`;case`nonterminal`:return e.name;case`special`:return e.text;default:return`(...)`}},`nodeToLabel`),p=n(e=>{let t=m(e.primary);if(!e.operator)return t;switch(e.operator){case`?`:return{type:`optional`,element:t};case`*`:return{type:`repetition`,element:t,min:0,max:1/0};case`+`:return{type:`repetition`,element:t,min:1,max:1/0};default:throw Error(`Unsupported PEG suffix operator: ${e.operator}`)}},`transformSuffix`),m=n(e=>{switch(e.$type){case`PegLiteral`:return{type:`terminal`,value:e.value};case`PegIdentifier`:return{type:`nonterminal`,name:e.name};case`PegGroup`:return l(e.element);case`PegAny`:return{type:`special`,text:e.dot};default:throw Error(`Unsupported PEG primary node: ${e.$type}`)}},`transformPrimary`),h=n(e=>({name:e.name,definition:l(e.definition)}),`transformRule`),g=n(e=>{s(e,o),e.title&&o.setTitle(e.title),e.rules.map(e=>o.addRule(h(e)))},`populateDb`),_={parser:{parse:n(t=>{o.clear(),r.debug(`[PEG Parser] Starting Langium parse`);let n=c.parse(t);if(n.lexerErrors.length>0||n.parserErrors.length>0)throw new e(n);let i=n.value;r.debug(`[PEG Parser] Parsed rules:`,i.rules.length),g(i),r.debug(`[PEG Parser] Parse complete`)},`parse`),parser:{yy:o}},db:o,renderer:a,styles:i};export{_ as diagram};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"./chunk-NGNAAXSQ-Bw6tHVuc.js";export{b as createPieServices}from"./mermaid-parser.core-
|
|
1
|
+
import"./chunk-NGNAAXSQ-Bw6tHVuc.js";export{b as createPieServices}from"./mermaid-parser.core-req5LE0X.js";
|
package/editor-web/assets/{pieDiagram-GNMPY74T-DF5yGBLn.js → pieDiagram-GNMPY74T-Dd9P-Pdc.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{n as e}from"./mermaid-parser.core-
|
|
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,H as i,U as a,_ as o,a as s,b as c,c as l,f as u,q as d,v as f}from"./chunk-DSNLSHJZ-CUDx1Rv5.js";import{r as p}from"./d3-scale-CElPUUud.js";import{n as m,x as h}from"./dist-DdXDFcej.js";import{t as g}from"./chunk-JWPE2WC7-DVXcaiue.js";import{i as _,m as v}from"./chunk-7S6XSTFO-Dc0Dvkq7.js";import{a as y}from"./mermaid.core-zFwZug4C.js";var b=u.pie,x={sections:new Map,showData:!1,config:b},S=x.sections,C=x.showData,w=structuredClone(b),T={getConfig:t(()=>structuredClone(w),`getConfig`),clear:t(()=>{S=new Map,C=x.showData,s()},`clear`),setDiagramTitle:d,getDiagramTitle:r,setAccTitle:a,getAccTitle:f,setAccDescription:i,getAccDescription:o,addSection:t(({label:e,value:t})=>{if(t<0)throw Error(`"${e}" has invalid value: ${t}. Negative values are not allowed in pie charts. All slice values must be >= 0.`);S.has(e)||(S.set(e,t),n.debug(`added new section: ${e}, with value: ${t}`))},`addSection`),getSections:t(()=>S,`getSections`),setShowData:t(e=>{C=e},`setShowData`),getShowData:t(()=>C,`getShowData`)},E=t((e,t)=>{g(e,t),t.setShowData(e.showData),e.sections.map(t.addSection)},`populateDb`),D={parse:t(async t=>{let r=await e(`pie`,t);n.debug(r),E(r,T)},`parse`)},O=t(e=>`
|
|
2
2
|
.pieCircle{
|
|
3
3
|
stroke: ${e.pieStrokeColor};
|
|
4
4
|
stroke-width : ${e.pieStrokeWidth};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{t as e}from"./createLucideIcon-GFZ_fxLc.js";var t=e(`play`,[[`path`,{d:`M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z`,key:`10ikf1`}]]);export{t};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import{i as e}from"./rolldown-runtime-COiEfhsA.js";import{y as t}from"./react-WA6wlt8S.js";import{gt as n,lt as r,ot as i}from"./button-eGxLxbv9.js";import{t as a}from"./jsx-runtime-DePvh3-m.js";var o=e(t(),1),s=a(),c=Object.defineProperty,l=(e,t)=>c(e,`name`,{value:t,configurable:!0}),u=`Progress`,d=100,[f,p]=i(u),[m,h]=f(u),g=o.forwardRef(l(function(e,t){let{__scopeProgress:n,value:i=null,max:a,getValueLabel:o=y,...c}=e;(a||a===0)&&!S(a)&&console.error(w(`${a}`,`Progress`));let l=S(a)?a:d;i!==null&&!C(i,l)&&console.error(T(`${i}`,`Progress`));let u=C(i,l)?i:null,f=x(u)?o(u,l):void 0;return(0,s.jsx)(m,{scope:n,value:u,max:l,children:(0,s.jsx)(r.div,{"aria-valuemax":l,"aria-valuemin":0,"aria-valuenow":x(u)?u:void 0,"aria-valuetext":f,role:`progressbar`,"data-state":b(u,l),"data-value":u??void 0,"data-max":l,...c,ref:t})})},`Progress`)),_=`ProgressIndicator`,v=o.forwardRef(l(function(e,t){let{__scopeProgress:n,...i}=e,a=h(_,n);return(0,s.jsx)(r.div,{"data-state":b(a.value,a.max),"data-value":a.value??void 0,"data-max":a.max,...i,ref:t})},`ProgressIndicator`));function y(e,t){return`${Math.round(e/t*100)}%`}l(y,`defaultGetValueLabel`);function b(e,t){return e==null?`indeterminate`:e===t?`complete`:`loading`}l(b,`getProgressState`);function x(e){return typeof e==`number`}l(x,`isNumber`);function S(e){return x(e)&&!isNaN(e)&&e>0}l(S,`isValidMaxNumber`);function C(e,t){return x(e)&&!isNaN(e)&&e<=t&&e>=0}l(C,`isValidValueNumber`);function w(e,t){return`Invalid prop \`max\` of value \`${e}\` supplied to \`${t}\`. Only numbers greater than 0 are valid max values. Defaulting to \`${d}\`.`}l(w,`getInvalidMaxError`);function T(e,t){return`Invalid prop \`value\` of value \`${e}\` supplied to \`${t}\`. The \`value\` prop must be:
|
|
2
|
+
- a positive number
|
|
3
|
+
- less than the value passed to \`max\` (or ${d} if no \`max\` prop is set)
|
|
4
|
+
- \`null\` or \`undefined\` if the progress is indeterminate.
|
|
5
|
+
|
|
6
|
+
Defaulting to \`null\`.`}l(T,`getInvalidValueError`);function E({value:e,className:t,style:r,...i}){let a=e===void 0?25:Math.round(Math.min(1,Math.max(0,e))*100);return(0,s.jsx)(`span`,{"data-slot":`progress-ring`,"aria-hidden":!0,className:n(`relative inline-block size-3.5 flex-none rounded-full`,e===void 0&&`motion-safe:animate-spin`,t),style:{background:`conic-gradient(currentColor ${String(a)}%, var(--allyhub-rule-strong) 0)`,mask:`radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 3px))`,WebkitMask:`radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 3px))`,...r},...i})}function D({className:e,value:t,...r}){return(0,s.jsx)(g,{"data-slot":`progress`,className:n(`relative h-2 w-full overflow-hidden rounded-full bg-primary/20`,e),...r,children:(0,s.jsx)(v,{"data-slot":`progress-indicator`,className:`h-full w-full flex-1 bg-primary transition-all`,style:{transform:`translateX(-${100-(t||0)}%)`}})})}export{E as n,D as t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{i as e}from"./rolldown-runtime-COiEfhsA.js";import{c as t,m as n,o as r,y as i}from"./react-WA6wlt8S.js";import{f as a}from"./slides-diTEQ3C5.js";import{t as o}from"./jsx-runtime-DePvh3-m.js";import{t as s}from"./createLucideIcon-GFZ_fxLc.js";import{a as c,o as l}from"./chart-C37xvZT2.js";import{t as u}from"./switch-N0G_sbqt.js";import{gt as d,p as f}from"./index-CgB5osVc.js";import{t as p}from"./textarea-tEWvBY9p.js";var m=s(`between-horizontal-end`,[[`rect`,{width:`13`,height:`7`,x:`3`,y:`3`,rx:`1`,key:`11xb64`}],[`path`,{d:`m22 15-3-3 3-3`,key:`26chmm`}],[`rect`,{width:`13`,height:`7`,x:`3`,y:`14`,rx:`1`,key:`k6ky7n`}]]),h=s(`between-vertical-end`,[[`rect`,{width:`7`,height:`13`,x:`3`,y:`3`,rx:`1`,key:`1fdu0f`}],[`path`,{d:`m9 22 3-3 3 3`,key:`17z65a`}],[`rect`,{width:`7`,height:`13`,x:`14`,y:`3`,rx:`1`,key:`1squn4`}]]),g=s(`text-align-justify`,[[`path`,{d:`M3 5h18`,key:`1u36vt`}],[`path`,{d:`M3 12h18`,key:`1i2n21`}],[`path`,{d:`M3 19h18`,key:`awlh7x`}]]),_=e=>a(e)??`dk1`;function v(e,t){if(t.startsWith(`/`))return t.slice(1);let n=e===``?[]:e.split(`/`);for(let e of t.split(`/`))e!==``&&e!==`.`&&(e===`..`?n.pop():n.push(e));return n.join(`/`)}var y=e=>e&&{...e.min===void 0?{}:{minimum_scale:e.min},...e.max===void 0?{}:{maximum_scale:e.max},...e.major===void 0?{}:{major_unit:e.major},...e.gridlines===void 0?{}:{has_major_gridlines:e.gridlines},...e.visible===void 0?{}:{visible:e.visible},...e.format===void 0?{}:{number_format:e.format},...e.reverse===void 0?{}:{reverse_order:e.reverse},...e.gridline_color===void 0?{}:{gridline_color:_(e.gridline_color)},...e.line_color===void 0?{}:{line_color:_(e.line_color)}},b=e=>{if(e!==void 0&&e!==!1)return e===!0?{show_value:!0}:{...e.value===void 0?{}:{show_value:e.value},...e.percentage===void 0?{}:{show_percentage:e.percentage},...e.category===void 0?{}:{show_category_name:e.category},...e.series===void 0?{}:{show_series_name:e.series},...e.format===void 0?{}:{number_format:e.format},...e.position===void 0?{}:{position:e.position},...e.size===void 0?{}:{size:e.size},...e.color===void 0?{}:{color:_(e.color)}}};function x(e){if(typeof e==`number`)return Number.isFinite(e)?e:void 0;if(e==null)return null;if(typeof e!=`string`)return;let t=e.trim();if(t===``)return null;let n=Number(t);return Number.isFinite(n)?n:void 0}function S(e,t){let n=b(e.labels),r=c(e.type),i,a,o=e=>({...e.color===void 0?{}:{color:_(e.color)},...e.format===void 0?{}:{number_format:e.format},...e.smooth===void 0?{}:{smooth:e.smooth},...e.line_width===void 0?{}:{line_width:e.line_width},...e.marker_size===void 0?{}:{marker_size:e.marker_size}});if(e.data!==void 0){let n;try{n=t.rows(e.data)}catch(n){t.problem(`${e.data} cannot be read: ${n instanceof Error?n.message:String(n)}`);return}if(!Array.isArray(n)||n.length===0){t.problem(`${e.data} holds no rows.`);return}let s=n,c=e.categories;if(typeof c!=`string`){t.problem(`with data, categories names its column.`);return}let l=Object.keys(s[0]??{}),u=[c,...e.series.map(e=>typeof e==`string`?e:e.name)].filter(e=>!l.includes(e));if(u.length>0){t.problem(`${e.data} has no column ${u.join(`, `)} (it has ${l.join(`, `)}).`);return}i=s.map(e=>{let t=e[c];return typeof t==`string`||typeof t==`number`?String(t):``}),a=e.series.map(n=>{let i=typeof n==`string`?n:n.name;return{name:i,values:s.map((n,r)=>{let a=x(n[i]);return a===void 0?(t.problem(`${String(e.data)} row ${String(r+1)}: ${JSON.stringify(n[i])} in ${i} is not a number.`),null):a}),...r?{x:s.map(e=>x(e[c])??null)}:{},...typeof n==`string`?{}:o(n)}})}else{if(typeof e.categories==`string`){t.problem(`categories names a column, and there is no data to read.`);return}if(e.categories===void 0&&!r){t.problem(`a ${e.type} chart has categories.`);return}i=e.categories??[];let n=[];for(let a of e.series){if(typeof a==`string`||!a.values){let e=typeof a==`string`?a:a.name;t.problem(`series ${e} has no values, and there is no data to read.`);return}if(r){if(a.x?.length!==a.values.length){t.problem(`series ${a.name} has an x for each of its values.`);return}}else a.values.length!==i.length&&t.problem(`series ${a.name} has ${String(a.values.length)} values for ${String(i.length)} categories.`);n.push({name:a.name,values:a.values,...r&&a.x?{x:a.x}:{},...o(a)})}a=n}let s=n?.position;s!==void 0&&!l(e.type).includes(s)&&t.problem(`a ${e.type} chart has no label position ${s}, which PowerPoint would repair (it has ${l(e.type).join(`, `)||`none`}).`);let u=y(e.value_axis),d=y(e.category_axis);return{type:e.type,categories:i,series:a,...t.title===void 0?{}:{title:t.title},...e.legend===void 0?{}:{legend:e.legend},...n?{labels:n}:{},...e.gap_width===void 0?{}:{gap_width:e.gap_width},...e.overlap===void 0?{}:{overlap:e.overlap},...e.vary_by_categories===void 0?{}:{vary_by_categories:e.vary_by_categories},...e.category_colors===void 0?{}:{category_colors:e.category_colors.map(_)},...e.hole_size===void 0?{}:{hole_size:e.hole_size},...u?{value_axis:u}:{},...d?{category_axis:d}:{},...e.size===void 0?{}:{font_size:e.size},...e.title_size===void 0?{}:{title_size:e.title_size},...e.color===void 0?{}:{font_color:_(e.color)},...e.data===void 0?{}:{source:v(t.base,e.data)}}}var C=e(i(),1);function w(e,i,a){let o=r(),[s,c]=(0,C.useState)(),[l,u]=(0,C.useState)(0);t(`project/changed`,e=>{u(e.revision)});let f=n(s?.probe);return(0,C.useEffect)(()=>{if(!a||e===void 0)return;let t=!0;return d(o,`components/stage`,{item:e,...i===void 0?{}:{version:i}}).then(e=>{t&&c(t=>t?.url===e.url&&t.probe===e.probe?t:{url:e.url,probe:e.probe})},()=>void 0),()=>{t=!1}},[o,e,i,a,l]),s&&f!==void 0?{url:s.url,sandbox:f}:void 0}function T(e,t,n,r={}){let i=document.createElement(`iframe`);i.src=t.url,t.sandbox&&i.setAttribute(`sandbox`,`allow-scripts`),i.tabIndex=-1,i.setAttribute(`aria-hidden`,`true`),i.dataset.akComponent=n.name;let a=n,o=!1,s=()=>{let t=e.clientWidth>0?e.clientWidth/a.width:1;Object.assign(i.style,{position:`absolute`,left:`0px`,top:`0px`,width:`${String(a.width)}px`,height:`${String(a.height)}px`,border:`0`,background:`transparent`,pointerEvents:`none`,transformOrigin:`0 0`,transform:`scale(${String(t)})`})},c=()=>{i.contentWindow?.postMessage({allyhub:!0,type:`component`,...a},`*`)},l=e=>{if(e.source!==i.contentWindow)return;let t=e.data;t.allyhub===!0&&(t.type===`component-ready`?r.onDrawn?.(t.component):t.type===`error`&&r.onError?.(typeof t.message==`string`?t.message:``))};addEventListener(`message`,l);let u=new ResizeObserver(s);return u.observe(e),s(),i.addEventListener(`load`,()=>{o=!0,c()}),e.append(i),{draw(e){a=e,s(),o&&c()},remove(){removeEventListener(`message`,l),u.disconnect(),i.remove()}}}function E(e,t,n){let i=r(),[a,o]=(0,C.useState)(new Map),s=JSON.stringify(n);return(0,C.useEffect)(()=>{if(e===void 0||n.length===0)return;let r=!0;return d(i,`components/stills`,{item:e,...t===void 0?{}:{version:t},components:n.slice(0,64).map(e=>({...e}))}).then(({stills:e})=>{r&&o(t=>{let r=new Map(t);return n.slice(0,64).forEach((t,n)=>{let i=e[n];i&&r.set(JSON.stringify(t),i.url)}),r})},()=>void 0),()=>{r=!1}},[i,e,t,s]),a}var D=o();function O(e,t,n){return e===void 0?n:typeof e==`string`?e:e[t]??e.en??Object.values(e)[0]??n}var k=e=>{try{return JSON.parse(e),!0}catch{return!1}};function A({name:e,type:t,value:n,locale:r,disabled:i,onChange:a}){let o=(0,C.useId)(),[s,c]=(0,C.useState)(n??``),l=O(t.label,r,e),d=e=>{e!==(n??``)&&a(e===``&&t.optional?void 0:e)};if(t.type===`boolean`)return(0,D.jsxs)(`label`,{className:`flex items-center justify-between gap-3 text-sm`,children:[(0,D.jsx)(`span`,{children:l}),(0,D.jsx)(u,{size:`sm`,disabled:i,checked:n===`true`,onCheckedChange:e=>{a(e?`true`:`false`)}})]});let m=t.type===`list`||t.type===`object`,h=m||t.multiline===!0;return(0,D.jsxs)(`div`,{className:`flex flex-col gap-1`,children:[(0,D.jsx)(`label`,{htmlFor:o,className:`text-xs text-muted-foreground`,children:l}),h?(0,D.jsx)(p,{id:o,value:s,disabled:i,rows:m?4:3,className:m?`font-mono text-xs`:`text-sm`,"aria-invalid":m&&s!==``&&!k(s),onChange:e=>{c(e.target.value)},onBlur:()=>{d(s)}}):(0,D.jsx)(f,{id:o,value:s,disabled:i,inputMode:t.type===`number`?`decimal`:void 0,className:`h-8 text-sm`,...t.type===`number`?{type:`number`,...t.min===void 0?{}:{min:t.min},...t.max===void 0?{}:{max:t.max},...t.step===void 0?{}:{step:t.step}}:{},onChange:e=>{c(e.target.value)},onBlur:()=>{d(s)},onKeyDown:e=>{e.key===`Enter`&&d(s)}})]})}function j({types:e,values:t,locale:n,disabled:r=!1,onChange:i}){return(0,D.jsx)(`div`,{className:`flex flex-col gap-3`,children:Object.entries(e).map(([e,a])=>(0,D.jsx)(A,{name:e,type:a,value:t[e],locale:n,disabled:r,onChange:t=>{i(e,t)}},`${e}\0${t[e]??``}`))})}export{S as a,m as c,E as i,T as n,g as o,w as r,h as s,j as t};
|
|
@@ -1,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,E as i,H as a,U as o,_ as s,a as c,b as l,c as u,f as d,q as f,v as p,z as m}from"./chunk-DSNLSHJZ-
|
|
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,E as i,H as a,U as o,_ as s,a as c,b as l,c as u,f as d,q as f,v as p,z as m}from"./chunk-DSNLSHJZ-CUDx1Rv5.js";import{n as h}from"./d3-scale-CElPUUud.js";var g=(function(){var t=e(function(e,t,n,r){for(n||={},r=e.length;r--;n[e[r]]=t);return n},`o`),n=[1,3],r=[1,4],i=[1,5],a=[1,6],o=[1,7],s=[1,4,5,10,12,13,14,15,18,25,35,37,39,41,42,48,50,51,52,53,54,55,56,57,60,61,63,64,65,66,67],c=[1,4,5,10,12,13,14,15,18,25,28,35,37,39,41,42,48,50,51,52,53,54,55,56,57,60,61,63,64,65,66,67],l=[55,56,57],u=[2,36],d=[1,37],f=[1,36],p=[1,38],m=[1,35],h=[1,43],g=[1,41],_=[1,45],v=[1,14],y=[1,23],b=[1,18],x=[1,19],S=[1,20],C=[1,21],w=[1,22],T=[1,24],E=[1,25],D=[1,26],O=[1,27],k=[1,28],A=[1,29],j=[1,32],M=[1,33],N=[1,34],P=[1,39],F=[1,40],I=[1,42],L=[1,44],R=[1,63],z=[1,62],B=[4,5,8,10,12,13,14,15,18,44,47,49,55,56,57,63,64,65,66,67],ee=[1,66],te=[1,67],ne=[1,68],re=[1,69],ie=[1,70],ae=[1,71],oe=[1,72],se=[1,73],ce=[1,74],le=[1,75],ue=[1,76],de=[1,77],V=[4,5,6,7,8,9,10,11,12,13,14,15,18],H=[1,91],U=[1,92],W=[1,93],G=[1,100],K=[1,94],q=[1,97],J=[1,95],Y=[1,96],X=[1,98],Z=[1,99],fe=[1,103],pe=[10,55,56,57],Q=[4,5,6,8,10,11,13,17,18,19,20,55,56,57],me={trace:e(function(){},`trace`),yy:{},symbols_:{error:2,idStringToken:3,ALPHA:4,NUM:5,NODE_STRING:6,DOWN:7,MINUS:8,DEFAULT:9,COMMA:10,COLON:11,AMP:12,BRKT:13,MULT:14,UNICODE_TEXT:15,styleComponent:16,UNIT:17,SPACE:18,STYLE:19,PCT:20,idString:21,style:22,stylesOpt:23,classDefStatement:24,CLASSDEF:25,start:26,eol:27,QUADRANT:28,document:29,line:30,statement:31,axisDetails:32,quadrantDetails:33,points:34,title:35,title_value:36,acc_title:37,acc_title_value:38,acc_descr:39,acc_descr_value:40,acc_descr_multiline_value:41,section:42,text:43,point_start:44,point_x:45,point_y:46,class_name:47,"X-AXIS":48,"AXIS-TEXT-DELIMITER":49,"Y-AXIS":50,QUADRANT_1:51,QUADRANT_2:52,QUADRANT_3:53,QUADRANT_4:54,NEWLINE:55,SEMI:56,EOF:57,alphaNumToken:58,textNoTagsToken:59,STR:60,MD_STR:61,alphaNum:62,PUNCTUATION:63,PLUS:64,EQUALS:65,DOT:66,UNDERSCORE:67,$accept:0,$end:1},terminals_:{2:`error`,4:`ALPHA`,5:`NUM`,6:`NODE_STRING`,7:`DOWN`,8:`MINUS`,9:`DEFAULT`,10:`COMMA`,11:`COLON`,12:`AMP`,13:`BRKT`,14:`MULT`,15:`UNICODE_TEXT`,17:`UNIT`,18:`SPACE`,19:`STYLE`,20:`PCT`,25:`CLASSDEF`,28:`QUADRANT`,35:`title`,36:`title_value`,37:`acc_title`,38:`acc_title_value`,39:`acc_descr`,40:`acc_descr_value`,41:`acc_descr_multiline_value`,42:`section`,44:`point_start`,45:`point_x`,46:`point_y`,47:`class_name`,48:`X-AXIS`,49:`AXIS-TEXT-DELIMITER`,50:`Y-AXIS`,51:`QUADRANT_1`,52:`QUADRANT_2`,53:`QUADRANT_3`,54:`QUADRANT_4`,55:`NEWLINE`,56:`SEMI`,57:`EOF`,60:`STR`,61:`MD_STR`,63:`PUNCTUATION`,64:`PLUS`,65:`EQUALS`,66:`DOT`,67:`UNDERSCORE`},productions_:[0,[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[21,1],[21,2],[22,1],[22,2],[23,1],[23,3],[24,5],[26,2],[26,2],[26,2],[29,0],[29,2],[30,2],[31,0],[31,1],[31,2],[31,1],[31,1],[31,1],[31,2],[31,2],[31,2],[31,1],[31,1],[34,4],[34,5],[34,5],[34,6],[32,4],[32,3],[32,2],[32,4],[32,3],[32,2],[33,2],[33,2],[33,2],[33,2],[27,1],[27,1],[27,1],[43,1],[43,2],[43,1],[43,1],[62,1],[62,2],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[59,1],[59,1],[59,1]],performAction:e(function(e,t,n,r,i,a,o){var s=a.length-1;switch(i){case 23:this.$=a[s];break;case 24:this.$=a[s-1]+``+a[s];break;case 26:this.$=a[s-1]+a[s];break;case 27:this.$=[a[s].trim()];break;case 28:a[s-2].push(a[s].trim()),this.$=a[s-2];break;case 29:this.$=a[s-4],r.addClass(a[s-2],a[s]);break;case 37:this.$=[];break;case 42:this.$=a[s].trim(),r.setDiagramTitle(this.$);break;case 43:this.$=a[s].trim(),r.setAccTitle(this.$);break;case 44:case 45:this.$=a[s].trim(),r.setAccDescription(this.$);break;case 46:r.addSection(a[s].substr(8)),this.$=a[s].substr(8);break;case 47:r.addPoint(a[s-3],``,a[s-1],a[s],[]);break;case 48:r.addPoint(a[s-4],a[s-3],a[s-1],a[s],[]);break;case 49:r.addPoint(a[s-4],``,a[s-2],a[s-1],a[s]);break;case 50:r.addPoint(a[s-5],a[s-4],a[s-2],a[s-1],a[s]);break;case 51:r.setXAxisLeftText(a[s-2]),r.setXAxisRightText(a[s]);break;case 52:a[s-1].text+=` ⟶ `,r.setXAxisLeftText(a[s-1]);break;case 53:r.setXAxisLeftText(a[s]);break;case 54:r.setYAxisBottomText(a[s-2]),r.setYAxisTopText(a[s]);break;case 55:a[s-1].text+=` ⟶ `,r.setYAxisBottomText(a[s-1]);break;case 56:r.setYAxisBottomText(a[s]);break;case 57:r.setQuadrant1Text(a[s]);break;case 58:r.setQuadrant2Text(a[s]);break;case 59:r.setQuadrant3Text(a[s]);break;case 60:r.setQuadrant4Text(a[s]);break;case 64:this.$={text:a[s],type:`text`};break;case 65:this.$={text:a[s-1].text+``+a[s],type:a[s-1].type};break;case 66:this.$={text:a[s],type:`text`};break;case 67:this.$={text:a[s],type:`markdown`};break;case 68:this.$=a[s];break;case 69:this.$=a[s-1]+``+a[s]}},`anonymous`),table:[{18:n,26:1,27:2,28:r,55:i,56:a,57:o},{1:[3]},{18:n,26:8,27:2,28:r,55:i,56:a,57:o},{18:n,26:9,27:2,28:r,55:i,56:a,57:o},t(s,[2,33],{29:10}),t(c,[2,61]),t(c,[2,62]),t(c,[2,63]),{1:[2,30]},{1:[2,31]},t(l,u,{30:11,31:12,24:13,32:15,33:16,34:17,43:30,58:31,1:[2,32],4:d,5:f,10:p,12:m,13:h,14:g,15:_,18:v,25:y,35:b,37:x,39:S,41:C,42:w,48:T,50:E,51:D,52:O,53:k,54:A,60:j,61:M,63:N,64:P,65:F,66:I,67:L}),t(s,[2,34]),{27:46,55:i,56:a,57:o},t(l,[2,37]),t(l,u,{24:13,32:15,33:16,34:17,43:30,58:31,31:47,4:d,5:f,10:p,12:m,13:h,14:g,15:_,18:v,25:y,35:b,37:x,39:S,41:C,42:w,48:T,50:E,51:D,52:O,53:k,54:A,60:j,61:M,63:N,64:P,65:F,66:I,67:L}),t(l,[2,39]),t(l,[2,40]),t(l,[2,41]),{36:[1,48]},{38:[1,49]},{40:[1,50]},t(l,[2,45]),t(l,[2,46]),{18:[1,51]},{4:d,5:f,10:p,12:m,13:h,14:g,15:_,43:52,58:31,60:j,61:M,63:N,64:P,65:F,66:I,67:L},{4:d,5:f,10:p,12:m,13:h,14:g,15:_,43:53,58:31,60:j,61:M,63:N,64:P,65:F,66:I,67:L},{4:d,5:f,10:p,12:m,13:h,14:g,15:_,43:54,58:31,60:j,61:M,63:N,64:P,65:F,66:I,67:L},{4:d,5:f,10:p,12:m,13:h,14:g,15:_,43:55,58:31,60:j,61:M,63:N,64:P,65:F,66:I,67:L},{4:d,5:f,10:p,12:m,13:h,14:g,15:_,43:56,58:31,60:j,61:M,63:N,64:P,65:F,66:I,67:L},{4:d,5:f,10:p,12:m,13:h,14:g,15:_,43:57,58:31,60:j,61:M,63:N,64:P,65:F,66:I,67:L},{4:d,5:f,8:R,10:p,12:m,13:h,14:g,15:_,18:z,44:[1,58],47:[1,59],58:61,59:60,63:N,64:P,65:F,66:I,67:L},t(B,[2,64]),t(B,[2,66]),t(B,[2,67]),t(B,[2,70]),t(B,[2,71]),t(B,[2,72]),t(B,[2,73]),t(B,[2,74]),t(B,[2,75]),t(B,[2,76]),t(B,[2,77]),t(B,[2,78]),t(B,[2,79]),t(B,[2,80]),t(B,[2,81]),t(s,[2,35]),t(l,[2,38]),t(l,[2,42]),t(l,[2,43]),t(l,[2,44]),{3:65,4:ee,5:te,6:ne,7:re,8:ie,9:ae,10:oe,11:se,12:ce,13:le,14:ue,15:de,21:64},t(l,[2,53],{59:60,58:61,4:d,5:f,8:R,10:p,12:m,13:h,14:g,15:_,18:z,49:[1,78],63:N,64:P,65:F,66:I,67:L}),t(l,[2,56],{59:60,58:61,4:d,5:f,8:R,10:p,12:m,13:h,14:g,15:_,18:z,49:[1,79],63:N,64:P,65:F,66:I,67:L}),t(l,[2,57],{59:60,58:61,4:d,5:f,8:R,10:p,12:m,13:h,14:g,15:_,18:z,63:N,64:P,65:F,66:I,67:L}),t(l,[2,58],{59:60,58:61,4:d,5:f,8:R,10:p,12:m,13:h,14:g,15:_,18:z,63:N,64:P,65:F,66:I,67:L}),t(l,[2,59],{59:60,58:61,4:d,5:f,8:R,10:p,12:m,13:h,14:g,15:_,18:z,63:N,64:P,65:F,66:I,67:L}),t(l,[2,60],{59:60,58:61,4:d,5:f,8:R,10:p,12:m,13:h,14:g,15:_,18:z,63:N,64:P,65:F,66:I,67:L}),{45:[1,80]},{44:[1,81]},t(B,[2,65]),t(B,[2,82]),t(B,[2,83]),t(B,[2,84]),{3:83,4:ee,5:te,6:ne,7:re,8:ie,9:ae,10:oe,11:se,12:ce,13:le,14:ue,15:de,18:[1,82]},t(V,[2,23]),t(V,[2,1]),t(V,[2,2]),t(V,[2,3]),t(V,[2,4]),t(V,[2,5]),t(V,[2,6]),t(V,[2,7]),t(V,[2,8]),t(V,[2,9]),t(V,[2,10]),t(V,[2,11]),t(V,[2,12]),t(l,[2,52],{58:31,43:84,4:d,5:f,10:p,12:m,13:h,14:g,15:_,60:j,61:M,63:N,64:P,65:F,66:I,67:L}),t(l,[2,55],{58:31,43:85,4:d,5:f,10:p,12:m,13:h,14:g,15:_,60:j,61:M,63:N,64:P,65:F,66:I,67:L}),{46:[1,86]},{45:[1,87]},{4:H,5:U,6:W,8:G,11:K,13:q,16:90,17:J,18:Y,19:X,20:Z,22:89,23:88},t(V,[2,24]),t(l,[2,51],{59:60,58:61,4:d,5:f,8:R,10:p,12:m,13:h,14:g,15:_,18:z,63:N,64:P,65:F,66:I,67:L}),t(l,[2,54],{59:60,58:61,4:d,5:f,8:R,10:p,12:m,13:h,14:g,15:_,18:z,63:N,64:P,65:F,66:I,67:L}),t(l,[2,47],{22:89,16:90,23:101,4:H,5:U,6:W,8:G,11:K,13:q,17:J,18:Y,19:X,20:Z}),{46:[1,102]},t(l,[2,29],{10:fe}),t(pe,[2,27],{16:104,4:H,5:U,6:W,8:G,11:K,13:q,17:J,18:Y,19:X,20:Z}),t(Q,[2,25]),t(Q,[2,13]),t(Q,[2,14]),t(Q,[2,15]),t(Q,[2,16]),t(Q,[2,17]),t(Q,[2,18]),t(Q,[2,19]),t(Q,[2,20]),t(Q,[2,21]),t(Q,[2,22]),t(l,[2,49],{10:fe}),t(l,[2,48],{22:89,16:90,23:105,4:H,5:U,6:W,8:G,11:K,13:q,17:J,18:Y,19:X,20:Z}),{4:H,5:U,6:W,8:G,11:K,13:q,16:90,17:J,18:Y,19:X,20:Z,22:106},t(Q,[2,26]),t(l,[2,50],{10:fe}),t(pe,[2,28],{16:104,4:H,5:U,6:W,8:G,11:K,13:q,17:J,18:Y,19:X,20:Z})],defaultActions:{8:[2,30],9:[2,31]},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`)};me.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"./chunk-NGNAAXSQ-Bw6tHVuc.js";export{v as createRadarServices}from"./mermaid-parser.core-
|
|
1
|
+
import"./chunk-NGNAAXSQ-Bw6tHVuc.js";export{v as createRadarServices}from"./mermaid-parser.core-req5LE0X.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"./chunk-NGNAAXSQ-Bw6tHVuc.js";export{g as createRailroadServices}from"./mermaid-parser.core-
|
|
1
|
+
import"./chunk-NGNAAXSQ-Bw6tHVuc.js";export{g as createRailroadServices}from"./mermaid-parser.core-req5LE0X.js";
|
package/editor-web/assets/{railroad-abnf-LNEFI6M7-Y-oyol19.js → railroad-abnf-LNEFI6M7-Daj8h2iV.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import"./chunk-NGNAAXSQ-Bw6tHVuc.js";export{m as createRailroadAbnfServices}from"./mermaid-parser.core-
|
|
1
|
+
import"./chunk-NGNAAXSQ-Bw6tHVuc.js";export{m as createRailroadAbnfServices}from"./mermaid-parser.core-req5LE0X.js";
|
package/editor-web/assets/{railroad-ebnf-DWYD2UWJ-o58wHZsr.js → railroad-ebnf-DWYD2UWJ-eYJyl5PH.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import"./chunk-NGNAAXSQ-Bw6tHVuc.js";export{f as createRailroadEbnfServices}from"./mermaid-parser.core-
|
|
1
|
+
import"./chunk-NGNAAXSQ-Bw6tHVuc.js";export{f as createRailroadEbnfServices}from"./mermaid-parser.core-req5LE0X.js";
|
package/editor-web/assets/{railroad-peg-JR7BVNR7-CcD3PXZ8.js → railroad-peg-JR7BVNR7-BTRhKZQq.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import"./chunk-NGNAAXSQ-Bw6tHVuc.js";export{u as createRailroadPegServices}from"./mermaid-parser.core-
|
|
1
|
+
import"./chunk-NGNAAXSQ-Bw6tHVuc.js";export{u as createRailroadPegServices}from"./mermaid-parser.core-req5LE0X.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{g as e,t}from"./mermaid-parser.core-
|
|
1
|
+
import{g as e,t}from"./mermaid-parser.core-req5LE0X.js";import{n}from"./chunk-Y2CYZVJY-DsF7k-Jl.js";import{n as r}from"./d3-selection-COWvaQNI.js";import"./chunk-DSNLSHJZ-CUDx1Rv5.js";import{n as i,r as a,t as o}from"./chunk-2E7WHVMD-BVp1I_d0.js";import{t as s}from"./chunk-JWPE2WC7-DVXcaiue.js";import"./mermaid.core-zFwZug4C.js";var c=e().Railroad.parser.LangiumParser,l=n(e=>{switch(e.$type){case`RailroadTerminalExpr`:return{type:`terminal`,value:e.value};case`RailroadNonTerminalExpr`:return{type:`nonterminal`,name:e.name};case`RailroadSpecialExpr`:return{type:`special`,text:e.text};case`RailroadSequenceExpr`:{let t=e.elements.map(l);return t.length===1?t[0]:{type:`sequence`,elements:t}}case`RailroadChoiceExpr`:{let t=e.alternatives.map(l);return t.length===1?t[0]:{type:`choice`,alternatives:t}}case`RailroadOptionalExpr`:return{type:`optional`,element:l(e.element)};case`RailroadOneOrMoreExpr`:return{type:`repetition`,element:l(e.element),min:1,max:1/0};case`RailroadZeroOrMoreExpr`:return{type:`repetition`,element:l(e.element),min:0,max:1/0};default:throw Error(`Unsupported railroad expression: ${e.$type}`)}},`transformExpression`),u=n(e=>({name:e.name,definition:l(e.definition)}),`transformRule`),d=n(e=>{s(e,o),e.title&&o.setTitle(e.title),e.rules.map(e=>o.addRule(u(e)))},`populateDb`),f={parser:{parse:n(e=>{o.clear(),r.debug(`[Railroad Parser] Starting Langium parse`);let n=c.parse(e);if(n.lexerErrors.length>0||n.parserErrors.length>0)throw new t(n);let i=n.value;r.debug(`[Railroad Parser] Parsed rules:`,i.rules.length),d(i),r.debug(`[Railroad Parser] Parse complete`)},`parse`),parser:{yy:o}},db:o,renderer:a,styles:i};export{f as diagram};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{i as e,t}from"./rolldown-runtime-COiEfhsA.js";import{t as n}from"./jsx-runtime-DePvh3-m.js";var r=t((e=>{var t=Symbol.for(`react.transitional.element`),n=Symbol.for(`react.portal`),r=Symbol.for(`react.fragment`),i=Symbol.for(`react.strict_mode`),a=Symbol.for(`react.profiler`),o=Symbol.for(`react.consumer`),s=Symbol.for(`react.context`),c=Symbol.for(`react.forward_ref`),l=Symbol.for(`react.suspense`),u=Symbol.for(`react.memo`),d=Symbol.for(`react.lazy`),f=Symbol.for(`react.activity`),p=Symbol.for(`react.view_transition`),m=Symbol.iterator;function h(e){return typeof e!=`object`||!e?null:(e=m&&e[m]||e[`@@iterator`],typeof e==`function`?e:null)}var g={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},_=Object.assign,v={};function y(e,t,n){this.props=e,this.context=t,this.refs=v,this.updater=n||g}y.prototype.isReactComponent={},y.prototype.setState=function(e,t){if(typeof e!=`object`&&typeof e!=`function`&&e!=null)throw Error(`takes an object of state variables to update or a function which returns an object of state variables.`);this.updater.enqueueSetState(this,e,t,`setState`)},y.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,`forceUpdate`)};function b(){}b.prototype=y.prototype;function x(e,t,n){this.props=e,this.context=t,this.refs=v,this.updater=n||g}var S=x.prototype=new b;S.constructor=x,_(S,y.prototype),S.isPureReactComponent=!0;var C=Array.isArray;function w(){}var T={H:null,A:null,T:null,S:null},E=Object.prototype.hasOwnProperty;function D(e,n,r){var i=r.ref;return{$$typeof:t,type:e,key:n,ref:i===void 0?null:i,props:r}}function O(e,t){return D(e.type,t,e.props)}function k(e){return typeof e==`object`&&!!e&&e.$$typeof===t}function A(e){var t={"=":`=0`,":":`=2`};return`$`+e.replace(/[=:]/g,function(e){return t[e]})}var j=/\/+/g;function M(e,t){return typeof e==`object`&&e&&e.key!=null?A(``+e.key):t.toString(36)}function N(e){switch(e.status){case`fulfilled`:return e.value;case`rejected`:throw e.reason;default:switch(typeof e.status==`string`?e.then(w,w):(e.status=`pending`,e.then(function(t){e.status===`pending`&&(e.status=`fulfilled`,e.value=t)},function(t){e.status===`pending`&&(e.status=`rejected`,e.reason=t)})),e.status){case`fulfilled`:return e.value;case`rejected`:throw e.reason}}throw e}function P(e,r,i,a,o){var s=typeof e;(s===`undefined`||s===`boolean`)&&(e=null);var c=!1;if(e===null)c=!0;else switch(s){case`bigint`:case`string`:case`number`:c=!0;break;case`object`:switch(e.$$typeof){case t:case n:c=!0;break;case d:return c=e._init,P(c(e._payload),r,i,a,o)}}if(c)return o=o(e),c=a===``?`.`+M(e,0):a,C(o)?(i=``,c!=null&&(i=c.replace(j,`$&/`)+`/`),P(o,r,i,``,function(e){return e})):o!=null&&(k(o)&&(o=O(o,i+(o.key==null||e&&e.key===o.key?``:(``+o.key).replace(j,`$&/`)+`/`)+c)),r.push(o)),1;c=0;var l=a===``?`.`:a+`:`;if(C(e))for(var u=0;u<e.length;u++)a=e[u],s=l+M(a,u),c+=P(a,r,i,s,o);else if(u=h(e),typeof u==`function`)for(e=u.call(e),u=0;!(a=e.next()).done;)a=a.value,s=l+M(a,u++),c+=P(a,r,i,s,o);else if(s===`object`){if(typeof e.then==`function`)return P(N(e),r,i,a,o);throw r=String(e),Error(`Objects are not valid as a React child (found: `+(r===`[object Object]`?`object with keys {`+Object.keys(e).join(`, `)+`}`:r)+`). If you meant to render a collection of children, use an array instead.`)}return c}function F(e,t,n){if(e==null)return e;var r=[],i=0;return P(e,r,``,``,function(e){return t.call(n,e,i++)}),r}function I(e){if(e._status===-1){var t=e._result,n=t();n.then(function(t){(e._status===0||e._status===-1)&&(e._status=1,e._result=t,n.status===void 0&&(n.status=`fulfilled`,n.value=t))},function(t){(e._status===0||e._status===-1)&&(e._status=2,e._result=t,n.status===void 0&&(n.status=`rejected`,n.reason=t))}),e._status===-1&&(e._status=0,e._result=n)}if(e._status===1)return e._result.default;throw e._result}var L=typeof reportError==`function`?reportError:function(e){if(typeof window==`object`&&typeof window.ErrorEvent==`function`){var t=new window.ErrorEvent(`error`,{bubbles:!0,cancelable:!0,message:typeof e==`object`&&e&&typeof e.message==`string`?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process==`object`&&typeof process.emit==`function`){process.emit(`uncaughtException`,e);return}console.error(e)};function R(e){var t=T.T,n={};n.types=t===null?null:t.types,T.T=n;try{var r=e(),i=T.S;i!==null&&i(n,r),typeof r==`object`&&r&&typeof r.then==`function`&&r.then(w,L)}catch(e){L(e)}finally{t!==null&&n.types!==null&&(t.types=n.types),T.T=t}}function z(e){var t=T.T;if(t!==null){var n=t.types;n===null?t.types=[e]:n.indexOf(e)===-1&&n.push(e)}else R(z.bind(null,e))}var B={map:F,forEach:function(e,t,n){F(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return F(e,function(){t++}),t},toArray:function(e){return F(e,function(e){return e})||[]},only:function(e){if(!k(e))throw Error(`React.Children.only expected to receive a single React element child.`);return e}};e.Activity=f,e.Children=B,e.Component=y,e.Fragment=r,e.Profiler=a,e.PureComponent=x,e.StrictMode=i,e.Suspense=l,e.ViewTransition=p,e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=T,e.__COMPILER_RUNTIME={__proto__:null,c:function(e){return T.H.useMemoCache(e)}},e.addTransitionType=z,e.cache=function(e){return function(){return e.apply(null,arguments)}},e.cacheSignal=function(){return null},e.cloneElement=function(e,t,n){if(e==null)throw Error(`The argument must be a React element, but you passed `+e+`.`);var r=_({},e.props),i=e.key;if(t!=null)for(a in t.key!==void 0&&(i=``+t.key),t)!E.call(t,a)||a===`key`||a===`__self`||a===`__source`||a===`ref`&&t.ref===void 0||(r[a]=t[a]);var a=arguments.length-2;if(a===1)r.children=n;else if(1<a){for(var o=Array(a),s=0;s<a;s++)o[s]=arguments[s+2];r.children=o}return D(e.type,i,r)},e.createContext=function(e){return e={$$typeof:s,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider=e,e.Consumer={$$typeof:o,_context:e},e},e.createElement=function(e,t,n){var r,i={},a=null;if(t!=null)for(r in t.key!==void 0&&(a=``+t.key),t)E.call(t,r)&&r!==`key`&&r!==`__self`&&r!==`__source`&&(i[r]=t[r]);var o=arguments.length-2;if(o===1)i.children=n;else if(1<o){for(var s=Array(o),c=0;c<o;c++)s[c]=arguments[c+2];i.children=s}if(e&&e.defaultProps)for(r in o=e.defaultProps,o)i[r]===void 0&&(i[r]=o[r]);return D(e,a,i)},e.createRef=function(){return{current:null}},e.forwardRef=function(e){return{$$typeof:c,render:e}},e.isValidElement=k,e.lazy=function(e){return{$$typeof:d,_payload:{_status:-1,_result:e},_init:I}},e.memo=function(e,t){return{$$typeof:u,type:e,compare:t===void 0?null:t}},e.startTransition=R,e.unstable_useCacheRefresh=function(){return T.H.useCacheRefresh()},e.use=function(e){return T.H.use(e)},e.useActionState=function(e,t,n){return T.H.useActionState(e,t,n)},e.useCallback=function(e,t){return T.H.useCallback(e,t)},e.useContext=function(e){return T.H.useContext(e)},e.useDebugValue=function(){},e.useDeferredValue=function(e,t){return T.H.useDeferredValue(e,t)},e.useEffect=function(e,t){return T.H.useEffect(e,t)},e.useEffectEvent=function(e){return T.H.useEffectEvent(e)},e.useId=function(){return T.H.useId()},e.useImperativeHandle=function(e,t,n){return T.H.useImperativeHandle(e,t,n)},e.useInsertionEffect=function(e,t){return T.H.useInsertionEffect(e,t)},e.useLayoutEffect=function(e,t){return T.H.useLayoutEffect(e,t)},e.useMemo=function(e,t){return T.H.useMemo(e,t)},e.useOptimistic=function(e,t){return T.H.useOptimistic(e,t)},e.useReducer=function(e,t,n){return T.H.useReducer(e,t,n)},e.useRef=function(e){return T.H.useRef(e)},e.useState=function(e){return T.H.useState(e)},e.useSyncExternalStore=function(e,t,n){return T.H.useSyncExternalStore(e,t,n)},e.useTransition=function(){return T.H.useTransition()},e.version=`19.3.0`})),i=t(((e,t)=>{t.exports=r()})),a=e(i(),1),o=`allyhub.stage-sandbox`;function s(e){let t=e;return typeof t==`object`&&!!t&&t.allyhub===!0&&t.type===`probe`}function c(e){try{let t=e?.getItem(o);return t===`1`||t!==`0`&&void 0}catch{return}}async function l(e){let t=c(e.storage);if(t!==void 0)return t;let n,r=()=>void 0,i=await new Promise(t=>{n=setTimeout(()=>{t(!1)},e.ms??1500),r=e.open(()=>{t(!0)})});clearTimeout(n),r();try{e.storage?.setItem(o,i?`1`:`0`)}catch{}return i}function u(e){return t=>{let n=document.createElement(`iframe`);n.setAttribute(`sandbox`,`allow-scripts`),n.setAttribute(`aria-hidden`,`true`),n.tabIndex=-1,n.style.cssText=`position:fixed;width:1px;height:1px;left:-10px;top:-10px;border:0;opacity:0`;let r=e=>{e.source===n.contentWindow&&s(e.data)&&t()};return window.addEventListener(`message`,r),n.src=e,document.body.append(n),()=>{window.removeEventListener(`message`,r),n.remove()}}}var d;function f(e){let t;try{t=sessionStorage}catch{t=void 0}return d??=l({open:u(e),storage:t}),d}function p(e){if(!e.checkVisibility({opacityProperty:!0,visibilityProperty:!0}))return;let t=e.getBoundingClientRect(),n=t.left,r=t.top,i=t.right,a=t.bottom;for(let t=e.parentElement;t;t=t.parentElement){let e=getComputedStyle(t);if(e.overflowX===`visible`&&e.overflowY===`visible`)continue;let o=t.getBoundingClientRect(),s=o.left+t.clientLeft,c=o.top+t.clientTop;e.overflowX!==`visible`&&(n=Math.max(n,s),i=Math.min(i,s+t.clientWidth)),e.overflowY!==`visible`&&(r=Math.max(r,c),a=Math.min(a,c+t.clientHeight))}return n=Math.max(n,0),r=Math.max(r,0),i=Math.min(i,window.innerWidth),a=Math.min(a,window.innerHeight),i-n>1&&a-r>1?{x:n,y:r,width:i-n,height:a-r}:void 0}function m(e){let t=e.getBoundingClientRect(),n=e.videoWidth,r=e.videoHeight;if(t.width<=0||t.height<=0||n===0||r===0)return;let i=window.devicePixelRatio,a=document.createElement(`canvas`);a.width=Math.round(t.width*i),a.height=Math.round(t.height*i);let o=a.getContext(`2d`);if(!o)return;let s=getComputedStyle(e).objectFit,c=a.width,l=a.height,u=s===`cover`?Math.max(c/n,l/r):s===`fill`?void 0:Math.min(c/n,l/r);u===void 0?o.drawImage(e,0,0,c,l):o.drawImage(e,(c-n*u)/2,(l-r*u)/2,n*u,r*u);try{let e=a.toDataURL(`image/png`);return{rect:{x:t.x,y:t.y,width:t.width,height:t.height},mime:`image/png`,data:e.slice(e.indexOf(`,`)+1)}}catch{return}}async function h(e,t){let n=e.rect;if(!n)return e;let r=Math.max(n.x,t.x),i=Math.max(n.y,t.y),a=Math.min(n.x+n.width,t.x+t.width),o=Math.min(n.y+n.height,t.y+t.height);if(a-r<=0||o-i<=0)return;if(r<=n.x&&i<=n.y&&a>=n.x+n.width&&o>=n.y+n.height)return e;let s=new Image;s.src=`data:${e.mime};base64,${e.data}`,await s.decode();let c=s.naturalWidth/n.width,l=s.naturalHeight/n.height,u=document.createElement(`canvas`);u.width=Math.max(1,Math.round((a-r)*c)),u.height=Math.max(1,Math.round((o-i)*l));let d=u.getContext(`2d`);if(!d)return e;d.drawImage(s,(r-n.x)*c,(i-n.y)*l,(a-r)*c,(o-i)*l,0,0,u.width,u.height);let f=u.toDataURL(`image/png`);return{rect:{x:r,y:i,width:a-r,height:o-i},mime:`image/png`,data:f.slice(f.indexOf(`,`)+1)}}var g=n(),_=(0,a.createContext)(null);function v(e){return(0,g.jsx)(_.Provider,{value:e.host,children:e.children})}function y(){let e=(0,a.useContext)(_);if(!e)throw Error(`An editor runs inside a HostProvider.`);return e}function b(e,t){let n=y(),r=(0,a.useEffectEvent)(t);(0,a.useEffect)(()=>n.on(e,e=>{r(e)}),[n,e])}function x(e,t){b(`items/changed`,n=>{e!==void 0&&n.item===e&&t(n.paths)})}function S(e){let t=y(),n=(0,a.useRef)(e);(0,a.useEffect)(()=>{n.current=e});let r=e.pick!==void 0,i=e.selected!==void 0;(0,a.useEffect)(()=>{let e={hold:()=>n.current.hold(),locate:e=>n.current.locate(e),release:()=>{n.current.release?.()}};return r&&(e.pick=e=>n.current.pick?.(e)??Promise.resolve(void 0)),i&&(e.selected=()=>n.current.selected?.()??Promise.resolve([])),t.notes?.(e)},[t,r,i])}function C(e){let t=y(),n=(0,a.useRef)(e);(0,a.useEffect)(()=>{n.current=e});let r={pictures:e.pictures!==void 0,locate:e.locate!==void 0,pick:e.pick!==void 0,hold:e.hold!==void 0,release:e.release!==void 0},i=JSON.stringify(r);(0,a.useEffect)(()=>{let e={box:()=>{let e=n.current;if(`box`in e)return e.box();let t=e.element();return t?p(t):void 0}};return r.pictures&&(e.pictures=()=>n.current.pictures?.()??Promise.resolve([])),r.locate&&(e.locate=e=>n.current.locate?.(e)??Promise.resolve({elements:[]})),r.pick&&(e.pick=e=>n.current.pick?.(e)??Promise.resolve(void 0)),r.hold&&(e.hold=()=>n.current.hold?.()??Promise.resolve()),r.release&&(e.release=()=>{n.current.release?.()}),t.noteInset?.(e)},[t,i])}function w(){let e=y(),[t,n]=(0,a.useState)();return(0,a.useEffect)(()=>{let t=!0;e[`host/context`]({}).then(e=>{t&&n(e)},()=>void 0);let r=e.on(`host/context-changed`,e=>{n(e)});return()=>{t=!1,r()}},[e]),t}function T(){return w()?.readOnly===!0}function E(){return w()?.viewer===!0}function D(){try{return c(sessionStorage)}catch{return}}function O(e){let[t,n]=(0,a.useState)(D);return(0,a.useEffect)(()=>{if(t!==void 0||e===void 0)return;let r=!0;return f(e).then(e=>{r&&n(e)}),()=>{r=!1}},[t,e]),t}var k=(0,a.createContext)([]);function A(e){return(0,g.jsx)(k.Provider,{value:e.renderers,children:e.children})}var j=(e,t)=>{let n=t.split(`;`)[0]?.trim().toLowerCase()??``;return e.endsWith(`/*`)?n.startsWith(e.slice(0,-1)):n===e};function M(e){let t=(0,a.useContext)(k);if(e!==void 0)return(t.find(t=>t.types.some(t=>!t.endsWith(`/*`)&&j(t,e)))??t.find(t=>t.types.some(t=>j(t,e))))?.renderer}function N(){let e=y(),[t,n]=(0,a.useState)([]);return(0,a.useEffect)(()=>{let t=!0,r=!1,i=e.on(`presence/changed`,e=>{r=!0,n(e.collaborators)});return e[`presence/get`]({}).then(e=>{t&&!r&&n(e.collaborators)},()=>void 0),()=>{t=!1,i()}},[e]),t}function P(){let e=w(),t=N(),n=e?.item.id;if(n!==void 0&&e?.viewer!==!0)return t.find(e=>e.kind===`agent`&&e.item===n)}var F=`data-follow-keep`,I=class{on=!0;present=!1;listeners=new Set;unhear;get=()=>this.on;subscribe=e=>(this.listeners.add(e),this.listeners.size===1&&this.hear(),()=>{this.listeners.delete(e),this.listeners.size===0&&(this.unhear?.(),this.unhear=void 0)});set(e){if(this.on!==e){this.on=e;for(let e of this.listeners)e()}}agent(e){e&&!this.present&&this.set(!0),this.present=e}hear(){if(typeof document>`u`)return;let e=e=>{if(!e.isTrusted)return;let t=e.target;t instanceof Element&&t.closest(`[data-follow-keep]`)||this.set(!1)},t=[`pointerdown`,`click`,`keydown`,`wheel`];for(let n of t)document.addEventListener(n,e,{capture:!0,passive:!0});this.unhear=()=>{for(let n of t)document.removeEventListener(n,e,{capture:!0})}}},L=new WeakMap;function R(){let e=y(),t=L.get(e);t||(t=new I,L.set(e,t));let n=t,r=P(),i=r?.doing!==void 0;return(0,a.useEffect)(()=>{n.agent(i)},[n,i]),{agent:r,following:(0,a.useSyncExternalStore)(n.subscribe,n.get,n.get),follow:()=>{n.set(!0)},unfollow:()=>{n.set(!1)}}}export{p as _,R as a,b as c,S as d,M as f,h as g,E as h,P as i,x as l,O as m,v as n,y as o,T as p,A as r,w as s,F as t,C as u,m as v,i as y};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as e}from"./createLucideIcon-
|
|
1
|
+
import{t as e}from"./createLucideIcon-GFZ_fxLc.js";var t=e(`repeat-2`,[[`path`,{d:`m2 9 3-3 3 3`,key:`1ltn5i`}],[`path`,{d:`M13 18H7a2 2 0 0 1-2-2V6`,key:`1r6tfw`}],[`path`,{d:`m22 15-3 3-3-3`,key:`4rnwn2`}],[`path`,{d:`M11 6h6a2 2 0 0 1 2 2v10`,key:`2f72bc`}]]);export{t};
|