@nodefony/studio 10.0.0-beta.2 → 10.0.0-beta.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_virtual/{_@oxc-project_runtime@0.152.0 → _@oxc-project_runtime@0.155.0}/helpers/esm/decorate.js +1 -2
- package/dist/_virtual/{_@oxc-project_runtime@0.152.0 → _@oxc-project_runtime@0.155.0}/helpers/esm/decorateParam.js +1 -2
- package/dist/frontend/assets/Accordion-DPLwcjdo.js +1 -0
- package/dist/frontend/assets/{ActionsLiveGraph-DvkCToUt.js → ActionsLiveGraph-Bgmlddil.js} +1 -1
- package/dist/frontend/assets/AgentsPreview-Cp3oKlQh.js +12 -0
- package/dist/frontend/assets/ApiKeys-Dlm_QgbE.js +2 -0
- package/dist/frontend/assets/ArchitectureLiveGraph-6B27wQFi.js +1 -0
- package/dist/frontend/assets/Audit-l60asEjU.js +1 -0
- package/dist/frontend/assets/BackplaneLiveGraph-DFbKM68H.js +1 -0
- package/dist/frontend/assets/Breadcrumbs-CInUn91P.js +1 -0
- package/dist/frontend/assets/BrickStoreChip-LPzFtCle.js +1 -0
- package/dist/frontend/assets/Chat-xbAsLtf7.js +1 -0
- package/dist/frontend/assets/Chip-63u3nm6a.js +1 -0
- package/dist/frontend/assets/Cluster-BnzcBsK2.js +1 -0
- package/dist/frontend/assets/Collapse-D-ll8NHt.js +1 -0
- package/dist/frontend/assets/ConfigPage-D5ppGWC2.js +1 -0
- package/dist/frontend/assets/ConnectorCard-nuZmjP-K.js +11 -0
- package/dist/frontend/assets/Create--I7q2Y8w.js +2 -0
- package/dist/frontend/assets/DashboardSupervision-D7iTvKNf.js +1 -0
- package/dist/frontend/assets/Database-7pHzPOh2.js +1 -0
- package/dist/frontend/assets/{DbLogo-B9i1lrl7.js → DbLogo-CPVaIo-1.js} +1 -1
- package/dist/frontend/assets/Documentation-tjr0i1rN.js +1 -0
- package/dist/frontend/assets/FanOutLiveGraph-CA025u8m.js +1 -0
- package/dist/frontend/assets/Firewall-C6l1OCox.js +1 -0
- package/dist/frontend/assets/{IconAdjustments-jADAq5mK.js → IconAdjustments-e-MmJIEd.js} +1 -1
- package/dist/frontend/assets/{IconAdjustmentsAlt-BozcYoJm.js → IconAdjustmentsAlt-Dh7-w67A.js} +1 -1
- package/dist/frontend/assets/{IconAdjustmentsHorizontal-CPHcDVYJ.js → IconAdjustmentsHorizontal-Bze9w1KM.js} +1 -1
- package/dist/frontend/assets/{IconAffiliate-BD2h4iUK.js → IconAffiliate-CM-xujb3.js} +1 -1
- package/dist/frontend/assets/{IconApps-CPE24CmR.js → IconApps-99oikTTs.js} +1 -1
- package/dist/frontend/assets/{IconArchive-DTHBCk0p.js → IconArchive-Be62Qpuc.js} +1 -1
- package/dist/frontend/assets/{IconArrowDown-Cxoz9AzT.js → IconArrowDown-CVg6dTJG.js} +1 -1
- package/dist/frontend/assets/{IconArrowLeft-CKsMZM8W.js → IconArrowLeft-BjXaYGFL.js} +1 -1
- package/dist/frontend/assets/{IconArrowUp-BruS9HH0.js → IconArrowUp-BI5oNIYX.js} +1 -1
- package/dist/frontend/assets/IconArrowsExchange-Dosh8wE8.js +1 -0
- package/dist/frontend/assets/{IconArrowsSplit2-z_ittzyb.js → IconArrowsSplit2-2czCcKl1.js} +1 -1
- package/dist/frontend/assets/IconBan-tceVLRjs.js +1 -0
- package/dist/frontend/assets/{IconBook-D3Uk6qnk.js → IconBook-3zpOeyw5.js} +1 -1
- package/dist/frontend/assets/IconBooks-BsR3SerW.js +1 -0
- package/dist/frontend/assets/IconBox-CyPTTK_h.js +1 -0
- package/dist/frontend/assets/IconBrain-CtK-z0Qs.js +1 -0
- package/dist/frontend/assets/{IconCircleCheck-CxT51u4F.js → IconCircleCheck-4L5q2AOa.js} +1 -1
- package/dist/frontend/assets/{IconCircleDot-CjX4w-_4.js → IconCircleDot-UeVVj0Hw.js} +1 -1
- package/dist/frontend/assets/IconCircuitResistor-Dv8iGOzw.js +1 -0
- package/dist/frontend/assets/{IconCode-BWbADEPL.js → IconCode-CZBF6Fre.js} +1 -1
- package/dist/frontend/assets/{IconDeviceDesktop-CpSv2uQP.js → IconDeviceDesktop-CmA2QS1y.js} +1 -1
- package/dist/frontend/assets/{IconDots-AjBIpK3Y.js → IconDots-CGp_6hGw.js} +1 -1
- package/dist/frontend/assets/{IconDownload-9dmSVUMa.js → IconDownload-BHadX_X7.js} +1 -1
- package/dist/frontend/assets/{IconEye-BpbPkkGo.js → IconEye-DtO-67sS.js} +1 -1
- package/dist/frontend/assets/{IconFile-B6Ty0jey.js → IconFile-CawVe9xy.js} +1 -1
- package/dist/frontend/assets/{IconFolder-DVlYN2As.js → IconFolder-DtN07M63.js} +1 -1
- package/dist/frontend/assets/{IconGitBranch-D1NsupIJ.js → IconGitBranch-B0jrHkO3.js} +1 -1
- package/dist/frontend/assets/IconHandStop-ysGACXTj.js +1 -0
- package/dist/frontend/assets/{IconHeartRateMonitor-Qs470Z18.js → IconHeartRateMonitor-Bvl8jHTd.js} +1 -1
- package/dist/frontend/assets/{IconHelpCircle-C0W8AHX2.js → IconHelpCircle-BCItd8VT.js} +1 -1
- package/dist/frontend/assets/{IconLayoutGrid-DbmIAWh7.js → IconLayoutGrid-CfSdAIlD.js} +1 -1
- package/dist/frontend/assets/{IconNetwork-CzEGyALT.js → IconNetwork-BCMPgpvp.js} +1 -1
- package/dist/frontend/assets/{IconPackages-BP4Z0JzG.js → IconPackages-CBNINLGq.js} +1 -1
- package/dist/frontend/assets/{IconPencil-jpvCQZeP.js → IconPencil-BpxtlIcN.js} +1 -1
- package/dist/frontend/assets/{IconPlayerPause-BOadqHv3.js → IconPlayerPause-CbRWQ0OJ.js} +1 -1
- package/dist/frontend/assets/IconPlayerPlay-CeEI-a5d.js +1 -0
- package/dist/frontend/assets/IconPlayerStop-CJYvZ1j2.js +1 -0
- package/dist/frontend/assets/IconPlus-B4Sx19oD.js +1 -0
- package/dist/frontend/assets/{IconPuzzle-DKNpUq65.js → IconPuzzle-D3bEL-Kr.js} +1 -1
- package/dist/frontend/assets/{IconRecycle-DBt59J7Q.js → IconRecycle-BtnT8ZXv.js} +1 -1
- package/dist/frontend/assets/{IconSend-Cfk-Yxjc.js → IconSend-zQNYJbkq.js} +1 -1
- package/dist/frontend/assets/{IconServer2-BDgk1f_2.js → IconServer2-D61W-eXq.js} +1 -1
- package/dist/frontend/assets/{IconShieldOff-leUIwpKk.js → IconShieldOff-C2WA-gmj.js} +1 -1
- package/dist/frontend/assets/{IconSitemap-CIiDQnmH.js → IconSitemap-BJzupAxl.js} +1 -1
- package/dist/frontend/assets/{IconStack2-pTQXZVuN.js → IconStack2-B9YJBVEL.js} +1 -1
- package/dist/frontend/assets/{IconTerminal2-kaalbugS.js → IconTerminal2-ZtXcXVK9.js} +1 -1
- package/dist/frontend/assets/IconTool-BhLKKx-z.js +1 -0
- package/dist/frontend/assets/{IconUserOff-9lR6ydOx.js → IconUserOff-FIAY4a-C.js} +1 -1
- package/dist/frontend/assets/{IconWorld-DBbjQtrp.js → IconWorld-DoL6V4LE.js} +1 -1
- package/dist/frontend/assets/KnowledgePreview-COznqEer.js +1 -0
- package/dist/frontend/assets/List-Bj6cz52O.js +1 -0
- package/dist/frontend/assets/LlmProvidersPreview-UMxVNx56.js +1 -0
- package/dist/frontend/assets/LogVisuals-CXlOPxZ6.js +1 -0
- package/dist/frontend/assets/Logs-Df5U_3dr.js +1 -0
- package/dist/frontend/assets/McpPreview-CHu7On2q.js +1 -0
- package/dist/frontend/assets/MemoryPreview-BXeS4rSe.js +1 -0
- package/dist/frontend/assets/Migrations-CuHMt_YR.js +3 -0
- package/dist/frontend/assets/ModuleDetail-9YIWV_UR.js +1 -0
- package/dist/frontend/assets/Modules-ICjDZ1Yo.js +1 -0
- package/dist/frontend/assets/OrmConnector-CEarnKy7.js +1 -0
- package/dist/frontend/assets/OrmEntity-CnaPZLRa.js +1 -0
- package/dist/frontend/assets/OrmOverview-Chuz9Nje.js +1 -0
- package/dist/frontend/assets/OrmWorker-DHtNzOdb.js +1 -0
- package/dist/frontend/assets/Playground-CPNuVkEh.js +1 -0
- package/dist/frontend/assets/{ProbesLiveGraph-Dbua10rZ.js → ProbesLiveGraph-36Y6b2-W.js} +1 -1
- package/dist/frontend/assets/Profile-DbK_K53D.js +2 -0
- package/dist/frontend/assets/{ProfileFields-L4LBZBgi.js → ProfileFields-CY-cyHpl.js} +1 -1
- package/dist/frontend/assets/Progress-CPoEshia.js +1 -0
- package/dist/frontend/assets/ProtocoleLiveGraph-CzsBhPwX.js +1 -0
- package/dist/frontend/assets/RealtimeConsole-Cr9YdudM.js +1 -0
- package/dist/frontend/assets/{RingProgress-B0Wf5Zcf.js → RingProgress-CvPWmY4T.js} +1 -1
- package/dist/frontend/assets/Roadmap-BiASdXjA.js +1 -0
- package/dist/frontend/assets/RoleSwitch-v6onvCmL.js +1 -0
- package/dist/frontend/assets/Roles-CUb-FE31.js +1 -0
- package/dist/frontend/assets/{RoutesView-BffKaDen.js → RoutesView-CGimbB-9.js} +1 -1
- package/dist/frontend/assets/Runtime-CztgXN5v.js +1 -0
- package/dist/frontend/assets/Sessions-BW_6RCRC.js +1 -0
- package/dist/frontend/assets/Skeleton-BqubVkfg.js +1 -0
- package/dist/frontend/assets/{Slider-DN4bKULt.js → Slider-BO4JNkw0.js} +1 -1
- package/dist/frontend/assets/StoresView-CGJXEbaQ.js +1 -0
- package/dist/frontend/assets/System-0WArSNzm.js +1 -0
- package/dist/frontend/assets/TagsInput-B3frWkGT.js +1 -0
- package/dist/frontend/assets/{Textarea-BaAA8K9Q.js → Textarea-BWkcGO8Z.js} +1 -1
- package/dist/frontend/assets/Timeline-BS9j6buj.js +1 -0
- package/dist/frontend/assets/TraceView-C3_Vw0sJ.js +1 -0
- package/dist/frontend/assets/Twin-Cjb5ugDT.js +19 -0
- package/dist/frontend/assets/UserProfile-Dc-MHueA.js +1 -0
- package/dist/frontend/assets/Users-BcoVqTuA.js +1 -0
- package/dist/frontend/assets/VectorStoresPreview-tksJNhKy.js +1 -0
- package/dist/frontend/assets/Webhooks-vDwD2cQK.js +1 -0
- package/dist/frontend/assets/Workspace-DO9hKEhR.js +1 -0
- package/dist/frontend/assets/{abnfDiagram-O67JEVCF-Bu_bzCw9.js → abnfDiagram-WEYOIA3C-o6kZb03b.js} +1 -1
- package/dist/frontend/assets/aiPreviewModel-gSgeWhaX.js +2 -0
- package/dist/frontend/assets/aiPreviewParts-B25TmKBV.js +1 -0
- package/dist/frontend/assets/{apiKeysModel-akQpJ6XJ.js → apiKeysModel-Pn7Cxpaa.js} +1 -1
- package/dist/frontend/assets/{arc-C7rN-mtx.js → arc-Dkr_NqJg.js} +1 -1
- package/dist/frontend/assets/architecture-WOLXFQ4H-D0WVDySu.js +1 -0
- package/dist/frontend/assets/architectureDiagram-ZHVYKT53-D9lWKg5J.js +36 -0
- package/dist/frontend/assets/auditFormat-D14fq0tI.js +1 -0
- package/dist/frontend/assets/{auditModel-B7xozUat.js → auditModel-VtcG7xbJ.js} +1 -1
- package/dist/frontend/assets/{blockDiagram-BEXU5L5S-CkLywFjT.js → blockDiagram-RJAE7QA3-WjPcOKRW.js} +3 -3
- package/dist/frontend/assets/{c4Diagram-YGBWAQC7-NZVeQm38.js → c4Diagram-XDPPPE54-B4jELhYh.js} +2 -2
- package/dist/frontend/assets/channel-bBINEAVx.js +1 -0
- package/dist/frontend/assets/{chunk-GTNCS2PH-D2c3AwOP.js → chunk-2E7WHVMD-CnHjZi31.js} +3 -3
- package/dist/frontend/assets/{chunk-NETBCI7D-4LtdbPCE.js → chunk-4EMNKR2T-DkjFLyKa.js} +1 -1
- package/dist/frontend/assets/{chunk-GWA4HPMP-BRKHoyUA.js → chunk-55XCU76K-DX-SqoL7.js} +1 -1
- package/dist/frontend/assets/chunk-7S6XSTFO-DClaWD3h.js +2 -0
- package/dist/frontend/assets/{chunk-MBY4JIJT-CeQ2lB-_.js → chunk-AQDTSKZB-BCzT2csB.js} +8 -8
- package/dist/frontend/assets/chunk-DSNLSHJZ-BHcejTug.js +129 -0
- package/dist/frontend/assets/chunk-HAGFOTED-BEnakj0Q.js +62 -0
- package/dist/frontend/assets/chunk-HNE4Q36P-u3A7JPIz.js +1 -0
- package/dist/frontend/assets/chunk-NGNAAXSQ-Bw6tHVuc.js +136 -0
- package/dist/frontend/assets/chunk-NQOKRVIF-C4CpPbjZ.js +213 -0
- package/dist/frontend/assets/{chunk-7PRAP22T-D8yvVCZo.js → chunk-UHW7PFBP-C4qGS7N6.js} +1 -1
- package/dist/frontend/assets/{chunk-WEXAMYUT-CLmrGtL_.js → chunk-VQ5W62QI-CD4iG1Ju.js} +1 -1
- package/dist/frontend/assets/chunk-WQQL4CDK-BRd_O9U1.js +10 -0
- package/dist/frontend/assets/chunk-XXDRQBXY-r_aMXwAb.js +1 -0
- package/dist/frontend/assets/{chunk-742MDFTN-BMFhwdW9.js → chunk-YZO67HFG-DYi_O4tF.js} +1 -1
- package/dist/frontend/assets/{chunk-5DYCD2WN-Co_-nDsD.js → chunk-ZAUX2LTX-F2xkI2IG.js} +1 -1
- package/dist/frontend/assets/chunk-ZCHMQSOR-BLHSEC1D.js +2 -0
- package/dist/frontend/assets/{classDiagram-v2-NBCMYWYE-DhFQLAn0.js → classDiagram-v2-4MYWR3UA-BYwKN_JS.js} +3 -3
- package/dist/frontend/assets/{configModel-DxIeQB9w.js → configModel-mJGNa2Qn.js} +1 -1
- package/dist/frontend/assets/cose-bilkent-JH36ORCC-p6hKc9FM.js +1 -0
- package/dist/frontend/assets/cynefin-EF2NZ3EQ-3fMGJqpS.js +1 -0
- package/dist/frontend/assets/cynefinDiagram-WF24UDRP-BlblpBJN.js +62 -0
- package/dist/frontend/assets/cytoscape.esm-CCmQRb78.js +321 -0
- package/dist/frontend/assets/dagre-NK4GIZVX-CHbXyXoH.js +4 -0
- package/dist/frontend/assets/dayjs.min-BnY7wTsz.js +1 -0
- package/dist/frontend/assets/{diagram-3UASUU5V-CQuuStX8.js → diagram-CBK3MWTC-COexS5yt.js} +11 -11
- package/dist/frontend/assets/{diagram-MLGK6HIB-czqs7dL1.js → diagram-I5XIIV2D-CzqjaT_Z.js} +1 -1
- package/dist/frontend/assets/{diagram-CDSNMT55-D1Au9-fL.js → diagram-ODIL2UCW-DYG1ZHG2.js} +4 -4
- package/dist/frontend/assets/diagram-PFBEJUXE-DHiPTpVh.js +3 -0
- package/dist/frontend/assets/diagram-RJA3I4VV-awutgug0.js +41 -0
- package/dist/frontend/assets/diagram-TYUNFSNR-CHlQchf6.js +200 -0
- package/dist/frontend/assets/{dist-B9M-KAS4.js → dist-CNARAVwn.js} +1 -1
- package/dist/frontend/assets/{ebnfDiagram-ZINNZB2B-DIUI-7gN.js → ebnfDiagram-V4P3TTPT-DDRnrPjS.js} +1 -1
- package/dist/frontend/assets/elk-QONTBCTQ-DjqguIGM.js +27 -0
- package/dist/frontend/assets/{erDiagram-OPXOYQCR-gHWIog2w.js → erDiagram-KYQIGQAA-0Rq0qAP2.js} +2 -2
- package/dist/frontend/assets/eventFlow-By4EcYar.js +1 -0
- package/dist/frontend/assets/eventmodeling-K75KTNOO-Ci5ZysGc.js +1 -0
- package/dist/frontend/assets/flowDiagram-IUGLLWBU-Bd7ui4lC.js +1 -0
- package/dist/frontend/assets/{ganttDiagram-FUAMR5RP-ljTkxfTI.js → ganttDiagram-R7GPNTJY-QmeRcBvv.js} +3 -3
- package/dist/frontend/assets/gitGraph-VSP46ZUC-BNjGbs2Q.js +1 -0
- package/dist/frontend/assets/gitGraphDiagram-PDYL7XHY-wE75QFTm.js +106 -0
- package/dist/frontend/assets/graphlib-DS17s2tU.js +1 -0
- package/dist/frontend/assets/health-COCuwYbZ.js +1 -0
- package/dist/frontend/assets/hooks-DneHygq8.js +1 -0
- package/dist/frontend/assets/index-BrRxCdie.css +1 -0
- package/dist/frontend/assets/index-D7ndDYxA.js +28 -0
- package/dist/frontend/assets/info-OHQRW6UA-AwuZMzCF.js +1 -0
- package/dist/frontend/assets/{infoDiagram-VRGFBTTK-B2jjbnZt.js → infoDiagram-MVDRKAX5-C0bjwO5A.js} +1 -1
- package/dist/frontend/assets/{ishikawaDiagram-OU5B5YK6-DHWDIiZC.js → ishikawaDiagram-HPEHV2GE-XUL4r_qi.js} +3 -3
- package/dist/frontend/assets/{journeyDiagram-ZHPQQLJL-C4-utx6H.js → journeyDiagram-BOSHW7O7-DOB7DGOm.js} +3 -3
- package/dist/frontend/assets/{kanban-definition-PNTS6WVX-QgsixB6l.js → kanban-definition-FNSA4HC5-B4MXIgE0.js} +6 -6
- package/dist/frontend/assets/katex-B_JcIwqj.js +257 -0
- package/dist/frontend/assets/{line-DzbVIBoV.js → line-GyWcPEv4.js} +1 -1
- package/dist/frontend/assets/{linear-CNGvKBvd.js → linear-DuXPlWP5.js} +1 -1
- package/dist/frontend/assets/mermaid-parser.core-DuBc40Fk.js +7 -0
- package/dist/frontend/assets/mermaid.core-lhcUO7it.js +44 -0
- package/dist/frontend/assets/{mindmap-definition-NLK3R4M7-Cmvxbk6V.js → mindmap-definition-6OY57UG3-DzXLun_0.js} +11 -9
- package/dist/frontend/assets/mobx-BS2cOtno.js +1 -0
- package/dist/frontend/assets/{ormConnectorInsights-DsjIvJUP.js → ormConnectorInsights-CKmNqZef.js} +1 -1
- package/dist/frontend/assets/packet-JDAUHWVQ-BO5uQF22.js +1 -0
- package/dist/frontend/assets/pageQuery-CeNWND3J.js +1 -0
- package/dist/frontend/assets/{pegDiagram-GJSIUBJH-D330T_Md.js → pegDiagram-ECIUJNBX-ZvDgYb9i.js} +1 -1
- package/dist/frontend/assets/pie-XZMESJXO-BZrK7zKX.js +1 -0
- package/dist/frontend/assets/pieDiagram-GNMPY74T-CHFaZNK-.js +39 -0
- package/dist/frontend/assets/preload-helper-BACSxGrM.js +1 -0
- package/dist/frontend/assets/{profileVisuals-C67upSPM.js → profileVisuals-B9NxSpR3.js} +1 -1
- package/dist/frontend/assets/{quadrantDiagram-O4NWA36T-CwPmLK7Z.js → quadrantDiagram-D57K4MC3-C1LjpFf-.js} +3 -3
- package/dist/frontend/assets/radar-ABXABTNO-DecCvP8c.js +1 -0
- package/dist/frontend/assets/railroad-I3PHUGI6-_iEZazdU.js +1 -0
- package/dist/frontend/assets/railroad-abnf-LNEFI6M7-CDs9xz8A.js +1 -0
- package/dist/frontend/assets/railroad-ebnf-DWYD2UWJ-OMA8rXBg.js +1 -0
- package/dist/frontend/assets/railroad-peg-JR7BVNR7-CahBRdoM.js +1 -0
- package/dist/frontend/assets/{railroadDiagram-XR7U4H2S-uBqd4zs7.js → railroadDiagram-Y72NRBL7-Dffo1i5y.js} +1 -1
- package/dist/frontend/assets/{requirementDiagram-PLB6GJNP-B74tQkH8.js → requirementDiagram-EQYSW5RA-C1QpRX4G.js} +4 -4
- package/dist/frontend/assets/sankeyDiagram-SY24JHO5-e-LII4V6.js +40 -0
- package/dist/frontend/assets/sequenceDiagram-BLEHNHQU-NnPkqGF3.js +169 -0
- package/dist/frontend/assets/src-3uYsZQ6M.js +1 -0
- package/dist/frontend/assets/{src-CmaQbKwl.js → src-99e5ryd8.js} +1 -1
- package/dist/frontend/assets/{stateDiagram-v2-GCMORJYK-BX14loYn.js → stateDiagram-v2-A6IESKWZ-Cnz1jfoK.js} +2 -2
- package/dist/frontend/assets/stores-D6_Y8E6i.js +1 -0
- package/dist/frontend/assets/swimlanes-B3ENRKFQ-Bk54DtP4.js +1 -0
- package/dist/frontend/assets/swimlanesDiagram-AYQRV4AK-DVvOf_w1.js +8 -0
- package/dist/frontend/assets/{timeline-definition-EJHVYXUP-CcHZFK5J.js → timeline-definition-JXYKGLGB-sa8408Jf.js} +4 -4
- package/dist/frontend/assets/treeView-D4JQ5SDB-DVhp_E4d.js +1 -0
- package/dist/frontend/assets/treemap-SAJKECNS-Bxhpvb2A.js +1 -0
- package/dist/frontend/assets/ui-CQg7PBQQ.js +321 -0
- package/dist/frontend/assets/useBlockSource-DhXmelWN.js +1 -0
- package/dist/frontend/assets/{useSocketLiveData-D4vxAeLD.js → useSocketLiveData-DC2osqZB.js} +1 -1
- package/dist/frontend/assets/usecaseDiagram-WPOLBNNX-D1qB4ycj.js +328 -0
- package/dist/frontend/assets/usersFormat-D6muig0U.js +1 -0
- package/dist/frontend/assets/value-Ds4WqiGU.js +1 -0
- package/dist/frontend/assets/{vennDiagram-UO4OBE2U-CiEIf6co.js → vennDiagram-Q3Y3IDCW-0Yok6bqQ.js} +3 -3
- package/dist/frontend/assets/wardley-7MLQ67FV-kuj23NGq.js +1 -0
- package/dist/frontend/assets/{wardleyDiagram-VNRHLVJA-B1X7jUdK.js → wardleyDiagram-IVAIDKWA-CdkJzHfw.js} +3 -3
- package/dist/frontend/assets/xychartDiagram-4URNHDU4-DU68Uiwb.js +7 -0
- package/dist/frontend/index.html +24 -28
- package/dist/index.js +14 -16
- package/dist/nodefony/config/config.js +1 -2
- package/dist/nodefony/config/defineModuleConfig.js +1 -2
- package/dist/nodefony/controller/StudioController.js +37 -84
- package/dist/nodefony/controller/StudioCreateController.js +10 -28
- package/dist/nodefony/controller/StudioRealtimeController.js +7 -15
- package/dist/nodefony/realtime/clusterOrm.js +1 -2
- package/dist/nodefony/realtime/clusterSupervision.js +1 -2
- package/dist/nodefony/realtime/providers.js +10 -7
- package/dist/nodefony/service/ScaffoldService.js +3 -4
- package/dist/nodefony/src/adminFetch.js +1 -2
- package/dist/nodefony/src/createSpec.js +1 -2
- package/dist/types/nodefony/config/config.d.ts +1 -3
- package/dist/types/nodefony/controller/StudioController.d.ts +8 -1
- package/docs/index.md +12 -12
- package/docs/workspace.md +64 -53
- package/package.json +31 -31
- package/dist/_virtual/_@oxc-project_runtime@0.152.0/helpers/esm/decorateMetadata.js +0 -6
- package/dist/frontend/assets/Accordion-CFzAgJ7Q.js +0 -1
- package/dist/frontend/assets/ApiKeys-CLgPrHXW.js +0 -2
- package/dist/frontend/assets/ArchitectureLiveGraph-G5587ePN.js +0 -1
- package/dist/frontend/assets/Audit-CbMYSYAb.js +0 -1
- package/dist/frontend/assets/BackplaneLiveGraph-BGYT4SZ1.js +0 -1
- package/dist/frontend/assets/Breadcrumbs-BxC7aBso.js +0 -1
- package/dist/frontend/assets/BrickStoreChip-C-B3kicY.js +0 -1
- package/dist/frontend/assets/Chat-BHbLjGWU.js +0 -1
- package/dist/frontend/assets/Chip-DNtMvxcy.js +0 -1
- package/dist/frontend/assets/Cluster-Bg13dzfH.js +0 -1
- package/dist/frontend/assets/Collapse-D9l5l0h5.js +0 -1
- package/dist/frontend/assets/ConfigPage-CXwJhRvg.js +0 -1
- package/dist/frontend/assets/ConnectorCard-B8mYUcRg.js +0 -11
- package/dist/frontend/assets/Create-CqrsaTCZ.js +0 -2
- package/dist/frontend/assets/DashboardSupervision-1K-w_nFr.js +0 -1
- package/dist/frontend/assets/Database-CxO_mXnV.js +0 -1
- package/dist/frontend/assets/Documentation-CRwPjyFD.js +0 -1
- package/dist/frontend/assets/FanOutLiveGraph-AK65MQhR.js +0 -1
- package/dist/frontend/assets/Firewall-DKSXFtBS.js +0 -1
- package/dist/frontend/assets/IconArrowsExchange-900A7s3l.js +0 -1
- package/dist/frontend/assets/IconBan--HrvjPM2.js +0 -1
- package/dist/frontend/assets/IconCircuitResistor-DbuU-Ogu.js +0 -1
- package/dist/frontend/assets/IconPlayerPlay-Cou4CYc_.js +0 -1
- package/dist/frontend/assets/IconPlus-mN0j95dj.js +0 -1
- package/dist/frontend/assets/List-Dm-XxMb8.js +0 -1
- package/dist/frontend/assets/LogVisuals-DRAsCwsZ.js +0 -1
- package/dist/frontend/assets/Logs-BU-n0cyD.js +0 -1
- package/dist/frontend/assets/Migrations-Pg3PGhBR.js +0 -3
- package/dist/frontend/assets/ModuleDetail-DkBkn-jF.js +0 -1
- package/dist/frontend/assets/Modules-CSvoNGnP.js +0 -1
- package/dist/frontend/assets/OrmConnector-Rm9B7iAc.js +0 -1
- package/dist/frontend/assets/OrmEntity-9-kn7IBT.js +0 -1
- package/dist/frontend/assets/OrmOverview-CCONZuF6.js +0 -1
- package/dist/frontend/assets/OrmWorker-C3fi5d2Z.js +0 -1
- package/dist/frontend/assets/Playground-ThiCcJm4.js +0 -1
- package/dist/frontend/assets/Profile-DYpegV81.js +0 -2
- package/dist/frontend/assets/Progress-B8-ggXWJ.js +0 -1
- package/dist/frontend/assets/ProtocoleLiveGraph-DBVDsPf8.js +0 -1
- package/dist/frontend/assets/RealtimeConsole-BTMfj3OA.js +0 -1
- package/dist/frontend/assets/Roadmap-aKJSkXVH.js +0 -1
- package/dist/frontend/assets/RoleSwitch-BDroBlDz.js +0 -1
- package/dist/frontend/assets/Roles-D9JJBaTz.js +0 -1
- package/dist/frontend/assets/Runtime-CJ-J-qqR.js +0 -1
- package/dist/frontend/assets/Sessions-CKgDTx0_.js +0 -1
- package/dist/frontend/assets/Skeleton-B7pKdEFj.js +0 -1
- package/dist/frontend/assets/StoresView-DiieKSbl.js +0 -1
- package/dist/frontend/assets/System-BzBCQ1iv.js +0 -1
- package/dist/frontend/assets/TagsInput-DabBaCog.js +0 -1
- package/dist/frontend/assets/TraceView-eFGMNHjt.js +0 -1
- package/dist/frontend/assets/Twin-DGBkMLkG.js +0 -19
- package/dist/frontend/assets/UserProfile-CQGihbkO.js +0 -1
- package/dist/frontend/assets/Users-XiVaCk3I.js +0 -1
- package/dist/frontend/assets/Webhooks-DmqBgPUA.js +0 -1
- package/dist/frontend/assets/Workspace-CVqdqN0T.js +0 -1
- package/dist/frontend/assets/_basePickBy-QJXUw_pr.js +0 -1
- package/dist/frontend/assets/_baseUniq-DR4vVjyC.js +0 -1
- package/dist/frontend/assets/architecture-7GRP2DOG-DeFQ-rE9.js +0 -1
- package/dist/frontend/assets/architectureDiagram-NJMV4G6O-5R7NI5_L.js +0 -36
- package/dist/frontend/assets/auditFormat-Bkk9boi2.js +0 -1
- package/dist/frontend/assets/channel-0-nsip8f.js +0 -1
- package/dist/frontend/assets/chunk-3FUC2YCW-CIMkR92y.js +0 -2
- package/dist/frontend/assets/chunk-7INBJB4K-BRd61mBw.js +0 -62
- package/dist/frontend/assets/chunk-7M6MHVWA-CKAoXVCj.js +0 -213
- package/dist/frontend/assets/chunk-FOHPRMQF-DzxwRta7.js +0 -161
- package/dist/frontend/assets/chunk-O7XYJQB3-Ct9Cv1u-.js +0 -128
- package/dist/frontend/assets/chunk-UA2S7LBM-hxXAIXFD.js +0 -1
- package/dist/frontend/assets/chunk-XXDRQBXY-IULPM7G2.js +0 -1
- package/dist/frontend/assets/chunk-Z7XXMR3K-C3lyaB_j.js +0 -10
- package/dist/frontend/assets/chunk-ZIGJFQKS-69T2EWGZ.js +0 -2
- package/dist/frontend/assets/cose-bilkent-JH36ORCC-DrgF-lEP.js +0 -1
- package/dist/frontend/assets/cynefin-OW5HDTMX-j4MGD1hv.js +0 -1
- package/dist/frontend/assets/cynefinDiagram-VND7K2PF-DEYH3As8.js +0 -62
- package/dist/frontend/assets/cytoscape.esm-EK2DW5Qr.js +0 -321
- package/dist/frontend/assets/dagre-6A5THRUB-CfwlO-8W.js +0 -4
- package/dist/frontend/assets/dayjs.min-G0uPySEd.js +0 -1
- package/dist/frontend/assets/diagram-22UHCM2B-CgdF5TLW.js +0 -200
- package/dist/frontend/assets/diagram-ATOU4E4O-BP1Do4J4.js +0 -3
- package/dist/frontend/assets/diagram-MPIPVDR6-ruwgC1dm.js +0 -41
- package/dist/frontend/assets/elk-276RUBZZ-ybRDwozN.js +0 -27
- package/dist/frontend/assets/eventFlow-BVDT7nwd.js +0 -1
- package/dist/frontend/assets/eventmodeling-NTZA5JFV-CuBiGL5w.js +0 -1
- package/dist/frontend/assets/flowDiagram-KWPJA3E3-BPdJqp5h.js +0 -1
- package/dist/frontend/assets/gitGraph-4MIJSDKK-13qQpGKl.js +0 -1
- package/dist/frontend/assets/gitGraphDiagram-X574FWY7-Cu1qvDBI.js +0 -106
- package/dist/frontend/assets/graphlib-C9Tl7QrK.js +0 -1
- package/dist/frontend/assets/health-Cd4yOjnT.js +0 -1
- package/dist/frontend/assets/hooks-CQs4sMC2.js +0 -1
- package/dist/frontend/assets/index-BIsLp3Cm.css +0 -1
- package/dist/frontend/assets/index-DjEZXzT6.js +0 -28
- package/dist/frontend/assets/info-A6RAGUB7-BdYJXkpi.js +0 -1
- package/dist/frontend/assets/katex-ZlcWpGUi.js +0 -257
- package/dist/frontend/assets/mermaid-parser.core-C1Enm0ew.js +0 -7
- package/dist/frontend/assets/mermaid.core-C3PUxj4m.js +0 -44
- package/dist/frontend/assets/packet-AYTQ26CC-3478ZWo5.js +0 -1
- package/dist/frontend/assets/pageQuery-yJh2-jSv.js +0 -1
- package/dist/frontend/assets/pie-WAS4IAKB-DmiQl9GT.js +0 -1
- package/dist/frontend/assets/pieDiagram-5QR66LMP-vbtvwJgj.js +0 -39
- package/dist/frontend/assets/preload-helper-tSRlcHC2.js +0 -1
- package/dist/frontend/assets/radar-RG4KPBEZ-rbhwuYwq.js +0 -1
- package/dist/frontend/assets/railroad-74A4TZTK-C3pyEoEA.js +0 -1
- package/dist/frontend/assets/railroad-abnf-HS5TGJTU-DlAVhq7d.js +0 -1
- package/dist/frontend/assets/railroad-ebnf-LZEXJU2U-CmZtJwG8.js +0 -1
- package/dist/frontend/assets/railroad-peg-WCYAUIDC-DlMpfL5K.js +0 -1
- package/dist/frontend/assets/sankeyDiagram-IPEJSGJF-oHPh0Lm3.js +0 -40
- package/dist/frontend/assets/sequenceDiagram-PO4LG4MO-Czp-F145.js +0 -169
- package/dist/frontend/assets/src-Dvwdl2PF.js +0 -1
- package/dist/frontend/assets/stores-lUkQRkNb.js +0 -1
- package/dist/frontend/assets/swimlanes-2SLR337P-DvY4hbrE.js +0 -1
- package/dist/frontend/assets/swimlanesDiagram-TC7HE7FX-qnDBUPmS.js +0 -8
- package/dist/frontend/assets/treeView-Q6P3EWNA-IG3LAop9.js +0 -1
- package/dist/frontend/assets/treemap-WGGIJYW6-Cogi7Lfz.js +0 -1
- package/dist/frontend/assets/ui-BI9ztbA6.js +0 -319
- package/dist/frontend/assets/useBlockSource-CeoXZBpG.js +0 -1
- package/dist/frontend/assets/usecaseDiagram-POWQR4AR-B-2i9NKe.js +0 -328
- package/dist/frontend/assets/usersFormat-DRk32jhP.js +0 -1
- package/dist/frontend/assets/value-CR1itMY9.js +0 -1
- package/dist/frontend/assets/wardley-WFR3VGLG-go5PcInO.js +0 -1
- package/dist/frontend/assets/xychartDiagram-PMCCYNJV-CGxXtm2k.js +0 -7
|
@@ -1 +1 @@
|
|
|
1
|
-
import{n as e}from"./chunk-Y2CYZVJY-DsF7k-Jl.js";import{o as t}from"./chunk-
|
|
1
|
+
import{n as e}from"./chunk-Y2CYZVJY-DsF7k-Jl.js";import{o as t}from"./chunk-WQQL4CDK-BRd_O9U1.js";var n=5,r=1e-5,i=2,a=.6,o=1e-6;function s(e){let t=[];for(let n=0;n<e.length-1;n++)t.push({a:e[n],b:e[n+1]});return t}e(s,`buildSegmentList`);function c(e,t,n,r){let i=t.x-e.x,a=t.y-e.y,s=r.x-n.x,c=r.y-n.y,l=i*c-a*s;if(l===0)return null;let u=n.x-e.x,d=n.y-e.y,f=(u*c-d*s)/l,p=(u*a-d*i)/l;return f<=o||f>=1-o||p<=o||p>=1-o?null:{point:{x:e.x+f*i,y:e.y+f*a},tA:f,tB:p}}e(c,`segmentIntersection`);function l(e){return Math.abs(e.b.x-e.a.x)>=Math.abs(e.b.y-e.a.y)}e(l,`isHorizontalSeg`);function u(e,t,r){if(e.curve!==`rounded`)return!1;let i=e.points,a=i[t],o=i[t+1];if(!a||!o)return!1;let s=Math.hypot(o.x-a.x,o.y-a.y),c=r*s,l=t>0?_(i[t-1],a,o,n):null;if(l&&c<l.cutLen)return!0;let u=t+2<i.length?_(a,o,i[t+2],n):null;return u!==null&&s-c<u.cutLen}e(u,`crossingSitsInRoundedCorner`);function d(e){let t=[];for(let n=0;n<e.length;n++){let r=e[n],i=s(r.points);for(let a=n+1;a<e.length;a++){let n=e[a],o=s(n.points);for(let[e,a]of i.entries())for(let[i,s]of o.entries()){let o=c(a.a,a.b,s.a,s.b);if(!o||u(r,e,o.tA)||u(n,i,o.tB))continue;let d=l(a);d!==l(s)&&d?t.push({jumpEdgeId:r.id,otherEdgeId:n.id,segIndex:e,t:o.tA,point:o.point}):t.push({jumpEdgeId:n.id,otherEdgeId:r.id,segIndex:i,t:o.tB,point:o.point})}}}return t}e(d,`findEdgeIntersections`);function f(e){return`${Math.round(e*1e3)/1e3}`}e(f,`fmt`);function p(e){return`${f(e.x)},${f(e.y)}`}e(p,`pointToString`);function m(e){let t=e.b.x-e.a.x,n=e.b.y-e.a.y;return Math.abs(t)>=Math.abs(n)?+(t>=0):+(n>=0)}e(m,`getArcSweepFlag`);function h(e,n){if(e.length<2)return e.map(e=>({...e}));let r=e.map(e=>({...e})),i=n.arrowTypeStart&&t[n.arrowTypeStart];if(i){let t=e[0],n=e[1],a=Math.atan2(n.y-t.y,n.x-t.x);r[0].x=t.x+i*Math.cos(a),r[0].y=t.y+i*Math.sin(a)}let a=n.arrowTypeEnd&&t[n.arrowTypeEnd];if(a){let t=e.length,n=e[t-2],i=e[t-1],o=Math.atan2(i.y-n.y,i.x-n.x);r[t-1].x=i.x-a*Math.cos(o),r[t-1].y=i.y-a*Math.sin(o)}return r}e(h,`applyMarkerOffsets`);function g(e,t,n,r,i){let a=e.point.x,o=e.point.y,s={x:a-t*e.r,y:o-n*e.r},c={x:a+t*e.r,y:o+n*e.r},l=[`L${p(s)}`];return i===`arc`?l.push(`A${f(e.r)},${f(e.r)} 0 0 ${r} ${p(c)}`):l.push(`M${p(c)}`),l}e(g,`emitJump`);function _(e,t,n,i){let a=t.x-e.x,o=t.y-e.y,s=n.x-t.x,c=n.y-t.y,l=Math.hypot(a,o),u=Math.hypot(s,c);if(l<r||u<r)return null;let d=a/l,f=o/l,p=s/u,m=c/u,h=d*p+f*m,g=Math.acos(Math.max(-1,Math.min(1,h)));if(g<r||Math.abs(Math.PI-g)<r)return null;let _=Math.min(i/Math.sin(g/2),l/2,u/2);return{startX:t.x-d*_,startY:t.y-f*_,endX:t.x+p*_,endY:t.y+m*_,ctrlX:t.x,ctrlY:t.y,cutLen:_}}e(_,`computeRoundedCorner`);function v(e,t,r){let o=e.points;if(o.length<2)return``;let c=h(o,e),l=e.curve===`rounded`,u=s(c),d=new Map;for(let e of t){let t=u[e.segIndex];if(!t)continue;let n=Math.hypot(t.b.x-t.a.x,t.b.y-t.a.y),i=d.get(e.segIndex)??[];i.push({t:e.t,point:e.point,d:e.t*n,r:r.jumpRadius}),d.set(e.segIndex,i)}let v=[`M${p(c[0])}`];for(let e=0;e<u.length;e++){let t=u[e],o=Math.hypot(t.b.x-t.a.x,t.b.y-t.a.y),s=o===0?0:(t.b.x-t.a.x)/o,h=o===0?0:(t.b.y-t.a.y)/o,y=m(t),b=0;if(l&&e>0){let t=_(c[e-1],c[e],c[e+1]??c[e],n);t&&(b=t.cutLen)}let x=o,S=null;l&&e<u.length-1&&(S=_(c[e],c[e+1],c[e+2]??c[e+1],n),S&&(x=o-S.cutLen));let C=r.jumpRadius*a,w=[...d.get(e)??[]].sort((e,t)=>e.t-t.t).filter(e=>{let t=Math.min(e.d-b,x-e.d)-i;return e.r=Math.min(e.r,t),e.r>=C});for(let e=0;e<w.length-1;e++){let t=w[e+1].d-w[e].d;if(w[e].r+w[e+1].r>t){let n=t/2;w[e].r=Math.min(w[e].r,n),w[e+1].r=Math.min(w[e+1].r,n)}}for(let e of w)e.r<C||v.push(...g(e,s,h,y,r.jumpStyle));l&&S?(v.push(`L${f(S.startX)},${f(S.startY)}`),v.push(`Q${f(S.ctrlX)},${f(S.ctrlY)} ${f(S.endX)},${f(S.endY)}`)):v.push(`L${p(t.b)}`)}return v.join(` `)}e(v,`rewriteEdgePath`);function y(e){return/^[\d\s+,.LMelm-]*$/.test(e)}e(y,`isStraightPath`);function b(e){return!e||e===`linear`||e===`rounded`||e===`step`||e===`stepBefore`||e===`stepAfter`}e(b,`curveSupportsLineHops`);function x(e){if(!e)return null;try{let t=typeof atob==`function`?atob(e):Buffer.from(e,`base64`).toString(),n=JSON.parse(t);if(!Array.isArray(n))return null;let r=[];for(let e of n)e&&typeof e.x==`number`&&typeof e.y==`number`&&r.push({x:e.x,y:e.y});return r.length>=2?r:null}catch{return null}}e(x,`decodeDataPoints`);function S(e,t,n){if(!n.enabled)return;let r=e.node();if(!r)return;let i=new Map;for(let e of t)i.set(e.id,e);let a=new Map;for(let e of r.querySelectorAll(`path[data-id]`)){let t=e.getAttribute(`data-id`);t!==null&&!a.has(t)&&a.set(t,e)}let o=[];for(let e of t){let t=a.get(e.id);if(!t)continue;let n=x(t.getAttribute(`data-points`))??e.points;o.push({...e,points:n})}let s=d(o);if(s.length===0)return;let c=new Map;for(let e of s){let t=c.get(e.jumpEdgeId)??[];t.push(e),c.set(e.jumpEdgeId,t)}for(let e of o){let t=c.get(e.id);if(!t||t.length===0)continue;let r=i.get(e.id)?.curve;if(r!==void 0&&!b(r))continue;let o=a.get(e.id);if(!o||r===void 0&&!y(o.getAttribute(`d`)??``))continue;let s=o.getAttribute(`style`)??``,l=/stroke-dasharray\s*:\s*0\s+([\d.]+)\s+[\d.]+\s+([\d.]+)/.exec(s),u=l?Number.parseFloat(l[1]):null,d=l?Number.parseFloat(l[2]):null,f=v(e,t,n);if(o.setAttribute(`d`,f),u!==null&&d!==null&&typeof o.getTotalLength==`function`){let e=o.getTotalLength(),t=`0 ${u} ${Math.max(0,e-u-d)} ${d}`,n=s.replace(/stroke-dasharray\s*:[^;]*;?/g,`stroke-dasharray: ${t};`).replace(/;\s*;+/g,`;`);o.setAttribute(`style`,n)}}}e(S,`applyLineJumpsToSvg`);export{S as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{w as e}from"./src-
|
|
1
|
+
import{w as e}from"./src-3uYsZQ6M.js";import{n as t}from"./chunk-Y2CYZVJY-DsF7k-Jl.js";import"./src-99e5ryd8.js";import{A as n}from"./chunk-DSNLSHJZ-BHcejTug.js";import{t as r}from"./dist-CNARAVwn.js";var i=r(),a=t((e,t)=>{let n=e.append(`rect`);if(n.attr(`x`,t.x),n.attr(`y`,t.y),n.attr(`fill`,t.fill),n.attr(`stroke`,t.stroke),n.attr(`width`,t.width),n.attr(`height`,t.height),t.name&&n.attr(`name`,t.name),t.rx&&n.attr(`rx`,t.rx),t.ry&&n.attr(`ry`,t.ry),t.attrs!==void 0)for(let e in t.attrs)n.attr(e,t.attrs[e]);return t.class&&n.attr(`class`,t.class),n},`drawRect`),o=t((e,t)=>{a(e,{x:t.startx,y:t.starty,width:t.stopx-t.startx,height:t.stopy-t.starty,fill:t.fill,stroke:t.stroke,class:`rect`}).lower()},`drawBackgroundRect`),s=t((e,t)=>{let r=t.text.replace(n,` `),i=e.append(`text`);i.attr(`x`,t.x),i.attr(`y`,t.y),i.attr(`class`,`legend`),i.style(`text-anchor`,t.anchor),t.class&&i.attr(`class`,t.class);let a=i.append(`tspan`);return a.attr(`x`,t.x+t.textMargin*2),a.text(r),i},`drawText`),c=t((e,t,n,r)=>{let a=e.append(`image`);a.attr(`x`,t),a.attr(`y`,n);let o=(0,i.sanitizeUrl)(r);a.attr(`xlink:href`,o)},`drawImage`),l=t((e,t,n,r)=>{let a=e.append(`use`);a.attr(`x`,t),a.attr(`y`,n);let o=(0,i.sanitizeUrl)(r);a.attr(`xlink:href`,`#${o}`)},`drawEmbeddedImage`),u=t(()=>({x:0,y:0,width:100,height:100,fill:`#EDF2AE`,stroke:`#666`,anchor:`start`,rx:0,ry:0}),`getNoteRect`),d=t(()=>({x:0,y:0,width:100,height:100,"text-anchor":`start`,style:`#666`,textMargin:0,rx:0,ry:0,tspan:!0}),`getTextObj`),f=t(()=>{let t=e(`.mermaidTooltip`);return t.empty()&&(t=e(`body`).append(`div`).attr(`class`,`mermaidTooltip`).style(`opacity`,0).style(`position`,`absolute`).style(`text-align`,`center`).style(`max-width`,`200px`).style(`padding`,`2px`).style(`font-size`,`12px`).style(`background`,`#ffffde`).style(`border`,`1px solid #333`).style(`border-radius`,`2px`).style(`pointer-events`,`none`).style(`z-index`,`100`)),t},`createTooltip`);export{a,d as c,c as i,o as n,s as o,l as r,u as s,f as t};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{w as e}from"./src-3uYsZQ6M.js";import{n as t}from"./chunk-Y2CYZVJY-DsF7k-Jl.js";import{t as n}from"./src-99e5ryd8.js";import{R as r,h as i,p as a,r as o,s}from"./chunk-DSNLSHJZ-BHcejTug.js";import{t as c}from"./dist-CNARAVwn.js";function l(e){this._context=e}l.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._context.lineTo(e,t)}}};function u(e){return new l(e)}var d=class{constructor(e,t){this._context=e,this._x=t}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line}point(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._x?this._context.bezierCurveTo(this._x0=(this._x0+e)/2,this._y0,this._x0,t,e,t):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+t)/2,e,this._y0,e,t)}this._x0=e,this._y0=t}};function f(e){return new d(e,!0)}function ee(e){return new d(e,!1)}function p(){}function m(e,t,n){e._context.bezierCurveTo((2*e._x0+e._x1)/3,(2*e._y0+e._y1)/3,(e._x0+2*e._x1)/3,(e._y0+2*e._y1)/3,(e._x0+4*e._x1+t)/6,(e._y0+4*e._y1+n)/6)}function h(e){this._context=e}h.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:m(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:m(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function te(e){return new h(e)}function ne(e){this._context=e}ne.prototype={areaStart:p,areaEnd:p,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x2=e,this._y2=t;break;case 1:this._point=2,this._x3=e,this._y3=t;break;case 2:this._point=3,this._x4=e,this._y4=t,this._context.moveTo((this._x0+4*this._x1+e)/6,(this._y0+4*this._y1+t)/6);break;default:m(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function re(e){return new ne(e)}function ie(e){this._context=e}ie.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+e)/6,r=(this._y0+4*this._y1+t)/6;this._line?this._context.lineTo(n,r):this._context.moveTo(n,r);break;case 3:this._point=4;default:m(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function ae(e){return new ie(e)}function oe(e,t){this._basis=new h(e),this._beta=t}oe.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var e=this._x,t=this._y,n=e.length-1;if(n>0)for(var r=e[0],i=t[0],a=e[n]-r,o=t[n]-i,s=-1,c;++s<=n;)c=s/n,this._basis.point(this._beta*e[s]+(1-this._beta)*(r+c*a),this._beta*t[s]+(1-this._beta)*(i+c*o));this._x=this._y=null,this._basis.lineEnd()},point:function(e,t){this._x.push(+e),this._y.push(+t)}};var se=(function e(t){function n(e){return t===1?new h(e):new oe(e,t)}return n.beta=function(t){return e(+t)},n})(.85);function g(e,t,n){e._context.bezierCurveTo(e._x1+e._k*(e._x2-e._x0),e._y1+e._k*(e._y2-e._y0),e._x2+e._k*(e._x1-t),e._y2+e._k*(e._y1-n),e._x2,e._y2)}function _(e,t){this._context=e,this._k=(1-t)/6}_.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:g(this,this._x1,this._y1)}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2,this._x1=e,this._y1=t;break;case 2:this._point=3;default:g(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var ce=(function e(t){function n(e){return new _(e,t)}return n.tension=function(t){return e(+t)},n})(0);function v(e,t){this._context=e,this._k=(1-t)/6}v.prototype={areaStart:p,areaEnd:p,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:g(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var le=(function e(t){function n(e){return new v(e,t)}return n.tension=function(t){return e(+t)},n})(0);function y(e,t){this._context=e,this._k=(1-t)/6}y.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:g(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var ue=(function e(t){function n(e){return new y(e,t)}return n.tension=function(t){return e(+t)},n})(0);function b(e,t,n){var r=e._x1,i=e._y1,a=e._x2,o=e._y2;if(e._l01_a>1e-12){var s=2*e._l01_2a+3*e._l01_a*e._l12_a+e._l12_2a,c=3*e._l01_a*(e._l01_a+e._l12_a);r=(r*s-e._x0*e._l12_2a+e._x2*e._l01_2a)/c,i=(i*s-e._y0*e._l12_2a+e._y2*e._l01_2a)/c}if(e._l23_a>1e-12){var l=2*e._l23_2a+3*e._l23_a*e._l12_a+e._l12_2a,u=3*e._l23_a*(e._l23_a+e._l12_a);a=(a*l+e._x1*e._l23_2a-t*e._l12_2a)/u,o=(o*l+e._y1*e._l23_2a-n*e._l12_2a)/u}e._context.bezierCurveTo(r,i,a,o,e._x2,e._y2)}function de(e,t){this._context=e,this._alpha=t}de.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=(n*n+r*r)**+this._alpha)}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3;default:b(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var fe=(function e(t){function n(e){return t?new de(e,t):new _(e,0)}return n.alpha=function(t){return e(+t)},n})(.5);function pe(e,t){this._context=e,this._alpha=t}pe.prototype={areaStart:p,areaEnd:p,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=(n*n+r*r)**+this._alpha)}switch(this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:b(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var me=(function e(t){function n(e){return t?new pe(e,t):new v(e,0)}return n.alpha=function(t){return e(+t)},n})(.5);function x(e,t){this._context=e,this._alpha=t}x.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=(n*n+r*r)**+this._alpha)}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:b(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var he=(function e(t){function n(e){return t?new x(e,t):new y(e,0)}return n.alpha=function(t){return e(+t)},n})(.5);function ge(e){this._context=e}ge.prototype={areaStart:p,areaEnd:p,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(e,t){e=+e,t=+t,this._point?this._context.lineTo(e,t):(this._point=1,this._context.moveTo(e,t))}};function _e(e){return new ge(e)}function ve(e){return e<0?-1:1}function ye(e,t,n){var r=e._x1-e._x0,i=t-e._x1,a=(e._y1-e._y0)/(r||i<0&&-0),o=(n-e._y1)/(i||r<0&&-0),s=(a*i+o*r)/(r+i);return(ve(a)+ve(o))*Math.min(Math.abs(a),Math.abs(o),.5*Math.abs(s))||0}function be(e,t){var n=e._x1-e._x0;return n?(3*(e._y1-e._y0)/n-t)/2:t}function S(e,t,n){var r=e._x0,i=e._y0,a=e._x1,o=e._y1,s=(a-r)/3;e._context.bezierCurveTo(r+s,i+s*t,a-s,o-s*n,a,o)}function C(e){this._context=e}C.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:S(this,this._t0,be(this,this._t0))}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){var n=NaN;if(e=+e,t=+t,e!==this._x1||t!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,S(this,be(this,n=ye(this,e,t)),n);break;default:S(this,this._t0,n=ye(this,e,t))}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t,this._t0=n}}};function xe(e){this._context=new Se(e)}(xe.prototype=Object.create(C.prototype)).point=function(e,t){C.prototype.point.call(this,t,e)};function Se(e){this._context=e}Se.prototype={moveTo:function(e,t){this._context.moveTo(t,e)},closePath:function(){this._context.closePath()},lineTo:function(e,t){this._context.lineTo(t,e)},bezierCurveTo:function(e,t,n,r,i,a){this._context.bezierCurveTo(t,e,r,n,a,i)}};function Ce(e){return new C(e)}function we(e){return new xe(e)}function Te(e){this._context=e}Te.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var e=this._x,t=this._y,n=e.length;if(n){if(this._line?this._context.lineTo(e[0],t[0]):this._context.moveTo(e[0],t[0]),n===2)this._context.lineTo(e[1],t[1]);else for(var r=Ee(e),i=Ee(t),a=0,o=1;o<n;++a,++o)this._context.bezierCurveTo(r[0][a],i[0][a],r[1][a],i[1][a],e[o],t[o])}(this._line||this._line!==0&&n===1)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(e,t){this._x.push(+e),this._y.push(+t)}};function Ee(e){var t,n=e.length-1,r,i=Array(n),a=Array(n),o=Array(n);for(i[0]=0,a[0]=2,o[0]=e[0]+2*e[1],t=1;t<n-1;++t)i[t]=1,a[t]=4,o[t]=4*e[t]+2*e[t+1];for(i[n-1]=2,a[n-1]=7,o[n-1]=8*e[n-1]+e[n],t=1;t<n;++t)r=i[t]/a[t-1],a[t]-=r,o[t]-=r*o[t-1];for(i[n-1]=o[n-1]/a[n-1],t=n-2;t>=0;--t)i[t]=(o[t]-i[t+1])/a[t];for(a[n-1]=(e[n]+i[n-1])/2,t=0;t<n-1;++t)a[t]=2*e[t+1]-i[t+1];return[i,a]}function De(e){return new Te(e)}function w(e,t){this._context=e,this._t=t}w.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&this._point===2&&this._context.lineTo(this._x,this._y),(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t);else{var n=this._x*(1-this._t)+e*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,t)}}this._x=e,this._y=t}};function T(e){return new w(e,.5)}function E(e){return new w(e,0)}function D(e){return new w(e,1)}function O(e){if(typeof e!=`object`||!e)return!1;if(Object.getPrototypeOf(e)===null)return!0;if(Object.prototype.toString.call(e)!==`[object Object]`){let t=e[Symbol.toStringTag];return t==null||!Object.getOwnPropertyDescriptor(e,Symbol.toStringTag)?.writable?!1:e.toString()===`[object ${t}]`}let t=e;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function Oe(){}function ke(e){return Object.getOwnPropertySymbols(e).filter(t=>Object.prototype.propertyIsEnumerable.call(e,t))}function k(e){return e==null?e===void 0?`[object Undefined]`:`[object Null]`:Object.prototype.toString.call(e)}var Ae=`[object RegExp]`,A=`[object String]`,j=`[object Number]`,M=`[object Boolean]`,N=`[object Arguments]`,je=`[object Symbol]`,Me=`[object Date]`,Ne=`[object Map]`,Pe=`[object Set]`,Fe=`[object Array]`,Ie=`[object ArrayBuffer]`,Le=`[object Object]`,Re=`[object DataView]`,ze=`[object Uint8Array]`,Be=`[object Uint8ClampedArray]`,Ve=`[object Uint16Array]`,He=`[object Uint32Array]`,Ue=`[object Int8Array]`,We=`[object Int16Array]`,Ge=`[object Int32Array]`,Ke=`[object Float32Array]`,qe=`[object Float64Array]`,Je=typeof globalThis==`object`&&globalThis||typeof window==`object`&&window||typeof self==`object`&&self||typeof global==`object`&&global||(function(){return this})();function P(e){return Je.Buffer!==void 0&&Je.Buffer.isBuffer(e)}function Ye(e){return Number.isSafeInteger(e)&&e>=0}function Xe(e){return e!=null&&typeof e!=`function`&&Ye(e.length)}function Ze(e){return e===`__proto__`}function F(e){return e==null||typeof e!=`object`&&typeof e!=`function`}function I(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}function Qe(e,t){return L(e,void 0,e,new Map,t)}function L(e,t,n,r=new Map,i=void 0){let a=i?.(e,t,n,r);if(a!==void 0)return a;if(F(e))return e;if(r.has(e))return r.get(e);if(Array.isArray(e)){let t=Array(e.length);r.set(e,t);for(let a=0;a<e.length;a++)t[a]=L(e[a],a,n,r,i);return Object.hasOwn(e,`index`)&&(t.index=e.index),Object.hasOwn(e,`input`)&&(t.input=e.input),t}if(e instanceof Date)return new Date(e.getTime());if(e instanceof RegExp){let t=new RegExp(e.source,e.flags);return t.lastIndex=e.lastIndex,t}if(e instanceof Map){let t=new Map;r.set(e,t);for(let[a,o]of e)t.set(a,L(o,a,n,r,i));return t}if(e instanceof Set){let t=new Set;r.set(e,t);for(let a of e)t.add(L(a,void 0,n,r,i));return t}if(P(e))return e.subarray();if(I(e)){let t=new(Object.getPrototypeOf(e)).constructor(e.length);r.set(e,t);for(let a=0;a<e.length;a++)t[a]=L(e[a],a,n,r,i);return t}if(e instanceof ArrayBuffer||typeof SharedArrayBuffer<`u`&&e instanceof SharedArrayBuffer)return e.slice(0);if(e instanceof DataView){let t=new DataView(e.buffer.slice(0),e.byteOffset,e.byteLength);return r.set(e,t),R(t,e,n,r,i),t}if(typeof File<`u`&&e instanceof File){let t=new File([e],e.name,{type:e.type});return r.set(e,t),R(t,e,n,r,i),t}if(typeof Blob<`u`&&e instanceof Blob){let t=new Blob([e],{type:e.type});return r.set(e,t),R(t,e,n,r,i),t}if(e instanceof Error){let t=structuredClone(e);return r.set(e,t),t.message=e.message,t.name=e.name,t.stack=e.stack,t.cause=e.cause,t.constructor=e.constructor,R(t,e,n,r,i),t}if(e instanceof Boolean){let t=new Boolean(e.valueOf());return r.set(e,t),R(t,e,n,r,i),t}if(e instanceof Number){let t=new Number(e.valueOf());return r.set(e,t),R(t,e,n,r,i),t}if(e instanceof String){let t=new String(e.valueOf());return r.set(e,t),R(t,e,n,r,i),t}if(typeof e==`object`&&$e(e)){let t=Object.create(Object.getPrototypeOf(e));return r.set(e,t),R(t,e,n,r,i),t}return e}function R(e,t,n=e,r,i){let a=[...Object.keys(t),...ke(t)];for(let o=0;o<a.length;o++){let s=a[o],c=Object.getOwnPropertyDescriptor(e,s);(c==null||c.writable)&&(e[s]=L(t[s],s,n,r,i))}}function $e(e){switch(k(e)){case N:case Fe:case Ie:case Re:case M:case Me:case Ke:case qe:case Ue:case We:case Ge:case Ne:case j:case Le:case Ae:case Pe:case A:case je:case ze:case Be:case Ve:case He:return!0;default:return!1}}function et(e,t){return Qe(e,(n,r,i,a)=>{let o=t?.(n,r,i,a);if(o!==void 0)return o;if(typeof e==`object`){if(k(e)===`[object Object]`&&typeof e.constructor!=`function`){let t={};return a.set(e,t),R(t,e,i,a),t}switch(Object.prototype.toString.call(e)){case j:case A:case M:{let t=new e.constructor(e?.valueOf());return R(t,e),t}case N:{let t={};return R(t,e),t.length=e.length,t[Symbol.iterator]=e[Symbol.iterator],t}default:return}}})}function tt(e){return et(e)}function z(e){return typeof e==`object`&&!!e&&k(e)===`[object Arguments]`}function B(e){return typeof e==`object`&&!!e}function nt(e){return B(e)&&Xe(e)}function V(e){return I(e)}function H(e,t){if(typeof e!=`function`||t!=null&&typeof t!=`function`)throw TypeError(`Expected a function`);let n=function(...r){let i=t?t.apply(this,r):r[0],a=n.cache;if(a.has(i))return a.get(i);let o=e.apply(this,r);return n.cache=a.set(i,o)||a,o};return n.cache=new(H.Cache||Map),n}H.Cache=Map;function rt(e){if(F(e))return e;if(Array.isArray(e)||I(e)||e instanceof ArrayBuffer||typeof SharedArrayBuffer<`u`&&e instanceof SharedArrayBuffer)return e.slice(0);let t=Object.getPrototypeOf(e);if(t==null)return Object.assign(Object.create(t),e);let n=t.constructor;if(e instanceof Date||e instanceof Map||e instanceof Set)return new n(e);if(e instanceof RegExp){let t=new n(e);return t.lastIndex=e.lastIndex,t}if(e instanceof DataView)return new n(e.buffer.slice(0));if(e instanceof Error){let t;return t=e instanceof AggregateError?new n(e.errors,e.message,{cause:e.cause}):new n(e.message,{cause:e.cause}),t.stack=e.stack,Object.assign(t,e),t}return typeof File<`u`&&e instanceof File?new n([e],e.name,{type:e.type,lastModified:e.lastModified}):typeof e==`object`?Object.assign(Object.create(t),e):e}function it(e,...t){let n=t.slice(0,-1),r=t[t.length-1],i=e;for(let e=0;e<n.length;e++){let t=n[e];i=U(i,t,r,new Map)}return i}function U(e,t,n,r){if(F(e)&&(e=Object(e)),typeof t!=`object`||!t)return e;if(r.has(t))return rt(r.get(t));if(r.set(t,e),Array.isArray(t)){t=t.slice();for(let e=0;e<t.length;e++)t[e]=t[e]??void 0}let i=[...Object.keys(t),...ke(t)];for(let a=0;a<i.length;a++){let o=i[a];if(Ze(o))continue;let s=t[o],c=e[o];if(z(s)&&(s={...s}),z(c)&&(c={...c}),P(s)&&(s=tt(s)),Array.isArray(s)){if(Array.isArray(c)){let e=[],t=Reflect.ownKeys(c);for(let n=0;n<t.length;n++){let r=t[n];e[r]=c[r]}c=e}else if(nt(c)){let e=[];for(let t=0;t<c.length;t++)e[t]=c[t];c=e}else c=[]}let l=n(c,s,o,e,t,r);l===void 0?Array.isArray(s)||B(c)&&B(s)&&(O(c)||O(s)||V(c)||V(s))?e[o]=U(c,s,n,r):c==null&&O(s)?e[o]=U({},s,n,r):c==null&&V(s)?e[o]=tt(s):(c===void 0||s!==void 0)&&(e[o]=s):e[o]=l}return e}function at(e,...t){return it(e,...t,Oe)}var ot=c(),st={curveBasis:te,curveBasisClosed:re,curveBasisOpen:ae,curveBumpX:f,curveBumpY:ee,curveBundle:se,curveCardinalClosed:le,curveCardinalOpen:ue,curveCardinal:ce,curveCatmullRomClosed:me,curveCatmullRomOpen:he,curveCatmullRom:fe,curveLinear:u,curveLinearClosed:_e,curveMonotoneX:Ce,curveMonotoneY:we,curveNatural:De,curveStep:T,curveStepAfter:D,curveStepBefore:E},ct=/\s*(?:(\w+)(?=:):|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi,lt=t(function(e,t){let n=ut(e,/(?:init\b)|(?:initialize\b)/),i={};if(Array.isArray(n)){let e=n.map(e=>e.args);r(e),i=o(i,[...e])}else i=n.args;if(!i)return;let s=a(e,t),c=`config`;return i[c]!==void 0&&(s===`flowchart-v2`&&(s=`flowchart`),i[s]=i[c],delete i[c]),i},`detectInit`),ut=t(function(e,t=null){try{let r=RegExp(`[%]{2}(?![{]${ct.source})(?=[}][%]{2}).*
|
|
2
|
+
`,`ig`);e=e.trim().replace(r,``).replace(/'/gm,`"`),n.debug(`Detecting diagram directive${t===null?``:` type:`+t} based on the text:${e}`);let a,o=[];for(;(a=i.exec(e))!==null;)if(a.index===i.lastIndex&&i.lastIndex++,a&&!t||t&&a[1]?.match(t)||t&&a[2]?.match(t)){let e=a[1]?a[1]:a[2],t=a[3]?a[3].trim():a[4]?JSON.parse(a[4].trim()):null;o.push({type:e,args:t})}return o.length===0?{type:e,args:null}:o.length===1?o[0]:o}catch(r){return n.error(`ERROR: ${r.message} - Unable to parse directive type: '${t}' based on the text: '${e}'`),{type:void 0,args:null}}},`detectDirective`),dt=t(function(e){return e.replace(i,``)},`removeDirectives`),ft=t(function(e,t){for(let[n,r]of t.entries())if(r.match(e))return n;return-1},`isSubstringInArray`);function W(e,t){return e?st[`curve${e.charAt(0).toUpperCase()+e.slice(1)}`]??t:t}t(W,`interpolateToCurve`);function pt(e,t){let n=e.trim();if(n)return t.securityLevel===`loose`?n:(0,ot.sanitizeUrl)(n)}t(pt,`formatUrl`);var mt=t((e,...t)=>{let r=e.split(`.`),i=r.length-1,a=r[i],o=window;for(let t=0;t<i;t++)if(o=o[r[t]],!o){n.error(`Function name: ${e} not found in window`);return}o[a](...t)},`runFunc`);function G(e,t){return!e||!t?0:Math.sqrt((t.x-e.x)**2+(t.y-e.y)**2)}t(G,`distance`);function ht(e){let t,n=0;return e.forEach(e=>{n+=G(e,t),t=e}),K(e,n/2)}t(ht,`traverseEdge`);function gt(e){return e.length===1?e[0]:ht(e)}t(gt,`calcLabelPosition`);var _t=t((e,t=2)=>{let n=10**t;return Math.round(e*n)/n},`roundNumber`),K=t((e,t)=>{let n,r=t;for(let t of e){if(n){let e=G(t,n);if(e===0)return n;if(e<r)r-=e;else{let i=r/e;if(i<=0)return n;if(i>=1)return{x:t.x,y:t.y};if(i>0&&i<1)return{x:_t((1-i)*n.x+i*t.x,5),y:_t((1-i)*n.y+i*t.y,5)}}}n=t}throw Error(`Could not find a suitable point for the given distance`)},`calculatePoint`),vt=t((e,t,r)=>{n.info(`our points ${JSON.stringify(t)}`),t[0]!==r&&(t=t.reverse());let i=K(t,25),a=e?10:5,o=Math.atan2(t[0].y-i.y,t[0].x-i.x),s={x:0,y:0};return s.x=Math.sin(o)*a+(t[0].x+i.x)/2,s.y=-Math.cos(o)*a+(t[0].y+i.y)/2,s},`calcCardinalityPosition`);function yt(e,t,r){let i=structuredClone(r);n.info(`our points`,i),t!==`start_left`&&t!==`start_right`&&i.reverse();let a=K(i,25+e),o=10+e*.5,s=Math.atan2(i[0].y-a.y,i[0].x-a.x),c={x:0,y:0};return t===`start_left`?(c.x=Math.sin(s+Math.PI)*o+(i[0].x+a.x)/2,c.y=-Math.cos(s+Math.PI)*o+(i[0].y+a.y)/2):t===`end_right`?(c.x=Math.sin(s-Math.PI)*o+(i[0].x+a.x)/2,c.y=-Math.cos(s-Math.PI)*o+(i[0].y+a.y)/2):(c.x=Math.sin(s)*o+(i[0].x+a.x)/2,c.y=-Math.cos(s)*o+(i[0].y+a.y)/2),c}t(yt,`calcTerminalLabelPosition`);function q(e){let t=``,n=``;for(let r of e)r!==void 0&&(r.startsWith(`color:`)||r.startsWith(`text-align:`)?n=n+r+`;`:t=t+r+`;`);return{style:t,labelStyle:n}}t(q,`getStylesFromArray`);var bt=0,xt=t(()=>(bt++,`id-`+Math.random().toString(36).substr(2,12)+`-`+bt),`generateId`);function St(e){let t=``;for(let n=0;n<e;n++)t+=`0123456789abcdef`.charAt(Math.floor(Math.random()*16));return t}t(St,`makeRandomHex`);var Ct=t(e=>St(e.length),`random`),wt=t(function(){return{x:0,y:0,fill:void 0,anchor:`start`,style:`#666`,width:100,height:100,textMargin:0,rx:0,ry:0,valign:void 0,text:``}},`getTextObj`),Tt=t(function(e,t){let n=t.text.replace(s.lineBreakRegex,` `),[,r]=Q(t.fontSize),i=e.append(`text`);i.attr(`x`,t.x),i.attr(`y`,t.y),i.style(`text-anchor`,t.anchor),i.style(`font-family`,t.fontFamily),i.style(`font-size`,r),i.style(`font-weight`,t.fontWeight),i.attr(`fill`,t.fill),t.class!==void 0&&i.attr(`class`,t.class);let a=i.append(`tspan`);return a.attr(`x`,t.x+t.textMargin*2),a.attr(`fill`,t.fill),a.text(n),i},`drawSimpleText`),Et=H((e,t,n)=>{if(!e||(n=Object.assign({fontSize:12,fontWeight:400,fontFamily:`Arial`,joinWith:`<br/>`},n),s.hasBreaks(e)))return e;let r=e.split(` `).filter(Boolean),i=[],a=``;return r.forEach((e,o)=>{let s=Y(`${e} `,n),c=Y(a,n);if(s>t){let{hyphenatedStrings:r,remainingWord:o}=Dt(e,t,`-`,n);i.push(a,...r),a=o}else c+s>=t?(i.push(a),a=e):a=[a,e].filter(Boolean).join(` `);o+1===r.length&&i.push(a)}),i.filter(e=>e!==``).join(n.joinWith)},(e,t,n)=>`${e}${t}${n.fontSize}${n.fontWeight}${n.fontFamily}${n.joinWith}`),Dt=H((e,t,n=`-`,r)=>{r=Object.assign({fontSize:12,fontWeight:400,fontFamily:`Arial`,margin:0},r);let i=[...e],a=[],o=``;return i.forEach((e,s)=>{let c=`${o}${e}`;if(Y(c,r)>=t){let e=s+1,t=i.length===e,r=`${c}${n}`;a.push(t?c:r),o=``}else o=c}),{hyphenatedStrings:a,remainingWord:o}},(e,t,n=`-`,r)=>`${e}${t}${n}${r.fontSize}${r.fontWeight}${r.fontFamily}`);function J(e,t){return X(e,t).height}t(J,`calculateTextHeight`);function Y(e,t){return X(e,t).width}t(Y,`calculateTextWidth`);var X=H((t,n)=>{let{fontSize:r=12,fontFamily:i=`Arial`,fontWeight:a=400}=n;if(!t)return{width:0,height:0};let[,o]=Q(r),c=[`sans-serif`,i],l=t.split(s.lineBreakRegex),u=[],d=e(`body`);if(!d.remove)return{width:0,height:0,lineHeight:0};let f=d.append(`svg`);for(let e of c){let t=0,n={width:0,height:0,lineHeight:0};for(let r of l){let i=wt();i.text=r||``;let s=Tt(f,i).style(`font-size`,o).style(`font-weight`,a).style(`font-family`,e),c=(s._groups||s)[0][0].getBBox();if(c.width===0&&c.height===0)throw Error(`svg element not in render tree`);n.width=Math.round(Math.max(n.width,c.width)),t=Math.round(c.height),n.height+=t,n.lineHeight=Math.round(Math.max(n.lineHeight,t))}u.push(n)}return f.remove(),u[isNaN(u[1].height)||isNaN(u[1].width)||isNaN(u[1].lineHeight)||u[0].height>u[1].height&&u[0].width>u[1].width&&u[0].lineHeight>u[1].lineHeight?0:1]},(e,t)=>`${e}${t.fontSize}${t.fontWeight}${t.fontFamily}`),Ot=class{constructor(e=!1,t){this.count=0,this.count=t?t.length:0,this.next=e?()=>this.count++:()=>Date.now()}static{t(this,`InitIDGenerator`)}},Z,kt=t(function(e){return Z||=document.createElement(`div`),e=escape(e).replace(/%26/g,`&`).replace(/%23/g,`#`).replace(/%3B/g,`;`),Z.innerHTML=e,unescape(Z.textContent)},`entityDecode`);function At(e){return`str`in e}t(At,`isDetailedError`);function jt(e){return e instanceof Error?e.message:String(e)}t(jt,`getErrorMessage`);var Mt=t((e,t,n,r)=>{if(!r)return;let i=e.node()?.getBBox();i&&e.append(`text`).text(r).attr(`text-anchor`,`middle`).attr(`x`,i.x+i.width/2).attr(`y`,-n).attr(`class`,t)},`insertTitle`),Q=t(e=>{if(typeof e==`number`)return[e,e+`px`];let t=parseInt(e??``,10);return Number.isNaN(t)?[void 0,void 0]:e===String(t)?[t,e+`px`]:[t,e]},`parseFontSize`);function $(e,t){return at({},e,t)}t($,`cleanAndMerge`);var Nt={assignWithDepth:o,wrapLabel:Et,calculateTextHeight:J,calculateTextWidth:Y,calculateTextDimensions:X,cleanAndMerge:$,detectInit:lt,detectDirective:ut,isSubstringInArray:ft,interpolateToCurve:W,calcLabelPosition:gt,calcCardinalityPosition:vt,calcTerminalLabelPosition:yt,formatUrl:pt,getStylesFromArray:q,generateId:xt,random:Ct,runFunc:mt,entityDecode:kt,insertTitle:Mt,isLabelCoordinateInPath:Rt,parseFontSize:Q,InitIDGenerator:Ot},Pt=t(function(e){let t=e;return t=t.replace(/style.*:\S*#.*;/g,function(e){return e.substring(0,e.length-1)}),t=t.replace(/classDef.*:\S*#.*;/g,function(e){return e.substring(0,e.length-1)}),t=t.replace(/#\w+;/g,function(e){let t=e.substring(1,e.length-1);return/^\+?\d+$/.test(t)?`fl°°`+t+`¶ß`:`fl°`+t+`¶ß`}),t},`encodeEntities`),Ft=t(function(e){return e.replace(/fl°°/g,`&#`).replace(/fl°/g,`&`).replace(/¶ß/g,`;`)},`decodeEntities`),It=t((e,t,{counter:n=0,prefix:r,suffix:i},a)=>a||`${r?`${r}_`:``}${e}_${t}_${n}${i?`_${i}`:``}`,`getEdgeId`);function Lt(e){return e??null}t(Lt,`handleUndefinedAttr`);function Rt(e,t){let n=Math.round(e.x),r=Math.round(e.y),i=t.replace(/(\d+\.\d+)/g,e=>Math.round(parseFloat(e)).toString());return i.includes(n.toString())||i.includes(r.toString())}t(Rt,`isLabelCoordinateInPath`);export{fe as $,Ke as A,A as B,P as C,M as D,Fe as E,Ne as F,Be as G,Ve as H,j as I,E as J,k as K,Le as L,We as M,Ge as N,Re as O,Ue as P,we as Q,Ae as R,Xe as S,Ie as T,He as U,je as V,ze as W,De as X,T as Y,Ce as Z,Nt as _,Ft as a,z as b,It as c,Lt as d,ce as et,W as f,dt as g,Ct as h,$ as i,u as it,qe as j,Me as k,jt as l,Q as m,J as n,f as nt,Pt as o,At as p,D as q,Y as r,ee as rt,xt as s,X as t,te as tt,q as u,Et as v,N as w,F as x,V as y,Pe as z};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{w as e}from"./src-
|
|
1
|
+
import{w as e}from"./src-3uYsZQ6M.js";import{n as t}from"./chunk-Y2CYZVJY-DsF7k-Jl.js";import{t as n}from"./src-99e5ryd8.js";import{F as r,k as i,s as a,y as o,z as s}from"./chunk-DSNLSHJZ-BHcejTug.js";import{a as c}from"./chunk-7S6XSTFO-DClaWD3h.js";import{n as l,t as u}from"./chunk-YZO67HFG-DYi_O4tF.js";function d(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}var f=d();function p(e){f=e}var m={exec:()=>null};function h(e,t=``){let n=typeof e==`string`?e:e.source,r={replace:(e,t)=>{let i=typeof t==`string`?t:t.source;return i=i.replace(_.caret,`$1`),n=n.replace(e,i),r},getRegex:()=>new RegExp(n,t)};return r}var g=(()=>{try{return!0}catch{return!1}})(),_={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceTabs:/^\t+/,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] /,listReplaceTask:/^\[[ xX]\] +/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^<a /i,endATag:/^<\/a>/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^</,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,unescapeTest:/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:e=>RegExp(`^( {0,3}${e})((?:[ ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:e=>RegExp(`^ {0,${Math.min(3,e-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),hrRegex:e=>RegExp(`^ {0,${Math.min(3,e-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),fencesBeginRegex:e=>RegExp(`^ {0,${Math.min(3,e-1)}}(?:\`\`\`|~~~)`),headingBeginRegex:e=>RegExp(`^ {0,${Math.min(3,e-1)}}#`),htmlBeginRegex:e=>RegExp(`^ {0,${Math.min(3,e-1)}}<(?:[a-z].*>|!--)`,`i`)},ee=/^(?:[ \t]*(?:\n|$))+/,te=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,ne=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,v=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,re=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,y=/(?:[*+-]|\d{1,9}[.)])/,ie=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,ae=h(ie).replace(/bull/g,y).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,``).getRegex(),oe=h(ie).replace(/bull/g,y).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),b=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,se=/^[^\n]+/,x=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/,ce=h(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace(`label`,x).replace(`title`,/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),le=h(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,y).getRegex(),S=`address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul`,C=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,ue=h(`^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))`,`i`).replace(`comment`,C).replace(`tag`,S).replace(`attribute`,/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),de=h(b).replace(`hr`,v).replace(`heading`,` {0,3}#{1,6}(?:\\s|$)`).replace(`|lheading`,``).replace(`|table`,``).replace(`blockquote`,` {0,3}>`).replace(`fences`," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace(`list`,` {0,3}(?:[*+-]|1[.)]) `).replace(`html`,`</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)`).replace(`tag`,S).getRegex(),w={blockquote:h(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace(`paragraph`,de).getRegex(),code:te,def:ce,fences:ne,heading:re,hr:v,html:ue,lheading:ae,list:le,newline:ee,paragraph:de,table:m,text:se},fe=h(`^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)`).replace(`hr`,v).replace(`heading`,` {0,3}#{1,6}(?:\\s|$)`).replace(`blockquote`,` {0,3}>`).replace(`code`,`(?: {4}| {0,3} )[^\\n]`).replace(`fences`," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace(`list`,` {0,3}(?:[*+-]|1[.)]) `).replace(`html`,`</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)`).replace(`tag`,S).getRegex(),pe={...w,lheading:oe,table:fe,paragraph:h(b).replace(`hr`,v).replace(`heading`,` {0,3}#{1,6}(?:\\s|$)`).replace(`|lheading`,``).replace(`table`,fe).replace(`blockquote`,` {0,3}>`).replace(`fences`," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace(`list`,` {0,3}(?:[*+-]|1[.)]) `).replace(`html`,`</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)`).replace(`tag`,S).getRegex()},me={...w,html:h(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace(`comment`,C).replace(/tag/g,`(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b`).getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:m,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:h(b).replace(`hr`,v).replace(`heading`,` *#{1,6} *[^
|
|
2
2
|
]`).replace(`lheading`,ae).replace(`|table`,``).replace(`blockquote`,` {0,3}>`).replace(`|fences`,``).replace(`|list`,``).replace(`|html`,``).replace(`|tag`,``).getRegex()},he=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,ge=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,_e=/^( {2,}|\\)\n(?!\s*$)/,ve=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,T=/[\p{P}\p{S}]/u,E=/[\s\p{P}\p{S}]/u,ye=/[^\s\p{P}\p{S}]/u,be=h(/^((?![*_])punctSpace)/,`u`).replace(/punctSpace/g,E).getRegex(),xe=/(?!~)[\p{P}\p{S}]/u,Se=/(?!~)[\s\p{P}\p{S}]/u,Ce=/(?:[^\s\p{P}\p{S}]|~)/u,we=h(/link|precode-code|html/,`g`).replace(`link`,/\[(?:[^\[\]`]|(?<a>`+)[^`]+\k<a>(?!`))*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)/).replace(`precode-`,g?"(?<!`)()":"(^^|[^`])").replace(`code`,/(?<b>`+)[^`]+\k<b>(?!`)/).replace(`html`,/<(?! )[^<>]*?>/).getRegex(),Te=/^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/,Ee=h(Te,`u`).replace(/punct/g,T).getRegex(),De=h(Te,`u`).replace(/punct/g,xe).getRegex(),Oe=`^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)`,ke=h(Oe,`gu`).replace(/notPunctSpace/g,ye).replace(/punctSpace/g,E).replace(/punct/g,T).getRegex(),Ae=h(Oe,`gu`).replace(/notPunctSpace/g,Ce).replace(/punctSpace/g,Se).replace(/punct/g,xe).getRegex(),je=h(`^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)`,`gu`).replace(/notPunctSpace/g,ye).replace(/punctSpace/g,E).replace(/punct/g,T).getRegex(),Me=h(/\\(punct)/,`gu`).replace(/punct/g,T).getRegex(),Ne=h(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace(`scheme`,/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace(`email`,/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),Pe=h(C).replace(`(?:-->|$)`,`-->`).getRegex(),Fe=h(`^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>`).replace(`comment`,Pe).replace(`attribute`,/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),D=/(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+[^`]*?`+(?!`)|[^\[\]\\`])*?/,Ie=h(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace(`label`,D).replace(`href`,/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace(`title`,/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),Le=h(/^!?\[(label)\]\[(ref)\]/).replace(`label`,D).replace(`ref`,x).getRegex(),Re=h(/^!?\[(ref)\](?:\[\])?/).replace(`ref`,x).getRegex(),ze=h(`reflink|nolink(?!\\()`,`g`).replace(`reflink`,Le).replace(`nolink`,Re).getRegex(),Be=/[hH][tT][tT][pP][sS]?|[fF][tT][pP]/,O={_backpedal:m,anyPunctuation:Me,autolink:Ne,blockSkip:we,br:_e,code:ge,del:m,emStrongLDelim:Ee,emStrongRDelimAst:ke,emStrongRDelimUnd:je,escape:he,link:Ie,nolink:Re,punctuation:be,reflink:Le,reflinkSearch:ze,tag:Fe,text:ve,url:m},Ve={...O,link:h(/^!?\[(label)\]\((.*?)\)/).replace(`label`,D).getRegex(),reflink:h(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace(`label`,D).getRegex()},k={...O,emStrongRDelimAst:Ae,emStrongLDelim:De,url:h(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace(`protocol`,Be).replace(`email`,/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/,text:h(/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/).replace(`protocol`,Be).getRegex()},He={...k,br:h(_e).replace(`{2,}`,`*`).getRegex(),text:h(k.text).replace(`\\b_`,`\\b_| {2,}\\n`).replace(/\{2,\}/g,`*`).getRegex()},A={normal:w,gfm:pe,pedantic:me},j={normal:O,gfm:k,breaks:He,pedantic:Ve},Ue={"&":`&`,"<":`<`,">":`>`,'"':`"`,"'":`'`},We=e=>Ue[e];function M(e,t){if(t){if(_.escapeTest.test(e))return e.replace(_.escapeReplace,We)}else if(_.escapeTestNoEncode.test(e))return e.replace(_.escapeReplaceNoEncode,We);return e}function Ge(e){try{e=encodeURI(e).replace(_.percentDecode,`%`)}catch{return null}return e}function Ke(e,t){let n=e.replace(_.findPipe,(e,t,n)=>{let r=!1,i=t;for(;--i>=0&&n[i]===`\\`;)r=!r;return r?`|`:` |`}).split(_.splitPipe),r=0;if(n[0].trim()||n.shift(),n.length>0&&!n.at(-1)?.trim()&&n.pop(),t){if(n.length>t)n.splice(t);else for(;n.length<t;)n.push(``)}for(;r<n.length;r++)n[r]=n[r].trim().replace(_.slashPipe,`|`);return n}function N(e,t,n){let r=e.length;if(r===0)return``;let i=0;for(;i<r;){let a=e.charAt(r-i-1);if(a===t&&!n)i++;else if(a!==t&&n)i++;else break}return e.slice(0,r-i)}function qe(e,t){if(e.indexOf(t[1])===-1)return-1;let n=0;for(let r=0;r<e.length;r++)if(e[r]===`\\`)r++;else if(e[r]===t[0])n++;else if(e[r]===t[1]&&(n--,n<0))return r;return n>0?-2:-1}function Je(e,t,n,r,i){let a=t.href,o=t.title||null,s=e[1].replace(i.other.outputLinkReplace,`$1`);r.state.inLink=!0;let c={type:e[0].charAt(0)===`!`?`image`:`link`,raw:n,href:a,title:o,text:s,tokens:r.inlineTokens(s)};return r.state.inLink=!1,c}function Ye(e,t,n){let r=e.match(n.other.indentCodeCompensation);if(r===null)return t;let i=r[1];return t.split(`
|
|
3
3
|
`).map(e=>{let t=e.match(n.other.beginningSpace);if(t===null)return e;let[r]=t;return r.length>=i.length?e.slice(i.length):e}).join(`
|
|
4
4
|
`)}var P=class{options;rules;lexer;constructor(e){this.options=e||f}space(e){let t=this.rules.block.newline.exec(e);if(t&&t[0].length>0)return{type:`space`,raw:t[0]}}code(e){let t=this.rules.block.code.exec(e);if(t){let e=t[0].replace(this.rules.other.codeRemoveIndent,``);return{type:`code`,raw:t[0],codeBlockStyle:`indented`,text:this.options.pedantic?e:N(e,`
|
|
@@ -14,7 +14,7 @@ ${c}`:c;let l=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTo
|
|
|
14
14
|
`),o=this.blockquote(a);i[i.length-1]=o,n=n.substring(0,n.length-t.raw.length)+o.raw,r=r.substring(0,r.length-t.text.length)+o.text;break}if(u?.type===`list`){let t=u,a=t.raw+`
|
|
15
15
|
`+e.join(`
|
|
16
16
|
`),o=this.list(a);i[i.length-1]=o,n=n.substring(0,n.length-u.raw.length)+o.raw,r=r.substring(0,r.length-t.raw.length)+o.raw,e=a.substring(i.at(-1).raw.length).split(`
|
|
17
|
-
`)
|
|
17
|
+
`)}}return{type:`blockquote`,raw:n,tokens:i,text:r}}}list(e){let t=this.rules.block.list.exec(e);if(t){let n=t[1].trim(),r=n.length>1,i={type:`list`,raw:``,ordered:r,start:r?+n.slice(0,-1):``,loose:!1,items:[]};n=r?`\\d{1,9}\\${n.slice(-1)}`:`\\${n}`,this.options.pedantic&&(n=r?n:`[*+-]`);let a=this.rules.other.listItemRegex(n),o=!1;for(;e;){let n=!1,r=``,s=``;if(!(t=a.exec(e))||this.rules.block.hr.test(e))break;r=t[0],e=e.substring(r.length);let c=t[2].split(`
|
|
18
18
|
`,1)[0].replace(this.rules.other.listReplaceTabs,e=>` `.repeat(3*e.length)),l=e.split(`
|
|
19
19
|
`,1)[0],u=!c.trim(),d=0;if(this.options.pedantic?(d=2,s=c.trimStart()):u?d=t[1].length+1:(d=t[2].search(this.rules.other.nonSpaceChar),d=d>4?1:d,s=c.slice(d),d+=t[1].length),u&&this.rules.other.blankLine.test(l)&&(r+=l+`
|
|
20
20
|
`,e=e.substring(l.length+1),n=!0),!n){let t=this.rules.other.nextBulletRegex(d),n=this.rules.other.hrRegex(d),i=this.rules.other.fencesBeginRegex(d),a=this.rules.other.headingBeginRegex(d),o=this.rules.other.htmlBeginRegex(d);for(;e;){let f=e.split(`
|
|
@@ -28,16 +28,16 @@ ${c}`:c;let l=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTo
|
|
|
28
28
|
`:t.push(r);continue}if(r=this.tokenizer.code(e)){e=e.substring(r.raw.length);let n=t.at(-1);n?.type===`paragraph`||n?.type===`text`?(n.raw+=(n.raw.endsWith(`
|
|
29
29
|
`)?``:`
|
|
30
30
|
`)+r.raw,n.text+=`
|
|
31
|
-
`+r.text,this.inlineQueue.at(-1).src=n.text):t.push(r);continue}if(r=this.tokenizer.fences(e))
|
|
31
|
+
`+r.text,this.inlineQueue.at(-1).src=n.text):t.push(r);continue}if((r=this.tokenizer.fences(e))||(r=this.tokenizer.heading(e))||(r=this.tokenizer.hr(e))||(r=this.tokenizer.blockquote(e))||(r=this.tokenizer.list(e))||(r=this.tokenizer.html(e))){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.def(e)){e=e.substring(r.raw.length);let n=t.at(-1);n?.type===`paragraph`||n?.type===`text`?(n.raw+=(n.raw.endsWith(`
|
|
32
32
|
`)?``:`
|
|
33
33
|
`)+r.raw,n.text+=`
|
|
34
|
-
`+r.raw,this.inlineQueue.at(-1).src=n.text):this.tokens.links[r.tag]||(this.tokens.links[r.tag]={href:r.href,title:r.title},t.push(r));continue}if(r=this.tokenizer.table(e))
|
|
34
|
+
`+r.raw,this.inlineQueue.at(-1).src=n.text):this.tokens.links[r.tag]||(this.tokens.links[r.tag]={href:r.href,title:r.title},t.push(r));continue}if((r=this.tokenizer.table(e))||(r=this.tokenizer.lheading(e))){e=e.substring(r.raw.length),t.push(r);continue}let i=e;if(this.options.extensions?.startBlock){let t=1/0,n=e.slice(1),r;this.options.extensions.startBlock.forEach(e=>{r=e.call({lexer:this},n),typeof r==`number`&&r>=0&&(t=Math.min(t,r))}),t<1/0&&t>=0&&(i=e.substring(0,t+1))}if(this.state.top&&(r=this.tokenizer.paragraph(i))){let a=t.at(-1);n&&a?.type===`paragraph`?(a.raw+=(a.raw.endsWith(`
|
|
35
35
|
`)?``:`
|
|
36
36
|
`)+r.raw,a.text+=`
|
|
37
|
-
`+r.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=a.text):t.push(r),n=i.length!==e.length,e=e.substring(r.raw.length)
|
|
37
|
+
`+r.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=a.text):t.push(r),n=i.length!==e.length,e=e.substring(r.raw.length)}else if(r=this.tokenizer.text(e)){e=e.substring(r.raw.length);let n=t.at(-1);n?.type===`text`?(n.raw+=(n.raw.endsWith(`
|
|
38
38
|
`)?``:`
|
|
39
39
|
`)+r.raw,n.text+=`
|
|
40
|
-
`+r.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=n.text):t.push(r)
|
|
40
|
+
`+r.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=n.text):t.push(r)}else if(e){let t=`Infinite loop on byte: `+e.charCodeAt(0);if(this.options.silent){console.error(t);break}throw Error(t)}}return this.state.top=!0,t}inline(e,t=[]){return this.inlineQueue.push({src:e,tokens:t}),t}inlineTokens(e,t=[]){let n=e,r=null;if(this.tokens.links){let e=Object.keys(this.tokens.links);if(e.length>0)for(;(r=this.tokenizer.rules.inline.reflinkSearch.exec(n))!=null;)e.includes(r[0].slice(r[0].lastIndexOf(`[`)+1,-1))&&(n=n.slice(0,r.index)+`[`+`a`.repeat(r[0].length-2)+`]`+n.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(r=this.tokenizer.rules.inline.anyPunctuation.exec(n))!=null;)n=n.slice(0,r.index)+`++`+n.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);let i;for(;(r=this.tokenizer.rules.inline.blockSkip.exec(n))!=null;)i=r[2]?r[2].length:0,n=n.slice(0,r.index+i)+`[`+`a`.repeat(r[0].length-i-2)+`]`+n.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);n=this.options.hooks?.emStrongMask?.call({lexer:this},n)??n;let a=!1,o=``;for(;e;){a||(o=``),a=!1;let r;if(this.options.extensions?.inline?.some(n=>(r=n.call({lexer:this},e,t))?(e=e.substring(r.raw.length),t.push(r),!0):!1))continue;if((r=this.tokenizer.escape(e))||(r=this.tokenizer.tag(e))||(r=this.tokenizer.link(e))){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.reflink(e,this.tokens.links)){e=e.substring(r.raw.length);let n=t.at(-1);r.type===`text`&&n?.type===`text`?(n.raw+=r.raw,n.text+=r.text):t.push(r);continue}if((r=this.tokenizer.emStrong(e,n,o))||(r=this.tokenizer.codespan(e))||(r=this.tokenizer.br(e))||(r=this.tokenizer.del(e))||(r=this.tokenizer.autolink(e))||!this.state.inLink&&(r=this.tokenizer.url(e))){e=e.substring(r.raw.length),t.push(r);continue}let i=e;if(this.options.extensions?.startInline){let t=1/0,n=e.slice(1),r;this.options.extensions.startInline.forEach(e=>{r=e.call({lexer:this},n),typeof r==`number`&&r>=0&&(t=Math.min(t,r))}),t<1/0&&t>=0&&(i=e.substring(0,t+1))}if(r=this.tokenizer.inlineText(i)){e=e.substring(r.raw.length),r.raw.slice(-1)!==`_`&&(o=r.raw.slice(-1)),a=!0;let n=t.at(-1);n?.type===`text`?(n.raw+=r.raw,n.text+=r.text):t.push(r)}else if(e){let t=`Infinite loop on byte: `+e.charCodeAt(0);if(this.options.silent){console.error(t);break}throw Error(t)}}return t}},I=class{options;parser;constructor(e){this.options=e||f}space(e){return``}code({text:e,lang:t,escaped:n}){let r=(t||``).match(_.notSpaceStart)?.[0],i=e.replace(_.endingNewline,``)+`
|
|
41
41
|
`;return r?`<pre><code class="language-`+M(r)+`">`+(n?i:M(i,!0))+`</code></pre>
|
|
42
42
|
`:`<pre><code>`+(n?i:M(i,!0))+`</code></pre>
|
|
43
43
|
`}blockquote({tokens:e}){return`<blockquote>
|
|
@@ -68,5 +68,5 @@ ${a.join(`
|
|
|
68
68
|
`).replace(/\n{2,}/g,`
|
|
69
69
|
`))}t(et,`preprocessMarkdown`);function tt(e){return e.split(/\\n|\n|<br\s*\/?>/gi).map(e=>e.trim().match(/<[^>]+>|[^\s<>]+/g)?.map(e=>({content:e,type:`normal`}))??[])}t(tt,`nonMarkdownToLines`);function G(e,n={}){let r=et(e,n),i=V.lexer(r),a=[[]],o=0;function s(e,t=`normal`){e.type===`text`?e.text.split(`
|
|
70
70
|
`).forEach((e,n)=>{n!==0&&(o++,a.push([])),e.split(` `).forEach(e=>{e=e.replace(/'/g,`'`),e&&a[o].push({content:e,type:t})})}):e.type===`strong`||e.type===`em`?e.tokens.forEach(t=>{s(t,e.type)}):e.type===`html`&&a[o].push({content:e.text,type:`normal`})}return t(s,`processNode`),i.forEach(e=>{e.type===`paragraph`?e.tokens?.forEach(e=>{s(e)}):e.type===`html`?a[o].push({content:e.text,type:`normal`}):a[o].push({content:e.raw,type:`normal`})}),a}t(G,`markdownToLines`);function nt(e){return e?`<p>${e.replace(/\\n|\n/g,`<br />`)}</p>`:``}t(nt,`nonMarkdownToHTML`);function rt(e,{markdownAutoWrap:r}={}){let i=V.lexer(e);function a(e){return e.type===`text`?r===!1?e.text.replace(/\n */g,`<br/>`).replace(/ /g,` `):e.text.replace(/\n */g,`<br/>`):e.type===`strong`?`<strong>${e.tokens?.map(a).join(``)}</strong>`:e.type===`em`?`<em>${e.tokens?.map(a).join(``)}</em>`:e.type===`paragraph`?`<p>${e.tokens?.map(a).join(``)}</p>`:e.type===`space`?``:e.type===`html`?`${e.text}`:e.type===`escape`?e.text:(n.warn(`Unsupported markdown: ${e.type}`),e.raw)}return t(a,`output`),i.map(a).join(``)}t(rt,`markdownToHTML`);var it=(function(e){var n=e.requestAnimationFrame||e.webkitRequestAnimationFrame||e.mozRequestAnimationFrame||e.msRequestAnimationFrame||function(e){return setTimeout(e,16)};function r(){var t=this;t.reads=[],t.writes=[],t.raf=n.bind(e)}t(r,`FastDom`),r.prototype={constructor:r,runTasks:t(function(e){for(var t;t=e.shift();)t()},`runTasks`),measure:t(function(e,t){var n=t?e.bind(t):e;return this.reads.push(n),i(this),n},`measure`),mutate:t(function(e,t){var n=t?e.bind(t):e;return this.writes.push(n),i(this),n},`mutate`),clear:t(function(e){return o(this.reads,e)||o(this.writes,e)},`clear`),extend:t(function(e){if(typeof e!=`object`)throw Error(`expected object`);var t=Object.create(this);return s(t,e),t.fastdom=this,t.initialize&&t.initialize(),t},`extend`),catch:null};function i(e){e.scheduled||(e.scheduled=!0,e.raf(a.bind(null,e)))}t(i,`scheduleFlush`);function a(e){var t=e.writes,n=e.reads,r;try{n.length,e.runTasks(n),t.length,e.runTasks(t)}catch(e){r=e}if(e.scheduled=!1,(n.length||t.length)&&i(e),r){if(r.message,e.catch)e.catch(r);else throw r}}t(a,`flush`);function o(e,t){var n=e.indexOf(t);return!!~n&&!!e.splice(n,1)}t(o,`remove`);function s(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])}return t(s,`mixin`),e.fastdom=e.fastdom||new r})(typeof window<`u`?window:globalThis),at={initialize:t(function(){this._tasks=new Map},`initialize`),mutate:t(function(e,t){return K(this,`mutate`,e,t)},`mutate`),measure:t(function(e,t){return K(this,`measure`,e,t)},`measure`),clear:t(function(e){var t=this._tasks,n=t.get(e);this.fastdom.clear(n),t.delete(e)},`clear`)};function K(e,t,n,r){var i=e._tasks,a=e.fastdom,o,s=new Promise(function(e,c){o=a[t](function(){i.delete(s);try{e(r?n.call(r):n())}catch(e){c(e)}},r)});return i.set(s,o),s}t(K,`create`);var{initialize:ot,mutate:st,measure:ct,clear:lt}=at,ut=at,dt=it.extend({raf(e){typeof queueMicrotask==`function`?queueMicrotask(e):setTimeout(e,0)}}).extend(ut);function ft(e){return Intl.Segmenter?[...new Intl.Segmenter().segment(e)].map(e=>e.segment):[...e]}t(ft,`splitTextToChars`);function pt(e,t){return q(e,[],ft(t.content),t.type)}t(pt,`splitWordToFitWidth`);function q(e,t,n,r){if(n.length===0)return[{content:t.join(``),type:r},{content:``,type:r}];let[i,...a]=n,o=[...t,i];return e([{content:o.join(``),type:r}])?q(e,o,a,r):(t.length===0&&i&&(t.push(i),n.shift()),[{content:t.join(``),type:r},{content:n.join(``),type:r}])}t(q,`splitWordToFitWidthRecursion`);function mt(e,t){if(e.some(({content:e})=>e.includes(`
|
|
71
|
-
`)))throw Error(`splitLineToFitWidth does not support newlines in the line`);return J(e,t)}t(mt,`splitLineToFitWidth`);function J(e,t,n=[],r=[]){if(e.length===0)return r.length>0&&n.push(r),n.length>0?n:[];let i=``;e[0].content===` `&&(i=` `,e.shift());let a=e.shift()??{content:` `,type:`normal`},o=[...r];if(i!==``&&o.push({content:i,type:`normal`}),o.push(a),t(o))return J(e,t,n,o);if(r.length>0)n.push(r),e.unshift(a);else if(a.content){let[r,i]=pt(t,a);n.push([r]),i.content&&e.unshift(i)}return J(e,t,n)}t(J,`splitLineToFitWidthRecursion`);function Y(e,t){t&&e.attr(`style`,t)}t(Y,`applyStyle`);var ht=16384;async function X(e,t,n,c,l=!1,u=
|
|
72
|
-
`),u):s(t.label,u),h=t.isNode?`nodeLabel`:`edgeLabel`,g=p.append(`span`);g.html(m),Y(g,t.labelStyle),g.attr(`class`,`${h} ${c}`),Y(p,t.labelStyle),p.style(`display`,`table-cell`),p.style(`white-space`,`nowrap`),p.style(`line-height`,`1.5`),n!==1/0&&(p.style(`max-width`,n+`px`),p.style(`text-align`,`center`)),p.attr(`xmlns`,`http://www.w3.org/1999/xhtml`),l&&p.attr(`class`,`labelBkg`);let _=await dt.measure(()=>p.node().getBoundingClientRect());return _.width===n?(p.style(`display`,`table`),p.style(`white-space`,`break-spaces`),p.style(`width`,n+`px`)):_.width<d&&(p.style(`display`,`table`),p.style(`width`,d+`px`),p.style(`text-align`,`center`)),f.node()}t(X,`addHtmlSpan`);function Z(e,t,n,r=!1){let i=e.append(`tspan`).attr(`class`,`text-outer-tspan`).attr(`x`,0).attr(`y`,t*n-.1+`em`).attr(`dy`,n+`em`);return r&&i.attr(`text-anchor`,`middle`),i}t(Z,`createTspan`);function gt(e,t,n){let r=e.append(`text`),i=Z(r,1,t);$(i,n);let a=i.node().getComputedTextLength();return r.remove(),a}t(gt,`computeWidthOfText`);function _t(e,t,n){let r=e.append(`text`),i=Z(r,1,t);$(i,[{content:n,type:`normal`}]);let a=i.node()?.getBoundingClientRect();return a&&r.remove(),a}t(_t,`computeDimensionOfText`);function vt(e,n,r,i=!1,a=!1){let o=1.1,s=n.append(`g`),c=s.insert(`rect`).attr(`class`,`background`).attr(`style`,`stroke: none`),l=s.append(`text`).attr(`y`,`-10.1`);a&&l.attr(`text-anchor`,`middle`);let u=0;for(let n of r){let r=t(t=>gt(s,o,t)<=e,`checkWidth`),i=r(n)?[n]:mt(n,r);for(let e of i)$(Z(l,u,o,a),e),u++}if(i){let e=l.node().getBBox();return c.attr(`x`,e.x-2).attr(`y`,e.y-2).attr(`width`,e.width+4).attr(`height`,e.height+4),s.node()}return l.node()}t(vt,`createFormattedText`);function Q(e){return e.replace(/&(amp|lt|gt);/g,(e,t)=>{switch(t){case`amp`:return`&`;case`lt`:return`<`;case`gt`:return`>`;default:return e}})}t(Q,`decodeHTMLEntities`);function $(e,t){e.text(``),t.forEach((t,n)=>{let r=e.append(`tspan`).attr(`font-style`,t.type===`em`?`italic`:`normal`).attr(`class`,`text-inner-tspan`).attr(`font-weight`,t.type===`strong`?`bold`:`normal`);n===0?r.text(Q(t.content)):r.text(` `+Q(t.content))})}t($,`updateTextContentAndStyles`);async function yt(e,t={}){let n=[];e.replace(/(fa[bklrs]?):fa-([\w-]+)/g,(e,r,i)=>(n.push((async()=>{let n=`${r}:${i}`;return await l(n)?await u(n,void 0,{class:`label-icon`}):`<i class='${s(e,t).replace(`:`,` `)}'></i>`})()),e));let r=await Promise.all(n);return e.replace(/(fa[bklrs]?):fa-([\w-]+)/g,()=>r.shift()??``)}t(yt,`replaceIconSubstring`);var bt=t(async(t,
|
|
71
|
+
`)))throw Error(`splitLineToFitWidth does not support newlines in the line`);return J(e,t)}t(mt,`splitLineToFitWidth`);function J(e,t,n=[],r=[]){if(e.length===0)return r.length>0&&n.push(r),n.length>0?n:[];let i=``;e[0].content===` `&&(i=` `,e.shift());let a=e.shift()??{content:` `,type:`normal`},o=[...r];if(i!==``&&o.push({content:i,type:`normal`}),o.push(a),t(o))return J(e,t,n,o);if(r.length>0)n.push(r),e.unshift(a);else if(a.content){let[r,i]=pt(t,a);n.push([r]),i.content&&e.unshift(i)}return J(e,t,n)}t(J,`splitLineToFitWidthRecursion`);function Y(e,t){t&&e.attr(`style`,t)}t(Y,`applyStyle`);var ht=16384;async function X(e,t,n,c,l=!1,u=o(),d=0){let f=e.append(`foreignObject`);f.attr(`width`,`${Math.min(10*n,ht)}px`),f.attr(`height`,`${Math.min(10*n,ht)}px`);let p=f.append(`xhtml:div`),m=i(t.label)?await r(t.label.replace(a.lineBreakRegex,`
|
|
72
|
+
`),u):s(t.label,u),h=t.isNode?`nodeLabel`:`edgeLabel`,g=p.append(`span`);g.html(m),Y(g,t.labelStyle),g.attr(`class`,`${h} ${c}`),Y(p,t.labelStyle),p.style(`display`,`table-cell`),p.style(`white-space`,`nowrap`),p.style(`line-height`,`1.5`),n!==1/0&&(p.style(`max-width`,n+`px`),p.style(`text-align`,`center`)),p.attr(`xmlns`,`http://www.w3.org/1999/xhtml`),l&&p.attr(`class`,`labelBkg`);let _=await dt.measure(()=>p.node().getBoundingClientRect());return _.width===n?(p.style(`display`,`table`),p.style(`white-space`,`break-spaces`),p.style(`width`,n+`px`)):_.width<d&&(p.style(`display`,`table`),p.style(`width`,d+`px`),p.style(`text-align`,`center`)),f.node()}t(X,`addHtmlSpan`);function Z(e,t,n,r=!1){let i=e.append(`tspan`).attr(`class`,`text-outer-tspan`).attr(`x`,0).attr(`y`,t*n-.1+`em`).attr(`dy`,n+`em`);return r&&i.attr(`text-anchor`,`middle`),i}t(Z,`createTspan`);function gt(e,t,n){let r=e.append(`text`),i=Z(r,1,t);$(i,n);let a=i.node().getComputedTextLength();return r.remove(),a}t(gt,`computeWidthOfText`);function _t(e,t,n){let r=e.append(`text`),i=Z(r,1,t);$(i,[{content:n,type:`normal`}]);let a=i.node()?.getBoundingClientRect();return a&&r.remove(),a}t(_t,`computeDimensionOfText`);function vt(e,n,r,i=!1,a=!1){let o=1.1,s=n.append(`g`),c=s.insert(`rect`).attr(`class`,`background`).attr(`style`,`stroke: none`),l=s.append(`text`).attr(`y`,`-10.1`);a&&l.attr(`text-anchor`,`middle`);let u=0;for(let n of r){let r=t(t=>gt(s,o,t)<=e,`checkWidth`),i=r(n)?[n]:mt(n,r);for(let e of i)$(Z(l,u,o,a),e),u++}if(i){let e=l.node().getBBox();return c.attr(`x`,e.x-2).attr(`y`,e.y-2).attr(`width`,e.width+4).attr(`height`,e.height+4),s.node()}return l.node()}t(vt,`createFormattedText`);function Q(e){return e.replace(/&(amp|lt|gt);/g,(e,t)=>{switch(t){case`amp`:return`&`;case`lt`:return`<`;case`gt`:return`>`;default:return e}})}t(Q,`decodeHTMLEntities`);function $(e,t){e.text(``),t.forEach((t,n)=>{let r=e.append(`tspan`).attr(`font-style`,t.type===`em`?`italic`:`normal`).attr(`class`,`text-inner-tspan`).attr(`font-weight`,t.type===`strong`?`bold`:`normal`);n===0?r.text(Q(t.content)):r.text(` `+Q(t.content))})}t($,`updateTextContentAndStyles`);async function yt(e,t={}){let n=[];e.replace(/(fa[bklrs]?):fa-([\w-]+)/g,(e,r,i)=>(n.push((async()=>{let n=`${r}:${i}`;return await l(n)?await u(n,void 0,{class:`label-icon`}):`<i class='${s(e,t).replace(`:`,` `)}'></i>`})()),e));let r=await Promise.all(n);return e.replace(/(fa[bklrs]?):fa-([\w-]+)/g,()=>r.shift()??``)}t(yt,`replaceIconSubstring`);var bt=t(async(t,r=``,{style:a=``,isTitle:o=!1,classes:s=``,useHtmlLabels:l=!0,markdown:u=!0,isNode:d=!0,width:f=200,minWidth:p=0,addSvgBackground:m=!1}={},h)=>{if(n.debug(`XYZ createText`,r,a,o,s,l,d,`addSvgBackground: `,m),l){let e=u?rt(r,h):nt(r),n=await yt(c(e),h),o=r.replace(/\\\\/g,`\\`);return await X(t,{isNode:d,label:i(r)?o:n,labelStyle:a.replace(`fill:`,`color:`)},f,s,m,h,p)}{let n=c(r.replace(/<br\s*\/?>/g,`<br/>`)),i=vt(f,t,u?G(n.replace(`<br>`,`<br/>`),h):tt(n),r?m:!1,!d);if(d){/stroke:/.exec(a)&&(a=a.replace(`stroke:`,`lineColor:`));let t=a.replace(/stroke:[^;]+;?/g,``).replace(/stroke-width:[^;]+;?/g,``).replace(/fill:[^;]+;?/g,``).replace(/color:/g,`fill:`);e(i).attr(`style`,t)}else{let t=a.replace(/stroke:[^;]+;?/g,``).replace(/stroke-width:[^;]+;?/g,``).replace(/fill:[^;]+;?/g,``).replace(/background:/g,`fill:`);e(i).select(`rect`).attr(`style`,t.replace(/background:/g,`fill:`));let n=a.replace(/stroke:[^;]+;?/g,``).replace(/stroke-width:[^;]+;?/g,``).replace(/fill:[^;]+;?/g,``).replace(/color:/g,`fill:`);e(i).select(`text`).attr(`style`,n)}return o?e(i).selectAll(`tspan.text-outer-tspan`).classed(`title-row`,!0):e(i).selectAll(`tspan.text-outer-tspan`).classed(`row`,!0),i}},`createText`);export{Xe as a,G as i,bt as n,dt as r,_t as t};
|