@myagentroam/server 0.14.14 → 0.14.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/node_modules/@myagentroam/protocol/package.json +1 -1
- package/node_modules/@myagentroam/server-core/package.json +2 -2
- package/node_modules/@myagentroam-enterprise/server-implementation/package.json +3 -3
- package/package.json +5 -5
- package/web/assets/AuditManagementPage-B97_l9KN.js +1 -0
- package/web/assets/AuditManagementPage-DO3gis1o.css +1 -0
- package/web/assets/{AuthEntryPanel-2RmEvgPK.js → AuthEntryPanel-ClBwyFIL.js} +16 -16
- package/web/assets/{AuthEntryPanel-DRCYZXlp.css → AuthEntryPanel-CniGmrFs.css} +1 -1
- package/web/assets/{BusyIndicator-ioUVqyOU.js → BusyIndicator-CZhp44Q4.js} +1 -1
- package/web/assets/{CodeFileEditor-CfOJ0R9I.js → CodeFileEditor-EbR0xYQp.js} +3 -3
- package/web/assets/{ConversationTemplateManagementPage-D7KwZltL.js → ConversationTemplateManagementPage-BCFYlqqO.js} +1 -1
- package/web/assets/{ConversationTemplateManagementPage-DzPF9J7i.js → ConversationTemplateManagementPage-nAhxlPQt.js} +1 -1
- package/web/assets/{EnterpriseUserManagementPage-CEH37Fgt.js → EnterpriseUserManagementPage-B5LKxujx.js} +1 -1
- package/web/assets/{EnvironmentSecretManager-TN7goLG1.js → EnvironmentSecretManager-ZA-3fhge.js} +1 -1
- package/web/assets/{FilePreviewLoading-es8YT3AE.js → FilePreviewLoading-Bd7RKl0X.js} +1 -1
- package/web/assets/{HtmlPreviewFrame-C-UQP5Kx.js → HtmlPreviewFrame-C1YBcCyt.js} +3 -3
- package/web/assets/{LicenseManagementPage-BI4IslV7.js → LicenseManagementPage-Cn_paMrV.js} +1 -1
- package/web/assets/{ManagementPagination-BYt4qkTV.js → ManagementPagination-d4e5P8v9.js} +1 -1
- package/web/assets/{MarAgentModelManagementPage-COeAewpl.js → MarAgentModelManagementPage-CbR34bqZ.js} +1 -1
- package/web/assets/{MarAgentModelManagementPage-C5KQRwZF.js → MarAgentModelManagementPage-vnA_utiR.js} +1 -1
- package/web/assets/{MarAlert-Cd9UQ3Nb.js → MarAlert-UnVdGmPe.js} +1 -1
- package/web/assets/{MarCascader-CkPUKKSU.js → MarCascader-hXHU2o_L.js} +1 -1
- package/web/assets/{MarCheckboxGroup-BeoAUtAX.js → MarCheckboxGroup-DYVJvnkO.js} +1 -1
- package/web/assets/{MarCheckboxGroup.vue_vue_type_style_index_0_scoped_3769668f_lang-DkLInv-o.js → MarCheckboxGroup.vue_vue_type_style_index_0_scoped_3769668f_lang-BpyW57K5.js} +1 -1
- package/web/assets/{MarDatePicker-C4dn1W94.js → MarDatePicker-D5FbPI2T.js} +1 -1
- package/web/assets/{MarDescriptionsItem-DZlA06Bs.js → MarDescriptionsItem-CgeYiVap.js} +1 -1
- package/web/assets/{MarFormItem.vue_vue_type_script_setup_true_lang-DR9vLmUF.js → MarFormItem.vue_vue_type_script_setup_true_lang-Bg9xGLLX.js} +1 -1
- package/web/assets/{MarInputNumber-Cj9eIAOI.js → MarInputNumber-4rCC6vjk.js} +1 -1
- package/web/assets/{MarOptionGroup.vue_vue_type_style_index_0_scoped_0cdd846e_lang-toYIflmN.js → MarOptionGroup.vue_vue_type_style_index_0_scoped_0cdd846e_lang-D9v6u73k.js} +1 -1
- package/web/assets/{MarSwitch-CnzyH7nM.js → MarSwitch-OJtfapC8.js} +1 -1
- package/web/assets/{MarTableColumn.vue_vue_type_script_setup_true_lang-R6PlEya3.js → MarTableColumn.vue_vue_type_script_setup_true_lang-Beuo3oXJ.js} +1 -1
- package/web/assets/{MarTabs-C9xSpZpp.js → MarTabs-Cen0cagc.js} +1 -1
- package/web/assets/{MarTag-DJs119DS.js → MarTag-DS72a0mE.js} +1 -1
- package/web/assets/{MarkdownFilePreview-DbAE_2gM.js → MarkdownFilePreview-DY6tEhtB.js} +2 -2
- package/web/assets/{McpDetailsDialog-DulmlCuF.js → McpDetailsDialog-CbSgXT_q.js} +1 -1
- package/web/assets/{McpSourceManagementPage-BoE5DUTk.js → McpSourceManagementPage-DURUAE_D.js} +1 -1
- package/web/assets/{McpSourceManagementPage-2-l-gwmY.js → McpSourceManagementPage-bzZn6hry.js} +1 -1
- package/web/assets/{NodeDetailsDialogs-D18Hc9Si.js → NodeDetailsDialogs-BfnB34ah.js} +1 -1
- package/web/assets/NodeManagementPage-8xs2-D4L.js +1 -0
- package/web/assets/NodeManagementPage-DsjS98Bz.js +1 -0
- package/web/assets/{OAuthManagementPage-BX1BaUso.js → OAuthManagementPage-BfeIKU2R.js} +1 -1
- package/web/assets/{OrganizationManagementPage-BdKOJAyQ.js → OrganizationManagementPage-BmhZIJlG.js} +1 -1
- package/web/assets/{RemoteDesktopPage-mtDu_xfs.js → RemoteDesktopPage-DWTpvvHE.js} +1 -1
- package/web/assets/{ResourceManagementPanel-cSwgfMaN.js → ResourceManagementPanel-CSAEqH1X.js} +1 -1
- package/web/assets/{ResourceManagementPanel.vue_vue_type_script_setup_true_lang-OE3mC4EM.js → ResourceManagementPanel.vue_vue_type_script_setup_true_lang-B28qEclI.js} +1 -1
- package/web/assets/{SecretManagementPage-BUNy_q8f.js → SecretManagementPage-3nlSsK79.js} +1 -1
- package/web/assets/SecretManagementPage-BxURMY1B.js +1 -0
- package/web/assets/{SecretManagementPage.vue_vue_type_script_setup_true_lang-wdkxGSpN.js → SecretManagementPage.vue_vue_type_script_setup_true_lang-ivhoHkds.js} +1 -1
- package/web/assets/{SessionSharePage-C-jdxuqs.js → SessionSharePage-BbNkTrFJ.js} +2 -2
- package/web/assets/SettingsContent-D7DkxGNt.js +1 -0
- package/web/assets/{SettingsContent-DnSL8cs4.css → SettingsContent-D882_miL.css} +1 -1
- package/web/assets/{SettingsContent-BtSX-IJ7.js → SettingsContent-DdCiD1gT.js} +1 -1
- package/web/assets/SkillCenterPage-CwnGpaK2.js +1 -0
- package/web/assets/{SkillCenterPage-CCisqDWN.js → SkillCenterPage-DgiB6vaI.js} +1 -1
- package/web/assets/{SkillDetailsDialog-C0_4_KU4.js → SkillDetailsDialog-B1wssiEl.js} +1 -1
- package/web/assets/{SkillSourceManagementPage-ToB4Wi7G.js → SkillSourceManagementPage-Bxb6a5kR.js} +1 -1
- package/web/assets/{SkillSourceManagementPage-pUo-KVhP.js → SkillSourceManagementPage-CtqIIAbi.js} +1 -1
- package/web/assets/{StandaloneFilePreviewPage-DES3Vief.js → StandaloneFilePreviewPage-BpciOer-.js} +1 -1
- package/web/assets/{SystemConfigurationPage-CQ6u7UgX.js → SystemConfigurationPage-CtlQ_CUc.js} +1 -1
- package/web/assets/{SystemConfigurationPage-BVl0Q1mw.js → SystemConfigurationPage-Dau2gJk-.js} +1 -1
- package/web/assets/{SystemInformationPage-DdPjIXMo.js → SystemInformationPage-C9yvGi_G.js} +1 -1
- package/web/assets/{TerminalTabView-CnuEt3ND.js → TerminalTabView-BBqwlNsK.js} +1 -1
- package/web/assets/WorkbenchPage-D2u1hZ11.css +1 -0
- package/web/assets/WorkbenchPage-zrPpoUGo.js +22 -0
- package/web/assets/WorkspaceManagementPage-DB7xuprE.js +1 -0
- package/web/assets/WorkspaceManagementPage-DYlCtgtg.js +1 -0
- package/web/assets/{abnfDiagram-VCTEODGH-DktdKdMP.js → abnfDiagram-VCTEODGH-BOhrNTrq.js} +1 -1
- package/web/assets/{arc-DYfzA9yu.js → arc-DBbDdhk4.js} +1 -1
- package/web/assets/{architectureDiagram-5GKGNRK7-CskxB0k3.js → architectureDiagram-5GKGNRK7-EGIp9DBV.js} +1 -1
- package/web/assets/{blockDiagram-OSKFZWR5-Xpyuk_R_.js → blockDiagram-OSKFZWR5-B9QkrUmA.js} +1 -1
- package/web/assets/{c4Diagram-7LVT6UL2-BdBrdIh7.js → c4Diagram-7LVT6UL2-DiDRYpqh.js} +1 -1
- package/web/assets/{catalog-ownership-service-DQLCHjkb.js → catalog-ownership-service-BasMaxlq.js} +1 -1
- package/web/assets/{catalog-page-service-DfBXj8UO.js → catalog-page-service-DvhZ4AkE.js} +1 -1
- package/web/assets/channel-BjLLJSb9.js +1 -0
- package/web/assets/{chunk-2Q5K7J3B-DMWOmjwT.js → chunk-2Q5K7J3B-CRdNsQyT.js} +1 -1
- package/web/assets/{chunk-5VM5RSS4-RNe_7tdZ.js → chunk-5VM5RSS4-Cw3tVzMb.js} +1 -1
- package/web/assets/{chunk-F27PBJKO-DBTemRQp.js → chunk-F27PBJKO-7JSDrk1S.js} +1 -1
- package/web/assets/{chunk-HLEWEB6X-Bvz-ooi6.js → chunk-HLEWEB6X-D9GDnPTj.js} +1 -1
- package/web/assets/{chunk-JWPE2WC7-BLZTbN2h.js → chunk-JWPE2WC7-DfR1ZnFo.js} +1 -1
- package/web/assets/{chunk-POPQ4Y6H-BX4VA4e8.js → chunk-POPQ4Y6H-Lk3X_bnL.js} +1 -1
- package/web/assets/{chunk-SVP7TREG-xT5KSFIv.js → chunk-SVP7TREG-Bq6FL410.js} +1 -1
- package/web/assets/{chunk-XXDRQBXY-d6EOJo4n.js → chunk-XXDRQBXY-DhRD76je.js} +1 -1
- package/web/assets/{chunk-ZLD2IHE6-NM2ziQWG.js → chunk-ZLD2IHE6-CGdJ7Tkf.js} +1 -1
- package/web/assets/classDiagram-CYGNFDIV-ByC0I82Y.js +1 -0
- package/web/assets/classDiagram-v2-TLXNO2FR-ByC0I82Y.js +1 -0
- package/web/assets/{conversation-history-Cfjf31Eh.js → conversation-history-goUHPW1b.js} +1 -1
- package/web/assets/{cose-bilkent-JH36ORCC-D7vpaSiq.js → cose-bilkent-JH36ORCC--V4Lx3pP.js} +1 -1
- package/web/assets/{cynefin-OW5HDTMX-CRlsUX-V.js → cynefin-OW5HDTMX-0_7eYzv_.js} +1 -1
- package/web/assets/{cynefinDiagram-5FMLGOSQ-C0zvJdmJ.js → cynefinDiagram-5FMLGOSQ-B7jOgOgw.js} +1 -1
- package/web/assets/{dagre-OS7QT2EB-llnyjObi.js → dagre-OS7QT2EB-QdiZBlbo.js} +1 -1
- package/web/assets/{diagram-S7CK7UJ4-2JgAYCu_.js → diagram-S7CK7UJ4-B2D5BGAw.js} +1 -1
- package/web/assets/{diagram-UQ7AKVKN-Cecsm_uW.js → diagram-UQ7AKVKN-BGQYkAbd.js} +1 -1
- package/web/assets/{diagram-VSXAHHWV-C3VSImZi.js → diagram-VSXAHHWV-B7IEynFq.js} +1 -1
- package/web/assets/{diagram-VX7I27RA-B_-1XPN_.js → diagram-VX7I27RA-COIrGVHq.js} +1 -1
- package/web/assets/{diagram-Z3DM3KII-Dad6nlKG.js → diagram-Z3DM3KII-C_drZwtt.js} +1 -1
- package/web/assets/{ebnfDiagram-PWID7BFC-C7uocL5X.js → ebnfDiagram-PWID7BFC-VRKuazLe.js} +1 -1
- package/web/assets/{enterprise-management-service-D6TGnQqg.js → enterprise-management-service-CK3FbTVV.js} +1 -1
- package/web/assets/{erDiagram-2YWLMYGG-sYj25Lh-.js → erDiagram-2YWLMYGG-DnKK4bir.js} +1 -1
- package/web/assets/{error-presentation-zku4f4Na.js → error-presentation-DQOTqUD7.js} +1 -1
- package/web/assets/{flowDiagram-T62WH6J4-BYrJI8qA.js → flowDiagram-T62WH6J4-SrkT05Zj.js} +1 -1
- package/web/assets/{ganttDiagram-EL5Y4UJY-CbbM1HWv.js → ganttDiagram-EL5Y4UJY-BakKJ9-5.js} +1 -1
- package/web/assets/{gitGraphDiagram-WWUBYQGX-CmMsWWvP.js → gitGraphDiagram-WWUBYQGX-B4AYmOOK.js} +1 -1
- package/web/assets/{hosted-conversation-template-client-JIui_x4a.js → hosted-conversation-template-client-BoCHCJtI.js} +1 -1
- package/web/assets/{index-WVUYMZGr.js → index-7MBD5fMC.js} +1 -1
- package/web/assets/{index-DCjNcqOd.js → index-B5NyaFbX.js} +1 -1
- package/web/assets/{index-rmLuGZaC.js → index-B84vWgBa.js} +1 -1
- package/web/assets/{index-DO-vPiJ-.js → index-BB37na9o.js} +1 -1
- package/web/assets/{index-EfVODvAX.js → index-BCYWXMn_.js} +1 -1
- package/web/assets/{index-B_C8LZPz.js → index-BGT5gh47.js} +1 -1
- package/web/assets/{index-DOwk78qo.js → index-BNFBFnLb.js} +1 -1
- package/web/assets/{index-CXYo0aZg.js → index-BjHAWQeV.js} +4 -4
- package/web/assets/{index-BAy8GZSy.js → index-BmXKYzcb.js} +1 -1
- package/web/assets/{index-ycWuqeba.js → index-C30ST_ml.js} +1 -1
- package/web/assets/{index-Cqwwldhn.js → index-C9SZotti.js} +1 -1
- package/web/assets/{index-CW9KiHI3.js → index-CCD1DeNA.js} +1 -1
- package/web/assets/{index-D2CBJtpC.js → index-CGekgT9N.js} +1 -1
- package/web/assets/{index-DOdM1hrk.js → index-CKHOpjuW.js} +1 -1
- package/web/assets/{index-BsynB1QZ.js → index-COhi3run.js} +1 -1
- package/web/assets/{index-CbndX7Cm.js → index-Cfn1QD0o.js} +1 -1
- package/web/assets/{index-C2gk6wUR.js → index-D-5iXDOd.js} +1 -1
- package/web/assets/{index-CY5_MaD9.js → index-D8uSD1Aj.js} +1 -1
- package/web/assets/{index-C34cxK_p.js → index-DAX5j3r7.js} +1 -1
- package/web/assets/{index-CxINOeGi.js → index-DS9OmDGy.js} +1 -1
- package/web/assets/{index-9xW5hIzI.js → index-DbDH7rMe.js} +1 -1
- package/web/assets/{index-BAp4jQ2P.js → index-Dp9gN398.js} +1 -1
- package/web/assets/{index-BQBtWzmd.js → index-Dph-rypd.js} +1 -1
- package/web/assets/{index-BcTFR7dB.js → index-DqVNuvRM.js} +1 -1
- package/web/assets/{index-DH2DgA88.js → index-Dt3G0NOL.js} +1 -1
- package/web/assets/{index-CC2XNQF9.js → index-swKutpOG.js} +1 -1
- package/web/assets/{index-9AFvDAsj.js → index-xinxmp7Y.js} +1 -1
- package/web/assets/{infoDiagram-FKFFQAWI-CMUxwVCy.js → infoDiagram-FKFFQAWI-CN3wwlWZ.js} +1 -1
- package/web/assets/{ishikawaDiagram-5VMMS53U-CgePNWLO.js → ishikawaDiagram-5VMMS53U-D5bQCcAo.js} +1 -1
- package/web/assets/{journeyDiagram-EYS64GPL-cgUNryqu.js → journeyDiagram-EYS64GPL-DmAZHrFM.js} +1 -1
- package/web/assets/{kanban-definition-UXKFOSKX-D4aobA2-.js → kanban-definition-UXKFOSKX-Dj3pMgT-.js} +1 -1
- package/web/assets/{layout-BjqRkOqP.js → layout-Do4LkMoK.js} +1 -1
- package/web/assets/{linear-BB8qFJdD.js → linear-B40TSXTt.js} +1 -1
- package/web/assets/{management-url-service-BgjJY2L9.js → management-url-service-BOy7K9I4.js} +1 -1
- package/web/assets/{mcp-center-service-CzwAD1yH.js → mcp-center-service-B3QCAVck.js} +1 -1
- package/web/assets/{mermaid.core-CQKmvtuY.js → mermaid.core-3AAzFtPO.js} +5 -5
- package/web/assets/{mindmap-definition-THT77NOG-0gbaRj3X.js → mindmap-definition-THT77NOG-VMKhL1GI.js} +1 -1
- package/web/assets/{mobile-dialog-return-service-B9Umx6Ja.js → mobile-dialog-return-service-BhVsQsoX.js} +1 -1
- package/web/assets/{oauth-callback-0bvLvnZ5.js → oauth-callback-B3SS38EQ.js} +1 -1
- package/web/assets/{pegDiagram-XKGWAZYB-6IaijsHn.js → pegDiagram-XKGWAZYB-B8acRMcF.js} +1 -1
- package/web/assets/{pieDiagram-E7YTZNPT-BDwpnpAN.js → pieDiagram-E7YTZNPT-rOeb7bF3.js} +1 -1
- package/web/assets/{quadrantDiagram-AXDQQJYC-DTHbaV_E.js → quadrantDiagram-AXDQQJYC-DHkPbc7Q.js} +1 -1
- package/web/assets/{railroadDiagram-O6MQD6OU-Bu9b0Olt.js → railroadDiagram-O6MQD6OU-C-9eV9Mh.js} +1 -1
- package/web/assets/{requirementDiagram-IS5BZ75X-DAklrryn.js → requirementDiagram-IS5BZ75X-BleFrus6.js} +1 -1
- package/web/assets/{runner-presentation-C-cTPbeM.js → runner-presentation-DQdsWaPQ.js} +1 -1
- package/web/assets/{sankeyDiagram-P5KCCOFB-DgNah1hF.js → sankeyDiagram-P5KCCOFB-CokZccPI.js} +1 -1
- package/web/assets/{sequenceDiagram-WJ2MYXX4-DDsyMCfI.js → sequenceDiagram-WJ2MYXX4-PQUM5PAD.js} +1 -1
- package/web/assets/{session-share-client-service-bdoizmjD.js → session-share-client-service-Cg6AKwVd.js} +1 -1
- package/web/assets/{sizeCapture-INFHLROL-B1euY0bk.js → sizeCapture-INFHLROL-j8BjkUZu.js} +1 -1
- package/web/assets/{stateDiagram-XQSTLZYL-CwjTbB_i.js → stateDiagram-XQSTLZYL-DO8N0Jkp.js} +1 -1
- package/web/assets/stateDiagram-v2-IH3M54BS-CDKWPkKa.js +1 -0
- package/web/assets/{swimlanes-V6O3JKXN-VuD7hpBC.js → swimlanes-V6O3JKXN-CHjwPjX1.js} +1 -1
- package/web/assets/swimlanesDiagram-JKAHXJPX-BkZ_PTs7.js +8 -0
- package/web/assets/{time-presentation-BZYgfA5o.js → time-presentation-BilmPEGc.js} +1 -1
- package/web/assets/{timeline-definition-24CTP7MA-D_V_tYRM.js → timeline-definition-24CTP7MA-BfyXh83p.js} +1 -1
- package/web/assets/{vennDiagram-4TSXK5OY-jshUno_M.js → vennDiagram-4TSXK5OY-bDPNpzue.js} +1 -1
- package/web/assets/{wardleyDiagram-VM6X3IG4-DZHVP425.js → wardleyDiagram-VM6X3IG4-VkSds4yK.js} +1 -1
- package/web/assets/{workbench-live-service-O2xlmfOF.js → workbench-live-service-D_6OUr5G.js} +1 -1
- package/web/assets/{workbench-presentation-CV7WEE4p.js → workbench-presentation-B_anMWg3.js} +1 -1
- package/web/assets/{xychartDiagram-S5SC5T6Z-C7Rgv3Ly.js → xychartDiagram-S5SC5T6Z-B6X3ewDN.js} +1 -1
- package/web/docs/404.html +2 -2
- package/web/docs/administration/account.html +3 -3
- package/web/docs/administration/audit.html +3 -3
- package/web/docs/administration/conversation-templates.html +3 -3
- package/web/docs/administration/email-notifications.html +3 -3
- package/web/docs/administration/license.html +3 -3
- package/web/docs/administration/nodes-workspaces.html +3 -3
- package/web/docs/administration/oauth.html +3 -3
- package/web/docs/administration/secrets.html +3 -3
- package/web/docs/administration/template-workspace-maintenance.html +3 -3
- package/web/docs/administration/users-organizations.html +3 -3
- package/web/docs/assets/{app.D6T8f4Xi.js → app.ZyP6SAKB.js} +1 -1
- package/web/docs/assets/chunks/@localSearchIndexen-US.CRjQSzZF.js +1 -0
- package/web/docs/assets/chunks/@localSearchIndexroot.CjBQ2KP-.js +1 -0
- package/web/docs/assets/chunks/{VPLocalSearchBox.BY8dAd2K.js → VPLocalSearchBox.eFC8vwLz.js} +1 -1
- package/web/docs/assets/chunks/{theme.CwBg9EXL.js → theme.BZHEaQ3j.js} +2 -2
- package/web/docs/assets/{en-US_workbench_navigation.md.bwp_93yS.js → en-US_workbench_navigation.md.BO2mQZHu.js} +1 -1
- package/web/docs/assets/{workbench_navigation.md.CXd25kxS.js → workbench_navigation.md.Cz-u-Lo5.js} +1 -1
- package/web/docs/concepts/architecture.html +3 -3
- package/web/docs/concepts/data-and-security.html +3 -3
- package/web/docs/concepts/files-git-terminal.html +3 -3
- package/web/docs/concepts/node-and-workspace.html +3 -3
- package/web/docs/concepts/permissions-and-sharing.html +3 -3
- package/web/docs/concepts/runner-control.html +3 -3
- package/web/docs/concepts/secrets.html +3 -3
- package/web/docs/concepts/session-run-turn.html +3 -3
- package/web/docs/deployment/backup-restore.html +3 -3
- package/web/docs/deployment/network.html +3 -3
- package/web/docs/deployment/node-installation.html +3 -3
- package/web/docs/deployment/node-linux.html +3 -3
- package/web/docs/deployment/node-macos.html +3 -3
- package/web/docs/deployment/node-windows.html +3 -3
- package/web/docs/deployment/production.html +3 -3
- package/web/docs/deployment/security-checklist.html +3 -3
- package/web/docs/deployment/upgrade.html +3 -3
- package/web/docs/en-US/administration/account.html +3 -3
- package/web/docs/en-US/administration/audit.html +3 -3
- package/web/docs/en-US/administration/conversation-templates.html +3 -3
- package/web/docs/en-US/administration/email-notifications.html +3 -3
- package/web/docs/en-US/administration/license.html +3 -3
- package/web/docs/en-US/administration/nodes-workspaces.html +3 -3
- package/web/docs/en-US/administration/oauth.html +3 -3
- package/web/docs/en-US/administration/secrets.html +3 -3
- package/web/docs/en-US/administration/template-workspace-maintenance.html +3 -3
- package/web/docs/en-US/administration/users-organizations.html +3 -3
- package/web/docs/en-US/concepts/architecture.html +3 -3
- package/web/docs/en-US/concepts/data-and-security.html +3 -3
- package/web/docs/en-US/concepts/files-git-terminal.html +3 -3
- package/web/docs/en-US/concepts/node-and-workspace.html +3 -3
- package/web/docs/en-US/concepts/permissions-and-sharing.html +3 -3
- package/web/docs/en-US/concepts/runner-control.html +3 -3
- package/web/docs/en-US/concepts/secrets.html +3 -3
- package/web/docs/en-US/concepts/session-run-turn.html +3 -3
- package/web/docs/en-US/deployment/backup-restore.html +3 -3
- package/web/docs/en-US/deployment/network.html +3 -3
- package/web/docs/en-US/deployment/node-installation.html +3 -3
- package/web/docs/en-US/deployment/node-linux.html +3 -3
- package/web/docs/en-US/deployment/node-macos.html +3 -3
- package/web/docs/en-US/deployment/node-windows.html +3 -3
- package/web/docs/en-US/deployment/production.html +3 -3
- package/web/docs/en-US/deployment/security-checklist.html +3 -3
- package/web/docs/en-US/deployment/upgrade.html +3 -3
- package/web/docs/en-US/getting-started/connect-node.html +3 -3
- package/web/docs/en-US/getting-started/first-agent-session.html +3 -3
- package/web/docs/en-US/getting-started/first-login.html +3 -3
- package/web/docs/en-US/getting-started/next-steps.html +3 -3
- package/web/docs/en-US/getting-started/npm-quick-start.html +3 -3
- package/web/docs/en-US/getting-started/overview.html +3 -3
- package/web/docs/en-US/getting-started/prerequisites.html +3 -3
- package/web/docs/en-US/getting-started/register-workspace.html +3 -3
- package/web/docs/en-US/getting-started/server-installation.html +3 -3
- package/web/docs/en-US/operations/marctl.html +3 -3
- package/web/docs/en-US/reference/configuration.html +3 -3
- package/web/docs/en-US/reference/keyboard-shortcuts.html +3 -3
- package/web/docs/en-US/reference/limits.html +3 -3
- package/web/docs/en-US/reference/ports-paths-data.html +3 -3
- package/web/docs/en-US/reference/status-and-errors.html +3 -3
- package/web/docs/en-US/runners/claude-code.html +3 -3
- package/web/docs/en-US/runners/codex.html +3 -3
- package/web/docs/en-US/runners/mar-agent.html +3 -3
- package/web/docs/en-US/runners/opencode.html +3 -3
- package/web/docs/en-US/runners/overview.html +3 -3
- package/web/docs/en-US/runners/runner-troubleshooting.html +3 -3
- package/web/docs/en-US/troubleshooting/node-offline.html +3 -3
- package/web/docs/en-US/troubleshooting/quick-diagnosis.html +3 -3
- package/web/docs/en-US/troubleshooting/session-run.html +3 -3
- package/web/docs/en-US/troubleshooting/terminal.html +3 -3
- package/web/docs/en-US/troubleshooting/workspace-files.html +3 -3
- package/web/docs/en-US/workbench/composer.html +3 -3
- package/web/docs/en-US/workbench/context-and-plan.html +3 -3
- package/web/docs/en-US/workbench/conversation.html +3 -3
- package/web/docs/en-US/workbench/file-reference-and-attachment.html +3 -3
- package/web/docs/en-US/workbench/files.html +3 -3
- package/web/docs/en-US/workbench/git-changes.html +3 -3
- package/web/docs/en-US/workbench/git-history.html +3 -3
- package/web/docs/en-US/workbench/hosted-conversations.html +3 -3
- package/web/docs/en-US/workbench/mobile.html +3 -3
- package/web/docs/en-US/workbench/navigation.html +5 -5
- package/web/docs/en-US/workbench/remote-desktop.html +3 -3
- package/web/docs/en-US/workbench/sessions.html +3 -3
- package/web/docs/en-US/workbench/skills.html +3 -3
- package/web/docs/en-US/workbench/terminal.html +3 -3
- package/web/docs/getting-started/connect-node.html +3 -3
- package/web/docs/getting-started/first-agent-session.html +3 -3
- package/web/docs/getting-started/first-login.html +3 -3
- package/web/docs/getting-started/next-steps.html +3 -3
- package/web/docs/getting-started/npm-quick-start.html +3 -3
- package/web/docs/getting-started/overview.html +3 -3
- package/web/docs/getting-started/prerequisites.html +3 -3
- package/web/docs/getting-started/register-workspace.html +3 -3
- package/web/docs/getting-started/server-installation.html +3 -3
- package/web/docs/hashmap.json +1 -1
- package/web/docs/operations/marctl.html +3 -3
- package/web/docs/reference/configuration.html +3 -3
- package/web/docs/reference/keyboard-shortcuts.html +3 -3
- package/web/docs/reference/limits.html +3 -3
- package/web/docs/reference/ports-paths-data.html +3 -3
- package/web/docs/reference/status-and-errors.html +3 -3
- package/web/docs/runners/claude-code.html +3 -3
- package/web/docs/runners/codex.html +3 -3
- package/web/docs/runners/mar-agent.html +3 -3
- package/web/docs/runners/opencode.html +3 -3
- package/web/docs/runners/overview.html +3 -3
- package/web/docs/runners/runner-troubleshooting.html +3 -3
- package/web/docs/troubleshooting/node-offline.html +3 -3
- package/web/docs/troubleshooting/quick-diagnosis.html +3 -3
- package/web/docs/troubleshooting/session-run.html +3 -3
- package/web/docs/troubleshooting/terminal.html +3 -3
- package/web/docs/troubleshooting/workspace-files.html +3 -3
- package/web/docs/workbench/composer.html +3 -3
- package/web/docs/workbench/context-and-plan.html +3 -3
- package/web/docs/workbench/conversation.html +3 -3
- package/web/docs/workbench/file-reference-and-attachment.html +3 -3
- package/web/docs/workbench/files.html +3 -3
- package/web/docs/workbench/git-changes.html +3 -3
- package/web/docs/workbench/git-history.html +3 -3
- package/web/docs/workbench/hosted-conversations.html +3 -3
- package/web/docs/workbench/mobile.html +3 -3
- package/web/docs/workbench/navigation.html +5 -5
- package/web/docs/workbench/remote-desktop.html +3 -3
- package/web/docs/workbench/sessions.html +3 -3
- package/web/docs/workbench/skills.html +3 -3
- package/web/docs/workbench/terminal.html +3 -3
- package/web/index.html +2 -2
- package/web/service-worker.js +1 -1
- package/web/web-version.json +1 -1
- package/web/assets/AuditManagementPage-DdSFvSrU.css +0 -1
- package/web/assets/AuditManagementPage-xkz11y0T.js +0 -1
- package/web/assets/NodeManagementPage-DXpkxBRT.js +0 -1
- package/web/assets/NodeManagementPage-ygBG-C-u.js +0 -1
- package/web/assets/SecretManagementPage-CWM35C17.js +0 -1
- package/web/assets/SettingsContent-1cXlLDfp.js +0 -1
- package/web/assets/SkillCenterPage-BWZ1Kuwk.js +0 -1
- package/web/assets/WorkbenchPage-CorQjhSF.css +0 -1
- package/web/assets/WorkbenchPage-CyEI3Yln.js +0 -22
- package/web/assets/WorkspaceManagementPage-Cdk7zUmV.js +0 -1
- package/web/assets/WorkspaceManagementPage-CgLA0Tb-.js +0 -1
- package/web/assets/channel-SICih3KJ.js +0 -1
- package/web/assets/classDiagram-CYGNFDIV-BJhEPuc7.js +0 -1
- package/web/assets/classDiagram-v2-TLXNO2FR-BJhEPuc7.js +0 -1
- package/web/assets/stateDiagram-v2-IH3M54BS-CAAuya7O.js +0 -1
- package/web/assets/swimlanesDiagram-JKAHXJPX-CNf6ouPi.js +0 -8
- package/web/docs/assets/chunks/@localSearchIndexen-US.C3JXCVRL.js +0 -1
- package/web/docs/assets/chunks/@localSearchIndexroot.B5rZAuDE.js +0 -1
- /package/web/docs/assets/{en-US_workbench_navigation.md.bwp_93yS.lean.js → en-US_workbench_navigation.md.BO2mQZHu.lean.js} +0 -0
- /package/web/docs/assets/{workbench_navigation.md.CXd25kxS.lean.js → workbench_navigation.md.Cz-u-Lo5.lean.js} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{m as pn,az as Io,I as Mo,a0 as Lo,ad as Fo,w as ui,o as Qt,n as Gn,a2 as Hn,C as Pa,E as $t,G as Xr,p as ri,a9 as dn,c4 as Bo,ab as Po,J as Uo,c5 as di,_ as qn,aq as Ua,a1 as zo,P as $o,a4 as Go,aa as Ho,t as qo,q as Ko}from"./index-CXYo0aZg.js";import{B as Wo}from"./BusyIndicator-ioUVqyOU.js";const Yo="mar-open-standalone-file";function jr(e){const t=new URL(e,typeof location>"u"?"http://localhost":location.origin),n=/^[/]share[/]([A-Za-z0-9_-]{1,128})$/u.exec(t.pathname);return n===null?"workbench":`share:${n[1]}`}function ld(e){const t=new URL(e,typeof location>"u"?"http://localhost":location.origin);if(jr(e)!=="workbench"||t.searchParams.get("standaloneFile")!=="1"||t.searchParams.get("markdownPreview")==="1"||t.searchParams.get("htmlPreview")==="1"||t.searchParams.get("source")==="hosted")return;const n=t.searchParams.get("nodeId"),r=t.searchParams.get("workspaceId"),i=t.searchParams.get("path");if(n===null||r===null||i===null)return;const a=t.searchParams.get("worktreePath"),o=Number(t.searchParams.get("line")),s=Number(t.searchParams.get("column")),c=t.searchParams.get("fileTabKind");let l;if(c!==null){if(c!=="WORKTREE_DIFF"&&c!=="HISTORY_DIFF")return;const u=t.searchParams.get("repositoryPath")??"",d=t.searchParams.get("commit");if(c==="HISTORY_DIFF"&&d===null)return;const h=t.searchParams.get("previousPath"),g=t.searchParams.getAll("refs"),p=t.searchParams.getAll("paths");l={kind:c,...t.searchParams.get("gitFile")==="1"?{gitFile:!0}:{},nodeId:n,workspaceId:r,path:i,repositoryPath:u,worktreePath:a??"",...d===null?{}:{commit:d},...h===null?{}:{previousPath:h},...g.length===0?{}:{refs:g},paths:p.length===0?[i]:p}}return{nodeId:n,workspaceId:r,path:i,...a===null?{}:{worktreePath:a},...l===void 0&&t.searchParams.has("repositoryPath")?{repositoryPath:t.searchParams.get("repositoryPath")}:{},...o>0?{line:o}:{},...s>0?{column:s}:{},...l===void 0?{}:{tab:l}}}function ud(e,t="workbench"){let n,r,i;return{openNew(a){if(jr(a)!==t)return;const s=(typeof window>"u"?void 0:window.open.bind(window))?.(a,"_blank");if(s!=null)return s.opener=null,s.focus(),s},open(a){if(jr(a)!==t)return;const o=typeof window>"u"?void 0:window.open.bind(window);if(o===void 0)return;const s=new URL(a,"http://localhost").searchParams.get("markdownPreview")==="1",c=new URL(a,"http://localhost").searchParams.get("htmlPreview")==="1",l=c?i:s?r:n,d=(l===void 0||l.closed)&&typeof window<"u"&&window.matchMedia?.("(display-mode: standalone)").matches===!0,h=l!==void 0&&!l.closed?l:o(d?a:"",c?`mar-html-preview${t==="workbench"?"":":"+t}`:s?`mar-markdown-preview${t==="workbench"?"":":"+t}`:`mar-file-preview${t==="workbench"?"":":"+t}`);if(h===null)return;if(c?i=h:s?r=h:n=h,d)return h.opener=null,h.focus(),h;let g=!1;try{g=!h.dispatchEvent(new CustomEvent(Yo,{cancelable:!0,detail:{url:a}}))}catch{}return h.opener=null,g||h.location.replace(a),h.focus(),h}}}const Zo=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]);function ut(e,t){return e>>>t|e<<32-t}async function dd(e){if(globalThis.crypto?.subtle){const c=await globalThis.crypto.subtle.digest("SHA-256",e);return Array.from(new Uint8Array(c),l=>l.toString(16).padStart(2,"0")).join("")}const t=e.length-e.length%64,n=e.subarray(t),r=new Uint8Array(n.length<56?64:128);r.set(n),r[n.length]=128;const i=new DataView(r.buffer);i.setUint32(r.length-8,Math.floor(e.length/536870912)),i.setUint32(r.length-4,e.length<<3);const a=new DataView(e.buffer,e.byteOffset,t),o=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),s=new Uint32Array(64);for(let c=0;c<t+r.length;c+=64){c>0&&c%(256*1024)===0&&await new Promise(w=>setTimeout(w,0));const l=c<t?a:i,u=c<t?c:c-t;for(let w=0;w<16;w++)s[w]=l.getUint32(u+w*4);for(let w=16;w<64;w++){const k=s[w-15],N=s[w-2];s[w]=s[w-16]+(ut(k,7)^ut(k,18)^k>>>3)+s[w-7]+(ut(N,17)^ut(N,19)^N>>>10)}let[d,h,g,p,_,b,v,R]=Array.from(o);for(let w=0;w<64;w++){const k=R+(ut(_,6)^ut(_,11)^ut(_,25))+(_&b^~_&v)+Zo[w]+s[w],N=(ut(d,2)^ut(d,13)^ut(d,22))+(d&h^d&g^h&g);R=v,v=b,b=_,_=p+k>>>0,p=g,g=h,h=d,d=k+N>>>0}const A=[d,h,g,p,_,b,v,R];for(let w=0;w<8;w++)o[w]=o[w]+A[w]}return Array.from(o,c=>c.toString(16).padStart(8,"0")).join("")}const ii=Symbol("mar-ui-command"),Jo=pn({__name:"MarDropdown",props:{trigger:{default:"click"},disabled:{type:Boolean},virtualTriggering:{type:Boolean},virtualRef:{},placement:{default:"bottom"},offset:{},persistent:{type:Boolean,default:!0},popperClass:{},popperStyle:{type:[Boolean,null,String,Object,Array]}},emits:["command","visible-change"],setup(e,{expose:t,emit:n}){const r=e,i=n,a=Io(),o=Mo(),s=`${o}-trigger`,c=dn(),l=dn(null),u=dn(null),d=dn(!1);let h,g,p,_=!1,b=!1;const{open:v,show:R,close:A}=Lo(()=>{d.value=!1,p=void 0,_&&(_=!1,i("visible-change",!1))}),w=()=>[...u.value?.querySelectorAll('[role="menuitem"]:enabled')??[]];function k(I){const M=u.value;(I??M)?.focus({preventScroll:!0});const J=M?.querySelector(":scope > .mar-ui-popup__content");if(!I||!J)return;const de=I.getBoundingClientRect(),_e=J.getBoundingClientRect().top+J.clientTop,Q=_e+J.clientHeight;de.top<_e?J.scrollTop+=de.top-_e:de.bottom>Q&&(J.scrollTop+=de.bottom-Q)}function N(I){return I.isConnected&&!I.matches(':disabled, [aria-disabled="true"]')&&!I.closest("[inert]")}function D(I,M,J=!1){if(r.disabled||M&&!N(M)&&!r.virtualTriggering)return;v.value||(p=M),c.value=r.virtualTriggering?void 0:g?.id;const de=Symbol();h=de,d.value=!0;function _e(){if(h!==de)return;h=void 0;const Q=u.value;if(!Q||r.disabled||I instanceof HTMLElement&&!N(I)){d.value=!1;return}const $e=v.value;R(I,Q,{placement:r.placement,offset:r.offset}),!(!v.value||$e)&&(_=!0,i("visible-change",!0),v.value&&k(w().at(J?-1:0)))}u.value?_e():Po(_e)}function C(I=!1){h=void 0,d.value=!1;const M=p,J=u.value;I&&v.value&&M&&J?.contains(J.ownerDocument.activeElement)&&N(M)&&M.focus({preventScroll:!0}),A()}function F(){const I=r.virtualTriggering?r.virtualRef:g;if(!I)return;const M=l.value?.ownerDocument.activeElement,J=r.virtualTriggering?M instanceof HTMLElement?M:void 0:g;D(I,J)}function q(){C(!0)}t({handleOpen:F,handleClose:q}),Fo(()=>{h=void 0}),ui(()=>r.disabled,I=>{I&&C()}),ui(u,I=>{!I&&v.value&&C()}),Uo(ii,{menuId:o,triggerId:c,surface:u,popupClass:di(()=>r.popperClass),popupStyle:di(()=>r.popperStyle),activate(I){!v.value||r.disabled||(I!==void 0&&i("command",I),C(!0))}});function j(I){if(typeof HTMLElement>"u")return;const M=I instanceof HTMLElement?I:I?.$el;g=M instanceof HTMLElement?M:void 0,!g&&!r.virtualTriggering&&v.value&&C()}function ee(I){const M=I.currentTarget;if(!(I.defaultPrevented||r.disabled||!N(M)))if(I.key==="ArrowDown"||I.key==="ArrowUp"){I.preventDefault();const J=I.key==="ArrowUp";v.value?k(w().at(J?-1:0)):D(M,M,J)}else r.trigger==="contextmenu"&&(I.key==="ContextMenu"||I.shiftKey&&I.key==="F10")&&(I.preventDefault(),D(M,M))}const ne=pn(()=>()=>{const I=a.default?.()[0];return I?Bo(I,{ref:j,id:I.props?.id??s,disabled:r.disabled||I.props?.disabled,"aria-haspopup":"menu","aria-expanded":v.value,"aria-controls":r.persistent||d.value?o:void 0,onMousedown:M=>{v.value&&r.trigger==="click"&&M.preventDefault()},onClick:M=>{if(M.defaultPrevented||r.trigger!=="click"&&M.detail!==0)return;const J=M.currentTarget;v.value||h?C(!0):D(J,J)},onContextmenu:M=>{const J=M.currentTarget;if(r.trigger!=="contextmenu"||M.defaultPrevented||r.disabled||!N(J))return;M.preventDefault();const de=new DOMRect(M.clientX,M.clientY);D({getBoundingClientRect:()=>de,contextElement:J},J)},onKeydown:ee},!0):null});function V(I){if(!(I.defaultPrevented||!v.value||!u.value?.contains(I.target))){if(I.key==="Escape")I.preventDefault(),I.stopPropagation(),C(!0);else if(I.key==="Tab")b=!0,setTimeout(()=>b=!1,0);else if(["ArrowUp","ArrowDown","Home","End"].includes(I.key)){I.preventDefault();const M=w();if(!M.length)return;const J=M.findIndex(_e=>_e===I.target),de=I.key==="Home"?0:I.key==="End"?M.length-1:(J+(I.key==="ArrowUp"?J<0?0:-1:1)+M.length)%M.length;k(M[de])}}}function ae(I){const M=u.value,J=I.target,de=I.relatedTarget;!v.value||!M||M.contains(de)||M.contains(J)&&de===g&&!b||(M.contains(J)||J===g)&&C()}return(I,M)=>(Qt(),Gn("div",{ref_key:"root",ref:l,class:Hn(["mar-ui-dropdown",{"mar-ui-dropdown--virtual":e.virtualTriggering}]),onKeydown:V,onFocusout:ae},[e.virtualTriggering?Xr("",!0):(Qt(),Pa($t(ne),{key:0})),e.persistent||d.value?ri(I.$slots,"dropdown",{},void 0,!0,1):Xr("",!0)],34))}}),fd=qn(Jo,[["__scopeId","data-v-dae0645f"]]),Xo=["id","aria-labelledby"],jo={class:"mar-ui-popup__content"},Vo=pn({__name:"MarDropdownMenu",setup(e){const t=Ua(ii),n=t?.surface??dn(null);return(r,i)=>(Qt(),Gn("div",{id:$t(t)?.menuId,ref_key:"surface",ref:n,role:"menu",tabindex:"-1",class:Hn(["mar-ui-popup mar-ui-dropdown__popup",$t(t)?.popupClass.value]),style:zo([$t(t)?.popupStyle.value]),popover:"manual","aria-labelledby":r.$attrs["aria-label"]?void 0:$t(t)?.triggerId.value},[$o("div",jo,[ri(r.$slots,"default",{},void 0,!0)])],14,Xo))}}),pd=qn(Vo,[["__scopeId","data-v-9ee87d4b"]]),Qo=["disabled","aria-disabled"],es=pn({__name:"MarDropdownItem",props:{command:{},disabled:{type:Boolean},divided:{type:Boolean},icon:{}},emits:["click"],setup(e,{emit:t}){const n=e,r=t,i=Ua(ii);function a(o){n.disabled||(r("click",o),o.defaultPrevented||i?.activate(n.command))}return(o,s)=>(Qt(),Gn("button",{type:"button",role:"menuitem",tabindex:"-1",class:Hn(["mar-ui-dropdown-item",{"mar-ui-dropdown-item--divided":e.divided}]),disabled:e.disabled,"aria-disabled":e.disabled||void 0,onClick:a},[e.icon?(Qt(),Pa(Go($t(Ho)(e.icon)),{key:0,"aria-hidden":"true"})):Xr("",!0),ri(o.$slots,"default",{},void 0,!0)],10,Qo))}}),gd=qn(es,[["__scopeId","data-v-273d06fa"]]);function fi(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function ts(e){if(Array.isArray(e))return e}function ns(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,a,o,s=[],c=!0,l=!1;try{if(a=(n=n.call(e)).next,t!==0)for(;!(c=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(u){l=!0,i=u}finally{try{if(!c&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw i}}return s}}function rs(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
1
|
+
import{m as pn,az as Io,I as Mo,a0 as Lo,ad as Fo,w as ui,o as Qt,n as Gn,a2 as Hn,C as Pa,E as $t,G as Xr,p as ri,a9 as dn,c4 as Bo,ab as Po,J as Uo,c5 as di,_ as qn,aq as Ua,a1 as zo,P as $o,a4 as Go,aa as Ho,t as qo,q as Ko}from"./index-BjHAWQeV.js";import{B as Wo}from"./BusyIndicator-CZhp44Q4.js";const Yo="mar-open-standalone-file";function jr(e){const t=new URL(e,typeof location>"u"?"http://localhost":location.origin),n=/^[/]share[/]([A-Za-z0-9_-]{1,128})$/u.exec(t.pathname);return n===null?"workbench":`share:${n[1]}`}function ld(e){const t=new URL(e,typeof location>"u"?"http://localhost":location.origin);if(jr(e)!=="workbench"||t.searchParams.get("standaloneFile")!=="1"||t.searchParams.get("markdownPreview")==="1"||t.searchParams.get("htmlPreview")==="1"||t.searchParams.get("source")==="hosted")return;const n=t.searchParams.get("nodeId"),r=t.searchParams.get("workspaceId"),i=t.searchParams.get("path");if(n===null||r===null||i===null)return;const a=t.searchParams.get("worktreePath"),o=Number(t.searchParams.get("line")),s=Number(t.searchParams.get("column")),c=t.searchParams.get("fileTabKind");let l;if(c!==null){if(c!=="WORKTREE_DIFF"&&c!=="HISTORY_DIFF")return;const u=t.searchParams.get("repositoryPath")??"",d=t.searchParams.get("commit");if(c==="HISTORY_DIFF"&&d===null)return;const h=t.searchParams.get("previousPath"),g=t.searchParams.getAll("refs"),p=t.searchParams.getAll("paths");l={kind:c,...t.searchParams.get("gitFile")==="1"?{gitFile:!0}:{},nodeId:n,workspaceId:r,path:i,repositoryPath:u,worktreePath:a??"",...d===null?{}:{commit:d},...h===null?{}:{previousPath:h},...g.length===0?{}:{refs:g},paths:p.length===0?[i]:p}}return{nodeId:n,workspaceId:r,path:i,...a===null?{}:{worktreePath:a},...l===void 0&&t.searchParams.has("repositoryPath")?{repositoryPath:t.searchParams.get("repositoryPath")}:{},...o>0?{line:o}:{},...s>0?{column:s}:{},...l===void 0?{}:{tab:l}}}function ud(e,t="workbench"){let n,r,i;return{openNew(a){if(jr(a)!==t)return;const s=(typeof window>"u"?void 0:window.open.bind(window))?.(a,"_blank");if(s!=null)return s.opener=null,s.focus(),s},open(a){if(jr(a)!==t)return;const o=typeof window>"u"?void 0:window.open.bind(window);if(o===void 0)return;const s=new URL(a,"http://localhost").searchParams.get("markdownPreview")==="1",c=new URL(a,"http://localhost").searchParams.get("htmlPreview")==="1",l=c?i:s?r:n,d=(l===void 0||l.closed)&&typeof window<"u"&&window.matchMedia?.("(display-mode: standalone)").matches===!0,h=l!==void 0&&!l.closed?l:o(d?a:"",c?`mar-html-preview${t==="workbench"?"":":"+t}`:s?`mar-markdown-preview${t==="workbench"?"":":"+t}`:`mar-file-preview${t==="workbench"?"":":"+t}`);if(h===null)return;if(c?i=h:s?r=h:n=h,d)return h.opener=null,h.focus(),h;let g=!1;try{g=!h.dispatchEvent(new CustomEvent(Yo,{cancelable:!0,detail:{url:a}}))}catch{}return h.opener=null,g||h.location.replace(a),h.focus(),h}}}const Zo=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]);function ut(e,t){return e>>>t|e<<32-t}async function dd(e){if(globalThis.crypto?.subtle){const c=await globalThis.crypto.subtle.digest("SHA-256",e);return Array.from(new Uint8Array(c),l=>l.toString(16).padStart(2,"0")).join("")}const t=e.length-e.length%64,n=e.subarray(t),r=new Uint8Array(n.length<56?64:128);r.set(n),r[n.length]=128;const i=new DataView(r.buffer);i.setUint32(r.length-8,Math.floor(e.length/536870912)),i.setUint32(r.length-4,e.length<<3);const a=new DataView(e.buffer,e.byteOffset,t),o=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),s=new Uint32Array(64);for(let c=0;c<t+r.length;c+=64){c>0&&c%(256*1024)===0&&await new Promise(w=>setTimeout(w,0));const l=c<t?a:i,u=c<t?c:c-t;for(let w=0;w<16;w++)s[w]=l.getUint32(u+w*4);for(let w=16;w<64;w++){const k=s[w-15],N=s[w-2];s[w]=s[w-16]+(ut(k,7)^ut(k,18)^k>>>3)+s[w-7]+(ut(N,17)^ut(N,19)^N>>>10)}let[d,h,g,p,_,b,v,R]=Array.from(o);for(let w=0;w<64;w++){const k=R+(ut(_,6)^ut(_,11)^ut(_,25))+(_&b^~_&v)+Zo[w]+s[w],N=(ut(d,2)^ut(d,13)^ut(d,22))+(d&h^d&g^h&g);R=v,v=b,b=_,_=p+k>>>0,p=g,g=h,h=d,d=k+N>>>0}const A=[d,h,g,p,_,b,v,R];for(let w=0;w<8;w++)o[w]=o[w]+A[w]}return Array.from(o,c=>c.toString(16).padStart(8,"0")).join("")}const ii=Symbol("mar-ui-command"),Jo=pn({__name:"MarDropdown",props:{trigger:{default:"click"},disabled:{type:Boolean},virtualTriggering:{type:Boolean},virtualRef:{},placement:{default:"bottom"},offset:{},persistent:{type:Boolean,default:!0},popperClass:{},popperStyle:{type:[Boolean,null,String,Object,Array]}},emits:["command","visible-change"],setup(e,{expose:t,emit:n}){const r=e,i=n,a=Io(),o=Mo(),s=`${o}-trigger`,c=dn(),l=dn(null),u=dn(null),d=dn(!1);let h,g,p,_=!1,b=!1;const{open:v,show:R,close:A}=Lo(()=>{d.value=!1,p=void 0,_&&(_=!1,i("visible-change",!1))}),w=()=>[...u.value?.querySelectorAll('[role="menuitem"]:enabled')??[]];function k(I){const M=u.value;(I??M)?.focus({preventScroll:!0});const J=M?.querySelector(":scope > .mar-ui-popup__content");if(!I||!J)return;const de=I.getBoundingClientRect(),_e=J.getBoundingClientRect().top+J.clientTop,Q=_e+J.clientHeight;de.top<_e?J.scrollTop+=de.top-_e:de.bottom>Q&&(J.scrollTop+=de.bottom-Q)}function N(I){return I.isConnected&&!I.matches(':disabled, [aria-disabled="true"]')&&!I.closest("[inert]")}function D(I,M,J=!1){if(r.disabled||M&&!N(M)&&!r.virtualTriggering)return;v.value||(p=M),c.value=r.virtualTriggering?void 0:g?.id;const de=Symbol();h=de,d.value=!0;function _e(){if(h!==de)return;h=void 0;const Q=u.value;if(!Q||r.disabled||I instanceof HTMLElement&&!N(I)){d.value=!1;return}const $e=v.value;R(I,Q,{placement:r.placement,offset:r.offset}),!(!v.value||$e)&&(_=!0,i("visible-change",!0),v.value&&k(w().at(J?-1:0)))}u.value?_e():Po(_e)}function C(I=!1){h=void 0,d.value=!1;const M=p,J=u.value;I&&v.value&&M&&J?.contains(J.ownerDocument.activeElement)&&N(M)&&M.focus({preventScroll:!0}),A()}function F(){const I=r.virtualTriggering?r.virtualRef:g;if(!I)return;const M=l.value?.ownerDocument.activeElement,J=r.virtualTriggering?M instanceof HTMLElement?M:void 0:g;D(I,J)}function q(){C(!0)}t({handleOpen:F,handleClose:q}),Fo(()=>{h=void 0}),ui(()=>r.disabled,I=>{I&&C()}),ui(u,I=>{!I&&v.value&&C()}),Uo(ii,{menuId:o,triggerId:c,surface:u,popupClass:di(()=>r.popperClass),popupStyle:di(()=>r.popperStyle),activate(I){!v.value||r.disabled||(I!==void 0&&i("command",I),C(!0))}});function j(I){if(typeof HTMLElement>"u")return;const M=I instanceof HTMLElement?I:I?.$el;g=M instanceof HTMLElement?M:void 0,!g&&!r.virtualTriggering&&v.value&&C()}function ee(I){const M=I.currentTarget;if(!(I.defaultPrevented||r.disabled||!N(M)))if(I.key==="ArrowDown"||I.key==="ArrowUp"){I.preventDefault();const J=I.key==="ArrowUp";v.value?k(w().at(J?-1:0)):D(M,M,J)}else r.trigger==="contextmenu"&&(I.key==="ContextMenu"||I.shiftKey&&I.key==="F10")&&(I.preventDefault(),D(M,M))}const ne=pn(()=>()=>{const I=a.default?.()[0];return I?Bo(I,{ref:j,id:I.props?.id??s,disabled:r.disabled||I.props?.disabled,"aria-haspopup":"menu","aria-expanded":v.value,"aria-controls":r.persistent||d.value?o:void 0,onMousedown:M=>{v.value&&r.trigger==="click"&&M.preventDefault()},onClick:M=>{if(M.defaultPrevented||r.trigger!=="click"&&M.detail!==0)return;const J=M.currentTarget;v.value||h?C(!0):D(J,J)},onContextmenu:M=>{const J=M.currentTarget;if(r.trigger!=="contextmenu"||M.defaultPrevented||r.disabled||!N(J))return;M.preventDefault();const de=new DOMRect(M.clientX,M.clientY);D({getBoundingClientRect:()=>de,contextElement:J},J)},onKeydown:ee},!0):null});function V(I){if(!(I.defaultPrevented||!v.value||!u.value?.contains(I.target))){if(I.key==="Escape")I.preventDefault(),I.stopPropagation(),C(!0);else if(I.key==="Tab")b=!0,setTimeout(()=>b=!1,0);else if(["ArrowUp","ArrowDown","Home","End"].includes(I.key)){I.preventDefault();const M=w();if(!M.length)return;const J=M.findIndex(_e=>_e===I.target),de=I.key==="Home"?0:I.key==="End"?M.length-1:(J+(I.key==="ArrowUp"?J<0?0:-1:1)+M.length)%M.length;k(M[de])}}}function ae(I){const M=u.value,J=I.target,de=I.relatedTarget;!v.value||!M||M.contains(de)||M.contains(J)&&de===g&&!b||(M.contains(J)||J===g)&&C()}return(I,M)=>(Qt(),Gn("div",{ref_key:"root",ref:l,class:Hn(["mar-ui-dropdown",{"mar-ui-dropdown--virtual":e.virtualTriggering}]),onKeydown:V,onFocusout:ae},[e.virtualTriggering?Xr("",!0):(Qt(),Pa($t(ne),{key:0})),e.persistent||d.value?ri(I.$slots,"dropdown",{},void 0,!0,1):Xr("",!0)],34))}}),fd=qn(Jo,[["__scopeId","data-v-dae0645f"]]),Xo=["id","aria-labelledby"],jo={class:"mar-ui-popup__content"},Vo=pn({__name:"MarDropdownMenu",setup(e){const t=Ua(ii),n=t?.surface??dn(null);return(r,i)=>(Qt(),Gn("div",{id:$t(t)?.menuId,ref_key:"surface",ref:n,role:"menu",tabindex:"-1",class:Hn(["mar-ui-popup mar-ui-dropdown__popup",$t(t)?.popupClass.value]),style:zo([$t(t)?.popupStyle.value]),popover:"manual","aria-labelledby":r.$attrs["aria-label"]?void 0:$t(t)?.triggerId.value},[$o("div",jo,[ri(r.$slots,"default",{},void 0,!0)])],14,Xo))}}),pd=qn(Vo,[["__scopeId","data-v-9ee87d4b"]]),Qo=["disabled","aria-disabled"],es=pn({__name:"MarDropdownItem",props:{command:{},disabled:{type:Boolean},divided:{type:Boolean},icon:{}},emits:["click"],setup(e,{emit:t}){const n=e,r=t,i=Ua(ii);function a(o){n.disabled||(r("click",o),o.defaultPrevented||i?.activate(n.command))}return(o,s)=>(Qt(),Gn("button",{type:"button",role:"menuitem",tabindex:"-1",class:Hn(["mar-ui-dropdown-item",{"mar-ui-dropdown-item--divided":e.divided}]),disabled:e.disabled,"aria-disabled":e.disabled||void 0,onClick:a},[e.icon?(Qt(),Pa(Go($t(Ho)(e.icon)),{key:0,"aria-hidden":"true"})):Xr("",!0),ri(o.$slots,"default",{},void 0,!0)],10,Qo))}}),gd=qn(es,[["__scopeId","data-v-273d06fa"]]);function fi(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function ts(e){if(Array.isArray(e))return e}function ns(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,a,o,s=[],c=!0,l=!1;try{if(a=(n=n.call(e)).next,t!==0)for(;!(c=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(u){l=!0,i=u}finally{try{if(!c&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw i}}return s}}function rs(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
2
2
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function is(e,t){return ts(e)||ns(e,t)||as(e,t)||rs()}function as(e,t){if(e){if(typeof e=="string")return fi(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?fi(e,t):void 0}}const za=Object.entries,pi=Object.setPrototypeOf,os=Object.isFrozen,ss=Object.getPrototypeOf,cs=Object.getOwnPropertyDescriptor;let Le=Object.freeze,Fe=Object.seal,jt=Object.create,$a=typeof Reflect<"u"&&Reflect,Vr=$a.apply,Qr=$a.construct;Le||(Le=function(t){return t});Fe||(Fe=function(t){return t});Vr||(Vr=function(t,n){for(var r=arguments.length,i=new Array(r>2?r-2:0),a=2;a<r;a++)i[a-2]=arguments[a];return t.apply(n,i)});Qr||(Qr=function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return new t(...r)});const Jt=Ne(Array.prototype.forEach),ls=Ne(Array.prototype.lastIndexOf),gi=Ne(Array.prototype.pop),Xt=Ne(Array.prototype.push),us=Ne(Array.prototype.splice),Nt=Array.isArray,fn=Ne(String.prototype.toLowerCase),jn=Ne(String.prototype.toString),hi=Ne(String.prototype.match),sn=Ne(String.prototype.replace),mi=Ne(String.prototype.indexOf),ds=Ne(String.prototype.trim),fs=Ne(Number.prototype.toString),ps=Ne(Boolean.prototype.toString),bi=typeof BigInt>"u"?null:Ne(BigInt.prototype.toString),_i=typeof Symbol>"u"?null:Ne(Symbol.prototype.toString),Ie=Ne(Object.prototype.hasOwnProperty),cn=Ne(Object.prototype.toString),Oe=Ne(RegExp.prototype.test),Ut=gs(TypeError);function Ne(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return Vr(e,t,r)}}function gs(e){return function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Qr(e,n)}}function oe(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:fn;if(pi&&pi(e,null),!Nt(t))return e;let r=t.length;for(;r--;){let i=t[r];if(typeof i=="string"){const a=n(i);a!==i&&(os(t)||(t[r]=a),i=a)}e[i]=!0}return e}function hs(e){for(let t=0;t<e.length;t++)Ie(e,t)||(e[t]=null);return e}function Pe(e){const t=jt(null);for(const r of za(e)){var n=is(r,2);const i=n[0],a=n[1];Ie(e,i)&&(Nt(a)?t[i]=hs(a):a&&typeof a=="object"&&a.constructor===Object?t[i]=Pe(a):t[i]=a)}return t}function ms(e){switch(typeof e){case"string":return e;case"number":return fs(e);case"boolean":return ps(e);case"bigint":return bi?bi(e):"0";case"symbol":return _i?_i(e):"Symbol()";case"undefined":return cn(e);case"function":case"object":{if(e===null)return cn(e);const t=e,n=nt(t,"toString");if(typeof n=="function"){const r=n(t);return typeof r=="string"?r:cn(r)}return cn(e)}default:return cn(e)}}function nt(e,t){for(;e!==null;){const r=cs(e,t);if(r){if(r.get)return Ne(r.get);if(typeof r.value=="function")return Ne(r.value)}e=ss(e)}function n(){return null}return n}function bs(e){try{return Oe(e,""),!0}catch{return!1}}const Ei=Le(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),Vn=Le(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),Qn=Le(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),_s=Le(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),er=Le(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),Es=Le(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),vi=Le(["#text"]),Ri=Le(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","command","commandfor","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns"]),tr=Le(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dominant-baseline","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-orientation","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),wi=Le(["accent","accentunder","align","bevelled","close","columnalign","columnlines","columnspacing","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lquote","lspace","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),Mn=Le(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),vs=Fe(/{{[\w\W]*|^[\w\W]*}}/g),Rs=Fe(/<%[\w\W]*|^[\w\W]*%>/g),ws=Fe(/\${[\w\W]*/g),As=Fe(/^data-[\-\w.\u00B7-\uFFFF]+$/),ys=Fe(/^aria-[\-\w]+$/),Ai=Fe(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),ks=Fe(/^(?:\w+script|data):/i),Ts=Fe(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Ns=Fe(/^html$/i),Ss=Fe(/^[a-z][.\w]*(-[.\w]+)+$/i),yi=Fe(/<[/\w!]/g),ki=Fe(/<[/\w]/g),Cs=Fe(/<\/no(script|embed|frames)/i),xs=Fe(/\/>/i),Ye={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,processingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},Ds=function(){return typeof window>"u"?null:window},Os=function(t,n){if(typeof t!="object"||typeof t.createPolicy!="function")return null;let r=null;const i="data-tt-policy-suffix";n&&n.hasAttribute(i)&&(r=n.getAttribute(i));const a="dompurify"+(r?"#"+r:"");try{return t.createPolicy(a,{createHTML(o){return o},createScriptURL(o){return o}})}catch{return console.warn("TrustedTypes policy "+a+" could not be created."),null}},Ti=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},kt=function(t,n,r,i){return Ie(t,n)&&Nt(t[n])?oe(i.base?Pe(i.base):{},t[n],i.transform):r};function Ga(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Ds();const t=y=>Ga(y);if(t.version="3.4.13",t.removed=[],!e||!e.document||e.document.nodeType!==Ye.document||!e.Element)return t.isSupported=!1,t;let n=e.document;const r=n,i=r.currentScript;e.DocumentFragment;const a=e.HTMLTemplateElement,o=e.Node,s=e.Element,c=e.NodeFilter,l=e.NamedNodeMap;l===void 0&&(e.NamedNodeMap||e.MozNamedAttrMap),e.HTMLFormElement;const u=e.DOMParser,d=e.trustedTypes,h=s.prototype,g=nt(h,"cloneNode"),p=nt(h,"remove"),_=nt(h,"nextSibling"),b=nt(h,"childNodes"),v=nt(h,"parentNode"),R=nt(h,"shadowRoot"),A=nt(h,"attributes"),w=o&&o.prototype?nt(o.prototype,"nodeType"):null,k=o&&o.prototype?nt(o.prototype,"nodeName"):null,N=o&&o.prototype?nt(o.prototype,"ownerDocument"):null;if(typeof a=="function"){const y=n.createElement("template");y.content&&y.content.ownerDocument&&(n=y.content.ownerDocument)}let D,C="",F,q=!1,z=0;const j=function(){if(z>0)throw Ut('A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the "DOMPurify and Trusted Types" section of the README.')},ee=function(f){j(),z++;try{return D.createHTML(f)}finally{z--}},ne=function(f){j(),z++;try{return D.createScriptURL(f)}finally{z--}},V=function(){return q||(F=Os(d,i),q=!0),F},ae=n,I=ae.implementation,M=ae.createNodeIterator,J=ae.createDocumentFragment,de=ae.getElementsByTagName,_e=r.importNode;let Q=Ti();t.isSupported=typeof za=="function"&&typeof v=="function"&&I&&I.createHTMLDocument!==void 0;const $e=vs,He=Rs,qe=ws,Xe=As,ve=ys,me=ks,Ce=Ts,Te=Ss;let xe=Ai,re=null;const Ue=oe({},[...Ei,...Vn,...Qn,...er,...vi]);let fe=null;const Ct=oe({},[...Ri,...tr,...wi,...Mn]);let ge=Object.seal(jt(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),rt=null,xt=null;const Ze=Object.seal(jt(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let Dt=!0,ht=!0,Ht=!1,Ot=!0,De=!1,Be=!0,Ae=!1,it=!1,mt=null,bt=null,_t=!1,at=!1,Et=!1,wt=!1,It=!0,qt=!1;const Kt="user-content-";let Mt=!0,ot=!1,je={},te=null;const st=oe({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","selectedcontent","style","svg","template","thead","title","video","xmp"]);let Ve=null;const Qe=oe({},["audio","video","img","source","image","track"]);let m=null;const S=oe({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),L="http://www.w3.org/1998/Math/MathML",Y="http://www.w3.org/2000/svg",ce="http://www.w3.org/1999/xhtml";let he=ce,$=!1,P=null;const Z=oe({},[L,Y,ce],jn),ye=Le(["mi","mo","mn","ms","mtext"]);let Re=oe({},ye);const At=Le(["annotation-xml"]);let Lt=oe({},At);const nn=oe({},["title","style","font","a","script"]);let Ft=null;const rn=["application/xhtml+xml","text/html"],Yn="text/html";let Ee=null,yt=null;const An=n.createElement("form"),Bt=function(f){return f instanceof RegExp||f instanceof Function},an=function(){let f=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(yt&&yt===f)return;(!f||typeof f!="object")&&(f={}),f=Pe(f),Ft=rn.indexOf(f.PARSER_MEDIA_TYPE)===-1?Yn:f.PARSER_MEDIA_TYPE,Ee=Ft==="application/xhtml+xml"?jn:fn,re=kt(f,"ALLOWED_TAGS",Ue,{transform:Ee}),fe=kt(f,"ALLOWED_ATTR",Ct,{transform:Ee}),P=kt(f,"ALLOWED_NAMESPACES",Z,{transform:jn}),m=kt(f,"ADD_URI_SAFE_ATTR",S,{transform:Ee,base:S}),Ve=kt(f,"ADD_DATA_URI_TAGS",Qe,{transform:Ee,base:Qe}),te=kt(f,"FORBID_CONTENTS",st,{transform:Ee}),rt=kt(f,"FORBID_TAGS",Pe({}),{transform:Ee}),xt=kt(f,"FORBID_ATTR",Pe({}),{transform:Ee}),je=Ie(f,"USE_PROFILES")?f.USE_PROFILES&&typeof f.USE_PROFILES=="object"?Pe(f.USE_PROFILES):f.USE_PROFILES:!1,Dt=f.ALLOW_ARIA_ATTR!==!1,ht=f.ALLOW_DATA_ATTR!==!1,Ht=f.ALLOW_UNKNOWN_PROTOCOLS||!1,Ot=f.ALLOW_SELF_CLOSE_IN_ATTR!==!1,De=f.SAFE_FOR_TEMPLATES||!1,Be=f.SAFE_FOR_XML!==!1,Ae=f.WHOLE_DOCUMENT||!1,at=f.RETURN_DOM||!1,Et=f.RETURN_DOM_FRAGMENT||!1,wt=f.RETURN_TRUSTED_TYPE||!1,_t=f.FORCE_BODY||!1,It=f.SANITIZE_DOM!==!1,qt=f.SANITIZE_NAMED_PROPS||!1,Mt=f.KEEP_CONTENT!==!1,ot=f.IN_PLACE||!1,xe=bs(f.ALLOWED_URI_REGEXP)?f.ALLOWED_URI_REGEXP:Ai,he=typeof f.NAMESPACE=="string"?f.NAMESPACE:ce,Re=Ie(f,"MATHML_TEXT_INTEGRATION_POINTS")&&f.MATHML_TEXT_INTEGRATION_POINTS&&typeof f.MATHML_TEXT_INTEGRATION_POINTS=="object"?Pe(f.MATHML_TEXT_INTEGRATION_POINTS):oe({},ye),Lt=Ie(f,"HTML_INTEGRATION_POINTS")&&f.HTML_INTEGRATION_POINTS&&typeof f.HTML_INTEGRATION_POINTS=="object"?Pe(f.HTML_INTEGRATION_POINTS):oe({},At);const E=Ie(f,"CUSTOM_ELEMENT_HANDLING")&&f.CUSTOM_ELEMENT_HANDLING&&typeof f.CUSTOM_ELEMENT_HANDLING=="object"?Pe(f.CUSTOM_ELEMENT_HANDLING):jt(null);if(ge=jt(null),Ie(E,"tagNameCheck")&&Bt(E.tagNameCheck)&&(ge.tagNameCheck=E.tagNameCheck),Ie(E,"attributeNameCheck")&&Bt(E.attributeNameCheck)&&(ge.attributeNameCheck=E.attributeNameCheck),Ie(E,"allowCustomizedBuiltInElements")&&typeof E.allowCustomizedBuiltInElements=="boolean"&&(ge.allowCustomizedBuiltInElements=E.allowCustomizedBuiltInElements),Fe(ge),De&&(ht=!1),Et&&(at=!0),je&&(re=oe({},vi),fe=jt(null),je.html===!0&&(oe(re,Ei),oe(fe,Ri)),je.svg===!0&&(oe(re,Vn),oe(fe,tr),oe(fe,Mn)),je.svgFilters===!0&&(oe(re,Qn),oe(fe,tr),oe(fe,Mn)),je.mathMl===!0&&(oe(re,er),oe(fe,wi),oe(fe,Mn))),Ze.tagCheck=null,Ze.attributeCheck=null,Ie(f,"ADD_TAGS")&&(typeof f.ADD_TAGS=="function"?Ze.tagCheck=f.ADD_TAGS:Nt(f.ADD_TAGS)&&(re===Ue&&(re=Pe(re)),oe(re,f.ADD_TAGS,Ee))),Ie(f,"ADD_ATTR")&&(typeof f.ADD_ATTR=="function"?Ze.attributeCheck=f.ADD_ATTR:Nt(f.ADD_ATTR)&&(fe===Ct&&(fe=Pe(fe)),oe(fe,f.ADD_ATTR,Ee))),Ie(f,"ADD_URI_SAFE_ATTR")&&Nt(f.ADD_URI_SAFE_ATTR)&&oe(m,f.ADD_URI_SAFE_ATTR,Ee),Ie(f,"FORBID_CONTENTS")&&Nt(f.FORBID_CONTENTS)&&(te===st&&(te=Pe(te)),oe(te,f.FORBID_CONTENTS,Ee)),Ie(f,"ADD_FORBID_CONTENTS")&&Nt(f.ADD_FORBID_CONTENTS)&&(te===st&&(te=Pe(te)),oe(te,f.ADD_FORBID_CONTENTS,Ee)),Mt&&(re["#text"]=!0),Ae&&oe(re,["html","head","body"]),re.table&&(oe(re,["tbody"]),delete rt.tbody),f.TRUSTED_TYPES_POLICY){if(typeof f.TRUSTED_TYPES_POLICY.createHTML!="function")throw Ut('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof f.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw Ut('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');const T=D;D=f.TRUSTED_TYPES_POLICY;try{C=ee("")}catch(U){throw D=T,U}}else f.TRUSTED_TYPES_POLICY===null?(D=void 0,C=""):(D===void 0&&(D=V()),D&&typeof C=="string"&&(C=ee("")));Le&&Le(f),yt=f},yn=oe({},[...Vn,...Qn,..._s]),kn=oe({},[...er,...Es]),ct=function(f,E,T){return E.namespaceURI===ce?f==="svg":E.namespaceURI===L?f==="svg"&&(T==="annotation-xml"||Re[T]):!!yn[f]},Tn=function(f,E,T){return E.namespaceURI===ce?f==="math":E.namespaceURI===Y?f==="math"&&Lt[T]:!!kn[f]},Nn=function(f,E,T){return E.namespaceURI===Y&&!Lt[T]||E.namespaceURI===L&&!Re[T]?!1:!kn[f]&&(nn[f]||!yn[f])},Zn=function(f){let E=v(f);(!E||!E.tagName)&&(E={namespaceURI:he,tagName:"template"});const T=fn(f.tagName),U=fn(E.tagName);return P[f.namespaceURI]?f.namespaceURI===Y?ct(T,E,U):f.namespaceURI===L?Tn(T,E,U):f.namespaceURI===ce?Nn(T,E,U):!!(Ft==="application/xhtml+xml"&&P[f.namespaceURI]):!1},lt=function(f){Xt(t.removed,{element:f});try{v(f).removeChild(f)}catch{if(p(f),!v(f))throw Ut("a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place")}},Wt=function(f){O(f);const E=b(f);if(E){const U=[];Jt(E,G=>{Xt(U,G)}),Jt(U,G=>{try{p(G)}catch{}})}const T=A(f);if(T)for(let U=T.length-1;U>=0;--U){const G=T[U],X=G&&G.name;if(typeof X=="string")try{f.removeAttribute(X)}catch{}}},Je=function(f,E){try{Xt(t.removed,{attribute:E.getAttributeNode(f),from:E})}catch{Xt(t.removed,{attribute:null,from:E})}if(E.removeAttribute(f),f==="is")if(at||Et)try{lt(E)}catch{}else try{E.setAttribute(f,"")}catch{}},Jn=function(f){const E=A(f);if(E)for(let T=E.length-1;T>=0;--T){const U=E[T],G=U&&U.name;if(!(typeof G!="string"||fe[Ee(G)]))try{f.removeAttribute(G)}catch{}}},O=function(f){const E=[f];for(;E.length>0;){const T=E.pop();(w?w(T):T.nodeType)===Ye.element&&Jn(T);const G=b(T);if(G)for(let X=G.length-1;X>=0;--X)E.push(G[X])}},K=function(f){if(!Be)return;const E=[f];for(;E.length>0;){const T=E.pop(),U=w?w(T):T.nodeType;if(U===Ye.processingInstruction||U===Ye.comment&&Oe(ki,T.data)){try{p(T)}catch{}continue}if(U===Ye.element){const X=T,le=Ee(k?k(T):T.nodeName);try{X.hasAttribute&&X.hasAttribute("patchsrc")&&X.removeAttribute("patchsrc"),X.hasAttribute&&X.hasAttribute("for")&&le!=="label"&&le!=="output"&&X.removeAttribute("for")}catch{}}const G=b(T);if(G)for(let X=G.length-1;X>=0;--X)E.push(G[X])}},ie=function(f){let E=null,T=null;if(_t)f="<remove></remove>"+f;else{const X=hi(f,/^[\r\n\t ]+/);T=X&&X[0]}Ft==="application/xhtml+xml"&&he===ce&&(f='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+f+"</body></html>");const U=D?ee(f):f;if(he===ce)try{E=new u().parseFromString(U,Ft)}catch{}if(!E||!E.documentElement){E=I.createDocument(he,"template",null);try{E.documentElement.innerHTML=$?C:U}catch{}}const G=E.body||E.documentElement;return f&&T&&G.insertBefore(n.createTextNode(T),G.childNodes[0]||null),he===ce?de.call(E,Ae?"html":"body")[0]:Ae?E.documentElement:G},pe=function(f){const E=N?N(f):f.ownerDocument;return M.call(E||f,f,c.SHOW_ELEMENT|c.SHOW_COMMENT|c.SHOW_TEXT|c.SHOW_PROCESSING_INSTRUCTION|c.SHOW_CDATA_SECTION,null)},we=function(f){return f=sn(f,$e," "),f=sn(f,He," "),f=sn(f,qe," "),f},ze=function(f){var E;f.normalize();const T=N?N(f):f.ownerDocument,U=M.call(T||f,f,c.SHOW_TEXT|c.SHOW_COMMENT|c.SHOW_CDATA_SECTION|c.SHOW_PROCESSING_INSTRUCTION,null);let G=U.nextNode();for(;G;)G.data=we(G.data),G=U.nextNode();const X=(E=f.querySelectorAll)===null||E===void 0?void 0:E.call(f,"template");X&&Jt(X,le=>{et(le.content)&&ze(le.content)})},Ke=function(f){const E=k?k(f):null;return typeof E!="string"||Ee(E)!=="form"?!1:typeof f.nodeName!="string"||typeof f.textContent!="string"||typeof f.removeChild!="function"||f.attributes!==A(f)||typeof f.removeAttribute!="function"||typeof f.setAttribute!="function"||typeof f.namespaceURI!="string"||typeof f.insertBefore!="function"||typeof f.hasChildNodes!="function"||f.nodeType!==w(f)||f.childNodes!==b(f)},et=function(f){if(!w||typeof f!="object"||f===null)return!1;try{return w(f)===Ye.documentFragment}catch{return!1}},Se=function(f){if(!w||typeof f!="object"||f===null)return!1;try{return typeof w(f)=="number"}catch{return!1}};function ke(y,f,E){y.length!==0&&Jt(y,T=>{T.call(t,f,E,yt)})}const Sn=function(f,E){return!!(Be&&f.hasChildNodes()&&!Se(f.firstElementChild)&&Oe(yi,f.textContent)&&Oe(yi,f.innerHTML)||Be&&f.namespaceURI===ce&&E==="style"&&Se(f.firstElementChild)||f.nodeType===Ye.processingInstruction||Be&&f.nodeType===Ye.comment&&Oe(ki,f.data))},Cn=function(f,E,T){if(!rt[E]&&On(E)&&(ge.tagNameCheck instanceof RegExp&&Oe(ge.tagNameCheck,E)||ge.tagNameCheck instanceof Function&&ge.tagNameCheck(E)))return!1;if(Mt&&!te[E]){const U=v(f),G=b(f);if(G&&U){const X=G.length;for(let le=X-1;le>=0;--le){const x=f===T?g(G[le],!0):G[le];U.insertBefore(x,_(f))}}}return lt(f),!0},on=function(f,E,T,U){return f.length===0?E:E===T||E===U?Pe(E):E},xn=function(f,E){if(ke(Q.beforeSanitizeElements,f,null),f!==E&&v(f)===null)return ot&&O(f),!0;if(Ke(f))return lt(f),!0;const T=Ee(k?k(f):f.nodeName);if(re=on(Q.uponSanitizeElement,re,Ue,mt),ke(Q.uponSanitizeElement,f,{tagName:T,allowedTags:re}),f!==E&&v(f)===null)return ot&&O(f),!0;if(Sn(f,T))return lt(f),!0;if(rt[T]||!(Ze.tagCheck instanceof Function&&Ze.tagCheck(T))&&!re[T]){const G=Cn(f,T,E);return G===!1&&ke(Q.afterSanitizeElements,f,null),G}if((w?w(f):f.nodeType)===Ye.element&&!Zn(f)||(T==="noscript"||T==="noembed"||T==="noframes")&&Oe(Cs,f.innerHTML))return lt(f),!0;if(De&&f.nodeType===Ye.text){const G=we(f.textContent);f.textContent!==G&&(Xt(t.removed,{element:f.cloneNode()}),f.textContent=G)}return ke(Q.afterSanitizeElements,f,null),!1},Dn=function(f,E,T){if(xt[E]||Be&&E==="patchsrc"||Be&&E==="for"&&f!=="label"&&f!=="output"||It&&(E==="id"||E==="name")&&(T in n||T in An))return!1;const U=fe[E]||Ze.attributeCheck instanceof Function&&Ze.attributeCheck(E,f);if(!(ht&&Oe(Xe,E))){if(!(Dt&&Oe(ve,E))){if(U){if(!m[E]){if(!Oe(xe,sn(T,Ce,""))){if(!((E==="src"||E==="xlink:href"||E==="href")&&f!=="script"&&mi(T,"data:")===0&&Ve[f])){if(!(Ht&&!Oe(me,sn(T,Ce,"")))){if(T)return!1}}}}}else if(!(On(f)&&(ge.tagNameCheck instanceof RegExp&&Oe(ge.tagNameCheck,f)||ge.tagNameCheck instanceof Function&&ge.tagNameCheck(f))&&(ge.attributeNameCheck instanceof RegExp&&Oe(ge.attributeNameCheck,E)||ge.attributeNameCheck instanceof Function&&ge.attributeNameCheck(E,f))||E==="is"&&ge.allowCustomizedBuiltInElements&&(ge.tagNameCheck instanceof RegExp&&Oe(ge.tagNameCheck,T)||ge.tagNameCheck instanceof Function&&ge.tagNameCheck(T))))return!1}}return!0},Xn=oe({},["annotation-xml","color-profile","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","missing-glyph"]),On=function(f){return!Xn[fn(f)]&&Oe(Te,f)},Yt=function(f,E,T,U){if(D&&typeof d=="object"&&typeof d.getAttributeType=="function"&&!T)switch(d.getAttributeType(f,E)){case"TrustedHTML":return ee(U);case"TrustedScriptURL":return ne(U)}return U},In=function(f,E,T,U){try{T?f.setAttributeNS(T,E,U):f.setAttribute(E,U),Ke(f)?lt(f):gi(t.removed)}catch{Je(E,f)}},We=function(f){ke(Q.beforeSanitizeAttributes,f,null);const E=f.attributes;if(!E||Ke(f))return;fe=on(Q.uponSanitizeAttribute,fe,Ct,bt);const T={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:fe,forceKeepAttr:void 0};let U=E.length;const G=Ee(f.nodeName);for(;U--;){const X=E[U],le=X.name,x=X.namespaceURI,B=X.value,W=Ee(le),se=B;let ue=le==="value"?se:ds(se);if(T.attrName=W,T.attrValue=ue,T.keepAttr=!0,T.forceKeepAttr=void 0,ke(Q.uponSanitizeAttribute,f,T),ue=T.attrValue,qt&&(W==="id"||W==="name")&&mi(ue,Kt)!==0&&(Je(le,f),ue=Kt+ue),Be&&Oe(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,ue)){Je(le,f);continue}if(W==="attributename"&&hi(ue,"href")){Je(le,f);continue}if(!T.forceKeepAttr){if(!T.keepAttr){Je(le,f);continue}if(!Ot&&Oe(xs,ue)){Je(le,f);continue}if(De&&(ue=we(ue)),!Dn(G,W,ue)){Je(le,f);continue}ue=Yt(G,W,x,ue),ue!==se&&In(f,le,x,ue)}}ke(Q.afterSanitizeAttributes,f,null)},Zt=function(f){let E=null;const T=pe(f);for(ke(Q.beforeSanitizeShadowDOM,f,null);E=T.nextNode();)if(ke(Q.uponSanitizeShadowNode,E,null),xn(E,f),We(E),et(E.content)&&Zt(E.content),(w?w(E):E.nodeType)===Ye.element){const G=R(E);et(G)&&(Pt(G),Zt(G))}ke(Q.afterSanitizeShadowDOM,f,null)},Pt=function(f){const E=[{node:f,shadow:null}];for(;E.length>0;){const T=E.pop();if(T.shadow){Zt(T.shadow);continue}const U=T.node,X=(w?w(U):U.nodeType)===Ye.element,le=b(U);if(le)for(let x=le.length-1;x>=0;--x)E.push({node:le[x],shadow:null});if(X){const x=k?k(U):null;if(typeof x=="string"&&Ee(x)==="template"){const B=U.content;et(B)&&E.push({node:B,shadow:null})}}if(X){const x=R(U);et(x)&&E.push({node:null,shadow:x},{node:x,shadow:null})}}};return t.sanitize=function(y){let f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},E=null,T=null,U=null,G=null;if($=!y,$&&(y="<!-->"),typeof y!="string"&&!Se(y)&&(y=ms(y),typeof y!="string"))throw Ut("dirty is not a string, aborting");if(!t.isSupported)return y;it?(re=mt,fe=bt):an(f),(Q.uponSanitizeElement.length>0||Q.uponSanitizeAttribute.length>0)&&(re=Pe(re)),Q.uponSanitizeAttribute.length>0&&(fe=Pe(fe)),t.removed=[];const X=ot&&typeof y!="string"&&Se(y);if(X){K(y);const B=k?k(y):y.nodeName;if(typeof B=="string"){const W=Ee(B);if(!re[W]||rt[W])throw Wt(y),Ut("root node is forbidden and cannot be sanitized in-place")}if(Ke(y))throw Wt(y),Ut("root node is clobbered and cannot be sanitized in-place");try{Pt(y)}catch(W){throw Wt(y),W}}else if(Se(y))E=ie("<!---->"),T=E.ownerDocument.importNode(y,!0),T.nodeType===Ye.element&&T.nodeName==="BODY"||T.nodeName==="HTML"?E=T:E.appendChild(T),Pt(T);else{if(!at&&!De&&!Ae&&y.indexOf("<")===-1)return D&&wt?ee(y):y;if(E=ie(y),!E)return at?null:wt?C:""}E&&_t&<(E.firstChild);const le=X?y:E;try{const B=pe(le);for(;U=B.nextNode();)xn(U,le),We(U),et(U.content)&&Zt(U.content)}catch(B){throw X&&(Wt(y),Jt(t.removed,W=>{W.element&&O(W.element)})),B}if(X)return Jt(t.removed,B=>{B.element&&O(B.element)}),De&&ze(y),y;if(at){if(De&&ze(E),Et)for(G=J.call(E.ownerDocument);E.firstChild;)G.appendChild(E.firstChild);else G=E;return(fe.shadowroot||fe.shadowrootmode)&&(G=_e.call(r,G,!0)),G}let x=Ae?E.outerHTML:E.innerHTML;return Ae&&re["!doctype"]&&E.ownerDocument&&E.ownerDocument.doctype&&E.ownerDocument.doctype.name&&Oe(Ns,E.ownerDocument.doctype.name)&&(x="<!DOCTYPE "+E.ownerDocument.doctype.name+`>
|
|
3
3
|
`+x),De&&(x=we(x)),D&&wt?ee(x):x},t.setConfig=function(){let y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};an(y),it=!0,mt=re,bt=fe},t.clearConfig=function(){yt=null,it=!1,mt=null,bt=null,D=F,C=""},t.isValidAttribute=function(y,f,E){yt||an({});const T=Ee(y),U=Ee(f);return Dn(T,U,E)},t.addHook=function(y,f){typeof f=="function"&&Ie(Q,y)&&Xt(Q[y],f)},t.removeHook=function(y,f){if(Ie(Q,y)){if(f!==void 0){const E=ls(Q[y],f);return E===-1?void 0:us(Q[y],E,1)[0]}return gi(Q[y])}},t.removeHooks=function(y){Ie(Q,y)&&(Q[y]=[])},t.removeAllHooks=function(){Q=Ti()},t}var hd=Ga(),md=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Ha(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function bd(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if(typeof t=="function"){var n=function r(){var i=!1;try{i=this instanceof r}catch{}return i?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var i=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,i.get?i:{enumerable:!0,get:function(){return e[r]}})}),n}var nr,Ni;function Is(){if(Ni)return nr;Ni=1;function e(m){return m instanceof Map?m.clear=m.delete=m.set=function(){throw new Error("map is read-only")}:m instanceof Set&&(m.add=m.clear=m.delete=function(){throw new Error("set is read-only")}),Object.freeze(m),Object.getOwnPropertyNames(m).forEach(S=>{const L=m[S],Y=typeof L;(Y==="object"||Y==="function")&&!Object.isFrozen(L)&&e(L)}),m}class t{constructor(S){S.data===void 0&&(S.data={}),this.data=S.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function n(m){return m.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}function r(m,...S){const L=Object.create(null);for(const Y in m)L[Y]=m[Y];return S.forEach(function(Y){for(const ce in Y)L[ce]=Y[ce]}),L}const i="</span>",a=m=>!!m.scope,o=(m,{prefix:S})=>{if(m.startsWith("language:"))return m.replace("language:","language-");if(m.includes(".")){const L=m.split(".");return[`${S}${L.shift()}`,...L.map((Y,ce)=>`${Y}${"_".repeat(ce+1)}`)].join(" ")}return`${S}${m}`};class s{constructor(S,L){this.buffer="",this.classPrefix=L.classPrefix,S.walk(this)}addText(S){this.buffer+=n(S)}openNode(S){if(!a(S))return;const L=o(S.scope,{prefix:this.classPrefix});this.span(L)}closeNode(S){a(S)&&(this.buffer+=i)}value(){return this.buffer}span(S){this.buffer+=`<span class="${S}">`}}const c=(m={})=>{const S={children:[]};return Object.assign(S,m),S};class l{constructor(){this.rootNode=c(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(S){this.top.children.push(S)}openNode(S){const L=c({scope:S});this.add(L),this.stack.push(L)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(S){return this.constructor._walk(S,this.rootNode)}static _walk(S,L){return typeof L=="string"?S.addText(L):L.children&&(S.openNode(L),L.children.forEach(Y=>this._walk(S,Y)),S.closeNode(L)),S}static _collapse(S){typeof S!="string"&&S.children&&(S.children.every(L=>typeof L=="string")?S.children=[S.children.join("")]:S.children.forEach(L=>{l._collapse(L)}))}}class u extends l{constructor(S){super(),this.options=S}addText(S){S!==""&&this.add(S)}startScope(S){this.openNode(S)}endScope(){this.closeNode()}__addSublanguage(S,L){const Y=S.root;L&&(Y.scope=`language:${L}`),this.add(Y)}toHTML(){return new s(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function d(m){return m?typeof m=="string"?m:m.source:null}function h(m){return _("(?=",m,")")}function g(m){return _("(?:",m,")*")}function p(m){return _("(?:",m,")?")}function _(...m){return m.map(L=>d(L)).join("")}function b(m){const S=m[m.length-1];return typeof S=="object"&&S.constructor===Object?(m.splice(m.length-1,1),S):{}}function v(...m){return"("+(b(m).capture?"":"?:")+m.map(Y=>d(Y)).join("|")+")"}function R(m){return new RegExp(m.toString()+"|").exec("").length-1}function A(m,S){const L=m&&m.exec(S);return L&&L.index===0}const w=new RegExp(v(/\[(?:[^\\\]]|\\.)*\]/,/\(\?<(?![=!])[^>]+>/,/\(\?'[^']+'/,/\(\??/,/\\([1-9][0-9]*)/,/\\./));function k(m,{joinWith:S}){let L=0;return m.map(Y=>{L+=1;const ce=L;let he=d(Y),$="";for(;he.length>0;){const P=w.exec(he);if(!P){$+=he;break}$+=he.substring(0,P.index),he=he.substring(P.index+P[0].length),P[0][0]==="\\"&&P[1]?$+="\\"+String(Number(P[1])+ce):($+=P[0],(P[0]==="("||/^\(\?[<']/.test(P[0]))&&L++)}return $}).map(Y=>`(${Y})`).join(S)}const N=/\b\B/,D="[a-zA-Z]\\w*",C="[a-zA-Z_]\\w*",F="\\b\\d+(\\.\\d+)?",q="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",z="\\b(0b[01]+)",j="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",ee=(m={})=>{const S=/^#![ ]*\//;return m.binary&&(m.begin=_(S,/.*\b/,m.binary,/\b.*/)),r({scope:"meta",begin:S,end:/$/,relevance:0,"on:begin":(L,Y)=>{L.index!==0&&Y.ignoreMatch()}},m)},ne={begin:"\\\\[\\s\\S]",relevance:0},V={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[ne]},ae={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[ne]},I={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},M=function(m,S,L={}){const Y=r({scope:"comment",begin:m,end:S,contains:[]},L);Y.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});const ce=v("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return Y.contains.push({begin:_(/[ ]+/,"(",ce,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),Y},J=M("//","$"),de=M("/\\*","\\*/"),_e=M("#","$"),Q={scope:"number",begin:F,relevance:0},$e={scope:"number",begin:q,relevance:0},He={scope:"number",begin:z,relevance:0},qe={scope:"regexp",begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[ne,{begin:/\[/,end:/\]/,relevance:0,contains:[ne]}]},Xe={scope:"title",begin:D,relevance:0},ve={scope:"title",begin:C,relevance:0},me={begin:"\\.\\s*"+C,relevance:0};var Te=Object.freeze({__proto__:null,APOS_STRING_MODE:V,BACKSLASH_ESCAPE:ne,BINARY_NUMBER_MODE:He,BINARY_NUMBER_RE:z,COMMENT:M,C_BLOCK_COMMENT_MODE:de,C_LINE_COMMENT_MODE:J,C_NUMBER_MODE:$e,C_NUMBER_RE:q,END_SAME_AS_BEGIN:function(m){return Object.assign(m,{"on:begin":(S,L)=>{L.data._beginMatch=S[1]},"on:end":(S,L)=>{L.data._beginMatch!==S[1]&&L.ignoreMatch()}})},HASH_COMMENT_MODE:_e,IDENT_RE:D,MATCH_NOTHING_RE:N,METHOD_GUARD:me,NUMBER_MODE:Q,NUMBER_RE:F,PHRASAL_WORDS_MODE:I,QUOTE_STRING_MODE:ae,REGEXP_MODE:qe,RE_STARTERS_RE:j,SHEBANG:ee,TITLE_MODE:Xe,UNDERSCORE_IDENT_RE:C,UNDERSCORE_TITLE_MODE:ve});function xe(m,S){m.input[m.index-1]==="."&&S.ignoreMatch()}function re(m,S){m.className!==void 0&&(m.scope=m.className,delete m.className)}function Ue(m,S){S&&m.beginKeywords&&(m.begin="\\b("+m.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",m.__beforeBegin=xe,m.keywords=m.keywords||m.beginKeywords,delete m.beginKeywords,m.relevance===void 0&&(m.relevance=0))}function fe(m,S){Array.isArray(m.illegal)&&(m.illegal=v(...m.illegal))}function Ct(m,S){if(m.match){if(m.begin||m.end)throw new Error("begin & end are not supported with match");m.begin=m.match,delete m.match}}function ge(m,S){m.relevance===void 0&&(m.relevance=1)}const rt=(m,S)=>{if(!m.beforeMatch)return;if(m.starts)throw new Error("beforeMatch cannot be used with starts");const L=Object.assign({},m);Object.keys(m).forEach(Y=>{delete m[Y]}),m.keywords=L.keywords,m.begin=_(L.beforeMatch,h(L.begin)),m.starts={relevance:0,contains:[Object.assign(L,{endsParent:!0})]},m.relevance=0,delete L.beforeMatch},xt=["of","and","for","in","not","or","if","then","parent","list","value"],Ze="keyword";function Dt(m,S,L=Ze){const Y=Object.create(null);return typeof m=="string"?ce(L,m.split(" ")):Array.isArray(m)?ce(L,m):Object.keys(m).forEach(function(he){Object.assign(Y,Dt(m[he],S,he))}),Y;function ce(he,$){S&&($=$.map(P=>P.toLowerCase())),$.forEach(function(P){const Z=P.split("|");Y[Z[0]]=[he,ht(Z[0],Z[1])]})}}function ht(m,S){return S?Number(S):Ht(m)?0:1}function Ht(m){return xt.includes(m.toLowerCase())}const Ot={},De=m=>{console.error(m)},Be=(m,...S)=>{console.log(`WARN: ${m}`,...S)},Ae=(m,S)=>{Ot[`${m}/${S}`]||(console.log(`Deprecated as of ${m}. ${S}`),Ot[`${m}/${S}`]=!0)},it=new Error;function mt(m,S,{key:L}){let Y=0;const ce=m[L],he={},$={};for(let P=1;P<=S.length;P++)$[P+Y]=ce[P],he[P+Y]=!0,Y+=R(S[P-1]);m[L]=$,m[L]._emit=he,m[L]._multi=!0}function bt(m){if(Array.isArray(m.begin)){if(m.skip||m.excludeBegin||m.returnBegin)throw De("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),it;if(typeof m.beginScope!="object"||m.beginScope===null)throw De("beginScope must be object"),it;mt(m,m.begin,{key:"beginScope"}),m.begin=k(m.begin,{joinWith:""})}}function _t(m){if(Array.isArray(m.end)){if(m.skip||m.excludeEnd||m.returnEnd)throw De("skip, excludeEnd, returnEnd not compatible with endScope: {}"),it;if(typeof m.endScope!="object"||m.endScope===null)throw De("endScope must be object"),it;mt(m,m.end,{key:"endScope"}),m.end=k(m.end,{joinWith:""})}}function at(m){m.scope&&typeof m.scope=="object"&&m.scope!==null&&(m.beginScope=m.scope,delete m.scope)}function Et(m){at(m),typeof m.beginScope=="string"&&(m.beginScope={_wrap:m.beginScope}),typeof m.endScope=="string"&&(m.endScope={_wrap:m.endScope}),bt(m),_t(m)}function wt(m){function S($,P){return new RegExp(d($),"m"+(m.case_insensitive?"i":"")+(m.unicodeRegex?"u":"")+(P?"g":""))}class L{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(P,Z){Z.position=this.position++,this.matchIndexes[this.matchAt]=Z,this.regexes.push([Z,P]),this.matchAt+=R(P)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const P=this.regexes.map(Z=>Z[1]);this.matcherRe=S(k(P,{joinWith:"|"}),!0),this.lastIndex=0}exec(P){this.matcherRe.lastIndex=this.lastIndex;const Z=this.matcherRe.exec(P);if(!Z)return null;const ye=Z.findIndex((At,Lt)=>Lt>0&&At!==void 0),Re=this.matchIndexes[ye];return Z.splice(0,ye),Object.assign(Z,Re)}}class Y{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(P){if(this.multiRegexes[P])return this.multiRegexes[P];const Z=new L;return this.rules.slice(P).forEach(([ye,Re])=>Z.addRule(ye,Re)),Z.compile(),this.multiRegexes[P]=Z,Z}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(P,Z){this.rules.push([P,Z]),Z.type==="begin"&&this.count++}exec(P){const Z=this.getMatcher(this.regexIndex);Z.lastIndex=this.lastIndex;let ye=Z.exec(P);if(this.resumingScanAtSamePosition()&&!(ye&&ye.index===this.lastIndex)){const Re=this.getMatcher(0);Re.lastIndex=this.lastIndex+1,ye=Re.exec(P)}return ye&&(this.regexIndex+=ye.position+1,this.regexIndex===this.count&&this.considerAll()),ye}}function ce($){const P=new Y;return $.contains.forEach(Z=>P.addRule(Z.begin,{rule:Z,type:"begin"})),$.terminatorEnd&&P.addRule($.terminatorEnd,{type:"end"}),$.illegal&&P.addRule($.illegal,{type:"illegal"}),P}function he($,P){const Z=$;if($.isCompiled)return Z;[re,Ct,Et,rt].forEach(Re=>Re($,P)),m.compilerExtensions.forEach(Re=>Re($,P)),$.__beforeBegin=null,[Ue,fe,ge].forEach(Re=>Re($,P)),$.isCompiled=!0;let ye=null;return typeof $.keywords=="object"&&$.keywords.$pattern&&($.keywords=Object.assign({},$.keywords),ye=$.keywords.$pattern,delete $.keywords.$pattern),ye=ye||/\w+/,$.keywords&&($.keywords=Dt($.keywords,m.case_insensitive)),Z.keywordPatternRe=S(ye,!0),P&&($.begin||($.begin=/\B|\b/),Z.beginRe=S(Z.begin),!$.end&&!$.endsWithParent&&($.end=/\B|\b/),$.end&&(Z.endRe=S(Z.end)),Z.terminatorEnd=d(Z.end)||"",$.endsWithParent&&P.terminatorEnd&&(Z.terminatorEnd+=($.end?"|":"")+P.terminatorEnd)),$.illegal&&(Z.illegalRe=S($.illegal)),$.contains||($.contains=[]),$.contains=[].concat(...$.contains.map(function(Re){return qt(Re==="self"?$:Re)})),$.contains.forEach(function(Re){he(Re,Z)}),$.starts&&he($.starts,P),Z.matcher=ce(Z),Z}if(m.compilerExtensions||(m.compilerExtensions=[]),m.contains&&m.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return m.classNameAliases=r(m.classNameAliases||{}),he(m)}function It(m){return m?m.endsWithParent||It(m.starts):!1}function qt(m){return m.variants&&!m.cachedVariants&&(m.cachedVariants=m.variants.map(function(S){return r(m,{variants:null},S)})),m.cachedVariants?m.cachedVariants:It(m)?r(m,{starts:m.starts?r(m.starts):null}):Object.isFrozen(m)?r(m):m}var Kt="11.12.0";class Mt extends Error{constructor(S,L){super(S),this.name="HTMLInjectionError",this.html=L}}const ot=n,je=r,te=Symbol("nomatch"),st=7,Ve=function(m){const S=Object.create(null),L=Object.create(null),Y=[];let ce=!0;const he="Could not find the language '{}', did you forget to load/include a language module?",$={disableAutodetect:!0,name:"Plain text",contains:[]};let P={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:u};function Z(O){return P.noHighlightRe.test(O)}function ye(O){let K=O.className+" ";K+=O.parentNode?O.parentNode.className:"";const ie=P.languageDetectRe.exec(K);if(ie){const pe=ct(ie[1]);return pe||(Be(he.replace("{}",ie[1])),Be("Falling back to no-highlight mode for this block.",O)),pe?ie[1]:"no-highlight"}return K.split(/\s+/).find(pe=>Z(pe)||ct(pe))}function Re(O,K,ie){let pe="",we="";typeof K=="object"?(pe=O,ie=K.ignoreIllegals,we=K.language):(Ae("10.7.0","highlight(lang, code, ...args) has been deprecated."),Ae("10.7.0",`Please use highlight(code, options) instead.
|
|
4
4
|
https://github.com/highlightjs/highlight.js/issues/2277`),we=O,pe=K),ie===void 0&&(ie=!0);const ze={code:pe,language:we};Je("before:highlight",ze);const Ke=ze.result?ze.result:At(ze.language,ze.code,ie);return Ke.code=ze.code,Je("after:highlight",Ke),Ke}function At(O,K,ie,pe){const we=Object.create(null);function ze(x,B){return x.keywords[B]}function Ke(){if(!y.keywords){E.addText(T);return}let x=0;y.keywordPatternRe.lastIndex=0;let B=y.keywordPatternRe.exec(T),W="";for(;B;){W+=T.substring(x,B.index);const se=We.case_insensitive?B[0].toLowerCase():B[0],ue=ze(y,se);if(ue){const[vt,Do]=ue;if(E.addText(W),W="",we[se]=(we[se]||0)+1,we[se]<=st&&(U+=Do),vt.startsWith("_"))W+=B[0];else{const Oo=We.classNameAliases[vt]||vt;ke(B[0],Oo)}}else W+=B[0];x=y.keywordPatternRe.lastIndex,B=y.keywordPatternRe.exec(T)}W+=T.substring(x),E.addText(W)}function et(){if(T==="")return;let x=null;if(typeof y.subLanguage=="string"){if(!S[y.subLanguage]){E.addText(T);return}x=At(y.subLanguage,T,!0,f[y.subLanguage]),f[y.subLanguage]=x._top}else x=nn(T,y.subLanguage.length?y.subLanguage:null);y.relevance>0&&(U+=x.relevance),E.__addSublanguage(x._emitter,x.language)}function Se(){y.subLanguage!=null?et():Ke(),T=""}function ke(x,B){x!==""&&(E.startScope(B),E.addText(x),E.endScope())}function Sn(x,B){let W=1;const se=B.length-1;for(;W<=se;){if(!x._emit[W]){W++;continue}const ue=We.classNameAliases[x[W]]||x[W],vt=B[W];ue?ke(vt,ue):(T=vt,Ke(),T=""),W++}}function Cn(x,B){return x.scope&&typeof x.scope=="string"&&E.openNode(We.classNameAliases[x.scope]||x.scope),x.beginScope&&(x.beginScope._wrap?(ke(T,We.classNameAliases[x.beginScope._wrap]||x.beginScope._wrap),T=""):x.beginScope._multi&&(Sn(x.beginScope,B),T="")),y=Object.create(x,{parent:{value:y}}),y}function on(x,B,W){let se=A(x.endRe,W);if(se){if(x["on:end"]){const ue=new t(x);x["on:end"](B,ue),ue.isMatchIgnored&&(se=!1)}if(se){for(;x.endsParent&&x.parent;)x=x.parent;return x}}if(x.endsWithParent)return on(x.parent,B,W)}function xn(x){return y.matcher.regexIndex===0?(T+=x[0],1):(le=!0,0)}function Dn(x){const B=x[0],W=x.rule,se=new t(W),ue=[W.__beforeBegin,W["on:begin"]];for(const vt of ue)if(vt&&(vt(x,se),se.isMatchIgnored))return xn(B);return W.skip?T+=B:(W.excludeBegin&&(T+=B),Se(),!W.returnBegin&&!W.excludeBegin&&(T=B)),Cn(W,x),W.returnBegin?0:B.length}function Xn(x){const B=x[0],W=K.substring(x.index),se=on(y,x,W);if(!se)return te;const ue=y;y.endScope&&y.endScope._wrap?(Se(),ke(B,y.endScope._wrap)):y.endScope&&y.endScope._multi?(Se(),Sn(y.endScope,x)):ue.skip?T+=B:(ue.returnEnd||ue.excludeEnd||(T+=B),Se(),ue.excludeEnd&&(T=B));do y.scope&&E.closeNode(),!y.skip&&!y.subLanguage&&(U+=y.relevance),y=y.parent;while(y!==se.parent);return se.starts&&Cn(se.starts,x),ue.returnEnd?0:B.length}function On(){const x=[];for(let B=y;B!==We;B=B.parent)B.scope&&x.unshift(B.scope);x.forEach(B=>E.openNode(B))}let Yt={};function In(x,B){const W=B&&B[0];if(T+=x,W==null)return Se(),0;if(Yt.type==="begin"&&B.type==="end"&&Yt.index===B.index&&W===""){if(T+=K.slice(B.index,B.index+1),!ce){const se=new Error(`0 width match regex (${O})`);throw se.languageName=O,se.badRule=Yt.rule,se}return 1}if(Yt=B,B.type==="begin")return Dn(B);if(B.type==="illegal"&&!ie){const se=new Error('Illegal lexeme "'+W+'" for mode "'+(y.scope||"<unnamed>")+'"');throw se.mode=y,se}else if(B.type==="end"){const se=Xn(B);if(se!==te)return se}if(B.type==="illegal"&&W==="")return B.index===K.length||(T+=`
|