@toimc/markdown 0.0.1 → 0.0.3
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 +165 -0
- package/dist/{bash-Cm4CVo6v.js → bash-CB7IBf-7.js} +0 -1
- package/dist/{CodeBlock.vue.d.ts → components/CodeBlock.vue.d.ts} +10 -1
- package/dist/components/CodeBlock.vue.d.ts.map +1 -0
- package/dist/components/LatexBlock.vue.d.ts.map +1 -0
- package/dist/components/MarkdownRenderer.vue.d.ts.map +1 -0
- package/dist/components/MermaidBlock.vue.d.ts.map +1 -0
- package/dist/composables/useMarkdownIt.d.ts.map +1 -1
- package/dist/css-BNAk6GUm.js +1 -0
- package/dist/css-CSuiabBd.cjs +1 -0
- package/dist/css-XGfOcSWP.js +2 -0
- package/dist/css-hISgu-gn.cjs +1 -0
- package/dist/{github-dark-C85MA6EW.js → github-dark-HjHQSF6c.js} +1 -2
- package/dist/{github-light-Dzg0sEwI.js → github-light-BS4bTP_A.js} +1 -2
- package/dist/{go-BEdBk4fh.js → go-DM5FkVJr.js} +0 -1
- package/dist/{html-CptZ4PZn.cjs → html-B74xNLl7.cjs} +1 -1
- package/dist/html-BfvIZbOy.cjs +1 -0
- package/dist/{html-Ctxsat8s.js → html-CPRPPrI5.js} +4 -5
- package/dist/html-CicqKfTr.js +1 -0
- package/dist/index.cjs +63 -61
- package/dist/index.d.ts +4 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.mjs +6136 -5530
- package/dist/{javascript-Bk0bJ4nQ.js → javascript-BA7R0ZzU.js} +0 -1
- package/dist/javascript-D3uiIYXW.js +1 -0
- package/dist/json-BxN5JlXF.js +1 -0
- package/dist/{json-DFt_0dbD.js → json-DzGpsm5O.js} +0 -1
- package/dist/{jsx-BHkwOr0x.js → jsx-OQctj7OM.js} +0 -1
- package/dist/katex.css +1 -1
- package/dist/{markdown-nUtTZkU8.js → markdown-CNVZ8ok-.js} +0 -1
- package/dist/markdown.css +1 -1
- package/dist/{python-D0AaDoWC.js → python-BHaXfePs.js} +0 -1
- package/dist/rust-CbGaYpW0.js +2 -0
- package/dist/rust-rQqn7k8G.cjs +1 -0
- package/dist/{scss-CoGT9c_3.js → scss-C-hhxfjO.js} +2 -3
- package/dist/{scss-BY5CCWQ_.cjs → scss-t_1qNxqd.cjs} +1 -1
- package/dist/sql-DbsWPbnd.js +2 -0
- package/dist/sql-Dz4D2KVE.cjs +1 -0
- package/dist/{tsx-Cb6KMAZH.js → tsx-6akVe_f1.js} +0 -1
- package/dist/typescript-BV-txBTG.js +1 -0
- package/dist/{typescript-C4BXhs_3.js → typescript-DB3hlC91.js} +0 -1
- package/dist/utils/formula-guard.d.ts +13 -0
- package/dist/utils/formula-guard.d.ts.map +1 -0
- package/dist/utils/split-lines.d.ts +10 -0
- package/dist/utils/split-lines.d.ts.map +1 -0
- package/dist/{vue-DG6ivzcc.cjs → vue-Dsb5eNKu.cjs} +1 -1
- package/dist/{vue-DcTnNxpt.js → vue-wUrCEfyQ.js} +9 -10
- package/dist/{yaml-DXmkPuRD.js → yaml-CcAIbj8h.js} +0 -1
- package/package.json +21 -17
- package/dist/CodeBlock.test.d.ts +0 -2
- package/dist/CodeBlock.test.d.ts.map +0 -1
- package/dist/CodeBlock.vue.d.ts.map +0 -1
- package/dist/LatexBlock.test.d.ts +0 -2
- package/dist/LatexBlock.test.d.ts.map +0 -1
- package/dist/LatexBlock.vue.d.ts.map +0 -1
- package/dist/MarkdownRenderer.test.d.ts +0 -2
- package/dist/MarkdownRenderer.test.d.ts.map +0 -1
- package/dist/MarkdownRenderer.vue.d.ts.map +0 -1
- package/dist/MermaidBlock.test.d.ts +0 -2
- package/dist/MermaidBlock.test.d.ts.map +0 -1
- package/dist/MermaidBlock.vue.d.ts.map +0 -1
- package/dist/abnfDiagram-N423BO3Z-CpvDGmAd.cjs +0 -1
- package/dist/abnfDiagram-N423BO3Z-DuAPsGBR.js +0 -89
- package/dist/arc-CFxpoaLu.js +0 -82
- package/dist/arc-Dh2Zrypi.cjs +0 -1
- package/dist/architecture-TIHT7OUA-CUym9zMN.cjs +0 -1
- package/dist/architecture-TIHT7OUA-DDwCCw0y.js +0 -3
- package/dist/architectureDiagram-T3A2C74G-CS6-PQjR.cjs +0 -36
- package/dist/architectureDiagram-T3A2C74G-d7xzbLJQ.js +0 -4155
- package/dist/array-CApNbSU9.js +0 -6
- package/dist/array-DZSRzHA_.cjs +0 -1
- package/dist/blockDiagram-VBNYF7ZC-CnvNE8Hq.js +0 -3157
- package/dist/blockDiagram-VBNYF7ZC-DVl7vKmv.cjs +0 -132
- package/dist/c4Diagram-5PPSVZJV-B1RTcquO.js +0 -2982
- package/dist/c4Diagram-5PPSVZJV-Djkk0hzr.cjs +0 -10
- package/dist/channel-CNZiSge7.cjs +0 -1
- package/dist/channel-CqlbSsMQ.js +0 -5
- package/dist/chunk-2GRJ4B5K-BgeLbn06.cjs +0 -1
- package/dist/chunk-2GRJ4B5K-C5VToU5T.js +0 -61
- package/dist/chunk-2Q5K7J3B-B8v9mTdK.cjs +0 -1
- package/dist/chunk-2Q5K7J3B-C3WfnuyI.js +0 -15
- package/dist/chunk-4I5QYGJK-Bs8S-Wfu.js +0 -275
- package/dist/chunk-4I5QYGJK-CBqJO_mi.cjs +0 -1
- package/dist/chunk-5RXB4S5H-BnJ1P9K2.js +0 -2042
- package/dist/chunk-5RXB4S5H-BtEDiC1U.cjs +0 -231
- package/dist/chunk-5VM5RSS4-BsUXY5k9.js +0 -5
- package/dist/chunk-5VM5RSS4-CwDmQ9T_.cjs +0 -15
- package/dist/chunk-6Q2QTUOP-C0P-wtth.js +0 -490
- package/dist/chunk-6Q2QTUOP-UC-G8b3B.cjs +0 -88
- package/dist/chunk-7BUUIJ7U-CZdUK2qY.js +0 -82
- package/dist/chunk-7BUUIJ7U-MzS1pW_S.cjs +0 -1
- package/dist/chunk-7Z6QIM7H-CJdupq9f.js +0 -593
- package/dist/chunk-7Z6QIM7H-CUGcycR0.cjs +0 -10
- package/dist/chunk-GF5L2VYU-CDGpCl8Z.js +0 -3357
- package/dist/chunk-GF5L2VYU-DWhSvqYP.cjs +0 -206
- package/dist/chunk-I66GZJ75-D8wVRUgw.cjs +0 -127
- package/dist/chunk-I66GZJ75-xmbkwRyp.js +0 -3754
- package/dist/chunk-JQJVKLGR-B-jNEb9r.js +0 -4135
- package/dist/chunk-JQJVKLGR-CbhQdRxu.cjs +0 -156
- package/dist/chunk-JWPE2WC7-B8JIODrM.js +0 -8
- package/dist/chunk-JWPE2WC7-Cs1kjq8S.cjs +0 -1
- package/dist/chunk-KBJHAD2P-BMuT9eJO.cjs +0 -1
- package/dist/chunk-KBJHAD2P-CCpB6hWQ.js +0 -26
- package/dist/chunk-KEIR6QF5-RwFi50en.js +0 -21456
- package/dist/chunk-KEIR6QF5-rUKzMPy0.cjs +0 -161
- package/dist/chunk-NSK5VX7P-BO1SrWAL.js +0 -1335
- package/dist/chunk-NSK5VX7P-BiC_63US.cjs +0 -2
- package/dist/chunk-QR6OTTB3-BSxbyKp_.cjs +0 -62
- package/dist/chunk-QR6OTTB3-CGxJcV-X.js +0 -3738
- package/dist/chunk-RYQCIY6F-Lf2oVMMh.cjs +0 -1
- package/dist/chunk-RYQCIY6F-UBebC0ib.js +0 -241
- package/dist/chunk-UBXNYLIW-BURVNZm2.cjs +0 -1
- package/dist/chunk-UBXNYLIW-fOGkdEwd.js +0 -32
- package/dist/chunk-W5SLKNZC-BLFqePZ1.cjs +0 -1
- package/dist/chunk-W5SLKNZC-C2SYjJjL.js +0 -67
- package/dist/chunk-WRU74C26-Cr4HTCc1.cjs +0 -70
- package/dist/chunk-WRU74C26-UGtU6H2a.js +0 -1636
- package/dist/chunk-XXDRQBXY-GENMsCHk.js +0 -9
- package/dist/chunk-XXDRQBXY-yMT3rT5Y.cjs +0 -1
- package/dist/chunk-Y2CYZVJY-CnmLqFtv.cjs +0 -1
- package/dist/chunk-Y2CYZVJY-DO9UHHon.js +0 -12
- package/dist/classDiagram-JCYQIIEL-DUjWUDYG.cjs +0 -1
- package/dist/classDiagram-JCYQIIEL-Dm9anlJw.js +0 -30
- package/dist/classDiagram-v2-OCEON4UE-Bl-vyFyz.js +0 -30
- package/dist/classDiagram-v2-OCEON4UE-DUjWUDYG.cjs +0 -1
- package/dist/composables/useHighlighter.test.d.ts +0 -2
- package/dist/composables/useHighlighter.test.d.ts.map +0 -1
- package/dist/composables/useMarkdownIt.test.d.ts +0 -2
- package/dist/composables/useMarkdownIt.test.d.ts.map +0 -1
- package/dist/composables/useShikiTokenizer.test.d.ts +0 -2
- package/dist/composables/useShikiTokenizer.test.d.ts.map +0 -1
- package/dist/composables/useStreamingMarkdown.test.d.ts +0 -2
- package/dist/composables/useStreamingMarkdown.test.d.ts.map +0 -1
- package/dist/cose-bilkent-JH36ORCC-C1RCVzVZ.cjs +0 -1
- package/dist/cose-bilkent-JH36ORCC-C5FbROLY.js +0 -2254
- package/dist/css-BbwcBM_4.js +0 -2
- package/dist/css-CEHhC-OC.cjs +0 -1
- package/dist/css-Ca3W2DHx.cjs +0 -1
- package/dist/css-HuzvwXs-.js +0 -3
- package/dist/cynefin-VYW2F7L2-CMgnLl46.js +0 -3
- package/dist/cynefin-VYW2F7L2-DVi1CF5b.cjs +0 -1
- package/dist/cynefinDiagram-MW4NZA55-CkZY080C.cjs +0 -62
- package/dist/cynefinDiagram-MW4NZA55-DbAAx9CC.js +0 -355
- package/dist/cytoscape.esm-BKhIYxsH.cjs +0 -321
- package/dist/cytoscape.esm-DMXbtFI-.js +0 -18145
- package/dist/dagre-DarAkhy1.cjs +0 -1
- package/dist/dagre-VZM6K2ZE-CpL0s3GG.js +0 -328
- package/dist/dagre-VZM6K2ZE-D1_S1oSj.cjs +0 -4
- package/dist/dagre-x4cMb6gU.js +0 -1699
- package/dist/defaultLocale-ybN1Vtvg.cjs +0 -1
- package/dist/defaultLocale-yzzuPw6P.js +0 -198
- package/dist/diagram-7IWD3JNH-BXvOBw2z.js +0 -300
- package/dist/diagram-7IWD3JNH-W-Kjft6l.cjs +0 -30
- package/dist/diagram-B4RE2ZJO-C4lLgW4X.cjs +0 -3
- package/dist/diagram-B4RE2ZJO-DyAAD_bR.js +0 -432
- package/dist/diagram-LBJQPF4R-BTgCWP5o.cjs +0 -24
- package/dist/diagram-LBJQPF4R-BbMQOpt2.js +0 -134
- package/dist/diagram-Q27KOJAE-ink_R6qE.js +0 -527
- package/dist/diagram-Q27KOJAE-v-ZMzCxs.cjs +0 -24
- package/dist/diagram-UB23O5K3-BXTm2BG0.cjs +0 -41
- package/dist/diagram-UB23O5K3-C6rqCJBb.js +0 -214
- package/dist/dist-BP2me-br.js +0 -59
- package/dist/dist-Dwv2VYAL.cjs +0 -1
- package/dist/ebnfDiagram-BXEA7PRR-C80cjdjP.js +0 -100
- package/dist/ebnfDiagram-BXEA7PRR-lKO9XwUp.cjs +0 -1
- package/dist/erDiagram-JOGREHBK-Blwfr6w3.js +0 -1727
- package/dist/erDiagram-JOGREHBK-ChgcmULa.cjs +0 -85
- package/dist/eventmodeling-45OFAUF4-BDhzj03B.js +0 -3
- package/dist/eventmodeling-45OFAUF4-BtU19idK.cjs +0 -1
- package/dist/flowDiagram-UKHOOZJN-Co0JpKUU.js +0 -16
- package/dist/flowDiagram-UKHOOZJN-db1Ur2LI.cjs +0 -1
- package/dist/ganttDiagram-PKOTCBZU-Byi4E8Ye.js +0 -3073
- package/dist/ganttDiagram-PKOTCBZU-C_Vwv1o8.cjs +0 -292
- package/dist/gitGraph-TEB2WS4Q-CAeGPNFR.cjs +0 -1
- package/dist/gitGraph-TEB2WS4Q-DJA_hE4G.js +0 -3
- package/dist/gitGraphDiagram-DS77QQ5N-BG8AQVtP.js +0 -733
- package/dist/gitGraphDiagram-DS77QQ5N-DK9VJTjf.cjs +0 -106
- package/dist/graphlib-BaETKKSa.cjs +0 -1
- package/dist/graphlib-DoD0LnUK.js +0 -1267
- package/dist/html-BH9giSUA.js +0 -2
- package/dist/html-DtqQp8LO.cjs +0 -1
- package/dist/info-DKCQHKI2-BD_vOCz6.js +0 -3
- package/dist/info-DKCQHKI2-p0Lazone.cjs +0 -1
- package/dist/infoDiagram-6WML65LV-B6PBOy7T.js +0 -20
- package/dist/infoDiagram-6WML65LV-nBSrP53Z.cjs +0 -2
- package/dist/init-BJdqMO10.cjs +0 -1
- package/dist/init-sjaVZO3f.js +0 -13
- package/dist/ishikawaDiagram-WSZJBQD7-BxEkaF2A.js +0 -719
- package/dist/ishikawaDiagram-WSZJBQD7-CjyKQ_N6.cjs +0 -70
- package/dist/javascript--0qAxhnA.js +0 -2
- package/dist/journeyDiagram-NVQOT4AX-BPCuqjbW.js +0 -884
- package/dist/journeyDiagram-NVQOT4AX-DKgEeNcy.cjs +0 -139
- package/dist/json-DVwBUiza.js +0 -2
- package/dist/kanban-definition-27J2QSJJ-BeKnR9zB.cjs +0 -89
- package/dist/kanban-definition-27J2QSJJ-D1pVuCv2.js +0 -974
- package/dist/katex-BfeHGk4M.js +0 -21977
- package/dist/katex-CEF6MvLx.cjs +0 -257
- package/dist/line-8EHPtDZA.cjs +0 -1
- package/dist/line-BifI9Y7j.js +0 -34
- package/dist/linear-Nt9BuHfn.cjs +0 -1
- package/dist/linear-l8AD1ib_.js +0 -288
- package/dist/map-CCpPjiU9.cjs +0 -1
- package/dist/map-DUk1uXZC.js +0 -241
- package/dist/mermaid-parser.core-BupC9XGF.js +0 -638
- package/dist/mermaid-parser.core-aXxW1VLR.cjs +0 -6
- package/dist/mermaid.core-C05C5gh_.cjs +0 -41
- package/dist/mermaid.core-CxM-VhZd.js +0 -2297
- package/dist/mindmap-definition-FAOFIHXS-B_k8KOvw.js +0 -1006
- package/dist/mindmap-definition-FAOFIHXS-CKPAiVKf.cjs +0 -96
- package/dist/ordinal-Bm_chml2.cjs +0 -1
- package/dist/ordinal-CNQzPcrr.js +0 -65
- package/dist/packet-7NZHBO7P-CVdRavgo.cjs +0 -1
- package/dist/packet-7NZHBO7P-CgBlALV1.js +0 -3
- package/dist/path-DIS6ck99.cjs +0 -1
- package/dist/path-DVvH25eQ.js +0 -84
- package/dist/pegDiagram-VL7TDLO6-B5Jhedbv.cjs +0 -1
- package/dist/pegDiagram-VL7TDLO6-PP-A-3Lv.js +0 -94
- package/dist/pie-RZYD4A2V-CryPC-P_.js +0 -3
- package/dist/pie-RZYD4A2V-CwDJ0bEW.cjs +0 -1
- package/dist/pieDiagram-7S7Q4E2Y-CgDU9E10.cjs +0 -39
- package/dist/pieDiagram-7S7Q4E2Y-CxNt1xaN.js +0 -203
- package/dist/quadrantDiagram-CIZ2JOQS-CMUanfcR.js +0 -2001
- package/dist/quadrantDiagram-CIZ2JOQS-vybEBK1o.cjs +0 -7
- package/dist/radar-I7S5WNFK-DaVgEjvC.cjs +0 -1
- package/dist/radar-I7S5WNFK-DgzJDRy3.js +0 -3
- package/dist/railroad-3IZDKUUU-BPsrMjqz.cjs +0 -1
- package/dist/railroad-3IZDKUUU-DFp3mbpB.js +0 -3
- package/dist/railroad-abnf-AHOZXSZD-BRjidKH0.js +0 -3
- package/dist/railroad-abnf-AHOZXSZD-ZpHq_KEy.cjs +0 -1
- package/dist/railroad-ebnf-EBAXGLYW-B45niwuq.cjs +0 -1
- package/dist/railroad-ebnf-EBAXGLYW-PgrDWact.js +0 -3
- package/dist/railroad-peg-LSFZ7HO6-CMKir81Y.js +0 -3
- package/dist/railroad-peg-LSFZ7HO6-DUsuEX2Z.cjs +0 -1
- package/dist/railroadDiagram-AXF67PYL-D7y_2yAa.cjs +0 -1
- package/dist/railroadDiagram-AXF67PYL-iLkvx2oU.js +0 -76
- package/dist/renderers/tokensToHtml.test.d.ts +0 -2
- package/dist/renderers/tokensToHtml.test.d.ts.map +0 -1
- package/dist/requirementDiagram-LRYGKXZP-Bs2mCDzB.js +0 -2223
- package/dist/requirementDiagram-LRYGKXZP-lA2nVr6h.cjs +0 -84
- package/dist/rolldown-runtime-B0aSnxlc.js +0 -20
- package/dist/rolldown-runtime-DF3sbh8G.cjs +0 -1
- package/dist/rough.esm-B2w_aYoc.js +0 -1361
- package/dist/rough.esm-ChRLLRha.cjs +0 -1
- package/dist/rust-BrRMzTsN.js +0 -3
- package/dist/rust-DWYDZl_E.cjs +0 -1
- package/dist/sankeyDiagram-W5VNT64P-BxYQllhE.js +0 -972
- package/dist/sankeyDiagram-W5VNT64P-vPci5pOT.cjs +0 -40
- package/dist/sequenceDiagram-SI44F4Z6-BNu1-3EN.cjs +0 -162
- package/dist/sequenceDiagram-SI44F4Z6-E6AoYU_R.js +0 -4156
- package/dist/sizeCapture-X5ZJPWSS-8gbZlYqg.js +0 -46
- package/dist/sizeCapture-X5ZJPWSS-bJ2ZX4Du.cjs +0 -1
- package/dist/sql-CF-HzF4U.cjs +0 -1
- package/dist/sql-DvCCsF21.js +0 -3
- package/dist/src-C7bjHtAI.js +0 -2139
- package/dist/src-D9o9TOtH.cjs +0 -1
- package/dist/stateDiagram-OKZ733FA-B7ITlY91.cjs +0 -1
- package/dist/stateDiagram-OKZ733FA-BfcOAK65.js +0 -220
- package/dist/stateDiagram-v2-UEYNNEHI-BHO-uUPG.js +0 -30
- package/dist/stateDiagram-v2-UEYNNEHI-lgGjJyRM.cjs +0 -1
- package/dist/swimlanes-SLNWSIFB-BHIPInzG.js +0 -5069
- package/dist/swimlanes-SLNWSIFB-C-Z31wMl.cjs +0 -1
- package/dist/swimlanesDiagram-ULZ7WXOC-C8pvRoyc.cjs +0 -8
- package/dist/swimlanesDiagram-ULZ7WXOC-CK6AVyRM.js +0 -30
- package/dist/timeline-definition-Z64GVDOM-C31otJwb.cjs +0 -120
- package/dist/timeline-definition-Z64GVDOM-rUKJY7cp.js +0 -1069
- package/dist/treeView-QDETBFTQ-BkNUN560.cjs +0 -1
- package/dist/treeView-QDETBFTQ-DVp4aTZQ.js +0 -3
- package/dist/treemap-6X3UGDF4-BbBnHMHJ.js +0 -3
- package/dist/treemap-6X3UGDF4-BcO657a2.cjs +0 -1
- package/dist/typescript-DFf19o_s.js +0 -2
- package/dist/utils/extractCompleteMarkdown.test.d.ts +0 -2
- package/dist/utils/extractCompleteMarkdown.test.d.ts.map +0 -1
- package/dist/vennDiagram-T6HMQDX7-DjlTuTEH.cjs +0 -34
- package/dist/vennDiagram-T6HMQDX7-vxMe-3nF.js +0 -1880
- package/dist/wardley-OPB4EBWU-B-RXhnoN.js +0 -3
- package/dist/wardley-OPB4EBWU-CiILNYeL.cjs +0 -1
- package/dist/wardleyDiagram-T6FBY63Y-BMQLZV1W.cjs +0 -78
- package/dist/wardleyDiagram-T6FBY63Y-C_Q2NmJu.js +0 -645
- package/dist/xychartDiagram-ELKLHX3M-Bsa_zeyd.cjs +0 -7
- package/dist/xychartDiagram-ELKLHX3M-OcVmrPL6.js +0 -2101
- /package/dist/{LatexBlock.vue.d.ts → components/LatexBlock.vue.d.ts} +0 -0
- /package/dist/{MarkdownRenderer.vue.d.ts → components/MarkdownRenderer.vue.d.ts} +0 -0
- /package/dist/{MermaidBlock.vue.d.ts → components/MermaidBlock.vue.d.ts} +0 -0
|
@@ -1,2297 +0,0 @@
|
|
|
1
|
-
import { n as e } from "./chunk-Y2CYZVJY-DO9UHHon.js";
|
|
2
|
-
import { h as t, m as n, p as r } from "./src-C7bjHtAI.js";
|
|
3
|
-
import { $ as i, C as a, E as o, I as s, L as c, N as l, P as u, Q as d, S as f, T as p, V as m, W as h, X as g, Z as _, _ as v, b as y, c as b, g as ee, l as x, m as S, n as C, p as te, q as ne, r as re, s as ie, t as ae, u as oe, x as se } from "./chunk-I66GZJ75-xmbkwRyp.js";
|
|
4
|
-
import { G as ce, a as w, b as le, d as ue, f as de, g as fe, h as pe, i as me, o as he, v as ge, y as _e } from "./chunk-NSK5VX7P-BO1SrWAL.js";
|
|
5
|
-
import { r as ve } from "./chunk-4I5QYGJK-Bs8S-Wfu.js";
|
|
6
|
-
import { r as ye } from "./chunk-WRU74C26-UGtU6H2a.js";
|
|
7
|
-
import "./chunk-7BUUIJ7U-CZdUK2qY.js";
|
|
8
|
-
import "./chunk-UBXNYLIW-fOGkdEwd.js";
|
|
9
|
-
import "./chunk-W5SLKNZC-C2SYjJjL.js";
|
|
10
|
-
import { a as be, i as xe, s as Se } from "./chunk-QR6OTTB3-CGxJcV-X.js";
|
|
11
|
-
import { a as Ce, i as we, o as Te, r as Ee } from "./chunk-7Z6QIM7H-CJdupq9f.js";
|
|
12
|
-
//#region ../../node_modules/.pnpm/mermaid@11.16.1/node_modules/mermaid/dist/chunks/mermaid.core/chunk-3NCLNEKW.mjs
|
|
13
|
-
var De = /* @__PURE__ */ e((e) => {
|
|
14
|
-
let { securityLevel: t } = se(), n = r("body");
|
|
15
|
-
if (t === "sandbox") {
|
|
16
|
-
let t = r(`#i${e}`).node()?.contentDocument ?? document;
|
|
17
|
-
n = r(t.body);
|
|
18
|
-
}
|
|
19
|
-
return n.select(`#${e}`);
|
|
20
|
-
}, "selectSvgElement");
|
|
21
|
-
//#endregion
|
|
22
|
-
//#region ../../node_modules/.pnpm/es-toolkit@1.46.1/node_modules/es-toolkit/dist/compat/_internal/isPrototype.mjs
|
|
23
|
-
function Oe(e) {
|
|
24
|
-
let t = e?.constructor;
|
|
25
|
-
return e === (typeof t == "function" ? t.prototype : Object.prototype);
|
|
26
|
-
}
|
|
27
|
-
//#endregion
|
|
28
|
-
//#region ../../node_modules/.pnpm/es-toolkit@1.46.1/node_modules/es-toolkit/dist/compat/predicate/isEmpty.mjs
|
|
29
|
-
function ke(e) {
|
|
30
|
-
if (e == null) return !0;
|
|
31
|
-
if (ce(e)) return typeof e.splice != "function" && typeof e != "string" && !le(e) && !ge(e) && !_e(e) ? !1 : e.length === 0;
|
|
32
|
-
if (typeof e == "object") {
|
|
33
|
-
if (e instanceof Map || e instanceof Set) return e.size === 0;
|
|
34
|
-
let t = Object.keys(e);
|
|
35
|
-
return Oe(e) ? t.filter((e) => e !== "constructor").length === 0 : t.length === 0;
|
|
36
|
-
}
|
|
37
|
-
return !0;
|
|
38
|
-
}
|
|
39
|
-
//#endregion
|
|
40
|
-
//#region ../../node_modules/.pnpm/mermaid@11.16.1/node_modules/mermaid/dist/chunks/mermaid.core/chunk-J7OUQ5F2.mjs
|
|
41
|
-
var Ae = {
|
|
42
|
-
common: ie,
|
|
43
|
-
getConfig: y,
|
|
44
|
-
insertCluster: xe,
|
|
45
|
-
insertEdge: Ee,
|
|
46
|
-
insertEdgeLabel: we,
|
|
47
|
-
insertMarkers: Ce,
|
|
48
|
-
insertNode: be,
|
|
49
|
-
interpolateToCurve: ue,
|
|
50
|
-
labelHelper: Se,
|
|
51
|
-
log: n,
|
|
52
|
-
positionEdgeLabel: Te
|
|
53
|
-
}, je = {}, Me = /* @__PURE__ */ e((e) => {
|
|
54
|
-
for (let t of e) je[t.name] = t;
|
|
55
|
-
}, "registerLayoutLoaders");
|
|
56
|
-
(/* @__PURE__ */ e(() => {
|
|
57
|
-
Me([
|
|
58
|
-
{
|
|
59
|
-
name: "dagre",
|
|
60
|
-
loader: /* @__PURE__ */ e(async () => await import("./dagre-VZM6K2ZE-CpL0s3GG.js"), "loader")
|
|
61
|
-
},
|
|
62
|
-
{
|
|
63
|
-
name: "swimlane",
|
|
64
|
-
loader: /* @__PURE__ */ e(async () => await import("./swimlanes-SLNWSIFB-BHIPInzG.js"), "loader")
|
|
65
|
-
},
|
|
66
|
-
{
|
|
67
|
-
name: "cose-bilkent",
|
|
68
|
-
loader: /* @__PURE__ */ e(async () => await import("./cose-bilkent-JH36ORCC-C5FbROLY.js"), "loader")
|
|
69
|
-
}
|
|
70
|
-
]);
|
|
71
|
-
}, "registerDefaultLayoutLoaders"))();
|
|
72
|
-
var Ne = /* @__PURE__ */ e(async (e, t, n) => {
|
|
73
|
-
if (!(e.layoutAlgorithm in je)) throw Error(`Unknown layout algorithm: ${e.layoutAlgorithm}`);
|
|
74
|
-
if (e.diagramId) for (let t of e.nodes) {
|
|
75
|
-
let n = t.domId || t.id;
|
|
76
|
-
t.domId = `${e.diagramId}-${n}`;
|
|
77
|
-
}
|
|
78
|
-
let r = je[e.layoutAlgorithm], i = await r.loader(), { theme: a, themeVariables: o } = e.config, { useGradient: s, gradientStart: c, gradientStop: l } = o, u = t.attr("id");
|
|
79
|
-
if (t.append("defs").append("filter").attr("id", `${u}-drop-shadow`).attr("height", "130%").attr("width", "130%").append("feDropShadow").attr("dx", "4").attr("dy", "4").attr("stdDeviation", 0).attr("flood-opacity", "0.06").attr("flood-color", `${a?.includes("dark") ? "#FFFFFF" : "#000000"}`), t.append("defs").append("filter").attr("id", `${u}-drop-shadow-small`).attr("height", "150%").attr("width", "150%").append("feDropShadow").attr("dx", "2").attr("dy", "2").attr("stdDeviation", 0).attr("flood-opacity", "0.06").attr("flood-color", `${a?.includes("dark") ? "#FFFFFF" : "#000000"}`), s) {
|
|
80
|
-
let e = t.append("linearGradient").attr("id", t.attr("id") + "-gradient").attr("gradientUnits", "objectBoundingBox").attr("x1", "0%").attr("y1", "0%").attr("x2", "100%").attr("y2", "0%");
|
|
81
|
-
e.append("svg:stop").attr("offset", "0%").attr("stop-color", c).attr("stop-opacity", 1), e.append("svg:stop").attr("offset", "100%").attr("stop-color", l).attr("stop-opacity", 1);
|
|
82
|
-
}
|
|
83
|
-
return i.render(e, t, Ae, { algorithm: r.algorithm }, n);
|
|
84
|
-
}, "render"), Pe = /* @__PURE__ */ e((e = "", { fallback: t = "dagre" } = {}) => {
|
|
85
|
-
if (e in je) return e;
|
|
86
|
-
if (t in je) return n.warn(`Layout algorithm ${e} is not registered. Using ${t} as fallback.`), t;
|
|
87
|
-
throw Error(`Both layout algorithms ${e} and ${t} are not registered.`);
|
|
88
|
-
}, "getRegisteredLayoutAlgorithm");
|
|
89
|
-
//#endregion
|
|
90
|
-
//#region ../../node_modules/.pnpm/mermaid@11.16.1/node_modules/mermaid/dist/chunks/mermaid.core/chunk-ZIRB5QZD.mjs
|
|
91
|
-
function Fe(e) {
|
|
92
|
-
return e == null;
|
|
93
|
-
}
|
|
94
|
-
e(Fe, "isNothing");
|
|
95
|
-
function Ie(e) {
|
|
96
|
-
return typeof e == "object" && !!e;
|
|
97
|
-
}
|
|
98
|
-
e(Ie, "isObject");
|
|
99
|
-
function Le(e) {
|
|
100
|
-
return Array.isArray(e) ? e : Fe(e) ? [] : [e];
|
|
101
|
-
}
|
|
102
|
-
e(Le, "toArray");
|
|
103
|
-
function Re(e, t) {
|
|
104
|
-
var n, r, i, a;
|
|
105
|
-
if (t) for (a = Object.keys(t), n = 0, r = a.length; n < r; n += 1) i = a[n], e[i] = t[i];
|
|
106
|
-
return e;
|
|
107
|
-
}
|
|
108
|
-
e(Re, "extend");
|
|
109
|
-
function ze(e, t) {
|
|
110
|
-
var n = "", r;
|
|
111
|
-
for (r = 0; r < t; r += 1) n += e;
|
|
112
|
-
return n;
|
|
113
|
-
}
|
|
114
|
-
e(ze, "repeat");
|
|
115
|
-
function Be(e) {
|
|
116
|
-
return e === 0 && 1 / e == -Infinity;
|
|
117
|
-
}
|
|
118
|
-
e(Be, "isNegativeZero");
|
|
119
|
-
var T = {
|
|
120
|
-
isNothing: Fe,
|
|
121
|
-
isObject: Ie,
|
|
122
|
-
toArray: Le,
|
|
123
|
-
repeat: ze,
|
|
124
|
-
isNegativeZero: Be,
|
|
125
|
-
extend: Re
|
|
126
|
-
};
|
|
127
|
-
function Ve(e, t) {
|
|
128
|
-
var n = "", r = e.reason || "(unknown reason)";
|
|
129
|
-
return e.mark ? (e.mark.name && (n += "in \"" + e.mark.name + "\" "), n += "(" + (e.mark.line + 1) + ":" + (e.mark.column + 1) + ")", !t && e.mark.snippet && (n += "\n\n" + e.mark.snippet), r + " " + n) : r;
|
|
130
|
-
}
|
|
131
|
-
e(Ve, "formatError");
|
|
132
|
-
function E(e, t) {
|
|
133
|
-
Error.call(this), this.name = "YAMLException", this.reason = e, this.mark = t, this.message = Ve(this, !1), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = (/* @__PURE__ */ Error()).stack || "";
|
|
134
|
-
}
|
|
135
|
-
e(E, "YAMLException$1"), E.prototype = Object.create(Error.prototype), E.prototype.constructor = E, E.prototype.toString = /* @__PURE__ */ e(function(e) {
|
|
136
|
-
return this.name + ": " + Ve(this, e);
|
|
137
|
-
}, "toString");
|
|
138
|
-
var D = E;
|
|
139
|
-
function He(e, t, n, r, i) {
|
|
140
|
-
var a = "", o = "", s = Math.floor(i / 2) - 1;
|
|
141
|
-
return r - t > s && (a = " ... ", t = r - s + a.length), n - r > s && (o = " ...", n = r + s - o.length), {
|
|
142
|
-
str: a + e.slice(t, n).replace(/\t/g, "→") + o,
|
|
143
|
-
pos: r - t + a.length
|
|
144
|
-
};
|
|
145
|
-
}
|
|
146
|
-
e(He, "getLine");
|
|
147
|
-
function Ue(e, t) {
|
|
148
|
-
return T.repeat(" ", t - e.length) + e;
|
|
149
|
-
}
|
|
150
|
-
e(Ue, "padStart");
|
|
151
|
-
function We(e, t) {
|
|
152
|
-
if (t = Object.create(t || null), !e.buffer) return null;
|
|
153
|
-
t.maxLength || (t.maxLength = 79), typeof t.indent != "number" && (t.indent = 1), typeof t.linesBefore != "number" && (t.linesBefore = 3), typeof t.linesAfter != "number" && (t.linesAfter = 2);
|
|
154
|
-
for (var n = /\r?\n|\r|\0/g, r = [0], i = [], a, o = -1; a = n.exec(e.buffer);) i.push(a.index), r.push(a.index + a[0].length), e.position <= a.index && o < 0 && (o = r.length - 2);
|
|
155
|
-
o < 0 && (o = r.length - 1);
|
|
156
|
-
var s = "", c, l, u = Math.min(e.line + t.linesAfter, i.length).toString().length, d = t.maxLength - (t.indent + u + 3);
|
|
157
|
-
for (c = 1; c <= t.linesBefore && !(o - c < 0); c++) l = He(e.buffer, r[o - c], i[o - c], e.position - (r[o] - r[o - c]), d), s = T.repeat(" ", t.indent) + Ue((e.line - c + 1).toString(), u) + " | " + l.str + "\n" + s;
|
|
158
|
-
for (l = He(e.buffer, r[o], i[o], e.position, d), s += T.repeat(" ", t.indent) + Ue((e.line + 1).toString(), u) + " | " + l.str + "\n", s += T.repeat("-", t.indent + u + 3 + l.pos) + "^\n", c = 1; c <= t.linesAfter && !(o + c >= i.length); c++) l = He(e.buffer, r[o + c], i[o + c], e.position - (r[o] - r[o + c]), d), s += T.repeat(" ", t.indent) + Ue((e.line + c + 1).toString(), u) + " | " + l.str + "\n";
|
|
159
|
-
return s.replace(/\n$/, "");
|
|
160
|
-
}
|
|
161
|
-
e(We, "makeSnippet");
|
|
162
|
-
var Ge = We, Ke = [
|
|
163
|
-
"kind",
|
|
164
|
-
"multi",
|
|
165
|
-
"resolve",
|
|
166
|
-
"construct",
|
|
167
|
-
"instanceOf",
|
|
168
|
-
"predicate",
|
|
169
|
-
"represent",
|
|
170
|
-
"representName",
|
|
171
|
-
"defaultStyle",
|
|
172
|
-
"styleAliases"
|
|
173
|
-
], qe = [
|
|
174
|
-
"scalar",
|
|
175
|
-
"sequence",
|
|
176
|
-
"mapping"
|
|
177
|
-
];
|
|
178
|
-
function Je(e) {
|
|
179
|
-
var t = {};
|
|
180
|
-
return e !== null && Object.keys(e).forEach(function(n) {
|
|
181
|
-
e[n].forEach(function(e) {
|
|
182
|
-
t[String(e)] = n;
|
|
183
|
-
});
|
|
184
|
-
}), t;
|
|
185
|
-
}
|
|
186
|
-
e(Je, "compileStyleAliases");
|
|
187
|
-
function Ye(e, t) {
|
|
188
|
-
if (t ||= {}, Object.keys(t).forEach(function(t) {
|
|
189
|
-
if (Ke.indexOf(t) === -1) throw new D("Unknown option \"" + t + "\" is met in definition of \"" + e + "\" YAML type.");
|
|
190
|
-
}), this.options = t, this.tag = e, this.kind = t.kind || null, this.resolve = t.resolve || function() {
|
|
191
|
-
return !0;
|
|
192
|
-
}, this.construct = t.construct || function(e) {
|
|
193
|
-
return e;
|
|
194
|
-
}, this.instanceOf = t.instanceOf || null, this.predicate = t.predicate || null, this.represent = t.represent || null, this.representName = t.representName || null, this.defaultStyle = t.defaultStyle || null, this.multi = t.multi || !1, this.styleAliases = Je(t.styleAliases || null), qe.indexOf(this.kind) === -1) throw new D("Unknown kind \"" + this.kind + "\" is specified for \"" + e + "\" YAML type.");
|
|
195
|
-
}
|
|
196
|
-
e(Ye, "Type$1");
|
|
197
|
-
var O = Ye;
|
|
198
|
-
function Xe(e, t) {
|
|
199
|
-
var n = [];
|
|
200
|
-
return e[t].forEach(function(e) {
|
|
201
|
-
var t = n.length;
|
|
202
|
-
n.forEach(function(n, r) {
|
|
203
|
-
n.tag === e.tag && n.kind === e.kind && n.multi === e.multi && (t = r);
|
|
204
|
-
}), n[t] = e;
|
|
205
|
-
}), n;
|
|
206
|
-
}
|
|
207
|
-
e(Xe, "compileList");
|
|
208
|
-
function Ze() {
|
|
209
|
-
var t = {
|
|
210
|
-
scalar: {},
|
|
211
|
-
sequence: {},
|
|
212
|
-
mapping: {},
|
|
213
|
-
fallback: {},
|
|
214
|
-
multi: {
|
|
215
|
-
scalar: [],
|
|
216
|
-
sequence: [],
|
|
217
|
-
mapping: [],
|
|
218
|
-
fallback: []
|
|
219
|
-
}
|
|
220
|
-
}, n, r;
|
|
221
|
-
function i(e) {
|
|
222
|
-
e.multi ? (t.multi[e.kind].push(e), t.multi.fallback.push(e)) : t[e.kind][e.tag] = t.fallback[e.tag] = e;
|
|
223
|
-
}
|
|
224
|
-
for (e(i, "collectType"), n = 0, r = arguments.length; n < r; n += 1) arguments[n].forEach(i);
|
|
225
|
-
return t;
|
|
226
|
-
}
|
|
227
|
-
e(Ze, "compileMap");
|
|
228
|
-
function Qe(e) {
|
|
229
|
-
return this.extend(e);
|
|
230
|
-
}
|
|
231
|
-
e(Qe, "Schema$1"), Qe.prototype.extend = /* @__PURE__ */ e(function(e) {
|
|
232
|
-
var t = [], n = [];
|
|
233
|
-
if (e instanceof O) n.push(e);
|
|
234
|
-
else if (Array.isArray(e)) n = n.concat(e);
|
|
235
|
-
else if (e && (Array.isArray(e.implicit) || Array.isArray(e.explicit))) e.implicit && (t = t.concat(e.implicit)), e.explicit && (n = n.concat(e.explicit));
|
|
236
|
-
else throw new D("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");
|
|
237
|
-
t.forEach(function(e) {
|
|
238
|
-
if (!(e instanceof O)) throw new D("Specified list of YAML types (or a single Type object) contains a non-Type object.");
|
|
239
|
-
if (e.loadKind && e.loadKind !== "scalar") throw new D("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");
|
|
240
|
-
if (e.multi) throw new D("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.");
|
|
241
|
-
}), n.forEach(function(e) {
|
|
242
|
-
if (!(e instanceof O)) throw new D("Specified list of YAML types (or a single Type object) contains a non-Type object.");
|
|
243
|
-
});
|
|
244
|
-
var r = Object.create(Qe.prototype);
|
|
245
|
-
return r.implicit = (this.implicit || []).concat(t), r.explicit = (this.explicit || []).concat(n), r.compiledImplicit = Xe(r, "implicit"), r.compiledExplicit = Xe(r, "explicit"), r.compiledTypeMap = Ze(r.compiledImplicit, r.compiledExplicit), r;
|
|
246
|
-
}, "extend");
|
|
247
|
-
var $e = new Qe({ explicit: [
|
|
248
|
-
new O("tag:yaml.org,2002:str", {
|
|
249
|
-
kind: "scalar",
|
|
250
|
-
construct: /* @__PURE__ */ e(function(e) {
|
|
251
|
-
return e === null ? "" : e;
|
|
252
|
-
}, "construct")
|
|
253
|
-
}),
|
|
254
|
-
new O("tag:yaml.org,2002:seq", {
|
|
255
|
-
kind: "sequence",
|
|
256
|
-
construct: /* @__PURE__ */ e(function(e) {
|
|
257
|
-
return e === null ? [] : e;
|
|
258
|
-
}, "construct")
|
|
259
|
-
}),
|
|
260
|
-
new O("tag:yaml.org,2002:map", {
|
|
261
|
-
kind: "mapping",
|
|
262
|
-
construct: /* @__PURE__ */ e(function(e) {
|
|
263
|
-
return e === null ? {} : e;
|
|
264
|
-
}, "construct")
|
|
265
|
-
})
|
|
266
|
-
] });
|
|
267
|
-
function et(e) {
|
|
268
|
-
if (e === null) return !0;
|
|
269
|
-
var t = e.length;
|
|
270
|
-
return t === 1 && e === "~" || t === 4 && (e === "null" || e === "Null" || e === "NULL");
|
|
271
|
-
}
|
|
272
|
-
e(et, "resolveYamlNull");
|
|
273
|
-
function tt() {
|
|
274
|
-
return null;
|
|
275
|
-
}
|
|
276
|
-
e(tt, "constructYamlNull");
|
|
277
|
-
function nt(e) {
|
|
278
|
-
return e === null;
|
|
279
|
-
}
|
|
280
|
-
e(nt, "isNull");
|
|
281
|
-
var rt = new O("tag:yaml.org,2002:null", {
|
|
282
|
-
kind: "scalar",
|
|
283
|
-
resolve: et,
|
|
284
|
-
construct: tt,
|
|
285
|
-
predicate: nt,
|
|
286
|
-
represent: {
|
|
287
|
-
canonical: /* @__PURE__ */ e(function() {
|
|
288
|
-
return "~";
|
|
289
|
-
}, "canonical"),
|
|
290
|
-
lowercase: /* @__PURE__ */ e(function() {
|
|
291
|
-
return "null";
|
|
292
|
-
}, "lowercase"),
|
|
293
|
-
uppercase: /* @__PURE__ */ e(function() {
|
|
294
|
-
return "NULL";
|
|
295
|
-
}, "uppercase"),
|
|
296
|
-
camelcase: /* @__PURE__ */ e(function() {
|
|
297
|
-
return "Null";
|
|
298
|
-
}, "camelcase"),
|
|
299
|
-
empty: /* @__PURE__ */ e(function() {
|
|
300
|
-
return "";
|
|
301
|
-
}, "empty")
|
|
302
|
-
},
|
|
303
|
-
defaultStyle: "lowercase"
|
|
304
|
-
});
|
|
305
|
-
function it(e) {
|
|
306
|
-
if (e === null) return !1;
|
|
307
|
-
var t = e.length;
|
|
308
|
-
return t === 4 && (e === "true" || e === "True" || e === "TRUE") || t === 5 && (e === "false" || e === "False" || e === "FALSE");
|
|
309
|
-
}
|
|
310
|
-
e(it, "resolveYamlBoolean");
|
|
311
|
-
function at(e) {
|
|
312
|
-
return e === "true" || e === "True" || e === "TRUE";
|
|
313
|
-
}
|
|
314
|
-
e(at, "constructYamlBoolean");
|
|
315
|
-
function ot(e) {
|
|
316
|
-
return Object.prototype.toString.call(e) === "[object Boolean]";
|
|
317
|
-
}
|
|
318
|
-
e(ot, "isBoolean");
|
|
319
|
-
var st = new O("tag:yaml.org,2002:bool", {
|
|
320
|
-
kind: "scalar",
|
|
321
|
-
resolve: it,
|
|
322
|
-
construct: at,
|
|
323
|
-
predicate: ot,
|
|
324
|
-
represent: {
|
|
325
|
-
lowercase: /* @__PURE__ */ e(function(e) {
|
|
326
|
-
return e ? "true" : "false";
|
|
327
|
-
}, "lowercase"),
|
|
328
|
-
uppercase: /* @__PURE__ */ e(function(e) {
|
|
329
|
-
return e ? "TRUE" : "FALSE";
|
|
330
|
-
}, "uppercase"),
|
|
331
|
-
camelcase: /* @__PURE__ */ e(function(e) {
|
|
332
|
-
return e ? "True" : "False";
|
|
333
|
-
}, "camelcase")
|
|
334
|
-
},
|
|
335
|
-
defaultStyle: "lowercase"
|
|
336
|
-
});
|
|
337
|
-
function ct(e) {
|
|
338
|
-
return 48 <= e && e <= 57 || 65 <= e && e <= 70 || 97 <= e && e <= 102;
|
|
339
|
-
}
|
|
340
|
-
e(ct, "isHexCode");
|
|
341
|
-
function lt(e) {
|
|
342
|
-
return 48 <= e && e <= 55;
|
|
343
|
-
}
|
|
344
|
-
e(lt, "isOctCode");
|
|
345
|
-
function ut(e) {
|
|
346
|
-
return 48 <= e && e <= 57;
|
|
347
|
-
}
|
|
348
|
-
e(ut, "isDecCode");
|
|
349
|
-
function dt(e) {
|
|
350
|
-
if (e === null) return !1;
|
|
351
|
-
var t = e.length, n = 0, r = !1, i;
|
|
352
|
-
if (!t) return !1;
|
|
353
|
-
if (i = e[n], (i === "-" || i === "+") && (i = e[++n]), i === "0") {
|
|
354
|
-
if (n + 1 === t) return !0;
|
|
355
|
-
if (i = e[++n], i === "b") {
|
|
356
|
-
for (n++; n < t; n++) if (i = e[n], i !== "_") {
|
|
357
|
-
if (i !== "0" && i !== "1") return !1;
|
|
358
|
-
r = !0;
|
|
359
|
-
}
|
|
360
|
-
return r && i !== "_";
|
|
361
|
-
}
|
|
362
|
-
if (i === "x") {
|
|
363
|
-
for (n++; n < t; n++) if (i = e[n], i !== "_") {
|
|
364
|
-
if (!ct(e.charCodeAt(n))) return !1;
|
|
365
|
-
r = !0;
|
|
366
|
-
}
|
|
367
|
-
return r && i !== "_";
|
|
368
|
-
}
|
|
369
|
-
if (i === "o") {
|
|
370
|
-
for (n++; n < t; n++) if (i = e[n], i !== "_") {
|
|
371
|
-
if (!lt(e.charCodeAt(n))) return !1;
|
|
372
|
-
r = !0;
|
|
373
|
-
}
|
|
374
|
-
return r && i !== "_";
|
|
375
|
-
}
|
|
376
|
-
}
|
|
377
|
-
if (i === "_") return !1;
|
|
378
|
-
for (; n < t; n++) if (i = e[n], i !== "_") {
|
|
379
|
-
if (!ut(e.charCodeAt(n))) return !1;
|
|
380
|
-
r = !0;
|
|
381
|
-
}
|
|
382
|
-
return !(!r || i === "_");
|
|
383
|
-
}
|
|
384
|
-
e(dt, "resolveYamlInteger");
|
|
385
|
-
function ft(e) {
|
|
386
|
-
var t = e, n = 1, r;
|
|
387
|
-
if (t.indexOf("_") !== -1 && (t = t.replace(/_/g, "")), r = t[0], (r === "-" || r === "+") && (r === "-" && (n = -1), t = t.slice(1), r = t[0]), t === "0") return 0;
|
|
388
|
-
if (r === "0") {
|
|
389
|
-
if (t[1] === "b") return n * parseInt(t.slice(2), 2);
|
|
390
|
-
if (t[1] === "x") return n * parseInt(t.slice(2), 16);
|
|
391
|
-
if (t[1] === "o") return n * parseInt(t.slice(2), 8);
|
|
392
|
-
}
|
|
393
|
-
return n * parseInt(t, 10);
|
|
394
|
-
}
|
|
395
|
-
e(ft, "constructYamlInteger");
|
|
396
|
-
function pt(e) {
|
|
397
|
-
return Object.prototype.toString.call(e) === "[object Number]" && e % 1 == 0 && !T.isNegativeZero(e);
|
|
398
|
-
}
|
|
399
|
-
e(pt, "isInteger");
|
|
400
|
-
var mt = new O("tag:yaml.org,2002:int", {
|
|
401
|
-
kind: "scalar",
|
|
402
|
-
resolve: dt,
|
|
403
|
-
construct: ft,
|
|
404
|
-
predicate: pt,
|
|
405
|
-
represent: {
|
|
406
|
-
binary: /* @__PURE__ */ e(function(e) {
|
|
407
|
-
return e >= 0 ? "0b" + e.toString(2) : "-0b" + e.toString(2).slice(1);
|
|
408
|
-
}, "binary"),
|
|
409
|
-
octal: /* @__PURE__ */ e(function(e) {
|
|
410
|
-
return e >= 0 ? "0o" + e.toString(8) : "-0o" + e.toString(8).slice(1);
|
|
411
|
-
}, "octal"),
|
|
412
|
-
decimal: /* @__PURE__ */ e(function(e) {
|
|
413
|
-
return e.toString(10);
|
|
414
|
-
}, "decimal"),
|
|
415
|
-
hexadecimal: /* @__PURE__ */ e(function(e) {
|
|
416
|
-
return e >= 0 ? "0x" + e.toString(16).toUpperCase() : "-0x" + e.toString(16).toUpperCase().slice(1);
|
|
417
|
-
}, "hexadecimal")
|
|
418
|
-
},
|
|
419
|
-
defaultStyle: "decimal",
|
|
420
|
-
styleAliases: {
|
|
421
|
-
binary: [2, "bin"],
|
|
422
|
-
octal: [8, "oct"],
|
|
423
|
-
decimal: [10, "dec"],
|
|
424
|
-
hexadecimal: [16, "hex"]
|
|
425
|
-
}
|
|
426
|
-
}), ht = /* @__PURE__ */ RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");
|
|
427
|
-
function gt(e) {
|
|
428
|
-
return !(e === null || !ht.test(e) || e[e.length - 1] === "_");
|
|
429
|
-
}
|
|
430
|
-
e(gt, "resolveYamlFloat");
|
|
431
|
-
function _t(e) {
|
|
432
|
-
var t = e.replace(/_/g, "").toLowerCase(), n = t[0] === "-" ? -1 : 1;
|
|
433
|
-
return "+-".indexOf(t[0]) >= 0 && (t = t.slice(1)), t === ".inf" ? n === 1 ? Infinity : -Infinity : t === ".nan" ? NaN : n * parseFloat(t, 10);
|
|
434
|
-
}
|
|
435
|
-
e(_t, "constructYamlFloat");
|
|
436
|
-
var vt = /^[-+]?[0-9]+e/;
|
|
437
|
-
function yt(e, t) {
|
|
438
|
-
var n;
|
|
439
|
-
if (isNaN(e)) switch (t) {
|
|
440
|
-
case "lowercase": return ".nan";
|
|
441
|
-
case "uppercase": return ".NAN";
|
|
442
|
-
case "camelcase": return ".NaN";
|
|
443
|
-
}
|
|
444
|
-
else if (e === Infinity) switch (t) {
|
|
445
|
-
case "lowercase": return ".inf";
|
|
446
|
-
case "uppercase": return ".INF";
|
|
447
|
-
case "camelcase": return ".Inf";
|
|
448
|
-
}
|
|
449
|
-
else if (e === -Infinity) switch (t) {
|
|
450
|
-
case "lowercase": return "-.inf";
|
|
451
|
-
case "uppercase": return "-.INF";
|
|
452
|
-
case "camelcase": return "-.Inf";
|
|
453
|
-
}
|
|
454
|
-
else if (T.isNegativeZero(e)) return "-0.0";
|
|
455
|
-
return n = e.toString(10), vt.test(n) ? n.replace("e", ".e") : n;
|
|
456
|
-
}
|
|
457
|
-
e(yt, "representYamlFloat");
|
|
458
|
-
function bt(e) {
|
|
459
|
-
return Object.prototype.toString.call(e) === "[object Number]" && (e % 1 != 0 || T.isNegativeZero(e));
|
|
460
|
-
}
|
|
461
|
-
e(bt, "isFloat");
|
|
462
|
-
var xt = new O("tag:yaml.org,2002:float", {
|
|
463
|
-
kind: "scalar",
|
|
464
|
-
resolve: gt,
|
|
465
|
-
construct: _t,
|
|
466
|
-
predicate: bt,
|
|
467
|
-
represent: yt,
|
|
468
|
-
defaultStyle: "lowercase"
|
|
469
|
-
}), St = $e.extend({ implicit: [
|
|
470
|
-
rt,
|
|
471
|
-
st,
|
|
472
|
-
mt,
|
|
473
|
-
xt
|
|
474
|
-
] }), Ct = St, wt = /* @__PURE__ */ RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"), Tt = /* @__PURE__ */ RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");
|
|
475
|
-
function Et(e) {
|
|
476
|
-
return e === null ? !1 : wt.exec(e) !== null || Tt.exec(e) !== null;
|
|
477
|
-
}
|
|
478
|
-
e(Et, "resolveYamlTimestamp");
|
|
479
|
-
function Dt(e) {
|
|
480
|
-
var t, n, r, i, a, o, s, c = 0, l = null, u, d, f;
|
|
481
|
-
if (t = wt.exec(e), t === null && (t = Tt.exec(e)), t === null) throw Error("Date resolve error");
|
|
482
|
-
if (n = +t[1], r = t[2] - 1, i = +t[3], !t[4]) return new Date(Date.UTC(n, r, i));
|
|
483
|
-
if (a = +t[4], o = +t[5], s = +t[6], t[7]) {
|
|
484
|
-
for (c = t[7].slice(0, 3); c.length < 3;) c += "0";
|
|
485
|
-
c = +c;
|
|
486
|
-
}
|
|
487
|
-
return t[9] && (u = +t[10], d = +(t[11] || 0), l = (u * 60 + d) * 6e4, t[9] === "-" && (l = -l)), f = new Date(Date.UTC(n, r, i, a, o, s, c)), l && f.setTime(f.getTime() - l), f;
|
|
488
|
-
}
|
|
489
|
-
e(Dt, "constructYamlTimestamp");
|
|
490
|
-
function Ot(e) {
|
|
491
|
-
return e.toISOString();
|
|
492
|
-
}
|
|
493
|
-
e(Ot, "representYamlTimestamp");
|
|
494
|
-
var kt = new O("tag:yaml.org,2002:timestamp", {
|
|
495
|
-
kind: "scalar",
|
|
496
|
-
resolve: Et,
|
|
497
|
-
construct: Dt,
|
|
498
|
-
instanceOf: Date,
|
|
499
|
-
represent: Ot
|
|
500
|
-
});
|
|
501
|
-
function At(e) {
|
|
502
|
-
return e === "<<" || e === null;
|
|
503
|
-
}
|
|
504
|
-
e(At, "resolveYamlMerge");
|
|
505
|
-
var jt = new O("tag:yaml.org,2002:merge", {
|
|
506
|
-
kind: "scalar",
|
|
507
|
-
resolve: At
|
|
508
|
-
}), Mt = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r";
|
|
509
|
-
function Nt(e) {
|
|
510
|
-
if (e === null) return !1;
|
|
511
|
-
var t, n, r = 0, i = e.length, a = Mt;
|
|
512
|
-
for (n = 0; n < i; n++) if (t = a.indexOf(e.charAt(n)), !(t > 64)) {
|
|
513
|
-
if (t < 0) return !1;
|
|
514
|
-
r += 6;
|
|
515
|
-
}
|
|
516
|
-
return r % 8 == 0;
|
|
517
|
-
}
|
|
518
|
-
e(Nt, "resolveYamlBinary");
|
|
519
|
-
function Pt(e) {
|
|
520
|
-
var t, n, r = e.replace(/[\r\n=]/g, ""), i = r.length, a = Mt, o = 0, s = [];
|
|
521
|
-
for (t = 0; t < i; t++) t % 4 == 0 && t && (s.push(o >> 16 & 255), s.push(o >> 8 & 255), s.push(o & 255)), o = o << 6 | a.indexOf(r.charAt(t));
|
|
522
|
-
return n = i % 4 * 6, n === 0 ? (s.push(o >> 16 & 255), s.push(o >> 8 & 255), s.push(o & 255)) : n === 18 ? (s.push(o >> 10 & 255), s.push(o >> 2 & 255)) : n === 12 && s.push(o >> 4 & 255), new Uint8Array(s);
|
|
523
|
-
}
|
|
524
|
-
e(Pt, "constructYamlBinary");
|
|
525
|
-
function Ft(e) {
|
|
526
|
-
var t = "", n = 0, r, i, a = e.length, o = Mt;
|
|
527
|
-
for (r = 0; r < a; r++) r % 3 == 0 && r && (t += o[n >> 18 & 63], t += o[n >> 12 & 63], t += o[n >> 6 & 63], t += o[n & 63]), n = (n << 8) + e[r];
|
|
528
|
-
return i = a % 3, i === 0 ? (t += o[n >> 18 & 63], t += o[n >> 12 & 63], t += o[n >> 6 & 63], t += o[n & 63]) : i === 2 ? (t += o[n >> 10 & 63], t += o[n >> 4 & 63], t += o[n << 2 & 63], t += o[64]) : i === 1 && (t += o[n >> 2 & 63], t += o[n << 4 & 63], t += o[64], t += o[64]), t;
|
|
529
|
-
}
|
|
530
|
-
e(Ft, "representYamlBinary");
|
|
531
|
-
function It(e) {
|
|
532
|
-
return Object.prototype.toString.call(e) === "[object Uint8Array]";
|
|
533
|
-
}
|
|
534
|
-
e(It, "isBinary");
|
|
535
|
-
var Lt = new O("tag:yaml.org,2002:binary", {
|
|
536
|
-
kind: "scalar",
|
|
537
|
-
resolve: Nt,
|
|
538
|
-
construct: Pt,
|
|
539
|
-
predicate: It,
|
|
540
|
-
represent: Ft
|
|
541
|
-
}), Rt = Object.prototype.hasOwnProperty, zt = Object.prototype.toString;
|
|
542
|
-
function Bt(e) {
|
|
543
|
-
if (e === null) return !0;
|
|
544
|
-
var t = [], n, r, i, a, o, s = e;
|
|
545
|
-
for (n = 0, r = s.length; n < r; n += 1) {
|
|
546
|
-
if (i = s[n], o = !1, zt.call(i) !== "[object Object]") return !1;
|
|
547
|
-
for (a in i) if (Rt.call(i, a)) {
|
|
548
|
-
if (!o) o = !0;
|
|
549
|
-
else return !1;
|
|
550
|
-
}
|
|
551
|
-
if (!o) return !1;
|
|
552
|
-
if (t.indexOf(a) === -1) t.push(a);
|
|
553
|
-
else return !1;
|
|
554
|
-
}
|
|
555
|
-
return !0;
|
|
556
|
-
}
|
|
557
|
-
e(Bt, "resolveYamlOmap");
|
|
558
|
-
function Vt(e) {
|
|
559
|
-
return e === null ? [] : e;
|
|
560
|
-
}
|
|
561
|
-
e(Vt, "constructYamlOmap");
|
|
562
|
-
var Ht = new O("tag:yaml.org,2002:omap", {
|
|
563
|
-
kind: "sequence",
|
|
564
|
-
resolve: Bt,
|
|
565
|
-
construct: Vt
|
|
566
|
-
}), Ut = Object.prototype.toString;
|
|
567
|
-
function Wt(e) {
|
|
568
|
-
if (e === null) return !0;
|
|
569
|
-
var t, n, r, i, a, o = e;
|
|
570
|
-
for (a = Array(o.length), t = 0, n = o.length; t < n; t += 1) {
|
|
571
|
-
if (r = o[t], Ut.call(r) !== "[object Object]" || (i = Object.keys(r), i.length !== 1)) return !1;
|
|
572
|
-
a[t] = [i[0], r[i[0]]];
|
|
573
|
-
}
|
|
574
|
-
return !0;
|
|
575
|
-
}
|
|
576
|
-
e(Wt, "resolveYamlPairs");
|
|
577
|
-
function Gt(e) {
|
|
578
|
-
if (e === null) return [];
|
|
579
|
-
var t, n, r, i, a, o = e;
|
|
580
|
-
for (a = Array(o.length), t = 0, n = o.length; t < n; t += 1) r = o[t], i = Object.keys(r), a[t] = [i[0], r[i[0]]];
|
|
581
|
-
return a;
|
|
582
|
-
}
|
|
583
|
-
e(Gt, "constructYamlPairs");
|
|
584
|
-
var Kt = new O("tag:yaml.org,2002:pairs", {
|
|
585
|
-
kind: "sequence",
|
|
586
|
-
resolve: Wt,
|
|
587
|
-
construct: Gt
|
|
588
|
-
}), qt = Object.prototype.hasOwnProperty;
|
|
589
|
-
function Jt(e) {
|
|
590
|
-
if (e === null) return !0;
|
|
591
|
-
var t, n = e;
|
|
592
|
-
for (t in n) if (qt.call(n, t) && n[t] !== null) return !1;
|
|
593
|
-
return !0;
|
|
594
|
-
}
|
|
595
|
-
e(Jt, "resolveYamlSet");
|
|
596
|
-
function Yt(e) {
|
|
597
|
-
return e === null ? {} : e;
|
|
598
|
-
}
|
|
599
|
-
e(Yt, "constructYamlSet");
|
|
600
|
-
var Xt = new O("tag:yaml.org,2002:set", {
|
|
601
|
-
kind: "mapping",
|
|
602
|
-
resolve: Jt,
|
|
603
|
-
construct: Yt
|
|
604
|
-
}), Zt = Ct.extend({
|
|
605
|
-
implicit: [kt, jt],
|
|
606
|
-
explicit: [
|
|
607
|
-
Lt,
|
|
608
|
-
Ht,
|
|
609
|
-
Kt,
|
|
610
|
-
Xt
|
|
611
|
-
]
|
|
612
|
-
}), k = Object.prototype.hasOwnProperty, Qt = 1, $t = 2, en = 3, tn = 4, nn = 1, rn = 2, an = 3, on = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, sn = /[\x85\u2028\u2029]/, cn = /[,\[\]\{\}]/, ln = /^(?:!|!!|![a-z\-]+!)$/i, un = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
|
|
613
|
-
function dn(e) {
|
|
614
|
-
return Object.prototype.toString.call(e);
|
|
615
|
-
}
|
|
616
|
-
e(dn, "_class");
|
|
617
|
-
function A(e) {
|
|
618
|
-
return e === 10 || e === 13;
|
|
619
|
-
}
|
|
620
|
-
e(A, "is_EOL");
|
|
621
|
-
function j(e) {
|
|
622
|
-
return e === 9 || e === 32;
|
|
623
|
-
}
|
|
624
|
-
e(j, "is_WHITE_SPACE");
|
|
625
|
-
function M(e) {
|
|
626
|
-
return e === 9 || e === 32 || e === 10 || e === 13;
|
|
627
|
-
}
|
|
628
|
-
e(M, "is_WS_OR_EOL");
|
|
629
|
-
function N(e) {
|
|
630
|
-
return e === 44 || e === 91 || e === 93 || e === 123 || e === 125;
|
|
631
|
-
}
|
|
632
|
-
e(N, "is_FLOW_INDICATOR");
|
|
633
|
-
function fn(e) {
|
|
634
|
-
var t;
|
|
635
|
-
return 48 <= e && e <= 57 ? e - 48 : (t = e | 32, 97 <= t && t <= 102 ? t - 97 + 10 : -1);
|
|
636
|
-
}
|
|
637
|
-
e(fn, "fromHexCode");
|
|
638
|
-
function pn(e) {
|
|
639
|
-
return e === 120 ? 2 : e === 117 ? 4 : e === 85 ? 8 : 0;
|
|
640
|
-
}
|
|
641
|
-
e(pn, "escapedHexLen");
|
|
642
|
-
function mn(e) {
|
|
643
|
-
return 48 <= e && e <= 57 ? e - 48 : -1;
|
|
644
|
-
}
|
|
645
|
-
e(mn, "fromDecimalCode");
|
|
646
|
-
function hn(e) {
|
|
647
|
-
return e === 48 ? "\0" : e === 97 ? "\x07" : e === 98 ? "\b" : e === 116 || e === 9 ? " " : e === 110 ? "\n" : e === 118 ? "\v" : e === 102 ? "\f" : e === 114 ? "\r" : e === 101 ? "\x1B" : e === 32 ? " " : e === 34 ? "\"" : e === 47 ? "/" : e === 92 ? "\\" : e === 78 ? "
" : e === 95 ? "\xA0" : e === 76 ? "\u2028" : e === 80 ? "\u2029" : "";
|
|
648
|
-
}
|
|
649
|
-
e(hn, "simpleEscapeSequence");
|
|
650
|
-
function gn(e) {
|
|
651
|
-
return e <= 65535 ? String.fromCharCode(e) : String.fromCharCode((e - 65536 >> 10) + 55296, (e - 65536 & 1023) + 56320);
|
|
652
|
-
}
|
|
653
|
-
e(gn, "charFromCodepoint");
|
|
654
|
-
function _n(e, t, n) {
|
|
655
|
-
t === "__proto__" ? Object.defineProperty(e, t, {
|
|
656
|
-
configurable: !0,
|
|
657
|
-
enumerable: !0,
|
|
658
|
-
writable: !0,
|
|
659
|
-
value: n
|
|
660
|
-
}) : e[t] = n;
|
|
661
|
-
}
|
|
662
|
-
e(_n, "setProperty");
|
|
663
|
-
var vn = Array(256), yn = Array(256);
|
|
664
|
-
for (P = 0; P < 256; P++) vn[P] = +!!hn(P), yn[P] = hn(P);
|
|
665
|
-
var P;
|
|
666
|
-
function bn(e, t) {
|
|
667
|
-
this.input = e, this.filename = t.filename || null, this.schema = t.schema || Zt, this.onWarning = t.onWarning || null, this.legacy = t.legacy || !1, this.json = t.json || !1, this.listener = t.listener || null, this.implicitTypes = this.schema.compiledImplicit, this.typeMap = this.schema.compiledTypeMap, this.length = e.length, this.position = 0, this.line = 0, this.lineStart = 0, this.lineIndent = 0, this.firstTabInLine = -1, this.documents = [];
|
|
668
|
-
}
|
|
669
|
-
e(bn, "State$1");
|
|
670
|
-
function xn(e, t) {
|
|
671
|
-
var n = {
|
|
672
|
-
name: e.filename,
|
|
673
|
-
buffer: e.input.slice(0, -1),
|
|
674
|
-
position: e.position,
|
|
675
|
-
line: e.line,
|
|
676
|
-
column: e.position - e.lineStart
|
|
677
|
-
};
|
|
678
|
-
return n.snippet = Ge(n), new D(t, n);
|
|
679
|
-
}
|
|
680
|
-
e(xn, "generateError");
|
|
681
|
-
function F(e, t) {
|
|
682
|
-
throw xn(e, t);
|
|
683
|
-
}
|
|
684
|
-
e(F, "throwError");
|
|
685
|
-
function Sn(e, t) {
|
|
686
|
-
e.onWarning && e.onWarning.call(null, xn(e, t));
|
|
687
|
-
}
|
|
688
|
-
e(Sn, "throwWarning");
|
|
689
|
-
var Cn = {
|
|
690
|
-
YAML: /* @__PURE__ */ e(function(e, t, n) {
|
|
691
|
-
var r, i, a;
|
|
692
|
-
e.version !== null && F(e, "duplication of %YAML directive"), n.length !== 1 && F(e, "YAML directive accepts exactly one argument"), r = /^([0-9]+)\.([0-9]+)$/.exec(n[0]), r === null && F(e, "ill-formed argument of the YAML directive"), i = parseInt(r[1], 10), a = parseInt(r[2], 10), i !== 1 && F(e, "unacceptable YAML version of the document"), e.version = n[0], e.checkLineBreaks = a < 2, a !== 1 && a !== 2 && Sn(e, "unsupported YAML version of the document");
|
|
693
|
-
}, "handleYamlDirective"),
|
|
694
|
-
TAG: /* @__PURE__ */ e(function(e, t, n) {
|
|
695
|
-
var r, i;
|
|
696
|
-
n.length !== 2 && F(e, "TAG directive accepts exactly two arguments"), r = n[0], i = n[1], ln.test(r) || F(e, "ill-formed tag handle (first argument) of the TAG directive"), k.call(e.tagMap, r) && F(e, "there is a previously declared suffix for \"" + r + "\" tag handle"), un.test(i) || F(e, "ill-formed tag prefix (second argument) of the TAG directive");
|
|
697
|
-
try {
|
|
698
|
-
i = decodeURIComponent(i);
|
|
699
|
-
} catch {
|
|
700
|
-
F(e, "tag prefix is malformed: " + i);
|
|
701
|
-
}
|
|
702
|
-
e.tagMap[r] = i;
|
|
703
|
-
}, "handleTagDirective")
|
|
704
|
-
};
|
|
705
|
-
function I(e, t, n, r) {
|
|
706
|
-
var i, a, o, s;
|
|
707
|
-
if (t < n) {
|
|
708
|
-
if (s = e.input.slice(t, n), r) for (i = 0, a = s.length; i < a; i += 1) o = s.charCodeAt(i), o === 9 || 32 <= o && o <= 1114111 || F(e, "expected valid JSON character");
|
|
709
|
-
else on.test(s) && F(e, "the stream contains non-printable characters");
|
|
710
|
-
e.result += s;
|
|
711
|
-
}
|
|
712
|
-
}
|
|
713
|
-
e(I, "captureSegment");
|
|
714
|
-
function wn(e, t, n, r) {
|
|
715
|
-
var i, a, o, s;
|
|
716
|
-
for (T.isObject(n) || F(e, "cannot merge mappings; the provided source object is unacceptable"), i = Object.keys(n), o = 0, s = i.length; o < s; o += 1) a = i[o], k.call(t, a) || (_n(t, a, n[a]), r[a] = !0);
|
|
717
|
-
}
|
|
718
|
-
e(wn, "mergeMappings");
|
|
719
|
-
function L(e, t, n, r, i, a, o, s, c) {
|
|
720
|
-
var l, u;
|
|
721
|
-
if (Array.isArray(i)) for (i = Array.prototype.slice.call(i), l = 0, u = i.length; l < u; l += 1) Array.isArray(i[l]) && F(e, "nested arrays are not supported inside keys"), typeof i == "object" && dn(i[l]) === "[object Object]" && (i[l] = "[object Object]");
|
|
722
|
-
if (typeof i == "object" && dn(i) === "[object Object]" && (i = "[object Object]"), i = String(i), t === null && (t = {}), r === "tag:yaml.org,2002:merge") {
|
|
723
|
-
if (Array.isArray(a)) for (l = 0, u = a.length; l < u; l += 1) wn(e, t, a[l], n);
|
|
724
|
-
else wn(e, t, a, n);
|
|
725
|
-
} else !e.json && !k.call(n, i) && k.call(t, i) && (e.line = o || e.line, e.lineStart = s || e.lineStart, e.position = c || e.position, F(e, "duplicated mapping key")), _n(t, i, a), delete n[i];
|
|
726
|
-
return t;
|
|
727
|
-
}
|
|
728
|
-
e(L, "storeMappingPair");
|
|
729
|
-
function Tn(e) {
|
|
730
|
-
var t = e.input.charCodeAt(e.position);
|
|
731
|
-
t === 10 ? e.position++ : t === 13 ? (e.position++, e.input.charCodeAt(e.position) === 10 && e.position++) : F(e, "a line break is expected"), e.line += 1, e.lineStart = e.position, e.firstTabInLine = -1;
|
|
732
|
-
}
|
|
733
|
-
e(Tn, "readLineBreak");
|
|
734
|
-
function R(e, t, n) {
|
|
735
|
-
for (var r = 0, i = e.input.charCodeAt(e.position); i !== 0;) {
|
|
736
|
-
for (; j(i);) i === 9 && e.firstTabInLine === -1 && (e.firstTabInLine = e.position), i = e.input.charCodeAt(++e.position);
|
|
737
|
-
if (t && i === 35) do
|
|
738
|
-
i = e.input.charCodeAt(++e.position);
|
|
739
|
-
while (i !== 10 && i !== 13 && i !== 0);
|
|
740
|
-
if (A(i)) for (Tn(e), i = e.input.charCodeAt(e.position), r++, e.lineIndent = 0; i === 32;) e.lineIndent++, i = e.input.charCodeAt(++e.position);
|
|
741
|
-
else break;
|
|
742
|
-
}
|
|
743
|
-
return n !== -1 && r !== 0 && e.lineIndent < n && Sn(e, "deficient indentation"), r;
|
|
744
|
-
}
|
|
745
|
-
e(R, "skipSeparationSpace");
|
|
746
|
-
function En(e) {
|
|
747
|
-
var t = e.position, n = e.input.charCodeAt(t);
|
|
748
|
-
return !!((n === 45 || n === 46) && n === e.input.charCodeAt(t + 1) && n === e.input.charCodeAt(t + 2) && (t += 3, n = e.input.charCodeAt(t), n === 0 || M(n)));
|
|
749
|
-
}
|
|
750
|
-
e(En, "testDocumentSeparator");
|
|
751
|
-
function Dn(e, t) {
|
|
752
|
-
t === 1 ? e.result += " " : t > 1 && (e.result += T.repeat("\n", t - 1));
|
|
753
|
-
}
|
|
754
|
-
e(Dn, "writeFoldedLines");
|
|
755
|
-
function On(e, t, n) {
|
|
756
|
-
var r, i, a, o, s, c, l, u, d = e.kind, f = e.result, p = e.input.charCodeAt(e.position);
|
|
757
|
-
if (M(p) || N(p) || p === 35 || p === 38 || p === 42 || p === 33 || p === 124 || p === 62 || p === 39 || p === 34 || p === 37 || p === 64 || p === 96 || (p === 63 || p === 45) && (i = e.input.charCodeAt(e.position + 1), M(i) || n && N(i))) return !1;
|
|
758
|
-
for (e.kind = "scalar", e.result = "", a = o = e.position, s = !1; p !== 0;) {
|
|
759
|
-
if (p === 58) {
|
|
760
|
-
if (i = e.input.charCodeAt(e.position + 1), M(i) || n && N(i)) break;
|
|
761
|
-
} else if (p === 35) {
|
|
762
|
-
if (r = e.input.charCodeAt(e.position - 1), M(r)) break;
|
|
763
|
-
} else if (e.position === e.lineStart && En(e) || n && N(p)) break;
|
|
764
|
-
else if (A(p)) {
|
|
765
|
-
if (c = e.line, l = e.lineStart, u = e.lineIndent, R(e, !1, -1), e.lineIndent >= t) {
|
|
766
|
-
s = !0, p = e.input.charCodeAt(e.position);
|
|
767
|
-
continue;
|
|
768
|
-
}
|
|
769
|
-
e.position = o, e.line = c, e.lineStart = l, e.lineIndent = u;
|
|
770
|
-
break;
|
|
771
|
-
}
|
|
772
|
-
s &&= (I(e, a, o, !1), Dn(e, e.line - c), a = o = e.position, !1), j(p) || (o = e.position + 1), p = e.input.charCodeAt(++e.position);
|
|
773
|
-
}
|
|
774
|
-
return I(e, a, o, !1), e.result ? !0 : (e.kind = d, e.result = f, !1);
|
|
775
|
-
}
|
|
776
|
-
e(On, "readPlainScalar");
|
|
777
|
-
function kn(e, t) {
|
|
778
|
-
var n = e.input.charCodeAt(e.position), r, i;
|
|
779
|
-
if (n !== 39) return !1;
|
|
780
|
-
for (e.kind = "scalar", e.result = "", e.position++, r = i = e.position; (n = e.input.charCodeAt(e.position)) !== 0;) if (n === 39) {
|
|
781
|
-
if (I(e, r, e.position, !0), n = e.input.charCodeAt(++e.position), n === 39) r = e.position, e.position++, i = e.position;
|
|
782
|
-
else return !0;
|
|
783
|
-
} else A(n) ? (I(e, r, i, !0), Dn(e, R(e, !1, t)), r = i = e.position) : e.position === e.lineStart && En(e) ? F(e, "unexpected end of the document within a single quoted scalar") : (e.position++, i = e.position);
|
|
784
|
-
F(e, "unexpected end of the stream within a single quoted scalar");
|
|
785
|
-
}
|
|
786
|
-
e(kn, "readSingleQuotedScalar");
|
|
787
|
-
function An(e, t) {
|
|
788
|
-
var n, r, i, a, o, s = e.input.charCodeAt(e.position);
|
|
789
|
-
if (s !== 34) return !1;
|
|
790
|
-
for (e.kind = "scalar", e.result = "", e.position++, n = r = e.position; (s = e.input.charCodeAt(e.position)) !== 0;) if (s === 34) return I(e, n, e.position, !0), e.position++, !0;
|
|
791
|
-
else if (s === 92) {
|
|
792
|
-
if (I(e, n, e.position, !0), s = e.input.charCodeAt(++e.position), A(s)) R(e, !1, t);
|
|
793
|
-
else if (s < 256 && vn[s]) e.result += yn[s], e.position++;
|
|
794
|
-
else if ((o = pn(s)) > 0) {
|
|
795
|
-
for (i = o, a = 0; i > 0; i--) s = e.input.charCodeAt(++e.position), (o = fn(s)) >= 0 ? a = (a << 4) + o : F(e, "expected hexadecimal character");
|
|
796
|
-
e.result += gn(a), e.position++;
|
|
797
|
-
} else F(e, "unknown escape sequence");
|
|
798
|
-
n = r = e.position;
|
|
799
|
-
} else A(s) ? (I(e, n, r, !0), Dn(e, R(e, !1, t)), n = r = e.position) : e.position === e.lineStart && En(e) ? F(e, "unexpected end of the document within a double quoted scalar") : (e.position++, r = e.position);
|
|
800
|
-
F(e, "unexpected end of the stream within a double quoted scalar");
|
|
801
|
-
}
|
|
802
|
-
e(An, "readDoubleQuotedScalar");
|
|
803
|
-
function jn(e, t) {
|
|
804
|
-
var n = !0, r, i, a, o = e.tag, s, c = e.anchor, l, u, d, f, p, m = /* @__PURE__ */ Object.create(null), h, g, _, v = e.input.charCodeAt(e.position);
|
|
805
|
-
if (v === 91) u = 93, p = !1, s = [];
|
|
806
|
-
else if (v === 123) u = 125, p = !0, s = {};
|
|
807
|
-
else return !1;
|
|
808
|
-
for (e.anchor !== null && (e.anchorMap[e.anchor] = s), v = e.input.charCodeAt(++e.position); v !== 0;) {
|
|
809
|
-
if (R(e, !0, t), v = e.input.charCodeAt(e.position), v === u) return e.position++, e.tag = o, e.anchor = c, e.kind = p ? "mapping" : "sequence", e.result = s, !0;
|
|
810
|
-
n ? v === 44 && F(e, "expected the node content, but found ','") : F(e, "missed comma between flow collection entries"), g = h = _ = null, d = f = !1, v === 63 && (l = e.input.charCodeAt(e.position + 1), M(l) && (d = f = !0, e.position++, R(e, !0, t))), r = e.line, i = e.lineStart, a = e.position, z(e, t, Qt, !1, !0), g = e.tag, h = e.result, R(e, !0, t), v = e.input.charCodeAt(e.position), (f || e.line === r) && v === 58 && (d = !0, v = e.input.charCodeAt(++e.position), R(e, !0, t), z(e, t, Qt, !1, !0), _ = e.result), p ? L(e, s, m, g, h, _, r, i, a) : d ? s.push(L(e, null, m, g, h, _, r, i, a)) : s.push(h), R(e, !0, t), v = e.input.charCodeAt(e.position), v === 44 ? (n = !0, v = e.input.charCodeAt(++e.position)) : n = !1;
|
|
811
|
-
}
|
|
812
|
-
F(e, "unexpected end of the stream within a flow collection");
|
|
813
|
-
}
|
|
814
|
-
e(jn, "readFlowCollection");
|
|
815
|
-
function Mn(e, t) {
|
|
816
|
-
var n, r, i = nn, a = !1, o = !1, s = t, c = 0, l = !1, u, d = e.input.charCodeAt(e.position);
|
|
817
|
-
if (d === 124) r = !1;
|
|
818
|
-
else if (d === 62) r = !0;
|
|
819
|
-
else return !1;
|
|
820
|
-
for (e.kind = "scalar", e.result = ""; d !== 0;) if (d = e.input.charCodeAt(++e.position), d === 43 || d === 45) nn === i ? i = d === 43 ? an : rn : F(e, "repeat of a chomping mode identifier");
|
|
821
|
-
else if ((u = mn(d)) >= 0) u === 0 ? F(e, "bad explicit indentation width of a block scalar; it cannot be less than one") : o ? F(e, "repeat of an indentation width identifier") : (s = t + u - 1, o = !0);
|
|
822
|
-
else break;
|
|
823
|
-
if (j(d)) {
|
|
824
|
-
do
|
|
825
|
-
d = e.input.charCodeAt(++e.position);
|
|
826
|
-
while (j(d));
|
|
827
|
-
if (d === 35) do
|
|
828
|
-
d = e.input.charCodeAt(++e.position);
|
|
829
|
-
while (!A(d) && d !== 0);
|
|
830
|
-
}
|
|
831
|
-
for (; d !== 0;) {
|
|
832
|
-
for (Tn(e), e.lineIndent = 0, d = e.input.charCodeAt(e.position); (!o || e.lineIndent < s) && d === 32;) e.lineIndent++, d = e.input.charCodeAt(++e.position);
|
|
833
|
-
if (!o && e.lineIndent > s && (s = e.lineIndent), A(d)) {
|
|
834
|
-
c++;
|
|
835
|
-
continue;
|
|
836
|
-
}
|
|
837
|
-
if (e.lineIndent < s) {
|
|
838
|
-
i === an ? e.result += T.repeat("\n", a ? 1 + c : c) : i === nn && a && (e.result += "\n");
|
|
839
|
-
break;
|
|
840
|
-
}
|
|
841
|
-
for (r ? j(d) ? (l = !0, e.result += T.repeat("\n", a ? 1 + c : c)) : l ? (l = !1, e.result += T.repeat("\n", c + 1)) : c === 0 ? a && (e.result += " ") : e.result += T.repeat("\n", c) : e.result += T.repeat("\n", a ? 1 + c : c), a = !0, o = !0, c = 0, n = e.position; !A(d) && d !== 0;) d = e.input.charCodeAt(++e.position);
|
|
842
|
-
I(e, n, e.position, !1);
|
|
843
|
-
}
|
|
844
|
-
return !0;
|
|
845
|
-
}
|
|
846
|
-
e(Mn, "readBlockScalar");
|
|
847
|
-
function Nn(e, t) {
|
|
848
|
-
var n, r = e.tag, i = e.anchor, a = [], o, s = !1, c;
|
|
849
|
-
if (e.firstTabInLine !== -1) return !1;
|
|
850
|
-
for (e.anchor !== null && (e.anchorMap[e.anchor] = a), c = e.input.charCodeAt(e.position); c !== 0 && (e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, F(e, "tab characters must not be used in indentation")), !(c !== 45 || (o = e.input.charCodeAt(e.position + 1), !M(o))));) {
|
|
851
|
-
if (s = !0, e.position++, R(e, !0, -1) && e.lineIndent <= t) {
|
|
852
|
-
a.push(null), c = e.input.charCodeAt(e.position);
|
|
853
|
-
continue;
|
|
854
|
-
}
|
|
855
|
-
if (n = e.line, z(e, t, en, !1, !0), a.push(e.result), R(e, !0, -1), c = e.input.charCodeAt(e.position), (e.line === n || e.lineIndent > t) && c !== 0) F(e, "bad indentation of a sequence entry");
|
|
856
|
-
else if (e.lineIndent < t) break;
|
|
857
|
-
}
|
|
858
|
-
return s ? (e.tag = r, e.anchor = i, e.kind = "sequence", e.result = a, !0) : !1;
|
|
859
|
-
}
|
|
860
|
-
e(Nn, "readBlockSequence");
|
|
861
|
-
function Pn(e, t, n) {
|
|
862
|
-
var r, i, a, o, s, c, l = e.tag, u = e.anchor, d = {}, f = /* @__PURE__ */ Object.create(null), p = null, m = null, h = null, g = !1, _ = !1, v;
|
|
863
|
-
if (e.firstTabInLine !== -1) return !1;
|
|
864
|
-
for (e.anchor !== null && (e.anchorMap[e.anchor] = d), v = e.input.charCodeAt(e.position); v !== 0;) {
|
|
865
|
-
if (!g && e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, F(e, "tab characters must not be used in indentation")), r = e.input.charCodeAt(e.position + 1), a = e.line, (v === 63 || v === 58) && M(r)) v === 63 ? (g && (L(e, d, f, p, m, null, o, s, c), p = m = h = null), _ = !0, g = !0, i = !0) : g ? (g = !1, i = !0) : F(e, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), e.position += 1, v = r;
|
|
866
|
-
else {
|
|
867
|
-
if (o = e.line, s = e.lineStart, c = e.position, !z(e, n, $t, !1, !0)) break;
|
|
868
|
-
if (e.line === a) {
|
|
869
|
-
for (v = e.input.charCodeAt(e.position); j(v);) v = e.input.charCodeAt(++e.position);
|
|
870
|
-
if (v === 58) v = e.input.charCodeAt(++e.position), M(v) || F(e, "a whitespace character is expected after the key-value separator within a block mapping"), g && (L(e, d, f, p, m, null, o, s, c), p = m = h = null), _ = !0, g = !1, i = !1, p = e.tag, m = e.result;
|
|
871
|
-
else if (_) F(e, "can not read an implicit mapping pair; a colon is missed");
|
|
872
|
-
else return e.tag = l, e.anchor = u, !0;
|
|
873
|
-
} else if (_) F(e, "can not read a block mapping entry; a multiline key may not be an implicit key");
|
|
874
|
-
else return e.tag = l, e.anchor = u, !0;
|
|
875
|
-
}
|
|
876
|
-
if ((e.line === a || e.lineIndent > t) && (g && (o = e.line, s = e.lineStart, c = e.position), z(e, t, tn, !0, i) && (g ? m = e.result : h = e.result), g || (L(e, d, f, p, m, h, o, s, c), p = m = h = null), R(e, !0, -1), v = e.input.charCodeAt(e.position)), (e.line === a || e.lineIndent > t) && v !== 0) F(e, "bad indentation of a mapping entry");
|
|
877
|
-
else if (e.lineIndent < t) break;
|
|
878
|
-
}
|
|
879
|
-
return g && L(e, d, f, p, m, null, o, s, c), _ && (e.tag = l, e.anchor = u, e.kind = "mapping", e.result = d), _;
|
|
880
|
-
}
|
|
881
|
-
e(Pn, "readBlockMapping");
|
|
882
|
-
function Fn(e) {
|
|
883
|
-
var t, n = !1, r = !1, i, a, o = e.input.charCodeAt(e.position);
|
|
884
|
-
if (o !== 33) return !1;
|
|
885
|
-
if (e.tag !== null && F(e, "duplication of a tag property"), o = e.input.charCodeAt(++e.position), o === 60 ? (n = !0, o = e.input.charCodeAt(++e.position)) : o === 33 ? (r = !0, i = "!!", o = e.input.charCodeAt(++e.position)) : i = "!", t = e.position, n) {
|
|
886
|
-
do
|
|
887
|
-
o = e.input.charCodeAt(++e.position);
|
|
888
|
-
while (o !== 0 && o !== 62);
|
|
889
|
-
e.position < e.length ? (a = e.input.slice(t, e.position), o = e.input.charCodeAt(++e.position)) : F(e, "unexpected end of the stream within a verbatim tag");
|
|
890
|
-
} else {
|
|
891
|
-
for (; o !== 0 && !M(o);) o === 33 && (r ? F(e, "tag suffix cannot contain exclamation marks") : (i = e.input.slice(t - 1, e.position + 1), ln.test(i) || F(e, "named tag handle cannot contain such characters"), r = !0, t = e.position + 1)), o = e.input.charCodeAt(++e.position);
|
|
892
|
-
a = e.input.slice(t, e.position), cn.test(a) && F(e, "tag suffix cannot contain flow indicator characters");
|
|
893
|
-
}
|
|
894
|
-
a && !un.test(a) && F(e, "tag name cannot contain such characters: " + a);
|
|
895
|
-
try {
|
|
896
|
-
a = decodeURIComponent(a);
|
|
897
|
-
} catch {
|
|
898
|
-
F(e, "tag name is malformed: " + a);
|
|
899
|
-
}
|
|
900
|
-
return n ? e.tag = a : k.call(e.tagMap, i) ? e.tag = e.tagMap[i] + a : i === "!" ? e.tag = "!" + a : i === "!!" ? e.tag = "tag:yaml.org,2002:" + a : F(e, "undeclared tag handle \"" + i + "\""), !0;
|
|
901
|
-
}
|
|
902
|
-
e(Fn, "readTagProperty");
|
|
903
|
-
function In(e) {
|
|
904
|
-
var t, n = e.input.charCodeAt(e.position);
|
|
905
|
-
if (n !== 38) return !1;
|
|
906
|
-
for (e.anchor !== null && F(e, "duplication of an anchor property"), n = e.input.charCodeAt(++e.position), t = e.position; n !== 0 && !M(n) && !N(n);) n = e.input.charCodeAt(++e.position);
|
|
907
|
-
return e.position === t && F(e, "name of an anchor node must contain at least one character"), e.anchor = e.input.slice(t, e.position), !0;
|
|
908
|
-
}
|
|
909
|
-
e(In, "readAnchorProperty");
|
|
910
|
-
function Ln(e) {
|
|
911
|
-
var t, n, r = e.input.charCodeAt(e.position);
|
|
912
|
-
if (r !== 42) return !1;
|
|
913
|
-
for (r = e.input.charCodeAt(++e.position), t = e.position; r !== 0 && !M(r) && !N(r);) r = e.input.charCodeAt(++e.position);
|
|
914
|
-
return e.position === t && F(e, "name of an alias node must contain at least one character"), n = e.input.slice(t, e.position), k.call(e.anchorMap, n) || F(e, "unidentified alias \"" + n + "\""), e.result = e.anchorMap[n], R(e, !0, -1), !0;
|
|
915
|
-
}
|
|
916
|
-
e(Ln, "readAlias");
|
|
917
|
-
function z(e, t, n, r, i) {
|
|
918
|
-
var a, o, s, c = 1, l = !1, u = !1, d, f, p, m, h, g;
|
|
919
|
-
if (e.listener !== null && e.listener("open", e), e.tag = null, e.anchor = null, e.kind = null, e.result = null, a = o = s = tn === n || en === n, r && R(e, !0, -1) && (l = !0, e.lineIndent > t ? c = 1 : e.lineIndent === t ? c = 0 : e.lineIndent < t && (c = -1)), c === 1) for (; Fn(e) || In(e);) R(e, !0, -1) ? (l = !0, s = a, e.lineIndent > t ? c = 1 : e.lineIndent === t ? c = 0 : e.lineIndent < t && (c = -1)) : s = !1;
|
|
920
|
-
if (s &&= l || i, (c === 1 || tn === n) && (h = Qt === n || $t === n ? t : t + 1, g = e.position - e.lineStart, c === 1 ? s && (Nn(e, g) || Pn(e, g, h)) || jn(e, h) ? u = !0 : (o && Mn(e, h) || kn(e, h) || An(e, h) ? u = !0 : Ln(e) ? (u = !0, (e.tag !== null || e.anchor !== null) && F(e, "alias node should not have any properties")) : On(e, h, Qt === n) && (u = !0, e.tag === null && (e.tag = "?")), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : c === 0 && (u = s && Nn(e, g))), e.tag === null) e.anchor !== null && (e.anchorMap[e.anchor] = e.result);
|
|
921
|
-
else if (e.tag === "?") {
|
|
922
|
-
for (e.result !== null && e.kind !== "scalar" && F(e, "unacceptable node kind for !<?> tag; it should be \"scalar\", not \"" + e.kind + "\""), d = 0, f = e.implicitTypes.length; d < f; d += 1) if (m = e.implicitTypes[d], m.resolve(e.result)) {
|
|
923
|
-
e.result = m.construct(e.result), e.tag = m.tag, e.anchor !== null && (e.anchorMap[e.anchor] = e.result);
|
|
924
|
-
break;
|
|
925
|
-
}
|
|
926
|
-
} else if (e.tag !== "!") {
|
|
927
|
-
if (k.call(e.typeMap[e.kind || "fallback"], e.tag)) m = e.typeMap[e.kind || "fallback"][e.tag];
|
|
928
|
-
else for (m = null, p = e.typeMap.multi[e.kind || "fallback"], d = 0, f = p.length; d < f; d += 1) if (e.tag.slice(0, p[d].tag.length) === p[d].tag) {
|
|
929
|
-
m = p[d];
|
|
930
|
-
break;
|
|
931
|
-
}
|
|
932
|
-
m || F(e, "unknown tag !<" + e.tag + ">"), e.result !== null && m.kind !== e.kind && F(e, "unacceptable node kind for !<" + e.tag + "> tag; it should be \"" + m.kind + "\", not \"" + e.kind + "\""), m.resolve(e.result, e.tag) ? (e.result = m.construct(e.result, e.tag), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : F(e, "cannot resolve a node with !<" + e.tag + "> explicit tag");
|
|
933
|
-
}
|
|
934
|
-
return e.listener !== null && e.listener("close", e), e.tag !== null || e.anchor !== null || u;
|
|
935
|
-
}
|
|
936
|
-
e(z, "composeNode");
|
|
937
|
-
function Rn(e) {
|
|
938
|
-
var t = e.position, n, r, i, a = !1, o;
|
|
939
|
-
for (e.version = null, e.checkLineBreaks = e.legacy, e.tagMap = /* @__PURE__ */ Object.create(null), e.anchorMap = /* @__PURE__ */ Object.create(null); (o = e.input.charCodeAt(e.position)) !== 0 && (R(e, !0, -1), o = e.input.charCodeAt(e.position), !(e.lineIndent > 0 || o !== 37));) {
|
|
940
|
-
for (a = !0, o = e.input.charCodeAt(++e.position), n = e.position; o !== 0 && !M(o);) o = e.input.charCodeAt(++e.position);
|
|
941
|
-
for (r = e.input.slice(n, e.position), i = [], r.length < 1 && F(e, "directive name must not be less than one character in length"); o !== 0;) {
|
|
942
|
-
for (; j(o);) o = e.input.charCodeAt(++e.position);
|
|
943
|
-
if (o === 35) {
|
|
944
|
-
do
|
|
945
|
-
o = e.input.charCodeAt(++e.position);
|
|
946
|
-
while (o !== 0 && !A(o));
|
|
947
|
-
break;
|
|
948
|
-
}
|
|
949
|
-
if (A(o)) break;
|
|
950
|
-
for (n = e.position; o !== 0 && !M(o);) o = e.input.charCodeAt(++e.position);
|
|
951
|
-
i.push(e.input.slice(n, e.position));
|
|
952
|
-
}
|
|
953
|
-
o !== 0 && Tn(e), k.call(Cn, r) ? Cn[r](e, r, i) : Sn(e, "unknown document directive \"" + r + "\"");
|
|
954
|
-
}
|
|
955
|
-
if (R(e, !0, -1), e.lineIndent === 0 && e.input.charCodeAt(e.position) === 45 && e.input.charCodeAt(e.position + 1) === 45 && e.input.charCodeAt(e.position + 2) === 45 ? (e.position += 3, R(e, !0, -1)) : a && F(e, "directives end mark is expected"), z(e, e.lineIndent - 1, tn, !1, !0), R(e, !0, -1), e.checkLineBreaks && sn.test(e.input.slice(t, e.position)) && Sn(e, "non-ASCII line breaks are interpreted as content"), e.documents.push(e.result), e.position === e.lineStart && En(e)) {
|
|
956
|
-
e.input.charCodeAt(e.position) === 46 && (e.position += 3, R(e, !0, -1));
|
|
957
|
-
return;
|
|
958
|
-
}
|
|
959
|
-
if (e.position < e.length - 1) F(e, "end of the stream or a document separator is expected");
|
|
960
|
-
else return;
|
|
961
|
-
}
|
|
962
|
-
e(Rn, "readDocument");
|
|
963
|
-
function zn(e, t) {
|
|
964
|
-
e = String(e), t ||= {}, e.length !== 0 && (e.charCodeAt(e.length - 1) !== 10 && e.charCodeAt(e.length - 1) !== 13 && (e += "\n"), e.charCodeAt(0) === 65279 && (e = e.slice(1)));
|
|
965
|
-
var n = new bn(e, t), r = e.indexOf("\0");
|
|
966
|
-
for (r !== -1 && (n.position = r, F(n, "null byte is not allowed in input")), n.input += "\0"; n.input.charCodeAt(n.position) === 32;) n.lineIndent += 1, n.position += 1;
|
|
967
|
-
for (; n.position < n.length - 1;) Rn(n);
|
|
968
|
-
return n.documents;
|
|
969
|
-
}
|
|
970
|
-
e(zn, "loadDocuments");
|
|
971
|
-
function Bn(e, t, n) {
|
|
972
|
-
typeof t == "object" && t && n === void 0 && (n = t, t = null);
|
|
973
|
-
var r = zn(e, n);
|
|
974
|
-
if (typeof t != "function") return r;
|
|
975
|
-
for (var i = 0, a = r.length; i < a; i += 1) t(r[i]);
|
|
976
|
-
}
|
|
977
|
-
e(Bn, "loadAll$1");
|
|
978
|
-
function Vn(e, t) {
|
|
979
|
-
var n = zn(e, t);
|
|
980
|
-
if (n.length !== 0) {
|
|
981
|
-
if (n.length === 1) return n[0];
|
|
982
|
-
throw new D("expected a single document in the stream, but found more");
|
|
983
|
-
}
|
|
984
|
-
}
|
|
985
|
-
e(Vn, "load$1");
|
|
986
|
-
var Hn = {
|
|
987
|
-
loadAll: Bn,
|
|
988
|
-
load: Vn
|
|
989
|
-
}, Un = Object.prototype.toString, Wn = Object.prototype.hasOwnProperty, Gn = 65279, Kn = 9, qn = 10, Jn = 13, Yn = 32, Xn = 33, Zn = 34, Qn = 35, $n = 37, er = 38, tr = 39, nr = 42, rr = 44, ir = 45, ar = 58, or = 61, sr = 62, cr = 63, lr = 64, ur = 91, dr = 93, fr = 96, pr = 123, mr = 124, hr = 125, B = {};
|
|
990
|
-
B[0] = "\\0", B[7] = "\\a", B[8] = "\\b", B[9] = "\\t", B[10] = "\\n", B[11] = "\\v", B[12] = "\\f", B[13] = "\\r", B[27] = "\\e", B[34] = "\\\"", B[92] = "\\\\", B[133] = "\\N", B[160] = "\\_", B[8232] = "\\L", B[8233] = "\\P";
|
|
991
|
-
var gr = [
|
|
992
|
-
"y",
|
|
993
|
-
"Y",
|
|
994
|
-
"yes",
|
|
995
|
-
"Yes",
|
|
996
|
-
"YES",
|
|
997
|
-
"on",
|
|
998
|
-
"On",
|
|
999
|
-
"ON",
|
|
1000
|
-
"n",
|
|
1001
|
-
"N",
|
|
1002
|
-
"no",
|
|
1003
|
-
"No",
|
|
1004
|
-
"NO",
|
|
1005
|
-
"off",
|
|
1006
|
-
"Off",
|
|
1007
|
-
"OFF"
|
|
1008
|
-
], _r = /^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;
|
|
1009
|
-
function vr(e, t) {
|
|
1010
|
-
var n, r, i, a, o, s, c;
|
|
1011
|
-
if (t === null) return {};
|
|
1012
|
-
for (n = {}, r = Object.keys(t), i = 0, a = r.length; i < a; i += 1) o = r[i], s = String(t[o]), o.slice(0, 2) === "!!" && (o = "tag:yaml.org,2002:" + o.slice(2)), c = e.compiledTypeMap.fallback[o], c && Wn.call(c.styleAliases, s) && (s = c.styleAliases[s]), n[o] = s;
|
|
1013
|
-
return n;
|
|
1014
|
-
}
|
|
1015
|
-
e(vr, "compileStyleMap");
|
|
1016
|
-
function yr(e) {
|
|
1017
|
-
var t = e.toString(16).toUpperCase(), n, r;
|
|
1018
|
-
if (e <= 255) n = "x", r = 2;
|
|
1019
|
-
else if (e <= 65535) n = "u", r = 4;
|
|
1020
|
-
else if (e <= 4294967295) n = "U", r = 8;
|
|
1021
|
-
else throw new D("code point within a string may not be greater than 0xFFFFFFFF");
|
|
1022
|
-
return "\\" + n + T.repeat("0", r - t.length) + t;
|
|
1023
|
-
}
|
|
1024
|
-
e(yr, "encodeHex");
|
|
1025
|
-
var br = 1, xr = 2;
|
|
1026
|
-
function Sr(e) {
|
|
1027
|
-
this.schema = e.schema || Zt, this.indent = Math.max(1, e.indent || 2), this.noArrayIndent = e.noArrayIndent || !1, this.skipInvalid = e.skipInvalid || !1, this.flowLevel = T.isNothing(e.flowLevel) ? -1 : e.flowLevel, this.styleMap = vr(this.schema, e.styles || null), this.sortKeys = e.sortKeys || !1, this.lineWidth = e.lineWidth || 80, this.noRefs = e.noRefs || !1, this.noCompatMode = e.noCompatMode || !1, this.condenseFlow = e.condenseFlow || !1, this.quotingType = e.quotingType === "\"" ? xr : br, this.forceQuotes = e.forceQuotes || !1, this.replacer = typeof e.replacer == "function" ? e.replacer : null, this.implicitTypes = this.schema.compiledImplicit, this.explicitTypes = this.schema.compiledExplicit, this.tag = null, this.result = "", this.duplicates = [], this.usedDuplicates = null;
|
|
1028
|
-
}
|
|
1029
|
-
e(Sr, "State");
|
|
1030
|
-
function Cr(e, t) {
|
|
1031
|
-
for (var n = T.repeat(" ", t), r = 0, i = -1, a = "", o, s = e.length; r < s;) i = e.indexOf("\n", r), i === -1 ? (o = e.slice(r), r = s) : (o = e.slice(r, i + 1), r = i + 1), o.length && o !== "\n" && (a += n), a += o;
|
|
1032
|
-
return a;
|
|
1033
|
-
}
|
|
1034
|
-
e(Cr, "indentString");
|
|
1035
|
-
function wr(e, t) {
|
|
1036
|
-
return "\n" + T.repeat(" ", e.indent * t);
|
|
1037
|
-
}
|
|
1038
|
-
e(wr, "generateNextLine");
|
|
1039
|
-
function Tr(e, t) {
|
|
1040
|
-
var n, r, i;
|
|
1041
|
-
for (n = 0, r = e.implicitTypes.length; n < r; n += 1) if (i = e.implicitTypes[n], i.resolve(t)) return !0;
|
|
1042
|
-
return !1;
|
|
1043
|
-
}
|
|
1044
|
-
e(Tr, "testImplicitResolving");
|
|
1045
|
-
function Er(e) {
|
|
1046
|
-
return e === Yn || e === Kn;
|
|
1047
|
-
}
|
|
1048
|
-
e(Er, "isWhitespace");
|
|
1049
|
-
function V(e) {
|
|
1050
|
-
return 32 <= e && e <= 126 || 161 <= e && e <= 55295 && e !== 8232 && e !== 8233 || 57344 <= e && e <= 65533 && e !== Gn || 65536 <= e && e <= 1114111;
|
|
1051
|
-
}
|
|
1052
|
-
e(V, "isPrintable");
|
|
1053
|
-
function Dr(e) {
|
|
1054
|
-
return V(e) && e !== Gn && e !== Jn && e !== qn;
|
|
1055
|
-
}
|
|
1056
|
-
e(Dr, "isNsCharOrWhitespace");
|
|
1057
|
-
function Or(e, t, n) {
|
|
1058
|
-
var r = Dr(e), i = r && !Er(e);
|
|
1059
|
-
return (n ? r : r && e !== rr && e !== ur && e !== dr && e !== pr && e !== hr) && e !== Qn && !(t === ar && !i) || Dr(t) && !Er(t) && e === Qn || t === ar && i;
|
|
1060
|
-
}
|
|
1061
|
-
e(Or, "isPlainSafe");
|
|
1062
|
-
function kr(e) {
|
|
1063
|
-
return V(e) && e !== Gn && !Er(e) && e !== ir && e !== cr && e !== ar && e !== rr && e !== ur && e !== dr && e !== pr && e !== hr && e !== Qn && e !== er && e !== nr && e !== Xn && e !== mr && e !== or && e !== sr && e !== tr && e !== Zn && e !== $n && e !== lr && e !== fr;
|
|
1064
|
-
}
|
|
1065
|
-
e(kr, "isPlainSafeFirst");
|
|
1066
|
-
function Ar(e) {
|
|
1067
|
-
return !Er(e) && e !== ar;
|
|
1068
|
-
}
|
|
1069
|
-
e(Ar, "isPlainSafeLast");
|
|
1070
|
-
function H(e, t) {
|
|
1071
|
-
var n = e.charCodeAt(t), r;
|
|
1072
|
-
return n >= 55296 && n <= 56319 && t + 1 < e.length && (r = e.charCodeAt(t + 1), r >= 56320 && r <= 57343) ? (n - 55296) * 1024 + r - 56320 + 65536 : n;
|
|
1073
|
-
}
|
|
1074
|
-
e(H, "codePointAt");
|
|
1075
|
-
function jr(e) {
|
|
1076
|
-
return /^\n* /.test(e);
|
|
1077
|
-
}
|
|
1078
|
-
e(jr, "needIndentIndicator");
|
|
1079
|
-
var Mr = 1, Nr = 2, Pr = 3, Fr = 4, U = 5;
|
|
1080
|
-
function Ir(e, t, n, r, i, a, o, s) {
|
|
1081
|
-
var c, l = 0, u = null, d = !1, f = !1, p = r !== -1, m = -1, h = kr(H(e, 0)) && Ar(H(e, e.length - 1));
|
|
1082
|
-
if (t || o) for (c = 0; c < e.length; l >= 65536 ? c += 2 : c++) {
|
|
1083
|
-
if (l = H(e, c), !V(l)) return U;
|
|
1084
|
-
h &&= Or(l, u, s), u = l;
|
|
1085
|
-
}
|
|
1086
|
-
else {
|
|
1087
|
-
for (c = 0; c < e.length; l >= 65536 ? c += 2 : c++) {
|
|
1088
|
-
if (l = H(e, c), l === qn) d = !0, p && (f ||= c - m - 1 > r && e[m + 1] !== " ", m = c);
|
|
1089
|
-
else if (!V(l)) return U;
|
|
1090
|
-
h &&= Or(l, u, s), u = l;
|
|
1091
|
-
}
|
|
1092
|
-
f ||= p && c - m - 1 > r && e[m + 1] !== " ";
|
|
1093
|
-
}
|
|
1094
|
-
return !d && !f ? h && !o && !i(e) ? Mr : a === xr ? U : Nr : n > 9 && jr(e) ? U : o ? a === xr ? U : Nr : f ? Fr : Pr;
|
|
1095
|
-
}
|
|
1096
|
-
e(Ir, "chooseScalarStyle");
|
|
1097
|
-
function Lr(t, n, r, i, a) {
|
|
1098
|
-
t.dump = (function() {
|
|
1099
|
-
if (n.length === 0) return t.quotingType === xr ? "\"\"" : "''";
|
|
1100
|
-
if (!t.noCompatMode && (gr.indexOf(n) !== -1 || _r.test(n))) return t.quotingType === xr ? "\"" + n + "\"" : "'" + n + "'";
|
|
1101
|
-
var o = t.indent * Math.max(1, r), s = t.lineWidth === -1 ? -1 : Math.max(Math.min(t.lineWidth, 40), t.lineWidth - o), c = i || t.flowLevel > -1 && r >= t.flowLevel;
|
|
1102
|
-
function l(e) {
|
|
1103
|
-
return Tr(t, e);
|
|
1104
|
-
}
|
|
1105
|
-
switch (e(l, "testAmbiguity"), Ir(n, c, t.indent, s, l, t.quotingType, t.forceQuotes && !i, a)) {
|
|
1106
|
-
case Mr: return n;
|
|
1107
|
-
case Nr: return "'" + n.replace(/'/g, "''") + "'";
|
|
1108
|
-
case Pr: return "|" + Rr(n, t.indent) + zr(Cr(n, o));
|
|
1109
|
-
case Fr: return ">" + Rr(n, t.indent) + zr(Cr(Br(n, s), o));
|
|
1110
|
-
case U: return "\"" + Hr(n) + "\"";
|
|
1111
|
-
default: throw new D("impossible error: invalid scalar style");
|
|
1112
|
-
}
|
|
1113
|
-
})();
|
|
1114
|
-
}
|
|
1115
|
-
e(Lr, "writeScalar");
|
|
1116
|
-
function Rr(e, t) {
|
|
1117
|
-
var n = jr(e) ? String(t) : "", r = e[e.length - 1] === "\n";
|
|
1118
|
-
return n + (r && (e[e.length - 2] === "\n" || e === "\n") ? "+" : r ? "" : "-") + "\n";
|
|
1119
|
-
}
|
|
1120
|
-
e(Rr, "blockHeader");
|
|
1121
|
-
function zr(e) {
|
|
1122
|
-
return e[e.length - 1] === "\n" ? e.slice(0, -1) : e;
|
|
1123
|
-
}
|
|
1124
|
-
e(zr, "dropEndingNewline");
|
|
1125
|
-
function Br(e, t) {
|
|
1126
|
-
for (var n = /(\n+)([^\n]*)/g, r = (function() {
|
|
1127
|
-
var r = e.indexOf("\n");
|
|
1128
|
-
return r = r === -1 ? e.length : r, n.lastIndex = r, Vr(e.slice(0, r), t);
|
|
1129
|
-
})(), i = e[0] === "\n" || e[0] === " ", a, o; o = n.exec(e);) {
|
|
1130
|
-
var s = o[1], c = o[2];
|
|
1131
|
-
a = c[0] === " ", r += s + (!i && !a && c !== "" ? "\n" : "") + Vr(c, t), i = a;
|
|
1132
|
-
}
|
|
1133
|
-
return r;
|
|
1134
|
-
}
|
|
1135
|
-
e(Br, "foldString");
|
|
1136
|
-
function Vr(e, t) {
|
|
1137
|
-
if (e === "" || e[0] === " ") return e;
|
|
1138
|
-
for (var n = / [^ ]/g, r, i = 0, a, o = 0, s = 0, c = ""; r = n.exec(e);) s = r.index, s - i > t && (a = o > i ? o : s, c += "\n" + e.slice(i, a), i = a + 1), o = s;
|
|
1139
|
-
return c += "\n", e.length - i > t && o > i ? c += e.slice(i, o) + "\n" + e.slice(o + 1) : c += e.slice(i), c.slice(1);
|
|
1140
|
-
}
|
|
1141
|
-
e(Vr, "foldLine");
|
|
1142
|
-
function Hr(e) {
|
|
1143
|
-
for (var t = "", n = 0, r, i = 0; i < e.length; n >= 65536 ? i += 2 : i++) n = H(e, i), r = B[n], !r && V(n) ? (t += e[i], n >= 65536 && (t += e[i + 1])) : t += r || yr(n);
|
|
1144
|
-
return t;
|
|
1145
|
-
}
|
|
1146
|
-
e(Hr, "escapeString");
|
|
1147
|
-
function Ur(e, t, n) {
|
|
1148
|
-
var r = "", i = e.tag, a, o, s;
|
|
1149
|
-
for (a = 0, o = n.length; a < o; a += 1) s = n[a], e.replacer && (s = e.replacer.call(n, String(a), s)), (W(e, t, s, !1, !1) || s === void 0 && W(e, t, null, !1, !1)) && (r !== "" && (r += "," + (e.condenseFlow ? "" : " ")), r += e.dump);
|
|
1150
|
-
e.tag = i, e.dump = "[" + r + "]";
|
|
1151
|
-
}
|
|
1152
|
-
e(Ur, "writeFlowSequence");
|
|
1153
|
-
function Wr(e, t, n, r) {
|
|
1154
|
-
var i = "", a = e.tag, o, s, c;
|
|
1155
|
-
for (o = 0, s = n.length; o < s; o += 1) c = n[o], e.replacer && (c = e.replacer.call(n, String(o), c)), (W(e, t + 1, c, !0, !0, !1, !0) || c === void 0 && W(e, t + 1, null, !0, !0, !1, !0)) && ((!r || i !== "") && (i += wr(e, t)), e.dump && qn === e.dump.charCodeAt(0) ? i += "-" : i += "- ", i += e.dump);
|
|
1156
|
-
e.tag = a, e.dump = i || "[]";
|
|
1157
|
-
}
|
|
1158
|
-
e(Wr, "writeBlockSequence");
|
|
1159
|
-
function Gr(e, t, n) {
|
|
1160
|
-
var r = "", i = e.tag, a = Object.keys(n), o, s, c, l, u;
|
|
1161
|
-
for (o = 0, s = a.length; o < s; o += 1) u = "", r !== "" && (u += ", "), e.condenseFlow && (u += "\""), c = a[o], l = n[c], e.replacer && (l = e.replacer.call(n, c, l)), W(e, t, c, !1, !1) && (e.dump.length > 1024 && (u += "? "), u += e.dump + (e.condenseFlow ? "\"" : "") + ":" + (e.condenseFlow ? "" : " "), W(e, t, l, !1, !1) && (u += e.dump, r += u));
|
|
1162
|
-
e.tag = i, e.dump = "{" + r + "}";
|
|
1163
|
-
}
|
|
1164
|
-
e(Gr, "writeFlowMapping");
|
|
1165
|
-
function Kr(e, t, n, r) {
|
|
1166
|
-
var i = "", a = e.tag, o = Object.keys(n), s, c, l, u, d, f;
|
|
1167
|
-
if (e.sortKeys === !0) o.sort();
|
|
1168
|
-
else if (typeof e.sortKeys == "function") o.sort(e.sortKeys);
|
|
1169
|
-
else if (e.sortKeys) throw new D("sortKeys must be a boolean or a function");
|
|
1170
|
-
for (s = 0, c = o.length; s < c; s += 1) f = "", (!r || i !== "") && (f += wr(e, t)), l = o[s], u = n[l], e.replacer && (u = e.replacer.call(n, l, u)), W(e, t + 1, l, !0, !0, !0) && (d = e.tag !== null && e.tag !== "?" || e.dump && e.dump.length > 1024, d && (e.dump && qn === e.dump.charCodeAt(0) ? f += "?" : f += "? "), f += e.dump, d && (f += wr(e, t)), W(e, t + 1, u, !0, d) && (e.dump && qn === e.dump.charCodeAt(0) ? f += ":" : f += ": ", f += e.dump, i += f));
|
|
1171
|
-
e.tag = a, e.dump = i || "{}";
|
|
1172
|
-
}
|
|
1173
|
-
e(Kr, "writeBlockMapping");
|
|
1174
|
-
function qr(e, t, n) {
|
|
1175
|
-
var r, i = n ? e.explicitTypes : e.implicitTypes, a, o, s, c;
|
|
1176
|
-
for (a = 0, o = i.length; a < o; a += 1) if (s = i[a], (s.instanceOf || s.predicate) && (!s.instanceOf || typeof t == "object" && t instanceof s.instanceOf) && (!s.predicate || s.predicate(t))) {
|
|
1177
|
-
if (e.tag = n ? s.multi && s.representName ? s.representName(t) : s.tag : "?", s.represent) {
|
|
1178
|
-
if (c = e.styleMap[s.tag] || s.defaultStyle, Un.call(s.represent) === "[object Function]") r = s.represent(t, c);
|
|
1179
|
-
else if (Wn.call(s.represent, c)) r = s.represent[c](t, c);
|
|
1180
|
-
else throw new D("!<" + s.tag + "> tag resolver accepts not \"" + c + "\" style");
|
|
1181
|
-
e.dump = r;
|
|
1182
|
-
}
|
|
1183
|
-
return !0;
|
|
1184
|
-
}
|
|
1185
|
-
return !1;
|
|
1186
|
-
}
|
|
1187
|
-
e(qr, "detectType");
|
|
1188
|
-
function W(e, t, n, r, i, a, o) {
|
|
1189
|
-
e.tag = null, e.dump = n, qr(e, n, !1) || qr(e, n, !0);
|
|
1190
|
-
var s = Un.call(e.dump), c = r, l;
|
|
1191
|
-
r &&= e.flowLevel < 0 || e.flowLevel > t;
|
|
1192
|
-
var u = s === "[object Object]" || s === "[object Array]", d, f;
|
|
1193
|
-
if (u && (d = e.duplicates.indexOf(n), f = d !== -1), (e.tag !== null && e.tag !== "?" || f || e.indent !== 2 && t > 0) && (i = !1), f && e.usedDuplicates[d]) e.dump = "*ref_" + d;
|
|
1194
|
-
else {
|
|
1195
|
-
if (u && f && !e.usedDuplicates[d] && (e.usedDuplicates[d] = !0), s === "[object Object]") r && Object.keys(e.dump).length !== 0 ? (Kr(e, t, e.dump, i), f && (e.dump = "&ref_" + d + e.dump)) : (Gr(e, t, e.dump), f && (e.dump = "&ref_" + d + " " + e.dump));
|
|
1196
|
-
else if (s === "[object Array]") r && e.dump.length !== 0 ? (e.noArrayIndent && !o && t > 0 ? Wr(e, t - 1, e.dump, i) : Wr(e, t, e.dump, i), f && (e.dump = "&ref_" + d + e.dump)) : (Ur(e, t, e.dump), f && (e.dump = "&ref_" + d + " " + e.dump));
|
|
1197
|
-
else if (s === "[object String]") e.tag !== "?" && Lr(e, e.dump, t, a, c);
|
|
1198
|
-
else if (s === "[object Undefined]") return !1;
|
|
1199
|
-
else {
|
|
1200
|
-
if (e.skipInvalid) return !1;
|
|
1201
|
-
throw new D("unacceptable kind of an object to dump " + s);
|
|
1202
|
-
}
|
|
1203
|
-
e.tag !== null && e.tag !== "?" && (l = encodeURI(e.tag[0] === "!" ? e.tag.slice(1) : e.tag).replace(/!/g, "%21"), l = e.tag[0] === "!" ? "!" + l : l.slice(0, 18) === "tag:yaml.org,2002:" ? "!!" + l.slice(18) : "!<" + l + ">", e.dump = l + " " + e.dump);
|
|
1204
|
-
}
|
|
1205
|
-
return !0;
|
|
1206
|
-
}
|
|
1207
|
-
e(W, "writeNode");
|
|
1208
|
-
function Jr(e, t) {
|
|
1209
|
-
var n = [], r = [], i, a;
|
|
1210
|
-
for (Yr(e, n, r), i = 0, a = r.length; i < a; i += 1) t.duplicates.push(n[r[i]]);
|
|
1211
|
-
t.usedDuplicates = Array(a);
|
|
1212
|
-
}
|
|
1213
|
-
e(Jr, "getDuplicateReferences");
|
|
1214
|
-
function Yr(e, t, n) {
|
|
1215
|
-
var r, i, a;
|
|
1216
|
-
if (typeof e == "object" && e) {
|
|
1217
|
-
if (i = t.indexOf(e), i !== -1) n.indexOf(i) === -1 && n.push(i);
|
|
1218
|
-
else if (t.push(e), Array.isArray(e)) for (i = 0, a = e.length; i < a; i += 1) Yr(e[i], t, n);
|
|
1219
|
-
else for (r = Object.keys(e), i = 0, a = r.length; i < a; i += 1) Yr(e[r[i]], t, n);
|
|
1220
|
-
}
|
|
1221
|
-
}
|
|
1222
|
-
e(Yr, "inspectNode");
|
|
1223
|
-
function Xr(e, t) {
|
|
1224
|
-
t ||= {};
|
|
1225
|
-
var n = new Sr(t);
|
|
1226
|
-
n.noRefs || Jr(e, n);
|
|
1227
|
-
var r = e;
|
|
1228
|
-
return n.replacer && (r = n.replacer.call({ "": r }, "", r)), W(n, 0, r, !0, !0) ? n.dump + "\n" : "";
|
|
1229
|
-
}
|
|
1230
|
-
e(Xr, "dump$1");
|
|
1231
|
-
var Zr = { dump: Xr };
|
|
1232
|
-
function Qr(e, t) {
|
|
1233
|
-
return function() {
|
|
1234
|
-
throw Error("Function yaml." + e + " is removed in js-yaml 4. Use yaml." + t + " instead, which is now safe by default.");
|
|
1235
|
-
};
|
|
1236
|
-
}
|
|
1237
|
-
e(Qr, "renamed");
|
|
1238
|
-
var $r = St, ei = Hn.load;
|
|
1239
|
-
Hn.loadAll, Zr.dump;
|
|
1240
|
-
//#endregion
|
|
1241
|
-
//#region ../../node_modules/.pnpm/stylis@4.4.0/node_modules/stylis/src/Enum.js
|
|
1242
|
-
var ti = "comm", ni = "rule", ri = "decl", ii = "@import", ai = "@namespace", oi = "@keyframes", si = "@layer", ci = Math.abs, li = String.fromCharCode;
|
|
1243
|
-
function ui(e) {
|
|
1244
|
-
return e.trim();
|
|
1245
|
-
}
|
|
1246
|
-
function di(e, t, n) {
|
|
1247
|
-
return e.replace(t, n);
|
|
1248
|
-
}
|
|
1249
|
-
function fi(e, t) {
|
|
1250
|
-
return e.charCodeAt(t) | 0;
|
|
1251
|
-
}
|
|
1252
|
-
function pi(e, t, n) {
|
|
1253
|
-
return e.slice(t, n);
|
|
1254
|
-
}
|
|
1255
|
-
function G(e) {
|
|
1256
|
-
return e.length;
|
|
1257
|
-
}
|
|
1258
|
-
function mi(e) {
|
|
1259
|
-
return e.length;
|
|
1260
|
-
}
|
|
1261
|
-
function hi(e, t) {
|
|
1262
|
-
return t.push(e), e;
|
|
1263
|
-
}
|
|
1264
|
-
//#endregion
|
|
1265
|
-
//#region ../../node_modules/.pnpm/stylis@4.4.0/node_modules/stylis/src/Tokenizer.js
|
|
1266
|
-
var gi = 1, K = 1, _i = 0, q = 0, J = 0, Y = "";
|
|
1267
|
-
function vi(e, t, n, r, i, a, o, s) {
|
|
1268
|
-
return {
|
|
1269
|
-
value: e,
|
|
1270
|
-
root: t,
|
|
1271
|
-
parent: n,
|
|
1272
|
-
type: r,
|
|
1273
|
-
props: i,
|
|
1274
|
-
children: a,
|
|
1275
|
-
line: gi,
|
|
1276
|
-
column: K,
|
|
1277
|
-
length: o,
|
|
1278
|
-
return: "",
|
|
1279
|
-
siblings: s
|
|
1280
|
-
};
|
|
1281
|
-
}
|
|
1282
|
-
function yi() {
|
|
1283
|
-
return J;
|
|
1284
|
-
}
|
|
1285
|
-
function bi() {
|
|
1286
|
-
return J = q > 0 ? fi(Y, --q) : 0, K--, J === 10 && (K = 1, gi--), J;
|
|
1287
|
-
}
|
|
1288
|
-
function X() {
|
|
1289
|
-
return J = q < _i ? fi(Y, q++) : 0, K++, J === 10 && (K = 1, gi++), J;
|
|
1290
|
-
}
|
|
1291
|
-
function Z() {
|
|
1292
|
-
return fi(Y, q);
|
|
1293
|
-
}
|
|
1294
|
-
function xi() {
|
|
1295
|
-
return q;
|
|
1296
|
-
}
|
|
1297
|
-
function Si(e, t) {
|
|
1298
|
-
return pi(Y, e, t);
|
|
1299
|
-
}
|
|
1300
|
-
function Ci(e) {
|
|
1301
|
-
switch (e) {
|
|
1302
|
-
case 0:
|
|
1303
|
-
case 9:
|
|
1304
|
-
case 10:
|
|
1305
|
-
case 13:
|
|
1306
|
-
case 32: return 5;
|
|
1307
|
-
case 33:
|
|
1308
|
-
case 43:
|
|
1309
|
-
case 44:
|
|
1310
|
-
case 47:
|
|
1311
|
-
case 62:
|
|
1312
|
-
case 64:
|
|
1313
|
-
case 126:
|
|
1314
|
-
case 59:
|
|
1315
|
-
case 123:
|
|
1316
|
-
case 125: return 4;
|
|
1317
|
-
case 58: return 3;
|
|
1318
|
-
case 34:
|
|
1319
|
-
case 39:
|
|
1320
|
-
case 40:
|
|
1321
|
-
case 91: return 2;
|
|
1322
|
-
case 41:
|
|
1323
|
-
case 93: return 1;
|
|
1324
|
-
}
|
|
1325
|
-
return 0;
|
|
1326
|
-
}
|
|
1327
|
-
function wi(e) {
|
|
1328
|
-
return gi = K = 1, _i = G(Y = e), q = 0, [];
|
|
1329
|
-
}
|
|
1330
|
-
function Ti(e) {
|
|
1331
|
-
return Y = "", e;
|
|
1332
|
-
}
|
|
1333
|
-
function Ei(e) {
|
|
1334
|
-
return ui(Si(q - 1, ki(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
|
|
1335
|
-
}
|
|
1336
|
-
function Di(e) {
|
|
1337
|
-
for (; (J = Z()) && J < 33;) X();
|
|
1338
|
-
return Ci(e) > 2 || Ci(J) > 3 ? "" : " ";
|
|
1339
|
-
}
|
|
1340
|
-
function Oi(e, t) {
|
|
1341
|
-
for (; --t && X() && !(J < 48 || J > 102 || J > 57 && J < 65 || J > 70 && J < 97););
|
|
1342
|
-
return Si(e, xi() + (t < 6 && Z() == 32 && X() == 32));
|
|
1343
|
-
}
|
|
1344
|
-
function ki(e) {
|
|
1345
|
-
for (; X();) switch (J) {
|
|
1346
|
-
case e: return q;
|
|
1347
|
-
case 34:
|
|
1348
|
-
case 39:
|
|
1349
|
-
e !== 34 && e !== 39 && ki(J);
|
|
1350
|
-
break;
|
|
1351
|
-
case 40:
|
|
1352
|
-
e === 41 && ki(e);
|
|
1353
|
-
break;
|
|
1354
|
-
case 92:
|
|
1355
|
-
X();
|
|
1356
|
-
break;
|
|
1357
|
-
}
|
|
1358
|
-
return q;
|
|
1359
|
-
}
|
|
1360
|
-
function Ai(e, t) {
|
|
1361
|
-
for (; X() && e + J !== 57 && (e + J !== 84 || Z() !== 47););
|
|
1362
|
-
return "/*" + Si(t, q - 1) + "*" + li(e === 47 ? e : X());
|
|
1363
|
-
}
|
|
1364
|
-
function ji(e) {
|
|
1365
|
-
for (; !Ci(Z());) X();
|
|
1366
|
-
return Si(e, q);
|
|
1367
|
-
}
|
|
1368
|
-
//#endregion
|
|
1369
|
-
//#region ../../node_modules/.pnpm/stylis@4.4.0/node_modules/stylis/src/Parser.js
|
|
1370
|
-
function Mi(e) {
|
|
1371
|
-
return Ti(Ni("", null, null, null, [""], e = wi(e), 0, [0], e));
|
|
1372
|
-
}
|
|
1373
|
-
function Ni(e, t, n, r, i, a, o, s, c) {
|
|
1374
|
-
for (var l = 0, u = 0, d = o, f = 0, p = 0, m = 0, h = 1, g = 1, _ = 1, v = 0, y = 0, b = "", ee = i, x = a, S = r, C = b; g;) switch (m = y, y = X()) {
|
|
1375
|
-
case 40:
|
|
1376
|
-
m != 108 && fi(C, d - 1) == 58 ? (v++, C += "(") : C += Ei(y);
|
|
1377
|
-
break;
|
|
1378
|
-
case 41:
|
|
1379
|
-
v--, C += ")";
|
|
1380
|
-
break;
|
|
1381
|
-
case 34:
|
|
1382
|
-
case 39:
|
|
1383
|
-
case 91:
|
|
1384
|
-
C += Ei(y);
|
|
1385
|
-
break;
|
|
1386
|
-
case 9:
|
|
1387
|
-
case 10:
|
|
1388
|
-
case 13:
|
|
1389
|
-
case 32:
|
|
1390
|
-
if (v > 0) {
|
|
1391
|
-
C += li(y);
|
|
1392
|
-
break;
|
|
1393
|
-
}
|
|
1394
|
-
C += Di(m);
|
|
1395
|
-
break;
|
|
1396
|
-
case 92:
|
|
1397
|
-
C += Oi(xi() - 1, 7);
|
|
1398
|
-
continue;
|
|
1399
|
-
case 47:
|
|
1400
|
-
switch (Z()) {
|
|
1401
|
-
case 42:
|
|
1402
|
-
case 47:
|
|
1403
|
-
hi(Fi(Ai(X(), xi()), t, n, c), c), (Ci(m || 1) == 5 || Ci(Z() || 1) == 5) && G(C) && pi(C, -1, void 0) !== " " && (C += " ");
|
|
1404
|
-
break;
|
|
1405
|
-
default: C += "/";
|
|
1406
|
-
}
|
|
1407
|
-
break;
|
|
1408
|
-
case 123 * h: s[l++] = G(C) * _;
|
|
1409
|
-
case 125 * h:
|
|
1410
|
-
case 59:
|
|
1411
|
-
case 0:
|
|
1412
|
-
if (v > 0 && y) {
|
|
1413
|
-
C += li(y);
|
|
1414
|
-
break;
|
|
1415
|
-
}
|
|
1416
|
-
switch (y) {
|
|
1417
|
-
case 0:
|
|
1418
|
-
case 125: g = 0;
|
|
1419
|
-
case 59 + u:
|
|
1420
|
-
_ == -1 && (C = di(C, /\f/g, "")), p > 0 && (G(C) - d || h === 0) && hi(p > 32 ? Ii(C + ";", r, n, d - 1, c) : Ii(di(C, " ", "") + ";", r, n, d - 2, c), c);
|
|
1421
|
-
break;
|
|
1422
|
-
case 59: C += ";";
|
|
1423
|
-
default: if (hi(S = Pi(C, t, n, l, u, i, s, b, ee = [], x = [], d, a), a), y === 123) {
|
|
1424
|
-
if (u === 0) Ni(C, t, S, S, ee, a, d, s, x);
|
|
1425
|
-
else {
|
|
1426
|
-
switch (f) {
|
|
1427
|
-
case 99: if (fi(C, 3) === 110) break;
|
|
1428
|
-
case 108: if (fi(C, 2) === 97) break;
|
|
1429
|
-
default: u = 0;
|
|
1430
|
-
case 100:
|
|
1431
|
-
case 109:
|
|
1432
|
-
case 115:
|
|
1433
|
-
}
|
|
1434
|
-
u ? Ni(e, S, S, r && hi(Pi(e, S, S, 0, 0, i, s, b, i, ee = [], d, x), x), i, x, d, s, r ? ee : x) : Ni(C, S, S, S, [""], x, 0, s, x);
|
|
1435
|
-
}
|
|
1436
|
-
}
|
|
1437
|
-
}
|
|
1438
|
-
l = u = p = 0, h = _ = 1, b = C = "", d = o;
|
|
1439
|
-
break;
|
|
1440
|
-
case 58: d = 1 + G(C), p = m;
|
|
1441
|
-
default:
|
|
1442
|
-
if (h < 1) {
|
|
1443
|
-
if (y == 123) --h;
|
|
1444
|
-
else if (y == 125 && h++ == 0 && bi() == 125) continue;
|
|
1445
|
-
}
|
|
1446
|
-
switch (C += li(y), y * h) {
|
|
1447
|
-
case 38:
|
|
1448
|
-
_ = u > 0 ? 1 : (C += "\f", -1);
|
|
1449
|
-
break;
|
|
1450
|
-
case 44:
|
|
1451
|
-
if (v > 0) break;
|
|
1452
|
-
s[l++] = (G(C) - 1) * _, _ = 1;
|
|
1453
|
-
break;
|
|
1454
|
-
case 64:
|
|
1455
|
-
Z() === 45 && (C += Ei(X())), f = Z(), u = d = G(b = C += ji(xi())), y++;
|
|
1456
|
-
break;
|
|
1457
|
-
case 45: m === 45 && G(C) == 2 && (h = 0);
|
|
1458
|
-
}
|
|
1459
|
-
}
|
|
1460
|
-
return a;
|
|
1461
|
-
}
|
|
1462
|
-
function Pi(e, t, n, r, i, a, o, s, c, l, u, d) {
|
|
1463
|
-
for (var f = i - 1, p = i === 0 ? a : [""], m = mi(p), h = 0, g = 0, _ = 0; h < r; ++h) for (var v = 0, y = pi(e, f + 1, f = ci(g = o[h])), b = e; v < m; ++v) (b = ui(g > 0 ? p[v] + " " + y : di(y, /&\f/g, p[v]))) && (c[_++] = b);
|
|
1464
|
-
return vi(e, t, n, i === 0 ? ni : s, c, l, u, d);
|
|
1465
|
-
}
|
|
1466
|
-
function Fi(e, t, n, r) {
|
|
1467
|
-
return vi(e, t, n, ti, li(yi()), pi(e, 2, -2), 0, r);
|
|
1468
|
-
}
|
|
1469
|
-
function Ii(e, t, n, r, i) {
|
|
1470
|
-
return vi(e, t, n, ri, pi(e, 0, r), pi(e, r + 1, -1), r, i);
|
|
1471
|
-
}
|
|
1472
|
-
//#endregion
|
|
1473
|
-
//#region ../../node_modules/.pnpm/stylis@4.4.0/node_modules/stylis/src/Serializer.js
|
|
1474
|
-
function Li(e, t) {
|
|
1475
|
-
for (var n = "", r = 0; r < e.length; r++) n += t(e[r], r, e, t) || "";
|
|
1476
|
-
return n;
|
|
1477
|
-
}
|
|
1478
|
-
function Ri(e, t, n, r) {
|
|
1479
|
-
switch (e.type) {
|
|
1480
|
-
case si: if (e.children.length) break;
|
|
1481
|
-
case ii:
|
|
1482
|
-
case ai:
|
|
1483
|
-
case ri: return e.return = e.return || e.value;
|
|
1484
|
-
case ti: return "";
|
|
1485
|
-
case oi: return e.return = e.value + "{" + Li(e.children, r) + "}";
|
|
1486
|
-
case ni: if (!G(e.value = e.props.join(","))) return "";
|
|
1487
|
-
}
|
|
1488
|
-
return G(n = Li(e.children, r)) ? e.return = e.value + "{" + n + "}" : "";
|
|
1489
|
-
}
|
|
1490
|
-
//#endregion
|
|
1491
|
-
//#region ../../node_modules/.pnpm/stylis@4.4.0/node_modules/stylis/src/Middleware.js
|
|
1492
|
-
function zi(e) {
|
|
1493
|
-
var t = mi(e);
|
|
1494
|
-
return function(n, r, i, a) {
|
|
1495
|
-
for (var o = "", s = 0; s < t; s++) o += e[s](n, r, i, a) || "";
|
|
1496
|
-
return o;
|
|
1497
|
-
};
|
|
1498
|
-
}
|
|
1499
|
-
//#endregion
|
|
1500
|
-
//#region ../../node_modules/.pnpm/mermaid@11.16.1/node_modules/mermaid/dist/mermaid.core.mjs
|
|
1501
|
-
var Bi = "c4", Vi = {
|
|
1502
|
-
id: Bi,
|
|
1503
|
-
detector: /* @__PURE__ */ e((e) => /^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/.test(e), "detector"),
|
|
1504
|
-
loader: /* @__PURE__ */ e(async () => {
|
|
1505
|
-
let { diagram: e } = await import("./c4Diagram-5PPSVZJV-B1RTcquO.js");
|
|
1506
|
-
return {
|
|
1507
|
-
id: Bi,
|
|
1508
|
-
diagram: e
|
|
1509
|
-
};
|
|
1510
|
-
}, "loader")
|
|
1511
|
-
}, Hi = "flowchart", Ui = {
|
|
1512
|
-
id: Hi,
|
|
1513
|
-
detector: /* @__PURE__ */ e((e, t) => t?.flowchart?.defaultRenderer === "dagre-wrapper" || t?.flowchart?.defaultRenderer === "elk" ? !1 : /^\s*graph/.test(e), "detector"),
|
|
1514
|
-
loader: /* @__PURE__ */ e(async () => {
|
|
1515
|
-
let { diagram: e } = await import("./flowDiagram-UKHOOZJN-Co0JpKUU.js");
|
|
1516
|
-
return {
|
|
1517
|
-
id: Hi,
|
|
1518
|
-
diagram: e
|
|
1519
|
-
};
|
|
1520
|
-
}, "loader")
|
|
1521
|
-
}, Wi = "flowchart-v2", Gi = {
|
|
1522
|
-
id: Wi,
|
|
1523
|
-
detector: /* @__PURE__ */ e((e, t) => t?.flowchart?.defaultRenderer !== "dagre-d3" && (t?.flowchart?.defaultRenderer === "elk" && (t.layout = "elk"), /^\s*graph/.test(e) && t?.flowchart?.defaultRenderer === "dagre-wrapper" ? !0 : /^\s*flowchart/.test(e)), "detector"),
|
|
1524
|
-
loader: /* @__PURE__ */ e(async () => {
|
|
1525
|
-
let { diagram: e } = await import("./flowDiagram-UKHOOZJN-Co0JpKUU.js");
|
|
1526
|
-
return {
|
|
1527
|
-
id: Wi,
|
|
1528
|
-
diagram: e
|
|
1529
|
-
};
|
|
1530
|
-
}, "loader")
|
|
1531
|
-
}, Ki = "swimlane", qi = {
|
|
1532
|
-
id: Ki,
|
|
1533
|
-
detector: /* @__PURE__ */ e((e) => /^\s*swimlane-beta\b/.test(e), "detector"),
|
|
1534
|
-
loader: /* @__PURE__ */ e(async () => {
|
|
1535
|
-
let { diagram: e } = await import("./swimlanesDiagram-ULZ7WXOC-CK6AVyRM.js");
|
|
1536
|
-
return {
|
|
1537
|
-
id: Ki,
|
|
1538
|
-
diagram: e
|
|
1539
|
-
};
|
|
1540
|
-
}, "loader")
|
|
1541
|
-
}, Ji = "er", Yi = {
|
|
1542
|
-
id: Ji,
|
|
1543
|
-
detector: /* @__PURE__ */ e((e) => /^\s*erDiagram/.test(e), "detector"),
|
|
1544
|
-
loader: /* @__PURE__ */ e(async () => {
|
|
1545
|
-
let { diagram: e } = await import("./erDiagram-JOGREHBK-Blwfr6w3.js");
|
|
1546
|
-
return {
|
|
1547
|
-
id: Ji,
|
|
1548
|
-
diagram: e
|
|
1549
|
-
};
|
|
1550
|
-
}, "loader")
|
|
1551
|
-
}, Xi = "gitGraph", Zi = {
|
|
1552
|
-
id: Xi,
|
|
1553
|
-
detector: /* @__PURE__ */ e((e) => /^\s*gitGraph/.test(e), "detector"),
|
|
1554
|
-
loader: /* @__PURE__ */ e(async () => {
|
|
1555
|
-
let { diagram: e } = await import("./gitGraphDiagram-DS77QQ5N-BG8AQVtP.js");
|
|
1556
|
-
return {
|
|
1557
|
-
id: Xi,
|
|
1558
|
-
diagram: e
|
|
1559
|
-
};
|
|
1560
|
-
}, "loader")
|
|
1561
|
-
}, Qi = "gantt", $i = {
|
|
1562
|
-
id: Qi,
|
|
1563
|
-
detector: /* @__PURE__ */ e((e) => /^\s*gantt/.test(e), "detector"),
|
|
1564
|
-
loader: /* @__PURE__ */ e(async () => {
|
|
1565
|
-
let { diagram: e } = await import("./ganttDiagram-PKOTCBZU-Byi4E8Ye.js");
|
|
1566
|
-
return {
|
|
1567
|
-
id: Qi,
|
|
1568
|
-
diagram: e
|
|
1569
|
-
};
|
|
1570
|
-
}, "loader")
|
|
1571
|
-
}, ea = "info", ta = {
|
|
1572
|
-
id: ea,
|
|
1573
|
-
detector: /* @__PURE__ */ e((e) => /^\s*info/.test(e), "detector"),
|
|
1574
|
-
loader: /* @__PURE__ */ e(async () => {
|
|
1575
|
-
let { diagram: e } = await import("./infoDiagram-6WML65LV-B6PBOy7T.js");
|
|
1576
|
-
return {
|
|
1577
|
-
id: ea,
|
|
1578
|
-
diagram: e
|
|
1579
|
-
};
|
|
1580
|
-
}, "loader")
|
|
1581
|
-
}, na = "pie", ra = {
|
|
1582
|
-
id: na,
|
|
1583
|
-
detector: /* @__PURE__ */ e((e) => /^\s*pie/.test(e), "detector"),
|
|
1584
|
-
loader: /* @__PURE__ */ e(async () => {
|
|
1585
|
-
let { diagram: e } = await import("./pieDiagram-7S7Q4E2Y-CxNt1xaN.js");
|
|
1586
|
-
return {
|
|
1587
|
-
id: na,
|
|
1588
|
-
diagram: e
|
|
1589
|
-
};
|
|
1590
|
-
}, "loader")
|
|
1591
|
-
}, ia = "quadrantChart", aa = {
|
|
1592
|
-
id: ia,
|
|
1593
|
-
detector: /* @__PURE__ */ e((e) => /^\s*quadrantChart/.test(e), "detector"),
|
|
1594
|
-
loader: /* @__PURE__ */ e(async () => {
|
|
1595
|
-
let { diagram: e } = await import("./quadrantDiagram-CIZ2JOQS-CMUanfcR.js");
|
|
1596
|
-
return {
|
|
1597
|
-
id: ia,
|
|
1598
|
-
diagram: e
|
|
1599
|
-
};
|
|
1600
|
-
}, "loader")
|
|
1601
|
-
}, oa = "xychart", sa = {
|
|
1602
|
-
id: oa,
|
|
1603
|
-
detector: /* @__PURE__ */ e((e) => /^\s*xychart(-beta)?/.test(e), "detector"),
|
|
1604
|
-
loader: /* @__PURE__ */ e(async () => {
|
|
1605
|
-
let { diagram: e } = await import("./xychartDiagram-ELKLHX3M-OcVmrPL6.js");
|
|
1606
|
-
return {
|
|
1607
|
-
id: oa,
|
|
1608
|
-
diagram: e
|
|
1609
|
-
};
|
|
1610
|
-
}, "loader")
|
|
1611
|
-
}, ca = "requirement", la = {
|
|
1612
|
-
id: ca,
|
|
1613
|
-
detector: /* @__PURE__ */ e((e) => /^\s*requirement(Diagram)?/.test(e), "detector"),
|
|
1614
|
-
loader: /* @__PURE__ */ e(async () => {
|
|
1615
|
-
let { diagram: e } = await import("./requirementDiagram-LRYGKXZP-Bs2mCDzB.js");
|
|
1616
|
-
return {
|
|
1617
|
-
id: ca,
|
|
1618
|
-
diagram: e
|
|
1619
|
-
};
|
|
1620
|
-
}, "loader")
|
|
1621
|
-
}, ua = "sequence", da = {
|
|
1622
|
-
id: ua,
|
|
1623
|
-
detector: /* @__PURE__ */ e((e) => /^\s*sequenceDiagram/.test(e), "detector"),
|
|
1624
|
-
loader: /* @__PURE__ */ e(async () => {
|
|
1625
|
-
let { diagram: e } = await import("./sequenceDiagram-SI44F4Z6-E6AoYU_R.js");
|
|
1626
|
-
return {
|
|
1627
|
-
id: ua,
|
|
1628
|
-
diagram: e
|
|
1629
|
-
};
|
|
1630
|
-
}, "loader")
|
|
1631
|
-
}, fa = "class", pa = {
|
|
1632
|
-
id: fa,
|
|
1633
|
-
detector: /* @__PURE__ */ e((e, t) => t?.class?.defaultRenderer !== "dagre-wrapper" && /^\s*classDiagram/.test(e), "detector"),
|
|
1634
|
-
loader: /* @__PURE__ */ e(async () => {
|
|
1635
|
-
let { diagram: e } = await import("./classDiagram-JCYQIIEL-Dm9anlJw.js");
|
|
1636
|
-
return {
|
|
1637
|
-
id: fa,
|
|
1638
|
-
diagram: e
|
|
1639
|
-
};
|
|
1640
|
-
}, "loader")
|
|
1641
|
-
}, ma = "classDiagram", ha = {
|
|
1642
|
-
id: ma,
|
|
1643
|
-
detector: /* @__PURE__ */ e((e, t) => /^\s*classDiagram/.test(e) && t?.class?.defaultRenderer === "dagre-wrapper" ? !0 : /^\s*classDiagram-v2/.test(e), "detector"),
|
|
1644
|
-
loader: /* @__PURE__ */ e(async () => {
|
|
1645
|
-
let { diagram: e } = await import("./classDiagram-v2-OCEON4UE-Bl-vyFyz.js");
|
|
1646
|
-
return {
|
|
1647
|
-
id: ma,
|
|
1648
|
-
diagram: e
|
|
1649
|
-
};
|
|
1650
|
-
}, "loader")
|
|
1651
|
-
}, ga = "state", _a = {
|
|
1652
|
-
id: ga,
|
|
1653
|
-
detector: /* @__PURE__ */ e((e, t) => t?.state?.defaultRenderer !== "dagre-wrapper" && /^\s*stateDiagram/.test(e), "detector"),
|
|
1654
|
-
loader: /* @__PURE__ */ e(async () => {
|
|
1655
|
-
let { diagram: e } = await import("./stateDiagram-OKZ733FA-BfcOAK65.js");
|
|
1656
|
-
return {
|
|
1657
|
-
id: ga,
|
|
1658
|
-
diagram: e
|
|
1659
|
-
};
|
|
1660
|
-
}, "loader")
|
|
1661
|
-
}, va = "stateDiagram", ya = {
|
|
1662
|
-
id: va,
|
|
1663
|
-
detector: /* @__PURE__ */ e((e, t) => !!(/^\s*stateDiagram-v2/.test(e) || /^\s*stateDiagram/.test(e) && t?.state?.defaultRenderer === "dagre-wrapper"), "detector"),
|
|
1664
|
-
loader: /* @__PURE__ */ e(async () => {
|
|
1665
|
-
let { diagram: e } = await import("./stateDiagram-v2-UEYNNEHI-BHO-uUPG.js");
|
|
1666
|
-
return {
|
|
1667
|
-
id: va,
|
|
1668
|
-
diagram: e
|
|
1669
|
-
};
|
|
1670
|
-
}, "loader")
|
|
1671
|
-
}, ba = "journey", xa = {
|
|
1672
|
-
id: ba,
|
|
1673
|
-
detector: /* @__PURE__ */ e((e) => /^\s*journey/.test(e), "detector"),
|
|
1674
|
-
loader: /* @__PURE__ */ e(async () => {
|
|
1675
|
-
let { diagram: e } = await import("./journeyDiagram-NVQOT4AX-BPCuqjbW.js");
|
|
1676
|
-
return {
|
|
1677
|
-
id: ba,
|
|
1678
|
-
diagram: e
|
|
1679
|
-
};
|
|
1680
|
-
}, "loader")
|
|
1681
|
-
}, Sa = { draw: /* @__PURE__ */ e((e, t, r) => {
|
|
1682
|
-
n.debug("rendering svg for syntax error\n");
|
|
1683
|
-
let i = De(t), a = i.append("g");
|
|
1684
|
-
i.attr("viewBox", "0 0 2412 512"), b(i, 100, 512, !0), a.append("path").attr("class", "error-icon").attr("d", "m411.313,123.313c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32-9.375,9.375-20.688-20.688c-12.484-12.5-32.766-12.5-45.25,0l-16,16c-1.261,1.261-2.304,2.648-3.31,4.051-21.739-8.561-45.324-13.426-70.065-13.426-105.867,0-192,86.133-192,192s86.133,192 192,192 192-86.133 192-192c0-24.741-4.864-48.327-13.426-70.065 1.402-1.007 2.79-2.049 4.051-3.31l16-16c12.5-12.492 12.5-32.758 0-45.25l-20.688-20.688 9.375-9.375 32.001-31.999zm-219.313,100.687c-52.938,0-96,43.063-96,96 0,8.836-7.164,16-16,16s-16-7.164-16-16c0-70.578 57.422-128 128-128 8.836,0 16,7.164 16,16s-7.164,16-16,16z"), a.append("path").attr("class", "error-icon").attr("d", "m459.02,148.98c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l16,16c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16.001-16z"), a.append("path").attr("class", "error-icon").attr("d", "m340.395,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16-16c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l15.999,16z"), a.append("path").attr("class", "error-icon").attr("d", "m400,64c8.844,0 16-7.164 16-16v-32c0-8.836-7.156-16-16-16-8.844,0-16,7.164-16,16v32c0,8.836 7.156,16 16,16z"), a.append("path").attr("class", "error-icon").attr("d", "m496,96.586h-32c-8.844,0-16,7.164-16,16 0,8.836 7.156,16 16,16h32c8.844,0 16-7.164 16-16 0-8.836-7.156-16-16-16z"), a.append("path").attr("class", "error-icon").attr("d", "m436.98,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688l32-32c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32c-6.251,6.25-6.251,16.375-0.001,22.625z"), a.append("text").attr("class", "error-text").attr("x", 1440).attr("y", 250).attr("font-size", "150px").style("text-anchor", "middle").text("Syntax error in text"), a.append("text").attr("class", "error-text").attr("x", 1250).attr("y", 400).attr("font-size", "100px").style("text-anchor", "middle").text(`mermaid version ${r}`);
|
|
1685
|
-
}, "draw") }, Ca = Sa, wa = {
|
|
1686
|
-
db: {},
|
|
1687
|
-
renderer: Sa,
|
|
1688
|
-
parser: { parse: /* @__PURE__ */ e(() => {}, "parse") }
|
|
1689
|
-
}, Ta = "flowchart-elk", Ea = {
|
|
1690
|
-
id: Ta,
|
|
1691
|
-
detector: /* @__PURE__ */ e((e, t = {}) => /^\s*flowchart-elk/.test(e) || /^\s*(flowchart|graph)/.test(e) && t?.flowchart?.defaultRenderer === "elk" ? (t.layout = "elk", !0) : !1, "detector"),
|
|
1692
|
-
loader: /* @__PURE__ */ e(async () => {
|
|
1693
|
-
let { diagram: e } = await import("./flowDiagram-UKHOOZJN-Co0JpKUU.js");
|
|
1694
|
-
return {
|
|
1695
|
-
id: Ta,
|
|
1696
|
-
diagram: e
|
|
1697
|
-
};
|
|
1698
|
-
}, "loader")
|
|
1699
|
-
}, Da = "timeline", Oa = {
|
|
1700
|
-
id: Da,
|
|
1701
|
-
detector: /* @__PURE__ */ e((e) => /^\s*timeline/.test(e), "detector"),
|
|
1702
|
-
loader: /* @__PURE__ */ e(async () => {
|
|
1703
|
-
let { diagram: e } = await import("./timeline-definition-Z64GVDOM-rUKJY7cp.js");
|
|
1704
|
-
return {
|
|
1705
|
-
id: Da,
|
|
1706
|
-
diagram: e
|
|
1707
|
-
};
|
|
1708
|
-
}, "loader")
|
|
1709
|
-
}, ka = "mindmap", Aa = {
|
|
1710
|
-
id: ka,
|
|
1711
|
-
detector: /* @__PURE__ */ e((e) => /^\s*mindmap/.test(e), "detector"),
|
|
1712
|
-
loader: /* @__PURE__ */ e(async () => {
|
|
1713
|
-
let { diagram: e } = await import("./mindmap-definition-FAOFIHXS-B_k8KOvw.js");
|
|
1714
|
-
return {
|
|
1715
|
-
id: ka,
|
|
1716
|
-
diagram: e
|
|
1717
|
-
};
|
|
1718
|
-
}, "loader")
|
|
1719
|
-
}, ja = "kanban", Ma = {
|
|
1720
|
-
id: ja,
|
|
1721
|
-
detector: /* @__PURE__ */ e((e) => /^\s*kanban/.test(e), "detector"),
|
|
1722
|
-
loader: /* @__PURE__ */ e(async () => {
|
|
1723
|
-
let { diagram: e } = await import("./kanban-definition-27J2QSJJ-D1pVuCv2.js");
|
|
1724
|
-
return {
|
|
1725
|
-
id: ja,
|
|
1726
|
-
diagram: e
|
|
1727
|
-
};
|
|
1728
|
-
}, "loader")
|
|
1729
|
-
}, Na = "sankey", Pa = {
|
|
1730
|
-
id: Na,
|
|
1731
|
-
detector: /* @__PURE__ */ e((e) => /^\s*sankey(-beta)?/.test(e), "detector"),
|
|
1732
|
-
loader: /* @__PURE__ */ e(async () => {
|
|
1733
|
-
let { diagram: e } = await import("./sankeyDiagram-W5VNT64P-BxYQllhE.js");
|
|
1734
|
-
return {
|
|
1735
|
-
id: Na,
|
|
1736
|
-
diagram: e
|
|
1737
|
-
};
|
|
1738
|
-
}, "loader")
|
|
1739
|
-
}, Fa = "packet", Ia = {
|
|
1740
|
-
id: Fa,
|
|
1741
|
-
detector: /* @__PURE__ */ e((e) => /^\s*packet(-beta)?/.test(e), "detector"),
|
|
1742
|
-
loader: /* @__PURE__ */ e(async () => {
|
|
1743
|
-
let { diagram: e } = await import("./diagram-LBJQPF4R-BbMQOpt2.js");
|
|
1744
|
-
return {
|
|
1745
|
-
id: Fa,
|
|
1746
|
-
diagram: e
|
|
1747
|
-
};
|
|
1748
|
-
}, "loader")
|
|
1749
|
-
}, La = "radar", Ra = {
|
|
1750
|
-
id: La,
|
|
1751
|
-
detector: /* @__PURE__ */ e((e) => /^\s*radar-beta/.test(e), "detector"),
|
|
1752
|
-
loader: /* @__PURE__ */ e(async () => {
|
|
1753
|
-
let { diagram: e } = await import("./diagram-UB23O5K3-C6rqCJBb.js");
|
|
1754
|
-
return {
|
|
1755
|
-
id: La,
|
|
1756
|
-
diagram: e
|
|
1757
|
-
};
|
|
1758
|
-
}, "loader")
|
|
1759
|
-
}, za = "block", Ba = {
|
|
1760
|
-
id: za,
|
|
1761
|
-
detector: /* @__PURE__ */ e((e) => /^\s*block(-beta)?/.test(e), "detector"),
|
|
1762
|
-
loader: /* @__PURE__ */ e(async () => {
|
|
1763
|
-
let { diagram: e } = await import("./blockDiagram-VBNYF7ZC-CnvNE8Hq.js");
|
|
1764
|
-
return {
|
|
1765
|
-
id: za,
|
|
1766
|
-
diagram: e
|
|
1767
|
-
};
|
|
1768
|
-
}, "loader")
|
|
1769
|
-
}, Va = "treeView", Ha = {
|
|
1770
|
-
id: Va,
|
|
1771
|
-
detector: /* @__PURE__ */ e((e) => /^\s*treeView-beta/.test(e), "detector"),
|
|
1772
|
-
loader: /* @__PURE__ */ e(async () => {
|
|
1773
|
-
let { diagram: e } = await import("./diagram-7IWD3JNH-BXvOBw2z.js");
|
|
1774
|
-
return {
|
|
1775
|
-
id: Va,
|
|
1776
|
-
diagram: e
|
|
1777
|
-
};
|
|
1778
|
-
}, "loader")
|
|
1779
|
-
}, Ua = "architecture", Wa = {
|
|
1780
|
-
id: Ua,
|
|
1781
|
-
detector: /* @__PURE__ */ e((e) => /^\s*architecture/.test(e), "detector"),
|
|
1782
|
-
loader: /* @__PURE__ */ e(async () => {
|
|
1783
|
-
let { diagram: e } = await import("./architectureDiagram-T3A2C74G-d7xzbLJQ.js");
|
|
1784
|
-
return {
|
|
1785
|
-
id: Ua,
|
|
1786
|
-
diagram: e
|
|
1787
|
-
};
|
|
1788
|
-
}, "loader")
|
|
1789
|
-
}, Ga = "eventmodeling", Ka = {
|
|
1790
|
-
id: Ga,
|
|
1791
|
-
detector: /* @__PURE__ */ e((e) => /^\s*eventmodeling/.test(e), "detector"),
|
|
1792
|
-
loader: /* @__PURE__ */ e(async () => {
|
|
1793
|
-
let { diagram: e } = await import("./diagram-B4RE2ZJO-DyAAD_bR.js");
|
|
1794
|
-
return {
|
|
1795
|
-
id: Ga,
|
|
1796
|
-
diagram: e
|
|
1797
|
-
};
|
|
1798
|
-
}, "loader")
|
|
1799
|
-
}, qa = "ishikawa", Ja = {
|
|
1800
|
-
id: qa,
|
|
1801
|
-
detector: /* @__PURE__ */ e((e) => /^\s*ishikawa(-beta)?\b/i.test(e), "detector"),
|
|
1802
|
-
loader: /* @__PURE__ */ e(async () => {
|
|
1803
|
-
let { diagram: e } = await import("./ishikawaDiagram-WSZJBQD7-BxEkaF2A.js");
|
|
1804
|
-
return {
|
|
1805
|
-
id: qa,
|
|
1806
|
-
diagram: e
|
|
1807
|
-
};
|
|
1808
|
-
}, "loader")
|
|
1809
|
-
}, Ya = "venn", Xa = {
|
|
1810
|
-
id: Ya,
|
|
1811
|
-
detector: /* @__PURE__ */ e((e) => /^\s*venn-beta/.test(e), "detector"),
|
|
1812
|
-
loader: /* @__PURE__ */ e(async () => {
|
|
1813
|
-
let { diagram: e } = await import("./vennDiagram-T6HMQDX7-vxMe-3nF.js");
|
|
1814
|
-
return {
|
|
1815
|
-
id: Ya,
|
|
1816
|
-
diagram: e
|
|
1817
|
-
};
|
|
1818
|
-
}, "loader")
|
|
1819
|
-
}, Za = "treemap", Qa = {
|
|
1820
|
-
id: Za,
|
|
1821
|
-
detector: /* @__PURE__ */ e((e) => /^\s*treemap/.test(e), "detector"),
|
|
1822
|
-
loader: /* @__PURE__ */ e(async () => {
|
|
1823
|
-
let { diagram: e } = await import("./diagram-Q27KOJAE-ink_R6qE.js");
|
|
1824
|
-
return {
|
|
1825
|
-
id: Za,
|
|
1826
|
-
diagram: e
|
|
1827
|
-
};
|
|
1828
|
-
}, "loader")
|
|
1829
|
-
}, $a = "wardley", eo = {
|
|
1830
|
-
id: $a,
|
|
1831
|
-
detector: /* @__PURE__ */ e((e) => /^\s*wardley-beta/i.test(e), "detector"),
|
|
1832
|
-
loader: /* @__PURE__ */ e(async () => {
|
|
1833
|
-
let { diagram: e } = await import("./wardleyDiagram-T6FBY63Y-C_Q2NmJu.js");
|
|
1834
|
-
return {
|
|
1835
|
-
id: $a,
|
|
1836
|
-
diagram: e
|
|
1837
|
-
};
|
|
1838
|
-
}, "loader")
|
|
1839
|
-
}, to = "cynefin", no = {
|
|
1840
|
-
id: to,
|
|
1841
|
-
detector: /* @__PURE__ */ e((e) => /^\s*cynefin-beta(?:[\s:]|$)/.test(e), "detector"),
|
|
1842
|
-
loader: /* @__PURE__ */ e(async () => {
|
|
1843
|
-
let { diagram: e } = await import("./cynefinDiagram-MW4NZA55-DbAAx9CC.js");
|
|
1844
|
-
return {
|
|
1845
|
-
id: to,
|
|
1846
|
-
diagram: e
|
|
1847
|
-
};
|
|
1848
|
-
}, "loader")
|
|
1849
|
-
}, ro = "railroad", io = {
|
|
1850
|
-
id: ro,
|
|
1851
|
-
detector: /* @__PURE__ */ e((e) => /^\s*railroad-beta/i.test(e), "detector"),
|
|
1852
|
-
loader: /* @__PURE__ */ e(async () => {
|
|
1853
|
-
let { diagram: e } = await import("./railroadDiagram-AXF67PYL-iLkvx2oU.js");
|
|
1854
|
-
return {
|
|
1855
|
-
id: ro,
|
|
1856
|
-
diagram: e
|
|
1857
|
-
};
|
|
1858
|
-
}, "loader")
|
|
1859
|
-
}, ao = "railroadEbnf", oo = {
|
|
1860
|
-
id: ao,
|
|
1861
|
-
detector: /* @__PURE__ */ e((e) => /^\s*railroad-ebnf-beta/i.test(e), "detector"),
|
|
1862
|
-
loader: /* @__PURE__ */ e(async () => {
|
|
1863
|
-
let { diagram: e } = await import("./ebnfDiagram-BXEA7PRR-C80cjdjP.js");
|
|
1864
|
-
return {
|
|
1865
|
-
id: ao,
|
|
1866
|
-
diagram: e
|
|
1867
|
-
};
|
|
1868
|
-
}, "loader")
|
|
1869
|
-
}, so = "railroadAbnf", co = {
|
|
1870
|
-
id: so,
|
|
1871
|
-
detector: /* @__PURE__ */ e((e) => /^\s*railroad-abnf-beta/i.test(e), "detector"),
|
|
1872
|
-
loader: /* @__PURE__ */ e(async () => {
|
|
1873
|
-
let { diagram: e } = await import("./abnfDiagram-N423BO3Z-DuAPsGBR.js");
|
|
1874
|
-
return {
|
|
1875
|
-
id: so,
|
|
1876
|
-
diagram: e
|
|
1877
|
-
};
|
|
1878
|
-
}, "loader")
|
|
1879
|
-
}, lo = "railroadPeg", uo = {
|
|
1880
|
-
id: lo,
|
|
1881
|
-
detector: /* @__PURE__ */ e((e) => /^\s*railroad-peg-beta/i.test(e), "detector"),
|
|
1882
|
-
loader: /* @__PURE__ */ e(async () => {
|
|
1883
|
-
let { diagram: e } = await import("./pegDiagram-VL7TDLO6-PP-A-3Lv.js");
|
|
1884
|
-
return {
|
|
1885
|
-
id: lo,
|
|
1886
|
-
diagram: e
|
|
1887
|
-
};
|
|
1888
|
-
}, "loader")
|
|
1889
|
-
}, fo = !1, po = /* @__PURE__ */ e(() => {
|
|
1890
|
-
fo || (fo = !0, l("error", wa, (e) => e.toLowerCase().trim() === "error"), l("---", {
|
|
1891
|
-
db: { clear: /* @__PURE__ */ e(() => {}, "clear") },
|
|
1892
|
-
styles: {},
|
|
1893
|
-
renderer: { draw: /* @__PURE__ */ e(() => {}, "draw") },
|
|
1894
|
-
parser: { parse: /* @__PURE__ */ e(() => {
|
|
1895
|
-
throw Error("Diagrams beginning with --- are not valid. If you were trying to use a YAML front-matter, please ensure that you've correctly opened and closed the YAML front-matter with un-indented `---` blocks");
|
|
1896
|
-
}, "parse") },
|
|
1897
|
-
init: /* @__PURE__ */ e(() => null, "init")
|
|
1898
|
-
}, (e) => e.toLowerCase().trimStart().startsWith("---")), u(Ea, Aa, Wa), u(Vi, Ma, ha, pa, Yi, $i, ta, ra, la, da, qi, Gi, Ui, Oa, Zi, ya, _a, xa, aa, Pa, Ia, sa, Ba, Ka, Ha, Ra, Ja, Qa, io, oo, co, uo, Xa, eo, no));
|
|
1899
|
-
}, "addDiagrams"), mo = /* @__PURE__ */ e(async () => {
|
|
1900
|
-
n.debug("Loading registered diagrams");
|
|
1901
|
-
let e = (await Promise.allSettled(Object.entries(S).map(async ([e, { detector: t, loader: r }]) => {
|
|
1902
|
-
if (r) try {
|
|
1903
|
-
f(e);
|
|
1904
|
-
} catch {
|
|
1905
|
-
try {
|
|
1906
|
-
let { diagram: e, id: n } = await r();
|
|
1907
|
-
l(n, e, t);
|
|
1908
|
-
} catch (t) {
|
|
1909
|
-
throw n.error(`Failed to load external diagram with key ${e}. Removing from detectors.`), delete S[e], t;
|
|
1910
|
-
}
|
|
1911
|
-
}
|
|
1912
|
-
}))).filter((e) => e.status === "rejected");
|
|
1913
|
-
if (e.length > 0) {
|
|
1914
|
-
n.error(`Failed to load ${e.length} external diagrams`);
|
|
1915
|
-
for (let t of e) n.error(t);
|
|
1916
|
-
throw Error(`Failed to load ${e.length} external diagrams`);
|
|
1917
|
-
}
|
|
1918
|
-
}, "loadRegisteredDiagrams"), ho = "graphics-document document";
|
|
1919
|
-
function go(e, t) {
|
|
1920
|
-
e.attr("role", ho), t !== "" && e.attr("aria-roledescription", t);
|
|
1921
|
-
}
|
|
1922
|
-
e(go, "setA11yDiagramInfo");
|
|
1923
|
-
function _o(e, t, n, r) {
|
|
1924
|
-
if (e.insert !== void 0) {
|
|
1925
|
-
if (n) {
|
|
1926
|
-
let t = `chart-desc-${r}`;
|
|
1927
|
-
e.attr("aria-describedby", t), e.insert("desc", ":first-child").attr("id", t).text(n);
|
|
1928
|
-
}
|
|
1929
|
-
if (t) {
|
|
1930
|
-
let n = `chart-title-${r}`;
|
|
1931
|
-
e.attr("aria-labelledby", n), e.insert("title", ":first-child").attr("id", n).text(t);
|
|
1932
|
-
}
|
|
1933
|
-
}
|
|
1934
|
-
}
|
|
1935
|
-
e(_o, "addSVGa11yTitleDescription");
|
|
1936
|
-
var vo = class t {
|
|
1937
|
-
constructor(e, t, n, r, i) {
|
|
1938
|
-
this.type = e, this.text = t, this.db = n, this.parser = r, this.renderer = i;
|
|
1939
|
-
}
|
|
1940
|
-
static {
|
|
1941
|
-
e(this, "Diagram");
|
|
1942
|
-
}
|
|
1943
|
-
static async fromText(e, n = {}) {
|
|
1944
|
-
let r = y(), i = te(e, r);
|
|
1945
|
-
e = he(e) + "\n";
|
|
1946
|
-
try {
|
|
1947
|
-
f(i);
|
|
1948
|
-
} catch {
|
|
1949
|
-
let e = a(i);
|
|
1950
|
-
if (!e) throw new ae(`Diagram ${i} not found.`);
|
|
1951
|
-
let { id: t, diagram: n } = await e();
|
|
1952
|
-
l(t, n);
|
|
1953
|
-
}
|
|
1954
|
-
let { db: o, parser: s, renderer: c, init: u } = f(i);
|
|
1955
|
-
return s.parser && (s.parser.yy = o), o.clear?.(), u?.(r), n.title && o.setDiagramTitle?.(n.title), await s.parse(e), new t(i, e, o, s, c);
|
|
1956
|
-
}
|
|
1957
|
-
async render(e, t) {
|
|
1958
|
-
await this.renderer.draw(this.text, e, t, this);
|
|
1959
|
-
}
|
|
1960
|
-
getParser() {
|
|
1961
|
-
return this.parser;
|
|
1962
|
-
}
|
|
1963
|
-
getType() {
|
|
1964
|
-
return this.type;
|
|
1965
|
-
}
|
|
1966
|
-
}, yo = [], bo = /* @__PURE__ */ e(() => {
|
|
1967
|
-
yo.forEach((e) => {
|
|
1968
|
-
e();
|
|
1969
|
-
}), yo = [];
|
|
1970
|
-
}, "attachFunctions"), xo = /* @__PURE__ */ e((e) => e.replace(/^\s*%%(?!{)[^\n]+\n?/gm, "").trimStart(), "cleanupComments");
|
|
1971
|
-
function So(e) {
|
|
1972
|
-
let t = e.match(v);
|
|
1973
|
-
if (!t) return {
|
|
1974
|
-
text: e,
|
|
1975
|
-
metadata: {}
|
|
1976
|
-
};
|
|
1977
|
-
let n = t[1], r = ei(n ? t[2].split("\n").map((e) => e.startsWith(n) ? e.slice(n.length) : e).join("\n") : t[2], { schema: $r }) ?? {};
|
|
1978
|
-
r = typeof r == "object" && !Array.isArray(r) ? r : {};
|
|
1979
|
-
let i = {};
|
|
1980
|
-
return r.displayMode && (i.displayMode = r.displayMode.toString()), r.title && (i.title = r.title.toString()), r.config && (i.config = r.config), {
|
|
1981
|
-
text: e.slice(t[0].length),
|
|
1982
|
-
metadata: i
|
|
1983
|
-
};
|
|
1984
|
-
}
|
|
1985
|
-
e(So, "extractFrontMatter");
|
|
1986
|
-
var Co = /* @__PURE__ */ e((e) => e.replace(/\r\n?/g, "\n").replace(/<(\w+)([^>]*)>/g, (e, t, n) => "<" + t + n.replace(/="([^"]*)"/g, "='$1'") + ">"), "cleanupText"), wo = /* @__PURE__ */ e((e) => {
|
|
1987
|
-
let { text: t, metadata: n } = So(e), { displayMode: r, title: i, config: a = {} } = n;
|
|
1988
|
-
return r && (a.gantt ||= {}, a.gantt.displayMode = r), {
|
|
1989
|
-
title: i,
|
|
1990
|
-
config: a,
|
|
1991
|
-
text: t
|
|
1992
|
-
};
|
|
1993
|
-
}, "processFrontmatter"), To = /* @__PURE__ */ e((e) => {
|
|
1994
|
-
let t = fe.detectInit(e) ?? {}, n = fe.detectDirective(e, "wrap");
|
|
1995
|
-
return Array.isArray(n) ? t.wrap = n.some(({ type: e }) => e === "wrap") : n?.type === "wrap" && (t.wrap = !0), {
|
|
1996
|
-
text: pe(e),
|
|
1997
|
-
directive: t
|
|
1998
|
-
};
|
|
1999
|
-
}, "processDirectives");
|
|
2000
|
-
function Eo(e) {
|
|
2001
|
-
let t = wo(Co(e)), n = To(t.text), r = me(t.config, n.directive);
|
|
2002
|
-
return e = xo(n.text), {
|
|
2003
|
-
code: e,
|
|
2004
|
-
title: t.title,
|
|
2005
|
-
config: r
|
|
2006
|
-
};
|
|
2007
|
-
}
|
|
2008
|
-
e(Eo, "preprocessDiagram");
|
|
2009
|
-
function Do(e) {
|
|
2010
|
-
let t = new TextEncoder().encode(e), n = Array.from(t, (e) => String.fromCodePoint(e)).join("");
|
|
2011
|
-
return btoa(n);
|
|
2012
|
-
}
|
|
2013
|
-
e(Do, "toBase64");
|
|
2014
|
-
var Oo = 5e4, ko = "graph TB;a[Maximum text size in diagram exceeded];style a fill:#faa", Ao = "sandbox", jo = "loose", Mo = "http://www.w3.org/2000/svg", No = "http://www.w3.org/1999/xlink", Po = "http://www.w3.org/1999/xhtml", Fo = "100%", Io = "100%", Lo = "border:0;margin:0;", Ro = "margin:0", zo = "allow-top-navigation-by-user-activation allow-popups", Bo = "The \"iframe\" tag is not supported by your browser.", Vo = ["foreignobject"], Ho = ["dominant-baseline"];
|
|
2015
|
-
function Uo(e) {
|
|
2016
|
-
let t = Eo(e);
|
|
2017
|
-
return s(), C(t.config ?? {}), t;
|
|
2018
|
-
}
|
|
2019
|
-
e(Uo, "processAndSetConfigs");
|
|
2020
|
-
async function Wo(e, t) {
|
|
2021
|
-
po();
|
|
2022
|
-
try {
|
|
2023
|
-
let { code: t, config: n } = Uo(e);
|
|
2024
|
-
return {
|
|
2025
|
-
diagramType: (await ns(t)).type,
|
|
2026
|
-
config: n
|
|
2027
|
-
};
|
|
2028
|
-
} catch (e) {
|
|
2029
|
-
if (t?.suppressErrors) return !1;
|
|
2030
|
-
throw e;
|
|
2031
|
-
}
|
|
2032
|
-
}
|
|
2033
|
-
e(Wo, "parse");
|
|
2034
|
-
var Go = /* @__PURE__ */ e((e, t, n = []) => `.${e} ${t} ${c(`{ ${n.join(" !important; ")} !important; }`)}`, "cssImportantStyles"), Ko = /* @__PURE__ */ e((e, t = /* @__PURE__ */ new Map()) => {
|
|
2035
|
-
let n = new CSSStyleSheet();
|
|
2036
|
-
if (e.fontFamily !== void 0 && n.insertRule(`:root { --mermaid-font-family: ${e.fontFamily}}`, n.cssRules.length), e.altFontFamily !== void 0 && n.insertRule(`:root { --mermaid-alt-font-family: ${e.altFontFamily}}`, n.cssRules.length), t instanceof Map) {
|
|
2037
|
-
let r = p(e) ? ["> *", "span"] : [
|
|
2038
|
-
"rect",
|
|
2039
|
-
"polygon",
|
|
2040
|
-
"ellipse",
|
|
2041
|
-
"circle",
|
|
2042
|
-
"path"
|
|
2043
|
-
];
|
|
2044
|
-
t.forEach((e) => {
|
|
2045
|
-
ke(e.styles) || r.forEach((t) => {
|
|
2046
|
-
n.insertRule(Go(e.id, t, e.styles), n.cssRules.length);
|
|
2047
|
-
}), ke(e.textStyles) || n.insertRule(Go(e.id, "tspan", (e?.textStyles || []).map((e) => e.replace("color", "fill"))), n.cssRules.length);
|
|
2048
|
-
});
|
|
2049
|
-
}
|
|
2050
|
-
let r = "";
|
|
2051
|
-
if (e.themeCSS !== void 0) {
|
|
2052
|
-
if (typeof n.replaceSync == "function") {
|
|
2053
|
-
let t = new CSSStyleSheet();
|
|
2054
|
-
t.replaceSync(e.themeCSS), r = x(t) + "\n";
|
|
2055
|
-
} else r += `${e.themeCSS}
|
|
2056
|
-
`;
|
|
2057
|
-
}
|
|
2058
|
-
return r + x(n);
|
|
2059
|
-
}, "createCssStyles"), qo = /* @__PURE__ */ e((t, r) => Li(Mi(`${t}{${r}}`), zi([/* @__PURE__ */ e(function(e, r, i, a) {
|
|
2060
|
-
if (e.type === "rule" && Array.isArray(e.props)) {
|
|
2061
|
-
if (e.parent && e.parent.type === "@keyframes") return;
|
|
2062
|
-
e.props = e.props.map((n) => n === t && Array.isArray(e.children) && e.children.every((e) => e.type === "decl" && (/* @__PURE__ */ new Set([
|
|
2063
|
-
"font-family",
|
|
2064
|
-
"font-size",
|
|
2065
|
-
"fill"
|
|
2066
|
-
])).has(e.props)) || (n.startsWith(`${t} `) || n.startsWith(`${t}>`)) && !n.startsWith(`${t} ||`) ? n : `${t} ${n}`);
|
|
2067
|
-
} else e.type.startsWith("@") && ([
|
|
2068
|
-
"@media",
|
|
2069
|
-
"@supports",
|
|
2070
|
-
"@layer",
|
|
2071
|
-
"@scope",
|
|
2072
|
-
"@container",
|
|
2073
|
-
"@starting-style",
|
|
2074
|
-
"@keyframes"
|
|
2075
|
-
].includes(e.type) || (n.warn(`Removing unsupported at-rule ${e.type} from CSS`), e.type = ti));
|
|
2076
|
-
}, "addNamespace"), Ri])), "compileCSS"), Jo = /* @__PURE__ */ e((e, t, n, r) => {
|
|
2077
|
-
let i = Ko(e, n);
|
|
2078
|
-
return qo(r, g(t, i, {
|
|
2079
|
-
...e.themeVariables,
|
|
2080
|
-
theme: e.theme,
|
|
2081
|
-
look: e.look
|
|
2082
|
-
}, r));
|
|
2083
|
-
}, "createUserStyles"), Yo = /* @__PURE__ */ e((e = "", t, n) => {
|
|
2084
|
-
let r = e;
|
|
2085
|
-
return !n && !t && (r = r.replace(/marker-end="url\([\d+./:=?A-Za-z-]*?#/g, "marker-end=\"url(#")), r = w(r), r = r.replace(/<br>/g, "<br/>"), r;
|
|
2086
|
-
}, "cleanUpSvgCode"), Xo = /* @__PURE__ */ e((e = "", t) => `<iframe style="width:${Fo};height:${t?.viewBox?.baseVal?.height ? t.viewBox.baseVal.height + "px" : Io};${Lo}" src="data:text/html;charset=UTF-8;base64,${Do(`<body style="${Ro}">${e}</body>`)}" sandbox="${zo}">
|
|
2087
|
-
${Bo}
|
|
2088
|
-
</iframe>`, "putIntoIFrame"), Zo = /* @__PURE__ */ e((e, t, n, r, i) => {
|
|
2089
|
-
let a = e.append("div");
|
|
2090
|
-
a.attr("id", n), r && a.attr("style", r);
|
|
2091
|
-
let o = a.append("svg").attr("id", t).attr("width", "100%").attr("xmlns", Mo);
|
|
2092
|
-
return i && o.attr("xmlns:xlink", i), o.append("g"), e;
|
|
2093
|
-
}, "appendDivSvgG");
|
|
2094
|
-
function Qo(e, t) {
|
|
2095
|
-
return e.append("iframe").attr("id", t).attr("style", "width: 100%; height: 100%;").attr("sandbox", "");
|
|
2096
|
-
}
|
|
2097
|
-
e(Qo, "sandboxedIframe");
|
|
2098
|
-
var $o = /* @__PURE__ */ e((e, t, n, r) => {
|
|
2099
|
-
e.getElementById(t)?.remove(), e.getElementById(n)?.remove(), e.getElementById(r)?.remove();
|
|
2100
|
-
}, "removeExistingElements"), es = /* @__PURE__ */ e(async function(t, a, o) {
|
|
2101
|
-
po();
|
|
2102
|
-
let s = Uo(a);
|
|
2103
|
-
a = s.code;
|
|
2104
|
-
let c = y();
|
|
2105
|
-
n.debug(c), a.length > (c?.maxTextSize ?? Oo) && (a = ko);
|
|
2106
|
-
let l = `#${t}`, u = "i" + t, d = "#" + u, f = "d" + t, p = "#" + f, m = /* @__PURE__ */ e(() => {
|
|
2107
|
-
let e = r(g ? d : p).node();
|
|
2108
|
-
e && "remove" in e && e.remove();
|
|
2109
|
-
}, "removeTempElements"), h = r(document.body), g = c.securityLevel === Ao, _ = c.securityLevel === jo, v = c.fontFamily;
|
|
2110
|
-
if (o !== void 0) {
|
|
2111
|
-
if (o && (o.innerHTML = ""), g) {
|
|
2112
|
-
let e = Qo(r(o), u);
|
|
2113
|
-
h = r(e.nodes()[0].contentDocument.body), h.node().style.margin = "0";
|
|
2114
|
-
} else h = r(o);
|
|
2115
|
-
Zo(h, t, f, `font-family: ${v}`, No);
|
|
2116
|
-
} else {
|
|
2117
|
-
if ($o(document, t, f, u), g) {
|
|
2118
|
-
let e = Qo(r(document.body), u);
|
|
2119
|
-
h = r(e.nodes()[0].contentDocument.body), h.node().style.margin = "0";
|
|
2120
|
-
} else h = r("body");
|
|
2121
|
-
Zo(h, t, f);
|
|
2122
|
-
}
|
|
2123
|
-
let b, x;
|
|
2124
|
-
try {
|
|
2125
|
-
b = await vo.fromText(a, { title: s.title });
|
|
2126
|
-
} catch (e) {
|
|
2127
|
-
if (c.suppressErrorRendering) throw m(), e;
|
|
2128
|
-
b = await vo.fromText("error"), x = e;
|
|
2129
|
-
}
|
|
2130
|
-
let S = h.select(p).node(), C = b.type, te = S.firstChild, ne = te.firstChild, re = b.renderer.getClasses?.(a, b), ie = Jo(c, C, re, l), ae = document.createElement("style");
|
|
2131
|
-
ae.innerHTML = ie, te.insertBefore(ae, ne);
|
|
2132
|
-
try {
|
|
2133
|
-
await b.renderer.draw(a, t, "11.16.1", b);
|
|
2134
|
-
} catch (e) {
|
|
2135
|
-
throw c.suppressErrorRendering ? m() : Ca.draw(a, t, "11.16.1"), e;
|
|
2136
|
-
}
|
|
2137
|
-
let oe = h.select(`${p} svg`), se = b.db.getAccTitle?.(), ce = b.db.getAccDescription?.();
|
|
2138
|
-
rs(C, oe, se, ce), h.select(`[id="${t}"]`).selectAll("foreignobject > *").attr("xmlns", Po);
|
|
2139
|
-
let w = h.select(p).node().innerHTML;
|
|
2140
|
-
if (n.debug("config.arrowMarkerAbsolute", c.arrowMarkerAbsolute), w = Yo(w, g, ee(c.arrowMarkerAbsolute)), g) {
|
|
2141
|
-
let e = h.select(p + " svg").node();
|
|
2142
|
-
w = Xo(w, e);
|
|
2143
|
-
} else _ || (w = i.sanitize(w, {
|
|
2144
|
-
ADD_TAGS: Vo,
|
|
2145
|
-
ADD_ATTR: Ho,
|
|
2146
|
-
HTML_INTEGRATION_POINTS: { foreignobject: !0 }
|
|
2147
|
-
}));
|
|
2148
|
-
if (bo(), x) throw x;
|
|
2149
|
-
return m(), {
|
|
2150
|
-
diagramType: C,
|
|
2151
|
-
svg: w,
|
|
2152
|
-
bindFunctions: b.db.bindFunctions
|
|
2153
|
-
};
|
|
2154
|
-
}, "render");
|
|
2155
|
-
function ts(e = {}) {
|
|
2156
|
-
let n = re({}, e);
|
|
2157
|
-
n?.fontFamily && !n.themeVariables?.fontFamily && (n.themeVariables ||= {}, n.themeVariables.fontFamily = n.fontFamily), m(n), n?.theme && n.theme in _ ? n.themeVariables = _[n.theme].getThemeVariables(n.themeVariables) : n && (n.themeVariables = _.default.getThemeVariables(n.themeVariables));
|
|
2158
|
-
let r = typeof n == "object" ? ne(n) : o();
|
|
2159
|
-
t(r.logLevel), po();
|
|
2160
|
-
}
|
|
2161
|
-
e(ts, "initialize");
|
|
2162
|
-
var ns = /* @__PURE__ */ e((e, t = {}) => {
|
|
2163
|
-
let { code: n } = Eo(e);
|
|
2164
|
-
return vo.fromText(n, t);
|
|
2165
|
-
}, "getDiagramFromText");
|
|
2166
|
-
function rs(e, t, n, r) {
|
|
2167
|
-
go(t, e), _o(t, n, r, t.attr("id"));
|
|
2168
|
-
}
|
|
2169
|
-
e(rs, "addA11yInfo");
|
|
2170
|
-
var Q = Object.freeze({
|
|
2171
|
-
render: es,
|
|
2172
|
-
parse: Wo,
|
|
2173
|
-
getDiagramFromText: ns,
|
|
2174
|
-
initialize: ts,
|
|
2175
|
-
getConfig: y,
|
|
2176
|
-
setConfig: h,
|
|
2177
|
-
getSiteConfig: o,
|
|
2178
|
-
updateSiteConfig: d,
|
|
2179
|
-
reset: /* @__PURE__ */ e(() => {
|
|
2180
|
-
s();
|
|
2181
|
-
}, "reset"),
|
|
2182
|
-
globalReset: /* @__PURE__ */ e(() => {
|
|
2183
|
-
s(oe);
|
|
2184
|
-
}, "globalReset"),
|
|
2185
|
-
defaultConfig: oe
|
|
2186
|
-
});
|
|
2187
|
-
t(y().logLevel), s(y());
|
|
2188
|
-
var is = /* @__PURE__ */ e((e, t, r) => {
|
|
2189
|
-
n.warn(e), de(e) ? (r && r(e.str, e.hash), t.push({
|
|
2190
|
-
...e,
|
|
2191
|
-
message: e.str,
|
|
2192
|
-
error: e
|
|
2193
|
-
})) : (r && r(e), e instanceof Error && t.push({
|
|
2194
|
-
str: e.message,
|
|
2195
|
-
message: e.message,
|
|
2196
|
-
hash: e.name,
|
|
2197
|
-
error: e
|
|
2198
|
-
}));
|
|
2199
|
-
}, "handleError"), as = /* @__PURE__ */ e(async function(e = { querySelector: ".mermaid" }) {
|
|
2200
|
-
try {
|
|
2201
|
-
await os(e);
|
|
2202
|
-
} catch (t) {
|
|
2203
|
-
if (de(t) && n.error(t.str), $.parseError && $.parseError(t), !e.suppressErrors) throw n.error("Use the suppressErrors option to suppress these errors"), t;
|
|
2204
|
-
}
|
|
2205
|
-
}, "run"), os = /* @__PURE__ */ e(async function({ postRenderCallback: e, querySelector: t, nodes: r } = { querySelector: ".mermaid" }) {
|
|
2206
|
-
let i = Q.getConfig();
|
|
2207
|
-
n.debug(`${e ? "" : "No "}Callback function found`);
|
|
2208
|
-
let a;
|
|
2209
|
-
if (r) a = r;
|
|
2210
|
-
else if (t) a = document.querySelectorAll(t);
|
|
2211
|
-
else throw Error("Nodes and querySelector are both undefined");
|
|
2212
|
-
n.debug(`Found ${a.length} diagrams`), i?.startOnLoad !== void 0 && (n.debug("Start On Load: " + i?.startOnLoad), Q.updateSiteConfig({ startOnLoad: i?.startOnLoad }));
|
|
2213
|
-
let o = new fe.InitIDGenerator(i.deterministicIds, i.deterministicIDSeed), s, c = [];
|
|
2214
|
-
for (let t of Array.from(a)) {
|
|
2215
|
-
if (n.info("Rendering diagram: " + t.id), t.getAttribute("data-processed")) continue;
|
|
2216
|
-
t.setAttribute("data-processed", "true");
|
|
2217
|
-
let r = `mermaid-${o.next()}`;
|
|
2218
|
-
s = t.innerHTML, s = ye(fe.entityDecode(s)).trim().replace(/<br\s*\/?>/gi, "<br/>");
|
|
2219
|
-
let i = fe.detectInit(s);
|
|
2220
|
-
i && n.debug("Detected early reinit: ", i);
|
|
2221
|
-
try {
|
|
2222
|
-
let { svg: n, bindFunctions: i } = await gs(r, s, t);
|
|
2223
|
-
t.innerHTML = n, e && await e(r), i && i(t);
|
|
2224
|
-
} catch (e) {
|
|
2225
|
-
is(e, c, $.parseError);
|
|
2226
|
-
}
|
|
2227
|
-
}
|
|
2228
|
-
if (c.length > 0) throw c[0];
|
|
2229
|
-
}, "runThrowsErrors"), ss = /* @__PURE__ */ e(function(e) {
|
|
2230
|
-
Q.initialize(e);
|
|
2231
|
-
}, "initialize"), cs = /* @__PURE__ */ e(async function(e, t, r) {
|
|
2232
|
-
n.warn("mermaid.init is deprecated. Please use run instead."), e && ss(e);
|
|
2233
|
-
let i = {
|
|
2234
|
-
postRenderCallback: r,
|
|
2235
|
-
querySelector: ".mermaid"
|
|
2236
|
-
};
|
|
2237
|
-
typeof t == "string" ? i.querySelector = t : t && (i.nodes = t instanceof HTMLElement ? [t] : t), await as(i);
|
|
2238
|
-
}, "init"), ls = /* @__PURE__ */ e(async (e, { lazyLoad: t = !0 } = {}) => {
|
|
2239
|
-
po(), u(...e), t === !1 && await mo();
|
|
2240
|
-
}, "registerExternalDiagrams"), us = /* @__PURE__ */ e(function() {
|
|
2241
|
-
if ($.startOnLoad) {
|
|
2242
|
-
let { startOnLoad: e } = Q.getConfig();
|
|
2243
|
-
e && $.run().catch((e) => n.error("Mermaid failed to initialize", e));
|
|
2244
|
-
}
|
|
2245
|
-
}, "contentLoaded");
|
|
2246
|
-
typeof document < "u" && window.addEventListener("load", us, !1);
|
|
2247
|
-
var ds = /* @__PURE__ */ e(function(e) {
|
|
2248
|
-
$.parseError = e;
|
|
2249
|
-
}, "setParseErrorHandler"), fs = [], ps = !1, ms = /* @__PURE__ */ e(async () => {
|
|
2250
|
-
if (!ps) {
|
|
2251
|
-
for (ps = !0; fs.length > 0;) {
|
|
2252
|
-
let e = fs.shift();
|
|
2253
|
-
if (e) try {
|
|
2254
|
-
await e();
|
|
2255
|
-
} catch (e) {
|
|
2256
|
-
n.error("Error executing queue", e);
|
|
2257
|
-
}
|
|
2258
|
-
}
|
|
2259
|
-
ps = !1;
|
|
2260
|
-
}
|
|
2261
|
-
}, "executeQueue"), hs = /* @__PURE__ */ e(async (t, r) => new Promise((i, a) => {
|
|
2262
|
-
let o = /* @__PURE__ */ e(() => new Promise((e, o) => {
|
|
2263
|
-
Q.parse(t, r).then((t) => {
|
|
2264
|
-
e(t), i(t);
|
|
2265
|
-
}, (e) => {
|
|
2266
|
-
n.error("Error parsing", e), $.parseError?.(e), o(e), a(e);
|
|
2267
|
-
});
|
|
2268
|
-
}), "performCall");
|
|
2269
|
-
fs.push(o), ms().catch(a);
|
|
2270
|
-
}), "parse"), gs = /* @__PURE__ */ e((t, r, i) => new Promise((a, o) => {
|
|
2271
|
-
let s = /* @__PURE__ */ e(() => new Promise((e, s) => {
|
|
2272
|
-
Q.render(t, r, i).then((t) => {
|
|
2273
|
-
e(t), a(t);
|
|
2274
|
-
}, (e) => {
|
|
2275
|
-
n.error("Error parsing", e), $.parseError?.(e), s(e), o(e);
|
|
2276
|
-
});
|
|
2277
|
-
}), "performCall");
|
|
2278
|
-
fs.push(s), ms().catch(o);
|
|
2279
|
-
}), "render"), $ = {
|
|
2280
|
-
startOnLoad: !0,
|
|
2281
|
-
mermaidAPI: Q,
|
|
2282
|
-
parse: hs,
|
|
2283
|
-
render: gs,
|
|
2284
|
-
init: cs,
|
|
2285
|
-
run: as,
|
|
2286
|
-
registerExternalDiagrams: ls,
|
|
2287
|
-
registerLayoutLoaders: Me,
|
|
2288
|
-
initialize: ss,
|
|
2289
|
-
parseError: void 0,
|
|
2290
|
-
contentLoaded: us,
|
|
2291
|
-
setParseErrorHandler: ds,
|
|
2292
|
-
detectType: te,
|
|
2293
|
-
registerIconPacks: ve,
|
|
2294
|
-
getRegisteredDiagramsMetadata: /* @__PURE__ */ e(() => Object.keys(S).map((e) => ({ id: e })), "getRegisteredDiagramsMetadata")
|
|
2295
|
-
}, _s = $;
|
|
2296
|
-
//#endregion
|
|
2297
|
-
export { De as a, _s as default, Ne as i, ei as n, Pe as r, $r as t };
|