@myagentroam/server 0.13.43 → 0.13.44

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.
Files changed (331) hide show
  1. package/node_modules/@myagentroam/protocol/package.json +1 -1
  2. package/node_modules/@myagentroam/server-core/package.json +2 -2
  3. package/node_modules/@myagentroam-enterprise/server-implementation/package.json +3 -3
  4. package/package.json +5 -5
  5. package/web/assets/{AuditManagementPage-CKSOWZCn.js → AuditManagementPage-BHnu7Uuy.js} +1 -1
  6. package/web/assets/{BusyIndicator-xe3P4gjH.js → BusyIndicator-MYxuzJwk.js} +1 -1
  7. package/web/assets/{CodeFileEditor-Ba6Zmomw.js → CodeFileEditor-6wA0F6L5.js} +3 -3
  8. package/web/assets/{ConversationTemplateManagementPage-BCGKYECC.js → ConversationTemplateManagementPage-Cb4fq0Q_.js} +1 -1
  9. package/web/assets/{ConversationTemplateManagementPage-CxhtEWAn.js → ConversationTemplateManagementPage-wPP70yj-.js} +1 -1
  10. package/web/assets/{EnterpriseUserManagementPage-DSQMhmtq.js → EnterpriseUserManagementPage-DPDEBDAF.js} +1 -1
  11. package/web/assets/{EnvironmentSecretManager-CrcEHtvm.js → EnvironmentSecretManager-UetBt5MA.js} +1 -1
  12. package/web/assets/{FilePreviewLoading-DRnSA8fU.js → FilePreviewLoading-C1U4PIWp.js} +1 -1
  13. package/web/assets/{HtmlPreviewFrame-CgH5nr6g.js → HtmlPreviewFrame-BTWUz9WL.js} +3 -3
  14. package/web/assets/{LicenseManagementPage-CsZ8FzUP.js → LicenseManagementPage-Cks_9oi7.js} +1 -1
  15. package/web/assets/{ManagementPagination-Y85Jq9j9.js → ManagementPagination-DPkT2Szp.js} +1 -1
  16. package/web/assets/{MarAgentModelManagementPage-mr8IR7WR.js → MarAgentModelManagementPage-CvhRRF2S.js} +1 -1
  17. package/web/assets/{MarAgentModelManagementPage-rr_fJy9z.js → MarAgentModelManagementPage-DtyCkQDG.js} +1 -1
  18. package/web/assets/{MarIcon-ICq2p8Ot.js → MarIcon-DZpYRja5.js} +1 -1
  19. package/web/assets/{MarkdownFilePreview-BPRRhQsA.js → MarkdownFilePreview-DHC2ib-l.js} +2 -2
  20. package/web/assets/{McpDetailsDialog-CI5BUxyf.js → McpDetailsDialog-BbgB5wUa.js} +1 -1
  21. package/web/assets/{McpSourceManagementPage-DexBqgYS.js → McpSourceManagementPage-BADuwaR-.js} +1 -1
  22. package/web/assets/{McpSourceManagementPage-kGljQSNy.js → McpSourceManagementPage-KKmB9J_9.js} +1 -1
  23. package/web/assets/{NodeDetailsDialogs-BrWPvSnj.js → NodeDetailsDialogs-BCeO8lj7.js} +1 -1
  24. package/web/assets/NodeManagementPage-B2dMj8EF.js +1 -0
  25. package/web/assets/NodeManagementPage-K4Z8tlhJ.js +1 -0
  26. package/web/assets/{OAuthManagementPage-CTZJnXAV.js → OAuthManagementPage-C9MFlLHg.js} +1 -1
  27. package/web/assets/{OrganizationManagementPage-BrQ_JgZA.js → OrganizationManagementPage-K9iZPEZS.js} +1 -1
  28. package/web/assets/{RemoteDesktopPage-Dt-j73R1.js → RemoteDesktopPage-4M-9MTJ0.js} +1 -1
  29. package/web/assets/{ResourceManagementPanel-4VDYSeEv.js → ResourceManagementPanel-hTAD6hGe.js} +1 -1
  30. package/web/assets/{ResourceManagementPanel.vue_vue_type_script_setup_true_lang-rPUQXM-6.js → ResourceManagementPanel.vue_vue_type_script_setup_true_lang-CpDjO11T.js} +1 -1
  31. package/web/assets/{SecretManagementPage-Ckol2sas.js → SecretManagementPage-BwfDda0c.js} +1 -1
  32. package/web/assets/SecretManagementPage-lb2DTG0a.js +1 -0
  33. package/web/assets/{SecretManagementPage.vue_vue_type_script_setup_true_lang-6i3qtE3d.js → SecretManagementPage.vue_vue_type_script_setup_true_lang-BpUH2FnR.js} +1 -1
  34. package/web/assets/{SessionSharePage-DUqndycX.js → SessionSharePage-DG1CLWm2.js} +2 -2
  35. package/web/assets/{SettingsContent-Dvnnpld5.js → SettingsContent-CmxQPFgj.js} +1 -1
  36. package/web/assets/{SettingsContent-DcWw-Zxz.js → SettingsContent-nUnmQWWb.js} +1 -1
  37. package/web/assets/SkillCenterPage-BpTynj6P.js +1 -0
  38. package/web/assets/{SkillCenterPage-Ehaoj-PG.js → SkillCenterPage-DMcYMaeX.js} +1 -1
  39. package/web/assets/{SkillDetailsDialog-C1QYwMcL.js → SkillDetailsDialog-DmKR9VCs.js} +1 -1
  40. package/web/assets/{SkillSourceManagementPage-CjyY_LL5.js → SkillSourceManagementPage-BXqRKxx4.js} +1 -1
  41. package/web/assets/{SkillSourceManagementPage-KMojyBho.js → SkillSourceManagementPage-mrYw5v5S.js} +1 -1
  42. package/web/assets/{StandaloneFilePreviewPage-Bje_whGC.css → StandaloneFilePreviewPage-C0MQvJCM.css} +1 -1
  43. package/web/assets/StandaloneFilePreviewPage-QL0d6Y27.js +1 -0
  44. package/web/assets/{SystemConfigurationPage-CglpERvB.js → SystemConfigurationPage-D_BFLcsF.js} +1 -1
  45. package/web/assets/SystemConfigurationPage-jb6Oy_YV.js +1 -0
  46. package/web/assets/{SystemInformationPage-DjtcSVec.js → SystemInformationPage-ClzmFNrA.js} +1 -1
  47. package/web/assets/{TerminalTabView-SHGbgb9v.js → TerminalTabView-CXbhaQ5i.js} +1 -1
  48. package/web/assets/{WorkbenchPage-DiD3CbLd.js → WorkbenchPage-CN59HcEF.js} +15 -15
  49. package/web/assets/{WorkbenchPage-d5tfAd4c.css → WorkbenchPage-CR14GGcS.css} +1 -1
  50. package/web/assets/WorkspaceManagementPage-CJqY6DGM.js +1 -0
  51. package/web/assets/WorkspaceManagementPage-I2WKlA-S.js +1 -0
  52. package/web/assets/{_baseIteratee-BLtWZfy-.js → _baseIteratee-D6vE6jHm.js} +1 -1
  53. package/web/assets/{abnfDiagram-VCTEODGH-C7CpX9ZM.js → abnfDiagram-VCTEODGH-DbNSoria.js} +1 -1
  54. package/web/assets/{advancedFormat-C1fRaiNU.js → advancedFormat-C51D1Ue3.js} +1 -1
  55. package/web/assets/{arc-BWHkRU26.js → arc-Hc0Y76Iy.js} +1 -1
  56. package/web/assets/{architectureDiagram-5GKGNRK7-Ccazxv5J.js → architectureDiagram-5GKGNRK7-Drud3gHc.js} +1 -1
  57. package/web/assets/{blockDiagram-OSKFZWR5-Domwe9cC.js → blockDiagram-OSKFZWR5-Bh12CqHR.js} +1 -1
  58. package/web/assets/{c4Diagram-7LVT6UL2-DX50WO-c.js → c4Diagram-7LVT6UL2-BRURwbey.js} +1 -1
  59. package/web/assets/{catalog-ownership-service-BPqMExyq.js → catalog-ownership-service-B1Ip9msX.js} +1 -1
  60. package/web/assets/{catalog-page-service-Co_SnlgM.js → catalog-page-service-B54h6Yts.js} +1 -1
  61. package/web/assets/channel-pV0VKhUQ.js +1 -0
  62. package/web/assets/{chunk-2Q5K7J3B-C7QpUixC.js → chunk-2Q5K7J3B-B3UklVaN.js} +1 -1
  63. package/web/assets/{chunk-5VM5RSS4-C-F34jM4.js → chunk-5VM5RSS4-C-u6Icfj.js} +1 -1
  64. package/web/assets/{chunk-F27PBJKO-Cq8SN72l.js → chunk-F27PBJKO-Cgwc09Ty.js} +1 -1
  65. package/web/assets/{chunk-HLEWEB6X-CG_d_8X6.js → chunk-HLEWEB6X-B0I9KA_o.js} +1 -1
  66. package/web/assets/{chunk-JWPE2WC7-BtDtrNTW.js → chunk-JWPE2WC7-hrGvO2JH.js} +1 -1
  67. package/web/assets/{chunk-POPQ4Y6H-C6sLG4ju.js → chunk-POPQ4Y6H-BnMmtKRL.js} +1 -1
  68. package/web/assets/{chunk-SVP7TREG-Bvnl4Nu0.js → chunk-SVP7TREG-D1SIIIL0.js} +1 -1
  69. package/web/assets/{chunk-XXDRQBXY-D0J5SDrL.js → chunk-XXDRQBXY-DQ9RD0qp.js} +1 -1
  70. package/web/assets/{chunk-ZLD2IHE6-tIobpxdi.js → chunk-ZLD2IHE6-BJ5PXdhB.js} +1 -1
  71. package/web/assets/classDiagram-CYGNFDIV-Degg8S4g.js +1 -0
  72. package/web/assets/classDiagram-v2-TLXNO2FR-Degg8S4g.js +1 -0
  73. package/web/assets/{conversation-history-oJGFEIsi.js → conversation-history-CKIYKBne.js} +1 -1
  74. package/web/assets/{cose-bilkent-JH36ORCC-BP1KR2ae.js → cose-bilkent-JH36ORCC-CGnU2Jsr.js} +1 -1
  75. package/web/assets/{cynefin-OW5HDTMX-BNNnytL_.js → cynefin-OW5HDTMX-KBpmuuGI.js} +1 -1
  76. package/web/assets/{cynefinDiagram-5FMLGOSQ-DuNt4vpR.js → cynefinDiagram-5FMLGOSQ-CbUyUJ_9.js} +1 -1
  77. package/web/assets/{dagre-OS7QT2EB-BW7N-fT2.js → dagre-OS7QT2EB-LQ6pV_Lg.js} +1 -1
  78. package/web/assets/{diagram-S7CK7UJ4-Do8_np1C.js → diagram-S7CK7UJ4-D07VmbXL.js} +1 -1
  79. package/web/assets/{diagram-UQ7AKVKN-BUvmerUh.js → diagram-UQ7AKVKN-BibZgYFy.js} +1 -1
  80. package/web/assets/{diagram-VSXAHHWV-DC6rQtH9.js → diagram-VSXAHHWV-DTsmR17P.js} +1 -1
  81. package/web/assets/{diagram-VX7I27RA-DHvadcJN.js → diagram-VX7I27RA-B2uTpJCj.js} +1 -1
  82. package/web/assets/{diagram-Z3DM3KII-DarOKcBs.js → diagram-Z3DM3KII-CFVQgaHi.js} +1 -1
  83. package/web/assets/{ebnfDiagram-PWID7BFC-D52Kfjzc.js → ebnfDiagram-PWID7BFC-lU_1k7vL.js} +1 -1
  84. package/web/assets/{el-alert-CYdaPIFw.js → el-alert-i4sPRF3y.js} +1 -1
  85. package/web/assets/{el-cascader-BWdsB4rG.js → el-cascader-CDcAZHHU.js} +1 -1
  86. package/web/assets/{el-checkbox-p37rd1QD.js → el-checkbox-B99Su3CQ.js} +1 -1
  87. package/web/assets/{el-date-picker-BTtxJHNN.js → el-date-picker-CNIdttaY.js} +1 -1
  88. package/web/assets/{el-descriptions-Dm7xFX_I.js → el-descriptions-DfwV9BeX.js} +1 -1
  89. package/web/assets/{el-form-item-LbkuEpcF.js → el-form-item-Dkt7ZmiR.js} +1 -1
  90. package/web/assets/{el-input-sXkJlh-g.js → el-input-CmMxlyJC.js} +1 -1
  91. package/web/assets/{el-input-number-DoBt11o0.js → el-input-number-DeInZ_Ah.js} +1 -1
  92. package/web/assets/{el-radio-se_8_kay.js → el-radio-D1gLKQQQ.js} +1 -1
  93. package/web/assets/{el-scrollbar-D-InNODH.js → el-scrollbar-BygTOJ7z.js} +1 -1
  94. package/web/assets/{el-select-Ij7BldOR.js → el-select-BLDSb9Md.js} +1 -1
  95. package/web/assets/{el-switch-DjKORw6c.js → el-switch-Ddl5W_pV.js} +1 -1
  96. package/web/assets/{el-tab-pane-lGrszWbr.js → el-tab-pane-dV5TbC0S.js} +1 -1
  97. package/web/assets/{el-table-column-s3GZz9dF.js → el-table-column-XTG5R-N3.js} +1 -1
  98. package/web/assets/{enterprise-management-service-BgLU9ku4.js → enterprise-management-service-OyYyO0kK.js} +1 -1
  99. package/web/assets/{erDiagram-2YWLMYGG-CwaXII9A.js → erDiagram-2YWLMYGG-BlNb-EVe.js} +1 -1
  100. package/web/assets/{error-presentation-DTfe137d.js → error-presentation-CSmvVKzH.js} +1 -1
  101. package/web/assets/{flowDiagram-T62WH6J4-C9nbN4rn.js → flowDiagram-T62WH6J4-CEXQevvx.js} +1 -1
  102. package/web/assets/{ganttDiagram-EL5Y4UJY-ZWcl02qK.js → ganttDiagram-EL5Y4UJY-jvUiNFh-.js} +1 -1
  103. package/web/assets/{gitGraphDiagram-WWUBYQGX-EqrWLazR.js → gitGraphDiagram-WWUBYQGX-DdwyXs6p.js} +1 -1
  104. package/web/assets/{hosted-conversation-template-client-CSWTot4J.js → hosted-conversation-template-client-BYeoe2O1.js} +1 -1
  105. package/web/assets/{index-DqNuUqfp.js → index-6blav931.js} +1 -1
  106. package/web/assets/{index-BZuMtnt-.js → index-BIu5bROM.js} +1 -1
  107. package/web/assets/{index-B-SnYEp0.js → index-BJElJ5WQ.js} +1 -1
  108. package/web/assets/{index-BhQP83Sf.js → index-BOFmJvuG.js} +1 -1
  109. package/web/assets/{index-CZGL8KN8.js → index-BZAB3p1R.js} +1 -1
  110. package/web/assets/{index-BDfU2iiv.js → index-B_x8TQfS.js} +1 -1
  111. package/web/assets/{index-DSbtzgRR.js → index-Bxn7pft6.js} +1 -1
  112. package/web/assets/{index-DeV80pxs.js → index-C5GmUt48.js} +1 -1
  113. package/web/assets/{index-BriGTVMr.js → index-CC4hONE9.js} +1 -1
  114. package/web/assets/{index-CYFFCuEz.js → index-CEanUWoi.js} +1 -1
  115. package/web/assets/{index-D8_bMlL7.js → index-CEdSyn4k.js} +1 -1
  116. package/web/assets/{index-Bmp1JWdR.js → index-CTzG9h40.js} +1 -1
  117. package/web/assets/{index-CtdnVn_R.js → index-CXn-uZXL.js} +1 -1
  118. package/web/assets/{index-BY6eM-n3.js → index-CfxSWNkF.js} +1 -1
  119. package/web/assets/{index-_0TpEBwB.js → index-CimpfbnH.js} +1 -1
  120. package/web/assets/{index-oscsnh0g.js → index-DJbDMFLj.js} +1 -1
  121. package/web/assets/{index-BlCUXcGl.js → index-DLHDCDc-.js} +1 -1
  122. package/web/assets/{index-m7vIiBHI.js → index-DmG8QA-j.js} +1 -1
  123. package/web/assets/{index-BHmAyuaC.js → index-Dq52qE9T.js} +1 -1
  124. package/web/assets/{index-naTDKVAc.js → index-Dy-iz5ML.js} +1 -1
  125. package/web/assets/{index-BQl91EUk.js → index-HcLGmFz6.js} +3 -3
  126. package/web/assets/{index-B_nNb_5x.js → index-MbLD9MMG.js} +1 -1
  127. package/web/assets/{index-Ccy0FSb7.js → index-_dnRSAmr.js} +1 -1
  128. package/web/assets/{index-BTyYD5rc.js → index-aFFtDNr2.js} +1 -1
  129. package/web/assets/{index-b1qpa5Ec.js → index-byCryyWq.js} +1 -1
  130. package/web/assets/{index-e0ZMpJq3.js → index-eKlFh7Gc.js} +1 -1
  131. package/web/assets/{index-BL3XZg4A.js → index-sxnr4KA1.js} +1 -1
  132. package/web/assets/{index-CVMAFcxJ.js → index-x6bcL8gu.js} +1 -1
  133. package/web/assets/{index-CcoM36R9.js → index-xlMtvKI5.js} +1 -1
  134. package/web/assets/infoDiagram-FKFFQAWI-NZSa1F-m.js +2 -0
  135. package/web/assets/{isArrayLikeObject-CxfHIq3H.js → isArrayLikeObject-ZvOzSYjq.js} +1 -1
  136. package/web/assets/{ishikawaDiagram-5VMMS53U-n-fxvmGE.js → ishikawaDiagram-5VMMS53U-B_VYT4vV.js} +1 -1
  137. package/web/assets/{journeyDiagram-EYS64GPL-CvOR6PkI.js → journeyDiagram-EYS64GPL-DuSJE0uB.js} +1 -1
  138. package/web/assets/{kanban-definition-UXKFOSKX-Pd-RWd8v.js → kanban-definition-UXKFOSKX-B9L0Y66o.js} +1 -1
  139. package/web/assets/{layout-Bafn6KyT.js → layout-Bh1hHNL6.js} +1 -1
  140. package/web/assets/{linear-DKxcsNMP.js → linear-B58zYo2z.js} +1 -1
  141. package/web/assets/{management-url-service-CKGsmd3N.js → management-url-service-4vWC3-nC.js} +1 -1
  142. package/web/assets/{mcp-center-service-xBXLOfeq.js → mcp-center-service-DFNR-TZm.js} +1 -1
  143. package/web/assets/{merge-CtOMpGAk.js → merge-CfAF3e7V.js} +1 -1
  144. package/web/assets/{mermaid.core-BefpKbQ_.js → mermaid.core-CpkB2-G5.js} +5 -5
  145. package/web/assets/{message-box-service-qfhQeAS6.js → message-box-service-BMjc6Na7.js} +1 -1
  146. package/web/assets/{mindmap-definition-THT77NOG-BAMLKZLT.js → mindmap-definition-THT77NOG-D06wRkJk.js} +1 -1
  147. package/web/assets/{mobile-dialog-return-service-Bg2LBZi3.js → mobile-dialog-return-service-B05lwAuG.js} +1 -1
  148. package/web/assets/{oauth-callback-BlsSCm82.js → oauth-callback-C81CpC20.js} +1 -1
  149. package/web/assets/{pegDiagram-XKGWAZYB-B3oWqFzM.js → pegDiagram-XKGWAZYB-ojCInnSj.js} +1 -1
  150. package/web/assets/{pieDiagram-E7YTZNPT-CwWqQx9I.js → pieDiagram-E7YTZNPT-SD1HGVi4.js} +1 -1
  151. package/web/assets/{quadrantDiagram-AXDQQJYC-CelsJHeG.js → quadrantDiagram-AXDQQJYC-CZqzzWHC.js} +1 -1
  152. package/web/assets/{railroadDiagram-O6MQD6OU-UIPzBB5a.js → railroadDiagram-O6MQD6OU-CfEviAY9.js} +1 -1
  153. package/web/assets/{requirementDiagram-IS5BZ75X-jr6lrR3F.js → requirementDiagram-IS5BZ75X-BqB08RSG.js} +1 -1
  154. package/web/assets/{runner-presentation-CN2oRuIk.js → runner-presentation-KywUJ5TY.js} +1 -1
  155. package/web/assets/{sankeyDiagram-P5KCCOFB-B8peWUvI.js → sankeyDiagram-P5KCCOFB-DdRWbZia.js} +1 -1
  156. package/web/assets/{sequenceDiagram-WJ2MYXX4-DzEdkB8P.js → sequenceDiagram-WJ2MYXX4-BvYAqC1p.js} +1 -1
  157. package/web/assets/{session-share-client-service-89bWy-Z3.js → session-share-client-service-yMaOuR4w.js} +1 -1
  158. package/web/assets/{sizeCapture-INFHLROL-DTsu8xwQ.js → sizeCapture-INFHLROL-N_rZepbu.js} +1 -1
  159. package/web/assets/{stateDiagram-XQSTLZYL-ifmCtpCl.js → stateDiagram-XQSTLZYL-DVlGch-z.js} +1 -1
  160. package/web/assets/stateDiagram-v2-IH3M54BS-Lv_ZQx86.js +1 -0
  161. package/web/assets/{swimlanes-V6O3JKXN-D-Lj7VPx.js → swimlanes-V6O3JKXN-Ci4DfL4Y.js} +1 -1
  162. package/web/assets/swimlanesDiagram-JKAHXJPX-msIfKYZU.js +8 -0
  163. package/web/assets/{time-presentation-e-lZt0sB.js → time-presentation-qi0uJ1fq.js} +1 -1
  164. package/web/assets/{timeline-definition-24CTP7MA-BvNH9HMF.js → timeline-definition-24CTP7MA-BAbo6vvA.js} +1 -1
  165. package/web/assets/{union-Cyh-UcHd.js → union-DVxeg9h3.js} +1 -1
  166. package/web/assets/{use-form-common-props-BToB4iwu.js → use-form-common-props-CZ8CMPWx.js} +1 -1
  167. package/web/assets/{use-wheel-CT3KKFiS.js → use-wheel-BfDFQNQi.js} +1 -1
  168. package/web/assets/{vennDiagram-4TSXK5OY-dz7nk5_k.js → vennDiagram-4TSXK5OY-JLJqhoxn.js} +1 -1
  169. package/web/assets/{vnode-DHbRwWcQ.js → vnode-Cx28ZsCC.js} +1 -1
  170. package/web/assets/{wardleyDiagram-VM6X3IG4-THdXfVte.js → wardleyDiagram-VM6X3IG4-Dg2Zxtfh.js} +1 -1
  171. package/web/assets/{workbench-composer-interaction-controller-Cm7ikzLX.js → workbench-composer-interaction-controller-5DeoJe6t.js} +1 -1
  172. package/web/assets/{workbench-live-service-BicQ4etU.js → workbench-live-service-sT0L_6DL.js} +1 -1
  173. package/web/assets/{workbench-presentation-CpYlSOG0.js → workbench-presentation-4-kMnNtd.js} +1 -1
  174. package/web/assets/{xychartDiagram-S5SC5T6Z-CogLHjcq.js → xychartDiagram-S5SC5T6Z-DKZHkaYF.js} +1 -1
  175. package/web/docs/404.html +1 -1
  176. package/web/docs/administration/account.html +2 -2
  177. package/web/docs/administration/audit.html +2 -2
  178. package/web/docs/administration/conversation-templates.html +2 -2
  179. package/web/docs/administration/email-notifications.html +2 -2
  180. package/web/docs/administration/license.html +2 -2
  181. package/web/docs/administration/nodes-workspaces.html +2 -2
  182. package/web/docs/administration/oauth.html +2 -2
  183. package/web/docs/administration/secrets.html +2 -2
  184. package/web/docs/administration/template-workspace-maintenance.html +2 -2
  185. package/web/docs/administration/users-organizations.html +2 -2
  186. package/web/docs/assets/{app.BKw4zuIJ.js → app.D1g-MQhG.js} +1 -1
  187. package/web/docs/assets/chunks/{@localSearchIndexen-US.CynoUCxx.js → @localSearchIndexen-US.CJTOZB6f.js} +1 -1
  188. package/web/docs/assets/chunks/{@localSearchIndexroot.DAjpeuRJ.js → @localSearchIndexroot.BERjrRBV.js} +1 -1
  189. package/web/docs/assets/chunks/{VPLocalSearchBox.LsO1DQNW.js → VPLocalSearchBox.CiA_6vfi.js} +1 -1
  190. package/web/docs/assets/chunks/{theme.D9KvW40v.js → theme.BMpZW60U.js} +2 -2
  191. package/web/docs/concepts/architecture.html +2 -2
  192. package/web/docs/concepts/data-and-security.html +2 -2
  193. package/web/docs/concepts/files-git-terminal.html +2 -2
  194. package/web/docs/concepts/node-and-workspace.html +2 -2
  195. package/web/docs/concepts/permissions-and-sharing.html +2 -2
  196. package/web/docs/concepts/runner-control.html +2 -2
  197. package/web/docs/concepts/secrets.html +2 -2
  198. package/web/docs/concepts/session-run-turn.html +2 -2
  199. package/web/docs/deployment/backup-restore.html +2 -2
  200. package/web/docs/deployment/network.html +2 -2
  201. package/web/docs/deployment/node-installation.html +2 -2
  202. package/web/docs/deployment/node-linux.html +2 -2
  203. package/web/docs/deployment/node-macos.html +2 -2
  204. package/web/docs/deployment/node-windows.html +2 -2
  205. package/web/docs/deployment/production.html +2 -2
  206. package/web/docs/deployment/security-checklist.html +2 -2
  207. package/web/docs/deployment/upgrade.html +2 -2
  208. package/web/docs/en-US/administration/account.html +2 -2
  209. package/web/docs/en-US/administration/audit.html +2 -2
  210. package/web/docs/en-US/administration/conversation-templates.html +2 -2
  211. package/web/docs/en-US/administration/email-notifications.html +2 -2
  212. package/web/docs/en-US/administration/license.html +2 -2
  213. package/web/docs/en-US/administration/nodes-workspaces.html +2 -2
  214. package/web/docs/en-US/administration/oauth.html +2 -2
  215. package/web/docs/en-US/administration/secrets.html +2 -2
  216. package/web/docs/en-US/administration/template-workspace-maintenance.html +2 -2
  217. package/web/docs/en-US/administration/users-organizations.html +2 -2
  218. package/web/docs/en-US/concepts/architecture.html +2 -2
  219. package/web/docs/en-US/concepts/data-and-security.html +2 -2
  220. package/web/docs/en-US/concepts/files-git-terminal.html +2 -2
  221. package/web/docs/en-US/concepts/node-and-workspace.html +2 -2
  222. package/web/docs/en-US/concepts/permissions-and-sharing.html +2 -2
  223. package/web/docs/en-US/concepts/runner-control.html +2 -2
  224. package/web/docs/en-US/concepts/secrets.html +2 -2
  225. package/web/docs/en-US/concepts/session-run-turn.html +2 -2
  226. package/web/docs/en-US/deployment/backup-restore.html +2 -2
  227. package/web/docs/en-US/deployment/network.html +2 -2
  228. package/web/docs/en-US/deployment/node-installation.html +2 -2
  229. package/web/docs/en-US/deployment/node-linux.html +2 -2
  230. package/web/docs/en-US/deployment/node-macos.html +2 -2
  231. package/web/docs/en-US/deployment/node-windows.html +2 -2
  232. package/web/docs/en-US/deployment/production.html +2 -2
  233. package/web/docs/en-US/deployment/security-checklist.html +2 -2
  234. package/web/docs/en-US/deployment/upgrade.html +2 -2
  235. package/web/docs/en-US/getting-started/connect-node.html +2 -2
  236. package/web/docs/en-US/getting-started/first-agent-session.html +2 -2
  237. package/web/docs/en-US/getting-started/first-login.html +2 -2
  238. package/web/docs/en-US/getting-started/next-steps.html +2 -2
  239. package/web/docs/en-US/getting-started/npm-quick-start.html +2 -2
  240. package/web/docs/en-US/getting-started/overview.html +2 -2
  241. package/web/docs/en-US/getting-started/prerequisites.html +2 -2
  242. package/web/docs/en-US/getting-started/register-workspace.html +2 -2
  243. package/web/docs/en-US/getting-started/server-installation.html +2 -2
  244. package/web/docs/en-US/operations/marctl.html +2 -2
  245. package/web/docs/en-US/reference/configuration.html +2 -2
  246. package/web/docs/en-US/reference/keyboard-shortcuts.html +2 -2
  247. package/web/docs/en-US/reference/limits.html +2 -2
  248. package/web/docs/en-US/reference/ports-paths-data.html +2 -2
  249. package/web/docs/en-US/reference/status-and-errors.html +2 -2
  250. package/web/docs/en-US/runners/claude-code.html +2 -2
  251. package/web/docs/en-US/runners/codex.html +2 -2
  252. package/web/docs/en-US/runners/mar-agent.html +2 -2
  253. package/web/docs/en-US/runners/opencode.html +2 -2
  254. package/web/docs/en-US/runners/overview.html +2 -2
  255. package/web/docs/en-US/runners/runner-troubleshooting.html +2 -2
  256. package/web/docs/en-US/troubleshooting/node-offline.html +2 -2
  257. package/web/docs/en-US/troubleshooting/quick-diagnosis.html +2 -2
  258. package/web/docs/en-US/troubleshooting/session-run.html +2 -2
  259. package/web/docs/en-US/troubleshooting/terminal.html +2 -2
  260. package/web/docs/en-US/troubleshooting/workspace-files.html +2 -2
  261. package/web/docs/en-US/workbench/composer.html +2 -2
  262. package/web/docs/en-US/workbench/context-and-plan.html +2 -2
  263. package/web/docs/en-US/workbench/conversation.html +2 -2
  264. package/web/docs/en-US/workbench/file-reference-and-attachment.html +2 -2
  265. package/web/docs/en-US/workbench/files.html +2 -2
  266. package/web/docs/en-US/workbench/git-changes.html +2 -2
  267. package/web/docs/en-US/workbench/git-history.html +2 -2
  268. package/web/docs/en-US/workbench/hosted-conversations.html +2 -2
  269. package/web/docs/en-US/workbench/mobile.html +2 -2
  270. package/web/docs/en-US/workbench/navigation.html +2 -2
  271. package/web/docs/en-US/workbench/remote-desktop.html +2 -2
  272. package/web/docs/en-US/workbench/sessions.html +2 -2
  273. package/web/docs/en-US/workbench/skills.html +2 -2
  274. package/web/docs/en-US/workbench/terminal.html +2 -2
  275. package/web/docs/getting-started/connect-node.html +2 -2
  276. package/web/docs/getting-started/first-agent-session.html +2 -2
  277. package/web/docs/getting-started/first-login.html +2 -2
  278. package/web/docs/getting-started/next-steps.html +2 -2
  279. package/web/docs/getting-started/npm-quick-start.html +2 -2
  280. package/web/docs/getting-started/overview.html +2 -2
  281. package/web/docs/getting-started/prerequisites.html +2 -2
  282. package/web/docs/getting-started/register-workspace.html +2 -2
  283. package/web/docs/getting-started/server-installation.html +2 -2
  284. package/web/docs/operations/marctl.html +2 -2
  285. package/web/docs/reference/configuration.html +2 -2
  286. package/web/docs/reference/keyboard-shortcuts.html +2 -2
  287. package/web/docs/reference/limits.html +2 -2
  288. package/web/docs/reference/ports-paths-data.html +2 -2
  289. package/web/docs/reference/status-and-errors.html +2 -2
  290. package/web/docs/runners/claude-code.html +2 -2
  291. package/web/docs/runners/codex.html +2 -2
  292. package/web/docs/runners/mar-agent.html +2 -2
  293. package/web/docs/runners/opencode.html +2 -2
  294. package/web/docs/runners/overview.html +2 -2
  295. package/web/docs/runners/runner-troubleshooting.html +2 -2
  296. package/web/docs/troubleshooting/node-offline.html +2 -2
  297. package/web/docs/troubleshooting/quick-diagnosis.html +2 -2
  298. package/web/docs/troubleshooting/session-run.html +2 -2
  299. package/web/docs/troubleshooting/terminal.html +2 -2
  300. package/web/docs/troubleshooting/workspace-files.html +2 -2
  301. package/web/docs/workbench/composer.html +2 -2
  302. package/web/docs/workbench/context-and-plan.html +2 -2
  303. package/web/docs/workbench/conversation.html +2 -2
  304. package/web/docs/workbench/file-reference-and-attachment.html +2 -2
  305. package/web/docs/workbench/files.html +2 -2
  306. package/web/docs/workbench/git-changes.html +2 -2
  307. package/web/docs/workbench/git-history.html +2 -2
  308. package/web/docs/workbench/hosted-conversations.html +2 -2
  309. package/web/docs/workbench/mobile.html +2 -2
  310. package/web/docs/workbench/navigation.html +2 -2
  311. package/web/docs/workbench/remote-desktop.html +2 -2
  312. package/web/docs/workbench/sessions.html +2 -2
  313. package/web/docs/workbench/skills.html +2 -2
  314. package/web/docs/workbench/terminal.html +2 -2
  315. package/web/index.html +2 -2
  316. package/web/service-worker.js +1 -1
  317. package/web/web-version.json +1 -1
  318. package/web/assets/NodeManagementPage-F2aeLFvj.js +0 -1
  319. package/web/assets/NodeManagementPage-ncc9WrkH.js +0 -1
  320. package/web/assets/SecretManagementPage-By-GuAwI.js +0 -1
  321. package/web/assets/SkillCenterPage-NkrCR65_.js +0 -1
  322. package/web/assets/StandaloneFilePreviewPage-DfgFGNfI.js +0 -1
  323. package/web/assets/SystemConfigurationPage-Ey6Tt5l8.js +0 -1
  324. package/web/assets/WorkspaceManagementPage-ChPvFtbO.js +0 -1
  325. package/web/assets/WorkspaceManagementPage-DOkN2EK7.js +0 -1
  326. package/web/assets/channel-B8R8HF7T.js +0 -1
  327. package/web/assets/classDiagram-CYGNFDIV-DibIbZoP.js +0 -1
  328. package/web/assets/classDiagram-v2-TLXNO2FR-DibIbZoP.js +0 -1
  329. package/web/assets/infoDiagram-FKFFQAWI-CB82xvaH.js +0 -2
  330. package/web/assets/stateDiagram-v2-IH3M54BS-Boh3Sy_H.js +0 -1
  331. package/web/assets/swimlanesDiagram-JKAHXJPX-O_ZowJ6N.js +0 -8
