zen-gitsync 2.16.24 → 2.16.26

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (88) hide show
  1. package/package.json +1 -1
  2. package/src/ui/public/assets/AgentView-BsN9y4Kg.css +1 -0
  3. package/src/ui/public/assets/AgentView-rKyrFtPl.js +4 -0
  4. package/src/ui/public/assets/AppVersionBadge-COggLvMo.js +2 -0
  5. package/src/ui/public/assets/AppVersionBadge-Dj6H729N.css +1 -0
  6. package/src/ui/public/assets/BranchSelector-CgBS2002.js +1 -0
  7. package/src/ui/public/assets/BranchSelector-T_rJm-JY.css +1 -0
  8. package/src/ui/public/assets/CommitForm-CUvl0VcF.css +1 -0
  9. package/src/ui/public/assets/CommitForm-D8XSVCZR.js +6 -0
  10. package/src/ui/public/assets/EditorView-CQ5MvzLM.js +1 -0
  11. package/src/ui/public/assets/EditorView-CbZyLQAy.css +1 -0
  12. package/src/ui/public/assets/FlowExecutionViewer-B5kh7VxS.css +1 -0
  13. package/src/ui/public/assets/FlowExecutionViewer-Cqgrdq4H.js +1 -0
  14. package/src/ui/public/assets/FlowOrchestrationWorkspace-BAQDU9Jd.css +1 -0
  15. package/src/ui/public/assets/FlowOrchestrationWorkspace-BNFBEwj4.js +21 -0
  16. package/src/ui/public/assets/LogList-B3oBl_xX.css +1 -0
  17. package/src/ui/public/assets/LogList-DBly_54s.js +7 -0
  18. package/src/ui/public/assets/MindmapView-BxCxwDs_.js +1 -0
  19. package/src/ui/public/assets/MindmapView-CS2t30Ko.css +1 -0
  20. package/src/ui/public/assets/MonitorView-DxFogQIt.css +1 -0
  21. package/src/ui/public/assets/MonitorView-Zc5J-6fj.js +1 -0
  22. package/src/ui/public/assets/ProjectStartupButton-B7zvqRj_.css +1 -0
  23. package/src/ui/public/assets/ProjectStartupButton-CWPA4TyE.js +1 -0
  24. package/src/ui/public/assets/RemoteRepoCard-BbZw5FIV.js +1 -0
  25. package/src/ui/public/assets/RemoteRepoCard-d0klonVb.css +1 -0
  26. package/src/ui/public/assets/SourceMapView-Cfe3hi9S.js +3 -0
  27. package/src/ui/public/assets/SourceMapView-DG_a_076.css +1 -0
  28. package/src/ui/public/assets/UserInputNode-CgZfpAgQ.js +1 -0
  29. package/src/ui/public/assets/UserInputNode-DDtvv9Iq.css +1 -0
  30. package/src/ui/public/assets/{WorkbenchView-DFO8IfcU.css → WorkbenchView-BZ7QTycX.css} +1 -1
  31. package/src/ui/public/assets/WorkbenchView-lmAvPbSZ.js +12 -0
  32. package/src/ui/public/assets/element-plus-CXfbWXaJ.css +1 -0
  33. package/src/ui/public/assets/element-plus-DTmPntAz.js +24 -0
  34. package/src/ui/public/assets/{flow-mindmap-ByUzqcTH.js → flow-mindmap-D6TxXrz4.js} +1 -1
  35. package/src/ui/public/assets/index-DExeN5vt.css +1 -0
  36. package/src/ui/public/assets/index-XS-d5H_f.js +53 -0
  37. package/src/ui/public/assets/{monaco-Dje8Rg13.js → monaco-DPQ3OaiL.js} +2 -2
  38. package/src/ui/public/assets/socket-io-ObqgZMoP.js +1 -0
  39. package/src/ui/public/assets/{ts.worker-Dth06zuC.js → ts.worker-METxwbDZ.js} +1 -16
  40. package/src/ui/public/assets/{vendor-DKiix7Qv.js → vendor-Er3zI41Q.js} +39 -46
  41. package/src/ui/public/assets/vue-flow-CfCc9FXa.js +39 -0
  42. package/src/ui/public/index.html +9 -15
  43. package/src/ui/server/routes/gitOps.js +10 -0
  44. package/src/ui/server/routes/workbench/agentSessionStore.js +173 -173
  45. package/src/utils/index.js +6 -3
  46. package/src/utils/utils.test.js +89 -2
  47. package/src/ui/public/assets/AgentView-8-xsOmE6.css +0 -1
  48. package/src/ui/public/assets/AgentView-B1P7BpdL.js +0 -4
  49. package/src/ui/public/assets/AppVersionBadge-CS7Trvp-.css +0 -1
  50. package/src/ui/public/assets/AppVersionBadge-CxbNViwm.js +0 -2
  51. package/src/ui/public/assets/BranchSelector-B0eLkAdv.css +0 -1
  52. package/src/ui/public/assets/BranchSelector-D4dKHxxK.js +0 -1
  53. package/src/ui/public/assets/CommitForm-DdK8dymc.css +0 -1
  54. package/src/ui/public/assets/CommitForm-klcrUCW7.js +0 -6
  55. package/src/ui/public/assets/CommonDialog-ChSKsEz2.css +0 -1
  56. package/src/ui/public/assets/CommonDialog-DfPvpafn.js +0 -1
  57. package/src/ui/public/assets/EditorView-CZofJ-wy.js +0 -1
  58. package/src/ui/public/assets/EditorView-DZMLvQds.css +0 -1
  59. package/src/ui/public/assets/FlowExecutionViewer-BLv0xSX3.js +0 -1
  60. package/src/ui/public/assets/FlowExecutionViewer-jNHI5zdm.css +0 -1
  61. package/src/ui/public/assets/FlowOrchestrationWorkspace-BcPCI3Cq.js +0 -21
  62. package/src/ui/public/assets/FlowOrchestrationWorkspace-CYGp-PqS.css +0 -1
  63. package/src/ui/public/assets/LogList-BYrHPSZw.js +0 -15
  64. package/src/ui/public/assets/LogList-CeFFytjB.css +0 -1
  65. package/src/ui/public/assets/MindmapView-BQTqx842.css +0 -1
  66. package/src/ui/public/assets/MindmapView-CNd4Q8B8.js +0 -2
  67. package/src/ui/public/assets/MonitorView-BlmWenOX.js +0 -1
  68. package/src/ui/public/assets/MonitorView-TaS4kL0Y.css +0 -1
  69. package/src/ui/public/assets/ProjectStartupButton-706xOj0N.js +0 -1
  70. package/src/ui/public/assets/ProjectStartupButton-QLPltCK5.css +0 -1
  71. package/src/ui/public/assets/RemoteRepoCard-BRGNlbeO.css +0 -1
  72. package/src/ui/public/assets/RemoteRepoCard-LHrI3uIa.js +0 -5
  73. package/src/ui/public/assets/SourceMapView-BNRjvgzH.css +0 -1
  74. package/src/ui/public/assets/SourceMapView-e96cgLn7.js +0 -3
  75. package/src/ui/public/assets/SvgIcon-BfPnov-Z.js +0 -1
  76. package/src/ui/public/assets/SvgIcon-CDNsk4-Q.css +0 -1
  77. package/src/ui/public/assets/UserInputNode-BVgQkB2l.css +0 -1
  78. package/src/ui/public/assets/UserInputNode-W1uGFT5P.js +0 -1
  79. package/src/ui/public/assets/WorkbenchView-Cfp_bLC8.js +0 -28
  80. package/src/ui/public/assets/_plugin-vue_export-helper-BpqSqjxA.js +0 -15
  81. package/src/ui/public/assets/configStore-CqqnJlVS.js +0 -1
  82. package/src/ui/public/assets/element-plus--ayTjGvF.js +0 -25
  83. package/src/ui/public/assets/element-plus-D3Dn7nX0.css +0 -1
  84. package/src/ui/public/assets/index-BNymf6-p.js +0 -71
  85. package/src/ui/public/assets/index-DnD8_s3s.css +0 -1
  86. package/src/ui/public/assets/socket-io-CGezBd--.js +0 -1
  87. package/src/ui/public/assets/vue-flow-B-YyhjTY.js +0 -39
  88. /package/src/ui/public/assets/{dagre-DgwsqYn1.js → dagre-SPn3EsNi.js} +0 -0
