@jean-is/render 0.0.0-stage → 0.8.0-r2ac5fe39c4a3
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/LICENSE +21 -0
- package/README.md +2 -2
- package/brand.js +16 -0
- package/caps/brain-local/watermark.js +107 -0
- package/caps/charts/charts.css +15 -0
- package/caps/charts/charts.js +184 -0
- package/caps/charts/option.js +168 -0
- package/caps/files/extract.js +411 -0
- package/caps/files/midi.js +295 -0
- package/caps/files/numbers.js +193 -0
- package/caps/files/office.js +101 -0
- package/caps/files/pdf.js +69 -0
- package/caps/games/file.js +56 -0
- package/caps/games/frame.css +22 -0
- package/caps/games/guard.js +86 -0
- package/caps/games/page.js +52 -0
- package/caps/games/shell.js +260 -0
- package/caps/interactive/apps.js +54 -0
- package/caps/interactive/diagram-worker.js +12 -0
- package/caps/interactive/diagram.js +269 -0
- package/caps/interactive/interactive.css +44 -0
- package/caps/interactive/interactive.js +404 -0
- package/caps/interactive/live.js +96 -0
- package/caps/interactive/map.js +209 -0
- package/caps/interactive/mode.js +57 -0
- package/caps/interactive/page-diagram.js +41 -0
- package/caps/interactive/parts.js +124 -0
- package/caps/interactive/starts.js +15 -0
- package/caps/interactive/test.js +76 -0
- package/caps/interactive/view-parts.js +212 -0
- package/caps/layouts/layouts.css +184 -0
- package/caps/layouts/layouts.js +157 -0
- package/caps/layouts/shapes.js +225 -0
- package/caps/layouts/types.d.ts +8 -0
- package/caps/made/formats.js +505 -0
- package/caps/made/paper.js +142 -0
- package/caps/math/latex.js +88 -0
- package/caps/math/math.css +24 -0
- package/caps/math/math.js +117 -0
- package/caps/pictures/mark.js +43 -0
- package/caps/receipt/certificate.js +417 -0
- package/caps/receipt/der.js +203 -0
- package/caps/scores/notes.js +30 -0
- package/caps/scores/scores.css +30 -0
- package/caps/scores/scores.js +339 -0
- package/caps/scores/sound-worker.js +12 -0
- package/caps/scores/sound.js +72 -0
- package/caps/share/seal.js +86 -0
- package/caps/share/view.js +156 -0
- package/caps/skills/directory.js +64 -0
- package/caps/skills/sources.js +283 -0
- package/caps/slides/edit.js +112 -0
- package/caps/slides/kit-page.css +22 -0
- package/caps/slides/kit-page.js +250 -0
- package/caps/slides/kit-sample.js +36 -0
- package/caps/slides/kit-slot.js +10 -0
- package/caps/slides/kit.js +59 -0
- package/caps/slides/save.js +39 -0
- package/caps/slides/slides.css +36 -0
- package/caps/slides/slides.js +315 -0
- package/caps/tables/formula.js +133 -0
- package/core/anthropic.js +252 -0
- package/core/conversations.js +151 -0
- package/core/deferred.js +69 -0
- package/core/events.js +166 -0
- package/core/files.js +285 -0
- package/core/fs.js +178 -0
- package/core/hooks.js +53 -0
- package/core/i18n.js +155 -0
- package/core/llm.js +388 -0
- package/core/loop.js +456 -0
- package/core/oauth.js +31 -0
- package/core/rules.js +52 -0
- package/core/search.js +158 -0
- package/core/settings.js +174 -0
- package/core/skills.js +91 -0
- package/core/sse.js +51 -0
- package/core/ulid.js +17 -0
- package/core/vertex.js +37 -0
- package/core/zip.js +165 -0
- package/fonts/OFL.txt +94 -0
- package/fonts/display.woff2 +0 -0
- package/locales/am.json +437 -0
- package/locales/approvals/am.json +57 -0
- package/locales/approvals/ar.json +65 -0
- package/locales/approvals/bg.json +57 -0
- package/locales/approvals/bn.json +57 -0
- package/locales/approvals/br.json +63 -0
- package/locales/approvals/co.json +59 -0
- package/locales/approvals/cs.json +61 -0
- package/locales/approvals/da.json +57 -0
- package/locales/approvals/de.json +57 -0
- package/locales/approvals/el.json +57 -0
- package/locales/approvals/en.json +57 -0
- package/locales/approvals/es.json +59 -0
- package/locales/approvals/fa.json +57 -0
- package/locales/approvals/fi.json +57 -0
- package/locales/approvals/fr-CA.json +59 -0
- package/locales/approvals/fr.json +59 -0
- package/locales/approvals/ha.json +57 -0
- package/locales/approvals/he.json +59 -0
- package/locales/approvals/hi.json +57 -0
- package/locales/approvals/hr.json +59 -0
- package/locales/approvals/hu.json +57 -0
- package/locales/approvals/id.json +55 -0
- package/locales/approvals/it.json +59 -0
- package/locales/approvals/ja.json +55 -0
- package/locales/approvals/ko.json +55 -0
- package/locales/approvals/mr.json +57 -0
- package/locales/approvals/ms.json +55 -0
- package/locales/approvals/nl.json +57 -0
- package/locales/approvals/pl.json +61 -0
- package/locales/approvals/pt.json +59 -0
- package/locales/approvals/ro.json +59 -0
- package/locales/approvals/ru.json +61 -0
- package/locales/approvals/sk.json +61 -0
- package/locales/approvals/sv.json +57 -0
- package/locales/approvals/sw.json +57 -0
- package/locales/approvals/ta.json +57 -0
- package/locales/approvals/te.json +57 -0
- package/locales/approvals/th.json +55 -0
- package/locales/approvals/tl.json +57 -0
- package/locales/approvals/tr.json +57 -0
- package/locales/approvals/uk.json +61 -0
- package/locales/approvals/ur.json +57 -0
- package/locales/approvals/vi.json +55 -0
- package/locales/approvals/yo.json +55 -0
- package/locales/approvals/zh-Hans.json +55 -0
- package/locales/approvals/zh-Hant.json +55 -0
- package/locales/ar.json +473 -0
- package/locales/ask/am.json +8 -0
- package/locales/ask/ar.json +8 -0
- package/locales/ask/bg.json +8 -0
- package/locales/ask/bn.json +8 -0
- package/locales/ask/br.json +8 -0
- package/locales/ask/co.json +8 -0
- package/locales/ask/cs.json +8 -0
- package/locales/ask/da.json +8 -0
- package/locales/ask/de.json +8 -0
- package/locales/ask/el.json +8 -0
- package/locales/ask/en.json +8 -0
- package/locales/ask/es.json +8 -0
- package/locales/ask/fa.json +8 -0
- package/locales/ask/fi.json +8 -0
- package/locales/ask/fr-CA.json +8 -0
- package/locales/ask/fr.json +8 -0
- package/locales/ask/ha.json +8 -0
- package/locales/ask/he.json +8 -0
- package/locales/ask/hi.json +8 -0
- package/locales/ask/hr.json +8 -0
- package/locales/ask/hu.json +8 -0
- package/locales/ask/id.json +8 -0
- package/locales/ask/it.json +8 -0
- package/locales/ask/ja.json +8 -0
- package/locales/ask/ko.json +8 -0
- package/locales/ask/mr.json +8 -0
- package/locales/ask/ms.json +8 -0
- package/locales/ask/nl.json +8 -0
- package/locales/ask/pl.json +8 -0
- package/locales/ask/pt.json +8 -0
- package/locales/ask/ro.json +8 -0
- package/locales/ask/ru.json +8 -0
- package/locales/ask/sk.json +8 -0
- package/locales/ask/sv.json +8 -0
- package/locales/ask/sw.json +8 -0
- package/locales/ask/ta.json +8 -0
- package/locales/ask/te.json +8 -0
- package/locales/ask/th.json +8 -0
- package/locales/ask/tl.json +8 -0
- package/locales/ask/tr.json +8 -0
- package/locales/ask/uk.json +8 -0
- package/locales/ask/ur.json +8 -0
- package/locales/ask/vi.json +8 -0
- package/locales/ask/yo.json +8 -0
- package/locales/ask/zh-Hans.json +8 -0
- package/locales/ask/zh-Hant.json +8 -0
- package/locales/backup/am.json +8 -0
- package/locales/backup/ar.json +12 -0
- package/locales/backup/bg.json +8 -0
- package/locales/backup/bn.json +8 -0
- package/locales/backup/br.json +11 -0
- package/locales/backup/co.json +9 -0
- package/locales/backup/cs.json +10 -0
- package/locales/backup/da.json +8 -0
- package/locales/backup/de.json +8 -0
- package/locales/backup/el.json +8 -0
- package/locales/backup/en.json +8 -0
- package/locales/backup/es.json +9 -0
- package/locales/backup/fa.json +8 -0
- package/locales/backup/fi.json +8 -0
- package/locales/backup/fr-CA.json +9 -0
- package/locales/backup/fr.json +9 -0
- package/locales/backup/ha.json +8 -0
- package/locales/backup/he.json +10 -0
- package/locales/backup/hi.json +8 -0
- package/locales/backup/hr.json +9 -0
- package/locales/backup/hu.json +8 -0
- package/locales/backup/id.json +7 -0
- package/locales/backup/it.json +9 -0
- package/locales/backup/ja.json +7 -0
- package/locales/backup/ko.json +7 -0
- package/locales/backup/mr.json +8 -0
- package/locales/backup/ms.json +7 -0
- package/locales/backup/nl.json +8 -0
- package/locales/backup/pl.json +10 -0
- package/locales/backup/pt.json +9 -0
- package/locales/backup/ro.json +9 -0
- package/locales/backup/ru.json +10 -0
- package/locales/backup/sk.json +10 -0
- package/locales/backup/sv.json +8 -0
- package/locales/backup/sw.json +8 -0
- package/locales/backup/ta.json +8 -0
- package/locales/backup/te.json +8 -0
- package/locales/backup/th.json +7 -0
- package/locales/backup/tl.json +8 -0
- package/locales/backup/tr.json +8 -0
- package/locales/backup/uk.json +10 -0
- package/locales/backup/ur.json +8 -0
- package/locales/backup/vi.json +7 -0
- package/locales/backup/yo.json +7 -0
- package/locales/backup/zh-Hans.json +7 -0
- package/locales/backup/zh-Hant.json +7 -0
- package/locales/bg.json +437 -0
- package/locales/bn.json +437 -0
- package/locales/br.json +464 -0
- package/locales/brain-local/am.json +13 -0
- package/locales/brain-local/ar.json +13 -0
- package/locales/brain-local/bg.json +13 -0
- package/locales/brain-local/bn.json +13 -0
- package/locales/brain-local/br.json +13 -0
- package/locales/brain-local/co.json +13 -0
- package/locales/brain-local/cs.json +13 -0
- package/locales/brain-local/da.json +13 -0
- package/locales/brain-local/de.json +13 -0
- package/locales/brain-local/el.json +13 -0
- package/locales/brain-local/en.json +13 -0
- package/locales/brain-local/es.json +13 -0
- package/locales/brain-local/fa.json +13 -0
- package/locales/brain-local/fi.json +13 -0
- package/locales/brain-local/fr-CA.json +13 -0
- package/locales/brain-local/fr.json +13 -0
- package/locales/brain-local/ha.json +13 -0
- package/locales/brain-local/he.json +13 -0
- package/locales/brain-local/hi.json +13 -0
- package/locales/brain-local/hr.json +13 -0
- package/locales/brain-local/hu.json +13 -0
- package/locales/brain-local/id.json +13 -0
- package/locales/brain-local/it.json +13 -0
- package/locales/brain-local/ja.json +13 -0
- package/locales/brain-local/ko.json +13 -0
- package/locales/brain-local/mr.json +13 -0
- package/locales/brain-local/ms.json +13 -0
- package/locales/brain-local/nl.json +13 -0
- package/locales/brain-local/pl.json +13 -0
- package/locales/brain-local/pt.json +13 -0
- package/locales/brain-local/ro.json +13 -0
- package/locales/brain-local/ru.json +13 -0
- package/locales/brain-local/sk.json +13 -0
- package/locales/brain-local/sv.json +13 -0
- package/locales/brain-local/sw.json +13 -0
- package/locales/brain-local/ta.json +13 -0
- package/locales/brain-local/te.json +13 -0
- package/locales/brain-local/th.json +13 -0
- package/locales/brain-local/tl.json +13 -0
- package/locales/brain-local/tr.json +13 -0
- package/locales/brain-local/uk.json +13 -0
- package/locales/brain-local/ur.json +13 -0
- package/locales/brain-local/vi.json +13 -0
- package/locales/brain-local/yo.json +13 -0
- package/locales/brain-local/zh-Hans.json +13 -0
- package/locales/brain-local/zh-Hant.json +13 -0
- package/locales/brains/am.json +72 -0
- package/locales/brains/ar.json +72 -0
- package/locales/brains/bg.json +72 -0
- package/locales/brains/bn.json +72 -0
- package/locales/brains/br.json +72 -0
- package/locales/brains/co.json +72 -0
- package/locales/brains/cs.json +72 -0
- package/locales/brains/da.json +72 -0
- package/locales/brains/de.json +72 -0
- package/locales/brains/el.json +72 -0
- package/locales/brains/en.json +72 -0
- package/locales/brains/es.json +72 -0
- package/locales/brains/fa.json +72 -0
- package/locales/brains/fi.json +72 -0
- package/locales/brains/fr-CA.json +72 -0
- package/locales/brains/fr.json +72 -0
- package/locales/brains/ha.json +72 -0
- package/locales/brains/he.json +72 -0
- package/locales/brains/hi.json +72 -0
- package/locales/brains/hr.json +72 -0
- package/locales/brains/hu.json +72 -0
- package/locales/brains/id.json +72 -0
- package/locales/brains/it.json +72 -0
- package/locales/brains/ja.json +72 -0
- package/locales/brains/ko.json +72 -0
- package/locales/brains/mr.json +72 -0
- package/locales/brains/ms.json +72 -0
- package/locales/brains/nl.json +72 -0
- package/locales/brains/pl.json +72 -0
- package/locales/brains/pt.json +72 -0
- package/locales/brains/ro.json +72 -0
- package/locales/brains/ru.json +72 -0
- package/locales/brains/sk.json +72 -0
- package/locales/brains/sv.json +72 -0
- package/locales/brains/sw.json +72 -0
- package/locales/brains/ta.json +72 -0
- package/locales/brains/te.json +72 -0
- package/locales/brains/th.json +72 -0
- package/locales/brains/tl.json +72 -0
- package/locales/brains/tr.json +72 -0
- package/locales/brains/uk.json +72 -0
- package/locales/brains/ur.json +72 -0
- package/locales/brains/vi.json +72 -0
- package/locales/brains/yo.json +72 -0
- package/locales/brains/zh-Hans.json +72 -0
- package/locales/brains/zh-Hant.json +72 -0
- package/locales/browser/am.json +29 -0
- package/locales/browser/ar.json +29 -0
- package/locales/browser/bg.json +29 -0
- package/locales/browser/bn.json +29 -0
- package/locales/browser/br.json +29 -0
- package/locales/browser/co.json +29 -0
- package/locales/browser/cs.json +29 -0
- package/locales/browser/da.json +29 -0
- package/locales/browser/de.json +29 -0
- package/locales/browser/el.json +29 -0
- package/locales/browser/en.json +29 -0
- package/locales/browser/es.json +29 -0
- package/locales/browser/fa.json +29 -0
- package/locales/browser/fi.json +29 -0
- package/locales/browser/fr-CA.json +29 -0
- package/locales/browser/fr.json +29 -0
- package/locales/browser/ha.json +29 -0
- package/locales/browser/he.json +29 -0
- package/locales/browser/hi.json +29 -0
- package/locales/browser/hr.json +29 -0
- package/locales/browser/hu.json +29 -0
- package/locales/browser/id.json +29 -0
- package/locales/browser/it.json +29 -0
- package/locales/browser/ja.json +29 -0
- package/locales/browser/ko.json +29 -0
- package/locales/browser/mr.json +29 -0
- package/locales/browser/ms.json +29 -0
- package/locales/browser/nl.json +29 -0
- package/locales/browser/pl.json +29 -0
- package/locales/browser/pt.json +29 -0
- package/locales/browser/ro.json +29 -0
- package/locales/browser/ru.json +29 -0
- package/locales/browser/sk.json +29 -0
- package/locales/browser/sv.json +29 -0
- package/locales/browser/sw.json +29 -0
- package/locales/browser/ta.json +29 -0
- package/locales/browser/te.json +29 -0
- package/locales/browser/th.json +29 -0
- package/locales/browser/tl.json +29 -0
- package/locales/browser/tr.json +29 -0
- package/locales/browser/uk.json +29 -0
- package/locales/browser/ur.json +29 -0
- package/locales/browser/vi.json +29 -0
- package/locales/browser/yo.json +29 -0
- package/locales/browser/zh-Hans.json +29 -0
- package/locales/browser/zh-Hant.json +29 -0
- package/locales/camera/am.json +20 -0
- package/locales/camera/ar.json +20 -0
- package/locales/camera/bg.json +20 -0
- package/locales/camera/bn.json +20 -0
- package/locales/camera/br.json +20 -0
- package/locales/camera/co.json +20 -0
- package/locales/camera/cs.json +20 -0
- package/locales/camera/da.json +20 -0
- package/locales/camera/de.json +20 -0
- package/locales/camera/el.json +20 -0
- package/locales/camera/en.json +20 -0
- package/locales/camera/es.json +20 -0
- package/locales/camera/fa.json +20 -0
- package/locales/camera/fi.json +20 -0
- package/locales/camera/fr-CA.json +20 -0
- package/locales/camera/fr.json +20 -0
- package/locales/camera/ha.json +20 -0
- package/locales/camera/he.json +20 -0
- package/locales/camera/hi.json +20 -0
- package/locales/camera/hr.json +20 -0
- package/locales/camera/hu.json +20 -0
- package/locales/camera/id.json +20 -0
- package/locales/camera/it.json +20 -0
- package/locales/camera/ja.json +20 -0
- package/locales/camera/ko.json +20 -0
- package/locales/camera/mr.json +20 -0
- package/locales/camera/ms.json +20 -0
- package/locales/camera/nl.json +20 -0
- package/locales/camera/pl.json +20 -0
- package/locales/camera/pt.json +20 -0
- package/locales/camera/ro.json +20 -0
- package/locales/camera/ru.json +20 -0
- package/locales/camera/sk.json +20 -0
- package/locales/camera/sv.json +20 -0
- package/locales/camera/sw.json +20 -0
- package/locales/camera/ta.json +20 -0
- package/locales/camera/te.json +20 -0
- package/locales/camera/th.json +20 -0
- package/locales/camera/tl.json +20 -0
- package/locales/camera/tr.json +20 -0
- package/locales/camera/uk.json +20 -0
- package/locales/camera/ur.json +20 -0
- package/locales/camera/vi.json +20 -0
- package/locales/camera/yo.json +20 -0
- package/locales/camera/zh-Hans.json +20 -0
- package/locales/camera/zh-Hant.json +20 -0
- package/locales/case/am.json +24 -0
- package/locales/case/ar.json +28 -0
- package/locales/case/bg.json +24 -0
- package/locales/case/bn.json +24 -0
- package/locales/case/br.json +27 -0
- package/locales/case/co.json +25 -0
- package/locales/case/cs.json +26 -0
- package/locales/case/da.json +24 -0
- package/locales/case/de.json +24 -0
- package/locales/case/el.json +24 -0
- package/locales/case/en.json +24 -0
- package/locales/case/es.json +25 -0
- package/locales/case/fa.json +24 -0
- package/locales/case/fi.json +24 -0
- package/locales/case/fr-CA.json +25 -0
- package/locales/case/fr.json +25 -0
- package/locales/case/ha.json +24 -0
- package/locales/case/he.json +25 -0
- package/locales/case/hi.json +24 -0
- package/locales/case/hr.json +25 -0
- package/locales/case/hu.json +24 -0
- package/locales/case/id.json +23 -0
- package/locales/case/it.json +25 -0
- package/locales/case/ja.json +23 -0
- package/locales/case/ko.json +23 -0
- package/locales/case/mr.json +24 -0
- package/locales/case/ms.json +23 -0
- package/locales/case/nl.json +24 -0
- package/locales/case/pl.json +26 -0
- package/locales/case/pt.json +25 -0
- package/locales/case/ro.json +25 -0
- package/locales/case/ru.json +26 -0
- package/locales/case/sk.json +26 -0
- package/locales/case/sv.json +24 -0
- package/locales/case/sw.json +24 -0
- package/locales/case/ta.json +24 -0
- package/locales/case/te.json +24 -0
- package/locales/case/th.json +23 -0
- package/locales/case/tl.json +24 -0
- package/locales/case/tr.json +24 -0
- package/locales/case/uk.json +26 -0
- package/locales/case/ur.json +24 -0
- package/locales/case/vi.json +23 -0
- package/locales/case/yo.json +23 -0
- package/locales/case/zh-Hans.json +23 -0
- package/locales/case/zh-Hant.json +23 -0
- package/locales/certificates/am.json +58 -0
- package/locales/certificates/ar.json +58 -0
- package/locales/certificates/bg.json +58 -0
- package/locales/certificates/bn.json +58 -0
- package/locales/certificates/br.json +58 -0
- package/locales/certificates/co.json +58 -0
- package/locales/certificates/cs.json +58 -0
- package/locales/certificates/da.json +58 -0
- package/locales/certificates/de.json +58 -0
- package/locales/certificates/el.json +58 -0
- package/locales/certificates/en.json +58 -0
- package/locales/certificates/es.json +58 -0
- package/locales/certificates/fa.json +58 -0
- package/locales/certificates/fi.json +58 -0
- package/locales/certificates/fr-CA.json +58 -0
- package/locales/certificates/fr.json +58 -0
- package/locales/certificates/ha.json +58 -0
- package/locales/certificates/he.json +58 -0
- package/locales/certificates/hi.json +58 -0
- package/locales/certificates/hr.json +58 -0
- package/locales/certificates/hu.json +58 -0
- package/locales/certificates/id.json +58 -0
- package/locales/certificates/it.json +58 -0
- package/locales/certificates/ja.json +58 -0
- package/locales/certificates/ko.json +58 -0
- package/locales/certificates/mr.json +58 -0
- package/locales/certificates/ms.json +58 -0
- package/locales/certificates/nl.json +58 -0
- package/locales/certificates/pl.json +58 -0
- package/locales/certificates/pt.json +58 -0
- package/locales/certificates/ro.json +58 -0
- package/locales/certificates/ru.json +58 -0
- package/locales/certificates/sk.json +58 -0
- package/locales/certificates/sv.json +58 -0
- package/locales/certificates/sw.json +58 -0
- package/locales/certificates/ta.json +58 -0
- package/locales/certificates/te.json +58 -0
- package/locales/certificates/th.json +58 -0
- package/locales/certificates/tl.json +58 -0
- package/locales/certificates/tr.json +58 -0
- package/locales/certificates/uk.json +58 -0
- package/locales/certificates/ur.json +58 -0
- package/locales/certificates/vi.json +58 -0
- package/locales/certificates/yo.json +58 -0
- package/locales/certificates/zh-Hans.json +58 -0
- package/locales/certificates/zh-Hant.json +58 -0
- package/locales/charts/am.json +7 -0
- package/locales/charts/ar.json +7 -0
- package/locales/charts/bg.json +7 -0
- package/locales/charts/bn.json +7 -0
- package/locales/charts/br.json +7 -0
- package/locales/charts/co.json +7 -0
- package/locales/charts/cs.json +7 -0
- package/locales/charts/da.json +7 -0
- package/locales/charts/de.json +7 -0
- package/locales/charts/el.json +7 -0
- package/locales/charts/en.json +7 -0
- package/locales/charts/es.json +7 -0
- package/locales/charts/fa.json +7 -0
- package/locales/charts/fi.json +7 -0
- package/locales/charts/fr-CA.json +7 -0
- package/locales/charts/fr.json +7 -0
- package/locales/charts/ha.json +7 -0
- package/locales/charts/he.json +7 -0
- package/locales/charts/hi.json +7 -0
- package/locales/charts/hr.json +7 -0
- package/locales/charts/hu.json +7 -0
- package/locales/charts/id.json +7 -0
- package/locales/charts/it.json +7 -0
- package/locales/charts/ja.json +7 -0
- package/locales/charts/ko.json +7 -0
- package/locales/charts/mr.json +7 -0
- package/locales/charts/ms.json +7 -0
- package/locales/charts/nl.json +7 -0
- package/locales/charts/pl.json +7 -0
- package/locales/charts/pt.json +7 -0
- package/locales/charts/ro.json +7 -0
- package/locales/charts/ru.json +7 -0
- package/locales/charts/sk.json +7 -0
- package/locales/charts/sv.json +7 -0
- package/locales/charts/sw.json +7 -0
- package/locales/charts/ta.json +7 -0
- package/locales/charts/te.json +7 -0
- package/locales/charts/th.json +7 -0
- package/locales/charts/tl.json +7 -0
- package/locales/charts/tr.json +7 -0
- package/locales/charts/uk.json +7 -0
- package/locales/charts/ur.json +7 -0
- package/locales/charts/vi.json +7 -0
- package/locales/charts/yo.json +7 -0
- package/locales/charts/zh-Hans.json +7 -0
- package/locales/charts/zh-Hant.json +7 -0
- package/locales/co.json +446 -0
- package/locales/compact/am.json +7 -0
- package/locales/compact/ar.json +7 -0
- package/locales/compact/bg.json +7 -0
- package/locales/compact/bn.json +7 -0
- package/locales/compact/br.json +7 -0
- package/locales/compact/co.json +7 -0
- package/locales/compact/cs.json +7 -0
- package/locales/compact/da.json +7 -0
- package/locales/compact/de.json +7 -0
- package/locales/compact/el.json +7 -0
- package/locales/compact/en.json +7 -0
- package/locales/compact/es.json +7 -0
- package/locales/compact/fa.json +7 -0
- package/locales/compact/fi.json +7 -0
- package/locales/compact/fr-CA.json +7 -0
- package/locales/compact/fr.json +7 -0
- package/locales/compact/ha.json +7 -0
- package/locales/compact/he.json +7 -0
- package/locales/compact/hi.json +7 -0
- package/locales/compact/hr.json +7 -0
- package/locales/compact/hu.json +7 -0
- package/locales/compact/id.json +7 -0
- package/locales/compact/it.json +7 -0
- package/locales/compact/ja.json +7 -0
- package/locales/compact/ko.json +7 -0
- package/locales/compact/mr.json +7 -0
- package/locales/compact/ms.json +7 -0
- package/locales/compact/nl.json +7 -0
- package/locales/compact/pl.json +7 -0
- package/locales/compact/pt.json +7 -0
- package/locales/compact/ro.json +7 -0
- package/locales/compact/ru.json +7 -0
- package/locales/compact/sk.json +7 -0
- package/locales/compact/sv.json +7 -0
- package/locales/compact/sw.json +7 -0
- package/locales/compact/ta.json +7 -0
- package/locales/compact/te.json +7 -0
- package/locales/compact/th.json +7 -0
- package/locales/compact/tl.json +7 -0
- package/locales/compact/tr.json +7 -0
- package/locales/compact/uk.json +7 -0
- package/locales/compact/ur.json +7 -0
- package/locales/compact/vi.json +7 -0
- package/locales/compact/yo.json +7 -0
- package/locales/compact/zh-Hans.json +7 -0
- package/locales/compact/zh-Hant.json +7 -0
- package/locales/computer/am.json +81 -0
- package/locales/computer/ar.json +97 -0
- package/locales/computer/bg.json +81 -0
- package/locales/computer/bn.json +81 -0
- package/locales/computer/br.json +93 -0
- package/locales/computer/co.json +85 -0
- package/locales/computer/cs.json +89 -0
- package/locales/computer/da.json +81 -0
- package/locales/computer/de.json +81 -0
- package/locales/computer/el.json +81 -0
- package/locales/computer/en.json +81 -0
- package/locales/computer/es.json +85 -0
- package/locales/computer/fa.json +81 -0
- package/locales/computer/fi.json +81 -0
- package/locales/computer/fr-CA.json +85 -0
- package/locales/computer/fr.json +85 -0
- package/locales/computer/ha.json +81 -0
- package/locales/computer/he.json +85 -0
- package/locales/computer/hi.json +81 -0
- package/locales/computer/hr.json +85 -0
- package/locales/computer/hu.json +81 -0
- package/locales/computer/id.json +77 -0
- package/locales/computer/it.json +85 -0
- package/locales/computer/ja.json +77 -0
- package/locales/computer/ko.json +77 -0
- package/locales/computer/mr.json +81 -0
- package/locales/computer/ms.json +77 -0
- package/locales/computer/nl.json +81 -0
- package/locales/computer/pl.json +89 -0
- package/locales/computer/pt.json +85 -0
- package/locales/computer/ro.json +85 -0
- package/locales/computer/ru.json +89 -0
- package/locales/computer/sk.json +89 -0
- package/locales/computer/sv.json +81 -0
- package/locales/computer/sw.json +81 -0
- package/locales/computer/ta.json +81 -0
- package/locales/computer/te.json +81 -0
- package/locales/computer/th.json +77 -0
- package/locales/computer/tl.json +81 -0
- package/locales/computer/tr.json +81 -0
- package/locales/computer/uk.json +89 -0
- package/locales/computer/ur.json +81 -0
- package/locales/computer/vi.json +77 -0
- package/locales/computer/yo.json +77 -0
- package/locales/computer/zh-Hans.json +77 -0
- package/locales/computer/zh-Hant.json +77 -0
- package/locales/connections/am.json +87 -0
- package/locales/connections/ar.json +103 -0
- package/locales/connections/bg.json +87 -0
- package/locales/connections/bn.json +87 -0
- package/locales/connections/br.json +99 -0
- package/locales/connections/co.json +91 -0
- package/locales/connections/cs.json +95 -0
- package/locales/connections/da.json +87 -0
- package/locales/connections/de.json +87 -0
- package/locales/connections/el.json +87 -0
- package/locales/connections/en.json +87 -0
- package/locales/connections/es.json +91 -0
- package/locales/connections/fa.json +87 -0
- package/locales/connections/fi.json +87 -0
- package/locales/connections/fr-CA.json +91 -0
- package/locales/connections/fr.json +91 -0
- package/locales/connections/ha.json +87 -0
- package/locales/connections/he.json +95 -0
- package/locales/connections/hi.json +87 -0
- package/locales/connections/hr.json +91 -0
- package/locales/connections/hu.json +87 -0
- package/locales/connections/id.json +83 -0
- package/locales/connections/it.json +91 -0
- package/locales/connections/ja.json +83 -0
- package/locales/connections/ko.json +83 -0
- package/locales/connections/mr.json +87 -0
- package/locales/connections/ms.json +83 -0
- package/locales/connections/nl.json +87 -0
- package/locales/connections/pl.json +95 -0
- package/locales/connections/pt.json +91 -0
- package/locales/connections/ro.json +91 -0
- package/locales/connections/ru.json +95 -0
- package/locales/connections/sk.json +95 -0
- package/locales/connections/sv.json +87 -0
- package/locales/connections/sw.json +87 -0
- package/locales/connections/ta.json +87 -0
- package/locales/connections/te.json +87 -0
- package/locales/connections/th.json +83 -0
- package/locales/connections/tl.json +87 -0
- package/locales/connections/tr.json +87 -0
- package/locales/connections/uk.json +95 -0
- package/locales/connections/ur.json +87 -0
- package/locales/connections/vi.json +83 -0
- package/locales/connections/yo.json +83 -0
- package/locales/connections/zh-Hans.json +83 -0
- package/locales/connections/zh-Hant.json +83 -0
- package/locales/creations/am.json +59 -0
- package/locales/creations/ar.json +59 -0
- package/locales/creations/bg.json +59 -0
- package/locales/creations/bn.json +59 -0
- package/locales/creations/br.json +59 -0
- package/locales/creations/co.json +59 -0
- package/locales/creations/cs.json +59 -0
- package/locales/creations/da.json +59 -0
- package/locales/creations/de.json +59 -0
- package/locales/creations/el.json +59 -0
- package/locales/creations/en.json +59 -0
- package/locales/creations/es.json +59 -0
- package/locales/creations/fa.json +59 -0
- package/locales/creations/fi.json +59 -0
- package/locales/creations/fr-CA.json +59 -0
- package/locales/creations/fr.json +59 -0
- package/locales/creations/ha.json +59 -0
- package/locales/creations/he.json +59 -0
- package/locales/creations/hi.json +59 -0
- package/locales/creations/hr.json +59 -0
- package/locales/creations/hu.json +59 -0
- package/locales/creations/id.json +59 -0
- package/locales/creations/it.json +59 -0
- package/locales/creations/ja.json +59 -0
- package/locales/creations/ko.json +59 -0
- package/locales/creations/mr.json +59 -0
- package/locales/creations/ms.json +59 -0
- package/locales/creations/nl.json +59 -0
- package/locales/creations/pl.json +59 -0
- package/locales/creations/pt.json +59 -0
- package/locales/creations/ro.json +59 -0
- package/locales/creations/ru.json +59 -0
- package/locales/creations/sk.json +59 -0
- package/locales/creations/sv.json +59 -0
- package/locales/creations/sw.json +59 -0
- package/locales/creations/ta.json +59 -0
- package/locales/creations/te.json +59 -0
- package/locales/creations/th.json +59 -0
- package/locales/creations/tl.json +59 -0
- package/locales/creations/tr.json +59 -0
- package/locales/creations/uk.json +59 -0
- package/locales/creations/ur.json +59 -0
- package/locales/creations/vi.json +59 -0
- package/locales/creations/yo.json +59 -0
- package/locales/creations/zh-Hans.json +59 -0
- package/locales/creations/zh-Hant.json +59 -0
- package/locales/cs.json +455 -0
- package/locales/da.json +437 -0
- package/locales/data/am.json +45 -0
- package/locales/data/ar.json +45 -0
- package/locales/data/bg.json +45 -0
- package/locales/data/bn.json +45 -0
- package/locales/data/br.json +45 -0
- package/locales/data/co.json +45 -0
- package/locales/data/cs.json +45 -0
- package/locales/data/da.json +45 -0
- package/locales/data/de.json +45 -0
- package/locales/data/el.json +45 -0
- package/locales/data/en.json +45 -0
- package/locales/data/es.json +45 -0
- package/locales/data/fa.json +45 -0
- package/locales/data/fi.json +45 -0
- package/locales/data/fr-CA.json +45 -0
- package/locales/data/fr.json +45 -0
- package/locales/data/ha.json +45 -0
- package/locales/data/he.json +45 -0
- package/locales/data/hi.json +45 -0
- package/locales/data/hr.json +45 -0
- package/locales/data/hu.json +45 -0
- package/locales/data/id.json +45 -0
- package/locales/data/it.json +45 -0
- package/locales/data/ja.json +45 -0
- package/locales/data/ko.json +45 -0
- package/locales/data/mr.json +45 -0
- package/locales/data/ms.json +45 -0
- package/locales/data/nl.json +45 -0
- package/locales/data/pl.json +45 -0
- package/locales/data/pt.json +45 -0
- package/locales/data/ro.json +45 -0
- package/locales/data/ru.json +45 -0
- package/locales/data/sk.json +45 -0
- package/locales/data/sv.json +45 -0
- package/locales/data/sw.json +45 -0
- package/locales/data/ta.json +45 -0
- package/locales/data/te.json +45 -0
- package/locales/data/th.json +45 -0
- package/locales/data/tl.json +45 -0
- package/locales/data/tr.json +45 -0
- package/locales/data/uk.json +45 -0
- package/locales/data/ur.json +45 -0
- package/locales/data/vi.json +45 -0
- package/locales/data/yo.json +45 -0
- package/locales/data/zh-Hans.json +45 -0
- package/locales/data/zh-Hant.json +45 -0
- package/locales/de.json +437 -0
- package/locales/designs/am.json +139 -0
- package/locales/designs/ar.json +151 -0
- package/locales/designs/bg.json +139 -0
- package/locales/designs/bn.json +139 -0
- package/locales/designs/br.json +148 -0
- package/locales/designs/co.json +142 -0
- package/locales/designs/cs.json +145 -0
- package/locales/designs/da.json +139 -0
- package/locales/designs/de.json +139 -0
- package/locales/designs/el.json +139 -0
- package/locales/designs/en.json +139 -0
- package/locales/designs/es.json +142 -0
- package/locales/designs/fa.json +139 -0
- package/locales/designs/fi.json +139 -0
- package/locales/designs/fr-CA.json +142 -0
- package/locales/designs/fr.json +142 -0
- package/locales/designs/ha.json +139 -0
- package/locales/designs/he.json +142 -0
- package/locales/designs/hi.json +139 -0
- package/locales/designs/hr.json +142 -0
- package/locales/designs/hu.json +139 -0
- package/locales/designs/id.json +136 -0
- package/locales/designs/it.json +142 -0
- package/locales/designs/ja.json +136 -0
- package/locales/designs/ko.json +136 -0
- package/locales/designs/mr.json +139 -0
- package/locales/designs/ms.json +136 -0
- package/locales/designs/nl.json +139 -0
- package/locales/designs/pl.json +145 -0
- package/locales/designs/pt.json +142 -0
- package/locales/designs/ro.json +142 -0
- package/locales/designs/ru.json +145 -0
- package/locales/designs/sk.json +145 -0
- package/locales/designs/sv.json +139 -0
- package/locales/designs/sw.json +139 -0
- package/locales/designs/ta.json +139 -0
- package/locales/designs/te.json +139 -0
- package/locales/designs/th.json +136 -0
- package/locales/designs/tl.json +139 -0
- package/locales/designs/tr.json +139 -0
- package/locales/designs/uk.json +145 -0
- package/locales/designs/ur.json +139 -0
- package/locales/designs/vi.json +136 -0
- package/locales/designs/yo.json +136 -0
- package/locales/designs/zh-Hans.json +136 -0
- package/locales/designs/zh-Hant.json +136 -0
- package/locales/devices/am.json +72 -0
- package/locales/devices/ar.json +80 -0
- package/locales/devices/bg.json +72 -0
- package/locales/devices/bn.json +72 -0
- package/locales/devices/br.json +78 -0
- package/locales/devices/co.json +74 -0
- package/locales/devices/cs.json +76 -0
- package/locales/devices/da.json +72 -0
- package/locales/devices/de.json +72 -0
- package/locales/devices/el.json +72 -0
- package/locales/devices/en.json +72 -0
- package/locales/devices/es.json +74 -0
- package/locales/devices/fa.json +72 -0
- package/locales/devices/fi.json +72 -0
- package/locales/devices/fr-CA.json +74 -0
- package/locales/devices/fr.json +74 -0
- package/locales/devices/ha.json +72 -0
- package/locales/devices/he.json +74 -0
- package/locales/devices/hi.json +72 -0
- package/locales/devices/hr.json +74 -0
- package/locales/devices/hu.json +72 -0
- package/locales/devices/id.json +70 -0
- package/locales/devices/it.json +74 -0
- package/locales/devices/ja.json +70 -0
- package/locales/devices/ko.json +70 -0
- package/locales/devices/mr.json +72 -0
- package/locales/devices/ms.json +70 -0
- package/locales/devices/nl.json +72 -0
- package/locales/devices/pl.json +76 -0
- package/locales/devices/pt.json +74 -0
- package/locales/devices/ro.json +74 -0
- package/locales/devices/ru.json +76 -0
- package/locales/devices/sk.json +76 -0
- package/locales/devices/sv.json +72 -0
- package/locales/devices/sw.json +72 -0
- package/locales/devices/ta.json +72 -0
- package/locales/devices/te.json +72 -0
- package/locales/devices/th.json +70 -0
- package/locales/devices/tl.json +72 -0
- package/locales/devices/tr.json +72 -0
- package/locales/devices/uk.json +76 -0
- package/locales/devices/ur.json +72 -0
- package/locales/devices/vi.json +70 -0
- package/locales/devices/yo.json +70 -0
- package/locales/devices/zh-Hans.json +70 -0
- package/locales/devices/zh-Hant.json +70 -0
- package/locales/dialogs/am.json +205 -0
- package/locales/dialogs/ar.json +213 -0
- package/locales/dialogs/bg.json +205 -0
- package/locales/dialogs/bn.json +205 -0
- package/locales/dialogs/br.json +211 -0
- package/locales/dialogs/co.json +207 -0
- package/locales/dialogs/cs.json +209 -0
- package/locales/dialogs/da.json +205 -0
- package/locales/dialogs/de.json +205 -0
- package/locales/dialogs/el.json +205 -0
- package/locales/dialogs/en.json +205 -0
- package/locales/dialogs/es.json +207 -0
- package/locales/dialogs/fa.json +205 -0
- package/locales/dialogs/fi.json +205 -0
- package/locales/dialogs/fr-CA.json +207 -0
- package/locales/dialogs/fr.json +207 -0
- package/locales/dialogs/ha.json +205 -0
- package/locales/dialogs/he.json +209 -0
- package/locales/dialogs/hi.json +205 -0
- package/locales/dialogs/hr.json +207 -0
- package/locales/dialogs/hu.json +205 -0
- package/locales/dialogs/id.json +203 -0
- package/locales/dialogs/it.json +207 -0
- package/locales/dialogs/ja.json +203 -0
- package/locales/dialogs/ko.json +203 -0
- package/locales/dialogs/mr.json +205 -0
- package/locales/dialogs/ms.json +203 -0
- package/locales/dialogs/nl.json +205 -0
- package/locales/dialogs/pl.json +209 -0
- package/locales/dialogs/pt.json +207 -0
- package/locales/dialogs/ro.json +207 -0
- package/locales/dialogs/ru.json +209 -0
- package/locales/dialogs/sk.json +209 -0
- package/locales/dialogs/sv.json +205 -0
- package/locales/dialogs/sw.json +205 -0
- package/locales/dialogs/ta.json +205 -0
- package/locales/dialogs/te.json +205 -0
- package/locales/dialogs/th.json +203 -0
- package/locales/dialogs/tl.json +205 -0
- package/locales/dialogs/tr.json +205 -0
- package/locales/dialogs/uk.json +209 -0
- package/locales/dialogs/ur.json +205 -0
- package/locales/dialogs/vi.json +203 -0
- package/locales/dialogs/yo.json +203 -0
- package/locales/dialogs/zh-Hans.json +203 -0
- package/locales/dialogs/zh-Hant.json +203 -0
- package/locales/documents/am.json +86 -0
- package/locales/documents/ar.json +94 -0
- package/locales/documents/bg.json +86 -0
- package/locales/documents/bn.json +86 -0
- package/locales/documents/br.json +92 -0
- package/locales/documents/co.json +88 -0
- package/locales/documents/cs.json +90 -0
- package/locales/documents/da.json +86 -0
- package/locales/documents/de.json +86 -0
- package/locales/documents/el.json +86 -0
- package/locales/documents/en.json +86 -0
- package/locales/documents/es.json +88 -0
- package/locales/documents/fa.json +86 -0
- package/locales/documents/fi.json +86 -0
- package/locales/documents/fr-CA.json +88 -0
- package/locales/documents/fr.json +88 -0
- package/locales/documents/ha.json +86 -0
- package/locales/documents/he.json +88 -0
- package/locales/documents/hi.json +86 -0
- package/locales/documents/hr.json +88 -0
- package/locales/documents/hu.json +86 -0
- package/locales/documents/id.json +84 -0
- package/locales/documents/it.json +88 -0
- package/locales/documents/ja.json +84 -0
- package/locales/documents/ko.json +84 -0
- package/locales/documents/mr.json +86 -0
- package/locales/documents/ms.json +84 -0
- package/locales/documents/nl.json +86 -0
- package/locales/documents/pl.json +90 -0
- package/locales/documents/pt.json +88 -0
- package/locales/documents/ro.json +88 -0
- package/locales/documents/ru.json +90 -0
- package/locales/documents/sk.json +90 -0
- package/locales/documents/sv.json +86 -0
- package/locales/documents/sw.json +86 -0
- package/locales/documents/ta.json +86 -0
- package/locales/documents/te.json +86 -0
- package/locales/documents/th.json +84 -0
- package/locales/documents/tl.json +86 -0
- package/locales/documents/tr.json +86 -0
- package/locales/documents/uk.json +90 -0
- package/locales/documents/ur.json +86 -0
- package/locales/documents/vi.json +84 -0
- package/locales/documents/yo.json +84 -0
- package/locales/documents/zh-Hans.json +84 -0
- package/locales/documents/zh-Hant.json +84 -0
- package/locales/el.json +437 -0
- package/locales/en.json +437 -0
- package/locales/enterprise/am.json +49 -0
- package/locales/enterprise/ar.json +49 -0
- package/locales/enterprise/bg.json +49 -0
- package/locales/enterprise/bn.json +49 -0
- package/locales/enterprise/br.json +49 -0
- package/locales/enterprise/co.json +49 -0
- package/locales/enterprise/cs.json +49 -0
- package/locales/enterprise/da.json +49 -0
- package/locales/enterprise/de.json +49 -0
- package/locales/enterprise/el.json +49 -0
- package/locales/enterprise/en.json +49 -0
- package/locales/enterprise/es.json +49 -0
- package/locales/enterprise/fa.json +49 -0
- package/locales/enterprise/fi.json +49 -0
- package/locales/enterprise/fr-CA.json +49 -0
- package/locales/enterprise/fr.json +49 -0
- package/locales/enterprise/ha.json +49 -0
- package/locales/enterprise/he.json +49 -0
- package/locales/enterprise/hi.json +49 -0
- package/locales/enterprise/hr.json +49 -0
- package/locales/enterprise/hu.json +49 -0
- package/locales/enterprise/id.json +49 -0
- package/locales/enterprise/it.json +49 -0
- package/locales/enterprise/ja.json +49 -0
- package/locales/enterprise/ko.json +49 -0
- package/locales/enterprise/mr.json +49 -0
- package/locales/enterprise/ms.json +49 -0
- package/locales/enterprise/nl.json +49 -0
- package/locales/enterprise/pl.json +49 -0
- package/locales/enterprise/pt.json +49 -0
- package/locales/enterprise/ro.json +49 -0
- package/locales/enterprise/ru.json +49 -0
- package/locales/enterprise/sk.json +49 -0
- package/locales/enterprise/sv.json +49 -0
- package/locales/enterprise/sw.json +49 -0
- package/locales/enterprise/ta.json +49 -0
- package/locales/enterprise/te.json +49 -0
- package/locales/enterprise/th.json +49 -0
- package/locales/enterprise/tl.json +49 -0
- package/locales/enterprise/tr.json +49 -0
- package/locales/enterprise/uk.json +49 -0
- package/locales/enterprise/ur.json +49 -0
- package/locales/enterprise/vi.json +49 -0
- package/locales/enterprise/yo.json +49 -0
- package/locales/enterprise/zh-Hans.json +49 -0
- package/locales/enterprise/zh-Hant.json +49 -0
- package/locales/es.json +446 -0
- package/locales/extensions/am.json +59 -0
- package/locales/extensions/ar.json +59 -0
- package/locales/extensions/bg.json +59 -0
- package/locales/extensions/bn.json +59 -0
- package/locales/extensions/br.json +59 -0
- package/locales/extensions/co.json +59 -0
- package/locales/extensions/cs.json +59 -0
- package/locales/extensions/da.json +59 -0
- package/locales/extensions/de.json +59 -0
- package/locales/extensions/el.json +59 -0
- package/locales/extensions/en.json +59 -0
- package/locales/extensions/es.json +59 -0
- package/locales/extensions/fa.json +59 -0
- package/locales/extensions/fi.json +59 -0
- package/locales/extensions/fr-CA.json +59 -0
- package/locales/extensions/fr.json +59 -0
- package/locales/extensions/ha.json +59 -0
- package/locales/extensions/he.json +59 -0
- package/locales/extensions/hi.json +59 -0
- package/locales/extensions/hr.json +59 -0
- package/locales/extensions/hu.json +59 -0
- package/locales/extensions/id.json +59 -0
- package/locales/extensions/it.json +59 -0
- package/locales/extensions/ja.json +59 -0
- package/locales/extensions/ko.json +59 -0
- package/locales/extensions/mr.json +59 -0
- package/locales/extensions/ms.json +59 -0
- package/locales/extensions/nl.json +59 -0
- package/locales/extensions/pl.json +59 -0
- package/locales/extensions/pt.json +59 -0
- package/locales/extensions/ro.json +59 -0
- package/locales/extensions/ru.json +59 -0
- package/locales/extensions/sk.json +59 -0
- package/locales/extensions/sv.json +59 -0
- package/locales/extensions/sw.json +59 -0
- package/locales/extensions/ta.json +59 -0
- package/locales/extensions/te.json +59 -0
- package/locales/extensions/th.json +59 -0
- package/locales/extensions/tl.json +59 -0
- package/locales/extensions/tr.json +59 -0
- package/locales/extensions/uk.json +59 -0
- package/locales/extensions/ur.json +59 -0
- package/locales/extensions/vi.json +59 -0
- package/locales/extensions/yo.json +59 -0
- package/locales/extensions/zh-Hans.json +59 -0
- package/locales/extensions/zh-Hant.json +59 -0
- package/locales/fa.json +437 -0
- package/locales/feedback/am.json +7 -0
- package/locales/feedback/ar.json +7 -0
- package/locales/feedback/bg.json +7 -0
- package/locales/feedback/bn.json +7 -0
- package/locales/feedback/br.json +7 -0
- package/locales/feedback/co.json +7 -0
- package/locales/feedback/cs.json +7 -0
- package/locales/feedback/da.json +7 -0
- package/locales/feedback/de.json +7 -0
- package/locales/feedback/el.json +7 -0
- package/locales/feedback/en.json +7 -0
- package/locales/feedback/es.json +7 -0
- package/locales/feedback/fa.json +7 -0
- package/locales/feedback/fi.json +7 -0
- package/locales/feedback/fr-CA.json +7 -0
- package/locales/feedback/fr.json +7 -0
- package/locales/feedback/ha.json +7 -0
- package/locales/feedback/he.json +7 -0
- package/locales/feedback/hi.json +7 -0
- package/locales/feedback/hr.json +7 -0
- package/locales/feedback/hu.json +7 -0
- package/locales/feedback/id.json +7 -0
- package/locales/feedback/it.json +7 -0
- package/locales/feedback/ja.json +7 -0
- package/locales/feedback/ko.json +7 -0
- package/locales/feedback/mr.json +7 -0
- package/locales/feedback/ms.json +7 -0
- package/locales/feedback/nl.json +7 -0
- package/locales/feedback/pl.json +7 -0
- package/locales/feedback/pt.json +7 -0
- package/locales/feedback/ro.json +7 -0
- package/locales/feedback/ru.json +7 -0
- package/locales/feedback/sk.json +7 -0
- package/locales/feedback/sv.json +7 -0
- package/locales/feedback/sw.json +7 -0
- package/locales/feedback/ta.json +7 -0
- package/locales/feedback/te.json +7 -0
- package/locales/feedback/th.json +7 -0
- package/locales/feedback/tl.json +7 -0
- package/locales/feedback/tr.json +7 -0
- package/locales/feedback/uk.json +7 -0
- package/locales/feedback/ur.json +7 -0
- package/locales/feedback/vi.json +7 -0
- package/locales/feedback/yo.json +7 -0
- package/locales/feedback/zh-Hans.json +7 -0
- package/locales/feedback/zh-Hant.json +7 -0
- package/locales/fi.json +437 -0
- package/locales/files/am.json +10 -0
- package/locales/files/ar.json +10 -0
- package/locales/files/bg.json +10 -0
- package/locales/files/bn.json +10 -0
- package/locales/files/br.json +10 -0
- package/locales/files/co.json +10 -0
- package/locales/files/cs.json +10 -0
- package/locales/files/da.json +10 -0
- package/locales/files/de.json +10 -0
- package/locales/files/el.json +10 -0
- package/locales/files/en.json +10 -0
- package/locales/files/es.json +10 -0
- package/locales/files/fa.json +10 -0
- package/locales/files/fi.json +10 -0
- package/locales/files/fr-CA.json +10 -0
- package/locales/files/fr.json +10 -0
- package/locales/files/ha.json +10 -0
- package/locales/files/he.json +10 -0
- package/locales/files/hi.json +10 -0
- package/locales/files/hr.json +10 -0
- package/locales/files/hu.json +10 -0
- package/locales/files/id.json +10 -0
- package/locales/files/it.json +10 -0
- package/locales/files/ja.json +10 -0
- package/locales/files/ko.json +10 -0
- package/locales/files/mr.json +10 -0
- package/locales/files/ms.json +10 -0
- package/locales/files/nl.json +10 -0
- package/locales/files/pl.json +10 -0
- package/locales/files/pt.json +10 -0
- package/locales/files/ro.json +10 -0
- package/locales/files/ru.json +10 -0
- package/locales/files/sk.json +10 -0
- package/locales/files/sv.json +10 -0
- package/locales/files/sw.json +10 -0
- package/locales/files/ta.json +10 -0
- package/locales/files/te.json +10 -0
- package/locales/files/th.json +10 -0
- package/locales/files/tl.json +10 -0
- package/locales/files/tr.json +10 -0
- package/locales/files/uk.json +10 -0
- package/locales/files/ur.json +10 -0
- package/locales/files/vi.json +10 -0
- package/locales/files/yo.json +10 -0
- package/locales/files/zh-Hans.json +10 -0
- package/locales/files/zh-Hant.json +10 -0
- package/locales/first/am.json +26 -0
- package/locales/first/ar.json +26 -0
- package/locales/first/bg.json +26 -0
- package/locales/first/bn.json +26 -0
- package/locales/first/br.json +26 -0
- package/locales/first/co.json +26 -0
- package/locales/first/cs.json +26 -0
- package/locales/first/da.json +26 -0
- package/locales/first/de.json +26 -0
- package/locales/first/el.json +26 -0
- package/locales/first/en.json +26 -0
- package/locales/first/es.json +26 -0
- package/locales/first/fa.json +26 -0
- package/locales/first/fi.json +26 -0
- package/locales/first/fr-CA.json +26 -0
- package/locales/first/fr.json +26 -0
- package/locales/first/ha.json +26 -0
- package/locales/first/he.json +26 -0
- package/locales/first/hi.json +26 -0
- package/locales/first/hr.json +26 -0
- package/locales/first/hu.json +26 -0
- package/locales/first/id.json +26 -0
- package/locales/first/it.json +26 -0
- package/locales/first/ja.json +26 -0
- package/locales/first/ko.json +26 -0
- package/locales/first/mr.json +26 -0
- package/locales/first/ms.json +26 -0
- package/locales/first/nl.json +26 -0
- package/locales/first/pl.json +26 -0
- package/locales/first/pt.json +26 -0
- package/locales/first/ro.json +26 -0
- package/locales/first/ru.json +26 -0
- package/locales/first/sk.json +26 -0
- package/locales/first/sv.json +26 -0
- package/locales/first/sw.json +26 -0
- package/locales/first/ta.json +26 -0
- package/locales/first/te.json +26 -0
- package/locales/first/th.json +26 -0
- package/locales/first/tl.json +26 -0
- package/locales/first/tr.json +26 -0
- package/locales/first/uk.json +26 -0
- package/locales/first/ur.json +26 -0
- package/locales/first/vi.json +26 -0
- package/locales/first/yo.json +26 -0
- package/locales/first/zh-Hans.json +26 -0
- package/locales/first/zh-Hant.json +26 -0
- package/locales/flows/am.json +54 -0
- package/locales/flows/ar.json +54 -0
- package/locales/flows/bg.json +54 -0
- package/locales/flows/bn.json +54 -0
- package/locales/flows/br.json +54 -0
- package/locales/flows/co.json +54 -0
- package/locales/flows/cs.json +54 -0
- package/locales/flows/da.json +54 -0
- package/locales/flows/de.json +54 -0
- package/locales/flows/el.json +54 -0
- package/locales/flows/en.json +54 -0
- package/locales/flows/es.json +54 -0
- package/locales/flows/fa.json +54 -0
- package/locales/flows/fi.json +54 -0
- package/locales/flows/fr-CA.json +54 -0
- package/locales/flows/fr.json +54 -0
- package/locales/flows/ha.json +54 -0
- package/locales/flows/he.json +54 -0
- package/locales/flows/hi.json +54 -0
- package/locales/flows/hr.json +54 -0
- package/locales/flows/hu.json +54 -0
- package/locales/flows/id.json +54 -0
- package/locales/flows/it.json +54 -0
- package/locales/flows/ja.json +54 -0
- package/locales/flows/ko.json +54 -0
- package/locales/flows/mr.json +54 -0
- package/locales/flows/ms.json +54 -0
- package/locales/flows/nl.json +54 -0
- package/locales/flows/pl.json +54 -0
- package/locales/flows/pt.json +54 -0
- package/locales/flows/ro.json +54 -0
- package/locales/flows/ru.json +54 -0
- package/locales/flows/sk.json +54 -0
- package/locales/flows/sv.json +54 -0
- package/locales/flows/sw.json +54 -0
- package/locales/flows/ta.json +54 -0
- package/locales/flows/te.json +54 -0
- package/locales/flows/th.json +54 -0
- package/locales/flows/tl.json +54 -0
- package/locales/flows/tr.json +54 -0
- package/locales/flows/uk.json +54 -0
- package/locales/flows/ur.json +54 -0
- package/locales/flows/vi.json +54 -0
- package/locales/flows/yo.json +54 -0
- package/locales/flows/zh-Hans.json +54 -0
- package/locales/flows/zh-Hant.json +54 -0
- package/locales/folders/am.json +40 -0
- package/locales/folders/ar.json +44 -0
- package/locales/folders/bg.json +40 -0
- package/locales/folders/bn.json +40 -0
- package/locales/folders/br.json +43 -0
- package/locales/folders/co.json +41 -0
- package/locales/folders/cs.json +42 -0
- package/locales/folders/da.json +40 -0
- package/locales/folders/de.json +40 -0
- package/locales/folders/el.json +40 -0
- package/locales/folders/en.json +40 -0
- package/locales/folders/es.json +41 -0
- package/locales/folders/fa.json +40 -0
- package/locales/folders/fi.json +40 -0
- package/locales/folders/fr-CA.json +41 -0
- package/locales/folders/fr.json +41 -0
- package/locales/folders/ha.json +40 -0
- package/locales/folders/he.json +41 -0
- package/locales/folders/hi.json +40 -0
- package/locales/folders/hr.json +41 -0
- package/locales/folders/hu.json +40 -0
- package/locales/folders/id.json +39 -0
- package/locales/folders/it.json +41 -0
- package/locales/folders/ja.json +39 -0
- package/locales/folders/ko.json +39 -0
- package/locales/folders/mr.json +40 -0
- package/locales/folders/ms.json +39 -0
- package/locales/folders/nl.json +40 -0
- package/locales/folders/pl.json +42 -0
- package/locales/folders/pt.json +41 -0
- package/locales/folders/ro.json +41 -0
- package/locales/folders/ru.json +42 -0
- package/locales/folders/sk.json +42 -0
- package/locales/folders/sv.json +40 -0
- package/locales/folders/sw.json +40 -0
- package/locales/folders/ta.json +40 -0
- package/locales/folders/te.json +40 -0
- package/locales/folders/th.json +39 -0
- package/locales/folders/tl.json +40 -0
- package/locales/folders/tr.json +40 -0
- package/locales/folders/uk.json +42 -0
- package/locales/folders/ur.json +40 -0
- package/locales/folders/vi.json +39 -0
- package/locales/folders/yo.json +39 -0
- package/locales/folders/zh-Hans.json +39 -0
- package/locales/folders/zh-Hant.json +39 -0
- package/locales/fr-CA.json +446 -0
- package/locales/fr.json +446 -0
- package/locales/games/am.json +16 -0
- package/locales/games/ar.json +16 -0
- package/locales/games/bg.json +16 -0
- package/locales/games/bn.json +16 -0
- package/locales/games/br.json +16 -0
- package/locales/games/co.json +16 -0
- package/locales/games/cs.json +16 -0
- package/locales/games/da.json +16 -0
- package/locales/games/de.json +16 -0
- package/locales/games/el.json +16 -0
- package/locales/games/en.json +16 -0
- package/locales/games/es.json +16 -0
- package/locales/games/fa.json +16 -0
- package/locales/games/fi.json +16 -0
- package/locales/games/fr-CA.json +16 -0
- package/locales/games/fr.json +16 -0
- package/locales/games/ha.json +16 -0
- package/locales/games/he.json +16 -0
- package/locales/games/hi.json +16 -0
- package/locales/games/hr.json +16 -0
- package/locales/games/hu.json +16 -0
- package/locales/games/id.json +16 -0
- package/locales/games/it.json +16 -0
- package/locales/games/ja.json +16 -0
- package/locales/games/ko.json +16 -0
- package/locales/games/mr.json +16 -0
- package/locales/games/ms.json +16 -0
- package/locales/games/nl.json +16 -0
- package/locales/games/pl.json +16 -0
- package/locales/games/pt.json +16 -0
- package/locales/games/ro.json +16 -0
- package/locales/games/ru.json +16 -0
- package/locales/games/sk.json +16 -0
- package/locales/games/sv.json +16 -0
- package/locales/games/sw.json +16 -0
- package/locales/games/ta.json +16 -0
- package/locales/games/te.json +16 -0
- package/locales/games/th.json +16 -0
- package/locales/games/tl.json +16 -0
- package/locales/games/tr.json +16 -0
- package/locales/games/uk.json +16 -0
- package/locales/games/ur.json +16 -0
- package/locales/games/vi.json +16 -0
- package/locales/games/yo.json +16 -0
- package/locales/games/zh-Hans.json +16 -0
- package/locales/games/zh-Hant.json +16 -0
- package/locales/ha.json +437 -0
- package/locales/he.json +453 -0
- package/locales/hi.json +437 -0
- package/locales/hr.json +446 -0
- package/locales/hu.json +437 -0
- package/locales/id.json +428 -0
- package/locales/interactive/am.json +18 -0
- package/locales/interactive/ar.json +18 -0
- package/locales/interactive/bg.json +18 -0
- package/locales/interactive/bn.json +18 -0
- package/locales/interactive/br.json +18 -0
- package/locales/interactive/co.json +18 -0
- package/locales/interactive/cs.json +18 -0
- package/locales/interactive/da.json +18 -0
- package/locales/interactive/de.json +18 -0
- package/locales/interactive/el.json +18 -0
- package/locales/interactive/en.json +18 -0
- package/locales/interactive/es.json +18 -0
- package/locales/interactive/fa.json +18 -0
- package/locales/interactive/fi.json +18 -0
- package/locales/interactive/fr-CA.json +18 -0
- package/locales/interactive/fr.json +18 -0
- package/locales/interactive/ha.json +18 -0
- package/locales/interactive/he.json +18 -0
- package/locales/interactive/hi.json +18 -0
- package/locales/interactive/hr.json +18 -0
- package/locales/interactive/hu.json +18 -0
- package/locales/interactive/id.json +18 -0
- package/locales/interactive/it.json +18 -0
- package/locales/interactive/ja.json +18 -0
- package/locales/interactive/ko.json +18 -0
- package/locales/interactive/mr.json +18 -0
- package/locales/interactive/ms.json +18 -0
- package/locales/interactive/nl.json +18 -0
- package/locales/interactive/pl.json +18 -0
- package/locales/interactive/pt.json +18 -0
- package/locales/interactive/ro.json +18 -0
- package/locales/interactive/ru.json +18 -0
- package/locales/interactive/sk.json +18 -0
- package/locales/interactive/sv.json +18 -0
- package/locales/interactive/sw.json +18 -0
- package/locales/interactive/ta.json +18 -0
- package/locales/interactive/te.json +18 -0
- package/locales/interactive/th.json +18 -0
- package/locales/interactive/tl.json +18 -0
- package/locales/interactive/tr.json +18 -0
- package/locales/interactive/uk.json +18 -0
- package/locales/interactive/ur.json +18 -0
- package/locales/interactive/vi.json +18 -0
- package/locales/interactive/yo.json +18 -0
- package/locales/interactive/zh-Hans.json +18 -0
- package/locales/interactive/zh-Hant.json +18 -0
- package/locales/it.json +446 -0
- package/locales/ja.json +428 -0
- package/locales/ko.json +428 -0
- package/locales/layouts/am.json +9 -0
- package/locales/layouts/ar.json +9 -0
- package/locales/layouts/bg.json +9 -0
- package/locales/layouts/bn.json +9 -0
- package/locales/layouts/br.json +9 -0
- package/locales/layouts/co.json +9 -0
- package/locales/layouts/cs.json +9 -0
- package/locales/layouts/da.json +9 -0
- package/locales/layouts/de.json +9 -0
- package/locales/layouts/el.json +9 -0
- package/locales/layouts/en.json +9 -0
- package/locales/layouts/es.json +9 -0
- package/locales/layouts/fa.json +9 -0
- package/locales/layouts/fi.json +9 -0
- package/locales/layouts/fr-CA.json +9 -0
- package/locales/layouts/fr.json +9 -0
- package/locales/layouts/ha.json +9 -0
- package/locales/layouts/he.json +9 -0
- package/locales/layouts/hi.json +9 -0
- package/locales/layouts/hr.json +9 -0
- package/locales/layouts/hu.json +9 -0
- package/locales/layouts/id.json +9 -0
- package/locales/layouts/it.json +9 -0
- package/locales/layouts/ja.json +9 -0
- package/locales/layouts/ko.json +9 -0
- package/locales/layouts/mr.json +9 -0
- package/locales/layouts/ms.json +9 -0
- package/locales/layouts/nl.json +9 -0
- package/locales/layouts/pl.json +9 -0
- package/locales/layouts/pt.json +9 -0
- package/locales/layouts/ro.json +9 -0
- package/locales/layouts/ru.json +9 -0
- package/locales/layouts/sk.json +9 -0
- package/locales/layouts/sv.json +9 -0
- package/locales/layouts/sw.json +9 -0
- package/locales/layouts/ta.json +9 -0
- package/locales/layouts/te.json +9 -0
- package/locales/layouts/th.json +9 -0
- package/locales/layouts/tl.json +9 -0
- package/locales/layouts/tr.json +9 -0
- package/locales/layouts/uk.json +9 -0
- package/locales/layouts/ur.json +9 -0
- package/locales/layouts/vi.json +9 -0
- package/locales/layouts/yo.json +9 -0
- package/locales/layouts/zh-Hans.json +9 -0
- package/locales/layouts/zh-Hant.json +9 -0
- package/locales/lock/am.json +39 -0
- package/locales/lock/ar.json +39 -0
- package/locales/lock/bg.json +39 -0
- package/locales/lock/bn.json +39 -0
- package/locales/lock/br.json +39 -0
- package/locales/lock/co.json +39 -0
- package/locales/lock/cs.json +39 -0
- package/locales/lock/da.json +39 -0
- package/locales/lock/de.json +39 -0
- package/locales/lock/el.json +39 -0
- package/locales/lock/en.json +39 -0
- package/locales/lock/es.json +39 -0
- package/locales/lock/fa.json +39 -0
- package/locales/lock/fi.json +39 -0
- package/locales/lock/fr-CA.json +39 -0
- package/locales/lock/fr.json +39 -0
- package/locales/lock/ha.json +39 -0
- package/locales/lock/he.json +39 -0
- package/locales/lock/hi.json +39 -0
- package/locales/lock/hr.json +39 -0
- package/locales/lock/hu.json +39 -0
- package/locales/lock/id.json +39 -0
- package/locales/lock/it.json +39 -0
- package/locales/lock/ja.json +39 -0
- package/locales/lock/ko.json +39 -0
- package/locales/lock/mr.json +39 -0
- package/locales/lock/ms.json +39 -0
- package/locales/lock/nl.json +39 -0
- package/locales/lock/pl.json +39 -0
- package/locales/lock/pt.json +39 -0
- package/locales/lock/ro.json +39 -0
- package/locales/lock/ru.json +39 -0
- package/locales/lock/sk.json +39 -0
- package/locales/lock/sv.json +39 -0
- package/locales/lock/sw.json +39 -0
- package/locales/lock/ta.json +39 -0
- package/locales/lock/te.json +39 -0
- package/locales/lock/th.json +39 -0
- package/locales/lock/tl.json +39 -0
- package/locales/lock/tr.json +39 -0
- package/locales/lock/uk.json +39 -0
- package/locales/lock/ur.json +39 -0
- package/locales/lock/vi.json +39 -0
- package/locales/lock/yo.json +39 -0
- package/locales/lock/zh-Hans.json +39 -0
- package/locales/lock/zh-Hant.json +39 -0
- package/locales/look/am.json +34 -0
- package/locales/look/ar.json +34 -0
- package/locales/look/bg.json +34 -0
- package/locales/look/bn.json +34 -0
- package/locales/look/br.json +34 -0
- package/locales/look/co.json +34 -0
- package/locales/look/cs.json +34 -0
- package/locales/look/da.json +34 -0
- package/locales/look/de.json +34 -0
- package/locales/look/el.json +34 -0
- package/locales/look/en.json +34 -0
- package/locales/look/es.json +34 -0
- package/locales/look/fa.json +34 -0
- package/locales/look/fi.json +34 -0
- package/locales/look/fr-CA.json +34 -0
- package/locales/look/fr.json +34 -0
- package/locales/look/ha.json +34 -0
- package/locales/look/he.json +34 -0
- package/locales/look/hi.json +34 -0
- package/locales/look/hr.json +34 -0
- package/locales/look/hu.json +34 -0
- package/locales/look/id.json +34 -0
- package/locales/look/it.json +34 -0
- package/locales/look/ja.json +34 -0
- package/locales/look/ko.json +34 -0
- package/locales/look/mr.json +34 -0
- package/locales/look/ms.json +34 -0
- package/locales/look/nl.json +34 -0
- package/locales/look/pl.json +34 -0
- package/locales/look/pt.json +34 -0
- package/locales/look/ro.json +34 -0
- package/locales/look/ru.json +34 -0
- package/locales/look/sk.json +34 -0
- package/locales/look/sv.json +34 -0
- package/locales/look/sw.json +34 -0
- package/locales/look/ta.json +34 -0
- package/locales/look/te.json +34 -0
- package/locales/look/th.json +34 -0
- package/locales/look/tl.json +34 -0
- package/locales/look/tr.json +34 -0
- package/locales/look/uk.json +34 -0
- package/locales/look/ur.json +34 -0
- package/locales/look/vi.json +34 -0
- package/locales/look/yo.json +34 -0
- package/locales/look/zh-Hans.json +34 -0
- package/locales/look/zh-Hant.json +34 -0
- package/locales/machine/am.json +20 -0
- package/locales/machine/ar.json +20 -0
- package/locales/machine/bg.json +20 -0
- package/locales/machine/bn.json +20 -0
- package/locales/machine/br.json +20 -0
- package/locales/machine/co.json +20 -0
- package/locales/machine/cs.json +20 -0
- package/locales/machine/da.json +20 -0
- package/locales/machine/de.json +20 -0
- package/locales/machine/el.json +20 -0
- package/locales/machine/en.json +20 -0
- package/locales/machine/es.json +20 -0
- package/locales/machine/fa.json +20 -0
- package/locales/machine/fi.json +20 -0
- package/locales/machine/fr-CA.json +20 -0
- package/locales/machine/fr.json +20 -0
- package/locales/machine/ha.json +20 -0
- package/locales/machine/he.json +20 -0
- package/locales/machine/hi.json +20 -0
- package/locales/machine/hr.json +20 -0
- package/locales/machine/hu.json +20 -0
- package/locales/machine/id.json +20 -0
- package/locales/machine/it.json +20 -0
- package/locales/machine/ja.json +20 -0
- package/locales/machine/ko.json +20 -0
- package/locales/machine/mr.json +20 -0
- package/locales/machine/ms.json +20 -0
- package/locales/machine/nl.json +20 -0
- package/locales/machine/pl.json +20 -0
- package/locales/machine/pt.json +20 -0
- package/locales/machine/ro.json +20 -0
- package/locales/machine/ru.json +20 -0
- package/locales/machine/sk.json +20 -0
- package/locales/machine/sv.json +20 -0
- package/locales/machine/sw.json +20 -0
- package/locales/machine/ta.json +20 -0
- package/locales/machine/te.json +20 -0
- package/locales/machine/th.json +20 -0
- package/locales/machine/tl.json +20 -0
- package/locales/machine/tr.json +20 -0
- package/locales/machine/uk.json +20 -0
- package/locales/machine/ur.json +20 -0
- package/locales/machine/vi.json +20 -0
- package/locales/machine/yo.json +20 -0
- package/locales/machine/zh-Hans.json +20 -0
- package/locales/machine/zh-Hant.json +20 -0
- package/locales/made/am.json +22 -0
- package/locales/made/ar.json +22 -0
- package/locales/made/bg.json +22 -0
- package/locales/made/bn.json +22 -0
- package/locales/made/br.json +22 -0
- package/locales/made/co.json +22 -0
- package/locales/made/cs.json +22 -0
- package/locales/made/da.json +22 -0
- package/locales/made/de.json +22 -0
- package/locales/made/el.json +22 -0
- package/locales/made/en.json +22 -0
- package/locales/made/es.json +22 -0
- package/locales/made/fa.json +22 -0
- package/locales/made/fi.json +22 -0
- package/locales/made/fr-CA.json +22 -0
- package/locales/made/fr.json +22 -0
- package/locales/made/ha.json +22 -0
- package/locales/made/he.json +22 -0
- package/locales/made/hi.json +22 -0
- package/locales/made/hr.json +22 -0
- package/locales/made/hu.json +22 -0
- package/locales/made/id.json +22 -0
- package/locales/made/it.json +22 -0
- package/locales/made/ja.json +22 -0
- package/locales/made/ko.json +22 -0
- package/locales/made/mr.json +22 -0
- package/locales/made/ms.json +22 -0
- package/locales/made/nl.json +22 -0
- package/locales/made/pl.json +22 -0
- package/locales/made/pt.json +22 -0
- package/locales/made/ro.json +22 -0
- package/locales/made/ru.json +22 -0
- package/locales/made/sk.json +22 -0
- package/locales/made/sv.json +22 -0
- package/locales/made/sw.json +22 -0
- package/locales/made/ta.json +22 -0
- package/locales/made/te.json +22 -0
- package/locales/made/th.json +22 -0
- package/locales/made/tl.json +22 -0
- package/locales/made/tr.json +22 -0
- package/locales/made/uk.json +22 -0
- package/locales/made/ur.json +22 -0
- package/locales/made/vi.json +22 -0
- package/locales/made/yo.json +22 -0
- package/locales/made/zh-Hans.json +22 -0
- package/locales/made/zh-Hant.json +22 -0
- package/locales/mr.json +437 -0
- package/locales/ms.json +428 -0
- package/locales/natural-voice/am.json +9 -0
- package/locales/natural-voice/ar.json +9 -0
- package/locales/natural-voice/bg.json +9 -0
- package/locales/natural-voice/bn.json +9 -0
- package/locales/natural-voice/br.json +9 -0
- package/locales/natural-voice/co.json +9 -0
- package/locales/natural-voice/cs.json +9 -0
- package/locales/natural-voice/da.json +9 -0
- package/locales/natural-voice/de.json +9 -0
- package/locales/natural-voice/el.json +9 -0
- package/locales/natural-voice/en.json +9 -0
- package/locales/natural-voice/es.json +9 -0
- package/locales/natural-voice/fa.json +9 -0
- package/locales/natural-voice/fi.json +9 -0
- package/locales/natural-voice/fr-CA.json +9 -0
- package/locales/natural-voice/fr.json +9 -0
- package/locales/natural-voice/ha.json +9 -0
- package/locales/natural-voice/he.json +9 -0
- package/locales/natural-voice/hi.json +9 -0
- package/locales/natural-voice/hr.json +9 -0
- package/locales/natural-voice/hu.json +9 -0
- package/locales/natural-voice/id.json +9 -0
- package/locales/natural-voice/it.json +9 -0
- package/locales/natural-voice/ja.json +9 -0
- package/locales/natural-voice/ko.json +9 -0
- package/locales/natural-voice/mr.json +9 -0
- package/locales/natural-voice/ms.json +9 -0
- package/locales/natural-voice/nl.json +9 -0
- package/locales/natural-voice/pl.json +9 -0
- package/locales/natural-voice/pt.json +9 -0
- package/locales/natural-voice/ro.json +9 -0
- package/locales/natural-voice/ru.json +9 -0
- package/locales/natural-voice/sk.json +9 -0
- package/locales/natural-voice/sv.json +9 -0
- package/locales/natural-voice/sw.json +9 -0
- package/locales/natural-voice/ta.json +9 -0
- package/locales/natural-voice/te.json +9 -0
- package/locales/natural-voice/th.json +9 -0
- package/locales/natural-voice/tl.json +9 -0
- package/locales/natural-voice/tr.json +9 -0
- package/locales/natural-voice/uk.json +9 -0
- package/locales/natural-voice/ur.json +9 -0
- package/locales/natural-voice/vi.json +9 -0
- package/locales/natural-voice/yo.json +9 -0
- package/locales/natural-voice/zh-Hans.json +9 -0
- package/locales/natural-voice/zh-Hant.json +9 -0
- package/locales/nl.json +437 -0
- package/locales/notifications/am.json +9 -0
- package/locales/notifications/ar.json +9 -0
- package/locales/notifications/bg.json +9 -0
- package/locales/notifications/bn.json +9 -0
- package/locales/notifications/br.json +9 -0
- package/locales/notifications/co.json +9 -0
- package/locales/notifications/cs.json +9 -0
- package/locales/notifications/da.json +9 -0
- package/locales/notifications/de.json +9 -0
- package/locales/notifications/el.json +9 -0
- package/locales/notifications/en.json +9 -0
- package/locales/notifications/es.json +9 -0
- package/locales/notifications/fa.json +9 -0
- package/locales/notifications/fi.json +9 -0
- package/locales/notifications/fr-CA.json +9 -0
- package/locales/notifications/fr.json +9 -0
- package/locales/notifications/ha.json +9 -0
- package/locales/notifications/he.json +9 -0
- package/locales/notifications/hi.json +9 -0
- package/locales/notifications/hr.json +9 -0
- package/locales/notifications/hu.json +9 -0
- package/locales/notifications/id.json +9 -0
- package/locales/notifications/it.json +9 -0
- package/locales/notifications/ja.json +9 -0
- package/locales/notifications/ko.json +9 -0
- package/locales/notifications/mr.json +9 -0
- package/locales/notifications/ms.json +9 -0
- package/locales/notifications/nl.json +9 -0
- package/locales/notifications/pl.json +9 -0
- package/locales/notifications/pt.json +9 -0
- package/locales/notifications/ro.json +9 -0
- package/locales/notifications/ru.json +9 -0
- package/locales/notifications/sk.json +9 -0
- package/locales/notifications/sv.json +9 -0
- package/locales/notifications/sw.json +9 -0
- package/locales/notifications/ta.json +9 -0
- package/locales/notifications/te.json +9 -0
- package/locales/notifications/th.json +9 -0
- package/locales/notifications/tl.json +9 -0
- package/locales/notifications/tr.json +9 -0
- package/locales/notifications/uk.json +9 -0
- package/locales/notifications/ur.json +9 -0
- package/locales/notifications/vi.json +9 -0
- package/locales/notifications/yo.json +9 -0
- package/locales/notifications/zh-Hans.json +9 -0
- package/locales/notifications/zh-Hant.json +9 -0
- package/locales/out/am.json +13 -0
- package/locales/out/ar.json +13 -0
- package/locales/out/bg.json +13 -0
- package/locales/out/bn.json +13 -0
- package/locales/out/br.json +13 -0
- package/locales/out/co.json +13 -0
- package/locales/out/cs.json +13 -0
- package/locales/out/da.json +13 -0
- package/locales/out/de.json +13 -0
- package/locales/out/el.json +13 -0
- package/locales/out/en.json +13 -0
- package/locales/out/es.json +13 -0
- package/locales/out/fa.json +13 -0
- package/locales/out/fi.json +13 -0
- package/locales/out/fr-CA.json +13 -0
- package/locales/out/fr.json +13 -0
- package/locales/out/ha.json +13 -0
- package/locales/out/he.json +13 -0
- package/locales/out/hi.json +13 -0
- package/locales/out/hr.json +13 -0
- package/locales/out/hu.json +13 -0
- package/locales/out/id.json +13 -0
- package/locales/out/it.json +13 -0
- package/locales/out/ja.json +13 -0
- package/locales/out/ko.json +13 -0
- package/locales/out/mr.json +13 -0
- package/locales/out/ms.json +13 -0
- package/locales/out/nl.json +13 -0
- package/locales/out/pl.json +13 -0
- package/locales/out/pt.json +13 -0
- package/locales/out/ro.json +13 -0
- package/locales/out/ru.json +13 -0
- package/locales/out/sk.json +13 -0
- package/locales/out/sv.json +13 -0
- package/locales/out/sw.json +13 -0
- package/locales/out/ta.json +13 -0
- package/locales/out/te.json +13 -0
- package/locales/out/th.json +13 -0
- package/locales/out/tl.json +13 -0
- package/locales/out/tr.json +13 -0
- package/locales/out/uk.json +13 -0
- package/locales/out/ur.json +13 -0
- package/locales/out/vi.json +13 -0
- package/locales/out/yo.json +13 -0
- package/locales/out/zh-Hans.json +13 -0
- package/locales/out/zh-Hant.json +13 -0
- package/locales/pictures/am.json +42 -0
- package/locales/pictures/ar.json +42 -0
- package/locales/pictures/bg.json +42 -0
- package/locales/pictures/bn.json +42 -0
- package/locales/pictures/br.json +42 -0
- package/locales/pictures/co.json +42 -0
- package/locales/pictures/cs.json +42 -0
- package/locales/pictures/da.json +42 -0
- package/locales/pictures/de.json +42 -0
- package/locales/pictures/el.json +42 -0
- package/locales/pictures/en.json +42 -0
- package/locales/pictures/es.json +42 -0
- package/locales/pictures/fa.json +42 -0
- package/locales/pictures/fi.json +42 -0
- package/locales/pictures/fr-CA.json +42 -0
- package/locales/pictures/fr.json +42 -0
- package/locales/pictures/ha.json +42 -0
- package/locales/pictures/he.json +42 -0
- package/locales/pictures/hi.json +42 -0
- package/locales/pictures/hr.json +42 -0
- package/locales/pictures/hu.json +42 -0
- package/locales/pictures/id.json +42 -0
- package/locales/pictures/it.json +42 -0
- package/locales/pictures/ja.json +42 -0
- package/locales/pictures/ko.json +42 -0
- package/locales/pictures/mr.json +42 -0
- package/locales/pictures/ms.json +42 -0
- package/locales/pictures/nl.json +42 -0
- package/locales/pictures/pl.json +42 -0
- package/locales/pictures/pt.json +42 -0
- package/locales/pictures/ro.json +42 -0
- package/locales/pictures/ru.json +42 -0
- package/locales/pictures/sk.json +42 -0
- package/locales/pictures/sv.json +42 -0
- package/locales/pictures/sw.json +42 -0
- package/locales/pictures/ta.json +42 -0
- package/locales/pictures/te.json +42 -0
- package/locales/pictures/th.json +42 -0
- package/locales/pictures/tl.json +42 -0
- package/locales/pictures/tr.json +42 -0
- package/locales/pictures/uk.json +42 -0
- package/locales/pictures/ur.json +42 -0
- package/locales/pictures/vi.json +42 -0
- package/locales/pictures/yo.json +42 -0
- package/locales/pictures/zh-Hans.json +42 -0
- package/locales/pictures/zh-Hant.json +42 -0
- package/locales/pl.json +455 -0
- package/locales/plan/am.json +13 -0
- package/locales/plan/ar.json +13 -0
- package/locales/plan/bg.json +13 -0
- package/locales/plan/bn.json +13 -0
- package/locales/plan/br.json +13 -0
- package/locales/plan/co.json +13 -0
- package/locales/plan/cs.json +13 -0
- package/locales/plan/da.json +13 -0
- package/locales/plan/de.json +13 -0
- package/locales/plan/el.json +13 -0
- package/locales/plan/en.json +13 -0
- package/locales/plan/es.json +13 -0
- package/locales/plan/fa.json +13 -0
- package/locales/plan/fi.json +13 -0
- package/locales/plan/fr-CA.json +13 -0
- package/locales/plan/fr.json +13 -0
- package/locales/plan/ha.json +13 -0
- package/locales/plan/he.json +13 -0
- package/locales/plan/hi.json +13 -0
- package/locales/plan/hr.json +13 -0
- package/locales/plan/hu.json +13 -0
- package/locales/plan/id.json +13 -0
- package/locales/plan/it.json +13 -0
- package/locales/plan/ja.json +13 -0
- package/locales/plan/ko.json +13 -0
- package/locales/plan/mr.json +13 -0
- package/locales/plan/ms.json +13 -0
- package/locales/plan/nl.json +13 -0
- package/locales/plan/pl.json +13 -0
- package/locales/plan/pt.json +13 -0
- package/locales/plan/ro.json +13 -0
- package/locales/plan/ru.json +13 -0
- package/locales/plan/sk.json +13 -0
- package/locales/plan/sv.json +13 -0
- package/locales/plan/sw.json +13 -0
- package/locales/plan/ta.json +13 -0
- package/locales/plan/te.json +13 -0
- package/locales/plan/th.json +13 -0
- package/locales/plan/tl.json +13 -0
- package/locales/plan/tr.json +13 -0
- package/locales/plan/uk.json +13 -0
- package/locales/plan/ur.json +13 -0
- package/locales/plan/vi.json +13 -0
- package/locales/plan/yo.json +13 -0
- package/locales/plan/zh-Hans.json +13 -0
- package/locales/plan/zh-Hant.json +13 -0
- package/locales/policy/am.json +41 -0
- package/locales/policy/ar.json +41 -0
- package/locales/policy/bg.json +41 -0
- package/locales/policy/bn.json +41 -0
- package/locales/policy/br.json +41 -0
- package/locales/policy/co.json +41 -0
- package/locales/policy/cs.json +41 -0
- package/locales/policy/da.json +41 -0
- package/locales/policy/de.json +41 -0
- package/locales/policy/el.json +41 -0
- package/locales/policy/en.json +41 -0
- package/locales/policy/es.json +41 -0
- package/locales/policy/fa.json +41 -0
- package/locales/policy/fi.json +41 -0
- package/locales/policy/fr-CA.json +41 -0
- package/locales/policy/fr.json +41 -0
- package/locales/policy/ha.json +41 -0
- package/locales/policy/he.json +41 -0
- package/locales/policy/hi.json +41 -0
- package/locales/policy/hr.json +41 -0
- package/locales/policy/hu.json +41 -0
- package/locales/policy/id.json +41 -0
- package/locales/policy/it.json +41 -0
- package/locales/policy/ja.json +41 -0
- package/locales/policy/ko.json +41 -0
- package/locales/policy/mr.json +41 -0
- package/locales/policy/ms.json +41 -0
- package/locales/policy/nl.json +41 -0
- package/locales/policy/pl.json +41 -0
- package/locales/policy/pt.json +41 -0
- package/locales/policy/ro.json +41 -0
- package/locales/policy/ru.json +41 -0
- package/locales/policy/sk.json +41 -0
- package/locales/policy/sv.json +41 -0
- package/locales/policy/sw.json +41 -0
- package/locales/policy/ta.json +41 -0
- package/locales/policy/te.json +41 -0
- package/locales/policy/th.json +41 -0
- package/locales/policy/tl.json +41 -0
- package/locales/policy/tr.json +41 -0
- package/locales/policy/uk.json +41 -0
- package/locales/policy/ur.json +41 -0
- package/locales/policy/vi.json +41 -0
- package/locales/policy/yo.json +41 -0
- package/locales/policy/zh-Hans.json +41 -0
- package/locales/policy/zh-Hant.json +41 -0
- package/locales/profiles/am.json +90 -0
- package/locales/profiles/ar.json +90 -0
- package/locales/profiles/bg.json +90 -0
- package/locales/profiles/bn.json +90 -0
- package/locales/profiles/br.json +90 -0
- package/locales/profiles/co.json +90 -0
- package/locales/profiles/cs.json +90 -0
- package/locales/profiles/da.json +90 -0
- package/locales/profiles/de.json +90 -0
- package/locales/profiles/el.json +90 -0
- package/locales/profiles/en.json +90 -0
- package/locales/profiles/es.json +90 -0
- package/locales/profiles/fa.json +90 -0
- package/locales/profiles/fi.json +90 -0
- package/locales/profiles/fr-CA.json +90 -0
- package/locales/profiles/fr.json +90 -0
- package/locales/profiles/ha.json +90 -0
- package/locales/profiles/he.json +90 -0
- package/locales/profiles/hi.json +90 -0
- package/locales/profiles/hr.json +90 -0
- package/locales/profiles/hu.json +90 -0
- package/locales/profiles/id.json +90 -0
- package/locales/profiles/it.json +90 -0
- package/locales/profiles/ja.json +90 -0
- package/locales/profiles/ko.json +90 -0
- package/locales/profiles/mr.json +90 -0
- package/locales/profiles/ms.json +90 -0
- package/locales/profiles/nl.json +90 -0
- package/locales/profiles/pl.json +90 -0
- package/locales/profiles/pt.json +90 -0
- package/locales/profiles/ro.json +90 -0
- package/locales/profiles/ru.json +90 -0
- package/locales/profiles/sk.json +90 -0
- package/locales/profiles/sv.json +90 -0
- package/locales/profiles/sw.json +90 -0
- package/locales/profiles/ta.json +90 -0
- package/locales/profiles/te.json +90 -0
- package/locales/profiles/th.json +90 -0
- package/locales/profiles/tl.json +90 -0
- package/locales/profiles/tr.json +90 -0
- package/locales/profiles/uk.json +90 -0
- package/locales/profiles/ur.json +90 -0
- package/locales/profiles/vi.json +90 -0
- package/locales/profiles/yo.json +90 -0
- package/locales/profiles/zh-Hans.json +90 -0
- package/locales/profiles/zh-Hant.json +90 -0
- package/locales/projects/am.json +4 -0
- package/locales/projects/ar.json +4 -0
- package/locales/projects/bg.json +4 -0
- package/locales/projects/bn.json +4 -0
- package/locales/projects/br.json +4 -0
- package/locales/projects/co.json +4 -0
- package/locales/projects/cs.json +4 -0
- package/locales/projects/da.json +4 -0
- package/locales/projects/de.json +4 -0
- package/locales/projects/el.json +4 -0
- package/locales/projects/en.json +4 -0
- package/locales/projects/es.json +4 -0
- package/locales/projects/fa.json +4 -0
- package/locales/projects/fi.json +4 -0
- package/locales/projects/fr-CA.json +4 -0
- package/locales/projects/fr.json +4 -0
- package/locales/projects/ha.json +4 -0
- package/locales/projects/he.json +4 -0
- package/locales/projects/hi.json +4 -0
- package/locales/projects/hr.json +4 -0
- package/locales/projects/hu.json +4 -0
- package/locales/projects/id.json +4 -0
- package/locales/projects/it.json +4 -0
- package/locales/projects/ja.json +4 -0
- package/locales/projects/ko.json +4 -0
- package/locales/projects/mr.json +4 -0
- package/locales/projects/ms.json +4 -0
- package/locales/projects/nl.json +4 -0
- package/locales/projects/pl.json +4 -0
- package/locales/projects/pt.json +4 -0
- package/locales/projects/ro.json +4 -0
- package/locales/projects/ru.json +4 -0
- package/locales/projects/sk.json +4 -0
- package/locales/projects/sv.json +4 -0
- package/locales/projects/sw.json +4 -0
- package/locales/projects/ta.json +4 -0
- package/locales/projects/te.json +4 -0
- package/locales/projects/th.json +4 -0
- package/locales/projects/tl.json +4 -0
- package/locales/projects/tr.json +4 -0
- package/locales/projects/uk.json +4 -0
- package/locales/projects/ur.json +4 -0
- package/locales/projects/vi.json +4 -0
- package/locales/projects/yo.json +4 -0
- package/locales/projects/zh-Hans.json +4 -0
- package/locales/projects/zh-Hant.json +4 -0
- package/locales/pt.json +446 -0
- package/locales/receipt/am.json +52 -0
- package/locales/receipt/ar.json +52 -0
- package/locales/receipt/bg.json +52 -0
- package/locales/receipt/bn.json +52 -0
- package/locales/receipt/br.json +52 -0
- package/locales/receipt/co.json +52 -0
- package/locales/receipt/cs.json +52 -0
- package/locales/receipt/da.json +52 -0
- package/locales/receipt/de.json +52 -0
- package/locales/receipt/el.json +52 -0
- package/locales/receipt/en.json +52 -0
- package/locales/receipt/es.json +52 -0
- package/locales/receipt/fa.json +52 -0
- package/locales/receipt/fi.json +52 -0
- package/locales/receipt/fr-CA.json +52 -0
- package/locales/receipt/fr.json +52 -0
- package/locales/receipt/ha.json +52 -0
- package/locales/receipt/he.json +52 -0
- package/locales/receipt/hi.json +52 -0
- package/locales/receipt/hr.json +52 -0
- package/locales/receipt/hu.json +52 -0
- package/locales/receipt/id.json +52 -0
- package/locales/receipt/it.json +52 -0
- package/locales/receipt/ja.json +52 -0
- package/locales/receipt/ko.json +52 -0
- package/locales/receipt/mr.json +52 -0
- package/locales/receipt/ms.json +52 -0
- package/locales/receipt/nl.json +52 -0
- package/locales/receipt/pl.json +52 -0
- package/locales/receipt/pt.json +52 -0
- package/locales/receipt/ro.json +52 -0
- package/locales/receipt/ru.json +52 -0
- package/locales/receipt/sk.json +52 -0
- package/locales/receipt/sv.json +52 -0
- package/locales/receipt/sw.json +52 -0
- package/locales/receipt/ta.json +52 -0
- package/locales/receipt/te.json +52 -0
- package/locales/receipt/th.json +52 -0
- package/locales/receipt/tl.json +52 -0
- package/locales/receipt/tr.json +52 -0
- package/locales/receipt/uk.json +52 -0
- package/locales/receipt/ur.json +52 -0
- package/locales/receipt/vi.json +52 -0
- package/locales/receipt/yo.json +52 -0
- package/locales/receipt/zh-Hans.json +52 -0
- package/locales/receipt/zh-Hant.json +52 -0
- package/locales/ro.json +446 -0
- package/locales/routines/am.json +58 -0
- package/locales/routines/ar.json +62 -0
- package/locales/routines/bg.json +58 -0
- package/locales/routines/bn.json +58 -0
- package/locales/routines/br.json +61 -0
- package/locales/routines/co.json +59 -0
- package/locales/routines/cs.json +60 -0
- package/locales/routines/da.json +58 -0
- package/locales/routines/de.json +58 -0
- package/locales/routines/el.json +58 -0
- package/locales/routines/en.json +58 -0
- package/locales/routines/es.json +59 -0
- package/locales/routines/fa.json +58 -0
- package/locales/routines/fi.json +58 -0
- package/locales/routines/fr-CA.json +59 -0
- package/locales/routines/fr.json +59 -0
- package/locales/routines/ha.json +58 -0
- package/locales/routines/he.json +60 -0
- package/locales/routines/hi.json +58 -0
- package/locales/routines/hr.json +59 -0
- package/locales/routines/hu.json +58 -0
- package/locales/routines/id.json +57 -0
- package/locales/routines/it.json +59 -0
- package/locales/routines/ja.json +57 -0
- package/locales/routines/ko.json +57 -0
- package/locales/routines/mr.json +58 -0
- package/locales/routines/ms.json +57 -0
- package/locales/routines/nl.json +58 -0
- package/locales/routines/pl.json +60 -0
- package/locales/routines/pt.json +59 -0
- package/locales/routines/ro.json +59 -0
- package/locales/routines/ru.json +60 -0
- package/locales/routines/sk.json +60 -0
- package/locales/routines/sv.json +58 -0
- package/locales/routines/sw.json +58 -0
- package/locales/routines/ta.json +58 -0
- package/locales/routines/te.json +58 -0
- package/locales/routines/th.json +57 -0
- package/locales/routines/tl.json +58 -0
- package/locales/routines/tr.json +58 -0
- package/locales/routines/uk.json +60 -0
- package/locales/routines/ur.json +58 -0
- package/locales/routines/vi.json +57 -0
- package/locales/routines/yo.json +57 -0
- package/locales/routines/zh-Hans.json +57 -0
- package/locales/routines/zh-Hant.json +57 -0
- package/locales/ru.json +455 -0
- package/locales/scores/am.json +12 -0
- package/locales/scores/ar.json +12 -0
- package/locales/scores/bg.json +12 -0
- package/locales/scores/bn.json +12 -0
- package/locales/scores/br.json +12 -0
- package/locales/scores/co.json +12 -0
- package/locales/scores/cs.json +12 -0
- package/locales/scores/da.json +12 -0
- package/locales/scores/de.json +12 -0
- package/locales/scores/el.json +12 -0
- package/locales/scores/en.json +12 -0
- package/locales/scores/es.json +12 -0
- package/locales/scores/fa.json +12 -0
- package/locales/scores/fi.json +12 -0
- package/locales/scores/fr-CA.json +12 -0
- package/locales/scores/fr.json +12 -0
- package/locales/scores/ha.json +12 -0
- package/locales/scores/he.json +12 -0
- package/locales/scores/hi.json +12 -0
- package/locales/scores/hr.json +12 -0
- package/locales/scores/hu.json +12 -0
- package/locales/scores/id.json +12 -0
- package/locales/scores/it.json +12 -0
- package/locales/scores/ja.json +12 -0
- package/locales/scores/ko.json +12 -0
- package/locales/scores/mr.json +12 -0
- package/locales/scores/ms.json +12 -0
- package/locales/scores/nl.json +12 -0
- package/locales/scores/pl.json +12 -0
- package/locales/scores/pt.json +12 -0
- package/locales/scores/ro.json +12 -0
- package/locales/scores/ru.json +12 -0
- package/locales/scores/sk.json +12 -0
- package/locales/scores/sv.json +12 -0
- package/locales/scores/sw.json +12 -0
- package/locales/scores/ta.json +12 -0
- package/locales/scores/te.json +12 -0
- package/locales/scores/th.json +12 -0
- package/locales/scores/tl.json +12 -0
- package/locales/scores/tr.json +12 -0
- package/locales/scores/uk.json +12 -0
- package/locales/scores/ur.json +12 -0
- package/locales/scores/vi.json +12 -0
- package/locales/scores/yo.json +12 -0
- package/locales/scores/zh-Hans.json +12 -0
- package/locales/scores/zh-Hant.json +12 -0
- package/locales/screen/am.json +11 -0
- package/locales/screen/ar.json +11 -0
- package/locales/screen/bg.json +11 -0
- package/locales/screen/bn.json +11 -0
- package/locales/screen/br.json +11 -0
- package/locales/screen/co.json +11 -0
- package/locales/screen/cs.json +11 -0
- package/locales/screen/da.json +11 -0
- package/locales/screen/de.json +11 -0
- package/locales/screen/el.json +11 -0
- package/locales/screen/en.json +11 -0
- package/locales/screen/es.json +11 -0
- package/locales/screen/fa.json +11 -0
- package/locales/screen/fi.json +11 -0
- package/locales/screen/fr-CA.json +11 -0
- package/locales/screen/fr.json +11 -0
- package/locales/screen/ha.json +11 -0
- package/locales/screen/he.json +11 -0
- package/locales/screen/hi.json +11 -0
- package/locales/screen/hr.json +11 -0
- package/locales/screen/hu.json +11 -0
- package/locales/screen/id.json +11 -0
- package/locales/screen/it.json +11 -0
- package/locales/screen/ja.json +11 -0
- package/locales/screen/ko.json +11 -0
- package/locales/screen/mr.json +11 -0
- package/locales/screen/ms.json +11 -0
- package/locales/screen/nl.json +11 -0
- package/locales/screen/pl.json +11 -0
- package/locales/screen/pt.json +11 -0
- package/locales/screen/ro.json +11 -0
- package/locales/screen/ru.json +11 -0
- package/locales/screen/sk.json +11 -0
- package/locales/screen/sv.json +11 -0
- package/locales/screen/sw.json +11 -0
- package/locales/screen/ta.json +11 -0
- package/locales/screen/te.json +11 -0
- package/locales/screen/th.json +11 -0
- package/locales/screen/tl.json +11 -0
- package/locales/screen/tr.json +11 -0
- package/locales/screen/uk.json +11 -0
- package/locales/screen/ur.json +11 -0
- package/locales/screen/vi.json +11 -0
- package/locales/screen/yo.json +11 -0
- package/locales/screen/zh-Hans.json +11 -0
- package/locales/screen/zh-Hant.json +11 -0
- package/locales/share/am.json +76 -0
- package/locales/share/ar.json +84 -0
- package/locales/share/bg.json +76 -0
- package/locales/share/bn.json +76 -0
- package/locales/share/br.json +82 -0
- package/locales/share/co.json +78 -0
- package/locales/share/cs.json +80 -0
- package/locales/share/da.json +76 -0
- package/locales/share/de.json +76 -0
- package/locales/share/el.json +76 -0
- package/locales/share/en.json +76 -0
- package/locales/share/es.json +78 -0
- package/locales/share/fa.json +76 -0
- package/locales/share/fi.json +76 -0
- package/locales/share/fr-CA.json +78 -0
- package/locales/share/fr.json +78 -0
- package/locales/share/ha.json +76 -0
- package/locales/share/he.json +79 -0
- package/locales/share/hi.json +76 -0
- package/locales/share/hr.json +78 -0
- package/locales/share/hu.json +76 -0
- package/locales/share/id.json +74 -0
- package/locales/share/it.json +78 -0
- package/locales/share/ja.json +74 -0
- package/locales/share/ko.json +74 -0
- package/locales/share/mr.json +76 -0
- package/locales/share/ms.json +74 -0
- package/locales/share/nl.json +76 -0
- package/locales/share/pl.json +80 -0
- package/locales/share/pt.json +78 -0
- package/locales/share/ro.json +78 -0
- package/locales/share/ru.json +80 -0
- package/locales/share/sk.json +80 -0
- package/locales/share/sv.json +76 -0
- package/locales/share/sw.json +76 -0
- package/locales/share/ta.json +76 -0
- package/locales/share/te.json +76 -0
- package/locales/share/th.json +74 -0
- package/locales/share/tl.json +76 -0
- package/locales/share/tr.json +76 -0
- package/locales/share/uk.json +80 -0
- package/locales/share/ur.json +76 -0
- package/locales/share/vi.json +74 -0
- package/locales/share/yo.json +74 -0
- package/locales/share/zh-Hans.json +74 -0
- package/locales/share/zh-Hant.json +74 -0
- package/locales/signin/am.json +8 -0
- package/locales/signin/ar.json +8 -0
- package/locales/signin/bg.json +8 -0
- package/locales/signin/bn.json +8 -0
- package/locales/signin/br.json +8 -0
- package/locales/signin/co.json +8 -0
- package/locales/signin/cs.json +8 -0
- package/locales/signin/da.json +8 -0
- package/locales/signin/de.json +8 -0
- package/locales/signin/el.json +8 -0
- package/locales/signin/en.json +8 -0
- package/locales/signin/es.json +8 -0
- package/locales/signin/fa.json +8 -0
- package/locales/signin/fi.json +8 -0
- package/locales/signin/fr-CA.json +8 -0
- package/locales/signin/fr.json +8 -0
- package/locales/signin/ha.json +8 -0
- package/locales/signin/he.json +8 -0
- package/locales/signin/hi.json +8 -0
- package/locales/signin/hr.json +8 -0
- package/locales/signin/hu.json +8 -0
- package/locales/signin/id.json +8 -0
- package/locales/signin/it.json +8 -0
- package/locales/signin/ja.json +8 -0
- package/locales/signin/ko.json +8 -0
- package/locales/signin/mr.json +8 -0
- package/locales/signin/ms.json +8 -0
- package/locales/signin/nl.json +8 -0
- package/locales/signin/pl.json +8 -0
- package/locales/signin/pt.json +8 -0
- package/locales/signin/ro.json +8 -0
- package/locales/signin/ru.json +8 -0
- package/locales/signin/sk.json +8 -0
- package/locales/signin/sv.json +8 -0
- package/locales/signin/sw.json +8 -0
- package/locales/signin/ta.json +8 -0
- package/locales/signin/te.json +8 -0
- package/locales/signin/th.json +8 -0
- package/locales/signin/tl.json +8 -0
- package/locales/signin/tr.json +8 -0
- package/locales/signin/uk.json +8 -0
- package/locales/signin/ur.json +8 -0
- package/locales/signin/vi.json +8 -0
- package/locales/signin/yo.json +8 -0
- package/locales/signin/zh-Hans.json +8 -0
- package/locales/signin/zh-Hant.json +8 -0
- package/locales/sites/am.json +48 -0
- package/locales/sites/ar.json +52 -0
- package/locales/sites/bg.json +48 -0
- package/locales/sites/bn.json +48 -0
- package/locales/sites/br.json +51 -0
- package/locales/sites/co.json +49 -0
- package/locales/sites/cs.json +50 -0
- package/locales/sites/da.json +48 -0
- package/locales/sites/de.json +48 -0
- package/locales/sites/el.json +48 -0
- package/locales/sites/en.json +48 -0
- package/locales/sites/es.json +49 -0
- package/locales/sites/fa.json +48 -0
- package/locales/sites/fi.json +48 -0
- package/locales/sites/fr-CA.json +49 -0
- package/locales/sites/fr.json +49 -0
- package/locales/sites/ha.json +48 -0
- package/locales/sites/he.json +49 -0
- package/locales/sites/hi.json +48 -0
- package/locales/sites/hr.json +49 -0
- package/locales/sites/hu.json +48 -0
- package/locales/sites/id.json +47 -0
- package/locales/sites/it.json +49 -0
- package/locales/sites/ja.json +47 -0
- package/locales/sites/ko.json +47 -0
- package/locales/sites/mr.json +48 -0
- package/locales/sites/ms.json +47 -0
- package/locales/sites/nl.json +48 -0
- package/locales/sites/pl.json +50 -0
- package/locales/sites/pt.json +49 -0
- package/locales/sites/ro.json +49 -0
- package/locales/sites/ru.json +50 -0
- package/locales/sites/sk.json +50 -0
- package/locales/sites/sv.json +48 -0
- package/locales/sites/sw.json +48 -0
- package/locales/sites/ta.json +48 -0
- package/locales/sites/te.json +48 -0
- package/locales/sites/th.json +47 -0
- package/locales/sites/tl.json +48 -0
- package/locales/sites/tr.json +48 -0
- package/locales/sites/uk.json +50 -0
- package/locales/sites/ur.json +48 -0
- package/locales/sites/vi.json +47 -0
- package/locales/sites/yo.json +47 -0
- package/locales/sites/zh-Hans.json +47 -0
- package/locales/sites/zh-Hant.json +47 -0
- package/locales/sk.json +455 -0
- package/locales/skills/am.json +74 -0
- package/locales/skills/ar.json +82 -0
- package/locales/skills/bg.json +74 -0
- package/locales/skills/bn.json +74 -0
- package/locales/skills/br.json +80 -0
- package/locales/skills/co.json +76 -0
- package/locales/skills/cs.json +78 -0
- package/locales/skills/da.json +74 -0
- package/locales/skills/de.json +74 -0
- package/locales/skills/el.json +74 -0
- package/locales/skills/en.json +74 -0
- package/locales/skills/es.json +76 -0
- package/locales/skills/fa.json +74 -0
- package/locales/skills/fi.json +74 -0
- package/locales/skills/fr-CA.json +76 -0
- package/locales/skills/fr.json +76 -0
- package/locales/skills/ha.json +74 -0
- package/locales/skills/he.json +78 -0
- package/locales/skills/hi.json +74 -0
- package/locales/skills/hr.json +76 -0
- package/locales/skills/hu.json +74 -0
- package/locales/skills/id.json +72 -0
- package/locales/skills/it.json +76 -0
- package/locales/skills/ja.json +72 -0
- package/locales/skills/ko.json +72 -0
- package/locales/skills/mr.json +74 -0
- package/locales/skills/ms.json +72 -0
- package/locales/skills/nl.json +74 -0
- package/locales/skills/pl.json +78 -0
- package/locales/skills/pt.json +76 -0
- package/locales/skills/ro.json +76 -0
- package/locales/skills/ru.json +78 -0
- package/locales/skills/sk.json +78 -0
- package/locales/skills/sv.json +74 -0
- package/locales/skills/sw.json +74 -0
- package/locales/skills/ta.json +74 -0
- package/locales/skills/te.json +74 -0
- package/locales/skills/th.json +72 -0
- package/locales/skills/tl.json +74 -0
- package/locales/skills/tr.json +74 -0
- package/locales/skills/uk.json +78 -0
- package/locales/skills/ur.json +74 -0
- package/locales/skills/vi.json +72 -0
- package/locales/skills/yo.json +72 -0
- package/locales/skills/zh-Hans.json +72 -0
- package/locales/skills/zh-Hant.json +72 -0
- package/locales/slides/am.json +145 -0
- package/locales/slides/ar.json +149 -0
- package/locales/slides/bg.json +145 -0
- package/locales/slides/bn.json +145 -0
- package/locales/slides/br.json +148 -0
- package/locales/slides/co.json +146 -0
- package/locales/slides/cs.json +147 -0
- package/locales/slides/da.json +145 -0
- package/locales/slides/de.json +145 -0
- package/locales/slides/el.json +145 -0
- package/locales/slides/en.json +145 -0
- package/locales/slides/es.json +146 -0
- package/locales/slides/fa.json +145 -0
- package/locales/slides/fi.json +145 -0
- package/locales/slides/fr-CA.json +146 -0
- package/locales/slides/fr.json +146 -0
- package/locales/slides/ha.json +145 -0
- package/locales/slides/he.json +146 -0
- package/locales/slides/hi.json +145 -0
- package/locales/slides/hr.json +146 -0
- package/locales/slides/hu.json +145 -0
- package/locales/slides/id.json +144 -0
- package/locales/slides/it.json +146 -0
- package/locales/slides/ja.json +144 -0
- package/locales/slides/ko.json +144 -0
- package/locales/slides/mr.json +145 -0
- package/locales/slides/ms.json +144 -0
- package/locales/slides/nl.json +145 -0
- package/locales/slides/pl.json +147 -0
- package/locales/slides/pt.json +146 -0
- package/locales/slides/ro.json +146 -0
- package/locales/slides/ru.json +147 -0
- package/locales/slides/sk.json +147 -0
- package/locales/slides/sv.json +145 -0
- package/locales/slides/sw.json +145 -0
- package/locales/slides/ta.json +145 -0
- package/locales/slides/te.json +145 -0
- package/locales/slides/th.json +144 -0
- package/locales/slides/tl.json +145 -0
- package/locales/slides/tr.json +145 -0
- package/locales/slides/uk.json +147 -0
- package/locales/slides/ur.json +145 -0
- package/locales/slides/vi.json +144 -0
- package/locales/slides/yo.json +144 -0
- package/locales/slides/zh-Hans.json +144 -0
- package/locales/slides/zh-Hant.json +144 -0
- package/locales/sv.json +437 -0
- package/locales/sw.json +437 -0
- package/locales/sync/am.json +15 -0
- package/locales/sync/ar.json +15 -0
- package/locales/sync/bg.json +15 -0
- package/locales/sync/bn.json +15 -0
- package/locales/sync/br.json +15 -0
- package/locales/sync/co.json +15 -0
- package/locales/sync/cs.json +15 -0
- package/locales/sync/da.json +15 -0
- package/locales/sync/de.json +15 -0
- package/locales/sync/el.json +15 -0
- package/locales/sync/en.json +15 -0
- package/locales/sync/es.json +15 -0
- package/locales/sync/fa.json +15 -0
- package/locales/sync/fi.json +15 -0
- package/locales/sync/fr-CA.json +15 -0
- package/locales/sync/fr.json +15 -0
- package/locales/sync/ha.json +15 -0
- package/locales/sync/he.json +15 -0
- package/locales/sync/hi.json +15 -0
- package/locales/sync/hr.json +15 -0
- package/locales/sync/hu.json +15 -0
- package/locales/sync/id.json +15 -0
- package/locales/sync/it.json +15 -0
- package/locales/sync/ja.json +15 -0
- package/locales/sync/ko.json +15 -0
- package/locales/sync/mr.json +15 -0
- package/locales/sync/ms.json +15 -0
- package/locales/sync/nl.json +15 -0
- package/locales/sync/pl.json +15 -0
- package/locales/sync/pt.json +15 -0
- package/locales/sync/ro.json +15 -0
- package/locales/sync/ru.json +15 -0
- package/locales/sync/sk.json +15 -0
- package/locales/sync/sv.json +15 -0
- package/locales/sync/sw.json +15 -0
- package/locales/sync/ta.json +15 -0
- package/locales/sync/te.json +15 -0
- package/locales/sync/th.json +15 -0
- package/locales/sync/tl.json +15 -0
- package/locales/sync/tr.json +15 -0
- package/locales/sync/uk.json +15 -0
- package/locales/sync/ur.json +15 -0
- package/locales/sync/vi.json +15 -0
- package/locales/sync/yo.json +15 -0
- package/locales/sync/zh-Hans.json +15 -0
- package/locales/sync/zh-Hant.json +15 -0
- package/locales/ta.json +437 -0
- package/locales/tables/am.json +103 -0
- package/locales/tables/ar.json +115 -0
- package/locales/tables/bg.json +103 -0
- package/locales/tables/bn.json +103 -0
- package/locales/tables/br.json +112 -0
- package/locales/tables/co.json +106 -0
- package/locales/tables/cs.json +109 -0
- package/locales/tables/da.json +103 -0
- package/locales/tables/de.json +103 -0
- package/locales/tables/el.json +103 -0
- package/locales/tables/en.json +103 -0
- package/locales/tables/es.json +106 -0
- package/locales/tables/fa.json +103 -0
- package/locales/tables/fi.json +103 -0
- package/locales/tables/fr-CA.json +106 -0
- package/locales/tables/fr.json +106 -0
- package/locales/tables/ha.json +103 -0
- package/locales/tables/he.json +106 -0
- package/locales/tables/hi.json +103 -0
- package/locales/tables/hr.json +106 -0
- package/locales/tables/hu.json +103 -0
- package/locales/tables/id.json +100 -0
- package/locales/tables/it.json +106 -0
- package/locales/tables/ja.json +100 -0
- package/locales/tables/ko.json +100 -0
- package/locales/tables/mr.json +103 -0
- package/locales/tables/ms.json +100 -0
- package/locales/tables/nl.json +103 -0
- package/locales/tables/pl.json +109 -0
- package/locales/tables/pt.json +106 -0
- package/locales/tables/ro.json +106 -0
- package/locales/tables/ru.json +109 -0
- package/locales/tables/sk.json +109 -0
- package/locales/tables/sv.json +103 -0
- package/locales/tables/sw.json +103 -0
- package/locales/tables/ta.json +103 -0
- package/locales/tables/te.json +103 -0
- package/locales/tables/th.json +100 -0
- package/locales/tables/tl.json +103 -0
- package/locales/tables/tr.json +103 -0
- package/locales/tables/uk.json +109 -0
- package/locales/tables/ur.json +103 -0
- package/locales/tables/vi.json +100 -0
- package/locales/tables/yo.json +100 -0
- package/locales/tables/zh-Hans.json +100 -0
- package/locales/tables/zh-Hant.json +100 -0
- package/locales/te.json +437 -0
- package/locales/th.json +428 -0
- package/locales/tl.json +437 -0
- package/locales/tour/am.json +3 -0
- package/locales/tour/ar.json +3 -0
- package/locales/tour/bg.json +3 -0
- package/locales/tour/bn.json +3 -0
- package/locales/tour/br.json +3 -0
- package/locales/tour/co.json +3 -0
- package/locales/tour/cs.json +3 -0
- package/locales/tour/da.json +3 -0
- package/locales/tour/de.json +3 -0
- package/locales/tour/el.json +3 -0
- package/locales/tour/en.json +3 -0
- package/locales/tour/es.json +3 -0
- package/locales/tour/fa.json +3 -0
- package/locales/tour/fi.json +3 -0
- package/locales/tour/fr-CA.json +3 -0
- package/locales/tour/fr.json +3 -0
- package/locales/tour/ha.json +3 -0
- package/locales/tour/he.json +3 -0
- package/locales/tour/hi.json +3 -0
- package/locales/tour/hr.json +3 -0
- package/locales/tour/hu.json +3 -0
- package/locales/tour/id.json +3 -0
- package/locales/tour/it.json +3 -0
- package/locales/tour/ja.json +3 -0
- package/locales/tour/ko.json +3 -0
- package/locales/tour/mr.json +3 -0
- package/locales/tour/ms.json +3 -0
- package/locales/tour/nl.json +3 -0
- package/locales/tour/pl.json +3 -0
- package/locales/tour/pt.json +3 -0
- package/locales/tour/ro.json +3 -0
- package/locales/tour/ru.json +3 -0
- package/locales/tour/sk.json +3 -0
- package/locales/tour/sv.json +3 -0
- package/locales/tour/sw.json +3 -0
- package/locales/tour/ta.json +3 -0
- package/locales/tour/te.json +3 -0
- package/locales/tour/th.json +3 -0
- package/locales/tour/tl.json +3 -0
- package/locales/tour/tr.json +3 -0
- package/locales/tour/uk.json +3 -0
- package/locales/tour/ur.json +3 -0
- package/locales/tour/vi.json +3 -0
- package/locales/tour/yo.json +3 -0
- package/locales/tour/zh-Hans.json +3 -0
- package/locales/tour/zh-Hant.json +3 -0
- package/locales/tr.json +437 -0
- package/locales/uk.json +455 -0
- package/locales/ur.json +437 -0
- package/locales/vi.json +428 -0
- package/locales/web-search/am.json +59 -0
- package/locales/web-search/ar.json +75 -0
- package/locales/web-search/bg.json +59 -0
- package/locales/web-search/bn.json +59 -0
- package/locales/web-search/br.json +71 -0
- package/locales/web-search/co.json +63 -0
- package/locales/web-search/cs.json +67 -0
- package/locales/web-search/da.json +59 -0
- package/locales/web-search/de.json +59 -0
- package/locales/web-search/el.json +59 -0
- package/locales/web-search/en.json +59 -0
- package/locales/web-search/es.json +63 -0
- package/locales/web-search/fa.json +59 -0
- package/locales/web-search/fi.json +59 -0
- package/locales/web-search/fr-CA.json +63 -0
- package/locales/web-search/fr.json +63 -0
- package/locales/web-search/ha.json +59 -0
- package/locales/web-search/he.json +65 -0
- package/locales/web-search/hi.json +59 -0
- package/locales/web-search/hr.json +63 -0
- package/locales/web-search/hu.json +59 -0
- package/locales/web-search/id.json +55 -0
- package/locales/web-search/it.json +63 -0
- package/locales/web-search/ja.json +55 -0
- package/locales/web-search/ko.json +55 -0
- package/locales/web-search/mr.json +59 -0
- package/locales/web-search/ms.json +55 -0
- package/locales/web-search/nl.json +59 -0
- package/locales/web-search/pl.json +67 -0
- package/locales/web-search/pt.json +63 -0
- package/locales/web-search/ro.json +63 -0
- package/locales/web-search/ru.json +67 -0
- package/locales/web-search/sk.json +67 -0
- package/locales/web-search/sv.json +59 -0
- package/locales/web-search/sw.json +59 -0
- package/locales/web-search/ta.json +59 -0
- package/locales/web-search/te.json +59 -0
- package/locales/web-search/th.json +55 -0
- package/locales/web-search/tl.json +59 -0
- package/locales/web-search/tr.json +59 -0
- package/locales/web-search/uk.json +67 -0
- package/locales/web-search/ur.json +59 -0
- package/locales/web-search/vi.json +55 -0
- package/locales/web-search/yo.json +55 -0
- package/locales/web-search/zh-Hans.json +55 -0
- package/locales/web-search/zh-Hant.json +55 -0
- package/locales/yo.json +428 -0
- package/locales/you/am.json +42 -0
- package/locales/you/ar.json +54 -0
- package/locales/you/bg.json +42 -0
- package/locales/you/bn.json +42 -0
- package/locales/you/br.json +51 -0
- package/locales/you/co.json +45 -0
- package/locales/you/cs.json +48 -0
- package/locales/you/da.json +42 -0
- package/locales/you/de.json +42 -0
- package/locales/you/el.json +42 -0
- package/locales/you/en.json +42 -0
- package/locales/you/es.json +45 -0
- package/locales/you/fa.json +42 -0
- package/locales/you/fi.json +42 -0
- package/locales/you/fr-CA.json +45 -0
- package/locales/you/fr.json +45 -0
- package/locales/you/ha.json +42 -0
- package/locales/you/he.json +48 -0
- package/locales/you/hi.json +42 -0
- package/locales/you/hr.json +45 -0
- package/locales/you/hu.json +42 -0
- package/locales/you/id.json +39 -0
- package/locales/you/it.json +45 -0
- package/locales/you/ja.json +39 -0
- package/locales/you/ko.json +39 -0
- package/locales/you/mr.json +42 -0
- package/locales/you/ms.json +39 -0
- package/locales/you/nl.json +42 -0
- package/locales/you/pl.json +48 -0
- package/locales/you/pt.json +45 -0
- package/locales/you/ro.json +45 -0
- package/locales/you/ru.json +48 -0
- package/locales/you/sk.json +48 -0
- package/locales/you/sv.json +42 -0
- package/locales/you/sw.json +42 -0
- package/locales/you/ta.json +42 -0
- package/locales/you/te.json +42 -0
- package/locales/you/th.json +39 -0
- package/locales/you/tl.json +42 -0
- package/locales/you/tr.json +42 -0
- package/locales/you/uk.json +48 -0
- package/locales/you/ur.json +42 -0
- package/locales/you/vi.json +39 -0
- package/locales/you/yo.json +39 -0
- package/locales/you/zh-Hans.json +39 -0
- package/locales/you/zh-Hant.json +39 -0
- package/locales/zh-Hans.json +428 -0
- package/locales/zh-Hant.json +428 -0
- package/package.json +13 -4
- package/preview.html +81 -0
- package/ui/base.js +33 -0
- package/ui/caps.js +162 -0
- package/ui/colour.js +26 -0
- package/ui/csp.js +82 -0
- package/ui/export.js +227 -0
- package/ui/icons.js +33 -0
- package/ui/kit.js +90 -0
- package/ui/language.js +172 -0
- package/ui/looks/blueprint.css +73 -0
- package/ui/looks/classic.css +108 -0
- package/ui/looks/fjord.css +56 -0
- package/ui/looks/human.css +231 -0
- package/ui/looks/mail.css +61 -0
- package/ui/looks/minimal.css +63 -0
- package/ui/looks/neon.css +100 -0
- package/ui/looks/notebook.css +82 -0
- package/ui/looks/swiss.css +64 -0
- package/ui/looks/terminal.css +84 -0
- package/ui/looks/tilde.css +61 -0
- package/ui/looks/velvet.css +61 -0
- package/ui/looks.js +49 -0
- package/ui/markdown.js +204 -0
- package/ui/menu-icons.js +71 -0
- package/ui/model.js +80 -0
- package/ui/pointed.js +22 -0
- package/ui/reader-state.js +58 -0
- package/ui/reader.js +81 -0
- package/ui/review.js +20 -0
- package/ui/save.js +69 -0
- package/ui/seal.js +220 -0
- package/ui/sheet.js +35 -0
- package/ui/shown.js +53 -0
- package/ui/style.css +840 -0
- package/ui/touches.js +76 -0
- package/ui/trusted.js +13 -0
- package/ui/view.css +60 -0
- package/ui/view.js +270 -0
- package/ui/weights.js +47 -0
- package/vendor/LICENSES/abcjs.txt +21 -0
- package/vendor/LICENSES/babylonjs-core.txt +2 -0
- package/vendor/LICENSES/base64-js.txt +21 -0
- package/vendor/LICENSES/buffer.txt +21 -0
- package/vendor/LICENSES/codename-deck.txt +21 -0
- package/vendor/LICENSES/diff.txt +29 -0
- package/vendor/LICENSES/echarts.txt +229 -0
- package/vendor/LICENSES/eventemitter3.txt +21 -0
- package/vendor/LICENSES/fflate.txt +21 -0
- package/vendor/LICENSES/huggingface-transformers.txt +202 -0
- package/vendor/LICENSES/ieee754.txt +11 -0
- package/vendor/LICENSES/jean-is-sounds.txt +92 -0
- package/vendor/LICENSES/jitl-quickjs-ffi-types.txt +21 -0
- package/vendor/LICENSES/jitl-quickjs-wasmfile-release-sync.txt +47 -0
- package/vendor/LICENSES/jszip.txt +2 -0
- package/vendor/LICENSES/just-bash.txt +201 -0
- package/vendor/LICENSES/lean-qr.txt +21 -0
- package/vendor/LICENSES/lit-html.txt +28 -0
- package/vendor/LICENSES/maplibre-gl.txt +2 -0
- package/vendor/LICENSES/marked.txt +44 -0
- package/vendor/LICENSES/mediabunny.txt +373 -0
- package/vendor/LICENSES/onnxruntime-web.txt +2 -0
- package/vendor/LICENSES/orderedmap.txt +19 -0
- package/vendor/LICENSES/pdfjs-dist.txt +455 -0
- package/vendor/LICENSES/pele.txt +40 -0
- package/vendor/LICENSES/phaser.txt +20 -0
- package/vendor/LICENSES/pptxgenjs.txt +21 -0
- package/vendor/LICENSES/preact-signals-core.txt +21 -0
- package/vendor/LICENSES/prosemirror-commands.txt +19 -0
- package/vendor/LICENSES/prosemirror-dropcursor.txt +19 -0
- package/vendor/LICENSES/prosemirror-gapcursor.txt +19 -0
- package/vendor/LICENSES/prosemirror-history.txt +19 -0
- package/vendor/LICENSES/prosemirror-inputrules.txt +19 -0
- package/vendor/LICENSES/prosemirror-keymap.txt +19 -0
- package/vendor/LICENSES/prosemirror-markdown.txt +19 -0
- package/vendor/LICENSES/prosemirror-model.txt +19 -0
- package/vendor/LICENSES/prosemirror-schema-list.txt +19 -0
- package/vendor/LICENSES/prosemirror-state.txt +19 -0
- package/vendor/LICENSES/prosemirror-tables.txt +19 -0
- package/vendor/LICENSES/prosemirror-transform.txt +19 -0
- package/vendor/LICENSES/prosemirror-view.txt +19 -0
- package/vendor/LICENSES/pyodide.txt +2 -0
- package/vendor/LICENSES/quickjs-emscripten-core.txt +21 -0
- package/vendor/LICENSES/rope-sequence.txt +19 -0
- package/vendor/LICENSES/silurus-ooxml.txt +21 -0
- package/vendor/LICENSES/spessasynth_core.txt +202 -0
- package/vendor/LICENSES/sprintf-js.txt +24 -0
- package/vendor/LICENSES/stb-vorbis.txt +202 -0
- package/vendor/LICENSES/temml.txt +21 -0
- package/vendor/LICENSES/turndown.txt +21 -0
- package/vendor/LICENSES/w3c-keyname.txt +19 -0
- package/vendor/LICENSES/zrender.txt +29 -0
- package/vendor/LICENSES/zzfx.txt +21 -0
- package/vendor/abcjs/abcjs.mjs +6 -0
- package/vendor/babylon/babylon.mjs +8122 -0
- package/vendor/deck/deck.css +292 -0
- package/vendor/deck/deck.mjs +55 -0
- package/vendor/deck/pptx.mjs +1 -0
- package/vendor/deck/template.mjs +3 -0
- package/vendor/echarts/echarts.mjs +45 -0
- package/vendor/lit-html/async-directive.js +6 -0
- package/vendor/lit-html/directive-helpers.js +6 -0
- package/vendor/lit-html/directive.js +6 -0
- package/vendor/lit-html/directives/live.js +6 -0
- package/vendor/lit-html/directives/ref.js +6 -0
- package/vendor/lit-html/lit-html.js +6 -0
- package/vendor/maplibre/maplibre-gl-worker.js +9 -0
- package/vendor/maplibre/maplibre-gl.css +1 -0
- package/vendor/maplibre/maplibre-gl.mjs +818 -0
- package/vendor/marked.esm.js +81 -0
- package/vendor/ooxml/abort-JztSoyw2.js +8 -0
- package/vendor/ooxml/bounded-raw-part-cache-B8t03tSP.js +33826 -0
- package/vendor/ooxml/bundled-asset-url-BMJ8vNHP.js +13 -0
- package/vendor/ooxml/canvas-viewer-mechanics-DI38gHNV.js +653 -0
- package/vendor/ooxml/cfb-guard-BIaHdonq.js +516 -0
- package/vendor/ooxml/chunk-D5OxutzX.js +9 -0
- package/vendor/ooxml/comment-overlay-controller-Crm5Syhx.js +974 -0
- package/vendor/ooxml/comment-ui-runtime-BfEPgl5r.js +110 -0
- package/vendor/ooxml/comment-ui-runtime-BtP_TpvT.js +2 -0
- package/vendor/ooxml/comment-ui-runtime-hfewTmVJ.js +169 -0
- package/vendor/ooxml/delimited-text-worker-host-RwvuSsP2.js +21 -0
- package/vendor/ooxml/document-model-source-BUTSwkyP.js +247 -0
- package/vendor/ooxml/document-pull-client-C_D779tO.js +36230 -0
- package/vendor/ooxml/docx-BfLZeiwa.js +3509 -0
- package/vendor/ooxml/docx.mjs +7 -0
- package/vendor/ooxml/docx_parser_bg.wasm +0 -0
- package/vendor/ooxml/drawingml-shape-BcXkRayC.js +306 -0
- package/vendor/ooxml/duotone-BI7CoghW.js +122 -0
- package/vendor/ooxml/emf-DgUBx9BU.js +1788 -0
- package/vendor/ooxml/font-preload-demand-B6HPFxDp.js +2052 -0
- package/vendor/ooxml/graph.json +1 -0
- package/vendor/ooxml/grid-geometry-CqTDvpDr.js +379 -0
- package/vendor/ooxml/host-layout-Cz_lCuTZ.js +55 -0
- package/vendor/ooxml/line-distribute-DR9Qwd3u.js +2783 -0
- package/vendor/ooxml/mathjax-DvwccQ8e.js +19 -0
- package/vendor/ooxml/model-source-COXegBNA.js +177 -0
- package/vendor/ooxml/pixel-budget-DI82Hn3R.js +38 -0
- package/vendor/ooxml/plot-area-frame-D3JtHvov.js +41645 -0
- package/vendor/ooxml/pptx-CfCiVlNB.js +2888 -0
- package/vendor/ooxml/pptx.mjs +8 -0
- package/vendor/ooxml/pptx_parser_bg.wasm +0 -0
- package/vendor/ooxml/presentation-model-source-DL6duh5l.js +75 -0
- package/vendor/ooxml/raster-target-Ca3tyA0L.js +40 -0
- package/vendor/ooxml/read-only-comment-decoration-B06YO2zk.js +92 -0
- package/vendor/ooxml/read-only-comment-margin-Ee9Y6vPg.js +187 -0
- package/vendor/ooxml/renderer-IFuBkPvF.js +5197 -0
- package/vendor/ooxml/renderer-module-contract-BuTx2FWJ.js +30 -0
- package/vendor/ooxml/renderer-xdugdcMd.js +5769 -0
- package/vendor/ooxml/resource-measurement-D2bu0Qfx.js +756 -0
- package/vendor/ooxml/slide-pull-client-BUuJQQVE.js +6431 -0
- package/vendor/ooxml/three-d-ByHGsYrX.js +868 -0
- package/vendor/ooxml/tiff-contract-DEd8CGuz.js +48 -0
- package/vendor/ooxml/visible-index-vN-4BNn7.js +15 -0
- package/vendor/ooxml/workbook-model-source-DBfVsWj7.js +92 -0
- package/vendor/ooxml/worker-source-C29EQNUj.js +18 -0
- package/vendor/ooxml/worker-source-D3NwPe6l.js +18 -0
- package/vendor/ooxml/worker-source-ZQE9C1j6.js +18 -0
- package/vendor/ooxml/worksheet-pull-client-Du0MuIro.js +565 -0
- package/vendor/ooxml/xlsx-CCMRAxPB.js +5812 -0
- package/vendor/ooxml/xlsx.mjs +8 -0
- package/vendor/ooxml/xlsx_parser_bg.wasm +0 -0
- package/vendor/pdfjs/cmaps/78-EUC-H.bcmap +0 -0
- package/vendor/pdfjs/cmaps/78-EUC-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/78-H.bcmap +0 -0
- package/vendor/pdfjs/cmaps/78-RKSJ-H.bcmap +0 -0
- package/vendor/pdfjs/cmaps/78-RKSJ-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/78-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/78ms-RKSJ-H.bcmap +0 -0
- package/vendor/pdfjs/cmaps/78ms-RKSJ-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/83pv-RKSJ-H.bcmap +0 -0
- package/vendor/pdfjs/cmaps/90ms-RKSJ-H.bcmap +0 -0
- package/vendor/pdfjs/cmaps/90ms-RKSJ-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/90msp-RKSJ-H.bcmap +0 -0
- package/vendor/pdfjs/cmaps/90msp-RKSJ-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/90pv-RKSJ-H.bcmap +0 -0
- package/vendor/pdfjs/cmaps/90pv-RKSJ-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/Add-H.bcmap +0 -0
- package/vendor/pdfjs/cmaps/Add-RKSJ-H.bcmap +0 -0
- package/vendor/pdfjs/cmaps/Add-RKSJ-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/Add-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/Adobe-CNS1-0.bcmap +0 -0
- package/vendor/pdfjs/cmaps/Adobe-CNS1-1.bcmap +0 -0
- package/vendor/pdfjs/cmaps/Adobe-CNS1-2.bcmap +0 -0
- package/vendor/pdfjs/cmaps/Adobe-CNS1-3.bcmap +0 -0
- package/vendor/pdfjs/cmaps/Adobe-CNS1-4.bcmap +0 -0
- package/vendor/pdfjs/cmaps/Adobe-CNS1-5.bcmap +0 -0
- package/vendor/pdfjs/cmaps/Adobe-CNS1-6.bcmap +0 -0
- package/vendor/pdfjs/cmaps/Adobe-CNS1-UCS2.bcmap +0 -0
- package/vendor/pdfjs/cmaps/Adobe-GB1-0.bcmap +0 -0
- package/vendor/pdfjs/cmaps/Adobe-GB1-1.bcmap +0 -0
- package/vendor/pdfjs/cmaps/Adobe-GB1-2.bcmap +0 -0
- package/vendor/pdfjs/cmaps/Adobe-GB1-3.bcmap +0 -0
- package/vendor/pdfjs/cmaps/Adobe-GB1-4.bcmap +0 -0
- package/vendor/pdfjs/cmaps/Adobe-GB1-5.bcmap +0 -0
- package/vendor/pdfjs/cmaps/Adobe-GB1-UCS2.bcmap +0 -0
- package/vendor/pdfjs/cmaps/Adobe-Japan1-0.bcmap +0 -0
- package/vendor/pdfjs/cmaps/Adobe-Japan1-1.bcmap +0 -0
- package/vendor/pdfjs/cmaps/Adobe-Japan1-2.bcmap +0 -0
- package/vendor/pdfjs/cmaps/Adobe-Japan1-3.bcmap +0 -0
- package/vendor/pdfjs/cmaps/Adobe-Japan1-4.bcmap +0 -0
- package/vendor/pdfjs/cmaps/Adobe-Japan1-5.bcmap +0 -0
- package/vendor/pdfjs/cmaps/Adobe-Japan1-6.bcmap +0 -0
- package/vendor/pdfjs/cmaps/Adobe-Japan1-UCS2.bcmap +0 -0
- package/vendor/pdfjs/cmaps/Adobe-Korea1-0.bcmap +0 -0
- package/vendor/pdfjs/cmaps/Adobe-Korea1-1.bcmap +0 -0
- package/vendor/pdfjs/cmaps/Adobe-Korea1-2.bcmap +0 -0
- package/vendor/pdfjs/cmaps/Adobe-Korea1-UCS2.bcmap +0 -0
- package/vendor/pdfjs/cmaps/B5-H.bcmap +0 -0
- package/vendor/pdfjs/cmaps/B5-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/B5pc-H.bcmap +0 -0
- package/vendor/pdfjs/cmaps/B5pc-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/CNS-EUC-H.bcmap +0 -0
- package/vendor/pdfjs/cmaps/CNS-EUC-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/CNS1-H.bcmap +0 -0
- package/vendor/pdfjs/cmaps/CNS1-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/CNS2-H.bcmap +0 -0
- package/vendor/pdfjs/cmaps/CNS2-V.bcmap +3 -0
- package/vendor/pdfjs/cmaps/ETHK-B5-H.bcmap +0 -0
- package/vendor/pdfjs/cmaps/ETHK-B5-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/ETen-B5-H.bcmap +0 -0
- package/vendor/pdfjs/cmaps/ETen-B5-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/ETenms-B5-H.bcmap +3 -0
- package/vendor/pdfjs/cmaps/ETenms-B5-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/EUC-H.bcmap +0 -0
- package/vendor/pdfjs/cmaps/EUC-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/Ext-H.bcmap +0 -0
- package/vendor/pdfjs/cmaps/Ext-RKSJ-H.bcmap +0 -0
- package/vendor/pdfjs/cmaps/Ext-RKSJ-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/Ext-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/GB-EUC-H.bcmap +0 -0
- package/vendor/pdfjs/cmaps/GB-EUC-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/GB-H.bcmap +4 -0
- package/vendor/pdfjs/cmaps/GB-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/GBK-EUC-H.bcmap +0 -0
- package/vendor/pdfjs/cmaps/GBK-EUC-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/GBK2K-H.bcmap +0 -0
- package/vendor/pdfjs/cmaps/GBK2K-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/GBKp-EUC-H.bcmap +0 -0
- package/vendor/pdfjs/cmaps/GBKp-EUC-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/GBT-EUC-H.bcmap +0 -0
- package/vendor/pdfjs/cmaps/GBT-EUC-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/GBT-H.bcmap +0 -0
- package/vendor/pdfjs/cmaps/GBT-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/GBTpc-EUC-H.bcmap +0 -0
- package/vendor/pdfjs/cmaps/GBTpc-EUC-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/GBpc-EUC-H.bcmap +0 -0
- package/vendor/pdfjs/cmaps/GBpc-EUC-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/H.bcmap +0 -0
- package/vendor/pdfjs/cmaps/HKdla-B5-H.bcmap +0 -0
- package/vendor/pdfjs/cmaps/HKdla-B5-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/HKdlb-B5-H.bcmap +0 -0
- package/vendor/pdfjs/cmaps/HKdlb-B5-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/HKgccs-B5-H.bcmap +0 -0
- package/vendor/pdfjs/cmaps/HKgccs-B5-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/HKm314-B5-H.bcmap +0 -0
- package/vendor/pdfjs/cmaps/HKm314-B5-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/HKm471-B5-H.bcmap +0 -0
- package/vendor/pdfjs/cmaps/HKm471-B5-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/HKscs-B5-H.bcmap +0 -0
- package/vendor/pdfjs/cmaps/HKscs-B5-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/Hankaku.bcmap +0 -0
- package/vendor/pdfjs/cmaps/Hiragana.bcmap +0 -0
- package/vendor/pdfjs/cmaps/KSC-EUC-H.bcmap +0 -0
- package/vendor/pdfjs/cmaps/KSC-EUC-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/KSC-H.bcmap +0 -0
- package/vendor/pdfjs/cmaps/KSC-Johab-H.bcmap +0 -0
- package/vendor/pdfjs/cmaps/KSC-Johab-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/KSC-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/KSCms-UHC-H.bcmap +0 -0
- package/vendor/pdfjs/cmaps/KSCms-UHC-HW-H.bcmap +0 -0
- package/vendor/pdfjs/cmaps/KSCms-UHC-HW-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/KSCms-UHC-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/KSCpc-EUC-H.bcmap +0 -0
- package/vendor/pdfjs/cmaps/KSCpc-EUC-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/Katakana.bcmap +0 -0
- package/vendor/pdfjs/cmaps/LICENSE +36 -0
- package/vendor/pdfjs/cmaps/NWP-H.bcmap +0 -0
- package/vendor/pdfjs/cmaps/NWP-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/RKSJ-H.bcmap +0 -0
- package/vendor/pdfjs/cmaps/RKSJ-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/Roman.bcmap +0 -0
- package/vendor/pdfjs/cmaps/UniCNS-UCS2-H.bcmap +0 -0
- package/vendor/pdfjs/cmaps/UniCNS-UCS2-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/UniCNS-UTF16-H.bcmap +0 -0
- package/vendor/pdfjs/cmaps/UniCNS-UTF16-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/UniCNS-UTF32-H.bcmap +0 -0
- package/vendor/pdfjs/cmaps/UniCNS-UTF32-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/UniCNS-UTF8-H.bcmap +0 -0
- package/vendor/pdfjs/cmaps/UniCNS-UTF8-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/UniGB-UCS2-H.bcmap +0 -0
- package/vendor/pdfjs/cmaps/UniGB-UCS2-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/UniGB-UTF16-H.bcmap +0 -0
- package/vendor/pdfjs/cmaps/UniGB-UTF16-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/UniGB-UTF32-H.bcmap +0 -0
- package/vendor/pdfjs/cmaps/UniGB-UTF32-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/UniGB-UTF8-H.bcmap +0 -0
- package/vendor/pdfjs/cmaps/UniGB-UTF8-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/UniJIS-UCS2-H.bcmap +0 -0
- package/vendor/pdfjs/cmaps/UniJIS-UCS2-HW-H.bcmap +0 -0
- package/vendor/pdfjs/cmaps/UniJIS-UCS2-HW-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/UniJIS-UCS2-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/UniJIS-UTF16-H.bcmap +0 -0
- package/vendor/pdfjs/cmaps/UniJIS-UTF16-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/UniJIS-UTF32-H.bcmap +0 -0
- package/vendor/pdfjs/cmaps/UniJIS-UTF32-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/UniJIS-UTF8-H.bcmap +0 -0
- package/vendor/pdfjs/cmaps/UniJIS-UTF8-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/UniJIS2004-UTF16-H.bcmap +0 -0
- package/vendor/pdfjs/cmaps/UniJIS2004-UTF16-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/UniJIS2004-UTF32-H.bcmap +0 -0
- package/vendor/pdfjs/cmaps/UniJIS2004-UTF32-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/UniJIS2004-UTF8-H.bcmap +0 -0
- package/vendor/pdfjs/cmaps/UniJIS2004-UTF8-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/UniJISPro-UCS2-HW-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/UniJISPro-UCS2-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/UniJISPro-UTF8-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/UniJISX0213-UTF32-H.bcmap +0 -0
- package/vendor/pdfjs/cmaps/UniJISX0213-UTF32-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/UniJISX02132004-UTF32-H.bcmap +0 -0
- package/vendor/pdfjs/cmaps/UniJISX02132004-UTF32-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/UniKS-UCS2-H.bcmap +0 -0
- package/vendor/pdfjs/cmaps/UniKS-UCS2-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/UniKS-UTF16-H.bcmap +0 -0
- package/vendor/pdfjs/cmaps/UniKS-UTF16-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/UniKS-UTF32-H.bcmap +0 -0
- package/vendor/pdfjs/cmaps/UniKS-UTF32-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/UniKS-UTF8-H.bcmap +0 -0
- package/vendor/pdfjs/cmaps/UniKS-UTF8-V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/V.bcmap +0 -0
- package/vendor/pdfjs/cmaps/WP-Symbol.bcmap +0 -0
- package/vendor/pdfjs/pdf.min.mjs +27 -0
- package/vendor/pdfjs/pdf.worker.min.mjs +27 -0
- package/vendor/pdfjs/standard_fonts/FoxitDingbats.pfb +0 -0
- package/vendor/pdfjs/standard_fonts/FoxitFixed.pfb +0 -0
- package/vendor/pdfjs/standard_fonts/FoxitFixedBold.pfb +0 -0
- package/vendor/pdfjs/standard_fonts/FoxitFixedBoldItalic.pfb +0 -0
- package/vendor/pdfjs/standard_fonts/FoxitFixedItalic.pfb +0 -0
- package/vendor/pdfjs/standard_fonts/FoxitSerif.pfb +0 -0
- package/vendor/pdfjs/standard_fonts/FoxitSerifBold.pfb +0 -0
- package/vendor/pdfjs/standard_fonts/FoxitSerifBoldItalic.pfb +0 -0
- package/vendor/pdfjs/standard_fonts/FoxitSerifItalic.pfb +0 -0
- package/vendor/pdfjs/standard_fonts/FoxitSymbol.pfb +0 -0
- package/vendor/pdfjs/standard_fonts/LICENSE_FOXIT +27 -0
- package/vendor/pdfjs/standard_fonts/LICENSE_LIBERATION +363 -0
- package/vendor/pdfjs/standard_fonts/LiberationSans-Bold.ttf +0 -0
- package/vendor/pdfjs/standard_fonts/LiberationSans-BoldItalic.ttf +0 -0
- package/vendor/pdfjs/standard_fonts/LiberationSans-Italic.ttf +0 -0
- package/vendor/pdfjs/standard_fonts/LiberationSans-Regular.ttf +0 -0
- package/vendor/pdfjs/wasm/jbig2.wasm +0 -0
- package/vendor/pdfjs/wasm/openjpeg.wasm +0 -0
- package/vendor/pele/chunks/2CHDFZHC.js +1 -0
- package/vendor/pele/chunks/2S3JPEOY.js +5 -0
- package/vendor/pele/chunks/2U463FD2.js +11 -0
- package/vendor/pele/chunks/3OKCTCH7.js +1 -0
- package/vendor/pele/chunks/42UK3TL6.js +8 -0
- package/vendor/pele/chunks/43YPWK3Q.js +1 -0
- package/vendor/pele/chunks/45MVAN6X.js +1 -0
- package/vendor/pele/chunks/46GJKBLZ.js +1 -0
- package/vendor/pele/chunks/4WR52FRP.js +4 -0
- package/vendor/pele/chunks/5THPTBWS.js +1 -0
- package/vendor/pele/chunks/63WH7YNF.js +1 -0
- package/vendor/pele/chunks/673H7YBG.js +2 -0
- package/vendor/pele/chunks/6DDU7VKX.js +1 -0
- package/vendor/pele/chunks/6Y6FML25.js +2 -0
- package/vendor/pele/chunks/7HQPULDG.js +2 -0
- package/vendor/pele/chunks/7N3VAIG2.js +2 -0
- package/vendor/pele/chunks/7NY54ILO.js +2 -0
- package/vendor/pele/chunks/7OAKGN26.js +25 -0
- package/vendor/pele/chunks/7WLXJQOR.js +1 -0
- package/vendor/pele/chunks/BJNHMTN6.js +3 -0
- package/vendor/pele/chunks/BK7N5KMP.js +2 -0
- package/vendor/pele/chunks/CLQLV5VT.js +1 -0
- package/vendor/pele/chunks/CUSPXG5M.js +1 -0
- package/vendor/pele/chunks/D3L7O4X2.js +1 -0
- package/vendor/pele/chunks/D5TW5CPZ.js +1 -0
- package/vendor/pele/chunks/DDVFZY3L.js +7 -0
- package/vendor/pele/chunks/DKTLEL5E.js +1 -0
- package/vendor/pele/chunks/DO6ND2WD.js +6 -0
- package/vendor/pele/chunks/EGADTWYV.js +1 -0
- package/vendor/pele/chunks/EI4VGK5C.js +4 -0
- package/vendor/pele/chunks/EOJSJZXM.js +1 -0
- package/vendor/pele/chunks/F4O23KYR.js +5 -0
- package/vendor/pele/chunks/FTXIJQGB.js +1 -0
- package/vendor/pele/chunks/G2OEIG6X.js +1 -0
- package/vendor/pele/chunks/G3MDBVQH.js +1 -0
- package/vendor/pele/chunks/GER2CN75.js +2 -0
- package/vendor/pele/chunks/GP5YUCAR.js +1 -0
- package/vendor/pele/chunks/GUJTEFZK.js +1 -0
- package/vendor/pele/chunks/GXJ2T77W.js +1 -0
- package/vendor/pele/chunks/HX3UMAK7.js +1 -0
- package/vendor/pele/chunks/IU7WZTP6.js +4 -0
- package/vendor/pele/chunks/J3JF2HV4.js +12 -0
- package/vendor/pele/chunks/J5J2NR2G.js +1 -0
- package/vendor/pele/chunks/JRCWTJEL.js +1 -0
- package/vendor/pele/chunks/K2ZHGJKH.js +2 -0
- package/vendor/pele/chunks/KHUP5TOH.js +4 -0
- package/vendor/pele/chunks/L74FQTH5.js +1 -0
- package/vendor/pele/chunks/LAV4ZXOS.js +1 -0
- package/vendor/pele/chunks/LBIZYCRR.js +1 -0
- package/vendor/pele/chunks/LFFXNLRS.js +1 -0
- package/vendor/pele/chunks/LJ44NU43.js +3 -0
- package/vendor/pele/chunks/LLLWOAQD.js +1 -0
- package/vendor/pele/chunks/LTY5LMQH.js +5 -0
- package/vendor/pele/chunks/LTYQZ5U5.js +1 -0
- package/vendor/pele/chunks/MJBOF5Q6.js +2 -0
- package/vendor/pele/chunks/NDSCUZ25.js +1 -0
- package/vendor/pele/chunks/NMN3IKWL.js +1 -0
- package/vendor/pele/chunks/NMUA3R2D.js +1 -0
- package/vendor/pele/chunks/NY5A6PPW.js +1 -0
- package/vendor/pele/chunks/O3ACPFEJ.js +8 -0
- package/vendor/pele/chunks/O4MQT6AV.js +5 -0
- package/vendor/pele/chunks/OHJ2EJXK.js +2 -0
- package/vendor/pele/chunks/OU2GIT2H.js +1 -0
- package/vendor/pele/chunks/PDMLSE6I.js +1 -0
- package/vendor/pele/chunks/PJ7X32S5.js +1 -0
- package/vendor/pele/chunks/RLLQ44NJ.js +1 -0
- package/vendor/pele/chunks/RVARI57O.js +1 -0
- package/vendor/pele/chunks/S6DWMCK5.js +1 -0
- package/vendor/pele/chunks/STIOTUT7.js +1 -0
- package/vendor/pele/chunks/SXSLPWUD.js +3 -0
- package/vendor/pele/chunks/TBJXKAT4.js +3 -0
- package/vendor/pele/chunks/TIVX74RS.js +2 -0
- package/vendor/pele/chunks/TK23BXEA.js +2 -0
- package/vendor/pele/chunks/TR4WJQGX.js +2 -0
- package/vendor/pele/chunks/UWRPUF3N.js +1 -0
- package/vendor/pele/chunks/VMTWYMKQ.js +2 -0
- package/vendor/pele/chunks/VSWIZJ7B.js +1 -0
- package/vendor/pele/chunks/W2WY5CQX.js +2 -0
- package/vendor/pele/chunks/W77N5H3K.js +2 -0
- package/vendor/pele/chunks/WM7NR6YK.js +1 -0
- package/vendor/pele/chunks/WSTWNLCU.js +4 -0
- package/vendor/pele/chunks/WXKV2YEK.js +1 -0
- package/vendor/pele/chunks/XLHPVVFU.js +2 -0
- package/vendor/pele/chunks/XQ5S3AI3.js +13 -0
- package/vendor/pele/chunks/YNX532HU.js +1 -0
- package/vendor/pele/chunks/YUPSMAUO.js +1 -0
- package/vendor/pele/chunks/YWXUFHC7.js +10 -0
- package/vendor/pele/chunks/Z3ZRV7NH.js +2 -0
- package/vendor/pele/chunks/ZFRCZTLK.js +1 -0
- package/vendor/pele/chunks/ZZDR4CN3.js +1 -0
- package/vendor/pele/lazy.d.ts +1 -0
- package/vendor/pele/lazy.js +1 -0
- package/vendor/phaser/phaser.mjs +1 -0
- package/vendor/pptxgenjs/pptxgen.mjs +97 -0
- package/vendor/signals-core.mjs +1 -0
- package/vendor/spessasynth/fflate.mjs +1 -0
- package/vendor/spessasynth/spessasynth.mjs +42698 -0
- package/vendor/spessasynth/stb-vorbis.mjs +1 -0
- package/vendor/temml/Temml.woff2 +0 -0
- package/vendor/temml/temml.css +372 -0
- package/vendor/temml/temml.mjs +2 -0
- package/vendor/zzfx/zzfx.mjs +1 -0
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import{a as We}from"./D5TW5CPZ.js";import{a as ze,b as Ve,c as Pe}from"./OHJ2EJXK.js";import{d as Se}from"./DKTLEL5E.js";import{a as Re,c as De,e as Le,i as Ae,j as Be,k as Ne,l as Ce,m as Oe,n as Ge,o as Fe,q as je}from"./IU7WZTP6.js";import{j as ce,k as ie}from"./UWRPUF3N.js";import{b as ue,c as j,d as s,e as X,i as P,n as Ee,o as W,u as ae,v as ye}from"./KHUP5TOH.js";import{a as Ie,f as ke,i as ge,p as pe}from"./YWXUFHC7.js";var nt=new Map([["ui","ui"],["pcr","processor"],["processor","processor"],["rmo","readmodel"],["readmodel","readmodel"],["cmd","command"],["command","command"],["evt","event"],["event","event"]]),it=new Map([["trigger",[0,"UI/Automation","UI/A: "]],["state",[100,"Command/Read Model","C/RM: "]],["stream",[200,"Events","Stream: "]]]);function at(n){return n==="ui"||n==="processor"?"trigger":n==="event"?"stream":"state"}function xe(n){let t=n.indexOf("{"),l=n.lastIndexOf("}"),f=(t!==-1&&l>t?n.slice(t+1,l):t===-1&&n.length>=2?n.slice(1,-1):"").replace(/\r/g,"").split(`
|
|
2
|
+
`);for(;f.length>0&&f[0].trim()==="";)f.shift();for(;f.length>0&&f[f.length-1].trim()==="";)f.pop();let c=1/0;for(let g of f)g.trim()!==""&&(c=Math.min(c,g.length-g.trimStart().length));return f.map(g=>g.slice(Math.min(c,g.length)).trimEnd()).join(`
|
|
3
|
+
`)}function Ke(n,t){let l=new Set;for(let o of n.frames){if(l.has(o.name)){let w=ke(n.$source,o.$offset).line;throw new Ie(`Duplicate event modeling frame ID "${o.name}" on line ${w}`,"semantic",{type:"eventmodeling",line:w})}l.add(o.name)}let E=new Map;for(let o of n.dataEntities)E.has(o.name)||E.set(o.name,o.dataBlockValue);let f=new Map,c=new Map,g=(o,w)=>{let M=at(o),A=w===void 0?M:`${M} ${w}`,L=f.get(A);if(!L){let[B,$,_]=it.get(M),S=B;w!==void 0&&(S=c.get(M)??B+1,c.set(M,S+1)),L={index:S,label:w===void 0?$:_+w,group:M,namespace:w},f.set(A,L)}return L},D=[],p=new Map,h=[];n.frames.forEach((o,w)=>{let M=o.entityIdentifier.split("."),A=M.length===2?M[0]:void 0,L=nt.get(o.modelEntityType)??"event",B=o.dataInlineValue===void 0?void 0:xe(o.dataInlineValue);if(o.dataReference){let _=E.get(o.dataReference.$refText);_!==void 0&&(B=xe(_))}let $={id:o.name,kind:L,entity:o.entityIdentifier,name:M.length===2?M[1]:o.entityIdentifier,namespace:A,reset:o.$type==="EmResetFrame",lane:g(L,A),data:B,dataType:o.dataType};if(D.push($),p.set($.id,$),o.sourceFrames.length>0){let _=new Set(o.sourceFrames.map(S=>S.$refText));for(let S of D)_.has(S.id)&&h.push({source:S,target:$})}else if(w>0&&!$.reset){for(let _=w-1;_>=0;_--)if(D[_].lane!==$.lane){h.push({source:D[_],target:$});break}}});let v=o=>o.map(w=>w.entityIdentifier.$refText);return{type:"eventmodeling",title:n.title&&Oe(n.title)||t,accTitle:n.accTitle?Ge(n.accTitle).replace(/^\s+/g,""):void 0,accDescr:n.accDescr?Fe(n.accDescr).replace(/\n\s+/g,`
|
|
4
|
+
`):void 0,boxes:D,lanes:[...f.values()].sort((o,w)=>o.index-w.index),relations:h,notes:n.noteEntities.map(o=>({frame:o.sourceFrame.$refText,text:xe(o.dataBlockValue),dataType:o.dataType})),specifications:n.gwtEntities.map(o=>({frame:o.sourceFrame.$refText,given:v(o.givenStatements),when:v(o.whenStatements),then:v(o.thenStatements)})),entities:n.modelEntities.map(o=>o.name)}}var we={name:"EM_ID",pattern:/[_a-zA-Z][\w_]*/y},ee=n=>({name:n,pattern:n,longer:[we]}),oe=n=>({name:n,pattern:n}),ot=["resetframe","readmodel","processor","timeframe","command","entity","event","jsobj","figma","given","json","salt","html","text","data","note","when","then","rmo","cmd","evt","pcr","uri"],Me=[{...Ce("eventmodeling"),longer:[we]},...ot.map(ee),oe("->>"),ee("gwt"),ee("ui"),ee("md"),ee("tf"),oe("[["),oe("]]"),ee("rf"),oe("`"),oe("."),we,{name:"EM_FID",pattern:/\d{1,3}/y},{name:"EM_DATA_INLINE",pattern:/\{(.*)\}|"(.*)"|'(.*)'/y},{name:"EM_DATA_BLOCK",pattern:/\{[\t ]*\r?\n(?:[\S\s]*?\r?\n)?\}(?:\r?\n|(?!\S))/y},We("EM_ACC_DESCR"),{...De,name:"EM_ACC_TITLE"},{...Le(String.raw`\w`),name:"EM_TITLE"},{name:"EM_WS",pattern:/\s+/y,hidden:!0},{...Ae,name:"EM_YAML"},{...Be,name:"EM_DIRECTIVE"},{...Ne,name:"EM_SINGLE_LINE_COMMENT"},{name:"EM_ML_COMMENT",pattern:/\/\*[\s\S]*?\*\//y,hidden:!0},{name:"EM_SL_COMMENT",pattern:/\/\/[^\n\r]*/y,hidden:!0}],T=n=>Me.findIndex(t=>t.name===n),le=n=>new Set(n.map(T)),u={keyword:0,arrow:T("->>"),open:T("[["),close:T("]]"),tick:T("`"),dot:T("."),id:T("EM_ID"),frameId:T("EM_FID"),inline:T("EM_DATA_INLINE"),block:T("EM_DATA_BLOCK"),accDescr:T("EM_ACC_DESCR"),accTitle:T("EM_ACC_TITLE"),title:T("EM_TITLE"),entity:T("entity"),data:T("data"),note:T("note"),gwt:T("gwt"),given:T("given"),when:T("when"),then:T("then")},He=le(["tf","timeframe"]),st=le(["rf","resetframe"]),$e=le(["rmo","readmodel","ui","cmd","command","evt","event","pcr","processor"]),rt=le(["json","jsobj","figma","salt","uri","md","html","text"]);function Ye(n){let t=new je(Re(n,Me,"eventmodeling"),Me,"eventmodeling"),l={$type:"EventModel",modelEntities:[],frames:[],dataEntities:[],noteEntities:[],gwtEntities:[],$source:n},E=p=>t.kinds[t.i]===p,f=(p,h)=>p.has(t.kinds[t.i])?t.take():t.fail(h),c=()=>{let p=t.expect(u.id);for(;t.accept(u.dot);)p+="."+t.expect(u.id);return p},g=()=>{if(!t.accept(u.tick))return;let p=f(rt,"a data type");return t.expect(u.tick),p},D=()=>{let p=[];do f($e,"an entity type"),p.push({$type:"EmGwtStatement",entityIdentifier:{$refText:t.expect(u.id)}});while($e.has(t.kinds[t.i]));return p};for(t.expect(u.keyword);!E(-1);){let p=t.kinds[t.i];if(p===u.accDescr)l.accDescr=t.take();else if(p===u.accTitle)l.accTitle=t.take();else if(p===u.title)l.title=t.take();else if(p===u.entity)t.i++,l.modelEntities.push({$type:"EmModelEntity",name:c()});else if(He.has(p)||st.has(p)){let h={$type:He.has(p)?"EmTimeFrame":"EmResetFrame",name:"",modelEntityType:"",entityIdentifier:"",sourceFrames:[],$offset:t.tokens.starts[t.i]};for(t.i++,h.name=t.expect(u.frameId),h.modelEntityType=f($e,"an entity type"),h.entityIdentifier=c();t.accept(u.arrow);)h.sourceFrames.push({$refText:t.expect(u.frameId)});if(t.accept(u.open)&&(h.dataReference={$refText:t.expect(u.id)},t.expect(u.close)),E(u.tick)||E(u.inline)){let v=g();v!==void 0&&(h.dataType=v),h.dataInlineValue=t.expect(u.inline)}l.frames.push(h)}else if(p===u.data){t.i++;let h={$type:"EmDataEntity",name:t.expect(u.id),dataBlockValue:""},v=g();v!==void 0&&(h.dataType=v),h.dataBlockValue=t.expect(u.block),l.dataEntities.push(h)}else if(p===u.note){t.i++;let h={$type:"EmNoteEntity",sourceFrame:{$refText:t.expect(u.frameId)},dataBlockValue:""},v=g();v!==void 0&&(h.dataType=v),h.dataBlockValue=t.expect(u.block),l.noteEntities.push(h)}else if(p===u.gwt){t.i++;let h={$type:"EmGwt",sourceFrame:{$refText:t.expect(u.frameId)},givenStatements:[],whenStatements:[],thenStatements:[]};t.expect(u.given),h.givenStatements=D(),t.accept(u.when)&&(h.whenStatements=D()),t.expect(u.then),h.thenStatements=D(),l.gwtEntities.push(h)}else t.fail("a frame, an entity, a data block, a note, or a specification")}return l}var Je=new Map([["command",0],["event",1],["readmodel",2],["processor",6]]),R=12,F=10,ct=96,Ue=16,lt=80,de=12,Xe=8,dt=48,qe=80,Qe=8;function be(n,t){let l=[];for(let E of ge(n).split(`
|
|
5
|
+
`)){let f=E.length<=t?void 0:Array.from(E);if(f===void 0||f.length<=t){l.push(E);continue}for(let c=0;c<f.length;c+=t)l.push(f.slice(c,c+t).join(""))}return l}function me(n,t,l,E,f){let c="";for(let g=0;g<n.length;g++)n[g]!==""&&(c+=`<tspan x="${s(t)}" y="${s(l+g*E)}">${ue(n[g])}</tspan>`);return c===""?"":`<text${f} xml:space="preserve">${c}</text>`}function et(n,t,l){return Se(l,E=>mt(n,t,l,E))}function mt(n,t,l,E){if(E)return gt(n,l);let f=l.fontSize??16,c=Math.round(f*.875),g=Math.round(f*.8125),D=Math.round(f*.75),p=Math.round(D*1.4),h=Math.round(g*1.5),v=l.measurer??pe(l.fontFamily,l.fontFamilyMono),o=l.padding??8,w=(e,i,a)=>{let x=0;for(let k of e)x=Math.max(x,v.width(k,i,a));return x},M=new Map,A=0;for(let e of n.lanes){let i=P(e.label,!1,v,g,4e3,1);A=Math.max(A,i.width),M.set(e,{lane:e,label:i,right:-1/0,y:0,h:0})}A+=2*de;let L=[],B=new Map,$;for(let e of n.boxes){let i=M.get(e.lane),a=P(e.name,!1,v,c,4e3,1),x=e.data?be(e.data,dt):[],k=Math.max(ct,Math.max(a.width,w(x,D,4))+2*R),N=2*F+a.height+(x.length>0?6+x.length*p:0),O=0;if($){let Y=$.x+Math.max($.w/2,$.w-lt);O=$.box.lane===e.lane?i.right+Ue:Math.max(Y,i.right+Ue)}let C={box:e,name:a,data:x,x:O,y:0,w:k,h:N};i.right=O+k,i.h=Math.max(i.h,N),L.push(C),B.set(e,C),$=C}let _=0;for(let e of L)_=Math.max(_,e.x+e.w);let S=A+_+de,K=P(n.title,!1,v,f,4e3,1),se=K.height>0?K.height+12:0,V=o,Z=o+se,H=Z,te="";for(let e of M.values())e.y=H,e.h+=2*de,te+=`<g class="pele-cluster pele-em-lane" data-id="${j(e.lane.label)}"><rect x="${s(V)}" y="${s(H)}" width="${s(S)}" height="${s(e.h)}" fill="var(--_s)"${W}/>`+X(e.label,V+de+e.label.width/2,H+e.h/2,` class="pele-cluster-label" font-size="${g}" font-weight="var(--_hw)" fill="var(--_m)"`)+"</g>",H+=e.h+Xe;let J=M.size>0?H-Xe:Z,Q="";for(let e of L){let i=M.get(e.box.lane);e.x+=V+A,e.y=i.y+(i.h-e.h)/2;let a=Je.get(e.box.kind),x=`x="${s(e.x)}" y="${s(e.y)}" width="${s(e.w)}" height="${s(e.h)}"`,k=a===void 0?`<rect ${x} fill="var(--_bg)" stroke="var(--_b)"${W}/>`:`<rect ${x} fill="var(--_bg)"${W}/><rect ${x} fill="${ae(a)}" fill-opacity="0.22" stroke="${ae(a)}"${W}/>`,N=e.y+F+e.name.height/2,O=X(e.name,e.x+e.w/2,N,` class="pele-label" font-size="${c}" font-weight="var(--_hw)"`)+me(e.data,e.x+R,e.y+F+e.name.height+6+p/2+D*.35,p,` class="pele-em-data" font-family="${Ee}" font-size="${D}"`);Q+=`<g class="pele-node pele-em-${e.box.kind}${e.box.reset?" pele-em-reset":""}" data-id="${j(e.box.id)}">${k}${O}</g>`}let ne="",re=ce("arrow_point");for(let e of n.relations){let i=B.get(e.source),a=B.get(e.target);if(!i||!a||i===a)continue;let x,k;if(i.box.lane===a.box.lane){let N=a.x>=i.x,O=N?i.x+i.w:i.x,C=N?a.x:a.x+a.w,Y=i.y+i.h/2,U=a.y+a.h/2,q=C>=O?1:-1;x=`M${s(O)},${s(Y)}L${s(C-q*re)},${s(U)}`,k=ie("arrow_point",C,U,q,0,"var(--_l)")}else{let N=a.y>i.y,O=Math.max(i.x,a.x),C=Math.min(i.x+i.w,a.x+a.w),Y=tt=>Math.min(24,tt/4),U=C-O>=16?(O+C)/2:a.x>i.x?i.x+i.w-Y(i.w):i.x+Y(i.w),q=C-O>=16?U:a.x>i.x?a.x+Y(a.w):a.x+a.w-Y(a.w),fe=N?i.y+i.h:i.y,ve=N?a.y:a.y+a.h,_e=N?1:-1,he=ve-_e*re,Te=(fe+he)/2;x=U===q?`M${s(U)},${s(fe)}V${s(he)}`:`M${s(U)},${s(fe)}C${s(U)},${s(Te)} ${s(q)},${s(Te)} ${s(q)},${s(he)}`,k=ie("arrow_point",q,ve,0,_e,"var(--_l)")}ne+=`<g class="pele-edge" data-id="${j(e.source.id)}-${j(e.target.id)}"><path d="${x}" fill="none" stroke="var(--_l)"/>${k}</g>`}let r=new Map;for(let e of n.boxes)r.set(e.id,e.name);let d="",m=0,y=(e,i,a,x)=>{let k=P(`${i} · ${a}${r.has(a)?" "+r.get(a):""}`,!1,v,g,4e3,1),N=Math.max(k.width,w(x,g,0))+2*R,O=2*F+k.height+x.length*h,C=J+(d===""&&M.size===0?0:Qe);d+=`<g class="pele-em-${e}" data-id="${j(a)}"><rect x="${s(V)}" y="${s(C)}" width="${s(N)}" height="${s(O)}" fill="var(--_bg)" stroke="var(--_b)"${W}/>`+X(k,V+R+k.width/2,C+F+k.height/2,` font-size="${g}" font-weight="var(--_hw)"`)+me(x,V+R,C+F+k.height+h/2+g*.35,h,` font-size="${g}"`)+"</g>",J=C+O,m=Math.max(m,N)};for(let e of n.notes)y("note","Note",e.frame,be(e.text,qe));for(let e of n.specifications){let i=[`Given ${e.given.join(", ")}`];e.when.length>0&&i.push(`When ${e.when.join(", ")}`),i.push(`Then ${e.then.join(", ")}`),y("specification","Given / When / Then",e.frame,i.flatMap(a=>be(a,qe)))}let b=Math.max(M.size>0?S:0,m,K.width),I=Math.ceil(b+2*o),G=Math.ceil(J+o),z=X(K,I/2,o+K.height/2,' class="pele-title" font-weight="var(--_tw)"')+te+ne+Q+d;return{svg:ye("eventmodeling",I,G,f,l,n,z),width:I,height:G,links:[]}}var Ze=8,ft=120,ht=20;function gt(n,t){let l=t.fontSize??16,E=Math.round(l*.875),f=Math.round(l*.75),c=t.padding??8,g=t.measurer??pe(t.fontFamily,t.fontFamilyMono),D=Math.max(160,(t.maxWidth??320)-2*c),p=new Map(n.boxes.map((r,d)=>[r,d])),h=new Map,v=new Set;for(let r of n.relations){let d=p.get(r.source),m=p.get(r.target);if(d===void 0||m===void 0||d===m)continue;if(Math.abs(d-m)<2){v.add(n.boxes[Math.max(d,m)]);continue}let y=h.get(r.target);y?(y[0]=Math.min(y[0],d),y[1]=Math.max(y[1],d)):h.set(r.target,[Math.min(d,m),Math.max(d,m)])}let o=new Map,w=[];for(let[r,[d,m]]of[...h].sort((y,b)=>y[1][0]-b[1][0])){let y=w.findIndex(b=>b<d);y<0&&(y=w.length),w[y]=m,o.set(r,y)}let M=24+Ze*Math.max(0,w.length-1),A=Math.max(ft,D-M),L=A-2*R,B=P(n.title,!1,g,l,D,1),$=c+(B.height?B.height+12:0),_=c+B.height,S=Math.max(B.width,A+M),K="",se="",V="",Z=new Map,H=(r,d,m=0)=>ze(ge(r),g,d,L,m);n.boxes.forEach((r,d)=>{let m=v.has(r)?L-ht:L,y=Ve(P(r.lane.label,!1,g,E,m,1),g,m),b=P(r.name,!1,g,E,L-36,1),I=r.data?H(r.data,f,4):void 0,G=Math.max(A,y.width+2*R,b.width+2*R+36,(I?.width??0)+2*R),z=y.height+12,e=2*F+b.height+(I?I.height+6:0),i=Je.get(r.kind),a=$+z,x=`x="${s(c)}" y="${s(a)}" width="${s(G)}" height="${s(e)}"`;K+=`<g class="pele-cluster pele-em-lane" data-id="${j(r.lane.label)}">`+Pe(y,c+R,$,` class="pele-cluster-label" font-size="${E}" font-weight="var(--_hw)" fill="var(--_m)"`)+`<g class="pele-node pele-em-${r.kind}${r.reset?" pele-em-reset":""}" data-id="${j(r.id)}"><rect ${x} fill="var(--_bg)" stroke="var(--_b)"${W}/>`+(i===void 0?"":`<rect ${x} fill="${ae(i)}" fill-opacity="0.22" stroke="${ae(i)}"${W}/>`)+X(b,c+R+b.width/2,a+F+b.height/2,` class="pele-label" font-size="${E}" font-weight="var(--_hw)"`)+`<text class="pele-em-frame" x="${s(c+G-R)}" y="${s(a+F+E)}" text-anchor="end" font-size="${f}" fill="var(--_m)">${ue(r.id)}</text>`+(I?me(I.lines.map(k=>k.map(N=>N.text).join("")),c+R,a+F+b.height+6+I.lineHeight/2+f*.35,I.lineHeight,` class="pele-em-data" font-family="${Ee}" font-size="${f}"`):"")+"</g></g>",Z.set(r,{y:a,h:e,w:G,index:d,lane:y.width}),S=Math.max(S,G+M),_=a+e,$=_+28});for(let r of n.relations){let d=Z.get(r.source),m=Z.get(r.target);if(!d||!m||d===m)continue;let y=m.y>d.y,b=y?1:-1,I=y?d.y+d.h:d.y,G=y?m.y:m.y+m.h,z,e;if(Math.abs(d.index-m.index)===1){let i=c+Math.max(Math.min(d.w,m.w)/2,R+(y?m:d).lane+16);z=`M${s(i)},${s(I)}V${s(G-b*ce("arrow_point"))}`,e=ie("arrow_point",i,G,0,b,"var(--_l)")}else{let i=c+S-M+12+Ze*(o.get(r.target)??0),a=d.y+d.h/2-5,x=m.y+m.h/2+5;z=`M${s(c+d.w)},${s(a)}H${s(i)}V${s(x)}H${s(c+m.w+ce("arrow_point"))}`,e=ie("arrow_point",c+m.w,x,-1,0,"var(--_l)")}se+=`<g class="pele-edge" data-id="${j(r.source.id)}-${j(r.target.id)}"><path d="${z}" fill="none" stroke="var(--_l)"/>${e}</g>`}let te=new Map(n.boxes.map(r=>[r.id,r.name])),J=(r,d,m,y)=>{let b=P(`${d} · ${m}${te.has(m)?" "+te.get(m):""}`,!1,g,E,L,1),I=H(y,E),G=Math.max(A,b.width+2*R,I.width+2*R),z=2*F+b.height+I.height;V+=`<g class="pele-em-${r}" data-id="${j(m)}"><rect x="${s(c)}" y="${s($)}" width="${s(G)}" height="${s(z)}" fill="var(--_bg)" stroke="var(--_b)"${W}/>`+X(b,c+R+b.width/2,$+F+b.height/2,` font-size="${E}" font-weight="var(--_hw)"`)+me(I.lines.map(e=>e.map(i=>i.text).join("")),c+R,$+F+b.height+I.lineHeight/2+E*.35,I.lineHeight,` font-size="${E}"`)+"</g>",_=$+z,$=_+Qe,S=Math.max(S,G)};for(let r of n.notes)J("note","Note",r.frame,r.text);for(let r of n.specifications){let d=[`Given ${r.given.join(", ")}`];r.when.length&&d.push(`When ${r.when.join(", ")}`),d.push(`Then ${r.then.join(", ")}`),J("specification","Given / When / Then",r.frame,d.join(`
|
|
6
|
+
`))}let Q=Math.ceil(S+2*c),ne=Math.ceil(_+c),re=X(B,Q/2,c+B.height/2,' class="pele-title" font-weight="var(--_tw)"')+se+K+V;return{svg:ye("eventmodeling",Q,ne,l,t,n,re),width:Q,height:ne,links:[]}}var Nt={type:"eventmodeling",keepComments:!0,parse:(n,t,l)=>Ke(Ye(n),l),render:et};export{Nt as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a}from"./GER2CN75.js";import"./TR4WJQGX.js";import"./DKTLEL5E.js";import"./IU7WZTP6.js";import"./KHUP5TOH.js";import"./YWXUFHC7.js";export{a as gitGraph};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import{a as Ce,d as ye,e as Le}from"./LLLWOAQD.js";import{a as be}from"./PDMLSE6I.js";import{a as Z,c as pe,g as z}from"./GUJTEFZK.js";import{d as ke,e as Ye}from"./DKTLEL5E.js";import{i as qe,s as ve}from"./UWRPUF3N.js";import{e as De}from"./2CHDFZHC.js";import{b as _e,c as ue,d as m,e as B,f as ge,g as Ae,h as Te,i as G,k as Oe,l as Me,m as we,q as xe,s as Fe,t as Pe,v as $e}from"./KHUP5TOH.js";import{a as Ie,g as Ee,p as Ne}from"./YWXUFHC7.js";var W={REQUIREMENT:"Requirement",FUNCTIONAL_REQUIREMENT:"Functional Requirement",INTERFACE_REQUIREMENT:"Interface Requirement",PERFORMANCE_REQUIREMENT:"Performance Requirement",PHYSICAL_REQUIREMENT:"Physical Requirement",DESIGN_CONSTRAINT:"Design Constraint"},te={LOW_RISK:"Low",MED_RISK:"Medium",HIGH_RISK:"High"},j={VERIFY_ANALYSIS:"Analysis",VERIFY_DEMONSTRATION:"Demonstration",VERIFY_INSPECTION:"Inspection",VERIFY_TEST:"Test"},$={CONTAINS:"contains",COPIES:"copies",DERIVES:"derives",SATISFIES:"satisfies",VERIFIES:"verifies",REFINES:"refines",TRACES:"traces"},Ze=1e6,ee=class{type="requirement";direction="TB";requirements=new Map;elements=new Map;relations=[];classes=new Map;title;accTitle;accDescr;newId="";newText="";newRisk="";newVerifyMethod="";newElementType="";newDocRef="";styleCopies=0;copy(n,i){if(this.styleCopies+=i.length,this.styleCopies>Ze)throw new Ie("Requirement diagram applies too many style declarations.","limit",{type:"requirement"});for(let o of i)n.push(o)}setDirection(n){this.direction=n}addRequirement(n,i){let o=this.requirements.get(n);return o===void 0&&(o={name:n,type:i,requirementId:this.newId,text:this.newText,risk:this.newRisk,verifyMethod:this.newVerifyMethod,cssStyles:[],classes:["default"]},this.requirements.set(n,o)),this.newId=this.newText=this.newRisk=this.newVerifyMethod="",o}setNewReqId(n){this.newId=n}setNewReqText(n){this.newText=n}setNewReqRisk(n){this.newRisk=n}setNewReqVerifyMethod(n){this.newVerifyMethod=n}addElement(n){let i=this.elements.get(n);return i===void 0&&(i={name:n,type:this.newElementType,docRef:this.newDocRef,cssStyles:[],classes:["default"]},this.elements.set(n,i)),this.newElementType=this.newDocRef="",i}setNewElementType(n){this.newElementType=n}setNewElementDocRef(n){this.newDocRef=n}addRelationship(n,i,o){this.relations.push({type:n,src:i,dst:o})}node(n){return this.requirements.get(n)??this.elements.get(n)}setCssStyle(n,i){for(let o of n){let r=this.node(o);if(!i||!r)return;for(let t of i)this.copy(r.cssStyles,t.includes(",")?t.split(","):[t])}}setClass(n,i){for(let o of n){let r=this.node(o);if(r)for(let t of i){r.classes.push(t);let l=this.classes.get(t)?.styles;l&&this.copy(r.cssStyles,l)}}}defineClass(n,i){for(let o of n){let r=this.classes.get(o);r===void 0&&(r={id:o,styles:[],textStyles:[]},this.classes.set(o,r));for(let l of i)l.includes("color")&&r.textStyles.push(l.replace("fill","bgFill")),r.styles.push(l);let t=i.flatMap(l=>l.split(","));for(let l of this.requirements.values())l.classes.includes(o)&&this.copy(l.cssStyles,t);for(let l of this.elements.values())l.classes.includes(o)&&this.copy(l.cssStyles,t)}}setAccTitle(n){this.accTitle=n.replace(/^\s+/g,"")}setAccDescription(n){this.accDescr=n.replace(/\n\s+/g,`
|
|
2
|
+
`)}};var de=["$end","INVALID","title","acc_title","acc_title_value","acc_descr","acc_descr_value","acc_descr_multiline_value","direction_tb","direction_bt","direction_rl","direction_lr","NEWLINE","EOF","RD","STRUCT_START","STRUCT_STOP","STYLE_SEPARATOR","COLONSEP","ID","TEXT","RISK","VERIFYMTHD","REQUIREMENT","FUNCTIONAL_REQUIREMENT","INTERFACE_REQUIREMENT","PERFORMANCE_REQUIREMENT","PHYSICAL_REQUIREMENT","DESIGN_CONSTRAINT","LOW_RISK","MED_RISK","HIGH_RISK","VERIFY_ANALYSIS","VERIFY_DEMONSTRATION","VERIFY_INSPECTION","VERIFY_TEST","ELEMENT","CONTAINS","COPIES","DERIVES","SATISFIES","VERIFIES","REFINES","TRACES","TYPE","DOCREF","STYLE","CLASSDEF","CLASS","ALPHA","COLON","SEMICOLON","PERCENT","MINUS","BRKT","END_ARROW_L","END_ARROW_R","LINE","qString","unqString","COMMA"],Ue=new Map([["requirementdiagram",14],["id",19],["text",20],["risk",21],["verifymethod",22],["requirement",23],["functionalrequirement",24],["interfacerequirement",25],["performancerequirement",26],["physicalrequirement",27],["designconstraint",28],["low",29],["medium",30],["high",31],["analysis",32],["demonstration",33],["inspection",34],["test",35],["element",36],["contains",37],["copies",38],["derives",39],["satisfies",40],["verifies",41],["refines",42],["traces",43],["type",44],["docref",45],["style",46],["classdef",47],["class",48]]);var tt=/accTitle\s*:\s*/iy,nt=/accDescr\s*:\s*/iy,st=/accDescr\s*\{\s*/iy,ne=/direction\s+(?:(TB)|(BT)|(RL)|LR)/gi,Re=/[\n\r\u2028\u2029]/g,it=22,Ve=new Uint8Array(128);for(let s of`:,\r
|
|
3
|
+
{<>-=`)Ve[s.charCodeAt(0)]=1;function He(s){let n=s.length,i=[],o=[],r=[],t=[],l=0,e=0,h=[[],[],[],[]],I=[[],[],[],[]],f=[0,0,0,0],p=!1,T=-1;ne.lastIndex=0;for(let c=ne.exec(s);c!==null;c=ne.exec(s)){let S=c[1]!==void 0?0:c[2]!==void 0?1:c[3]!==void 0?2:3;h[S].push(c.index),I[S].push(ne.lastIndex),p=!0}let E=(c,S,d)=>{i.push(c),o.push(s.slice(S,d)),r.push(S),e=d},y=c=>{t.push(l),l=c},b=()=>{t.length>0&&(l=t.pop())},k=(c,S)=>(c.lastIndex=S,c.test(s)?c.lastIndex:-1),a=c=>{let S=s.indexOf(`
|
|
4
|
+
`,c);return S===-1?n:S},u=()=>{if(T<e){Re.lastIndex=e,T=Re.test(s)?Re.lastIndex-1:n;for(let c=0;c<4;c++){let S=h[c],d=f[c];for(;d<S.length&&S[d]<=T;)d++;f[c]=d}}for(let c=0;c<4;c++){let S=f[c]-1;if(S>=0&&h[c][S]>=e)return E(8+c,e,a(I[c][S])),!0}return!1},N=c=>{let S=c|32;if(S===116&&s.slice(e+1,e+5).toLowerCase()==="itle"&&Z(s.charCodeAt(e+5))){let d=e+6;for(;d<n;){let L=s.charCodeAt(d);if(L===35||L===10||L===59)break;d++}if(d>e+6)return E(2,e,d),!0}if(S===97&&(s.charCodeAt(e+1)|32)===99&&(s.charCodeAt(e+2)|32)===99){let d;if((d=k(tt,e))>=0)return y(3),E(3,e,d),!0;if((d=k(nt,e))>=0)return y(4),E(5,e,d),!0;if((d=k(st,e))>=0)return y(5),e=d,!0}if(p&&!pe(c)&&u())return!0;if(c===10||c===13&&s.charCodeAt(e+1)===10){let d=e;for(;d<n;){let L=s.charCodeAt(d);if(L===10)d++;else if(L===13&&s.charCodeAt(d+1)===10)d+=2;else break}return E(12,e,d),!0}if(Z(c)){for(e++;e<n&&Z(s.charCodeAt(e));)e++;return!0}if(c===35||c===37)return e=a(e),!0;if(z(c)){let d=e+1;for(;d<n&&z(s.charCodeAt(d));)d++;if(d-e<=it){let L=Ue.get(s.slice(e,d).toLowerCase());if(L!==void 0)return(L===46||L===47||L===48)&&y(2),E(L,e,d),!0}for(;d<n;){let L=s.charCodeAt(d);if(L<128&&Ve[L]===1)break;d++}return i.push(59),o.push(s.slice(e,d).trim()),r.push(e),e=d,!0}switch(c){case 123:return E(15,e,e+1),!0;case 125:return E(16,e,e+1),!0;case 58:return s.charCodeAt(e+1)===58&&s.charCodeAt(e+2)===58?E(17,e,e+3):E(18,e,e+1),!0;case 60:return s.charCodeAt(e+1)!==45?!1:(E(55,e,e+2),!0);case 45:return s.charCodeAt(e+1)===62?E(56,e,e+2):E(57,e,e+1),!0;case 34:return y(1),e++,!0;case 44:return E(60,e,e+1),!0}return!1},q=c=>{if(z(c)){let S=e+1;for(;S<n&&z(s.charCodeAt(S));)S++;return E(49,e,S),!0}switch(c){case 58:return E(50,e,e+1),!0;case 59:return E(51,e,e+1),!0;case 37:return E(52,e,e+1),!0;case 45:return E(53,e,e+1),!0;case 35:return E(54,e,e+1),!0;case 32:return e++,!0;case 34:return y(1),e++,!0;case 10:return b(),e++,!0;case 44:return E(60,e,e+1),!0}return!1};for(;e<n;){let c=s.charCodeAt(e),S=!0;switch(l){case 0:S=N(c);break;case 2:S=q(c);break;case 1:if(c===34)b(),e++;else{let d=s.indexOf('"',e);E(58,e,d===-1?n:d)}break;case 3:b(),E(4,e,a(e));break;case 4:b(),E(6,e,a(e));break;case 5:if(c===125)b(),e++;else{let d=s.indexOf("}",e);E(7,e,d===-1?n:d)}break}if(!S)return i.push(1),o.push(""),r.push(e),{types:i,texts:o,starts:r}}let x=l===0?13:l===1?58:l===3?4:l===4?6:l===5?7:-1;return x!==-1&&E(x,n,n),E(0,n,n),{types:i,texts:o,starts:r}}var rt=[W.REQUIREMENT,W.FUNCTIONAL_REQUIREMENT,W.INTERFACE_REQUIREMENT,W.PERFORMANCE_REQUIREMENT,W.PHYSICAL_REQUIREMENT,W.DESIGN_CONSTRAINT,te.LOW_RISK,te.MED_RISK,te.HIGH_RISK,j.VERIFY_ANALYSIS,j.VERIFY_DEMONSTRATION,j.VERIFY_INSPECTION,j.VERIFY_TEST,"",$.CONTAINS,$.COPIES,$.DERIVES,$.SATISFIES,$.VERIFIES,$.REFINES,$.TRACES];function We(s){return s===49||s===50||s===54||s===53||s===51}function Ge(s,n){let{types:i,texts:o,starts:r}=He(s),t=0,l=[],e=[],h=(a,u=a,...N)=>{let q=i[t];if(q===1)throw Ee("requirement",s,r[t],"",!0);for(let c=u;c>=a;c--)N.unshift(c);let x=N.map(c=>`'${de[c]}'`).join(", ");throw Ee("requirement",s,r[t],`Expecting ${x}, got '${de[q]}'`)},I=a=>(i[t]!==a&&h(a),o[t++]),f=(a,u)=>{let N=i[t];return(N<a||N>u)&&h(a,u),t++,rt[N-23]},p=()=>{let a=i[t];return a!==59&&a!==58&&h(58,59),o[t++]},T=()=>{let a=i[t];if(a===3)t++,n.setAccTitle(I(4).trim());else if(a===5)t++,n.setAccDescription(I(6).trim());else if(a===7)n.setAccDescription(o[t++].trim());else return!1;return!0},E=()=>{let a=[];for(;;){let u=i[t];if(u!==49&&u!==59&&u!==58&&h(58,59,49),a.push(o[t++]),i[t]!==60)return a;t++}},y=()=>{let a=[];for(;;){We(i[t])||h(49,51,53,54);let u=o[t++];for(;We(i[t]);)u+=o[t++];if(a.push(u),i[t]!==60)return a;t++}},b=()=>{let a;return i[t]===17?(t++,a=E(),I(15)):i[t]===15?t++:h(15,15,17),I(12),a},k=a=>{for(l.length=0,e.length=0;;){let u=i[t];if(u===16){t++;break}if(u===12){t++;continue}(a?u<19||u>22:u!==44&&u!==45)&&(a&&h(19,22,12,16),h(44,45,12,16)),t++,I(18),e.push(u===21?f(29,31):u===22?f(32,35):p()),l.push(u),I(12)}for(let u=l.length-1;u>=0;u--){let N=e[u];switch(l[u]){case 19:n.setNewReqId(N);break;case 20:n.setNewReqText(N);break;case 21:n.setNewReqRisk(N);break;case 22:n.setNewReqVerifyMethod(N);break;case 44:n.setNewElementType(N);break;default:n.setNewElementDocRef(N)}}};for(;T();)i[t]===12&&t++;for(i[t]!==14&&h(14,14,3,5,7),t++,I(12);;){let a=i[t];if(a===13)return;if(a===12)t++;else{if(T())continue;if(a>=8&&a<=11)t++,n.setDirection(a===8?"TB":a===9?"BT":a===10?"RL":"LR");else if(a>=23&&a<=28){let u=f(23,28),N=p(),q=b();k(!0),n.addRequirement(N,u),q&&n.setClass([N],q)}else if(a===36){t++;let u=p(),N=b();k(!1),n.addElement(u),N&&n.setClass([u],N)}else if(a===46){t++;let u=E();n.setCssStyle(u,y())}else if(a===47){t++;let u=E();n.defineClass(u,y())}else if(a===48){t++;let u=E();n.setClass(u,E())}else if(a===59||a===58){let u=o[t++],N=i[t];if(N===17)t++,n.setClass([u],E());else if(N===55||N===57){t++;let q=f(37,43);I(N===57?56:57);let x=p();N===57?n.addRelationship(q,u,x):n.addRelationship(q,x,u)}else h(17,17,55,57)}else h(12,13,3,5,7,8,9,10,11,23,24,25,26,27,28,36,47,48,46,59,58)}}}function Ke(s){let n=[];for(let r of s.requirements.values())n.push({id:r.name,requirement:r,element:void 0,cssStyles:r.cssStyles,cssClasses:r.classes.join(" ")});for(let r of s.elements.values())n.push({id:r.name,requirement:void 0,element:r,cssStyles:r.cssStyles,cssClasses:r.classes.join(" ")});let i=r=>s.requirements.has(r)||s.elements.has(r)?r:void 0,o=s.relations.map((r,t)=>({id:`${r.src}-${r.dst}-${t}`,start:i(r.src),end:i(r.dst),type:r.type,contains:r.type===$.CONTAINS}));return{nodes:n,edges:o,direction:s.direction}}var ot=40,ct=16,lt=56,se=14,X=10,fe=2,Qe=12,at=120,Et=280,ut=240,he=26,Xe=6,ze=9,ie=4.5,dt=28,Rt=14;function re(s,n,i){if(n===0||s.lines.length===0)return s;let o=0,r=[],t=s.lines.map(l=>{let e=0,h=l.map(I=>{let f=I.style|n,p=I.icon!==void 0||I.math?I.width:i.width(I.text,s.size,f);return e+=p,{...I,style:f,width:p}});return r.push(e),e>o&&(o=e),h});return{...s,lines:t,widths:r,width:o}}function Be(s,n,i,o){let r=Ae(s),t="",l="";for(let e=0;e<s.lines.length;e++){let h=s.lines[e],I=i+Me(s,e);if(Oe(h)){l+=B(we(s,e),n+s.widths[e]/2,I,o);continue}let f=I+s.size*.35,p=!0;for(let T of h)T.icon!==void 0||T.text===""||(t+=`<tspan${p?` x="${m(n)}" y="${m(f)}"`:""}${ge(T.style&~r)}>${_e(T.text)}</tspan>`,p=!1)}return(t===""?"":`<text${Te(o,r)} text-anchor="start" xml:space="preserve">${t}</text>`)+l}function ft(s,n,i,o){let r=Xe,t=s-i*r,l=n-o*r;return`<circle class="pele-marker" cx="${m(t)}" cy="${m(l)}" r="${r}"/><path class="pele-marker" d="M${m(t-i*r)},${m(l-o*r)}L${m(t+i*r)},${m(l+o*r)}M${m(t+o*r)},${m(l-i*r)}L${m(t-o*r)},${m(l+i*r)}"/>`}function ht(s,n,i,o){let r=s-i*ze,t=n-o*ze;return`<path class="pele-marker" d="M${m(r-o*ie)},${m(t+i*ie)}L${m(s)},${m(n)}L${m(r+o*ie)},${m(t-i*ie)}" stroke-linejoin="round"/>`}function St(s,n,i){let o=new Map;for(let r of n){let t=r.route;if(!(r.src===r.dst||t.length<6))for(let l of[0,t.length-3]){let e=l===0?r.src:r.dst,h=s[e],I=t[l]-h.x,f=t[l+1]-h.y,p=l===0?3:l-3,T;if(Math.abs(Math.abs(f)-h.h/2)<.5)T=f<0?0:2;else if(Math.abs(Math.abs(I)-h.w/2)<.5)T=I<0?3:1;else continue;let E=e*4+T,y={route:t,at:l,toward:t[T%2===0?p:p+1]},b=o.get(E);b?b.push(y):o.set(E,[y])}}for(let[r,t]of o){if(t.length<2)continue;let l=r>>2,e=r%2===1,h=(e?i[l].h:i[l].w)-2*Rt,I=Math.max(0,Math.min(dt,h/(t.length-1)));t.sort((f,p)=>f.toward-p.toward);for(let f=0;f<t.length;f++){let p=(f-(t.length-1)/2)*I;e?t[f].route[t[f].at+1]=s[l].y+p:t[f].route[t[f].at]=s[l].x+p}}}function Je(s,n,i){return Ye(s.direction)?ke(i,o=>je(s,n,i,o)):je(s,n,i,!1)}function je(s,n,i,o){let r=Ke(s),t=i.fontSize??16,l=Math.round(t*.875),e=i.measurer??Ne(i.fontFamily,i.fontFamilyMono),h=i.padding??8,I=new Map,f=[],p=[];for(let _ of r.nodes){let R=Fe(_.cssStyles),O=(R.bold?1:0)|(R.italic?2:0),F=R.fontSize??t,D=R.fontSize??l,A=_.requirement,Y=_.element,v=re(G(`«${A?A.type:"Element"}»`,!1,e,D,4e3),O,e),g=re(G(_.id,!0,e,F,Et),O|1,e),C=A?[["ID",A.requirementId],["Text",A.text],["Risk",A.risk],["Verification",A.verifyMethod]]:[["Type",Y.type],["Doc Ref",Y.docRef]],w=[],P=0,U=0,M=0;for(let[J,Q]of C){if(!Q)continue;let le=re(G(J,!1,e,D,4e3),O,e),ae=re(G(Q,!0,e,D,ut),O,e),me=Math.max(le.height,ae.height);w.push({key:le,value:ae,height:me}),P=Math.max(P,le.width),U=Math.max(U,ae.width),M+=me+fe}w.length>0&&(M+=2*X-fe);let V=2*X+v.height+g.height,H=Math.max(at,Math.max(v.width,g.width)+2*se,w.length>0?P+Qe+U+2*se:0);I.has(_.id)||I.set(_.id,f.length);let K=ye(H,V+M);K.seq=f.length,f.push({node:_,style:R,kind:v,name:g,rows:w,keyWidth:P,headHeight:V,w:H,h:V+M}),p.push(K)}let T=o?"TB":Ce(r.direction),E=T==="LR"||T==="RL",y=[],b=[],k=[];for(let _ of r.edges){let R=_.start===void 0?void 0:I.get(_.start),O=_.end===void 0?void 0:I.get(_.end);if(R===void 0||O===void 0)continue;let F=G(`«${_.type}»`,!1,e,l,4e3);R===O&&(E?p[R].h+=2*(he+F.height+8):p[R].w+=2*(he+F.width+12)),k.push(_),b.push(F),y.push({src:R,dst:O,minlen:1,labelW:F.width+12,labelH:F.height+4,route:[],labelX:0,labelY:0})}let a=Le(p,y,T,{nodeSep:ot,edgeSep:ct,rankSep:lt,portSep:20});St(p,y,f);let u=be(s.title,e,t,4e3),N=u.height>0?u.height+12:0,q=Math.max(a.width,u.width),x=h+(q-a.width)/2,c=h+N,S=Math.ceil(q+2*h),d=Math.ceil(a.height+N+2*h),L="";for(let _=0;_<f.length;_++){let R=f[_],{w:O,h:F,style:D}=R,A=De(D),Y=A||' fill="var(--_m)"',v=-O/2,g=-F/2,C=`<rect x="${m(v)}" y="${m(g)}" width="${m(O)}" height="${m(F)}" fill="var(--_s)" stroke="var(--_b)"${xe(D.shape)}/>`+B(R.kind,0,g+X+R.kind.height/2,` class="pele-stereotype" font-size="${R.kind.size}"${Y}${D.text}`)+B(R.name,0,g+X+R.kind.height+R.name.height/2,` class="pele-label" font-size="${R.name.size}" font-weight="var(--_hw)"${A}${D.text}`);if(R.rows.length>0){let w=g+R.headHeight;C+=`<path class="pele-divider" d="M${m(v)},${m(w)}H${m(-v)}" stroke="var(--_b)"${D.line}/>`;let P=w+X,U="";for(let M of R.rows)U+=Be(M.key,v+se,P,` class="pele-field"${Y}${D.text}`)+Be(M.value,v+se+R.keyWidth+Qe,P,` class="pele-value"${A}${D.text}`),P+=M.height+fe;C+=`<g class="pele-fields" font-size="${R.rows[0].key.size}">${U}</g>`}L+=`<g class="pele-node ${R.node.requirement?"pele-requirement":"pele-element"}${Pe(R.node.cssClasses.replace(/^default\s?/,""))}" data-id="${ue(R.node.id)}" transform="translate(${m(p[_].x+x)},${m(p[_].y+c)})">${C}</g>`}let oe="",ce="",Se=new Map;for(let _=0;_<y.length;_++){let R=y[_],O=k[_],F=b[_],D=O.contains?2*Xe:0,A,Y=R.labelX+x,v=R.labelY+c;if(R.src===R.dst){let g=f[R.src],C=p[R.src].x+x,w=p[R.src].y+c,P=Se.get(R.src)??0;Se.set(R.src,P+1);let U=(E?g.w:g.h)/2,M=Math.min(U-4,12+P*6),V=he+P*8,H=(J,Q)=>E?`${m(C+Q)},${m(w+g.h/2+J)}`:`${m(C+g.w/2+J)},${m(w+Q)}`,K=V/.75;A={d:`M${H(D,-M)}C${H(K,-M)} ${H(K,M)} ${H(0,M)}`,sx:E?C-M:C+g.w/2,sy:E?w+g.h/2:w-M,sdx:E?0:-1,sdy:E?-1:0,ex:E?C+M:C+g.w/2,ey:E?w+g.h/2:w+M,edx:E?0:-1,edy:E?-1:0},E?(Y=C,v=w+g.h/2+V+4+R.labelH/2):(Y=C+g.w/2+V+4+R.labelW/2,v=w)}else{let g=R.route.slice();for(let C=0;C<g.length;C+=3)g[C]+=x,g[C+1]+=c;A=qe(g,void 0,D,0)}oe+=`<g class="pele-edge pele-relationship-${O.contains?"contains":"arrow"}" data-id="${ue(O.id)}"><path d="${A.d}"${O.contains?"":' stroke-dasharray="5 4"'}/>`+(O.contains?ft(A.sx,A.sy,A.sdx,A.sdy):ht(A.ex,A.ey,A.edx,A.edy))+"</g>",ce+=ve(O.id,F,Y,v,"")}return{svg:$e("requirement",S,d,t,i,s,B(u,S/2,h+u.height/2,' class="pele-title" font-weight="var(--_tw)"')+(oe?`<g class="pele-edges" fill="none" stroke="var(--_l)" stroke-linecap="round">${oe}</g>`:"")+(ce?`<g class="pele-edge-labels" font-size="${l}" fill="var(--_m)">${ce}</g>`:"")+`<g class="pele-nodes">${L}</g>`),width:S,height:d,links:[]}}var Qt={type:"requirement",math:!0,parse(s,n,i){let o=new ee;return i&&(o.title=i),Ge(s,o),o},render:Je};export{Qt as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a}from"./LTY5LMQH.js";import"./LLLWOAQD.js";import"./PDMLSE6I.js";import"./NDSCUZ25.js";import"./VSWIZJ7B.js";import"./GUJTEFZK.js";import"./DKTLEL5E.js";import"./UWRPUF3N.js";import"./2CHDFZHC.js";import"./KHUP5TOH.js";import"./YWXUFHC7.js";export{a as state};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import{b as Ze,f as Ue}from"./DKTLEL5E.js";import{a as Ye,i as Xe,j as Qe,k as Je,l as et,m as tt,n as nt,o as rt,q as ot}from"./IU7WZTP6.js";import{b as pe,c as Ae,d as i,e as He,i as je,n as We,o as ke,v as Ke}from"./KHUP5TOH.js";import{a as Fe,i as ze,p as Ve}from"./YWXUFHC7.js";function Pe(e){return e===32||e>=9&&e<=13||e>127&&/\s/.test(String.fromCharCode(e))}function qt(){let e=1/0;return(t,n)=>{if(!t.startsWith("accDescr",n))return-1;let r=t.length,o=n+8;for(;o<r&&(t.charCodeAt(o)===32||t.charCodeAt(o)===9);)o++;if(t.charCodeAt(o)===58){for(o++;o<r;o++){let a=t.charCodeAt(o);if(a===10||a===13||a===37&&t.charCodeAt(o+1)===37)break}return o}for(;o<r&&Pe(t.charCodeAt(o));)o++;if(t.charCodeAt(o)!==123||o>=e)return-1;let l=t.indexOf("}",o+1);return l===-1&&(e=o),l+1||-1}}var we="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";function W(e){return{name:"TITLE",pattern:new RegExp(String.raw`title(?:[\t ][^\n\r]*?(?=%%)|[\t ][^\n\r]*|(?!${e}))`,"y"),first:"t"}}var K={name:"ACC_TITLE",pattern:/accTitle[\t ]*:(?:[^\n\r]*?(?=%%)|[^\n\r]*)/y,first:"a"},Z={name:"ACC_DESCR",pattern:/accDescr(?:[\t ]*:([^\n\r]*?(?=%%)|[^\n\r]*)|\s*{([^}]*)})/y,first:"a",scanner:qt};function s(e,t){return{name:e,pattern:e,longer:t}}function U(e,t){return{...et(e),longer:[t]}}function fe(e){return{name:e,pattern:/[A-Z_a-z][\w-]*/y,first:we+"_"}}function ue(e){return{name:e,pattern:/"([^"\\]|\\.)*"|'([^'\\]|\\.)*'/y,first:`"'`}}function Y(e){return[{name:e+"_WHITESPACE",pattern:/[\t \r\n]+/y,hidden:!0,first:` \r
|
|
2
|
+
`},{...Xe,name:e+"_YAML",first:"-"},{...Qe,name:e+"_DIRECTIVE",first:" %"},{...Je,name:e+"_SINGLE_LINE_COMMENT",first:" %"}]}function L(e){if(!e.includes("\\"))return e.slice(1,-1);let t=e.length-1,n="";for(let r=1;r<t;r++){let o=e[r];o==="\\"&&r+1<t?(o=e[++r],n+=o==="n"?`
|
|
3
|
+
`:o==="r"?"\r":o==="t"?" ":o):n+=o}return n}function X(e,t,n,r,o,l){let a=new ot(Ye(e,t,"railroad"),t,"railroad"),c={$type:n,rules:[]};for(a.expect(0);;){let p=a.kind;if(p===r){let x=tt(a.take()),u=x[0];c.title=(u==='"'||u==="'")&&x.endsWith(u)?o(x):x}else if(p===r+1)c.accTitle=nt(a.take());else if(p===r+2)c.accDescr=rt(a.take());else break}for(;a.kind!==-1;)c.rules.push(l(a));return c}var Ne=[];function me(e){let t=e,n=t.element??t.primary??t.suffix,r=t.alternatives??t.elements??(n?[n]:Ne);if(t.base){r=[t.base];for(let o of t.postfixes)o.except&&r.push(o.except)}return r}var F=e=>({type:"terminal",value:e}),Q=e=>({type:"nonterminal",name:e}),ae=e=>({type:"special",text:e}),_=e=>({type:"optional",element:e}),z=(e,t,n=1/0)=>({type:"repetition",element:e,min:t,max:n});function J(e){return e.length===1?e[0]:{type:"sequence",elements:e}}function ee(e){return e.length===1?e[0]:{type:"choice",alternatives:e}}function te(e,t){return e.rules.map(n=>({name:n.name,definition:Ce(n.definition,me,t)}))}function Ce(e,t,n){let r=[e],o=[t(e)],l=[[]];for(;;){let a=r.length-1,c=l[a];if(c.length<o[a].length){let p=o[a][c.length];r.push(p),o.push(t(p)),l.push([])}else{let p=n(r[a],c);if(a===0)return p;r.pop(),o.pop(),l.pop(),l[a-1].push(p)}}}var at="0123456789",it={name:"ABNF_RULENAME",pattern:/[A-Za-z][A-Za-z0-9-]*/y,first:we},st={name:"ABNF_COMMENT",pattern:/;[^\n\r]*/y,hidden:!0,first:";"},ct=[U("railroad-abnf-beta",it),s("="),s(";",[st]),s("/"),s("("),s(")"),s("["),s("]"),W(String.raw`[A-Za-z0-9-]`),K,Z,it,{name:"ABNF_STRING",pattern:/"[^"]*"/y,first:'"'},{name:"ABNF_NUMVAL",pattern:/%[xXdDbB][0-9A-Fa-f]+(?:-[0-9A-Fa-f]+|\.[0-9A-Fa-f]+)*/y,first:"%"},{name:"ABNF_REPEAT",pattern:/[0-9]*\*[0-9]*/y,first:at+"*"},{name:"ABNF_EXACT_REPEAT",pattern:/[0-9]+/y,first:at},...Y("ABNF"),st];function lt(e,t,n,r){let o={$type:"AbnfConcatenation",elements:[]};return t.alternatives.push(o),{alternation:t,concatenation:o,node:e,close:n,repeat:r}}function Dt(e){let t=[],n=lt(void 0,{$type:"AbnfAlternation",alternatives:[]},-2,void 0);for(;;){let r=e.kind===14||e.kind===15?e.take():void 0,o,l=e.kind;switch(l){case 12:o={$type:"AbnfStringLiteral",value:e.take().slice(1,-1)};break;case 13:o={$type:"AbnfNumVal",value:e.take()};break;case 11:o={$type:"AbnfRuleName",name:e.take()};break;case 4:case 6:{e.i++;let a={$type:"AbnfAlternation",alternatives:[]};t.push(n),n=lt({$type:l===4?"AbnfGroup":"AbnfOptionalGroup",element:a},a,l+1,r);continue}default:e.fail("a string, a number, a name, or an opening bracket")}for(;;){n.concatenation.elements.push(r===void 0?{$type:"AbnfElement",primary:o}:{$type:"AbnfElement",repeat:r,primary:o});let a=e.kind;if(a===n.close){e.i++,o=n.node,r=n.repeat,n=t.pop();continue}if(a===3)e.i++,n.concatenation={$type:"AbnfConcatenation",elements:[]},n.alternation.alternatives.push(n.concatenation);else if(a!==12&&a!==13&&a!==11&&a!==4&&a!==6&&a!==14&&a!==15){if(t.length===0)return n.alternation;e.fail(`token of type '${ct[n.close].name}'`)}break}}}function pt(e){return X(e,ct,"RailroadAbnf",8,t=>t.slice(1,-1),t=>{let n=t.expect(11);t.expect(1);let r=Dt(t);return t.expect(2),{$type:"AbnfRule",name:n,definition:r}})}function Gt(e,t){switch(e.$type){case"AbnfAlternation":return ee(t);case"AbnfConcatenation":return J(t);case"AbnfElement":{let n=e.repeat;if(!n)return t[0];let r=n.indexOf("*"),o=r===-1,l=r>0||o?parseInt(n,10):0,a=o?l:r<n.length-1?parseInt(n.slice(r+1),10):1/0;return l===0&&a===1?_(t[0]):z(t[0],l,a)}case"AbnfStringLiteral":case"AbnfNumVal":return F(e.value);case"AbnfRuleName":return Q(e.name);case"AbnfGroup":return t[0];case"AbnfOptionalGroup":return _(t[0])}}var ft=e=>te(e,Gt);function Bt(e,t){if(e.charCodeAt(t)!==63)return-1;let n=!1;for(let r=t+1;r<e.length;r++){let o=e.charCodeAt(r);if(o===63)return n?r+1:-1;if(o===59)return-1;n||=!Pe(o)}return-1}var ut=fe("EBNF_ID"),dt={name:"EBNF_SPECIAL_SEQUENCE",pattern:/\?(?=[^?;]*[^?\s;][^?;]*\?)[^?;]*\?/y,first:"?",scanner:()=>Bt},mt=Y("EBNF"),ht={name:"EBNF_ISO_COMMENT",pattern:/\(\*[\s\S]*?\*\)/y,hidden:!0,first:"(",opener:/\(\*/y},yt=[U("railroad-ebnf-beta",ut),s("::="),s("="),s(";"),s("|"),s(","),s("(",[ht]),s(")"),s("["),s("]"),s("{"),s("}"),s("?",[dt]),s("*"),s("+"),s("-",[mt[1]]),W(String.raw`[\w-]`),K,Z,ut,ue("EBNF_STRING"),dt,...mt,{name:"EBNF_BLOCK_COMMENT",pattern:/\/\*[\s\S]*?\*\//y,hidden:!0,first:"/",opener:/\/\*/y},ht];function gt(e,t,n,r){let o={$type:"EbnfSequence",elements:[]};return t.alternatives.push(o),{choice:t,sequence:o,term:void 0,node:e,close:n,except:r}}var Lt=["EbnfGroup","EbnfOptional","EbnfRepetition"];function Ft(e){let t=[],n=gt(void 0,{$type:"EbnfChoice",alternatives:[]},-2,!1),r=!1;for(;;){let o,l=e.kind;switch(l){case 20:o={$type:"EbnfTerminal",value:L(e.take())};break;case 19:o={$type:"EbnfNonTerminal",name:e.take()};break;case 21:o={$type:"EbnfSpecial",text:e.take().slice(1,-1).trim()};break;case 6:case 8:case 10:{e.i++;let a={$type:"EbnfChoice",alternatives:[]};t.push(n),n=gt({$type:Lt[l-6>>1],element:a},a,l+1,r),r=!1;continue}default:e.fail("a terminal, a name, or an opening bracket")}for(;;){r?(n.term.postfixes.push({$type:"EbnfExceptionPostfix",except:o}),r=!1):(n.term={$type:"EbnfTerm",base:o,postfixes:[]},n.sequence.elements.push(n.term));let a=n.term.postfixes;for(;;){let p=e.kind;if(p===12)a.push({$type:"EbnfOptionalPostfix",operator:e.take()});else if(p===13)a.push({$type:"EbnfZeroOrMorePostfix",operator:e.take()});else if(p===14)a.push({$type:"EbnfOneOrMorePostfix",operator:e.take()});else break}let c=e.kind;if(c===n.close){e.i++,o=n.node,r=n.except,n=t.pop();continue}if(c===15)e.i++,r=!0;else if(c===5)e.i++;else if(c===4)e.i++,n.sequence={$type:"EbnfSequence",elements:[]},n.choice.alternatives.push(n.sequence);else if(c!==20&&c!==19&&c!==21&&c!==6&&c!==8&&c!==10){if(t.length===0)return n.choice;e.fail(`token of type '${yt[n.close].name}'`)}break}}}function bt(e){return X(e,yt,"RailroadEbnf",16,L,t=>{let n=t.expect(19);t.accept(2)||t.expect(1);let r={$type:"EbnfRule",name:n,definition:Ft(t)};return t.expect(3),r})}function zt(e,t){switch(e.$type){case"EbnfChoice":return ee(t);case"EbnfSequence":return J(t);case"EbnfTerm":{let n=t[0],r=1;for(let o of e.postfixes)o.$type==="EbnfOptionalPostfix"?n=_(n):o.$type==="EbnfExceptionPostfix"?n={type:"sequence",elements:[n,F("-"),t[r++]]}:n=z(n,o.$type==="EbnfOneOrMorePostfix"?1:0);return n}case"EbnfTerminal":return F(e.value);case"EbnfNonTerminal":return Q(e.name);case"EbnfSpecial":return ae(e.text);case"EbnfGroup":return t[0];case"EbnfOptional":return _(t[0]);case"EbnfRepetition":return z(t[0],0)}}var xt=e=>te(e,zt);var Se=fe("RR_ID"),ne=e=>s(e,[Se]),Vt=[U("railroad-beta",Se),ne("nonterminal"),ne("zeroOrMore"),ne("oneOrMore"),ne("sequence"),ne("optional"),ne("terminal"),ne("special"),ne("choice"),s("="),s(";"),s("("),s(","),s(")"),W(String.raw`[\w-]`),K,Z,Se,ue("RR_STRING"),...Y("RR"),{name:"RR_BLOCK_COMMENT",pattern:/\/\*[\s\S]*?\*\//y,hidden:!0,first:"/",opener:/\/\*/y}];function Te(e){e.i++,e.expect(11);let t=L(e.expect(18));return e.expect(13),t}function Me(e){return{$type:e,element:void 0}}function Ht(e){let t=[];for(;;){let n;switch(e.kind){case 6:n={$type:"RailroadTerminalExpr",value:Te(e)};break;case 1:n={$type:"RailroadNonTerminalExpr",name:Te(e)};break;case 7:n={$type:"RailroadSpecialExpr",text:Te(e)};break;case 4:n={$type:"RailroadSequenceExpr",elements:[]};break;case 8:n={$type:"RailroadChoiceExpr",alternatives:[]};break;case 5:n=Me("RailroadOptionalExpr");break;case 3:n=Me("RailroadOneOrMoreExpr");break;case 2:n=Me("RailroadZeroOrMoreExpr");break;default:e.fail("an expression")}if("elements"in n||"alternatives"in n||"element"in n){e.i++,e.expect(11),t.push(n);continue}for(;;){let r=t[t.length-1];if(r===void 0)return n;if("element"in r)r.element=n;else if(("elements"in r?r.elements:r.alternatives).push(n),e.accept(12))break;e.expect(13),t.pop(),n=r}}}function Rt(e){return X(e,Vt,"Railroad",14,L,t=>{let n=t.expect(17);t.expect(9);let r=Ht(t);return t.expect(10),{$type:"RailroadRule",name:n,definition:r}})}function jt(e,t){switch(e.$type){case"RailroadTerminalExpr":return F(e.value);case"RailroadNonTerminalExpr":return Q(e.name);case"RailroadSpecialExpr":return ae(e.text);case"RailroadSequenceExpr":return J(t);case"RailroadChoiceExpr":return ee(t);case"RailroadOptionalExpr":return _(t[0]);default:return z(t[0],e.$type==="RailroadOneOrMoreExpr"?1:0)}}var Et=e=>te(e,jt);var $t=fe("PEG_ID"),Wt=[U("railroad-peg-beta",$t),s("<-"),s(";"),s("/"),s("&"),s("!"),s("?"),s("*"),s("+"),s("("),s(")"),s("."),W(String.raw`[\w-]`),K,Z,$t,ue("PEG_STRING"),...Y("PEG"),{name:"PEG_LINE_COMMENT",pattern:/#[^\n\r]*/y,hidden:!0,first:"#"}];function At(e,t,n){let r={$type:"PegSequence",elements:[]};return t.alternatives.push(r),{choice:t,sequence:r,node:e,operator:n}}function Kt(e){let t=[],n=At(void 0,{$type:"PegOrderedChoice",alternatives:[]},void 0);for(;;){let r=e.kind===4||e.kind===5?e.take():void 0,o;switch(e.kind){case 16:o={$type:"PegLiteral",value:L(e.take())};break;case 15:o={$type:"PegIdentifier",name:e.take()};break;case 11:o={$type:"PegAny",dot:e.take()};break;case 9:{e.i++;let a={$type:"PegOrderedChoice",alternatives:[]};t.push(n),n=At({$type:"PegGroup",element:a},a,r);continue}default:e.fail("a literal, a name, a dot, or an opening parenthesis")}for(;;){let a={$type:"PegSuffix",primary:o};(e.kind===6||e.kind===7||e.kind===8)&&(a.operator=e.take()),n.sequence.elements.push(r===void 0?{$type:"PegPrefix",suffix:a}:{$type:"PegPrefix",operator:r,suffix:a});let c=e.kind;if(c===10&&t.length>0){e.i++,o=n.node,r=n.operator,n=t.pop();continue}if(c===3)e.i++,n.sequence={$type:"PegSequence",elements:[]},n.choice.alternatives.push(n.sequence);else if(c!==4&&c!==5&&c!==16&&c!==15&&c!==11&&c!==9){if(t.length===0)return n.choice;e.fail("token of type ')'")}break}}}function kt(e){return X(e,Wt,"RailroadPeg",12,L,t=>{let n=t.expect(15);t.expect(1);let r={$type:"PegRule",name:n,definition:Kt(t)};return t.expect(2),r})}function Zt(e){switch(e.type){case"terminal":return`"${e.value}"`;case"nonterminal":return e.name;case"special":return e.text;default:return"(...)"}}function Ut(e,t){let n=t[0];switch(e.$type){case"PegOrderedChoice":return ee(t);case"PegSequence":return J(t);case"PegPrefix":return e.operator?ae(e.operator+Zt(n)):n;case"PegSuffix":return e.operator?e.operator==="?"?_(n):z(n,e.operator==="+"?1:0):n;case"PegLiteral":return F(e.value);case"PegIdentifier":return Q(e.name);case"PegAny":return ae(e.dot);case"PegGroup":return n}}var Pt=e=>te(e,Ut);var Oe=class{type="railroad";notation="railroad";title;accTitle;accDescr;rules=[];byName=new Map;setTitle(t){this.title=t}setAccTitle(t){this.accTitle=t.replace(/^\s+/g,"")}setAccDescription(t){this.accDescr=t.replace(/\n\s+/g,`
|
|
4
|
+
`)}addRule(t){this.rules.push(t),this.byName.set(t.name,t)}getRule(t){return this.byName.get(t)}},Yt=/^\s*railroad-(ebnf-|abnf-|peg-)?beta/i;function Xt(e){let t=Yt.exec(e);if(t===null)return;let n=t[1]?.toLowerCase();return n==="ebnf-"?"ebnf":n==="abnf-"?"abnf":n==="peg-"?"peg":"railroad"}function Qt(e,t){switch(t){case"ebnf":{let n=bt(e);return[n,xt(n)]}case"abnf":{let n=pt(e);return[n,ft(n)]}case"peg":{let n=kt(e);return[n,Pt(n)]}default:{let n=Rt(e);return[n,Et(n)]}}}function Jt(e,t,n){let[r,o]=Qt(t,n);e.notation=n,r.accDescr&&e.setAccDescription(r.accDescr),r.accTitle&&e.setAccTitle(r.accTitle),r.title&&e.setTitle(r.title);for(let l of o)e.addRule(l)}function wt(e,t){let n=Xt(e);if(n===void 0)throw new Fe("No railroad diagram keyword found.","syntax",{type:"railroad"});let r=new Oe;return t&&(r.title=t),Jt(r,e,n),r}var Ie=12,en=6,tn=18,ye=12,S=7;function ie(e,t,n,r){let o=e.railroad?.[t];return typeof o=="number"&&o>=0?Math.min(o,r):n}var nn=/[\n\r\t]/g;function ge(e){return(e.includes("¶ß")?ze(e.replace(/&/g,"&")):e).replace(nn,n=>n===`
|
|
5
|
+
`?"\\n":n==="\r"?"\\r":"\\t")}function he(e,t){for(let n=t,r=e.length-1;n<r;n++,r--){let o=e[n];e[n]=e[r],e[r]=o}}function _e(e){return Math.ceil(e/2)*2}function ve(e,t,n,r,o){let l=o.height/2,a=Math.max(_e(o.measurer.width(t,o.size,r)+2*o.padding),o.height);return{kind:e,width:a,up:l,down:l,kids:Ne,text:t,id:n,reach:0}}function rn(e,t){if(t===1/0&&e<=1)return"";let n=r=>Number.isFinite(r)?String(r):"∞";return e===t?n(e)+"×":t===1/0?"≥"+n(e)+"×":e===0?"≤"+n(t)+"×":n(e)+"–"+n(t)+"×"}function Ct(e,t,n,r){return Math.max(e+t.down+r.sep+n.up,2*r.arc)}function Nt(e,t){let n=Math.max(e.up+t.sep,2*t.arc);return{kind:5,width:e.width+4*t.arc,up:n,down:e.down,kids:[e],text:"",id:"",reach:n}}function on(e,t,n=1/0){let r=new Map,o=[[e,n]];for(let l=0;n!==1/0&&l<o.length;l++){let[a,c]=o[l];r.set(a,c);let p=a.type==="choice"||a.type==="optional"?4*t.arc:a.type==="repetition"?(a.min===0?6:2)*t.arc:a.type==="sequence"?6*t.arc:0;for(let x of me(a))o.push([x,Math.max(40,c-p)])}return Ce(e,me,(l,a)=>{let c=r.get(l)??1/0;switch(l.type){case"terminal":{let p=ge(l.value);return ve(0,/^ +$/.test(p)?"␣".repeat(p.length):p,"",4,t)}case"nonterminal":return ve(1,ge(l.name),l.name,0,t);case"special":return ve(2,"? "+ge(l.text)+" ?","",2,t);case"sequence":{let p=Math.max(0,a.length-1)*t.gap,x=0,u=0;for(let y of a)p+=y.width,x=Math.max(x,y.up),u=Math.max(u,y.down);let h={kind:3,width:p,up:x,down:u,kids:a,text:"",id:"",reach:0};if(p<=c||a.length<2)return h;let A=[],w=[],E=0,d=()=>{let y=0,re=0;for(let se of w)y=Math.max(y,se.up),re=Math.max(re,se.down);A.push({kind:3,width:E,up:y,down:re,kids:w,text:"",id:"",reach:0}),w=[],E=0};for(let y of a)w.length&&E+t.gap+y.width>Math.max(40,c-6*t.arc)&&d(),E+=(w.length?t.gap:0)+y.width,w.push(y);if(d(),A.length<2)return h;let V=0,q=0;for(let y=0;y<A.length;y++)V=Math.max(V,A[y].width),y&&(q+=A[y-1].down+Math.max(t.sep,2*t.arc)+A[y].up);return{kind:7,width:V+6*t.arc,up:A[0].up,down:q+A[A.length-1].down,kids:A,text:"",id:"",reach:0}}case"choice":{let p=0,x=0;for(let h=0;h<a.length;h++)p=Math.max(p,a[h].width),h>0&&(x=Ct(x,a[h-1],a[h],t));let u=a[a.length-1];return{kind:4,width:p+4*t.arc,up:a.length>0?a[0].up:0,down:u?x+u.down:0,kids:a,text:"",id:"",reach:0}}case"optional":return Nt(a[0],t);case"repetition":{let{min:p,max:x}=l,u=a[0];if(p===1&&x===1)return u;let h=rn(p,x),A=Math.max(u.down+t.sep,2*t.arc),w=h===""?0:_e(t.measurer.width(h,ye,0)),E={kind:6,width:Math.max(u.width,w)+2*t.arc,up:u.up,down:A+(h===""?S/2+1:ye+6),kids:[u],text:h,id:"",reach:A};return p===0?Nt(E,t):E}}})}function Tt(e,t,n){return Ue(n,r=>an(e,t,n,r))}function an(e,t,n,r){let o=n.fontSize??16,l=ie(t,"fontSize",0,200),a=l||Math.round(o*.875),c=l||o,p=ie(t,"padding",-1,200),x=Math.round(a*1.5),u={measurer:n.measurer??Ve(n.fontFamily,n.fontFamilyMono),size:a,padding:p<0?12:p,height:_e(x+(p<0?9:2*p)),gap:Math.min(ie(t,"horizontalSeparation",16,500),r?12:1/0),sep:ie(t,"verticalSeparation",10,500),arc:Math.min(ie(t,"arcRadius",10,200),r?6:1/0)},h=t.railroad?.showMarkers===!1?0:ie(t,"markerRadius",4,50),A=ie(t,"strokeWidth",0,20),w=A>0?` stroke-width="${i(A)}"`:"",E=n.padding??8,{arc:d}=u,V=i(d),q=(I,T,D)=>`a${V},${V} 0 0 ${I} ${T}${V},${D}${V}`,y=q(1,"",""),re=q(0,"",""),se=q(0,"","-"),qe=q(1,"","-"),Mt=q(0,"-",""),St=q(0,"-","-"),le=je(e.title,!1,u.measurer,o,r?Ze(n):4e3,1),Ot=le.height>0?le.height+16:0,De=Math.round(c*1.5),It=a*.35,Ge=u.height/2,H="",de="",ce="",O=(I,T,D)=>{D>I&&(H+=`M${i(I)},${i(T)}H${i(D)}`)},vt=(I,T,D)=>{let $=[I],C=[T,D];for(;$.length>0;){let b=$.pop(),f=C.pop(),R=C.pop(),N=b.kids,v=R+b.width;switch(b.kind){case 3:{let m=v;for(let g=N.length-1;g>=0;g--)m-=N[g].width,$.push(N[g]),C.push(m,f),g>0&&O(m-u.gap,f,m),m-=u.gap;break}case 7:{let m=R+2*d,g=$.length,P=0;O(R,f,m);for(let k=0;k<N.length;k++){let G=N[k],M=f+P;if($.push(G),C.push(M,m),k+1<N.length){let oe=N[k+1],j=P+G.down+Math.max(u.sep,2*d)+oe.up,B=f+P+G.down+Math.max(u.sep,2*d)/2;H+=`M${i(m+G.width)},${i(M)}H${i(v-2*d)}V${i(B)}H${i(R+d)}V${i(f+j)}H${i(m)}`,de+=`M${i(m-S)},${i(f+j-S/2)}l${S},${S/2}l${-S},${S/2}z`,P=j}else H+=`M${i(m+G.width)},${i(M)}H${i(v-d)}V${i(f)}H${i(v)}`}he($,g),he(C,2*g);break}case 4:{let m=b.width-4*d,g=R+d,P=v-d,k=$.length,G=0;for(let M=0;M<N.length;M++){let oe=N[M];M>0&&(G=Ct(G,N[M-1],oe,u));let j=f+G,B=R+2*d+(m-oe.width)/2,Le=M===N.length-1;M===0?(O(R,f,B),O(B+oe.width,f,v)):H+=(Le?`M${i(R)},${i(f)}${y}V${i(j-d)}`:`M${i(g)},${i(j-d)}`)+re+(B>g+d?`H${i(B)}`:"")+`M${i(B+oe.width)},${i(j)}`+(B>g+d?`H${i(P-d)}`:"")+se+(Le?`V${i(f+d)}${qe}`:""),$.push(oe),C.push(j,B)}he($,k),he(C,2*k);break}case 5:{let m=N[0],g=R+2*d;O(R,f,g),O(g+m.width,f,v),H+=`M${i(R)},${i(f)}${se}V${i(f-b.reach+d)}${qe}H${i(v-2*d)}${y}V${i(f-d)}${re}`,$.push(m),C.push(g,f);break}case 6:{let m=N[0],g=R+(b.width-m.width)/2,P=f+b.reach,k=R+b.width/2;O(R,f,g),O(g+m.width,f,v),H+=`M${i(R+d)},${i(f)}${Mt}V${i(P-d)}${re}H${i(v-d)}${se}V${i(f+d)}${St}`,de+=`M${i(k-S/2)},${i(P)}l${S},${-S/2}v${S}z`,b.text!==""&&(ce+=`<text class="pele-edge-label pele-count" x="${i(k)}" y="${i(P+ye+3)}" font-size="${ye}" fill="var(--_m)">${pe(b.text)}</text>`),$.push(m),C.push(g,f);break}default:{let m=b.text,g=m.startsWith(" ")||m.endsWith(" ")||m.includes(" ")?' xml:space="preserve"':"",P=`<rect x="${i(R)}" y="${i(f-Ge)}" width="${i(b.width)}" height="${i(u.height)}"`,k=`<text x="${i(R+b.width/2)}" y="${i(f+It)}"${g}`;b.kind===0?ce+=`<g class="pele-node pele-terminal">${P} rx="${i(Ge)}" fill="var(--_s)" stroke="var(--_b)"${w}/>${k} font-family="${We}">${pe(m)}</text></g>`:b.kind===1?ce+=`<g class="pele-node pele-nonterminal" data-id="${Ae(b.id)}">${P} fill="var(--_bg)" stroke="var(--_b)"${w}${ke}/>${k}>${pe(m)}</text></g>`:ce+=`<g class="pele-node pele-special">${P} fill="var(--_bg)" stroke="var(--_b)" stroke-dasharray="4 3"${w}${ke}/>${k} font-style="italic"><tspan fill="var(--_m)">? </tspan>${pe(m.slice(2,-2))}<tspan fill="var(--_m)"> ?</tspan></text></g>`}}}},be="",xe=le.width,Re=E+Ot,Ee=E+le.height;for(let I of e.rules){let T=on(I.definition,u,r?Math.max(80,(n.maxWidth??320)-2*E-4*h-2*Ie-1):1/0),D=ge(I.name),$=Re+De+en+T.up,C=E+2*h,b=C+Ie,f=b+T.width+Ie;H="",de="",ce="",O(C,$,b),O(b+T.width,$,f),vt(T,b,$);let R=h>0?`<circle class="pele-marker pele-start" cx="${i(E+h)}" cy="${i($)}" r="${i(h)}" fill="var(--_l)"/><circle class="pele-marker pele-end" cx="${i(f+h)}" cy="${i($)}" r="${i(h)}" fill="var(--_l)"/>`:"";be+=`<g class="pele-rule" data-id="${Ae(I.name)}"><text class="pele-rule-name" x="${i(E)}" y="${i(Re+De/2+c*.35)}" font-size="${i(c)}" font-weight="var(--_hw)" text-anchor="start">${pe(D)}</text><path class="pele-edge pele-track" d="${H}" fill="none" stroke="var(--_l)"${w}/>`+(de?`<path class="pele-marker" d="${de}" fill="var(--_l)"/>`:"")+R+ce+"</g>",xe=Math.max(xe,f+2*h-E,u.measurer.width(D,c,1)),Ee=$+T.down,Re=Ee+u.sep+tn}let $e=Math.ceil(xe+2*E),Be=Math.ceil(Ee+E),_t=He(le,$e/2,E+le.height/2,' class="pele-title" font-weight="var(--_tw)"')+(be?`<g class="pele-rules" transform="translate(0.5,0.5)" font-size="${i(a)}" text-anchor="middle">${be}</g>`:"");return{svg:Ke("railroad",$e,Be,o,n,e,_t),width:$e,height:Be,links:[]}}var _n={type:"railroad",parse:(e,t,n)=>wt(e,n),render:Tt};export{_n as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var c=[["rect","proc","process","rectangle","squareRect"],["rounded","event","roundedRect"],["stadium","terminal","pill"],["fr-rect","subprocess","subproc","framed-rectangle","subroutine"],["cyl","db","database","cylinder"],["datastore","data-store"],["folder","directory"],["bucket"],["console"],["browser"],["person"],["circle","circ"],["bang"],["cloud"],["diam","decision","diamond","question"],["hex","hexagon","prepare"],["lean-r","lean-right","in-out","lean_right"],["lean-l","lean-left","out-in","lean_left"],["trap-b","priority","trapezoid-bottom","trapezoid"],["trap-t","manual","trapezoid-top","inv-trapezoid","inv_trapezoid"],["dbl-circ","double-circle","doublecircle"],["text"],["notch-rect","card","notched-rectangle"],["lin-rect","lined-rectangle","lined-process","lin-proc","shaded-process"],["sm-circ","start","small-circle","stateStart"],["fr-circ","stop","framed-circle","stateEnd"],["fork","join","forkJoin"],["hourglass","collate"],["brace","comment","brace-l"],["brace-r"],["braces"],["bolt","com-link","lightning-bolt"],["doc","document"],["delay","half-rounded-rectangle"],["h-cyl","das","horizontal-cylinder"],["lin-cyl","disk","lined-cylinder"],["curv-trap","curved-trapezoid","display"],["div-rect","div-proc","divided-rectangle","divided-process"],["tri","extract","triangle"],["win-pane","internal-storage","window-pane"],["f-circ","junction","filled-circle"],["notch-pent","loop-limit","notched-pentagon"],["flip-tri","manual-file","flipped-triangle"],["sl-rect","manual-input","sloped-rectangle"],["docs","documents","st-doc","stacked-document"],["st-rect","procs","processes","stacked-rectangle"],["bow-rect","stored-data","bow-tie-rectangle"],["cross-circ","summary","crossed-circle"],["tag-doc","tagged-document"],["tag-rect","tagged-rectangle","tag-proc","tagged-process"],["flag","paper-tape"],["odd","rect_left_inv_arrow"],["lin-doc","lined-document"]],o=["state","choice","note","composite","rectWithTitle","labelRect","block_arrow","collapsedGroup","iconSquare","iconCircle","icon","iconRounded","imageSquare","anchor","kanbanItem","mindmapCircle","defaultMindmapNode","classBox","erBox","requirementBox","usecaseActor","usecaseActorHollow","usecaseActorAwesome","usecaseActorIcon","usecaseBusiness","usecaseEllipse","usecaseJsonTable"],n=new Map([["square","rect"],["round","rounded"],["ellipse","ellipse"],["hexagon","hex"],["diamond","diam"]]),r=new Map;for(let e of c)for(let t of e)r.set(t,e[0]);for(let e of o)r.set(e,e);function a(e){return r.has(e)}function i(e){return e===void 0?"rect":n.get(e)??r.get(e)??"rect"}export{a,i as b};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a}from"./TIVX74RS.js";import"./DKTLEL5E.js";import"./IU7WZTP6.js";import"./UWRPUF3N.js";import"./2CHDFZHC.js";import"./KHUP5TOH.js";import"./YWXUFHC7.js";export{a as architecture};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function l(r){let t=0;for(let i=r.indexOf("~");i!==-1;i=r.indexOf("~",i+1))t++;return t}function u(r){let t=l(r);if(t<=1)return r;let i=t%2!==0&&r.startsWith("~"),n=r.split(""),s=[];for(let e=i?1:0;e<n.length;e++)n[e]==="~"&&s.push(e);for(let e=0,o=s.length-1;e<o;e++,o--)n[s[e]]="<",n[s[o]]=">";return n.join("")}function c(r){if(!r.includes("~"))return r;let t=r.split(/(,)/),i=[];for(let n=0;n<t.length;n++){let s=t[n];s===","&&n>0&&n+1<t.length&&l(t[n-1])===1&&l(t[n+1])===1&&(s=t[n-1]+","+t[n+1],n++,i.pop()),i.push(u(s))}return i.join("")}export{c as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{a as ge}from"./TR4WJQGX.js";import{d as Be}from"./DKTLEL5E.js";import{a as De,b as He,c as Pe,e as Se,f as Ne,g as _e,h as Oe,i as Ve,j as Fe,k as je,l as qe,m as Ye,n as ze,o as Ke,p as Ce,q as We}from"./IU7WZTP6.js";import{c as me,d as c,e as Z,i as Te,o as Ie,u as ie,v as ve}from"./KHUP5TOH.js";import{a as Ae,p as Le}from"./YWXUFHC7.js";var w={NORMAL:0,REVERSE:1,HIGHLIGHT:2,MERGE:3,CHERRY_PICK:4};function D(n){throw new Ae(n,"semantic",{type:"gitGraph"})}function Ue(n){return n==="REVERSE"?w.REVERSE:n==="HIGHLIGHT"?w.HIGHLIGHT:w.NORMAL}function lt(n,e){n.dir&&e.setDirection(n.dir);for(let l of n.statements)mt(l,e)}function mt(n,e){switch(n.$type){case"Commit":e.commit({id:n.id,msg:n.message??"",type:n.type!==void 0?Ue(n.type):w.NORMAL,tags:n.tags??void 0});break;case"Branch":e.branch({name:n.name,order:n.order??0});break;case"Merge":e.merge({branch:n.branch,id:n.id??"",type:n.type!==void 0?Ue(n.type):void 0,tags:n.tags??void 0});break;case"Checkout":e.checkout(n.branch);break;case"CherryPicking":e.cherryPick({id:n.id,targetId:"",tags:n.tags?.length===0?void 0:n.tags,parent:n.parent});break}}function Xe(n,e,l){let p=e.gitGraph,L=typeof p?.mainBranchName=="string"?p.mainBranchName:"main",x=typeof p?.mainBranchOrder=="number"?p.mainBranchOrder:0,M=new Map,m=new Map([[L,null]]),J=new Map([[L,x]]),oe=[],I=null,A=L,u="LR",_=0,U=()=>{for(let i=_+1;;i+=2654435761){let d=`${_}-${(Math.imul(i,2654435761)>>>0).toString(16).padStart(8,"0").slice(0,7)}`;if(!M.has(d))return d}},O=i=>{I=i,M.set(i.id,i),m.set(A,i.id)},ee=i=>{m.has(i)||D(`Trying to checkout branch which is not yet created. (Help try using "branch ${i}")`),A=i;let d=m.get(i);I=d?M.get(d)??null:null};lt(n,{setDirection(i){u=i},commit({msg:i,id:d,type:H,tags:v}){let b={id:d||U(),message:i,seq:_++,type:H??w.NORMAL,tags:v?[...v]:[],parents:I===null?[]:[I.id],branch:A};M.has(b.id)&&oe.push(`Commit ID ${b.id} already exists`),O(b)},branch({name:i,order:d}){m.has(i)&&D(`Trying to create an existing branch. (Help: Either use a new name if you want create a new branch or try using "checkout ${i}")`),m.set(i,I!==null?I.id:null),J.set(i,d),ee(i)},merge({branch:i,id:d,type:H,tags:v}){let b=m.get(A),B=m.get(i),V=b?M.get(b):void 0,X=B?M.get(B):void 0;V&&X&&V.branch===i&&D(`Cannot merge branch '${i}' into itself.`),A===i&&D('Incorrect usage of "merge". Cannot merge a branch to itself'),V===void 0&&D(`Incorrect usage of "merge". Current branch (${A})has no commits`),m.has(i)||D(`Incorrect usage of "merge". Branch to be merged (${i}) does not exist`),X===void 0&&D(`Incorrect usage of "merge". Branch to be merged (${i}) has no commits`),V===X&&D('Incorrect usage of "merge". Both branches have same head'),d&&M.has(d)&&D(`Incorrect usage of "merge". Commit with id:${d} already exists, use different custom id`),O({id:d||U(),message:`merged branch ${i} into ${A}`,seq:_++,parents:I===null?[]:[I.id,B||""],branch:A,type:w.MERGE,customType:H,customId:!!d,tags:v?[...v]:[]})},cherryPick({id:i,targetId:d,tags:H,parent:v}){let b=i?M.get(i):void 0;if(b===void 0&&D('Incorrect usage of "cherryPick". Source commit id should exist and provided'),v&&!b.parents.includes(v)&&D("Invalid operation: The specified parent commit is not an immediate parent of the cherry-picked commit."),b.type===w.MERGE&&!v&&D("Incorrect usage of cherry-pick: If the source commit is a merge commit, an immediate parent commit must be specified."),d&&M.has(d))return;b.branch===A&&D('Incorrect usage of "cherryPick". Source commit is already on current branch');let B=m.get(A);(!B||!M.has(B))&&D(`Incorrect usage of "cherry-pick". Current branch (${A})has no commits`),O({id:U(),message:`cherry-picked ${b.message} into ${A}`,seq:_++,parents:I===null?[]:[I.id,b.id],branch:A,type:w.CHERRY_PICK,tags:H?H.filter(Boolean):[`cherry-pick:${b.id}${b.type===w.MERGE?`|parent:${v}`:""}`]})},checkout:ee});let ce=[...J].map(([i,d],H)=>({name:i,order:d??parseFloat(`0.${H}`)})).sort((i,d)=>i.order-d.order).map(i=>i.name);return{type:"gitGraph",title:n.title||l,accTitle:n.accTitle?n.accTitle.replace(/^\s+/g,""):void 0,accDescr:n.accDescr?n.accDescr.replace(/\n\s+/g,`
|
|
2
|
+
`):void 0,direction:u,commits:M,branches:m,lanes:ce,currentBranch:A,head:I,warnings:oe}}var Ze={name:"REFERENCE",pattern:/\w([-\./\w]*[-\w])?/y},Je=[Ze];function N(n){return{name:n,pattern:n,longer:Je}}var Qe=[N("cherry-pick"),{name:"gitGraph:",pattern:"gitGraph:"},N("HIGHLIGHT"),{...qe("gitGraph"),longer:Je},N("checkout"),N("REVERSE"),{name:"parent:",pattern:"parent:"},N("commit"),N("NORMAL"),N("branch"),{name:"order:",pattern:"order:"},N("switch"),{name:"type:",pattern:"type:"},N("merge"),{name:"msg:",pattern:"msg:"},{name:"tag:",pattern:"tag:"},{name:"id:",pattern:"id:"},N("LR"),N("TB"),N("BT"),{name:":",pattern:":"},{...He,opener:/[\t ]*accDescr\s*{/y},Pe,Se(String.raw`[-./\w]*[-\w]`),{name:"INT",pattern:/0|[1-9][0-9]*(?!\.)/y},Ne,_e,Oe,Ve,Fe,je,Ze];function et(n){let e=new We(De(n,Qe,"gitGraph"),Qe,"gitGraph"),l={$type:"GitGraph",statements:[]},p=()=>{if(e.kind!==-1)for(e.kind!==26&&e.fail("a line break or the end of input");e.kind===26;)e.i++},L=()=>e.kind===31?e.take():e.kind===25?Ce(e.take()):e.fail("a branch name"),x=()=>Ce(e.expect(25)),M=()=>(e.kind!==8&&e.kind!==5&&e.kind!==2&&e.fail("NORMAL, REVERSE, or HIGHLIGHT"),e.take());for(;e.kind===26;)e.i++;if(!e.accept(1)){e.expect(3);let m=e.kinds[e.i+1];(e.kind===17||e.kind===18||e.kind===19)&&m===20?(l.$type="Direction",l.dir=e.take(),e.i++):e.accept(20)}for(;e.kind!==-1;)switch(e.kind){case 26:e.i++;break;case 21:l.accDescr=Ke(e.take()),p();break;case 22:l.accTitle=ze(e.take()),p();break;case 23:l.title=Ye(e.take()),p();break;case 7:{e.i++;let m={$type:"Commit",tags:[]};for(;;)if(e.accept(16))m.id=x();else if(e.accept(15))m.tags.push(x());else if(e.accept(12))m.type=M();else if(e.accept(14)||e.kinds[e.i]===25)m.message=x();else break;p(),l.statements.push(m);break}case 9:{e.i++;let m={$type:"Branch",name:L()};e.accept(10)&&(m.order=parseInt(e.expect(24))),p(),l.statements.push(m);break}case 13:{e.i++;let m={$type:"Merge",branch:L(),tags:[]};for(;;)if(e.accept(16))m.id=x();else if(e.accept(15))m.tags.push(x());else if(e.accept(12))m.type=M();else break;p(),l.statements.push(m);break}case 4:case 11:{e.i++;let m={$type:"Checkout",branch:L()};p(),l.statements.push(m);break}case 0:{e.i++;let m={$type:"CherryPicking",tags:[]};for(;;)if(e.accept(16))m.id=x();else if(e.accept(15))m.tags.push(x());else if(e.accept(6))m.parent=x();else break;p(),l.statements.push(m);break}default:e.fail("a statement, a title, or a line break")}return l}var E=7,gt=44,ht=44,he=36,de=8,W=20,ae=20,se=7,tt=6,we=Math.SQRT1_2,nt=["normal","reverse","highlight","merge","cherry-pick"];function pe(n,e,l){let p=n.gitGraph?.[e];return typeof p=="boolean"?p:l}function rt(n){return se+4+n.width+6}function dt(n,e,l,p){let L=`cx="${c(e)}" cy="${c(l)}"`;if(n===w.HIGHLIGHT)return`<rect x="${c(e-E-1)}" y="${c(l-E-1)}" width="${2*E+2}" height="${2*E+2}" rx="2" fill="${p}"/>`;if(n===w.MERGE)return`<circle ${L} r="${E-1}" fill="var(--_bg)" stroke="${p}" stroke-width="2"/><circle ${L} r="2.5" fill="${p}"/>`;let x=`<circle ${L} r="${E}" fill="${p}"/>`;return n===w.REVERSE?x+`<path d="M${c(e-3)},${c(l-3)}l6,6M${c(e-3)},${c(l+3)}l6,-6" fill="none" stroke="var(--_bg)" stroke-width="1.5" stroke-linecap="round"/>`:n===w.CHERRY_PICK?x+`<path d="M${c(e-2.6)},${c(l+1)}L${c(e+.8)},${c(l-4.2)}L${c(e+2.6)},${c(l+1)}" fill="none" stroke="var(--_bg)" stroke-linejoin="round"/><circle cx="${c(e-2.6)}" cy="${c(l+2.2)}" r="1.8" fill="var(--_bg)"/><circle cx="${c(e+2.6)}" cy="${c(l+2.2)}" r="1.8" fill="var(--_bg)"/>`:x}function at(n,e,l){return n.direction!=="LR"?it(n,e,l,n.direction):Be(l,p=>it(n,e,l,p?"TB":"LR"))}function it(n,e,l,p){let L=l.fontSize??16,x=Math.round(L*.75),M=l.measurer??Le(l.fontFamily,l.fontFamilyMono),m=l.padding??8,J=pe(e,"showBranches",!0),oe=pe(e,"showCommitLabel",!0),I=pe(e,"rotateCommitLabel",!0),A=pe(e,"parallelCommits",!1),u=p!=="LR",_=p==="BT",U=new Map;n.lanes.forEach((t,r)=>U.set(t,r));let O=n.lanes.length,ee=Math.round(L*.875),ce=n.lanes.map(t=>ge(J?t:"",M,ee,4e3)),i=[],d=new Map;for(let t of[...n.commits.values()].sort((r,a)=>r.seq-a.seq)){let r=oe&&t.type!==w.CHERRY_PICK&&(t.type!==w.MERGE||t.customId===!0),a=[];for(let o of t.tags){let g=ge(o,M,x,4e3);g.lines.length>0&&a.push(g)}let s={commit:t,index:i.length,lane:U.get(t.branch)??0,m:0,label:r?ge(t.id,M,x,4e3):void 0,tags:a};i.push(s),d.set(t.id,s)}let H=new Float64Array(i.length),v=new Float64Array(i.length),b=new Float64Array(O).fill(E),B=new Float64Array(O).fill(E);i.forEach((t,r)=>{let{label:a,tags:s}=t,o=0,g=0;for(let h of s){let y=rt(h);u?(o=Math.max(o,h.height),g+=y+4):(o=Math.max(o,y),g+=h.height+3)}let $=0,f=0;a!==void 0&&a.lines.length>0&&(I?f=3+we*(a.width+a.height):($=u?a.height:a.width,f=6+(u?a.width:a.height))),H[r]=Math.max(E,o/2,$/2),v[r]=o/2;let R=E+(s.length>0?tt+g:0),F=E+f,P=t.lane;b[P]=Math.max(b[P],u?F:R),B[P]=Math.max(B[P],u?R:F)});let V=new Float64Array(i.length);u||i.forEach((t,r)=>{if(v[r]!==0)for(let a of t.commit.parents){let s=d.get(a);s!==void 0&&s.lane<t.lane&&(V[r]=v[r]+4)}});let X=(t,r)=>Math.max(gt,H[t]+H[r]+de,V[r]>0?H[t]+he+V[r]:0);i.forEach((t,r)=>{if(!A){t.m=r===0?0:i[r-1].m+X(r-1,r);return}let a=0;for(let s of t.commit.parents){let o=d.get(s);o===void 0||o.index>=r||(a=Math.max(a,o.m+X(o.index,r)))}t.m=a});let q=0;for(let t of i)q=Math.max(q,t.m);let Y=new Float64Array(O);for(let t=0;t<O;t++){let r=ce[t],a=r.lines.length===0?0:u?r.width/2+8:r.height/2+2;b[t]=Math.max(b[t],a),B[t]=Math.max(B[t],a),t>0&&(Y[t]=Y[t-1]+Math.max(ht,B[t-1]+b[t]+de))}let z=(t,r)=>u?r:t,K=(t,r)=>u?_?-t:t:r,G=(t,r)=>`${c(z(t,r))},${c(K(t,r))}`,Q=1/0,le=1/0,te=-1/0,fe=-1/0,j=(t,r,a,s)=>{t<Q&&(Q=t),r<le&&(le=r),a>te&&(te=a),s>fe&&(fe=s)},ne="";if(J)for(let t=0;t<O;t++){let r=ce[t],a=ie(t),s=Y[t],o=r.width+16,g=r.height+4,$=r.lines.length===0?-W:-W-(u?g:o),f=z($+(u?g:o)/2,s),R=K($+(u?g:o)/2,s);j(z(-W,s),K(-W,s),z(-W,s),K(-W,s)),j(z(q+ae,s),K(q+ae,s),z(q+ae,s),K(q+ae,s)),ne+=`<g class="pele-branch" data-id="${me(n.lanes[t])}"><path class="pele-lane" d="M${G(-W,s)}L${G(q+ae,s)}" stroke="${a}" stroke-dasharray="2 4"/>`,r.lines.length>0&&(j(f-o/2,R-g/2,f+o/2,R+g/2),ne+=`<rect x="${c(f-o/2)}" y="${c(R-g/2)}" width="${c(o)}" height="${c(g)}" fill="${a}"${Ie}/>`+Z(r,f,R,' class="pele-label" fill="var(--_bg)"')),ne+="</g>"}let ue=Array.from({length:O},()=>[]);for(let t of i)ue[t.lane].push(t.m);if(A)for(let t of ue)t.sort((r,a)=>r-a);let Ee=(t,r,a)=>{let s=ue[t],o=0,g=s.length;for(;o<g;){let $=o+g>>1;s[$]<=r?o=$+1:g=$}return o<s.length&&s[o]<a},be="",ye="";for(let t of i){let{commit:r}=t,a=Y[t.lane],s=t.m;for(let o=0;o<r.parents.length;o++){let g=d.get(r.parents[o]);if(g===void 0||g===t)continue;let $=Y[g.lane],f=g.m;if(g.lane===t.lane){ye+=`<path class="pele-edge" d="M${G(f,$)}L${G(s,a)}" stroke="${ie(t.lane)}"/>`;continue}let R=o>0&&r.type===w.MERGE,F=o>0&&!R,P=`M${G(f,$)}`;if(s<=f){let h=(f+s)/2;P+=`C${G(h,$)} ${G(h,a)} ${G(s,a)}`}else if(!R&&!Ee(t.lane,f,s)){let h=Math.min(he,s-f);P+=`C${G(f+h/2,$)} ${G(f+h/2,a)} ${G(f+h,a)}L${G(s,a)}`}else{let h=g.lane<t.lane&&s-V[t.index]>f?s-V[t.index]:s,y=Math.min(he,h-f),S=$;(!R||Ee(g.lane,f,s))&&(S=$>a?a+B[t.lane]+de/2:a-b[t.lane]-de/2,y=Math.min(he,(h-f)/2),P+=`C${G(f+y/2,$)} ${G(f+y/2,S)} ${G(f+y,S)}`),P+=`L${G(h-y,S)}C${G(h-y/2,S)} ${G(h-y/2,a)} ${G(h,a)}`,h<s&&(P+=`L${G(s,a)}`)}be+=`<path class="pele-edge${R?" pele-edge-merge":F?" pele-edge-cherry-pick":""}" d="${P}" stroke="${ie(R?g.lane:t.lane)}"${F?' stroke-dasharray="4 3"':""}/>`}}let $e="";for(let t of i){let{commit:r,label:a,tags:s}=t,o=z(t.m,Y[t.lane]),g=K(t.m,Y[t.lane]),$=r.customType??r.type;j(o-E-1,g-E-1,o+E+1,g+E+1);let R=r.type<w.MERGE&&r.message!==""?`<title>${me(r.message)}</title>`:"";if(R+=dt($,o,g,ie(t.lane)),a!==void 0&&a.lines.length>0){let h=a.width,y=a.height,S=(C,k)=>`<rect x="${c(C-h/2-2)}" y="${c(k-y/2+2)}" width="${c(h+4)}" height="${c(y-4)}" rx="3" fill="var(--_bg)"/>`;if(I){let C=we*y/2,k=u?o-E-3-C:o+3,T=u?g:g+E+3+C,Ge=we*h+C;j(k-Ge,_?T-Ge:T-C,k+C,_?T+C:T+Ge),R+=`<g class="pele-commit-label" transform="rotate(${_?45:-45} ${c(k)} ${c(T)})">`+S(k-h/2,T)+Z(a,k-h/2,T,"")+"</g>"}else{let C=u?o-E-6-h/2:o,k=u?g:g+E+6+y/2;j(C-h/2,k-y/2,C+h/2,k+y/2),R+=`<g class="pele-commit-label">${S(C,k)}${Z(a,C,k,"")}</g>`}}let F=E+tt;for(let h=u?0:s.length-1;h>=0&&h<s.length;h+=u?1:-1){let y=s[h],S=rt(y),C=y.height,k=u?o+F:o-S/2,T=u?g:g-F-C/2;F+=u?S+4:C+3,j(k,T-C/2,k+S,T+C/2),R+=`<g class="pele-tag"><path d="M${c(k)},${c(T)}L${c(k+se)},${c(T-C/2)}H${c(k+S)}V${c(T+C/2)}H${c(k+se)}Z" fill="var(--_s)" stroke="var(--_b)" stroke-linejoin="round"/><circle cx="${c(k+se)}" cy="${c(T)}" r="1.5" fill="var(--_b)"/>`+Z(y,k+se+4+y.width/2,T,' fill="var(--_fg)"')+"</g>"}let P=r.type===w.MERGE&&$!==w.MERGE?" pele-commit-merge":"";$e+=`<g class="pele-commit pele-commit-${nt[$]??nt[0]}${P}" data-id="${me(r.id)}">${R}</g>`}Q>te&&j(0,0,0,0);let re=Te(n.title,!1,M,L,4e3,1),Me=re.height>0?re.height+16:0,Re=Math.max(te-Q,re.width),ke=Math.ceil(Re+2*m),xe=Math.ceil(fe-le+Me+2*m),st=m-Q+(Re-(te-Q))/2,ot=m+Me-le,ct=Z(re,ke/2,m+re.height/2,' class="pele-title" font-weight="var(--_tw)"')+`<g transform="translate(${c(st)},${c(ot)})">`+(ne?`<g class="pele-branches" fill="none" font-size="${ee}">${ne}</g>`:"")+(be||ye?`<g class="pele-edges" fill="none" stroke-width="2" stroke-linecap="round">${be}${ye}</g>`:"")+($e?`<g class="pele-commits" font-size="${x}" fill="var(--_m)">${$e}</g>`:"")+"</g>";return{svg:ve("gitGraph",ke,xe,L,l,n,ct),width:ke,height:xe,links:[]}}var It={type:"gitGraph",parse:(n,e,l)=>Xe(et(n),e,l),render:at};export{It as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as Lt,b as St,c as Ct}from"./SXSLPWUD.js";import{a as Rt}from"./PDMLSE6I.js";import{c as It,d as lt,e as et}from"./VSWIZJ7B.js";import{b as Ot,d as Pt}from"./DKTLEL5E.js";import{c as kt,d as s,e as j,i as Nt,l as _t,m as vt,t as Ft,u as ct,v as Tt}from"./KHUP5TOH.js";import{a as $t,k as xt,p as At}from"./YWXUFHC7.js";var Qt=11,nt=class{type="mindmap";title;nodes=[];getType=Lt;baseLevel=0;open=[];addNode(c,i,g,b){let k=this.nodes.length===0;k&&(this.baseLevel=c),c-=this.baseLevel;let f=this.open,$=f.length;for(;$>0&&f[$-1].level>=c;)$--;let w=f[$-1];if(!w&&!k)throw new $t(`There can be only one root. No parent could be found for ("${g}")`,"semantic",{type:"mindmap"});let T={id:this.nodes.length,nodeId:i,level:c,descr:g,type:b,children:[],isRoot:k};w&&(T.section=w.isRoot?w.children.length%Qt:w.section,w.children.push(T)),f.length=$,f.push(T),this.nodes.push(T)}decorateNode(c){let i=this.nodes[this.nodes.length-1];!c||!i||(c.icon&&(i.icon=c.icon),c.class&&(i.class=c.class))}};function Dt(p,c){St(p,c,!1)}var Vt=["","rounded","rect","circle","cloud","bang","hex"],Et="stadium",qt=36,Jt=8,Kt=18,Zt=52,Gt=28,Ht=6,te=12,ee=.22,dt=6,mt=28,Wt=12,zt=8,Xt=10;function ne(p,c,i,g){if(p.lines.length<2)return j(p,c+p.width/2,i,' class="pele-label"',g);let b="",k=i-p.height/2;for(let f=0;f<p.lines.length;f++)b+=j(vt(p,f),c+p.widths[f]/2,k+_t(p,f),' class="pele-label"',g);return b}function jt(p,c,i){return Pt(i,g=>oe(p,c,i,g))}function oe(p,c,i,g){let b=i.fontSize??16,k=i.measurer??At(i.fontFamily,i.fontFamilyMono),f=i.padding??8,$=i.icons,w=c.mindmap?.maxNodeWidth,T=typeof w=="number"&&w>0?Math.min(w,2e3):200,D=b*1.25,N=p.nodes,o=N.length,R=new Int32Array(o),Y=new Int32Array(o);for(let e=0;e<o;e++)for(let t of N[e].children)R[t.id]=e,Y[t.id]=Y[e]+1;let Yt=g&&i.maxWidth!==void 0&&i.maxWidth>0?i.maxWidth-2*f:1/0,ht=new Array(o),B=new Array(o),d=new Float64Array(o),m=new Float64Array(o),U=new Float64Array(o),_=new Float64Array(o),Q=new Uint8Array(o);for(let e=0;e<o;e++){let t=N[e];Q[e]=t.icon!==void 0&&xt(t.icon)!==""?1:0;let l=Math.min(T,Math.max(72,Yt-Y[e]*mt-2*Ht-(Q[e]?D+dt:0))),r=ht[e]=Nt(t.descr,!0,k,b,l),y=r.width+(Q[e]?D+(r.width>0?dt:0):0),M=Math.max(r.height,Math.round(b*1.5)),n=Vt[t.type]||(e===0?Et:"");if(g&&e===0&&n!=="rect"&&n!=="rounded"&&(n=Et),B[e]=n,n===""){let a=t.children.length>0;d[e]=y+2*(a?te:Ht),m[e]=M+(a?6:0),_[e]=m[e]/2}else{let a=It(n,y,M);d[e]=a.w,m[e]=a.h,U[e]=a.dy,_[e]=a.h/2}}let E=new Float64Array(o),G=new Float64Array(o),V=new Float64Array(o),pt=new Float64Array(o),ft=0,gt=(e,t,l,r)=>{let y=0,M=0;for(let h=t;h<l;h++){let x=e[h].id;G[x]=y,M=e[h].children.length>0||h+1<l&&e[h+1].children.length>0?Math.max(r,Kt):r,y+=E[x]+M}ft=y-M;let n=e[t].id,a=e[l-1].id;return(G[n]+V[n]+_[n]+G[a]+V[a]+_[a])/2};for(let e=o-1;e>0;e--){let t=N[e].children;if(t.length===0){E[e]=m[e];continue}let l=gt(t,0,t.length,Jt)-_[e],r=Math.min(0,l);E[e]=Math.max(ft,l+m[e])-r,V[e]=l-r,pt[e]=-r}let I=new Float64Array(o),O=new Float64Array(o),q=new Float64Array(o),H=new Int8Array(o),ut=new Float64Array(o);if(g){let e=0;for(let t=0;t<o;t++)t>0&&R[t]===0&&(e+=Xt),I[t]=Y[t]*mt+d[t]/2,O[t]=e,e+=m[t]+Xt}else if(o>0){let e=N[0].children,t=e.length,l=0;for(let n of e)l+=E[n.id];let r=t,y=1/0,M=0;for(let n=1;n<t;n++){M+=E[e[n-1].id];let a=Math.abs(2*M-l+(2*n-t)*Gt);a<y&&(y=a,r=n)}for(let n=0,a=r,h=1;n<t;n=a,a=t,h=-1){let x=gt(e,n,a,Gt);for(let A=n;A<a;A++){let L=e[A].id;q[L]=G[L]-x,H[L]=h}}O[0]=-m[0]/2;for(let n=0;n<o;n++){n>0&&(O[n]=q[n]+V[n]);for(let a of N[n].children){let h=a.id;n>0&&(H[h]=H[n],q[h]=q[n]+pt[n]+G[h]),I[h]=I[n]+H[h]*(d[n]/2+(n>0?qt:Zt)+d[h]/2)}}}let W=0,J=0,K=0,ot=0,it="",Z="",tt="",P="",Bt=e=>{tt!==""&&(it+=`<g class="pele-branch pele-section-${e??0}"><g class="pele-edges" fill="none" stroke="${P}" stroke-width="1.5">${Z}</g>${tt}</g>`,Z=tt="")};for(let e=1;e<=o;e++){let t=e%o,l=N[t],r=B[t],y=ht[t],M=I[t],n=O[t];if(W=Math.min(W,M-d[t]/2),J=Math.max(J,M+d[t]/2),K=Math.min(K,n),ot=Math.max(ot,n+m[t]),(t===0||R[t]===0)&&Bt(N[e-1].section),t>0&&g){R[t]===0&&(P=ct(l.section??0));let u=R[t],S=u===0?Math.min(Math.max(Wt,m[0]/2),mt-zt):Wt,F=I[u]-d[u]/2+Math.min(S,d[u]/2),X=ut[u]||O[u]+m[u],at=M-d[t]/2+(r?et(r,d[t],m[t],3):0),v=n+_[t],C=Math.max(0,Math.min(zt,at-F,v-X));ut[u]=v-C,Z+=`<path class="pele-edge" d="M${s(F)},${s(X)}V${s(v-C)}Q${s(F)},${s(v)} ${s(F+C)},${s(v)}H${s(at)}"/>`}else if(t>0){R[t]===0&&(P=ct(l.section??0));let u=R[t],S=H[t],F=S>0?1:3,X=I[u]+S*(d[u]/2-(B[u]?et(B[u],d[u],m[u],F):0)),rt=O[u]+_[u],v=M-S*d[t]/2+(r?S*et(r,d[t],m[t],4-F):0),C=n+_[t],wt=s((X+v)/2);Z+=`<path class="pele-edge" d="M${s(X)},${s(rt)}C${wt},${s(rt)} ${wt},${s(C)} ${s(v)},${s(C)}"/>`}let a=!r&&l.children.length>0,h=` fill="${P}" fill-opacity="${ee}" stroke="${P}"`,x="";r?x=t>0?lt(r,d[t],m[t],h,` stroke="${P}"`):lt(r,d[t],m[t],' fill="var(--_s)" stroke="var(--_b)"',' stroke="var(--_b)"'):a&&(x=`<rect x="${s(-d[t]/2)}" y="${s(-m[t]/2)}" width="${s(d[t])}" height="${s(m[t])}" rx="${s(m[t]/2)}"${h}/>`);let A=0;l.icon&&Q[t]&&(A=(D+(y.width>0?dt:0))/2,x+=Ct(l.icon,-A-y.width/2,U[t]-D/2,D,$));let L=`<g class="pele-node pele-shape-${r||(a?"branch":"text")}${t>0?"":" pele-root"}${Ft(l.class??"")}" data-id="${kt(l.nodeId)}" transform="translate(${s(M)},${s(n+m[t]/2)})">`+x+(g&&!r?ne(y,A-y.width/2,U[t],$):j(y,A,U[t],' class="pele-label"',$))+"</g>";t>0?tt+=L:it+=L}let z=Rt(p.title,k,b,Ot(i)),yt=z.height>0?z.height+16:0,Mt=Math.max(J-W,z.width),st=Math.ceil(Mt+2*f),bt=Math.ceil(ot-K+yt+2*f),Ut=j(z,st/2,f+z.height/2,' class="pele-title" font-weight="var(--_tw)"')+`<g transform="translate(${s(f-W+(Mt-J+W)/2)},${s(f+yt-K)})">${it}</g>`;return{svg:Tt("mindmap",st,bt,b,i,{},Ut),width:st,height:bt,links:[]}}var ke={type:"mindmap",math:!0,parse(p,c,i){let g=new nt;return g.title=i,Dt(p,g),g},render:jt};export{ke as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function e(n){return n<128?n===32||n>=9&&n<=13:n===160||n===5760||n>=8192&&n<=8202||n===8232||n===8233||n===8239||n===8287||n===12288||n===65279}function r(n){return n===32||n===9}function o(n){return n===10||n===13||n===8232||n===8233}function t(n){return n>=48&&n<=57}function u(n){return n>=65&&n<=90||n>=97&&n<=122}function x(n){return n>=48&&n<=57||n>=65&&n<=70||n>=97&&n<=102}function i(n){return n>=48&&n<=57||n>=65&&n<=90||n>=97&&n<=122||n===95}export{e as a,r as b,o as c,t as d,u as e,x as f,i as g};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a}from"./7HQPULDG.js";import"./D5TW5CPZ.js";import"./DKTLEL5E.js";import"./IU7WZTP6.js";import"./UWRPUF3N.js";import"./2CHDFZHC.js";import"./KHUP5TOH.js";import"./YWXUFHC7.js";export{a as wardley};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a}from"./673H7YBG.js";import"./OHJ2EJXK.js";import"./GUJTEFZK.js";import"./DKTLEL5E.js";import"./UWRPUF3N.js";import"./2CHDFZHC.js";import"./KHUP5TOH.js";import"./YWXUFHC7.js";export{a as ishikawa};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import{g}from"./YWXUFHC7.js";var b=new WeakMap;function S(n){let e=n.map((r,i)=>i),o=[];for(let r=0;r<128;r++){let i=String.fromCharCode(r);o.push(e.filter(l=>{let{pattern:a,first:d}=n[l];return typeof a=="string"?a[0]===i:d===void 0||d.includes(i)}))}let t={starting:o,every:e,longer:n.map(r=>r.longer?.map(i=>n.indexOf(i)))};return b.set(n,t),t}function D(n,e,o){let t=[],r=[],i=[],l=new Uint8Array(e.length),{starting:a,every:d,longer:C}=b.get(e)??S(e),I=[],T=n.length,m=(f,c)=>{if(l[f])return-1;let s=e[f];if(s.match!==void 0)return s.match(n,c,t[t.length-1]??-1);if(s.scanner!==void 0)return(I[f]??=s.scanner())(n,c,t[t.length-1]??-1);let u=s.pattern;return typeof u=="string"?n.startsWith(u,c)?c+u.length:-1:(u.lastIndex=c,u.test(n)?u.lastIndex:(s.opener!==void 0&&(s.opener.lastIndex=c,s.opener.test(n)&&(l[f]=1)),-1))},p=0;n:for(;p<T;){let f=n.charCodeAt(p);for(let c of f<128?a[f]:d){let s=m(c,p);if(s<=p)continue;let u=c,y=C[c];if(y!==void 0)for(let k of y){let E=m(k,p);if(E>s){u=k,s=E;break}}e[u].hidden||(t.push(u),r.push(p),i.push(s)),p=s;continue n}throw g(o,n,p,"",!0)}return t.push(-1),r.push(T),i.push(T),{kinds:t,starts:r,ends:i,src:n}}var M={name:"ACC_DESCR",pattern:/[\t ]*accDescr(?:[\t ]*:([^\n\r]*?(?=%%)|[^\n\r]*)|\s*{([^}]*)})/y,first:" a"},$={name:"ACC_TITLE",pattern:/[\t ]*accTitle[\t ]*:(?:[^\n\r]*?(?=%%)|[^\n\r]*)/y,first:" a"},L={name:"TITLE",pattern:/[\t ]*title(?:[\t ][^\n\r]*?(?=%%)|[\t ][^\n\r]*|)/y,first:" t"};function v(n){return{...L,pattern:new RegExp(String.raw`[\t ]*title(?:[\t ][^\n\r]*?(?=%%)|[\t ][^\n\r]*|(?!${n}))`,"y")}}var V={name:"STRING",pattern:/"([^"\\]|\\.)*"|'([^'\\]|\\.)*'/y,first:`"'`},W={name:"NEWLINE",pattern:/\r?\n/y,first:`\r
|
|
2
|
+
`},G={name:"WHITESPACE",pattern:/[\t ]+/y,hidden:!0,first:" "},O={name:"YAML",pattern:/---[\t ]*\r?\n(?:[\S\s]*?\r?\n)?---(?:\r?\n|(?!\S))/y,hidden:!0,opener:/---[\t ]*\r?\n/y,first:"-"},P={name:"DIRECTIVE",pattern:/[\t ]*%%{[\S\s]*?}%%(?:\r?\n|(?!\S))/y,hidden:!0,opener:/[\t ]*%%{/y,first:" %"},H={name:"SINGLE_LINE_COMMENT",pattern:/[\t ]*%%[^\n\r]*/y,first:" %",hidden:!0};function Y(n){return{name:n,pattern:new RegExp(n.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")+"(?:(?=%%)|(?!\\S))","y"),first:n[0]}}var _=/accDescr(?:[\t ]*:([^\n\r]*)|\s*{([^}]*)})/,A=/accTitle[\t ]*:([^\n\r]*)/,R=/title([\t ][^\n\r]*|)/;function h(n){return n.trim().replace(/[\t ]{2,}/gm," ")}function z(n){return h(R.exec(n)[1])}function B(n){return h(A.exec(n)[1])}function U(n){let e=_.exec(n);return e[1]!==void 0?h(e[1]):e[2].replace(/^\s*/gm,"").replace(/\s+$/gm,"").replace(/[\t ]{2,}/gm," ").replace(/[\n\r]{2,}/gm,`
|
|
3
|
+
`)}var N=new Map([["b","\b"],["f","\f"],["n",`
|
|
4
|
+
`],["r","\r"],["t"," "],["v","\v"],["0","\0"]]);function j(n){if(!n.includes("\\"))return n.slice(1,-1);let e="";for(let o=1;o<n.length-1;o++){let t=n[o];if(t==="\\"){let r=n[++o];e+=N.get(r)??r}else e+=t}return e}var x=class{constructor(e,o,t){this.tokens=e;this.types=o;this.diagram=t;this.kinds=e.kinds}tokens;types;diagram;i=0;kinds;get kind(){return this.kinds[this.i]}text(e=this.i){return this.tokens.src.slice(this.tokens.starts[e],this.tokens.ends[e])}take(){return this.text(this.i++)}accept(e){return this.kinds[this.i]!==e?!1:(this.i++,!0)}expect(e){return this.kinds[this.i]!==e&&this.fail(`token of type '${this.types[e].name}'`),this.take()}fail(e){let o=this.kind===-1?"end of input":`\`${this.text()}\``,{src:t,starts:r,ends:i}=this.tokens,l=r[this.i];if(this.kind===-1){let a=this.i;for(;a>0&&t.slice(r[a-1],i[a-1]).trim()==="";)a--;a>0&&(l=i[a-1])}throw g(this.diagram,t,l,`Expecting ${e} but found ${o}.`)}};export{D as a,M as b,$ as c,L as d,v as e,V as f,W as g,G as h,O as i,P as j,H as k,Y as l,z as m,B as n,U as o,j as p,x as q};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import{a as Zt}from"./7OAKGN26.js";import{b as vt}from"./OHJ2EJXK.js";import{a as nn}from"./PDMLSE6I.js";import{a as me,d as We,g as Jt}from"./GUJTEFZK.js";import{b as cn,f as ln}from"./DKTLEL5E.js";import{g as Pe,k as kt}from"./UWRPUF3N.js";import{c as rn}from"./2CHDFZHC.js";import{b as en,c as Oe,d as l,e as le,i as tn,n as sn,o as Se,q as Mt,s as et,t as an,v as on}from"./KHUP5TOH.js";import{a as Lt,g as $t,p as Qt}from"./YWXUFHC7.js";var Mn="aliceblue antiquewhite aqua aquamarine azure beige bisque black blanchedalmond blue blueviolet brown burlywood cadetblue chartreuse chocolate coral cornflowerblue cornsilk crimson cyan darkblue darkcyan darkgoldenrod darkgray darkgreen darkgrey darkkhaki darkmagenta darkolivegreen darkorange darkorchid darkred darksalmon darkseagreen darkslateblue darkslategray darkslategrey darkturquoise darkviolet deeppink deepskyblue dimgray dimgrey dodgerblue firebrick floralwhite forestgreen fuchsia gainsboro ghostwhite gold goldenrod gray green greenyellow grey honeydew hotpink indianred indigo ivory khaki lavender lavenderblush lawngreen lemonchiffon lightblue lightcoral lightcyan lightgoldenrodyellow lightgray lightgreen lightgrey lightpink lightsalmon lightseagreen lightskyblue lightslategray lightslategrey lightsteelblue lightyellow lime limegreen linen magenta maroon mediumaquamarine mediumblue mediumorchid mediumpurple mediumseagreen mediumslateblue mediumspringgreen mediumturquoise mediumvioletred midnightblue mintcream mistyrose moccasin navajowhite navy oldlace olive olivedrab orange orangered orchid palegoldenrod palegreen paleturquoise palevioletred papayawhip peachpuff peru pink plum powderblue purple rebeccapurple red rosybrown royalblue saddlebrown salmon sandybrown seagreen seashell sienna silver skyblue slateblue slategray slategrey snow springgreen steelblue tan teal thistle tomato turquoise violet wheat white whitesmoke yellow yellowgreen transparent currentcolor inherit initial unset revert accentcolor accentcolortext activetext buttonborder buttonface buttontext canvas canvastext field fieldtext graytext highlight highlighttext linktext mark marktext selecteditem selecteditemtext visitedtext activeborder activecaption appworkspace background buttonhighlight buttonshadow captiontext inactiveborder inactivecaption inactivecaptiontext infobackground infotext menu menutext scrollbar threeddarkshadow threedface threedhighlight threedlightshadow threedshadow window windowframe windowtext",dn,vn=/^[+-]?(?:\d+(?:\.\d+)?|\.\d+)(?:e[+-]?\d+)?(%|deg|grad|rad|turn)?$/i;function un(r){if(r.toLowerCase()==="none")return 4;let e=vn.exec(r);return e?e[1]===void 0?1:e[1]==="%"?2:3:0}function Wn(r,e){let s=un(r);return s===1||s===2||e&&s===4}function Pn(r){let e=r.startsWith("hsl"),s=r.indexOf("("),a=r.slice(0,s);if(a!=="rgb"&&a!=="rgba"&&a!=="hsl"&&a!=="hsla"||r.length>120||r.indexOf(")")!==r.length-1)return!1;let f=r.slice(s+1,-1).trim(),d,E,n=f.includes(",");if(n)d=f.split(",").map(m=>m.trim()),d.length===4&&(E=d.pop());else{let m=f.split("/");if(m.length>2)return!1;d=m[0].trim().split(/\s+/),m.length===2&&(E=m[1].trim())}if(d.length!==3||E!==void 0&&!Wn(E,!n))return!1;let x=d.map(un);if(n)return e?(x[0]===1||x[0]===3)&&x[1]===2&&x[2]===2:(x[0]===1||x[0]===2)&&x[1]===x[0]&&x[2]===x[0];for(let m=0;m<3;m++){let N=x[m];if(!(N===1||N===4||(e&&m===0?N===3:N===2)))return!1}return!0}function fn(r){return r.includes("(")?Pn(r):(dn??=new Set(Mn.split(" ")),dn.has(r.toLowerCase()))}var Bn=/^:?wrap:/,qn=/^:?nowrap:/,Vn=/^:?(?:no)?wrap:/,Kn=/^(?:rgba?|hsla?)\s*\(/,pn=/[\r\u2028\u2029]/,Hn=/^\w*/;function Be(r){throw new Lt(r,"semantic",{type:"sequence"})}function hn(r){let e=r.trim(),s=Bn.test(e)?!0:qn.test(e)?!1:void 0;return{text:(s===void 0?e:e.replace(Vn,"")).trim(),wrap:s}}function Fn(r){let e=Kn.exec(r);if(e){let a=r.lastIndexOf(")");if(a>=e[0].length)return pn.test(r.slice(e[0].length))?void 0:[r.slice(0,a+1),r.slice(a+1)]}if(pn.test(r))return;let s=Hn.exec(r)[0];return[s,r.slice(s.length)]}function On(r){return typeof r=="string"?[...r].map((e,s)=>[String(s),e]):r!==null&&typeof r=="object"?Object.entries(r):[]}var tt=class{type="sequence";actors=new Map;createdActors=new Map;destroyedActors=new Map;boxes=[];messages=[];notes=[];title;accTitle;accDescr;prevActor;currentBox;lastCreated;lastDestroyed;wrapEnabled;sequenceWrap;active=new Map;constructor(e={}){this.wrapEnabled=e.wrap,this.sequenceWrap=e.sequenceWrap??!1}autoWrap(){return this.wrapEnabled??this.sequenceWrap}setAccTitle(e){this.accTitle=e.replace(/^\s+/g,"")}setAccDescription(e){this.accDescr=e.replace(/\n\s+/g,`
|
|
2
|
+
`)}setDiagramTitle(e){this.title=e}parseMessage(e){return hn(e)}parseBoxData(e){let s=Fn(e),a=s?.[0]?s[0].trim():"transparent",f=s?.[1]?s[1].trim():void 0;if(fn(a)||(a="transparent",f=e.trim()),f===void 0)return{text:void 0,color:a,wrap:void 0};let{text:d,wrap:E}=hn(f);return{text:d||void 0,color:a,wrap:E}}addBox(e){this.currentBox={name:e.text,wrap:e.wrap??this.autoWrap(),fill:e.color,actorKeys:[]},this.boxes.push(this.currentBox)}addActor(e,s,a,f,d){let E=this.currentBox,n;if(d!==void 0){let C;try{C=Zt(d.includes(`
|
|
3
|
+
`)?d+`
|
|
4
|
+
`:`{
|
|
5
|
+
`+d+`
|
|
6
|
+
}`)}catch($){throw new Lt(`Config of participant "${e}" is not valid YAML. ${$.message}`,"syntax",{type:"sequence"})}C!==null&&typeof C=="object"&&!Array.isArray(C)&&(n=C)}let x=n&&Object.prototype.hasOwnProperty.call(n,"type")?n.type:void 0,m=n&&Object.prototype.hasOwnProperty.call(n,"alias")?n.alias:void 0;x!=null&&(f=String(x)),m&&(!a||a.text===s)&&(a={text:String(m),wrap:a?.wrap,type:f});let N=this.actors.get(e);if(!(N&&(this.currentBox&&N.box&&this.currentBox!==N.box&&Be(`A same participant should only be defined in one Box: ${N.name} can't be in '${N.box.name}' and in '${this.currentBox.name}' at the same time.`),E=N.box?N.box:this.currentBox,N.box=E,s===N.name&&a==null))){if((a?.text==null||f==null)&&(a={text:s,type:f}),this.actors.set(e,{box:E,name:s,description:a.text,wrap:a.wrap??this.autoWrap(),prevActor:this.prevActor,links:new Map,properties:new Map,type:f??"participant"}),this.prevActor){let C=this.actors.get(this.prevActor);C&&(C.nextActor=e)}this.currentBox&&this.currentBox.actorKeys.push(e),this.prevActor=e}}addMessage(e,s,a,f){this.messages.push({id:String(this.messages.length),from:e,to:s,message:a.text,wrap:a.wrap??this.autoWrap(),answer:f})}addSignal(e,s,a,f,d=!1,E){if(f===18){let n=e?this.active.get(e)??0:0;n<1&&Be(`Trying to inactivate an inactive participant (${e})`),this.active.set(e,n-1)}else f===17&&e&&this.active.set(e,(this.active.get(e)??0)+1);return this.messages.push({id:String(this.messages.length),from:e,to:s,message:a?.text??"",wrap:a?.wrap??this.autoWrap(),type:f,activate:d,centralConnection:E??0}),!0}addNote(e,s,a){let f=a.wrap??this.autoWrap(),d={actor:e,placement:s,message:a.text,wrap:f},E=typeof e=="string"?[e,e]:e;this.notes.push(d),this.messages.push({id:String(this.messages.length),from:E[0],to:E[1],message:a.text,wrap:f,type:2,placement:s})}addLinks(e,s){let a=this.actors.get(e);if(a)try{let f=JSON.parse(s.text);for(let[d,E]of On(f))a.links.set(d,E)}catch{return}}addALink(e,s){let a=this.actors.get(e);if(!a)return;let f=s.text.indexOf("@");a.links.set(s.text.slice(0,f-1).trim(),s.text.slice(f+1).trim())}addProperties(e,s){let a=this.actors.get(e);if(a)try{let f=JSON.parse(s.text);for(let[d,E]of On(f))a.properties.set(d,E)}catch{return}}addDetails(e,s){let a=this.actors.get(e);a&&(a.details=s.text)}apply(e){let s=[],a=[],f=e;for(;;){f!==void 0&&(Array.isArray(f)?(s.push(f),a.push(0)):typeof f!="string"&&this.applyOne(f));let d=s.length-1;if(d<0)return;let E=s[d];a[d]<E.length?f=E[a[d]++]:(s.pop(),a.pop(),f=void 0)}}applyOne(e){let s=e.actor;switch(e.type){case"sequenceIndex":this.messages.push({id:String(this.messages.length),from:void 0,to:void 0,message:{start:e.sequenceIndex,step:e.sequenceIndexStep,visible:e.sequenceVisible===!0},wrap:!1,type:e.signalType});break;case"addParticipant":this.addActor(s,s,e.description,e.draw,e.config);break;case"createParticipant":this.actors.has(s)&&Be("It is not possible to have actors with the same id, even if one is destroyed before the next is created. Use 'AS' aliases to simulate the behavior"),this.lastCreated=s,this.addActor(s,s,e.description,e.draw,e.config),this.createdActors.set(s,this.messages.length);break;case"destroyParticipant":this.lastDestroyed=s,this.destroyedActors.set(s,this.messages.length);break;case"activeStart":case"activeEnd":case"centralConnection":case"centralConnectionReverse":this.addSignal(s,void 0,void 0,e.signalType);break;case"addNote":this.addNote(e.actor,e.placement,e.text);break;case"addLinks":this.addLinks(s,e.text);break;case"addALink":this.addALink(s,e.text);break;case"addProperties":this.addProperties(s,e.text);break;case"addDetails":this.addDetails(s,e.text);break;case"addMessage":this.lastCreated?(e.to!==this.lastCreated&&Be(`The created participant ${this.lastCreated} does not have an associated creating message after its declaration. Please check the sequence diagram.`),this.lastCreated=void 0):this.lastDestroyed&&(e.to!==this.lastDestroyed&&e.from!==this.lastDestroyed&&Be(`The destroyed participant ${this.lastDestroyed} does not have an associated destroying message after its declaration. Please check the sequence diagram.`),this.lastDestroyed=void 0),this.addSignal(e.from,e.to,e.msg,e.signalType,e.activate,e.centralConnection);break;case"boxStart":this.addBox(e.boxData);break;case"boxEnd":this.currentBox=void 0;break;case"loopStart":this.addSignal(void 0,void 0,e.loopText,e.signalType);break;case"rectStart":this.addSignal(void 0,void 0,e.color,e.signalType);break;case"optStart":this.addSignal(void 0,void 0,e.optText,e.signalType);break;case"altStart":case"else":this.addSignal(void 0,void 0,e.altText,e.signalType);break;case"parStart":case"and":this.addSignal(void 0,void 0,e.parText,e.signalType);break;case"criticalStart":this.addSignal(void 0,void 0,e.criticalText,e.signalType);break;case"option":this.addSignal(void 0,void 0,e.optionText,e.signalType);break;case"breakStart":this.addSignal(void 0,void 0,e.breakText,e.signalType);break;case"loopEnd":case"rectEnd":case"optEnd":case"altEnd":case"parEnd":case"criticalEnd":case"breakEnd":this.addSignal(void 0,void 0,void 0,e.signalType);break}}};var Wt=["$end","INVALID","INVALID","NEWLINE","SD","create","box","restOfLine","end","autonumber","NUM","off","activate","deactivate","title","legacy_title","acc_title","acc_title_value","acc_descr","acc_descr_value","acc_descr_multiline_value","loop","rect","opt","alt","par","par_over","critical","break","option","and","else","participant","AS","participant_actor","destroy","note","over","links","link","properties","details",",","left_of","right_of","+","-","()","ACTOR","CONFIG_START","CONFIG_CONTENT","CONFIG_END","TXT","SOLID_OPEN_ARROW","DOTTED_OPEN_ARROW","SOLID_ARROW","BIDIRECTIONAL_SOLID_ARROW","DOTTED_ARROW","BIDIRECTIONAL_DOTTED_ARROW","SOLID_CROSS","DOTTED_CROSS","SOLID_POINT","DOTTED_POINT","SOLID_ARROW_TOP","SOLID_ARROW_BOTTOM","STICK_ARROW_TOP","STICK_ARROW_BOTTOM","SOLID_ARROW_TOP_DOTTED","SOLID_ARROW_BOTTOM_DOTTED","STICK_ARROW_TOP_DOTTED","STICK_ARROW_BOTTOM_DOTTED","SOLID_ARROW_TOP_REVERSE","SOLID_ARROW_BOTTOM_REVERSE","STICK_ARROW_TOP_REVERSE","STICK_ARROW_BOTTOM_REVERSE","SOLID_ARROW_TOP_REVERSE_DOTTED","SOLID_ARROW_BOTTOM_REVERSE_DOTTED","STICK_ARROW_TOP_REVERSE_DOTTED","STICK_ARROW_BOTTOM_REVERSE_DOTTED"];var gn=new Uint8Array(128);for(let r=0;r<128;r++){let e=String.fromCharCode(r),s=r===32||r>=9&&r<=13,a=0;`/\\+()<->:
|
|
7
|
+
,;`.includes(e)||(a|=1),`+<->:
|
|
8
|
+
,;`.includes(e)||(a|=2),`<>:
|
|
9
|
+
,;@`.includes(e)||(a|=8|(s?0:4)),`#
|
|
10
|
+
;`.includes(e)||(a|=16),!`/\\+()<>:
|
|
11
|
+
,;-`.includes(e)&&!s&&(a|=32),gn[r]=a}function _n(r){let e=r.length,s=[],a=[],f=[],d=[],E=0,n=0,x=-1,m=(i,_,u)=>{s.push(i),a.push(r.slice(_,u)),f.push(_),n=u},N=(i,_,u,I)=>{s.push(i),a.push(I),f.push(_),n=u},C=i=>{d.push(E),E=i},$=()=>{d.length>0&&(E=d.pop())},V=i=>(x<i&&(x=r.indexOf(`
|
|
12
|
+
`,i),x===-1&&(x=e)),x),P=(i,_)=>{let u=r.charCodeAt(i);return u<128?(gn[u]&_)!==0:_===4||_===32?!me(u):!0},re=(i,_)=>{for(let u=0;u<_.length;u++){let I=_.charCodeAt(u),k=r.charCodeAt(i+u);if(I>=97&&I<=122?(k|32)!==I:k!==I)return!1}return!0},be=i=>re(n,i)&&!Jt(r.charCodeAt(n+i.length)),se=i=>{for(;i<e&&me(r.charCodeAt(i));)i++;return i},K=()=>{let i=n;for(;i<e;){let _=r.charCodeAt(i);if(_===10||!me(_))break;i++}return i===n?!1:(n=i,!0)},b=i=>{for(;i<e&&P(i,16);)i++;return i},S=(i,_,u)=>{m(i,n,n+_),C(u)},p=(i,_,u=-1)=>be(i)?(m(_,n,n+i.length),u>=0&&C(u),!0):!1,w=(i,_)=>{if(!re(n,i))return!1;let u=n+i.length,I=r.charCodeAt(u);if(I!==32&&I!==9)return!1;for(;I===32||I===9;)I=r.charCodeAt(++u);return u>=e||!P(u,32)?!1:(m(_,n,n+i.length),!0)},B=i=>{let _=r.charCodeAt(i),u=r.charCodeAt(i+1);if(_===45){if(u===120||u===88||u===41||u===92||u===47||u===45)return!0;let I=r.charCodeAt(i+2);return u===124&&(I===92||I===47)}return _===47||_===92?(u===124||u===_)&&r.charCodeAt(i+2)===45:_===40&&u===41},Q=()=>{let i=n+1;for(;i<e&&P(i,1);)i++;for(;i<e&&!B(i);){let _=i;for(;r.charCodeAt(_)===45;)_++;if(_>=e||!P(_,2))break;for(_++;_<e&&P(_,2);)_++;i=_}N(48,n,i,r.slice(n,i).trim())},q=()=>{let i=n;for(;We(r.charCodeAt(i));)i++;let _=i>n;if(r.charCodeAt(i)===46&&We(r.charCodeAt(i+1))){let I=We(r.charCodeAt(i+2))?i+3:i+2,k=r.charCodeAt(I);if(k===32||k===10)return m(10,n,I),!0}let u=r.charCodeAt(i);return _&&(u===32||u===10)?(m(10,n,i),!0):!1},j=()=>{let i=r.charCodeAt(n+1),_=r.charCodeAt(n+2);if(i===62)m(_===62?55:53,n,n+(_===62?3:2));else if(i===120||i===88)m(59,n,n+2);else if(i===41)m(61,n,n+2);else if(i===124&&_===92)m(63,n,n+3);else if(i===124&&_===47)m(64,n,n+3);else if(i===92&&_===92)m(65,n,n+3);else if(i===47&&_===47)m(66,n,n+3);else if(i===45){let u=r.charCodeAt(n+3);_===62?m(u===62?57:54,n,n+(u===62?4:3)):_===120||_===88?m(60,n,n+3):_===41?m(62,n,n+3):_===124&&u===92?m(67,n,n+4):_===124&&u===47?m(68,n,n+4):_===92&&u===92?m(69,n,n+4):_===47&&u===47?m(70,n,n+4):m(46,n,n+1)}else m(46,n,n+1)},de=i=>{let _=r.charCodeAt(n+1);if(_!==124&&_!==i||r.charCodeAt(n+2)!==45)return!1;let u=r.charCodeAt(n+3)===45,I=i===47,k;return _===124?u?k=I?75:76:k=I?71:72:u?k=I?77:78:k=I?73:74,m(k,n,n+(u?4:3)),!0},Ve=()=>{if(!re(n,"title"))return!1;let i=n+5,_=r.charCodeAt(i)===58;_&&i++;let u=i;for(;u<e&&r.charCodeAt(u)!==10&&me(r.charCodeAt(u));)u++;if(u===e||r.charCodeAt(u)===10)return n=u,!0;let I=r.charCodeAt(i);return!me(I)||I===13||!P(i+1,16)?!1:(m(_?15:14,n,b(i+1)),!0)},G=()=>{let i=re(n,"accdescr");if(!i&&!re(n,"acctitle"))return!1;let _=se(n+8),u=r.charCodeAt(_);return u===58?(m(i?18:16,n,se(_+1)),C(i?6:5),!0):i&&u===123?(n=se(_+1),C(7),!0):!1},ee=i=>{switch(i|32){case 97:return p("actor",34,1)||p("alt",24,3)||p("and",30,3)||p("activate",12,1)||G()||p("autonumber",9);case 98:return p("box",6,3)||p("break",28,3);case 99:return p("create",5)||p("critical",27,3);case 100:return p("destroy",35,1)||w("details",41)||p("deactivate",13,1);case 101:return p("else",31,3)||p("end",8);case 108:return p("loop",21,3)||p("left of",43)||w("links",38)||w("link",39);case 110:return p("note",36);case 111:return p("opt",23,3)||p("option",29,3)||p("over",37)||p("off",11);case 112:return p("participant",32,1)||p("par",25,3)||p("par_over",26,3)||w("properties",40);case 114:return p("rect",22,3)||p("right of",44);case 115:return p("sequencediagram",4);case 116:return Ve();default:return!1}},ke=()=>{let i=r.charCodeAt(n);if(i===10){let _=n+1;for(;r.charCodeAt(_)===10;)_++;m(3,n,_);return}if(me(i)){n=se(n+1);return}if(i===35||i===37&&r.charCodeAt(n+1)!==123){n=V(n);return}if(!((We(i)||i===46)&&q())&&!(i<128&&(i|32)>=97&&(i|32)<=122&&ee(i)))if(i===44)m(42,n,n+1);else if(i===59)m(3,n,n+1);else if(P(n,1))Q();else if(i===45)j();else if(i===60&&r.startsWith("<<->>",n))m(56,n,n+5);else if(i===60&&r.startsWith("<<-->>",n))m(58,n,n+6);else{if((i===47||i===92)&&de(i))return;i===58?m(52,n,b(n+1)):i===43?m(45,n,n+1):i===40&&r.charCodeAt(n+1)===41?m(47,n,n+2):m(2,n,n+1)}},Te=()=>{if(K())return!0;let i=r.charCodeAt(n);if(i===35)return n=V(n),!0;if(i===64&&r.charCodeAt(n+1)===123)return S(49,2,4),!0;let _=n;for(;_<e&&P(_,4);)_++;if(_>n){let I=se(_);if(r.charCodeAt(I)===64&&r.charCodeAt(I+1)===123)return m(48,n,_),!0;if(I>_&&re(I,"as")&&me(r.charCodeAt(I+2)))return m(48,n,_),C(2),!0}let u=_;for(;u<e&&P(u,8);)u++;if(u>n){let I=r.charCodeAt(u),k=u;if(u<e&&I!==10&&I!==59)for(k--;k>n&&r.charCodeAt(k)!==35;)k--;if(k>n)return N(48,n,k,r.slice(n,k).trim()),$(),!0}if(r.charCodeAt(u)===60)return m(2,n,V(n)),$(),!0;if(i!==10){let I=V(n);return N(2,n,I,r.slice(n,I).trim()),$(),!0}return!1},Me=()=>{switch(E){case 0:return ke(),!0;case 1:return Te();case 2:return K()?!0:r.charCodeAt(n)===35?(n=V(n),!0):($(),$(),be("as")?S(33,2,3):m(3,n,n),!0);case 3:return K()?!0:r.charCodeAt(n)===35?(n=V(n),!0):(m(7,n,b(n)),$(),!0);case 4:if(r.charCodeAt(n)!==125){let i=r.indexOf("}",n);return i===-1&&(i=e),m(50,n,i),!0}else{let i=se(n+1),_=i>n+1&&re(i,"as")&&me(r.charCodeAt(i+2));return m(51,n,n+1),$(),_?C(2):$(),!0}case 5:case 6:return m(E===5?17:19,n,V(n)),$(),!0;default:if(r.charCodeAt(n)===125)n++,$();else{let i=r.indexOf("}",n);i===-1&&(i=e),m(20,n,i)}return!0}};for(;n<e;)if(!Me())return s.push(1),a.push(""),f.push(n),{types:s,texts:a,starts:f};return E===0||E===2?m(3,e,e):E===3?m(7,e,e):E===5?m(17,e,e):E===6?m(19,e,e):E===7&&m(20,e,e),s.push(0),a.push(""),f.push(e),{types:s,texts:a,starts:f}}var W=new Int8Array(79).fill(-1);W[53]=5;W[54]=6;W[55]=0;W[57]=1;W[56]=33;W[58]=34;W[59]=3;W[60]=4;W[61]=24;W[62]=25;W[63]=41;W[64]=42;W[65]=43;W[66]=44;W[67]=51;W[68]=52;W[69]=53;W[70]=54;W[71]=45;W[72]=46;W[73]=47;W[74]=48;W[75]=55;W[76]=56;W[77]=57;W[78]=58;var ge=new Int8Array(79).fill(-1);ge[21]=2;ge[22]=3;ge[23]=4;ge[28]=5;ge[24]=6;ge[25]=7;ge[26]=7;ge[27]=8;ge[6]=1;var zn="'SOLID_OPEN_ARROW', 'DOTTED_OPEN_ARROW', 'SOLID_ARROW', 'DOTTED_ARROW', 'SOLID_CROSS', 'DOTTED_CROSS', 'SOLID_POINT', 'DOTTED_POINT'";function mn(r,e){let{types:s,texts:a,starts:f}=_n(r),d=0,E=b=>{let S=s[d];throw S===1?$t("sequence",r,f[d],"",!0):$t("sequence",r,f[d],`Expecting ${b}, got '${Wt[S]}'`)},n=b=>(s[d]!==b&&E(`'${Wt[b]}'`),a[d++]),x=()=>{let b=s[d];return b!==48&&b!==39&&E("'ACTOR'"),{type:"addParticipant",actor:a[d++]}},m=()=>e.parseMessage(n(52).trim().substring(1)),N=()=>{let b=s[d++];if(b===35){let p=x();return n(3),p.type="destroyParticipant",p}let S=x();if(s[d]===49&&s[d-1]===48){d++;let p=n(50);n(51),S.config=p.trim()}if(S.draw=b===32?"participant":"actor",s[d]===33){d++;let p=n(7);n(3),S.description=e.parseMessage(p)}else s[d]===3?d++:E("'AS', 'NEWLINE'");return S},C=b=>{let S=!1;s[d]===47&&(S=!0,d++);let p=W[s[d]];p<0&&E(zn),d++;let w=s[d];(w===47||!S&&(w===45||w===46))&&d++;let B=x(),Q=m(),q={type:"addMessage",from:b.actor,to:B.actor,signalType:p,msg:Q},j=[b,B,q];if(S){let de=w===47;q.activate=de,q.centralConnection=de?61:60,de&&j.push({type:"centralConnection",signalType:59,actor:B.actor}),j.push({type:"centralConnectionReverse",signalType:60,actor:b.actor})}else w===45?(q.activate=!0,j.push({type:"activeStart",signalType:17,actor:B.actor})):w===46?j.push({type:"activeEnd",signalType:18,actor:b.actor}):w===47&&(q.activate=!0,q.centralConnection=59,j.push({type:"centralConnection",signalType:59,actor:B.actor}));return j},$=b=>{d++;let S=x();return[S,{type:b,actor:S.actor,text:m()}]},V=()=>{d++;let b=s[d];if(b===37){d++;let w=x(),B=w,Q=[w.actor,w.actor];if(s[d]===42){d++;let q=x();B=[w,q],Q=[w.actor,q.actor]}return[B,{type:"addNote",placement:2,actor:Q,text:m()}]}b!==43&&b!==44&&E("'over', 'left_of', 'right_of'"),d++;let S=x(),p=b===43?0:1;return[S,{type:"addNote",placement:p,actor:S.actor,text:m()}]},P=()=>{d++;let b={type:"sequenceIndex",sequenceVisible:!0,signalType:26};return s[d]===10?(b.sequenceIndex=Number(a[d++]),b.sequenceIndexStep=s[d]===10?Number(a[d++]):1):s[d]===11&&(d++,b.sequenceVisible=!1),s[d]!==3&&E("'NEWLINE', 'NUM', 'off'"),d++,b},re=(b,S,p,w)=>{let B=b.list,Q=b.sections;if(Q)for(let q=Q.length-2;q>=0;q-=2){let j={type:S,signalType:w};j[p]=e.parseMessage(Q[q+1]),B=Q[q].concat([j,B])}return B},be=b=>{let S=b.text,p=b.list;switch(b.kind){case 1:p[0]={type:"boxStart",boxData:e.parseBoxData(S)},p.push({type:"boxEnd",boxText:S});break;case 2:p[0]={type:"loopStart",loopText:e.parseMessage(S),signalType:10},p.push({type:"loopEnd",loopText:S,signalType:11});break;case 3:p[0]={type:"rectStart",color:e.parseMessage(S),signalType:22},p.push({type:"rectEnd",color:e.parseMessage(S),signalType:23});break;case 4:p[0]={type:"optStart",optText:e.parseMessage(S),signalType:15},p.push({type:"optEnd",optText:e.parseMessage(S),signalType:16});break;case 5:p[0]={type:"breakStart",breakText:e.parseMessage(S),signalType:30},p.push({type:"breakEnd",optText:e.parseMessage(S),signalType:31});break;case 6:p=re(b,"else","altText",13),p[0]={type:"altStart",altText:e.parseMessage(S),signalType:12},p.push({type:"altEnd",signalType:14});break;case 7:p=re(b,"and","parText",20),p[0]={type:"parStart",parText:e.parseMessage(S),signalType:b.startType},p.push({type:"parEnd",signalType:21});break;default:p=re(b,"option","optionText",28),p[0]={type:"criticalStart",criticalText:e.parseMessage(S),signalType:27},p.push({type:"criticalEnd",signalType:29})}return p};for(;s[d]===3;)d++;n(4);let se=[],K={kind:0,text:"",startType:0,list:[],sections:void 0};for(;;){let b=s[d],S=K.list;if(K.kind===1){if(b===32||b===34||b===35)S.push(N());else if(b===3)S.push([]),d++;else if(b===8){d++;let p=be(K);K=se.pop(),K.list.push(p)}else E("'end', 'NEWLINE', 'participant', 'participant_actor', 'destroy'");continue}switch(b){case 3:case 2:S.push([]),d++;break;case 32:case 34:case 35:S.push(N());break;case 5:{d++;let p=s[d];p!==32&&p!==34&&p!==35&&E("'participant', 'participant_actor', 'destroy'");let w=N();w.type="createParticipant",S.push(w);break}case 48:S.push(C(x())),n(3);break;case 39:{let p=s[d+1];S.push(p===48||p===39?$("addALink"):C(x())),n(3);break}case 38:S.push($("addLinks")),n(3);break;case 40:S.push($("addProperties")),n(3);break;case 41:S.push($("addDetails")),n(3);break;case 36:S.push(V()),n(3);break;case 9:S.push(P());break;case 12:case 13:{d++;let p=x();n(3),S.push(b===12?{type:"activeStart",signalType:17,actor:p.actor}:{type:"activeEnd",signalType:18,actor:p.actor});break}case 14:case 15:{let p=a[d++].substring(b===14?6:7);e.setDiagramTitle(p),S.push(p);break}case 16:{d++;let p=n(17).trim();e.setAccTitle(p),S.push(p);break}case 18:{d++;let p=n(19).trim();e.setAccDescription(p),S.push(p);break}case 20:{let p=a[d++].trim();e.setAccDescription(p),S.push(p);break}case 21:case 22:case 23:case 28:case 24:case 25:case 26:case 27:case 6:{d++;let p=n(7);se.push(K),K={kind:ge[b],text:p,startType:b===26?32:19,list:[[]],sections:void 0};break}case 31:case 30:case 29:{K.kind!==(b===31?6:b===30?7:8)&&E("'end'"),d++;let w=n(7);(K.sections??=[]).push(S,w),K.list=[];break}case 8:{K.kind===0&&E("'NEWLINE', 'EOF'"),d++;let p=be(K);K=se.pop(),K.list.push(p);break}case 0:K.kind!==0&&E("'end'"),e.apply(S);return;default:E("'NEWLINE', 'ACTOR', 'participant', 'note', 'end'")}}}var Un=16,Gn=10,En=34,Tn=4,ye=5,Ne=6,Ee=' fill="var(--_s)" stroke="var(--_b)"',we=' fill="none" stroke="var(--_b)"',Yn=new Set(["participant","actor","boundary","control","entity","database","collections","queue"]),jn=new Set(["actor","boundary","control","entity","database"]);function Rn(r){return Yn.has(r)?r:"participant"}function qe(r){return jn.has(r)}function Sn(r,e,s,a,f=Un){if(qe(r))return{w:Math.max(40,e.width+8),h:En+(e.height>0?Tn+e.height:0)};let d=r==="collections"?ye:r==="queue"?2*Ne:0;return{w:Math.max(s,e.width+2*f)+d,h:Math.max(a,e.height+2*Gn)+(r==="collections"?ye:0)}}function Xn(r,e,s){let a=l(e),f=d=>l(s+d);switch(r){case"actor":return`<circle cx="${a}" cy="${f(7)}" r="6"${Ee}/><path d="M${a},${f(13)}V${f(24)}M${l(e-10)},${f(17)}H${l(e+10)}M${l(e-8)},${f(34)}L${a},${f(24)}L${l(e+8)},${f(34)}"${we}/>`;case"boundary":return`<path d="M${l(e-19)},${f(6)}V${f(28)}M${l(e-19)},${f(17)}H${l(e-8)}"${we}/><circle cx="${l(e+3)}" cy="${f(17)}" r="11"${Ee}/>`;case"control":return`<circle cx="${a}" cy="${f(21)}" r="11"${Ee}/><path d="M${l(e+5)},${f(5)}L${l(e-1)},${f(10)}L${l(e+5)},${f(15)}"${we}/>`;case"entity":return`<circle cx="${a}" cy="${f(15)}" r="11"${Ee}/><path d="M${l(e-11)},${f(30)}H${l(e+11)}"${we}/>`;default:{let d=l(e-14),E=l(e+14);return`<path d="M${d},${f(7)}V${f(27)}A14,5 0 0 0 ${E},${f(27)}V${f(7)}A14,5 0 0 0 ${d},${f(7)}Z"${Ee}/><path d="M${d},${f(7)}A14,5 0 0 0 ${E},${f(7)}"${we}/>`}}}function bn(r,e,s,a,f,d,E=""){let{w:n,h:x}=a,m=' class="pele-label"';if(qe(r))return Xn(r,e,s)+le(f,e,s+En+Tn+f.height/2,m+E,d);let N=e-n/2;if(r==="collections"){let C=n-ye,$=x-ye,V=`<rect x="${l(N+ye)}" y="${l(s)}" width="${l(C)}" height="${l($)}"${Ee}${Se}/>`,P=`<rect x="${l(N)}" y="${l(s+ye)}" width="${l(C)}" height="${l($)}"${Ee}${Se}/>`;return V+P+le(f,N+C/2,s+ye+$/2,m,d)}if(r==="queue"){let C=l(N+Ne),$=l(N+n-Ne),V=l(s+x),P=l(x/2);return`<path d="M${C},${l(s)}H${$}A${Ne},${P} 0 0 1 ${$},${V}H${C}A${Ne},${P} 0 0 1 ${C},${l(s)}Z"${Ee}/><path d="M${$},${l(s)}A${Ne},${P} 0 0 0 ${$},${V}"${we}/>`+le(f,e-Ne/2,s+x/2,m,d)}return`<rect x="${l(N)}" y="${l(s)}" width="${l(n)}" height="${l(x)}"${Ee}${Se}/>`+le(f,e,s+x/2,m,d)}var qt=[];function U(r,e,s,a=1,f=!1){qt[r]={dotted:e,head:s,atStart:a!==1,atEnd:a!==0,bottom:f}}U(0,!1,1);U(1,!0,1);U(3,!1,2);U(4,!0,2);U(5,!1,0);U(6,!0,0);U(24,!1,3);U(25,!0,3);U(33,!1,1,2);U(34,!0,1,2);for(let r of[!1,!0]){let e=r?10:0;U(41+e,r,4),U(42+e,r,4,1,!0),U(43+e,r,5),U(44+e,r,5,1,!0),U(45+e,r,4,0),U(46+e,r,4,0,!0),U(47+e,r,5,0),U(48+e,r,5,0,!0)}var Zn=new Map([[10,"loop"],[12,"alt"],[15,"opt"],[19,"par"],[32,"par"],[27,"critical"],[30,"break"],[22,"rect"]]),Jn=12,Pt=28,An=22,ae=10,xn=4,Qn=14,Le=10,er=16,tr=20,nr=10,nt=20,In=240,rt=16,$e=4,Dn=' stroke-dasharray="4 4"';function Bt(r){return r!==void 0&&qt[r]!==void 0}function rr(r,e){let s=new Array(r.length),a=new Array(r.length),f=1,d=1,E=!1;for(let n=0;n<r.length;n++){let x=r[n];if(s[n]=NaN,a[n]=!1,x.type===26){let m=x.message;f=m.start||f,d=m.step||d,E=m.visible}else Bt(x.type)&&(s[n]=f,a[n]=E||e,f=Math.round((f+d)*100)/100)}return{index:s,shown:a,visible:E}}var Nn={lines:[],widths:[],width:0,height:0,size:0,lineHeight:0};function Ce(r,e,s){let a=r[e];return typeof a=="number"&&a>=0&&a<=2e3?a:s}function yn(r,e,s,a,f,d){let E=l(r-s*Pe);return f?`<path class="pele-marker" d="M${l(r)},${l(e)}L${E},${l(e+a*5)}"/>`:`<path class="pele-marker" d="M${l(r)},${l(e)}L${E},${l(e+a*4.5)}V${l(e)}Z" fill="${d}" stroke="none"/>`}function st(r,e,s,a,f,d){switch(r){case 1:return kt("arrow_point",e,s,a,0,d);case 2:return kt("arrow_cross",e,s,a,0,d);case 3:return`<path class="pele-marker" d="M${l(e-a*Pe)},${l(s-4.5)}L${l(e)},${l(s)}L${l(e-a*Pe)},${l(s+4.5)}" stroke-linejoin="round"/>`;case 4:return yn(e,s,a,f,!1,d);case 5:return yn(e,s,a,f,!0,d);default:return""}}function sr(r){return r===1?Pe-1:r===2?4:0}function Cn(r,e,s){return ln(s,a=>wn(r,e,s,a))}function wn(r,e,s,a,f=0,d=!0){let E=e.sequence??{},n=s.fontSize??16,x=Math.round(n*.875),m=Math.round(n*.75),N=s.measurer??Qt(s.fontFamily,s.fontFamilyMono),C=Array.isArray(s.monospace)&&s.monospace.includes("messages"),$=C?{width:(t,c,o)=>N.width(t,c,o|4)}:N,V=s.icons,P=s.padding??8,re=E.mirrorActors!==!1,be=E.rightAngles===!0,se=Math.min(Ce(E,"actorMargin",40),a?8:1/0),K=Math.min(Ce(E,"width",64),a?48:1/0),b=Ce(E,"height",Math.round(n*1.5)+20),S=Math.min(Ce(E,"width",160),a?Math.max(32,((s.maxWidth??320)-2*P)/Math.max(1,r.actors.size)-se-24):1/0),p=Math.max(4,14+Ce(E,"messageMargin",35)-35),w=Math.min(Ce(E,"noteMargin",10),a?6:1/0),B=Math.min(Ce(E,"boxMargin",10),a?6:1/0),Q=E.messageAlign==="left"?-1:E.messageAlign==="right"?1:0,q=a?6:Jn,j=a?8:er,de=a?12:tr,Ve=a?6:nr,G=r.messages,ee=G.length,ke=rr(G,E.showSequenceNumbers===!0),Te=(t,c,o,O=S,g=N)=>{let T=tn(t,!1,g,c,a||o?O:1/0);return a?vt(T,g,Math.max(120,O)):T},Me=(t,c,o=S)=>Te(t,x,c,o,$),i;if(E.hideUnusedParticipants===!0){i=new Set;for(let t of G)i.add(t.from).add(t.to)}let _=new Int32Array(ee+1);_[ee]=-1;for(let t=ee-1;t>=0;t--)_[t]=Bt(G[t].type)?t:_[t+1];let u=[],I=new Map;for(let[t,c]of r.actors){if(i&&!i.has(t))continue;let o=Rn(c.type),O=Te(c.description,n,c.wrap),g=r.createdActors.get(t),T=r.destroyedActors.get(t),R=g===void 0?-1:_[Math.min(g,ee)];R>=0&&G[R].to!==t&&(R=-1);let h=T===void 0?-1:_[Math.min(T,ee)];h>=0&&G[h].to!==t&&G[h].from!==t&&(h=-1),I.set(t,u.length),u.push({id:t,actor:c,kind:o,label:O,size:Sn(o,O,K,b,a?8:void 0),x:0,createAt:R,destroyAt:h,top:0,lifeStart:0,lifeEnd:-1,activations:[]})}let k=u.length-1,Ke=new Map,Ae=(t,c,o)=>{if(t<0||c>k)return;let O=t*u.length+c;(Ke.get(O)??0)<o&&Ke.set(O,o)},it=t=>ke.shown[t]?Math.max(rt,N.width(String(ke.index[t]),m,0)+8):0,ue=new Array(ee),Vt=new Array(ee),Ln=(t,c)=>{let o=Vt[t];if(!o){if(c===S)return ue[t].label;Vt[t]=o=new Map([[S,ue[t].label]])}let O=o.get(c);return O||o.set(c,O=Me(G[t].message,!0,c)),O};for(let t=0;t<ee;t++){let c=G[t],o=c.from===void 0?void 0:I.get(c.from),O=c.to===void 0?void 0:I.get(c.to);if(!(o===void 0||O===void 0||typeof c.message!="string")){if(c.type===2){let g=Te(c.message,x,c.wrap),T=g.width+2*w;c.placement===0?Ae(o-1,o,T+2*Le+ae):c.placement===1?Ae(o,o+1,T+2*Le+ae):o===O?(Ae(o-1,o,T/2+Le),Ae(o,o+1,T/2+Le)):Ae(Math.min(o,O),Math.max(o,O),T-2*j),ue[t]={kind:2,a:o,b:O,label:g,x:0,w:T}}else if(Bt(c.type)){let g=Me(c.message,c.wrap),T=it(t);if(o===O)Ae(o,o+1,Pt+8+g.width+16+ae+T),ue[t]={kind:1,a:o,b:O,label:g,x:0,w:0};else{let R=u[O].createAt===t?u[O].size.w/2:0,h=c.centralConnection?4*$e:0;Ae(Math.min(o,O),Math.max(o,O),(a?Math.min(g.width,Math.max(16,S-16)):g.width)+2*q+ae+T+R+h),ue[t]={kind:0,a:o,b:O,label:g,x:0,w:0}}}}}let fe=[];for(let t=0;t<=k;t++){let c=u[t].actor.box,o=fe[fe.length-1];c&&o&&o.box===c&&o.last===t-1?o.last=t:c&&fe.push({box:c,first:t,last:t,title:Te(c.name,x,c.wrap),grow:0})}let te=new Array(Math.max(k,0));for(let t=0;t<k;t++){let c=u[t],o=u[t+1],O=c.actor.box!==o.actor.box?(c.actor.box?B:0)+(o.actor.box?B:0):0;te[t]=Math.max(c.size.w/2+o.size.w/2+se+O,Ke.get(t*u.length+t+1)??0)}let at=[];for(let[t,c]of Ke){let o=Math.floor(t/u.length),O=t%u.length;O-o>1&&at.push([o,O,c])}at.sort((t,c)=>t[1]-t[0]-(c[1]-c[0])||t[0]-c[0]);for(let[t,c,o]of at){let O=0;for(let T=t;T<c;T++)O+=te[T];if(O>=o)continue;let g=(o-O)/(c-t);for(let T=t;T<c;T++)te[T]+=g}let Kt=()=>{for(let t=1;t<=k;t++)u[t].x=u[t-1].x+te[t-1]};Kt();for(let t of fe){let c=u[t.last].x+u[t.last].size.w/2-(u[t.first].x-u[t.first].size.w/2);t.grow=Math.max(0,(t.title.width-c)/2),t.grow!==0&&(t.first>0&&(te[t.first-1]+=t.grow),t.last<k&&(te[t.last]+=t.grow))}let Re=1/0,xe=-1/0,pe=(t,c)=>{t<Re&&(Re=t),c>xe&&(xe=c)},ot=t=>[u[t.first].x-u[t.first].size.w/2-B-t.grow,u[t.last].x+u[t.last].size.w/2+B+t.grow],ct=new Array(ee),lt=()=>{Kt(),Re=1/0,xe=-1/0;for(let o of u)pe(o.x-o.size.w/2,o.x+o.size.w/2);for(let o of fe)pe(...ot(o));let t=[],c=()=>k<0?[0,120]:[u[0].x-de,u[k].x+de];for(let o=0;o<ee;o++){let O=G[o],g=O.type,T=g===void 0?void 0:Zn.get(g),R=ue[o];if(T!==void 0){let h={kind:T,x0:1/0,x1:-1/0,top:0,title:Nn,tabW:0,fill:T==="rect"&&typeof O.message=="string"?O.message:"",dividers:[o],dividerY:[],dividerLabels:[]};ct[o]=h,t.push(h)}else if(g===13||g===20||g===28)t[t.length-1]?.dividers.push(o);else if(g===11||g===14||g===16||g===21||g===29||g===31||g===23){let h=t.pop();if(!h)continue;if(ct[o]=h,h.x0>h.x1&&([h.x0,h.x1]=c()),h.kind!=="rect"){h.tabW=N.width(h.kind,m,1)+14;for(let D=0;D<h.dividers.length;D++){let v=G[h.dividers[D]].message,M=D===0?h.tabW+8:0,X=h.x1-h.x0-16-M,H=v?Te(`[${v}]`,x,!0,Math.max(X,a?Math.min(In,S):In)):Nn;H.width>X&&(h.x1+=H.width-X),D===0?h.title=H:h.dividerLabels.push(H)}}pe(h.x0,h.x1);let A=t[t.length-1];A&&(A.x0=Math.min(A.x0,h.x0-Ve),A.x1=Math.max(A.x1,h.x1+Ve))}else if(R){let h=u[R.a],A=u[R.b],D,v;if(R.kind===2){if(O.placement===0)R.x=h.x-Le-R.w;else if(O.placement===1)R.x=h.x+Le;else if(R.a===R.b)R.x=h.x-R.w/2;else{let X=Math.min(h.x,A.x)-j,H=Math.max(h.x,A.x)+j;(a||O.wrap)&&(R.label=Te(O.message,x,!0,Math.max(S,H-X-2*w))),R.w=Math.max(H-X,R.label.width+2*w),R.x=(X+H-R.w)/2}D=R.x,v=R.x+R.w}else R.kind===1?(D=h.x,v=h.x+ae+Pt+8+R.label.width+it(o)):(D=Math.min(h.x,A.x),v=Math.max(h.x,A.x),(a||O.wrap)&&(R.label=Ln(o,Math.max(S,v-D-2*q-ae))),A.createAt===o&&(A.x>h.x?v+=A.size.w/2:D-=A.size.w/2));pe(D,v);let M=t[t.length-1];M&&(M.x0=Math.min(M.x0,D-de),M.x1=Math.max(M.x1,v+de))}}};lt();let dt=!1,ut=!1;if(a&&s.maxWidth!==void 0){let t=Math.floor(s.maxWidth)-Math.ceil(xe-Re+2*P)-f,c=new Int32Array(u.length),o=new Array(te.length).fill(0),O=[],g=0;for(let h=0;t>0&&h<ue.length;h++){let A=ue[h];if(A?.kind!==0)continue;let D=Me(G[h].message,!1,1/0);if(A.label.lines.length<=D.lines.length)continue;O.push(h),g+=A.label.lines.length;let v=Math.min(A.a,A.b),M=Math.max(A.a,A.b);c[v]++,c[M]--;let X=(D.width-(u[M].x-u[v].x-2*q-ae))/(M-v);for(let H=v;H<M;H++)o[H]=Math.max(o[H],X)}let T=0,R=0;for(let h=0;h<te.length;h++)T+=c[h],c[h]=T>0?1:0,R+=c[h];if(R>0){let h=te.slice(),A=Y=>{for(let z=0;z<te.length;z++)te[z]=h[z]+Y(z);return lt(),O.map(z=>ue[z].label.lines.length)},D=Y=>Y.reduce((z,he)=>z+he,0),v=Y=>c[Y]*t/R,M=A(v),X=D(o),H=Y=>o[Y]*(t-.01)/X;if(d&&R>1&&X>0&&te.some((Y,z)=>H(z)>v(z))){let Y=M;M=A(H),ut=D(M)<D(Y)&&M.every((z,he)=>z<=Y[he]),ut||(M=A(v))}dt=D(M)<g,dt||(te.splice(0,te.length,...h),lt())}}let He=0;for(let t of fe)He=Math.max(He,t.title.height);let $n=fe.length>0?B+(He>0?He+4:0):0,ft=0;for(let t of u)t.createAt<0&&(ft=Math.max(ft,t.size.h));let pt=$n+ft;for(let t of u)t.top=pt-t.size.h,t.lifeStart=pt;let Fe=u.map(t=>t.x),kn=(t,c)=>{let o=0,O=Fe.length;for(;o<O;){let g=o+O>>1;Fe[g]<=t?o=g+1:O=g}return o<Fe.length&&Fe[o]<c},Ie=[],ht=new Map,Ot=t=>{if(t)return ht.has(t)||ht.set(t,rn(et([`fill:${t}`]).shape)),ht.get(t)},gt=t=>{let c=Ot(t);return c?` fill="${c}"`:""},_t=(t,c)=>{for(let o=Ie.length-1;o>=0;o--)if(Ie[o].kind==="rect")return Ie[o].fill;for(let o of fe){let[O,g]=ot(o);if(t>=O&&c<=g)return o.box.fill}},Ht=(t,c)=>gt(_t(t,c)),mt=(t,c,o,O=!1)=>{if(t.width===0)return"";let g=c-t.width/2,T=kn(g,g+t.width),R=T?`<rect x="${l(g-3)}" y="${l(o-t.height/2+2)}" width="${l(t.width+6)}" height="${l(t.height-4)}" rx="3" fill="var(--_bg)" stroke="none"/>`:"",h=T?"":Ht(g,g+t.width);return R+le(t,c,o,O?` class="pele-frame-label"${h||' fill="var(--_m)"'} stroke="none"`:h,V)},Et=(t,c=0)=>t.activations.length+c>0?t.x-ae/2:t.x,ve=(t,c=0)=>{let o=t.activations.length+c;return o>0?t.x+ae/2+(o-1)*xn:t.x},Tt=[],Rt=[],St="",bt="",ze="",At="",Ue="",xt="",Ft=(t,c)=>{let o=t.activations.pop(),O=Math.max(c,o+Qn),g=t.x-ae/2+t.activations.length*xn;return pe(g,g+ae),Rt.push(`<rect class="pele-activation" data-id="${Oe(t.id)}" x="${l(g)}" y="${l(o)}" width="${ae}" height="${l(O-o)}" rx="2"/>`),O},zt=(t,c)=>{let o=t.x,O=c+16;return t.lifeEnd=O,xt+=`<path class="pele-destroy" data-id="${Oe(t.id)}" d="M${l(o-6)},${l(O-6)}L${l(o+6)},${l(O+6)}M${l(o+6)},${l(O-6)}L${l(o-6)},${l(O+6)}"/>`,O+6},Ut=(t,c,o)=>{let O=t.actor.properties.get("class");return`<g class="pele-node pele-actor pele-actor-${t.kind}${o?" pele-actor-footer":""}${typeof O=="string"?an(O):""}" data-id="${Oe(t.id)}">`+bn(t.kind,t.x,c,t.size,t.label,V,qe(t.kind)?gt(t.actor.box?.fill):"")+"</g>"},It=(t,c,o,O)=>`<g class="pele-sequence-number"><rect x="${l(c-O/2)}" y="${l(o-rt/2)}" width="${l(O)}" height="${rt}" rx="${rt/2}" fill="var(--_l)" stroke="none"/><text x="${l(c)}" y="${l(o+m*.35)}" text-anchor="middle" font-size="${m}" fill="var(--_bg)" stroke="none">${en(String(ke.index[t]))}</text></g>`,L=pt+6;for(let t=0;t<ee;t++){let c=G[t],o=c.type,O=ue[t],g=ct[t];if(o===17){let T=c.from===void 0?void 0:I.get(c.from);T!==void 0&&u[T].activations.push(L)}else if(o===18){let T=c.from===void 0?void 0:I.get(c.from);T!==void 0&&u[T].activations.length>0&&(L=Math.max(L,Ft(u[T],L)))}else if(g&&g.dividers[0]===t)Ie.push(g),g.kind==="rect"?(g.top=L+8,L=g.top):(g.top=L+12,L=g.top+Math.max(nt,g.title.height+2));else if(g){Ie.pop();let T=L+12,R=l(g.x0),h=l(g.x1-g.x0);if(g.kind==="rect"){let A=g.fill?et([`fill:${g.fill}`]).shape:"";Tt.push(`<rect class="pele-rect" x="${R}" y="${l(g.top)}" width="${h}" height="${l(T-g.top)}"${Mt((A?"":' fill-opacity="0.5"')+A)}/>`)}else{let A=`<rect x="${R}" y="${l(g.top)}" width="${h}" height="${l(T-g.top)}" fill="none"${Se}/>`;for(let D=0;D<g.dividerY.length;D++){let v=g.dividerY[D],M=g.dividerLabels[D];A+=`<path d="M${R},${l(v)}H${l(g.x1)}"${Dn}/>`+mt(M,g.x0+8+M.width/2,v+2+M.height/2,!0)}A+=`<rect x="${R}" y="${l(g.top)}" width="${l(g.tabW)}" height="${nt}" fill="var(--_s)"${Se}/><text class="pele-frame-kind" x="${l(g.x0+g.tabW/2)}" y="${l(g.top+nt/2+m*.35)}" text-anchor="middle" font-size="${m}" font-weight="var(--_hw)" fill="var(--_m)" stroke="none">${g.kind}</text>`+mt(g.title,g.x0+g.tabW+8+g.title.width/2,g.top+Math.max(nt,g.title.height)/2,!0),St+=`<g class="pele-frame pele-frame-${g.kind}">${A}</g>`}L=T}else if(o===13||o===20||o===28){let T=Ie[Ie.length-1];if(T){let R=T.dividerLabels[T.dividerY.length];T.dividerY.push(L+12),L+=12+(R.height>0?R.height:0)}}else if(O&&O.kind===2){let T=u[O.a],R=O.label.height+2*Math.max(4,w-4),h=L+10,A=O.x;c.placement===1?A+=ve(T)-T.x:c.placement===0&&(A+=Et(T)-T.x),pe(A,A+O.w),At+=`<g class="pele-note" data-id="i${Oe(c.id)}"><rect x="${l(A)}" y="${l(h)}" width="${l(O.w)}" height="${l(R)}"${Se}/>`+le(O.label,A+O.w/2,h+R/2,' class="pele-label" stroke="none" fill="var(--_fg)"',V)+"</g>",L=h+R}else if(O){let T=qt[o],R=u[O.a],h=u[O.b],A=O.label,D=it(t),v=0;for(let y=t+1;y<ee;y++){let F=G[y].type;if(F===17)G[y].from===c.to&&v++;else if(F!==18&&F!==59&&F!==60)break}let M=T.bottom?1:-1,X=T.dotted?Dn:"",H=c.centralConnection,Y=H===59||H===61,z=H===60||H===61,he,_e="var(--_l)",Xe=(y,F)=>`<circle class="pele-central" cx="${l(y)}" cy="${l(F)}" r="${$e}" fill="${_e}" stroke="none"/>`,Ze=T.atStart&&!T.atEnd,Je=sr(T.head),ie="",Z;if(O.kind===1){let y=L+p+Math.max(0,(A.height-An)/2),F=y+An,ne=z?R.x+$e:ve(R),J=Y?R.x+$e:ve(R,v),oe=Math.max(ne,J)+Pt+D/2;he=Ot(_t(R.x,oe)),_e=he??_e,z&&(ie+=Xe(R.x,y)),Y&&(ie+=Xe(R.x,F)),D>0&&(ie+=It(t,Ze?J:ne,Ze?F:y,D),Ze?J+=D/2:ne+=D/2);let yt=(T.atStart?st(T.head,ne,y,-1,M,_e):"")+(T.atEnd?st(T.head,J,F,-1,-M,_e):""),Qe=l(ne+(T.atStart?Je:0)),ce=l(J+(T.atEnd?Je:0));ie=`<path d="${be?`M${Qe},${l(y)}H${l(oe)}V${l(F)}H${ce}`:`M${Qe},${l(y)}H${l(oe-6)}A6,6 0 0 1 ${l(oe)},${l(y+6)}V${l(F-6)}A6,6 0 0 1 ${l(oe-6)},${l(F)}H${ce}`}"${X}/>`+yt+ie,pe(R.x,oe+8+A.width),A.width>0&&(ze+=`<g class="pele-edge-label" data-id="i${Oe(c.id)}">${le(A,oe+8+A.width/2,(y+F)/2,Ht(oe+8,oe+8+A.width),V)}</g>`),Z=Math.max(F,(y+F)/2+A.height/2)}else{let y=h.x>R.x?1:-1,F=h.createAt===t;he=Ot(_t(Math.min(R.x,h.x),Math.max(R.x,h.x))),_e=he??_e,Z=L+p+Math.max(A.height>0?A.height+2:6,F?h.size.h/2-p+6:0);let ne=y>0?ve(R):Et(R),J=y>0?Et(h,v):ve(h,v);if(F&&(h.top=Z-h.size.h/2,h.lifeStart=h.top+h.size.h,J=h.x-y*(qe(h.kind)?18:h.size.w/2+1)),z&&(ie+=Xe(R.x,Z),ne=R.x+y*$e),Y&&(ie+=Xe(h.x,Z),J=h.x-y*$e),D>0)if(Ze){let ce=Y?J-y*(D/2+2):J;ie+=It(t,ce,Z,D),J=ce-y*D/2}else{let ce=z?ne+y*(D/2+2):ne;ie+=It(t,ce,Z,D),ne=ce+y*D/2}let oe=(T.atStart?st(T.head,ne,Z,-y,M*y,_e):"")+(T.atEnd?st(T.head,J,Z,y,M*y,_e):""),yt=ne+(T.atStart?y*Je:0),Qe=J-(T.atEnd?y*Je:0);if(ie=`<path d="M${l(yt)},${l(Z)}H${l(Qe)}"${X}/>`+oe+ie,A.width>0){let ce=Math.min(ne,J),Ct=Math.max(ne,J),wt=Q<0?ce+q+A.width/2:Q>0?Ct-q-A.width/2:(ce+Ct)/2;pe(wt-A.width/2,wt+A.width/2),ze+=`<g class="pele-edge-label" data-id="i${Oe(c.id)}">${mt(A,wt,Z-4-A.height/2)}</g>`}F&&(L=Z+h.size.h/2-6)}bt+=`<g class="pele-edge pele-message" data-id="i${Oe(c.id)}"${he?` stroke="${he}"`:""}>${ie}</g>`,L=Math.max(L,Z),R.destroyAt===t&&(L=Math.max(L,zt(R,Z))),h.destroyAt===t&&h!==R&&(L=Math.max(L,zt(h,Z)))}}L+=20;for(let t of u)for(;t.activations.length>0;)Ft(t,L);let Ge=L;if(re){let t=0;for(let c of u)c.lifeEnd>=0||(t=Math.max(t,c.size.h),Ue+=Ut(c,L,!0));Ge=L+t}let Dt="";for(let t of u){Ue+=Ut(t,t.top,!1);let c=t.lifeEnd>=0?t.lifeEnd:L;c>t.lifeStart&&(Dt+=`<path class="pele-lifeline" data-id="${Oe(t.id)}" d="M${l(t.x)},${l(t.lifeStart)}V${l(c)}"/>`)}let Nt="";for(let t of fe){let[c,o]=ot(t),O=t.box.fill==="transparent"?"":et([`fill:${t.box.fill}`]).shape;Nt+=`<g class="pele-cluster pele-box"${t.box.name?` data-id="${Oe(t.box.name)}"`:""}><rect x="${l(c)}" y="0" width="${l(o-c)}" height="${l(Ge+B)}" fill="var(--_a)" stroke="var(--_b)"${Mt((O?"":' fill-opacity="0.5"')+O)}/>`+le(t.title,(c+o)/2,B/2+2+t.title.height/2,` class="pele-cluster-label"${gt(t.box.fill)||' fill="var(--_m)"'}`,V)+"</g>"}fe.length>0&&(Ge+=B);let Ye=0,Gt="",Yt=cn(s),jt=nn(r.title,N,n,a?Yt:1/0),De=a?vt(jt,N,Math.max(120,Yt)):jt;if(Re>xe&&pe(0,Math.max(De.width,40)),De.width>0){let t=(Re+xe)/2;pe(t-De.width/2,t+De.width/2),Ye=-De.height-12,Gt=le(De,t,Ye+De.height/2,' class="pele-title" font-weight="var(--_tw)"',V)}let je=Math.ceil(xe-Re+2*P);if(dt&&je>s.maxWidth)return wn(r,e,s,a,ut?f:f>0?1/0:je-Math.floor(s.maxWidth),!1);let Xt=Math.ceil(Ge-Ye+2*P);return{svg:on("sequence",je,Xt,n,s,r,`<g transform="translate(${l(P-Re)},${l(P-Ye)})">`+Gt+(Nt?`<g class="pele-boxes" font-size="${x}">${Nt}</g>`:"")+(Tt.length>0?`<g class="pele-rects" fill="var(--_a)">${Tt.reverse().join("")}</g>`:"")+(Dt?`<g class="pele-lifelines" fill="none" stroke="var(--_b)">${Dt}</g>`:"")+(Rt.length>0?`<g class="pele-activations" fill="var(--_s)" stroke="var(--_b)">${Rt.reverse().join("")}</g>`:"")+(St?`<g class="pele-frames" font-size="${x}" stroke="var(--_b)">${St}</g>`:"")+(bt?`<g class="pele-edges" fill="none" stroke="var(--_l)" stroke-linecap="round">${bt}</g>`:"")+(xt?`<g class="pele-destroys" fill="none" stroke="var(--_l)" stroke-width="1.5" stroke-linecap="round">${xt}</g>`:"")+(ze?`<g class="pele-edge-labels" font-size="${x}"${C?` font-family="${sn}"`:""}>${ze}</g>`:"")+(At?`<g class="pele-notes" font-size="${x}" fill="var(--_a)" stroke="var(--_b)">${At}</g>`:"")+(Ue?`<g class="pele-nodes">${Ue}</g>`:"")+"</g>"),width:je,height:Xt,links:[]}}var Pr={type:"sequence",math:!0,parse(r,e,s){let a=e.sequence??{},f=new tt({wrap:typeof e.wrap=="boolean"?e.wrap:void 0,sequenceWrap:a.wrap===!0});return s&&f.setDiagramTitle(s),mn(r,f),f},render:Cn};export{Pr as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a}from"./F4O23KYR.js";import"./DKTLEL5E.js";import"./IU7WZTP6.js";import"./KHUP5TOH.js";import"./YWXUFHC7.js";export{a as railroad};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a}from"./TBJXKAT4.js";import"./RVARI57O.js";import"./GUJTEFZK.js";import"./DKTLEL5E.js";import"./KHUP5TOH.js";import"./YWXUFHC7.js";export{a as quadrantChart};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{a as pe,b as me}from"./DKTLEL5E.js";import{a as ue,b as ge,c as $e,d as be,f as we,g as ye,h as Me,i as Pe,j as xe,k as ke,l as q,m as Ae,n as De,o as Ce,p as Ee,q as Te}from"./IU7WZTP6.js";import{c as Z,d as o,e as B,i as K,u as Y,v as he}from"./KHUP5TOH.js";import{a as fe,p as de}from"./YWXUFHC7.js";function ve(i,e){let t=new Map;for(let{label:n,value:c}of i.sections){if(c<0)throw new fe(`"${n}" has invalid value: ${c}. Negative values are not allowed in pie charts. All slice values must be >= 0.`,"semantic",{type:"pie"});t.has(n)||t.set(n,c)}return{type:"pie",title:i.title||e,accTitle:i.accTitle?i.accTitle.replace(/^\s+/g,""):void 0,accDescr:i.accDescr?i.accDescr.replace(/\n\s+/g,`
|
|
2
|
+
`):void 0,showData:i.showData,sections:t}}function Ie(i,e){let t=e;for(let n=i.charCodeAt(t);n>=48&&n<=57;n=i.charCodeAt(t))t++;return t}function ze(){let i=0,e=0,t=-1;return(n,c)=>{let a=n.charCodeAt(c)===45?c+1:c;if((a<i||a>=e)&&(i=a,e=Ie(n,a),t=-1,e>a&&n.charCodeAt(e)===46)){let r=Ie(n,e+1),f=r-e-1;f>0&&n.charCodeAt(r)!==46?t=r:f>1&&(t=r-1)}return e===a?-1:t>=0?t:n.charCodeAt(a)===48?n.charCodeAt(a+1)===46?-1:a+1:n.charCodeAt(e)!==46?e:e-1>a?e-1:-1}}var Se=[q("showData"),q("pie"),{name:":",pattern:":"},{name:"NUMBER_PIE",pattern:/(?:-?[0-9]+\.[0-9]+(?!\.))|(?:-?(0|[1-9][0-9]*)(?!\.))/y,scanner:ze,first:"-0123456789"},ge,$e,be,we,ye,Me,Pe,xe,ke];function Re(i){let e=new Te(ue(i,Se,"pie"),Se,"pie"),t={$type:"Pie",showData:!1,sections:[]},n=()=>{if(e.kind!==-1)for(e.kind!==8&&e.fail("a line break or the end of input");e.kind===8;)e.i++};for(;e.kind===8;)e.i++;for(e.expect(1),t.showData=e.accept(0);e.kind!==-1;)switch(e.kind){case 8:e.i++;break;case 4:t.accDescr=Ce(e.take()),n();break;case 5:t.accTitle=De(e.take()),n();break;case 6:t.title=Ae(e.take()),n();break;case 7:{let c=Ee(e.take());e.expect(2);let a=Number(e.expect(3));t.sections.push({$type:"PieSection",label:c,value:a}),n();break}default:e.fail("a section, a title, or a line break")}return t}var He=120,I=12,J=26,Q=32,Le=28;function X(i,e){return i.pie?.[e]}function P(i,e){return`${o(Math.sin(i)*e)},${o(-Math.cos(i)*e)}`}function Fe(i,e,t,n){if(e-i>=Math.PI*2-1e-9){let a=(r,f)=>`M0,${o(-r)}A${o(r)},${o(r)} 0 1 ${f} 0,${o(r)}A${o(r)},${o(r)} 0 1 ${f} 0,${o(-r)}Z`;return a(t,1)+(n>0?a(n,0):"")}let c=e-i>Math.PI?1:0;return n<=0?`M0,0L${P(i,t)}A${o(t)},${o(t)} 0 ${c} 1 ${P(e,t)}Z`:`M${P(i,t)}A${o(t)},${o(t)} 0 ${c} 1 ${P(e,t)}L${P(e,n)}A${o(n)},${o(n)} 0 ${c} 0 ${P(i,n)}Z`}function _e(i,e,t){return pe(t,He*2,140,(n,c)=>Ve(i,e,t,n/2,c))}function Ve(i,e,t,n,c){let a=t.fontSize??16,r=Math.round(a*.875),f=t.measurer??de(t.fontFamily,t.fontFamilyMono),g=t.padding??8,S=X(e,"textPosition"),ee=typeof S=="number"&&S>=0&&S<=1?S:.75,R=X(e,"donutHole"),Ne=typeof R=="number"&&R>0&&R<=.9?R*n:0,W=String(X(e,"legendPosition")??"right"),h=c&&(W==="left"||W==="right")?"bottom":W,x=[...i.sections],j=0;for(let[,s]of x)j+=s;let L=x.map(([s,l])=>K(i.showData?`${s} [${l}]`:s,!1,f,r,4e3)),d=0;for(let s of L)d=Math.max(d,s.width);d+=L.length>0?I+8:0;let $=L.length*J,k=K(i.title,!1,f,a,me(t),1),te=k.height>0?k.height+16:0,ne=x.map(([,s])=>{let l=j>0?s/j:0;return l*100>=1&&(l*100).toFixed(0)!=="0"?l:0}),ie=ne.map(s=>s===0||s>=.5?!1:2*n*ee*Math.sin(s*Math.PI)<f.width((s*100).toFixed(0)+"%",r,0)+6),Oe=ie.includes(!0)?Le:0,b=h==="left"||h==="right"||h==="center"?h:"",oe=h==="top"||h==="bottom",p=(n+Oe)*2,m=p,w=p;b==="left"||b==="right"?(m+=d>0?Q+d:0,w=Math.max(w,$)):oe&&(m=Math.max(m,d),w+=$>0?20+$:0),m=Math.max(m,k.width);let A=g+(b==="left"?d+Q+p/2:b==="right"?p/2:m/2),D=g+te,_=D+(h==="top"?$+20+p/2:oe?p/2:w/2),N="",z="",H="",O=0,C=n+Le/2,re=[],We=(s,l,u)=>re.every(y=>Math.abs(s-y.x)>=(u+y.width)/2+2||Math.abs(l-y.y)>=r+2);x.forEach(([s],l)=>{let u=ne[l];if(u===0)return;let y=O+u*Math.PI*2;N+=`<path class="pele-slice" data-id="${Z(s)}" d="${Fe(O,y,n,Ne)}" fill="${Y(l)}"/>`;let G=(O+y)/2,U=(u*100).toFixed(0)+"%";if(ie[l]){let T=f.width(U,r,0),v=G;for(let le=0;le<360&&!We(Math.sin(v)*C,-Math.cos(v)*C,T);le++)v+=2/C;let ae=Math.sin(v)*C,ce=-Math.cos(v)*C;re.push({x:ae,y:ce,width:T}),H+=`<text x="${o(ae)}" y="${o(ce+r*.35)}">${U}</text>`}else{let T=n*ee;z+=`<text x="${o(Math.sin(G)*T)}" y="${o(-Math.cos(G)*T+r*.35)}">${U}</text>`}O=y}),N===""&&(N=`<circle class="pele-slice" r="${n}" fill="none" stroke="var(--_b)"/>`);let F="",M,E;b==="right"?(M=A+p/2+Q,E=D+(w-$)/2):b==="left"?(M=g,E=D+(w-$)/2):b==="center"?(M=A-d/2,E=_-$/2):(M=g+(m-d)/2,E=h==="top"?D:D+p+20),L.forEach((s,l)=>{let u=E+l*J+J/2;F+=`<g class="pele-legend-item" data-id="${Z(x[l][0])}"><rect x="${o(M)}" y="${o(u-I/2)}" width="${I}" height="${I}" rx="2" fill="${Y(l)}"/>`+B(s,M+I+8+s.width/2,u,"")+"</g>"});let V=Math.ceil(m+2*g),se=Math.ceil(w+te+2*g),je=B(k,V/2,g+k.height/2,' class="pele-title" font-weight="var(--_tw)"')+`<g class="pele-slices" transform="translate(${o(A)},${o(_)})" stroke="var(--_bg)" stroke-width="1" stroke-linejoin="round">${N}</g>`+(z?`<g class="pele-slice-labels" transform="translate(${o(A)},${o(_)})" font-size="${r}" text-anchor="middle" fill="var(--_bg)">${z}</g>`:"")+(H?`<g class="pele-slice-labels" transform="translate(${o(A)},${o(_)})" font-size="${r}" text-anchor="middle">${H}</g>`:"")+(F?`<g class="pele-legend" font-size="${r}">${F}</g>`:"");return{svg:he("pie",V,se,a,t,i,je),width:V,height:se,links:[]}}var rt={type:"pie",parse:(i,e,t)=>ve(Re(i),t),render:_e};export{rt as a};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import{i as M,k as N,m as D,n as F}from"./YWXUFHC7.js";var ot=/[&<>"\x00-\x08\x0b\x0c\x0e-\x1f\x7f\ud800-\udfff\ufffe\uffff]/u,rt=/[&<>"]|[\x00-\x08\x0b\x0c\x0e-\x1f\x7f\ud800-\udfff\ufffe\uffff]+/gu,ct={"&":"&","<":"<",">":">",'"':"""},j=/[\x00-\x08\x0b\x0c\x0e-\x1f\x7f\ud800-\udfff\ufffe\uffff]/u;function S(t){return ot.test(t)?t.replace(rt,e=>ct[e]??""):t}function L(t){return S(M(t))}var T=[];for(let t=0;t<100;t++)T.push(t===0?"":t%10===0?"."+t/10:"."+(t<10?"0"+t:t));function x(t){let e=Math.round(t*100);if(e===0)return"0";if(e>0){if(e<1e11){let i=Math.floor(e/100);return i+T[e-i*100]}}else if(e>-1e11){let i=-e,n=Math.floor(i/100);return"-"+n+T[i-n*100]}return String(e/100)}function Wt(t,e,i,n,s){let c=t.lines;if(c.length===0)return"";let u=t.lineHeight,r=t.heights,l=t.size*.35,o=i-t.height/2,f=c.length===1&&c[0].length===1?c[0][0]:void 0;if(f&&f.icon===void 0&&f.math===void 0&&f.style===0)return`<text${n} x="${x(e)}" y="${x(o+u/2+l)}" text-anchor="middle">${S(f.text)}</text>`;let h=bt(t),d=n,p;n=$t(n,h);let m="",a="";for(let g=0;g<c.length;g++){let $=c[g],v=r?r[g]:u,w=o+v/2,E=w+l,C=!1;for(let y of $)(y.icon!==void 0||y.math)&&(C=!0);if(C){let y=e-t.widths[g]/2;for(let b of $){if(b.math){let _=`x="${x(y)}" y="${x(w-b.math.height/2)}" width="${x(b.math.width)}" height="${x(b.math.height)}"`;p??=dt(d),a+=p.halo===void 0?pt(b.math,_,t.size,p.attrs):`<rect ${_} rx="2" fill="${p.halo}"/>`}else if(b.icon!==void 0){let _=t.size*1.1,st=s?.(b.icon)??"";a+=`<svg class="pele-icon" data-icon="${L(b.icon)}" x="${x(y)}" y="${x(w-_/2)}" width="${x(_)}" height="${x(_)}" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">${st}</svg>`}else b.text!==""&&(m+=`<tspan x="${x(y)}" y="${x(E)}" text-anchor="start"${P(b.style&~h)}>${S(b.text)}</tspan>`);y+=b.width}}else{for(let y=0;y<$.length;y++){let b=$[y],_=y===0?` x="${x(e)}" y="${x(E)}"`:"";m+=`<tspan${_}${P(b.style&~h)}>${S(b.text)}</tspan>`}$.length===0&&(m+=`<tspan x="${x(e)}" y="${x(E)}"> </tspan>`)}o+=v}return`<text${n} text-anchor="middle" xml:space="preserve">${m}</text>${a}`}var lt=/ fill="([^"]*)"/,ft=/ stroke="([^"]*)"/,at=/ style="([^"]*)"/,ut=/(?:^|;)\s*fill:([^;]*)/,ht=/(?:^|;)\s*opacity:([^;]*)/;function dt(t){let e=at.exec(t)?.[1]??"",i=(ut.exec(e)?.[1]??lt.exec(t)?.[1]??"").trim();if(i==="none")return{attrs:"",halo:ft.exec(t)?.[1]??"none"};let n=ht.exec(e)?.[1].trim();return{attrs:(i===""?"":` color="${i}"`)+(n?` opacity="${n}"`:"")}}function pt(t,e,i,n){return"svg"in t?`<svg class="pele-math" ${e} overflow="visible"${n}>${t.svg}</svg>`:`<foreignObject class="pele-math" ${e} overflow="visible"${n}><div xmlns="http://www.w3.org/1999/xhtml" style="display:flex;align-items:center;justify-content:center;width:100%;height:100%;font-size:${x(i)}px;line-height:normal;white-space:nowrap">${t.html}</div></foreignObject>`}var U=' font-weight="var(--_w)"',B=' font-style="italic"',gt=' text-decoration="underline"',K=' font-family="var(--_fm)"',mt=' baseline-shift="sub" font-size="smaller"',xt=' baseline-shift="super" font-size="smaller"';function P(t){return(t&1?U:"")+(t&2?B:"")+(t&4?K:"")+(t&32?gt:"")+(t&8?mt:t&16?xt:"")}function bt(t){let e=7,i=!1;for(let n of t.lines)for(let s of n)s.icon!==void 0||s.text===""||(e&=s.style,i=!0);return i?e:0}function $t(t,e){return t+(e&1&&!t.includes(' font-weight="')?U:"")+(e&2&&!t.includes(' font-style="')?B:"")+(e&4&&!t.includes(' font-family="')?K:"")}var wt=1.5,z=1.3,yt=/<br\s*\/?>|\\n|\n/gi,Y=/<\/?([a-zA-Z][\w-]*)(?:\s[^<>]*)?\/?>/y,q=/(fa[bklrs]?):fa-([\w-]+)/g,St=/[<\\\n*_]|fa[bklrs]?:fa-/,Et=new Map([["b",1],["strong",1],["i",2],["em",2],["cite",2],["dfn",2],["var",2],["code",4],["kbd",4],["samp",4],["tt",4],["sub",8],["sup",16],["u",32],["ins",32]]),vt=24,_t=new Set("a abbr address article aside audio b bdi bdo big blockquote body br button caption center cite code col colgroup data dd del details dfn dialog div dl dt em embed fieldset figcaption figure font footer form h1 h2 h3 h4 h5 h6 head header hr html i iframe img input ins kbd label legend li link main map mark meta meter nav noscript object ol optgroup option output p picture pre progress q rp rt ruby s samp script section select small source span strike strong style sub summary sup table tbody td template textarea tfoot th thead time title tr track tt u ul var video wbr".split(" ")),H="\\u2e80-\\u9fff\\uf900-\\ufaff\\uff00-\\uff60",G="、。,.:;!?)]}」』】〕〉》〙〗ー…‥・ゝゞぁぃぅぇぉっゃゅょゎァィゥェォッャュョヮ,.:;!?)\\]}",Mt="([{「『【〔〈《〘〖([{",Rt=new RegExp(`[${H}]`),I="\\u200b\\u00ad",Lt=new RegExp(`[${I}]`),It=new RegExp(`\\s*(?:[${Mt}]*[${H}][${G}]*|[^\\s${H}${I}]+[${I}]*[${G}]*|[${I}]+)\\s*|\\s+`,"g"),J=57344,kt=6400,Tt=/\$\$(.+?)\$\$/g,V=/[\ue000-\uf8ff]/,At=/([\ue000-\uf8ff])/,R,Ot={lines:[],widths:[],width:0,height:0,size:0,lineHeight:0};function Ht(t){let e=t.split(`
|
|
2
|
+
`),i=1/0;for(let n of e){if(n.trim()==="")continue;let s=n.length-n.trimStart().length;s<i&&(i=s)}return i===1/0||i===0?t:e.map(n=>n.slice(Math.min(i,n.length-n.trimStart().length))).join(`
|
|
3
|
+
`)}function k(t){return t!==void 0&&t.icon===void 0&&t.math===void 0}function A(t,e,i){if(e!==""){if(R!==void 0&&V.test(e)){let n=R,s=e.split(At);for(let c=0;c<s.length;c++){if(c%2===0){s[c]!==""&&O(t,s[c],i);continue}let u=s[c].charCodeAt(0)-J,r=n.math[u];r?t.push({text:"",style:i,math:r,width:r.width}):O(t,`$$${n.tex[u]}$$`,i)}return}O(t,e,i)}}function O(t,e,i){let n=M(e),s=t[t.length-1];k(s)&&s.style===i?s.text+=n:t.push({text:n,style:i,width:0})}function Ct(t,e,i){if(!e.includes(":fa-")){A(t,e,i);return}let n=0;q.lastIndex=0;let s;for(;(s=q.exec(e))!==null;){let c=`${s[1]}:fa-${s[2]}`;if(A(t,e.slice(n,s.index),i),n=s.index+s[0].length,N(c)!=="")t.push({text:"",style:i,icon:c,width:0});else if(e[n]===" ")n++;else if(n===e.length){let u=t[t.length-1];k(u)&&(u.text=u.text.trimEnd())}}A(t,e.slice(n),i)}function Nt(t,e,i,n,s){let c=s.style,u=0,r="",l=0,o=e.length,f=()=>{Ct(t,r,c|(s.shifts[s.shifts.length-1]??0)),r=""};for(;l<o;){let h=e[l];if(h==="<"){Y.lastIndex=l;let d=Y.exec(e);if(d&&d.index===l){let p=d[1].toLowerCase(),m=e[l+1]==="/",a=Et.get(p)??0;if(a&vt){f();let g=s.shifts.lastIndexOf(a);m?g!==-1&&s.shifts.splice(g,1):s.shifts.push(a)}else a&&(f(),s.style=m?s.style&~a|n&a:s.style|a,c=m?c&~a|n&a:c|a);if(a||_t.has(p)){l+=d[0].length;continue}}}else if(i&&(h==="*"||h==="_")){let d=e[l+1]===h,p=d?1:2,m=d?2:1,a=(u&p)===0,g=l>0?e[l-1]:" ",$=l+m<o?e[l+m]:" ",v=a&&$.trim()!==""&&e.indexOf(d?h+h:h,l+m)!==-1,w=!a&&g.trim()!=="",E=h==="_"&&/\w/.test(g)&&/\w/.test($);if((v||w)&&!E){f(),u=v?u|p:u&~p,c=v?c|p:c&~p|n&p,l+=m;continue}}r+=h,l++}f()}function Dt(t,e,i){let n=0;for(let s of t)s.width=s.icon!==void 0?i*1.25:s.math?s.math.width:e.width(s.text,i,s.style),n+=s.width;return n}function W(t,e,i,n,s,c){let u=[],r=0,l=(o=!1)=>{let f=u[u.length-1];if(k(f)){let h=f.text.trimEnd();if(o&&f.text.endsWith("")&&(h=h.slice(0,-1)+"-"),h!==f.text){f.text=h;let d=e.width(h,i,f.style);r+=d-f.width,f.width=d}}s.push(u),c.push(r),u=[],r=0};for(let o of t){if(o.icon!==void 0||o.math){let a=o.math?o.math.width:i*1.25;r>0&&r+a>n&&l(),u.push({...o,width:a}),r+=a;continue}let f=o.text.match(It)??[],h=o.text.includes(""),d=h?f.length:0,p=new Float64Array(d),m=new Float64Array(d+1);for(let a=d-1;a>=0;a--){let g=f[a].endsWith(""),$=f[a].trimEnd();p[a]=e.width(g?$.slice(0,-1):$,i,o.style),m[a]=g?a===d-1?o===t[t.length-1]?p[a]:1/0:p[a]+m[a+1]:p[a]}for(let a=0;a<f.length;a++){let g=f[a],$=h?p[a]:e.width(g.trimEnd(),i,o.style),v=!h||!g.endsWith("")?r+$<=n:r+e.width(g.slice(0,-1)+"-",i,o.style)<=n||r+m[a]<=n;r>0&&!v&&(l(g.trimStart()===g),g=g.trimStart());let w=u[u.length-1];if(k(w)&&w.style===o.style){if(w.text+=g,$>0||g.trimEnd()!==g){let E=w.width;w.width=e.width(w.text,i,w.style),r+=w.width-E}}else{let E=e.width(g,i,o.style);u.push({text:g,style:o.style,width:E}),r+=E}}}(u.length>0||s.length===0)&&l()}function ne(t,e,i,n,s,c=0){if(t===void 0||t==="")return Ot;let u=Math.round(n*wt);if(D()&&t.includes("$$")&&!V.test(t)){let r={tex:[],math:[]},l=t.replace(Tt,(o,f)=>r.tex.length===kt?o:(r.tex.push(f),String.fromCharCode(J+r.tex.length-1)));if(r.tex.length>0){for(let o of r.tex)r.math.push(F(M(o),n));return X(l,e,i,n,s,c,u,r)}}if(!St.test(t)&&!t.includes("&")&&!t.includes("fl")){let r=t.trim(),l=i.width(r,n,c);if(l<=s||!(r.includes(" ")||Rt.test(r)||Lt.test(r)))return{lines:[[{text:r,style:c,width:l}]],widths:[l],width:l,height:u,size:n,lineHeight:u};let o=[],f=[];W([{text:r,style:c,width:l}],i,n,s,o,f);let h=0;for(let p of f)p>h&&(h=p);let d=o.length>1?Math.round(n*z):u;return{lines:o,widths:f,width:h,height:o.length*d,size:n,lineHeight:d}}return X(t,e,i,n,s,c,u)}function X(t,e,i,n,s,c,u,r){let l=R;R=r;try{let o=Ft(t,e,i,n,s,c,u);return r?Pt(o):o}finally{R=l}}function Ft(t,e,i,n,s,c,u){let r=e?Ht(t.replace(/\r\n?/g,`
|
|
4
|
+
`)).trim():t.trim(),l=[],o=[],f=0,h={style:c,shifts:[]};for(let p of r.split(yt)){let m=[];Nt(m,p.trim(),e,c,h);let a=Dt(m,i,n);a>s?W(m,i,n,s,l,o):(l.push(m),o.push(a))}for(let p of o)p>f&&(f=p);let d=l.length>1?Math.round(n*z):u;return{lines:l,widths:o,width:f,height:l.length*d,size:n,lineHeight:d}}function Pt(t){let e;for(let n=0;n<t.lines.length;n++){let s=t.lineHeight;for(let c of t.lines[n])c.math&&(s=Math.max(s,Math.ceil(c.math.height+t.size/4)));s!==t.lineHeight&&e===void 0&&(e=t.lines.map(()=>t.lineHeight)),e&&(e[n]=s)}if(e===void 0)return t.heights===void 0?t:{...t,heights:void 0,height:t.lines.length*t.lineHeight};let i=0;for(let n of e)i+=n;return{...t,heights:e,height:i}}function ie(t){for(let e of t)if(e.math)return!0;return!1}function se(t,e){let i=t.heights;if(!i)return(e+.5)*t.lineHeight;let n=0;for(let s=0;s<e;s++)n+=i[s];return n+i[e]/2}function oe(t,e){let i=t.widths[e],n=t.heights?t.heights[e]:t.lineHeight,s={lines:[t.lines[e]],widths:[i],width:i,height:n,size:t.size,lineHeight:t.lineHeight};return n!==t.lineHeight&&(s.heights=[n]),s}var et="--_bg:var(--pele-bg,#fff);--_fg:var(--pele-fg,#1f1f1f);--_m:var(--pele-muted,#6e6e6e);--_l:var(--pele-line,#1f1f1f);--_s:var(--pele-surface,#f3f3f3);--_a:var(--pele-surface-alt,#e6e6e6);--_b:var(--pele-border,#8a8a8a);--_c:var(--pele-accent,#5b7bd5);color:var(--_fg)",le="var(--_fm)",nt="var(--pele-radius,4px)",jt=' style="rx:var(--_r)"',Ut=/[";]fill:/,fe=t=>Ut.test(t);function ae(t){let e=t.indexOf(' style="');return e<0?t+jt:`${t.slice(0,e+8)}rx:var(--_r);${t.slice(e+8)}`}var ue="var(--pele-critical,#e45756)",Z=String.raw`(?:"[^"'\\\n<>{}();:@]*"|'[^"'\\\n<>{}();:@]*'|[\p{L}\p{N}_-][\p{L}\p{N}_ .-]*)`,Bt=new RegExp(String.raw`^\s*${Z}(?:\s*,\s*${Z})*\s*$`,"u");function Q(t,e){return t&&Bt.test(t)?t:e}function it(t,e,i){return`;--_fm:var(--pele-font-mono,${Q(i,"monospace")});font:${t}px sans-serif;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;font-family:var(--pele-font,${Q(e,"sans-serif")})`}var Kt=new Set(["fill","fill-opacity","stroke","stroke-width","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-opacity","opacity","rx","ry"]),Yt=new Set(["color","font-size","font-family","font-weight","font-style","text-decoration","letter-spacing","word-spacing","opacity"]),qt=/url\s*\(|expression\s*\(|javascript:|[<>{};\\]|@import|image-set|\/\*/i,tt={shape:"",line:"",text:"",stroke:void 0,bold:!1,italic:!1,fontSize:void 0};function he(t){if(t.length===0)return tt;let e=new Map,i=new Map;for(let o of t){let f=o.indexOf(":");if(f<=0)continue;let h=o.slice(0,f).trim().toLowerCase(),d=o.slice(f+1).replace(/!important/gi,"").trim();d===""||qt.test(d)||j.test(d)||(Kt.has(h)&&e.set(h,d),Yt.has(h)&&i.set(h==="color"?"fill":h,d))}if(e.size===0&&i.size===0)return tt;let n="",s="";for(let[o,f]of e)n+=`${o}:${f};`,o!=="fill"&&o!=="fill-opacity"&&(s+=`${o}:${f};`);let c="";for(let[o,f]of i)c+=`${o}:${f};`;let u=i.get("font-weight"),r=i.get("font-size"),l=r&&/^[\d.]+(px)?$/.test(r)?parseFloat(r):void 0;return{shape:n?` style="${S(n)}"`:"",line:s?` style="${S(s)}"`:"",text:c?` style="${S(c)}"`:"",stroke:e.get("stroke"),bold:u==="bold"||u==="bolder"||Number(u)>=600,italic:i.get("font-style")==="italic",fontSize:l!==void 0&&l>0&&l<=200?l:void 0}}var Gt=/[^\w-]+/g;function de(t){let e=t.replace(Gt," ").trim();return e===""?"":" "+e}var Xt=["#4c78a8","#f58518","#54a24b","#e45756","#72b7b2","#eeca3b","#b279a2","#9d755d"];function pe(t){let e=(t%8+8)%8;return`var(--pele-series-${e+1},${Xt[e]})`}var zt=[["tw","title"],["hw","heading"],["w","bold"]],Jt=/var\(--_(r|tw|hw|w)\)/g;function be(t,e,i,n,s,c,u){let r=S(s.idPrefix??"pele"),l="",o="";c.accTitle&&(l+=`<title id="${r}-title">${L(c.accTitle)}</title>`,o+=` aria-labelledby="${r}-title"`),c.accDescr&&(l+=`<desc id="${r}-desc">${L(c.accDescr)}</desc>`,o+=` aria-describedby="${r}-desc"`);let f=s.responsive===!1?"":"max-width:100%;height:auto;",h=new Set;for(let[,p]of u.matchAll(Jt))if(h.add(p),h.size===4)break;let d=h.has("r")?`;--_r:${nt}`:"";for(let[p,m]of zt)h.has(p)&&(d+=`;--_${p}:var(--pele-${m}-weight,bold)`);return`<svg xmlns="http://www.w3.org/2000/svg" class="pele pele-${t}" viewBox="0 0 ${e} ${i}" width="${e}" height="${i}" style="${f}${et}${d}${S(it(n,s.fontFamily,s.fontFamilyMono))}" fill="var(--_fg)" role="graphics-document document" aria-roledescription="${t}"${o}>`+l+u+"</svg>"}export{j as a,S as b,L as c,x as d,Wt as e,P as f,bt as g,$t as h,ne as i,Pt as j,ie as k,se as l,oe as m,le as n,jt as o,fe as p,ae as q,ue as r,he as s,de as t,pe as u,be as v};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a}from"./O4MQT6AV.js";import"./NDSCUZ25.js";import"./GUJTEFZK.js";import"./DKTLEL5E.js";import"./KHUP5TOH.js";import"./YWXUFHC7.js";export{a as gantt};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a}from"./Z3ZRV7NH.js";import"./PDMLSE6I.js";import"./VSWIZJ7B.js";import"./GUJTEFZK.js";import"./DKTLEL5E.js";import"./UWRPUF3N.js";import"./2CHDFZHC.js";import"./KHUP5TOH.js";import"./YWXUFHC7.js";export{a as block};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a}from"./4WR52FRP.js";import"./OHJ2EJXK.js";import"./NDSCUZ25.js";import"./VSWIZJ7B.js";import"./GUJTEFZK.js";import"./DKTLEL5E.js";import"./UWRPUF3N.js";import"./2CHDFZHC.js";import"./KHUP5TOH.js";import"./YWXUFHC7.js";export{a as c4};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a}from"./W77N5H3K.js";import"./GUJTEFZK.js";import"./DKTLEL5E.js";import"./KHUP5TOH.js";import"./YWXUFHC7.js";export{a as sankey};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import{a as It}from"./G3MDBVQH.js";import{a as ct,b as dt}from"./YUPSMAUO.js";import{a as xe,c as nt,d as Ae,e as rt}from"./LLLWOAQD.js";import{a as at}from"./PDMLSE6I.js";import{e as tt,g as st}from"./NDSCUZ25.js";import{a as ne,d as Re,g as ce}from"./GUJTEFZK.js";import{d as At,e as St}from"./DKTLEL5E.js";import{i as ht,l as Et,m as pt,n as Ge,p as _t,r as gt,s as mt}from"./UWRPUF3N.js";import{a as ke,b as ve,c as ut,d as ft,e as Ye}from"./2CHDFZHC.js";import{b as he,c as Ee,d as p,e as pe,f as Je,g as et,h as De,i as le,k as it,l as ot,m as lt,o as bt,p as Ot,q as _e,s as Nt,t as yt,v as Rt}from"./KHUP5TOH.js";import{g as $e,i as Ve,p as qe}from"./YWXUFHC7.js";function Xt(s){return s==="markdown"||s==="string"||s==="text"?s:"markdown"}var Se=class{type="er";direction="TB";entities=new Map;relationships=[];classes=new Map;subgraphs=[];title;accTitle;accDescr;subgraphLookup=new Map;claimed=new Set;addEntity(r,n=""){let l=this.entities.get(r);return l===void 0?(l={id:`entity-${r}-${this.entities.size}`,label:r,alias:n,attributes:[],cssClasses:"default",cssStyles:[]},this.entities.set(r,l)):!l.alias&&n&&(l.alias=n),l}addAttributes(r,n){let l=this.addEntity(r);for(let f=n.length-1;f>=0;f--){let t=n[f];t.keys??=[],t.comment??="",l.attributes.push(t)}}addRelationship(r,n,l,f){let t=this.subgraphLookup.has(r)?r:this.addEntity(r).id,e=this.subgraphLookup.has(l)?l:this.addEntity(l).id;this.relationships.push({entityA:t,roleA:n,entityB:e,relSpec:f})}setDirection(r){this.direction=r}addCssStyles(r,n){if(n)for(let l of r){let f=this.entities.get(l);if(f)for(let e of n)f.cssStyles.push(e);let t=this.subgraphLookup.get(l);if(t)for(let e of n)t.cssStyles.push(e)}}addClass(r,n){for(let l of r){let f=this.classes.get(l);if(f===void 0&&(f={id:l,styles:[],textStyles:[]},this.classes.set(l,f)),!!n)for(let t of n)t.includes("color")&&f.textStyles.push(t.replace("fill","bgFill")),f.styles.push(t)}}setClass(r,n){for(let l of r){let f=this.entities.get(l);if(f)for(let e of n)f.cssClasses+=" "+e;let t=this.subgraphLookup.get(l);if(t)for(let e of n)t.classes.push(e)}}addSubGraph(r,n,l){let f=r.text.trim(),t=new Set,e=[],b;for(let d of n.flat()){if(typeof d!="string"){d?.stmt==="dir"&&(b=d.value);continue}let g=d.trim();g===""||t.has(g)||(t.add(g),this.claimed.has(d)||e.push(d))}for(let d of e)this.claimed.add(d);let E={id:f,nodes:e,title:(l.text||"").trim(),classes:[],cssStyles:[],dir:b,labelType:Xt(l.type)};return this.subgraphs.push(E),this.subgraphLookup.set(f,E),f}setAccTitle(r){this.accTitle=r.replace(/^\s+/g,"")}setAccDescription(r){this.accDescr=r.replace(/\n\s+/g,`
|
|
2
|
+
`)}};var Be=["$end","INVALID","ER_DIAGRAM","EOF","NEWLINE","COLON","STYLE_SEPARATOR","BLOCK_START","BLOCK_STOP","SQS","SQE","acc_title","acc_title_value","acc_descr","acc_descr_value","acc_descr_multiline_value","END","SUBGRAPH","direction_tb","direction_bt","direction_rl","direction_lr","CLASSDEF","UNICODE_TEXT","STYLE_TEXT","COMMA","CLASS","STYLE","SEMI","NUM","BRKT","ENTITY_NAME","DECIMAL_NUM","ENTITY_ONE","ATTRIBUTE_WORD","ATTRIBUTE_KEY","COMMENT","ZERO_OR_ONE","ZERO_OR_MORE","ONE_OR_MORE","ONLY_ONE","MD_PARENT","NON_IDENTIFYING","IDENTIFYING","WORD","CHAR"];var ge=1,Ie=2,Fe=4,me=8,J=new Uint8Array(128);for(let s=0;s<128;s++){let r=s>=48&&s<=57||s>=65&&s<=90||s>=97&&s<=122||s===95,n=r&&(s<48||s>57);r&&(J[s]|=ge|Ie|me),n&&(J[s]|=Fe)}for(let s of"-*")J[s.charCodeAt(0)]|=ge|Ie|me;J[46]|=ge|me;J[42]|=Fe;for(let s of"[](),")J[s.charCodeAt(0)]|=me;var Kt=/accTitle\s*:\s*/iy,Zt=/accDescr\s*:\s*/iy,jt=/accDescr\s*\{\s*/iy,Qt=[/.*direction\s+TB[^\n]*/iy,/.*direction\s+BT[^\n]*/iy,/.*direction\s+RL[^\n]*/iy,/.*direction\s+LR[^\n]*/iy],Pe=/direction/gi,Ue=/[\n\r\u2028\u2029]/g;function Ct(s,r){return s<128?(J[s]&r)!==0:s>=192||s===181}function Tt(s){let r=s.length,n=[],l=[],f=[],t=0,e=0,b=-2,E=0,d=-1,g=-2,I=-1,C=-1,R=-1,a=(c,i,O)=>{n.push(c),l.push(s.slice(i,O)),f.push(i),e=O},z=(c,i)=>(c.lastIndex=i,c.test(s)?c.lastIndex:-1),Z=c=>{for(let i=0;i<c.length;i++){let O=c.charCodeAt(i),v=s.charCodeAt(e+i);if(v!==O&&(O<97||O>122||(v|32)!==O))return!1}return!0},T=c=>Z(c)&&!ce(s.charCodeAt(e+c.length)),V=c=>{let i=s.charCodeAt(c);return i>=65&&i<=90?i+32:i},B=c=>(Ue.lastIndex=c,Ue.test(s)?Ue.lastIndex-1:r),Y=c=>{for(;Re(s.charCodeAt(c));)c++;return c},x=()=>{if(b===-1||b<e&&(Pe.lastIndex=e,b=Pe.test(s)?Pe.lastIndex-9:-1,b===-1)||e<E||(d<e&&(d=B(e)),b>=d))return!1;for(let c=0;c<4;c++){let i=z(Qt[c],e);if(i>=0)return a(18+c,e,i),!0}return E=d,!1},k=()=>{let c=s.indexOf('"',e+1);if(c===-1){a(45,e,e+1);return}let i=c>e+1;for(let O=e+1;i&&O<c;O++){let v=s.charCodeAt(O);(v===37||v===92||v===13||v===10||v===11||v===8)&&(i=!1)}a(i?31:44,e,c+1)},u=c=>{let i=s.charCodeAt(e+1);if(i===43&&(c===49||c===48)){a(c===49?39:38,e,e+2);return}let O=Y(e+1);if(s.charCodeAt(O)===46&&Re(s.charCodeAt(O+1))){a(32,e,Y(O+2));return}if(c===49){if(ne(i)){let v=e+2;for(;ne(s.charCodeAt(v));)v++;let ue=s.charCodeAt(v);if(ce(ue)||ue===34||ue===39){a(40,e,e+1);return}}else if(i===45||i===46){let v=s.charCodeAt(e+2);if(v===45||v===46){a(40,e,e+1);return}}if(!ce(i)){a(33,e,e+1);return}}a(29,e,O)},h=c=>{let i=s.charCodeAt(e+1);switch(c){case 101:if(T("erdiagram"))a(2,e,e+9);else if(T("end")){let O=e+3;for(;ne(s.charCodeAt(O));)O++;a(16,e,O)}else return!1;return!0;case 115:if(T("style"))t=6,a(27,e,e+5);else if(T("subgraph"))a(17,e,e+8);else return!1;return!0;case 99:if(T("classdef"))t=6,a(22,e,e+8);else if(T("class"))a(26,e,e+5);else return!1;return!0;case 111:if(T("one or zero"))a(37,e,e+11);else if(T("one or more")||T("one or many"))a(39,e,e+11);else if(T("one"))a(40,e,e+3);else if(T("only one"))a(40,e,e+8);else if(i===124)a(37,e,e+2);else if(i===123)a(38,e,e+2);else if(T("optionally to"))a(42,e,e+13);else return!1;return!0;case 122:if(T("zero or one"))a(37,e,e+11);else if(T("zero or more")||T("zero or many"))a(38,e,e+12);else return!1;return!0;case 109:if(Z("many(0)"))a(38,e,e+7);else if(Z("many(1)"))a(39,e,e+7);else if(T("many"))a(38,e,e+4);else return!1;return!0;case 116:return T("to")?(a(43,e,e+2),!0):!1;case 117:return i!==46&&i!==45&&i!==124?!1:(a(41,e,e+1),!0);case 124:if(V(e+1)===111&&!ce(s.charCodeAt(e+2)))a(37,e,e+2);else if(i===124)a(40,e,e+2);else if(i===123)a(39,e,e+2);else return!1;return!0;case 125:if(V(e+1)===111&&!ce(s.charCodeAt(e+2)))a(38,e,e+2);else if(i===124)a(39,e,e+2);else return!1;return!0;case 46:return i!==46&&i!==45?!1:(a(42,e,e+2),!0);case 45:if(i===45)a(43,e,e+2);else if(i===46)a(42,e,e+2);else return!1;return!0}return!1},w=c=>{let i;if((c===97||c===65)&&Z("acc")){if((i=z(Kt,e))>=0){t=3,a(11,e,i);return}if((i=z(Zt,e))>=0){t=4,a(13,e,i);return}if((i=z(jt,e))>=0){t=5,e=i;return}}if(!x()){switch(c){case 32:case 9:case 13:i=e+1;for(let O=s.charCodeAt(i);O===32||O===9||O===13;O=s.charCodeAt(i))i++;e=i;return;case 10:for(i=e+1;s.charCodeAt(i)===10;)i++;a(4,e,i);return;case 34:k();return;case 123:t=1,a(7,e,e+1);return;case 35:a(30,e,e+1);return;case 44:a(25,e,e+1);return;case 58:s.charCodeAt(e+1)===58&&s.charCodeAt(e+2)===58?a(6,e,e+3):a(5,e,e+1);return;case 91:a(9,e,e+1);return;case 93:a(10,e,e+1);return}if(Re(c)){u(c);return}if(!h(c>=65&&c<=90?c+32:c)){if(c>=128||(J[c]&ge)!==0){i=e+1;for(let O=s.charCodeAt(i);O>=128||(J[O]&ge)!==0;O=s.charCodeAt(i))i++;a(23,e,i);return}a(45,e,e+1)}}},P=()=>{if(g===-1||g<e&&(g=s.indexOf("~",e),g===-1))return!1;if(R<e){let i=e;for(;i<r&&!ne(s.charCodeAt(i));)i++;R=i}if(g>=R||(I<e&&(I=B(e),C=s.lastIndexOf("~",I-1)),C<=g))return!1;let c=C+1;for(;c<r&&!ne(s.charCodeAt(c));)c++;return a(34,e,c),!0},ie=c=>{if(ne(c)){for(e++;ne(s.charCodeAt(e));)e++;return}let i=c|32;if((i===112||i===102||i===117)&&(s.charCodeAt(e+1)|32)===107&&!ce(s.charCodeAt(e+2))){a(35,e,e+2);return}if(!P()){if(Ct(c,Fe)){let O=e+1;for(;O<r&&Ct(s.charCodeAt(O),me);)O++;a(34,e,O);return}if(c===96){t=2,e++;return}if(c===34){let O=s.indexOf('"',e+1);if(O!==-1){a(36,e,O+1);return}}else if(c===125){t=0,a(8,e,e+1);return}a(45,e,e+1)}};for(;e<r;){let c=s.charCodeAt(e),i;switch(t){case 0:w(c);break;case 1:ie(c);break;case 2:c===96?(t=1,e++):(i=s.indexOf("`",e),a(34,e,i===-1?r:i));break;case 3:case 4:i=s.indexOf(`
|
|
3
|
+
`,e),a(t===3?12:14,e,i===-1?r:i),t=0;break;case 5:c===125?(t=0,e++):(i=s.indexOf("}",e),a(15,e,i===-1?r:i));break;case 6:if(c===10){for(i=e+1;s.charCodeAt(i)===10;)i++;t=0,a(4,e,i)}else if(ne(c))for(e++;ne(s.charCodeAt(e));)e++;else if(c===58)a(5,e,e+1);else if(c===44)a(25,e,e+1);else if(c===35)a(30,e,e+1);else if(c===59)a(28,e,e+1);else if(c>=128||(J[c]&Ie)!==0){i=e+1;for(let O=s.charCodeAt(i);O>=128||(J[O]&Ie)!==0;O=s.charCodeAt(i))i++;a(24,e,i)}else return n.push(1),l.push(""),f.push(e),{types:n,texts:l,starts:f};break}}let X=t===0?3:t===3?12:t===4?14:t===5?15:-1;return X!==-1&&(n.push(X),l.push(""),f.push(r)),n.push(0),l.push(""),f.push(r),{types:n,texts:l,starts:f}}var We=new Map([[37,"ZERO_OR_ONE"],[38,"ZERO_OR_MORE"],[39,"ONE_OR_MORE"],[40,"ONLY_ONE"],[41,"MD_PARENT"]]),Vt=["TB","BT","RL","LR"],Mt="'UNICODE_TEXT', 'NUM', 'ENTITY_NAME', 'DECIMAL_NUM', 'ENTITY_ONE'",qt="'ZERO_OR_ONE', 'ZERO_OR_MORE', 'ONE_OR_MORE', 'ONLY_ONE', 'MD_PARENT'",Ce="'EOF', 'NEWLINE', 'title', 'acc_title', 'acc_descr', 'acc_descr_multiline_value', 'SUBGRAPH', 'direction_tb', 'direction_bt', 'direction_rl', 'direction_lr', 'CLASSDEF', 'CLASS', 'STYLE', "+Mt;function wt(s,r){let{types:n,texts:l,starts:f}=Tt(s),t=0,e=u=>{let h=n[t];throw h===1?$e("er",s,f[t],"",!0):$e("er",s,f[t],`Expecting ${u}, got '${h===45?l[t]:Be[h]}'`)},b=u=>(n[t]!==u&&e(`'${Be[u]}'`),l[t++]),E=()=>{let u=n[t];u!==4&&u!==28&&u!==3&&e("'EOF', 'NEWLINE', 'SEMI'"),t++},d=u=>u===23||u===31||u===29||u===32||u===33,g=()=>{let u=n[t];d(u)||e(Mt);let h=l[t++];return u===31?h.slice(1,-1):h},I=()=>{let u=[];for(;;){let h=n[t];if(h!==23&&h!==24&&e("'UNICODE_TEXT', 'STYLE_TEXT'"),u.push(l[t++]),n[t]!==25)return u;t++}},C=u=>u===24||u===29||u===5||u===30,R=()=>{let u=[];for(;;){C(n[t])||e("'STYLE_TEXT', 'COLON', 'NUM', 'BRKT'");let h=l[t++];for(;C(n[t]);)h+=l[t++];if(u.push(h),n[t]!==25)return u;t++}},a=()=>{let u=We.get(n[t++]),h=n[t];h!==43&&h!==42&&e("'NON_IDENTIFYING', 'IDENTIFYING'");let w=h===43?"IDENTIFYING":"NON_IDENTIFYING";t++;let P=We.get(n[t]);return P===void 0?e(qt):(t++,{cardA:P,relType:w,cardB:u})},z=()=>{let u=n[t];u!==44&&u!==31&&u!==23&&e("'UNICODE_TEXT', 'ENTITY_NAME', 'WORD'");let h=l[t++];return u===23?h:h.slice(1,-1)},Z=u=>n[t]===45&&l[t]===u,T=()=>{let u=[];do{let h=b(34);Z("?")&&(h+=l[t++]),n[t]!==34&&e(h.endsWith("?")?"'ATTRIBUTE_WORD'":"'ATTRIBUTE_WORD', '?'");let w={type:h,name:l[t++]};if(n[t]===35){let P=[l[t++]];for(;Z(",");)t++,P.push(b(35));w.keys=P}n[t]===36&&(w.comment=l[t++].slice(1,-1)),u.push(w)}while(n[t]!==8);return u.reverse()},V=()=>{if(n[t]!==7)return;if(t++,n[t]===8){t++;return}let u=T();return t++,u},B=()=>{let u=g(),h=n[t];if(h===9){t++;let ie=g();b(10);let X;n[t]===6&&(t++,X=I());let c=V();return r.addEntity(u,ie),c&&r.addAttributes(u,c),X&&r.setClass([u],X),[u]}let w;if(h===6&&(t++,w=I(),h=n[t]),We.has(h)){let ie=a(),X=g(),c;n[t]===6&&(t++,c=I()),b(5);let i=z();return r.addEntity(u),r.addEntity(X),r.addRelationship(u,i,X,ie),w&&r.setClass([u],w),c&&r.setClass([X],c),[u,X]}let P=V();return r.addEntity(u),P&&r.addAttributes(u,P),w&&r.setClass([u],w),[u]};b(2);let Y=[{id:"",title:"",list:[]}],x=Y[0],k=!1;for(;;){let u=n[t];switch(u){case 4:t++;break;case 3:t++,k&&e(`'END', ${Ce}`);return;case 16:{k||e(Ce),t++;let h=r.addSubGraph({text:x.id},x.list,{text:x.title});Y.pop(),x=Y[Y.length-1],k=Y.length>1,k&&x.list.push(h);break}case 17:{t++;let h=g(),w=h;if(n[t]===9){for(t++,w=g();d(n[t]);)w+=" "+g();b(10)}E(),x={id:h,title:w,list:[]},Y.push(x),k=!0;break}case 11:{t++;let h=b(12).trim();r.setAccTitle(h),k&&x.list.push(h);break}case 13:{t++;let h=b(14).trim();r.setAccDescription(h),k&&x.list.push(h);break}case 15:{let h=l[t++].trim();r.setAccDescription(h),k&&x.list.push(h);break}case 18:case 19:case 20:case 21:{t++;let h=Vt[u-18];k?x.list.push({stmt:"dir",value:h}):r.setDirection(h);break}case 22:{let h=l[t++],w=I(),P=R();E(),r.addClass(w,P),k&&x.list.push(h);break}case 26:{let h=l[t++],w=I();r.setClass(w,I()),k&&x.list.push(h);break}case 27:{let h=l[t++],w=I(),P=R();E(),r.addCssStyles(w,P),k&&x.list.push(h);break}default:{d(u)||e(k?`'END', ${Ce}`:Ce);let h=B();if(k)for(let w of h)x.list.push(w)}}}}var Jt=[];function Lt(s){let r=[],n=[],l=s.subgraphs,f=E=>{let d=[];for(let g of E){let I=s.classes.get(g);if(I!==void 0){for(let C of I.styles)d.push(C.trim());for(let C of I.textStyles)d.push(C.trim())}}return d},t=new Map,e=new Set;for(let E=l.length-1;E>=0;E--){let d=l[E];e.add(d.id);for(let g of d.nodes)t.set(g,d.id)}for(let E=l.length-1;E>=0;E--){let d=l[E];r.push({id:d.id,label:d.title,alias:"",attributes:Jt,isGroup:!0,parentId:t.get(d.id),cssStyles:d.cssStyles,cssCompiledStyles:f(d.classes),cssClasses:d.classes.join(" "),dir:d.dir,labelType:d.labelType})}let b=new Map;for(let[E,d]of s.entities){if(e.has(E)){b.set(d.id,E);continue}r.push({id:d.id,label:d.label,alias:d.alias,attributes:d.attributes,isGroup:!1,parentId:t.get(E),cssStyles:d.cssStyles,cssCompiledStyles:f(d.cssClasses.split(" ")),cssClasses:d.cssClasses,dir:void 0,labelType:"markdown"})}return s.relationships.forEach((E,d)=>{n.push({id:`id_${E.entityA}_${E.entityB}_${d}`,start:b.get(E.entityA)??E.entityA,end:b.get(E.entityB)??E.entityB,label:E.roleA,arrowTypeStart:E.relSpec.cardB.toLowerCase(),arrowTypeEnd:E.relSpec.cardA.toLowerCase(),pattern:E.relSpec.relType==="IDENTIFYING"?"solid":"dashed"})}),{nodes:r,edges:n}}var re=18,$t=5,Dt=6,He=10,xt=3.5;function de(s,r,n,l,f){let t=(g,I)=>p(r-l*g-f*I)+","+p(n-f*g+l*I),e=g=>`M${t(g,-$t)}L${t(g,$t)}`,b=`M${t(0,-Dt)}L${t(He,0)}L${t(0,Dt)}`,E=g=>`<circle class="pele-marker" cx="${p(r-l*g)}" cy="${p(n-f*g)}" r="${xt}" fill="var(--_bg)"/>`,d=g=>`<path class="pele-marker" d="${g}"/>`;switch(s){case"only_one":return d(e(6)+e(10));case"zero_or_one":return d(e(6))+E(13.5);case"one_or_more":return d(b+e(He+3.5));case"zero_or_more":return d(b)+E(He+xt+.5);case"md_parent":return`<path class="pele-marker" d="M${t(0,0)}L${t(6,4)}L${t(12,0)}L${t(6,-4)}Z" fill="var(--_bg)"/>`}return""}var es=48,ts=20,ss=64,be=20,Oe=28,ns=38,kt=96,vt=18,rs=12,is=9,ze=12,Yt=16,Xe=9,os=260,Ke=1e6,ls=[],as=18,cs=14,Gt=' fill="var(--_s)" stroke="var(--_b)"';function Bt(s,r,n){let l=s.er?.[r];return typeof l=="number"&&l>0?Math.min(l,2e3):n}function Te(s,r,n,l,f,t=0){let e=s.lines;if(e.length===0)return"";let b=e.length===1&&e[0].length===1?e[0][0]:void 0;if(b&&b.icon===void 0&&b.math===void 0&&b.style===t&&!(t&&b.text.includes(" ")))return`<text${De(l,t)} x="${p(r)}" y="${p(n)}">${he(b.text)}</text>`;let E=et(s),d=s.size*.35,g=n-d-s.lineHeight/2,I="",C="";for(let R=0;R<e.length;R++){let a=e[R],z=g+ot(s,R);if(it(a)){C+=pe(lt(s,R),r+s.widths[R]/2,z,l,f);continue}n=z+d;let Z=!1;for(let B of a)B.icon!==void 0&&(Z=!0);let T=r,V=!1;for(let B of a){if(B.icon!==void 0){let Y=s.size*1.1;C+=`<svg class="pele-icon" data-icon="${Ee(B.icon)}" x="${p(T)}" y="${p(n-s.size*.35-Y/2)}" width="${p(Y)}" height="${p(Y)}" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">${f?.(B.icon)??""}</svg>`}else if(B.text!==""){let Y=Z||!V?` x="${p(T)}" y="${p(n)}"`:"";I+=`<tspan${Y}${Je(B.style&~E)}>${he(B.text)}</tspan>`,V=!0}T+=B.width}}return`<text${De(l,E)} xml:space="preserve">${I}</text>${C}`}function Ze(s){let r=It(s);return r===s?s:r.replace(/</g,"<").replace(/>/g,">")}function Ft(s,r,n){return St(s.direction)?At(n,l=>Pt(s,r,n,l)):Pt(s,r,n,!1)}function Pt(s,r,n,l){let f=Lt(s),t=Array.isArray(n.monospace)&&n.monospace.includes("attributes"),e=n.fontSize??16,b=Math.round(e*.875),E=n.measurer??qe(n.fontFamily,n.fontFamilyMono),d=n.padding??8,g=n.icons,I=new Map,C=[],R=[];f.nodes.forEach((y,o)=>I.set(y.id,o));let a=[],z=[],Z=[],T=new Map,V=[];for(let y of f.edges){let o=I.get(y.start),m=I.get(y.end);if(o===void 0||m===void 0)continue;let A=le(y.label,!0,E,b,200),M;if(o===m){M={label:A,band:0,at:0};let L=T.get(o);L?L.push(M):T.set(o,[M])}V.push(M),Z.push(y),z.push(A),a.push({src:o,dst:m,minlen:1,labelW:A.width>0?A.width+12:0,labelH:A.height>0?A.height+4:0,route:[],labelX:0,labelY:0})}let B=y=>{let o=y;for(let m=0;m<f.nodes.length;m++){let A=f.nodes[o].parentId,M=A===void 0?void 0:I.get(A);if(M===void 0)break;let L=f.nodes[M].dir;if(L)return L==="LR"||L==="RL";o=M}return s.direction==="LR"||s.direction==="RL"};for(let y=0;y<f.nodes.length;y++){let o=f.nodes[y],m=Nt(o.cssStyles.length>0?o.cssCompiledStyles.concat(o.cssStyles):o.cssCompiledStyles),A=(m.bold?1:0)|(m.italic?2:0),M=t&&!/[";]font-family:/.test(m.text)?4:0,L=m.fontSize??e,D=m.fontSize??b,U=m.fontSize??Math.round(e*.75),F=o.isGroup?le(o.label,!0,E,L,4e3,A):le(o.alias||o.label,!0,E,L,240,A),K=T.get(y)??ls,j=K.length>0&&!o.isGroup&&B(y),N={node:o,style:m,label:F,w:0,h:0,headH:0,rows:[],cols:[],rowSize:D,keySize:U,mono:M,below:j},W=0,$=0;for(let _ of K)_.band=Math.max(ns,j?_.label.width+12:_.label.height+6),$+=_.band,W=Math.max(W,j?_.label.height:_.label.width);let ee=Math.max(kt,j?$+8:0),S;if(o.isGroup)S=Ae(0,0),S.isGroup=!0,S.dir=o.dir?xe(o.dir):void 0,S.padX=be,S.padTop=N.label.height>0?N.label.height+16:be,S.padBottom=be,S.minW=Math.max(N.label.width+2*be-12,kt);else{let _=Math.max(F.height,Math.round(L*1.5));if(o.attributes.length===0)N.w=Math.max(F.width+2*vt,ee),N.h=Math.max(_+2*rs,j?0:$+8);else{let Q=Math.round(D*1.5),ae=[0,0,0,0];for(let H of o.attributes){let q=[le(Ze(H.type),!0,E,D,Ke,A|M),le(Ze(H.name),!0,E,D,Ke,A|M),le(H.keys.join(", "),!1,E,U,Ke,A|M),le(Ze(H.comment),!0,E,D,os,A)],oe=Q;for(let se=0;se<4;se++)q[se].width>ae[se]&&(ae[se]=q[se].width),q[se].height>oe&&(oe=q[se].height);N.rows.push({cells:q,h:oe+Xe}),N.h+=oe+Xe}let te=0,fe=0;for(let H of ae)H!==0&&(fe+=H+(te>0?Yt:0),te++);N.w=Math.max(fe+2*ze,F.width+2*vt,ee);let Ne=te>0?(N.w-fe-2*ze)/te:0,ye=ze;for(let H of ae)N.cols.push(ye),H>0&&(ye+=H+Ne+Yt);N.headH=_+2*is,N.h+=N.headH}let G=K.length>0?2*(re+Oe*.75+10+W):0;S=j?Ae(N.w,N.h+G):Ae(N.w+G,N.h)}S.seq=C.length,C.push(N),R.push(S)}f.nodes.forEach((y,o)=>{R[o].parent=y.parentId!==void 0?I.get(y.parentId)??-1:-1});let Y=rt(R,a,l?"TB":xe(s.direction),{nodeSep:Bt(r,"nodeSpacing",es),edgeSep:ts,rankSep:Bt(r,"rankSpacing",ss),portSep:24});us(a,R,C);let x=Y.width;for(let[y,o]of T){let m=R[y];if(!m.isGroup)continue;let A=0;for(let M of o)A=Math.max(A,M.label.width);x=Math.max(x,m.x+m.w/2+re+Oe*.75+10+A)}let k=at(s.title,E,e,4e3),u=k.height>0?k.height+12:0,h=Math.max(x,k.width),w=d+(h-x)/2,P=d+u;nt(R,a,w,P);let ie=Math.ceil(h+2*d),X=Math.ceil(Y.height+u+2*d),c=[],i=new Map,O=!1;for(let y of R)y.isGroup&&(O=!0);if(O)for(let y of a)ct(i,y.route);let v="",ue=[],je="";for(let y=0;y<C.length;y++){let o=C[y],m=R[y],A=o.node,M=yt(A.cssClasses.replace(/^default\s?/,""));if(m.isGroup){o.w=m.w,o.h=m.h;let _=m.x-m.w/2,G=m.y-m.h/2,Q=dt(m,o.label.width,i,be);ft(o.style.shape)&&ue.push({box:[_,G,_+m.w,G+m.h],shape:o.style.shape}),v+=`<g class="pele-cluster${M}" data-id="${Ee(A.id)}"><rect x="${p(_)}" y="${p(G)}" width="${p(m.w)}" height="${p(m.h)}" fill="var(--_a)"${Ot(o.style.shape)?"":' fill-opacity="0.5"'} stroke="var(--_b)"${_e(o.style.shape)}/>`+pe(o.label,Q,G+8+o.label.height/2,` class="pele-cluster-label"${Ye(o.style,"var(--_m)")}${o.style.text}`,g)+"</g>";continue}let L=o.w,D=o.h,U=-L/2,F=-D/2,K=o.style.text,j=Ye(o.style),N=j||' fill="var(--_m)"',W=`x="${p(U)}" y="${p(F)}" width="${p(L)}" height="${p(D)}"`,$=pe(o.label,0,o.rows.length>0?F+o.headH/2:0,` class="pele-label"${j}${K}`,g),ee=Ve(A.alias||A.label);if(/ internal-link(?: |$)/.test(M+" ")&&$!==""&&n.links!==!1){let _=tt(ee,n),G=he(ee);$=`<a class="internal-link"${_?` href="${G}"${st(n)}`:""} data-href="${G}">${$}</a>`,c.push({id:A.label,href:ee,internal:!0})}let S;if(o.rows.length===0)S=`<rect ${W}${_e(Gt+o.style.shape)}/>`+$;else{let _=Math.round(o.rowSize*1.5),G=o.style.stroke?he(o.style.stroke):"var(--_b)",Q="",ae="",te=F+o.headH;for(let H=0;H<o.rows.length;H++){let q=o.rows[H];if(H%2===0){let Le=`x="${p(U)}" width="${p(L)}"`;H===o.rows.length-1?Q+=`<rect ${Le} y="${p(te)}" height="${p(q.h)}"${bt}/><rect ${Le} y="${p(te)}" height="${p(q.h/2)}"/>`:Q+=`<rect ${Le} y="${p(te)}" height="${p(q.h)}"/>`}let oe=te+Xe/2+_/2+o.rowSize*.35,[se,Wt,Ht,zt]=q.cells;ae+=Te(se,U+o.cols[0],oe,` class="pele-er-type"${N}${K}`,g,o.mono)+Te(Wt,U+o.cols[1],oe,` class="pele-er-name"${j}${K}`,g,o.mono)+Te(Ht,U+o.cols[2],oe,` class="pele-er-keys" font-size="${o.keySize}"${N}${K}`,g,o.mono)+Te(zt,U+o.cols[3],oe,` class="pele-er-comment"${N}${K}`,g),te+=q.h}let fe=p(F+o.headH),Ne=ut(o.style.shape),ye=Ne===ke?ve:Ne===ve?ke:"var(--_bg)";S=`<rect ${W}${_e(Gt+o.style.shape)}/><g class="pele-er-stripes" fill="${ye}"${o.style.shape.includes("fill:")?' opacity="0.6"':""}>${Q}</g><path class="pele-er-divider" d="M${p(U)},${fe}H${p(U+L)}" stroke="${G}"/><rect ${W} fill="none" stroke="var(--_b)"${_e(o.style.line)}/>`+$+`<g class="pele-er-attributes" font-size="${o.rowSize}">${ae}</g>`}je+=`<g class="pele-node pele-entity${M}" data-id="${Ee(A.label)}" transform="translate(${p(m.x)},${p(m.y)})">${S}</g>`}for(let[y,o]of T){let m=C[y],A=0;for(let D of o)A+=D.band;let M=Math.min(1,Math.max((m.below?m.w:m.h)-8,0)/A),L=-A*M/2;for(let D of o)D.band*=M,D.at=L+D.band/2,L+=D.band}let Me="",Qe="",we="";for(let y=0;y<a.length;y++){let o=a[y],m=Z[y],A=z[y],M,L,D,U=V[y];if(U){let N=R[o.src],W=C[o.src],$=Math.max(Math.min(U.band/2-6,13),1),ee=re+Oe*.75+6;if(W.below){let S=N.x+U.at,_=N.y+W.h/2,G=p(_+re),Q=p(_+re+Oe);M=`M${p(S-$)},${p(_)}V${G}C${p(S-$)},${Q} ${p(S+$)},${Q} ${p(S+$)},${G}V${p(_)}`,L=de(m.arrowTypeStart,S-$,_,0,-1),D=de(m.arrowTypeEnd,S+$,_,0,-1),o.labelX=S,o.labelY=_+ee+A.height/2}else{let S=N.x+W.w/2,_=N.y+U.at,G=p(S+re),Q=p(S+re+Oe);M=`M${p(S)},${p(_-$)}H${G}C${Q},${p(_-$)} ${Q},${p(_+$)} ${G},${p(_+$)}H${p(S)}`,L=de(m.arrowTypeStart,S,_-$,-1,0),D=de(m.arrowTypeEnd,S,_+$,-1,0),o.labelX=S+ee+A.width/2,o.labelY=_}}else{let N=ds(o.route);if(N.length<6)continue;Ut(N,0,C[o.src],R[o.src]),Ut(N,N.length-3,C[o.dst],R[o.dst]);let W=Math.abs(N[N.length-3]-N[0]),$=Math.abs(N[N.length-2]-N[1]),S=N.length===6&&(W<.01||$<.01||Math.hypot(W,$)<=3*re)?0:re,_=ht(N,void 0,S,S);M=S>0?`M${p(_.sx)},${p(_.sy)}L${_.d.slice(1)}L${p(_.ex)},${p(_.ey)}`:_.d,L=de(m.arrowTypeStart,_.sx,_.sy,_.sdx,_.sdy),D=de(m.arrowTypeEnd,_.ex,_.ey,_.edx,_.edy)}let F=Et(M,[],ue),K=F&&pt(F);K===""&&(Qe+=_t(M,L+D)),F&&K&&(L=Ge(L,F),D=Ge(D,F));let j=m.pattern==="dashed";if(Me+=`<g class="pele-edge pele-er-${j?"non-identifying":"identifying"}" data-id="${Ee(m.id)}"${K?` stroke="${K}"`:""}><path d="${M}"${j?' stroke-dasharray="4 3"':""}/>`+L+D+"</g>",A.width>0){let N=o.labelX,W=o.labelY;we+=mt(m.id,A,N,W,"",g)}}return{svg:Rt("er",ie,X,e,n,s,pe(k,ie/2,d+k.height/2,' class="pele-title" font-weight="var(--_tw)"')+(v?`<g class="pele-clusters">${v}</g>`:"")+gt(Qe)+(Me?`<g class="pele-edges" fill="none" stroke="var(--_l)" stroke-linecap="round">${Me}</g>`:"")+(we?`<g class="pele-edge-labels" font-size="${b}">${we}</g>`:"")+`<g class="pele-nodes">${je}</g>`),width:ie,height:X,links:c}}function ds(s){let r=s.slice(0,3);for(let n=3;n<s.length;n+=3){let l=r.length-3,f=t=>Math.abs(r[l+t]-s[n+t])<.01&&Math.abs(s[n+t]-s[n+3+t])<.01;n+3<s.length&&(f(0)||f(1))||r.push(s[n],s[n+1],s[n+2])}return r}function us(s,r,n){let l=new Map,f=(t,e,b,E)=>{let d=r[t],g=e[b]-d.x,I=e[b+1]-d.y,C;if(Math.abs(Math.abs(I)-d.h/2)<.5)C=I<0?0:2;else if(Math.abs(Math.abs(g)-d.w/2)<.5)C=g<0?3:1;else return;let R=t*4+C,a={route:e,at:b,toward:e[E+(C&1?1:0)]},z=l.get(R);z?z.push(a):l.set(R,[a])};for(let t of s){let e=t.route.length-3;t.src===t.dst||e<3||(f(t.src,t.route,0,3),f(t.dst,t.route,e,e-3))}for(let[t,e]of l){if(e.length<2)continue;let b=t>>2,E=(t&1)===1,d=r[b].isGroup?r[b]:n[b],g=E?d.h:d.w,I=Math.max(Math.min(as,(g-2*cs)/(e.length-1)),0),C=E?r[b].y:r[b].x;e.sort((R,a)=>R.toward-a.toward);for(let R=0;R<e.length;R++)e[R].route[e[R].at+(E?1:0)]=C+(R-(e.length-1)/2)*I}}function Ut(s,r,n,l){if(l.isGroup)return;let f=s[r]-l.x,t=s[r+1]-l.y;l.w!==n.w&&Math.abs(Math.abs(f)-l.w/2)<.5&&(s[r]-=Math.sign(f)*(l.w-n.w)/2),l.h!==n.h&&Math.abs(Math.abs(t)-l.h/2)<.5&&(s[r+1]-=Math.sign(t)*(l.h-n.h)/2)}var Xs={type:"er",math:!0,parse(s,r,n){let l=new Se;return n&&(l.title=n),wt(s,l),l},render:Ft};export{Xs as a};
|