@inkeep/open-knowledge 0.36.0-beta.18 → 0.36.0-beta.19
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/{acp-harness-probe-DtDd2u6r.mjs → acp-harness-probe-BB3MCnqT.mjs} +3 -3
- package/dist/assets/skills/discovery/SKILL.md +1 -1
- package/dist/assets/skills/project/SKILL.md +1 -1
- package/dist/cli.mjs +61 -61
- package/dist/constants-NqLesDwG.mjs +2 -0
- package/dist/index.d.mts +4 -4
- package/dist/index.mjs +1 -1
- package/dist/{init-COsFMQjY.mjs → init-6u-ABSZn.mjs} +34 -34
- package/dist/init-CSufcZa_.mjs +1 -0
- package/dist/{launch-json-removal-BROlk022.mjs → launch-json-removal-D4WCZCs2.mjs} +2 -2
- package/dist/loader-Brd9K-Oz.mjs +1 -0
- package/dist/{loader-RxK4JpJU.mjs → loader-Co8_Z3Xs.mjs} +2 -2
- package/dist/{preview-CeY3lUbe.mjs → preview-CsOp4q2K.mjs} +2 -2
- package/dist/preview-CvyGNXPF.mjs +1 -0
- package/dist/public/assets/ActivityModeContent-U6pBXIBQ.js +1 -0
- package/dist/public/assets/AgentDiffPane-DNb7BQuZ.js +2 -0
- package/dist/public/assets/{AgentThreadClientBinder-DxlNn6Mx.js → AgentThreadClientBinder-BwmyMJCE.js} +1 -1
- package/dist/public/assets/AppMenubar-DqlpmcU7.js +1 -0
- package/dist/public/assets/{CodeMirrorPropInput-CJY8KWEi.js → CodeMirrorPropInput-CIGTqTT1.js} +3 -3
- package/dist/public/assets/ConsentDialogBody-D9xWEY09.js +2 -0
- package/dist/public/assets/CopyButton-D0gTyMvW.js +1 -0
- package/dist/public/assets/{DocumentContext-D3kF9wYA.js → DocumentContext-BjkX60te.js} +5 -5
- package/dist/public/assets/EnableSyncConfirmDialog-211MVqW1.js +1 -0
- package/dist/public/assets/FeedbackForm-CVHlnDrU.js +1 -0
- package/dist/public/assets/{GraphPanel-BRaW5AJ8.js → GraphPanel-Cdu7mW48.js} +2 -2
- package/dist/public/assets/ManagedArtifactProperties-DewIpjBm.js +1 -0
- package/dist/public/assets/McpConsentDialogBody-Ds1pkJ9h.js +1 -0
- package/dist/public/assets/{MermaidDocEditor-F8DqjnE9.js → MermaidDocEditor-RY-6y6bj.js} +1 -1
- package/dist/public/assets/PropertyPanel-DQ9GHyDu.js +2 -0
- package/dist/public/assets/{RegisteredAgentIcon-C0f9xsZD.js → RegisteredAgentIcon--E1135hW.js} +1 -1
- package/dist/public/assets/{ReportBugDialogBody-BVYXAdHq.js → ReportBugDialogBody-SgvzkcQL.js} +2 -2
- package/dist/public/assets/{SettingsDialogBody-DpIAa7tb.js → SettingsDialogBody-CNW4J8BO.js} +3 -3
- package/dist/public/assets/ShareBranchSwitchDialog-CNMlHlvg.js +1 -0
- package/dist/public/assets/ShareReceiveDialog-m9Ncf1Rl.js +1 -0
- package/dist/public/assets/{ShareReceiveMissDialog-jeMWaW7-.js → ShareReceiveMissDialog-Dt5rngAU.js} +1 -1
- package/dist/public/assets/SkillEditorActions-7t_8lXO9.js +1 -0
- package/dist/public/assets/{SourceEditor-0PsKl2po.js → SourceEditor-CZsCwI8R.js} +1 -1
- package/dist/public/assets/{TerminalPanel-BOvBHivU.js → TerminalPanel-CMCcE_sg.js} +2 -2
- package/dist/public/assets/TerminalSessionsHost-D-He0AKd.js +2 -0
- package/dist/public/assets/{TerminalWindowApp-DumSTDXA.js → TerminalWindowApp--K-HXyFC.js} +1 -1
- package/dist/public/assets/{ThreadView-BHMbeBxX.js → ThreadView-DXQ4PyDl.js} +2 -2
- package/dist/public/assets/TimelineDiffPane-DnTda2pq.js +2 -0
- package/dist/public/assets/{abnfDiagram-VRR7QNED-Duddj45o.js → abnfDiagram-VRR7QNED-VSTZcs2U.js} +1 -1
- package/dist/public/assets/{agent-diff-store-ioTKnrp1.js → agent-diff-store-D_W1QQps.js} +1 -1
- package/dist/public/assets/{agent-visibility-DUG3FocN.js → agent-visibility-BwHf-SiF.js} +1 -1
- package/dist/public/assets/{arc-fumooNjA.js → arc-CycIfT6O.js} +1 -1
- package/dist/public/assets/architecture-TIHT7OUA-ei5hsjAY.js +1 -0
- package/dist/public/assets/{architectureDiagram-ZJ3FMSHR-BrsCDGuM.js → architectureDiagram-ZJ3FMSHR-CdM-QQxh.js} +1 -1
- package/dist/public/assets/arrow-up-right-BKliW282.js +1 -0
- package/dist/public/assets/{auth-state-cache-D3_VBPHk.js → auth-state-cache-BXAoUmHN.js} +5 -5
- package/dist/public/assets/badge-BDZGi1Ks.js +1 -0
- package/dist/public/assets/{blockDiagram-677ZJIJ3-Bk7LRKYe.js → blockDiagram-677ZJIJ3-a-alorma.js} +1 -1
- package/dist/public/assets/button-DHE6Sx02.js +1 -0
- package/dist/public/assets/{c4Diagram-LMCZKHZV-DAutbVAH.js → c4Diagram-LMCZKHZV-Cc0-n0UQ.js} +1 -1
- package/dist/public/assets/calendar-iAmN3Ysf.js +1 -0
- package/dist/public/assets/channel-Dnd06LFp.js +1 -0
- package/dist/public/assets/check-D3jznJmG.js +1 -0
- package/dist/public/assets/{checkbox-DQTC9kSm.js → checkbox-Cn88M3G6.js} +1 -1
- package/dist/public/assets/{chevron-down-BdOwgy1Z.js → chevron-down-0vl-mPeL.js} +1 -1
- package/dist/public/assets/chevron-left-fiDaD9J4.js +1 -0
- package/dist/public/assets/chevron-right-zaL9JagC.js +1 -0
- package/dist/public/assets/chunk-2Q5K7J3B-Bk0ErfBQ.js +1 -0
- package/dist/public/assets/{chunk-32BRIVSS-DX1ynr3d.js → chunk-32BRIVSS-DAp6JEen.js} +1 -1
- package/dist/public/assets/{chunk-52WLFC77-BNU-NZPu.js → chunk-52WLFC77-DOJ_zrKl.js} +1 -1
- package/dist/public/assets/{chunk-5FCAYU7R-BZbSx9vA.js → chunk-5FCAYU7R-NiUcHUPk.js} +1 -1
- package/dist/public/assets/{chunk-5HE753X5-B2Flc7i4.js → chunk-5HE753X5-Dg-RP8eS.js} +1 -1
- package/dist/public/assets/{chunk-5JV3BV7I-B6P7lOib.js → chunk-5JV3BV7I-B4O-mi81.js} +1 -1
- package/dist/public/assets/{chunk-5TONJI2A-Bx2IxKM5.js → chunk-5TONJI2A-0kIjpsBw.js} +1 -1
- package/dist/public/assets/{chunk-5VM5RSS4-CBRY9PuO.js → chunk-5VM5RSS4-DC5JDqIq.js} +1 -1
- package/dist/public/assets/{chunk-7BUUIJ7U-DZTqq57u.js → chunk-7BUUIJ7U-D6E7ODqO.js} +1 -1
- package/dist/public/assets/{chunk-BIQX33UG-BK09YW6f.js → chunk-BIQX33UG-D48fi9B_.js} +1 -1
- package/dist/public/assets/{chunk-BO2N2NFS-BPDRSPns.js → chunk-BO2N2NFS-d0sH-rMK.js} +4 -4
- package/dist/public/assets/{chunk-C7G6YPKG-Bdrc0gou.js → chunk-C7G6YPKG-DyJUpciK.js} +1 -1
- package/dist/public/assets/{chunk-CQNSW5MT-BAtlNSBX.js → chunk-CQNSW5MT-v0U-WvYg.js} +1 -1
- package/dist/public/assets/{chunk-CYSBUYHQ-D8hsDORv.js → chunk-CYSBUYHQ-DxqLAiLc.js} +1 -1
- package/dist/public/assets/{chunk-EMLP6XTP-ChQSYJxh.js → chunk-EMLP6XTP-CJ9U9-wH.js} +1 -1
- package/dist/public/assets/{chunk-EX3LRPZG-D3UtyaOq.js → chunk-EX3LRPZG-h-6LYf1x.js} +1 -1
- package/dist/public/assets/{chunk-FWX5IMBZ-Cm5B2p1m.js → chunk-FWX5IMBZ-DRwSfJSX.js} +2 -2
- package/dist/public/assets/{chunk-HOUHSVGY-BE3Sb9uV.js → chunk-HOUHSVGY-F4yPi64m.js} +1 -1
- package/dist/public/assets/{chunk-ICXQ74PX-BpNEoAVh.js → chunk-ICXQ74PX-BF1AraUQ.js} +1 -1
- package/dist/public/assets/{chunk-JG7HCLWE-Biog_J3i.js → chunk-JG7HCLWE-C-1xmmk6.js} +1 -1
- package/dist/public/assets/{chunk-JWPE2WC7-BgE53Vu-.js → chunk-JWPE2WC7-BuX-EugW.js} +1 -1
- package/dist/public/assets/{chunk-MOJQB5TN-cvLW-l3m.js → chunk-MOJQB5TN-Pk-JS7uF.js} +1 -1
- package/dist/public/assets/{chunk-MOZMSUNE-CPb1eEls.js → chunk-MOZMSUNE-C1Vt9ku6.js} +1 -1
- package/dist/public/assets/{chunk-OGEWGWER-DX8HZf6i.js → chunk-OGEWGWER-D_9VshMV.js} +1 -1
- package/dist/public/assets/{chunk-OSBZ3O6U-DLOl9lpV.js → chunk-OSBZ3O6U-C6W744Of.js} +1 -1
- package/dist/public/assets/{chunk-PUDLZKDR-3P-xc6dG.js → chunk-PUDLZKDR-D_qil-uw.js} +1 -1
- package/dist/public/assets/{chunk-Q4XR5HBZ-Bcm3Q652.js → chunk-Q4XR5HBZ--lNMVAiV.js} +1 -1
- package/dist/public/assets/{chunk-QBLGF6JB-CXHeFNVR.js → chunk-QBLGF6JB-gEqmaH-L.js} +1 -1
- package/dist/public/assets/{chunk-R7FJI6CG-C16CHt3a.js → chunk-R7FJI6CG-BDAk393G.js} +1 -1
- package/dist/public/assets/{chunk-RYQCIY6F-B_hRCs61.js → chunk-RYQCIY6F-DNu-IRpO.js} +1 -1
- package/dist/public/assets/{chunk-U6XO7XAA-DbjPtJON.js → chunk-U6XO7XAA-BrFJStxD.js} +1 -1
- package/dist/public/assets/{chunk-V7JOEXUC-akE77yTM.js → chunk-V7JOEXUC-TOHJpp-0.js} +1 -1
- package/dist/public/assets/chunk-VAUOI2AC-BGyW6aBf.js +1 -0
- package/dist/public/assets/{chunk-VR4S4FIN-CNK8NKh7.js → chunk-VR4S4FIN-DRClO3Vp.js} +1 -1
- package/dist/public/assets/{chunk-WYO6CB5R-xIUZBSf_.js → chunk-WYO6CB5R-DyzfGKK0.js} +2 -2
- package/dist/public/assets/chunk-XXDRQBXY-D5Z2YAqk.js +1 -0
- package/dist/public/assets/{chunk-YOTPTUD7-CI44npHy.js → chunk-YOTPTUD7-D0J4uIcv.js} +1 -1
- package/dist/public/assets/{chunk-ZGVPDNZ5-VN0M3NDz.js → chunk-ZGVPDNZ5-B4UAL6rf.js} +1 -1
- package/dist/public/assets/{chunk-ZIRB5QZD-BSOfd5kg.js → chunk-ZIRB5QZD-BSn4ei2K.js} +1 -1
- package/dist/public/assets/classDiagram-OUVF2IWQ-T0UcJd03.js +1 -0
- package/dist/public/assets/classDiagram-v2-EOCWNBFH-vS8mV2Ho.js +1 -0
- package/dist/public/assets/{client-version-CTfq7LXl.js → client-version-BcS_alrQ.js} +1 -1
- package/dist/public/assets/{collapsible-LTmyJCqZ.js → collapsible-BIzY37go.js} +1 -1
- package/dist/public/assets/{config-provider-B-7_o96p.js → config-provider-YhhBOmCK.js} +1 -1
- package/dist/public/assets/{copy-D-_fqnuu.js → copy-Dwat-rG5.js} +1 -1
- package/dist/public/assets/{cose-bilkent-JH36ORCC-D6bdooKu.js → cose-bilkent-JH36ORCC-CNo4r1jR.js} +1 -1
- package/dist/public/assets/createLucideIcon-BUb14crZ.js +1 -0
- package/dist/public/assets/cynefin-VYW2F7L2-CSnwYRoV.js +1 -0
- package/dist/public/assets/{cynefinDiagram-TSTJHNR4-tqreQ4yh.js → cynefinDiagram-TSTJHNR4-BSgy8cxo.js} +1 -1
- package/dist/public/assets/{dagre-Ixpc9-jS.js → dagre-B556Eg9Y.js} +1 -1
- package/dist/public/assets/{dagre-VKFMJZFB-BSGkHWF2.js → dagre-VKFMJZFB-DsGixG0T.js} +1 -1
- package/dist/public/assets/{diagram-FQU43EPY-CfGaj_W6.js → diagram-FQU43EPY-CMvIHgbq.js} +1 -1
- package/dist/public/assets/{diagram-G47NLZAW-YUFYM2Yp.js → diagram-G47NLZAW-fKFf9jF_.js} +1 -1
- package/dist/public/assets/{diagram-NH7WQ7WH-B3NM7sI5.js → diagram-NH7WQ7WH-B7-_M2pB.js} +1 -1
- package/dist/public/assets/{diagram-OA4YK3LP-k_hmsb8X.js → diagram-OA4YK3LP-DZtbNsi6.js} +1 -1
- package/dist/public/assets/{diagram-WEI45ONY-CA44yAo1.js → diagram-WEI45ONY-CCuX-lrB.js} +1 -1
- package/dist/public/assets/{dialog-BBtU0IVW.js → dialog-BLaUGJCd.js} +2 -2
- package/dist/public/assets/{dist-B01sLV4V.js → dist-5kUc8Rop.js} +1 -1
- package/dist/public/assets/{dist-Fyh5Pc-m.js → dist-635PXtcP.js} +1 -1
- package/dist/public/assets/{dist-nGY1_LTL.js → dist-93kZXTH1.js} +1 -1
- package/dist/public/assets/{dist-DU6IUgVc.js → dist-B4uQVk5s.js} +1 -1
- package/dist/public/assets/{dist-Dho20FAl.js → dist-BJxDYUHt.js} +1 -1
- package/dist/public/assets/{dist-CSrqIZCL.js → dist-BS_gC2L8.js} +1 -1
- package/dist/public/assets/{dist-xYEU8sma.js → dist-BgCLeN3Q.js} +1 -1
- package/dist/public/assets/{dist-mDKWywQU.js → dist-BlUN9R-p.js} +1 -1
- package/dist/public/assets/{dist-DBJW7SzR.js → dist-Bv-DNDka.js} +1 -1
- package/dist/public/assets/{dist-BOzNNR8f.js → dist-C5VV4AJh.js} +1 -1
- package/dist/public/assets/{dist-BS_ATzpF.js → dist-C5oOOujV.js} +1 -1
- package/dist/public/assets/{dist-Bk124lrj.js → dist-C6nSogV9.js} +3 -3
- package/dist/public/assets/{dist-Zzd2nZxv.js → dist-CWKw6fA9.js} +1 -1
- package/dist/public/assets/{dist-DJ3NnI7U.js → dist-CcNiwixP.js} +1 -1
- package/dist/public/assets/dist-Cx2QCt5k.js +1 -0
- package/dist/public/assets/{dist-DNBUYY7W.js → dist-DUnAX2Ky.js} +1 -1
- package/dist/public/assets/{dist-BEVTL7PL.js → dist-DrdxKM3X.js} +1 -1
- package/dist/public/assets/{dist-C0Htc0JY.js → dist-n-Hi6NdA.js} +1 -1
- package/dist/public/assets/{dist-B4Y0W_jh.js → dist-uVOKoIoH.js} +1 -1
- package/dist/public/assets/{doc-hash-_aupPB7B.js → doc-hash-eIVtLs9w.js} +1 -1
- package/dist/public/assets/{documents-events-D-zJruLR.js → documents-events-DeUc9zJv.js} +1 -1
- package/dist/public/assets/{download-jD3uts1E.js → download-wdc_OGNY.js} +1 -1
- package/dist/public/assets/dropdown-menu-CcKe8PiU.js +1 -0
- package/dist/public/assets/{ebnfDiagram-CCIWWBDH-BnwF0Tu5.js → ebnfDiagram-CCIWWBDH-lTULSp5K.js} +1 -1
- package/dist/public/assets/{erDiagram-Q63AITRT-RoWPI4T3.js → erDiagram-Q63AITRT-CYNZizIY.js} +1 -1
- package/dist/public/assets/{es2015-Rdk3sRwc.js → es2015-D5U2f808.js} +1 -1
- package/dist/public/assets/eventmodeling-45OFAUF4-DaV8ZCTn.js +1 -0
- package/dist/public/assets/{eye-DQ9zE2I2.js → eye-CmnH89UE.js} +1 -1
- package/dist/public/assets/{file-tree-adapter-DcNETY_g.js → file-tree-adapter-vjTAoe5H.js} +1 -1
- package/dist/public/assets/flowDiagram-23GEKE2U-k4ax4B4W.js +1 -0
- package/dist/public/assets/{folder-open-BHTTAVt4.js → folder-open-C-WgQ0Xp.js} +1 -1
- package/dist/public/assets/{follow-file-DCQtfdGM.js → follow-file-Db721Zx6.js} +1 -1
- package/dist/public/assets/form-J8CRFj8p.js +1 -0
- package/dist/public/assets/{ganttDiagram-NO4QXBWP-Z6zeNWv4.js → ganttDiagram-NO4QXBWP-sqpYy8P9.js} +1 -1
- package/dist/public/assets/{git-branch-D4oRoGwF.js → git-branch-DFJ3yJt8.js} +1 -1
- package/dist/public/assets/gitGraph-TEB2WS4Q-P9_tpoZt.js +1 -0
- package/dist/public/assets/{gitGraphDiagram-IHSO6WYX-D03dJgY6.js → gitGraphDiagram-IHSO6WYX-DST3agGX.js} +1 -1
- package/dist/public/assets/{graphlib-BiF2idur.js → graphlib-C8fe8zk2.js} +1 -1
- package/dist/public/assets/{highlighted-body-OFNGDK62-D7A3VgRB.js → highlighted-body-OFNGDK62-D_PnaFD1.js} +1 -1
- package/dist/public/assets/index-B8c-hqIt.js +1995 -0
- package/dist/public/assets/index-POPidK7Y.css +1 -0
- package/dist/public/assets/info-DKCQHKI2-DJJ8FtaQ.js +1 -0
- package/dist/public/assets/{info-BF99XGpb.js → info-DV3bzhzI.js} +1 -1
- package/dist/public/assets/{infoDiagram-FWYZ7A6U-CRYuDbs7.js → infoDiagram-FWYZ7A6U-Cj1rH5Ql.js} +1 -1
- package/dist/public/assets/{input-DjOmYBC1.js → input-CsXmpyZP.js} +1 -1
- package/dist/public/assets/{ishikawaDiagram-FXEZZL3T-C-3EZ2QK.js → ishikawaDiagram-FXEZZL3T-C_Cz2h3y.js} +1 -1
- package/dist/public/assets/{journeyDiagram-5HDEW3XC-BTjuMwup.js → journeyDiagram-5HDEW3XC-DFrtpWnU.js} +1 -1
- package/dist/public/assets/{kanban-definition-HUTT4EX6-B7wtXd4s.js → kanban-definition-HUTT4EX6-BpqONXYd.js} +1 -1
- package/dist/public/assets/{keyboard-shortcuts-DxVjq-52.js → keyboard-shortcuts-CUmPZNQy.js} +1 -1
- package/dist/public/assets/{label-JTxG9Ey8.js → label-bn6BDr7p.js} +1 -1
- package/dist/public/assets/{line-C4Cs_vf3.js → line-CGcPvb4l.js} +1 -1
- package/dist/public/assets/{linear-CmZ4evs2.js → linear-DrLUUwfa.js} +1 -1
- package/dist/public/assets/{lint-config-client-BWBjtL6r.js → lint-config-client-nikplC1R.js} +1 -1
- package/dist/public/assets/loader-circle-K7Xwpjny.js +1 -0
- package/dist/public/assets/{map-JB1BgNUL.js → map-WpH6dMWB.js} +1 -1
- package/dist/public/assets/mermaid-GHXKKRXX-m6Nh9s9H.js +1 -0
- package/dist/public/assets/{mermaid-parser.core-DYtbeah1.js → mermaid-parser.core-BO-Jr815.js} +2 -2
- package/dist/public/assets/{mermaid.core-BzbtPOAa.js → mermaid.core-BQ2yyMHt.js} +3 -3
- package/dist/public/assets/{mindmap-definition-LN4V7U3C-DR3VZ6BP.js → mindmap-definition-LN4V7U3C-C5hGDmLh.js} +1 -1
- package/dist/public/assets/{miss-dialog-store-hBMZdjFy.js → miss-dialog-store-81J1GwFD.js} +1 -1
- package/dist/public/assets/{navigation-targets-DhBfisfD.js → navigation-targets-DxoCd6kX.js} +1 -1
- package/dist/public/assets/{now-C4jFUOx4.js → now-LAZzaJBH.js} +1 -1
- package/dist/public/assets/{open-managed-artifact-tab-n1dyNhLH.js → open-managed-artifact-tab-ZPlXuFu4.js} +1 -1
- package/dist/public/assets/{ordinal-B05IBbop.js → ordinal-DC5m951M.js} +1 -1
- package/dist/public/assets/packet-7NZHBO7P-DOwsFu9x.js +1 -0
- package/dist/public/assets/{panel-D5Ag_0pG.js → panel-DLUMbyPl.js} +1 -1
- package/dist/public/assets/{panel-right-open-FMbRVVs4.js → panel-right-open-CBweAP43.js} +1 -1
- package/dist/public/assets/{paperclip-Kh-WYeO9.js → paperclip-DF10JkTg.js} +1 -1
- package/dist/public/assets/{pegDiagram-2B236MQR-D3wdHf5o.js → pegDiagram-2B236MQR-VQ3qdS5Z.js} +1 -1
- package/dist/public/assets/pending-receive-nav-store-CEPAOvDY.js +1 -0
- package/dist/public/assets/pie-RZYD4A2V-DEV7c1Ne.js +1 -0
- package/dist/public/assets/{pieDiagram-ENE6RG2P-D3JAQnl1.js → pieDiagram-ENE6RG2P-B5fNaqzS.js} +1 -1
- package/dist/public/assets/{project-paths-GbLi10Mg.js → project-paths-DcJ4HDNl.js} +1 -1
- package/dist/public/assets/{prop-types-75t_SaGz.js → prop-types-DUCnPFii.js} +1 -1
- package/dist/public/assets/{propagation-api-D2R0-XqZ.js → propagation-api-yIIm019t.js} +1 -1
- package/dist/public/assets/{quadrantDiagram-ABIIQ3AL-v_Zo7IIT.js → quadrantDiagram-ABIIQ3AL-CHcF1Exh.js} +1 -1
- package/dist/public/assets/radar-I7S5WNFK-B607lrnK.js +1 -0
- package/dist/public/assets/radio-group-DW_ypmKx.js +1 -0
- package/dist/public/assets/railroad-3IZDKUUU-CRgAnFFT.js +1 -0
- package/dist/public/assets/railroad-abnf-AHOZXSZD-DulrY9_U.js +1 -0
- package/dist/public/assets/railroad-ebnf-EBAXGLYW-D8e0kEYb.js +1 -0
- package/dist/public/assets/railroad-peg-LSFZ7HO6-C2iIAAkK.js +1 -0
- package/dist/public/assets/{railroadDiagram-RFXS5EU6-_YTlvWWH.js → railroadDiagram-RFXS5EU6-hi-XN2Rm.js} +1 -1
- package/dist/public/assets/{receive-store-Birqy1T9.js → receive-store-y2q0bQn6.js} +1 -1
- package/dist/public/assets/{refresh-cw-GU9JlNjj.js → refresh-cw-DSH9Of_0.js} +1 -1
- package/dist/public/assets/{requirementDiagram-TGXJPOKE-C8hrZEc6.js → requirementDiagram-TGXJPOKE-CGyQCT2G.js} +1 -1
- package/dist/public/assets/{sankeyDiagram-HTMAVEWB-DtmmYuLI.js → sankeyDiagram-HTMAVEWB-DTVS4b12.js} +1 -1
- package/dist/public/assets/{selection-context-BtAV4KL_.js → selection-context-Db3fWWF7.js} +1 -1
- package/dist/public/assets/{sequenceDiagram-DBY2YBRQ-BDxdZPVx.js → sequenceDiagram-DBY2YBRQ-pna9hZ0I.js} +1 -1
- package/dist/public/assets/{sizeCapture-X5ZJPWSS-DWy0HAH9.js → sizeCapture-X5ZJPWSS-zTum-WLf.js} +1 -1
- package/dist/public/assets/{skeleton-Dz9bw7Q7.js → skeleton-CA6hvjst.js} +1 -1
- package/dist/public/assets/skill-actions-BtUexWRp.js +1 -0
- package/dist/public/assets/{skills-api-PvJ_IOtz.js → skills-api-Bww6-eOu.js} +1 -1
- package/dist/public/assets/{sliders-horizontal-D06S3vlK.js → sliders-horizontal-C9Uy29A1.js} +1 -1
- package/dist/public/assets/{src-CqbXKF1x.js → src-BlkIpXCO.js} +1 -1
- package/dist/public/assets/{src-CTFg8_9J.js → src-CpymDWKp.js} +1 -1
- package/dist/public/assets/{stateDiagram-2N3HPSRC-D4vMSgee.js → stateDiagram-2N3HPSRC-CyBtuA0r.js} +1 -1
- package/dist/public/assets/stateDiagram-v2-6OUMAXLB-DqUkY3SY.js +1 -0
- package/dist/public/assets/{swimlanes-5IMT3BWC-6QrzVCir.js → swimlanes-5IMT3BWC-D50reMLQ.js} +2 -2
- package/dist/public/assets/swimlanesDiagram-G3AALYLV-DauLKJFl.js +8 -0
- package/dist/public/assets/{target-navigation-intent-BeK3bA-h.js → target-navigation-intent-C1iQZwv4.js} +1 -1
- package/dist/public/assets/{telemetry-impl-C1p8zbTK.js → telemetry-impl-CcmuhtrG.js} +2 -2
- package/dist/public/assets/telemetry-startup-CARo6YEP.js +1 -0
- package/dist/public/assets/{terminal-input-events-CEX9z-EZ.js → terminal-input-events-DxwonmvH.js} +1 -1
- package/dist/public/assets/terminal-launch-events-CTfLdB6Z.js +1 -0
- package/dist/public/assets/{terminal-telemetry-BK9o_BV3.js → terminal-telemetry-CbpvB1jF.js} +1 -1
- package/dist/public/assets/{textarea-NKR77MbA.js → textarea-DwJR-19i.js} +1 -1
- package/dist/public/assets/{thread-client-7xKk6T8R.js → thread-client-DH1Xs0By.js} +1 -1
- package/dist/public/assets/{timeline-definition-FHXFAJF6-DazFRaq9.js → timeline-definition-FHXFAJF6-CuzBF-5l.js} +1 -1
- package/dist/public/assets/{timeline-diff-store-BwBks-iZ.js → timeline-diff-store-dt1fl2gd.js} +1 -1
- package/dist/public/assets/toggle-group-CxrQL99E.js +1 -0
- package/dist/public/assets/tooltip-BCGL5jDF.js +1 -0
- package/dist/public/assets/{trash-2-Ch8dKStF.js → trash-2-DpF__0y9.js} +1 -1
- package/dist/public/assets/treeView-QDETBFTQ-DIWn4fzK.js +1 -0
- package/dist/public/assets/treemap-6X3UGDF4-WPqEPk4A.js +1 -0
- package/dist/public/assets/{triangle-alert-DDdzFNcQ.js → triangle-alert-DpxK7pzx.js} +1 -1
- package/dist/public/assets/typing-burst-detector-CwFvl_zZ.js +6 -0
- package/dist/public/assets/{use-activity-panel-ylq6PWCA.js → use-activity-panel-C8eRf28P.js} +1 -1
- package/dist/public/assets/{use-apply-config-color-theme-CT1gUeuw.js → use-apply-config-color-theme-Cn_1YtLn.js} +1 -1
- package/dist/public/assets/{use-collab-url-DO9Z6k14.js → use-collab-url-JouvqC5o.js} +1 -1
- package/dist/public/assets/{use-live-xterm-theme-D-qXKY6i.js → use-live-xterm-theme-BnrEyx1M.js} +1 -1
- package/dist/public/assets/{use-terminal-enabled-BQn-DIW1.js → use-terminal-enabled-BOL2sXHs.js} +1 -1
- package/dist/public/assets/{use-timeline-entry-diff-DJJrq2j4.js → use-timeline-entry-diff-CpGmM4IW.js} +1 -1
- package/dist/public/assets/{use-workspace-BRK6bndk.js → use-workspace-BZeW5fgR.js} +1 -1
- package/dist/public/assets/{vennDiagram-L72KCM5P-qhcoBJ7A.js → vennDiagram-L72KCM5P-BehiEQfV.js} +1 -1
- package/dist/public/assets/wardley-OPB4EBWU-CFdyGX48.js +1 -0
- package/dist/public/assets/{wardleyDiagram-EHGQE667-DIGrOwKg.js → wardleyDiagram-EHGQE667-ZOtSnSGU.js} +1 -1
- package/dist/public/assets/{workspace-paths-BaMTcn1O.js → workspace-paths-CS1BfvNO.js} +1 -1
- package/dist/public/assets/{wrench-gRMjxCUZ.js → wrench-BDWKT3wQ.js} +1 -1
- package/dist/public/assets/x-6ATUQvcC.js +1 -0
- package/dist/public/assets/{xychartDiagram-FW5EYKEG-BVlcxtlc.js → xychartDiagram-FW5EYKEG-G_u042Mg.js} +1 -1
- package/dist/public/assets/{zod-dP0-6rtx.js → zod-D4GZNMdC.js} +1 -1
- package/dist/public/index.html +120 -118
- package/dist/{repair-launch-json-O2wT2hWm.mjs → repair-launch-json-Dw-kyAe-.mjs} +2 -2
- package/dist/repair-mcp-configs-ETOH7oQP.mjs +2 -0
- package/dist/repair-skills-CgvYA2Tj.mjs +1 -0
- package/dist/repair-skills-RJYUnfJN.mjs +3 -0
- package/dist/src-CInsze10.mjs +22 -0
- package/dist/start-B3sAyodP.mjs +3 -0
- package/dist/start-BYPkRdeX.mjs +1 -0
- package/dist/{write-project-skill-thWIVGxh.mjs → write-project-skill-TsM_THnF.mjs} +6 -4
- package/package.json +4 -4
- package/dist/constants-q91ejZ7-.mjs +0 -2
- package/dist/init-BLU-WorV.mjs +0 -1
- package/dist/loader-BJ9NUALr.mjs +0 -1
- package/dist/preview-fkAWAOui.mjs +0 -1
- package/dist/public/assets/ActivityModeContent-7Ju1D07l.js +0 -1
- package/dist/public/assets/AgentDiffPane-Cub6qbMY.js +0 -2
- package/dist/public/assets/ConsentDialogBody-BBq760Wj.js +0 -2
- package/dist/public/assets/CopyButton-qbOI-WUC.js +0 -1
- package/dist/public/assets/EnableSyncConfirmDialog-idXXn7xs.js +0 -1
- package/dist/public/assets/FeedbackForm-27jX0dcM.js +0 -1
- package/dist/public/assets/ManagedArtifactProperties-BanX7mdQ.js +0 -1
- package/dist/public/assets/McpConsentDialogBody-BniZeIL7.js +0 -1
- package/dist/public/assets/PropertyPanel-OEo2jkx9.js +0 -2
- package/dist/public/assets/ShareBranchSwitchDialog-C1OUzjdZ.js +0 -1
- package/dist/public/assets/ShareReceiveDialog-CzPBYHjM.js +0 -1
- package/dist/public/assets/SkillEditorActions-DOGSkeW2.js +0 -1
- package/dist/public/assets/TerminalSessionsHost-D3GT5F61.js +0 -2
- package/dist/public/assets/TimelineDiffPane-BdGwBcWi.js +0 -2
- package/dist/public/assets/architecture-TIHT7OUA-B1GVwxkr.js +0 -1
- package/dist/public/assets/arrow-up-right-DUrnAxeE.js +0 -1
- package/dist/public/assets/badge-C06MOXpY.js +0 -1
- package/dist/public/assets/calendar-B7N9zcYm.js +0 -1
- package/dist/public/assets/channel-CGxczyb8.js +0 -1
- package/dist/public/assets/check-CnRZzbNh.js +0 -1
- package/dist/public/assets/chevron-left-Dh98JFQG.js +0 -1
- package/dist/public/assets/chevron-right-BzFyqeC2.js +0 -1
- package/dist/public/assets/chunk-2Q5K7J3B-bH6Oyzw8.js +0 -1
- package/dist/public/assets/chunk-VAUOI2AC-CkyNJUsp.js +0 -1
- package/dist/public/assets/chunk-XXDRQBXY-CvQ64iI9.js +0 -1
- package/dist/public/assets/classDiagram-OUVF2IWQ-XY5Y-Pax.js +0 -1
- package/dist/public/assets/classDiagram-v2-EOCWNBFH-AHzfp_Z-.js +0 -1
- package/dist/public/assets/createLucideIcon-B5DNg1uu.js +0 -1
- package/dist/public/assets/cynefin-VYW2F7L2-IoPsg8uT.js +0 -1
- package/dist/public/assets/dropdown-menu-DRE6Cf6z.js +0 -1
- package/dist/public/assets/eventmodeling-45OFAUF4-Miu5EHpe.js +0 -1
- package/dist/public/assets/flowDiagram-23GEKE2U-DBQc4eNG.js +0 -1
- package/dist/public/assets/form-CpH-4-8v.js +0 -1
- package/dist/public/assets/gitGraph-TEB2WS4Q-OmjugmYN.js +0 -1
- package/dist/public/assets/index-BZRvvGVa.css +0 -1
- package/dist/public/assets/index-CFRDunzS.js +0 -1995
- package/dist/public/assets/info-DKCQHKI2-BNI5cXhn.js +0 -1
- package/dist/public/assets/loader-circle-DfTbe55q.js +0 -1
- package/dist/public/assets/mermaid-GHXKKRXX-gZpelEAS.js +0 -1
- package/dist/public/assets/packet-7NZHBO7P-B_5BB2Lm.js +0 -1
- package/dist/public/assets/pending-receive-nav-store-DMPvyqg1.js +0 -1
- package/dist/public/assets/pie-RZYD4A2V-DN_XCApP.js +0 -1
- package/dist/public/assets/radar-I7S5WNFK-KdS1Y0nk.js +0 -1
- package/dist/public/assets/radio-group-CiO86NOC.js +0 -1
- package/dist/public/assets/railroad-3IZDKUUU-CargXMo2.js +0 -1
- package/dist/public/assets/railroad-abnf-AHOZXSZD-rKz-719h.js +0 -1
- package/dist/public/assets/railroad-ebnf-EBAXGLYW-BwxcIuUm.js +0 -1
- package/dist/public/assets/railroad-peg-LSFZ7HO6-D-qfZOX5.js +0 -1
- package/dist/public/assets/skill-actions-BcObxQjV.js +0 -1
- package/dist/public/assets/stateDiagram-v2-6OUMAXLB-DXUq8v6n.js +0 -1
- package/dist/public/assets/swimlanesDiagram-G3AALYLV-YBuvJGfc.js +0 -8
- package/dist/public/assets/telemetry-startup-CbuEORkt.js +0 -1
- package/dist/public/assets/terminal-launch-events-DhHDzRBy.js +0 -1
- package/dist/public/assets/toggle-group-yZ3ty6OO.js +0 -1
- package/dist/public/assets/tooltip-zRf24xaK.js +0 -1
- package/dist/public/assets/treeView-QDETBFTQ-ocdjjjzR.js +0 -1
- package/dist/public/assets/treemap-6X3UGDF4-PQZ2TLFo.js +0 -1
- package/dist/public/assets/typing-burst-detector-CXmCEdH9.js +0 -6
- package/dist/public/assets/wardley-OPB4EBWU-CAyNEwcQ.js +0 -1
- package/dist/public/assets/x-CKgH-ywH.js +0 -1
- package/dist/repair-mcp-configs-BAPHGYKS.mjs +0 -2
- package/dist/repair-skills-CLnEB5DY.mjs +0 -1
- package/dist/repair-skills-CNHotj-z.mjs +0 -3
- package/dist/src-DEZ0AEqj.mjs +0 -22
- package/dist/start-BR23L7tq.mjs +0 -1
- package/dist/start-COR_P6jO.mjs +0 -3
- /package/dist/public/assets/{ActivityPanelDiffView-PnYjeFM6.js → ActivityPanelDiffView-Ca-9q7Zb.js} +0 -0
- /package/dist/public/assets/{__vite-browser-external-iWYML0_D.js → __vite-browser-external-BScWdAeE.js} +0 -0
- /package/dist/public/assets/{agent-presence-CD4PApzx.js → agent-presence-DdJtLtJ1.js} +0 -0
- /package/dist/public/assets/{array-DqL5cYTK.js → array-rrgqyMEz.js} +0 -0
- /package/dist/public/assets/{chunk-KEIR6QF5-dYt3HMDt.js → chunk-KEIR6QF5-CFEoHvxJ.js} +0 -0
- /package/dist/public/assets/{chunk-Y2CYZVJY-CdjK8XQ9.js → chunk-Y2CYZVJY-CX0MjbSu.js} +0 -0
- /package/dist/public/assets/{clike-C9qWGfXK.js → clike-mYAQK8rB.js} +0 -0
- /package/dist/public/assets/{clipboard-adapter-DR_qsIO4.js → clipboard-adapter-BGIXxhKQ.js} +0 -0
- /package/dist/public/assets/{colors-DXmM_6VA.js → colors-N4wXgevD.js} +0 -0
- /package/dist/public/assets/{config-context-2ksv1vz_.js → config-context-C5AosGyi.js} +0 -0
- /package/dist/public/assets/{copilot-HsbS__XJ.js → copilot-Be7YOjJF.js} +0 -0
- /package/dist/public/assets/{cursor-pCYbL_rL.js → cursor-AolWKuZw.js} +0 -0
- /package/dist/public/assets/{cytoscape.esm-gSzd5sJY.js → cytoscape.esm-DVWrVKKE.js} +0 -0
- /package/dist/public/assets/{defaultLocale-B9zQw6Mp.js → defaultLocale-D0l1NlB5.js} +0 -0
- /package/dist/public/assets/{desktop-bridge-types-zlQAgqGz.js → desktop-bridge-types-Ij8BA7el.js} +0 -0
- /package/dist/public/assets/{diff-DEIIpD5k.js → diff-CQoFqEJ8.js} +0 -0
- /package/dist/public/assets/{dist-CskSF9JJ.js → dist-BD3698ve.js} +0 -0
- /package/dist/public/assets/{dist-CRN2pmti.js → dist-BneDw0Gk.js} +0 -0
- /package/dist/public/assets/{dist-p50TwYT_.js → dist-DwCd6eR-.js} +0 -0
- /package/dist/public/assets/{dist-CuPBmG_K.js → dist-kVT8A9Kf.js} +0 -0
- /package/dist/public/assets/{dist-Bsb6kGfE.js → dist-xZVtOT7r.js} +0 -0
- /package/dist/public/assets/{documents-fetch-07Gajc_o.js → documents-fetch-CyAk_i-3.js} +0 -0
- /package/dist/public/assets/{external-link-DrhH9f_B.js → external-link-BtglP1zb.js} +0 -0
- /package/dist/public/assets/{file-tree-rename-validation-CtBCHwuu.js → file-tree-rename-validation-DMHa94fr.js} +0 -0
- /package/dist/public/assets/{floating-ui.dom-BiJe6UkI.js → floating-ui.dom-DhDEJ-Ns.js} +0 -0
- /package/dist/public/assets/{format--eXD4GYO.js → format-Dn5VT_ew.js} +0 -0
- /package/dist/public/assets/{go-Dsd-Sgdq.js → go-DksFOnIG.js} +0 -0
- /package/dist/public/assets/{index.esm-Bn2Z9bGZ.js → index.esm-DRU91WyY.js} +0 -0
- /package/dist/public/assets/{init-BxsvY7Hg.js → init-BZfMkAqI.js} +0 -0
- /package/dist/public/assets/{isObject-D9R1MIKv.js → isObject-ClHKc-zZ.js} +0 -0
- /package/dist/public/assets/{katex-B_3A0Gw-.js → katex-arNHcYlY.js} +0 -0
- /package/dist/public/assets/{lib-Bpkte7m2.js → lib-9ZUh4rh4.js} +0 -0
- /package/dist/public/assets/{libesm-CJ1t-ici.js → libesm-BUX1Jc4h.js} +0 -0
- /package/dist/public/assets/{lru-string-cache-DShn2dWs.js → lru-string-cache-D19dwCKJ.js} +0 -0
- /package/dist/public/assets/{lua-zAXZAEH2.js → lua-DtKxmweM.js} +0 -0
- /package/dist/public/assets/{markdownit-ZJKMqLY2.js → markdownit-BEubyjFu.js} +0 -0
- /package/dist/public/assets/{mcp-consent-store-DKS2gYyG.js → mcp-consent-store-rBVJ88Wy.js} +0 -0
- /package/dist/public/assets/{min-CcurEWmb.js → min-C03Z0UNc.js} +0 -0
- /package/dist/public/assets/{panzoom.es-DSQCRJbU.js → panzoom.es-BH0upAOZ.js} +0 -0
- /package/dist/public/assets/{parse-api-error-B4SdjOhg.js → parse-api-error-DucXvNZh.js} +0 -0
- /package/dist/public/assets/{path-OOD7aCgH.js → path-vgVLrjZ6.js} +0 -0
- /package/dist/public/assets/{pdf-Hynmq7d7.js → pdf-B7Aueyrp.js} +0 -0
- /package/dist/public/assets/{pdf.worker-BEQTx13W.js → pdf.worker-DcgidUky.js} +0 -0
- /package/dist/public/assets/{perl-C7iNkbFR.js → perl-BXzCUtdd.js} +0 -0
- /package/dist/public/assets/{properties-D2NT3vka.js → properties-CJAqwakm.js} +0 -0
- /package/dist/public/assets/{r-CamSUgTA.js → r-Brb1bnAX.js} +0 -0
- /package/dist/public/assets/{rough.esm-BVsMQsy4.js → rough.esm-DTi2YMB-.js} +0 -0
- /package/dist/public/assets/{ruby-Bt5hkQB2.js → ruby-CWNYdZZ6.js} +0 -0
- /package/dist/public/assets/{share-metadata-rows-DwvzmjaU.js → share-metadata-rows-Do2le589.js} +0 -0
- /package/dist/public/assets/{shell-DchLwGs2.js → shell-B3Wf6FeS.js} +0 -0
- /package/dist/public/assets/{sortable.esm-Bie05fZN.js → sortable.esm-DcjmFgta.js} +0 -0
- /package/dist/public/assets/{sql-eX1e30K4.js → sql-BRvyk2_W.js} +0 -0
- /package/dist/public/assets/{src-DKi9i97E.js → src-DlwJ21NB.js} +0 -0
- /package/dist/public/assets/{startup-marks-CAL9-20X.js → startup-marks-CytO17UM.js} +0 -0
- /package/dist/public/assets/{stex-CCFzi2aM.js → stex-Hrt2qQag.js} +0 -0
- /package/dist/public/assets/{swift-BGKCo7Qw.js → swift-DT2ta4LM.js} +0 -0
- /package/dist/public/assets/{toml-CVlQmuRv.js → toml-C1FnyICQ.js} +0 -0
- /package/dist/public/assets/{trace-api-QK3sojn1.js → trace-api-CXljsYUC.js} +0 -0
- /package/dist/public/assets/{use-installed-clis-B-sRZdK5.js → use-installed-clis-DmVWBoog.js} +0 -0
- /package/dist/public/assets/{w3c-keyname-F3byfno6.js → w3c-keyname-Daddi42S.js} +0 -0
- /package/dist/public/assets/{worktree-store-CK-mqjDq.js → worktree-store-1tC864Do.js} +0 -0
package/dist/public/assets/{erDiagram-Q63AITRT-RoWPI4T3.js → erDiagram-Q63AITRT-CYNZizIY.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{n as e,t}from"./chunk-Y2CYZVJY-CdjK8XQ9.js";import{t as n}from"./src-CqbXKF1x.js";import{H as r,K as i,U as a,a as o,it as s,v as c,w as l,x as u,y as d}from"./chunk-WYO6CB5R-xIUZBSf_.js";import{t as f}from"./channel-CGxczyb8.js";import{C as p}from"./src-DKi9i97E.js";import{c as m,g as h}from"./chunk-ICXQ74PX-BpNEoAVh.js";import"./chunk-HOUHSVGY-BE3Sb9uV.js";import"./chunk-Q4XR5HBZ-Bcm3Q652.js";import"./chunk-7BUUIJ7U-DZTqq57u.js";import"./chunk-OGEWGWER-DX8HZf6i.js";import{t as g}from"./chunk-XXDRQBXY-CvQ64iI9.js";import{t as _}from"./chunk-VR4S4FIN-CNK8NKh7.js";import"./chunk-C7G6YPKG-Bdrc0gou.js";import"./chunk-ZGVPDNZ5-VN0M3NDz.js";import"./chunk-52WLFC77-BNU-NZPu.js";import{r as v,t as y}from"./chunk-FWX5IMBZ-Cm5B2p1m.js";var b=(function(){var t=e(function(e,t,n,r){for(n||={},r=e.length;r--;n[e[r]]=t);return n},`o`),n=[6,8,10,22,24,26,28,33,34,35,36,37,40,43,44,48,50,51,52],r=[1,10],i=[1,11],a=[1,12],o=[1,13],s=[1,23],c=[1,24],l=[1,25],u=[1,26],d=[1,27],f=[1,19],p=[1,28],m=[1,29],h=[1,20],g=[1,18],_=[1,21],v=[1,22],y=[1,36],b=[1,37],x=[1,38],S=[1,39],C=[1,40],w=[6,8,10,13,15,17,20,21,22,24,26,28,33,34,35,36,37,40,43,44,48,50,51,52,66,67,68,69,70],T=[1,45],E=[1,46],D=[1,55],O=[40,48,50,51,52,71,72],k=[1,66],A=[1,64],j=[1,61],M=[1,65],N=[1,67],P=[6,8,10,13,17,22,24,26,28,33,34,35,36,37,40,41,42,43,44,48,49,50,51,52,66,67,68,69,70],F=[66,67,68,69,70],I=[1,85],L=[1,84],R=[1,82],z=[1,83],B=[6,10,42,47],V=[6,10,13,41,42,47,48,49],H=[1,93],U=[1,92],W=[1,91],G=[19,58],K=[1,102],q=[1,101],J=[19,58,61,63],Y={trace:e(function(){},`trace`),yy:{},symbols_:{error:2,start:3,ER_DIAGRAM:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,entityName:11,relSpec:12,COLON:13,role:14,STYLE_SEPARATOR:15,idList:16,BLOCK_START:17,attributes:18,BLOCK_STOP:19,SQS:20,SQE:21,title:22,title_value:23,acc_title:24,acc_title_value:25,acc_descr:26,acc_descr_value:27,acc_descr_multiline_value:28,direction:29,classDefStatement:30,classStatement:31,styleStatement:32,direction_tb:33,direction_bt:34,direction_rl:35,direction_lr:36,CLASSDEF:37,stylesOpt:38,separator:39,UNICODE_TEXT:40,STYLE_TEXT:41,COMMA:42,CLASS:43,STYLE:44,style:45,styleComponent:46,SEMI:47,NUM:48,BRKT:49,ENTITY_NAME:50,DECIMAL_NUM:51,ENTITY_ONE:52,attribute:53,attributeType:54,attributeName:55,attributeKeyTypeList:56,attributeComment:57,ATTRIBUTE_WORD:58,"?":59,attributeKeyType:60,",":61,ATTRIBUTE_KEY:62,COMMENT:63,cardinality:64,relType:65,ZERO_OR_ONE:66,ZERO_OR_MORE:67,ONE_OR_MORE:68,ONLY_ONE:69,MD_PARENT:70,NON_IDENTIFYING:71,IDENTIFYING:72,WORD:73,$accept:0,$end:1},terminals_:{2:`error`,4:`ER_DIAGRAM`,6:`EOF`,8:`SPACE`,10:`NEWLINE`,13:`COLON`,15:`STYLE_SEPARATOR`,17:`BLOCK_START`,19:`BLOCK_STOP`,20:`SQS`,21:`SQE`,22:`title`,23:`title_value`,24:`acc_title`,25:`acc_title_value`,26:`acc_descr`,27:`acc_descr_value`,28:`acc_descr_multiline_value`,33:`direction_tb`,34:`direction_bt`,35:`direction_rl`,36:`direction_lr`,37:`CLASSDEF`,40:`UNICODE_TEXT`,41:`STYLE_TEXT`,42:`COMMA`,43:`CLASS`,44:`STYLE`,47:`SEMI`,48:`NUM`,49:`BRKT`,50:`ENTITY_NAME`,51:`DECIMAL_NUM`,52:`ENTITY_ONE`,58:`ATTRIBUTE_WORD`,59:`?`,61:`,`,62:`ATTRIBUTE_KEY`,63:`COMMENT`,66:`ZERO_OR_ONE`,67:`ZERO_OR_MORE`,68:`ONE_OR_MORE`,69:`ONLY_ONE`,70:`MD_PARENT`,71:`NON_IDENTIFYING`,72:`IDENTIFYING`,73:`WORD`},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,5],[9,9],[9,7],[9,7],[9,4],[9,6],[9,3],[9,5],[9,1],[9,3],[9,7],[9,9],[9,6],[9,8],[9,4],[9,6],[9,2],[9,2],[9,2],[9,1],[9,1],[9,1],[9,1],[9,1],[29,1],[29,1],[29,1],[29,1],[30,4],[16,1],[16,1],[16,3],[16,3],[31,3],[32,4],[38,1],[38,3],[45,1],[45,2],[39,1],[39,1],[39,1],[46,1],[46,1],[46,1],[46,1],[11,1],[11,1],[11,1],[11,1],[11,1],[18,1],[18,2],[53,2],[53,3],[53,3],[53,4],[54,1],[54,2],[55,1],[56,1],[56,3],[60,1],[57,1],[12,3],[64,1],[64,1],[64,1],[64,1],[64,1],[65,1],[65,1],[14,1],[14,1],[14,1]],performAction:e(function(e,t,n,r,i,a,o){var s=a.length-1;switch(i){case 1:break;case 2:this.$=[];break;case 3:a[s-1].push(a[s]),this.$=a[s-1];break;case 4:case 5:this.$=a[s];break;case 6:case 7:this.$=[];break;case 8:r.addEntity(a[s-4]),r.addEntity(a[s-2]),r.addRelationship(a[s-4],a[s],a[s-2],a[s-3]);break;case 9:r.addEntity(a[s-8]),r.addEntity(a[s-4]),r.addRelationship(a[s-8],a[s],a[s-4],a[s-5]),r.setClass([a[s-8]],a[s-6]),r.setClass([a[s-4]],a[s-2]);break;case 10:r.addEntity(a[s-6]),r.addEntity(a[s-2]),r.addRelationship(a[s-6],a[s],a[s-2],a[s-3]),r.setClass([a[s-6]],a[s-4]);break;case 11:r.addEntity(a[s-6]),r.addEntity(a[s-4]),r.addRelationship(a[s-6],a[s],a[s-4],a[s-5]),r.setClass([a[s-4]],a[s-2]);break;case 12:r.addEntity(a[s-3]),r.addAttributes(a[s-3],a[s-1]);break;case 13:r.addEntity(a[s-5]),r.addAttributes(a[s-5],a[s-1]),r.setClass([a[s-5]],a[s-3]);break;case 14:r.addEntity(a[s-2]);break;case 15:r.addEntity(a[s-4]),r.setClass([a[s-4]],a[s-2]);break;case 16:r.addEntity(a[s]);break;case 17:r.addEntity(a[s-2]),r.setClass([a[s-2]],a[s]);break;case 18:r.addEntity(a[s-6],a[s-4]),r.addAttributes(a[s-6],a[s-1]);break;case 19:r.addEntity(a[s-8],a[s-6]),r.addAttributes(a[s-8],a[s-1]),r.setClass([a[s-8]],a[s-3]);break;case 20:r.addEntity(a[s-5],a[s-3]);break;case 21:r.addEntity(a[s-7],a[s-5]),r.setClass([a[s-7]],a[s-2]);break;case 22:r.addEntity(a[s-3],a[s-1]);break;case 23:r.addEntity(a[s-5],a[s-3]),r.setClass([a[s-5]],a[s]);break;case 24:case 25:this.$=a[s].trim(),r.setAccTitle(this.$);break;case 26:case 27:this.$=a[s].trim(),r.setAccDescription(this.$);break;case 32:r.setDirection(`TB`);break;case 33:r.setDirection(`BT`);break;case 34:r.setDirection(`RL`);break;case 35:r.setDirection(`LR`);break;case 36:this.$=a[s-3],r.addClass(a[s-2],a[s-1]);break;case 37:case 38:case 59:case 68:this.$=[a[s]];break;case 39:case 40:this.$=a[s-2].concat([a[s]]);break;case 41:this.$=a[s-2],r.setClass(a[s-1],a[s]);break;case 42:this.$=a[s-3],r.addCssStyles(a[s-2],a[s-1]);break;case 43:this.$=[a[s]];break;case 44:a[s-2].push(a[s]),this.$=a[s-2];break;case 46:this.$=a[s-1]+a[s];break;case 54:case 80:case 81:this.$=a[s].replace(/"/g,``);break;case 55:case 56:case 57:case 58:case 82:this.$=a[s];break;case 60:a[s].push(a[s-1]),this.$=a[s];break;case 61:this.$={type:a[s-1],name:a[s]};break;case 62:this.$={type:a[s-2],name:a[s-1],keys:a[s]};break;case 63:this.$={type:a[s-2],name:a[s-1],comment:a[s]};break;case 64:this.$={type:a[s-3],name:a[s-2],keys:a[s-1],comment:a[s]};break;case 65:case 67:case 70:this.$=a[s];break;case 66:this.$=a[s-1]+a[s];break;case 69:a[s-2].push(a[s]),this.$=a[s-2];break;case 71:this.$=a[s].replace(/"/g,``);break;case 72:this.$={cardA:a[s],relType:a[s-1],cardB:a[s-2]};break;case 73:this.$=r.Cardinality.ZERO_OR_ONE;break;case 74:this.$=r.Cardinality.ZERO_OR_MORE;break;case 75:this.$=r.Cardinality.ONE_OR_MORE;break;case 76:this.$=r.Cardinality.ONLY_ONE;break;case 77:this.$=r.Cardinality.MD_PARENT;break;case 78:this.$=r.Identification.NON_IDENTIFYING;break;case 79:this.$=r.Identification.IDENTIFYING;break}},`anonymous`),table:[{3:1,4:[1,2]},{1:[3]},t(n,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:9,22:r,24:i,26:a,28:o,29:14,30:15,31:16,32:17,33:s,34:c,35:l,36:u,37:d,40:f,43:p,44:m,48:h,50:g,51:_,52:v},t(n,[2,7],{1:[2,1]}),t(n,[2,3]),{9:30,11:9,22:r,24:i,26:a,28:o,29:14,30:15,31:16,32:17,33:s,34:c,35:l,36:u,37:d,40:f,43:p,44:m,48:h,50:g,51:_,52:v},t(n,[2,5]),t(n,[2,6]),t(n,[2,16],{12:31,64:35,15:[1,32],17:[1,33],20:[1,34],66:y,67:b,68:x,69:S,70:C}),{23:[1,41]},{25:[1,42]},{27:[1,43]},t(n,[2,27]),t(n,[2,28]),t(n,[2,29]),t(n,[2,30]),t(n,[2,31]),t(w,[2,54]),t(w,[2,55]),t(w,[2,56]),t(w,[2,57]),t(w,[2,58]),t(n,[2,32]),t(n,[2,33]),t(n,[2,34]),t(n,[2,35]),{16:44,40:T,41:E},{16:47,40:T,41:E},{16:48,40:T,41:E},t(n,[2,4]),{11:49,40:f,48:h,50:g,51:_,52:v},{16:50,40:T,41:E},{18:51,19:[1,52],53:53,54:54,58:D},{11:56,40:f,48:h,50:g,51:_,52:v},{65:57,71:[1,58],72:[1,59]},t(O,[2,73]),t(O,[2,74]),t(O,[2,75]),t(O,[2,76]),t(O,[2,77]),t(n,[2,24]),t(n,[2,25]),t(n,[2,26]),{13:k,38:60,41:A,42:j,45:62,46:63,48:M,49:N},t(P,[2,37]),t(P,[2,38]),{16:68,40:T,41:E,42:j},{13:k,38:69,41:A,42:j,45:62,46:63,48:M,49:N},{13:[1,70],15:[1,71]},t(n,[2,17],{64:35,12:72,17:[1,73],42:j,66:y,67:b,68:x,69:S,70:C}),{19:[1,74]},t(n,[2,14]),{18:75,19:[2,59],53:53,54:54,58:D},{55:76,58:[1,77]},{58:[2,65],59:[1,78]},{21:[1,79]},{64:80,66:y,67:b,68:x,69:S,70:C},t(F,[2,78]),t(F,[2,79]),{6:I,10:L,39:81,42:R,47:z},{40:[1,86],41:[1,87]},t(B,[2,43],{46:88,13:k,41:A,48:M,49:N}),t(V,[2,45]),t(V,[2,50]),t(V,[2,51]),t(V,[2,52]),t(V,[2,53]),t(n,[2,41],{42:j}),{6:I,10:L,39:89,42:R,47:z},{14:90,40:H,50:U,73:W},{16:94,40:T,41:E},{11:95,40:f,48:h,50:g,51:_,52:v},{18:96,19:[1,97],53:53,54:54,58:D},t(n,[2,12]),{19:[2,60]},t(G,[2,61],{56:98,57:99,60:100,62:K,63:q}),t([19,58,62,63],[2,67]),{58:[2,66]},t(n,[2,22],{15:[1,104],17:[1,103]}),t([40,48,50,51,52],[2,72]),t(n,[2,36]),{13:k,41:A,45:105,46:63,48:M,49:N},t(n,[2,47]),t(n,[2,48]),t(n,[2,49]),t(P,[2,39]),t(P,[2,40]),t(V,[2,46]),t(n,[2,42]),t(n,[2,8]),t(n,[2,80]),t(n,[2,81]),t(n,[2,82]),{13:[1,106],42:j},{13:[1,108],15:[1,107]},{19:[1,109]},t(n,[2,15]),t(G,[2,62],{57:110,61:[1,111],63:q}),t(G,[2,63]),t(J,[2,68]),t(G,[2,71]),t(J,[2,70]),{18:112,19:[1,113],53:53,54:54,58:D},{16:114,40:T,41:E},t(B,[2,44],{46:88,13:k,41:A,48:M,49:N}),{14:115,40:H,50:U,73:W},{16:116,40:T,41:E},{14:117,40:H,50:U,73:W},t(n,[2,13]),t(G,[2,64]),{60:118,62:K},{19:[1,119]},t(n,[2,20]),t(n,[2,23],{17:[1,120],42:j}),t(n,[2,11]),{13:[1,121],42:j},t(n,[2,10]),t(J,[2,69]),t(n,[2,18]),{18:122,19:[1,123],53:53,54:54,58:D},{14:124,40:H,50:U,73:W},{19:[1,125]},t(n,[2,21]),t(n,[2,9]),t(n,[2,19])],defaultActions:{75:[2,60],78:[2,66]},parseError:e(function(e,t){if(t.recoverable)this.trace(e);else{var n=Error(e);throw n.hash=t,n}},`parseError`),parse:e(function(t){var n=this,r=[0],i=[],a=[null],o=[],s=this.table,c=``,l=0,u=0,d=0,f=2,p=1,m=o.slice.call(arguments,1),h=Object.create(this.lexer),g={yy:{}};for(var _ in this.yy)Object.prototype.hasOwnProperty.call(this.yy,_)&&(g.yy[_]=this.yy[_]);h.setInput(t,g.yy),g.yy.lexer=h,g.yy.parser=this,h.yylloc===void 0&&(h.yylloc={});var v=h.yylloc;o.push(v);var y=h.options&&h.options.ranges;typeof g.yy.parseError==`function`?this.parseError=g.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function b(e){r.length-=2*e,a.length-=e,o.length-=e}e(b,`popStack`);function x(){var e=i.pop()||h.lex()||p;return typeof e!=`number`&&(e instanceof Array&&(i=e,e=i.pop()),e=n.symbols_[e]||e),e}e(x,`lex`);for(var S,C,w,T,E,D={},O,k,A,j;;){if(w=r[r.length-1],this.defaultActions[w]?T=this.defaultActions[w]:(S??=x(),T=s[w]&&s[w][S]),T===void 0||!T.length||!T[0]){var M=``;for(O in j=[],s[w])this.terminals_[O]&&O>f&&j.push(`'`+this.terminals_[O]+`'`);M=h.showPosition?`Parse error on line `+(l+1)+`:
|
|
1
|
+
import{n as e,t}from"./chunk-Y2CYZVJY-CX0MjbSu.js";import{t as n}from"./src-BlkIpXCO.js";import{H as r,K as i,U as a,a as o,it as s,v as c,w as l,x as u,y as d}from"./chunk-WYO6CB5R-DyzfGKK0.js";import{t as f}from"./channel-Dnd06LFp.js";import{C as p}from"./src-DlwJ21NB.js";import{c as m,g as h}from"./chunk-ICXQ74PX-BF1AraUQ.js";import"./chunk-HOUHSVGY-F4yPi64m.js";import"./chunk-Q4XR5HBZ--lNMVAiV.js";import"./chunk-7BUUIJ7U-D6E7ODqO.js";import"./chunk-OGEWGWER-D_9VshMV.js";import{t as g}from"./chunk-XXDRQBXY-D5Z2YAqk.js";import{t as _}from"./chunk-VR4S4FIN-DRClO3Vp.js";import"./chunk-C7G6YPKG-DyJUpciK.js";import"./chunk-ZGVPDNZ5-B4UAL6rf.js";import"./chunk-52WLFC77-DOJ_zrKl.js";import{r as v,t as y}from"./chunk-FWX5IMBZ-DRwSfJSX.js";var b=(function(){var t=e(function(e,t,n,r){for(n||={},r=e.length;r--;n[e[r]]=t);return n},`o`),n=[6,8,10,22,24,26,28,33,34,35,36,37,40,43,44,48,50,51,52],r=[1,10],i=[1,11],a=[1,12],o=[1,13],s=[1,23],c=[1,24],l=[1,25],u=[1,26],d=[1,27],f=[1,19],p=[1,28],m=[1,29],h=[1,20],g=[1,18],_=[1,21],v=[1,22],y=[1,36],b=[1,37],x=[1,38],S=[1,39],C=[1,40],w=[6,8,10,13,15,17,20,21,22,24,26,28,33,34,35,36,37,40,43,44,48,50,51,52,66,67,68,69,70],T=[1,45],E=[1,46],D=[1,55],O=[40,48,50,51,52,71,72],k=[1,66],A=[1,64],j=[1,61],M=[1,65],N=[1,67],P=[6,8,10,13,17,22,24,26,28,33,34,35,36,37,40,41,42,43,44,48,49,50,51,52,66,67,68,69,70],F=[66,67,68,69,70],I=[1,85],L=[1,84],R=[1,82],z=[1,83],B=[6,10,42,47],V=[6,10,13,41,42,47,48,49],H=[1,93],U=[1,92],W=[1,91],G=[19,58],K=[1,102],q=[1,101],J=[19,58,61,63],Y={trace:e(function(){},`trace`),yy:{},symbols_:{error:2,start:3,ER_DIAGRAM:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,entityName:11,relSpec:12,COLON:13,role:14,STYLE_SEPARATOR:15,idList:16,BLOCK_START:17,attributes:18,BLOCK_STOP:19,SQS:20,SQE:21,title:22,title_value:23,acc_title:24,acc_title_value:25,acc_descr:26,acc_descr_value:27,acc_descr_multiline_value:28,direction:29,classDefStatement:30,classStatement:31,styleStatement:32,direction_tb:33,direction_bt:34,direction_rl:35,direction_lr:36,CLASSDEF:37,stylesOpt:38,separator:39,UNICODE_TEXT:40,STYLE_TEXT:41,COMMA:42,CLASS:43,STYLE:44,style:45,styleComponent:46,SEMI:47,NUM:48,BRKT:49,ENTITY_NAME:50,DECIMAL_NUM:51,ENTITY_ONE:52,attribute:53,attributeType:54,attributeName:55,attributeKeyTypeList:56,attributeComment:57,ATTRIBUTE_WORD:58,"?":59,attributeKeyType:60,",":61,ATTRIBUTE_KEY:62,COMMENT:63,cardinality:64,relType:65,ZERO_OR_ONE:66,ZERO_OR_MORE:67,ONE_OR_MORE:68,ONLY_ONE:69,MD_PARENT:70,NON_IDENTIFYING:71,IDENTIFYING:72,WORD:73,$accept:0,$end:1},terminals_:{2:`error`,4:`ER_DIAGRAM`,6:`EOF`,8:`SPACE`,10:`NEWLINE`,13:`COLON`,15:`STYLE_SEPARATOR`,17:`BLOCK_START`,19:`BLOCK_STOP`,20:`SQS`,21:`SQE`,22:`title`,23:`title_value`,24:`acc_title`,25:`acc_title_value`,26:`acc_descr`,27:`acc_descr_value`,28:`acc_descr_multiline_value`,33:`direction_tb`,34:`direction_bt`,35:`direction_rl`,36:`direction_lr`,37:`CLASSDEF`,40:`UNICODE_TEXT`,41:`STYLE_TEXT`,42:`COMMA`,43:`CLASS`,44:`STYLE`,47:`SEMI`,48:`NUM`,49:`BRKT`,50:`ENTITY_NAME`,51:`DECIMAL_NUM`,52:`ENTITY_ONE`,58:`ATTRIBUTE_WORD`,59:`?`,61:`,`,62:`ATTRIBUTE_KEY`,63:`COMMENT`,66:`ZERO_OR_ONE`,67:`ZERO_OR_MORE`,68:`ONE_OR_MORE`,69:`ONLY_ONE`,70:`MD_PARENT`,71:`NON_IDENTIFYING`,72:`IDENTIFYING`,73:`WORD`},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,5],[9,9],[9,7],[9,7],[9,4],[9,6],[9,3],[9,5],[9,1],[9,3],[9,7],[9,9],[9,6],[9,8],[9,4],[9,6],[9,2],[9,2],[9,2],[9,1],[9,1],[9,1],[9,1],[9,1],[29,1],[29,1],[29,1],[29,1],[30,4],[16,1],[16,1],[16,3],[16,3],[31,3],[32,4],[38,1],[38,3],[45,1],[45,2],[39,1],[39,1],[39,1],[46,1],[46,1],[46,1],[46,1],[11,1],[11,1],[11,1],[11,1],[11,1],[18,1],[18,2],[53,2],[53,3],[53,3],[53,4],[54,1],[54,2],[55,1],[56,1],[56,3],[60,1],[57,1],[12,3],[64,1],[64,1],[64,1],[64,1],[64,1],[65,1],[65,1],[14,1],[14,1],[14,1]],performAction:e(function(e,t,n,r,i,a,o){var s=a.length-1;switch(i){case 1:break;case 2:this.$=[];break;case 3:a[s-1].push(a[s]),this.$=a[s-1];break;case 4:case 5:this.$=a[s];break;case 6:case 7:this.$=[];break;case 8:r.addEntity(a[s-4]),r.addEntity(a[s-2]),r.addRelationship(a[s-4],a[s],a[s-2],a[s-3]);break;case 9:r.addEntity(a[s-8]),r.addEntity(a[s-4]),r.addRelationship(a[s-8],a[s],a[s-4],a[s-5]),r.setClass([a[s-8]],a[s-6]),r.setClass([a[s-4]],a[s-2]);break;case 10:r.addEntity(a[s-6]),r.addEntity(a[s-2]),r.addRelationship(a[s-6],a[s],a[s-2],a[s-3]),r.setClass([a[s-6]],a[s-4]);break;case 11:r.addEntity(a[s-6]),r.addEntity(a[s-4]),r.addRelationship(a[s-6],a[s],a[s-4],a[s-5]),r.setClass([a[s-4]],a[s-2]);break;case 12:r.addEntity(a[s-3]),r.addAttributes(a[s-3],a[s-1]);break;case 13:r.addEntity(a[s-5]),r.addAttributes(a[s-5],a[s-1]),r.setClass([a[s-5]],a[s-3]);break;case 14:r.addEntity(a[s-2]);break;case 15:r.addEntity(a[s-4]),r.setClass([a[s-4]],a[s-2]);break;case 16:r.addEntity(a[s]);break;case 17:r.addEntity(a[s-2]),r.setClass([a[s-2]],a[s]);break;case 18:r.addEntity(a[s-6],a[s-4]),r.addAttributes(a[s-6],a[s-1]);break;case 19:r.addEntity(a[s-8],a[s-6]),r.addAttributes(a[s-8],a[s-1]),r.setClass([a[s-8]],a[s-3]);break;case 20:r.addEntity(a[s-5],a[s-3]);break;case 21:r.addEntity(a[s-7],a[s-5]),r.setClass([a[s-7]],a[s-2]);break;case 22:r.addEntity(a[s-3],a[s-1]);break;case 23:r.addEntity(a[s-5],a[s-3]),r.setClass([a[s-5]],a[s]);break;case 24:case 25:this.$=a[s].trim(),r.setAccTitle(this.$);break;case 26:case 27:this.$=a[s].trim(),r.setAccDescription(this.$);break;case 32:r.setDirection(`TB`);break;case 33:r.setDirection(`BT`);break;case 34:r.setDirection(`RL`);break;case 35:r.setDirection(`LR`);break;case 36:this.$=a[s-3],r.addClass(a[s-2],a[s-1]);break;case 37:case 38:case 59:case 68:this.$=[a[s]];break;case 39:case 40:this.$=a[s-2].concat([a[s]]);break;case 41:this.$=a[s-2],r.setClass(a[s-1],a[s]);break;case 42:this.$=a[s-3],r.addCssStyles(a[s-2],a[s-1]);break;case 43:this.$=[a[s]];break;case 44:a[s-2].push(a[s]),this.$=a[s-2];break;case 46:this.$=a[s-1]+a[s];break;case 54:case 80:case 81:this.$=a[s].replace(/"/g,``);break;case 55:case 56:case 57:case 58:case 82:this.$=a[s];break;case 60:a[s].push(a[s-1]),this.$=a[s];break;case 61:this.$={type:a[s-1],name:a[s]};break;case 62:this.$={type:a[s-2],name:a[s-1],keys:a[s]};break;case 63:this.$={type:a[s-2],name:a[s-1],comment:a[s]};break;case 64:this.$={type:a[s-3],name:a[s-2],keys:a[s-1],comment:a[s]};break;case 65:case 67:case 70:this.$=a[s];break;case 66:this.$=a[s-1]+a[s];break;case 69:a[s-2].push(a[s]),this.$=a[s-2];break;case 71:this.$=a[s].replace(/"/g,``);break;case 72:this.$={cardA:a[s],relType:a[s-1],cardB:a[s-2]};break;case 73:this.$=r.Cardinality.ZERO_OR_ONE;break;case 74:this.$=r.Cardinality.ZERO_OR_MORE;break;case 75:this.$=r.Cardinality.ONE_OR_MORE;break;case 76:this.$=r.Cardinality.ONLY_ONE;break;case 77:this.$=r.Cardinality.MD_PARENT;break;case 78:this.$=r.Identification.NON_IDENTIFYING;break;case 79:this.$=r.Identification.IDENTIFYING;break}},`anonymous`),table:[{3:1,4:[1,2]},{1:[3]},t(n,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:9,22:r,24:i,26:a,28:o,29:14,30:15,31:16,32:17,33:s,34:c,35:l,36:u,37:d,40:f,43:p,44:m,48:h,50:g,51:_,52:v},t(n,[2,7],{1:[2,1]}),t(n,[2,3]),{9:30,11:9,22:r,24:i,26:a,28:o,29:14,30:15,31:16,32:17,33:s,34:c,35:l,36:u,37:d,40:f,43:p,44:m,48:h,50:g,51:_,52:v},t(n,[2,5]),t(n,[2,6]),t(n,[2,16],{12:31,64:35,15:[1,32],17:[1,33],20:[1,34],66:y,67:b,68:x,69:S,70:C}),{23:[1,41]},{25:[1,42]},{27:[1,43]},t(n,[2,27]),t(n,[2,28]),t(n,[2,29]),t(n,[2,30]),t(n,[2,31]),t(w,[2,54]),t(w,[2,55]),t(w,[2,56]),t(w,[2,57]),t(w,[2,58]),t(n,[2,32]),t(n,[2,33]),t(n,[2,34]),t(n,[2,35]),{16:44,40:T,41:E},{16:47,40:T,41:E},{16:48,40:T,41:E},t(n,[2,4]),{11:49,40:f,48:h,50:g,51:_,52:v},{16:50,40:T,41:E},{18:51,19:[1,52],53:53,54:54,58:D},{11:56,40:f,48:h,50:g,51:_,52:v},{65:57,71:[1,58],72:[1,59]},t(O,[2,73]),t(O,[2,74]),t(O,[2,75]),t(O,[2,76]),t(O,[2,77]),t(n,[2,24]),t(n,[2,25]),t(n,[2,26]),{13:k,38:60,41:A,42:j,45:62,46:63,48:M,49:N},t(P,[2,37]),t(P,[2,38]),{16:68,40:T,41:E,42:j},{13:k,38:69,41:A,42:j,45:62,46:63,48:M,49:N},{13:[1,70],15:[1,71]},t(n,[2,17],{64:35,12:72,17:[1,73],42:j,66:y,67:b,68:x,69:S,70:C}),{19:[1,74]},t(n,[2,14]),{18:75,19:[2,59],53:53,54:54,58:D},{55:76,58:[1,77]},{58:[2,65],59:[1,78]},{21:[1,79]},{64:80,66:y,67:b,68:x,69:S,70:C},t(F,[2,78]),t(F,[2,79]),{6:I,10:L,39:81,42:R,47:z},{40:[1,86],41:[1,87]},t(B,[2,43],{46:88,13:k,41:A,48:M,49:N}),t(V,[2,45]),t(V,[2,50]),t(V,[2,51]),t(V,[2,52]),t(V,[2,53]),t(n,[2,41],{42:j}),{6:I,10:L,39:89,42:R,47:z},{14:90,40:H,50:U,73:W},{16:94,40:T,41:E},{11:95,40:f,48:h,50:g,51:_,52:v},{18:96,19:[1,97],53:53,54:54,58:D},t(n,[2,12]),{19:[2,60]},t(G,[2,61],{56:98,57:99,60:100,62:K,63:q}),t([19,58,62,63],[2,67]),{58:[2,66]},t(n,[2,22],{15:[1,104],17:[1,103]}),t([40,48,50,51,52],[2,72]),t(n,[2,36]),{13:k,41:A,45:105,46:63,48:M,49:N},t(n,[2,47]),t(n,[2,48]),t(n,[2,49]),t(P,[2,39]),t(P,[2,40]),t(V,[2,46]),t(n,[2,42]),t(n,[2,8]),t(n,[2,80]),t(n,[2,81]),t(n,[2,82]),{13:[1,106],42:j},{13:[1,108],15:[1,107]},{19:[1,109]},t(n,[2,15]),t(G,[2,62],{57:110,61:[1,111],63:q}),t(G,[2,63]),t(J,[2,68]),t(G,[2,71]),t(J,[2,70]),{18:112,19:[1,113],53:53,54:54,58:D},{16:114,40:T,41:E},t(B,[2,44],{46:88,13:k,41:A,48:M,49:N}),{14:115,40:H,50:U,73:W},{16:116,40:T,41:E},{14:117,40:H,50:U,73:W},t(n,[2,13]),t(G,[2,64]),{60:118,62:K},{19:[1,119]},t(n,[2,20]),t(n,[2,23],{17:[1,120],42:j}),t(n,[2,11]),{13:[1,121],42:j},t(n,[2,10]),t(J,[2,69]),t(n,[2,18]),{18:122,19:[1,123],53:53,54:54,58:D},{14:124,40:H,50:U,73:W},{19:[1,125]},t(n,[2,21]),t(n,[2,9]),t(n,[2,19])],defaultActions:{75:[2,60],78:[2,66]},parseError:e(function(e,t){if(t.recoverable)this.trace(e);else{var n=Error(e);throw n.hash=t,n}},`parseError`),parse:e(function(t){var n=this,r=[0],i=[],a=[null],o=[],s=this.table,c=``,l=0,u=0,d=0,f=2,p=1,m=o.slice.call(arguments,1),h=Object.create(this.lexer),g={yy:{}};for(var _ in this.yy)Object.prototype.hasOwnProperty.call(this.yy,_)&&(g.yy[_]=this.yy[_]);h.setInput(t,g.yy),g.yy.lexer=h,g.yy.parser=this,h.yylloc===void 0&&(h.yylloc={});var v=h.yylloc;o.push(v);var y=h.options&&h.options.ranges;typeof g.yy.parseError==`function`?this.parseError=g.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function b(e){r.length-=2*e,a.length-=e,o.length-=e}e(b,`popStack`);function x(){var e=i.pop()||h.lex()||p;return typeof e!=`number`&&(e instanceof Array&&(i=e,e=i.pop()),e=n.symbols_[e]||e),e}e(x,`lex`);for(var S,C,w,T,E,D={},O,k,A,j;;){if(w=r[r.length-1],this.defaultActions[w]?T=this.defaultActions[w]:(S??=x(),T=s[w]&&s[w][S]),T===void 0||!T.length||!T[0]){var M=``;for(O in j=[],s[w])this.terminals_[O]&&O>f&&j.push(`'`+this.terminals_[O]+`'`);M=h.showPosition?`Parse error on line `+(l+1)+`:
|
|
2
2
|
`+h.showPosition()+`
|
|
3
3
|
Expecting `+j.join(`, `)+`, got '`+(this.terminals_[S]||S)+`'`:`Parse error on line `+(l+1)+`: Unexpected `+(S==p?`end of input`:`'`+(this.terminals_[S]||S)+`'`),this.parseError(M,{text:h.match,token:this.terminals_[S]||S,line:h.yylineno,loc:v,expected:j})}if(T[0]instanceof Array&&T.length>1)throw Error(`Parse Error: multiple actions possible at state: `+w+`, token: `+S);switch(T[0]){case 1:r.push(S),a.push(h.yytext),o.push(h.yylloc),r.push(T[1]),S=null,C?(S=C,C=null):(u=h.yyleng,c=h.yytext,l=h.yylineno,v=h.yylloc,d>0&&d--);break;case 2:if(k=this.productions_[T[1]][1],D.$=a[a.length-k],D._$={first_line:o[o.length-(k||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(k||1)].first_column,last_column:o[o.length-1].last_column},y&&(D._$.range=[o[o.length-(k||1)].range[0],o[o.length-1].range[1]]),E=this.performAction.apply(D,[c,u,l,g.yy,T[1],a,o].concat(m)),E!==void 0)return E;k&&(r=r.slice(0,-1*k*2),a=a.slice(0,-1*k),o=o.slice(0,-1*k)),r.push(this.productions_[T[1]][0]),a.push(D.$),o.push(D._$),A=s[r[r.length-2]][r[r.length-1]],r.push(A);break;case 3:return!0}}return!0},`parse`)};Y.lexer=(function(){return{EOF:1,parseError:e(function(e,t){if(this.yy.parser)this.yy.parser.parseError(e,t);else throw Error(e)},`parseError`),setInput:e(function(e,t){return this.yy=t||this.yy||{},this._input=e,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match=``,this.conditionStack=[`INITIAL`],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},`setInput`),input:e(function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e},`input`),unput:e(function(e){var t=e.length,n=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this},`unput`),more:e(function(){return this._more=!0,this},`more`),reject:e(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError(`Lexical error on line `+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
|
|
4
4
|
`+this.showPosition(),{text:``,token:null,line:this.yylineno});return this},`reject`),less:e(function(e){this.unput(this.match.slice(e))},`less`),pastInput:e(function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?`...`:``)+e.substr(-20).replace(/\n/g,``)},`pastInput`),upcomingInput:e(function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?`...`:``)).replace(/\n/g,``)},`upcomingInput`),showPosition:e(function(){var e=this.pastInput(),t=Array(e.length+1).join(`-`);return e+this.upcomingInput()+`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{i as e}from"./chunk-DseTPa7n.js";import{t}from"./jsx-runtime-DyiINK0N.js";import{t as n}from"./react-JNybMug3.js";import{
|
|
1
|
+
import{i as e}from"./chunk-DseTPa7n.js";import{t}from"./jsx-runtime-DyiINK0N.js";import{t as n}from"./react-JNybMug3.js";import{o as r}from"./createLucideIcon-BUb14crZ.js";import{d as i,r as a}from"./dist-Bv-DNDka.js";var o=e(n(),1),s=t(),c=`focusScope.autoFocusOnMount`,l=`focusScope.autoFocusOnUnmount`,u={bubbles:!1,cancelable:!0},d=`FocusScope`,f=o.forwardRef((e,t)=>{let{loop:n=!1,trapped:d=!1,onMountAutoFocus:f,onUnmountAutoFocus:g,..._}=e,[v,x]=o.useState(null),S=a(f),w=a(g),T=o.useRef(null),E=r(t,e=>x(e)),D=o.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;o.useEffect(()=>{if(d){let e=function(e){if(D.paused||!v)return;let t=e.target;v.contains(t)?T.current=t:y(T.current,{select:!0})},t=function(e){if(D.paused||!v)return;let t=e.relatedTarget;t!==null&&(v.contains(t)||y(T.current,{select:!0}))},n=function(e){if(document.activeElement===document.body)for(let t of e)t.removedNodes.length>0&&y(v)};document.addEventListener(`focusin`,e),document.addEventListener(`focusout`,t);let r=new MutationObserver(n);return v&&r.observe(v,{childList:!0,subtree:!0}),()=>{document.removeEventListener(`focusin`,e),document.removeEventListener(`focusout`,t),r.disconnect()}}},[d,v,D.paused]),o.useEffect(()=>{if(v){b.add(D);let e=document.activeElement;if(!v.contains(e)){let t=new CustomEvent(c,u);v.addEventListener(c,S),v.dispatchEvent(t),t.defaultPrevented||(p(C(h(v)),{select:!0}),document.activeElement===e&&y(v))}return()=>{v.removeEventListener(c,S),setTimeout(()=>{let t=new CustomEvent(l,u);v.addEventListener(l,w),v.dispatchEvent(t),t.defaultPrevented||y(e??document.body,{select:!0}),v.removeEventListener(l,w),b.remove(D)},0)}}},[v,S,w,D]);let O=o.useCallback(e=>{if(!n&&!d||D.paused)return;let t=e.key===`Tab`&&!e.altKey&&!e.ctrlKey&&!e.metaKey,r=document.activeElement;if(t&&r){let t=e.currentTarget,[i,a]=m(t);i&&a?!e.shiftKey&&r===a?(e.preventDefault(),n&&y(i,{select:!0})):e.shiftKey&&r===i&&(e.preventDefault(),n&&y(a,{select:!0})):r===t&&e.preventDefault()}},[n,d,D.paused]);return(0,s.jsx)(i.div,{tabIndex:-1,..._,ref:E,onKeyDown:O})});f.displayName=d;function p(e,{select:t=!1}={}){let n=document.activeElement;for(let r of e)if(y(r,{select:t}),document.activeElement!==n)return}function m(e){let t=h(e);return[g(t,e),g(t.reverse(),e)]}function h(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t=e.tagName===`INPUT`&&e.type===`hidden`;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function g(e,t){for(let n of e)if(!_(n,{upTo:t}))return n}function _(e,{upTo:t}){if(getComputedStyle(e).visibility===`hidden`)return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display===`none`)return!0;e=e.parentElement}return!1}function v(e){return e instanceof HTMLInputElement&&`select`in e}function y(e,{select:t=!1}={}){if(e&&e.focus){let n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&v(e)&&t&&e.select()}}var b=x();function x(){let e=[];return{add(t){let n=e[0];t!==n&&n?.pause(),e=S(e,t),e.unshift(t)},remove(t){e=S(e,t),e[0]?.resume()}}}function S(e,t){let n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function C(e){return e.filter(e=>e.tagName!==`A`)}var w=0,T=null;function E(){o.useEffect(()=>{T||={start:D(),end:D()};let{start:e,end:t}=T;return document.body.firstElementChild!==e&&document.body.insertAdjacentElement(`afterbegin`,e),document.body.lastElementChild!==t&&document.body.insertAdjacentElement(`beforeend`,t),w++,()=>{w===1&&(T?.start.remove(),T?.end.remove(),T=null),w=Math.max(0,w-1)}},[])}function D(){let e=document.createElement(`span`);return e.setAttribute(`data-radix-focus-guard`,``),e.tabIndex=0,e.style.outline=`none`,e.style.opacity=`0`,e.style.position=`fixed`,e.style.pointerEvents=`none`,e}var O=function(){return O=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},O.apply(this,arguments)};function k(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols==`function`)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}function ee(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,a;r<i;r++)(a||!(r in t))&&(a||=Array.prototype.slice.call(t,0,r),a[r]=t[r]);return e.concat(a||Array.prototype.slice.call(t))}var A=`right-scroll-bar-position`,j=`width-before-scroll-bar`,te=`with-scroll-bars-hidden`,ne=`--removed-body-scroll-bar-size`;function M(e,t){return typeof e==`function`?e(t):e&&(e.current=t),e}function re(e,t){var n=(0,o.useState)(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(e){var t=n.value;t!==e&&(n.value=e,n.callback(e,t))}}}})[0];return n.callback=t,n.facade}var ie=typeof window<`u`?o.useLayoutEffect:o.useEffect,N=new WeakMap;function ae(e,t){var n=re(t||null,function(t){return e.forEach(function(e){return M(e,t)})});return ie(function(){var t=N.get(n);if(t){var r=new Set(t),i=new Set(e),a=n.current;r.forEach(function(e){i.has(e)||M(e,null)}),i.forEach(function(e){r.has(e)||M(e,a)})}N.set(n,e)},[e]),n}function oe(e){return e}function se(e,t){t===void 0&&(t=oe);var n=[],r=!1;return{read:function(){if(r)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(e){var i=t(e,r);return n.push(i),function(){n=n.filter(function(e){return e!==i})}},assignSyncMedium:function(e){for(r=!0;n.length;){var t=n;n=[],t.forEach(e)}n={push:function(t){return e(t)},filter:function(){return n}}},assignMedium:function(e){r=!0;var t=[];if(n.length){var i=n;n=[],i.forEach(e),t=n}var a=function(){var n=t;t=[],n.forEach(e)},o=function(){return Promise.resolve().then(a)};o(),n={push:function(e){t.push(e),o()},filter:function(e){return t=t.filter(e),n}}}}}function ce(e){e===void 0&&(e={});var t=se(null);return t.options=O({async:!0,ssr:!1},e),t}var le=function(e){var t=e.sideCar,n=k(e,[`sideCar`]);if(!t)throw Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw Error(`Sidecar medium not found`);return o.createElement(r,O({},n))};le.isSideCarExport=!0;function ue(e,t){return e.useMedium(t),le}var de=ce(),P=function(){},F=o.forwardRef(function(e,t){var n=o.useRef(null),r=o.useState({onScrollCapture:P,onWheelCapture:P,onTouchMoveCapture:P}),i=r[0],a=r[1],s=e.forwardProps,c=e.children,l=e.className,u=e.removeScrollBar,d=e.enabled,f=e.shards,p=e.sideCar,m=e.noRelative,h=e.noIsolation,g=e.inert,_=e.allowPinchZoom,v=e.as,y=v===void 0?`div`:v,b=e.gapMode,x=k(e,[`forwardProps`,`children`,`className`,`removeScrollBar`,`enabled`,`shards`,`sideCar`,`noRelative`,`noIsolation`,`inert`,`allowPinchZoom`,`as`,`gapMode`]),S=p,C=ae([n,t]),w=O(O({},x),i);return o.createElement(o.Fragment,null,d&&o.createElement(S,{sideCar:de,removeScrollBar:u,shards:f,noRelative:m,noIsolation:h,inert:g,setCallbacks:a,allowPinchZoom:!!_,lockRef:n,gapMode:b}),s?o.cloneElement(o.Children.only(c),O(O({},w),{ref:C})):o.createElement(y,O({},w,{className:l,ref:C}),c))});F.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},F.classNames={fullWidth:j,zeroRight:A};var I,fe=function(){if(I)return I;if(typeof __webpack_nonce__<`u`)return __webpack_nonce__};function pe(){if(!document)return null;var e=document.createElement(`style`);e.type=`text/css`;var t=fe();return t&&e.setAttribute(`nonce`,t),e}function me(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function he(e){(document.head||document.getElementsByTagName(`head`)[0]).appendChild(e)}var ge=function(){var e=0,t=null;return{add:function(n){e==0&&(t=pe())&&(me(t,n),he(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},_e=function(){var e=ge();return function(t,n){o.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},L=function(){var e=_e();return function(t){var n=t.styles,r=t.dynamic;return e(n,r),null}},ve={left:0,top:0,right:0,gap:0},R=function(e){return parseInt(e||``,10)||0},ye=function(e){var t=window.getComputedStyle(document.body),n=t[e===`padding`?`paddingLeft`:`marginLeft`],r=t[e===`padding`?`paddingTop`:`marginTop`],i=t[e===`padding`?`paddingRight`:`marginRight`];return[R(n),R(r),R(i)]},be=function(e){if(e===void 0&&(e=`margin`),typeof window>`u`)return ve;var t=ye(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},xe=L(),z=`data-scroll-locked`,Se=function(e,t,n,r){var i=e.left,a=e.top,o=e.right,s=e.gap;return n===void 0&&(n=`margin`),`
|
|
2
2
|
.${te} {
|
|
3
3
|
overflow: hidden ${r};
|
|
4
4
|
padding-right: ${s}px ${r};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"./chunk-KEIR6QF5-CFEoHvxJ.js";import{n as e}from"./chunk-5JV3BV7I-B4O-mi81.js";export{e as createEventModelingServices};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as e}from"./createLucideIcon-
|
|
1
|
+
import{t as e}from"./createLucideIcon-BUb14crZ.js";var t=e(`eye`,[[`path`,{d:`M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0`,key:`1nclc0`}],[`circle`,{cx:`12`,cy:`12`,r:`3`,key:`1v7zrd`}]]);export{t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{Ta as e,wa as t}from"./dist-
|
|
1
|
+
import{Ta as e,wa as t}from"./dist-C6nSogV9.js";import{t as n}from"./file-tree-rename-validation-DMHa94fr.js";import{b as r,i,x as a,y as o}from"./navigation-targets-DxoCd6kX.js";import{c as s,o as c,s as l}from"./doc-hash-eIVtLs9w.js";var u=`application/x-open-knowledge-sidebar-item+json`,d={image:!0,video:!0,audio:!0,pdf:!0,text:!0,mermaid:!0};function f(e){return JSON.stringify(e)}function p(e){return e.kind===`folder`?{target:{kind:`folder`,target:e.folderPath,folderPath:e.folderPath},hash:s(e.folderPath)}:e.kind===`asset`?{target:{kind:`asset`,target:e.assetPath,assetPath:e.assetPath,mediaKind:e.mediaKind},hash:c(e.assetPath)}:{target:i(e.docName,e.size)??{kind:`doc`,target:e.docName,docName:e.docName},hash:l(e.docName)}}function m(e){if(!e||!Array.from(e.types).includes(`application/x-open-knowledge-sidebar-item+json`))return null;let t=e.getData(u);if(!t)return null;let n;try{n=JSON.parse(t)}catch{return null}if(!h(n)||n.v!==1||typeof n.kind!=`string`)return null;if(n.kind===`doc`){if(typeof n.docName!=`string`||n.docName.length===0)return null;let e=n.size;return e!==null&&typeof e!=`number`?null:{v:1,kind:`doc`,docName:n.docName,size:e}}if(n.kind===`folder`)return typeof n.folderPath==`string`?{v:1,kind:`folder`,folderPath:n.folderPath}:null;if(n.kind===`asset`){if(typeof n.assetPath!=`string`||n.assetPath.length===0)return null;let e=n.mediaKind;return e!==null&&!g(e)?null:{v:1,kind:`asset`,assetPath:n.assetPath,mediaKind:e}}return null}function h(e){return typeof e==`object`&&!!e&&!Array.isArray(e)}function g(e){return typeof e==`string`&&Object.hasOwn(d,e)}var _=`.md`,v=/\.(md|mdx)$/i;function y(e,n=_){return v.test(e)||t(e)?e:`${e}${n}`}function b(e){return Y(e).replace(v,``)}function x(e,t){let n=Y(e),i=t.find(e=>r(e)&&S(e)===n);if(i)return i.docName;let a=b(n);return t.find(e=>{let t=S(e);return t!==n&&v.test(t)&&b(t)===a})&&v.test(n)?n:a}function S(e){return a(e)?T(e.path):o(e)?e.path:y(e.docName,e.docExt)}function C(e){let t=Y(e).match(v);return t?`.${t[1].toLowerCase()}`:void 0}function w(e){return Y(e)}function T(e){let t=Y(e.trim());return t?`${t}/`:``}function E(e){return e.endsWith(`/`)?w(e):b(e)}function D(e){return e.map(S)}function O(e){return[...e].sort().join(`\0`)}function k(e){return O(D(e))}function A(e,t={}){let n=new Set;for(let r of e){let e=(a(r)||o(r)?r.path:r.docName).split(`/`).filter(Boolean);if(!t.includeOkFolders&&e.includes(`.ok`))continue;if(a(r)){let e=T(r.path);e&&n.add(e)}let i=a(r)?e.length:e.length-1;for(let t=1;t<=i;t++)n.add(`${e.slice(0,t).join(`/`)}/`)}return[...n].sort()}function j(e){if(!e)return[];let t=Y(e.replace(v,``)).split(`/`).filter(Boolean),n=[],r=e.endsWith(`/`)?t.length:t.length-1;for(let e=1;e<=r;e++)n.push(`${t.slice(0,e).join(`/`)}/`);return n}function M(e,t,n){let i=C(e);if(i)return i;let a=n.find(e=>r(e)&&e.docName===t);return a?a.docExt??_:J(e).includes(`.`)?void 0:_}function N(e,t){let n=e.lastIndexOf(`/`),r=n===-1?``:e.slice(0,n+1),i=n===-1?e:e.slice(n+1),a=t.filter(e=>{if(!o(e)||!e.path.startsWith(r))return!1;let t=e.path.slice(r.length);return!t.includes(`/`)&&t.startsWith(`${i}.`)});return a.length===1?a[0].path:null}function P(e,t,n){if(C(e))return null;let r=n.find(e=>o(e)&&e.path===t);return r?r.path:J(e).includes(`.`)?t:N(t,n)}function F(e,t){let n=e.kind===`directory`,r=n?w(e.path):x(e.path,t);if(n)return{kind:`folder`,name:Y(J(e.path)).replace(v,``),path:r,treePath:L(e.path,!0)};let i=P(e.path,r,t);if(i)return{kind:`asset`,name:Y(J(i)),path:i,treePath:i};let a=M(e.path,r,t);return{kind:`file`,name:Y(J(e.path)).replace(v,``),path:r,treePath:L(e.path,!1),docExt:a}}function I(e){return e.kind===`directory`?w(e.path):e.path}function L(e,t){return t?T(e):v.test(e)?e:`${e}${_}`}function R(e,t,n){let r=T(t),i=new Set(n);for(let t=0;t<100;t++){let n=t===0?``:` ${t+1}`;if(e===`file`){let e=`${r}Untitled${n}${_}`;if(!i.has(e))return{addPath:e,renamePath:e};continue}let a=`${r}New Folder${n}/`;if(!i.has(a))return{addPath:a,renamePath:a}}throw Error(`Could not allocate a unique tree placeholder`)}function z(e,t){return e===`file`?L(t,!1):`${w(t)}/index${_}`}function B(e,t){return t.kind===`root`||t.directoryPath==null?J(e):`${t.directoryPath}${J(e)}`}function V(e,t){if(t)return w(T(e));let n=b(e),r=n.lastIndexOf(`/`);return r===-1?``:n.slice(0,r)}function H(e,t){let n=w(T(e));return n?`${n}/${t}`:t}function U(e,t,n){e.append(`parentDocName`,H(t,n)),e.append(`placement`,`parent-dir`)}function W(e,t){return(t.path??H(e,t.src)).replace(/^\/+/,``)}function G(e){let t=e.dataTransfer?.types;if(!t)return!1;let n=Array.from(t);return n.includes(`Files`)&&!n.includes(`application/x-open-knowledge-sidebar-item+json`)}function K(e){return Array.from(e.dataTransfer?.files??[]).filter(e=>e.name.length>0||e.size>0)}function q(t,r){let i=n(t).toLowerCase();if(i===``)return null;let a=new Date().toISOString();if(i===`.md`||i===`.mdx`)return{kind:`document`,docName:b(t),docExt:i,modified:a,size:r.size};let o=i.startsWith(`.`)?i.slice(1):i;return{kind:`asset`,path:t,assetExt:o,mediaKind:e(o),modified:a,size:r.size}}function J(e){let t=Y(e),n=t.lastIndexOf(`/`),r=n===-1?t:t.slice(n+1);return e.endsWith(`/`)?`${r}/`:r}function Y(e){return e.endsWith(`/`)?e.slice(0,-1):e}export{O as C,p as D,u as E,m as O,F as S,W as T,I as _,z as a,b,D as c,S as d,K as f,V as g,L as h,B as i,f as k,k as l,G as m,A as n,R as o,T as p,j as r,y as s,U as t,q as u,N as v,E as w,x,w as y};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"./src-BlkIpXCO.js";import"./chunk-WYO6CB5R-DyzfGKK0.js";import"./chunk-ICXQ74PX-BF1AraUQ.js";import"./chunk-HOUHSVGY-F4yPi64m.js";import"./chunk-Q4XR5HBZ--lNMVAiV.js";import"./chunk-7BUUIJ7U-D6E7ODqO.js";import"./chunk-OGEWGWER-D_9VshMV.js";import"./chunk-32BRIVSS-DAp6JEen.js";import"./chunk-XXDRQBXY-D5Z2YAqk.js";import"./chunk-VR4S4FIN-DRClO3Vp.js";import"./chunk-C7G6YPKG-DyJUpciK.js";import"./chunk-ZGVPDNZ5-B4UAL6rf.js";import"./chunk-52WLFC77-DOJ_zrKl.js";import"./chunk-FWX5IMBZ-DRwSfJSX.js";import"./chunk-ZIRB5QZD-BSn4ei2K.js";import{n as e}from"./chunk-PUDLZKDR-D_qil-uw.js";export{e as diagram};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as e}from"./createLucideIcon-
|
|
1
|
+
import{t as e}from"./createLucideIcon-BUb14crZ.js";var t=e(`folder-open`,[[`path`,{d:`m6 14 1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2`,key:`usdka0`}]]);export{t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as e}from"./createLucideIcon-
|
|
1
|
+
import{t as e}from"./createLucideIcon-BUb14crZ.js";var t=e(`square-pen`,[[`path`,{d:`M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7`,key:`1m0v6g`}],[`path`,{d:`M18.375 2.625a1 1 0 0 1 3 3l-9.013 9.014a2 2 0 0 1-.853.505l-2.873.84a.5.5 0 0 1-.62-.62l.84-2.873a2 2 0 0 1 .506-.852z`,key:`ohrbg2`}]]),n=`button, a[href], [role="menuitem"], [role="button"], input, textarea, select, [contenteditable="true"]`;function r(e,t){!(e.target instanceof HTMLElement)||e.target.closest(n)||(e.preventDefault(),t.current?.focus())}var i=`ok-acp-follow-file-v1`;function a(){try{return localStorage.getItem(i)!==`0`}catch{return!0}}function o(e){try{localStorage.setItem(i,e?`1`:`0`)}catch{}}function s(e){return e===``||e.startsWith(`/`)||e.startsWith(`\\`)||e.split(`/`).some(e=>e===``||e.startsWith(`.`))?null:e}function c(e,t){let n=t.pathSeparator,r=e=>n===`\\`?e.replaceAll(`\\`,`/`):e,i=r(t.contentDir).replace(/\/$/,``),a=r(e);if(!a.startsWith(`${i}/`))return null;let o=a.slice(i.length+1),c=/\.(md|mdx)$/.exec(o);return c===null?null:s(o.slice(0,-c[0].length))}function l(e,t){let n=e[t];return typeof n==`string`&&n!==``?n:null}var u=new Set([`cat`,`ls`,`grep`,`rg`,`find`,`head`,`tail`,`wc`,`sort`,`uniq`,`cut`,`sed`,`awk`,`bat`,`less`,`more`]);function d(e,t){let n=[],r=/"([^"]*)"|'([^']*)'|(\S+)/g,i=r.exec(e);for(;i!==null;)n.push(i[1]??i[2]??i[3]??``),i=r.exec(e);let a=n[0];if(a===void 0||!u.has(a))return null;for(let e of n.slice(1)){if(e.startsWith(`-`)||/[*?[\]]/.test(e))continue;let n=/\.(md|mdx)$/i.exec(e);if(n===null)continue;if(e.startsWith(`/`)||/^[A-Za-z]:[\\/]/.test(e)){if(t!==null){let n=c(e,t);if(n!==null)return n}continue}let r=s(e.replace(/^\.\//,``).slice(0,-n[0].length));if(r!==null)return r}return null}function f(e){if(typeof e!=`object`||!e)return null;let t=e,n=l(t,`tool`)??l(t,`name`),r=t;if(typeof t.arguments==`object`&&t.arguments!==null)r=t.arguments;else if(typeof t.arguments==`string`)try{let e=JSON.parse(t.arguments);typeof e==`object`&&e&&(r=e)}catch{}return{tool:n,args:r}}function p(e,t,n,r){let i=f(e);if(i===null)return null;let{tool:a,args:o}=i;if(a===`delete`||a===null&&/\bdelete\b/i.test(t))return null;let c=typeof o.document==`object`&&o.document!==null?o.document:null,u=null;if(Array.isArray(o.documents))for(let e=o.documents.length-1;e>=0;e--){let t=o.documents[e];if(typeof t==`object`&&t){u=t;break}}let p=(c===null?null:l(c,`path`))??(u===null?null:l(u,`path`))??l(o,`to`)??l(o,`docName`);if(p!==null)return s(p.replace(/\.(md|mdx)$/,``));let m=l(o,`command`);if(m!==null){let e=d(m,n);return e!==null&&r.commandTargetExists!==void 0&&!r.commandTargetExists(e)?null:e}return null}function m(e,t,n={}){if(e.toolKind===`delete`)return null;let r=p(e.rawInput,e.title,t,n);if(r!==null)return r;if(t===null)return null;for(let n=e.locations.length-1;n>=0;n--){let r=e.locations[n];if(r===void 0)continue;let i=c(r.path,t);if(i!==null)return i}return null}function h(e,t,n={}){let r=null;for(let i of e){if(i.kind!==`tool_call`)continue;let e=m(i,t,n);e!==null&&(r=e)}return r}export{r as a,o as i,a as n,t as o,s as r,h as t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{i as e}from"./chunk-DseTPa7n.js";import{t}from"./jsx-runtime-DyiINK0N.js";import{t as n}from"./react-JNybMug3.js";import{t as r}from"./compiler-runtime-dQcBxOhn.js";import{n as i,s as a}from"./createLucideIcon-BUb14crZ.js";import{t as o}from"./label-bn6BDr7p.js";import{c as s,n as c,s as l,t as u}from"./index.esm-DRU91WyY.js";var d=r(),f=e(n(),1),p=t(),m=c,h=f.createContext({}),g=e=>{let t=(0,d.c)(9),n;t[0]===e?n=t[1]:({...n}=e,t[0]=e,t[1]=n);let r;t[2]===n.name?r=t[3]:(r={name:n.name},t[2]=n.name,t[3]=r);let i;t[4]===n?i=t[5]:(i=(0,p.jsx)(u,{...n}),t[4]=n,t[5]=i);let a;return t[6]!==r||t[7]!==i?(a=(0,p.jsx)(h.Provider,{value:r,children:i}),t[6]=r,t[7]=i,t[8]=a):a=t[8],a},_=()=>{let e=(0,d.c)(13),t=f.use(h),n=f.use(v),{getFieldState:r}=l(),i;e[0]===t.name?i=e[1]:(i={name:t.name},e[0]=t.name,e[1]=i);let a=s(i),o;e[2]!==t.name||e[3]!==a||e[4]!==r?(o=r(t.name,a),e[2]=t.name,e[3]=a,e[4]=r,e[5]=o):o=e[5];let c=o;if(!t)throw Error(`useFormField should be used within <FormField>`);let{id:u}=n,p=`${u}-form-item`,m=`${u}-form-item-description`,g=`${u}-form-item-message`,_;return e[6]!==t.name||e[7]!==c||e[8]!==u||e[9]!==p||e[10]!==m||e[11]!==g?(_={id:u,name:t.name,formItemId:p,formDescriptionId:m,formMessageId:g,...c},e[6]=t.name,e[7]=c,e[8]=u,e[9]=p,e[10]=m,e[11]=g,e[12]=_):_=e[12],_},v=f.createContext({});function y(e){let t=(0,d.c)(13),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i=f.useId(),o;t[3]===i?o=t[4]:(o={id:i},t[3]=i,t[4]=o);let s;t[5]===n?s=t[6]:(s=a(`grid gap-2`,n),t[5]=n,t[6]=s);let c;t[7]!==r||t[8]!==s?(c=(0,p.jsx)(`div`,{"data-slot":`form-item`,className:s,...r}),t[7]=r,t[8]=s,t[9]=c):c=t[9];let l;return t[10]!==o||t[11]!==c?(l=(0,p.jsx)(v.Provider,{value:o,children:c}),t[10]=o,t[11]=c,t[12]=l):l=t[12],l}function b(e){let t=(0,d.c)(10),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let{error:i,formItemId:s}=_(),c=!!i,l;t[3]===n?l=t[4]:(l=a(`data-[error=true]:text-destructive`,n),t[3]=n,t[4]=l);let u;return t[5]!==s||t[6]!==r||t[7]!==c||t[8]!==l?(u=(0,p.jsx)(o,{"data-slot":`form-label`,"data-error":c,className:l,htmlFor:s,...r}),t[5]=s,t[6]=r,t[7]=c,t[8]=l,t[9]=u):u=t[9],u}function x(e){let t=(0,d.c)(7),n;t[0]===e?n=t[1]:({...n}=e,t[0]=e,t[1]=n);let{error:r,formItemId:a,formDescriptionId:o,formMessageId:s}=_(),c=r?`${o} ${s}`:`${o}`,l=!!r,u;return t[2]!==a||t[3]!==n||t[4]!==c||t[5]!==l?(u=(0,p.jsx)(i,{"data-slot":`form-control`,id:a,"aria-describedby":c,"aria-invalid":l,...n}),t[2]=a,t[3]=n,t[4]=c,t[5]=l,t[6]=u):u=t[6],u}function S(e){let t=(0,d.c)(9),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let{formDescriptionId:i}=_(),o;t[3]===n?o=t[4]:(o=a(`text-1sm text-muted-foreground`,n),t[3]=n,t[4]=o);let s;return t[5]!==i||t[6]!==r||t[7]!==o?(s=(0,p.jsx)(`p`,{"data-slot":`form-description`,id:i,className:o,...r}),t[5]=i,t[6]=r,t[7]=o,t[8]=s):s=t[8],s}function C(e){let t=(0,d.c)(11),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let{error:i,formMessageId:o}=_(),s=i?String(i?.message??``):r.children;if(!s)return null;let c=i?`alert`:void 0,l;t[3]===n?l=t[4]:(l=a(`text-sm text-destructive`,n),t[3]=n,t[4]=l);let u;return t[5]!==s||t[6]!==o||t[7]!==r||t[8]!==c||t[9]!==l?(u=(0,p.jsx)(`p`,{"data-slot":`form-message`,id:o,role:c,className:l,...r,children:s}),t[5]=s,t[6]=o,t[7]=r,t[8]=c,t[9]=l,t[10]=u):u=t[10],u}export{y as a,g as i,x as n,b as o,S as r,C as s,m as t};
|
package/dist/public/assets/{ganttDiagram-NO4QXBWP-Z6zeNWv4.js → ganttDiagram-NO4QXBWP-sqpYy8P9.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{i as e,t}from"./chunk-DseTPa7n.js";import{n}from"./chunk-Y2CYZVJY-CdjK8XQ9.js";import{r,t as i}from"./src-CqbXKF1x.js";import{H as a,K as o,U as s,a as c,c as l,s as u,v as d,w as f,x as p,y as m}from"./chunk-WYO6CB5R-xIUZBSf_.js";import{a as h,i as g,n as _,r as v,t as y}from"./linear-CmZ4evs2.js";import{n as b,t as x}from"./min-CcurEWmb.js";import{C as S,c as C,d as w,h as T,m as E,p as D,s as O,u as k}from"./src-DKi9i97E.js";import{t as A}from"./init-BxsvY7Hg.js";import{t as j}from"./dist-CuPBmG_K.js";import{g as ee}from"./chunk-ICXQ74PX-BpNEoAVh.js";function te(e){return e}var M=1,ne=2,re=3,ie=4,ae=1e-6;function oe(e){return`translate(`+e+`,0)`}function se(e){return`translate(0,`+e+`)`}function ce(e){return t=>+e(t)}function le(e,t){return t=Math.max(0,e.bandwidth()-t*2)/2,e.round()&&(t=Math.round(t)),n=>+e(n)+t}function ue(){return!this.__axis}function de(e,t){var n=[],r=null,i=null,a=6,o=6,s=3,c=typeof window<`u`&&window.devicePixelRatio>1?0:.5,l=e===M||e===ie?-1:1,u=e===ie||e===ne?`x`:`y`,d=e===M||e===re?oe:se;function f(f){var p=r??(t.ticks?t.ticks.apply(t,n):t.domain()),m=i??(t.tickFormat?t.tickFormat.apply(t,n):te),h=Math.max(a,0)+s,g=t.range(),_=+g[0]+c,v=+g[g.length-1]+c,y=(t.bandwidth?le:ce)(t.copy(),c),b=f.selection?f.selection():f,x=b.selectAll(`.domain`).data([null]),S=b.selectAll(`.tick`).data(p,t).order(),C=S.exit(),w=S.enter().append(`g`).attr(`class`,`tick`),T=S.select(`line`),E=S.select(`text`);x=x.merge(x.enter().insert(`path`,`.tick`).attr(`class`,`domain`).attr(`stroke`,`currentColor`)),S=S.merge(w),T=T.merge(w.append(`line`).attr(`stroke`,`currentColor`).attr(u+`2`,l*a)),E=E.merge(w.append(`text`).attr(`fill`,`currentColor`).attr(u,l*h).attr(`dy`,e===M?`0em`:e===re?`0.71em`:`0.32em`)),f!==b&&(x=x.transition(f),S=S.transition(f),T=T.transition(f),E=E.transition(f),C=C.transition(f).attr(`opacity`,ae).attr(`transform`,function(e){return isFinite(e=y(e))?d(e+c):this.getAttribute(`transform`)}),w.attr(`opacity`,ae).attr(`transform`,function(e){var t=this.parentNode.__axis;return d((t&&isFinite(t=t(e))?t:y(e))+c)})),C.remove(),x.attr(`d`,e===ie||e===ne?o?`M`+l*o+`,`+_+`H`+c+`V`+v+`H`+l*o:`M`+c+`,`+_+`V`+v:o?`M`+_+`,`+l*o+`V`+c+`H`+v+`V`+l*o:`M`+_+`,`+c+`H`+v),S.attr(`opacity`,1).attr(`transform`,function(e){return d(y(e)+c)}),T.attr(u+`2`,l*a),E.attr(u,l*h).text(m),b.filter(ue).attr(`fill`,`none`).attr(`font-size`,10).attr(`font-family`,`sans-serif`).attr(`text-anchor`,e===ne?`start`:e===ie?`end`:`middle`),b.each(function(){this.__axis=y})}return f.scale=function(e){return arguments.length?(t=e,f):t},f.ticks=function(){return n=Array.from(arguments),f},f.tickArguments=function(e){return arguments.length?(n=e==null?[]:Array.from(e),f):n.slice()},f.tickValues=function(e){return arguments.length?(r=e==null?null:Array.from(e),f):r&&r.slice()},f.tickFormat=function(e){return arguments.length?(i=e,f):i},f.tickSize=function(e){return arguments.length?(a=o=+e,f):a},f.tickSizeInner=function(e){return arguments.length?(a=+e,f):a},f.tickSizeOuter=function(e){return arguments.length?(o=+e,f):o},f.tickPadding=function(e){return arguments.length?(s=+e,f):s},f.offset=function(e){return arguments.length?(c=+e,f):c},f}function fe(e){return de(M,e)}function pe(e){return de(re,e)}var me=Math.PI/180,he=180/Math.PI,ge=18,_e=.96422,ve=1,ye=.82521,be=4/29,xe=6/29,Se=3*xe*xe,Ce=xe*xe*xe;function we(e){if(e instanceof N)return new N(e.l,e.a,e.b,e.opacity);if(e instanceof P)return Me(e);e instanceof w||(e=D(e));var t=ke(e.r),n=ke(e.g),r=ke(e.b),i=Ee((.2225045*t+.7168786*n+.0606169*r)/ve),a,o;return t===n&&n===r?a=o=i:(a=Ee((.4360747*t+.3850649*n+.1430804*r)/_e),o=Ee((.0139322*t+.0971045*n+.7141733*r)/ye)),new N(116*i-16,500*(a-i),200*(i-o),e.opacity)}function Te(e,t,n,r){return arguments.length===1?we(e):new N(e,t,n,r??1)}function N(e,t,n,r){this.l=+e,this.a=+t,this.b=+n,this.opacity=+r}E(N,Te,T(k,{brighter(e){return new N(this.l+ge*(e??1),this.a,this.b,this.opacity)},darker(e){return new N(this.l-ge*(e??1),this.a,this.b,this.opacity)},rgb(){var e=(this.l+16)/116,t=isNaN(this.a)?e:e+this.a/500,n=isNaN(this.b)?e:e-this.b/200;return t=_e*De(t),e=ve*De(e),n=ye*De(n),new w(Oe(3.1338561*t-1.6168667*e-.4906146*n),Oe(-.9787684*t+1.9161415*e+.033454*n),Oe(.0719453*t-.2289914*e+1.4052427*n),this.opacity)}}));function Ee(e){return e>Ce?e**(1/3):e/Se+be}function De(e){return e>xe?e*e*e:Se*(e-be)}function Oe(e){return 255*(e<=.0031308?12.92*e:1.055*e**(1/2.4)-.055)}function ke(e){return(e/=255)<=.04045?e/12.92:((e+.055)/1.055)**2.4}function Ae(e){if(e instanceof P)return new P(e.h,e.c,e.l,e.opacity);if(e instanceof N||(e=we(e)),e.a===0&&e.b===0)return new P(NaN,0<e.l&&e.l<100?0:NaN,e.l,e.opacity);var t=Math.atan2(e.b,e.a)*he;return new P(t<0?t+360:t,Math.sqrt(e.a*e.a+e.b*e.b),e.l,e.opacity)}function je(e,t,n,r){return arguments.length===1?Ae(e):new P(e,t,n,r??1)}function P(e,t,n,r){this.h=+e,this.c=+t,this.l=+n,this.opacity=+r}function Me(e){if(isNaN(e.h))return new N(e.l,0,0,e.opacity);var t=e.h*me;return new N(e.l,Math.cos(t)*e.c,Math.sin(t)*e.c,e.opacity)}E(P,je,T(k,{brighter(e){return new P(this.h,this.c,this.l+ge*(e??1),this.opacity)},darker(e){return new P(this.h,this.c,this.l-ge*(e??1),this.opacity)},rgb(){return Me(this).rgb()}}));function Ne(e){return function(t,n){var r=e((t=je(t)).h,(n=je(n)).h),i=C(t.c,n.c),a=C(t.l,n.l),o=C(t.opacity,n.opacity);return function(e){return t.h=r(e),t.c=i(e),t.l=a(e),t.opacity=o(e),t+``}}}var Pe=Ne(O);function Fe(e,t){e=e.slice();var n=0,r=e.length-1,i=e[n],a=e[r],o;return a<i&&(o=n,n=r,r=o,o=i,i=a,a=o),e[n]=t.floor(i),e[r]=t.ceil(a),e}var Ie=new Date,Le=new Date;function F(e,t,n,r){function i(t){return e(t=arguments.length===0?new Date:new Date(+t)),t}return i.floor=t=>(e(t=new Date(+t)),t),i.ceil=n=>(e(n=new Date(n-1)),t(n,1),e(n),n),i.round=e=>{let t=i(e),n=i.ceil(e);return e-t<n-e?t:n},i.offset=(e,n)=>(t(e=new Date(+e),n==null?1:Math.floor(n)),e),i.range=(n,r,a)=>{let o=[];if(n=i.ceil(n),a=a==null?1:Math.floor(a),!(n<r)||!(a>0))return o;let s;do o.push(s=new Date(+n)),t(n,a),e(n);while(s<n&&n<r);return o},i.filter=n=>F(t=>{if(t>=t)for(;e(t),!n(t);)t.setTime(t-1)},(e,r)=>{if(e>=e)if(r<0)for(;++r<=0;)for(;t(e,-1),!n(e););else for(;--r>=0;)for(;t(e,1),!n(e););}),n&&(i.count=(t,r)=>(Ie.setTime(+t),Le.setTime(+r),e(Ie),e(Le),Math.floor(n(Ie,Le))),i.every=e=>(e=Math.floor(e),!isFinite(e)||!(e>0)?null:e>1?i.filter(r?t=>r(t)%e===0:t=>i.count(0,t)%e===0):i)),i}var Re=F(()=>{},(e,t)=>{e.setTime(+e+t)},(e,t)=>t-e);Re.every=e=>(e=Math.floor(e),!isFinite(e)||!(e>0)?null:e>1?F(t=>{t.setTime(Math.floor(t/e)*e)},(t,n)=>{t.setTime(+t+n*e)},(t,n)=>(n-t)/e):Re),Re.range;var I=1e3,L=I*60,R=L*60,z=R*24,ze=z*7,Be=z*30,Ve=z*365,B=F(e=>{e.setTime(e-e.getMilliseconds())},(e,t)=>{e.setTime(+e+t*I)},(e,t)=>(t-e)/I,e=>e.getUTCSeconds());B.range;var He=F(e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*I)},(e,t)=>{e.setTime(+e+t*L)},(e,t)=>(t-e)/L,e=>e.getMinutes());He.range;var Ue=F(e=>{e.setUTCSeconds(0,0)},(e,t)=>{e.setTime(+e+t*L)},(e,t)=>(t-e)/L,e=>e.getUTCMinutes());Ue.range;var We=F(e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*I-e.getMinutes()*L)},(e,t)=>{e.setTime(+e+t*R)},(e,t)=>(t-e)/R,e=>e.getHours());We.range;var Ge=F(e=>{e.setUTCMinutes(0,0,0)},(e,t)=>{e.setTime(+e+t*R)},(e,t)=>(t-e)/R,e=>e.getUTCHours());Ge.range;var V=F(e=>e.setHours(0,0,0,0),(e,t)=>e.setDate(e.getDate()+t),(e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*L)/z,e=>e.getDate()-1);V.range;var Ke=F(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/z,e=>e.getUTCDate()-1);Ke.range;var qe=F(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/z,e=>Math.floor(e/z));qe.range;function H(e){return F(t=>{t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)},(e,t)=>{e.setDate(e.getDate()+t*7)},(e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*L)/ze)}var Je=H(0),Ye=H(1),Xe=H(2),Ze=H(3),U=H(4),Qe=H(5),$e=H(6);Je.range,Ye.range,Xe.range,Ze.range,U.range,Qe.range,$e.range;function W(e){return F(t=>{t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t*7)},(e,t)=>(t-e)/ze)}var et=W(0),tt=W(1),nt=W(2),rt=W(3),it=W(4),at=W(5),ot=W(6);et.range,tt.range,nt.range,rt.range,it.range,at.range,ot.range;var st=F(e=>{e.setDate(1),e.setHours(0,0,0,0)},(e,t)=>{e.setMonth(e.getMonth()+t)},(e,t)=>t.getMonth()-e.getMonth()+(t.getFullYear()-e.getFullYear())*12,e=>e.getMonth());st.range;var ct=F(e=>{e.setUTCDate(1),e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCMonth(e.getUTCMonth()+t)},(e,t)=>t.getUTCMonth()-e.getUTCMonth()+(t.getUTCFullYear()-e.getUTCFullYear())*12,e=>e.getUTCMonth());ct.range;var G=F(e=>{e.setMonth(0,1),e.setHours(0,0,0,0)},(e,t)=>{e.setFullYear(e.getFullYear()+t)},(e,t)=>t.getFullYear()-e.getFullYear(),e=>e.getFullYear());G.every=e=>!isFinite(e=Math.floor(e))||!(e>0)?null:F(t=>{t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)},(t,n)=>{t.setFullYear(t.getFullYear()+n*e)}),G.range;var K=F(e=>{e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCFullYear(e.getUTCFullYear()+t)},(e,t)=>t.getUTCFullYear()-e.getUTCFullYear(),e=>e.getUTCFullYear());K.every=e=>!isFinite(e=Math.floor(e))||!(e>0)?null:F(t=>{t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},(t,n)=>{t.setUTCFullYear(t.getUTCFullYear()+n*e)}),K.range;function lt(e,t,n,r,i,a){let o=[[B,1,I],[B,5,5*I],[B,15,15*I],[B,30,30*I],[a,1,L],[a,5,5*L],[a,15,15*L],[a,30,30*L],[i,1,R],[i,3,3*R],[i,6,6*R],[i,12,12*R],[r,1,z],[r,2,2*z],[n,1,ze],[t,1,Be],[t,3,3*Be],[e,1,Ve]];function s(e,t,n){let r=t<e;r&&([e,t]=[t,e]);let i=n&&typeof n.range==`function`?n:c(e,t,n),a=i?i.range(e,+t+1):[];return r?a.reverse():a}function c(t,n,r){let i=Math.abs(n-t)/r,a=h(([,,e])=>e).right(o,i);if(a===o.length)return e.every(g(t/Ve,n/Ve,r));if(a===0)return Re.every(Math.max(g(t,n,r),1));let[s,c]=o[i/o[a-1][2]<o[a][2]/i?a-1:a];return s.every(c)}return[s,c]}var[ut,dt]=lt(K,ct,et,qe,Ge,Ue),[ft,pt]=lt(G,st,Je,V,We,He);function mt(e){if(0<=e.y&&e.y<100){var t=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return t.setFullYear(e.y),t}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function ht(e){if(0<=e.y&&e.y<100){var t=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return t.setUTCFullYear(e.y),t}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function gt(e,t,n){return{y:e,m:t,d:n,H:0,M:0,S:0,L:0}}function _t(e){var t=e.dateTime,n=e.date,r=e.time,i=e.periods,a=e.days,o=e.shortDays,s=e.months,c=e.shortMonths,l=St(i),u=Ct(i),d=St(a),f=Ct(a),p=St(o),m=Ct(o),h=St(s),g=Ct(s),_=St(c),v=Ct(c),y={a:te,A:M,b:ne,B:re,c:null,d:Wt,e:Wt,f:Yt,g:sn,G:ln,H:Gt,I:Kt,j:qt,L:Jt,m:Xt,M:Zt,p:ie,q:ae,Q:Mn,s:Nn,S:Qt,u:$t,U:en,V:nn,w:rn,W:an,x:null,X:null,y:on,Y:cn,Z:un,"%":jn},b={a:oe,A:se,b:ce,B:le,c:null,d:dn,e:dn,f:gn,g:Dn,G:kn,H:fn,I:pn,j:mn,L:hn,m:_n,M:vn,p:ue,q:de,Q:Mn,s:Nn,S:yn,u:bn,U:xn,V:Cn,w:wn,W:Tn,x:null,X:null,y:En,Y:On,Z:An,"%":jn},x={a:E,A:D,b:O,B:k,c:A,d:Pt,e:Pt,f:Bt,g:At,G:kt,H:It,I:It,j:Ft,L:zt,m:Nt,M:Lt,p:T,q:Mt,Q:Ht,s:Ut,S:Rt,u:Tt,U:Et,V:Dt,w:wt,W:Ot,x:j,X:ee,y:At,Y:kt,Z:jt,"%":Vt};y.x=S(n,y),y.X=S(r,y),y.c=S(t,y),b.x=S(n,b),b.X=S(r,b),b.c=S(t,b);function S(e,t){return function(n){var r=[],i=-1,a=0,o=e.length,s,c,l;for(n instanceof Date||(n=new Date(+n));++i<o;)e.charCodeAt(i)===37&&(r.push(e.slice(a,i)),(c=vt[s=e.charAt(++i)])==null?c=s===`e`?` `:`0`:s=e.charAt(++i),(l=t[s])&&(s=l(n,c)),r.push(s),a=i+1);return r.push(e.slice(a,i)),r.join(``)}}function C(e,t){return function(n){var r=gt(1900,void 0,1),i=w(r,e,n+=``,0),a,o;if(i!=n.length)return null;if(`Q`in r)return new Date(r.Q);if(`s`in r)return new Date(r.s*1e3+(`L`in r?r.L:0));if(t&&!(`Z`in r)&&(r.Z=0),`p`in r&&(r.H=r.H%12+r.p*12),r.m===void 0&&(r.m=`q`in r?r.q:0),`V`in r){if(r.V<1||r.V>53)return null;`w`in r||(r.w=1),`Z`in r?(a=ht(gt(r.y,0,1)),o=a.getUTCDay(),a=o>4||o===0?tt.ceil(a):tt(a),a=Ke.offset(a,(r.V-1)*7),r.y=a.getUTCFullYear(),r.m=a.getUTCMonth(),r.d=a.getUTCDate()+(r.w+6)%7):(a=mt(gt(r.y,0,1)),o=a.getDay(),a=o>4||o===0?Ye.ceil(a):Ye(a),a=V.offset(a,(r.V-1)*7),r.y=a.getFullYear(),r.m=a.getMonth(),r.d=a.getDate()+(r.w+6)%7)}else (`W`in r||`U`in r)&&(`w`in r||(r.w=`u`in r?r.u%7:+(`W`in r)),o=`Z`in r?ht(gt(r.y,0,1)).getUTCDay():mt(gt(r.y,0,1)).getDay(),r.m=0,r.d=`W`in r?(r.w+6)%7+r.W*7-(o+5)%7:r.w+r.U*7-(o+6)%7);return`Z`in r?(r.H+=r.Z/100|0,r.M+=r.Z%100,ht(r)):mt(r)}}function w(e,t,n,r){for(var i=0,a=t.length,o=n.length,s,c;i<a;){if(r>=o)return-1;if(s=t.charCodeAt(i++),s===37){if(s=t.charAt(i++),c=x[s in vt?t.charAt(i++):s],!c||(r=c(e,n,r))<0)return-1}else if(s!=n.charCodeAt(r++))return-1}return r}function T(e,t,n){var r=l.exec(t.slice(n));return r?(e.p=u.get(r[0].toLowerCase()),n+r[0].length):-1}function E(e,t,n){var r=p.exec(t.slice(n));return r?(e.w=m.get(r[0].toLowerCase()),n+r[0].length):-1}function D(e,t,n){var r=d.exec(t.slice(n));return r?(e.w=f.get(r[0].toLowerCase()),n+r[0].length):-1}function O(e,t,n){var r=_.exec(t.slice(n));return r?(e.m=v.get(r[0].toLowerCase()),n+r[0].length):-1}function k(e,t,n){var r=h.exec(t.slice(n));return r?(e.m=g.get(r[0].toLowerCase()),n+r[0].length):-1}function A(e,n,r){return w(e,t,n,r)}function j(e,t,r){return w(e,n,t,r)}function ee(e,t,n){return w(e,r,t,n)}function te(e){return o[e.getDay()]}function M(e){return a[e.getDay()]}function ne(e){return c[e.getMonth()]}function re(e){return s[e.getMonth()]}function ie(e){return i[+(e.getHours()>=12)]}function ae(e){return 1+~~(e.getMonth()/3)}function oe(e){return o[e.getUTCDay()]}function se(e){return a[e.getUTCDay()]}function ce(e){return c[e.getUTCMonth()]}function le(e){return s[e.getUTCMonth()]}function ue(e){return i[+(e.getUTCHours()>=12)]}function de(e){return 1+~~(e.getUTCMonth()/3)}return{format:function(e){var t=S(e+=``,y);return t.toString=function(){return e},t},parse:function(e){var t=C(e+=``,!1);return t.toString=function(){return e},t},utcFormat:function(e){var t=S(e+=``,b);return t.toString=function(){return e},t},utcParse:function(e){var t=C(e+=``,!0);return t.toString=function(){return e},t}}}var vt={"-":``,_:` `,0:`0`},q=/^\s*\d+/,yt=/^%/,bt=/[\\^$*+?|[\]().{}]/g;function J(e,t,n){var r=e<0?`-`:``,i=(r?-e:e)+``,a=i.length;return r+(a<n?Array(n-a+1).join(t)+i:i)}function xt(e){return e.replace(bt,`\\$&`)}function St(e){return RegExp(`^(?:`+e.map(xt).join(`|`)+`)`,`i`)}function Ct(e){return new Map(e.map((e,t)=>[e.toLowerCase(),t]))}function wt(e,t,n){var r=q.exec(t.slice(n,n+1));return r?(e.w=+r[0],n+r[0].length):-1}function Tt(e,t,n){var r=q.exec(t.slice(n,n+1));return r?(e.u=+r[0],n+r[0].length):-1}function Et(e,t,n){var r=q.exec(t.slice(n,n+2));return r?(e.U=+r[0],n+r[0].length):-1}function Dt(e,t,n){var r=q.exec(t.slice(n,n+2));return r?(e.V=+r[0],n+r[0].length):-1}function Ot(e,t,n){var r=q.exec(t.slice(n,n+2));return r?(e.W=+r[0],n+r[0].length):-1}function kt(e,t,n){var r=q.exec(t.slice(n,n+4));return r?(e.y=+r[0],n+r[0].length):-1}function At(e,t,n){var r=q.exec(t.slice(n,n+2));return r?(e.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function jt(e,t,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(n,n+6));return r?(e.Z=r[1]?0:-(r[2]+(r[3]||`00`)),n+r[0].length):-1}function Mt(e,t,n){var r=q.exec(t.slice(n,n+1));return r?(e.q=r[0]*3-3,n+r[0].length):-1}function Nt(e,t,n){var r=q.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function Pt(e,t,n){var r=q.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function Ft(e,t,n){var r=q.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function It(e,t,n){var r=q.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function Lt(e,t,n){var r=q.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function Rt(e,t,n){var r=q.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function zt(e,t,n){var r=q.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function Bt(e,t,n){var r=q.exec(t.slice(n,n+6));return r?(e.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function Vt(e,t,n){var r=yt.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function Ht(e,t,n){var r=q.exec(t.slice(n));return r?(e.Q=+r[0],n+r[0].length):-1}function Ut(e,t,n){var r=q.exec(t.slice(n));return r?(e.s=+r[0],n+r[0].length):-1}function Wt(e,t){return J(e.getDate(),t,2)}function Gt(e,t){return J(e.getHours(),t,2)}function Kt(e,t){return J(e.getHours()%12||12,t,2)}function qt(e,t){return J(1+V.count(G(e),e),t,3)}function Jt(e,t){return J(e.getMilliseconds(),t,3)}function Yt(e,t){return Jt(e,t)+`000`}function Xt(e,t){return J(e.getMonth()+1,t,2)}function Zt(e,t){return J(e.getMinutes(),t,2)}function Qt(e,t){return J(e.getSeconds(),t,2)}function $t(e){var t=e.getDay();return t===0?7:t}function en(e,t){return J(Je.count(G(e)-1,e),t,2)}function tn(e){var t=e.getDay();return t>=4||t===0?U(e):U.ceil(e)}function nn(e,t){return e=tn(e),J(U.count(G(e),e)+(G(e).getDay()===4),t,2)}function rn(e){return e.getDay()}function an(e,t){return J(Ye.count(G(e)-1,e),t,2)}function on(e,t){return J(e.getFullYear()%100,t,2)}function sn(e,t){return e=tn(e),J(e.getFullYear()%100,t,2)}function cn(e,t){return J(e.getFullYear()%1e4,t,4)}function ln(e,t){var n=e.getDay();return e=n>=4||n===0?U(e):U.ceil(e),J(e.getFullYear()%1e4,t,4)}function un(e){var t=e.getTimezoneOffset();return(t>0?`-`:(t*=-1,`+`))+J(t/60|0,`0`,2)+J(t%60,`0`,2)}function dn(e,t){return J(e.getUTCDate(),t,2)}function fn(e,t){return J(e.getUTCHours(),t,2)}function pn(e,t){return J(e.getUTCHours()%12||12,t,2)}function mn(e,t){return J(1+Ke.count(K(e),e),t,3)}function hn(e,t){return J(e.getUTCMilliseconds(),t,3)}function gn(e,t){return hn(e,t)+`000`}function _n(e,t){return J(e.getUTCMonth()+1,t,2)}function vn(e,t){return J(e.getUTCMinutes(),t,2)}function yn(e,t){return J(e.getUTCSeconds(),t,2)}function bn(e){var t=e.getUTCDay();return t===0?7:t}function xn(e,t){return J(et.count(K(e)-1,e),t,2)}function Sn(e){var t=e.getUTCDay();return t>=4||t===0?it(e):it.ceil(e)}function Cn(e,t){return e=Sn(e),J(it.count(K(e),e)+(K(e).getUTCDay()===4),t,2)}function wn(e){return e.getUTCDay()}function Tn(e,t){return J(tt.count(K(e)-1,e),t,2)}function En(e,t){return J(e.getUTCFullYear()%100,t,2)}function Dn(e,t){return e=Sn(e),J(e.getUTCFullYear()%100,t,2)}function On(e,t){return J(e.getUTCFullYear()%1e4,t,4)}function kn(e,t){var n=e.getUTCDay();return e=n>=4||n===0?it(e):it.ceil(e),J(e.getUTCFullYear()%1e4,t,4)}function An(){return`+0000`}function jn(){return`%`}function Mn(e){return+e}function Nn(e){return Math.floor(e/1e3)}var Pn,Fn;In({dateTime:`%x, %X`,date:`%-m/%-d/%Y`,time:`%-I:%M:%S %p`,periods:[`AM`,`PM`],days:[`Sunday`,`Monday`,`Tuesday`,`Wednesday`,`Thursday`,`Friday`,`Saturday`],shortDays:[`Sun`,`Mon`,`Tue`,`Wed`,`Thu`,`Fri`,`Sat`],months:[`January`,`February`,`March`,`April`,`May`,`June`,`July`,`August`,`September`,`October`,`November`,`December`],shortMonths:[`Jan`,`Feb`,`Mar`,`Apr`,`May`,`Jun`,`Jul`,`Aug`,`Sep`,`Oct`,`Nov`,`Dec`]});function In(e){return Pn=_t(e),Fn=Pn.format,Pn.parse,Pn.utcFormat,Pn.utcParse,Pn}function Ln(e){return new Date(e)}function Rn(e){return e instanceof Date?+e:+new Date(+e)}function zn(e,t,n,r,i,a,o,s,c,l){var u=_(),d=u.invert,f=u.domain,p=l(`.%L`),m=l(`:%S`),h=l(`%I:%M`),g=l(`%I %p`),y=l(`%a %d`),b=l(`%b %d`),x=l(`%B`),S=l(`%Y`);function C(e){return(c(e)<e?p:s(e)<e?m:o(e)<e?h:a(e)<e?g:r(e)<e?i(e)<e?y:b:n(e)<e?x:S)(e)}return u.invert=function(e){return new Date(d(e))},u.domain=function(e){return arguments.length?f(Array.from(e,Rn)):f().map(Ln)},u.ticks=function(t){var n=f();return e(n[0],n[n.length-1],t??10)},u.tickFormat=function(e,t){return t==null?C:l(t)},u.nice=function(e){var n=f();return(!e||typeof e.range!=`function`)&&(e=t(n[0],n[n.length-1],e??10)),e?f(Fe(n,e)):u},u.copy=function(){return v(u,zn(e,t,n,r,i,a,o,s,c,l))},u}function Bn(){return A.apply(zn(ft,pt,G,st,Je,V,We,He,B,Fn).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}var Vn=t(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_plugin_isoWeek=r()})(e,(function(){var e=`day`;return function(t,n,r){var i=function(t){return t.add(4-t.isoWeekday(),e)},a=n.prototype;a.isoWeekYear=function(){return i(this).year()},a.isoWeek=function(t){if(!this.$utils().u(t))return this.add(7*(t-this.isoWeek()),e);var n,a,o,s,c=i(this),l=(n=this.isoWeekYear(),a=this.$u,o=(a?r.utc:r)().year(n).startOf(`year`),s=4-o.isoWeekday(),o.isoWeekday()>4&&(s+=7),o.add(s,e));return c.diff(l,`week`)+1},a.isoWeekday=function(e){return this.$utils().u(e)?this.day()||7:this.day(this.day()%7?e:e-7)};var o=a.startOf;a.startOf=function(e,t){var n=this.$utils(),r=!!n.u(t)||t;return n.p(e)===`isoweek`?r?this.date(this.date()-(this.isoWeekday()-1)).startOf(`day`):this.date(this.date()-1-(this.isoWeekday()-1)+7).endOf(`day`):o.bind(this)(e,t)}}}))})),Hn=t(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_plugin_customParseFormat=r()})(e,(function(){var e={LTS:`h:mm:ss A`,LT:`h:mm A`,L:`MM/DD/YYYY`,LL:`MMMM D, YYYY`,LLL:`MMMM D, YYYY h:mm A`,LLLL:`dddd, MMMM D, YYYY h:mm A`},t=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,n=/\d/,r=/\d\d/,i=/\d\d?/,a=/\d*[^-_:/,()\s\d]+/,o={},s=function(e){return(e=+e)+(e>68?1900:2e3)},c=function(e){return function(t){this[e]=+t}},l=[/[+-]\d\d:?(\d\d)?|Z/,function(e){(this.zone||={}).offset=function(e){if(!e||e===`Z`)return 0;var t=e.match(/([+-]|\d\d)/g),n=60*t[1]+(+t[2]||0);return n===0?0:t[0]===`+`?-n:n}(e)}],u=function(e){var t=o[e];return t&&(t.indexOf?t:t.s.concat(t.f))},d=function(e,t){var n,r=o.meridiem;if(r){for(var i=1;i<=24;i+=1)if(e.indexOf(r(i,0,t))>-1){n=i>12;break}}else n=e===(t?`pm`:`PM`);return n},f={A:[a,function(e){this.afternoon=d(e,!1)}],a:[a,function(e){this.afternoon=d(e,!0)}],Q:[n,function(e){this.month=3*(e-1)+1}],S:[n,function(e){this.milliseconds=100*e}],SS:[r,function(e){this.milliseconds=10*e}],SSS:[/\d{3}/,function(e){this.milliseconds=+e}],s:[i,c(`seconds`)],ss:[i,c(`seconds`)],m:[i,c(`minutes`)],mm:[i,c(`minutes`)],H:[i,c(`hours`)],h:[i,c(`hours`)],HH:[i,c(`hours`)],hh:[i,c(`hours`)],D:[i,c(`day`)],DD:[r,c(`day`)],Do:[a,function(e){var t=o.ordinal;if(this.day=e.match(/\d+/)[0],t)for(var n=1;n<=31;n+=1)t(n).replace(/\[|\]/g,``)===e&&(this.day=n)}],w:[i,c(`week`)],ww:[r,c(`week`)],M:[i,c(`month`)],MM:[r,c(`month`)],MMM:[a,function(e){var t=u(`months`),n=(u(`monthsShort`)||t.map((function(e){return e.slice(0,3)}))).indexOf(e)+1;if(n<1)throw Error();this.month=n%12||n}],MMMM:[a,function(e){var t=u(`months`).indexOf(e)+1;if(t<1)throw Error();this.month=t%12||t}],Y:[/[+-]?\d+/,c(`year`)],YY:[r,function(e){this.year=s(e)}],YYYY:[/\d{4}/,c(`year`)],Z:l,ZZ:l};function p(n){for(var r=n,i=o&&o.formats,a=(n=r.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(t,n,r){var a=r&&r.toUpperCase();return n||i[r]||e[r]||i[a].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(e,t,n){return t||n.slice(1)}))}))).match(t),s=a.length,c=0;c<s;c+=1){var l=a[c],u=f[l],d=u&&u[0],p=u&&u[1];a[c]=p?{regex:d,parser:p}:l.replace(/^\[|\]$/g,``)}return function(e){for(var t={},n=0,r=0;n<s;n+=1){var i=a[n];if(typeof i==`string`)r+=i.length;else{var o=i.regex,c=i.parser,l=e.slice(r),u=o.exec(l)[0];c.call(t,u),e=e.replace(u,``)}}return function(e){var t=e.afternoon;if(t!==void 0){var n=e.hours;t?n<12&&(e.hours+=12):n===12&&(e.hours=0),delete e.afternoon}}(t),t}}return function(e,t,n){n.p.customParseFormat=!0,e&&e.parseTwoDigitYear&&(s=e.parseTwoDigitYear);var r=t.prototype,i=r.parse;r.parse=function(e){var t=e.date,r=e.utc,a=e.args;this.$u=r;var s=a[1];if(typeof s==`string`){var c=!0===a[2],l=!0===a[3],u=c||l,d=a[2];l&&(d=a[2]),o=this.$locale(),!c&&d&&(o=n.Ls[d]),this.$d=function(e,t,n,r){try{if([`x`,`X`].indexOf(t)>-1)return new Date((t===`X`?1e3:1)*e);var i=p(t)(e),a=i.year,o=i.month,s=i.day,c=i.hours,l=i.minutes,u=i.seconds,d=i.milliseconds,f=i.zone,m=i.week,h=new Date,g=s||(a||o?1:h.getDate()),_=a||h.getFullYear(),v=0;a&&!o||(v=o>0?o-1:h.getMonth());var y,b=c||0,x=l||0,S=u||0,C=d||0;return f?new Date(Date.UTC(_,v,g,b,x,S,C+60*f.offset*1e3)):n?new Date(Date.UTC(_,v,g,b,x,S,C)):(y=new Date(_,v,g,b,x,S,C),m&&(y=r(y).week(m).toDate()),y)}catch{return new Date(``)}}(t,s,r,n),this.init(),d&&!0!==d&&(this.$L=this.locale(d).$L),u&&t!=this.format(s)&&(this.$d=new Date(``)),o={}}else if(s instanceof Array)for(var f=s.length,m=1;m<=f;m+=1){a[1]=s[m-1];var h=n.apply(this,a);if(h.isValid()){this.$d=h.$d,this.$L=h.$L,this.init();break}m===f&&(this.$d=new Date(``))}else i.call(this,e)}}}))})),Un=t(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_plugin_advancedFormat=r()})(e,(function(){return function(e,t){var n=t.prototype,r=n.format;n.format=function(e){var t=this,n=this.$locale();if(!this.isValid())return r.bind(this)(e);var i=this.$utils(),a=(e||`YYYY-MM-DDTHH:mm:ssZ`).replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,(function(e){switch(e){case`Q`:return Math.ceil((t.$M+1)/3);case`Do`:return n.ordinal(t.$D);case`gggg`:return t.weekYear();case`GGGG`:return t.isoWeekYear();case`wo`:return n.ordinal(t.week(),`W`);case`w`:case`ww`:return i.s(t.week(),e===`w`?1:2,`0`);case`W`:case`WW`:return i.s(t.isoWeek(),e===`W`?1:2,`0`);case`k`:case`kk`:return i.s(String(t.$H===0?24:t.$H),e===`k`?1:2,`0`);case`X`:return Math.floor(t.$d.getTime()/1e3);case`x`:return t.$d.getTime();case`z`:return`[`+t.offsetName()+`]`;case`zzz`:return`[`+t.offsetName(`long`)+`]`;default:return e}}));return r.bind(this)(a)}}}))})),Wn=t(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_plugin_duration=r()})(e,(function(){var e,t,n=1e3,r=6e4,i=36e5,a=864e5,o=31536e6,s=2628e6,c=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,l=/\[([^\]]+)]|YYYY|YY|Y|M{1,2}|D{1,2}|H{1,2}|m{1,2}|s{1,2}|SSS/g,u={years:o,months:s,days:a,hours:i,minutes:r,seconds:n,milliseconds:1,weeks:6048e5},d=function(e){return e instanceof v},f=function(e,t,n){return new v(e,n,t.$l)},p=function(e){return t.p(e)+`s`},m=function(e){return e<0},h=function(e){return m(e)?Math.ceil(e):Math.floor(e)},g=function(e){return Math.abs(e)},_=function(e,t){return e?m(e)?{negative:!0,format:``+g(e)+t}:{negative:!1,format:``+e+t}:{negative:!1,format:``}},v=function(){function m(e,t,n){var r=this;if(this.$d={},this.$l=n,e===void 0&&(this.$ms=0,this.parseFromMilliseconds()),t)return f(e*u[p(t)],this);if(typeof e==`number`)return this.$ms=e,this.parseFromMilliseconds(),this;if(typeof e==`object`)return Object.keys(e).forEach((function(t){r.$d[p(t)]=e[t]})),this.calMilliseconds(),this;if(typeof e==`string`){var i=e.match(c);if(i){var a=i.slice(2).map((function(e){return e==null?0:Number(e)}));return this.$d.years=a[0],this.$d.months=a[1],this.$d.weeks=a[2],this.$d.days=a[3],this.$d.hours=a[4],this.$d.minutes=a[5],this.$d.seconds=a[6],this.calMilliseconds(),this}}return this}var g=m.prototype;return g.calMilliseconds=function(){var e=this;this.$ms=Object.keys(this.$d).reduce((function(t,n){return t+(e.$d[n]||0)*u[n]}),0)},g.parseFromMilliseconds=function(){var e=this.$ms;this.$d.years=h(e/o),e%=o,this.$d.months=h(e/s),e%=s,this.$d.days=h(e/a),e%=a,this.$d.hours=h(e/i),e%=i,this.$d.minutes=h(e/r),e%=r,this.$d.seconds=h(e/n),e%=n,this.$d.milliseconds=e},g.toISOString=function(){var e=_(this.$d.years,`Y`),t=_(this.$d.months,`M`),n=+this.$d.days||0;this.$d.weeks&&(n+=7*this.$d.weeks);var r=_(n,`D`),i=_(this.$d.hours,`H`),a=_(this.$d.minutes,`M`),o=this.$d.seconds||0;this.$d.milliseconds&&(o+=this.$d.milliseconds/1e3,o=Math.round(1e3*o)/1e3);var s=_(o,`S`),c=e.negative||t.negative||r.negative||i.negative||a.negative||s.negative,l=i.format||a.format||s.format?`T`:``,u=(c?`-`:``)+`P`+e.format+t.format+r.format+l+i.format+a.format+s.format;return u===`P`||u===`-P`?`P0D`:u},g.toJSON=function(){return this.toISOString()},g.format=function(e){var n=e||`YYYY-MM-DDTHH:mm:ss`,r={Y:this.$d.years,YY:t.s(this.$d.years,2,`0`),YYYY:t.s(this.$d.years,4,`0`),M:this.$d.months,MM:t.s(this.$d.months,2,`0`),D:this.$d.days,DD:t.s(this.$d.days,2,`0`),H:this.$d.hours,HH:t.s(this.$d.hours,2,`0`),m:this.$d.minutes,mm:t.s(this.$d.minutes,2,`0`),s:this.$d.seconds,ss:t.s(this.$d.seconds,2,`0`),SSS:t.s(this.$d.milliseconds,3,`0`)};return n.replace(l,(function(e,t){return t||String(r[e])}))},g.as=function(e){return this.$ms/u[p(e)]},g.get=function(e){var t=this.$ms,n=p(e);return n===`milliseconds`?t%=1e3:t=n===`weeks`?h(t/u[n]):this.$d[n],t||0},g.add=function(e,t,n){var r;return r=t?e*u[p(t)]:d(e)?e.$ms:f(e,this).$ms,f(this.$ms+r*(n?-1:1),this)},g.subtract=function(e,t){return this.add(e,t,!0)},g.locale=function(e){var t=this.clone();return t.$l=e,t},g.clone=function(){return f(this.$ms,this)},g.humanize=function(t){return e().add(this.$ms,`ms`).locale(this.$l).fromNow(!t)},g.valueOf=function(){return this.asMilliseconds()},g.milliseconds=function(){return this.get(`milliseconds`)},g.asMilliseconds=function(){return this.as(`milliseconds`)},g.seconds=function(){return this.get(`seconds`)},g.asSeconds=function(){return this.as(`seconds`)},g.minutes=function(){return this.get(`minutes`)},g.asMinutes=function(){return this.as(`minutes`)},g.hours=function(){return this.get(`hours`)},g.asHours=function(){return this.as(`hours`)},g.days=function(){return this.get(`days`)},g.asDays=function(){return this.as(`days`)},g.weeks=function(){return this.get(`weeks`)},g.asWeeks=function(){return this.as(`weeks`)},g.months=function(){return this.get(`months`)},g.asMonths=function(){return this.as(`months`)},g.years=function(){return this.get(`years`)},g.asYears=function(){return this.as(`years`)},m}(),y=function(e,t,n){return e.add(t.years()*n,`y`).add(t.months()*n,`M`).add(t.days()*n,`d`).add(t.hours()*n,`h`).add(t.minutes()*n,`m`).add(t.seconds()*n,`s`).add(t.milliseconds()*n,`ms`)};return function(n,r,i){e=i,t=i().$utils(),i.duration=function(e,t){return f(e,{$l:i.locale()},t)},i.isDuration=d;var a=r.prototype.add,o=r.prototype.subtract;r.prototype.add=function(e,t){return d(e)?y(this,e,1):a.bind(this)(e,t)},r.prototype.subtract=function(e,t){return d(e)?y(this,e,-1):o.bind(this)(e,t)}}}))})),Gn=j(),Y=e(r(),1),Kn=e(Vn(),1),qn=e(Hn(),1),Jn=e(Un(),1),Yn=e(Wn(),1),Xn=(function(){var e=n(function(e,t,n,r){for(n||={},r=e.length;r--;n[e[r]]=t);return n},`o`),t=[6,8,10,12,13,14,15,16,17,18,20,21,22,23,24,25,26,27,28,29,30,31,33,35,36,38,40],r=[1,26],i=[1,27],a=[1,28],o=[1,29],s=[1,30],c=[1,31],l=[1,32],u=[1,33],d=[1,34],f=[1,9],p=[1,10],m=[1,11],h=[1,12],g=[1,13],_=[1,14],v=[1,15],y=[1,16],b=[1,19],x=[1,20],S=[1,21],C=[1,22],w=[1,23],T=[1,25],E=[1,35],D={trace:n(function(){},`trace`),yy:{},symbols_:{error:2,start:3,gantt:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NL:10,weekday:11,weekday_monday:12,weekday_tuesday:13,weekday_wednesday:14,weekday_thursday:15,weekday_friday:16,weekday_saturday:17,weekday_sunday:18,weekend:19,weekend_friday:20,weekend_saturday:21,dateFormat:22,inclusiveEndDates:23,topAxis:24,axisFormat:25,tickInterval:26,excludes:27,includes:28,todayMarker:29,title:30,acc_title:31,acc_title_value:32,acc_descr:33,acc_descr_value:34,acc_descr_multiline_value:35,section:36,clickStatement:37,taskTxt:38,taskData:39,click:40,callbackname:41,callbackargs:42,href:43,clickStatementDebug:44,$accept:0,$end:1},terminals_:{2:`error`,4:`gantt`,6:`EOF`,8:`SPACE`,10:`NL`,12:`weekday_monday`,13:`weekday_tuesday`,14:`weekday_wednesday`,15:`weekday_thursday`,16:`weekday_friday`,17:`weekday_saturday`,18:`weekday_sunday`,20:`weekend_friday`,21:`weekend_saturday`,22:`dateFormat`,23:`inclusiveEndDates`,24:`topAxis`,25:`axisFormat`,26:`tickInterval`,27:`excludes`,28:`includes`,29:`todayMarker`,30:`title`,31:`acc_title`,32:`acc_title_value`,33:`acc_descr`,34:`acc_descr_value`,35:`acc_descr_multiline_value`,36:`section`,38:`taskTxt`,39:`taskData`,40:`click`,41:`callbackname`,42:`callbackargs`,43:`href`},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[11,1],[11,1],[11,1],[11,1],[11,1],[11,1],[11,1],[19,1],[19,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,1],[9,2],[37,2],[37,3],[37,3],[37,4],[37,3],[37,4],[37,2],[44,2],[44,3],[44,3],[44,4],[44,3],[44,4],[44,2]],performAction:n(function(e,t,n,r,i,a,o){var s=a.length-1;switch(i){case 1:return a[s-1];case 2:this.$=[];break;case 3:a[s-1].push(a[s]),this.$=a[s-1];break;case 4:case 5:this.$=a[s];break;case 6:case 7:this.$=[];break;case 8:r.setWeekday(`monday`);break;case 9:r.setWeekday(`tuesday`);break;case 10:r.setWeekday(`wednesday`);break;case 11:r.setWeekday(`thursday`);break;case 12:r.setWeekday(`friday`);break;case 13:r.setWeekday(`saturday`);break;case 14:r.setWeekday(`sunday`);break;case 15:r.setWeekend(`friday`);break;case 16:r.setWeekend(`saturday`);break;case 17:r.setDateFormat(a[s].substr(11)),this.$=a[s].substr(11);break;case 18:r.enableInclusiveEndDates(),this.$=a[s].substr(18);break;case 19:r.TopAxis(),this.$=a[s].substr(8);break;case 20:r.setAxisFormat(a[s].substr(11)),this.$=a[s].substr(11);break;case 21:r.setTickInterval(a[s].substr(13)),this.$=a[s].substr(13);break;case 22:r.setExcludes(a[s].substr(9)),this.$=a[s].substr(9);break;case 23:r.setIncludes(a[s].substr(9)),this.$=a[s].substr(9);break;case 24:r.setTodayMarker(a[s].substr(12)),this.$=a[s].substr(12);break;case 27:r.setDiagramTitle(a[s].substr(6)),this.$=a[s].substr(6);break;case 28:this.$=a[s].trim(),r.setAccTitle(this.$);break;case 29:case 30:this.$=a[s].trim(),r.setAccDescription(this.$);break;case 31:r.addSection(a[s].substr(8)),this.$=a[s].substr(8);break;case 33:r.addTask(a[s-1],a[s]),this.$=`task`;break;case 34:this.$=a[s-1],r.setClickEvent(a[s-1],a[s],null);break;case 35:this.$=a[s-2],r.setClickEvent(a[s-2],a[s-1],a[s]);break;case 36:this.$=a[s-2],r.setClickEvent(a[s-2],a[s-1],null),r.setLink(a[s-2],a[s]);break;case 37:this.$=a[s-3],r.setClickEvent(a[s-3],a[s-2],a[s-1]),r.setLink(a[s-3],a[s]);break;case 38:this.$=a[s-2],r.setClickEvent(a[s-2],a[s],null),r.setLink(a[s-2],a[s-1]);break;case 39:this.$=a[s-3],r.setClickEvent(a[s-3],a[s-1],a[s]),r.setLink(a[s-3],a[s-2]);break;case 40:this.$=a[s-1],r.setLink(a[s-1],a[s]);break;case 41:case 47:this.$=a[s-1]+` `+a[s];break;case 42:case 43:case 45:this.$=a[s-2]+` `+a[s-1]+` `+a[s];break;case 44:case 46:this.$=a[s-3]+` `+a[s-2]+` `+a[s-1]+` `+a[s];break}},`anonymous`),table:[{3:1,4:[1,2]},{1:[3]},e(t,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:17,12:r,13:i,14:a,15:o,16:s,17:c,18:l,19:18,20:u,21:d,22:f,23:p,24:m,25:h,26:g,27:_,28:v,29:y,30:b,31:x,33:S,35:C,36:w,37:24,38:T,40:E},e(t,[2,7],{1:[2,1]}),e(t,[2,3]),{9:36,11:17,12:r,13:i,14:a,15:o,16:s,17:c,18:l,19:18,20:u,21:d,22:f,23:p,24:m,25:h,26:g,27:_,28:v,29:y,30:b,31:x,33:S,35:C,36:w,37:24,38:T,40:E},e(t,[2,5]),e(t,[2,6]),e(t,[2,17]),e(t,[2,18]),e(t,[2,19]),e(t,[2,20]),e(t,[2,21]),e(t,[2,22]),e(t,[2,23]),e(t,[2,24]),e(t,[2,25]),e(t,[2,26]),e(t,[2,27]),{32:[1,37]},{34:[1,38]},e(t,[2,30]),e(t,[2,31]),e(t,[2,32]),{39:[1,39]},e(t,[2,8]),e(t,[2,9]),e(t,[2,10]),e(t,[2,11]),e(t,[2,12]),e(t,[2,13]),e(t,[2,14]),e(t,[2,15]),e(t,[2,16]),{41:[1,40],43:[1,41]},e(t,[2,4]),e(t,[2,28]),e(t,[2,29]),e(t,[2,33]),e(t,[2,34],{42:[1,42],43:[1,43]}),e(t,[2,40],{41:[1,44]}),e(t,[2,35],{43:[1,45]}),e(t,[2,36]),e(t,[2,38],{42:[1,46]}),e(t,[2,37]),e(t,[2,39])],defaultActions:{},parseError:n(function(e,t){if(t.recoverable)this.trace(e);else{var n=Error(e);throw n.hash=t,n}},`parseError`),parse:n(function(e){var t=this,r=[0],i=[],a=[null],o=[],s=this.table,c=``,l=0,u=0,d=0,f=2,p=1,m=o.slice.call(arguments,1),h=Object.create(this.lexer),g={yy:{}};for(var _ in this.yy)Object.prototype.hasOwnProperty.call(this.yy,_)&&(g.yy[_]=this.yy[_]);h.setInput(e,g.yy),g.yy.lexer=h,g.yy.parser=this,h.yylloc===void 0&&(h.yylloc={});var v=h.yylloc;o.push(v);var y=h.options&&h.options.ranges;typeof g.yy.parseError==`function`?this.parseError=g.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function b(e){r.length-=2*e,a.length-=e,o.length-=e}n(b,`popStack`);function x(){var e=i.pop()||h.lex()||p;return typeof e!=`number`&&(e instanceof Array&&(i=e,e=i.pop()),e=t.symbols_[e]||e),e}n(x,`lex`);for(var S,C,w,T,E,D={},O,k,A,j;;){if(w=r[r.length-1],this.defaultActions[w]?T=this.defaultActions[w]:(S??=x(),T=s[w]&&s[w][S]),T===void 0||!T.length||!T[0]){var ee=``;for(O in j=[],s[w])this.terminals_[O]&&O>f&&j.push(`'`+this.terminals_[O]+`'`);ee=h.showPosition?`Parse error on line `+(l+1)+`:
|
|
1
|
+
import{i as e,t}from"./chunk-DseTPa7n.js";import{n}from"./chunk-Y2CYZVJY-CX0MjbSu.js";import{r,t as i}from"./src-BlkIpXCO.js";import{H as a,K as o,U as s,a as c,c as l,s as u,v as d,w as f,x as p,y as m}from"./chunk-WYO6CB5R-DyzfGKK0.js";import{a as h,i as g,n as _,r as v,t as y}from"./linear-DrLUUwfa.js";import{n as b,t as x}from"./min-C03Z0UNc.js";import{C as S,c as C,d as w,h as T,m as E,p as D,s as O,u as k}from"./src-DlwJ21NB.js";import{t as A}from"./init-BZfMkAqI.js";import{t as j}from"./dist-kVT8A9Kf.js";import{g as ee}from"./chunk-ICXQ74PX-BF1AraUQ.js";function te(e){return e}var M=1,ne=2,re=3,ie=4,ae=1e-6;function oe(e){return`translate(`+e+`,0)`}function se(e){return`translate(0,`+e+`)`}function ce(e){return t=>+e(t)}function le(e,t){return t=Math.max(0,e.bandwidth()-t*2)/2,e.round()&&(t=Math.round(t)),n=>+e(n)+t}function ue(){return!this.__axis}function de(e,t){var n=[],r=null,i=null,a=6,o=6,s=3,c=typeof window<`u`&&window.devicePixelRatio>1?0:.5,l=e===M||e===ie?-1:1,u=e===ie||e===ne?`x`:`y`,d=e===M||e===re?oe:se;function f(f){var p=r??(t.ticks?t.ticks.apply(t,n):t.domain()),m=i??(t.tickFormat?t.tickFormat.apply(t,n):te),h=Math.max(a,0)+s,g=t.range(),_=+g[0]+c,v=+g[g.length-1]+c,y=(t.bandwidth?le:ce)(t.copy(),c),b=f.selection?f.selection():f,x=b.selectAll(`.domain`).data([null]),S=b.selectAll(`.tick`).data(p,t).order(),C=S.exit(),w=S.enter().append(`g`).attr(`class`,`tick`),T=S.select(`line`),E=S.select(`text`);x=x.merge(x.enter().insert(`path`,`.tick`).attr(`class`,`domain`).attr(`stroke`,`currentColor`)),S=S.merge(w),T=T.merge(w.append(`line`).attr(`stroke`,`currentColor`).attr(u+`2`,l*a)),E=E.merge(w.append(`text`).attr(`fill`,`currentColor`).attr(u,l*h).attr(`dy`,e===M?`0em`:e===re?`0.71em`:`0.32em`)),f!==b&&(x=x.transition(f),S=S.transition(f),T=T.transition(f),E=E.transition(f),C=C.transition(f).attr(`opacity`,ae).attr(`transform`,function(e){return isFinite(e=y(e))?d(e+c):this.getAttribute(`transform`)}),w.attr(`opacity`,ae).attr(`transform`,function(e){var t=this.parentNode.__axis;return d((t&&isFinite(t=t(e))?t:y(e))+c)})),C.remove(),x.attr(`d`,e===ie||e===ne?o?`M`+l*o+`,`+_+`H`+c+`V`+v+`H`+l*o:`M`+c+`,`+_+`V`+v:o?`M`+_+`,`+l*o+`V`+c+`H`+v+`V`+l*o:`M`+_+`,`+c+`H`+v),S.attr(`opacity`,1).attr(`transform`,function(e){return d(y(e)+c)}),T.attr(u+`2`,l*a),E.attr(u,l*h).text(m),b.filter(ue).attr(`fill`,`none`).attr(`font-size`,10).attr(`font-family`,`sans-serif`).attr(`text-anchor`,e===ne?`start`:e===ie?`end`:`middle`),b.each(function(){this.__axis=y})}return f.scale=function(e){return arguments.length?(t=e,f):t},f.ticks=function(){return n=Array.from(arguments),f},f.tickArguments=function(e){return arguments.length?(n=e==null?[]:Array.from(e),f):n.slice()},f.tickValues=function(e){return arguments.length?(r=e==null?null:Array.from(e),f):r&&r.slice()},f.tickFormat=function(e){return arguments.length?(i=e,f):i},f.tickSize=function(e){return arguments.length?(a=o=+e,f):a},f.tickSizeInner=function(e){return arguments.length?(a=+e,f):a},f.tickSizeOuter=function(e){return arguments.length?(o=+e,f):o},f.tickPadding=function(e){return arguments.length?(s=+e,f):s},f.offset=function(e){return arguments.length?(c=+e,f):c},f}function fe(e){return de(M,e)}function pe(e){return de(re,e)}var me=Math.PI/180,he=180/Math.PI,ge=18,_e=.96422,ve=1,ye=.82521,be=4/29,xe=6/29,Se=3*xe*xe,Ce=xe*xe*xe;function we(e){if(e instanceof N)return new N(e.l,e.a,e.b,e.opacity);if(e instanceof P)return Me(e);e instanceof w||(e=D(e));var t=ke(e.r),n=ke(e.g),r=ke(e.b),i=Ee((.2225045*t+.7168786*n+.0606169*r)/ve),a,o;return t===n&&n===r?a=o=i:(a=Ee((.4360747*t+.3850649*n+.1430804*r)/_e),o=Ee((.0139322*t+.0971045*n+.7141733*r)/ye)),new N(116*i-16,500*(a-i),200*(i-o),e.opacity)}function Te(e,t,n,r){return arguments.length===1?we(e):new N(e,t,n,r??1)}function N(e,t,n,r){this.l=+e,this.a=+t,this.b=+n,this.opacity=+r}E(N,Te,T(k,{brighter(e){return new N(this.l+ge*(e??1),this.a,this.b,this.opacity)},darker(e){return new N(this.l-ge*(e??1),this.a,this.b,this.opacity)},rgb(){var e=(this.l+16)/116,t=isNaN(this.a)?e:e+this.a/500,n=isNaN(this.b)?e:e-this.b/200;return t=_e*De(t),e=ve*De(e),n=ye*De(n),new w(Oe(3.1338561*t-1.6168667*e-.4906146*n),Oe(-.9787684*t+1.9161415*e+.033454*n),Oe(.0719453*t-.2289914*e+1.4052427*n),this.opacity)}}));function Ee(e){return e>Ce?e**(1/3):e/Se+be}function De(e){return e>xe?e*e*e:Se*(e-be)}function Oe(e){return 255*(e<=.0031308?12.92*e:1.055*e**(1/2.4)-.055)}function ke(e){return(e/=255)<=.04045?e/12.92:((e+.055)/1.055)**2.4}function Ae(e){if(e instanceof P)return new P(e.h,e.c,e.l,e.opacity);if(e instanceof N||(e=we(e)),e.a===0&&e.b===0)return new P(NaN,0<e.l&&e.l<100?0:NaN,e.l,e.opacity);var t=Math.atan2(e.b,e.a)*he;return new P(t<0?t+360:t,Math.sqrt(e.a*e.a+e.b*e.b),e.l,e.opacity)}function je(e,t,n,r){return arguments.length===1?Ae(e):new P(e,t,n,r??1)}function P(e,t,n,r){this.h=+e,this.c=+t,this.l=+n,this.opacity=+r}function Me(e){if(isNaN(e.h))return new N(e.l,0,0,e.opacity);var t=e.h*me;return new N(e.l,Math.cos(t)*e.c,Math.sin(t)*e.c,e.opacity)}E(P,je,T(k,{brighter(e){return new P(this.h,this.c,this.l+ge*(e??1),this.opacity)},darker(e){return new P(this.h,this.c,this.l-ge*(e??1),this.opacity)},rgb(){return Me(this).rgb()}}));function Ne(e){return function(t,n){var r=e((t=je(t)).h,(n=je(n)).h),i=C(t.c,n.c),a=C(t.l,n.l),o=C(t.opacity,n.opacity);return function(e){return t.h=r(e),t.c=i(e),t.l=a(e),t.opacity=o(e),t+``}}}var Pe=Ne(O);function Fe(e,t){e=e.slice();var n=0,r=e.length-1,i=e[n],a=e[r],o;return a<i&&(o=n,n=r,r=o,o=i,i=a,a=o),e[n]=t.floor(i),e[r]=t.ceil(a),e}var Ie=new Date,Le=new Date;function F(e,t,n,r){function i(t){return e(t=arguments.length===0?new Date:new Date(+t)),t}return i.floor=t=>(e(t=new Date(+t)),t),i.ceil=n=>(e(n=new Date(n-1)),t(n,1),e(n),n),i.round=e=>{let t=i(e),n=i.ceil(e);return e-t<n-e?t:n},i.offset=(e,n)=>(t(e=new Date(+e),n==null?1:Math.floor(n)),e),i.range=(n,r,a)=>{let o=[];if(n=i.ceil(n),a=a==null?1:Math.floor(a),!(n<r)||!(a>0))return o;let s;do o.push(s=new Date(+n)),t(n,a),e(n);while(s<n&&n<r);return o},i.filter=n=>F(t=>{if(t>=t)for(;e(t),!n(t);)t.setTime(t-1)},(e,r)=>{if(e>=e)if(r<0)for(;++r<=0;)for(;t(e,-1),!n(e););else for(;--r>=0;)for(;t(e,1),!n(e););}),n&&(i.count=(t,r)=>(Ie.setTime(+t),Le.setTime(+r),e(Ie),e(Le),Math.floor(n(Ie,Le))),i.every=e=>(e=Math.floor(e),!isFinite(e)||!(e>0)?null:e>1?i.filter(r?t=>r(t)%e===0:t=>i.count(0,t)%e===0):i)),i}var Re=F(()=>{},(e,t)=>{e.setTime(+e+t)},(e,t)=>t-e);Re.every=e=>(e=Math.floor(e),!isFinite(e)||!(e>0)?null:e>1?F(t=>{t.setTime(Math.floor(t/e)*e)},(t,n)=>{t.setTime(+t+n*e)},(t,n)=>(n-t)/e):Re),Re.range;var I=1e3,L=I*60,R=L*60,z=R*24,ze=z*7,Be=z*30,Ve=z*365,B=F(e=>{e.setTime(e-e.getMilliseconds())},(e,t)=>{e.setTime(+e+t*I)},(e,t)=>(t-e)/I,e=>e.getUTCSeconds());B.range;var He=F(e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*I)},(e,t)=>{e.setTime(+e+t*L)},(e,t)=>(t-e)/L,e=>e.getMinutes());He.range;var Ue=F(e=>{e.setUTCSeconds(0,0)},(e,t)=>{e.setTime(+e+t*L)},(e,t)=>(t-e)/L,e=>e.getUTCMinutes());Ue.range;var We=F(e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*I-e.getMinutes()*L)},(e,t)=>{e.setTime(+e+t*R)},(e,t)=>(t-e)/R,e=>e.getHours());We.range;var Ge=F(e=>{e.setUTCMinutes(0,0,0)},(e,t)=>{e.setTime(+e+t*R)},(e,t)=>(t-e)/R,e=>e.getUTCHours());Ge.range;var V=F(e=>e.setHours(0,0,0,0),(e,t)=>e.setDate(e.getDate()+t),(e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*L)/z,e=>e.getDate()-1);V.range;var Ke=F(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/z,e=>e.getUTCDate()-1);Ke.range;var qe=F(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/z,e=>Math.floor(e/z));qe.range;function H(e){return F(t=>{t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)},(e,t)=>{e.setDate(e.getDate()+t*7)},(e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*L)/ze)}var Je=H(0),Ye=H(1),Xe=H(2),Ze=H(3),U=H(4),Qe=H(5),$e=H(6);Je.range,Ye.range,Xe.range,Ze.range,U.range,Qe.range,$e.range;function W(e){return F(t=>{t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t*7)},(e,t)=>(t-e)/ze)}var et=W(0),tt=W(1),nt=W(2),rt=W(3),it=W(4),at=W(5),ot=W(6);et.range,tt.range,nt.range,rt.range,it.range,at.range,ot.range;var st=F(e=>{e.setDate(1),e.setHours(0,0,0,0)},(e,t)=>{e.setMonth(e.getMonth()+t)},(e,t)=>t.getMonth()-e.getMonth()+(t.getFullYear()-e.getFullYear())*12,e=>e.getMonth());st.range;var ct=F(e=>{e.setUTCDate(1),e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCMonth(e.getUTCMonth()+t)},(e,t)=>t.getUTCMonth()-e.getUTCMonth()+(t.getUTCFullYear()-e.getUTCFullYear())*12,e=>e.getUTCMonth());ct.range;var G=F(e=>{e.setMonth(0,1),e.setHours(0,0,0,0)},(e,t)=>{e.setFullYear(e.getFullYear()+t)},(e,t)=>t.getFullYear()-e.getFullYear(),e=>e.getFullYear());G.every=e=>!isFinite(e=Math.floor(e))||!(e>0)?null:F(t=>{t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)},(t,n)=>{t.setFullYear(t.getFullYear()+n*e)}),G.range;var K=F(e=>{e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCFullYear(e.getUTCFullYear()+t)},(e,t)=>t.getUTCFullYear()-e.getUTCFullYear(),e=>e.getUTCFullYear());K.every=e=>!isFinite(e=Math.floor(e))||!(e>0)?null:F(t=>{t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},(t,n)=>{t.setUTCFullYear(t.getUTCFullYear()+n*e)}),K.range;function lt(e,t,n,r,i,a){let o=[[B,1,I],[B,5,5*I],[B,15,15*I],[B,30,30*I],[a,1,L],[a,5,5*L],[a,15,15*L],[a,30,30*L],[i,1,R],[i,3,3*R],[i,6,6*R],[i,12,12*R],[r,1,z],[r,2,2*z],[n,1,ze],[t,1,Be],[t,3,3*Be],[e,1,Ve]];function s(e,t,n){let r=t<e;r&&([e,t]=[t,e]);let i=n&&typeof n.range==`function`?n:c(e,t,n),a=i?i.range(e,+t+1):[];return r?a.reverse():a}function c(t,n,r){let i=Math.abs(n-t)/r,a=h(([,,e])=>e).right(o,i);if(a===o.length)return e.every(g(t/Ve,n/Ve,r));if(a===0)return Re.every(Math.max(g(t,n,r),1));let[s,c]=o[i/o[a-1][2]<o[a][2]/i?a-1:a];return s.every(c)}return[s,c]}var[ut,dt]=lt(K,ct,et,qe,Ge,Ue),[ft,pt]=lt(G,st,Je,V,We,He);function mt(e){if(0<=e.y&&e.y<100){var t=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return t.setFullYear(e.y),t}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function ht(e){if(0<=e.y&&e.y<100){var t=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return t.setUTCFullYear(e.y),t}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function gt(e,t,n){return{y:e,m:t,d:n,H:0,M:0,S:0,L:0}}function _t(e){var t=e.dateTime,n=e.date,r=e.time,i=e.periods,a=e.days,o=e.shortDays,s=e.months,c=e.shortMonths,l=St(i),u=Ct(i),d=St(a),f=Ct(a),p=St(o),m=Ct(o),h=St(s),g=Ct(s),_=St(c),v=Ct(c),y={a:te,A:M,b:ne,B:re,c:null,d:Wt,e:Wt,f:Yt,g:sn,G:ln,H:Gt,I:Kt,j:qt,L:Jt,m:Xt,M:Zt,p:ie,q:ae,Q:Mn,s:Nn,S:Qt,u:$t,U:en,V:nn,w:rn,W:an,x:null,X:null,y:on,Y:cn,Z:un,"%":jn},b={a:oe,A:se,b:ce,B:le,c:null,d:dn,e:dn,f:gn,g:Dn,G:kn,H:fn,I:pn,j:mn,L:hn,m:_n,M:vn,p:ue,q:de,Q:Mn,s:Nn,S:yn,u:bn,U:xn,V:Cn,w:wn,W:Tn,x:null,X:null,y:En,Y:On,Z:An,"%":jn},x={a:E,A:D,b:O,B:k,c:A,d:Pt,e:Pt,f:Bt,g:At,G:kt,H:It,I:It,j:Ft,L:zt,m:Nt,M:Lt,p:T,q:Mt,Q:Ht,s:Ut,S:Rt,u:Tt,U:Et,V:Dt,w:wt,W:Ot,x:j,X:ee,y:At,Y:kt,Z:jt,"%":Vt};y.x=S(n,y),y.X=S(r,y),y.c=S(t,y),b.x=S(n,b),b.X=S(r,b),b.c=S(t,b);function S(e,t){return function(n){var r=[],i=-1,a=0,o=e.length,s,c,l;for(n instanceof Date||(n=new Date(+n));++i<o;)e.charCodeAt(i)===37&&(r.push(e.slice(a,i)),(c=vt[s=e.charAt(++i)])==null?c=s===`e`?` `:`0`:s=e.charAt(++i),(l=t[s])&&(s=l(n,c)),r.push(s),a=i+1);return r.push(e.slice(a,i)),r.join(``)}}function C(e,t){return function(n){var r=gt(1900,void 0,1),i=w(r,e,n+=``,0),a,o;if(i!=n.length)return null;if(`Q`in r)return new Date(r.Q);if(`s`in r)return new Date(r.s*1e3+(`L`in r?r.L:0));if(t&&!(`Z`in r)&&(r.Z=0),`p`in r&&(r.H=r.H%12+r.p*12),r.m===void 0&&(r.m=`q`in r?r.q:0),`V`in r){if(r.V<1||r.V>53)return null;`w`in r||(r.w=1),`Z`in r?(a=ht(gt(r.y,0,1)),o=a.getUTCDay(),a=o>4||o===0?tt.ceil(a):tt(a),a=Ke.offset(a,(r.V-1)*7),r.y=a.getUTCFullYear(),r.m=a.getUTCMonth(),r.d=a.getUTCDate()+(r.w+6)%7):(a=mt(gt(r.y,0,1)),o=a.getDay(),a=o>4||o===0?Ye.ceil(a):Ye(a),a=V.offset(a,(r.V-1)*7),r.y=a.getFullYear(),r.m=a.getMonth(),r.d=a.getDate()+(r.w+6)%7)}else (`W`in r||`U`in r)&&(`w`in r||(r.w=`u`in r?r.u%7:+(`W`in r)),o=`Z`in r?ht(gt(r.y,0,1)).getUTCDay():mt(gt(r.y,0,1)).getDay(),r.m=0,r.d=`W`in r?(r.w+6)%7+r.W*7-(o+5)%7:r.w+r.U*7-(o+6)%7);return`Z`in r?(r.H+=r.Z/100|0,r.M+=r.Z%100,ht(r)):mt(r)}}function w(e,t,n,r){for(var i=0,a=t.length,o=n.length,s,c;i<a;){if(r>=o)return-1;if(s=t.charCodeAt(i++),s===37){if(s=t.charAt(i++),c=x[s in vt?t.charAt(i++):s],!c||(r=c(e,n,r))<0)return-1}else if(s!=n.charCodeAt(r++))return-1}return r}function T(e,t,n){var r=l.exec(t.slice(n));return r?(e.p=u.get(r[0].toLowerCase()),n+r[0].length):-1}function E(e,t,n){var r=p.exec(t.slice(n));return r?(e.w=m.get(r[0].toLowerCase()),n+r[0].length):-1}function D(e,t,n){var r=d.exec(t.slice(n));return r?(e.w=f.get(r[0].toLowerCase()),n+r[0].length):-1}function O(e,t,n){var r=_.exec(t.slice(n));return r?(e.m=v.get(r[0].toLowerCase()),n+r[0].length):-1}function k(e,t,n){var r=h.exec(t.slice(n));return r?(e.m=g.get(r[0].toLowerCase()),n+r[0].length):-1}function A(e,n,r){return w(e,t,n,r)}function j(e,t,r){return w(e,n,t,r)}function ee(e,t,n){return w(e,r,t,n)}function te(e){return o[e.getDay()]}function M(e){return a[e.getDay()]}function ne(e){return c[e.getMonth()]}function re(e){return s[e.getMonth()]}function ie(e){return i[+(e.getHours()>=12)]}function ae(e){return 1+~~(e.getMonth()/3)}function oe(e){return o[e.getUTCDay()]}function se(e){return a[e.getUTCDay()]}function ce(e){return c[e.getUTCMonth()]}function le(e){return s[e.getUTCMonth()]}function ue(e){return i[+(e.getUTCHours()>=12)]}function de(e){return 1+~~(e.getUTCMonth()/3)}return{format:function(e){var t=S(e+=``,y);return t.toString=function(){return e},t},parse:function(e){var t=C(e+=``,!1);return t.toString=function(){return e},t},utcFormat:function(e){var t=S(e+=``,b);return t.toString=function(){return e},t},utcParse:function(e){var t=C(e+=``,!0);return t.toString=function(){return e},t}}}var vt={"-":``,_:` `,0:`0`},q=/^\s*\d+/,yt=/^%/,bt=/[\\^$*+?|[\]().{}]/g;function J(e,t,n){var r=e<0?`-`:``,i=(r?-e:e)+``,a=i.length;return r+(a<n?Array(n-a+1).join(t)+i:i)}function xt(e){return e.replace(bt,`\\$&`)}function St(e){return RegExp(`^(?:`+e.map(xt).join(`|`)+`)`,`i`)}function Ct(e){return new Map(e.map((e,t)=>[e.toLowerCase(),t]))}function wt(e,t,n){var r=q.exec(t.slice(n,n+1));return r?(e.w=+r[0],n+r[0].length):-1}function Tt(e,t,n){var r=q.exec(t.slice(n,n+1));return r?(e.u=+r[0],n+r[0].length):-1}function Et(e,t,n){var r=q.exec(t.slice(n,n+2));return r?(e.U=+r[0],n+r[0].length):-1}function Dt(e,t,n){var r=q.exec(t.slice(n,n+2));return r?(e.V=+r[0],n+r[0].length):-1}function Ot(e,t,n){var r=q.exec(t.slice(n,n+2));return r?(e.W=+r[0],n+r[0].length):-1}function kt(e,t,n){var r=q.exec(t.slice(n,n+4));return r?(e.y=+r[0],n+r[0].length):-1}function At(e,t,n){var r=q.exec(t.slice(n,n+2));return r?(e.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function jt(e,t,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(n,n+6));return r?(e.Z=r[1]?0:-(r[2]+(r[3]||`00`)),n+r[0].length):-1}function Mt(e,t,n){var r=q.exec(t.slice(n,n+1));return r?(e.q=r[0]*3-3,n+r[0].length):-1}function Nt(e,t,n){var r=q.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function Pt(e,t,n){var r=q.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function Ft(e,t,n){var r=q.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function It(e,t,n){var r=q.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function Lt(e,t,n){var r=q.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function Rt(e,t,n){var r=q.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function zt(e,t,n){var r=q.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function Bt(e,t,n){var r=q.exec(t.slice(n,n+6));return r?(e.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function Vt(e,t,n){var r=yt.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function Ht(e,t,n){var r=q.exec(t.slice(n));return r?(e.Q=+r[0],n+r[0].length):-1}function Ut(e,t,n){var r=q.exec(t.slice(n));return r?(e.s=+r[0],n+r[0].length):-1}function Wt(e,t){return J(e.getDate(),t,2)}function Gt(e,t){return J(e.getHours(),t,2)}function Kt(e,t){return J(e.getHours()%12||12,t,2)}function qt(e,t){return J(1+V.count(G(e),e),t,3)}function Jt(e,t){return J(e.getMilliseconds(),t,3)}function Yt(e,t){return Jt(e,t)+`000`}function Xt(e,t){return J(e.getMonth()+1,t,2)}function Zt(e,t){return J(e.getMinutes(),t,2)}function Qt(e,t){return J(e.getSeconds(),t,2)}function $t(e){var t=e.getDay();return t===0?7:t}function en(e,t){return J(Je.count(G(e)-1,e),t,2)}function tn(e){var t=e.getDay();return t>=4||t===0?U(e):U.ceil(e)}function nn(e,t){return e=tn(e),J(U.count(G(e),e)+(G(e).getDay()===4),t,2)}function rn(e){return e.getDay()}function an(e,t){return J(Ye.count(G(e)-1,e),t,2)}function on(e,t){return J(e.getFullYear()%100,t,2)}function sn(e,t){return e=tn(e),J(e.getFullYear()%100,t,2)}function cn(e,t){return J(e.getFullYear()%1e4,t,4)}function ln(e,t){var n=e.getDay();return e=n>=4||n===0?U(e):U.ceil(e),J(e.getFullYear()%1e4,t,4)}function un(e){var t=e.getTimezoneOffset();return(t>0?`-`:(t*=-1,`+`))+J(t/60|0,`0`,2)+J(t%60,`0`,2)}function dn(e,t){return J(e.getUTCDate(),t,2)}function fn(e,t){return J(e.getUTCHours(),t,2)}function pn(e,t){return J(e.getUTCHours()%12||12,t,2)}function mn(e,t){return J(1+Ke.count(K(e),e),t,3)}function hn(e,t){return J(e.getUTCMilliseconds(),t,3)}function gn(e,t){return hn(e,t)+`000`}function _n(e,t){return J(e.getUTCMonth()+1,t,2)}function vn(e,t){return J(e.getUTCMinutes(),t,2)}function yn(e,t){return J(e.getUTCSeconds(),t,2)}function bn(e){var t=e.getUTCDay();return t===0?7:t}function xn(e,t){return J(et.count(K(e)-1,e),t,2)}function Sn(e){var t=e.getUTCDay();return t>=4||t===0?it(e):it.ceil(e)}function Cn(e,t){return e=Sn(e),J(it.count(K(e),e)+(K(e).getUTCDay()===4),t,2)}function wn(e){return e.getUTCDay()}function Tn(e,t){return J(tt.count(K(e)-1,e),t,2)}function En(e,t){return J(e.getUTCFullYear()%100,t,2)}function Dn(e,t){return e=Sn(e),J(e.getUTCFullYear()%100,t,2)}function On(e,t){return J(e.getUTCFullYear()%1e4,t,4)}function kn(e,t){var n=e.getUTCDay();return e=n>=4||n===0?it(e):it.ceil(e),J(e.getUTCFullYear()%1e4,t,4)}function An(){return`+0000`}function jn(){return`%`}function Mn(e){return+e}function Nn(e){return Math.floor(e/1e3)}var Pn,Fn;In({dateTime:`%x, %X`,date:`%-m/%-d/%Y`,time:`%-I:%M:%S %p`,periods:[`AM`,`PM`],days:[`Sunday`,`Monday`,`Tuesday`,`Wednesday`,`Thursday`,`Friday`,`Saturday`],shortDays:[`Sun`,`Mon`,`Tue`,`Wed`,`Thu`,`Fri`,`Sat`],months:[`January`,`February`,`March`,`April`,`May`,`June`,`July`,`August`,`September`,`October`,`November`,`December`],shortMonths:[`Jan`,`Feb`,`Mar`,`Apr`,`May`,`Jun`,`Jul`,`Aug`,`Sep`,`Oct`,`Nov`,`Dec`]});function In(e){return Pn=_t(e),Fn=Pn.format,Pn.parse,Pn.utcFormat,Pn.utcParse,Pn}function Ln(e){return new Date(e)}function Rn(e){return e instanceof Date?+e:+new Date(+e)}function zn(e,t,n,r,i,a,o,s,c,l){var u=_(),d=u.invert,f=u.domain,p=l(`.%L`),m=l(`:%S`),h=l(`%I:%M`),g=l(`%I %p`),y=l(`%a %d`),b=l(`%b %d`),x=l(`%B`),S=l(`%Y`);function C(e){return(c(e)<e?p:s(e)<e?m:o(e)<e?h:a(e)<e?g:r(e)<e?i(e)<e?y:b:n(e)<e?x:S)(e)}return u.invert=function(e){return new Date(d(e))},u.domain=function(e){return arguments.length?f(Array.from(e,Rn)):f().map(Ln)},u.ticks=function(t){var n=f();return e(n[0],n[n.length-1],t??10)},u.tickFormat=function(e,t){return t==null?C:l(t)},u.nice=function(e){var n=f();return(!e||typeof e.range!=`function`)&&(e=t(n[0],n[n.length-1],e??10)),e?f(Fe(n,e)):u},u.copy=function(){return v(u,zn(e,t,n,r,i,a,o,s,c,l))},u}function Bn(){return A.apply(zn(ft,pt,G,st,Je,V,We,He,B,Fn).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}var Vn=t(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_plugin_isoWeek=r()})(e,(function(){var e=`day`;return function(t,n,r){var i=function(t){return t.add(4-t.isoWeekday(),e)},a=n.prototype;a.isoWeekYear=function(){return i(this).year()},a.isoWeek=function(t){if(!this.$utils().u(t))return this.add(7*(t-this.isoWeek()),e);var n,a,o,s,c=i(this),l=(n=this.isoWeekYear(),a=this.$u,o=(a?r.utc:r)().year(n).startOf(`year`),s=4-o.isoWeekday(),o.isoWeekday()>4&&(s+=7),o.add(s,e));return c.diff(l,`week`)+1},a.isoWeekday=function(e){return this.$utils().u(e)?this.day()||7:this.day(this.day()%7?e:e-7)};var o=a.startOf;a.startOf=function(e,t){var n=this.$utils(),r=!!n.u(t)||t;return n.p(e)===`isoweek`?r?this.date(this.date()-(this.isoWeekday()-1)).startOf(`day`):this.date(this.date()-1-(this.isoWeekday()-1)+7).endOf(`day`):o.bind(this)(e,t)}}}))})),Hn=t(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_plugin_customParseFormat=r()})(e,(function(){var e={LTS:`h:mm:ss A`,LT:`h:mm A`,L:`MM/DD/YYYY`,LL:`MMMM D, YYYY`,LLL:`MMMM D, YYYY h:mm A`,LLLL:`dddd, MMMM D, YYYY h:mm A`},t=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,n=/\d/,r=/\d\d/,i=/\d\d?/,a=/\d*[^-_:/,()\s\d]+/,o={},s=function(e){return(e=+e)+(e>68?1900:2e3)},c=function(e){return function(t){this[e]=+t}},l=[/[+-]\d\d:?(\d\d)?|Z/,function(e){(this.zone||={}).offset=function(e){if(!e||e===`Z`)return 0;var t=e.match(/([+-]|\d\d)/g),n=60*t[1]+(+t[2]||0);return n===0?0:t[0]===`+`?-n:n}(e)}],u=function(e){var t=o[e];return t&&(t.indexOf?t:t.s.concat(t.f))},d=function(e,t){var n,r=o.meridiem;if(r){for(var i=1;i<=24;i+=1)if(e.indexOf(r(i,0,t))>-1){n=i>12;break}}else n=e===(t?`pm`:`PM`);return n},f={A:[a,function(e){this.afternoon=d(e,!1)}],a:[a,function(e){this.afternoon=d(e,!0)}],Q:[n,function(e){this.month=3*(e-1)+1}],S:[n,function(e){this.milliseconds=100*e}],SS:[r,function(e){this.milliseconds=10*e}],SSS:[/\d{3}/,function(e){this.milliseconds=+e}],s:[i,c(`seconds`)],ss:[i,c(`seconds`)],m:[i,c(`minutes`)],mm:[i,c(`minutes`)],H:[i,c(`hours`)],h:[i,c(`hours`)],HH:[i,c(`hours`)],hh:[i,c(`hours`)],D:[i,c(`day`)],DD:[r,c(`day`)],Do:[a,function(e){var t=o.ordinal;if(this.day=e.match(/\d+/)[0],t)for(var n=1;n<=31;n+=1)t(n).replace(/\[|\]/g,``)===e&&(this.day=n)}],w:[i,c(`week`)],ww:[r,c(`week`)],M:[i,c(`month`)],MM:[r,c(`month`)],MMM:[a,function(e){var t=u(`months`),n=(u(`monthsShort`)||t.map((function(e){return e.slice(0,3)}))).indexOf(e)+1;if(n<1)throw Error();this.month=n%12||n}],MMMM:[a,function(e){var t=u(`months`).indexOf(e)+1;if(t<1)throw Error();this.month=t%12||t}],Y:[/[+-]?\d+/,c(`year`)],YY:[r,function(e){this.year=s(e)}],YYYY:[/\d{4}/,c(`year`)],Z:l,ZZ:l};function p(n){for(var r=n,i=o&&o.formats,a=(n=r.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(t,n,r){var a=r&&r.toUpperCase();return n||i[r]||e[r]||i[a].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(e,t,n){return t||n.slice(1)}))}))).match(t),s=a.length,c=0;c<s;c+=1){var l=a[c],u=f[l],d=u&&u[0],p=u&&u[1];a[c]=p?{regex:d,parser:p}:l.replace(/^\[|\]$/g,``)}return function(e){for(var t={},n=0,r=0;n<s;n+=1){var i=a[n];if(typeof i==`string`)r+=i.length;else{var o=i.regex,c=i.parser,l=e.slice(r),u=o.exec(l)[0];c.call(t,u),e=e.replace(u,``)}}return function(e){var t=e.afternoon;if(t!==void 0){var n=e.hours;t?n<12&&(e.hours+=12):n===12&&(e.hours=0),delete e.afternoon}}(t),t}}return function(e,t,n){n.p.customParseFormat=!0,e&&e.parseTwoDigitYear&&(s=e.parseTwoDigitYear);var r=t.prototype,i=r.parse;r.parse=function(e){var t=e.date,r=e.utc,a=e.args;this.$u=r;var s=a[1];if(typeof s==`string`){var c=!0===a[2],l=!0===a[3],u=c||l,d=a[2];l&&(d=a[2]),o=this.$locale(),!c&&d&&(o=n.Ls[d]),this.$d=function(e,t,n,r){try{if([`x`,`X`].indexOf(t)>-1)return new Date((t===`X`?1e3:1)*e);var i=p(t)(e),a=i.year,o=i.month,s=i.day,c=i.hours,l=i.minutes,u=i.seconds,d=i.milliseconds,f=i.zone,m=i.week,h=new Date,g=s||(a||o?1:h.getDate()),_=a||h.getFullYear(),v=0;a&&!o||(v=o>0?o-1:h.getMonth());var y,b=c||0,x=l||0,S=u||0,C=d||0;return f?new Date(Date.UTC(_,v,g,b,x,S,C+60*f.offset*1e3)):n?new Date(Date.UTC(_,v,g,b,x,S,C)):(y=new Date(_,v,g,b,x,S,C),m&&(y=r(y).week(m).toDate()),y)}catch{return new Date(``)}}(t,s,r,n),this.init(),d&&!0!==d&&(this.$L=this.locale(d).$L),u&&t!=this.format(s)&&(this.$d=new Date(``)),o={}}else if(s instanceof Array)for(var f=s.length,m=1;m<=f;m+=1){a[1]=s[m-1];var h=n.apply(this,a);if(h.isValid()){this.$d=h.$d,this.$L=h.$L,this.init();break}m===f&&(this.$d=new Date(``))}else i.call(this,e)}}}))})),Un=t(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_plugin_advancedFormat=r()})(e,(function(){return function(e,t){var n=t.prototype,r=n.format;n.format=function(e){var t=this,n=this.$locale();if(!this.isValid())return r.bind(this)(e);var i=this.$utils(),a=(e||`YYYY-MM-DDTHH:mm:ssZ`).replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,(function(e){switch(e){case`Q`:return Math.ceil((t.$M+1)/3);case`Do`:return n.ordinal(t.$D);case`gggg`:return t.weekYear();case`GGGG`:return t.isoWeekYear();case`wo`:return n.ordinal(t.week(),`W`);case`w`:case`ww`:return i.s(t.week(),e===`w`?1:2,`0`);case`W`:case`WW`:return i.s(t.isoWeek(),e===`W`?1:2,`0`);case`k`:case`kk`:return i.s(String(t.$H===0?24:t.$H),e===`k`?1:2,`0`);case`X`:return Math.floor(t.$d.getTime()/1e3);case`x`:return t.$d.getTime();case`z`:return`[`+t.offsetName()+`]`;case`zzz`:return`[`+t.offsetName(`long`)+`]`;default:return e}}));return r.bind(this)(a)}}}))})),Wn=t(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_plugin_duration=r()})(e,(function(){var e,t,n=1e3,r=6e4,i=36e5,a=864e5,o=31536e6,s=2628e6,c=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,l=/\[([^\]]+)]|YYYY|YY|Y|M{1,2}|D{1,2}|H{1,2}|m{1,2}|s{1,2}|SSS/g,u={years:o,months:s,days:a,hours:i,minutes:r,seconds:n,milliseconds:1,weeks:6048e5},d=function(e){return e instanceof v},f=function(e,t,n){return new v(e,n,t.$l)},p=function(e){return t.p(e)+`s`},m=function(e){return e<0},h=function(e){return m(e)?Math.ceil(e):Math.floor(e)},g=function(e){return Math.abs(e)},_=function(e,t){return e?m(e)?{negative:!0,format:``+g(e)+t}:{negative:!1,format:``+e+t}:{negative:!1,format:``}},v=function(){function m(e,t,n){var r=this;if(this.$d={},this.$l=n,e===void 0&&(this.$ms=0,this.parseFromMilliseconds()),t)return f(e*u[p(t)],this);if(typeof e==`number`)return this.$ms=e,this.parseFromMilliseconds(),this;if(typeof e==`object`)return Object.keys(e).forEach((function(t){r.$d[p(t)]=e[t]})),this.calMilliseconds(),this;if(typeof e==`string`){var i=e.match(c);if(i){var a=i.slice(2).map((function(e){return e==null?0:Number(e)}));return this.$d.years=a[0],this.$d.months=a[1],this.$d.weeks=a[2],this.$d.days=a[3],this.$d.hours=a[4],this.$d.minutes=a[5],this.$d.seconds=a[6],this.calMilliseconds(),this}}return this}var g=m.prototype;return g.calMilliseconds=function(){var e=this;this.$ms=Object.keys(this.$d).reduce((function(t,n){return t+(e.$d[n]||0)*u[n]}),0)},g.parseFromMilliseconds=function(){var e=this.$ms;this.$d.years=h(e/o),e%=o,this.$d.months=h(e/s),e%=s,this.$d.days=h(e/a),e%=a,this.$d.hours=h(e/i),e%=i,this.$d.minutes=h(e/r),e%=r,this.$d.seconds=h(e/n),e%=n,this.$d.milliseconds=e},g.toISOString=function(){var e=_(this.$d.years,`Y`),t=_(this.$d.months,`M`),n=+this.$d.days||0;this.$d.weeks&&(n+=7*this.$d.weeks);var r=_(n,`D`),i=_(this.$d.hours,`H`),a=_(this.$d.minutes,`M`),o=this.$d.seconds||0;this.$d.milliseconds&&(o+=this.$d.milliseconds/1e3,o=Math.round(1e3*o)/1e3);var s=_(o,`S`),c=e.negative||t.negative||r.negative||i.negative||a.negative||s.negative,l=i.format||a.format||s.format?`T`:``,u=(c?`-`:``)+`P`+e.format+t.format+r.format+l+i.format+a.format+s.format;return u===`P`||u===`-P`?`P0D`:u},g.toJSON=function(){return this.toISOString()},g.format=function(e){var n=e||`YYYY-MM-DDTHH:mm:ss`,r={Y:this.$d.years,YY:t.s(this.$d.years,2,`0`),YYYY:t.s(this.$d.years,4,`0`),M:this.$d.months,MM:t.s(this.$d.months,2,`0`),D:this.$d.days,DD:t.s(this.$d.days,2,`0`),H:this.$d.hours,HH:t.s(this.$d.hours,2,`0`),m:this.$d.minutes,mm:t.s(this.$d.minutes,2,`0`),s:this.$d.seconds,ss:t.s(this.$d.seconds,2,`0`),SSS:t.s(this.$d.milliseconds,3,`0`)};return n.replace(l,(function(e,t){return t||String(r[e])}))},g.as=function(e){return this.$ms/u[p(e)]},g.get=function(e){var t=this.$ms,n=p(e);return n===`milliseconds`?t%=1e3:t=n===`weeks`?h(t/u[n]):this.$d[n],t||0},g.add=function(e,t,n){var r;return r=t?e*u[p(t)]:d(e)?e.$ms:f(e,this).$ms,f(this.$ms+r*(n?-1:1),this)},g.subtract=function(e,t){return this.add(e,t,!0)},g.locale=function(e){var t=this.clone();return t.$l=e,t},g.clone=function(){return f(this.$ms,this)},g.humanize=function(t){return e().add(this.$ms,`ms`).locale(this.$l).fromNow(!t)},g.valueOf=function(){return this.asMilliseconds()},g.milliseconds=function(){return this.get(`milliseconds`)},g.asMilliseconds=function(){return this.as(`milliseconds`)},g.seconds=function(){return this.get(`seconds`)},g.asSeconds=function(){return this.as(`seconds`)},g.minutes=function(){return this.get(`minutes`)},g.asMinutes=function(){return this.as(`minutes`)},g.hours=function(){return this.get(`hours`)},g.asHours=function(){return this.as(`hours`)},g.days=function(){return this.get(`days`)},g.asDays=function(){return this.as(`days`)},g.weeks=function(){return this.get(`weeks`)},g.asWeeks=function(){return this.as(`weeks`)},g.months=function(){return this.get(`months`)},g.asMonths=function(){return this.as(`months`)},g.years=function(){return this.get(`years`)},g.asYears=function(){return this.as(`years`)},m}(),y=function(e,t,n){return e.add(t.years()*n,`y`).add(t.months()*n,`M`).add(t.days()*n,`d`).add(t.hours()*n,`h`).add(t.minutes()*n,`m`).add(t.seconds()*n,`s`).add(t.milliseconds()*n,`ms`)};return function(n,r,i){e=i,t=i().$utils(),i.duration=function(e,t){return f(e,{$l:i.locale()},t)},i.isDuration=d;var a=r.prototype.add,o=r.prototype.subtract;r.prototype.add=function(e,t){return d(e)?y(this,e,1):a.bind(this)(e,t)},r.prototype.subtract=function(e,t){return d(e)?y(this,e,-1):o.bind(this)(e,t)}}}))})),Gn=j(),Y=e(r(),1),Kn=e(Vn(),1),qn=e(Hn(),1),Jn=e(Un(),1),Yn=e(Wn(),1),Xn=(function(){var e=n(function(e,t,n,r){for(n||={},r=e.length;r--;n[e[r]]=t);return n},`o`),t=[6,8,10,12,13,14,15,16,17,18,20,21,22,23,24,25,26,27,28,29,30,31,33,35,36,38,40],r=[1,26],i=[1,27],a=[1,28],o=[1,29],s=[1,30],c=[1,31],l=[1,32],u=[1,33],d=[1,34],f=[1,9],p=[1,10],m=[1,11],h=[1,12],g=[1,13],_=[1,14],v=[1,15],y=[1,16],b=[1,19],x=[1,20],S=[1,21],C=[1,22],w=[1,23],T=[1,25],E=[1,35],D={trace:n(function(){},`trace`),yy:{},symbols_:{error:2,start:3,gantt:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NL:10,weekday:11,weekday_monday:12,weekday_tuesday:13,weekday_wednesday:14,weekday_thursday:15,weekday_friday:16,weekday_saturday:17,weekday_sunday:18,weekend:19,weekend_friday:20,weekend_saturday:21,dateFormat:22,inclusiveEndDates:23,topAxis:24,axisFormat:25,tickInterval:26,excludes:27,includes:28,todayMarker:29,title:30,acc_title:31,acc_title_value:32,acc_descr:33,acc_descr_value:34,acc_descr_multiline_value:35,section:36,clickStatement:37,taskTxt:38,taskData:39,click:40,callbackname:41,callbackargs:42,href:43,clickStatementDebug:44,$accept:0,$end:1},terminals_:{2:`error`,4:`gantt`,6:`EOF`,8:`SPACE`,10:`NL`,12:`weekday_monday`,13:`weekday_tuesday`,14:`weekday_wednesday`,15:`weekday_thursday`,16:`weekday_friday`,17:`weekday_saturday`,18:`weekday_sunday`,20:`weekend_friday`,21:`weekend_saturday`,22:`dateFormat`,23:`inclusiveEndDates`,24:`topAxis`,25:`axisFormat`,26:`tickInterval`,27:`excludes`,28:`includes`,29:`todayMarker`,30:`title`,31:`acc_title`,32:`acc_title_value`,33:`acc_descr`,34:`acc_descr_value`,35:`acc_descr_multiline_value`,36:`section`,38:`taskTxt`,39:`taskData`,40:`click`,41:`callbackname`,42:`callbackargs`,43:`href`},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[11,1],[11,1],[11,1],[11,1],[11,1],[11,1],[11,1],[19,1],[19,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,1],[9,2],[37,2],[37,3],[37,3],[37,4],[37,3],[37,4],[37,2],[44,2],[44,3],[44,3],[44,4],[44,3],[44,4],[44,2]],performAction:n(function(e,t,n,r,i,a,o){var s=a.length-1;switch(i){case 1:return a[s-1];case 2:this.$=[];break;case 3:a[s-1].push(a[s]),this.$=a[s-1];break;case 4:case 5:this.$=a[s];break;case 6:case 7:this.$=[];break;case 8:r.setWeekday(`monday`);break;case 9:r.setWeekday(`tuesday`);break;case 10:r.setWeekday(`wednesday`);break;case 11:r.setWeekday(`thursday`);break;case 12:r.setWeekday(`friday`);break;case 13:r.setWeekday(`saturday`);break;case 14:r.setWeekday(`sunday`);break;case 15:r.setWeekend(`friday`);break;case 16:r.setWeekend(`saturday`);break;case 17:r.setDateFormat(a[s].substr(11)),this.$=a[s].substr(11);break;case 18:r.enableInclusiveEndDates(),this.$=a[s].substr(18);break;case 19:r.TopAxis(),this.$=a[s].substr(8);break;case 20:r.setAxisFormat(a[s].substr(11)),this.$=a[s].substr(11);break;case 21:r.setTickInterval(a[s].substr(13)),this.$=a[s].substr(13);break;case 22:r.setExcludes(a[s].substr(9)),this.$=a[s].substr(9);break;case 23:r.setIncludes(a[s].substr(9)),this.$=a[s].substr(9);break;case 24:r.setTodayMarker(a[s].substr(12)),this.$=a[s].substr(12);break;case 27:r.setDiagramTitle(a[s].substr(6)),this.$=a[s].substr(6);break;case 28:this.$=a[s].trim(),r.setAccTitle(this.$);break;case 29:case 30:this.$=a[s].trim(),r.setAccDescription(this.$);break;case 31:r.addSection(a[s].substr(8)),this.$=a[s].substr(8);break;case 33:r.addTask(a[s-1],a[s]),this.$=`task`;break;case 34:this.$=a[s-1],r.setClickEvent(a[s-1],a[s],null);break;case 35:this.$=a[s-2],r.setClickEvent(a[s-2],a[s-1],a[s]);break;case 36:this.$=a[s-2],r.setClickEvent(a[s-2],a[s-1],null),r.setLink(a[s-2],a[s]);break;case 37:this.$=a[s-3],r.setClickEvent(a[s-3],a[s-2],a[s-1]),r.setLink(a[s-3],a[s]);break;case 38:this.$=a[s-2],r.setClickEvent(a[s-2],a[s],null),r.setLink(a[s-2],a[s-1]);break;case 39:this.$=a[s-3],r.setClickEvent(a[s-3],a[s-1],a[s]),r.setLink(a[s-3],a[s-2]);break;case 40:this.$=a[s-1],r.setLink(a[s-1],a[s]);break;case 41:case 47:this.$=a[s-1]+` `+a[s];break;case 42:case 43:case 45:this.$=a[s-2]+` `+a[s-1]+` `+a[s];break;case 44:case 46:this.$=a[s-3]+` `+a[s-2]+` `+a[s-1]+` `+a[s];break}},`anonymous`),table:[{3:1,4:[1,2]},{1:[3]},e(t,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:17,12:r,13:i,14:a,15:o,16:s,17:c,18:l,19:18,20:u,21:d,22:f,23:p,24:m,25:h,26:g,27:_,28:v,29:y,30:b,31:x,33:S,35:C,36:w,37:24,38:T,40:E},e(t,[2,7],{1:[2,1]}),e(t,[2,3]),{9:36,11:17,12:r,13:i,14:a,15:o,16:s,17:c,18:l,19:18,20:u,21:d,22:f,23:p,24:m,25:h,26:g,27:_,28:v,29:y,30:b,31:x,33:S,35:C,36:w,37:24,38:T,40:E},e(t,[2,5]),e(t,[2,6]),e(t,[2,17]),e(t,[2,18]),e(t,[2,19]),e(t,[2,20]),e(t,[2,21]),e(t,[2,22]),e(t,[2,23]),e(t,[2,24]),e(t,[2,25]),e(t,[2,26]),e(t,[2,27]),{32:[1,37]},{34:[1,38]},e(t,[2,30]),e(t,[2,31]),e(t,[2,32]),{39:[1,39]},e(t,[2,8]),e(t,[2,9]),e(t,[2,10]),e(t,[2,11]),e(t,[2,12]),e(t,[2,13]),e(t,[2,14]),e(t,[2,15]),e(t,[2,16]),{41:[1,40],43:[1,41]},e(t,[2,4]),e(t,[2,28]),e(t,[2,29]),e(t,[2,33]),e(t,[2,34],{42:[1,42],43:[1,43]}),e(t,[2,40],{41:[1,44]}),e(t,[2,35],{43:[1,45]}),e(t,[2,36]),e(t,[2,38],{42:[1,46]}),e(t,[2,37]),e(t,[2,39])],defaultActions:{},parseError:n(function(e,t){if(t.recoverable)this.trace(e);else{var n=Error(e);throw n.hash=t,n}},`parseError`),parse:n(function(e){var t=this,r=[0],i=[],a=[null],o=[],s=this.table,c=``,l=0,u=0,d=0,f=2,p=1,m=o.slice.call(arguments,1),h=Object.create(this.lexer),g={yy:{}};for(var _ in this.yy)Object.prototype.hasOwnProperty.call(this.yy,_)&&(g.yy[_]=this.yy[_]);h.setInput(e,g.yy),g.yy.lexer=h,g.yy.parser=this,h.yylloc===void 0&&(h.yylloc={});var v=h.yylloc;o.push(v);var y=h.options&&h.options.ranges;typeof g.yy.parseError==`function`?this.parseError=g.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function b(e){r.length-=2*e,a.length-=e,o.length-=e}n(b,`popStack`);function x(){var e=i.pop()||h.lex()||p;return typeof e!=`number`&&(e instanceof Array&&(i=e,e=i.pop()),e=t.symbols_[e]||e),e}n(x,`lex`);for(var S,C,w,T,E,D={},O,k,A,j;;){if(w=r[r.length-1],this.defaultActions[w]?T=this.defaultActions[w]:(S??=x(),T=s[w]&&s[w][S]),T===void 0||!T.length||!T[0]){var ee=``;for(O in j=[],s[w])this.terminals_[O]&&O>f&&j.push(`'`+this.terminals_[O]+`'`);ee=h.showPosition?`Parse error on line `+(l+1)+`:
|
|
2
2
|
`+h.showPosition()+`
|
|
3
3
|
Expecting `+j.join(`, `)+`, got '`+(this.terminals_[S]||S)+`'`:`Parse error on line `+(l+1)+`: Unexpected `+(S==p?`end of input`:`'`+(this.terminals_[S]||S)+`'`),this.parseError(ee,{text:h.match,token:this.terminals_[S]||S,line:h.yylineno,loc:v,expected:j})}if(T[0]instanceof Array&&T.length>1)throw Error(`Parse Error: multiple actions possible at state: `+w+`, token: `+S);switch(T[0]){case 1:r.push(S),a.push(h.yytext),o.push(h.yylloc),r.push(T[1]),S=null,C?(S=C,C=null):(u=h.yyleng,c=h.yytext,l=h.yylineno,v=h.yylloc,d>0&&d--);break;case 2:if(k=this.productions_[T[1]][1],D.$=a[a.length-k],D._$={first_line:o[o.length-(k||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(k||1)].first_column,last_column:o[o.length-1].last_column},y&&(D._$.range=[o[o.length-(k||1)].range[0],o[o.length-1].range[1]]),E=this.performAction.apply(D,[c,u,l,g.yy,T[1],a,o].concat(m)),E!==void 0)return E;k&&(r=r.slice(0,-1*k*2),a=a.slice(0,-1*k),o=o.slice(0,-1*k)),r.push(this.productions_[T[1]][0]),a.push(D.$),o.push(D._$),A=s[r[r.length-2]][r[r.length-1]],r.push(A);break;case 3:return!0}}return!0},`parse`)};D.lexer=(function(){return{EOF:1,parseError:n(function(e,t){if(this.yy.parser)this.yy.parser.parseError(e,t);else throw Error(e)},`parseError`),setInput:n(function(e,t){return this.yy=t||this.yy||{},this._input=e,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match=``,this.conditionStack=[`INITIAL`],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},`setInput`),input:n(function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e},`input`),unput:n(function(e){var t=e.length,n=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this},`unput`),more:n(function(){return this._more=!0,this},`more`),reject:n(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError(`Lexical error on line `+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
|
|
4
4
|
`+this.showPosition(),{text:``,token:null,line:this.yylineno});return this},`reject`),less:n(function(e){this.unput(this.match.slice(e))},`less`),pastInput:n(function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?`...`:``)+e.substr(-20).replace(/\n/g,``)},`pastInput`),upcomingInput:n(function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?`...`:``)).replace(/\n/g,``)},`upcomingInput`),showPosition:n(function(){var e=this.pastInput(),t=Array(e.length+1).join(`-`);return e+this.upcomingInput()+`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as e}from"./createLucideIcon-
|
|
1
|
+
import{t as e}from"./createLucideIcon-BUb14crZ.js";var t=e(`app-window`,[[`rect`,{x:`2`,y:`4`,width:`20`,height:`16`,rx:`2`,key:`izxlao`}],[`path`,{d:`M10 4v4`,key:`pp8u80`}],[`path`,{d:`M2 8h20`,key:`d11cs7`}],[`path`,{d:`M6 4v4`,key:`1svtjw`}]]),n=e(`git-branch`,[[`path`,{d:`M15 6a9 9 0 0 0-9 9V3`,key:`1cii5b`}],[`circle`,{cx:`18`,cy:`6`,r:`3`,key:`1h7g24`}],[`circle`,{cx:`6`,cy:`18`,r:`3`,key:`fqmcym`}]]);export{t as n,n as t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"./chunk-KEIR6QF5-CFEoHvxJ.js";import{n as e}from"./chunk-CYSBUYHQ-DxqLAiLc.js";export{e as createGitGraphServices};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{n as e}from"./chunk-Y2CYZVJY-CdjK8XQ9.js";import{t}from"./src-CqbXKF1x.js";import{H as n,K as r,U as i,Y as a,a as o,b as s,f as c,s as l,v as u,w as d,x as f,y as p}from"./chunk-WYO6CB5R-xIUZBSf_.js";import{C as m}from"./src-DKi9i97E.js";import{g as h,i as g,m as _}from"./chunk-ICXQ74PX-BpNEoAVh.js";import{t as v}from"./chunk-JWPE2WC7-BgE53Vu-.js";import{n as y}from"./mermaid-parser.core-DYtbeah1.js";import{t as b}from"./chunk-2Q5K7J3B-bH6Oyzw8.js";var x={NORMAL:0,REVERSE:1,HIGHLIGHT:2,MERGE:3,CHERRY_PICK:4},ee=c.gitGraph,S=e(()=>g({...ee,...s().gitGraph}),`getConfig`),C=new b(()=>{let e=S(),t=e.mainBranchName,n=e.mainBranchOrder;return{mainBranchName:t,commits:new Map,head:null,branchConfig:new Map([[t,{name:t,order:n}]]),branches:new Map([[t,null]]),currBranch:t,direction:`LR`,seq:0,options:{}}});function w(){return _({length:7})}e(w,`getID`);function T(e,t){let n=Object.create(null);return e.reduce((e,r)=>{let i=t(r);return n[i]||(n[i]=!0,e.push(r)),e},[])}e(T,`uniqBy`);var te=e(function(e){C.records.direction=e},`setDirection`),ne=e(function(e){t.debug(`options str`,e),e=e?.trim(),e||=`{}`;try{C.records.options=JSON.parse(e)}catch(e){t.error(`error while parsing gitGraph options`,e.message)}},`setOptions`),re=e(function(){return C.records.options},`getOptions`),ie=e(function(e){let n=e.msg,r=e.id,i=e.type,a=e.tags;t.info(`commit`,n,r,i,a),t.debug(`Entering commit:`,n,r,i,a);let o=S();r=l.sanitizeText(r,o),n=l.sanitizeText(n,o),a=a?.map(e=>l.sanitizeText(e,o));let s={id:r||C.records.seq+`-`+w(),message:n,seq:C.records.seq++,type:i??x.NORMAL,tags:a??[],parents:C.records.head==null?[]:[C.records.head.id],branch:C.records.currBranch};C.records.head=s,t.info(`main branch`,o.mainBranchName),C.records.commits.has(s.id)&&t.warn(`Commit ID ${s.id} already exists`),C.records.commits.set(s.id,s),C.records.branches.set(C.records.currBranch,s.id),t.debug(`in pushCommit `+s.id)},`commit`),ae=e(function(e){let n=e.name,r=e.order;if(n=l.sanitizeText(n,S()),C.records.branches.has(n))throw Error(`Trying to create an existing branch. (Help: Either use a new name if you want create a new branch or try using "checkout ${n}")`);C.records.branches.set(n,C.records.head==null?null:C.records.head.id),C.records.branchConfig.set(n,{name:n,order:r}),E(n),t.debug(`in createBranch`)},`branch`),oe=e(e=>{let n=e.branch,r=e.id,i=e.type,a=e.tags,o=S();n=l.sanitizeText(n,o),r&&=l.sanitizeText(r,o);let s=C.records.branches.get(C.records.currBranch),c=C.records.branches.get(n),u=s?C.records.commits.get(s):void 0,d=c?C.records.commits.get(c):void 0;if(u&&d&&u.branch===n)throw Error(`Cannot merge branch '${n}' into itself.`);if(C.records.currBranch===n){let e=Error(`Incorrect usage of "merge". Cannot merge a branch to itself`);throw e.hash={text:`merge ${n}`,token:`merge ${n}`,expected:[`branch abc`]},e}if(u===void 0||!u){let e=Error(`Incorrect usage of "merge". Current branch (${C.records.currBranch})has no commits`);throw e.hash={text:`merge ${n}`,token:`merge ${n}`,expected:[`commit`]},e}if(!C.records.branches.has(n)){let e=Error(`Incorrect usage of "merge". Branch to be merged (`+n+`) does not exist`);throw e.hash={text:`merge ${n}`,token:`merge ${n}`,expected:[`branch ${n}`]},e}if(d===void 0||!d){let e=Error(`Incorrect usage of "merge". Branch to be merged (`+n+`) has no commits`);throw e.hash={text:`merge ${n}`,token:`merge ${n}`,expected:[`"commit"`]},e}if(u===d){let e=Error(`Incorrect usage of "merge". Both branches have same head`);throw e.hash={text:`merge ${n}`,token:`merge ${n}`,expected:[`branch abc`]},e}if(r&&C.records.commits.has(r)){let e=Error(`Incorrect usage of "merge". Commit with id:`+r+` already exists, use different custom id`);throw e.hash={text:`merge ${n} ${r} ${i} ${a?.join(` `)}`,token:`merge ${n} ${r} ${i} ${a?.join(` `)}`,expected:[`merge ${n} ${r}_UNIQUE ${i} ${a?.join(` `)}`]},e}let f=c||``,p={id:r||`${C.records.seq}-${w()}`,message:`merged branch ${n} into ${C.records.currBranch}`,seq:C.records.seq++,parents:C.records.head==null?[]:[C.records.head.id,f],branch:C.records.currBranch,type:x.MERGE,customType:i,customId:!!r,tags:a??[]};C.records.head=p,C.records.commits.set(p.id,p),C.records.branches.set(C.records.currBranch,p.id),t.debug(C.records.branches),t.debug(`in mergeBranch`)},`merge`),se=e(function(e){let n=e.id,r=e.targetId,i=e.tags,a=e.parent;t.debug(`Entering cherryPick:`,n,r,i);let o=S();if(n=l.sanitizeText(n,o),r=l.sanitizeText(r,o),i=i?.map(e=>l.sanitizeText(e,o)),a=l.sanitizeText(a,o),!n||!C.records.commits.has(n)){let e=Error(`Incorrect usage of "cherryPick". Source commit id should exist and provided`);throw e.hash={text:`cherryPick ${n} ${r}`,token:`cherryPick ${n} ${r}`,expected:[`cherry-pick abc`]},e}let s=C.records.commits.get(n);if(s===void 0||!s)throw Error(`Incorrect usage of "cherryPick". Source commit id should exist and provided`);if(a&&!(Array.isArray(s.parents)&&s.parents.includes(a)))throw Error(`Invalid operation: The specified parent commit is not an immediate parent of the cherry-picked commit.`);let c=s.branch;if(s.type===x.MERGE&&!a)throw Error(`Incorrect usage of cherry-pick: If the source commit is a merge commit, an immediate parent commit must be specified.`);if(!r||!C.records.commits.has(r)){if(c===C.records.currBranch){let e=Error(`Incorrect usage of "cherryPick". Source commit is already on current branch`);throw e.hash={text:`cherryPick ${n} ${r}`,token:`cherryPick ${n} ${r}`,expected:[`cherry-pick abc`]},e}let e=C.records.branches.get(C.records.currBranch);if(e===void 0||!e){let e=Error(`Incorrect usage of "cherry-pick". Current branch (${C.records.currBranch})has no commits`);throw e.hash={text:`cherryPick ${n} ${r}`,token:`cherryPick ${n} ${r}`,expected:[`cherry-pick abc`]},e}let o=C.records.commits.get(e);if(o===void 0||!o){let e=Error(`Incorrect usage of "cherry-pick". Current branch (${C.records.currBranch})has no commits`);throw e.hash={text:`cherryPick ${n} ${r}`,token:`cherryPick ${n} ${r}`,expected:[`cherry-pick abc`]},e}let l={id:C.records.seq+`-`+w(),message:`cherry-picked ${s?.message} into ${C.records.currBranch}`,seq:C.records.seq++,parents:C.records.head==null?[]:[C.records.head.id,s.id],branch:C.records.currBranch,type:x.CHERRY_PICK,tags:i?i.filter(Boolean):[`cherry-pick:${s.id}${s.type===x.MERGE?`|parent:${a}`:``}`]};C.records.head=l,C.records.commits.set(l.id,l),C.records.branches.set(C.records.currBranch,l.id),t.debug(C.records.branches),t.debug(`in cherryPick`)}},`cherryPick`),E=e(function(e){if(e=l.sanitizeText(e,S()),C.records.branches.has(e)){C.records.currBranch=e;let t=C.records.branches.get(C.records.currBranch);t===void 0||!t?C.records.head=null:C.records.head=C.records.commits.get(t)??null}else{let t=Error(`Trying to checkout branch which is not yet created. (Help try using "branch ${e}")`);throw t.hash={text:`checkout ${e}`,token:`checkout ${e}`,expected:[`branch ${e}`]},t}},`checkout`);function D(e,t,n){let r=e.indexOf(t);r===-1?e.push(n):e.splice(r,1,n)}e(D,`upsert`);function O(e){let n=e.reduce((e,t)=>e.seq>t.seq?e:t,e[0]),r=``;e.forEach(function(e){e===n?r+=` *`:r+=` |`});let i=[r,n.id,n.seq];for(let e in C.records.branches)C.records.branches.get(e)===n.id&&i.push(e);if(t.debug(i.join(` `)),n.parents&&n.parents.length==2&&n.parents[0]&&n.parents[1]){let t=C.records.commits.get(n.parents[0]);D(e,n,t),n.parents[1]&&e.push(C.records.commits.get(n.parents[1]))}else if(n.parents.length==0)return;else if(n.parents[0]){let t=C.records.commits.get(n.parents[0]);D(e,n,t)}e=T(e,e=>e.id),O(e)}e(O,`prettyPrintCommitHistory`);var ce=e(function(){t.debug(C.records.commits);let e=k()[0];O([e])},`prettyPrint`),le=e(function(){C.reset(),o()},`clear`),ue=e(function(){return[...C.records.branchConfig.values()].map((e,t)=>e.order!==null&&e.order!==void 0?e:{...e,order:parseFloat(`0.${t}`)}).sort((e,t)=>(e.order??0)-(t.order??0)).map(({name:e})=>({name:e}))},`getBranchesAsObjArray`),de=e(function(){return C.records.branches},`getBranches`),fe=e(function(){return C.records.commits},`getCommits`),k=e(function(){let e=[...C.records.commits.values()];return e.forEach(function(e){t.debug(e.id)}),e.sort((e,t)=>e.seq-t.seq),e},`getCommitsArray`),A={commitType:x,getConfig:S,setDirection:te,setOptions:ne,getOptions:re,commit:ie,branch:ae,merge:oe,cherryPick:se,checkout:E,prettyPrint:ce,clear:le,getBranchesAsObjArray:ue,getBranches:de,getCommits:fe,getCommitsArray:k,getCurrentBranch:e(function(){return C.records.currBranch},`getCurrentBranch`),getDirection:e(function(){return C.records.direction},`getDirection`),getHead:e(function(){return C.records.head},`getHead`),setAccTitle:i,getAccTitle:p,getAccDescription:u,setAccDescription:n,setDiagramTitle:r,getDiagramTitle:d},pe=e((e,t)=>{v(e,t),e.dir&&t.setDirection(e.dir);for(let n of e.statements)me(n,t)},`populate`),me=e((n,r)=>{let i={Commit:e(e=>r.commit(he(e)),`Commit`),Branch:e(e=>r.branch(ge(e)),`Branch`),Merge:e(e=>r.merge(_e(e)),`Merge`),Checkout:e(e=>r.checkout(ve(e)),`Checkout`),CherryPicking:e(e=>r.cherryPick(ye(e)),`CherryPicking`)}[n.$type];i?i(n):t.error(`Unknown statement type: ${n.$type}`)},`parseStatement`),he=e(e=>({id:e.id,msg:e.message??``,type:e.type===void 0?x.NORMAL:x[e.type],tags:e.tags??void 0}),`parseCommit`),ge=e(e=>({name:e.name,order:e.order??0}),`parseBranch`),_e=e(e=>({branch:e.branch,id:e.id??``,type:e.type===void 0?void 0:x[e.type],tags:e.tags??void 0}),`parseMerge`),ve=e(e=>e.branch,`parseCheckout`),ye=e(e=>({id:e.id,targetId:``,tags:e.tags?.length===0?void 0:e.tags,parent:e.parent}),`parseCherryPicking`),be={parse:e(async e=>{let n=await y(`gitGraph`,e);t.debug(n),pe(n,A)},`parse`)},j=10,M=40,N=4,P=2,F=8,I=new Set([`redux`,`redux-dark`,`redux-color`,`redux-dark-color`]),L=12,R=new Set([`redux-color`,`redux-dark-color`]),xe=new Set([`dark`,`redux-dark`,`redux-dark-color`,`neo-dark`]),z=e((e,t,n=!1)=>n&&e>0?(e-1)%(t-1)+1:e%t,`calcColorIndex`),B=new Map,V=new Map,H=30,U=new Map,W=[],G=0,K=`LR`,q=e(()=>{B.clear(),V.clear(),U.clear(),G=0,W=[],K=`LR`},`clear`),J=e(e=>{let t=document.createElementNS(`http://www.w3.org/2000/svg`,`text`);return(typeof e==`string`?e.split(/\\n|\n|<br\s*\/?>/gi):e).forEach(e=>{let n=document.createElementNS(`http://www.w3.org/2000/svg`,`tspan`);n.setAttributeNS(`http://www.w3.org/XML/1998/namespace`,`xml:space`,`preserve`),n.setAttribute(`dy`,`1em`),n.setAttribute(`x`,`0`),n.setAttribute(`class`,`row`),n.textContent=e.trim(),t.appendChild(n)}),t},`drawText`),Y=e(t=>{let n,r,i;return K===`BT`?(r=e((e,t)=>e<=t,`comparisonFunc`),i=1/0):(r=e((e,t)=>e>=t,`comparisonFunc`),i=0),t.forEach(e=>{let t=K===`TB`||K==`BT`?V.get(e)?.y:V.get(e)?.x;t!==void 0&&r(t,i)&&(n=e,i=t)}),n},`findClosestParent`),Se=e(e=>{let t=``,n=1/0;return e.forEach(e=>{let r=V.get(e).y;r<=n&&(t=e,n=r)}),t||void 0},`findClosestParentBT`),Ce=e((e,t,n)=>{let r=n,i=n,a=[];e.forEach(e=>{let n=t.get(e);if(!n)throw Error(`Commit not found for key ${e}`);n.parents.length?(r=Te(n),i=Math.max(r,i)):a.push(n),Ee(n,r)}),r=i,a.forEach(e=>{De(e,r,n)}),e.forEach(e=>{let n=t.get(e);if(n?.parents.length){let e=Se(n.parents);r=V.get(e).y-M,r<=i&&(i=r);let t=B.get(n.branch).pos,a=r-j;V.set(n.id,{x:t,y:a})}})},`setParallelBTPos`),we=e(e=>{let t=Y(e.parents.filter(e=>e!==null));if(!t)throw Error(`Closest parent not found for commit ${e.id}`);let n=V.get(t)?.y;if(n===void 0)throw Error(`Closest parent position not found for commit ${e.id}`);return n},`findClosestParentPos`),Te=e(e=>we(e)+M,`calculateCommitPosition`),Ee=e((e,t)=>{let n=B.get(e.branch);if(!n)throw Error(`Branch not found for commit ${e.id}`);let r=n.pos,i=t+j;return V.set(e.id,{x:r,y:i}),{x:r,y:i}},`setCommitPosition`),De=e((e,t,n)=>{let r=B.get(e.branch);if(!r)throw Error(`Branch not found for commit ${e.id}`);let i=t+n,a=r.pos;V.set(e.id,{x:a,y:i})},`setRootPosition`),Oe=e((e,t,n,r,i,a)=>{let{theme:o}=f(),s=I.has(o??``),c=R.has(o??``),l=xe.has(o??``);if(a===x.HIGHLIGHT)e.append(`rect`).attr(`x`,n.x-10+(s?3:0)).attr(`y`,n.y-10+(s?3:0)).attr(`width`,s?14:20).attr(`height`,s?14:20).attr(`class`,`commit ${t.id} commit-highlight${z(i,F,c)} ${r}-outer`),e.append(`rect`).attr(`x`,n.x-6+(s?2:0)).attr(`y`,n.y-6+(s?2:0)).attr(`width`,s?8:12).attr(`height`,s?8:12).attr(`class`,`commit ${t.id} commit${z(i,F,c)} ${r}-inner`);else if(a===x.CHERRY_PICK)e.append(`circle`).attr(`cx`,n.x).attr(`cy`,n.y).attr(`r`,s?7:10).attr(`class`,`commit ${t.id} ${r}`),e.append(`circle`).attr(`cx`,n.x-3).attr(`cy`,n.y+2).attr(`r`,s?2.5:2.75).attr(`fill`,l?`#000000`:`#fff`).attr(`class`,`commit ${t.id} ${r}`),e.append(`circle`).attr(`cx`,n.x+3).attr(`cy`,n.y+2).attr(`r`,s?2.5:2.75).attr(`fill`,l?`#000000`:`#fff`).attr(`class`,`commit ${t.id} ${r}`),e.append(`line`).attr(`x1`,n.x+3).attr(`y1`,n.y+1).attr(`x2`,n.x).attr(`y2`,n.y-5).attr(`stroke`,l?`#000000`:`#fff`).attr(`class`,`commit ${t.id} ${r}`),e.append(`line`).attr(`x1`,n.x-3).attr(`y1`,n.y+1).attr(`x2`,n.x).attr(`y2`,n.y-5).attr(`stroke`,l?`#000000`:`#fff`).attr(`class`,`commit ${t.id} ${r}`);else{let o=e.append(`circle`);if(o.attr(`cx`,n.x),o.attr(`cy`,n.y),o.attr(`r`,s?7:10),o.attr(`class`,`commit ${t.id} commit${z(i,F,c)}`),a===x.MERGE){let a=e.append(`circle`);a.attr(`cx`,n.x),a.attr(`cy`,n.y),a.attr(`r`,s?5:6),a.attr(`class`,`commit ${r} ${t.id} commit${z(i,F,c)}`)}if(a===x.REVERSE){let a=e.append(`path`),o=s?4:5;a.attr(`d`,`M ${n.x-o},${n.y-o}L${n.x+o},${n.y+o}M${n.x-o},${n.y+o}L${n.x+o},${n.y-o}`).attr(`class`,`commit ${r} ${t.id} commit${z(i,F,c)}`)}}},`drawCommitBullet`),ke=e((e,t,n,r,i)=>{if(t.type!==x.CHERRY_PICK&&(t.customId&&t.type===x.MERGE||t.type!==x.MERGE)&&i.showCommitLabel){let a=e.append(`g`),o=a.insert(`rect`).attr(`class`,`commit-label-bkg`),s=a.append(`text`).attr(`x`,r).attr(`y`,n.y+25).attr(`class`,`commit-label`).text(t.id),c=s.node()?.getBBox();if(c&&(o.attr(`x`,n.posWithOffset-c.width/2-P).attr(`y`,n.y+13.5).attr(`width`,c.width+2*P).attr(`height`,c.height+2*P),K===`TB`||K===`BT`?(o.attr(`x`,n.x-(c.width+4*N+5)).attr(`y`,n.y-12),s.attr(`x`,n.x-(c.width+4*N)).attr(`y`,n.y+c.height-12)):s.attr(`x`,n.posWithOffset-c.width/2),i.rotateCommitLabel))if(K===`TB`||K===`BT`)s.attr(`transform`,`rotate(-45, `+n.x+`, `+n.y+`)`),o.attr(`transform`,`rotate(-45, `+n.x+`, `+n.y+`)`);else{let e=-7.5-(c.width+10)/25*9.5,t=10+c.width/25*8.5;a.attr(`transform`,`translate(`+e+`, `+t+`) rotate(-45, `+r+`, `+n.y+`)`)}}},`drawCommitLabel`),Ae=e((e,t,n,r)=>{if(t.tags.length>0){let i=0,a=0,o=0,s=[];for(let r of t.tags.reverse()){let t=e.insert(`polygon`),c=e.append(`circle`),l=e.append(`text`).attr(`y`,n.y-16-i).attr(`class`,`tag-label`).text(r),u=l.node()?.getBBox();if(!u)throw Error(`Tag bbox not found`);a=Math.max(a,u.width),o=Math.max(o,u.height),l.attr(`x`,n.posWithOffset-u.width/2),s.push({tag:l,hole:c,rect:t,yOffset:i}),i+=20}for(let{tag:e,hole:t,rect:i,yOffset:c}of s){let s=o/2,l=n.y-19.2-c;if(i.attr(`class`,`tag-label-bkg`).attr(`points`,`
|
|
1
|
+
import{n as e}from"./chunk-Y2CYZVJY-CX0MjbSu.js";import{t}from"./src-BlkIpXCO.js";import{H as n,K as r,U as i,Y as a,a as o,b as s,f as c,s as l,v as u,w as d,x as f,y as p}from"./chunk-WYO6CB5R-DyzfGKK0.js";import{C as m}from"./src-DlwJ21NB.js";import{g as h,i as g,m as _}from"./chunk-ICXQ74PX-BF1AraUQ.js";import{t as v}from"./chunk-JWPE2WC7-BuX-EugW.js";import{n as y}from"./mermaid-parser.core-BO-Jr815.js";import{t as b}from"./chunk-2Q5K7J3B-Bk0ErfBQ.js";var x={NORMAL:0,REVERSE:1,HIGHLIGHT:2,MERGE:3,CHERRY_PICK:4},ee=c.gitGraph,S=e(()=>g({...ee,...s().gitGraph}),`getConfig`),C=new b(()=>{let e=S(),t=e.mainBranchName,n=e.mainBranchOrder;return{mainBranchName:t,commits:new Map,head:null,branchConfig:new Map([[t,{name:t,order:n}]]),branches:new Map([[t,null]]),currBranch:t,direction:`LR`,seq:0,options:{}}});function w(){return _({length:7})}e(w,`getID`);function T(e,t){let n=Object.create(null);return e.reduce((e,r)=>{let i=t(r);return n[i]||(n[i]=!0,e.push(r)),e},[])}e(T,`uniqBy`);var te=e(function(e){C.records.direction=e},`setDirection`),ne=e(function(e){t.debug(`options str`,e),e=e?.trim(),e||=`{}`;try{C.records.options=JSON.parse(e)}catch(e){t.error(`error while parsing gitGraph options`,e.message)}},`setOptions`),re=e(function(){return C.records.options},`getOptions`),ie=e(function(e){let n=e.msg,r=e.id,i=e.type,a=e.tags;t.info(`commit`,n,r,i,a),t.debug(`Entering commit:`,n,r,i,a);let o=S();r=l.sanitizeText(r,o),n=l.sanitizeText(n,o),a=a?.map(e=>l.sanitizeText(e,o));let s={id:r||C.records.seq+`-`+w(),message:n,seq:C.records.seq++,type:i??x.NORMAL,tags:a??[],parents:C.records.head==null?[]:[C.records.head.id],branch:C.records.currBranch};C.records.head=s,t.info(`main branch`,o.mainBranchName),C.records.commits.has(s.id)&&t.warn(`Commit ID ${s.id} already exists`),C.records.commits.set(s.id,s),C.records.branches.set(C.records.currBranch,s.id),t.debug(`in pushCommit `+s.id)},`commit`),ae=e(function(e){let n=e.name,r=e.order;if(n=l.sanitizeText(n,S()),C.records.branches.has(n))throw Error(`Trying to create an existing branch. (Help: Either use a new name if you want create a new branch or try using "checkout ${n}")`);C.records.branches.set(n,C.records.head==null?null:C.records.head.id),C.records.branchConfig.set(n,{name:n,order:r}),E(n),t.debug(`in createBranch`)},`branch`),oe=e(e=>{let n=e.branch,r=e.id,i=e.type,a=e.tags,o=S();n=l.sanitizeText(n,o),r&&=l.sanitizeText(r,o);let s=C.records.branches.get(C.records.currBranch),c=C.records.branches.get(n),u=s?C.records.commits.get(s):void 0,d=c?C.records.commits.get(c):void 0;if(u&&d&&u.branch===n)throw Error(`Cannot merge branch '${n}' into itself.`);if(C.records.currBranch===n){let e=Error(`Incorrect usage of "merge". Cannot merge a branch to itself`);throw e.hash={text:`merge ${n}`,token:`merge ${n}`,expected:[`branch abc`]},e}if(u===void 0||!u){let e=Error(`Incorrect usage of "merge". Current branch (${C.records.currBranch})has no commits`);throw e.hash={text:`merge ${n}`,token:`merge ${n}`,expected:[`commit`]},e}if(!C.records.branches.has(n)){let e=Error(`Incorrect usage of "merge". Branch to be merged (`+n+`) does not exist`);throw e.hash={text:`merge ${n}`,token:`merge ${n}`,expected:[`branch ${n}`]},e}if(d===void 0||!d){let e=Error(`Incorrect usage of "merge". Branch to be merged (`+n+`) has no commits`);throw e.hash={text:`merge ${n}`,token:`merge ${n}`,expected:[`"commit"`]},e}if(u===d){let e=Error(`Incorrect usage of "merge". Both branches have same head`);throw e.hash={text:`merge ${n}`,token:`merge ${n}`,expected:[`branch abc`]},e}if(r&&C.records.commits.has(r)){let e=Error(`Incorrect usage of "merge". Commit with id:`+r+` already exists, use different custom id`);throw e.hash={text:`merge ${n} ${r} ${i} ${a?.join(` `)}`,token:`merge ${n} ${r} ${i} ${a?.join(` `)}`,expected:[`merge ${n} ${r}_UNIQUE ${i} ${a?.join(` `)}`]},e}let f=c||``,p={id:r||`${C.records.seq}-${w()}`,message:`merged branch ${n} into ${C.records.currBranch}`,seq:C.records.seq++,parents:C.records.head==null?[]:[C.records.head.id,f],branch:C.records.currBranch,type:x.MERGE,customType:i,customId:!!r,tags:a??[]};C.records.head=p,C.records.commits.set(p.id,p),C.records.branches.set(C.records.currBranch,p.id),t.debug(C.records.branches),t.debug(`in mergeBranch`)},`merge`),se=e(function(e){let n=e.id,r=e.targetId,i=e.tags,a=e.parent;t.debug(`Entering cherryPick:`,n,r,i);let o=S();if(n=l.sanitizeText(n,o),r=l.sanitizeText(r,o),i=i?.map(e=>l.sanitizeText(e,o)),a=l.sanitizeText(a,o),!n||!C.records.commits.has(n)){let e=Error(`Incorrect usage of "cherryPick". Source commit id should exist and provided`);throw e.hash={text:`cherryPick ${n} ${r}`,token:`cherryPick ${n} ${r}`,expected:[`cherry-pick abc`]},e}let s=C.records.commits.get(n);if(s===void 0||!s)throw Error(`Incorrect usage of "cherryPick". Source commit id should exist and provided`);if(a&&!(Array.isArray(s.parents)&&s.parents.includes(a)))throw Error(`Invalid operation: The specified parent commit is not an immediate parent of the cherry-picked commit.`);let c=s.branch;if(s.type===x.MERGE&&!a)throw Error(`Incorrect usage of cherry-pick: If the source commit is a merge commit, an immediate parent commit must be specified.`);if(!r||!C.records.commits.has(r)){if(c===C.records.currBranch){let e=Error(`Incorrect usage of "cherryPick". Source commit is already on current branch`);throw e.hash={text:`cherryPick ${n} ${r}`,token:`cherryPick ${n} ${r}`,expected:[`cherry-pick abc`]},e}let e=C.records.branches.get(C.records.currBranch);if(e===void 0||!e){let e=Error(`Incorrect usage of "cherry-pick". Current branch (${C.records.currBranch})has no commits`);throw e.hash={text:`cherryPick ${n} ${r}`,token:`cherryPick ${n} ${r}`,expected:[`cherry-pick abc`]},e}let o=C.records.commits.get(e);if(o===void 0||!o){let e=Error(`Incorrect usage of "cherry-pick". Current branch (${C.records.currBranch})has no commits`);throw e.hash={text:`cherryPick ${n} ${r}`,token:`cherryPick ${n} ${r}`,expected:[`cherry-pick abc`]},e}let l={id:C.records.seq+`-`+w(),message:`cherry-picked ${s?.message} into ${C.records.currBranch}`,seq:C.records.seq++,parents:C.records.head==null?[]:[C.records.head.id,s.id],branch:C.records.currBranch,type:x.CHERRY_PICK,tags:i?i.filter(Boolean):[`cherry-pick:${s.id}${s.type===x.MERGE?`|parent:${a}`:``}`]};C.records.head=l,C.records.commits.set(l.id,l),C.records.branches.set(C.records.currBranch,l.id),t.debug(C.records.branches),t.debug(`in cherryPick`)}},`cherryPick`),E=e(function(e){if(e=l.sanitizeText(e,S()),C.records.branches.has(e)){C.records.currBranch=e;let t=C.records.branches.get(C.records.currBranch);t===void 0||!t?C.records.head=null:C.records.head=C.records.commits.get(t)??null}else{let t=Error(`Trying to checkout branch which is not yet created. (Help try using "branch ${e}")`);throw t.hash={text:`checkout ${e}`,token:`checkout ${e}`,expected:[`branch ${e}`]},t}},`checkout`);function D(e,t,n){let r=e.indexOf(t);r===-1?e.push(n):e.splice(r,1,n)}e(D,`upsert`);function O(e){let n=e.reduce((e,t)=>e.seq>t.seq?e:t,e[0]),r=``;e.forEach(function(e){e===n?r+=` *`:r+=` |`});let i=[r,n.id,n.seq];for(let e in C.records.branches)C.records.branches.get(e)===n.id&&i.push(e);if(t.debug(i.join(` `)),n.parents&&n.parents.length==2&&n.parents[0]&&n.parents[1]){let t=C.records.commits.get(n.parents[0]);D(e,n,t),n.parents[1]&&e.push(C.records.commits.get(n.parents[1]))}else if(n.parents.length==0)return;else if(n.parents[0]){let t=C.records.commits.get(n.parents[0]);D(e,n,t)}e=T(e,e=>e.id),O(e)}e(O,`prettyPrintCommitHistory`);var ce=e(function(){t.debug(C.records.commits);let e=k()[0];O([e])},`prettyPrint`),le=e(function(){C.reset(),o()},`clear`),ue=e(function(){return[...C.records.branchConfig.values()].map((e,t)=>e.order!==null&&e.order!==void 0?e:{...e,order:parseFloat(`0.${t}`)}).sort((e,t)=>(e.order??0)-(t.order??0)).map(({name:e})=>({name:e}))},`getBranchesAsObjArray`),de=e(function(){return C.records.branches},`getBranches`),fe=e(function(){return C.records.commits},`getCommits`),k=e(function(){let e=[...C.records.commits.values()];return e.forEach(function(e){t.debug(e.id)}),e.sort((e,t)=>e.seq-t.seq),e},`getCommitsArray`),A={commitType:x,getConfig:S,setDirection:te,setOptions:ne,getOptions:re,commit:ie,branch:ae,merge:oe,cherryPick:se,checkout:E,prettyPrint:ce,clear:le,getBranchesAsObjArray:ue,getBranches:de,getCommits:fe,getCommitsArray:k,getCurrentBranch:e(function(){return C.records.currBranch},`getCurrentBranch`),getDirection:e(function(){return C.records.direction},`getDirection`),getHead:e(function(){return C.records.head},`getHead`),setAccTitle:i,getAccTitle:p,getAccDescription:u,setAccDescription:n,setDiagramTitle:r,getDiagramTitle:d},pe=e((e,t)=>{v(e,t),e.dir&&t.setDirection(e.dir);for(let n of e.statements)me(n,t)},`populate`),me=e((n,r)=>{let i={Commit:e(e=>r.commit(he(e)),`Commit`),Branch:e(e=>r.branch(ge(e)),`Branch`),Merge:e(e=>r.merge(_e(e)),`Merge`),Checkout:e(e=>r.checkout(ve(e)),`Checkout`),CherryPicking:e(e=>r.cherryPick(ye(e)),`CherryPicking`)}[n.$type];i?i(n):t.error(`Unknown statement type: ${n.$type}`)},`parseStatement`),he=e(e=>({id:e.id,msg:e.message??``,type:e.type===void 0?x.NORMAL:x[e.type],tags:e.tags??void 0}),`parseCommit`),ge=e(e=>({name:e.name,order:e.order??0}),`parseBranch`),_e=e(e=>({branch:e.branch,id:e.id??``,type:e.type===void 0?void 0:x[e.type],tags:e.tags??void 0}),`parseMerge`),ve=e(e=>e.branch,`parseCheckout`),ye=e(e=>({id:e.id,targetId:``,tags:e.tags?.length===0?void 0:e.tags,parent:e.parent}),`parseCherryPicking`),be={parse:e(async e=>{let n=await y(`gitGraph`,e);t.debug(n),pe(n,A)},`parse`)},j=10,M=40,N=4,P=2,F=8,I=new Set([`redux`,`redux-dark`,`redux-color`,`redux-dark-color`]),L=12,R=new Set([`redux-color`,`redux-dark-color`]),xe=new Set([`dark`,`redux-dark`,`redux-dark-color`,`neo-dark`]),z=e((e,t,n=!1)=>n&&e>0?(e-1)%(t-1)+1:e%t,`calcColorIndex`),B=new Map,V=new Map,H=30,U=new Map,W=[],G=0,K=`LR`,q=e(()=>{B.clear(),V.clear(),U.clear(),G=0,W=[],K=`LR`},`clear`),J=e(e=>{let t=document.createElementNS(`http://www.w3.org/2000/svg`,`text`);return(typeof e==`string`?e.split(/\\n|\n|<br\s*\/?>/gi):e).forEach(e=>{let n=document.createElementNS(`http://www.w3.org/2000/svg`,`tspan`);n.setAttributeNS(`http://www.w3.org/XML/1998/namespace`,`xml:space`,`preserve`),n.setAttribute(`dy`,`1em`),n.setAttribute(`x`,`0`),n.setAttribute(`class`,`row`),n.textContent=e.trim(),t.appendChild(n)}),t},`drawText`),Y=e(t=>{let n,r,i;return K===`BT`?(r=e((e,t)=>e<=t,`comparisonFunc`),i=1/0):(r=e((e,t)=>e>=t,`comparisonFunc`),i=0),t.forEach(e=>{let t=K===`TB`||K==`BT`?V.get(e)?.y:V.get(e)?.x;t!==void 0&&r(t,i)&&(n=e,i=t)}),n},`findClosestParent`),Se=e(e=>{let t=``,n=1/0;return e.forEach(e=>{let r=V.get(e).y;r<=n&&(t=e,n=r)}),t||void 0},`findClosestParentBT`),Ce=e((e,t,n)=>{let r=n,i=n,a=[];e.forEach(e=>{let n=t.get(e);if(!n)throw Error(`Commit not found for key ${e}`);n.parents.length?(r=Te(n),i=Math.max(r,i)):a.push(n),Ee(n,r)}),r=i,a.forEach(e=>{De(e,r,n)}),e.forEach(e=>{let n=t.get(e);if(n?.parents.length){let e=Se(n.parents);r=V.get(e).y-M,r<=i&&(i=r);let t=B.get(n.branch).pos,a=r-j;V.set(n.id,{x:t,y:a})}})},`setParallelBTPos`),we=e(e=>{let t=Y(e.parents.filter(e=>e!==null));if(!t)throw Error(`Closest parent not found for commit ${e.id}`);let n=V.get(t)?.y;if(n===void 0)throw Error(`Closest parent position not found for commit ${e.id}`);return n},`findClosestParentPos`),Te=e(e=>we(e)+M,`calculateCommitPosition`),Ee=e((e,t)=>{let n=B.get(e.branch);if(!n)throw Error(`Branch not found for commit ${e.id}`);let r=n.pos,i=t+j;return V.set(e.id,{x:r,y:i}),{x:r,y:i}},`setCommitPosition`),De=e((e,t,n)=>{let r=B.get(e.branch);if(!r)throw Error(`Branch not found for commit ${e.id}`);let i=t+n,a=r.pos;V.set(e.id,{x:a,y:i})},`setRootPosition`),Oe=e((e,t,n,r,i,a)=>{let{theme:o}=f(),s=I.has(o??``),c=R.has(o??``),l=xe.has(o??``);if(a===x.HIGHLIGHT)e.append(`rect`).attr(`x`,n.x-10+(s?3:0)).attr(`y`,n.y-10+(s?3:0)).attr(`width`,s?14:20).attr(`height`,s?14:20).attr(`class`,`commit ${t.id} commit-highlight${z(i,F,c)} ${r}-outer`),e.append(`rect`).attr(`x`,n.x-6+(s?2:0)).attr(`y`,n.y-6+(s?2:0)).attr(`width`,s?8:12).attr(`height`,s?8:12).attr(`class`,`commit ${t.id} commit${z(i,F,c)} ${r}-inner`);else if(a===x.CHERRY_PICK)e.append(`circle`).attr(`cx`,n.x).attr(`cy`,n.y).attr(`r`,s?7:10).attr(`class`,`commit ${t.id} ${r}`),e.append(`circle`).attr(`cx`,n.x-3).attr(`cy`,n.y+2).attr(`r`,s?2.5:2.75).attr(`fill`,l?`#000000`:`#fff`).attr(`class`,`commit ${t.id} ${r}`),e.append(`circle`).attr(`cx`,n.x+3).attr(`cy`,n.y+2).attr(`r`,s?2.5:2.75).attr(`fill`,l?`#000000`:`#fff`).attr(`class`,`commit ${t.id} ${r}`),e.append(`line`).attr(`x1`,n.x+3).attr(`y1`,n.y+1).attr(`x2`,n.x).attr(`y2`,n.y-5).attr(`stroke`,l?`#000000`:`#fff`).attr(`class`,`commit ${t.id} ${r}`),e.append(`line`).attr(`x1`,n.x-3).attr(`y1`,n.y+1).attr(`x2`,n.x).attr(`y2`,n.y-5).attr(`stroke`,l?`#000000`:`#fff`).attr(`class`,`commit ${t.id} ${r}`);else{let o=e.append(`circle`);if(o.attr(`cx`,n.x),o.attr(`cy`,n.y),o.attr(`r`,s?7:10),o.attr(`class`,`commit ${t.id} commit${z(i,F,c)}`),a===x.MERGE){let a=e.append(`circle`);a.attr(`cx`,n.x),a.attr(`cy`,n.y),a.attr(`r`,s?5:6),a.attr(`class`,`commit ${r} ${t.id} commit${z(i,F,c)}`)}if(a===x.REVERSE){let a=e.append(`path`),o=s?4:5;a.attr(`d`,`M ${n.x-o},${n.y-o}L${n.x+o},${n.y+o}M${n.x-o},${n.y+o}L${n.x+o},${n.y-o}`).attr(`class`,`commit ${r} ${t.id} commit${z(i,F,c)}`)}}},`drawCommitBullet`),ke=e((e,t,n,r,i)=>{if(t.type!==x.CHERRY_PICK&&(t.customId&&t.type===x.MERGE||t.type!==x.MERGE)&&i.showCommitLabel){let a=e.append(`g`),o=a.insert(`rect`).attr(`class`,`commit-label-bkg`),s=a.append(`text`).attr(`x`,r).attr(`y`,n.y+25).attr(`class`,`commit-label`).text(t.id),c=s.node()?.getBBox();if(c&&(o.attr(`x`,n.posWithOffset-c.width/2-P).attr(`y`,n.y+13.5).attr(`width`,c.width+2*P).attr(`height`,c.height+2*P),K===`TB`||K===`BT`?(o.attr(`x`,n.x-(c.width+4*N+5)).attr(`y`,n.y-12),s.attr(`x`,n.x-(c.width+4*N)).attr(`y`,n.y+c.height-12)):s.attr(`x`,n.posWithOffset-c.width/2),i.rotateCommitLabel))if(K===`TB`||K===`BT`)s.attr(`transform`,`rotate(-45, `+n.x+`, `+n.y+`)`),o.attr(`transform`,`rotate(-45, `+n.x+`, `+n.y+`)`);else{let e=-7.5-(c.width+10)/25*9.5,t=10+c.width/25*8.5;a.attr(`transform`,`translate(`+e+`, `+t+`) rotate(-45, `+r+`, `+n.y+`)`)}}},`drawCommitLabel`),Ae=e((e,t,n,r)=>{if(t.tags.length>0){let i=0,a=0,o=0,s=[];for(let r of t.tags.reverse()){let t=e.insert(`polygon`),c=e.append(`circle`),l=e.append(`text`).attr(`y`,n.y-16-i).attr(`class`,`tag-label`).text(r),u=l.node()?.getBBox();if(!u)throw Error(`Tag bbox not found`);a=Math.max(a,u.width),o=Math.max(o,u.height),l.attr(`x`,n.posWithOffset-u.width/2),s.push({tag:l,hole:c,rect:t,yOffset:i}),i+=20}for(let{tag:e,hole:t,rect:i,yOffset:c}of s){let s=o/2,l=n.y-19.2-c;if(i.attr(`class`,`tag-label-bkg`).attr(`points`,`
|
|
2
2
|
${r-a/2-N/2},${l+P}
|
|
3
3
|
${r-a/2-N/2},${l-P}
|
|
4
4
|
${n.posWithOffset-a/2-N},${l-s-P}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as e,i as t,n,o as r,r as i,s as a,t as o}from"./isObject-D9R1MIKv.js";function s(e,t){for(var n=-1,r=e==null?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}var c=Array.isArray,l=1/0,u=e?e.prototype:void 0,d=u?u.toString:void 0;function f(e){if(typeof e==`string`)return e;if(c(e))return s(e,f)+``;if(n(e))return d?d.call(e):``;var t=e+``;return t==`0`&&1/e==-l?`-0`:t}function p(e){return e}var m=`[object AsyncFunction]`,h=`[object Function]`,g=`[object GeneratorFunction]`,_=`[object Proxy]`;function v(e){if(!o(e))return!1;var n=t(e);return n==h||n==g||n==m||n==_}var y=r[`__core-js_shared__`],ee=function(){var e=/[^.]+$/.exec(y&&y.keys&&y.keys.IE_PROTO||``);return e?`Symbol(src)_1.`+e:``}();function te(e){return!!ee&&ee in e}var ne=Function.prototype.toString;function b(e){if(e!=null){try{return ne.call(e)}catch{}try{return e+``}catch{}}return``}var re=/[\\^$.*+?()[\]{}|]/g,ie=/^\[object .+?Constructor\]$/,ae=Function.prototype,oe=Object.prototype,se=ae.toString,ce=oe.hasOwnProperty,le=RegExp(`^`+se.call(ce).replace(re,`\\$&`).replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,`$1.*?`)+`$`);function ue(e){return!o(e)||te(e)?!1:(v(e)?le:ie).test(b(e))}function de(e,t){return e?.[t]}function x(e,t){var n=de(e,t);return ue(n)?n:void 0}var fe=x(r,`WeakMap`);function pe(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function me(){}var he=800,ge=16,_e=Date.now;function ve(e){var t=0,n=0;return function(){var r=_e(),i=ge-(r-n);if(n=r,i>0){if(++t>=he)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function S(e){return function(){return e}}var ye=function(){try{var e=x(Object,`defineProperty`);return e({},``,{}),e}catch{}}(),be=ve(ye?function(e,t){return ye(e,`toString`,{configurable:!0,enumerable:!1,value:S(t),writable:!0})}:p);function xe(e,t){for(var n=-1,r=e==null?0:e.length;++n<r&&t(e[n],n,e)!==!1;);return e}function Se(e,t,n,r){for(var i=e.length,a=n+(r?1:-1);r?a--:++a<i;)if(t(e[a],a,e))return a;return-1}function Ce(e){return e!==e}function we(e,t,n){for(var r=n-1,i=e.length;++r<i;)if(e[r]===t)return r;return-1}function Te(e,t,n){return t===t?we(e,t,n):Se(e,Ce,n)}function Ee(e,t){return!!(e!=null&&e.length)&&Te(e,t,0)>-1}var De=9007199254740991,Oe=/^(?:0|[1-9]\d*)$/;function C(e,t){var n=typeof e;return t??=De,!!t&&(n==`number`||n!=`symbol`&&Oe.test(e))&&e>-1&&e%1==0&&e<t}function ke(e,t){return e===t||e!==e&&t!==t}var Ae=Math.max;function je(e,t,n){return t=Ae(t===void 0?e.length-1:t,0),function(){for(var r=arguments,i=-1,a=Ae(r.length-t,0),o=Array(a);++i<a;)o[i]=r[t+i];i=-1;for(var s=Array(t+1);++i<t;)s[i]=r[i];return s[t]=n(o),pe(e,this,s)}}function Me(e,t){return be(je(e,t,p),e+``)}var Ne=9007199254740991;function Pe(e){return typeof e==`number`&&e>-1&&e%1==0&&e<=Ne}function w(e){return e!=null&&Pe(e.length)&&!v(e)}var Fe=Object.prototype;function Ie(e){var t=e&&e.constructor;return e===(typeof t==`function`&&t.prototype||Fe)}function Le(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}var Re=`[object Arguments]`;function ze(e){return i(e)&&t(e)==Re}var Be=Object.prototype,Ve=Be.hasOwnProperty,He=Be.propertyIsEnumerable,T=ze(function(){return arguments}())?ze:function(e){return i(e)&&Ve.call(e,`callee`)&&!He.call(e,`callee`)};function Ue(){return!1}var We=typeof exports==`object`&&exports&&!exports.nodeType&&exports,Ge=We&&typeof module==`object`&&module&&!module.nodeType&&module,Ke=Ge&&Ge.exports===We?r.Buffer:void 0,E=(Ke?Ke.isBuffer:void 0)||Ue,qe=`[object Arguments]`,Je=`[object Array]`,Ye=`[object Boolean]`,Xe=`[object Date]`,Ze=`[object Error]`,Qe=`[object Function]`,$e=`[object Map]`,et=`[object Number]`,tt=`[object Object]`,nt=`[object RegExp]`,rt=`[object Set]`,it=`[object String]`,at=`[object WeakMap]`,ot=`[object ArrayBuffer]`,st=`[object DataView]`,ct=`[object Float32Array]`,lt=`[object Float64Array]`,ut=`[object Int8Array]`,dt=`[object Int16Array]`,ft=`[object Int32Array]`,pt=`[object Uint8Array]`,mt=`[object Uint8ClampedArray]`,ht=`[object Uint16Array]`,gt=`[object Uint32Array]`,D={};D[ct]=D[lt]=D[ut]=D[dt]=D[ft]=D[pt]=D[mt]=D[ht]=D[gt]=!0,D[qe]=D[Je]=D[ot]=D[Ye]=D[st]=D[Xe]=D[Ze]=D[Qe]=D[$e]=D[et]=D[tt]=D[nt]=D[rt]=D[it]=D[at]=!1;function _t(e){return i(e)&&Pe(e.length)&&!!D[t(e)]}function vt(e){return function(t){return e(t)}}var yt=typeof exports==`object`&&exports&&!exports.nodeType&&exports,O=yt&&typeof module==`object`&&module&&!module.nodeType&&module,bt=O&&O.exports===yt&&a.process,xt=function(){try{return O&&O.require&&O.require(`util`).types||bt&&bt.binding&&bt.binding(`util`)}catch{}}(),St=xt&&xt.isTypedArray,k=St?vt(St):_t,Ct=Object.prototype.hasOwnProperty;function wt(e,t){var n=c(e),r=!n&&T(e),i=!n&&!r&&E(e),a=!n&&!r&&!i&&k(e),o=n||r||i||a,s=o?Le(e.length,String):[],l=s.length;for(var u in e)(t||Ct.call(e,u))&&!(o&&(u==`length`||i&&(u==`offset`||u==`parent`)||a&&(u==`buffer`||u==`byteLength`||u==`byteOffset`)||C(u,l)))&&s.push(u);return s}function Tt(e,t){return function(n){return e(t(n))}}var Et=Tt(Object.keys,Object),Dt=Object.prototype.hasOwnProperty;function A(e){if(!Ie(e))return Et(e);var t=[];for(var n in Object(e))Dt.call(e,n)&&n!=`constructor`&&t.push(n);return t}function j(e){return w(e)?wt(e):A(e)}var Ot=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,kt=/^\w*$/;function At(e,t){if(c(e))return!1;var r=typeof e;return r==`number`||r==`symbol`||r==`boolean`||e==null||n(e)?!0:kt.test(e)||!Ot.test(e)||t!=null&&e in Object(t)}var M=x(Object,`create`);function jt(){this.__data__=M?M(null):{},this.size=0}function Mt(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=+!!t,t}var Nt=`__lodash_hash_undefined__`,Pt=Object.prototype.hasOwnProperty;function Ft(e){var t=this.__data__;if(M){var n=t[e];return n===Nt?void 0:n}return Pt.call(t,e)?t[e]:void 0}var It=Object.prototype.hasOwnProperty;function Lt(e){var t=this.__data__;return M?t[e]!==void 0:It.call(t,e)}var Rt=`__lodash_hash_undefined__`;function zt(e,t){var n=this.__data__;return this.size+=+!this.has(e),n[e]=M&&t===void 0?Rt:t,this}function N(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}N.prototype.clear=jt,N.prototype.delete=Mt,N.prototype.get=Ft,N.prototype.has=Lt,N.prototype.set=zt;function Bt(){this.__data__=[],this.size=0}function P(e,t){for(var n=e.length;n--;)if(ke(e[n][0],t))return n;return-1}var Vt=Array.prototype.splice;function Ht(e){var t=this.__data__,n=P(t,e);return n<0?!1:(n==t.length-1?t.pop():Vt.call(t,n,1),--this.size,!0)}function Ut(e){var t=this.__data__,n=P(t,e);return n<0?void 0:t[n][1]}function Wt(e){return P(this.__data__,e)>-1}function Gt(e,t){var n=this.__data__,r=P(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function F(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}F.prototype.clear=Bt,F.prototype.delete=Ht,F.prototype.get=Ut,F.prototype.has=Wt,F.prototype.set=Gt;var I=x(r,`Map`);function Kt(){this.size=0,this.__data__={hash:new N,map:new(I||F),string:new N}}function qt(e){var t=typeof e;return t==`string`||t==`number`||t==`symbol`||t==`boolean`?e!==`__proto__`:e===null}function L(e,t){var n=e.__data__;return qt(t)?n[typeof t==`string`?`string`:`hash`]:n.map}function Jt(e){var t=L(this,e).delete(e);return this.size-=+!!t,t}function Yt(e){return L(this,e).get(e)}function Xt(e){return L(this,e).has(e)}function Zt(e,t){var n=L(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}function R(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}R.prototype.clear=Kt,R.prototype.delete=Jt,R.prototype.get=Yt,R.prototype.has=Xt,R.prototype.set=Zt;var Qt=`Expected a function`;function $t(e,t){if(typeof e!=`function`||t!=null&&typeof t!=`function`)throw TypeError(Qt);var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],a=n.cache;if(a.has(i))return a.get(i);var o=e.apply(this,r);return n.cache=a.set(i,o)||a,o};return n.cache=new($t.Cache||R),n}$t.Cache=R;var en=500;function tn(e){var t=$t(e,function(e){return n.size===en&&n.clear(),e}),n=t.cache;return t}var nn=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,rn=/\\(\\)?/g,an=tn(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(``),e.replace(nn,function(e,n,r,i){t.push(r?i.replace(rn,`$1`):n||e)}),t});function on(e){return e==null?``:f(e)}function sn(e,t){return c(e)?e:At(e,t)?[e]:an(on(e))}var cn=1/0;function z(e){if(typeof e==`string`||n(e))return e;var t=e+``;return t==`0`&&1/e==-cn?`-0`:t}function ln(e,t){t=sn(t,e);for(var n=0,r=t.length;e!=null&&n<r;)e=e[z(t[n++])];return n&&n==r?e:void 0}function un(e,t,n){var r=e==null?void 0:ln(e,t);return r===void 0?n:r}function dn(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}var fn=e?e.isConcatSpreadable:void 0;function pn(e){return c(e)||T(e)||!!(fn&&e&&e[fn])}function mn(e,t,n,r,i){var a=-1,o=e.length;for(n||=pn,i||=[];++a<o;){var s=e[a];t>0&&n(s)?t>1?mn(s,t-1,n,r,i):dn(i,s):r||(i[i.length]=s)}return i}function hn(e,t,n,r){var i=-1,a=e==null?0:e.length;for(r&&a&&(n=e[++i]);++i<a;)n=t(n,e[i],i,e);return n}function gn(){this.__data__=new F,this.size=0}function _n(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}function vn(e){return this.__data__.get(e)}function yn(e){return this.__data__.has(e)}var bn=200;function xn(e,t){var n=this.__data__;if(n instanceof F){var r=n.__data__;if(!I||r.length<bn-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new R(r)}return n.set(e,t),this.size=n.size,this}function B(e){this.size=(this.__data__=new F(e)).size}B.prototype.clear=gn,B.prototype.delete=_n,B.prototype.get=vn,B.prototype.has=yn,B.prototype.set=xn;function Sn(e,t){for(var n=-1,r=e==null?0:e.length,i=0,a=[];++n<r;){var o=e[n];t(o,n,e)&&(a[i++]=o)}return a}function Cn(){return[]}var wn=Object.prototype.propertyIsEnumerable,Tn=Object.getOwnPropertySymbols,En=Tn?function(e){return e==null?[]:(e=Object(e),Sn(Tn(e),function(t){return wn.call(e,t)}))}:Cn;function Dn(e,t,n){var r=t(e);return c(e)?r:dn(r,n(e))}function On(e){return Dn(e,j,En)}var kn=x(r,`DataView`),An=x(r,`Promise`),V=x(r,`Set`),jn=`[object Map]`,Mn=`[object Object]`,Nn=`[object Promise]`,Pn=`[object Set]`,Fn=`[object WeakMap]`,In=`[object DataView]`,Ln=b(kn),Rn=b(I),zn=b(An),Bn=b(V),Vn=b(fe),H=t;(kn&&H(new kn(new ArrayBuffer(1)))!=In||I&&H(new I)!=jn||An&&H(An.resolve())!=Nn||V&&H(new V)!=Pn||fe&&H(new fe)!=Fn)&&(H=function(e){var n=t(e),r=n==Mn?e.constructor:void 0,i=r?b(r):``;if(i)switch(i){case Ln:return In;case Rn:return jn;case zn:return Nn;case Bn:return Pn;case Vn:return Fn}return n});var U=H,Hn=r.Uint8Array,Un=`__lodash_hash_undefined__`;function Wn(e){return this.__data__.set(e,Un),this}function Gn(e){return this.__data__.has(e)}function W(e){var t=-1,n=e==null?0:e.length;for(this.__data__=new R;++t<n;)this.add(e[t])}W.prototype.add=W.prototype.push=Wn,W.prototype.has=Gn;function Kn(e,t){for(var n=-1,r=e==null?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}function qn(e,t){return e.has(t)}var Jn=1,Yn=2;function Xn(e,t,n,r,i,a){var o=n&Jn,s=e.length,c=t.length;if(s!=c&&!(o&&c>s))return!1;var l=a.get(e),u=a.get(t);if(l&&u)return l==t&&u==e;var d=-1,f=!0,p=n&Yn?new W:void 0;for(a.set(e,t),a.set(t,e);++d<s;){var m=e[d],h=t[d];if(r)var g=o?r(h,m,d,t,e,a):r(m,h,d,e,t,a);if(g!==void 0){if(g)continue;f=!1;break}if(p){if(!Kn(t,function(e,t){if(!qn(p,t)&&(m===e||i(m,e,n,r,a)))return p.push(t)})){f=!1;break}}else if(!(m===h||i(m,h,n,r,a))){f=!1;break}}return a.delete(e),a.delete(t),f}function Zn(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}function Qn(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}var $n=1,er=2,tr=`[object Boolean]`,nr=`[object Date]`,rr=`[object Error]`,ir=`[object Map]`,ar=`[object Number]`,or=`[object RegExp]`,sr=`[object Set]`,cr=`[object String]`,lr=`[object Symbol]`,ur=`[object ArrayBuffer]`,dr=`[object DataView]`,fr=e?e.prototype:void 0,pr=fr?fr.valueOf:void 0;function mr(e,t,n,r,i,a,o){switch(n){case dr:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case ur:return!(e.byteLength!=t.byteLength||!a(new Hn(e),new Hn(t)));case tr:case nr:case ar:return ke(+e,+t);case rr:return e.name==t.name&&e.message==t.message;case or:case cr:return e==t+``;case ir:var s=Zn;case sr:var c=r&$n;if(s||=Qn,e.size!=t.size&&!c)return!1;var l=o.get(e);if(l)return l==t;r|=er,o.set(e,t);var u=Xn(s(e),s(t),r,i,a,o);return o.delete(e),u;case lr:if(pr)return pr.call(e)==pr.call(t)}return!1}var hr=1,gr=Object.prototype.hasOwnProperty;function _r(e,t,n,r,i,a){var o=n&hr,s=On(e),c=s.length;if(c!=On(t).length&&!o)return!1;for(var l=c;l--;){var u=s[l];if(!(o?u in t:gr.call(t,u)))return!1}var d=a.get(e),f=a.get(t);if(d&&f)return d==t&&f==e;var p=!0;a.set(e,t),a.set(t,e);for(var m=o;++l<c;){u=s[l];var h=e[u],g=t[u];if(r)var _=o?r(g,h,u,t,e,a):r(h,g,u,e,t,a);if(!(_===void 0?h===g||i(h,g,n,r,a):_)){p=!1;break}m||=u==`constructor`}if(p&&!m){var v=e.constructor,y=t.constructor;v!=y&&`constructor`in e&&`constructor`in t&&!(typeof v==`function`&&v instanceof v&&typeof y==`function`&&y instanceof y)&&(p=!1)}return a.delete(e),a.delete(t),p}var vr=1,yr=`[object Arguments]`,br=`[object Array]`,G=`[object Object]`,xr=Object.prototype.hasOwnProperty;function Sr(e,t,n,r,i,a){var o=c(e),s=c(t),l=o?br:U(e),u=s?br:U(t);l=l==yr?G:l,u=u==yr?G:u;var d=l==G,f=u==G,p=l==u;if(p&&E(e)){if(!E(t))return!1;o=!0,d=!1}if(p&&!d)return a||=new B,o||k(e)?Xn(e,t,n,r,i,a):mr(e,t,l,n,r,i,a);if(!(n&vr)){var m=d&&xr.call(e,`__wrapped__`),h=f&&xr.call(t,`__wrapped__`);if(m||h){var g=m?e.value():e,_=h?t.value():t;return a||=new B,i(g,_,n,r,a)}}return p?(a||=new B,_r(e,t,n,r,i,a)):!1}function Cr(e,t,n,r,a){return e===t?!0:e==null||t==null||!i(e)&&!i(t)?e!==e&&t!==t:Sr(e,t,n,r,Cr,a)}var wr=1,Tr=2;function Er(e,t,n,r){var i=n.length,a=i,o=!r;if(e==null)return!a;for(e=Object(e);i--;){var s=n[i];if(o&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++i<a;){s=n[i];var c=s[0],l=e[c],u=s[1];if(o&&s[2]){if(l===void 0&&!(c in e))return!1}else{var d=new B;if(r)var f=r(l,u,c,e,t,d);if(!(f===void 0?Cr(u,l,wr|Tr,r,d):f))return!1}}return!0}function Dr(e){return e===e&&!o(e)}function Or(e){for(var t=j(e),n=t.length;n--;){var r=t[n],i=e[r];t[n]=[r,i,Dr(i)]}return t}function kr(e,t){return function(n){return n==null?!1:n[e]===t&&(t!==void 0||e in Object(n))}}function Ar(e){var t=Or(e);return t.length==1&&t[0][2]?kr(t[0][0],t[0][1]):function(n){return n===e||Er(n,e,t)}}function jr(e,t){return e!=null&&t in Object(e)}function Mr(e,t,n){t=sn(t,e);for(var r=-1,i=t.length,a=!1;++r<i;){var o=z(t[r]);if(!(a=e!=null&&n(e,o)))break;e=e[o]}return a||++r!=i?a:(i=e==null?0:e.length,!!i&&Pe(i)&&C(o,i)&&(c(e)||T(e)))}function Nr(e,t){return e!=null&&Mr(e,t,jr)}var Pr=1,Fr=2;function Ir(e,t){return At(e)&&Dr(t)?kr(z(e),t):function(n){var r=un(n,e);return r===void 0&&r===t?Nr(n,e):Cr(t,r,Pr|Fr)}}function Lr(e){return function(t){return t?.[e]}}function Rr(e){return function(t){return ln(t,e)}}function zr(e){return At(e)?Lr(z(e)):Rr(e)}function K(e){return typeof e==`function`?e:e==null?p:typeof e==`object`?c(e)?Ir(e[0],e[1]):Ar(e):zr(e)}function Br(e){return function(t,n,r){for(var i=-1,a=Object(t),o=r(t),s=o.length;s--;){var c=o[e?s:++i];if(n(a[c],c,a)===!1)break}return t}}var Vr=Br();function Hr(e,t){return e&&Vr(e,t,j)}function Ur(e,t){return function(n,r){if(n==null)return n;if(!w(n))return e(n,r);for(var i=n.length,a=t?i:-1,o=Object(n);(t?a--:++a<i)&&r(o[a],a,o)!==!1;);return n}}var q=Ur(Hr);function Wr(e){return i(e)&&w(e)}function Gr(e,t,n){for(var r=-1,i=e==null?0:e.length;++r<i;)if(n(t,e[r]))return!0;return!1}function Kr(e){return typeof e==`function`?e:p}function J(e,t){return(c(e)?xe:q)(e,Kr(t))}function qr(e,t){var n=[];return q(e,function(e,r,i){t(e,r,i)&&n.push(e)}),n}function Y(e,t){return(c(e)?Sn:qr)(e,K(t,3))}function Jr(e,t){return s(t,function(t){return e[t]})}function X(e){return e==null?[]:Jr(e,j(e))}var Yr=`[object Map]`,Xr=`[object Set]`,Zr=Object.prototype.hasOwnProperty;function Qr(e){if(e==null)return!0;if(w(e)&&(c(e)||typeof e==`string`||typeof e.splice==`function`||E(e)||k(e)||T(e)))return!e.length;var t=U(e);if(t==Yr||t==Xr)return!e.size;if(Ie(e))return!A(e).length;for(var n in e)if(Zr.call(e,n))return!1;return!0}function Z(e){return e===void 0}function $r(e,t,n,r,i){return i(e,function(e,i,a){n=r?(r=!1,e):t(n,e,i,a)}),n}function ei(e,t,n){var r=c(e)?hn:$r,i=arguments.length<3;return r(e,K(t,4),n,i,q)}var ti=V&&1/Qn(new V([,-0]))[1]==1/0?function(e){return new V(e)}:me,ni=200;function ri(e,t,n){var r=-1,i=Ee,a=e.length,o=!0,s=[],c=s;if(n)o=!1,i=Gr;else if(a>=ni){var l=t?null:ti(e);if(l)return Qn(l);o=!1,i=qn,c=new W}else c=t?[]:s;outer:for(;++r<a;){var u=e[r],d=t?t(u):u;if(u=n||u!==0?u:0,o&&d===d){for(var f=c.length;f--;)if(c[f]===d)continue outer;t&&c.push(d),s.push(u)}else i(c,d,n)||(c!==s&&c.push(d),s.push(u))}return s}var ii=Me(function(e){return ri(mn(e,1,Wr,!0))}),ai=`\0`,Q=`\0`,oi=``,si=class{constructor(e={}){this._isDirected=Object.prototype.hasOwnProperty.call(e,`directed`)?e.directed:!0,this._isMultigraph=Object.prototype.hasOwnProperty.call(e,`multigraph`)?e.multigraph:!1,this._isCompound=Object.prototype.hasOwnProperty.call(e,`compound`)?e.compound:!1,this._label=void 0,this._defaultNodeLabelFn=S(void 0),this._defaultEdgeLabelFn=S(void 0),this._nodes={},this._isCompound&&(this._parent={},this._children={},this._children[Q]={}),this._in={},this._preds={},this._out={},this._sucs={},this._edgeObjs={},this._edgeLabels={}}isDirected(){return this._isDirected}isMultigraph(){return this._isMultigraph}isCompound(){return this._isCompound}setGraph(e){return this._label=e,this}graph(){return this._label}setDefaultNodeLabel(e){return v(e)||(e=S(e)),this._defaultNodeLabelFn=e,this}nodeCount(){return this._nodeCount}nodes(){return j(this._nodes)}sources(){var e=this;return Y(this.nodes(),function(t){return Qr(e._in[t])})}sinks(){var e=this;return Y(this.nodes(),function(t){return Qr(e._out[t])})}setNodes(e,t){var n=arguments,r=this;return J(e,function(e){n.length>1?r.setNode(e,t):r.setNode(e)}),this}setNode(e,t){return Object.prototype.hasOwnProperty.call(this._nodes,e)?(arguments.length>1&&(this._nodes[e]=t),this):(this._nodes[e]=arguments.length>1?t:this._defaultNodeLabelFn(e),this._isCompound&&(this._parent[e]=Q,this._children[e]={},this._children[Q][e]=!0),this._in[e]={},this._preds[e]={},this._out[e]={},this._sucs[e]={},++this._nodeCount,this)}node(e){return this._nodes[e]}hasNode(e){return Object.prototype.hasOwnProperty.call(this._nodes,e)}removeNode(e){if(Object.prototype.hasOwnProperty.call(this._nodes,e)){var t=e=>this.removeEdge(this._edgeObjs[e]);delete this._nodes[e],this._isCompound&&(this._removeFromParentsChildList(e),delete this._parent[e],J(this.children(e),e=>{this.setParent(e)}),delete this._children[e]),J(j(this._in[e]),t),delete this._in[e],delete this._preds[e],J(j(this._out[e]),t),delete this._out[e],delete this._sucs[e],--this._nodeCount}return this}setParent(e,t){if(!this._isCompound)throw Error(`Cannot set parent in a non-compound graph`);if(Z(t))t=Q;else{t+=``;for(var n=t;!Z(n);n=this.parent(n))if(n===e)throw Error(`Setting `+t+` as parent of `+e+` would create a cycle`);this.setNode(t)}return this.setNode(e),this._removeFromParentsChildList(e),this._parent[e]=t,this._children[t][e]=!0,this}_removeFromParentsChildList(e){delete this._children[this._parent[e]][e]}parent(e){if(this._isCompound){var t=this._parent[e];if(t!==Q)return t}}children(e){if(Z(e)&&(e=Q),this._isCompound){var t=this._children[e];if(t)return j(t)}else if(e===Q)return this.nodes();else if(this.hasNode(e))return[]}predecessors(e){var t=this._preds[e];if(t)return j(t)}successors(e){var t=this._sucs[e];if(t)return j(t)}neighbors(e){var t=this.predecessors(e);if(t)return ii(t,this.successors(e))}isLeaf(e){return(this.isDirected()?this.successors(e):this.neighbors(e)).length===0}filterNodes(e){var t=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});t.setGraph(this.graph());var n=this;J(this._nodes,function(n,r){e(r)&&t.setNode(r,n)}),J(this._edgeObjs,function(e){t.hasNode(e.v)&&t.hasNode(e.w)&&t.setEdge(e,n.edge(e))});var r={};function i(e){var a=n.parent(e);return a===void 0||t.hasNode(a)?(r[e]=a,a):a in r?r[a]:i(a)}return this._isCompound&&J(t.nodes(),function(e){t.setParent(e,i(e))}),t}setDefaultEdgeLabel(e){return v(e)||(e=S(e)),this._defaultEdgeLabelFn=e,this}edgeCount(){return this._edgeCount}edges(){return X(this._edgeObjs)}setPath(e,t){var n=this,r=arguments;return ei(e,function(e,i){return r.length>1?n.setEdge(e,i,t):n.setEdge(e,i),i}),this}setEdge(){var e,t,n,r,i=!1,a=arguments[0];typeof a==`object`&&a&&`v`in a?(e=a.v,t=a.w,n=a.name,arguments.length===2&&(r=arguments[1],i=!0)):(e=a,t=arguments[1],n=arguments[3],arguments.length>2&&(r=arguments[2],i=!0)),e=``+e,t=``+t,Z(n)||(n=``+n);var o=$(this._isDirected,e,t,n);if(Object.prototype.hasOwnProperty.call(this._edgeLabels,o))return i&&(this._edgeLabels[o]=r),this;if(!Z(n)&&!this._isMultigraph)throw Error(`Cannot set a named edge when isMultigraph = false`);this.setNode(e),this.setNode(t),this._edgeLabels[o]=i?r:this._defaultEdgeLabelFn(e,t,n);var s=ui(this._isDirected,e,t,n);return e=s.v,t=s.w,Object.freeze(s),this._edgeObjs[o]=s,ci(this._preds[t],e),ci(this._sucs[e],t),this._in[t][o]=s,this._out[e][o]=s,this._edgeCount++,this}edge(e,t,n){var r=arguments.length===1?di(this._isDirected,arguments[0]):$(this._isDirected,e,t,n);return this._edgeLabels[r]}hasEdge(e,t,n){var r=arguments.length===1?di(this._isDirected,arguments[0]):$(this._isDirected,e,t,n);return Object.prototype.hasOwnProperty.call(this._edgeLabels,r)}removeEdge(e,t,n){var r=arguments.length===1?di(this._isDirected,arguments[0]):$(this._isDirected,e,t,n),i=this._edgeObjs[r];return i&&(e=i.v,t=i.w,delete this._edgeLabels[r],delete this._edgeObjs[r],li(this._preds[t],e),li(this._sucs[e],t),delete this._in[t][r],delete this._out[e][r],this._edgeCount--),this}inEdges(e,t){var n=this._in[e];if(n){var r=X(n);return t?Y(r,function(e){return e.v===t}):r}}outEdges(e,t){var n=this._out[e];if(n){var r=X(n);return t?Y(r,function(e){return e.w===t}):r}}nodeEdges(e,t){var n=this.inEdges(e,t);if(n)return n.concat(this.outEdges(e,t))}};si.prototype._nodeCount=0,si.prototype._edgeCount=0;function ci(e,t){e[t]?e[t]++:e[t]=1}function li(e,t){--e[t]||delete e[t]}function $(e,t,n,r){var i=``+t,a=``+n;if(!e&&i>a){var o=i;i=a,a=o}return i+oi+a+oi+(Z(r)?ai:r)}function ui(e,t,n,r){var i=``+t,a=``+n;if(!e&&i>a){var o=i;i=a,a=o}var s={v:i,w:a};return r&&(s.name=r),s}function di(e,t){return $(e,t.v,t.w,t.name)}export{A,Me as B,mn as C,sn as D,z as E,vt as F,xe as G,ke as H,E as I,S as J,be as K,T as L,wt as M,k as N,on as O,xt as P,s as Q,Ie as R,B as S,ln as T,C as U,je as V,Se as W,p as X,v as Y,c as Z,U as _,Y as a,En as b,Wr as c,Vr as d,K as f,Hn as g,Mr as h,X as i,Tt as j,j as k,q as l,Nr as m,ei as n,J as o,Lr as p,ye as q,Z as r,Kr as s,si as t,Hr as u,On as v,dn as w,Cn as x,Dn as y,w as z};
|
|
1
|
+
import{a as e,i as t,n,o as r,r as i,s as a,t as o}from"./isObject-ClHKc-zZ.js";function s(e,t){for(var n=-1,r=e==null?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}var c=Array.isArray,l=1/0,u=e?e.prototype:void 0,d=u?u.toString:void 0;function f(e){if(typeof e==`string`)return e;if(c(e))return s(e,f)+``;if(n(e))return d?d.call(e):``;var t=e+``;return t==`0`&&1/e==-l?`-0`:t}function p(e){return e}var m=`[object AsyncFunction]`,h=`[object Function]`,g=`[object GeneratorFunction]`,_=`[object Proxy]`;function v(e){if(!o(e))return!1;var n=t(e);return n==h||n==g||n==m||n==_}var y=r[`__core-js_shared__`],ee=function(){var e=/[^.]+$/.exec(y&&y.keys&&y.keys.IE_PROTO||``);return e?`Symbol(src)_1.`+e:``}();function te(e){return!!ee&&ee in e}var ne=Function.prototype.toString;function b(e){if(e!=null){try{return ne.call(e)}catch{}try{return e+``}catch{}}return``}var re=/[\\^$.*+?()[\]{}|]/g,ie=/^\[object .+?Constructor\]$/,ae=Function.prototype,oe=Object.prototype,se=ae.toString,ce=oe.hasOwnProperty,le=RegExp(`^`+se.call(ce).replace(re,`\\$&`).replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,`$1.*?`)+`$`);function ue(e){return!o(e)||te(e)?!1:(v(e)?le:ie).test(b(e))}function de(e,t){return e?.[t]}function x(e,t){var n=de(e,t);return ue(n)?n:void 0}var fe=x(r,`WeakMap`);function pe(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function me(){}var he=800,ge=16,_e=Date.now;function ve(e){var t=0,n=0;return function(){var r=_e(),i=ge-(r-n);if(n=r,i>0){if(++t>=he)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function S(e){return function(){return e}}var ye=function(){try{var e=x(Object,`defineProperty`);return e({},``,{}),e}catch{}}(),be=ve(ye?function(e,t){return ye(e,`toString`,{configurable:!0,enumerable:!1,value:S(t),writable:!0})}:p);function xe(e,t){for(var n=-1,r=e==null?0:e.length;++n<r&&t(e[n],n,e)!==!1;);return e}function Se(e,t,n,r){for(var i=e.length,a=n+(r?1:-1);r?a--:++a<i;)if(t(e[a],a,e))return a;return-1}function Ce(e){return e!==e}function we(e,t,n){for(var r=n-1,i=e.length;++r<i;)if(e[r]===t)return r;return-1}function Te(e,t,n){return t===t?we(e,t,n):Se(e,Ce,n)}function Ee(e,t){return!!(e!=null&&e.length)&&Te(e,t,0)>-1}var De=9007199254740991,Oe=/^(?:0|[1-9]\d*)$/;function C(e,t){var n=typeof e;return t??=De,!!t&&(n==`number`||n!=`symbol`&&Oe.test(e))&&e>-1&&e%1==0&&e<t}function ke(e,t){return e===t||e!==e&&t!==t}var Ae=Math.max;function je(e,t,n){return t=Ae(t===void 0?e.length-1:t,0),function(){for(var r=arguments,i=-1,a=Ae(r.length-t,0),o=Array(a);++i<a;)o[i]=r[t+i];i=-1;for(var s=Array(t+1);++i<t;)s[i]=r[i];return s[t]=n(o),pe(e,this,s)}}function Me(e,t){return be(je(e,t,p),e+``)}var Ne=9007199254740991;function Pe(e){return typeof e==`number`&&e>-1&&e%1==0&&e<=Ne}function w(e){return e!=null&&Pe(e.length)&&!v(e)}var Fe=Object.prototype;function Ie(e){var t=e&&e.constructor;return e===(typeof t==`function`&&t.prototype||Fe)}function Le(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}var Re=`[object Arguments]`;function ze(e){return i(e)&&t(e)==Re}var Be=Object.prototype,Ve=Be.hasOwnProperty,He=Be.propertyIsEnumerable,T=ze(function(){return arguments}())?ze:function(e){return i(e)&&Ve.call(e,`callee`)&&!He.call(e,`callee`)};function Ue(){return!1}var We=typeof exports==`object`&&exports&&!exports.nodeType&&exports,Ge=We&&typeof module==`object`&&module&&!module.nodeType&&module,Ke=Ge&&Ge.exports===We?r.Buffer:void 0,E=(Ke?Ke.isBuffer:void 0)||Ue,qe=`[object Arguments]`,Je=`[object Array]`,Ye=`[object Boolean]`,Xe=`[object Date]`,Ze=`[object Error]`,Qe=`[object Function]`,$e=`[object Map]`,et=`[object Number]`,tt=`[object Object]`,nt=`[object RegExp]`,rt=`[object Set]`,it=`[object String]`,at=`[object WeakMap]`,ot=`[object ArrayBuffer]`,st=`[object DataView]`,ct=`[object Float32Array]`,lt=`[object Float64Array]`,ut=`[object Int8Array]`,dt=`[object Int16Array]`,ft=`[object Int32Array]`,pt=`[object Uint8Array]`,mt=`[object Uint8ClampedArray]`,ht=`[object Uint16Array]`,gt=`[object Uint32Array]`,D={};D[ct]=D[lt]=D[ut]=D[dt]=D[ft]=D[pt]=D[mt]=D[ht]=D[gt]=!0,D[qe]=D[Je]=D[ot]=D[Ye]=D[st]=D[Xe]=D[Ze]=D[Qe]=D[$e]=D[et]=D[tt]=D[nt]=D[rt]=D[it]=D[at]=!1;function _t(e){return i(e)&&Pe(e.length)&&!!D[t(e)]}function vt(e){return function(t){return e(t)}}var yt=typeof exports==`object`&&exports&&!exports.nodeType&&exports,O=yt&&typeof module==`object`&&module&&!module.nodeType&&module,bt=O&&O.exports===yt&&a.process,xt=function(){try{return O&&O.require&&O.require(`util`).types||bt&&bt.binding&&bt.binding(`util`)}catch{}}(),St=xt&&xt.isTypedArray,k=St?vt(St):_t,Ct=Object.prototype.hasOwnProperty;function wt(e,t){var n=c(e),r=!n&&T(e),i=!n&&!r&&E(e),a=!n&&!r&&!i&&k(e),o=n||r||i||a,s=o?Le(e.length,String):[],l=s.length;for(var u in e)(t||Ct.call(e,u))&&!(o&&(u==`length`||i&&(u==`offset`||u==`parent`)||a&&(u==`buffer`||u==`byteLength`||u==`byteOffset`)||C(u,l)))&&s.push(u);return s}function Tt(e,t){return function(n){return e(t(n))}}var Et=Tt(Object.keys,Object),Dt=Object.prototype.hasOwnProperty;function A(e){if(!Ie(e))return Et(e);var t=[];for(var n in Object(e))Dt.call(e,n)&&n!=`constructor`&&t.push(n);return t}function j(e){return w(e)?wt(e):A(e)}var Ot=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,kt=/^\w*$/;function At(e,t){if(c(e))return!1;var r=typeof e;return r==`number`||r==`symbol`||r==`boolean`||e==null||n(e)?!0:kt.test(e)||!Ot.test(e)||t!=null&&e in Object(t)}var M=x(Object,`create`);function jt(){this.__data__=M?M(null):{},this.size=0}function Mt(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=+!!t,t}var Nt=`__lodash_hash_undefined__`,Pt=Object.prototype.hasOwnProperty;function Ft(e){var t=this.__data__;if(M){var n=t[e];return n===Nt?void 0:n}return Pt.call(t,e)?t[e]:void 0}var It=Object.prototype.hasOwnProperty;function Lt(e){var t=this.__data__;return M?t[e]!==void 0:It.call(t,e)}var Rt=`__lodash_hash_undefined__`;function zt(e,t){var n=this.__data__;return this.size+=+!this.has(e),n[e]=M&&t===void 0?Rt:t,this}function N(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}N.prototype.clear=jt,N.prototype.delete=Mt,N.prototype.get=Ft,N.prototype.has=Lt,N.prototype.set=zt;function Bt(){this.__data__=[],this.size=0}function P(e,t){for(var n=e.length;n--;)if(ke(e[n][0],t))return n;return-1}var Vt=Array.prototype.splice;function Ht(e){var t=this.__data__,n=P(t,e);return n<0?!1:(n==t.length-1?t.pop():Vt.call(t,n,1),--this.size,!0)}function Ut(e){var t=this.__data__,n=P(t,e);return n<0?void 0:t[n][1]}function Wt(e){return P(this.__data__,e)>-1}function Gt(e,t){var n=this.__data__,r=P(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function F(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}F.prototype.clear=Bt,F.prototype.delete=Ht,F.prototype.get=Ut,F.prototype.has=Wt,F.prototype.set=Gt;var I=x(r,`Map`);function Kt(){this.size=0,this.__data__={hash:new N,map:new(I||F),string:new N}}function qt(e){var t=typeof e;return t==`string`||t==`number`||t==`symbol`||t==`boolean`?e!==`__proto__`:e===null}function L(e,t){var n=e.__data__;return qt(t)?n[typeof t==`string`?`string`:`hash`]:n.map}function Jt(e){var t=L(this,e).delete(e);return this.size-=+!!t,t}function Yt(e){return L(this,e).get(e)}function Xt(e){return L(this,e).has(e)}function Zt(e,t){var n=L(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}function R(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}R.prototype.clear=Kt,R.prototype.delete=Jt,R.prototype.get=Yt,R.prototype.has=Xt,R.prototype.set=Zt;var Qt=`Expected a function`;function $t(e,t){if(typeof e!=`function`||t!=null&&typeof t!=`function`)throw TypeError(Qt);var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],a=n.cache;if(a.has(i))return a.get(i);var o=e.apply(this,r);return n.cache=a.set(i,o)||a,o};return n.cache=new($t.Cache||R),n}$t.Cache=R;var en=500;function tn(e){var t=$t(e,function(e){return n.size===en&&n.clear(),e}),n=t.cache;return t}var nn=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,rn=/\\(\\)?/g,an=tn(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(``),e.replace(nn,function(e,n,r,i){t.push(r?i.replace(rn,`$1`):n||e)}),t});function on(e){return e==null?``:f(e)}function sn(e,t){return c(e)?e:At(e,t)?[e]:an(on(e))}var cn=1/0;function z(e){if(typeof e==`string`||n(e))return e;var t=e+``;return t==`0`&&1/e==-cn?`-0`:t}function ln(e,t){t=sn(t,e);for(var n=0,r=t.length;e!=null&&n<r;)e=e[z(t[n++])];return n&&n==r?e:void 0}function un(e,t,n){var r=e==null?void 0:ln(e,t);return r===void 0?n:r}function dn(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}var fn=e?e.isConcatSpreadable:void 0;function pn(e){return c(e)||T(e)||!!(fn&&e&&e[fn])}function mn(e,t,n,r,i){var a=-1,o=e.length;for(n||=pn,i||=[];++a<o;){var s=e[a];t>0&&n(s)?t>1?mn(s,t-1,n,r,i):dn(i,s):r||(i[i.length]=s)}return i}function hn(e,t,n,r){var i=-1,a=e==null?0:e.length;for(r&&a&&(n=e[++i]);++i<a;)n=t(n,e[i],i,e);return n}function gn(){this.__data__=new F,this.size=0}function _n(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}function vn(e){return this.__data__.get(e)}function yn(e){return this.__data__.has(e)}var bn=200;function xn(e,t){var n=this.__data__;if(n instanceof F){var r=n.__data__;if(!I||r.length<bn-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new R(r)}return n.set(e,t),this.size=n.size,this}function B(e){this.size=(this.__data__=new F(e)).size}B.prototype.clear=gn,B.prototype.delete=_n,B.prototype.get=vn,B.prototype.has=yn,B.prototype.set=xn;function Sn(e,t){for(var n=-1,r=e==null?0:e.length,i=0,a=[];++n<r;){var o=e[n];t(o,n,e)&&(a[i++]=o)}return a}function Cn(){return[]}var wn=Object.prototype.propertyIsEnumerable,Tn=Object.getOwnPropertySymbols,En=Tn?function(e){return e==null?[]:(e=Object(e),Sn(Tn(e),function(t){return wn.call(e,t)}))}:Cn;function Dn(e,t,n){var r=t(e);return c(e)?r:dn(r,n(e))}function On(e){return Dn(e,j,En)}var kn=x(r,`DataView`),An=x(r,`Promise`),V=x(r,`Set`),jn=`[object Map]`,Mn=`[object Object]`,Nn=`[object Promise]`,Pn=`[object Set]`,Fn=`[object WeakMap]`,In=`[object DataView]`,Ln=b(kn),Rn=b(I),zn=b(An),Bn=b(V),Vn=b(fe),H=t;(kn&&H(new kn(new ArrayBuffer(1)))!=In||I&&H(new I)!=jn||An&&H(An.resolve())!=Nn||V&&H(new V)!=Pn||fe&&H(new fe)!=Fn)&&(H=function(e){var n=t(e),r=n==Mn?e.constructor:void 0,i=r?b(r):``;if(i)switch(i){case Ln:return In;case Rn:return jn;case zn:return Nn;case Bn:return Pn;case Vn:return Fn}return n});var U=H,Hn=r.Uint8Array,Un=`__lodash_hash_undefined__`;function Wn(e){return this.__data__.set(e,Un),this}function Gn(e){return this.__data__.has(e)}function W(e){var t=-1,n=e==null?0:e.length;for(this.__data__=new R;++t<n;)this.add(e[t])}W.prototype.add=W.prototype.push=Wn,W.prototype.has=Gn;function Kn(e,t){for(var n=-1,r=e==null?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}function qn(e,t){return e.has(t)}var Jn=1,Yn=2;function Xn(e,t,n,r,i,a){var o=n&Jn,s=e.length,c=t.length;if(s!=c&&!(o&&c>s))return!1;var l=a.get(e),u=a.get(t);if(l&&u)return l==t&&u==e;var d=-1,f=!0,p=n&Yn?new W:void 0;for(a.set(e,t),a.set(t,e);++d<s;){var m=e[d],h=t[d];if(r)var g=o?r(h,m,d,t,e,a):r(m,h,d,e,t,a);if(g!==void 0){if(g)continue;f=!1;break}if(p){if(!Kn(t,function(e,t){if(!qn(p,t)&&(m===e||i(m,e,n,r,a)))return p.push(t)})){f=!1;break}}else if(!(m===h||i(m,h,n,r,a))){f=!1;break}}return a.delete(e),a.delete(t),f}function Zn(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}function Qn(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}var $n=1,er=2,tr=`[object Boolean]`,nr=`[object Date]`,rr=`[object Error]`,ir=`[object Map]`,ar=`[object Number]`,or=`[object RegExp]`,sr=`[object Set]`,cr=`[object String]`,lr=`[object Symbol]`,ur=`[object ArrayBuffer]`,dr=`[object DataView]`,fr=e?e.prototype:void 0,pr=fr?fr.valueOf:void 0;function mr(e,t,n,r,i,a,o){switch(n){case dr:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case ur:return!(e.byteLength!=t.byteLength||!a(new Hn(e),new Hn(t)));case tr:case nr:case ar:return ke(+e,+t);case rr:return e.name==t.name&&e.message==t.message;case or:case cr:return e==t+``;case ir:var s=Zn;case sr:var c=r&$n;if(s||=Qn,e.size!=t.size&&!c)return!1;var l=o.get(e);if(l)return l==t;r|=er,o.set(e,t);var u=Xn(s(e),s(t),r,i,a,o);return o.delete(e),u;case lr:if(pr)return pr.call(e)==pr.call(t)}return!1}var hr=1,gr=Object.prototype.hasOwnProperty;function _r(e,t,n,r,i,a){var o=n&hr,s=On(e),c=s.length;if(c!=On(t).length&&!o)return!1;for(var l=c;l--;){var u=s[l];if(!(o?u in t:gr.call(t,u)))return!1}var d=a.get(e),f=a.get(t);if(d&&f)return d==t&&f==e;var p=!0;a.set(e,t),a.set(t,e);for(var m=o;++l<c;){u=s[l];var h=e[u],g=t[u];if(r)var _=o?r(g,h,u,t,e,a):r(h,g,u,e,t,a);if(!(_===void 0?h===g||i(h,g,n,r,a):_)){p=!1;break}m||=u==`constructor`}if(p&&!m){var v=e.constructor,y=t.constructor;v!=y&&`constructor`in e&&`constructor`in t&&!(typeof v==`function`&&v instanceof v&&typeof y==`function`&&y instanceof y)&&(p=!1)}return a.delete(e),a.delete(t),p}var vr=1,yr=`[object Arguments]`,br=`[object Array]`,G=`[object Object]`,xr=Object.prototype.hasOwnProperty;function Sr(e,t,n,r,i,a){var o=c(e),s=c(t),l=o?br:U(e),u=s?br:U(t);l=l==yr?G:l,u=u==yr?G:u;var d=l==G,f=u==G,p=l==u;if(p&&E(e)){if(!E(t))return!1;o=!0,d=!1}if(p&&!d)return a||=new B,o||k(e)?Xn(e,t,n,r,i,a):mr(e,t,l,n,r,i,a);if(!(n&vr)){var m=d&&xr.call(e,`__wrapped__`),h=f&&xr.call(t,`__wrapped__`);if(m||h){var g=m?e.value():e,_=h?t.value():t;return a||=new B,i(g,_,n,r,a)}}return p?(a||=new B,_r(e,t,n,r,i,a)):!1}function Cr(e,t,n,r,a){return e===t?!0:e==null||t==null||!i(e)&&!i(t)?e!==e&&t!==t:Sr(e,t,n,r,Cr,a)}var wr=1,Tr=2;function Er(e,t,n,r){var i=n.length,a=i,o=!r;if(e==null)return!a;for(e=Object(e);i--;){var s=n[i];if(o&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++i<a;){s=n[i];var c=s[0],l=e[c],u=s[1];if(o&&s[2]){if(l===void 0&&!(c in e))return!1}else{var d=new B;if(r)var f=r(l,u,c,e,t,d);if(!(f===void 0?Cr(u,l,wr|Tr,r,d):f))return!1}}return!0}function Dr(e){return e===e&&!o(e)}function Or(e){for(var t=j(e),n=t.length;n--;){var r=t[n],i=e[r];t[n]=[r,i,Dr(i)]}return t}function kr(e,t){return function(n){return n==null?!1:n[e]===t&&(t!==void 0||e in Object(n))}}function Ar(e){var t=Or(e);return t.length==1&&t[0][2]?kr(t[0][0],t[0][1]):function(n){return n===e||Er(n,e,t)}}function jr(e,t){return e!=null&&t in Object(e)}function Mr(e,t,n){t=sn(t,e);for(var r=-1,i=t.length,a=!1;++r<i;){var o=z(t[r]);if(!(a=e!=null&&n(e,o)))break;e=e[o]}return a||++r!=i?a:(i=e==null?0:e.length,!!i&&Pe(i)&&C(o,i)&&(c(e)||T(e)))}function Nr(e,t){return e!=null&&Mr(e,t,jr)}var Pr=1,Fr=2;function Ir(e,t){return At(e)&&Dr(t)?kr(z(e),t):function(n){var r=un(n,e);return r===void 0&&r===t?Nr(n,e):Cr(t,r,Pr|Fr)}}function Lr(e){return function(t){return t?.[e]}}function Rr(e){return function(t){return ln(t,e)}}function zr(e){return At(e)?Lr(z(e)):Rr(e)}function K(e){return typeof e==`function`?e:e==null?p:typeof e==`object`?c(e)?Ir(e[0],e[1]):Ar(e):zr(e)}function Br(e){return function(t,n,r){for(var i=-1,a=Object(t),o=r(t),s=o.length;s--;){var c=o[e?s:++i];if(n(a[c],c,a)===!1)break}return t}}var Vr=Br();function Hr(e,t){return e&&Vr(e,t,j)}function Ur(e,t){return function(n,r){if(n==null)return n;if(!w(n))return e(n,r);for(var i=n.length,a=t?i:-1,o=Object(n);(t?a--:++a<i)&&r(o[a],a,o)!==!1;);return n}}var q=Ur(Hr);function Wr(e){return i(e)&&w(e)}function Gr(e,t,n){for(var r=-1,i=e==null?0:e.length;++r<i;)if(n(t,e[r]))return!0;return!1}function Kr(e){return typeof e==`function`?e:p}function J(e,t){return(c(e)?xe:q)(e,Kr(t))}function qr(e,t){var n=[];return q(e,function(e,r,i){t(e,r,i)&&n.push(e)}),n}function Y(e,t){return(c(e)?Sn:qr)(e,K(t,3))}function Jr(e,t){return s(t,function(t){return e[t]})}function X(e){return e==null?[]:Jr(e,j(e))}var Yr=`[object Map]`,Xr=`[object Set]`,Zr=Object.prototype.hasOwnProperty;function Qr(e){if(e==null)return!0;if(w(e)&&(c(e)||typeof e==`string`||typeof e.splice==`function`||E(e)||k(e)||T(e)))return!e.length;var t=U(e);if(t==Yr||t==Xr)return!e.size;if(Ie(e))return!A(e).length;for(var n in e)if(Zr.call(e,n))return!1;return!0}function Z(e){return e===void 0}function $r(e,t,n,r,i){return i(e,function(e,i,a){n=r?(r=!1,e):t(n,e,i,a)}),n}function ei(e,t,n){var r=c(e)?hn:$r,i=arguments.length<3;return r(e,K(t,4),n,i,q)}var ti=V&&1/Qn(new V([,-0]))[1]==1/0?function(e){return new V(e)}:me,ni=200;function ri(e,t,n){var r=-1,i=Ee,a=e.length,o=!0,s=[],c=s;if(n)o=!1,i=Gr;else if(a>=ni){var l=t?null:ti(e);if(l)return Qn(l);o=!1,i=qn,c=new W}else c=t?[]:s;outer:for(;++r<a;){var u=e[r],d=t?t(u):u;if(u=n||u!==0?u:0,o&&d===d){for(var f=c.length;f--;)if(c[f]===d)continue outer;t&&c.push(d),s.push(u)}else i(c,d,n)||(c!==s&&c.push(d),s.push(u))}return s}var ii=Me(function(e){return ri(mn(e,1,Wr,!0))}),ai=`\0`,Q=`\0`,oi=``,si=class{constructor(e={}){this._isDirected=Object.prototype.hasOwnProperty.call(e,`directed`)?e.directed:!0,this._isMultigraph=Object.prototype.hasOwnProperty.call(e,`multigraph`)?e.multigraph:!1,this._isCompound=Object.prototype.hasOwnProperty.call(e,`compound`)?e.compound:!1,this._label=void 0,this._defaultNodeLabelFn=S(void 0),this._defaultEdgeLabelFn=S(void 0),this._nodes={},this._isCompound&&(this._parent={},this._children={},this._children[Q]={}),this._in={},this._preds={},this._out={},this._sucs={},this._edgeObjs={},this._edgeLabels={}}isDirected(){return this._isDirected}isMultigraph(){return this._isMultigraph}isCompound(){return this._isCompound}setGraph(e){return this._label=e,this}graph(){return this._label}setDefaultNodeLabel(e){return v(e)||(e=S(e)),this._defaultNodeLabelFn=e,this}nodeCount(){return this._nodeCount}nodes(){return j(this._nodes)}sources(){var e=this;return Y(this.nodes(),function(t){return Qr(e._in[t])})}sinks(){var e=this;return Y(this.nodes(),function(t){return Qr(e._out[t])})}setNodes(e,t){var n=arguments,r=this;return J(e,function(e){n.length>1?r.setNode(e,t):r.setNode(e)}),this}setNode(e,t){return Object.prototype.hasOwnProperty.call(this._nodes,e)?(arguments.length>1&&(this._nodes[e]=t),this):(this._nodes[e]=arguments.length>1?t:this._defaultNodeLabelFn(e),this._isCompound&&(this._parent[e]=Q,this._children[e]={},this._children[Q][e]=!0),this._in[e]={},this._preds[e]={},this._out[e]={},this._sucs[e]={},++this._nodeCount,this)}node(e){return this._nodes[e]}hasNode(e){return Object.prototype.hasOwnProperty.call(this._nodes,e)}removeNode(e){if(Object.prototype.hasOwnProperty.call(this._nodes,e)){var t=e=>this.removeEdge(this._edgeObjs[e]);delete this._nodes[e],this._isCompound&&(this._removeFromParentsChildList(e),delete this._parent[e],J(this.children(e),e=>{this.setParent(e)}),delete this._children[e]),J(j(this._in[e]),t),delete this._in[e],delete this._preds[e],J(j(this._out[e]),t),delete this._out[e],delete this._sucs[e],--this._nodeCount}return this}setParent(e,t){if(!this._isCompound)throw Error(`Cannot set parent in a non-compound graph`);if(Z(t))t=Q;else{t+=``;for(var n=t;!Z(n);n=this.parent(n))if(n===e)throw Error(`Setting `+t+` as parent of `+e+` would create a cycle`);this.setNode(t)}return this.setNode(e),this._removeFromParentsChildList(e),this._parent[e]=t,this._children[t][e]=!0,this}_removeFromParentsChildList(e){delete this._children[this._parent[e]][e]}parent(e){if(this._isCompound){var t=this._parent[e];if(t!==Q)return t}}children(e){if(Z(e)&&(e=Q),this._isCompound){var t=this._children[e];if(t)return j(t)}else if(e===Q)return this.nodes();else if(this.hasNode(e))return[]}predecessors(e){var t=this._preds[e];if(t)return j(t)}successors(e){var t=this._sucs[e];if(t)return j(t)}neighbors(e){var t=this.predecessors(e);if(t)return ii(t,this.successors(e))}isLeaf(e){return(this.isDirected()?this.successors(e):this.neighbors(e)).length===0}filterNodes(e){var t=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});t.setGraph(this.graph());var n=this;J(this._nodes,function(n,r){e(r)&&t.setNode(r,n)}),J(this._edgeObjs,function(e){t.hasNode(e.v)&&t.hasNode(e.w)&&t.setEdge(e,n.edge(e))});var r={};function i(e){var a=n.parent(e);return a===void 0||t.hasNode(a)?(r[e]=a,a):a in r?r[a]:i(a)}return this._isCompound&&J(t.nodes(),function(e){t.setParent(e,i(e))}),t}setDefaultEdgeLabel(e){return v(e)||(e=S(e)),this._defaultEdgeLabelFn=e,this}edgeCount(){return this._edgeCount}edges(){return X(this._edgeObjs)}setPath(e,t){var n=this,r=arguments;return ei(e,function(e,i){return r.length>1?n.setEdge(e,i,t):n.setEdge(e,i),i}),this}setEdge(){var e,t,n,r,i=!1,a=arguments[0];typeof a==`object`&&a&&`v`in a?(e=a.v,t=a.w,n=a.name,arguments.length===2&&(r=arguments[1],i=!0)):(e=a,t=arguments[1],n=arguments[3],arguments.length>2&&(r=arguments[2],i=!0)),e=``+e,t=``+t,Z(n)||(n=``+n);var o=$(this._isDirected,e,t,n);if(Object.prototype.hasOwnProperty.call(this._edgeLabels,o))return i&&(this._edgeLabels[o]=r),this;if(!Z(n)&&!this._isMultigraph)throw Error(`Cannot set a named edge when isMultigraph = false`);this.setNode(e),this.setNode(t),this._edgeLabels[o]=i?r:this._defaultEdgeLabelFn(e,t,n);var s=ui(this._isDirected,e,t,n);return e=s.v,t=s.w,Object.freeze(s),this._edgeObjs[o]=s,ci(this._preds[t],e),ci(this._sucs[e],t),this._in[t][o]=s,this._out[e][o]=s,this._edgeCount++,this}edge(e,t,n){var r=arguments.length===1?di(this._isDirected,arguments[0]):$(this._isDirected,e,t,n);return this._edgeLabels[r]}hasEdge(e,t,n){var r=arguments.length===1?di(this._isDirected,arguments[0]):$(this._isDirected,e,t,n);return Object.prototype.hasOwnProperty.call(this._edgeLabels,r)}removeEdge(e,t,n){var r=arguments.length===1?di(this._isDirected,arguments[0]):$(this._isDirected,e,t,n),i=this._edgeObjs[r];return i&&(e=i.v,t=i.w,delete this._edgeLabels[r],delete this._edgeObjs[r],li(this._preds[t],e),li(this._sucs[e],t),delete this._in[t][r],delete this._out[e][r],this._edgeCount--),this}inEdges(e,t){var n=this._in[e];if(n){var r=X(n);return t?Y(r,function(e){return e.v===t}):r}}outEdges(e,t){var n=this._out[e];if(n){var r=X(n);return t?Y(r,function(e){return e.w===t}):r}}nodeEdges(e,t){var n=this.inEdges(e,t);if(n)return n.concat(this.outEdges(e,t))}};si.prototype._nodeCount=0,si.prototype._edgeCount=0;function ci(e,t){e[t]?e[t]++:e[t]=1}function li(e,t){--e[t]||delete e[t]}function $(e,t,n,r){var i=``+t,a=``+n;if(!e&&i>a){var o=i;i=a,a=o}return i+oi+a+oi+(Z(r)?ai:r)}function ui(e,t,n,r){var i=``+t,a=``+n;if(!e&&i>a){var o=i;i=a,a=o}var s={v:i,w:a};return r&&(s.name=r),s}function di(e,t){return $(e,t.v,t.w,t.name)}export{A,Me as B,mn as C,sn as D,z as E,vt as F,xe as G,ke as H,E as I,S as J,be as K,T as L,wt as M,k as N,on as O,xt as P,s as Q,Ie as R,B as S,ln as T,C as U,je as V,Se as W,p as X,v as Y,c as Z,U as _,Y as a,En as b,Wr as c,Vr as d,K as f,Hn as g,Mr as h,X as i,Tt as j,j as k,q as l,Nr as m,ei as n,J as o,Lr as p,ye as q,Z as r,Kr as s,si as t,Hr as u,On as v,dn as w,Cn as x,Dn as y,w as z};
|