@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.
Files changed (651) hide show
  1. package/README.md +45 -42
  2. package/composition.lock.json +46 -70
  3. package/contract/ppt-contract.json +310 -11
  4. package/cordis.patch.yml +5 -25
  5. package/dsh-suite.json +108 -194
  6. package/lib/index.mjs +1 -1
  7. package/node_modules/@capyclaw/asset-service/README.md +48 -0
  8. package/node_modules/@capyclaw/asset-service/cordis.patch.yml +4 -0
  9. package/node_modules/@capyclaw/asset-service/dsh-suite.json +29 -0
  10. package/node_modules/@capyclaw/asset-service/lib/host.mjs +14 -0
  11. package/node_modules/@capyclaw/asset-service/package.json +59 -0
  12. package/node_modules/@capyclaw/asset-service/src/index.mjs +304 -0
  13. package/node_modules/@capyclaw/document-workbench/README.md +125 -0
  14. package/node_modules/@capyclaw/document-workbench/package.json +44 -0
  15. package/node_modules/@capyclaw/document-workbench/src/bridge/index.mjs +321 -0
  16. package/node_modules/@capyclaw/document-workbench/src/client/index.mjs +625 -0
  17. package/node_modules/@capyclaw/document-workbench/src/client/screenshot.mjs +98 -0
  18. package/node_modules/@capyclaw/document-workbench/src/index.mjs +9 -0
  19. package/node_modules/@capyclaw/document-workbench/src/model/audit.mjs +101 -0
  20. package/node_modules/@capyclaw/document-workbench/src/model/conformance.mjs +92 -0
  21. package/node_modules/@capyclaw/document-workbench/src/model/ids.mjs +56 -0
  22. package/node_modules/@capyclaw/document-workbench/src/model/index.mjs +18 -0
  23. package/node_modules/@capyclaw/document-workbench/src/model/locate.mjs +118 -0
  24. package/node_modules/@capyclaw/document-workbench/src/model/manifest.mjs +148 -0
  25. package/node_modules/@capyclaw/document-workbench/src/model/ops.mjs +160 -0
  26. package/node_modules/@capyclaw/document-workbench/src/model/validate.mjs +72 -0
  27. package/node_modules/@capyclaw/document-workbench/src/ops/index.mjs +93 -0
  28. package/node_modules/@capyclaw/document-workbench/src/session/context.mjs +103 -0
  29. package/node_modules/@capyclaw/document-workbench/src/session/index.mjs +394 -0
  30. package/node_modules/@capyclaw/document-workbench/src/session/lease.mjs +105 -0
  31. package/node_modules/@capyclaw/document-workbench/src/session/mode.mjs +80 -0
  32. package/node_modules/@capyclaw/document-workbench/src/session/sanitize.mjs +107 -0
  33. package/node_modules/@capyclaw/document-workbench/src/session/state.mjs +159 -0
  34. package/node_modules/@capyclaw/document-workbench/src/session/watch.mjs +63 -0
  35. package/node_modules/@capyclaw/document-workbench/src/store/file-backend.mjs +158 -0
  36. package/node_modules/@capyclaw/document-workbench/src/testing/index.mjs +75 -0
  37. package/node_modules/@capyclaw/editor-host/README.md +37 -0
  38. package/node_modules/@capyclaw/editor-host/cordis.patch.yml +4 -0
  39. package/node_modules/@capyclaw/editor-host/dsh-suite.json +29 -0
  40. package/node_modules/@capyclaw/editor-host/lib/host.mjs +14 -0
  41. package/node_modules/@capyclaw/editor-host/package.json +59 -0
  42. package/node_modules/@capyclaw/editor-host/src/index.mjs +164 -0
  43. package/node_modules/@capyclaw/foundation/README.md +51 -0
  44. package/node_modules/@capyclaw/foundation/abi/bridge.mjs +86 -0
  45. package/node_modules/@capyclaw/foundation/abi/errors.mjs +63 -0
  46. package/node_modules/@capyclaw/foundation/abi/index.mjs +35 -0
  47. package/node_modules/@capyclaw/foundation/abi/kinds.mjs +271 -0
  48. package/node_modules/@capyclaw/foundation/abi/loader.mjs +345 -0
  49. package/node_modules/@capyclaw/foundation/abi/schema.mjs +98 -0
  50. package/node_modules/@capyclaw/foundation/abi/spec.mjs +255 -0
  51. package/node_modules/@capyclaw/foundation/abi/validate.mjs +24 -0
  52. package/node_modules/@capyclaw/foundation/abi/version.mjs +82 -0
  53. package/node_modules/@capyclaw/foundation/cordis.patch.yml +5 -0
  54. package/node_modules/@capyclaw/foundation/kit/index.mjs +6 -0
  55. package/node_modules/@capyclaw/foundation/lib/adapters/client-panel.mjs +98 -0
  56. package/node_modules/@capyclaw/foundation/lib/adapters/host-event.mjs +35 -0
  57. package/node_modules/@capyclaw/foundation/lib/adapters/http-router.mjs +69 -0
  58. package/node_modules/@capyclaw/foundation/lib/adapters/lifecycle-hook.mjs +55 -0
  59. package/node_modules/@capyclaw/foundation/lib/adapters/own-server.mjs +113 -0
  60. package/node_modules/@capyclaw/foundation/lib/adapters/raw.mjs +69 -0
  61. package/node_modules/@capyclaw/foundation/lib/adapters/runtime-driver.mjs +120 -0
  62. package/node_modules/@capyclaw/foundation/lib/adapters/service-provider.mjs +77 -0
  63. package/node_modules/@capyclaw/foundation/lib/adapters/skill-provider.mjs +56 -0
  64. package/node_modules/@capyclaw/foundation/lib/adapters/tool-provider.mjs +50 -0
  65. package/node_modules/@capyclaw/foundation/lib/adapters/ui-panel.mjs +64 -0
  66. package/node_modules/@capyclaw/foundation/lib/ctx-service.mjs +42 -0
  67. package/node_modules/@capyclaw/foundation/lib/host/caps.mjs +34 -0
  68. package/node_modules/@capyclaw/foundation/lib/host/contract.mjs +85 -0
  69. package/node_modules/@capyclaw/foundation/lib/host/dsh.mjs +50 -0
  70. package/node_modules/@capyclaw/foundation/lib/host/memory.mjs +160 -0
  71. package/node_modules/@capyclaw/foundation/lib/host.mjs +23 -0
  72. package/node_modules/@capyclaw/foundation/lib/kernel.mjs +185 -0
  73. package/node_modules/@capyclaw/foundation/lib/skill/scan.mjs +115 -0
  74. package/node_modules/@capyclaw/foundation/lib/subsystems/events.mjs +60 -0
  75. package/node_modules/@capyclaw/foundation/lib/subsystems/log.mjs +51 -0
  76. package/node_modules/@capyclaw/foundation/lib/subsystems/net.mjs +188 -0
  77. package/node_modules/@capyclaw/foundation/package.json +53 -0
  78. package/node_modules/@capyclaw/foundation/runtime/index.mjs +20 -0
  79. package/node_modules/@capyclaw/plugin-kit/INTEGRATION.md +100 -0
  80. package/node_modules/@capyclaw/plugin-kit/README.md +70 -0
  81. package/node_modules/@capyclaw/plugin-kit/bin/sync.mjs +103 -0
  82. package/node_modules/@capyclaw/plugin-kit/package.json +69 -0
  83. package/node_modules/@capyclaw/plugin-kit/src/cli.mjs +56 -0
  84. package/node_modules/@capyclaw/plugin-kit/src/config.mjs +142 -0
  85. package/node_modules/@capyclaw/plugin-kit/src/editor/heartbeat-worker.js +129 -0
  86. package/node_modules/@capyclaw/plugin-kit/src/editor/lease.mjs +58 -0
  87. package/node_modules/@capyclaw/plugin-kit/src/editor/shadow.mjs +219 -0
  88. package/node_modules/@capyclaw/plugin-kit/src/editor/transport.js +13 -0
  89. package/node_modules/@capyclaw/plugin-kit/src/index.mjs +13 -0
  90. package/node_modules/@capyclaw/plugin-kit/src/pack.mjs +230 -0
  91. package/node_modules/@capyclaw/plugin-kit/src/runtime/context.mjs +128 -0
  92. package/node_modules/@capyclaw/plugin-kit/src/self-contained.mjs +307 -0
  93. package/node_modules/@capyclaw/plugin-kit/src/service/api.mjs +45 -0
  94. package/node_modules/@capyclaw/plugin-kit/src/service/http.mjs +113 -0
  95. package/node_modules/@capyclaw/plugin-kit/src/service/mcp-http.mjs +150 -0
  96. package/node_modules/@capyclaw/plugin-kit/src/service/server.mjs +131 -0
  97. package/node_modules/@capyclaw/plugin-kit/src/skills/provider.mjs +82 -0
  98. package/node_modules/@capyclaw/plugin-kit/src/store/blob-store.mjs +109 -0
  99. package/node_modules/@capyclaw/plugin-kit/src/store/content-store.mjs +17 -0
  100. package/node_modules/@capyclaw/plugin-kit/src/store/journal-store.mjs +89 -0
  101. package/node_modules/@capyclaw/plugin-kit/src/tools/result.mjs +57 -0
  102. package/node_modules/@capyclaw/plugin-kit/src/tools/validate.mjs +150 -0
  103. package/node_modules/@capyclaw/plugin-kit/src/tuning.mjs +82 -0
  104. package/node_modules/@capyclaw/plugin-kit/src/util/fs-lock.mjs +132 -0
  105. package/node_modules/@capyclaw/plugin-kit/src/util/http.mjs +130 -0
  106. package/node_modules/@capyclaw/plugin-kit/src/workspace/manager.mjs +656 -0
  107. package/node_modules/@capyclaw/plugin-kit/src/zip.mjs +181 -0
  108. package/node_modules/@capyclaw/portal/README.md +70 -0
  109. package/node_modules/@capyclaw/portal/lib/index.mjs +387 -0
  110. package/node_modules/@capyclaw/portal/lib/ledger.mjs +194 -0
  111. package/node_modules/@capyclaw/portal/lib/portal-agent.ps1 +811 -0
  112. package/node_modules/@capyclaw/portal/lib/portal-darwin.mjs +183 -0
  113. package/node_modules/@capyclaw/portal/package.json +40 -0
  114. package/node_modules/@capyclaw/ppt-editor/LICENSE +661 -0
  115. package/node_modules/@capyclaw/ppt-editor/README.md +86 -0
  116. package/node_modules/@capyclaw/ppt-editor/THIRD_PARTY_NOTICES.md +21 -0
  117. package/node_modules/@capyclaw/ppt-editor/app.js +6298 -0
  118. package/node_modules/@capyclaw/ppt-editor/contract/ppt-contract.json +1828 -0
  119. package/node_modules/@capyclaw/ppt-editor/heartbeat-worker.js +129 -0
  120. package/node_modules/@capyclaw/ppt-editor/index.html +176 -0
  121. package/node_modules/@capyclaw/ppt-editor/lib/index.mjs +8 -0
  122. package/node_modules/@capyclaw/ppt-editor/package.json +57 -0
  123. package/node_modules/@capyclaw/ppt-editor/ppt-full-app.js +381 -0
  124. package/node_modules/@capyclaw/ppt-skill-api/README.md +3 -0
  125. package/node_modules/@capyclaw/ppt-skill-api/contract/ppt-contract.json +1828 -0
  126. package/node_modules/@capyclaw/ppt-skill-api/cordis.patch.yml +4 -0
  127. package/node_modules/@capyclaw/ppt-skill-api/package.json +49 -0
  128. package/node_modules/@capyclaw/ppt-skill-api/plugin.mjs +15 -0
  129. package/node_modules/@capyclaw/ppt-skill-api/skills/pptist-api/SKILL.md +137 -0
  130. package/node_modules/@capyclaw/ppt-skill-api/skills/pptist-api/references/tool-contract.md +1646 -0
  131. package/node_modules/@capyclaw/ppt-skill-api/skills/pptist-api/references/visual-qa.md +28 -0
  132. package/node_modules/@capyclaw/ppt-skill-proposal/README.md +3 -0
  133. package/node_modules/@capyclaw/ppt-skill-proposal/contract/ppt-contract.json +1828 -0
  134. package/node_modules/@capyclaw/ppt-skill-proposal/cordis.patch.yml +4 -0
  135. package/node_modules/@capyclaw/ppt-skill-proposal/package.json +49 -0
  136. package/node_modules/@capyclaw/ppt-skill-proposal/plugin.mjs +15 -0
  137. package/node_modules/@capyclaw/ppt-skill-proposal/skills/pptmaster-proposal/SKILL.md +83 -0
  138. package/node_modules/@capyclaw/ppt-skill-proposal/skills/pptmaster-proposal/references/anti-ai-slop.md +18 -0
  139. package/node_modules/@capyclaw/ppt-skill-proposal/skills/pptmaster-proposal/references/deck-structure.md +42 -0
  140. package/node_modules/@capyclaw/ppt-skill-proposal/skills/pptmaster-proposal/references/design-tokens.md +36 -0
  141. package/node_modules/@capyclaw/ppt-skill-proposal/skills/pptmaster-proposal/references/layout-system.md +30 -0
  142. package/node_modules/@capyclaw/ppt-skill-proposal/skills/pptmaster-proposal/references/page-craft.md +31 -0
  143. package/node_modules/@capyclaw/ppt-skill-proposal/skills/pptmaster-proposal/references/scqa-pyramid.md +26 -0
  144. package/node_modules/@capyclaw/ppt-workbench/LICENSE +661 -0
  145. package/node_modules/@capyclaw/ppt-workbench/README.md +173 -0
  146. package/node_modules/@capyclaw/ppt-workbench/THIRD_PARTY_NOTICES.md +21 -0
  147. package/node_modules/@capyclaw/ppt-workbench/contract/ppt-contract.json +1828 -0
  148. package/node_modules/@capyclaw/ppt-workbench/core/audit.js +507 -0
  149. package/node_modules/@capyclaw/ppt-workbench/core/chart.js +199 -0
  150. package/node_modules/@capyclaw/ppt-workbench/core/color.js +170 -0
  151. package/node_modules/@capyclaw/ppt-workbench/core/deck-layout.js +375 -0
  152. package/node_modules/@capyclaw/ppt-workbench/core/formula.js +80 -0
  153. package/node_modules/@capyclaw/ppt-workbench/core/hfmath/hershey.js +1763 -0
  154. package/node_modules/@capyclaw/ppt-workbench/core/hfmath/index.js +1176 -0
  155. package/node_modules/@capyclaw/ppt-workbench/core/hfmath/stretch.js +41 -0
  156. package/node_modules/@capyclaw/ppt-workbench/core/hfmath/symbols.js +408 -0
  157. package/node_modules/@capyclaw/ppt-workbench/core/inspect.js +366 -0
  158. package/node_modules/@capyclaw/ppt-workbench/core/manuscript/compare.mjs +103 -0
  159. package/node_modules/@capyclaw/ppt-workbench/core/manuscript/compile.mjs +322 -0
  160. package/node_modules/@capyclaw/ppt-workbench/core/manuscript/edit.mjs +239 -0
  161. package/node_modules/@capyclaw/ppt-workbench/core/manuscript/parse.mjs +346 -0
  162. package/node_modules/@capyclaw/ppt-workbench/core/manuscript/render-html.mjs +84 -0
  163. package/node_modules/@capyclaw/ppt-workbench/core/manuscript/sync.mjs +101 -0
  164. package/node_modules/@capyclaw/ppt-workbench/core/measure.js +104 -0
  165. package/node_modules/@capyclaw/ppt-workbench/core/ops/browser.js +28 -0
  166. package/node_modules/@capyclaw/ppt-workbench/core/ops/chart.js +64 -0
  167. package/node_modules/@capyclaw/ppt-workbench/core/ops/deck.js +21 -0
  168. package/node_modules/@capyclaw/ppt-workbench/core/ops/element.js +55 -0
  169. package/node_modules/@capyclaw/ppt-workbench/core/ops/history.js +11 -0
  170. package/node_modules/@capyclaw/ppt-workbench/core/ops/import.js +95 -0
  171. package/node_modules/@capyclaw/ppt-workbench/core/ops/index.js +39 -0
  172. package/node_modules/@capyclaw/ppt-workbench/core/ops/playback.js +9 -0
  173. package/node_modules/@capyclaw/ppt-workbench/core/ops/recolor.js +87 -0
  174. package/node_modules/@capyclaw/ppt-workbench/core/ops/slide.js +66 -0
  175. package/node_modules/@capyclaw/ppt-workbench/core/ops/table.js +85 -0
  176. package/node_modules/@capyclaw/ppt-workbench/core/ops/text.js +35 -0
  177. package/node_modules/@capyclaw/ppt-workbench/core/ops/view.js +13 -0
  178. package/node_modules/@capyclaw/ppt-workbench/core/ops.js +12 -0
  179. package/node_modules/@capyclaw/ppt-workbench/core/quick.js +52 -0
  180. package/node_modules/@capyclaw/ppt-workbench/core/shape-library.js +122 -0
  181. package/node_modules/@capyclaw/ppt-workbench/core/table.js +178 -0
  182. package/node_modules/@capyclaw/ppt-workbench/core/text.js +200 -0
  183. package/node_modules/@capyclaw/ppt-workbench/lib/host.mjs +1 -0
  184. package/node_modules/@capyclaw/ppt-workbench/package.json +73 -0
  185. package/node_modules/@capyclaw/ppt-workbench/plugin.mjs +1 -0
  186. package/node_modules/@capyclaw/ppt-workbench/server/audit.mjs +2 -0
  187. package/node_modules/@capyclaw/ppt-workbench/server/bridge-client.mjs +308 -0
  188. package/node_modules/@capyclaw/ppt-workbench/server/constants.mjs +21 -0
  189. package/node_modules/@capyclaw/ppt-workbench/server/contract-snapshots.mjs +89 -0
  190. package/node_modules/@capyclaw/ppt-workbench/server/contract.mjs +24 -0
  191. package/node_modules/@capyclaw/ppt-workbench/server/deck-layout.mjs +2 -0
  192. package/node_modules/@capyclaw/ppt-workbench/server/editor-assets.mjs +132 -0
  193. package/node_modules/@capyclaw/ppt-workbench/server/embedded-host.mjs +252 -0
  194. package/node_modules/@capyclaw/ppt-workbench/server/http-utils.mjs +2 -0
  195. package/node_modules/@capyclaw/ppt-workbench/server/infra/http.mjs +2 -0
  196. package/node_modules/@capyclaw/ppt-workbench/server/infra/runtime/context.mjs +2 -0
  197. package/node_modules/@capyclaw/ppt-workbench/server/infra/store/blob-store.mjs +2 -0
  198. package/node_modules/@capyclaw/ppt-workbench/server/infra/tuning.mjs +2 -0
  199. package/node_modules/@capyclaw/ppt-workbench/server/infra/util/fs-lock.mjs +2 -0
  200. package/node_modules/@capyclaw/ppt-workbench/server/infra/workspace/manager.mjs +2 -0
  201. package/node_modules/@capyclaw/ppt-workbench/server/mcp/dispatch.mjs +2 -0
  202. package/node_modules/@capyclaw/ppt-workbench/server/mcp/handler.mjs +2 -0
  203. package/node_modules/@capyclaw/ppt-workbench/server/mcp/instructions.mjs +66 -0
  204. package/node_modules/@capyclaw/ppt-workbench/server/ppt-shim.mjs +168 -0
  205. package/node_modules/@capyclaw/ppt-workbench/server/relay.mjs +282 -0
  206. package/node_modules/@capyclaw/ppt-workbench/server/routes/assets.mjs +2 -0
  207. package/node_modules/@capyclaw/ppt-workbench/server/routes/bridge.mjs +74 -0
  208. package/node_modules/@capyclaw/ppt-workbench/server/routes/editor.mjs +9 -0
  209. package/node_modules/@capyclaw/ppt-workbench/server/routes/import.mjs +260 -0
  210. package/node_modules/@capyclaw/ppt-workbench/server/routes/manuscript.mjs +414 -0
  211. package/node_modules/@capyclaw/ppt-workbench/server/routes/mcp.mjs +17 -0
  212. package/node_modules/@capyclaw/ppt-workbench/server/routes/session.mjs +36 -0
  213. package/node_modules/@capyclaw/ppt-workbench/server/runtime/recovery.mjs +9 -0
  214. package/node_modules/@capyclaw/ppt-workbench/server/runtime/watch.mjs +17 -0
  215. package/node_modules/@capyclaw/ppt-workbench/server/session-context.mjs +5 -0
  216. package/node_modules/@capyclaw/ppt-workbench/server/shared/SHARED_MANIFEST.json +70 -0
  217. package/node_modules/@capyclaw/ppt-workbench/server/shared/asset-service.mjs +2 -0
  218. package/node_modules/@capyclaw/ppt-workbench/server/shared/editor-host.mjs +2 -0
  219. package/node_modules/@capyclaw/ppt-workbench/server/shared/kit/editor/lease.mjs +2 -0
  220. package/node_modules/@capyclaw/ppt-workbench/server/shared/kit/service/api.mjs +2 -0
  221. package/node_modules/@capyclaw/ppt-workbench/server/shared/kit/service/http.mjs +2 -0
  222. package/node_modules/@capyclaw/ppt-workbench/server/shared/kit/service/mcp-http.mjs +2 -0
  223. package/node_modules/@capyclaw/ppt-workbench/server/shared/kit/tools/validate.mjs +2 -0
  224. package/node_modules/@capyclaw/ppt-workbench/server/shared/kit/tuning.mjs +2 -0
  225. package/node_modules/@capyclaw/ppt-workbench/server/shared/kit/util/fs-lock.mjs +2 -0
  226. package/node_modules/@capyclaw/ppt-workbench/server/shared/service-host.mjs +2 -0
  227. package/node_modules/@capyclaw/ppt-workbench/server/shared/tool-host.mjs +2 -0
  228. package/node_modules/@capyclaw/ppt-workbench/server/shared/tuning.mjs +2 -0
  229. package/node_modules/@capyclaw/ppt-workbench/server/store/backends/file-backend.mjs +13 -0
  230. package/node_modules/@capyclaw/ppt-workbench/server/store/checkpoints.mjs +28 -0
  231. package/node_modules/@capyclaw/ppt-workbench/server/store/deck-sanitize.mjs +68 -0
  232. package/node_modules/@capyclaw/ppt-workbench/server/store/doc.mjs +56 -0
  233. package/node_modules/@capyclaw/ppt-workbench/server/store/index.mjs +34 -0
  234. package/node_modules/@capyclaw/ppt-workbench/server/store/journal.mjs +9 -0
  235. package/node_modules/@capyclaw/ppt-workbench/server/store/lease.mjs +2 -0
  236. package/node_modules/@capyclaw/ppt-workbench/server/store/sanitize.mjs +33 -0
  237. package/node_modules/@capyclaw/ppt-workbench/server/store/sessions.mjs +314 -0
  238. package/node_modules/@capyclaw/ppt-workbench/server/store.mjs +2 -0
  239. package/node_modules/@capyclaw/ppt-workbench/server/tools/capabilities/apply.mjs +33 -0
  240. package/node_modules/@capyclaw/ppt-workbench/server/tools/capabilities/audit.mjs +28 -0
  241. package/node_modules/@capyclaw/ppt-workbench/server/tools/capabilities/chart.mjs +83 -0
  242. package/node_modules/@capyclaw/ppt-workbench/server/tools/capabilities/compose.mjs +97 -0
  243. package/node_modules/@capyclaw/ppt-workbench/server/tools/capabilities/contract.mjs +38 -0
  244. package/node_modules/@capyclaw/ppt-workbench/server/tools/capabilities/deck.mjs +27 -0
  245. package/node_modules/@capyclaw/ppt-workbench/server/tools/capabilities/element.mjs +67 -0
  246. package/node_modules/@capyclaw/ppt-workbench/server/tools/capabilities/export.mjs +99 -0
  247. package/node_modules/@capyclaw/ppt-workbench/server/tools/capabilities/formula.mjs +72 -0
  248. package/node_modules/@capyclaw/ppt-workbench/server/tools/capabilities/history.mjs +29 -0
  249. package/node_modules/@capyclaw/ppt-workbench/server/tools/capabilities/image.mjs +174 -0
  250. package/node_modules/@capyclaw/ppt-workbench/server/tools/capabilities/imagesearch.mjs +203 -0
  251. package/node_modules/@capyclaw/ppt-workbench/server/tools/capabilities/import.mjs +180 -0
  252. package/node_modules/@capyclaw/ppt-workbench/server/tools/capabilities/index.mjs +64 -0
  253. package/node_modules/@capyclaw/ppt-workbench/server/tools/capabilities/inspect.mjs +46 -0
  254. package/node_modules/@capyclaw/ppt-workbench/server/tools/capabilities/line.mjs +58 -0
  255. package/node_modules/@capyclaw/ppt-workbench/server/tools/capabilities/manuscript.mjs +208 -0
  256. package/node_modules/@capyclaw/ppt-workbench/server/tools/capabilities/notes.mjs +33 -0
  257. package/node_modules/@capyclaw/ppt-workbench/server/tools/capabilities/present.mjs +34 -0
  258. package/node_modules/@capyclaw/ppt-workbench/server/tools/capabilities/recolor.mjs +62 -0
  259. package/node_modules/@capyclaw/ppt-workbench/server/tools/capabilities/screenshot.mjs +191 -0
  260. package/node_modules/@capyclaw/ppt-workbench/server/tools/capabilities/shape.mjs +64 -0
  261. package/node_modules/@capyclaw/ppt-workbench/server/tools/capabilities/slide.mjs +81 -0
  262. package/node_modules/@capyclaw/ppt-workbench/server/tools/capabilities/style.mjs +48 -0
  263. package/node_modules/@capyclaw/ppt-workbench/server/tools/capabilities/table.mjs +127 -0
  264. package/node_modules/@capyclaw/ppt-workbench/server/tools/capabilities/task.mjs +52 -0
  265. package/node_modules/@capyclaw/ppt-workbench/server/tools/capabilities/text.mjs +82 -0
  266. package/node_modules/@capyclaw/ppt-workbench/server/tools/domains/color.mjs +4 -0
  267. package/node_modules/@capyclaw/ppt-workbench/server/tools/domains/image.mjs +78 -0
  268. package/node_modules/@capyclaw/ppt-workbench/server/tools/domains/index.mjs +7 -0
  269. package/node_modules/@capyclaw/ppt-workbench/server/tools/domains/manuscript-media.mjs +159 -0
  270. package/node_modules/@capyclaw/ppt-workbench/server/tools/domains/offline-render.mjs +256 -0
  271. package/node_modules/@capyclaw/ppt-workbench/server/tools/domains/pptx-export.mjs +577 -0
  272. package/node_modules/@capyclaw/ppt-workbench/server/tools/domains/recolor.mjs +25 -0
  273. package/node_modules/@capyclaw/ppt-workbench/server/tools/domains/remote-image.mjs +443 -0
  274. package/node_modules/@capyclaw/ppt-workbench/server/tools/domains/slide.mjs +21 -0
  275. package/node_modules/@capyclaw/ppt-workbench/server/tools/domains/text-style.mjs +11 -0
  276. package/node_modules/@capyclaw/ppt-workbench/server/tools/domains/tooling.mjs +13 -0
  277. package/node_modules/@capyclaw/ppt-workbench/server/tools/index.mjs +14 -0
  278. package/node_modules/@capyclaw/ppt-workbench/server/tools/kernel/define.mjs +5 -0
  279. package/node_modules/@capyclaw/ppt-workbench/server/tools/kernel/ports.mjs +52 -0
  280. package/node_modules/@capyclaw/ppt-workbench/server/tools/kernel/registry.mjs +17 -0
  281. package/node_modules/@capyclaw/ppt-workbench/server/tools/model/deck-schema.mjs +105 -0
  282. package/node_modules/@capyclaw/ppt-workbench/server/tools.mjs +18 -0
  283. package/node_modules/@capyclaw/ppt-workbench/server/tuning.mjs +93 -0
  284. package/node_modules/@capyclaw/ppt-workbench/server/validate.mjs +2 -0
  285. package/node_modules/@capyclaw/ppt-workbench/server/workbench-framework.mjs +305 -0
  286. package/node_modules/@capyclaw/service-broker/README.md +104 -0
  287. package/node_modules/@capyclaw/service-broker/cordis.patch.yml +8 -0
  288. package/node_modules/@capyclaw/service-broker/dsh-suite.json +21 -0
  289. package/node_modules/@capyclaw/service-broker/lib/control.mjs +193 -0
  290. package/node_modules/@capyclaw/service-broker/lib/discovery.mjs +109 -0
  291. package/node_modules/@capyclaw/service-broker/lib/engine.mjs +1236 -0
  292. package/node_modules/@capyclaw/service-broker/lib/host.mjs +182 -0
  293. package/node_modules/@capyclaw/service-broker/lib/manifest.mjs +249 -0
  294. package/node_modules/@capyclaw/service-broker/lib/recovery.mjs +275 -0
  295. package/node_modules/@capyclaw/service-broker/lib/skills-client.mjs +28 -0
  296. package/node_modules/@capyclaw/service-broker/lib/spec.mjs +78 -0
  297. package/node_modules/@capyclaw/service-broker/package.json +65 -0
  298. package/node_modules/@capyclaw/service-broker/server.mjs +81 -0
  299. package/node_modules/@capyclaw/service-broker/service.schema.json +62 -0
  300. package/node_modules/@capyclaw/service-broker/services.json +3 -0
  301. package/node_modules/@capyclaw/service-host/README.md +86 -0
  302. package/node_modules/@capyclaw/service-host/cordis.patch.yml +4 -0
  303. package/node_modules/@capyclaw/service-host/dsh-suite.json +29 -0
  304. package/node_modules/@capyclaw/service-host/lib/host.mjs +22 -0
  305. package/node_modules/@capyclaw/service-host/package.json +60 -0
  306. package/node_modules/@capyclaw/service-host/src/index.mjs +571 -0
  307. package/node_modules/@capyclaw/service-host/src/tuning.mjs +63 -0
  308. package/node_modules/@capyclaw/skills-service/README.md +31 -0
  309. package/node_modules/@capyclaw/skills-service/package.json +30 -0
  310. package/node_modules/@capyclaw/skills-service/server.mjs +237 -0
  311. package/node_modules/@capyclaw/tool-host/README.md +56 -0
  312. package/node_modules/@capyclaw/tool-host/cordis.patch.yml +4 -0
  313. package/node_modules/@capyclaw/tool-host/dsh-suite.json +30 -0
  314. package/node_modules/@capyclaw/tool-host/lib/host.mjs +16 -0
  315. package/node_modules/@capyclaw/tool-host/package.json +59 -0
  316. package/node_modules/@capyclaw/tool-host/src/descriptors.mjs +166 -0
  317. package/node_modules/@capyclaw/tool-host/src/index.mjs +416 -0
  318. package/node_modules/@types/node/LICENSE +21 -0
  319. package/node_modules/@types/node/README.md +15 -0
  320. package/node_modules/@types/node/assert/strict.d.ts +8 -0
  321. package/node_modules/@types/node/assert.d.ts +1005 -0
  322. package/node_modules/@types/node/async_hooks.d.ts +586 -0
  323. package/node_modules/@types/node/buffer.buffer.d.ts +457 -0
  324. package/node_modules/@types/node/buffer.d.ts +1901 -0
  325. package/node_modules/@types/node/child_process.d.ts +1453 -0
  326. package/node_modules/@types/node/cluster.d.ts +578 -0
  327. package/node_modules/@types/node/compatibility/disposable.d.ts +14 -0
  328. package/node_modules/@types/node/compatibility/index.d.ts +9 -0
  329. package/node_modules/@types/node/compatibility/indexable.d.ts +20 -0
  330. package/node_modules/@types/node/compatibility/iterators.d.ts +20 -0
  331. package/node_modules/@types/node/console.d.ts +452 -0
  332. package/node_modules/@types/node/constants.d.ts +21 -0
  333. package/node_modules/@types/node/crypto.d.ts +4504 -0
  334. package/node_modules/@types/node/dgram.d.ts +596 -0
  335. package/node_modules/@types/node/diagnostics_channel.d.ts +551 -0
  336. package/node_modules/@types/node/dns/promises.d.ts +477 -0
  337. package/node_modules/@types/node/dns.d.ts +860 -0
  338. package/node_modules/@types/node/domain.d.ts +170 -0
  339. package/node_modules/@types/node/events.d.ts +863 -0
  340. package/node_modules/@types/node/fs/promises.d.ts +1208 -0
  341. package/node_modules/@types/node/fs.d.ts +4332 -0
  342. package/node_modules/@types/node/globals.d.ts +170 -0
  343. package/node_modules/@types/node/globals.typedarray.d.ts +21 -0
  344. package/node_modules/@types/node/http.d.ts +1919 -0
  345. package/node_modules/@types/node/http2.d.ts +2580 -0
  346. package/node_modules/@types/node/https.d.ts +549 -0
  347. package/node_modules/@types/node/index.d.ts +92 -0
  348. package/node_modules/@types/node/inspector.generated.d.ts +2775 -0
  349. package/node_modules/@types/node/module.d.ts +503 -0
  350. package/node_modules/@types/node/net.d.ts +924 -0
  351. package/node_modules/@types/node/os.d.ts +480 -0
  352. package/node_modules/@types/node/package.json +145 -0
  353. package/node_modules/@types/node/path.d.ts +191 -0
  354. package/node_modules/@types/node/perf_hooks.d.ts +860 -0
  355. package/node_modules/@types/node/process.d.ts +1632 -0
  356. package/node_modules/@types/node/punycode.d.ts +117 -0
  357. package/node_modules/@types/node/querystring.d.ts +140 -0
  358. package/node_modules/@types/node/readline/promises.d.ts +154 -0
  359. package/node_modules/@types/node/readline.d.ts +715 -0
  360. package/node_modules/@types/node/repl.d.ts +430 -0
  361. package/node_modules/@types/node/stream/consumers.d.ts +38 -0
  362. package/node_modules/@types/node/stream/promises.d.ts +90 -0
  363. package/node_modules/@types/node/stream/web.d.ts +527 -0
  364. package/node_modules/@types/node/stream.d.ts +1680 -0
  365. package/node_modules/@types/node/string_decoder.d.ts +67 -0
  366. package/node_modules/@types/node/test.d.ts +1208 -0
  367. package/node_modules/@types/node/timers/promises.d.ts +108 -0
  368. package/node_modules/@types/node/timers.d.ts +286 -0
  369. package/node_modules/@types/node/tls.d.ts +1204 -0
  370. package/node_modules/@types/node/trace_events.d.ts +171 -0
  371. package/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +455 -0
  372. package/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +19 -0
  373. package/node_modules/@types/node/ts5.6/index.d.ts +92 -0
  374. package/node_modules/@types/node/tty.d.ts +206 -0
  375. package/node_modules/@types/node/url.d.ts +957 -0
  376. package/node_modules/@types/node/util.d.ts +2083 -0
  377. package/node_modules/@types/node/v8.d.ts +753 -0
  378. package/node_modules/@types/node/vm.d.ts +704 -0
  379. package/node_modules/@types/node/wasi.d.ts +160 -0
  380. package/node_modules/@types/node/web-globals/abortcontroller.d.ts +34 -0
  381. package/node_modules/@types/node/web-globals/domexception.d.ts +68 -0
  382. package/node_modules/@types/node/web-globals/events.d.ts +81 -0
  383. package/node_modules/@types/node/web-globals/fetch.d.ts +38 -0
  384. package/node_modules/@types/node/worker_threads.d.ts +698 -0
  385. package/node_modules/@types/node/zlib.d.ts +517 -0
  386. package/node_modules/core-util-is/LICENSE +19 -0
  387. package/node_modules/core-util-is/README.md +3 -0
  388. package/node_modules/core-util-is/lib/util.js +107 -0
  389. package/node_modules/core-util-is/package.json +38 -0
  390. package/node_modules/https/package.json +15 -0
  391. package/node_modules/image-size/LICENSE +9 -0
  392. package/node_modules/image-size/Readme.md +184 -0
  393. package/node_modules/image-size/bin/image-size.js +53 -0
  394. package/node_modules/image-size/dist/detector.d.ts +2 -0
  395. package/node_modules/image-size/dist/detector.js +30 -0
  396. package/node_modules/image-size/dist/index.d.ts +10 -0
  397. package/node_modules/image-size/dist/index.js +129 -0
  398. package/node_modules/image-size/dist/types/bmp.d.ts +2 -0
  399. package/node_modules/image-size/dist/types/bmp.js +11 -0
  400. package/node_modules/image-size/dist/types/cur.d.ts +2 -0
  401. package/node_modules/image-size/dist/types/cur.js +17 -0
  402. package/node_modules/image-size/dist/types/dds.d.ts +2 -0
  403. package/node_modules/image-size/dist/types/dds.js +11 -0
  404. package/node_modules/image-size/dist/types/gif.d.ts +2 -0
  405. package/node_modules/image-size/dist/types/gif.js +12 -0
  406. package/node_modules/image-size/dist/types/heif.d.ts +2 -0
  407. package/node_modules/image-size/dist/types/heif.js +40 -0
  408. package/node_modules/image-size/dist/types/icns.d.ts +2 -0
  409. package/node_modules/image-size/dist/types/icns.js +101 -0
  410. package/node_modules/image-size/dist/types/ico.d.ts +2 -0
  411. package/node_modules/image-size/dist/types/ico.js +68 -0
  412. package/node_modules/image-size/dist/types/index.d.ts +23 -0
  413. package/node_modules/image-size/dist/types/index.js +46 -0
  414. package/node_modules/image-size/dist/types/interface.d.ts +13 -0
  415. package/node_modules/image-size/dist/types/interface.js +2 -0
  416. package/node_modules/image-size/dist/types/j2c.d.ts +2 -0
  417. package/node_modules/image-size/dist/types/j2c.js +12 -0
  418. package/node_modules/image-size/dist/types/jp2.d.ts +2 -0
  419. package/node_modules/image-size/dist/types/jp2.js +27 -0
  420. package/node_modules/image-size/dist/types/jpg.d.ts +2 -0
  421. package/node_modules/image-size/dist/types/jpg.js +123 -0
  422. package/node_modules/image-size/dist/types/jxl-stream.d.ts +2 -0
  423. package/node_modules/image-size/dist/types/jxl-stream.js +45 -0
  424. package/node_modules/image-size/dist/types/jxl.d.ts +2 -0
  425. package/node_modules/image-size/dist/types/jxl.js +59 -0
  426. package/node_modules/image-size/dist/types/ktx.d.ts +2 -0
  427. package/node_modules/image-size/dist/types/ktx.js +19 -0
  428. package/node_modules/image-size/dist/types/png.d.ts +2 -0
  429. package/node_modules/image-size/dist/types/png.js +35 -0
  430. package/node_modules/image-size/dist/types/pnm.d.ts +2 -0
  431. package/node_modules/image-size/dist/types/pnm.js +72 -0
  432. package/node_modules/image-size/dist/types/psd.d.ts +2 -0
  433. package/node_modules/image-size/dist/types/psd.js +11 -0
  434. package/node_modules/image-size/dist/types/svg.d.ts +2 -0
  435. package/node_modules/image-size/dist/types/svg.js +90 -0
  436. package/node_modules/image-size/dist/types/tga.d.ts +2 -0
  437. package/node_modules/image-size/dist/types/tga.js +15 -0
  438. package/node_modules/image-size/dist/types/tiff.d.ts +2 -0
  439. package/node_modules/image-size/dist/types/tiff.js +95 -0
  440. package/node_modules/image-size/dist/types/utils.d.ts +15 -0
  441. package/node_modules/image-size/dist/types/utils.js +75 -0
  442. package/node_modules/image-size/dist/types/webp.d.ts +2 -0
  443. package/node_modules/image-size/dist/types/webp.js +60 -0
  444. package/node_modules/image-size/dist/utils/bit-reader.d.ts +10 -0
  445. package/node_modules/image-size/dist/utils/bit-reader.js +44 -0
  446. package/node_modules/image-size/package.json +81 -0
  447. package/node_modules/immediate/LICENSE.txt +20 -0
  448. package/node_modules/immediate/README.md +93 -0
  449. package/node_modules/immediate/dist/immediate.js +75 -0
  450. package/node_modules/immediate/dist/immediate.min.js +1 -0
  451. package/node_modules/immediate/lib/browser.js +69 -0
  452. package/node_modules/immediate/lib/index.js +73 -0
  453. package/node_modules/immediate/package.json +42 -0
  454. package/node_modules/inherits/LICENSE +16 -0
  455. package/node_modules/inherits/README.md +42 -0
  456. package/node_modules/inherits/inherits.js +9 -0
  457. package/node_modules/inherits/inherits_browser.js +27 -0
  458. package/node_modules/inherits/package.json +29 -0
  459. package/node_modules/isarray/.npmignore +1 -0
  460. package/node_modules/isarray/.travis.yml +4 -0
  461. package/node_modules/isarray/Makefile +6 -0
  462. package/node_modules/isarray/README.md +60 -0
  463. package/node_modules/isarray/component.json +19 -0
  464. package/node_modules/isarray/index.js +5 -0
  465. package/node_modules/isarray/package.json +45 -0
  466. package/node_modules/isarray/test.js +20 -0
  467. package/node_modules/jszip/.codeclimate.yml +16 -0
  468. package/node_modules/jszip/.editorconfig +8 -0
  469. package/node_modules/jszip/.eslintrc.js +43 -0
  470. package/node_modules/jszip/CHANGES.md +210 -0
  471. package/node_modules/jszip/LICENSE.markdown +651 -0
  472. package/node_modules/jszip/README.markdown +33 -0
  473. package/node_modules/jszip/dist/jszip.js +11586 -0
  474. package/node_modules/jszip/dist/jszip.min.js +13 -0
  475. package/node_modules/jszip/index.d.ts +344 -0
  476. package/node_modules/jszip/lib/base64.js +106 -0
  477. package/node_modules/jszip/lib/compressedObject.js +74 -0
  478. package/node_modules/jszip/lib/compressions.js +14 -0
  479. package/node_modules/jszip/lib/crc32.js +77 -0
  480. package/node_modules/jszip/lib/defaults.js +11 -0
  481. package/node_modules/jszip/lib/external.js +18 -0
  482. package/node_modules/jszip/lib/flate.js +85 -0
  483. package/node_modules/jszip/lib/generate/ZipFileWorker.js +539 -0
  484. package/node_modules/jszip/lib/generate/index.js +57 -0
  485. package/node_modules/jszip/lib/index.js +55 -0
  486. package/node_modules/jszip/lib/license_header.js +11 -0
  487. package/node_modules/jszip/lib/load.js +88 -0
  488. package/node_modules/jszip/lib/nodejs/NodejsStreamInputAdapter.js +74 -0
  489. package/node_modules/jszip/lib/nodejs/NodejsStreamOutputAdapter.js +42 -0
  490. package/node_modules/jszip/lib/nodejsUtils.js +57 -0
  491. package/node_modules/jszip/lib/object.js +384 -0
  492. package/node_modules/jszip/lib/readable-stream-browser.js +10 -0
  493. package/node_modules/jszip/lib/reader/ArrayReader.js +57 -0
  494. package/node_modules/jszip/lib/reader/DataReader.js +116 -0
  495. package/node_modules/jszip/lib/reader/NodeBufferReader.js +19 -0
  496. package/node_modules/jszip/lib/reader/StringReader.js +38 -0
  497. package/node_modules/jszip/lib/reader/Uint8ArrayReader.js +22 -0
  498. package/node_modules/jszip/lib/reader/readerFor.js +28 -0
  499. package/node_modules/jszip/lib/signature.js +7 -0
  500. package/node_modules/jszip/lib/stream/ConvertWorker.js +26 -0
  501. package/node_modules/jszip/lib/stream/Crc32Probe.js +24 -0
  502. package/node_modules/jszip/lib/stream/DataLengthProbe.js +29 -0
  503. package/node_modules/jszip/lib/stream/DataWorker.js +116 -0
  504. package/node_modules/jszip/lib/stream/GenericWorker.js +263 -0
  505. package/node_modules/jszip/lib/stream/StreamHelper.js +214 -0
  506. package/node_modules/jszip/lib/support.js +38 -0
  507. package/node_modules/jszip/lib/utf8.js +275 -0
  508. package/node_modules/jszip/lib/utils.js +510 -0
  509. package/node_modules/jszip/lib/zipEntries.js +261 -0
  510. package/node_modules/jszip/lib/zipEntry.js +293 -0
  511. package/node_modules/jszip/lib/zipObject.js +133 -0
  512. package/node_modules/jszip/package.json +67 -0
  513. package/node_modules/jszip/sponsors.md +21 -0
  514. package/node_modules/jszip/tsconfig.json +101 -0
  515. package/node_modules/jszip/vendor/FileSaver.js +247 -0
  516. package/node_modules/lie/README.md +62 -0
  517. package/node_modules/lie/dist/lie.js +350 -0
  518. package/node_modules/lie/dist/lie.min.js +1 -0
  519. package/node_modules/lie/dist/lie.polyfill.js +358 -0
  520. package/node_modules/lie/dist/lie.polyfill.min.js +1 -0
  521. package/node_modules/lie/lib/browser.js +273 -0
  522. package/node_modules/lie/lib/index.js +298 -0
  523. package/node_modules/lie/license.md +7 -0
  524. package/node_modules/lie/lie.d.ts +244 -0
  525. package/node_modules/lie/package.json +69 -0
  526. package/node_modules/lie/polyfill.js +4 -0
  527. package/node_modules/pako/LICENSE +21 -0
  528. package/node_modules/pako/README.md +191 -0
  529. package/node_modules/pako/dist/pako.js +6818 -0
  530. package/node_modules/pako/dist/pako.min.js +1 -0
  531. package/node_modules/pako/dist/pako_deflate.js +3997 -0
  532. package/node_modules/pako/dist/pako_deflate.min.js +1 -0
  533. package/node_modules/pako/dist/pako_inflate.js +3300 -0
  534. package/node_modules/pako/dist/pako_inflate.min.js +1 -0
  535. package/node_modules/pako/index.js +14 -0
  536. package/node_modules/pako/lib/deflate.js +400 -0
  537. package/node_modules/pako/lib/inflate.js +423 -0
  538. package/node_modules/pako/lib/utils/common.js +105 -0
  539. package/node_modules/pako/lib/utils/strings.js +187 -0
  540. package/node_modules/pako/lib/zlib/README +59 -0
  541. package/node_modules/pako/lib/zlib/adler32.js +51 -0
  542. package/node_modules/pako/lib/zlib/constants.js +68 -0
  543. package/node_modules/pako/lib/zlib/crc32.js +59 -0
  544. package/node_modules/pako/lib/zlib/deflate.js +1874 -0
  545. package/node_modules/pako/lib/zlib/gzheader.js +58 -0
  546. package/node_modules/pako/lib/zlib/inffast.js +345 -0
  547. package/node_modules/pako/lib/zlib/inflate.js +1556 -0
  548. package/node_modules/pako/lib/zlib/inftrees.js +343 -0
  549. package/node_modules/pako/lib/zlib/messages.js +32 -0
  550. package/node_modules/pako/lib/zlib/trees.js +1222 -0
  551. package/node_modules/pako/lib/zlib/zstream.js +47 -0
  552. package/node_modules/pako/package.json +44 -0
  553. package/node_modules/pptxgenjs/LICENSE +21 -0
  554. package/node_modules/pptxgenjs/README.md +284 -0
  555. package/node_modules/pptxgenjs/dist/pptxgen.bundle.js +3 -0
  556. package/node_modules/pptxgenjs/dist/pptxgen.bundle.js.map +1 -0
  557. package/node_modules/pptxgenjs/dist/pptxgen.cjs.js +7445 -0
  558. package/node_modules/pptxgenjs/dist/pptxgen.es.js +7439 -0
  559. package/node_modules/pptxgenjs/dist/pptxgen.min.js +3 -0
  560. package/node_modules/pptxgenjs/dist/pptxgen.min.js.map +1 -0
  561. package/node_modules/pptxgenjs/package.json +89 -0
  562. package/node_modules/pptxgenjs/types/index.d.ts +2670 -0
  563. package/node_modules/process-nextick-args/index.js +45 -0
  564. package/node_modules/process-nextick-args/license.md +19 -0
  565. package/node_modules/process-nextick-args/package.json +25 -0
  566. package/node_modules/process-nextick-args/readme.md +18 -0
  567. package/node_modules/queue/LICENSE +8 -0
  568. package/node_modules/queue/index.d.ts +173 -0
  569. package/node_modules/queue/index.js +195 -0
  570. package/node_modules/queue/package.json +43 -0
  571. package/node_modules/queue/readme.md +221 -0
  572. package/node_modules/readable-stream/.travis.yml +34 -0
  573. package/node_modules/readable-stream/CONTRIBUTING.md +38 -0
  574. package/node_modules/readable-stream/GOVERNANCE.md +136 -0
  575. package/node_modules/readable-stream/LICENSE +47 -0
  576. package/node_modules/readable-stream/README.md +58 -0
  577. package/node_modules/readable-stream/doc/wg-meetings/2015-01-30.md +60 -0
  578. package/node_modules/readable-stream/duplex-browser.js +1 -0
  579. package/node_modules/readable-stream/duplex.js +1 -0
  580. package/node_modules/readable-stream/lib/_stream_duplex.js +131 -0
  581. package/node_modules/readable-stream/lib/_stream_passthrough.js +47 -0
  582. package/node_modules/readable-stream/lib/_stream_readable.js +1019 -0
  583. package/node_modules/readable-stream/lib/_stream_transform.js +214 -0
  584. package/node_modules/readable-stream/lib/_stream_writable.js +685 -0
  585. package/node_modules/readable-stream/lib/internal/streams/BufferList.js +78 -0
  586. package/node_modules/readable-stream/lib/internal/streams/destroy.js +84 -0
  587. package/node_modules/readable-stream/lib/internal/streams/stream-browser.js +1 -0
  588. package/node_modules/readable-stream/lib/internal/streams/stream.js +1 -0
  589. package/node_modules/readable-stream/package.json +52 -0
  590. package/node_modules/readable-stream/passthrough.js +1 -0
  591. package/node_modules/readable-stream/readable-browser.js +7 -0
  592. package/node_modules/readable-stream/readable.js +19 -0
  593. package/node_modules/readable-stream/transform.js +1 -0
  594. package/node_modules/readable-stream/writable-browser.js +1 -0
  595. package/node_modules/readable-stream/writable.js +8 -0
  596. package/node_modules/safe-buffer/LICENSE +21 -0
  597. package/node_modules/safe-buffer/README.md +584 -0
  598. package/node_modules/safe-buffer/index.d.ts +187 -0
  599. package/node_modules/safe-buffer/index.js +62 -0
  600. package/node_modules/safe-buffer/package.json +37 -0
  601. package/node_modules/setimmediate/LICENSE.txt +20 -0
  602. package/node_modules/setimmediate/package.json +30 -0
  603. package/node_modules/setimmediate/setImmediate.js +186 -0
  604. package/node_modules/string_decoder/.travis.yml +50 -0
  605. package/node_modules/string_decoder/LICENSE +48 -0
  606. package/node_modules/string_decoder/README.md +47 -0
  607. package/node_modules/string_decoder/lib/string_decoder.js +296 -0
  608. package/node_modules/string_decoder/package.json +31 -0
  609. package/node_modules/undici-types/README.md +6 -0
  610. package/node_modules/undici-types/agent.d.ts +31 -0
  611. package/node_modules/undici-types/api.d.ts +43 -0
  612. package/node_modules/undici-types/balanced-pool.d.ts +18 -0
  613. package/node_modules/undici-types/cache.d.ts +36 -0
  614. package/node_modules/undici-types/client.d.ts +97 -0
  615. package/node_modules/undici-types/connector.d.ts +34 -0
  616. package/node_modules/undici-types/content-type.d.ts +21 -0
  617. package/node_modules/undici-types/cookies.d.ts +28 -0
  618. package/node_modules/undici-types/diagnostics-channel.d.ts +67 -0
  619. package/node_modules/undici-types/dispatcher.d.ts +241 -0
  620. package/node_modules/undici-types/errors.d.ts +128 -0
  621. package/node_modules/undici-types/fetch.d.ts +209 -0
  622. package/node_modules/undici-types/file.d.ts +39 -0
  623. package/node_modules/undici-types/filereader.d.ts +54 -0
  624. package/node_modules/undici-types/formdata.d.ts +108 -0
  625. package/node_modules/undici-types/global-dispatcher.d.ts +9 -0
  626. package/node_modules/undici-types/global-origin.d.ts +7 -0
  627. package/node_modules/undici-types/handlers.d.ts +9 -0
  628. package/node_modules/undici-types/header.d.ts +4 -0
  629. package/node_modules/undici-types/index.d.ts +63 -0
  630. package/node_modules/undici-types/interceptors.d.ts +5 -0
  631. package/node_modules/undici-types/mock-agent.d.ts +50 -0
  632. package/node_modules/undici-types/mock-client.d.ts +25 -0
  633. package/node_modules/undici-types/mock-errors.d.ts +12 -0
  634. package/node_modules/undici-types/mock-interceptor.d.ts +93 -0
  635. package/node_modules/undici-types/mock-pool.d.ts +25 -0
  636. package/node_modules/undici-types/package.json +55 -0
  637. package/node_modules/undici-types/patch.d.ts +71 -0
  638. package/node_modules/undici-types/pool-stats.d.ts +19 -0
  639. package/node_modules/undici-types/pool.d.ts +28 -0
  640. package/node_modules/undici-types/proxy-agent.d.ts +30 -0
  641. package/node_modules/undici-types/readable.d.ts +61 -0
  642. package/node_modules/undici-types/webidl.d.ts +220 -0
  643. package/node_modules/undici-types/websocket.d.ts +131 -0
  644. package/node_modules/util-deprecate/History.md +16 -0
  645. package/node_modules/util-deprecate/LICENSE +24 -0
  646. package/node_modules/util-deprecate/README.md +53 -0
  647. package/node_modules/util-deprecate/browser.js +67 -0
  648. package/node_modules/util-deprecate/node.js +6 -0
  649. package/node_modules/util-deprecate/package.json +27 -0
  650. package/package.json +54 -21
  651. 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
+ };