@@ -1,4 +1,4 @@
1
- import{a9 as K2,aa as L_}from"./index-BQl91EUk.js";import{r as B_,a as z_}from"./index-DSbtzgRR.js";function U_($o,Fc){for(var Oi=0;Oi<Fc.length;Oi++){const Ki=Fc[Oi];if(typeof Ki!="string"&&!Array.isArray(Ki)){for(const Xi in Ki)if(Xi!=="default"&&!(Xi in $o)){const eo=Object.getOwnPropertyDescriptor(Ki,Xi);eo&&Object.defineProperty($o,Xi,eo.get?eo:{enumerable:!0,get:()=>Ki[Xi]})}}}return Object.freeze(Object.defineProperty($o,Symbol.toStringTag,{value:"Module"}))}var Dc={exports:{}},H_=Dc.exports,X2;function W_(){return X2||(X2=1,(function($o,Fc){(function(Oi,Ki){$o.exports=Ki(B_(),z_())})(H_,(function(Oi,Ki){function Xi(t){return(Xi=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r})(t)}function eo(t){var r=(function(e,n){if(Xi(e)!="object"||!e)return e;var a=e[Symbol.toPrimitive];if(a!==void 0){var o=a.call(e,n);if(Xi(o)!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(n==="string"?String:Number)(e)})(t,"string");return Xi(r)=="symbol"?r:r+""}function Kl(t,r,e){return(r=eo(r))in t?Object.defineProperty(t,r,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[r]=e,t}function Cd(t){if(Array.isArray(t))return t}function jc(t,r){(r==null||r>t.length)&&(r=t.length);for(var e=0,n=Array(r);e<r;e++)n[e]=t[e];return n}function Lc(t,r){if(t){if(typeof t=="string")return jc(t,r);var e={}.toString.call(t).slice(8,-1);return e==="Object"&&t.constructor&&(e=t.constructor.name),e==="Map"||e==="Set"?Array.from(t):e==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?jc(t,r):void 0}}function Ad(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
1
+ import{a9 as K2,aa as L_}from"./index-HcLGmFz6.js";import{r as B_,a as z_}from"./index-Bxn7pft6.js";function U_($o,Fc){for(var Oi=0;Oi<Fc.length;Oi++){const Ki=Fc[Oi];if(typeof Ki!="string"&&!Array.isArray(Ki)){for(const Xi in Ki)if(Xi!=="default"&&!(Xi in $o)){const eo=Object.getOwnPropertyDescriptor(Ki,Xi);eo&&Object.defineProperty($o,Xi,eo.get?eo:{enumerable:!0,get:()=>Ki[Xi]})}}}return Object.freeze(Object.defineProperty($o,Symbol.toStringTag,{value:"Module"}))}var Dc={exports:{}},H_=Dc.exports,X2;function W_(){return X2||(X2=1,(function($o,Fc){(function(Oi,Ki){$o.exports=Ki(B_(),z_())})(H_,(function(Oi,Ki){function Xi(t){return(Xi=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r})(t)}function eo(t){var r=(function(e,n){if(Xi(e)!="object"||!e)return e;var a=e[Symbol.toPrimitive];if(a!==void 0){var o=a.call(e,n);if(Xi(o)!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(n==="string"?String:Number)(e)})(t,"string");return Xi(r)=="symbol"?r:r+""}function Kl(t,r,e){return(r=eo(r))in t?Object.defineProperty(t,r,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[r]=e,t}function Cd(t){if(Array.isArray(t))return t}function jc(t,r){(r==null||r>t.length)&&(r=t.length);for(var e=0,n=Array(r);e<r;e++)n[e]=t[e];return n}function Lc(t,r){if(t){if(typeof t=="string")return jc(t,r);var e={}.toString.call(t).slice(8,-1);return e==="Object"&&t.constructor&&(e=t.constructor.name),e==="Map"||e==="Set"?Array.from(t):e==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?jc(t,r):void 0}}function Ad(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
2
2
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function We(t,r){return Cd(t)||(function(e,n){var a=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(a!=null){var o,s,i,u,l=[],f=!0,c=!1;try{if(i=(a=a.call(e)).next,n===0){if(Object(a)!==a)return;f=!1}else for(;!(f=(o=i.call(a)).done)&&(l.push(o.value),l.length!==n);f=!0);}catch(h){c=!0,s=h}finally{try{if(!f&&a.return!=null&&(u=a.return(),Object(u)!==u))return}finally{if(c)throw s}}return l}})(t,r)||Lc(t,r)||Ad()}function Ct(t,r){if(!(t instanceof r))throw new TypeError("Cannot call a class as a function")}function Od(t,r){for(var e=0;e<r.length;e++){var n=r[e];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,eo(n.key),n)}}function At(t,r,e){return r&&Od(t.prototype,r),e&&Od(t,e),Object.defineProperty(t,"prototype",{writable:!1}),t}function Md(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Rd(t){return Cd(t)||Md(t)||Lc(t)||Ad()}var Xl=(function(){function t(r){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";Ct(this,t),typeof r=="string"?(this.el=document.createElement(r),this.el.className=e):this.el=r,this.data={}}return At(t,[{key:"data",value:function(r,e){return e!==void 0?(this.data[r]=e,this):this.data[r]}},{key:"on",value:function(r,e){var n=Rd(r.split(".")),a=n[0],o=n.slice(1),s=a;return s==="mousewheel"&&/Firefox/i.test(window.navigator.userAgent)&&(s="DOMMouseScroll"),this.el.addEventListener(s,(function(i){e(i);for(var u=0;u<o.length;u+=1){var l=o[u];if(l==="left"&&i.button!==0||l==="right"&&i.button!==2)return;l==="stop"&&i.stopPropagation()}})),this}},{key:"offset",value:function(r){var e=this;if(r!==void 0)return Object.keys(r).forEach((function(a){e.css(a,"".concat(r[a],"px"))})),this;var n=this.el;return{top:n.offsetTop,left:n.offsetLeft,height:n.offsetHeight,width:n.offsetWidth}}},{key:"scroll",value:function(r){var e=this.el;return r!==void 0&&(r.left!==void 0&&(e.scrollLeft=r.left),r.top!==void 0&&(e.scrollTop=r.top)),{left:e.scrollLeft,top:e.scrollTop}}},{key:"box",value:function(){return this.el.getBoundingClientRect()}},{key:"parent",value:function(){return new t(this.el.parentNode)}},{key:"children",value:function(){for(var r=this,e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];return arguments.length===0?this.el.childNodes:(n.forEach((function(o){return r.child(o)})),this)}},{key:"removeChild",value:function(r){this.el.removeChild(r)}},{key:"child",value:function(r){var e=r;return typeof r=="string"?e=document.createTextNode(r):r instanceof t&&(e=r.el),this.el.appendChild(e),this}},{key:"contains",value:function(r){return this.el.contains(r)}},{key:"className",value:function(r){return r!==void 0?(this.el.className=r,this):this.el.className}},{key:"addClass",value:function(r){return this.el.classList.add(r),this}},{key:"hasClass",value:function(r){return this.el.classList.contains(r)}},{key:"removeClass",value:function(r){return this.el.classList.remove(r),this}},{key:"toggle",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"active";return this.toggleClass(r)}},{key:"toggleClass",value:function(r){return this.el.classList.toggle(r)}},{key:"active",value:function(){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"active";return!(arguments.length>0&&arguments[0]!==void 0)||arguments[0]?this.addClass(r):this.removeClass(r),this}},{key:"checked",value:function(){var r=!(arguments.length>0&&arguments[0]!==void 0)||arguments[0];return this.active(r,"checked"),this}},{key:"disabled",value:function(){return!(arguments.length>0&&arguments[0]!==void 0)||arguments[0]?this.addClass("disabled"):this.removeClass("disabled"),this}},{key:"attr",value:function(r,e){var n=this;if(e!==void 0)this.el.setAttribute(r,e);else{if(typeof r=="string")return this.el.getAttribute(r);Object.keys(r).forEach((function(a){n.el.setAttribute(a,r[a])}))}return this}},{key:"removeAttr",value:function(r){return this.el.removeAttribute(r),this}},{key:"html",value:function(r){return r!==void 0?(this.el.innerHTML=r,this):this.el.innerHTML}},{key:"val",value:function(r){return r!==void 0?(this.el.value=r,this):this.el.value}},{key:"focus",value:function(){this.el.focus()}},{key:"cssRemoveKeys",value:function(){for(var r=this,e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];return n.forEach((function(o){return r.el.style.removeProperty(o)})),this}},{key:"css",value:function(r,e){var n=this;return e===void 0&&typeof r!="string"?(Object.keys(r).forEach((function(a){n.el.style[a]=r[a]})),this):e!==void 0?(this.el.style[r]=e,this):this.el.style[r]}},{key:"computedStyle",value:function(){return window.getComputedStyle(this.el,null)}},{key:"show",value:function(){return this.css("display","block"),this}},{key:"hide",value:function(){return this.css("display","none"),this}}])})(),qt=function(t){return new Xl(t,arguments.length>1&&arguments[1]!==void 0?arguments[1]:"")};function or(t){return(function(r){if(Array.isArray(r))return jc(r)})(t)||Md(t)||Lc(t)||(function(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
3
3
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)})()}var ro=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"];function Id(t){for(var r="",e=t;e>=ro.length;)e/=ro.length,e-=1,r+=ro[parseInt(e,10)%ro.length];return r+=ro[t%ro.length]}function J2(t){for(var r=0,e=0;e!==t.length;++e)r=26*r+t.charCodeAt(e)-64;return r-1}function Xa(t){for(var r="",e="",n=0;n<t.length;n+=1)t.charAt(n)>="0"&&t.charAt(n)<="9"?e+=t.charAt(n):r+=t.charAt(n);return[J2(r),parseInt(e,10)-1]}function Aa(t,r){return"".concat(Id(t)).concat(r+1)}function qo(t,r,e){var n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:function(){return!0};if(r===0&&e===0)return t;var a=We(Xa(t),2),o=a[0],s=a[1];return n(o,s)?Aa(o+r,s+e):t}var zn=(function(){function t(r,e,n,a){var o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:0,s=arguments.length>5&&arguments[5]!==void 0?arguments[5]:0;Ct(this,t),this.sri=r,this.sci=e,this.eri=n,this.eci=a,this.w=o,this.h=s}return At(t,[{key:"set",value:function(r,e,n,a){this.sri=r,this.sci=e,this.eri=n,this.eci=a}},{key:"multiple",value:function(){return this.eri-this.sri>0||this.eci-this.sci>0}},{key:"includes",value:function(){for(var r=0,e=0,n=arguments.length,a=new Array(n),o=0;o<n;o++)a[o]=arguments[o];if(a.length===1){var s=We(Xa(a[0]),2);e=s[0],r=s[1]}else a.length===2&&(r=a[0],e=a[1]);var i=this.sri,u=this.sci,l=this.eri,f=this.eci;return i<=r&&r<=l&&u<=e&&e<=f}},{key:"each",value:function(r){for(var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:function(){return!0},n=this.sri,a=this.sci,o=this.eri,s=this.eci,i=n;i<=o;i+=1)if(e(i))for(var u=a;u<=s;u+=1)r(i,u)}},{key:"contains",value:function(r){return this.sri<=r.sri&&this.sci<=r.sci&&this.eri>=r.eri&&this.eci>=r.eci}},{key:"within",value:function(r){return this.sri>=r.sri&&this.sci>=r.sci&&this.eri<=r.eri&&this.eci<=r.eci}},{key:"disjoint",value:function(r){return this.sri>r.eri||this.sci>r.eci||r.sri>this.eri||r.sci>this.eci}},{key:"intersects",value:function(r){return this.sri<=r.eri&&this.sci<=r.eci&&r.sri<=this.eri&&r.sci<=this.eci}},{key:"union",value:function(r){var e=this.sri,n=this.sci,a=this.eri,o=this.eci;return new t(r.sri<e?r.sri:e,r.sci<n?r.sci:n,r.eri>a?r.eri:a,r.eci>o?r.eci:o)}},{key:"difference",value:function(r){var e=[],n=function(h,d,p,m){e.push(new t(h,d,p,m))},a=this.sri,o=this.sci,s=this.eri,i=this.eci,u=r.sri-a,l=r.sci-o,f=s-r.eri,c=i-r.eci;return u>0?(n(a,o,r.sri-1,i),f>0?(n(r.eri+1,o,s,i),l>0&&n(r.sri,o,r.eri,r.sci-1),c>0&&n(r.sri,r.eci+1,r.eri,i)):(l>0&&n(r.sri,o,s,r.sci-1),c>0&&n(r.sri,r.eci+1,s,i))):f>0&&(n(r.eri+1,o,s,i),l>0&&n(a,o,r.eri,r.sci-1),c>0&&n(a,r.eci+1,r.eri,i)),l>0?(n(a,o,s,r.sci-1),c>0?(n(a,r.eri+1,s,i),u>0&&n(a,r.sci,r.sri-1,r.eci),f>0&&n(r.sri+1,r.sci,s,r.eci)):(u>0&&n(a,r.sci,r.sri-1,i),f>0&&n(r.sri+1,r.sci,s,i))):c>0&&(n(s,r.eci+1,s,i),u>0&&n(a,o,r.sri-1,r.eci),f>0&&n(r.eri+1,o,s,r.eci)),e}},{key:"size",value:function(){return[this.eri-this.sri+1,this.eci-this.sci+1]}},{key:"toString",value:function(){var r=this.sri,e=this.sci,n=this.eri,a=this.eci,o=Aa(e,r);return this.multiple()&&(o="".concat(o,":").concat(Aa(a,n))),o}},{key:"clone",value:function(){return new t(this.sri,this.sci,this.eri,this.eci,this.w,this.h)}},{key:"equals",value:function(r){return this.eri===r.eri&&this.eci===r.eci&&this.sri===r.sri&&this.sci===r.sci}}],[{key:"valueOf",value:function(r){var e=r.split(":"),n=We(Xa(e[0]),2),a=n[0],o=n[1],s=o,i=a;if(e.length>1){var u=We(Xa(e[1]),2);i=u[0],s=u[1]}return new t(o,a,s,i)}}])})(),Q2=(function(){return At((function t(){Ct(this,t),this.range=new zn(0,0,0,0),this.ri=0,this.ci=0}),[{key:"multiple",value:function(){return this.range.multiple()}},{key:"setIndexes",value:function(t,r){this.ri=t,this.ci=r}},{key:"size",value:function(){return this.range.size()}}])})(),tb=At((function t(){Ct(this,t),this.x=0,this.y=0,this.ri=0,this.ci=0})),eb=(function(){return At((function t(){Ct(this,t),this.undoItems=[],this.redoItems=[]}),[{key:"add",value:function(t){this.undoItems.push(JSON.stringify(t)),this.redoItems=[]}},{key:"canUndo",value:function(){return this.undoItems.length>0}},{key:"canRedo",value:function(){return this.redoItems.length>0}},{key:"undo",value:function(t,r){var e=this.undoItems,n=this.redoItems;this.canUndo()&&(n.push(JSON.stringify(t)),r(JSON.parse(e.pop())))}},{key:"redo",value:function(t,r){var e=this.undoItems,n=this.redoItems;this.canRedo()&&(e.push(JSON.stringify(t)),r(JSON.parse(n.pop())))}}])})(),rb=(function(){return At((function t(){Ct(this,t),this.range=null,this.state="clear"}),[{key:"copy",value:function(t){return this.range=t,this.state="copy",this}},{key:"cut",value:function(t){return this.range=t,this.state="cut",this}},{key:"isCopy",value:function(){return this.state==="copy"}},{key:"isCut",value:function(){return this.state==="cut"}},{key:"isClear",value:function(){return this.state==="clear"}},{key:"clear",value:function(){this.range=null,this.state="clear"}}])})(),Nd=(function(){return At((function t(r,e,n){Ct(this,t),this.ci=r,this.operator=e,this.value=n}),[{key:"set",value:function(t,r){this.operator=t,this.value=r}},{key:"includes",value:function(t){var r=this.operator,e=this.value;return r==="all"||r==="in"&&e.includes(t)}},{key:"vlength",value:function(){var t=this.operator,r=this.value;return t==="in"?r.length:0}},{key:"getData",value:function(){return{ci:this.ci,operator:this.operator,value:this.value}}}])})(),Pd=(function(){return At((function t(r,e){Ct(this,t),this.ci=r,this.order=e}),[{key:"asc",value:function(){return this.order==="asc"}},{key:"desc",value:function(){return this.order==="desc"}}])})(),nb=(function(){return At((function t(){Ct(this,t),this.ref=null,this.filters=[],this.sort=null}),[{key:"setData",value:function(t){var r=t.ref,e=t.filters,n=t.sort;r!=null&&(this.ref=r,this.filters=e.map((function(a){return new Nd(a.ci,a.operator,a.value)})),n&&(this.sort=new Pd(n.ci,n.order)))}},{key:"getData",value:function(){if(this.active()){var t=this.ref,r=this.filters,e=this.sort;return{ref:t,filters:r.map((function(n){return n.getData()})),sort:e}}return{}}},{key:"addFilter",value:function(t,r,e){var n=this.getFilter(t);n==null?this.filters.push(new Nd(t,r,e)):n.set(r,e)}},{key:"setSort",value:function(t,r){this.sort=r?new Pd(t,r):null}},{key:"includes",value:function(t,r){return!!this.active()&&this.hrange().includes(t,r)}},{key:"getSort",value:function(t){var r=this.sort;return r&&r.ci===t?r:null}},{key:"getFilter",value:function(t){for(var r=this.filters,e=0;e<r.length;e+=1)if(r[e].ci===t)return r[e];return null}},{key:"filteredRows",value:function(t){var r=new Set,e=new Set;if(this.active())for(var n=this.range(),a=n.sri,o=n.eri,s=this.filters,i=a+1;i<=o;i+=1)for(var u=0;u<s.length;u+=1){var l=s[u],f=t(i,l.ci),c=f?f.text:"";if(!l.includes(c)){r.add(i);break}e.add(i)}return{rset:r,fset:e}}},{key:"items",value:function(t,r){var e={};if(this.active())for(var n=this.range(),a=n.sri,o=n.eri,s=a+1;s<=o;s+=1){var i=r(s,t);if(i===null||/^\s*$/.test(i.text))e[""]=(e[""]||0)+1;else{var u=i.text,l=(e[u]||0)+1;e[u]=l}}return e}},{key:"range",value:function(){return zn.valueOf(this.ref)}},{key:"hrange",value:function(){var t=this.range();return t.eri=t.sri,t}},{key:"clear",value:function(){this.ref=null,this.filters=[],this.sort=null}},{key:"active",value:function(){return this.ref!==null}}])})(),ib=(function(){function t(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];Ct(this,t),this._=r}return At(t,[{key:"forEach",value:function(r){this._.forEach(r)}},{key:"deleteWithin",value:function(r){this._=this._.filter((function(e){return!e.within(r)}))}},{key:"getFirstIncludes",value:function(r,e){for(var n=0;n<this._.length;n+=1){var a=this._[n];if(a.includes(r,e))return a}return null}},{key:"filterIntersects",value:function(r){return new t(this._.filter((function(e){return e.intersects(r)})))}},{key:"intersects",value:function(r){for(var e=0;e<this._.length;e+=1)if(this._[e].intersects(r))return!0;return!1}},{key:"union",value:function(r){var e=r;return this._.forEach((function(n){n.intersects(e)&&(e=n.union(e))})),e}},{key:"add",value:function(r){this.deleteWithin(r),this._.push(r)}},{key:"shift",value:function(r,e,n,a){this._.forEach((function(o){var s=o.sri,i=o.sci,u=o.eri,l=o.eci,f=o;r==="row"?s>=e?(f.sri+=n,f.eri+=n):s<e&&e<=u&&(f.eri+=n,a(s,i,n,0)):r==="column"&&(i>=e?(f.sci+=n,f.eci+=n):i<e&&e<=l&&(f.eci+=n,a(s,i,0,n)))}))}},{key:"move",value:function(r,e,n){this._.forEach((function(a){var o=a;o.within(r)&&(o.eri+=e,o.sri+=e,o.sci+=n,o.eci+=n)}))}},{key:"setData",value:function(r){return this._=r.map((function(e){return zn.valueOf(e)})),this}},{key:"getData",value:function(){return this._.map((function(r){return r.toString()}))}}])})(),Dd=function(){for(var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length,e=new Array(r>1?r-1:0),n=1;n<r;n++)e[n-1]=arguments[n];return e.forEach((function(a){Object.keys(a).forEach((function(o){var s=a[o];typeof s=="string"||typeof s=="number"||typeof s=="boolean"?t[o]=s:typeof s!="function"&&!Array.isArray(s)&&s instanceof Object?(t[o]=t[o]||{},Dd(t[o],s)):t[o]=s}))})),t};function Bc(t){for(var r="".concat(t),e=0,n=!1,a=0;a<r.length;a+=1)n===!0&&(e+=1),r.charAt(a)==="."&&(n=!0);return e}function xs(t,r,e){if(Number.isNaN(r)||Number.isNaN(e))return r+t+e;var n=Bc(r),a=Bc(e),o=Number(r),s=Number(e),i=0;if(t==="-")i=o-s;else if(t==="+")i=o+s;else if(t==="*")i=o*s;else if(t==="/")return Bc(i=o/s)>5?i.toFixed(2):i;return i.toFixed(Math.max(n,a))}const pi={cloneDeep:function(t){return JSON.parse(JSON.stringify(t))},merge:function(){for(var t=arguments.length,r=new Array(t),e=0;e<t;e++)r[e]=arguments[e];return Dd.apply(void 0,[{}].concat(r))},equals:function t(r,e){var n=Object.keys(r);if(n.length!==Object.keys(e).length)return!1;for(var a=0;a<n.length;a+=1){var o=n[a],s=r[o],i=e[o];if(i===void 0)return!1;if(typeof s=="string"||typeof s=="number"||typeof s=="boolean"){if(s!==i)return!1}else if(Array.isArray(s)){if(s.length!==i.length)return!1;for(var u=0;u<s.length;u+=1)if(!t(s[u],i[u]))return!1}else if(typeof s!="function"&&!Array.isArray(s)&&s instanceof Object&&!t(s,i))return!1}return!0},arrayEquals:function(t,r){if(t.length!==r.length)return!1;for(var e=0;e<t.length;e+=1)if(t[e]!==r[e])return!1;return!0},sum:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:function(a){return a},e=0,n=0;return Object.keys(t).forEach((function(a){e+=r(t[a],a),n+=1})),[e,n]},rangeEach:function(t,r,e){for(var n=t;n<r;n+=1)e(n)},rangeSum:function(t,r,e){for(var n=0,a=t;a<r;a+=1)n+=e(a);return n},rangeReduceIf:function(t,r,e,n,a,o){for(var s=e,i=n,u=t;u<r&&!(s>a);u+=1)s+=i=o(u);return[u,s-i,i]},deleteProperty:function(t,r){var e=t["".concat(r)];return delete t["".concat(r)],e},numberCalc:xs};var ab=(function(){return At((function t(r){var e=r.len,n=r.height;Ct(this,t),this._={},this.len=e,this.height=n}),[{key:"getHeight",value:function(t){if(this.isHide(t))return 0;var r=this.get(t);return r&&r.height?r.height:this.height}},{key:"setHeight",value:function(t,r){this.getOrNew(t).height=r}},{key:"unhide",value:function(t){for(var r=t;r>0&&(r-=1,this.isHide(r));)this.setHide(r,!1)}},{key:"isHide",value:function(t){var r=this.get(t);return r&&r.hide}},{key:"setHide",value:function(t,r){var e=this.getOrNew(t);r===!0?e.hide=!0:delete e.hide}},{key:"setStyle",value:function(t,r){this.getOrNew(t).style=r}},{key:"sumHeight",value:function(t,r,e){var n=this;return pi.rangeSum(t,r,(function(a){return e&&e.has(a)?0:n.getHeight(a)}))}},{key:"totalHeight",value:function(){return this.sumHeight(0,this.len)}},{key:"get",value:function(t){return this._[t]}},{key:"getOrNew",value:function(t){return this._[t]=this._[t]||{cells:{}},this._[t]}},{key:"getCell",value:function(t,r){var e=this.get(t);return e!==void 0&&e.cells!==void 0&&e.cells[r]!==void 0?e.cells[r]:null}},{key:"getCellMerge",value:function(t,r){var e=this.getCell(t,r);return e&&e.merge?e.merge:[0,0]}},{key:"getCellOrNew",value:function(t,r){var e=this.getOrNew(t);return e.cells[r]=e.cells[r]||{},e.cells[r]}},{key:"setCell",value:function(t,r,e){var n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"all",a=this.getOrNew(t);n==="all"?a.cells[r]=e:n==="text"?(a.cells[r]=a.cells[r]||{},a.cells[r].text=e.text):n==="format"&&(a.cells[r]=a.cells[r]||{},a.cells[r].style=e.style,e.merge&&(a.cells[r].merge=e.merge))}},{key:"setCellText",value:function(t,r,e){var n=this.getCellOrNew(t,r);n.editable!==!1&&(n.text=e)}},{key:"copyPaste",value:function(t,r,e){var n=this,a=arguments.length>3&&arguments[3]!==void 0&&arguments[3],o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:function(){},s=t.sri,i=t.sci,u=t.eri,l=t.eci,f=r.sri,c=r.sci,h=r.eri,d=r.eci,p=We(t.size(),2),m=p[0],v=p[1],b=We(r.size(),2),g=b[0],y=b[1],k=!0,S=0;(h<s||d<i)&&(k=!1,S=h<s?g:y);for(var C=s;C<=u;C+=1)if(this._[C]){for(var R=i;R<=l;R+=1)if(this._[C].cells&&this._[C].cells[R])for(var F=f;F<=h;F+=m)for(var j=function(){var L=F+(C-s),V=B+(R-i),A=pi.cloneDeep(n._[C].cells[R]);if(a&&A&&A.text&&A.text.length>0){var I=A.text,_=B-c+(F-f)+2;if(k||(_-=S+1),I[0]==="=")A.text=I.replace(/[a-zA-Z]{1,3}\d+/g,(function(E){var O=0,D=0;return s===f?O=_-1:D=_-1,/^\d+$/.test(E)?E:qo(E,O,D)}));else if(m<=1&&v>1&&(f>u||h<s)||v<=1&&m>1&&(c>l||d<i)||m<=1&&v<=1){var x=/[\\.\d]+$/.exec(I);if(x!==null){var T=Number(x[0])+_-1;A.text=I.substring(0,x.index)+T}}}n.setCell(L,V,A,e),o(L,V,A)},B=c;B<=d;B+=v)j()}}},{key:"cutPaste",value:function(t,r){var e=this,n={};this.each((function(a){e.eachCells(a,(function(o){var s=parseInt(a,10),i=parseInt(o,10);t.includes(a,o)&&(s=r.sri+(s-t.sri),i=r.sci+(i-t.sci)),n[s]=n[s]||{cells:{}},n[s].cells[i]=e._[a].cells[o]}))})),this._=n}},{key:"paste",value:function(t,r){var e=this;if(!(t.length<=0)){var n=r.sri,a=r.sci;t.forEach((function(o,s){var i=n+s;o.forEach((function(u,l){var f=a+l;e.setCellText(i,f,u)}))}))}}},{key:"insert",value:function(t){var r=this,e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,n={};this.each((function(a,o){var s=parseInt(a,10);s>=t&&(s+=e,r.eachCells(a,(function(i,u){u.text&&u.text[0]==="="&&(u.text=u.text.replace(/[a-zA-Z]{1,3}\d+/g,(function(l){return qo(l,0,e,(function(f,c){return c>=t}))})))}))),n[s]=o})),this._=n,this.len+=e}},{key:"delete",value:function(t,r){var e=this,n=r-t+1,a={};this.each((function(o,s){var i=parseInt(o,10);i<t?a[i]=s:o>r&&(a[i-n]=s,e.eachCells(o,(function(u,l){l.text&&l.text[0]==="="&&(l.text=l.text.replace(/[a-zA-Z]{1,3}\d+/g,(function(f){return qo(f,0,-n,(function(c,h){return h>r}))})))})))})),this._=a,this.len-=n}},{key:"insertColumn",value:function(t){var r=this,e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;this.each((function(n,a){var o={};r.eachCells(n,(function(s,i){var u=parseInt(s,10);u>=t&&(u+=e,i.text&&i.text[0]==="="&&(i.text=i.text.replace(/[a-zA-Z]{1,3}\d+/g,(function(l){return qo(l,e,0,(function(f){return f>=t}))})))),o[u]=i})),a.cells=o}))}},{key:"deleteColumn",value:function(t,r){var e=this,n=r-t+1;this.each((function(a,o){var s={};e.eachCells(a,(function(i,u){var l=parseInt(i,10);l<t?s[l]=u:l>r&&(s[l-n]=u,u.text&&u.text[0]==="="&&(u.text=u.text.replace(/[a-zA-Z]{1,3}\d+/g,(function(f){return qo(f,-n,0,(function(c){return c>r}))}))))})),o.cells=s}))}},{key:"deleteCells",value:function(t){var r=this,e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"all";t.each((function(n,a){r.deleteCell(n,a,e)}))}},{key:"deleteCell",value:function(t,r){var e=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"all",n=this.get(t);if(n!==null){var a=this.getCell(t,r);a!==null&&a.editable!==!1&&(e==="all"?delete n.cells[r]:e==="text"?(a.text&&delete a.text,a.value&&delete a.value):e==="format"?(a.style!==void 0&&delete a.style,a.merge&&delete a.merge):e==="merge"&&a.merge&&delete a.merge)}}},{key:"maxCell",value:function(){var t=Object.keys(this._),r=t[t.length-1],e=this._[r];if(e){var n=e.cells,a=Object.keys(n),o=a[a.length-1];return[parseInt(r,10),parseInt(o,10)]}return[0,0]}},{key:"each",value:function(t){Object.entries(this._).forEach((function(r){var e=We(r,2),n=e[0],a=e[1];t(n,a)}))}},{key:"eachCells",value:function(t,r){this._[t]&&this._[t].cells&&Object.entries(this._[t].cells).forEach((function(e){var n=We(e,2),a=n[0],o=n[1];r(a,o)}))}},{key:"setData",value:function(t){t.len&&(this.len=t.len,delete t.len),this._=t}},{key:"getData",value:function(){var t=this.len;return Object.assign({len:t},this._)}}])})(),sb=(function(){return At((function t(r){var e=r.len,n=r.width,a=r.indexWidth,o=r.minWidth;Ct(this,t),this._={},this.len=e,this.width=n,this.indexWidth=a,this.minWidth=o}),[{key:"setData",value:function(t){t.len&&(this.len=t.len,delete t.len),this._=t}},{key:"getData",value:function(){var t=this.len;return Object.assign({len:t},this._)}},{key:"getWidth",value:function(t){if(this.isHide(t))return 0;var r=this._[t];return r&&r.width?r.width:this.width}},{key:"getOrNew",value:function(t){return this._[t]=this._[t]||{},this._[t]}},{key:"setWidth",value:function(t,r){this.getOrNew(t).width=r}},{key:"unhide",value:function(t){for(var r=t;r>0&&(r-=1,this.isHide(r));)this.setHide(r,!1)}},{key:"isHide",value:function(t){var r=this._[t];return r&&r.hide}},{key:"setHide",value:function(t,r){var e=this.getOrNew(t);r===!0?e.hide=!0:delete e.hide}},{key:"setStyle",value:function(t,r){this.getOrNew(t).style=r}},{key:"sumWidth",value:function(t,r){var e=this;return pi.rangeSum(t,r,(function(n){return e.getWidth(n)}))}},{key:"totalWidth",value:function(){return this.sumWidth(0,this.len)}}])})();function ob(t,r){var e=typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(!e){if(Array.isArray(t)||(e=(function(u,l){if(u){if(typeof u=="string")return Fd(u,l);var f={}.toString.call(u).slice(8,-1);return f==="Object"&&u.constructor&&(f=u.constructor.name),f==="Map"||f==="Set"?Array.from(u):f==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(f)?Fd(u,l):void 0}})(t))||r){e&&(t=e);var n=0,a=function(){};return{s:a,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(u){throw u},f:a}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
4
4
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o,s=!0,i=!1;return{s:function(){e=e.call(t)},n:function(){var u=e.next();return s=u.done,u},e:function(u){i=!0,o=u},f:function(){try{s||e.return==null||e.return()}finally{if(i)throw o}}}}function Fd(t,r){(r==null||r>t.length)&&(r=t.length);for(var e=0,n=Array(r);e<r;e++)n[e]=t[e];return n}var zc=["en"],jd={en:{toolbar:{undo:"Undo",redo:"Redo",print:"Print",paintformat:"Paint format",clearformat:"Clear format",format:"Format",fontName:"Font",fontSize:"Font size",fontBold:"Font bold",fontItalic:"Font italic",underline:"Underline",strike:"Strike",color:"Text color",bgcolor:"Fill color",border:"Borders",merge:"Merge cells",align:"Horizontal align",valign:"Vertical align",textwrap:"Text wrapping",freeze:"Freeze cell",autofilter:"Filter",formula:"Functions",more:"More"},contextmenu:{copy:"Copy",cut:"Cut",paste:"Paste",pasteValue:"Paste values only",pasteFormat:"Paste format only",hide:"Hide",insertRow:"Insert row",insertColumn:"Insert column",deleteSheet:"Delete",deleteRow:"Delete row",deleteColumn:"Delete column",deleteCell:"Delete cell",deleteCellText:"Delete cell text",validation:"Data validations",cellprintable:"Enable export",cellnonprintable:"Disable export",celleditable:"Enable editing",cellnoneditable:"Disable editing"},print:{size:"Paper size",orientation:"Page orientation",orientations:["Landscape","Portrait"]},format:{normal:"Normal",text:"Plain Text",number:"Number",percent:"Percent",rmb:"RMB",usd:"USD",eur:"EUR",date:"Date",time:"Time",datetime:"Date time",duration:"Duration"},formula:{sum:"Sum",average:"Average",max:"Max",min:"Min",_if:"IF",and:"AND",or:"OR",concat:"Concat"},validation:{required:"it must be required",notMatch:"it not match its validation rule",between:"it is between {} and {}",notBetween:"it is not between {} and {}",notIn:"it is not in list",equal:"it equal to {}",notEqual:"it not equal to {}",lessThan:"it less than {}",lessThanEqual:"it less than or equal to {}",greaterThan:"it greater than {}",greaterThanEqual:"it greater than or equal to {}"},error:{pasteForMergedCell:"Unable to do this for merged cells"},calendar:{weeks:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"]},button:{next:"Next",cancel:"Cancel",remove:"Remove",save:"Save",ok:"OK"},sort:{desc:"Sort Z -> A",asc:"Sort A -> Z"},filter:{empty:"empty"},dataValidation:{mode:"Mode",range:"Cell Range",criteria:"Criteria",modeType:{cell:"Cell",column:"Colun",row:"Row"},type:{list:"List",number:"Number",date:"Date",phone:"Phone",email:"Email"},operator:{be:"between",nbe:"not betwwen",lt:"less than",lte:"less than or equal to",gt:"greater than",gte:"greater than or equal to",eq:"equal to",neq:"not equal to"}}}};function Ld(t,r){if(r){var e,n=ob(zc);try{for(n.s();!(e=n.n()).done;){var a=e.value;if(!r[a])break;for(var o=r[a],s=t.match(/(?:\\.|[^.])+/g),i=0;i<s.length;i+=1){var u=o[s[i]];if(!u)break;if(i===s.length-1)return u;o=u}}}catch(l){n.e(l)}finally{n.f()}}}function fn(t){var r=Ld(t,jd);return!r&&window&&window.x_spreadsheet&&window.x_spreadsheet.$messages&&(r=Ld(t,window.x_spreadsheet.$messages)),r||""}function yr(t){return function(){return fn(t)}}function Bd(t,r){arguments.length>2&&arguments[2]!==void 0&&arguments[2]?zc=[t]:zc.unshift(t),r&&(jd[t]=r)}var zd={phone:/^[1-9]\d{10}$/,email:/w+([-+.]w+)*@w+([-.]w+)*.w+([-.]w+)*/};function Zi(t,r){var e="";if(!t){for(var n=arguments.length,a=new Array(n>2?n-2:0),o=2;o<n;o++)a[o-2]=arguments[o];e=fn.apply(void 0,["validation.".concat(r)].concat(a))}return[t,e]}var Ud=(function(){return At((function t(r,e,n,a){Ct(this,t),this.required=e,this.value=n,this.type=r,this.operator=a,this.message=""}),[{key:"parseValue",value:function(t){var r=this.type;return r==="date"?new Date(t):r==="number"?Number(t):t}},{key:"equals",value:function(t){var r=this.type===t.type&&this.required===t.required&&this.operator===t.operator;return r&&(r=Array.isArray(this.value)?pi.arrayEquals(this.value,t.value):this.value===t.value),r}},{key:"values",value:function(){return this.value.split(",")}},{key:"validate",value:function(t){var r=this.required,e=this.operator,n=this.value,a=this.type;if(r&&/^\s*$/.test(t))return Zi(!1,"required");if(/^\s*$/.test(t))return[!0];if(zd[a]&&!zd[a].test(t))return Zi(!1,"notMatch");if(a==="list")return Zi(this.values().includes(t),"notIn");if(e){var o=this.parseValue(t);if(e==="be"){var s=We(n,2),i=s[0],u=s[1];return Zi(o>=this.parseValue(i)&&o<=this.parseValue(u),"between",i,u)}if(e==="nbe"){var l=We(n,2),f=l[0],c=l[1];return Zi(o<this.parseValue(f)||o>this.parseValue(c),"notBetween",f,c)}if(e==="eq")return Zi(o===this.parseValue(n),"equal",n);if(e==="neq")return Zi(o!==this.parseValue(n),"notEqual",n);if(e==="lt")return Zi(o<this.parseValue(n),"lessThan",n);if(e==="lte")return Zi(o<=this.parseValue(n),"lessThanEqual",n);if(e==="gt")return Zi(o>this.parseValue(n),"greaterThan",n);if(e==="gte")return Zi(o>=this.parseValue(n),"greaterThanEqual",n)}return[!0]}}])})(),Hd=(function(){function t(r,e,n){Ct(this,t),this.refs=e,this.mode=r,this.validator=n}return At(t,[{key:"includes",value:function(r,e){for(var n=this.refs,a=0;a<n.length;a+=1)if(zn.valueOf(n[a]).includes(r,e))return!0;return!1}},{key:"addRef",value:function(r){this.remove(zn.valueOf(r)),this.refs.push(r)}},{key:"remove",value:function(r){var e=[];this.refs.forEach((function(n){var a=zn.valueOf(n);a.intersects(r)?a.difference(r).forEach((function(o){return e.push(o.toString())})):e.push(n)})),this.refs=e}},{key:"getData",value:function(){var r=this.refs,e=this.mode,n=this.validator;return{refs:r,mode:e,type:n.type,required:n.required,operator:n.operator,value:n.value}}}],[{key:"valueOf",value:function(r){var e=r.refs,n=r.mode,a=r.type,o=r.required,s=r.operator,i=r.value;return new t(n,e,new Ud(a,o,i,s))}}])})(),lb=(function(){return At((function t(){Ct(this,t),this._=[],this.errors=new Map}),[{key:"getError",value:function(t,r){return this.errors.get("".concat(t,"_").concat(r))}},{key:"validate",value:function(t,r,e){var n=this.get(t,r),a="".concat(t,"_").concat(r),o=this.errors;if(n!==null){var s=We(n.validator.validate(e),2),i=s[0],u=s[1];i?o.delete(a):o.set(a,u)}else o.delete(a);return!0}},{key:"add",value:function(t,r,e){var n=e.type,a=e.required,o=e.value,s=e.operator,i=new Ud(n,a,o,s),u=this.getByValidator(i);u!==null?u.addRef(r):this._.push(new Hd(t,[r],i))}},{key:"getByValidator",value:function(t){for(var r=0;r<this._.length;r+=1){var e=this._[r];if(e.validator.equals(t))return e}return null}},{key:"get",value:function(t,r){for(var e=0;e<this._.length;e+=1){var n=this._[e];if(n.includes(t,r))return n}return null}},{key:"remove",value:function(t){this.each((function(r){r.remove(t)}))}},{key:"each",value:function(t){this._.forEach((function(r){return t(r)}))}},{key:"getData",value:function(){return this._.filter((function(t){return t.refs.length>0})).map((function(t){return t.getData()}))}},{key:"setData",value:function(t){this._=t.map((function(r){return Hd.valueOf(r)}))}}])})(),ub={mode:"edit",view:{height:function(){return document.documentElement.clientHeight},width:function(){return document.documentElement.clientWidth}},showGrid:!0,showToolbar:!0,showContextmenu:!0,showBottomBar:!0,row:{len:100,height:25},col:{len:26,width:100,indexWidth:60,minWidth:60},style:{bgcolor:"#ffffff",align:"left",valign:"middle",textwrap:!1,strike:!1,underline:!1,color:"#0a0a0a",font:{name:"Arial",size:10,bold:!1,italic:!1},format:"normal"}};function Wd(t,r){var e=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(){},n=this.merges,a=r.clone(),o=We(t.size(),2),s=o[0],i=o[1],u=We(r.size(),2),l=u[0],f=u[1];return s>l&&(a.eri=r.sri+s-1),i>f&&(a.eci=r.sci+i-1),!n.intersects(a)||(e(fn("error.pasteForMergedCell")),!1)}function Vd(t,r,e){var n=arguments.length>3&&arguments[3]!==void 0&&arguments[3],a=this.rows,o=this.merges;e!=="all"&&e!=="format"||(a.deleteCells(r,e),o.deleteWithin(r)),a.copyPaste(t,r,e,n,(function(s,i,u){if(u&&u.merge){var l=We(u.merge,2),f=l[0],c=l[1];if(f<=0&&c<=0)return;o.add(new zn(s,i,s+f,i+c))}}))}function cb(t,r){var e=this.clipboard,n=this.rows,a=this.merges;n.cutPaste(t,r),a.move(t,r.sri-t.sri,r.sci-t.sci),e.clear()}function no(t,r,e){var n=this.styles,a=this.rows.getCellOrNew(t,r),o={};a.style!==void 0&&(o=pi.cloneDeep(n[a.style])),o=pi.merge(o,{border:e}),a.style=this.addStyle(o)}function fb(t){var r=this,e=t.mode,n=t.style,a=t.color,o=this.styles,s=this.selector,i=this.rows,u=s.range,l=u.sri,f=u.sci,c=u.eri,h=u.eci,d=!this.isSingleSelected();if(d||e!=="inside"&&e!=="horizontal"&&e!=="vertical")if(e!=="outside"||d){if(e==="none")s.range.each((function(T,E){var O=i.getCell(T,E);if(O&&O.style!==void 0){var D=pi.cloneDeep(o[O.style]);delete D.border,O.style=r.addStyle(D)}}));else if(e==="all"||e==="inside"||e==="outside"||e==="horizontal"||e==="vertical")for(var p=[],m=l;m<=c;m+=1)for(var v=f;v<=h;v+=1){for(var b=[],g=0;g<p.length;g+=1){var y=We(p[g],4),k=y[0],S=y[1],C=y[2],R=y[3];if(m===k+C+1&&b.push(g),k<=m&&m<=k+C&&v===S){v+=R+1;break}}if(b.forEach((function(T){return p.splice(T,1)})),v>h)break;var F=i.getCell(m,v),j=0,B=0;if(F&&F.merge){var L=We(F.merge,2);j=L[0],B=L[1],p.push([m,v,j,B])}var V=j>0&&m+j===c,A=B>0&&v+B===h,I={};e==="all"?I={bottom:[n,a],top:[n,a],left:[n,a],right:[n,a]}:e==="inside"?(!A&&v<h&&(I.right=[n,a]),!V&&m<c&&(I.bottom=[n,a])):e==="horizontal"?!V&&m<c&&(I.bottom=[n,a]):e==="vertical"?!A&&v<h&&(I.right=[n,a]):e==="outside"&&d&&(l===m&&(I.top=[n,a]),(V||c===m)&&(I.bottom=[n,a]),f===v&&(I.left=[n,a]),(A||h===v)&&(I.right=[n,a])),Object.keys(I).length>0&&no.call(this,m,v,I),v+=B}else if(e==="top"||e==="bottom")for(var _=f;_<=h;_+=1)e==="top"&&(no.call(this,l,_,{top:[n,a]}),_+=i.getCellMerge(l,_)[1]),e==="bottom"&&(no.call(this,c,_,{bottom:[n,a]}),_+=i.getCellMerge(c,_)[1]);else if(e==="left"||e==="right")for(var x=l;x<=c;x+=1)e==="left"&&(no.call(this,x,f,{left:[n,a]}),x+=i.getCellMerge(x,f)[0]),e==="right"&&(no.call(this,x,h,{right:[n,a]}),x+=i.getCellMerge(x,h)[0])}else no.call(this,l,f,{top:[n,a],bottom:[n,a],left:[n,a],right:[n,a]})}function hb(t,r){var e=this.rows,n=this.freezeTotalHeight(),a=e.height;n+e.height<t&&(a-=r);for(var o=this.exceptRowSet,s=0,i=a,u=e.height;s<e.len&&!(i>t);s+=1)o.has(s)||(i+=u=e.getHeight(s));return(i-=u)<=0?{ri:-1,top:0,height:u}:{ri:s-1,top:i,height:u}}function db(t,r){var e=this.cols,n=this.freezeTotalWidth(),a=e.indexWidth;n+e.indexWidth<t&&(a-=r);var o=We(pi.rangeReduceIf(0,e.len,a,e.indexWidth,t,(function(l){return e.getWidth(l)})),3),s=o[0],i=o[1],u=o[2];return i<=0?{ci:-1,left:0,width:e.indexWidth}:{ci:s-1,left:i,width:u}}var pb=(function(){return At((function t(r,e){Ct(this,t),this.settings=pi.merge(ub,e||{}),this.name=r||"sheet",this.freeze=[0,0],this.styles=[],this.merges=new ib,this.rows=new ab(this.settings.row),this.cols=new sb(this.settings.col),this.validations=new lb,this.hyperlinks={},this.comments={},this.selector=new Q2,this.scroll=new tb,this.history=new eb,this.clipboard=new rb,this.autoFilter=new nb,this.change=function(){},this.exceptRowSet=new Set,this.sortedRowMap=new Map,this.unsortedRowMap=new Map}),[{key:"addValidation",value:function(t,r,e){var n=this;this.changeData((function(){n.validations.add(t,r,e)}))}},{key:"removeValidation",value:function(){var t=this,r=this.selector.range;this.changeData((function(){t.validations.remove(r)}))}},{key:"getSelectedValidator",value:function(){var t=this.selector,r=t.ri,e=t.ci,n=this.validations.get(r,e);return n?n.validator:null}},{key:"getSelectedValidation",value:function(){var t=this.selector,r=t.ri,e=t.ci,n=t.range,a=this.validations.get(r,e),o={ref:n.toString()};return a!==null&&(o.mode=a.mode,o.validator=a.validator),o}},{key:"canUndo",value:function(){return this.history.canUndo()}},{key:"canRedo",value:function(){return this.history.canRedo()}},{key:"undo",value:function(){var t=this;this.history.undo(this.getData(),(function(r){t.setData(r)}))}},{key:"redo",value:function(){var t=this;this.history.redo(this.getData(),(function(r){t.setData(r)}))}},{key:"copy",value:function(){this.clipboard.copy(this.selector.range)}},{key:"copyToSystemClipboard",value:function(t){for(var r=[],e=this.selector.range,n=e.sri,a=e.eri,o=e.sci,s=e.eci,i=n;i<=a;i+=1){for(var u=[],l=o;l<=s;l+=1){var f=this.getCell(i,l);u.push(f&&f.text||"")}r.push(u)}r=r.map((function(c){return c.join(" ")})).join(`
@@ -1,4 +1,4 @@
1
- import{P as st,g as Q,h as v,v as it,N as Ee,s as Ie,T as H,p as ot,t as m,e as X,j as P,w as z,a as fe,x as at,y as lt,E as ht,z as ft,A as ut,B as dt,u as pt,C as ct,F as mt,f as Me,i as gt,G as kt,H as ue,J as Lt}from"./CodeFileEditor-Ba6Zmomw.js";import{html as bt,htmlCompletionSource as wt}from"./index-DeV80pxs.js";/* empty css */import"./index-BQl91EUk.js";import"./code-navigation-target-BlnRe0-a.js";import"./index-BhQP83Sf.js";import"./index-CZGL8KN8.js";import"./index-BY6eM-n3.js";class U{static create(e,r,n,s,i){let o=s+(s<<8)+e+(r<<4)|0;return new U(e,r,n,o,i,[],[])}constructor(e,r,n,s,i,o,a){this.type=e,this.value=r,this.from=n,this.hash=s,this.end=i,this.children=o,this.positions=a,this.hashProp=[[v.contextHash,s]]}addChild(e,r){e.prop(v.contextHash)!=this.hash&&(e=new H(e.type,e.children,e.positions,e.length,this.hashProp)),this.children.push(e),this.positions.push(r)}toTree(e,r=this.end){let n=this.children.length-1;return n>=0&&(r=Math.max(r,this.positions[n]+this.children[n].length+this.from)),new H(e.types[this.type],this.children,this.positions,r-this.from).balance({makeTree:(s,i,o)=>new H(Q.none,s,i,o,this.hashProp)})}}var u;(function(t){t[t.Document=1]="Document",t[t.CodeBlock=2]="CodeBlock",t[t.FencedCode=3]="FencedCode",t[t.Blockquote=4]="Blockquote",t[t.HorizontalRule=5]="HorizontalRule",t[t.BulletList=6]="BulletList",t[t.OrderedList=7]="OrderedList",t[t.ListItem=8]="ListItem",t[t.ATXHeading1=9]="ATXHeading1",t[t.ATXHeading2=10]="ATXHeading2",t[t.ATXHeading3=11]="ATXHeading3",t[t.ATXHeading4=12]="ATXHeading4",t[t.ATXHeading5=13]="ATXHeading5",t[t.ATXHeading6=14]="ATXHeading6",t[t.SetextHeading1=15]="SetextHeading1",t[t.SetextHeading2=16]="SetextHeading2",t[t.HTMLBlock=17]="HTMLBlock",t[t.LinkReference=18]="LinkReference",t[t.Paragraph=19]="Paragraph",t[t.CommentBlock=20]="CommentBlock",t[t.ProcessingInstructionBlock=21]="ProcessingInstructionBlock",t[t.Escape=22]="Escape",t[t.Entity=23]="Entity",t[t.HardBreak=24]="HardBreak",t[t.Emphasis=25]="Emphasis",t[t.StrongEmphasis=26]="StrongEmphasis",t[t.Link=27]="Link",t[t.Image=28]="Image",t[t.InlineCode=29]="InlineCode",t[t.HTMLTag=30]="HTMLTag",t[t.Comment=31]="Comment",t[t.ProcessingInstruction=32]="ProcessingInstruction",t[t.Autolink=33]="Autolink",t[t.HeaderMark=34]="HeaderMark",t[t.QuoteMark=35]="QuoteMark",t[t.ListMark=36]="ListMark",t[t.LinkMark=37]="LinkMark",t[t.EmphasisMark=38]="EmphasisMark",t[t.CodeMark=39]="CodeMark",t[t.CodeText=40]="CodeText",t[t.CodeInfo=41]="CodeInfo",t[t.LinkTitle=42]="LinkTitle",t[t.LinkLabel=43]="LinkLabel",t[t.URL=44]="URL"})(u||(u={}));class St{constructor(e,r){this.start=e,this.content=r,this.marks=[],this.parsers=[]}}class Ct{constructor(){this.text="",this.baseIndent=0,this.basePos=0,this.depth=0,this.markers=[],this.pos=0,this.indent=0,this.next=-1}forward(){this.basePos>this.pos&&this.forwardInner()}forwardInner(){let e=this.skipSpace(this.basePos);this.indent=this.countIndent(e,this.pos,this.indent),this.pos=e,this.next=e==this.text.length?-1:this.text.charCodeAt(e)}skipSpace(e){return O(this.text,e)}reset(e){for(this.text=e,this.baseIndent=this.basePos=this.pos=this.indent=0,this.forwardInner(),this.depth=1;this.markers.length;)this.markers.pop()}moveBase(e){this.basePos=e,this.baseIndent=this.countIndent(e,this.pos,this.indent)}moveBaseColumn(e){this.baseIndent=e,this.basePos=this.findColumn(e)}addMarker(e){this.markers.push(e)}countIndent(e,r=0,n=0){for(let s=r;s<e;s++)n+=this.text.charCodeAt(s)==9?4-n%4:1;return n}findColumn(e){let r=0;for(let n=0;r<this.text.length&&n<e;r++)n+=this.text.charCodeAt(r)==9?4-n%4:1;return r}scrub(){if(!this.baseIndent)return this.text;let e="";for(let r=0;r<this.basePos;r++)e+=" ";return e+this.text.slice(this.basePos)}}function de(t,e,r){if(r.pos==r.text.length||t!=e.block&&r.indent>=e.stack[r.depth+1].value+r.baseIndent)return!0;if(r.indent>=r.baseIndent+4)return!1;let n=(t.type==u.OrderedList?oe:ie)(r,e,!1);return n>0&&(t.type!=u.BulletList||se(r,e,!1)<0)&&r.text.charCodeAt(r.pos+n-1)==t.value}const He={[u.Blockquote](t,e,r){return r.next!=62?!1:(r.markers.push(k(u.QuoteMark,e.lineStart+r.pos,e.lineStart+r.pos+1)),r.moveBase(r.pos+(x(r.text.charCodeAt(r.pos+1))?2:1)),t.end=e.lineStart+r.text.length,!0)},[u.ListItem](t,e,r){return r.indent<r.baseIndent+t.value&&r.next>-1?!1:(r.moveBaseColumn(r.baseIndent+t.value),!0)},[u.OrderedList]:de,[u.BulletList]:de,[u.Document](){return!0}};function x(t){return t==32||t==9||t==10||t==13}function O(t,e=0){for(;e<t.length&&x(t.charCodeAt(e));)e++;return e}function pe(t,e,r){for(;e>r&&x(t.charCodeAt(e-1));)e--;return e}function Pe(t){if(t.next!=96&&t.next!=126)return-1;let e=t.pos+1;for(;e<t.text.length&&t.text.charCodeAt(e)==t.next;)e++;if(e<t.pos+3)return-1;if(t.next==96){for(let r=e;r<t.text.length;r++)if(t.text.charCodeAt(r)==96)return-1}return e}function ve(t){return t.next!=62?-1:t.text.charCodeAt(t.pos+1)==32?2:1}function se(t,e,r){if(t.next!=42&&t.next!=45&&t.next!=95)return-1;let n=1;for(let s=t.pos+1;s<t.text.length;s++){let i=t.text.charCodeAt(s);if(i==t.next)n++;else if(!x(i))return-1}return r&&t.next==45&&Re(t)>-1&&t.depth==e.stack.length&&e.parser.leafBlockParsers.indexOf(De.SetextHeading)>-1||n<3?-1:1}function Ne(t,e){for(let r=t.stack.length-1;r>=0;r--)if(t.stack[r].type==e)return!0;return!1}function ie(t,e,r){return(t.next==45||t.next==43||t.next==42)&&(t.pos==t.text.length-1||x(t.text.charCodeAt(t.pos+1)))&&(!r||Ne(e,u.BulletList)||t.skipSpace(t.pos+2)<t.text.length)?1:-1}function oe(t,e,r){let n=t.pos,s=t.next;for(;s>=48&&s<=57;){n++;if(n==t.text.length)return-1;s=t.text.charCodeAt(n)}return n==t.pos||n>t.pos+9||s!=46&&s!=41||n<t.text.length-1&&!x(t.text.charCodeAt(n+1))||r&&!Ne(e,u.OrderedList)&&(t.skipSpace(n+1)==t.text.length||n>t.pos+1||t.next!=49)?-1:n+1-t.pos}function ye(t){if(t.next!=35)return-1;let e=t.pos+1;for(;e<t.text.length&&t.text.charCodeAt(e)==35;)e++;if(e<t.text.length&&t.text.charCodeAt(e)!=32)return-1;let r=e-t.pos;return r>6?-1:r}function Re(t){if(t.next!=45&&t.next!=61||t.indent>=t.baseIndent+4)return-1;let e=t.pos+1;for(;e<t.text.length&&t.text.charCodeAt(e)==t.next;)e++;let r=e;for(;e<t.text.length&&x(t.text.charCodeAt(e));)e++;return e==t.text.length?r:-1}const W=/^[ \t]*$/,Oe=/-->/,Te=/\?>/,ee=[[/^<(?:script|pre|style)(?:\s|>|$)/i,/<\/(?:script|pre|style)>/i],[/^\s*<!--/,Oe],[/^\s*<\?/,Te],[/^\s*<![A-Z]/,/>/],[/^\s*<!\[CDATA\[/,/\]\]>/],[/^\s*<\/?(?:address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h1|h2|h3|h4|h5|h6|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul)(?:\s|\/?>|$)/i,W],[/^\s*(?:<\/[a-z][\w-]*\s*>|<[a-z][\w-]*(\s+[a-z:_][\w-.]*(?:\s*=\s*(?:[^\s"'=<>`]+|'[^']*'|"[^"]*"))?)*\s*>)\s*$/i,W]];function ze(t,e,r){if(t.next!=60)return-1;let n=t.text.slice(t.pos);for(let s=0,i=ee.length-(r?1:0);s<i;s++)if(ee[s][0].test(n))return s;return-1}function ce(t,e){let r=t.countIndent(e,t.pos,t.indent),n=t.skipSpace(e),s=t.countIndent(n,e,r);return s>=r+5||n==t.text.length?r+1:s}function A(t,e,r){let n=t.length-1;n>=0&&t[n].to==e&&t[n].type==u.CodeText?t[n].to=r:t.push(k(u.CodeText,e,r))}const $={LinkReference:void 0,IndentedCode(t,e){let r=e.baseIndent+4;if(e.indent<r)return!1;let n=e.findColumn(r),s=t.lineStart+n,i=t.lineStart+e.text.length,o=[],a=[];for(A(o,s,i);t.nextLine()&&e.depth>=t.stack.length;)if(e.pos==e.text.length){A(a,t.lineStart-1,t.lineStart);for(let l of e.markers)a.push(l)}else{if(e.indent<r)break;{if(a.length){for(let h of a)h.type==u.CodeText?A(o,h.from,h.to):o.push(h);a=[]}A(o,t.lineStart-1,t.lineStart);for(let h of e.markers)o.push(h);i=t.lineStart+e.text.length;let l=t.lineStart+e.findColumn(e.baseIndent+4);l<i&&A(o,l,i)}}return a.length&&(a=a.filter(l=>l.type!=u.CodeText),a.length&&(e.markers=a.concat(e.markers))),t.addNode(t.buffer.writeElements(o,-s).finish(u.CodeBlock,i-s),s),!0},FencedCode(t,e){let r=Pe(e);if(r<0)return!1;let n=t.lineStart+e.pos,s=e.next,i=r-e.pos,o=e.skipSpace(r),a=pe(e.text,e.text.length,o),l=[k(u.CodeMark,n,n+i)];o<a&&l.push(k(u.CodeInfo,t.lineStart+o,t.lineStart+a));for(let h=!0,f=!0,p=!1;t.nextLine()&&e.depth>=t.stack.length;h=!1){let d=e.pos;if(e.indent-e.baseIndent<4)for(;d<e.text.length&&e.text.charCodeAt(d)==s;)d++;if(d-e.pos>=i&&e.skipSpace(d)==e.text.length){for(let c of e.markers)l.push(c);f&&p&&A(l,t.lineStart-1,t.lineStart),l.push(k(u.CodeMark,t.lineStart+e.pos,t.lineStart+d)),t.nextLine();break}else{p=!0,h||(A(l,t.lineStart-1,t.lineStart),f=!1);for(let g of e.markers)l.push(g);let c=t.lineStart+e.basePos,L=t.lineStart+e.text.length;c<L&&(A(l,c,L),f=!1)}}return t.addNode(t.buffer.writeElements(l,-n).finish(u.FencedCode,t.prevLineEnd()-n),n),!0},Blockquote(t,e){let r=ve(e);return r<0?!1:(t.startContext(u.Blockquote,e.pos),t.addNode(u.QuoteMark,t.lineStart+e.pos,t.lineStart+e.pos+1),e.moveBase(e.pos+r),null)},HorizontalRule(t,e){if(se(e,t,!1)<0)return!1;let r=t.lineStart+e.pos;return t.nextLine(),t.addNode(u.HorizontalRule,r),!0},BulletList(t,e){let r=ie(e,t,!1);if(r<0)return!1;t.block.type!=u.BulletList&&t.startContext(u.BulletList,e.basePos,e.next);let n=ce(e,e.pos+1);return t.startContext(u.ListItem,e.basePos,n-e.baseIndent),t.addNode(u.ListMark,t.lineStart+e.pos,t.lineStart+e.pos+r),e.moveBaseColumn(n),null},OrderedList(t,e){let r=oe(e,t,!1);if(r<0)return!1;t.block.type!=u.OrderedList&&t.startContext(u.OrderedList,e.basePos,e.text.charCodeAt(e.pos+r-1));let n=ce(e,e.pos+r);return t.startContext(u.ListItem,e.basePos,n-e.baseIndent),t.addNode(u.ListMark,t.lineStart+e.pos,t.lineStart+e.pos+r),e.moveBaseColumn(n),null},ATXHeading(t,e){let r=ye(e);if(r<0)return!1;let n=e.pos,s=t.lineStart+n,i=pe(e.text,e.text.length,n),o=i;for(;o>n&&e.text.charCodeAt(o-1)==e.next;)o--;(o==i||o==n||!x(e.text.charCodeAt(o-1)))&&(o=e.text.length);let a=t.buffer.write(u.HeaderMark,0,r).writeElements(t.parser.parseInline(e.text.slice(n+r+1,o),s+r+1),-s);o<e.text.length&&a.write(u.HeaderMark,o-n,i-n);let l=a.finish(u.ATXHeading1-1+r,e.text.length-n);return t.nextLine(),t.addNode(l,s),!0},HTMLBlock(t,e){let r=ze(e,t,!1);if(r<0)return!1;let n=t.lineStart+e.pos,s=ee[r][1],i=[],o=s!=W;for(;!s.test(e.text)&&t.nextLine();){if(e.depth<t.stack.length){o=!1;break}for(let h of e.markers)i.push(h)}o&&t.nextLine();let a=s==Oe?u.CommentBlock:s==Te?u.ProcessingInstructionBlock:u.HTMLBlock,l=t.prevLineEnd();return t.addNode(t.buffer.writeElements(i,-n).finish(a,l-n),n),!0},SetextHeading:void 0};class xt{constructor(e){this.stage=0,this.elts=[],this.pos=0,this.start=e.start,this.advance(e.content)}nextLine(e,r,n){if(this.stage==-1)return!1;let s=n.content+`
1
+ import{P as st,g as Q,h as v,v as it,N as Ee,s as Ie,T as H,p as ot,t as m,e as X,j as P,w as z,a as fe,x as at,y as lt,E as ht,z as ft,A as ut,B as dt,u as pt,C as ct,F as mt,f as Me,i as gt,G as kt,H as ue,J as Lt}from"./CodeFileEditor-6wA0F6L5.js";import{html as bt,htmlCompletionSource as wt}from"./index-C5GmUt48.js";/* empty css */import"./index-HcLGmFz6.js";import"./code-navigation-target-BlnRe0-a.js";import"./index-BOFmJvuG.js";import"./index-BZAB3p1R.js";import"./index-CfxSWNkF.js";class U{static create(e,r,n,s,i){let o=s+(s<<8)+e+(r<<4)|0;return new U(e,r,n,o,i,[],[])}constructor(e,r,n,s,i,o,a){this.type=e,this.value=r,this.from=n,this.hash=s,this.end=i,this.children=o,this.positions=a,this.hashProp=[[v.contextHash,s]]}addChild(e,r){e.prop(v.contextHash)!=this.hash&&(e=new H(e.type,e.children,e.positions,e.length,this.hashProp)),this.children.push(e),this.positions.push(r)}toTree(e,r=this.end){let n=this.children.length-1;return n>=0&&(r=Math.max(r,this.positions[n]+this.children[n].length+this.from)),new H(e.types[this.type],this.children,this.positions,r-this.from).balance({makeTree:(s,i,o)=>new H(Q.none,s,i,o,this.hashProp)})}}var u;(function(t){t[t.Document=1]="Document",t[t.CodeBlock=2]="CodeBlock",t[t.FencedCode=3]="FencedCode",t[t.Blockquote=4]="Blockquote",t[t.HorizontalRule=5]="HorizontalRule",t[t.BulletList=6]="BulletList",t[t.OrderedList=7]="OrderedList",t[t.ListItem=8]="ListItem",t[t.ATXHeading1=9]="ATXHeading1",t[t.ATXHeading2=10]="ATXHeading2",t[t.ATXHeading3=11]="ATXHeading3",t[t.ATXHeading4=12]="ATXHeading4",t[t.ATXHeading5=13]="ATXHeading5",t[t.ATXHeading6=14]="ATXHeading6",t[t.SetextHeading1=15]="SetextHeading1",t[t.SetextHeading2=16]="SetextHeading2",t[t.HTMLBlock=17]="HTMLBlock",t[t.LinkReference=18]="LinkReference",t[t.Paragraph=19]="Paragraph",t[t.CommentBlock=20]="CommentBlock",t[t.ProcessingInstructionBlock=21]="ProcessingInstructionBlock",t[t.Escape=22]="Escape",t[t.Entity=23]="Entity",t[t.HardBreak=24]="HardBreak",t[t.Emphasis=25]="Emphasis",t[t.StrongEmphasis=26]="StrongEmphasis",t[t.Link=27]="Link",t[t.Image=28]="Image",t[t.InlineCode=29]="InlineCode",t[t.HTMLTag=30]="HTMLTag",t[t.Comment=31]="Comment",t[t.ProcessingInstruction=32]="ProcessingInstruction",t[t.Autolink=33]="Autolink",t[t.HeaderMark=34]="HeaderMark",t[t.QuoteMark=35]="QuoteMark",t[t.ListMark=36]="ListMark",t[t.LinkMark=37]="LinkMark",t[t.EmphasisMark=38]="EmphasisMark",t[t.CodeMark=39]="CodeMark",t[t.CodeText=40]="CodeText",t[t.CodeInfo=41]="CodeInfo",t[t.LinkTitle=42]="LinkTitle",t[t.LinkLabel=43]="LinkLabel",t[t.URL=44]="URL"})(u||(u={}));class St{constructor(e,r){this.start=e,this.content=r,this.marks=[],this.parsers=[]}}class Ct{constructor(){this.text="",this.baseIndent=0,this.basePos=0,this.depth=0,this.markers=[],this.pos=0,this.indent=0,this.next=-1}forward(){this.basePos>this.pos&&this.forwardInner()}forwardInner(){let e=this.skipSpace(this.basePos);this.indent=this.countIndent(e,this.pos,this.indent),this.pos=e,this.next=e==this.text.length?-1:this.text.charCodeAt(e)}skipSpace(e){return O(this.text,e)}reset(e){for(this.text=e,this.baseIndent=this.basePos=this.pos=this.indent=0,this.forwardInner(),this.depth=1;this.markers.length;)this.markers.pop()}moveBase(e){this.basePos=e,this.baseIndent=this.countIndent(e,this.pos,this.indent)}moveBaseColumn(e){this.baseIndent=e,this.basePos=this.findColumn(e)}addMarker(e){this.markers.push(e)}countIndent(e,r=0,n=0){for(let s=r;s<e;s++)n+=this.text.charCodeAt(s)==9?4-n%4:1;return n}findColumn(e){let r=0;for(let n=0;r<this.text.length&&n<e;r++)n+=this.text.charCodeAt(r)==9?4-n%4:1;return r}scrub(){if(!this.baseIndent)return this.text;let e="";for(let r=0;r<this.basePos;r++)e+=" ";return e+this.text.slice(this.basePos)}}function de(t,e,r){if(r.pos==r.text.length||t!=e.block&&r.indent>=e.stack[r.depth+1].value+r.baseIndent)return!0;if(r.indent>=r.baseIndent+4)return!1;let n=(t.type==u.OrderedList?oe:ie)(r,e,!1);return n>0&&(t.type!=u.BulletList||se(r,e,!1)<0)&&r.text.charCodeAt(r.pos+n-1)==t.value}const He={[u.Blockquote](t,e,r){return r.next!=62?!1:(r.markers.push(k(u.QuoteMark,e.lineStart+r.pos,e.lineStart+r.pos+1)),r.moveBase(r.pos+(x(r.text.charCodeAt(r.pos+1))?2:1)),t.end=e.lineStart+r.text.length,!0)},[u.ListItem](t,e,r){return r.indent<r.baseIndent+t.value&&r.next>-1?!1:(r.moveBaseColumn(r.baseIndent+t.value),!0)},[u.OrderedList]:de,[u.BulletList]:de,[u.Document](){return!0}};function x(t){return t==32||t==9||t==10||t==13}function O(t,e=0){for(;e<t.length&&x(t.charCodeAt(e));)e++;return e}function pe(t,e,r){for(;e>r&&x(t.charCodeAt(e-1));)e--;return e}function Pe(t){if(t.next!=96&&t.next!=126)return-1;let e=t.pos+1;for(;e<t.text.length&&t.text.charCodeAt(e)==t.next;)e++;if(e<t.pos+3)return-1;if(t.next==96){for(let r=e;r<t.text.length;r++)if(t.text.charCodeAt(r)==96)return-1}return e}function ve(t){return t.next!=62?-1:t.text.charCodeAt(t.pos+1)==32?2:1}function se(t,e,r){if(t.next!=42&&t.next!=45&&t.next!=95)return-1;let n=1;for(let s=t.pos+1;s<t.text.length;s++){let i=t.text.charCodeAt(s);if(i==t.next)n++;else if(!x(i))return-1}return r&&t.next==45&&Re(t)>-1&&t.depth==e.stack.length&&e.parser.leafBlockParsers.indexOf(De.SetextHeading)>-1||n<3?-1:1}function Ne(t,e){for(let r=t.stack.length-1;r>=0;r--)if(t.stack[r].type==e)return!0;return!1}function ie(t,e,r){return(t.next==45||t.next==43||t.next==42)&&(t.pos==t.text.length-1||x(t.text.charCodeAt(t.pos+1)))&&(!r||Ne(e,u.BulletList)||t.skipSpace(t.pos+2)<t.text.length)?1:-1}function oe(t,e,r){let n=t.pos,s=t.next;for(;s>=48&&s<=57;){n++;if(n==t.text.length)return-1;s=t.text.charCodeAt(n)}return n==t.pos||n>t.pos+9||s!=46&&s!=41||n<t.text.length-1&&!x(t.text.charCodeAt(n+1))||r&&!Ne(e,u.OrderedList)&&(t.skipSpace(n+1)==t.text.length||n>t.pos+1||t.next!=49)?-1:n+1-t.pos}function ye(t){if(t.next!=35)return-1;let e=t.pos+1;for(;e<t.text.length&&t.text.charCodeAt(e)==35;)e++;if(e<t.text.length&&t.text.charCodeAt(e)!=32)return-1;let r=e-t.pos;return r>6?-1:r}function Re(t){if(t.next!=45&&t.next!=61||t.indent>=t.baseIndent+4)return-1;let e=t.pos+1;for(;e<t.text.length&&t.text.charCodeAt(e)==t.next;)e++;let r=e;for(;e<t.text.length&&x(t.text.charCodeAt(e));)e++;return e==t.text.length?r:-1}const W=/^[ \t]*$/,Oe=/-->/,Te=/\?>/,ee=[[/^<(?:script|pre|style)(?:\s|>|$)/i,/<\/(?:script|pre|style)>/i],[/^\s*<!--/,Oe],[/^\s*<\?/,Te],[/^\s*<![A-Z]/,/>/],[/^\s*<!\[CDATA\[/,/\]\]>/],[/^\s*<\/?(?:address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h1|h2|h3|h4|h5|h6|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul)(?:\s|\/?>|$)/i,W],[/^\s*(?:<\/[a-z][\w-]*\s*>|<[a-z][\w-]*(\s+[a-z:_][\w-.]*(?:\s*=\s*(?:[^\s"'=<>`]+|'[^']*'|"[^"]*"))?)*\s*>)\s*$/i,W]];function ze(t,e,r){if(t.next!=60)return-1;let n=t.text.slice(t.pos);for(let s=0,i=ee.length-(r?1:0);s<i;s++)if(ee[s][0].test(n))return s;return-1}function ce(t,e){let r=t.countIndent(e,t.pos,t.indent),n=t.skipSpace(e),s=t.countIndent(n,e,r);return s>=r+5||n==t.text.length?r+1:s}function A(t,e,r){let n=t.length-1;n>=0&&t[n].to==e&&t[n].type==u.CodeText?t[n].to=r:t.push(k(u.CodeText,e,r))}const $={LinkReference:void 0,IndentedCode(t,e){let r=e.baseIndent+4;if(e.indent<r)return!1;let n=e.findColumn(r),s=t.lineStart+n,i=t.lineStart+e.text.length,o=[],a=[];for(A(o,s,i);t.nextLine()&&e.depth>=t.stack.length;)if(e.pos==e.text.length){A(a,t.lineStart-1,t.lineStart);for(let l of e.markers)a.push(l)}else{if(e.indent<r)break;{if(a.length){for(let h of a)h.type==u.CodeText?A(o,h.from,h.to):o.push(h);a=[]}A(o,t.lineStart-1,t.lineStart);for(let h of e.markers)o.push(h);i=t.lineStart+e.text.length;let l=t.lineStart+e.findColumn(e.baseIndent+4);l<i&&A(o,l,i)}}return a.length&&(a=a.filter(l=>l.type!=u.CodeText),a.length&&(e.markers=a.concat(e.markers))),t.addNode(t.buffer.writeElements(o,-s).finish(u.CodeBlock,i-s),s),!0},FencedCode(t,e){let r=Pe(e);if(r<0)return!1;let n=t.lineStart+e.pos,s=e.next,i=r-e.pos,o=e.skipSpace(r),a=pe(e.text,e.text.length,o),l=[k(u.CodeMark,n,n+i)];o<a&&l.push(k(u.CodeInfo,t.lineStart+o,t.lineStart+a));for(let h=!0,f=!0,p=!1;t.nextLine()&&e.depth>=t.stack.length;h=!1){let d=e.pos;if(e.indent-e.baseIndent<4)for(;d<e.text.length&&e.text.charCodeAt(d)==s;)d++;if(d-e.pos>=i&&e.skipSpace(d)==e.text.length){for(let c of e.markers)l.push(c);f&&p&&A(l,t.lineStart-1,t.lineStart),l.push(k(u.CodeMark,t.lineStart+e.pos,t.lineStart+d)),t.nextLine();break}else{p=!0,h||(A(l,t.lineStart-1,t.lineStart),f=!1);for(let g of e.markers)l.push(g);let c=t.lineStart+e.basePos,L=t.lineStart+e.text.length;c<L&&(A(l,c,L),f=!1)}}return t.addNode(t.buffer.writeElements(l,-n).finish(u.FencedCode,t.prevLineEnd()-n),n),!0},Blockquote(t,e){let r=ve(e);return r<0?!1:(t.startContext(u.Blockquote,e.pos),t.addNode(u.QuoteMark,t.lineStart+e.pos,t.lineStart+e.pos+1),e.moveBase(e.pos+r),null)},HorizontalRule(t,e){if(se(e,t,!1)<0)return!1;let r=t.lineStart+e.pos;return t.nextLine(),t.addNode(u.HorizontalRule,r),!0},BulletList(t,e){let r=ie(e,t,!1);if(r<0)return!1;t.block.type!=u.BulletList&&t.startContext(u.BulletList,e.basePos,e.next);let n=ce(e,e.pos+1);return t.startContext(u.ListItem,e.basePos,n-e.baseIndent),t.addNode(u.ListMark,t.lineStart+e.pos,t.lineStart+e.pos+r),e.moveBaseColumn(n),null},OrderedList(t,e){let r=oe(e,t,!1);if(r<0)return!1;t.block.type!=u.OrderedList&&t.startContext(u.OrderedList,e.basePos,e.text.charCodeAt(e.pos+r-1));let n=ce(e,e.pos+r);return t.startContext(u.ListItem,e.basePos,n-e.baseIndent),t.addNode(u.ListMark,t.lineStart+e.pos,t.lineStart+e.pos+r),e.moveBaseColumn(n),null},ATXHeading(t,e){let r=ye(e);if(r<0)return!1;let n=e.pos,s=t.lineStart+n,i=pe(e.text,e.text.length,n),o=i;for(;o>n&&e.text.charCodeAt(o-1)==e.next;)o--;(o==i||o==n||!x(e.text.charCodeAt(o-1)))&&(o=e.text.length);let a=t.buffer.write(u.HeaderMark,0,r).writeElements(t.parser.parseInline(e.text.slice(n+r+1,o),s+r+1),-s);o<e.text.length&&a.write(u.HeaderMark,o-n,i-n);let l=a.finish(u.ATXHeading1-1+r,e.text.length-n);return t.nextLine(),t.addNode(l,s),!0},HTMLBlock(t,e){let r=ze(e,t,!1);if(r<0)return!1;let n=t.lineStart+e.pos,s=ee[r][1],i=[],o=s!=W;for(;!s.test(e.text)&&t.nextLine();){if(e.depth<t.stack.length){o=!1;break}for(let h of e.markers)i.push(h)}o&&t.nextLine();let a=s==Oe?u.CommentBlock:s==Te?u.ProcessingInstructionBlock:u.HTMLBlock,l=t.prevLineEnd();return t.addNode(t.buffer.writeElements(i,-n).finish(a,l-n),n),!0},SetextHeading:void 0};class xt{constructor(e){this.stage=0,this.elts=[],this.pos=0,this.start=e.start,this.advance(e.content)}nextLine(e,r,n){if(this.stage==-1)return!1;let s=n.content+`
2
2
  `+r.scrub(),i=this.advance(s);return i>-1&&i<s.length?this.complete(e,n,i):!1}finish(e,r){return(this.stage==2||this.stage==3)&&O(r.content,this.pos)==r.content.length?this.complete(e,r,r.content.length):!1}complete(e,r,n){return e.addLeafElement(r,k(u.LinkReference,this.start,this.start+n,this.elts)),!0}nextStage(e){return e?(this.pos=e.to-this.start,this.elts.push(e),this.stage++,!0):(e===!1&&(this.stage=-1),!1)}advance(e){for(;;){if(this.stage==-1)return-1;if(this.stage==0){if(!this.nextStage(Ze(e,this.pos,this.start,!0)))return-1;if(e.charCodeAt(this.pos)!=58)return this.stage=-1;this.elts.push(k(u.LinkMark,this.pos+this.start,this.pos+this.start+1)),this.pos++}else if(this.stage==1){if(!this.nextStage(qe(e,O(e,this.pos),this.start)))return-1}else if(this.stage==2){let r=O(e,this.pos),n=0;if(r>this.pos){let s=Qe(e,r,this.start);if(s){let i=G(e,s.to-this.start);i>0&&(this.nextStage(s),n=i)}}return n||(n=G(e,this.pos)),n>0&&n<e.length?n:-1}else return G(e,this.pos)}}}function G(t,e){for(;e<t.length;e++){let r=t.charCodeAt(e);if(r==10)break;if(!x(r))return-1}return e}class At{nextLine(e,r,n){let s=r.depth<e.stack.length?-1:Re(r),i=r.next;if(s<0)return!1;let o=k(u.HeaderMark,e.lineStart+r.pos,e.lineStart+s);return e.nextLine(),e.addLeafElement(n,k(i==61?u.SetextHeading1:u.SetextHeading2,n.start,e.prevLineEnd(),[...e.parser.parseInline(n.content,n.start),o])),!0}finish(){return!1}}const De={LinkReference(t,e){return e.content.charCodeAt(0)==91?new xt(e):null},SetextHeading(){return new At}},Bt=[(t,e)=>ye(e)>=0,(t,e)=>Pe(e)>=0,(t,e)=>ve(e)>=0,(t,e)=>ie(e,t,!0)>=0,(t,e)=>oe(e,t,!0)>=0,(t,e)=>se(e,t,!0)>=0,(t,e)=>ze(e,t,!0)>=0],Et={text:"",end:0};class It{constructor(e,r,n,s){this.parser=e,this.input=r,this.ranges=s,this.line=new Ct,this.atEnd=!1,this.reusePlaceholders=new Map,this.stoppedAt=null,this.rangeI=0,this.to=s[s.length-1].to,this.lineStart=this.absoluteLineStart=this.absoluteLineEnd=s[0].from,this.block=U.create(u.Document,0,this.lineStart,0,0),this.stack=[this.block],this.fragments=n.length?new Pt(n,r):null,this.readLine()}get parsedPos(){return this.absoluteLineStart}advance(){if(this.stoppedAt!=null&&this.absoluteLineStart>this.stoppedAt)return this.finish();let{line:e}=this;for(;;){for(let n=0;;){let s=e.depth<this.stack.length?this.stack[this.stack.length-1]:null;for(;n<e.markers.length&&(!s||e.markers[n].from<s.end);){let i=e.markers[n++];this.addNode(i.type,i.from,i.to)}if(!s)break;this.finishContext()}if(e.pos<e.text.length)break;if(!this.nextLine())return this.finish()}if(this.fragments&&this.reuseFragment(e.basePos))return null;e:for(;;){for(let n of this.parser.blockParsers)if(n){let s=n(this,e);if(s!=!1){if(s==!0)return null;e.forward();continue e}}break}if(e.pos==e.text.length)return this.nextLine()?null:this.finish();let r=new St(this.lineStart+e.pos,e.text.slice(e.pos));for(let n of this.parser.leafBlockParsers)if(n){let s=n(this,r);s&&r.parsers.push(s)}e:for(;this.nextLine()&&e.pos!=e.text.length;){if(e.indent<e.baseIndent+4){for(let n of this.parser.endLeafBlock)if(n(this,e,r))break e}for(let n of r.parsers)if(n.nextLine(this,e,r))return null;r.content+=`
3
3
  `+e.scrub();for(let n of e.markers)r.marks.push(n)}return this.finishLeaf(r),null}stopAt(e){if(this.stoppedAt!=null&&this.stoppedAt<e)throw new RangeError("Can't move stoppedAt forward");this.stoppedAt=e}reuseFragment(e){if(!this.fragments.moveTo(this.absoluteLineStart+e,this.absoluteLineStart)||!this.fragments.matches(this.block.hash))return!1;let r=this.fragments.takeNodes(this);return r?(this.absoluteLineStart+=r,this.lineStart=Ge(this.absoluteLineStart,this.ranges),this.moveRangeI(),this.absoluteLineStart<this.to?(this.lineStart++,this.absoluteLineStart++,this.readLine()):(this.atEnd=!0,this.readLine()),!0):!1}get depth(){return this.stack.length}parentType(e=this.depth-1){return this.parser.nodeSet.types[this.stack[e].type]}nextLine(){return this.lineStart+=this.line.text.length,this.absoluteLineEnd>=this.to?(this.absoluteLineStart=this.absoluteLineEnd,this.atEnd=!0,this.readLine(),!1):(this.lineStart++,this.absoluteLineStart=this.absoluteLineEnd+1,this.moveRangeI(),this.readLine(),!0)}peekLine(){return this.scanLine(this.absoluteLineEnd+1).text}moveRangeI(){for(;this.rangeI<this.ranges.length-1&&this.absoluteLineStart>=this.ranges[this.rangeI].to;)this.rangeI++,this.absoluteLineStart=Math.max(this.absoluteLineStart,this.ranges[this.rangeI].from)}scanLine(e){let r=Et;if(r.end=e,e>=this.to)r.text="";else if(r.text=this.lineChunkAt(e),r.end+=r.text.length,this.ranges.length>1){let n=this.absoluteLineStart,s=this.rangeI;for(;this.ranges[s].to<r.end;){s++;let i=this.ranges[s].from,o=this.lineChunkAt(i);r.end=i+o.length,r.text=r.text.slice(0,this.ranges[s-1].to-n)+o,n=r.end-r.text.length}}return r}readLine(){let{line:e}=this,{text:r,end:n}=this.scanLine(this.absoluteLineStart);for(this.absoluteLineEnd=n,e.reset(r);e.depth<this.stack.length;e.depth++){let s=this.stack[e.depth],i=this.parser.skipContextMarkup[s.type];if(!i)throw new Error("Unhandled block context "+u[s.type]);let o=this.line.markers.length;if(!i(s,this,e)){this.line.markers.length>o&&(s.end=this.line.markers[this.line.markers.length-1].to),e.forward();break}e.forward()}}lineChunkAt(e){let r=this.input.chunk(e),n;if(this.input.lineChunks)n=r==`
4
4
  `?"":r;else{let s=r.indexOf(`
@@ -0,0 +1,2 @@
1
+ import{_ as a,l as o,G as p,d as s}from"./mermaid.core-CpkB2-G5.js";import{p as n}from"./cynefin-OW5HDTMX-KBpmuuGI.js";import"./index-HcLGmFz6.js";import"./FilePreviewLoading-C1U4PIWp.js";import"./use-form-common-props-CZ8CMPWx.js";import"./el-scrollbar-BygTOJ7z.js";import"./el-input-CmMxlyJC.js";import"./mobile-dialog-return-service-B05lwAuG.js";import"./BusyIndicator-MYxuzJwk.js";import"./isArrayLikeObject-ZvOzSYjq.js";import"./_baseIteratee-D6vE6jHm.js";import"./union-DVxeg9h3.js";import"./_baseFindIndex-D7XfJLKM.js";var m={parse:a(async r=>{const t=await n("info",r);o.debug(t)},"parse")},g={version:"11.17.1"},d=a(()=>g.version,"getVersion"),v={getVersion:d},c=a((r,t,i)=>{o.debug(`rendering info diagram
2
+ `+r);const e=p(t);s(e,100,400,!0),e.append("g").append("text").attr("x",100).attr("y",40).attr("class","version").attr("font-size",32).style("text-anchor","middle").text(`v${i}`)},"draw"),l={draw:c},A={parser:m,db:v,renderer:l};export{A as diagram};
@@ -1 +1 @@
1
- import{a$ as h,b0 as g,b1 as k,b2 as v,b3 as f,b4 as O}from"./index-BQl91EUk.js";function w(r,a){return h(g(r,a,k),r+"")}function d(r){return function(a,e,n){for(var i=-1,s=Object(a),t=n(a),u=t.length;u--;){var b=t[++i];if(e(s[b],b,s)===!1)break}return a}}var m=d();function p(r,a){return r&&m(r,a,v)}function R(r,a){return function(e,n){if(e==null)return e;if(!f(e))return r(e,n);for(var i=e.length,s=-1,t=Object(e);++s<i&&n(t[s],s,t)!==!1;);return e}}var x=R(p);function y(r){return O(r)&&f(r)}export{m as a,w as b,x as c,p as d,y as i};
1
+ import{a$ as h,b0 as g,b1 as k,b2 as v,b3 as f,b4 as O}from"./index-HcLGmFz6.js";function w(r,a){return h(g(r,a,k),r+"")}function d(r){return function(a,e,n){for(var i=-1,s=Object(a),t=n(a),u=t.length;u--;){var b=t[++i];if(e(s[b],b,s)===!1)break}return a}}var m=d();function p(r,a){return r&&m(r,a,v)}function R(r,a){return function(e,n){if(e==null)return e;if(!f(e))return r(e,n);for(var i=e.length,s=-1,t=Object(e);++s<i&&n(t[s],s,t)!==!1;);return e}}var x=R(p);function y(r){return O(r)&&f(r)}export{m as a,w as b,x as c,p as d,y as i};
@@ -1,4 +1,4 @@
1
- import{_ as o,c as ot,a2 as ut,G as dt,am as yt,r as pt,k as ft,p as it,a as gt,b as kt,g as mt,s as wt,q as _t,d as bt}from"./mermaid.core-BefpKbQ_.js";import"./index-BQl91EUk.js";import"./FilePreviewLoading-DRnSA8fU.js";import"./use-form-common-props-BToB4iwu.js";import"./el-scrollbar-D-InNODH.js";import"./el-input-sXkJlh-g.js";import"./mobile-dialog-return-service-Bg2LBZi3.js";import"./BusyIndicator-xe3P4gjH.js";import"./isArrayLikeObject-CxfHIq3H.js";import"./_baseIteratee-BLtWZfy-.js";import"./union-Cyh-UcHd.js";import"./_baseFindIndex-D7XfJLKM.js";var J=(function(){var e=o(function(T,t,s,i){for(s=s||{},i=T.length;i--;s[T[i]]=t);return s},"o"),h=[1,4],r=[1,14],a=[1,12],l=[1,13],y=[6,7,8],p=[1,20],d=[1,18],m=[1,19],u=[6,7,11],k=[1,6,13,14],g=[1,23],_=[1,24],x=[1,6,7,11,13,14],D={trace:o(function(){},"trace"),yy:{},symbols_:{error:2,start:3,ishikawa:4,spaceLines:5,SPACELINE:6,NL:7,ISHIKAWA:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,TEXT:14,$accept:0,$end:1},terminals_:{2:"error",6:"SPACELINE",7:"NL",8:"ISHIKAWA",11:"EOF",13:"SPACELIST",14:"TEXT"},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,2],[12,1],[12,1],[12,1]],performAction:o(function(t,s,i,c,f,n,v){var w=n.length-1;switch(f){case 6:case 7:return c;case 15:c.addNode(n[w-1].length,n[w].trim());break;case 16:c.addNode(0,n[w].trim());break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],8:h},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:h},{6:r,7:[1,10],9:9,12:11,13:a,14:l},e(y,[2,3]),{1:[2,2]},e(y,[2,4]),e(y,[2,5]),{1:[2,6],6:r,12:15,13:a,14:l},{6:r,9:16,12:11,13:a,14:l},{6:p,7:d,10:17,11:m},e(u,[2,18],{14:[1,21]}),e(u,[2,16]),e(u,[2,17]),{6:p,7:d,10:22,11:m},{1:[2,7],6:r,12:15,13:a,14:l},e(k,[2,14],{7:g,11:_}),e(x,[2,8]),e(x,[2,9]),e(x,[2,10]),e(u,[2,15]),e(k,[2,13],{7:g,11:_}),e(x,[2,11]),e(x,[2,12])],defaultActions:{2:[2,1],6:[2,2]},parseError:o(function(t,s){if(s.recoverable)this.trace(t);else{var i=new Error(t);throw i.hash=s,i}},"parseError"),parse:o(function(t){var s=this,i=[0],c=[],f=[null],n=[],v=this.table,w="",I=0,$=0,L=2,A=1,C=n.slice.call(arguments,1),b=Object.create(this.lexer),S={yy:{}};for(var P in this.yy)Object.prototype.hasOwnProperty.call(this.yy,P)&&(S.yy[P]=this.yy[P]);b.setInput(t,S.yy),S.yy.lexer=b,S.yy.parser=this,typeof b.yylloc>"u"&&(b.yylloc={});var R=b.yylloc;n.push(R);var G=b.options&&b.options.ranges;typeof S.yy.parseError=="function"?this.parseError=S.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Y(B){i.length=i.length-2*B,f.length=f.length-B,n.length=n.length-B}o(Y,"popStack");function tt(){var B;return B=c.pop()||b.lex()||A,typeof B!="number"&&(B instanceof Array&&(c=B,B=c.pop()),B=s.symbols_[B]||B),B}o(tt,"lex");for(var M,W,N,q,F={},U,V,et,Z;;){if(W=i[i.length-1],this.defaultActions[W]?N=this.defaultActions[W]:((M===null||typeof M>"u")&&(M=tt()),N=v[W]&&v[W][M]),typeof N>"u"||!N.length||!N[0]){var K="";Z=[];for(U in v[W])this.terminals_[U]&&U>L&&Z.push("'"+this.terminals_[U]+"'");b.showPosition?K="Parse error on line "+(I+1)+`:
1
+ import{_ as o,c as ot,a2 as ut,G as dt,am as yt,r as pt,k as ft,p as it,a as gt,b as kt,g as mt,s as wt,q as _t,d as bt}from"./mermaid.core-CpkB2-G5.js";import"./index-HcLGmFz6.js";import"./FilePreviewLoading-C1U4PIWp.js";import"./use-form-common-props-CZ8CMPWx.js";import"./el-scrollbar-BygTOJ7z.js";import"./el-input-CmMxlyJC.js";import"./mobile-dialog-return-service-B05lwAuG.js";import"./BusyIndicator-MYxuzJwk.js";import"./isArrayLikeObject-ZvOzSYjq.js";import"./_baseIteratee-D6vE6jHm.js";import"./union-DVxeg9h3.js";import"./_baseFindIndex-D7XfJLKM.js";var J=(function(){var e=o(function(T,t,s,i){for(s=s||{},i=T.length;i--;s[T[i]]=t);return s},"o"),h=[1,4],r=[1,14],a=[1,12],l=[1,13],y=[6,7,8],p=[1,20],d=[1,18],m=[1,19],u=[6,7,11],k=[1,6,13,14],g=[1,23],_=[1,24],x=[1,6,7,11,13,14],D={trace:o(function(){},"trace"),yy:{},symbols_:{error:2,start:3,ishikawa:4,spaceLines:5,SPACELINE:6,NL:7,ISHIKAWA:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,TEXT:14,$accept:0,$end:1},terminals_:{2:"error",6:"SPACELINE",7:"NL",8:"ISHIKAWA",11:"EOF",13:"SPACELIST",14:"TEXT"},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,2],[12,1],[12,1],[12,1]],performAction:o(function(t,s,i,c,f,n,v){var w=n.length-1;switch(f){case 6:case 7:return c;case 15:c.addNode(n[w-1].length,n[w].trim());break;case 16:c.addNode(0,n[w].trim());break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],8:h},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:h},{6:r,7:[1,10],9:9,12:11,13:a,14:l},e(y,[2,3]),{1:[2,2]},e(y,[2,4]),e(y,[2,5]),{1:[2,6],6:r,12:15,13:a,14:l},{6:r,9:16,12:11,13:a,14:l},{6:p,7:d,10:17,11:m},e(u,[2,18],{14:[1,21]}),e(u,[2,16]),e(u,[2,17]),{6:p,7:d,10:22,11:m},{1:[2,7],6:r,12:15,13:a,14:l},e(k,[2,14],{7:g,11:_}),e(x,[2,8]),e(x,[2,9]),e(x,[2,10]),e(u,[2,15]),e(k,[2,13],{7:g,11:_}),e(x,[2,11]),e(x,[2,12])],defaultActions:{2:[2,1],6:[2,2]},parseError:o(function(t,s){if(s.recoverable)this.trace(t);else{var i=new Error(t);throw i.hash=s,i}},"parseError"),parse:o(function(t){var s=this,i=[0],c=[],f=[null],n=[],v=this.table,w="",I=0,$=0,L=2,A=1,C=n.slice.call(arguments,1),b=Object.create(this.lexer),S={yy:{}};for(var P in this.yy)Object.prototype.hasOwnProperty.call(this.yy,P)&&(S.yy[P]=this.yy[P]);b.setInput(t,S.yy),S.yy.lexer=b,S.yy.parser=this,typeof b.yylloc>"u"&&(b.yylloc={});var R=b.yylloc;n.push(R);var G=b.options&&b.options.ranges;typeof S.yy.parseError=="function"?this.parseError=S.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Y(B){i.length=i.length-2*B,f.length=f.length-B,n.length=n.length-B}o(Y,"popStack");function tt(){var B;return B=c.pop()||b.lex()||A,typeof B!="number"&&(B instanceof Array&&(c=B,B=c.pop()),B=s.symbols_[B]||B),B}o(tt,"lex");for(var M,W,N,q,F={},U,V,et,Z;;){if(W=i[i.length-1],this.defaultActions[W]?N=this.defaultActions[W]:((M===null||typeof M>"u")&&(M=tt()),N=v[W]&&v[W][M]),typeof N>"u"||!N.length||!N[0]){var K="";Z=[];for(U in v[W])this.terminals_[U]&&U>L&&Z.push("'"+this.terminals_[U]+"'");b.showPosition?K="Parse error on line "+(I+1)+`:
2
2
  `+b.showPosition()+`
3
3
  Expecting `+Z.join(", ")+", got '"+(this.terminals_[M]||M)+"'":K="Parse error on line "+(I+1)+": Unexpected "+(M==A?"end of input":"'"+(this.terminals_[M]||M)+"'"),this.parseError(K,{text:b.match,token:this.terminals_[M]||M,line:b.yylineno,loc:R,expected:Z})}if(N[0]instanceof Array&&N.length>1)throw new Error("Parse Error: multiple actions possible at state: "+W+", token: "+M);switch(N[0]){case 1:i.push(M),f.push(b.yytext),n.push(b.yylloc),i.push(N[1]),M=null,$=b.yyleng,w=b.yytext,I=b.yylineno,R=b.yylloc;break;case 2:if(V=this.productions_[N[1]][1],F.$=f[f.length-V],F._$={first_line:n[n.length-(V||1)].first_line,last_line:n[n.length-1].last_line,first_column:n[n.length-(V||1)].first_column,last_column:n[n.length-1].last_column},G&&(F._$.range=[n[n.length-(V||1)].range[0],n[n.length-1].range[1]]),q=this.performAction.apply(F,[w,$,I,S.yy,N[1],f,n].concat(C)),typeof q<"u")return q;V&&(i=i.slice(0,-1*V*2),f=f.slice(0,-1*V),n=n.slice(0,-1*V)),i.push(this.productions_[N[1]][0]),f.push(F.$),n.push(F._$),et=v[i[i.length-2]][i[i.length-1]],i.push(et);break;case 3:return!0}}return!0},"parse")},O=(function(){var T={EOF:1,parseError:o(function(s,i){if(this.yy.parser)this.yy.parser.parseError(s,i);else throw new Error(s)},"parseError"),setInput:o(function(t,s){return this.yy=s||this.yy||{},this._input=t,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:o(function(){var t=this._input[0];this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t;var s=t.match(/(?:\r\n?|\n).*/g);return s?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},"input"),unput:o(function(t){var s=t.length,i=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-s),this.offset-=s;var c=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),i.length-1&&(this.yylineno-=i.length-1);var f=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:i?(i.length===c.length?this.yylloc.first_column:0)+c[c.length-i.length].length-i[0].length:this.yylloc.first_column-s},this.options.ranges&&(this.yylloc.range=[f[0],f[0]+this.yyleng-s]),this.yyleng=this.yytext.length,this},"unput"),more:o(function(){return this._more=!0,this},"more"),reject:o(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:o(function(t){this.unput(this.match.slice(t))},"less"),pastInput:o(function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:o(function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:o(function(){var t=this.pastInput(),s=new Array(t.length+1).join("-");return t+this.upcomingInput()+`
@@ -1,4 +1,4 @@
1
- import{g as gt}from"./chunk-5VM5RSS4-C-F34jM4.js";import{a as mt,b as lt,h as xt,d as kt}from"./chunk-F27PBJKO-Cq8SN72l.js";import{g as _t,s as vt,a as bt,b as wt,q as Tt,p as St,_ as s,c as R,j as X,d as $t,r as Mt}from"./mermaid.core-BefpKbQ_.js";import"./index-BQl91EUk.js";import{d as it}from"./arc-BWHkRU26.js";import"./FilePreviewLoading-DRnSA8fU.js";import"./use-form-common-props-BToB4iwu.js";import"./el-scrollbar-D-InNODH.js";import"./el-input-sXkJlh-g.js";import"./mobile-dialog-return-service-Bg2LBZi3.js";import"./BusyIndicator-xe3P4gjH.js";import"./isArrayLikeObject-CxfHIq3H.js";import"./_baseIteratee-BLtWZfy-.js";import"./union-Cyh-UcHd.js";import"./_baseFindIndex-D7XfJLKM.js";var U=(function(){var t=s(function(h,r,n,l){for(n=n||{},l=h.length;l--;n[h[l]]=r);return n},"o"),e=[6,8,10,11,12,14,16,17,18],a=[1,9],p=[1,10],i=[1,11],u=[1,12],f=[1,13],o=[1,14],g={trace:s(function(){},"trace"),yy:{},symbols_:{error:2,start:3,journey:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,title:11,acc_title:12,acc_title_value:13,acc_descr:14,acc_descr_value:15,acc_descr_multiline_value:16,section:17,taskName:18,taskData:19,$accept:0,$end:1},terminals_:{2:"error",4:"journey",6:"EOF",8:"SPACE",10:"NEWLINE",11:"title",12:"acc_title",13:"acc_title_value",14:"acc_descr",15:"acc_descr_value",16:"acc_descr_multiline_value",17:"section",18:"taskName",19:"taskData"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,2]],performAction:s(function(r,n,l,y,d,c,v){var k=c.length-1;switch(d){case 1:return c[k-1];case 2:this.$=[];break;case 3:c[k-1].push(c[k]),this.$=c[k-1];break;case 4:case 5:this.$=c[k];break;case 6:case 7:this.$=[];break;case 8:y.setDiagramTitle(c[k].substr(6)),this.$=c[k].substr(6);break;case 9:this.$=c[k].trim(),y.setAccTitle(this.$);break;case 10:case 11:this.$=c[k].trim(),y.setAccDescription(this.$);break;case 12:y.addSection(c[k].substr(8)),this.$=c[k].substr(8);break;case 13:y.addTask(c[k-1],c[k]),this.$="task";break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:a,12:p,14:i,16:u,17:f,18:o},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:15,11:a,12:p,14:i,16:u,17:f,18:o},t(e,[2,5]),t(e,[2,6]),t(e,[2,8]),{13:[1,16]},{15:[1,17]},t(e,[2,11]),t(e,[2,12]),{19:[1,18]},t(e,[2,4]),t(e,[2,9]),t(e,[2,10]),t(e,[2,13])],defaultActions:{},parseError:s(function(r,n){if(n.recoverable)this.trace(r);else{var l=new Error(r);throw l.hash=n,l}},"parseError"),parse:s(function(r){var n=this,l=[0],y=[],d=[null],c=[],v=this.table,k="",C=0,Q=0,yt=2,D=1,dt=c.slice.call(arguments,1),_=Object.create(this.lexer),I={yy:{}};for(var O in this.yy)Object.prototype.hasOwnProperty.call(this.yy,O)&&(I.yy[O]=this.yy[O]);_.setInput(r,I.yy),I.yy.lexer=_,I.yy.parser=this,typeof _.yylloc>"u"&&(_.yylloc={});var Y=_.yylloc;c.push(Y);var pt=_.options&&_.options.ranges;typeof I.yy.parseError=="function"?this.parseError=I.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function ft(w){l.length=l.length-2*w,d.length=d.length-w,c.length=c.length-w}s(ft,"popStack");function tt(){var w;return w=y.pop()||_.lex()||D,typeof w!="number"&&(w instanceof Array&&(y=w,w=y.pop()),w=n.symbols_[w]||w),w}s(tt,"lex");for(var b,A,T,q,F={},N,M,et,z;;){if(A=l[l.length-1],this.defaultActions[A]?T=this.defaultActions[A]:((b===null||typeof b>"u")&&(b=tt()),T=v[A]&&v[A][b]),typeof T>"u"||!T.length||!T[0]){var H="";z=[];for(N in v[A])this.terminals_[N]&&N>yt&&z.push("'"+this.terminals_[N]+"'");_.showPosition?H="Parse error on line "+(C+1)+`:
1
+ import{g as gt}from"./chunk-5VM5RSS4-C-u6Icfj.js";import{a as mt,b as lt,h as xt,d as kt}from"./chunk-F27PBJKO-Cgwc09Ty.js";import{g as _t,s as vt,a as bt,b as wt,q as Tt,p as St,_ as s,c as R,j as X,d as $t,r as Mt}from"./mermaid.core-CpkB2-G5.js";import"./index-HcLGmFz6.js";import{d as it}from"./arc-Hc0Y76Iy.js";import"./FilePreviewLoading-C1U4PIWp.js";import"./use-form-common-props-CZ8CMPWx.js";import"./el-scrollbar-BygTOJ7z.js";import"./el-input-CmMxlyJC.js";import"./mobile-dialog-return-service-B05lwAuG.js";import"./BusyIndicator-MYxuzJwk.js";import"./isArrayLikeObject-ZvOzSYjq.js";import"./_baseIteratee-D6vE6jHm.js";import"./union-DVxeg9h3.js";import"./_baseFindIndex-D7XfJLKM.js";var U=(function(){var t=s(function(h,r,n,l){for(n=n||{},l=h.length;l--;n[h[l]]=r);return n},"o"),e=[6,8,10,11,12,14,16,17,18],a=[1,9],p=[1,10],i=[1,11],u=[1,12],f=[1,13],o=[1,14],g={trace:s(function(){},"trace"),yy:{},symbols_:{error:2,start:3,journey:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,title:11,acc_title:12,acc_title_value:13,acc_descr:14,acc_descr_value:15,acc_descr_multiline_value:16,section:17,taskName:18,taskData:19,$accept:0,$end:1},terminals_:{2:"error",4:"journey",6:"EOF",8:"SPACE",10:"NEWLINE",11:"title",12:"acc_title",13:"acc_title_value",14:"acc_descr",15:"acc_descr_value",16:"acc_descr_multiline_value",17:"section",18:"taskName",19:"taskData"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,2]],performAction:s(function(r,n,l,y,d,c,v){var k=c.length-1;switch(d){case 1:return c[k-1];case 2:this.$=[];break;case 3:c[k-1].push(c[k]),this.$=c[k-1];break;case 4:case 5:this.$=c[k];break;case 6:case 7:this.$=[];break;case 8:y.setDiagramTitle(c[k].substr(6)),this.$=c[k].substr(6);break;case 9:this.$=c[k].trim(),y.setAccTitle(this.$);break;case 10:case 11:this.$=c[k].trim(),y.setAccDescription(this.$);break;case 12:y.addSection(c[k].substr(8)),this.$=c[k].substr(8);break;case 13:y.addTask(c[k-1],c[k]),this.$="task";break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:a,12:p,14:i,16:u,17:f,18:o},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:15,11:a,12:p,14:i,16:u,17:f,18:o},t(e,[2,5]),t(e,[2,6]),t(e,[2,8]),{13:[1,16]},{15:[1,17]},t(e,[2,11]),t(e,[2,12]),{19:[1,18]},t(e,[2,4]),t(e,[2,9]),t(e,[2,10]),t(e,[2,13])],defaultActions:{},parseError:s(function(r,n){if(n.recoverable)this.trace(r);else{var l=new Error(r);throw l.hash=n,l}},"parseError"),parse:s(function(r){var n=this,l=[0],y=[],d=[null],c=[],v=this.table,k="",C=0,Q=0,yt=2,D=1,dt=c.slice.call(arguments,1),_=Object.create(this.lexer),I={yy:{}};for(var O in this.yy)Object.prototype.hasOwnProperty.call(this.yy,O)&&(I.yy[O]=this.yy[O]);_.setInput(r,I.yy),I.yy.lexer=_,I.yy.parser=this,typeof _.yylloc>"u"&&(_.yylloc={});var Y=_.yylloc;c.push(Y);var pt=_.options&&_.options.ranges;typeof I.yy.parseError=="function"?this.parseError=I.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function ft(w){l.length=l.length-2*w,d.length=d.length-w,c.length=c.length-w}s(ft,"popStack");function tt(){var w;return w=y.pop()||_.lex()||D,typeof w!="number"&&(w instanceof Array&&(y=w,w=y.pop()),w=n.symbols_[w]||w),w}s(tt,"lex");for(var b,A,T,q,F={},N,M,et,z;;){if(A=l[l.length-1],this.defaultActions[A]?T=this.defaultActions[A]:((b===null||typeof b>"u")&&(b=tt()),T=v[A]&&v[A][b]),typeof T>"u"||!T.length||!T[0]){var H="";z=[];for(N in v[A])this.terminals_[N]&&N>yt&&z.push("'"+this.terminals_[N]+"'");_.showPosition?H="Parse error on line "+(C+1)+`:
2
2
  `+_.showPosition()+`
3
3
  Expecting `+z.join(", ")+", got '"+(this.terminals_[b]||b)+"'":H="Parse error on line "+(C+1)+": Unexpected "+(b==D?"end of input":"'"+(this.terminals_[b]||b)+"'"),this.parseError(H,{text:_.match,token:this.terminals_[b]||b,line:_.yylineno,loc:Y,expected:z})}if(T[0]instanceof Array&&T.length>1)throw new Error("Parse Error: multiple actions possible at state: "+A+", token: "+b);switch(T[0]){case 1:l.push(b),d.push(_.yytext),c.push(_.yylloc),l.push(T[1]),b=null,Q=_.yyleng,k=_.yytext,C=_.yylineno,Y=_.yylloc;break;case 2:if(M=this.productions_[T[1]][1],F.$=d[d.length-M],F._$={first_line:c[c.length-(M||1)].first_line,last_line:c[c.length-1].last_line,first_column:c[c.length-(M||1)].first_column,last_column:c[c.length-1].last_column},pt&&(F._$.range=[c[c.length-(M||1)].range[0],c[c.length-1].range[1]]),q=this.performAction.apply(F,[k,Q,C,I.yy,T[1],d,c].concat(dt)),typeof q<"u")return q;M&&(l=l.slice(0,-1*M*2),d=d.slice(0,-1*M),c=c.slice(0,-1*M)),l.push(this.productions_[T[1]][0]),d.push(F.$),c.push(F._$),et=v[l[l.length-2]][l[l.length-1]],l.push(et);break;case 3:return!0}}return!0},"parse")},m=(function(){var h={EOF:1,parseError:s(function(n,l){if(this.yy.parser)this.yy.parser.parseError(n,l);else throw new Error(n)},"parseError"),setInput:s(function(r,n){return this.yy=n||this.yy||{},this._input=r,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:s(function(){var r=this._input[0];this.yytext+=r,this.yyleng++,this.offset++,this.match+=r,this.matched+=r;var n=r.match(/(?:\r\n?|\n).*/g);return n?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),r},"input"),unput:s(function(r){var n=r.length,l=r.split(/(?:\r\n?|\n)/g);this._input=r+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-n),this.offset-=n;var y=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),l.length-1&&(this.yylineno-=l.length-1);var d=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:l?(l.length===y.length?this.yylloc.first_column:0)+y[y.length-l.length].length-l[0].length:this.yylloc.first_column-n},this.options.ranges&&(this.yylloc.range=[d[0],d[0]+this.yyleng-n]),this.yyleng=this.yytext.length,this},"unput"),more:s(function(){return this._more=!0,this},"more"),reject:s(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:s(function(r){this.unput(this.match.slice(r))},"less"),pastInput:s(function(){var r=this.matched.substr(0,this.matched.length-this.match.length);return(r.length>20?"...":"")+r.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:s(function(){var r=this.match;return r.length<20&&(r+=this._input.substr(0,20-r.length)),(r.substr(0,20)+(r.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:s(function(){var r=this.pastInput(),n=new Array(r.length+1).join("-");return r+this.upcomingInput()+`
@@ -1,4 +1,4 @@
1
- import{_ as o,l as te,c as H,G as fe,ag as ye,ah as me,ai as be,ae as Ee,E as K,i as j,Z as _e,$ as ke,ab as Se,ac as ce,ad as le}from"./mermaid.core-BefpKbQ_.js";import{g as Ne}from"./chunk-5VM5RSS4-C-F34jM4.js";import"./index-BQl91EUk.js";import"./FilePreviewLoading-DRnSA8fU.js";import"./use-form-common-props-BToB4iwu.js";import"./el-scrollbar-D-InNODH.js";import"./el-input-sXkJlh-g.js";import"./mobile-dialog-return-service-Bg2LBZi3.js";import"./BusyIndicator-xe3P4gjH.js";import"./isArrayLikeObject-CxfHIq3H.js";import"./_baseIteratee-BLtWZfy-.js";import"./union-Cyh-UcHd.js";import"./_baseFindIndex-D7XfJLKM.js";var $=(function(){var e=o(function(O,i,n,r){for(n=n||{},r=O.length;r--;n[O[r]]=i);return n},"o"),h=[1,4],p=[1,13],s=[1,12],d=[1,15],E=[1,16],b=[1,20],l=[1,19],D=[6,7,8],I=[1,26],g=[1,24],w=[1,25],_=[6,7,11],F=[1,31],N=[6,7,11,24],V=[1,6,13,16,17,20,23],f=[1,35],A=[1,36],L=[1,6,7,11,13,16,17,20,23],M=[1,38],T={trace:o(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mindMap:4,spaceLines:5,SPACELINE:6,NL:7,KANBAN:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,node:14,shapeData:15,ICON:16,CLASS:17,nodeWithId:18,nodeWithoutId:19,NODE_DSTART:20,NODE_DESCR:21,NODE_DEND:22,NODE_ID:23,SHAPE_DATA:24,$accept:0,$end:1},terminals_:{2:"error",6:"SPACELINE",7:"NL",8:"KANBAN",11:"EOF",13:"SPACELIST",16:"ICON",17:"CLASS",20:"NODE_DSTART",21:"NODE_DESCR",22:"NODE_DEND",23:"NODE_ID",24:"SHAPE_DATA"},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,3],[12,2],[12,2],[12,2],[12,1],[12,2],[12,1],[12,1],[12,1],[12,1],[14,1],[14,1],[19,3],[18,1],[18,4],[15,2],[15,1]],performAction:o(function(i,n,r,a,u,t,U){var c=t.length-1;switch(u){case 6:case 7:return a;case 8:a.getLogger().trace("Stop NL ");break;case 9:a.getLogger().trace("Stop EOF ");break;case 11:a.getLogger().trace("Stop NL2 ");break;case 12:a.getLogger().trace("Stop EOF2 ");break;case 15:a.getLogger().info("Node: ",t[c-1].id),a.addNode(t[c-2].length,t[c-1].id,t[c-1].descr,t[c-1].type,t[c]);break;case 16:a.getLogger().info("Node: ",t[c].id),a.addNode(t[c-1].length,t[c].id,t[c].descr,t[c].type);break;case 17:a.getLogger().trace("Icon: ",t[c]),a.decorateNode({icon:t[c]});break;case 18:case 23:a.decorateNode({class:t[c]});break;case 19:a.getLogger().trace("SPACELIST");break;case 20:a.getLogger().trace("Node: ",t[c-1].id),a.addNode(0,t[c-1].id,t[c-1].descr,t[c-1].type,t[c]);break;case 21:a.getLogger().trace("Node: ",t[c].id),a.addNode(0,t[c].id,t[c].descr,t[c].type);break;case 22:a.decorateNode({icon:t[c]});break;case 27:a.getLogger().trace("node found ..",t[c-2]),this.$={id:t[c-1],descr:t[c-1],type:a.getType(t[c-2],t[c])};break;case 28:this.$={id:t[c],descr:t[c],type:0};break;case 29:a.getLogger().trace("node found ..",t[c-3]),this.$={id:t[c-3],descr:t[c-1],type:a.getType(t[c-2],t[c])};break;case 30:this.$=t[c-1]+t[c];break;case 31:this.$=t[c];break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],8:h},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:h},{6:p,7:[1,10],9:9,12:11,13:s,14:14,16:d,17:E,18:17,19:18,20:b,23:l},e(D,[2,3]),{1:[2,2]},e(D,[2,4]),e(D,[2,5]),{1:[2,6],6:p,12:21,13:s,14:14,16:d,17:E,18:17,19:18,20:b,23:l},{6:p,9:22,12:11,13:s,14:14,16:d,17:E,18:17,19:18,20:b,23:l},{6:I,7:g,10:23,11:w},e(_,[2,24],{18:17,19:18,14:27,16:[1,28],17:[1,29],20:b,23:l}),e(_,[2,19]),e(_,[2,21],{15:30,24:F}),e(_,[2,22]),e(_,[2,23]),e(N,[2,25]),e(N,[2,26]),e(N,[2,28],{20:[1,32]}),{21:[1,33]},{6:I,7:g,10:34,11:w},{1:[2,7],6:p,12:21,13:s,14:14,16:d,17:E,18:17,19:18,20:b,23:l},e(V,[2,14],{7:f,11:A}),e(L,[2,8]),e(L,[2,9]),e(L,[2,10]),e(_,[2,16],{15:37,24:F}),e(_,[2,17]),e(_,[2,18]),e(_,[2,20],{24:M}),e(N,[2,31]),{21:[1,39]},{22:[1,40]},e(V,[2,13],{7:f,11:A}),e(L,[2,11]),e(L,[2,12]),e(_,[2,15],{24:M}),e(N,[2,30]),{22:[1,41]},e(N,[2,27]),e(N,[2,29])],defaultActions:{2:[2,1],6:[2,2]},parseError:o(function(i,n){if(n.recoverable)this.trace(i);else{var r=new Error(i);throw r.hash=n,r}},"parseError"),parse:o(function(i){var n=this,r=[0],a=[],u=[null],t=[],U=this.table,c="",W=0,se=0,ue=2,re=1,ge=t.slice.call(arguments,1),m=Object.create(this.lexer),R={yy:{}};for(var J in this.yy)Object.prototype.hasOwnProperty.call(this.yy,J)&&(R.yy[J]=this.yy[J]);m.setInput(i,R.yy),R.yy.lexer=m,R.yy.parser=this,typeof m.yylloc>"u"&&(m.yylloc={});var Z=m.yylloc;t.push(Z);var de=m.options&&m.options.ranges;typeof R.yy.parseError=="function"?this.parseError=R.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function pe(S){r.length=r.length-2*S,u.length=u.length-S,t.length=t.length-S}o(pe,"popStack");function ae(){var S;return S=a.pop()||m.lex()||re,typeof S!="number"&&(S instanceof Array&&(a=S,S=a.pop()),S=n.symbols_[S]||S),S}o(ae,"lex");for(var k,P,x,q,G={},z,C,oe,X;;){if(P=r[r.length-1],this.defaultActions[P]?x=this.defaultActions[P]:((k===null||typeof k>"u")&&(k=ae()),x=U[P]&&U[P][k]),typeof x>"u"||!x.length||!x[0]){var Q="";X=[];for(z in U[P])this.terminals_[z]&&z>ue&&X.push("'"+this.terminals_[z]+"'");m.showPosition?Q="Parse error on line "+(W+1)+`:
1
+ import{_ as o,l as te,c as H,G as fe,ag as ye,ah as me,ai as be,ae as Ee,E as K,i as j,Z as _e,$ as ke,ab as Se,ac as ce,ad as le}from"./mermaid.core-CpkB2-G5.js";import{g as Ne}from"./chunk-5VM5RSS4-C-u6Icfj.js";import"./index-HcLGmFz6.js";import"./FilePreviewLoading-C1U4PIWp.js";import"./use-form-common-props-CZ8CMPWx.js";import"./el-scrollbar-BygTOJ7z.js";import"./el-input-CmMxlyJC.js";import"./mobile-dialog-return-service-B05lwAuG.js";import"./BusyIndicator-MYxuzJwk.js";import"./isArrayLikeObject-ZvOzSYjq.js";import"./_baseIteratee-D6vE6jHm.js";import"./union-DVxeg9h3.js";import"./_baseFindIndex-D7XfJLKM.js";var $=(function(){var e=o(function(O,i,n,r){for(n=n||{},r=O.length;r--;n[O[r]]=i);return n},"o"),h=[1,4],p=[1,13],s=[1,12],d=[1,15],E=[1,16],b=[1,20],l=[1,19],D=[6,7,8],I=[1,26],g=[1,24],w=[1,25],_=[6,7,11],F=[1,31],N=[6,7,11,24],V=[1,6,13,16,17,20,23],f=[1,35],A=[1,36],L=[1,6,7,11,13,16,17,20,23],M=[1,38],T={trace:o(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mindMap:4,spaceLines:5,SPACELINE:6,NL:7,KANBAN:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,node:14,shapeData:15,ICON:16,CLASS:17,nodeWithId:18,nodeWithoutId:19,NODE_DSTART:20,NODE_DESCR:21,NODE_DEND:22,NODE_ID:23,SHAPE_DATA:24,$accept:0,$end:1},terminals_:{2:"error",6:"SPACELINE",7:"NL",8:"KANBAN",11:"EOF",13:"SPACELIST",16:"ICON",17:"CLASS",20:"NODE_DSTART",21:"NODE_DESCR",22:"NODE_DEND",23:"NODE_ID",24:"SHAPE_DATA"},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,3],[12,2],[12,2],[12,2],[12,1],[12,2],[12,1],[12,1],[12,1],[12,1],[14,1],[14,1],[19,3],[18,1],[18,4],[15,2],[15,1]],performAction:o(function(i,n,r,a,u,t,U){var c=t.length-1;switch(u){case 6:case 7:return a;case 8:a.getLogger().trace("Stop NL ");break;case 9:a.getLogger().trace("Stop EOF ");break;case 11:a.getLogger().trace("Stop NL2 ");break;case 12:a.getLogger().trace("Stop EOF2 ");break;case 15:a.getLogger().info("Node: ",t[c-1].id),a.addNode(t[c-2].length,t[c-1].id,t[c-1].descr,t[c-1].type,t[c]);break;case 16:a.getLogger().info("Node: ",t[c].id),a.addNode(t[c-1].length,t[c].id,t[c].descr,t[c].type);break;case 17:a.getLogger().trace("Icon: ",t[c]),a.decorateNode({icon:t[c]});break;case 18:case 23:a.decorateNode({class:t[c]});break;case 19:a.getLogger().trace("SPACELIST");break;case 20:a.getLogger().trace("Node: ",t[c-1].id),a.addNode(0,t[c-1].id,t[c-1].descr,t[c-1].type,t[c]);break;case 21:a.getLogger().trace("Node: ",t[c].id),a.addNode(0,t[c].id,t[c].descr,t[c].type);break;case 22:a.decorateNode({icon:t[c]});break;case 27:a.getLogger().trace("node found ..",t[c-2]),this.$={id:t[c-1],descr:t[c-1],type:a.getType(t[c-2],t[c])};break;case 28:this.$={id:t[c],descr:t[c],type:0};break;case 29:a.getLogger().trace("node found ..",t[c-3]),this.$={id:t[c-3],descr:t[c-1],type:a.getType(t[c-2],t[c])};break;case 30:this.$=t[c-1]+t[c];break;case 31:this.$=t[c];break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],8:h},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:h},{6:p,7:[1,10],9:9,12:11,13:s,14:14,16:d,17:E,18:17,19:18,20:b,23:l},e(D,[2,3]),{1:[2,2]},e(D,[2,4]),e(D,[2,5]),{1:[2,6],6:p,12:21,13:s,14:14,16:d,17:E,18:17,19:18,20:b,23:l},{6:p,9:22,12:11,13:s,14:14,16:d,17:E,18:17,19:18,20:b,23:l},{6:I,7:g,10:23,11:w},e(_,[2,24],{18:17,19:18,14:27,16:[1,28],17:[1,29],20:b,23:l}),e(_,[2,19]),e(_,[2,21],{15:30,24:F}),e(_,[2,22]),e(_,[2,23]),e(N,[2,25]),e(N,[2,26]),e(N,[2,28],{20:[1,32]}),{21:[1,33]},{6:I,7:g,10:34,11:w},{1:[2,7],6:p,12:21,13:s,14:14,16:d,17:E,18:17,19:18,20:b,23:l},e(V,[2,14],{7:f,11:A}),e(L,[2,8]),e(L,[2,9]),e(L,[2,10]),e(_,[2,16],{15:37,24:F}),e(_,[2,17]),e(_,[2,18]),e(_,[2,20],{24:M}),e(N,[2,31]),{21:[1,39]},{22:[1,40]},e(V,[2,13],{7:f,11:A}),e(L,[2,11]),e(L,[2,12]),e(_,[2,15],{24:M}),e(N,[2,30]),{22:[1,41]},e(N,[2,27]),e(N,[2,29])],defaultActions:{2:[2,1],6:[2,2]},parseError:o(function(i,n){if(n.recoverable)this.trace(i);else{var r=new Error(i);throw r.hash=n,r}},"parseError"),parse:o(function(i){var n=this,r=[0],a=[],u=[null],t=[],U=this.table,c="",W=0,se=0,ue=2,re=1,ge=t.slice.call(arguments,1),m=Object.create(this.lexer),R={yy:{}};for(var J in this.yy)Object.prototype.hasOwnProperty.call(this.yy,J)&&(R.yy[J]=this.yy[J]);m.setInput(i,R.yy),R.yy.lexer=m,R.yy.parser=this,typeof m.yylloc>"u"&&(m.yylloc={});var Z=m.yylloc;t.push(Z);var de=m.options&&m.options.ranges;typeof R.yy.parseError=="function"?this.parseError=R.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function pe(S){r.length=r.length-2*S,u.length=u.length-S,t.length=t.length-S}o(pe,"popStack");function ae(){var S;return S=a.pop()||m.lex()||re,typeof S!="number"&&(S instanceof Array&&(a=S,S=a.pop()),S=n.symbols_[S]||S),S}o(ae,"lex");for(var k,P,x,q,G={},z,C,oe,X;;){if(P=r[r.length-1],this.defaultActions[P]?x=this.defaultActions[P]:((k===null||typeof k>"u")&&(k=ae()),x=U[P]&&U[P][k]),typeof x>"u"||!x.length||!x[0]){var Q="";X=[];for(z in U[P])this.terminals_[z]&&z>ue&&X.push("'"+this.terminals_[z]+"'");m.showPosition?Q="Parse error on line "+(W+1)+`:
2
2
  `+m.showPosition()+`
3
3
  Expecting `+X.join(", ")+", got '"+(this.terminals_[k]||k)+"'":Q="Parse error on line "+(W+1)+": Unexpected "+(k==re?"end of input":"'"+(this.terminals_[k]||k)+"'"),this.parseError(Q,{text:m.match,token:this.terminals_[k]||k,line:m.yylineno,loc:Z,expected:X})}if(x[0]instanceof Array&&x.length>1)throw new Error("Parse Error: multiple actions possible at state: "+P+", token: "+k);switch(x[0]){case 1:r.push(k),u.push(m.yytext),t.push(m.yylloc),r.push(x[1]),k=null,se=m.yyleng,c=m.yytext,W=m.yylineno,Z=m.yylloc;break;case 2:if(C=this.productions_[x[1]][1],G.$=u[u.length-C],G._$={first_line:t[t.length-(C||1)].first_line,last_line:t[t.length-1].last_line,first_column:t[t.length-(C||1)].first_column,last_column:t[t.length-1].last_column},de&&(G._$.range=[t[t.length-(C||1)].range[0],t[t.length-1].range[1]]),q=this.performAction.apply(G,[c,se,W,R.yy,x[1],u,t].concat(ge)),typeof q<"u")return q;C&&(r=r.slice(0,-1*C*2),u=u.slice(0,-1*C),t=t.slice(0,-1*C)),r.push(this.productions_[x[1]][0]),u.push(G.$),t.push(G._$),oe=U[r[r.length-2]][r[r.length-1]],r.push(oe);break;case 3:return!0}}return!0},"parse")},Y=(function(){var O={EOF:1,parseError:o(function(n,r){if(this.yy.parser)this.yy.parser.parseError(n,r);else throw new Error(n)},"parseError"),setInput:o(function(i,n){return this.yy=n||this.yy||{},this._input=i,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:o(function(){var i=this._input[0];this.yytext+=i,this.yyleng++,this.offset++,this.match+=i,this.matched+=i;var n=i.match(/(?:\r\n?|\n).*/g);return n?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),i},"input"),unput:o(function(i){var n=i.length,r=i.split(/(?:\r\n?|\n)/g);this._input=i+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-n),this.offset-=n;var a=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),r.length-1&&(this.yylineno-=r.length-1);var u=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:r?(r.length===a.length?this.yylloc.first_column:0)+a[a.length-r.length].length-r[0].length:this.yylloc.first_column-n},this.options.ranges&&(this.yylloc.range=[u[0],u[0]+this.yyleng-n]),this.yyleng=this.yytext.length,this},"unput"),more:o(function(){return this._more=!0,this},"more"),reject:o(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:o(function(i){this.unput(this.match.slice(i))},"less"),pastInput:o(function(){var i=this.matched.substr(0,this.matched.length-this.match.length);return(i.length>20?"...":"")+i.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:o(function(){var i=this.match;return i.length<20&&(i+=this._input.substr(0,20-i.length)),(i.substr(0,20)+(i.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:o(function(){var i=this.pastInput(),n=new Array(i.length+1).join("-");return i+this.upcomingInput()+`
@@ -1 +1 @@
1
- import{bl as ve,a7 as g,bm as s,bn as C,bo as k,bp as S}from"./mermaid.core-BefpKbQ_.js";import{bI as Se,b3 as Ve,b2 as Ae,eq as Be,bJ as Ge,cP as W,b1 as U,bP as B,bG as pe,bF as Ye,ef as $e,bm as De,er as qe,e3 as We,es as _,et as Xe,ct as m,cO as M}from"./index-BQl91EUk.js";import{i as j,b as ze,m as w,a as X}from"./merge-CtOMpGAk.js";import{t as Ue}from"./el-scrollbar-D-InNODH.js";import{b as R}from"./_baseIteratee-BLtWZfy-.js";import{b as He}from"./_baseFindIndex-D7XfJLKM.js";import{b as we,a as Je,d as be}from"./isArrayLikeObject-CxfHIq3H.js";import{l as F}from"./last-DXTTfs9a.js";import{c as Ze}from"./el-form-item-LbkuEpcF.js";import{k as me}from"./mobile-dialog-return-service-Bg2LBZi3.js";var te=1/0,Ke=17976931348623157e292;function T(e){if(!e)return e===0?e:0;if(e=Ue(e),e===te||e===-te){var n=e<0?-1:1;return n*Ke}return e===e?e:0}function Qe(e){var n=T(e),r=n%1;return n===n?r?n-r:n:0}var ge=Object.prototype,en=ge.hasOwnProperty,nn=we(function(e,n){e=Object(e);var r=-1,t=n.length,i=t>2?n[2]:void 0;for(i&&j(n[0],n[1],i)&&(t=1);++r<t;)for(var o=n[r],a=me(o),u=-1,d=a.length;++u<d;){var f=a[u],c=e[f];(c===void 0||Se(c,ge[f])&&!en.call(e,f))&&(e[f]=o[f])}return e});function rn(e){return function(n,r,t){var i=Object(n);if(!Ve(n)){var o=R(r);n=Ae(n),r=function(u){return o(i[u],u,i)}}var a=e(n,r,t);return a>-1?i[o?n[a]:a]:void 0}}var tn=Math.max;function an(e,n,r){var t=e==null?0:e.length;if(!t)return-1;var i=r==null?0:Qe(r);return i<0&&(i=tn(t+i,0)),He(e,R(n),i)}var H=rn(an);function on(e,n){return e==null?e:Je(e,ve(n),me)}function un(e,n){return e&&be(e,ve(n))}function dn(e,n){return e>n}var fn=Object.prototype,sn=fn.hasOwnProperty;function cn(e,n){return e!=null&&sn.call(e,n)}function ye(e,n){return e!=null&&Be(e,n,cn)}function xe(e,n){return e<n}function V(e,n){var r={};return n=R(n),be(e,function(t,i,o){Ge(r,i,n(t,i,o))}),r}function J(e,n,r){for(var t=-1,i=e.length;++t<i;){var o=e[t],a=n(o);if(a!=null&&(u===void 0?a===a&&!W(a):r(a,u)))var u=a,d=o}return d}function y(e){return e&&e.length?J(e,U,dn):void 0}function L(e){return e&&e.length?J(e,U,xe):void 0}function Z(e,n){return e&&e.length?J(e,R(n),xe):void 0}function ln(e,n){var r=e.length;for(e.sort(n);r--;)e[r]=e[r].value;return e}function hn(e,n){if(e!==n){var r=e!==void 0,t=e===null,i=e===e,o=W(e),a=n!==void 0,u=n===null,d=n===n,f=W(n);if(!u&&!f&&!o&&e>n||o&&a&&d&&!u&&!f||t&&a&&d||!r&&d||!i)return 1;if(!t&&!o&&!f&&e<n||f&&r&&i&&!t&&!o||u&&r&&i||!a&&i||!d)return-1}return 0}function vn(e,n,r){for(var t=-1,i=e.criteria,o=n.criteria,a=i.length,u=r.length;++t<a;){var d=hn(i[t],o[t]);if(d){if(t>=u)return d;var f=r[t];return d*(f=="desc"?-1:1)}}return e.index-n.index}function pn(e,n,r){n.length?n=B(n,function(o){return pe(o)?function(a){return Ye(a,o.length===1?o[0]:o)}:o}):n=[U];var t=-1;n=B(n,$e(R));var i=ze(e,function(o,a,u){var d=B(n,function(f){return f(o)});return{criteria:d,index:++t,value:o}});return ln(i,function(o,a){return vn(o,a,r)})}var wn=Math.ceil,bn=Math.max;function mn(e,n,r,t){for(var i=-1,o=bn(wn((n-e)/(r||1)),0),a=Array(o);o--;)a[++i]=e,e+=r;return a}function gn(e){return function(n,r,t){return t&&typeof t!="number"&&j(n,r,t)&&(r=t=void 0),n=T(n),r===void 0?(r=n,n=0):r=T(r),t=t===void 0?n<r?1:-1:T(t),mn(n,r,t)}}var E=gn(),I=we(function(e,n){if(e==null)return[];var r=n.length;return r>1&&j(e,n[0],n[1])?n=[]:r>2&&j(n[0],n[1],n[2])&&(n=[n[0]]),pn(e,De(n,1),[])}),yn=0;function K(e){var n=++yn;return qe(e)+n}function xn(e,n,r){for(var t=-1,i=e.length,o=n.length,a={};++t<i;){var u=t<o?n[t]:void 0;r(a,e[t],u)}return a}function kn(e,n){return xn(e||[],n||[],We)}class En{constructor(){var n={};n._next=n._prev=n,this._sentinel=n}dequeue(){var n=this._sentinel,r=n._prev;if(r!==n)return ie(r),r}enqueue(n){var r=this._sentinel;n._prev&&n._next&&ie(n),n._next=r._next,r._next._prev=n,r._next=n,n._prev=r}toString(){for(var n=[],r=this._sentinel,t=r._prev;t!==r;)n.push(JSON.stringify(t,On)),t=t._prev;return"["+n.join(", ")+"]"}}function ie(e){e._prev._next=e._next,e._next._prev=e._prev,delete e._next,delete e._prev}function On(e,n){if(e!=="_next"&&e!=="_prev")return n}var Nn=Xe(1);function Ln(e,n){if(e.nodeCount()<=1)return[];var r=Cn(e,n||Nn),t=Pn(r.graph,r.buckets,r.zeroIdx);return _(w(t,function(i){return e.outEdges(i.v,i.w)}))}function Pn(e,n,r){for(var t=[],i=n[n.length-1],o=n[0],a;e.nodeCount();){for(;a=o.dequeue();)G(e,n,r,a);for(;a=i.dequeue();)G(e,n,r,a);if(e.nodeCount()){for(var u=n.length-2;u>0;--u)if(a=n[u].dequeue(),a){t=t.concat(G(e,n,r,a,!0));break}}}return t}function G(e,n,r,t,i){var o=i?[]:void 0;return s(e.inEdges(t.v),function(a){var u=e.edge(a),d=e.node(a.v);i&&o.push({v:a.v,w:a.w}),d.out-=u,z(n,r,d)}),s(e.outEdges(t.v),function(a){var u=e.edge(a),d=a.w,f=e.node(d);f.in-=u,z(n,r,f)}),e.removeNode(t.v),o}function Cn(e,n){var r=new g,t=0,i=0;s(e.nodes(),function(u){r.setNode(u,{v:u,in:0,out:0})}),s(e.edges(),function(u){var d=r.edge(u.v,u.w)||0,f=n(u),c=d+f;r.setEdge(u.v,u.w,c),i=Math.max(i,r.node(u.v).out+=f),t=Math.max(t,r.node(u.w).in+=f)});var o=E(i+t+3).map(function(){return new En}),a=t+1;return s(r.nodes(),function(u){z(o,a,r.node(u))}),{graph:r,buckets:o,zeroIdx:a}}function z(e,n,r){r.out?r.in?e[r.out-r.in+n].enqueue(r):e[e.length-1].enqueue(r):e[0].enqueue(r)}function _n(e){var n=e.graph().acyclicer==="greedy"?Ln(e,r(e)):Rn(e);s(n,function(t){var i=e.edge(t);e.removeEdge(t),i.forwardName=t.name,i.reversed=!0,e.setEdge(t.w,t.v,i,K("rev"))});function r(t){return function(i){return t.edge(i).weight}}}function Rn(e){var n=[],r={},t={};function i(o){Object.prototype.hasOwnProperty.call(t,o)||(t[o]=!0,r[o]=!0,s(e.outEdges(o),function(a){Object.prototype.hasOwnProperty.call(r,a.w)?n.push(a):i(a.w)}),delete r[o])}return s(e.nodes(),i),n}function In(e){s(e.edges(),function(n){var r=e.edge(n);if(r.reversed){e.removeEdge(n);var t=r.forwardName;delete r.reversed,delete r.forwardName,e.setEdge(n.w,n.v,r,t)}})}function O(e,n,r,t){var i;do i=K(t);while(e.hasNode(i));return r.dummy=n,e.setNode(i,r),i}function Tn(e){var n=new g().setGraph(e.graph());return s(e.nodes(),function(r){n.setNode(r,e.node(r))}),s(e.edges(),function(r){var t=n.edge(r.v,r.w)||{weight:0,minlen:1},i=e.edge(r);n.setEdge(r.v,r.w,{weight:t.weight+i.weight,minlen:Math.max(t.minlen,i.minlen)})}),n}function ke(e){var n=new g({multigraph:e.isMultigraph()}).setGraph(e.graph());return s(e.nodes(),function(r){e.children(r).length||n.setNode(r,e.node(r))}),s(e.edges(),function(r){n.setEdge(r,e.edge(r))}),n}function ae(e,n){var r=e.x,t=e.y,i=n.x-r,o=n.y-t,a=e.width/2,u=e.height/2;if(!i&&!o)throw new Error("Not possible to find intersection inside of the rectangle");var d,f;return Math.abs(o)*a>Math.abs(i)*u?(o<0&&(u=-u),d=u*i/o,f=u):(i<0&&(a=-a),d=a,f=a*o/i),{x:r+d,y:t+f}}function A(e){var n=w(E(Ee(e)+1),function(){return[]});return s(e.nodes(),function(r){var t=e.node(r),i=t.rank;m(i)||(n[i][t.order]=r)}),n}function Mn(e){var n=L(w(e.nodes(),function(r){return e.node(r).rank}));s(e.nodes(),function(r){var t=e.node(r);ye(t,"rank")&&(t.rank-=n)})}function jn(e){var n=L(w(e.nodes(),function(o){return e.node(o).rank})),r=[];s(e.nodes(),function(o){var a=e.node(o).rank-n;r[a]||(r[a]=[]),r[a].push(o)});var t=0,i=e.graph().nodeRankFactor;s(r,function(o,a){m(o)&&a%i!==0?--t:t&&s(o,function(u){e.node(u).rank+=t})})}function oe(e,n,r,t){var i={width:0,height:0};return arguments.length>=4&&(i.rank=r,i.order=t),O(e,"border",i,n)}function Ee(e){return y(w(e.nodes(),function(n){var r=e.node(n).rank;if(!m(r))return r}))}function Fn(e,n){var r={lhs:[],rhs:[]};return s(e,function(t){n(t)?r.lhs.push(t):r.rhs.push(t)}),r}function Sn(e,n){return n()}function Vn(e){function n(r){var t=e.children(r),i=e.node(r);if(t.length&&s(t,n),Object.prototype.hasOwnProperty.call(i,"minRank")){i.borderLeft=[],i.borderRight=[];for(var o=i.minRank,a=i.maxRank+1;o<a;++o)ue(e,"borderLeft","_bl",r,i,o),ue(e,"borderRight","_br",r,i,o)}}s(e.children(),n)}function ue(e,n,r,t,i,o){var a={width:0,height:0,rank:o,borderType:n},u=i[n][o-1],d=O(e,"border",a,r);i[n][o]=d,e.setParent(d,t),u&&e.setEdge(u,d,{weight:1})}function An(e){var n=e.graph().rankdir.toLowerCase();(n==="lr"||n==="rl")&&Oe(e)}function Bn(e){var n=e.graph().rankdir.toLowerCase();(n==="bt"||n==="rl")&&Gn(e),(n==="lr"||n==="rl")&&(Yn(e),Oe(e))}function Oe(e){s(e.nodes(),function(n){de(e.node(n))}),s(e.edges(),function(n){de(e.edge(n))})}function de(e){var n=e.width;e.width=e.height,e.height=n}function Gn(e){s(e.nodes(),function(n){Y(e.node(n))}),s(e.edges(),function(n){var r=e.edge(n);s(r.points,Y),Object.prototype.hasOwnProperty.call(r,"y")&&Y(r)})}function Y(e){e.y=-e.y}function Yn(e){s(e.nodes(),function(n){$(e.node(n))}),s(e.edges(),function(n){var r=e.edge(n);s(r.points,$),Object.prototype.hasOwnProperty.call(r,"x")&&$(r)})}function $(e){var n=e.x;e.x=e.y,e.y=n}function $n(e){e.graph().dummyChains=[],s(e.edges(),function(n){Dn(e,n)})}function Dn(e,n){var r=n.v,t=e.node(r).rank,i=n.w,o=e.node(i).rank,a=n.name,u=e.edge(n),d=u.labelRank;if(o!==t+1){e.removeEdge(n);var f=void 0,c,l;for(l=0,++t;t<o;++l,++t)u.points=[],f={width:0,height:0,edgeLabel:u,edgeObj:n,rank:t},c=O(e,"edge",f,"_d"),t===d&&(f.width=u.width,f.height=u.height,f.dummy="edge-label",f.labelpos=u.labelpos),e.setEdge(r,c,{weight:u.weight},a),l===0&&e.graph().dummyChains.push(c),r=c;e.setEdge(r,i,{weight:u.weight},a)}}function qn(e){s(e.graph().dummyChains,function(n){var r=e.node(n),t=r.edgeLabel,i;for(e.setEdge(r.edgeObj,t);r.dummy;)i=e.successors(n)[0],e.removeNode(n),t.points.push({x:r.x,y:r.y}),r.dummy==="edge-label"&&(t.x=r.x,t.y=r.y,t.width=r.width,t.height=r.height),n=i,r=e.node(n)})}function Q(e){var n={};function r(t){var i=e.node(t);if(Object.prototype.hasOwnProperty.call(n,t))return i.rank;n[t]=!0;var o=L(w(e.outEdges(t),function(a){return r(a.w)-e.edge(a).minlen}));return(o===Number.POSITIVE_INFINITY||o===void 0||o===null)&&(o=0),i.rank=o}s(e.sources(),r)}function P(e,n){return e.node(n.w).rank-e.node(n.v).rank-e.edge(n).minlen}function Ne(e){var n=new g({directed:!1}),r=e.nodes()[0],t=e.nodeCount();n.setNode(r,{});for(var i,o;Wn(n,e)<t;)i=Xn(n,e),o=n.hasNode(i.v)?P(e,i):-P(e,i),zn(n,e,o);return n}function Wn(e,n){function r(t){s(n.nodeEdges(t),function(i){var o=i.v,a=t===o?i.w:o;!e.hasNode(a)&&!P(n,i)&&(e.setNode(a,{}),e.setEdge(t,a,{}),r(a))})}return s(e.nodes(),r),e.nodeCount()}function Xn(e,n){return Z(n.edges(),function(r){if(e.hasNode(r.v)!==e.hasNode(r.w))return P(n,r)})}function zn(e,n,r){s(e.nodes(),function(t){n.node(t).rank+=r})}function Un(){}Un.prototype=new Error;function Le(e,n,r){pe(n)||(n=[n]);var t=(e.isDirected()?e.successors:e.neighbors).bind(e),i=[],o={};return s(n,function(a){if(!e.hasNode(a))throw new Error("Graph does not have node: "+a);Pe(e,a,r==="post",o,t,i)}),i}function Pe(e,n,r,t,i,o){Object.prototype.hasOwnProperty.call(t,n)||(t[n]=!0,r||o.push(n),s(i(n),function(a){Pe(e,a,r,t,i,o)}),r&&o.push(n))}function Hn(e,n){return Le(e,n,"post")}function Jn(e,n){return Le(e,n,"pre")}x.initLowLimValues=ne;x.initCutValues=ee;x.calcCutValue=Ce;x.leaveEdge=Re;x.enterEdge=Ie;x.exchangeEdges=Te;function x(e){e=Tn(e),Q(e);var n=Ne(e);ne(n),ee(n,e);for(var r,t;r=Re(n);)t=Ie(n,e,r),Te(n,e,r,t)}function ee(e,n){var r=Hn(e,e.nodes());r=r.slice(0,r.length-1),s(r,function(t){Zn(e,n,t)})}function Zn(e,n,r){var t=e.node(r),i=t.parent;e.edge(r,i).cutvalue=Ce(e,n,r)}function Ce(e,n,r){var t=e.node(r),i=t.parent,o=!0,a=n.edge(r,i),u=0;return a||(o=!1,a=n.edge(i,r)),u=a.weight,s(n.nodeEdges(r),function(d){var f=d.v===r,c=f?d.w:d.v;if(c!==i){var l=f===o,h=n.edge(d).weight;if(u+=l?h:-h,Qn(e,r,c)){var v=e.edge(r,c).cutvalue;u+=l?-v:v}}}),u}function ne(e,n){arguments.length<2&&(n=e.nodes()[0]),_e(e,{},1,n)}function _e(e,n,r,t,i){var o=r,a=e.node(t);return n[t]=!0,s(e.neighbors(t),function(u){Object.prototype.hasOwnProperty.call(n,u)||(r=_e(e,n,r,u,t))}),a.low=o,a.lim=r++,i?a.parent=i:delete a.parent,r}function Re(e){return H(e.edges(),function(n){return e.edge(n).cutvalue<0})}function Ie(e,n,r){var t=r.v,i=r.w;n.hasEdge(t,i)||(t=r.w,i=r.v);var o=e.node(t),a=e.node(i),u=o,d=!1;o.lim>a.lim&&(u=a,d=!0);var f=C(n.edges(),function(c){return d===fe(e,e.node(c.v),u)&&d!==fe(e,e.node(c.w),u)});return Z(f,function(c){return P(n,c)})}function Te(e,n,r,t){var i=r.v,o=r.w;e.removeEdge(i,o),e.setEdge(t.v,t.w,{}),ne(e),ee(e,n),Kn(e,n)}function Kn(e,n){var r=H(e.nodes(),function(i){return!n.node(i).parent}),t=Jn(e,r);t=t.slice(1),s(t,function(i){var o=e.node(i).parent,a=n.edge(i,o),u=!1;a||(a=n.edge(o,i),u=!0),n.node(i).rank=n.node(o).rank+(u?a.minlen:-a.minlen)})}function Qn(e,n,r){return e.hasEdge(n,r)}function fe(e,n,r){return r.low<=n.lim&&n.lim<=r.lim}function er(e){switch(e.graph().ranker){case"network-simplex":se(e);break;case"tight-tree":rr(e);break;case"longest-path":nr(e);break;default:se(e)}}var nr=Q;function rr(e){Q(e),Ne(e)}function se(e){x(e)}function tr(e){var n=O(e,"root",{},"_root"),r=ir(e),t=y(k(r))-1,i=2*t+1;e.graph().nestingRoot=n,s(e.edges(),function(a){e.edge(a).minlen*=i});var o=ar(e)+1;s(e.children(),function(a){Me(e,n,i,o,t,r,a)}),e.graph().nodeRankFactor=i}function Me(e,n,r,t,i,o,a){var u=e.children(a);if(!u.length){a!==n&&e.setEdge(n,a,{weight:0,minlen:r});return}var d=oe(e,"_bt"),f=oe(e,"_bb"),c=e.node(a);e.setParent(d,a),c.borderTop=d,e.setParent(f,a),c.borderBottom=f,s(u,function(l){Me(e,n,r,t,i,o,l);var h=e.node(l),v=h.borderTop?h.borderTop:l,p=h.borderBottom?h.borderBottom:l,b=h.borderTop?t:2*t,N=v!==p?1:i-o[a]+1;e.setEdge(d,v,{weight:b,minlen:N,nestingEdge:!0}),e.setEdge(p,f,{weight:b,minlen:N,nestingEdge:!0})}),e.parent(a)||e.setEdge(n,d,{weight:0,minlen:i+o[a]})}function ir(e){var n={};function r(t,i){var o=e.children(t);o&&o.length&&s(o,function(a){r(a,i+1)}),n[t]=i}return s(e.children(),function(t){r(t,1)}),n}function ar(e){return S(e.edges(),function(n,r){return n+e.edge(r).weight},0)}function or(e){var n=e.graph();e.removeNode(n.nestingRoot),delete n.nestingRoot,s(e.edges(),function(r){var t=e.edge(r);t.nestingEdge&&e.removeEdge(r)})}function ur(e,n,r){var t={},i;s(r,function(o){for(var a=e.parent(o),u,d;a;){if(u=e.parent(a),u?(d=t[u],t[u]=a):(d=i,i=a),d&&d!==a){n.setEdge(d,a);return}a=u}})}function dr(e,n,r){var t=fr(e),i=new g({compound:!0}).setGraph({root:t}).setDefaultNodeLabel(function(o){return e.node(o)});return s(e.nodes(),function(o){var a=e.node(o),u=e.parent(o);(a.rank===n||a.minRank<=n&&n<=a.maxRank)&&(i.setNode(o),i.setParent(o,u||t),s(e[r](o),function(d){var f=d.v===o?d.w:d.v,c=i.edge(f,o),l=m(c)?0:c.weight;i.setEdge(f,o,{weight:e.edge(d).weight+l})}),Object.prototype.hasOwnProperty.call(a,"minRank")&&i.setNode(o,{borderLeft:a.borderLeft[n],borderRight:a.borderRight[n]}))}),i}function fr(e){for(var n;e.hasNode(n=K("_root")););return n}function sr(e,n){for(var r=0,t=1;t<n.length;++t)r+=cr(e,n[t-1],n[t]);return r}function cr(e,n,r){for(var t=kn(r,w(r,function(f,c){return c})),i=_(w(n,function(f){return I(w(e.outEdges(f),function(c){return{pos:t[c.w],weight:e.edge(c).weight}}),"pos")})),o=1;o<r.length;)o<<=1;var a=2*o-1;o-=1;var u=w(new Array(a),function(){return 0}),d=0;return s(i.forEach(function(f){var c=f.pos+o;u[c]+=f.weight;for(var l=0;c>0;)c%2&&(l+=u[c+1]),c=c-1>>1,u[c]+=f.weight;d+=f.weight*l})),d}function lr(e){var n={},r=C(e.nodes(),function(u){return!e.children(u).length}),t=y(w(r,function(u){return e.node(u).rank})),i=w(E(t+1),function(){return[]});function o(u){if(!ye(n,u)){n[u]=!0;var d=e.node(u);i[d.rank].push(u),s(e.successors(u),o)}}var a=I(r,function(u){return e.node(u).rank});return s(a,o),i}function hr(e,n){return w(n,function(r){var t=e.inEdges(r);if(t.length){var i=S(t,function(o,a){var u=e.edge(a),d=e.node(a.v);return{sum:o.sum+u.weight*d.order,weight:o.weight+u.weight}},{sum:0,weight:0});return{v:r,barycenter:i.sum/i.weight,weight:i.weight}}else return{v:r}})}function vr(e,n){var r={};s(e,function(i,o){var a=r[i.v]={indegree:0,in:[],out:[],vs:[i.v],i:o};m(i.barycenter)||(a.barycenter=i.barycenter,a.weight=i.weight)}),s(n.edges(),function(i){var o=r[i.v],a=r[i.w];!m(o)&&!m(a)&&(a.indegree++,o.out.push(r[i.w]))});var t=C(r,function(i){return!i.indegree});return pr(t)}function pr(e){var n=[];function r(o){return function(a){a.merged||(m(a.barycenter)||m(o.barycenter)||a.barycenter>=o.barycenter)&&wr(o,a)}}function t(o){return function(a){a.in.push(o),--a.indegree===0&&e.push(a)}}for(;e.length;){var i=e.pop();n.push(i),s(i.in.reverse(),r(i)),s(i.out,t(i))}return w(C(n,function(o){return!o.merged}),function(o){return M(o,["vs","i","barycenter","weight"])})}function wr(e,n){var r=0,t=0;e.weight&&(r+=e.barycenter*e.weight,t+=e.weight),n.weight&&(r+=n.barycenter*n.weight,t+=n.weight),e.vs=n.vs.concat(e.vs),e.barycenter=r/t,e.weight=t,e.i=Math.min(n.i,e.i),n.merged=!0}function br(e,n){var r=Fn(e,function(c){return Object.prototype.hasOwnProperty.call(c,"barycenter")}),t=r.lhs,i=I(r.rhs,function(c){return-c.i}),o=[],a=0,u=0,d=0;t.sort(mr(!!n)),d=ce(o,i,d),s(t,function(c){d+=c.vs.length,o.push(c.vs),a+=c.barycenter*c.weight,u+=c.weight,d=ce(o,i,d)});var f={vs:_(o)};return u&&(f.barycenter=a/u,f.weight=u),f}function ce(e,n,r){for(var t;n.length&&(t=F(n)).i<=r;)n.pop(),e.push(t.vs),r++;return r}function mr(e){return function(n,r){return n.barycenter<r.barycenter?-1:n.barycenter>r.barycenter?1:e?r.i-n.i:n.i-r.i}}function je(e,n,r,t){var i=e.children(n),o=e.node(n),a=o?o.borderLeft:void 0,u=o?o.borderRight:void 0,d={};a&&(i=C(i,function(p){return p!==a&&p!==u}));var f=hr(e,i);s(f,function(p){if(e.children(p.v).length){var b=je(e,p.v,r,t);d[p.v]=b,Object.prototype.hasOwnProperty.call(b,"barycenter")&&yr(p,b)}});var c=vr(f,r);gr(c,d);var l=br(c,t);if(a&&(l.vs=_([a,l.vs,u]),e.predecessors(a).length)){var h=e.node(e.predecessors(a)[0]),v=e.node(e.predecessors(u)[0]);Object.prototype.hasOwnProperty.call(l,"barycenter")||(l.barycenter=0,l.weight=0),l.barycenter=(l.barycenter*l.weight+h.order+v.order)/(l.weight+2),l.weight+=2}return l}function gr(e,n){s(e,function(r){r.vs=_(r.vs.map(function(t){return n[t]?n[t].vs:t}))})}function yr(e,n){m(e.barycenter)?(e.barycenter=n.barycenter,e.weight=n.weight):(e.barycenter=(e.barycenter*e.weight+n.barycenter*n.weight)/(e.weight+n.weight),e.weight+=n.weight)}function xr(e){var n=Ee(e),r=le(e,E(1,n+1),"inEdges"),t=le(e,E(n-1,-1,-1),"outEdges"),i=lr(e);he(e,i);for(var o=Number.POSITIVE_INFINITY,a,u=0,d=0;d<4;++u,++d){kr(u%2?r:t,u%4>=2),i=A(e);var f=sr(e,i);f<o&&(d=0,a=Ze(i),o=f)}he(e,a)}function le(e,n,r){return w(n,function(t){return dr(e,t,r)})}function kr(e,n){var r=new g;s(e,function(t){var i=t.graph().root,o=je(t,i,r,n);s(o.vs,function(a,u){t.node(a).order=u}),ur(t,r,o.vs)})}function he(e,n){s(n,function(r){s(r,function(t,i){e.node(t).order=i})})}function Er(e){var n=Nr(e);s(e.graph().dummyChains,function(r){for(var t=e.node(r),i=t.edgeObj,o=Or(e,n,i.v,i.w),a=o.path,u=o.lca,d=0,f=a[d],c=!0;r!==i.w;){if(t=e.node(r),c){for(;(f=a[d])!==u&&e.node(f).maxRank<t.rank;)d++;f===u&&(c=!1)}if(!c){for(;d<a.length-1&&e.node(f=a[d+1]).minRank<=t.rank;)d++;f=a[d]}e.setParent(r,f),r=e.successors(r)[0]}})}function Or(e,n,r,t){var i=[],o=[],a=Math.min(n[r].low,n[t].low),u=Math.max(n[r].lim,n[t].lim),d,f;d=r;do d=e.parent(d),i.push(d);while(d&&(n[d].low>a||u>n[d].lim));for(f=d,d=t;(d=e.parent(d))!==f;)o.push(d);return{path:i.concat(o.reverse()),lca:f}}function Nr(e){var n={},r=0;function t(i){var o=r;s(e.children(i),t),n[i]={low:o,lim:r++}}return s(e.children(),t),n}function Lr(e,n){var r={};function t(i,o){var a=0,u=0,d=i.length,f=F(o);return s(o,function(c,l){var h=Cr(e,c),v=h?e.node(h).order:d;(h||c===f)&&(s(o.slice(u,l+1),function(p){s(e.predecessors(p),function(b){var N=e.node(b),re=N.order;(re<a||v<re)&&!(N.dummy&&e.node(p).dummy)&&Fe(r,b,p)})}),u=l+1,a=v)}),o}return S(n,t),r}function Pr(e,n){var r={};function t(o,a,u,d,f){var c;s(E(a,u),function(l){c=o[l],e.node(c).dummy&&s(e.predecessors(c),function(h){var v=e.node(h);v.dummy&&(v.order<d||v.order>f)&&Fe(r,h,c)})})}function i(o,a){var u=-1,d,f=0;return s(a,function(c,l){if(e.node(c).dummy==="border"){var h=e.predecessors(c);h.length&&(d=e.node(h[0]).order,t(a,f,l,u,d),f=l,u=d)}t(a,f,a.length,d,o.length)}),a}return S(n,i),r}function Cr(e,n){if(e.node(n).dummy)return H(e.predecessors(n),function(r){return e.node(r).dummy})}function Fe(e,n,r){if(n>r){var t=n;n=r,r=t}Object.prototype.hasOwnProperty.call(e,n)||Object.defineProperty(e,n,{enumerable:!0,configurable:!0,value:{},writable:!0});var i=e[n];Object.defineProperty(i,r,{enumerable:!0,configurable:!0,value:!0,writable:!0})}function _r(e,n,r){if(n>r){var t=n;n=r,r=t}return!!e[n]&&Object.prototype.hasOwnProperty.call(e[n],r)}function Rr(e,n,r,t){var i={},o={},a={};return s(n,function(u){s(u,function(d,f){i[d]=d,o[d]=d,a[d]=f})}),s(n,function(u){var d=-1;s(u,function(f){var c=t(f);if(c.length){c=I(c,function(b){return a[b]});for(var l=(c.length-1)/2,h=Math.floor(l),v=Math.ceil(l);h<=v;++h){var p=c[h];o[f]===f&&d<a[p]&&!_r(r,f,p)&&(o[p]=f,o[f]=i[f]=i[p],d=a[p])}}})}),{root:i,align:o}}function Ir(e,n,r,t,i){var o={},a=Tr(e,n,r,i),u=i?"borderLeft":"borderRight";function d(l,h){for(var v=a.nodes(),p=v.pop(),b={};p;)b[p]?l(p):(b[p]=!0,v.push(p),v=v.concat(h(p))),p=v.pop()}function f(l){o[l]=a.inEdges(l).reduce(function(h,v){return Math.max(h,o[v.v]+a.edge(v))},0)}function c(l){var h=a.outEdges(l).reduce(function(p,b){return Math.min(p,o[b.w]-a.edge(b))},Number.POSITIVE_INFINITY),v=e.node(l);h!==Number.POSITIVE_INFINITY&&v.borderType!==u&&(o[l]=Math.max(o[l],h))}return d(f,a.predecessors.bind(a)),d(c,a.successors.bind(a)),s(t,function(l){o[l]=o[r[l]]}),o}function Tr(e,n,r,t){var i=new g,o=e.graph(),a=Vr(o.nodesep,o.edgesep,t);return s(n,function(u){var d;s(u,function(f){var c=r[f];if(i.setNode(c),d){var l=r[d],h=i.edge(l,c);i.setEdge(l,c,Math.max(a(e,f,d),h||0))}d=f})}),i}function Mr(e,n){return Z(k(n),function(r){var t=Number.NEGATIVE_INFINITY,i=Number.POSITIVE_INFINITY;return on(r,function(o,a){var u=Ar(e,a)/2;t=Math.max(o+u,t),i=Math.min(o-u,i)}),t-i})}function jr(e,n){var r=k(n),t=L(r),i=y(r);s(["u","d"],function(o){s(["l","r"],function(a){var u=o+a,d=e[u],f;if(d!==n){var c=k(d);f=a==="l"?t-L(c):i-y(c),f&&(e[u]=V(d,function(l){return l+f}))}})})}function Fr(e,n){return V(e.ul,function(r,t){if(n)return e[n.toLowerCase()][t];var i=I(w(e,t));return(i[1]+i[2])/2})}function Sr(e){var n=A(e),r=X(Lr(e,n),Pr(e,n)),t={},i;s(["u","d"],function(a){i=a==="u"?n:k(n).reverse(),s(["l","r"],function(u){u==="r"&&(i=w(i,function(l){return k(l).reverse()}));var d=(a==="u"?e.predecessors:e.successors).bind(e),f=Rr(e,i,r,d),c=Ir(e,i,f.root,f.align,u==="r");u==="r"&&(c=V(c,function(l){return-l})),t[a+u]=c})});var o=Mr(e,t);return jr(t,o),Fr(t,e.graph().align)}function Vr(e,n,r){return function(t,i,o){var a=t.node(i),u=t.node(o),d=0,f;if(d+=a.width/2,Object.prototype.hasOwnProperty.call(a,"labelpos"))switch(a.labelpos.toLowerCase()){case"l":f=-a.width/2;break;case"r":f=a.width/2;break}if(f&&(d+=r?f:-f),f=0,d+=(a.dummy?n:e)/2,d+=(u.dummy?n:e)/2,d+=u.width/2,Object.prototype.hasOwnProperty.call(u,"labelpos"))switch(u.labelpos.toLowerCase()){case"l":f=u.width/2;break;case"r":f=-u.width/2;break}return f&&(d+=r?f:-f),f=0,d}}function Ar(e,n){return e.node(n).width}function Br(e){e=ke(e),Gr(e),un(Sr(e),function(n,r){e.node(r).x=n})}function Gr(e){var n=A(e),r=e.graph().ranksep,t=0;s(n,function(i){var o=y(w(i,function(a){return e.node(a).height}));s(i,function(a){e.node(a).y=t+o/2}),t+=o+r})}function yt(e,n){var r=Sn;r("layout",()=>{var t=r(" buildLayoutGraph",()=>Zr(e));r(" runLayout",()=>Yr(t,r)),r(" updateInputGraph",()=>$r(e,t))})}function Yr(e,n){n(" makeSpaceForEdgeLabels",()=>Kr(e)),n(" removeSelfEdges",()=>ut(e)),n(" acyclic",()=>_n(e)),n(" nestingGraph.run",()=>tr(e)),n(" rank",()=>er(ke(e))),n(" injectEdgeLabelProxies",()=>Qr(e)),n(" removeEmptyRanks",()=>jn(e)),n(" nestingGraph.cleanup",()=>or(e)),n(" normalizeRanks",()=>Mn(e)),n(" assignRankMinMax",()=>et(e)),n(" removeEdgeLabelProxies",()=>nt(e)),n(" normalize.run",()=>$n(e)),n(" parentDummyChains",()=>Er(e)),n(" addBorderSegments",()=>Vn(e)),n(" order",()=>xr(e)),n(" insertSelfEdges",()=>dt(e)),n(" adjustCoordinateSystem",()=>An(e)),n(" position",()=>Br(e)),n(" positionSelfEdges",()=>ft(e)),n(" removeBorderNodes",()=>ot(e)),n(" normalize.undo",()=>qn(e)),n(" fixupEdgeLabelCoords",()=>it(e)),n(" undoCoordinateSystem",()=>Bn(e)),n(" translateGraph",()=>rt(e)),n(" assignNodeIntersects",()=>tt(e)),n(" reversePoints",()=>at(e)),n(" acyclic.undo",()=>In(e))}function $r(e,n){s(e.nodes(),function(r){var t=e.node(r),i=n.node(r);t&&(t.x=i.x,t.y=i.y,n.children(r).length&&(t.width=i.width,t.height=i.height))}),s(e.edges(),function(r){var t=e.edge(r),i=n.edge(r);t.points=i.points,Object.prototype.hasOwnProperty.call(i,"x")&&(t.x=i.x,t.y=i.y)}),e.graph().width=n.graph().width,e.graph().height=n.graph().height}var Dr=["nodesep","edgesep","ranksep","marginx","marginy"],qr={ranksep:50,edgesep:20,nodesep:50,rankdir:"tb"},Wr=["acyclicer","ranker","rankdir","align"],Xr=["width","height"],zr={width:0,height:0},Ur=["minlen","weight","width","height","labeloffset"],Hr={minlen:1,weight:1,width:0,height:0,labeloffset:10,labelpos:"r"},Jr=["labelpos"];function Zr(e){var n=new g({multigraph:!0,compound:!0}),r=q(e.graph());return n.setGraph(X({},qr,D(r,Dr),M(r,Wr))),s(e.nodes(),function(t){var i=q(e.node(t));n.setNode(t,nn(D(i,Xr),zr)),n.setParent(t,e.parent(t))}),s(e.edges(),function(t){var i=q(e.edge(t));n.setEdge(t,X({},Hr,D(i,Ur),M(i,Jr)))}),n}function Kr(e){var n=e.graph();n.ranksep/=2,s(e.edges(),function(r){var t=e.edge(r);t.minlen*=2,t.labelpos.toLowerCase()!=="c"&&(n.rankdir==="TB"||n.rankdir==="BT"?t.width+=t.labeloffset:t.height+=t.labeloffset)})}function Qr(e){s(e.edges(),function(n){var r=e.edge(n);if(r.width&&r.height){var t=e.node(n.v),i=e.node(n.w),o={rank:(i.rank-t.rank)/2+t.rank,e:n};O(e,"edge-proxy",o,"_ep")}})}function et(e){var n=0;s(e.nodes(),function(r){var t=e.node(r);t.borderTop&&(t.minRank=e.node(t.borderTop).rank,t.maxRank=e.node(t.borderBottom).rank,n=y(n,t.maxRank))}),e.graph().maxRank=n}function nt(e){s(e.nodes(),function(n){var r=e.node(n);r.dummy==="edge-proxy"&&(e.edge(r.e).labelRank=r.rank,e.removeNode(n))})}function rt(e){var n=Number.POSITIVE_INFINITY,r=0,t=Number.POSITIVE_INFINITY,i=0,o=e.graph(),a=o.marginx||0,u=o.marginy||0;function d(f){var c=f.x,l=f.y,h=f.width,v=f.height;n=Math.min(n,c-h/2),r=Math.max(r,c+h/2),t=Math.min(t,l-v/2),i=Math.max(i,l+v/2)}s(e.nodes(),function(f){d(e.node(f))}),s(e.edges(),function(f){var c=e.edge(f);Object.prototype.hasOwnProperty.call(c,"x")&&d(c)}),n-=a,t-=u,s(e.nodes(),function(f){var c=e.node(f);c.x-=n,c.y-=t}),s(e.edges(),function(f){var c=e.edge(f);s(c.points,function(l){l.x-=n,l.y-=t}),Object.prototype.hasOwnProperty.call(c,"x")&&(c.x-=n),Object.prototype.hasOwnProperty.call(c,"y")&&(c.y-=t)}),o.width=r-n+a,o.height=i-t+u}function tt(e){s(e.edges(),function(n){var r=e.edge(n),t=e.node(n.v),i=e.node(n.w),o,a;r.points?(o=r.points[0],a=r.points[r.points.length-1]):(r.points=[],o=i,a=t),r.points.unshift(ae(t,o)),r.points.push(ae(i,a))})}function it(e){s(e.edges(),function(n){var r=e.edge(n);if(Object.prototype.hasOwnProperty.call(r,"x"))switch((r.labelpos==="l"||r.labelpos==="r")&&(r.width-=r.labeloffset),r.labelpos){case"l":r.x-=r.width/2+r.labeloffset;break;case"r":r.x+=r.width/2+r.labeloffset;break}})}function at(e){s(e.edges(),function(n){var r=e.edge(n);r.reversed&&r.points.reverse()})}function ot(e){s(e.nodes(),function(n){if(e.children(n).length){var r=e.node(n),t=e.node(r.borderTop),i=e.node(r.borderBottom),o=e.node(F(r.borderLeft)),a=e.node(F(r.borderRight));r.width=Math.abs(a.x-o.x),r.height=Math.abs(i.y-t.y),r.x=o.x+r.width/2,r.y=t.y+r.height/2}}),s(e.nodes(),function(n){e.node(n).dummy==="border"&&e.removeNode(n)})}function ut(e){s(e.edges(),function(n){if(n.v===n.w){var r=e.node(n.v);r.selfEdges||(r.selfEdges=[]),r.selfEdges.push({e:n,label:e.edge(n)}),e.removeEdge(n)}})}function dt(e){var n=A(e);s(n,function(r){var t=0;s(r,function(i,o){var a=e.node(i);a.order=o+t,s(a.selfEdges,function(u){O(e,"selfedge",{width:u.label.width,height:u.label.height,rank:a.rank,order:o+ ++t,e:u.e,label:u.label},"_se")}),delete a.selfEdges})})}function ft(e){s(e.nodes(),function(n){var r=e.node(n);if(r.dummy==="selfedge"){var t=e.node(r.e.v),i=t.x+t.width/2,o=t.y,a=r.x-i,u=t.height/2;e.setEdge(r.e,r.label),e.removeNode(n),r.label.points=[{x:i+2*a/3,y:o-u},{x:i+5*a/6,y:o-u},{x:i+a,y:o},{x:i+5*a/6,y:o+u},{x:i+2*a/3,y:o+u}],r.label.x=r.x,r.label.y=r.y}})}function D(e,n){return V(M(e,n),Number)}function q(e){var n={};return s(e,function(r,t){n[t.toLowerCase()]=r}),n}export{yt as l};
1
+ import{bl as ve,a7 as g,bm as s,bn as C,bo as k,bp as S}from"./mermaid.core-CpkB2-G5.js";import{bI as Se,b3 as Ve,b2 as Ae,eq as Be,bJ as Ge,cP as W,b1 as U,bP as B,bG as pe,bF as Ye,ef as $e,bm as De,er as qe,e3 as We,es as _,et as Xe,ct as m,cO as M}from"./index-HcLGmFz6.js";import{i as j,b as ze,m as w,a as X}from"./merge-CfAF3e7V.js";import{t as Ue}from"./el-scrollbar-BygTOJ7z.js";import{b as R}from"./_baseIteratee-D6vE6jHm.js";import{b as He}from"./_baseFindIndex-D7XfJLKM.js";import{b as we,a as Je,d as be}from"./isArrayLikeObject-ZvOzSYjq.js";import{l as F}from"./last-DXTTfs9a.js";import{c as Ze}from"./el-form-item-Dkt7ZmiR.js";import{k as me}from"./mobile-dialog-return-service-B05lwAuG.js";var te=1/0,Ke=17976931348623157e292;function T(e){if(!e)return e===0?e:0;if(e=Ue(e),e===te||e===-te){var n=e<0?-1:1;return n*Ke}return e===e?e:0}function Qe(e){var n=T(e),r=n%1;return n===n?r?n-r:n:0}var ge=Object.prototype,en=ge.hasOwnProperty,nn=we(function(e,n){e=Object(e);var r=-1,t=n.length,i=t>2?n[2]:void 0;for(i&&j(n[0],n[1],i)&&(t=1);++r<t;)for(var o=n[r],a=me(o),u=-1,d=a.length;++u<d;){var f=a[u],c=e[f];(c===void 0||Se(c,ge[f])&&!en.call(e,f))&&(e[f]=o[f])}return e});function rn(e){return function(n,r,t){var i=Object(n);if(!Ve(n)){var o=R(r);n=Ae(n),r=function(u){return o(i[u],u,i)}}var a=e(n,r,t);return a>-1?i[o?n[a]:a]:void 0}}var tn=Math.max;function an(e,n,r){var t=e==null?0:e.length;if(!t)return-1;var i=r==null?0:Qe(r);return i<0&&(i=tn(t+i,0)),He(e,R(n),i)}var H=rn(an);function on(e,n){return e==null?e:Je(e,ve(n),me)}function un(e,n){return e&&be(e,ve(n))}function dn(e,n){return e>n}var fn=Object.prototype,sn=fn.hasOwnProperty;function cn(e,n){return e!=null&&sn.call(e,n)}function ye(e,n){return e!=null&&Be(e,n,cn)}function xe(e,n){return e<n}function V(e,n){var r={};return n=R(n),be(e,function(t,i,o){Ge(r,i,n(t,i,o))}),r}function J(e,n,r){for(var t=-1,i=e.length;++t<i;){var o=e[t],a=n(o);if(a!=null&&(u===void 0?a===a&&!W(a):r(a,u)))var u=a,d=o}return d}function y(e){return e&&e.length?J(e,U,dn):void 0}function L(e){return e&&e.length?J(e,U,xe):void 0}function Z(e,n){return e&&e.length?J(e,R(n),xe):void 0}function ln(e,n){var r=e.length;for(e.sort(n);r--;)e[r]=e[r].value;return e}function hn(e,n){if(e!==n){var r=e!==void 0,t=e===null,i=e===e,o=W(e),a=n!==void 0,u=n===null,d=n===n,f=W(n);if(!u&&!f&&!o&&e>n||o&&a&&d&&!u&&!f||t&&a&&d||!r&&d||!i)return 1;if(!t&&!o&&!f&&e<n||f&&r&&i&&!t&&!o||u&&r&&i||!a&&i||!d)return-1}return 0}function vn(e,n,r){for(var t=-1,i=e.criteria,o=n.criteria,a=i.length,u=r.length;++t<a;){var d=hn(i[t],o[t]);if(d){if(t>=u)return d;var f=r[t];return d*(f=="desc"?-1:1)}}return e.index-n.index}function pn(e,n,r){n.length?n=B(n,function(o){return pe(o)?function(a){return Ye(a,o.length===1?o[0]:o)}:o}):n=[U];var t=-1;n=B(n,$e(R));var i=ze(e,function(o,a,u){var d=B(n,function(f){return f(o)});return{criteria:d,index:++t,value:o}});return ln(i,function(o,a){return vn(o,a,r)})}var wn=Math.ceil,bn=Math.max;function mn(e,n,r,t){for(var i=-1,o=bn(wn((n-e)/(r||1)),0),a=Array(o);o--;)a[++i]=e,e+=r;return a}function gn(e){return function(n,r,t){return t&&typeof t!="number"&&j(n,r,t)&&(r=t=void 0),n=T(n),r===void 0?(r=n,n=0):r=T(r),t=t===void 0?n<r?1:-1:T(t),mn(n,r,t)}}var E=gn(),I=we(function(e,n){if(e==null)return[];var r=n.length;return r>1&&j(e,n[0],n[1])?n=[]:r>2&&j(n[0],n[1],n[2])&&(n=[n[0]]),pn(e,De(n,1),[])}),yn=0;function K(e){var n=++yn;return qe(e)+n}function xn(e,n,r){for(var t=-1,i=e.length,o=n.length,a={};++t<i;){var u=t<o?n[t]:void 0;r(a,e[t],u)}return a}function kn(e,n){return xn(e||[],n||[],We)}class En{constructor(){var n={};n._next=n._prev=n,this._sentinel=n}dequeue(){var n=this._sentinel,r=n._prev;if(r!==n)return ie(r),r}enqueue(n){var r=this._sentinel;n._prev&&n._next&&ie(n),n._next=r._next,r._next._prev=n,r._next=n,n._prev=r}toString(){for(var n=[],r=this._sentinel,t=r._prev;t!==r;)n.push(JSON.stringify(t,On)),t=t._prev;return"["+n.join(", ")+"]"}}function ie(e){e._prev._next=e._next,e._next._prev=e._prev,delete e._next,delete e._prev}function On(e,n){if(e!=="_next"&&e!=="_prev")return n}var Nn=Xe(1);function Ln(e,n){if(e.nodeCount()<=1)return[];var r=Cn(e,n||Nn),t=Pn(r.graph,r.buckets,r.zeroIdx);return _(w(t,function(i){return e.outEdges(i.v,i.w)}))}function Pn(e,n,r){for(var t=[],i=n[n.length-1],o=n[0],a;e.nodeCount();){for(;a=o.dequeue();)G(e,n,r,a);for(;a=i.dequeue();)G(e,n,r,a);if(e.nodeCount()){for(var u=n.length-2;u>0;--u)if(a=n[u].dequeue(),a){t=t.concat(G(e,n,r,a,!0));break}}}return t}function G(e,n,r,t,i){var o=i?[]:void 0;return s(e.inEdges(t.v),function(a){var u=e.edge(a),d=e.node(a.v);i&&o.push({v:a.v,w:a.w}),d.out-=u,z(n,r,d)}),s(e.outEdges(t.v),function(a){var u=e.edge(a),d=a.w,f=e.node(d);f.in-=u,z(n,r,f)}),e.removeNode(t.v),o}function Cn(e,n){var r=new g,t=0,i=0;s(e.nodes(),function(u){r.setNode(u,{v:u,in:0,out:0})}),s(e.edges(),function(u){var d=r.edge(u.v,u.w)||0,f=n(u),c=d+f;r.setEdge(u.v,u.w,c),i=Math.max(i,r.node(u.v).out+=f),t=Math.max(t,r.node(u.w).in+=f)});var o=E(i+t+3).map(function(){return new En}),a=t+1;return s(r.nodes(),function(u){z(o,a,r.node(u))}),{graph:r,buckets:o,zeroIdx:a}}function z(e,n,r){r.out?r.in?e[r.out-r.in+n].enqueue(r):e[e.length-1].enqueue(r):e[0].enqueue(r)}function _n(e){var n=e.graph().acyclicer==="greedy"?Ln(e,r(e)):Rn(e);s(n,function(t){var i=e.edge(t);e.removeEdge(t),i.forwardName=t.name,i.reversed=!0,e.setEdge(t.w,t.v,i,K("rev"))});function r(t){return function(i){return t.edge(i).weight}}}function Rn(e){var n=[],r={},t={};function i(o){Object.prototype.hasOwnProperty.call(t,o)||(t[o]=!0,r[o]=!0,s(e.outEdges(o),function(a){Object.prototype.hasOwnProperty.call(r,a.w)?n.push(a):i(a.w)}),delete r[o])}return s(e.nodes(),i),n}function In(e){s(e.edges(),function(n){var r=e.edge(n);if(r.reversed){e.removeEdge(n);var t=r.forwardName;delete r.reversed,delete r.forwardName,e.setEdge(n.w,n.v,r,t)}})}function O(e,n,r,t){var i;do i=K(t);while(e.hasNode(i));return r.dummy=n,e.setNode(i,r),i}function Tn(e){var n=new g().setGraph(e.graph());return s(e.nodes(),function(r){n.setNode(r,e.node(r))}),s(e.edges(),function(r){var t=n.edge(r.v,r.w)||{weight:0,minlen:1},i=e.edge(r);n.setEdge(r.v,r.w,{weight:t.weight+i.weight,minlen:Math.max(t.minlen,i.minlen)})}),n}function ke(e){var n=new g({multigraph:e.isMultigraph()}).setGraph(e.graph());return s(e.nodes(),function(r){e.children(r).length||n.setNode(r,e.node(r))}),s(e.edges(),function(r){n.setEdge(r,e.edge(r))}),n}function ae(e,n){var r=e.x,t=e.y,i=n.x-r,o=n.y-t,a=e.width/2,u=e.height/2;if(!i&&!o)throw new Error("Not possible to find intersection inside of the rectangle");var d,f;return Math.abs(o)*a>Math.abs(i)*u?(o<0&&(u=-u),d=u*i/o,f=u):(i<0&&(a=-a),d=a,f=a*o/i),{x:r+d,y:t+f}}function A(e){var n=w(E(Ee(e)+1),function(){return[]});return s(e.nodes(),function(r){var t=e.node(r),i=t.rank;m(i)||(n[i][t.order]=r)}),n}function Mn(e){var n=L(w(e.nodes(),function(r){return e.node(r).rank}));s(e.nodes(),function(r){var t=e.node(r);ye(t,"rank")&&(t.rank-=n)})}function jn(e){var n=L(w(e.nodes(),function(o){return e.node(o).rank})),r=[];s(e.nodes(),function(o){var a=e.node(o).rank-n;r[a]||(r[a]=[]),r[a].push(o)});var t=0,i=e.graph().nodeRankFactor;s(r,function(o,a){m(o)&&a%i!==0?--t:t&&s(o,function(u){e.node(u).rank+=t})})}function oe(e,n,r,t){var i={width:0,height:0};return arguments.length>=4&&(i.rank=r,i.order=t),O(e,"border",i,n)}function Ee(e){return y(w(e.nodes(),function(n){var r=e.node(n).rank;if(!m(r))return r}))}function Fn(e,n){var r={lhs:[],rhs:[]};return s(e,function(t){n(t)?r.lhs.push(t):r.rhs.push(t)}),r}function Sn(e,n){return n()}function Vn(e){function n(r){var t=e.children(r),i=e.node(r);if(t.length&&s(t,n),Object.prototype.hasOwnProperty.call(i,"minRank")){i.borderLeft=[],i.borderRight=[];for(var o=i.minRank,a=i.maxRank+1;o<a;++o)ue(e,"borderLeft","_bl",r,i,o),ue(e,"borderRight","_br",r,i,o)}}s(e.children(),n)}function ue(e,n,r,t,i,o){var a={width:0,height:0,rank:o,borderType:n},u=i[n][o-1],d=O(e,"border",a,r);i[n][o]=d,e.setParent(d,t),u&&e.setEdge(u,d,{weight:1})}function An(e){var n=e.graph().rankdir.toLowerCase();(n==="lr"||n==="rl")&&Oe(e)}function Bn(e){var n=e.graph().rankdir.toLowerCase();(n==="bt"||n==="rl")&&Gn(e),(n==="lr"||n==="rl")&&(Yn(e),Oe(e))}function Oe(e){s(e.nodes(),function(n){de(e.node(n))}),s(e.edges(),function(n){de(e.edge(n))})}function de(e){var n=e.width;e.width=e.height,e.height=n}function Gn(e){s(e.nodes(),function(n){Y(e.node(n))}),s(e.edges(),function(n){var r=e.edge(n);s(r.points,Y),Object.prototype.hasOwnProperty.call(r,"y")&&Y(r)})}function Y(e){e.y=-e.y}function Yn(e){s(e.nodes(),function(n){$(e.node(n))}),s(e.edges(),function(n){var r=e.edge(n);s(r.points,$),Object.prototype.hasOwnProperty.call(r,"x")&&$(r)})}function $(e){var n=e.x;e.x=e.y,e.y=n}function $n(e){e.graph().dummyChains=[],s(e.edges(),function(n){Dn(e,n)})}function Dn(e,n){var r=n.v,t=e.node(r).rank,i=n.w,o=e.node(i).rank,a=n.name,u=e.edge(n),d=u.labelRank;if(o!==t+1){e.removeEdge(n);var f=void 0,c,l;for(l=0,++t;t<o;++l,++t)u.points=[],f={width:0,height:0,edgeLabel:u,edgeObj:n,rank:t},c=O(e,"edge",f,"_d"),t===d&&(f.width=u.width,f.height=u.height,f.dummy="edge-label",f.labelpos=u.labelpos),e.setEdge(r,c,{weight:u.weight},a),l===0&&e.graph().dummyChains.push(c),r=c;e.setEdge(r,i,{weight:u.weight},a)}}function qn(e){s(e.graph().dummyChains,function(n){var r=e.node(n),t=r.edgeLabel,i;for(e.setEdge(r.edgeObj,t);r.dummy;)i=e.successors(n)[0],e.removeNode(n),t.points.push({x:r.x,y:r.y}),r.dummy==="edge-label"&&(t.x=r.x,t.y=r.y,t.width=r.width,t.height=r.height),n=i,r=e.node(n)})}function Q(e){var n={};function r(t){var i=e.node(t);if(Object.prototype.hasOwnProperty.call(n,t))return i.rank;n[t]=!0;var o=L(w(e.outEdges(t),function(a){return r(a.w)-e.edge(a).minlen}));return(o===Number.POSITIVE_INFINITY||o===void 0||o===null)&&(o=0),i.rank=o}s(e.sources(),r)}function P(e,n){return e.node(n.w).rank-e.node(n.v).rank-e.edge(n).minlen}function Ne(e){var n=new g({directed:!1}),r=e.nodes()[0],t=e.nodeCount();n.setNode(r,{});for(var i,o;Wn(n,e)<t;)i=Xn(n,e),o=n.hasNode(i.v)?P(e,i):-P(e,i),zn(n,e,o);return n}function Wn(e,n){function r(t){s(n.nodeEdges(t),function(i){var o=i.v,a=t===o?i.w:o;!e.hasNode(a)&&!P(n,i)&&(e.setNode(a,{}),e.setEdge(t,a,{}),r(a))})}return s(e.nodes(),r),e.nodeCount()}function Xn(e,n){return Z(n.edges(),function(r){if(e.hasNode(r.v)!==e.hasNode(r.w))return P(n,r)})}function zn(e,n,r){s(e.nodes(),function(t){n.node(t).rank+=r})}function Un(){}Un.prototype=new Error;function Le(e,n,r){pe(n)||(n=[n]);var t=(e.isDirected()?e.successors:e.neighbors).bind(e),i=[],o={};return s(n,function(a){if(!e.hasNode(a))throw new Error("Graph does not have node: "+a);Pe(e,a,r==="post",o,t,i)}),i}function Pe(e,n,r,t,i,o){Object.prototype.hasOwnProperty.call(t,n)||(t[n]=!0,r||o.push(n),s(i(n),function(a){Pe(e,a,r,t,i,o)}),r&&o.push(n))}function Hn(e,n){return Le(e,n,"post")}function Jn(e,n){return Le(e,n,"pre")}x.initLowLimValues=ne;x.initCutValues=ee;x.calcCutValue=Ce;x.leaveEdge=Re;x.enterEdge=Ie;x.exchangeEdges=Te;function x(e){e=Tn(e),Q(e);var n=Ne(e);ne(n),ee(n,e);for(var r,t;r=Re(n);)t=Ie(n,e,r),Te(n,e,r,t)}function ee(e,n){var r=Hn(e,e.nodes());r=r.slice(0,r.length-1),s(r,function(t){Zn(e,n,t)})}function Zn(e,n,r){var t=e.node(r),i=t.parent;e.edge(r,i).cutvalue=Ce(e,n,r)}function Ce(e,n,r){var t=e.node(r),i=t.parent,o=!0,a=n.edge(r,i),u=0;return a||(o=!1,a=n.edge(i,r)),u=a.weight,s(n.nodeEdges(r),function(d){var f=d.v===r,c=f?d.w:d.v;if(c!==i){var l=f===o,h=n.edge(d).weight;if(u+=l?h:-h,Qn(e,r,c)){var v=e.edge(r,c).cutvalue;u+=l?-v:v}}}),u}function ne(e,n){arguments.length<2&&(n=e.nodes()[0]),_e(e,{},1,n)}function _e(e,n,r,t,i){var o=r,a=e.node(t);return n[t]=!0,s(e.neighbors(t),function(u){Object.prototype.hasOwnProperty.call(n,u)||(r=_e(e,n,r,u,t))}),a.low=o,a.lim=r++,i?a.parent=i:delete a.parent,r}function Re(e){return H(e.edges(),function(n){return e.edge(n).cutvalue<0})}function Ie(e,n,r){var t=r.v,i=r.w;n.hasEdge(t,i)||(t=r.w,i=r.v);var o=e.node(t),a=e.node(i),u=o,d=!1;o.lim>a.lim&&(u=a,d=!0);var f=C(n.edges(),function(c){return d===fe(e,e.node(c.v),u)&&d!==fe(e,e.node(c.w),u)});return Z(f,function(c){return P(n,c)})}function Te(e,n,r,t){var i=r.v,o=r.w;e.removeEdge(i,o),e.setEdge(t.v,t.w,{}),ne(e),ee(e,n),Kn(e,n)}function Kn(e,n){var r=H(e.nodes(),function(i){return!n.node(i).parent}),t=Jn(e,r);t=t.slice(1),s(t,function(i){var o=e.node(i).parent,a=n.edge(i,o),u=!1;a||(a=n.edge(o,i),u=!0),n.node(i).rank=n.node(o).rank+(u?a.minlen:-a.minlen)})}function Qn(e,n,r){return e.hasEdge(n,r)}function fe(e,n,r){return r.low<=n.lim&&n.lim<=r.lim}function er(e){switch(e.graph().ranker){case"network-simplex":se(e);break;case"tight-tree":rr(e);break;case"longest-path":nr(e);break;default:se(e)}}var nr=Q;function rr(e){Q(e),Ne(e)}function se(e){x(e)}function tr(e){var n=O(e,"root",{},"_root"),r=ir(e),t=y(k(r))-1,i=2*t+1;e.graph().nestingRoot=n,s(e.edges(),function(a){e.edge(a).minlen*=i});var o=ar(e)+1;s(e.children(),function(a){Me(e,n,i,o,t,r,a)}),e.graph().nodeRankFactor=i}function Me(e,n,r,t,i,o,a){var u=e.children(a);if(!u.length){a!==n&&e.setEdge(n,a,{weight:0,minlen:r});return}var d=oe(e,"_bt"),f=oe(e,"_bb"),c=e.node(a);e.setParent(d,a),c.borderTop=d,e.setParent(f,a),c.borderBottom=f,s(u,function(l){Me(e,n,r,t,i,o,l);var h=e.node(l),v=h.borderTop?h.borderTop:l,p=h.borderBottom?h.borderBottom:l,b=h.borderTop?t:2*t,N=v!==p?1:i-o[a]+1;e.setEdge(d,v,{weight:b,minlen:N,nestingEdge:!0}),e.setEdge(p,f,{weight:b,minlen:N,nestingEdge:!0})}),e.parent(a)||e.setEdge(n,d,{weight:0,minlen:i+o[a]})}function ir(e){var n={};function r(t,i){var o=e.children(t);o&&o.length&&s(o,function(a){r(a,i+1)}),n[t]=i}return s(e.children(),function(t){r(t,1)}),n}function ar(e){return S(e.edges(),function(n,r){return n+e.edge(r).weight},0)}function or(e){var n=e.graph();e.removeNode(n.nestingRoot),delete n.nestingRoot,s(e.edges(),function(r){var t=e.edge(r);t.nestingEdge&&e.removeEdge(r)})}function ur(e,n,r){var t={},i;s(r,function(o){for(var a=e.parent(o),u,d;a;){if(u=e.parent(a),u?(d=t[u],t[u]=a):(d=i,i=a),d&&d!==a){n.setEdge(d,a);return}a=u}})}function dr(e,n,r){var t=fr(e),i=new g({compound:!0}).setGraph({root:t}).setDefaultNodeLabel(function(o){return e.node(o)});return s(e.nodes(),function(o){var a=e.node(o),u=e.parent(o);(a.rank===n||a.minRank<=n&&n<=a.maxRank)&&(i.setNode(o),i.setParent(o,u||t),s(e[r](o),function(d){var f=d.v===o?d.w:d.v,c=i.edge(f,o),l=m(c)?0:c.weight;i.setEdge(f,o,{weight:e.edge(d).weight+l})}),Object.prototype.hasOwnProperty.call(a,"minRank")&&i.setNode(o,{borderLeft:a.borderLeft[n],borderRight:a.borderRight[n]}))}),i}function fr(e){for(var n;e.hasNode(n=K("_root")););return n}function sr(e,n){for(var r=0,t=1;t<n.length;++t)r+=cr(e,n[t-1],n[t]);return r}function cr(e,n,r){for(var t=kn(r,w(r,function(f,c){return c})),i=_(w(n,function(f){return I(w(e.outEdges(f),function(c){return{pos:t[c.w],weight:e.edge(c).weight}}),"pos")})),o=1;o<r.length;)o<<=1;var a=2*o-1;o-=1;var u=w(new Array(a),function(){return 0}),d=0;return s(i.forEach(function(f){var c=f.pos+o;u[c]+=f.weight;for(var l=0;c>0;)c%2&&(l+=u[c+1]),c=c-1>>1,u[c]+=f.weight;d+=f.weight*l})),d}function lr(e){var n={},r=C(e.nodes(),function(u){return!e.children(u).length}),t=y(w(r,function(u){return e.node(u).rank})),i=w(E(t+1),function(){return[]});function o(u){if(!ye(n,u)){n[u]=!0;var d=e.node(u);i[d.rank].push(u),s(e.successors(u),o)}}var a=I(r,function(u){return e.node(u).rank});return s(a,o),i}function hr(e,n){return w(n,function(r){var t=e.inEdges(r);if(t.length){var i=S(t,function(o,a){var u=e.edge(a),d=e.node(a.v);return{sum:o.sum+u.weight*d.order,weight:o.weight+u.weight}},{sum:0,weight:0});return{v:r,barycenter:i.sum/i.weight,weight:i.weight}}else return{v:r}})}function vr(e,n){var r={};s(e,function(i,o){var a=r[i.v]={indegree:0,in:[],out:[],vs:[i.v],i:o};m(i.barycenter)||(a.barycenter=i.barycenter,a.weight=i.weight)}),s(n.edges(),function(i){var o=r[i.v],a=r[i.w];!m(o)&&!m(a)&&(a.indegree++,o.out.push(r[i.w]))});var t=C(r,function(i){return!i.indegree});return pr(t)}function pr(e){var n=[];function r(o){return function(a){a.merged||(m(a.barycenter)||m(o.barycenter)||a.barycenter>=o.barycenter)&&wr(o,a)}}function t(o){return function(a){a.in.push(o),--a.indegree===0&&e.push(a)}}for(;e.length;){var i=e.pop();n.push(i),s(i.in.reverse(),r(i)),s(i.out,t(i))}return w(C(n,function(o){return!o.merged}),function(o){return M(o,["vs","i","barycenter","weight"])})}function wr(e,n){var r=0,t=0;e.weight&&(r+=e.barycenter*e.weight,t+=e.weight),n.weight&&(r+=n.barycenter*n.weight,t+=n.weight),e.vs=n.vs.concat(e.vs),e.barycenter=r/t,e.weight=t,e.i=Math.min(n.i,e.i),n.merged=!0}function br(e,n){var r=Fn(e,function(c){return Object.prototype.hasOwnProperty.call(c,"barycenter")}),t=r.lhs,i=I(r.rhs,function(c){return-c.i}),o=[],a=0,u=0,d=0;t.sort(mr(!!n)),d=ce(o,i,d),s(t,function(c){d+=c.vs.length,o.push(c.vs),a+=c.barycenter*c.weight,u+=c.weight,d=ce(o,i,d)});var f={vs:_(o)};return u&&(f.barycenter=a/u,f.weight=u),f}function ce(e,n,r){for(var t;n.length&&(t=F(n)).i<=r;)n.pop(),e.push(t.vs),r++;return r}function mr(e){return function(n,r){return n.barycenter<r.barycenter?-1:n.barycenter>r.barycenter?1:e?r.i-n.i:n.i-r.i}}function je(e,n,r,t){var i=e.children(n),o=e.node(n),a=o?o.borderLeft:void 0,u=o?o.borderRight:void 0,d={};a&&(i=C(i,function(p){return p!==a&&p!==u}));var f=hr(e,i);s(f,function(p){if(e.children(p.v).length){var b=je(e,p.v,r,t);d[p.v]=b,Object.prototype.hasOwnProperty.call(b,"barycenter")&&yr(p,b)}});var c=vr(f,r);gr(c,d);var l=br(c,t);if(a&&(l.vs=_([a,l.vs,u]),e.predecessors(a).length)){var h=e.node(e.predecessors(a)[0]),v=e.node(e.predecessors(u)[0]);Object.prototype.hasOwnProperty.call(l,"barycenter")||(l.barycenter=0,l.weight=0),l.barycenter=(l.barycenter*l.weight+h.order+v.order)/(l.weight+2),l.weight+=2}return l}function gr(e,n){s(e,function(r){r.vs=_(r.vs.map(function(t){return n[t]?n[t].vs:t}))})}function yr(e,n){m(e.barycenter)?(e.barycenter=n.barycenter,e.weight=n.weight):(e.barycenter=(e.barycenter*e.weight+n.barycenter*n.weight)/(e.weight+n.weight),e.weight+=n.weight)}function xr(e){var n=Ee(e),r=le(e,E(1,n+1),"inEdges"),t=le(e,E(n-1,-1,-1),"outEdges"),i=lr(e);he(e,i);for(var o=Number.POSITIVE_INFINITY,a,u=0,d=0;d<4;++u,++d){kr(u%2?r:t,u%4>=2),i=A(e);var f=sr(e,i);f<o&&(d=0,a=Ze(i),o=f)}he(e,a)}function le(e,n,r){return w(n,function(t){return dr(e,t,r)})}function kr(e,n){var r=new g;s(e,function(t){var i=t.graph().root,o=je(t,i,r,n);s(o.vs,function(a,u){t.node(a).order=u}),ur(t,r,o.vs)})}function he(e,n){s(n,function(r){s(r,function(t,i){e.node(t).order=i})})}function Er(e){var n=Nr(e);s(e.graph().dummyChains,function(r){for(var t=e.node(r),i=t.edgeObj,o=Or(e,n,i.v,i.w),a=o.path,u=o.lca,d=0,f=a[d],c=!0;r!==i.w;){if(t=e.node(r),c){for(;(f=a[d])!==u&&e.node(f).maxRank<t.rank;)d++;f===u&&(c=!1)}if(!c){for(;d<a.length-1&&e.node(f=a[d+1]).minRank<=t.rank;)d++;f=a[d]}e.setParent(r,f),r=e.successors(r)[0]}})}function Or(e,n,r,t){var i=[],o=[],a=Math.min(n[r].low,n[t].low),u=Math.max(n[r].lim,n[t].lim),d,f;d=r;do d=e.parent(d),i.push(d);while(d&&(n[d].low>a||u>n[d].lim));for(f=d,d=t;(d=e.parent(d))!==f;)o.push(d);return{path:i.concat(o.reverse()),lca:f}}function Nr(e){var n={},r=0;function t(i){var o=r;s(e.children(i),t),n[i]={low:o,lim:r++}}return s(e.children(),t),n}function Lr(e,n){var r={};function t(i,o){var a=0,u=0,d=i.length,f=F(o);return s(o,function(c,l){var h=Cr(e,c),v=h?e.node(h).order:d;(h||c===f)&&(s(o.slice(u,l+1),function(p){s(e.predecessors(p),function(b){var N=e.node(b),re=N.order;(re<a||v<re)&&!(N.dummy&&e.node(p).dummy)&&Fe(r,b,p)})}),u=l+1,a=v)}),o}return S(n,t),r}function Pr(e,n){var r={};function t(o,a,u,d,f){var c;s(E(a,u),function(l){c=o[l],e.node(c).dummy&&s(e.predecessors(c),function(h){var v=e.node(h);v.dummy&&(v.order<d||v.order>f)&&Fe(r,h,c)})})}function i(o,a){var u=-1,d,f=0;return s(a,function(c,l){if(e.node(c).dummy==="border"){var h=e.predecessors(c);h.length&&(d=e.node(h[0]).order,t(a,f,l,u,d),f=l,u=d)}t(a,f,a.length,d,o.length)}),a}return S(n,i),r}function Cr(e,n){if(e.node(n).dummy)return H(e.predecessors(n),function(r){return e.node(r).dummy})}function Fe(e,n,r){if(n>r){var t=n;n=r,r=t}Object.prototype.hasOwnProperty.call(e,n)||Object.defineProperty(e,n,{enumerable:!0,configurable:!0,value:{},writable:!0});var i=e[n];Object.defineProperty(i,r,{enumerable:!0,configurable:!0,value:!0,writable:!0})}function _r(e,n,r){if(n>r){var t=n;n=r,r=t}return!!e[n]&&Object.prototype.hasOwnProperty.call(e[n],r)}function Rr(e,n,r,t){var i={},o={},a={};return s(n,function(u){s(u,function(d,f){i[d]=d,o[d]=d,a[d]=f})}),s(n,function(u){var d=-1;s(u,function(f){var c=t(f);if(c.length){c=I(c,function(b){return a[b]});for(var l=(c.length-1)/2,h=Math.floor(l),v=Math.ceil(l);h<=v;++h){var p=c[h];o[f]===f&&d<a[p]&&!_r(r,f,p)&&(o[p]=f,o[f]=i[f]=i[p],d=a[p])}}})}),{root:i,align:o}}function Ir(e,n,r,t,i){var o={},a=Tr(e,n,r,i),u=i?"borderLeft":"borderRight";function d(l,h){for(var v=a.nodes(),p=v.pop(),b={};p;)b[p]?l(p):(b[p]=!0,v.push(p),v=v.concat(h(p))),p=v.pop()}function f(l){o[l]=a.inEdges(l).reduce(function(h,v){return Math.max(h,o[v.v]+a.edge(v))},0)}function c(l){var h=a.outEdges(l).reduce(function(p,b){return Math.min(p,o[b.w]-a.edge(b))},Number.POSITIVE_INFINITY),v=e.node(l);h!==Number.POSITIVE_INFINITY&&v.borderType!==u&&(o[l]=Math.max(o[l],h))}return d(f,a.predecessors.bind(a)),d(c,a.successors.bind(a)),s(t,function(l){o[l]=o[r[l]]}),o}function Tr(e,n,r,t){var i=new g,o=e.graph(),a=Vr(o.nodesep,o.edgesep,t);return s(n,function(u){var d;s(u,function(f){var c=r[f];if(i.setNode(c),d){var l=r[d],h=i.edge(l,c);i.setEdge(l,c,Math.max(a(e,f,d),h||0))}d=f})}),i}function Mr(e,n){return Z(k(n),function(r){var t=Number.NEGATIVE_INFINITY,i=Number.POSITIVE_INFINITY;return on(r,function(o,a){var u=Ar(e,a)/2;t=Math.max(o+u,t),i=Math.min(o-u,i)}),t-i})}function jr(e,n){var r=k(n),t=L(r),i=y(r);s(["u","d"],function(o){s(["l","r"],function(a){var u=o+a,d=e[u],f;if(d!==n){var c=k(d);f=a==="l"?t-L(c):i-y(c),f&&(e[u]=V(d,function(l){return l+f}))}})})}function Fr(e,n){return V(e.ul,function(r,t){if(n)return e[n.toLowerCase()][t];var i=I(w(e,t));return(i[1]+i[2])/2})}function Sr(e){var n=A(e),r=X(Lr(e,n),Pr(e,n)),t={},i;s(["u","d"],function(a){i=a==="u"?n:k(n).reverse(),s(["l","r"],function(u){u==="r"&&(i=w(i,function(l){return k(l).reverse()}));var d=(a==="u"?e.predecessors:e.successors).bind(e),f=Rr(e,i,r,d),c=Ir(e,i,f.root,f.align,u==="r");u==="r"&&(c=V(c,function(l){return-l})),t[a+u]=c})});var o=Mr(e,t);return jr(t,o),Fr(t,e.graph().align)}function Vr(e,n,r){return function(t,i,o){var a=t.node(i),u=t.node(o),d=0,f;if(d+=a.width/2,Object.prototype.hasOwnProperty.call(a,"labelpos"))switch(a.labelpos.toLowerCase()){case"l":f=-a.width/2;break;case"r":f=a.width/2;break}if(f&&(d+=r?f:-f),f=0,d+=(a.dummy?n:e)/2,d+=(u.dummy?n:e)/2,d+=u.width/2,Object.prototype.hasOwnProperty.call(u,"labelpos"))switch(u.labelpos.toLowerCase()){case"l":f=u.width/2;break;case"r":f=-u.width/2;break}return f&&(d+=r?f:-f),f=0,d}}function Ar(e,n){return e.node(n).width}function Br(e){e=ke(e),Gr(e),un(Sr(e),function(n,r){e.node(r).x=n})}function Gr(e){var n=A(e),r=e.graph().ranksep,t=0;s(n,function(i){var o=y(w(i,function(a){return e.node(a).height}));s(i,function(a){e.node(a).y=t+o/2}),t+=o+r})}function yt(e,n){var r=Sn;r("layout",()=>{var t=r(" buildLayoutGraph",()=>Zr(e));r(" runLayout",()=>Yr(t,r)),r(" updateInputGraph",()=>$r(e,t))})}function Yr(e,n){n(" makeSpaceForEdgeLabels",()=>Kr(e)),n(" removeSelfEdges",()=>ut(e)),n(" acyclic",()=>_n(e)),n(" nestingGraph.run",()=>tr(e)),n(" rank",()=>er(ke(e))),n(" injectEdgeLabelProxies",()=>Qr(e)),n(" removeEmptyRanks",()=>jn(e)),n(" nestingGraph.cleanup",()=>or(e)),n(" normalizeRanks",()=>Mn(e)),n(" assignRankMinMax",()=>et(e)),n(" removeEdgeLabelProxies",()=>nt(e)),n(" normalize.run",()=>$n(e)),n(" parentDummyChains",()=>Er(e)),n(" addBorderSegments",()=>Vn(e)),n(" order",()=>xr(e)),n(" insertSelfEdges",()=>dt(e)),n(" adjustCoordinateSystem",()=>An(e)),n(" position",()=>Br(e)),n(" positionSelfEdges",()=>ft(e)),n(" removeBorderNodes",()=>ot(e)),n(" normalize.undo",()=>qn(e)),n(" fixupEdgeLabelCoords",()=>it(e)),n(" undoCoordinateSystem",()=>Bn(e)),n(" translateGraph",()=>rt(e)),n(" assignNodeIntersects",()=>tt(e)),n(" reversePoints",()=>at(e)),n(" acyclic.undo",()=>In(e))}function $r(e,n){s(e.nodes(),function(r){var t=e.node(r),i=n.node(r);t&&(t.x=i.x,t.y=i.y,n.children(r).length&&(t.width=i.width,t.height=i.height))}),s(e.edges(),function(r){var t=e.edge(r),i=n.edge(r);t.points=i.points,Object.prototype.hasOwnProperty.call(i,"x")&&(t.x=i.x,t.y=i.y)}),e.graph().width=n.graph().width,e.graph().height=n.graph().height}var Dr=["nodesep","edgesep","ranksep","marginx","marginy"],qr={ranksep:50,edgesep:20,nodesep:50,rankdir:"tb"},Wr=["acyclicer","ranker","rankdir","align"],Xr=["width","height"],zr={width:0,height:0},Ur=["minlen","weight","width","height","labeloffset"],Hr={minlen:1,weight:1,width:0,height:0,labeloffset:10,labelpos:"r"},Jr=["labelpos"];function Zr(e){var n=new g({multigraph:!0,compound:!0}),r=q(e.graph());return n.setGraph(X({},qr,D(r,Dr),M(r,Wr))),s(e.nodes(),function(t){var i=q(e.node(t));n.setNode(t,nn(D(i,Xr),zr)),n.setParent(t,e.parent(t))}),s(e.edges(),function(t){var i=q(e.edge(t));n.setEdge(t,X({},Hr,D(i,Ur),M(i,Jr)))}),n}function Kr(e){var n=e.graph();n.ranksep/=2,s(e.edges(),function(r){var t=e.edge(r);t.minlen*=2,t.labelpos.toLowerCase()!=="c"&&(n.rankdir==="TB"||n.rankdir==="BT"?t.width+=t.labeloffset:t.height+=t.labeloffset)})}function Qr(e){s(e.edges(),function(n){var r=e.edge(n);if(r.width&&r.height){var t=e.node(n.v),i=e.node(n.w),o={rank:(i.rank-t.rank)/2+t.rank,e:n};O(e,"edge-proxy",o,"_ep")}})}function et(e){var n=0;s(e.nodes(),function(r){var t=e.node(r);t.borderTop&&(t.minRank=e.node(t.borderTop).rank,t.maxRank=e.node(t.borderBottom).rank,n=y(n,t.maxRank))}),e.graph().maxRank=n}function nt(e){s(e.nodes(),function(n){var r=e.node(n);r.dummy==="edge-proxy"&&(e.edge(r.e).labelRank=r.rank,e.removeNode(n))})}function rt(e){var n=Number.POSITIVE_INFINITY,r=0,t=Number.POSITIVE_INFINITY,i=0,o=e.graph(),a=o.marginx||0,u=o.marginy||0;function d(f){var c=f.x,l=f.y,h=f.width,v=f.height;n=Math.min(n,c-h/2),r=Math.max(r,c+h/2),t=Math.min(t,l-v/2),i=Math.max(i,l+v/2)}s(e.nodes(),function(f){d(e.node(f))}),s(e.edges(),function(f){var c=e.edge(f);Object.prototype.hasOwnProperty.call(c,"x")&&d(c)}),n-=a,t-=u,s(e.nodes(),function(f){var c=e.node(f);c.x-=n,c.y-=t}),s(e.edges(),function(f){var c=e.edge(f);s(c.points,function(l){l.x-=n,l.y-=t}),Object.prototype.hasOwnProperty.call(c,"x")&&(c.x-=n),Object.prototype.hasOwnProperty.call(c,"y")&&(c.y-=t)}),o.width=r-n+a,o.height=i-t+u}function tt(e){s(e.edges(),function(n){var r=e.edge(n),t=e.node(n.v),i=e.node(n.w),o,a;r.points?(o=r.points[0],a=r.points[r.points.length-1]):(r.points=[],o=i,a=t),r.points.unshift(ae(t,o)),r.points.push(ae(i,a))})}function it(e){s(e.edges(),function(n){var r=e.edge(n);if(Object.prototype.hasOwnProperty.call(r,"x"))switch((r.labelpos==="l"||r.labelpos==="r")&&(r.width-=r.labeloffset),r.labelpos){case"l":r.x-=r.width/2+r.labeloffset;break;case"r":r.x+=r.width/2+r.labeloffset;break}})}function at(e){s(e.edges(),function(n){var r=e.edge(n);r.reversed&&r.points.reverse()})}function ot(e){s(e.nodes(),function(n){if(e.children(n).length){var r=e.node(n),t=e.node(r.borderTop),i=e.node(r.borderBottom),o=e.node(F(r.borderLeft)),a=e.node(F(r.borderRight));r.width=Math.abs(a.x-o.x),r.height=Math.abs(i.y-t.y),r.x=o.x+r.width/2,r.y=t.y+r.height/2}}),s(e.nodes(),function(n){e.node(n).dummy==="border"&&e.removeNode(n)})}function ut(e){s(e.edges(),function(n){if(n.v===n.w){var r=e.node(n.v);r.selfEdges||(r.selfEdges=[]),r.selfEdges.push({e:n,label:e.edge(n)}),e.removeEdge(n)}})}function dt(e){var n=A(e);s(n,function(r){var t=0;s(r,function(i,o){var a=e.node(i);a.order=o+t,s(a.selfEdges,function(u){O(e,"selfedge",{width:u.label.width,height:u.label.height,rank:a.rank,order:o+ ++t,e:u.e,label:u.label},"_se")}),delete a.selfEdges})})}function ft(e){s(e.nodes(),function(n){var r=e.node(n);if(r.dummy==="selfedge"){var t=e.node(r.e.v),i=t.x+t.width/2,o=t.y,a=r.x-i,u=t.height/2;e.setEdge(r.e,r.label),e.removeNode(n),r.label.points=[{x:i+2*a/3,y:o-u},{x:i+5*a/6,y:o-u},{x:i+a,y:o},{x:i+5*a/6,y:o+u},{x:i+2*a/3,y:o+u}],r.label.x=r.x,r.label.y=r.y}})}function D(e,n){return V(M(e,n),Number)}function q(e){var n={};return s(e,function(r,t){n[t.toLowerCase()]=r}),n}export{yt as l};
@@ -1 +1 @@
1
- import{b7 as j,b8 as p,b9 as w,ba as k,bb as q}from"./mermaid.core-BefpKbQ_.js";import{i as D}from"./init-Gi6I4Gst.js";import{e as g,f as F,a as z,b as B}from"./defaultLocale-DX6XiGOO.js";function M(n,r){return n==null||r==null?NaN:n<r?-1:n>r?1:n>=r?0:NaN}function I(n,r){return n==null||r==null?NaN:r<n?-1:r>n?1:r>=n?0:NaN}function R(n){let r,t,e;n.length!==2?(r=M,t=(o,c)=>M(n(o),c),e=(o,c)=>n(o)-c):(r=n===M||n===I?n:P,t=n,e=n);function u(o,c,i=0,h=o.length){if(i<h){if(r(c,c)!==0)return h;do{const l=i+h>>>1;t(o[l],c)<0?i=l+1:h=l}while(i<h)}return i}function f(o,c,i=0,h=o.length){if(i<h){if(r(c,c)!==0)return h;do{const l=i+h>>>1;t(o[l],c)<=0?i=l+1:h=l}while(i<h)}return i}function a(o,c,i=0,h=o.length){const l=u(o,c,i,h-1);return l>i&&e(o[l-1],c)>-e(o[l],c)?l-1:l}return{left:u,center:a,right:f}}function P(){return 0}function V(n){return n===null?NaN:+n}const $=R(M),x=$.right;R(V).center;const O=Math.sqrt(50),T=Math.sqrt(10),C=Math.sqrt(2);function v(n,r,t){const e=(r-n)/Math.max(0,t),u=Math.floor(Math.log10(e)),f=e/Math.pow(10,u),a=f>=O?10:f>=T?5:f>=C?2:1;let o,c,i;return u<0?(i=Math.pow(10,-u)/a,o=Math.round(n*i),c=Math.round(r*i),o/i<n&&++o,c/i>r&&--c,i=-i):(i=Math.pow(10,u)*a,o=Math.round(n/i),c=Math.round(r/i),o*i<n&&++o,c*i>r&&--c),c<o&&.5<=t&&t<2?v(n,r,t*2):[o,c,i]}function E(n,r,t){if(r=+r,n=+n,t=+t,!(t>0))return[];if(n===r)return[n];const e=r<n,[u,f,a]=e?v(r,n,t):v(n,r,t);if(!(f>=u))return[];const o=f-u+1,c=new Array(o);if(e)if(a<0)for(let i=0;i<o;++i)c[i]=(f-i)/-a;else for(let i=0;i<o;++i)c[i]=(f-i)*a;else if(a<0)for(let i=0;i<o;++i)c[i]=(u+i)/-a;else for(let i=0;i<o;++i)c[i]=(u+i)*a;return c}function y(n,r,t){return r=+r,n=+n,t=+t,v(n,r,t)[2]}function G(n,r,t){r=+r,n=+n,t=+t;const e=r<n,u=e?y(r,n,t):y(n,r,t);return(e?-1:1)*(u<0?1/-u:u)}function H(n,r){r||(r=[]);var t=n?Math.min(r.length,n.length):0,e=r.slice(),u;return function(f){for(u=0;u<t;++u)e[u]=n[u]*(1-f)+r[u]*f;return e}}function J(n){return ArrayBuffer.isView(n)&&!(n instanceof DataView)}function K(n,r){var t=r?r.length:0,e=n?Math.min(t,n.length):0,u=new Array(e),f=new Array(t),a;for(a=0;a<e;++a)u[a]=d(n[a],r[a]);for(;a<t;++a)f[a]=r[a];return function(o){for(a=0;a<e;++a)f[a]=u[a](o);return f}}function L(n,r){var t=new Date;return n=+n,r=+r,function(e){return t.setTime(n*(1-e)+r*e),t}}function Q(n,r){var t={},e={},u;(n===null||typeof n!="object")&&(n={}),(r===null||typeof r!="object")&&(r={});for(u in r)u in n?t[u]=d(n[u],r[u]):e[u]=r[u];return function(f){for(u in t)e[u]=t[u](f);return e}}function d(n,r){var t=typeof r,e;return r==null||t==="boolean"?j(r):(t==="number"?p:t==="string"?(e=w(r))?(r=e,k):q:r instanceof w?k:r instanceof Date?L:J(r)?H:Array.isArray(r)?K:typeof r.valueOf!="function"&&typeof r.toString!="function"||isNaN(r)?Q:p)(n,r)}function U(n,r){return n=+n,r=+r,function(t){return Math.round(n*(1-t)+r*t)}}function W(n){return Math.max(0,-g(Math.abs(n)))}function X(n,r){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(g(r)/3)))*3-g(Math.abs(n)))}function Y(n,r){return n=Math.abs(n),r=Math.abs(r)-n,Math.max(0,g(r)-g(n))+1}function Z(n){return function(){return n}}function _(n){return+n}var A=[0,1];function m(n){return n}function N(n,r){return(r-=n=+n)?function(t){return(t-n)/r}:Z(isNaN(r)?NaN:.5)}function b(n,r){var t;return n>r&&(t=n,n=r,r=t),function(e){return Math.max(n,Math.min(r,e))}}function nn(n,r,t){var e=n[0],u=n[1],f=r[0],a=r[1];return u<e?(e=N(u,e),f=t(a,f)):(e=N(e,u),f=t(f,a)),function(o){return f(e(o))}}function rn(n,r,t){var e=Math.min(n.length,r.length)-1,u=new Array(e),f=new Array(e),a=-1;for(n[e]<n[0]&&(n=n.slice().reverse(),r=r.slice().reverse());++a<e;)u[a]=N(n[a],n[a+1]),f[a]=t(r[a],r[a+1]);return function(o){var c=x(n,o,1,e)-1;return f[c](u[c](o))}}function en(n,r){return r.domain(n.domain()).range(n.range()).interpolate(n.interpolate()).clamp(n.clamp()).unknown(n.unknown())}function tn(){var n=A,r=A,t=d,e,u,f,a=m,o,c,i;function h(){var s=Math.min(n.length,r.length);return a!==m&&(a=b(n[0],n[s-1])),o=s>2?rn:nn,c=i=null,l}function l(s){return s==null||isNaN(s=+s)?f:(c||(c=o(n.map(e),r,t)))(e(a(s)))}return l.invert=function(s){return a(u((i||(i=o(r,n.map(e),p)))(s)))},l.domain=function(s){return arguments.length?(n=Array.from(s,_),h()):n.slice()},l.range=function(s){return arguments.length?(r=Array.from(s),h()):r.slice()},l.rangeRound=function(s){return r=Array.from(s),t=U,h()},l.clamp=function(s){return arguments.length?(a=s?!0:m,h()):a!==m},l.interpolate=function(s){return arguments.length?(t=s,h()):t},l.unknown=function(s){return arguments.length?(f=s,l):f},function(s,S){return e=s,u=S,h()}}function un(){return tn()(m,m)}function an(n,r,t,e){var u=G(n,r,t),f;switch(e=F(e??",f"),e.type){case"s":{var a=Math.max(Math.abs(n),Math.abs(r));return e.precision==null&&!isNaN(f=X(u,a))&&(e.precision=f),z(e,a)}case"":case"e":case"g":case"p":case"r":{e.precision==null&&!isNaN(f=Y(u,Math.max(Math.abs(n),Math.abs(r))))&&(e.precision=f-(e.type==="e"));break}case"f":case"%":{e.precision==null&&!isNaN(f=W(u))&&(e.precision=f-(e.type==="%")*2);break}}return B(e)}function on(n){var r=n.domain;return n.ticks=function(t){var e=r();return E(e[0],e[e.length-1],t??10)},n.tickFormat=function(t,e){var u=r();return an(u[0],u[u.length-1],t??10,e)},n.nice=function(t){t==null&&(t=10);var e=r(),u=0,f=e.length-1,a=e[u],o=e[f],c,i,h=10;for(o<a&&(i=a,a=o,o=i,i=u,u=f,f=i);h-- >0;){if(i=y(a,o,t),i===c)return e[u]=a,e[f]=o,r(e);if(i>0)a=Math.floor(a/i)*i,o=Math.ceil(o/i)*i;else if(i<0)a=Math.ceil(a*i)/i,o=Math.floor(o*i)/i;else break;c=i}return n},n}function fn(){var n=un();return n.copy=function(){return en(n,fn())},D.apply(n,arguments),on(n)}export{en as a,R as b,un as c,fn as l,G as t};
1
+ import{b7 as j,b8 as p,b9 as w,ba as k,bb as q}from"./mermaid.core-CpkB2-G5.js";import{i as D}from"./init-Gi6I4Gst.js";import{e as g,f as F,a as z,b as B}from"./defaultLocale-DX6XiGOO.js";function M(n,r){return n==null||r==null?NaN:n<r?-1:n>r?1:n>=r?0:NaN}function I(n,r){return n==null||r==null?NaN:r<n?-1:r>n?1:r>=n?0:NaN}function R(n){let r,t,e;n.length!==2?(r=M,t=(o,c)=>M(n(o),c),e=(o,c)=>n(o)-c):(r=n===M||n===I?n:P,t=n,e=n);function u(o,c,i=0,h=o.length){if(i<h){if(r(c,c)!==0)return h;do{const l=i+h>>>1;t(o[l],c)<0?i=l+1:h=l}while(i<h)}return i}function f(o,c,i=0,h=o.length){if(i<h){if(r(c,c)!==0)return h;do{const l=i+h>>>1;t(o[l],c)<=0?i=l+1:h=l}while(i<h)}return i}function a(o,c,i=0,h=o.length){const l=u(o,c,i,h-1);return l>i&&e(o[l-1],c)>-e(o[l],c)?l-1:l}return{left:u,center:a,right:f}}function P(){return 0}function V(n){return n===null?NaN:+n}const $=R(M),x=$.right;R(V).center;const O=Math.sqrt(50),T=Math.sqrt(10),C=Math.sqrt(2);function v(n,r,t){const e=(r-n)/Math.max(0,t),u=Math.floor(Math.log10(e)),f=e/Math.pow(10,u),a=f>=O?10:f>=T?5:f>=C?2:1;let o,c,i;return u<0?(i=Math.pow(10,-u)/a,o=Math.round(n*i),c=Math.round(r*i),o/i<n&&++o,c/i>r&&--c,i=-i):(i=Math.pow(10,u)*a,o=Math.round(n/i),c=Math.round(r/i),o*i<n&&++o,c*i>r&&--c),c<o&&.5<=t&&t<2?v(n,r,t*2):[o,c,i]}function E(n,r,t){if(r=+r,n=+n,t=+t,!(t>0))return[];if(n===r)return[n];const e=r<n,[u,f,a]=e?v(r,n,t):v(n,r,t);if(!(f>=u))return[];const o=f-u+1,c=new Array(o);if(e)if(a<0)for(let i=0;i<o;++i)c[i]=(f-i)/-a;else for(let i=0;i<o;++i)c[i]=(f-i)*a;else if(a<0)for(let i=0;i<o;++i)c[i]=(u+i)/-a;else for(let i=0;i<o;++i)c[i]=(u+i)*a;return c}function y(n,r,t){return r=+r,n=+n,t=+t,v(n,r,t)[2]}function G(n,r,t){r=+r,n=+n,t=+t;const e=r<n,u=e?y(r,n,t):y(n,r,t);return(e?-1:1)*(u<0?1/-u:u)}function H(n,r){r||(r=[]);var t=n?Math.min(r.length,n.length):0,e=r.slice(),u;return function(f){for(u=0;u<t;++u)e[u]=n[u]*(1-f)+r[u]*f;return e}}function J(n){return ArrayBuffer.isView(n)&&!(n instanceof DataView)}function K(n,r){var t=r?r.length:0,e=n?Math.min(t,n.length):0,u=new Array(e),f=new Array(t),a;for(a=0;a<e;++a)u[a]=d(n[a],r[a]);for(;a<t;++a)f[a]=r[a];return function(o){for(a=0;a<e;++a)f[a]=u[a](o);return f}}function L(n,r){var t=new Date;return n=+n,r=+r,function(e){return t.setTime(n*(1-e)+r*e),t}}function Q(n,r){var t={},e={},u;(n===null||typeof n!="object")&&(n={}),(r===null||typeof r!="object")&&(r={});for(u in r)u in n?t[u]=d(n[u],r[u]):e[u]=r[u];return function(f){for(u in t)e[u]=t[u](f);return e}}function d(n,r){var t=typeof r,e;return r==null||t==="boolean"?j(r):(t==="number"?p:t==="string"?(e=w(r))?(r=e,k):q:r instanceof w?k:r instanceof Date?L:J(r)?H:Array.isArray(r)?K:typeof r.valueOf!="function"&&typeof r.toString!="function"||isNaN(r)?Q:p)(n,r)}function U(n,r){return n=+n,r=+r,function(t){return Math.round(n*(1-t)+r*t)}}function W(n){return Math.max(0,-g(Math.abs(n)))}function X(n,r){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(g(r)/3)))*3-g(Math.abs(n)))}function Y(n,r){return n=Math.abs(n),r=Math.abs(r)-n,Math.max(0,g(r)-g(n))+1}function Z(n){return function(){return n}}function _(n){return+n}var A=[0,1];function m(n){return n}function N(n,r){return(r-=n=+n)?function(t){return(t-n)/r}:Z(isNaN(r)?NaN:.5)}function b(n,r){var t;return n>r&&(t=n,n=r,r=t),function(e){return Math.max(n,Math.min(r,e))}}function nn(n,r,t){var e=n[0],u=n[1],f=r[0],a=r[1];return u<e?(e=N(u,e),f=t(a,f)):(e=N(e,u),f=t(f,a)),function(o){return f(e(o))}}function rn(n,r,t){var e=Math.min(n.length,r.length)-1,u=new Array(e),f=new Array(e),a=-1;for(n[e]<n[0]&&(n=n.slice().reverse(),r=r.slice().reverse());++a<e;)u[a]=N(n[a],n[a+1]),f[a]=t(r[a],r[a+1]);return function(o){var c=x(n,o,1,e)-1;return f[c](u[c](o))}}function en(n,r){return r.domain(n.domain()).range(n.range()).interpolate(n.interpolate()).clamp(n.clamp()).unknown(n.unknown())}function tn(){var n=A,r=A,t=d,e,u,f,a=m,o,c,i;function h(){var s=Math.min(n.length,r.length);return a!==m&&(a=b(n[0],n[s-1])),o=s>2?rn:nn,c=i=null,l}function l(s){return s==null||isNaN(s=+s)?f:(c||(c=o(n.map(e),r,t)))(e(a(s)))}return l.invert=function(s){return a(u((i||(i=o(r,n.map(e),p)))(s)))},l.domain=function(s){return arguments.length?(n=Array.from(s,_),h()):n.slice()},l.range=function(s){return arguments.length?(r=Array.from(s),h()):r.slice()},l.rangeRound=function(s){return r=Array.from(s),t=U,h()},l.clamp=function(s){return arguments.length?(a=s?!0:m,h()):a!==m},l.interpolate=function(s){return arguments.length?(t=s,h()):t},l.unknown=function(s){return arguments.length?(f=s,l):f},function(s,S){return e=s,u=S,h()}}function un(){return tn()(m,m)}function an(n,r,t,e){var u=G(n,r,t),f;switch(e=F(e??",f"),e.type){case"s":{var a=Math.max(Math.abs(n),Math.abs(r));return e.precision==null&&!isNaN(f=X(u,a))&&(e.precision=f),z(e,a)}case"":case"e":case"g":case"p":case"r":{e.precision==null&&!isNaN(f=Y(u,Math.max(Math.abs(n),Math.abs(r))))&&(e.precision=f-(e.type==="e"));break}case"f":case"%":{e.precision==null&&!isNaN(f=W(u))&&(e.precision=f-(e.type==="%")*2);break}}return B(e)}function on(n){var r=n.domain;return n.ticks=function(t){var e=r();return E(e[0],e[e.length-1],t??10)},n.tickFormat=function(t,e){var u=r();return an(u[0],u[u.length-1],t??10,e)},n.nice=function(t){t==null&&(t=10);var e=r(),u=0,f=e.length-1,a=e[u],o=e[f],c,i,h=10;for(o<a&&(i=a,a=o,o=i,i=u,u=f,f=i);h-- >0;){if(i=y(a,o,t),i===c)return e[u]=a,e[f]=o,r(e);if(i>0)a=Math.floor(a/i)*i,o=Math.ceil(o/i)*i;else if(i<0)a=Math.ceil(a*i)/i,o=Math.floor(o*i)/i;else break;c=i}return n},n}function fn(){var n=un();return n.copy=function(){return en(n,fn())},D.apply(n,arguments),on(n)}export{en as a,R as b,un as c,fn as l,G as t};
@@ -1 +1 @@
1
- import{c as s}from"./mobile-dialog-return-service-Bg2LBZi3.js";function i(r,n,e=window.location){const t=new URLSearchParams(e.search);return Object.fromEntries(n.flatMap(a=>{const o=t.get(`${r}.${a}`);return o===null||o===""?[]:[[a,o]]}))}function l(r,n){const e=new URL(window.location.href);for(const t of Object.keys(n)){const a=n[t];a===void 0||a===""?e.searchParams.delete(`${r}.${t}`):e.searchParams.set(`${r}.${t}`,String(a))}window.history.replaceState(window.history.state,"",`${e.pathname}${e.search}${e.hash}`),s()}export{i as m,l as r};
1
+ import{c as s}from"./mobile-dialog-return-service-B05lwAuG.js";function i(r,n,e=window.location){const t=new URLSearchParams(e.search);return Object.fromEntries(n.flatMap(a=>{const o=t.get(`${r}.${a}`);return o===null||o===""?[]:[[a,o]]}))}function l(r,n){const e=new URL(window.location.href);for(const t of Object.keys(n)){const a=n[t];a===void 0||a===""?e.searchParams.delete(`${r}.${t}`):e.searchParams.set(`${r}.${t}`,String(a))}window.history.replaceState(window.history.state,"",`${e.pathname}${e.search}${e.hash}`),s()}export{i as m,l as r};
@@ -1 +1 @@
1
- import{c as I,r as O}from"./catalog-page-service-Co_SnlgM.js";import{k as w,f as g}from"./index-BQl91EUk.js";function T(c){const r=I(c,"/api/mcp-catalog","entries"),C=r.items,i=g([]);let o=0;const s=g(),l=g(!1),S=w(()=>{const e=new Map(i.value.map(a=>[a.id,a]));return(s.value?.installations??[]).filter(a=>a.enabled).map(a=>{const n=e.get(a.catalogEntryId);return{...a,description:n?.version===a.version?n.description:void 0}})});async function h(){await r.refresh()}async function p(e,a){if(e!==o)return;s.value=a,i.value=[];const n=await O(c,"/api/mcp-catalog","entries",a.installations.map(t=>t.catalogEntryId),[]);e===o&&(s.value=a,i.value=n)}function v(){o++,s.value=void 0,i.value=[]}function u(e,a,n){return e==="NODE"?`/api/nodes/${encodeURIComponent(a)}/mcps`:`/api/workspaces/${encodeURIComponent(n)}/mcps?${new URLSearchParams({nodeId:a})}`}async function y(e,a,n){v();const t=++o;await p(t,await c(u(e,a,n)))}async function E(e,a){await y("WORKSPACE",e,a)}async function P(e,a,n,t,f=!0){const d=++o,m=await c(u(e,a,n),{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify({catalogEntryId:t,enabled:f,configuration:{}})});await p(d,m)}async function R(e,a,n,t){const f=`${u(e,a,n).split("?")[0]}/${encodeURIComponent(t)}`,d=e==="WORKSPACE"?`?${new URLSearchParams({nodeId:a})}`:"",m=++o;await p(m,await c(`${f}${d}`,{method:"DELETE"}))}async function $(e){l.value=!0;try{await e()}finally{l.value=!1}}return{catalog:C,installedCatalog:i,catalogPage:r,clearTarget:v,inspection:s,loadedInstallations:S,loading:w(()=>l.value||r.loading.value),loadCatalog:h,loadWorkspace:E,inspect:y,install:P,remove:R,run:$}}export{T as c};
1
+ import{c as I,r as O}from"./catalog-page-service-B54h6Yts.js";import{k as w,f as g}from"./index-HcLGmFz6.js";function T(c){const r=I(c,"/api/mcp-catalog","entries"),C=r.items,i=g([]);let o=0;const s=g(),l=g(!1),S=w(()=>{const e=new Map(i.value.map(a=>[a.id,a]));return(s.value?.installations??[]).filter(a=>a.enabled).map(a=>{const n=e.get(a.catalogEntryId);return{...a,description:n?.version===a.version?n.description:void 0}})});async function h(){await r.refresh()}async function p(e,a){if(e!==o)return;s.value=a,i.value=[];const n=await O(c,"/api/mcp-catalog","entries",a.installations.map(t=>t.catalogEntryId),[]);e===o&&(s.value=a,i.value=n)}function v(){o++,s.value=void 0,i.value=[]}function u(e,a,n){return e==="NODE"?`/api/nodes/${encodeURIComponent(a)}/mcps`:`/api/workspaces/${encodeURIComponent(n)}/mcps?${new URLSearchParams({nodeId:a})}`}async function y(e,a,n){v();const t=++o;await p(t,await c(u(e,a,n)))}async function E(e,a){await y("WORKSPACE",e,a)}async function P(e,a,n,t,f=!0){const d=++o,m=await c(u(e,a,n),{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify({catalogEntryId:t,enabled:f,configuration:{}})});await p(d,m)}async function R(e,a,n,t){const f=`${u(e,a,n).split("?")[0]}/${encodeURIComponent(t)}`,d=e==="WORKSPACE"?`?${new URLSearchParams({nodeId:a})}`:"",m=++o;await p(m,await c(`${f}${d}`,{method:"DELETE"}))}async function $(e){l.value=!0;try{await e()}finally{l.value=!1}}return{catalog:C,installedCatalog:i,catalogPage:r,clearTarget:v,inspection:s,loadedInstallations:S,loading:w(()=>l.value||r.loading.value),loadCatalog:h,loadWorkspace:E,inspect:y,install:P,remove:R,run:$}}export{T as c};
@@ -1 +1 @@
1
- import{bA as h,b3 as M,bH as C,bI as y,bJ as L,bK as P,bL as F,bG as g,bM as G,bN as o,bO as q,by as w,bP as x}from"./index-BQl91EUk.js";import{b as D}from"./_baseIteratee-BLtWZfy-.js";import{b as E,i as H,a as J,c as K}from"./isArrayLikeObject-CxfHIq3H.js";import{g as N,k as I,h as R,i as S,j as T,l as V}from"./mobile-dialog-return-service-Bg2LBZi3.js";function B(n,e,a){if(!h(a))return!1;var s=typeof e;return(s=="number"?M(a)&&C(e,a.length):s=="string"&&e in a)?y(a[e],n):!1}function Q(n){return E(function(e,a){var s=-1,r=a.length,f=r>1?a[r-1]:void 0,t=r>2?a[2]:void 0;for(f=n.length>3&&typeof f=="function"?(r--,f):void 0,t&&B(a[0],a[1],t)&&(f=r<3?void 0:f,r=1),e=Object(e);++s<r;){var i=a[s];i&&n(e,i,s,f)}return e})}function m(n,e,a){(a!==void 0&&!y(n[e],a)||a===void 0&&!(e in n))&&L(n,e,a)}function A(n,e){if(!(e==="constructor"&&typeof n[e]=="function")&&e!="__proto__")return n[e]}function U(n){return N(n,I(n))}function W(n,e,a,s,r,f,t){var i=A(n,a),u=A(e,a),O=t.get(u);if(O){m(n,a,O);return}var d=f?f(i,u,a+"",n,e,t):void 0,l=d===void 0;if(l){var p=g(u),b=!p&&P(u),v=!p&&!b&&F(u);d=u,p||b||v?g(i)?d=i:H(i)?d=R(i):b?(l=!1,d=S(u,!0)):v?(l=!1,d=T(u,!0)):d=[]:G(u)||o(u)?(d=i,o(i)?d=U(i):(!h(i)||q(i))&&(d=V(u))):l=!1}l&&(t.set(u,d),r(d,u,s,f,t),t.delete(u)),m(n,a,d)}function _(n,e,a,s,r){n!==e&&J(e,function(f,t){if(r||(r=new w),h(f))W(n,e,t,a,_,s,r);else{var i=s?s(A(n,t),f,t+"",n,e,r):void 0;i===void 0&&(i=f),m(n,t,i)}},I)}function X(n,e){var a=-1,s=M(n)?Array(n.length):[];return K(n,function(r,f,t){s[++a]=e(r,f,t)}),s}function j(n,e){var a=g(n)?x:X;return a(n,D(e))}var c=Q(function(n,e,a){_(n,e,a)});export{c as a,X as b,B as i,j as m};
1
+ import{bA as h,b3 as M,bH as C,bI as y,bJ as L,bK as P,bL as F,bG as g,bM as G,bN as o,bO as q,by as w,bP as x}from"./index-HcLGmFz6.js";import{b as D}from"./_baseIteratee-D6vE6jHm.js";import{b as E,i as H,a as J,c as K}from"./isArrayLikeObject-ZvOzSYjq.js";import{g as N,k as I,h as R,i as S,j as T,l as V}from"./mobile-dialog-return-service-B05lwAuG.js";function B(n,e,a){if(!h(a))return!1;var s=typeof e;return(s=="number"?M(a)&&C(e,a.length):s=="string"&&e in a)?y(a[e],n):!1}function Q(n){return E(function(e,a){var s=-1,r=a.length,f=r>1?a[r-1]:void 0,t=r>2?a[2]:void 0;for(f=n.length>3&&typeof f=="function"?(r--,f):void 0,t&&B(a[0],a[1],t)&&(f=r<3?void 0:f,r=1),e=Object(e);++s<r;){var i=a[s];i&&n(e,i,s,f)}return e})}function m(n,e,a){(a!==void 0&&!y(n[e],a)||a===void 0&&!(e in n))&&L(n,e,a)}function A(n,e){if(!(e==="constructor"&&typeof n[e]=="function")&&e!="__proto__")return n[e]}function U(n){return N(n,I(n))}function W(n,e,a,s,r,f,t){var i=A(n,a),u=A(e,a),O=t.get(u);if(O){m(n,a,O);return}var d=f?f(i,u,a+"",n,e,t):void 0,l=d===void 0;if(l){var p=g(u),b=!p&&P(u),v=!p&&!b&&F(u);d=u,p||b||v?g(i)?d=i:H(i)?d=R(i):b?(l=!1,d=S(u,!0)):v?(l=!1,d=T(u,!0)):d=[]:G(u)||o(u)?(d=i,o(i)?d=U(i):(!h(i)||q(i))&&(d=V(u))):l=!1}l&&(t.set(u,d),r(d,u,s,f,t),t.delete(u)),m(n,a,d)}function _(n,e,a,s,r){n!==e&&J(e,function(f,t){if(r||(r=new w),h(f))W(n,e,t,a,_,s,r);else{var i=s?s(A(n,t),f,t+"",n,e,r):void 0;i===void 0&&(i=f),m(n,t,i)}},I)}function X(n,e){var a=-1,s=M(n)?Array(n.length):[];return K(n,function(r,f,t){s[++a]=e(r,f,t)}),s}function j(n,e){var a=g(n)?x:X;return a(n,D(e))}var c=Q(function(n,e,a){_(n,e,a)});export{c as a,X as b,B as i,j as m};