@myagentroam/server 0.15.44 → 0.15.46

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 (344) hide show
  1. package/node_modules/@myagentroam/protocol/dist/index.d.ts +68 -0
  2. package/node_modules/@myagentroam/protocol/dist/index.js +9 -0
  3. package/node_modules/@myagentroam/protocol/package.json +1 -1
  4. package/node_modules/@myagentroam/server-core/dist/workspace-routes.js +7 -1
  5. package/node_modules/@myagentroam/server-core/package.json +2 -2
  6. package/node_modules/@myagentroam-enterprise/server-implementation/package.json +3 -3
  7. package/package.json +5 -5
  8. package/web/assets/{AuditManagementPage-C9B784mH.js → AuditManagementPage-2_RJn5nv.js} +1 -1
  9. package/web/assets/{AuthEntryPanel-0QKBEQ3X.js → AuthEntryPanel-CMX5P7jl.js} +1 -1
  10. package/web/assets/{CodeFileEditor-BlhVcldI.js → CodeFileEditor-BRyAXCNM.js} +3 -3
  11. package/web/assets/{ConversationTemplateManagementPage-Dva-X42m.js → ConversationTemplateManagementPage-CZoeqZzU.js} +1 -1
  12. package/web/assets/{ConversationTemplateManagementPage-DtUB2Qqo.js → ConversationTemplateManagementPage-gHKdpaaW.js} +1 -1
  13. package/web/assets/{DocxPreview-kx0uDtd_.js → DocxPreview-8-rAbVyb.js} +3 -3
  14. package/web/assets/{EnterpriseUserManagementPage-DQJsWQWd.js → EnterpriseUserManagementPage-Dhl7ZmgA.js} +1 -1
  15. package/web/assets/{EnvironmentSecretManager-CIBIEVjj.js → EnvironmentSecretManager-X8bNLqW-.js} +1 -1
  16. package/web/assets/{FilePreviewState-BHQXkRlO.js → FilePreviewState-ASdBnk4V.js} +1 -1
  17. package/web/assets/{ImagePreview-PozcEnWs.js → ImagePreview-Bb0Mt39z.js} +1 -1
  18. package/web/assets/{ImagePreviewViewport-tlGbzkEs.js → ImagePreviewViewport-B5NgIxW3.js} +1 -1
  19. package/web/assets/{LicenseManagementPage-CFUV6B1v.js → LicenseManagementPage-BnSAQkiQ.js} +1 -1
  20. package/web/assets/{ManagementPagination-WP-t9_7w.js → ManagementPagination-CvBI3rNh.js} +1 -1
  21. package/web/assets/{MarAgentModelManagementPage-PNqS1Xsx.js → MarAgentModelManagementPage-CEqKgASO.js} +1 -1
  22. package/web/assets/{MarAgentModelManagementPage-C-Li1iIq.js → MarAgentModelManagementPage-mSwqa4Ix.js} +1 -1
  23. package/web/assets/{MarAlert-fuPcjOWM.js → MarAlert-DY3GjUsp.js} +1 -1
  24. package/web/assets/{MarCascader-DT8qtjBx.js → MarCascader-T9mKstdX.js} +1 -1
  25. package/web/assets/{MarCheckTag-CCjYGI84.js → MarCheckTag-CeLTQ2Vd.js} +1 -1
  26. package/web/assets/{MarCheckboxGroup-DrF1dVVW.js → MarCheckboxGroup-Bi8oaWQQ.js} +1 -1
  27. package/web/assets/{MarCheckboxGroup.vue_vue_type_style_index_0_scoped_3769668f_lang-C-0ysGkO.js → MarCheckboxGroup.vue_vue_type_style_index_0_scoped_3769668f_lang-DnBHiBj1.js} +1 -1
  28. package/web/assets/{MarDatePicker-ChSFh8-f.js → MarDatePicker-DL79BlY1.js} +1 -1
  29. package/web/assets/{MarDescriptionsItem-DdL3JX9i.js → MarDescriptionsItem-O5YLMzhA.js} +1 -1
  30. package/web/assets/{MarFormItem.vue_vue_type_script_setup_true_lang-O5FcmJT6.js → MarFormItem.vue_vue_type_script_setup_true_lang-dYLsUb3t.js} +1 -1
  31. package/web/assets/{MarInputNumber-B_ccAm2C.js → MarInputNumber-DyJXSGnJ.js} +1 -1
  32. package/web/assets/{MarOptionGroup.vue_vue_type_style_index_0_scoped_0cdd846e_lang-ByNEA89o.js → MarOptionGroup.vue_vue_type_style_index_0_scoped_0cdd846e_lang-Dukft-67.js} +1 -1
  33. package/web/assets/{MarSwitch-C3avVJfr.js → MarSwitch-BCeyVteL.js} +1 -1
  34. package/web/assets/{MarTableColumn.vue_vue_type_script_setup_true_lang-DadB7ZPp.js → MarTableColumn.vue_vue_type_script_setup_true_lang-ZCaQq6hH.js} +1 -1
  35. package/web/assets/{MarTabs-DyegKLNm.js → MarTabs-B30WxtVa.js} +1 -1
  36. package/web/assets/{MarTag-DmC3lZsZ.js → MarTag-KsBo-p67.js} +1 -1
  37. package/web/assets/MarkdownFilePreview-DrrZejJe.js +1 -0
  38. package/web/assets/{MarkdownFilePreview.vue_vue_type_script_setup_true_lang-BElodgaF.js → MarkdownFilePreview.vue_vue_type_script_setup_true_lang-DN2q6w4c.js} +1 -1
  39. package/web/assets/{MarkdownPreview-ByJbm3gd.js → MarkdownPreview-Bv0fqc36.js} +2 -2
  40. package/web/assets/{McpDetailsDialog-CeWTQZgU.js → McpDetailsDialog-yH4qohwn.js} +1 -1
  41. package/web/assets/{McpSourceManagementPage-B_yKPllV.js → McpSourceManagementPage-CtWa23vy.js} +1 -1
  42. package/web/assets/{McpSourceManagementPage-DrOr6q_f.js → McpSourceManagementPage-DhHiNtsj.js} +1 -1
  43. package/web/assets/{MediaPreview-Dm06U6Tp.js → MediaPreview-Dn9BQiqe.js} +1 -1
  44. package/web/assets/{NodeDetailsDialogs-Cv0dD1Ip.js → NodeDetailsDialogs-Dvuq39J-.js} +1 -1
  45. package/web/assets/NodeManagementPage-BGkOwpL3.js +1 -0
  46. package/web/assets/NodeManagementPage-COCTSqM4.js +1 -0
  47. package/web/assets/{OAuthManagementPage-CEDkhNHG.js → OAuthManagementPage-BVm1_xdd.js} +1 -1
  48. package/web/assets/{OrganizationManagementPage-DZNqNPV9.js → OrganizationManagementPage-wE_qLMSi.js} +1 -1
  49. package/web/assets/{PdfPreview-DG6ZRUCJ.js → PdfPreview-3I0M19hm.js} +1 -1
  50. package/web/assets/{PptxPreview-C2KLFnDK.js → PptxPreview-BVbRS46r.js} +1 -1
  51. package/web/assets/{RemoteDesktopPage-BsH8M3HG.js → RemoteDesktopPage-CCNrkK--.js} +1 -1
  52. package/web/assets/{ResourceManagementPanel-CHaXtSME.js → ResourceManagementPanel-Zs5Ik0kH.js} +1 -1
  53. package/web/assets/{ResourceManagementPanel.vue_vue_type_script_setup_true_lang-Dt4u-4qT.js → ResourceManagementPanel.vue_vue_type_script_setup_true_lang-DUQPlXC6.js} +1 -1
  54. package/web/assets/SecretManagementPage-BUCDwCC4.js +1 -0
  55. package/web/assets/{SecretManagementPage-CJB3Cnit.js → SecretManagementPage-BuTZvL_x.js} +1 -1
  56. package/web/assets/{SecretManagementPage.vue_vue_type_script_setup_true_lang-CT1N6UnM.js → SecretManagementPage.vue_vue_type_script_setup_true_lang-BsQSoEzL.js} +1 -1
  57. package/web/assets/{SessionSharePage-CLVqr7TL.js → SessionSharePage-DxVoIUlF.js} +2 -2
  58. package/web/assets/{SettingsContent-Bg7zs8Vk.js → SettingsContent-BSY90lPw.js} +1 -1
  59. package/web/assets/{SettingsContent-Ten3lICz.js → SettingsContent-CRVS99y1.js} +1 -1
  60. package/web/assets/{SkillCenterPage-Cg0s0i8J.js → SkillCenterPage-Bv2Syrf3.js} +1 -1
  61. package/web/assets/SkillCenterPage-_t8mVJdK.js +1 -0
  62. package/web/assets/{SkillDetailsDialog-CU02Gyq5.js → SkillDetailsDialog-D_BXy-aS.js} +1 -1
  63. package/web/assets/{SkillSourceManagementPage-CqWZzDYG.js → SkillSourceManagementPage-CW47f9SW.js} +1 -1
  64. package/web/assets/{SkillSourceManagementPage-CTxN7Xl2.js → SkillSourceManagementPage-D9gDv3jX.js} +1 -1
  65. package/web/assets/{StandaloneFilePreviewPage-kKF5dTvq.js → StandaloneFilePreviewPage-Dtbr06G9.js} +1 -1
  66. package/web/assets/{SystemConfigurationPage-DR2W1-CZ.js → SystemConfigurationPage-B75fswJv.js} +1 -1
  67. package/web/assets/{SystemConfigurationPage-PStlVF91.js → SystemConfigurationPage-DFgqLH3o.js} +1 -1
  68. package/web/assets/{SystemInformationPage-DFXX6yCJ.js → SystemInformationPage-gdk77v3t.js} +1 -1
  69. package/web/assets/{TerminalTabView-DNghGySb.js → TerminalTabView-nKXqmcu9.js} +1 -1
  70. package/web/assets/{UTIF-BcjTrQNm.js → UTIF-DR0JNfGl.js} +1 -1
  71. package/web/assets/WorkbenchPage-CdYJ6ERn.js +22 -0
  72. package/web/assets/WorkbenchPage-DCr0ABYs.css +1 -0
  73. package/web/assets/WorkspaceManagementPage-BhGXtTnW.js +1 -0
  74. package/web/assets/WorkspaceManagementPage-CAA47J9V.js +1 -0
  75. package/web/assets/{XlsxPreview-CIOg0E_u.js → XlsxPreview-Ble_-Axy.js} +2 -2
  76. package/web/assets/{abnfDiagram-VCTEODGH-BP9fcST1.js → abnfDiagram-VCTEODGH-CTH3vTcx.js} +1 -1
  77. package/web/assets/{architectureDiagram-5GKGNRK7-DyaibpVV.js → architectureDiagram-5GKGNRK7-AX0X2aHB.js} +1 -1
  78. package/web/assets/{blockDiagram-OSKFZWR5-Dp78NPD-.js → blockDiagram-OSKFZWR5-DyB0_2lI.js} +1 -1
  79. package/web/assets/{c4Diagram-7LVT6UL2-BP8cgiEh.js → c4Diagram-7LVT6UL2-D18_0Qda.js} +1 -1
  80. package/web/assets/{catalog-ownership-service-BfY67XRL.js → catalog-ownership-service-4CnUfvdp.js} +1 -1
  81. package/web/assets/{catalog-page-service-MJ_Bc6N5.js → catalog-page-service-GxtiPwdj.js} +1 -1
  82. package/web/assets/channel-Cz_JYG3c.js +1 -0
  83. package/web/assets/{chunk-2Q5K7J3B-BA1gceo_.js → chunk-2Q5K7J3B-Dk4FMNPb.js} +1 -1
  84. package/web/assets/{chunk-5VM5RSS4-BrnwF9V2.js → chunk-5VM5RSS4-BR4qB8Co.js} +1 -1
  85. package/web/assets/{chunk-F27PBJKO-kGfkF2jg.js → chunk-F27PBJKO-DpJy04h4.js} +1 -1
  86. package/web/assets/{chunk-HLEWEB6X-WwoxfqI9.js → chunk-HLEWEB6X-YwdVg8yR.js} +1 -1
  87. package/web/assets/{chunk-JWPE2WC7-UFlypnMO.js → chunk-JWPE2WC7-VJK4bdeK.js} +1 -1
  88. package/web/assets/{chunk-POPQ4Y6H-M0jDylPC.js → chunk-POPQ4Y6H-D6qHp1dw.js} +1 -1
  89. package/web/assets/{chunk-SVP7TREG-C56fkRrS.js → chunk-SVP7TREG-By8Lt_ht.js} +1 -1
  90. package/web/assets/{chunk-XXDRQBXY-DWnrROmX.js → chunk-XXDRQBXY-FC8vhvOS.js} +1 -1
  91. package/web/assets/{chunk-ZLD2IHE6-CYehIDAa.js → chunk-ZLD2IHE6-fqCA64hz.js} +1 -1
  92. package/web/assets/classDiagram-CYGNFDIV-DCuTReSD.js +1 -0
  93. package/web/assets/classDiagram-v2-TLXNO2FR-DCuTReSD.js +1 -0
  94. package/web/assets/{conversation-history-CX0ltvD6.js → conversation-history-BFKg1h1q.js} +1 -1
  95. package/web/assets/{cose-bilkent-JH36ORCC-BIfmxtJs.js → cose-bilkent-JH36ORCC-DzNpAbsh.js} +1 -1
  96. package/web/assets/{cynefin-OW5HDTMX-KTinRx-j.js → cynefin-OW5HDTMX-D5RMeItq.js} +1 -1
  97. package/web/assets/{cynefinDiagram-5FMLGOSQ-CtVskHY0.js → cynefinDiagram-5FMLGOSQ-h9EB-zm_.js} +1 -1
  98. package/web/assets/{dagre-OS7QT2EB-BKVaQKZd.js → dagre-OS7QT2EB-A9OVCbtu.js} +1 -1
  99. package/web/assets/{diagram-S7CK7UJ4-BGzAJm_Y.js → diagram-S7CK7UJ4-DpKFkiTL.js} +1 -1
  100. package/web/assets/{diagram-UQ7AKVKN-CzSoPsAT.js → diagram-UQ7AKVKN-Dq7mlA0K.js} +1 -1
  101. package/web/assets/{diagram-VSXAHHWV-akJ8ZLro.js → diagram-VSXAHHWV-CCRQNCsh.js} +1 -1
  102. package/web/assets/{diagram-VX7I27RA-CTa33XkE.js → diagram-VX7I27RA-9_My2gNC.js} +1 -1
  103. package/web/assets/{diagram-Z3DM3KII-Ci4HXWqM.js → diagram-Z3DM3KII-AvtaBQDF.js} +1 -1
  104. package/web/assets/{docx-preview-DjjDgZLp.js → docx-preview-DtHoMrnC.js} +1 -1
  105. package/web/assets/{ebnfDiagram-PWID7BFC-BMHLglt2.js → ebnfDiagram-PWID7BFC-DUGO0jxK.js} +1 -1
  106. package/web/assets/{enterprise-management-service-DZ92h9Z3.js → enterprise-management-service-B0HEu2bn.js} +1 -1
  107. package/web/assets/{erDiagram-2YWLMYGG-BLglK-ep.js → erDiagram-2YWLMYGG-CE5C9-Vc.js} +1 -1
  108. package/web/assets/{error-presentation-C0duzTDF.js → error-presentation-A_bCl6I6.js} +1 -1
  109. package/web/assets/{flowDiagram-T62WH6J4-kWQyza0B.js → flowDiagram-T62WH6J4-BO2_bVRq.js} +1 -1
  110. package/web/assets/{ganttDiagram-EL5Y4UJY-CRbOSIgO.js → ganttDiagram-EL5Y4UJY-D84K9zVw.js} +1 -1
  111. package/web/assets/{gitGraphDiagram-WWUBYQGX-CdAzoLuh.js → gitGraphDiagram-WWUBYQGX-DljpZOgq.js} +1 -1
  112. package/web/assets/{hosted-conversation-template-client-CfDFefG0.js → hosted-conversation-template-client-D52fWH0z.js} +1 -1
  113. package/web/assets/{image-C65Tqy-O.js → image-DmcuXis3.js} +1 -1
  114. package/web/assets/{index-CqTpLShX.js → index-Bgf6Jgum.js} +1 -1
  115. package/web/assets/{index-BuAc_x_k.js → index-BnjrQ5ZL.js} +1 -1
  116. package/web/assets/{index-D57FbpXY.js → index-BxSzPRaC.js} +1 -1
  117. package/web/assets/{index-CRSqQjLR.js → index-C152Ccas.js} +13 -13
  118. package/web/assets/{index-BnRwM7qe.js → index-C1Kbjwme.js} +1 -1
  119. package/web/assets/{index-BPBOoZIt.js → index-C7zzM8Qp.js} +1 -1
  120. package/web/assets/{index-DaM9OGQl.js → index-CBjPcG-U.js} +1 -1
  121. package/web/assets/{index-DbHX13m1.js → index-CNdLCZlU.js} +1 -1
  122. package/web/assets/{index-DnNmD8k8.js → index-CR7fEnfj.js} +1 -1
  123. package/web/assets/{index-BoQj6MKq.js → index-CVN2vMDW.js} +1 -1
  124. package/web/assets/{index-B8jX1wAI.js → index-Cez53olj.js} +1 -1
  125. package/web/assets/{index-C9aIXsOi.js → index-Cn40mgJM.js} +1 -1
  126. package/web/assets/{index-DbphdjVa.js → index-CsGyEfcq.js} +1 -1
  127. package/web/assets/{index-DPd_MEcb.js → index-CtK8m0BL.js} +1 -1
  128. package/web/assets/{index-N-RuZyax.js → index-Cy4xnX_o.js} +1 -1
  129. package/web/assets/{index-BSrXT_e7.js → index-CzP7Wo4g.js} +1 -1
  130. package/web/assets/{index-DaiFhczG.js → index-DNf9kp-4.js} +1 -1
  131. package/web/assets/{index-c0QM_ngj.js → index-DSyluuSb.js} +2 -2
  132. package/web/assets/{index-Dx6siFmI.js → index-DZ3aBv3x.js} +1 -1
  133. package/web/assets/{index-C77FAGKR.js → index-DmywVev4.js} +1 -1
  134. package/web/assets/{index-NRTpiixk.js → index-H-0FF6Xu.js} +1 -1
  135. package/web/assets/{index-Bkaf51h8.js → index-jboKUwoH.js} +1 -1
  136. package/web/assets/{index-CbLIUvg0.js → index-mavja777.js} +1 -1
  137. package/web/assets/{index-DkXWR9jA.js → index-nYM5iI9X.js} +1 -1
  138. package/web/assets/{index-CZPfh6dM.js → index-osc-N8OF.js} +1 -1
  139. package/web/assets/{infoDiagram-FKFFQAWI-CKrBx83-.js → infoDiagram-FKFFQAWI-BJCoWGY6.js} +1 -1
  140. package/web/assets/{ishikawaDiagram-5VMMS53U-BpIT-Mp0.js → ishikawaDiagram-5VMMS53U-Buw-0vi-.js} +1 -1
  141. package/web/assets/{journeyDiagram-EYS64GPL-J12Si-Yd.js → journeyDiagram-EYS64GPL-CzxRtRFV.js} +1 -1
  142. package/web/assets/{jszip.min-C1dVS2AM.js → jszip.min-BzaoBXcS.js} +1 -1
  143. package/web/assets/{kanban-definition-UXKFOSKX-y__QFCDf.js → kanban-definition-UXKFOSKX-DmasYXw3.js} +1 -1
  144. package/web/assets/{layout-Cld2oj7i.js → layout-BLNaQ5EU.js} +1 -1
  145. package/web/assets/{management-url-service-B5Aof33M.js → management-url-service-CE9mPo5l.js} +1 -1
  146. package/web/assets/{mar-agent-reasoning-effort-BRm9eBWP.js → mar-agent-reasoning-effort-C9f3Opjm.js} +1 -1
  147. package/web/assets/{mcp-center-service-yGGMFXCV.js → mcp-center-service-CCGkBMbK.js} +1 -1
  148. package/web/assets/{mermaid.core-MKNgFVg9.js → mermaid.core-LenSowoF.js} +5 -5
  149. package/web/assets/{mindmap-definition-THT77NOG-245aMw5P.js → mindmap-definition-THT77NOG-BEahFH7b.js} +1 -1
  150. package/web/assets/{mobile-dialog-return-service-BxkvDYgL.js → mobile-dialog-return-service-DJIo-xmh.js} +1 -1
  151. package/web/assets/{oauth-callback-lukjDpBd.js → oauth-callback-Cq5zkQqo.js} +1 -1
  152. package/web/assets/{parser-BbxUhQ5M.js → parser-D0upOYJ6.js} +1 -1
  153. package/web/assets/{pegDiagram-XKGWAZYB-DKUeajJH.js → pegDiagram-XKGWAZYB-CMRI7bz_.js} +1 -1
  154. package/web/assets/{pieDiagram-E7YTZNPT-DBZkZsmx.js → pieDiagram-E7YTZNPT-_K1EJbmI.js} +1 -1
  155. package/web/assets/{quadrantDiagram-AXDQQJYC-BftXWye7.js → quadrantDiagram-AXDQQJYC-vcD03O_4.js} +1 -1
  156. package/web/assets/{railroadDiagram-O6MQD6OU-S_cl6WOC.js → railroadDiagram-O6MQD6OU-oi_Nm9Qs.js} +1 -1
  157. package/web/assets/{requirementDiagram-IS5BZ75X-CZzj_q-Y.js → requirementDiagram-IS5BZ75X-BPOU9zQ3.js} +1 -1
  158. package/web/assets/{runner-presentation-B55JxurY.js → runner-presentation-COp66vvm.js} +1 -1
  159. package/web/assets/{sankeyDiagram-P5KCCOFB-d9ql46Yn.js → sankeyDiagram-P5KCCOFB-BPcWsI29.js} +1 -1
  160. package/web/assets/{scoped-http-service-Dhk_G8tT.js → scoped-http-service-CEXvz48p.js} +3 -3
  161. package/web/assets/{sequenceDiagram-WJ2MYXX4-3pgi6vN0.js → sequenceDiagram-WJ2MYXX4-DJ06qffS.js} +1 -1
  162. package/web/assets/{session-share-client-service-aJ9Pb1zw.js → session-share-client-service-CdrxsCDt.js} +1 -1
  163. package/web/assets/{sizeCapture-INFHLROL-BA3rDxXJ.js → sizeCapture-INFHLROL-DD-GwSXJ.js} +1 -1
  164. package/web/assets/{spreadsheet-xCJZxN_Q.js → spreadsheet-DzHWzlJK.js} +4 -4
  165. package/web/assets/{stateDiagram-XQSTLZYL-CebyKS8y.js → stateDiagram-XQSTLZYL-CjE1lMgZ.js} +1 -1
  166. package/web/assets/stateDiagram-v2-IH3M54BS-v9M_wp1l.js +1 -0
  167. package/web/assets/{swimlanes-V6O3JKXN-0aThWaqh.js → swimlanes-V6O3JKXN-B4OC_Z5E.js} +1 -1
  168. package/web/assets/swimlanesDiagram-JKAHXJPX-BIui1LQN.js +8 -0
  169. package/web/assets/{time-presentation-BGnkDjFB.js → time-presentation-C4ZM17lP.js} +1 -1
  170. package/web/assets/{timeline-definition-24CTP7MA-Cs4D6LDe.js → timeline-definition-24CTP7MA-DqW5sUMb.js} +1 -1
  171. package/web/assets/{vennDiagram-4TSXK5OY-BY7QnXuF.js → vennDiagram-4TSXK5OY-BAwRsC31.js} +1 -1
  172. package/web/assets/{wardleyDiagram-VM6X3IG4-BOkYkth2.js → wardleyDiagram-VM6X3IG4-B4VQh3Ul.js} +1 -1
  173. package/web/assets/{workbench-live-service-CM95FM5m.js → workbench-live-service-CUMZR2jn.js} +1 -1
  174. package/web/assets/{workbench-presentation-BSFNVeoh.js → workbench-presentation-DwtJOyG3.js} +1 -1
  175. package/web/assets/{workspace-direct-transfer-service-DZoyvpIs.js → workspace-direct-transfer-service-Vwaa5cbw.js} +1 -1
  176. package/web/assets/{xychartDiagram-S5SC5T6Z-BD2G7MnA.js → xychartDiagram-S5SC5T6Z-DIOPCv7d.js} +1 -1
  177. package/web/docs/404.html +2 -2
  178. package/web/docs/administration/account.html +3 -3
  179. package/web/docs/administration/audit.html +3 -3
  180. package/web/docs/administration/conversation-templates.html +3 -3
  181. package/web/docs/administration/email-notifications.html +3 -3
  182. package/web/docs/administration/license.html +3 -3
  183. package/web/docs/administration/nodes-workspaces.html +3 -3
  184. package/web/docs/administration/oauth.html +3 -3
  185. package/web/docs/administration/secrets.html +3 -3
  186. package/web/docs/administration/template-workspace-maintenance.html +3 -3
  187. package/web/docs/administration/users-organizations.html +3 -3
  188. package/web/docs/assets/{app.rdBFTyeM.js → app.CNp25fM7.js} +1 -1
  189. package/web/docs/assets/chunks/@localSearchIndexen-US.BPNfPcjz.js +1 -0
  190. package/web/docs/assets/chunks/@localSearchIndexroot.DLLsLlfO.js +1 -0
  191. package/web/docs/assets/chunks/{VPLocalSearchBox.DVmpS7jX.js → VPLocalSearchBox.CUm9P-D5.js} +1 -1
  192. package/web/docs/assets/chunks/{theme.2xiNUW3A.js → theme.CficG1AF.js} +2 -2
  193. package/web/docs/assets/en-US_workbench_files.md.BEutoqrF.js +1 -0
  194. package/web/docs/assets/{en-US_workbench_files.md.BNLPoHde.lean.js → en-US_workbench_files.md.BEutoqrF.lean.js} +1 -1
  195. package/web/docs/assets/workbench_files.md.DqmelUDG.js +1 -0
  196. package/web/docs/assets/{workbench_files.md._4Y_6Bcv.lean.js → workbench_files.md.DqmelUDG.lean.js} +1 -1
  197. package/web/docs/concepts/architecture.html +3 -3
  198. package/web/docs/concepts/data-and-security.html +3 -3
  199. package/web/docs/concepts/files-git-terminal.html +3 -3
  200. package/web/docs/concepts/node-and-workspace.html +3 -3
  201. package/web/docs/concepts/permissions-and-sharing.html +3 -3
  202. package/web/docs/concepts/runner-control.html +3 -3
  203. package/web/docs/concepts/secrets.html +3 -3
  204. package/web/docs/concepts/session-run-turn.html +3 -3
  205. package/web/docs/deployment/backup-restore.html +3 -3
  206. package/web/docs/deployment/network.html +3 -3
  207. package/web/docs/deployment/node-installation.html +3 -3
  208. package/web/docs/deployment/node-linux.html +3 -3
  209. package/web/docs/deployment/node-macos.html +3 -3
  210. package/web/docs/deployment/node-windows.html +3 -3
  211. package/web/docs/deployment/production.html +3 -3
  212. package/web/docs/deployment/security-checklist.html +3 -3
  213. package/web/docs/deployment/upgrade.html +3 -3
  214. package/web/docs/en-US/administration/account.html +3 -3
  215. package/web/docs/en-US/administration/audit.html +3 -3
  216. package/web/docs/en-US/administration/conversation-templates.html +3 -3
  217. package/web/docs/en-US/administration/email-notifications.html +3 -3
  218. package/web/docs/en-US/administration/license.html +3 -3
  219. package/web/docs/en-US/administration/nodes-workspaces.html +3 -3
  220. package/web/docs/en-US/administration/oauth.html +3 -3
  221. package/web/docs/en-US/administration/secrets.html +3 -3
  222. package/web/docs/en-US/administration/template-workspace-maintenance.html +3 -3
  223. package/web/docs/en-US/administration/users-organizations.html +3 -3
  224. package/web/docs/en-US/concepts/architecture.html +3 -3
  225. package/web/docs/en-US/concepts/data-and-security.html +3 -3
  226. package/web/docs/en-US/concepts/files-git-terminal.html +3 -3
  227. package/web/docs/en-US/concepts/node-and-workspace.html +3 -3
  228. package/web/docs/en-US/concepts/permissions-and-sharing.html +3 -3
  229. package/web/docs/en-US/concepts/runner-control.html +3 -3
  230. package/web/docs/en-US/concepts/secrets.html +3 -3
  231. package/web/docs/en-US/concepts/session-run-turn.html +3 -3
  232. package/web/docs/en-US/deployment/backup-restore.html +3 -3
  233. package/web/docs/en-US/deployment/network.html +3 -3
  234. package/web/docs/en-US/deployment/node-installation.html +3 -3
  235. package/web/docs/en-US/deployment/node-linux.html +3 -3
  236. package/web/docs/en-US/deployment/node-macos.html +3 -3
  237. package/web/docs/en-US/deployment/node-windows.html +3 -3
  238. package/web/docs/en-US/deployment/production.html +3 -3
  239. package/web/docs/en-US/deployment/security-checklist.html +3 -3
  240. package/web/docs/en-US/deployment/upgrade.html +3 -3
  241. package/web/docs/en-US/getting-started/connect-node.html +3 -3
  242. package/web/docs/en-US/getting-started/first-agent-session.html +3 -3
  243. package/web/docs/en-US/getting-started/first-login.html +3 -3
  244. package/web/docs/en-US/getting-started/next-steps.html +3 -3
  245. package/web/docs/en-US/getting-started/npm-quick-start.html +3 -3
  246. package/web/docs/en-US/getting-started/overview.html +3 -3
  247. package/web/docs/en-US/getting-started/prerequisites.html +3 -3
  248. package/web/docs/en-US/getting-started/register-workspace.html +3 -3
  249. package/web/docs/en-US/getting-started/server-installation.html +3 -3
  250. package/web/docs/en-US/operations/marctl.html +3 -3
  251. package/web/docs/en-US/reference/configuration.html +3 -3
  252. package/web/docs/en-US/reference/keyboard-shortcuts.html +3 -3
  253. package/web/docs/en-US/reference/limits.html +3 -3
  254. package/web/docs/en-US/reference/ports-paths-data.html +3 -3
  255. package/web/docs/en-US/reference/status-and-errors.html +3 -3
  256. package/web/docs/en-US/runners/claude-code.html +3 -3
  257. package/web/docs/en-US/runners/codex.html +3 -3
  258. package/web/docs/en-US/runners/mar-agent.html +3 -3
  259. package/web/docs/en-US/runners/opencode.html +3 -3
  260. package/web/docs/en-US/runners/overview.html +3 -3
  261. package/web/docs/en-US/runners/runner-troubleshooting.html +3 -3
  262. package/web/docs/en-US/troubleshooting/node-offline.html +3 -3
  263. package/web/docs/en-US/troubleshooting/quick-diagnosis.html +3 -3
  264. package/web/docs/en-US/troubleshooting/session-run.html +3 -3
  265. package/web/docs/en-US/troubleshooting/terminal.html +3 -3
  266. package/web/docs/en-US/troubleshooting/workspace-files.html +3 -3
  267. package/web/docs/en-US/workbench/browser.html +3 -3
  268. package/web/docs/en-US/workbench/composer.html +3 -3
  269. package/web/docs/en-US/workbench/context-and-plan.html +3 -3
  270. package/web/docs/en-US/workbench/conversation.html +3 -3
  271. package/web/docs/en-US/workbench/file-reference-and-attachment.html +3 -3
  272. package/web/docs/en-US/workbench/files.html +5 -5
  273. package/web/docs/en-US/workbench/git-changes.html +3 -3
  274. package/web/docs/en-US/workbench/git-history.html +3 -3
  275. package/web/docs/en-US/workbench/hosted-conversations.html +3 -3
  276. package/web/docs/en-US/workbench/mobile.html +3 -3
  277. package/web/docs/en-US/workbench/navigation.html +3 -3
  278. package/web/docs/en-US/workbench/remote-desktop.html +3 -3
  279. package/web/docs/en-US/workbench/sessions.html +3 -3
  280. package/web/docs/en-US/workbench/skills.html +3 -3
  281. package/web/docs/en-US/workbench/terminal.html +3 -3
  282. package/web/docs/getting-started/connect-node.html +3 -3
  283. package/web/docs/getting-started/first-agent-session.html +3 -3
  284. package/web/docs/getting-started/first-login.html +3 -3
  285. package/web/docs/getting-started/next-steps.html +3 -3
  286. package/web/docs/getting-started/npm-quick-start.html +3 -3
  287. package/web/docs/getting-started/overview.html +3 -3
  288. package/web/docs/getting-started/prerequisites.html +3 -3
  289. package/web/docs/getting-started/register-workspace.html +3 -3
  290. package/web/docs/getting-started/server-installation.html +3 -3
  291. package/web/docs/hashmap.json +1 -1
  292. package/web/docs/operations/marctl.html +3 -3
  293. package/web/docs/reference/configuration.html +3 -3
  294. package/web/docs/reference/keyboard-shortcuts.html +3 -3
  295. package/web/docs/reference/limits.html +3 -3
  296. package/web/docs/reference/ports-paths-data.html +3 -3
  297. package/web/docs/reference/status-and-errors.html +3 -3
  298. package/web/docs/runners/claude-code.html +3 -3
  299. package/web/docs/runners/codex.html +3 -3
  300. package/web/docs/runners/mar-agent.html +3 -3
  301. package/web/docs/runners/opencode.html +3 -3
  302. package/web/docs/runners/overview.html +3 -3
  303. package/web/docs/runners/runner-troubleshooting.html +3 -3
  304. package/web/docs/troubleshooting/node-offline.html +3 -3
  305. package/web/docs/troubleshooting/quick-diagnosis.html +3 -3
  306. package/web/docs/troubleshooting/session-run.html +3 -3
  307. package/web/docs/troubleshooting/terminal.html +3 -3
  308. package/web/docs/troubleshooting/workspace-files.html +3 -3
  309. package/web/docs/workbench/browser.html +3 -3
  310. package/web/docs/workbench/composer.html +3 -3
  311. package/web/docs/workbench/context-and-plan.html +3 -3
  312. package/web/docs/workbench/conversation.html +3 -3
  313. package/web/docs/workbench/file-reference-and-attachment.html +3 -3
  314. package/web/docs/workbench/files.html +5 -5
  315. package/web/docs/workbench/git-changes.html +3 -3
  316. package/web/docs/workbench/git-history.html +3 -3
  317. package/web/docs/workbench/hosted-conversations.html +3 -3
  318. package/web/docs/workbench/mobile.html +3 -3
  319. package/web/docs/workbench/navigation.html +3 -3
  320. package/web/docs/workbench/remote-desktop.html +3 -3
  321. package/web/docs/workbench/sessions.html +3 -3
  322. package/web/docs/workbench/skills.html +3 -3
  323. package/web/docs/workbench/terminal.html +3 -3
  324. package/web/index.html +2 -2
  325. package/web/service-worker.js +1 -1
  326. package/web/web-version.json +1 -1
  327. package/web/assets/MarkdownFilePreview-DvxkFDL7.js +0 -1
  328. package/web/assets/NodeManagementPage-C0tQpx2O.js +0 -1
  329. package/web/assets/NodeManagementPage-Cxa2K2vy.js +0 -1
  330. package/web/assets/SecretManagementPage-EnhHvWKL.js +0 -1
  331. package/web/assets/SkillCenterPage-B1-eUp04.js +0 -1
  332. package/web/assets/WorkbenchPage-BG7Q4ApT.css +0 -1
  333. package/web/assets/WorkbenchPage-no1sj_D4.js +0 -22
  334. package/web/assets/WorkspaceManagementPage-BjMTOzz7.js +0 -1
  335. package/web/assets/WorkspaceManagementPage-iR1JTeUx.js +0 -1
  336. package/web/assets/channel-CQ_-T3IY.js +0 -1
  337. package/web/assets/classDiagram-CYGNFDIV-CMsTjJGu.js +0 -1
  338. package/web/assets/classDiagram-v2-TLXNO2FR-CMsTjJGu.js +0 -1
  339. package/web/assets/stateDiagram-v2-IH3M54BS-CH6ztnQP.js +0 -1
  340. package/web/assets/swimlanesDiagram-JKAHXJPX-DmcQDzOM.js +0 -8
  341. package/web/docs/assets/chunks/@localSearchIndexen-US.BphZtQbs.js +0 -1
  342. package/web/docs/assets/chunks/@localSearchIndexroot.DDPMGNY3.js +0 -1
  343. package/web/docs/assets/en-US_workbench_files.md.BNLPoHde.js +0 -1
  344. package/web/docs/assets/workbench_files.md._4Y_6Bcv.js +0 -1
