@omg-dev/app 0.1.308

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 (423) hide show
  1. package/LICENSE +21 -0
  2. package/dist-lib/BrowserProfiles-BKqSwtW3.js +650 -0
  3. package/dist-lib/ChangelogPage-DUF8wn1F.js +2978 -0
  4. package/dist-lib/File-BszRWhXA.js +5866 -0
  5. package/dist-lib/FileEditor-ByMnm-sa.js +6892 -0
  6. package/dist-lib/FileTreePane-BG2k7gTc.js +8422 -0
  7. package/dist-lib/FileViewer-DgjR_OJp.js +18 -0
  8. package/dist-lib/SessionFilesPanel-Brfp2niD.js +336 -0
  9. package/dist-lib/TermView-BNcp4mex.js +4000 -0
  10. package/dist-lib/__vite-browser-external-2447137e-DYxpcVy9.js +4 -0
  11. package/dist-lib/_commonjsHelpers-C6fGbg64.js +6 -0
  12. package/dist-lib/abap-Y8Dl9g_6.js +6 -0
  13. package/dist-lib/abnfDiagram-VRR7QNED-Chn1Z_p9.js +87 -0
  14. package/dist-lib/actionscript-3-DQVEcJUW.js +6 -0
  15. package/dist-lib/ada-vP6ak0IW.js +6 -0
  16. package/dist-lib/agent-claude.svg +1 -0
  17. package/dist-lib/agent-codex.svg +1 -0
  18. package/dist-lib/agent-copilot.svg +1 -0
  19. package/dist-lib/agent-cursor.svg +4 -0
  20. package/dist-lib/agent-grok.svg +1 -0
  21. package/dist-lib/agent-hermes.svg +9 -0
  22. package/dist-lib/agent-opencode.svg +1 -0
  23. package/dist-lib/agent-pi.svg +7 -0
  24. package/dist-lib/andromeeda-BbmzSJq1.js +4 -0
  25. package/dist-lib/angular-html-DPB4Rf0C.js +32 -0
  26. package/dist-lib/angular-ts-CTOR2ofC.js +21 -0
  27. package/dist-lib/apache-BUjz-sD2.js +6 -0
  28. package/dist-lib/apex-OyTfjCYK.js +6 -0
  29. package/dist-lib/apl-CjNiDgad.js +16 -0
  30. package/dist-lib/apple-touch-icon.png +0 -0
  31. package/dist-lib/applescript-BPx7YFFu.js +6 -0
  32. package/dist-lib/ara-Z2fSOxSw.js +6 -0
  33. package/dist-lib/arc-B652oHQ-.js +83 -0
  34. package/dist-lib/architectureDiagram-ZJ3FMSHR-CMatArpz.js +4762 -0
  35. package/dist-lib/asciidoc-C1T9ziH6.js +6 -0
  36. package/dist-lib/asm-BTWLY5ym.js +6 -0
  37. package/dist-lib/astro-CFFExE8Q.js +18 -0
  38. package/dist-lib/aurora-x-BwoVEUWZ.js +4 -0
  39. package/dist-lib/awk-Fb0P9dkn.js +6 -0
  40. package/dist-lib/ayu-dark-DJoqd4M9.js +4 -0
  41. package/dist-lib/ayu-light-BzXEJRJ-.js +4 -0
  42. package/dist-lib/ayu-mirage-BJ2oZGzi.js +4 -0
  43. package/dist-lib/badge-CgdKT4o8.js +46 -0
  44. package/dist-lib/ballerina-oZK-YekG.js +6 -0
  45. package/dist-lib/bat-0FvbqU9S.js +6 -0
  46. package/dist-lib/beancount-DqJEb89h.js +6 -0
  47. package/dist-lib/berry-DODBq_Ff.js +6 -0
  48. package/dist-lib/bibtex-EULQRLY5.js +6 -0
  49. package/dist-lib/bicep-BorU73w0.js +6 -0
  50. package/dist-lib/bird2-CIjBSNj3.js +6 -0
  51. package/dist-lib/blade-D0HyNvCw.js +20 -0
  52. package/dist-lib/blockDiagram-677ZJIJ3-CEOPfI9A.js +2429 -0
  53. package/dist-lib/bsl-NkNNwerW.js +8 -0
  54. package/dist-lib/c-eeMepfLm.js +6 -0
  55. package/dist-lib/c3-BY5XW5ym.js +6 -0
  56. package/dist-lib/c4Diagram-LMCZKHZV-DcUHrESL.js +1578 -0
  57. package/dist-lib/cadence-02UX7mW8.js +6 -0
  58. package/dist-lib/cairo-DM6WF2e3.js +8 -0
  59. package/dist-lib/catppuccin-frappe-D3cH2rXe.js +4 -0
  60. package/dist-lib/catppuccin-latte-C0LRGUW4.js +4 -0
  61. package/dist-lib/catppuccin-macchiato-c5wQ11TT.js +4 -0
  62. package/dist-lib/catppuccin-mocha-WMD6Qvya.js +4 -0
  63. package/dist-lib/channel-B5lJFbed.js +5 -0
  64. package/dist-lib/chat-engine-BeMpvOlJ.js +7272 -0
  65. package/dist-lib/chunk-2Q5K7J3B-Ex8Ly28R.js +15 -0
  66. package/dist-lib/chunk-32BRIVSS-IYmNSvH8.js +68 -0
  67. package/dist-lib/chunk-5VM5RSS4-DO2g-xIj.js +19 -0
  68. package/dist-lib/chunk-EX3LRPZG-N96wfks9.js +1421 -0
  69. package/dist-lib/chunk-JWPE2WC7-DFPBClX_.js +9 -0
  70. package/dist-lib/chunk-MOJQB5TN-dusfI9ob.js +664 -0
  71. package/dist-lib/chunk-RYQCIY6F-fkeERzIG.js +315 -0
  72. package/dist-lib/chunk-V7JOEXUC-DQwf2vkP.js +1534 -0
  73. package/dist-lib/chunk-VR4S4FIN-hOZG7eF3.js +20 -0
  74. package/dist-lib/chunk-XXDRQBXY-Ccv4aRcn.js +8 -0
  75. package/dist-lib/clarity-PKm5CwqM.js +6 -0
  76. package/dist-lib/classDiagram-OUVF2IWQ-DOn-rhuL.js +16 -0
  77. package/dist-lib/classDiagram-v2-EOCWNBFH-DOn-rhuL.js +16 -0
  78. package/dist-lib/clipboard-paste-Cq1hNjMN.js +17 -0
  79. package/dist-lib/clojure-CXJfHrL3.js +6 -0
  80. package/dist-lib/cmake-BJz8BOTU.js +6 -0
  81. package/dist-lib/cobol-HihOMwht.js +10 -0
  82. package/dist-lib/codeowners-Bt9yU6NX.js +6 -0
  83. package/dist-lib/codeql-DHkodjjI.js +6 -0
  84. package/dist-lib/coding-agents-page-7V7PKijy.js +209 -0
  85. package/dist-lib/coffee-DGBR_nr_.js +8 -0
  86. package/dist-lib/common-lisp-EVqT9Zhp.js +6 -0
  87. package/dist-lib/coq-B0L9upzn.js +6 -0
  88. package/dist-lib/cose-bilkent-JH36ORCC-C-tACTrT.js +2609 -0
  89. package/dist-lib/cpp-Cj177cuW.js +18 -0
  90. package/dist-lib/create-BrnHvSDE.js +306 -0
  91. package/dist-lib/crystal-CRJyc4G-.js +18 -0
  92. package/dist-lib/csharp-CCgA4A09.js +6 -0
  93. package/dist-lib/css-CECN5uSL.js +6 -0
  94. package/dist-lib/csv-CmYOceLb.js +6 -0
  95. package/dist-lib/cue-ZzumE7IT.js +6 -0
  96. package/dist-lib/cynefin-VYW2F7L2-DQXPWaog.js +23853 -0
  97. package/dist-lib/cynefinDiagram-TSTJHNR4-Be7CamD2.js +299 -0
  98. package/dist-lib/cypher-jpdmjtA6.js +6 -0
  99. package/dist-lib/cytoscape.esm-B0ledd6M.js +18786 -0
  100. package/dist-lib/d-CBagWSwH.js +6 -0
  101. package/dist-lib/dagre-VKFMJZFB-BhCjK7XQ.js +346 -0
  102. package/dist-lib/dark-plus-pUHDTVV0.js +4 -0
  103. package/dist-lib/dart-6ObCrKr9.js +6 -0
  104. package/dist-lib/dax-CcDT-8dH.js +6 -0
  105. package/dist-lib/defaultLocale-BgPVtth8.js +171 -0
  106. package/dist-lib/desktop-B93p9R9O.js +6 -0
  107. package/dist-lib/diagram-FQU43EPY-Jg12ow4Z.js +466 -0
  108. package/dist-lib/diagram-G47NLZAW-C3_z2t6T.js +530 -0
  109. package/dist-lib/diagram-NH7WQ7WH-DUdK08IT.js +143 -0
  110. package/dist-lib/diagram-OA4YK3LP-TUUyRYY3.js +353 -0
  111. package/dist-lib/diagram-WEI45ONY-D1kKPOc_.js +221 -0
  112. package/dist-lib/diff-BxzP2J8R.js +6 -0
  113. package/dist-lib/docker-CsHqm9tx.js +6 -0
  114. package/dist-lib/dotenv-BMjVjUL1.js +6 -0
  115. package/dist-lib/dracula-BtZx2Kac.js +4 -0
  116. package/dist-lib/dracula-soft-BKa-aqBv.js +4 -0
  117. package/dist-lib/dream-maker-PAx17jaB.js +6 -0
  118. package/dist-lib/ebnfDiagram-CCIWWBDH-BhQWrGMc.js +109 -0
  119. package/dist-lib/edge-BYQkOzbF.js +12 -0
  120. package/dist-lib/elixir-Dh036GMp.js +8 -0
  121. package/dist-lib/elm-BtNbw_Cd.js +8 -0
  122. package/dist-lib/emacs-lisp-Cfxdx5D-.js +6 -0
  123. package/dist-lib/embedded-DS7udW2I.js +41876 -0
  124. package/dist-lib/engine-compile-BeZvvx0I.js +10442 -0
  125. package/dist-lib/erDiagram-Q63AITRT-D2q6Nmwa.js +911 -0
  126. package/dist-lib/erb-ScVOXVpH.js +10 -0
  127. package/dist-lib/erlang-DNcDT8Hi.js +8 -0
  128. package/dist-lib/everforest-dark-DMCBqXCK.js +4 -0
  129. package/dist-lib/everforest-light-BbXl82Em.js +4 -0
  130. package/dist-lib/fennel-N4WcXuKx.js +6 -0
  131. package/dist-lib/fish-BTDEUgqH.js +6 -0
  132. package/dist-lib/flowDiagram-23GEKE2U-DU3S3biU.js +1645 -0
  133. package/dist-lib/fluent-BMXUxfv1.js +6 -0
  134. package/dist-lib/fortran-fixed-form-B67KFkXH.js +8 -0
  135. package/dist-lib/fortran-free-form-CwqYvCLJ.js +6 -0
  136. package/dist-lib/fsharp-CYOiIVNx.js +8 -0
  137. package/dist-lib/ganttDiagram-NO4QXBWP-C_Lj-cJB.js +2712 -0
  138. package/dist-lib/gdresource-CvCIUjhi.js +10 -0
  139. package/dist-lib/gdscript-DSAxJ_aS.js +6 -0
  140. package/dist-lib/gdshader-Bk8fF6yr.js +6 -0
  141. package/dist-lib/genie-DzUvd7U9.js +6 -0
  142. package/dist-lib/gherkin-DHRaV0YP.js +6 -0
  143. package/dist-lib/git-commit-Bd32YZ0K.js +8 -0
  144. package/dist-lib/git-rebase-ZWUFO_T4.js +8 -0
  145. package/dist-lib/gitGraphDiagram-IHSO6WYX-CvGu0XAR.js +828 -0
  146. package/dist-lib/github-dark-DenFmJkN.js +4 -0
  147. package/dist-lib/github-dark-default-BJPUVz4H.js +4 -0
  148. package/dist-lib/github-dark-dimmed-DUshB20C.js +4 -0
  149. package/dist-lib/github-dark-high-contrast-D3aGCnF8.js +4 -0
  150. package/dist-lib/github-light-JYsPkUQd.js +4 -0
  151. package/dist-lib/github-light-default-D99KPAby.js +4 -0
  152. package/dist-lib/github-light-high-contrast-BbmZE-Mp.js +4 -0
  153. package/dist-lib/gleam-Bv284lvN.js +6 -0
  154. package/dist-lib/glimmer-js-DkxNrfPT.js +14 -0
  155. package/dist-lib/glimmer-ts-D6YZEmK_.js +14 -0
  156. package/dist-lib/glsl-CkUcVZNK.js +8 -0
  157. package/dist-lib/gn-XtJxiLa4.js +6 -0
  158. package/dist-lib/gnuplot-yPG9-sE_.js +6 -0
  159. package/dist-lib/go-CvFNMTvu.js +6 -0
  160. package/dist-lib/graph-B68L3K2T.js +1545 -0
  161. package/dist-lib/graphql-CBu2ehBn.js +14 -0
  162. package/dist-lib/groovy-CJQTphOW.js +6 -0
  163. package/dist-lib/gruvbox-dark-hard-C5HOtKIh.js +4 -0
  164. package/dist-lib/gruvbox-dark-medium-FVgwJHuz.js +4 -0
  165. package/dist-lib/gruvbox-dark-soft-B46F314v.js +4 -0
  166. package/dist-lib/gruvbox-light-hard-CJD38wDZ.js +4 -0
  167. package/dist-lib/gruvbox-light-medium-BlIhMYTA.js +4 -0
  168. package/dist-lib/gruvbox-light-soft-DoPHyLVZ.js +4 -0
  169. package/dist-lib/hack-ItRNKiEb.js +10 -0
  170. package/dist-lib/haml-NZLVzu_R.js +10 -0
  171. package/dist-lib/handlebars-mxStpSE7.js +14 -0
  172. package/dist-lib/haskell-WeIwNIP6.js +6 -0
  173. package/dist-lib/haxe-TztHsm5T.js +6 -0
  174. package/dist-lib/hcl-D438OF-I.js +6 -0
  175. package/dist-lib/highlighted-body-OFNGDK62-B2IXPhCU.js +19 -0
  176. package/dist-lib/hjson-DYBUbqOl.js +6 -0
  177. package/dist-lib/hlsl-Bk8TCZNL.js +6 -0
  178. package/dist-lib/horizon-CJQ10nlf.js +4 -0
  179. package/dist-lib/horizon-bright-CdkBZOMB.js +4 -0
  180. package/dist-lib/houston-BDYrDoDW.js +4 -0
  181. package/dist-lib/html-B50bmoVb.js +10 -0
  182. package/dist-lib/html-derivative-C6bxFbFW.js +8 -0
  183. package/dist-lib/http-DLvAkeD-.js +14 -0
  184. package/dist-lib/hurl-CgkFN90t.js +12 -0
  185. package/dist-lib/hxml-GbqSQCLa.js +8 -0
  186. package/dist-lib/hy-Brt5EZ7-.js +6 -0
  187. package/dist-lib/icon-192.png +0 -0
  188. package/dist-lib/icon-512.png +0 -0
  189. package/dist-lib/icon-maskable-512.png +0 -0
  190. package/dist-lib/icon-maskable.svg +16 -0
  191. package/dist-lib/icon-small.svg +19 -0
  192. package/dist-lib/icon.svg +19 -0
  193. package/dist-lib/imba-CimUv-Uh.js +6 -0
  194. package/dist-lib/index-DhYD46ms.js +5062 -0
  195. package/dist-lib/index-JkCQXUYs.js +16566 -0
  196. package/dist-lib/index-npuLMlPS.js +746 -0
  197. package/dist-lib/index.d.ts +95 -0
  198. package/dist-lib/index.js +8 -0
  199. package/dist-lib/infoDiagram-FWYZ7A6U-BbUkT0KS.js +24 -0
  200. package/dist-lib/ini-BZIuRIvJ.js +6 -0
  201. package/dist-lib/init-DjUOC4st.js +16 -0
  202. package/dist-lib/ishikawaDiagram-FXEZZL3T-D_Y6Tuyb.js +622 -0
  203. package/dist-lib/java-DY6VlHhP.js +6 -0
  204. package/dist-lib/javascript-C25yR2R2.js +6 -0
  205. package/dist-lib/jinja-CFW5uAwY.js +11 -0
  206. package/dist-lib/jison-DdreslRX.js +8 -0
  207. package/dist-lib/journeyDiagram-5HDEW3XC-CgykmVSC.js +834 -0
  208. package/dist-lib/json-DxJze_jm.js +6 -0
  209. package/dist-lib/json5-BT4Fjg39.js +6 -0
  210. package/dist-lib/jsonc-CHjZD8gR.js +6 -0
  211. package/dist-lib/jsonl-BGuvDmy9.js +6 -0
  212. package/dist-lib/jsonnet-Bx2cfsXg.js +6 -0
  213. package/dist-lib/jssm-BcADi6EI.js +6 -0
  214. package/dist-lib/jsx-BtKADgXT.js +6 -0
  215. package/dist-lib/julia-CZiKXNNP.js +16 -0
  216. package/dist-lib/just-CEK2SJ_k.js +18 -0
  217. package/dist-lib/kanagawa-dragon-CiKur4Hl.js +4 -0
  218. package/dist-lib/kanagawa-lotus-BKu-smKu.js +4 -0
  219. package/dist-lib/kanagawa-wave-CQwozSzG.js +4 -0
  220. package/dist-lib/kanban-definition-HUTT4EX6-CPFLTskY.js +726 -0
  221. package/dist-lib/katex-jHfnQmlp.js +11682 -0
  222. package/dist-lib/kdl-BNOv9TC3.js +6 -0
  223. package/dist-lib/kotlin-ByBMgTeR.js +6 -0
  224. package/dist-lib/kusto-DH_XitHS.js +6 -0
  225. package/dist-lib/laserwave-6a00oqik.js +4 -0
  226. package/dist-lib/latex-B8Egmqc5.js +8 -0
  227. package/dist-lib/layout-BGrtsiRL.js +1519 -0
  228. package/dist-lib/lean-BnVxaZxY.js +6 -0
  229. package/dist-lib/less-B1GLI2Di.js +6 -0
  230. package/dist-lib/light-plus-CZuVqSLX.js +4 -0
  231. package/dist-lib/linear-B5ZSwawJ.js +259 -0
  232. package/dist-lib/liquid-CHzkx3jT.js +14 -0
  233. package/dist-lib/llvm-Bk2XctFf.js +6 -0
  234. package/dist-lib/log-Al8wyEFV.js +6 -0
  235. package/dist-lib/logo-DBa4JDzV.js +6 -0
  236. package/dist-lib/lua-Bp3IRv7I.js +8 -0
  237. package/dist-lib/luau-UQyhudEE.js +6 -0
  238. package/dist-lib/make-CsMclxtr.js +6 -0
  239. package/dist-lib/manifest.webmanifest +19 -0
  240. package/dist-lib/map-hbfFlSln.js +224 -0
  241. package/dist-lib/markdown-CrScaQ96.js +6 -0
  242. package/dist-lib/marko-CJBA24Ri.js +14 -0
  243. package/dist-lib/material-theme-D6KBX41T.js +4 -0
  244. package/dist-lib/material-theme-darker-CkRroheE.js +4 -0
  245. package/dist-lib/material-theme-lighter-BUBw43Yz.js +4 -0
  246. package/dist-lib/material-theme-ocean-ClGX14Ja.js +4 -0
  247. package/dist-lib/material-theme-palenight-C1RVm8K1.js +4 -0
  248. package/dist-lib/matlab-BOAaUVP0.js +6 -0
  249. package/dist-lib/mdc-C9YSUwVC.js +12 -0
  250. package/dist-lib/mdx-BOhZZUJ8.js +6 -0
  251. package/dist-lib/mermaid-C3rz4dYh.js +6 -0
  252. package/dist-lib/mermaid-GHXKKRXX-BepkNUDb.js +4 -0
  253. package/dist-lib/min-dark-C7ak0t6c.js +4 -0
  254. package/dist-lib/min-light-CKFxVcPp.js +4 -0
  255. package/dist-lib/mindmap-definition-LN4V7U3C-CfhfeEht.js +831 -0
  256. package/dist-lib/mipsasm-CTx18fBl.js +6 -0
  257. package/dist-lib/mojo-EIZIZRTQ.js +6 -0
  258. package/dist-lib/monokai-C1KBYcO0.js +4 -0
  259. package/dist-lib/moonbit-B1TV0fG3.js +6 -0
  260. package/dist-lib/move-Db4ltDq1.js +6 -0
  261. package/dist-lib/narrat-DmhDCBs-.js +6 -0
  262. package/dist-lib/nextflow-47kAzSl1.js +8 -0
  263. package/dist-lib/nextflow-groovy-Drz_2V0j.js +6 -0
  264. package/dist-lib/nginx-D7O4WoB1.js +8 -0
  265. package/dist-lib/night-owl-Bm2rzalh.js +4 -0
  266. package/dist-lib/night-owl-light-CBI5u5kw.js +4 -0
  267. package/dist-lib/nim-QAjRdh9w.js +20 -0
  268. package/dist-lib/nix-fTRXMGic.js +9 -0
  269. package/dist-lib/nord-CC5OiUXg.js +4 -0
  270. package/dist-lib/nushell-BGCPRlV5.js +6 -0
  271. package/dist-lib/objective-c-Itk8tzmv.js +6 -0
  272. package/dist-lib/objective-cpp-DGt5UKRO.js +6 -0
  273. package/dist-lib/ocaml-eSVK32Eg.js +6 -0
  274. package/dist-lib/odin-BItnF517.js +6 -0
  275. package/dist-lib/one-dark-pro-DTA3VF0_.js +4 -0
  276. package/dist-lib/one-light-LkMrt1Cf.js +4 -0
  277. package/dist-lib/openscad-Sp5uZ6f2.js +6 -0
  278. package/dist-lib/ordinal-DfAQgscy.js +61 -0
  279. package/dist-lib/pascal-xy8pJNns.js +6 -0
  280. package/dist-lib/pegDiagram-2B236MQR-CYDAJHPF.js +95 -0
  281. package/dist-lib/perl-DkVrgJBg.js +16 -0
  282. package/dist-lib/php-BIzsF_5x.js +18 -0
  283. package/dist-lib/pieDiagram-ENE6RG2P-udKxQm4p.js +209 -0
  284. package/dist-lib/pierre-dark-D52vmD1t.js +4 -0
  285. package/dist-lib/pierre-dark-protanopia-deuteranopia-Coza2ydH.js +4 -0
  286. package/dist-lib/pierre-dark-soft-D0o08Lfm.js +4 -0
  287. package/dist-lib/pierre-dark-tritanopia-BP-A_WyN.js +4 -0
  288. package/dist-lib/pierre-dark-vibrant-BjUzbiGn.js +4 -0
  289. package/dist-lib/pierre-light-CzM3AfLn.js +4 -0
  290. package/dist-lib/pierre-light-protanopia-deuteranopia-DFclCKch.js +4 -0
  291. package/dist-lib/pierre-light-soft-m3tr_5b6.js +4 -0
  292. package/dist-lib/pierre-light-tritanopia-Dh0MAsTp.js +4 -0
  293. package/dist-lib/pierre-light-vibrant-BZSORskK.js +4 -0
  294. package/dist-lib/pkl-C-zSNmaA.js +6 -0
  295. package/dist-lib/plastic-CSTz3KZp.js +4 -0
  296. package/dist-lib/plsql-pVbGZfOv.js +6 -0
  297. package/dist-lib/po-BNfHvqmm.js +6 -0
  298. package/dist-lib/poimandres-C-VADXHD.js +4 -0
  299. package/dist-lib/polar-CAZahv3u.js +6 -0
  300. package/dist-lib/postcss-05aHdL-n.js +6 -0
  301. package/dist-lib/powerquery-DI9HkTvs.js +6 -0
  302. package/dist-lib/powershell-Clc4ydu-.js +6 -0
  303. package/dist-lib/prisma-FZjmVtSl.js +6 -0
  304. package/dist-lib/prolog-C5-yg4TO.js +6 -0
  305. package/dist-lib/proto-C7QgialS.js +6 -0
  306. package/dist-lib/pug-XOw9Q1Ho.js +12 -0
  307. package/dist-lib/puppet-CUJHmnxV.js +6 -0
  308. package/dist-lib/purescript-rUfGld-4.js +6 -0
  309. package/dist-lib/python-BFNSHbwJ.js +6 -0
  310. package/dist-lib/qml-rTNXsquU.js +8 -0
  311. package/dist-lib/qmldir-BInDYbpo.js +6 -0
  312. package/dist-lib/qss-AeJTysr_.js +6 -0
  313. package/dist-lib/quadrantDiagram-ABIIQ3AL-BmDmLczk.js +1025 -0
  314. package/dist-lib/r-CSmzDPi7.js +6 -0
  315. package/dist-lib/racket-B83wSAja.js +6 -0
  316. package/dist-lib/railroadDiagram-RFXS5EU6-q0Svkmuy.js +77 -0
  317. package/dist-lib/raku-nEQ4ZJJ7.js +6 -0
  318. package/dist-lib/razor-Ci8D0dQK.js +10 -0
  319. package/dist-lib/red-7y8PH7HH.js +4 -0
  320. package/dist-lib/reg-m_s_Kiip.js +6 -0
  321. package/dist-lib/regexp-BazyLpPg.js +6 -0
  322. package/dist-lib/rel-BcRfyd6Q.js +6 -0
  323. package/dist-lib/requirementDiagram-TGXJPOKE-tNxRI1gc.js +884 -0
  324. package/dist-lib/resume-session-sheet-YCOfKuXl.js +316 -0
  325. package/dist-lib/riscv-Ce8MAQLP.js +6 -0
  326. package/dist-lib/ron-DCEEQypA.js +6 -0
  327. package/dist-lib/rose-pine-BKc3yVeu.js +4 -0
  328. package/dist-lib/rose-pine-dawn-BulJcPZT.js +4 -0
  329. package/dist-lib/rose-pine-moon-j6jiXKV8.js +4 -0
  330. package/dist-lib/rosmsg-Cz0w1km8.js +6 -0
  331. package/dist-lib/rst-DM32Wy3O.js +22 -0
  332. package/dist-lib/ruby-BeqCs27h.js +30 -0
  333. package/dist-lib/rust-CLzF9zIN.js +6 -0
  334. package/dist-lib/sankeyDiagram-HTMAVEWB-B9Bl7f2P.js +847 -0
  335. package/dist-lib/sas-fpEvgATw.js +8 -0
  336. package/dist-lib/sass-DxHp5rTx.js +6 -0
  337. package/dist-lib/scala-D4grkFkl.js +6 -0
  338. package/dist-lib/scheme-BCRWuEm4.js +6 -0
  339. package/dist-lib/scss-B1FaCqwR.js +8 -0
  340. package/dist-lib/sdbl-B7T8abf4.js +6 -0
  341. package/dist-lib/sequenceDiagram-DBY2YBRQ-Dvl2_CXL.js +2898 -0
  342. package/dist-lib/session-token-usage-DIMXh6Pi.js +236 -0
  343. package/dist-lib/shaderlab-Cr62-Wb4.js +8 -0
  344. package/dist-lib/shadow-text-size-CBCTdbYU.js +39 -0
  345. package/dist-lib/shellscript-InADTalH.js +6 -0
  346. package/dist-lib/shellsession-DiDJNQdy.js +8 -0
  347. package/dist-lib/shipped-page-D51HiXpe.js +574 -0
  348. package/dist-lib/sizeCapture-X5ZJPWSS-B1EeO3N9.js +47 -0
  349. package/dist-lib/slack-dark-i7wN4OET.js +4 -0
  350. package/dist-lib/slack-ochin-ndHf0LoP.js +4 -0
  351. package/dist-lib/smalltalk-BlI1_OkM.js +6 -0
  352. package/dist-lib/snazzy-light-BlSJXAu4.js +4 -0
  353. package/dist-lib/solarized-dark-UTmkh7lw.js +4 -0
  354. package/dist-lib/solarized-light-BheCkDPT.js +4 -0
  355. package/dist-lib/solidity-DUWnFhS6.js +6 -0
  356. package/dist-lib/soy-C1-6njHa.js +8 -0
  357. package/dist-lib/sparql-B0KWFEri.js +8 -0
  358. package/dist-lib/splunk-CRXR8A9s.js +6 -0
  359. package/dist-lib/sql-Cn_v3PB0.js +6 -0
  360. package/dist-lib/ssh-config-DP-hNVbF.js +6 -0
  361. package/dist-lib/stata-B8c5fTjX.js +8 -0
  362. package/dist-lib/stateDiagram-2N3HPSRC-CnWB7HvU.js +263 -0
  363. package/dist-lib/stateDiagram-v2-6OUMAXLB-DnZ0UI2p.js +16 -0
  364. package/dist-lib/streamdown-response-DPrve_Vt.js +20929 -0
  365. package/dist-lib/styles.css +1 -0
  366. package/dist-lib/stylus-CyKEU1Ej.js +6 -0
  367. package/dist-lib/surrealql-CQi7GQN7.js +8 -0
  368. package/dist-lib/svelte-rYri41WT.js +14 -0
  369. package/dist-lib/sw.js +215 -0
  370. package/dist-lib/swift-DJpUqPLg.js +6 -0
  371. package/dist-lib/swimlanes-5IMT3BWC-CvqDJcS9.js +5353 -0
  372. package/dist-lib/swimlanesDiagram-G3AALYLV-CKyOeqF_.js +13 -0
  373. package/dist-lib/synthwave-84-NU3C_KFZ.js +4 -0
  374. package/dist-lib/system-verilog-BCm7smPJ.js +6 -0
  375. package/dist-lib/systemd-C-4qm6XH.js +6 -0
  376. package/dist-lib/talonscript-CFF3LF_O.js +6 -0
  377. package/dist-lib/tasl-Cg_WBUAe.js +6 -0
  378. package/dist-lib/tcl-DN7buRTF.js +6 -0
  379. package/dist-lib/templ-Crs9Ui8q.js +12 -0
  380. package/dist-lib/terraform-DGvcn9zM.js +6 -0
  381. package/dist-lib/tex-AHxmLTL0.js +8 -0
  382. package/dist-lib/timeline-definition-FHXFAJF6-b15X0Oru.js +1066 -0
  383. package/dist-lib/tokyo-night-DP4TmcQl.js +4 -0
  384. package/dist-lib/toml-DY62mUL_.js +6 -0
  385. package/dist-lib/ts-tags-ioVe2PKw.js +41 -0
  386. package/dist-lib/tsv-BtvSkaG0.js +6 -0
  387. package/dist-lib/tsx-B8rCNbgL.js +6 -0
  388. package/dist-lib/turtle-_H59FV7D.js +6 -0
  389. package/dist-lib/twig-DwV2Fi4L.js +18 -0
  390. package/dist-lib/types-BSXdE6DF.js +4 -0
  391. package/dist-lib/typescript-RycA9KXf.js +6 -0
  392. package/dist-lib/typespec-DWqp-kUU.js +6 -0
  393. package/dist-lib/typst-D_1QKWns.js +6 -0
  394. package/dist-lib/v-BPCNiyYe.js +6 -0
  395. package/dist-lib/vala-uxaPR7d1.js +6 -0
  396. package/dist-lib/vb-D8_c5-KN.js +6 -0
  397. package/dist-lib/vennDiagram-L72KCM5P-C4lh5m77.js +1585 -0
  398. package/dist-lib/verilog-B-bybjPF.js +6 -0
  399. package/dist-lib/vesper-BckBta1U.js +4 -0
  400. package/dist-lib/vhdl-CUlNa8ac.js +6 -0
  401. package/dist-lib/viml-DsfA-sWm.js +6 -0
  402. package/dist-lib/vitesse-black-BoGvW84i.js +4 -0
  403. package/dist-lib/vitesse-dark-Cym-eLtO.js +4 -0
  404. package/dist-lib/vitesse-light-CcmG315c.js +4 -0
  405. package/dist-lib/vue-DXEmyXn9.js +31 -0
  406. package/dist-lib/vue-html-j9xNEdu3.js +8 -0
  407. package/dist-lib/vue-vine-D41-N99t.js +18 -0
  408. package/dist-lib/vyper-CPQuu50u.js +6 -0
  409. package/dist-lib/wardleyDiagram-EHGQE667-Cev6fT_D.js +684 -0
  410. package/dist-lib/wasm-BBXxrAl7.js +6 -0
  411. package/dist-lib/wasm-DQxwEHae.js +7 -0
  412. package/dist-lib/wenyan-pbVjoM9_.js +6 -0
  413. package/dist-lib/wgsl-DY4iK1q1.js +6 -0
  414. package/dist-lib/wikitext-Z-MoUasO.js +6 -0
  415. package/dist-lib/wit-CQMQOlTg.js +6 -0
  416. package/dist-lib/wolfram-Dz4KXISs.js +6 -0
  417. package/dist-lib/xml-C2J0sS9M.js +8 -0
  418. package/dist-lib/xsl-BmSZphgC.js +8 -0
  419. package/dist-lib/xychartDiagram-FW5EYKEG-m3s7caPv.js +1385 -0
  420. package/dist-lib/yaml-DaO7k5B1.js +6 -0
  421. package/dist-lib/zenscript-CxBjpf9c.js +6 -0
  422. package/dist-lib/zig-Vm0PO9wB.js +6 -0
  423. package/package.json +55 -0
