@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,622 @@
1
+ import { _ as o, c as ot, a1 as ut, F as dt, al as yt, q as ft, k as pt, o as it, a as gt, b as kt, g as wt, s as mt, p as _t, e as bt } from "./index-JkCQXUYs.js";
2
+ var tt = (function() {
3
+ var e = /* @__PURE__ */ o(function(M, t, s, i) {
4
+ for (s = s || {}, i = M.length; i--; s[M[i]] = t) ;
5
+ return s;
6
+ }, "o"), h = [1, 4], r = [1, 14], a = [1, 12], l = [1, 13], y = [6, 7, 8], f = [1, 20], d = [1, 18], w = [1, 19], c = [6, 7, 11], k = [1, 6, 13, 14], g = [1, 23], _ = [1, 24], x = [1, 6, 7, 11, 13, 14], N = {
7
+ trace: /* @__PURE__ */ o(function() {
8
+ }, "trace"),
9
+ yy: {},
10
+ symbols_: { error: 2, start: 3, ishikawa: 4, spaceLines: 5, SPACELINE: 6, NL: 7, ISHIKAWA: 8, document: 9, stop: 10, EOF: 11, statement: 12, SPACELIST: 13, TEXT: 14, $accept: 0, $end: 1 },
11
+ terminals_: { 2: "error", 6: "SPACELINE", 7: "NL", 8: "ISHIKAWA", 11: "EOF", 13: "SPACELIST", 14: "TEXT" },
12
+ productions_: [0, [3, 1], [3, 2], [5, 1], [5, 2], [5, 2], [4, 2], [4, 3], [10, 1], [10, 1], [10, 1], [10, 2], [10, 2], [9, 3], [9, 2], [12, 2], [12, 1], [12, 1], [12, 1]],
13
+ performAction: /* @__PURE__ */ o(function(t, s, i, u, p, n, v) {
14
+ var m = n.length - 1;
15
+ switch (p) {
16
+ case 6:
17
+ case 7:
18
+ return u;
19
+ case 15:
20
+ u.addNode(n[m - 1].length, n[m].trim());
21
+ break;
22
+ case 16:
23
+ u.addNode(0, n[m].trim());
24
+ break;
25
+ }
26
+ }, "anonymous"),
27
+ table: [{ 3: 1, 4: 2, 5: 3, 6: [1, 5], 8: h }, { 1: [3] }, { 1: [2, 1] }, { 4: 6, 6: [1, 7], 7: [1, 8], 8: h }, { 6: r, 7: [1, 10], 9: 9, 12: 11, 13: a, 14: l }, e(y, [2, 3]), { 1: [2, 2] }, e(y, [2, 4]), e(y, [2, 5]), { 1: [2, 6], 6: r, 12: 15, 13: a, 14: l }, { 6: r, 9: 16, 12: 11, 13: a, 14: l }, { 6: f, 7: d, 10: 17, 11: w }, e(c, [2, 18], { 14: [1, 21] }), e(c, [2, 16]), e(c, [2, 17]), { 6: f, 7: d, 10: 22, 11: w }, { 1: [2, 7], 6: r, 12: 15, 13: a, 14: l }, e(k, [2, 14], { 7: g, 11: _ }), e(x, [2, 8]), e(x, [2, 9]), e(x, [2, 10]), e(c, [2, 15]), e(k, [2, 13], { 7: g, 11: _ }), e(x, [2, 11]), e(x, [2, 12])],
28
+ defaultActions: { 2: [2, 1], 6: [2, 2] },
29
+ parseError: /* @__PURE__ */ o(function(t, s) {
30
+ if (s.recoverable)
31
+ this.trace(t);
32
+ else {
33
+ var i = new Error(t);
34
+ throw i.hash = s, i;
35
+ }
36
+ }, "parseError"),
37
+ parse: /* @__PURE__ */ o(function(t) {
38
+ var s = this, i = [0], u = [], p = [null], n = [], v = this.table, m = "", I = 0, S = 0, L = 2, E = 1, R = n.slice.call(arguments, 1), b = Object.create(this.lexer), C = { yy: {} };
39
+ for (var W in this.yy)
40
+ Object.prototype.hasOwnProperty.call(this.yy, W) && (C.yy[W] = this.yy[W]);
41
+ b.setInput(t, C.yy), C.yy.lexer = b, C.yy.parser = this, typeof b.yylloc > "u" && (b.yylloc = {});
42
+ var T = b.yylloc;
43
+ n.push(T);
44
+ var D = b.options && b.options.ranges;
45
+ typeof C.yy.parseError == "function" ? this.parseError = C.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
46
+ function j(P) {
47
+ i.length = i.length - 2 * P, p.length = p.length - P, n.length = n.length - P;
48
+ }
49
+ o(j, "popStack");
50
+ function z() {
51
+ var P;
52
+ return P = u.pop() || b.lex() || E, typeof P != "number" && (P instanceof Array && (u = P, P = u.pop()), P = s.symbols_[P] || P), P;
53
+ }
54
+ o(z, "lex");
55
+ for (var A, F, B, K, H = {}, X, V, et, Y; ; ) {
56
+ if (F = i[i.length - 1], this.defaultActions[F] ? B = this.defaultActions[F] : ((A === null || typeof A > "u") && (A = z()), B = v[F] && v[F][A]), typeof B > "u" || !B.length || !B[0]) {
57
+ var Q = "";
58
+ Y = [];
59
+ for (X in v[F])
60
+ this.terminals_[X] && X > L && Y.push("'" + this.terminals_[X] + "'");
61
+ b.showPosition ? Q = "Parse error on line " + (I + 1) + `:
62
+ ` + b.showPosition() + `
63
+ Expecting ` + Y.join(", ") + ", got '" + (this.terminals_[A] || A) + "'" : Q = "Parse error on line " + (I + 1) + ": Unexpected " + (A == E ? "end of input" : "'" + (this.terminals_[A] || A) + "'"), this.parseError(Q, {
64
+ text: b.match,
65
+ token: this.terminals_[A] || A,
66
+ line: b.yylineno,
67
+ loc: T,
68
+ expected: Y
69
+ });
70
+ }
71
+ if (B[0] instanceof Array && B.length > 1)
72
+ throw new Error("Parse Error: multiple actions possible at state: " + F + ", token: " + A);
73
+ switch (B[0]) {
74
+ case 1:
75
+ i.push(A), p.push(b.yytext), n.push(b.yylloc), i.push(B[1]), A = null, S = b.yyleng, m = b.yytext, I = b.yylineno, T = b.yylloc;
76
+ break;
77
+ case 2:
78
+ if (V = this.productions_[B[1]][1], H.$ = p[p.length - V], H._$ = {
79
+ first_line: n[n.length - (V || 1)].first_line,
80
+ last_line: n[n.length - 1].last_line,
81
+ first_column: n[n.length - (V || 1)].first_column,
82
+ last_column: n[n.length - 1].last_column
83
+ }, D && (H._$.range = [
84
+ n[n.length - (V || 1)].range[0],
85
+ n[n.length - 1].range[1]
86
+ ]), K = this.performAction.apply(H, [
87
+ m,
88
+ S,
89
+ I,
90
+ C.yy,
91
+ B[1],
92
+ p,
93
+ n
94
+ ].concat(R)), typeof K < "u")
95
+ return K;
96
+ V && (i = i.slice(0, -1 * V * 2), p = p.slice(0, -1 * V), n = n.slice(0, -1 * V)), i.push(this.productions_[B[1]][0]), p.push(H.$), n.push(H._$), et = v[i[i.length - 2]][i[i.length - 1]], i.push(et);
97
+ break;
98
+ case 3:
99
+ return !0;
100
+ }
101
+ }
102
+ return !0;
103
+ }, "parse")
104
+ }, O = /* @__PURE__ */ (function() {
105
+ var M = {
106
+ EOF: 1,
107
+ parseError: /* @__PURE__ */ o(function(s, i) {
108
+ if (this.yy.parser)
109
+ this.yy.parser.parseError(s, i);
110
+ else
111
+ throw new Error(s);
112
+ }, "parseError"),
113
+ // resets the lexer, sets new input
114
+ setInput: /* @__PURE__ */ o(function(t, s) {
115
+ return this.yy = s || this.yy || {}, this._input = t, this._more = this._backtrack = this.done = !1, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = ["INITIAL"], this.yylloc = {
116
+ first_line: 1,
117
+ first_column: 0,
118
+ last_line: 1,
119
+ last_column: 0
120
+ }, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
121
+ }, "setInput"),
122
+ // consumes and returns one char from the input
123
+ input: /* @__PURE__ */ o(function() {
124
+ var t = this._input[0];
125
+ this.yytext += t, this.yyleng++, this.offset++, this.match += t, this.matched += t;
126
+ var s = t.match(/(?:\r\n?|\n).*/g);
127
+ return s ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1), t;
128
+ }, "input"),
129
+ // unshifts one char (or a string) into the input
130
+ unput: /* @__PURE__ */ o(function(t) {
131
+ var s = t.length, i = t.split(/(?:\r\n?|\n)/g);
132
+ this._input = t + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - s), this.offset -= s;
133
+ var u = this.match.split(/(?:\r\n?|\n)/g);
134
+ this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1), i.length - 1 && (this.yylineno -= i.length - 1);
135
+ var p = this.yylloc.range;
136
+ return this.yylloc = {
137
+ first_line: this.yylloc.first_line,
138
+ last_line: this.yylineno + 1,
139
+ first_column: this.yylloc.first_column,
140
+ last_column: i ? (i.length === u.length ? this.yylloc.first_column : 0) + u[u.length - i.length].length - i[0].length : this.yylloc.first_column - s
141
+ }, this.options.ranges && (this.yylloc.range = [p[0], p[0] + this.yyleng - s]), this.yyleng = this.yytext.length, this;
142
+ }, "unput"),
143
+ // When called from action, caches matched text and appends it on next action
144
+ more: /* @__PURE__ */ o(function() {
145
+ return this._more = !0, this;
146
+ }, "more"),
147
+ // When called from action, signals the lexer that this rule fails to match the input, so the next matching rule (regex) should be tested instead.
148
+ reject: /* @__PURE__ */ o(function() {
149
+ if (this.options.backtrack_lexer)
150
+ this._backtrack = !0;
151
+ else
152
+ return this.parseError("Lexical error on line " + (this.yylineno + 1) + `. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
153
+ ` + this.showPosition(), {
154
+ text: "",
155
+ token: null,
156
+ line: this.yylineno
157
+ });
158
+ return this;
159
+ }, "reject"),
160
+ // retain first n characters of the match
161
+ less: /* @__PURE__ */ o(function(t) {
162
+ this.unput(this.match.slice(t));
163
+ }, "less"),
164
+ // displays already matched input, i.e. for error messages
165
+ pastInput: /* @__PURE__ */ o(function() {
166
+ var t = this.matched.substr(0, this.matched.length - this.match.length);
167
+ return (t.length > 20 ? "..." : "") + t.substr(-20).replace(/\n/g, "");
168
+ }, "pastInput"),
169
+ // displays upcoming input, i.e. for error messages
170
+ upcomingInput: /* @__PURE__ */ o(function() {
171
+ var t = this.match;
172
+ return t.length < 20 && (t += this._input.substr(0, 20 - t.length)), (t.substr(0, 20) + (t.length > 20 ? "..." : "")).replace(/\n/g, "");
173
+ }, "upcomingInput"),
174
+ // displays the character position where the lexing error occurred, i.e. for error messages
175
+ showPosition: /* @__PURE__ */ o(function() {
176
+ var t = this.pastInput(), s = new Array(t.length + 1).join("-");
177
+ return t + this.upcomingInput() + `
178
+ ` + s + "^";
179
+ }, "showPosition"),
180
+ // test the lexed token: return FALSE when not a match, otherwise return token
181
+ test_match: /* @__PURE__ */ o(function(t, s) {
182
+ var i, u, p;
183
+ if (this.options.backtrack_lexer && (p = {
184
+ yylineno: this.yylineno,
185
+ yylloc: {
186
+ first_line: this.yylloc.first_line,
187
+ last_line: this.last_line,
188
+ first_column: this.yylloc.first_column,
189
+ last_column: this.yylloc.last_column
190
+ },
191
+ yytext: this.yytext,
192
+ match: this.match,
193
+ matches: this.matches,
194
+ matched: this.matched,
195
+ yyleng: this.yyleng,
196
+ offset: this.offset,
197
+ _more: this._more,
198
+ _input: this._input,
199
+ yy: this.yy,
200
+ conditionStack: this.conditionStack.slice(0),
201
+ done: this.done
202
+ }, this.options.ranges && (p.yylloc.range = this.yylloc.range.slice(0))), u = t[0].match(/(?:\r\n?|\n).*/g), u && (this.yylineno += u.length), this.yylloc = {
203
+ first_line: this.yylloc.last_line,
204
+ last_line: this.yylineno + 1,
205
+ first_column: this.yylloc.last_column,
206
+ last_column: u ? u[u.length - 1].length - u[u.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + t[0].length
207
+ }, this.yytext += t[0], this.match += t[0], this.matches = t, this.yyleng = this.yytext.length, this.options.ranges && (this.yylloc.range = [this.offset, this.offset += this.yyleng]), this._more = !1, this._backtrack = !1, this._input = this._input.slice(t[0].length), this.matched += t[0], i = this.performAction.call(this, this.yy, this, s, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), i)
208
+ return i;
209
+ if (this._backtrack) {
210
+ for (var n in p)
211
+ this[n] = p[n];
212
+ return !1;
213
+ }
214
+ return !1;
215
+ }, "test_match"),
216
+ // return next match in input
217
+ next: /* @__PURE__ */ o(function() {
218
+ if (this.done)
219
+ return this.EOF;
220
+ this._input || (this.done = !0);
221
+ var t, s, i, u;
222
+ this._more || (this.yytext = "", this.match = "");
223
+ for (var p = this._currentRules(), n = 0; n < p.length; n++)
224
+ if (i = this._input.match(this.rules[p[n]]), i && (!s || i[0].length > s[0].length)) {
225
+ if (s = i, u = n, this.options.backtrack_lexer) {
226
+ if (t = this.test_match(i, p[n]), t !== !1)
227
+ return t;
228
+ if (this._backtrack) {
229
+ s = !1;
230
+ continue;
231
+ } else
232
+ return !1;
233
+ } else if (!this.options.flex)
234
+ break;
235
+ }
236
+ return s ? (t = this.test_match(s, p[u]), t !== !1 ? t : !1) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + `. Unrecognized text.
237
+ ` + this.showPosition(), {
238
+ text: "",
239
+ token: null,
240
+ line: this.yylineno
241
+ });
242
+ }, "next"),
243
+ // return next match that has a token
244
+ lex: /* @__PURE__ */ o(function() {
245
+ var s = this.next();
246
+ return s || this.lex();
247
+ }, "lex"),
248
+ // activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)
249
+ begin: /* @__PURE__ */ o(function(s) {
250
+ this.conditionStack.push(s);
251
+ }, "begin"),
252
+ // pop the previously active lexer condition state off the condition stack
253
+ popState: /* @__PURE__ */ o(function() {
254
+ var s = this.conditionStack.length - 1;
255
+ return s > 0 ? this.conditionStack.pop() : this.conditionStack[0];
256
+ }, "popState"),
257
+ // produce the lexer rule set which is active for the currently active lexer condition state
258
+ _currentRules: /* @__PURE__ */ o(function() {
259
+ return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
260
+ }, "_currentRules"),
261
+ // return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available
262
+ topState: /* @__PURE__ */ o(function(s) {
263
+ return s = this.conditionStack.length - 1 - Math.abs(s || 0), s >= 0 ? this.conditionStack[s] : "INITIAL";
264
+ }, "topState"),
265
+ // alias for begin(condition)
266
+ pushState: /* @__PURE__ */ o(function(s) {
267
+ this.begin(s);
268
+ }, "pushState"),
269
+ // return the number of states currently on the stack
270
+ stateStackSize: /* @__PURE__ */ o(function() {
271
+ return this.conditionStack.length;
272
+ }, "stateStackSize"),
273
+ options: { "case-insensitive": !0 },
274
+ performAction: /* @__PURE__ */ o(function(s, i, u, p) {
275
+ switch (u) {
276
+ case 0:
277
+ return 6;
278
+ case 1:
279
+ return 8;
280
+ case 2:
281
+ return 8;
282
+ case 3:
283
+ return 6;
284
+ case 4:
285
+ return 7;
286
+ case 5:
287
+ return 13;
288
+ case 6:
289
+ return 14;
290
+ case 7:
291
+ return 11;
292
+ }
293
+ }, "anonymous"),
294
+ rules: [/^(?:\s*%%.*)/i, /^(?:ishikawa-beta\b)/i, /^(?:ishikawa\b)/i, /^(?:[\s]+[\n])/i, /^(?:[\n]+)/i, /^(?:[\s]+)/i, /^(?:[^\n]+)/i, /^(?:$)/i],
295
+ conditions: { INITIAL: { rules: [0, 1, 2, 3, 4, 5, 6, 7], inclusive: !0 } }
296
+ };
297
+ return M;
298
+ })();
299
+ N.lexer = O;
300
+ function $() {
301
+ this.yy = {};
302
+ }
303
+ return o($, "Parser"), $.prototype = N, N.Parser = $, new $();
304
+ })();
305
+ tt.parser = tt;
306
+ var xt = tt, Z, vt = (Z = class {
307
+ constructor() {
308
+ this.stack = [], this.clear = this.clear.bind(this), this.addNode = this.addNode.bind(this), this.getRoot = this.getRoot.bind(this);
309
+ }
310
+ clear() {
311
+ this.root = void 0, this.stack = [], this.baseLevel = void 0, ft();
312
+ }
313
+ getRoot() {
314
+ return this.root;
315
+ }
316
+ addNode(h, r) {
317
+ const a = pt.sanitizeText(r, ot());
318
+ if (!this.root) {
319
+ this.root = { text: a, children: [] }, this.stack = [{ level: 0, node: this.root }], it(a);
320
+ return;
321
+ }
322
+ this.baseLevel ?? (this.baseLevel = h);
323
+ let l = h - this.baseLevel + 1;
324
+ for (l <= 0 && (l = 1); this.stack.length > 1 && this.stack[this.stack.length - 1].level >= l; )
325
+ this.stack.pop();
326
+ const y = this.stack[this.stack.length - 1].node, f = { text: a, children: [] };
327
+ y.children.push(f), this.stack.push({ level: l, node: f });
328
+ }
329
+ getAccTitle() {
330
+ return gt();
331
+ }
332
+ setAccTitle(h) {
333
+ kt(h);
334
+ }
335
+ getAccDescription() {
336
+ return wt();
337
+ }
338
+ setAccDescription(h) {
339
+ mt(h);
340
+ }
341
+ getDiagramTitle() {
342
+ return _t();
343
+ }
344
+ setDiagramTitle(h) {
345
+ it(h);
346
+ }
347
+ }, o(Z, "IshikawaDB"), Z), St = 14, G = 250, $t = 30, Et = 60, At = 5, ht = 82 * Math.PI / 180, st = Math.cos(ht), nt = Math.sin(ht), at = /* @__PURE__ */ o((e, h, r) => {
348
+ const a = e.node().getBBox(), l = a.width + h * 2, y = a.height + h * 2;
349
+ bt(e, y, l, r), e.attr("viewBox", `${a.x - h} ${a.y - h} ${l} ${y}`);
350
+ }, "applyPaddedViewBox"), It = /* @__PURE__ */ o((e, h, r, a) => {
351
+ var C, W;
352
+ const y = a.db.getRoot();
353
+ if (!y)
354
+ return;
355
+ const f = ot(), { look: d, handDrawnSeed: w, themeVariables: c } = f, k = ut(f.fontSize)[0] ?? St, g = d === "handDrawn", _ = y.children ?? [], x = ((C = f.ishikawa) == null ? void 0 : C.diagramPadding) ?? 20, N = ((W = f.ishikawa) == null ? void 0 : W.useMaxWidth) ?? !1, O = dt(h), $ = O.append("g").attr("class", "ishikawa"), M = g ? yt.svg(O.node()) : void 0, t = M ? {
356
+ roughSvg: M,
357
+ seed: w ?? 0,
358
+ lineColor: (c == null ? void 0 : c.lineColor) ?? "#333",
359
+ fillColor: (c == null ? void 0 : c.mainBkg) ?? "#fff"
360
+ } : void 0, s = `ishikawa-arrow-${h}`;
361
+ g || $.append("defs").append("marker").attr("id", s).attr("viewBox", "0 0 10 10").attr("refX", 0).attr("refY", 5).attr("markerWidth", 6).attr("markerHeight", 6).attr("orient", "auto").append("path").attr("d", "M 10 0 L 0 5 L 10 10 Z").attr("class", "ishikawa-arrow");
362
+ let i = 0, u = G;
363
+ const p = g ? void 0 : U($, i, u, i, u, "ishikawa-spine");
364
+ if (Lt($, i, u, y.text, k, t), !_.length) {
365
+ g && U($, i, u, i, u, "ishikawa-spine", t), at(O, x, N);
366
+ return;
367
+ }
368
+ i -= 20;
369
+ const n = _.filter((T, D) => D % 2 === 0), v = _.filter((T, D) => D % 2 === 1), m = rt(n), I = rt(v), S = m.total + I.total;
370
+ let L = G, E = G;
371
+ if (S > 0) {
372
+ const T = G * 2, D = G * 0.3;
373
+ L = Math.max(D, T * (m.total / S)), E = Math.max(D, T * (I.total / S));
374
+ }
375
+ const R = k * 2;
376
+ L = Math.max(L, m.max * R), E = Math.max(E, I.max * R), u = Math.max(L, G), p && p.attr("y1", u).attr("y2", u), $.select(".ishikawa-head-group").attr("transform", `translate(0,${u})`);
377
+ const b = Math.ceil(_.length / 2);
378
+ for (let T = 0; T < b; T++) {
379
+ const D = $.append("g").attr("class", "ishikawa-pair");
380
+ for (const [j, z, A] of [
381
+ [_[T * 2], -1, L],
382
+ [_[T * 2 + 1], 1, E]
383
+ ])
384
+ j && Pt(D, j, i, u, z, A, k, t);
385
+ i = D.selectAll("text").nodes().reduce((j, z) => Math.min(j, z.getBBox().x), 1 / 0);
386
+ }
387
+ if (g)
388
+ U($, i, u, 0, u, "ishikawa-spine", t);
389
+ else {
390
+ p.attr("x1", i);
391
+ const T = `url(#${s})`;
392
+ $.selectAll("line.ishikawa-branch, line.ishikawa-sub-branch").attr("marker-start", T);
393
+ }
394
+ at(O, x, N);
395
+ }, "draw"), rt = /* @__PURE__ */ o((e) => {
396
+ const h = /* @__PURE__ */ o((r) => r.children.reduce((a, l) => a + 1 + h(l), 0), "countDescendants");
397
+ return e.reduce(
398
+ (r, a) => {
399
+ const l = h(a);
400
+ return r.total += l, r.max = Math.max(r.max, l), r;
401
+ },
402
+ { total: 0, max: 0 }
403
+ );
404
+ }, "sideStats"), Lt = /* @__PURE__ */ o((e, h, r, a, l, y) => {
405
+ const f = Math.max(6, Math.floor(110 / (l * 0.6))), d = e.append("g").attr("class", "ishikawa-head-group").attr("transform", `translate(${h},${r})`), w = q(
406
+ d,
407
+ ct(a, f),
408
+ 0,
409
+ 0,
410
+ "ishikawa-head-label",
411
+ "start",
412
+ l
413
+ ), c = w.node().getBBox(), k = Math.max(60, c.width + 6), g = Math.max(40, c.height * 2 + 40), _ = `M 0 ${-g / 2} L 0 ${g / 2} Q ${k * 2.4} 0 0 ${-g / 2} Z`;
414
+ if (y) {
415
+ const x = y.roughSvg.path(_, {
416
+ roughness: 1.5,
417
+ seed: y.seed,
418
+ fill: y.fillColor,
419
+ fillStyle: "hachure",
420
+ fillWeight: 2.5,
421
+ hachureGap: 5,
422
+ stroke: y.lineColor,
423
+ strokeWidth: 2
424
+ });
425
+ d.insert(() => x, ":first-child").attr("class", "ishikawa-head");
426
+ } else
427
+ d.insert("path", ":first-child").attr("class", "ishikawa-head").attr("d", _);
428
+ w.attr("transform", `translate(${(k - c.width) / 2 - c.x + 3},${-c.y - c.height / 2})`);
429
+ }, "drawHead"), Tt = /* @__PURE__ */ o((e, h) => {
430
+ const r = [], a = [], l = /* @__PURE__ */ o((y, f, d) => {
431
+ const w = h === -1 ? [...y].reverse() : y;
432
+ for (const c of w) {
433
+ const k = r.length, g = c.children ?? [];
434
+ r.push({
435
+ depth: d,
436
+ text: ct(c.text, 15),
437
+ parentIndex: f,
438
+ childCount: g.length
439
+ }), d % 2 === 0 ? (a.push(k), g.length && l(g, k, d + 1)) : (g.length && l(g, k, d + 1), a.push(k));
440
+ }
441
+ }, "walk");
442
+ return l(e, -1, 2), { entries: r, yOrder: a };
443
+ }, "flattenTree"), Mt = /* @__PURE__ */ o((e, h, r, a, l, y, f) => {
444
+ const d = e.append("g").attr("class", "ishikawa-label-group"), c = q(
445
+ d,
446
+ h,
447
+ r,
448
+ a + 11 * l,
449
+ "ishikawa-label cause",
450
+ "middle",
451
+ y
452
+ ).node().getBBox();
453
+ if (f) {
454
+ const k = f.roughSvg.rectangle(
455
+ c.x - 20,
456
+ c.y - 2,
457
+ c.width + 40,
458
+ c.height + 4,
459
+ {
460
+ roughness: 1.5,
461
+ seed: f.seed,
462
+ fill: f.fillColor,
463
+ fillStyle: "hachure",
464
+ fillWeight: 2.5,
465
+ hachureGap: 5,
466
+ stroke: f.lineColor,
467
+ strokeWidth: 2
468
+ }
469
+ );
470
+ d.insert(() => k, ":first-child").attr("class", "ishikawa-label-box");
471
+ } else
472
+ d.insert("rect", ":first-child").attr("class", "ishikawa-label-box").attr("x", c.x - 20).attr("y", c.y - 2).attr("width", c.width + 40).attr("height", c.height + 4);
473
+ }, "drawCauseLabel"), J = /* @__PURE__ */ o((e, h, r, a, l, y) => {
474
+ const f = Math.sqrt(a * a + l * l);
475
+ if (f === 0)
476
+ return;
477
+ const d = a / f, w = l / f, c = 6, k = -w * c, g = d * c, _ = h, x = r, N = `M ${_} ${x} L ${_ - d * c * 2 + k} ${x - w * c * 2 + g} L ${_ - d * c * 2 - k} ${x - w * c * 2 - g} Z`, O = y.roughSvg.path(N, {
478
+ roughness: 1,
479
+ seed: y.seed,
480
+ fill: y.lineColor,
481
+ fillStyle: "solid",
482
+ stroke: y.lineColor,
483
+ strokeWidth: 1
484
+ });
485
+ e.append(() => O);
486
+ }, "drawArrowMarker"), Pt = /* @__PURE__ */ o((e, h, r, a, l, y, f, d) => {
487
+ const w = h.children ?? [], c = y * (w.length ? 1 : 0.2), k = -st * c, g = nt * c * l, _ = r + k, x = a + g;
488
+ if (U(e, r, a, _, x, "ishikawa-branch", d), d && J(e, r, a, r - _, a - x, d), Mt(e, h.text, _, x, l, f, d), !w.length)
489
+ return;
490
+ const { entries: N, yOrder: O } = Tt(w, l), $ = N.length, M = new Array($);
491
+ for (const [p, n] of O.entries())
492
+ M[n] = a + g * ((p + 1) / ($ + 1));
493
+ const t = /* @__PURE__ */ new Map();
494
+ t.set(-1, {
495
+ x0: r,
496
+ y0: a,
497
+ x1: _,
498
+ y1: x,
499
+ childCount: w.length,
500
+ childrenDrawn: 0
501
+ });
502
+ const s = -st, i = nt * l, u = l < 0 ? "ishikawa-label up" : "ishikawa-label down";
503
+ for (const [p, n] of N.entries()) {
504
+ const v = M[p], m = t.get(n.parentIndex), I = e.append("g").attr("class", "ishikawa-sub-group");
505
+ let S = 0, L = 0, E = 0;
506
+ if (n.depth % 2 === 0) {
507
+ const R = m.y1 - m.y0;
508
+ S = lt(m.x0, m.x1, R ? (v - m.y0) / R : 0.5), L = v, E = S - (n.childCount > 0 ? Et + n.childCount * At : $t), U(I, S, v, E, v, "ishikawa-sub-branch", d), d && J(I, S, v, 1, 0, d), q(I, n.text, E, v, "ishikawa-label align", "end", f);
509
+ } else {
510
+ const R = m.childrenDrawn++;
511
+ S = lt(m.x0, m.x1, (m.childCount - R) / (m.childCount + 1)), L = m.y0, E = S + s * ((v - L) / i), U(I, S, L, E, v, "ishikawa-sub-branch", d), d && J(I, S, L, S - E, L - v, d), q(I, n.text, E, v, u, "end", f);
512
+ }
513
+ n.childCount > 0 && t.set(p, {
514
+ x0: S,
515
+ y0: L,
516
+ x1: E,
517
+ y1: v,
518
+ childCount: n.childCount,
519
+ childrenDrawn: 0
520
+ });
521
+ }
522
+ }, "drawBranch"), Bt = /* @__PURE__ */ o((e) => e.split(/<br\s*\/?>|\n/), "splitLines"), ct = /* @__PURE__ */ o((e, h) => {
523
+ if (e.length <= h)
524
+ return e;
525
+ const r = [];
526
+ for (const a of e.split(/\s+/)) {
527
+ const l = r.length - 1;
528
+ l >= 0 && r[l].length + 1 + a.length <= h ? r[l] += " " + a : r.push(a);
529
+ }
530
+ return r.join(`
531
+ `);
532
+ }, "wrapText"), q = /* @__PURE__ */ o((e, h, r, a, l, y, f) => {
533
+ const d = Bt(h), w = f * 1.05, c = e.append("text").attr("class", l).attr("text-anchor", y).attr("x", r).attr("y", a - (d.length - 1) * w / 2);
534
+ for (const [k, g] of d.entries())
535
+ c.append("tspan").attr("x", r).attr("dy", k === 0 ? 0 : w).text(g);
536
+ return c;
537
+ }, "drawMultilineText"), lt = /* @__PURE__ */ o((e, h, r) => e + (h - e) * r, "lerp"), U = /* @__PURE__ */ o((e, h, r, a, l, y, f) => {
538
+ if (f) {
539
+ const d = f.roughSvg.line(h, r, a, l, {
540
+ roughness: 1.5,
541
+ seed: f.seed,
542
+ stroke: f.lineColor,
543
+ strokeWidth: 2
544
+ });
545
+ e.append(() => d).attr("class", y);
546
+ return;
547
+ }
548
+ return e.append("line").attr("class", y).attr("x1", h).attr("y1", r).attr("x2", a).attr("y2", l);
549
+ }, "drawLine"), Nt = { draw: It }, Dt = /* @__PURE__ */ o((e) => `
550
+ .ishikawa .ishikawa-spine,
551
+ .ishikawa .ishikawa-branch,
552
+ .ishikawa .ishikawa-sub-branch {
553
+ stroke: ${e.lineColor};
554
+ stroke-width: 2;
555
+ fill: none;
556
+ }
557
+
558
+ .ishikawa .ishikawa-sub-branch {
559
+ stroke-width: 1;
560
+ }
561
+
562
+ .ishikawa .ishikawa-arrow {
563
+ fill: ${e.lineColor};
564
+ }
565
+
566
+ .ishikawa .ishikawa-head {
567
+ fill: ${e.mainBkg};
568
+ stroke: ${e.lineColor};
569
+ stroke-width: 2;
570
+ }
571
+
572
+ .ishikawa .ishikawa-label-box {
573
+ fill: ${e.mainBkg};
574
+ stroke: ${e.lineColor};
575
+ stroke-width: 2;
576
+ }
577
+
578
+ .ishikawa text {
579
+ font-family: ${e.fontFamily};
580
+ font-size: ${e.fontSize};
581
+ fill: ${e.textColor};
582
+ }
583
+
584
+ .ishikawa .ishikawa-head-label {
585
+ font-weight: 600;
586
+ text-anchor: middle;
587
+ dominant-baseline: middle;
588
+ font-size: 14px;
589
+ }
590
+
591
+ .ishikawa .ishikawa-label {
592
+ text-anchor: end;
593
+ }
594
+
595
+ .ishikawa .ishikawa-label.cause {
596
+ text-anchor: middle;
597
+ dominant-baseline: middle;
598
+ }
599
+
600
+ .ishikawa .ishikawa-label.align {
601
+ text-anchor: end;
602
+ dominant-baseline: middle;
603
+ }
604
+
605
+ .ishikawa .ishikawa-label.up {
606
+ dominant-baseline: baseline;
607
+ }
608
+
609
+ .ishikawa .ishikawa-label.down {
610
+ dominant-baseline: hanging;
611
+ }
612
+ `, "getStyles"), Ot = Dt, Rt = {
613
+ parser: xt,
614
+ get db() {
615
+ return new vt();
616
+ },
617
+ renderer: Nt,
618
+ styles: Ot
619
+ };
620
+ export {
621
+ Rt as diagram
622
+ };