@oneworks/client 0.1.0-beta.0 → 0.1.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/{ActionSearchToolbar-8q-bk3mu.js → ActionSearchToolbar-BqRwfUQY.js} +1 -1
- package/dist/assets/{AgentRoomRoute-DfSI_dFH.js → AgentRoomRoute-BYgM7vgg.js} +1 -1
- package/dist/assets/{AgentRoomSessionRoute-DH9PdjZm.js → AgentRoomSessionRoute-DdoZY7qL.js} +1 -1
- package/dist/assets/{ArchiveRoute-E9-htB4H.js → ArchiveRoute-ydgLUN7p.js} +1 -1
- package/dist/assets/{AuthenticatedApp-CgBrvMuc.js → AuthenticatedApp-CK9TT7Nk.js} +192 -192
- package/dist/assets/{AutomationRoute-Bw2xw5bx.js → AutomationRoute-CpcRbNa8.js} +1 -1
- package/dist/assets/{BenchmarkRoute-3VS17jHr.js → BenchmarkRoute-CZRZVolT.js} +1 -1
- package/dist/assets/{ChatRoute-CBQ3j4Je.js → ChatRoute-DdRVEkAb.js} +1 -1
- package/dist/assets/{Collapse-B-oCiEx4.js → Collapse-CxTS9FJh.js} +1 -1
- package/dist/assets/{ComposerLanding-SZn_zRGX.js → ComposerLanding-BChGuCjF.js} +1 -1
- package/dist/assets/{ConfigRoute-Dv-7BRGG.js → ConfigRoute-D_EkHryB.js} +1 -1
- package/dist/assets/{InteractionStructureRoute-FDl9jRvT.js → InteractionStructureRoute-Dpjr6hIq.js} +1 -1
- package/dist/assets/{KnowledgeRoute-C5em_VSL.js → KnowledgeRoute-Bp4Da65A.js} +1 -1
- package/dist/assets/{LauncherApp-olYmK_zO.js → LauncherApp-ByUpDwod.js} +2 -2
- package/dist/assets/{LauncherRoute-Qt8dQkIk.js → LauncherRoute-B94P9m3I.js} +1 -1
- package/dist/assets/{MobileAwareSelect-BmK6WApn.js → MobileAwareSelect-CCAQrsxL.js} +1 -1
- package/dist/assets/{ModuleManagementRoute-B1I_8JKc.js → ModuleManagementRoute-DcrMX6P7.js} +1 -1
- package/dist/assets/{NotFoundRoute-Bj6_YY3I.js → NotFoundRoute-C1IfsiZY.js} +1 -1
- package/dist/assets/{PluginStoreRoute-B847PAZ5.js → PluginStoreRoute-7UBLkrWc.js} +1 -1
- package/dist/assets/{RouteContainerPanelTabs-BnIptVwq.js → RouteContainerPanelTabs-D8pC61tF.js} +1 -1
- package/dist/assets/{SchemaObjectEditor-B9fPfDyT.js → SchemaObjectEditor-DvwrURac.js} +1 -1
- package/dist/assets/{StandaloneMobileDebugRoute-BR4w_LeM.js → StandaloneMobileDebugRoute--yiQ5EdW.js} +1 -1
- package/dist/assets/{WorkspaceApp-BNmtIdn4.js → WorkspaceApp-l-h_IsMp.js} +3 -3
- package/dist/assets/{agent-room-session-paths-Dca8S6NN.js → agent-room-session-paths-DNpYqOr3.js} +3 -3
- package/dist/assets/{arc-JBUpUV6M.js → arc-Xh4h56Fv.js} +1 -1
- package/dist/assets/{blockDiagram-c4efeb88-DKhNwgEQ.js → blockDiagram-c4efeb88-CG3HxYeL.js} +1 -1
- package/dist/assets/{c4Diagram-c83219d4-CWODEGms.js → c4Diagram-c83219d4-DiEPAqCg.js} +1 -1
- package/dist/assets/channel-DH-F5Uqk.js +1 -0
- package/dist/assets/{classDiagram-beda092f-DlghsOqF.js → classDiagram-beda092f-Dwx44PuJ.js} +1 -1
- package/dist/assets/{classDiagram-v2-2358418a-CrSR8gWz.js → classDiagram-v2-2358418a-COXM437u.js} +1 -1
- package/dist/assets/client-build-info-6B4KoYHs.js +1 -0
- package/dist/assets/clone-DGri7oGq.js +1 -0
- package/dist/assets/{createText-1719965b-CLlPr73k.js → createText-1719965b-DPLMqVqY.js} +1 -1
- package/dist/assets/{cssMode-Bt_74RVV.js → cssMode-DfDq4hLs.js} +1 -1
- package/dist/assets/{dockPanelConstants-BWuu_DJp.js → dockPanelConstants-OzU6hJl5.js} +1 -1
- package/dist/assets/{edges-96097737-L_gy1fky.js → edges-96097737-ry9ejc8v.js} +1 -1
- package/dist/assets/{erDiagram-0228fc6a-X1QMD6me.js → erDiagram-0228fc6a-AcCPz3wc.js} +1 -1
- package/dist/assets/{flowDb-c6c81e3f-DNdWK0Po.js → flowDb-c6c81e3f-BGnBxhJf.js} +1 -1
- package/dist/assets/{flowDiagram-50d868cf-C2khStgw.js → flowDiagram-50d868cf-BnS6RFWo.js} +1 -1
- package/dist/assets/flowDiagram-v2-4f6560a1-C3klqpJG.js +1 -0
- package/dist/assets/{flowchart-elk-definition-6af322e1-C89sxd2D.js → flowchart-elk-definition-6af322e1-8-ynORZL.js} +1 -1
- package/dist/assets/{freemarker2-DZ1XIuHj.js → freemarker2-uFZBYLEW.js} +1 -1
- package/dist/assets/{ganttDiagram-a2739b55-Ba3rPNKd.js → ganttDiagram-a2739b55-3MEPfmMB.js} +1 -1
- package/dist/assets/{gitGraphDiagram-82fe8481-DTEFHHtN.js → gitGraphDiagram-82fe8481-BKYGV9pb.js} +1 -1
- package/dist/assets/{graph-BPujwFoF.js → graph-BEwlNa_j.js} +1 -1
- package/dist/assets/{handlebars-lOgsnnQw.js → handlebars-dg6IZCa7.js} +1 -1
- package/dist/assets/{html-DLHadu9L.js → html-KunL9NkW.js} +1 -1
- package/dist/assets/{htmlMode-VeiQ-IsQ.js → htmlMode-CrFpTEpC.js} +1 -1
- package/dist/assets/{index-5325376f-Cx2RM6pk.js → index-5325376f-CCcP_Ahl.js} +1 -1
- package/dist/assets/{index-D4eelxQF.js → index-BIs5hzci.js} +1 -1
- package/dist/assets/{index-CJEVYkL9.js → index-BggFUwYR.js} +1 -1
- package/dist/assets/{index-Cp4GfHnF.js → index-DdUqPqXW.js} +3 -3
- package/dist/assets/{index-CBFCjoHv.js → index-DhpAFZQZ.js} +1 -1
- package/dist/assets/{index-sFqkb8xv.js → index-YzfSzOLk.js} +1 -1
- package/dist/assets/{index-CWmEuVWV.js → index-ZOsqqPVv.js} +1 -1
- package/dist/assets/{index-DBUG8CzV.js → index-nXq6jwfM.js} +1 -1
- package/dist/assets/{infoDiagram-8eee0895-Bj9hWnDg.js → infoDiagram-8eee0895-BzZ34kgw.js} +1 -1
- package/dist/assets/{interaction-panel-mobile-debug-pages-1Gdivksn.js → interaction-panel-mobile-debug-pages-DXC3HSZU.js} +1 -1
- package/dist/assets/{javascript-CXJw-bvU.js → javascript-DA3fh3oR.js} +1 -1
- package/dist/assets/{journeyDiagram-c64418c1-BXAycrrn.js → journeyDiagram-c64418c1-B_kSGErn.js} +1 -1
- package/dist/assets/{jsonMode-DmUNJfpX.js → jsonMode-BDucSIBv.js} +1 -1
- package/dist/assets/{layout-Bp8GVMnq.js → layout-CRLM1T9z.js} +1 -1
- package/dist/assets/{line-olpPNgnh.js → line-Cdyr_7ve.js} +1 -1
- package/dist/assets/{linear-flh_7ux_.js → linear-y86GycLK.js} +1 -1
- package/dist/assets/{liquid-BiVpRgBP.js → liquid-mJp997il.js} +1 -1
- package/dist/assets/{lspLanguageFeatures-olWF83eX.js → lspLanguageFeatures-DiGGmudW.js} +1 -1
- package/dist/assets/{mdx-B5dr7YB-.js → mdx-Co6h2mZ2.js} +1 -1
- package/dist/assets/{mermaid.core-NVIiXnRA.js → mermaid.core-VYJIZL_J.js} +4 -4
- package/dist/assets/{mindmap-definition-8da855dc-BOCh8K8K.js → mindmap-definition-8da855dc-DKNG2gyr.js} +1 -1
- package/dist/assets/{pieDiagram-a8764435-CCitKBQK.js → pieDiagram-a8764435-Cu3up9mc.js} +1 -1
- package/dist/assets/{project-file-tree-icons-DqqhgvoI.js → project-file-tree-icons-CfonMx-1.js} +1 -1
- package/dist/assets/{python-BkEOPIle.js → python-BUUKzwmG.js} +1 -1
- package/dist/assets/{quadrantDiagram-1e28029f-C_FvcHzZ.js → quadrantDiagram-1e28029f-DHW8R4el.js} +1 -1
- package/dist/assets/{razor-BCMQgdis.js → razor-ZPlQfY47.js} +1 -1
- package/dist/assets/{requirementDiagram-08caed73-B001ugYd.js → requirementDiagram-08caed73-CXWNC-_B.js} +1 -1
- package/dist/assets/{route-plugin-chrome-B-Goj3vG.js → route-plugin-chrome-bV1HEaju.js} +1 -1
- package/dist/assets/{sankeyDiagram-a04cb91d-BnkC9YW5.js → sankeyDiagram-a04cb91d-DhKL8pMH.js} +1 -1
- package/dist/assets/{sequenceDiagram-c5b8d532-BGiFCs5z.js → sequenceDiagram-c5b8d532-D3fAcQeI.js} +1 -1
- package/dist/assets/{shortcutUtils-20iqPDwh.js → shortcutUtils-B8h6g_7o.js} +1 -1
- package/dist/assets/{stateDiagram-1ecb1508-Uk4XxTkP.js → stateDiagram-1ecb1508-wKQS4LMF.js} +1 -1
- package/dist/assets/{stateDiagram-v2-c2b004d7-Db6Ouywh.js → stateDiagram-v2-c2b004d7-D5qOKtOa.js} +1 -1
- package/dist/assets/{styles-b4e223ce-CfG45yIm.js → styles-b4e223ce-CpBwPex_.js} +1 -1
- package/dist/assets/{styles-ca3715f6-BGGbMvKc.js → styles-ca3715f6-4bqpN1KH.js} +1 -1
- package/dist/assets/{styles-d45a18b0-mHteeqS2.js → styles-d45a18b0-B0RCBD5D.js} +1 -1
- package/dist/assets/{svgDrawCommon-b86b1483-BAMR2PsF.js → svgDrawCommon-b86b1483-C9KXk4gS.js} +1 -1
- package/dist/assets/{timeline-definition-faaaa080-DLBoPuJD.js → timeline-definition-faaaa080-B1Bfjd0m.js} +1 -1
- package/dist/assets/{tsMode-BTzZ8Zos.js → tsMode-Bd8BwKXc.js} +1 -1
- package/dist/assets/{typescript-_rLmAd51.js → typescript-CLd6MPK0.js} +1 -1
- package/dist/assets/{use-app-preferences-gyulV-hA.js → use-app-preferences-DGCafwsP.js} +1 -1
- package/dist/assets/{use-chat-session-actions-DDZ5KCua.js → use-chat-session-actions-wF_HiVzj.js} +1 -1
- package/dist/assets/{vendor-state-BYwEPTaO.js → vendor-state-zjcHRN98.js} +1 -1
- package/dist/assets/{workspace-file-openers-BwZ5cSeq.js → workspace-file-openers-Dj_Cfk1S.js} +1 -1
- package/dist/assets/{xml-BAU8TJ-c.js → xml-BeC1cWk3.js} +1 -1
- package/dist/assets/{xychartDiagram-f5964ef8-CNfcxTsi.js → xychartDiagram-f5964ef8-DbJVUSHy.js} +1 -1
- package/dist/assets/{yaml-_cphTIn0.js → yaml-gQrw9AcN.js} +1 -1
- package/dist/index.html +2 -2
- package/package.json +17 -17
- package/dist/assets/channel-BsuHYNQO.js +0 -1
- package/dist/assets/client-build-info-bcijLdfD.js +0 -1
- package/dist/assets/clone-BKV6leIk.js +0 -1
- package/dist/assets/flowDiagram-v2-4f6560a1-DW5hyUju.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{cj as t}from"./AuthenticatedApp-
|
|
1
|
+
import{cj as t}from"./AuthenticatedApp-CK9TT7Nk.js";import"./vendor-react-CnooHTJc.js";import"./vendor-state-zjcHRN98.js";import"./index-DdUqPqXW.js";import"./MobileAwareSelect-CCAQrsxL.js";import"./use-app-preferences-DGCafwsP.js";import"./route-plugin-chrome-bV1HEaju.js";import"./shortcutUtils-B8h6g_7o.js";import"./project-file-tree-icons-CfonMx-1.js";import"./WorkspaceApp-l-h_IsMp.js";import"./index-ZOsqqPVv.js";import"./client-build-info-6B4KoYHs.js";const e=["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"],u={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\$\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\s]+)/g,comments:{blockComment:["<!--","-->"]},brackets:[["<!--","-->"],["<",">"],["{","}"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:'"',close:'"'},{open:"'",close:"'"},{open:"<",close:">"}],onEnterRules:[{beforeText:new RegExp(`<(?!(?:${e.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),afterText:/^<\/(\w[\w\d]*)\s*>$/i,action:{indentAction:t.IndentAction.IndentOutdent}},{beforeText:new RegExp(`<(?!(?:${e.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),action:{indentAction:t.IndentAction.Indent}}]},b={defaultToken:"",tokenPostfix:"",tokenizer:{root:[[/@@@@/],[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.root"}],[/<!DOCTYPE/,"metatag.html","@doctype"],[/<!--/,"comment.html","@comment"],[/(<)([\w\-]+)(\/>)/,["delimiter.html","tag.html","delimiter.html"]],[/(<)(script)/,["delimiter.html",{token:"tag.html",next:"@script"}]],[/(<)(style)/,["delimiter.html",{token:"tag.html",next:"@style"}]],[/(<)([:\w\-]+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/(<\/)([\w\-]+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/</,"delimiter.html"],[/[ \t\r\n]+/],[/[^<@]+/]],doctype:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.comment"}],[/[^>]+/,"metatag.content.html"],[/>/,"metatag.html","@pop"]],comment:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.comment"}],[/-->/,"comment.html","@pop"],[/[^-]+/,"comment.content.html"],[/./,"comment.content.html"]],otherTag:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.otherTag"}],[/\/?>/,"delimiter.html","@pop"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/]],script:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.script"}],[/type/,"attribute.name","@scriptAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/(<\/)(script\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],scriptAfterType:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.scriptAfterType"}],[/=/,"delimiter","@scriptAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptAfterTypeEquals:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.scriptAfterTypeEquals"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptWithCustomType:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.scriptWithCustomType.$S2"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptEmbedded:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInEmbeddedState.scriptEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/script/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],style:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.style"}],[/type/,"attribute.name","@styleAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/(<\/)(style\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],styleAfterType:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.styleAfterType"}],[/=/,"delimiter","@styleAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleAfterTypeEquals:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.styleAfterTypeEquals"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleWithCustomType:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.styleWithCustomType.$S2"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleEmbedded:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInEmbeddedState.styleEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/style/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],razorInSimpleState:[[/@\*/,"comment.cs","@razorBlockCommentTopLevel"],[/@[{(]/,"metatag.cs","@razorRootTopLevel"],[/(@)(\s*[\w]+)/,["metatag.cs",{token:"identifier.cs",switchTo:"@$S2.$S3"}]],[/[})]/,{token:"metatag.cs",switchTo:"@$S2.$S3"}],[/\*@/,{token:"comment.cs",switchTo:"@$S2.$S3"}]],razorInEmbeddedState:[[/@\*/,"comment.cs","@razorBlockCommentTopLevel"],[/@[{(]/,"metatag.cs","@razorRootTopLevel"],[/(@)(\s*[\w]+)/,["metatag.cs",{token:"identifier.cs",switchTo:"@$S2.$S3",nextEmbedded:"$S3"}]],[/[})]/,{token:"metatag.cs",switchTo:"@$S2.$S3",nextEmbedded:"$S3"}],[/\*@/,{token:"comment.cs",switchTo:"@$S2.$S3",nextEmbedded:"$S3"}]],razorBlockCommentTopLevel:[[/\*@/,"@rematch","@pop"],[/[^*]+/,"comment.cs"],[/./,"comment.cs"]],razorBlockComment:[[/\*@/,"comment.cs","@pop"],[/[^*]+/,"comment.cs"],[/./,"comment.cs"]],razorRootTopLevel:[[/\{/,"delimiter.bracket.cs","@razorRoot"],[/\(/,"delimiter.parenthesis.cs","@razorRoot"],[/[})]/,"@rematch","@pop"],{include:"razorCommon"}],razorRoot:[[/\{/,"delimiter.bracket.cs","@razorRoot"],[/\(/,"delimiter.parenthesis.cs","@razorRoot"],[/\}/,"delimiter.bracket.cs","@pop"],[/\)/,"delimiter.parenthesis.cs","@pop"],{include:"razorCommon"}],razorCommon:[[/[a-zA-Z_]\w*/,{cases:{"@razorKeywords":{token:"keyword.cs"},"@default":"identifier.cs"}}],[/[\[\]]/,"delimiter.array.cs"],[/[ \t\r\n]+/],[/\/\/.*$/,"comment.cs"],[/@\*/,"comment.cs","@razorBlockComment"],[/"([^"]*)"/,"string.cs"],[/'([^']*)'/,"string.cs"],[/(<)([\w\-]+)(\/>)/,["delimiter.html","tag.html","delimiter.html"]],[/(<)([\w\-]+)(>)/,["delimiter.html","tag.html","delimiter.html"]],[/(<\/)([\w\-]+)(>)/,["delimiter.html","tag.html","delimiter.html"]],[/[\+\-\*\%\&\|\^\~\!\=\<\>\/\?\;\:\.\,]/,"delimiter.cs"],[/\d*\d+[eE]([\-+]?\d+)?/,"number.float.cs"],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float.cs"],[/0[xX][0-9a-fA-F']*[0-9a-fA-F]/,"number.hex.cs"],[/0[0-7']*[0-7]/,"number.octal.cs"],[/0[bB][0-1']*[0-1]/,"number.binary.cs"],[/\d[\d']*/,"number.cs"],[/\d/,"number.cs"]]},razorKeywords:["abstract","as","async","await","base","bool","break","by","byte","case","catch","char","checked","class","const","continue","decimal","default","delegate","do","double","descending","explicit","event","extern","else","enum","false","finally","fixed","float","for","foreach","from","goto","group","if","implicit","in","int","interface","internal","into","is","lock","long","nameof","new","null","namespace","object","operator","out","override","orderby","params","private","protected","public","readonly","ref","return","switch","struct","sbyte","sealed","short","sizeof","stackalloc","static","string","select","this","throw","true","try","typeof","uint","ulong","unchecked","unsafe","ushort","using","var","virtual","volatile","void","when","while","where","yield","model","inject"],escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/};export{u as conf,b as language};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as Ce,s as Fe,b as Me,c as De,g as Te,d as oe,e as Pe,z as Ye,l as Ne,k as ke}from"./mermaid.core-
|
|
1
|
+
import{a as Ce,s as Fe,b as Me,c as De,g as Te,d as oe,e as Pe,z as Ye,l as Ne,k as ke}from"./mermaid.core-VYJIZL_J.js";import{G as Ue}from"./graph-BEwlNa_j.js";import{l as Be}from"./layout-CRLM1T9z.js";import"./AuthenticatedApp-CK9TT7Nk.js";import{l as Qe}from"./line-Cdyr_7ve.js";import"./index-DdUqPqXW.js";import"./vendor-react-CnooHTJc.js";import"./vendor-state-zjcHRN98.js";import"./MobileAwareSelect-CCAQrsxL.js";import"./use-app-preferences-DGCafwsP.js";import"./route-plugin-chrome-bV1HEaju.js";import"./shortcutUtils-B8h6g_7o.js";import"./project-file-tree-icons-CfonMx-1.js";import"./WorkspaceApp-l-h_IsMp.js";import"./index-ZOsqqPVv.js";import"./client-build-info-6B4KoYHs.js";import"./array-BKyUJesY.js";import"./path-CbwjOpE9.js";var ce=function(){var e=function(V,i,n,a){for(n=n||{},a=V.length;a--;n[V[a]]=i);return n},t=[1,3],l=[1,4],c=[1,5],u=[1,6],d=[5,6,8,9,11,13,31,32,33,34,35,36,44,62,63],p=[1,18],h=[2,7],o=[1,22],g=[1,23],R=[1,24],A=[1,25],T=[1,26],N=[1,27],v=[1,20],k=[1,28],x=[1,29],F=[62,63],de=[5,8,9,11,13,31,32,33,34,35,36,44,51,53,62,63],pe=[1,47],fe=[1,48],ye=[1,49],_e=[1,50],ge=[1,51],Ee=[1,52],Re=[1,53],O=[53,54],M=[1,64],D=[1,60],P=[1,61],Y=[1,62],U=[1,63],B=[1,65],z=[1,69],j=[1,70],X=[1,67],J=[1,68],m=[5,8,9,11,13,31,32,33,34,35,36,44,62,63],ie={trace:function(){},yy:{},symbols_:{error:2,start:3,directive:4,NEWLINE:5,RD:6,diagram:7,EOF:8,acc_title:9,acc_title_value:10,acc_descr:11,acc_descr_value:12,acc_descr_multiline_value:13,requirementDef:14,elementDef:15,relationshipDef:16,requirementType:17,requirementName:18,STRUCT_START:19,requirementBody:20,ID:21,COLONSEP:22,id:23,TEXT:24,text:25,RISK:26,riskLevel:27,VERIFYMTHD:28,verifyType:29,STRUCT_STOP:30,REQUIREMENT:31,FUNCTIONAL_REQUIREMENT:32,INTERFACE_REQUIREMENT:33,PERFORMANCE_REQUIREMENT:34,PHYSICAL_REQUIREMENT:35,DESIGN_CONSTRAINT:36,LOW_RISK:37,MED_RISK:38,HIGH_RISK:39,VERIFY_ANALYSIS:40,VERIFY_DEMONSTRATION:41,VERIFY_INSPECTION:42,VERIFY_TEST:43,ELEMENT:44,elementName:45,elementBody:46,TYPE:47,type:48,DOCREF:49,ref:50,END_ARROW_L:51,relationship:52,LINE:53,END_ARROW_R:54,CONTAINS:55,COPIES:56,DERIVES:57,SATISFIES:58,VERIFIES:59,REFINES:60,TRACES:61,unqString:62,qString:63,$accept:0,$end:1},terminals_:{2:"error",5:"NEWLINE",6:"RD",8:"EOF",9:"acc_title",10:"acc_title_value",11:"acc_descr",12:"acc_descr_value",13:"acc_descr_multiline_value",19:"STRUCT_START",21:"ID",22:"COLONSEP",24:"TEXT",26:"RISK",28:"VERIFYMTHD",30:"STRUCT_STOP",31:"REQUIREMENT",32:"FUNCTIONAL_REQUIREMENT",33:"INTERFACE_REQUIREMENT",34:"PERFORMANCE_REQUIREMENT",35:"PHYSICAL_REQUIREMENT",36:"DESIGN_CONSTRAINT",37:"LOW_RISK",38:"MED_RISK",39:"HIGH_RISK",40:"VERIFY_ANALYSIS",41:"VERIFY_DEMONSTRATION",42:"VERIFY_INSPECTION",43:"VERIFY_TEST",44:"ELEMENT",47:"TYPE",49:"DOCREF",51:"END_ARROW_L",53:"LINE",54:"END_ARROW_R",55:"CONTAINS",56:"COPIES",57:"DERIVES",58:"SATISFIES",59:"VERIFIES",60:"REFINES",61:"TRACES",62:"unqString",63:"qString"},productions_:[0,[3,3],[3,2],[3,4],[4,2],[4,2],[4,1],[7,0],[7,2],[7,2],[7,2],[7,2],[7,2],[14,5],[20,5],[20,5],[20,5],[20,5],[20,2],[20,1],[17,1],[17,1],[17,1],[17,1],[17,1],[17,1],[27,1],[27,1],[27,1],[29,1],[29,1],[29,1],[29,1],[15,5],[46,5],[46,5],[46,2],[46,1],[16,5],[16,5],[52,1],[52,1],[52,1],[52,1],[52,1],[52,1],[52,1],[18,1],[18,1],[23,1],[23,1],[25,1],[25,1],[45,1],[45,1],[48,1],[48,1],[50,1],[50,1]],performAction:function(i,n,a,r,f,s,W){var _=s.length-1;switch(f){case 4:this.$=s[_].trim(),r.setAccTitle(this.$);break;case 5:case 6:this.$=s[_].trim(),r.setAccDescription(this.$);break;case 7:this.$=[];break;case 13:r.addRequirement(s[_-3],s[_-4]);break;case 14:r.setNewReqId(s[_-2]);break;case 15:r.setNewReqText(s[_-2]);break;case 16:r.setNewReqRisk(s[_-2]);break;case 17:r.setNewReqVerifyMethod(s[_-2]);break;case 20:this.$=r.RequirementType.REQUIREMENT;break;case 21:this.$=r.RequirementType.FUNCTIONAL_REQUIREMENT;break;case 22:this.$=r.RequirementType.INTERFACE_REQUIREMENT;break;case 23:this.$=r.RequirementType.PERFORMANCE_REQUIREMENT;break;case 24:this.$=r.RequirementType.PHYSICAL_REQUIREMENT;break;case 25:this.$=r.RequirementType.DESIGN_CONSTRAINT;break;case 26:this.$=r.RiskLevel.LOW_RISK;break;case 27:this.$=r.RiskLevel.MED_RISK;break;case 28:this.$=r.RiskLevel.HIGH_RISK;break;case 29:this.$=r.VerifyType.VERIFY_ANALYSIS;break;case 30:this.$=r.VerifyType.VERIFY_DEMONSTRATION;break;case 31:this.$=r.VerifyType.VERIFY_INSPECTION;break;case 32:this.$=r.VerifyType.VERIFY_TEST;break;case 33:r.addElement(s[_-3]);break;case 34:r.setNewElementType(s[_-2]);break;case 35:r.setNewElementDocRef(s[_-2]);break;case 38:r.addRelationship(s[_-2],s[_],s[_-4]);break;case 39:r.addRelationship(s[_-2],s[_-4],s[_]);break;case 40:this.$=r.Relationships.CONTAINS;break;case 41:this.$=r.Relationships.COPIES;break;case 42:this.$=r.Relationships.DERIVES;break;case 43:this.$=r.Relationships.SATISFIES;break;case 44:this.$=r.Relationships.VERIFIES;break;case 45:this.$=r.Relationships.REFINES;break;case 46:this.$=r.Relationships.TRACES;break}},table:[{3:1,4:2,6:t,9:l,11:c,13:u},{1:[3]},{3:8,4:2,5:[1,7],6:t,9:l,11:c,13:u},{5:[1,9]},{10:[1,10]},{12:[1,11]},e(d,[2,6]),{3:12,4:2,6:t,9:l,11:c,13:u},{1:[2,2]},{4:17,5:p,7:13,8:h,9:l,11:c,13:u,14:14,15:15,16:16,17:19,23:21,31:o,32:g,33:R,34:A,35:T,36:N,44:v,62:k,63:x},e(d,[2,4]),e(d,[2,5]),{1:[2,1]},{8:[1,30]},{4:17,5:p,7:31,8:h,9:l,11:c,13:u,14:14,15:15,16:16,17:19,23:21,31:o,32:g,33:R,34:A,35:T,36:N,44:v,62:k,63:x},{4:17,5:p,7:32,8:h,9:l,11:c,13:u,14:14,15:15,16:16,17:19,23:21,31:o,32:g,33:R,34:A,35:T,36:N,44:v,62:k,63:x},{4:17,5:p,7:33,8:h,9:l,11:c,13:u,14:14,15:15,16:16,17:19,23:21,31:o,32:g,33:R,34:A,35:T,36:N,44:v,62:k,63:x},{4:17,5:p,7:34,8:h,9:l,11:c,13:u,14:14,15:15,16:16,17:19,23:21,31:o,32:g,33:R,34:A,35:T,36:N,44:v,62:k,63:x},{4:17,5:p,7:35,8:h,9:l,11:c,13:u,14:14,15:15,16:16,17:19,23:21,31:o,32:g,33:R,34:A,35:T,36:N,44:v,62:k,63:x},{18:36,62:[1,37],63:[1,38]},{45:39,62:[1,40],63:[1,41]},{51:[1,42],53:[1,43]},e(F,[2,20]),e(F,[2,21]),e(F,[2,22]),e(F,[2,23]),e(F,[2,24]),e(F,[2,25]),e(de,[2,49]),e(de,[2,50]),{1:[2,3]},{8:[2,8]},{8:[2,9]},{8:[2,10]},{8:[2,11]},{8:[2,12]},{19:[1,44]},{19:[2,47]},{19:[2,48]},{19:[1,45]},{19:[2,53]},{19:[2,54]},{52:46,55:pe,56:fe,57:ye,58:_e,59:ge,60:Ee,61:Re},{52:54,55:pe,56:fe,57:ye,58:_e,59:ge,60:Ee,61:Re},{5:[1,55]},{5:[1,56]},{53:[1,57]},e(O,[2,40]),e(O,[2,41]),e(O,[2,42]),e(O,[2,43]),e(O,[2,44]),e(O,[2,45]),e(O,[2,46]),{54:[1,58]},{5:M,20:59,21:D,24:P,26:Y,28:U,30:B},{5:z,30:j,46:66,47:X,49:J},{23:71,62:k,63:x},{23:72,62:k,63:x},e(m,[2,13]),{22:[1,73]},{22:[1,74]},{22:[1,75]},{22:[1,76]},{5:M,20:77,21:D,24:P,26:Y,28:U,30:B},e(m,[2,19]),e(m,[2,33]),{22:[1,78]},{22:[1,79]},{5:z,30:j,46:80,47:X,49:J},e(m,[2,37]),e(m,[2,38]),e(m,[2,39]),{23:81,62:k,63:x},{25:82,62:[1,83],63:[1,84]},{27:85,37:[1,86],38:[1,87],39:[1,88]},{29:89,40:[1,90],41:[1,91],42:[1,92],43:[1,93]},e(m,[2,18]),{48:94,62:[1,95],63:[1,96]},{50:97,62:[1,98],63:[1,99]},e(m,[2,36]),{5:[1,100]},{5:[1,101]},{5:[2,51]},{5:[2,52]},{5:[1,102]},{5:[2,26]},{5:[2,27]},{5:[2,28]},{5:[1,103]},{5:[2,29]},{5:[2,30]},{5:[2,31]},{5:[2,32]},{5:[1,104]},{5:[2,55]},{5:[2,56]},{5:[1,105]},{5:[2,57]},{5:[2,58]},{5:M,20:106,21:D,24:P,26:Y,28:U,30:B},{5:M,20:107,21:D,24:P,26:Y,28:U,30:B},{5:M,20:108,21:D,24:P,26:Y,28:U,30:B},{5:M,20:109,21:D,24:P,26:Y,28:U,30:B},{5:z,30:j,46:110,47:X,49:J},{5:z,30:j,46:111,47:X,49:J},e(m,[2,14]),e(m,[2,15]),e(m,[2,16]),e(m,[2,17]),e(m,[2,34]),e(m,[2,35])],defaultActions:{8:[2,2],12:[2,1],30:[2,3],31:[2,8],32:[2,9],33:[2,10],34:[2,11],35:[2,12],37:[2,47],38:[2,48],40:[2,53],41:[2,54],83:[2,51],84:[2,52],86:[2,26],87:[2,27],88:[2,28],90:[2,29],91:[2,30],92:[2,31],93:[2,32],95:[2,55],96:[2,56],98:[2,57],99:[2,58]},parseError:function(i,n){if(n.recoverable)this.trace(i);else{var a=new Error(i);throw a.hash=n,a}},parse:function(i){var n=this,a=[0],r=[],f=[null],s=[],W=this.table,_="",Z=0,me=0,Ve=2,Ie=1,qe=s.slice.call(arguments,1),E=Object.create(this.lexer),L={yy:{}};for(var ne in this.yy)Object.prototype.hasOwnProperty.call(this.yy,ne)&&(L.yy[ne]=this.yy[ne]);E.setInput(i,L.yy),L.yy.lexer=E,L.yy.parser=this,typeof E.yylloc>"u"&&(E.yylloc={});var se=E.yylloc;s.push(se);var Oe=E.options&&E.options.ranges;typeof L.yy.parseError=="function"?this.parseError=L.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Le(){var $;return $=r.pop()||E.lex()||Ie,typeof $!="number"&&($ instanceof Array&&(r=$,$=r.pop()),$=n.symbols_[$]||$),$}for(var I,C,S,ae,Q={},ee,w,be,te;;){if(C=a[a.length-1],this.defaultActions[C]?S=this.defaultActions[C]:((I===null||typeof I>"u")&&(I=Le()),S=W[C]&&W[C][I]),typeof S>"u"||!S.length||!S[0]){var le="";te=[];for(ee in W[C])this.terminals_[ee]&&ee>Ve&&te.push("'"+this.terminals_[ee]+"'");E.showPosition?le="Parse error on line "+(Z+1)+`:
|
|
2
2
|
`+E.showPosition()+`
|
|
3
3
|
Expecting `+te.join(", ")+", got '"+(this.terminals_[I]||I)+"'":le="Parse error on line "+(Z+1)+": Unexpected "+(I==Ie?"end of input":"'"+(this.terminals_[I]||I)+"'"),this.parseError(le,{text:E.match,token:this.terminals_[I]||I,line:E.yylineno,loc:se,expected:te})}if(S[0]instanceof Array&&S.length>1)throw new Error("Parse Error: multiple actions possible at state: "+C+", token: "+I);switch(S[0]){case 1:a.push(I),f.push(E.yytext),s.push(E.yylloc),a.push(S[1]),I=null,me=E.yyleng,_=E.yytext,Z=E.yylineno,se=E.yylloc;break;case 2:if(w=this.productions_[S[1]][1],Q.$=f[f.length-w],Q._$={first_line:s[s.length-(w||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(w||1)].first_column,last_column:s[s.length-1].last_column},Oe&&(Q._$.range=[s[s.length-(w||1)].range[0],s[s.length-1].range[1]]),ae=this.performAction.apply(Q,[_,me,Z,L.yy,S[1],f,s].concat(qe)),typeof ae<"u")return ae;w&&(a=a.slice(0,-1*w*2),f=f.slice(0,-1*w),s=s.slice(0,-1*w)),a.push(this.productions_[S[1]][0]),f.push(Q.$),s.push(Q._$),be=W[a[a.length-2]][a[a.length-1]],a.push(be);break;case 3:return!0}}return!0}},$e=function(){var V={EOF:1,parseError:function(n,a){if(this.yy.parser)this.yy.parser.parseError(n,a);else throw new Error(n)},setInput:function(i,n){return this.yy=n||this.yy||{},this._input=i,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var i=this._input[0];this.yytext+=i,this.yyleng++,this.offset++,this.match+=i,this.matched+=i;var n=i.match(/(?:\r\n?|\n).*/g);return n?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),i},unput:function(i){var n=i.length,a=i.split(/(?:\r\n?|\n)/g);this._input=i+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-n),this.offset-=n;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),a.length-1&&(this.yylineno-=a.length-1);var f=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:a?(a.length===r.length?this.yylloc.first_column:0)+r[r.length-a.length].length-a[0].length:this.yylloc.first_column-n},this.options.ranges&&(this.yylloc.range=[f[0],f[0]+this.yyleng-n]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
|
|
4
4
|
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(i){this.unput(this.match.slice(i))},pastInput:function(){var i=this.matched.substr(0,this.matched.length-this.match.length);return(i.length>20?"...":"")+i.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var i=this.match;return i.length<20&&(i+=this._input.substr(0,20-i.length)),(i.substr(0,20)+(i.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var i=this.pastInput(),n=new Array(i.length+1).join("-");return i+this.upcomingInput()+`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as i,j as C,u as re,h as et}from"./vendor-react-CnooHTJc.js";import{l as Ne,m as Pe,bA as tt,r as Oe,bf as nt,h as at,j as T,E as je,bz as ot,ad as rt,bi as st,aW as X,e as lt,x as it,aY as te,Q as Ie,aV as ct,a5 as dt,Y as he,aX as Y,b2 as Ae,bG as ut,o as V,a$ as gt,bv as mt,bn as ft,G as vt,B as ht,bT as pt}from"./index-Cp4GfHnF.js";import{k as bt,l as yt,m as St,P as Ct,u as Ee,T as xt}from"./MobileAwareSelect-BmK6WApn.js";import{D as pe,g as wt}from"./shortcutUtils-20iqPDwh.js";import{i as ne,u as J}from"./vendor-state-BYwEPTaO.js";const ae=e=>e?typeof e=="function"?e():e:null,$t=e=>{const{componentCls:t,popoverColor:n,titleMinWidth:a,fontWeightStrong:o,innerPadding:s,boxShadowSecondary:r,colorTextHeading:l,borderRadiusLG:d,zIndexPopup:u,titleMarginBottom:c,colorBgElevated:b,popoverBg:y,titleBorderBottom:f,innerContentPadding:w,titlePadding:h}=e;return[{[t]:Object.assign(Object.assign({},Oe(e)),{position:"absolute",top:0,left:{_skip_check_:!0,value:0},zIndex:u,fontWeight:"normal",whiteSpace:"normal",textAlign:"start",cursor:"auto",userSelect:"text","--valid-offset-x":"var(--arrow-offset-horizontal, var(--arrow-x))",transformOrigin:["var(--valid-offset-x, 50%)","var(--arrow-y, 50%)"].join(" "),"--antd-arrow-background-color":b,width:"max-content",maxWidth:"100vw","&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${t}-content`]:{position:"relative"},[`${t}-inner`]:{backgroundColor:y,backgroundClip:"padding-box",borderRadius:d,boxShadow:r,padding:s},[`${t}-title`]:{minWidth:a,marginBottom:c,color:l,fontWeight:o,borderBottom:f,padding:h},[`${t}-inner-content`]:{color:n,padding:w}})},bt(e,"var(--antd-arrow-background-color)"),{[`${t}-pure`]:{position:"relative",maxWidth:"none",margin:e.sizePopupArrow,display:"inline-block",[`${t}-content`]:{display:"inline-block"}}}]},Rt=e=>{const{componentCls:t}=e;return{[t]:nt.map(n=>{const a=e[`${n}6`];return{[`&${t}-${n}`]:{"--antd-arrow-background-color":a,[`${t}-inner`]:{backgroundColor:a},[`${t}-arrow`]:{background:"transparent"}}}})}},Mt=e=>{const{lineWidth:t,controlHeight:n,fontHeight:a,padding:o,wireframe:s,zIndexPopupBase:r,borderRadiusLG:l,marginXS:d,lineType:u,colorSplit:c,paddingSM:b}=e,y=n-a,f=y/2,w=y/2-t,h=o;return Object.assign(Object.assign(Object.assign({titleMinWidth:177,zIndexPopup:r+30},yt(e)),St({contentRadius:l,limitVerticalRadius:!0})),{innerPadding:s?0:12,titleMarginBottom:s?0:d,titlePadding:s?`${f}px ${h}px ${w}px`:0,titleBorderBottom:s?`${t}px ${u} ${c}`:"none",innerContentPadding:s?`${b}px ${h}px`:0})},Be=Ne("Popover",e=>{const{colorBgElevated:t,colorText:n}=e,a=Pe(e,{popoverBg:t,popoverColor:n});return[$t(a),Rt(a),tt(a,"zoom-big")]},Mt,{resetStyle:!1,deprecatedTokens:[["width","titleMinWidth"],["minWidth","titleMinWidth"]]});var Nt=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,a=Object.getOwnPropertySymbols(e);o<a.length;o++)t.indexOf(a[o])<0&&Object.prototype.propertyIsEnumerable.call(e,a[o])&&(n[a[o]]=e[a[o]]);return n};const _e=({title:e,content:t,prefixCls:n})=>!e&&!t?null:i.createElement(i.Fragment,null,e&&i.createElement("div",{className:`${n}-title`},e),t&&i.createElement("div",{className:`${n}-inner-content`},t)),Pt=e=>{const{hashId:t,prefixCls:n,className:a,style:o,placement:s="top",title:r,content:l,children:d}=e,u=ae(r),c=ae(l),b=T(t,n,`${n}-pure`,`${n}-placement-${s}`,a);return i.createElement("div",{className:b,style:o},i.createElement("div",{className:`${n}-arrow`}),i.createElement(Ct,Object.assign({},e,{className:t,prefixCls:n}),d||i.createElement(_e,{prefixCls:n,title:u,content:c})))},Ot=e=>{const{prefixCls:t,className:n}=e,a=Nt(e,["prefixCls","className"]),{getPrefixCls:o}=i.useContext(at),s=o("popover",t),[r,l,d]=Be(s);return r(i.createElement(Pt,Object.assign({},a,{prefixCls:s,hashId:l,className:T(n,d)})))};var jt=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,a=Object.getOwnPropertySymbols(e);o<a.length;o++)t.indexOf(a[o])<0&&Object.prototype.propertyIsEnumerable.call(e,a[o])&&(n[a[o]]=e[a[o]]);return n};const It=i.forwardRef((e,t)=>{var n,a;const{prefixCls:o,title:s,content:r,overlayClassName:l,placement:d="top",trigger:u="hover",children:c,mouseEnterDelay:b=.1,mouseLeaveDelay:y=.1,onOpenChange:f,overlayStyle:w={},styles:h,classNames:x}=e,_=jt(e,["prefixCls","title","content","overlayClassName","placement","trigger","children","mouseEnterDelay","mouseLeaveDelay","onOpenChange","overlayStyle","styles","classNames"]),{getPrefixCls:p,className:m,style:k,classNames:$,styles:j}=je("popover"),g=p("popover",o),[M,L,P]=Be(g),z=p(),D=T(l,L,P,m,$.root,x==null?void 0:x.root),W=T($.body,x==null?void 0:x.body),[v,I]=Ee(!1,{value:(n=e.open)!==null&&n!==void 0?n:e.visible,defaultValue:(a=e.defaultOpen)!==null&&a!==void 0?a:e.defaultVisible}),N=(R,U)=>{I(R,!0),f==null||f(R,U)},A=R=>{R.keyCode===st.ESC&&N(!1,R)},E=R=>{N(R)},F=ae(s),ee=ae(r);return M(i.createElement(xt,Object.assign({placement:d,trigger:u,mouseEnterDelay:b,mouseLeaveDelay:y},_,{prefixCls:g,classNames:{root:D,body:W},styles:{root:Object.assign(Object.assign(Object.assign(Object.assign({},j.root),k),w),h==null?void 0:h.root),body:Object.assign(Object.assign({},j.body),h==null?void 0:h.body)},ref:t,open:v,onOpenChange:E,overlay:F||ee?i.createElement(_e,{prefixCls:g,title:F,content:ee}):null,transitionName:ot(z,"zoom-big",_.transitionName),"data-popover-inject":!0}),rt(c,{onKeyDown:R=>{var U,q;i.isValidElement(c)&&((q=c==null?void 0:(U=c.props).onKeyDown)===null||q===void 0||q.call(U,R)),A(R)}})))}),At=It;At._InternalPanelDoNotUseOrYouWillBeFired=Ot;var be=function(t,n){if(!t)return null;var a={left:t.offsetLeft,right:t.parentElement.clientWidth-t.clientWidth-t.offsetLeft,width:t.clientWidth,top:t.offsetTop,bottom:t.parentElement.clientHeight-t.clientHeight-t.offsetTop,height:t.clientHeight};return n?{left:0,right:0,width:0,top:a.top,bottom:a.bottom,height:a.height}:{left:a.left,right:a.right,width:a.width,top:0,bottom:0,height:0}},B=function(t){return t!==void 0?"".concat(t,"px"):void 0};function Et(e){var t=e.prefixCls,n=e.containerRef,a=e.value,o=e.getValueIndex,s=e.motionName,r=e.onMotionStart,l=e.onMotionEnd,d=e.direction,u=e.vertical,c=u===void 0?!1:u,b=i.useRef(null),y=i.useState(a),f=X(y,2),w=f[0],h=f[1],x=function(I){var N,A=o(I),E=(N=n.current)===null||N===void 0?void 0:N.querySelectorAll(".".concat(t,"-item"))[A];return(E==null?void 0:E.offsetParent)&&E},_=i.useState(null),p=X(_,2),m=p[0],k=p[1],$=i.useState(null),j=X($,2),g=j[0],M=j[1];lt(function(){if(w!==a){var v=x(w),I=x(a),N=be(v,c),A=be(I,c);h(a),k(N),M(A),v&&I?r():l()}},[a]);var L=i.useMemo(function(){if(c){var v;return B((v=m==null?void 0:m.top)!==null&&v!==void 0?v:0)}return B(d==="rtl"?-(m==null?void 0:m.right):m==null?void 0:m.left)},[c,d,m]),P=i.useMemo(function(){if(c){var v;return B((v=g==null?void 0:g.top)!==null&&v!==void 0?v:0)}return B(d==="rtl"?-(g==null?void 0:g.right):g==null?void 0:g.left)},[c,d,g]),z=function(){return c?{transform:"translateY(var(--thumb-start-top))",height:"var(--thumb-start-height)"}:{transform:"translateX(var(--thumb-start-left))",width:"var(--thumb-start-width)"}},D=function(){return c?{transform:"translateY(var(--thumb-active-top))",height:"var(--thumb-active-height)"}:{transform:"translateX(var(--thumb-active-left))",width:"var(--thumb-active-width)"}},W=function(){k(null),M(null),l()};return!m||!g?null:i.createElement(it,{visible:!0,motionName:s,motionAppear:!0,onAppearStart:z,onAppearActive:D,onVisibleChanged:W},function(v,I){var N=v.className,A=v.style,E=te(te({},A),{},{"--thumb-start-left":L,"--thumb-start-width":B(m==null?void 0:m.width),"--thumb-active-left":P,"--thumb-active-width":B(g==null?void 0:g.width),"--thumb-start-top":L,"--thumb-start-height":B(m==null?void 0:m.height),"--thumb-active-top":P,"--thumb-active-height":B(g==null?void 0:g.height)}),F={ref:Ie(b,I),style:E,className:T("".concat(t,"-thumb"),N)};return i.createElement("div",F)})}var Bt=["prefixCls","direction","vertical","options","disabled","defaultValue","value","name","onChange","className","motionName"];function _t(e){if(typeof e.title<"u")return e.title;if(Ae(e.label)!=="object"){var t;return(t=e.label)===null||t===void 0?void 0:t.toString()}}function Lt(e){return e.map(function(t){if(Ae(t)==="object"&&t!==null){var n=_t(t);return te(te({},t),{},{title:n})}return{label:t==null?void 0:t.toString(),title:t==null?void 0:t.toString(),value:t}})}var Tt=function(t){var n=t.prefixCls,a=t.className,o=t.disabled,s=t.checked,r=t.label,l=t.title,d=t.value,u=t.name,c=t.onChange,b=t.onFocus,y=t.onBlur,f=t.onKeyDown,w=t.onKeyUp,h=t.onMouseDown,x=function(p){o||c(p,d)};return i.createElement("label",{className:T(a,Y({},"".concat(n,"-item-disabled"),o)),onMouseDown:h},i.createElement("input",{name:u,className:"".concat(n,"-item-input"),type:"radio",disabled:o,checked:s,onChange:x,onFocus:b,onBlur:y,onKeyDown:f,onKeyUp:w}),i.createElement("div",{className:"".concat(n,"-item-label"),title:l},r))},kt=i.forwardRef(function(e,t){var n,a=e.prefixCls,o=a===void 0?"rc-segmented":a,s=e.direction,r=e.vertical,l=e.options,d=l===void 0?[]:l,u=e.disabled,c=e.defaultValue,b=e.value,y=e.name,f=e.onChange,w=e.className,h=w===void 0?"":w,x=e.motionName,_=x===void 0?"thumb-motion":x,p=ct(e,Bt),m=i.useRef(null),k=i.useMemo(function(){return Ie(m,t)},[m,t]),$=i.useMemo(function(){return Lt(d)},[d]),j=Ee((n=$[0])===null||n===void 0?void 0:n.value,{value:b,defaultValue:c}),g=X(j,2),M=g[0],L=g[1],P=i.useState(!1),z=X(P,2),D=z[0],W=z[1],v=function(H,G){L(G),f==null||f(G)},I=dt(p,["children"]),N=i.useState(!1),A=X(N,2),E=A[0],F=A[1],ee=i.useState(!1),R=X(ee,2),U=R[0],q=R[1],qe=function(){q(!0)},Ge=function(){q(!1)},Ke=function(){F(!1)},Ye=function(H){H.key==="Tab"&&F(!0)},fe=function(H){var G=$.findIndex(function(Je){return Je.value===M}),ve=$.length,Qe=(G+H+ve)%ve,ie=$[Qe];ie&&(L(ie.value),f==null||f(ie.value))},Ze=function(H){switch(H.key){case"ArrowLeft":case"ArrowUp":fe(-1);break;case"ArrowRight":case"ArrowDown":fe(1);break}};return i.createElement("div",he({role:"radiogroup","aria-label":"segmented control",tabIndex:u?void 0:0,"aria-orientation":r?"vertical":"horizontal"},I,{className:T(o,Y(Y(Y({},"".concat(o,"-rtl"),s==="rtl"),"".concat(o,"-disabled"),u),"".concat(o,"-vertical"),r),h),ref:k}),i.createElement("div",{className:"".concat(o,"-group")},i.createElement(Et,{vertical:r,prefixCls:o,value:M,containerRef:m,motionName:"".concat(o,"-").concat(_),direction:s,getValueIndex:function(H){return $.findIndex(function(G){return G.value===H})},onMotionStart:function(){W(!0)},onMotionEnd:function(){W(!1)}}),$.map(function(S){return i.createElement(Tt,he({},S,{name:y,key:S.value,prefixCls:o,className:T(S.className,"".concat(o,"-item"),Y(Y({},"".concat(o,"-item-selected"),S.value===M&&!D),"".concat(o,"-item-focused"),U&&E&&S.value===M)),checked:S.value===M,onChange:v,onFocus:qe,onBlur:Ge,onKeyDown:Ze,onKeyUp:Ye,onMouseDown:Ke,disabled:!!u||!!S.disabled}))})))}),zt=kt;function ye(e,t){return{[`${e}, ${e}:hover, ${e}:focus`]:{color:t.colorTextDisabled,cursor:"not-allowed"}}}function Se(e){return{background:e.itemSelectedBg,boxShadow:e.boxShadowTertiary}}const Dt=Object.assign({overflow:"hidden"},mt),Wt=e=>{const{componentCls:t}=e,n=e.calc(e.controlHeight).sub(e.calc(e.trackPadding).mul(2)).equal(),a=e.calc(e.controlHeightLG).sub(e.calc(e.trackPadding).mul(2)).equal(),o=e.calc(e.controlHeightSM).sub(e.calc(e.trackPadding).mul(2)).equal();return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Oe(e)),{display:"inline-block",padding:e.trackPadding,color:e.itemColor,background:e.trackBg,borderRadius:e.borderRadius,transition:`all ${e.motionDurationMid}`}),ut(e)),{[`${t}-group`]:{position:"relative",display:"flex",alignItems:"stretch",justifyItems:"flex-start",flexDirection:"row",width:"100%"},[`&${t}-rtl`]:{direction:"rtl"},[`&${t}-vertical`]:{[`${t}-group`]:{flexDirection:"column"},[`${t}-thumb`]:{width:"100%",height:0,padding:`0 ${V(e.paddingXXS)}`}},[`&${t}-block`]:{display:"flex"},[`&${t}-block ${t}-item`]:{flex:1,minWidth:0},[`${t}-item`]:{position:"relative",textAlign:"center",cursor:"pointer",transition:`color ${e.motionDurationMid}`,borderRadius:e.borderRadiusSM,transform:"translateZ(0)","&-selected":Object.assign(Object.assign({},Se(e)),{color:e.itemSelectedColor}),"&-focused":gt(e),"&::after":{content:'""',position:"absolute",zIndex:-1,width:"100%",height:"100%",top:0,insetInlineStart:0,borderRadius:"inherit",opacity:0,transition:`opacity ${e.motionDurationMid}, background-color ${e.motionDurationMid}`,pointerEvents:"none"},[`&:not(${t}-item-selected):not(${t}-item-disabled)`]:{"&:hover, &:active":{color:e.itemHoverColor},"&:hover::after":{opacity:1,backgroundColor:e.itemHoverBg},"&:active::after":{opacity:1,backgroundColor:e.itemActiveBg}},"&-label":Object.assign({minHeight:n,lineHeight:V(n),padding:`0 ${V(e.segmentedPaddingHorizontal)}`},Dt),"&-icon + *":{marginInlineStart:e.calc(e.marginSM).div(2).equal()},"&-input":{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:0,height:0,opacity:0,pointerEvents:"none"}},[`${t}-thumb`]:Object.assign(Object.assign({},Se(e)),{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:0,height:"100%",padding:`${V(e.paddingXXS)} 0`,borderRadius:e.borderRadiusSM,[`& ~ ${t}-item:not(${t}-item-selected):not(${t}-item-disabled)::after`]:{backgroundColor:"transparent"}}),[`&${t}-lg`]:{borderRadius:e.borderRadiusLG,[`${t}-item-label`]:{minHeight:a,lineHeight:V(a),padding:`0 ${V(e.segmentedPaddingHorizontal)}`,fontSize:e.fontSizeLG},[`${t}-item, ${t}-thumb`]:{borderRadius:e.borderRadius}},[`&${t}-sm`]:{borderRadius:e.borderRadiusSM,[`${t}-item-label`]:{minHeight:o,lineHeight:V(o),padding:`0 ${V(e.segmentedPaddingHorizontalSM)}`},[`${t}-item, ${t}-thumb`]:{borderRadius:e.borderRadiusXS}}}),ye(`&-disabled ${t}-item`,e)),ye(`${t}-item-disabled`,e)),{[`${t}-thumb-motion-appear-active`]:{transition:`transform ${e.motionDurationSlow} ${e.motionEaseInOut}, width ${e.motionDurationSlow} ${e.motionEaseInOut}`,willChange:"transform, width"},[`&${t}-shape-round`]:{borderRadius:9999,[`${t}-item, ${t}-thumb`]:{borderRadius:9999}}})}},Ht=e=>{const{colorTextLabel:t,colorText:n,colorFillSecondary:a,colorBgElevated:o,colorFill:s,lineWidthBold:r,colorBgLayout:l}=e;return{trackPadding:r,trackBg:l,itemColor:t,itemHoverColor:n,itemHoverBg:a,itemSelectedBg:o,itemActiveBg:s,itemSelectedColor:n}},Vt=Ne("Segmented",e=>{const{lineWidth:t,calc:n}=e,a=Pe(e,{segmentedPaddingHorizontal:n(e.controlPaddingHorizontal).sub(t).equal(),segmentedPaddingHorizontalSM:n(e.controlPaddingHorizontalSM).sub(t).equal()});return Wt(a)},Ht);var Ce=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,a=Object.getOwnPropertySymbols(e);o<a.length;o++)t.indexOf(a[o])<0&&Object.prototype.propertyIsEnumerable.call(e,a[o])&&(n[a[o]]=e[a[o]]);return n};function Ft(e){return typeof e=="object"&&!!(e!=null&&e.icon)}const Xt=i.forwardRef((e,t)=>{const n=ft(),{prefixCls:a,className:o,rootClassName:s,block:r,options:l=[],size:d="middle",style:u,vertical:c,shape:b="default",name:y=n}=e,f=Ce(e,["prefixCls","className","rootClassName","block","options","size","style","vertical","shape","name"]),{getPrefixCls:w,direction:h,className:x,style:_}=je("segmented"),p=w("segmented",a),[m,k,$]=Vt(p),j=vt(d),g=i.useMemo(()=>l.map(P=>{if(Ft(P)){const{icon:z,label:D}=P,W=Ce(P,["icon","label"]);return Object.assign(Object.assign({},W),{label:i.createElement(i.Fragment,null,i.createElement("span",{className:`${p}-item-icon`},z),D&&i.createElement("span",null,D))})}return P}),[l,p]),M=T(o,s,x,{[`${p}-block`]:r,[`${p}-sm`]:j==="small",[`${p}-lg`]:j==="large",[`${p}-vertical`]:c,[`${p}-shape-${b}`]:b==="round"},k,$),L=Object.assign(Object.assign({},_),u);return m(i.createElement(zt,Object.assign({},f,{name:y,className:M,style:L,options:g,ref:t,prefixCls:p,direction:h,vertical:c})))}),Mn=Xt;function xe({"aria-hidden":e,"aria-label":t,className:n,filled:a=!1,name:o,role:s,title:r,...l}){const d=["material-symbols-rounded",a?"is-filled filled":"",n].filter(Boolean).join(" "),u=e??(t==null&&s==null&&r==null?!0:void 0);return C.jsx("span",{className:d,role:s,"aria-hidden":u,"aria-label":t,title:r,...l,children:o})}const Le=e=>typeof e=="object"&&e!==null&&!Array.isArray(e)&&!i.isValidElement(e),Ut=e=>Le(e)&&"active"in e&&"inactive"in e,qt=(e,t)=>{if(e!=null)return Ut(e)?t?e.active:e.inactive:e},Gt=({active:e,className:t,icon:n,materialFilled:a})=>{const o=qt(n,e);if(o==null||typeof o=="boolean")return null;const s=["icon-asset",t].filter(Boolean).join(" ");return typeof o=="string"?C.jsx(xe,{className:s,name:o,filled:a??e}):Le(o)?o.type==="material"?C.jsx(xe,{className:s,name:o.name,filled:o.filled??a??e}):o.type==="svg"?C.jsx("span",{className:[s,"icon-asset--svg"].filter(Boolean).join(" "),role:o.title==null?void 0:"img","aria-label":o.title,"aria-hidden":o.title==null?!0:void 0,dangerouslySetInnerHTML:{__html:o.svg}}):o.type==="image"?C.jsx("img",{className:[s,"icon-asset--image"].filter(Boolean).join(" "),src:o.src,alt:o.alt??"",draggable:!1}):null:o},Nn=e=>{const t=Object.values(e);return t.length===0?null:{actions:t.flatMap(n=>n.actions),hideCreateSessionAction:t.some(n=>n.hideCreateSessionAction===!0),key:t.map(n=>n.key).join("|")}},we=e=>{const t=e.filter(n=>n.node!=null);if(t.length!==0)return t.length===1?t[0].node:t.map(({key:n,node:a})=>C.jsx(i.Fragment,{children:a},n))},Pn=e=>{const t=Object.values(e);return t.length===0?null:{contextMenuSections:t.flatMap(n=>n.contextMenuSections??[]),footerAfter:we(t.map(n=>({key:`${n.key}:after`,node:n.footerAfter}))),footerBefore:we(t.map(n=>({key:`${n.key}:before`,node:n.footerBefore}))),key:t.map(n=>n.key).join("|"),sections:t.flatMap(n=>n.sections),selectedKeys:Array.from(new Set(t.flatMap(n=>n.selectedKeys??[])))}},K=()=>{},Te=i.createContext({clearRouteMoreMenu:K,clearRouteWindowBar:K,clearRouteSidebar:K,hasRouteSidebarProvider:!1,routeMoreMenu:null,routeSidebar:null,routeWindowBar:null,setRouteMoreMenu:K,setRouteSidebar:K,setRouteWindowBar:K}),On=Te.Provider;function ke(){return i.useContext(Te)}const $e="nav-rail-more-dropdown",jn=16,Kt="nav-rail-more-context-dropdown",Yt="nav-rail-more-submenu-dropdown",ze=e=>"type"in e&&e.type==="custom",Zt=(e,t)=>wt(e,t).map(n=>n.value).join(t?"":"+"),Qt=(e,t)=>{const n=Zt(e.shortcut,t);return n===""?e.label:C.jsxs("span",{className:"nav-menu-shortcut-label",children:[C.jsx("span",{className:"nav-menu-shortcut-title",children:e.label}),C.jsx("span",{className:"nav-menu-shortcut",children:n})]})},Jt=e=>{const t=e.active===!0&&e.activeIcon!=null?e.activeIcon:e.icon;if(t!=null)return Gt({active:e.active===!0,className:"nav-menu-icon",icon:t})},De=({closeMenu:e,isMac:t,item:n})=>{var o;if(ze(n))return{className:n.className,key:n.key,label:n.content,onClick:({domEvent:s})=>{var r;(r=n.onClick)==null||r.call(n,s)}};const a=n.children!=null||n.menuChildren!=null;return{children:n.menuChildren??((o=n.children)==null?void 0:o.map(s=>De({closeMenu:e,isMac:t,item:s}))),className:n.className,danger:n.danger,disabled:n.disabled,icon:Jt(n),key:n.key,label:Qt(n,t),popupClassName:a?n.popupClassName??Yt:n.popupClassName,title:n.title,onClick:a?void 0:()=>{var s;e(!1),(s=n.onSelect)==null||s.call(n)}}},en=({closeMenu:e,isMac:t,sections:n})=>n.filter(o=>o.items.length>0).flatMap((o,s)=>{const r=o.items.map(d=>De({closeMenu:e,isMac:t,item:d})),l=o.label==null?r:[{children:r,key:`${o.key}:group`,label:o.label,type:"group"}];return s===0?l:[{key:`${o.key}:divider`,type:"divider"},...l]}),We=e=>e.flatMap(t=>t.items.flatMap(n=>ze(n)?[]:[n.selected===!0?n.key:void 0,...We([{items:n.children??[],key:n.key}])].filter(a=>a!=null)));function In({active:e,buttonIconSrc:t,buttonLabel:n,buttonRef:a,contextMenuItems:o,items:s,open:r,selectedKeys:l,visuallyOpen:d,onOpenChange:u,onSelectItem:c,onTriggerFeedback:b}){const y=C.jsx("span",{className:"material-symbols-rounded nav-menu-submenu-chevron",children:"keyboard_arrow_right"});return C.jsx(pe,{destroyOnHidden:!0,overlayClassName:$e,menu:{expandIcon:y,items:s,onClick:c,selectedKeys:l,triggerSubMenuAction:"click"},open:r,onOpenChange:u,popupRender:o==null||o.length===0?void 0:f=>C.jsx(pe,{overlayClassName:`${$e} ${Kt}`,trigger:["contextMenu"],menu:{expandIcon:y,items:o,triggerSubMenuAction:"click"},children:C.jsx("div",{className:"nav-rail-more-dropdown__context-target",children:f})}),placement:"topLeft",trigger:["click"],transitionName:"ant-slide-down",children:C.jsx(ht,{ref:a,type:"default",className:`nav-rail-more-button ${e?"is-active":"is-idle"}`,"aria-haspopup":"menu","aria-expanded":d,block:!0,onClick:b,children:C.jsxs("span",{className:"nav-rail-more-button__content",children:[C.jsx("img",{className:"nav-rail-vibe-icon nav-rail-vibe-icon--more",src:t,alt:"","aria-hidden":"true"}),C.jsx("span",{children:n})]})})})}const oe=e=>{const t=e==null?void 0:e.trim().replace(/_/g,"-").toLowerCase();if(!(t==null||t===""))return t},tn=(e,t="en")=>{const n=oe(e),a=n==null?void 0:n.split("-")[0],o=a==="zh"?"zh-hans":void 0,s=a==="zh"?"zh-cn":void 0,r=oe(t);return[n,o,s,a,r,"en"].filter((l,d,u)=>l!=null&&u.indexOf(l)===d)},nn=()=>{var e;return(e=globalThis.document)==null?void 0:e.documentElement.lang},an=()=>{var e,t,n;return((t=(e=globalThis.navigator)==null?void 0:e.languages)==null?void 0:t[0])??((n=globalThis.navigator)==null?void 0:n.language)},ce=()=>ne.language??nn()??an()??"en",Z=()=>ne.resolvedLanguage??ce(),Re=e=>{if(typeof e=="string")return e;if(typeof e=="number"||typeof e=="boolean")return String(e)},He=e=>e!=null&&typeof e=="object"&&!Array.isArray(e),de=(e,t,n,a={})=>{var r;const o=Object.entries(e).filter(l=>l[1]!==void 0),s=new Map(o.map(([l,d])=>[oe(l),d]).filter(l=>l[0]!=null));for(const l of tn(t,n)){const d=s.get(l);if(d!==void 0)return d}return a.allowAnyFallback===!1||(r=o[0])==null?void 0:r[1]},on=(e,t={})=>e.replace(/\{\{\s*([\w.-]+)\s*\}\}/g,(n,a)=>{const o=t[a];return o==null?"":String(o)}),rn=()=>{const e={get language(){return ce()},get resolvedLanguage(){return Z()},getLanguage:()=>Z(),resolveText:(t,n)=>ue(t,e,{fallback:n})??n??"",select:(t,n)=>de(t,Z(),n),subscribe:t=>{const n=()=>{t({language:ce(),resolvedLanguage:Z()})};return ne.on("languageChanged",n),{dispose:()=>ne.off("languageChanged",n)}},t:(t,n)=>{const a=typeof t=="string"?t:de(t,Z(),"en")??"";return on(a,n)}};return e};function ue(e,t,n={}){const a=Re(e);if(a!=null)return a;if(!He(e))return n.fallback;const o=Object.entries(e).map(([r,l])=>[oe(r),Re(l)]).filter(r=>r[0]!=null&&r[1]!=null);if(o.length===0)return n.fallback;const s=typeof t=="string"?t:t.resolvedLanguage;return de(Object.fromEntries(o),s,n.fallbackLanguage,{allowAnyFallback:n.allowAnyFallback})??n.fallback}const O=(e,t,n)=>{const a=(s,r)=>ue(s,n,r),o=a(e[`${t}I18n`],{allowAnyFallback:!1,fallbackLanguage:"en"});if(o!=null)return o;if(He(e.i18n)){const s=a(Object.fromEntries(Object.entries(e.i18n).map(([r,l])=>[r,l!=null&&typeof l=="object"&&!Array.isArray(l)?l[t]:void 0])),{allowAnyFallback:!1,fallbackLanguage:"en"});if(s!=null)return s}return a(e[t])},Me=(e,t,n)=>O(e,t,n),sn=(e,t)=>{const n=e,a=Me(n,"title",t),o=Me(n,"description",t);return a==null&&o==null?e:{...e,...a==null?{}:{title:a},...o==null?{}:{description:o}}},Ve=i.createContext(null),An=()=>{const e=i.useContext(Ve);if(e==null)throw new Error("PluginProvider is missing");return e},Fe=()=>i.useContext(Ve),ln=[];function se(e){const{i18n:t}=J(),n=Fe(),a=(n==null?void 0:n.snapshot.slots[e])??ln,o=t.resolvedLanguage??t.language;return i.useMemo(()=>{const s=rn();return a.map(r=>sn(r,s))},[a,o])}function me(){const e=Fe(),t=e==null?void 0:e.registry;return i.useMemo(()=>t==null?void 0:t.executeCommand.bind(t),[t])}const cn=e=>[e.targetRoute,...e.targetRoutes??[]].filter(t=>typeof t=="string"&&t.trim()!==""),dn={config:["settings"],settings:["config"]},un="/ui",Q=e=>{let t=e.trim();if(t==="")return"/";for(t.startsWith("/")||(t=`/${t}`);t.length>1&&t.endsWith("/");)t=t.slice(0,-1);return t},gn=e=>new Set([e,...dn[e]??[]]),ge=e=>{const t=Q(e),n=Q(pt()),a=Array.from(new Set([n,Q(un)])).filter(s=>s!=="/"),o=new Set([t]);for(const s of a)t===s?o.add("/"):t.startsWith(`${s}/`)?o.add(Q(t.slice(s.length))):o.add(Q(`${s}${t==="/"?"":t}`));return o},mn=(e,t)=>{if(!e.startsWith("/"))return!1;if(e.endsWith("/*")){const a=ge(e.slice(0,-2));return[...t].some(o=>[...a].some(s=>o===s||o.startsWith(`${s}/`)))}return[...ge(e)].some(a=>t.has(a))},En=O,le=({contribution:e,pathname:t,routeKey:n})=>{const a=cn(e);if(a.length===0)return!0;const o=gn(n),s=ge(t);return a.some(r=>o.has(r)?!0:mn(r,s))},Xe=e=>typeof e.command=="string"&&e.command.trim()!=="";function fn(e){const{i18n:t}=J(),n=re(),a=me(),o=se("route.header.actions"),s=t.resolvedLanguage??t.language;return i.useMemo(()=>o.filter(r=>le({contribution:r,pathname:n.pathname,routeKey:e})&&Xe(r)).map(r=>{const l=O(r,"title",s)??r.title,d=O(r,"description",s)??l;return{active:r.active,activeIcon:r.activeIcon,activeLabel:r.activeLabel,activeTitle:r.activeTitle,danger:r.danger,disabled:r.disabled,icon:r.icon??"extension",key:`plugin:${r.pluginScope}:${r.id}`,label:l,shortcut:r.shortcut,title:d,onSelect:()=>{a==null||a(r.pluginScope,r.command)}}}),[o,a,s,n.pathname,e])}function vn(e){const{i18n:t}=J(),n=re(),a=me(),o=se("route.windowBar.actions"),s=t.resolvedLanguage??t.language;return i.useMemo(()=>o.filter(r=>le({contribution:r,pathname:n.pathname,routeKey:e})&&Xe(r)).map(r=>{const l=O(r,"title",s)??r.title,d=O(r,"description",s)??l;return{active:r.active,activeIcon:r.activeIcon,activeLabel:r.activeLabel,activeTitle:r.activeTitle,danger:r.danger,disabled:r.disabled,icon:r.icon??"extension",key:`plugin:${r.pluginScope}:${r.id}`,label:l,shortcut:r.shortcut,title:d,onSelect:()=>{a==null||a(r.pluginScope,r.command)}}}),[o,a,s,n.pathname,e])}function Ue(){const e=et(),t=me();return i.useCallback((n,a)=>{if(n.command!=null&&n.command.trim()!==""){t==null||t(n.pluginScope,n.command,a);return}if(n.route!=null&&n.route.trim()!==""){e(n.route);return}n.href!=null&&n.href.trim()!==""&&window.open(n.href,"_blank","noopener,noreferrer")},[t,e])}const hn=({contributions:e,isMac:t,language:n,pathname:a,routeKey:o,target:s,onRun:r})=>{const l=s==null?void 0:{kind:"routeSidebarContextMenu",pathname:a,routeKey:o,target:s},d=e.filter(c=>le({contribution:c,pathname:a,routeKey:o})).map(c=>({active:c.active,activeIcon:c.activeIcon,danger:c.danger,disabled:c.disabled,icon:c.icon??"extension",key:`plugin:${c.pluginScope}:${c.id}`,label:O(c,"title",n)??c.title,selected:c.selected,shortcut:c.shortcut,title:O(c,"description",n)??O(c,"title",n)??c.title,onSelect:()=>r(c,l)}));if(d.length===0)return[];const u=[{items:d,key:`route-plugin-sidebar-context:${o}`}];return{items:en({closeMenu:()=>{},isMac:t,sections:u})??[],selectedKeys:We(u)}};function pn(e){const{i18n:t}=J(),n=re(),a=Ue(),o=se("route.moreMenu.items"),s=t.resolvedLanguage??t.language;return i.useMemo(()=>{const r=o.filter(l=>le({contribution:l,pathname:n.pathname,routeKey:e})).map(l=>{const d=O(l,"title",s)??l.title,u=O(l,"description",s)??d;return{active:l.active,activeIcon:l.activeIcon,danger:l.danger,disabled:l.disabled,icon:l.icon??"extension",key:`plugin:${l.pluginScope}:${l.id}`,label:d,selected:l.selected,shortcut:l.shortcut,title:u,onSelect:()=>a(l)}});return r.length===0?[]:[{items:r,key:`route-plugin-more:${e}`}]},[o,s,n.pathname,e,a])}function bn(e){const{i18n:t}=J(),n=re(),a=Ue(),o=se("route.sidebar.contextMenu"),s=t.resolvedLanguage??t.language,r=typeof navigator<"u"&&/mac/i.test(navigator.platform);return i.useMemo(()=>l=>hn({contributions:o,isMac:r,language:s,pathname:n.pathname,routeKey:e,target:l,onRun:a}),[o,r,s,n.pathname,e,a])}function yn(e){const{clearRouteMoreMenu:t,hasRouteSidebarProvider:n,setRouteMoreMenu:a}=ke(),o=pn(e);i.useEffect(()=>{const s=`route-plugin-more:${e}`;if(!n||o.length===0){t(s);return}return a({key:s,sections:o}),()=>t(s)},[t,n,e,o,a])}function Sn(e){const{clearRouteWindowBar:t,hasRouteSidebarProvider:n,setRouteWindowBar:a}=ke(),o=vn(e);i.useEffect(()=>{const s=`route-plugin-window-bar:${e}`;if(!n||o.length===0){t(s);return}return a({actions:o,key:s}),()=>t(s)},[o,t,n,e,a])}function Bn(e){const t=fn(e),n=bn(e);return yn(e),Sn(e),i.useMemo(()=>({headerActions:t,sidebarContextMenuItems:n}),[t,n])}export{xe as M,jn as N,At as P,On as R,Mn as S,Ot as a,se as b,me as c,O as d,en as e,We as f,ae as g,In as h,ke as i,Pn as j,rn as k,Ve as l,Nn as m,An as n,Bn as o,fn as p,yn as q,Gt as r,Sn as s,En as t,vn as u,$e as v};
|
|
1
|
+
import{r as i,j as C,u as re,h as et}from"./vendor-react-CnooHTJc.js";import{l as Ne,m as Pe,bA as tt,r as Oe,bf as nt,h as at,j as T,E as je,bz as ot,ad as rt,bi as st,aW as X,e as lt,x as it,aY as te,Q as Ie,aV as ct,a5 as dt,Y as he,aX as Y,b2 as Ae,bG as ut,o as V,a$ as gt,bv as mt,bn as ft,G as vt,B as ht,bT as pt}from"./index-DdUqPqXW.js";import{k as bt,l as yt,m as St,P as Ct,u as Ee,T as xt}from"./MobileAwareSelect-CCAQrsxL.js";import{D as pe,g as wt}from"./shortcutUtils-B8h6g_7o.js";import{i as ne,u as J}from"./vendor-state-zjcHRN98.js";const ae=e=>e?typeof e=="function"?e():e:null,$t=e=>{const{componentCls:t,popoverColor:n,titleMinWidth:a,fontWeightStrong:o,innerPadding:s,boxShadowSecondary:r,colorTextHeading:l,borderRadiusLG:d,zIndexPopup:u,titleMarginBottom:c,colorBgElevated:b,popoverBg:y,titleBorderBottom:f,innerContentPadding:w,titlePadding:h}=e;return[{[t]:Object.assign(Object.assign({},Oe(e)),{position:"absolute",top:0,left:{_skip_check_:!0,value:0},zIndex:u,fontWeight:"normal",whiteSpace:"normal",textAlign:"start",cursor:"auto",userSelect:"text","--valid-offset-x":"var(--arrow-offset-horizontal, var(--arrow-x))",transformOrigin:["var(--valid-offset-x, 50%)","var(--arrow-y, 50%)"].join(" "),"--antd-arrow-background-color":b,width:"max-content",maxWidth:"100vw","&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${t}-content`]:{position:"relative"},[`${t}-inner`]:{backgroundColor:y,backgroundClip:"padding-box",borderRadius:d,boxShadow:r,padding:s},[`${t}-title`]:{minWidth:a,marginBottom:c,color:l,fontWeight:o,borderBottom:f,padding:h},[`${t}-inner-content`]:{color:n,padding:w}})},bt(e,"var(--antd-arrow-background-color)"),{[`${t}-pure`]:{position:"relative",maxWidth:"none",margin:e.sizePopupArrow,display:"inline-block",[`${t}-content`]:{display:"inline-block"}}}]},Rt=e=>{const{componentCls:t}=e;return{[t]:nt.map(n=>{const a=e[`${n}6`];return{[`&${t}-${n}`]:{"--antd-arrow-background-color":a,[`${t}-inner`]:{backgroundColor:a},[`${t}-arrow`]:{background:"transparent"}}}})}},Mt=e=>{const{lineWidth:t,controlHeight:n,fontHeight:a,padding:o,wireframe:s,zIndexPopupBase:r,borderRadiusLG:l,marginXS:d,lineType:u,colorSplit:c,paddingSM:b}=e,y=n-a,f=y/2,w=y/2-t,h=o;return Object.assign(Object.assign(Object.assign({titleMinWidth:177,zIndexPopup:r+30},yt(e)),St({contentRadius:l,limitVerticalRadius:!0})),{innerPadding:s?0:12,titleMarginBottom:s?0:d,titlePadding:s?`${f}px ${h}px ${w}px`:0,titleBorderBottom:s?`${t}px ${u} ${c}`:"none",innerContentPadding:s?`${b}px ${h}px`:0})},Be=Ne("Popover",e=>{const{colorBgElevated:t,colorText:n}=e,a=Pe(e,{popoverBg:t,popoverColor:n});return[$t(a),Rt(a),tt(a,"zoom-big")]},Mt,{resetStyle:!1,deprecatedTokens:[["width","titleMinWidth"],["minWidth","titleMinWidth"]]});var Nt=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,a=Object.getOwnPropertySymbols(e);o<a.length;o++)t.indexOf(a[o])<0&&Object.prototype.propertyIsEnumerable.call(e,a[o])&&(n[a[o]]=e[a[o]]);return n};const _e=({title:e,content:t,prefixCls:n})=>!e&&!t?null:i.createElement(i.Fragment,null,e&&i.createElement("div",{className:`${n}-title`},e),t&&i.createElement("div",{className:`${n}-inner-content`},t)),Pt=e=>{const{hashId:t,prefixCls:n,className:a,style:o,placement:s="top",title:r,content:l,children:d}=e,u=ae(r),c=ae(l),b=T(t,n,`${n}-pure`,`${n}-placement-${s}`,a);return i.createElement("div",{className:b,style:o},i.createElement("div",{className:`${n}-arrow`}),i.createElement(Ct,Object.assign({},e,{className:t,prefixCls:n}),d||i.createElement(_e,{prefixCls:n,title:u,content:c})))},Ot=e=>{const{prefixCls:t,className:n}=e,a=Nt(e,["prefixCls","className"]),{getPrefixCls:o}=i.useContext(at),s=o("popover",t),[r,l,d]=Be(s);return r(i.createElement(Pt,Object.assign({},a,{prefixCls:s,hashId:l,className:T(n,d)})))};var jt=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,a=Object.getOwnPropertySymbols(e);o<a.length;o++)t.indexOf(a[o])<0&&Object.prototype.propertyIsEnumerable.call(e,a[o])&&(n[a[o]]=e[a[o]]);return n};const It=i.forwardRef((e,t)=>{var n,a;const{prefixCls:o,title:s,content:r,overlayClassName:l,placement:d="top",trigger:u="hover",children:c,mouseEnterDelay:b=.1,mouseLeaveDelay:y=.1,onOpenChange:f,overlayStyle:w={},styles:h,classNames:x}=e,_=jt(e,["prefixCls","title","content","overlayClassName","placement","trigger","children","mouseEnterDelay","mouseLeaveDelay","onOpenChange","overlayStyle","styles","classNames"]),{getPrefixCls:p,className:m,style:k,classNames:$,styles:j}=je("popover"),g=p("popover",o),[M,L,P]=Be(g),z=p(),D=T(l,L,P,m,$.root,x==null?void 0:x.root),W=T($.body,x==null?void 0:x.body),[v,I]=Ee(!1,{value:(n=e.open)!==null&&n!==void 0?n:e.visible,defaultValue:(a=e.defaultOpen)!==null&&a!==void 0?a:e.defaultVisible}),N=(R,U)=>{I(R,!0),f==null||f(R,U)},A=R=>{R.keyCode===st.ESC&&N(!1,R)},E=R=>{N(R)},F=ae(s),ee=ae(r);return M(i.createElement(xt,Object.assign({placement:d,trigger:u,mouseEnterDelay:b,mouseLeaveDelay:y},_,{prefixCls:g,classNames:{root:D,body:W},styles:{root:Object.assign(Object.assign(Object.assign(Object.assign({},j.root),k),w),h==null?void 0:h.root),body:Object.assign(Object.assign({},j.body),h==null?void 0:h.body)},ref:t,open:v,onOpenChange:E,overlay:F||ee?i.createElement(_e,{prefixCls:g,title:F,content:ee}):null,transitionName:ot(z,"zoom-big",_.transitionName),"data-popover-inject":!0}),rt(c,{onKeyDown:R=>{var U,q;i.isValidElement(c)&&((q=c==null?void 0:(U=c.props).onKeyDown)===null||q===void 0||q.call(U,R)),A(R)}})))}),At=It;At._InternalPanelDoNotUseOrYouWillBeFired=Ot;var be=function(t,n){if(!t)return null;var a={left:t.offsetLeft,right:t.parentElement.clientWidth-t.clientWidth-t.offsetLeft,width:t.clientWidth,top:t.offsetTop,bottom:t.parentElement.clientHeight-t.clientHeight-t.offsetTop,height:t.clientHeight};return n?{left:0,right:0,width:0,top:a.top,bottom:a.bottom,height:a.height}:{left:a.left,right:a.right,width:a.width,top:0,bottom:0,height:0}},B=function(t){return t!==void 0?"".concat(t,"px"):void 0};function Et(e){var t=e.prefixCls,n=e.containerRef,a=e.value,o=e.getValueIndex,s=e.motionName,r=e.onMotionStart,l=e.onMotionEnd,d=e.direction,u=e.vertical,c=u===void 0?!1:u,b=i.useRef(null),y=i.useState(a),f=X(y,2),w=f[0],h=f[1],x=function(I){var N,A=o(I),E=(N=n.current)===null||N===void 0?void 0:N.querySelectorAll(".".concat(t,"-item"))[A];return(E==null?void 0:E.offsetParent)&&E},_=i.useState(null),p=X(_,2),m=p[0],k=p[1],$=i.useState(null),j=X($,2),g=j[0],M=j[1];lt(function(){if(w!==a){var v=x(w),I=x(a),N=be(v,c),A=be(I,c);h(a),k(N),M(A),v&&I?r():l()}},[a]);var L=i.useMemo(function(){if(c){var v;return B((v=m==null?void 0:m.top)!==null&&v!==void 0?v:0)}return B(d==="rtl"?-(m==null?void 0:m.right):m==null?void 0:m.left)},[c,d,m]),P=i.useMemo(function(){if(c){var v;return B((v=g==null?void 0:g.top)!==null&&v!==void 0?v:0)}return B(d==="rtl"?-(g==null?void 0:g.right):g==null?void 0:g.left)},[c,d,g]),z=function(){return c?{transform:"translateY(var(--thumb-start-top))",height:"var(--thumb-start-height)"}:{transform:"translateX(var(--thumb-start-left))",width:"var(--thumb-start-width)"}},D=function(){return c?{transform:"translateY(var(--thumb-active-top))",height:"var(--thumb-active-height)"}:{transform:"translateX(var(--thumb-active-left))",width:"var(--thumb-active-width)"}},W=function(){k(null),M(null),l()};return!m||!g?null:i.createElement(it,{visible:!0,motionName:s,motionAppear:!0,onAppearStart:z,onAppearActive:D,onVisibleChanged:W},function(v,I){var N=v.className,A=v.style,E=te(te({},A),{},{"--thumb-start-left":L,"--thumb-start-width":B(m==null?void 0:m.width),"--thumb-active-left":P,"--thumb-active-width":B(g==null?void 0:g.width),"--thumb-start-top":L,"--thumb-start-height":B(m==null?void 0:m.height),"--thumb-active-top":P,"--thumb-active-height":B(g==null?void 0:g.height)}),F={ref:Ie(b,I),style:E,className:T("".concat(t,"-thumb"),N)};return i.createElement("div",F)})}var Bt=["prefixCls","direction","vertical","options","disabled","defaultValue","value","name","onChange","className","motionName"];function _t(e){if(typeof e.title<"u")return e.title;if(Ae(e.label)!=="object"){var t;return(t=e.label)===null||t===void 0?void 0:t.toString()}}function Lt(e){return e.map(function(t){if(Ae(t)==="object"&&t!==null){var n=_t(t);return te(te({},t),{},{title:n})}return{label:t==null?void 0:t.toString(),title:t==null?void 0:t.toString(),value:t}})}var Tt=function(t){var n=t.prefixCls,a=t.className,o=t.disabled,s=t.checked,r=t.label,l=t.title,d=t.value,u=t.name,c=t.onChange,b=t.onFocus,y=t.onBlur,f=t.onKeyDown,w=t.onKeyUp,h=t.onMouseDown,x=function(p){o||c(p,d)};return i.createElement("label",{className:T(a,Y({},"".concat(n,"-item-disabled"),o)),onMouseDown:h},i.createElement("input",{name:u,className:"".concat(n,"-item-input"),type:"radio",disabled:o,checked:s,onChange:x,onFocus:b,onBlur:y,onKeyDown:f,onKeyUp:w}),i.createElement("div",{className:"".concat(n,"-item-label"),title:l},r))},kt=i.forwardRef(function(e,t){var n,a=e.prefixCls,o=a===void 0?"rc-segmented":a,s=e.direction,r=e.vertical,l=e.options,d=l===void 0?[]:l,u=e.disabled,c=e.defaultValue,b=e.value,y=e.name,f=e.onChange,w=e.className,h=w===void 0?"":w,x=e.motionName,_=x===void 0?"thumb-motion":x,p=ct(e,Bt),m=i.useRef(null),k=i.useMemo(function(){return Ie(m,t)},[m,t]),$=i.useMemo(function(){return Lt(d)},[d]),j=Ee((n=$[0])===null||n===void 0?void 0:n.value,{value:b,defaultValue:c}),g=X(j,2),M=g[0],L=g[1],P=i.useState(!1),z=X(P,2),D=z[0],W=z[1],v=function(H,G){L(G),f==null||f(G)},I=dt(p,["children"]),N=i.useState(!1),A=X(N,2),E=A[0],F=A[1],ee=i.useState(!1),R=X(ee,2),U=R[0],q=R[1],qe=function(){q(!0)},Ge=function(){q(!1)},Ke=function(){F(!1)},Ye=function(H){H.key==="Tab"&&F(!0)},fe=function(H){var G=$.findIndex(function(Je){return Je.value===M}),ve=$.length,Qe=(G+H+ve)%ve,ie=$[Qe];ie&&(L(ie.value),f==null||f(ie.value))},Ze=function(H){switch(H.key){case"ArrowLeft":case"ArrowUp":fe(-1);break;case"ArrowRight":case"ArrowDown":fe(1);break}};return i.createElement("div",he({role:"radiogroup","aria-label":"segmented control",tabIndex:u?void 0:0,"aria-orientation":r?"vertical":"horizontal"},I,{className:T(o,Y(Y(Y({},"".concat(o,"-rtl"),s==="rtl"),"".concat(o,"-disabled"),u),"".concat(o,"-vertical"),r),h),ref:k}),i.createElement("div",{className:"".concat(o,"-group")},i.createElement(Et,{vertical:r,prefixCls:o,value:M,containerRef:m,motionName:"".concat(o,"-").concat(_),direction:s,getValueIndex:function(H){return $.findIndex(function(G){return G.value===H})},onMotionStart:function(){W(!0)},onMotionEnd:function(){W(!1)}}),$.map(function(S){return i.createElement(Tt,he({},S,{name:y,key:S.value,prefixCls:o,className:T(S.className,"".concat(o,"-item"),Y(Y({},"".concat(o,"-item-selected"),S.value===M&&!D),"".concat(o,"-item-focused"),U&&E&&S.value===M)),checked:S.value===M,onChange:v,onFocus:qe,onBlur:Ge,onKeyDown:Ze,onKeyUp:Ye,onMouseDown:Ke,disabled:!!u||!!S.disabled}))})))}),zt=kt;function ye(e,t){return{[`${e}, ${e}:hover, ${e}:focus`]:{color:t.colorTextDisabled,cursor:"not-allowed"}}}function Se(e){return{background:e.itemSelectedBg,boxShadow:e.boxShadowTertiary}}const Dt=Object.assign({overflow:"hidden"},mt),Wt=e=>{const{componentCls:t}=e,n=e.calc(e.controlHeight).sub(e.calc(e.trackPadding).mul(2)).equal(),a=e.calc(e.controlHeightLG).sub(e.calc(e.trackPadding).mul(2)).equal(),o=e.calc(e.controlHeightSM).sub(e.calc(e.trackPadding).mul(2)).equal();return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Oe(e)),{display:"inline-block",padding:e.trackPadding,color:e.itemColor,background:e.trackBg,borderRadius:e.borderRadius,transition:`all ${e.motionDurationMid}`}),ut(e)),{[`${t}-group`]:{position:"relative",display:"flex",alignItems:"stretch",justifyItems:"flex-start",flexDirection:"row",width:"100%"},[`&${t}-rtl`]:{direction:"rtl"},[`&${t}-vertical`]:{[`${t}-group`]:{flexDirection:"column"},[`${t}-thumb`]:{width:"100%",height:0,padding:`0 ${V(e.paddingXXS)}`}},[`&${t}-block`]:{display:"flex"},[`&${t}-block ${t}-item`]:{flex:1,minWidth:0},[`${t}-item`]:{position:"relative",textAlign:"center",cursor:"pointer",transition:`color ${e.motionDurationMid}`,borderRadius:e.borderRadiusSM,transform:"translateZ(0)","&-selected":Object.assign(Object.assign({},Se(e)),{color:e.itemSelectedColor}),"&-focused":gt(e),"&::after":{content:'""',position:"absolute",zIndex:-1,width:"100%",height:"100%",top:0,insetInlineStart:0,borderRadius:"inherit",opacity:0,transition:`opacity ${e.motionDurationMid}, background-color ${e.motionDurationMid}`,pointerEvents:"none"},[`&:not(${t}-item-selected):not(${t}-item-disabled)`]:{"&:hover, &:active":{color:e.itemHoverColor},"&:hover::after":{opacity:1,backgroundColor:e.itemHoverBg},"&:active::after":{opacity:1,backgroundColor:e.itemActiveBg}},"&-label":Object.assign({minHeight:n,lineHeight:V(n),padding:`0 ${V(e.segmentedPaddingHorizontal)}`},Dt),"&-icon + *":{marginInlineStart:e.calc(e.marginSM).div(2).equal()},"&-input":{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:0,height:0,opacity:0,pointerEvents:"none"}},[`${t}-thumb`]:Object.assign(Object.assign({},Se(e)),{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:0,height:"100%",padding:`${V(e.paddingXXS)} 0`,borderRadius:e.borderRadiusSM,[`& ~ ${t}-item:not(${t}-item-selected):not(${t}-item-disabled)::after`]:{backgroundColor:"transparent"}}),[`&${t}-lg`]:{borderRadius:e.borderRadiusLG,[`${t}-item-label`]:{minHeight:a,lineHeight:V(a),padding:`0 ${V(e.segmentedPaddingHorizontal)}`,fontSize:e.fontSizeLG},[`${t}-item, ${t}-thumb`]:{borderRadius:e.borderRadius}},[`&${t}-sm`]:{borderRadius:e.borderRadiusSM,[`${t}-item-label`]:{minHeight:o,lineHeight:V(o),padding:`0 ${V(e.segmentedPaddingHorizontalSM)}`},[`${t}-item, ${t}-thumb`]:{borderRadius:e.borderRadiusXS}}}),ye(`&-disabled ${t}-item`,e)),ye(`${t}-item-disabled`,e)),{[`${t}-thumb-motion-appear-active`]:{transition:`transform ${e.motionDurationSlow} ${e.motionEaseInOut}, width ${e.motionDurationSlow} ${e.motionEaseInOut}`,willChange:"transform, width"},[`&${t}-shape-round`]:{borderRadius:9999,[`${t}-item, ${t}-thumb`]:{borderRadius:9999}}})}},Ht=e=>{const{colorTextLabel:t,colorText:n,colorFillSecondary:a,colorBgElevated:o,colorFill:s,lineWidthBold:r,colorBgLayout:l}=e;return{trackPadding:r,trackBg:l,itemColor:t,itemHoverColor:n,itemHoverBg:a,itemSelectedBg:o,itemActiveBg:s,itemSelectedColor:n}},Vt=Ne("Segmented",e=>{const{lineWidth:t,calc:n}=e,a=Pe(e,{segmentedPaddingHorizontal:n(e.controlPaddingHorizontal).sub(t).equal(),segmentedPaddingHorizontalSM:n(e.controlPaddingHorizontalSM).sub(t).equal()});return Wt(a)},Ht);var Ce=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,a=Object.getOwnPropertySymbols(e);o<a.length;o++)t.indexOf(a[o])<0&&Object.prototype.propertyIsEnumerable.call(e,a[o])&&(n[a[o]]=e[a[o]]);return n};function Ft(e){return typeof e=="object"&&!!(e!=null&&e.icon)}const Xt=i.forwardRef((e,t)=>{const n=ft(),{prefixCls:a,className:o,rootClassName:s,block:r,options:l=[],size:d="middle",style:u,vertical:c,shape:b="default",name:y=n}=e,f=Ce(e,["prefixCls","className","rootClassName","block","options","size","style","vertical","shape","name"]),{getPrefixCls:w,direction:h,className:x,style:_}=je("segmented"),p=w("segmented",a),[m,k,$]=Vt(p),j=vt(d),g=i.useMemo(()=>l.map(P=>{if(Ft(P)){const{icon:z,label:D}=P,W=Ce(P,["icon","label"]);return Object.assign(Object.assign({},W),{label:i.createElement(i.Fragment,null,i.createElement("span",{className:`${p}-item-icon`},z),D&&i.createElement("span",null,D))})}return P}),[l,p]),M=T(o,s,x,{[`${p}-block`]:r,[`${p}-sm`]:j==="small",[`${p}-lg`]:j==="large",[`${p}-vertical`]:c,[`${p}-shape-${b}`]:b==="round"},k,$),L=Object.assign(Object.assign({},_),u);return m(i.createElement(zt,Object.assign({},f,{name:y,className:M,style:L,options:g,ref:t,prefixCls:p,direction:h,vertical:c})))}),Mn=Xt;function xe({"aria-hidden":e,"aria-label":t,className:n,filled:a=!1,name:o,role:s,title:r,...l}){const d=["material-symbols-rounded",a?"is-filled filled":"",n].filter(Boolean).join(" "),u=e??(t==null&&s==null&&r==null?!0:void 0);return C.jsx("span",{className:d,role:s,"aria-hidden":u,"aria-label":t,title:r,...l,children:o})}const Le=e=>typeof e=="object"&&e!==null&&!Array.isArray(e)&&!i.isValidElement(e),Ut=e=>Le(e)&&"active"in e&&"inactive"in e,qt=(e,t)=>{if(e!=null)return Ut(e)?t?e.active:e.inactive:e},Gt=({active:e,className:t,icon:n,materialFilled:a})=>{const o=qt(n,e);if(o==null||typeof o=="boolean")return null;const s=["icon-asset",t].filter(Boolean).join(" ");return typeof o=="string"?C.jsx(xe,{className:s,name:o,filled:a??e}):Le(o)?o.type==="material"?C.jsx(xe,{className:s,name:o.name,filled:o.filled??a??e}):o.type==="svg"?C.jsx("span",{className:[s,"icon-asset--svg"].filter(Boolean).join(" "),role:o.title==null?void 0:"img","aria-label":o.title,"aria-hidden":o.title==null?!0:void 0,dangerouslySetInnerHTML:{__html:o.svg}}):o.type==="image"?C.jsx("img",{className:[s,"icon-asset--image"].filter(Boolean).join(" "),src:o.src,alt:o.alt??"",draggable:!1}):null:o},Nn=e=>{const t=Object.values(e);return t.length===0?null:{actions:t.flatMap(n=>n.actions),hideCreateSessionAction:t.some(n=>n.hideCreateSessionAction===!0),key:t.map(n=>n.key).join("|")}},we=e=>{const t=e.filter(n=>n.node!=null);if(t.length!==0)return t.length===1?t[0].node:t.map(({key:n,node:a})=>C.jsx(i.Fragment,{children:a},n))},Pn=e=>{const t=Object.values(e);return t.length===0?null:{contextMenuSections:t.flatMap(n=>n.contextMenuSections??[]),footerAfter:we(t.map(n=>({key:`${n.key}:after`,node:n.footerAfter}))),footerBefore:we(t.map(n=>({key:`${n.key}:before`,node:n.footerBefore}))),key:t.map(n=>n.key).join("|"),sections:t.flatMap(n=>n.sections),selectedKeys:Array.from(new Set(t.flatMap(n=>n.selectedKeys??[])))}},K=()=>{},Te=i.createContext({clearRouteMoreMenu:K,clearRouteWindowBar:K,clearRouteSidebar:K,hasRouteSidebarProvider:!1,routeMoreMenu:null,routeSidebar:null,routeWindowBar:null,setRouteMoreMenu:K,setRouteSidebar:K,setRouteWindowBar:K}),On=Te.Provider;function ke(){return i.useContext(Te)}const $e="nav-rail-more-dropdown",jn=16,Kt="nav-rail-more-context-dropdown",Yt="nav-rail-more-submenu-dropdown",ze=e=>"type"in e&&e.type==="custom",Zt=(e,t)=>wt(e,t).map(n=>n.value).join(t?"":"+"),Qt=(e,t)=>{const n=Zt(e.shortcut,t);return n===""?e.label:C.jsxs("span",{className:"nav-menu-shortcut-label",children:[C.jsx("span",{className:"nav-menu-shortcut-title",children:e.label}),C.jsx("span",{className:"nav-menu-shortcut",children:n})]})},Jt=e=>{const t=e.active===!0&&e.activeIcon!=null?e.activeIcon:e.icon;if(t!=null)return Gt({active:e.active===!0,className:"nav-menu-icon",icon:t})},De=({closeMenu:e,isMac:t,item:n})=>{var o;if(ze(n))return{className:n.className,key:n.key,label:n.content,onClick:({domEvent:s})=>{var r;(r=n.onClick)==null||r.call(n,s)}};const a=n.children!=null||n.menuChildren!=null;return{children:n.menuChildren??((o=n.children)==null?void 0:o.map(s=>De({closeMenu:e,isMac:t,item:s}))),className:n.className,danger:n.danger,disabled:n.disabled,icon:Jt(n),key:n.key,label:Qt(n,t),popupClassName:a?n.popupClassName??Yt:n.popupClassName,title:n.title,onClick:a?void 0:()=>{var s;e(!1),(s=n.onSelect)==null||s.call(n)}}},en=({closeMenu:e,isMac:t,sections:n})=>n.filter(o=>o.items.length>0).flatMap((o,s)=>{const r=o.items.map(d=>De({closeMenu:e,isMac:t,item:d})),l=o.label==null?r:[{children:r,key:`${o.key}:group`,label:o.label,type:"group"}];return s===0?l:[{key:`${o.key}:divider`,type:"divider"},...l]}),We=e=>e.flatMap(t=>t.items.flatMap(n=>ze(n)?[]:[n.selected===!0?n.key:void 0,...We([{items:n.children??[],key:n.key}])].filter(a=>a!=null)));function In({active:e,buttonIconSrc:t,buttonLabel:n,buttonRef:a,contextMenuItems:o,items:s,open:r,selectedKeys:l,visuallyOpen:d,onOpenChange:u,onSelectItem:c,onTriggerFeedback:b}){const y=C.jsx("span",{className:"material-symbols-rounded nav-menu-submenu-chevron",children:"keyboard_arrow_right"});return C.jsx(pe,{destroyOnHidden:!0,overlayClassName:$e,menu:{expandIcon:y,items:s,onClick:c,selectedKeys:l,triggerSubMenuAction:"click"},open:r,onOpenChange:u,popupRender:o==null||o.length===0?void 0:f=>C.jsx(pe,{overlayClassName:`${$e} ${Kt}`,trigger:["contextMenu"],menu:{expandIcon:y,items:o,triggerSubMenuAction:"click"},children:C.jsx("div",{className:"nav-rail-more-dropdown__context-target",children:f})}),placement:"topLeft",trigger:["click"],transitionName:"ant-slide-down",children:C.jsx(ht,{ref:a,type:"default",className:`nav-rail-more-button ${e?"is-active":"is-idle"}`,"aria-haspopup":"menu","aria-expanded":d,block:!0,onClick:b,children:C.jsxs("span",{className:"nav-rail-more-button__content",children:[C.jsx("img",{className:"nav-rail-vibe-icon nav-rail-vibe-icon--more",src:t,alt:"","aria-hidden":"true"}),C.jsx("span",{children:n})]})})})}const oe=e=>{const t=e==null?void 0:e.trim().replace(/_/g,"-").toLowerCase();if(!(t==null||t===""))return t},tn=(e,t="en")=>{const n=oe(e),a=n==null?void 0:n.split("-")[0],o=a==="zh"?"zh-hans":void 0,s=a==="zh"?"zh-cn":void 0,r=oe(t);return[n,o,s,a,r,"en"].filter((l,d,u)=>l!=null&&u.indexOf(l)===d)},nn=()=>{var e;return(e=globalThis.document)==null?void 0:e.documentElement.lang},an=()=>{var e,t,n;return((t=(e=globalThis.navigator)==null?void 0:e.languages)==null?void 0:t[0])??((n=globalThis.navigator)==null?void 0:n.language)},ce=()=>ne.language??nn()??an()??"en",Z=()=>ne.resolvedLanguage??ce(),Re=e=>{if(typeof e=="string")return e;if(typeof e=="number"||typeof e=="boolean")return String(e)},He=e=>e!=null&&typeof e=="object"&&!Array.isArray(e),de=(e,t,n,a={})=>{var r;const o=Object.entries(e).filter(l=>l[1]!==void 0),s=new Map(o.map(([l,d])=>[oe(l),d]).filter(l=>l[0]!=null));for(const l of tn(t,n)){const d=s.get(l);if(d!==void 0)return d}return a.allowAnyFallback===!1||(r=o[0])==null?void 0:r[1]},on=(e,t={})=>e.replace(/\{\{\s*([\w.-]+)\s*\}\}/g,(n,a)=>{const o=t[a];return o==null?"":String(o)}),rn=()=>{const e={get language(){return ce()},get resolvedLanguage(){return Z()},getLanguage:()=>Z(),resolveText:(t,n)=>ue(t,e,{fallback:n})??n??"",select:(t,n)=>de(t,Z(),n),subscribe:t=>{const n=()=>{t({language:ce(),resolvedLanguage:Z()})};return ne.on("languageChanged",n),{dispose:()=>ne.off("languageChanged",n)}},t:(t,n)=>{const a=typeof t=="string"?t:de(t,Z(),"en")??"";return on(a,n)}};return e};function ue(e,t,n={}){const a=Re(e);if(a!=null)return a;if(!He(e))return n.fallback;const o=Object.entries(e).map(([r,l])=>[oe(r),Re(l)]).filter(r=>r[0]!=null&&r[1]!=null);if(o.length===0)return n.fallback;const s=typeof t=="string"?t:t.resolvedLanguage;return de(Object.fromEntries(o),s,n.fallbackLanguage,{allowAnyFallback:n.allowAnyFallback})??n.fallback}const O=(e,t,n)=>{const a=(s,r)=>ue(s,n,r),o=a(e[`${t}I18n`],{allowAnyFallback:!1,fallbackLanguage:"en"});if(o!=null)return o;if(He(e.i18n)){const s=a(Object.fromEntries(Object.entries(e.i18n).map(([r,l])=>[r,l!=null&&typeof l=="object"&&!Array.isArray(l)?l[t]:void 0])),{allowAnyFallback:!1,fallbackLanguage:"en"});if(s!=null)return s}return a(e[t])},Me=(e,t,n)=>O(e,t,n),sn=(e,t)=>{const n=e,a=Me(n,"title",t),o=Me(n,"description",t);return a==null&&o==null?e:{...e,...a==null?{}:{title:a},...o==null?{}:{description:o}}},Ve=i.createContext(null),An=()=>{const e=i.useContext(Ve);if(e==null)throw new Error("PluginProvider is missing");return e},Fe=()=>i.useContext(Ve),ln=[];function se(e){const{i18n:t}=J(),n=Fe(),a=(n==null?void 0:n.snapshot.slots[e])??ln,o=t.resolvedLanguage??t.language;return i.useMemo(()=>{const s=rn();return a.map(r=>sn(r,s))},[a,o])}function me(){const e=Fe(),t=e==null?void 0:e.registry;return i.useMemo(()=>t==null?void 0:t.executeCommand.bind(t),[t])}const cn=e=>[e.targetRoute,...e.targetRoutes??[]].filter(t=>typeof t=="string"&&t.trim()!==""),dn={config:["settings"],settings:["config"]},un="/ui",Q=e=>{let t=e.trim();if(t==="")return"/";for(t.startsWith("/")||(t=`/${t}`);t.length>1&&t.endsWith("/");)t=t.slice(0,-1);return t},gn=e=>new Set([e,...dn[e]??[]]),ge=e=>{const t=Q(e),n=Q(pt()),a=Array.from(new Set([n,Q(un)])).filter(s=>s!=="/"),o=new Set([t]);for(const s of a)t===s?o.add("/"):t.startsWith(`${s}/`)?o.add(Q(t.slice(s.length))):o.add(Q(`${s}${t==="/"?"":t}`));return o},mn=(e,t)=>{if(!e.startsWith("/"))return!1;if(e.endsWith("/*")){const a=ge(e.slice(0,-2));return[...t].some(o=>[...a].some(s=>o===s||o.startsWith(`${s}/`)))}return[...ge(e)].some(a=>t.has(a))},En=O,le=({contribution:e,pathname:t,routeKey:n})=>{const a=cn(e);if(a.length===0)return!0;const o=gn(n),s=ge(t);return a.some(r=>o.has(r)?!0:mn(r,s))},Xe=e=>typeof e.command=="string"&&e.command.trim()!=="";function fn(e){const{i18n:t}=J(),n=re(),a=me(),o=se("route.header.actions"),s=t.resolvedLanguage??t.language;return i.useMemo(()=>o.filter(r=>le({contribution:r,pathname:n.pathname,routeKey:e})&&Xe(r)).map(r=>{const l=O(r,"title",s)??r.title,d=O(r,"description",s)??l;return{active:r.active,activeIcon:r.activeIcon,activeLabel:r.activeLabel,activeTitle:r.activeTitle,danger:r.danger,disabled:r.disabled,icon:r.icon??"extension",key:`plugin:${r.pluginScope}:${r.id}`,label:l,shortcut:r.shortcut,title:d,onSelect:()=>{a==null||a(r.pluginScope,r.command)}}}),[o,a,s,n.pathname,e])}function vn(e){const{i18n:t}=J(),n=re(),a=me(),o=se("route.windowBar.actions"),s=t.resolvedLanguage??t.language;return i.useMemo(()=>o.filter(r=>le({contribution:r,pathname:n.pathname,routeKey:e})&&Xe(r)).map(r=>{const l=O(r,"title",s)??r.title,d=O(r,"description",s)??l;return{active:r.active,activeIcon:r.activeIcon,activeLabel:r.activeLabel,activeTitle:r.activeTitle,danger:r.danger,disabled:r.disabled,icon:r.icon??"extension",key:`plugin:${r.pluginScope}:${r.id}`,label:l,shortcut:r.shortcut,title:d,onSelect:()=>{a==null||a(r.pluginScope,r.command)}}}),[o,a,s,n.pathname,e])}function Ue(){const e=et(),t=me();return i.useCallback((n,a)=>{if(n.command!=null&&n.command.trim()!==""){t==null||t(n.pluginScope,n.command,a);return}if(n.route!=null&&n.route.trim()!==""){e(n.route);return}n.href!=null&&n.href.trim()!==""&&window.open(n.href,"_blank","noopener,noreferrer")},[t,e])}const hn=({contributions:e,isMac:t,language:n,pathname:a,routeKey:o,target:s,onRun:r})=>{const l=s==null?void 0:{kind:"routeSidebarContextMenu",pathname:a,routeKey:o,target:s},d=e.filter(c=>le({contribution:c,pathname:a,routeKey:o})).map(c=>({active:c.active,activeIcon:c.activeIcon,danger:c.danger,disabled:c.disabled,icon:c.icon??"extension",key:`plugin:${c.pluginScope}:${c.id}`,label:O(c,"title",n)??c.title,selected:c.selected,shortcut:c.shortcut,title:O(c,"description",n)??O(c,"title",n)??c.title,onSelect:()=>r(c,l)}));if(d.length===0)return[];const u=[{items:d,key:`route-plugin-sidebar-context:${o}`}];return{items:en({closeMenu:()=>{},isMac:t,sections:u})??[],selectedKeys:We(u)}};function pn(e){const{i18n:t}=J(),n=re(),a=Ue(),o=se("route.moreMenu.items"),s=t.resolvedLanguage??t.language;return i.useMemo(()=>{const r=o.filter(l=>le({contribution:l,pathname:n.pathname,routeKey:e})).map(l=>{const d=O(l,"title",s)??l.title,u=O(l,"description",s)??d;return{active:l.active,activeIcon:l.activeIcon,danger:l.danger,disabled:l.disabled,icon:l.icon??"extension",key:`plugin:${l.pluginScope}:${l.id}`,label:d,selected:l.selected,shortcut:l.shortcut,title:u,onSelect:()=>a(l)}});return r.length===0?[]:[{items:r,key:`route-plugin-more:${e}`}]},[o,s,n.pathname,e,a])}function bn(e){const{i18n:t}=J(),n=re(),a=Ue(),o=se("route.sidebar.contextMenu"),s=t.resolvedLanguage??t.language,r=typeof navigator<"u"&&/mac/i.test(navigator.platform);return i.useMemo(()=>l=>hn({contributions:o,isMac:r,language:s,pathname:n.pathname,routeKey:e,target:l,onRun:a}),[o,r,s,n.pathname,e,a])}function yn(e){const{clearRouteMoreMenu:t,hasRouteSidebarProvider:n,setRouteMoreMenu:a}=ke(),o=pn(e);i.useEffect(()=>{const s=`route-plugin-more:${e}`;if(!n||o.length===0){t(s);return}return a({key:s,sections:o}),()=>t(s)},[t,n,e,o,a])}function Sn(e){const{clearRouteWindowBar:t,hasRouteSidebarProvider:n,setRouteWindowBar:a}=ke(),o=vn(e);i.useEffect(()=>{const s=`route-plugin-window-bar:${e}`;if(!n||o.length===0){t(s);return}return a({actions:o,key:s}),()=>t(s)},[o,t,n,e,a])}function Bn(e){const t=fn(e),n=bn(e);return yn(e),Sn(e),i.useMemo(()=>({headerActions:t,sidebarContextMenuItems:n}),[t,n])}export{xe as M,jn as N,At as P,On as R,Mn as S,Ot as a,se as b,me as c,O as d,en as e,We as f,ae as g,In as h,ke as i,Pn as j,rn as k,Ve as l,Nn as m,An as n,Bn as o,fn as p,yn as q,Gt as r,Sn as s,En as t,vn as u,$e as v};
|
package/dist/assets/{sankeyDiagram-a04cb91d-BnkC9YW5.js → sankeyDiagram-a04cb91d-DhKL8pMH.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{x as mt,v as kt,s as _t,a as xt,c as vt,b as bt,g as rt,y as wt,d as G,p as St,z as Lt,k as Et}from"./mermaid.core-NVIiXnRA.js";import"./AuthenticatedApp-CgBrvMuc.js";import{o as At}from"./ordinal-Cboi1Yqb.js";import{s as Tt}from"./Tableau10-B-NsZVaP.js";import"./index-Cp4GfHnF.js";import"./vendor-react-CnooHTJc.js";import"./vendor-state-BYwEPTaO.js";import"./MobileAwareSelect-BmK6WApn.js";import"./use-app-preferences-gyulV-hA.js";import"./route-plugin-chrome-B-Goj3vG.js";import"./shortcutUtils-20iqPDwh.js";import"./project-file-tree-icons-DqqhgvoI.js";import"./WorkspaceApp-BNmtIdn4.js";import"./index-CWmEuVWV.js";import"./client-build-info-bcijLdfD.js";import"./init-Gi6I4Gst.js";function ot(t,n){let s;if(n===void 0)for(const a of t)a!=null&&(s<a||s===void 0&&a>=a)&&(s=a);else{let a=-1;for(let u of t)(u=n(u,++a,t))!=null&&(s<u||s===void 0&&u>=u)&&(s=u)}return s}function yt(t,n){let s;if(n===void 0)for(const a of t)a!=null&&(s>a||s===void 0&&a>=a)&&(s=a);else{let a=-1;for(let u of t)(u=n(u,++a,t))!=null&&(s>u||s===void 0&&u>=u)&&(s=u)}return s}function Z(t,n){let s=0;if(n===void 0)for(let a of t)(a=+a)&&(s+=a);else{let a=-1;for(let u of t)(u=+n(u,++a,t))&&(s+=u)}return s}function Mt(t){return t.target.depth}function Nt(t){return t.depth}function Pt(t,n){return n-1-t.height}function dt(t,n){return t.sourceLinks.length?t.depth:n-1}function Ct(t){return t.targetLinks.length?t.depth:t.sourceLinks.length?yt(t.sourceLinks,Mt)-1:0}function Y(t){return function(){return t}}function lt(t,n){return H(t.source,n.source)||t.index-n.index}function at(t,n){return H(t.target,n.target)||t.index-n.index}function H(t,n){return t.y0-n.y0}function J(t){return t.value}function It(t){return t.index}function $t(t){return t.nodes}function Ot(t){return t.links}function ct(t,n){const s=t.get(n);if(!s)throw new Error("missing: "+n);return s}function ut({nodes:t}){for(const n of t){let s=n.y0,a=s;for(const u of n.sourceLinks)u.y0=s+u.width/2,s+=u.width;for(const u of n.targetLinks)u.y1=a+u.width/2,a+=u.width}}function zt(){let t=0,n=0,s=1,a=1,u=24,_=8,p,g=It,i=dt,o,c,m=$t,b=Ot,y=6;function x(){const e={nodes:m.apply(null,arguments),links:b.apply(null,arguments)};return E(e),L(e),A(e),N(e),S(e),ut(e),e}x.update=function(e){return ut(e),e},x.nodeId=function(e){return arguments.length?(g=typeof e=="function"?e:Y(e),x):g},x.nodeAlign=function(e){return arguments.length?(i=typeof e=="function"?e:Y(e),x):i},x.nodeSort=function(e){return arguments.length?(o=e,x):o},x.nodeWidth=function(e){return arguments.length?(u=+e,x):u},x.nodePadding=function(e){return arguments.length?(_=p=+e,x):_},x.nodes=function(e){return arguments.length?(m=typeof e=="function"?e:Y(e),x):m},x.links=function(e){return arguments.length?(b=typeof e=="function"?e:Y(e),x):b},x.linkSort=function(e){return arguments.length?(c=e,x):c},x.size=function(e){return arguments.length?(t=n=0,s=+e[0],a=+e[1],x):[s-t,a-n]},x.extent=function(e){return arguments.length?(t=+e[0][0],s=+e[1][0],n=+e[0][1],a=+e[1][1],x):[[t,n],[s,a]]},x.iterations=function(e){return arguments.length?(y=+e,x):y};function E({nodes:e,links:f}){for(const[h,r]of e.entries())r.index=h,r.sourceLinks=[],r.targetLinks=[];const l=new Map(e.map((h,r)=>[g(h,r,e),h]));for(const[h,r]of f.entries()){r.index=h;let{source:k,target:v}=r;typeof k!="object"&&(k=r.source=ct(l,k)),typeof v!="object"&&(v=r.target=ct(l,v)),k.sourceLinks.push(r),v.targetLinks.push(r)}if(c!=null)for(const{sourceLinks:h,targetLinks:r}of e)h.sort(c),r.sort(c)}function L({nodes:e}){for(const f of e)f.value=f.fixedValue===void 0?Math.max(Z(f.sourceLinks,J),Z(f.targetLinks,J)):f.fixedValue}function A({nodes:e}){const f=e.length;let l=new Set(e),h=new Set,r=0;for(;l.size;){for(const k of l){k.depth=r;for(const{target:v}of k.sourceLinks)h.add(v)}if(++r>f)throw new Error("circular link");l=h,h=new Set}}function N({nodes:e}){const f=e.length;let l=new Set(e),h=new Set,r=0;for(;l.size;){for(const k of l){k.height=r;for(const{source:v}of k.targetLinks)h.add(v)}if(++r>f)throw new Error("circular link");l=h,h=new Set}}function I({nodes:e}){const f=ot(e,r=>r.depth)+1,l=(s-t-u)/(f-1),h=new Array(f);for(const r of e){const k=Math.max(0,Math.min(f-1,Math.floor(i.call(null,r,f))));r.layer=k,r.x0=t+k*l,r.x1=r.x0+u,h[k]?h[k].push(r):h[k]=[r]}if(o)for(const r of h)r.sort(o);return h}function z(e){const f=yt(e,l=>(a-n-(l.length-1)*p)/Z(l,J));for(const l of e){let h=n;for(const r of l){r.y0=h,r.y1=h+r.value*f,h=r.y1+p;for(const k of r.sourceLinks)k.width=k.value*f}h=(a-h+p)/(l.length+1);for(let r=0;r<l.length;++r){const k=l[r];k.y0+=h*(r+1),k.y1+=h*(r+1)}$(l)}}function S(e){const f=I(e);p=Math.min(_,(a-n)/(ot(f,l=>l.length)-1)),z(f);for(let l=0;l<y;++l){const h=Math.pow(.99,l),r=Math.max(1-h,(l+1)/y);O(f,h,r),M(f,h,r)}}function M(e,f,l){for(let h=1,r=e.length;h<r;++h){const k=e[h];for(const v of k){let R=0,j=0;for(const{source:W,value:K}of v.targetLinks){let F=K*(v.layer-W.layer);R+=T(W,v)*F,j+=F}if(!(j>0))continue;let U=(R/j-v.y0)*f;v.y0+=U,v.y1+=U,w(v)}o===void 0&&k.sort(H),P(k,l)}}function O(e,f,l){for(let h=e.length,r=h-2;r>=0;--r){const k=e[r];for(const v of k){let R=0,j=0;for(const{target:W,value:K}of v.sourceLinks){let F=K*(W.layer-v.layer);R+=V(v,W)*F,j+=F}if(!(j>0))continue;let U=(R/j-v.y0)*f;v.y0+=U,v.y1+=U,w(v)}o===void 0&&k.sort(H),P(k,l)}}function P(e,f){const l=e.length>>1,h=e[l];d(e,h.y0-p,l-1,f),C(e,h.y1+p,l+1,f),d(e,a,e.length-1,f),C(e,n,0,f)}function C(e,f,l,h){for(;l<e.length;++l){const r=e[l],k=(f-r.y0)*h;k>1e-6&&(r.y0+=k,r.y1+=k),f=r.y1+p}}function d(e,f,l,h){for(;l>=0;--l){const r=e[l],k=(r.y1-f)*h;k>1e-6&&(r.y0-=k,r.y1-=k),f=r.y0-p}}function w({sourceLinks:e,targetLinks:f}){if(c===void 0){for(const{source:{sourceLinks:l}}of f)l.sort(at);for(const{target:{targetLinks:l}}of e)l.sort(lt)}}function $(e){if(c===void 0)for(const{sourceLinks:f,targetLinks:l}of e)f.sort(at),l.sort(lt)}function T(e,f){let l=e.y0-(e.sourceLinks.length-1)*p/2;for(const{target:h,width:r}of e.sourceLinks){if(h===f)break;l+=r+p}for(const{source:h,width:r}of f.targetLinks){if(h===e)break;l-=r}return l}function V(e,f){let l=f.y0-(f.targetLinks.length-1)*p/2;for(const{source:h,width:r}of f.targetLinks){if(h===e)break;l+=r+p}for(const{target:h,width:r}of e.sourceLinks){if(h===f)break;l-=r}return l}return x}var tt=Math.PI,et=2*tt,D=1e-6,jt=et-D;function nt(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function pt(){return new nt}nt.prototype=pt.prototype={constructor:nt,moveTo:function(t,n){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+n)},closePath:function(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(t,n){this._+="L"+(this._x1=+t)+","+(this._y1=+n)},quadraticCurveTo:function(t,n,s,a){this._+="Q"+ +t+","+ +n+","+(this._x1=+s)+","+(this._y1=+a)},bezierCurveTo:function(t,n,s,a,u,_){this._+="C"+ +t+","+ +n+","+ +s+","+ +a+","+(this._x1=+u)+","+(this._y1=+_)},arcTo:function(t,n,s,a,u){t=+t,n=+n,s=+s,a=+a,u=+u;var _=this._x1,p=this._y1,g=s-t,i=a-n,o=_-t,c=p-n,m=o*o+c*c;if(u<0)throw new Error("negative radius: "+u);if(this._x1===null)this._+="M"+(this._x1=t)+","+(this._y1=n);else if(m>D)if(!(Math.abs(c*g-i*o)>D)||!u)this._+="L"+(this._x1=t)+","+(this._y1=n);else{var b=s-_,y=a-p,x=g*g+i*i,E=b*b+y*y,L=Math.sqrt(x),A=Math.sqrt(m),N=u*Math.tan((tt-Math.acos((x+m-E)/(2*L*A)))/2),I=N/A,z=N/L;Math.abs(I-1)>D&&(this._+="L"+(t+I*o)+","+(n+I*c)),this._+="A"+u+","+u+",0,0,"+ +(c*b>o*y)+","+(this._x1=t+z*g)+","+(this._y1=n+z*i)}},arc:function(t,n,s,a,u,_){t=+t,n=+n,s=+s,_=!!_;var p=s*Math.cos(a),g=s*Math.sin(a),i=t+p,o=n+g,c=1^_,m=_?a-u:u-a;if(s<0)throw new Error("negative radius: "+s);this._x1===null?this._+="M"+i+","+o:(Math.abs(this._x1-i)>D||Math.abs(this._y1-o)>D)&&(this._+="L"+i+","+o),s&&(m<0&&(m=m%et+et),m>jt?this._+="A"+s+","+s+",0,1,"+c+","+(t-p)+","+(n-g)+"A"+s+","+s+",0,1,"+c+","+(this._x1=i)+","+(this._y1=o):m>D&&(this._+="A"+s+","+s+",0,"+ +(m>=tt)+","+c+","+(this._x1=t+s*Math.cos(u))+","+(this._y1=n+s*Math.sin(u))))},rect:function(t,n,s,a){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+n)+"h"+ +s+"v"+ +a+"h"+-s+"Z"},toString:function(){return this._}};function ht(t){return function(){return t}}function Dt(t){return t[0]}function Bt(t){return t[1]}var Vt=Array.prototype.slice;function Rt(t){return t.source}function Ut(t){return t.target}function Wt(t){var n=Rt,s=Ut,a=Dt,u=Bt,_=null;function p(){var g,i=Vt.call(arguments),o=n.apply(this,i),c=s.apply(this,i);if(_||(_=g=pt()),t(_,+a.apply(this,(i[0]=o,i)),+u.apply(this,i),+a.apply(this,(i[0]=c,i)),+u.apply(this,i)),g)return _=null,g+""||null}return p.source=function(g){return arguments.length?(n=g,p):n},p.target=function(g){return arguments.length?(s=g,p):s},p.x=function(g){return arguments.length?(a=typeof g=="function"?g:ht(+g),p):a},p.y=function(g){return arguments.length?(u=typeof g=="function"?g:ht(+g),p):u},p.context=function(g){return arguments.length?(_=g??null,p):_},p}function Ft(t,n,s,a,u){t.moveTo(n,s),t.bezierCurveTo(n=(n+a)/2,s,n,u,a,u)}function Gt(){return Wt(Ft)}function Yt(t){return[t.source.x1,t.y0]}function Ht(t){return[t.target.x0,t.y1]}function Xt(){return Gt().source(Yt).target(Ht)}var it=function(){var t=function(g,i,o,c){for(o=o||{},c=g.length;c--;o[g[c]]=i);return o},n=[1,9],s=[1,10],a=[1,5,10,12],u={trace:function(){},yy:{},symbols_:{error:2,start:3,SANKEY:4,NEWLINE:5,csv:6,opt_eof:7,record:8,csv_tail:9,EOF:10,"field[source]":11,COMMA:12,"field[target]":13,"field[value]":14,field:15,escaped:16,non_escaped:17,DQUOTE:18,ESCAPED_TEXT:19,NON_ESCAPED_TEXT:20,$accept:0,$end:1},terminals_:{2:"error",4:"SANKEY",5:"NEWLINE",10:"EOF",11:"field[source]",12:"COMMA",13:"field[target]",14:"field[value]",18:"DQUOTE",19:"ESCAPED_TEXT",20:"NON_ESCAPED_TEXT"},productions_:[0,[3,4],[6,2],[9,2],[9,0],[7,1],[7,0],[8,5],[15,1],[15,1],[16,3],[17,1]],performAction:function(i,o,c,m,b,y,x){var E=y.length-1;switch(b){case 7:const L=m.findOrCreateNode(y[E-4].trim().replaceAll('""','"')),A=m.findOrCreateNode(y[E-2].trim().replaceAll('""','"')),N=parseFloat(y[E].trim());m.addLink(L,A,N);break;case 8:case 9:case 11:this.$=y[E];break;case 10:this.$=y[E-1];break}},table:[{3:1,4:[1,2]},{1:[3]},{5:[1,3]},{6:4,8:5,15:6,16:7,17:8,18:n,20:s},{1:[2,6],7:11,10:[1,12]},t(s,[2,4],{9:13,5:[1,14]}),{12:[1,15]},t(a,[2,8]),t(a,[2,9]),{19:[1,16]},t(a,[2,11]),{1:[2,1]},{1:[2,5]},t(s,[2,2]),{6:17,8:5,15:6,16:7,17:8,18:n,20:s},{15:18,16:7,17:8,18:n,20:s},{18:[1,19]},t(s,[2,3]),{12:[1,20]},t(a,[2,10]),{15:21,16:7,17:8,18:n,20:s},t([1,5,10],[2,7])],defaultActions:{11:[2,1],12:[2,5]},parseError:function(i,o){if(o.recoverable)this.trace(i);else{var c=new Error(i);throw c.hash=o,c}},parse:function(i){var o=this,c=[0],m=[],b=[null],y=[],x=this.table,E="",L=0,A=0,N=2,I=1,z=y.slice.call(arguments,1),S=Object.create(this.lexer),M={yy:{}};for(var O in this.yy)Object.prototype.hasOwnProperty.call(this.yy,O)&&(M.yy[O]=this.yy[O]);S.setInput(i,M.yy),M.yy.lexer=S,M.yy.parser=this,typeof S.yylloc>"u"&&(S.yylloc={});var P=S.yylloc;y.push(P);var C=S.options&&S.options.ranges;typeof M.yy.parseError=="function"?this.parseError=M.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function d(){var v;return v=m.pop()||S.lex()||I,typeof v!="number"&&(v instanceof Array&&(m=v,v=m.pop()),v=o.symbols_[v]||v),v}for(var w,$,T,V,e={},f,l,h,r;;){if($=c[c.length-1],this.defaultActions[$]?T=this.defaultActions[$]:((w===null||typeof w>"u")&&(w=d()),T=x[$]&&x[$][w]),typeof T>"u"||!T.length||!T[0]){var k="";r=[];for(f in x[$])this.terminals_[f]&&f>N&&r.push("'"+this.terminals_[f]+"'");S.showPosition?k="Parse error on line "+(L+1)+`:
|
|
1
|
+
import{x as mt,v as kt,s as _t,a as xt,c as vt,b as bt,g as rt,y as wt,d as G,p as St,z as Lt,k as Et}from"./mermaid.core-VYJIZL_J.js";import"./AuthenticatedApp-CK9TT7Nk.js";import{o as At}from"./ordinal-Cboi1Yqb.js";import{s as Tt}from"./Tableau10-B-NsZVaP.js";import"./index-DdUqPqXW.js";import"./vendor-react-CnooHTJc.js";import"./vendor-state-zjcHRN98.js";import"./MobileAwareSelect-CCAQrsxL.js";import"./use-app-preferences-DGCafwsP.js";import"./route-plugin-chrome-bV1HEaju.js";import"./shortcutUtils-B8h6g_7o.js";import"./project-file-tree-icons-CfonMx-1.js";import"./WorkspaceApp-l-h_IsMp.js";import"./index-ZOsqqPVv.js";import"./client-build-info-6B4KoYHs.js";import"./init-Gi6I4Gst.js";function ot(t,n){let s;if(n===void 0)for(const a of t)a!=null&&(s<a||s===void 0&&a>=a)&&(s=a);else{let a=-1;for(let u of t)(u=n(u,++a,t))!=null&&(s<u||s===void 0&&u>=u)&&(s=u)}return s}function yt(t,n){let s;if(n===void 0)for(const a of t)a!=null&&(s>a||s===void 0&&a>=a)&&(s=a);else{let a=-1;for(let u of t)(u=n(u,++a,t))!=null&&(s>u||s===void 0&&u>=u)&&(s=u)}return s}function Z(t,n){let s=0;if(n===void 0)for(let a of t)(a=+a)&&(s+=a);else{let a=-1;for(let u of t)(u=+n(u,++a,t))&&(s+=u)}return s}function Mt(t){return t.target.depth}function Nt(t){return t.depth}function Pt(t,n){return n-1-t.height}function dt(t,n){return t.sourceLinks.length?t.depth:n-1}function Ct(t){return t.targetLinks.length?t.depth:t.sourceLinks.length?yt(t.sourceLinks,Mt)-1:0}function Y(t){return function(){return t}}function lt(t,n){return H(t.source,n.source)||t.index-n.index}function at(t,n){return H(t.target,n.target)||t.index-n.index}function H(t,n){return t.y0-n.y0}function J(t){return t.value}function It(t){return t.index}function $t(t){return t.nodes}function Ot(t){return t.links}function ct(t,n){const s=t.get(n);if(!s)throw new Error("missing: "+n);return s}function ut({nodes:t}){for(const n of t){let s=n.y0,a=s;for(const u of n.sourceLinks)u.y0=s+u.width/2,s+=u.width;for(const u of n.targetLinks)u.y1=a+u.width/2,a+=u.width}}function zt(){let t=0,n=0,s=1,a=1,u=24,_=8,p,g=It,i=dt,o,c,m=$t,b=Ot,y=6;function x(){const e={nodes:m.apply(null,arguments),links:b.apply(null,arguments)};return E(e),L(e),A(e),N(e),S(e),ut(e),e}x.update=function(e){return ut(e),e},x.nodeId=function(e){return arguments.length?(g=typeof e=="function"?e:Y(e),x):g},x.nodeAlign=function(e){return arguments.length?(i=typeof e=="function"?e:Y(e),x):i},x.nodeSort=function(e){return arguments.length?(o=e,x):o},x.nodeWidth=function(e){return arguments.length?(u=+e,x):u},x.nodePadding=function(e){return arguments.length?(_=p=+e,x):_},x.nodes=function(e){return arguments.length?(m=typeof e=="function"?e:Y(e),x):m},x.links=function(e){return arguments.length?(b=typeof e=="function"?e:Y(e),x):b},x.linkSort=function(e){return arguments.length?(c=e,x):c},x.size=function(e){return arguments.length?(t=n=0,s=+e[0],a=+e[1],x):[s-t,a-n]},x.extent=function(e){return arguments.length?(t=+e[0][0],s=+e[1][0],n=+e[0][1],a=+e[1][1],x):[[t,n],[s,a]]},x.iterations=function(e){return arguments.length?(y=+e,x):y};function E({nodes:e,links:f}){for(const[h,r]of e.entries())r.index=h,r.sourceLinks=[],r.targetLinks=[];const l=new Map(e.map((h,r)=>[g(h,r,e),h]));for(const[h,r]of f.entries()){r.index=h;let{source:k,target:v}=r;typeof k!="object"&&(k=r.source=ct(l,k)),typeof v!="object"&&(v=r.target=ct(l,v)),k.sourceLinks.push(r),v.targetLinks.push(r)}if(c!=null)for(const{sourceLinks:h,targetLinks:r}of e)h.sort(c),r.sort(c)}function L({nodes:e}){for(const f of e)f.value=f.fixedValue===void 0?Math.max(Z(f.sourceLinks,J),Z(f.targetLinks,J)):f.fixedValue}function A({nodes:e}){const f=e.length;let l=new Set(e),h=new Set,r=0;for(;l.size;){for(const k of l){k.depth=r;for(const{target:v}of k.sourceLinks)h.add(v)}if(++r>f)throw new Error("circular link");l=h,h=new Set}}function N({nodes:e}){const f=e.length;let l=new Set(e),h=new Set,r=0;for(;l.size;){for(const k of l){k.height=r;for(const{source:v}of k.targetLinks)h.add(v)}if(++r>f)throw new Error("circular link");l=h,h=new Set}}function I({nodes:e}){const f=ot(e,r=>r.depth)+1,l=(s-t-u)/(f-1),h=new Array(f);for(const r of e){const k=Math.max(0,Math.min(f-1,Math.floor(i.call(null,r,f))));r.layer=k,r.x0=t+k*l,r.x1=r.x0+u,h[k]?h[k].push(r):h[k]=[r]}if(o)for(const r of h)r.sort(o);return h}function z(e){const f=yt(e,l=>(a-n-(l.length-1)*p)/Z(l,J));for(const l of e){let h=n;for(const r of l){r.y0=h,r.y1=h+r.value*f,h=r.y1+p;for(const k of r.sourceLinks)k.width=k.value*f}h=(a-h+p)/(l.length+1);for(let r=0;r<l.length;++r){const k=l[r];k.y0+=h*(r+1),k.y1+=h*(r+1)}$(l)}}function S(e){const f=I(e);p=Math.min(_,(a-n)/(ot(f,l=>l.length)-1)),z(f);for(let l=0;l<y;++l){const h=Math.pow(.99,l),r=Math.max(1-h,(l+1)/y);O(f,h,r),M(f,h,r)}}function M(e,f,l){for(let h=1,r=e.length;h<r;++h){const k=e[h];for(const v of k){let R=0,j=0;for(const{source:W,value:K}of v.targetLinks){let F=K*(v.layer-W.layer);R+=T(W,v)*F,j+=F}if(!(j>0))continue;let U=(R/j-v.y0)*f;v.y0+=U,v.y1+=U,w(v)}o===void 0&&k.sort(H),P(k,l)}}function O(e,f,l){for(let h=e.length,r=h-2;r>=0;--r){const k=e[r];for(const v of k){let R=0,j=0;for(const{target:W,value:K}of v.sourceLinks){let F=K*(W.layer-v.layer);R+=V(v,W)*F,j+=F}if(!(j>0))continue;let U=(R/j-v.y0)*f;v.y0+=U,v.y1+=U,w(v)}o===void 0&&k.sort(H),P(k,l)}}function P(e,f){const l=e.length>>1,h=e[l];d(e,h.y0-p,l-1,f),C(e,h.y1+p,l+1,f),d(e,a,e.length-1,f),C(e,n,0,f)}function C(e,f,l,h){for(;l<e.length;++l){const r=e[l],k=(f-r.y0)*h;k>1e-6&&(r.y0+=k,r.y1+=k),f=r.y1+p}}function d(e,f,l,h){for(;l>=0;--l){const r=e[l],k=(r.y1-f)*h;k>1e-6&&(r.y0-=k,r.y1-=k),f=r.y0-p}}function w({sourceLinks:e,targetLinks:f}){if(c===void 0){for(const{source:{sourceLinks:l}}of f)l.sort(at);for(const{target:{targetLinks:l}}of e)l.sort(lt)}}function $(e){if(c===void 0)for(const{sourceLinks:f,targetLinks:l}of e)f.sort(at),l.sort(lt)}function T(e,f){let l=e.y0-(e.sourceLinks.length-1)*p/2;for(const{target:h,width:r}of e.sourceLinks){if(h===f)break;l+=r+p}for(const{source:h,width:r}of f.targetLinks){if(h===e)break;l-=r}return l}function V(e,f){let l=f.y0-(f.targetLinks.length-1)*p/2;for(const{source:h,width:r}of f.targetLinks){if(h===e)break;l+=r+p}for(const{target:h,width:r}of e.sourceLinks){if(h===f)break;l-=r}return l}return x}var tt=Math.PI,et=2*tt,D=1e-6,jt=et-D;function nt(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function pt(){return new nt}nt.prototype=pt.prototype={constructor:nt,moveTo:function(t,n){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+n)},closePath:function(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(t,n){this._+="L"+(this._x1=+t)+","+(this._y1=+n)},quadraticCurveTo:function(t,n,s,a){this._+="Q"+ +t+","+ +n+","+(this._x1=+s)+","+(this._y1=+a)},bezierCurveTo:function(t,n,s,a,u,_){this._+="C"+ +t+","+ +n+","+ +s+","+ +a+","+(this._x1=+u)+","+(this._y1=+_)},arcTo:function(t,n,s,a,u){t=+t,n=+n,s=+s,a=+a,u=+u;var _=this._x1,p=this._y1,g=s-t,i=a-n,o=_-t,c=p-n,m=o*o+c*c;if(u<0)throw new Error("negative radius: "+u);if(this._x1===null)this._+="M"+(this._x1=t)+","+(this._y1=n);else if(m>D)if(!(Math.abs(c*g-i*o)>D)||!u)this._+="L"+(this._x1=t)+","+(this._y1=n);else{var b=s-_,y=a-p,x=g*g+i*i,E=b*b+y*y,L=Math.sqrt(x),A=Math.sqrt(m),N=u*Math.tan((tt-Math.acos((x+m-E)/(2*L*A)))/2),I=N/A,z=N/L;Math.abs(I-1)>D&&(this._+="L"+(t+I*o)+","+(n+I*c)),this._+="A"+u+","+u+",0,0,"+ +(c*b>o*y)+","+(this._x1=t+z*g)+","+(this._y1=n+z*i)}},arc:function(t,n,s,a,u,_){t=+t,n=+n,s=+s,_=!!_;var p=s*Math.cos(a),g=s*Math.sin(a),i=t+p,o=n+g,c=1^_,m=_?a-u:u-a;if(s<0)throw new Error("negative radius: "+s);this._x1===null?this._+="M"+i+","+o:(Math.abs(this._x1-i)>D||Math.abs(this._y1-o)>D)&&(this._+="L"+i+","+o),s&&(m<0&&(m=m%et+et),m>jt?this._+="A"+s+","+s+",0,1,"+c+","+(t-p)+","+(n-g)+"A"+s+","+s+",0,1,"+c+","+(this._x1=i)+","+(this._y1=o):m>D&&(this._+="A"+s+","+s+",0,"+ +(m>=tt)+","+c+","+(this._x1=t+s*Math.cos(u))+","+(this._y1=n+s*Math.sin(u))))},rect:function(t,n,s,a){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+n)+"h"+ +s+"v"+ +a+"h"+-s+"Z"},toString:function(){return this._}};function ht(t){return function(){return t}}function Dt(t){return t[0]}function Bt(t){return t[1]}var Vt=Array.prototype.slice;function Rt(t){return t.source}function Ut(t){return t.target}function Wt(t){var n=Rt,s=Ut,a=Dt,u=Bt,_=null;function p(){var g,i=Vt.call(arguments),o=n.apply(this,i),c=s.apply(this,i);if(_||(_=g=pt()),t(_,+a.apply(this,(i[0]=o,i)),+u.apply(this,i),+a.apply(this,(i[0]=c,i)),+u.apply(this,i)),g)return _=null,g+""||null}return p.source=function(g){return arguments.length?(n=g,p):n},p.target=function(g){return arguments.length?(s=g,p):s},p.x=function(g){return arguments.length?(a=typeof g=="function"?g:ht(+g),p):a},p.y=function(g){return arguments.length?(u=typeof g=="function"?g:ht(+g),p):u},p.context=function(g){return arguments.length?(_=g??null,p):_},p}function Ft(t,n,s,a,u){t.moveTo(n,s),t.bezierCurveTo(n=(n+a)/2,s,n,u,a,u)}function Gt(){return Wt(Ft)}function Yt(t){return[t.source.x1,t.y0]}function Ht(t){return[t.target.x0,t.y1]}function Xt(){return Gt().source(Yt).target(Ht)}var it=function(){var t=function(g,i,o,c){for(o=o||{},c=g.length;c--;o[g[c]]=i);return o},n=[1,9],s=[1,10],a=[1,5,10,12],u={trace:function(){},yy:{},symbols_:{error:2,start:3,SANKEY:4,NEWLINE:5,csv:6,opt_eof:7,record:8,csv_tail:9,EOF:10,"field[source]":11,COMMA:12,"field[target]":13,"field[value]":14,field:15,escaped:16,non_escaped:17,DQUOTE:18,ESCAPED_TEXT:19,NON_ESCAPED_TEXT:20,$accept:0,$end:1},terminals_:{2:"error",4:"SANKEY",5:"NEWLINE",10:"EOF",11:"field[source]",12:"COMMA",13:"field[target]",14:"field[value]",18:"DQUOTE",19:"ESCAPED_TEXT",20:"NON_ESCAPED_TEXT"},productions_:[0,[3,4],[6,2],[9,2],[9,0],[7,1],[7,0],[8,5],[15,1],[15,1],[16,3],[17,1]],performAction:function(i,o,c,m,b,y,x){var E=y.length-1;switch(b){case 7:const L=m.findOrCreateNode(y[E-4].trim().replaceAll('""','"')),A=m.findOrCreateNode(y[E-2].trim().replaceAll('""','"')),N=parseFloat(y[E].trim());m.addLink(L,A,N);break;case 8:case 9:case 11:this.$=y[E];break;case 10:this.$=y[E-1];break}},table:[{3:1,4:[1,2]},{1:[3]},{5:[1,3]},{6:4,8:5,15:6,16:7,17:8,18:n,20:s},{1:[2,6],7:11,10:[1,12]},t(s,[2,4],{9:13,5:[1,14]}),{12:[1,15]},t(a,[2,8]),t(a,[2,9]),{19:[1,16]},t(a,[2,11]),{1:[2,1]},{1:[2,5]},t(s,[2,2]),{6:17,8:5,15:6,16:7,17:8,18:n,20:s},{15:18,16:7,17:8,18:n,20:s},{18:[1,19]},t(s,[2,3]),{12:[1,20]},t(a,[2,10]),{15:21,16:7,17:8,18:n,20:s},t([1,5,10],[2,7])],defaultActions:{11:[2,1],12:[2,5]},parseError:function(i,o){if(o.recoverable)this.trace(i);else{var c=new Error(i);throw c.hash=o,c}},parse:function(i){var o=this,c=[0],m=[],b=[null],y=[],x=this.table,E="",L=0,A=0,N=2,I=1,z=y.slice.call(arguments,1),S=Object.create(this.lexer),M={yy:{}};for(var O in this.yy)Object.prototype.hasOwnProperty.call(this.yy,O)&&(M.yy[O]=this.yy[O]);S.setInput(i,M.yy),M.yy.lexer=S,M.yy.parser=this,typeof S.yylloc>"u"&&(S.yylloc={});var P=S.yylloc;y.push(P);var C=S.options&&S.options.ranges;typeof M.yy.parseError=="function"?this.parseError=M.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function d(){var v;return v=m.pop()||S.lex()||I,typeof v!="number"&&(v instanceof Array&&(m=v,v=m.pop()),v=o.symbols_[v]||v),v}for(var w,$,T,V,e={},f,l,h,r;;){if($=c[c.length-1],this.defaultActions[$]?T=this.defaultActions[$]:((w===null||typeof w>"u")&&(w=d()),T=x[$]&&x[$][w]),typeof T>"u"||!T.length||!T[0]){var k="";r=[];for(f in x[$])this.terminals_[f]&&f>N&&r.push("'"+this.terminals_[f]+"'");S.showPosition?k="Parse error on line "+(L+1)+`:
|
|
2
2
|
`+S.showPosition()+`
|
|
3
3
|
Expecting `+r.join(", ")+", got '"+(this.terminals_[w]||w)+"'":k="Parse error on line "+(L+1)+": Unexpected "+(w==I?"end of input":"'"+(this.terminals_[w]||w)+"'"),this.parseError(k,{text:S.match,token:this.terminals_[w]||w,line:S.yylineno,loc:P,expected:r})}if(T[0]instanceof Array&&T.length>1)throw new Error("Parse Error: multiple actions possible at state: "+$+", token: "+w);switch(T[0]){case 1:c.push(w),b.push(S.yytext),y.push(S.yylloc),c.push(T[1]),w=null,A=S.yyleng,E=S.yytext,L=S.yylineno,P=S.yylloc;break;case 2:if(l=this.productions_[T[1]][1],e.$=b[b.length-l],e._$={first_line:y[y.length-(l||1)].first_line,last_line:y[y.length-1].last_line,first_column:y[y.length-(l||1)].first_column,last_column:y[y.length-1].last_column},C&&(e._$.range=[y[y.length-(l||1)].range[0],y[y.length-1].range[1]]),V=this.performAction.apply(e,[E,A,L,M.yy,T[1],b,y].concat(z)),typeof V<"u")return V;l&&(c=c.slice(0,-1*l*2),b=b.slice(0,-1*l),y=y.slice(0,-1*l)),c.push(this.productions_[T[1]][0]),b.push(e.$),y.push(e._$),h=x[c[c.length-2]][c[c.length-1]],c.push(h);break;case 3:return!0}}return!0}},_=function(){var g={EOF:1,parseError:function(o,c){if(this.yy.parser)this.yy.parser.parseError(o,c);else throw new Error(o)},setInput:function(i,o){return this.yy=o||this.yy||{},this._input=i,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var i=this._input[0];this.yytext+=i,this.yyleng++,this.offset++,this.match+=i,this.matched+=i;var o=i.match(/(?:\r\n?|\n).*/g);return o?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),i},unput:function(i){var o=i.length,c=i.split(/(?:\r\n?|\n)/g);this._input=i+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-o),this.offset-=o;var m=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),c.length-1&&(this.yylineno-=c.length-1);var b=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:c?(c.length===m.length?this.yylloc.first_column:0)+m[m.length-c.length].length-c[0].length:this.yylloc.first_column-o},this.options.ranges&&(this.yylloc.range=[b[0],b[0]+this.yyleng-o]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
|
|
4
4
|
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(i){this.unput(this.match.slice(i))},pastInput:function(){var i=this.matched.substr(0,this.matched.length-this.match.length);return(i.length>20?"...":"")+i.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var i=this.match;return i.length<20&&(i+=this._input.substr(0,20-i.length)),(i.substr(0,20)+(i.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var i=this.pastInput(),o=new Array(i.length+1).join("-");return i+this.upcomingInput()+`
|
package/dist/assets/{sequenceDiagram-c5b8d532-BGiFCs5z.js → sequenceDiagram-c5b8d532-D3fAcQeI.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as we,s as ve,c as $t,g as st,x as _e,v as ke,b as Pe,d as Lt,l as X,j as te,e as Le,f as Ie,k as v,i as At,z as Ae,A as B,aZ as nt,a_ as wt,aK as ee,a$ as Ne,u as se,ap as Bt}from"./mermaid.core-NVIiXnRA.js";import{a as Se,b as zt,d as Me,g as Nt,c as Re,e as Ce}from"./svgDrawCommon-b86b1483-BAMR2PsF.js";import"./AuthenticatedApp-CgBrvMuc.js";import"./index-Cp4GfHnF.js";import"./vendor-react-CnooHTJc.js";import"./vendor-state-BYwEPTaO.js";import"./MobileAwareSelect-BmK6WApn.js";import"./use-app-preferences-gyulV-hA.js";import"./route-plugin-chrome-B-Goj3vG.js";import"./shortcutUtils-20iqPDwh.js";import"./project-file-tree-icons-DqqhgvoI.js";import"./WorkspaceApp-BNmtIdn4.js";import"./index-CWmEuVWV.js";import"./client-build-info-bcijLdfD.js";var Yt=function(){var t=function(dt,w,k,L){for(k=k||{},L=dt.length;L--;k[dt[L]]=w);return k},e=[1,2],o=[1,3],s=[1,4],i=[2,4],a=[1,9],c=[1,11],l=[1,13],p=[1,14],r=[1,16],x=[1,17],T=[1,18],u=[1,24],g=[1,25],m=[1,26],_=[1,27],I=[1,28],V=[1,29],S=[1,30],O=[1,31],R=[1,32],q=[1,33],z=[1,34],J=[1,35],$=[1,36],H=[1,37],K=[1,38],F=[1,39],W=[1,41],Z=[1,42],U=[1,43],Q=[1,44],tt=[1,45],N=[1,46],y=[1,4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,47,48,49,50,52,53,54,59,60,61,62,70],P=[4,5,16,50,52,53],j=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,50,52,53,54,59,60,61,62,70],rt=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,49,50,52,53,54,59,60,61,62,70],A=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,48,50,52,53,54,59,60,61,62,70],Gt=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,47,50,52,53,54,59,60,61,62,70],ht=[68,69,70],ot=[1,120],Mt={trace:function(){},yy:{},symbols_:{error:2,start:3,SPACE:4,NEWLINE:5,SD:6,document:7,line:8,statement:9,box_section:10,box_line:11,participant_statement:12,create:13,box:14,restOfLine:15,end:16,signal:17,autonumber:18,NUM:19,off:20,activate:21,actor:22,deactivate:23,note_statement:24,links_statement:25,link_statement:26,properties_statement:27,details_statement:28,title:29,legacy_title:30,acc_title:31,acc_title_value:32,acc_descr:33,acc_descr_value:34,acc_descr_multiline_value:35,loop:36,rect:37,opt:38,alt:39,else_sections:40,par:41,par_sections:42,par_over:43,critical:44,option_sections:45,break:46,option:47,and:48,else:49,participant:50,AS:51,participant_actor:52,destroy:53,note:54,placement:55,text2:56,over:57,actor_pair:58,links:59,link:60,properties:61,details:62,spaceList:63,",":64,left_of:65,right_of:66,signaltype:67,"+":68,"-":69,ACTOR:70,SOLID_OPEN_ARROW:71,DOTTED_OPEN_ARROW:72,SOLID_ARROW:73,DOTTED_ARROW:74,SOLID_CROSS:75,DOTTED_CROSS:76,SOLID_POINT:77,DOTTED_POINT:78,TXT:79,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NEWLINE",6:"SD",13:"create",14:"box",15:"restOfLine",16:"end",18:"autonumber",19:"NUM",20:"off",21:"activate",23:"deactivate",29:"title",30:"legacy_title",31:"acc_title",32:"acc_title_value",33:"acc_descr",34:"acc_descr_value",35:"acc_descr_multiline_value",36:"loop",37:"rect",38:"opt",39:"alt",41:"par",43:"par_over",44:"critical",46:"break",47:"option",48:"and",49:"else",50:"participant",51:"AS",52:"participant_actor",53:"destroy",54:"note",57:"over",59:"links",60:"link",61:"properties",62:"details",64:",",65:"left_of",66:"right_of",68:"+",69:"-",70:"ACTOR",71:"SOLID_OPEN_ARROW",72:"DOTTED_OPEN_ARROW",73:"SOLID_ARROW",74:"DOTTED_ARROW",75:"SOLID_CROSS",76:"DOTTED_CROSS",77:"SOLID_POINT",78:"DOTTED_POINT",79:"TXT"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[10,0],[10,2],[11,2],[11,1],[11,1],[9,1],[9,2],[9,4],[9,2],[9,4],[9,3],[9,3],[9,2],[9,3],[9,3],[9,2],[9,2],[9,2],[9,2],[9,2],[9,1],[9,1],[9,2],[9,2],[9,1],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[45,1],[45,4],[42,1],[42,4],[40,1],[40,4],[12,5],[12,3],[12,5],[12,3],[12,3],[24,4],[24,4],[25,3],[26,3],[27,3],[28,3],[63,2],[63,1],[58,3],[58,1],[55,1],[55,1],[17,5],[17,5],[17,4],[22,1],[67,1],[67,1],[67,1],[67,1],[67,1],[67,1],[67,1],[67,1],[56,1]],performAction:function(w,k,L,b,M,h,Et){var d=h.length-1;switch(M){case 3:return b.apply(h[d]),h[d];case 4:case 9:this.$=[];break;case 5:case 10:h[d-1].push(h[d]),this.$=h[d-1];break;case 6:case 7:case 11:case 12:this.$=h[d];break;case 8:case 13:this.$=[];break;case 15:h[d].type="createParticipant",this.$=h[d];break;case 16:h[d-1].unshift({type:"boxStart",boxData:b.parseBoxData(h[d-2])}),h[d-1].push({type:"boxEnd",boxText:h[d-2]}),this.$=h[d-1];break;case 18:this.$={type:"sequenceIndex",sequenceIndex:Number(h[d-2]),sequenceIndexStep:Number(h[d-1]),sequenceVisible:!0,signalType:b.LINETYPE.AUTONUMBER};break;case 19:this.$={type:"sequenceIndex",sequenceIndex:Number(h[d-1]),sequenceIndexStep:1,sequenceVisible:!0,signalType:b.LINETYPE.AUTONUMBER};break;case 20:this.$={type:"sequenceIndex",sequenceVisible:!1,signalType:b.LINETYPE.AUTONUMBER};break;case 21:this.$={type:"sequenceIndex",sequenceVisible:!0,signalType:b.LINETYPE.AUTONUMBER};break;case 22:this.$={type:"activeStart",signalType:b.LINETYPE.ACTIVE_START,actor:h[d-1]};break;case 23:this.$={type:"activeEnd",signalType:b.LINETYPE.ACTIVE_END,actor:h[d-1]};break;case 29:b.setDiagramTitle(h[d].substring(6)),this.$=h[d].substring(6);break;case 30:b.setDiagramTitle(h[d].substring(7)),this.$=h[d].substring(7);break;case 31:this.$=h[d].trim(),b.setAccTitle(this.$);break;case 32:case 33:this.$=h[d].trim(),b.setAccDescription(this.$);break;case 34:h[d-1].unshift({type:"loopStart",loopText:b.parseMessage(h[d-2]),signalType:b.LINETYPE.LOOP_START}),h[d-1].push({type:"loopEnd",loopText:h[d-2],signalType:b.LINETYPE.LOOP_END}),this.$=h[d-1];break;case 35:h[d-1].unshift({type:"rectStart",color:b.parseMessage(h[d-2]),signalType:b.LINETYPE.RECT_START}),h[d-1].push({type:"rectEnd",color:b.parseMessage(h[d-2]),signalType:b.LINETYPE.RECT_END}),this.$=h[d-1];break;case 36:h[d-1].unshift({type:"optStart",optText:b.parseMessage(h[d-2]),signalType:b.LINETYPE.OPT_START}),h[d-1].push({type:"optEnd",optText:b.parseMessage(h[d-2]),signalType:b.LINETYPE.OPT_END}),this.$=h[d-1];break;case 37:h[d-1].unshift({type:"altStart",altText:b.parseMessage(h[d-2]),signalType:b.LINETYPE.ALT_START}),h[d-1].push({type:"altEnd",signalType:b.LINETYPE.ALT_END}),this.$=h[d-1];break;case 38:h[d-1].unshift({type:"parStart",parText:b.parseMessage(h[d-2]),signalType:b.LINETYPE.PAR_START}),h[d-1].push({type:"parEnd",signalType:b.LINETYPE.PAR_END}),this.$=h[d-1];break;case 39:h[d-1].unshift({type:"parStart",parText:b.parseMessage(h[d-2]),signalType:b.LINETYPE.PAR_OVER_START}),h[d-1].push({type:"parEnd",signalType:b.LINETYPE.PAR_END}),this.$=h[d-1];break;case 40:h[d-1].unshift({type:"criticalStart",criticalText:b.parseMessage(h[d-2]),signalType:b.LINETYPE.CRITICAL_START}),h[d-1].push({type:"criticalEnd",signalType:b.LINETYPE.CRITICAL_END}),this.$=h[d-1];break;case 41:h[d-1].unshift({type:"breakStart",breakText:b.parseMessage(h[d-2]),signalType:b.LINETYPE.BREAK_START}),h[d-1].push({type:"breakEnd",optText:b.parseMessage(h[d-2]),signalType:b.LINETYPE.BREAK_END}),this.$=h[d-1];break;case 43:this.$=h[d-3].concat([{type:"option",optionText:b.parseMessage(h[d-1]),signalType:b.LINETYPE.CRITICAL_OPTION},h[d]]);break;case 45:this.$=h[d-3].concat([{type:"and",parText:b.parseMessage(h[d-1]),signalType:b.LINETYPE.PAR_AND},h[d]]);break;case 47:this.$=h[d-3].concat([{type:"else",altText:b.parseMessage(h[d-1]),signalType:b.LINETYPE.ALT_ELSE},h[d]]);break;case 48:h[d-3].draw="participant",h[d-3].type="addParticipant",h[d-3].description=b.parseMessage(h[d-1]),this.$=h[d-3];break;case 49:h[d-1].draw="participant",h[d-1].type="addParticipant",this.$=h[d-1];break;case 50:h[d-3].draw="actor",h[d-3].type="addParticipant",h[d-3].description=b.parseMessage(h[d-1]),this.$=h[d-3];break;case 51:h[d-1].draw="actor",h[d-1].type="addParticipant",this.$=h[d-1];break;case 52:h[d-1].type="destroyParticipant",this.$=h[d-1];break;case 53:this.$=[h[d-1],{type:"addNote",placement:h[d-2],actor:h[d-1].actor,text:h[d]}];break;case 54:h[d-2]=[].concat(h[d-1],h[d-1]).slice(0,2),h[d-2][0]=h[d-2][0].actor,h[d-2][1]=h[d-2][1].actor,this.$=[h[d-1],{type:"addNote",placement:b.PLACEMENT.OVER,actor:h[d-2].slice(0,2),text:h[d]}];break;case 55:this.$=[h[d-1],{type:"addLinks",actor:h[d-1].actor,text:h[d]}];break;case 56:this.$=[h[d-1],{type:"addALink",actor:h[d-1].actor,text:h[d]}];break;case 57:this.$=[h[d-1],{type:"addProperties",actor:h[d-1].actor,text:h[d]}];break;case 58:this.$=[h[d-1],{type:"addDetails",actor:h[d-1].actor,text:h[d]}];break;case 61:this.$=[h[d-2],h[d]];break;case 62:this.$=h[d];break;case 63:this.$=b.PLACEMENT.LEFTOF;break;case 64:this.$=b.PLACEMENT.RIGHTOF;break;case 65:this.$=[h[d-4],h[d-1],{type:"addMessage",from:h[d-4].actor,to:h[d-1].actor,signalType:h[d-3],msg:h[d],activate:!0},{type:"activeStart",signalType:b.LINETYPE.ACTIVE_START,actor:h[d-1]}];break;case 66:this.$=[h[d-4],h[d-1],{type:"addMessage",from:h[d-4].actor,to:h[d-1].actor,signalType:h[d-3],msg:h[d]},{type:"activeEnd",signalType:b.LINETYPE.ACTIVE_END,actor:h[d-4]}];break;case 67:this.$=[h[d-3],h[d-1],{type:"addMessage",from:h[d-3].actor,to:h[d-1].actor,signalType:h[d-2],msg:h[d]}];break;case 68:this.$={type:"addParticipant",actor:h[d]};break;case 69:this.$=b.LINETYPE.SOLID_OPEN;break;case 70:this.$=b.LINETYPE.DOTTED_OPEN;break;case 71:this.$=b.LINETYPE.SOLID;break;case 72:this.$=b.LINETYPE.DOTTED;break;case 73:this.$=b.LINETYPE.SOLID_CROSS;break;case 74:this.$=b.LINETYPE.DOTTED_CROSS;break;case 75:this.$=b.LINETYPE.SOLID_POINT;break;case 76:this.$=b.LINETYPE.DOTTED_POINT;break;case 77:this.$=b.parseMessage(h[d].trim().substring(1));break}},table:[{3:1,4:e,5:o,6:s},{1:[3]},{3:5,4:e,5:o,6:s},{3:6,4:e,5:o,6:s},t([1,4,5,13,14,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,50,52,53,54,59,60,61,62,70],i,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:a,5:c,8:8,9:10,12:12,13:l,14:p,17:15,18:r,21:x,22:40,23:T,24:19,25:20,26:21,27:22,28:23,29:u,30:g,31:m,33:_,35:I,36:V,37:S,38:O,39:R,41:q,43:z,44:J,46:$,50:H,52:K,53:F,54:W,59:Z,60:U,61:Q,62:tt,70:N},t(y,[2,5]),{9:47,12:12,13:l,14:p,17:15,18:r,21:x,22:40,23:T,24:19,25:20,26:21,27:22,28:23,29:u,30:g,31:m,33:_,35:I,36:V,37:S,38:O,39:R,41:q,43:z,44:J,46:$,50:H,52:K,53:F,54:W,59:Z,60:U,61:Q,62:tt,70:N},t(y,[2,7]),t(y,[2,8]),t(y,[2,14]),{12:48,50:H,52:K,53:F},{15:[1,49]},{5:[1,50]},{5:[1,53],19:[1,51],20:[1,52]},{22:54,70:N},{22:55,70:N},{5:[1,56]},{5:[1,57]},{5:[1,58]},{5:[1,59]},{5:[1,60]},t(y,[2,29]),t(y,[2,30]),{32:[1,61]},{34:[1,62]},t(y,[2,33]),{15:[1,63]},{15:[1,64]},{15:[1,65]},{15:[1,66]},{15:[1,67]},{15:[1,68]},{15:[1,69]},{15:[1,70]},{22:71,70:N},{22:72,70:N},{22:73,70:N},{67:74,71:[1,75],72:[1,76],73:[1,77],74:[1,78],75:[1,79],76:[1,80],77:[1,81],78:[1,82]},{55:83,57:[1,84],65:[1,85],66:[1,86]},{22:87,70:N},{22:88,70:N},{22:89,70:N},{22:90,70:N},t([5,51,64,71,72,73,74,75,76,77,78,79],[2,68]),t(y,[2,6]),t(y,[2,15]),t(P,[2,9],{10:91}),t(y,[2,17]),{5:[1,93],19:[1,92]},{5:[1,94]},t(y,[2,21]),{5:[1,95]},{5:[1,96]},t(y,[2,24]),t(y,[2,25]),t(y,[2,26]),t(y,[2,27]),t(y,[2,28]),t(y,[2,31]),t(y,[2,32]),t(j,i,{7:97}),t(j,i,{7:98}),t(j,i,{7:99}),t(rt,i,{40:100,7:101}),t(A,i,{42:102,7:103}),t(A,i,{7:103,42:104}),t(Gt,i,{45:105,7:106}),t(j,i,{7:107}),{5:[1,109],51:[1,108]},{5:[1,111],51:[1,110]},{5:[1,112]},{22:115,68:[1,113],69:[1,114],70:N},t(ht,[2,69]),t(ht,[2,70]),t(ht,[2,71]),t(ht,[2,72]),t(ht,[2,73]),t(ht,[2,74]),t(ht,[2,75]),t(ht,[2,76]),{22:116,70:N},{22:118,58:117,70:N},{70:[2,63]},{70:[2,64]},{56:119,79:ot},{56:121,79:ot},{56:122,79:ot},{56:123,79:ot},{4:[1,126],5:[1,128],11:125,12:127,16:[1,124],50:H,52:K,53:F},{5:[1,129]},t(y,[2,19]),t(y,[2,20]),t(y,[2,22]),t(y,[2,23]),{4:a,5:c,8:8,9:10,12:12,13:l,14:p,16:[1,130],17:15,18:r,21:x,22:40,23:T,24:19,25:20,26:21,27:22,28:23,29:u,30:g,31:m,33:_,35:I,36:V,37:S,38:O,39:R,41:q,43:z,44:J,46:$,50:H,52:K,53:F,54:W,59:Z,60:U,61:Q,62:tt,70:N},{4:a,5:c,8:8,9:10,12:12,13:l,14:p,16:[1,131],17:15,18:r,21:x,22:40,23:T,24:19,25:20,26:21,27:22,28:23,29:u,30:g,31:m,33:_,35:I,36:V,37:S,38:O,39:R,41:q,43:z,44:J,46:$,50:H,52:K,53:F,54:W,59:Z,60:U,61:Q,62:tt,70:N},{4:a,5:c,8:8,9:10,12:12,13:l,14:p,16:[1,132],17:15,18:r,21:x,22:40,23:T,24:19,25:20,26:21,27:22,28:23,29:u,30:g,31:m,33:_,35:I,36:V,37:S,38:O,39:R,41:q,43:z,44:J,46:$,50:H,52:K,53:F,54:W,59:Z,60:U,61:Q,62:tt,70:N},{16:[1,133]},{4:a,5:c,8:8,9:10,12:12,13:l,14:p,16:[2,46],17:15,18:r,21:x,22:40,23:T,24:19,25:20,26:21,27:22,28:23,29:u,30:g,31:m,33:_,35:I,36:V,37:S,38:O,39:R,41:q,43:z,44:J,46:$,49:[1,134],50:H,52:K,53:F,54:W,59:Z,60:U,61:Q,62:tt,70:N},{16:[1,135]},{4:a,5:c,8:8,9:10,12:12,13:l,14:p,16:[2,44],17:15,18:r,21:x,22:40,23:T,24:19,25:20,26:21,27:22,28:23,29:u,30:g,31:m,33:_,35:I,36:V,37:S,38:O,39:R,41:q,43:z,44:J,46:$,48:[1,136],50:H,52:K,53:F,54:W,59:Z,60:U,61:Q,62:tt,70:N},{16:[1,137]},{16:[1,138]},{4:a,5:c,8:8,9:10,12:12,13:l,14:p,16:[2,42],17:15,18:r,21:x,22:40,23:T,24:19,25:20,26:21,27:22,28:23,29:u,30:g,31:m,33:_,35:I,36:V,37:S,38:O,39:R,41:q,43:z,44:J,46:$,47:[1,139],50:H,52:K,53:F,54:W,59:Z,60:U,61:Q,62:tt,70:N},{4:a,5:c,8:8,9:10,12:12,13:l,14:p,16:[1,140],17:15,18:r,21:x,22:40,23:T,24:19,25:20,26:21,27:22,28:23,29:u,30:g,31:m,33:_,35:I,36:V,37:S,38:O,39:R,41:q,43:z,44:J,46:$,50:H,52:K,53:F,54:W,59:Z,60:U,61:Q,62:tt,70:N},{15:[1,141]},t(y,[2,49]),{15:[1,142]},t(y,[2,51]),t(y,[2,52]),{22:143,70:N},{22:144,70:N},{56:145,79:ot},{56:146,79:ot},{56:147,79:ot},{64:[1,148],79:[2,62]},{5:[2,55]},{5:[2,77]},{5:[2,56]},{5:[2,57]},{5:[2,58]},t(y,[2,16]),t(P,[2,10]),{12:149,50:H,52:K,53:F},t(P,[2,12]),t(P,[2,13]),t(y,[2,18]),t(y,[2,34]),t(y,[2,35]),t(y,[2,36]),t(y,[2,37]),{15:[1,150]},t(y,[2,38]),{15:[1,151]},t(y,[2,39]),t(y,[2,40]),{15:[1,152]},t(y,[2,41]),{5:[1,153]},{5:[1,154]},{56:155,79:ot},{56:156,79:ot},{5:[2,67]},{5:[2,53]},{5:[2,54]},{22:157,70:N},t(P,[2,11]),t(rt,i,{7:101,40:158}),t(A,i,{7:103,42:159}),t(Gt,i,{7:106,45:160}),t(y,[2,48]),t(y,[2,50]),{5:[2,65]},{5:[2,66]},{79:[2,61]},{16:[2,47]},{16:[2,45]},{16:[2,43]}],defaultActions:{5:[2,1],6:[2,2],85:[2,63],86:[2,64],119:[2,55],120:[2,77],121:[2,56],122:[2,57],123:[2,58],145:[2,67],146:[2,53],147:[2,54],155:[2,65],156:[2,66],157:[2,61],158:[2,47],159:[2,45],160:[2,43]},parseError:function(w,k){if(k.recoverable)this.trace(w);else{var L=new Error(w);throw L.hash=k,L}},parse:function(w){var k=this,L=[0],b=[],M=[null],h=[],Et=this.table,d="",_t=0,Xt=0,Te=2,Jt=1,be=h.slice.call(arguments,1),Y=Object.create(this.lexer),pt={yy:{}};for(var Ct in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Ct)&&(pt.yy[Ct]=this.yy[Ct]);Y.setInput(w,pt.yy),pt.yy.lexer=Y,pt.yy.parser=this,typeof Y.yylloc>"u"&&(Y.yylloc={});var Dt=Y.yylloc;h.push(Dt);var Ee=Y.options&&Y.options.ranges;typeof pt.yy.parseError=="function"?this.parseError=pt.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function me(){var lt;return lt=b.pop()||Y.lex()||Jt,typeof lt!="number"&&(lt instanceof Array&&(b=lt,lt=b.pop()),lt=k.symbols_[lt]||lt),lt}for(var G,ut,et,Vt,yt={},kt,ct,Zt,Pt;;){if(ut=L[L.length-1],this.defaultActions[ut]?et=this.defaultActions[ut]:((G===null||typeof G>"u")&&(G=me()),et=Et[ut]&&Et[ut][G]),typeof et>"u"||!et.length||!et[0]){var Ot="";Pt=[];for(kt in Et[ut])this.terminals_[kt]&&kt>Te&&Pt.push("'"+this.terminals_[kt]+"'");Y.showPosition?Ot="Parse error on line "+(_t+1)+`:
|
|
1
|
+
import{a as we,s as ve,c as $t,g as st,x as _e,v as ke,b as Pe,d as Lt,l as X,j as te,e as Le,f as Ie,k as v,i as At,z as Ae,A as B,aZ as nt,a_ as wt,aK as ee,a$ as Ne,u as se,ap as Bt}from"./mermaid.core-VYJIZL_J.js";import{a as Se,b as zt,d as Me,g as Nt,c as Re,e as Ce}from"./svgDrawCommon-b86b1483-C9KXk4gS.js";import"./AuthenticatedApp-CK9TT7Nk.js";import"./index-DdUqPqXW.js";import"./vendor-react-CnooHTJc.js";import"./vendor-state-zjcHRN98.js";import"./MobileAwareSelect-CCAQrsxL.js";import"./use-app-preferences-DGCafwsP.js";import"./route-plugin-chrome-bV1HEaju.js";import"./shortcutUtils-B8h6g_7o.js";import"./project-file-tree-icons-CfonMx-1.js";import"./WorkspaceApp-l-h_IsMp.js";import"./index-ZOsqqPVv.js";import"./client-build-info-6B4KoYHs.js";var Yt=function(){var t=function(dt,w,k,L){for(k=k||{},L=dt.length;L--;k[dt[L]]=w);return k},e=[1,2],o=[1,3],s=[1,4],i=[2,4],a=[1,9],c=[1,11],l=[1,13],p=[1,14],r=[1,16],x=[1,17],T=[1,18],u=[1,24],g=[1,25],m=[1,26],_=[1,27],I=[1,28],V=[1,29],S=[1,30],O=[1,31],R=[1,32],q=[1,33],z=[1,34],J=[1,35],$=[1,36],H=[1,37],K=[1,38],F=[1,39],W=[1,41],Z=[1,42],U=[1,43],Q=[1,44],tt=[1,45],N=[1,46],y=[1,4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,47,48,49,50,52,53,54,59,60,61,62,70],P=[4,5,16,50,52,53],j=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,50,52,53,54,59,60,61,62,70],rt=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,49,50,52,53,54,59,60,61,62,70],A=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,48,50,52,53,54,59,60,61,62,70],Gt=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,47,50,52,53,54,59,60,61,62,70],ht=[68,69,70],ot=[1,120],Mt={trace:function(){},yy:{},symbols_:{error:2,start:3,SPACE:4,NEWLINE:5,SD:6,document:7,line:8,statement:9,box_section:10,box_line:11,participant_statement:12,create:13,box:14,restOfLine:15,end:16,signal:17,autonumber:18,NUM:19,off:20,activate:21,actor:22,deactivate:23,note_statement:24,links_statement:25,link_statement:26,properties_statement:27,details_statement:28,title:29,legacy_title:30,acc_title:31,acc_title_value:32,acc_descr:33,acc_descr_value:34,acc_descr_multiline_value:35,loop:36,rect:37,opt:38,alt:39,else_sections:40,par:41,par_sections:42,par_over:43,critical:44,option_sections:45,break:46,option:47,and:48,else:49,participant:50,AS:51,participant_actor:52,destroy:53,note:54,placement:55,text2:56,over:57,actor_pair:58,links:59,link:60,properties:61,details:62,spaceList:63,",":64,left_of:65,right_of:66,signaltype:67,"+":68,"-":69,ACTOR:70,SOLID_OPEN_ARROW:71,DOTTED_OPEN_ARROW:72,SOLID_ARROW:73,DOTTED_ARROW:74,SOLID_CROSS:75,DOTTED_CROSS:76,SOLID_POINT:77,DOTTED_POINT:78,TXT:79,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NEWLINE",6:"SD",13:"create",14:"box",15:"restOfLine",16:"end",18:"autonumber",19:"NUM",20:"off",21:"activate",23:"deactivate",29:"title",30:"legacy_title",31:"acc_title",32:"acc_title_value",33:"acc_descr",34:"acc_descr_value",35:"acc_descr_multiline_value",36:"loop",37:"rect",38:"opt",39:"alt",41:"par",43:"par_over",44:"critical",46:"break",47:"option",48:"and",49:"else",50:"participant",51:"AS",52:"participant_actor",53:"destroy",54:"note",57:"over",59:"links",60:"link",61:"properties",62:"details",64:",",65:"left_of",66:"right_of",68:"+",69:"-",70:"ACTOR",71:"SOLID_OPEN_ARROW",72:"DOTTED_OPEN_ARROW",73:"SOLID_ARROW",74:"DOTTED_ARROW",75:"SOLID_CROSS",76:"DOTTED_CROSS",77:"SOLID_POINT",78:"DOTTED_POINT",79:"TXT"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[10,0],[10,2],[11,2],[11,1],[11,1],[9,1],[9,2],[9,4],[9,2],[9,4],[9,3],[9,3],[9,2],[9,3],[9,3],[9,2],[9,2],[9,2],[9,2],[9,2],[9,1],[9,1],[9,2],[9,2],[9,1],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[45,1],[45,4],[42,1],[42,4],[40,1],[40,4],[12,5],[12,3],[12,5],[12,3],[12,3],[24,4],[24,4],[25,3],[26,3],[27,3],[28,3],[63,2],[63,1],[58,3],[58,1],[55,1],[55,1],[17,5],[17,5],[17,4],[22,1],[67,1],[67,1],[67,1],[67,1],[67,1],[67,1],[67,1],[67,1],[56,1]],performAction:function(w,k,L,b,M,h,Et){var d=h.length-1;switch(M){case 3:return b.apply(h[d]),h[d];case 4:case 9:this.$=[];break;case 5:case 10:h[d-1].push(h[d]),this.$=h[d-1];break;case 6:case 7:case 11:case 12:this.$=h[d];break;case 8:case 13:this.$=[];break;case 15:h[d].type="createParticipant",this.$=h[d];break;case 16:h[d-1].unshift({type:"boxStart",boxData:b.parseBoxData(h[d-2])}),h[d-1].push({type:"boxEnd",boxText:h[d-2]}),this.$=h[d-1];break;case 18:this.$={type:"sequenceIndex",sequenceIndex:Number(h[d-2]),sequenceIndexStep:Number(h[d-1]),sequenceVisible:!0,signalType:b.LINETYPE.AUTONUMBER};break;case 19:this.$={type:"sequenceIndex",sequenceIndex:Number(h[d-1]),sequenceIndexStep:1,sequenceVisible:!0,signalType:b.LINETYPE.AUTONUMBER};break;case 20:this.$={type:"sequenceIndex",sequenceVisible:!1,signalType:b.LINETYPE.AUTONUMBER};break;case 21:this.$={type:"sequenceIndex",sequenceVisible:!0,signalType:b.LINETYPE.AUTONUMBER};break;case 22:this.$={type:"activeStart",signalType:b.LINETYPE.ACTIVE_START,actor:h[d-1]};break;case 23:this.$={type:"activeEnd",signalType:b.LINETYPE.ACTIVE_END,actor:h[d-1]};break;case 29:b.setDiagramTitle(h[d].substring(6)),this.$=h[d].substring(6);break;case 30:b.setDiagramTitle(h[d].substring(7)),this.$=h[d].substring(7);break;case 31:this.$=h[d].trim(),b.setAccTitle(this.$);break;case 32:case 33:this.$=h[d].trim(),b.setAccDescription(this.$);break;case 34:h[d-1].unshift({type:"loopStart",loopText:b.parseMessage(h[d-2]),signalType:b.LINETYPE.LOOP_START}),h[d-1].push({type:"loopEnd",loopText:h[d-2],signalType:b.LINETYPE.LOOP_END}),this.$=h[d-1];break;case 35:h[d-1].unshift({type:"rectStart",color:b.parseMessage(h[d-2]),signalType:b.LINETYPE.RECT_START}),h[d-1].push({type:"rectEnd",color:b.parseMessage(h[d-2]),signalType:b.LINETYPE.RECT_END}),this.$=h[d-1];break;case 36:h[d-1].unshift({type:"optStart",optText:b.parseMessage(h[d-2]),signalType:b.LINETYPE.OPT_START}),h[d-1].push({type:"optEnd",optText:b.parseMessage(h[d-2]),signalType:b.LINETYPE.OPT_END}),this.$=h[d-1];break;case 37:h[d-1].unshift({type:"altStart",altText:b.parseMessage(h[d-2]),signalType:b.LINETYPE.ALT_START}),h[d-1].push({type:"altEnd",signalType:b.LINETYPE.ALT_END}),this.$=h[d-1];break;case 38:h[d-1].unshift({type:"parStart",parText:b.parseMessage(h[d-2]),signalType:b.LINETYPE.PAR_START}),h[d-1].push({type:"parEnd",signalType:b.LINETYPE.PAR_END}),this.$=h[d-1];break;case 39:h[d-1].unshift({type:"parStart",parText:b.parseMessage(h[d-2]),signalType:b.LINETYPE.PAR_OVER_START}),h[d-1].push({type:"parEnd",signalType:b.LINETYPE.PAR_END}),this.$=h[d-1];break;case 40:h[d-1].unshift({type:"criticalStart",criticalText:b.parseMessage(h[d-2]),signalType:b.LINETYPE.CRITICAL_START}),h[d-1].push({type:"criticalEnd",signalType:b.LINETYPE.CRITICAL_END}),this.$=h[d-1];break;case 41:h[d-1].unshift({type:"breakStart",breakText:b.parseMessage(h[d-2]),signalType:b.LINETYPE.BREAK_START}),h[d-1].push({type:"breakEnd",optText:b.parseMessage(h[d-2]),signalType:b.LINETYPE.BREAK_END}),this.$=h[d-1];break;case 43:this.$=h[d-3].concat([{type:"option",optionText:b.parseMessage(h[d-1]),signalType:b.LINETYPE.CRITICAL_OPTION},h[d]]);break;case 45:this.$=h[d-3].concat([{type:"and",parText:b.parseMessage(h[d-1]),signalType:b.LINETYPE.PAR_AND},h[d]]);break;case 47:this.$=h[d-3].concat([{type:"else",altText:b.parseMessage(h[d-1]),signalType:b.LINETYPE.ALT_ELSE},h[d]]);break;case 48:h[d-3].draw="participant",h[d-3].type="addParticipant",h[d-3].description=b.parseMessage(h[d-1]),this.$=h[d-3];break;case 49:h[d-1].draw="participant",h[d-1].type="addParticipant",this.$=h[d-1];break;case 50:h[d-3].draw="actor",h[d-3].type="addParticipant",h[d-3].description=b.parseMessage(h[d-1]),this.$=h[d-3];break;case 51:h[d-1].draw="actor",h[d-1].type="addParticipant",this.$=h[d-1];break;case 52:h[d-1].type="destroyParticipant",this.$=h[d-1];break;case 53:this.$=[h[d-1],{type:"addNote",placement:h[d-2],actor:h[d-1].actor,text:h[d]}];break;case 54:h[d-2]=[].concat(h[d-1],h[d-1]).slice(0,2),h[d-2][0]=h[d-2][0].actor,h[d-2][1]=h[d-2][1].actor,this.$=[h[d-1],{type:"addNote",placement:b.PLACEMENT.OVER,actor:h[d-2].slice(0,2),text:h[d]}];break;case 55:this.$=[h[d-1],{type:"addLinks",actor:h[d-1].actor,text:h[d]}];break;case 56:this.$=[h[d-1],{type:"addALink",actor:h[d-1].actor,text:h[d]}];break;case 57:this.$=[h[d-1],{type:"addProperties",actor:h[d-1].actor,text:h[d]}];break;case 58:this.$=[h[d-1],{type:"addDetails",actor:h[d-1].actor,text:h[d]}];break;case 61:this.$=[h[d-2],h[d]];break;case 62:this.$=h[d];break;case 63:this.$=b.PLACEMENT.LEFTOF;break;case 64:this.$=b.PLACEMENT.RIGHTOF;break;case 65:this.$=[h[d-4],h[d-1],{type:"addMessage",from:h[d-4].actor,to:h[d-1].actor,signalType:h[d-3],msg:h[d],activate:!0},{type:"activeStart",signalType:b.LINETYPE.ACTIVE_START,actor:h[d-1]}];break;case 66:this.$=[h[d-4],h[d-1],{type:"addMessage",from:h[d-4].actor,to:h[d-1].actor,signalType:h[d-3],msg:h[d]},{type:"activeEnd",signalType:b.LINETYPE.ACTIVE_END,actor:h[d-4]}];break;case 67:this.$=[h[d-3],h[d-1],{type:"addMessage",from:h[d-3].actor,to:h[d-1].actor,signalType:h[d-2],msg:h[d]}];break;case 68:this.$={type:"addParticipant",actor:h[d]};break;case 69:this.$=b.LINETYPE.SOLID_OPEN;break;case 70:this.$=b.LINETYPE.DOTTED_OPEN;break;case 71:this.$=b.LINETYPE.SOLID;break;case 72:this.$=b.LINETYPE.DOTTED;break;case 73:this.$=b.LINETYPE.SOLID_CROSS;break;case 74:this.$=b.LINETYPE.DOTTED_CROSS;break;case 75:this.$=b.LINETYPE.SOLID_POINT;break;case 76:this.$=b.LINETYPE.DOTTED_POINT;break;case 77:this.$=b.parseMessage(h[d].trim().substring(1));break}},table:[{3:1,4:e,5:o,6:s},{1:[3]},{3:5,4:e,5:o,6:s},{3:6,4:e,5:o,6:s},t([1,4,5,13,14,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,50,52,53,54,59,60,61,62,70],i,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:a,5:c,8:8,9:10,12:12,13:l,14:p,17:15,18:r,21:x,22:40,23:T,24:19,25:20,26:21,27:22,28:23,29:u,30:g,31:m,33:_,35:I,36:V,37:S,38:O,39:R,41:q,43:z,44:J,46:$,50:H,52:K,53:F,54:W,59:Z,60:U,61:Q,62:tt,70:N},t(y,[2,5]),{9:47,12:12,13:l,14:p,17:15,18:r,21:x,22:40,23:T,24:19,25:20,26:21,27:22,28:23,29:u,30:g,31:m,33:_,35:I,36:V,37:S,38:O,39:R,41:q,43:z,44:J,46:$,50:H,52:K,53:F,54:W,59:Z,60:U,61:Q,62:tt,70:N},t(y,[2,7]),t(y,[2,8]),t(y,[2,14]),{12:48,50:H,52:K,53:F},{15:[1,49]},{5:[1,50]},{5:[1,53],19:[1,51],20:[1,52]},{22:54,70:N},{22:55,70:N},{5:[1,56]},{5:[1,57]},{5:[1,58]},{5:[1,59]},{5:[1,60]},t(y,[2,29]),t(y,[2,30]),{32:[1,61]},{34:[1,62]},t(y,[2,33]),{15:[1,63]},{15:[1,64]},{15:[1,65]},{15:[1,66]},{15:[1,67]},{15:[1,68]},{15:[1,69]},{15:[1,70]},{22:71,70:N},{22:72,70:N},{22:73,70:N},{67:74,71:[1,75],72:[1,76],73:[1,77],74:[1,78],75:[1,79],76:[1,80],77:[1,81],78:[1,82]},{55:83,57:[1,84],65:[1,85],66:[1,86]},{22:87,70:N},{22:88,70:N},{22:89,70:N},{22:90,70:N},t([5,51,64,71,72,73,74,75,76,77,78,79],[2,68]),t(y,[2,6]),t(y,[2,15]),t(P,[2,9],{10:91}),t(y,[2,17]),{5:[1,93],19:[1,92]},{5:[1,94]},t(y,[2,21]),{5:[1,95]},{5:[1,96]},t(y,[2,24]),t(y,[2,25]),t(y,[2,26]),t(y,[2,27]),t(y,[2,28]),t(y,[2,31]),t(y,[2,32]),t(j,i,{7:97}),t(j,i,{7:98}),t(j,i,{7:99}),t(rt,i,{40:100,7:101}),t(A,i,{42:102,7:103}),t(A,i,{7:103,42:104}),t(Gt,i,{45:105,7:106}),t(j,i,{7:107}),{5:[1,109],51:[1,108]},{5:[1,111],51:[1,110]},{5:[1,112]},{22:115,68:[1,113],69:[1,114],70:N},t(ht,[2,69]),t(ht,[2,70]),t(ht,[2,71]),t(ht,[2,72]),t(ht,[2,73]),t(ht,[2,74]),t(ht,[2,75]),t(ht,[2,76]),{22:116,70:N},{22:118,58:117,70:N},{70:[2,63]},{70:[2,64]},{56:119,79:ot},{56:121,79:ot},{56:122,79:ot},{56:123,79:ot},{4:[1,126],5:[1,128],11:125,12:127,16:[1,124],50:H,52:K,53:F},{5:[1,129]},t(y,[2,19]),t(y,[2,20]),t(y,[2,22]),t(y,[2,23]),{4:a,5:c,8:8,9:10,12:12,13:l,14:p,16:[1,130],17:15,18:r,21:x,22:40,23:T,24:19,25:20,26:21,27:22,28:23,29:u,30:g,31:m,33:_,35:I,36:V,37:S,38:O,39:R,41:q,43:z,44:J,46:$,50:H,52:K,53:F,54:W,59:Z,60:U,61:Q,62:tt,70:N},{4:a,5:c,8:8,9:10,12:12,13:l,14:p,16:[1,131],17:15,18:r,21:x,22:40,23:T,24:19,25:20,26:21,27:22,28:23,29:u,30:g,31:m,33:_,35:I,36:V,37:S,38:O,39:R,41:q,43:z,44:J,46:$,50:H,52:K,53:F,54:W,59:Z,60:U,61:Q,62:tt,70:N},{4:a,5:c,8:8,9:10,12:12,13:l,14:p,16:[1,132],17:15,18:r,21:x,22:40,23:T,24:19,25:20,26:21,27:22,28:23,29:u,30:g,31:m,33:_,35:I,36:V,37:S,38:O,39:R,41:q,43:z,44:J,46:$,50:H,52:K,53:F,54:W,59:Z,60:U,61:Q,62:tt,70:N},{16:[1,133]},{4:a,5:c,8:8,9:10,12:12,13:l,14:p,16:[2,46],17:15,18:r,21:x,22:40,23:T,24:19,25:20,26:21,27:22,28:23,29:u,30:g,31:m,33:_,35:I,36:V,37:S,38:O,39:R,41:q,43:z,44:J,46:$,49:[1,134],50:H,52:K,53:F,54:W,59:Z,60:U,61:Q,62:tt,70:N},{16:[1,135]},{4:a,5:c,8:8,9:10,12:12,13:l,14:p,16:[2,44],17:15,18:r,21:x,22:40,23:T,24:19,25:20,26:21,27:22,28:23,29:u,30:g,31:m,33:_,35:I,36:V,37:S,38:O,39:R,41:q,43:z,44:J,46:$,48:[1,136],50:H,52:K,53:F,54:W,59:Z,60:U,61:Q,62:tt,70:N},{16:[1,137]},{16:[1,138]},{4:a,5:c,8:8,9:10,12:12,13:l,14:p,16:[2,42],17:15,18:r,21:x,22:40,23:T,24:19,25:20,26:21,27:22,28:23,29:u,30:g,31:m,33:_,35:I,36:V,37:S,38:O,39:R,41:q,43:z,44:J,46:$,47:[1,139],50:H,52:K,53:F,54:W,59:Z,60:U,61:Q,62:tt,70:N},{4:a,5:c,8:8,9:10,12:12,13:l,14:p,16:[1,140],17:15,18:r,21:x,22:40,23:T,24:19,25:20,26:21,27:22,28:23,29:u,30:g,31:m,33:_,35:I,36:V,37:S,38:O,39:R,41:q,43:z,44:J,46:$,50:H,52:K,53:F,54:W,59:Z,60:U,61:Q,62:tt,70:N},{15:[1,141]},t(y,[2,49]),{15:[1,142]},t(y,[2,51]),t(y,[2,52]),{22:143,70:N},{22:144,70:N},{56:145,79:ot},{56:146,79:ot},{56:147,79:ot},{64:[1,148],79:[2,62]},{5:[2,55]},{5:[2,77]},{5:[2,56]},{5:[2,57]},{5:[2,58]},t(y,[2,16]),t(P,[2,10]),{12:149,50:H,52:K,53:F},t(P,[2,12]),t(P,[2,13]),t(y,[2,18]),t(y,[2,34]),t(y,[2,35]),t(y,[2,36]),t(y,[2,37]),{15:[1,150]},t(y,[2,38]),{15:[1,151]},t(y,[2,39]),t(y,[2,40]),{15:[1,152]},t(y,[2,41]),{5:[1,153]},{5:[1,154]},{56:155,79:ot},{56:156,79:ot},{5:[2,67]},{5:[2,53]},{5:[2,54]},{22:157,70:N},t(P,[2,11]),t(rt,i,{7:101,40:158}),t(A,i,{7:103,42:159}),t(Gt,i,{7:106,45:160}),t(y,[2,48]),t(y,[2,50]),{5:[2,65]},{5:[2,66]},{79:[2,61]},{16:[2,47]},{16:[2,45]},{16:[2,43]}],defaultActions:{5:[2,1],6:[2,2],85:[2,63],86:[2,64],119:[2,55],120:[2,77],121:[2,56],122:[2,57],123:[2,58],145:[2,67],146:[2,53],147:[2,54],155:[2,65],156:[2,66],157:[2,61],158:[2,47],159:[2,45],160:[2,43]},parseError:function(w,k){if(k.recoverable)this.trace(w);else{var L=new Error(w);throw L.hash=k,L}},parse:function(w){var k=this,L=[0],b=[],M=[null],h=[],Et=this.table,d="",_t=0,Xt=0,Te=2,Jt=1,be=h.slice.call(arguments,1),Y=Object.create(this.lexer),pt={yy:{}};for(var Ct in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Ct)&&(pt.yy[Ct]=this.yy[Ct]);Y.setInput(w,pt.yy),pt.yy.lexer=Y,pt.yy.parser=this,typeof Y.yylloc>"u"&&(Y.yylloc={});var Dt=Y.yylloc;h.push(Dt);var Ee=Y.options&&Y.options.ranges;typeof pt.yy.parseError=="function"?this.parseError=pt.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function me(){var lt;return lt=b.pop()||Y.lex()||Jt,typeof lt!="number"&&(lt instanceof Array&&(b=lt,lt=b.pop()),lt=k.symbols_[lt]||lt),lt}for(var G,ut,et,Vt,yt={},kt,ct,Zt,Pt;;){if(ut=L[L.length-1],this.defaultActions[ut]?et=this.defaultActions[ut]:((G===null||typeof G>"u")&&(G=me()),et=Et[ut]&&Et[ut][G]),typeof et>"u"||!et.length||!et[0]){var Ot="";Pt=[];for(kt in Et[ut])this.terminals_[kt]&&kt>Te&&Pt.push("'"+this.terminals_[kt]+"'");Y.showPosition?Ot="Parse error on line "+(_t+1)+`:
|
|
2
2
|
`+Y.showPosition()+`
|
|
3
3
|
Expecting `+Pt.join(", ")+", got '"+(this.terminals_[G]||G)+"'":Ot="Parse error on line "+(_t+1)+": Unexpected "+(G==Jt?"end of input":"'"+(this.terminals_[G]||G)+"'"),this.parseError(Ot,{text:Y.match,token:this.terminals_[G]||G,line:Y.yylineno,loc:Dt,expected:Pt})}if(et[0]instanceof Array&&et.length>1)throw new Error("Parse Error: multiple actions possible at state: "+ut+", token: "+G);switch(et[0]){case 1:L.push(G),M.push(Y.yytext),h.push(Y.yylloc),L.push(et[1]),G=null,Xt=Y.yyleng,d=Y.yytext,_t=Y.yylineno,Dt=Y.yylloc;break;case 2:if(ct=this.productions_[et[1]][1],yt.$=M[M.length-ct],yt._$={first_line:h[h.length-(ct||1)].first_line,last_line:h[h.length-1].last_line,first_column:h[h.length-(ct||1)].first_column,last_column:h[h.length-1].last_column},Ee&&(yt._$.range=[h[h.length-(ct||1)].range[0],h[h.length-1].range[1]]),Vt=this.performAction.apply(yt,[d,Xt,_t,pt.yy,et[1],M,h].concat(be)),typeof Vt<"u")return Vt;ct&&(L=L.slice(0,-1*ct*2),M=M.slice(0,-1*ct),h=h.slice(0,-1*ct)),L.push(this.productions_[et[1]][0]),M.push(yt.$),h.push(yt._$),Zt=Et[L[L.length-2]][L[L.length-1]],L.push(Zt);break;case 3:return!0}}return!0}},ye=function(){var dt={EOF:1,parseError:function(k,L){if(this.yy.parser)this.yy.parser.parseError(k,L);else throw new Error(k)},setInput:function(w,k){return this.yy=k||this.yy||{},this._input=w,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var w=this._input[0];this.yytext+=w,this.yyleng++,this.offset++,this.match+=w,this.matched+=w;var k=w.match(/(?:\r\n?|\n).*/g);return k?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),w},unput:function(w){var k=w.length,L=w.split(/(?:\r\n?|\n)/g);this._input=w+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-k),this.offset-=k;var b=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),L.length-1&&(this.yylineno-=L.length-1);var M=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:L?(L.length===b.length?this.yylloc.first_column:0)+b[b.length-L.length].length-L[0].length:this.yylloc.first_column-k},this.options.ranges&&(this.yylloc.range=[M[0],M[0]+this.yyleng-k]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
|
|
4
4
|
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(w){this.unput(this.match.slice(w))},pastInput:function(){var w=this.matched.substr(0,this.matched.length-this.match.length);return(w.length>20?"...":"")+w.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var w=this.match;return w.length<20&&(w+=this._input.substr(0,20-w.length)),(w.substr(0,20)+(w.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var w=this.pastInput(),k=new Array(w.length+1).join("-");return w+this.upcomingInput()+`
|