@capyclaw/ppt-suite 2.4.10 → 2.5.68
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/README.md +45 -42
- package/composition.lock.json +46 -70
- package/contract/ppt-contract.json +310 -11
- package/cordis.patch.yml +5 -25
- package/dsh-suite.json +108 -194
- package/lib/index.mjs +1 -1
- package/node_modules/@capyclaw/asset-service/README.md +48 -0
- package/node_modules/@capyclaw/asset-service/cordis.patch.yml +4 -0
- package/node_modules/@capyclaw/asset-service/dsh-suite.json +29 -0
- package/node_modules/@capyclaw/asset-service/lib/host.mjs +14 -0
- package/node_modules/@capyclaw/asset-service/package.json +59 -0
- package/node_modules/@capyclaw/asset-service/src/index.mjs +304 -0
- package/node_modules/@capyclaw/document-workbench/README.md +125 -0
- package/node_modules/@capyclaw/document-workbench/package.json +44 -0
- package/node_modules/@capyclaw/document-workbench/src/bridge/index.mjs +321 -0
- package/node_modules/@capyclaw/document-workbench/src/client/index.mjs +625 -0
- package/node_modules/@capyclaw/document-workbench/src/client/screenshot.mjs +98 -0
- package/node_modules/@capyclaw/document-workbench/src/index.mjs +9 -0
- package/node_modules/@capyclaw/document-workbench/src/model/audit.mjs +101 -0
- package/node_modules/@capyclaw/document-workbench/src/model/conformance.mjs +92 -0
- package/node_modules/@capyclaw/document-workbench/src/model/ids.mjs +56 -0
- package/node_modules/@capyclaw/document-workbench/src/model/index.mjs +18 -0
- package/node_modules/@capyclaw/document-workbench/src/model/locate.mjs +118 -0
- package/node_modules/@capyclaw/document-workbench/src/model/manifest.mjs +148 -0
- package/node_modules/@capyclaw/document-workbench/src/model/ops.mjs +160 -0
- package/node_modules/@capyclaw/document-workbench/src/model/validate.mjs +72 -0
- package/node_modules/@capyclaw/document-workbench/src/ops/index.mjs +93 -0
- package/node_modules/@capyclaw/document-workbench/src/session/context.mjs +103 -0
- package/node_modules/@capyclaw/document-workbench/src/session/index.mjs +394 -0
- package/node_modules/@capyclaw/document-workbench/src/session/lease.mjs +105 -0
- package/node_modules/@capyclaw/document-workbench/src/session/mode.mjs +80 -0
- package/node_modules/@capyclaw/document-workbench/src/session/sanitize.mjs +107 -0
- package/node_modules/@capyclaw/document-workbench/src/session/state.mjs +159 -0
- package/node_modules/@capyclaw/document-workbench/src/session/watch.mjs +63 -0
- package/node_modules/@capyclaw/document-workbench/src/store/file-backend.mjs +158 -0
- package/node_modules/@capyclaw/document-workbench/src/testing/index.mjs +75 -0
- package/node_modules/@capyclaw/editor-host/README.md +37 -0
- package/node_modules/@capyclaw/editor-host/cordis.patch.yml +4 -0
- package/node_modules/@capyclaw/editor-host/dsh-suite.json +29 -0
- package/node_modules/@capyclaw/editor-host/lib/host.mjs +14 -0
- package/node_modules/@capyclaw/editor-host/package.json +59 -0
- package/node_modules/@capyclaw/editor-host/src/index.mjs +164 -0
- package/node_modules/@capyclaw/foundation/README.md +51 -0
- package/node_modules/@capyclaw/foundation/abi/bridge.mjs +86 -0
- package/node_modules/@capyclaw/foundation/abi/errors.mjs +63 -0
- package/node_modules/@capyclaw/foundation/abi/index.mjs +35 -0
- package/node_modules/@capyclaw/foundation/abi/kinds.mjs +271 -0
- package/node_modules/@capyclaw/foundation/abi/loader.mjs +345 -0
- package/node_modules/@capyclaw/foundation/abi/schema.mjs +98 -0
- package/node_modules/@capyclaw/foundation/abi/spec.mjs +255 -0
- package/node_modules/@capyclaw/foundation/abi/validate.mjs +24 -0
- package/node_modules/@capyclaw/foundation/abi/version.mjs +82 -0
- package/node_modules/@capyclaw/foundation/cordis.patch.yml +5 -0
- package/node_modules/@capyclaw/foundation/kit/index.mjs +6 -0
- package/node_modules/@capyclaw/foundation/lib/adapters/client-panel.mjs +98 -0
- package/node_modules/@capyclaw/foundation/lib/adapters/host-event.mjs +35 -0
- package/node_modules/@capyclaw/foundation/lib/adapters/http-router.mjs +69 -0
- package/node_modules/@capyclaw/foundation/lib/adapters/lifecycle-hook.mjs +55 -0
- package/node_modules/@capyclaw/foundation/lib/adapters/own-server.mjs +113 -0
- package/node_modules/@capyclaw/foundation/lib/adapters/raw.mjs +69 -0
- package/node_modules/@capyclaw/foundation/lib/adapters/runtime-driver.mjs +120 -0
- package/node_modules/@capyclaw/foundation/lib/adapters/service-provider.mjs +77 -0
- package/node_modules/@capyclaw/foundation/lib/adapters/skill-provider.mjs +56 -0
- package/node_modules/@capyclaw/foundation/lib/adapters/tool-provider.mjs +50 -0
- package/node_modules/@capyclaw/foundation/lib/adapters/ui-panel.mjs +64 -0
- package/node_modules/@capyclaw/foundation/lib/ctx-service.mjs +42 -0
- package/node_modules/@capyclaw/foundation/lib/host/caps.mjs +34 -0
- package/node_modules/@capyclaw/foundation/lib/host/contract.mjs +85 -0
- package/node_modules/@capyclaw/foundation/lib/host/dsh.mjs +50 -0
- package/node_modules/@capyclaw/foundation/lib/host/memory.mjs +160 -0
- package/node_modules/@capyclaw/foundation/lib/host.mjs +23 -0
- package/node_modules/@capyclaw/foundation/lib/kernel.mjs +185 -0
- package/node_modules/@capyclaw/foundation/lib/skill/scan.mjs +115 -0
- package/node_modules/@capyclaw/foundation/lib/subsystems/events.mjs +60 -0
- package/node_modules/@capyclaw/foundation/lib/subsystems/log.mjs +51 -0
- package/node_modules/@capyclaw/foundation/lib/subsystems/net.mjs +188 -0
- package/node_modules/@capyclaw/foundation/package.json +53 -0
- package/node_modules/@capyclaw/foundation/runtime/index.mjs +20 -0
- package/node_modules/@capyclaw/plugin-kit/INTEGRATION.md +100 -0
- package/node_modules/@capyclaw/plugin-kit/README.md +70 -0
- package/node_modules/@capyclaw/plugin-kit/bin/sync.mjs +103 -0
- package/node_modules/@capyclaw/plugin-kit/package.json +69 -0
- package/node_modules/@capyclaw/plugin-kit/src/cli.mjs +56 -0
- package/node_modules/@capyclaw/plugin-kit/src/config.mjs +142 -0
- package/node_modules/@capyclaw/plugin-kit/src/editor/heartbeat-worker.js +129 -0
- package/node_modules/@capyclaw/plugin-kit/src/editor/lease.mjs +58 -0
- package/node_modules/@capyclaw/plugin-kit/src/editor/shadow.mjs +219 -0
- package/node_modules/@capyclaw/plugin-kit/src/editor/transport.js +13 -0
- package/node_modules/@capyclaw/plugin-kit/src/index.mjs +13 -0
- package/node_modules/@capyclaw/plugin-kit/src/pack.mjs +230 -0
- package/node_modules/@capyclaw/plugin-kit/src/runtime/context.mjs +128 -0
- package/node_modules/@capyclaw/plugin-kit/src/self-contained.mjs +307 -0
- package/node_modules/@capyclaw/plugin-kit/src/service/api.mjs +45 -0
- package/node_modules/@capyclaw/plugin-kit/src/service/http.mjs +113 -0
- package/node_modules/@capyclaw/plugin-kit/src/service/mcp-http.mjs +150 -0
- package/node_modules/@capyclaw/plugin-kit/src/service/server.mjs +131 -0
- package/node_modules/@capyclaw/plugin-kit/src/skills/provider.mjs +82 -0
- package/node_modules/@capyclaw/plugin-kit/src/store/blob-store.mjs +109 -0
- package/node_modules/@capyclaw/plugin-kit/src/store/content-store.mjs +17 -0
- package/node_modules/@capyclaw/plugin-kit/src/store/journal-store.mjs +89 -0
- package/node_modules/@capyclaw/plugin-kit/src/tools/result.mjs +57 -0
- package/node_modules/@capyclaw/plugin-kit/src/tools/validate.mjs +150 -0
- package/node_modules/@capyclaw/plugin-kit/src/tuning.mjs +82 -0
- package/node_modules/@capyclaw/plugin-kit/src/util/fs-lock.mjs +132 -0
- package/node_modules/@capyclaw/plugin-kit/src/util/http.mjs +130 -0
- package/node_modules/@capyclaw/plugin-kit/src/workspace/manager.mjs +656 -0
- package/node_modules/@capyclaw/plugin-kit/src/zip.mjs +181 -0
- package/node_modules/@capyclaw/portal/README.md +70 -0
- package/node_modules/@capyclaw/portal/lib/index.mjs +387 -0
- package/node_modules/@capyclaw/portal/lib/ledger.mjs +194 -0
- package/node_modules/@capyclaw/portal/lib/portal-agent.ps1 +811 -0
- package/node_modules/@capyclaw/portal/lib/portal-darwin.mjs +183 -0
- package/node_modules/@capyclaw/portal/package.json +40 -0
- package/node_modules/@capyclaw/ppt-editor/LICENSE +661 -0
- package/node_modules/@capyclaw/ppt-editor/README.md +86 -0
- package/node_modules/@capyclaw/ppt-editor/THIRD_PARTY_NOTICES.md +21 -0
- package/node_modules/@capyclaw/ppt-editor/app.js +6298 -0
- package/node_modules/@capyclaw/ppt-editor/contract/ppt-contract.json +1828 -0
- package/node_modules/@capyclaw/ppt-editor/heartbeat-worker.js +129 -0
- package/node_modules/@capyclaw/ppt-editor/index.html +176 -0
- package/node_modules/@capyclaw/ppt-editor/lib/index.mjs +8 -0
- package/node_modules/@capyclaw/ppt-editor/package.json +57 -0
- package/node_modules/@capyclaw/ppt-editor/ppt-full-app.js +381 -0
- package/node_modules/@capyclaw/ppt-skill-api/README.md +3 -0
- package/node_modules/@capyclaw/ppt-skill-api/contract/ppt-contract.json +1828 -0
- package/node_modules/@capyclaw/ppt-skill-api/cordis.patch.yml +4 -0
- package/node_modules/@capyclaw/ppt-skill-api/package.json +49 -0
- package/node_modules/@capyclaw/ppt-skill-api/plugin.mjs +15 -0
- package/node_modules/@capyclaw/ppt-skill-api/skills/pptist-api/SKILL.md +137 -0
- package/node_modules/@capyclaw/ppt-skill-api/skills/pptist-api/references/tool-contract.md +1646 -0
- package/node_modules/@capyclaw/ppt-skill-api/skills/pptist-api/references/visual-qa.md +28 -0
- package/node_modules/@capyclaw/ppt-skill-proposal/README.md +3 -0
- package/node_modules/@capyclaw/ppt-skill-proposal/contract/ppt-contract.json +1828 -0
- package/node_modules/@capyclaw/ppt-skill-proposal/cordis.patch.yml +4 -0
- package/node_modules/@capyclaw/ppt-skill-proposal/package.json +49 -0
- package/node_modules/@capyclaw/ppt-skill-proposal/plugin.mjs +15 -0
- package/node_modules/@capyclaw/ppt-skill-proposal/skills/pptmaster-proposal/SKILL.md +83 -0
- package/node_modules/@capyclaw/ppt-skill-proposal/skills/pptmaster-proposal/references/anti-ai-slop.md +18 -0
- package/node_modules/@capyclaw/ppt-skill-proposal/skills/pptmaster-proposal/references/deck-structure.md +42 -0
- package/node_modules/@capyclaw/ppt-skill-proposal/skills/pptmaster-proposal/references/design-tokens.md +36 -0
- package/node_modules/@capyclaw/ppt-skill-proposal/skills/pptmaster-proposal/references/layout-system.md +30 -0
- package/node_modules/@capyclaw/ppt-skill-proposal/skills/pptmaster-proposal/references/page-craft.md +31 -0
- package/node_modules/@capyclaw/ppt-skill-proposal/skills/pptmaster-proposal/references/scqa-pyramid.md +26 -0
- package/node_modules/@capyclaw/ppt-workbench/LICENSE +661 -0
- package/node_modules/@capyclaw/ppt-workbench/README.md +173 -0
- package/node_modules/@capyclaw/ppt-workbench/THIRD_PARTY_NOTICES.md +21 -0
- package/node_modules/@capyclaw/ppt-workbench/contract/ppt-contract.json +1828 -0
- package/node_modules/@capyclaw/ppt-workbench/core/audit.js +507 -0
- package/node_modules/@capyclaw/ppt-workbench/core/chart.js +199 -0
- package/node_modules/@capyclaw/ppt-workbench/core/color.js +170 -0
- package/node_modules/@capyclaw/ppt-workbench/core/deck-layout.js +375 -0
- package/node_modules/@capyclaw/ppt-workbench/core/formula.js +80 -0
- package/node_modules/@capyclaw/ppt-workbench/core/hfmath/hershey.js +1763 -0
- package/node_modules/@capyclaw/ppt-workbench/core/hfmath/index.js +1176 -0
- package/node_modules/@capyclaw/ppt-workbench/core/hfmath/stretch.js +41 -0
- package/node_modules/@capyclaw/ppt-workbench/core/hfmath/symbols.js +408 -0
- package/node_modules/@capyclaw/ppt-workbench/core/inspect.js +366 -0
- package/node_modules/@capyclaw/ppt-workbench/core/manuscript/compare.mjs +103 -0
- package/node_modules/@capyclaw/ppt-workbench/core/manuscript/compile.mjs +322 -0
- package/node_modules/@capyclaw/ppt-workbench/core/manuscript/edit.mjs +239 -0
- package/node_modules/@capyclaw/ppt-workbench/core/manuscript/parse.mjs +346 -0
- package/node_modules/@capyclaw/ppt-workbench/core/manuscript/render-html.mjs +84 -0
- package/node_modules/@capyclaw/ppt-workbench/core/manuscript/sync.mjs +101 -0
- package/node_modules/@capyclaw/ppt-workbench/core/measure.js +104 -0
- package/node_modules/@capyclaw/ppt-workbench/core/ops/browser.js +28 -0
- package/node_modules/@capyclaw/ppt-workbench/core/ops/chart.js +64 -0
- package/node_modules/@capyclaw/ppt-workbench/core/ops/deck.js +21 -0
- package/node_modules/@capyclaw/ppt-workbench/core/ops/element.js +55 -0
- package/node_modules/@capyclaw/ppt-workbench/core/ops/history.js +11 -0
- package/node_modules/@capyclaw/ppt-workbench/core/ops/import.js +95 -0
- package/node_modules/@capyclaw/ppt-workbench/core/ops/index.js +39 -0
- package/node_modules/@capyclaw/ppt-workbench/core/ops/playback.js +9 -0
- package/node_modules/@capyclaw/ppt-workbench/core/ops/recolor.js +87 -0
- package/node_modules/@capyclaw/ppt-workbench/core/ops/slide.js +66 -0
- package/node_modules/@capyclaw/ppt-workbench/core/ops/table.js +85 -0
- package/node_modules/@capyclaw/ppt-workbench/core/ops/text.js +35 -0
- package/node_modules/@capyclaw/ppt-workbench/core/ops/view.js +13 -0
- package/node_modules/@capyclaw/ppt-workbench/core/ops.js +12 -0
- package/node_modules/@capyclaw/ppt-workbench/core/quick.js +52 -0
- package/node_modules/@capyclaw/ppt-workbench/core/shape-library.js +122 -0
- package/node_modules/@capyclaw/ppt-workbench/core/table.js +178 -0
- package/node_modules/@capyclaw/ppt-workbench/core/text.js +200 -0
- package/node_modules/@capyclaw/ppt-workbench/lib/host.mjs +1 -0
- package/node_modules/@capyclaw/ppt-workbench/package.json +73 -0
- package/node_modules/@capyclaw/ppt-workbench/plugin.mjs +1 -0
- package/node_modules/@capyclaw/ppt-workbench/server/audit.mjs +2 -0
- package/node_modules/@capyclaw/ppt-workbench/server/bridge-client.mjs +308 -0
- package/node_modules/@capyclaw/ppt-workbench/server/constants.mjs +21 -0
- package/node_modules/@capyclaw/ppt-workbench/server/contract-snapshots.mjs +89 -0
- package/node_modules/@capyclaw/ppt-workbench/server/contract.mjs +24 -0
- package/node_modules/@capyclaw/ppt-workbench/server/deck-layout.mjs +2 -0
- package/node_modules/@capyclaw/ppt-workbench/server/editor-assets.mjs +132 -0
- package/node_modules/@capyclaw/ppt-workbench/server/embedded-host.mjs +252 -0
- package/node_modules/@capyclaw/ppt-workbench/server/http-utils.mjs +2 -0
- package/node_modules/@capyclaw/ppt-workbench/server/infra/http.mjs +2 -0
- package/node_modules/@capyclaw/ppt-workbench/server/infra/runtime/context.mjs +2 -0
- package/node_modules/@capyclaw/ppt-workbench/server/infra/store/blob-store.mjs +2 -0
- package/node_modules/@capyclaw/ppt-workbench/server/infra/tuning.mjs +2 -0
- package/node_modules/@capyclaw/ppt-workbench/server/infra/util/fs-lock.mjs +2 -0
- package/node_modules/@capyclaw/ppt-workbench/server/infra/workspace/manager.mjs +2 -0
- package/node_modules/@capyclaw/ppt-workbench/server/mcp/dispatch.mjs +2 -0
- package/node_modules/@capyclaw/ppt-workbench/server/mcp/handler.mjs +2 -0
- package/node_modules/@capyclaw/ppt-workbench/server/mcp/instructions.mjs +66 -0
- package/node_modules/@capyclaw/ppt-workbench/server/ppt-shim.mjs +168 -0
- package/node_modules/@capyclaw/ppt-workbench/server/relay.mjs +282 -0
- package/node_modules/@capyclaw/ppt-workbench/server/routes/assets.mjs +2 -0
- package/node_modules/@capyclaw/ppt-workbench/server/routes/bridge.mjs +74 -0
- package/node_modules/@capyclaw/ppt-workbench/server/routes/editor.mjs +9 -0
- package/node_modules/@capyclaw/ppt-workbench/server/routes/import.mjs +260 -0
- package/node_modules/@capyclaw/ppt-workbench/server/routes/manuscript.mjs +414 -0
- package/node_modules/@capyclaw/ppt-workbench/server/routes/mcp.mjs +17 -0
- package/node_modules/@capyclaw/ppt-workbench/server/routes/session.mjs +36 -0
- package/node_modules/@capyclaw/ppt-workbench/server/runtime/recovery.mjs +9 -0
- package/node_modules/@capyclaw/ppt-workbench/server/runtime/watch.mjs +17 -0
- package/node_modules/@capyclaw/ppt-workbench/server/session-context.mjs +5 -0
- package/node_modules/@capyclaw/ppt-workbench/server/shared/SHARED_MANIFEST.json +70 -0
- package/node_modules/@capyclaw/ppt-workbench/server/shared/asset-service.mjs +2 -0
- package/node_modules/@capyclaw/ppt-workbench/server/shared/editor-host.mjs +2 -0
- package/node_modules/@capyclaw/ppt-workbench/server/shared/kit/editor/lease.mjs +2 -0
- package/node_modules/@capyclaw/ppt-workbench/server/shared/kit/service/api.mjs +2 -0
- package/node_modules/@capyclaw/ppt-workbench/server/shared/kit/service/http.mjs +2 -0
- package/node_modules/@capyclaw/ppt-workbench/server/shared/kit/service/mcp-http.mjs +2 -0
- package/node_modules/@capyclaw/ppt-workbench/server/shared/kit/tools/validate.mjs +2 -0
- package/node_modules/@capyclaw/ppt-workbench/server/shared/kit/tuning.mjs +2 -0
- package/node_modules/@capyclaw/ppt-workbench/server/shared/kit/util/fs-lock.mjs +2 -0
- package/node_modules/@capyclaw/ppt-workbench/server/shared/service-host.mjs +2 -0
- package/node_modules/@capyclaw/ppt-workbench/server/shared/tool-host.mjs +2 -0
- package/node_modules/@capyclaw/ppt-workbench/server/shared/tuning.mjs +2 -0
- package/node_modules/@capyclaw/ppt-workbench/server/store/backends/file-backend.mjs +13 -0
- package/node_modules/@capyclaw/ppt-workbench/server/store/checkpoints.mjs +28 -0
- package/node_modules/@capyclaw/ppt-workbench/server/store/deck-sanitize.mjs +68 -0
- package/node_modules/@capyclaw/ppt-workbench/server/store/doc.mjs +56 -0
- package/node_modules/@capyclaw/ppt-workbench/server/store/index.mjs +34 -0
- package/node_modules/@capyclaw/ppt-workbench/server/store/journal.mjs +9 -0
- package/node_modules/@capyclaw/ppt-workbench/server/store/lease.mjs +2 -0
- package/node_modules/@capyclaw/ppt-workbench/server/store/sanitize.mjs +33 -0
- package/node_modules/@capyclaw/ppt-workbench/server/store/sessions.mjs +314 -0
- package/node_modules/@capyclaw/ppt-workbench/server/store.mjs +2 -0
- package/node_modules/@capyclaw/ppt-workbench/server/tools/capabilities/apply.mjs +33 -0
- package/node_modules/@capyclaw/ppt-workbench/server/tools/capabilities/audit.mjs +28 -0
- package/node_modules/@capyclaw/ppt-workbench/server/tools/capabilities/chart.mjs +83 -0
- package/node_modules/@capyclaw/ppt-workbench/server/tools/capabilities/compose.mjs +97 -0
- package/node_modules/@capyclaw/ppt-workbench/server/tools/capabilities/contract.mjs +38 -0
- package/node_modules/@capyclaw/ppt-workbench/server/tools/capabilities/deck.mjs +27 -0
- package/node_modules/@capyclaw/ppt-workbench/server/tools/capabilities/element.mjs +67 -0
- package/node_modules/@capyclaw/ppt-workbench/server/tools/capabilities/export.mjs +99 -0
- package/node_modules/@capyclaw/ppt-workbench/server/tools/capabilities/formula.mjs +72 -0
- package/node_modules/@capyclaw/ppt-workbench/server/tools/capabilities/history.mjs +29 -0
- package/node_modules/@capyclaw/ppt-workbench/server/tools/capabilities/image.mjs +174 -0
- package/node_modules/@capyclaw/ppt-workbench/server/tools/capabilities/imagesearch.mjs +203 -0
- package/node_modules/@capyclaw/ppt-workbench/server/tools/capabilities/import.mjs +180 -0
- package/node_modules/@capyclaw/ppt-workbench/server/tools/capabilities/index.mjs +64 -0
- package/node_modules/@capyclaw/ppt-workbench/server/tools/capabilities/inspect.mjs +46 -0
- package/node_modules/@capyclaw/ppt-workbench/server/tools/capabilities/line.mjs +58 -0
- package/node_modules/@capyclaw/ppt-workbench/server/tools/capabilities/manuscript.mjs +208 -0
- package/node_modules/@capyclaw/ppt-workbench/server/tools/capabilities/notes.mjs +33 -0
- package/node_modules/@capyclaw/ppt-workbench/server/tools/capabilities/present.mjs +34 -0
- package/node_modules/@capyclaw/ppt-workbench/server/tools/capabilities/recolor.mjs +62 -0
- package/node_modules/@capyclaw/ppt-workbench/server/tools/capabilities/screenshot.mjs +191 -0
- package/node_modules/@capyclaw/ppt-workbench/server/tools/capabilities/shape.mjs +64 -0
- package/node_modules/@capyclaw/ppt-workbench/server/tools/capabilities/slide.mjs +81 -0
- package/node_modules/@capyclaw/ppt-workbench/server/tools/capabilities/style.mjs +48 -0
- package/node_modules/@capyclaw/ppt-workbench/server/tools/capabilities/table.mjs +127 -0
- package/node_modules/@capyclaw/ppt-workbench/server/tools/capabilities/task.mjs +52 -0
- package/node_modules/@capyclaw/ppt-workbench/server/tools/capabilities/text.mjs +82 -0
- package/node_modules/@capyclaw/ppt-workbench/server/tools/domains/color.mjs +4 -0
- package/node_modules/@capyclaw/ppt-workbench/server/tools/domains/image.mjs +78 -0
- package/node_modules/@capyclaw/ppt-workbench/server/tools/domains/index.mjs +7 -0
- package/node_modules/@capyclaw/ppt-workbench/server/tools/domains/manuscript-media.mjs +159 -0
- package/node_modules/@capyclaw/ppt-workbench/server/tools/domains/offline-render.mjs +256 -0
- package/node_modules/@capyclaw/ppt-workbench/server/tools/domains/pptx-export.mjs +577 -0
- package/node_modules/@capyclaw/ppt-workbench/server/tools/domains/recolor.mjs +25 -0
- package/node_modules/@capyclaw/ppt-workbench/server/tools/domains/remote-image.mjs +443 -0
- package/node_modules/@capyclaw/ppt-workbench/server/tools/domains/slide.mjs +21 -0
- package/node_modules/@capyclaw/ppt-workbench/server/tools/domains/text-style.mjs +11 -0
- package/node_modules/@capyclaw/ppt-workbench/server/tools/domains/tooling.mjs +13 -0
- package/node_modules/@capyclaw/ppt-workbench/server/tools/index.mjs +14 -0
- package/node_modules/@capyclaw/ppt-workbench/server/tools/kernel/define.mjs +5 -0
- package/node_modules/@capyclaw/ppt-workbench/server/tools/kernel/ports.mjs +52 -0
- package/node_modules/@capyclaw/ppt-workbench/server/tools/kernel/registry.mjs +17 -0
- package/node_modules/@capyclaw/ppt-workbench/server/tools/model/deck-schema.mjs +105 -0
- package/node_modules/@capyclaw/ppt-workbench/server/tools.mjs +18 -0
- package/node_modules/@capyclaw/ppt-workbench/server/tuning.mjs +93 -0
- package/node_modules/@capyclaw/ppt-workbench/server/validate.mjs +2 -0
- package/node_modules/@capyclaw/ppt-workbench/server/workbench-framework.mjs +305 -0
- package/node_modules/@capyclaw/service-broker/README.md +104 -0
- package/node_modules/@capyclaw/service-broker/cordis.patch.yml +8 -0
- package/node_modules/@capyclaw/service-broker/dsh-suite.json +21 -0
- package/node_modules/@capyclaw/service-broker/lib/control.mjs +193 -0
- package/node_modules/@capyclaw/service-broker/lib/discovery.mjs +109 -0
- package/node_modules/@capyclaw/service-broker/lib/engine.mjs +1236 -0
- package/node_modules/@capyclaw/service-broker/lib/host.mjs +182 -0
- package/node_modules/@capyclaw/service-broker/lib/manifest.mjs +249 -0
- package/node_modules/@capyclaw/service-broker/lib/recovery.mjs +275 -0
- package/node_modules/@capyclaw/service-broker/lib/skills-client.mjs +28 -0
- package/node_modules/@capyclaw/service-broker/lib/spec.mjs +78 -0
- package/node_modules/@capyclaw/service-broker/package.json +65 -0
- package/node_modules/@capyclaw/service-broker/server.mjs +81 -0
- package/node_modules/@capyclaw/service-broker/service.schema.json +62 -0
- package/node_modules/@capyclaw/service-broker/services.json +3 -0
- package/node_modules/@capyclaw/service-host/README.md +86 -0
- package/node_modules/@capyclaw/service-host/cordis.patch.yml +4 -0
- package/node_modules/@capyclaw/service-host/dsh-suite.json +29 -0
- package/node_modules/@capyclaw/service-host/lib/host.mjs +22 -0
- package/node_modules/@capyclaw/service-host/package.json +60 -0
- package/node_modules/@capyclaw/service-host/src/index.mjs +571 -0
- package/node_modules/@capyclaw/service-host/src/tuning.mjs +63 -0
- package/node_modules/@capyclaw/skills-service/README.md +31 -0
- package/node_modules/@capyclaw/skills-service/package.json +30 -0
- package/node_modules/@capyclaw/skills-service/server.mjs +237 -0
- package/node_modules/@capyclaw/tool-host/README.md +56 -0
- package/node_modules/@capyclaw/tool-host/cordis.patch.yml +4 -0
- package/node_modules/@capyclaw/tool-host/dsh-suite.json +30 -0
- package/node_modules/@capyclaw/tool-host/lib/host.mjs +16 -0
- package/node_modules/@capyclaw/tool-host/package.json +59 -0
- package/node_modules/@capyclaw/tool-host/src/descriptors.mjs +166 -0
- package/node_modules/@capyclaw/tool-host/src/index.mjs +416 -0
- package/node_modules/@types/node/LICENSE +21 -0
- package/node_modules/@types/node/README.md +15 -0
- package/node_modules/@types/node/assert/strict.d.ts +8 -0
- package/node_modules/@types/node/assert.d.ts +1005 -0
- package/node_modules/@types/node/async_hooks.d.ts +586 -0
- package/node_modules/@types/node/buffer.buffer.d.ts +457 -0
- package/node_modules/@types/node/buffer.d.ts +1901 -0
- package/node_modules/@types/node/child_process.d.ts +1453 -0
- package/node_modules/@types/node/cluster.d.ts +578 -0
- package/node_modules/@types/node/compatibility/disposable.d.ts +14 -0
- package/node_modules/@types/node/compatibility/index.d.ts +9 -0
- package/node_modules/@types/node/compatibility/indexable.d.ts +20 -0
- package/node_modules/@types/node/compatibility/iterators.d.ts +20 -0
- package/node_modules/@types/node/console.d.ts +452 -0
- package/node_modules/@types/node/constants.d.ts +21 -0
- package/node_modules/@types/node/crypto.d.ts +4504 -0
- package/node_modules/@types/node/dgram.d.ts +596 -0
- package/node_modules/@types/node/diagnostics_channel.d.ts +551 -0
- package/node_modules/@types/node/dns/promises.d.ts +477 -0
- package/node_modules/@types/node/dns.d.ts +860 -0
- package/node_modules/@types/node/domain.d.ts +170 -0
- package/node_modules/@types/node/events.d.ts +863 -0
- package/node_modules/@types/node/fs/promises.d.ts +1208 -0
- package/node_modules/@types/node/fs.d.ts +4332 -0
- package/node_modules/@types/node/globals.d.ts +170 -0
- package/node_modules/@types/node/globals.typedarray.d.ts +21 -0
- package/node_modules/@types/node/http.d.ts +1919 -0
- package/node_modules/@types/node/http2.d.ts +2580 -0
- package/node_modules/@types/node/https.d.ts +549 -0
- package/node_modules/@types/node/index.d.ts +92 -0
- package/node_modules/@types/node/inspector.generated.d.ts +2775 -0
- package/node_modules/@types/node/module.d.ts +503 -0
- package/node_modules/@types/node/net.d.ts +924 -0
- package/node_modules/@types/node/os.d.ts +480 -0
- package/node_modules/@types/node/package.json +145 -0
- package/node_modules/@types/node/path.d.ts +191 -0
- package/node_modules/@types/node/perf_hooks.d.ts +860 -0
- package/node_modules/@types/node/process.d.ts +1632 -0
- package/node_modules/@types/node/punycode.d.ts +117 -0
- package/node_modules/@types/node/querystring.d.ts +140 -0
- package/node_modules/@types/node/readline/promises.d.ts +154 -0
- package/node_modules/@types/node/readline.d.ts +715 -0
- package/node_modules/@types/node/repl.d.ts +430 -0
- package/node_modules/@types/node/stream/consumers.d.ts +38 -0
- package/node_modules/@types/node/stream/promises.d.ts +90 -0
- package/node_modules/@types/node/stream/web.d.ts +527 -0
- package/node_modules/@types/node/stream.d.ts +1680 -0
- package/node_modules/@types/node/string_decoder.d.ts +67 -0
- package/node_modules/@types/node/test.d.ts +1208 -0
- package/node_modules/@types/node/timers/promises.d.ts +108 -0
- package/node_modules/@types/node/timers.d.ts +286 -0
- package/node_modules/@types/node/tls.d.ts +1204 -0
- package/node_modules/@types/node/trace_events.d.ts +171 -0
- package/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +455 -0
- package/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +19 -0
- package/node_modules/@types/node/ts5.6/index.d.ts +92 -0
- package/node_modules/@types/node/tty.d.ts +206 -0
- package/node_modules/@types/node/url.d.ts +957 -0
- package/node_modules/@types/node/util.d.ts +2083 -0
- package/node_modules/@types/node/v8.d.ts +753 -0
- package/node_modules/@types/node/vm.d.ts +704 -0
- package/node_modules/@types/node/wasi.d.ts +160 -0
- package/node_modules/@types/node/web-globals/abortcontroller.d.ts +34 -0
- package/node_modules/@types/node/web-globals/domexception.d.ts +68 -0
- package/node_modules/@types/node/web-globals/events.d.ts +81 -0
- package/node_modules/@types/node/web-globals/fetch.d.ts +38 -0
- package/node_modules/@types/node/worker_threads.d.ts +698 -0
- package/node_modules/@types/node/zlib.d.ts +517 -0
- package/node_modules/core-util-is/LICENSE +19 -0
- package/node_modules/core-util-is/README.md +3 -0
- package/node_modules/core-util-is/lib/util.js +107 -0
- package/node_modules/core-util-is/package.json +38 -0
- package/node_modules/https/package.json +15 -0
- package/node_modules/image-size/LICENSE +9 -0
- package/node_modules/image-size/Readme.md +184 -0
- package/node_modules/image-size/bin/image-size.js +53 -0
- package/node_modules/image-size/dist/detector.d.ts +2 -0
- package/node_modules/image-size/dist/detector.js +30 -0
- package/node_modules/image-size/dist/index.d.ts +10 -0
- package/node_modules/image-size/dist/index.js +129 -0
- package/node_modules/image-size/dist/types/bmp.d.ts +2 -0
- package/node_modules/image-size/dist/types/bmp.js +11 -0
- package/node_modules/image-size/dist/types/cur.d.ts +2 -0
- package/node_modules/image-size/dist/types/cur.js +17 -0
- package/node_modules/image-size/dist/types/dds.d.ts +2 -0
- package/node_modules/image-size/dist/types/dds.js +11 -0
- package/node_modules/image-size/dist/types/gif.d.ts +2 -0
- package/node_modules/image-size/dist/types/gif.js +12 -0
- package/node_modules/image-size/dist/types/heif.d.ts +2 -0
- package/node_modules/image-size/dist/types/heif.js +40 -0
- package/node_modules/image-size/dist/types/icns.d.ts +2 -0
- package/node_modules/image-size/dist/types/icns.js +101 -0
- package/node_modules/image-size/dist/types/ico.d.ts +2 -0
- package/node_modules/image-size/dist/types/ico.js +68 -0
- package/node_modules/image-size/dist/types/index.d.ts +23 -0
- package/node_modules/image-size/dist/types/index.js +46 -0
- package/node_modules/image-size/dist/types/interface.d.ts +13 -0
- package/node_modules/image-size/dist/types/interface.js +2 -0
- package/node_modules/image-size/dist/types/j2c.d.ts +2 -0
- package/node_modules/image-size/dist/types/j2c.js +12 -0
- package/node_modules/image-size/dist/types/jp2.d.ts +2 -0
- package/node_modules/image-size/dist/types/jp2.js +27 -0
- package/node_modules/image-size/dist/types/jpg.d.ts +2 -0
- package/node_modules/image-size/dist/types/jpg.js +123 -0
- package/node_modules/image-size/dist/types/jxl-stream.d.ts +2 -0
- package/node_modules/image-size/dist/types/jxl-stream.js +45 -0
- package/node_modules/image-size/dist/types/jxl.d.ts +2 -0
- package/node_modules/image-size/dist/types/jxl.js +59 -0
- package/node_modules/image-size/dist/types/ktx.d.ts +2 -0
- package/node_modules/image-size/dist/types/ktx.js +19 -0
- package/node_modules/image-size/dist/types/png.d.ts +2 -0
- package/node_modules/image-size/dist/types/png.js +35 -0
- package/node_modules/image-size/dist/types/pnm.d.ts +2 -0
- package/node_modules/image-size/dist/types/pnm.js +72 -0
- package/node_modules/image-size/dist/types/psd.d.ts +2 -0
- package/node_modules/image-size/dist/types/psd.js +11 -0
- package/node_modules/image-size/dist/types/svg.d.ts +2 -0
- package/node_modules/image-size/dist/types/svg.js +90 -0
- package/node_modules/image-size/dist/types/tga.d.ts +2 -0
- package/node_modules/image-size/dist/types/tga.js +15 -0
- package/node_modules/image-size/dist/types/tiff.d.ts +2 -0
- package/node_modules/image-size/dist/types/tiff.js +95 -0
- package/node_modules/image-size/dist/types/utils.d.ts +15 -0
- package/node_modules/image-size/dist/types/utils.js +75 -0
- package/node_modules/image-size/dist/types/webp.d.ts +2 -0
- package/node_modules/image-size/dist/types/webp.js +60 -0
- package/node_modules/image-size/dist/utils/bit-reader.d.ts +10 -0
- package/node_modules/image-size/dist/utils/bit-reader.js +44 -0
- package/node_modules/image-size/package.json +81 -0
- package/node_modules/immediate/LICENSE.txt +20 -0
- package/node_modules/immediate/README.md +93 -0
- package/node_modules/immediate/dist/immediate.js +75 -0
- package/node_modules/immediate/dist/immediate.min.js +1 -0
- package/node_modules/immediate/lib/browser.js +69 -0
- package/node_modules/immediate/lib/index.js +73 -0
- package/node_modules/immediate/package.json +42 -0
- package/node_modules/inherits/LICENSE +16 -0
- package/node_modules/inherits/README.md +42 -0
- package/node_modules/inherits/inherits.js +9 -0
- package/node_modules/inherits/inherits_browser.js +27 -0
- package/node_modules/inherits/package.json +29 -0
- package/node_modules/isarray/.npmignore +1 -0
- package/node_modules/isarray/.travis.yml +4 -0
- package/node_modules/isarray/Makefile +6 -0
- package/node_modules/isarray/README.md +60 -0
- package/node_modules/isarray/component.json +19 -0
- package/node_modules/isarray/index.js +5 -0
- package/node_modules/isarray/package.json +45 -0
- package/node_modules/isarray/test.js +20 -0
- package/node_modules/jszip/.codeclimate.yml +16 -0
- package/node_modules/jszip/.editorconfig +8 -0
- package/node_modules/jszip/.eslintrc.js +43 -0
- package/node_modules/jszip/CHANGES.md +210 -0
- package/node_modules/jszip/LICENSE.markdown +651 -0
- package/node_modules/jszip/README.markdown +33 -0
- package/node_modules/jszip/dist/jszip.js +11586 -0
- package/node_modules/jszip/dist/jszip.min.js +13 -0
- package/node_modules/jszip/index.d.ts +344 -0
- package/node_modules/jszip/lib/base64.js +106 -0
- package/node_modules/jszip/lib/compressedObject.js +74 -0
- package/node_modules/jszip/lib/compressions.js +14 -0
- package/node_modules/jszip/lib/crc32.js +77 -0
- package/node_modules/jszip/lib/defaults.js +11 -0
- package/node_modules/jszip/lib/external.js +18 -0
- package/node_modules/jszip/lib/flate.js +85 -0
- package/node_modules/jszip/lib/generate/ZipFileWorker.js +539 -0
- package/node_modules/jszip/lib/generate/index.js +57 -0
- package/node_modules/jszip/lib/index.js +55 -0
- package/node_modules/jszip/lib/license_header.js +11 -0
- package/node_modules/jszip/lib/load.js +88 -0
- package/node_modules/jszip/lib/nodejs/NodejsStreamInputAdapter.js +74 -0
- package/node_modules/jszip/lib/nodejs/NodejsStreamOutputAdapter.js +42 -0
- package/node_modules/jszip/lib/nodejsUtils.js +57 -0
- package/node_modules/jszip/lib/object.js +384 -0
- package/node_modules/jszip/lib/readable-stream-browser.js +10 -0
- package/node_modules/jszip/lib/reader/ArrayReader.js +57 -0
- package/node_modules/jszip/lib/reader/DataReader.js +116 -0
- package/node_modules/jszip/lib/reader/NodeBufferReader.js +19 -0
- package/node_modules/jszip/lib/reader/StringReader.js +38 -0
- package/node_modules/jszip/lib/reader/Uint8ArrayReader.js +22 -0
- package/node_modules/jszip/lib/reader/readerFor.js +28 -0
- package/node_modules/jszip/lib/signature.js +7 -0
- package/node_modules/jszip/lib/stream/ConvertWorker.js +26 -0
- package/node_modules/jszip/lib/stream/Crc32Probe.js +24 -0
- package/node_modules/jszip/lib/stream/DataLengthProbe.js +29 -0
- package/node_modules/jszip/lib/stream/DataWorker.js +116 -0
- package/node_modules/jszip/lib/stream/GenericWorker.js +263 -0
- package/node_modules/jszip/lib/stream/StreamHelper.js +214 -0
- package/node_modules/jszip/lib/support.js +38 -0
- package/node_modules/jszip/lib/utf8.js +275 -0
- package/node_modules/jszip/lib/utils.js +510 -0
- package/node_modules/jszip/lib/zipEntries.js +261 -0
- package/node_modules/jszip/lib/zipEntry.js +293 -0
- package/node_modules/jszip/lib/zipObject.js +133 -0
- package/node_modules/jszip/package.json +67 -0
- package/node_modules/jszip/sponsors.md +21 -0
- package/node_modules/jszip/tsconfig.json +101 -0
- package/node_modules/jszip/vendor/FileSaver.js +247 -0
- package/node_modules/lie/README.md +62 -0
- package/node_modules/lie/dist/lie.js +350 -0
- package/node_modules/lie/dist/lie.min.js +1 -0
- package/node_modules/lie/dist/lie.polyfill.js +358 -0
- package/node_modules/lie/dist/lie.polyfill.min.js +1 -0
- package/node_modules/lie/lib/browser.js +273 -0
- package/node_modules/lie/lib/index.js +298 -0
- package/node_modules/lie/license.md +7 -0
- package/node_modules/lie/lie.d.ts +244 -0
- package/node_modules/lie/package.json +69 -0
- package/node_modules/lie/polyfill.js +4 -0
- package/node_modules/pako/LICENSE +21 -0
- package/node_modules/pako/README.md +191 -0
- package/node_modules/pako/dist/pako.js +6818 -0
- package/node_modules/pako/dist/pako.min.js +1 -0
- package/node_modules/pako/dist/pako_deflate.js +3997 -0
- package/node_modules/pako/dist/pako_deflate.min.js +1 -0
- package/node_modules/pako/dist/pako_inflate.js +3300 -0
- package/node_modules/pako/dist/pako_inflate.min.js +1 -0
- package/node_modules/pako/index.js +14 -0
- package/node_modules/pako/lib/deflate.js +400 -0
- package/node_modules/pako/lib/inflate.js +423 -0
- package/node_modules/pako/lib/utils/common.js +105 -0
- package/node_modules/pako/lib/utils/strings.js +187 -0
- package/node_modules/pako/lib/zlib/README +59 -0
- package/node_modules/pako/lib/zlib/adler32.js +51 -0
- package/node_modules/pako/lib/zlib/constants.js +68 -0
- package/node_modules/pako/lib/zlib/crc32.js +59 -0
- package/node_modules/pako/lib/zlib/deflate.js +1874 -0
- package/node_modules/pako/lib/zlib/gzheader.js +58 -0
- package/node_modules/pako/lib/zlib/inffast.js +345 -0
- package/node_modules/pako/lib/zlib/inflate.js +1556 -0
- package/node_modules/pako/lib/zlib/inftrees.js +343 -0
- package/node_modules/pako/lib/zlib/messages.js +32 -0
- package/node_modules/pako/lib/zlib/trees.js +1222 -0
- package/node_modules/pako/lib/zlib/zstream.js +47 -0
- package/node_modules/pako/package.json +44 -0
- package/node_modules/pptxgenjs/LICENSE +21 -0
- package/node_modules/pptxgenjs/README.md +284 -0
- package/node_modules/pptxgenjs/dist/pptxgen.bundle.js +3 -0
- package/node_modules/pptxgenjs/dist/pptxgen.bundle.js.map +1 -0
- package/node_modules/pptxgenjs/dist/pptxgen.cjs.js +7445 -0
- package/node_modules/pptxgenjs/dist/pptxgen.es.js +7439 -0
- package/node_modules/pptxgenjs/dist/pptxgen.min.js +3 -0
- package/node_modules/pptxgenjs/dist/pptxgen.min.js.map +1 -0
- package/node_modules/pptxgenjs/package.json +89 -0
- package/node_modules/pptxgenjs/types/index.d.ts +2670 -0
- package/node_modules/process-nextick-args/index.js +45 -0
- package/node_modules/process-nextick-args/license.md +19 -0
- package/node_modules/process-nextick-args/package.json +25 -0
- package/node_modules/process-nextick-args/readme.md +18 -0
- package/node_modules/queue/LICENSE +8 -0
- package/node_modules/queue/index.d.ts +173 -0
- package/node_modules/queue/index.js +195 -0
- package/node_modules/queue/package.json +43 -0
- package/node_modules/queue/readme.md +221 -0
- package/node_modules/readable-stream/.travis.yml +34 -0
- package/node_modules/readable-stream/CONTRIBUTING.md +38 -0
- package/node_modules/readable-stream/GOVERNANCE.md +136 -0
- package/node_modules/readable-stream/LICENSE +47 -0
- package/node_modules/readable-stream/README.md +58 -0
- package/node_modules/readable-stream/doc/wg-meetings/2015-01-30.md +60 -0
- package/node_modules/readable-stream/duplex-browser.js +1 -0
- package/node_modules/readable-stream/duplex.js +1 -0
- package/node_modules/readable-stream/lib/_stream_duplex.js +131 -0
- package/node_modules/readable-stream/lib/_stream_passthrough.js +47 -0
- package/node_modules/readable-stream/lib/_stream_readable.js +1019 -0
- package/node_modules/readable-stream/lib/_stream_transform.js +214 -0
- package/node_modules/readable-stream/lib/_stream_writable.js +685 -0
- package/node_modules/readable-stream/lib/internal/streams/BufferList.js +78 -0
- package/node_modules/readable-stream/lib/internal/streams/destroy.js +84 -0
- package/node_modules/readable-stream/lib/internal/streams/stream-browser.js +1 -0
- package/node_modules/readable-stream/lib/internal/streams/stream.js +1 -0
- package/node_modules/readable-stream/package.json +52 -0
- package/node_modules/readable-stream/passthrough.js +1 -0
- package/node_modules/readable-stream/readable-browser.js +7 -0
- package/node_modules/readable-stream/readable.js +19 -0
- package/node_modules/readable-stream/transform.js +1 -0
- package/node_modules/readable-stream/writable-browser.js +1 -0
- package/node_modules/readable-stream/writable.js +8 -0
- package/node_modules/safe-buffer/LICENSE +21 -0
- package/node_modules/safe-buffer/README.md +584 -0
- package/node_modules/safe-buffer/index.d.ts +187 -0
- package/node_modules/safe-buffer/index.js +62 -0
- package/node_modules/safe-buffer/package.json +37 -0
- package/node_modules/setimmediate/LICENSE.txt +20 -0
- package/node_modules/setimmediate/package.json +30 -0
- package/node_modules/setimmediate/setImmediate.js +186 -0
- package/node_modules/string_decoder/.travis.yml +50 -0
- package/node_modules/string_decoder/LICENSE +48 -0
- package/node_modules/string_decoder/README.md +47 -0
- package/node_modules/string_decoder/lib/string_decoder.js +296 -0
- package/node_modules/string_decoder/package.json +31 -0
- package/node_modules/undici-types/README.md +6 -0
- package/node_modules/undici-types/agent.d.ts +31 -0
- package/node_modules/undici-types/api.d.ts +43 -0
- package/node_modules/undici-types/balanced-pool.d.ts +18 -0
- package/node_modules/undici-types/cache.d.ts +36 -0
- package/node_modules/undici-types/client.d.ts +97 -0
- package/node_modules/undici-types/connector.d.ts +34 -0
- package/node_modules/undici-types/content-type.d.ts +21 -0
- package/node_modules/undici-types/cookies.d.ts +28 -0
- package/node_modules/undici-types/diagnostics-channel.d.ts +67 -0
- package/node_modules/undici-types/dispatcher.d.ts +241 -0
- package/node_modules/undici-types/errors.d.ts +128 -0
- package/node_modules/undici-types/fetch.d.ts +209 -0
- package/node_modules/undici-types/file.d.ts +39 -0
- package/node_modules/undici-types/filereader.d.ts +54 -0
- package/node_modules/undici-types/formdata.d.ts +108 -0
- package/node_modules/undici-types/global-dispatcher.d.ts +9 -0
- package/node_modules/undici-types/global-origin.d.ts +7 -0
- package/node_modules/undici-types/handlers.d.ts +9 -0
- package/node_modules/undici-types/header.d.ts +4 -0
- package/node_modules/undici-types/index.d.ts +63 -0
- package/node_modules/undici-types/interceptors.d.ts +5 -0
- package/node_modules/undici-types/mock-agent.d.ts +50 -0
- package/node_modules/undici-types/mock-client.d.ts +25 -0
- package/node_modules/undici-types/mock-errors.d.ts +12 -0
- package/node_modules/undici-types/mock-interceptor.d.ts +93 -0
- package/node_modules/undici-types/mock-pool.d.ts +25 -0
- package/node_modules/undici-types/package.json +55 -0
- package/node_modules/undici-types/patch.d.ts +71 -0
- package/node_modules/undici-types/pool-stats.d.ts +19 -0
- package/node_modules/undici-types/pool.d.ts +28 -0
- package/node_modules/undici-types/proxy-agent.d.ts +30 -0
- package/node_modules/undici-types/readable.d.ts +61 -0
- package/node_modules/undici-types/webidl.d.ts +220 -0
- package/node_modules/undici-types/websocket.d.ts +131 -0
- package/node_modules/util-deprecate/History.md +16 -0
- package/node_modules/util-deprecate/LICENSE +24 -0
- package/node_modules/util-deprecate/README.md +53 -0
- package/node_modules/util-deprecate/browser.js +67 -0
- package/node_modules/util-deprecate/node.js +6 -0
- package/node_modules/util-deprecate/package.json +27 -0
- package/package.json +54 -21
- package/services.json +1 -20
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
function curve(a, b, c, d, steps = 8) {
|
|
2
|
+
const points = [];
|
|
3
|
+
for (let i = 0; i <= steps; i++) {
|
|
4
|
+
const t = i / steps;
|
|
5
|
+
const u = 1 - t;
|
|
6
|
+
points.push([
|
|
7
|
+
u ** 3 * a[0] + 3 * u ** 2 * t * b[0] + 3 * u * t ** 2 * c[0] + t ** 3 * d[0],
|
|
8
|
+
u ** 3 * a[1] + 3 * u ** 2 * t * b[1] + 3 * u * t ** 2 * c[1] + t ** 3 * d[1]
|
|
9
|
+
]);
|
|
10
|
+
}
|
|
11
|
+
return points;
|
|
12
|
+
}
|
|
13
|
+
function stretch(kind, width, height, reversed = false) {
|
|
14
|
+
let lines;
|
|
15
|
+
if (kind === "arrow") {
|
|
16
|
+
const head = Math.min(height, width / 2);
|
|
17
|
+
lines = [
|
|
18
|
+
[[0, height / 2], [width, height / 2]],
|
|
19
|
+
[[width - head, 0], [width, height / 2], [width - head, height]]
|
|
20
|
+
];
|
|
21
|
+
} else if (kind === "brace") {
|
|
22
|
+
const cap = Math.min(width / 4, height * 0.8);
|
|
23
|
+
const mid = width / 2;
|
|
24
|
+
const half = height / 2;
|
|
25
|
+
lines = [[
|
|
26
|
+
...curve([0, height], [0, half], [cap / 2, half], [cap, half]),
|
|
27
|
+
[mid - cap, half],
|
|
28
|
+
...curve([mid - cap, half], [mid - cap / 2, half], [mid, half], [mid, 0]).slice(1),
|
|
29
|
+
...curve([mid, 0], [mid, half], [mid + cap / 2, half], [mid + cap, half]).slice(1),
|
|
30
|
+
[width - cap, half],
|
|
31
|
+
...curve([width - cap, half], [width - cap / 2, half], [width, half], [width, height]).slice(1)
|
|
32
|
+
]];
|
|
33
|
+
} else {
|
|
34
|
+
lines = [curve([0, height], [0, -height / 3], [width, -height / 3], [width, height], 32)];
|
|
35
|
+
}
|
|
36
|
+
if (!reversed) return lines;
|
|
37
|
+
return lines.map((line) => line.map(([x, y]) => kind === "arrow" ? [width - x, y] : [x, height - y]));
|
|
38
|
+
}
|
|
39
|
+
export {
|
|
40
|
+
stretch
|
|
41
|
+
};
|
|
@@ -0,0 +1,408 @@
|
|
|
1
|
+
const SYMB = {
|
|
2
|
+
"\\frac": { glyph: 0, arity: 2, flags: { frac: true } },
|
|
3
|
+
"\\dfrac": { glyph: 0, arity: 2, flags: { frac: true } },
|
|
4
|
+
"\\tfrac": { glyph: 0, arity: 2, flags: { frac: true } },
|
|
5
|
+
"\\binom": { glyph: 0, arity: 2, flags: { binom: true } },
|
|
6
|
+
"\\dbinom": { glyph: 0, arity: 2, flags: { binom: true } },
|
|
7
|
+
"\\tbinom": { glyph: 0, arity: 2, flags: { binom: true } },
|
|
8
|
+
"\\overset": { glyph: 0, arity: 2, flags: { above: true } },
|
|
9
|
+
"\\stackrel": { glyph: 0, arity: 2, flags: { above: true } },
|
|
10
|
+
"\\underset": { glyph: 0, arity: 2, flags: { below: true } },
|
|
11
|
+
"\\xrightarrow": { glyph: 0, arity: 1, flags: { xarrow: true, opt: true } },
|
|
12
|
+
"\\xleftarrow": { glyph: 0, arity: 1, flags: { xarrow: true, opt: true, left: true } },
|
|
13
|
+
"\\operatorname": { glyph: 0, arity: 1, flags: {} },
|
|
14
|
+
"\\operatorname*": { glyph: 0, arity: 1, flags: { big: true } },
|
|
15
|
+
"\\sqrt": { glyph: 2267, arity: 1, flags: { opt: true, xfl: true, yfl: true } },
|
|
16
|
+
"^": { glyph: 0, arity: 1, flags: {} },
|
|
17
|
+
"_": { glyph: 0, arity: 1, flags: {} },
|
|
18
|
+
"(": { glyph: 2221, arity: 0, flags: { yfl: true } },
|
|
19
|
+
")": { glyph: 2222, arity: 0, flags: { yfl: true } },
|
|
20
|
+
"[": { glyph: 2223, arity: 0, flags: { yfl: true } },
|
|
21
|
+
"]": { glyph: 2224, arity: 0, flags: { yfl: true } },
|
|
22
|
+
"\\langle": { glyph: 2227, arity: 0, flags: { yfl: true } },
|
|
23
|
+
"\\rangle": { glyph: 2228, arity: 0, flags: { yfl: true } },
|
|
24
|
+
"|": { glyph: 2229, arity: 0, flags: { yfl: true } },
|
|
25
|
+
"\\|": { glyph: 2230, arity: 0, flags: { yfl: true } },
|
|
26
|
+
"\\{": { glyph: 2225, arity: 0, flags: { yfl: true } },
|
|
27
|
+
"\\}": { glyph: 2226, arity: 0, flags: { yfl: true } },
|
|
28
|
+
"\\lparen": { glyph: 2221, flags: { yfl: true } },
|
|
29
|
+
"\\rparen": { glyph: 2222, flags: { yfl: true } },
|
|
30
|
+
"\\lbrack": { glyph: 2223, flags: { yfl: true } },
|
|
31
|
+
"\\rbrack": { glyph: 2224, flags: { yfl: true } },
|
|
32
|
+
"\\lbrace": { glyph: 2225, flags: { yfl: true } },
|
|
33
|
+
"\\rbrace": { glyph: 2226, flags: { yfl: true } },
|
|
34
|
+
"\\lvert": { glyph: 2229, flags: { yfl: true } },
|
|
35
|
+
"\\rvert": { glyph: 2229, flags: { yfl: true } },
|
|
36
|
+
"\\vert": { glyph: 2229, flags: { yfl: true } },
|
|
37
|
+
"\\lVert": { glyph: 2230, flags: { yfl: true } },
|
|
38
|
+
"\\rVert": { glyph: 2230, flags: { yfl: true } },
|
|
39
|
+
"\\Vert": { glyph: 2230, flags: { yfl: true } },
|
|
40
|
+
"\\lfloor": { glyph: 5051, flags: { yfl: true } },
|
|
41
|
+
"\\rfloor": { glyph: 5052, flags: { yfl: true } },
|
|
42
|
+
"\\lceil": { glyph: 5053, flags: { yfl: true } },
|
|
43
|
+
"\\rceil": { glyph: 5054, flags: { yfl: true } },
|
|
44
|
+
"\\backslash": { glyph: 5055, flags: { yfl: true } },
|
|
45
|
+
"\\#": { glyph: 2275, arity: 0, flags: {} },
|
|
46
|
+
"\\$": { glyph: 2274, arity: 0, flags: {} },
|
|
47
|
+
"\\&": { glyph: 2273, arity: 0, flags: {} },
|
|
48
|
+
"\\%": { glyph: 2271, arity: 0, flags: {} },
|
|
49
|
+
/* semantics*/
|
|
50
|
+
"\\begin": { glyph: 0, arity: 1, flags: {} },
|
|
51
|
+
"\\end": { glyph: 0, arity: 1, flags: {} },
|
|
52
|
+
"\\left": { glyph: 0, arity: 1, flags: {} },
|
|
53
|
+
"\\right": { glyph: 0, arity: 1, flags: {} },
|
|
54
|
+
"\\middle": { glyph: 0, arity: 1, flags: {} },
|
|
55
|
+
"\\big": { glyph: 0, arity: 1, size: 1.2, flags: {} },
|
|
56
|
+
"\\bigl": { glyph: 0, arity: 1, size: 1.2, flags: {} },
|
|
57
|
+
"\\bigr": { glyph: 0, arity: 1, size: 1.2, flags: {} },
|
|
58
|
+
"\\bigm": { glyph: 0, arity: 1, size: 1.2, flags: {} },
|
|
59
|
+
"\\Big": { glyph: 0, arity: 1, size: 1.6, flags: {} },
|
|
60
|
+
"\\Bigl": { glyph: 0, arity: 1, size: 1.6, flags: {} },
|
|
61
|
+
"\\Bigr": { glyph: 0, arity: 1, size: 1.6, flags: {} },
|
|
62
|
+
"\\Bigm": { glyph: 0, arity: 1, size: 1.6, flags: {} },
|
|
63
|
+
"\\bigg": { glyph: 0, arity: 1, size: 2, flags: {} },
|
|
64
|
+
"\\biggl": { glyph: 0, arity: 1, size: 2, flags: {} },
|
|
65
|
+
"\\biggr": { glyph: 0, arity: 1, size: 2, flags: {} },
|
|
66
|
+
"\\biggm": { glyph: 0, arity: 1, size: 2, flags: {} },
|
|
67
|
+
"\\Bigg": { glyph: 0, arity: 1, size: 2.5, flags: {} },
|
|
68
|
+
"\\Biggl": { glyph: 0, arity: 1, size: 2.5, flags: {} },
|
|
69
|
+
"\\Biggr": { glyph: 0, arity: 1, size: 2.5, flags: {} },
|
|
70
|
+
"\\Biggm": { glyph: 0, arity: 1, size: 2.5, flags: {} },
|
|
71
|
+
/* operators*/
|
|
72
|
+
"\\cdot": { glyph: 2236, arity: 0, flags: {} },
|
|
73
|
+
"\\pm": { glyph: 2233, arity: 0, flags: {} },
|
|
74
|
+
"\\mp": { glyph: 2234, arity: 0, flags: {} },
|
|
75
|
+
"\\times": { glyph: 2235, arity: 0, flags: {} },
|
|
76
|
+
"\\div": { glyph: 2237, arity: 0, flags: {} },
|
|
77
|
+
"\\leqq": { glyph: 2243, arity: 0, flags: {} },
|
|
78
|
+
"\\geqq": { glyph: 2244, arity: 0, flags: {} },
|
|
79
|
+
"\\leq": { glyph: 2243, arity: 0, flags: {} },
|
|
80
|
+
"\\geq": { glyph: 2244, arity: 0, flags: {} },
|
|
81
|
+
"\\propto": { glyph: 2245, arity: 0, flags: {} },
|
|
82
|
+
"\\sim": { glyph: 2246, arity: 0, flags: {} },
|
|
83
|
+
"\\equiv": { glyph: 2240, arity: 0, flags: {} },
|
|
84
|
+
"\\dagger": { glyph: 2277, arity: 0, flags: {} },
|
|
85
|
+
"\\ddagger": { glyph: 2278, arity: 0, flags: {} },
|
|
86
|
+
"\\ell": { glyph: 662, arity: 0, flags: {} },
|
|
87
|
+
"\\otimes": { glyph: 5035, flags: {} },
|
|
88
|
+
"\\ominus": { glyph: 5036, flags: {} },
|
|
89
|
+
"\\oslash": { glyph: 5037, flags: {} },
|
|
90
|
+
"\\uplus": { glyph: 5038, flags: {} },
|
|
91
|
+
"\\parallel": { glyph: 5039, flags: {} },
|
|
92
|
+
"\\nparallel": { glyph: 5040, flags: {} },
|
|
93
|
+
"\\nmid": { glyph: 5041, flags: {} },
|
|
94
|
+
"\\ll": { glyph: 5042, flags: {} },
|
|
95
|
+
"\\gg": { glyph: 5043, flags: {} },
|
|
96
|
+
"\\cong": { glyph: 5044, flags: {} },
|
|
97
|
+
"\\asymp": { glyph: 5045, flags: {} },
|
|
98
|
+
"\\prec": { glyph: 5046, flags: {} },
|
|
99
|
+
"\\succ": { glyph: 5047, flags: {} },
|
|
100
|
+
"\\preceq": { glyph: 5048, flags: {} },
|
|
101
|
+
"\\succeq": { glyph: 5049, flags: {} },
|
|
102
|
+
"\\vdash": { glyph: 5056, flags: {} },
|
|
103
|
+
"\\dashv": { glyph: 5057, flags: {} },
|
|
104
|
+
"\\models": { glyph: 5058, flags: {} },
|
|
105
|
+
/* ellipses: dots selects the baseline or centered form from its context. */
|
|
106
|
+
"\\dots": { glyph: 5030, flags: {} },
|
|
107
|
+
"\\ldots": { glyph: 5030, flags: {} },
|
|
108
|
+
"\\cdots": { glyph: 5031, flags: {} },
|
|
109
|
+
"\\vdots": { glyph: 5032, flags: {} },
|
|
110
|
+
"\\ddots": { glyph: 5033, flags: {} },
|
|
111
|
+
/* accents*/
|
|
112
|
+
"\\vec": { glyph: 2261, arity: 1, flags: { hat: true, xfl: true, yfl: true } },
|
|
113
|
+
"\\overrightarrow": { glyph: 2261, arity: 1, flags: { hat: true, xfl: true, yfl: true } },
|
|
114
|
+
"\\overleftarrow": { glyph: 2263, arity: 1, flags: { hat: true, xfl: true, yfl: true } },
|
|
115
|
+
"\\bar": { glyph: 2231, arity: 1, flags: { hat: true, xfl: true } },
|
|
116
|
+
"\\overline": { glyph: 2231, arity: 1, flags: { hat: true, xfl: true } },
|
|
117
|
+
"\\widehat": { glyph: 2247, arity: 1, flags: { hat: true, xfl: true, yfl: true } },
|
|
118
|
+
"\\hat": { glyph: 2247, arity: 1, flags: { hat: true } },
|
|
119
|
+
"\\acute": { glyph: 2248, arity: 1, flags: { hat: true } },
|
|
120
|
+
"\\grave": { glyph: 2249, arity: 1, flags: { hat: true } },
|
|
121
|
+
"\\breve": { glyph: 2250, arity: 1, flags: { hat: true } },
|
|
122
|
+
"\\tilde": { glyph: 2246, arity: 1, flags: { hat: true } },
|
|
123
|
+
"\\underline": { glyph: 2231, arity: 1, flags: { mat: true, xfl: true } },
|
|
124
|
+
"\\dot": { glyph: 2236, arity: 1, flags: { hat: true } },
|
|
125
|
+
"\\ddot": { glyph: 5034, arity: 1, flags: { hat: true } },
|
|
126
|
+
"\\check": { glyph: 5059, arity: 1, flags: { hat: true } },
|
|
127
|
+
"\\mathring": { glyph: 5060, arity: 1, flags: { hat: true } },
|
|
128
|
+
"\\widetilde": { glyph: 2246, arity: 1, flags: { hat: true, xfl: true, yfl: true } },
|
|
129
|
+
"\\overleftrightarrow": { glyph: 5015, arity: 1, flags: { hat: true, xfl: true, yfl: true } },
|
|
130
|
+
"\\boxed": { glyph: 5050, arity: 1, flags: { xfl: true, yfl: true } },
|
|
131
|
+
"\\overbrace": { glyph: 0, arity: 1, flags: { group: true, brace: true } },
|
|
132
|
+
"\\underbrace": { glyph: 0, arity: 1, flags: { group: true, brace: true, under: true } },
|
|
133
|
+
"\\overparen": { glyph: 0, arity: 1, flags: { group: true } },
|
|
134
|
+
"\\underparen": { glyph: 0, arity: 1, flags: { group: true, under: true } },
|
|
135
|
+
"\\not": { glyph: 2220, arity: 1, flags: {} },
|
|
136
|
+
"\\neq": { glyph: 2239, arity: 0, flags: {} },
|
|
137
|
+
"\\ne": { glyph: 2239, arity: 0, flags: {} },
|
|
138
|
+
"\\le": { glyph: 2243, flags: {} },
|
|
139
|
+
"\\ge": { glyph: 2244, flags: {} },
|
|
140
|
+
"\\approx": { glyph: 5011, flags: {} },
|
|
141
|
+
"\\simeq": { glyph: 5012, flags: {} },
|
|
142
|
+
"\\forall": { glyph: 5e3, flags: {} },
|
|
143
|
+
"\\nexists": { glyph: 5001, flags: {} },
|
|
144
|
+
"\\notin": { glyph: 5002, flags: {} },
|
|
145
|
+
"\\ni": { glyph: 5003, flags: {} },
|
|
146
|
+
"\\owns": { glyph: 5003, flags: {} },
|
|
147
|
+
"\\emptyset": { glyph: 5004, flags: {} },
|
|
148
|
+
"\\varnothing": { glyph: 5004, flags: {} },
|
|
149
|
+
"\\subseteq": { glyph: 5005, flags: {} },
|
|
150
|
+
"\\supseteq": { glyph: 5006, flags: {} },
|
|
151
|
+
"\\nsubseteq": { glyph: 5007, flags: {} },
|
|
152
|
+
"\\nsupseteq": { glyph: 5008, flags: {} },
|
|
153
|
+
"\\land": { glyph: 5009, flags: {} },
|
|
154
|
+
"\\wedge": { glyph: 5009, flags: {} },
|
|
155
|
+
"\\lor": { glyph: 5010, flags: {} },
|
|
156
|
+
"\\vee": { glyph: 5010, flags: {} },
|
|
157
|
+
"\\neg": { glyph: 5013, flags: {} },
|
|
158
|
+
"\\lnot": { glyph: 5013, flags: {} },
|
|
159
|
+
"\\setminus": { glyph: 5014, flags: {} },
|
|
160
|
+
"\\smallsetminus": { glyph: 5014, flags: {} },
|
|
161
|
+
"\\exists": { glyph: 2279, arity: 0, flags: {} },
|
|
162
|
+
"\\in": { glyph: 2260, arity: 0, flags: {} },
|
|
163
|
+
"\\subset": { glyph: 2256, arity: 0, flags: {} },
|
|
164
|
+
"\\supset": { glyph: 2258, arity: 0, flags: {} },
|
|
165
|
+
"\\cup": { glyph: 2257, arity: 0, flags: {} },
|
|
166
|
+
"\\cap": { glyph: 2259, arity: 0, flags: {} },
|
|
167
|
+
"\\infty": { glyph: 2270, arity: 0, flags: {} },
|
|
168
|
+
"\\partial": { glyph: 2265, arity: 0, flags: {} },
|
|
169
|
+
"\\nabla": { glyph: 2266, arity: 0, flags: {} },
|
|
170
|
+
"\\aleph": { glyph: 2077, arity: 0, flags: {} },
|
|
171
|
+
"\\wp": { glyph: 2190, arity: 0, flags: {} },
|
|
172
|
+
"\\therefore": { glyph: 740, arity: 0, flags: {} },
|
|
173
|
+
"\\mid": { glyph: 2229, arity: 0, flags: {} },
|
|
174
|
+
"\\sum": { glyph: 2402, arity: 0, flags: { big: true } },
|
|
175
|
+
"\\prod": { glyph: 2401, arity: 0, flags: { big: true } },
|
|
176
|
+
"\\bigoplus": { glyph: 2284, arity: 0, flags: { big: true } },
|
|
177
|
+
"\\bigodot": { glyph: 2281, arity: 0, flags: { big: true } },
|
|
178
|
+
"\\bigotimes": { glyph: 5035, flags: { big: true, xfl: true, yfl: true } },
|
|
179
|
+
"\\bigcup": { glyph: 2257, flags: { big: true, xfl: true, yfl: true } },
|
|
180
|
+
"\\bigcap": { glyph: 2259, flags: { big: true, xfl: true, yfl: true } },
|
|
181
|
+
"\\bigvee": { glyph: 5010, flags: { big: true, xfl: true, yfl: true } },
|
|
182
|
+
"\\bigwedge": { glyph: 5009, flags: { big: true, xfl: true, yfl: true } },
|
|
183
|
+
"\\biguplus": { glyph: 5038, flags: { big: true, xfl: true, yfl: true } },
|
|
184
|
+
"\\int": { glyph: 2412, arity: 0, flags: { yfl: true, integral: true } },
|
|
185
|
+
"\\oint": { glyph: 2269, arity: 0, flags: { yfl: true, integral: true } },
|
|
186
|
+
"\\iint": { glyph: 5020, flags: { yfl: true, integral: true } },
|
|
187
|
+
"\\iiint": { glyph: 5021, flags: { yfl: true, integral: true } },
|
|
188
|
+
"\\iiiint": { glyph: 5022, flags: { yfl: true, integral: true } },
|
|
189
|
+
"\\oplus": { glyph: 1284, arity: 0, flags: {} },
|
|
190
|
+
"\\odot": { glyph: 1281, arity: 0, flags: {} },
|
|
191
|
+
"\\perp": { glyph: 738, arity: 0, flags: {} },
|
|
192
|
+
"\\angle": { glyph: 739, arity: 0, flags: {} },
|
|
193
|
+
"\\triangle": { glyph: 842, arity: 0, flags: {} },
|
|
194
|
+
"\\Box": { glyph: 841, arity: 0, flags: {} },
|
|
195
|
+
"\\rightarrow": { glyph: 2261, arity: 0, flags: {} },
|
|
196
|
+
"\\to": { glyph: 2261, arity: 0, flags: {} },
|
|
197
|
+
"\\leftarrow": { glyph: 2263, arity: 0, flags: {} },
|
|
198
|
+
"\\gets": { glyph: 2263, arity: 0, flags: {} },
|
|
199
|
+
"\\leftrightarrow": { glyph: 5015, flags: {} },
|
|
200
|
+
"\\Rightarrow": { glyph: 5016, flags: {} },
|
|
201
|
+
"\\implies": { glyph: 5016, flags: {} },
|
|
202
|
+
"\\Leftarrow": { glyph: 5017, flags: {} },
|
|
203
|
+
"\\impliedby": { glyph: 5017, flags: {} },
|
|
204
|
+
"\\Leftrightarrow": { glyph: 5018, flags: {} },
|
|
205
|
+
"\\iff": { glyph: 5018, flags: {} },
|
|
206
|
+
"\\mapsto": { glyph: 5019, flags: {} },
|
|
207
|
+
"\\circ": { glyph: 902, arity: 0, flags: {} },
|
|
208
|
+
"\\bigcirc": { glyph: 904, arity: 0, flags: {} },
|
|
209
|
+
"\\bullet": { glyph: 828, arity: 0, flags: {} },
|
|
210
|
+
"\\star": { glyph: 856, arity: 0, flags: {} },
|
|
211
|
+
"\\diamond": { glyph: 743, arity: 0, flags: {} },
|
|
212
|
+
"\\ast": { glyph: 728, arity: 0, flags: {} },
|
|
213
|
+
/* verbatim symbols*/
|
|
214
|
+
"\\log": { glyph: 0, arity: 0, flags: { txt: true } },
|
|
215
|
+
"\\ln": { glyph: 0, arity: 0, flags: { txt: true } },
|
|
216
|
+
"\\exp": { glyph: 0, arity: 0, flags: { txt: true } },
|
|
217
|
+
"\\mod": { glyph: 0, arity: 0, flags: { txt: true } },
|
|
218
|
+
"\\lim": { glyph: 0, arity: 0, flags: { txt: true, big: true } },
|
|
219
|
+
"\\det": { glyph: 0, flags: { txt: true } },
|
|
220
|
+
"\\gcd": { glyph: 0, flags: { txt: true, big: true } },
|
|
221
|
+
"\\max": { glyph: 0, flags: { txt: true, big: true } },
|
|
222
|
+
"\\min": { glyph: 0, flags: { txt: true, big: true } },
|
|
223
|
+
"\\sup": { glyph: 0, flags: { txt: true, big: true } },
|
|
224
|
+
"\\inf": { glyph: 0, flags: { txt: true, big: true } },
|
|
225
|
+
"\\limsup": { glyph: 0, text: "lim sup", flags: { txt: true, big: true } },
|
|
226
|
+
"\\liminf": { glyph: 0, text: "lim inf", flags: { txt: true, big: true } },
|
|
227
|
+
"\\arg": { glyph: 0, flags: { txt: true } },
|
|
228
|
+
"\\ker": { glyph: 0, flags: { txt: true } },
|
|
229
|
+
"\\dim": { glyph: 0, flags: { txt: true } },
|
|
230
|
+
"\\deg": { glyph: 0, flags: { txt: true } },
|
|
231
|
+
"\\Pr": { glyph: 0, flags: { txt: true, big: true } },
|
|
232
|
+
"\\sin": { glyph: 0, arity: 0, flags: { txt: true } },
|
|
233
|
+
"\\cos": { glyph: 0, arity: 0, flags: { txt: true } },
|
|
234
|
+
"\\tan": { glyph: 0, arity: 0, flags: { txt: true } },
|
|
235
|
+
"\\csc": { glyph: 0, arity: 0, flags: { txt: true } },
|
|
236
|
+
"\\sec": { glyph: 0, arity: 0, flags: { txt: true } },
|
|
237
|
+
"\\cot": { glyph: 0, arity: 0, flags: { txt: true } },
|
|
238
|
+
"\\sinh": { glyph: 0, arity: 0, flags: { txt: true } },
|
|
239
|
+
"\\cosh": { glyph: 0, arity: 0, flags: { txt: true } },
|
|
240
|
+
"\\tanh": { glyph: 0, arity: 0, flags: { txt: true } },
|
|
241
|
+
"\\csch": { glyph: 0, arity: 0, flags: { txt: true } },
|
|
242
|
+
"\\sech": { glyph: 0, arity: 0, flags: { txt: true } },
|
|
243
|
+
"\\coth": { glyph: 0, arity: 0, flags: { txt: true } },
|
|
244
|
+
"\\arcsin": { glyph: 0, arity: 0, flags: { txt: true } },
|
|
245
|
+
"\\arccos": { glyph: 0, arity: 0, flags: { txt: true } },
|
|
246
|
+
"\\arctan": { glyph: 0, arity: 0, flags: { txt: true } },
|
|
247
|
+
"\\arccsc": { glyph: 0, arity: 0, flags: { txt: true } },
|
|
248
|
+
"\\arcsec": { glyph: 0, arity: 0, flags: { txt: true } },
|
|
249
|
+
"\\arccot": { glyph: 0, arity: 0, flags: { txt: true } },
|
|
250
|
+
/* font modes*/
|
|
251
|
+
"\\text": { glyph: 0, arity: 1, flags: {} },
|
|
252
|
+
"\\mathnormal": { glyph: 0, arity: 1, flags: {} },
|
|
253
|
+
"\\mathrm": { glyph: 0, arity: 1, flags: {} },
|
|
254
|
+
"\\mathit": { glyph: 0, arity: 1, flags: {} },
|
|
255
|
+
"\\mathbf": { glyph: 0, arity: 1, flags: {} },
|
|
256
|
+
"\\mathsf": { glyph: 0, arity: 1, flags: {} },
|
|
257
|
+
"\\mathtt": { glyph: 0, arity: 1, flags: {} },
|
|
258
|
+
"\\mathfrak": { glyph: 0, arity: 1, flags: {} },
|
|
259
|
+
"\\mathcal": { glyph: 0, arity: 1, flags: {} },
|
|
260
|
+
"\\mathbb": { glyph: 0, arity: 1, flags: {} },
|
|
261
|
+
"\\mathscr": { glyph: 0, arity: 1, flags: {} },
|
|
262
|
+
"\\rm": { glyph: 0, arity: 1, flags: {} },
|
|
263
|
+
"\\it": { glyph: 0, arity: 1, flags: {} },
|
|
264
|
+
"\\bf": { glyph: 0, arity: 1, flags: {} },
|
|
265
|
+
"\\sf": { glyph: 0, arity: 1, flags: {} },
|
|
266
|
+
"\\tt": { glyph: 0, arity: 1, flags: {} },
|
|
267
|
+
"\\frak": { glyph: 0, arity: 1, flags: {} },
|
|
268
|
+
"\\cal": { glyph: 0, arity: 1, flags: {} },
|
|
269
|
+
"\\bb": { glyph: 0, arity: 1, flags: {} },
|
|
270
|
+
"\\scr": { glyph: 0, arity: 1, flags: {} },
|
|
271
|
+
"\\quad": { glyph: 0, arity: 0, flags: {} },
|
|
272
|
+
"\\qquad": { glyph: 0, flags: {} },
|
|
273
|
+
"\\enspace": { glyph: 0, flags: {} },
|
|
274
|
+
"\\enskip": { glyph: 0, flags: {} },
|
|
275
|
+
"\\thinspace": { glyph: 0, flags: {} },
|
|
276
|
+
"\\medspace": { glyph: 0, flags: {} },
|
|
277
|
+
"\\thickspace": { glyph: 0, flags: {} },
|
|
278
|
+
"\\negthinspace": { glyph: 0, flags: {} },
|
|
279
|
+
"\\,": { glyph: 0, arity: 0, flags: {} },
|
|
280
|
+
"\\.": { glyph: 0, arity: 0, flags: {} },
|
|
281
|
+
"\\;": { glyph: 0, arity: 0, flags: {} },
|
|
282
|
+
"\\!": { glyph: 0, arity: 0, flags: {} },
|
|
283
|
+
/* greek letters*/
|
|
284
|
+
"\\alpha": { glyph: 2127, flags: {} },
|
|
285
|
+
"\\beta": { glyph: 2128, flags: {} },
|
|
286
|
+
"\\gamma": { glyph: 2129, flags: {} },
|
|
287
|
+
"\\delta": { glyph: 2130, flags: {} },
|
|
288
|
+
"\\varepsilon": { glyph: 2131, flags: {} },
|
|
289
|
+
"\\zeta": { glyph: 2132, flags: {} },
|
|
290
|
+
"\\eta": { glyph: 2133, flags: {} },
|
|
291
|
+
"\\vartheta": { glyph: 2134, flags: {} },
|
|
292
|
+
"\\iota": { glyph: 2135, flags: {} },
|
|
293
|
+
"\\kappa": { glyph: 2136, flags: {} },
|
|
294
|
+
"\\lambda": { glyph: 2137, flags: {} },
|
|
295
|
+
"\\mu": { glyph: 2138, flags: {} },
|
|
296
|
+
"\\nu": { glyph: 2139, flags: {} },
|
|
297
|
+
"\\xi": { glyph: 2140, flags: {} },
|
|
298
|
+
"\\omicron": { glyph: 2141, flags: {} },
|
|
299
|
+
"\\pi": { glyph: 2142, flags: {} },
|
|
300
|
+
"\\rho": { glyph: 2143, flags: {} },
|
|
301
|
+
"\\sigma": { glyph: 2144, flags: {} },
|
|
302
|
+
"\\tau": { glyph: 2145, flags: {} },
|
|
303
|
+
"\\upsilon": { glyph: 2146, flags: {} },
|
|
304
|
+
"\\varphi": { glyph: 2147, flags: {} },
|
|
305
|
+
"\\chi": { glyph: 2148, flags: {} },
|
|
306
|
+
"\\psi": { glyph: 2149, flags: {} },
|
|
307
|
+
"\\omega": { glyph: 2150, flags: {} },
|
|
308
|
+
"\\epsilon": { glyph: 2184, flags: {} },
|
|
309
|
+
"\\theta": { glyph: 2185, flags: {} },
|
|
310
|
+
"\\phi": { glyph: 2186, flags: {} },
|
|
311
|
+
"\\varsigma": { glyph: 2187, flags: {} },
|
|
312
|
+
"\\Alpha": { glyph: 2027, flags: {} },
|
|
313
|
+
"\\Beta": { glyph: 2028, flags: {} },
|
|
314
|
+
"\\Gamma": { glyph: 2029, flags: {} },
|
|
315
|
+
"\\Delta": { glyph: 2030, flags: {} },
|
|
316
|
+
"\\Epsilon": { glyph: 2031, flags: {} },
|
|
317
|
+
"\\Zeta": { glyph: 2032, flags: {} },
|
|
318
|
+
"\\Eta": { glyph: 2033, flags: {} },
|
|
319
|
+
"\\Theta": { glyph: 2034, flags: {} },
|
|
320
|
+
"\\Iota": { glyph: 2035, flags: {} },
|
|
321
|
+
"\\Kappa": { glyph: 2036, flags: {} },
|
|
322
|
+
"\\Lambda": { glyph: 2037, flags: {} },
|
|
323
|
+
"\\Mu": { glyph: 2038, flags: {} },
|
|
324
|
+
"\\Nu": { glyph: 2039, flags: {} },
|
|
325
|
+
"\\Xi": { glyph: 2040, flags: {} },
|
|
326
|
+
"\\Omicron": { glyph: 2041, flags: {} },
|
|
327
|
+
"\\Pi": { glyph: 2042, flags: {} },
|
|
328
|
+
"\\Rho": { glyph: 2043, flags: {} },
|
|
329
|
+
"\\Sigma": { glyph: 2044, flags: {} },
|
|
330
|
+
"\\Tau": { glyph: 2045, flags: {} },
|
|
331
|
+
"\\Upsilon": { glyph: 2046, flags: {} },
|
|
332
|
+
"\\Phi": { glyph: 2047, flags: {} },
|
|
333
|
+
"\\Chi": { glyph: 2048, flags: {} },
|
|
334
|
+
"\\Psi": { glyph: 2049, flags: {} },
|
|
335
|
+
"\\Omega": { glyph: 2050, flags: {} }
|
|
336
|
+
};
|
|
337
|
+
function asciiMap(x, mode = "math") {
|
|
338
|
+
const c = x.charCodeAt(0);
|
|
339
|
+
if (65 <= c && c <= 90) {
|
|
340
|
+
const d = c - 65;
|
|
341
|
+
if (mode === "text" || mode === "rm") {
|
|
342
|
+
return d + 2001;
|
|
343
|
+
} else if (mode === "tt") {
|
|
344
|
+
return d + 501;
|
|
345
|
+
} else if (mode === "bf" || mode === "bb") {
|
|
346
|
+
return d + 3001;
|
|
347
|
+
} else if (mode === "sf") {
|
|
348
|
+
return d + 2501;
|
|
349
|
+
} else if (mode === "frak") {
|
|
350
|
+
return d + 3301;
|
|
351
|
+
} else if (mode === "scr" || mode === "cal") {
|
|
352
|
+
return d + 2551;
|
|
353
|
+
}
|
|
354
|
+
return d + 2051;
|
|
355
|
+
}
|
|
356
|
+
if (97 <= c && c <= 122) {
|
|
357
|
+
const d = c - 97;
|
|
358
|
+
if (mode === "text" || mode === "rm") {
|
|
359
|
+
return d + 2101;
|
|
360
|
+
} else if (mode === "tt") {
|
|
361
|
+
return d + 601;
|
|
362
|
+
} else if (mode === "bf" || mode === "bb") {
|
|
363
|
+
return d + 3101;
|
|
364
|
+
} else if (mode === "sf") {
|
|
365
|
+
return d + 2601;
|
|
366
|
+
} else if (mode === "frak") {
|
|
367
|
+
return d + 3401;
|
|
368
|
+
} else if (mode === "scr" || mode === "cal") {
|
|
369
|
+
return d + 2651;
|
|
370
|
+
}
|
|
371
|
+
return d + 2151;
|
|
372
|
+
}
|
|
373
|
+
if (48 <= c && c <= 57) {
|
|
374
|
+
const d = c - 48;
|
|
375
|
+
if (mode === "it") {
|
|
376
|
+
return d + 2750;
|
|
377
|
+
} else if (mode === "bf") {
|
|
378
|
+
return d + 3200;
|
|
379
|
+
} else if (mode === "tt") {
|
|
380
|
+
return d + 700;
|
|
381
|
+
}
|
|
382
|
+
return d + 2200;
|
|
383
|
+
}
|
|
384
|
+
return {
|
|
385
|
+
".": 2210,
|
|
386
|
+
",": 2211,
|
|
387
|
+
":": 2212,
|
|
388
|
+
";": 2213,
|
|
389
|
+
"!": 2214,
|
|
390
|
+
"?": 2215,
|
|
391
|
+
"'": 2216,
|
|
392
|
+
'"': 2217,
|
|
393
|
+
"*": 2219,
|
|
394
|
+
"/": 2220,
|
|
395
|
+
"-": 2231,
|
|
396
|
+
"+": 2232,
|
|
397
|
+
"=": 2238,
|
|
398
|
+
"<": 2241,
|
|
399
|
+
">": 2242,
|
|
400
|
+
"~": 2246,
|
|
401
|
+
"@": 2273,
|
|
402
|
+
"\\": 804
|
|
403
|
+
}[x];
|
|
404
|
+
}
|
|
405
|
+
export {
|
|
406
|
+
SYMB,
|
|
407
|
+
asciiMap
|
|
408
|
+
};
|