@@ -0,0 +1,746 @@
1
+ import { w as T, s as U, h as X, c as Y, v as G, S as J, o as k, l as Q, f as M, m as y } from "./streamdown-response-DPrve_Vt.js";
2
+ import v from "./katex-jHfnQmlp.js";
3
+ function Z(t, e) {
4
+ return B(t, {}) || { type: "root", children: [] };
5
+ }
6
+ function B(t, e) {
7
+ const r = tt(t, e);
8
+ return r && e.afterTransform && e.afterTransform(t, r), r;
9
+ }
10
+ function tt(t, e) {
11
+ switch (t.nodeType) {
12
+ case 1:
13
+ return it(
14
+ /** @type {Element} */
15
+ t,
16
+ e
17
+ );
18
+ // Ignore: Attr (2).
19
+ case 3:
20
+ return nt(
21
+ /** @type {Text} */
22
+ t
23
+ );
24
+ // Ignore: CDATA (4).
25
+ // Removed: Entity reference (5)
26
+ // Removed: Entity (6)
27
+ // Ignore: Processing instruction (7).
28
+ case 8:
29
+ return rt(
30
+ /** @type {Comment} */
31
+ t
32
+ );
33
+ case 9:
34
+ return z(
35
+ /** @type {Document} */
36
+ t,
37
+ e
38
+ );
39
+ case 10:
40
+ return et();
41
+ case 11:
42
+ return z(
43
+ /** @type {DocumentFragment} */
44
+ t,
45
+ e
46
+ );
47
+ default:
48
+ return;
49
+ }
50
+ }
51
+ function z(t, e) {
52
+ return { type: "root", children: L(t, e) };
53
+ }
54
+ function et() {
55
+ return { type: "doctype" };
56
+ }
57
+ function nt(t) {
58
+ return { type: "text", value: t.nodeValue || "" };
59
+ }
60
+ function rt(t) {
61
+ return { type: "comment", value: t.nodeValue || "" };
62
+ }
63
+ function it(t, e) {
64
+ const r = t.namespaceURI, i = r === T.svg ? U : X, n = r === T.html ? t.tagName.toLowerCase() : t.tagName, u = (
65
+ // @ts-expect-error: DOM types are wrong, content can exist.
66
+ r === T.html && n === "template" ? t.content : t
67
+ ), o = t.getAttributeNames(), s = {};
68
+ let a = -1;
69
+ for (; ++a < o.length; )
70
+ s[o[a]] = t.getAttribute(o[a]) || "";
71
+ return i(n, s, L(u, e));
72
+ }
73
+ function L(t, e) {
74
+ const r = t.childNodes, i = [];
75
+ let n = -1;
76
+ for (; ++n < r.length; ) {
77
+ const u = B(r[n], e);
78
+ u !== void 0 && i.push(u);
79
+ }
80
+ return i;
81
+ }
82
+ new DOMParser();
83
+ function at(t, e) {
84
+ const r = ot(t);
85
+ return (
86
+ /** @type {Root} */
87
+ Z(r)
88
+ );
89
+ }
90
+ function ot(t) {
91
+ const e = document.createElement("template");
92
+ return e.innerHTML = t, e.content;
93
+ }
94
+ const A = (
95
+ // Note: overloads like this are needed to support optional generics.
96
+ /**
97
+ * @type {(
98
+ * (<Kind extends UnistParent, Check extends Test>(parent: Kind, index: Child<Kind> | number, test: Check) => Matches<Child<Kind>, Check> | undefined) &
99
+ * (<Kind extends UnistParent>(parent: Kind, index: Child<Kind> | number, test?: null | undefined) => Child<Kind> | undefined)
100
+ * )}
101
+ */
102
+ /**
103
+ * @param {UnistParent} parent
104
+ * @param {UnistNode | number} index
105
+ * @param {Test} [test]
106
+ * @returns {UnistNode | undefined}
107
+ */
108
+ (function(t, e, r) {
109
+ const i = Y(r);
110
+ if (!t || !t.type || !t.children)
111
+ throw new Error("Expected parent node");
112
+ if (typeof e == "number") {
113
+ if (e < 0 || e === Number.POSITIVE_INFINITY)
114
+ throw new Error("Expected positive finite number as index");
115
+ } else if (e = t.children.indexOf(e), e < 0)
116
+ throw new Error("Expected child node or index");
117
+ for (; ++e < t.children.length; )
118
+ if (i(t.children[e], e, t))
119
+ return t.children[e];
120
+ })
121
+ ), F = (
122
+ // Note: overloads in JSDoc can’t yet use different `@template`s.
123
+ /**
124
+ * @type {(
125
+ * (<Condition extends TestFunction>(test: Condition) => (element: unknown, index?: number | null | undefined, parent?: Parents | null | undefined, context?: unknown) => element is Element & Predicate<Condition, Element>) &
126
+ * (<Condition extends string>(test: Condition) => (element: unknown, index?: number | null | undefined, parent?: Parents | null | undefined, context?: unknown) => element is Element & {tagName: Condition}) &
127
+ * ((test?: null | undefined) => (element?: unknown, index?: number | null | undefined, parent?: Parents | null | undefined, context?: unknown) => element is Element) &
128
+ * ((test?: Test) => Check)
129
+ * )}
130
+ */
131
+ /**
132
+ * @param {Test | null | undefined} [test]
133
+ * @returns {Check}
134
+ */
135
+ (function(t) {
136
+ if (t == null)
137
+ return st;
138
+ if (typeof t == "string")
139
+ return lt(t);
140
+ if (typeof t == "object")
141
+ return ut(t);
142
+ if (typeof t == "function")
143
+ return E(t);
144
+ throw new Error("Expected function, string, or array as `test`");
145
+ })
146
+ );
147
+ function ut(t) {
148
+ const e = [];
149
+ let r = -1;
150
+ for (; ++r < t.length; )
151
+ e[r] = F(t[r]);
152
+ return E(i);
153
+ function i(...n) {
154
+ let u = -1;
155
+ for (; ++u < e.length; )
156
+ if (e[u].apply(this, n)) return !0;
157
+ return !1;
158
+ }
159
+ }
160
+ function lt(t) {
161
+ return E(e);
162
+ function e(r) {
163
+ return r.tagName === t;
164
+ }
165
+ }
166
+ function E(t) {
167
+ return e;
168
+ function e(r, i, n) {
169
+ return !!(ct(r) && t.call(
170
+ this,
171
+ r,
172
+ typeof i == "number" ? i : void 0,
173
+ n || void 0
174
+ ));
175
+ }
176
+ }
177
+ function st(t) {
178
+ return !!(t && typeof t == "object" && "type" in t && t.type === "element" && "tagName" in t && typeof t.tagName == "string");
179
+ }
180
+ function ct(t) {
181
+ return t !== null && typeof t == "object" && "type" in t && "tagName" in t;
182
+ }
183
+ const I = /\n/g, P = /[\t ]+/g, N = F("br"), q = F(wt), ht = F("p"), D = F("tr"), mt = F([
184
+ // List from: <https://html.spec.whatwg.org/multipage/rendering.html#hidden-elements>
185
+ "datalist",
186
+ "head",
187
+ "noembed",
188
+ "noframes",
189
+ "noscript",
190
+ // Act as if we support scripting.
191
+ "rp",
192
+ "script",
193
+ "style",
194
+ "template",
195
+ "title",
196
+ // Hidden attribute.
197
+ xt,
198
+ // From: <https://html.spec.whatwg.org/multipage/rendering.html#flow-content-3>
199
+ yt
200
+ ]), _ = F([
201
+ "address",
202
+ // Flow content
203
+ "article",
204
+ // Sections and headings
205
+ "aside",
206
+ // Sections and headings
207
+ "blockquote",
208
+ // Flow content
209
+ "body",
210
+ // Page
211
+ "caption",
212
+ // `table-caption`
213
+ "center",
214
+ // Flow content (legacy)
215
+ "dd",
216
+ // Lists
217
+ "dialog",
218
+ // Flow content
219
+ "dir",
220
+ // Lists (legacy)
221
+ "dl",
222
+ // Lists
223
+ "dt",
224
+ // Lists
225
+ "div",
226
+ // Flow content
227
+ "figure",
228
+ // Flow content
229
+ "figcaption",
230
+ // Flow content
231
+ "footer",
232
+ // Flow content
233
+ "form,",
234
+ // Flow content
235
+ "h1",
236
+ // Sections and headings
237
+ "h2",
238
+ // Sections and headings
239
+ "h3",
240
+ // Sections and headings
241
+ "h4",
242
+ // Sections and headings
243
+ "h5",
244
+ // Sections and headings
245
+ "h6",
246
+ // Sections and headings
247
+ "header",
248
+ // Flow content
249
+ "hgroup",
250
+ // Sections and headings
251
+ "hr",
252
+ // Flow content
253
+ "html",
254
+ // Page
255
+ "legend",
256
+ // Flow content
257
+ "li",
258
+ // Lists (as `display: list-item`)
259
+ "listing",
260
+ // Flow content (legacy)
261
+ "main",
262
+ // Flow content
263
+ "menu",
264
+ // Lists
265
+ "nav",
266
+ // Sections and headings
267
+ "ol",
268
+ // Lists
269
+ "p",
270
+ // Flow content
271
+ "plaintext",
272
+ // Flow content (legacy)
273
+ "pre",
274
+ // Flow content
275
+ "section",
276
+ // Sections and headings
277
+ "ul",
278
+ // Lists
279
+ "xmp"
280
+ // Flow content (legacy)
281
+ ]);
282
+ function pt(t, e) {
283
+ const r = e || {}, i = "children" in t ? t.children : [], n = _(t), u = K(t, {
284
+ whitespace: r.whitespace || "normal"
285
+ }), o = [];
286
+ (t.type === "text" || t.type === "comment") && o.push(
287
+ ...V(t, {
288
+ breakBefore: !0,
289
+ breakAfter: !0
290
+ })
291
+ );
292
+ let s = -1;
293
+ for (; ++s < i.length; )
294
+ o.push(
295
+ ...j(
296
+ i[s],
297
+ // @ts-expect-error: `tree` is a parent if we’re here.
298
+ t,
299
+ {
300
+ whitespace: u,
301
+ breakBefore: s ? void 0 : n,
302
+ breakAfter: s < i.length - 1 ? N(i[s + 1]) : n
303
+ }
304
+ )
305
+ );
306
+ const a = [];
307
+ let c;
308
+ for (s = -1; ++s < o.length; ) {
309
+ const m = o[s];
310
+ typeof m == "number" ? c !== void 0 && m > c && (c = m) : m && (c !== void 0 && c > -1 && a.push(`
311
+ `.repeat(c) || " "), c = -1, a.push(m));
312
+ }
313
+ return a.join("");
314
+ }
315
+ function j(t, e, r) {
316
+ return t.type === "element" ? ft(t, e, r) : t.type === "text" ? r.whitespace === "normal" ? V(t, r) : dt(t) : [];
317
+ }
318
+ function ft(t, e, r) {
319
+ const i = K(t, r), n = t.children || [];
320
+ let u = -1, o = [];
321
+ if (mt(t))
322
+ return o;
323
+ let s, a;
324
+ for (N(t) || D(t) && // @ts-expect-error: something up with types of parents.
325
+ A(e, t, D) ? a = `
326
+ ` : ht(t) ? (s = 2, a = 2) : _(t) && (s = 1, a = 1); ++u < n.length; )
327
+ o = o.concat(
328
+ j(n[u], t, {
329
+ whitespace: i,
330
+ breakBefore: u ? void 0 : s,
331
+ breakAfter: u < n.length - 1 ? N(n[u + 1]) : a
332
+ })
333
+ );
334
+ return q(t) && // @ts-expect-error: something up with types of parents.
335
+ A(e, t, q) && o.push(" "), s && o.unshift(s), a && o.push(a), o;
336
+ }
337
+ function V(t, e) {
338
+ const r = String(t.value), i = [], n = [];
339
+ let u = 0;
340
+ for (; u <= r.length; ) {
341
+ I.lastIndex = u;
342
+ const a = I.exec(r), c = a && "index" in a ? a.index : r.length;
343
+ i.push(
344
+ // Any sequence of collapsible spaces and tabs immediately preceding or
345
+ // following a segment break is removed.
346
+ gt(
347
+ // […] ignoring bidi formatting characters (characters with the
348
+ // Bidi_Control property [UAX9]: ALM, LTR, RTL, LRE-RLO, LRI-PDI) as if
349
+ // they were not there.
350
+ r.slice(u, c).replace(/[\u061C\u200E\u200F\u202A-\u202E\u2066-\u2069]/g, ""),
351
+ u === 0 ? e.breakBefore : !0,
352
+ c === r.length ? e.breakAfter : !0
353
+ )
354
+ ), u = c + 1;
355
+ }
356
+ let o = -1, s;
357
+ for (; ++o < i.length; )
358
+ i[o].charCodeAt(i[o].length - 1) === 8203 || o < i.length - 1 && i[o + 1].charCodeAt(0) === 8203 ? (n.push(i[o]), s = void 0) : i[o] ? (typeof s == "number" && n.push(s), n.push(i[o]), s = 0) : (o === 0 || o === i.length - 1) && n.push(0);
359
+ return n;
360
+ }
361
+ function dt(t) {
362
+ return [String(t.value)];
363
+ }
364
+ function gt(t, e, r) {
365
+ const i = [];
366
+ let n = 0, u;
367
+ for (; n < t.length; ) {
368
+ P.lastIndex = n;
369
+ const o = P.exec(t);
370
+ u = o ? o.index : t.length, !n && !u && o && !e && i.push(""), n !== u && i.push(t.slice(n, u)), n = o ? u + o[0].length : u;
371
+ }
372
+ return n !== u && !r && i.push(""), i.join(" ");
373
+ }
374
+ function K(t, e) {
375
+ if (t.type === "element") {
376
+ const r = t.properties || {};
377
+ switch (t.tagName) {
378
+ case "listing":
379
+ case "plaintext":
380
+ case "xmp":
381
+ return "pre";
382
+ case "nobr":
383
+ return "nowrap";
384
+ case "pre":
385
+ return r.wrap ? "pre-wrap" : "pre";
386
+ case "td":
387
+ case "th":
388
+ return r.noWrap ? "nowrap" : e.whitespace;
389
+ case "textarea":
390
+ return "pre-wrap";
391
+ }
392
+ }
393
+ return e.whitespace;
394
+ }
395
+ function xt(t) {
396
+ return !!(t.properties || {}).hidden;
397
+ }
398
+ function wt(t) {
399
+ return t.tagName === "td" || t.tagName === "th";
400
+ }
401
+ function yt(t) {
402
+ return t.tagName === "dialog" && !(t.properties || {}).open;
403
+ }
404
+ const Ft = {}, kt = [];
405
+ function bt(t) {
406
+ const e = t || Ft;
407
+ return function(r, i) {
408
+ G(r, "element", function(n, u) {
409
+ const o = Array.isArray(n.properties.className) ? n.properties.className : kt, s = o.includes("language-math"), a = o.includes("math-display"), c = o.includes("math-inline");
410
+ let m = a;
411
+ if (!s && !a && !c)
412
+ return;
413
+ let p = u[u.length - 1], g = n;
414
+ if (n.tagName === "code" && s && p && p.type === "element" && p.tagName === "pre" && (g = p, p = u[u.length - 2], m = !0), !p) return;
415
+ const d = pt(g, { whitespace: "pre" });
416
+ let f;
417
+ try {
418
+ f = v.renderToString(d, {
419
+ ...e,
420
+ displayMode: m,
421
+ throwOnError: !0
422
+ });
423
+ } catch (w) {
424
+ const b = (
425
+ /** @type {Error} */
426
+ w
427
+ ), l = b.name.toLowerCase();
428
+ i.message("Could not render math with KaTeX", {
429
+ ancestors: [...u, n],
430
+ cause: b,
431
+ place: n.position,
432
+ ruleId: l,
433
+ source: "rehype-katex"
434
+ });
435
+ try {
436
+ f = v.renderToString(d, {
437
+ ...e,
438
+ displayMode: m,
439
+ strict: "ignore",
440
+ throwOnError: !1
441
+ });
442
+ } catch {
443
+ f = [
444
+ {
445
+ type: "element",
446
+ tagName: "span",
447
+ properties: {
448
+ className: ["katex-error"],
449
+ style: "color:" + (e.errorColor || "#cc0000"),
450
+ title: String(w)
451
+ },
452
+ children: [{ type: "text", value: d }]
453
+ }
454
+ ];
455
+ }
456
+ }
457
+ typeof f == "string" && (f = /** @type {Array<ElementContent>} */
458
+ at(f).children);
459
+ const h = p.children.indexOf(g);
460
+ return p.children.splice(h, 1, ...f), J;
461
+ });
462
+ };
463
+ }
464
+ function Mt() {
465
+ return {
466
+ enter: {
467
+ mathFlow: t,
468
+ mathFlowFenceMeta: e,
469
+ mathText: u
470
+ },
471
+ exit: {
472
+ mathFlow: n,
473
+ mathFlowFence: i,
474
+ mathFlowFenceMeta: r,
475
+ mathFlowValue: s,
476
+ mathText: o,
477
+ mathTextData: s
478
+ }
479
+ };
480
+ function t(a) {
481
+ const c = {
482
+ type: "element",
483
+ tagName: "code",
484
+ properties: { className: ["language-math", "math-display"] },
485
+ children: []
486
+ };
487
+ this.enter(
488
+ {
489
+ type: "math",
490
+ meta: null,
491
+ value: "",
492
+ data: { hName: "pre", hChildren: [c] }
493
+ },
494
+ a
495
+ );
496
+ }
497
+ function e() {
498
+ this.buffer();
499
+ }
500
+ function r() {
501
+ const a = this.resume(), c = this.stack[this.stack.length - 1];
502
+ k(c.type === "math"), c.meta = a;
503
+ }
504
+ function i() {
505
+ this.data.mathFlowInside || (this.buffer(), this.data.mathFlowInside = !0);
506
+ }
507
+ function n(a) {
508
+ const c = this.resume().replace(/^(\r?\n|\r)|(\r?\n|\r)$/g, ""), m = this.stack[this.stack.length - 1];
509
+ k(m.type === "math"), this.exit(a), m.value = c;
510
+ const p = (
511
+ /** @type {HastElement} */
512
+ m.data.hChildren[0]
513
+ );
514
+ k(p.type === "element"), k(p.tagName === "code"), p.children.push({ type: "text", value: c }), this.data.mathFlowInside = void 0;
515
+ }
516
+ function u(a) {
517
+ this.enter(
518
+ {
519
+ type: "inlineMath",
520
+ value: "",
521
+ data: {
522
+ hName: "code",
523
+ hProperties: { className: ["language-math", "math-inline"] },
524
+ hChildren: []
525
+ }
526
+ },
527
+ a
528
+ ), this.buffer();
529
+ }
530
+ function o(a) {
531
+ const c = this.resume(), m = this.stack[this.stack.length - 1];
532
+ k(m.type === "inlineMath"), this.exit(a), m.value = c, /** @type {Array<HastElementContent>} */
533
+ // @ts-expect-error: we defined it in `enterMathFlow`.
534
+ m.data.hChildren.push({ type: "text", value: c });
535
+ }
536
+ function s(a) {
537
+ this.config.enter.data.call(this, a), this.config.exit.data.call(this, a);
538
+ }
539
+ }
540
+ function Tt(t) {
541
+ let e = (t || {}).singleDollarTextMath;
542
+ return e == null && (e = !0), i.peek = n, {
543
+ unsafe: [
544
+ { character: "\r", inConstruct: "mathFlowMeta" },
545
+ { character: `
546
+ `, inConstruct: "mathFlowMeta" },
547
+ {
548
+ character: "$",
549
+ after: e ? void 0 : "\\$",
550
+ inConstruct: "phrasing"
551
+ },
552
+ { character: "$", inConstruct: "mathFlowMeta" },
553
+ { atBreak: !0, character: "$", after: "\\$" }
554
+ ],
555
+ handlers: { math: r, inlineMath: i }
556
+ };
557
+ function r(u, o, s, a) {
558
+ const c = u.value || "", m = s.createTracker(a), p = "$".repeat(Math.max(Q(c, "$") + 1, 2)), g = s.enter("mathFlow");
559
+ let d = m.move(p);
560
+ if (u.meta) {
561
+ const f = s.enter("mathFlowMeta");
562
+ d += m.move(
563
+ s.safe(u.meta, {
564
+ after: `
565
+ `,
566
+ before: d,
567
+ encode: ["$"],
568
+ ...m.current()
569
+ })
570
+ ), f();
571
+ }
572
+ return d += m.move(`
573
+ `), c && (d += m.move(c + `
574
+ `)), d += m.move(p), g(), d;
575
+ }
576
+ function i(u, o, s) {
577
+ let a = u.value || "", c = 1;
578
+ for (e || c++; new RegExp("(^|[^$])" + "\\$".repeat(c) + "([^$]|$)").test(a); )
579
+ c++;
580
+ const m = "$".repeat(c);
581
+ // Contains non-space.
582
+ /[^ \r\n]/.test(a) && // Starts with space and ends with space.
583
+ (/^[ \r\n]/.test(a) && /[ \r\n]$/.test(a) || // Starts or ends with dollar.
584
+ /^\$|\$$/.test(a)) && (a = " " + a + " ");
585
+ let p = -1;
586
+ for (; ++p < s.unsafe.length; ) {
587
+ const g = s.unsafe[p];
588
+ if (!g.atBreak) continue;
589
+ const d = s.compilePattern(g);
590
+ let f;
591
+ for (; f = d.exec(a); ) {
592
+ let h = f.index;
593
+ a.codePointAt(h) === 10 && a.codePointAt(h - 1) === 13 && h--, a = a.slice(0, h) + " " + a.slice(f.index + 1);
594
+ }
595
+ }
596
+ return m + a + m;
597
+ }
598
+ function n() {
599
+ return "$";
600
+ }
601
+ }
602
+ const Nt = {
603
+ tokenize: Et,
604
+ concrete: !0,
605
+ name: "mathFlow"
606
+ }, O = {
607
+ tokenize: Ct,
608
+ partial: !0
609
+ };
610
+ function Et(t, e, r) {
611
+ const i = this, n = i.events[i.events.length - 1], u = n && n[1].type === "linePrefix" ? n[2].sliceSerialize(n[1], !0).length : 0;
612
+ let o = 0;
613
+ return s;
614
+ function s(l) {
615
+ return t.enter("mathFlow"), t.enter("mathFlowFence"), t.enter("mathFlowFenceSequence"), a(l);
616
+ }
617
+ function a(l) {
618
+ return l === 36 ? (t.consume(l), o++, a) : o < 2 ? r(l) : (t.exit("mathFlowFenceSequence"), M(t, c, "whitespace")(l));
619
+ }
620
+ function c(l) {
621
+ return l === null || y(l) ? p(l) : (t.enter("mathFlowFenceMeta"), t.enter("chunkString", {
622
+ contentType: "string"
623
+ }), m(l));
624
+ }
625
+ function m(l) {
626
+ return l === null || y(l) ? (t.exit("chunkString"), t.exit("mathFlowFenceMeta"), p(l)) : l === 36 ? r(l) : (t.consume(l), m);
627
+ }
628
+ function p(l) {
629
+ return t.exit("mathFlowFence"), i.interrupt ? e(l) : t.attempt(O, g, w)(l);
630
+ }
631
+ function g(l) {
632
+ return t.attempt({
633
+ tokenize: b,
634
+ partial: !0
635
+ }, w, d)(l);
636
+ }
637
+ function d(l) {
638
+ return (u ? M(t, f, "linePrefix", u + 1) : f)(l);
639
+ }
640
+ function f(l) {
641
+ return l === null ? w(l) : y(l) ? t.attempt(O, g, w)(l) : (t.enter("mathFlowValue"), h(l));
642
+ }
643
+ function h(l) {
644
+ return l === null || y(l) ? (t.exit("mathFlowValue"), f(l)) : (t.consume(l), h);
645
+ }
646
+ function w(l) {
647
+ return t.exit("mathFlow"), e(l);
648
+ }
649
+ function b(l, R, C) {
650
+ let S = 0;
651
+ return M(l, H, "linePrefix", i.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4);
652
+ function H(x) {
653
+ return l.enter("mathFlowFence"), l.enter("mathFlowFenceSequence"), $(x);
654
+ }
655
+ function $(x) {
656
+ return x === 36 ? (S++, l.consume(x), $) : S < o ? C(x) : (l.exit("mathFlowFenceSequence"), M(l, W, "whitespace")(x));
657
+ }
658
+ function W(x) {
659
+ return x === null || y(x) ? (l.exit("mathFlowFence"), R(x)) : C(x);
660
+ }
661
+ }
662
+ }
663
+ function Ct(t, e, r) {
664
+ const i = this;
665
+ return n;
666
+ function n(o) {
667
+ return o === null ? e(o) : (t.enter("lineEnding"), t.consume(o), t.exit("lineEnding"), u);
668
+ }
669
+ function u(o) {
670
+ return i.parser.lazy[i.now().line] ? r(o) : e(o);
671
+ }
672
+ }
673
+ function St(t) {
674
+ let r = (t || {}).singleDollarTextMath;
675
+ return r == null && (r = !0), {
676
+ tokenize: i,
677
+ resolve: $t,
678
+ previous: vt,
679
+ name: "mathText"
680
+ };
681
+ function i(n, u, o) {
682
+ let s = 0, a, c;
683
+ return m;
684
+ function m(h) {
685
+ return n.enter("mathText"), n.enter("mathTextSequence"), p(h);
686
+ }
687
+ function p(h) {
688
+ return h === 36 ? (n.consume(h), s++, p) : s < 2 && !r ? o(h) : (n.exit("mathTextSequence"), g(h));
689
+ }
690
+ function g(h) {
691
+ return h === null ? o(h) : h === 36 ? (c = n.enter("mathTextSequence"), a = 0, f(h)) : h === 32 ? (n.enter("space"), n.consume(h), n.exit("space"), g) : y(h) ? (n.enter("lineEnding"), n.consume(h), n.exit("lineEnding"), g) : (n.enter("mathTextData"), d(h));
692
+ }
693
+ function d(h) {
694
+ return h === null || h === 32 || h === 36 || y(h) ? (n.exit("mathTextData"), g(h)) : (n.consume(h), d);
695
+ }
696
+ function f(h) {
697
+ return h === 36 ? (n.consume(h), a++, f) : a === s ? (n.exit("mathTextSequence"), n.exit("mathText"), u(h)) : (c.type = "mathTextData", d(h));
698
+ }
699
+ }
700
+ }
701
+ function $t(t) {
702
+ let e = t.length - 4, r = 3, i, n;
703
+ if ((t[r][1].type === "lineEnding" || t[r][1].type === "space") && (t[e][1].type === "lineEnding" || t[e][1].type === "space")) {
704
+ for (i = r; ++i < e; )
705
+ if (t[i][1].type === "mathTextData") {
706
+ t[e][1].type = "mathTextPadding", t[r][1].type = "mathTextPadding", r += 2, e -= 2;
707
+ break;
708
+ }
709
+ }
710
+ for (i = r - 1, e++; ++i <= e; )
711
+ n === void 0 ? i !== e && t[i][1].type !== "lineEnding" && (n = i) : (i === e || t[i][1].type === "lineEnding") && (t[n][1].type = "mathTextData", i !== n + 2 && (t[n][1].end = t[i - 1][1].end, t.splice(n + 2, i - n - 2), e -= i - n - 2, i = n + 2), n = void 0);
712
+ return t;
713
+ }
714
+ function vt(t) {
715
+ return t !== 36 || this.events[this.events.length - 1][1].type === "characterEscape";
716
+ }
717
+ function zt(t) {
718
+ return {
719
+ flow: {
720
+ 36: Nt
721
+ },
722
+ text: {
723
+ 36: St(t)
724
+ }
725
+ };
726
+ }
727
+ const At = {};
728
+ function It(t) {
729
+ const e = (
730
+ /** @type {Processor} */
731
+ this
732
+ ), r = t || At, i = e.data(), n = i.micromarkExtensions || (i.micromarkExtensions = []), u = i.fromMarkdownExtensions || (i.fromMarkdownExtensions = []), o = i.toMarkdownExtensions || (i.toMarkdownExtensions = []);
733
+ n.push(zt(r)), u.push(Mt()), o.push(Tt(r));
734
+ }
735
+ function Pt(t = {}) {
736
+ var e, r;
737
+ let i = [It, { singleDollarTextMath: (e = t.singleDollarTextMath) != null ? e : !1 }], n = [bt, { errorColor: (r = t.errorColor) != null ? r : "var(--color-muted-foreground)" }];
738
+ return { name: "katex", type: "math", remarkPlugin: i, rehypePlugin: n, getStyles() {
739
+ return "katex/dist/katex.min.css";
740
+ } };
741
+ }
742
+ var Ot = Pt();
743
+ export {
744
+ Pt as createMathPlugin,
745
+ Ot as math
746
+ };