@@ -1,4 +1,4 @@
1
- import{$n as e,Cn as t,Dn as n,Gn as r,Ln as i,Pn as a,Qn as o,Tn as s,Un as c,Vn as l,Wn as u,Xn as d,_n as f,bn as p,cn as m,dn as h,fn as g,gn as _,gr as v,hr as y,ln as b,lr as x,rn as S,sr as C,un as w,vn as T,vr as E,wn as D,yn as O,yr as k,zn as A}from"./element-plus--ayTjGvF.js";var j=Object.defineProperty,M=(e,t,n)=>t in e?j(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,N=(e,t,n)=>M(e,typeof t==`symbol`?t:t+``,n),P=[`width`,`height`,`stroke-width`],ee={key:4,points:`6 9 12 15 18 9`},F={key:5,points:`9 6 15 12 9 18`},I=n({__name:`Icon`,props:{name:{},size:{},stroke:{}},setup(e){return(n,r)=>(l(),p(`svg`,{width:e.size??16,height:e.size??16,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,"stroke-width":e.stroke??1.8,"stroke-linecap":`round`,"stroke-linejoin":`round`,"aria-hidden":`true`},[e.name===`add`?(l(),p(g,{key:0},[r[0]||=f(`circle`,{cx:`12`,cy:`12`,r:`9`},null,-1),r[1]||=f(`line`,{x1:`12`,y1:`8`,x2:`12`,y2:`16`},null,-1),r[2]||=f(`line`,{x1:`8`,y1:`12`,x2:`16`,y2:`12`},null,-1)],64)):e.name===`minus`?(l(),p(g,{key:1},[r[3]||=f(`circle`,{cx:`12`,cy:`12`,r:`9`},null,-1),r[4]||=f(`line`,{x1:`8`,y1:`12`,x2:`16`,y2:`12`},null,-1)],64)):e.name===`delete`?(l(),p(g,{key:2},[r[5]||=t(`<polyline points="4 7 20 7"></polyline><path d="M9 7 V5 a1 1 0 0 1 1 -1 h4 a1 1 0 0 1 1 1 V7"></path><path d="M6 7 l1 12 a1 1 0 0 0 1 1 h8 a1 1 0 0 0 1 -1 l1 -12"></path><line x1="10" y1="11" x2="10" y2="18"></line><line x1="14" y1="11" x2="14" y2="18"></line>`,5)],64)):e.name===`edit`?(l(),p(g,{key:3},[r[6]||=f(`path`,{d:`M4 20 l4 -1 11 -11 -3 -3 -11 11 z`},null,-1),r[7]||=f(`line`,{x1:`14`,y1:`6`,x2:`18`,y2:`10`},null,-1)],64)):e.name===`collapse`?(l(),p(`polyline`,ee)):e.name===`expand`?(l(),p(`polyline`,F)):e.name===`collapse-all`?(l(),p(g,{key:6},[r[8]||=t(`<line x1="4" y1="4" x2="10" y2="10"></line><polyline points="6 10 10 10 10 6"></polyline><line x1="20" y1="4" x2="14" y2="10"></line><polyline points="14 6 14 10 18 10"></polyline><line x1="20" y1="20" x2="14" y2="14"></line><polyline points="14 18 14 14 18 14"></polyline><line x1="4" y1="20" x2="10" y2="14"></line><polyline points="6 14 10 14 10 18"></polyline>`,8)],64)):e.name===`expand-all`?(l(),p(g,{key:7},[r[9]||=t(`<line x1="10" y1="10" x2="4" y2="4"></line><polyline points="4 6 4 4 6 4"></polyline><line x1="14" y1="10" x2="20" y2="4"></line><polyline points="20 6 20 4 18 4"></polyline><line x1="14" y1="14" x2="20" y2="20"></line><polyline points="20 18 20 20 18 20"></polyline><line x1="10" y1="14" x2="4" y2="20"></line><polyline points="4 18 4 20 6 20"></polyline>`,8)],64)):e.name===`expand-level-1`?(l(),p(g,{key:8},[r[10]||=t(`<circle cx="12" cy="5" r="1.8" fill="currentColor" stroke="none"></circle><line x1="12" y1="7" x2="12" y2="11"></line><line x1="12" y1="11" x2="5" y2="17"></line><line x1="12" y1="11" x2="12" y2="17"></line><line x1="12" y1="11" x2="19" y2="17"></line><circle cx="5" cy="19" r="1.8" fill="currentColor" stroke="none"></circle><circle cx="12" cy="19" r="1.8" fill="currentColor" stroke="none"></circle><circle cx="19" cy="19" r="1.8" fill="currentColor" stroke="none"></circle>`,8)],64)):e.name===`expand-level-2`?(l(),p(g,{key:9},[r[11]||=t(`<circle cx="12" cy="3" r="1.4" fill="currentColor" stroke="none"></circle><line x1="12" y1="4.5" x2="12" y2="7"></line><line x1="12" y1="7" x2="5" y2="11"></line><line x1="12" y1="7" x2="12" y2="11"></line><line x1="12" y1="7" x2="19" y2="11"></line><line x1="5" y1="11" x2="3" y2="16"></line><line x1="5" y1="11" x2="7" y2="16"></line><line x1="12" y1="11" x2="10" y2="16"></line><line x1="12" y1="11" x2="14" y2="16"></line><line x1="19" y1="11" x2="17" y2="16"></line><line x1="19" y1="11" x2="21" y2="16"></line><circle cx="5" cy="11" r="1.4" fill="currentColor" stroke="none"></circle><circle cx="12" cy="11" r="1.4" fill="currentColor" stroke="none"></circle><circle cx="19" cy="11" r="1.4" fill="currentColor" stroke="none"></circle><circle cx="3" cy="18" r="1.4" fill="currentColor" stroke="none"></circle><circle cx="7" cy="18" r="1.4" fill="currentColor" stroke="none"></circle><circle cx="10" cy="18" r="1.4" fill="currentColor" stroke="none"></circle><circle cx="14" cy="18" r="1.4" fill="currentColor" stroke="none"></circle><circle cx="17" cy="18" r="1.4" fill="currentColor" stroke="none"></circle><circle cx="21" cy="18" r="1.4" fill="currentColor" stroke="none"></circle>`,20)],64)):e.name===`zoom-in`?(l(),p(g,{key:10},[r[12]||=f(`circle`,{cx:`11`,cy:`11`,r:`7`},null,-1),r[13]||=f(`line`,{x1:`11`,y1:`8`,x2:`11`,y2:`14`},null,-1),r[14]||=f(`line`,{x1:`8`,y1:`11`,x2:`14`,y2:`11`},null,-1),r[15]||=f(`line`,{x1:`16`,y1:`16`,x2:`21`,y2:`21`},null,-1)],64)):e.name===`zoom-out`?(l(),p(g,{key:11},[r[16]||=f(`circle`,{cx:`11`,cy:`11`,r:`7`},null,-1),r[17]||=f(`line`,{x1:`8`,y1:`11`,x2:`14`,y2:`11`},null,-1),r[18]||=f(`line`,{x1:`16`,y1:`16`,x2:`21`,y2:`21`},null,-1)],64)):e.name===`reset`?(l(),p(g,{key:12},[r[19]||=f(`polyline`,{points:`4 9 4 4 9 4`},null,-1),r[20]||=f(`polyline`,{points:`15 4 20 4 20 9`},null,-1),r[21]||=f(`polyline`,{points:`20 15 20 20 15 20`},null,-1),r[22]||=f(`polyline`,{points:`9 20 4 20 4 15`},null,-1)],64)):e.name===`database`?(l(),p(g,{key:13},[r[23]||=f(`ellipse`,{cx:`12`,cy:`6`,rx:`7`,ry:`2.5`},null,-1),r[24]||=f(`path`,{d:`M5 6 V18 C5 19.4 8 20.5 12 20.5 C16 20.5 19 19.4 19 18 V6`},null,-1),r[25]||=f(`path`,{d:`M5 12 C5 13.4 8 14.5 12 14.5 C16 14.5 19 13.4 19 12`},null,-1)],64)):e.name===`settings`?(l(),p(g,{key:14},[r[26]||=f(`path`,{d:`M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z`},null,-1),r[27]||=f(`circle`,{cx:`12`,cy:`12`,r:`3`},null,-1)],64)):e.name===`markdown`?(l(),p(g,{key:15},[r[28]||=f(`rect`,{x:`2`,y:`5`,width:`20`,height:`14`,rx:`2`},null,-1),r[29]||=f(`path`,{d:`M6 15 V9 L9 12 L12 9 V15`},null,-1),r[30]||=f(`path`,{d:`M15 15 V9 L18 12 V9 M15 12 L18 15`},null,-1)],64)):e.name===`txt`?(l(),p(g,{key:16},[r[31]||=f(`rect`,{x:`5`,y:`3`,width:`14`,height:`18`,rx:`1.5`},null,-1),r[32]||=f(`line`,{x1:`8`,y1:`8`,x2:`16`,y2:`8`},null,-1),r[33]||=f(`line`,{x1:`8`,y1:`12`,x2:`16`,y2:`12`},null,-1),r[34]||=f(`line`,{x1:`8`,y1:`16`,x2:`13`,y2:`16`},null,-1)],64)):e.name===`eye`?(l(),p(g,{key:17},[r[35]||=f(`path`,{d:`M2 12 C4 6 8 3 12 3 C16 3 20 6 22 12 C20 18 16 21 12 21 C8 21 4 18 2 12 Z`},null,-1),r[36]||=f(`circle`,{cx:`12`,cy:`12`,r:`3.2`},null,-1)],64)):e.name===`eye-off`?(l(),p(g,{key:18},[r[37]||=f(`path`,{d:`M3 3 L21 21`},null,-1),r[38]||=f(`path`,{d:`M10.5 6.2 C11 6.1 11.5 6 12 6 C16 6 19.5 8.5 21 12 C20.4 13.2 19.6 14.3 18.7 15.2`},null,-1),r[39]||=f(`path`,{d:`M6.6 6.6 C4 8.2 2.7 10.2 2 12 C3 14.5 5.2 16.8 8 18.3 C9.2 19 10.6 19.4 12 19.4 C13.5 19.4 14.9 19 16.2 18.3`},null,-1),r[40]||=f(`path`,{d:`M9.5 9.5 C9.1 10.2 9 11.1 9 12 C9 13.7 9.8 15.2 11 16.1`},null,-1)],64)):e.name===`outline`?(l(),p(g,{key:19},[r[41]||=f(`rect`,{x:`4`,y:`3`,width:`16`,height:`18`,rx:`2`},null,-1),r[42]||=f(`line`,{x1:`8`,y1:`8`,x2:`16`,y2:`8`},null,-1),r[43]||=f(`line`,{x1:`8`,y1:`12`,x2:`16`,y2:`12`},null,-1),r[44]||=f(`line`,{x1:`8`,y1:`16`,x2:`13`,y2:`16`},null,-1)],64)):e.name===`logo`?(l(),p(g,{key:20},[r[45]||=t(`<circle cx="12" cy="12" r="2.2"></circle><circle cx="4" cy="5" r="1.6"></circle><circle cx="20" cy="5" r="1.6"></circle><circle cx="4" cy="19" r="1.6"></circle><circle cx="20" cy="19" r="1.6"></circle><line x1="10.5" y1="10.8" x2="5.2" y2="6.4"></line><line x1="13.5" y1="10.8" x2="18.8" y2="6.4"></line><line x1="10.5" y1="13.2" x2="5.2" y2="17.6"></line><line x1="13.5" y1="13.2" x2="18.8" y2="17.6"></line>`,9)],64)):e.name===`import`?(l(),p(g,{key:21},[r[46]||=f(`path`,{d:`M12 4 V15`},null,-1),r[47]||=f(`polyline`,{points:`7 10 12 15 17 10`},null,-1),r[48]||=f(`path`,{d:`M4 19 H20`},null,-1)],64)):e.name===`export`?(l(),p(g,{key:22},[r[49]||=f(`path`,{d:`M12 15 V4`},null,-1),r[50]||=f(`polyline`,{points:`7 9 12 4 17 9`},null,-1),r[51]||=f(`path`,{d:`M4 19 H20`},null,-1)],64)):e.name===`balance`?(l(),p(g,{key:23},[r[52]||=t(`<line x1="3" y1="6" x2="21" y2="6"></line><line x1="3" y1="12" x2="21" y2="12"></line><line x1="3" y1="18" x2="21" y2="18"></line><polyline points="9 4 5 6 9 8"></polyline><polyline points="15 4 19 6 15 8"></polyline><polyline points="9 10 5 12 9 14"></polyline><polyline points="15 10 19 12 15 14"></polyline><polyline points="9 16 5 18 9 20"></polyline><polyline points="15 16 19 18 15 20"></polyline>`,9)],64)):e.name===`mindmap`?(l(),p(g,{key:24},[r[53]||=t(`<circle cx="12" cy="12" r="2.4" fill="currentColor" stroke="none"></circle><line x1="13.4" y1="10.6" x2="18.5" y2="5.5"></line><line x1="13.4" y1="13.4" x2="18.5" y2="18.5"></line><line x1="10.6" y1="10.6" x2="5.5" y2="5.5"></line><line x1="10.6" y1="13.4" x2="5.5" y2="18.5"></line><circle cx="19.5" cy="4.5" r="1.8" fill="currentColor" stroke="none"></circle><circle cx="19.5" cy="19.5" r="1.8" fill="currentColor" stroke="none"></circle><circle cx="4.5" cy="4.5" r="1.8" fill="currentColor" stroke="none"></circle><circle cx="4.5" cy="19.5" r="1.8" fill="currentColor" stroke="none"></circle>`,9)],64)):e.name===`tree`?(l(),p(g,{key:25},[r[54]||=t(`<circle cx="5" cy="12" r="2" fill="currentColor" stroke="none"></circle><circle cx="19" cy="5" r="2" fill="currentColor" stroke="none"></circle><circle cx="19" cy="12" r="2" fill="currentColor" stroke="none"></circle><circle cx="19" cy="19" r="2" fill="currentColor" stroke="none"></circle><line x1="7" y1="12" x2="12" y2="12"></line><line x1="12" y1="12" x2="12" y2="5"></line><line x1="12" y1="12" x2="12" y2="19"></line><line x1="12" y1="5" x2="17" y2="5"></line><line x1="12" y1="19" x2="17" y2="19"></line>`,9)],64)):e.name===`org`?(l(),p(g,{key:26},[r[55]||=t(`<circle cx="12" cy="5" r="2" fill="currentColor" stroke="none"></circle><circle cx="6" cy="19" r="2" fill="currentColor" stroke="none"></circle><circle cx="12" cy="19" r="2" fill="currentColor" stroke="none"></circle><circle cx="18" cy="19" r="2" fill="currentColor" stroke="none"></circle><line x1="12" y1="7" x2="12" y2="13"></line><line x1="6" y1="13" x2="18" y2="13"></line><line x1="6" y1="13" x2="6" y2="17"></line><line x1="12" y1="13" x2="12" y2="17"></line><line x1="18" y1="13" x2="18" y2="17"></line>`,9)],64)):e.name===`image`?(l(),p(g,{key:27},[r[56]||=f(`rect`,{x:`3`,y:`5`,width:`18`,height:`14`,rx:`2`},null,-1),r[57]||=f(`circle`,{cx:`9`,cy:`11`,r:`1.6`},null,-1),r[58]||=f(`polyline`,{points:`3 17 9 12 13 15 16 13 21 17`},null,-1)],64)):e.name===`x`?(l(),p(g,{key:28},[r[59]||=f(`line`,{x1:`6`,y1:`6`,x2:`18`,y2:`18`},null,-1),r[60]||=f(`line`,{x1:`18`,y1:`6`,x2:`6`,y2:`18`},null,-1)],64)):e.name===`link`?(l(),p(g,{key:29},[r[61]||=f(`path`,{d:`M10 13 a4 4 0 0 0 5.66 0 l3 -3 a4 4 0 1 0 -5.66 -5.66 l-1 1`},null,-1),r[62]||=f(`path`,{d:`M14 11 a4 4 0 0 0 -5.66 0 l-3 3 a4 4 0 1 0 5.66 5.66 l1 -1`},null,-1)],64)):e.name===`note`?(l(),p(g,{key:30},[r[63]||=f(`path`,{d:`M6 4 h9 l3 3 v13 a1 1 0 0 1 -1 1 h-11 a1 1 0 0 1 -1 -1 v-15 a1 1 0 0 1 1 -1 z`},null,-1),r[64]||=f(`line`,{x1:`8`,y1:`10`,x2:`16`,y2:`10`},null,-1),r[65]||=f(`line`,{x1:`8`,y1:`13`,x2:`16`,y2:`13`},null,-1),r[66]||=f(`line`,{x1:`8`,y1:`16`,x2:`13`,y2:`16`},null,-1)],64)):e.name===`search`?(l(),p(g,{key:31},[r[67]||=f(`circle`,{cx:`11`,cy:`11`,r:`7`},null,-1),r[68]||=f(`line`,{x1:`16`,y1:`16`,x2:`21`,y2:`21`},null,-1)],64)):e.name===`json`?(l(),p(g,{key:32},[r[69]||=f(`path`,{d:`M8 4 C6 4 6 6 6 7 C6 8 5 8 5 9 C5 10 6 10 6 11 C6 12 6 14 8 14`},null,-1),r[70]||=f(`path`,{d:`M16 4 C18 4 18 6 18 7 C18 8 19 8 19 9 C19 10 18 10 18 11 C18 12 18 14 16 14`},null,-1)],64)):e.name===`svg-export`?(l(),p(g,{key:33},[r[71]||=f(`path`,{d:`M6 3 h8 l4 4 v14 a1 1 0 0 1 -1 1 h-11 a1 1 0 0 1 -1 -1 v-15 a1 1 0 0 1 1 -1 z`},null,-1),r[72]||=f(`polyline`,{points:`14 3 14 7 18 7`},null,-1),r[73]||=f(`polyline`,{points:`8 14 6 16 8 18`},null,-1),r[74]||=f(`polyline`,{points:`14 14 16 16 14 18`},null,-1)],64)):O(``,!0)],8,P))}}),te=`data:image/svg+xml,%3csvg%20t='1780822312364'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='7459'%20width='200'%20height='200'%3e%3cpath%20d='M329.16%20292.571h658.286V512H329.16zM329.16%200h658.286v219.429H329.16z'%20fill='%239AA1A2'%20p-id='7460'%3e%3c/path%3e%3cpath%20d='M44.927%20146.286a46.519%2046.519%200%200%201%2038.107-73.143h319.269v73.143H109.73V791.99l-48.713%205.705-24.43-651.41h8.339z'%20fill='%239AA1A2'%20p-id='7461'%3e%3c/path%3e%3cpath%20d='M363.83%20877.714H179.51c-78.775%200-142.921-66.12-142.921-147.31V112.787c0-21.943%2017.188-39.643%2038.473-39.643%2021.211%200%2033.5%2017.774%2033.5%2039.643v617.619c0%2037.522%2028.013%2076.58%2064.438%2076.58h190.903c21.211%200%2038.766%2013.97%2038.766%2035.84%200%2021.943-17.555%2034.89-38.766%2034.89z'%20fill='%239AA1A2'%20p-id='7462'%3e%3c/path%3e%3cpath%20d='M432.95%20438.857H179.51c-78.775%200-81.043-18.578-81.043-62.903l10.094-90.624c0%2020.48%2013.458%2080.677%2049.884%2080.677h210.139c21.211%200%20120.613%204.023%20120.613%2016.018%200%2011.922-35.036%2056.832-56.32%2056.832zM640.017%20749.714V640a54.857%2054.857%200%200%201%20109.714%200v109.714h109.715a54.857%2054.857%200%200%201%200%20109.715H749.73v109.714a54.857%2054.857%200%200%201-109.714%200V859.429H530.303a54.857%2054.857%200%200%201%200-109.715h109.714z'%20fill='%239AA1A2'%20p-id='7463'%3e%3c/path%3e%3c/svg%3e`,ne=`data:image/svg+xml,%3csvg%20t='1780822464335'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='8457'%20width='200'%20height='200'%3e%3cpath%20d='M512%20804.571h512V1024H512V804.571zM0%200h658.286v219.429H0V0z'%20fill='%239AA1A2'%20p-id='8458'%3e%3c/path%3e%3cpath%20d='M619.813%20950.857h-184.32c-78.775%200-142.922-66.121-142.922-147.31V185.93c0-21.943%2017.189-39.643%2038.474-39.643%2021.211%200%2033.353%2017.773%2033.353%2039.643v617.618c0%2037.523%2034.743%2073.728%2071.095%2073.728h184.32c21.211%200%2038.473%2012.069%2038.473%2033.939%200%2021.943-17.189%2039.643-38.473%2039.643z'%20fill='%239AA1A2'%20p-id='8459'%3e%3c/path%3e%3cpath%20d='M676.571%20457.143V347.429a54.857%2054.857%200%200%201%20109.715%200v109.714H896a54.857%2054.857%200%200%201%200%20109.714H786.286v109.714a54.857%2054.857%200%200%201-109.715%200V566.857H566.857a54.857%2054.857%200%200%201%200-109.714h109.714z'%20fill='%239AA1A2'%20p-id='8460'%3e%3c/path%3e%3c/svg%3e`,re=[22,15,13,12],L=[700,600,500,400],ie=[46,36,30,26],R=[120,80,60,44],ae=[.8,.8,.8,.8],z=1,oe=re.length-1;function B(e,t){return Math.round(se(e,t)*ae[V(e)])}function V(e){return Math.min(oe,Math.max(0,e))}function se(e,t=14){return Math.round(re[V(e)]*t/14*10)/10}function ce(e,t=14){return Math.round(ie[V(e)]*t/14)}var le=60,ue=30,de=.75,fe=14,H=24;function pe(e){return Math.max(ue,Math.round(le*de**+e))}var me=null;function he(){if(me)return me;let e=typeof document<`u`?document.createElement(`canvas`).getContext(`2d`):null;return e?(me=e,e):{font:``,measureText:()=>({width:0})}}var ge=new Map;function _e(e,t,n){let r=`${n}|${t}|${e}`,i=ge.get(r);if(i!==void 0)return i;let a=he();a.font=`${n} ${t}px "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif`;let o=e.split(`
1
+ import{$n as e,Cn as t,Dn as n,Gn as r,Ln as i,Pn as a,Qn as o,Tn as s,Un as c,Vn as l,Wn as u,Xn as d,_n as f,bn as p,cn as m,dn as h,fn as g,gn as _,gr as v,hr as y,ln as b,lr as x,rn as S,sr as C,un as w,vn as T,vr as E,wn as D,yn as O,yr as k,zn as A}from"./element-plus-DTmPntAz.js";var j=Object.defineProperty,M=(e,t,n)=>t in e?j(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,N=(e,t,n)=>M(e,typeof t==`symbol`?t:t+``,n),P=[`width`,`height`,`stroke-width`],ee={key:4,points:`6 9 12 15 18 9`},F={key:5,points:`9 6 15 12 9 18`},I=n({__name:`Icon`,props:{name:{},size:{},stroke:{}},setup(e){return(n,r)=>(l(),p(`svg`,{width:e.size??16,height:e.size??16,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,"stroke-width":e.stroke??1.8,"stroke-linecap":`round`,"stroke-linejoin":`round`,"aria-hidden":`true`},[e.name===`add`?(l(),p(g,{key:0},[r[0]||=f(`circle`,{cx:`12`,cy:`12`,r:`9`},null,-1),r[1]||=f(`line`,{x1:`12`,y1:`8`,x2:`12`,y2:`16`},null,-1),r[2]||=f(`line`,{x1:`8`,y1:`12`,x2:`16`,y2:`12`},null,-1)],64)):e.name===`minus`?(l(),p(g,{key:1},[r[3]||=f(`circle`,{cx:`12`,cy:`12`,r:`9`},null,-1),r[4]||=f(`line`,{x1:`8`,y1:`12`,x2:`16`,y2:`12`},null,-1)],64)):e.name===`delete`?(l(),p(g,{key:2},[r[5]||=t(`<polyline points="4 7 20 7"></polyline><path d="M9 7 V5 a1 1 0 0 1 1 -1 h4 a1 1 0 0 1 1 1 V7"></path><path d="M6 7 l1 12 a1 1 0 0 0 1 1 h8 a1 1 0 0 0 1 -1 l1 -12"></path><line x1="10" y1="11" x2="10" y2="18"></line><line x1="14" y1="11" x2="14" y2="18"></line>`,5)],64)):e.name===`edit`?(l(),p(g,{key:3},[r[6]||=f(`path`,{d:`M4 20 l4 -1 11 -11 -3 -3 -11 11 z`},null,-1),r[7]||=f(`line`,{x1:`14`,y1:`6`,x2:`18`,y2:`10`},null,-1)],64)):e.name===`collapse`?(l(),p(`polyline`,ee)):e.name===`expand`?(l(),p(`polyline`,F)):e.name===`collapse-all`?(l(),p(g,{key:6},[r[8]||=t(`<line x1="4" y1="4" x2="10" y2="10"></line><polyline points="6 10 10 10 10 6"></polyline><line x1="20" y1="4" x2="14" y2="10"></line><polyline points="14 6 14 10 18 10"></polyline><line x1="20" y1="20" x2="14" y2="14"></line><polyline points="14 18 14 14 18 14"></polyline><line x1="4" y1="20" x2="10" y2="14"></line><polyline points="6 14 10 14 10 18"></polyline>`,8)],64)):e.name===`expand-all`?(l(),p(g,{key:7},[r[9]||=t(`<line x1="10" y1="10" x2="4" y2="4"></line><polyline points="4 6 4 4 6 4"></polyline><line x1="14" y1="10" x2="20" y2="4"></line><polyline points="20 6 20 4 18 4"></polyline><line x1="14" y1="14" x2="20" y2="20"></line><polyline points="20 18 20 20 18 20"></polyline><line x1="10" y1="14" x2="4" y2="20"></line><polyline points="4 18 4 20 6 20"></polyline>`,8)],64)):e.name===`expand-level-1`?(l(),p(g,{key:8},[r[10]||=t(`<circle cx="12" cy="5" r="1.8" fill="currentColor" stroke="none"></circle><line x1="12" y1="7" x2="12" y2="11"></line><line x1="12" y1="11" x2="5" y2="17"></line><line x1="12" y1="11" x2="12" y2="17"></line><line x1="12" y1="11" x2="19" y2="17"></line><circle cx="5" cy="19" r="1.8" fill="currentColor" stroke="none"></circle><circle cx="12" cy="19" r="1.8" fill="currentColor" stroke="none"></circle><circle cx="19" cy="19" r="1.8" fill="currentColor" stroke="none"></circle>`,8)],64)):e.name===`expand-level-2`?(l(),p(g,{key:9},[r[11]||=t(`<circle cx="12" cy="3" r="1.4" fill="currentColor" stroke="none"></circle><line x1="12" y1="4.5" x2="12" y2="7"></line><line x1="12" y1="7" x2="5" y2="11"></line><line x1="12" y1="7" x2="12" y2="11"></line><line x1="12" y1="7" x2="19" y2="11"></line><line x1="5" y1="11" x2="3" y2="16"></line><line x1="5" y1="11" x2="7" y2="16"></line><line x1="12" y1="11" x2="10" y2="16"></line><line x1="12" y1="11" x2="14" y2="16"></line><line x1="19" y1="11" x2="17" y2="16"></line><line x1="19" y1="11" x2="21" y2="16"></line><circle cx="5" cy="11" r="1.4" fill="currentColor" stroke="none"></circle><circle cx="12" cy="11" r="1.4" fill="currentColor" stroke="none"></circle><circle cx="19" cy="11" r="1.4" fill="currentColor" stroke="none"></circle><circle cx="3" cy="18" r="1.4" fill="currentColor" stroke="none"></circle><circle cx="7" cy="18" r="1.4" fill="currentColor" stroke="none"></circle><circle cx="10" cy="18" r="1.4" fill="currentColor" stroke="none"></circle><circle cx="14" cy="18" r="1.4" fill="currentColor" stroke="none"></circle><circle cx="17" cy="18" r="1.4" fill="currentColor" stroke="none"></circle><circle cx="21" cy="18" r="1.4" fill="currentColor" stroke="none"></circle>`,20)],64)):e.name===`zoom-in`?(l(),p(g,{key:10},[r[12]||=f(`circle`,{cx:`11`,cy:`11`,r:`7`},null,-1),r[13]||=f(`line`,{x1:`11`,y1:`8`,x2:`11`,y2:`14`},null,-1),r[14]||=f(`line`,{x1:`8`,y1:`11`,x2:`14`,y2:`11`},null,-1),r[15]||=f(`line`,{x1:`16`,y1:`16`,x2:`21`,y2:`21`},null,-1)],64)):e.name===`zoom-out`?(l(),p(g,{key:11},[r[16]||=f(`circle`,{cx:`11`,cy:`11`,r:`7`},null,-1),r[17]||=f(`line`,{x1:`8`,y1:`11`,x2:`14`,y2:`11`},null,-1),r[18]||=f(`line`,{x1:`16`,y1:`16`,x2:`21`,y2:`21`},null,-1)],64)):e.name===`reset`?(l(),p(g,{key:12},[r[19]||=f(`polyline`,{points:`4 9 4 4 9 4`},null,-1),r[20]||=f(`polyline`,{points:`15 4 20 4 20 9`},null,-1),r[21]||=f(`polyline`,{points:`20 15 20 20 15 20`},null,-1),r[22]||=f(`polyline`,{points:`9 20 4 20 4 15`},null,-1)],64)):e.name===`database`?(l(),p(g,{key:13},[r[23]||=f(`ellipse`,{cx:`12`,cy:`6`,rx:`7`,ry:`2.5`},null,-1),r[24]||=f(`path`,{d:`M5 6 V18 C5 19.4 8 20.5 12 20.5 C16 20.5 19 19.4 19 18 V6`},null,-1),r[25]||=f(`path`,{d:`M5 12 C5 13.4 8 14.5 12 14.5 C16 14.5 19 13.4 19 12`},null,-1)],64)):e.name===`settings`?(l(),p(g,{key:14},[r[26]||=f(`path`,{d:`M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z`},null,-1),r[27]||=f(`circle`,{cx:`12`,cy:`12`,r:`3`},null,-1)],64)):e.name===`markdown`?(l(),p(g,{key:15},[r[28]||=f(`rect`,{x:`2`,y:`5`,width:`20`,height:`14`,rx:`2`},null,-1),r[29]||=f(`path`,{d:`M6 15 V9 L9 12 L12 9 V15`},null,-1),r[30]||=f(`path`,{d:`M15 15 V9 L18 12 V9 M15 12 L18 15`},null,-1)],64)):e.name===`txt`?(l(),p(g,{key:16},[r[31]||=f(`rect`,{x:`5`,y:`3`,width:`14`,height:`18`,rx:`1.5`},null,-1),r[32]||=f(`line`,{x1:`8`,y1:`8`,x2:`16`,y2:`8`},null,-1),r[33]||=f(`line`,{x1:`8`,y1:`12`,x2:`16`,y2:`12`},null,-1),r[34]||=f(`line`,{x1:`8`,y1:`16`,x2:`13`,y2:`16`},null,-1)],64)):e.name===`eye`?(l(),p(g,{key:17},[r[35]||=f(`path`,{d:`M2 12 C4 6 8 3 12 3 C16 3 20 6 22 12 C20 18 16 21 12 21 C8 21 4 18 2 12 Z`},null,-1),r[36]||=f(`circle`,{cx:`12`,cy:`12`,r:`3.2`},null,-1)],64)):e.name===`eye-off`?(l(),p(g,{key:18},[r[37]||=f(`path`,{d:`M3 3 L21 21`},null,-1),r[38]||=f(`path`,{d:`M10.5 6.2 C11 6.1 11.5 6 12 6 C16 6 19.5 8.5 21 12 C20.4 13.2 19.6 14.3 18.7 15.2`},null,-1),r[39]||=f(`path`,{d:`M6.6 6.6 C4 8.2 2.7 10.2 2 12 C3 14.5 5.2 16.8 8 18.3 C9.2 19 10.6 19.4 12 19.4 C13.5 19.4 14.9 19 16.2 18.3`},null,-1),r[40]||=f(`path`,{d:`M9.5 9.5 C9.1 10.2 9 11.1 9 12 C9 13.7 9.8 15.2 11 16.1`},null,-1)],64)):e.name===`outline`?(l(),p(g,{key:19},[r[41]||=f(`rect`,{x:`4`,y:`3`,width:`16`,height:`18`,rx:`2`},null,-1),r[42]||=f(`line`,{x1:`8`,y1:`8`,x2:`16`,y2:`8`},null,-1),r[43]||=f(`line`,{x1:`8`,y1:`12`,x2:`16`,y2:`12`},null,-1),r[44]||=f(`line`,{x1:`8`,y1:`16`,x2:`13`,y2:`16`},null,-1)],64)):e.name===`logo`?(l(),p(g,{key:20},[r[45]||=t(`<circle cx="12" cy="12" r="2.2"></circle><circle cx="4" cy="5" r="1.6"></circle><circle cx="20" cy="5" r="1.6"></circle><circle cx="4" cy="19" r="1.6"></circle><circle cx="20" cy="19" r="1.6"></circle><line x1="10.5" y1="10.8" x2="5.2" y2="6.4"></line><line x1="13.5" y1="10.8" x2="18.8" y2="6.4"></line><line x1="10.5" y1="13.2" x2="5.2" y2="17.6"></line><line x1="13.5" y1="13.2" x2="18.8" y2="17.6"></line>`,9)],64)):e.name===`import`?(l(),p(g,{key:21},[r[46]||=f(`path`,{d:`M12 4 V15`},null,-1),r[47]||=f(`polyline`,{points:`7 10 12 15 17 10`},null,-1),r[48]||=f(`path`,{d:`M4 19 H20`},null,-1)],64)):e.name===`export`?(l(),p(g,{key:22},[r[49]||=f(`path`,{d:`M12 15 V4`},null,-1),r[50]||=f(`polyline`,{points:`7 9 12 4 17 9`},null,-1),r[51]||=f(`path`,{d:`M4 19 H20`},null,-1)],64)):e.name===`balance`?(l(),p(g,{key:23},[r[52]||=t(`<line x1="3" y1="6" x2="21" y2="6"></line><line x1="3" y1="12" x2="21" y2="12"></line><line x1="3" y1="18" x2="21" y2="18"></line><polyline points="9 4 5 6 9 8"></polyline><polyline points="15 4 19 6 15 8"></polyline><polyline points="9 10 5 12 9 14"></polyline><polyline points="15 10 19 12 15 14"></polyline><polyline points="9 16 5 18 9 20"></polyline><polyline points="15 16 19 18 15 20"></polyline>`,9)],64)):e.name===`mindmap`?(l(),p(g,{key:24},[r[53]||=t(`<circle cx="12" cy="12" r="2.4" fill="currentColor" stroke="none"></circle><line x1="13.4" y1="10.6" x2="18.5" y2="5.5"></line><line x1="13.4" y1="13.4" x2="18.5" y2="18.5"></line><line x1="10.6" y1="10.6" x2="5.5" y2="5.5"></line><line x1="10.6" y1="13.4" x2="5.5" y2="18.5"></line><circle cx="19.5" cy="4.5" r="1.8" fill="currentColor" stroke="none"></circle><circle cx="19.5" cy="19.5" r="1.8" fill="currentColor" stroke="none"></circle><circle cx="4.5" cy="4.5" r="1.8" fill="currentColor" stroke="none"></circle><circle cx="4.5" cy="19.5" r="1.8" fill="currentColor" stroke="none"></circle>`,9)],64)):e.name===`tree`?(l(),p(g,{key:25},[r[54]||=t(`<circle cx="5" cy="12" r="2" fill="currentColor" stroke="none"></circle><circle cx="19" cy="5" r="2" fill="currentColor" stroke="none"></circle><circle cx="19" cy="12" r="2" fill="currentColor" stroke="none"></circle><circle cx="19" cy="19" r="2" fill="currentColor" stroke="none"></circle><line x1="7" y1="12" x2="12" y2="12"></line><line x1="12" y1="12" x2="12" y2="5"></line><line x1="12" y1="12" x2="12" y2="19"></line><line x1="12" y1="5" x2="17" y2="5"></line><line x1="12" y1="19" x2="17" y2="19"></line>`,9)],64)):e.name===`org`?(l(),p(g,{key:26},[r[55]||=t(`<circle cx="12" cy="5" r="2" fill="currentColor" stroke="none"></circle><circle cx="6" cy="19" r="2" fill="currentColor" stroke="none"></circle><circle cx="12" cy="19" r="2" fill="currentColor" stroke="none"></circle><circle cx="18" cy="19" r="2" fill="currentColor" stroke="none"></circle><line x1="12" y1="7" x2="12" y2="13"></line><line x1="6" y1="13" x2="18" y2="13"></line><line x1="6" y1="13" x2="6" y2="17"></line><line x1="12" y1="13" x2="12" y2="17"></line><line x1="18" y1="13" x2="18" y2="17"></line>`,9)],64)):e.name===`image`?(l(),p(g,{key:27},[r[56]||=f(`rect`,{x:`3`,y:`5`,width:`18`,height:`14`,rx:`2`},null,-1),r[57]||=f(`circle`,{cx:`9`,cy:`11`,r:`1.6`},null,-1),r[58]||=f(`polyline`,{points:`3 17 9 12 13 15 16 13 21 17`},null,-1)],64)):e.name===`x`?(l(),p(g,{key:28},[r[59]||=f(`line`,{x1:`6`,y1:`6`,x2:`18`,y2:`18`},null,-1),r[60]||=f(`line`,{x1:`18`,y1:`6`,x2:`6`,y2:`18`},null,-1)],64)):e.name===`link`?(l(),p(g,{key:29},[r[61]||=f(`path`,{d:`M10 13 a4 4 0 0 0 5.66 0 l3 -3 a4 4 0 1 0 -5.66 -5.66 l-1 1`},null,-1),r[62]||=f(`path`,{d:`M14 11 a4 4 0 0 0 -5.66 0 l-3 3 a4 4 0 1 0 5.66 5.66 l1 -1`},null,-1)],64)):e.name===`note`?(l(),p(g,{key:30},[r[63]||=f(`path`,{d:`M6 4 h9 l3 3 v13 a1 1 0 0 1 -1 1 h-11 a1 1 0 0 1 -1 -1 v-15 a1 1 0 0 1 1 -1 z`},null,-1),r[64]||=f(`line`,{x1:`8`,y1:`10`,x2:`16`,y2:`10`},null,-1),r[65]||=f(`line`,{x1:`8`,y1:`13`,x2:`16`,y2:`13`},null,-1),r[66]||=f(`line`,{x1:`8`,y1:`16`,x2:`13`,y2:`16`},null,-1)],64)):e.name===`search`?(l(),p(g,{key:31},[r[67]||=f(`circle`,{cx:`11`,cy:`11`,r:`7`},null,-1),r[68]||=f(`line`,{x1:`16`,y1:`16`,x2:`21`,y2:`21`},null,-1)],64)):e.name===`json`?(l(),p(g,{key:32},[r[69]||=f(`path`,{d:`M8 4 C6 4 6 6 6 7 C6 8 5 8 5 9 C5 10 6 10 6 11 C6 12 6 14 8 14`},null,-1),r[70]||=f(`path`,{d:`M16 4 C18 4 18 6 18 7 C18 8 19 8 19 9 C19 10 18 10 18 11 C18 12 18 14 16 14`},null,-1)],64)):e.name===`svg-export`?(l(),p(g,{key:33},[r[71]||=f(`path`,{d:`M6 3 h8 l4 4 v14 a1 1 0 0 1 -1 1 h-11 a1 1 0 0 1 -1 -1 v-15 a1 1 0 0 1 1 -1 z`},null,-1),r[72]||=f(`polyline`,{points:`14 3 14 7 18 7`},null,-1),r[73]||=f(`polyline`,{points:`8 14 6 16 8 18`},null,-1),r[74]||=f(`polyline`,{points:`14 14 16 16 14 18`},null,-1)],64)):O(``,!0)],8,P))}}),te=`data:image/svg+xml,%3csvg%20t='1780822312364'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='7459'%20width='200'%20height='200'%3e%3cpath%20d='M329.16%20292.571h658.286V512H329.16zM329.16%200h658.286v219.429H329.16z'%20fill='%239AA1A2'%20p-id='7460'%3e%3c/path%3e%3cpath%20d='M44.927%20146.286a46.519%2046.519%200%200%201%2038.107-73.143h319.269v73.143H109.73V791.99l-48.713%205.705-24.43-651.41h8.339z'%20fill='%239AA1A2'%20p-id='7461'%3e%3c/path%3e%3cpath%20d='M363.83%20877.714H179.51c-78.775%200-142.921-66.12-142.921-147.31V112.787c0-21.943%2017.188-39.643%2038.473-39.643%2021.211%200%2033.5%2017.774%2033.5%2039.643v617.619c0%2037.522%2028.013%2076.58%2064.438%2076.58h190.903c21.211%200%2038.766%2013.97%2038.766%2035.84%200%2021.943-17.555%2034.89-38.766%2034.89z'%20fill='%239AA1A2'%20p-id='7462'%3e%3c/path%3e%3cpath%20d='M432.95%20438.857H179.51c-78.775%200-81.043-18.578-81.043-62.903l10.094-90.624c0%2020.48%2013.458%2080.677%2049.884%2080.677h210.139c21.211%200%20120.613%204.023%20120.613%2016.018%200%2011.922-35.036%2056.832-56.32%2056.832zM640.017%20749.714V640a54.857%2054.857%200%200%201%20109.714%200v109.714h109.715a54.857%2054.857%200%200%201%200%20109.715H749.73v109.714a54.857%2054.857%200%200%201-109.714%200V859.429H530.303a54.857%2054.857%200%200%201%200-109.715h109.714z'%20fill='%239AA1A2'%20p-id='7463'%3e%3c/path%3e%3c/svg%3e`,ne=`data:image/svg+xml,%3csvg%20t='1780822464335'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='8457'%20width='200'%20height='200'%3e%3cpath%20d='M512%20804.571h512V1024H512V804.571zM0%200h658.286v219.429H0V0z'%20fill='%239AA1A2'%20p-id='8458'%3e%3c/path%3e%3cpath%20d='M619.813%20950.857h-184.32c-78.775%200-142.922-66.121-142.922-147.31V185.93c0-21.943%2017.189-39.643%2038.474-39.643%2021.211%200%2033.353%2017.773%2033.353%2039.643v617.618c0%2037.523%2034.743%2073.728%2071.095%2073.728h184.32c21.211%200%2038.473%2012.069%2038.473%2033.939%200%2021.943-17.189%2039.643-38.473%2039.643z'%20fill='%239AA1A2'%20p-id='8459'%3e%3c/path%3e%3cpath%20d='M676.571%20457.143V347.429a54.857%2054.857%200%200%201%20109.715%200v109.714H896a54.857%2054.857%200%200%201%200%20109.714H786.286v109.714a54.857%2054.857%200%200%201-109.715%200V566.857H566.857a54.857%2054.857%200%200%201%200-109.714h109.714z'%20fill='%239AA1A2'%20p-id='8460'%3e%3c/path%3e%3c/svg%3e`,re=[22,15,13,12],L=[700,600,500,400],ie=[46,36,30,26],R=[120,80,60,44],ae=[.8,.8,.8,.8],z=1,oe=re.length-1;function B(e,t){return Math.round(se(e,t)*ae[V(e)])}function V(e){return Math.min(oe,Math.max(0,e))}function se(e,t=14){return Math.round(re[V(e)]*t/14*10)/10}function ce(e,t=14){return Math.round(ie[V(e)]*t/14)}var le=60,ue=30,de=.75,fe=14,H=24;function pe(e){return Math.max(ue,Math.round(le*de**+e))}var me=null;function he(){if(me)return me;let e=typeof document<`u`?document.createElement(`canvas`).getContext(`2d`):null;return e?(me=e,e):{font:``,measureText:()=>({width:0})}}var ge=new Map;function _e(e,t,n){let r=`${n}|${t}|${e}`,i=ge.get(r);if(i!==void 0)return i;let a=he();a.font=`${n} ${t}px "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif`;let o=e.split(`
2
2
  `),s=0;for(let e of o){let t=a.measureText(e).width;t>s&&(s=t)}return ge.set(r,s),s}var ve=24,ye=400,be=8,xe=16,Se=4,Ce=200;function we(e,t,n){return Math.min(n,Math.max(t,e))}function U(e,t,n,r,i){let a=V(t),o=se(t,n),s=Math.min(_e(e.text||``,o,L[a]),Ce),c=B(t,n),l=Math.ceil(s+c*2+z*2),u=(e.text||``).split(`
3
3
  `),d=0;for(let e of u){let t=_e(e,o,L[a]);d+=Math.max(1,Math.ceil(t/Ce))}d=Math.max(1,d);let f=e.richContent&&(e.richContent.kind===`code`||e.richContent.kind===`table`)?Math.ceil(o*1.2)+6+Math.ceil(o*1.2*(d-1)):ce(t,n)+Math.ceil(o*1.2*(d-1)),p=0;if(e.link&&(p+=xe),e.note&&(p+=xe),p>0){let t=+!!e.link+ +!!e.note;p+=Se*t}let m=0;e.markers&&e.markers.length>0&&(m=e.markers.length*14+(e.markers.length-1)*2+Se);let h=e.tags&&e.tags.length>0?18:0,g=l+p+m,_=(()=>{let t=Math.round(R[a]*n/14);if(e.richContent&&(e.richContent.kind===`code`||e.richContent.kind===`table`)){let n=i?.[e.id];return Math.max(t,n??240)}return t})(),v=!!(e.richContent&&(e.richContent.kind===`code`||e.richContent.kind===`table`)),y=r?.[e.id],b=v?Math.max(24,y??Math.max(70,Math.ceil(o*5))):0,x=b>0?10:0;if(!e.image)return{w:Math.max(_,g),h:Math.ceil(f+x+b+(h>0?4+h:0))};let S=we(e.image.width,ve,ye);return{w:Math.max(_,g,Math.ceil(S+c*2)),h:Math.ceil(e.image.height+be+f+x+b+(h>0?4+h:0))}}function Te(e,t={}){let n=t.mode??`mindmap`,r=t.preservePositions===!0,i=t.baseFontSize??14,a=t.branchGap??0,o=ke(e,0,null,1,`right`,i,t.richHeights,t.richWidths);return Ae(o,a),Ee(o,n,r,a),o.x=0,o.y=0,je(o,r)}function Ee(e,t,n=!1,r=0){if(t===`mindmap`){let t=e.children;if(t.length!==0)if(t.length===1)t[0]._dir=`right`,t[0].side=1,t[0]._dirRight=1;else{let e=t.reduce((e,t)=>e+t._subtreeH,0),n=1,r=Math.abs(t[0]._subtreeH-(e-t[0]._subtreeH)),i=0;for(let a=0;a<t.length-1;a++){i+=t[a]._subtreeH;let o=Math.abs(i-(e-i));o<r&&(r=o,n=a+1)}for(let e=0;e<n;e++)t[e]._dir=`right`,t[e].side=1,t[e]._dirRight=1;for(let e=n;e<t.length;e++)t[e]._dir=`left`,t[e].side=-1,t[e]._dirRight=-1}let i=e.children.filter(e=>e.side===1),a=e.children.filter(e=>e.side===-1),o=(e,t)=>{let n=t===`right`?1:-1;e._dir=t,e.side=n,e._dirRight=n;for(let n of e.children)o(n,t)};for(let e of i)o(e,`right`);for(let e of a)o(e,`left`);i.length>0&&De({...e,children:i},`right`,le,!0,n,r),a.length>0&&De({...e,children:a},`left`,le,!0,n,r)}else if(t===`tree`){let t=e=>{e.side=1,e._dir=`right`;for(let n of e.children)t(n)};for(let t of e.children)t._dir=`right`;De(e,`right`,le,!0,n,r),t(e)}else{for(let t of e.children)t._dir=`down`;Oe(e,le,n,r)}}function De(e,t,n,r,i=!1,a=0){if(e.children.length===0)return;let o=r?fe+a:fe,s=e.children.reduce((e,t,n)=>e+t._subtreeH+(n>0?o:0),0),c=t===`right`?1:-1,l=r?c:1,u=e.y-l*s/2,d=pe(e.depth);e.children.forEach(r=>{i||(r.x=e.x+c*(e.width/2+d+r.width/2),r.y=u+l*r._subtreeH/2),r._dir=t,u+=l*(r._subtreeH+o),De(r,t,n,!1,i,0)})}function Oe(e,t,n=!1,r=0){if(e.children.length===0)return;let i=e.depth===0?fe+r:fe,a=e.children.reduce((e,t,n)=>e+t._subtreeW+(n>0?i*2:0),0),o=e.x-a/2,s=pe(e.depth);e.children.forEach(r=>{n||(r.x=o+r._subtreeW/2,r.y=e.y+e.height/2+s+r.height/2),r._dir=`down`,o+=r._subtreeW+i*2,Oe(r,t,n,0)})}function ke(e,t,n,r,i,a,o,s){let c=U(e,t,a,o,s),l={id:e.id,text:e.text,depth:t,x:e._x??0,y:e._y??0,width:c.w,height:c.h,fontSize:se(t,a),isRoot:t===0,collapsed:e.collapsed,side:r,_dir:i,_dirRight:r,_subtreeH:c.h,_subtreeW:c.w,image:e.image?{...e.image}:void 0,link:e.link?{url:e.link.url}:void 0,note:e.note?{text:e.note.text}:void 0,richContent:e.richContent?{kind:e.richContent.kind,raw:e.richContent.raw,lang:e.richContent.lang}:void 0,markers:e.markers?[...e.markers]:void 0,tags:e.tags?[...e.tags]:void 0,children:[],parent:n};if(e.collapsed)return l;let u=e.children.length,d=Math.ceil(u/2);return l.children=e.children.map((e,n)=>{let c=t===0?n<d?1:-1:r;return ke(e,t+1,l,c,i,a,o,s)}),l}function Ae(e,t=0){let n=[e];for(let e=0;e<n.length;e++){let t=n[e];for(let e of t.children)n.push(e)}for(let e=n.length-1;e>=0;e--){let r=n[e];if(r.collapsed||r.children.length===0){r._subtreeH=r.height,r._subtreeW=r.width;continue}let i=r.depth===0?fe+t:fe,a=0,o=0;for(let e of r.children)a+=e._subtreeH,o+=e._subtreeW;r.children.length>1&&(a+=i*(r.children.length-1),o+=i*2*(r.children.length-1)),r._subtreeH=Math.max(r.height,a),r._subtreeW=Math.max(r.width,o)}}function je(e,t=!1){let n=[e],r=1/0,i=-1/0,a=1/0,o=-1/0;for(;n.length;){let e=n.pop(),t=e.width/2,s=e.height/2;e.x-t<r&&(r=e.x-t),e.x+t>i&&(i=e.x+t),e.y-s<a&&(a=e.y-s),e.y+s>o&&(o=e.y+s),n.push(...e.children)}if(t)return{root:e,width:i-r+H*2,height:o-a+H*2,vbX:r-H,vbY:a-H,vbW:i-r+H*2,vbH:o-a+H*2};let s=H-a,c=[e];for(;c.length;){let e=c.pop();e.y+=s,c.push(...e.children)}return a+=s,o+=s,{root:e,width:i-r+H*2,height:o+H,vbX:r-H,vbY:0,vbW:i-r+H*2,vbH:o+H}}var Me=[{id:`default`,name:`默认`,colors:[`#f87171`,`#fb923c`,`#fbbf24`,`#a3e635`,`#34d399`,`#22d3ee`,`#818cf8`,`#c084fc`]},{id:`classic`,name:`经典`,colors:[`#ef4444`,`#f59e0b`,`#10b981`,`#3b82f6`,`#6366f1`,`#8b5cf6`,`#ec4899`,`#14b8a6`]},{id:`vivid`,name:`活力`,colors:[`#dc2626`,`#ea580c`,`#ca8a04`,`#16a34a`,`#0891b2`,`#2563eb`,`#7c3aed`,`#db2777`]},{id:`dev`,name:`代码`,colors:[`#f472b6`,`#a78bfa`,`#60a5fa`,`#38bdf8`,`#22d3ee`,`#34d399`,`#facc15`,`#fb923c`]},{id:`mint`,name:`薄荷`,colors:[`#5eead4`,`#67e8f9`,`#93c5fd`,`#c4b5fd`,`#fbcfe8`,`#fde68a`,`#a7f3d0`,`#bae6fd`]}];function Ne(e,t=[]){return[...Me,...t].find(t=>t.id===e)??Me[0]}function Pe(e,t=8){let n=[],r=new Set,i=/#[0-9a-fA-F]{3,8}\b|rgba?\([^)]+\)|[A-Za-z][A-Za-z0-9_-]{2,30}/g,a;for(;(a=i.exec(e))!==null;){let e=a[0],i=null;if(i=e.startsWith(`#`)?Fe(e):e.startsWith(`rgb`)?Ie(e):Le[e.toLowerCase()]??null,!i)continue;let o=i.toLowerCase();if(!r.has(o)&&(r.add(o),n.push(o),n.length>=t))break}return n}function Fe(e){let t=e.startsWith(`#`)?e.slice(1):e;if(!/^[0-9a-fA-F]+$/.test(t))return null;let n;if(t.length===3)n=t.split(``).map(e=>e+e).join(``);else if(t.length===4)n=t.slice(0,3).split(``).map(e=>e+e).join(``);else if(t.length===6)n=t;else if(t.length===8)n=t.slice(0,6);else return null;return`#`+n.toLowerCase()}function Ie(e){let t=e.match(/^rgba?\(\s*([^)]+?)\s*\)$/i);if(!t)return null;let n=t[1].split(/\s*,\s*/);if(n.length<3)return null;let r=[];for(let e=0;e<3;e++){let t=n[e];if(t.endsWith(`%`)){let e=parseFloat(t);if(!isFinite(e))return null;r.push(Math.round(e/100*255))}else{let e=parseInt(t,10);if(!isFinite(e)||e<0||e>255)return null;r.push(e)}}return`#`+r.map(e=>e.toString(16).padStart(2,`0`)).join(``).toLowerCase()}var Le={black:`#000000`,white:`#ffffff`,red:`#ff0000`,green:`#008000`,blue:`#0000ff`,yellow:`#ffff00`,cyan:`#00ffff`,magenta:`#ff00ff`,gray:`#808080`,grey:`#808080`,silver:`#c0c0c0`,maroon:`#800000`,olive:`#808000`,lime:`#00ff00`,aqua:`#00ffff`,teal:`#008080`,navy:`#000080`,fuchsia:`#ff00ff`,purple:`#800080`,orange:`#ffa500`,pink:`#ffc0cb`,brown:`#a52a2a`,gold:`#ffd700`,coral:`#ff7f50`,tomato:`#ff6347`,salmon:`#fa8072`,khaki:`#f0e68c`,violet:`#ee82ee`,indigo:`#4b0082`,turquoise:`#40e0d0`,chocolate:`#d2691e`,crimson:`#dc143c`,darkred:`#8b0000`,darkblue:`#00008b`,darkgreen:`#006400`,darkgray:`#a9a9a9`,darkgrey:`#a9a9a9`,lightgray:`#d3d3d3`,lightgrey:`#d3d3d3`,lightblue:`#add8e6`,lightgreen:`#90ee90`,lightyellow:`#ffffe0`,lightpink:`#ffb6c1`,skyblue:`#87ceeb`,forestgreen:`#228b22`,royalblue:`#4169e1`,steelblue:`#4682b4`,hotpink:`#ff69b4`,deeppink:`#ff1493`,orangered:`#ff4500`,goldenrod:`#daa520`,mediumpurple:`#9370db`};function Re(){return`n_`+Math.random().toString(36).slice(2,10)+Date.now().toString(36).slice(-4)}function ze(e){return JSON.parse(JSON.stringify(e))}function W(e,t){if(e.id===t)return e;for(let n of e.children){let e=W(n,t);if(e)return e}return null}function G(e,t,n=null){if(e.id===t)return n;for(let n of e.children){let r=G(n,t,e);if(r!==null)return r}return null}function Be(e,t){let n=e.children.findIndex(e=>e.id===t);if(n>=0)return e.children.splice(n,1),!0;for(let n of e.children)if(Be(n,t))return!0;return!1}function Ve(e,t,n){let r=W(e,t);return!r||r.text===n?!1:(r.text=n,!0)}function He(e,t,n,r){if(!G(e,t)||t===n||W(W(e,t),n))return!1;let i=G(e,t),a=i.children.findIndex(e=>e.id===t);if(a<0)return!1;let[o]=i.children.splice(a,1);if(r===`child`){let t=W(e,n);return t?(t.children.push(o),!0):(i.children.splice(a,0,o),!1)}let s=G(e,n);if(!s)return i.children.splice(a,0,o),!1;let c=s.children.findIndex(e=>e.id===n);return c<0?(i.children.splice(a,0,o),!1):(r===`after`&&(c+=1),s.children.splice(c,0,o),!0)}function Ue(e){let t=/^新节点(?:\s+(\d+))?$/,n=0,r=!1;for(let i of e.children){let e=i.text.match(t);if(e)if(e[1]){let t=parseInt(e[1],10);t>n&&(n=t)}else r=!0}return n===0&&!r?Ze:n>0?`新节点 ${n+1}`:`新节点 2`}function We(e,t,n){let r=W(e,t);if(!r)return null;let i={id:Re(),text:n??Ue(r),children:[]};return r.children.push(i),i}function Ge(e,t,n){let r=G(e,t);if(!r)return null;let i=r.children.findIndex(e=>e.id===t);if(i<0)return null;let a={id:Re(),text:n??Ue(r),children:[]};return r.children.splice(i+1,0,a),a}function Ke(e,t,n){let r=G(e,t);if(!r)return null;let i=r.children.findIndex(e=>e.id===t);if(i<0)return null;let a={id:Re(),text:n,children:[]};return r.children.splice(i,0,a),a}function qe(e,t){let n=G(e,t);if(!n)return null;let r=n.children.findIndex(e=>e.id===t);if(r<0)return null;let i=n.children[r],a=ze(i);return Je(a),n.children.splice(r+1,0,a),a}function Je(e){e.id=Re();for(let t of e.children)Je(t)}function Ye(e,t){let n=W(e,t);if(!n||n.id===e.id)return null;let r=ze(n);return Je(r),r}function Xe(e){return e.children.reduce((e,t)=>e+1+Xe(t),0)}var Ze=`新节点`;function Qe(e,t=`导入的导图`){let n=e.split(/\r?\n/),r={id:Re(),text:t,children:[]},i=[r],a=[-1/0],o=[],s=/^(#{1,6})\s+(.+?)\s*#*\s*$/,c=/^!\[([^\]]*)\]\((\S+?)(?:\s+"[^"]*")?\)\s*$/,l=/^\[([^\]]+)\]\((\S+?)(?:\s+"[^"]*")?\)\s*$/,u=/^(`{3,}|~{3,})\s*(\S+)?\s*$/,d=!1,f=[],p=null;function m(e){f.push(e)}function h(){if(p&&f.length>0){for(;f.length>0&&f[0].trim()===``;)f.shift();for(;f.length>0&&f[f.length-1].trim()===``;)f.pop();let e=f.join(`
4
4
  `);e&&(p.note={text:e})}d=!1,f=[]}for(let e of n){if(d){let t=e.match(u);if(t&&t[1][0]==="`"){h();continue}m(e);continue}let t=e.match(s);if(t){let e=t[1].length,n=t[2].trim();o.push({level:e,text:n,body:``}),p=o[o.length-1];continue}let n=e.match(u);if(n&&n[2]===`note`){d=!0,f=[];continue}let r=e.match(c);if(r&&p){let e=r[2];p.image={src:e,naturalW:160,naturalH:120,width:160,height:120};continue}let i=e.match(l);if(i&&p){p.link={url:i[2]},p.text=i[1];continue}if(e.trim().length>0&&p){let t=e.trim();p.body=p.body?p.body+`