@@ -1,4 +1,4 @@
1
- import{g as Re,s as He,p as Be,o as qe,a as Ge,b as Xe,_ as l,c as ht,d as je,aS as U,l as lt,j as Ue,n as Ze,q as Qe,y as Ke}from"./mermaid.core-MKNgFVg9.js";import{g as Ft}from"./FilePreviewState-BHQXkRlO.js";import{R as Te,y as Je,z as be,A as we,C as _e,B as Ot,D as tr,k as bt}from"./transform-YfG62m2h.js";import{t as er,a as ae,b as oe,c as rr,d as nr,e as ir,f as sr,g as ar,h as or,i as cr,j as ce,k as le,l as ue,s as de,m as fe}from"./time-DjKvo7nM.js";import{l as lr}from"./linear-DcWs93MI.js";import"./index-CRSqQjLR.js";import"./index-DnNmD8k8.js";import"./workbench-live-service-CM95FM5m.js";import"./mobile-dialog-return-service-BxkvDYgL.js";import"./init-Gi6I4Gst.js";import"./d3-format-lk9t_ahw.js";const ur=Math.PI/180,dr=180/Math.PI,Yt=18,De=.96422,Se=1,Ce=.82521,Me=4/29,mt=6/29,Ee=3*mt*mt,fr=mt*mt*mt;function Ie(t){if(t instanceof rt)return new rt(t.l,t.a,t.b,t.opacity);if(t instanceof it)return Ye(t);t instanceof Te||(t=Je(t));var e=Vt(t.r),r=Vt(t.g),n=Vt(t.b),i=Wt((.2225045*e+.7168786*r+.0606169*n)/Se),m,f;return e===r&&r===n?m=f=i:(m=Wt((.4360747*e+.3850649*r+.1430804*n)/De),f=Wt((.0139322*e+.0971045*r+.7141733*n)/Ce)),new rt(116*i-16,500*(m-i),200*(i-f),t.opacity)}function hr(t,e,r,n){return arguments.length===1?Ie(t):new rt(t,e,r,n??1)}function rt(t,e,r,n){this.l=+t,this.a=+e,this.b=+r,this.opacity=+n}be(rt,hr,we(_e,{brighter(t){return new rt(this.l+Yt*(t??1),this.a,this.b,this.opacity)},darker(t){return new rt(this.l-Yt*(t??1),this.a,this.b,this.opacity)},rgb(){var t=(this.l+16)/116,e=isNaN(this.a)?t:t+this.a/500,r=isNaN(this.b)?t:t-this.b/200;return e=De*Pt(e),t=Se*Pt(t),r=Ce*Pt(r),new Te(Nt(3.1338561*e-1.6168667*t-.4906146*r),Nt(-.9787684*e+1.9161415*t+.033454*r),Nt(.0719453*e-.2289914*t+1.4052427*r),this.opacity)}}));function Wt(t){return t>fr?Math.pow(t,1/3):t/Ee+Me}function Pt(t){return t>mt?t*t*t:Ee*(t-Me)}function Nt(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function Vt(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function mr(t){if(t instanceof it)return new it(t.h,t.c,t.l,t.opacity);if(t instanceof rt||(t=Ie(t)),t.a===0&&t.b===0)return new it(NaN,0<t.l&&t.l<100?0:NaN,t.l,t.opacity);var e=Math.atan2(t.b,t.a)*dr;return new it(e<0?e+360:e,Math.sqrt(t.a*t.a+t.b*t.b),t.l,t.opacity)}function Ht(t,e,r,n){return arguments.length===1?mr(t):new it(t,e,r,n??1)}function it(t,e,r,n){this.h=+t,this.c=+e,this.l=+r,this.opacity=+n}function Ye(t){if(isNaN(t.h))return new rt(t.l,0,0,t.opacity);var e=t.h*ur;return new rt(t.l,Math.cos(e)*t.c,Math.sin(e)*t.c,t.opacity)}be(it,Ht,we(_e,{brighter(t){return new it(this.h,this.c,this.l+Yt*(t??1),this.opacity)},darker(t){return new it(this.h,this.c,this.l-Yt*(t??1),this.opacity)},rgb(){return Ye(this).rgb()}}));function kr(t){return function(e,r){var n=t((e=Ht(e)).h,(r=Ht(r)).h),i=Ot(e.c,r.c),m=Ot(e.l,r.l),f=Ot(e.opacity,r.opacity);return function(b){return e.h=n(b),e.c=i(b),e.l=m(b),e.opacity=f(b),e+""}}}const yr=kr(tr);function gr(t,e){let r;if(e===void 0)for(const n of t)n!=null&&(r<n||r===void 0&&n>=n)&&(r=n);else{let n=-1;for(let i of t)(i=e(i,++n,t))!=null&&(r<i||r===void 0&&i>=i)&&(r=i)}return r}function pr(t,e){let r;if(e===void 0)for(const n of t)n!=null&&(r>n||r===void 0&&n>=n)&&(r=n);else{let n=-1;for(let i of t)(i=e(i,++n,t))!=null&&(r>i||r===void 0&&i>=i)&&(r=i)}return r}function vr(t){return t}var _t=1,zt=2,Bt=3,wt=4,he=1e-6;function xr(t){return"translate("+t+",0)"}function Tr(t){return"translate(0,"+t+")"}function br(t){return e=>+t(e)}function wr(t,e){return e=Math.max(0,t.bandwidth()-e*2)/2,t.round()&&(e=Math.round(e)),r=>+t(r)+e}function _r(){return!this.__axis}function $e(t,e){var r=[],n=null,i=null,m=6,f=6,b=3,C=typeof window<"u"&&window.devicePixelRatio>1?0:.5,L=t===_t||t===wt?-1:1,w=t===wt||t===zt?"x":"y",P=t===_t||t===Bt?xr:Tr;function _(D){var G=n??(e.ticks?e.ticks.apply(e,r):e.domain()),R=i??(e.tickFormat?e.tickFormat.apply(e,r):vr),g=Math.max(m,0)+b,M=e.range(),W=+M[0]+C,O=+M[M.length-1]+C,H=(e.bandwidth?wr:br)(e.copy(),C),z=D.selection?D.selection():D,I=z.selectAll(".domain").data([null]),x=z.selectAll(".tick").data(G,e).order(),k=x.exit(),E=x.enter().append("g").attr("class","tick"),h=x.select("line"),T=x.select("text");I=I.merge(I.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),x=x.merge(E),h=h.merge(E.append("line").attr("stroke","currentColor").attr(w+"2",L*m)),T=T.merge(E.append("text").attr("fill","currentColor").attr(w,L*g).attr("dy",t===_t?"0em":t===Bt?"0.71em":"0.32em")),D!==z&&(I=I.transition(D),x=x.transition(D),h=h.transition(D),T=T.transition(D),k=k.transition(D).attr("opacity",he).attr("transform",function(v){return isFinite(v=H(v))?P(v+C):this.getAttribute("transform")}),E.attr("opacity",he).attr("transform",function(v){var p=this.parentNode.__axis;return P((p&&isFinite(p=p(v))?p:H(v))+C)})),k.remove(),I.attr("d",t===wt||t===zt?f?"M"+L*f+","+W+"H"+C+"V"+O+"H"+L*f:"M"+C+","+W+"V"+O:f?"M"+W+","+L*f+"V"+C+"H"+O+"V"+L*f:"M"+W+","+C+"H"+O),x.attr("opacity",1).attr("transform",function(v){return P(H(v)+C)}),h.attr(w+"2",L*m),T.attr(w,L*g).text(R),z.filter(_r).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",t===zt?"start":t===wt?"end":"middle"),z.each(function(){this.__axis=H})}return _.scale=function(D){return arguments.length?(e=D,_):e},_.ticks=function(){return r=Array.from(arguments),_},_.tickArguments=function(D){return arguments.length?(r=D==null?[]:Array.from(D),_):r.slice()},_.tickValues=function(D){return arguments.length?(n=D==null?null:Array.from(D),_):n&&n.slice()},_.tickFormat=function(D){return arguments.length?(i=D,_):i},_.tickSize=function(D){return arguments.length?(m=f=+D,_):m},_.tickSizeInner=function(D){return arguments.length?(m=+D,_):m},_.tickSizeOuter=function(D){return arguments.length?(f=+D,_):f},_.tickPadding=function(D){return arguments.length?(b=+D,_):b},_.offset=function(D){return arguments.length?(C=+D,_):C},_}function Dr(t){return $e(_t,t)}function Sr(t){return $e(Bt,t)}var Dt={exports:{}},Cr=Dt.exports,me;function Mr(){return me||(me=1,(function(t,e){(function(r,n){t.exports=n()})(Cr,(function(){var r="day";return function(n,i,m){var f=function(L){return L.add(4-L.isoWeekday(),r)},b=i.prototype;b.isoWeekYear=function(){return f(this).year()},b.isoWeek=function(L){if(!this.$utils().u(L))return this.add(7*(L-this.isoWeek()),r);var w,P,_,D,G=f(this),R=(w=this.isoWeekYear(),P=this.$u,_=(P?m.utc:m)().year(w).startOf("year"),D=4-_.isoWeekday(),_.isoWeekday()>4&&(D+=7),_.add(D,r));return G.diff(R,"week")+1},b.isoWeekday=function(L){return this.$utils().u(L)?this.day()||7:this.day(this.day()%7?L:L-7)};var C=b.startOf;b.startOf=function(L,w){var P=this.$utils(),_=!!P.u(w)||w;return P.p(L)==="isoweek"?_?this.date(this.date()-(this.isoWeekday()-1)).startOf("day"):this.date(this.date()-1-(this.isoWeekday()-1)+7).endOf("day"):C.bind(this)(L,w)}}}))})(Dt)),Dt.exports}var Er=Mr();const Ir=Ft(Er);var St={exports:{}},Yr=St.exports,ke;function $r(){return ke||(ke=1,(function(t,e){(function(r,n){t.exports=n()})(Yr,(function(){var r={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},n=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,i=/\d/,m=/\d\d/,f=/\d\d?/,b=/\d*[^-_:/,()\s\d]+/,C={},L=function(g){return(g=+g)+(g>68?1900:2e3)},w=function(g){return function(M){this[g]=+M}},P=[/[+-]\d\d:?(\d\d)?|Z/,function(g){(this.zone||(this.zone={})).offset=(function(M){if(!M||M==="Z")return 0;var W=M.match(/([+-]|\d\d)/g),O=60*W[1]+(+W[2]||0);return O===0?0:W[0]==="+"?-O:O})(g)}],_=function(g){var M=C[g];return M&&(M.indexOf?M:M.s.concat(M.f))},D=function(g,M){var W,O=C.meridiem;if(O){for(var H=1;H<=24;H+=1)if(g.indexOf(O(H,0,M))>-1){W=H>12;break}}else W=g===(M?"pm":"PM");return W},G={A:[b,function(g){this.afternoon=D(g,!1)}],a:[b,function(g){this.afternoon=D(g,!0)}],Q:[i,function(g){this.month=3*(g-1)+1}],S:[i,function(g){this.milliseconds=100*+g}],SS:[m,function(g){this.milliseconds=10*+g}],SSS:[/\d{3}/,function(g){this.milliseconds=+g}],s:[f,w("seconds")],ss:[f,w("seconds")],m:[f,w("minutes")],mm:[f,w("minutes")],H:[f,w("hours")],h:[f,w("hours")],HH:[f,w("hours")],hh:[f,w("hours")],D:[f,w("day")],DD:[m,w("day")],Do:[b,function(g){var M=C.ordinal,W=g.match(/\d+/);if(this.day=W[0],M)for(var O=1;O<=31;O+=1)M(O).replace(/\[|\]/g,"")===g&&(this.day=O)}],w:[f,w("week")],ww:[m,w("week")],M:[f,w("month")],MM:[m,w("month")],MMM:[b,function(g){var M=_("months"),W=(_("monthsShort")||M.map((function(O){return O.slice(0,3)}))).indexOf(g)+1;if(W<1)throw new Error;this.month=W%12||W}],MMMM:[b,function(g){var M=_("months").indexOf(g)+1;if(M<1)throw new Error;this.month=M%12||M}],Y:[/[+-]?\d+/,w("year")],YY:[m,function(g){this.year=L(g)}],YYYY:[/\d{4}/,w("year")],Z:P,ZZ:P};function R(g){var M,W;M=g,W=C&&C.formats;for(var O=(g=M.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(h,T,v){var p=v&&v.toUpperCase();return T||W[v]||r[v]||W[p].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(a,d,y){return d||y.slice(1)}))}))).match(n),H=O.length,z=0;z<H;z+=1){var I=O[z],x=G[I],k=x&&x[0],E=x&&x[1];O[z]=E?{regex:k,parser:E}:I.replace(/^\[|\]$/g,"")}return function(h){for(var T={},v=0,p=0;v<H;v+=1){var a=O[v];if(typeof a=="string")p+=a.length;else{var d=a.regex,y=a.parser,u=h.slice(p),S=d.exec(u)[0];y.call(T,S),h=h.replace(S,"")}}return(function(s){var Y=s.afternoon;if(Y!==void 0){var o=s.hours;Y?o<12&&(s.hours+=12):o===12&&(s.hours=0),delete s.afternoon}})(T),T}}return function(g,M,W){W.p.customParseFormat=!0,g&&g.parseTwoDigitYear&&(L=g.parseTwoDigitYear);var O=M.prototype,H=O.parse;O.parse=function(z){var I=z.date,x=z.utc,k=z.args;this.$u=x;var E=k[1];if(typeof E=="string"){var h=k[2]===!0,T=k[3]===!0,v=h||T,p=k[2];T&&(p=k[2]),C=this.$locale(),!h&&p&&(C=W.Ls[p]),this.$d=(function(u,S,s,Y){try{if(["x","X"].indexOf(S)>-1)return new Date((S==="X"?1e3:1)*u);var o=R(S)(u),q=o.year,c=o.month,$=o.day,A=o.hours,V=o.minutes,F=o.seconds,B=o.milliseconds,N=o.zone,st=o.week,ot=new Date,vt=$||(q||c?1:ot.getDate()),dt=q||ot.getFullYear(),X=0;q&&!c||(X=c>0?c-1:ot.getMonth());var K,Z=A||0,ct=V||0,J=F||0,at=B||0;return N?new Date(Date.UTC(dt,X,vt,Z,ct,J,at+60*N.offset*1e3)):s?new Date(Date.UTC(dt,X,vt,Z,ct,J,at)):(K=new Date(dt,X,vt,Z,ct,J,at),st&&(K=Y(K).week(st).toDate()),K)}catch{return new Date("")}})(I,E,x,W),this.init(),p&&p!==!0&&(this.$L=this.locale(p).$L),v&&I!=this.format(E)&&(this.$d=new Date("")),C={}}else if(E instanceof Array)for(var a=E.length,d=1;d<=a;d+=1){k[1]=E[d-1];var y=W.apply(this,k);if(y.isValid()){this.$d=y.$d,this.$L=y.$L,this.init();break}d===a&&(this.$d=new Date(""))}else H.call(this,z)}}}))})(St)),St.exports}var Ar=$r();const Fr=Ft(Ar);var Ct={exports:{}},Lr=Ct.exports,ye;function Or(){return ye||(ye=1,(function(t,e){(function(r,n){t.exports=n()})(Lr,(function(){return function(r,n){var i=n.prototype,m=i.format;i.format=function(f){var b=this,C=this.$locale();if(!this.isValid())return m.bind(this)(f);var L=this.$utils(),w=(f||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,(function(P){switch(P){case"Q":return Math.ceil((b.$M+1)/3);case"Do":return C.ordinal(b.$D);case"gggg":return b.weekYear();case"GGGG":return b.isoWeekYear();case"wo":return C.ordinal(b.week(),"W");case"w":case"ww":return L.s(b.week(),P==="w"?1:2,"0");case"W":case"WW":return L.s(b.isoWeek(),P==="W"?1:2,"0");case"k":case"kk":return L.s(String(b.$H===0?24:b.$H),P==="k"?1:2,"0");case"X":return Math.floor(b.$d.getTime()/1e3);case"x":return b.$d.getTime();case"z":return"["+b.offsetName()+"]";case"zzz":return"["+b.offsetName("long")+"]";default:return P}}));return m.bind(this)(w)}}}))})(Ct)),Ct.exports}var Wr=Or();const Pr=Ft(Wr);var Mt={exports:{}},Nr=Mt.exports,ge;function Vr(){return ge||(ge=1,(function(t,e){(function(r,n){t.exports=n()})(Nr,(function(){var r,n,i=1e3,m=6e4,f=36e5,b=864e5,C=31536e6,L=2628e6,w=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,P=/\[([^\]]+)]|YYYY|YY|Y|M{1,2}|D{1,2}|H{1,2}|m{1,2}|s{1,2}|SSS/g,_={years:C,months:L,days:b,hours:f,minutes:m,seconds:i,milliseconds:1,weeks:6048e5},D=function(I){return I instanceof H},G=function(I,x,k){return new H(I,k,x.$l)},R=function(I){return n.p(I)+"s"},g=function(I){return I<0},M=function(I){return g(I)?Math.ceil(I):Math.floor(I)},W=function(I){return Math.abs(I)},O=function(I,x){return I?g(I)?{negative:!0,format:""+W(I)+x}:{negative:!1,format:""+I+x}:{negative:!1,format:""}},H=(function(){function I(k,E,h){var T=this;if(this.$d={},this.$l=h,k===void 0&&(this.$ms=0,this.parseFromMilliseconds()),E)return G(k*_[R(E)],this);if(typeof k=="number")return this.$ms=k,this.parseFromMilliseconds(),this;if(typeof k=="object")return Object.keys(k).forEach((function(a){T.$d[R(a)]=k[a]})),this.calMilliseconds(),this;if(typeof k=="string"){var v=k.match(w);if(v){var p=v.slice(2).map((function(a){return a!=null?Number(a):0}));return this.$d.years=p[0],this.$d.months=p[1],this.$d.weeks=p[2],this.$d.days=p[3],this.$d.hours=p[4],this.$d.minutes=p[5],this.$d.seconds=p[6],this.calMilliseconds(),this}}return this}var x=I.prototype;return x.calMilliseconds=function(){var k=this;this.$ms=Object.keys(this.$d).reduce((function(E,h){return E+(k.$d[h]||0)*_[h]}),0)},x.parseFromMilliseconds=function(){var k=this.$ms;this.$d.years=M(k/C),k%=C,this.$d.months=M(k/L),k%=L,this.$d.days=M(k/b),k%=b,this.$d.hours=M(k/f),k%=f,this.$d.minutes=M(k/m),k%=m,this.$d.seconds=M(k/i),k%=i,this.$d.milliseconds=k},x.toISOString=function(){var k=O(this.$d.years,"Y"),E=O(this.$d.months,"M"),h=+this.$d.days||0;this.$d.weeks&&(h+=7*this.$d.weeks);var T=O(h,"D"),v=O(this.$d.hours,"H"),p=O(this.$d.minutes,"M"),a=this.$d.seconds||0;this.$d.milliseconds&&(a+=this.$d.milliseconds/1e3,a=Math.round(1e3*a)/1e3);var d=O(a,"S"),y=k.negative||E.negative||T.negative||v.negative||p.negative||d.negative,u=v.format||p.format||d.format?"T":"",S=(y?"-":"")+"P"+k.format+E.format+T.format+u+v.format+p.format+d.format;return S==="P"||S==="-P"?"P0D":S},x.toJSON=function(){return this.toISOString()},x.format=function(k){var E=k||"YYYY-MM-DDTHH:mm:ss",h={Y:this.$d.years,YY:n.s(this.$d.years,2,"0"),YYYY:n.s(this.$d.years,4,"0"),M:this.$d.months,MM:n.s(this.$d.months,2,"0"),D:this.$d.days,DD:n.s(this.$d.days,2,"0"),H:this.$d.hours,HH:n.s(this.$d.hours,2,"0"),m:this.$d.minutes,mm:n.s(this.$d.minutes,2,"0"),s:this.$d.seconds,ss:n.s(this.$d.seconds,2,"0"),SSS:n.s(this.$d.milliseconds,3,"0")};return E.replace(P,(function(T,v){return v||String(h[T])}))},x.as=function(k){return this.$ms/_[R(k)]},x.get=function(k){var E=this.$ms,h=R(k);return h==="milliseconds"?E%=1e3:E=h==="weeks"?M(E/_[h]):this.$d[h],E||0},x.add=function(k,E,h){var T;return T=E?k*_[R(E)]:D(k)?k.$ms:G(k,this).$ms,G(this.$ms+T*(h?-1:1),this)},x.subtract=function(k,E){return this.add(k,E,!0)},x.locale=function(k){var E=this.clone();return E.$l=k,E},x.clone=function(){return G(this.$ms,this)},x.humanize=function(k){return r().add(this.$ms,"ms").locale(this.$l).fromNow(!k)},x.valueOf=function(){return this.asMilliseconds()},x.milliseconds=function(){return this.get("milliseconds")},x.asMilliseconds=function(){return this.as("milliseconds")},x.seconds=function(){return this.get("seconds")},x.asSeconds=function(){return this.as("seconds")},x.minutes=function(){return this.get("minutes")},x.asMinutes=function(){return this.as("minutes")},x.hours=function(){return this.get("hours")},x.asHours=function(){return this.as("hours")},x.days=function(){return this.get("days")},x.asDays=function(){return this.as("days")},x.weeks=function(){return this.get("weeks")},x.asWeeks=function(){return this.as("weeks")},x.months=function(){return this.get("months")},x.asMonths=function(){return this.as("months")},x.years=function(){return this.get("years")},x.asYears=function(){return this.as("years")},I})(),z=function(I,x,k){return I.add(x.years()*k,"y").add(x.months()*k,"M").add(x.days()*k,"d").add(x.hours()*k,"h").add(x.minutes()*k,"m").add(x.seconds()*k,"s").add(x.milliseconds()*k,"ms")};return function(I,x,k){r=k,n=k().$utils(),k.duration=function(T,v){var p=k.locale();return G(T,{$l:p},v)},k.isDuration=D;var E=x.prototype.add,h=x.prototype.subtract;x.prototype.add=function(T,v){return D(T)?z(this,T,1):E.bind(this)(T,v)},x.prototype.subtract=function(T,v){return D(T)?z(this,T,-1):h.bind(this)(T,v)}}}))})(Mt)),Mt.exports}var zr=Vr();const Rr=Ft(zr);var qt=(function(){var t=l(function(p,a,d,y){for(d=d||{},y=p.length;y--;d[p[y]]=a);return d},"o"),e=[6,8,10,12,13,14,15,16,17,18,20,21,22,23,24,25,26,27,28,29,30,31,33,35,36,38,40],r=[1,26],n=[1,27],i=[1,28],m=[1,29],f=[1,30],b=[1,31],C=[1,32],L=[1,33],w=[1,34],P=[1,9],_=[1,10],D=[1,11],G=[1,12],R=[1,13],g=[1,14],M=[1,15],W=[1,16],O=[1,19],H=[1,20],z=[1,21],I=[1,22],x=[1,23],k=[1,25],E=[1,35],h={trace:l(function(){},"trace"),yy:{},symbols_:{error:2,start:3,gantt:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NL:10,weekday:11,weekday_monday:12,weekday_tuesday:13,weekday_wednesday:14,weekday_thursday:15,weekday_friday:16,weekday_saturday:17,weekday_sunday:18,weekend:19,weekend_friday:20,weekend_saturday:21,dateFormat:22,inclusiveEndDates:23,topAxis:24,axisFormat:25,tickInterval:26,excludes:27,includes:28,todayMarker:29,title:30,acc_title:31,acc_title_value:32,acc_descr:33,acc_descr_value:34,acc_descr_multiline_value:35,section:36,clickStatement:37,taskTxt:38,taskData:39,click:40,callbackname:41,callbackargs:42,href:43,clickStatementDebug:44,$accept:0,$end:1},terminals_:{2:"error",4:"gantt",6:"EOF",8:"SPACE",10:"NL",12:"weekday_monday",13:"weekday_tuesday",14:"weekday_wednesday",15:"weekday_thursday",16:"weekday_friday",17:"weekday_saturday",18:"weekday_sunday",20:"weekend_friday",21:"weekend_saturday",22:"dateFormat",23:"inclusiveEndDates",24:"topAxis",25:"axisFormat",26:"tickInterval",27:"excludes",28:"includes",29:"todayMarker",30:"title",31:"acc_title",32:"acc_title_value",33:"acc_descr",34:"acc_descr_value",35:"acc_descr_multiline_value",36:"section",38:"taskTxt",39:"taskData",40:"click",41:"callbackname",42:"callbackargs",43:"href"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[11,1],[11,1],[11,1],[11,1],[11,1],[11,1],[11,1],[19,1],[19,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,1],[9,2],[37,2],[37,3],[37,3],[37,4],[37,3],[37,4],[37,2],[44,2],[44,3],[44,3],[44,4],[44,3],[44,4],[44,2]],performAction:l(function(a,d,y,u,S,s,Y){var o=s.length-1;switch(S){case 1:return s[o-1];case 2:this.$=[];break;case 3:s[o-1].push(s[o]),this.$=s[o-1];break;case 4:case 5:this.$=s[o];break;case 6:case 7:this.$=[];break;case 8:u.setWeekday("monday");break;case 9:u.setWeekday("tuesday");break;case 10:u.setWeekday("wednesday");break;case 11:u.setWeekday("thursday");break;case 12:u.setWeekday("friday");break;case 13:u.setWeekday("saturday");break;case 14:u.setWeekday("sunday");break;case 15:u.setWeekend("friday");break;case 16:u.setWeekend("saturday");break;case 17:u.setDateFormat(s[o].substr(11)),this.$=s[o].substr(11);break;case 18:u.enableInclusiveEndDates(),this.$=s[o].substr(18);break;case 19:u.TopAxis(),this.$=s[o].substr(8);break;case 20:u.setAxisFormat(s[o].substr(11)),this.$=s[o].substr(11);break;case 21:u.setTickInterval(s[o].substr(13)),this.$=s[o].substr(13);break;case 22:u.setExcludes(s[o].substr(9)),this.$=s[o].substr(9);break;case 23:u.setIncludes(s[o].substr(9)),this.$=s[o].substr(9);break;case 24:u.setTodayMarker(s[o].substr(12)),this.$=s[o].substr(12);break;case 27:u.setDiagramTitle(s[o].substr(6)),this.$=s[o].substr(6);break;case 28:this.$=s[o].trim(),u.setAccTitle(this.$);break;case 29:case 30:this.$=s[o].trim(),u.setAccDescription(this.$);break;case 31:u.addSection(s[o].substr(8)),this.$=s[o].substr(8);break;case 33:u.addTask(s[o-1],s[o]),this.$="task";break;case 34:this.$=s[o-1],u.setClickEvent(s[o-1],s[o],null);break;case 35:this.$=s[o-2],u.setClickEvent(s[o-2],s[o-1],s[o]);break;case 36:this.$=s[o-2],u.setClickEvent(s[o-2],s[o-1],null),u.setLink(s[o-2],s[o]);break;case 37:this.$=s[o-3],u.setClickEvent(s[o-3],s[o-2],s[o-1]),u.setLink(s[o-3],s[o]);break;case 38:this.$=s[o-2],u.setClickEvent(s[o-2],s[o],null),u.setLink(s[o-2],s[o-1]);break;case 39:this.$=s[o-3],u.setClickEvent(s[o-3],s[o-1],s[o]),u.setLink(s[o-3],s[o-2]);break;case 40:this.$=s[o-1],u.setLink(s[o-1],s[o]);break;case 41:case 47:this.$=s[o-1]+" "+s[o];break;case 42:case 43:case 45:this.$=s[o-2]+" "+s[o-1]+" "+s[o];break;case 44:case 46:this.$=s[o-3]+" "+s[o-2]+" "+s[o-1]+" "+s[o];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:17,12:r,13:n,14:i,15:m,16:f,17:b,18:C,19:18,20:L,21:w,22:P,23:_,24:D,25:G,26:R,27:g,28:M,29:W,30:O,31:H,33:z,35:I,36:x,37:24,38:k,40:E},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:36,11:17,12:r,13:n,14:i,15:m,16:f,17:b,18:C,19:18,20:L,21:w,22:P,23:_,24:D,25:G,26:R,27:g,28:M,29:W,30:O,31:H,33:z,35:I,36:x,37:24,38:k,40:E},t(e,[2,5]),t(e,[2,6]),t(e,[2,17]),t(e,[2,18]),t(e,[2,19]),t(e,[2,20]),t(e,[2,21]),t(e,[2,22]),t(e,[2,23]),t(e,[2,24]),t(e,[2,25]),t(e,[2,26]),t(e,[2,27]),{32:[1,37]},{34:[1,38]},t(e,[2,30]),t(e,[2,31]),t(e,[2,32]),{39:[1,39]},t(e,[2,8]),t(e,[2,9]),t(e,[2,10]),t(e,[2,11]),t(e,[2,12]),t(e,[2,13]),t(e,[2,14]),t(e,[2,15]),t(e,[2,16]),{41:[1,40],43:[1,41]},t(e,[2,4]),t(e,[2,28]),t(e,[2,29]),t(e,[2,33]),t(e,[2,34],{42:[1,42],43:[1,43]}),t(e,[2,40],{41:[1,44]}),t(e,[2,35],{43:[1,45]}),t(e,[2,36]),t(e,[2,38],{42:[1,46]}),t(e,[2,37]),t(e,[2,39])],defaultActions:{},parseError:l(function(a,d){if(d.recoverable)this.trace(a);else{var y=new Error(a);throw y.hash=d,y}},"parseError"),parse:l(function(a){var d=this,y=[0],u=[],S=[null],s=[],Y=this.table,o="",q=0,c=0,$=2,A=1,V=s.slice.call(arguments,1),F=Object.create(this.lexer),B={yy:{}};for(var N in this.yy)Object.prototype.hasOwnProperty.call(this.yy,N)&&(B.yy[N]=this.yy[N]);F.setInput(a,B.yy),B.yy.lexer=F,B.yy.parser=this,typeof F.yylloc>"u"&&(F.yylloc={});var st=F.yylloc;s.push(st);var ot=F.options&&F.options.ranges;typeof B.yy.parseError=="function"?this.parseError=B.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function vt(Q){y.length=y.length-2*Q,S.length=S.length-Q,s.length=s.length-Q}l(vt,"popStack");function dt(){var Q;return Q=u.pop()||F.lex()||A,typeof Q!="number"&&(Q instanceof Array&&(u=Q,Q=u.pop()),Q=d.symbols_[Q]||Q),Q}l(dt,"lex");for(var X,K,Z,ct,J={},at,tt,se,Tt;;){if(K=y[y.length-1],this.defaultActions[K]?Z=this.defaultActions[K]:((X===null||typeof X>"u")&&(X=dt()),Z=Y[K]&&Y[K][X]),typeof Z>"u"||!Z.length||!Z[0]){var Lt="";Tt=[];for(at in Y[K])this.terminals_[at]&&at>$&&Tt.push("'"+this.terminals_[at]+"'");F.showPosition?Lt="Parse error on line "+(q+1)+`:
1
+ import{g as Re,s as He,p as Be,o as qe,a as Ge,b as Xe,_ as l,c as ht,d as je,aS as U,l as lt,j as Ue,n as Ze,q as Qe,y as Ke}from"./mermaid.core-LenSowoF.js";import{g as Ft}from"./FilePreviewState-ASdBnk4V.js";import{R as Te,y as Je,z as be,A as we,C as _e,B as Ot,D as tr,k as bt}from"./transform-YfG62m2h.js";import{t as er,a as ae,b as oe,c as rr,d as nr,e as ir,f as sr,g as ar,h as or,i as cr,j as ce,k as le,l as ue,s as de,m as fe}from"./time-DjKvo7nM.js";import{l as lr}from"./linear-DcWs93MI.js";import"./index-C152Ccas.js";import"./index-CR7fEnfj.js";import"./workbench-live-service-CUMZR2jn.js";import"./mobile-dialog-return-service-DJIo-xmh.js";import"./init-Gi6I4Gst.js";import"./d3-format-lk9t_ahw.js";const ur=Math.PI/180,dr=180/Math.PI,Yt=18,De=.96422,Se=1,Ce=.82521,Me=4/29,mt=6/29,Ee=3*mt*mt,fr=mt*mt*mt;function Ie(t){if(t instanceof rt)return new rt(t.l,t.a,t.b,t.opacity);if(t instanceof it)return Ye(t);t instanceof Te||(t=Je(t));var e=Vt(t.r),r=Vt(t.g),n=Vt(t.b),i=Wt((.2225045*e+.7168786*r+.0606169*n)/Se),m,f;return e===r&&r===n?m=f=i:(m=Wt((.4360747*e+.3850649*r+.1430804*n)/De),f=Wt((.0139322*e+.0971045*r+.7141733*n)/Ce)),new rt(116*i-16,500*(m-i),200*(i-f),t.opacity)}function hr(t,e,r,n){return arguments.length===1?Ie(t):new rt(t,e,r,n??1)}function rt(t,e,r,n){this.l=+t,this.a=+e,this.b=+r,this.opacity=+n}be(rt,hr,we(_e,{brighter(t){return new rt(this.l+Yt*(t??1),this.a,this.b,this.opacity)},darker(t){return new rt(this.l-Yt*(t??1),this.a,this.b,this.opacity)},rgb(){var t=(this.l+16)/116,e=isNaN(this.a)?t:t+this.a/500,r=isNaN(this.b)?t:t-this.b/200;return e=De*Pt(e),t=Se*Pt(t),r=Ce*Pt(r),new Te(Nt(3.1338561*e-1.6168667*t-.4906146*r),Nt(-.9787684*e+1.9161415*t+.033454*r),Nt(.0719453*e-.2289914*t+1.4052427*r),this.opacity)}}));function Wt(t){return t>fr?Math.pow(t,1/3):t/Ee+Me}function Pt(t){return t>mt?t*t*t:Ee*(t-Me)}function Nt(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function Vt(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function mr(t){if(t instanceof it)return new it(t.h,t.c,t.l,t.opacity);if(t instanceof rt||(t=Ie(t)),t.a===0&&t.b===0)return new it(NaN,0<t.l&&t.l<100?0:NaN,t.l,t.opacity);var e=Math.atan2(t.b,t.a)*dr;return new it(e<0?e+360:e,Math.sqrt(t.a*t.a+t.b*t.b),t.l,t.opacity)}function Ht(t,e,r,n){return arguments.length===1?mr(t):new it(t,e,r,n??1)}function it(t,e,r,n){this.h=+t,this.c=+e,this.l=+r,this.opacity=+n}function Ye(t){if(isNaN(t.h))return new rt(t.l,0,0,t.opacity);var e=t.h*ur;return new rt(t.l,Math.cos(e)*t.c,Math.sin(e)*t.c,t.opacity)}be(it,Ht,we(_e,{brighter(t){return new it(this.h,this.c,this.l+Yt*(t??1),this.opacity)},darker(t){return new it(this.h,this.c,this.l-Yt*(t??1),this.opacity)},rgb(){return Ye(this).rgb()}}));function kr(t){return function(e,r){var n=t((e=Ht(e)).h,(r=Ht(r)).h),i=Ot(e.c,r.c),m=Ot(e.l,r.l),f=Ot(e.opacity,r.opacity);return function(b){return e.h=n(b),e.c=i(b),e.l=m(b),e.opacity=f(b),e+""}}}const yr=kr(tr);function gr(t,e){let r;if(e===void 0)for(const n of t)n!=null&&(r<n||r===void 0&&n>=n)&&(r=n);else{let n=-1;for(let i of t)(i=e(i,++n,t))!=null&&(r<i||r===void 0&&i>=i)&&(r=i)}return r}function pr(t,e){let r;if(e===void 0)for(const n of t)n!=null&&(r>n||r===void 0&&n>=n)&&(r=n);else{let n=-1;for(let i of t)(i=e(i,++n,t))!=null&&(r>i||r===void 0&&i>=i)&&(r=i)}return r}function vr(t){return t}var _t=1,zt=2,Bt=3,wt=4,he=1e-6;function xr(t){return"translate("+t+",0)"}function Tr(t){return"translate(0,"+t+")"}function br(t){return e=>+t(e)}function wr(t,e){return e=Math.max(0,t.bandwidth()-e*2)/2,t.round()&&(e=Math.round(e)),r=>+t(r)+e}function _r(){return!this.__axis}function $e(t,e){var r=[],n=null,i=null,m=6,f=6,b=3,C=typeof window<"u"&&window.devicePixelRatio>1?0:.5,L=t===_t||t===wt?-1:1,w=t===wt||t===zt?"x":"y",P=t===_t||t===Bt?xr:Tr;function _(D){var G=n??(e.ticks?e.ticks.apply(e,r):e.domain()),R=i??(e.tickFormat?e.tickFormat.apply(e,r):vr),g=Math.max(m,0)+b,M=e.range(),W=+M[0]+C,O=+M[M.length-1]+C,H=(e.bandwidth?wr:br)(e.copy(),C),z=D.selection?D.selection():D,I=z.selectAll(".domain").data([null]),x=z.selectAll(".tick").data(G,e).order(),k=x.exit(),E=x.enter().append("g").attr("class","tick"),h=x.select("line"),T=x.select("text");I=I.merge(I.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),x=x.merge(E),h=h.merge(E.append("line").attr("stroke","currentColor").attr(w+"2",L*m)),T=T.merge(E.append("text").attr("fill","currentColor").attr(w,L*g).attr("dy",t===_t?"0em":t===Bt?"0.71em":"0.32em")),D!==z&&(I=I.transition(D),x=x.transition(D),h=h.transition(D),T=T.transition(D),k=k.transition(D).attr("opacity",he).attr("transform",function(v){return isFinite(v=H(v))?P(v+C):this.getAttribute("transform")}),E.attr("opacity",he).attr("transform",function(v){var p=this.parentNode.__axis;return P((p&&isFinite(p=p(v))?p:H(v))+C)})),k.remove(),I.attr("d",t===wt||t===zt?f?"M"+L*f+","+W+"H"+C+"V"+O+"H"+L*f:"M"+C+","+W+"V"+O:f?"M"+W+","+L*f+"V"+C+"H"+O+"V"+L*f:"M"+W+","+C+"H"+O),x.attr("opacity",1).attr("transform",function(v){return P(H(v)+C)}),h.attr(w+"2",L*m),T.attr(w,L*g).text(R),z.filter(_r).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",t===zt?"start":t===wt?"end":"middle"),z.each(function(){this.__axis=H})}return _.scale=function(D){return arguments.length?(e=D,_):e},_.ticks=function(){return r=Array.from(arguments),_},_.tickArguments=function(D){return arguments.length?(r=D==null?[]:Array.from(D),_):r.slice()},_.tickValues=function(D){return arguments.length?(n=D==null?null:Array.from(D),_):n&&n.slice()},_.tickFormat=function(D){return arguments.length?(i=D,_):i},_.tickSize=function(D){return arguments.length?(m=f=+D,_):m},_.tickSizeInner=function(D){return arguments.length?(m=+D,_):m},_.tickSizeOuter=function(D){return arguments.length?(f=+D,_):f},_.tickPadding=function(D){return arguments.length?(b=+D,_):b},_.offset=function(D){return arguments.length?(C=+D,_):C},_}function Dr(t){return $e(_t,t)}function Sr(t){return $e(Bt,t)}var Dt={exports:{}},Cr=Dt.exports,me;function Mr(){return me||(me=1,(function(t,e){(function(r,n){t.exports=n()})(Cr,(function(){var r="day";return function(n,i,m){var f=function(L){return L.add(4-L.isoWeekday(),r)},b=i.prototype;b.isoWeekYear=function(){return f(this).year()},b.isoWeek=function(L){if(!this.$utils().u(L))return this.add(7*(L-this.isoWeek()),r);var w,P,_,D,G=f(this),R=(w=this.isoWeekYear(),P=this.$u,_=(P?m.utc:m)().year(w).startOf("year"),D=4-_.isoWeekday(),_.isoWeekday()>4&&(D+=7),_.add(D,r));return G.diff(R,"week")+1},b.isoWeekday=function(L){return this.$utils().u(L)?this.day()||7:this.day(this.day()%7?L:L-7)};var C=b.startOf;b.startOf=function(L,w){var P=this.$utils(),_=!!P.u(w)||w;return P.p(L)==="isoweek"?_?this.date(this.date()-(this.isoWeekday()-1)).startOf("day"):this.date(this.date()-1-(this.isoWeekday()-1)+7).endOf("day"):C.bind(this)(L,w)}}}))})(Dt)),Dt.exports}var Er=Mr();const Ir=Ft(Er);var St={exports:{}},Yr=St.exports,ke;function $r(){return ke||(ke=1,(function(t,e){(function(r,n){t.exports=n()})(Yr,(function(){var r={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},n=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,i=/\d/,m=/\d\d/,f=/\d\d?/,b=/\d*[^-_:/,()\s\d]+/,C={},L=function(g){return(g=+g)+(g>68?1900:2e3)},w=function(g){return function(M){this[g]=+M}},P=[/[+-]\d\d:?(\d\d)?|Z/,function(g){(this.zone||(this.zone={})).offset=(function(M){if(!M||M==="Z")return 0;var W=M.match(/([+-]|\d\d)/g),O=60*W[1]+(+W[2]||0);return O===0?0:W[0]==="+"?-O:O})(g)}],_=function(g){var M=C[g];return M&&(M.indexOf?M:M.s.concat(M.f))},D=function(g,M){var W,O=C.meridiem;if(O){for(var H=1;H<=24;H+=1)if(g.indexOf(O(H,0,M))>-1){W=H>12;break}}else W=g===(M?"pm":"PM");return W},G={A:[b,function(g){this.afternoon=D(g,!1)}],a:[b,function(g){this.afternoon=D(g,!0)}],Q:[i,function(g){this.month=3*(g-1)+1}],S:[i,function(g){this.milliseconds=100*+g}],SS:[m,function(g){this.milliseconds=10*+g}],SSS:[/\d{3}/,function(g){this.milliseconds=+g}],s:[f,w("seconds")],ss:[f,w("seconds")],m:[f,w("minutes")],mm:[f,w("minutes")],H:[f,w("hours")],h:[f,w("hours")],HH:[f,w("hours")],hh:[f,w("hours")],D:[f,w("day")],DD:[m,w("day")],Do:[b,function(g){var M=C.ordinal,W=g.match(/\d+/);if(this.day=W[0],M)for(var O=1;O<=31;O+=1)M(O).replace(/\[|\]/g,"")===g&&(this.day=O)}],w:[f,w("week")],ww:[m,w("week")],M:[f,w("month")],MM:[m,w("month")],MMM:[b,function(g){var M=_("months"),W=(_("monthsShort")||M.map((function(O){return O.slice(0,3)}))).indexOf(g)+1;if(W<1)throw new Error;this.month=W%12||W}],MMMM:[b,function(g){var M=_("months").indexOf(g)+1;if(M<1)throw new Error;this.month=M%12||M}],Y:[/[+-]?\d+/,w("year")],YY:[m,function(g){this.year=L(g)}],YYYY:[/\d{4}/,w("year")],Z:P,ZZ:P};function R(g){var M,W;M=g,W=C&&C.formats;for(var O=(g=M.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(h,T,v){var p=v&&v.toUpperCase();return T||W[v]||r[v]||W[p].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(a,d,y){return d||y.slice(1)}))}))).match(n),H=O.length,z=0;z<H;z+=1){var I=O[z],x=G[I],k=x&&x[0],E=x&&x[1];O[z]=E?{regex:k,parser:E}:I.replace(/^\[|\]$/g,"")}return function(h){for(var T={},v=0,p=0;v<H;v+=1){var a=O[v];if(typeof a=="string")p+=a.length;else{var d=a.regex,y=a.parser,u=h.slice(p),S=d.exec(u)[0];y.call(T,S),h=h.replace(S,"")}}return(function(s){var Y=s.afternoon;if(Y!==void 0){var o=s.hours;Y?o<12&&(s.hours+=12):o===12&&(s.hours=0),delete s.afternoon}})(T),T}}return function(g,M,W){W.p.customParseFormat=!0,g&&g.parseTwoDigitYear&&(L=g.parseTwoDigitYear);var O=M.prototype,H=O.parse;O.parse=function(z){var I=z.date,x=z.utc,k=z.args;this.$u=x;var E=k[1];if(typeof E=="string"){var h=k[2]===!0,T=k[3]===!0,v=h||T,p=k[2];T&&(p=k[2]),C=this.$locale(),!h&&p&&(C=W.Ls[p]),this.$d=(function(u,S,s,Y){try{if(["x","X"].indexOf(S)>-1)return new Date((S==="X"?1e3:1)*u);var o=R(S)(u),q=o.year,c=o.month,$=o.day,A=o.hours,V=o.minutes,F=o.seconds,B=o.milliseconds,N=o.zone,st=o.week,ot=new Date,vt=$||(q||c?1:ot.getDate()),dt=q||ot.getFullYear(),X=0;q&&!c||(X=c>0?c-1:ot.getMonth());var K,Z=A||0,ct=V||0,J=F||0,at=B||0;return N?new Date(Date.UTC(dt,X,vt,Z,ct,J,at+60*N.offset*1e3)):s?new Date(Date.UTC(dt,X,vt,Z,ct,J,at)):(K=new Date(dt,X,vt,Z,ct,J,at),st&&(K=Y(K).week(st).toDate()),K)}catch{return new Date("")}})(I,E,x,W),this.init(),p&&p!==!0&&(this.$L=this.locale(p).$L),v&&I!=this.format(E)&&(this.$d=new Date("")),C={}}else if(E instanceof Array)for(var a=E.length,d=1;d<=a;d+=1){k[1]=E[d-1];var y=W.apply(this,k);if(y.isValid()){this.$d=y.$d,this.$L=y.$L,this.init();break}d===a&&(this.$d=new Date(""))}else H.call(this,z)}}}))})(St)),St.exports}var Ar=$r();const Fr=Ft(Ar);var Ct={exports:{}},Lr=Ct.exports,ye;function Or(){return ye||(ye=1,(function(t,e){(function(r,n){t.exports=n()})(Lr,(function(){return function(r,n){var i=n.prototype,m=i.format;i.format=function(f){var b=this,C=this.$locale();if(!this.isValid())return m.bind(this)(f);var L=this.$utils(),w=(f||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,(function(P){switch(P){case"Q":return Math.ceil((b.$M+1)/3);case"Do":return C.ordinal(b.$D);case"gggg":return b.weekYear();case"GGGG":return b.isoWeekYear();case"wo":return C.ordinal(b.week(),"W");case"w":case"ww":return L.s(b.week(),P==="w"?1:2,"0");case"W":case"WW":return L.s(b.isoWeek(),P==="W"?1:2,"0");case"k":case"kk":return L.s(String(b.$H===0?24:b.$H),P==="k"?1:2,"0");case"X":return Math.floor(b.$d.getTime()/1e3);case"x":return b.$d.getTime();case"z":return"["+b.offsetName()+"]";case"zzz":return"["+b.offsetName("long")+"]";default:return P}}));return m.bind(this)(w)}}}))})(Ct)),Ct.exports}var Wr=Or();const Pr=Ft(Wr);var Mt={exports:{}},Nr=Mt.exports,ge;function Vr(){return ge||(ge=1,(function(t,e){(function(r,n){t.exports=n()})(Nr,(function(){var r,n,i=1e3,m=6e4,f=36e5,b=864e5,C=31536e6,L=2628e6,w=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,P=/\[([^\]]+)]|YYYY|YY|Y|M{1,2}|D{1,2}|H{1,2}|m{1,2}|s{1,2}|SSS/g,_={years:C,months:L,days:b,hours:f,minutes:m,seconds:i,milliseconds:1,weeks:6048e5},D=function(I){return I instanceof H},G=function(I,x,k){return new H(I,k,x.$l)},R=function(I){return n.p(I)+"s"},g=function(I){return I<0},M=function(I){return g(I)?Math.ceil(I):Math.floor(I)},W=function(I){return Math.abs(I)},O=function(I,x){return I?g(I)?{negative:!0,format:""+W(I)+x}:{negative:!1,format:""+I+x}:{negative:!1,format:""}},H=(function(){function I(k,E,h){var T=this;if(this.$d={},this.$l=h,k===void 0&&(this.$ms=0,this.parseFromMilliseconds()),E)return G(k*_[R(E)],this);if(typeof k=="number")return this.$ms=k,this.parseFromMilliseconds(),this;if(typeof k=="object")return Object.keys(k).forEach((function(a){T.$d[R(a)]=k[a]})),this.calMilliseconds(),this;if(typeof k=="string"){var v=k.match(w);if(v){var p=v.slice(2).map((function(a){return a!=null?Number(a):0}));return this.$d.years=p[0],this.$d.months=p[1],this.$d.weeks=p[2],this.$d.days=p[3],this.$d.hours=p[4],this.$d.minutes=p[5],this.$d.seconds=p[6],this.calMilliseconds(),this}}return this}var x=I.prototype;return x.calMilliseconds=function(){var k=this;this.$ms=Object.keys(this.$d).reduce((function(E,h){return E+(k.$d[h]||0)*_[h]}),0)},x.parseFromMilliseconds=function(){var k=this.$ms;this.$d.years=M(k/C),k%=C,this.$d.months=M(k/L),k%=L,this.$d.days=M(k/b),k%=b,this.$d.hours=M(k/f),k%=f,this.$d.minutes=M(k/m),k%=m,this.$d.seconds=M(k/i),k%=i,this.$d.milliseconds=k},x.toISOString=function(){var k=O(this.$d.years,"Y"),E=O(this.$d.months,"M"),h=+this.$d.days||0;this.$d.weeks&&(h+=7*this.$d.weeks);var T=O(h,"D"),v=O(this.$d.hours,"H"),p=O(this.$d.minutes,"M"),a=this.$d.seconds||0;this.$d.milliseconds&&(a+=this.$d.milliseconds/1e3,a=Math.round(1e3*a)/1e3);var d=O(a,"S"),y=k.negative||E.negative||T.negative||v.negative||p.negative||d.negative,u=v.format||p.format||d.format?"T":"",S=(y?"-":"")+"P"+k.format+E.format+T.format+u+v.format+p.format+d.format;return S==="P"||S==="-P"?"P0D":S},x.toJSON=function(){return this.toISOString()},x.format=function(k){var E=k||"YYYY-MM-DDTHH:mm:ss",h={Y:this.$d.years,YY:n.s(this.$d.years,2,"0"),YYYY:n.s(this.$d.years,4,"0"),M:this.$d.months,MM:n.s(this.$d.months,2,"0"),D:this.$d.days,DD:n.s(this.$d.days,2,"0"),H:this.$d.hours,HH:n.s(this.$d.hours,2,"0"),m:this.$d.minutes,mm:n.s(this.$d.minutes,2,"0"),s:this.$d.seconds,ss:n.s(this.$d.seconds,2,"0"),SSS:n.s(this.$d.milliseconds,3,"0")};return E.replace(P,(function(T,v){return v||String(h[T])}))},x.as=function(k){return this.$ms/_[R(k)]},x.get=function(k){var E=this.$ms,h=R(k);return h==="milliseconds"?E%=1e3:E=h==="weeks"?M(E/_[h]):this.$d[h],E||0},x.add=function(k,E,h){var T;return T=E?k*_[R(E)]:D(k)?k.$ms:G(k,this).$ms,G(this.$ms+T*(h?-1:1),this)},x.subtract=function(k,E){return this.add(k,E,!0)},x.locale=function(k){var E=this.clone();return E.$l=k,E},x.clone=function(){return G(this.$ms,this)},x.humanize=function(k){return r().add(this.$ms,"ms").locale(this.$l).fromNow(!k)},x.valueOf=function(){return this.asMilliseconds()},x.milliseconds=function(){return this.get("milliseconds")},x.asMilliseconds=function(){return this.as("milliseconds")},x.seconds=function(){return this.get("seconds")},x.asSeconds=function(){return this.as("seconds")},x.minutes=function(){return this.get("minutes")},x.asMinutes=function(){return this.as("minutes")},x.hours=function(){return this.get("hours")},x.asHours=function(){return this.as("hours")},x.days=function(){return this.get("days")},x.asDays=function(){return this.as("days")},x.weeks=function(){return this.get("weeks")},x.asWeeks=function(){return this.as("weeks")},x.months=function(){return this.get("months")},x.asMonths=function(){return this.as("months")},x.years=function(){return this.get("years")},x.asYears=function(){return this.as("years")},I})(),z=function(I,x,k){return I.add(x.years()*k,"y").add(x.months()*k,"M").add(x.days()*k,"d").add(x.hours()*k,"h").add(x.minutes()*k,"m").add(x.seconds()*k,"s").add(x.milliseconds()*k,"ms")};return function(I,x,k){r=k,n=k().$utils(),k.duration=function(T,v){var p=k.locale();return G(T,{$l:p},v)},k.isDuration=D;var E=x.prototype.add,h=x.prototype.subtract;x.prototype.add=function(T,v){return D(T)?z(this,T,1):E.bind(this)(T,v)},x.prototype.subtract=function(T,v){return D(T)?z(this,T,-1):h.bind(this)(T,v)}}}))})(Mt)),Mt.exports}var zr=Vr();const Rr=Ft(zr);var qt=(function(){var t=l(function(p,a,d,y){for(d=d||{},y=p.length;y--;d[p[y]]=a);return d},"o"),e=[6,8,10,12,13,14,15,16,17,18,20,21,22,23,24,25,26,27,28,29,30,31,33,35,36,38,40],r=[1,26],n=[1,27],i=[1,28],m=[1,29],f=[1,30],b=[1,31],C=[1,32],L=[1,33],w=[1,34],P=[1,9],_=[1,10],D=[1,11],G=[1,12],R=[1,13],g=[1,14],M=[1,15],W=[1,16],O=[1,19],H=[1,20],z=[1,21],I=[1,22],x=[1,23],k=[1,25],E=[1,35],h={trace:l(function(){},"trace"),yy:{},symbols_:{error:2,start:3,gantt:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NL:10,weekday:11,weekday_monday:12,weekday_tuesday:13,weekday_wednesday:14,weekday_thursday:15,weekday_friday:16,weekday_saturday:17,weekday_sunday:18,weekend:19,weekend_friday:20,weekend_saturday:21,dateFormat:22,inclusiveEndDates:23,topAxis:24,axisFormat:25,tickInterval:26,excludes:27,includes:28,todayMarker:29,title:30,acc_title:31,acc_title_value:32,acc_descr:33,acc_descr_value:34,acc_descr_multiline_value:35,section:36,clickStatement:37,taskTxt:38,taskData:39,click:40,callbackname:41,callbackargs:42,href:43,clickStatementDebug:44,$accept:0,$end:1},terminals_:{2:"error",4:"gantt",6:"EOF",8:"SPACE",10:"NL",12:"weekday_monday",13:"weekday_tuesday",14:"weekday_wednesday",15:"weekday_thursday",16:"weekday_friday",17:"weekday_saturday",18:"weekday_sunday",20:"weekend_friday",21:"weekend_saturday",22:"dateFormat",23:"inclusiveEndDates",24:"topAxis",25:"axisFormat",26:"tickInterval",27:"excludes",28:"includes",29:"todayMarker",30:"title",31:"acc_title",32:"acc_title_value",33:"acc_descr",34:"acc_descr_value",35:"acc_descr_multiline_value",36:"section",38:"taskTxt",39:"taskData",40:"click",41:"callbackname",42:"callbackargs",43:"href"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[11,1],[11,1],[11,1],[11,1],[11,1],[11,1],[11,1],[19,1],[19,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,1],[9,2],[37,2],[37,3],[37,3],[37,4],[37,3],[37,4],[37,2],[44,2],[44,3],[44,3],[44,4],[44,3],[44,4],[44,2]],performAction:l(function(a,d,y,u,S,s,Y){var o=s.length-1;switch(S){case 1:return s[o-1];case 2:this.$=[];break;case 3:s[o-1].push(s[o]),this.$=s[o-1];break;case 4:case 5:this.$=s[o];break;case 6:case 7:this.$=[];break;case 8:u.setWeekday("monday");break;case 9:u.setWeekday("tuesday");break;case 10:u.setWeekday("wednesday");break;case 11:u.setWeekday("thursday");break;case 12:u.setWeekday("friday");break;case 13:u.setWeekday("saturday");break;case 14:u.setWeekday("sunday");break;case 15:u.setWeekend("friday");break;case 16:u.setWeekend("saturday");break;case 17:u.setDateFormat(s[o].substr(11)),this.$=s[o].substr(11);break;case 18:u.enableInclusiveEndDates(),this.$=s[o].substr(18);break;case 19:u.TopAxis(),this.$=s[o].substr(8);break;case 20:u.setAxisFormat(s[o].substr(11)),this.$=s[o].substr(11);break;case 21:u.setTickInterval(s[o].substr(13)),this.$=s[o].substr(13);break;case 22:u.setExcludes(s[o].substr(9)),this.$=s[o].substr(9);break;case 23:u.setIncludes(s[o].substr(9)),this.$=s[o].substr(9);break;case 24:u.setTodayMarker(s[o].substr(12)),this.$=s[o].substr(12);break;case 27:u.setDiagramTitle(s[o].substr(6)),this.$=s[o].substr(6);break;case 28:this.$=s[o].trim(),u.setAccTitle(this.$);break;case 29:case 30:this.$=s[o].trim(),u.setAccDescription(this.$);break;case 31:u.addSection(s[o].substr(8)),this.$=s[o].substr(8);break;case 33:u.addTask(s[o-1],s[o]),this.$="task";break;case 34:this.$=s[o-1],u.setClickEvent(s[o-1],s[o],null);break;case 35:this.$=s[o-2],u.setClickEvent(s[o-2],s[o-1],s[o]);break;case 36:this.$=s[o-2],u.setClickEvent(s[o-2],s[o-1],null),u.setLink(s[o-2],s[o]);break;case 37:this.$=s[o-3],u.setClickEvent(s[o-3],s[o-2],s[o-1]),u.setLink(s[o-3],s[o]);break;case 38:this.$=s[o-2],u.setClickEvent(s[o-2],s[o],null),u.setLink(s[o-2],s[o-1]);break;case 39:this.$=s[o-3],u.setClickEvent(s[o-3],s[o-1],s[o]),u.setLink(s[o-3],s[o-2]);break;case 40:this.$=s[o-1],u.setLink(s[o-1],s[o]);break;case 41:case 47:this.$=s[o-1]+" "+s[o];break;case 42:case 43:case 45:this.$=s[o-2]+" "+s[o-1]+" "+s[o];break;case 44:case 46:this.$=s[o-3]+" "+s[o-2]+" "+s[o-1]+" "+s[o];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:17,12:r,13:n,14:i,15:m,16:f,17:b,18:C,19:18,20:L,21:w,22:P,23:_,24:D,25:G,26:R,27:g,28:M,29:W,30:O,31:H,33:z,35:I,36:x,37:24,38:k,40:E},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:36,11:17,12:r,13:n,14:i,15:m,16:f,17:b,18:C,19:18,20:L,21:w,22:P,23:_,24:D,25:G,26:R,27:g,28:M,29:W,30:O,31:H,33:z,35:I,36:x,37:24,38:k,40:E},t(e,[2,5]),t(e,[2,6]),t(e,[2,17]),t(e,[2,18]),t(e,[2,19]),t(e,[2,20]),t(e,[2,21]),t(e,[2,22]),t(e,[2,23]),t(e,[2,24]),t(e,[2,25]),t(e,[2,26]),t(e,[2,27]),{32:[1,37]},{34:[1,38]},t(e,[2,30]),t(e,[2,31]),t(e,[2,32]),{39:[1,39]},t(e,[2,8]),t(e,[2,9]),t(e,[2,10]),t(e,[2,11]),t(e,[2,12]),t(e,[2,13]),t(e,[2,14]),t(e,[2,15]),t(e,[2,16]),{41:[1,40],43:[1,41]},t(e,[2,4]),t(e,[2,28]),t(e,[2,29]),t(e,[2,33]),t(e,[2,34],{42:[1,42],43:[1,43]}),t(e,[2,40],{41:[1,44]}),t(e,[2,35],{43:[1,45]}),t(e,[2,36]),t(e,[2,38],{42:[1,46]}),t(e,[2,37]),t(e,[2,39])],defaultActions:{},parseError:l(function(a,d){if(d.recoverable)this.trace(a);else{var y=new Error(a);throw y.hash=d,y}},"parseError"),parse:l(function(a){var d=this,y=[0],u=[],S=[null],s=[],Y=this.table,o="",q=0,c=0,$=2,A=1,V=s.slice.call(arguments,1),F=Object.create(this.lexer),B={yy:{}};for(var N in this.yy)Object.prototype.hasOwnProperty.call(this.yy,N)&&(B.yy[N]=this.yy[N]);F.setInput(a,B.yy),B.yy.lexer=F,B.yy.parser=this,typeof F.yylloc>"u"&&(F.yylloc={});var st=F.yylloc;s.push(st);var ot=F.options&&F.options.ranges;typeof B.yy.parseError=="function"?this.parseError=B.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function vt(Q){y.length=y.length-2*Q,S.length=S.length-Q,s.length=s.length-Q}l(vt,"popStack");function dt(){var Q;return Q=u.pop()||F.lex()||A,typeof Q!="number"&&(Q instanceof Array&&(u=Q,Q=u.pop()),Q=d.symbols_[Q]||Q),Q}l(dt,"lex");for(var X,K,Z,ct,J={},at,tt,se,Tt;;){if(K=y[y.length-1],this.defaultActions[K]?Z=this.defaultActions[K]:((X===null||typeof X>"u")&&(X=dt()),Z=Y[K]&&Y[K][X]),typeof Z>"u"||!Z.length||!Z[0]){var Lt="";Tt=[];for(at in Y[K])this.terminals_[at]&&at>$&&Tt.push("'"+this.terminals_[at]+"'");F.showPosition?Lt="Parse error on line "+(q+1)+`:
2
2
  `+F.showPosition()+`
3
3
  Expecting `+Tt.join(", ")+", got '"+(this.terminals_[X]||X)+"'":Lt="Parse error on line "+(q+1)+": Unexpected "+(X==A?"end of input":"'"+(this.terminals_[X]||X)+"'"),this.parseError(Lt,{text:F.match,token:this.terminals_[X]||X,line:F.yylineno,loc:st,expected:Tt})}if(Z[0]instanceof Array&&Z.length>1)throw new Error("Parse Error: multiple actions possible at state: "+K+", token: "+X);switch(Z[0]){case 1:y.push(X),S.push(F.yytext),s.push(F.yylloc),y.push(Z[1]),X=null,c=F.yyleng,o=F.yytext,q=F.yylineno,st=F.yylloc;break;case 2:if(tt=this.productions_[Z[1]][1],J.$=S[S.length-tt],J._$={first_line:s[s.length-(tt||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(tt||1)].first_column,last_column:s[s.length-1].last_column},ot&&(J._$.range=[s[s.length-(tt||1)].range[0],s[s.length-1].range[1]]),ct=this.performAction.apply(J,[o,c,q,B.yy,Z[1],S,s].concat(V)),typeof ct<"u")return ct;tt&&(y=y.slice(0,-1*tt*2),S=S.slice(0,-1*tt),s=s.slice(0,-1*tt)),y.push(this.productions_[Z[1]][0]),S.push(J.$),s.push(J._$),se=Y[y[y.length-2]][y[y.length-1]],y.push(se);break;case 3:return!0}}return!0},"parse")},T=(function(){var p={EOF:1,parseError:l(function(d,y){if(this.yy.parser)this.yy.parser.parseError(d,y);else throw new Error(d)},"parseError"),setInput:l(function(a,d){return this.yy=d||this.yy||{},this._input=a,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:l(function(){var a=this._input[0];this.yytext+=a,this.yyleng++,this.offset++,this.match+=a,this.matched+=a;var d=a.match(/(?:\r\n?|\n).*/g);return d?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),a},"input"),unput:l(function(a){var d=a.length,y=a.split(/(?:\r\n?|\n)/g);this._input=a+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-d),this.offset-=d;var u=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),y.length-1&&(this.yylineno-=y.length-1);var S=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:y?(y.length===u.length?this.yylloc.first_column:0)+u[u.length-y.length].length-y[0].length:this.yylloc.first_column-d},this.options.ranges&&(this.yylloc.range=[S[0],S[0]+this.yyleng-d]),this.yyleng=this.yytext.length,this},"unput"),more:l(function(){return this._more=!0,this},"more"),reject:l(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:l(function(a){this.unput(this.match.slice(a))},"less"),pastInput:l(function(){var a=this.matched.substr(0,this.matched.length-this.match.length);return(a.length>20?"...":"")+a.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:l(function(){var a=this.match;return a.length<20&&(a+=this._input.substr(0,20-a.length)),(a.substr(0,20)+(a.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:l(function(){var a=this.pastInput(),d=new Array(a.length+1).join("-");return a+this.upcomingInput()+`
@@ -1,4 +1,4 @@
1
- import{I as lr}from"./chunk-2Q5K7J3B-BA1gceo_.js";import{p as hr}from"./chunk-JWPE2WC7-UFlypnMO.js";import{p as $r,o as fr,s as gr,g as ur,a as yr,b as xr,_ as h,z as J,l as w,c as W,y as mr,A as pr,q as br,j as B,B as wr,D as kr,E as vr}from"./mermaid.core-MKNgFVg9.js";import{p as Cr}from"./cynefin-OW5HDTMX-KTinRx-j.js";import{k as Er}from"./transform-YfG62m2h.js";import"./index-CRSqQjLR.js";import"./FilePreviewState-BHQXkRlO.js";import"./workbench-live-service-CM95FM5m.js";import"./mobile-dialog-return-service-BxkvDYgL.js";import"./index-DnNmD8k8.js";var m={NORMAL:0,REVERSE:1,HIGHLIGHT:2,MERGE:3,CHERRY_PICK:4},Br=kr.gitGraph,S=h(()=>wr({...Br,...J().gitGraph}),"getConfig"),d=new lr(()=>{const r=S(),e=r.mainBranchName,t=r.mainBranchOrder;return{mainBranchName:e,commits:new Map,head:null,branchConfig:new Map([[e,{name:e,order:t}]]),branches:new Map([[e,null]]),currBranch:e,direction:"LR",seq:0,options:{}}});function Y(){return vr({length:7})}h(Y,"getID");function tr(r,e){const t=Object.create(null);return r.reduce((s,o)=>{const i=e(o);return t[i]||(t[i]=!0,s.push(o)),s},[])}h(tr,"uniqBy");var Tr=h(function(r){d.records.direction=r},"setDirection"),Lr=h(function(r){w.debug("options str",r),r=r?.trim(),r=r||"{}";try{d.records.options=JSON.parse(r)}catch(e){w.error("error while parsing gitGraph options",e.message)}},"setOptions"),Mr=h(function(){return d.records.options},"getOptions"),Rr=h(function(r){let e=r.msg,t=r.id;const s=r.type;let o=r.tags;w.info("commit",e,t,s,o),w.debug("Entering commit:",e,t,s,o);const i=S();t=B.sanitizeText(t,i),e=B.sanitizeText(e,i),o=o?.map(a=>B.sanitizeText(a,i));const n={id:t||d.records.seq+"-"+Y(),message:e,seq:d.records.seq++,type:s??m.NORMAL,tags:o??[],parents:d.records.head==null?[]:[d.records.head.id],branch:d.records.currBranch};d.records.head=n,w.info("main branch",i.mainBranchName),d.records.commits.has(n.id)&&w.warn(`Commit ID ${n.id} already exists`),d.records.commits.set(n.id,n),d.records.branches.set(d.records.currBranch,n.id),w.debug("in pushCommit "+n.id)},"commit"),Ir=h(function(r){let e=r.name;const t=r.order;if(e=B.sanitizeText(e,S()),d.records.branches.has(e))throw new Error(`Trying to create an existing branch. (Help: Either use a new name if you want create a new branch or try using "checkout ${e}")`);d.records.branches.set(e,d.records.head!=null?d.records.head.id:null),d.records.branchConfig.set(e,{name:e,order:t}),ar(e),w.debug("in createBranch")},"branch"),Or=h(r=>{let e=r.branch,t=r.id;const s=r.type,o=r.tags,i=S();e=B.sanitizeText(e,i),t&&(t=B.sanitizeText(t,i));const n=d.records.branches.get(d.records.currBranch),a=d.records.branches.get(e),l=n?d.records.commits.get(n):void 0,f=a?d.records.commits.get(a):void 0;if(l&&f&&l.branch===e)throw new Error(`Cannot merge branch '${e}' into itself.`);if(d.records.currBranch===e){const c=new Error('Incorrect usage of "merge". Cannot merge a branch to itself');throw c.hash={text:`merge ${e}`,token:`merge ${e}`,expected:["branch abc"]},c}if(l===void 0||!l){const c=new Error(`Incorrect usage of "merge". Current branch (${d.records.currBranch})has no commits`);throw c.hash={text:`merge ${e}`,token:`merge ${e}`,expected:["commit"]},c}if(!d.records.branches.has(e)){const c=new Error('Incorrect usage of "merge". Branch to be merged ('+e+") does not exist");throw c.hash={text:`merge ${e}`,token:`merge ${e}`,expected:[`branch ${e}`]},c}if(f===void 0||!f){const c=new Error('Incorrect usage of "merge". Branch to be merged ('+e+") has no commits");throw c.hash={text:`merge ${e}`,token:`merge ${e}`,expected:['"commit"']},c}if(l===f){const c=new Error('Incorrect usage of "merge". Both branches have same head');throw c.hash={text:`merge ${e}`,token:`merge ${e}`,expected:["branch abc"]},c}if(t&&d.records.commits.has(t)){const c=new Error('Incorrect usage of "merge". Commit with id:'+t+" already exists, use different custom id");throw c.hash={text:`merge ${e} ${t} ${s} ${o?.join(" ")}`,token:`merge ${e} ${t} ${s} ${o?.join(" ")}`,expected:[`merge ${e} ${t}_UNIQUE ${s} ${o?.join(" ")}`]},c}const g=a||"",$={id:t||`${d.records.seq}-${Y()}`,message:`merged branch ${e} into ${d.records.currBranch}`,seq:d.records.seq++,parents:d.records.head==null?[]:[d.records.head.id,g],branch:d.records.currBranch,type:m.MERGE,customType:s,customId:!!t,tags:o??[]};d.records.head=$,d.records.commits.set($.id,$),d.records.branches.set(d.records.currBranch,$.id),w.debug(d.records.branches),w.debug("in mergeBranch")},"merge"),_r=h(function(r){let e=r.id,t=r.targetId,s=r.tags,o=r.parent;w.debug("Entering cherryPick:",e,t,s);const i=S();if(e=B.sanitizeText(e,i),t=B.sanitizeText(t,i),s=s?.map(l=>B.sanitizeText(l,i)),o=B.sanitizeText(o,i),!e||!d.records.commits.has(e)){const l=new Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');throw l.hash={text:`cherryPick ${e} ${t}`,token:`cherryPick ${e} ${t}`,expected:["cherry-pick abc"]},l}const n=d.records.commits.get(e);if(n===void 0||!n)throw new Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');if(o&&!(Array.isArray(n.parents)&&n.parents.includes(o)))throw new Error("Invalid operation: The specified parent commit is not an immediate parent of the cherry-picked commit.");const a=n.branch;if(n.type===m.MERGE&&!o)throw new Error("Incorrect usage of cherry-pick: If the source commit is a merge commit, an immediate parent commit must be specified.");if(!t||!d.records.commits.has(t)){if(a===d.records.currBranch){const $=new Error('Incorrect usage of "cherryPick". Source commit is already on current branch');throw $.hash={text:`cherryPick ${e} ${t}`,token:`cherryPick ${e} ${t}`,expected:["cherry-pick abc"]},$}const l=d.records.branches.get(d.records.currBranch);if(l===void 0||!l){const $=new Error(`Incorrect usage of "cherry-pick". Current branch (${d.records.currBranch})has no commits`);throw $.hash={text:`cherryPick ${e} ${t}`,token:`cherryPick ${e} ${t}`,expected:["cherry-pick abc"]},$}const f=d.records.commits.get(l);if(f===void 0||!f){const $=new Error(`Incorrect usage of "cherry-pick". Current branch (${d.records.currBranch})has no commits`);throw $.hash={text:`cherryPick ${e} ${t}`,token:`cherryPick ${e} ${t}`,expected:["cherry-pick abc"]},$}const g={id:d.records.seq+"-"+Y(),message:`cherry-picked ${n?.message} into ${d.records.currBranch}`,seq:d.records.seq++,parents:d.records.head==null?[]:[d.records.head.id,n.id],branch:d.records.currBranch,type:m.CHERRY_PICK,tags:s?s.filter(Boolean):[`cherry-pick:${n.id}${n.type===m.MERGE?`|parent:${o}`:""}`]};d.records.head=g,d.records.commits.set(g.id,g),d.records.branches.set(d.records.currBranch,g.id),w.debug(d.records.branches),w.debug("in cherryPick")}},"cherryPick"),ar=h(function(r){if(r=B.sanitizeText(r,S()),d.records.branches.has(r)){d.records.currBranch=r;const e=d.records.branches.get(d.records.currBranch);e===void 0||!e?d.records.head=null:d.records.head=d.records.commits.get(e)??null}else{const e=new Error(`Trying to checkout branch which is not yet created. (Help try using "branch ${r}")`);throw e.hash={text:`checkout ${r}`,token:`checkout ${r}`,expected:[`branch ${r}`]},e}},"checkout");function V(r,e,t){const s=r.indexOf(e);s===-1?r.push(t):r.splice(s,1,t)}h(V,"upsert");function Q(r){const e=r.reduce((o,i)=>o.seq>i.seq?o:i,r[0]);let t="";r.forEach(function(o){o===e?t+=" *":t+=" |"});const s=[t,e.id,e.seq];for(const o in d.records.branches)d.records.branches.get(o)===e.id&&s.push(o);if(w.debug(s.join(" ")),e.parents&&e.parents.length==2&&e.parents[0]&&e.parents[1]){const o=d.records.commits.get(e.parents[0]);V(r,e,o),e.parents[1]&&r.push(d.records.commits.get(e.parents[1]))}else{if(e.parents.length==0)return;if(e.parents[0]){const o=d.records.commits.get(e.parents[0]);V(r,e,o)}}r=tr(r,o=>o.id),Q(r)}h(Q,"prettyPrintCommitHistory");var Gr=h(function(){w.debug(d.records.commits);const r=nr()[0];Q([r])},"prettyPrint"),Hr=h(function(){d.reset(),br()},"clear"),Sr=h(function(){return[...d.records.branchConfig.values()].map((e,t)=>e.order!==null&&e.order!==void 0?e:{...e,order:parseFloat(`0.${t}`)}).sort((e,t)=>(e.order??0)-(t.order??0)).map(({name:e})=>({name:e}))},"getBranchesAsObjArray"),Ar=h(function(){return d.records.branches},"getBranches"),Dr=h(function(){return d.records.commits},"getCommits"),nr=h(function(){const r=[...d.records.commits.values()];return r.forEach(function(e){w.debug(e.id)}),r.sort((e,t)=>e.seq-t.seq),r},"getCommitsArray"),qr=h(function(){return d.records.currBranch},"getCurrentBranch"),Pr=h(function(){return d.records.direction},"getDirection"),Wr=h(function(){return d.records.head},"getHead"),sr={commitType:m,getConfig:S,setDirection:Tr,setOptions:Lr,getOptions:Mr,commit:Rr,branch:Ir,merge:Or,cherryPick:_r,checkout:ar,prettyPrint:Gr,clear:Hr,getBranchesAsObjArray:Sr,getBranches:Ar,getCommits:Dr,getCommitsArray:nr,getCurrentBranch:qr,getDirection:Pr,getHead:Wr,setAccTitle:xr,getAccTitle:yr,getAccDescription:ur,setAccDescription:gr,setDiagramTitle:fr,getDiagramTitle:$r},Nr=h((r,e)=>{hr(r,e),r.dir&&e.setDirection(r.dir);for(const t of r.statements)Fr(t,e)},"populate"),Fr=h((r,e)=>{const s={Commit:h(o=>e.commit(zr(o)),"Commit"),Branch:h(o=>e.branch(Yr(o)),"Branch"),Merge:h(o=>e.merge(jr(o)),"Merge"),Checkout:h(o=>e.checkout(Ur(o)),"Checkout"),CherryPicking:h(o=>e.cherryPick(Kr(o)),"CherryPicking")}[r.$type];s?s(r):w.error(`Unknown statement type: ${r.$type}`)},"parseStatement"),zr=h(r=>({id:r.id,msg:r.message??"",type:r.type!==void 0?m[r.type]:m.NORMAL,tags:r.tags??void 0}),"parseCommit"),Yr=h(r=>({name:r.name,order:r.order??0}),"parseBranch"),jr=h(r=>({branch:r.branch,id:r.id??"",type:r.type!==void 0?m[r.type]:void 0,tags:r.tags??void 0}),"parseMerge"),Ur=h(r=>r.branch,"parseCheckout"),Kr=h(r=>({id:r.id,targetId:"",tags:r.tags?.length===0?void 0:r.tags,parent:r.parent}),"parseCherryPicking"),Vr={parse:h(async r=>{const e=await Cr("gitGraph",r);w.debug(e),Nr(e,sr)},"parse")},O=10,_=40,L=4,R=2,G=8,j=new Set(["redux","redux-dark","redux-color","redux-dark-color"]),X=12,Z=new Set(["redux-color","redux-dark-color"]),Xr=new Set(["dark","redux-dark","redux-dark-color","neo-dark"]),H=h((r,e,t=!1)=>t&&r>0?(r-1)%(e-1)+1:r%e,"calcColorIndex"),C=new Map,E=new Map,F=30,q=new Map,z=[],I=0,y="LR",Jr=h(()=>{C.clear(),E.clear(),q.clear(),I=0,z=[],y="LR"},"clear"),or=h(r=>{const e=document.createElementNS("http://www.w3.org/2000/svg","text");return(typeof r=="string"?r.split(/\\n|\n|<br\s*\/?>/gi):r).forEach(s=>{const o=document.createElementNS("http://www.w3.org/2000/svg","tspan");o.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),o.setAttribute("dy","1em"),o.setAttribute("x","0"),o.setAttribute("class","row"),o.textContent=s.trim(),e.appendChild(o)}),e},"drawText"),cr=h(r=>{let e,t,s;return y==="BT"?(t=h((o,i)=>o<=i,"comparisonFunc"),s=1/0):(t=h((o,i)=>o>=i,"comparisonFunc"),s=0),r.forEach(o=>{const i=y==="TB"||y=="BT"?E.get(o)?.y:E.get(o)?.x;i!==void 0&&t(i,s)&&(e=o,s=i)}),e},"findClosestParent"),Qr=h(r=>{let e="",t=1/0;return r.forEach(s=>{const o=E.get(s).y;o<=t&&(e=s,t=o)}),e||void 0},"findClosestParentBT"),Zr=h((r,e,t)=>{let s=t,o=t;const i=[];r.forEach(n=>{const a=e.get(n);if(!a)throw new Error(`Commit not found for key ${n}`);a.parents.length?(s=ee(a),o=Math.max(s,o)):i.push(a),te(a,s)}),s=o,i.forEach(n=>{ae(n,s,t)}),r.forEach(n=>{const a=e.get(n);if(a?.parents.length){const l=Qr(a.parents);s=E.get(l).y-_,s<=o&&(o=s);const f=C.get(a.branch).pos,g=s-O;E.set(a.id,{x:f,y:g})}})},"setParallelBTPos"),re=h(r=>{const e=cr(r.parents.filter(s=>s!==null));if(!e)throw new Error(`Closest parent not found for commit ${r.id}`);const t=E.get(e)?.y;if(t===void 0)throw new Error(`Closest parent position not found for commit ${r.id}`);return t},"findClosestParentPos"),ee=h(r=>re(r)+_,"calculateCommitPosition"),te=h((r,e)=>{const t=C.get(r.branch);if(!t)throw new Error(`Branch not found for commit ${r.id}`);const s=t.pos,o=e+O;return E.set(r.id,{x:s,y:o}),{x:s,y:o}},"setCommitPosition"),ae=h((r,e,t)=>{const s=C.get(r.branch);if(!s)throw new Error(`Branch not found for commit ${r.id}`);const o=e+t,i=s.pos;E.set(r.id,{x:i,y:o})},"setRootPosition"),ne=h((r,e,t,s,o,i)=>{const{theme:n}=W(),a=j.has(n??""),l=Z.has(n??""),f=Xr.has(n??"");if(i===m.HIGHLIGHT)r.append("rect").attr("x",t.x-10+(a?3:0)).attr("y",t.y-10+(a?3:0)).attr("width",a?14:20).attr("height",a?14:20).attr("class",`commit ${e.id} commit-highlight${H(o,G,l)} ${s}-outer`),r.append("rect").attr("x",t.x-6+(a?2:0)).attr("y",t.y-6+(a?2:0)).attr("width",a?8:12).attr("height",a?8:12).attr("class",`commit ${e.id} commit${H(o,G,l)} ${s}-inner`);else if(i===m.CHERRY_PICK)r.append("circle").attr("cx",t.x).attr("cy",t.y).attr("r",a?7:10).attr("class",`commit ${e.id} ${s}`),r.append("circle").attr("cx",t.x-3).attr("cy",t.y+2).attr("r",a?2.5:2.75).attr("fill",f?"#000000":"#fff").attr("class",`commit ${e.id} ${s}`),r.append("circle").attr("cx",t.x+3).attr("cy",t.y+2).attr("r",a?2.5:2.75).attr("fill",f?"#000000":"#fff").attr("class",`commit ${e.id} ${s}`),r.append("line").attr("x1",t.x+3).attr("y1",t.y+1).attr("x2",t.x).attr("y2",t.y-5).attr("stroke",f?"#000000":"#fff").attr("class",`commit ${e.id} ${s}`),r.append("line").attr("x1",t.x-3).attr("y1",t.y+1).attr("x2",t.x).attr("y2",t.y-5).attr("stroke",f?"#000000":"#fff").attr("class",`commit ${e.id} ${s}`);else{const g=r.append("circle");if(g.attr("cx",t.x),g.attr("cy",t.y),g.attr("r",a?7:10),g.attr("class",`commit ${e.id} commit${H(o,G,l)}`),i===m.MERGE){const $=r.append("circle");$.attr("cx",t.x),$.attr("cy",t.y),$.attr("r",a?5:6),$.attr("class",`commit ${s} ${e.id} commit${H(o,G,l)}`)}if(i===m.REVERSE){const $=r.append("path"),c=a?4:5;$.attr("d",`M ${t.x-c},${t.y-c}L${t.x+c},${t.y+c}M${t.x-c},${t.y+c}L${t.x+c},${t.y-c}`).attr("class",`commit ${s} ${e.id} commit${H(o,G,l)}`)}}},"drawCommitBullet"),se=h((r,e,t,s,o)=>{if(e.type!==m.CHERRY_PICK&&(e.customId&&e.type===m.MERGE||e.type!==m.MERGE)&&o.showCommitLabel){const i=r.append("g"),n=i.insert("rect").attr("class","commit-label-bkg"),a=i.append("text").attr("x",s).attr("y",t.y+25).attr("class","commit-label").text(e.id),l=a.node()?.getBBox();if(l&&(n.attr("x",t.posWithOffset-l.width/2-R).attr("y",t.y+13.5).attr("width",l.width+2*R).attr("height",l.height+2*R),y==="TB"||y==="BT"?(n.attr("x",t.x-(l.width+4*L+5)).attr("y",t.y-12),a.attr("x",t.x-(l.width+4*L)).attr("y",t.y+l.height-12)):a.attr("x",t.posWithOffset-l.width/2),o.rotateCommitLabel))if(y==="TB"||y==="BT")a.attr("transform","rotate(-45, "+t.x+", "+t.y+")"),n.attr("transform","rotate(-45, "+t.x+", "+t.y+")");else{const f=-7.5-(l.width+10)/25*9.5,g=10+l.width/25*8.5;i.attr("transform","translate("+f+", "+g+") rotate(-45, "+s+", "+t.y+")")}}},"drawCommitLabel"),oe=h((r,e,t,s)=>{if(e.tags.length>0){let o=0,i=0,n=0;const a=[];for(const l of e.tags.reverse()){const f=r.insert("polygon"),g=r.append("circle"),$=r.append("text").attr("y",t.y-16-o).attr("class","tag-label").text(l),c=$.node()?.getBBox();if(!c)throw new Error("Tag bbox not found");i=Math.max(i,c.width),n=Math.max(n,c.height),$.attr("x",t.posWithOffset-c.width/2),a.push({tag:$,hole:g,rect:f,yOffset:o}),o+=20}for(const{tag:l,hole:f,rect:g,yOffset:$}of a){const c=n/2,x=t.y-19.2-$;if(g.attr("class","tag-label-bkg").attr("points",`
1
+ import{I as lr}from"./chunk-2Q5K7J3B-Dk4FMNPb.js";import{p as hr}from"./chunk-JWPE2WC7-VJK4bdeK.js";import{p as $r,o as fr,s as gr,g as ur,a as yr,b as xr,_ as h,z as J,l as w,c as W,y as mr,A as pr,q as br,j as B,B as wr,D as kr,E as vr}from"./mermaid.core-LenSowoF.js";import{p as Cr}from"./cynefin-OW5HDTMX-D5RMeItq.js";import{k as Er}from"./transform-YfG62m2h.js";import"./index-C152Ccas.js";import"./FilePreviewState-ASdBnk4V.js";import"./workbench-live-service-CUMZR2jn.js";import"./mobile-dialog-return-service-DJIo-xmh.js";import"./index-CR7fEnfj.js";var m={NORMAL:0,REVERSE:1,HIGHLIGHT:2,MERGE:3,CHERRY_PICK:4},Br=kr.gitGraph,S=h(()=>wr({...Br,...J().gitGraph}),"getConfig"),d=new lr(()=>{const r=S(),e=r.mainBranchName,t=r.mainBranchOrder;return{mainBranchName:e,commits:new Map,head:null,branchConfig:new Map([[e,{name:e,order:t}]]),branches:new Map([[e,null]]),currBranch:e,direction:"LR",seq:0,options:{}}});function Y(){return vr({length:7})}h(Y,"getID");function tr(r,e){const t=Object.create(null);return r.reduce((s,o)=>{const i=e(o);return t[i]||(t[i]=!0,s.push(o)),s},[])}h(tr,"uniqBy");var Tr=h(function(r){d.records.direction=r},"setDirection"),Lr=h(function(r){w.debug("options str",r),r=r?.trim(),r=r||"{}";try{d.records.options=JSON.parse(r)}catch(e){w.error("error while parsing gitGraph options",e.message)}},"setOptions"),Mr=h(function(){return d.records.options},"getOptions"),Rr=h(function(r){let e=r.msg,t=r.id;const s=r.type;let o=r.tags;w.info("commit",e,t,s,o),w.debug("Entering commit:",e,t,s,o);const i=S();t=B.sanitizeText(t,i),e=B.sanitizeText(e,i),o=o?.map(a=>B.sanitizeText(a,i));const n={id:t||d.records.seq+"-"+Y(),message:e,seq:d.records.seq++,type:s??m.NORMAL,tags:o??[],parents:d.records.head==null?[]:[d.records.head.id],branch:d.records.currBranch};d.records.head=n,w.info("main branch",i.mainBranchName),d.records.commits.has(n.id)&&w.warn(`Commit ID ${n.id} already exists`),d.records.commits.set(n.id,n),d.records.branches.set(d.records.currBranch,n.id),w.debug("in pushCommit "+n.id)},"commit"),Ir=h(function(r){let e=r.name;const t=r.order;if(e=B.sanitizeText(e,S()),d.records.branches.has(e))throw new Error(`Trying to create an existing branch. (Help: Either use a new name if you want create a new branch or try using "checkout ${e}")`);d.records.branches.set(e,d.records.head!=null?d.records.head.id:null),d.records.branchConfig.set(e,{name:e,order:t}),ar(e),w.debug("in createBranch")},"branch"),Or=h(r=>{let e=r.branch,t=r.id;const s=r.type,o=r.tags,i=S();e=B.sanitizeText(e,i),t&&(t=B.sanitizeText(t,i));const n=d.records.branches.get(d.records.currBranch),a=d.records.branches.get(e),l=n?d.records.commits.get(n):void 0,f=a?d.records.commits.get(a):void 0;if(l&&f&&l.branch===e)throw new Error(`Cannot merge branch '${e}' into itself.`);if(d.records.currBranch===e){const c=new Error('Incorrect usage of "merge". Cannot merge a branch to itself');throw c.hash={text:`merge ${e}`,token:`merge ${e}`,expected:["branch abc"]},c}if(l===void 0||!l){const c=new Error(`Incorrect usage of "merge". Current branch (${d.records.currBranch})has no commits`);throw c.hash={text:`merge ${e}`,token:`merge ${e}`,expected:["commit"]},c}if(!d.records.branches.has(e)){const c=new Error('Incorrect usage of "merge". Branch to be merged ('+e+") does not exist");throw c.hash={text:`merge ${e}`,token:`merge ${e}`,expected:[`branch ${e}`]},c}if(f===void 0||!f){const c=new Error('Incorrect usage of "merge". Branch to be merged ('+e+") has no commits");throw c.hash={text:`merge ${e}`,token:`merge ${e}`,expected:['"commit"']},c}if(l===f){const c=new Error('Incorrect usage of "merge". Both branches have same head');throw c.hash={text:`merge ${e}`,token:`merge ${e}`,expected:["branch abc"]},c}if(t&&d.records.commits.has(t)){const c=new Error('Incorrect usage of "merge". Commit with id:'+t+" already exists, use different custom id");throw c.hash={text:`merge ${e} ${t} ${s} ${o?.join(" ")}`,token:`merge ${e} ${t} ${s} ${o?.join(" ")}`,expected:[`merge ${e} ${t}_UNIQUE ${s} ${o?.join(" ")}`]},c}const g=a||"",$={id:t||`${d.records.seq}-${Y()}`,message:`merged branch ${e} into ${d.records.currBranch}`,seq:d.records.seq++,parents:d.records.head==null?[]:[d.records.head.id,g],branch:d.records.currBranch,type:m.MERGE,customType:s,customId:!!t,tags:o??[]};d.records.head=$,d.records.commits.set($.id,$),d.records.branches.set(d.records.currBranch,$.id),w.debug(d.records.branches),w.debug("in mergeBranch")},"merge"),_r=h(function(r){let e=r.id,t=r.targetId,s=r.tags,o=r.parent;w.debug("Entering cherryPick:",e,t,s);const i=S();if(e=B.sanitizeText(e,i),t=B.sanitizeText(t,i),s=s?.map(l=>B.sanitizeText(l,i)),o=B.sanitizeText(o,i),!e||!d.records.commits.has(e)){const l=new Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');throw l.hash={text:`cherryPick ${e} ${t}`,token:`cherryPick ${e} ${t}`,expected:["cherry-pick abc"]},l}const n=d.records.commits.get(e);if(n===void 0||!n)throw new Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');if(o&&!(Array.isArray(n.parents)&&n.parents.includes(o)))throw new Error("Invalid operation: The specified parent commit is not an immediate parent of the cherry-picked commit.");const a=n.branch;if(n.type===m.MERGE&&!o)throw new Error("Incorrect usage of cherry-pick: If the source commit is a merge commit, an immediate parent commit must be specified.");if(!t||!d.records.commits.has(t)){if(a===d.records.currBranch){const $=new Error('Incorrect usage of "cherryPick". Source commit is already on current branch');throw $.hash={text:`cherryPick ${e} ${t}`,token:`cherryPick ${e} ${t}`,expected:["cherry-pick abc"]},$}const l=d.records.branches.get(d.records.currBranch);if(l===void 0||!l){const $=new Error(`Incorrect usage of "cherry-pick". Current branch (${d.records.currBranch})has no commits`);throw $.hash={text:`cherryPick ${e} ${t}`,token:`cherryPick ${e} ${t}`,expected:["cherry-pick abc"]},$}const f=d.records.commits.get(l);if(f===void 0||!f){const $=new Error(`Incorrect usage of "cherry-pick". Current branch (${d.records.currBranch})has no commits`);throw $.hash={text:`cherryPick ${e} ${t}`,token:`cherryPick ${e} ${t}`,expected:["cherry-pick abc"]},$}const g={id:d.records.seq+"-"+Y(),message:`cherry-picked ${n?.message} into ${d.records.currBranch}`,seq:d.records.seq++,parents:d.records.head==null?[]:[d.records.head.id,n.id],branch:d.records.currBranch,type:m.CHERRY_PICK,tags:s?s.filter(Boolean):[`cherry-pick:${n.id}${n.type===m.MERGE?`|parent:${o}`:""}`]};d.records.head=g,d.records.commits.set(g.id,g),d.records.branches.set(d.records.currBranch,g.id),w.debug(d.records.branches),w.debug("in cherryPick")}},"cherryPick"),ar=h(function(r){if(r=B.sanitizeText(r,S()),d.records.branches.has(r)){d.records.currBranch=r;const e=d.records.branches.get(d.records.currBranch);e===void 0||!e?d.records.head=null:d.records.head=d.records.commits.get(e)??null}else{const e=new Error(`Trying to checkout branch which is not yet created. (Help try using "branch ${r}")`);throw e.hash={text:`checkout ${r}`,token:`checkout ${r}`,expected:[`branch ${r}`]},e}},"checkout");function V(r,e,t){const s=r.indexOf(e);s===-1?r.push(t):r.splice(s,1,t)}h(V,"upsert");function Q(r){const e=r.reduce((o,i)=>o.seq>i.seq?o:i,r[0]);let t="";r.forEach(function(o){o===e?t+=" *":t+=" |"});const s=[t,e.id,e.seq];for(const o in d.records.branches)d.records.branches.get(o)===e.id&&s.push(o);if(w.debug(s.join(" ")),e.parents&&e.parents.length==2&&e.parents[0]&&e.parents[1]){const o=d.records.commits.get(e.parents[0]);V(r,e,o),e.parents[1]&&r.push(d.records.commits.get(e.parents[1]))}else{if(e.parents.length==0)return;if(e.parents[0]){const o=d.records.commits.get(e.parents[0]);V(r,e,o)}}r=tr(r,o=>o.id),Q(r)}h(Q,"prettyPrintCommitHistory");var Gr=h(function(){w.debug(d.records.commits);const r=nr()[0];Q([r])},"prettyPrint"),Hr=h(function(){d.reset(),br()},"clear"),Sr=h(function(){return[...d.records.branchConfig.values()].map((e,t)=>e.order!==null&&e.order!==void 0?e:{...e,order:parseFloat(`0.${t}`)}).sort((e,t)=>(e.order??0)-(t.order??0)).map(({name:e})=>({name:e}))},"getBranchesAsObjArray"),Ar=h(function(){return d.records.branches},"getBranches"),Dr=h(function(){return d.records.commits},"getCommits"),nr=h(function(){const r=[...d.records.commits.values()];return r.forEach(function(e){w.debug(e.id)}),r.sort((e,t)=>e.seq-t.seq),r},"getCommitsArray"),qr=h(function(){return d.records.currBranch},"getCurrentBranch"),Pr=h(function(){return d.records.direction},"getDirection"),Wr=h(function(){return d.records.head},"getHead"),sr={commitType:m,getConfig:S,setDirection:Tr,setOptions:Lr,getOptions:Mr,commit:Rr,branch:Ir,merge:Or,cherryPick:_r,checkout:ar,prettyPrint:Gr,clear:Hr,getBranchesAsObjArray:Sr,getBranches:Ar,getCommits:Dr,getCommitsArray:nr,getCurrentBranch:qr,getDirection:Pr,getHead:Wr,setAccTitle:xr,getAccTitle:yr,getAccDescription:ur,setAccDescription:gr,setDiagramTitle:fr,getDiagramTitle:$r},Nr=h((r,e)=>{hr(r,e),r.dir&&e.setDirection(r.dir);for(const t of r.statements)Fr(t,e)},"populate"),Fr=h((r,e)=>{const s={Commit:h(o=>e.commit(zr(o)),"Commit"),Branch:h(o=>e.branch(Yr(o)),"Branch"),Merge:h(o=>e.merge(jr(o)),"Merge"),Checkout:h(o=>e.checkout(Ur(o)),"Checkout"),CherryPicking:h(o=>e.cherryPick(Kr(o)),"CherryPicking")}[r.$type];s?s(r):w.error(`Unknown statement type: ${r.$type}`)},"parseStatement"),zr=h(r=>({id:r.id,msg:r.message??"",type:r.type!==void 0?m[r.type]:m.NORMAL,tags:r.tags??void 0}),"parseCommit"),Yr=h(r=>({name:r.name,order:r.order??0}),"parseBranch"),jr=h(r=>({branch:r.branch,id:r.id??"",type:r.type!==void 0?m[r.type]:void 0,tags:r.tags??void 0}),"parseMerge"),Ur=h(r=>r.branch,"parseCheckout"),Kr=h(r=>({id:r.id,targetId:"",tags:r.tags?.length===0?void 0:r.tags,parent:r.parent}),"parseCherryPicking"),Vr={parse:h(async r=>{const e=await Cr("gitGraph",r);w.debug(e),Nr(e,sr)},"parse")},O=10,_=40,L=4,R=2,G=8,j=new Set(["redux","redux-dark","redux-color","redux-dark-color"]),X=12,Z=new Set(["redux-color","redux-dark-color"]),Xr=new Set(["dark","redux-dark","redux-dark-color","neo-dark"]),H=h((r,e,t=!1)=>t&&r>0?(r-1)%(e-1)+1:r%e,"calcColorIndex"),C=new Map,E=new Map,F=30,q=new Map,z=[],I=0,y="LR",Jr=h(()=>{C.clear(),E.clear(),q.clear(),I=0,z=[],y="LR"},"clear"),or=h(r=>{const e=document.createElementNS("http://www.w3.org/2000/svg","text");return(typeof r=="string"?r.split(/\\n|\n|<br\s*\/?>/gi):r).forEach(s=>{const o=document.createElementNS("http://www.w3.org/2000/svg","tspan");o.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),o.setAttribute("dy","1em"),o.setAttribute("x","0"),o.setAttribute("class","row"),o.textContent=s.trim(),e.appendChild(o)}),e},"drawText"),cr=h(r=>{let e,t,s;return y==="BT"?(t=h((o,i)=>o<=i,"comparisonFunc"),s=1/0):(t=h((o,i)=>o>=i,"comparisonFunc"),s=0),r.forEach(o=>{const i=y==="TB"||y=="BT"?E.get(o)?.y:E.get(o)?.x;i!==void 0&&t(i,s)&&(e=o,s=i)}),e},"findClosestParent"),Qr=h(r=>{let e="",t=1/0;return r.forEach(s=>{const o=E.get(s).y;o<=t&&(e=s,t=o)}),e||void 0},"findClosestParentBT"),Zr=h((r,e,t)=>{let s=t,o=t;const i=[];r.forEach(n=>{const a=e.get(n);if(!a)throw new Error(`Commit not found for key ${n}`);a.parents.length?(s=ee(a),o=Math.max(s,o)):i.push(a),te(a,s)}),s=o,i.forEach(n=>{ae(n,s,t)}),r.forEach(n=>{const a=e.get(n);if(a?.parents.length){const l=Qr(a.parents);s=E.get(l).y-_,s<=o&&(o=s);const f=C.get(a.branch).pos,g=s-O;E.set(a.id,{x:f,y:g})}})},"setParallelBTPos"),re=h(r=>{const e=cr(r.parents.filter(s=>s!==null));if(!e)throw new Error(`Closest parent not found for commit ${r.id}`);const t=E.get(e)?.y;if(t===void 0)throw new Error(`Closest parent position not found for commit ${r.id}`);return t},"findClosestParentPos"),ee=h(r=>re(r)+_,"calculateCommitPosition"),te=h((r,e)=>{const t=C.get(r.branch);if(!t)throw new Error(`Branch not found for commit ${r.id}`);const s=t.pos,o=e+O;return E.set(r.id,{x:s,y:o}),{x:s,y:o}},"setCommitPosition"),ae=h((r,e,t)=>{const s=C.get(r.branch);if(!s)throw new Error(`Branch not found for commit ${r.id}`);const o=e+t,i=s.pos;E.set(r.id,{x:i,y:o})},"setRootPosition"),ne=h((r,e,t,s,o,i)=>{const{theme:n}=W(),a=j.has(n??""),l=Z.has(n??""),f=Xr.has(n??"");if(i===m.HIGHLIGHT)r.append("rect").attr("x",t.x-10+(a?3:0)).attr("y",t.y-10+(a?3:0)).attr("width",a?14:20).attr("height",a?14:20).attr("class",`commit ${e.id} commit-highlight${H(o,G,l)} ${s}-outer`),r.append("rect").attr("x",t.x-6+(a?2:0)).attr("y",t.y-6+(a?2:0)).attr("width",a?8:12).attr("height",a?8:12).attr("class",`commit ${e.id} commit${H(o,G,l)} ${s}-inner`);else if(i===m.CHERRY_PICK)r.append("circle").attr("cx",t.x).attr("cy",t.y).attr("r",a?7:10).attr("class",`commit ${e.id} ${s}`),r.append("circle").attr("cx",t.x-3).attr("cy",t.y+2).attr("r",a?2.5:2.75).attr("fill",f?"#000000":"#fff").attr("class",`commit ${e.id} ${s}`),r.append("circle").attr("cx",t.x+3).attr("cy",t.y+2).attr("r",a?2.5:2.75).attr("fill",f?"#000000":"#fff").attr("class",`commit ${e.id} ${s}`),r.append("line").attr("x1",t.x+3).attr("y1",t.y+1).attr("x2",t.x).attr("y2",t.y-5).attr("stroke",f?"#000000":"#fff").attr("class",`commit ${e.id} ${s}`),r.append("line").attr("x1",t.x-3).attr("y1",t.y+1).attr("x2",t.x).attr("y2",t.y-5).attr("stroke",f?"#000000":"#fff").attr("class",`commit ${e.id} ${s}`);else{const g=r.append("circle");if(g.attr("cx",t.x),g.attr("cy",t.y),g.attr("r",a?7:10),g.attr("class",`commit ${e.id} commit${H(o,G,l)}`),i===m.MERGE){const $=r.append("circle");$.attr("cx",t.x),$.attr("cy",t.y),$.attr("r",a?5:6),$.attr("class",`commit ${s} ${e.id} commit${H(o,G,l)}`)}if(i===m.REVERSE){const $=r.append("path"),c=a?4:5;$.attr("d",`M ${t.x-c},${t.y-c}L${t.x+c},${t.y+c}M${t.x-c},${t.y+c}L${t.x+c},${t.y-c}`).attr("class",`commit ${s} ${e.id} commit${H(o,G,l)}`)}}},"drawCommitBullet"),se=h((r,e,t,s,o)=>{if(e.type!==m.CHERRY_PICK&&(e.customId&&e.type===m.MERGE||e.type!==m.MERGE)&&o.showCommitLabel){const i=r.append("g"),n=i.insert("rect").attr("class","commit-label-bkg"),a=i.append("text").attr("x",s).attr("y",t.y+25).attr("class","commit-label").text(e.id),l=a.node()?.getBBox();if(l&&(n.attr("x",t.posWithOffset-l.width/2-R).attr("y",t.y+13.5).attr("width",l.width+2*R).attr("height",l.height+2*R),y==="TB"||y==="BT"?(n.attr("x",t.x-(l.width+4*L+5)).attr("y",t.y-12),a.attr("x",t.x-(l.width+4*L)).attr("y",t.y+l.height-12)):a.attr("x",t.posWithOffset-l.width/2),o.rotateCommitLabel))if(y==="TB"||y==="BT")a.attr("transform","rotate(-45, "+t.x+", "+t.y+")"),n.attr("transform","rotate(-45, "+t.x+", "+t.y+")");else{const f=-7.5-(l.width+10)/25*9.5,g=10+l.width/25*8.5;i.attr("transform","translate("+f+", "+g+") rotate(-45, "+s+", "+t.y+")")}}},"drawCommitLabel"),oe=h((r,e,t,s)=>{if(e.tags.length>0){let o=0,i=0,n=0;const a=[];for(const l of e.tags.reverse()){const f=r.insert("polygon"),g=r.append("circle"),$=r.append("text").attr("y",t.y-16-o).attr("class","tag-label").text(l),c=$.node()?.getBBox();if(!c)throw new Error("Tag bbox not found");i=Math.max(i,c.width),n=Math.max(n,c.height),$.attr("x",t.posWithOffset-c.width/2),a.push({tag:$,hole:g,rect:f,yOffset:o}),o+=20}for(const{tag:l,hole:f,rect:g,yOffset:$}of a){const c=n/2,x=t.y-19.2-$;if(g.attr("class","tag-label-bkg").attr("points",`
2
2
  ${s-i/2-L/2},${x+R}
3
3
  ${s-i/2-L/2},${x-R}
4
4
  ${t.posWithOffset-i/2-L},${x-c-R}
@@ -1 +1 @@
1
- import{i as o}from"./index-CRSqQjLR.js";async function E(s){const e=await s("/api/conversation-templates");if(typeof e!="object"||e===null||Array.isArray(e))throw new Error("CONVERSATION_TEMPLATE_RESPONSE_INVALID");const r=e;if(Object.keys(r).some(t=>t!=="templates")||!Array.isArray(r.templates))throw new Error("CONVERSATION_TEMPLATE_RESPONSE_INVALID");return r.templates.map(t=>{const a=o.safeParse(t);if(!a.success)throw new Error("CONVERSATION_TEMPLATE_RESPONSE_INVALID");return a.data})}export{E as l};
1
+ import{i as o}from"./index-C152Ccas.js";async function E(s){const e=await s("/api/conversation-templates");if(typeof e!="object"||e===null||Array.isArray(e))throw new Error("CONVERSATION_TEMPLATE_RESPONSE_INVALID");const r=e;if(Object.keys(r).some(t=>t!=="templates")||!Array.isArray(r.templates))throw new Error("CONVERSATION_TEMPLATE_RESPONSE_INVALID");return r.templates.map(t=>{const a=o.safeParse(t);if(!a.success)throw new Error("CONVERSATION_TEMPLATE_RESPONSE_INVALID");return a.data})}export{E as l};
@@ -1,4 +1,4 @@
1
- import{c as Y,r as O,u as R,a as G}from"./index-c0QM_ngj.js";import{c as J}from"./zoom-DvrZKhio.js";import"./index-CRSqQjLR.js";function Q(e,n){const l=e.ownerDocument.defaultView;if(!l||n?.aborted)return()=>{};const t=e.style.getPropertyValue("cursor"),v=e.style.getPropertyPriority("cursor"),d=e.style.getPropertyValue("user-select"),u=e.style.getPropertyPriority("user-select"),y=e.getAttribute("data-viewer-image-hand-tool"),P=e.getAttribute("data-viewer-image-panning"),m=e.ownerDocument.createElement("style");m.textContent='[data-viewer-image-hand-tool="true"] img{cursor:grab!important}[data-viewer-image-panning="true"] img{cursor:grabbing!important}',e.append(m);const S='a,button,input,textarea,select,option,[contenteditable]:not([contenteditable="false"]),[role="button"]:not(img),[role="link"],[role="textbox"]';let a=null,H=!1,b=!1,A=0;const h=()=>e.scrollWidth>e.clientWidth||e.scrollHeight>e.clientHeight,g=()=>{if(H||a?.moved)return;const i=h();e.setAttribute("data-viewer-image-hand-tool",String(i)),e.style.setProperty("cursor",i?"grab":t,i?"":v)},p=()=>{var i;const s=a;s&&(a=null,e.style.setProperty("user-select",d,u),e.removeAttribute("data-viewer-image-panning"),l.removeEventListener("pointermove",I,!0),l.removeEventListener("pointerup",f,!0),l.removeEventListener("pointercancel",f,!0),l.removeEventListener("blur",p),!((i=e.hasPointerCapture)===null||i===void 0)&&i.call(e,s.id)&&e.releasePointerCapture(s.id),b=s.moved,l.clearTimeout(A),A=l.setTimeout(()=>{b=!1},250),g())},I=i=>{var s;if(!a||i.pointerId!==a.id)return;if(!(i.buttons&1)){p();return}const x=(i.clientX-a.x)/a.ratioX,E=(i.clientY-a.y)/a.ratioY;if(!(!a.moved&&Math.hypot(x,E)<3)){if(!a.moved){a.moved=!0,e.setAttribute("data-viewer-image-panning","true"),e.style.cursor="grabbing",e.style.setProperty("user-select","none");try{(s=e.setPointerCapture)===null||s===void 0||s.call(e,i.pointerId)}catch{}}e.scrollLeft=a.left-x,e.scrollTop=a.top-E,i.preventDefault()}},f=i=>{i.pointerId===a?.id&&p()},c=i=>{if(H||i.defaultPrevented||i.pointerType!=="mouse"||i.button!==0||i.isPrimary===!1||i.ctrlKey||i.metaKey||i.altKey||i.shiftKey||i.composedPath().some(M=>{var W,L;return M!==e&&((L=(W=M).matches)===null||L===void 0?void 0:L.call(W,S))})||(p(),b=!1,g(),!h()))return;const s=e.getBoundingClientRect(),x=e.offsetWidth?s.width/e.offsetWidth:1,E=e.offsetHeight?s.height/e.offsetHeight:1;if(![x,E].every(M=>Number.isFinite(M)&&M>0))return;const z=(i.clientX-s.left)/x-e.clientLeft,T=(i.clientY-s.top)/E-e.clientTop;z<0||T<0||z>=e.clientWidth||T>=e.clientHeight||(a={id:i.pointerId,x:i.clientX,y:i.clientY,left:e.scrollLeft,top:e.scrollTop,ratioX:x,ratioY:E,moved:!1},l.addEventListener("pointermove",I,{capture:!0,passive:!1}),l.addEventListener("pointerup",f,!0),l.addEventListener("pointercancel",f,!0),l.addEventListener("blur",p))},F=i=>{b&&i.detail>0&&(i.preventDefault(),i.stopImmediatePropagation())},r=i=>{a&&i.preventDefault()},_=(i,s)=>s===null?e.removeAttribute(i):e.setAttribute(i,s),w=()=>{H||(p(),H=!0,l.clearTimeout(A),b=!1,e.style.setProperty("cursor",t,v),e.style.setProperty("user-select",d,u),_("data-viewer-image-hand-tool",y),_("data-viewer-image-panning",P),e.removeEventListener("pointerdown",c),e.removeEventListener("pointermove",g),e.removeEventListener("pointerover",g),e.removeEventListener("lostpointercapture",f),e.removeEventListener("click",F,!0),e.removeEventListener("dragstart",r),n?.removeEventListener("abort",w),m.remove())};return e.addEventListener("pointerdown",c),e.addEventListener("pointermove",g),e.addEventListener("pointerover",g),e.addEventListener("lostpointercapture",f),e.addEventListener("click",F,!0),e.addEventListener("dragstart",r),n?.addEventListener("abort",w,{once:!0}),g(),w}const q={avif:"image/avif",bmp:"image/bmp",gif:"image/gif",heic:"image/heic",heif:"image/heif",ico:"image/x-icon",jxl:"image/jxl",jpg:"image/jpeg",jpeg:"image/jpeg",png:"image/png",svg:"image/svg+xml",tif:"image/tiff",tiff:"image/tiff",webp:"image/webp"},ee=`
1
+ import{c as Y,r as O,u as R,a as G}from"./index-DSyluuSb.js";import{c as J}from"./zoom-DvrZKhio.js";import"./index-C152Ccas.js";function Q(e,n){const l=e.ownerDocument.defaultView;if(!l||n?.aborted)return()=>{};const t=e.style.getPropertyValue("cursor"),v=e.style.getPropertyPriority("cursor"),d=e.style.getPropertyValue("user-select"),u=e.style.getPropertyPriority("user-select"),y=e.getAttribute("data-viewer-image-hand-tool"),P=e.getAttribute("data-viewer-image-panning"),m=e.ownerDocument.createElement("style");m.textContent='[data-viewer-image-hand-tool="true"] img{cursor:grab!important}[data-viewer-image-panning="true"] img{cursor:grabbing!important}',e.append(m);const S='a,button,input,textarea,select,option,[contenteditable]:not([contenteditable="false"]),[role="button"]:not(img),[role="link"],[role="textbox"]';let a=null,H=!1,b=!1,A=0;const h=()=>e.scrollWidth>e.clientWidth||e.scrollHeight>e.clientHeight,g=()=>{if(H||a?.moved)return;const i=h();e.setAttribute("data-viewer-image-hand-tool",String(i)),e.style.setProperty("cursor",i?"grab":t,i?"":v)},p=()=>{var i;const s=a;s&&(a=null,e.style.setProperty("user-select",d,u),e.removeAttribute("data-viewer-image-panning"),l.removeEventListener("pointermove",I,!0),l.removeEventListener("pointerup",f,!0),l.removeEventListener("pointercancel",f,!0),l.removeEventListener("blur",p),!((i=e.hasPointerCapture)===null||i===void 0)&&i.call(e,s.id)&&e.releasePointerCapture(s.id),b=s.moved,l.clearTimeout(A),A=l.setTimeout(()=>{b=!1},250),g())},I=i=>{var s;if(!a||i.pointerId!==a.id)return;if(!(i.buttons&1)){p();return}const x=(i.clientX-a.x)/a.ratioX,E=(i.clientY-a.y)/a.ratioY;if(!(!a.moved&&Math.hypot(x,E)<3)){if(!a.moved){a.moved=!0,e.setAttribute("data-viewer-image-panning","true"),e.style.cursor="grabbing",e.style.setProperty("user-select","none");try{(s=e.setPointerCapture)===null||s===void 0||s.call(e,i.pointerId)}catch{}}e.scrollLeft=a.left-x,e.scrollTop=a.top-E,i.preventDefault()}},f=i=>{i.pointerId===a?.id&&p()},c=i=>{if(H||i.defaultPrevented||i.pointerType!=="mouse"||i.button!==0||i.isPrimary===!1||i.ctrlKey||i.metaKey||i.altKey||i.shiftKey||i.composedPath().some(M=>{var W,L;return M!==e&&((L=(W=M).matches)===null||L===void 0?void 0:L.call(W,S))})||(p(),b=!1,g(),!h()))return;const s=e.getBoundingClientRect(),x=e.offsetWidth?s.width/e.offsetWidth:1,E=e.offsetHeight?s.height/e.offsetHeight:1;if(![x,E].every(M=>Number.isFinite(M)&&M>0))return;const z=(i.clientX-s.left)/x-e.clientLeft,T=(i.clientY-s.top)/E-e.clientTop;z<0||T<0||z>=e.clientWidth||T>=e.clientHeight||(a={id:i.pointerId,x:i.clientX,y:i.clientY,left:e.scrollLeft,top:e.scrollTop,ratioX:x,ratioY:E,moved:!1},l.addEventListener("pointermove",I,{capture:!0,passive:!1}),l.addEventListener("pointerup",f,!0),l.addEventListener("pointercancel",f,!0),l.addEventListener("blur",p))},F=i=>{b&&i.detail>0&&(i.preventDefault(),i.stopImmediatePropagation())},r=i=>{a&&i.preventDefault()},_=(i,s)=>s===null?e.removeAttribute(i):e.setAttribute(i,s),w=()=>{H||(p(),H=!0,l.clearTimeout(A),b=!1,e.style.setProperty("cursor",t,v),e.style.setProperty("user-select",d,u),_("data-viewer-image-hand-tool",y),_("data-viewer-image-panning",P),e.removeEventListener("pointerdown",c),e.removeEventListener("pointermove",g),e.removeEventListener("pointerover",g),e.removeEventListener("lostpointercapture",f),e.removeEventListener("click",F,!0),e.removeEventListener("dragstart",r),n?.removeEventListener("abort",w),m.remove())};return e.addEventListener("pointerdown",c),e.addEventListener("pointermove",g),e.addEventListener("pointerover",g),e.addEventListener("lostpointercapture",f),e.addEventListener("click",F,!0),e.addEventListener("dragstart",r),n?.addEventListener("abort",w,{once:!0}),g(),w}const q={avif:"image/avif",bmp:"image/bmp",gif:"image/gif",heic:"image/heic",heif:"image/heif",ico:"image/x-icon",jxl:"image/jxl",jpg:"image/jpeg",jpeg:"image/jpeg",png:"image/png",svg:"image/svg+xml",tif:"image/tiff",tiff:"image/tiff",webp:"image/webp"},ee=`
2
2
  .image-viewer{position:relative;width:100%;height:100%;overflow:auto;background:var(--file-viewer-render-surface-background,#eef1f4);box-sizing:border-box}
3
3
  .image-stage{width:max-content;min-width:100%;min-height:100%;display:flex;align-items:center;justify-content:center;padding:24px;box-sizing:border-box}
4
4
  .image-stage img{display:block;width:auto;max-width:none;margin:0 auto;border:0;box-shadow:0 18px 48px rgba(15,23,42,.16);background:#fff;cursor:zoom-in}