collabmd 0.1.30 → 0.1.32
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/dist/client/assets/{CodeMirrorEditor-UCMRAMCV-tj0_ycIx.js → CodeMirrorEditor-UCMRAMCV-Bg0dawOb.js} +1 -1
- package/dist/client/assets/{_basePickBy-B6kIfhzj.js → _basePickBy-Dv0sK1l7.js} +1 -1
- package/dist/client/assets/{_baseUniq-Bbn0_sHS.js → _baseUniq-DKYX57ji.js} +1 -1
- package/dist/client/assets/{ar-SA-NXDWD63E-BWO5oYxe.js → ar-SA-NXDWD63E-WivLHHDW.js} +1 -1
- package/dist/client/assets/{arc-BIqum3oD.js → arc-DrfYGhWk.js} +1 -1
- package/dist/client/assets/architecture-PBZL5I3N-DiglIZi9.js +1 -0
- package/dist/client/assets/{architectureDiagram-2XIMDMQ5-BPG5b65m.js → architectureDiagram-2XIMDMQ5-kYbOThe4.js} +1 -1
- package/dist/client/assets/{az-AZ-MXSORGZV-Cfw6Z5oY.js → az-AZ-MXSORGZV-DOdq1TKC.js} +1 -1
- package/dist/client/assets/{bg-BG-O6MV2KSF-CQmG3YpD.js → bg-BG-O6MV2KSF-CYucKuDS.js} +1 -1
- package/dist/client/assets/{blockDiagram-WCTKOSBZ-F38TRzI3.js → blockDiagram-WCTKOSBZ-GIgTqnhk.js} +1 -1
- package/dist/client/assets/{bn-IN-MMW2ORAC-DZKVshfk.js → bn-BD-T2VJNT7N-2OKWLCYa.js} +1 -1
- package/dist/client/assets/{bn-BD-T2VJNT7N-C4S6DZ6o.js → bn-IN-MMW2ORAC-DYr8kqNL.js} +1 -1
- package/dist/client/assets/{c4Diagram-IC4MRINW-DHwxcDlQ.js → c4Diagram-IC4MRINW-CkHO1i_L.js} +1 -1
- package/dist/client/assets/{ca-ES-MKBCGNOG-Do3aMgyu.js → ca-ES-MKBCGNOG-B9Aeb43I.js} +1 -1
- package/dist/client/assets/channel-CgsU9TSN.js +1 -0
- package/dist/client/assets/{chunk-4BX2VUAB-BqEY6cCE.js → chunk-4BX2VUAB-2e7V-uuE.js} +1 -1
- package/dist/client/assets/{chunk-55IACEB6-039iVf6v.js → chunk-55IACEB6-CpncB3ru.js} +1 -1
- package/dist/client/assets/{chunk-7E7YKBS2-BreG0gYL.js → chunk-7E7YKBS2-TdU92i9i.js} +1 -1
- package/dist/client/assets/{chunk-7R4GIKGN-BMrp52Pk.js → chunk-7R4GIKGN-mqd2GwMg.js} +2 -2
- package/dist/client/assets/{chunk-C72U2L5F-BLB26v5d.js → chunk-C72U2L5F-CJKQWBtz.js} +1 -1
- package/dist/client/assets/{chunk-EGIJ26TM-fG-0Yh0k.js → chunk-EGIJ26TM-C4nq20om.js} +1 -1
- package/dist/client/assets/{chunk-FMBD7UC4-EWK5Pt4D.js → chunk-FMBD7UC4-CMahlBa_.js} +1 -1
- package/dist/client/assets/{chunk-GEFDOKGD-DYHmaq-c.js → chunk-GEFDOKGD-Bs7FmFox.js} +1 -1
- package/dist/client/assets/chunk-GLR3WWYH-qQe2O5VQ.js +2 -0
- package/dist/client/assets/chunk-HHEYEP7N-DlevL8bq.js +1 -0
- package/dist/client/assets/{chunk-JSJVCQXG-B69YGtcQ.js → chunk-JSJVCQXG-DPQ9cPJt.js} +1 -1
- package/dist/client/assets/{chunk-KX2RTZJC-tuEC7hg1.js → chunk-KX2RTZJC-BTiOJb7N.js} +1 -1
- package/dist/client/assets/{chunk-KYZI473N-D4r5eMJZ.js → chunk-KYZI473N-CTSCuqRb.js} +1 -1
- package/dist/client/assets/{chunk-L3YUKLVL-CD9nJYL8.js → chunk-L3YUKLVL-CJZMBtKF.js} +1 -1
- package/dist/client/assets/{chunk-MX3YWQON-DqN0TF5Q.js → chunk-MX3YWQON-DQpSwRf6.js} +1 -1
- package/dist/client/assets/{chunk-NQ4KR5QH-BBX89uUa.js → chunk-NQ4KR5QH-CMJKI6Oj.js} +1 -1
- package/dist/client/assets/{chunk-NU2UP6EN-CGeKI3BV.js → chunk-NU2UP6EN-DlUENSHU.js} +4 -4
- package/dist/client/assets/{chunk-O4XLMI2P-DaS3COAu.js → chunk-O4XLMI2P-CcVxZh41.js} +1 -1
- package/dist/client/assets/{chunk-OZEHJAEY-BaBXI-8x.js → chunk-OZEHJAEY-DjBZbgu0.js} +1 -1
- package/dist/client/assets/{chunk-PQ6SQG4A-BY9_Srs_.js → chunk-PQ6SQG4A-D1AbThjy.js} +1 -1
- package/dist/client/assets/{chunk-PU5JKC2W-t0zUh6E3.js → chunk-PU5JKC2W-D_6N6t8f.js} +1 -1
- package/dist/client/assets/chunk-QZHKN3VN-CgLPFSk5.js +1 -0
- package/dist/client/assets/{chunk-R5LLSJPH-BjSMFnTi.js → chunk-R5LLSJPH-CkjKXM73.js} +1 -1
- package/dist/client/assets/{chunk-WL4C6EOR-zSV-8h7F.js → chunk-WL4C6EOR-axcuKSup.js} +1 -1
- package/dist/client/assets/{chunk-XIRO2GV7-2tirYN5A.js → chunk-XIRO2GV7-4wqVHjs_.js} +1 -1
- package/dist/client/assets/{chunk-XPW4576I-C0GpOUHf.js → chunk-XPW4576I-DJr4_4Yy.js} +1 -1
- package/dist/client/assets/{chunk-XZSTWKYB-DDkpyNVE.js → chunk-XZSTWKYB-C8Y_hIKZ.js} +1 -1
- package/dist/client/assets/{chunk-YBOYWFTD-CzyyfGQX.js → chunk-YBOYWFTD-CKg4ymFF.js} +1 -1
- package/dist/client/assets/{chunk-Z5NKEFVG-Dgem5v98.js → chunk-Z5NKEFVG-HOkYqaKa.js} +1 -1
- package/dist/client/assets/classDiagram-VBA2DB6C-BHZpvOxK.js +1 -0
- package/dist/client/assets/classDiagram-v2-RAHNMMFH-DA7HMUUs.js +1 -0
- package/dist/client/assets/clone-Dgi8Z4IL.js +1 -0
- package/dist/client/assets/{cose-bilkent-S5V4N54A-jZzFUguD.js → cose-bilkent-S5V4N54A-DASO2hrk.js} +1 -1
- package/dist/client/assets/{cs-CZ-V77HGUP7-DmZRJ2UO.js → cs-CZ-V77HGUP7-BDg-F0CJ.js} +1 -1
- package/dist/client/assets/{da-DK-I5RFNTM4-CRIiLQ-G.js → da-DK-I5RFNTM4-wtSQ0Jxa.js} +1 -1
- package/dist/client/assets/{dagre-fvYjRtTE.js → dagre-CfB3Fw33.js} +1 -1
- package/dist/client/assets/{dagre-KLK3FWXG-CAG8WeES.js → dagre-KLK3FWXG-CC7tq2Ky.js} +1 -1
- package/dist/client/assets/{de-DE-DTI4WUSC-MFge9MC3.js → de-CH-WLRDEVBV-C1swvmZy.js} +1 -1
- package/dist/client/assets/{de-CH-WLRDEVBV-k728UA4j.js → de-DE-DTI4WUSC-C0L6Nz8X.js} +1 -1
- package/dist/client/assets/{diagram-E7M64L7V-Bm5FD0I5.js → diagram-E7M64L7V-CMt7BN5M.js} +1 -1
- package/dist/client/assets/{diagram-IFDJBPK2-pqicH-av.js → diagram-IFDJBPK2-BFMBUGpd.js} +1 -1
- package/dist/client/assets/{diagram-P4PSJMXO-DwIXO27H.js → diagram-P4PSJMXO-CviA1xXr.js} +1 -1
- package/dist/client/assets/dist-8Igu3Ee_2.js +1 -0
- package/dist/client/assets/dist-B4uQVR_X.js +1 -0
- package/dist/client/assets/{dockerfile-C0qQqxf9.js → dockerfile-D8_6_FRV.js} +1 -1
- package/dist/client/assets/{drawio-editor-CTZtMo1J.js → drawio-editor-Br4qyh3r.js} +1 -1
- package/dist/client/assets/drawioEditor-ClmnTx5J.js +2 -0
- package/dist/client/assets/editor-session-Cf-iV5-3.js +16 -0
- package/dist/client/assets/{el-GR-ZXDJ2OS4-Bbz93mrG.js → el-GR-ZXDJ2OS4-BH0saXds.js} +1 -1
- package/dist/client/assets/embedded-editor-base-CgEkjNYn.css +1 -0
- package/dist/client/assets/{en-IQZW2TQM-CZeIyvu2.js → en-IQZW2TQM-CzlcEpq3.js} +1 -1
- package/dist/client/assets/{erDiagram-INFDFZHY-DlhPv4az.js → erDiagram-INFDFZHY-DlIf-fb7.js} +1 -1
- package/dist/client/assets/{es-ES-DYQHAD43-CReXU-Nn.js → es-ES-DYQHAD43-CyzL9Mni.js} +1 -1
- package/dist/client/assets/{eu-ES-QDSYU5Y3-jRpcaWwz.js → eu-ES-QDSYU5Y3-D2-x316S.js} +1 -1
- package/dist/client/assets/{excalidraw-editor-CBEWfuhb.js → excalidraw-editor-CXAxVhlw.js} +2 -2
- package/dist/client/assets/{excalidraw-mermaid-stub-efoh2lJm.js → excalidraw-mermaid-stub-Bwe-bKcT.js} +1 -1
- package/dist/client/assets/{excalidraw-scene-BL-OtvCd.js → excalidraw-scene-BF_bT1OL.js} +8 -8
- package/dist/client/assets/excalidrawEditor-DoH_kMdu.js +2 -0
- package/dist/client/assets/export-page-PeexH2QK.js +39 -0
- package/dist/client/assets/exportDocument-9wTrBZNS.css +1 -0
- package/dist/client/assets/exportDocument-Bia2hI25.js +2 -0
- package/dist/client/assets/{fa-IR-26LZG4PM-DP8pJ8e3.js → fa-IR-26LZG4PM-D8-trU2x.js} +1 -1
- package/dist/client/assets/{factor-2uy-lXe_.js → factor-Cz-hzBGH.js} +1 -1
- package/dist/client/assets/{fi-FI-6YS4KDE4-BLUDpNOj.js → fi-FI-6YS4KDE4-CCdRVFDQ.js} +1 -1
- package/dist/client/assets/file-kind-DBptLlF_.js +1 -0
- package/dist/client/assets/{flowDiagram-PKNHOUZH-BU4MOSq8.js → flowDiagram-PKNHOUZH-C_t-mkwb.js} +1 -1
- package/dist/client/assets/{fr-FR-BRLLPTZC-BoZz3Pi8.js → fr-FR-BRLLPTZC-Dqq-O5T_.js} +1 -1
- package/dist/client/assets/{ganttDiagram-A5KZAMGK-CbX67lZu.js → ganttDiagram-A5KZAMGK-BtK9Tb--.js} +1 -1
- package/dist/client/assets/gitGraph-HDMCJU4V-CT7YfbD3.js +1 -0
- package/dist/client/assets/{gitGraphDiagram-K3NZZRJ6-DhyvWcW1.js → gitGraphDiagram-K3NZZRJ6-DULDLGiJ.js} +1 -1
- package/dist/client/assets/{gl-ES-OKUZTLYG-CaEvhjDi.js → gl-ES-OKUZTLYG-BK7pbLbm.js} +1 -1
- package/dist/client/assets/{graphlib-DSzYgMXB.js → graphlib-BgRST-Qg.js} +1 -1
- package/dist/client/assets/{he-IL-26MGYIU7-DYOchgy9.js → he-IL-26MGYIU7-C3BuYKyY.js} +1 -1
- package/dist/client/assets/{hi-IN-Q4ZOGTP2-yRs8g46n.js → hi-IN-Q4ZOGTP2-BEvXWXnH.js} +1 -1
- package/dist/client/assets/{hu-HU-P2OXPSN5-1skPmtgc.js → hu-HU-P2OXPSN5-BWWZeJNp.js} +1 -1
- package/dist/client/assets/{id-ID-2EIKXYN6-iUugQJd9.js → id-ID-2EIKXYN6-DxSKi_aJ.js} +1 -1
- package/dist/client/assets/image-XLNPCCAD-CFiKwiWK.js +1 -0
- package/dist/client/assets/{index-CywRKxsk.js → index-C8QZYHvV.js} +2 -2
- package/dist/client/assets/index-CxSbUTs2.css +1 -0
- package/dist/client/assets/info-3K5VOQVL-DUpNyDC-.js +1 -0
- package/dist/client/assets/{infoDiagram-LFFYTUFH-Bap6MyHX.js → infoDiagram-LFFYTUFH-DFTI0nfs.js} +1 -1
- package/dist/client/assets/inter-cyrillic-ext-wght-normal-BOeWTOD4.woff2 +0 -0
- package/dist/client/assets/inter-cyrillic-wght-normal-DqGufNeO.woff2 +0 -0
- package/dist/client/assets/inter-greek-ext-wght-normal-DlzME5K_.woff2 +0 -0
- package/dist/client/assets/inter-greek-wght-normal-CkhJZR-_.woff2 +0 -0
- package/dist/client/assets/inter-latin-ext-wght-normal-DO1Apj_S.woff2 +0 -0
- package/dist/client/assets/inter-latin-wght-normal-Dx4kXJAl.woff2 +0 -0
- package/dist/client/assets/inter-vietnamese-wght-normal-CBcvBZtf.woff2 +0 -0
- package/dist/client/assets/{isEmpty-C7iPDOO3.js → isEmpty-CVvRj8fj.js} +1 -1
- package/dist/client/assets/{ishikawaDiagram-PHBUUO56-DbftskqN.js → ishikawaDiagram-PHBUUO56-DpBuDpC6.js} +1 -1
- package/dist/client/assets/{it-IT-4CFKVXI2-a5DFhzuI.js → it-IT-4CFKVXI2-BmA8wW6q.js} +1 -1
- package/dist/client/assets/{ja-JP-MAND2Z4V-DwogHVKd.js → ja-JP-MAND2Z4V-CLS1jI9o.js} +1 -1
- package/dist/client/assets/javascript-UJe68_xi.js +1 -0
- package/dist/client/assets/jetbrains-mono-cyrillic-400-normal-BEIGL1Tu.woff2 +0 -0
- package/dist/client/assets/jetbrains-mono-cyrillic-400-normal-ugxPyKxw.woff +0 -0
- package/dist/client/assets/jetbrains-mono-greek-400-normal-B9oWc5Lo.woff +0 -0
- package/dist/client/assets/jetbrains-mono-greek-400-normal-C190GLew.woff2 +0 -0
- package/dist/client/assets/jetbrains-mono-latin-400-normal-6-qcROiO.woff +0 -0
- package/dist/client/assets/jetbrains-mono-latin-400-normal-V6pRDFza.woff2 +0 -0
- package/dist/client/assets/jetbrains-mono-latin-ext-400-normal-Bc8Ftmh3.woff2 +0 -0
- package/dist/client/assets/jetbrains-mono-latin-ext-400-normal-fXTG6kC5.woff +0 -0
- package/dist/client/assets/jetbrains-mono-vietnamese-400-normal-CqNFfHCs.woff +0 -0
- package/dist/client/assets/{journeyDiagram-4ABVD52K-165YoX6B.js → journeyDiagram-4ABVD52K-DDur6iHm.js} +1 -1
- package/dist/client/assets/{kaa-HQRTCXTJ-p81XNRfH.js → kaa-HQRTCXTJ-W15DEDPz.js} +1 -1
- package/dist/client/assets/{kab-KAB-JKIKKTGH-mV5VzQZc.js → kab-KAB-JKIKKTGH-MLh1inqS.js} +1 -1
- package/dist/client/assets/{kanban-definition-K7BYSVSG-MlixoNyx.js → kanban-definition-K7BYSVSG-dA6NPLsg.js} +1 -1
- package/dist/client/assets/{kk-KZ-HXQ63ZFC-IIPX0GQv.js → kk-KZ-HXQ63ZFC-BtFrPeLs.js} +1 -1
- package/dist/client/assets/{km-KH-PKL3LSGX-D7WQFJuZ.js → km-KH-PKL3LSGX-xO5FyM9T.js} +1 -1
- package/dist/client/assets/{ko-KR-KXLREZX3-Bs1oLtJs.js → ko-KR-KXLREZX3-NZFoRybS.js} +1 -1
- package/dist/client/assets/{ku-TR-MJ4IER3X-DlxOs6aZ.js → ku-TR-MJ4IER3X-B5eVPIpK.js} +1 -1
- package/dist/client/assets/{line-D57TbKb7.js → line-B2GMovaI.js} +1 -1
- package/dist/client/assets/{linear-BIf852wI.js → linear-B2dOdA24.js} +1 -1
- package/dist/client/assets/{lt-LT-H6WFQ6FJ-xuo-3zKH.js → lt-LT-H6WFQ6FJ-D_7_OeJD.js} +1 -1
- package/dist/client/assets/{lv-LV-GOCK6SJW-C7S3M1nr.js → lv-LV-GOCK6SJW-CnpKr0oQ.js} +1 -1
- package/dist/client/assets/main-BjHHMlv0.js +1249 -0
- package/dist/client/assets/{mermaid-parser.core-lf87rdG-.js → mermaid-parser.core-B1ogGcR8.js} +2 -2
- package/dist/client/assets/{mermaid-runtime-C4a7TrTS.js → mermaid-runtime-Bn8A6DGx.js} +3 -3
- package/dist/client/assets/{mindmap-definition-YRQLILUH-_YbQSc4Q.js → mindmap-definition-YRQLILUH-DjQcsPoe.js} +1 -1
- package/dist/client/assets/{mr-IN-IXVLDMEQ-BsoowyZT.js → mr-IN-IXVLDMEQ-Pht2X_GK.js} +1 -1
- package/dist/client/assets/{my-MM-YG6MYTTD-DCqwN_K_.js → my-MM-YG6MYTTD-Cgq4HhPO.js} +1 -1
- package/dist/client/assets/{nb-NO-XGWJISD2-CZ5ytLgj.js → nb-NO-XGWJISD2-Bn_Bk2un.js} +1 -1
- package/dist/client/assets/{nl-NL-XVDVCPNC-wADsdb-h.js → nl-NL-XVDVCPNC-YkWSJS94.js} +1 -1
- package/dist/client/assets/{nn-NO-EMX5MJX5-D9zIKTL2.js → nn-NO-EMX5MJX5-DhP5eZJ7.js} +1 -1
- package/dist/client/assets/{nsis-CUd4RnvJ.js → nsis-QPGhLAeY.js} +1 -1
- package/dist/client/assets/{oc-FR-ROEINTVO-BSbBugJB.js → oc-FR-ROEINTVO-D3udMPnr.js} +1 -1
- package/dist/client/assets/{ordinal-B0PAtOQ6.js → ordinal-Dz3y_j0K.js} +1 -1
- package/dist/client/assets/{pa-IN-ZYN6SUDY-1pFA_3Pb.js → pa-IN-ZYN6SUDY-CR5YzFig.js} +1 -1
- package/dist/client/assets/packet-RMMSAZCW-DEwNbIrA.js +1 -0
- package/dist/client/assets/percentages-5DKR754L-D7n4T776.js +1 -0
- package/dist/client/assets/pie-UPGHQEXC-D5M_lSjo.js +1 -0
- package/dist/client/assets/{pieDiagram-SKSYHLDU-CqCgXFom.js → pieDiagram-SKSYHLDU-jhHouFpk.js} +1 -1
- package/dist/client/assets/{pl-PL-6VTG7PHC-DyYw0u_z.js → pl-PL-6VTG7PHC-_wZuoIDM.js} +1 -1
- package/dist/client/assets/preview-render-compiler-BjLlHmiQ.js +35 -0
- package/dist/client/assets/preview-render-compiler-Duy_3IcP.js +1 -0
- package/dist/client/assets/{preview-render-worker-BVbVXXPS.js → preview-render-worker-B4dH2yxj.js} +22 -22
- package/dist/client/assets/{pt-BR-5YFKRR5G-DJCCBBDl.js → pt-BR-5YFKRR5G-M7gIm2Hi.js} +1 -1
- package/dist/client/assets/{pt-PT-GEIXXZ67-BPJd09Ax.js → pt-PT-GEIXXZ67-CcxWpkGj.js} +1 -1
- package/dist/client/assets/{pug-BqBF8qF7.js → pug-DkUcLYWt.js} +1 -1
- package/dist/client/assets/{quadrantDiagram-337W2JSQ-B8eMuhg4.js → quadrantDiagram-337W2JSQ-CYKgdx7K.js} +1 -1
- package/dist/client/assets/quick-switcher-controller-DcyllYpm.js +5 -0
- package/dist/client/assets/radar-KQ55EAFF-AU1qh3Bw.js +1 -0
- package/dist/client/assets/{requirementDiagram-Z7DCOOCP-B6POvqz4.js → requirementDiagram-Z7DCOOCP-D9SHxoW7.js} +1 -1
- package/dist/client/assets/{ro-RO-E2P6TFZI-DWVyTV7V.js → ro-RO-E2P6TFZI-qR9noVzP.js} +1 -1
- package/dist/client/assets/{room-COWSP--i.js → room-yJaBAoEU.js} +1 -1
- package/dist/client/assets/{ru-RU-YBIIY43T-Dyar7CYM.js → ru-RU-YBIIY43T-CE4S_RX8.js} +1 -1
- package/dist/client/assets/{sankeyDiagram-WA2Y5GQK-CXRga6Op.js → sankeyDiagram-WA2Y5GQK-CfHe3D6R.js} +1 -1
- package/dist/client/assets/{sequenceDiagram-2WXFIKYE-CeSFlFx5.js → sequenceDiagram-2WXFIKYE-CZsMMqAJ.js} +1 -1
- package/dist/client/assets/{si-LK-673C2CI2-C61aLrIy.js → si-LK-673C2CI2-Bv6Avh3z.js} +1 -1
- package/dist/client/assets/{sk-SK-CKZHQ4AP-BlFwOxRD.js → sk-SK-CKZHQ4AP-Cnlpp55z.js} +1 -1
- package/dist/client/assets/{sl-SI-557H2GWM-DcAVW-_t.js → sl-SI-557H2GWM-BfGq7AQF.js} +1 -1
- package/dist/client/assets/{stateDiagram-RAJIS63D-DbewhqwJ.js → stateDiagram-RAJIS63D-CoNZjTYV.js} +1 -1
- package/dist/client/assets/stateDiagram-v2-FVOUBMTO-1zOw6NmQ.js +1 -0
- package/dist/client/assets/subset-shared.chunk-C9HjwTXy.js +1 -0
- package/dist/client/assets/{subset-worker.chunk-DVGT6bvR.js → subset-worker.chunk-BSCP6IiC.js} +1 -1
- package/dist/client/assets/{sv-SE-XOPKKDWS-BkhfOHzh.js → sv-SE-XOPKKDWS-B2_Vk-sp.js} +1 -1
- package/dist/client/assets/{ta-IN-XBH7DQI3-BIfwglZa.js → ta-IN-XBH7DQI3-BXQMZZIx.js} +1 -1
- package/dist/client/assets/{th-TH-TOCWH3R4-CkrxqVkf.js → th-TH-TOCWH3R4-C-ZIYMfH.js} +1 -1
- package/dist/client/assets/{timeline-definition-YZTLITO2-BXBHNWLQ.js → timeline-definition-YZTLITO2-DSe2mrG8.js} +1 -1
- package/dist/client/assets/{tr-TR-GXW6CYY5-CDdvG9rD.js → tr-TR-GXW6CYY5-dl702PMA.js} +1 -1
- package/dist/client/assets/treemap-KZPCXAKY-C9UI2fwP.js +1 -0
- package/dist/client/assets/{uk-UA-IJKTNUDG-DRHp0lWp.js → uk-UA-IJKTNUDG-CUYQvSSF.js} +1 -1
- package/dist/client/assets/{uz-UZ-TBZZEA4V-BIn-VE3Y.js → uz-UZ-TBZZEA4V-B9qw0PXX.js} +1 -1
- package/dist/client/assets/vault-api-client-Bf9tB_GW.js +1 -0
- package/dist/client/assets/vault-api-client-D7Ck0CvR.css +1 -0
- package/dist/client/assets/vault-utils-5Xr0MXCb.js +1 -0
- package/dist/client/assets/{vennDiagram-LZ73GAT5-C1hrSbf2.js → vennDiagram-LZ73GAT5-xSzaIpy1.js} +1 -1
- package/dist/client/assets/{vi-VN-MULSGNVB-Du7t5I0v.js → vi-VN-MULSGNVB-DqxZ_sVc.js} +1 -1
- package/dist/client/assets/{xychartDiagram-JWTSCODW-DhpWp8LV.js → xychartDiagram-JWTSCODW-C3vA70iJ.js} +1 -1
- package/dist/client/assets/{zh-CN-MVX3E32U-RcjS3rjt.js → zh-CN-MVX3E32U-BM0aLuGc.js} +1 -1
- package/dist/client/assets/{zh-HK-JNU5RLIE-g8UeEw5v.js → zh-HK-JNU5RLIE-dmG_YD0d.js} +1 -1
- package/dist/client/assets/{zh-TW-LENVCA6T-DwV25BqC.js → zh-TW-LENVCA6T-LFgbiOi3.js} +1 -1
- package/dist/client/drawio-editor.html +1 -1
- package/dist/client/excalidraw-editor.html +1 -1
- package/dist/client/export-document.html +3 -3
- package/dist/client/index.html +2 -2
- package/package.json +5 -1
- package/src/client/app/export-document.html +1 -1
- package/src/client/app/main-entry.js +2 -0
- package/src/client/application/app-shell/git-feature.js +28 -36
- package/src/client/application/app-shell/presence-feature.js +3 -1
- package/src/client/application/app-shell/workspace-feature.js +9 -0
- package/src/client/application/app-shell-elements.js +1 -0
- package/src/client/application/diagram-preview-hydrator.js +24 -15
- package/src/client/application/markdown-frontmatter.js +1 -56
- package/src/client/application/mermaid-preview-hydrator.js +121 -4
- package/src/client/application/plantuml-preview-hydrator.js +6 -16
- package/src/client/application/preview-render-compiler.js +50 -6
- package/src/client/application/preview-renderer.js +11 -2
- package/src/client/application/workspace-chrome-controller.js +25 -19
- package/src/client/application/workspace-coordinator.js +9 -0
- package/src/client/application/workspace-preview-controller.js +48 -3
- package/src/client/bootstrap/collabmd-app-shell.js +202 -52
- package/src/client/domain/excalidraw-document-switch.js +3 -0
- package/src/client/domain/vault-paths.js +19 -0
- package/src/client/excalidraw-editor.js +187 -84
- package/src/client/export/export-page.js +11 -3
- package/src/client/export/export-pipeline.js +77 -2
- package/src/client/infrastructure/auth-client.js +4 -4
- package/src/client/infrastructure/backlinks-api-client.js +18 -0
- package/src/client/infrastructure/comment-thread-store.js +4 -0
- package/src/client/infrastructure/editor-session.js +2 -0
- package/src/client/infrastructure/editor-view-adapter.js +8 -5
- package/src/client/infrastructure/git-api-client.js +134 -0
- package/src/client/infrastructure/plantuml-api-client.js +21 -0
- package/src/client/infrastructure/vault-api-client.js +121 -0
- package/src/client/presentation/app-shell-template.js +12 -0
- package/src/client/presentation/backlinks-panel.js +43 -20
- package/src/client/presentation/bases-preview-controller.js +463 -0
- package/src/client/presentation/excalidraw-embed-controller.js +251 -15
- package/src/client/presentation/excalidraw-embed-reconciler.js +0 -1
- package/src/client/presentation/file-action-controller.js +140 -0
- package/src/client/presentation/file-explorer-controller.js +2 -0
- package/src/client/presentation/file-explorer-view.js +378 -2
- package/src/client/presentation/file-history-view-controller.js +41 -40
- package/src/client/presentation/file-tree-state.js +9 -1
- package/src/client/presentation/git-diff-view-controller.js +70 -53
- package/src/client/presentation/git-panel-controller.js +12 -30
- package/src/client/presentation/quick-switcher-controller.js +54 -13
- package/src/client/styles/export-document.css +55 -0
- package/src/client/styles/features/auth-gate.css +13 -24
- package/src/client/styles/features/backlinks.css +65 -3
- package/src/client/styles/features/comment-card.css +6 -0
- package/src/client/styles/features/comments-drawer.css +38 -18
- package/src/client/styles/features/diagram-preview.css +33 -0
- package/src/client/styles/features/embedded-preview.css +37 -11
- package/src/client/styles/features/preview-markdown.css +285 -1
- package/src/client/styles/foundation/themes.css +4 -0
- package/src/client/styles/foundation/tokens.css +4 -3
- package/src/client/styles/layout/shell.css +8 -1
- package/src/client/styles/layout/sidebar.css +72 -0
- package/src/client/styles/layout/view-modes.css +5 -0
- package/src/domain/file-kind.js +17 -2
- package/src/domain/wiki-link-resolver.js +41 -23
- package/src/domain/yaml-frontmatter.js +59 -0
- package/src/server/auth/auth-common.js +224 -0
- package/src/server/auth/auth-constants.js +30 -0
- package/src/server/auth/auth-strategies.js +320 -0
- package/src/server/auth/create-auth-service.js +24 -545
- package/src/server/create-app-server.js +11 -2
- package/src/server/domain/backlink-index.js +102 -16
- package/src/server/domain/bases/base-definition.js +255 -0
- package/src/server/domain/bases/base-expression-runtime.js +1159 -0
- package/src/server/domain/bases/base-index-snapshot-store.js +418 -0
- package/src/server/domain/bases/base-query-results.js +205 -0
- package/src/server/domain/bases/base-query-service.js +204 -0
- package/src/server/domain/collaboration/collaboration-document-store.js +13 -2
- package/src/server/domain/collaboration/collaboration-room.js +36 -1
- package/src/server/domain/collaboration/room-client-state-store.js +1 -0
- package/src/server/domain/collaboration/room-persistence-controller.js +1 -1
- package/src/server/domain/workspace-state.js +52 -0
- package/src/server/infrastructure/http/create-request-handler.js +2 -0
- package/src/server/infrastructure/http/create-vault-api-command-handler.js +5 -0
- package/src/server/infrastructure/http/create-vault-api-handler.js +2 -0
- package/src/server/infrastructure/http/create-vault-api-query-handler.js +175 -1
- package/src/server/infrastructure/http/http-response.js +56 -0
- package/src/server/infrastructure/persistence/path-utils.js +1 -1
- package/src/server/infrastructure/persistence/vault-content-adapter.js +6 -0
- package/src/server/infrastructure/persistence/vault-file-store.js +124 -0
- package/src/server/infrastructure/workspace/file-system-sync-service.js +110 -19
- package/src/server/infrastructure/workspace/workspace-mutation-coordinator.js +15 -44
- package/dist/client/assets/architecture-PBZL5I3N-iRyVT2GQ.js +0 -1
- package/dist/client/assets/channel-s0w88EQN.js +0 -1
- package/dist/client/assets/chunk-GLR3WWYH-CQ1LryrI.js +0 -2
- package/dist/client/assets/chunk-HHEYEP7N-DOQ0PCdH.js +0 -1
- package/dist/client/assets/chunk-QZHKN3VN-B0v4d-CS.js +0 -1
- package/dist/client/assets/classDiagram-VBA2DB6C-BQqG4q1b.js +0 -1
- package/dist/client/assets/classDiagram-v2-RAHNMMFH-BUKbprX1.js +0 -1
- package/dist/client/assets/clone-C-n46MFF.js +0 -1
- package/dist/client/assets/dist-BqQjnEWr.js +0 -1
- package/dist/client/assets/drawioEditor-keSJVTcv.js +0 -2
- package/dist/client/assets/editor-session-C9l9XwVg.js +0 -16
- package/dist/client/assets/embedded-editor-base-DgmRcsR8.css +0 -1
- package/dist/client/assets/excalidrawEditor-Ws-fwGOc.js +0 -2
- package/dist/client/assets/export-page-B6xYnwy7.js +0 -39
- package/dist/client/assets/exportDocument-8JBw0p8O.js +0 -2
- package/dist/client/assets/exportDocument-CtX_4PSk.css +0 -1
- package/dist/client/assets/gitGraph-HDMCJU4V-kkuqHGSM.js +0 -1
- package/dist/client/assets/image-XLNPCCAD-B4wZgh-Y.js +0 -1
- package/dist/client/assets/index-R4OArFku.css +0 -1
- package/dist/client/assets/info-3K5VOQVL-DPN78whf.js +0 -1
- package/dist/client/assets/javascript-8DvdgifH.js +0 -1
- package/dist/client/assets/main-CB97rY6B.js +0 -1213
- package/dist/client/assets/packet-RMMSAZCW-BymvQ5cQ.js +0 -1
- package/dist/client/assets/percentages-5DKR754L-CiI2D7zA.js +0 -1
- package/dist/client/assets/pie-UPGHQEXC-MmzJzWOE.js +0 -1
- package/dist/client/assets/preview-render-compiler-TmHpBDlh.js +0 -1
- package/dist/client/assets/preview-render-compiler-aYpnXmNm.js +0 -35
- package/dist/client/assets/quick-switcher-controller-DplOTsT3.js +0 -5
- package/dist/client/assets/radar-KQ55EAFF-CCohASSY.js +0 -1
- package/dist/client/assets/stateDiagram-v2-FVOUBMTO-DbW-jVkS.js +0 -1
- package/dist/client/assets/subset-shared.chunk-CC_u8ICU.js +0 -1
- package/dist/client/assets/treemap-KZPCXAKY-9kxB0uNY.js +0 -1
- package/dist/client/assets/vault-api-client-DIaCC56H.js +0 -1
- package/dist/client/assets/vault-api-client-De7kMvrE.css +0 -1
- package/dist/client/assets/vault-utils-BW53lKl1.js +0 -1
- /package/dist/client/assets/{apl-QJCYYBkj.js → apl-C1JYSI8J.js} +0 -0
- /package/dist/client/assets/{array-DwdVlTkF.js → array-B3agRrCs.js} +0 -0
- /package/dist/client/assets/{asciiarmor-DNy0UPqh.js → asciiarmor-DHW75j1s.js} +0 -0
- /package/dist/client/assets/{asn1-CNPXj-s7.js → asn1-CQiG40kG.js} +0 -0
- /package/dist/client/assets/{asterisk-BwMdLpT2.js → asterisk-BWExh0n4.js} +0 -0
- /package/dist/client/assets/{brainfuck-C2gHT8aA.js → brainfuck-CTNFyOLg.js} +0 -0
- /package/dist/client/assets/{chunk-3PELD44J-CL87tpFo.js → chunk-3PELD44J-DymL2rGq.js} +0 -0
- /package/dist/client/assets/{chunk-A66AFZZU-DuceaGnc.js → chunk-A66AFZZU-BFHL744F.js} +0 -0
- /package/dist/client/assets/{chunk-AXZTUZBK-Cxfm7hmm.js → chunk-AXZTUZBK-DuMiJYO9.js} +0 -0
- /package/dist/client/assets/{chunk-SRAX5OIU-CC2mobFL.js → chunk-SRAX5OIU-CLVBQRWC.js} +0 -0
- /package/dist/client/assets/{clike-D5X7HJpo.js → clike-1_ZsiVV8.js} +0 -0
- /package/dist/client/assets/{clojure-BEDKZv_5.js → clojure-D-DYVqu7.js} +0 -0
- /package/dist/client/assets/{cmake-Y3shE7av.js → cmake-DtGL-Unu.js} +0 -0
- /package/dist/client/assets/{cobol-f-3TLk62.js → cobol-DP4QggbL.js} +0 -0
- /package/dist/client/assets/{coffeescript-C0XA9-xa.js → coffeescript-B_7eyHAa.js} +0 -0
- /package/dist/client/assets/{commonlisp-BOB6sIEu.js → commonlisp-COlJYiQT.js} +0 -0
- /package/dist/client/assets/{crystal-ByNgE_My.js → crystal-I_dE9xG-.js} +0 -0
- /package/dist/client/assets/{css-eaI-ENiR.js → css-CmhPNxBE.js} +0 -0
- /package/dist/client/assets/{cypher-CQ-dGGSi.js → cypher-DE6I2lIA.js} +0 -0
- /package/dist/client/assets/{cytoscape.esm-DBDRhUia.js → cytoscape.esm-Czjc507F.js} +0 -0
- /package/dist/client/assets/{d-D9pnu4Cr.js → d-BNkKjn0o.js} +0 -0
- /package/dist/client/assets/{defaultLocale-BWgun1yJ.js → defaultLocale-B_FbTTbl.js} +0 -0
- /package/dist/client/assets/{diff-z9q33Lo6.js → diff-BWuPUsEo.js} +0 -0
- /package/dist/client/assets/{dist-xO1ImhKz.js → dist-BU8uusJX.js} +0 -0
- /package/dist/client/assets/{dist-CsYRf4AV.js → dist-x7PIEmJu.js} +0 -0
- /package/dist/client/assets/{drawio-room-C592VDk7.js → drawio-room-DEivFyNV.js} +0 -0
- /package/dist/client/assets/{dtd-BDizf_te.js → dtd-C6brJFPg.js} +0 -0
- /package/dist/client/assets/{dylan-Bk__XCKW.js → dylan-Bft86ZSB.js} +0 -0
- /package/dist/client/assets/{ebnf-SzN4Kxtp.js → ebnf-D6ifG44A.js} +0 -0
- /package/dist/client/assets/{ecl-5ulxiKbt.js → ecl-M7Iek4lq.js} +0 -0
- /package/dist/client/assets/{eiffel-Bhoaqbb6.js → eiffel-DwxtewZF.js} +0 -0
- /package/dist/client/assets/{elm-C3je846J.js → elm-B1TncobV.js} +0 -0
- /package/dist/client/assets/{erlang-Cgk9SIAz.js → erlang-BDJZNtt8.js} +0 -0
- /package/dist/client/assets/{excalidraw-mermaid-stub-B_2dv3Ll.js → excalidraw-mermaid-stub-BZPU4ZhU.js} +0 -0
- /package/dist/client/assets/{fcl-dvkZwp9p.js → fcl-BWKK0S4-.js} +0 -0
- /package/dist/client/assets/{forth-DmfSa3jN.js → forth-nvhcMz63.js} +0 -0
- /package/dist/client/assets/{fortran-BsZAiNnN.js → fortran-BZID-z10.js} +0 -0
- /package/dist/client/assets/{gas-DBpKE9ut.js → gas-DjQsZDGE.js} +0 -0
- /package/dist/client/assets/{gherkin-CceEbBs7.js → gherkin-S0kHlzux.js} +0 -0
- /package/dist/client/assets/{groovy-CxJnDvES.js → groovy-BEKazBrO.js} +0 -0
- /package/dist/client/assets/{haskell-CUSb34Xy.js → haskell-C6qH3-aI.js} +0 -0
- /package/dist/client/assets/{haxe-6EHO_h-N.js → haxe-BY9d_5nB.js} +0 -0
- /package/dist/client/assets/{http-C3qcBpvG.js → http-DG1Y9fpK.js} +0 -0
- /package/dist/client/assets/{idl-C95wIO2I.js → idl-B64p3NTJ.js} +0 -0
- /package/dist/client/assets/{image-blob-reduce.esm-BaW4gpT9.js → image-blob-reduce.esm-DriR2zT9.js} +0 -0
- /package/dist/client/assets/{init-Bjj5fg68.js → init-DtLQcSuO.js} +0 -0
- /package/dist/client/assets/{isArrayLikeObject-Cmt1CYnI.js → isArrayLikeObject-BId_dPHM.js} +0 -0
- /package/dist/client/assets/{javascript-aWB87b1w.js → javascript-CdiVhQeA.js} +0 -0
- /package/dist/client/assets/{jsx-runtime-DiaMmmG6.js → jsx-runtime-C2p7wRmT.js} +0 -0
- /package/dist/client/assets/{julia-DF9PPAXG.js → julia-B22G9Bym.js} +0 -0
- /package/dist/client/assets/{katex-BPsFnA3D.js → katex-CXYULLWy.js} +0 -0
- /package/dist/client/assets/{livescript-CnOyWwUY.js → livescript-CkcuHqeS.js} +0 -0
- /package/dist/client/assets/{lua-a0rEq19C.js → lua-kutgyRGY.js} +0 -0
- /package/dist/client/assets/{math-BaavbII8.js → math-B-LMBwub.js} +0 -0
- /package/dist/client/assets/{mathematica-CKUq0Ojc.js → mathematica-CKVhKnoY.js} +0 -0
- /package/dist/client/assets/{mbox-a-u2PLog.js → mbox-DANyzFJ2.js} +0 -0
- /package/dist/client/assets/{mirc-BOd43sOX.js → mirc-BVG2S5rO.js} +0 -0
- /package/dist/client/assets/{mllike-fHruGivh.js → mllike-C0p7lv48.js} +0 -0
- /package/dist/client/assets/{modelica-B0NJqf1C.js → modelica-vJ-Qa9jV.js} +0 -0
- /package/dist/client/assets/{mscgen-DJZ33SrF.js → mscgen-vUD-SWGJ.js} +0 -0
- /package/dist/client/assets/{mumps-DvMvHTxU.js → mumps-D0KfUTSd.js} +0 -0
- /package/dist/client/assets/{nginx-BVAs8laz.js → nginx-DkVceJrH.js} +0 -0
- /package/dist/client/assets/{ntriples-DrdyAZU1.js → ntriples-BBuCIfS0.js} +0 -0
- /package/dist/client/assets/{octave-_YqJ0g7E.js → octave-BTv2CqSQ.js} +0 -0
- /package/dist/client/assets/{oz-k7T3LoMr.js → oz-D8SjVDNU.js} +0 -0
- /package/dist/client/assets/{pascal-CftsTvte.js → pascal-T-tfhVyx.js} +0 -0
- /package/dist/client/assets/{path-BUmMWM1-.js → path-DIlZIGue.js} +0 -0
- /package/dist/client/assets/{perl-CbsLFc7A.js → perl-BDrCkHRd.js} +0 -0
- /package/dist/client/assets/{pica-By-YDy_B.js → pica-C1TdTz-C.js} +0 -0
- /package/dist/client/assets/{pig-C-jTwMS-.js → pig-BEyI4fPq.js} +0 -0
- /package/dist/client/assets/{powershell-DqXLgSHX.js → powershell-DtnFc6GG.js} +0 -0
- /package/dist/client/assets/{preview-diagram-utils-Dc83ucbv.js → preview-diagram-utils-COt-IYMD.js} +0 -0
- /package/dist/client/assets/{preview-render-profile-DPzmho7I.js → preview-render-profile-CR4dJZrp.js} +0 -0
- /package/dist/client/assets/{properties-05jaw55P.js → properties-DWUvbxV9.js} +0 -0
- /package/dist/client/assets/{protobuf-DThTsZQN.js → protobuf-CQGoYyfE.js} +0 -0
- /package/dist/client/assets/{puppet-DuHxMpoj.js → puppet-Dd-qWO3p.js} +0 -0
- /package/dist/client/assets/{python-BiE2VHJI.js → python-CZtTmYkS.js} +0 -0
- /package/dist/client/assets/{q-DH46YfNw.js → q-I27iQntV.js} +0 -0
- /package/dist/client/assets/{r-DmEm46kJ.js → r-DN_EydfL.js} +0 -0
- /package/dist/client/assets/{rough.esm-jZQkcmER.js → rough.esm-DE_lJ5Ge.js} +0 -0
- /package/dist/client/assets/{roundRect-CI6UmGg6.js → roundRect-BzEouiv_.js} +0 -0
- /package/dist/client/assets/{rpm-DILIIbRB.js → rpm-CjWxLM68.js} +0 -0
- /package/dist/client/assets/{ruby-2LcnHEMS.js → ruby-CB34f2Gf.js} +0 -0
- /package/dist/client/assets/{runtime-config-CqX_f_Q4.js → runtime-config-CqhchMC4.js} +0 -0
- /package/dist/client/assets/{sas-Bn81MKuB.js → sas-Bji4HDQq.js} +0 -0
- /package/dist/client/assets/{scheme-B8kPNbgd.js → scheme-C3elI80V.js} +0 -0
- /package/dist/client/assets/{shell-CGj6v8kb.js → shell-DUveK2Hb.js} +0 -0
- /package/dist/client/assets/{sieve-CfVNFN1K.js → sieve-2ogwMVx4.js} +0 -0
- /package/dist/client/assets/{simple-mode-_FSHdiXs.js → simple-mode-pOKc0mfx.js} +0 -0
- /package/dist/client/assets/{smalltalk-BpIFyCPt.js → smalltalk-BuGhc6lW.js} +0 -0
- /package/dist/client/assets/{solr-B7iFaetn.js → solr-DTxshpm8.js} +0 -0
- /package/dist/client/assets/{sparql-COhgMTFK.js → sparql-BOvq0dv7.js} +0 -0
- /package/dist/client/assets/{spreadsheet-BzuffEeg.js → spreadsheet-C6Vbtl9-.js} +0 -0
- /package/dist/client/assets/{sql-13lT5zDl.js → sql-DDFeQNTK.js} +0 -0
- /package/dist/client/assets/{src-E3c2cohN.js → src-Pgt9Gp65.js} +0 -0
- /package/dist/client/assets/{stex-BRSfZZYG.js → stex-CEwW0Q_0.js} +0 -0
- /package/dist/client/assets/{stylus-fFo0QRk_.js → stylus-D1SZIMDs.js} +0 -0
- /package/dist/client/assets/{swift-wb5gyb6a.js → swift-BCxe4-cw.js} +0 -0
- /package/dist/client/assets/{tcl-BJA7GgWY.js → tcl-SPk7uiDB.js} +0 -0
- /package/dist/client/assets/{textile-BQjiYu-x.js → textile-C48beRus.js} +0 -0
- /package/dist/client/assets/{tiddlywiki-D2vUXB6n.js → tiddlywiki-CiImjFLN.js} +0 -0
- /package/dist/client/assets/{tiki-BFhpdznG.js → tiki-HkXZ4BIW.js} +0 -0
- /package/dist/client/assets/{toml-DN06iQUw.js → toml-BmfpMy1_.js} +0 -0
- /package/dist/client/assets/{troff-DuQfjhPH.js → troff-BjbEOT5E.js} +0 -0
- /package/dist/client/assets/{ttcn-BCTy6d50.js → ttcn-NA-V4KnY.js} +0 -0
- /package/dist/client/assets/{ttcn-cfg-BYnZQqGa.js → ttcn-cfg-TPHncdGN.js} +0 -0
- /package/dist/client/assets/{turtle-BvN-Me9x.js → turtle-GBz_E4RG.js} +0 -0
- /package/dist/client/assets/{vb-DYk3wW9u.js → vb-C19AQWqO.js} +0 -0
- /package/dist/client/assets/{vbscript-BKI61VS6.js → vbscript-CHJk3s95.js} +0 -0
- /package/dist/client/assets/{velocity-BrtitHHA.js → velocity-Ya0P4sQU.js} +0 -0
- /package/dist/client/assets/{verilog-CjUx3yiL.js → verilog-C4wTycyo.js} +0 -0
- /package/dist/client/assets/{vhdl-CPWwYF4V.js → vhdl-Bwndeg44.js} +0 -0
- /package/dist/client/assets/{webidl-PiVOzma8.js → webidl-DttrYZRT.js} +0 -0
- /package/dist/client/assets/{xquery-CiTzM_oK.js → xquery-CEDTd8qs.js} +0 -0
- /package/dist/client/assets/{yacas-4QS9CntY.js → yacas-C7dxlPB0.js} +0 -0
- /package/dist/client/assets/{yjs-provider-reset-guard-DWGhQClh.js → yjs-provider-reset-guard-CtERLBID.js} +0 -0
- /package/dist/client/assets/{z80-BxidrTKR.js → z80-BqEfFSnA.js} +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./chunk-XZSTWKYB-DDkpyNVE.js";import{n as e}from"./chunk-C72U2L5F-BLB26v5d.js";export{e as createPacketServices};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./chunk-SRAX5OIU-CC2mobFL.js";import{n as e,r as t,t as n}from"./chunk-3PELD44J-CL87tpFo.js";export{t as default,n as en,e as kaa};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./chunk-XZSTWKYB-DDkpyNVE.js";import{n as e}from"./chunk-XIRO2GV7-2tirYN5A.js";export{e as createPieServices};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{t as e}from"./preview-render-compiler-aYpnXmNm.js";export{e as compilePreviewDocument};
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import{a as e,i as t,t as n}from"./preview-render-profile-DPzmho7I.js";import{d as r,i,n as a,r as o}from"./vault-utils-BW53lKl1.js";function s(e){return e==null}function c(e){return typeof e==`object`&&!!e}function l(e){return Array.isArray(e)?e:s(e)?[]:[e]}function u(e,t){var n,r,i,a;if(t)for(a=Object.keys(t),n=0,r=a.length;n<r;n+=1)i=a[n],e[i]=t[i];return e}function d(e,t){var n=``,r;for(r=0;r<t;r+=1)n+=e;return n}function f(e){return e===0&&1/e==-1/0}var p={isNothing:s,isObject:c,toArray:l,repeat:d,isNegativeZero:f,extend:u};function m(e,t){var n=``,r=e.reason||`(unknown reason)`;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+=`
|
|
2
|
-
|
|
3
|
-
`+e.mark.snippet),r+` `+n):r}function h(e,t){Error.call(this),this.name=`YAMLException`,this.reason=e,this.mark=t,this.message=m(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=Error().stack||``}h.prototype=Object.create(Error.prototype),h.prototype.constructor=h,h.prototype.toString=function(e){return this.name+`: `+m(this,e)};var g=h;function _(e,t,n,r,i){var a=``,o=``,s=Math.floor(i/2)-1;return r-t>s&&(a=` ... `,t=r-s+a.length),n-r>s&&(o=` ...`,n=r+s-o.length),{str:a+e.slice(t,n).replace(/\t/g,`→`)+o,pos:r-t+a.length}}function v(e,t){return p.repeat(` `,t-e.length)+e}function ee(e,t){if(t=Object.create(t||null),!e.buffer)return null;t.maxLength||=79,typeof t.indent!=`number`&&(t.indent=1),typeof t.linesBefore!=`number`&&(t.linesBefore=3),typeof t.linesAfter!=`number`&&(t.linesAfter=2);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);o<0&&(o=r.length-1);var s=``,c,l,u=Math.min(e.line+t.linesAfter,i.length).toString().length,d=t.maxLength-(t.indent+u+3);for(c=1;c<=t.linesBefore&&!(o-c<0);c++)l=_(e.buffer,r[o-c],i[o-c],e.position-(r[o]-r[o-c]),d),s=p.repeat(` `,t.indent)+v((e.line-c+1).toString(),u)+` | `+l.str+`
|
|
4
|
-
`+s;for(l=_(e.buffer,r[o],i[o],e.position,d),s+=p.repeat(` `,t.indent)+v((e.line+1).toString(),u)+` | `+l.str+`
|
|
5
|
-
`,s+=p.repeat(`-`,t.indent+u+3+l.pos)+`^
|
|
6
|
-
`,c=1;c<=t.linesAfter&&!(o+c>=i.length);c++)l=_(e.buffer,r[o+c],i[o+c],e.position-(r[o]-r[o+c]),d),s+=p.repeat(` `,t.indent)+v((e.line+c+1).toString(),u)+` | `+l.str+`
|
|
7
|
-
`;return s.replace(/\n$/,``)}var te=ee,ne=[`kind`,`multi`,`resolve`,`construct`,`instanceOf`,`predicate`,`represent`,`representName`,`defaultStyle`,`styleAliases`],re=[`scalar`,`sequence`,`mapping`];function ie(e){var t={};return e!==null&&Object.keys(e).forEach(function(n){e[n].forEach(function(e){t[String(e)]=n})}),t}function ae(e,t){if(t||={},Object.keys(t).forEach(function(t){if(ne.indexOf(t)===-1)throw new g(`Unknown option "`+t+`" is met in definition of "`+e+`" YAML type.`)}),this.options=t,this.tag=e,this.kind=t.kind||null,this.resolve=t.resolve||function(){return!0},this.construct=t.construct||function(e){return e},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=ie(t.styleAliases||null),re.indexOf(this.kind)===-1)throw new g(`Unknown kind "`+this.kind+`" is specified for "`+e+`" YAML type.`)}var y=ae;function oe(e,t){var n=[];return e[t].forEach(function(e){var t=n.length;n.forEach(function(n,r){n.tag===e.tag&&n.kind===e.kind&&n.multi===e.multi&&(t=r)}),n[t]=e}),n}function se(){var e={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}},t,n;function r(t){t.multi?(e.multi[t.kind].push(t),e.multi.fallback.push(t)):e[t.kind][t.tag]=e.fallback[t.tag]=t}for(t=0,n=arguments.length;t<n;t+=1)arguments[t].forEach(r);return e}function b(e){return this.extend(e)}b.prototype.extend=function(e){var t=[],n=[];if(e instanceof y)n.push(e);else if(Array.isArray(e))n=n.concat(e);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));else throw new g(`Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })`);t.forEach(function(e){if(!(e instanceof y))throw new g(`Specified list of YAML types (or a single Type object) contains a non-Type object.`);if(e.loadKind&&e.loadKind!==`scalar`)throw new g(`There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.`);if(e.multi)throw new g(`There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.`)}),n.forEach(function(e){if(!(e instanceof y))throw new g(`Specified list of YAML types (or a single Type object) contains a non-Type object.`)});var r=Object.create(b.prototype);return r.implicit=(this.implicit||[]).concat(t),r.explicit=(this.explicit||[]).concat(n),r.compiledImplicit=oe(r,`implicit`),r.compiledExplicit=oe(r,`explicit`),r.compiledTypeMap=se(r.compiledImplicit,r.compiledExplicit),r};var ce=b,le=new y(`tag:yaml.org,2002:str`,{kind:`scalar`,construct:function(e){return e===null?``:e}}),ue=new y(`tag:yaml.org,2002:seq`,{kind:`sequence`,construct:function(e){return e===null?[]:e}}),de=new y(`tag:yaml.org,2002:map`,{kind:`mapping`,construct:function(e){return e===null?{}:e}}),fe=new ce({explicit:[le,ue,de]});function pe(e){if(e===null)return!0;var t=e.length;return t===1&&e===`~`||t===4&&(e===`null`||e===`Null`||e===`NULL`)}function me(){return null}function he(e){return e===null}var ge=new y(`tag:yaml.org,2002:null`,{kind:`scalar`,resolve:pe,construct:me,predicate:he,represent:{canonical:function(){return`~`},lowercase:function(){return`null`},uppercase:function(){return`NULL`},camelcase:function(){return`Null`},empty:function(){return``}},defaultStyle:`lowercase`});function _e(e){if(e===null)return!1;var t=e.length;return t===4&&(e===`true`||e===`True`||e===`TRUE`)||t===5&&(e===`false`||e===`False`||e===`FALSE`)}function ve(e){return e===`true`||e===`True`||e===`TRUE`}function ye(e){return Object.prototype.toString.call(e)===`[object Boolean]`}var be=new y(`tag:yaml.org,2002:bool`,{kind:`scalar`,resolve:_e,construct:ve,predicate:ye,represent:{lowercase:function(e){return e?`true`:`false`},uppercase:function(e){return e?`TRUE`:`FALSE`},camelcase:function(e){return e?`True`:`False`}},defaultStyle:`lowercase`});function xe(e){return 48<=e&&e<=57||65<=e&&e<=70||97<=e&&e<=102}function Se(e){return 48<=e&&e<=55}function Ce(e){return 48<=e&&e<=57}function we(e){if(e===null)return!1;var t=e.length,n=0,r=!1,i;if(!t)return!1;if(i=e[n],(i===`-`||i===`+`)&&(i=e[++n]),i===`0`){if(n+1===t)return!0;if(i=e[++n],i===`b`){for(n++;n<t;n++)if(i=e[n],i!==`_`){if(i!==`0`&&i!==`1`)return!1;r=!0}return r&&i!==`_`}if(i===`x`){for(n++;n<t;n++)if(i=e[n],i!==`_`){if(!xe(e.charCodeAt(n)))return!1;r=!0}return r&&i!==`_`}if(i===`o`){for(n++;n<t;n++)if(i=e[n],i!==`_`){if(!Se(e.charCodeAt(n)))return!1;r=!0}return r&&i!==`_`}}if(i===`_`)return!1;for(;n<t;n++)if(i=e[n],i!==`_`){if(!Ce(e.charCodeAt(n)))return!1;r=!0}return!(!r||i===`_`)}function Te(e){var t=e,n=1,r;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;if(r===`0`){if(t[1]===`b`)return n*parseInt(t.slice(2),2);if(t[1]===`x`)return n*parseInt(t.slice(2),16);if(t[1]===`o`)return n*parseInt(t.slice(2),8)}return n*parseInt(t,10)}function Ee(e){return Object.prototype.toString.call(e)===`[object Number]`&&e%1==0&&!p.isNegativeZero(e)}var De=new y(`tag:yaml.org,2002:int`,{kind:`scalar`,resolve:we,construct:Te,predicate:Ee,represent:{binary:function(e){return e>=0?`0b`+e.toString(2):`-0b`+e.toString(2).slice(1)},octal:function(e){return e>=0?`0o`+e.toString(8):`-0o`+e.toString(8).slice(1)},decimal:function(e){return e.toString(10)},hexadecimal:function(e){return e>=0?`0x`+e.toString(16).toUpperCase():`-0x`+e.toString(16).toUpperCase().slice(1)}},defaultStyle:`decimal`,styleAliases:{binary:[2,`bin`],octal:[8,`oct`],decimal:[10,`dec`],hexadecimal:[16,`hex`]}}),Oe=RegExp(`^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$`);function ke(e){return!(e===null||!Oe.test(e)||e[e.length-1]===`_`)}function Ae(e){var t=e.replace(/_/g,``).toLowerCase(),n=t[0]===`-`?-1:1;return`+-`.indexOf(t[0])>=0&&(t=t.slice(1)),t===`.inf`?n===1?1/0:-1/0:t===`.nan`?NaN:n*parseFloat(t,10)}var je=/^[-+]?[0-9]+e/;function Me(e,t){var n;if(isNaN(e))switch(t){case`lowercase`:return`.nan`;case`uppercase`:return`.NAN`;case`camelcase`:return`.NaN`}else if(e===1/0)switch(t){case`lowercase`:return`.inf`;case`uppercase`:return`.INF`;case`camelcase`:return`.Inf`}else if(e===-1/0)switch(t){case`lowercase`:return`-.inf`;case`uppercase`:return`-.INF`;case`camelcase`:return`-.Inf`}else if(p.isNegativeZero(e))return`-0.0`;return n=e.toString(10),je.test(n)?n.replace(`e`,`.e`):n}function Ne(e){return Object.prototype.toString.call(e)===`[object Number]`&&(e%1!=0||p.isNegativeZero(e))}var Pe=new y(`tag:yaml.org,2002:float`,{kind:`scalar`,resolve:ke,construct:Ae,predicate:Ne,represent:Me,defaultStyle:`lowercase`}),Fe=fe.extend({implicit:[ge,be,De,Pe]}),Ie=Fe,Le=RegExp(`^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$`),Re=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]))?))?$`);function ze(e){return e===null?!1:Le.exec(e)!==null||Re.exec(e)!==null}function Be(e){var t,n,r,i,a,o,s,c=0,l=null,u,d,f;if(t=Le.exec(e),t===null&&(t=Re.exec(e)),t===null)throw Error(`Date resolve error`);if(n=+t[1],r=t[2]-1,i=+t[3],!t[4])return new Date(Date.UTC(n,r,i));if(a=+t[4],o=+t[5],s=+t[6],t[7]){for(c=t[7].slice(0,3);c.length<3;)c+=`0`;c=+c}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}function Ve(e){return e.toISOString()}var He=new y(`tag:yaml.org,2002:timestamp`,{kind:`scalar`,resolve:ze,construct:Be,instanceOf:Date,represent:Ve});function Ue(e){return e===`<<`||e===null}var We=new y(`tag:yaml.org,2002:merge`,{kind:`scalar`,resolve:Ue}),x=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
|
|
8
|
-
\r`;function Ge(e){if(e===null)return!1;var t,n,r=0,i=e.length,a=x;for(n=0;n<i;n++)if(t=a.indexOf(e.charAt(n)),!(t>64)){if(t<0)return!1;r+=6}return r%8==0}function Ke(e){var t,n,r=e.replace(/[\r\n=]/g,``),i=r.length,a=x,o=0,s=[];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));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)}function qe(e){var t=``,n=0,r,i,a=e.length,o=x;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];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}function Je(e){return Object.prototype.toString.call(e)===`[object Uint8Array]`}var Ye=new y(`tag:yaml.org,2002:binary`,{kind:`scalar`,resolve:Ge,construct:Ke,predicate:Je,represent:qe}),Xe=Object.prototype.hasOwnProperty,Ze=Object.prototype.toString;function Qe(e){if(e===null)return!0;var t=[],n,r,i,a,o,s=e;for(n=0,r=s.length;n<r;n+=1){if(i=s[n],o=!1,Ze.call(i)!==`[object Object]`)return!1;for(a in i)if(Xe.call(i,a))if(!o)o=!0;else return!1;if(!o)return!1;if(t.indexOf(a)===-1)t.push(a);else return!1}return!0}function $e(e){return e===null?[]:e}var et=new y(`tag:yaml.org,2002:omap`,{kind:`sequence`,resolve:Qe,construct:$e}),tt=Object.prototype.toString;function nt(e){if(e===null)return!0;var t,n,r,i,a,o=e;for(a=Array(o.length),t=0,n=o.length;t<n;t+=1){if(r=o[t],tt.call(r)!==`[object Object]`||(i=Object.keys(r),i.length!==1))return!1;a[t]=[i[0],r[i[0]]]}return!0}function rt(e){if(e===null)return[];var t,n,r,i,a,o=e;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]]];return a}var it=new y(`tag:yaml.org,2002:pairs`,{kind:`sequence`,resolve:nt,construct:rt}),at=Object.prototype.hasOwnProperty;function ot(e){if(e===null)return!0;var t,n=e;for(t in n)if(at.call(n,t)&&n[t]!==null)return!1;return!0}function st(e){return e===null?{}:e}var ct=new y(`tag:yaml.org,2002:set`,{kind:`mapping`,resolve:ot,construct:st}),lt=Ie.extend({implicit:[He,We],explicit:[Ye,et,it,ct]}),S=Object.prototype.hasOwnProperty,C=1,ut=2,dt=3,w=4,T=1,ft=2,pt=3,mt=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,ht=/[\x85\u2028\u2029]/,gt=/[,\[\]\{\}]/,_t=/^(?:!|!!|![a-z\-]+!)$/i,vt=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function yt(e){return Object.prototype.toString.call(e)}function E(e){return e===10||e===13}function D(e){return e===9||e===32}function O(e){return e===9||e===32||e===10||e===13}function k(e){return e===44||e===91||e===93||e===123||e===125}function bt(e){var t;return 48<=e&&e<=57?e-48:(t=e|32,97<=t&&t<=102?t-97+10:-1)}function xt(e){return e===120?2:e===117?4:e===85?8:0}function St(e){return 48<=e&&e<=57?e-48:-1}function Ct(e){return e===48?`\0`:e===97?`\x07`:e===98?`\b`:e===116||e===9?` `:e===110?`
|
|
9
|
-
`: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`:``}function wt(e){return e<=65535?String.fromCharCode(e):String.fromCharCode((e-65536>>10)+55296,(e-65536&1023)+56320)}function Tt(e,t,n){t===`__proto__`?Object.defineProperty(e,t,{configurable:!0,enumerable:!0,writable:!0,value:n}):e[t]=n}for(var Et=Array(256),Dt=Array(256),A=0;A<256;A++)Et[A]=Ct(A)?1:0,Dt[A]=Ct(A);function Ot(e,t){this.input=e,this.filename=t.filename||null,this.schema=t.schema||lt,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=[]}function kt(e,t){var n={name:e.filename,buffer:e.input.slice(0,-1),position:e.position,line:e.line,column:e.position-e.lineStart};return n.snippet=te(n),new g(t,n)}function j(e,t){throw kt(e,t)}function M(e,t){e.onWarning&&e.onWarning.call(null,kt(e,t))}var At={YAML:function(e,t,n){var r,i,a;e.version!==null&&j(e,`duplication of %YAML directive`),n.length!==1&&j(e,`YAML directive accepts exactly one argument`),r=/^([0-9]+)\.([0-9]+)$/.exec(n[0]),r===null&&j(e,`ill-formed argument of the YAML directive`),i=parseInt(r[1],10),a=parseInt(r[2],10),i!==1&&j(e,`unacceptable YAML version of the document`),e.version=n[0],e.checkLineBreaks=a<2,a!==1&&a!==2&&M(e,`unsupported YAML version of the document`)},TAG:function(e,t,n){var r,i;n.length!==2&&j(e,`TAG directive accepts exactly two arguments`),r=n[0],i=n[1],_t.test(r)||j(e,`ill-formed tag handle (first argument) of the TAG directive`),S.call(e.tagMap,r)&&j(e,`there is a previously declared suffix for "`+r+`" tag handle`),vt.test(i)||j(e,`ill-formed tag prefix (second argument) of the TAG directive`);try{i=decodeURIComponent(i)}catch{j(e,`tag prefix is malformed: `+i)}e.tagMap[r]=i}};function N(e,t,n,r){var i,a,o,s;if(t<n){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||j(e,`expected valid JSON character`);else mt.test(s)&&j(e,`the stream contains non-printable characters`);e.result+=s}}function jt(e,t,n,r){var i,a,o,s;for(p.isObject(n)||j(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],S.call(t,a)||(Tt(t,a,n[a]),r[a]=!0)}function P(e,t,n,r,i,a,o,s,c){var l,u;if(Array.isArray(i))for(i=Array.prototype.slice.call(i),l=0,u=i.length;l<u;l+=1)Array.isArray(i[l])&&j(e,`nested arrays are not supported inside keys`),typeof i==`object`&&yt(i[l])===`[object Object]`&&(i[l]=`[object Object]`);if(typeof i==`object`&&yt(i)===`[object Object]`&&(i=`[object Object]`),i=String(i),t===null&&(t={}),r===`tag:yaml.org,2002:merge`)if(Array.isArray(a))for(l=0,u=a.length;l<u;l+=1)jt(e,t,a[l],n);else jt(e,t,a,n);else !e.json&&!S.call(n,i)&&S.call(t,i)&&(e.line=o||e.line,e.lineStart=s||e.lineStart,e.position=c||e.position,j(e,`duplicated mapping key`)),Tt(t,i,a),delete n[i];return t}function F(e){var t=e.input.charCodeAt(e.position);t===10?e.position++:t===13?(e.position++,e.input.charCodeAt(e.position)===10&&e.position++):j(e,`a line break is expected`),e.line+=1,e.lineStart=e.position,e.firstTabInLine=-1}function I(e,t,n){for(var r=0,i=e.input.charCodeAt(e.position);i!==0;){for(;D(i);)i===9&&e.firstTabInLine===-1&&(e.firstTabInLine=e.position),i=e.input.charCodeAt(++e.position);if(t&&i===35)do i=e.input.charCodeAt(++e.position);while(i!==10&&i!==13&&i!==0);if(E(i))for(F(e),i=e.input.charCodeAt(e.position),r++,e.lineIndent=0;i===32;)e.lineIndent++,i=e.input.charCodeAt(++e.position);else break}return n!==-1&&r!==0&&e.lineIndent<n&&M(e,`deficient indentation`),r}function L(e){var t=e.position,n=e.input.charCodeAt(t);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||O(n)))}function R(e,t){t===1?e.result+=` `:t>1&&(e.result+=p.repeat(`
|
|
10
|
-
`,t-1))}function Mt(e,t,n){var r,i,a,o,s,c,l,u,d=e.kind,f=e.result,p=e.input.charCodeAt(e.position);if(O(p)||k(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),O(i)||n&&k(i)))return!1;for(e.kind=`scalar`,e.result=``,a=o=e.position,s=!1;p!==0;){if(p===58){if(i=e.input.charCodeAt(e.position+1),O(i)||n&&k(i))break}else if(p===35){if(r=e.input.charCodeAt(e.position-1),O(r))break}else if(e.position===e.lineStart&&L(e)||n&&k(p))break;else if(E(p))if(c=e.line,l=e.lineStart,u=e.lineIndent,I(e,!1,-1),e.lineIndent>=t){s=!0,p=e.input.charCodeAt(e.position);continue}else{e.position=o,e.line=c,e.lineStart=l,e.lineIndent=u;break}s&&=(N(e,a,o,!1),R(e,e.line-c),a=o=e.position,!1),D(p)||(o=e.position+1),p=e.input.charCodeAt(++e.position)}return N(e,a,o,!1),e.result?!0:(e.kind=d,e.result=f,!1)}function Nt(e,t){var n=e.input.charCodeAt(e.position),r,i;if(n!==39)return!1;for(e.kind=`scalar`,e.result=``,e.position++,r=i=e.position;(n=e.input.charCodeAt(e.position))!==0;)if(n===39)if(N(e,r,e.position,!0),n=e.input.charCodeAt(++e.position),n===39)r=e.position,e.position++,i=e.position;else return!0;else E(n)?(N(e,r,i,!0),R(e,I(e,!1,t)),r=i=e.position):e.position===e.lineStart&&L(e)?j(e,`unexpected end of the document within a single quoted scalar`):(e.position++,i=e.position);j(e,`unexpected end of the stream within a single quoted scalar`)}function Pt(e,t){var n,r,i,a,o,s=e.input.charCodeAt(e.position);if(s!==34)return!1;for(e.kind=`scalar`,e.result=``,e.position++,n=r=e.position;(s=e.input.charCodeAt(e.position))!==0;)if(s===34)return N(e,n,e.position,!0),e.position++,!0;else if(s===92){if(N(e,n,e.position,!0),s=e.input.charCodeAt(++e.position),E(s))I(e,!1,t);else if(s<256&&Et[s])e.result+=Dt[s],e.position++;else if((o=xt(s))>0){for(i=o,a=0;i>0;i--)s=e.input.charCodeAt(++e.position),(o=bt(s))>=0?a=(a<<4)+o:j(e,`expected hexadecimal character`);e.result+=wt(a),e.position++}else j(e,`unknown escape sequence`);n=r=e.position}else E(s)?(N(e,n,r,!0),R(e,I(e,!1,t)),n=r=e.position):e.position===e.lineStart&&L(e)?j(e,`unexpected end of the document within a double quoted scalar`):(e.position++,r=e.position);j(e,`unexpected end of the stream within a double quoted scalar`)}function Ft(e,t){var n=!0,r,i,a,o=e.tag,s,c=e.anchor,l,u,d,f,p,m=Object.create(null),h,g,_,v=e.input.charCodeAt(e.position);if(v===91)u=93,p=!1,s=[];else if(v===123)u=125,p=!0,s={};else return!1;for(e.anchor!==null&&(e.anchorMap[e.anchor]=s),v=e.input.charCodeAt(++e.position);v!==0;){if(I(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;n?v===44&&j(e,`expected the node content, but found ','`):j(e,`missed comma between flow collection entries`),g=h=_=null,d=f=!1,v===63&&(l=e.input.charCodeAt(e.position+1),O(l)&&(d=f=!0,e.position++,I(e,!0,t))),r=e.line,i=e.lineStart,a=e.position,z(e,t,C,!1,!0),g=e.tag,h=e.result,I(e,!0,t),v=e.input.charCodeAt(e.position),(f||e.line===r)&&v===58&&(d=!0,v=e.input.charCodeAt(++e.position),I(e,!0,t),z(e,t,C,!1,!0),_=e.result),p?P(e,s,m,g,h,_,r,i,a):d?s.push(P(e,null,m,g,h,_,r,i,a)):s.push(h),I(e,!0,t),v=e.input.charCodeAt(e.position),v===44?(n=!0,v=e.input.charCodeAt(++e.position)):n=!1}j(e,`unexpected end of the stream within a flow collection`)}function It(e,t){var n,r,i=T,a=!1,o=!1,s=t,c=0,l=!1,u,d=e.input.charCodeAt(e.position);if(d===124)r=!1;else if(d===62)r=!0;else return!1;for(e.kind=`scalar`,e.result=``;d!==0;)if(d=e.input.charCodeAt(++e.position),d===43||d===45)T===i?i=d===43?pt:ft:j(e,`repeat of a chomping mode identifier`);else if((u=St(d))>=0)u===0?j(e,`bad explicit indentation width of a block scalar; it cannot be less than one`):o?j(e,`repeat of an indentation width identifier`):(s=t+u-1,o=!0);else break;if(D(d)){do d=e.input.charCodeAt(++e.position);while(D(d));if(d===35)do d=e.input.charCodeAt(++e.position);while(!E(d)&&d!==0)}for(;d!==0;){for(F(e),e.lineIndent=0,d=e.input.charCodeAt(e.position);(!o||e.lineIndent<s)&&d===32;)e.lineIndent++,d=e.input.charCodeAt(++e.position);if(!o&&e.lineIndent>s&&(s=e.lineIndent),E(d)){c++;continue}if(e.lineIndent<s){i===pt?e.result+=p.repeat(`
|
|
11
|
-
`,a?1+c:c):i===T&&a&&(e.result+=`
|
|
12
|
-
`);break}for(r?D(d)?(l=!0,e.result+=p.repeat(`
|
|
13
|
-
`,a?1+c:c)):l?(l=!1,e.result+=p.repeat(`
|
|
14
|
-
`,c+1)):c===0?a&&(e.result+=` `):e.result+=p.repeat(`
|
|
15
|
-
`,c):e.result+=p.repeat(`
|
|
16
|
-
`,a?1+c:c),a=!0,o=!0,c=0,n=e.position;!E(d)&&d!==0;)d=e.input.charCodeAt(++e.position);N(e,n,e.position,!1)}return!0}function Lt(e,t){var n,r=e.tag,i=e.anchor,a=[],o,s=!1,c;if(e.firstTabInLine!==-1)return!1;for(e.anchor!==null&&(e.anchorMap[e.anchor]=a),c=e.input.charCodeAt(e.position);c!==0&&(e.firstTabInLine!==-1&&(e.position=e.firstTabInLine,j(e,`tab characters must not be used in indentation`)),!(c!==45||(o=e.input.charCodeAt(e.position+1),!O(o))));){if(s=!0,e.position++,I(e,!0,-1)&&e.lineIndent<=t){a.push(null),c=e.input.charCodeAt(e.position);continue}if(n=e.line,z(e,t,dt,!1,!0),a.push(e.result),I(e,!0,-1),c=e.input.charCodeAt(e.position),(e.line===n||e.lineIndent>t)&&c!==0)j(e,`bad indentation of a sequence entry`);else if(e.lineIndent<t)break}return s?(e.tag=r,e.anchor=i,e.kind=`sequence`,e.result=a,!0):!1}function Rt(e,t,n){var r,i,a,o,s,c,l=e.tag,u=e.anchor,d={},f=Object.create(null),p=null,m=null,h=null,g=!1,_=!1,v;if(e.firstTabInLine!==-1)return!1;for(e.anchor!==null&&(e.anchorMap[e.anchor]=d),v=e.input.charCodeAt(e.position);v!==0;){if(!g&&e.firstTabInLine!==-1&&(e.position=e.firstTabInLine,j(e,`tab characters must not be used in indentation`)),r=e.input.charCodeAt(e.position+1),a=e.line,(v===63||v===58)&&O(r))v===63?(g&&(P(e,d,f,p,m,null,o,s,c),p=m=h=null),_=!0,g=!0,i=!0):g?(g=!1,i=!0):j(e,`incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line`),e.position+=1,v=r;else{if(o=e.line,s=e.lineStart,c=e.position,!z(e,n,ut,!1,!0))break;if(e.line===a){for(v=e.input.charCodeAt(e.position);D(v);)v=e.input.charCodeAt(++e.position);if(v===58)v=e.input.charCodeAt(++e.position),O(v)||j(e,`a whitespace character is expected after the key-value separator within a block mapping`),g&&(P(e,d,f,p,m,null,o,s,c),p=m=h=null),_=!0,g=!1,i=!1,p=e.tag,m=e.result;else if(_)j(e,`can not read an implicit mapping pair; a colon is missed`);else return e.tag=l,e.anchor=u,!0}else if(_)j(e,`can not read a block mapping entry; a multiline key may not be an implicit key`);else return e.tag=l,e.anchor=u,!0}if((e.line===a||e.lineIndent>t)&&(g&&(o=e.line,s=e.lineStart,c=e.position),z(e,t,w,!0,i)&&(g?m=e.result:h=e.result),g||(P(e,d,f,p,m,h,o,s,c),p=m=h=null),I(e,!0,-1),v=e.input.charCodeAt(e.position)),(e.line===a||e.lineIndent>t)&&v!==0)j(e,`bad indentation of a mapping entry`);else if(e.lineIndent<t)break}return g&&P(e,d,f,p,m,null,o,s,c),_&&(e.tag=l,e.anchor=u,e.kind=`mapping`,e.result=d),_}function zt(e){var t,n=!1,r=!1,i,a,o=e.input.charCodeAt(e.position);if(o!==33)return!1;if(e.tag!==null&&j(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){do o=e.input.charCodeAt(++e.position);while(o!==0&&o!==62);e.position<e.length?(a=e.input.slice(t,e.position),o=e.input.charCodeAt(++e.position)):j(e,`unexpected end of the stream within a verbatim tag`)}else{for(;o!==0&&!O(o);)o===33&&(r?j(e,`tag suffix cannot contain exclamation marks`):(i=e.input.slice(t-1,e.position+1),_t.test(i)||j(e,`named tag handle cannot contain such characters`),r=!0,t=e.position+1)),o=e.input.charCodeAt(++e.position);a=e.input.slice(t,e.position),gt.test(a)&&j(e,`tag suffix cannot contain flow indicator characters`)}a&&!vt.test(a)&&j(e,`tag name cannot contain such characters: `+a);try{a=decodeURIComponent(a)}catch{j(e,`tag name is malformed: `+a)}return n?e.tag=a:S.call(e.tagMap,i)?e.tag=e.tagMap[i]+a:i===`!`?e.tag=`!`+a:i===`!!`?e.tag=`tag:yaml.org,2002:`+a:j(e,`undeclared tag handle "`+i+`"`),!0}function Bt(e){var t,n=e.input.charCodeAt(e.position);if(n!==38)return!1;for(e.anchor!==null&&j(e,`duplication of an anchor property`),n=e.input.charCodeAt(++e.position),t=e.position;n!==0&&!O(n)&&!k(n);)n=e.input.charCodeAt(++e.position);return e.position===t&&j(e,`name of an anchor node must contain at least one character`),e.anchor=e.input.slice(t,e.position),!0}function Vt(e){var t,n,r=e.input.charCodeAt(e.position);if(r!==42)return!1;for(r=e.input.charCodeAt(++e.position),t=e.position;r!==0&&!O(r)&&!k(r);)r=e.input.charCodeAt(++e.position);return e.position===t&&j(e,`name of an alias node must contain at least one character`),n=e.input.slice(t,e.position),S.call(e.anchorMap,n)||j(e,`unidentified alias "`+n+`"`),e.result=e.anchorMap[n],I(e,!0,-1),!0}function z(e,t,n,r,i){var a,o,s,c=1,l=!1,u=!1,d,f,p,m,h,g;if(e.listener!==null&&e.listener(`open`,e),e.tag=null,e.anchor=null,e.kind=null,e.result=null,a=o=s=w===n||dt===n,r&&I(e,!0,-1)&&(l=!0,e.lineIndent>t?c=1:e.lineIndent===t?c=0:e.lineIndent<t&&(c=-1)),c===1)for(;zt(e)||Bt(e);)I(e,!0,-1)?(l=!0,s=a,e.lineIndent>t?c=1:e.lineIndent===t?c=0:e.lineIndent<t&&(c=-1)):s=!1;if(s&&=l||i,(c===1||w===n)&&(h=C===n||ut===n?t:t+1,g=e.position-e.lineStart,c===1?s&&(Lt(e,g)||Rt(e,g,h))||Ft(e,h)?u=!0:(o&&It(e,h)||Nt(e,h)||Pt(e,h)?u=!0:Vt(e)?(u=!0,(e.tag!==null||e.anchor!==null)&&j(e,`alias node should not have any properties`)):Mt(e,h,C===n)&&(u=!0,e.tag===null&&(e.tag=`?`)),e.anchor!==null&&(e.anchorMap[e.anchor]=e.result)):c===0&&(u=s&&Lt(e,g))),e.tag===null)e.anchor!==null&&(e.anchorMap[e.anchor]=e.result);else if(e.tag===`?`){for(e.result!==null&&e.kind!==`scalar`&&j(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)){e.result=m.construct(e.result),e.tag=m.tag,e.anchor!==null&&(e.anchorMap[e.anchor]=e.result);break}}else if(e.tag!==`!`){if(S.call(e.typeMap[e.kind||`fallback`],e.tag))m=e.typeMap[e.kind||`fallback`][e.tag];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){m=p[d];break}m||j(e,`unknown tag !<`+e.tag+`>`),e.result!==null&&m.kind!==e.kind&&j(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)):j(e,`cannot resolve a node with !<`+e.tag+`> explicit tag`)}return e.listener!==null&&e.listener(`close`,e),e.tag!==null||e.anchor!==null||u}function Ht(e){var t=e.position,n,r,i,a=!1,o;for(e.version=null,e.checkLineBreaks=e.legacy,e.tagMap=Object.create(null),e.anchorMap=Object.create(null);(o=e.input.charCodeAt(e.position))!==0&&(I(e,!0,-1),o=e.input.charCodeAt(e.position),!(e.lineIndent>0||o!==37));){for(a=!0,o=e.input.charCodeAt(++e.position),n=e.position;o!==0&&!O(o);)o=e.input.charCodeAt(++e.position);for(r=e.input.slice(n,e.position),i=[],r.length<1&&j(e,`directive name must not be less than one character in length`);o!==0;){for(;D(o);)o=e.input.charCodeAt(++e.position);if(o===35){do o=e.input.charCodeAt(++e.position);while(o!==0&&!E(o));break}if(E(o))break;for(n=e.position;o!==0&&!O(o);)o=e.input.charCodeAt(++e.position);i.push(e.input.slice(n,e.position))}o!==0&&F(e),S.call(At,r)?At[r](e,r,i):M(e,`unknown document directive "`+r+`"`)}if(I(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,I(e,!0,-1)):a&&j(e,`directives end mark is expected`),z(e,e.lineIndent-1,w,!1,!0),I(e,!0,-1),e.checkLineBreaks&&ht.test(e.input.slice(t,e.position))&&M(e,`non-ASCII line breaks are interpreted as content`),e.documents.push(e.result),e.position===e.lineStart&&L(e)){e.input.charCodeAt(e.position)===46&&(e.position+=3,I(e,!0,-1));return}if(e.position<e.length-1)j(e,`end of the stream or a document separator is expected`);else return}function Ut(e,t){e=String(e),t||={},e.length!==0&&(e.charCodeAt(e.length-1)!==10&&e.charCodeAt(e.length-1)!==13&&(e+=`
|
|
17
|
-
`),e.charCodeAt(0)===65279&&(e=e.slice(1)));var n=new Ot(e,t),r=e.indexOf(`\0`);for(r!==-1&&(n.position=r,j(n,`null byte is not allowed in input`)),n.input+=`\0`;n.input.charCodeAt(n.position)===32;)n.lineIndent+=1,n.position+=1;for(;n.position<n.length-1;)Ht(n);return n.documents}function Wt(e,t,n){typeof t==`object`&&t&&n===void 0&&(n=t,t=null);var r=Ut(e,n);if(typeof t!=`function`)return r;for(var i=0,a=r.length;i<a;i+=1)t(r[i])}function Gt(e,t){var n=Ut(e,t);if(n.length!==0){if(n.length===1)return n[0];throw new g(`expected a single document in the stream, but found more`)}}var Kt={loadAll:Wt,load:Gt},qt=Object.prototype.toString,Jt=Object.prototype.hasOwnProperty,Yt=65279,Xt=9,B=10,Zt=13,Qt=32,$t=33,en=34,V=35,tn=37,nn=38,rn=39,an=42,on=44,sn=45,H=58,cn=61,ln=62,un=63,dn=64,fn=91,pn=93,mn=96,hn=123,gn=124,_n=125,U={};U[0]=`\\0`,U[7]=`\\a`,U[8]=`\\b`,U[9]=`\\t`,U[10]=`\\n`,U[11]=`\\v`,U[12]=`\\f`,U[13]=`\\r`,U[27]=`\\e`,U[34]=`\\"`,U[92]=`\\\\`,U[133]=`\\N`,U[160]=`\\_`,U[8232]=`\\L`,U[8233]=`\\P`;var vn=[`y`,`Y`,`yes`,`Yes`,`YES`,`on`,`On`,`ON`,`n`,`N`,`no`,`No`,`NO`,`off`,`Off`,`OFF`],yn=/^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;function bn(e,t){var n,r,i,a,o,s,c;if(t===null)return{};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&&Jt.call(c.styleAliases,s)&&(s=c.styleAliases[s]),n[o]=s;return n}function xn(e){var t=e.toString(16).toUpperCase(),n,r;if(e<=255)n=`x`,r=2;else if(e<=65535)n=`u`,r=4;else if(e<=4294967295)n=`U`,r=8;else throw new g(`code point within a string may not be greater than 0xFFFFFFFF`);return`\\`+n+p.repeat(`0`,r-t.length)+t}var Sn=1,W=2;function Cn(e){this.schema=e.schema||lt,this.indent=Math.max(1,e.indent||2),this.noArrayIndent=e.noArrayIndent||!1,this.skipInvalid=e.skipInvalid||!1,this.flowLevel=p.isNothing(e.flowLevel)?-1:e.flowLevel,this.styleMap=bn(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===`"`?W:Sn,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}function wn(e,t){for(var n=p.repeat(` `,t),r=0,i=-1,a=``,o,s=e.length;r<s;)i=e.indexOf(`
|
|
18
|
-
`,r),i===-1?(o=e.slice(r),r=s):(o=e.slice(r,i+1),r=i+1),o.length&&o!==`
|
|
19
|
-
`&&(a+=n),a+=o;return a}function G(e,t){return`
|
|
20
|
-
`+p.repeat(` `,e.indent*t)}function Tn(e,t){var n,r,i;for(n=0,r=e.implicitTypes.length;n<r;n+=1)if(i=e.implicitTypes[n],i.resolve(t))return!0;return!1}function K(e){return e===Qt||e===Xt}function q(e){return 32<=e&&e<=126||161<=e&&e<=55295&&e!==8232&&e!==8233||57344<=e&&e<=65533&&e!==Yt||65536<=e&&e<=1114111}function En(e){return q(e)&&e!==Yt&&e!==Zt&&e!==B}function Dn(e,t,n){var r=En(e),i=r&&!K(e);return(n?r:r&&e!==on&&e!==fn&&e!==pn&&e!==hn&&e!==_n)&&e!==V&&!(t===H&&!i)||En(t)&&!K(t)&&e===V||t===H&&i}function On(e){return q(e)&&e!==Yt&&!K(e)&&e!==sn&&e!==un&&e!==H&&e!==on&&e!==fn&&e!==pn&&e!==hn&&e!==_n&&e!==V&&e!==nn&&e!==an&&e!==$t&&e!==gn&&e!==cn&&e!==ln&&e!==rn&&e!==en&&e!==tn&&e!==dn&&e!==mn}function kn(e){return!K(e)&&e!==H}function J(e,t){var n=e.charCodeAt(t),r;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}function An(e){return/^\n* /.test(e)}var jn=1,Y=2,Mn=3,Nn=4,X=5;function Pn(e,t,n,r,i,a,o,s){var c,l=0,u=null,d=!1,f=!1,p=r!==-1,m=-1,h=On(J(e,0))&&kn(J(e,e.length-1));if(t||o)for(c=0;c<e.length;l>=65536?c+=2:c++){if(l=J(e,c),!q(l))return X;h&&=Dn(l,u,s),u=l}else{for(c=0;c<e.length;l>=65536?c+=2:c++){if(l=J(e,c),l===B)d=!0,p&&(f||=c-m-1>r&&e[m+1]!==` `,m=c);else if(!q(l))return X;h&&=Dn(l,u,s),u=l}f||=p&&c-m-1>r&&e[m+1]!==` `}return!d&&!f?h&&!o&&!i(e)?jn:a===W?X:Y:n>9&&An(e)?X:o?a===W?X:Y:f?Nn:Mn}function Fn(e,t,n,r,i){e.dump=function(){if(t.length===0)return e.quotingType===W?`""`:`''`;if(!e.noCompatMode&&(vn.indexOf(t)!==-1||yn.test(t)))return e.quotingType===W?`"`+t+`"`:`'`+t+`'`;var a=e.indent*Math.max(1,n),o=e.lineWidth===-1?-1:Math.max(Math.min(e.lineWidth,40),e.lineWidth-a),s=r||e.flowLevel>-1&&n>=e.flowLevel;function c(t){return Tn(e,t)}switch(Pn(t,s,e.indent,o,c,e.quotingType,e.forceQuotes&&!r,i)){case jn:return t;case Y:return`'`+t.replace(/'/g,`''`)+`'`;case Mn:return`|`+In(t,e.indent)+Ln(wn(t,a));case Nn:return`>`+In(t,e.indent)+Ln(wn(Rn(t,o),a));case X:return`"`+Bn(t)+`"`;default:throw new g(`impossible error: invalid scalar style`)}}()}function In(e,t){var n=An(e)?String(t):``,r=e[e.length-1]===`
|
|
21
|
-
`;return n+(r&&(e[e.length-2]===`
|
|
22
|
-
`||e===`
|
|
23
|
-
`)?`+`:r?``:`-`)+`
|
|
24
|
-
`}function Ln(e){return e[e.length-1]===`
|
|
25
|
-
`?e.slice(0,-1):e}function Rn(e,t){for(var n=/(\n+)([^\n]*)/g,r=function(){var r=e.indexOf(`
|
|
26
|
-
`);return r=r===-1?e.length:r,n.lastIndex=r,zn(e.slice(0,r),t)}(),i=e[0]===`
|
|
27
|
-
`||e[0]===` `,a,o;o=n.exec(e);){var s=o[1],c=o[2];a=c[0]===` `,r+=s+(!i&&!a&&c!==``?`
|
|
28
|
-
`:``)+zn(c,t),i=a}return r}function zn(e,t){if(e===``||e[0]===` `)return e;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+=`
|
|
29
|
-
`+e.slice(i,a),i=a+1),o=s;return c+=`
|
|
30
|
-
`,e.length-i>t&&o>i?c+=e.slice(i,o)+`
|
|
31
|
-
`+e.slice(o+1):c+=e.slice(i),c.slice(1)}function Bn(e){for(var t=``,n=0,r,i=0;i<e.length;n>=65536?i+=2:i++)n=J(e,i),r=U[n],!r&&q(n)?(t+=e[i],n>=65536&&(t+=e[i+1])):t+=r||xn(n);return t}function Vn(e,t,n){var r=``,i=e.tag,a,o,s;for(a=0,o=n.length;a<o;a+=1)s=n[a],e.replacer&&(s=e.replacer.call(n,String(a),s)),(Z(e,t,s,!1,!1)||s===void 0&&Z(e,t,null,!1,!1))&&(r!==``&&(r+=`,`+(e.condenseFlow?``:` `)),r+=e.dump);e.tag=i,e.dump=`[`+r+`]`}function Hn(e,t,n,r){var i=``,a=e.tag,o,s,c;for(o=0,s=n.length;o<s;o+=1)c=n[o],e.replacer&&(c=e.replacer.call(n,String(o),c)),(Z(e,t+1,c,!0,!0,!1,!0)||c===void 0&&Z(e,t+1,null,!0,!0,!1,!0))&&((!r||i!==``)&&(i+=G(e,t)),e.dump&&B===e.dump.charCodeAt(0)?i+=`-`:i+=`- `,i+=e.dump);e.tag=a,e.dump=i||`[]`}function Un(e,t,n){var r=``,i=e.tag,a=Object.keys(n),o,s,c,l,u;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)),Z(e,t,c,!1,!1)&&(e.dump.length>1024&&(u+=`? `),u+=e.dump+(e.condenseFlow?`"`:``)+`:`+(e.condenseFlow?``:` `),Z(e,t,l,!1,!1)&&(u+=e.dump,r+=u));e.tag=i,e.dump=`{`+r+`}`}function Wn(e,t,n,r){var i=``,a=e.tag,o=Object.keys(n),s,c,l,u,d,f;if(e.sortKeys===!0)o.sort();else if(typeof e.sortKeys==`function`)o.sort(e.sortKeys);else if(e.sortKeys)throw new g(`sortKeys must be a boolean or a function`);for(s=0,c=o.length;s<c;s+=1)f=``,(!r||i!==``)&&(f+=G(e,t)),l=o[s],u=n[l],e.replacer&&(u=e.replacer.call(n,l,u)),Z(e,t+1,l,!0,!0,!0)&&(d=e.tag!==null&&e.tag!==`?`||e.dump&&e.dump.length>1024,d&&(e.dump&&B===e.dump.charCodeAt(0)?f+=`?`:f+=`? `),f+=e.dump,d&&(f+=G(e,t)),Z(e,t+1,u,!0,d)&&(e.dump&&B===e.dump.charCodeAt(0)?f+=`:`:f+=`: `,f+=e.dump,i+=f));e.tag=a,e.dump=i||`{}`}function Gn(e,t,n){var r,i=n?e.explicitTypes:e.implicitTypes,a,o,s,c;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))){if(n?s.multi&&s.representName?e.tag=s.representName(t):e.tag=s.tag:e.tag=`?`,s.represent){if(c=e.styleMap[s.tag]||s.defaultStyle,qt.call(s.represent)===`[object Function]`)r=s.represent(t,c);else if(Jt.call(s.represent,c))r=s.represent[c](t,c);else throw new g(`!<`+s.tag+`> tag resolver accepts not "`+c+`" style`);e.dump=r}return!0}return!1}function Z(e,t,n,r,i,a,o){e.tag=null,e.dump=n,Gn(e,n,!1)||Gn(e,n,!0);var s=qt.call(e.dump),c=r,l;r&&=e.flowLevel<0||e.flowLevel>t;var u=s===`[object Object]`||s===`[object Array]`,d,f;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;else{if(u&&f&&!e.usedDuplicates[d]&&(e.usedDuplicates[d]=!0),s===`[object Object]`)r&&Object.keys(e.dump).length!==0?(Wn(e,t,e.dump,i),f&&(e.dump=`&ref_`+d+e.dump)):(Un(e,t,e.dump),f&&(e.dump=`&ref_`+d+` `+e.dump));else if(s===`[object Array]`)r&&e.dump.length!==0?(e.noArrayIndent&&!o&&t>0?Hn(e,t-1,e.dump,i):Hn(e,t,e.dump,i),f&&(e.dump=`&ref_`+d+e.dump)):(Vn(e,t,e.dump),f&&(e.dump=`&ref_`+d+` `+e.dump));else if(s===`[object String]`)e.tag!==`?`&&Fn(e,e.dump,t,a,c);else if(s===`[object Undefined]`)return!1;else{if(e.skipInvalid)return!1;throw new g(`unacceptable kind of an object to dump `+s)}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)}return!0}function Kn(e,t){var n=[],r=[],i,a;for(qn(e,n,r),i=0,a=r.length;i<a;i+=1)t.duplicates.push(n[r[i]]);t.usedDuplicates=Array(a)}function qn(e,t,n){var r,i,a;if(typeof e==`object`&&e)if(i=t.indexOf(e),i!==-1)n.indexOf(i)===-1&&n.push(i);else if(t.push(e),Array.isArray(e))for(i=0,a=e.length;i<a;i+=1)qn(e[i],t,n);else for(r=Object.keys(e),i=0,a=r.length;i<a;i+=1)qn(e[r[i]],t,n)}function Jn(e,t){t||={};var n=new Cn(t);n.noRefs||Kn(e,n);var r=e;return n.replacer&&(r=n.replacer.call({"":r},``,r)),Z(n,0,r,!0,!0)?n.dump+`
|
|
32
|
-
`:``}var Yn={dump:Jn};function Xn(e,t){return function(){throw Error(`Function yaml.`+e+` is removed in js-yaml 4. Use yaml.`+t+` instead, which is now safe by default.`)}}var Zn={Type:y,Schema:ce,FAILSAFE_SCHEMA:fe,JSON_SCHEMA:Fe,CORE_SCHEMA:Ie,DEFAULT_SCHEMA:lt,load:Kt.load,loadAll:Kt.loadAll,dump:Yn.dump,YAMLException:g,types:{binary:Ye,float:Pe,map:de,null:ge,pairs:it,set:ct,timestamp:He,bool:be,int:De,merge:We,omap:et,seq:ue,str:le},safeLoad:Xn(`safeLoad`,`load`),safeLoadAll:Xn(`safeLoadAll`,`loadAll`),safeDump:Xn(`safeDump`,`dump`)};function Qn(e=``){return String(e).includes(`\r
|
|
33
|
-
`)?`\r
|
|
34
|
-
`:`
|
|
35
|
-
`}function $n(e=``){return String(e).replace(/\r$/,``)}function er(e){return Object.prototype.toString.call(e)===`[object Object]`}function tr(e){return e==null||typeof e==`string`||typeof e==`number`||typeof e==`boolean`||e instanceof Date}function nr(e){return e instanceof Date?e.toISOString():e==null?`null`:String(e)}function rr(e){return Zn.dump(e,{lineWidth:-1,noRefs:!0}).trim()}function ir(e){return tr(e)?`<span class="frontmatter-value-text">${a(nr(e))}</span>`:Array.isArray(e)&&e.every(e=>tr(e))?`<div class="frontmatter-value-list">${e.map(e=>`<span class="frontmatter-value-pill">${a(nr(e))}</span>`).join(``)}</div>`:`<pre class="frontmatter-value-code"><code>${a(rr(e))}</code></pre>`}function ar(e){return er(e)?Object.entries(e):[[`value`,e]]}function or(e){return e.length===0?`No properties`:`${e.length} propert${e.length===1?`y`:`ies`} hidden`}function sr(e=``){let t=String(e??``);if(!t.startsWith(`---`))return null;let n=Qn(t),r=t.split(/\r?\n/);if($n(r[0])!==`---`)return null;let i=-1;for(let e=1;e<r.length;e+=1)if($n(r[e])===`---`){i=e;break}if(i<0)return null;let a=r.slice(0,i+1).join(n),o=r.slice(1,i).join(n),s;try{s=Zn.load(o||`{}`)}catch{return null}let c=i+1;return{bodyMarkdown:[...Array.from({length:c},()=>``),...r.slice(i+1)].join(n),data:s??{},endLine:c,rawFrontmatter:a,startLine:1}}function cr(e,{collapsed:t=!1,interactive:n=!1}={}){if(!e)return``;let r=ar(e.data),i=n&&t,o=` data-source-line="${e.startLine}" data-source-line-end="${e.endLine}"${n?` data-collapsed="${i?`true`:`false`}"`:``}`,s=`frontmatter-body-${e.startLine}-${e.endLine}`,c=r.length===0?`<div class="frontmatter-empty">No properties</div>`:``,l=r.map(([e,t])=>`<div class="frontmatter-property"><dt class="frontmatter-key">${a(e)}</dt><dd class="frontmatter-value">${ir(t)}</dd></div>`).join(``);return`<section class="frontmatter-block"${o}>${n?`<div class="frontmatter-header"><div class="frontmatter-label">Properties</div><button type="button" class="frontmatter-toggle" aria-controls="${s}" aria-expanded="${i?`false`:`true`}">${i?`Show`:`Hide`}</button></div>`:`<div class="frontmatter-label">Properties</div>`}${n?`<div class="frontmatter-summary"${i?``:` hidden`}>${a(or(r))}</div>`:``}<div${` class="frontmatter-content"${n?` id="${s}"`:``}${i?` hidden`:``}`}><dl class="frontmatter-properties">${l}</dl>${c}</div></section>`}var lr=Object.freeze({".mp4":`video/mp4`,".ogg":`video/ogg`,".webm":`video/webm`}),ur=new Set([`youtube.com`,`www.youtube.com`,`m.youtube.com`,`youtu.be`,`www.youtu.be`,`youtube-nocookie.com`,`www.youtube-nocookie.com`]);function Q(e,t,n,r,i,a){return e?.(t,n,r,i,a)??a.renderToken(t,n,r)}function dr(e=``){let t=2166136261;for(let n=0;n<e.length;n+=1)t^=e.charCodeAt(n),t=Math.imul(t,16777619);return(t>>>0).toString(36)}function $(e=``){return String(e).replace(/<->/g,`↔`).replace(/<=>/g,`⇔`).replace(/->/g,`→`).replace(/<-/g,`←`).replace(/=>/g,`⇒`)}function fr(e=``){return a($(e))}function pr(e=``){let t=String(e).split(/<br\s*\/?>/i);return t.length===1?fr(e):t.map(e=>fr(e)).join(`<br>`)}function mr({key:e,sourceAttributes:t,sourceHash:n,sourceText:r}){return`<div class="mermaid-shell diagram-preview-shell"${t} data-mermaid-key="${a(e)}" data-mermaid-source-hash="${a(n)}"><div class="mermaid-placeholder-card diagram-preview-placeholder-card"><div class="mermaid-placeholder-copy diagram-preview-placeholder-copy"><strong>Mermaid diagram</strong><span>Loads when visible</span></div><button type="button" class="mermaid-placeholder-btn diagram-preview-placeholder-btn" data-mermaid-key="${a(e)}">Render</button></div><pre class="mermaid-source" hidden>${a(r)}</pre></div>`}function hr({embedKey:e,label:t,target:n}){return`<span class="mermaid-shell diagram-preview-shell" data-mermaid-key="${a(e)}" data-mermaid-target="${a(n)}" data-mermaid-label="${a(t)}"><span class="mermaid-placeholder-card diagram-preview-placeholder-card"><span class="mermaid-placeholder-copy diagram-preview-placeholder-copy"><strong>${a(t)}</strong><span>Loads when visible</span></span><button type="button" class="mermaid-placeholder-btn diagram-preview-placeholder-btn" data-mermaid-key="${a(e)}">Render</button></span><span class="mermaid-source" hidden></span></span>`}function gr({key:e,sourceAttributes:t,sourceHash:n,sourceText:r}){return`<div class="plantuml-shell diagram-preview-shell"${t} data-plantuml-key="${a(e)}" data-plantuml-source-hash="${a(n)}"><div class="plantuml-placeholder-card diagram-preview-placeholder-card"><div class="plantuml-placeholder-copy diagram-preview-placeholder-copy"><strong>PlantUML diagram</strong><span>Renders server-side when visible</span></div><button type="button" class="plantuml-placeholder-btn diagram-preview-placeholder-btn" data-plantuml-key="${a(e)}">Render</button></div><pre class="plantuml-source" hidden>${a(r)}</pre></div>`}function _r({embedKey:e,label:t,target:n}){return`<span class="plantuml-shell diagram-preview-shell" data-plantuml-key="${a(e)}" data-plantuml-target="${a(n)}" data-plantuml-label="${a(t)}"><span class="plantuml-placeholder-card diagram-preview-placeholder-card"><span class="plantuml-placeholder-copy diagram-preview-placeholder-copy"><strong>${a(t)}</strong><span>Renders server-side when visible</span></span><button type="button" class="plantuml-placeholder-btn diagram-preview-placeholder-btn" data-plantuml-key="${a(e)}">Render</button></span><span class="plantuml-source" hidden></span></span>`}function vr({embedKey:e,label:t,target:n}){return`<span class="excalidraw-embed-placeholder diagram-preview-shell" data-embed-key="${a(e)}" data-embed-target="${a(n)}" data-embed-label="${a(t)}"><span class="excalidraw-embed-placeholder-card diagram-preview-placeholder-card"><span class="excalidraw-embed-placeholder-copy diagram-preview-placeholder-copy"><strong>${a(t)}</strong><span>Loads when visible</span></span><button type="button" class="excalidraw-embed-placeholder-btn diagram-preview-placeholder-btn" data-embed-key="${a(e)}">Load diagram</button></span></span>`}function yr({embedKey:e,label:t,target:n}){return`<span class="drawio-embed-placeholder diagram-preview-shell" data-drawio-key="${a(e)}" data-drawio-target="${a(n)}" data-drawio-label="${a(t)}" data-drawio-mode="view"><span class="drawio-embed-placeholder-card diagram-preview-placeholder-card"><span class="drawio-embed-placeholder-copy diagram-preview-placeholder-copy"><strong>${a(t)}</strong><span>Loads when visible</span></span><button type="button" class="drawio-embed-placeholder-btn diagram-preview-placeholder-btn" data-drawio-key="${a(e)}">Load diagram</button></span></span>`}function br(e=``){let t=e.toLowerCase().match(/\.(mp4|ogg|webm)$/i);return t&&lr[`.${t[1].toLowerCase()}`]||null}function xr(e=``){let t=String(e||``).trim();return/^[A-Za-z0-9_-]{11}$/.test(t)?t:null}function Sr(e){let t=e.hostname.toLowerCase(),n=null;return t===`youtu.be`||t===`www.youtu.be`?n=xr(e.pathname.split(`/`).filter(Boolean)[0]||``):(t.includes(`youtube`)||t.includes(`youtube-nocookie`))&&(e.pathname===`/watch`?n=xr(e.searchParams.get(`v`)||``):e.pathname.startsWith(`/embed/`)&&(n=xr(e.pathname.split(`/`).filter(Boolean)[1]||``))),n?`https://www.youtube-nocookie.com/embed/${n}`:null}function Cr(e=``){let t;try{t=new URL(String(e||``).trim())}catch{return null}if(t.protocol!==`https:`)return null;let n=t.hostname.toLowerCase();if(ur.has(n)){let e=Sr(t);return e?{embedUrl:e,type:`youtube`}:null}let r=br(t.pathname);return r?{mimeType:r,sourceUrl:t.toString(),type:`direct-video`}:null}function wr({embedKey:e,kind:t,label:n,mimeType:r=``,originalUrl:i=``,source:o,url:s}){let c=t===`youtube`?`YouTube video`:`Video file`,l=r?` data-video-embed-mime-type="${a(r)}"`:``,u=i?` data-video-embed-original-url="${a(i)}"`:``;return`<span class="video-embed-placeholder video-embed-shell diagram-preview-shell" data-video-embed-key="${a(e)}" data-video-embed-kind="${a(t)}" data-video-embed-label="${a(n)}" data-video-embed-source="${a(o)}" data-video-embed-url="${a(s)}"${l}${u}><span class="video-embed-placeholder-card diagram-preview-placeholder-card"><span class="video-embed-placeholder-copy diagram-preview-placeholder-copy"><strong>${a(n)}</strong><span>${a(c)}</span></span></span></span>`}function Tr(e,t){let n=e.attrGet(`src`)||``,r=Cr(n);if(!r)return null;let i=$(e.content||e.attrGet(`title`)||``),a=r.type===`youtube`?r.embedUrl:r.sourceUrl,o=t.get(a)??0;return t.set(a,o+1),wr({embedKey:`video-${dr(a)}-${o}`,kind:r.type,label:i||`Embedded video`,mimeType:r.mimeType,originalUrl:n,source:a,url:r.type===`youtube`?r.embedUrl:r.sourceUrl})}function Er(e=``){let t=String(e??``).trim();return!t||t.startsWith(`data:`)||t.startsWith(`blob:`)||t.startsWith(`#`)||t.startsWith(`//`)||/^[a-zA-Z][a-zA-Z\d+.-]*:/u.test(t)||t.startsWith(`/`)}function Dr(e=``,{attachmentApiPath:t,sourceFilePath:n}={}){if(!n||Er(e))return null;let i=o(n,e);return!i||!r(i)?null:`${t}?path=${encodeURIComponent(i)}`}function Or(e,{drawioEmbedCounts:t,excalidrawEmbedCounts:n,fileList:r,mermaidEmbedCounts:o,plantUmlEmbedCounts:s}){let c=/!\[\[([^\]|]+\.(?:excalidraw|drawio|mmd|mermaid|puml|plantuml))(?:\|([^\]]+))?\]\]|\[\[([^\]|]+)(?:\|([^\]]+))?\]\]/gi,l=0,u=``,d;for(;(d=c.exec(e))!==null;){if(d.index>l&&(u+=pr(e.slice(l,d.index))),d[1]){let e=d[1].trim(),r=(d[2]||e).trim();if(/\.excalidraw$/i.test(e)){let t=n.get(e)??0;n.set(e,t+1),u+=vr({embedKey:`${e}#${t}`,label:$(r.replace(/\.excalidraw$/i,``)),target:e})}else if(/\.drawio$/i.test(e)){let n=t.get(e)??0;t.set(e,n+1),u+=yr({embedKey:`${e}#${n}`,label:$(r.replace(/\.drawio$/i,``)),target:e})}else if(/\.(?:mmd|mermaid)$/i.test(e)){let t=o.get(e)??0;o.set(e,t+1),u+=hr({embedKey:`${e}#${t}`,label:$(r.replace(/\.(?:mmd|mermaid)$/i,``)),target:e})}else{let t=s.get(e)??0;s.set(e,t+1),u+=_r({embedKey:`${e}#${t}`,label:$(r.replace(/\.(?:puml|plantuml)$/i,``)),target:e})}}else{let e=d[3].trim(),t=(d[4]||d[3]).trim(),n=i(e,r),o=n?`wiki-link`:`wiki-link wiki-link-new`,s=n?$(t):`Create "${e}"`;u+=`<a class="${o}" href="#" data-wiki-target="${a(e)}" title="${a(s)}">${fr(t)}</a>`}l=c.lastIndex}return l<e.length&&(u+=pr(e.slice(l))),u}function kr(n=[],{attachmentApiPath:r=`/api/attachment`,sourceFilePath:i=``}={}){let a=e({highlight(e,n){if(n===`mermaid`||n===`plantuml`||n===`puml`)return``;try{return n&&t.getLanguage(n)?t.highlight(e,{language:n}).value:t.highlightAuto(e).value}catch{return``}},html:!1,linkify:!0,typographer:!0});a.core.ruler.push(`collabmd-source-lines`,e=>{e.tokens.forEach(e=>{if(!e.map)return;let[t,n]=e.map,r=t+1,i=Math.max(n,t+1);(e.nesting===1||e.type===`fence`||e.type===`code_block`||e.type===`html_block`)&&(e.attrSet(`data-source-line`,String(r)),e.attrSet(`data-source-line-end`,String(i)))})});let o=new Map,s=new Map,c=new Map,l=new Map,u=new Map,d=new Map,f=new Map,p=a.renderer.rules.fence,m=a.renderer.rules.image,h=a.renderer.rules.link_open,g=a.renderer.rules.table_open,_=a.renderer.rules.table_close;return a.renderer.rules.fence=(e,t,n,r,i)=>{let a=e[t],o=a.info?a.info.trim().toLowerCase():``,s=a.attrGet(`data-source-line`),l=a.attrGet(`data-source-line-end`),d=s?` data-source-line="${s}" data-source-line-end="${l}"`:``;if(o===`mermaid`){let e=dr(a.content),t=c.get(e)??0;return c.set(e,t+1),mr({key:`mermaid-${e}-${t}`,sourceAttributes:d,sourceHash:e,sourceText:a.content})}if(o===`plantuml`||o===`puml`){let e=dr(a.content),t=u.get(e)??0;return u.set(e,t+1),gr({key:`plantuml-${e}-${t}`,sourceAttributes:d,sourceHash:e,sourceText:a.content})}let f=Q(p,e,t,n,r,i);return s?f.replace(/^<pre/,`<pre data-source-line="${s}" data-source-line-end="${l}"`):f},a.renderer.rules.list_item_open=(e,t,n,r,i)=>{let a=e[t+2]?.content??``;return(a.startsWith(`[ ] `)||a.startsWith(`[x] `)||a.startsWith(`[X] `))&&e[t].attrJoin(`class`,`task-list-item`),i.renderToken(e,t,n)},a.renderer.rules.text=(e,t)=>{let r=e[t].content;return r.startsWith(`[x] `)||r.startsWith(`[X] `)?`<input type="checkbox" checked data-task-checkbox="true"> ${Or(r.slice(4),{drawioEmbedCounts:o,excalidrawEmbedCounts:s,fileList:n,mermaidEmbedCounts:l,plantUmlEmbedCounts:d})}`:r.startsWith(`[ ] `)?`<input type="checkbox" data-task-checkbox="true"> ${Or(r.slice(4),{drawioEmbedCounts:o,excalidrawEmbedCounts:s,fileList:n,mermaidEmbedCounts:l,plantUmlEmbedCounts:d})}`:Or(r,{drawioEmbedCounts:o,excalidrawEmbedCounts:s,fileList:n,mermaidEmbedCounts:l,plantUmlEmbedCounts:d})},a.renderer.rules.link_open=(e,t,n,r,i)=>(e[t].attrSet(`target`,`_blank`),e[t].attrSet(`rel`,`noopener noreferrer`),Q(h,e,t,n,r,i)),a.renderer.rules.image=(e,t,n,a,o)=>{let s=e[t],c=Dr(s.attrGet(`src`)||``,{attachmentApiPath:r,sourceFilePath:i});return c&&s.attrSet(`src`,c),Tr(s,f)||Q(m,e,t,n,a,o)},a.renderer.rules.table_open=(e,t,n,r,i)=>`<div class="table-wrapper">${Q(g,e,t,n,r,i)}`,a.renderer.rules.table_close=(e,t,n,r,i)=>`${Q(_,e,t,n,r,i)}</div>`,a}function Ar({attachmentApiPath:e=`/api/attachment`,fileList:t=[],frontmatterCollapsed:r=!1,frontmatterInteractive:i=!1,markdownText:a=``,sourceFilePath:o=``}={}){let s=String(a),c=sr(s),l=kr(t,{attachmentApiPath:e,sourceFilePath:o}),u=c?c.bodyMarkdown:s;return{html:`${cr(c,{collapsed:r,interactive:i})}${l.render(u)}`,stats:n(s)}}export{Ar as t};
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import{h as e,n as t}from"./vault-utils-BW53lKl1.js";var n=12;function r(t){return e(t)}var i=class{constructor({getFileList:e,onFileSelect:t}){this.getFileList=e,this.onFileSelect=t,this.overlay=document.getElementById(`quickSwitcher`),this.input=document.getElementById(`quickSwitcherInput`),this.resultsList=document.getElementById(`quickSwitcherResults`),this.hint=document.getElementById(`quickSwitcherHint`),this.filteredFiles=[],this.selectedIndex=0,this.isOpen=!1,this.bindEvents()}bindEvents(){this.overlay?.addEventListener(`mousedown`,e=>{e.target===this.overlay&&this.close()}),this.input?.addEventListener(`input`,()=>{this.filterFiles()}),this.input?.addEventListener(`keydown`,e=>{switch(e.key){case`ArrowDown`:e.preventDefault(),this.moveSelection(1);break;case`ArrowUp`:e.preventDefault(),this.moveSelection(-1);break;case`Enter`:e.preventDefault(),this.confirmSelection();break;case`Escape`:e.preventDefault(),this.close();break;case`Tab`:e.preventDefault(),this.moveSelection(e.shiftKey?-1:1);break}})}open(){this.overlay&&(this.isOpen=!0,this.input.value=``,this.selectedIndex=0,this.overlay.classList.add(`visible`),this.filterFiles(),this._focusAfterTransition())}_focusAfterTransition(){this._cancelPendingFocus();let e=()=>{this._focusCleanup=null,this.input?.focus(),this.isOpen&&this.input&&document.activeElement!==this.input&&setTimeout(()=>this.input?.focus(),50)},t=r=>{(r.propertyName===`visibility`||r.propertyName===`opacity`)&&(this.overlay.removeEventListener(`transitionend`,t),clearTimeout(n),e())};this.overlay.addEventListener(`transitionend`,t);let n=setTimeout(()=>{this.overlay.removeEventListener(`transitionend`,t),e()},160);this._focusCleanup=()=>{this.overlay.removeEventListener(`transitionend`,t),clearTimeout(n)}}_cancelPendingFocus(){this._focusCleanup&&=(this._focusCleanup(),null)}close(){this.overlay&&(this._cancelPendingFocus(),this.isOpen=!1,this.overlay.classList.remove(`visible`),this.input.value=``,this.resultsList.innerHTML=``)}toggle(){this.isOpen?this.close():this.open()}filterFiles(){let e=this.input?.value.trim().toLowerCase()??``,t=this.getFileList?.()??[];e?this.filteredFiles=t.map(t=>({filePath:t,score:this.fuzzyScore(t.toLowerCase(),e)})).filter(e=>e.score>0).sort((e,t)=>t.score-e.score).slice(0,n).map(e=>e.filePath):this.filteredFiles=t.slice(0,n),this.selectedIndex=0,this.renderResults(e)}fuzzyScore(e,t){let n=r(e),i=n.split(`/`).pop();if(i.includes(t))return 100+1/i.length;if(n.includes(t))return 50+1/n.length;let a=0,o=0,s=0;for(let e=0;e<n.length&&a<t.length;e++)n[e]===t[a]?(a++,s+=1,o+=s,(e===0||n[e-1]===`/`||n[e-1]===`-`||n[e-1]===`_`||n[e-1]===` `)&&(o+=5)):s=0;return a===t.length?o:0}renderResults(e){if(!this.resultsList)return;if(this.resultsList.innerHTML=``,this.filteredFiles.length===0){this.hint&&(this.hint.textContent=e?`No files found`:`No files in vault`,this.hint.classList.remove(`hidden`));return}this.hint&&this.hint.classList.add(`hidden`);let n=document.createDocumentFragment();this.filteredFiles.forEach((i,a)=>{let o=document.createElement(`button`);o.type=`button`,o.className=`qs-result-item`,a===this.selectedIndex&&o.classList.add(`selected`),o.dataset.index=String(a);let s=r(i),c=s.split(`/`).pop(),l=s.includes(`/`)?s.substring(0,s.lastIndexOf(`/`)):``;o.innerHTML=`
|
|
2
|
-
<svg class="qs-result-icon" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"/><polyline points="14 2 14 8 20 8"/></svg>
|
|
3
|
-
<span class="qs-result-name">${this.highlightMatch(c,e)}</span>
|
|
4
|
-
${l?`<span class="qs-result-path">${t(l)}</span>`:``}
|
|
5
|
-
`,o.addEventListener(`click`,()=>{this.selectedIndex=a,this.confirmSelection()}),o.addEventListener(`mouseenter`,()=>{this.selectedIndex=a,this.updateSelection()}),n.appendChild(o)}),this.resultsList.appendChild(n)}highlightMatch(e,n){if(!n)return t(e);let r=e.toLowerCase().indexOf(n);if(r>=0){let i=e.slice(0,r),a=e.slice(r,r+n.length),o=e.slice(r+n.length);return`${t(i)}<mark>${t(a)}</mark>${t(o)}`}let i=``,a=0;for(let r=0;r<e.length;r++)a<n.length&&e[r].toLowerCase()===n[a]?(i+=`<mark>${t(e[r])}</mark>`,a++):i+=t(e[r]);return i}moveSelection(e){this.filteredFiles.length!==0&&(this.selectedIndex=(this.selectedIndex+e+this.filteredFiles.length)%this.filteredFiles.length,this.updateSelection())}updateSelection(){if(!this.resultsList)return;let e=this.resultsList.querySelectorAll(`.qs-result-item`);e.forEach((e,t)=>{e.classList.toggle(`selected`,t===this.selectedIndex)}),e[this.selectedIndex]?.scrollIntoView({block:`nearest`})}confirmSelection(){let e=this.filteredFiles[this.selectedIndex];e&&(this.close(),this.onFileSelect?.(e))}};export{i as QuickSwitcherController};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./chunk-XZSTWKYB-DDkpyNVE.js";import{n as e}from"./chunk-L3YUKLVL-CD9nJYL8.js";export{e as createRadarServices};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./chunk-GEFDOKGD-DYHmaq-c.js";import{h as e}from"./src-E3c2cohN.js";import"./chunk-7R4GIKGN-BMrp52Pk.js";import"./chunk-PU5JKC2W-t0zUh6E3.js";import"./chunk-MX3YWQON-DqN0TF5Q.js";import"./chunk-YBOYWFTD-CzyyfGQX.js";import"./chunk-55IACEB6-039iVf6v.js";import"./chunk-KX2RTZJC-tuEC7hg1.js";import"./chunk-PQ6SQG4A-BY9_Srs_.js";import"./chunk-KYZI473N-D4r5eMJZ.js";import"./chunk-O4XLMI2P-DaS3COAu.js";import"./chunk-GLR3WWYH-CQ1LryrI.js";import{i as t,n,r,t as i}from"./chunk-NQ4KR5QH-BBX89uUa.js";var a={parser:n,get db(){return new i(2)},renderer:r,styles:t,init:e(e=>{e.state||={},e.state.arrowMarkerAbsolute=e.arrowMarkerAbsolute},`init`)};export{a as diagram};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./chunk-SRAX5OIU-CC2mobFL.js";import{i as e,n as t,r as n,t as r}from"./chunk-Z5NKEFVG-Dgem5v98.js";export{t as Commands,e as subsetToBase64,n as subsetToBinary,r as toBase64};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./chunk-XZSTWKYB-DDkpyNVE.js";import{n as e}from"./chunk-OZEHJAEY-BaBXI-8x.js";export{e as createTreemapServices};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{l as e,n as t}from"./runtime-config-CqX_f_Q4.js";var n={enabled:!1,implemented:!0,loginEndpoint:`/api/auth/oidc/login`,passwordLabel:`Password`,provider:``,requiresLogin:!1,sessionEndpoint:`/api/auth/session`,statusEndpoint:`/api/auth/status`,strategy:`none`,submitLabel:`Continue`},r=`data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAIAAAABc2X6AAAGsklEQVR4Ae3cA3jsShgG4Gvbtu1js7aObdu2bdbudmvbtu1VtUg2ydw7x95mstnt5rZ5voflG80/fzL72L89bOsF94J7wWgb2dSgiAzpPHmwbfPK1qWzxDNsRdb6Ar2BgtF9hSbDRbYG4mk2beuXwm+Q89yV+TmAILgHptrb5DyPtg3LhBZjBCP+RovewNZlc2TOl8nGel0HA4LA4qPhkRSM6XcHoEYk86fIfT2AQqFzYIBjMncHofkoZBWNCM1GSq+cpdpadQIMKEoRzIeXIroEkW08TObpDAiiO8F4Tga85TBnoEc8xVKZm9UNYECS0stnBCP/Ud+AnJH/SC+eAiShPTDZ3CRZPIN9CUokC6ZSYqE2wHhmKhw/2TegR2RnSFSUaRaMJccLxg7QsAQhktkTAACaAmOxkbA80h2taKIZKWzR1BFWRAQLRvXhphYdDEtcWDxxU4sOhjdDkdVYbmrRwYAgJIums3RTNWrftbHz/AmZh5MiLBAGVqOdZ4+1790inmrFvpYZuPPEATWdknmT5f7eZEN9V2N7o9zPu3XNInQte2BlcYE6tVTbltXw4kf9h5QlhW3rliBr1QcDAODsjPFlhmelqfNvKQty4S9B0KoPVgTxmWk7Tx0COMZCF6GzA3ZC0LWMwJSsTWiOXj+O6iP382KzowAAvMOhaxmAqw/Ijr4tGPsHgnbsACwxlpNNPABIIv5LIvxpzOVlkdXPNMGK8CCudi2pFi+ovRFlwLOtc7/uUgvnxhxu05LpIyD17nTu+EAw8q9HaVtXzgcAcBUMcAER/sx9YBj5pdeExr897NLtT9TVcLgRTzVcgbyHBuc9L5n8PdLJzAEwmWP1KDCMMvTp9jWf3tbC1gdQKDgMBhRBRL0GYaojO35zxOo8fZjbz5ZAZz700Anm9pLI9g+yoY7bYKrJBWJoRpk8SJ0/fDoc13QuRuNdgMmydfTBZPkGdcDDd0q1EDkOVIKzTOiDKVGY7oPLmylVYCKlL30wIKW6D44tJlSCE76nC45+CwHXfWDfdKVKcMwHdMEJ33MC7JqEqwRHvEgXnDaYE+ArMayBB3ECDAennnVKn4tUDU74gS446k1OgB3i8Z41LHmkKHtW4eGfpRpctv5/VlomlxOsTR6kKQN1H1wnptiZHpYFv27pMbqus4kxOChbySzTz8loakfukhIkYKEBEBzw6SBXk79cLQ5lXv5XuxtJAaMDdA/v+JMydVs8irBnDvB+g9QbGeY1SUFg2gTn1JD0z+cdPIVaTbym0JemeQ6FzrtzJtdFm+DT4Rh9MD9DybxNmxL03mg3g/u0MP3cbWo6GrWjbZMBg/0Id6wqAcWwEX+F/10fVzPIe2jmRW3VTiP+VBjC4bU6KgMAID9qaQt9frl3P6hSndOaP7HrxdSYPQiH92QYhvAwTRH7KdSWBL9h5j4GeugkqDpWc1oZBqaelSGNwMWNJMLjUkHxBn//zwZeH3topr+7bWxDmia0AID17gok7aTTMrTnw1KsfZTPVMhAyj9uVl5lIexqcQLs4KFpYXjpSjQw3HwrIqCBQQ5mXsZInBWtoIOac1GOqrU4IsUJwOSllsmha5iZTf3npzXnqXka+1dFmzo4D9vZgQp2TsAZvrZUIC7729WSmRlmVfz+HGExKpUCVGJj1oSQlTd+SZ9Lm4bubqKvtTkmk+OAIRhu+zMu3jEwyqTQ1d7lofWdzV0VyWSxpPJkjpOB76z7fsPfjjOHHMhBb0QzAhMUMS18nRrgOzHkz96YdPR4toNTMT+gKjq4OtatNPBCvgfcp9PD1w/wsFP14y7WA4/zu9SudVWw8HKpUC4Zw5uOLmQ//c4fGrZL8iit+WEpvMmxAIZbtrCor7uNLpj/ubpk6N6Kh059M6tINl8Qh4UUHGa73wzjNGHQ4dj7wC6JOPtLACLqkvq4WeuE2cWi/+nLt0csOKnQ1CKP+IYMWELqgPnGiLVh6O7Go8GYZpfxpDbnwkaHjpj3JfLRV7Wgb01SARxIupc6wntyfGOG9pbikRQJmzvodRg7mRq2tkkm7IbFlhktBdaBS7SsPZx1haDIbltOSwGKXxl5px7UZGaEb8gXlerEgmmMxB2KfEciTKHRAsvbmPo0nVsST1BEdH3Kyrh9bJVlQ7wmbk05USSu0PUPPWjDOtxLg5bF7h7tM42B08x//o7U0/AmrCSV3PtYiwZpS3B13MHMS/DIz4rYaBO0VM93JpwbwaJtqNfEsbwZFgEL50VtgcJLBV6wK9aKtfd+cEkvuBfcC37k9h8VGR+csPdltgAAAABJRU5ErkJggg==`;function i(){return{...n,...t().auth??{}}}function a(){let e=window.location.hash.startsWith(`#`)?window.location.hash.slice(1):window.location.hash;return new URLSearchParams(e)}function o(){return a().get(`auth_password`)||``}function s(){let e=a();if(!e.has(`auth_password`))return;e.delete(`auth_password`);let t=e.toString(),n=`${window.location.pathname}${window.location.search}${t?`#${t}`:``}`;window.history.replaceState(null,``,n)}function c(e){let t=a(),n=t.get(e)||``;if(!n)return``;t.delete(e);let r=t.toString(),i=`${window.location.pathname}${window.location.search}${r?`#${r}`:``}`;return window.history.replaceState(null,``,i),n}function l(){return`${window.location.pathname}${window.location.search}${window.location.hash}`}async function u(e){let t=await fetch(e.statusEndpoint,{headers:{Accept:`application/json`}}),n=await t.json().catch(()=>({}));if(!t.ok)throw Error(n.error||`Failed to read auth status`);return n}function d(e){let t=e?.auth??{};if(t.strategy!==`oidc`||t.provider!==`google`)return;let n=String(e?.user?.name??``).trim();if(n)try{window.localStorage.setItem(`collabmd-user-name`,n)}catch{}}async function f(e,t){let n=await fetch(e.sessionEndpoint,{method:`POST`,headers:{"Content-Type":`application/json`},body:JSON.stringify({password:t})}),r=await n.json().catch(()=>({}));if(!n.ok)throw Error(r.error||`Authentication failed`);return r}function p(){let e=document.createElement(`div`);e.className=`auth-gate-overlay`;let t=document.createElement(`section`);return t.className=`auth-gate-card`,e.append(t),{card:t,overlay:e}}function m(){let e=document.createElement(`span`);e.className=`auth-gate-button__icon`,e.setAttribute(`aria-hidden`,`true`);let t=document.createElement(`img`);return t.alt=``,t.decoding=`async`,t.height=20,t.loading=`eager`,t.src=r,t.width=20,e.append(t),e}function h(e,t,{errorMessage:n=``}){e.replaceChildren();let r=document.createElement(`h1`);r.textContent=`Authentication required`;let i=document.createElement(`p`);i.textContent=`Sign in with Google to join this session.`;let a=document.createElement(`div`);a.className=`auth-gate-actions`;let o=document.createElement(`button`);o.className=`auth-gate-button auth-gate-button--google`,o.type=`button`,o.append(m(),document.createTextNode(t.submitLabel||`Continue with Google`));let s=document.createElement(`div`);s.className=`auth-gate-error`,s.textContent=n,a.append(o),e.append(r,i,s,a),o.addEventListener(`click`,()=>{let e=new URL(t.loginEndpoint,window.location.origin);e.searchParams.set(`returnTo`,l()),window.location.assign(e.toString())})}function g(e,{title:t,body:n,secondaryActionLabel:r=``,onSecondaryAction:i=null}){e.replaceChildren();let a=document.createElement(`h1`);a.textContent=t;let o=document.createElement(`p`);if(o.textContent=n,e.append(a,o),r&&typeof i==`function`){let t=document.createElement(`button`);t.className=`auth-gate-secondary-button`,t.type=`button`,t.textContent=r,t.addEventListener(`click`,()=>{i()}),e.append(t)}}function _(e,t,{onSubmit:n}){e.replaceChildren();let r=document.createElement(`h1`);r.textContent=`Authentication required`;let i=document.createElement(`p`);i.textContent=`Enter the host password to join this shared session.`;let a=document.createElement(`form`);a.className=`auth-gate-form`;let o=document.createElement(`label`);o.className=`auth-gate-label`,o.textContent=t.passwordLabel;let s=document.createElement(`input`);s.className=`auth-gate-input`,s.type=`password`,s.name=`password`,s.autocomplete=`current-password`,s.required=!0;let c=document.createElement(`div`);c.className=`auth-gate-error`;let l=document.createElement(`div`);l.className=`auth-gate-actions`;let u=document.createElement(`button`);u.className=`auth-gate-button`,u.type=`submit`,u.textContent=t.submitLabel,l.append(u),o.append(s),a.append(r,i,o,c,l),e.append(a),a.addEventListener(`submit`,e=>{e.preventDefault();let t=s.value;s.disabled=!0,u.disabled=!0,c.textContent=``,n(t).catch(e=>{c.textContent=e instanceof Error?e.message:`Authentication failed`,s.disabled=!1,u.disabled=!1,s.select(),s.focus()})}),queueMicrotask(()=>{s.focus()})}async function v(){let e=i();if(!e.enabled||e.strategy===`none`)return{authenticated:!0,auth:e};let{card:t,overlay:n}=p();document.body.append(n);let r=c(`auth_error`);return new Promise(i=>{let a=(t=null)=>{s(),d(t),n.remove(),i({authenticated:!0,auth:t?.auth??e,user:t?.user??null})};(async()=>{g(t,{body:`Checking access to this session…`,title:`CollabMD`});try{let t=await u(e);if(t.authenticated){a(t);return}}catch(e){g(t,{body:e instanceof Error?`${e.message} Refresh the page and try again.`:`Failed to contact the auth service. Refresh the page and try again.`,title:`Cannot verify access`});return}if(e.strategy===`password`){let n=o();if(n)try{s(),await f(e,n),a();return}catch{}_(t,e,{onSubmit:async t=>{await f(e,t),a()}});return}if(e.strategy===`oidc`){h(t,e,{errorMessage:r}),r=``;return}g(t,{body:`This authentication strategy is not available.`,title:`Authentication unavailable`})})()})}function y(e){return encodeURIComponent(String(e??``))}function b(e,t={}){let n={...t};return e&&(n[`X-CollabMD-Request-Id`]=String(e)),n}async function x(e,t){let n=await e.json().catch(()=>({}));if(!e.ok||n.ok===!1){let r=Error(n.error||t);throw r.status=e.status,r.body=n,r}return n}var S=new class{async readTree(){return x(await fetch(e(`/files`)),`Failed to load file tree`)}async readFile(t){return x(await fetch(e(`/file?path=${encodeURIComponent(t)}`)),`Failed to read file`)}async createFile({content:t,path:n,requestId:r=null}){return x(await fetch(e(`/file`),{body:JSON.stringify({content:t,path:n}),headers:b(r,{"Content-Type":`application/json`}),method:`POST`}),`Failed to create file`)}async writeFile({content:t,path:n,requestId:r=null}){return x(await fetch(e(`/file`),{body:JSON.stringify({content:t,path:n}),headers:b(r,{"Content-Type":`application/json`}),method:`PUT`}),`Failed to write file`)}async renameFile({oldPath:t,newPath:n,requestId:r=null}){return x(await fetch(e(`/file`),{body:JSON.stringify({newPath:n,oldPath:t}),headers:b(r,{"Content-Type":`application/json`}),method:`PATCH`}),`Failed to rename file`)}async deleteFile(t,{requestId:n=null}={}){return x(await fetch(e(`/file?path=${encodeURIComponent(t)}`),{headers:n?b(n):void 0,method:`DELETE`}),`Failed to delete file`)}async createDirectory(t,{requestId:n=null}={}){return x(await fetch(e(`/directory`),{body:JSON.stringify({path:t}),headers:b(n,{"Content-Type":`application/json`}),method:`POST`}),`Failed to create folder`)}async renameDirectory({oldPath:t,newPath:n,requestId:r=null}){return x(await fetch(e(`/directory`),{body:JSON.stringify({newPath:n,oldPath:t}),headers:b(r,{"Content-Type":`application/json`}),method:`PATCH`}),`Failed to rename folder`)}async deleteDirectory(t,{recursive:n=!1,requestId:r=null}={}){let i=new URLSearchParams({path:String(t??``)});return n&&i.set(`recursive`,`1`),x(await fetch(e(`/directory?${i.toString()}`),{headers:r?b(r):void 0,method:`DELETE`}),`Failed to delete folder`)}async uploadImageAttachment({file:t,fileName:n=``,sourcePath:r}){return x(await fetch(e(`/attachments`),{body:t,headers:{"Content-Type":t?.type||`application/octet-stream`,"X-CollabMD-File-Name":y(n),"X-CollabMD-Source-Path":y(r)},method:`POST`}),`Failed to upload image`)}};export{v as n,S as t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.auth-gate-overlay{z-index:5000;padding:var(--space-6);background:radial-gradient(circle at 50% 8%, oklch(from var(--color-primary) l c h / .18), transparent 28%), radial-gradient(circle at 60% 45%, oklch(from var(--color-primary) l c h / .08), transparent 18%), linear-gradient(180deg, oklch(from var(--color-bg) calc(l - .06) c h / .9), oklch(from var(--color-bg) calc(l - .08) c h / .96));-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.auth-gate-card{width:min(100%,440px);padding:var(--space-8);border:1px solid var(--border-accent-soft);border-radius:var(--radius-xl-plus);background:linear-gradient(180deg, var(--color-surface), var(--color-surface-2));color:var(--color-text);box-shadow:var(--shadow-card-strong), var(--shadow-sheet-inset);font-family:var(--font-display)}.auth-gate-card h1{font-size:var(--text-xl);letter-spacing:-.04em;margin:0 0 10px;line-height:1.05}.auth-gate-card p{color:var(--color-text-muted);line-height:1.5;font-size:var(--text-sm);margin:0 0 22px}.auth-gate-form{gap:var(--space-3);display:grid}.auth-gate-label{gap:var(--space-2);color:var(--color-text-muted);font-size:var(--text-sm);font-weight:500;display:grid}.auth-gate-input{border:1px solid var(--color-border);border-radius:var(--radius-xl);background:var(--surface-overlay);width:100%;color:inherit;font:inherit;box-sizing:border-box;padding:14px 16px}.auth-gate-input:focus{border-color:var(--color-primary);box-shadow:var(--shadow-focus);outline:none}.auth-gate-actions{gap:var(--space-3);display:grid}.auth-gate-button,.auth-gate-secondary-button{border-radius:var(--radius-xl);font:inherit;cursor:pointer;transition:transform .16s,box-shadow .16s,border-color .16s,background-color .16s}.auth-gate-button:hover,.auth-gate-secondary-button:hover{transform:translateY(-1px)}.auth-gate-button:focus-visible,.auth-gate-secondary-button:focus-visible{outline:3px solid oklch(from var(--color-primary) l c h / .3);outline-offset:2px}.auth-gate-button{justify-content:center;align-items:center;gap:var(--space-3);background:linear-gradient(135deg, var(--color-primary), var(--color-primary-hover));width:100%;color:var(--color-text-inverse);box-shadow:var(--shadow-floating-soft);border:1px solid #0000;padding:14px 18px;font-weight:600;display:inline-flex}.auth-gate-button:hover{box-shadow:var(--shadow-floating-hover)}.auth-gate-secondary-button{border:1px solid var(--color-border);background:var(--surface-overlay);color:var(--color-text);padding:13px 16px}.auth-gate-button[disabled],.auth-gate-secondary-button[disabled]{opacity:.7;cursor:wait;transform:none}.auth-gate-button--google{background:var(--color-surface-raised);color:var(--color-text);border-color:var(--color-border);box-shadow:var(--shadow-elevated-soft), var(--shadow-sheet-inset)}.auth-gate-button--google:hover{background:var(--surface-overlay-soft)}.auth-gate-button__icon{flex:none;justify-content:center;align-items:center;width:22px;height:22px;display:inline-flex}.auth-gate-button__icon img{object-fit:contain;width:100%;height:100%;display:block}.auth-gate-error{min-height:1.25rem;color:var(--color-error);font-size:var(--text-sm);margin-bottom:var(--space-1)}@media (width<=640px){.auth-gate-overlay{padding:var(--space-4)}.auth-gate-card{padding:var(--space-6);border-radius:var(--radius-xl)}}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var e=Object.freeze([`.md`,`.markdown`,`.mdx`]),t=`.excalidraw`,n=`.drawio`,r=Object.freeze([`.mmd`,`.mermaid`]),i=Object.freeze([`.puml`,`.plantuml`]),a=Object.freeze([`.png`,`.jpg`,`.jpeg`,`.webp`,`.gif`,`.svg`]),o=Object.freeze([t,n,...r,...i]),s=Object.freeze([...e,...o,...a]),c=/\.(?:md|markdown|mdx|excalidraw|drawio|mmd|mermaid|puml|plantuml|png|jpe?g|webp|gif|svg)$/i;function l(e){return String(e??``).trim().toLowerCase()}function u(e,t){let n=l(e);return t.some(e=>n.endsWith(e))}function d(t){return u(t,e)?`markdown`:u(t,[`.excalidraw`])?`excalidraw`:u(t,[`.drawio`])?`drawio`:u(t,r)?`mermaid`:u(t,i)?`plantuml`:u(t,a)?`image`:null}function f(e){let t=d(e);return t?t===`image`?`image`:t===`markdown`?`file`:t:null}function p(e){let t=l(e);return s.find(e=>t.endsWith(e))??``}function m(e){return d(e)===`markdown`}function h(e){return d(e)===`excalidraw`}function g(e){return d(e)===`mermaid`}function _(e){return d(e)===`drawio`}function v(e){return d(e)===`plantuml`}function y(e){return d(e)===`image`}function b(e){let t=d(e);return t===`excalidraw`||t===`drawio`||t===`mermaid`||t===`plantuml`}function x(e){let t=d(e);return t===`markdown`||t===`mermaid`||t===`plantuml`}function S(e){return m(e)}function C(e){return String(e??``).replace(c,``)}function w(e){let t=String(e??``).trim();return t?t.endsWith(`.md`)?t:`${t}.md`:null}function T(e,t){let n=w(e);if(!n||!Array.isArray(t)||t.length===0)return null;let r=String(e??``).trim(),i=null;for(let e of t){if(e===n||e.replace(/\.md$/i,``)===r)return e;!i&&e.endsWith(`/${n}`)&&(i=e)}return i}function E(e){return String(e).replace(/&/g,`&`).replace(/</g,`<`).replace(/>/g,`>`).replace(/"/g,`"`).replace(/'/g,`'`)}function D(e,t){return T(e,t)??void 0}function O(e,t,n){return Math.min(Math.max(e,t),n)}function k(e){return String(e??``).replace(/\\/g,`/`).split(`/`).filter(Boolean)}function A(e,t){let n=k(e),r=String(t??``).split(`/`).map(e=>{try{return decodeURIComponent(e)}catch{return e}});if(r.length===0)return``;n.pop();let i=[...n];for(let e of r){let t=String(e??``).trim();if(!(!t||t===`.`)){if(t===`..`){if(i.length===0)return``;i.pop();continue}i.push(t)}}return i.join(`/`)}export{x as _,p as a,b as c,y as d,m as f,S as g,C as h,D as i,_ as l,v as m,E as n,d as o,g as p,A as r,f as s,O as t,h as u};
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/client/assets/{image-blob-reduce.esm-BaW4gpT9.js → image-blob-reduce.esm-DriR2zT9.js}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/client/assets/{preview-diagram-utils-Dc83ucbv.js → preview-diagram-utils-COt-IYMD.js}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|