@fudanda/admin-antd 0.0.0-stage → 2.20261024.1-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +58 -3
- package/THIRD_PARTY_NOTICES.md +55 -0
- package/dist/assets/libarchive-DxGirPmi.wasm +0 -0
- package/dist/assets/pdfium-BJ2Yip8Q.wasm +0 -0
- package/dist/assets/ppt-font-cjk-DxgKpThH.otf +0 -0
- package/dist/assets/ppt-native-Cz5DBbag.wasm +0 -0
- package/dist/assets/pptx.worker-CtaL8LO_.js +30 -0
- package/dist/assets/worker-C5LZNsKY.mjs +1650 -0
- package/dist/assets/worker-CDeo9jS-.js +40 -0
- package/dist/assets/worker-bundle-Dx5mKZOL.js +6 -0
- package/dist/automation.d.ts +3 -0
- package/dist/automation.js +15 -0
- package/dist/chunks/App-DNjXLysb.js +79 -0
- package/dist/chunks/AppModal-DJzQA6FR.js +1 -0
- package/dist/chunks/ArcBaseAdmin-BZrHGq2f.js +1 -0
- package/dist/chunks/ConfigurableTable-DzmZDd8F.js +55 -0
- package/dist/chunks/DashboardPage-BohGodSl.js +22 -0
- package/dist/chunks/DataScopePanel-B2-x8Jcz.js +1 -0
- package/dist/chunks/DateTimeText-CIt0Qy45.js +1 -0
- package/dist/chunks/DepartmentsPage-DMWY__Y_.js +1 -0
- package/dist/chunks/DictTag-2-adKbYg.js +1 -0
- package/dist/chunks/DictsPage-DILDyHi-.js +15 -0
- package/dist/chunks/EditFormModal-DNHOZHxM.js +1 -0
- package/dist/chunks/EmptyIllustration-DUC3RZmF.js +1 -0
- package/dist/chunks/EntityContextRuntime-DMklAv-k.js +1 -0
- package/dist/chunks/EntityContextRuntime-sslBZqYD.js +1 -0
- package/dist/chunks/EntityRelationButton-DWn1rC2J.js +8 -0
- package/dist/chunks/ExportButton-AzH4D0oW.js +1 -0
- package/dist/chunks/FileNameCell-DPyi64Rv.js +1 -0
- package/dist/chunks/FileStorageConfigsPage-CzuOgeK0.js +15 -0
- package/dist/chunks/FileTypeIcon-DIih3XQG.js +1 -0
- package/dist/chunks/FileViewerPreviewPanel-CMqVtGCr.js +41 -0
- package/dist/chunks/FilesPage-BaEBCOCs.js +43 -0
- package/dist/chunks/IdentitySecurityPage-BO7nY8id.js +1 -0
- package/dist/chunks/JsonPreviewPanel-Dhbza-Uu.js +1 -0
- package/dist/chunks/LogStatsScaffold-CLycj3da.js +1 -0
- package/dist/chunks/LoginLogsPage-DTmHi8u0.js +1 -0
- package/dist/chunks/LoginLogsTable-DVmHnC6V.js +1 -0
- package/dist/chunks/MarkdownPreviewPanel-DoiaAeRv.js +51 -0
- package/dist/chunks/MasterDetailLayout-sjPWw8BI.js +8 -0
- package/dist/chunks/MemberAssignmentSheet-Czbt6_zv.js +1 -0
- package/dist/chunks/MenuCommandPalette-BCOzf-Kq.js +8 -0
- package/dist/chunks/MenusPage-DN8DTGB1.js +1 -0
- package/dist/chunks/ModalFooter-RMlvqrO9.js +1 -0
- package/dist/chunks/MonacoPreviewPanel-Dnz7xpWP.js +1 -0
- package/dist/chunks/NavListPanel-vjIOIqK0.js +1 -0
- package/dist/chunks/OnlineSessionsPage-FoHYZKlR.js +1 -0
- package/dist/chunks/OperationLogsPage-BeRnGcBJ.js +1 -0
- package/dist/chunks/OperationLogsTable-COI-Lp-y.js +1 -0
- package/dist/chunks/PDFPreviewPanel-BIQuBnZZ.js +37 -0
- package/dist/chunks/PasswordInput-DGEJO9yx.js +1 -0
- package/dist/chunks/PositionsPage-DohI0luX.js +1 -0
- package/dist/chunks/PreferencesSheetBody-B9niQABW.js +43 -0
- package/dist/chunks/ProfilePage-CVTRv7xb.js +15 -0
- package/dist/chunks/RelationPanel-B1X6AVaM.js +36 -0
- package/dist/chunks/ResponsiveTableActions-y54aSdhs.js +1 -0
- package/dist/chunks/RolesPage-CtUw93L8.js +1 -0
- package/dist/chunks/ScrollArea-DqjJmHDN.js +11 -0
- package/dist/chunks/SearchToolbar-CvgYKUjr.js +1 -0
- package/dist/chunks/SessionClientTag-DIwnYodW.js +22 -0
- package/dist/chunks/SessionConflictModal-BLNuDsN_.js +1 -0
- package/dist/chunks/SettingRow-DVNmTJWC.js +1 -0
- package/dist/chunks/SettingsPage-BRnCxYQm.js +26 -0
- package/dist/chunks/StatCard-Czjfs0fa.js +4 -0
- package/dist/chunks/UTIF-QUtClmQd.js +1 -0
- package/dist/chunks/UserAvatar-B8CFnTCn.js +1 -0
- package/dist/chunks/UserDisplay-J0Re8z-7.js +1 -0
- package/dist/chunks/UserGroupsPage-CNwbejx-.js +1 -0
- package/dist/chunks/UserLogsPanels-BHeSxWrk.js +36 -0
- package/dist/chunks/UserTransferSelect-CAeyxdor.js +22 -0
- package/dist/chunks/UsersPage-BXt9fOru.js +36 -0
- package/dist/chunks/abnfDiagram-VCTEODGH-Z6OhNjoW.js +1 -0
- package/dist/chunks/activity-DBu4axwF.js +8 -0
- package/dist/chunks/arc-B3K1fDeF.js +1 -0
- package/dist/chunks/architecture-7GRP2DOG-CMtoOwin.js +1 -0
- package/dist/chunks/architectureDiagram-5GKGNRK7-V5A7S5fY.js +36 -0
- package/dist/chunks/archive-B_IKvysI.js +72 -0
- package/dist/chunks/array-BrHhzP_A.js +1 -0
- package/dist/chunks/arrow-left-CsxBMzKY.js +8 -0
- package/dist/chunks/avsc-C0VoJRmm.js +160 -0
- package/dist/chunks/blockDiagram-I7D4REHJ-CFKGJkc_.js +129 -0
- package/dist/chunks/browser-BKLM0ThC-mnGPrtB_.js +1 -0
- package/dist/chunks/browser-index-JqxD-45S.js +1 -0
- package/dist/chunks/builtin_esm-external-require-react-BsBndGeN.js +1 -0
- package/dist/chunks/bundle-DbfUnEV1.js +29 -0
- package/dist/chunks/c4Diagram-7LVT6UL2-BqYYoXPe.js +38 -0
- package/dist/chunks/channel-C9Dr7Z-W.js +1 -0
- package/dist/chunks/chart-data-DImT_Mzn.js +5 -0
- package/dist/chunks/chart-renderer-k-Rd8vdL.js +7 -0
- package/dist/chunks/chevron-down-mn2tSKQd.js +8 -0
- package/dist/chunks/chevron-right-EBApfX6q.js +15 -0
- package/dist/chunks/chevrons-up-down-2M6hY6wt.js +15 -0
- package/dist/chunks/chunk-2E4U76K2-DNbbdpCx.js +1 -0
- package/dist/chunks/chunk-2Q5K7J3B-CmAE3Vs0.js +1 -0
- package/dist/chunks/chunk-2ZTRR5NV-BjsSRgBv.js +2 -0
- package/dist/chunks/chunk-3Z5EZCMW-uYiqz-6y.js +1 -0
- package/dist/chunks/chunk-4HAMMTFA-Aw59LwS3.js +62 -0
- package/dist/chunks/chunk-5V3GS4D5-B_CVcJic.js +1 -0
- package/dist/chunks/chunk-5VM5RSS4-DMlsEAcl.js +15 -0
- package/dist/chunks/chunk-6AZGARVD-CgAiC5mV.js +1 -0
- package/dist/chunks/chunk-6EIED4P4-CXz5D9B0.js +1 -0
- package/dist/chunks/chunk-6K3QC6MW-DtaQ52mY.js +1 -0
- package/dist/chunks/chunk-6TQVIW2G-D0YDxefI.js +1 -0
- package/dist/chunks/chunk-747NJXEK-DGoElbDa.js +2 -0
- package/dist/chunks/chunk-75Z2AOVW-IO9R6faP.js +2 -0
- package/dist/chunks/chunk-CLGD4ZFX-tRS89bnq.js +1 -0
- package/dist/chunks/chunk-DU6HZSFF-Bx48E1rg.js +125 -0
- package/dist/chunks/chunk-F27PBJKO-DtLva7y0.js +1 -0
- package/dist/chunks/chunk-FOHPRMQF-B8MMrnxV.js +255 -0
- package/dist/chunks/chunk-GMAD6QVW-D41KnniX.js +72 -0
- package/dist/chunks/chunk-GVQU2GXP-CVzgM_ui.js +1 -0
- package/dist/chunks/chunk-I5DQTOEV-CoecQT42.js +1 -0
- package/dist/chunks/chunk-ICYGCRZG-lH3opfCY.js +1 -0
- package/dist/chunks/chunk-IH6LHLGP-tD-j3Rsy.js +1 -0
- package/dist/chunks/chunk-IMKFNOWR-CL9pLQhV.js +231 -0
- package/dist/chunks/chunk-JWPE2WC7-Wk0BVLn5.js +1 -0
- package/dist/chunks/chunk-KI3K4JFJ-C-3Y_9er.js +1 -0
- package/dist/chunks/chunk-L3NEJ4N5-CmvrS7Dt.js +1 -0
- package/dist/chunks/chunk-LNGE3PJU-BP1fsJRz.js +34 -0
- package/dist/chunks/chunk-OSK3NFVY-C9uWOXTC.js +10 -0
- package/dist/chunks/chunk-OUJLGHUK-Cm55l9bx.js +2 -0
- package/dist/chunks/chunk-P2QGCYS3-C9bc1yiM.js +1 -0
- package/dist/chunks/chunk-POPQ4Y6H-P1s5xaxM.js +1 -0
- package/dist/chunks/chunk-PWAF6VOD-IORmPx9D.js +1 -0
- package/dist/chunks/chunk-SHT3W25Y-Bip4melZ.js +168 -0
- package/dist/chunks/chunk-SVP7TREG-BKCgUOuy.js +88 -0
- package/dist/chunks/chunk-TICWLB2K-12W2EmSx.js +206 -0
- package/dist/chunks/chunk-TLUHSLCS-DsqF476v.js +1 -0
- package/dist/chunks/chunk-UY3FDG6J-71d_M6t3.js +1 -0
- package/dist/chunks/chunk-XHIXRSVI-C2X1-xC6.js +1 -0
- package/dist/chunks/chunk-XXDRQBXY-Bl6AoSZF.js +1 -0
- package/dist/chunks/chunk-Y2CYZVJY-DjEHBC-3.js +1 -0
- package/dist/chunks/circle-check-RKAno__V.js +8 -0
- package/dist/chunks/circle-x-BB5x-D-8.js +8 -0
- package/dist/chunks/classDiagram-ZZMXUADV-CZrpYcfK.js +1 -0
- package/dist/chunks/classDiagram-v2-VYDZK3BY-CZrpYcfK.js +1 -0
- package/dist/chunks/clipboard-ERcMSMRH.js +1 -0
- package/dist/chunks/clock-CniP1gZS.js +8 -0
- package/dist/chunks/confirm-BtBBEqk8.js +1 -0
- package/dist/chunks/controls-C5dPckUT.js +1 -0
- package/dist/chunks/copy-ofLPH1I0.js +8 -0
- package/dist/chunks/cose-bilkent-JH36ORCC-D9OUqkk5.js +1 -0
- package/dist/chunks/createLucideIcon-BtwfYE6A.js +83 -0
- package/dist/chunks/cynefin-OW5HDTMX-B8_kUynj.js +1 -0
- package/dist/chunks/cynefinDiagram-5FMLGOSQ-DhQChnCg.js +62 -0
- package/dist/chunks/cytoscape.esm-wDUnleWx.js +339 -0
- package/dist/chunks/dagre-GXQ25YYZ-CfbwC_a5.js +4 -0
- package/dist/chunks/dagre-ZVAWSfFw.js +1 -0
- package/dist/chunks/data-B05HzECj.js +28 -0
- package/dist/chunks/date-picker-CPUxgHVv.js +1 -0
- package/dist/chunks/defaultLocale-BvxIcb9Y.js +1 -0
- package/dist/chunks/deleteAction-CCocr5uV.js +1 -0
- package/dist/chunks/diagram-D9cwc7QH.js +5 -0
- package/dist/chunks/diagram-S7CK7UJ4-DVPbdtMm.js +30 -0
- package/dist/chunks/diagram-UQ7AKVKN-D_ZBhGLL.js +41 -0
- package/dist/chunks/diagram-VSXAHHWV-Dqypp-OX.js +3 -0
- package/dist/chunks/diagram-VX7I27RA-CbWJVJ_L.js +24 -0
- package/dist/chunks/diagram-Z3DM3KII-CUyP4-RY.js +24 -0
- package/dist/chunks/direct-engine-thps0u7R.js +5 -0
- package/dist/chunks/dist-Bauqz5on.js +1 -0
- package/dist/chunks/dist-CWj_XYki.js +1 -0
- package/dist/chunks/dist-D_KGQS7-.js +11 -0
- package/dist/chunks/dist-DdW4yNBK.js +1 -0
- package/dist/chunks/docx-preview-CPN81HCr.js +11 -0
- package/dist/chunks/download--5IybXxz.js +8 -0
- package/dist/chunks/drawing-D2Qrun-P.js +48 -0
- package/dist/chunks/ebnfDiagram-PWID7BFC-C5NMigjm.js +1 -0
- package/dist/chunks/ellipsis-Dux1Nxa5.js +8 -0
- package/dist/chunks/email-ByshRsFv.js +61 -0
- package/dist/chunks/emailHtml-BAKcRhSm.js +1 -0
- package/dist/chunks/erDiagram-RLTQ6QDP-B5rUHJPJ.js +99 -0
- package/dist/chunks/eventmodeling-NTZA5JFV-C74no5BH.js +1 -0
- package/dist/chunks/export-BkwewH6Q.js +1 -0
- package/dist/chunks/export-DlTz5dc2.js +341 -0
- package/dist/chunks/eye-off-BtJoIT5n.js +8 -0
- package/dist/chunks/feedback-BnjMKZpz.js +1 -0
- package/dist/chunks/file-utils-DyvnVEoH.js +1 -0
- package/dist/chunks/fit-CsnhEncA.js +1 -0
- package/dist/chunks/flowDiagram-HODETNUW-BuMvaSeo.js +1 -0
- package/dist/chunks/form-CQutQFiD.js +1 -0
- package/dist/chunks/funnel-BwQjQI4Y.js +8 -0
- package/dist/chunks/ganttDiagram-EL5Y4UJY-DIAlbvVg.js +292 -0
- package/dist/chunks/geo-DR0fL7r2.js +38 -0
- package/dist/chunks/gitGraph-4MIJSDKK-Ce5mOfp1.js +1 -0
- package/dist/chunks/gitGraphDiagram-WWUBYQGX-DN3G9xiQ.js +106 -0
- package/dist/chunks/graphlib-CYBMTUbW.js +1 -0
- package/dist/chunks/icons-CbRx5Om7.js +1 -0
- package/dist/chunks/illustrations-DT1eq6jI.js +1 -0
- package/dist/chunks/image-ez9hvzKT.js +17 -0
- package/dist/chunks/index.es-OAWlVkoK.js +16 -0
- package/dist/chunks/info-A6RAGUB7-BP6lMBIR.js +1 -0
- package/dist/chunks/info-BQa8C31Y.js +8 -0
- package/dist/chunks/infoDiagram-27XIBGKW-BhQtr_Ti.js +2 -0
- package/dist/chunks/init-Ca_Ibf4y.js +1 -0
- package/dist/chunks/ishikawaDiagram-5VMMS53U-CLR6CAi4.js +70 -0
- package/dist/chunks/journeyDiagram-3NMN7TZE-_-Q7sjsP.js +139 -0
- package/dist/chunks/json-viewer-DHYRjY8I.js +1 -0
- package/dist/chunks/jszip.min-hNOoGCeG.js +14 -0
- package/dist/chunks/kanban-definition-UXKFOSKX-D97mHeUZ.js +89 -0
- package/dist/chunks/katex-D5qu7EYh.js +257 -0
- package/dist/chunks/layout-grid-Bp9bwiQZ.js +8 -0
- package/dist/chunks/lib-BlRm3nk1.js +15 -0
- package/dist/chunks/lib-C1nFUu19.js +4 -0
- package/dist/chunks/lib-CqYXBtHb.js +1 -0
- package/dist/chunks/libarchive-DRzzJvQl.js +7 -0
- package/dist/chunks/line-BV7qVRkM.js +1 -0
- package/dist/chunks/line-qVHaOdPp.js +1 -0
- package/dist/chunks/linear-DXABSWHW.js +1 -0
- package/dist/chunks/list-0CbyOlT9.js +1 -0
- package/dist/chunks/list-DCcWnjUg.js +8 -0
- package/dist/chunks/listTableProps-DDynsnLF.js +1 -0
- package/dist/chunks/log-in-OzbNes8i.js +8 -0
- package/dist/chunks/lucide-react-VfAPsQQ5.js +8 -0
- package/dist/chunks/maplibre-gl-Bxi83GUP.js +819 -0
- package/dist/chunks/maplibre-shared-Oo0L8Lll.js +6 -0
- package/dist/chunks/maximize-CnmQ11E7.js +8 -0
- package/dist/chunks/media-DoGe_p4O.js +1 -0
- package/dist/chunks/menu-mQgsexFx.js +15 -0
- package/dist/chunks/mermaid-parser.core-DvCAQkzY.js +3 -0
- package/dist/chunks/mermaid.core-CxOC6yPr.js +15 -0
- package/dist/chunks/messages-CFyOVxEM.js +1 -0
- package/dist/chunks/mindmap-definition-YA3MSWOX-A2UgnMwx.js +96 -0
- package/dist/chunks/minimize-Bpau_zCe.js +8 -0
- package/dist/chunks/msg-BzZbudMm.js +7 -0
- package/dist/chunks/ofd-C7DKqJ6Z.js +33 -0
- package/dist/chunks/ofd-DrJyXIpS.js +14 -0
- package/dist/chunks/openDocument-DGzqlyJg.js +12 -0
- package/dist/chunks/options-B65xkxOY.js +1 -0
- package/dist/chunks/ordinal-NuFkISw7.js +1 -0
- package/dist/chunks/packet-AYTQ26CC-DS6h3a5l.js +1 -0
- package/dist/chunks/panzoom.es-DnuzxUQi.js +1 -0
- package/dist/chunks/parse-6ZQGx714.js +1 -0
- package/dist/chunks/parser-DC3PvpL4.js +72 -0
- package/dist/chunks/path-VUNELGFR.js +1 -0
- package/dist/chunks/pegDiagram-XKGWAZYB-DxQqpKfh.js +1 -0
- package/dist/chunks/pie-WAS4IAKB-BsaegmNA.js +1 -0
- package/dist/chunks/pieDiagram-E7YTZNPT-BUsnkTkJ.js +39 -0
- package/dist/chunks/postal-mime-DMcA5b7k.js +28 -0
- package/dist/chunks/ppt-B0WY5Gks.js +30 -0
- package/dist/chunks/ppt-BIiNnCyj.js +1 -0
- package/dist/chunks/pptx-DX5KDFZ7.js +109 -0
- package/dist/chunks/preload-helper-C-73SErw.js +1 -0
- package/dist/chunks/print-mask-Dguzv0rv.js +17 -0
- package/dist/chunks/printLayout-oeudvFkr.js +34 -0
- package/dist/chunks/printMask-LefOTJqk.js +8 -0
- package/dist/chunks/psd-hjeNFQZ-.js +36 -0
- package/dist/chunks/purify.es-BsWMI_aG.js +5 -0
- package/dist/chunks/quadrantDiagram-AXDQQJYC-BmQNSzhY.js +7 -0
- package/dist/chunks/radar-RG4KPBEZ-BoHdw2h7.js +1 -0
- package/dist/chunks/railroad-74A4TZTK-BifJffb4.js +1 -0
- package/dist/chunks/railroad-abnf-HS5TGJTU-CMEPumRO.js +1 -0
- package/dist/chunks/railroad-ebnf-LZEXJU2U-B06BgAeN.js +1 -0
- package/dist/chunks/railroad-peg-WCYAUIDC-CMjriUEs.js +1 -0
- package/dist/chunks/railroadDiagram-O6MQD6OU-B2t5KY26.js +1 -0
- package/dist/chunks/react-runtime-x2lFbSKq.js +11 -0
- package/dist/chunks/refresh-cw-Dz8O9-Hp.js +8 -0
- package/dist/chunks/rendered-slot-YhfmcMJr.js +1 -0
- package/dist/chunks/requirementDiagram-BXWQKSXE-CBBfNOAp.js +84 -0
- package/dist/chunks/rolldown-runtime-BKuNeK48.js +1 -0
- package/dist/chunks/rotate-ccw-D2__Zisi.js +8 -0
- package/dist/chunks/rotate-cw-BSTVLlWY.js +8 -0
- package/dist/chunks/rough.esm-CVrpq1dW.js +1 -0
- package/dist/chunks/sankeyDiagram-P5KCCOFB-Cp8SrFyb.js +40 -0
- package/dist/chunks/save-w-NwiMMY.js +8 -0
- package/dist/chunks/search-DYZU68h1.js +8 -0
- package/dist/chunks/search-filters-CRIhZ0gL.js +1 -0
- package/dist/chunks/sequenceDiagram-WJ2MYXX4-PDtVfEoj.js +162 -0
- package/dist/chunks/shield-alert-De_Hx56I.js +8 -0
- package/dist/chunks/sizeCapture-INFHLROL-DA-kAaXB.js +1 -0
- package/dist/chunks/skeleton-CrjMjJNr.js +1 -0
- package/dist/chunks/spreadsheet-BzbBEhmY.js +1 -0
- package/dist/chunks/spreadsheet-LR3SOG-x.js +58 -0
- package/dist/chunks/sql-wasm-browser-CFddXd9f.js +2 -0
- package/dist/chunks/src-C1iDJpBK.js +1 -0
- package/dist/chunks/src-vLpLkuQx.js +1 -0
- package/dist/chunks/stateDiagram-D77RDMKH-C1Sx8KUD.js +1 -0
- package/dist/chunks/stateDiagram-v2-MP3YSRHH-7wYLSzBX.js +1 -0
- package/dist/chunks/swimlanes-42K2YHIH-BmybX9eL.js +1 -0
- package/dist/chunks/swimlanesDiagram-VR7AAH4N-DxhXklfm.js +8 -0
- package/dist/chunks/tabs-BobA_IcO.js +1 -0
- package/dist/chunks/theme-controller-D-ATwFal.js +1 -0
- package/dist/chunks/timeline-definition-24CTP7MA-QS9QNm2i.js +120 -0
- package/dist/chunks/tinycolor-CG1wnM-U.js +1 -0
- package/dist/chunks/togeojson.es-BE8iM7U6.js +1 -0
- package/dist/chunks/toolbar-controls-CThS0xuP.js +15 -0
- package/dist/chunks/trash-tHBT8Mpw.js +8 -0
- package/dist/chunks/treeView-Q6P3EWNA-CN0l7whJ.js +1 -0
- package/dist/chunks/treemap-WGGIJYW6-C4P1fQxS.js +1 -0
- package/dist/chunks/typography-DKK_iHcj.js +1 -0
- package/dist/chunks/ui-BFsHoY7a.js +1 -0
- package/dist/chunks/ui-utils-ClxYogUQ.js +1 -0
- package/dist/chunks/upload-M-n6woFv.js +8 -0
- package/dist/chunks/useCrudOperationColumn-D935tixd.js +1 -0
- package/dist/chunks/useListPage-CbcOQG4m.js +1 -0
- package/dist/chunks/useModalViewport-HF7te75S.js +1 -0
- package/dist/chunks/useRowSelection-4GOMFmjG.js +1 -0
- package/dist/chunks/useStatusToggle-B2qZaoc-.js +1 -0
- package/dist/chunks/user-round-kYfBkPNu.js +15 -0
- package/dist/chunks/users-BXZLb4TY.js +8 -0
- package/dist/chunks/vennDiagram-4TSXK5OY-CVd73ycc.js +34 -0
- package/dist/chunks/view-B8ZvC8z3.js +1 -0
- package/dist/chunks/viewer-Ct88ypIL.js +24 -0
- package/dist/chunks/wardley-WFR3VGLG-cG9pRFwD.js +1 -0
- package/dist/chunks/wardleyDiagram-VM6X3IG4-B42d0Gqz.js +78 -0
- package/dist/chunks/wordDoc-BZY3ZnxN.js +152 -0
- package/dist/chunks/wordDocx-Bt2mlB3C.js +77 -0
- package/dist/chunks/wordMl-Y_ghyTZ8.js +1 -0
- package/dist/chunks/worker-engine-B4e92GsN.js +17369 -0
- package/dist/chunks/x-Ak9hw1R9.js +8 -0
- package/dist/chunks/xmind-CF9YwkOD.js +58 -0
- package/dist/chunks/xychartDiagram-S5SC5T6Z-B_Owv9Ho.js +7 -0
- package/dist/file-viewer/flyfish-viewer-assets.json +46 -0
- package/dist/file-viewer/vendor/docx/docx.worker.js +5 -0
- package/dist/file-viewer/vendor/docx/jszip.min.js +13 -0
- package/dist/file-viewer/vendor/xlsx/sheet.worker.js +107 -0
- package/dist/file-viewer/wasm/data/sql-wasm.wasm +0 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.js +1 -0
- package/dist/public/avatars/avatar-01.svg +1 -0
- package/dist/public/avatars/avatar-02.svg +1 -0
- package/dist/public/avatars/avatar-03.svg +1 -0
- package/dist/public/avatars/avatar-04.svg +1 -0
- package/dist/public/avatars/avatar-05.svg +1 -0
- package/dist/public/avatars/avatar-06.svg +1 -0
- package/dist/public/avatars/avatar-07.svg +1 -0
- package/dist/public/avatars/avatar-08.svg +1 -0
- package/dist/public/avatars/avatar-09.svg +1 -0
- package/dist/public/avatars/avatar-10.svg +1 -0
- package/dist/public/avatars/avatar-11.svg +1 -0
- package/dist/public/avatars/avatar-12.svg +1 -0
- package/dist/public/monaco/vs/abap-D-t0cyap.js +1 -0
- package/dist/public/monaco/vs/apex-CcIm7xu6.js +1 -0
- package/dist/public/monaco/vs/assets/css.worker-URu8fCFR.js +97 -0
- package/dist/public/monaco/vs/assets/editor.worker-lj3bdIIn.js +30 -0
- package/dist/public/monaco/vs/assets/editorWebWorkerMain-CA_vMoUU.js +30 -0
- package/dist/public/monaco/vs/assets/html.worker-D1SL3iM8.js +474 -0
- package/dist/public/monaco/vs/assets/json.worker-CoJx_OPf.js +62 -0
- package/dist/public/monaco/vs/assets/ts.worker-BWKtMYOk.js +67722 -0
- package/dist/public/monaco/vs/azcli-BA0tQDCg.js +1 -0
- package/dist/public/monaco/vs/basic-languages/monaco.contribution.js +1 -0
- package/dist/public/monaco/vs/bat-C397hTD6.js +1 -0
- package/dist/public/monaco/vs/bicep-DF5aW17k.js +2 -0
- package/dist/public/monaco/vs/cameligo-plsz8qhj.js +1 -0
- package/dist/public/monaco/vs/clojure-Y2auQMzK.js +1 -0
- package/dist/public/monaco/vs/coffee-Bu45yuWE.js +1 -0
- package/dist/public/monaco/vs/cpp-CkKPQIni.js +1 -0
- package/dist/public/monaco/vs/csharp-CX28MZyh.js +1 -0
- package/dist/public/monaco/vs/csp-D8uWnyxW.js +1 -0
- package/dist/public/monaco/vs/css-CaeNmE3S.js +3 -0
- package/dist/public/monaco/vs/css.worker-CyhWkhHo.js +1 -0
- package/dist/public/monaco/vs/cssMode-CV6Ay48H.js +1 -0
- package/dist/public/monaco/vs/cypher-DVThT8BS.js +1 -0
- package/dist/public/monaco/vs/dart-CmGfCvrO.js +1 -0
- package/dist/public/monaco/vs/dockerfile-CZqqYdch.js +1 -0
- package/dist/public/monaco/vs/ecl-30fUercY.js +1 -0
- package/dist/public/monaco/vs/editor/editor.main.css +1 -0
- package/dist/public/monaco/vs/editor/editor.main.js +1 -0
- package/dist/public/monaco/vs/editor-KLE6jdfb.js +831 -0
- package/dist/public/monaco/vs/editor.js +1 -0
- package/dist/public/monaco/vs/editorWorkerHost-fVE1cjcC.js +35 -0
- package/dist/public/monaco/vs/elixir-xjPaIfzF.js +1 -0
- package/dist/public/monaco/vs/flow9-DqtmStfK.js +1 -0
- package/dist/public/monaco/vs/freemarker2-FWreY7v7.js +3 -0
- package/dist/public/monaco/vs/fsharp-BOMdg4U1.js +1 -0
- package/dist/public/monaco/vs/go-D_hbi-Jt.js +1 -0
- package/dist/public/monaco/vs/graphql-CKUU4kLG.js +1 -0
- package/dist/public/monaco/vs/handlebars-CZi4pHCH.js +1 -0
- package/dist/public/monaco/vs/hcl-DTaboeZW.js +1 -0
- package/dist/public/monaco/vs/html-j_7ZTNRU.js +1 -0
- package/dist/public/monaco/vs/html.worker-CA3iAimZ.js +1 -0
- package/dist/public/monaco/vs/htmlMode-27by_KM4.js +1 -0
- package/dist/public/monaco/vs/index-049xrXrp.js +1 -0
- package/dist/public/monaco/vs/index-CBVt3dzv.js +5 -0
- package/dist/public/monaco/vs/index.js +1 -0
- package/dist/public/monaco/vs/ini-CsNwO04R.js +1 -0
- package/dist/public/monaco/vs/initialize-DL0l1TGY.js +1 -0
- package/dist/public/monaco/vs/java-CI4ZMsH9.js +1 -0
- package/dist/public/monaco/vs/javascript-DTJl4Jn1.js +1 -0
- package/dist/public/monaco/vs/json.worker-BizpAl9O.js +1 -0
- package/dist/public/monaco/vs/jsonMode-DLUiMUrI.js +1 -0
- package/dist/public/monaco/vs/julia-BwzEvaQw.js +1 -0
- package/dist/public/monaco/vs/kotlin-IUYPiTV8.js +1 -0
- package/dist/public/monaco/vs/language/css/monaco.contribution.js +1 -0
- package/dist/public/monaco/vs/language/html/monaco.contribution.js +1 -0
- package/dist/public/monaco/vs/language/json/monaco.contribution.js +1 -0
- package/dist/public/monaco/vs/language/typescript/monaco.contribution.js +1 -0
- package/dist/public/monaco/vs/less-C0eDYdqa.js +2 -0
- package/dist/public/monaco/vs/lexon-iON-Kj97.js +1 -0
- package/dist/public/monaco/vs/liquid-CLJYelW6.js +1 -0
- package/dist/public/monaco/vs/loader.js +1368 -0
- package/dist/public/monaco/vs/lspLanguageFeatures-BIkJOWLw.js +2 -0
- package/dist/public/monaco/vs/lua-DtygF91M.js +1 -0
- package/dist/public/monaco/vs/m3-CsR4AuFi.js +1 -0
- package/dist/public/monaco/vs/main-BEx-Fmlo.js +15 -0
- package/dist/public/monaco/vs/main-DsK8pnKg.js +3 -0
- package/dist/public/monaco/vs/markdown-C_rD0bIw.js +1 -0
- package/dist/public/monaco/vs/mdx-CpzZIPHF.js +1 -0
- package/dist/public/monaco/vs/mips-CiYP61RB.js +1 -0
- package/dist/public/monaco/vs/monaco.contribution-9cKT3C7t.js +1 -0
- package/dist/public/monaco/vs/monaco.contribution-BE88ZNGY.js +1 -0
- package/dist/public/monaco/vs/monaco.contribution-BPhsneLd.js +1 -0
- package/dist/public/monaco/vs/monaco.contribution-BgRy6xDf.js +1 -0
- package/dist/public/monaco/vs/msdax-C38-sJlp.js +1 -0
- package/dist/public/monaco/vs/mysql-CdtbpvbG.js +1 -0
- package/dist/public/monaco/vs/nls/lang/cs.d.ts +1 -0
- package/dist/public/monaco/vs/nls/lang/cs.js +9 -0
- package/dist/public/monaco/vs/nls/lang/de.d.ts +1 -0
- package/dist/public/monaco/vs/nls/lang/de.js +9 -0
- package/dist/public/monaco/vs/nls/lang/es.d.ts +1 -0
- package/dist/public/monaco/vs/nls/lang/es.js +9 -0
- package/dist/public/monaco/vs/nls/lang/fr.d.ts +1 -0
- package/dist/public/monaco/vs/nls/lang/fr.js +9 -0
- package/dist/public/monaco/vs/nls/lang/it.d.ts +1 -0
- package/dist/public/monaco/vs/nls/lang/it.js +9 -0
- package/dist/public/monaco/vs/nls/lang/ja.d.ts +1 -0
- package/dist/public/monaco/vs/nls/lang/ja.js +9 -0
- package/dist/public/monaco/vs/nls/lang/ko.d.ts +1 -0
- package/dist/public/monaco/vs/nls/lang/ko.js +9 -0
- package/dist/public/monaco/vs/nls/lang/pl.d.ts +1 -0
- package/dist/public/monaco/vs/nls/lang/pl.js +9 -0
- package/dist/public/monaco/vs/nls/lang/pt-br.d.ts +1 -0
- package/dist/public/monaco/vs/nls/lang/pt-br.js +9 -0
- package/dist/public/monaco/vs/nls/lang/ru.d.ts +1 -0
- package/dist/public/monaco/vs/nls/lang/ru.js +9 -0
- package/dist/public/monaco/vs/nls/lang/tr.d.ts +1 -0
- package/dist/public/monaco/vs/nls/lang/tr.js +9 -0
- package/dist/public/monaco/vs/nls/lang/zh-cn.d.ts +1 -0
- package/dist/public/monaco/vs/nls/lang/zh-cn.js +9 -0
- package/dist/public/monaco/vs/nls/lang/zh-tw.d.ts +1 -0
- package/dist/public/monaco/vs/nls/lang/zh-tw.js +9 -0
- package/dist/public/monaco/vs/nls.messages-loader.js +1 -0
- package/dist/public/monaco/vs/objective-c-CntZFaHX.js +1 -0
- package/dist/public/monaco/vs/pascal-r6kuqfl_.js +1 -0
- package/dist/public/monaco/vs/pascaligo-BiXoTmXh.js +1 -0
- package/dist/public/monaco/vs/perl-DABw_TcH.js +1 -0
- package/dist/public/monaco/vs/pgsql-me_jFXeX.js +1 -0
- package/dist/public/monaco/vs/php-D_kh-9LK.js +1 -0
- package/dist/public/monaco/vs/pla-VfZjczW0.js +1 -0
- package/dist/public/monaco/vs/postiats-BBSzz8Pk.js +1 -0
- package/dist/public/monaco/vs/powerquery-Dt-g_2cc.js +1 -0
- package/dist/public/monaco/vs/powershell-B-7ap1zc.js +1 -0
- package/dist/public/monaco/vs/protobuf-BmtuEB1A.js +2 -0
- package/dist/public/monaco/vs/pug-BRpRNeEb.js +1 -0
- package/dist/public/monaco/vs/python-CqWUUgfu.js +1 -0
- package/dist/public/monaco/vs/qsharp-BzsFaUU9.js +1 -0
- package/dist/public/monaco/vs/r-f8dDdrp4.js +1 -0
- package/dist/public/monaco/vs/razor-hok5y9Km.js +1 -0
- package/dist/public/monaco/vs/redis-fvZQY4PI.js +1 -0
- package/dist/public/monaco/vs/redshift-45Et0LQi.js +1 -0
- package/dist/public/monaco/vs/restructuredtext-C7UUFKFD.js +1 -0
- package/dist/public/monaco/vs/ruby-CZO8zYTz.js +1 -0
- package/dist/public/monaco/vs/rust-Bfetafyc.js +1 -0
- package/dist/public/monaco/vs/sb-3GYllVck.js +1 -0
- package/dist/public/monaco/vs/scala-foMgrKo1.js +1 -0
- package/dist/public/monaco/vs/scheme-CHdMtr7p.js +1 -0
- package/dist/public/monaco/vs/scss-C1cmLt9V.js +3 -0
- package/dist/public/monaco/vs/shell-ClXCKCEW.js +1 -0
- package/dist/public/monaco/vs/solidity-MZ6ExpPy.js +1 -0
- package/dist/public/monaco/vs/sophia-DWkuSsPQ.js +1 -0
- package/dist/public/monaco/vs/sparql-AUGFYSyk.js +1 -0
- package/dist/public/monaco/vs/sql-32GpJSV2.js +1 -0
- package/dist/public/monaco/vs/st-CuDFIVZ_.js +1 -0
- package/dist/public/monaco/vs/swift-t-PfMj7W.js +1 -0
- package/dist/public/monaco/vs/systemverilog-Ch4vA8Yt.js +1 -0
- package/dist/public/monaco/vs/tcl-D74tq1nH.js +1 -0
- package/dist/public/monaco/vs/toggleHighContrast-qGX7E9o7.js +61 -0
- package/dist/public/monaco/vs/ts.worker-2QLmBukE.js +1 -0
- package/dist/public/monaco/vs/tsMode-B0S_kp2q.js +11 -0
- package/dist/public/monaco/vs/twig-C6taOxMV.js +1 -0
- package/dist/public/monaco/vs/typescript-_2t_511t.js +1 -0
- package/dist/public/monaco/vs/typespec-8OfoLt6R.js +1 -0
- package/dist/public/monaco/vs/vb-Dyb2648j.js +1 -0
- package/dist/public/monaco/vs/wgsl-BhLXMOR0.js +298 -0
- package/dist/public/monaco/vs/workers-BBttULjf.js +1 -0
- package/dist/public/monaco/vs/xml-cZjNDqDT.js +1 -0
- package/dist/public/monaco/vs/yaml-A1fOIdH6.js +1 -0
- package/dist/src-LbWcrSWe.js +3 -0
- package/dist/styles.css +2 -0
- package/dist/styles.d.ts +1 -0
- package/dist/types.d.ts +1 -0
- package/package.json +113 -4
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import{n as e}from"./rolldown-runtime-BKuNeK48.js";import{n as t,r as n}from"./chunk-Y2CYZVJY-DjEHBC-3.js";function r(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,`default`)?e.default:e}function i(){if(j)return A;j=1;function e(e){return e==null}t(e,`isNothing`);function n(e){return typeof e==`object`&&!!e}t(n,`isObject`);function r(t){return Array.isArray(t)?t:e(t)?[]:[t]}t(r,`toArray`);function i(e,t){if(t){let n=Object.keys(t);for(let r=0,i=n.length;r<i;r+=1){let i=n[r];e[i]=t[i]}}return e}t(i,`extend`);function a(e,t){let n=``;for(let r=0;r<t;r+=1)n+=e;return n}t(a,`repeat`);function o(e){return e===0&&1/e==-1/0}return t(o,`isNegativeZero`),A.isNothing=e,A.isObject=n,A.toArray=r,A.repeat=a,A.isNegativeZero=o,A.extend=i,A}function a(){if(N)return M;N=1;function e(e,t){let 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}t(e,`formatError`);function n(t,n){Error.call(this),this.name=`YAMLException`,this.reason=t,this.mark=n,this.message=e(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(/* @__PURE__ */ Error()).stack||``}return t(n,`YAMLException2`),n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n.prototype.toString=/* @__PURE__ */ t(function(t){return this.name+`: `+e(this,t)},`toString`),M=n,M}function o(){if(F)return P;F=1;let e=i();function n(e,t,n,r,i){let 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}}t(n,`getLine`);function r(t,n){return e.repeat(` `,n-t.length)+t}t(r,`padStart`);function a(t,i){if(i=Object.create(i||null),!t.buffer)return null;i.maxLength||(i.maxLength=79),typeof i.indent!=`number`&&(i.indent=1),typeof i.linesBefore!=`number`&&(i.linesBefore=3),typeof i.linesAfter!=`number`&&(i.linesAfter=2);let a=/\r?\n|\r|\0/g,o=[0],s=[],c,l=-1;for(;c=a.exec(t.buffer);)s.push(c.index),o.push(c.index+c[0].length),t.position<=c.index&&l<0&&(l=o.length-2);l<0&&(l=o.length-1);let u=``,d=Math.min(t.line+i.linesAfter,s.length).toString().length,f=i.maxLength-(i.indent+d+3);for(let a=1;a<=i.linesBefore&&!(l-a<0);a++){let c=n(t.buffer,o[l-a],s[l-a],t.position-(o[l]-o[l-a]),f);u=e.repeat(` `,i.indent)+r((t.line-a+1).toString(),d)+` | `+c.str+`
|
|
4
|
+
`+u}let p=n(t.buffer,o[l],s[l],t.position,f);u+=e.repeat(` `,i.indent)+r((t.line+1).toString(),d)+` | `+p.str+`
|
|
5
|
+
`,u+=e.repeat(`-`,i.indent+d+3+p.pos)+`^
|
|
6
|
+
`;for(let a=1;a<=i.linesAfter&&!(l+a>=s.length);a++){let c=n(t.buffer,o[l+a],s[l+a],t.position-(o[l]-o[l+a]),f);u+=e.repeat(` `,i.indent)+r((t.line+a+1).toString(),d)+` | `+c.str+`
|
|
7
|
+
`}return u.replace(/\n$/,``)}return t(a,`makeSnippet`),P=a,P}function s(){if(L)return I;L=1;let e=a(),n=[`kind`,`multi`,`resolve`,`construct`,`instanceOf`,`predicate`,`represent`,`representName`,`defaultStyle`,`styleAliases`],r=[`scalar`,`sequence`,`mapping`];function i(e){let t={};return e!==null&&Object.keys(e).forEach(function(n){e[n].forEach(function(e){t[String(e)]=n})}),t}t(i,`compileStyleAliases`);function o(t,a){if(a||={},Object.keys(a).forEach(function(r){if(n.indexOf(r)===-1)throw new e(`Unknown option "`+r+`" is met in definition of "`+t+`" YAML type.`)}),this.options=a,this.tag=t,this.kind=a.kind||null,this.resolve=a.resolve||function(){return!0},this.construct=a.construct||function(e){return e},this.instanceOf=a.instanceOf||null,this.predicate=a.predicate||null,this.represent=a.represent||null,this.representName=a.representName||null,this.defaultStyle=a.defaultStyle||null,this.multi=a.multi||!1,this.styleAliases=i(a.styleAliases||null),r.indexOf(this.kind)===-1)throw new e(`Unknown kind "`+this.kind+`" is specified for "`+t+`" YAML type.`)}return t(o,`Type2`),I=o,I}function c(){if(z)return R;z=1;let e=a(),n=s();function r(e,t){let n=[];return e[t].forEach(function(e){let 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}t(r,`compileList`);function i(){let e={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}};function n(t){t.multi?(e.multi[t.kind].push(t),e.multi.fallback.push(t)):e[t.kind][t.tag]=e.fallback[t.tag]=t}t(n,`collectType`);for(let e=0,t=arguments.length;e<t;e+=1)arguments[e].forEach(n);return e}t(i,`compileMap`);function o(e){return this.extend(e)}return t(o,`Schema2`),o.prototype.extend=/* @__PURE__ */ t(function(t){let a=[],s=[];if(t instanceof n)s.push(t);else if(Array.isArray(t))s=s.concat(t);else if(t&&(Array.isArray(t.implicit)||Array.isArray(t.explicit)))t.implicit&&(a=a.concat(t.implicit)),t.explicit&&(s=s.concat(t.explicit));else throw new e(`Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })`);a.forEach(function(t){if(!(t instanceof n))throw new e(`Specified list of YAML types (or a single Type object) contains a non-Type object.`);if(t.loadKind&&t.loadKind!==`scalar`)throw new e(`There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.`);if(t.multi)throw new e(`There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.`)}),s.forEach(function(t){if(!(t instanceof n))throw new e(`Specified list of YAML types (or a single Type object) contains a non-Type object.`)});let c=Object.create(o.prototype);return c.implicit=(this.implicit||[]).concat(a),c.explicit=(this.explicit||[]).concat(s),c.compiledImplicit=r(c,`implicit`),c.compiledExplicit=r(c,`explicit`),c.compiledTypeMap=i(c.compiledImplicit,c.compiledExplicit),c},`extend`),R=o,R}function l(){return V||(V=1,B=new(s())(`tag:yaml.org,2002:str`,{kind:`scalar`,construct:/* @__PURE__ */ t(function(e){return e===null?``:e},`construct`)})),B}function u(){return U||(U=1,H=new(s())(`tag:yaml.org,2002:seq`,{kind:`sequence`,construct:/* @__PURE__ */ t(function(e){return e===null?[]:e},`construct`)})),H}function d(){return G||(G=1,W=new(s())(`tag:yaml.org,2002:map`,{kind:`mapping`,construct:/* @__PURE__ */ t(function(e){return e===null?{}:e},`construct`)})),W}function f(){return ne||(ne=1,te=new(c())({explicit:[l(),u(),d()]})),te}function p(){if(re)return K;re=1;let e=s();function n(e){if(e===null)return!0;let t=e.length;return t===1&&e===`~`||t===4&&(e===`null`||e===`Null`||e===`NULL`)}t(n,`resolveYamlNull`);function r(){return null}t(r,`constructYamlNull`);function i(e){return e===null}return t(i,`isNull`),K=new e(`tag:yaml.org,2002:null`,{kind:`scalar`,resolve:n,construct:r,predicate:i,represent:{canonical:/* @__PURE__ */ t(function(){return`~`},`canonical`),lowercase:/* @__PURE__ */ t(function(){return`null`},`lowercase`),uppercase:/* @__PURE__ */ t(function(){return`NULL`},`uppercase`),camelcase:/* @__PURE__ */ t(function(){return`Null`},`camelcase`),empty:/* @__PURE__ */ t(function(){return``},`empty`)},defaultStyle:`lowercase`}),K}function m(){if(J)return q;J=1;let e=s();function n(e){if(e===null)return!1;let t=e.length;return t===4&&(e===`true`||e===`True`||e===`TRUE`)||t===5&&(e===`false`||e===`False`||e===`FALSE`)}t(n,`resolveYamlBoolean`);function r(e){return e===`true`||e===`True`||e===`TRUE`}t(r,`constructYamlBoolean`);function i(e){return Object.prototype.toString.call(e)===`[object Boolean]`}return t(i,`isBoolean`),q=new e(`tag:yaml.org,2002:bool`,{kind:`scalar`,resolve:n,construct:r,predicate:i,represent:{lowercase:/* @__PURE__ */ t(function(e){return e?`true`:`false`},`lowercase`),uppercase:/* @__PURE__ */ t(function(e){return e?`TRUE`:`FALSE`},`uppercase`),camelcase:/* @__PURE__ */ t(function(e){return e?`True`:`False`},`camelcase`)},defaultStyle:`lowercase`}),q}function h(){if(ie)return Y;ie=1;let e=i(),n=s();function r(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}t(r,`isHexCode`);function a(e){return e>=48&&e<=55}t(a,`isOctCode`);function o(e){return e>=48&&e<=57}t(o,`isDecCode`);function c(e){if(e===null)return!1;let t=e.length,n=0,i=!1;if(!t)return!1;let s=e[n];if((s===`-`||s===`+`)&&(s=e[++n]),s===`0`){if(n+1===t)return!0;if(s=e[++n],s===`b`){for(n++;n<t;n++){if(s=e[n],s!==`0`&&s!==`1`)return!1;i=!0}return i&&isFinite(l(e))}if(s===`x`){for(n++;n<t;n++){if(!r(e.charCodeAt(n)))return!1;i=!0}return i&&isFinite(l(e))}if(s===`o`){for(n++;n<t;n++){if(!a(e.charCodeAt(n)))return!1;i=!0}return i&&isFinite(l(e))}}for(;n<t;n++){if(!o(e.charCodeAt(n)))return!1;i=!0}return i?isFinite(l(e)):!1}t(c,`resolveYamlInteger`);function l(e){let t=e,n=1,r=t[0];if((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)}t(l,`parseYamlInteger`);function u(e){return l(e)}t(u,`constructYamlInteger`);function d(t){return Object.prototype.toString.call(t)===`[object Number]`&&t%1==0&&!e.isNegativeZero(t)}return t(d,`isInteger`),Y=new n(`tag:yaml.org,2002:int`,{kind:`scalar`,resolve:c,construct:u,predicate:d,represent:{binary:/* @__PURE__ */ t(function(e){return e>=0?`0b`+e.toString(2):`-0b`+e.toString(2).slice(1)},`binary`),octal:/* @__PURE__ */ t(function(e){return e>=0?`0o`+e.toString(8):`-0o`+e.toString(8).slice(1)},`octal`),decimal:/* @__PURE__ */ t(function(e){return e.toString(10)},`decimal`),hexadecimal:/* @__PURE__ */ t(function(e){return e>=0?`0x`+e.toString(16).toUpperCase():`-0x`+e.toString(16).toUpperCase().slice(1)},`hexadecimal`)},defaultStyle:`decimal`,styleAliases:{binary:[2,`bin`],octal:[8,`oct`],decimal:[10,`dec`],hexadecimal:[16,`hex`]}}),Y}function g(){if(ae)return X;ae=1;let e=i(),n=s(),r=/* @__PURE__ */ RegExp(`^(?:[-+]?(?:[0-9]+)(?:\\.[0-9]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$`),a=/* @__PURE__ */ RegExp(`^(?:[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$`);function o(e){return e===null||!r.test(e)?!1:isFinite(parseFloat(e,10))?!0:a.test(e)}t(o,`resolveYamlFloat`);function c(e){let t=e.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)}t(c,`constructYamlFloat`);let l=/^[-+]?[0-9]+e/;function u(t,n){if(isNaN(t))switch(n){case`lowercase`:return`.nan`;case`uppercase`:return`.NAN`;case`camelcase`:return`.NaN`}else if(t===1/0)switch(n){case`lowercase`:return`.inf`;case`uppercase`:return`.INF`;case`camelcase`:return`.Inf`}else if(t===-1/0)switch(n){case`lowercase`:return`-.inf`;case`uppercase`:return`-.INF`;case`camelcase`:return`-.Inf`}else if(e.isNegativeZero(t))return`-0.0`;let r=t.toString(10);return l.test(r)?r.replace(`e`,`.e`):r}t(u,`representYamlFloat`);function d(t){return Object.prototype.toString.call(t)===`[object Number]`&&(t%1!=0||e.isNegativeZero(t))}return t(d,`isFloat`),X=new n(`tag:yaml.org,2002:float`,{kind:`scalar`,resolve:o,construct:c,predicate:d,represent:u,defaultStyle:`lowercase`}),X}function _(){return Z||(Z=1,oe=f().extend({implicit:[p(),m(),h(),g()]})),oe}function v(){return Q||(Q=1,se=_()),se}function y(){if(ce)return $;ce=1;let e=s(),n=/* @__PURE__ */ RegExp(`^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$`),r=/* @__PURE__ */ RegExp(`^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$`);function i(e){return e===null?!1:n.exec(e)!==null||r.exec(e)!==null}t(i,`resolveYamlTimestamp`);function a(e){let t=0,i=null,a=n.exec(e);if(a===null&&(a=r.exec(e)),a===null)throw Error(`Date resolve error`);let o=+a[1],s=a[2]-1,c=+a[3];if(!a[4])return new Date(Date.UTC(o,s,c));let l=+a[4],u=+a[5],d=+a[6];if(a[7]){for(t=a[7].slice(0,3);t.length<3;)t+=`0`;t=+t}if(a[9]){let e=+a[10],t=+(a[11]||0);i=(e*60+t)*6e4,a[9]===`-`&&(i=-i)}let f=new Date(Date.UTC(o,s,c,l,u,d,t));return i&&f.setTime(f.getTime()-i),f}t(a,`constructYamlTimestamp`);function o(e){return e.toISOString()}return t(o,`representYamlTimestamp`),$=new e(`tag:yaml.org,2002:timestamp`,{kind:`scalar`,resolve:i,construct:a,instanceOf:Date,represent:o}),$}function b(){if(ue)return le;ue=1;let e=s();function n(e){return e===`<<`||e===null}return t(n,`resolveYamlMerge`),le=new e(`tag:yaml.org,2002:merge`,{kind:`scalar`,resolve:n}),le}function x(){if(fe)return de;fe=1;let e=s();function n(e){if(e===null)return!1;let t=0,n=e.length;for(let r=0;r<n;r++){let n=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
|
|
8
|
+
\r`.indexOf(e.charAt(r));if(!(n>64)){if(n<0)return!1;t+=6}}return t%8==0}t(n,`resolveYamlBinary`);function r(e){let t=e.replace(/[\r\n=]/g,``),n=t.length,r=0,i=[];for(let e=0;e<n;e++)e%4==0&&e&&(i.push(r>>16&255),i.push(r>>8&255),i.push(r&255)),r=r<<6|`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
|
|
9
|
+
\r`.indexOf(t.charAt(e));let a=n%4*6;return a===0?(i.push(r>>16&255),i.push(r>>8&255),i.push(r&255)):a===18?(i.push(r>>10&255),i.push(r>>2&255)):a===12&&i.push(r>>4&255),new Uint8Array(i)}t(r,`constructYamlBinary`);function i(e){let t=``,n=0,r=e.length,i=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
|
|
10
|
+
\r`;for(let a=0;a<r;a++)a%3==0&&a&&(t+=i[n>>18&63],t+=i[n>>12&63],t+=i[n>>6&63],t+=i[n&63]),n=(n<<8)+e[a];let a=r%3;return a===0?(t+=i[n>>18&63],t+=i[n>>12&63],t+=i[n>>6&63],t+=i[n&63]):a===2?(t+=i[n>>10&63],t+=i[n>>4&63],t+=i[n<<2&63],t+=i[64]):a===1&&(t+=i[n>>2&63],t+=i[n<<4&63],t+=i[64],t+=i[64]),t}t(i,`representYamlBinary`);function a(e){return Object.prototype.toString.call(e)===`[object Uint8Array]`}return t(a,`isBinary`),de=new e(`tag:yaml.org,2002:binary`,{kind:`scalar`,resolve:n,construct:r,predicate:a,represent:i}),de}function S(){if(me)return pe;me=1;let e=s(),n=Object.prototype.hasOwnProperty,r=Object.prototype.toString;function i(e){if(e===null)return!0;let t=[],i=e;for(let e=0,a=i.length;e<a;e+=1){let a=i[e],o=!1;if(r.call(a)!==`[object Object]`)return!1;let s;for(s in a)if(n.call(a,s)){if(!o)o=!0;else return!1}if(!o)return!1;if(t.indexOf(s)===-1)t.push(s);else return!1}return!0}t(i,`resolveYamlOmap`);function a(e){return e===null?[]:e}return t(a,`constructYamlOmap`),pe=new e(`tag:yaml.org,2002:omap`,{kind:`sequence`,resolve:i,construct:a}),pe}function C(){if(ge)return he;ge=1;let e=s(),n=Object.prototype.toString;function r(e){if(e===null)return!0;let t=e,r=Array(t.length);for(let e=0,i=t.length;e<i;e+=1){let i=t[e];if(n.call(i)!==`[object Object]`)return!1;let a=Object.keys(i);if(a.length!==1)return!1;r[e]=[a[0],i[a[0]]]}return!0}t(r,`resolveYamlPairs`);function i(e){if(e===null)return[];let t=e,n=Array(t.length);for(let e=0,r=t.length;e<r;e+=1){let r=t[e],i=Object.keys(r);n[e]=[i[0],r[i[0]]]}return n}return t(i,`constructYamlPairs`),he=new e(`tag:yaml.org,2002:pairs`,{kind:`sequence`,resolve:r,construct:i}),he}function w(){if(ve)return _e;ve=1;let e=s(),n=Object.prototype.hasOwnProperty;function r(e){if(e===null)return!0;let t=e;for(let e in t)if(n.call(t,e)&&t[e]!==null)return!1;return!0}t(r,`resolveYamlSet`);function i(e){return e===null?{}:e}return t(i,`constructYamlSet`),_e=new e(`tag:yaml.org,2002:set`,{kind:`mapping`,resolve:r,construct:i}),_e}function ee(){return be||(be=1,ye=v().extend({implicit:[y(),b()],explicit:[x(),S(),C(),w()]})),ye}function T(){if(xe)return k;xe=1;let e=i(),n=a(),r=o(),s=ee(),c=Object.prototype.hasOwnProperty,l=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,u=/[\x85\u2028\u2029]/,d=/[,\[\]{}]/,f=/^(?:!|!!|![0-9A-Za-z-]+!)$/,p=/^(?:!|[^,\[\]{}])(?:%[0-9a-f]{2}|[0-9a-z\-#;/?:@&=+$,_.!~*'()\[\]])*$/i;function m(e){return Object.prototype.toString.call(e)}t(m,`_class`);function h(e){return e===10||e===13}t(h,`isEol`);function g(e){return e===9||e===32}t(g,`isWhiteSpace`);function _(e){return e===9||e===32||e===10||e===13}t(_,`isWsOrEol`);function v(e){return e===44||e===91||e===93||e===123||e===125}t(v,`isFlowIndicator`);function y(e){if(e>=48&&e<=57)return e-48;let t=e|32;return t>=97&&t<=102?t-97+10:-1}t(y,`fromHexCode`);function b(e){return e===120?2:e===117?4:e===85?8:0}t(b,`escapedHexLen`);function x(e){return e>=48&&e<=57?e-48:-1}t(x,`fromDecimalCode`);function S(e){switch(e){case 48:return`\0`;case 97:return`\x07`;case 98:return`\b`;case 116:return` `;case 9:return` `;case 110:return`
|
|
11
|
+
`;case 118:return`\v`;case 102:return`\f`;case 114:return`\r`;case 101:return`\x1B`;case 32:return` `;case 34:return`"`;case 47:return`/`;case 92:return`\\`;case 78:return`
`;case 95:return`\xA0`;case 76:return`\u2028`;case 80:return`\u2029`;default:return``}}t(S,`simpleEscapeSequence`);function C(e){return e<=65535?String.fromCharCode(e):String.fromCharCode((e-65536>>10)+55296,(e-65536&1023)+56320)}t(C,`charFromCodepoint`);function w(e,t,n){t===`__proto__`?Object.defineProperty(e,t,{configurable:!0,enumerable:!0,writable:!0,value:n}):e[t]=n}t(w,`setProperty`);let T=Array(256),E=Array(256);for(let e=0;e<256;e++)T[e]=+!!S(e),E[e]=S(e);function D(e,t){this.input=e,this.filename=t.filename||null,this.schema=t.schema||s,this.onWarning=t.onWarning||null,this.legacy=t.legacy||!1,this.json=t.json||!1,this.listener=t.listener||null,this.maxDepth=typeof t.maxDepth==`number`?t.maxDepth:100,this.maxTotalMergeKeys=typeof t.maxTotalMergeKeys==`number`?t.maxTotalMergeKeys:1e4,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.depth=0,this.totalMergeKeys=0,this.firstTabInLine=-1,this.documents=[],this.anchorMapTransactions=[]}t(D,`State`);function O(e,t){let i={name:e.filename,buffer:e.input.slice(0,-1),position:e.position,line:e.line,column:e.position-e.lineStart};return i.snippet=r(i),new n(t,i)}t(O,`generateError`);function A(e,t){throw O(e,t)}t(A,`throwError`);function j(e,t){e.onWarning&&e.onWarning.call(null,O(e,t))}t(j,`throwWarning`);function M(e,t,n){let r=e.anchorMapTransactions;if(r.length!==0){let n=r[r.length-1];c.call(n,t)||(n[t]={existed:c.call(e.anchorMap,t),value:e.anchorMap[t]})}e.anchorMap[t]=n}t(M,`storeAnchor`);function N(e){e.anchorMapTransactions.push(/* @__PURE__ */ Object.create(null))}t(N,`beginAnchorTransaction`);function P(e){let t=e.anchorMapTransactions.pop(),n=e.anchorMapTransactions;if(n.length===0)return;let r=n[n.length-1],i=Object.keys(t);for(let e=0,n=i.length;e<n;e+=1){let n=i[e];c.call(r,n)||(r[n]=t[n])}}t(P,`commitAnchorTransaction`);function F(e){let t=e.anchorMapTransactions.pop(),n=Object.keys(t);for(let r=n.length-1;r>=0;--r){let i=t[n[r]];i.existed?e.anchorMap[n[r]]=i.value:delete e.anchorMap[n[r]]}}t(F,`rollbackAnchorTransaction`);function I(e){return{position:e.position,line:e.line,lineStart:e.lineStart,lineIndent:e.lineIndent,firstTabInLine:e.firstTabInLine,tag:e.tag,anchor:e.anchor,kind:e.kind,result:e.result}}t(I,`snapshotState`);function L(e,t){e.position=t.position,e.line=t.line,e.lineStart=t.lineStart,e.lineIndent=t.lineIndent,e.firstTabInLine=t.firstTabInLine,e.tag=t.tag,e.anchor=t.anchor,e.kind=t.kind,e.result=t.result}t(L,`restoreState`);let R={YAML:/* @__PURE__ */ t(function(e,t,n){e.version!==null&&A(e,`duplication of %YAML directive`),n.length!==1&&A(e,`YAML directive accepts exactly one argument`);let r=/^([0-9]+)\.([0-9]+)$/.exec(n[0]);r===null&&A(e,`ill-formed argument of the YAML directive`);let i=parseInt(r[1],10),a=parseInt(r[2],10);i!==1&&A(e,`unacceptable YAML version of the document`),e.version=n[0],e.checkLineBreaks=a<2,a!==1&&a!==2&&j(e,`unsupported YAML version of the document`)},`handleYamlDirective`),TAG:/* @__PURE__ */ t(function(e,t,n){let r;n.length!==2&&A(e,`TAG directive accepts exactly two arguments`);let i=n[0];r=n[1],f.test(i)||A(e,`ill-formed tag handle (first argument) of the TAG directive`),c.call(e.tagMap,i)&&A(e,`there is a previously declared suffix for "`+i+`" tag handle`),p.test(r)||A(e,`ill-formed tag prefix (second argument) of the TAG directive`);try{r=decodeURIComponent(r)}catch{A(e,`tag prefix is malformed: `+r)}e.tagMap[i]=r},`handleTagDirective`)};function z(e,t,n,r){if(t<n){let i=e.input.slice(t,n);if(r)for(let t=0,n=i.length;t<n;t+=1){let n=i.charCodeAt(t);n===9||n>=32&&n<=1114111||A(e,`expected valid JSON character`)}else l.test(i)&&A(e,`the stream contains non-printable characters`);e.result+=i}}t(z,`captureSegment`);function B(t,n,r,i){e.isObject(r)||A(t,`cannot merge mappings; the provided source object is unacceptable`);let a=Object.keys(r);for(let e=0,o=a.length;e<o;e+=1){let o=a[e];t.maxTotalMergeKeys!==-1&&++t.totalMergeKeys>t.maxTotalMergeKeys&&A(t,`merge keys exceeded maxTotalMergeKeys (`+t.maxTotalMergeKeys+`)`),c.call(n,o)||(w(n,o,r[o]),i[o]=!0)}}t(B,`mergeMappings`);function V(e,t,n,r,i,a,o,s,l){if(Array.isArray(i)){i=Array.prototype.slice.call(i);for(let t=0,n=i.length;t<n;t+=1)Array.isArray(i[t])&&A(e,`nested arrays are not supported inside keys`),typeof i==`object`&&m(i[t])===`[object Object]`&&(i[t]=`[object Object]`)}if(typeof i==`object`&&m(i)===`[object Object]`&&(i=`[object Object]`),i=String(i),t===null&&(t={}),r===`tag:yaml.org,2002:merge`){if(Array.isArray(a))for(let r=0,i=a.length;r<i;r+=1)B(e,t,a[r],n);else B(e,t,a,n)}else!e.json&&!c.call(n,i)&&c.call(t,i)&&(e.line=o||e.line,e.lineStart=s||e.lineStart,e.position=l||e.position,A(e,`duplicated mapping key`)),w(t,i,a),delete n[i];return t}t(V,`storeMappingPair`);function H(e){let t=e.input.charCodeAt(e.position);t===10?e.position++:t===13?(e.position++,e.input.charCodeAt(e.position)===10&&e.position++):A(e,`a line break is expected`),e.line+=1,e.lineStart=e.position,e.firstTabInLine=-1}t(H,`readLineBreak`);function U(e,t,n){let r=0,i=e.input.charCodeAt(e.position);for(;i!==0;){for(;g(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(h(i))for(H(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&&j(e,`deficient indentation`),r}t(U,`skipSeparationSpace`);function W(e){let 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||_(n)))}t(W,`testDocumentSeparator`);function G(t,n){n===1?t.result+=` `:n>1&&(t.result+=e.repeat(`
|
|
12
|
+
`,n-1))}t(G,`writeFoldedLines`);function te(e,t,n){let r,i,a,o,s,c,l=e.kind,u=e.result,d=e.input.charCodeAt(e.position);if(_(d)||v(d)||d===35||d===38||d===42||d===33||d===124||d===62||d===39||d===34||d===37||d===64||d===96)return!1;if(d===63||d===45){let t=e.input.charCodeAt(e.position+1);if(_(t)||n&&v(t))return!1}for(e.kind=`scalar`,e.result=``,r=i=e.position,a=!1;d!==0;){if(d===58){let t=e.input.charCodeAt(e.position+1);if(_(t)||n&&v(t))break}else if(d===35){if(_(e.input.charCodeAt(e.position-1)))break}else if(e.position===e.lineStart&&W(e)||n&&v(d))break;else if(h(d)){if(o=e.line,s=e.lineStart,c=e.lineIndent,U(e,!1,-1),e.lineIndent>=t){a=!0,d=e.input.charCodeAt(e.position);continue}e.position=i,e.line=o,e.lineStart=s,e.lineIndent=c;break}a&&=(z(e,r,i,!1),G(e,e.line-o),r=i=e.position,!1),g(d)||(i=e.position+1),d=e.input.charCodeAt(++e.position)}return z(e,r,i,!1),e.result?!0:(e.kind=l,e.result=u,!1)}t(te,`readPlainScalar`);function ne(e,t){let n,r,i=e.input.charCodeAt(e.position);if(i!==39)return!1;for(e.kind=`scalar`,e.result=``,e.position++,n=r=e.position;(i=e.input.charCodeAt(e.position))!==0;)if(i===39){if(z(e,n,e.position,!0),i=e.input.charCodeAt(++e.position),i===39)n=e.position,e.position++,r=e.position;else return!0}else h(i)?(z(e,n,r,!0),G(e,U(e,!1,t)),n=r=e.position):e.position===e.lineStart&&W(e)?A(e,`unexpected end of the document within a single quoted scalar`):(e.position++,g(i)||(r=e.position));A(e,`unexpected end of the stream within a single quoted scalar`)}t(ne,`readSingleQuotedScalar`);function K(e,t){let n,r,i,a=e.input.charCodeAt(e.position);if(a!==34)return!1;for(e.kind=`scalar`,e.result=``,e.position++,n=r=e.position;(a=e.input.charCodeAt(e.position))!==0;)if(a===34)return z(e,n,e.position,!0),e.position++,!0;else if(a===92){if(z(e,n,e.position,!0),a=e.input.charCodeAt(++e.position),h(a))U(e,!1,t);else if(a<256&&T[a])e.result+=E[a],e.position++;else if((i=b(a))>0){let t=i,n=0;for(;t>0;t--)a=e.input.charCodeAt(++e.position),(i=y(a))>=0?n=(n<<4)+i:A(e,`expected hexadecimal character`);e.result+=C(n),e.position++}else A(e,`unknown escape sequence`);n=r=e.position}else h(a)?(z(e,n,r,!0),G(e,U(e,!1,t)),n=r=e.position):e.position===e.lineStart&&W(e)?A(e,`unexpected end of the document within a double quoted scalar`):(e.position++,g(a)||(r=e.position));A(e,`unexpected end of the stream within a double quoted scalar`)}t(K,`readDoubleQuotedScalar`);function re(e,t){let n=!0,r,i,a,o=e.tag,s,c=e.anchor,l,u,d,f,p=/* @__PURE__ */ Object.create(null),m,h,g,v=e.input.charCodeAt(e.position);if(v===91)l=93,f=!1,s=[];else if(v===123)l=125,f=!0,s={};else return!1;for(e.anchor!==null&&M(e,e.anchor,s),v=e.input.charCodeAt(++e.position);v!==0;){if(U(e,!0,t),v=e.input.charCodeAt(e.position),v===l)return e.position++,e.tag=o,e.anchor=c,e.kind=f?`mapping`:`sequence`,e.result=s,!0;n?v===44&&A(e,`expected the node content, but found ','`):A(e,`missed comma between flow collection entries`),h=m=g=null,u=d=!1,v===63&&_(e.input.charCodeAt(e.position+1))&&(u=d=!0,e.position++,U(e,!0,t)),r=e.line,i=e.lineStart,a=e.position,Z(e,t,1,!1,!0),h=e.tag,m=e.result,U(e,!0,t),v=e.input.charCodeAt(e.position),(d||e.line===r)&&v===58&&(u=!0,v=e.input.charCodeAt(++e.position),U(e,!0,t),Z(e,t,1,!1,!0),g=e.result),f?V(e,s,p,h,m,g,r,i,a):u?s.push(V(e,null,p,h,m,g,r,i,a)):s.push(m),U(e,!0,t),v=e.input.charCodeAt(e.position),v===44?(n=!0,v=e.input.charCodeAt(++e.position)):n=!1}A(e,`unexpected end of the stream within a flow collection`)}t(re,`readFlowCollection`);function q(t,n){let r,i=1,a=!1,o=!1,s=n,c=0,l=!1,u,d=t.input.charCodeAt(t.position);if(d===124)r=!1;else if(d===62)r=!0;else return!1;for(t.kind=`scalar`,t.result=``;d!==0;)if(d=t.input.charCodeAt(++t.position),d===43||d===45)i===1?i=d===43?3:2:A(t,`repeat of a chomping mode identifier`);else if((u=x(d))>=0)u===0?A(t,`bad explicit indentation width of a block scalar; it cannot be less than one`):o?A(t,`repeat of an indentation width identifier`):(s=n+u-1,o=!0);else break;if(g(d)){do d=t.input.charCodeAt(++t.position);while(g(d));if(d===35)do d=t.input.charCodeAt(++t.position);while(!h(d)&&d!==0)}for(;d!==0;){for(H(t),t.lineIndent=0,d=t.input.charCodeAt(t.position);(!o||t.lineIndent<s)&&d===32;)t.lineIndent++,d=t.input.charCodeAt(++t.position);if(!o&&t.lineIndent>s&&(s=t.lineIndent),h(d)){c++;continue}if(!o&&s===0&&A(t,`missing indentation for block scalar`),t.lineIndent<s){i===3?t.result+=e.repeat(`
|
|
13
|
+
`,a?1+c:c):i===1&&a&&(t.result+=`
|
|
14
|
+
`);break}r?g(d)?(l=!0,t.result+=e.repeat(`
|
|
15
|
+
`,a?1+c:c)):l?(l=!1,t.result+=e.repeat(`
|
|
16
|
+
`,c+1)):c===0?a&&(t.result+=` `):t.result+=e.repeat(`
|
|
17
|
+
`,c):t.result+=e.repeat(`
|
|
18
|
+
`,a?1+c:c),a=!0,o=!0,c=0;let n=t.position;for(;!h(d)&&d!==0;)d=t.input.charCodeAt(++t.position);z(t,n,t.position,!1)}return!0}t(q,`readBlockScalar`);function J(e,t){let n=e.tag,r=e.anchor,i=[],a=!1;if(e.firstTabInLine!==-1)return!1;e.anchor!==null&&M(e,e.anchor,i);let o=e.input.charCodeAt(e.position);for(;o!==0&&(e.firstTabInLine!==-1&&(e.position=e.firstTabInLine,A(e,`tab characters must not be used in indentation`)),o===45&&_(e.input.charCodeAt(e.position+1)));){if(a=!0,e.position++,U(e,!0,-1)&&e.lineIndent<=t){i.push(null),o=e.input.charCodeAt(e.position);continue}let n=e.line;if(Z(e,t,3,!1,!0),i.push(e.result),U(e,!0,-1),o=e.input.charCodeAt(e.position),(e.line===n||e.lineIndent>t)&&o!==0)A(e,`bad indentation of a sequence entry`);else if(e.lineIndent<t)break}return a?(e.tag=n,e.anchor=r,e.kind=`sequence`,e.result=i,!0):!1}t(J,`readBlockSequence`);function Y(e,t,n){let r,i,a,o,s=e.tag,c=e.anchor,l={},u=/* @__PURE__ */ Object.create(null),d=null,f=null,p=null,m=!1,h=!1;if(e.firstTabInLine!==-1)return!1;e.anchor!==null&&M(e,e.anchor,l);let v=e.input.charCodeAt(e.position);for(;v!==0;){!m&&e.firstTabInLine!==-1&&(e.position=e.firstTabInLine,A(e,`tab characters must not be used in indentation`));let y=e.input.charCodeAt(e.position+1),b=e.line;if((v===63||v===58)&&_(y))v===63?(m&&(V(e,l,u,d,f,null,i,a,o),d=f=p=null),h=!0,m=!0,r=!0):m?(m=!1,r=!0):A(e,`incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line`),e.position+=1,v=y;else{if(i=e.line,a=e.lineStart,o=e.position,!Z(e,n,2,!1,!0))break;if(e.line===b){for(v=e.input.charCodeAt(e.position);g(v);)v=e.input.charCodeAt(++e.position);if(v===58)v=e.input.charCodeAt(++e.position),_(v)||A(e,`a whitespace character is expected after the key-value separator within a block mapping`),m&&(V(e,l,u,d,f,null,i,a,o),d=f=p=null),h=!0,m=!1,r=!1,d=e.tag,f=e.result;else if(h)A(e,`can not read an implicit mapping pair; a colon is missed`);else return e.tag=s,e.anchor=c,!0}else if(h)A(e,`can not read a block mapping entry; a multiline key may not be an implicit key`);else return e.tag=s,e.anchor=c,!0}if((e.line===b||e.lineIndent>t)&&(m&&(i=e.line,a=e.lineStart,o=e.position),Z(e,t,4,!0,r)&&(m?f=e.result:p=e.result),m||(V(e,l,u,d,f,p,i,a,o),d=f=p=null),U(e,!0,-1),v=e.input.charCodeAt(e.position)),(e.line===b||e.lineIndent>t)&&v!==0)A(e,`bad indentation of a mapping entry`);else if(e.lineIndent<t)break}return m&&V(e,l,u,d,f,null,i,a,o),h&&(e.tag=s,e.anchor=c,e.kind=`mapping`,e.result=l),h}t(Y,`readBlockMapping`);function ie(e){let t=!1,n=!1,r,i,a=e.input.charCodeAt(e.position);if(a!==33)return!1;e.tag!==null&&A(e,`duplication of a tag property`),a=e.input.charCodeAt(++e.position),a===60?(t=!0,a=e.input.charCodeAt(++e.position)):a===33?(n=!0,r=`!!`,a=e.input.charCodeAt(++e.position)):r=`!`;let o=e.position;if(t){do a=e.input.charCodeAt(++e.position);while(a!==0&&a!==62);e.position<e.length?(i=e.input.slice(o,e.position),a=e.input.charCodeAt(++e.position)):A(e,`unexpected end of the stream within a verbatim tag`)}else{for(;a!==0&&!_(a);)a===33&&(n?A(e,`tag suffix cannot contain exclamation marks`):(r=e.input.slice(o-1,e.position+1),f.test(r)||A(e,`named tag handle cannot contain such characters`),n=!0,o=e.position+1)),a=e.input.charCodeAt(++e.position);i=e.input.slice(o,e.position),d.test(i)&&A(e,`tag suffix cannot contain flow indicator characters`)}i&&!p.test(i)&&A(e,`tag name cannot contain such characters: `+i);try{i=decodeURIComponent(i)}catch{A(e,`tag name is malformed: `+i)}return t?e.tag=i:c.call(e.tagMap,r)?e.tag=e.tagMap[r]+i:r===`!`?e.tag=`!`+i:r===`!!`?e.tag=`tag:yaml.org,2002:`+i:A(e,`undeclared tag handle "`+r+`"`),!0}t(ie,`readTagProperty`);function X(e){let t=e.input.charCodeAt(e.position);if(t!==38)return!1;e.anchor!==null&&A(e,`duplication of an anchor property`),t=e.input.charCodeAt(++e.position);let n=e.position;for(;t!==0&&!_(t)&&!v(t);)t=e.input.charCodeAt(++e.position);return e.position===n&&A(e,`name of an anchor node must contain at least one character`),e.anchor=e.input.slice(n,e.position),!0}t(X,`readAnchorProperty`);function ae(e){let t=e.input.charCodeAt(e.position);if(t!==42)return!1;t=e.input.charCodeAt(++e.position);let n=e.position;for(;t!==0&&!_(t)&&!v(t);)t=e.input.charCodeAt(++e.position);e.position===n&&A(e,`name of an alias node must contain at least one character`);let r=e.input.slice(n,e.position);return c.call(e.anchorMap,r)||A(e,`unidentified alias "`+r+`"`),e.result=e.anchorMap[r],U(e,!0,-1),!0}t(ae,`readAlias`);function oe(e,t,n,r){let i=I(e);return N(e),L(e,t),e.tag=null,e.anchor=null,e.kind=null,e.result=null,Y(e,n,r)&&e.kind===`mapping`?(P(e),!0):(F(e),L(e,i),!1)}t(oe,`tryReadBlockMappingFromProperty`);function Z(e,t,n,r,i){let a,o,s=1,l=!1,u=!1,d=null,f,p,m;e.depth>=e.maxDepth&&A(e,`nesting exceeded maxDepth (`+e.maxDepth+`)`),e.depth+=1,e.listener!==null&&e.listener(`open`,e),e.tag=null,e.anchor=null,e.kind=null,e.result=null;let h=a=o=n===4||n===3;if(r&&U(e,!0,-1)&&(l=!0,e.lineIndent>t?s=1:e.lineIndent===t?s=0:e.lineIndent<t&&(s=-1)),s===1)for(;;){let n=e.input.charCodeAt(e.position),r=I(e);if(l&&(n===33&&e.tag!==null||n===38&&e.anchor!==null)||!ie(e)&&!X(e))break;d===null&&(d=r),U(e,!0,-1)?(l=!0,o=h,e.lineIndent>t?s=1:e.lineIndent===t?s=0:e.lineIndent<t&&(s=-1)):o=!1}if(o&&=l||i,s===1||n===4){if(p=n===1||n===2?t:t+1,m=e.position-e.lineStart,s===1){if(o&&(J(e,m)||Y(e,m,p))||re(e,p))u=!0;else{let t=e.input.charCodeAt(e.position);d!==null&&h&&!o&&t!==124&&t!==62&&oe(e,d,d.position-d.lineStart,p)||a&&q(e,p)||ne(e,p)||K(e,p)?u=!0:ae(e)?(u=!0,(e.tag!==null||e.anchor!==null)&&A(e,`alias node should not have any properties`)):te(e,p,n===1)&&(u=!0,e.tag===null&&(e.tag=`?`)),e.anchor!==null&&M(e,e.anchor,e.result)}}else s===0&&(u=o&&J(e,m))}if(e.tag===null)e.anchor!==null&&M(e,e.anchor,e.result);else if(e.tag===`?`){e.result!==null&&e.kind!==`scalar`&&A(e,`unacceptable node kind for !<?> tag; it should be "scalar", not "`+e.kind+`"`);for(let t=0,n=e.implicitTypes.length;t<n;t+=1)if(f=e.implicitTypes[t],f.resolve(e.result)){e.result=f.construct(e.result),e.tag=f.tag,e.anchor!==null&&M(e,e.anchor,e.result);break}}else if(e.tag!==`!`){if(c.call(e.typeMap[e.kind||`fallback`],e.tag))f=e.typeMap[e.kind||`fallback`][e.tag];else{f=null;let t=e.typeMap.multi[e.kind||`fallback`];for(let n=0,r=t.length;n<r;n+=1)if(e.tag.slice(0,t[n].tag.length)===t[n].tag){f=t[n];break}}f||A(e,`unknown tag !<`+e.tag+`>`),e.result!==null&&f.kind!==e.kind&&A(e,`unacceptable node kind for !<`+e.tag+`> tag; it should be "`+f.kind+`", not "`+e.kind+`"`),f.resolve(e.result,e.tag)?(e.result=f.construct(e.result,e.tag),e.anchor!==null&&M(e,e.anchor,e.result)):A(e,`cannot resolve a node with !<`+e.tag+`> explicit tag`)}return e.listener!==null&&e.listener(`close`,e),--e.depth,e.tag!==null||e.anchor!==null||u}t(Z,`composeNode`);function se(e){let t=e.position,n=!1,r;for(e.version=null,e.checkLineBreaks=e.legacy,e.tagMap=/* @__PURE__ */ Object.create(null),e.anchorMap=/* @__PURE__ */ Object.create(null);(r=e.input.charCodeAt(e.position))!==0&&(U(e,!0,-1),r=e.input.charCodeAt(e.position),!(e.lineIndent>0||r!==37));){n=!0,r=e.input.charCodeAt(++e.position);let t=e.position;for(;r!==0&&!_(r);)r=e.input.charCodeAt(++e.position);let i=e.input.slice(t,e.position),a=[];for(i.length<1&&A(e,`directive name must not be less than one character in length`);r!==0;){for(;g(r);)r=e.input.charCodeAt(++e.position);if(r===35){do r=e.input.charCodeAt(++e.position);while(r!==0&&!h(r));break}if(h(r))break;for(t=e.position;r!==0&&!_(r);)r=e.input.charCodeAt(++e.position);a.push(e.input.slice(t,e.position))}r!==0&&H(e),c.call(R,i)?R[i](e,i,a):j(e,`unknown document directive "`+i+`"`)}U(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,U(e,!0,-1)):n&&A(e,`directives end mark is expected`),Z(e,e.lineIndent-1,4,!1,!0),U(e,!0,-1),e.checkLineBreaks&&u.test(e.input.slice(t,e.position))&&j(e,`non-ASCII line breaks are interpreted as content`),e.documents.push(e.result),e.position===e.lineStart&&W(e)?e.input.charCodeAt(e.position)===46&&(e.position+=3,U(e,!0,-1)):e.position<e.length-1&&A(e,`end of the stream or a document separator is expected`)}t(se,`readDocument`);function Q(e,t){e=String(e),t||={},e.length!==0&&(e.charCodeAt(e.length-1)!==10&&e.charCodeAt(e.length-1)!==13&&(e+=`
|
|
19
|
+
`),e.charCodeAt(0)===65279&&(e=e.slice(1)));let n=new D(e,t),r=e.indexOf(`\0`);for(r!==-1&&(n.position=r,A(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;)se(n);return n.documents}t(Q,`loadDocuments`);function $(e,t,n){typeof t==`object`&&t&&n===void 0&&(n=t,t=null);let r=Q(e,n);if(typeof t!=`function`)return r;for(let e=0,n=r.length;e<n;e+=1)t(r[e])}t($,`loadAll2`);function ce(e,t){let r=Q(e,t);if(r.length!==0){if(r.length===1)return r[0];throw new n(`expected a single document in the stream, but found more`)}}return t(ce,`load2`),k.loadAll=$,k.load=ce,k}function E(){if(Ce)return Se;Ce=1;let e=i(),n=a(),r=ee(),o=Object.prototype.toString,s=Object.prototype.hasOwnProperty,c=65279,l={};l[0]=`\\0`,l[7]=`\\a`,l[8]=`\\b`,l[9]=`\\t`,l[10]=`\\n`,l[11]=`\\v`,l[12]=`\\f`,l[13]=`\\r`,l[27]=`\\e`,l[34]=`\\"`,l[92]=`\\\\`,l[133]=`\\N`,l[160]=`\\_`,l[8232]=`\\L`,l[8233]=`\\P`;let u=[`y`,`Y`,`yes`,`Yes`,`YES`,`on`,`On`,`ON`,`n`,`N`,`no`,`No`,`NO`,`off`,`Off`,`OFF`],d=/^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;function f(e,t){if(t===null)return{};let n={},r=Object.keys(t);for(let i=0,a=r.length;i<a;i+=1){let a=r[i],o=String(t[a]);a.slice(0,2)===`!!`&&(a=`tag:yaml.org,2002:`+a.slice(2));let c=e.compiledTypeMap.fallback[a];c&&s.call(c.styleAliases,o)&&(o=c.styleAliases[o]),n[a]=o}return n}t(f,`compileStyleMap`);function p(t){let r,i,a=t.toString(16).toUpperCase();if(t<=255)r=`x`,i=2;else if(t<=65535)r=`u`,i=4;else if(t<=4294967295)r=`U`,i=8;else throw new n(`code point within a string may not be greater than 0xFFFFFFFF`);return`\\`+r+e.repeat(`0`,i-a.length)+a}t(p,`encodeHex`);function m(t){this.schema=t.schema||r,this.indent=Math.max(1,t.indent||2),this.noArrayIndent=t.noArrayIndent||!1,this.skipInvalid=t.skipInvalid||!1,this.flowLevel=e.isNothing(t.flowLevel)?-1:t.flowLevel,this.styleMap=f(this.schema,t.styles||null),this.sortKeys=t.sortKeys||!1,this.lineWidth=t.lineWidth||80,this.noRefs=t.noRefs||!1,this.noCompatMode=t.noCompatMode||!1,this.condenseFlow=t.condenseFlow||!1,this.quotingType=t.quotingType===`"`?2:1,this.forceQuotes=t.forceQuotes||!1,this.replacer=typeof t.replacer==`function`?t.replacer:null,this.implicitTypes=this.schema.compiledImplicit,this.explicitTypes=this.schema.compiledExplicit,this.tag=null,this.result=``,this.duplicates=[],this.usedDuplicates=null}t(m,`State`);function h(t,n){let r=e.repeat(` `,n),i=0,a=``,o=t.length;for(;i<o;){let e,n=t.indexOf(`
|
|
20
|
+
`,i);n===-1?(e=t.slice(i),i=o):(e=t.slice(i,n+1),i=n+1),e.length&&e!==`
|
|
21
|
+
`&&(a+=r),a+=e}return a}t(h,`indentString`);function g(t,n){return`
|
|
22
|
+
`+e.repeat(` `,t.indent*n)}t(g,`generateNextLine`);function _(e,t){for(let n=0,r=e.implicitTypes.length;n<r;n+=1)if(e.implicitTypes[n].resolve(t))return!0;return!1}t(_,`testImplicitResolving`);function v(e){return e===32||e===9}t(v,`isWhitespace`);function y(e){return e>=32&&e<=126||e>=161&&e<=55295&&e!==8232&&e!==8233||e>=57344&&e<=65533&&e!==c||e>=65536&&e<=1114111}t(y,`isPrintable`);function b(e){return y(e)&&e!==c&&e!==13&&e!==10}t(b,`isNsCharOrWhitespace`);function x(e,t,n){let r=b(e),i=r&&!v(e);return(n?r:r&&e!==44&&e!==91&&e!==93&&e!==123&&e!==125)&&e!==35&&!(t===58&&!i)||b(t)&&!v(t)&&e===35||t===58&&i}t(x,`isPlainSafe`);function S(e){return y(e)&&e!==c&&!v(e)&&e!==45&&e!==63&&e!==58&&e!==44&&e!==91&&e!==93&&e!==123&&e!==125&&e!==35&&e!==38&&e!==42&&e!==33&&e!==124&&e!==61&&e!==62&&e!==39&&e!==34&&e!==37&&e!==64&&e!==96}t(S,`isPlainSafeFirst`);function C(e){return!v(e)&&e!==58}t(C,`isPlainSafeLast`);function w(e,t){let 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}t(w,`codePointAt`);function T(e){return/^\n* /.test(e)}t(T,`needIndentIndicator`);function E(e,t,n,r,i,a,o,s){let c,l=0,u=null,d=!1,f=!1,p=r!==-1,m=-1,h=S(w(e,0))&&C(w(e,e.length-1));if(t||o)for(c=0;c<e.length;l>=65536?c+=2:c++){if(l=w(e,c),!y(l))return 5;h&&=x(l,u,s),u=l}else{for(c=0;c<e.length;l>=65536?c+=2:c++){if(l=w(e,c),l===10)d=!0,p&&(f||=c-m-1>r&&e[m+1]!==` `,m=c);else if(!y(l))return 5;h&&=x(l,u,s),u=l}f||=p&&c-m-1>r&&e[m+1]!==` `}return!d&&!f?h&&!o&&!i(e)?1:a===2?5:2:n>9&&T(e)?5:o?a===2?5:2:f?4:3}t(E,`chooseScalarStyle`);function D(e,r,i,a,o){e.dump=(function(){if(r.length===0)return e.quotingType===2?`""`:`''`;if(!e.noCompatMode&&(u.indexOf(r)!==-1||d.test(r)))return e.quotingType===2?`"`+r+`"`:`'`+r+`'`;let s=e.indent*Math.max(1,i),c=e.lineWidth===-1?-1:Math.max(Math.min(e.lineWidth,40),e.lineWidth-s),l=a||e.flowLevel>-1&&i>=e.flowLevel;function f(t){return _(e,t)}switch(t(f,`testAmbiguity`),E(r,l,e.indent,c,f,e.quotingType,e.forceQuotes&&!a,o)){case 1:return r;case 2:return`'`+r.replace(/'/g,`''`)+`'`;case 3:return`|`+O(r,e.indent)+k(h(r,s));case 4:return`>`+O(r,e.indent)+k(h(A(r,c),s));case 5:return`"`+M(r)+`"`;default:throw new n(`impossible error: invalid scalar style`)}})()}t(D,`writeScalar`);function O(e,t){let n=T(e)?String(t):``,r=e[e.length-1]===`
|
|
23
|
+
`;return n+(r&&(e[e.length-2]===`
|
|
24
|
+
`||e===`
|
|
25
|
+
`)?`+`:r?``:`-`)+`
|
|
26
|
+
`}t(O,`blockHeader`);function k(e){return e[e.length-1]===`
|
|
27
|
+
`?e.slice(0,-1):e}t(k,`dropEndingNewline`);function A(e,t){let n=/(\n+)([^\n]*)/g,r=(function(){let r=e.indexOf(`
|
|
28
|
+
`);return r=r===-1?e.length:r,n.lastIndex=r,j(e.slice(0,r),t)})(),i=e[0]===`
|
|
29
|
+
`||e[0]===` `,a,o;for(;o=n.exec(e);){let e=o[1],n=o[2];a=n[0]===` `,r+=e+(!i&&!a&&n!==``?`
|
|
30
|
+
`:``)+j(n,t),i=a}return r}t(A,`foldString`);function j(e,t){if(e===``||e[0]===` `)return e;let n=/ [^ ]/g,r,i=0,a,o=0,s=0,c=``;for(;r=n.exec(e);)s=r.index,s-i>t&&(a=o>i?o:s,c+=`
|
|
31
|
+
`+e.slice(i,a),i=a+1),o=s;return c+=`
|
|
32
|
+
`,e.length-i>t&&o>i?c+=e.slice(i,o)+`
|
|
33
|
+
`+e.slice(o+1):c+=e.slice(i),c.slice(1)}t(j,`foldLine`);function M(e){let t=``,n=0;for(let r=0;r<e.length;n>=65536?r+=2:r++){n=w(e,r);let i=l[n];!i&&y(n)?(t+=e[r],n>=65536&&(t+=e[r+1])):t+=i||p(n)}return t}t(M,`escapeString`);function N(e,t,n){let r=``,i=e.tag;for(let i=0,a=n.length;i<a;i+=1){let a=n[i];e.replacer&&(a=e.replacer.call(n,String(i),a)),(R(e,t,a,!1,!1)||a===void 0&&R(e,t,null,!1,!1))&&(r!==``&&(r+=`,`+(e.condenseFlow?``:` `)),r+=e.dump)}e.tag=i,e.dump=`[`+r+`]`}t(N,`writeFlowSequence`);function P(e,t,n,r){let i=``,a=e.tag;for(let a=0,o=n.length;a<o;a+=1){let o=n[a];e.replacer&&(o=e.replacer.call(n,String(a),o)),(R(e,t+1,o,!0,!0,!1,!0)||o===void 0&&R(e,t+1,null,!0,!0,!1,!0))&&((!r||i!==``)&&(i+=g(e,t)),e.dump&&e.dump.charCodeAt(0)===10?i+=`-`:i+=`- `,i+=e.dump)}e.tag=a,e.dump=i||`[]`}t(P,`writeBlockSequence`);function F(e,t,n){let r=``,i=e.tag,a=Object.keys(n);for(let i=0,o=a.length;i<o;i+=1){let o=``;r!==``&&(o+=`, `),e.condenseFlow&&(o+=`"`);let s=a[i],c=n[s];e.replacer&&(c=e.replacer.call(n,s,c)),R(e,t,s,!1,!1)&&(e.dump.length>1024&&(o+=`? `),o+=e.dump+(e.condenseFlow?`"`:``)+`:`+(e.condenseFlow?``:` `),R(e,t,c,!1,!1)&&(o+=e.dump,r+=o))}e.tag=i,e.dump=`{`+r+`}`}t(F,`writeFlowMapping`);function I(e,t,r,i){let a=``,o=e.tag,s=Object.keys(r);if(e.sortKeys===!0)s.sort();else if(typeof e.sortKeys==`function`)s.sort(e.sortKeys);else if(e.sortKeys)throw new n(`sortKeys must be a boolean or a function`);for(let n=0,o=s.length;n<o;n+=1){let o=``;(!i||a!==``)&&(o+=g(e,t));let c=s[n],l=r[c];if(e.replacer&&(l=e.replacer.call(r,c,l)),!R(e,t+1,c,!0,!0,!0))continue;let u=e.tag!==null&&e.tag!==`?`||e.dump&&e.dump.length>1024;u&&(e.dump&&e.dump.charCodeAt(0)===10?o+=`?`:o+=`? `),o+=e.dump,u&&(o+=g(e,t)),R(e,t+1,l,!0,u)&&(e.dump&&e.dump.charCodeAt(0)===10?o+=`:`:o+=`: `,o+=e.dump,a+=o)}e.tag=o,e.dump=a||`{}`}t(I,`writeBlockMapping`);function L(e,t,r){let i=r?e.explicitTypes:e.implicitTypes;for(let a=0,c=i.length;a<c;a+=1){let c=i[a];if((c.instanceOf||c.predicate)&&(!c.instanceOf||typeof t==`object`&&t instanceof c.instanceOf)&&(!c.predicate||c.predicate(t))){if(e.tag=r?c.multi&&c.representName?c.representName(t):c.tag:`?`,c.represent){let r=e.styleMap[c.tag]||c.defaultStyle,i;if(o.call(c.represent)===`[object Function]`)i=c.represent(t,r);else if(s.call(c.represent,r))i=c.represent[r](t,r);else throw new n(`!<`+c.tag+`> tag resolver accepts not "`+r+`" style`);e.dump=i}return!0}}return!1}t(L,`detectType`);function R(e,t,r,i,a,s,c){e.tag=null,e.dump=r,L(e,r,!1)||L(e,r,!0);let l=o.call(e.dump),u=i;i&&=e.flowLevel<0||e.flowLevel>t;let d=l===`[object Object]`||l===`[object Array]`,f,p;if(d&&(f=e.duplicates.indexOf(r),p=f!==-1),(e.tag!==null&&e.tag!==`?`||p||e.indent!==2&&t>0)&&(a=!1),p&&e.usedDuplicates[f])e.dump=`*ref_`+f;else{if(d&&p&&!e.usedDuplicates[f]&&(e.usedDuplicates[f]=!0),l===`[object Object]`)i&&Object.keys(e.dump).length!==0?(I(e,t,e.dump,a),p&&(e.dump=`&ref_`+f+e.dump)):(F(e,t,e.dump),p&&(e.dump=`&ref_`+f+` `+e.dump));else if(l===`[object Array]`)i&&e.dump.length!==0?(e.noArrayIndent&&!c&&t>0?P(e,t-1,e.dump,a):P(e,t,e.dump,a),p&&(e.dump=`&ref_`+f+e.dump)):(N(e,t,e.dump),p&&(e.dump=`&ref_`+f+` `+e.dump));else if(l===`[object String]`)e.tag!==`?`&&D(e,e.dump,t,s,u);else if(l===`[object Undefined]`)return!1;else{if(e.skipInvalid)return!1;throw new n(`unacceptable kind of an object to dump `+l)}if(e.tag!==null&&e.tag!==`?`){let t=encodeURI(e.tag[0]===`!`?e.tag.slice(1):e.tag).replace(/!/g,`%21`);t=e.tag[0]===`!`?`!`+t:t.slice(0,18)===`tag:yaml.org,2002:`?`!!`+t.slice(18):`!<`+t+`>`,e.dump=t+` `+e.dump}}return!0}t(R,`writeNode`);function z(e,t){let n=[],r=[];B(e,n,r);let i=r.length;for(let e=0;e<i;e+=1)t.duplicates.push(n[r[e]]);t.usedDuplicates=Array(i)}t(z,`getDuplicateReferences`);function B(e,t,n){if(typeof e==`object`&&e){let r=t.indexOf(e);if(r!==-1)n.indexOf(r)===-1&&n.push(r);else if(t.push(e),Array.isArray(e))for(let r=0,i=e.length;r<i;r+=1)B(e[r],t,n);else{let r=Object.keys(e);for(let i=0,a=r.length;i<a;i+=1)B(e[r[i]],t,n)}}}t(B,`inspectNode`);function V(e,t){t||={};let n=new m(t);n.noRefs||z(e,n);let r=e;return n.replacer&&(r=n.replacer.call({"":r},``,r)),R(n,0,r,!0,!0)?n.dump+`
|
|
34
|
+
`:``}return t(V,`dump2`),Se.dump=V,Se}function D(){if(we)return O;we=1;let e=T(),n=E();function r(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.`)}}return t(r,`renamed`),O.Type=s(),O.Schema=c(),O.FAILSAFE_SCHEMA=f(),O.JSON_SCHEMA=_(),O.CORE_SCHEMA=v(),O.DEFAULT_SCHEMA=ee(),O.load=e.load,O.loadAll=e.loadAll,O.dump=n.dump,O.YAMLException=a(),O.types={binary:x(),float:g(),map:d(),null:p(),pairs:C(),set:w(),timestamp:y(),bool:m(),int:h(),merge:b(),omap:S(),seq:u(),str:l()},O.safeLoad=r(`safeLoad`,`load`),O.safeLoadAll=r(`safeLoadAll`,`loadAll`),O.safeDump=r(`safeDump`,`dump`),O}var O,k,A,j,M,N,P,F,I,L,R,z,B,V,H,U,W,G,te,ne,K,re,q,J,Y,ie,X,ae,oe,Z,se,Q,$,ce,le,ue,de,fe,pe,me,he,ge,_e,ve,ye,be,xe,Se,Ce,we,Te,Ee,De,Oe,ke,Ae,je,Me,Ne,Pe,Fe,Ie,Le,Re;function ze(){return(ze=e((()=>{n(),t(r,`getDefaultExportFromCjs`),O={},k={},A={},t(i,`requireCommon`),t(a,`requireException`),t(o,`requireSnippet`),t(s,`requireType`),t(c,`requireSchema`),t(l,`requireStr`),t(u,`requireSeq`),t(d,`requireMap`),t(f,`requireFailsafe`),t(p,`require_null`),t(m,`requireBool`),t(h,`requireInt`),t(g,`requireFloat`),t(_,`requireJson`),t(v,`requireCore`),t(y,`requireTimestamp`),t(b,`requireMerge`),t(x,`requireBinary`),t(S,`requireOmap`),t(C,`requirePairs`),t(w,`requireSet`),t(ee,`require_default`),t(T,`requireLoader`),Se={},t(E,`requireDumper`),t(D,`requireJsYaml`),{Type:Te,Schema:Ee,FAILSAFE_SCHEMA:De,JSON_SCHEMA:Oe,CORE_SCHEMA:ke,DEFAULT_SCHEMA:Ae,load:je,loadAll:Me,dump:Ne,YAMLException:Pe,types:Fe,safeLoad:Ie,safeLoadAll:Le,safeDump:Re}=/* @__PURE__ */ r(D())})))()}export{ze as n,je as r,Oe as t};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import{n as e}from"./rolldown-runtime-BKuNeK48.js";import{n as t,r as n}from"./chunk-Y2CYZVJY-DjEHBC-3.js";import{C as r,S as i,t as a,w as o}from"./src-C1iDJpBK.js";import{T as s,b as c,j as l,x as u}from"./chunk-DU6HZSFF-Bx48E1rg.js";import{Ct as d,Dt as f,_ as p,at as m,ct as h,d as g,ft as _,gt as v,nt as ee,rt as te,st as y,tt as b,u as ne,wt as re,xt as x}from"./chunk-75Z2AOVW-IO9R6faP.js";import{n as ie}from"./line-qVHaOdPp.js";import{i as ae,n as S,r as C}from"./chunk-GMAD6QVW-D41KnniX.js";import{a as w,n as T,r as oe}from"./chunk-P2QGCYS3-C9bc1yiM.js";import{n as E,t as se}from"./rough.esm-CVrpq1dW.js";import{r as D,t as O}from"./chunk-4HAMMTFA-Aw59LwS3.js";import{n as k,r as A}from"./chunk-GVQU2GXP-CVzgM_ui.js";function j(e,t){if(e===void 0||t===void 0)return{angle:0,deltaX:0,deltaY:0};e=B(e),t=B(t);let[n,r]=[e.x,e.y],[i,a]=[t.x,t.y],o=i-n,s=a-r;return{angle:Math.atan(s/o),deltaX:o,deltaY:s}}function M(e,t){s(u())&&e&&(e.style.width=t.length*9+`px`,e.style.height=`12px`)}function N(e){let t=[],n=[];for(let r=1;r<e.length-1;r++){let i=e[r-1],a=e[r],o=e[r+1];(i.x===a.x&&a.y===o.y&&Math.abs(a.x-o.x)>5&&Math.abs(a.y-i.y)>5||i.y===a.y&&a.x===o.x&&Math.abs(a.x-i.x)>5&&Math.abs(a.y-o.y)>5)&&(t.push(a),n.push(r))}return{cornerPoints:t,cornerPointPositions:n}}function P(e,t){if(e.length<2)return``;let n=``,r=e.length,i=1e-5;for(let a=0;a<r;a++){let o=e[a],s=e[a-1],c=e[a+1];if(a===0)n+=`M${o.x},${o.y}`;else if(a===r-1)n+=`L${o.x},${o.y}`;else{let e=o.x-s.x,r=o.y-s.y,a=c.x-o.x,l=c.y-o.y,u=Math.hypot(e,r),d=Math.hypot(a,l);if(u<i||d<i){n+=`L${o.x},${o.y}`;continue}let f=e/u,p=r/u,m=a/d,h=l/d,g=f*m+p*h,_=Math.acos(Math.max(-1,Math.min(1,g)));if(_<i||Math.abs(Math.PI-_)<i){n+=`L${o.x},${o.y}`;continue}let v=Math.min(t/Math.sin(_/2),u/2,d/2),ee=o.x-f*v,te=o.y-p*v,y=o.x+m*v,b=o.y+h*v;n+=`L${ee},${te}`,n+=`Q${o.x},${o.y} ${y},${b}`}}return n}function F(e,t){if(!e||!t)return{angle:0,deltaX:0,deltaY:0};let n=t.x-e.x,r=t.y-e.y;return{angle:Math.atan2(r,n),deltaX:n,deltaY:r}}function I(e,t){let n=e.map(e=>({...e}));if(e.length>=2&&R[t.arrowTypeStart]){let r=R[t.arrowTypeStart],i=e[0],a=e[1],{angle:o}=F(i,a),s=r*Math.cos(o),c=r*Math.sin(o);n[0].x=i.x+s,n[0].y=i.y+c}let r=e.length;if(r>=2&&R[t.arrowTypeEnd]){let i=R[t.arrowTypeEnd],a=e[r-1],o=e[r-2],{angle:s}=F(o,a),c=i*Math.cos(s),l=i*Math.sin(s);n[r-1].x=a.x-c,n[r-1].y=a.y-l}return n}var L,R,z,B,V,H,U,W,G,K,q,J,Y,X,Z,ce,le,ue,de,fe,Q,$,pe,me,he,ge,_e,ve;function ye(){return(ye=e((()=>{A(),D(),T(),ae(),g(),l(),r(),n(),a(),E(),L=/* @__PURE__ */ t((e,t)=>{if(t)return`translate(`+-e.width/2+`, `+-e.height/2+`)`;let n=e.x??0,r=e.y??0;return`translate(`+-(n+e.width/2)+`, `+-(r+e.height/2)+`)`},`computeLabelTransform`),R={aggregation:17.25,extension:17.25,composition:17.25,dependency:6,lollipop:13.5,arrow_point:4,arrow_barb:0,arrow_barb_neo:5.5},z={arrow_point:4,arrow_cross:12.5,arrow_circle:12.5},t(j,`calculateDeltaAndAngle`),B=/* @__PURE__ */ t(e=>Array.isArray(e)?{x:e[0],y:e[1]}:e,`pointTransformer`),V=/* @__PURE__ */ t(e=>({x:/* @__PURE__ */ t(function(t,n,r){let i=0,a=B(r[0]).x<B(r[r.length-1]).x?`left`:`right`;if(n===0&&Object.hasOwn(R,e.arrowTypeStart)){let{angle:t,deltaX:n}=j(r[0],r[1]);i=R[e.arrowTypeStart]*Math.cos(t)*(n>=0?1:-1)}else if(n===r.length-1&&Object.hasOwn(R,e.arrowTypeEnd)){let{angle:t,deltaX:n}=j(r[r.length-1],r[r.length-2]);i=R[e.arrowTypeEnd]*Math.cos(t)*(n>=0?1:-1)}let o=Math.abs(B(t).x-B(r[r.length-1]).x),s=Math.abs(B(t).y-B(r[r.length-1]).y),c=Math.abs(B(t).x-B(r[0]).x),l=Math.abs(B(t).y-B(r[0]).y),u=R[e.arrowTypeStart],d=R[e.arrowTypeEnd];if(o<d&&o>0&&s<d){let e=d+1-o;e*=a===`right`?-1:1,i-=e}if(c<u&&c>0&&l<u){let e=u+1-c;e*=a===`right`?-1:1,i+=e}return B(t).x+i},`x`),y:/* @__PURE__ */ t(function(t,n,r){let i=0,a=B(r[0]).y<B(r[r.length-1]).y?`down`:`up`;if(n===0&&Object.hasOwn(R,e.arrowTypeStart)){let{angle:t,deltaY:n}=j(r[0],r[1]);i=R[e.arrowTypeStart]*Math.abs(Math.sin(t))*(n>=0?1:-1)}else if(n===r.length-1&&Object.hasOwn(R,e.arrowTypeEnd)){let{angle:t,deltaY:n}=j(r[r.length-1],r[r.length-2]);i=R[e.arrowTypeEnd]*Math.abs(Math.sin(t))*(n>=0?1:-1)}let o=Math.abs(B(t).y-B(r[r.length-1]).y),s=Math.abs(B(t).x-B(r[r.length-1]).x),c=Math.abs(B(t).y-B(r[0]).y),l=Math.abs(B(t).x-B(r[0]).x),u=R[e.arrowTypeStart],d=R[e.arrowTypeEnd];if(o<d&&o>0&&s<d){let e=d+1-o;e*=a===`up`?-1:1,i-=e}if(c<u&&c>0&&l<u){let e=u+1-c;e*=a===`up`?-1:1,i+=e}return B(t).y+i},`y`)}),`getLineFunctionsWithOffset`),H=/* @__PURE__ */ t((e,t,n,r,i,a=!1,o)=>{t.arrowTypeStart&&G(e,`start`,t.arrowTypeStart,n,r,i,a,o),t.arrowTypeEnd&&G(e,`end`,t.arrowTypeEnd,n,r,i,a,o)},`addEdgeMarkers`),U={arrow_cross:{type:`cross`,fill:!1},arrow_point:{type:`point`,fill:!0},arrow_barb:{type:`barb`,fill:!0},arrow_barb_neo:{type:`barb`,fill:!0},arrow_circle:{type:`circle`,fill:!1},aggregation:{type:`aggregation`,fill:!1},extension:{type:`extension`,fill:!1},composition:{type:`composition`,fill:!0},dependency:{type:`dependency`,fill:!0},lollipop:{type:`lollipop`,fill:!1},only_one:{type:`onlyOne`,fill:!1},zero_or_one:{type:`zeroOrOne`,fill:!1},one_or_more:{type:`oneOrMore`,fill:!1},zero_or_more:{type:`zeroOrMore`,fill:!1},requirement_arrow:{type:`requirement_arrow`,fill:!1},requirement_contains:{type:`requirement_contains`,fill:!1}},W=[`cross`,`point`,`circle`,`lollipop`,`aggregation`,`extension`,`composition`,`dependency`,`barb`],G=/* @__PURE__ */ t((e,t,n,r,i,a,s=!1,c)=>{if(!n||n===`none`)return;let l=U[n],u=l&&W.includes(l.type);if(!l){o.warn(`Unknown arrow type: ${n}`);return}let d=`${i}_${a}-${l.type}${t===`start`?`Start`:`End`}${s&&u?`-margin`:``}`;if(c&&c.trim()!==``){let n=`${d}_${c.replace(/[^\dA-Za-z]/g,`_`)}`;if(!document.getElementById(n)){let e=document.getElementById(d);if(e){let t=e.cloneNode(!0);t.id=n,t.querySelectorAll(`path, circle, line`).forEach(e=>{e.setAttribute(`stroke`,c),l.fill&&e.setAttribute(`fill`,c)}),e.parentNode?.appendChild(t)}}e.attr(`marker-${t}`,`url(${r}#${n})`)}else e.attr(`marker-${t}`,`url(${r}#${d})`)},`addEdgeMarker`),K=/* @__PURE__ */ t(e=>typeof e==`string`?e:u()?.flowchart?.curve,`resolveEdgeCurveType`),q=/* @__PURE__ */ new Map,J=/* @__PURE__ */ new Map,Y=/* @__PURE__ */ t(()=>{q.clear(),J.clear()},`clear`),X=/* @__PURE__ */ t(e=>!!(e.label||e.startLabelLeft||e.startLabelRight||e.endLabelLeft||e.endLabelRight),`hasEdgeLabel`),Z=/* @__PURE__ */ t(e=>e?typeof e==`string`?e:e.reduce((e,t)=>e+`;`+t,``):``,`getLabelStyles`),ce=/* @__PURE__ */ t(async(e,t)=>{let n=u(),r=s(n),{labelStyles:a}=w(t);t.labelStyle=a;let c=e.insert(`g`).attr(`class`,`edgeLabel`),l=c.insert(`g`).attr(`class`,`label`).attr(`data-id`,t.id),d=t.labelType===`markdown`,f=await S(e,t.label,{style:Z(t.labelStyle),useHtmlLabels:r,addSvgBackground:!0,isNode:!1,markdown:d,width:void 0},n);l.node().appendChild(f),o.info(`abc82`,t,t.labelType);let p,m;if(r){let e=f.children[0],t=i(f);p=await C.measure(()=>e.getBoundingClientRect()),m=p,t.attr(`width`,p.width),t.attr(`height`,p.height)}else{let e=i(f).select(`text`).node();await C.measure(()=>{p=f.getBBox(),m=e&&typeof e.getBBox==`function`?e.getBBox():p})}l.attr(`transform`,L(m,r)),q.set(t.id,c),t.width=p.width,t.height=p.height;let h;if(t.startLabelLeft){let n=e.insert(`g`).attr(`class`,`edgeTerminals`),a=n.insert(`g`).attr(`class`,`inner`),o=await O(a,t.startLabelLeft,Z(t.labelStyle)||``,!1,!1);h=o;let s=o.getBBox();if(r){let e=o.children[0],t=i(o);s=e.getBoundingClientRect(),t.attr(`width`,s.width),t.attr(`height`,s.height)}a.attr(`transform`,L(s,r)),J.get(t.id)||J.set(t.id,{}),J.get(t.id).startLeft=n,M(h,t.startLabelLeft)}if(t.startLabelRight){let n=e.insert(`g`).attr(`class`,`edgeTerminals`),a=n.insert(`g`).attr(`class`,`inner`),o=await O(a,t.startLabelRight,Z(t.labelStyle)||``,!1,!1);h=o;let s=o.getBBox();if(r){let e=o.children[0],t=i(o);s=e.getBoundingClientRect(),t.attr(`width`,s.width),t.attr(`height`,s.height)}a.attr(`transform`,L(s,r)),J.get(t.id)||J.set(t.id,{}),J.get(t.id).startRight=n,M(h,t.startLabelRight)}if(t.endLabelLeft){let n=e.insert(`g`).attr(`class`,`edgeTerminals`),a=n.insert(`g`).attr(`class`,`inner`),o=await O(n,t.endLabelLeft,Z(t.labelStyle)||``,!1,!1);h=o;let s=o.getBBox();if(r){let e=o.children[0],t=i(o);s=e.getBoundingClientRect(),t.attr(`width`,s.width),t.attr(`height`,s.height)}a.attr(`transform`,L(s,r)),J.get(t.id)||J.set(t.id,{}),J.get(t.id).endLeft=n,M(h,t.endLabelLeft)}if(t.endLabelRight){let n=e.insert(`g`).attr(`class`,`edgeTerminals`),a=n.insert(`g`).attr(`class`,`inner`),o=await O(n,t.endLabelRight,Z(t.labelStyle)||``,!1,!1);h=o;let s=o.getBBox();if(r){let e=o.children[0],t=i(o);s=e.getBoundingClientRect(),t.attr(`width`,s.width),t.attr(`height`,s.height)}a.attr(`transform`,L(s,r)),J.get(t.id)||J.set(t.id,{}),J.get(t.id).endRight=n,M(h,t.endLabelRight)}return f},`insertEdgeLabel`),t(M,`setTerminalWidth`),le=/* @__PURE__ */ t((e,t)=>{o.debug(`Moving label abc88 `,e.id,e.label,q.get(e.id),t);let n=t.updatedPath?t.updatedPath:t.originalPath,r=u(),{subGraphTitleTotalMargin:i}=k(r);if(e.label){let r=q.get(e.id),a=e.x,s=e.y;if(n){let r=p.calcLabelPosition(n);o.debug(`Moving label `+e.label+` from (`,a,`,`,s,`) to (`,r.x,`,`,r.y,`) abc88`),t.updatedPath&&(a=r.x,s=r.y)}r.attr(`transform`,`translate(${a}, ${s+i/2})`)}if(e.startLabelLeft){let t=J.get(e.id).startLeft,r=e.x,i=e.y;if(n){let t=p.calcTerminalLabelPosition(e.arrowTypeStart?10:0,`start_left`,n);r=t.x,i=t.y}t.attr(`transform`,`translate(${r}, ${i})`)}if(e.startLabelRight){let t=J.get(e.id).startRight,r=e.x,i=e.y;if(n){let t=p.calcTerminalLabelPosition(e.arrowTypeStart?10:0,`start_right`,n);r=t.x,i=t.y}t.attr(`transform`,`translate(${r}, ${i})`)}if(e.endLabelLeft){let t=J.get(e.id).endLeft,r=e.x,i=e.y;if(n){let t=p.calcTerminalLabelPosition(e.arrowTypeEnd?10:0,`end_left`,n);r=t.x,i=t.y}t.attr(`transform`,`translate(${r}, ${i})`)}if(e.endLabelRight){let t=J.get(e.id).endRight,r=e.x,i=e.y;if(n){let t=p.calcTerminalLabelPosition(e.arrowTypeEnd?10:0,`end_right`,n);r=t.x,i=t.y}t.attr(`transform`,`translate(${r}, ${i})`)}},`positionEdgeLabel`),ue=/* @__PURE__ */ t((e,t)=>{if(!e?.isLabelEdge||!e?.id?.endsWith(`-to-label`)||!Array.isArray(t)||t.length!==2)return t;let[n,r]=t,i=Math.abs(r.x-n.x),a=Math.abs(r.y-n.y);return i<.001||a<.001?t:a>=i?[n,{x:n.x,y:r.y},r]:[n,{x:r.x,y:n.y},r]},`orthogonalizeToLabelClippedPoints`),de=/* @__PURE__ */ t((e,t)=>{let n=e.x,r=e.y,i=Math.abs(t.x-n),a=Math.abs(t.y-r),o=e.width/2,s=e.height/2;return i>=o||a>=s},`outsideNode`),fe=/* @__PURE__ */ t((e,t,n)=>{o.debug(`intersection calc abc89:
|
|
2
|
+
outsidePoint: ${JSON.stringify(t)}
|
|
3
|
+
insidePoint : ${JSON.stringify(n)}
|
|
4
|
+
node : x:${e.x} y:${e.y} w:${e.width} h:${e.height}`);let r=e.x,i=e.y,a=Math.abs(r-n.x),s=e.width/2,c=n.x<t.x?s-a:s+a,l=e.height/2,u=Math.abs(t.y-n.y),d=Math.abs(t.x-n.x);if(Math.abs(i-t.y)*s>Math.abs(r-t.x)*l){let e=n.y<t.y?t.y-l-i:i-l-t.y;c=d*e/u;let r={x:n.x<t.x?n.x+c:n.x-d+c,y:n.y<t.y?n.y+u-e:n.y-u+e};return c===0&&(r.x=t.x,r.y=t.y),d===0&&(r.x=t.x),u===0&&(r.y=t.y),o.debug(`abc89 top/bottom calc, Q ${u}, q ${e}, R ${d}, r ${c}`,r),r}{c=n.x<t.x?t.x-s-r:r-s-t.x;let e=u*c/d,i=n.x<t.x?n.x+d-c:n.x-d+c,a=n.y<t.y?n.y+e:n.y-e;return o.debug(`sides calc abc89, Q ${u}, q ${e}, R ${d}, r ${c}`,{_x:i,_y:a}),c===0&&(i=t.x,a=t.y),d===0&&(i=t.x),u===0&&(a=t.y),{x:i,y:a}}},`intersection`),Q=/* @__PURE__ */ t((e,t)=>{o.warn(`abc88 cutPathAtIntersect`,e,t);let n=[],r=e[0],i=!1;return e.forEach(e=>{if(o.info(`abc88 checking point`,e,t),!de(t,e)&&!i){let a=fe(t,r,e);o.debug(`abc88 inside`,e,r,a),o.debug(`abc88 intersection`,a,t);let s=!1;n.forEach(e=>{s||=e.x===a.x&&e.y===a.y}),n.some(e=>e.x===a.x&&e.y===a.y)?o.warn(`abc88 no intersect`,a,n):n.push(a),i=!0}else o.warn(`abc88 outside`,e,r),r=e,i||n.push(e)}),o.debug(`returning points`,n),n},`cutPathAtIntersect`),t(N,`extractCornerPoints`),$=/* @__PURE__ */ t(function(e,t,n){let r=t.x-e.x,i=t.y-e.y,a=n/Math.sqrt(r*r+i*i);return{x:t.x-a*r,y:t.y-a*i}},`findAdjacentPoint`),pe=/* @__PURE__ */ t(function(e){let{cornerPointPositions:t}=N(e),n=[];for(let r=0;r<e.length;r++)if(t.includes(r)){let t=e[r-1],i=e[r+1],a=e[r],s=$(t,a,5),c=$(i,a,5),l=c.x-s.x,u=c.y-s.y;n.push(s);let d=Math.sqrt(2)*2,f={x:a.x,y:a.y};Math.abs(i.x-t.x)>10&&Math.abs(i.y-t.y)>=10?(o.debug(`Corner point fixing`,Math.abs(i.x-t.x),Math.abs(i.y-t.y)),f=a.x===s.x?{x:l<0?s.x-5+d:s.x+5-d,y:u<0?s.y-d:s.y+d}:{x:l<0?s.x-d:s.x+d,y:u<0?s.y-5+d:s.y+5-d}):o.debug(`Corner point skipping fixing`,Math.abs(i.x-t.x),Math.abs(i.y-t.y)),n.push(f,c)}else n.push(e[r]);return n},`fixCorners`),me=/* @__PURE__ */ t((e,t,n)=>{let r=e-t-n,i=Math.floor(r/4);return`0 ${t} ${Array(Number.isFinite(i)?Math.max(0,i):0).fill(`2 2`).join(` `)} ${n}`},`generateDashArray`),he=/* @__PURE__ */ t(function(e,t,n,r,a,s,c,l=!1){if(!c)throw Error(`insertEdge: missing diagramId for edge "${t.id}" \u2014 edge IDs require a diagram prefix for uniqueness`);let{handDrawnSeed:g,layout:ae}=u(),S=t.points,C=!1,w=a;var T=s;let E=[];for(let e in t.cssCompiledStyles)oe(e)||E.push(t.cssCompiledStyles[e]);if(ae===`swimlane`){if(T.intersect&&w.intersect&&Array.isArray(S)&&S.length>=2){if(S.length===2)S=[w.intersect(S[0]),T.intersect(S[1])];else{let e=S.slice(1,-1),t=e[0],n=e[e.length-1],r=.5,i=Math.abs(S[S.length-1].x-n.x)<r&&Math.abs(S[S.length-1].y-n.y)<r,a=w.intersect(t),o=i?n:T.intersect(n),s=Math.abs(o.x-n.x)<r&&Math.abs(o.y-n.y)<r,c=Math.abs(a.x-t.x)<r&&Math.abs(a.y-t.y)<r?[]:[a],l=s?[]:[o];S=[...c,...e,...l]}}S=ue(t,S)}else T.intersect&&w.intersect&&!l&&(S=S.slice(1,t.points.length-1),S.unshift(w.intersect(S[0])),S.push(T.intersect(S[S.length-1])));let D=btoa(JSON.stringify(S));t.toCluster&&(o.info(`to cluster abc88`,n.get(t.toCluster)),S=Q(t.points,n.get(t.toCluster).node),C=!0),t.fromCluster&&(o.debug(`from cluster abc88`,n.get(t.fromCluster),JSON.stringify(S,null,2)),S=Q(S.reverse(),n.get(t.fromCluster).node).reverse(),C=!0);let O=S.filter(e=>!Number.isNaN(e.y)),k=K(t.curve);k!==`rounded`&&(O=pe(O));let A=f;switch(k){case`linear`:A=f;break;case`basis`:A=x;break;case`cardinal`:A=v;break;case`bumpX`:A=d;break;case`bumpY`:A=re;break;case`catmullRom`:A=_;break;case`monotoneX`:A=y;break;case`monotoneY`:A=h;break;case`natural`:A=m;break;case`step`:A=te;break;case`stepAfter`:A=b;break;case`stepBefore`:A=ee;break;case`rounded`:A=f;break;default:A=x}let{x:j,y:M}=V(t),N=ie().x(j).y(M).curve(A),F;switch(t.thickness){case`normal`:F=`edge-thickness-normal`;break;case`thick`:F=`edge-thickness-thick`;break;case`invisible`:F=`edge-thickness-invisible`;break;default:F=`edge-thickness-normal`}switch(t.pattern){case`solid`:F+=` edge-pattern-solid`;break;case`dotted`:F+=` edge-pattern-dotted`;break;case`dashed`:F+=` edge-pattern-dashed`;break;default:F+=` edge-pattern-solid`}let L,R=k===`rounded`?P(I(O,t),5):N(O),B=Array.isArray(t.style)?t.style:[t.style],U=B.find(e=>e?.startsWith(`stroke:`)),W=``;t.animate&&(W=`edge-animation-fast`),t.animation&&(W=`edge-animation-`+t.animation);let G=!1;if(t.look===`handDrawn`){let n=se.svg(e);Object.assign([],O);let r=n.path(R,{roughness:.3,seed:g});F+=` transition`,L=i(r).select(`path`).attr(`id`,`${c}-${t.id}`).attr(`class`,` `+F+(t.classes?` `+t.classes:``)+(W?` `+W:``)).attr(`style`,B?B.reduce((e,t)=>e+`;`+t,``):``);let a=L.attr(`d`);L.attr(`d`,a),e.node().appendChild(L.node())}else{let n=E.join(`;`),r=B?B.reduce((e,t)=>e+t+`;`,``):``,i=(n?n+`;`+r+`;`:r)+`;`+(B?B.reduce((e,t)=>e+`;`+t,``):``);L=e.append(`path`).attr(`d`,R).attr(`id`,`${c}-${t.id}`).attr(`class`,` `+F+(t.classes?` `+t.classes:``)+(W?` `+W:``)).attr(`style`,i),U=i.match(/stroke:([^;]+)/)?.[1],G=t.animate===!0||!!t.animation||n.includes(`animation`);let a=L.node(),o=typeof a.getTotalLength==`function`?a.getTotalLength():0,s=z[t.arrowTypeStart]||0,l=z[t.arrowTypeEnd]||0;if(t.look===`neo`&&!G){let e=`stroke-dasharray: ${t.pattern===`dotted`||t.pattern===`dashed`?me(o,s,l):`0 ${s} ${o-s-l} ${l}`}; stroke-dashoffset: 0;`;L.attr(`style`,e+L.attr(`style`))}}L.attr(`data-edge`,!0),L.attr(`data-et`,`edge`),L.attr(`data-id`,t.id),L.attr(`data-points`,D),L.attr(`data-look`,ne(t.look)),t.showPoints&&O.forEach(t=>{e.append(`circle`).style(`stroke`,`red`).style(`fill`,`red`).attr(`r`,1).attr(`cx`,t.x).attr(`cy`,t.y)});let q=``;(u().flowchart.arrowMarkerAbsolute||u().state.arrowMarkerAbsolute)&&(q=window.location.protocol+`//`+window.location.host+window.location.pathname+window.location.search,q=q.replace(/\(/g,`\\(`).replace(/\)/g,`\\)`)),o.info(`arrowTypeStart`,t.arrowTypeStart),o.info(`arrowTypeEnd`,t.arrowTypeEnd);let J=!G&&t?.look===`neo`;H(L,t,q,c,r,J,U);let Y=Math.floor(S.length/2),X=S[Y];p.isLabelCoordinateInPath(X,L.attr(`d`))||(C=!0);let Z={};return C&&(Z.updatedPath=S),Z.originalPath=t.points,Z},`insertEdge`),t(P,`generateRoundedPath`),t(F,`calculateDeltaAndAngle`),t(I,`applyMarkerOffsetsToPoints`),ge=/* @__PURE__ */ t((e,t,n,r)=>{t.forEach(t=>{_e[t](e,n,r)})},`insertMarkers`),_e={extension:/* @__PURE__ */ t((e,t,n)=>{o.trace(`Making markers for `,n),e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-extensionStart`).attr(`class`,`marker extension `+t).attr(`refX`,18).attr(`refY`,7).attr(`markerWidth`,20).attr(`markerHeight`,28).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`path`).attr(`d`,`M 1,7 L18,13 V 1 Z`),e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-extensionEnd`).attr(`class`,`marker extension `+t).attr(`refX`,1).attr(`refY`,7).attr(`markerWidth`,20).attr(`markerHeight`,28).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`path`).attr(`d`,`M 1,1 V 13 L18,7 Z`),e.append(`marker`).attr(`id`,n+`_`+t+`-extensionStart-margin`).attr(`class`,`marker extension `+t).attr(`refX`,18).attr(`refY`,7).attr(`markerWidth`,20).attr(`markerHeight`,28).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).attr(`viewBox`,`0 0 20 14`).append(`polygon`).attr(`points`,`10,7 18,13 18,1`).style(`stroke-width`,2).style(`stroke-dasharray`,`0`),e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-extensionEnd-margin`).attr(`class`,`marker extension `+t).attr(`refX`,9).attr(`refY`,7).attr(`markerWidth`,20).attr(`markerHeight`,28).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).attr(`viewBox`,`0 0 20 14`).append(`polygon`).attr(`points`,`10,1 10,13 18,7`).style(`stroke-width`,2).style(`stroke-dasharray`,`0`)},`extension`),composition:/* @__PURE__ */ t((e,t,n)=>{e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-compositionStart`).attr(`class`,`marker composition `+t).attr(`refX`,18).attr(`refY`,7).attr(`markerWidth`,190).attr(`markerHeight`,240).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`path`).attr(`d`,`M 18,7 L9,13 L1,7 L9,1 Z`),e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-compositionEnd`).attr(`class`,`marker composition `+t).attr(`refX`,1).attr(`refY`,7).attr(`markerWidth`,20).attr(`markerHeight`,28).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`path`).attr(`d`,`M 18,7 L9,13 L1,7 L9,1 Z`),e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-compositionStart-margin`).attr(`class`,`marker composition `+t).attr(`refX`,15).attr(`refY`,7).attr(`markerWidth`,190).attr(`markerHeight`,240).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`path`).style(`stroke-width`,0).attr(`viewBox`,`0 0 15 15`).attr(`d`,`M 18,7 L9,13 L1,7 L9,1 Z`),e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-compositionEnd-margin`).attr(`class`,`marker composition `+t).attr(`refX`,3.5).attr(`refY`,7).attr(`markerWidth`,20).attr(`markerHeight`,28).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`path`).style(`stroke-width`,0).attr(`d`,`M 18,7 L9,13 L1,7 L9,1 Z`)},`composition`),aggregation:/* @__PURE__ */ t((e,t,n)=>{e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-aggregationStart`).attr(`class`,`marker aggregation `+t).attr(`refX`,18).attr(`refY`,7).attr(`markerWidth`,190).attr(`markerHeight`,240).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`path`).attr(`d`,`M 18,7 L9,13 L1,7 L9,1 Z`),e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-aggregationEnd`).attr(`class`,`marker aggregation `+t).attr(`refX`,1).attr(`refY`,7).attr(`markerWidth`,20).attr(`markerHeight`,28).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`path`).attr(`d`,`M 18,7 L9,13 L1,7 L9,1 Z`),e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-aggregationStart-margin`).attr(`class`,`marker aggregation `+t).attr(`refX`,15).attr(`refY`,7).attr(`markerWidth`,190).attr(`markerHeight`,240).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`path`).style(`stroke-width`,2).attr(`d`,`M 18,7 L9,13 L1,7 L9,1 Z`),e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-aggregationEnd-margin`).attr(`class`,`marker aggregation `+t).attr(`refX`,1).attr(`refY`,7).attr(`markerWidth`,20).attr(`markerHeight`,28).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`path`).style(`stroke-width`,2).attr(`d`,`M 18,7 L9,13 L1,7 L9,1 Z`)},`aggregation`),dependency:/* @__PURE__ */ t((e,t,n)=>{e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-dependencyStart`).attr(`class`,`marker dependency `+t).attr(`refX`,6).attr(`refY`,7).attr(`markerWidth`,190).attr(`markerHeight`,240).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`path`).attr(`d`,`M 5,7 L9,13 L1,7 L9,1 Z`),e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-dependencyEnd`).attr(`class`,`marker dependency `+t).attr(`refX`,13).attr(`refY`,7).attr(`markerWidth`,20).attr(`markerHeight`,28).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`path`).attr(`d`,`M 18,7 L9,13 L14,7 L9,1 Z`),e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-dependencyStart-margin`).attr(`class`,`marker dependency `+t).attr(`refX`,4).attr(`refY`,7).attr(`markerWidth`,190).attr(`markerHeight`,240).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`path`).style(`stroke-width`,0).attr(`d`,`M 5,7 L9,13 L1,7 L9,1 Z`),e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-dependencyEnd-margin`).attr(`class`,`marker dependency `+t).attr(`refX`,16).attr(`refY`,7).attr(`markerWidth`,20).attr(`markerHeight`,28).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`path`).style(`stroke-width`,0).attr(`d`,`M 18,7 L9,13 L14,7 L9,1 Z`)},`dependency`),lollipop:/* @__PURE__ */ t((e,t,n)=>{e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-lollipopStart`).attr(`class`,`marker lollipop `+t).attr(`refX`,13).attr(`refY`,7).attr(`markerWidth`,190).attr(`markerHeight`,240).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`circle`).attr(`fill`,`transparent`).attr(`cx`,7).attr(`cy`,7).attr(`r`,6),e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-lollipopEnd`).attr(`class`,`marker lollipop `+t).attr(`refX`,1).attr(`refY`,7).attr(`markerWidth`,190).attr(`markerHeight`,240).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`circle`).attr(`fill`,`transparent`).attr(`cx`,7).attr(`cy`,7).attr(`r`,6),e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-lollipopStart-margin`).attr(`class`,`marker lollipop `+t).attr(`refX`,13).attr(`refY`,7).attr(`markerWidth`,190).attr(`markerHeight`,240).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`circle`).attr(`fill`,`transparent`).attr(`cx`,7).attr(`cy`,7).attr(`r`,6).attr(`stroke-width`,2),e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-lollipopEnd-margin`).attr(`class`,`marker lollipop `+t).attr(`refX`,1).attr(`refY`,7).attr(`markerWidth`,190).attr(`markerHeight`,240).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`circle`).attr(`fill`,`transparent`).attr(`cx`,7).attr(`cy`,7).attr(`r`,6).attr(`stroke-width`,2)},`lollipop`),point:/* @__PURE__ */ t((e,t,n)=>{e.append(`marker`).attr(`id`,n+`_`+t+`-pointEnd`).attr(`class`,`marker `+t).attr(`viewBox`,`0 0 10 10`).attr(`refX`,5).attr(`refY`,5).attr(`markerUnits`,`userSpaceOnUse`).attr(`markerWidth`,8).attr(`markerHeight`,8).attr(`orient`,`auto`).append(`path`).attr(`d`,`M 0 0 L 10 5 L 0 10 z`).attr(`class`,`arrowMarkerPath`).style(`stroke-width`,1).style(`stroke-dasharray`,`1,0`),e.append(`marker`).attr(`id`,n+`_`+t+`-pointStart`).attr(`class`,`marker `+t).attr(`viewBox`,`0 0 10 10`).attr(`refX`,4.5).attr(`refY`,5).attr(`markerUnits`,`userSpaceOnUse`).attr(`markerWidth`,8).attr(`markerHeight`,8).attr(`orient`,`auto`).append(`path`).attr(`d`,`M 0 5 L 10 10 L 10 0 z`).attr(`class`,`arrowMarkerPath`).style(`stroke-width`,1).style(`stroke-dasharray`,`1,0`),e.append(`marker`).attr(`id`,n+`_`+t+`-pointEnd-margin`).attr(`class`,`marker `+t).attr(`viewBox`,`0 0 11.5 14`).attr(`refX`,11.5).attr(`refY`,7).attr(`markerUnits`,`userSpaceOnUse`).attr(`markerWidth`,10.5).attr(`markerHeight`,14).attr(`orient`,`auto`).append(`path`).attr(`d`,`M 0 0 L 11.5 7 L 0 14 z`).attr(`class`,`arrowMarkerPath`).style(`stroke-width`,0).style(`stroke-dasharray`,`1,0`),e.append(`marker`).attr(`id`,n+`_`+t+`-pointStart-margin`).attr(`class`,`marker `+t).attr(`viewBox`,`0 0 11.5 14`).attr(`refX`,1).attr(`refY`,7).attr(`markerUnits`,`userSpaceOnUse`).attr(`markerWidth`,11.5).attr(`markerHeight`,14).attr(`orient`,`auto`).append(`polygon`).attr(`points`,`0,7 11.5,14 11.5,0`).attr(`class`,`arrowMarkerPath`).style(`stroke-width`,0).style(`stroke-dasharray`,`1,0`)},`point`),circle:/* @__PURE__ */ t((e,t,n)=>{e.append(`marker`).attr(`id`,n+`_`+t+`-circleEnd`).attr(`class`,`marker `+t).attr(`viewBox`,`0 0 10 10`).attr(`refX`,11).attr(`refY`,5).attr(`markerUnits`,`userSpaceOnUse`).attr(`markerWidth`,11).attr(`markerHeight`,11).attr(`orient`,`auto`).append(`circle`).attr(`cx`,`5`).attr(`cy`,`5`).attr(`r`,`5`).attr(`class`,`arrowMarkerPath`).style(`stroke-width`,1).style(`stroke-dasharray`,`1,0`),e.append(`marker`).attr(`id`,n+`_`+t+`-circleStart`).attr(`class`,`marker `+t).attr(`viewBox`,`0 0 10 10`).attr(`refX`,-1).attr(`refY`,5).attr(`markerUnits`,`userSpaceOnUse`).attr(`markerWidth`,11).attr(`markerHeight`,11).attr(`orient`,`auto`).append(`circle`).attr(`cx`,`5`).attr(`cy`,`5`).attr(`r`,`5`).attr(`class`,`arrowMarkerPath`).style(`stroke-width`,1).style(`stroke-dasharray`,`1,0`),e.append(`marker`).attr(`id`,n+`_`+t+`-circleEnd-margin`).attr(`class`,`marker `+t).attr(`viewBox`,`0 0 10 10`).attr(`refY`,5).attr(`refX`,12.25).attr(`markerUnits`,`userSpaceOnUse`).attr(`markerWidth`,14).attr(`markerHeight`,14).attr(`orient`,`auto`).append(`circle`).attr(`cx`,`5`).attr(`cy`,`5`).attr(`r`,`5`).attr(`class`,`arrowMarkerPath`).style(`stroke-width`,0).style(`stroke-dasharray`,`1,0`),e.append(`marker`).attr(`id`,n+`_`+t+`-circleStart-margin`).attr(`class`,`marker `+t).attr(`viewBox`,`0 0 10 10`).attr(`refX`,-2).attr(`refY`,5).attr(`markerUnits`,`userSpaceOnUse`).attr(`markerWidth`,14).attr(`markerHeight`,14).attr(`orient`,`auto`).append(`circle`).attr(`cx`,`5`).attr(`cy`,`5`).attr(`r`,`5`).attr(`class`,`arrowMarkerPath`).style(`stroke-width`,0).style(`stroke-dasharray`,`1,0`)},`circle`),cross:/* @__PURE__ */ t((e,t,n)=>{e.append(`marker`).attr(`id`,n+`_`+t+`-crossEnd`).attr(`class`,`marker cross `+t).attr(`viewBox`,`0 0 11 11`).attr(`refX`,12).attr(`refY`,5.2).attr(`markerUnits`,`userSpaceOnUse`).attr(`markerWidth`,11).attr(`markerHeight`,11).attr(`orient`,`auto`).append(`path`).attr(`d`,`M 1,1 l 9,9 M 10,1 l -9,9`).attr(`class`,`arrowMarkerPath`).style(`stroke-width`,2).style(`stroke-dasharray`,`1,0`),e.append(`marker`).attr(`id`,n+`_`+t+`-crossStart`).attr(`class`,`marker cross `+t).attr(`viewBox`,`0 0 11 11`).attr(`refX`,-1).attr(`refY`,5.2).attr(`markerUnits`,`userSpaceOnUse`).attr(`markerWidth`,11).attr(`markerHeight`,11).attr(`orient`,`auto`).append(`path`).attr(`d`,`M 1,1 l 9,9 M 10,1 l -9,9`).attr(`class`,`arrowMarkerPath`).style(`stroke-width`,2).style(`stroke-dasharray`,`1,0`),e.append(`marker`).attr(`id`,n+`_`+t+`-crossEnd-margin`).attr(`class`,`marker cross `+t).attr(`viewBox`,`0 0 15 15`).attr(`refX`,17.7).attr(`refY`,7.5).attr(`markerUnits`,`userSpaceOnUse`).attr(`markerWidth`,12).attr(`markerHeight`,12).attr(`orient`,`auto`).append(`path`).attr(`d`,`M 1,1 L 14,14 M 1,14 L 14,1`).attr(`class`,`arrowMarkerPath`).style(`stroke-width`,2.5),e.append(`marker`).attr(`id`,n+`_`+t+`-crossStart-margin`).attr(`class`,`marker cross `+t).attr(`viewBox`,`0 0 15 15`).attr(`refX`,-3.5).attr(`refY`,7.5).attr(`markerUnits`,`userSpaceOnUse`).attr(`markerWidth`,12).attr(`markerHeight`,12).attr(`orient`,`auto`).append(`path`).attr(`d`,`M 1,1 L 14,14 M 1,14 L 14,1`).attr(`class`,`arrowMarkerPath`).style(`stroke-width`,2.5).style(`stroke-dasharray`,`1,0`)},`cross`),barb:/* @__PURE__ */ t((e,t,n)=>{e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-barbEnd`).attr(`refX`,19).attr(`refY`,7).attr(`markerWidth`,20).attr(`markerHeight`,14).attr(`markerUnits`,`userSpaceOnUse`).attr(`orient`,`auto`).append(`path`).attr(`d`,`M 19,7 L9,13 L14,7 L9,1 Z`)},`barb`),barbNeo:/* @__PURE__ */ t((e,t,n)=>{let{themeVariables:r}=c(),{transitionColor:i}=r;e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-barbEnd`).attr(`refX`,19).attr(`refY`,7).attr(`markerWidth`,20).attr(`markerHeight`,14).attr(`markerUnits`,`strokeWidth`).attr(`orient`,`auto`).append(`path`).attr(`d`,`M 19,7 L11,14 L13,7 L11,0 Z`),e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-barbEnd-margin`).attr(`refX`,17).attr(`refY`,7).attr(`markerWidth`,20).attr(`markerHeight`,14).attr(`markerUnits`,`userSpaceOnUse`).attr(`orient`,`auto`).append(`path`).attr(`d`,`M 19,7 L11,14 L13,7 L11,0 Z`).attr(`fill`,`${i}`)},`barbNeo`),only_one:/* @__PURE__ */ t((e,t,n)=>{e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-onlyOneStart`).attr(`class`,`marker onlyOne `+t).attr(`refX`,0).attr(`refY`,9).attr(`markerWidth`,18).attr(`markerHeight`,18).attr(`orient`,`auto`).append(`path`).attr(`d`,`M9,0 L9,18 M15,0 L15,18`),e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-onlyOneEnd`).attr(`class`,`marker onlyOne `+t).attr(`refX`,18).attr(`refY`,9).attr(`markerWidth`,18).attr(`markerHeight`,18).attr(`orient`,`auto`).append(`path`).attr(`d`,`M3,0 L3,18 M9,0 L9,18`)},`only_one`),zero_or_one:/* @__PURE__ */ t((e,t,n)=>{let r=e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-zeroOrOneStart`).attr(`class`,`marker zeroOrOne `+t).attr(`refX`,0).attr(`refY`,9).attr(`markerWidth`,30).attr(`markerHeight`,18).attr(`orient`,`auto`);r.append(`circle`).attr(`fill`,`white`).attr(`cx`,21).attr(`cy`,9).attr(`r`,6),r.append(`path`).attr(`d`,`M9,0 L9,18`);let i=e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-zeroOrOneEnd`).attr(`class`,`marker zeroOrOne `+t).attr(`refX`,30).attr(`refY`,9).attr(`markerWidth`,30).attr(`markerHeight`,18).attr(`orient`,`auto`);i.append(`circle`).attr(`fill`,`white`).attr(`cx`,9).attr(`cy`,9).attr(`r`,6),i.append(`path`).attr(`d`,`M21,0 L21,18`)},`zero_or_one`),one_or_more:/* @__PURE__ */ t((e,t,n)=>{e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-oneOrMoreStart`).attr(`class`,`marker oneOrMore `+t).attr(`refX`,18).attr(`refY`,18).attr(`markerWidth`,45).attr(`markerHeight`,36).attr(`orient`,`auto`).append(`path`).attr(`d`,`M0,18 Q 18,0 36,18 Q 18,36 0,18 M42,9 L42,27`),e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-oneOrMoreEnd`).attr(`class`,`marker oneOrMore `+t).attr(`refX`,27).attr(`refY`,18).attr(`markerWidth`,45).attr(`markerHeight`,36).attr(`orient`,`auto`).append(`path`).attr(`d`,`M3,9 L3,27 M9,18 Q27,0 45,18 Q27,36 9,18`)},`one_or_more`),zero_or_more:/* @__PURE__ */ t((e,t,n)=>{let r=e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-zeroOrMoreStart`).attr(`class`,`marker zeroOrMore `+t).attr(`refX`,18).attr(`refY`,18).attr(`markerWidth`,57).attr(`markerHeight`,36).attr(`orient`,`auto`);r.append(`circle`).attr(`fill`,`white`).attr(`cx`,48).attr(`cy`,18).attr(`r`,6),r.append(`path`).attr(`d`,`M0,18 Q18,0 36,18 Q18,36 0,18`);let i=e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-zeroOrMoreEnd`).attr(`class`,`marker zeroOrMore `+t).attr(`refX`,39).attr(`refY`,18).attr(`markerWidth`,57).attr(`markerHeight`,36).attr(`orient`,`auto`);i.append(`circle`).attr(`fill`,`white`).attr(`cx`,9).attr(`cy`,18).attr(`r`,6),i.append(`path`).attr(`d`,`M21,18 Q39,0 57,18 Q39,36 21,18`)},`zero_or_more`),only_one_neo:/* @__PURE__ */ t((e,t,n)=>{let{themeVariables:r}=c(),{strokeWidth:i}=r;e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-onlyOneStart`).attr(`class`,`marker onlyOne `+t).attr(`refX`,0).attr(`refY`,9).attr(`markerWidth`,18).attr(`markerHeight`,18).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`path`).attr(`d`,`M9,0 L9,18 M15,0 L15,18`).attr(`stroke-width`,`${i}`),e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-onlyOneEnd`).attr(`class`,`marker onlyOne `+t).attr(`refX`,18).attr(`refY`,9).attr(`markerWidth`,18).attr(`markerHeight`,18).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`path`).attr(`d`,`M3,0 L3,18 M9,0 L9,18`).attr(`stroke-width`,`${i}`)},`only_one_neo`),zero_or_one_neo:/* @__PURE__ */ t((e,t,n)=>{let{themeVariables:r}=c(),{strokeWidth:i,mainBkg:a}=r,o=e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-zeroOrOneStart`).attr(`class`,`marker zeroOrOne `+t).attr(`refX`,0).attr(`refY`,9).attr(`markerWidth`,30).attr(`markerHeight`,18).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`);o.append(`circle`).attr(`fill`,a??`white`).attr(`cx`,21).attr(`cy`,9).attr(`stroke-width`,`${i}`).attr(`r`,6),o.append(`path`).attr(`d`,`M9,0 L9,18`).attr(`stroke-width`,`${i}`);let s=e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-zeroOrOneEnd`).attr(`class`,`marker zeroOrOne `+t).attr(`refX`,30).attr(`refY`,9).attr(`markerWidth`,30).attr(`markerHeight`,18).attr(`markerUnits`,`userSpaceOnUse`).attr(`orient`,`auto`);s.append(`circle`).attr(`fill`,a??`white`).attr(`cx`,9).attr(`cy`,9).attr(`stroke-width`,`${i}`).attr(`r`,6),s.append(`path`).attr(`d`,`M21,0 L21,18`).attr(`stroke-width`,`${i}`)},`zero_or_one_neo`),one_or_more_neo:/* @__PURE__ */ t((e,t,n)=>{let{themeVariables:r}=c(),{strokeWidth:i}=r;e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-oneOrMoreStart`).attr(`class`,`marker oneOrMore `+t).attr(`refX`,18).attr(`refY`,18).attr(`markerWidth`,45).attr(`markerHeight`,36).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`path`).attr(`d`,`M0,18 Q 18,0 36,18 Q 18,36 0,18 M42,9 L42,27`).attr(`stroke-width`,`${i}`),e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-oneOrMoreEnd`).attr(`class`,`marker oneOrMore `+t).attr(`refX`,27).attr(`refY`,18).attr(`markerWidth`,45).attr(`markerHeight`,36).attr(`markerUnits`,`userSpaceOnUse`).attr(`orient`,`auto`).append(`path`).attr(`d`,`M3,9 L3,27 M9,18 Q27,0 45,18 Q27,36 9,18`).attr(`stroke-width`,`${i}`)},`one_or_more_neo`),zero_or_more_neo:/* @__PURE__ */ t((e,t,n)=>{let{themeVariables:r}=c(),{strokeWidth:i,mainBkg:a}=r,o=e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-zeroOrMoreStart`).attr(`class`,`marker zeroOrMore `+t).attr(`refX`,18).attr(`refY`,18).attr(`markerWidth`,57).attr(`markerHeight`,36).attr(`markerUnits`,`userSpaceOnUse`).attr(`orient`,`auto`);o.append(`circle`).attr(`fill`,a??`white`).attr(`cx`,45.5).attr(`cy`,18).attr(`r`,6).attr(`stroke-width`,`${i}`),o.append(`path`).attr(`d`,`M0,18 Q18,0 36,18 Q18,36 0,18`).attr(`stroke-width`,`${i}`);let s=e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-zeroOrMoreEnd`).attr(`class`,`marker zeroOrMore `+t).attr(`refX`,39).attr(`refY`,18).attr(`markerWidth`,57).attr(`markerHeight`,36).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`);s.append(`circle`).attr(`fill`,a??`white`).attr(`cx`,11).attr(`cy`,18).attr(`r`,6).attr(`stroke-width`,`${i}`),s.append(`path`).attr(`d`,`M21,18 Q39,0 57,18 Q39,36 21,18`).attr(`stroke-width`,`${i}`)},`zero_or_more_neo`),requirement_arrow:/* @__PURE__ */ t((e,t,n)=>{e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-requirement_arrowEnd`).attr(`refX`,20).attr(`refY`,10).attr(`markerWidth`,20).attr(`markerHeight`,20).attr(`orient`,`auto`).append(`path`).attr(`d`,`M0,0
|
|
5
|
+
L20,10
|
|
6
|
+
M20,10
|
|
7
|
+
L0,20`)},`requirement_arrow`),requirement_contains:/* @__PURE__ */ t((e,t,n)=>{let r=e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-requirement_containsStart`).attr(`refX`,0).attr(`refY`,10).attr(`markerWidth`,20).attr(`markerHeight`,20).attr(`orient`,`auto`).append(`g`);r.append(`circle`).attr(`cx`,10).attr(`cy`,10).attr(`r`,9).attr(`fill`,`none`),r.append(`line`).attr(`x1`,1).attr(`x2`,19).attr(`y1`,10).attr(`y2`,10),r.append(`line`).attr(`y1`,1).attr(`y2`,19).attr(`x1`,10).attr(`x2`,10)},`requirement_contains`),requirement_arrow_neo:/* @__PURE__ */ t((e,t,n)=>{let{themeVariables:r}=c(),{strokeWidth:i}=r;e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-requirement_arrowEnd`).attr(`refX`,20).attr(`refY`,10).attr(`markerWidth`,20).attr(`markerHeight`,20).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).attr(`stroke-width`,`${i}`).attr(`viewBox`,`0 0 25 20`).append(`path`).attr(`d`,`M0,0
|
|
8
|
+
L20,10
|
|
9
|
+
M20,10
|
|
10
|
+
L0,20`).attr(`stroke-linejoin`,`miter`)},`requirement_arrow_neo`),requirement_contains_neo:/* @__PURE__ */ t((e,t,n)=>{let{themeVariables:r}=c(),{strokeWidth:i}=r,a=e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-requirement_containsStart`).attr(`refX`,0).attr(`refY`,10).attr(`markerWidth`,20).attr(`markerHeight`,20).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`g`);a.append(`circle`).attr(`cx`,10).attr(`cy`,10).attr(`r`,9).attr(`fill`,`none`),a.append(`line`).attr(`x1`,1).attr(`x2`,19).attr(`y1`,10).attr(`y2`,10),a.append(`line`).attr(`y1`,1).attr(`y2`,19).attr(`x1`,10).attr(`x2`,10),a.selectAll(`*`).attr(`stroke-width`,`${i}`)},`requirement_contains_neo`)},ve=ge})))()}export{he as a,ve as c,ye as i,le as l,q as n,ce as o,X as r,R as s,Y as t,J as u};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{n as e}from"./rolldown-runtime-BKuNeK48.js";import{C as t,S as n,T as r,g as i,n as a,o,t as s,u as c,w as l,x as u}from"./chunk-FOHPRMQF-B8MMrnxV.js";function d(e=o){let a=r(t(e),c),s=r(n({shared:a}),i,h);return a.ServiceRegistry.register(s),{shared:a,Railroad:s}}var f,p,m,h;function g(){return(g=e((()=>{l(),f=class extends s{static{u(this,`RailroadTokenBuilder`)}constructor(){super([`railroad-beta`])}},p=/* @__PURE__ */ u(e=>{let t=e.slice(1,-1),n=``;for(let e=0;e<t.length;e++){let r=t[e];if(r===`\\`&&e+1<t.length){e++;let r=t[e];switch(r){case`n`:n+=`
|
|
2
|
+
`;break;case`r`:n+=`\r`;break;case`t`:n+=` `;break;default:n+=r}}else n+=r}return n},`decodeEscapedString`),m=class extends a{static{u(this,`RailroadValueConverter`)}runConverter(e,t,n){let r=super.runConverter(e,t,n);if(e.name===`TITLE`&&typeof r==`string`){let e=r.trim();if(e.startsWith(`"`)&&e.endsWith(`"`)||e.startsWith(`'`)&&e.endsWith(`'`))return p(e)}return r}runCustomConverter(e,t,n){if(e.name===`RR_STRING`)return p(t)}},h={parser:{TokenBuilder:/* @__PURE__ */ u(()=>new f,`TokenBuilder`),ValueConverter:/* @__PURE__ */ u(()=>new m,`ValueConverter`)}},u(d,`createRailroadServices`)})))()}export{d as n,g as r,h as t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{n as e}from"./rolldown-runtime-BKuNeK48.js";import{n as t,r as n}from"./chunk-Y2CYZVJY-DjEHBC-3.js";import{j as r,x as i}from"./chunk-DU6HZSFF-Bx48E1rg.js";var a,o,s,c,l,u,d,f;function p(){return(p=e((()=>{r(),n(),a=/* @__PURE__ */ t(e=>{let{handDrawnSeed:t}=i();return{fill:e,hachureAngle:120,hachureGap:4,fillWeight:2,roughness:.7,stroke:e,seed:t}},`solidStateFill`),o=/* @__PURE__ */ t(e=>Array.isArray(e)?e:e?e.split(`;`).map(e=>e.trim()).filter(Boolean):[],`normalizeStyleList`),s=/* @__PURE__ */ t(e=>{let t=c([...e.cssCompiledStyles||[],...e.cssStyles||[],...o(e.labelStyle)]);return{stylesMap:t,stylesArray:[...t]}},`compileStyles`),c=/* @__PURE__ */ t(e=>{let t=/* @__PURE__ */ new Map;return e.forEach(e=>{let[n,r]=e.split(`:`);t.set(n.trim(),r?.trim())}),t},`styles2Map`),l=/* @__PURE__ */ t(e=>e===`color`||e===`font-size`||e===`font-family`||e===`font-weight`||e===`font-style`||e===`text-decoration`||e===`text-align`||e===`text-transform`||e===`line-height`||e===`letter-spacing`||e===`word-spacing`||e===`text-shadow`||e===`text-overflow`||e===`white-space`||e===`word-wrap`||e===`word-break`||e===`overflow-wrap`||e===`hyphens`,`isLabelStyle`),u=/* @__PURE__ */ t(e=>{let{stylesArray:t}=s(e),n=[],r=[],i=[],a=[];return t.forEach(e=>{let t=e[0];l(t)?n.push(e.join(`:`)+` !important`):(r.push(e.join(`:`)+` !important`),t.includes(`stroke`)&&i.push(e.join(`:`)+` !important`),t===`fill`&&a.push(e.join(`:`)+` !important`))}),{labelStyles:n.join(`;`),nodeStyles:r.join(`;`),stylesArray:t,borderStyles:i,backgroundStyles:a}},`styles2String`),d=/* @__PURE__ */ t((e,t)=>{let{themeVariables:n,handDrawnSeed:r}=i(),{nodeBorder:a,mainBkg:o}=n,{stylesMap:c}=s(e);return Object.assign({roughness:.7,fill:c.get(`fill`)||o,fillStyle:`hachure`,fillWeight:4,hachureGap:5.2,stroke:c.get(`stroke`)||a,seed:r,strokeWidth:c.get(`stroke-width`)?.replace(`px`,``)||1.3,fillLineDash:[0,0],strokeLineDash:f(c.get(`stroke-dasharray`))},t)},`userNodeOverrides`),f=/* @__PURE__ */ t(e=>{if(!e)return[0,0];let t=e.trim().split(/\s+/).map(Number);if(t.length===1){let e=isNaN(t[0])?0:t[0];return[e,e]}return[isNaN(t[0])?0:t[0],isNaN(t[1])?0:t[1]]},`getStrokeDashArray`)})))()}export{u as a,a as i,p as n,d as o,l as r,s as t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{n as e}from"./rolldown-runtime-BKuNeK48.js";import{n as t,r as n}from"./chunk-Y2CYZVJY-DjEHBC-3.js";import{C as r,w as i}from"./src-C1iDJpBK.js";import{c as a,j as o}from"./chunk-DU6HZSFF-Bx48E1rg.js";var s,c,l;function u(){return(u=e((()=>{o(),r(),n(),s=/* @__PURE__ */ t((e,t,n,r)=>{e.attr(`class`,n);let{width:o,height:s,x:u,y:d}=c(e,t);a(e,s,o,r);let f=l(u,d,o,s,t);e.attr(`viewBox`,f),i.debug(`viewBox configured: ${f} with padding: ${t}`)},`setupViewPortForSVG`),c=/* @__PURE__ */ t((e,t)=>{let n=e.node()?.getBBox()||{width:0,height:0,x:0,y:0};return{width:n.width+t*2,height:n.height+t*2,x:n.x,y:n.y}},`calculateDimensionsWithPadding`),l=/* @__PURE__ */ t((e,t,n,r,i)=>`${e-i} ${t-i} ${n} ${r}`,`createViewBox`)})))()}export{s as n,u as t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{n as e}from"./rolldown-runtime-BKuNeK48.js";import{n as t,r as n}from"./chunk-Y2CYZVJY-DjEHBC-3.js";import{C as r,w as i}from"./src-C1iDJpBK.js";import{B as a,b as o,j as s}from"./chunk-DU6HZSFF-Bx48E1rg.js";var c,l,u,d;function f(){return(f=e((()=>{c=Object.freeze({left:0,top:0,width:16,height:16}),l=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),u=Object.freeze({...c,...l}),d=Object.freeze({...u,body:``,hidden:!1})})))()}var p,m;function h(){return(h=e((()=>{f(),p=Object.freeze({width:null,height:null}),m=Object.freeze({...p,...l})})))()}var g,_;function v(){return(v=e((()=>{g=(e,t,n,r=``)=>{let i=e.split(`:`);if(e.slice(0,1)===`@`){if(i.length<2||i.length>3)return null;r=i.shift().slice(1)}if(i.length>3||!i.length)return null;if(i.length>1){let e=i.pop(),n=i.pop(),a={provider:i.length>0?i[0]:r,prefix:n,name:e};return t&&!_(a)?null:a}let a=i[0],o=a.split(`-`);if(o.length>1){let e={provider:r,prefix:o.shift(),name:o.join(`-`)};return t&&!_(e)?null:e}if(n&&r===``){let e={provider:r,prefix:``,name:a};return t&&!_(e,n)?null:e}return null},_=(e,t)=>e?!!((t&&e.prefix===``||e.prefix)&&e.name):!1})))()}function y(e,t){let n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);let r=((e.rotate||0)+(t.rotate||0))%4;return r&&(n.rotate=r),n}function b(e,t){let n=y(e,t);for(let r in d)r in l?r in e&&!(r in n)&&(n[r]=l[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function x(){return(x=e((()=>{f()})))()}function S(e,t){let n=e.icons,r=e.aliases||Object.create(null),i=Object.create(null);function a(e){if(n[e])return i[e]=[];if(!(e in i)){i[e]=null;let t=r[e]&&r[e].parent,n=t&&a(t);n&&(i[e]=[t].concat(n))}return i[e]}return(t||Object.keys(n).concat(Object.keys(r))).forEach(a),i}function C(e,t,n){let r=e.icons,i=e.aliases||Object.create(null),a={};function o(e){a=b(r[e]||i[e],a)}return o(t),n.forEach(o),b(e,a)}function w(e,t){if(e.icons[t])return C(e,t,[]);let n=S(e,[t])[t];return n?C(e,t,n):null}function T(){return(T=e((()=>{x()})))()}function E(e,t,n){if(t===1)return e;if(n||=100,typeof e==`number`)return Math.ceil(e*t*n)/n;if(typeof e!=`string`)return e;let r=e.split(D);if(r===null||!r.length)return e;let i=[],a=r.shift(),o=O.test(a);for(;;){if(o){let e=parseFloat(a);isNaN(e)?i.push(a):i.push(Math.ceil(e*t*n)/n)}else i.push(a);if(a=r.shift(),a===void 0)return i.join(``);o=!o}}var D,O;function k(){return(k=e((()=>{D=/(-?[0-9.]*[0-9]+[0-9.]*)/g,O=/^-?[0-9.]*[0-9]+[0-9.]*$/g})))()}function A(e,t=`defs`){let n=``,r=e.indexOf(`<`+t);for(;r>=0;){let i=e.indexOf(`>`,r),a=e.indexOf(`</`+t);if(i===-1||a===-1)break;let o=e.indexOf(`>`,a);if(o===-1)break;n+=e.slice(i+1,a).trim(),e=e.slice(0,r).trim()+e.slice(o+1)}return{defs:n,content:e}}function j(e,t){return e?`<defs>`+e+`</defs>`+t:t}function M(e,t,n){let r=A(e);return j(r.defs,t+r.content+n)}function N(e,t){let n={...u,...e},r={...m,...t},i={left:n.left,top:n.top,width:n.width,height:n.height},a=n.body;[n,r].forEach(e=>{let t=[],n=e.hFlip,r=e.vFlip,o=e.rotate;n?r?o+=2:(t.push(`translate(`+(i.width+i.left).toString()+` `+(0-i.top).toString()+`)`),t.push(`scale(-1 1)`),i.top=i.left=0):r&&(t.push(`translate(`+(0-i.left).toString()+` `+(i.height+i.top).toString()+`)`),t.push(`scale(1 -1)`),i.top=i.left=0);let s;switch(o<0&&(o-=Math.floor(o/4)*4),o%=4,o){case 1:s=i.height/2+i.top,t.unshift(`rotate(90 `+s.toString()+` `+s.toString()+`)`);break;case 2:t.unshift(`rotate(180 `+(i.width/2+i.left).toString()+` `+(i.height/2+i.top).toString()+`)`);break;case 3:s=i.width/2+i.left,t.unshift(`rotate(-90 `+s.toString()+` `+s.toString()+`)`)}o%2==1&&(i.left!==i.top&&(s=i.left,i.left=i.top,i.top=s),i.width!==i.height&&(s=i.width,i.width=i.height,i.height=s)),t.length&&(a=M(a,`<g transform="`+t.join(` `)+`">`,`</g>`))});let o=r.width,s=r.height,c=i.width,l=i.height,d,f;o===null?(f=s===null?`1em`:s===`auto`?l:s,d=E(f,c/l)):(d=o===`auto`?c:o,f=s===null?E(d,l/c):s===`auto`?l:s);let p={},h=(e,t)=>{P(t)||(p[e]=t.toString())};h(`width`,d),h(`height`,f);let g=[i.left,i.top,c,l];return p.viewBox=g.join(` `),{attributes:p,viewBox:g,body:a}}var P;function F(){return(F=e((()=>{f(),h(),k(),P=e=>e===`unset`||e===`undefined`||e===`none`})))()}function I(e){e=e.replace(/[0-9]+$/,``)||`a`;let t=z.get(e)||0;return z.set(e,t+1),t?`${e}${t}`:e}function L(e){let t=[],n;for(;n=R.exec(e);)t.push(n[1]);if(!t.length)return e;let r=`suffix`+(Math.random()*16777216|Date.now()).toString(16);return t.forEach(t=>{let n=I(t),i=t.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`);e=e.replace(RegExp(`([#;"])(`+i+`)([")]|\\.[a-z])`,`g`),`$1`+n+r+`$3`)}),e=e.replace(new RegExp(r,`g`),``),e}var R,z;function B(){return(B=e((()=>{R=/\sid="(\S+)"/g,z=/* @__PURE__ */ new Map})))()}function V(e,t){let n=e.indexOf(`xlink:`)===-1?``:` xmlns:xlink="http://www.w3.org/1999/xlink"`;for(let e in t)n+=` `+e+`="`+t[e]+`"`;return`<svg xmlns="http://www.w3.org/2000/svg"`+n+`>`+e+`</svg>`}var H,U,W,G,K,q,J;function Y(){return(Y=e((()=>{s(),r(),n(),T(),F(),B(),v(),H={body:`<g><rect width="80" height="80" style="fill: #087ebf; stroke-width: 0px;"/><text transform="translate(21.16 64.67)" style="fill: #fff; font-family: ArialMT, Arial; font-size: 67.75px;"><tspan x="0" y="0">?</tspan></text></g>`,height:80,width:80},U=/* @__PURE__ */ new Map,W=/* @__PURE__ */ new Map,G=/* @__PURE__ */ t(e=>{for(let t of e){if(!t.name)throw Error(`Invalid icon loader. Must have a "name" property with non-empty string value.`);if(i.debug(`Registering icon pack:`,t.name),`loader`in t)W.set(t.name,t.loader);else if(`icons`in t)U.set(t.name,t.icons);else throw i.error(`Invalid icon loader:`,t),Error(`Invalid icon loader. Must have either "icons" or "loader" property.`)}},`registerIconPacks`),K=/* @__PURE__ */ t(async(e,t)=>{let n=g(e,!0,t!==void 0);if(!n)throw Error(`Invalid icon name: ${e}`);let r=n.prefix||t;if(!r)throw Error(`Icon name must contain a prefix: ${e}`);let a=U.get(r);if(!a){let e=W.get(r);if(!e)throw Error(`Icon set not found: ${n.prefix}`);try{a={...await e(),prefix:r},U.set(r,a)}catch(e){throw i.error(e),Error(`Failed to load icon set: ${n.prefix}`)}}let o=w(a,n.name);if(!o)throw Error(`Icon not found: ${e}`);return o},`getRegisteredIconData`),q=/* @__PURE__ */ t(async e=>{try{return await K(e),!0}catch{return!1}},`isIconAvailable`),J=/* @__PURE__ */ t(async(e,t,n)=>{let r;try{r=await K(e,t?.fallbackPrefix)}catch(e){i.error(e),r=H}let s=N(r,t),c=V(L(s.body),{...s.attributes,...n});return a(c,o())},`getIconSVG`)})))()}export{H as a,G as i,Y as n,q as r,J as t};
|
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
import{n as e}from"./rolldown-runtime-BKuNeK48.js";import{n as t,t as n}from"./purify.es-BsWMI_aG.js";import{n as r,r as i}from"./chunk-Y2CYZVJY-DjEHBC-3.js";import{C as a,S as o,t as s,w as c}from"./src-C1iDJpBK.js";import{K as l,U as u,W as d,a as f,ct as p,d as ee,j as m,k as h,lt as te,q as ne,s as re,v as ie,w as ae,x as g,y as _}from"./chunk-DU6HZSFF-Bx48E1rg.js";import{n as v,t as y}from"./channel-C9Dr7Z-W.js";import{_ as b,c as x,d as S}from"./chunk-75Z2AOVW-IO9R6faP.js";import{n as C,t as w}from"./chunk-5VM5RSS4-DMlsEAcl.js";import{a as T,r as oe}from"./chunk-4HAMMTFA-Aw59LwS3.js";import{l as se,t as ce}from"./chunk-F27PBJKO-DtLva7y0.js";import{n as le,t as E}from"./chunk-XXDRQBXY-Bl6AoSZF.js";import{n as D,t as O}from"./chunk-POPQ4Y6H-P1s5xaxM.js";import{i as k,n as A,t as ue}from"./chunk-TLUHSLCS-DsqF476v.js";import{n as de,r as fe,t as pe}from"./chunk-LNGE3PJU-BP1fsJRz.js";var me,he,ge,j,M,N,_e,ve,P,F,I;function L(){return(L=e((()=>{C(),le(),O(),de(),A(),se(),oe(),S(),m(),a(),i(),s(),n(),v(),p(),me=`flowchart-`,he=class{constructor(){this.vertexCounter=0,this.config=g(),this.diagramId=``,this.vertices=/* @__PURE__ */ new Map,this.edges=[],this.classes=/* @__PURE__ */ new Map,this.subGraphs=[],this.subGraphLookup=/* @__PURE__ */ new Map,this.tooltips=/* @__PURE__ */ new Map,this.subCount=0,this.firstGraphFlag=!0,this.secCount=-1,this.posCrossRef=[],this.funs=[],this.setAccTitle=d,this.setAccDescription=u,this.setDiagramTitle=ne,this.getAccTitle=_,this.getAccDescription=ie,this.getDiagramTitle=ae,this.funs.push(this.setupToolTips.bind(this)),this.addVertex=this.addVertex.bind(this),this.firstGraph=this.firstGraph.bind(this),this.setDirection=this.setDirection.bind(this),this.addSubGraph=this.addSubGraph.bind(this),this.addLink=this.addLink.bind(this),this.setLink=this.setLink.bind(this),this.updateLink=this.updateLink.bind(this),this.addClass=this.addClass.bind(this),this.setClass=this.setClass.bind(this),this.destructLink=this.destructLink.bind(this),this.setClickEvent=this.setClickEvent.bind(this),this.setTooltip=this.setTooltip.bind(this),this.updateLinkInterpolate=this.updateLinkInterpolate.bind(this),this.setClickFun=this.setClickFun.bind(this),this.bindFunctions=this.bindFunctions.bind(this),this.lex={firstGraph:this.firstGraph.bind(this)},this.clear(),this.setGen(`gen-2`)}static{r(this,`FlowDB`)}sanitizeText(e){return re.sanitizeText(e,this.config)}sanitizeNodeLabelType(e){switch(e){case`markdown`:case`string`:case`text`:return e;default:return`markdown`}}setDiagramId(e){this.diagramId=e}lookUpDomId(e){for(let t of this.vertices.values())if(t.id===e)return this.diagramId?`${this.diagramId}-${t.domId}`:t.domId;return this.diagramId?`${this.diagramId}-${e}`:e}addVertex(e,t,n,r,i,a,o={},s){if(!e||e.trim().length===0)return;let l;if(s!==void 0){let e;e=s.includes(`
|
|
2
|
+
`)?s+`
|
|
3
|
+
`:`{
|
|
4
|
+
`+s+`
|
|
5
|
+
}`,l=fe(e,{schema:pe})}let u=this.subGraphLookup.get(e);if(u&&l){u.metadata={...u.metadata,...l};return}let d=this.edges.find(t=>t.id===e);if(d){let e=l;e?.animate!==void 0&&(d.animate=e.animate),e?.animation!==void 0&&(d.animation=e.animation),e?.curve!==void 0&&(d.interpolate=e.curve);return}let f,p=this.vertices.get(e);if(p===void 0&&(t===void 0&&n===void 0&&r!=null&&c.warn(`Style applied to unknown node "${e}". This may indicate a typo. The node will be created automatically.`),p={id:e,labelType:`text`,domId:me+e+`-`+this.vertexCounter,styles:[],classes:[]},this.vertices.set(e,p)),this.vertexCounter++,t===void 0?p.text===void 0&&(p.text=e):(this.config=g(),f=this.sanitizeText(t.text.trim()),p.labelType=t.type,f.startsWith(`"`)&&f.endsWith(`"`)&&(f=f.substring(1,f.length-1)),p.text=f),n!==void 0&&(p.type=n),r?.forEach(e=>{p.styles.push(e)}),i?.forEach(e=>{p.classes.push(e)}),a!==void 0&&(p.dir=a),p.props===void 0?p.props=o:o!==void 0&&Object.assign(p.props,o),l!==void 0){if(l.shape){if(l.shape!==l.shape.toLowerCase()||l.shape.includes(`_`))throw Error(`No such shape: ${l.shape}. Shape names should be lowercase.`);if(!T(l.shape))throw Error(`No such shape: ${l.shape}.`);p.type=l?.shape}l?.label&&(p.text=l?.label,p.labelType=this.sanitizeNodeLabelType(l?.labelType)),l?.icon&&(p.icon=l?.icon,!l.label?.trim()&&p.text===e&&(p.text=``)),l?.form&&(p.form=l?.form),l?.pos&&(p.pos=l?.pos),l?.img&&(p.img=l?.img,!l.label?.trim()&&p.text===e&&(p.text=``)),l?.constraint&&(p.constraint=l.constraint),l.w&&(p.assetWidth=Number(l.w)),l.h&&(p.assetHeight=Number(l.h))}}addSingleLink(e,t,n,r){let i={start:e,end:t,type:void 0,text:``,labelType:`text`,classes:[],isUserDefinedId:!1,interpolate:this.edges.defaultInterpolate};c.info(`abc78 Got edge...`,i);let a=n.text;if(a!==void 0&&(i.text=this.sanitizeText(a.text.trim()),i.text.startsWith(`"`)&&i.text.endsWith(`"`)&&(i.text=i.text.substring(1,i.text.length-1)),i.labelType=this.sanitizeNodeLabelType(a.type)),n!==void 0&&(i.type=n.type,i.stroke=n.stroke,i.length=n.length>10?10:n.length),r&&!this.edges.some(e=>e.id===r))i.id=r,i.isUserDefinedId=!0;else{let e=this.edges.filter(e=>e.start===i.start&&e.end===i.end);i.id=e.length===0?x(i.start,i.end,{counter:0,prefix:`L`}):x(i.start,i.end,{counter:e.length+1,prefix:`L`})}if(this.edges.length<(this.config.maxEdges??500))c.info(`Pushing edge...`),this.edges.push(i);else throw Error(`Edge limit exceeded. ${this.edges.length} edges found, but the limit is ${this.config.maxEdges}.
|
|
6
|
+
|
|
7
|
+
Initialize mermaid with maxEdges set to a higher number to allow more edges.
|
|
8
|
+
You cannot set this config via configuration inside the diagram as it is a secure config.
|
|
9
|
+
You have to call mermaid.initialize.`)}isLinkData(e){return typeof e==`object`&&!!e&&`id`in e&&typeof e.id==`string`}addLink(e,t,n){let r=this.isLinkData(n)?n.id.replace(`@`,``):void 0;c.info(`addLink`,e,t,r);for(let i of e)for(let a of t){let o=i===e[e.length-1],s=a===t[0];o&&s?this.addSingleLink(i,a,n,r):this.addSingleLink(i,a,n,void 0)}}updateLinkInterpolate(e,t){e.forEach(e=>{e==="default"?this.edges.defaultInterpolate=t:this.edges[e].interpolate=t})}updateLink(e,t){e.forEach(e=>{if(typeof e==`number`&&e>=this.edges.length)throw Error(`The index ${e} for linkStyle is out of bounds. Valid indices for linkStyle are between 0 and ${this.edges.length-1}. (Help: Ensure that the index is within the range of existing edges.)`);e==="default"?this.edges.defaultStyle=t:(this.edges[e].style=t,(this.edges[e]?.style?.length??0)>0&&!this.edges[e]?.style?.some(e=>e?.startsWith(`fill`))&&this.edges[e]?.style?.push(`fill:none`))})}addClass(e,t){let n=t.join().replace(/\\,/g,`§§§`).replace(/,/g,`;`).replace(/§§§/g,`,`).split(`;`);e.split(`,`).forEach(e=>{let t=this.classes.get(e);t===void 0&&(t={id:e,styles:[],textStyles:[]},this.classes.set(e,t)),n?.forEach(e=>{if(/color/.exec(e)){let n=e.replace(`fill`,`bgFill`);t.textStyles.push(n)}t.styles.push(e)})})}setDirection(e){this.direction=e.trim(),/.*</.exec(this.direction)&&(this.direction=`RL`),/.*\^/.exec(this.direction)&&(this.direction=`BT`),/.*>/.exec(this.direction)&&(this.direction=`LR`),/.*v/.exec(this.direction)&&(this.direction=`TB`),this.direction===`TD`&&(this.direction=`TB`)}setClass(e,t){for(let n of e.split(`,`)){let e=this.vertices.get(n);e&&e.classes.push(t);let r=this.edges.find(e=>e.id===n);r&&r.classes.push(t);let i=this.subGraphLookup.get(n);i&&i.classes.push(t)}}setTooltip(e,t){if(t!==void 0){t=this.sanitizeText(t);for(let n of e.split(`,`))this.tooltips.set(this.version===`gen-1`?this.lookUpDomId(n):n,t)}}setClickFun(e,t,n){if(g().securityLevel!==`loose`||t===void 0)return;let r=[];if(typeof n==`string`){r=n.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let e=0;e<r.length;e++){let t=r[e].trim();t.startsWith(`"`)&&t.endsWith(`"`)&&(t=t.substr(1,t.length-2)),r[e]=t}}r.length===0&&r.push(e);let i=this.vertices.get(e);i&&(i.haveCallback=!0,this.funs.push(()=>{let n=this.lookUpDomId(e),i=document.querySelector(`[id="${n}"]`);i!==null&&i.addEventListener(`click`,()=>{b.runFunc(t,...r)},!1)}))}setLink(e,t,n){e.split(`,`).forEach(e=>{let r=this.vertices.get(e);r!==void 0&&(r.link=b.formatUrl(t,this.config),r.linkTarget=n)}),this.setClass(e,`clickable`)}getTooltip(e){return this.tooltips.get(e)}setClickEvent(e,t,n){e.split(`,`).forEach(e=>{this.setClickFun(e,t,n)}),this.setClass(e,`clickable`)}bindFunctions(e){this.funs.forEach(t=>{t(e)})}getDirection(){return this.direction?.trim()}getVertices(){return this.vertices}getEdges(){return this.edges}getClasses(){return this.classes}setupToolTips(e){let n=ce();o(e).select(`svg`).selectAll(`g.node`).on(`mouseover`,e=>{let r=o(e.currentTarget),i=r.attr(`title`);if(i===null)return;let a=e.currentTarget?.getBoundingClientRect();n.transition().duration(200).style(`opacity`,`.9`),n.text(r.attr(`title`)).style(`left`,window.scrollX+a.left+(a.right-a.left)/2+`px`).style(`top`,window.scrollY+a.bottom+`px`),n.html(t.sanitize(i)),r.classed(`hover`,!0)}).on(`mouseout`,e=>{n.transition().duration(500).style(`opacity`,0),o(e.currentTarget).classed(`hover`,!1)})}clear(e=`gen-2`){this.vertices=/* @__PURE__ */ new Map,this.classes=/* @__PURE__ */ new Map,this.edges=[],this.funs=[this.setupToolTips.bind(this)],this.diagramId=``,this.subGraphs=[],this.subGraphLookup=/* @__PURE__ */ new Map,this.subCount=0,this.tooltips=/* @__PURE__ */ new Map,this.firstGraphFlag=!0,this.version=e,this.config=g(),f()}setGen(e){this.version=e||`gen-2`}defaultStyle(){return`fill:#ffa;stroke: #f66; stroke-width: 3px; stroke-dasharray: 5, 5;fill:#ffa;stroke: #666;`}addSubGraph(e,t,n){let i=e.text.trim(),a=n.text;e===n&&/\s/.exec(n.text)&&(i=void 0);let o=(/* @__PURE__ */ r(e=>{let t={boolean:{},number:{},string:{}},n=[],r;return{nodeList:e.filter(function(e){let i=typeof e;return e.stmt&&e.stmt===`dir`?(r=e.value,!1):e.trim()===``?!1:i in t?t[i].hasOwnProperty(e)?!1:t[i][e]=!0:!n.includes(e)&&n.push(e)}),dir:r}},`uniq`))(t.flat()),s=o.nodeList,l=o.dir,u=g().flowchart??{};if(l??=u.inheritDir?this.getDirection()??g().direction??void 0:void 0,this.version===`gen-1`)for(let e=0;e<s.length;e++)s[e]=this.lookUpDomId(s[e]);i??=`subGraph`+this.subCount,a||=``,a=this.sanitizeText(a),this.subCount+=1;let d={id:i,nodes:s,title:a.trim(),classes:[],dir:l,labelType:this.sanitizeNodeLabelType(n?.type)};return c.info(`Adding`,d.id,d.nodes,d.dir),d.nodes=this.makeUniq(d,this.subGraphs).nodes,this.subGraphs.push(d),this.subGraphLookup.set(i,d),i}getPosForId(e){for(let[t,n]of this.subGraphs.entries())if(n.id===e)return t;return-1}indexNodes2(e,t){let n=this.subGraphs[t].nodes;if(this.secCount+=1,this.secCount>2e3)return{result:!1,count:0};if(this.posCrossRef[this.secCount]=t,this.subGraphs[t].id===e)return{result:!0,count:0};let r=0,i=1;for(;r<n.length;){let t=this.getPosForId(n[r]);if(t>=0){let n=this.indexNodes2(e,t);if(n.result)return{result:!0,count:i+n.count};i+=n.count}r+=1}return{result:!1,count:i}}getDepthFirstPos(e){return this.posCrossRef[e]}indexNodes(){this.secCount=-1,this.subGraphs.length>0&&this.indexNodes2(`none`,this.subGraphs.length-1)}getSubGraphs(){return this.subGraphs}firstGraph(){return this.firstGraphFlag?(this.firstGraphFlag=!1,!0):!1}destructStartLink(e){let t=e.trim(),n=`arrow_open`;switch(t[0]){case`<`:n=`arrow_point`,t=t.slice(1);break;case`x`:n=`arrow_cross`,t=t.slice(1);break;case`o`:n=`arrow_circle`,t=t.slice(1)}let r=`normal`;return t.includes(`=`)&&(r=`thick`),t.includes(`.`)&&(r=`dotted`),{type:n,stroke:r}}countChar(e,t){let n=t.length,r=0;for(let i=0;i<n;++i)t[i]===e&&++r;return r}destructEndLink(e){let t=e.trim(),n=t.slice(0,-1),r=`arrow_open`;switch(t.slice(-1)){case`x`:r=`arrow_cross`,t.startsWith(`x`)&&(r=`double_`+r,n=n.slice(1));break;case`>`:r=`arrow_point`,t.startsWith(`<`)&&(r=`double_`+r,n=n.slice(1));break;case`o`:r=`arrow_circle`,t.startsWith(`o`)&&(r=`double_`+r,n=n.slice(1))}let i=`normal`,a=n.length-1;n.startsWith(`=`)&&(i=`thick`),n.startsWith(`~`)&&(i=`invisible`);let o=this.countChar(`.`,n);return o&&(i=`dotted`,a=o),{type:r,stroke:i,length:a}}destructLink(e,t){let n=this.destructEndLink(e),r;if(t){if(r=this.destructStartLink(t),r.stroke!==n.stroke)return{type:`INVALID`,stroke:`INVALID`};if(r.type===`arrow_open`)r.type=n.type;else{if(r.type!==n.type)return{type:`INVALID`,stroke:`INVALID`};r.type=`double_`+r.type}return r.type===`double_arrow`&&(r.type=`double_arrow_point`),r.length=n.length,r}return n}exists(e,t){for(let n of e)if(n.nodes.includes(t))return!0;return!1}makeUniq(e,t){let n=[];return e.nodes.forEach((r,i)=>{this.exists(t,r)||n.push(e.nodes[i])}),{nodes:n}}getTypeFromVertex(e){if(e.img)return`imageSquare`;if(e.icon)return e.form===`circle`?`iconCircle`:e.form===`square`?`iconSquare`:e.form===`rounded`?`iconRounded`:`icon`;switch(e.type){case`square`:case void 0:return`squareRect`;case`round`:return`roundedRect`;case`ellipse`:return`ellipse`;default:return e.type}}findNode(e,t){return e.find(e=>e.id===t)}destructEdgeType(e){let t=`none`,n=`arrow_point`;switch(e){case`arrow_point`:case`arrow_circle`:case`arrow_cross`:n=e;break;case`double_arrow_point`:case`double_arrow_circle`:case`double_arrow_cross`:t=e.replace(`double_`,``),n=t}return{arrowTypeStart:t,arrowTypeEnd:n}}addNodeFromVertex(e,t,n,r,i,a){let o=n.get(e.id),s=r.get(e.id)??!1,c=this.findNode(t,e.id);if(c)c.cssStyles=e.styles,c.cssCompiledStyles=this.getCompiledStyles(e.classes),c.cssClasses=e.classes.join(` `);else{let n={id:e.id,label:e.text,labelType:e.labelType,labelStyle:``,parentId:o,padding:i.flowchart?.padding||8,cssStyles:e.styles,cssCompiledStyles:this.getCompiledStyles([`default`,`node`,...e.classes]),cssClasses:`default `+e.classes.join(` `),dir:e.dir,domId:e.domId,look:a,link:e.link,linkTarget:e.linkTarget,tooltip:this.getTooltip(e.id),icon:e.icon,pos:e.pos,img:e.img,assetWidth:e.assetWidth,assetHeight:e.assetHeight,constraint:e.constraint};s?t.push({...n,isGroup:!0,shape:`rect`}):t.push({...n,isGroup:!1,shape:this.getTypeFromVertex(e)})}}getCompiledStyles(e){let t=[];for(let n of e){let e=this.classes.get(n);e?.styles&&(t=[...t,...e.styles??[]].map(e=>e.trim())),e?.textStyles&&(t=[...t,...e.textStyles??[]].map(e=>e.trim()))}return t}getData(){let e=g(),t=[],n=[],i=this.getSubGraphs(),a=/* @__PURE__ */ new Map,o=/* @__PURE__ */ new Map,s=/* @__PURE__ */ new Map;for(let e of i)for(let t of e.nodes)this.subGraphLookup.has(t)&&s.set(t,e.id);let c=/* @__PURE__ */ r(e=>this.subGraphLookup.get(e)?.metadata?.view===`collapsed`,`isCollapsed`),l=/* @__PURE__ */ r(e=>{let t,n=/* @__PURE__ */ new Set,r=e;for(;r!==void 0&&!n.has(r);)n.add(r),c(r)&&(t=r),r=s.get(r);return t},`outermostCollapsed`),u=/* @__PURE__ */ new Set,d=/* @__PURE__ */ new Map;for(let e of i){let t=l(e.id);if(t!==void 0){e.id!==t&&(u.add(e.id),d.set(e.id,t));for(let n of e.nodes)n!==t&&(u.add(n),d.set(n,t))}}for(let e=i.length-1;e>=0;e--){let t=i[e];if(!u.has(t.id)){t.nodes.length>0&&o.set(t.id,!0);for(let e of t.nodes)a.set(e,t.id)}}for(let n=i.length-1;n>=0;n--){let r=i[n];u.has(r.id)||(r.metadata?.view===`collapsed`?t.push({id:r.id,label:r.title,labelStyle:``,labelType:r.labelType,parentId:a.get(r.id),padding:8,cssCompiledStyles:this.getCompiledStyles(r.classes),cssClasses:r.classes.join(` `),shape:`collapsedGroup`,dir:r.dir,isGroup:!1,look:e.look}):t.push({id:r.id,label:r.title,labelStyle:``,labelType:r.labelType,parentId:a.get(r.id),padding:8,cssCompiledStyles:this.getCompiledStyles(r.classes),cssClasses:r.classes.join(` `),shape:`rect`,dir:r.dir,isGroup:!0,look:e.look}))}this.getVertices().forEach(n=>{u.has(n.id)||this.addNodeFromVertex(n,t,a,o,e,e.look||`classic`)});let f=this.getEdges();return f.forEach((t,r)=>{let{arrowTypeStart:i,arrowTypeEnd:a}=this.destructEdgeType(t.type),o=[...f.defaultStyle??[]],s=d.get(t.start)??t.start,c=d.get(t.end)??t.end;if(s===c&&(d.has(t.start)||d.has(t.end)))return;t.style&&o.push(...t.style);let l={id:x(s,c,{counter:r,prefix:`L`},t.id),isUserDefinedId:t.isUserDefinedId,start:s,end:c,type:t.type??`normal`,label:t.text,labelType:t.labelType,labelpos:`c`,thickness:t.stroke,minlen:t.length,classes:t?.stroke===`invisible`?``:`edge-thickness-normal edge-pattern-solid flowchart-link`,arrowTypeStart:t?.stroke===`invisible`||t?.type===`arrow_open`?`none`:i,arrowTypeEnd:t?.stroke===`invisible`||t?.type===`arrow_open`?`none`:a,arrowheadStyle:`fill: #333`,cssCompiledStyles:this.getCompiledStyles(t.classes),labelStyle:o,style:o,pattern:t.stroke,look:e.look,animate:t.animate,animation:t.animation,curve:t.interpolate||this.edges.defaultInterpolate||e.flowchart?.curve};n.push(l)}),{nodes:t,edges:n,other:{},config:e}}defaultConfig(){return ee.flowchart}},ge={getClasses:/* @__PURE__ */ r(function(e,t){return t.db.getClasses()},`getClasses`),draw:/* @__PURE__ */ r(async function(e,t,n,r){c.info(`REF0:`),c.info(`Drawing state diagram (v2)`,t);let{securityLevel:i,flowchart:a,layout:o}=g();r.db.setDiagramId(t),c.debug(`Before getData: `);let s=r.db.getData();c.debug(`Data: `,s);let l=E(t,i),u=r.db.getDirection();s.type=r.type,s.layoutAlgorithm=ue(o),s.layoutAlgorithm===`dagre`&&o===`elk`&&c.warn("flowchart-elk was moved to an external package in Mermaid v11. Please refer [release notes](https://github.com/mermaid-js/mermaid/releases/tag/v11.0.0) for more details. This diagram will be rendered using `dagre` layout as a fallback."),s.direction=u,s.nodeSpacing=a?.nodeSpacing||50,s.rankSpacing=a?.rankSpacing||50,s.markers=[`point`,`circle`,`cross`],s.diagramId=t,c.debug(`REF1:`,s),await k(s,l);let d=s.config.flowchart?.diagramPadding??8;b.insertTitle(l,`flowchartTitleText`,a?.titleTopMargin||0,r.db.getDiagramTitle()),D(l,d,`flowchart`,a?.useMaxWidth||!1)},`draw`)},j=(function(){var e=/* @__PURE__ */ r(function(e,t,n,r){for(n||={},r=e.length;r--;n[e[r]]=t);return n},`o`),t=[1,4],n=[1,3],i=[1,5],a=[1,8,9,10,11,27,34,36,38,44,60,84,85,86,87,88,89,102,105,106,109,111,114,115,116,121,122,123,124,125],o=[2,2],s=[1,13],c=[1,14],l=[1,15],u=[1,16],d=[1,23],f=[1,25],p=[1,26],ee=[1,27],m=[1,50],h=[1,49],te=[1,29],ne=[1,30],re=[1,31],ie=[1,32],ae=[1,33],g=[1,45],_=[1,47],v=[1,43],y=[1,48],b=[1,44],x=[1,51],S=[1,46],C=[1,52],w=[1,53],T=[1,34],oe=[1,35],se=[1,36],ce=[1,37],le=[1,38],E=[1,58],D=[1,8,9,10,11,27,32,34,36,38,44,60,84,85,86,87,88,89,102,105,106,109,111,114,115,116,121,122,123,124,125],O=[1,62],k=[1,61],A=[1,63],ue=[8,9,11,75,77,78],de=[1,79],fe=[1,92],pe=[1,97],me=[1,96],he=[1,93],ge=[1,89],j=[1,95],M=[1,91],N=[1,98],_e=[1,94],ve=[1,99],P=[1,90],F=[8,9,10,11,40,75,77,78],I=[8,9,10,11,40,46,75,77,78],L=[8,9,10,11,29,40,44,46,48,50,52,54,56,58,60,63,65,67,68,70,75,77,78,89,102,105,106,109,111,114,115,116],ye=[8,9,11,44,60,75,77,78,89,102,105,106,109,111,114,115,116],be=[44,60,89,102,105,106,109,111,114,115,116],xe=[1,122],Se=[1,123],Ce=[1,125],we=[1,124],Te=[44,60,62,74,89,102,105,106,109,111,114,115,116],Ee=[1,134],De=[1,148],Oe=[1,149],ke=[1,150],Ae=[1,151],je=[1,136],Me=[1,138],Ne=[1,142],Pe=[1,143],Fe=[1,144],Ie=[1,145],Le=[1,146],Re=[1,147],ze=[1,152],Be=[1,153],Ve=[1,132],He=[1,133],Ue=[1,140],We=[1,135],Ge=[1,139],Ke=[1,137],qe=[8,9,10,11,27,32,34,36,38,44,60,84,85,86,87,88,89,102,105,106,109,111,114,115,116,121,122,123,124,125],Je=[1,155],Ye=[1,157],R=[8,9,11],z=[8,9,10,11,14,44,60,89,105,106,109,111,114,115,116],B=[1,177],V=[1,173],H=[1,174],U=[1,178],W=[1,175],G=[1,176],Xe=[77,116,119],K=[8,9,10,11,12,14,27,29,32,44,60,75,84,85,86,87,88,89,90,105,109,111,114,115,116],Ze=[10,106],Qe=[31,49,51,53,55,57,62,64,66,67,69,71,116,117,118],q=[1,248],J=[1,246],Y=[1,250],X=[1,244],Z=[1,245],$e=[1,247],et=[1,249],Q=[1,251],tt=[1,269],nt=[8,9,11,106],$=[8,9,10,11,60,84,105,106,109,110,111,112],rt={trace:/* @__PURE__ */ r(function(){},`trace`),yy:{},symbols_:{error:2,start:3,graphConfig:4,document:5,line:6,statement:7,SEMI:8,NEWLINE:9,SPACE:10,EOF:11,GRAPH:12,NODIR:13,DIR:14,FirstStmtSeparator:15,ending:16,endToken:17,spaceList:18,spaceListNewline:19,vertexStatement:20,separator:21,styleStatement:22,linkStyleStatement:23,classDefStatement:24,classStatement:25,clickStatement:26,subgraph:27,textNoTags:28,SQS:29,text:30,SQE:31,end:32,direction:33,acc_title:34,acc_title_value:35,acc_descr:36,acc_descr_value:37,acc_descr_multiline_value:38,shapeData:39,SHAPE_DATA:40,link:41,node:42,styledVertex:43,AMP:44,vertex:45,STYLE_SEPARATOR:46,idString:47,DOUBLECIRCLESTART:48,DOUBLECIRCLEEND:49,PS:50,PE:51,"(-":52,"-)":53,STADIUMSTART:54,STADIUMEND:55,SUBROUTINESTART:56,SUBROUTINEEND:57,VERTEX_WITH_PROPS_START:58,"NODE_STRING[field]":59,COLON:60,"NODE_STRING[value]":61,PIPE:62,CYLINDERSTART:63,CYLINDEREND:64,DIAMOND_START:65,DIAMOND_STOP:66,TAGEND:67,TRAPSTART:68,TRAPEND:69,INVTRAPSTART:70,INVTRAPEND:71,linkStatement:72,arrowText:73,TESTSTR:74,START_LINK:75,edgeText:76,LINK:77,LINK_ID:78,edgeTextToken:79,STR:80,MD_STR:81,textToken:82,keywords:83,STYLE:84,LINKSTYLE:85,CLASSDEF:86,CLASS:87,CLICK:88,DOWN:89,UP:90,textNoTagsToken:91,stylesOpt:92,"idString[vertex]":93,"idString[class]":94,CALLBACKNAME:95,CALLBACKARGS:96,HREF:97,LINK_TARGET:98,"STR[link]":99,"STR[tooltip]":100,alphaNum:101,DEFAULT:102,numList:103,INTERPOLATE:104,NUM:105,COMMA:106,style:107,styleComponent:108,NODE_STRING:109,UNIT:110,BRKT:111,PCT:112,idStringToken:113,MINUS:114,MULT:115,UNICODE_TEXT:116,TEXT:117,TAGSTART:118,EDGE_TEXT:119,alphaNumToken:120,direction_tb:121,direction_bt:122,direction_rl:123,direction_lr:124,direction_td:125,$accept:0,$end:1},terminals_:{2:`error`,8:`SEMI`,9:`NEWLINE`,10:`SPACE`,11:`EOF`,12:`GRAPH`,13:`NODIR`,14:`DIR`,27:`subgraph`,29:`SQS`,31:`SQE`,32:`end`,34:`acc_title`,35:`acc_title_value`,36:`acc_descr`,37:`acc_descr_value`,38:`acc_descr_multiline_value`,40:`SHAPE_DATA`,44:`AMP`,46:`STYLE_SEPARATOR`,48:`DOUBLECIRCLESTART`,49:`DOUBLECIRCLEEND`,50:`PS`,51:`PE`,52:`(-`,53:`-)`,54:`STADIUMSTART`,55:`STADIUMEND`,56:`SUBROUTINESTART`,57:`SUBROUTINEEND`,58:`VERTEX_WITH_PROPS_START`,59:`NODE_STRING[field]`,60:`COLON`,61:`NODE_STRING[value]`,62:`PIPE`,63:`CYLINDERSTART`,64:`CYLINDEREND`,65:`DIAMOND_START`,66:`DIAMOND_STOP`,67:`TAGEND`,68:`TRAPSTART`,69:`TRAPEND`,70:`INVTRAPSTART`,71:`INVTRAPEND`,74:`TESTSTR`,75:`START_LINK`,77:`LINK`,78:`LINK_ID`,80:`STR`,81:`MD_STR`,84:`STYLE`,85:`LINKSTYLE`,86:`CLASSDEF`,87:`CLASS`,88:`CLICK`,89:`DOWN`,90:`UP`,93:`idString[vertex]`,94:`idString[class]`,95:`CALLBACKNAME`,96:`CALLBACKARGS`,97:`HREF`,98:`LINK_TARGET`,99:`STR[link]`,100:`STR[tooltip]`,102:`DEFAULT`,104:`INTERPOLATE`,105:`NUM`,106:`COMMA`,109:`NODE_STRING`,110:`UNIT`,111:`BRKT`,112:`PCT`,114:`MINUS`,115:`MULT`,116:`UNICODE_TEXT`,117:`TEXT`,118:`TAGSTART`,119:`EDGE_TEXT`,121:`direction_tb`,122:`direction_bt`,123:`direction_rl`,124:`direction_lr`,125:`direction_td`},productions_:[0,[3,2],[5,0],[5,2],[6,1],[6,1],[6,1],[6,1],[6,1],[4,2],[4,2],[4,2],[4,3],[16,2],[16,1],[17,1],[17,1],[17,1],[15,1],[15,1],[15,2],[19,2],[19,2],[19,1],[19,1],[18,2],[18,1],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,9],[7,6],[7,4],[7,1],[7,2],[7,2],[7,1],[21,1],[21,1],[21,1],[39,2],[39,1],[20,4],[20,3],[20,4],[20,2],[20,2],[20,1],[42,1],[42,6],[42,5],[43,1],[43,3],[45,4],[45,4],[45,6],[45,4],[45,4],[45,4],[45,8],[45,4],[45,4],[45,4],[45,6],[45,4],[45,4],[45,4],[45,4],[45,4],[45,1],[41,2],[41,3],[41,3],[41,1],[41,3],[41,4],[76,1],[76,2],[76,1],[76,1],[72,1],[72,2],[73,3],[30,1],[30,2],[30,1],[30,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[28,1],[28,2],[28,1],[28,1],[24,5],[25,5],[26,2],[26,4],[26,3],[26,5],[26,3],[26,5],[26,5],[26,7],[26,2],[26,4],[26,2],[26,4],[26,4],[26,6],[22,5],[23,5],[23,5],[23,9],[23,9],[23,7],[23,7],[103,1],[103,3],[92,1],[92,3],[107,1],[107,2],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[113,1],[113,1],[113,1],[113,1],[113,1],[113,1],[113,1],[113,1],[113,1],[113,1],[113,1],[82,1],[82,1],[82,1],[82,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[79,1],[79,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[47,1],[47,2],[101,1],[101,2],[33,1],[33,1],[33,1],[33,1],[33,1]],performAction:/* @__PURE__ */ r(function(e,t,n,r,i,a,o){var s=a.length-1;switch(i){case 2:this.$=[];break;case 3:(!Array.isArray(a[s])||a[s].length>0)&&a[s-1].push(a[s]),this.$=a[s-1];break;case 4:case 183:this.$=a[s];break;case 11:r.setDirection(`TB`),this.$=`TB`;break;case 12:r.setDirection(a[s-1]),this.$=a[s-1];break;case 27:this.$=a[s-1].nodes;break;case 28:case 29:case 30:case 31:case 32:this.$=[];break;case 33:this.$=r.addSubGraph(a[s-6],a[s-1],a[s-4]);break;case 34:this.$=r.addSubGraph(a[s-3],a[s-1],a[s-3]);break;case 35:this.$=r.addSubGraph(void 0,a[s-1],void 0);break;case 37:this.$=a[s].trim(),r.setAccTitle(this.$);break;case 38:case 39:this.$=a[s].trim(),r.setAccDescription(this.$);break;case 43:this.$=a[s-1]+a[s];break;case 44:this.$=a[s];break;case 45:r.addVertex(a[s-1][a[s-1].length-1],void 0,void 0,void 0,void 0,void 0,void 0,a[s]),r.addLink(a[s-3].stmt,a[s-1],a[s-2]),this.$={stmt:a[s-1],nodes:a[s-1].concat(a[s-3].nodes)};break;case 46:r.addLink(a[s-2].stmt,a[s],a[s-1]),this.$={stmt:a[s],nodes:a[s].concat(a[s-2].nodes)};break;case 47:r.addLink(a[s-3].stmt,a[s-1],a[s-2]),this.$={stmt:a[s-1],nodes:a[s-1].concat(a[s-3].nodes)};break;case 48:this.$={stmt:a[s-1],nodes:a[s-1]};break;case 49:r.addVertex(a[s-1][a[s-1].length-1],void 0,void 0,void 0,void 0,void 0,void 0,a[s]),this.$={stmt:a[s-1],nodes:a[s-1],shapeData:a[s]};break;case 50:this.$={stmt:a[s],nodes:a[s]};break;case 51:this.$=[a[s]];break;case 52:r.addVertex(a[s-5][a[s-5].length-1],void 0,void 0,void 0,void 0,void 0,void 0,a[s-4]),this.$=a[s-5].concat(a[s]);break;case 53:this.$=a[s-4].concat(a[s]);break;case 54:this.$=a[s];break;case 55:this.$=a[s-2],r.setClass(a[s-2],a[s]);break;case 56:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],`square`);break;case 57:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],`doublecircle`);break;case 58:this.$=a[s-5],r.addVertex(a[s-5],a[s-2],`circle`);break;case 59:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],`ellipse`);break;case 60:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],`stadium`);break;case 61:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],`subroutine`);break;case 62:this.$=a[s-7],r.addVertex(a[s-7],a[s-1],`rect`,void 0,void 0,void 0,Object.fromEntries([[a[s-5],a[s-3]]]));break;case 63:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],`cylinder`);break;case 64:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],`round`);break;case 65:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],`diamond`);break;case 66:this.$=a[s-5],r.addVertex(a[s-5],a[s-2],`hexagon`);break;case 67:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],`odd`);break;case 68:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],`trapezoid`);break;case 69:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],`inv_trapezoid`);break;case 70:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],`lean_right`);break;case 71:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],`lean_left`);break;case 72:this.$=a[s],r.addVertex(a[s]);break;case 73:a[s-1].text=a[s],this.$=a[s-1];break;case 74:case 75:a[s-2].text=a[s-1],this.$=a[s-2];break;case 76:this.$=a[s];break;case 77:var c=r.destructLink(a[s],a[s-2]);this.$={type:c.type,stroke:c.stroke,length:c.length,text:a[s-1]};break;case 78:var c=r.destructLink(a[s],a[s-2]);this.$={type:c.type,stroke:c.stroke,length:c.length,text:a[s-1],id:a[s-3]};break;case 79:this.$={text:a[s],type:`text`};break;case 80:this.$={text:a[s-1].text+``+a[s],type:a[s-1].type};break;case 81:this.$={text:a[s],type:`string`};break;case 82:this.$={text:a[s],type:`markdown`};break;case 83:var c=r.destructLink(a[s]);this.$={type:c.type,stroke:c.stroke,length:c.length};break;case 84:var c=r.destructLink(a[s]);this.$={type:c.type,stroke:c.stroke,length:c.length,id:a[s-1]};break;case 85:this.$=a[s-1];break;case 86:this.$={text:a[s],type:`text`};break;case 87:this.$={text:a[s-1].text+``+a[s],type:a[s-1].type};break;case 88:this.$={text:a[s],type:`string`};break;case 89:case 104:this.$={text:a[s],type:`markdown`};break;case 101:this.$={text:a[s],type:`text`};break;case 102:this.$={text:a[s-1].text+``+a[s],type:a[s-1].type};break;case 103:this.$={text:a[s],type:`text`};break;case 105:this.$=a[s-4],r.addClass(a[s-2],a[s]);break;case 106:this.$=a[s-4],r.setClass(a[s-2],a[s]);break;case 107:case 115:this.$=a[s-1],r.setClickEvent(a[s-1],a[s]);break;case 108:case 116:this.$=a[s-3],r.setClickEvent(a[s-3],a[s-2]),r.setTooltip(a[s-3],a[s]);break;case 109:this.$=a[s-2],r.setClickEvent(a[s-2],a[s-1],a[s]);break;case 110:this.$=a[s-4],r.setClickEvent(a[s-4],a[s-3],a[s-2]),r.setTooltip(a[s-4],a[s]);break;case 111:this.$=a[s-2],r.setLink(a[s-2],a[s]);break;case 112:this.$=a[s-4],r.setLink(a[s-4],a[s-2]),r.setTooltip(a[s-4],a[s]);break;case 113:this.$=a[s-4],r.setLink(a[s-4],a[s-2],a[s]);break;case 114:this.$=a[s-6],r.setLink(a[s-6],a[s-4],a[s]),r.setTooltip(a[s-6],a[s-2]);break;case 117:this.$=a[s-1],r.setLink(a[s-1],a[s]);break;case 118:this.$=a[s-3],r.setLink(a[s-3],a[s-2]),r.setTooltip(a[s-3],a[s]);break;case 119:this.$=a[s-3],r.setLink(a[s-3],a[s-2],a[s]);break;case 120:this.$=a[s-5],r.setLink(a[s-5],a[s-4],a[s]),r.setTooltip(a[s-5],a[s-2]);break;case 121:this.$=a[s-4],r.addVertex(a[s-2],void 0,void 0,a[s]);break;case 122:this.$=a[s-4],r.updateLink([a[s-2]],a[s]);break;case 123:this.$=a[s-4],r.updateLink(a[s-2],a[s]);break;case 124:this.$=a[s-8],r.updateLinkInterpolate([a[s-6]],a[s-2]),r.updateLink([a[s-6]],a[s]);break;case 125:this.$=a[s-8],r.updateLinkInterpolate(a[s-6],a[s-2]),r.updateLink(a[s-6],a[s]);break;case 126:this.$=a[s-6],r.updateLinkInterpolate([a[s-4]],a[s]);break;case 127:this.$=a[s-6],r.updateLinkInterpolate(a[s-4],a[s]);break;case 128:case 130:this.$=[a[s]];break;case 129:case 131:a[s-2].push(a[s]),this.$=a[s-2];break;case 133:this.$=a[s-1]+a[s];break;case 181:this.$=a[s];break;case 182:this.$=a[s-1]+``+a[s];break;case 184:this.$=a[s-1]+``+a[s];break;case 185:this.$={stmt:`dir`,value:`TB`};break;case 186:this.$={stmt:`dir`,value:`BT`};break;case 187:this.$={stmt:`dir`,value:`RL`};break;case 188:this.$={stmt:`dir`,value:`LR`};break;case 189:this.$={stmt:`dir`,value:`TD`}}},`anonymous`),table:[{3:1,4:2,9:t,10:n,12:i},{1:[3]},e(a,o,{5:6}),{4:7,9:t,10:n,12:i},{4:8,9:t,10:n,12:i},{13:[1,9],14:[1,10]},{1:[2,1],6:11,7:12,8:s,9:c,10:l,11:u,20:17,22:18,23:19,24:20,25:21,26:22,27:d,33:24,34:f,36:p,38:ee,42:28,43:39,44:m,45:40,47:41,60:h,84:te,85:ne,86:re,87:ie,88:ae,89:g,102:_,105:v,106:y,109:b,111:x,113:42,114:S,115:C,116:w,121:T,122:oe,123:se,124:ce,125:le},e(a,[2,9]),e(a,[2,10]),e(a,[2,11]),{8:[1,55],9:[1,56],10:E,15:54,18:57},e(D,[2,3]),e(D,[2,4]),e(D,[2,5]),e(D,[2,6]),e(D,[2,7]),e(D,[2,8]),{8:O,9:k,11:A,21:59,41:60,72:64,75:[1,65],77:[1,67],78:[1,66]},{8:O,9:k,11:A,21:68},{8:O,9:k,11:A,21:69},{8:O,9:k,11:A,21:70},{8:O,9:k,11:A,21:71},{8:O,9:k,11:A,21:72},{8:O,9:k,10:[1,73],11:A,21:74},e(D,[2,36]),{35:[1,75]},{37:[1,76]},e(D,[2,39]),e(ue,[2,50],{18:77,39:78,10:E,40:de}),{10:[1,80]},{10:[1,81]},{10:[1,82]},{10:[1,83]},{14:fe,44:pe,60:me,80:[1,87],89:he,95:[1,84],97:[1,85],101:86,105:ge,106:j,109:M,111:N,114:_e,115:ve,116:P,120:88},e(D,[2,185]),e(D,[2,186]),e(D,[2,187]),e(D,[2,188]),e(D,[2,189]),e(F,[2,51]),e(F,[2,54],{46:[1,100]}),e(I,[2,72],{113:113,29:[1,101],44:m,48:[1,102],50:[1,103],52:[1,104],54:[1,105],56:[1,106],58:[1,107],60:h,63:[1,108],65:[1,109],67:[1,110],68:[1,111],70:[1,112],89:g,102:_,105:v,106:y,109:b,111:x,114:S,115:C,116:w}),e(L,[2,181]),e(L,[2,142]),e(L,[2,143]),e(L,[2,144]),e(L,[2,145]),e(L,[2,146]),e(L,[2,147]),e(L,[2,148]),e(L,[2,149]),e(L,[2,150]),e(L,[2,151]),e(L,[2,152]),e(a,[2,12]),e(a,[2,18]),e(a,[2,19]),{9:[1,114]},e(ye,[2,26],{18:115,10:E}),e(D,[2,27]),{42:116,43:39,44:m,45:40,47:41,60:h,89:g,102:_,105:v,106:y,109:b,111:x,113:42,114:S,115:C,116:w},e(D,[2,40]),e(D,[2,41]),e(D,[2,42]),e(be,[2,76],{73:117,62:[1,119],74:[1,118]}),{76:120,79:121,80:xe,81:Se,116:Ce,119:we},{75:[1,126],77:[1,127]},e(Te,[2,83]),e(D,[2,28]),e(D,[2,29]),e(D,[2,30]),e(D,[2,31]),e(D,[2,32]),{10:Ee,12:De,14:Oe,27:ke,28:128,32:Ae,44:je,60:Me,75:Ne,80:[1,130],81:[1,131],83:141,84:Pe,85:Fe,86:Ie,87:Le,88:Re,89:ze,90:Be,91:129,105:Ve,109:He,111:Ue,114:We,115:Ge,116:Ke},e(qe,o,{5:154}),e(D,[2,37]),e(D,[2,38]),e(ue,[2,48],{44:Je}),e(ue,[2,49],{18:156,10:E,40:Ye}),e(F,[2,44]),{44:m,47:158,60:h,89:g,102:_,105:v,106:y,109:b,111:x,113:42,114:S,115:C,116:w},{102:[1,159],103:160,105:[1,161]},{44:m,47:162,60:h,89:g,102:_,105:v,106:y,109:b,111:x,113:42,114:S,115:C,116:w},{44:m,47:163,60:h,89:g,102:_,105:v,106:y,109:b,111:x,113:42,114:S,115:C,116:w},e(R,[2,107],{10:[1,164],96:[1,165]}),{80:[1,166]},e(R,[2,115],{120:168,10:[1,167],14:fe,44:pe,60:me,89:he,105:ge,106:j,109:M,111:N,114:_e,115:ve,116:P}),e(R,[2,117],{10:[1,169]}),e(z,[2,183]),e(z,[2,170]),e(z,[2,171]),e(z,[2,172]),e(z,[2,173]),e(z,[2,174]),e(z,[2,175]),e(z,[2,176]),e(z,[2,177]),e(z,[2,178]),e(z,[2,179]),e(z,[2,180]),{44:m,47:170,60:h,89:g,102:_,105:v,106:y,109:b,111:x,113:42,114:S,115:C,116:w},{30:171,67:B,80:V,81:H,82:172,116:U,117:W,118:G},{30:179,67:B,80:V,81:H,82:172,116:U,117:W,118:G},{30:181,50:[1,180],67:B,80:V,81:H,82:172,116:U,117:W,118:G},{30:182,67:B,80:V,81:H,82:172,116:U,117:W,118:G},{30:183,67:B,80:V,81:H,82:172,116:U,117:W,118:G},{30:184,67:B,80:V,81:H,82:172,116:U,117:W,118:G},{109:[1,185]},{30:186,67:B,80:V,81:H,82:172,116:U,117:W,118:G},{30:187,65:[1,188],67:B,80:V,81:H,82:172,116:U,117:W,118:G},{30:189,67:B,80:V,81:H,82:172,116:U,117:W,118:G},{30:190,67:B,80:V,81:H,82:172,116:U,117:W,118:G},{30:191,67:B,80:V,81:H,82:172,116:U,117:W,118:G},e(L,[2,182]),e(a,[2,20]),e(ye,[2,25]),e(ue,[2,46],{39:192,18:193,10:E,40:de}),e(be,[2,73],{10:[1,194]}),{10:[1,195]},{30:196,67:B,80:V,81:H,82:172,116:U,117:W,118:G},{77:[1,197],79:198,116:Ce,119:we},e(Xe,[2,79]),e(Xe,[2,81]),e(Xe,[2,82]),e(Xe,[2,168]),e(Xe,[2,169]),{76:199,79:121,80:xe,81:Se,116:Ce,119:we},e(Te,[2,84]),{8:O,9:k,10:Ee,11:A,12:De,14:Oe,21:201,27:ke,29:[1,200],32:Ae,44:je,60:Me,75:Ne,83:141,84:Pe,85:Fe,86:Ie,87:Le,88:Re,89:ze,90:Be,91:202,105:Ve,109:He,111:Ue,114:We,115:Ge,116:Ke},e(K,[2,101]),e(K,[2,103]),e(K,[2,104]),e(K,[2,157]),e(K,[2,158]),e(K,[2,159]),e(K,[2,160]),e(K,[2,161]),e(K,[2,162]),e(K,[2,163]),e(K,[2,164]),e(K,[2,165]),e(K,[2,166]),e(K,[2,167]),e(K,[2,90]),e(K,[2,91]),e(K,[2,92]),e(K,[2,93]),e(K,[2,94]),e(K,[2,95]),e(K,[2,96]),e(K,[2,97]),e(K,[2,98]),e(K,[2,99]),e(K,[2,100]),{6:11,7:12,8:s,9:c,10:l,11:u,20:17,22:18,23:19,24:20,25:21,26:22,27:d,32:[1,203],33:24,34:f,36:p,38:ee,42:28,43:39,44:m,45:40,47:41,60:h,84:te,85:ne,86:re,87:ie,88:ae,89:g,102:_,105:v,106:y,109:b,111:x,113:42,114:S,115:C,116:w,121:T,122:oe,123:se,124:ce,125:le},{10:E,18:204},{44:[1,205]},e(F,[2,43]),{10:[1,206],44:m,60:h,89:g,102:_,105:v,106:y,109:b,111:x,113:113,114:S,115:C,116:w},{10:[1,207]},{10:[1,208],106:[1,209]},e(Ze,[2,128]),{10:[1,210],44:m,60:h,89:g,102:_,105:v,106:y,109:b,111:x,113:113,114:S,115:C,116:w},{10:[1,211],44:m,60:h,89:g,102:_,105:v,106:y,109:b,111:x,113:113,114:S,115:C,116:w},{80:[1,212]},e(R,[2,109],{10:[1,213]}),e(R,[2,111],{10:[1,214]}),{80:[1,215]},e(z,[2,184]),{80:[1,216],98:[1,217]},e(F,[2,55],{113:113,44:m,60:h,89:g,102:_,105:v,106:y,109:b,111:x,114:S,115:C,116:w}),{31:[1,218],67:B,82:219,116:U,117:W,118:G},e(Qe,[2,86]),e(Qe,[2,88]),e(Qe,[2,89]),e(Qe,[2,153]),e(Qe,[2,154]),e(Qe,[2,155]),e(Qe,[2,156]),{49:[1,220],67:B,82:219,116:U,117:W,118:G},{30:221,67:B,80:V,81:H,82:172,116:U,117:W,118:G},{51:[1,222],67:B,82:219,116:U,117:W,118:G},{53:[1,223],67:B,82:219,116:U,117:W,118:G},{55:[1,224],67:B,82:219,116:U,117:W,118:G},{57:[1,225],67:B,82:219,116:U,117:W,118:G},{60:[1,226]},{64:[1,227],67:B,82:219,116:U,117:W,118:G},{66:[1,228],67:B,82:219,116:U,117:W,118:G},{30:229,67:B,80:V,81:H,82:172,116:U,117:W,118:G},{31:[1,230],67:B,82:219,116:U,117:W,118:G},{67:B,69:[1,231],71:[1,232],82:219,116:U,117:W,118:G},{67:B,69:[1,234],71:[1,233],82:219,116:U,117:W,118:G},e(ue,[2,45],{18:156,10:E,40:Ye}),e(ue,[2,47],{44:Je}),e(be,[2,75]),e(be,[2,74]),{62:[1,235],67:B,82:219,116:U,117:W,118:G},e(be,[2,77]),e(Xe,[2,80]),{77:[1,236],79:198,116:Ce,119:we},{30:237,67:B,80:V,81:H,82:172,116:U,117:W,118:G},e(qe,o,{5:238}),e(K,[2,102]),e(D,[2,35]),{43:239,44:m,45:40,47:41,60:h,89:g,102:_,105:v,106:y,109:b,111:x,113:42,114:S,115:C,116:w},{10:E,18:240},{10:q,60:J,84:Y,92:241,105:X,107:242,108:243,109:Z,110:$e,111:et,112:Q},{10:q,60:J,84:Y,92:252,104:[1,253],105:X,107:242,108:243,109:Z,110:$e,111:et,112:Q},{10:q,60:J,84:Y,92:254,104:[1,255],105:X,107:242,108:243,109:Z,110:$e,111:et,112:Q},{105:[1,256]},{10:q,60:J,84:Y,92:257,105:X,107:242,108:243,109:Z,110:$e,111:et,112:Q},{44:m,47:258,60:h,89:g,102:_,105:v,106:y,109:b,111:x,113:42,114:S,115:C,116:w},e(R,[2,108]),{80:[1,259]},{80:[1,260],98:[1,261]},e(R,[2,116]),e(R,[2,118],{10:[1,262]}),e(R,[2,119]),e(I,[2,56]),e(Qe,[2,87]),e(I,[2,57]),{51:[1,263],67:B,82:219,116:U,117:W,118:G},e(I,[2,64]),e(I,[2,59]),e(I,[2,60]),e(I,[2,61]),{109:[1,264]},e(I,[2,63]),e(I,[2,65]),{66:[1,265],67:B,82:219,116:U,117:W,118:G},e(I,[2,67]),e(I,[2,68]),e(I,[2,70]),e(I,[2,69]),e(I,[2,71]),e([10,44,60,89,102,105,106,109,111,114,115,116],[2,85]),e(be,[2,78]),{31:[1,266],67:B,82:219,116:U,117:W,118:G},{6:11,7:12,8:s,9:c,10:l,11:u,20:17,22:18,23:19,24:20,25:21,26:22,27:d,32:[1,267],33:24,34:f,36:p,38:ee,42:28,43:39,44:m,45:40,47:41,60:h,84:te,85:ne,86:re,87:ie,88:ae,89:g,102:_,105:v,106:y,109:b,111:x,113:42,114:S,115:C,116:w,121:T,122:oe,123:se,124:ce,125:le},e(F,[2,53]),{43:268,44:m,45:40,47:41,60:h,89:g,102:_,105:v,106:y,109:b,111:x,113:42,114:S,115:C,116:w},e(R,[2,121],{106:tt}),e(nt,[2,130],{108:270,10:q,60:J,84:Y,105:X,109:Z,110:$e,111:et,112:Q}),e($,[2,132]),e($,[2,134]),e($,[2,135]),e($,[2,136]),e($,[2,137]),e($,[2,138]),e($,[2,139]),e($,[2,140]),e($,[2,141]),e(R,[2,122],{106:tt}),{10:[1,271]},e(R,[2,123],{106:tt}),{10:[1,272]},e(Ze,[2,129]),e(R,[2,105],{106:tt}),e(R,[2,106],{113:113,44:m,60:h,89:g,102:_,105:v,106:y,109:b,111:x,114:S,115:C,116:w}),e(R,[2,110]),e(R,[2,112],{10:[1,273]}),e(R,[2,113]),{98:[1,274]},{51:[1,275]},{62:[1,276]},{66:[1,277]},{8:O,9:k,11:A,21:278},e(D,[2,34]),e(F,[2,52]),{10:q,60:J,84:Y,105:X,107:279,108:243,109:Z,110:$e,111:et,112:Q},e($,[2,133]),{14:fe,44:pe,60:me,89:he,101:280,105:ge,106:j,109:M,111:N,114:_e,115:ve,116:P,120:88},{14:fe,44:pe,60:me,89:he,101:281,105:ge,106:j,109:M,111:N,114:_e,115:ve,116:P,120:88},{98:[1,282]},e(R,[2,120]),e(I,[2,58]),{30:283,67:B,80:V,81:H,82:172,116:U,117:W,118:G},e(I,[2,66]),e(qe,o,{5:284}),e(nt,[2,131],{108:270,10:q,60:J,84:Y,105:X,109:Z,110:$e,111:et,112:Q}),e(R,[2,126],{120:168,10:[1,285],14:fe,44:pe,60:me,89:he,105:ge,106:j,109:M,111:N,114:_e,115:ve,116:P}),e(R,[2,127],{120:168,10:[1,286],14:fe,44:pe,60:me,89:he,105:ge,106:j,109:M,111:N,114:_e,115:ve,116:P}),e(R,[2,114]),{31:[1,287],67:B,82:219,116:U,117:W,118:G},{6:11,7:12,8:s,9:c,10:l,11:u,20:17,22:18,23:19,24:20,25:21,26:22,27:d,32:[1,288],33:24,34:f,36:p,38:ee,42:28,43:39,44:m,45:40,47:41,60:h,84:te,85:ne,86:re,87:ie,88:ae,89:g,102:_,105:v,106:y,109:b,111:x,113:42,114:S,115:C,116:w,121:T,122:oe,123:se,124:ce,125:le},{10:q,60:J,84:Y,92:289,105:X,107:242,108:243,109:Z,110:$e,111:et,112:Q},{10:q,60:J,84:Y,92:290,105:X,107:242,108:243,109:Z,110:$e,111:et,112:Q},e(I,[2,62]),e(D,[2,33]),e(R,[2,124],{106:tt}),e(R,[2,125],{106:tt})],defaultActions:{},parseError:/* @__PURE__ */ r(function(e,t){if(t.recoverable)this.trace(e);else{var n=Error(e);throw n.hash=t,n}},`parseError`),parse:/* @__PURE__ */ r(function(e){var t=this,n=[0],i=[],a=[null],o=[],s=this.table,c=``,l=0,u=0,d=0,f=2,p=1,ee=o.slice.call(arguments,1),m=Object.create(this.lexer),h={yy:{}};for(var te in this.yy)Object.prototype.hasOwnProperty.call(this.yy,te)&&(h.yy[te]=this.yy[te]);m.setInput(e,h.yy),h.yy.lexer=m,h.yy.parser=this,m.yylloc===void 0&&(m.yylloc={});var ne=m.yylloc;o.push(ne);var re=m.options&&m.options.ranges;this.parseError=typeof h.yy.parseError==`function`?h.yy.parseError:Object.getPrototypeOf(this).parseError;function ie(e){n.length-=2*e,a.length-=e,o.length-=e}r(ie,`popStack`);function ae(){var e=i.pop()||m.lex()||p;return typeof e!=`number`&&(e instanceof Array&&(i=e,e=i.pop()),e=t.symbols_[e]||e),e}r(ae,`lex`);for(var g,_,v,y,b,x={},S,C,w,T;;){if(v=n[n.length-1],this.defaultActions[v]?y=this.defaultActions[v]:(g??=ae(),y=s[v]&&s[v][g]),y===void 0||!y.length||!y[0]){var oe=``;for(S in T=[],s[v])this.terminals_[S]&&S>f&&T.push(`'`+this.terminals_[S]+`'`);oe=m.showPosition?`Parse error on line `+(l+1)+`:
|
|
10
|
+
`+m.showPosition()+`
|
|
11
|
+
Expecting `+T.join(`, `)+`, got '`+(this.terminals_[g]||g)+`'`:`Parse error on line `+(l+1)+`: Unexpected `+(g==p?`end of input`:`'`+(this.terminals_[g]||g)+`'`),this.parseError(oe,{text:m.match,token:this.terminals_[g]||g,line:m.yylineno,loc:ne,expected:T})}if(y[0]instanceof Array&&y.length>1)throw Error(`Parse Error: multiple actions possible at state: `+v+`, token: `+g);switch(y[0]){case 1:n.push(g),a.push(m.yytext),o.push(m.yylloc),n.push(y[1]),g=null,_?(g=_,_=null):(u=m.yyleng,c=m.yytext,l=m.yylineno,ne=m.yylloc,d>0&&d--);break;case 2:if(C=this.productions_[y[1]][1],x.$=a[a.length-C],x._$={first_line:o[o.length-(C||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(C||1)].first_column,last_column:o[o.length-1].last_column},re&&(x._$.range=[o[o.length-(C||1)].range[0],o[o.length-1].range[1]]),b=this.performAction.apply(x,[c,u,l,h.yy,y[1],a,o].concat(ee)),b!==void 0)return b;C&&(n=n.slice(0,-1*C*2),a=a.slice(0,-1*C),o=o.slice(0,-1*C)),n.push(this.productions_[y[1]][0]),a.push(x.$),o.push(x._$),w=s[n[n.length-2]][n[n.length-1]],n.push(w);break;case 3:return!0}}return!0},`parse`)};rt.lexer=/* @__PURE__ */ (function(){return{EOF:1,parseError:/* @__PURE__ */ r(function(e,t){if(this.yy.parser)this.yy.parser.parseError(e,t);else throw Error(e)},`parseError`),setInput:/* @__PURE__ */ r(function(e,t){return this.yy=t||this.yy||{},this._input=e,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match=``,this.conditionStack=[`INITIAL`],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},`setInput`),input:/* @__PURE__ */ r(function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e},`input`),unput:/* @__PURE__ */ r(function(e){var t=e.length,n=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this},`unput`),more:/* @__PURE__ */ r(function(){return this._more=!0,this},`more`),reject:/* @__PURE__ */ r(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError(`Lexical error on line `+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
|
|
12
|
+
`+this.showPosition(),{text:``,token:null,line:this.yylineno});return this},`reject`),less:/* @__PURE__ */ r(function(e){this.unput(this.match.slice(e))},`less`),pastInput:/* @__PURE__ */ r(function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?`...`:``)+e.substr(-20).replace(/\n/g,``)},`pastInput`),upcomingInput:/* @__PURE__ */ r(function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?`...`:``)).replace(/\n/g,``)},`upcomingInput`),showPosition:/* @__PURE__ */ r(function(){var e=this.pastInput(),t=Array(e.length+1).join(`-`);return e+this.upcomingInput()+`
|
|
13
|
+
`+t+`^`},`showPosition`),test_match:/* @__PURE__ */ r(function(e,t){var n,r,i;if(this.options.backtrack_lexer&&(i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(i.yylloc.range=this.yylloc.range.slice(0))),r=e[0].match(/(?:\r\n?|\n).*/g),r&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+e[0].length},this.yytext+=e[0],this.match+=e[0],this.matches=e,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(e[0].length),this.matched+=e[0],n=this.performAction.call(this,this.yy,this,t,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in i)this[a]=i[a];return!1}return!1},`test_match`),next:/* @__PURE__ */ r(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var e,t,n,r;this._more||(this.yytext=``,this.match=``);for(var i=this._currentRules(),a=0;a<i.length;a++)if(n=this._input.match(this.rules[i[a]]),n&&(!t||n[0].length>t[0].length)){if(t=n,r=a,this.options.backtrack_lexer){if(e=this.test_match(n,i[a]),e!==!1)return e;if(this._backtrack){t=!1;continue}return!1}if(!this.options.flex)break}return t?(e=this.test_match(t,i[r]),e!==!1&&e):this._input===``?this.EOF:this.parseError(`Lexical error on line `+(this.yylineno+1)+`. Unrecognized text.
|
|
14
|
+
`+this.showPosition(),{text:``,token:null,line:this.yylineno})},`next`),lex:/* @__PURE__ */ r(function(){return this.next()||this.lex()},`lex`),begin:/* @__PURE__ */ r(function(e){this.conditionStack.push(e)},`begin`),popState:/* @__PURE__ */ r(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},`popState`),_currentRules:/* @__PURE__ */ r(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},`_currentRules`),topState:/* @__PURE__ */ r(function(e){return e=this.conditionStack.length-1-Math.abs(e||0),e>=0?this.conditionStack[e]:`INITIAL`},`topState`),pushState:/* @__PURE__ */ r(function(e){this.begin(e)},`pushState`),stateStackSize:/* @__PURE__ */ r(function(){return this.conditionStack.length},`stateStackSize`),options:{},performAction:/* @__PURE__ */ r(function(e,t,n,r){switch(n){case 0:return this.begin(`acc_title`),34;case 1:return this.popState(),`acc_title_value`;case 2:return this.begin(`acc_descr`),36;case 3:return this.popState(),`acc_descr_value`;case 4:this.begin(`acc_descr_multiline`);break;case 5:this.popState();break;case 6:return`acc_descr_multiline_value`;case 7:return this.pushState(`shapeData`),t.yytext=``,40;case 8:return this.pushState(`shapeDataStr`),40;case 9:return this.popState(),40;case 10:return t.yytext=t.yytext.replace(/\n\s*/g,`<br/>`),40;case 11:return 40;case 12:this.popState();break;case 13:this.begin(`callbackname`);break;case 14:this.popState();break;case 15:this.popState(),this.begin(`callbackargs`);break;case 16:return 95;case 17:this.popState();break;case 18:return 96;case 19:return`MD_STR`;case 20:this.popState();break;case 21:this.begin(`md_string`);break;case 22:return`STR`;case 23:this.popState();break;case 24:this.pushState(`string`);break;case 25:return 84;case 26:return 102;case 27:return 85;case 28:return 104;case 29:return 86;case 30:return 87;case 31:return 97;case 32:this.begin(`click`);break;case 33:this.popState();break;case 34:return 88;case 35:return e.lex.firstGraph()&&this.begin(`dir`),12;case 36:return e.lex.firstGraph()&&this.begin(`dir`),12;case 37:return e.lex.firstGraph()&&this.begin(`dir`),12;case 38:return e.lex.firstGraph()&&this.begin(`dir`),12;case 39:return 27;case 40:return 32;case 41:return 98;case 42:return 98;case 43:return 98;case 44:return 98;case 45:return this.popState(),13;case 46:return this.popState(),14;case 47:return this.popState(),14;case 48:return this.popState(),14;case 49:return this.popState(),14;case 50:return this.popState(),14;case 51:return this.popState(),14;case 52:return this.popState(),14;case 53:return this.popState(),14;case 54:return this.popState(),14;case 55:return this.popState(),14;case 56:return 121;case 57:return 122;case 58:return 123;case 59:return 124;case 60:return 125;case 61:return 78;case 62:return 105;case 63:return 111;case 64:return 46;case 65:return 60;case 66:return 44;case 67:return 8;case 68:return 106;case 69:return 115;case 70:return this.popState(),77;case 71:return this.pushState(`edgeText`),75;case 72:return 119;case 73:return this.popState(),77;case 74:return this.pushState(`thickEdgeText`),75;case 75:return 119;case 76:return this.popState(),77;case 77:return this.pushState(`dottedEdgeText`),75;case 78:return 119;case 79:return 77;case 80:return this.popState(),53;case 81:return`TEXT`;case 82:return this.pushState(`ellipseText`),52;case 83:return this.popState(),55;case 84:return this.pushState(`text`),54;case 85:return this.popState(),57;case 86:return this.pushState(`text`),56;case 87:return 58;case 88:return this.pushState(`text`),67;case 89:return this.popState(),64;case 90:return this.pushState(`text`),63;case 91:return this.popState(),49;case 92:return this.pushState(`text`),48;case 93:return this.popState(),69;case 94:return this.popState(),71;case 95:return 117;case 96:return this.pushState(`trapText`),68;case 97:return this.pushState(`trapText`),70;case 98:return 118;case 99:return 67;case 100:return 90;case 101:return`SEP`;case 102:return 89;case 103:return 115;case 104:return 111;case 105:return 44;case 106:return 109;case 107:return 114;case 108:return 116;case 109:return this.popState(),62;case 110:return this.pushState(`text`),62;case 111:return this.popState(),51;case 112:return this.pushState(`text`),50;case 113:return this.popState(),31;case 114:return this.pushState(`text`),29;case 115:return this.popState(),66;case 116:return this.pushState(`text`),65;case 117:return`TEXT`;case 118:return`QUOTE`;case 119:return 9;case 120:return 10;case 121:return 11}},`anonymous`),rules:[/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:@\{)/,/^(?:["])/,/^(?:["])/,/^(?:[^\"]+)/,/^(?:[^}^"]+)/,/^(?:\})/,/^(?:call[\s]+)/,/^(?:\([\s]*\))/,/^(?:\()/,/^(?:[^(]*)/,/^(?:\))/,/^(?:[^)]*)/,/^(?:[^`"]+)/,/^(?:[`]["])/,/^(?:["][`])/,/^(?:[^"]+)/,/^(?:["])/,/^(?:["])/,/^(?:style\b)/,/^(?:default\b)/,/^(?:linkStyle\b)/,/^(?:interpolate\b)/,/^(?:classDef\b)/,/^(?:class\b)/,/^(?:href[\s])/,/^(?:click[\s]+)/,/^(?:[\s\n])/,/^(?:[^\s\n]*)/,/^(?:flowchart-elk\b)/,/^(?:swimlane-beta\b)/,/^(?:graph\b)/,/^(?:flowchart\b)/,/^(?:subgraph\b)/,/^(?:end\b\s*)/,/^(?:_self\b)/,/^(?:_blank\b)/,/^(?:_parent\b)/,/^(?:_top\b)/,/^(?:(\r?\n)*\s*\n)/,/^(?:\s*LR\b)/,/^(?:\s*RL\b)/,/^(?:\s*TB\b)/,/^(?:\s*BT\b)/,/^(?:\s*TD\b)/,/^(?:\s*BR\b)/,/^(?:\s*<)/,/^(?:\s*>)/,/^(?:\s*\^)/,/^(?:\s*v\b)/,/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:.*direction\s+TD[^\n]*)/,/^(?:[^\s\"]+@(?=[^\{\"]))/,/^(?:[0-9]+)/,/^(?:#)/,/^(?::::)/,/^(?::)/,/^(?:&)/,/^(?:;)/,/^(?:,)/,/^(?:\*)/,/^(?:\s*[xo<]?--+[-xo>]\s*)/,/^(?:\s*[xo<]?--\s*)/,/^(?:[^-]|-(?!-)+)/,/^(?:\s*[xo<]?==+[=xo>]\s*)/,/^(?:\s*[xo<]?==\s*)/,/^(?:[^=]|=(?!))/,/^(?:\s*[xo<]?-?\.+-[xo>]?\s*)/,/^(?:\s*[xo<]?-\.\s*)/,/^(?:[^\.]|\.(?!))/,/^(?:\s*~~[\~]+\s*)/,/^(?:[-/\)][\)])/,/^(?:[^\(\)\[\]\{\}]|!\)+)/,/^(?:\(-)/,/^(?:\]\))/,/^(?:\(\[)/,/^(?:\]\])/,/^(?:\[\[)/,/^(?:\[\|)/,/^(?:>)/,/^(?:\)\])/,/^(?:\[\()/,/^(?:\)\)\))/,/^(?:\(\(\()/,/^(?:[\\(?=\])][\]])/,/^(?:\/(?=\])\])/,/^(?:\/(?!\])|\\(?!\])|[^\\\[\]\(\)\{\}\/]+)/,/^(?:\[\/)/,/^(?:\[\\)/,/^(?:<)/,/^(?:>)/,/^(?:\^)/,/^(?:\\\|)/,/^(?:v\b)/,/^(?:\*)/,/^(?:#)/,/^(?:&)/,/^(?:([A-Za-z0-9!"\#$%&'*+\.`?\\_\/]|-(?=[^\>\-\.])|(?!))+)/,/^(?:-)/,/^(?:[\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6]|[\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377]|[\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5]|[\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA]|[\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE]|[\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA]|[\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0]|[\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977]|[\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2]|[\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A]|[\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39]|[\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8]|[\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C]|[\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C]|[\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99]|[\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0]|[\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D]|[\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3]|[\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10]|[\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1]|[\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81]|[\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3]|[\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6]|[\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A]|[\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081]|[\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D]|[\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0]|[\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310]|[\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C]|[\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711]|[\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7]|[\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C]|[\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16]|[\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF]|[\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC]|[\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D]|[\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D]|[\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3]|[\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F]|[\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128]|[\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184]|[\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3]|[\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6]|[\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE]|[\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C]|[\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D]|[\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC]|[\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B]|[\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788]|[\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805]|[\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB]|[\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28]|[\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5]|[\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4]|[\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E]|[\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D]|[\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36]|[\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D]|[\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC]|[\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF]|[\uFFD2-\uFFD7\uFFDA-\uFFDC])/,/^(?:\|)/,/^(?:\|)/,/^(?:\))/,/^(?:\()/,/^(?:\])/,/^(?:\[)/,/^(?:(\}))/,/^(?:\{)/,/^(?:[^\[\]\(\)\{\}\|\"]+)/,/^(?:")/,/^(?:(\r?\n)+)/,/^(?:\s)/,/^(?:$)/],conditions:{shapeDataEndBracket:{rules:[21,24,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},shapeDataStr:{rules:[9,10,21,24,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},shapeData:{rules:[8,11,12,21,24,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},callbackargs:{rules:[17,18,21,24,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},callbackname:{rules:[14,15,16,21,24,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},href:{rules:[21,24,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},click:{rules:[21,24,33,34,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},dottedEdgeText:{rules:[21,24,76,78,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},thickEdgeText:{rules:[21,24,73,75,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},edgeText:{rules:[21,24,70,72,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},trapText:{rules:[21,24,79,82,84,86,90,92,93,94,95,96,97,110,112,114,116],inclusive:!1},ellipseText:{rules:[21,24,79,80,81,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},text:{rules:[21,24,79,82,83,84,85,86,89,90,91,92,96,97,109,110,111,112,113,114,115,116,117],inclusive:!1},vertex:{rules:[21,24,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},dir:{rules:[21,24,45,46,47,48,49,50,51,52,53,54,55,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},acc_descr_multiline:{rules:[5,6,21,24,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},acc_descr:{rules:[3,21,24,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},acc_title:{rules:[1,21,24,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},md_string:{rules:[19,20,21,24,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},string:{rules:[21,22,23,24,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},INITIAL:{rules:[0,2,4,7,13,21,24,25,26,27,28,29,30,31,32,35,36,37,38,39,40,41,42,43,44,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,73,74,76,77,79,82,84,86,87,88,90,92,96,97,98,99,100,101,102,103,104,105,106,107,108,110,112,114,116,118,119,120,121],inclusive:!0}}}})();function it(){this.yy={}}return r(it,`Parser`),it.prototype=rt,rt.Parser=it,new it})(),j.parser=j,M=j,N=Object.assign({},M),N.parse=e=>{let t=e.replace(/}\s*\n/g,`}
|
|
15
|
+
`);return M.parse(t)},_e=N,ve=/* @__PURE__ */ r((e,t)=>{let n=y,r=n(e,`r`),i=n(e,`g`),a=n(e,`b`);return te(r,i,a,t)},`fade`),P=/* @__PURE__ */ r(e=>`.label {
|
|
16
|
+
font-family: ${e.fontFamily};
|
|
17
|
+
color: ${e.nodeTextColor||e.textColor};
|
|
18
|
+
}
|
|
19
|
+
.cluster-label text {
|
|
20
|
+
fill: ${e.titleColor};
|
|
21
|
+
}
|
|
22
|
+
.cluster-label span {
|
|
23
|
+
color: ${e.titleColor};
|
|
24
|
+
}
|
|
25
|
+
.cluster-label span p {
|
|
26
|
+
background-color: transparent;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.label text,span {
|
|
30
|
+
fill: ${e.nodeTextColor||e.textColor};
|
|
31
|
+
color: ${e.nodeTextColor||e.textColor};
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.node rect,
|
|
35
|
+
.node circle,
|
|
36
|
+
.node ellipse,
|
|
37
|
+
.node polygon,
|
|
38
|
+
.node path {
|
|
39
|
+
fill: ${e.mainBkg};
|
|
40
|
+
stroke: ${e.nodeBorder};
|
|
41
|
+
stroke-width: ${e.strokeWidth??1}px;
|
|
42
|
+
}
|
|
43
|
+
.rough-node .label text , .node .label text, .image-shape .label, .icon-shape .label {
|
|
44
|
+
text-anchor: middle;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.node .katex path {
|
|
48
|
+
fill: #000;
|
|
49
|
+
stroke: #000;
|
|
50
|
+
stroke-width: 1px;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.rough-node .label,.node .label, .image-shape .label, .icon-shape .label {
|
|
54
|
+
text-align: center;
|
|
55
|
+
}
|
|
56
|
+
.node.clickable {
|
|
57
|
+
cursor: pointer;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
.root .anchor path {
|
|
62
|
+
fill: ${e.lineColor} !important;
|
|
63
|
+
stroke-width: 0;
|
|
64
|
+
stroke: ${e.lineColor};
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.arrowheadPath {
|
|
68
|
+
fill: ${e.arrowheadColor};
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.edgePaths .path {
|
|
72
|
+
stroke: ${e.lineColor};
|
|
73
|
+
stroke-width: ${e.strokeWidth??2}px;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.flowchart-link {
|
|
77
|
+
stroke: ${e.lineColor};
|
|
78
|
+
fill: none;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.edgeLabel {
|
|
82
|
+
background-color: ${e.edgeLabelBackground};
|
|
83
|
+
p {
|
|
84
|
+
background-color: ${e.edgeLabelBackground};
|
|
85
|
+
}
|
|
86
|
+
rect {
|
|
87
|
+
opacity: 0.5;
|
|
88
|
+
background-color: ${e.edgeLabelBackground};
|
|
89
|
+
fill: ${e.edgeLabelBackground};
|
|
90
|
+
}
|
|
91
|
+
text-align: center;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
/* For html labels only */
|
|
95
|
+
.labelBkg {
|
|
96
|
+
background-color: ${ve(e.edgeLabelBackground,.5)};
|
|
97
|
+
// background-color:
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.cluster rect {
|
|
101
|
+
fill: ${e.clusterBkg};
|
|
102
|
+
stroke: ${e.clusterBorder};
|
|
103
|
+
stroke-width: 1px;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.cluster text {
|
|
107
|
+
fill: ${e.titleColor};
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.cluster span {
|
|
111
|
+
color: ${e.titleColor};
|
|
112
|
+
}
|
|
113
|
+
/* .cluster div {
|
|
114
|
+
color: ${e.titleColor};
|
|
115
|
+
} */
|
|
116
|
+
|
|
117
|
+
/* Collapsed subgraph node (@{ view: collapsed }) */
|
|
118
|
+
.node .collapsed-indicator {
|
|
119
|
+
fill: ${e.clusterBorder};
|
|
120
|
+
stroke: none;
|
|
121
|
+
opacity: 0.6;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.node .collapsed-separator {
|
|
125
|
+
stroke: ${e.clusterBorder};
|
|
126
|
+
stroke-width: 0.75px;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
div.mermaidTooltip {
|
|
130
|
+
position: absolute;
|
|
131
|
+
text-align: center;
|
|
132
|
+
max-width: 200px;
|
|
133
|
+
padding: 2px;
|
|
134
|
+
font-family: ${e.fontFamily};
|
|
135
|
+
font-size: 12px;
|
|
136
|
+
background: ${e.tertiaryColor};
|
|
137
|
+
border: 1px solid ${e.border2};
|
|
138
|
+
border-radius: 2px;
|
|
139
|
+
pointer-events: none;
|
|
140
|
+
z-index: 100;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
.flowchartTitleText {
|
|
144
|
+
text-anchor: middle;
|
|
145
|
+
font-size: 18px;
|
|
146
|
+
fill: ${e.textColor};
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
rect.text {
|
|
150
|
+
fill: none;
|
|
151
|
+
stroke-width: 0;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
.icon-shape, .image-shape {
|
|
155
|
+
background-color: ${e.edgeLabelBackground};
|
|
156
|
+
p {
|
|
157
|
+
background-color: ${e.edgeLabelBackground};
|
|
158
|
+
padding: 2px;
|
|
159
|
+
}
|
|
160
|
+
.label rect {
|
|
161
|
+
opacity: 0.5;
|
|
162
|
+
background-color: ${e.edgeLabelBackground};
|
|
163
|
+
fill: ${e.edgeLabelBackground};
|
|
164
|
+
}
|
|
165
|
+
text-align: center;
|
|
166
|
+
}
|
|
167
|
+
${w()}
|
|
168
|
+
`,`getStyles`),F=/* @__PURE__ */ r(({defaultLayout:e,styles:t=P}={})=>({parser:_e,get db(){return new he},renderer:ge,styles:t,init:/* @__PURE__ */ r(t=>{t.flowchart||={};let n=h().layout??e??t.layout;n&&l({layout:n}),t.flowchart.arrowMarkerAbsolute=t.arrowMarkerAbsolute,l({flowchart:{arrowMarkerAbsolute:t.arrowMarkerAbsolute}})},`init`)}),`createFlowDiagram`),I=F()})))()}export{P as i,I as n,L as r,F as t};
|