folderview 0.0.0-stage → 0.2.1
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/LICENSE +21 -0
- package/README.md +282 -2
- package/dist/cli.js +115 -0
- package/dist/client/assets/app.css +1 -0
- package/dist/client/assets/chunks/abap-EINPUMCJ.js +1 -0
- package/dist/client/assets/chunks/abnfDiagram-S7VZAUFO-W2CM2W6D.js +1 -0
- package/dist/client/assets/chunks/actionscript-3-O776AQUO.js +1 -0
- package/dist/client/assets/chunks/ada-WLOTXRTV.js +1 -0
- package/dist/client/assets/chunks/ahk-EF37A2DY.js +1 -0
- package/dist/client/assets/chunks/ahk2-FH4K3CKT.js +1 -0
- package/dist/client/assets/chunks/angular-html-ZALQFV2H.js +1 -0
- package/dist/client/assets/chunks/angular-ts-4IWMF7QO.js +1 -0
- package/dist/client/assets/chunks/apache-44AYOEWM.js +1 -0
- package/dist/client/assets/chunks/apex-XRYPID42.js +1 -0
- package/dist/client/assets/chunks/apl-5HBALFOI.js +1 -0
- package/dist/client/assets/chunks/applescript-2DZEHZEC.js +1 -0
- package/dist/client/assets/chunks/ara-ZGZQBLXL.js +1 -0
- package/dist/client/assets/chunks/architecture-WOLXFQ4H-EJGENNRL.js +1 -0
- package/dist/client/assets/chunks/architectureDiagram-YGSQEFNW-2VHWSKO6.js +36 -0
- package/dist/client/assets/chunks/asciidoc-GSQAKCPO.js +1 -0
- package/dist/client/assets/chunks/asm-BFURM5BK.js +1 -0
- package/dist/client/assets/chunks/astro-VJORWDZJ.js +1 -0
- package/dist/client/assets/chunks/awk-BSHTWXXX.js +1 -0
- package/dist/client/assets/chunks/ballerina-HAOQJ4B2.js +1 -0
- package/dist/client/assets/chunks/bat-OSH45EOF.js +1 -0
- package/dist/client/assets/chunks/beancount-RBATIHOV.js +1 -0
- package/dist/client/assets/chunks/berry-CZUIOUM4.js +1 -0
- package/dist/client/assets/chunks/bibtex-KCL2UWHE.js +1 -0
- package/dist/client/assets/chunks/bicep-SZJZB3SG.js +1 -0
- package/dist/client/assets/chunks/bird2-XBF5YQQV.js +1 -0
- package/dist/client/assets/chunks/blade-Q24LEVFC.js +1 -0
- package/dist/client/assets/chunks/blockDiagram-APKKGZFW-53LXSOOT.js +140 -0
- package/dist/client/assets/chunks/bpmnIcons-APHXDYXF-FMBRQNTY.js +1 -0
- package/dist/client/assets/chunks/bsl-TI44NWFB.js +1 -0
- package/dist/client/assets/chunks/c-NLHY4Y4N.js +1 -0
- package/dist/client/assets/chunks/c3-BUTEM6PO.js +1 -0
- package/dist/client/assets/chunks/c4Diagram-KJ2TOQU5-O53G4GQH.js +38 -0
- package/dist/client/assets/chunks/cadence-JIRTEU64.js +1 -0
- package/dist/client/assets/chunks/cairo-3W6NVDNW.js +1 -0
- package/dist/client/assets/chunks/chapel-BPBJ2E7K.js +1 -0
- package/dist/client/assets/chunks/chunk-25KVF5ZE.js +1 -0
- package/dist/client/assets/chunks/chunk-2CJKSQOI.js +1 -0
- package/dist/client/assets/chunks/chunk-2QIJRTWR.js +1 -0
- package/dist/client/assets/chunks/chunk-2ZCRJZGF.js +2 -0
- package/dist/client/assets/chunks/chunk-3ILNDZNY.js +213 -0
- package/dist/client/assets/chunks/chunk-3M2OOQ7S.js +1 -0
- package/dist/client/assets/chunks/chunk-3M57NTNK.js +1 -0
- package/dist/client/assets/chunks/chunk-3MR6DCZJ.js +1 -0
- package/dist/client/assets/chunks/chunk-3WGHS7F7.js +1 -0
- package/dist/client/assets/chunks/chunk-4JK75V33.js +1 -0
- package/dist/client/assets/chunks/chunk-4NXNVEWK.js +1 -0
- package/dist/client/assets/chunks/chunk-4RNNBDFQ.js +1 -0
- package/dist/client/assets/chunks/chunk-4T4NVH7V.js +1 -0
- package/dist/client/assets/chunks/chunk-4TFFBC35.js +1 -0
- package/dist/client/assets/chunks/chunk-4WYBE67P.js +1 -0
- package/dist/client/assets/chunks/chunk-56ITEUFA.js +1 -0
- package/dist/client/assets/chunks/chunk-5DXRE7IH.js +1 -0
- package/dist/client/assets/chunks/chunk-5IMADCNU.js +1 -0
- package/dist/client/assets/chunks/chunk-5XZPGKN4.js +1 -0
- package/dist/client/assets/chunks/chunk-6O32UKSP.js +1 -0
- package/dist/client/assets/chunks/chunk-7BAEB64Q.js +1 -0
- package/dist/client/assets/chunks/chunk-7FMWBHZO.js +1 -0
- package/dist/client/assets/chunks/chunk-7GFDITUT.js +1 -0
- package/dist/client/assets/chunks/chunk-7H4MLBHI.js +1 -0
- package/dist/client/assets/chunks/chunk-7OJ4MEEB.js +1 -0
- package/dist/client/assets/chunks/chunk-7RSEISFE.js +1 -0
- package/dist/client/assets/chunks/chunk-7YNZZQVT.js +1 -0
- package/dist/client/assets/chunks/chunk-AB7TIL2G.js +1 -0
- package/dist/client/assets/chunks/chunk-ADDF76FL.js +1 -0
- package/dist/client/assets/chunks/chunk-AF6UTCD4.js +321 -0
- package/dist/client/assets/chunks/chunk-AJ2K6ASU.js +1 -0
- package/dist/client/assets/chunks/chunk-AUBAENQZ.js +1 -0
- package/dist/client/assets/chunks/chunk-BJEYVZ65.js +1 -0
- package/dist/client/assets/chunks/chunk-BLRM6LXA.js +1 -0
- package/dist/client/assets/chunks/chunk-BOCTYCDZ.js +1 -0
- package/dist/client/assets/chunks/chunk-BU4VRYN7.js +1 -0
- package/dist/client/assets/chunks/chunk-CALYHV7D.js +1 -0
- package/dist/client/assets/chunks/chunk-CF4W3RZ4.js +1 -0
- package/dist/client/assets/chunks/chunk-DCZ2OBSL.js +1 -0
- package/dist/client/assets/chunks/chunk-DUFPBTHD.js +1 -0
- package/dist/client/assets/chunks/chunk-DUICIQBC.js +88 -0
- package/dist/client/assets/chunks/chunk-EH2N475V.js +1 -0
- package/dist/client/assets/chunks/chunk-EHLLNPZT.js +1 -0
- package/dist/client/assets/chunks/chunk-EIBFAW37.js +1 -0
- package/dist/client/assets/chunks/chunk-EO3ER3GN.js +1 -0
- package/dist/client/assets/chunks/chunk-FH24BIIA.js +1 -0
- package/dist/client/assets/chunks/chunk-FNOXGAL5.js +2 -0
- package/dist/client/assets/chunks/chunk-FTY6WLQF.js +3 -0
- package/dist/client/assets/chunks/chunk-FZFME6UK.js +1 -0
- package/dist/client/assets/chunks/chunk-FZJZZYYO.js +1 -0
- package/dist/client/assets/chunks/chunk-G4Z6L7OO.js +1 -0
- package/dist/client/assets/chunks/chunk-GNCEAN2B.js +1 -0
- package/dist/client/assets/chunks/chunk-GQJIKV3T.js +1 -0
- package/dist/client/assets/chunks/chunk-GUMNOKT2.js +1 -0
- package/dist/client/assets/chunks/chunk-GXRORAF3.js +1 -0
- package/dist/client/assets/chunks/chunk-H36ABDKY.js +1 -0
- package/dist/client/assets/chunks/chunk-HAR5NYVW.js +1 -0
- package/dist/client/assets/chunks/chunk-HIGPS4L2.js +1 -0
- package/dist/client/assets/chunks/chunk-HMOBGTME.js +1 -0
- package/dist/client/assets/chunks/chunk-HNO6SQ7M.js +1 -0
- package/dist/client/assets/chunks/chunk-HYVZ3GYN.js +1 -0
- package/dist/client/assets/chunks/chunk-I6TGFOQS.js +1 -0
- package/dist/client/assets/chunks/chunk-IHIOJK7I.js +1 -0
- package/dist/client/assets/chunks/chunk-IHJNUMSC.js +1 -0
- package/dist/client/assets/chunks/chunk-IP7PB2OC.js +1 -0
- package/dist/client/assets/chunks/chunk-ISDTMH2Y.js +1 -0
- package/dist/client/assets/chunks/chunk-J65M2LNT.js +1 -0
- package/dist/client/assets/chunks/chunk-JCWYZ7X2.js +62 -0
- package/dist/client/assets/chunks/chunk-JENWYTLI.js +1 -0
- package/dist/client/assets/chunks/chunk-JJ6YWJQS.js +1 -0
- package/dist/client/assets/chunks/chunk-JMUVGGX7.js +32 -0
- package/dist/client/assets/chunks/chunk-JNQUFMM4.js +1 -0
- package/dist/client/assets/chunks/chunk-JPTECOAL.js +1 -0
- package/dist/client/assets/chunks/chunk-JZNK4LKS.js +1 -0
- package/dist/client/assets/chunks/chunk-KPNXJBIW.js +1 -0
- package/dist/client/assets/chunks/chunk-KZO2GZL7.js +1 -0
- package/dist/client/assets/chunks/chunk-L2REESOQ.js +1 -0
- package/dist/client/assets/chunks/chunk-LJPJXR7R.js +1 -0
- package/dist/client/assets/chunks/chunk-LOEZMLCI.js +1 -0
- package/dist/client/assets/chunks/chunk-MLYC6FSE.js +1 -0
- package/dist/client/assets/chunks/chunk-MMDGEZYU.js +1 -0
- package/dist/client/assets/chunks/chunk-MYXE7CGE.js +1 -0
- package/dist/client/assets/chunks/chunk-NBH7YOBD.js +15 -0
- package/dist/client/assets/chunks/chunk-NCOVM3YF.js +1 -0
- package/dist/client/assets/chunks/chunk-NCWOBVU7.js +1 -0
- package/dist/client/assets/chunks/chunk-NLRIHHEH.js +1 -0
- package/dist/client/assets/chunks/chunk-NUPEOYK6.js +1 -0
- package/dist/client/assets/chunks/chunk-O4MVOA7X.js +1 -0
- package/dist/client/assets/chunks/chunk-OBHQQZ4H.js +1 -0
- package/dist/client/assets/chunks/chunk-OKPNJIIR.js +1 -0
- package/dist/client/assets/chunks/chunk-OLMPB57R.js +1 -0
- package/dist/client/assets/chunks/chunk-P2FYOAEV.js +1 -0
- package/dist/client/assets/chunks/chunk-PI3SNP4C.js +1 -0
- package/dist/client/assets/chunks/chunk-PRDTEROB.js +1 -0
- package/dist/client/assets/chunks/chunk-PZELHD2H.js +136 -0
- package/dist/client/assets/chunks/chunk-QR2Q34LM.js +1 -0
- package/dist/client/assets/chunks/chunk-R4GIXL6S.js +1 -0
- package/dist/client/assets/chunks/chunk-RORF4F5V.js +1 -0
- package/dist/client/assets/chunks/chunk-S73BYTLL.js +1 -0
- package/dist/client/assets/chunks/chunk-SFC5MRYR.js +1 -0
- package/dist/client/assets/chunks/chunk-SVM2H22K.js +2 -0
- package/dist/client/assets/chunks/chunk-SZ6UCGVD.js +1 -0
- package/dist/client/assets/chunks/chunk-SZYM6GIJ.js +127 -0
- package/dist/client/assets/chunks/chunk-TT5KJZKM.js +1 -0
- package/dist/client/assets/chunks/chunk-UFBKUYNH.js +1 -0
- package/dist/client/assets/chunks/chunk-UL57AD4T.js +1 -0
- package/dist/client/assets/chunks/chunk-UNEI7LMM.js +1 -0
- package/dist/client/assets/chunks/chunk-VNQBBFIY.js +1 -0
- package/dist/client/assets/chunks/chunk-WGVITPII.js +1 -0
- package/dist/client/assets/chunks/chunk-WRA6KJHX.js +10 -0
- package/dist/client/assets/chunks/chunk-WS5EHW43.js +1 -0
- package/dist/client/assets/chunks/chunk-XE6SLBBE.js +3 -0
- package/dist/client/assets/chunks/chunk-XF5T2P7U.js +72 -0
- package/dist/client/assets/chunks/chunk-XFRY5WKO.js +1 -0
- package/dist/client/assets/chunks/chunk-XWYV4OPA.js +1 -0
- package/dist/client/assets/chunks/chunk-YCE5ECKY.js +1 -0
- package/dist/client/assets/chunks/chunk-YIN5CSIF.js +1 -0
- package/dist/client/assets/chunks/chunk-YLFUX6XH.js +1 -0
- package/dist/client/assets/chunks/chunk-YNXJICZM.js +1 -0
- package/dist/client/assets/chunks/chunk-YOHF7NGD.js +1 -0
- package/dist/client/assets/chunks/chunk-YORIST7Z.js +1 -0
- package/dist/client/assets/chunks/chunk-YUL7CG4R.js +1 -0
- package/dist/client/assets/chunks/chunk-YUN7JSFJ.js +2 -0
- package/dist/client/assets/chunks/chunk-YZ7D2IT7.js +1 -0
- package/dist/client/assets/chunks/chunk-Z7LAPMFJ.js +1 -0
- package/dist/client/assets/chunks/chunk-ZE325LPC.js +1 -0
- package/dist/client/assets/chunks/chunk-ZN7TN6PO.js +1 -0
- package/dist/client/assets/chunks/chunk-ZST3EVPO.js +1 -0
- package/dist/client/assets/chunks/chunk-ZZHMDDZN.js +1 -0
- package/dist/client/assets/chunks/clarity-RKRYQ7WF.js +1 -0
- package/dist/client/assets/chunks/classDiagram-v2-L25IHNXF-Y67HVDZV.js +217 -0
- package/dist/client/assets/chunks/clojure-2X2DQECJ.js +1 -0
- package/dist/client/assets/chunks/cmake-LH5524XE.js +1 -0
- package/dist/client/assets/chunks/cobol-7DALQF3W.js +1 -0
- package/dist/client/assets/chunks/codeowners-52SZU5P5.js +1 -0
- package/dist/client/assets/chunks/codeql-EISH3KUP.js +1 -0
- package/dist/client/assets/chunks/coffee-VAWSGA7Y.js +1 -0
- package/dist/client/assets/chunks/common-lisp-4MVK2AN6.js +1 -0
- package/dist/client/assets/chunks/coq-4VRYZRZV.js +1 -0
- package/dist/client/assets/chunks/core-BRBMZSD2.js +12 -0
- package/dist/client/assets/chunks/cose-bilkent-JH36ORCC-BIOOHSAA.js +1 -0
- package/dist/client/assets/chunks/cpp-RFECMSKD.js +1 -0
- package/dist/client/assets/chunks/crystal-ZBGGFAOI.js +1 -0
- package/dist/client/assets/chunks/csharp-BZDPMKKW.js +1 -0
- package/dist/client/assets/chunks/css-3WWGM6UD.js +1 -0
- package/dist/client/assets/chunks/csv-AB4GNWSB.js +1 -0
- package/dist/client/assets/chunks/cue-2E46MZP2.js +1 -0
- package/dist/client/assets/chunks/cynefin-EF2NZ3EQ-TLFQLWUN.js +1 -0
- package/dist/client/assets/chunks/cynefinDiagram-L36ESFBY-FLPXCSSG.js +62 -0
- package/dist/client/assets/chunks/cypher-HR3ILFOL.js +1 -0
- package/dist/client/assets/chunks/d-TARSZPOL.js +1 -0
- package/dist/client/assets/chunks/dagre-SPEB5RXH-7EGEINJ2.js +4 -0
- package/dist/client/assets/chunks/dart-SALLJHVI.js +1 -0
- package/dist/client/assets/chunks/dax-WYMRGMXC.js +1 -0
- package/dist/client/assets/chunks/desktop-ND5CGLLJ.js +1 -0
- package/dist/client/assets/chunks/diagram-3B7GL73J-6USY4HZX.js +200 -0
- package/dist/client/assets/chunks/diagram-DNEMPZML-BNSOC4VW.js +24 -0
- package/dist/client/assets/chunks/diagram-L3MUGCDN-5V5FZYIG.js +41 -0
- package/dist/client/assets/chunks/diagram-LA4NIPWU-25VLY2CO.js +24 -0
- package/dist/client/assets/chunks/diagram-MHCOC4E2-G2LFP3JU.js +3 -0
- package/dist/client/assets/chunks/diagram-XPFHEONP-E6HBBIBV.js +30 -0
- package/dist/client/assets/chunks/diff-PWYGPM7B.js +1 -0
- package/dist/client/assets/chunks/docker-A4D7DT7W.js +1 -0
- package/dist/client/assets/chunks/dotenv-VWQWV2DY.js +1 -0
- package/dist/client/assets/chunks/dream-maker-M5YDQS35.js +1 -0
- package/dist/client/assets/chunks/ebnfDiagram-UZSYDL2S-BMXXZZPI.js +1 -0
- package/dist/client/assets/chunks/edge-3QXIDJHI.js +1 -0
- package/dist/client/assets/chunks/elixir-3OX2UHIZ.js +1 -0
- package/dist/client/assets/chunks/elk-XV6XMXQE-IPR65FON.js +27 -0
- package/dist/client/assets/chunks/elm-CTS65NCT.js +1 -0
- package/dist/client/assets/chunks/emacs-lisp-HHS2IDO7.js +1 -0
- package/dist/client/assets/chunks/engine-javascript-DNHSF67B.js +141 -0
- package/dist/client/assets/chunks/erDiagram-EYBAPDEH-3GEHFWHG.js +99 -0
- package/dist/client/assets/chunks/erb-ICYWK6HS.js +1 -0
- package/dist/client/assets/chunks/erlang-BDQPNCKX.js +1 -0
- package/dist/client/assets/chunks/eventmodeling-K75KTNOO-B27BJTZL.js +1 -0
- package/dist/client/assets/chunks/fennel-4ONBA2PH.js +1 -0
- package/dist/client/assets/chunks/fish-ATLPBZSD.js +1 -0
- package/dist/client/assets/chunks/flowDiagram-MALGAFMO-5PCLR4AE.js +1 -0
- package/dist/client/assets/chunks/fluent-GGMONBVW.js +1 -0
- package/dist/client/assets/chunks/fortran-fixed-form-5MSBDRWQ.js +1 -0
- package/dist/client/assets/chunks/fortran-free-form-TT3RBL75.js +1 -0
- package/dist/client/assets/chunks/fsharp-PAGHNW4O.js +1 -0
- package/dist/client/assets/chunks/ganttDiagram-23REXITY-VE5MVBTO.js +292 -0
- package/dist/client/assets/chunks/gdresource-5OTP326D.js +1 -0
- package/dist/client/assets/chunks/gdscript-VPWHSCLF.js +1 -0
- package/dist/client/assets/chunks/gdshader-FYLPXFE5.js +1 -0
- package/dist/client/assets/chunks/genie-UYMEEMA2.js +1 -0
- package/dist/client/assets/chunks/gherkin-SU7D5DMY.js +1 -0
- package/dist/client/assets/chunks/git-commit-5CF5QAG7.js +1 -0
- package/dist/client/assets/chunks/git-rebase-X72BAUZI.js +1 -0
- package/dist/client/assets/chunks/gitGraph-VSP46ZUC-J6CJ5YZF.js +1 -0
- package/dist/client/assets/chunks/gitGraphDiagram-STJD7YCW-7YJGT6ZP.js +106 -0
- package/dist/client/assets/chunks/gleam-LR42YRKO.js +1 -0
- package/dist/client/assets/chunks/glimmer-js-JPF67FJU.js +1 -0
- package/dist/client/assets/chunks/glimmer-ts-BYPAVIZT.js +1 -0
- package/dist/client/assets/chunks/glsl-GTGUULBN.js +1 -0
- package/dist/client/assets/chunks/gn-NMDQA4K3.js +1 -0
- package/dist/client/assets/chunks/gnuplot-UUAMYBCZ.js +1 -0
- package/dist/client/assets/chunks/go-4RERSTNP.js +1 -0
- package/dist/client/assets/chunks/graphql-5A6RK6YF.js +1 -0
- package/dist/client/assets/chunks/groovy-O7BJONCU.js +1 -0
- package/dist/client/assets/chunks/hack-7QGTNPDP.js +1 -0
- package/dist/client/assets/chunks/haml-ON5GAWN4.js +1 -0
- package/dist/client/assets/chunks/handlebars-6UOQSUBP.js +1 -0
- package/dist/client/assets/chunks/haskell-OIZXZ26Y.js +1 -0
- package/dist/client/assets/chunks/haxe-7FFVS4FO.js +1 -0
- package/dist/client/assets/chunks/hcl-XFUFQJHV.js +1 -0
- package/dist/client/assets/chunks/hjson-QDBHMTD5.js +1 -0
- package/dist/client/assets/chunks/hlsl-4LP25FFN.js +1 -0
- package/dist/client/assets/chunks/html-7RNQXAAV.js +1 -0
- package/dist/client/assets/chunks/html-derivative-ESOY72Q2.js +1 -0
- package/dist/client/assets/chunks/http-SAD4PMBD.js +1 -0
- package/dist/client/assets/chunks/hurl-ZSJJXPQH.js +1 -0
- package/dist/client/assets/chunks/hxml-HJCC37RK.js +1 -0
- package/dist/client/assets/chunks/hy-CLDE3P4K.js +1 -0
- package/dist/client/assets/chunks/imba-REB34U5V.js +1 -0
- package/dist/client/assets/chunks/info-OHQRW6UA-EQQKXR77.js +1 -0
- package/dist/client/assets/chunks/infoDiagram-KBXO4MBG-F6KGZCGS.js +2 -0
- package/dist/client/assets/chunks/ini-PDFEMGRA.js +1 -0
- package/dist/client/assets/chunks/ishikawaDiagram-M35NCXHK-5D6ZOZ34.js +70 -0
- package/dist/client/assets/chunks/java-KB6XENAD.js +1 -0
- package/dist/client/assets/chunks/javascript-3JX5T423.js +1 -0
- package/dist/client/assets/chunks/jinja-V4UNU6K4.js +1 -0
- package/dist/client/assets/chunks/jison-KH5XNLJP.js +1 -0
- package/dist/client/assets/chunks/journeyDiagram-OPLOXDXO-ANDOJZKW.js +139 -0
- package/dist/client/assets/chunks/json-HPXFRRPY.js +1 -0
- package/dist/client/assets/chunks/json5-LJM6TXWM.js +1 -0
- package/dist/client/assets/chunks/jsonc-UZWRU3JV.js +1 -0
- package/dist/client/assets/chunks/jsonl-RFZD5UN4.js +1 -0
- package/dist/client/assets/chunks/jsonnet-GFZABBL6.js +1 -0
- package/dist/client/assets/chunks/jssm-2YIGBISJ.js +1 -0
- package/dist/client/assets/chunks/jsx-KLV2ZWUT.js +1 -0
- package/dist/client/assets/chunks/julia-3TZDIPPO.js +1 -0
- package/dist/client/assets/chunks/just-UHCONBQS.js +1 -0
- package/dist/client/assets/chunks/kanban-definition-BZKZHSQY-GF5I5NVD.js +89 -0
- package/dist/client/assets/chunks/katex-PIN72PQZ.js +257 -0
- package/dist/client/assets/chunks/kdl-DARTFOCL.js +1 -0
- package/dist/client/assets/chunks/kotlin-7KT5DW6Y.js +1 -0
- package/dist/client/assets/chunks/kusto-EKYXZTC5.js +1 -0
- package/dist/client/assets/chunks/langs-GO3UQR4H.js +1 -0
- package/dist/client/assets/chunks/latex-T57MIHR5.js +1 -0
- package/dist/client/assets/chunks/lean-5QVPRMV6.js +1 -0
- package/dist/client/assets/chunks/less-K6QEH5TN.js +1 -0
- package/dist/client/assets/chunks/liquid-3LCNNEIV.js +1 -0
- package/dist/client/assets/chunks/llvm-O32ZIVRF.js +1 -0
- package/dist/client/assets/chunks/log-C4YPJ5BB.js +1 -0
- package/dist/client/assets/chunks/logo-JPMO43A6.js +1 -0
- package/dist/client/assets/chunks/lua-YKVSOG7K.js +1 -0
- package/dist/client/assets/chunks/luau-K4EECYSO.js +1 -0
- package/dist/client/assets/chunks/make-VHSYMHHW.js +1 -0
- package/dist/client/assets/chunks/markdown-GC5J46H4.js +1 -0
- package/dist/client/assets/chunks/marko-U45YFADC.js +1 -0
- package/dist/client/assets/chunks/matlab-AMOKC4LU.js +1 -0
- package/dist/client/assets/chunks/mdc-DIGA2UXP.js +1 -0
- package/dist/client/assets/chunks/mdx-BZUGCKQA.js +1 -0
- package/dist/client/assets/chunks/mermaid-WHDP6ZPA.js +1 -0
- package/dist/client/assets/chunks/mermaid.core-SQMPMUDN.js +10 -0
- package/dist/client/assets/chunks/mindmap-definition-I2QAS2VK-4NH5S56C.js +98 -0
- package/dist/client/assets/chunks/mipsasm-2S4CUGQV.js +1 -0
- package/dist/client/assets/chunks/mojo-ZOL2PNKT.js +1 -0
- package/dist/client/assets/chunks/moonbit-U3BDAIFE.js +1 -0
- package/dist/client/assets/chunks/move-YSXALBWA.js +1 -0
- package/dist/client/assets/chunks/narrat-DHFIAUJH.js +1 -0
- package/dist/client/assets/chunks/nextflow-ESAKNTI3.js +1 -0
- package/dist/client/assets/chunks/nextflow-groovy-FKDSPJUI.js +1 -0
- package/dist/client/assets/chunks/nginx-XYAYERLO.js +1 -0
- package/dist/client/assets/chunks/nim-XOWBVFDH.js +1 -0
- package/dist/client/assets/chunks/nix-RVSTQSHC.js +1 -0
- package/dist/client/assets/chunks/nsis-KMDUKQRL.js +1 -0
- package/dist/client/assets/chunks/nushell-SKJHHZ7U.js +1 -0
- package/dist/client/assets/chunks/objective-c-3B3KXQ7Q.js +1 -0
- package/dist/client/assets/chunks/objective-cpp-6JDULPJS.js +1 -0
- package/dist/client/assets/chunks/ocaml-TMRFXBVO.js +1 -0
- package/dist/client/assets/chunks/odin-IN3PLCK7.js +1 -0
- package/dist/client/assets/chunks/openscad-P52IKPNH.js +1 -0
- package/dist/client/assets/chunks/org-N3SJ2PIA.js +1 -0
- package/dist/client/assets/chunks/packet-JDAUHWVQ-4SWIKSKP.js +1 -0
- package/dist/client/assets/chunks/pascal-T7CUWCQ4.js +1 -0
- package/dist/client/assets/chunks/pegDiagram-FD4XPPHP-WDKZSEGN.js +1 -0
- package/dist/client/assets/chunks/perl-LCZ4KODH.js +1 -0
- package/dist/client/assets/chunks/php-4XHMBVR5.js +1 -0
- package/dist/client/assets/chunks/pie-XZMESJXO-PSSWOWGV.js +1 -0
- package/dist/client/assets/chunks/pieDiagram-J4AKIIQI-BDW5I5ON.js +39 -0
- package/dist/client/assets/chunks/pkl-OACG5B67.js +1 -0
- package/dist/client/assets/chunks/plsql-7E5C7CJX.js +1 -0
- package/dist/client/assets/chunks/po-ZSREFRRP.js +1 -0
- package/dist/client/assets/chunks/polar-4GBINVA7.js +1 -0
- package/dist/client/assets/chunks/postcss-B7RPVGFW.js +1 -0
- package/dist/client/assets/chunks/powerquery-6UFMTY4G.js +1 -0
- package/dist/client/assets/chunks/powershell-3STRPCNT.js +1 -0
- package/dist/client/assets/chunks/prisma-4TPSPIZ5.js +1 -0
- package/dist/client/assets/chunks/prolog-HEAYPKQW.js +1 -0
- package/dist/client/assets/chunks/proto-Y3Y3VKXM.js +1 -0
- package/dist/client/assets/chunks/pug-7PBPMG3M.js +1 -0
- package/dist/client/assets/chunks/puppet-FR35R4OI.js +1 -0
- package/dist/client/assets/chunks/purescript-OUHXQAOW.js +1 -0
- package/dist/client/assets/chunks/python-SNDG7FNU.js +1 -0
- package/dist/client/assets/chunks/qml-UVIOSWP4.js +1 -0
- package/dist/client/assets/chunks/qmldir-6JGUNYL5.js +1 -0
- package/dist/client/assets/chunks/qss-ZCC466IZ.js +1 -0
- package/dist/client/assets/chunks/quadrantDiagram-XTYBLID2-5VKXWVJ6.js +7 -0
- package/dist/client/assets/chunks/r-4XW4O3ZF.js +1 -0
- package/dist/client/assets/chunks/racket-YJAYXOOG.js +1 -0
- package/dist/client/assets/chunks/radar-ABXABTNO-3AXZCEY2.js +1 -0
- package/dist/client/assets/chunks/railroad-I3PHUGI6-2PLXYPOT.js +1 -0
- package/dist/client/assets/chunks/railroad-abnf-LNEFI6M7-M4DGICQX.js +1 -0
- package/dist/client/assets/chunks/railroad-ebnf-DWYD2UWJ-UEIHQMSZ.js +1 -0
- package/dist/client/assets/chunks/railroad-peg-JR7BVNR7-I7VLIBXM.js +1 -0
- package/dist/client/assets/chunks/railroadDiagram-MRQ6NCDL-Y6IYWEFL.js +1 -0
- package/dist/client/assets/chunks/raku-63NEL5JK.js +1 -0
- package/dist/client/assets/chunks/razor-J3CJP523.js +1 -0
- package/dist/client/assets/chunks/rbs-6GQLT7NW.js +1 -0
- package/dist/client/assets/chunks/reg-6Q3OEC2C.js +1 -0
- package/dist/client/assets/chunks/regexp-LPIMILT3.js +1 -0
- package/dist/client/assets/chunks/rel-TOQGUTHB.js +1 -0
- package/dist/client/assets/chunks/requirementDiagram-Y7LWUY3S-CIWXVVWJ.js +84 -0
- package/dist/client/assets/chunks/riscv-UELGBOXE.js +1 -0
- package/dist/client/assets/chunks/ron-FW7LCJJH.js +1 -0
- package/dist/client/assets/chunks/rosmsg-O63VHE3L.js +1 -0
- package/dist/client/assets/chunks/rst-3WJXGLA7.js +1 -0
- package/dist/client/assets/chunks/ruby-7S7L6JTH.js +1 -0
- package/dist/client/assets/chunks/rust-LIK4HRRI.js +1 -0
- package/dist/client/assets/chunks/sankeyDiagram-WGJFYUXA-OGNQPX5V.js +40 -0
- package/dist/client/assets/chunks/sas-FHDPZ2JH.js +1 -0
- package/dist/client/assets/chunks/sass-UI4HW2FN.js +1 -0
- package/dist/client/assets/chunks/scala-KN7RQSUJ.js +1 -0
- package/dist/client/assets/chunks/scheme-5R527YZ5.js +1 -0
- package/dist/client/assets/chunks/scss-KZ6DRE4A.js +1 -0
- package/dist/client/assets/chunks/sdbl-FHOCL5SL.js +1 -0
- package/dist/client/assets/chunks/sequenceDiagram-5NDRBG5M-QX2V24ZU.js +169 -0
- package/dist/client/assets/chunks/shaderlab-2TLHUS2H.js +1 -0
- package/dist/client/assets/chunks/shellscript-PIB6ZBDM.js +1 -0
- package/dist/client/assets/chunks/shellsession-5KL7NFNN.js +1 -0
- package/dist/client/assets/chunks/sizeCapture-INFHLROL-LCS2PIHM.js +1 -0
- package/dist/client/assets/chunks/smalltalk-JFLFU247.js +1 -0
- package/dist/client/assets/chunks/smithy-HONEXZAM.js +1 -0
- package/dist/client/assets/chunks/solidity-SJ3INJFZ.js +1 -0
- package/dist/client/assets/chunks/soy-ND4SWTM2.js +1 -0
- package/dist/client/assets/chunks/sparql-YB2JQBZD.js +1 -0
- package/dist/client/assets/chunks/splunk-UXIDDAWL.js +1 -0
- package/dist/client/assets/chunks/sql-K6OMG7SQ.js +1 -0
- package/dist/client/assets/chunks/ssh-config-I7KJY3KQ.js +1 -0
- package/dist/client/assets/chunks/stata-DNZ3DTFJ.js +1 -0
- package/dist/client/assets/chunks/stateDiagram-v2-FJ4FJNEA-LVAUWF3A.js +291 -0
- package/dist/client/assets/chunks/stylus-GWPR6IQY.js +1 -0
- package/dist/client/assets/chunks/surrealql-KQNHBWLC.js +1 -0
- package/dist/client/assets/chunks/svelte-YQKF25S4.js +1 -0
- package/dist/client/assets/chunks/swift-ZCIZUJXA.js +1 -0
- package/dist/client/assets/chunks/swimlanes-UMQ2AFYF-B3RQOARQ.js +1 -0
- package/dist/client/assets/chunks/swimlanesDiagram-OMPLPG4O-JOE33EOV.js +8 -0
- package/dist/client/assets/chunks/system-verilog-Y7E6FIO3.js +1 -0
- package/dist/client/assets/chunks/systemd-WHC7NBZP.js +1 -0
- package/dist/client/assets/chunks/talonscript-WC7SODAH.js +1 -0
- package/dist/client/assets/chunks/tasl-QHY2GTCB.js +1 -0
- package/dist/client/assets/chunks/tcl-VAMIL5PJ.js +1 -0
- package/dist/client/assets/chunks/temml-ISNSX3VV.js +96 -0
- package/dist/client/assets/chunks/templ-B3BHKWV4.js +1 -0
- package/dist/client/assets/chunks/terraform-Q4UEK6FK.js +1 -0
- package/dist/client/assets/chunks/tex-63OWCYAB.js +1 -0
- package/dist/client/assets/chunks/timeline-definition-SEUHKTQE-FDFTVAJG.js +120 -0
- package/dist/client/assets/chunks/toml-7Z4IPGES.js +1 -0
- package/dist/client/assets/chunks/treeView-D4JQ5SDB-ABSGRAGI.js +1 -0
- package/dist/client/assets/chunks/treemap-SAJKECNS-MYX2CBJN.js +1 -0
- package/dist/client/assets/chunks/ts-tags-DT62HE52.js +1 -0
- package/dist/client/assets/chunks/tsv-RTXHWADP.js +1 -0
- package/dist/client/assets/chunks/tsx-UANUBOC7.js +1 -0
- package/dist/client/assets/chunks/turtle-QVOUNUUL.js +1 -0
- package/dist/client/assets/chunks/twig-ZPC4BPDA.js +1 -0
- package/dist/client/assets/chunks/typescript-WGWKIMMW.js +1 -0
- package/dist/client/assets/chunks/typespec-TYCVR32J.js +1 -0
- package/dist/client/assets/chunks/typst-PIBFYUO6.js +1 -0
- package/dist/client/assets/chunks/usecaseDiagram-AFA6YXN4-KW7ADINR.js +370 -0
- package/dist/client/assets/chunks/v-3ERNWBSP.js +1 -0
- package/dist/client/assets/chunks/vala-UCBCT2GS.js +1 -0
- package/dist/client/assets/chunks/vb-DGI3VTPA.js +1 -0
- package/dist/client/assets/chunks/vennDiagram-NNMJR3RB-RDGLGOGM.js +34 -0
- package/dist/client/assets/chunks/verilog-G72NZROS.js +1 -0
- package/dist/client/assets/chunks/vhdl-PYGA77XE.js +1 -0
- package/dist/client/assets/chunks/viml-OOC5B5UU.js +1 -0
- package/dist/client/assets/chunks/vue-GTNHIOPG.js +1 -0
- package/dist/client/assets/chunks/vue-html-DKAMJV55.js +1 -0
- package/dist/client/assets/chunks/vue-vine-WTM5HREV.js +1 -0
- package/dist/client/assets/chunks/vyper-RHYEHOJM.js +1 -0
- package/dist/client/assets/chunks/wardley-7MLQ67FV-QJL2HSBT.js +1 -0
- package/dist/client/assets/chunks/wardleyDiagram-S7YFUSEH-A4XX3UJR.js +78 -0
- package/dist/client/assets/chunks/wasm-ZMM2Z5XV.js +1 -0
- package/dist/client/assets/chunks/wenyan-HF5UTKSJ.js +1 -0
- package/dist/client/assets/chunks/wgsl-O7D7OPO7.js +1 -0
- package/dist/client/assets/chunks/wikitext-T7BSWSKQ.js +1 -0
- package/dist/client/assets/chunks/wit-TKCHPPT6.js +1 -0
- package/dist/client/assets/chunks/wolfram-7MN66A7N.js +1 -0
- package/dist/client/assets/chunks/xml-NLTLAWOD.js +1 -0
- package/dist/client/assets/chunks/xsl-NZ4ECK3P.js +1 -0
- package/dist/client/assets/chunks/xychartDiagram-GGNKY7IX-OXJILWHR.js +7 -0
- package/dist/client/assets/chunks/yaml-HRJLEV3V.js +1 -0
- package/dist/client/assets/chunks/zenscript-4LLRSLPI.js +1 -0
- package/dist/client/assets/chunks/zig-Y7MUQFUO.js +1 -0
- package/dist/client/assets/main.js +186 -0
- package/dist/client/index.html +48 -0
- package/dist/config.js +322 -0
- package/dist/files.js +178 -0
- package/dist/git.js +365 -0
- package/dist/glob.js +89 -0
- package/dist/review.js +290 -0
- package/dist/search.js +136 -0
- package/dist/server.js +482 -0
- package/dist/watch.js +69 -0
- package/dist/zip.js +100 -0
- package/package.json +61 -4
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import{a as Ce}from"./chunk-GQJIKV3T.js";import{d as Se,g as Te}from"./chunk-JCWYZ7X2.js";import"./chunk-UNEI7LMM.js";import"./chunk-YORIST7Z.js";import"./chunk-HIGPS4L2.js";import"./chunk-XF5T2P7U.js";import"./chunk-OBHQQZ4H.js";import{i as Ee,j as re,k as wt}from"./chunk-FNOXGAL5.js";import"./chunk-EO3ER3GN.js";import{H as ne,N as Ut,O as me,U as ge,V as xe,W as ve,X as ke,_ as St,n as be}from"./chunk-SZYM6GIJ.js";import{b as ee,d as jt}from"./chunk-5XZPGKN4.js";import{a as d}from"./chunk-EIBFAW37.js";import"./chunk-FTY6WLQF.js";import"./chunk-7FMWBHZO.js";var Wt=(function(){var t=d(function(_t,m,x,k){for(x=x||{},k=_t.length;k--;x[_t[k]]=m);return x},"o"),e=[1,24],s=[1,25],o=[1,26],u=[1,27],a=[1,28],n=[1,63],l=[1,64],r=[1,65],h=[1,66],y=[1,67],p=[1,68],b=[1,69],v=[1,29],w=[1,30],N=[1,31],O=[1,32],P=[1,33],M=[1,34],X=[1,35],q=[1,36],H=[1,37],Q=[1,38],K=[1,39],G=[1,40],J=[1,41],Z=[1,42],$=[1,43],tt=[1,44],et=[1,45],nt=[1,46],rt=[1,47],st=[1,48],at=[1,50],it=[1,51],ot=[1,52],lt=[1,53],ct=[1,54],ut=[1,55],ht=[1,56],dt=[1,57],pt=[1,58],ft=[1,59],yt=[1,60],Ct=[14,42],Ht=[14,34,36,37,38,39,40,41,42,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],Dt=[12,14,34,36,37,38,39,40,41,42,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],E=[1,82],S=[1,83],T=[1,84],C=[1,85],R=[12,14,42],he=[12,14,33,42],Bt=[12,14,33,42,76,77,79,80],xt=[12,33],Qt=[34,36,37,38,39,40,41,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],Kt={trace:d(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mermaidDoc:4,direction:5,direction_tb:6,direction_bt:7,direction_rl:8,direction_lr:9,graphConfig:10,C4_CONTEXT:11,NEWLINE:12,statements:13,EOF:14,C4_CONTAINER:15,C4_COMPONENT:16,C4_DYNAMIC:17,C4_DEPLOYMENT:18,otherStatements:19,diagramStatements:20,otherStatement:21,title:22,accDescription:23,acc_title:24,acc_title_value:25,acc_descr:26,acc_descr_value:27,acc_descr_multiline_value:28,boundaryStatement:29,boundaryStartStatement:30,boundaryStopStatement:31,boundaryStart:32,LBRACE:33,ENTERPRISE_BOUNDARY:34,attributes:35,SYSTEM_BOUNDARY:36,BOUNDARY:37,CONTAINER_BOUNDARY:38,NODE:39,NODE_L:40,NODE_R:41,RBRACE:42,diagramStatement:43,PERSON:44,PERSON_EXT:45,SYSTEM:46,SYSTEM_DB:47,SYSTEM_QUEUE:48,SYSTEM_EXT:49,SYSTEM_EXT_DB:50,SYSTEM_EXT_QUEUE:51,CONTAINER:52,CONTAINER_DB:53,CONTAINER_QUEUE:54,CONTAINER_EXT:55,CONTAINER_EXT_DB:56,CONTAINER_EXT_QUEUE:57,COMPONENT:58,COMPONENT_DB:59,COMPONENT_QUEUE:60,COMPONENT_EXT:61,COMPONENT_EXT_DB:62,COMPONENT_EXT_QUEUE:63,REL:64,BIREL:65,REL_U:66,REL_D:67,REL_L:68,REL_R:69,REL_B:70,REL_INDEX:71,UPDATE_EL_STYLE:72,UPDATE_REL_STYLE:73,UPDATE_LAYOUT_CONFIG:74,attribute:75,STR:76,STR_KEY:77,STR_VALUE:78,ATTRIBUTE:79,ATTRIBUTE_EMPTY:80,$accept:0,$end:1},terminals_:{2:"error",6:"direction_tb",7:"direction_bt",8:"direction_rl",9:"direction_lr",11:"C4_CONTEXT",12:"NEWLINE",14:"EOF",15:"C4_CONTAINER",16:"C4_COMPONENT",17:"C4_DYNAMIC",18:"C4_DEPLOYMENT",22:"title",23:"accDescription",24:"acc_title",25:"acc_title_value",26:"acc_descr",27:"acc_descr_value",28:"acc_descr_multiline_value",33:"LBRACE",34:"ENTERPRISE_BOUNDARY",36:"SYSTEM_BOUNDARY",37:"BOUNDARY",38:"CONTAINER_BOUNDARY",39:"NODE",40:"NODE_L",41:"NODE_R",42:"RBRACE",44:"PERSON",45:"PERSON_EXT",46:"SYSTEM",47:"SYSTEM_DB",48:"SYSTEM_QUEUE",49:"SYSTEM_EXT",50:"SYSTEM_EXT_DB",51:"SYSTEM_EXT_QUEUE",52:"CONTAINER",53:"CONTAINER_DB",54:"CONTAINER_QUEUE",55:"CONTAINER_EXT",56:"CONTAINER_EXT_DB",57:"CONTAINER_EXT_QUEUE",58:"COMPONENT",59:"COMPONENT_DB",60:"COMPONENT_QUEUE",61:"COMPONENT_EXT",62:"COMPONENT_EXT_DB",63:"COMPONENT_EXT_QUEUE",64:"REL",65:"BIREL",66:"REL_U",67:"REL_D",68:"REL_L",69:"REL_R",70:"REL_B",71:"REL_INDEX",72:"UPDATE_EL_STYLE",73:"UPDATE_REL_STYLE",74:"UPDATE_LAYOUT_CONFIG",76:"STR",77:"STR_KEY",78:"STR_VALUE",79:"ATTRIBUTE",80:"ATTRIBUTE_EMPTY"},productions_:[0,[3,1],[3,1],[5,1],[5,1],[5,1],[5,1],[4,1],[10,4],[10,4],[10,4],[10,4],[10,4],[13,1],[13,1],[13,2],[19,1],[19,2],[19,3],[21,1],[21,1],[21,2],[21,2],[21,1],[29,3],[30,3],[30,3],[30,4],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[31,1],[20,1],[20,2],[20,3],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,1],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[35,1],[35,2],[75,1],[75,2],[75,1],[75,1]],performAction:d(function(m,x,k,_,D,i,Nt){var f=i.length-1;switch(D){case 3:_.setDirection("TB");break;case 4:_.setDirection("BT");break;case 5:_.setDirection("RL");break;case 6:_.setDirection("LR");break;case 8:case 9:case 10:case 11:case 12:_.setC4Type(i[f-3]);break;case 19:_.setTitle(i[f].substring(6)),this.$=i[f].substring(6);break;case 20:_.setAccDescription(i[f].substring(15)),this.$=i[f].substring(15);break;case 21:this.$=i[f].trim(),_.setTitle(this.$);break;case 22:case 23:this.$=i[f].trim(),_.setAccDescription(this.$);break;case 28:i[f].splice(2,0,"ENTERPRISE"),_.addPersonOrSystemBoundary(...i[f]),this.$=i[f];break;case 29:i[f].splice(2,0,"SYSTEM"),_.addPersonOrSystemBoundary(...i[f]),this.$=i[f];break;case 30:_.addPersonOrSystemBoundary(...i[f]),this.$=i[f];break;case 31:i[f].splice(2,0,"CONTAINER"),_.addContainerBoundary(...i[f]),this.$=i[f];break;case 32:_.addDeploymentNode("node",...i[f]),this.$=i[f];break;case 33:_.addDeploymentNode("nodeL",...i[f]),this.$=i[f];break;case 34:_.addDeploymentNode("nodeR",...i[f]),this.$=i[f];break;case 35:_.popBoundaryParseStack();break;case 39:_.addPersonOrSystem("person",...i[f]),this.$=i[f];break;case 40:_.addPersonOrSystem("external_person",...i[f]),this.$=i[f];break;case 41:_.addPersonOrSystem("system",...i[f]),this.$=i[f];break;case 42:_.addPersonOrSystem("system_db",...i[f]),this.$=i[f];break;case 43:_.addPersonOrSystem("system_queue",...i[f]),this.$=i[f];break;case 44:_.addPersonOrSystem("external_system",...i[f]),this.$=i[f];break;case 45:_.addPersonOrSystem("external_system_db",...i[f]),this.$=i[f];break;case 46:_.addPersonOrSystem("external_system_queue",...i[f]),this.$=i[f];break;case 47:_.addContainer("container",...i[f]),this.$=i[f];break;case 48:_.addContainer("container_db",...i[f]),this.$=i[f];break;case 49:_.addContainer("container_queue",...i[f]),this.$=i[f];break;case 50:_.addContainer("external_container",...i[f]),this.$=i[f];break;case 51:_.addContainer("external_container_db",...i[f]),this.$=i[f];break;case 52:_.addContainer("external_container_queue",...i[f]),this.$=i[f];break;case 53:_.addComponent("component",...i[f]),this.$=i[f];break;case 54:_.addComponent("component_db",...i[f]),this.$=i[f];break;case 55:_.addComponent("component_queue",...i[f]),this.$=i[f];break;case 56:_.addComponent("external_component",...i[f]),this.$=i[f];break;case 57:_.addComponent("external_component_db",...i[f]),this.$=i[f];break;case 58:_.addComponent("external_component_queue",...i[f]),this.$=i[f];break;case 60:_.addRel("rel",...i[f]),this.$=i[f];break;case 61:_.addRel("birel",...i[f]),this.$=i[f];break;case 62:_.addRel("rel_u",...i[f]),this.$=i[f];break;case 63:_.addRel("rel_d",...i[f]),this.$=i[f];break;case 64:_.addRel("rel_l",...i[f]),this.$=i[f];break;case 65:_.addRel("rel_r",...i[f]),this.$=i[f];break;case 66:_.addRel("rel_b",...i[f]),this.$=i[f];break;case 67:i[f].splice(0,1),_.addRel("rel",...i[f]),this.$=i[f];break;case 68:_.updateElStyle("update_el_style",...i[f]),this.$=i[f];break;case 69:_.updateRelStyle("update_rel_style",...i[f]),this.$=i[f];break;case 70:_.updateLayoutConfig("update_layout_config",...i[f]),this.$=i[f];break;case 71:this.$=[i[f]];break;case 72:i[f].unshift(i[f-1]),this.$=i[f];break;case 73:case 75:this.$=i[f].trim();break;case 74:let vt={};vt[i[f-1].trim()]=i[f].trim(),this.$=vt;break;case 76:this.$="";break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],7:[1,6],8:[1,7],9:[1,8],10:4,11:[1,9],15:[1,10],16:[1,11],17:[1,12],18:[1,13]},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,7]},{1:[2,3]},{1:[2,4]},{1:[2,5]},{1:[2,6]},{12:[1,14]},{12:[1,15]},{12:[1,16]},{12:[1,17]},{12:[1,18]},{13:19,19:20,20:21,21:22,22:e,23:s,24:o,26:u,28:a,29:49,30:61,32:62,34:n,36:l,37:r,38:h,39:y,40:p,41:b,43:23,44:v,45:w,46:N,47:O,48:P,49:M,50:X,51:q,52:H,53:Q,54:K,55:G,56:J,57:Z,58:$,59:tt,60:et,61:nt,62:rt,63:st,64:at,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt},{13:70,19:20,20:21,21:22,22:e,23:s,24:o,26:u,28:a,29:49,30:61,32:62,34:n,36:l,37:r,38:h,39:y,40:p,41:b,43:23,44:v,45:w,46:N,47:O,48:P,49:M,50:X,51:q,52:H,53:Q,54:K,55:G,56:J,57:Z,58:$,59:tt,60:et,61:nt,62:rt,63:st,64:at,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt},{13:71,19:20,20:21,21:22,22:e,23:s,24:o,26:u,28:a,29:49,30:61,32:62,34:n,36:l,37:r,38:h,39:y,40:p,41:b,43:23,44:v,45:w,46:N,47:O,48:P,49:M,50:X,51:q,52:H,53:Q,54:K,55:G,56:J,57:Z,58:$,59:tt,60:et,61:nt,62:rt,63:st,64:at,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt},{13:72,19:20,20:21,21:22,22:e,23:s,24:o,26:u,28:a,29:49,30:61,32:62,34:n,36:l,37:r,38:h,39:y,40:p,41:b,43:23,44:v,45:w,46:N,47:O,48:P,49:M,50:X,51:q,52:H,53:Q,54:K,55:G,56:J,57:Z,58:$,59:tt,60:et,61:nt,62:rt,63:st,64:at,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt},{13:73,19:20,20:21,21:22,22:e,23:s,24:o,26:u,28:a,29:49,30:61,32:62,34:n,36:l,37:r,38:h,39:y,40:p,41:b,43:23,44:v,45:w,46:N,47:O,48:P,49:M,50:X,51:q,52:H,53:Q,54:K,55:G,56:J,57:Z,58:$,59:tt,60:et,61:nt,62:rt,63:st,64:at,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt},{14:[1,74]},t(Ct,[2,13],{43:23,29:49,30:61,32:62,20:75,34:n,36:l,37:r,38:h,39:y,40:p,41:b,44:v,45:w,46:N,47:O,48:P,49:M,50:X,51:q,52:H,53:Q,54:K,55:G,56:J,57:Z,58:$,59:tt,60:et,61:nt,62:rt,63:st,64:at,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt}),t(Ct,[2,14]),t(Ht,[2,16],{12:[1,76]}),t(Ct,[2,36],{12:[1,77]}),t(Dt,[2,19]),t(Dt,[2,20]),{25:[1,78]},{27:[1,79]},t(Dt,[2,23]),{35:80,75:81,76:E,77:S,79:T,80:C},{35:86,75:81,76:E,77:S,79:T,80:C},{35:87,75:81,76:E,77:S,79:T,80:C},{35:88,75:81,76:E,77:S,79:T,80:C},{35:89,75:81,76:E,77:S,79:T,80:C},{35:90,75:81,76:E,77:S,79:T,80:C},{35:91,75:81,76:E,77:S,79:T,80:C},{35:92,75:81,76:E,77:S,79:T,80:C},{35:93,75:81,76:E,77:S,79:T,80:C},{35:94,75:81,76:E,77:S,79:T,80:C},{35:95,75:81,76:E,77:S,79:T,80:C},{35:96,75:81,76:E,77:S,79:T,80:C},{35:97,75:81,76:E,77:S,79:T,80:C},{35:98,75:81,76:E,77:S,79:T,80:C},{35:99,75:81,76:E,77:S,79:T,80:C},{35:100,75:81,76:E,77:S,79:T,80:C},{35:101,75:81,76:E,77:S,79:T,80:C},{35:102,75:81,76:E,77:S,79:T,80:C},{35:103,75:81,76:E,77:S,79:T,80:C},{35:104,75:81,76:E,77:S,79:T,80:C},t(R,[2,59]),{35:105,75:81,76:E,77:S,79:T,80:C},{35:106,75:81,76:E,77:S,79:T,80:C},{35:107,75:81,76:E,77:S,79:T,80:C},{35:108,75:81,76:E,77:S,79:T,80:C},{35:109,75:81,76:E,77:S,79:T,80:C},{35:110,75:81,76:E,77:S,79:T,80:C},{35:111,75:81,76:E,77:S,79:T,80:C},{35:112,75:81,76:E,77:S,79:T,80:C},{35:113,75:81,76:E,77:S,79:T,80:C},{35:114,75:81,76:E,77:S,79:T,80:C},{35:115,75:81,76:E,77:S,79:T,80:C},{20:116,29:49,30:61,32:62,34:n,36:l,37:r,38:h,39:y,40:p,41:b,43:23,44:v,45:w,46:N,47:O,48:P,49:M,50:X,51:q,52:H,53:Q,54:K,55:G,56:J,57:Z,58:$,59:tt,60:et,61:nt,62:rt,63:st,64:at,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt},{12:[1,118],33:[1,117]},{35:119,75:81,76:E,77:S,79:T,80:C},{35:120,75:81,76:E,77:S,79:T,80:C},{35:121,75:81,76:E,77:S,79:T,80:C},{35:122,75:81,76:E,77:S,79:T,80:C},{35:123,75:81,76:E,77:S,79:T,80:C},{35:124,75:81,76:E,77:S,79:T,80:C},{35:125,75:81,76:E,77:S,79:T,80:C},{14:[1,126]},{14:[1,127]},{14:[1,128]},{14:[1,129]},{1:[2,8]},t(Ct,[2,15]),t(Ht,[2,17],{21:22,19:130,22:e,23:s,24:o,26:u,28:a}),t(Ct,[2,37],{19:20,20:21,21:22,43:23,29:49,30:61,32:62,13:131,22:e,23:s,24:o,26:u,28:a,34:n,36:l,37:r,38:h,39:y,40:p,41:b,44:v,45:w,46:N,47:O,48:P,49:M,50:X,51:q,52:H,53:Q,54:K,55:G,56:J,57:Z,58:$,59:tt,60:et,61:nt,62:rt,63:st,64:at,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt}),t(Dt,[2,21]),t(Dt,[2,22]),t(R,[2,39]),t(he,[2,71],{75:81,35:132,76:E,77:S,79:T,80:C}),t(Bt,[2,73]),{78:[1,133]},t(Bt,[2,75]),t(Bt,[2,76]),t(R,[2,40]),t(R,[2,41]),t(R,[2,42]),t(R,[2,43]),t(R,[2,44]),t(R,[2,45]),t(R,[2,46]),t(R,[2,47]),t(R,[2,48]),t(R,[2,49]),t(R,[2,50]),t(R,[2,51]),t(R,[2,52]),t(R,[2,53]),t(R,[2,54]),t(R,[2,55]),t(R,[2,56]),t(R,[2,57]),t(R,[2,58]),t(R,[2,60]),t(R,[2,61]),t(R,[2,62]),t(R,[2,63]),t(R,[2,64]),t(R,[2,65]),t(R,[2,66]),t(R,[2,67]),t(R,[2,68]),t(R,[2,69]),t(R,[2,70]),{31:134,42:[1,135]},{12:[1,136]},{33:[1,137]},t(xt,[2,28]),t(xt,[2,29]),t(xt,[2,30]),t(xt,[2,31]),t(xt,[2,32]),t(xt,[2,33]),t(xt,[2,34]),{1:[2,9]},{1:[2,10]},{1:[2,11]},{1:[2,12]},t(Ht,[2,18]),t(Ct,[2,38]),t(he,[2,72]),t(Bt,[2,74]),t(R,[2,24]),t(R,[2,35]),t(Qt,[2,25]),t(Qt,[2,26],{12:[1,138]}),t(Qt,[2,27])],defaultActions:{2:[2,1],3:[2,2],4:[2,7],5:[2,3],6:[2,4],7:[2,5],8:[2,6],74:[2,8],126:[2,9],127:[2,10],128:[2,11],129:[2,12]},parseError:d(function(m,x){if(x.recoverable)this.trace(m);else{var k=new Error(m);throw k.hash=x,k}},"parseError"),parse:d(function(m){var x=this,k=[0],_=[],D=[null],i=[],Nt=this.table,f="",vt=0,de=0,pe=0,ze=2,fe=1,We=i.slice.call(arguments,1),A=Object.create(this.lexer),kt={yy:{}};for(var Gt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Gt)&&(kt.yy[Gt]=this.yy[Gt]);A.setInput(m,kt.yy),kt.yy.lexer=A,kt.yy.parser=this,typeof A.yylloc>"u"&&(A.yylloc={});var Jt=A.yylloc;i.push(Jt);var Xe=A.options&&A.options.ranges;typeof kt.yy.parseError=="function"?this.parseError=kt.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function qe(B){k.length=k.length-2*B,D.length=D.length-B,i.length=i.length-B}d(qe,"popStack");function ye(){var B;return B=_.pop()||A.lex()||fe,typeof B!="number"&&(B instanceof Array&&(_=B,B=_.pop()),B=x.symbols_[B]||B),B}d(ye,"lex");for(var L,Zt,Et,V,G0,$t,Rt={},Yt,z,_e,Ft;;){if(Et=k[k.length-1],this.defaultActions[Et]?V=this.defaultActions[Et]:((L===null||typeof L>"u")&&(L=ye()),V=Nt[Et]&&Nt[Et][L]),typeof V>"u"||!V.length||!V[0]){var te="";Ft=[];for(Yt in Nt[Et])this.terminals_[Yt]&&Yt>ze&&Ft.push("'"+this.terminals_[Yt]+"'");A.showPosition?te="Parse error on line "+(vt+1)+`:
|
|
2
|
+
`+A.showPosition()+`
|
|
3
|
+
Expecting `+Ft.join(", ")+", got '"+(this.terminals_[L]||L)+"'":te="Parse error on line "+(vt+1)+": Unexpected "+(L==fe?"end of input":"'"+(this.terminals_[L]||L)+"'"),this.parseError(te,{text:A.match,token:this.terminals_[L]||L,line:A.yylineno,loc:Jt,expected:Ft})}if(V[0]instanceof Array&&V.length>1)throw new Error("Parse Error: multiple actions possible at state: "+Et+", token: "+L);switch(V[0]){case 1:k.push(L),D.push(A.yytext),i.push(A.yylloc),k.push(V[1]),L=null,Zt?(L=Zt,Zt=null):(de=A.yyleng,f=A.yytext,vt=A.yylineno,Jt=A.yylloc,pe>0&&pe--);break;case 2:if(z=this.productions_[V[1]][1],Rt.$=D[D.length-z],Rt._$={first_line:i[i.length-(z||1)].first_line,last_line:i[i.length-1].last_line,first_column:i[i.length-(z||1)].first_column,last_column:i[i.length-1].last_column},Xe&&(Rt._$.range=[i[i.length-(z||1)].range[0],i[i.length-1].range[1]]),$t=this.performAction.apply(Rt,[f,de,vt,kt.yy,V[1],D,i].concat(We)),typeof $t<"u")return $t;z&&(k=k.slice(0,-1*z*2),D=D.slice(0,-1*z),i=i.slice(0,-1*z)),k.push(this.productions_[V[1]][0]),D.push(Rt.$),i.push(Rt._$),_e=Nt[k[k.length-2]][k[k.length-1]],k.push(_e);break;case 3:return!0}}return!0},"parse")},je=(function(){var _t={EOF:1,parseError:d(function(x,k){if(this.yy.parser)this.yy.parser.parseError(x,k);else throw new Error(x)},"parseError"),setInput:d(function(m,x){return this.yy=x||this.yy||{},this._input=m,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:d(function(){var m=this._input[0];this.yytext+=m,this.yyleng++,this.offset++,this.match+=m,this.matched+=m;var x=m.match(/(?:\r\n?|\n).*/g);return x?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),m},"input"),unput:d(function(m){var x=m.length,k=m.split(/(?:\r\n?|\n)/g);this._input=m+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-x),this.offset-=x;var _=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),k.length-1&&(this.yylineno-=k.length-1);var D=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:k?(k.length===_.length?this.yylloc.first_column:0)+_[_.length-k.length].length-k[0].length:this.yylloc.first_column-x},this.options.ranges&&(this.yylloc.range=[D[0],D[0]+this.yyleng-x]),this.yyleng=this.yytext.length,this},"unput"),more:d(function(){return this._more=!0,this},"more"),reject:d(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else 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).
|
|
4
|
+
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:d(function(m){this.unput(this.match.slice(m))},"less"),pastInput:d(function(){var m=this.matched.substr(0,this.matched.length-this.match.length);return(m.length>20?"...":"")+m.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:d(function(){var m=this.match;return m.length<20&&(m+=this._input.substr(0,20-m.length)),(m.substr(0,20)+(m.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:d(function(){var m=this.pastInput(),x=new Array(m.length+1).join("-");return m+this.upcomingInput()+`
|
|
5
|
+
`+x+"^"},"showPosition"),test_match:d(function(m,x){var k,_,D;if(this.options.backtrack_lexer&&(D={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(D.yylloc.range=this.yylloc.range.slice(0))),_=m[0].match(/(?:\r\n?|\n).*/g),_&&(this.yylineno+=_.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:_?_[_.length-1].length-_[_.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+m[0].length},this.yytext+=m[0],this.match+=m[0],this.matches=m,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(m[0].length),this.matched+=m[0],k=this.performAction.call(this,this.yy,this,x,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),k)return k;if(this._backtrack){for(var i in D)this[i]=D[i];return!1}return!1},"test_match"),next:d(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var m,x,k,_;this._more||(this.yytext="",this.match="");for(var D=this._currentRules(),i=0;i<D.length;i++)if(k=this._input.match(this.rules[D[i]]),k&&(!x||k[0].length>x[0].length)){if(x=k,_=i,this.options.backtrack_lexer){if(m=this.test_match(k,D[i]),m!==!1)return m;if(this._backtrack){x=!1;continue}else return!1}else if(!this.options.flex)break}return x?(m=this.test_match(x,D[_]),m!==!1?m:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
|
|
6
|
+
`+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:d(function(){var x=this.next();return x||this.lex()},"lex"),begin:d(function(x){this.conditionStack.push(x)},"begin"),popState:d(function(){var x=this.conditionStack.length-1;return x>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:d(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:d(function(x){return x=this.conditionStack.length-1-Math.abs(x||0),x>=0?this.conditionStack[x]:"INITIAL"},"topState"),pushState:d(function(x){this.begin(x)},"pushState"),stateStackSize:d(function(){return this.conditionStack.length},"stateStackSize"),options:{},performAction:d(function(x,k,_,D){var i=D;switch(_){case 0:return 6;case 1:return 7;case 2:return 8;case 3:return 9;case 4:return 22;case 5:return 23;case 6:return this.begin("acc_title"),24;break;case 7:return this.popState(),"acc_title_value";break;case 8:return this.begin("acc_descr"),26;break;case 9:return this.popState(),"acc_descr_value";break;case 10:this.begin("acc_descr_multiline");break;case 11:this.popState();break;case 12:return"acc_descr_multiline_value";case 13:break;case 14:c;break;case 15:return 12;case 16:break;case 17:return 11;case 18:return 15;case 19:return 16;case 20:return 17;case 21:return 18;case 22:return this.begin("person_ext"),45;break;case 23:return this.begin("person"),44;break;case 24:return this.begin("system_ext_queue"),51;break;case 25:return this.begin("system_ext_db"),50;break;case 26:return this.begin("system_ext"),49;break;case 27:return this.begin("system_queue"),48;break;case 28:return this.begin("system_db"),47;break;case 29:return this.begin("system"),46;break;case 30:return this.begin("boundary"),37;break;case 31:return this.begin("enterprise_boundary"),34;break;case 32:return this.begin("system_boundary"),36;break;case 33:return this.begin("container_ext_queue"),57;break;case 34:return this.begin("container_ext_db"),56;break;case 35:return this.begin("container_ext"),55;break;case 36:return this.begin("container_queue"),54;break;case 37:return this.begin("container_db"),53;break;case 38:return this.begin("container"),52;break;case 39:return this.begin("container_boundary"),38;break;case 40:return this.begin("component_ext_queue"),63;break;case 41:return this.begin("component_ext_db"),62;break;case 42:return this.begin("component_ext"),61;break;case 43:return this.begin("component_queue"),60;break;case 44:return this.begin("component_db"),59;break;case 45:return this.begin("component"),58;break;case 46:return this.begin("node"),39;break;case 47:return this.begin("node"),39;break;case 48:return this.begin("node_l"),40;break;case 49:return this.begin("node_r"),41;break;case 50:return this.begin("rel"),64;break;case 51:return this.begin("birel"),65;break;case 52:return this.begin("rel_u"),66;break;case 53:return this.begin("rel_u"),66;break;case 54:return this.begin("rel_d"),67;break;case 55:return this.begin("rel_d"),67;break;case 56:return this.begin("rel_l"),68;break;case 57:return this.begin("rel_l"),68;break;case 58:return this.begin("rel_r"),69;break;case 59:return this.begin("rel_r"),69;break;case 60:return this.begin("rel_b"),70;break;case 61:return this.begin("rel_index"),71;break;case 62:return this.begin("update_el_style"),72;break;case 63:return this.begin("update_rel_style"),73;break;case 64:return this.begin("update_layout_config"),74;break;case 65:return"EOF_IN_STRUCT";case 66:return this.begin("attribute"),"ATTRIBUTE_EMPTY";break;case 67:this.begin("attribute");break;case 68:this.popState(),this.popState();break;case 69:return 80;case 70:break;case 71:return 80;case 72:this.begin("string");break;case 73:this.popState();break;case 74:return"STR";case 75:this.begin("string_kv");break;case 76:return this.begin("string_kv_key"),"STR_KEY";break;case 77:this.popState(),this.begin("string_kv_value");break;case 78:return"STR_VALUE";case 79:this.popState(),this.popState();break;case 80:return"STR";case 81:return"LBRACE";case 82:return"RBRACE";case 83:return"SPACE";case 84:return"EOL";case 85:return 14}},"anonymous"),rules:[/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:title\s[^#\n;]+)/,/^(?:accDescription\s[^#\n;]+)/,/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:%%(?!\{)*[^\n]*(\r?\n?)+)/,/^(?:%%[^\n]*(\r?\n)*)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:C4Context\b)/,/^(?:C4Container\b)/,/^(?:C4Component\b)/,/^(?:C4Dynamic\b)/,/^(?:C4Deployment\b)/,/^(?:Person_Ext\b)/,/^(?:Person\b)/,/^(?:SystemQueue_Ext\b)/,/^(?:SystemDb_Ext\b)/,/^(?:System_Ext\b)/,/^(?:SystemQueue\b)/,/^(?:SystemDb\b)/,/^(?:System\b)/,/^(?:Boundary\b)/,/^(?:Enterprise_Boundary\b)/,/^(?:System_Boundary\b)/,/^(?:ContainerQueue_Ext\b)/,/^(?:ContainerDb_Ext\b)/,/^(?:Container_Ext\b)/,/^(?:ContainerQueue\b)/,/^(?:ContainerDb\b)/,/^(?:Container\b)/,/^(?:Container_Boundary\b)/,/^(?:ComponentQueue_Ext\b)/,/^(?:ComponentDb_Ext\b)/,/^(?:Component_Ext\b)/,/^(?:ComponentQueue\b)/,/^(?:ComponentDb\b)/,/^(?:Component\b)/,/^(?:Deployment_Node\b)/,/^(?:Node\b)/,/^(?:Node_L\b)/,/^(?:Node_R\b)/,/^(?:Rel\b)/,/^(?:BiRel\b)/,/^(?:Rel_Up\b)/,/^(?:Rel_U\b)/,/^(?:Rel_Down\b)/,/^(?:Rel_D\b)/,/^(?:Rel_Left\b)/,/^(?:Rel_L\b)/,/^(?:Rel_Right\b)/,/^(?:Rel_R\b)/,/^(?:Rel_Back\b)/,/^(?:RelIndex\b)/,/^(?:UpdateElementStyle\b)/,/^(?:UpdateRelStyle\b)/,/^(?:UpdateLayoutConfig\b)/,/^(?:$)/,/^(?:[(][ ]*[,])/,/^(?:[(])/,/^(?:[)])/,/^(?:,,)/,/^(?:,)/,/^(?:[ ]*["]["])/,/^(?:[ ]*["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:[ ]*[\$])/,/^(?:[^=]*)/,/^(?:[=][ ]*["])/,/^(?:[^"]+)/,/^(?:["])/,/^(?:[^,]+)/,/^(?:\{)/,/^(?:\})/,/^(?:[\s]+)/,/^(?:[\n\r]+)/,/^(?:$)/],conditions:{acc_descr_multiline:{rules:[11,12],inclusive:!1},acc_descr:{rules:[9],inclusive:!1},acc_title:{rules:[7],inclusive:!1},string_kv_value:{rules:[78,79],inclusive:!1},string_kv_key:{rules:[77],inclusive:!1},string_kv:{rules:[76],inclusive:!1},string:{rules:[73,74],inclusive:!1},attribute:{rules:[68,69,70,71,72,75,80],inclusive:!1},update_layout_config:{rules:[65,66,67,68],inclusive:!1},update_rel_style:{rules:[65,66,67,68],inclusive:!1},update_el_style:{rules:[65,66,67,68],inclusive:!1},rel_b:{rules:[65,66,67,68],inclusive:!1},rel_r:{rules:[65,66,67,68],inclusive:!1},rel_l:{rules:[65,66,67,68],inclusive:!1},rel_d:{rules:[65,66,67,68],inclusive:!1},rel_u:{rules:[65,66,67,68],inclusive:!1},rel_bi:{rules:[],inclusive:!1},rel:{rules:[65,66,67,68],inclusive:!1},node_r:{rules:[65,66,67,68],inclusive:!1},node_l:{rules:[65,66,67,68],inclusive:!1},node:{rules:[65,66,67,68],inclusive:!1},index:{rules:[],inclusive:!1},rel_index:{rules:[65,66,67,68],inclusive:!1},component_ext_queue:{rules:[65,66,67,68],inclusive:!1},component_ext_db:{rules:[65,66,67,68],inclusive:!1},component_ext:{rules:[65,66,67,68],inclusive:!1},component_queue:{rules:[65,66,67,68],inclusive:!1},component_db:{rules:[65,66,67,68],inclusive:!1},component:{rules:[65,66,67,68],inclusive:!1},container_boundary:{rules:[65,66,67,68],inclusive:!1},container_ext_queue:{rules:[65,66,67,68],inclusive:!1},container_ext_db:{rules:[65,66,67,68],inclusive:!1},container_ext:{rules:[65,66,67,68],inclusive:!1},container_queue:{rules:[65,66,67,68],inclusive:!1},container_db:{rules:[65,66,67,68],inclusive:!1},container:{rules:[65,66,67,68],inclusive:!1},birel:{rules:[65,66,67,68],inclusive:!1},system_boundary:{rules:[65,66,67,68],inclusive:!1},enterprise_boundary:{rules:[65,66,67,68],inclusive:!1},boundary:{rules:[65,66,67,68],inclusive:!1},system_ext_queue:{rules:[65,66,67,68],inclusive:!1},system_ext_db:{rules:[65,66,67,68],inclusive:!1},system_ext:{rules:[65,66,67,68],inclusive:!1},system_queue:{rules:[65,66,67,68],inclusive:!1},system_db:{rules:[65,66,67,68],inclusive:!1},system:{rules:[65,66,67,68],inclusive:!1},person_ext:{rules:[65,66,67,68],inclusive:!1},person:{rules:[65,66,67,68],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,8,10,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,81,82,83,84,85],inclusive:!0}}};return _t})();Kt.lexer=je;function Vt(){this.yy={}}return d(Vt,"Parser"),Vt.prototype=Kt,Kt.Parser=Vt,new Vt})();Wt.parser=Wt;var He=Wt,De=d(t=>St()[t],"getRequiredConfig"),Y=new Set(["label","descr","techn","type"]),Tt=d((t,e)=>{for(let[s,o]of Object.entries(e))if(o!==void 0)if(typeof o=="object"){let[u,a]=Object.entries(o)[0];t[u]=Y.has(u)?{text:a}:a}else t[s]=o},"assignAttributes"),Ne=d(()=>({alias:"global",label:{text:"global"},type:{text:"global"},tags:null,link:null,parentBoundary:""}),"createGlobalBoundary"),U=[],bt=[""],I="global",F="",j=[Ne()],Mt=[],le="",ce=!1,Xt=4,qt=2,Ae,Qe=d(function(){return Ae},"getC4Type"),Ke=d(function(t){Ae=ne(t,St())},"setC4Type"),Ge=d(function(t,e,s,o,u,a,n,l,r){if(t==null||e===void 0||e===null||s===void 0||s===null||o===void 0||o===null)return;let h={},y=Mt.find(p=>p.from===e&&p.to===s);if(y?h=y:Mt.push(h),h.type=t,h.from=e,h.to=s,h.label={text:o},u==null)h.techn??={text:""};else if(typeof u=="object"){let[p,b]=Object.entries(u)[0];h[p]=Y.has(p)?{text:b}:b}else h.techn={text:u};if(a==null)h.descr??={text:""};else if(typeof a=="object"){let[p,b]=Object.entries(a)[0];h[p]=Y.has(p)?{text:b}:b}else h.descr={text:a};Tt(h,{sprite:n,tags:l,link:r}),h.wrap=gt()},"addRel"),Je=d(function(t,e,s,o,u,a,n){if(e===null||s===null)return;let l={},r=U.find(h=>h.alias===e);if(r&&e===r.alias?l=r:(l.alias=e,U.push(l)),s==null?l.label={text:""}:l.label={text:s},o==null)l.descr??={text:""};else if(typeof o=="object"){let[h,y]=Object.entries(o)[0];l[h]=Y.has(h)?{text:y}:y}else l.descr={text:o};Tt(l,{sprite:u,tags:a,link:n}),l.typeC4Shape={text:t},l.parentBoundary=I,l.wrap=gt()},"addPersonOrSystem"),Ze=d(function(t,e,s,o,u,a,n,l){if(e===null||s===null)return;let r={},h=U.find(y=>y.alias===e);if(h&&e===h.alias?r=h:(r.alias=e,U.push(r)),s==null?r.label={text:""}:r.label={text:s},o==null)r.techn??={text:""};else if(typeof o=="object"){let[y,p]=Object.entries(o)[0];r[y]=Y.has(y)?{text:p}:p}else r.techn={text:o};if(u==null)r.descr??={text:""};else if(typeof u=="object"){let[y,p]=Object.entries(u)[0];r[y]=Y.has(y)?{text:p}:p}else r.descr={text:u};Tt(r,{sprite:a,tags:n,link:l}),r.wrap=gt(),r.typeC4Shape={text:t},r.parentBoundary=I},"addContainer"),$e=d(function(t,e,s,o,u,a,n,l){if(e===null||s===null)return;let r={},h=U.find(y=>y.alias===e);if(h&&e===h.alias?r=h:(r.alias=e,U.push(r)),s==null?r.label={text:""}:r.label={text:s},o==null)r.techn??={text:""};else if(typeof o=="object"){let[y,p]=Object.entries(o)[0];r[y]=Y.has(y)?{text:p}:p}else r.techn={text:o};if(u==null)r.descr??={text:""};else if(typeof u=="object"){let[y,p]=Object.entries(u)[0];r[y]=Y.has(y)?{text:p}:p}else r.descr={text:u};Tt(r,{sprite:a,tags:n,link:l}),r.wrap=gt(),r.typeC4Shape={text:t},r.parentBoundary=I},"addComponent"),t0=d(function(t,e,s,o,u){if(t===null||e===null)return;let a={},n=j.find(l=>l.alias===t);if(n&&t===n.alias?a=n:(a.alias=t,j.push(a)),e==null?a.label={text:""}:a.label={text:e},s==null)a.type={text:"system"};else if(typeof s=="object"){let[l,r]=Object.entries(s)[0];a[l]=Y.has(l)?{text:r}:r}else a.type={text:s};Tt(a,{tags:o,link:u}),a.parentBoundary=I,a.wrap=gt(),F=I,I=t,bt.push(F)},"addPersonOrSystemBoundary"),e0=d(function(t,e,s,o,u){if(t===null||e===null)return;let a={},n=j.find(l=>l.alias===t);if(n&&t===n.alias?a=n:(a.alias=t,j.push(a)),e==null?a.label={text:""}:a.label={text:e},s==null)a.type={text:"container"};else if(typeof s=="object"){let[l,r]=Object.entries(s)[0];a[l]=Y.has(l)?{text:r}:r}else a.type={text:s};Tt(a,{tags:o,link:u}),a.parentBoundary=I,a.wrap=gt(),F=I,I=t,bt.push(F)},"addContainerBoundary"),n0=d(function(t,e,s,o,u,a,n,l){if(e===null||s===null)return;let r={},h=j.find(y=>y.alias===e);if(h&&e===h.alias?r=h:(r.alias=e,j.push(r)),s==null?r.label={text:""}:r.label={text:s},o==null)r.type={text:"node"};else if(typeof o=="object"){let[y,p]=Object.entries(o)[0];r[y]=Y.has(y)?{text:p}:p}else r.type={text:o};if(u==null)r.descr??={text:""};else if(typeof u=="object"){let[y,p]=Object.entries(u)[0];r[y]=Y.has(y)?{text:p}:p}else r.descr={text:u};Tt(r,{tags:n,link:l}),r.nodeType=t,r.parentBoundary=I,r.wrap=gt(),F=I,I=e,bt.push(F)},"addDeploymentNode"),r0=d(function(){I=F,bt.pop(),F=bt.pop(),bt.push(F)},"popBoundaryParseStack"),s0=d(function(t,e,s,o,u,a,n,l,r,h,y){let p=U.find(b=>b.alias===e);if(!(p===void 0&&(p=j.find(b=>b.alias===e),p===void 0))){if(s!=null)if(typeof s=="object"){let[b,v]=Object.entries(s)[0];p[b]=v}else p.bgColor=s;if(o!=null)if(typeof o=="object"){let[b,v]=Object.entries(o)[0];p[b]=v}else p.fontColor=o;if(u!=null)if(typeof u=="object"){let[b,v]=Object.entries(u)[0];p[b]=v}else p.borderColor=u;if(a!=null)if(typeof a=="object"){let[b,v]=Object.entries(a)[0];p[b]=v}else p.shadowing=a;if(n!=null)if(typeof n=="object"){let[b,v]=Object.entries(n)[0];p[b]=v}else p.shape=n;if(l!=null)if(typeof l=="object"){let[b,v]=Object.entries(l)[0];p[b]=v}else p.sprite=l;if(r!=null)if(typeof r=="object"){let[b,v]=Object.entries(r)[0];p[b]=v}else p.techn=r;if(h!=null)if(typeof h=="object"){let[b,v]=Object.entries(h)[0];p[b]=v}else p.legendText=h;if(y!=null)if(typeof y=="object"){let[b,v]=Object.entries(y)[0];p[b]=v}else p.legendSprite=y}},"updateElStyle"),a0=d(function(t,e,s,o,u,a,n){let l=Mt.find(r=>r.from===e&&r.to===s);if(l!==void 0){if(o!=null)if(typeof o=="object"){let[r,h]=Object.entries(o)[0];l[r]=h}else l.textColor=o;if(u!=null)if(typeof u=="object"){let[r,h]=Object.entries(u)[0];l[r]=h}else l.lineColor=u;if(a!=null)if(typeof a=="object"){let[r,h]=Object.entries(a)[0];l[r]=parseInt(h)}else l.offsetX=parseInt(a);if(n!=null)if(typeof n=="object"){let[r,h]=Object.entries(n)[0];l[r]=parseInt(h)}else l.offsetY=parseInt(n)}},"updateRelStyle"),i0=d(function(t,e,s){let o=Xt,u=qt;if(typeof e=="object"){let a=Object.values(e)[0];o=parseInt(a)}else o=parseInt(e);if(typeof s=="object"){let a=Object.values(s)[0];u=parseInt(a)}else u=parseInt(s);o>=1&&(Xt=o),u>=1&&(qt=u)},"updateLayoutConfig"),o0=d(function(){return Xt},"getC4ShapeInRow"),l0=d(function(){return qt},"getC4BoundaryInRow"),c0=d(function(){return I},"getCurrentBoundaryParse"),u0=d(function(){return F},"getParentBoundaryParse"),Le=d(function(t){return t==null?U:U.filter(e=>e.parentBoundary===t)},"getC4ShapeArray"),h0=d(function(t){return U.find(e=>e.alias===t)??j.find(e=>e.alias===t)},"getC4Shape"),d0=d(function(t){return Object.keys(Le(t))},"getC4ShapeKeys"),Ie=d(function(t){return t==null?j:j.filter(e=>e.parentBoundary===t)},"getBoundaries"),p0=Ie,f0=d(function(){return Mt},"getRels"),y0=d(function(){return le},"getTitle"),_0=d(function(t){ce=t},"setWrap"),gt=d(function(){return ce},"autoWrap"),b0=d(function(){U=[],j=[Ne()],F="",I="global",bt=[""],Mt=[],bt=[""],le="",ce=!1,Xt=4,qt=2},"clear"),m0={SOLID:0,DOTTED:1,NOTE:2,SOLID_CROSS:3,DOTTED_CROSS:4,SOLID_OPEN:5,DOTTED_OPEN:6,LOOP_START:10,LOOP_END:11,ALT_START:12,ALT_ELSE:13,ALT_END:14,OPT_START:15,OPT_END:16,ACTIVE_START:17,ACTIVE_END:18,PAR_START:19,PAR_AND:20,PAR_END:21,RECT_START:22,RECT_END:23,SOLID_POINT:24,DOTTED_POINT:25},g0={FILLED:0,OPEN:1},x0={LEFTOF:0,RIGHTOF:1,OVER:2},v0=d(function(t){le=ne(t,St())},"setTitle"),ae={addPersonOrSystem:Je,addPersonOrSystemBoundary:t0,addContainer:Ze,addContainerBoundary:e0,addComponent:$e,addDeploymentNode:n0,popBoundaryParseStack:r0,addRel:Ge,updateElStyle:s0,updateRelStyle:a0,updateLayoutConfig:i0,autoWrap:gt,setWrap:_0,getC4ShapeArray:Le,getC4Shape:h0,getC4ShapeKeys:d0,getBoundaries:Ie,getBoundarys:p0,getCurrentBoundaryParse:c0,getParentBoundaryParse:u0,getRels:f0,getTitle:y0,getC4Type:Qe,getC4ShapeInRow:o0,getC4BoundaryInRow:l0,setAccTitle:ge,getAccTitle:xe,getAccDescription:ke,setAccDescription:ve,getConfig:d(()=>De("c4"),"getConfig"),clear:b0,LINETYPE:m0,ARROWTYPE:g0,PLACEMENT:x0,setTitle:v0,setC4Type:Ke},Me=d(function(t,e){return Ce(t,e)},"drawRect"),k0=d((t,e,s,o)=>{let u=t.append("g"),a=0;for(let n of e){let l=n.textColor?n.textColor:"#444444",r=n.lineColor?n.lineColor:"#444444",h=n.offsetX?parseInt(String(n.offsetX)):0,y=n.offsetY?parseInt(String(n.offsetY)):0,p="";if(a===0){let w=u.append("line");w.attr("x1",n.startPoint.x),w.attr("y1",n.startPoint.y),w.attr("x2",n.endPoint.x),w.attr("y2",n.endPoint.y),w.attr("stroke-width","1"),w.attr("stroke",r),w.style("fill","none"),n.type!=="rel_b"&&w.attr("marker-end","url("+p+"#"+o+"-arrowhead)"),(n.type==="birel"||n.type==="rel_b")&&w.attr("marker-start","url("+p+"#"+o+"-arrowend)"),a=-1}else{let w=u.append("path");w.attr("fill","none").attr("stroke-width","1").attr("stroke",r).attr("d","Mstartx,starty Qcontrolx,controly stopx,stopy ".replaceAll("startx",n.startPoint.x).replaceAll("starty",n.startPoint.y).replaceAll("controlx",n.startPoint.x+(n.endPoint.x-n.startPoint.x)/2-(n.endPoint.x-n.startPoint.x)/4).replaceAll("controly",n.startPoint.y+(n.endPoint.y-n.startPoint.y)/2).replaceAll("stopx",n.endPoint.x).replaceAll("stopy",n.endPoint.y)),n.type!=="rel_b"&&w.attr("marker-end","url("+p+"#"+o+"-arrowhead)"),(n.type==="birel"||n.type==="rel_b")&&w.attr("marker-start","url("+p+"#"+o+"-arrowend)")}let b=n.label.width,v=s.messageFont();At(s)(n.label.text,u,Math.min(n.startPoint.x,n.endPoint.x)+Math.abs(n.endPoint.x-n.startPoint.x)/2+h,Math.min(n.startPoint.y,n.endPoint.y)+Math.abs(n.endPoint.y-n.startPoint.y)/2+y,b,n.label.height,{fill:l},v),n.techn&&n.techn.text!==""&&(v=s.messageFont(),At(s)("["+n.techn.text+"]",u,Math.min(n.startPoint.x,n.endPoint.x)+Math.abs(n.endPoint.x-n.startPoint.x)/2+h,Math.min(n.startPoint.y,n.endPoint.y)+Math.abs(n.endPoint.y-n.startPoint.y)/2+s.messageFontSize+5+y,Math.max(b,n.techn.width),n.techn.height,{fill:l,"font-style":"italic"},v))}},"drawRels"),E0=d(function(t,e,s){let o=t.append("g"),u=e.bgColor?e.bgColor:"none",a=e.borderColor?e.borderColor:"#444444",n=e.fontColor?e.fontColor:"black",l={"stroke-width":1,"stroke-dasharray":"7.0,7.0"};e.nodeType&&(l={"stroke-width":1});let r={x:e.x,y:e.y,fill:u,stroke:a,width:e.width,height:e.height,rx:2.5,ry:2.5,attrs:l};Me(o,r);let h=s.boundaryFont();h.fontWeight="bold",h.fontSize=h.fontSize+2,h.fontColor=n,At(s)(e.label.text,o,e.x,e.y+e.label.Y,e.width,e.height,{fill:"#444444"},h),e.type&&e.type.text!==""&&(h=s.boundaryFont(),h.fontColor=n,At(s)(e.type.text,o,e.x,e.y+e.type.Y,e.width,e.height,{fill:"#444444"},h)),e.descr&&e.descr.text!==""&&(h=s.boundaryFont(),h.fontSize=h.fontSize-2,h.fontColor=n,At(s)(e.descr.text,o,e.x,e.y+e.descr.Y,e.width,e.height,{fill:"#444444"},h))},"drawBoundary"),S0=d(function(t,e){t.append("defs").append("symbol").attr("id",e+"-database").attr("fill-rule","evenodd").attr("clip-rule","evenodd").append("path").attr("transform","scale(.5)").attr("d","M12.258.001l.256.004.255.005.253.008.251.01.249.012.247.015.246.016.242.019.241.02.239.023.236.024.233.027.231.028.229.031.225.032.223.034.22.036.217.038.214.04.211.041.208.043.205.045.201.046.198.048.194.05.191.051.187.053.183.054.18.056.175.057.172.059.168.06.163.061.16.063.155.064.15.066.074.033.073.033.071.034.07.034.069.035.068.035.067.035.066.035.064.036.064.036.062.036.06.036.06.037.058.037.058.037.055.038.055.038.053.038.052.038.051.039.05.039.048.039.047.039.045.04.044.04.043.04.041.04.04.041.039.041.037.041.036.041.034.041.033.042.032.042.03.042.029.042.027.042.026.043.024.043.023.043.021.043.02.043.018.044.017.043.015.044.013.044.012.044.011.045.009.044.007.045.006.045.004.045.002.045.001.045v17l-.001.045-.002.045-.004.045-.006.045-.007.045-.009.044-.011.045-.012.044-.013.044-.015.044-.017.043-.018.044-.02.043-.021.043-.023.043-.024.043-.026.043-.027.042-.029.042-.03.042-.032.042-.033.042-.034.041-.036.041-.037.041-.039.041-.04.041-.041.04-.043.04-.044.04-.045.04-.047.039-.048.039-.05.039-.051.039-.052.038-.053.038-.055.038-.055.038-.058.037-.058.037-.06.037-.06.036-.062.036-.064.036-.064.036-.066.035-.067.035-.068.035-.069.035-.07.034-.071.034-.073.033-.074.033-.15.066-.155.064-.16.063-.163.061-.168.06-.172.059-.175.057-.18.056-.183.054-.187.053-.191.051-.194.05-.198.048-.201.046-.205.045-.208.043-.211.041-.214.04-.217.038-.22.036-.223.034-.225.032-.229.031-.231.028-.233.027-.236.024-.239.023-.241.02-.242.019-.246.016-.247.015-.249.012-.251.01-.253.008-.255.005-.256.004-.258.001-.258-.001-.256-.004-.255-.005-.253-.008-.251-.01-.249-.012-.247-.015-.245-.016-.243-.019-.241-.02-.238-.023-.236-.024-.234-.027-.231-.028-.228-.031-.226-.032-.223-.034-.22-.036-.217-.038-.214-.04-.211-.041-.208-.043-.204-.045-.201-.046-.198-.048-.195-.05-.19-.051-.187-.053-.184-.054-.179-.056-.176-.057-.172-.059-.167-.06-.164-.061-.159-.063-.155-.064-.151-.066-.074-.033-.072-.033-.072-.034-.07-.034-.069-.035-.068-.035-.067-.035-.066-.035-.064-.036-.063-.036-.062-.036-.061-.036-.06-.037-.058-.037-.057-.037-.056-.038-.055-.038-.053-.038-.052-.038-.051-.039-.049-.039-.049-.039-.046-.039-.046-.04-.044-.04-.043-.04-.041-.04-.04-.041-.039-.041-.037-.041-.036-.041-.034-.041-.033-.042-.032-.042-.03-.042-.029-.042-.027-.042-.026-.043-.024-.043-.023-.043-.021-.043-.02-.043-.018-.044-.017-.043-.015-.044-.013-.044-.012-.044-.011-.045-.009-.044-.007-.045-.006-.045-.004-.045-.002-.045-.001-.045v-17l.001-.045.002-.045.004-.045.006-.045.007-.045.009-.044.011-.045.012-.044.013-.044.015-.044.017-.043.018-.044.02-.043.021-.043.023-.043.024-.043.026-.043.027-.042.029-.042.03-.042.032-.042.033-.042.034-.041.036-.041.037-.041.039-.041.04-.041.041-.04.043-.04.044-.04.046-.04.046-.039.049-.039.049-.039.051-.039.052-.038.053-.038.055-.038.056-.038.057-.037.058-.037.06-.037.061-.036.062-.036.063-.036.064-.036.066-.035.067-.035.068-.035.069-.035.07-.034.072-.034.072-.033.074-.033.151-.066.155-.064.159-.063.164-.061.167-.06.172-.059.176-.057.179-.056.184-.054.187-.053.19-.051.195-.05.198-.048.201-.046.204-.045.208-.043.211-.041.214-.04.217-.038.22-.036.223-.034.226-.032.228-.031.231-.028.234-.027.236-.024.238-.023.241-.02.243-.019.245-.016.247-.015.249-.012.251-.01.253-.008.255-.005.256-.004.258-.001.258.001zm-9.258 20.499v.01l.001.021.003.021.004.022.005.021.006.022.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.023.018.024.019.024.021.024.022.025.023.024.024.025.052.049.056.05.061.051.066.051.07.051.075.051.079.052.084.052.088.052.092.052.097.052.102.051.105.052.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.048.144.049.147.047.152.047.155.047.16.045.163.045.167.043.171.043.176.041.178.041.183.039.187.039.19.037.194.035.197.035.202.033.204.031.209.03.212.029.216.027.219.025.222.024.226.021.23.02.233.018.236.016.24.015.243.012.246.01.249.008.253.005.256.004.259.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.021.224-.024.22-.026.216-.027.212-.028.21-.031.205-.031.202-.034.198-.034.194-.036.191-.037.187-.039.183-.04.179-.04.175-.042.172-.043.168-.044.163-.045.16-.046.155-.046.152-.047.148-.048.143-.049.139-.049.136-.05.131-.05.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.053.083-.051.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.05.023-.024.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.023.01-.022.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.127l-.077.055-.08.053-.083.054-.085.053-.087.052-.09.052-.093.051-.095.05-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.045-.118.044-.12.043-.122.042-.124.042-.126.041-.128.04-.13.04-.132.038-.134.038-.135.037-.138.037-.139.035-.142.035-.143.034-.144.033-.147.032-.148.031-.15.03-.151.03-.153.029-.154.027-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.01-.179.008-.179.008-.181.006-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.006-.179-.008-.179-.008-.178-.01-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.027-.153-.029-.151-.03-.15-.03-.148-.031-.146-.032-.145-.033-.143-.034-.141-.035-.14-.035-.137-.037-.136-.037-.134-.038-.132-.038-.13-.04-.128-.04-.126-.041-.124-.042-.122-.042-.12-.044-.117-.043-.116-.045-.113-.045-.112-.046-.109-.047-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.05-.093-.052-.09-.051-.087-.052-.085-.053-.083-.054-.08-.054-.077-.054v4.127zm0-5.654v.011l.001.021.003.021.004.021.005.022.006.022.007.022.009.022.01.022.011.023.012.023.013.023.015.024.016.023.017.024.018.024.019.024.021.024.022.024.023.025.024.024.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.052.11.051.114.051.119.052.123.05.127.051.131.05.135.049.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.044.171.042.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.022.23.02.233.018.236.016.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.012.241-.015.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.048.139-.05.136-.049.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.051.051-.049.023-.025.023-.024.021-.025.02-.024.019-.024.018-.024.017-.024.015-.023.014-.023.013-.024.012-.022.01-.023.01-.023.008-.022.006-.022.006-.022.004-.021.004-.022.001-.021.001-.021v-4.139l-.077.054-.08.054-.083.054-.085.052-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.044-.118.044-.12.044-.122.042-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.035-.143.033-.144.033-.147.033-.148.031-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.009-.179.009-.179.007-.181.007-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.007-.179-.007-.179-.009-.178-.009-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.031-.146-.033-.145-.033-.143-.033-.141-.035-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.04-.126-.041-.124-.042-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.051-.093-.051-.09-.051-.087-.053-.085-.052-.083-.054-.08-.054-.077-.054v4.139zm0-5.666v.011l.001.02.003.022.004.021.005.022.006.021.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.024.018.023.019.024.021.025.022.024.023.024.024.025.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.051.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.043.171.043.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.021.23.02.233.018.236.017.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.013.241-.014.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.049.139-.049.136-.049.131-.051.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.049.023-.025.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.022.01-.023.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.153l-.077.054-.08.054-.083.053-.085.053-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.048-.105.048-.106.048-.109.046-.111.046-.114.046-.115.044-.118.044-.12.043-.122.043-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.034-.143.034-.144.033-.147.032-.148.032-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.024-.161.024-.162.023-.163.023-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.01-.178.01-.179.009-.179.007-.181.006-.182.006-.182.004-.184.003-.184.001-.185.001-.185-.001-.184-.001-.184-.003-.182-.004-.182-.006-.181-.006-.179-.007-.179-.009-.178-.01-.176-.01-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.023-.162-.023-.161-.024-.159-.024-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.032-.146-.032-.145-.033-.143-.034-.141-.034-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.041-.126-.041-.124-.041-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.048-.105-.048-.102-.048-.1-.05-.097-.049-.095-.051-.093-.051-.09-.052-.087-.052-.085-.053-.083-.053-.08-.054-.077-.054v4.153zm8.74-8.179l-.257.004-.254.005-.25.008-.247.011-.244.012-.241.014-.237.016-.233.018-.231.021-.226.022-.224.023-.22.026-.216.027-.212.028-.21.031-.205.032-.202.033-.198.034-.194.036-.191.038-.187.038-.183.04-.179.041-.175.042-.172.043-.168.043-.163.045-.16.046-.155.046-.152.048-.148.048-.143.048-.139.049-.136.05-.131.05-.126.051-.123.051-.118.051-.114.052-.11.052-.106.052-.101.052-.096.052-.092.052-.088.052-.083.052-.079.052-.074.051-.07.052-.065.051-.06.05-.056.05-.051.05-.023.025-.023.024-.021.024-.02.025-.019.024-.018.024-.017.023-.015.024-.014.023-.013.023-.012.023-.01.023-.01.022-.008.022-.006.023-.006.021-.004.022-.004.021-.001.021-.001.021.001.021.001.021.004.021.004.022.006.021.006.023.008.022.01.022.01.023.012.023.013.023.014.023.015.024.017.023.018.024.019.024.02.025.021.024.023.024.023.025.051.05.056.05.06.05.065.051.07.052.074.051.079.052.083.052.088.052.092.052.096.052.101.052.106.052.11.052.114.052.118.051.123.051.126.051.131.05.136.05.139.049.143.048.148.048.152.048.155.046.16.046.163.045.168.043.172.043.175.042.179.041.183.04.187.038.191.038.194.036.198.034.202.033.205.032.21.031.212.028.216.027.22.026.224.023.226.022.231.021.233.018.237.016.241.014.244.012.247.011.25.008.254.005.257.004.26.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.022.224-.023.22-.026.216-.027.212-.028.21-.031.205-.032.202-.033.198-.034.194-.036.191-.038.187-.038.183-.04.179-.041.175-.042.172-.043.168-.043.163-.045.16-.046.155-.046.152-.048.148-.048.143-.048.139-.049.136-.05.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.05.051-.05.023-.025.023-.024.021-.024.02-.025.019-.024.018-.024.017-.023.015-.024.014-.023.013-.023.012-.023.01-.023.01-.022.008-.022.006-.023.006-.021.004-.022.004-.021.001-.021.001-.021-.001-.021-.001-.021-.004-.021-.004-.022-.006-.021-.006-.023-.008-.022-.01-.022-.01-.023-.012-.023-.013-.023-.014-.023-.015-.024-.017-.023-.018-.024-.019-.024-.02-.025-.021-.024-.023-.024-.023-.025-.051-.05-.056-.05-.06-.05-.065-.051-.07-.052-.074-.051-.079-.052-.083-.052-.088-.052-.092-.052-.096-.052-.101-.052-.106-.052-.11-.052-.114-.052-.118-.051-.123-.051-.126-.051-.131-.05-.136-.05-.139-.049-.143-.048-.148-.048-.152-.048-.155-.046-.16-.046-.163-.045-.168-.043-.172-.043-.175-.042-.179-.041-.183-.04-.187-.038-.191-.038-.194-.036-.198-.034-.202-.033-.205-.032-.21-.031-.212-.028-.216-.027-.22-.026-.224-.023-.226-.022-.231-.021-.233-.018-.237-.016-.241-.014-.244-.012-.247-.011-.25-.008-.254-.005-.257-.004-.26-.001-.26.001z")},"insertDatabaseIcon"),T0=d(function(t,e){t.append("defs").append("symbol").attr("id",e+"-computer").attr("width","24").attr("height","24").append("path").attr("transform","scale(.5)").attr("d","M2 2v13h20v-13h-20zm18 11h-16v-9h16v9zm-10.228 6l.466-1h3.524l.467 1h-4.457zm14.228 3h-24l2-6h2.104l-1.33 4h18.45l-1.297-4h2.073l2 6zm-5-10h-14v-7h14v7z")},"insertComputerIcon"),C0=d(function(t,e){t.append("defs").append("symbol").attr("id",e+"-clock").attr("width","24").attr("height","24").append("path").attr("transform","scale(.5)").attr("d","M12 2c5.514 0 10 4.486 10 10s-4.486 10-10 10-10-4.486-10-10 4.486-10 10-10zm0-2c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm5.848 12.459c.202.038.202.333.001.372-1.907.361-6.045 1.111-6.547 1.111-.719 0-1.301-.582-1.301-1.301 0-.512.77-5.447 1.125-7.445.034-.192.312-.181.343.014l.985 6.238 5.394 1.011z")},"insertClockIcon"),R0=d(function(t,e){t.append("defs").append("marker").attr("id",e+"-arrowhead").attr("refX",9).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z")},"insertArrowHead"),w0=d(function(t,e){t.append("defs").append("marker").attr("id",e+"-arrowend").attr("refX",1).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 10 0 L 0 5 L 10 10 z")},"insertArrowEnd"),O0=d(function(t,e){t.append("defs").append("marker").attr("id",e+"-filled-head").attr("refX",18).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L14,7 L9,1 Z")},"insertArrowFilledHead"),P0=d(function(t,e){let o=t.append("defs").append("marker").attr("id",e+"-crosshead").attr("markerWidth",15).attr("markerHeight",8).attr("orient","auto").attr("refX",16).attr("refY",4);o.append("path").attr("fill","black").attr("stroke","#000000").style("stroke-dasharray","0, 0").attr("stroke-width","1px").attr("d","M 9,2 V 6 L16,4 Z"),o.append("path").attr("fill","none").attr("stroke","#000000").style("stroke-dasharray","0, 0").attr("stroke-width","1px").attr("d","M 0,1 L 6,7 M 6,1 L 0,7")},"insertArrowCrossHead"),At=(function(){function t(u,a,n,l,r,h,y){let p=a.append("text").attr("x",n+r/2).attr("y",l+h/2+5).style("text-anchor","middle").text(u);o(p,y)}d(t,"byText");function e(u,a,n,l,r,h,y,p){let{fontSize:b,fontFamily:v,fontWeight:w}=p,N=u.split(Ut.lineBreakRegex);for(let O=0;O<N.length;O++){let P=O*b-b*(N.length-1)/2,M=a.append("text").attr("x",n+r/2).attr("y",l).style("text-anchor","middle").attr("dominant-baseline","middle").style("font-size",b).style("font-weight",w).style("font-family",v);M.append("tspan").attr("dy",P).text(N[O]).attr("alignment-baseline","mathematical"),o(M,y)}}d(e,"byTspan");function s(u,a,n,l,r,h,y,p){let b=a.append("switch"),w=b.append("foreignObject").attr("x",n).attr("y",l).attr("width",r).attr("height",h).append("xhtml:div").style("display","table").style("height","100%").style("width","100%");w.append("div").style("display","table-cell").style("text-align","center").style("vertical-align","middle").text(u),e(u,b,n,l,r,h,y,p),o(w,y)}d(s,"byFo");function o(u,a){for(let n in a)a.hasOwnProperty(n)&&u.attr(n,a[n])}return d(o,"_setTextAttrs"),function(u){return u.textPlacement==="fo"?s:u.textPlacement==="old"?t:e}})(),W={drawRect:Me,drawBoundary:E0,drawRels:k0,insertArrowHead:R0,insertArrowEnd:w0,insertArrowFilledHead:O0,insertArrowCrossHead:P0,insertDatabaseIcon:S0,insertComputerIcon:T0,insertClockIcon:C0},D0=d((t,e)=>{if(e==="sandbox"){let o=jt("#i"+t).node()?.contentDocument;if(!o)throw new Error(`Sandbox iframe #i${t} is missing its content document`);return{root:jt(o.body),doc:o}}return{root:jt("body"),doc:document}},"getDiagramRoot"),N0=new Set(["system_queue","external_system_queue","container_queue","external_container_queue","component_queue","external_component_queue"]),A0=new Set(["system_db","external_system_db","container_db","external_container_db","component_db","external_component_db"]),L0={person:"person",box:"rounded",rounded:"rounded",cylinder:"cylinder",database:"cylinder",db:"cylinder",queue:"h-cyl",pipe:"h-cyl",component:"fr-rect"},se=d(t=>t?L0[t.toLowerCase()]:void 0,"keywordShape"),I0=d(t=>{let e=se(t.shape)??se(t.sprite);if(e)return e;if(t.tags)for(let o of t.tags.split(",")){let u=se(o.trim());if(u)return u}let s=t.typeC4Shape.text;return s==="person"||s==="external_person"?"person":A0.has(s)?"cylinder":N0.has(s)?"h-cyl":"rounded"},"resolveNodeShape"),M0={person:"Person",system:"Software System",container:"Container",component:"Component"},B0=d(t=>{let e=t.replace(/^external_/,"").replace(/_(db|queue)$/,"");return M0[e]??e.replace(/_/g," ")},"stereotypeLabel"),V0=d(t=>t.startsWith("external_"),"isExternal"),Y0=d(t=>{let e=B0(t.typeC4Shape.text);return t.techn?.text?`[${e}: ${t.techn.text}]`:`[${e}]`},"stereotypeText"),Be=["person","system","system_db","system_queue","container","container_db","container_queue","component","component_db","component_queue"].flatMap(t=>[t,`external_${t}`]),F0=new Set(Be),Re=d(t=>F0.has(t),"isC4ElementType"),U0=d((t,e)=>{let s=t.typeC4Shape.text,o=t.bgColor??(Re(s)&&e[`${s}_bg_color`]),u=t.borderColor??(Re(s)&&e[`${s}_border_color`]),a=[];return o&&a.push(`fill:${o}`),u&&a.push(`stroke:${u}`),a.push(`color:${t.fontColor??"#FFFFFF"}`),a},"elementCssStyles"),we=d((t,e,s,o,u)=>{let a=t.typeC4Shape.text,n=["c4-shape",`c4-${a}`];V0(a)&&n.push("c4-external");let l=I0(t),r=U0(t,e);return(l==="rounded"||l==="fr-rect")&&r.push("rx:12px","ry:12px"),{id:t.alias,label:t.label.text,stereotype:Y0(t),description:t.descr?.text?[t.descr.text]:void 0,labelType:"string",isGroup:!1,shape:l,cssClasses:n.join(" "),cssStyles:r,padding:s,look:o,useHtmlLabels:!1,width:u}},"buildC4Node"),Lt=0,It=0,Ve=4,ie=2;Wt.yy=ae;var g={},Ot,Ye=(Ot=class{constructor(e){this.name="",this.data={},this.data.startx=void 0,this.data.stopx=void 0,this.data.starty=void 0,this.data.stopy=void 0,this.data.widthLimit=void 0,this.nextData={},this.nextData.startx=void 0,this.nextData.stopx=void 0,this.nextData.starty=void 0,this.nextData.stopy=void 0,this.nextData.cnt=0,oe(e.db.getConfig())}setData(e,s,o,u){this.nextData.startx=this.data.startx=e,this.nextData.stopx=this.data.stopx=s,this.nextData.starty=this.data.starty=o,this.nextData.stopy=this.data.stopy=u}updateVal(e,s,o,u){e[s]===void 0?e[s]=o:e[s]=u(o,e[s])}insert(e){this.nextData.cnt=this.nextData.cnt+1;let s=this.nextData.stopx,o=this.data.widthLimit,u=this.nextData.startx===this.nextData.stopx?s+e.margin:s+e.margin*2,a=u+e.width,n=this.nextData.starty+e.margin*2,l=n+e.height;(u>=o||a>=o||this.nextData.cnt>Ve)&&(u=this.nextData.startx+e.margin+g.nextLinePaddingX,n=this.nextData.stopy+e.margin*2,this.nextData.stopx=a=u+e.width,this.nextData.starty=this.nextData.stopy,this.nextData.stopy=l=n+e.height,this.nextData.cnt=1),e.x=u,e.y=n,this.updateVal(this.data,"startx",u,Math.min),this.updateVal(this.data,"starty",n,Math.min),this.updateVal(this.data,"stopx",a,Math.max),this.updateVal(this.data,"stopy",l,Math.max),this.updateVal(this.nextData,"startx",u,Math.min),this.updateVal(this.nextData,"starty",n,Math.min),this.updateVal(this.nextData,"stopx",a,Math.max),this.updateVal(this.nextData,"stopy",l,Math.max)}init(e){this.name="",this.data={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0,widthLimit:void 0},this.nextData={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0,cnt:0},oe(e.db.getConfig())}bumpLastMargin(e){this.data.stopx+=e,this.data.stopy+=e}},d(Ot,"Bounds"),Ot),oe=d(function(t){be(g,t),t?.fontFamily&&(g.personFontFamily=g.systemFontFamily=g.messageFontFamily=t.fontFamily),t?.fontSize&&(g.personFontSize=g.systemFontSize=g.messageFontSize=t.fontSize),t?.fontWeight&&(g.personFontWeight=g.systemFontWeight=g.messageFontWeight=t.fontWeight)},"setConf"),zt=d(t=>({fontFamily:t.boundaryFontFamily,fontSize:t.boundaryFontSize,fontWeight:t.boundaryFontWeight}),"boundaryFont"),j0=d(t=>({fontFamily:t.messageFontFamily,fontSize:t.messageFontSize,fontWeight:t.messageFontWeight}),"messageFont");function mt(t,e,s,o,u){let a=e[t];if(!a.width)if(s)a.text=Ee(a.text,u,o),a.textLines=a.text.split(Ut.lineBreakRegex).length,a.width=u,a.height=re(a.text,o);else{let n=a.text.split(Ut.lineBreakRegex);a.textLines=n.length;let l=0;a.height=0,a.width=0;for(let r of n)a.width=Math.max(wt(r,o),a.width),l=re(r,o),a.height=a.height+l}return a}d(mt,"calcC4ShapeTextWH");var Fe=d(function(t,e,s){let o=s.data.startx,u=s.data.starty;e.x=o,e.y=u,e.width=s.data.stopx-o,e.height=s.data.stopy-u,e.intersect=r=>Se.rect({x:e.x+e.width/2,y:e.y+e.height/2,width:e.width,height:e.height},r),e.label.y=g.c4ShapeMargin-35;let a=e.wrap&&g.wrap,n=zt(g);n.fontSize=n.fontSize+2,n.fontWeight="bold";let l=wt(e.label.text,n);mt("label",e,a,n,l),W.drawBoundary(t,e,g)},"drawBoundary"),Ue=d(async function(t,e,s,o){let u=St(),a=u.look??"classic",n={config:u},l=e.attr("id")??"",r=o.map(y=>s[Number(y)]),h=d(y=>{let p=y.shape?Te[y.shape]:void 0;if(!p)throw new Error(`C4: no shape handler for "${y.shape}"`);return p},"shapeHandlerFor");await Promise.all(r.map(async y=>{let p=we(y,g,g.c4ShapePadding,a,g.width);p.domId=`${l}-${p.id}`;let b=await h(p)(e,p,n);y.width=p.width??g.width,y.height=p.height??g.height,y.margin=g.c4ShapeMargin,b.remove()}));for(let y of r)t.insert(y);await Promise.all(r.map(async y=>{let p=we(y,g,g.c4ShapePadding,a,g.width);p.domId=`${l}-${p.id}`,p.x=y.x+y.width/2,p.y=y.y+y.height/2;let b=e.append("g").attr("transform",`translate(${y.x+y.width/2}, ${y.y+y.height/2})`);await h(p)(b,p,n),y.intersect=p.intersect})),t.bumpLastMargin(g.c4ShapeMargin)},"drawC4ShapeArray"),Pt,z0=(Pt=class{constructor(e,s){this.x=e,this.y=s}},d(Pt,"Point"),Pt),Oe=d(function(t,e){if(!t.intersect)throw new Error(`C4 element "${t.alias}" has no intersect function. Please report this to https://github.com/mermaid-js/mermaid/issues`);let{x:s,y:o}=t.intersect(e);return new z0(s,o)},"getIntersectPoint"),W0=d(function(t,e){let s={x:0,y:0};s.x=e.x+e.width/2,s.y=e.y+e.height/2;let o=Oe(t,s);s.x=t.x+t.width/2,s.y=t.y+t.height/2;let u=Oe(e,s);return{startPoint:o,endPoint:u}},"getIntersectPoints"),X0=d(function(t,e,s,o,u){let a=o.db.getC4Type(),n=0;for(let l of e){n=n+1;let r=l.wrap&&g.wrap,h=j0(g);a==="C4Dynamic"&&(l.label.text=n+": "+l.label.text);let y=wt(l.label.text,h);mt("label",l,r,h,y),l.techn&&l.techn.text!==""&&(y=wt(l.techn.text,h),mt("techn",l,r,h,y)),l.descr&&l.descr.text!==""&&(y=wt(l.descr.text,h),mt("descr",l,r,h,y));let p=s(l.from),b=s(l.to);if(!p||!b)throw new Error(`C4 rel "${l.from}" -> "${l.to}" references an unknown shape or boundary`);let v=W0(p,b);if(!v.startPoint||!v.endPoint)throw new Error(`Could not calculate intersection points for rel "${l.from}" -> "${l.to}"`);l.startPoint=v.startPoint,l.endPoint=v.endPoint}W.drawRels(t,e,g,u)},"drawRels");async function ue(t,e,s,o,u){let a=u.db,n=new Ye(u);n.data.widthLimit=s.data.widthLimit/Math.min(ie,o.length);for(let[l,r]of o.entries()){let h=0;r.image={width:0,height:0,Y:0},r.sprite&&(r.image.width=48,r.image.height=48,r.image.Y=h,h=r.image.Y+r.image.height);let y=r.wrap&&g.wrap,p=zt(g);p.fontSize=p.fontSize+2,p.fontWeight="bold";let b=mt("label",r,y,p,n.data.widthLimit);if(b.Y=h+8,h=b.Y+b.height,r.type&&r.type.text!==""){r.type.text="["+r.type.text+"]";let O=zt(g),P=mt("type",r,y,O,n.data.widthLimit);P.Y=h+5,h=P.Y+P.height}if(r.descr&&r.descr.text!==""){let O=zt(g);O.fontSize=O.fontSize-2;let P=mt("descr",r,y,O,n.data.widthLimit);P.Y=h+20,h=P.Y+P.height}if(l==0||l%ie===0){let O=s.data.startx+g.diagramMarginX,P=s.data.stopy+g.diagramMarginY+h;n.setData(O,O,P,P)}else{let O=n.data.stopx!==n.data.startx?n.data.stopx+g.diagramMarginX:n.data.startx,P=n.data.starty;n.setData(O,O,P,P)}n.name=r.alias;let v=a.getC4ShapeArray(r.alias),w=a.getC4ShapeKeys(r.alias);w.length>0&&await Ue(n,t,v,w),e=r.alias;let N=a.getBoundaries(e);N.length>0&&await ue(t,e,n,N,u),r.alias!=="global"&&Fe(t,r,n),s.data.stopy=Math.max(n.data.stopy+g.c4ShapeMargin,s.data.stopy),s.data.stopx=Math.max(n.data.stopx+g.c4ShapeMargin,s.data.stopx),Lt=Math.max(Lt,s.data.stopx),It=Math.max(It,s.data.stopy)}}d(ue,"drawInsideBoundary");var q0=d(async function(t,e,s,o){g=De("c4");let u=St().securityLevel,{root:a}=D0(e,u),n=o.db;n.setWrap(g.wrap),Ve=n.getC4ShapeInRow(),ie=n.getC4BoundaryInRow(),ee.debug(`C:${JSON.stringify(g,null,2)}`);let l=a.select(`[id="${e}"]`);W.insertComputerIcon(l,e),W.insertDatabaseIcon(l,e),W.insertClockIcon(l,e);let r=new Ye(o);r.setData(g.diagramMarginX,g.diagramMarginX,g.diagramMarginY,g.diagramMarginY),r.data.widthLimit=screen.availWidth,Lt=g.diagramMarginX,It=g.diagramMarginY;let h=n.getTitle(),y=n.getBoundaries("");await ue(l,"",r,y,o),W.insertArrowHead(l,e),W.insertArrowEnd(l,e),W.insertArrowCrossHead(l,e),W.insertArrowFilledHead(l,e),X0(l,n.getRels(),n.getC4Shape,o,e),r.data.stopx=Lt,r.data.stopy=It;let p=r.data,b=p.startx,v=p.starty,N=It-v+2*g.diagramMarginY,O=Lt-b,P=O+2*g.diagramMarginX;h&&l.append("text").text(h).attr("x",O/2-4*g.diagramMarginX).attr("y",v+g.diagramMarginY),me(l,N,P,g.useMaxWidth);let M=h?60:0;l.attr("viewBox",b-g.diagramMarginX+" -"+(g.diagramMarginY+M)+" "+P+" "+(N+M)),ee.debug("models:",p)},"draw"),Pe={drawPersonOrSystemArray:Ue,drawBoundary:Fe,setConf:oe,draw:q0},H0=d(()=>{let t=St().c4??{},e=new CSSStyleSheet;for(let s of Be){let o=e.cssRules[e.insertRule(`.c4-shape.c4-${s} .label {}`,e.cssRules.length)],u=t[`${s}FontFamily`],a=t[`${s}FontSize`],n=t[`${s}FontWeight`];u&&o.style.setProperty("font-family",u),a&&o.style.setProperty("font-size",typeof a=="number"?`${a}px`:a),n&&o.style.setProperty("font-weight",String(n))}return[...e.cssRules].filter(s=>s.style.length>0).map(s=>` ${s.cssText}`).join(`
|
|
7
|
+
`)},"elementFontStyles"),Q0=d(t=>`.person {
|
|
8
|
+
stroke: ${t.personBorder};
|
|
9
|
+
fill: ${t.personBkg};
|
|
10
|
+
}
|
|
11
|
+
${H0()}
|
|
12
|
+
|
|
13
|
+
/* The element font colour is set inline per element (default white); the
|
|
14
|
+
label text takes it via currentColor. */
|
|
15
|
+
.c4-shape .label,
|
|
16
|
+
.c4-shape .label text {
|
|
17
|
+
color: inherit;
|
|
18
|
+
fill: currentColor;
|
|
19
|
+
}
|
|
20
|
+
/* Structurizr typography: bold name, smaller stereotype/type and description lines. */
|
|
21
|
+
.c4-shape .label .c4-name {
|
|
22
|
+
font-weight: bold;
|
|
23
|
+
}
|
|
24
|
+
.c4-shape .label .c4-type {
|
|
25
|
+
font-size: 0.75em;
|
|
26
|
+
}
|
|
27
|
+
.c4-shape .label .c4-descr {
|
|
28
|
+
font-size: 0.82em;
|
|
29
|
+
}
|
|
30
|
+
.c4-shape .basic,
|
|
31
|
+
.c4-shape rect,
|
|
32
|
+
.c4-shape path,
|
|
33
|
+
.c4-shape circle,
|
|
34
|
+
.c4-shape ellipse,
|
|
35
|
+
.c4-shape line {
|
|
36
|
+
stroke-width: 2px;
|
|
37
|
+
}
|
|
38
|
+
`,"getStyles"),K0=Q0,l1={parser:He,db:ae,renderer:Pe,styles:K0,init:d(({c4:t,wrap:e})=>{Pe.setConf(t),ae.setWrap(e)},"init")};export{l1 as diagram};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"./chunk-7FMWBHZO.js";var e=Object.freeze(JSON.parse(`{"displayName":"Cadence","name":"cadence","patterns":[{"include":"#comments"},{"include":"#declarations"},{"include":"#keywords"},{"include":"#code-block"},{"include":"#expressions"},{"include":"#composite"},{"include":"#event"}],"repository":{"code-block":{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.section.scope.begin.cadence"}},"end":"}","endCaptures":{"0":{"name":"punctuation.section.scope.end.cadence"}},"patterns":[{"include":"$self"}]},"comments":{"patterns":[{"captures":{"1":{"name":"punctuation.definition.comment.cadence"}},"match":"\\\\A^(#!).*$\\\\n?","name":"comment.line.number-sign.cadence"},{"begin":"/\\\\*\\\\*(?!/)","beginCaptures":{"0":{"name":"punctuation.definition.comment.begin.cadence"}},"end":"\\\\*/","endCaptures":{"0":{"name":"punctuation.definition.comment.end.cadence"}},"name":"comment.block.documentation.cadence","patterns":[{"include":"#nested"}]},{"begin":"/\\\\*:","beginCaptures":{"0":{"name":"punctuation.definition.comment.begin.cadence"}},"end":"\\\\*/","endCaptures":{"0":{"name":"punctuation.definition.comment.end.cadence"}},"name":"comment.block.documentation.playground.cadence","patterns":[{"include":"#nested"}]},{"begin":"/\\\\*","beginCaptures":{"0":{"name":"punctuation.definition.comment.begin.cadence"}},"end":"\\\\*/","endCaptures":{"0":{"name":"punctuation.definition.comment.end.cadence"}},"name":"comment.block.cadence","patterns":[{"include":"#nested"}]},{"match":"\\\\*/","name":"invalid.illegal.unexpected-end-of-block-comment.cadence"},{"begin":"(^[\\\\t ]+)?(?=//)","beginCaptures":{"1":{"name":"punctuation.whitespace.comment.leading.cadence"}},"end":"(?!\\\\G)","patterns":[{"begin":"///","beginCaptures":{"0":{"name":"punctuation.definition.comment.cadence"}},"end":"$","name":"comment.line.triple-slash.documentation.cadence"},{"begin":"//:","beginCaptures":{"0":{"name":"punctuation.definition.comment.cadence"}},"end":"$","name":"comment.line.double-slash.documentation.cadence"},{"begin":"//","beginCaptures":{"0":{"name":"punctuation.definition.comment.cadence"}},"end":"$","name":"comment.line.double-slash.cadence"}]}],"repository":{"nested":{"begin":"/\\\\*","end":"\\\\*/","patterns":[{"include":"#nested"}]}}},"composite":{"begin":"\\\\b((?:struct|resource|contract|attachment)(?:\\\\s+interface)?|enum)\\\\s+([_\\\\p{L}][_\\\\p{L}\\\\p{N}\\\\p{M}]*)","beginCaptures":{"1":{"name":"storage.type.$1.cadence"},"2":{"name":"entity.name.type.$1.cadence"}},"end":"(?<=})|(?=\\\\s*\\\\Z)","name":"meta.definition.type.composite.cadence","patterns":[{"include":"#comments"},{"include":"#conformance-clause"},{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.section.type.begin.cadence"}},"end":"}","endCaptures":{"0":{"name":"punctuation.section.type.end.cadence"}},"name":"meta.definition.type.body.cadence","patterns":[{"include":"$self"}]}]},"conformance-clause":{"begin":"(:)(?=\\\\s*\\\\{)|(:)\\\\s*","beginCaptures":{"1":{"name":"invalid.illegal.empty-conformance-clause.cadence"},"2":{"name":"punctuation.separator.conformance-clause.cadence"}},"end":"(?!\\\\G)$|(?=[={}])","name":"meta.conformance-clause.cadence","patterns":[{"begin":"\\\\G","end":"(?!\\\\G)$|(?=[={}])","patterns":[{"include":"#comments"},{"include":"#type"}]}]},"declarations":{"patterns":[{"include":"#var-let-declaration"},{"include":"#function"},{"include":"#initializer"},{"include":"#prepare-execute"},{"include":"#execute-phase"},{"include":"#pre-post"},{"include":"#transaction"}]},"event":{"begin":"\\\\b(event)\\\\b\\\\s+([_\\\\p{L}][_\\\\p{L}\\\\p{N}\\\\p{M}]*)\\\\s*","beginCaptures":{"1":{"name":"storage.type.event.cadence"},"2":{"name":"entity.name.type.event.cadence"}},"end":"(?<=\\\\))","name":"meta.definition.type.event.cadence","patterns":[{"include":"#comments"},{"include":"#parameter-clause"}]},"execute-phase":{"begin":"(?<!\\\\.)\\\\b(execute)\\\\b\\\\s*(?=\\\\{)","beginCaptures":{"1":{"name":"storage.modifier.phase.cadence"}},"end":"(?<=})","name":"meta.definition.transaction.phase.cadence","patterns":[{"include":"#comments"},{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.section.phase.begin.cadence"}},"end":"}","endCaptures":{"0":{"name":"punctuation.section.phase.end.cadence"}},"patterns":[{"include":"$self"}]}]},"expression-element-list":{"patterns":[{"include":"#comments"},{"begin":"([_\\\\p{L}][_\\\\p{L}\\\\p{N}\\\\p{M}]*)\\\\s*(:)","beginCaptures":{"1":{"name":"variable.parameter.function-call.cadence"},"2":{"name":"punctuation.separator.argument-label.cadence"}},"end":"(?=[]),])","patterns":[{"include":"#expressions"}]},{"begin":"(?![]),])(?=\\\\S)","end":"(?=[]),])","patterns":[{"include":"#expressions"}]}]},"expressions":{"patterns":[{"include":"#comments"},{"include":"#keywords"},{"include":"#language-variables"},{"include":"#function-expression"},{"include":"#path-literals"},{"begin":"(?!\\\\b(?:if|while|for|return|create|destroy|emit|as)\\\\b)([_\\\\p{L}][_\\\\p{L}\\\\p{N}\\\\p{M}]*)\\\\s*(<)(?=[\\\\&(@\\\\[_{\\\\p{Lu}]|auth\\\\b|\\\\s*$)","beginCaptures":{"1":{"name":"entity.name.function.cadence"},"2":{"name":"punctuation.definition.type-arguments.begin.cadence"}},"end":"(>)(?!\\\\s*[<=>])","endCaptures":{"1":{"name":"punctuation.definition.type-arguments.end.cadence"}},"name":"meta.type.arguments.cadence","patterns":[{"include":"#type"},{"match":",","name":"punctuation.separator.type-argument.cadence"}]},{"begin":"(\\\\()","beginCaptures":{"1":{"name":"punctuation.definition.arguments.begin.cadence"}},"end":"(\\\\))","endCaptures":{"1":{"name":"punctuation.definition.arguments.end.cadence"}},"name":"meta.group.cadence","patterns":[{"include":"#expression-element-list"}]},{"begin":"(?<=\\\\.)([_\\\\p{L}][_\\\\p{L}\\\\p{N}\\\\p{M}]*)\\\\s*(\\\\()","beginCaptures":{"1":{"name":"entity.name.function.cadence"},"2":{"name":"punctuation.definition.arguments.begin.cadence"}},"end":"(\\\\))","endCaptures":{"1":{"name":"punctuation.definition.arguments.end.cadence"}},"name":"meta.function-call.method.cadence","patterns":[{"include":"#expression-element-list"}]},{"match":"(?<=\\\\.)[_\\\\p{L}][_\\\\p{L}\\\\p{N}\\\\p{M}]*","name":"variable.other.member.cadence"},{"include":"#function-call-expression"},{"match":"(?<!\\\\.)\\\\b(?!(?:contract|struct|resource|event|enum|attachment|entitlement|import|fun|let|var|if|else|switch|case|default|while|for|in|break|continue|return|emit|as|create|destroy|attach|to|remove|from|pub|priv|access|all|self|view|auth|transaction|prepare|execute|pre|post|init|true|false|nil|Type|Int|UInt|Int8|Int16|Int32|Int64|Int128|Int256|UInt8|UInt16|UInt32|UInt64|UInt128|UInt256|Word8|Word16|Word32|Word64|Fix64|Fix128|UFix64|UFix128|String|Character|Bool|Address|Void|AnyStruct|AnyResource|Any|Never|mapping|include)\\\\b)[_\\\\p{L}][_\\\\p{L}\\\\p{N}\\\\p{M}]*\\\\b","name":"variable.other.readwrite.cadence"},{"include":"#literals"},{"include":"#operators"}]},"function":{"begin":"\\\\b(fun)\\\\b\\\\s+([_\\\\p{L}][_\\\\p{L}\\\\p{N}\\\\p{M}]*)\\\\s*","beginCaptures":{"1":{"name":"storage.type.function.cadence"},"2":{"name":"entity.name.function.cadence"}},"end":"(?<=})|;|(?=}\\\\s*$)|$","name":"meta.definition.function.cadence","patterns":[{"include":"#comments"},{"include":"#parameter-clause"},{"include":"#function-result"},{"begin":"(\\\\{)","beginCaptures":{"1":{"name":"punctuation.section.function.begin.cadence"}},"end":"(})","endCaptures":{"1":{"name":"punctuation.section.function.end.cadence"}},"name":"meta.definition.function.body.cadence","patterns":[{"include":"$self"}]}]},"function-call-expression":{"patterns":[{"begin":"(?<!\\\\.)\\\\b(?!set|init|transaction|prepare|execute|access|auth)([_\\\\p{L}][_\\\\p{L}\\\\p{N}\\\\p{M}]*)\\\\s*(\\\\()","beginCaptures":{"1":{"name":"entity.name.function.cadence"},"2":{"name":"punctuation.definition.arguments.begin.cadence"}},"end":"(\\\\))","endCaptures":{"1":{"name":"punctuation.definition.arguments.end.cadence"}},"name":"meta.function-call.cadence","patterns":[{"include":"#expression-element-list"}]}]},"function-expression":{"begin":"(?<!\\\\.)\\\\b(?:(view)\\\\s+)?(fun)\\\\b(?=\\\\s*\\\\()","beginCaptures":{"1":{"name":"storage.modifier.view.cadence"},"2":{"name":"storage.type.function.cadence"}},"end":"(?<=})|$","name":"meta.function.expression.cadence","patterns":[{"include":"#comments"},{"include":"#parameter-clause"},{"include":"#function-result"},{"begin":"(\\\\{)","beginCaptures":{"1":{"name":"punctuation.section.function.begin.cadence"}},"end":"(})","endCaptures":{"1":{"name":"punctuation.section.function.end.cadence"}},"name":"meta.definition.function.body.cadence","patterns":[{"include":"$self"}]}]},"function-result":{"begin":"(?<![-!%\\\\&*+./<=>^|~])(:)(?![-!%\\\\&*+./<=>^|~])\\\\s*","beginCaptures":{"1":{"name":"keyword.operator.function-result.cadence"}},"end":"(?<![\\\\&<@\\\\[])(?!\\\\G)(?=\\\\s*\\\\{)|(?=;|(?<!\\\\{)})|$","name":"meta.function-result.cadence","patterns":[{"include":"#type"}]},"initializer":{"begin":"(?<!\\\\.)\\\\b(init)\\\\s*(?=[(<])","beginCaptures":{"1":{"name":"storage.type.function.cadence"}},"end":"(?<=})|$","name":"meta.definition.function.initializer.cadence","patterns":[{"include":"#comments"},{"include":"#parameter-clause"},{"begin":"(\\\\{)","beginCaptures":{"1":{"name":"punctuation.section.function.begin.cadence"}},"end":"(})","endCaptures":{"1":{"name":"punctuation.section.function.end.cadence"}},"name":"meta.definition.function.body.cadence","patterns":[{"include":"$self"}]}]},"keywords":{"patterns":[{"match":"(?<!\\\\.)\\\\bvar\\\\b","name":"storage.type.var.cadence"},{"match":"(?<!\\\\.)\\\\blet\\\\b","name":"storage.type.let.cadence"},{"begin":"(?<!\\\\.)\\\\b(entitlement)\\\\s+(mapping)\\\\s+([_\\\\p{L}][_\\\\p{L}\\\\p{N}\\\\p{M}]*)\\\\s*(\\\\{)","beginCaptures":{"1":{"name":"keyword.declaration.entitlement.cadence"},"2":{"name":"keyword.other.mapping.cadence"},"3":{"name":"entity.name.type.entitlement-mapping.cadence"},"4":{"name":"punctuation.definition.type.begin.cadence"}},"end":"(})","endCaptures":{"1":{"name":"punctuation.definition.type.end.cadence"}},"name":"meta.definition.entitlement-mapping.cadence","patterns":[{"include":"#comments"},{"match":"\\\\binclude\\\\b","name":"keyword.other.mapping.include.cadence"},{"captures":{"1":{"name":"entity.name.type.entitlement-mapping.cadence"}},"match":"(?<=\\\\binclude)\\\\s+([_\\\\p{L}][._\\\\p{L}\\\\p{N}\\\\p{M}]*)"},{"match":"[_\\\\p{L}][._\\\\p{L}\\\\p{N}\\\\p{M}]*","name":"entity.name.type.entitlement.cadence"},{"match":"->","name":"punctuation.separator.mapping.cadence"}]},{"captures":{"1":{"name":"keyword.declaration.entitlement.cadence"},"2":{"name":"entity.name.type.entitlement.cadence"}},"match":"(?<!\\\\.)\\\\b(entitlement)\\\\b\\\\s+([_\\\\p{L}][_\\\\p{L}\\\\p{N}\\\\p{M}]*)"},{"begin":"(?<!\\\\.)\\\\b(access)\\\\b\\\\s*(\\\\()","beginCaptures":{"1":{"name":"storage.modifier.access.cadence"},"2":{"name":"punctuation.section.group.begin.cadence"}},"end":"(\\\\))","endCaptures":{"1":{"name":"punctuation.section.group.end.cadence"}},"name":"meta.access.modifier.cadence","patterns":[{"include":"#comments"},{"match":"\\\\bmapping\\\\b","name":"keyword.other.mapping.cadence"},{"captures":{"1":{"name":"entity.name.type.entitlement-mapping.cadence"}},"match":"(?<=\\\\bmapping)\\\\s+([_\\\\p{L}][._\\\\p{L}\\\\p{N}\\\\p{M}]*)"},{"match":"\\\\b(?:all|self|contract|account)\\\\b","name":"constant.language.access.audience.cadence"},{"match":",","name":"punctuation.separator.entitlement.cadence"},{"match":"\\\\|","name":"punctuation.separator.entitlement.cadence"},{"match":"[_\\\\p{L}][._\\\\p{L}\\\\p{N}\\\\p{M}]*","name":"entity.name.type.entitlement.cadence"}]},{"match":"(?<!\\\\.)\\\\b(?:if|else|switch|case|default)\\\\b","name":"keyword.control.branch.cadence"},{"match":"(?<!\\\\.)\\\\b(?:return|continue|break)\\\\b","name":"keyword.control.transfer.cadence"},{"match":"(?<!\\\\.)\\\\b(?:while|for|in)\\\\b","name":"keyword.control.loop.cadence"},{"match":"(?<!\\\\.)\\\\b(?:create|destroy|emit|attach|to|remove|from)\\\\b","name":"keyword.other.cadence"},{"match":"(?<!\\\\.)\\\\b(p(?:ub|riv))\\\\b","name":"invalid.deprecated.keyword.cadence"},{"match":"(?<!\\\\.)\\\\bview\\\\b","name":"storage.modifier.view.cadence"},{"match":"(?<!\\\\.)\\\\b(auth)\\\\b","name":"keyword.other.auth.cadence"},{"begin":"(?<!\\\\.)\\\\b(import)\\\\b","beginCaptures":{"1":{"name":"keyword.control.import.cadence"}},"end":"(?=$|//|/\\\\*|;)","name":"meta.import.cadence","patterns":[{"match":"\\\\bfrom\\\\b","name":"keyword.control.import.cadence"},{"include":"#literals"},{"match":"\\\\b[_\\\\p{L}][_\\\\p{L}\\\\p{N}\\\\p{M}]*\\\\b","name":"variable.other.readwrite.cadence"}]}]},"language-variables":{"patterns":[{"match":"\\\\b(self)\\\\b","name":"variable.language.cadence"}]},"literals":{"patterns":[{"include":"#boolean"},{"include":"#numeric"},{"include":"#string"},{"match":"\\\\bnil\\\\b","name":"constant.language.nil.cadence"}],"repository":{"boolean":{"match":"\\\\b(true|false)\\\\b","name":"constant.language.boolean.cadence"},"numeric":{"patterns":[{"include":"#binary"},{"include":"#octal"},{"include":"#hexadecimal"},{"include":"#fixed-point"},{"include":"#decimal"}],"repository":{"binary":{"match":"(\\\\B-|\\\\b)0b[01]([01_]*[01])?\\\\b","name":"constant.numeric.integer.binary.cadence"},"decimal":{"match":"(\\\\B-|\\\\b)[0-9]([0-9_]*[0-9])?\\\\b","name":"constant.numeric.integer.decimal.cadence"},"fixed-point":{"match":"(\\\\B-|\\\\b)[0-9]([0-9_]*[0-9])?\\\\.[0-9]([0-9_]*[0-9])?\\\\b","name":"constant.numeric.float.cadence"},"hexadecimal":{"match":"(\\\\B-|\\\\b)0x\\\\h([_\\\\h]*\\\\h)?\\\\b","name":"constant.numeric.integer.hexadecimal.cadence"},"octal":{"match":"(\\\\B-|\\\\b)0o[0-7]([0-7_]*[0-7])?\\\\b","name":"constant.numeric.integer.octal.cadence"}}},"string":{"patterns":[{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.cadence"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.cadence"}},"name":"string.quoted.double.single-line.cadence","patterns":[{"match":"[\\\\n\\\\r]","name":"invalid.illegal.returns-not-allowed.cadence"},{"begin":"\\\\\\\\\\\\(","beginCaptures":{"0":{"name":"punctuation.section.embedded.begin.cadence meta.embedded.cadence"}},"contentName":"meta.embedded.line.cadence","end":"\\\\)","endCaptures":{"0":{"name":"punctuation.section.embedded.end.cadence meta.embedded.cadence"}},"name":"meta.interpolation.cadence","patterns":[{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.section.group.begin.cadence"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.section.group.end.cadence"}},"patterns":[{"include":"#expressions"}]},{"include":"#expressions"}]},{"include":"#string-guts"}]}],"repository":{"string-guts":{"patterns":[{"match":"\\\\\\\\[\\"'0\\\\\\\\nrt]","name":"constant.character.escape.cadence"},{"match":"\\\\\\\\u\\\\{\\\\h{1,8}}","name":"constant.character.escape.unicode.cadence"}]}}}}},"operators":{"patterns":[{"match":"<->","name":"keyword.operator.swap.cadence"},{"match":"\\\\?\\\\.","name":"keyword.operator.optional.chain.cadence"},{"begin":"\\\\b(as(?:\\\\?|!?))\\\\b","beginCaptures":{"0":{"name":"keyword.operator.type.cast.cadence"}},"end":"(?=$|;|//|/\\\\\\\\*|\\")|(?=[),}])|(?<=>)(?=\\\\s*\\\\{(?!\\\\s*[_\\\\p{L}][._\\\\p{L}\\\\p{N}\\\\p{M}]*\\\\s*:))|(?<=[])>?}\\\\p{L}\\\\p{N}])(?=\\\\s*\\\\{(?!\\\\s*[_\\\\p{L}][._\\\\p{L}\\\\p{N}\\\\p{M}]*\\\\s*:))|(?=\\\\?\\\\?)","name":"meta.type.cast-target.cadence","patterns":[{"begin":"\\\\{(?=\\\\s*[_\\\\p{L}][._\\\\p{L}\\\\p{N}\\\\p{M}]*\\\\s*:)","beginCaptures":{"0":{"name":"punctuation.definition.type.dictionary.begin.cadence"}},"end":"(})","endCaptures":{"1":{"name":"punctuation.definition.type.dictionary.end.cadence"}},"name":"meta.type.dictionary.cadence","patterns":[{"include":"#comments"},{"include":"#type"},{"match":":","name":"punctuation.separator.type.dictionary.cadence"},{"match":",","name":"punctuation.separator.type.dictionary.cadence"}]},{"include":"#type"}]},{"match":"-","name":"keyword.operator.arithmetic.unary.cadence"},{"match":"(?<=\\\\))!","name":"keyword.operator.force-unwrap.cadence"},{"match":"!","name":"keyword.operator.logical.not.cadence"},{"match":"=","name":"keyword.operator.assignment.cadence"},{"match":"<-","name":"keyword.operator.move.cadence"},{"match":"<-!","name":"keyword.operator.force-move.cadence"},{"match":"[-*+/]","name":"keyword.operator.arithmetic.cadence"},{"match":"%","name":"keyword.operator.arithmetic.remainder.cadence"},{"match":">>","name":"keyword.operator.bitwise.shift.cadence"},{"match":"<<","name":"keyword.operator.bitwise.shift.cadence"},{"match":"==|!=|[<>]|>=|<=","name":"keyword.operator.comparison.cadence"},{"match":"\\\\?\\\\?","name":"keyword.operator.coalescing.cadence"},{"match":"&&|\\\\|\\\\|","name":"keyword.operator.logical.cadence"},{"match":"[!?]","name":"keyword.operator.type.optional.cadence"}]},"parameter-clause":{"begin":"(\\\\()","beginCaptures":{"1":{"name":"punctuation.definition.parameters.begin.cadence"}},"end":"(\\\\))","endCaptures":{"1":{"name":"punctuation.definition.parameters.end.cadence"}},"name":"meta.parameter-clause.cadence","patterns":[{"include":"#comments"},{"include":"#parameter-list"}]},"parameter-list":{"patterns":[{"include":"#comments"},{"captures":{"1":{"name":"keyword.operator.unnamed-parameter.cadence"},"2":{"name":"variable.parameter.cadence"}},"match":"(_)\\\\s+([_\\\\p{L}][_\\\\p{L}\\\\p{N}\\\\p{M}]*)(?=\\\\s*:)"},{"captures":{"1":{"name":"entity.name.label.cadence"},"2":{"name":"variable.parameter.cadence"}},"match":"([_\\\\p{L}][_\\\\p{L}\\\\p{N}\\\\p{M}]*)\\\\s+([_\\\\p{L}][_\\\\p{L}\\\\p{N}\\\\p{M}]*)(?=\\\\s*:)"},{"captures":{"1":{"name":"variable.parameter.cadence"}},"match":"([_\\\\p{L}][_\\\\p{L}\\\\p{N}\\\\p{M}]*)(?=\\\\s*:)"},{"begin":":\\\\s*(?!\\\\s)","end":"(?=[),])","patterns":[{"include":"#type"},{"match":":","name":"invalid.illegal.extra-colon-in-parameter-list.cadence"}]}]},"path-literals":{"patterns":[{"captures":{"1":{"name":"punctuation.separator.path.cadence"},"2":{"name":"constant.other.path.cadence"}},"match":"(/)((storage|public)(/[_\\\\p{L}][_\\\\p{L}\\\\p{N}\\\\p{M}]*)?)"}]},"pre-post":{"begin":"(?<!\\\\.)\\\\b(p(?:re|ost))\\\\b\\\\s*(?=\\\\{)","beginCaptures":{"1":{"name":"storage.modifier.phase.cadence"}},"end":"(?<=})","name":"meta.definition.transaction.phase.cadence","patterns":[{"include":"#comments"},{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.section.phase.begin.cadence"}},"end":"}","endCaptures":{"0":{"name":"punctuation.section.phase.end.cadence"}},"patterns":[{"include":"$self"}]}]},"prepare-execute":{"begin":"(?<!\\\\.)\\\\b(prepare)\\\\b\\\\s*(?=\\\\()","beginCaptures":{"1":{"name":"storage.modifier.phase.cadence"}},"end":"(?<=})","name":"meta.definition.transaction.phase.cadence","patterns":[{"include":"#comments"},{"include":"#parameter-clause"},{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.section.phase.begin.cadence"}},"end":"}","endCaptures":{"0":{"name":"punctuation.section.phase.end.cadence"}},"patterns":[{"include":"$self"}]}]},"transaction":{"begin":"\\\\b(transaction)\\\\b","beginCaptures":{"1":{"name":"storage.type.transaction.cadence"}},"end":"(?<=\\\\))|(?<=})","name":"meta.definition.transaction.cadence","patterns":[{"include":"#comments"},{"include":"#parameter-clause"},{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.section.transaction.begin.cadence"}},"end":"}","endCaptures":{"0":{"name":"punctuation.section.transaction.end.cadence"}},"name":"meta.definition.transaction.body.cadence","patterns":[{"include":"$self"}]}]},"type":{"patterns":[{"begin":"(?<!\\\\.)\\\\b(?:(view)\\\\s+)?(fun)\\\\b\\\\s*(\\\\()","beginCaptures":{"1":{"name":"storage.modifier.view.cadence"},"2":{"name":"storage.type.function.cadence"},"3":{"name":"punctuation.definition.parameters.begin.cadence"}},"end":"(?=[]),>}]|$)","name":"meta.type.function.cadence","patterns":[{"include":"#comments"},{"begin":"\\\\G","end":"(\\\\))","endCaptures":{"1":{"name":"punctuation.definition.parameters.end.cadence"}},"patterns":[{"include":"#type"},{"match":",","name":"punctuation.separator.parameter.cadence"}]},{"begin":"(:)","beginCaptures":{"1":{"name":"keyword.operator.function-result.cadence"}},"end":"(?=[]),>}]|$)","name":"meta.function-result.cadence","patterns":[{"include":"#type"}]}]},{"include":"#comments"},{"begin":"(?<!\\\\.)([_\\\\p{L}][_\\\\p{L}\\\\p{N}\\\\p{M}]*)\\\\s*(<)","beginCaptures":{"1":{"name":"entity.name.type.cadence"},"2":{"name":"punctuation.definition.type-arguments.begin.cadence"}},"end":"(>)","endCaptures":{"1":{"name":"punctuation.definition.type-arguments.end.cadence"}},"name":"meta.type.arguments.cadence","patterns":[{"include":"#type"},{"match":",","name":"punctuation.separator.type-argument.cadence"}]},{"begin":"(?<!\\\\.)\\\\b(auth)\\\\b\\\\s*(\\\\()","beginCaptures":{"1":{"name":"keyword.other.auth.cadence"},"2":{"name":"punctuation.section.group.begin.cadence"}},"end":"(\\\\))","endCaptures":{"1":{"name":"punctuation.section.group.end.cadence"}},"name":"meta.auth.entitlements.cadence","patterns":[{"include":"#comments"},{"match":"\\\\bmapping\\\\b","name":"keyword.other.mapping.cadence"},{"captures":{"1":{"name":"entity.name.type.entitlement-mapping.cadence"}},"match":"(?<=\\\\bmapping)\\\\s+([_\\\\p{L}][._\\\\p{L}\\\\p{N}\\\\p{M}]*)"},{"match":",","name":"punctuation.separator.entitlement.cadence"},{"match":"\\\\|","name":"punctuation.separator.entitlement.cadence"},{"match":"[_\\\\p{L}][._\\\\p{L}\\\\p{N}\\\\p{M}]*","name":"entity.name.type.entitlement.cadence"}]},{"begin":"\\\\{(?![^}]*:)(?!.*}\\\\s*\\\\()","beginCaptures":{"0":{"name":"punctuation.definition.type.intersection.begin.cadence"}},"end":"(})","endCaptures":{"1":{"name":"punctuation.definition.type.intersection.end.cadence"}},"patterns":[{"include":"#comments"},{"include":"#type"},{"match":",","name":"punctuation.separator.type.intersection.cadence"}]},{"begin":"\\\\{(?=\\\\s*[_\\\\p{L}][._\\\\p{L}\\\\p{N}\\\\p{M}]*\\\\s*:)(?!.*}\\\\s*\\\\()","beginCaptures":{"0":{"name":"punctuation.definition.type.dictionary.begin.cadence"}},"end":"(})","endCaptures":{"1":{"name":"punctuation.definition.type.dictionary.end.cadence"}},"name":"meta.type.dictionary.cadence","patterns":[{"include":"#comments"},{"include":"#type"},{"match":":","name":"punctuation.separator.type.dictionary.cadence"},{"match":",","name":"punctuation.separator.type.dictionary.cadence"}]},{"begin":"\\\\[","beginCaptures":{"0":{"name":"punctuation.definition.type.array.begin.cadence"}},"end":"(])","endCaptures":{"1":{"name":"punctuation.definition.type.array.end.cadence"}},"name":"meta.type.array.cadence","patterns":[{"include":"#comments"},{"include":"#type"}]},{"captures":{"1":{"name":"punctuation.definition.type.reference.cadence"}},"match":"([\\\\&@])(?=\\\\s*\\\\{)"},{"captures":{"1":{"name":"punctuation.definition.type.reference.cadence"},"2":{"name":"entity.name.type.cadence"}},"match":"([\\\\&@])\\\\s*([_\\\\p{L}][._\\\\p{L}\\\\p{N}\\\\p{M}]*)"},{"match":"([_\\\\p{L}][_\\\\p{L}\\\\p{N}\\\\p{M}]*)","name":"entity.name.type.cadence"},{"match":"[!?]","name":"keyword.operator.type.optional.cadence"}]},"var-let-declaration":{"begin":"\\\\b(var|let)\\\\b\\\\s+([_\\\\p{L}][_\\\\p{L}\\\\p{N}\\\\p{M}]*)","beginCaptures":{"1":{"name":"storage.type.$1.cadence"},"2":{"name":"variable.other.declaration.cadence"}},"end":"=|<-!??|;|(?=//)|$","patterns":[{"include":"#comments"},{"begin":":\\\\s*(?!\\\\s)","beginCaptures":{"0":{"name":"keyword.operator.type.annotation.cadence"}},"end":"(?=//|=|<-!??|;|$)","patterns":[{"include":"#type"},{"include":"#comments"}]}]}},"scopeName":"source.cadence","aliases":["cdc"]}`)),n=[e];export{n as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as e}from"./chunk-G4Z6L7OO.js";import"./chunk-7FMWBHZO.js";var n=Object.freeze(JSON.parse(`{"displayName":"Cairo","name":"cairo","patterns":[{"begin":"\\\\b(if).*\\\\(","beginCaptures":{"1":{"name":"keyword.control.if"},"2":{"name":"entity.name.condition"}},"contentName":"source.cairo0","end":"}","endCaptures":{"0":{"name":"keyword.control.end"}},"name":"meta.control.if","patterns":[{"include":"source.cairo0"}]},{"begin":"\\\\b(with)\\\\s+(.+)\\\\s*\\\\{","beginCaptures":{"1":{"name":"keyword.control.with"},"2":{"name":"entity.name.identifiers"}},"contentName":"source.cairo0","end":"}","endCaptures":{"0":{"name":"keyword.control.end"}},"name":"meta.control.with","patterns":[{"include":"source.cairo0"}]},{"begin":"\\\\b(with_attr)\\\\s+([A-Z_a-z][0-9A-Z_a-z]*)\\\\s*[({]","beginCaptures":{"1":{"name":"keyword.control.with_attr"},"2":{"name":"entity.name.function"}},"contentName":"source.cairo0","end":"}","endCaptures":{"0":{"name":"keyword.control.end"}},"name":"meta.control.with_attr","patterns":[{"include":"source.cairo0"}]},{"match":"\\\\belse\\\\b","name":"keyword.control.else"},{"match":"\\\\b(call|jmp|ret|abs|rel|if)\\\\b","name":"keyword.other.opcode"},{"match":"\\\\b([af]p)\\\\b","name":"keyword.other.register"},{"match":"\\\\b(const|let|local|tempvar|felt|as|from|import|static_assert|return|assert|cast|alloc_locals|with|with_attr|nondet|dw|codeoffset|new|using|and)\\\\b","name":"keyword.other.meta"},{"match":"\\\\b(SIZE(?:OF_LOCALS|))\\\\b","name":"markup.italic"},{"match":"//[^\\\\n]*\\\\n","name":"comment.line.sharp"},{"match":"\\\\b[A-Z_a-z][0-9A-Z_a-z]*:\\\\s*$","name":"entity.name.function"},{"begin":"\\\\b(func)\\\\s+([A-Z_a-z][0-9A-Z_a-z]*)\\\\s*[({]","beginCaptures":{"1":{"name":"storage.type.function.cairo"},"2":{"name":"entity.name.function"}},"contentName":"source.cairo0","end":"}","endCaptures":{"0":{"name":"storage.type.function.cairo"}},"name":"meta.function.cairo","patterns":[{"include":"source.cairo0"}]},{"begin":"\\\\b(struct|namespace)\\\\s+([A-Z_a-z][0-9A-Z_a-z]*)\\\\s*\\\\{","beginCaptures":{"1":{"name":"storage.type.function.cairo"},"2":{"name":"entity.name.function"}},"contentName":"source.cairo0","end":"}","endCaptures":{"0":{"name":"storage.type.function.cairo"}},"name":"meta.function.cairo","patterns":[{"include":"source.cairo0"}]},{"match":"\\\\b[-+]?[0-9]+\\\\b","name":"constant.numeric.decimal"},{"match":"\\\\b[-+]?0x\\\\h+\\\\b","name":"constant.numeric.hexadecimal"},{"match":"'[^']*'","name":"string.quoted.single"},{"match":"\\"[^\\"]*\\"","name":"string.quoted.double"},{"begin":"%\\\\{","beginCaptures":{"0":{"name":"punctuation.section.embedded.begin.python"}},"contentName":"source.python","end":"%}","endCaptures":{"0":{"name":"punctuation.section.embedded.end.python"},"1":{"name":"source.python"}},"name":"meta.embedded.block.python","patterns":[{"include":"source.python"}]}],"scopeName":"source.cairo0","embeddedLangs":["python"]}`)),a=[...e,n];export{a as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as e}from"./chunk-IHJNUMSC.js";import"./chunk-7FMWBHZO.js";var n=Object.freeze(JSON.parse(`{"displayName":"Chapel","fileTypes":["chpl"],"name":"chapel","patterns":[{"include":"#extern_block"},{"include":"#comments"},{"include":"#strings"},{"include":"#keywords"},{"include":"#constants"},{"include":"#variables"},{"include":"#important_globals"},{"include":"#operators"},{"include":"#attributes"}],"repository":{"attributes":{"patterns":[{"match":"(@[A-Z_a-z][0-9A-Z_a-z]*(?:\\\\.[A-Z_a-z][0-9A-Z_a-z]*)?)","name":"storage.type.attribute.chapel"}]},"blockcomments":{"patterns":[{"captures":{"1":{"name":"meta.toc-list.banner.block.chapel"}},"match":"^/\\\\* =(\\\\s*.*?)\\\\s*= \\\\*/$\\\\n?","name":"comment.block.chapel"},{"begin":"/\\\\*","captures":{"0":{"name":"punctuation.definition.comment.chapel"}},"end":"\\\\*/","name":"comment.block.chapel","patterns":[{"include":"#blockcomments"}]}]},"comments":{"patterns":[{"include":"#blockcomments"},{"match":"\\\\*/.*\\\\n","name":"invalid.illegal.stray-comment-end.chapel"},{"captures":{"1":{"name":"meta.toc-list.banner.line.chapel"}},"match":"^// =(\\\\s*.*?)\\\\s*=\\\\s*$\\\\n?","name":"comment.line.banner.c++"},{"begin":"//","beginCaptures":{"0":{"name":"punctuation.definition.comment.chapel"}},"end":"$\\\\n?","name":"comment.line.double-slash.chapel","patterns":[{"match":"(?>\\\\\\\\\\\\s*\\\\n)","name":"punctuation.separator.continuation.chapel"}]}]},"constants":{"patterns":[{"match":"\\\\b(true|false|nil|none)\\\\b","name":"constant.language.chapel"},{"include":"#integers"},{"include":"#floats"}]},"extern_block":{"patterns":[{"begin":"\\\\b(extern)\\\\s*(?<!\\\\{)\\\\{(?!\\\\{)","beginCaptures":{"1":{"name":"keyword.control.chapel"}},"end":"(?<!})}(?!})","name":"meta.extern.chapel","patterns":[{"include":"source.c"}]}]},"floats":{"patterns":[{"match":"\\\\.([0-9][0-9_]*)([Ee]([-+])?([0-9][0-9_]*))?i?\\\\b","name":"constant.numeric.chapel"},{"match":"\\\\b([0-9][0-9_]*)\\\\.([0-9][0-9_]*)([Ee]([-+])?([0-9][0-9_]*))?i?\\\\b","name":"constant.numeric.chapel"},{"match":"\\\\b([0-9][0-9_]*)\\\\.([Ee]([-+])?([0-9][0-9_]*))i?\\\\b","name":"constant.numeric.chapel"},{"match":"\\\\b([0-9][0-9_]*)([Ee]([-+])?([0-9][0-9_]*))i?\\\\b","name":"constant.numeric.chapel"},{"match":"\\\\b0[Xx](\\\\h[_\\\\h]*)?\\\\.(\\\\h[_\\\\h]*)([Pp]([-+])?(\\\\h[_\\\\h]*))?i?\\\\b","name":"constant.numeric.chapel"},{"match":"\\\\b0[Xx](\\\\h[_\\\\h]*)\\\\.([Pp]([-+])?(\\\\h[_\\\\h]*))i?\\\\b","name":"constant.numeric.chapel"},{"match":"\\\\b0[Xx](\\\\h[_\\\\h]*)([Pp]([-+])?(\\\\h[_\\\\h]*))i?\\\\b","name":"constant.numeric.chapel"}]},"important_globals":{"patterns":[{"match":"\\\\b(here|LocaleSpace|Locales|numLocales)\\\\b","name":"support.variable.chapel"}]},"integers":{"patterns":[{"match":"\\\\b([0-9][0-9_]*)i?\\\\b","name":"constant.numeric.chapel"},{"match":"\\\\b(0[Xx]\\\\h[_\\\\h]*)i?\\\\b","name":"constant.numeric.chapel"},{"match":"\\\\b(0[Bb][01][01_]*)i?\\\\b","name":"constant.numeric.chapel"},{"match":"\\\\b(0[Oo][0-7][0-7_]*)i?\\\\b","name":"constant.numeric.chapel"}]},"keywords":{"patterns":[{"match":"\\\\b(align|as|atomic|begin|break|by|catch|class|cobegin|coforall|deinit|continue|defer|delete|dmapped|do|else|enum|except|export|extern|for|forall|foreach|forwarding|if|import|in|include|index|init=??|inline|inout|interface|implements|iter|label|lambda|let|lifetime|local|manage|module|new|noinit|on|only|operator|otherwise|out|override|postinit|__primitive|pragma|private|proc|prototype|public|record|reduce|require|return|scan|select|serial|then|these|throws??|try|union|use|when|where|while|with|yield|zip)\\\\b","name":"keyword.control.chapel"},{"match":"\\\\b(bool|bytes|complex|dmap|domain|imag|int|locale|nothing|opaque|range|real|string|subdomain|tuple|uint|void)\\\\b","name":"storage.type.chapel"},{"match":"\\\\b(borrowed|config|const|owned|param|private|public|ref|shared|sparse|sync|type|unmanaged|var)\\\\b","name":"storage.modifier.chapel"}]},"operators":{"patterns":[{"match":"<=|>=|==|[<>]|!=","name":"keyword.operator.comparison.chapel"},{"match":"\\\\+=|-=|\\\\*=|/=|%=|&=|(\\\\|=)|\\\\^=|>>=|<<=|\\\\*\\\\*=","name":"keyword.operator.assignment.augmented.chapel"},{"match":"[-*+]|\\\\*\\\\*|[%/]|<<|>>|&|(\\\\|)|[\\\\^~]|<=>|\\\\.\\\\.<|#|\\\\.\\\\.\\\\.?","name":"keyword.operator.arithmetic.chapel"},{"match":"=","name":"keyword.operator.assignment.chapel"},{"match":"[!:?]|->","name":"keyword.operator.others.chapel"},{"match":"[]\\\\[]|=>","name":"keyword.operator.domain.chapel"}]},"string_escapes":{"patterns":[{"match":"\\\\\\\\([\\"'?\\\\\\\\abefnprtv]|[0-3]\\\\d{0,2}|[4-7]\\\\d?|x\\\\h{0,2}|u\\\\h{0,4}|U\\\\h{0,8})","name":"constant.character.escape.chapel"},{"match":"\\\\\\\\.","name":"invalid.illegal.unknown-escape.chapel"}]},"string_format":{"patterns":[{"match":"(%\\\\?)","name":"constant.other.placeholder.chapel"},{"match":"(%\\\\{(#+|#+\\\\.#*|#*\\\\.#+)})","name":"constant.other.placeholder.chapel"},{"match":"(%\\\\{(.*?)})","name":"constant.other.placeholder.chapel"},{"match":"(%([+0<>@^])*(\\\\*|[0-9]+)?(\\\\.[0-9]*)?(?:[Xbdhjox]|\\\\\\\\?[\\"']S)?[Ee]?([Scimnrsuz]|(\\\\{(.S|\\\\*S|.S.)})|(/.*/)|(\\\\{/.*/[A-Za-z]+}))?)","name":"constant.other.placeholder.chapel"},{"match":"(%%)","name":"constant.other.placeholder.chapel"}]},"strings":{"patterns":[{"begin":"\\"\\"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.chapel"}},"end":"\\"\\"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.chapel"}},"name":"string.quoted.double.multi.chapel","patterns":[{"include":"#string_escapes"},{"include":"#string_format"}]},{"begin":"'''","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.chapel"}},"end":"'''","endCaptures":{"0":{"name":"punctuation.definition.string.end.chapel"}},"name":"string.quoted.single.multi.chapel","patterns":[{"include":"#string_escapes"},{"include":"#string_format"}]},{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.chapel"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.chapel"}},"name":"string.quoted.double.chapel","patterns":[{"include":"#string_escapes"},{"include":"#string_format"}]},{"begin":"'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.chapel"}},"end":"'","endCaptures":{"0":{"name":"punctuation.definition.string.end.chapel"}},"name":"string.quoted.single.chapel","patterns":[{"include":"#string_escapes"},{"include":"#string_format"}]}]},"variables":{"patterns":[{"match":"\\\\b(this|super)\\\\b","name":"variable.language.chapel"}]}},"scopeName":"source.chapel","embeddedLangs":["c"],"aliases":["chpl"]}`)),t=[...e,n];export{t as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a}from"./chunk-EIBFAW37.js";var w=a((t,p)=>{let{theme:i,themeVariables:s}=p,{useGradient:c,gradientStart:l,gradientStop:f}=s??{},o=t.attr("id"),h=i?.includes("dark")?"#FFFFFF":"#000000",r=a((g,e,n)=>t.append("defs").append("filter").attr("id",g).attr("height",e).attr("width",e).append("feDropShadow").attr("dx",n).attr("dy",n).attr("stdDeviation",0).attr("flood-opacity","0.06").attr("flood-color",h),"dropShadow");if(r(`${o}-drop-shadow`,"130%","4"),r(`${o}-drop-shadow-small`,"150%","2"),!c)return;let d=t.append("linearGradient").attr("id",`${o}-gradient`).attr("gradientUnits","objectBoundingBox").attr("x1","0%").attr("y1","0%").attr("x2","100%").attr("y2","0%");d.append("svg:stop").attr("offset","0%").attr("stop-color",l).attr("stop-opacity",1),d.append("svg:stop").attr("offset","100%").attr("stop-color",f).attr("stop-opacity",1)},"insertLookDefs");export{w as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e=Object.freeze(JSON.parse(`{"displayName":"GDScript","fileTypes":["gd"],"name":"gdscript","patterns":[{"include":"#statement"},{"include":"#expression"}],"repository":{"annotated_parameter":{"begin":"\\\\s*([A-Z_a-z]\\\\w*)\\\\s*(:)\\\\s*([A-Z_a-z]\\\\w*)?","beginCaptures":{"1":{"name":"variable.parameter.function.language.gdscript"},"2":{"name":"punctuation.separator.annotation.gdscript"},"3":{"name":"entity.name.type.class.gdscript"}},"end":"(,)|(?=\\\\))","endCaptures":{"1":{"name":"punctuation.separator.parameters.gdscript"}},"patterns":[{"include":"#expression"},{"match":"=(?!=)","name":"keyword.operator.assignment.gdscript"}]},"annotations":{"captures":{"1":{"name":"entity.name.function.decorator.gdscript"},"2":{"name":"entity.name.function.decorator.gdscript"}},"match":"(@)(abstract|export|export_category|export_color_no_alpha|export_custom|export_dir|export_enum|export_exp_easing|export_file|export_file_path|export_flags|export_flags_2d_navigation|export_flags_2d_physics|export_flags_2d_render|export_flags_3d_navigation|export_flags_3d_physics|export_flags_3d_render|export_flags_avoidance|export_global_dir|export_global_file|export_group|export_multiline|export_node_path|export_placeholder|export_range|export_storage|export_subgroup|export_tool_button|icon|onready|rpc|static_unload|tool|warning_ignore|warning_ignore_restore|warning_ignore_start)\\\\b"},"any_method":{"match":"\\\\b([A-Z_a-z]\\\\w*)\\\\b(?=\\\\s*\\\\()","name":"entity.name.function.other.gdscript"},"any_property":{"captures":{"1":{"name":"punctuation.accessor.gdscript"},"2":{"name":"constant.language.gdscript"},"3":{"name":"variable.other.property.gdscript"}},"match":"\\\\b(\\\\.)\\\\s*(?<![#$%@])(?:([A-Z_][0-9A-Z_]*)|([A-Z_a-z]\\\\w*))\\\\b(?!\\\\()"},"any_variable":{"match":"\\\\b(?<![#$%@])([A-Z_a-z]\\\\w*)\\\\b(?!\\\\()","name":"variable.other.gdscript"},"arithmetic_operator":{"match":"->|\\\\+=|-=|\\\\*\\\\*=|\\\\*=|\\\\^=|/=|%=|&=|~=|\\\\|=|\\\\*\\\\*|[-%*+/]","name":"keyword.operator.arithmetic.gdscript"},"assignment_operator":{"match":"=","name":"keyword.operator.assignment.gdscript"},"base_expression":{"patterns":[{"include":"#builtin_get_node_shorthand"},{"include":"#nodepath_object"},{"include":"#nodepath_function"},{"include":"#strings"},{"include":"#builtin_classes"},{"include":"#const_vars"},{"include":"#keywords"},{"include":"#operators"},{"include":"#lambda_declaration"},{"include":"#class_declaration"},{"include":"#variable_declaration"},{"include":"#signal_declaration_bare"},{"include":"#signal_declaration"},{"include":"#function_declaration"},{"include":"#statement_keyword"},{"include":"#assignment_operator"},{"include":"#in_keyword"},{"include":"#control_flow"},{"include":"#match_keyword"},{"include":"#curly_braces"},{"include":"#square_braces"},{"include":"#round_braces"},{"include":"#function_call"},{"include":"#region"},{"include":"#comment"},{"include":"#func"},{"include":"#letter"},{"include":"#numbers"},{"include":"#pascal_case_class"},{"include":"#line_continuation"}]},"bitwise_operator":{"match":"[\\\\&|]|<<=|>>=|<<|>>|[\\\\^~]","name":"keyword.operator.bitwise.gdscript"},"boolean_operator":{"match":"(&&|\\\\|\\\\|)","name":"keyword.operator.boolean.gdscript"},"builtin_classes":{"match":"(?<![^.]\\\\.|:)\\\\b(Vector2i??|Vector3i??|Vector4i??|Color|Rect2i??|Array|Basis|Dictionary|Plane|Quat|RID|Rect3|Transform|Transform2D|Transform3D|AABB|String|Color|NodePath|PoolByteArray|PoolIntArray|PoolRealArray|PoolStringArray|PoolVector2Array|PoolVector3Array|PoolColorArray|bool|int|float|Signal|Callable|StringName|Quaternion|Projection|PackedByteArray|PackedInt32Array|PackedInt64Array|PackedFloat32Array|PackedFloat64Array|PackedStringArray|PackedVector2Array|PackedVector2iArray|PackedVector3Array|PackedVector3iArray|PackedVector4Array|PackedColorArray|JSON|UPNP|OS|IP|JSONRPC|XRVRS|Variant|void)\\\\b","name":"entity.name.type.class.builtin.gdscript"},"builtin_get_node_shorthand":{"patterns":[{"include":"#builtin_get_node_shorthand_quoted"},{"include":"#builtin_get_node_shorthand_bare"},{"include":"#builtin_get_node_shorthand_bare_multi"}]},"builtin_get_node_shorthand_bare":{"captures":{"1":{"name":"keyword.control.flow.gdscript"},"2":{"name":"constant.character.escape.gdscript"},"3":{"name":"constant.character.escape.gdscript"},"4":{"name":"constant.character.escape.gdscript"}},"match":"(?<!/\\\\s*)(\\\\$\\\\s*|%|\\\\$%\\\\s*)(/\\\\s*)?([A-Z_a-z]\\\\w*)\\\\b(?!\\\\s*/)","name":"meta.literal.nodepath.bare.gdscript"},"builtin_get_node_shorthand_bare_multi":{"begin":"(\\\\$\\\\s*|%|\\\\$%\\\\s*)(/\\\\s*)?([A-Z_a-z]\\\\w*)","beginCaptures":{"1":{"name":"keyword.control.flow.gdscript"},"2":{"name":"constant.character.escape.gdscript"},"3":{"name":"constant.character.escape.gdscript"}},"end":"(?!\\\\s*/\\\\s*%?\\\\s*[A-Z_a-z]\\\\w*)","name":"meta.literal.nodepath.bare.gdscript","patterns":[{"captures":{"1":{"name":"constant.character.escape.gdscript"},"2":{"name":"keyword.control.flow.gdscript"},"3":{"name":"constant.character.escape.gdscript"}},"match":"(/)\\\\s*(%)?\\\\s*([A-Z_a-z]\\\\w*)\\\\s*"}]},"builtin_get_node_shorthand_quoted":{"begin":"(?:([$%])|([\\\\&@^]))([\\"'])","beginCaptures":{"1":{"name":"keyword.control.flow.gdscript"},"2":{"name":"variable.other.enummember.gdscript"}},"end":"(\\\\3)","name":"string.quoted.gdscript meta.literal.nodepath.gdscript constant.character.escape.gdscript","patterns":[{"match":"%","name":"keyword.control.flow"}]},"class_declaration":{"captures":{"1":{"name":"entity.name.type.class.gdscript"},"2":{"name":"class.other.gdscript"}},"match":"(?<=^class)\\\\s+([A-Z_a-z]\\\\w*)\\\\s*(?=:)"},"class_enum":{"captures":{"1":{"name":"entity.name.type.class.gdscript"},"2":{"name":"variable.other.enummember.gdscript"}},"match":"\\\\b([A-Z][0-9A-Z_a-z]*)\\\\.([0-9A-Z_]+)"},"class_is":{"captures":{"1":{"name":"storage.type.is.gdscript"},"2":{"name":"storage.type.not.gdscript"},"3":{"name":"entity.name.type.class.gdscript"}},"match":"\\\\s+(is)\\\\s+(not?)\\\\s+\\\\s+([A-Z_a-z]\\\\w*)"},"class_name":{"captures":{"1":{"name":"entity.name.type.class.gdscript"},"2":{"name":"class.other.gdscript"}},"match":"(?<=class_name)\\\\s+([A-Z_a-z]\\\\w*(\\\\.([A-Z_a-z]\\\\w*))?)"},"class_new":{"captures":{"1":{"name":"entity.name.type.class.gdscript"},"2":{"name":"storage.type.new.gdscript"},"3":{"name":"punctuation.parenthesis.begin.gdscript"}},"match":"\\\\b([A-Z_a-z]\\\\w*).(new)\\\\("},"comment":{"captures":{"1":{"name":"punctuation.definition.comment.number-sign.gdscript"}},"match":"(##?).*$\\\\n?","name":"comment.line.number-sign.gdscript"},"compare_operator":{"match":"<=|>=|==|[<>]|!=?","name":"keyword.operator.comparison.gdscript"},"const_vars":{"match":"\\\\b([A-Z_][0-9A-Z_]*)\\\\b","name":"variable.other.constant.gdscript"},"control_flow":{"match":"\\\\b(?:if|elif|else|while|break|continue|pass|return|when|yield|await)\\\\b","name":"keyword.control.gdscript"},"curly_braces":{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.definition.dict.begin.gdscript"}},"end":"}","endCaptures":{"0":{"name":"punctuation.definition.dict.end.gdscript"}},"patterns":[{"include":"#base_expression"},{"include":"#any_variable"}]},"expression":{"patterns":[{"include":"#getter_setter_godot4"},{"include":"#base_expression"},{"include":"#assignment_operator"},{"include":"#annotations"},{"include":"#class_name"},{"include":"#builtin_classes"},{"include":"#class_new"},{"include":"#class_is"},{"include":"#class_enum"},{"include":"#any_method"},{"include":"#any_variable"},{"include":"#any_property"}]},"extends_statement":{"captures":{"1":{"name":"keyword.language.gdscript"},"2":{"name":"entity.other.inherited-class.gdscript"}},"match":"(extends)\\\\s+([A-Z_a-z]\\\\w*\\\\.[A-Z_a-z]\\\\w*)?"},"func":{"match":"\\\\bfunc\\\\b","name":"keyword.language.gdscript storage.type.function.gdscript"},"function_arguments":{"begin":"(\\\\()","beginCaptures":{"1":{"name":"punctuation.definition.arguments.begin.gdscript"}},"contentName":"meta.function.parameters.gdscript","end":"(?=\\\\))(?!\\\\)\\\\s*\\\\()","patterns":[{"match":"(,)","name":"punctuation.separator.arguments.gdscript"},{"captures":{"1":{"name":"variable.parameter.function-call.gdscript"},"2":{"name":"keyword.operator.assignment.gdscript"}},"match":"\\\\b([A-Z_a-z]\\\\w*)\\\\s*(=)(?!=)"},{"match":"=(?!=)","name":"keyword.operator.assignment.gdscript"},{"include":"#base_expression"},{"captures":{"1":{"name":"punctuation.definition.arguments.end.gdscript"},"2":{"name":"punctuation.definition.arguments.begin.gdscript"}},"match":"\\\\s*(\\\\))\\\\s*(\\\\()"},{"include":"#letter"},{"include":"#any_variable"},{"include":"#any_property"},{"include":"#keywords"}]},"function_call":{"begin":"(?=\\\\b[A-Z_a-z]\\\\w*\\\\b\\\\s*\\\\()","end":"(\\\\))","endCaptures":{"1":{"name":"punctuation.definition.arguments.end.gdscript"}},"name":"meta.function-call.gdscript","patterns":[{"include":"#function_name"},{"include":"#function_arguments"}]},"function_declaration":{"begin":"\\\\s*(func)\\\\s+([A-Z_a-z]\\\\w*)\\\\s*(?=\\\\()","beginCaptures":{"1":{"name":"keyword.language.gdscript storage.type.function.gdscript"},"2":{"name":"entity.name.function.gdscript"}},"end":"(:)|\\\\n","endCaptures":{"1":{"name":"punctuation.section.function.begin.gdscript"}},"name":"meta.function.gdscript","patterns":[{"include":"#parameters"},{"include":"#line_continuation"},{"include":"#base_expression"}]},"function_name":{"patterns":[{"include":"#builtin_classes"},{"match":"\\\\b(preload)\\\\b","name":"keyword.language.gdscript"},{"match":"\\\\b([A-Z_a-z]\\\\w*)\\\\b","name":"entity.name.function.gdscript"}]},"getter_setter_godot4":{"patterns":[{"captures":{"1":{"name":"entity.name.function.gdscript"},"2":{"name":"punctuation.separator.annotation.gdscript"}},"match":"(get)\\\\s*(:)","name":"meta.variable.declaration.getter.gdscript"},{"captures":{"1":{"name":"entity.name.function.gdscript"},"2":{"name":"punctuation.definition.arguments.begin.gdscript"},"3":{"name":"variable.other.gdscript"},"4":{"name":"punctuation.definition.arguments.end.gdscript"},"5":{"name":"punctuation.separator.annotation.gdscript"}},"match":"(set)\\\\s*(\\\\()\\\\s*([A-Z_a-z]\\\\w*)\\\\s*(\\\\))\\\\s*(:)","name":"meta.variable.declaration.setter.gdscript"}]},"in_keyword":{"patterns":[{"begin":"\\\\b(for)\\\\b","captures":{"1":{"name":"keyword.control.gdscript"}},"end":":","patterns":[{"match":"\\\\bin\\\\b","name":"keyword.control.gdscript"},{"include":"#base_expression"},{"include":"#any_variable"},{"include":"#any_property"}]},{"match":"\\\\bin\\\\b","name":"keyword.operator.wordlike.gdscript"}]},"keywords":{"match":"\\\\b(?:class|class_name|is|onready|tool|static|export|as|enum|assert|breakpoint|sync|remote|master|puppet|slave|remotesync|mastersync|puppetsync|trait|namespace|super|self)\\\\b","name":"keyword.language.gdscript"},"lambda_declaration":{"begin":"(func)\\\\s?(?=\\\\()","beginCaptures":{"1":{"name":"keyword.language.gdscript storage.type.function.gdscript"},"2":{"name":"entity.name.function.gdscript"}},"end":"(:|(?=[\\\\n\\"#']))","end2":"(\\\\s*(\\\\-\\\\>)\\\\s*(void\\\\w*)|([a-zA-Z_]\\\\w*)\\\\s*\\\\:)","endCaptures2":{"1":{"name":"punctuation.separator.annotation.result.gdscript"},"2":{"name":"entity.name.type.class.builtin.gdscript"},"3":{"name":"entity.name.type.class.gdscript markup.italic"}},"name":"meta.function.gdscript","patterns":[{"include":"#parameters"},{"include":"#line_continuation"},{"include":"#base_expression"},{"include":"#any_variable"},{"include":"#any_property"}]},"letter":{"match":"\\\\b(?:true|false|null)\\\\b","name":"constant.language.literal.gdscript"},"line_continuation":{"patterns":[{"captures":{"1":{"name":"punctuation.separator.continuation.line.gdscript"},"2":{"name":"invalid.illegal.line.continuation.gdscript"}},"match":"(\\\\\\\\)\\\\s*(\\\\S.*$\\\\n?)"},{"begin":"(\\\\\\\\)\\\\s*$\\\\n?","beginCaptures":{"1":{"name":"punctuation.separator.continuation.line.gdscript"}},"end":"(?=^\\\\s*$)|(?!(\\\\s*[Rr]?('''|\\"\\"\\"|[\\"']))|\\\\G()$)","patterns":[{"include":"#base_expression"}]}]},"loose_default":{"begin":"(=)","beginCaptures":{"1":{"name":"keyword.operator.gdscript"}},"end":"(,)|(?=\\\\))","endCaptures":{"1":{"name":"punctuation.separator.parameters.gdscript"}},"patterns":[{"include":"#expression"}]},"match_keyword":{"captures":{"1":{"name":"keyword.control.flow.gdscript"}},"match":"(?:^|:)\\\\s*(match)\\\\b"},"nodepath_function":{"begin":"(get_node_or_null|has_node|has_node_and_resource|find_node|get_node)\\\\s*(\\\\()","beginCaptures":{"1":{"name":"entity.name.function.gdscript"},"2":{"name":"punctuation.definition.parameters.begin.gdscript"}},"contentName":"meta.function.parameters.gdscript","end":"(\\\\))","endCaptures":{"1":{"name":"punctuation.definition.parameters.end.gdscript"}},"name":"meta.function.gdscript","patterns":[{"begin":"([\\"'])","end":"\\\\1","name":"string.quoted.gdscript meta.literal.nodepath.gdscript constant.character.escape.gdscript","patterns":[{"match":"%","name":"keyword.control.flow.gdscript"}]},{"include":"#expression"}]},"nodepath_object":{"begin":"(NodePath)\\\\s*\\\\(","beginCaptures":{"1":{"name":"support.class.library.gdscript"}},"end":"\\\\)","name":"meta.literal.nodepath.gdscript","patterns":[{"begin":"([\\"'])","end":"\\\\1","name":"string.quoted.gdscript constant.character.escape.gdscript","patterns":[{"match":"%","name":"keyword.control.flow.gdscript"}]}]},"numbers":{"patterns":[{"match":"0b[01_]+","name":"constant.numeric.integer.binary.gdscript"},{"match":"0x[_\\\\h]+","name":"constant.numeric.integer.hexadecimal.gdscript"},{"match":"\\\\.[0-9][0-9_]*([Ee][-+]?[0-9_]+)?","name":"constant.numeric.float.gdscript"},{"match":"([0-9][0-9_]*)\\\\.[0-9_]*([Ee][-+]?[0-9_]+)?","name":"constant.numeric.float.gdscript"},{"match":"([0-9][0-9_]*)?\\\\.[0-9_]*([Ee][-+]?[0-9_]+)","name":"constant.numeric.float.gdscript"},{"match":"[0-9][0-9_]*[Ee][-+]?[0-9_]+","name":"constant.numeric.float.gdscript"},{"match":"-?[0-9][0-9_]*","name":"constant.numeric.integer.gdscript"}]},"operators":{"patterns":[{"include":"#wordlike_operator"},{"include":"#boolean_operator"},{"include":"#arithmetic_operator"},{"include":"#bitwise_operator"},{"include":"#compare_operator"}]},"parameters":{"begin":"(\\\\()","beginCaptures":{"1":{"name":"punctuation.definition.parameters.begin.gdscript"}},"end":"(\\\\))","endCaptures":{"1":{"name":"punctuation.definition.parameters.end.gdscript"}},"name":"meta.function.parameters.gdscript","patterns":[{"include":"#annotated_parameter"},{"captures":{"1":{"name":"variable.parameter.function.language.gdscript"},"2":{"name":"punctuation.separator.parameters.gdscript"}},"match":"([A-Z_a-z]\\\\w*)\\\\s*(?:(,)|(?=[\\\\n#)=]))"},{"include":"#comment"},{"include":"#loose_default"}]},"pascal_case_class":{"match":"\\\\b[A-Z]+(?:[a-z]+[0-9A-Z_a-z]*)+\\\\b","name":"entity.name.type.class.gdscript"},"region":{"match":"#(end)?region.*$\\\\n?","name":"keyword.language.region.gdscript"},"round_braces":{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.parenthesis.begin.gdscript"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.parenthesis.end.gdscript"}},"patterns":[{"include":"#base_expression"},{"include":"#any_variable"}]},"signal_declaration":{"begin":"\\\\s*(signal)\\\\s+([A-Z_a-z]\\\\w*)\\\\s*(?=\\\\()","beginCaptures":{"1":{"name":"keyword.language.gdscript storage.type.function.gdscript"},"2":{"name":"entity.name.function.gdscript"}},"end":"((?=[\\\\n\\"#']))","name":"meta.signal.gdscript","patterns":[{"include":"#parameters"},{"include":"#line_continuation"}]},"signal_declaration_bare":{"captures":{"1":{"name":"keyword.language.gdscript storage.type.function.gdscript"},"2":{"name":"entity.name.function.gdscript"}},"match":"\\\\s*(signal)\\\\s+([A-Z_a-z]\\\\w*)(?=[\\\\n\\\\s])","name":"meta.signal.gdscript"},"square_braces":{"begin":"\\\\[","beginCaptures":{"0":{"name":"punctuation.definition.list.begin.gdscript"}},"end":"]","endCaptures":{"0":{"name":"punctuation.definition.list.end.gdscript"}},"patterns":[{"include":"#base_expression"},{"include":"#any_variable"}]},"statement":{"patterns":[{"include":"#extends_statement"}]},"statement_keyword":{"patterns":[{"match":"\\\\b(?<!\\\\.)(continue|assert|break|elif|else|if|pass|return|while)\\\\b","name":"keyword.control.flow.gdscript"},{"match":"\\\\b(?<!\\\\.)(class)\\\\b","name":"storage.type.class.gdscript"},{"captures":{"1":{"name":"keyword.control.flow.gdscript"}},"match":"(?:^|:)\\\\s*(case|match)(?=\\\\s*([-\\"#'(+:\\\\[{\\\\w\\\\d]|$))\\\\b"}]},"string_bracket_placeholders":{"patterns":[{"captures":{"1":{"name":"constant.character.format.placeholder.other.gdscript"},"3":{"name":"storage.type.format.gdscript"},"4":{"name":"storage.type.format.gdscript"}},"match":"(\\\\{\\\\{|}}|\\\\{\\\\w*(\\\\.[_[:alpha:]]\\\\w*|\\\\[[^]\\"']+])*(![ars])?(:\\\\w?[<=>^]?[- +]?#?\\\\d*,?(\\\\.\\\\d+)?[%EFGXb-gnosx]?)?})","name":"meta.format.brace.gdscript"},{"captures":{"1":{"name":"constant.character.format.placeholder.other.gdscript"},"3":{"name":"storage.type.format.gdscript"},"4":{"name":"storage.type.format.gdscript"}},"match":"(\\\\{\\\\w*(\\\\.[_[:alpha:]]\\\\w*|\\\\[[^]\\"']+])*(![ars])?(:)[^\\\\n\\"'{}]*(?:\\\\{[^\\\\n\\"'}]*?}[^\\\\n\\"'{}]*)*})","name":"meta.format.brace.gdscript"}]},"string_percent_placeholders":{"captures":{"1":{"name":"constant.character.format.placeholder.other.gdscript"}},"match":"(%(\\\\([\\\\w\\\\s]*\\\\))?[- #+0]*(\\\\d+|\\\\*)?(\\\\.(\\\\d+|\\\\*))?([Lhl])?[%EFGXa-giorsux])","name":"meta.format.percent.gdscript"},"strings":{"begin":"(r)?(\\"\\"\\"|'''|[\\"'])","beginCaptures":{"1":{"name":"constant.character.escape.gdscript"}},"end":"\\\\2","name":"string.quoted.gdscript","patterns":[{"match":"\\\\\\\\.","name":"constant.character.escape.gdscript"},{"include":"#string_percent_placeholders"},{"include":"#string_bracket_placeholders"}]},"variable_declaration":{"begin":"\\\\b(?:(var)|(const))\\\\b","beginCaptures":{"1":{"name":"keyword.language.gdscript storage.type.var.gdscript"},"2":{"name":"keyword.language.gdscript storage.type.const.gdscript"}},"end":"$|;","name":"meta.variable.declaration.gdscript","patterns":[{"captures":{"1":{"name":"punctuation.separator.annotation.gdscript"},"2":{"name":"entity.name.function.gdscript"},"3":{"name":"entity.name.function.gdscript"}},"match":"(:)?\\\\s*([gs]et)\\\\s+=\\\\s+([A-Z_a-z]\\\\w*)"},{"match":":=|=(?!=)","name":"keyword.operator.assignment.gdscript"},{"captures":{"1":{"name":"punctuation.separator.annotation.gdscript"},"2":{"name":"entity.name.type.class.gdscript"}},"match":"(:)\\\\s*([A-Z_a-z]\\\\w*)?"},{"captures":{"1":{"name":"keyword.language.gdscript"},"2":{"name":"entity.name.function.gdscript"},"3":{"name":"entity.name.function.gdscript"}},"match":"(setget)\\\\s+([A-Z_a-z]\\\\w*)(?:,\\\\s*([A-Z_a-z]\\\\w*))?"},{"include":"#expression"},{"include":"#letter"},{"include":"#any_variable"},{"include":"#any_property"},{"include":"#keywords"}]},"wordlike_operator":{"match":"\\\\b(and|or|not)\\\\b","name":"keyword.operator.wordlike.gdscript"}},"scopeName":"source.gdscript","aliases":["gd"]}`)),t=[e];export{t as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as t}from"./chunk-4TFFBC35.js";var e=Object.freeze(JSON.parse('{"displayName":"HTML (Derivative)","injections":{"R:text.html - (comment.block, text.html meta.embedded, meta.tag.*.*.html, meta.tag.*.*.*.html, meta.tag.*.*.*.*.html)":{"patterns":[{"match":"<","name":"invalid.illegal.bad-angle-bracket.html"}]}},"name":"html-derivative","patterns":[{"include":"text.html.basic#core-minus-invalid"},{"begin":"(</?)(\\\\w[^<>\\\\s]*)(?<!/)","beginCaptures":{"1":{"name":"punctuation.definition.tag.begin.html"},"2":{"name":"entity.name.tag.html"}},"end":"((?: ?/)?>)","endCaptures":{"1":{"name":"punctuation.definition.tag.end.html"}},"name":"meta.tag.other.unrecognized.html.derivative","patterns":[{"include":"text.html.basic#attribute"}]}],"scopeName":"text.html.derivative","embeddedLangs":["html"]}')),n=[...t,e];export{n as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{a as n,b as l,c as u,d as c,e as v,g,s as m,w as h,y as f}from"./chunk-PZELHD2H.js";var i,C=(i=class extends f{constructor(){super(["railroad-peg-beta"])}},n(i,"RailroadPegTokenBuilder"),i),p=n(d=>{let e=d.slice(1,-1),r="";for(let t=0;t<e.length;t++){let o=e[t];if(o==="\\"&&t+1<e.length){t++;let a=e[t];switch(a){case"n":r+=`
|
|
2
|
+
`;break;case"r":r+="\r";break;case"t":r+=" ";break;default:r+=a}continue}r+=o}return r},"decodeEscapedString"),s,R=(s=class extends h{runConverter(e,r,t){let o=super.runConverter(e,r,t);if(e.name==="TITLE"&&typeof o=="string"){let a=o.trim();if(a.startsWith('"')&&a.endsWith('"')||a.startsWith("'")&&a.endsWith("'"))return p(a)}return o}runCustomConverter(e,r,t){if(e.name==="PEG_STRING")return p(r)}},n(s,"RailroadPegValueConverter"),s),P={parser:{TokenBuilder:n(()=>new C,"TokenBuilder"),ValueConverter:n(()=>new R,"ValueConverter")}};function S(d=v){let e=c(u(d),g),r=c(l({shared:e}),m,P);return e.ServiceRegistry.register(r),{shared:e,RailroadPeg:r}}n(S,"createRailroadPegServices");export{P as a,S as b};
|