@ensocode/server 0.2.13 → 0.2.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +33 -1
- package/out/phone/assets/EnsoNerdSymbolsMono-Regular-TdeMQojc.ttf +0 -0
- package/out/phone/assets/abap-CLvhMVsD.js +1 -0
- package/out/phone/assets/abnfDiagram-VCTEODGH-DdiNp4j7.js +1 -0
- package/out/phone/assets/actionscript-3-Cs6JJXT5.js +1 -0
- package/out/phone/assets/ada-C5qYipkI.js +1 -0
- package/out/phone/assets/ahk-CA9gdOdF.js +1 -0
- package/out/phone/assets/ahk2-_6rzW9BS.js +1 -0
- package/out/phone/assets/andromeeda-vGVdxbeo.js +1 -0
- package/out/phone/assets/angular-html-aPuBvESs.js +1 -0
- package/out/phone/assets/angular-ts-ocjSXnvf.js +1 -0
- package/out/phone/assets/apache-U0d_L8uA.js +1 -0
- package/out/phone/assets/apex-KFGFyKwG.js +1 -0
- package/out/phone/assets/apl-D8Zaj6f9.js +1 -0
- package/out/phone/assets/applescript-CCn79oCD.js +1 -0
- package/out/phone/assets/ara-4CJ0cIlV.js +1 -0
- package/out/phone/assets/arc-DgcGdgmL.js +1 -0
- package/out/phone/assets/architecture-7GRP2DOG-B6XPzuQu.js +1 -0
- package/out/phone/assets/architectureDiagram-5GKGNRK7-BMPnLJ2s.js +36 -0
- package/out/phone/assets/array-BifhSqXX.js +1 -0
- package/out/phone/assets/asciidoc-SCjQUq34.js +1 -0
- package/out/phone/assets/asm-Cmm7eHzH.js +1 -0
- package/out/phone/assets/astro-CbVusc_k.js +1 -0
- package/out/phone/assets/aurora-x-CDeNXAV0.js +1 -0
- package/out/phone/assets/awk-BWXHIvNe.js +1 -0
- package/out/phone/assets/ayu-dark-DluEY0Gj.js +1 -0
- package/out/phone/assets/ayu-light-C3h-C4tm.js +1 -0
- package/out/phone/assets/ayu-mirage-Bqwy1Gya.js +1 -0
- package/out/phone/assets/ballerina-B7ZEbQpA.js +1 -0
- package/out/phone/assets/bat-qdxAdBWQ.js +1 -0
- package/out/phone/assets/beancount-D-usSTwE.js +1 -0
- package/out/phone/assets/berry-DKpUyyne.js +1 -0
- package/out/phone/assets/bibtex-Ci_nEsc7.js +1 -0
- package/out/phone/assets/bicep-CUHmPFLl.js +1 -0
- package/out/phone/assets/bird2-CYIUgYqB.js +1 -0
- package/out/phone/assets/blade-BuKMbjJR.js +1 -0
- package/out/phone/assets/blockDiagram-I7D4REHJ-gT7-o8Mw.js +129 -0
- package/out/phone/assets/bsl-_VjlB9mv.js +1 -0
- package/out/phone/assets/c-BNQJhXlP.js +1 -0
- package/out/phone/assets/c3-D0apG41V.js +1 -0
- package/out/phone/assets/c4Diagram-7LVT6UL2-Jquqp3VQ.js +38 -0
- package/out/phone/assets/cadence-CQ2zXKGN.js +1 -0
- package/out/phone/assets/cairo-DLTphjLi.js +1 -0
- package/out/phone/assets/catppuccin-frappe-C9Q5zVZY.js +1 -0
- package/out/phone/assets/catppuccin-latte-CtsyrtPq.js +1 -0
- package/out/phone/assets/catppuccin-macchiato-R8nAf1vR.js +1 -0
- package/out/phone/assets/catppuccin-mocha-DjuaAJKi.js +1 -0
- package/out/phone/assets/channel-o_G6mfBV.js +1 -0
- package/out/phone/assets/chapel-CFMD-Djs.js +1 -0
- package/out/phone/assets/chunk-2Q5K7J3B-C1jixKkw.js +1 -0
- package/out/phone/assets/chunk-4HAMMTFA-YQFUQRqX.js +62 -0
- package/out/phone/assets/chunk-5VM5RSS4-ZNzvKenW.js +15 -0
- package/out/phone/assets/chunk-75Z2AOVW-BqHLON2E.js +2 -0
- package/out/phone/assets/chunk-DU6HZSFF-CfA8U5r3.js +127 -0
- package/out/phone/assets/chunk-F27PBJKO-BNT7J3tF.js +1 -0
- package/out/phone/assets/chunk-FOHPRMQF-DHwB1DNv.js +161 -0
- package/out/phone/assets/chunk-GMAD6QVW-CIuSusWI.js +72 -0
- package/out/phone/assets/chunk-GVQU2GXP-CaBgSaik.js +1 -0
- package/out/phone/assets/chunk-IMKFNOWR-C2Smg1aj.js +231 -0
- package/out/phone/assets/chunk-JWPE2WC7-DVXcaiue.js +1 -0
- package/out/phone/assets/chunk-L3NEJ4N5-BZ6UVkkR.js +1 -0
- package/out/phone/assets/chunk-OSK3NFVY-BxOOthv7.js +10 -0
- package/out/phone/assets/chunk-P2QGCYS3-BXnn6tZa.js +1 -0
- package/out/phone/assets/chunk-POPQ4Y6H-DvDXaO8a.js +1 -0
- package/out/phone/assets/chunk-PWAF6VOD-DrHMV5jh.js +1 -0
- package/out/phone/assets/chunk-SHT3W25Y-D64aGSiu.js +168 -0
- package/out/phone/assets/chunk-SVP7TREG-Bvf9vq1C.js +88 -0
- package/out/phone/assets/chunk-TICWLB2K-BxVM5xux.js +206 -0
- package/out/phone/assets/chunk-XXDRQBXY-BvKO0v-W.js +1 -0
- package/out/phone/assets/chunk-Y2CYZVJY-DsF7k-Jl.js +1 -0
- package/out/phone/assets/clarity-CtfBBspg.js +1 -0
- package/out/phone/assets/classDiagram-ZZMXUADV-B7aLIKjD.js +1 -0
- package/out/phone/assets/classDiagram-v2-VYDZK3BY-B7aLIKjD.js +1 -0
- package/out/phone/assets/clojure-DqKBuwfJ.js +1 -0
- package/out/phone/assets/cmake-Bj61d0ZC.js +1 -0
- package/out/phone/assets/cobol-qSrRm_BU.js +1 -0
- package/out/phone/assets/codeowners-C8r90Shi.js +1 -0
- package/out/phone/assets/codeql-oeQT6MSM.js +1 -0
- package/out/phone/assets/coffee-BP03ytLP.js +1 -0
- package/out/phone/assets/common-lisp-Cv5bFMCO.js +1 -0
- package/out/phone/assets/coq-DuBRPxYg.js +1 -0
- package/out/phone/assets/cose-bilkent-JH36ORCC-DU88WUul.js +1 -0
- package/out/phone/assets/cpp-CUBNVKxn.js +1 -0
- package/out/phone/assets/crystal-CCpd0BXH.js +1 -0
- package/out/phone/assets/csharp-oqKa8noW.js +1 -0
- package/out/phone/assets/css-DlBQoFxe.js +1 -0
- package/out/phone/assets/csv-Dx-8-gkx.js +1 -0
- package/out/phone/assets/cue-CE9AQfxI.js +1 -0
- package/out/phone/assets/cynefin-OW5HDTMX-BK64oPGb.js +1 -0
- package/out/phone/assets/cynefinDiagram-5FMLGOSQ-BmRV0tsD.js +62 -0
- package/out/phone/assets/cypher-ClKdZ_lG.js +1 -0
- package/out/phone/assets/cytoscape.esm-CGd-uY3x.js +321 -0
- package/out/phone/assets/d-qD-0Kul2.js +1 -0
- package/out/phone/assets/dagre-GXQ25YYZ-CM8jhy74.js +4 -0
- package/out/phone/assets/dagre-PrKaheQc.js +1 -0
- package/out/phone/assets/dark-plus-Cs2F2srj.js +1 -0
- package/out/phone/assets/dart-CnvKMtbv.js +1 -0
- package/out/phone/assets/dax-BkyTk9wS.js +1 -0
- package/out/phone/assets/defaultLocale-BFoDCU3G.js +1 -0
- package/out/phone/assets/desk-cShVjFeS.js +2 -0
- package/out/phone/assets/desktop-Dlh5hvp9.js +1 -0
- package/out/phone/assets/diagram-S7CK7UJ4-DLC1N3P7.js +30 -0
- package/out/phone/assets/diagram-UQ7AKVKN-Cs-BNe7D.js +41 -0
- package/out/phone/assets/diagram-VSXAHHWV-DOyx18IJ.js +3 -0
- package/out/phone/assets/diagram-VX7I27RA-JIO8i4XO.js +24 -0
- package/out/phone/assets/diagram-Z3DM3KII-BKvMMlI9.js +24 -0
- package/out/phone/assets/diff-woXpYk--.js +1 -0
- package/out/phone/assets/dist-B_J_HbC0.js +1 -0
- package/out/phone/assets/docker-IyjqRm3v.js +1 -0
- package/out/phone/assets/dotenv-_5a1GRtc.js +1 -0
- package/out/phone/assets/dracula-BHWKrbxM.js +1 -0
- package/out/phone/assets/dracula-soft-5eyTD99u.js +1 -0
- package/out/phone/assets/dream-maker-DW3nJb8Q.js +1 -0
- package/out/phone/assets/ebnfDiagram-PWID7BFC-DwXn766M.js +1 -0
- package/out/phone/assets/edge-k_uo0VIr.js +1 -0
- package/out/phone/assets/elixir-CJS91GrO.js +1 -0
- package/out/phone/assets/elm-Bmx6Fs0i.js +1 -0
- package/out/phone/assets/emacs-lisp-c_oH4hRZ.js +1 -0
- package/out/phone/assets/erDiagram-RLTQ6QDP-BIPLcGkZ.js +99 -0
- package/out/phone/assets/erb-yi0ZozmI.js +1 -0
- package/out/phone/assets/erlang-Cphh6RMH.js +1 -0
- package/out/phone/assets/eventmodeling-NTZA5JFV-CzeS60xJ.js +1 -0
- package/out/phone/assets/everforest-dark-sB-x3p7T.js +1 -0
- package/out/phone/assets/everforest-light-Df2xbC6M.js +1 -0
- package/out/phone/assets/fennel-DQxkIbk2.js +1 -0
- package/out/phone/assets/fish-BJitypiv.js +1 -0
- package/out/phone/assets/flowDiagram-HODETNUW-C3cjv9GE.js +1 -0
- package/out/phone/assets/fluent-C03EYrpw.js +1 -0
- package/out/phone/assets/fortran-fixed-form-DEKoE2YW.js +1 -0
- package/out/phone/assets/fortran-free-form-CYNrtFtB.js +1 -0
- package/out/phone/assets/fsharp-D13ZGOAj.js +1 -0
- package/out/phone/assets/ganttDiagram-EL5Y4UJY-OpKwlmBE.js +292 -0
- package/out/phone/assets/gdresource-xMC7jr7x.js +1 -0
- package/out/phone/assets/gdscript-DYvRD3hg.js +1 -0
- package/out/phone/assets/gdshader-CBce3t8t.js +1 -0
- package/out/phone/assets/genie-CV2tkWYe.js +1 -0
- package/out/phone/assets/gherkin-DExj1W_8.js +1 -0
- package/out/phone/assets/git-commit-BSykSTBG.js +1 -0
- package/out/phone/assets/git-rebase-C-RR1FSc.js +1 -0
- package/out/phone/assets/gitGraph-4MIJSDKK-BtGMlgKE.js +1 -0
- package/out/phone/assets/gitGraphDiagram-WWUBYQGX-BnPYThwR.js +106 -0
- package/out/phone/assets/github-dark-C-LZuMrd.js +1 -0
- package/out/phone/assets/github-dark-default-DXG-b-1a.js +1 -0
- package/out/phone/assets/github-dark-dimmed-Bx1FflLF.js +1 -0
- package/out/phone/assets/github-dark-high-contrast-B_tTalzw.js +1 -0
- package/out/phone/assets/github-light-EUqPIrTm.js +1 -0
- package/out/phone/assets/github-light-default-BXViO-2h.js +1 -0
- package/out/phone/assets/github-light-high-contrast-B68TUdTA.js +1 -0
- package/out/phone/assets/gleam-CSRkHgEL.js +1 -0
- package/out/phone/assets/glimmer-js-Di6EiJvU.js +1 -0
- package/out/phone/assets/glimmer-ts-C2P-EwIP.js +1 -0
- package/out/phone/assets/glsl-CyFpZtQv.js +1 -0
- package/out/phone/assets/gn-ilITqXS6.js +1 -0
- package/out/phone/assets/gnuplot-7GGW24-e.js +1 -0
- package/out/phone/assets/go-rLFTqkRN.js +1 -0
- package/out/phone/assets/graphlib-DS17s2tU.js +1 -0
- package/out/phone/assets/graphql-BIyAKkG2.js +1 -0
- package/out/phone/assets/groovy-CacY0gHj.js +1 -0
- package/out/phone/assets/gruvbox-dark-hard-C820rvS2.js +1 -0
- package/out/phone/assets/gruvbox-dark-medium-BPjhmG05.js +1 -0
- package/out/phone/assets/gruvbox-dark-soft-MrdJrrXF.js +1 -0
- package/out/phone/assets/gruvbox-light-hard-BC_s9l72.js +1 -0
- package/out/phone/assets/gruvbox-light-medium-BAWPOn9u.js +1 -0
- package/out/phone/assets/gruvbox-light-soft-BSMLrYjP.js +1 -0
- package/out/phone/assets/hack-DDi4pUY-.js +1 -0
- package/out/phone/assets/haml-Dds4VdNJ.js +1 -0
- package/out/phone/assets/handlebars-C81KA5yo.js +1 -0
- package/out/phone/assets/haskell-D8IpX4py.js +1 -0
- package/out/phone/assets/haxe-C8oCnwJJ.js +1 -0
- package/out/phone/assets/hcl-Dh228itO.js +1 -0
- package/out/phone/assets/hjson-CxZEssPk.js +1 -0
- package/out/phone/assets/hlsl-Cvrh5tZx.js +1 -0
- package/out/phone/assets/horizon-CE9ld1lL.js +1 -0
- package/out/phone/assets/horizon-bright-DSNQnXHK.js +1 -0
- package/out/phone/assets/houston-CsvMBhTu.js +1 -0
- package/out/phone/assets/html-BsvMqTlf.js +1 -0
- package/out/phone/assets/html-derivative-D9FvRNj4.js +1 -0
- package/out/phone/assets/http-c4_vT9ST.js +1 -0
- package/out/phone/assets/hurl-BqZA9I9Q.js +1 -0
- package/out/phone/assets/hxml-Dcm88srW.js +1 -0
- package/out/phone/assets/hy-CZbG8q4J.js +1 -0
- package/out/phone/assets/imba-DsUTQ-LC.js +1 -0
- package/out/phone/assets/info-A6RAGUB7-BXuZDF4f.js +1 -0
- package/out/phone/assets/infoDiagram-27XIBGKW-BzEFVoGV.js +2 -0
- package/out/phone/assets/ini-B5eOa1yu.js +1 -0
- package/out/phone/assets/init-C-OQMol4.js +1 -0
- package/out/phone/assets/ishikawaDiagram-5VMMS53U-CqzxZls6.js +70 -0
- package/out/phone/assets/java-D7h0NA_A.js +1 -0
- package/out/phone/assets/javascript-DcMHgNcu.js +1 -0
- package/out/phone/assets/jinja-CixBDh_U.js +1 -0
- package/out/phone/assets/jison-Ru_S5AEn.js +1 -0
- package/out/phone/assets/journeyDiagram-3NMN7TZE-BUZ_Ec1_.js +139 -0
- package/out/phone/assets/jsQR-B1eQcpQl.js +1 -0
- package/out/phone/assets/json-DePJdKYk.js +1 -0
- package/out/phone/assets/json5-BR5RXkoi.js +1 -0
- package/out/phone/assets/jsonc-CYpm1nAK.js +1 -0
- package/out/phone/assets/jsonl-CmCQp5Yx.js +1 -0
- package/out/phone/assets/jsonnet-CJTPZ8u_.js +1 -0
- package/out/phone/assets/jssm-DXw9l8Rf.js +1 -0
- package/out/phone/assets/jsx-BUUYi3qs.js +1 -0
- package/out/phone/assets/julia-CaY0JZD0.js +1 -0
- package/out/phone/assets/just-Q4EdCjF5.js +1 -0
- package/out/phone/assets/kanagawa-dragon-Bozd7klA.js +1 -0
- package/out/phone/assets/kanagawa-lotus-BmuOG9ZW.js +1 -0
- package/out/phone/assets/kanagawa-wave-BML5mF2J.js +1 -0
- package/out/phone/assets/kanban-definition-UXKFOSKX-CGqYB68a.js +89 -0
- package/out/phone/assets/katex-CXMH3UgJ.js +257 -0
- package/out/phone/assets/kdl-CsD5j6eV.js +1 -0
- package/out/phone/assets/kotlin-DhhofPvG.js +1 -0
- package/out/phone/assets/kusto-C7mF5XQf.js +1 -0
- package/out/phone/assets/laserwave-C_8bwKvT.js +1 -0
- package/out/phone/assets/latex-t1iljvl0.js +1 -0
- package/out/phone/assets/lean-CewbzKMR.js +1 -0
- package/out/phone/assets/less-DVTAwKKz.js +1 -0
- package/out/phone/assets/light-plus-DVQuIRkW.js +1 -0
- package/out/phone/assets/line-4xV-GxLd.js +1 -0
- package/out/phone/assets/linear-n-3HSMUF.js +1 -0
- package/out/phone/assets/liquid-DEL4RHa9.js +1 -0
- package/out/phone/assets/llvm-DqHOMS-s.js +1 -0
- package/out/phone/assets/log-BNLmms1o.js +1 -0
- package/out/phone/assets/logo-Cluzi2Zq.js +1 -0
- package/out/phone/assets/lua-Z49wBRLR.js +1 -0
- package/out/phone/assets/luau-C2pBCSgt.js +1 -0
- package/out/phone/assets/main-BRzVEcO0.js +1626 -0
- package/out/phone/assets/main-J3o3XX7C.css +1 -0
- package/out/phone/assets/make-Dixweg8N.js +1 -0
- package/out/phone/assets/markdown-BYOwaDjH.js +1 -0
- package/out/phone/assets/marko-DYWPPmCl.js +1 -0
- package/out/phone/assets/material-theme-Bm3Qr25_.js +1 -0
- package/out/phone/assets/material-theme-darker-2IIEA8gg.js +1 -0
- package/out/phone/assets/material-theme-lighter-uhdI0v04.js +1 -0
- package/out/phone/assets/material-theme-ocean-CHQ94UKr.js +1 -0
- package/out/phone/assets/material-theme-palenight-B5W6OYN7.js +1 -0
- package/out/phone/assets/matlab-D7qyCx1q.js +1 -0
- package/out/phone/assets/mdc-CsAWFGA9.js +1 -0
- package/out/phone/assets/mdx-DQZ5AkYe.js +1 -0
- package/out/phone/assets/mermaid-BxpfTIzt.js +1 -0
- package/out/phone/assets/mermaid-parser.core-CWazhUdP.js +7 -0
- package/out/phone/assets/mermaid.core-uPr3mNB_.js +44 -0
- package/out/phone/assets/min-dark-BSWPekZh.js +1 -0
- package/out/phone/assets/min-light-DDpmG2fV.js +1 -0
- package/out/phone/assets/mindmap-definition-YA3MSWOX-DQMhX2hJ.js +96 -0
- package/out/phone/assets/mipsasm-BMqwQI7S.js +1 -0
- package/out/phone/assets/mojo-fg40_ntQ.js +1 -0
- package/out/phone/assets/monokai-B_bV9PQ9.js +1 -0
- package/out/phone/assets/moonbit-DgjMoLWr.js +1 -0
- package/out/phone/assets/move-BYnGhZoM.js +1 -0
- package/out/phone/assets/narrat-_X_XdTYD.js +1 -0
- package/out/phone/assets/nextflow-BJtWHP5T.js +1 -0
- package/out/phone/assets/nextflow-groovy-DJMQeKeT.js +1 -0
- package/out/phone/assets/nginx-BrbrEdla.js +1 -0
- package/out/phone/assets/night-owl-DhmEMT88.js +1 -0
- package/out/phone/assets/night-owl-light-eJ-hLW7d.js +1 -0
- package/out/phone/assets/nim-BjwzhXka.js +1 -0
- package/out/phone/assets/nix-IvuFDN5E.js +1 -0
- package/out/phone/assets/nord-Cb4Vim4T.js +1 -0
- package/out/phone/assets/nsis-CjNLYCLg.js +1 -0
- package/out/phone/assets/nushell-DHYfO66s.js +1 -0
- package/out/phone/assets/objective-c-D1A_Heim.js +1 -0
- package/out/phone/assets/objective-cpp-BsSzOQcm.js +1 -0
- package/out/phone/assets/ocaml-O90oeIOV.js +1 -0
- package/out/phone/assets/odin-B1RWQWA5.js +1 -0
- package/out/phone/assets/one-dark-pro-CLwyXe_n.js +1 -0
- package/out/phone/assets/one-light-D7Lr4KcI.js +1 -0
- package/out/phone/assets/openscad-BUDT5pXO.js +1 -0
- package/out/phone/assets/ordinal-BDEzSJ7C.js +1 -0
- package/out/phone/assets/org-TFl3N09_.js +1 -0
- package/out/phone/assets/packet-AYTQ26CC--MQV7EpA.js +1 -0
- package/out/phone/assets/pascal-4ZHwLPI5.js +1 -0
- package/out/phone/assets/path-fybaL0A-.js +1 -0
- package/out/phone/assets/pegDiagram-XKGWAZYB-DKT8F42l.js +1 -0
- package/out/phone/assets/perl-BtArmf81.js +1 -0
- package/out/phone/assets/php-Cx25uSIP.js +1 -0
- package/out/phone/assets/pie-WAS4IAKB-C3YJ4E0K.js +1 -0
- package/out/phone/assets/pieDiagram-E7YTZNPT-WCuvt6DR.js +39 -0
- package/out/phone/assets/pierre-dark-CpLgRqie.js +1 -0
- package/out/phone/assets/pierre-dark-protanopia-deuteranopia-B35FxJx-.js +1 -0
- package/out/phone/assets/pierre-dark-soft-kZQmAZld.js +1 -0
- package/out/phone/assets/pierre-dark-tritanopia-CpjhbsIL.js +1 -0
- package/out/phone/assets/pierre-dark-vibrant-CpQYzh95.js +1 -0
- package/out/phone/assets/pierre-light-CoaEpmwp.js +1 -0
- package/out/phone/assets/pierre-light-protanopia-deuteranopia-0fSaH845.js +1 -0
- package/out/phone/assets/pierre-light-soft-lWLdNTOI.js +1 -0
- package/out/phone/assets/pierre-light-tritanopia-CEbqgOJL.js +1 -0
- package/out/phone/assets/pierre-light-vibrant-D80Fkn33.js +1 -0
- package/out/phone/assets/pkl-ot-7Btpt.js +1 -0
- package/out/phone/assets/plastic-DQwYfKfQ.js +1 -0
- package/out/phone/assets/plsql-DGHpHOYJ.js +1 -0
- package/out/phone/assets/po-BiJDBrnU.js +1 -0
- package/out/phone/assets/poimandres-DRFjx7u4.js +1 -0
- package/out/phone/assets/polar-C7UOKdEL.js +1 -0
- package/out/phone/assets/postcss-BXeXVLqQ.js +1 -0
- package/out/phone/assets/powerquery-DNMTfnFr.js +1 -0
- package/out/phone/assets/powershell-CCSX75yM.js +1 -0
- package/out/phone/assets/prisma-DMgNhnYS.js +1 -0
- package/out/phone/assets/prolog-iXnhIJG7.js +1 -0
- package/out/phone/assets/proto-DB4EqR-F.js +1 -0
- package/out/phone/assets/pug-B4bk2kWf.js +1 -0
- package/out/phone/assets/puppet-CDv2pdJW.js +1 -0
- package/out/phone/assets/purescript-9MfHhQsQ.js +1 -0
- package/out/phone/assets/python-gzcpVVnB.js +1 -0
- package/out/phone/assets/qml-g4UDed-8.js +1 -0
- package/out/phone/assets/qmldir-DCQb3MpD.js +1 -0
- package/out/phone/assets/qss-Fe1Jh2GI.js +1 -0
- package/out/phone/assets/quadrantDiagram-AXDQQJYC-BMZcEdAY.js +7 -0
- package/out/phone/assets/r-CvCSiWB_.js +1 -0
- package/out/phone/assets/racket-DcIDlBhZ.js +1 -0
- package/out/phone/assets/radar-RG4KPBEZ-Bkngi7mP.js +1 -0
- package/out/phone/assets/railroad-74A4TZTK-ConFcGHQ.js +1 -0
- package/out/phone/assets/railroad-abnf-HS5TGJTU-ro6K5G-P.js +1 -0
- package/out/phone/assets/railroad-ebnf-LZEXJU2U-_AmvO1_Q.js +1 -0
- package/out/phone/assets/railroad-peg-WCYAUIDC-CarWCbDL.js +1 -0
- package/out/phone/assets/railroadDiagram-O6MQD6OU-vlaFld5I.js +1 -0
- package/out/phone/assets/raku-B3gFvitq.js +1 -0
- package/out/phone/assets/razor-BSt2ayLr.js +1 -0
- package/out/phone/assets/rbs-C0MpOrj4.js +1 -0
- package/out/phone/assets/red-DX1BQOs8.js +1 -0
- package/out/phone/assets/reg-CRGYupPL.js +1 -0
- package/out/phone/assets/regexp-I2jnduhj.js +1 -0
- package/out/phone/assets/rel-BtDbiS_P.js +1 -0
- package/out/phone/assets/requirementDiagram-BXWQKSXE-DDJtB2mq.js +84 -0
- package/out/phone/assets/riscv-Ckw8ddFX.js +1 -0
- package/out/phone/assets/rolldown-runtime-Dd_uD5pT.js +1 -0
- package/out/phone/assets/ron-VUp2lXgN.js +1 -0
- package/out/phone/assets/rose-pine-aMsaMD1D.js +1 -0
- package/out/phone/assets/rose-pine-dawn-8PwUyIlP.js +1 -0
- package/out/phone/assets/rose-pine-moon-DO-qXg-I.js +1 -0
- package/out/phone/assets/rosmsg-CAekHB0j.js +1 -0
- package/out/phone/assets/rough.esm-Dy-Kn_BL.js +1 -0
- package/out/phone/assets/rst-BucurtmO.js +1 -0
- package/out/phone/assets/ruby-D1ky9XZ0.js +1 -0
- package/out/phone/assets/rust-Cfkwpbl8.js +1 -0
- package/out/phone/assets/sankeyDiagram-P5KCCOFB-BE29ANL7.js +40 -0
- package/out/phone/assets/sas-CUQt684o.js +1 -0
- package/out/phone/assets/sass-DXrisJhu.js +1 -0
- package/out/phone/assets/scala-BiFt_7mu.js +1 -0
- package/out/phone/assets/scheme-DQCgrYNe.js +1 -0
- package/out/phone/assets/scss-BaZL6t2Y.js +1 -0
- package/out/phone/assets/sdbl-bTVj8UrX.js +1 -0
- package/out/phone/assets/sequenceDiagram-WJ2MYXX4-BgXfAzTQ.js +162 -0
- package/out/phone/assets/shaderlab-TOUzSsQk.js +1 -0
- package/out/phone/assets/shellscript-B51zB43X.js +1 -0
- package/out/phone/assets/shellsession-B-KBpmJs.js +1 -0
- package/out/phone/assets/sizeCapture-INFHLROL-B0uUizjq.js +1 -0
- package/out/phone/assets/slack-dark-DnToyrRv.js +1 -0
- package/out/phone/assets/slack-ochin-B2OO5cIa.js +1 -0
- package/out/phone/assets/smalltalk-BHpQb5nM.js +1 -0
- package/out/phone/assets/smithy-Dgaz7aur.js +1 -0
- package/out/phone/assets/snazzy-light-4G7pJPwS.js +1 -0
- package/out/phone/assets/solarized-dark-UdsmMDCL.js +1 -0
- package/out/phone/assets/solarized-light-C1IUL_tW.js +1 -0
- package/out/phone/assets/solidity-Bj7E1mRn.js +1 -0
- package/out/phone/assets/soy-D5xCHD_M.js +1 -0
- package/out/phone/assets/sparql-D_iOobhT.js +1 -0
- package/out/phone/assets/splunk-BC2Px7Mm.js +1 -0
- package/out/phone/assets/sql-DvarVTMJ.js +1 -0
- package/out/phone/assets/src-oBChb5qS.js +1 -0
- package/out/phone/assets/ssh-config-BgfXC-Er.js +1 -0
- package/out/phone/assets/stata-8TbiBYrm.js +1 -0
- package/out/phone/assets/stateDiagram-D77RDMKH-BXEeCzLp.js +1 -0
- package/out/phone/assets/stateDiagram-v2-MP3YSRHH-D7ug_mka.js +1 -0
- package/out/phone/assets/storage-XVpAo_5O.js +1 -0
- package/out/phone/assets/stylus-B6D30XZt.js +1 -0
- package/out/phone/assets/surrealql-DalIYx4r.js +1 -0
- package/out/phone/assets/svelte-D4FIy7cP.js +1 -0
- package/out/phone/assets/swift-CyEgAFGc.js +1 -0
- package/out/phone/assets/swimlanes-42K2YHIH-CNYD9hWb.js +1 -0
- package/out/phone/assets/swimlanesDiagram-VR7AAH4N-DihAAFZH.js +8 -0
- package/out/phone/assets/synthwave-84-nFMaYfgc.js +1 -0
- package/out/phone/assets/system-verilog-Dh5ihWbf.js +1 -0
- package/out/phone/assets/systemd-BxMlprV5.js +1 -0
- package/out/phone/assets/talonscript-CohzipZa.js +1 -0
- package/out/phone/assets/tasl-DMoTqEGO.js +1 -0
- package/out/phone/assets/tcl-CZd0xW_V.js +1 -0
- package/out/phone/assets/templ-DP4lTcEq.js +1 -0
- package/out/phone/assets/terraform-DswuEJGm.js +1 -0
- package/out/phone/assets/tex-JPaUWOrn.js +1 -0
- package/out/phone/assets/timeline-definition-24CTP7MA-B34iHcRi.js +120 -0
- package/out/phone/assets/tokyo-night-oM2G3aXe.js +1 -0
- package/out/phone/assets/toml-CcmNWLt0.js +1 -0
- package/out/phone/assets/treeView-Q6P3EWNA-C9bXQ-TU.js +1 -0
- package/out/phone/assets/treemap-WGGIJYW6-LtNmJYia.js +1 -0
- package/out/phone/assets/ts-tags-CNUq3so9.js +1 -0
- package/out/phone/assets/tsv-sltzmVWM.js +1 -0
- package/out/phone/assets/tsx-DvWhG4dC.js +1 -0
- package/out/phone/assets/turtle-ByJddavk.js +1 -0
- package/out/phone/assets/twig-Chu5fnNS.js +1 -0
- package/out/phone/assets/typescript-BTGs5etX.js +1 -0
- package/out/phone/assets/typespec-BRdr0IET.js +1 -0
- package/out/phone/assets/typst--WwEKe8X.js +1 -0
- package/out/phone/assets/v-DBj4K9d_.js +1 -0
- package/out/phone/assets/vala-zf12oZj6.js +1 -0
- package/out/phone/assets/vb-DOwzaHZ0.js +1 -0
- package/out/phone/assets/vennDiagram-4TSXK5OY-DmSF3N-m.js +34 -0
- package/out/phone/assets/verilog-B2gwz-sJ.js +1 -0
- package/out/phone/assets/vesper-DdrHHSXu.js +1 -0
- package/out/phone/assets/vhdl-BroJfC0k.js +1 -0
- package/out/phone/assets/viml-DvXPmvsu.js +1 -0
- package/out/phone/assets/vitesse-black-fwtXNY1n.js +1 -0
- package/out/phone/assets/vitesse-dark-BZCL-v6S.js +1 -0
- package/out/phone/assets/vitesse-light-VbXTXTou.js +1 -0
- package/out/phone/assets/vue-DjCn01CB.js +1 -0
- package/out/phone/assets/vue-html-BXjKVtKk.js +1 -0
- package/out/phone/assets/vue-vine-By_xyXdL.js +1 -0
- package/out/phone/assets/vyper-CgoNMtux.js +1 -0
- package/out/phone/assets/wardley-WFR3VGLG-DjnxuhK_.js +1 -0
- package/out/phone/assets/wardleyDiagram-VM6X3IG4-D5KJWGJd.js +78 -0
- package/out/phone/assets/wasm-BnjxR4X6.js +1 -0
- package/out/phone/assets/wasm-ByWQv1Qj.js +1 -0
- package/out/phone/assets/wenyan-C8pVoKbM.js +1 -0
- package/out/phone/assets/wgsl-BsKzXJz4.js +1 -0
- package/out/phone/assets/wikitext-ClFFjSW2.js +1 -0
- package/out/phone/assets/wit-DdvCle-K.js +1 -0
- package/out/phone/assets/wolfram-DLL8P-h_.js +1 -0
- package/out/phone/assets/xml-C01ajBW7.js +1 -0
- package/out/phone/assets/xsl-CCLNyvR3.js +1 -0
- package/out/phone/assets/xychartDiagram-S5SC5T6Z-Dgjyk0ME.js +7 -0
- package/out/phone/assets/yaml-BWCS3NLV.js +1 -0
- package/out/phone/assets/zenscript-BnlCZFoB.js +1 -0
- package/out/phone/assets/zig-CMLA9XwU.js +1 -0
- package/out/phone/desk.html +144 -0
- package/out/phone/icons/apple-touch-icon.png +0 -0
- package/out/phone/icons/icon-192.png +0 -0
- package/out/phone/icons/icon-512.png +0 -0
- package/out/phone/icons/icon-maskable-512.png +0 -0
- package/out/phone/index.html +36 -0
- package/out/phone/manifest.webmanifest +30 -0
- package/out/phone/sw.js +176 -0
- package/out/renderer/assets/{abnfDiagram-VCTEODGH-BDMrRlBj.js → abnfDiagram-VCTEODGH-DdK4JluI.js} +1 -1
- package/out/renderer/assets/{arc-BHxAM6vy.js → arc-C3Tu0xaJ.js} +1 -1
- package/out/renderer/assets/{architectureDiagram-5GKGNRK7-DQrws1sS.js → architectureDiagram-5GKGNRK7-PLJjUx-Q.js} +1 -1
- package/out/renderer/assets/{blockDiagram-I7D4REHJ-DNVn9Vt7.js → blockDiagram-I7D4REHJ-BRttER_B.js} +1 -1
- package/out/renderer/assets/{c4Diagram-7LVT6UL2--LtDB-qV.js → c4Diagram-7LVT6UL2-DSrqw52f.js} +1 -1
- package/out/renderer/assets/channel-EreZfF5O.js +1 -0
- package/out/renderer/assets/{chunk-2Q5K7J3B-t33NDV5v.js → chunk-2Q5K7J3B-Dz64b8RH.js} +1 -1
- package/out/renderer/assets/{chunk-5VM5RSS4-aCGmL6_s.js → chunk-5VM5RSS4-BECaJI5N.js} +1 -1
- package/out/renderer/assets/{chunk-F27PBJKO-DQvndxlp.js → chunk-F27PBJKO-S2N-gAv4.js} +1 -1
- package/out/renderer/assets/{chunk-IMKFNOWR-rH1b7xzl.js → chunk-IMKFNOWR-Br9OVSHs.js} +1 -1
- package/out/renderer/assets/{chunk-JWPE2WC7-B7-2fQn6.js → chunk-JWPE2WC7-BuWr_Gi3.js} +1 -1
- package/out/renderer/assets/{chunk-POPQ4Y6H-CVYzlJTE.js → chunk-POPQ4Y6H-DD1X7wFN.js} +1 -1
- package/out/renderer/assets/{chunk-SVP7TREG-v3eUqihT.js → chunk-SVP7TREG-CEwQQJCq.js} +1 -1
- package/out/renderer/assets/{chunk-TICWLB2K-Dq2BsFU4.js → chunk-TICWLB2K-DWxoeJ_a.js} +1 -1
- package/out/renderer/assets/{chunk-XXDRQBXY-DjMnIDLm.js → chunk-XXDRQBXY-BkGqzo8s.js} +1 -1
- package/out/renderer/assets/classDiagram-ZZMXUADV-C0LACBLd.js +1 -0
- package/out/renderer/assets/classDiagram-v2-VYDZK3BY-C0LACBLd.js +1 -0
- package/out/renderer/assets/{cose-bilkent-JH36ORCC-DAUPCDab.js → cose-bilkent-JH36ORCC-C3IrUgep.js} +1 -1
- package/out/renderer/assets/{cynefin-OW5HDTMX-DBni0eSw.js → cynefin-OW5HDTMX-CFjRbSdS.js} +1 -1
- package/out/renderer/assets/{cynefinDiagram-5FMLGOSQ-n0u0erlW.js → cynefinDiagram-5FMLGOSQ-DrDEW-bJ.js} +1 -1
- package/out/renderer/assets/{cytoscape-fcose-DVQaQP2R.js → cytoscape-fcose-Fb8TxDQE.js} +1 -1
- package/out/renderer/assets/{dagre-GXQ25YYZ-B-0jlzO1.js → dagre-GXQ25YYZ-I36iN-TB.js} +1 -1
- package/out/renderer/assets/{diagram-S7CK7UJ4-BxXw3viF.js → diagram-S7CK7UJ4-BnpSNo2U.js} +1 -1
- package/out/renderer/assets/{diagram-UQ7AKVKN-BCCjG-ot.js → diagram-UQ7AKVKN-CLSTSMpT.js} +1 -1
- package/out/renderer/assets/{diagram-VSXAHHWV-BK0zhBZp.js → diagram-VSXAHHWV-CYWKB94O.js} +1 -1
- package/out/renderer/assets/{diagram-VX7I27RA-DylHuw1A.js → diagram-VX7I27RA-CiccNLLJ.js} +1 -1
- package/out/renderer/assets/{diagram-Z3DM3KII-biplaxsX.js → diagram-Z3DM3KII-CMa0FQvK.js} +1 -1
- package/out/renderer/assets/{ebnfDiagram-PWID7BFC-DzoKjl97.js → ebnfDiagram-PWID7BFC-D9ixbwCW.js} +1 -1
- package/out/renderer/assets/{erDiagram-RLTQ6QDP-CxhgKPs-.js → erDiagram-RLTQ6QDP-CNrNtPX7.js} +1 -1
- package/out/renderer/assets/{flowDiagram-HODETNUW-DCi3FHwP.js → flowDiagram-HODETNUW-Db6JwvNt.js} +1 -1
- package/out/renderer/assets/{ganttDiagram-EL5Y4UJY-BCmOcEsS.js → ganttDiagram-EL5Y4UJY-DJnwFeHI.js} +1 -1
- package/out/renderer/assets/{gitGraphDiagram-WWUBYQGX-CWwjuui-.js → gitGraphDiagram-WWUBYQGX-CImEr0sA.js} +1 -1
- package/out/renderer/assets/{globals-BwNQF72D.js → globals-dEmzc9xm.js} +1 -1
- package/out/renderer/assets/{index-CzysFMwH.js → index-CRQPDSxu.js} +57 -57
- package/out/renderer/assets/{infoDiagram-27XIBGKW-C2vV0S3R.js → infoDiagram-27XIBGKW-CISUaweB.js} +1 -1
- package/out/renderer/assets/{ishikawaDiagram-5VMMS53U-BSWVe4Qr.js → ishikawaDiagram-5VMMS53U--mjk3ZnD.js} +1 -1
- package/out/renderer/assets/{journeyDiagram-3NMN7TZE-D_D_AgW8.js → journeyDiagram-3NMN7TZE-Ccb8p_Gi.js} +1 -1
- package/out/renderer/assets/{kanban-definition-UXKFOSKX-Dp-tJLJV.js → kanban-definition-UXKFOSKX-ahWZlDgr.js} +1 -1
- package/out/renderer/assets/{layout-BGyL6Nz9.js → layout-JHtZhGkd.js} +1 -1
- package/out/renderer/assets/{linear-NiGqkXcf.js → linear-CiRKfaMD.js} +1 -1
- package/out/renderer/assets/{mermaid.core-CAbX6U-E.js → mermaid.core-1Md-4wKR.js} +5 -5
- package/out/renderer/assets/{mindmap-definition-YA3MSWOX-C_KTsCSk.js → mindmap-definition-YA3MSWOX-CGqaSO2p.js} +1 -1
- package/out/renderer/assets/{pegDiagram-XKGWAZYB-BlEf-4SS.js → pegDiagram-XKGWAZYB-CqdmfX5L.js} +1 -1
- package/out/renderer/assets/{pieDiagram-E7YTZNPT-C2l9VhhT.js → pieDiagram-E7YTZNPT-C7DFu9hs.js} +1 -1
- package/out/renderer/assets/{quadrantDiagram-AXDQQJYC-Bkm2D1II.js → quadrantDiagram-AXDQQJYC-D2IFogXU.js} +1 -1
- package/out/renderer/assets/{railroadDiagram-O6MQD6OU-Cy9AsJch.js → railroadDiagram-O6MQD6OU-CqZN5gvm.js} +1 -1
- package/out/renderer/assets/{requirementDiagram-BXWQKSXE-DaqpZJ20.js → requirementDiagram-BXWQKSXE-B7pdNne4.js} +1 -1
- package/out/renderer/assets/{sankeyDiagram-P5KCCOFB-DShER0Cl.js → sankeyDiagram-P5KCCOFB-CZltFRIP.js} +1 -1
- package/out/renderer/assets/{sequenceDiagram-WJ2MYXX4-fA8_5PiI.js → sequenceDiagram-WJ2MYXX4-FS87uVdj.js} +1 -1
- package/out/renderer/assets/{settings-BwM2TgQ9.js → settings-CnuroHqZ.js} +2 -2
- package/out/renderer/assets/{sizeCapture-INFHLROL-CpzQOV5k.js → sizeCapture-INFHLROL-BISO2YGx.js} +1 -1
- package/out/renderer/assets/{stateDiagram-D77RDMKH-CIEGNnJO.js → stateDiagram-D77RDMKH-cJWkYs-j.js} +1 -1
- package/out/renderer/assets/stateDiagram-v2-MP3YSRHH-NE3FMcRP.js +1 -0
- package/out/renderer/assets/{swimlanes-42K2YHIH-CAeLgkB1.js → swimlanes-42K2YHIH-4oMYiWXz.js} +1 -1
- package/out/renderer/assets/swimlanesDiagram-VR7AAH4N-ChFhE3KJ.js +8 -0
- package/out/renderer/assets/{timeline-definition-24CTP7MA-CkWIsYs6.js → timeline-definition-24CTP7MA-4bRgv2xa.js} +1 -1
- package/out/renderer/assets/{vennDiagram-4TSXK5OY-Cus6U3uz.js → vennDiagram-4TSXK5OY-DXJvnPwS.js} +1 -1
- package/out/renderer/assets/{wardleyDiagram-VM6X3IG4-BJg1coTW.js → wardleyDiagram-VM6X3IG4-BXYCpL-Q.js} +1 -1
- package/out/renderer/assets/{xychartDiagram-S5SC5T6Z-DjRPfyub.js → xychartDiagram-S5SC5T6Z-CFWwLtGV.js} +1 -1
- package/out/renderer/index.html +2 -2
- package/out/renderer/settings.html +3 -3
- package/out/renderer/web-preload.js +1 -1
- package/out/server/agent.js +1 -1
- package/out/server/chunks/{gpuBackendInstall-CaDq8XnR.js → gpuBackendInstall-01PhfJrX.js} +9 -1
- package/out/server/index.js +5310 -568
- package/package.json +1 -1
- package/out/renderer/assets/channel-DIfxeADv.js +0 -1
- package/out/renderer/assets/classDiagram-ZZMXUADV-D8Q2hInV.js +0 -1
- package/out/renderer/assets/classDiagram-v2-VYDZK3BY-D8Q2hInV.js +0 -1
- package/out/renderer/assets/stateDiagram-v2-MP3YSRHH-DYbIahny.js +0 -1
- package/out/renderer/assets/swimlanesDiagram-VR7AAH4N-BLHkQmpd.js +0 -8
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{I as le}from"./chunk-2Q5K7J3B-t33NDV5v.js";import{p as he}from"./chunk-JWPE2WC7-B7-2fQn6.js";import{q as $e,p as fe,s as ge,g as ue,a as ye,b as xe,_ as h,A as J,l as w,j as me,c as W,z as pe,B as be,r as we,k as B,D as ke,E as ve,F as Ce}from"./mermaid.core-CAbX6U-E.js";import{p as Ee}from"./cynefin-OW5HDTMX-DBni0eSw.js";import"./globals-BwNQF72D.js";var m={NORMAL:0,REVERSE:1,HIGHLIGHT:2,MERGE:3,CHERRY_PICK:4},Be=ve.gitGraph,S=h(()=>ke({...Be,...J().gitGraph}),"getConfig"),d=new le(()=>{const e=S(),r=e.mainBranchName,t=e.mainBranchOrder;return{mainBranchName:r,commits:new Map,head:null,branchConfig:new Map([[r,{name:r,order:t}]]),branches:new Map([[r,null]]),currBranch:r,direction:"LR",seq:0,options:{}}});function Y(){return Ce({length:7})}h(Y,"getID");function te(e,r){const t=Object.create(null);return e.reduce((s,o)=>{const i=r(o);return t[i]||(t[i]=!0,s.push(o)),s},[])}h(te,"uniqBy");var Te=h(function(e){d.records.direction=e},"setDirection"),Le=h(function(e){w.debug("options str",e),e=e?.trim(),e=e||"{}";try{d.records.options=JSON.parse(e)}catch(r){w.error("error while parsing gitGraph options",r.message)}},"setOptions"),Me=h(function(){return d.records.options},"getOptions"),Re=h(function(e){let r=e.msg,t=e.id;const s=e.type;let o=e.tags;w.info("commit",r,t,s,o),w.debug("Entering commit:",r,t,s,o);const i=S();t=B.sanitizeText(t,i),r=B.sanitizeText(r,i),o=o?.map(a=>B.sanitizeText(a,i));const n={id:t||d.records.seq+"-"+Y(),message:r,seq:d.records.seq++,type:s??m.NORMAL,tags:o??[],parents:d.records.head==null?[]:[d.records.head.id],branch:d.records.currBranch};d.records.head=n,w.info("main branch",i.mainBranchName),d.records.commits.has(n.id)&&w.warn(`Commit ID ${n.id} already exists`),d.records.commits.set(n.id,n),d.records.branches.set(d.records.currBranch,n.id),w.debug("in pushCommit "+n.id)},"commit"),Ie=h(function(e){let r=e.name;const t=e.order;if(r=B.sanitizeText(r,S()),d.records.branches.has(r))throw new Error(`Trying to create an existing branch. (Help: Either use a new name if you want create a new branch or try using "checkout ${r}")`);d.records.branches.set(r,d.records.head!=null?d.records.head.id:null),d.records.branchConfig.set(r,{name:r,order:t}),ae(r),w.debug("in createBranch")},"branch"),Oe=h(e=>{let r=e.branch,t=e.id;const s=e.type,o=e.tags,i=S();r=B.sanitizeText(r,i),t&&(t=B.sanitizeText(t,i));const n=d.records.branches.get(d.records.currBranch),a=d.records.branches.get(r),l=n?d.records.commits.get(n):void 0,f=a?d.records.commits.get(a):void 0;if(l&&f&&l.branch===r)throw new Error(`Cannot merge branch '${r}' into itself.`);if(d.records.currBranch===r){const c=new Error('Incorrect usage of "merge". Cannot merge a branch to itself');throw c.hash={text:`merge ${r}`,token:`merge ${r}`,expected:["branch abc"]},c}if(l===void 0||!l){const c=new Error(`Incorrect usage of "merge". Current branch (${d.records.currBranch})has no commits`);throw c.hash={text:`merge ${r}`,token:`merge ${r}`,expected:["commit"]},c}if(!d.records.branches.has(r)){const c=new Error('Incorrect usage of "merge". Branch to be merged ('+r+") does not exist");throw c.hash={text:`merge ${r}`,token:`merge ${r}`,expected:[`branch ${r}`]},c}if(f===void 0||!f){const c=new Error('Incorrect usage of "merge". Branch to be merged ('+r+") has no commits");throw c.hash={text:`merge ${r}`,token:`merge ${r}`,expected:['"commit"']},c}if(l===f){const c=new Error('Incorrect usage of "merge". Both branches have same head');throw c.hash={text:`merge ${r}`,token:`merge ${r}`,expected:["branch abc"]},c}if(t&&d.records.commits.has(t)){const c=new Error('Incorrect usage of "merge". Commit with id:'+t+" already exists, use different custom id");throw c.hash={text:`merge ${r} ${t} ${s} ${o?.join(" ")}`,token:`merge ${r} ${t} ${s} ${o?.join(" ")}`,expected:[`merge ${r} ${t}_UNIQUE ${s} ${o?.join(" ")}`]},c}const g=a||"",$={id:t||`${d.records.seq}-${Y()}`,message:`merged branch ${r} into ${d.records.currBranch}`,seq:d.records.seq++,parents:d.records.head==null?[]:[d.records.head.id,g],branch:d.records.currBranch,type:m.MERGE,customType:s,customId:!!t,tags:o??[]};d.records.head=$,d.records.commits.set($.id,$),d.records.branches.set(d.records.currBranch,$.id),w.debug(d.records.branches),w.debug("in mergeBranch")},"merge"),_e=h(function(e){let r=e.id,t=e.targetId,s=e.tags,o=e.parent;w.debug("Entering cherryPick:",r,t,s);const i=S();if(r=B.sanitizeText(r,i),t=B.sanitizeText(t,i),s=s?.map(l=>B.sanitizeText(l,i)),o=B.sanitizeText(o,i),!r||!d.records.commits.has(r)){const l=new Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');throw l.hash={text:`cherryPick ${r} ${t}`,token:`cherryPick ${r} ${t}`,expected:["cherry-pick abc"]},l}const n=d.records.commits.get(r);if(n===void 0||!n)throw new Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');if(o&&!(Array.isArray(n.parents)&&n.parents.includes(o)))throw new Error("Invalid operation: The specified parent commit is not an immediate parent of the cherry-picked commit.");const a=n.branch;if(n.type===m.MERGE&&!o)throw new Error("Incorrect usage of cherry-pick: If the source commit is a merge commit, an immediate parent commit must be specified.");if(!t||!d.records.commits.has(t)){if(a===d.records.currBranch){const $=new Error('Incorrect usage of "cherryPick". Source commit is already on current branch');throw $.hash={text:`cherryPick ${r} ${t}`,token:`cherryPick ${r} ${t}`,expected:["cherry-pick abc"]},$}const l=d.records.branches.get(d.records.currBranch);if(l===void 0||!l){const $=new Error(`Incorrect usage of "cherry-pick". Current branch (${d.records.currBranch})has no commits`);throw $.hash={text:`cherryPick ${r} ${t}`,token:`cherryPick ${r} ${t}`,expected:["cherry-pick abc"]},$}const f=d.records.commits.get(l);if(f===void 0||!f){const $=new Error(`Incorrect usage of "cherry-pick". Current branch (${d.records.currBranch})has no commits`);throw $.hash={text:`cherryPick ${r} ${t}`,token:`cherryPick ${r} ${t}`,expected:["cherry-pick abc"]},$}const g={id:d.records.seq+"-"+Y(),message:`cherry-picked ${n?.message} into ${d.records.currBranch}`,seq:d.records.seq++,parents:d.records.head==null?[]:[d.records.head.id,n.id],branch:d.records.currBranch,type:m.CHERRY_PICK,tags:s?s.filter(Boolean):[`cherry-pick:${n.id}${n.type===m.MERGE?`|parent:${o}`:""}`]};d.records.head=g,d.records.commits.set(g.id,g),d.records.branches.set(d.records.currBranch,g.id),w.debug(d.records.branches),w.debug("in cherryPick")}},"cherryPick"),ae=h(function(e){if(e=B.sanitizeText(e,S()),d.records.branches.has(e)){d.records.currBranch=e;const r=d.records.branches.get(d.records.currBranch);r===void 0||!r?d.records.head=null:d.records.head=d.records.commits.get(r)??null}else{const r=new Error(`Trying to checkout branch which is not yet created. (Help try using "branch ${e}")`);throw r.hash={text:`checkout ${e}`,token:`checkout ${e}`,expected:[`branch ${e}`]},r}},"checkout");function V(e,r,t){const s=e.indexOf(r);s===-1?e.push(t):e.splice(s,1,t)}h(V,"upsert");function Q(e){const r=e.reduce((o,i)=>o.seq>i.seq?o:i,e[0]);let t="";e.forEach(function(o){o===r?t+=" *":t+=" |"});const s=[t,r.id,r.seq];for(const o in d.records.branches)d.records.branches.get(o)===r.id&&s.push(o);if(w.debug(s.join(" ")),r.parents&&r.parents.length==2&&r.parents[0]&&r.parents[1]){const o=d.records.commits.get(r.parents[0]);V(e,r,o),r.parents[1]&&e.push(d.records.commits.get(r.parents[1]))}else{if(r.parents.length==0)return;if(r.parents[0]){const o=d.records.commits.get(r.parents[0]);V(e,r,o)}}e=te(e,o=>o.id),Q(e)}h(Q,"prettyPrintCommitHistory");var Ge=h(function(){w.debug(d.records.commits);const e=ne()[0];Q([e])},"prettyPrint"),He=h(function(){d.reset(),we()},"clear"),Se=h(function(){return[...d.records.branchConfig.values()].map((r,t)=>r.order!==null&&r.order!==void 0?r:{...r,order:parseFloat(`0.${t}`)}).sort((r,t)=>(r.order??0)-(t.order??0)).map(({name:r})=>({name:r}))},"getBranchesAsObjArray"),Ae=h(function(){return d.records.branches},"getBranches"),De=h(function(){return d.records.commits},"getCommits"),ne=h(function(){const e=[...d.records.commits.values()];return e.forEach(function(r){w.debug(r.id)}),e.sort((r,t)=>r.seq-t.seq),e},"getCommitsArray"),qe=h(function(){return d.records.currBranch},"getCurrentBranch"),Pe=h(function(){return d.records.direction},"getDirection"),We=h(function(){return d.records.head},"getHead"),se={commitType:m,getConfig:S,setDirection:Te,setOptions:Le,getOptions:Me,commit:Re,branch:Ie,merge:Oe,cherryPick:_e,checkout:ae,prettyPrint:Ge,clear:He,getBranchesAsObjArray:Se,getBranches:Ae,getCommits:De,getCommitsArray:ne,getCurrentBranch:qe,getDirection:Pe,getHead:We,setAccTitle:xe,getAccTitle:ye,getAccDescription:ue,setAccDescription:ge,setDiagramTitle:fe,getDiagramTitle:$e},Ne=h((e,r)=>{he(e,r),e.dir&&r.setDirection(e.dir);for(const t of e.statements)Fe(t,r)},"populate"),Fe=h((e,r)=>{const s={Commit:h(o=>r.commit(ze(o)),"Commit"),Branch:h(o=>r.branch(Ye(o)),"Branch"),Merge:h(o=>r.merge(je(o)),"Merge"),Checkout:h(o=>r.checkout(Ue(o)),"Checkout"),CherryPicking:h(o=>r.cherryPick(Ke(o)),"CherryPicking")}[e.$type];s?s(e):w.error(`Unknown statement type: ${e.$type}`)},"parseStatement"),ze=h(e=>({id:e.id,msg:e.message??"",type:e.type!==void 0?m[e.type]:m.NORMAL,tags:e.tags??void 0}),"parseCommit"),Ye=h(e=>({name:e.name,order:e.order??0}),"parseBranch"),je=h(e=>({branch:e.branch,id:e.id??"",type:e.type!==void 0?m[e.type]:void 0,tags:e.tags??void 0}),"parseMerge"),Ue=h(e=>e.branch,"parseCheckout"),Ke=h(e=>({id:e.id,targetId:"",tags:e.tags?.length===0?void 0:e.tags,parent:e.parent}),"parseCherryPicking"),Ve={parse:h(async e=>{const r=await Ee("gitGraph",e);w.debug(r),Ne(r,se)},"parse")},O=10,_=40,L=4,R=2,G=8,j=new Set(["redux","redux-dark","redux-color","redux-dark-color"]),X=12,Z=new Set(["redux-color","redux-dark-color"]),Xe=new Set(["dark","redux-dark","redux-dark-color","neo-dark"]),H=h((e,r,t=!1)=>t&&e>0?(e-1)%(r-1)+1:e%r,"calcColorIndex"),C=new Map,E=new Map,F=30,q=new Map,z=[],I=0,y="LR",Je=h(()=>{C.clear(),E.clear(),q.clear(),I=0,z=[],y="LR"},"clear"),oe=h(e=>{const r=document.createElementNS("http://www.w3.org/2000/svg","text");return(typeof e=="string"?e.split(/\\n|\n|<br\s*\/?>/gi):e).forEach(s=>{const o=document.createElementNS("http://www.w3.org/2000/svg","tspan");o.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),o.setAttribute("dy","1em"),o.setAttribute("x","0"),o.setAttribute("class","row"),o.textContent=s.trim(),r.appendChild(o)}),r},"drawText"),ce=h(e=>{let r,t,s;return y==="BT"?(t=h((o,i)=>o<=i,"comparisonFunc"),s=1/0):(t=h((o,i)=>o>=i,"comparisonFunc"),s=0),e.forEach(o=>{const i=y==="TB"||y=="BT"?E.get(o)?.y:E.get(o)?.x;i!==void 0&&t(i,s)&&(r=o,s=i)}),r},"findClosestParent"),Qe=h(e=>{let r="",t=1/0;return e.forEach(s=>{const o=E.get(s).y;o<=t&&(r=s,t=o)}),r||void 0},"findClosestParentBT"),Ze=h((e,r,t)=>{let s=t,o=t;const i=[];e.forEach(n=>{const a=r.get(n);if(!a)throw new Error(`Commit not found for key ${n}`);a.parents.length?(s=rr(a),o=Math.max(s,o)):i.push(a),tr(a,s)}),s=o,i.forEach(n=>{ar(n,s,t)}),e.forEach(n=>{const a=r.get(n);if(a?.parents.length){const l=Qe(a.parents);s=E.get(l).y-_,s<=o&&(o=s);const f=C.get(a.branch).pos,g=s-O;E.set(a.id,{x:f,y:g})}})},"setParallelBTPos"),er=h(e=>{const r=ce(e.parents.filter(s=>s!==null));if(!r)throw new Error(`Closest parent not found for commit ${e.id}`);const t=E.get(r)?.y;if(t===void 0)throw new Error(`Closest parent position not found for commit ${e.id}`);return t},"findClosestParentPos"),rr=h(e=>er(e)+_,"calculateCommitPosition"),tr=h((e,r)=>{const t=C.get(e.branch);if(!t)throw new Error(`Branch not found for commit ${e.id}`);const s=t.pos,o=r+O;return E.set(e.id,{x:s,y:o}),{x:s,y:o}},"setCommitPosition"),ar=h((e,r,t)=>{const s=C.get(e.branch);if(!s)throw new Error(`Branch not found for commit ${e.id}`);const o=r+t,i=s.pos;E.set(e.id,{x:i,y:o})},"setRootPosition"),nr=h((e,r,t,s,o,i)=>{const{theme:n}=W(),a=j.has(n??""),l=Z.has(n??""),f=Xe.has(n??"");if(i===m.HIGHLIGHT)e.append("rect").attr("x",t.x-10+(a?3:0)).attr("y",t.y-10+(a?3:0)).attr("width",a?14:20).attr("height",a?14:20).attr("class",`commit ${r.id} commit-highlight${H(o,G,l)} ${s}-outer`),e.append("rect").attr("x",t.x-6+(a?2:0)).attr("y",t.y-6+(a?2:0)).attr("width",a?8:12).attr("height",a?8:12).attr("class",`commit ${r.id} commit${H(o,G,l)} ${s}-inner`);else if(i===m.CHERRY_PICK)e.append("circle").attr("cx",t.x).attr("cy",t.y).attr("r",a?7:10).attr("class",`commit ${r.id} ${s}`),e.append("circle").attr("cx",t.x-3).attr("cy",t.y+2).attr("r",a?2.5:2.75).attr("fill",f?"#000000":"#fff").attr("class",`commit ${r.id} ${s}`),e.append("circle").attr("cx",t.x+3).attr("cy",t.y+2).attr("r",a?2.5:2.75).attr("fill",f?"#000000":"#fff").attr("class",`commit ${r.id} ${s}`),e.append("line").attr("x1",t.x+3).attr("y1",t.y+1).attr("x2",t.x).attr("y2",t.y-5).attr("stroke",f?"#000000":"#fff").attr("class",`commit ${r.id} ${s}`),e.append("line").attr("x1",t.x-3).attr("y1",t.y+1).attr("x2",t.x).attr("y2",t.y-5).attr("stroke",f?"#000000":"#fff").attr("class",`commit ${r.id} ${s}`);else{const g=e.append("circle");if(g.attr("cx",t.x),g.attr("cy",t.y),g.attr("r",a?7:10),g.attr("class",`commit ${r.id} commit${H(o,G,l)}`),i===m.MERGE){const $=e.append("circle");$.attr("cx",t.x),$.attr("cy",t.y),$.attr("r",a?5:6),$.attr("class",`commit ${s} ${r.id} commit${H(o,G,l)}`)}if(i===m.REVERSE){const $=e.append("path"),c=a?4:5;$.attr("d",`M ${t.x-c},${t.y-c}L${t.x+c},${t.y+c}M${t.x-c},${t.y+c}L${t.x+c},${t.y-c}`).attr("class",`commit ${s} ${r.id} commit${H(o,G,l)}`)}}},"drawCommitBullet"),sr=h((e,r,t,s,o)=>{if(r.type!==m.CHERRY_PICK&&(r.customId&&r.type===m.MERGE||r.type!==m.MERGE)&&o.showCommitLabel){const i=e.append("g"),n=i.insert("rect").attr("class","commit-label-bkg"),a=i.append("text").attr("x",s).attr("y",t.y+25).attr("class","commit-label").text(r.id),l=a.node()?.getBBox();if(l&&(n.attr("x",t.posWithOffset-l.width/2-R).attr("y",t.y+13.5).attr("width",l.width+2*R).attr("height",l.height+2*R),y==="TB"||y==="BT"?(n.attr("x",t.x-(l.width+4*L+5)).attr("y",t.y-12),a.attr("x",t.x-(l.width+4*L)).attr("y",t.y+l.height-12)):a.attr("x",t.posWithOffset-l.width/2),o.rotateCommitLabel))if(y==="TB"||y==="BT")a.attr("transform","rotate(-45, "+t.x+", "+t.y+")"),n.attr("transform","rotate(-45, "+t.x+", "+t.y+")");else{const f=-7.5-(l.width+10)/25*9.5,g=10+l.width/25*8.5;i.attr("transform","translate("+f+", "+g+") rotate(-45, "+s+", "+t.y+")")}}},"drawCommitLabel"),or=h((e,r,t,s)=>{if(r.tags.length>0){let o=0,i=0,n=0;const a=[];for(const l of r.tags.reverse()){const f=e.insert("polygon"),g=e.append("circle"),$=e.append("text").attr("y",t.y-16-o).attr("class","tag-label").text(l),c=$.node()?.getBBox();if(!c)throw new Error("Tag bbox not found");i=Math.max(i,c.width),n=Math.max(n,c.height),$.attr("x",t.posWithOffset-c.width/2),a.push({tag:$,hole:g,rect:f,yOffset:o}),o+=20}for(const{tag:l,hole:f,rect:g,yOffset:$}of a){const c=n/2,x=t.y-19.2-$;if(g.attr("class","tag-label-bkg").attr("points",`
|
|
1
|
+
import{I as le}from"./chunk-2Q5K7J3B-Dz64b8RH.js";import{p as he}from"./chunk-JWPE2WC7-BuWr_Gi3.js";import{q as $e,p as fe,s as ge,g as ue,a as ye,b as xe,_ as h,A as J,l as w,j as me,c as W,z as pe,B as be,r as we,k as B,D as ke,E as ve,F as Ce}from"./mermaid.core-1Md-4wKR.js";import{p as Ee}from"./cynefin-OW5HDTMX-CFjRbSdS.js";import"./globals-dEmzc9xm.js";var m={NORMAL:0,REVERSE:1,HIGHLIGHT:2,MERGE:3,CHERRY_PICK:4},Be=ve.gitGraph,S=h(()=>ke({...Be,...J().gitGraph}),"getConfig"),d=new le(()=>{const e=S(),r=e.mainBranchName,t=e.mainBranchOrder;return{mainBranchName:r,commits:new Map,head:null,branchConfig:new Map([[r,{name:r,order:t}]]),branches:new Map([[r,null]]),currBranch:r,direction:"LR",seq:0,options:{}}});function Y(){return Ce({length:7})}h(Y,"getID");function te(e,r){const t=Object.create(null);return e.reduce((s,o)=>{const i=r(o);return t[i]||(t[i]=!0,s.push(o)),s},[])}h(te,"uniqBy");var Te=h(function(e){d.records.direction=e},"setDirection"),Le=h(function(e){w.debug("options str",e),e=e?.trim(),e=e||"{}";try{d.records.options=JSON.parse(e)}catch(r){w.error("error while parsing gitGraph options",r.message)}},"setOptions"),Me=h(function(){return d.records.options},"getOptions"),Re=h(function(e){let r=e.msg,t=e.id;const s=e.type;let o=e.tags;w.info("commit",r,t,s,o),w.debug("Entering commit:",r,t,s,o);const i=S();t=B.sanitizeText(t,i),r=B.sanitizeText(r,i),o=o?.map(a=>B.sanitizeText(a,i));const n={id:t||d.records.seq+"-"+Y(),message:r,seq:d.records.seq++,type:s??m.NORMAL,tags:o??[],parents:d.records.head==null?[]:[d.records.head.id],branch:d.records.currBranch};d.records.head=n,w.info("main branch",i.mainBranchName),d.records.commits.has(n.id)&&w.warn(`Commit ID ${n.id} already exists`),d.records.commits.set(n.id,n),d.records.branches.set(d.records.currBranch,n.id),w.debug("in pushCommit "+n.id)},"commit"),Ie=h(function(e){let r=e.name;const t=e.order;if(r=B.sanitizeText(r,S()),d.records.branches.has(r))throw new Error(`Trying to create an existing branch. (Help: Either use a new name if you want create a new branch or try using "checkout ${r}")`);d.records.branches.set(r,d.records.head!=null?d.records.head.id:null),d.records.branchConfig.set(r,{name:r,order:t}),ae(r),w.debug("in createBranch")},"branch"),Oe=h(e=>{let r=e.branch,t=e.id;const s=e.type,o=e.tags,i=S();r=B.sanitizeText(r,i),t&&(t=B.sanitizeText(t,i));const n=d.records.branches.get(d.records.currBranch),a=d.records.branches.get(r),l=n?d.records.commits.get(n):void 0,f=a?d.records.commits.get(a):void 0;if(l&&f&&l.branch===r)throw new Error(`Cannot merge branch '${r}' into itself.`);if(d.records.currBranch===r){const c=new Error('Incorrect usage of "merge". Cannot merge a branch to itself');throw c.hash={text:`merge ${r}`,token:`merge ${r}`,expected:["branch abc"]},c}if(l===void 0||!l){const c=new Error(`Incorrect usage of "merge". Current branch (${d.records.currBranch})has no commits`);throw c.hash={text:`merge ${r}`,token:`merge ${r}`,expected:["commit"]},c}if(!d.records.branches.has(r)){const c=new Error('Incorrect usage of "merge". Branch to be merged ('+r+") does not exist");throw c.hash={text:`merge ${r}`,token:`merge ${r}`,expected:[`branch ${r}`]},c}if(f===void 0||!f){const c=new Error('Incorrect usage of "merge". Branch to be merged ('+r+") has no commits");throw c.hash={text:`merge ${r}`,token:`merge ${r}`,expected:['"commit"']},c}if(l===f){const c=new Error('Incorrect usage of "merge". Both branches have same head');throw c.hash={text:`merge ${r}`,token:`merge ${r}`,expected:["branch abc"]},c}if(t&&d.records.commits.has(t)){const c=new Error('Incorrect usage of "merge". Commit with id:'+t+" already exists, use different custom id");throw c.hash={text:`merge ${r} ${t} ${s} ${o?.join(" ")}`,token:`merge ${r} ${t} ${s} ${o?.join(" ")}`,expected:[`merge ${r} ${t}_UNIQUE ${s} ${o?.join(" ")}`]},c}const g=a||"",$={id:t||`${d.records.seq}-${Y()}`,message:`merged branch ${r} into ${d.records.currBranch}`,seq:d.records.seq++,parents:d.records.head==null?[]:[d.records.head.id,g],branch:d.records.currBranch,type:m.MERGE,customType:s,customId:!!t,tags:o??[]};d.records.head=$,d.records.commits.set($.id,$),d.records.branches.set(d.records.currBranch,$.id),w.debug(d.records.branches),w.debug("in mergeBranch")},"merge"),_e=h(function(e){let r=e.id,t=e.targetId,s=e.tags,o=e.parent;w.debug("Entering cherryPick:",r,t,s);const i=S();if(r=B.sanitizeText(r,i),t=B.sanitizeText(t,i),s=s?.map(l=>B.sanitizeText(l,i)),o=B.sanitizeText(o,i),!r||!d.records.commits.has(r)){const l=new Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');throw l.hash={text:`cherryPick ${r} ${t}`,token:`cherryPick ${r} ${t}`,expected:["cherry-pick abc"]},l}const n=d.records.commits.get(r);if(n===void 0||!n)throw new Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');if(o&&!(Array.isArray(n.parents)&&n.parents.includes(o)))throw new Error("Invalid operation: The specified parent commit is not an immediate parent of the cherry-picked commit.");const a=n.branch;if(n.type===m.MERGE&&!o)throw new Error("Incorrect usage of cherry-pick: If the source commit is a merge commit, an immediate parent commit must be specified.");if(!t||!d.records.commits.has(t)){if(a===d.records.currBranch){const $=new Error('Incorrect usage of "cherryPick". Source commit is already on current branch');throw $.hash={text:`cherryPick ${r} ${t}`,token:`cherryPick ${r} ${t}`,expected:["cherry-pick abc"]},$}const l=d.records.branches.get(d.records.currBranch);if(l===void 0||!l){const $=new Error(`Incorrect usage of "cherry-pick". Current branch (${d.records.currBranch})has no commits`);throw $.hash={text:`cherryPick ${r} ${t}`,token:`cherryPick ${r} ${t}`,expected:["cherry-pick abc"]},$}const f=d.records.commits.get(l);if(f===void 0||!f){const $=new Error(`Incorrect usage of "cherry-pick". Current branch (${d.records.currBranch})has no commits`);throw $.hash={text:`cherryPick ${r} ${t}`,token:`cherryPick ${r} ${t}`,expected:["cherry-pick abc"]},$}const g={id:d.records.seq+"-"+Y(),message:`cherry-picked ${n?.message} into ${d.records.currBranch}`,seq:d.records.seq++,parents:d.records.head==null?[]:[d.records.head.id,n.id],branch:d.records.currBranch,type:m.CHERRY_PICK,tags:s?s.filter(Boolean):[`cherry-pick:${n.id}${n.type===m.MERGE?`|parent:${o}`:""}`]};d.records.head=g,d.records.commits.set(g.id,g),d.records.branches.set(d.records.currBranch,g.id),w.debug(d.records.branches),w.debug("in cherryPick")}},"cherryPick"),ae=h(function(e){if(e=B.sanitizeText(e,S()),d.records.branches.has(e)){d.records.currBranch=e;const r=d.records.branches.get(d.records.currBranch);r===void 0||!r?d.records.head=null:d.records.head=d.records.commits.get(r)??null}else{const r=new Error(`Trying to checkout branch which is not yet created. (Help try using "branch ${e}")`);throw r.hash={text:`checkout ${e}`,token:`checkout ${e}`,expected:[`branch ${e}`]},r}},"checkout");function V(e,r,t){const s=e.indexOf(r);s===-1?e.push(t):e.splice(s,1,t)}h(V,"upsert");function Q(e){const r=e.reduce((o,i)=>o.seq>i.seq?o:i,e[0]);let t="";e.forEach(function(o){o===r?t+=" *":t+=" |"});const s=[t,r.id,r.seq];for(const o in d.records.branches)d.records.branches.get(o)===r.id&&s.push(o);if(w.debug(s.join(" ")),r.parents&&r.parents.length==2&&r.parents[0]&&r.parents[1]){const o=d.records.commits.get(r.parents[0]);V(e,r,o),r.parents[1]&&e.push(d.records.commits.get(r.parents[1]))}else{if(r.parents.length==0)return;if(r.parents[0]){const o=d.records.commits.get(r.parents[0]);V(e,r,o)}}e=te(e,o=>o.id),Q(e)}h(Q,"prettyPrintCommitHistory");var Ge=h(function(){w.debug(d.records.commits);const e=ne()[0];Q([e])},"prettyPrint"),He=h(function(){d.reset(),we()},"clear"),Se=h(function(){return[...d.records.branchConfig.values()].map((r,t)=>r.order!==null&&r.order!==void 0?r:{...r,order:parseFloat(`0.${t}`)}).sort((r,t)=>(r.order??0)-(t.order??0)).map(({name:r})=>({name:r}))},"getBranchesAsObjArray"),Ae=h(function(){return d.records.branches},"getBranches"),De=h(function(){return d.records.commits},"getCommits"),ne=h(function(){const e=[...d.records.commits.values()];return e.forEach(function(r){w.debug(r.id)}),e.sort((r,t)=>r.seq-t.seq),e},"getCommitsArray"),qe=h(function(){return d.records.currBranch},"getCurrentBranch"),Pe=h(function(){return d.records.direction},"getDirection"),We=h(function(){return d.records.head},"getHead"),se={commitType:m,getConfig:S,setDirection:Te,setOptions:Le,getOptions:Me,commit:Re,branch:Ie,merge:Oe,cherryPick:_e,checkout:ae,prettyPrint:Ge,clear:He,getBranchesAsObjArray:Se,getBranches:Ae,getCommits:De,getCommitsArray:ne,getCurrentBranch:qe,getDirection:Pe,getHead:We,setAccTitle:xe,getAccTitle:ye,getAccDescription:ue,setAccDescription:ge,setDiagramTitle:fe,getDiagramTitle:$e},Ne=h((e,r)=>{he(e,r),e.dir&&r.setDirection(e.dir);for(const t of e.statements)Fe(t,r)},"populate"),Fe=h((e,r)=>{const s={Commit:h(o=>r.commit(ze(o)),"Commit"),Branch:h(o=>r.branch(Ye(o)),"Branch"),Merge:h(o=>r.merge(je(o)),"Merge"),Checkout:h(o=>r.checkout(Ue(o)),"Checkout"),CherryPicking:h(o=>r.cherryPick(Ke(o)),"CherryPicking")}[e.$type];s?s(e):w.error(`Unknown statement type: ${e.$type}`)},"parseStatement"),ze=h(e=>({id:e.id,msg:e.message??"",type:e.type!==void 0?m[e.type]:m.NORMAL,tags:e.tags??void 0}),"parseCommit"),Ye=h(e=>({name:e.name,order:e.order??0}),"parseBranch"),je=h(e=>({branch:e.branch,id:e.id??"",type:e.type!==void 0?m[e.type]:void 0,tags:e.tags??void 0}),"parseMerge"),Ue=h(e=>e.branch,"parseCheckout"),Ke=h(e=>({id:e.id,targetId:"",tags:e.tags?.length===0?void 0:e.tags,parent:e.parent}),"parseCherryPicking"),Ve={parse:h(async e=>{const r=await Ee("gitGraph",e);w.debug(r),Ne(r,se)},"parse")},O=10,_=40,L=4,R=2,G=8,j=new Set(["redux","redux-dark","redux-color","redux-dark-color"]),X=12,Z=new Set(["redux-color","redux-dark-color"]),Xe=new Set(["dark","redux-dark","redux-dark-color","neo-dark"]),H=h((e,r,t=!1)=>t&&e>0?(e-1)%(r-1)+1:e%r,"calcColorIndex"),C=new Map,E=new Map,F=30,q=new Map,z=[],I=0,y="LR",Je=h(()=>{C.clear(),E.clear(),q.clear(),I=0,z=[],y="LR"},"clear"),oe=h(e=>{const r=document.createElementNS("http://www.w3.org/2000/svg","text");return(typeof e=="string"?e.split(/\\n|\n|<br\s*\/?>/gi):e).forEach(s=>{const o=document.createElementNS("http://www.w3.org/2000/svg","tspan");o.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),o.setAttribute("dy","1em"),o.setAttribute("x","0"),o.setAttribute("class","row"),o.textContent=s.trim(),r.appendChild(o)}),r},"drawText"),ce=h(e=>{let r,t,s;return y==="BT"?(t=h((o,i)=>o<=i,"comparisonFunc"),s=1/0):(t=h((o,i)=>o>=i,"comparisonFunc"),s=0),e.forEach(o=>{const i=y==="TB"||y=="BT"?E.get(o)?.y:E.get(o)?.x;i!==void 0&&t(i,s)&&(r=o,s=i)}),r},"findClosestParent"),Qe=h(e=>{let r="",t=1/0;return e.forEach(s=>{const o=E.get(s).y;o<=t&&(r=s,t=o)}),r||void 0},"findClosestParentBT"),Ze=h((e,r,t)=>{let s=t,o=t;const i=[];e.forEach(n=>{const a=r.get(n);if(!a)throw new Error(`Commit not found for key ${n}`);a.parents.length?(s=rr(a),o=Math.max(s,o)):i.push(a),tr(a,s)}),s=o,i.forEach(n=>{ar(n,s,t)}),e.forEach(n=>{const a=r.get(n);if(a?.parents.length){const l=Qe(a.parents);s=E.get(l).y-_,s<=o&&(o=s);const f=C.get(a.branch).pos,g=s-O;E.set(a.id,{x:f,y:g})}})},"setParallelBTPos"),er=h(e=>{const r=ce(e.parents.filter(s=>s!==null));if(!r)throw new Error(`Closest parent not found for commit ${e.id}`);const t=E.get(r)?.y;if(t===void 0)throw new Error(`Closest parent position not found for commit ${e.id}`);return t},"findClosestParentPos"),rr=h(e=>er(e)+_,"calculateCommitPosition"),tr=h((e,r)=>{const t=C.get(e.branch);if(!t)throw new Error(`Branch not found for commit ${e.id}`);const s=t.pos,o=r+O;return E.set(e.id,{x:s,y:o}),{x:s,y:o}},"setCommitPosition"),ar=h((e,r,t)=>{const s=C.get(e.branch);if(!s)throw new Error(`Branch not found for commit ${e.id}`);const o=r+t,i=s.pos;E.set(e.id,{x:i,y:o})},"setRootPosition"),nr=h((e,r,t,s,o,i)=>{const{theme:n}=W(),a=j.has(n??""),l=Z.has(n??""),f=Xe.has(n??"");if(i===m.HIGHLIGHT)e.append("rect").attr("x",t.x-10+(a?3:0)).attr("y",t.y-10+(a?3:0)).attr("width",a?14:20).attr("height",a?14:20).attr("class",`commit ${r.id} commit-highlight${H(o,G,l)} ${s}-outer`),e.append("rect").attr("x",t.x-6+(a?2:0)).attr("y",t.y-6+(a?2:0)).attr("width",a?8:12).attr("height",a?8:12).attr("class",`commit ${r.id} commit${H(o,G,l)} ${s}-inner`);else if(i===m.CHERRY_PICK)e.append("circle").attr("cx",t.x).attr("cy",t.y).attr("r",a?7:10).attr("class",`commit ${r.id} ${s}`),e.append("circle").attr("cx",t.x-3).attr("cy",t.y+2).attr("r",a?2.5:2.75).attr("fill",f?"#000000":"#fff").attr("class",`commit ${r.id} ${s}`),e.append("circle").attr("cx",t.x+3).attr("cy",t.y+2).attr("r",a?2.5:2.75).attr("fill",f?"#000000":"#fff").attr("class",`commit ${r.id} ${s}`),e.append("line").attr("x1",t.x+3).attr("y1",t.y+1).attr("x2",t.x).attr("y2",t.y-5).attr("stroke",f?"#000000":"#fff").attr("class",`commit ${r.id} ${s}`),e.append("line").attr("x1",t.x-3).attr("y1",t.y+1).attr("x2",t.x).attr("y2",t.y-5).attr("stroke",f?"#000000":"#fff").attr("class",`commit ${r.id} ${s}`);else{const g=e.append("circle");if(g.attr("cx",t.x),g.attr("cy",t.y),g.attr("r",a?7:10),g.attr("class",`commit ${r.id} commit${H(o,G,l)}`),i===m.MERGE){const $=e.append("circle");$.attr("cx",t.x),$.attr("cy",t.y),$.attr("r",a?5:6),$.attr("class",`commit ${s} ${r.id} commit${H(o,G,l)}`)}if(i===m.REVERSE){const $=e.append("path"),c=a?4:5;$.attr("d",`M ${t.x-c},${t.y-c}L${t.x+c},${t.y+c}M${t.x-c},${t.y+c}L${t.x+c},${t.y-c}`).attr("class",`commit ${s} ${r.id} commit${H(o,G,l)}`)}}},"drawCommitBullet"),sr=h((e,r,t,s,o)=>{if(r.type!==m.CHERRY_PICK&&(r.customId&&r.type===m.MERGE||r.type!==m.MERGE)&&o.showCommitLabel){const i=e.append("g"),n=i.insert("rect").attr("class","commit-label-bkg"),a=i.append("text").attr("x",s).attr("y",t.y+25).attr("class","commit-label").text(r.id),l=a.node()?.getBBox();if(l&&(n.attr("x",t.posWithOffset-l.width/2-R).attr("y",t.y+13.5).attr("width",l.width+2*R).attr("height",l.height+2*R),y==="TB"||y==="BT"?(n.attr("x",t.x-(l.width+4*L+5)).attr("y",t.y-12),a.attr("x",t.x-(l.width+4*L)).attr("y",t.y+l.height-12)):a.attr("x",t.posWithOffset-l.width/2),o.rotateCommitLabel))if(y==="TB"||y==="BT")a.attr("transform","rotate(-45, "+t.x+", "+t.y+")"),n.attr("transform","rotate(-45, "+t.x+", "+t.y+")");else{const f=-7.5-(l.width+10)/25*9.5,g=10+l.width/25*8.5;i.attr("transform","translate("+f+", "+g+") rotate(-45, "+s+", "+t.y+")")}}},"drawCommitLabel"),or=h((e,r,t,s)=>{if(r.tags.length>0){let o=0,i=0,n=0;const a=[];for(const l of r.tags.reverse()){const f=e.insert("polygon"),g=e.append("circle"),$=e.append("text").attr("y",t.y-16-o).attr("class","tag-label").text(l),c=$.node()?.getBBox();if(!c)throw new Error("Tag bbox not found");i=Math.max(i,c.width),n=Math.max(n,c.height),$.attr("x",t.posWithOffset-c.width/2),a.push({tag:$,hole:g,rect:f,yOffset:o}),o+=20}for(const{tag:l,hole:f,rect:g,yOffset:$}of a){const c=n/2,x=t.y-19.2-$;if(g.attr("class","tag-label-bkg").attr("points",`
|
|
2
2
|
${s-i/2-L/2},${x+R}
|
|
3
3
|
${s-i/2-L/2},${x-R}
|
|
4
4
|
${t.posWithOffset-i/2-L},${x-c-R}
|