@oneworks/client 0.1.0-alpha.0 → 0.1.0-beta.0

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 (185) hide show
  1. package/dist/assets/ActionSearchToolbar-8q-bk3mu.js +1 -0
  2. package/dist/assets/ActionSearchToolbar-CMBns0Zm.css +1 -0
  3. package/dist/assets/AgentRoomRoute-DfSI_dFH.js +1 -0
  4. package/dist/assets/AgentRoomSessionRoute-DH9PdjZm.js +3 -0
  5. package/dist/assets/ArchiveRoute-E9-htB4H.js +1 -0
  6. package/dist/assets/{AuthenticatedApp-BTs4l2pB.js → AuthenticatedApp-CgBrvMuc.js} +236 -224
  7. package/dist/assets/AuthenticatedApp-scWyvbOf.css +1 -0
  8. package/dist/assets/AutomationRoute-Bw2xw5bx.js +1 -0
  9. package/dist/assets/BenchmarkRoute-3VS17jHr.js +21 -0
  10. package/dist/assets/ChatRoute-CBQ3j4Je.js +2 -0
  11. package/dist/assets/Collapse-B-oCiEx4.js +10 -0
  12. package/dist/assets/{ComposerLanding-Cl6zfbOm.js → ComposerLanding-SZn_zRGX.js} +4 -4
  13. package/dist/assets/ConfigEditors-BuDavOAj.css +1 -0
  14. package/dist/assets/ConfigRoute-Dv-7BRGG.js +28 -0
  15. package/dist/assets/ConfigRoute-TW2qRRNP.css +1 -0
  16. package/dist/assets/InteractionStructureRoute-FDl9jRvT.js +1 -0
  17. package/dist/assets/KnowledgeRoute-C5em_VSL.js +1 -0
  18. package/dist/assets/LauncherApp-olYmK_zO.js +2 -0
  19. package/dist/assets/LauncherRoute-NsK8KCzb.css +1 -0
  20. package/dist/assets/LauncherRoute-Qt8dQkIk.js +2 -0
  21. package/dist/assets/MobileAwareSelect-BmK6WApn.js +37 -0
  22. package/dist/assets/MobileAwareSelect-BySpAJpa.css +1 -0
  23. package/dist/assets/{ModuleManagementRoute-DQACRan1.js → ModuleManagementRoute-B1I_8JKc.js} +3 -3
  24. package/dist/assets/NotFoundRoute-Bj6_YY3I.js +1 -0
  25. package/dist/assets/PluginStoreRoute-B847PAZ5.js +1 -0
  26. package/dist/assets/PluginStoreRoute-Cfalv335.css +1 -0
  27. package/dist/assets/RouteContainerPanelTabs-BnIptVwq.js +11 -0
  28. package/dist/assets/RouteContainerPanelTabs-DAjUmk7i.css +1 -0
  29. package/dist/assets/SchemaObjectEditor-B9fPfDyT.js +1 -0
  30. package/dist/assets/StandaloneMobileDebugRoute-BR4w_LeM.js +1 -0
  31. package/dist/assets/StandaloneMobileDebugRoute-DuOLjUb9.css +1 -0
  32. package/dist/assets/WorkspaceApp-BNmtIdn4.js +9 -0
  33. package/dist/assets/agent-room-session-paths-CYMSFD9m.css +32 -0
  34. package/dist/assets/agent-room-session-paths-Dca8S6NN.js +537 -0
  35. package/dist/assets/{arc-BXsvCKst.js → arc-JBUpUV6M.js} +1 -1
  36. package/dist/assets/azure-C6wcxVWu.ico +0 -0
  37. package/dist/assets/{blockDiagram-c4efeb88-hc-xNCrG.js → blockDiagram-c4efeb88-DKhNwgEQ.js} +2 -2
  38. package/dist/assets/{c4Diagram-c83219d4-DVHTOuVr.js → c4Diagram-c83219d4-CWODEGms.js} +2 -2
  39. package/dist/assets/channel-BsuHYNQO.js +1 -0
  40. package/dist/assets/classDiagram-beda092f-DlghsOqF.js +2 -0
  41. package/dist/assets/classDiagram-v2-2358418a-CrSR8gWz.js +2 -0
  42. package/dist/assets/client-build-info-bcijLdfD.js +1 -0
  43. package/dist/assets/clone-BKV6leIk.js +1 -0
  44. package/dist/assets/{createText-1719965b-x3Mhf0Jh.js → createText-1719965b-CLlPr73k.js} +1 -1
  45. package/dist/assets/cssMode-Bt_74RVV.js +1 -0
  46. package/dist/assets/customParseFormat-DwjB960X.js +1 -0
  47. package/dist/assets/dockPanelConstants-4XXOUD0A.css +1 -0
  48. package/dist/assets/dockPanelConstants-BWuu_DJp.js +8 -0
  49. package/dist/assets/{edges-96097737-COVuSxRY.js → edges-96097737-L_gy1fky.js} +1 -1
  50. package/dist/assets/{erDiagram-0228fc6a-WcgqCWce.js → erDiagram-0228fc6a-X1QMD6me.js} +2 -2
  51. package/dist/assets/{flowDb-c6c81e3f-nYly38YN.js → flowDb-c6c81e3f-DNdWK0Po.js} +1 -1
  52. package/dist/assets/{flowDiagram-50d868cf-DLYALlBY.js → flowDiagram-50d868cf-C2khStgw.js} +2 -2
  53. package/dist/assets/flowDiagram-v2-4f6560a1-DW5hyUju.js +1 -0
  54. package/dist/assets/{flowchart-elk-definition-6af322e1-Da8rP8k4.js → flowchart-elk-definition-6af322e1-C89sxd2D.js} +2 -2
  55. package/dist/assets/{freemarker2-OWISI6Bb.js → freemarker2-DZ1XIuHj.js} +2 -2
  56. package/dist/assets/ganttDiagram-a2739b55-Ba3rPNKd.js +257 -0
  57. package/dist/assets/gemini-B9inYaVW.png +0 -0
  58. package/dist/assets/{gitGraphDiagram-82fe8481-DCk8Jny9.js → gitGraphDiagram-82fe8481-DTEFHHtN.js} +2 -2
  59. package/dist/assets/{graph-DvFQr_wY.js → graph-BPujwFoF.js} +1 -1
  60. package/dist/assets/handlebars-lOgsnnQw.js +1 -0
  61. package/dist/assets/html-DLHadu9L.js +1 -0
  62. package/dist/assets/htmlMode-VeiQ-IsQ.js +1 -0
  63. package/dist/assets/{index-5325376f-CRF6GGjL.js → index-5325376f-Cx2RM6pk.js} +1 -1
  64. package/dist/assets/{index-BnZLa3J3.js → index-CBFCjoHv.js} +2 -2
  65. package/dist/assets/index-CJEVYkL9.js +1 -0
  66. package/dist/assets/index-CWmEuVWV.js +36 -0
  67. package/dist/assets/index-Cp4GfHnF.js +727 -0
  68. package/dist/assets/index-D4eelxQF.js +13 -0
  69. package/dist/assets/index-DBUG8CzV.js +3 -0
  70. package/dist/assets/index-jfuA2A4w.css +1 -0
  71. package/dist/assets/index-sFqkb8xv.js +13 -0
  72. package/dist/assets/{infoDiagram-8eee0895-dVa2Kh9_.js → infoDiagram-8eee0895-Bj9hWnDg.js} +2 -2
  73. package/dist/assets/interaction-panel-mobile-debug-pages-1Gdivksn.js +113 -0
  74. package/dist/assets/interaction-panel-mobile-debug-pages-8AAd4Csf.css +1 -0
  75. package/dist/assets/javascript-CXJw-bvU.js +1 -0
  76. package/dist/assets/{journeyDiagram-c64418c1-BJCT1TJ7.js → journeyDiagram-c64418c1-BXAycrrn.js} +2 -2
  77. package/dist/assets/{jsonMode-RsjNGxUQ.js → jsonMode-DmUNJfpX.js} +4 -4
  78. package/dist/assets/{layout-BMZRkCUf.js → layout-Bp8GVMnq.js} +1 -1
  79. package/dist/assets/{line-C99msl9T.js → line-olpPNgnh.js} +1 -1
  80. package/dist/assets/{linear-CJHB38BG.js → linear-flh_7ux_.js} +1 -1
  81. package/dist/assets/liquid-BiVpRgBP.js +1 -0
  82. package/dist/assets/{lspLanguageFeatures-D8zjArb3.js → lspLanguageFeatures-olWF83eX.js} +1 -1
  83. package/dist/assets/mdx-B5dr7YB-.js +1 -0
  84. package/dist/assets/{mermaid.core-DWzpZH_g.js → mermaid.core-NVIiXnRA.js} +4 -4
  85. package/dist/assets/micu-dUcmmgZZ.png +0 -0
  86. package/dist/assets/{mindmap-definition-8da855dc-DulNL_Ks.js → mindmap-definition-8da855dc-BOCh8K8K.js} +2 -2
  87. package/dist/assets/minimax-B5WRVrUt.png +0 -0
  88. package/dist/assets/openai-ABb0YGGa.svg +71 -0
  89. package/dist/assets/openrouter-CsJ_bD5Q.ico +0 -0
  90. package/dist/assets/{pieDiagram-a8764435-CHfubQBm.js → pieDiagram-a8764435-CCitKBQK.js} +3 -3
  91. package/dist/assets/project-file-tree-icons-DXkdVC0r.css +1 -0
  92. package/dist/assets/project-file-tree-icons-DqqhgvoI.js +2 -0
  93. package/dist/assets/python-BkEOPIle.js +1 -0
  94. package/dist/assets/{quadrantDiagram-1e28029f-CFHca9nu.js → quadrantDiagram-1e28029f-C_FvcHzZ.js} +2 -2
  95. package/dist/assets/qwen-Cla2cGrM.svg +107 -0
  96. package/dist/assets/razor-BCMQgdis.js +1 -0
  97. package/dist/assets/requesty-DAzbbw8F.ico +0 -0
  98. package/dist/assets/{requirementDiagram-08caed73-ClrFG92W.js → requirementDiagram-08caed73-B001ugYd.js} +2 -2
  99. package/dist/assets/route-plugin-chrome-B-Goj3vG.js +1 -0
  100. package/dist/assets/sankeyDiagram-a04cb91d-BnkC9YW5.js +8 -0
  101. package/dist/assets/{sequenceDiagram-c5b8d532-ZoeuLa-n.js → sequenceDiagram-c5b8d532-BGiFCs5z.js} +2 -2
  102. package/dist/assets/shortcutUtils-20iqPDwh.js +27 -0
  103. package/dist/assets/stateDiagram-1ecb1508-Uk4XxTkP.js +1 -0
  104. package/dist/assets/stateDiagram-v2-c2b004d7-Db6Ouywh.js +1 -0
  105. package/dist/assets/{styles-b4e223ce-0VFG2Z9W.js → styles-b4e223ce-CfG45yIm.js} +1 -1
  106. package/dist/assets/{styles-ca3715f6-DaJIsB-N.js → styles-ca3715f6-BGGbMvKc.js} +1 -1
  107. package/dist/assets/{styles-d45a18b0-DT8DH24o.js → styles-d45a18b0-mHteeqS2.js} +1 -1
  108. package/dist/assets/{svgDrawCommon-b86b1483-DxTZXiLW.js → svgDrawCommon-b86b1483-BAMR2PsF.js} +1 -1
  109. package/dist/assets/{timeline-definition-faaaa080-lu3ppiNq.js → timeline-definition-faaaa080-DLBoPuJD.js} +2 -2
  110. package/dist/assets/{tsMode-B6pOKC1l.js → tsMode-BTzZ8Zos.js} +2 -2
  111. package/dist/assets/typescript-_rLmAd51.js +1 -0
  112. package/dist/assets/use-app-preferences-gyulV-hA.js +1 -0
  113. package/dist/assets/use-chat-session-actions-DDZ5KCua.js +2 -0
  114. package/dist/assets/{vendor-react-BNJ5yonH.js → vendor-react-CnooHTJc.js} +1 -1
  115. package/dist/assets/vendor-state-BYwEPTaO.js +1 -0
  116. package/dist/assets/worker-BZxxbL_z.js +1 -0
  117. package/dist/assets/workspace-file-openers-BwZ5cSeq.js +1 -0
  118. package/dist/assets/workspace-file-openers-fM4AQXug.css +1 -0
  119. package/dist/assets/xml-BAU8TJ-c.js +1 -0
  120. package/dist/assets/{xychartDiagram-f5964ef8-DvmrNK0s.js → xychartDiagram-f5964ef8-CNfcxTsi.js} +2 -2
  121. package/dist/assets/yaml-_cphTIn0.js +1 -0
  122. package/dist/assets/yunwu-C0h7koCA.png +0 -0
  123. package/dist/assets/zhipu-CWmkm5qz.png +0 -0
  124. package/dist/index.html +4 -4
  125. package/dist/sw.js +5 -3
  126. package/package.json +20 -15
  127. package/dist/assets/AgentRoomRoute-rNmmPMvh.js +0 -1
  128. package/dist/assets/AgentRoomSessionRoute-Dg8yQRY_.js +0 -1
  129. package/dist/assets/ArchiveRoute-BWE_JVjl.js +0 -1
  130. package/dist/assets/AuthenticatedApp-Bop-GglJ.css +0 -1
  131. package/dist/assets/AutomationRoute-CoJ8YGK2.js +0 -1
  132. package/dist/assets/BenchmarkRoute-BcRZ1AFC.js +0 -21
  133. package/dist/assets/ChatRoute-DBN4uo7j.js +0 -1
  134. package/dist/assets/Collapse-DDrFhfKr.js +0 -8
  135. package/dist/assets/ConfigEditors-jcXiTWRg.css +0 -1
  136. package/dist/assets/ConfigRoute-D5zxs-kv.css +0 -1
  137. package/dist/assets/ConfigRoute-z5Dj1ihn.js +0 -2
  138. package/dist/assets/ConfigSectionPanel-DHIwutHm.js +0 -13
  139. package/dist/assets/DockPanel-DuxVeJzf.js +0 -11
  140. package/dist/assets/DockPanel-HEMeJ1MR.css +0 -1
  141. package/dist/assets/InteractionStructureRoute-B8yJdycA.js +0 -1
  142. package/dist/assets/KnowledgeRoute-BPYnBocT.js +0 -1
  143. package/dist/assets/LauncherApp-BqKOigOK.js +0 -2
  144. package/dist/assets/LauncherRoute-C1g-gjbs.js +0 -2
  145. package/dist/assets/LauncherRoute-DtjtKtXc.css +0 -1
  146. package/dist/assets/PluginStoreRoute-Bny2x-oC.css +0 -1
  147. package/dist/assets/PluginStoreRoute-CGIBez_4.js +0 -3
  148. package/dist/assets/SchemaObjectEditor-BdzgIkYh.js +0 -1
  149. package/dist/assets/WorkspaceApp-DGL3CHCp.js +0 -46
  150. package/dist/assets/agent-room-session-paths-Bl0JdX79.js +0 -153
  151. package/dist/assets/agent-room-session-paths-CCE5rS0K.css +0 -32
  152. package/dist/assets/channel-X7k9544o.js +0 -1
  153. package/dist/assets/classDiagram-beda092f-C--_J0De.js +0 -2
  154. package/dist/assets/classDiagram-v2-2358418a-VLoB_o-4.js +0 -2
  155. package/dist/assets/client-build-info-CUyezPn4.js +0 -37
  156. package/dist/assets/client-build-info-CgBKDSmG.css +0 -1
  157. package/dist/assets/clone-BsR4Dtrm.js +0 -1
  158. package/dist/assets/copy-OJ_6Pvs2.js +0 -28
  159. package/dist/assets/cssMode-Dg95dCSS.js +0 -1
  160. package/dist/assets/flowDiagram-v2-4f6560a1-DZXqc8d3.js +0 -1
  161. package/dist/assets/ganttDiagram-a2739b55-SFoaaNUl.js +0 -257
  162. package/dist/assets/handlebars-DvhbIeVz.js +0 -1
  163. package/dist/assets/html-B6ANaoGC.js +0 -1
  164. package/dist/assets/htmlMode-CA_KA1J8.js +0 -1
  165. package/dist/assets/index-BfLbHhFR.js +0 -13
  166. package/dist/assets/index-C9FQLbWu.js +0 -1
  167. package/dist/assets/index-DA1kZA8X.css +0 -1
  168. package/dist/assets/index-Dn-Bbs_z.js +0 -705
  169. package/dist/assets/javascript-qaeO24NX.js +0 -1
  170. package/dist/assets/liquid-yYJuHMAu.js +0 -1
  171. package/dist/assets/mdx-CrAkCLhE.js +0 -1
  172. package/dist/assets/python-h0Aqhxqi.js +0 -1
  173. package/dist/assets/razor-DalkOWO-.js +0 -1
  174. package/dist/assets/sankeyDiagram-a04cb91d-C9DgEVjM.js +0 -8
  175. package/dist/assets/stateDiagram-1ecb1508-DDRxhJDf.js +0 -1
  176. package/dist/assets/stateDiagram-v2-c2b004d7-CIob4OCF.js +0 -1
  177. package/dist/assets/typescript-Bn-lx_lA.js +0 -1
  178. package/dist/assets/use-app-preferences-B4K999VJ.js +0 -1
  179. package/dist/assets/use-chat-session-actions-5N-NQ9my.js +0 -2
  180. package/dist/assets/use-project-theme-preview-sources-5CPt1X2N.js +0 -1
  181. package/dist/assets/vendor-state-CBVXPiKY.js +0 -1
  182. package/dist/assets/workspace-file-openers-DAuX65xw.js +0 -1
  183. package/dist/assets/workspace-file-openers-erSFu-UO.css +0 -1
  184. package/dist/assets/xml-C1SO5DSd.js +0 -1
  185. package/dist/assets/yaml-DihjE03_.js +0 -1
@@ -1 +1 @@
1
- import{B as $,C as He,S as T,D as y,E as Ye,F as Ze,G as Ae,H as qe,I as Oe,J as x,K as q,L as Xe,M as Te,N as Je,O as C,P as Ee,Q as D,R as me,T as Qe,U as Y,V as We,W as ze,X as L,Y as Ve,Z as ke,_ as en,$ as ne,a0 as nn,a1 as rn,a2 as tn,a3 as we,a4 as sn,a5 as j,a6 as an,a7 as un,a8 as N,a9 as re,aa as te}from"./mermaid.core-DWzpZH_g.js";var fn="[object Symbol]";function X(e){return typeof e=="symbol"||$(e)&&He(e)==fn}function Pe(e,n){for(var r=-1,t=e==null?0:e.length,i=Array(t);++r<t;)i[r]=n(e[r],r,e);return i}var ie=T?T.prototype:void 0,se=ie?ie.toString:void 0;function ve(e){if(typeof e=="string")return e;if(y(e))return Pe(e,ve)+"";if(X(e))return se?se.call(e):"";var n=e+"";return n=="0"&&1/e==-1/0?"-0":n}function on(){}function Le(e,n){for(var r=-1,t=e==null?0:e.length;++r<t&&n(e[r],r,e)!==!1;);return e}function dn(e,n,r,t){for(var i=e.length,s=r+-1;++s<i;)if(n(e[s],s,e))return s;return-1}function hn(e){return e!==e}function ln(e,n,r){for(var t=r-1,i=e.length;++t<i;)if(e[t]===n)return t;return-1}function gn(e,n,r){return n===n?ln(e,n,r):dn(e,hn,r)}function cn(e,n){var r=e==null?0:e.length;return!!r&&gn(e,n,0)>-1}function O(e){return Ae(e)?Ye(e):Ze(e)}var _n=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,pn=/^\w*$/;function J(e,n){if(y(e))return!1;var r=typeof e;return r=="number"||r=="symbol"||r=="boolean"||e==null||X(e)?!0:pn.test(e)||!_n.test(e)||n!=null&&e in Object(n)}var bn=500;function yn(e){var n=qe(e,function(t){return r.size===bn&&r.clear(),t}),r=n.cache;return n}var An=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,On=/\\(\\)?/g,Tn=yn(function(e){var n=[];return e.charCodeAt(0)===46&&n.push(""),e.replace(An,function(r,t,i,s){n.push(i?s.replace(On,"$1"):t||r)}),n});function En(e){return e==null?"":ve(e)}function $e(e,n){return y(e)?e:J(e,n)?[e]:Tn(En(e))}function G(e){if(typeof e=="string"||X(e))return e;var n=e+"";return n=="0"&&1/e==-1/0?"-0":n}function Ce(e,n){n=$e(n,e);for(var r=0,t=n.length;e!=null&&r<t;)e=e[G(n[r++])];return r&&r==t?e:void 0}function mn(e,n,r){var t=e==null?void 0:Ce(e,n);return t===void 0?r:t}function Q(e,n){for(var r=-1,t=n.length,i=e.length;++r<t;)e[i+r]=n[r];return e}var ae=T?T.isConcatSpreadable:void 0;function wn(e){return y(e)||Oe(e)||!!(ae&&e&&e[ae])}function Pn(e,n,r,t,i){var s=-1,a=e.length;for(r||(r=wn),i||(i=[]);++s<a;){var u=e[s];r(u)?Q(i,u):t||(i[i.length]=u)}return i}function vn(e,n,r,t){var i=-1,s=e==null?0:e.length;for(t&&s&&(r=e[++i]);++i<s;)r=n(r,e[i],i,e);return r}function Ln(e,n){return e&&x(n,O(n),e)}function $n(e,n){return e&&x(n,q(n),e)}function Ie(e,n){for(var r=-1,t=e==null?0:e.length,i=0,s=[];++r<t;){var a=e[r];n(a,r,e)&&(s[i++]=a)}return s}function Se(){return[]}var Cn=Object.prototype,In=Cn.propertyIsEnumerable,ue=Object.getOwnPropertySymbols,W=ue?function(e){return e==null?[]:(e=Object(e),Ie(ue(e),function(n){return In.call(e,n)}))}:Se;function Sn(e,n){return x(e,W(e),n)}var Fn=Object.getOwnPropertySymbols,Fe=Fn?function(e){for(var n=[];e;)Q(n,W(e)),e=Xe(e);return n}:Se;function Nn(e,n){return x(e,Fe(e),n)}function Ne(e,n,r){var t=n(e);return y(e)?t:Q(t,r(e))}function Z(e){return Ne(e,O,W)}function Mn(e){return Ne(e,q,Fe)}var Rn=Object.prototype,Dn=Rn.hasOwnProperty;function xn(e){var n=e.length,r=new e.constructor(n);return n&&typeof e[0]=="string"&&Dn.call(e,"index")&&(r.index=e.index,r.input=e.input),r}function Gn(e,n){var r=n?Te(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}var jn=/\w*$/;function Un(e){var n=new e.constructor(e.source,jn.exec(e));return n.lastIndex=e.lastIndex,n}var fe=T?T.prototype:void 0,oe=fe?fe.valueOf:void 0;function Bn(e){return oe?Object(oe.call(e)):{}}var Kn="[object Boolean]",Hn="[object Date]",Yn="[object Map]",Zn="[object Number]",qn="[object RegExp]",Xn="[object Set]",Jn="[object String]",Qn="[object Symbol]",Wn="[object ArrayBuffer]",zn="[object DataView]",Vn="[object Float32Array]",kn="[object Float64Array]",er="[object Int8Array]",nr="[object Int16Array]",rr="[object Int32Array]",tr="[object Uint8Array]",ir="[object Uint8ClampedArray]",sr="[object Uint16Array]",ar="[object Uint32Array]";function ur(e,n,r){var t=e.constructor;switch(n){case Wn:return Te(e);case Kn:case Hn:return new t(+e);case zn:return Gn(e,r);case Vn:case kn:case er:case nr:case rr:case tr:case ir:case sr:case ar:return Je(e,r);case Yn:return new t;case Zn:case Jn:return new t(e);case qn:return Un(e);case Xn:return new t;case Qn:return Bn(e)}}var fr="[object Map]";function or(e){return $(e)&&C(e)==fr}var de=D&&D.isMap,dr=de?Ee(de):or,hr="[object Set]";function lr(e){return $(e)&&C(e)==hr}var he=D&&D.isSet,gr=he?Ee(he):lr,cr=1,_r=2,pr=4,Me="[object Arguments]",br="[object Array]",yr="[object Boolean]",Ar="[object Date]",Or="[object Error]",Re="[object Function]",Tr="[object GeneratorFunction]",Er="[object Map]",mr="[object Number]",De="[object Object]",wr="[object RegExp]",Pr="[object Set]",vr="[object String]",Lr="[object Symbol]",$r="[object WeakMap]",Cr="[object ArrayBuffer]",Ir="[object DataView]",Sr="[object Float32Array]",Fr="[object Float64Array]",Nr="[object Int8Array]",Mr="[object Int16Array]",Rr="[object Int32Array]",Dr="[object Uint8Array]",xr="[object Uint8ClampedArray]",Gr="[object Uint16Array]",jr="[object Uint32Array]",d={};d[Me]=d[br]=d[Cr]=d[Ir]=d[yr]=d[Ar]=d[Sr]=d[Fr]=d[Nr]=d[Mr]=d[Rr]=d[Er]=d[mr]=d[De]=d[wr]=d[Pr]=d[vr]=d[Lr]=d[Dr]=d[xr]=d[Gr]=d[jr]=!0;d[Or]=d[Re]=d[$r]=!1;function U(e,n,r,t,i,s){var a,u=n&cr,f=n&_r,g=n&pr;if(a!==void 0)return a;if(!me(e))return e;var l=y(e);if(l){if(a=xn(e),!u)return Qe(e,a)}else{var o=C(e),h=o==Re||o==Tr;if(Y(e))return We(e,u);if(o==De||o==Me||h&&!i){if(a=f||h?{}:ze(e),!u)return f?Nn(e,$n(a,e)):Sn(e,Ln(a,e))}else{if(!d[o])return i?e:{};a=ur(e,o,u)}}s||(s=new L);var A=s.get(e);if(A)return A;s.set(e,a),gr(e)?e.forEach(function(c){a.add(U(c,n,r,c,e,s))}):dr(e)&&e.forEach(function(c,_){a.set(_,U(c,n,r,_,e,s))});var p=g?f?Mn:Z:f?q:O,b=l?void 0:p(e);return Le(b||e,function(c,_){b&&(_=c,c=e[_]),Ve(a,_,U(c,n,r,_,e,s))}),a}var Ur="__lodash_hash_undefined__";function Br(e){return this.__data__.set(e,Ur),this}function Kr(e){return this.__data__.has(e)}function I(e){var n=-1,r=e==null?0:e.length;for(this.__data__=new ke;++n<r;)this.add(e[n])}I.prototype.add=I.prototype.push=Br;I.prototype.has=Kr;function Hr(e,n){for(var r=-1,t=e==null?0:e.length;++r<t;)if(n(e[r],r,e))return!0;return!1}function xe(e,n){return e.has(n)}var Yr=1,Zr=2;function Ge(e,n,r,t,i,s){var a=r&Yr,u=e.length,f=n.length;if(u!=f&&!(a&&f>u))return!1;var g=s.get(e),l=s.get(n);if(g&&l)return g==n&&l==e;var o=-1,h=!0,A=r&Zr?new I:void 0;for(s.set(e,n),s.set(n,e);++o<u;){var p=e[o],b=n[o];if(t)var c=a?t(b,p,o,n,e,s):t(p,b,o,e,n,s);if(c!==void 0){if(c)continue;h=!1;break}if(A){if(!Hr(n,function(_,E){if(!xe(A,E)&&(p===_||i(p,_,r,t,s)))return A.push(E)})){h=!1;break}}else if(!(p===b||i(p,b,r,t,s))){h=!1;break}}return s.delete(e),s.delete(n),h}function qr(e){var n=-1,r=Array(e.size);return e.forEach(function(t,i){r[++n]=[i,t]}),r}function z(e){var n=-1,r=Array(e.size);return e.forEach(function(t){r[++n]=t}),r}var Xr=1,Jr=2,Qr="[object Boolean]",Wr="[object Date]",zr="[object Error]",Vr="[object Map]",kr="[object Number]",et="[object RegExp]",nt="[object Set]",rt="[object String]",tt="[object Symbol]",it="[object ArrayBuffer]",st="[object DataView]",le=T?T.prototype:void 0,B=le?le.valueOf:void 0;function at(e,n,r,t,i,s,a){switch(r){case st:if(e.byteLength!=n.byteLength||e.byteOffset!=n.byteOffset)return!1;e=e.buffer,n=n.buffer;case it:return!(e.byteLength!=n.byteLength||!s(new ne(e),new ne(n)));case Qr:case Wr:case kr:return en(+e,+n);case zr:return e.name==n.name&&e.message==n.message;case et:case rt:return e==n+"";case Vr:var u=qr;case nt:var f=t&Xr;if(u||(u=z),e.size!=n.size&&!f)return!1;var g=a.get(e);if(g)return g==n;t|=Jr,a.set(e,n);var l=Ge(u(e),u(n),t,i,s,a);return a.delete(e),l;case tt:if(B)return B.call(e)==B.call(n)}return!1}var ut=1,ft=Object.prototype,ot=ft.hasOwnProperty;function dt(e,n,r,t,i,s){var a=r&ut,u=Z(e),f=u.length,g=Z(n),l=g.length;if(f!=l&&!a)return!1;for(var o=f;o--;){var h=u[o];if(!(a?h in n:ot.call(n,h)))return!1}var A=s.get(e),p=s.get(n);if(A&&p)return A==n&&p==e;var b=!0;s.set(e,n),s.set(n,e);for(var c=a;++o<f;){h=u[o];var _=e[h],E=n[h];if(t)var ee=a?t(E,_,h,n,e,s):t(_,E,h,e,n,s);if(!(ee===void 0?_===E||i(_,E,r,t,s):ee)){b=!1;break}c||(c=h=="constructor")}if(b&&!c){var S=e.constructor,F=n.constructor;S!=F&&"constructor"in e&&"constructor"in n&&!(typeof S=="function"&&S instanceof S&&typeof F=="function"&&F instanceof F)&&(b=!1)}return s.delete(e),s.delete(n),b}var ht=1,ge="[object Arguments]",ce="[object Array]",M="[object Object]",lt=Object.prototype,_e=lt.hasOwnProperty;function gt(e,n,r,t,i,s){var a=y(e),u=y(n),f=a?ce:C(e),g=u?ce:C(n);f=f==ge?M:f,g=g==ge?M:g;var l=f==M,o=g==M,h=f==g;if(h&&Y(e)){if(!Y(n))return!1;a=!0,l=!1}if(h&&!l)return s||(s=new L),a||nn(e)?Ge(e,n,r,t,i,s):at(e,n,f,r,t,i,s);if(!(r&ht)){var A=l&&_e.call(e,"__wrapped__"),p=o&&_e.call(n,"__wrapped__");if(A||p){var b=A?e.value():e,c=p?n.value():n;return s||(s=new L),i(b,c,r,t,s)}}return h?(s||(s=new L),dt(e,n,r,t,i,s)):!1}function V(e,n,r,t,i){return e===n?!0:e==null||n==null||!$(e)&&!$(n)?e!==e&&n!==n:gt(e,n,r,t,V,i)}var ct=1,_t=2;function pt(e,n,r,t){var i=r.length,s=i;if(e==null)return!s;for(e=Object(e);i--;){var a=r[i];if(a[2]?a[1]!==e[a[0]]:!(a[0]in e))return!1}for(;++i<s;){a=r[i];var u=a[0],f=e[u],g=a[1];if(a[2]){if(f===void 0&&!(u in e))return!1}else{var l=new L,o;if(!(o===void 0?V(g,f,ct|_t,t,l):o))return!1}}return!0}function je(e){return e===e&&!me(e)}function bt(e){for(var n=O(e),r=n.length;r--;){var t=n[r],i=e[t];n[r]=[t,i,je(i)]}return n}function Ue(e,n){return function(r){return r==null?!1:r[e]===n&&(n!==void 0||e in Object(r))}}function yt(e){var n=bt(e);return n.length==1&&n[0][2]?Ue(n[0][0],n[0][1]):function(r){return r===e||pt(r,e,n)}}function At(e,n){return e!=null&&n in Object(e)}function Ot(e,n,r){n=$e(n,e);for(var t=-1,i=n.length,s=!1;++t<i;){var a=G(n[t]);if(!(s=e!=null&&r(e,a)))break;e=e[a]}return s||++t!=i?s:(i=e==null?0:e.length,!!i&&rn(i)&&tn(a,i)&&(y(e)||Oe(e)))}function Tt(e,n){return e!=null&&Ot(e,n,At)}var Et=1,mt=2;function wt(e,n){return J(e)&&je(n)?Ue(G(e),n):function(r){var t=mn(r,e);return t===void 0&&t===n?Tt(r,e):V(n,t,Et|mt)}}function Pt(e){return function(n){return n==null?void 0:n[e]}}function vt(e){return function(n){return Ce(n,e)}}function Lt(e){return J(e)?Pt(G(e)):vt(e)}function Be(e){return typeof e=="function"?e:e==null?we:typeof e=="object"?y(e)?wt(e[0],e[1]):yt(e):Lt(e)}function $t(e,n){return e&&sn(e,n,O)}function Ct(e,n){return function(r,t){if(r==null)return r;if(!Ae(r))return e(r,t);for(var i=r.length,s=-1,a=Object(r);++s<i&&t(a[s],s,a)!==!1;);return r}}var k=Ct($t);function It(e){return typeof e=="function"?e:we}function m(e,n){var r=y(e)?Le:k;return r(e,It(n))}function St(e,n){var r=[];return k(e,function(t,i,s){n(t,i,s)&&r.push(t)}),r}function R(e,n){var r=y(e)?Ie:St;return r(e,Be(n))}function Ft(e,n){return Pe(n,function(r){return e[r]})}function K(e){return e==null?[]:Ft(e,O(e))}function P(e){return e===void 0}function Nt(e,n,r,t,i){return i(e,function(s,a,u){r=t?(t=!1,s):n(r,s,a,u)}),r}function Mt(e,n,r){var t=y(e)?vn:Nt,i=arguments.length<3;return t(e,Be(n),r,i,k)}var Rt=1/0,Dt=j&&1/z(new j([,-0]))[1]==Rt?function(e){return new j(e)}:on,xt=200;function Gt(e,n,r){var t=-1,i=cn,s=e.length,a=!0,u=[],f=u;if(s>=xt){var g=Dt(e);if(g)return z(g);a=!1,i=xe,f=new I}else f=u;e:for(;++t<s;){var l=e[t],o=l;if(l=l!==0?l:0,a&&o===o){for(var h=f.length;h--;)if(f[h]===o)continue e;u.push(l)}else i(f,o,r)||(f!==u&&f.push(o),u.push(l))}return u}var jt=an(function(e){return Gt(Pn(e,1,un,!0))}),Ut="\0",w="\0",pe="";class Ke{constructor(n={}){this._isDirected=Object.prototype.hasOwnProperty.call(n,"directed")?n.directed:!0,this._isMultigraph=Object.prototype.hasOwnProperty.call(n,"multigraph")?n.multigraph:!1,this._isCompound=Object.prototype.hasOwnProperty.call(n,"compound")?n.compound:!1,this._label=void 0,this._defaultNodeLabelFn=N(void 0),this._defaultEdgeLabelFn=N(void 0),this._nodes={},this._isCompound&&(this._parent={},this._children={},this._children[w]={}),this._in={},this._preds={},this._out={},this._sucs={},this._edgeObjs={},this._edgeLabels={}}isDirected(){return this._isDirected}isMultigraph(){return this._isMultigraph}isCompound(){return this._isCompound}setGraph(n){return this._label=n,this}graph(){return this._label}setDefaultNodeLabel(n){return re(n)||(n=N(n)),this._defaultNodeLabelFn=n,this}nodeCount(){return this._nodeCount}nodes(){return O(this._nodes)}sources(){var n=this;return R(this.nodes(),function(r){return te(n._in[r])})}sinks(){var n=this;return R(this.nodes(),function(r){return te(n._out[r])})}setNodes(n,r){var t=arguments,i=this;return m(n,function(s){t.length>1?i.setNode(s,r):i.setNode(s)}),this}setNode(n,r){return Object.prototype.hasOwnProperty.call(this._nodes,n)?(arguments.length>1&&(this._nodes[n]=r),this):(this._nodes[n]=arguments.length>1?r:this._defaultNodeLabelFn(n),this._isCompound&&(this._parent[n]=w,this._children[n]={},this._children[w][n]=!0),this._in[n]={},this._preds[n]={},this._out[n]={},this._sucs[n]={},++this._nodeCount,this)}node(n){return this._nodes[n]}hasNode(n){return Object.prototype.hasOwnProperty.call(this._nodes,n)}removeNode(n){if(Object.prototype.hasOwnProperty.call(this._nodes,n)){var r=t=>this.removeEdge(this._edgeObjs[t]);delete this._nodes[n],this._isCompound&&(this._removeFromParentsChildList(n),delete this._parent[n],m(this.children(n),t=>{this.setParent(t)}),delete this._children[n]),m(O(this._in[n]),r),delete this._in[n],delete this._preds[n],m(O(this._out[n]),r),delete this._out[n],delete this._sucs[n],--this._nodeCount}return this}setParent(n,r){if(!this._isCompound)throw new Error("Cannot set parent in a non-compound graph");if(P(r))r=w;else{r+="";for(var t=r;!P(t);t=this.parent(t))if(t===n)throw new Error("Setting "+r+" as parent of "+n+" would create a cycle");this.setNode(r)}return this.setNode(n),this._removeFromParentsChildList(n),this._parent[n]=r,this._children[r][n]=!0,this}_removeFromParentsChildList(n){delete this._children[this._parent[n]][n]}parent(n){if(this._isCompound){var r=this._parent[n];if(r!==w)return r}}children(n){if(P(n)&&(n=w),this._isCompound){var r=this._children[n];if(r)return O(r)}else{if(n===w)return this.nodes();if(this.hasNode(n))return[]}}predecessors(n){var r=this._preds[n];if(r)return O(r)}successors(n){var r=this._sucs[n];if(r)return O(r)}neighbors(n){var r=this.predecessors(n);if(r)return jt(r,this.successors(n))}isLeaf(n){var r;return this.isDirected()?r=this.successors(n):r=this.neighbors(n),r.length===0}filterNodes(n){var r=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});r.setGraph(this.graph());var t=this;m(this._nodes,function(a,u){n(u)&&r.setNode(u,a)}),m(this._edgeObjs,function(a){r.hasNode(a.v)&&r.hasNode(a.w)&&r.setEdge(a,t.edge(a))});var i={};function s(a){var u=t.parent(a);return u===void 0||r.hasNode(u)?(i[a]=u,u):u in i?i[u]:s(u)}return this._isCompound&&m(r.nodes(),function(a){r.setParent(a,s(a))}),r}setDefaultEdgeLabel(n){return re(n)||(n=N(n)),this._defaultEdgeLabelFn=n,this}edgeCount(){return this._edgeCount}edges(){return K(this._edgeObjs)}setPath(n,r){var t=this,i=arguments;return Mt(n,function(s,a){return i.length>1?t.setEdge(s,a,r):t.setEdge(s,a),a}),this}setEdge(){var n,r,t,i,s=!1,a=arguments[0];typeof a=="object"&&a!==null&&"v"in a?(n=a.v,r=a.w,t=a.name,arguments.length===2&&(i=arguments[1],s=!0)):(n=a,r=arguments[1],t=arguments[3],arguments.length>2&&(i=arguments[2],s=!0)),n=""+n,r=""+r,P(t)||(t=""+t);var u=v(this._isDirected,n,r,t);if(Object.prototype.hasOwnProperty.call(this._edgeLabels,u))return s&&(this._edgeLabels[u]=i),this;if(!P(t)&&!this._isMultigraph)throw new Error("Cannot set a named edge when isMultigraph = false");this.setNode(n),this.setNode(r),this._edgeLabels[u]=s?i:this._defaultEdgeLabelFn(n,r,t);var f=Bt(this._isDirected,n,r,t);return n=f.v,r=f.w,Object.freeze(f),this._edgeObjs[u]=f,be(this._preds[r],n),be(this._sucs[n],r),this._in[r][u]=f,this._out[n][u]=f,this._edgeCount++,this}edge(n,r,t){var i=arguments.length===1?H(this._isDirected,arguments[0]):v(this._isDirected,n,r,t);return this._edgeLabels[i]}hasEdge(n,r,t){var i=arguments.length===1?H(this._isDirected,arguments[0]):v(this._isDirected,n,r,t);return Object.prototype.hasOwnProperty.call(this._edgeLabels,i)}removeEdge(n,r,t){var i=arguments.length===1?H(this._isDirected,arguments[0]):v(this._isDirected,n,r,t),s=this._edgeObjs[i];return s&&(n=s.v,r=s.w,delete this._edgeLabels[i],delete this._edgeObjs[i],ye(this._preds[r],n),ye(this._sucs[n],r),delete this._in[r][i],delete this._out[n][i],this._edgeCount--),this}inEdges(n,r){var t=this._in[n];if(t){var i=K(t);return r?R(i,function(s){return s.v===r}):i}}outEdges(n,r){var t=this._out[n];if(t){var i=K(t);return r?R(i,function(s){return s.w===r}):i}}nodeEdges(n,r){var t=this.inEdges(n,r);if(t)return t.concat(this.outEdges(n,r))}}Ke.prototype._nodeCount=0;Ke.prototype._edgeCount=0;function be(e,n){e[n]?e[n]++:e[n]=1}function ye(e,n){--e[n]||delete e[n]}function v(e,n,r,t){var i=""+n,s=""+r;if(!e&&i>s){var a=i;i=s,s=a}return i+pe+s+pe+(P(t)?Ut:t)}function Bt(e,n,r,t){var i=""+n,s=""+r;if(!e&&i>s){var a=i;i=s,s=a}var u={v:i,w:s};return t&&(u.name=t),u}function H(e,n){return v(e,n.v,n.w,n.name)}export{Ke as G,U as a,Pn as b,Be as c,dn as d,k as e,Pe as f,It as g,$t as h,X as i,Ot as j,O as k,$e as l,Ce as m,Tt as n,En as o,m as p,P as q,R as r,Mt as s,G as t,K as v};
1
+ import{B as $,C as He,S as T,D as y,E as Ye,F as Ze,G as Ae,H as qe,I as Oe,J as x,K as q,L as Xe,M as Te,N as Je,O as C,P as Ee,Q as D,R as me,T as Qe,U as Y,V as We,W as ze,X as L,Y as Ve,Z as ke,_ as en,$ as ne,a0 as nn,a1 as rn,a2 as tn,a3 as we,a4 as sn,a5 as j,a6 as an,a7 as un,a8 as N,a9 as re,aa as te}from"./mermaid.core-NVIiXnRA.js";var fn="[object Symbol]";function X(e){return typeof e=="symbol"||$(e)&&He(e)==fn}function Pe(e,n){for(var r=-1,t=e==null?0:e.length,i=Array(t);++r<t;)i[r]=n(e[r],r,e);return i}var ie=T?T.prototype:void 0,se=ie?ie.toString:void 0;function ve(e){if(typeof e=="string")return e;if(y(e))return Pe(e,ve)+"";if(X(e))return se?se.call(e):"";var n=e+"";return n=="0"&&1/e==-1/0?"-0":n}function on(){}function Le(e,n){for(var r=-1,t=e==null?0:e.length;++r<t&&n(e[r],r,e)!==!1;);return e}function dn(e,n,r,t){for(var i=e.length,s=r+-1;++s<i;)if(n(e[s],s,e))return s;return-1}function hn(e){return e!==e}function ln(e,n,r){for(var t=r-1,i=e.length;++t<i;)if(e[t]===n)return t;return-1}function gn(e,n,r){return n===n?ln(e,n,r):dn(e,hn,r)}function cn(e,n){var r=e==null?0:e.length;return!!r&&gn(e,n,0)>-1}function O(e){return Ae(e)?Ye(e):Ze(e)}var _n=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,pn=/^\w*$/;function J(e,n){if(y(e))return!1;var r=typeof e;return r=="number"||r=="symbol"||r=="boolean"||e==null||X(e)?!0:pn.test(e)||!_n.test(e)||n!=null&&e in Object(n)}var bn=500;function yn(e){var n=qe(e,function(t){return r.size===bn&&r.clear(),t}),r=n.cache;return n}var An=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,On=/\\(\\)?/g,Tn=yn(function(e){var n=[];return e.charCodeAt(0)===46&&n.push(""),e.replace(An,function(r,t,i,s){n.push(i?s.replace(On,"$1"):t||r)}),n});function En(e){return e==null?"":ve(e)}function $e(e,n){return y(e)?e:J(e,n)?[e]:Tn(En(e))}function G(e){if(typeof e=="string"||X(e))return e;var n=e+"";return n=="0"&&1/e==-1/0?"-0":n}function Ce(e,n){n=$e(n,e);for(var r=0,t=n.length;e!=null&&r<t;)e=e[G(n[r++])];return r&&r==t?e:void 0}function mn(e,n,r){var t=e==null?void 0:Ce(e,n);return t===void 0?r:t}function Q(e,n){for(var r=-1,t=n.length,i=e.length;++r<t;)e[i+r]=n[r];return e}var ae=T?T.isConcatSpreadable:void 0;function wn(e){return y(e)||Oe(e)||!!(ae&&e&&e[ae])}function Pn(e,n,r,t,i){var s=-1,a=e.length;for(r||(r=wn),i||(i=[]);++s<a;){var u=e[s];r(u)?Q(i,u):t||(i[i.length]=u)}return i}function vn(e,n,r,t){var i=-1,s=e==null?0:e.length;for(t&&s&&(r=e[++i]);++i<s;)r=n(r,e[i],i,e);return r}function Ln(e,n){return e&&x(n,O(n),e)}function $n(e,n){return e&&x(n,q(n),e)}function Ie(e,n){for(var r=-1,t=e==null?0:e.length,i=0,s=[];++r<t;){var a=e[r];n(a,r,e)&&(s[i++]=a)}return s}function Se(){return[]}var Cn=Object.prototype,In=Cn.propertyIsEnumerable,ue=Object.getOwnPropertySymbols,W=ue?function(e){return e==null?[]:(e=Object(e),Ie(ue(e),function(n){return In.call(e,n)}))}:Se;function Sn(e,n){return x(e,W(e),n)}var Fn=Object.getOwnPropertySymbols,Fe=Fn?function(e){for(var n=[];e;)Q(n,W(e)),e=Xe(e);return n}:Se;function Nn(e,n){return x(e,Fe(e),n)}function Ne(e,n,r){var t=n(e);return y(e)?t:Q(t,r(e))}function Z(e){return Ne(e,O,W)}function Mn(e){return Ne(e,q,Fe)}var Rn=Object.prototype,Dn=Rn.hasOwnProperty;function xn(e){var n=e.length,r=new e.constructor(n);return n&&typeof e[0]=="string"&&Dn.call(e,"index")&&(r.index=e.index,r.input=e.input),r}function Gn(e,n){var r=n?Te(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}var jn=/\w*$/;function Un(e){var n=new e.constructor(e.source,jn.exec(e));return n.lastIndex=e.lastIndex,n}var fe=T?T.prototype:void 0,oe=fe?fe.valueOf:void 0;function Bn(e){return oe?Object(oe.call(e)):{}}var Kn="[object Boolean]",Hn="[object Date]",Yn="[object Map]",Zn="[object Number]",qn="[object RegExp]",Xn="[object Set]",Jn="[object String]",Qn="[object Symbol]",Wn="[object ArrayBuffer]",zn="[object DataView]",Vn="[object Float32Array]",kn="[object Float64Array]",er="[object Int8Array]",nr="[object Int16Array]",rr="[object Int32Array]",tr="[object Uint8Array]",ir="[object Uint8ClampedArray]",sr="[object Uint16Array]",ar="[object Uint32Array]";function ur(e,n,r){var t=e.constructor;switch(n){case Wn:return Te(e);case Kn:case Hn:return new t(+e);case zn:return Gn(e,r);case Vn:case kn:case er:case nr:case rr:case tr:case ir:case sr:case ar:return Je(e,r);case Yn:return new t;case Zn:case Jn:return new t(e);case qn:return Un(e);case Xn:return new t;case Qn:return Bn(e)}}var fr="[object Map]";function or(e){return $(e)&&C(e)==fr}var de=D&&D.isMap,dr=de?Ee(de):or,hr="[object Set]";function lr(e){return $(e)&&C(e)==hr}var he=D&&D.isSet,gr=he?Ee(he):lr,cr=1,_r=2,pr=4,Me="[object Arguments]",br="[object Array]",yr="[object Boolean]",Ar="[object Date]",Or="[object Error]",Re="[object Function]",Tr="[object GeneratorFunction]",Er="[object Map]",mr="[object Number]",De="[object Object]",wr="[object RegExp]",Pr="[object Set]",vr="[object String]",Lr="[object Symbol]",$r="[object WeakMap]",Cr="[object ArrayBuffer]",Ir="[object DataView]",Sr="[object Float32Array]",Fr="[object Float64Array]",Nr="[object Int8Array]",Mr="[object Int16Array]",Rr="[object Int32Array]",Dr="[object Uint8Array]",xr="[object Uint8ClampedArray]",Gr="[object Uint16Array]",jr="[object Uint32Array]",d={};d[Me]=d[br]=d[Cr]=d[Ir]=d[yr]=d[Ar]=d[Sr]=d[Fr]=d[Nr]=d[Mr]=d[Rr]=d[Er]=d[mr]=d[De]=d[wr]=d[Pr]=d[vr]=d[Lr]=d[Dr]=d[xr]=d[Gr]=d[jr]=!0;d[Or]=d[Re]=d[$r]=!1;function U(e,n,r,t,i,s){var a,u=n&cr,f=n&_r,g=n&pr;if(a!==void 0)return a;if(!me(e))return e;var l=y(e);if(l){if(a=xn(e),!u)return Qe(e,a)}else{var o=C(e),h=o==Re||o==Tr;if(Y(e))return We(e,u);if(o==De||o==Me||h&&!i){if(a=f||h?{}:ze(e),!u)return f?Nn(e,$n(a,e)):Sn(e,Ln(a,e))}else{if(!d[o])return i?e:{};a=ur(e,o,u)}}s||(s=new L);var A=s.get(e);if(A)return A;s.set(e,a),gr(e)?e.forEach(function(c){a.add(U(c,n,r,c,e,s))}):dr(e)&&e.forEach(function(c,_){a.set(_,U(c,n,r,_,e,s))});var p=g?f?Mn:Z:f?q:O,b=l?void 0:p(e);return Le(b||e,function(c,_){b&&(_=c,c=e[_]),Ve(a,_,U(c,n,r,_,e,s))}),a}var Ur="__lodash_hash_undefined__";function Br(e){return this.__data__.set(e,Ur),this}function Kr(e){return this.__data__.has(e)}function I(e){var n=-1,r=e==null?0:e.length;for(this.__data__=new ke;++n<r;)this.add(e[n])}I.prototype.add=I.prototype.push=Br;I.prototype.has=Kr;function Hr(e,n){for(var r=-1,t=e==null?0:e.length;++r<t;)if(n(e[r],r,e))return!0;return!1}function xe(e,n){return e.has(n)}var Yr=1,Zr=2;function Ge(e,n,r,t,i,s){var a=r&Yr,u=e.length,f=n.length;if(u!=f&&!(a&&f>u))return!1;var g=s.get(e),l=s.get(n);if(g&&l)return g==n&&l==e;var o=-1,h=!0,A=r&Zr?new I:void 0;for(s.set(e,n),s.set(n,e);++o<u;){var p=e[o],b=n[o];if(t)var c=a?t(b,p,o,n,e,s):t(p,b,o,e,n,s);if(c!==void 0){if(c)continue;h=!1;break}if(A){if(!Hr(n,function(_,E){if(!xe(A,E)&&(p===_||i(p,_,r,t,s)))return A.push(E)})){h=!1;break}}else if(!(p===b||i(p,b,r,t,s))){h=!1;break}}return s.delete(e),s.delete(n),h}function qr(e){var n=-1,r=Array(e.size);return e.forEach(function(t,i){r[++n]=[i,t]}),r}function z(e){var n=-1,r=Array(e.size);return e.forEach(function(t){r[++n]=t}),r}var Xr=1,Jr=2,Qr="[object Boolean]",Wr="[object Date]",zr="[object Error]",Vr="[object Map]",kr="[object Number]",et="[object RegExp]",nt="[object Set]",rt="[object String]",tt="[object Symbol]",it="[object ArrayBuffer]",st="[object DataView]",le=T?T.prototype:void 0,B=le?le.valueOf:void 0;function at(e,n,r,t,i,s,a){switch(r){case st:if(e.byteLength!=n.byteLength||e.byteOffset!=n.byteOffset)return!1;e=e.buffer,n=n.buffer;case it:return!(e.byteLength!=n.byteLength||!s(new ne(e),new ne(n)));case Qr:case Wr:case kr:return en(+e,+n);case zr:return e.name==n.name&&e.message==n.message;case et:case rt:return e==n+"";case Vr:var u=qr;case nt:var f=t&Xr;if(u||(u=z),e.size!=n.size&&!f)return!1;var g=a.get(e);if(g)return g==n;t|=Jr,a.set(e,n);var l=Ge(u(e),u(n),t,i,s,a);return a.delete(e),l;case tt:if(B)return B.call(e)==B.call(n)}return!1}var ut=1,ft=Object.prototype,ot=ft.hasOwnProperty;function dt(e,n,r,t,i,s){var a=r&ut,u=Z(e),f=u.length,g=Z(n),l=g.length;if(f!=l&&!a)return!1;for(var o=f;o--;){var h=u[o];if(!(a?h in n:ot.call(n,h)))return!1}var A=s.get(e),p=s.get(n);if(A&&p)return A==n&&p==e;var b=!0;s.set(e,n),s.set(n,e);for(var c=a;++o<f;){h=u[o];var _=e[h],E=n[h];if(t)var ee=a?t(E,_,h,n,e,s):t(_,E,h,e,n,s);if(!(ee===void 0?_===E||i(_,E,r,t,s):ee)){b=!1;break}c||(c=h=="constructor")}if(b&&!c){var S=e.constructor,F=n.constructor;S!=F&&"constructor"in e&&"constructor"in n&&!(typeof S=="function"&&S instanceof S&&typeof F=="function"&&F instanceof F)&&(b=!1)}return s.delete(e),s.delete(n),b}var ht=1,ge="[object Arguments]",ce="[object Array]",M="[object Object]",lt=Object.prototype,_e=lt.hasOwnProperty;function gt(e,n,r,t,i,s){var a=y(e),u=y(n),f=a?ce:C(e),g=u?ce:C(n);f=f==ge?M:f,g=g==ge?M:g;var l=f==M,o=g==M,h=f==g;if(h&&Y(e)){if(!Y(n))return!1;a=!0,l=!1}if(h&&!l)return s||(s=new L),a||nn(e)?Ge(e,n,r,t,i,s):at(e,n,f,r,t,i,s);if(!(r&ht)){var A=l&&_e.call(e,"__wrapped__"),p=o&&_e.call(n,"__wrapped__");if(A||p){var b=A?e.value():e,c=p?n.value():n;return s||(s=new L),i(b,c,r,t,s)}}return h?(s||(s=new L),dt(e,n,r,t,i,s)):!1}function V(e,n,r,t,i){return e===n?!0:e==null||n==null||!$(e)&&!$(n)?e!==e&&n!==n:gt(e,n,r,t,V,i)}var ct=1,_t=2;function pt(e,n,r,t){var i=r.length,s=i;if(e==null)return!s;for(e=Object(e);i--;){var a=r[i];if(a[2]?a[1]!==e[a[0]]:!(a[0]in e))return!1}for(;++i<s;){a=r[i];var u=a[0],f=e[u],g=a[1];if(a[2]){if(f===void 0&&!(u in e))return!1}else{var l=new L,o;if(!(o===void 0?V(g,f,ct|_t,t,l):o))return!1}}return!0}function je(e){return e===e&&!me(e)}function bt(e){for(var n=O(e),r=n.length;r--;){var t=n[r],i=e[t];n[r]=[t,i,je(i)]}return n}function Ue(e,n){return function(r){return r==null?!1:r[e]===n&&(n!==void 0||e in Object(r))}}function yt(e){var n=bt(e);return n.length==1&&n[0][2]?Ue(n[0][0],n[0][1]):function(r){return r===e||pt(r,e,n)}}function At(e,n){return e!=null&&n in Object(e)}function Ot(e,n,r){n=$e(n,e);for(var t=-1,i=n.length,s=!1;++t<i;){var a=G(n[t]);if(!(s=e!=null&&r(e,a)))break;e=e[a]}return s||++t!=i?s:(i=e==null?0:e.length,!!i&&rn(i)&&tn(a,i)&&(y(e)||Oe(e)))}function Tt(e,n){return e!=null&&Ot(e,n,At)}var Et=1,mt=2;function wt(e,n){return J(e)&&je(n)?Ue(G(e),n):function(r){var t=mn(r,e);return t===void 0&&t===n?Tt(r,e):V(n,t,Et|mt)}}function Pt(e){return function(n){return n==null?void 0:n[e]}}function vt(e){return function(n){return Ce(n,e)}}function Lt(e){return J(e)?Pt(G(e)):vt(e)}function Be(e){return typeof e=="function"?e:e==null?we:typeof e=="object"?y(e)?wt(e[0],e[1]):yt(e):Lt(e)}function $t(e,n){return e&&sn(e,n,O)}function Ct(e,n){return function(r,t){if(r==null)return r;if(!Ae(r))return e(r,t);for(var i=r.length,s=-1,a=Object(r);++s<i&&t(a[s],s,a)!==!1;);return r}}var k=Ct($t);function It(e){return typeof e=="function"?e:we}function m(e,n){var r=y(e)?Le:k;return r(e,It(n))}function St(e,n){var r=[];return k(e,function(t,i,s){n(t,i,s)&&r.push(t)}),r}function R(e,n){var r=y(e)?Ie:St;return r(e,Be(n))}function Ft(e,n){return Pe(n,function(r){return e[r]})}function K(e){return e==null?[]:Ft(e,O(e))}function P(e){return e===void 0}function Nt(e,n,r,t,i){return i(e,function(s,a,u){r=t?(t=!1,s):n(r,s,a,u)}),r}function Mt(e,n,r){var t=y(e)?vn:Nt,i=arguments.length<3;return t(e,Be(n),r,i,k)}var Rt=1/0,Dt=j&&1/z(new j([,-0]))[1]==Rt?function(e){return new j(e)}:on,xt=200;function Gt(e,n,r){var t=-1,i=cn,s=e.length,a=!0,u=[],f=u;if(s>=xt){var g=Dt(e);if(g)return z(g);a=!1,i=xe,f=new I}else f=u;e:for(;++t<s;){var l=e[t],o=l;if(l=l!==0?l:0,a&&o===o){for(var h=f.length;h--;)if(f[h]===o)continue e;u.push(l)}else i(f,o,r)||(f!==u&&f.push(o),u.push(l))}return u}var jt=an(function(e){return Gt(Pn(e,1,un,!0))}),Ut="\0",w="\0",pe="";class Ke{constructor(n={}){this._isDirected=Object.prototype.hasOwnProperty.call(n,"directed")?n.directed:!0,this._isMultigraph=Object.prototype.hasOwnProperty.call(n,"multigraph")?n.multigraph:!1,this._isCompound=Object.prototype.hasOwnProperty.call(n,"compound")?n.compound:!1,this._label=void 0,this._defaultNodeLabelFn=N(void 0),this._defaultEdgeLabelFn=N(void 0),this._nodes={},this._isCompound&&(this._parent={},this._children={},this._children[w]={}),this._in={},this._preds={},this._out={},this._sucs={},this._edgeObjs={},this._edgeLabels={}}isDirected(){return this._isDirected}isMultigraph(){return this._isMultigraph}isCompound(){return this._isCompound}setGraph(n){return this._label=n,this}graph(){return this._label}setDefaultNodeLabel(n){return re(n)||(n=N(n)),this._defaultNodeLabelFn=n,this}nodeCount(){return this._nodeCount}nodes(){return O(this._nodes)}sources(){var n=this;return R(this.nodes(),function(r){return te(n._in[r])})}sinks(){var n=this;return R(this.nodes(),function(r){return te(n._out[r])})}setNodes(n,r){var t=arguments,i=this;return m(n,function(s){t.length>1?i.setNode(s,r):i.setNode(s)}),this}setNode(n,r){return Object.prototype.hasOwnProperty.call(this._nodes,n)?(arguments.length>1&&(this._nodes[n]=r),this):(this._nodes[n]=arguments.length>1?r:this._defaultNodeLabelFn(n),this._isCompound&&(this._parent[n]=w,this._children[n]={},this._children[w][n]=!0),this._in[n]={},this._preds[n]={},this._out[n]={},this._sucs[n]={},++this._nodeCount,this)}node(n){return this._nodes[n]}hasNode(n){return Object.prototype.hasOwnProperty.call(this._nodes,n)}removeNode(n){if(Object.prototype.hasOwnProperty.call(this._nodes,n)){var r=t=>this.removeEdge(this._edgeObjs[t]);delete this._nodes[n],this._isCompound&&(this._removeFromParentsChildList(n),delete this._parent[n],m(this.children(n),t=>{this.setParent(t)}),delete this._children[n]),m(O(this._in[n]),r),delete this._in[n],delete this._preds[n],m(O(this._out[n]),r),delete this._out[n],delete this._sucs[n],--this._nodeCount}return this}setParent(n,r){if(!this._isCompound)throw new Error("Cannot set parent in a non-compound graph");if(P(r))r=w;else{r+="";for(var t=r;!P(t);t=this.parent(t))if(t===n)throw new Error("Setting "+r+" as parent of "+n+" would create a cycle");this.setNode(r)}return this.setNode(n),this._removeFromParentsChildList(n),this._parent[n]=r,this._children[r][n]=!0,this}_removeFromParentsChildList(n){delete this._children[this._parent[n]][n]}parent(n){if(this._isCompound){var r=this._parent[n];if(r!==w)return r}}children(n){if(P(n)&&(n=w),this._isCompound){var r=this._children[n];if(r)return O(r)}else{if(n===w)return this.nodes();if(this.hasNode(n))return[]}}predecessors(n){var r=this._preds[n];if(r)return O(r)}successors(n){var r=this._sucs[n];if(r)return O(r)}neighbors(n){var r=this.predecessors(n);if(r)return jt(r,this.successors(n))}isLeaf(n){var r;return this.isDirected()?r=this.successors(n):r=this.neighbors(n),r.length===0}filterNodes(n){var r=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});r.setGraph(this.graph());var t=this;m(this._nodes,function(a,u){n(u)&&r.setNode(u,a)}),m(this._edgeObjs,function(a){r.hasNode(a.v)&&r.hasNode(a.w)&&r.setEdge(a,t.edge(a))});var i={};function s(a){var u=t.parent(a);return u===void 0||r.hasNode(u)?(i[a]=u,u):u in i?i[u]:s(u)}return this._isCompound&&m(r.nodes(),function(a){r.setParent(a,s(a))}),r}setDefaultEdgeLabel(n){return re(n)||(n=N(n)),this._defaultEdgeLabelFn=n,this}edgeCount(){return this._edgeCount}edges(){return K(this._edgeObjs)}setPath(n,r){var t=this,i=arguments;return Mt(n,function(s,a){return i.length>1?t.setEdge(s,a,r):t.setEdge(s,a),a}),this}setEdge(){var n,r,t,i,s=!1,a=arguments[0];typeof a=="object"&&a!==null&&"v"in a?(n=a.v,r=a.w,t=a.name,arguments.length===2&&(i=arguments[1],s=!0)):(n=a,r=arguments[1],t=arguments[3],arguments.length>2&&(i=arguments[2],s=!0)),n=""+n,r=""+r,P(t)||(t=""+t);var u=v(this._isDirected,n,r,t);if(Object.prototype.hasOwnProperty.call(this._edgeLabels,u))return s&&(this._edgeLabels[u]=i),this;if(!P(t)&&!this._isMultigraph)throw new Error("Cannot set a named edge when isMultigraph = false");this.setNode(n),this.setNode(r),this._edgeLabels[u]=s?i:this._defaultEdgeLabelFn(n,r,t);var f=Bt(this._isDirected,n,r,t);return n=f.v,r=f.w,Object.freeze(f),this._edgeObjs[u]=f,be(this._preds[r],n),be(this._sucs[n],r),this._in[r][u]=f,this._out[n][u]=f,this._edgeCount++,this}edge(n,r,t){var i=arguments.length===1?H(this._isDirected,arguments[0]):v(this._isDirected,n,r,t);return this._edgeLabels[i]}hasEdge(n,r,t){var i=arguments.length===1?H(this._isDirected,arguments[0]):v(this._isDirected,n,r,t);return Object.prototype.hasOwnProperty.call(this._edgeLabels,i)}removeEdge(n,r,t){var i=arguments.length===1?H(this._isDirected,arguments[0]):v(this._isDirected,n,r,t),s=this._edgeObjs[i];return s&&(n=s.v,r=s.w,delete this._edgeLabels[i],delete this._edgeObjs[i],ye(this._preds[r],n),ye(this._sucs[n],r),delete this._in[r][i],delete this._out[n][i],this._edgeCount--),this}inEdges(n,r){var t=this._in[n];if(t){var i=K(t);return r?R(i,function(s){return s.v===r}):i}}outEdges(n,r){var t=this._out[n];if(t){var i=K(t);return r?R(i,function(s){return s.w===r}):i}}nodeEdges(n,r){var t=this.inEdges(n,r);if(t)return t.concat(this.outEdges(n,r))}}Ke.prototype._nodeCount=0;Ke.prototype._edgeCount=0;function be(e,n){e[n]?e[n]++:e[n]=1}function ye(e,n){--e[n]||delete e[n]}function v(e,n,r,t){var i=""+n,s=""+r;if(!e&&i>s){var a=i;i=s,s=a}return i+pe+s+pe+(P(t)?Ut:t)}function Bt(e,n,r,t){var i=""+n,s=""+r;if(!e&&i>s){var a=i;i=s,s=a}var u={v:i,w:s};return t&&(u.name=t),u}function H(e,n){return v(e,n.v,n.w,n.name)}export{Ke as G,U as a,Pn as b,Be as c,dn as d,k as e,Pe as f,It as g,$t as h,X as i,Ot as j,O as k,$e as l,Ce as m,Tt as n,En as o,m as p,P as q,R as r,Mt as s,G as t,K as v};
@@ -0,0 +1 @@
1
+ import{cj as t}from"./AuthenticatedApp-CgBrvMuc.js";import"./vendor-react-CnooHTJc.js";import"./vendor-state-BYwEPTaO.js";import"./index-Cp4GfHnF.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";const e=["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"],b={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}}]},u={defaultToken:"",tokenPostfix:"",tokenizer:{root:[[/\{\{!--/,"comment.block.start.handlebars","@commentBlock"],[/\{\{!/,"comment.start.handlebars","@comment"],[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.root"}],[/<!DOCTYPE/,"metatag.html","@doctype"],[/<!--/,"comment.html","@commentHtml"],[/(<)(\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"],[/\{/,"delimiter.html"],[/[^<{]+/]],doctype:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.comment"}],[/[^>]+/,"metatag.content.html"],[/>/,"metatag.html","@pop"]],comment:[[/\}\}/,"comment.end.handlebars","@pop"],[/./,"comment.content.handlebars"]],commentBlock:[[/--\}\}/,"comment.block.end.handlebars","@pop"],[/./,"comment.content.handlebars"]],commentHtml:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.comment"}],[/-->/,"comment.html","@pop"],[/[^-]+/,"comment.content.html"],[/./,"comment.content.html"]],otherTag:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.otherTag"}],[/\/?>/,"delimiter.html","@pop"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/]],script:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.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:"@handlebarsInSimpleState.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:"@handlebarsInSimpleState.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:"@handlebarsInSimpleState.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:"@handlebarsInEmbeddedState.scriptEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/script/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],style:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.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:"@handlebarsInSimpleState.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:"@handlebarsInSimpleState.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:"@handlebarsInSimpleState.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:"@handlebarsInEmbeddedState.styleEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/style/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],handlebarsInSimpleState:[[/\{\{\{?/,"delimiter.handlebars"],[/\}\}\}?/,{token:"delimiter.handlebars",switchTo:"@$S2.$S3"}],{include:"handlebarsRoot"}],handlebarsInEmbeddedState:[[/\{\{\{?/,"delimiter.handlebars"],[/\}\}\}?/,{token:"delimiter.handlebars",switchTo:"@$S2.$S3",nextEmbedded:"$S3"}],{include:"handlebarsRoot"}],handlebarsRoot:[[/"[^"]*"/,"string.handlebars"],[/[#/][^\s}]+/,"keyword.helper.handlebars"],[/else\b/,"keyword.helper.handlebars"],[/[\s]+/],[/[^}]/,"variable.parameter.handlebars"]]}};export{b as conf,u as language};
@@ -0,0 +1 @@
1
+ import{cj as e}from"./AuthenticatedApp-CgBrvMuc.js";import"./vendor-react-CnooHTJc.js";import"./vendor-state-BYwEPTaO.js";import"./index-Cp4GfHnF.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";const t=["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"],b={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:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"}],onEnterRules:[{beforeText:new RegExp(`<(?!(?:${t.join("|")}))([_:\\w][_:\\w-.\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),afterText:/^<\/([_:\w][_:\w-.\d]*)\s*>$/i,action:{indentAction:e.IndentAction.IndentOutdent}},{beforeText:new RegExp(`<(?!(?:${t.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),action:{indentAction:e.IndentAction.Indent}}],folding:{markers:{start:new RegExp("^\\s*<!--\\s*#region\\b.*-->"),end:new RegExp("^\\s*<!--\\s*#endregion\\b.*-->")}}},x={defaultToken:"",tokenPostfix:".html",ignoreCase:!0,tokenizer:{root:[[/<!DOCTYPE/,"metatag","@doctype"],[/<!--/,"comment","@comment"],[/(<)((?:[\w\-]+:)?[\w\-]+)(\s*)(\/>)/,["delimiter","tag","","delimiter"]],[/(<)(script)/,["delimiter",{token:"tag",next:"@script"}]],[/(<)(style)/,["delimiter",{token:"tag",next:"@style"}]],[/(<)((?:[\w\-]+:)?[\w\-]+)/,["delimiter",{token:"tag",next:"@otherTag"}]],[/(<\/)((?:[\w\-]+:)?[\w\-]+)/,["delimiter",{token:"tag",next:"@otherTag"}]],[/</,"delimiter"],[/[^<]+/]],doctype:[[/[^>]+/,"metatag.content"],[/>/,"metatag","@pop"]],comment:[[/-->/,"comment","@pop"],[/[^-]+/,"comment.content"],[/./,"comment.content"]],otherTag:[[/\/?>/,"delimiter","@pop"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/]],script:[[/type/,"attribute.name","@scriptAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/(<\/)(script\s*)(>)/,["delimiter","tag",{token:"delimiter",next:"@pop"}]]],scriptAfterType:[[/=/,"delimiter","@scriptAfterTypeEquals"],[/>/,{token:"delimiter",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptAfterTypeEquals:[[/"module"/,{token:"attribute.value",switchTo:"@scriptWithCustomType.text/javascript"}],[/'module'/,{token:"attribute.value",switchTo:"@scriptWithCustomType.text/javascript"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/>/,{token:"delimiter",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptWithCustomType:[[/>/,{token:"delimiter",next:"@scriptEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptEmbedded:[[/<\/script/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}],[/[^<]+/,""]],style:[[/type/,"attribute.name","@styleAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/(<\/)(style\s*)(>)/,["delimiter","tag",{token:"delimiter",next:"@pop"}]]],styleAfterType:[[/=/,"delimiter","@styleAfterTypeEquals"],[/>/,{token:"delimiter",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleAfterTypeEquals:[[/"([^"]*)"/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/>/,{token:"delimiter",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleWithCustomType:[[/>/,{token:"delimiter",next:"@styleEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleEmbedded:[[/<\/style/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}],[/[^<]+/,""]]}};export{b as conf,x as language};
@@ -0,0 +1 @@
1
+ import{ci as R,cj as t}from"./AuthenticatedApp-CgBrvMuc.js";import{H as d,D as l,h as c,F as m,b as u,S as h,c as p,f as _,g as w,C as D}from"./lspLanguageFeatures-olWF83eX.js";import{a as N,e as B,d as Q,R as K,i as q,j as z,t as G,k as V}from"./lspLanguageFeatures-olWF83eX.js";import"./vendor-react-CnooHTJc.js";import"./vendor-state-BYwEPTaO.js";import"./index-Cp4GfHnF.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";const I=2*60*1e3;class f{constructor(o){this._defaults=o,this._worker=null,this._client=null,this._idleCheckInterval=window.setInterval(()=>this._checkIfIdle(),30*1e3),this._lastUsedTime=0,this._configChangeListener=this._defaults.onDidChange(()=>this._stopWorker())}_stopWorker(){this._worker&&(this._worker.dispose(),this._worker=null),this._client=null}dispose(){clearInterval(this._idleCheckInterval),this._configChangeListener.dispose(),this._stopWorker()}_checkIfIdle(){if(!this._worker)return;Date.now()-this._lastUsedTime>I&&this._stopWorker()}_getClient(){return this._lastUsedTime=Date.now(),this._client||(this._worker=R({moduleId:"vs/language/html/htmlWorker",createWorker:()=>new Worker(new URL("/__ONEWORKS_PROJECT_CLIENT_BASE__/assets/html.worker-BLJhxQJQ.js",import.meta.url),{type:"module"}),createData:{languageSettings:this._defaults.options,languageId:this._defaults.languageId},label:this._defaults.languageId}),this._client=this._worker.getProxy()),this._client}getLanguageServiceWorker(...o){let e;return this._getClient().then(r=>{e=r}).then(r=>{if(this._worker)return this._worker.withSyncedResources(o)}).then(r=>e)}}class v extends D{constructor(o){super(o,[".",":","<",'"',"=","/"])}}function O(i){const o=new f(i),e=(...n)=>o.getLanguageServiceWorker(...n);let r=i.languageId;t.registerCompletionItemProvider(r,new v(e)),t.registerHoverProvider(r,new d(e)),t.registerDocumentHighlightProvider(r,new l(e)),t.registerLinkProvider(r,new c(e)),t.registerFoldingRangeProvider(r,new m(e)),t.registerDocumentSymbolProvider(r,new u(e)),t.registerSelectionRangeProvider(r,new h(e)),t.registerRenameProvider(r,new p(e)),r==="html"&&(t.registerDocumentFormattingEditProvider(r,new _(e)),t.registerDocumentRangeFormattingEditProvider(r,new w(e)))}function M(i){const o=[],e=[],r=new f(i);o.push(r);const n=(...s)=>r.getLanguageServiceWorker(...s);function P(){const{languageId:s,modeConfiguration:a}=i;k(e),a.completionItems&&e.push(t.registerCompletionItemProvider(s,new v(n))),a.hovers&&e.push(t.registerHoverProvider(s,new d(n))),a.documentHighlights&&e.push(t.registerDocumentHighlightProvider(s,new l(n))),a.links&&e.push(t.registerLinkProvider(s,new c(n))),a.documentSymbols&&e.push(t.registerDocumentSymbolProvider(s,new u(n))),a.rename&&e.push(t.registerRenameProvider(s,new p(n))),a.foldingRanges&&e.push(t.registerFoldingRangeProvider(s,new m(n))),a.selectionRanges&&e.push(t.registerSelectionRangeProvider(s,new h(n))),a.documentFormattingEdits&&e.push(t.registerDocumentFormattingEditProvider(s,new _(n))),a.documentRangeFormattingEdits&&e.push(t.registerDocumentRangeFormattingEditProvider(s,new w(n)))}return P(),o.push(g(e)),g(o)}function g(i){return{dispose:()=>k(i)}}function k(i){for(;i.length;)i.pop().dispose()}export{D as CompletionAdapter,N as DefinitionAdapter,B as DiagnosticsAdapter,Q as DocumentColorAdapter,_ as DocumentFormattingEditProvider,l as DocumentHighlightAdapter,c as DocumentLinkAdapter,w as DocumentRangeFormattingEditProvider,u as DocumentSymbolAdapter,m as FoldingRangeAdapter,d as HoverAdapter,K as ReferenceAdapter,p as RenameAdapter,h as SelectionRangeAdapter,f as WorkerManager,q as fromPosition,z as fromRange,M as setupMode,O as setupMode1,G as toRange,V as toTextEdit};
@@ -1 +1 @@
1
- import{q as N,G as A}from"./graph-DvFQr_wY.js";import{m as $,l as H}from"./layout-BMZRkCUf.js";import{c as V}from"./clone-BsR4Dtrm.js";import{i as q,u as U,s as W,a as _,b as z,g as D,p as O,c as K,d as Q,e as p,f as J,h as Y,j as Z}from"./edges-96097737-COVuSxRY.js";import{l as s,g as T,t as S,d as L}from"./mermaid.core-DWzpZH_g.js";import{c as I}from"./createText-1719965b-x3Mhf0Jh.js";function m(e){var t={options:{directed:e.isDirected(),multigraph:e.isMultigraph(),compound:e.isCompound()},nodes:tt(e),edges:et(e)};return N(e.graph())||(t.value=V(e.graph())),t}function tt(e){return $(e.nodes(),function(t){var n=e.node(t),r=e.parent(t),i={v:t};return N(n)||(i.value=n),N(r)||(i.parent=r),i})}function et(e){return $(e.edges(),function(t){var n=e.edge(t),r={v:t.v,w:t.w};return N(t.name)||(r.name=t.name),N(n)||(r.value=n),r})}let l={},g={},R={};const nt=()=>{g={},R={},l={}},B=(e,t)=>(s.trace("In isDescendant",t," ",e," = ",g[t].includes(e)),!!g[t].includes(e)),it=(e,t)=>(s.info("Descendants of ",t," is ",g[t]),s.info("Edge is ",e),e.v===t||e.w===t?!1:g[t]?g[t].includes(e.v)||B(e.v,t)||B(e.w,t)||g[t].includes(e.w):(s.debug("Tilt, ",t,",not in descendants"),!1)),P=(e,t,n,r)=>{s.warn("Copying children of ",e,"root",r,"data",t.node(e),r);const i=t.children(e)||[];e!==r&&i.push(e),s.warn("Copying (nodes) clusterId",e,"nodes",i),i.forEach(a=>{if(t.children(a).length>0)P(a,t,n,r);else{const d=t.node(a);s.info("cp ",a," to ",r," with parent ",e),n.setNode(a,d),r!==t.parent(a)&&(s.warn("Setting parent",a,t.parent(a)),n.setParent(a,t.parent(a))),e!==r&&a!==e?(s.debug("Setting parent",a,e),n.setParent(a,e)):(s.info("In copy ",e,"root",r,"data",t.node(e),r),s.debug("Not Setting parent for node=",a,"cluster!==rootId",e!==r,"node!==clusterId",a!==e));const u=t.edges(a);s.debug("Copying Edges",u),u.forEach(f=>{s.info("Edge",f);const h=t.edge(f.v,f.w,f.name);s.info("Edge data",h,r);try{it(f,r)?(s.info("Copying as ",f.v,f.w,h,f.name),n.setEdge(f.v,f.w,h,f.name),s.info("newGraph edges ",n.edges(),n.edge(n.edges()[0]))):s.info("Skipping copy of edge ",f.v,"-->",f.w," rootId: ",r," clusterId:",e)}catch(w){s.error(w)}})}s.debug("Removing node",a),t.removeNode(a)})},k=(e,t)=>{const n=t.children(e);let r=[...n];for(const i of n)R[i]=e,r=[...r,...k(i,t)];return r},C=(e,t)=>{s.trace("Searching",e);const n=t.children(e);if(s.trace("Searching children of id ",e,n),n.length<1)return s.trace("This is a valid node",e),e;for(const r of n){const i=C(r,t);if(i)return s.trace("Found replacement for",e," => ",i),i}},X=e=>!l[e]||!l[e].externalConnections?e:l[e]?l[e].id:e,st=(e,t)=>{if(!e||t>10){s.debug("Opting out, no graph ");return}else s.debug("Opting in, graph ");e.nodes().forEach(function(n){e.children(n).length>0&&(s.warn("Cluster identified",n," Replacement id in edges: ",C(n,e)),g[n]=k(n,e),l[n]={id:C(n,e),clusterData:e.node(n)})}),e.nodes().forEach(function(n){const r=e.children(n),i=e.edges();r.length>0?(s.debug("Cluster identified",n,g),i.forEach(a=>{if(a.v!==n&&a.w!==n){const d=B(a.v,n),u=B(a.w,n);d^u&&(s.warn("Edge: ",a," leaves cluster ",n),s.warn("Descendants of XXX ",n,": ",g[n]),l[n].externalConnections=!0)}})):s.debug("Not a cluster ",n,g)});for(let n of Object.keys(l)){const r=l[n].id,i=e.parent(r);i!==n&&l[i]&&!l[i].externalConnections&&(l[n].id=i)}e.edges().forEach(function(n){const r=e.edge(n);s.warn("Edge "+n.v+" -> "+n.w+": "+JSON.stringify(n)),s.warn("Edge "+n.v+" -> "+n.w+": "+JSON.stringify(e.edge(n)));let i=n.v,a=n.w;if(s.warn("Fix XXX",l,"ids:",n.v,n.w,"Translating: ",l[n.v]," --- ",l[n.w]),l[n.v]&&l[n.w]&&l[n.v]===l[n.w]){s.warn("Fixing and trixing link to self - removing XXX",n.v,n.w,n.name),s.warn("Fixing and trixing - removing XXX",n.v,n.w,n.name),i=X(n.v),a=X(n.w),e.removeEdge(n.v,n.w,n.name);const d=n.w+"---"+n.v;e.setNode(d,{domId:d,id:d,labelStyle:"",labelText:r.label,padding:0,shape:"labelRect",style:""});const u=structuredClone(r),f=structuredClone(r);u.label="",u.arrowTypeEnd="none",f.label="",u.fromCluster=n.v,f.toCluster=n.v,e.setEdge(i,d,u,n.name+"-cyclic-special"),e.setEdge(d,a,f,n.name+"-cyclic-special")}else if(l[n.v]||l[n.w]){if(s.warn("Fixing and trixing - removing XXX",n.v,n.w,n.name),i=X(n.v),a=X(n.w),e.removeEdge(n.v,n.w,n.name),i!==n.v){const d=e.parent(i);l[d].externalConnections=!0,r.fromCluster=n.v}if(a!==n.w){const d=e.parent(a);l[d].externalConnections=!0,r.toCluster=n.w}s.warn("Fix Replacing with XXX",i,a,n.name),e.setEdge(i,a,r,n.name)}}),s.warn("Adjusted Graph",m(e)),F(e,0),s.trace(l)},F=(e,t)=>{if(s.warn("extractor - ",t,m(e),e.children("D")),t>10){s.error("Bailing out");return}let n=e.nodes(),r=!1;for(const i of n){const a=e.children(i);r=r||a.length>0}if(!r){s.debug("Done, no node has children",e.nodes());return}s.debug("Nodes = ",n,t);for(const i of n)if(s.debug("Extracting node",i,l,l[i]&&!l[i].externalConnections,!e.parent(i),e.node(i),e.children("D")," Depth ",t),!l[i])s.debug("Not a cluster",i,t);else if(!l[i].externalConnections&&e.children(i)&&e.children(i).length>0){s.warn("Cluster without external connections, without a parent and with children",i,t);let d=e.graph().rankdir==="TB"?"LR":"TB";l[i]&&l[i].clusterData&&l[i].clusterData.dir&&(d=l[i].clusterData.dir,s.warn("Fixing dir",l[i].clusterData.dir,d));const u=new A({multigraph:!0,compound:!0}).setGraph({rankdir:d,nodesep:50,ranksep:50,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}});s.warn("Old graph before copy",m(e)),P(i,e,u,i),e.setNode(i,{clusterNode:!0,id:i,clusterData:l[i].clusterData,labelText:l[i].labelText,graph:u}),s.warn("New graph after copy node: (",i,")",m(u)),s.debug("Old graph after copy",m(e))}else s.warn("Cluster ** ",i," **not meeting the criteria !externalConnections:",!l[i].externalConnections," no parent: ",!e.parent(i)," children ",e.children(i)&&e.children(i).length>0,e.children("D"),t),s.debug(l);n=e.nodes(),s.warn("New list of nodes",n);for(const i of n){const a=e.node(i);s.warn(" Now next level",i,a),a.clusterNode&&F(a.graph,t+1)}},G=(e,t)=>{if(t.length===0)return[];let n=Object.assign(t);return t.forEach(r=>{const i=e.children(r),a=G(e,i);n=[...n,...a]}),n},rt=e=>G(e,e.children()),at=(e,t)=>{s.info("Creating subgraph rect for ",t.id,t);const n=T(),r=e.insert("g").attr("class","cluster"+(t.class?" "+t.class:"")).attr("id",t.id),i=r.insert("rect",":first-child"),a=S(n.flowchart.htmlLabels),d=r.insert("g").attr("class","cluster-label"),u=t.labelType==="markdown"?I(d,t.labelText,{style:t.labelStyle,useHtmlLabels:a}):d.node().appendChild(J(t.labelText,t.labelStyle,void 0,!0));let f=u.getBBox();if(S(n.flowchart.htmlLabels)){const c=u.children[0],o=L(u);f=c.getBoundingClientRect(),o.attr("width",f.width),o.attr("height",f.height)}const h=0*t.padding,w=h/2,x=t.width<=f.width+h?f.width+h:t.width;t.width<=f.width+h?t.diff=(f.width-t.width)/2-t.padding/2:t.diff=-t.padding/2,s.trace("Data ",t,JSON.stringify(t)),i.attr("style",t.style).attr("rx",t.rx).attr("ry",t.ry).attr("x",t.x-x/2).attr("y",t.y-t.height/2-w).attr("width",x).attr("height",t.height+h);const{subGraphTitleTopMargin:v}=D(n);a?d.attr("transform",`translate(${t.x-f.width/2}, ${t.y-t.height/2+v})`):d.attr("transform",`translate(${t.x}, ${t.y-t.height/2+v})`);const y=i.node().getBBox();return t.width=y.width,t.height=y.height,t.intersect=function(c){return p(t,c)},r},ct=(e,t)=>{const n=e.insert("g").attr("class","note-cluster").attr("id",t.id),r=n.insert("rect",":first-child"),i=0*t.padding,a=i/2;r.attr("rx",t.rx).attr("ry",t.ry).attr("x",t.x-t.width/2-a).attr("y",t.y-t.height/2-a).attr("width",t.width+i).attr("height",t.height+i).attr("fill","none");const d=r.node().getBBox();return t.width=d.width,t.height=d.height,t.intersect=function(u){return p(t,u)},n},ot=(e,t)=>{const n=T(),r=e.insert("g").attr("class",t.classes).attr("id",t.id),i=r.insert("rect",":first-child"),a=r.insert("g").attr("class","cluster-label"),d=r.append("rect"),u=a.node().appendChild(J(t.labelText,t.labelStyle,void 0,!0));let f=u.getBBox();if(S(n.flowchart.htmlLabels)){const c=u.children[0],o=L(u);f=c.getBoundingClientRect(),o.attr("width",f.width),o.attr("height",f.height)}f=u.getBBox();const h=0*t.padding,w=h/2,x=t.width<=f.width+t.padding?f.width+t.padding:t.width;t.width<=f.width+t.padding?t.diff=(f.width+t.padding*0-t.width)/2:t.diff=-t.padding/2,i.attr("class","outer").attr("x",t.x-x/2-w).attr("y",t.y-t.height/2-w).attr("width",x+h).attr("height",t.height+h),d.attr("class","inner").attr("x",t.x-x/2-w).attr("y",t.y-t.height/2-w+f.height-1).attr("width",x+h).attr("height",t.height+h-f.height-3);const{subGraphTitleTopMargin:v}=D(n);a.attr("transform",`translate(${t.x-f.width/2}, ${t.y-t.height/2-t.padding/3+(S(n.flowchart.htmlLabels)?5:3)+v})`);const y=i.node().getBBox();return t.height=y.height,t.intersect=function(c){return p(t,c)},r},lt=(e,t)=>{const n=e.insert("g").attr("class",t.classes).attr("id",t.id),r=n.insert("rect",":first-child"),i=0*t.padding,a=i/2;r.attr("class","divider").attr("x",t.x-t.width/2-a).attr("y",t.y-t.height/2).attr("width",t.width+i).attr("height",t.height+i);const d=r.node().getBBox();return t.width=d.width,t.height=d.height,t.diff=-t.padding/2,t.intersect=function(u){return p(t,u)},n},ft={rect:at,roundedWithTitle:ot,noteGroup:ct,divider:lt};let j={};const dt=(e,t)=>{s.trace("Inserting cluster");const n=t.shape||"rect";j[t.id]=ft[n](e,t)},ut=()=>{j={}},M=async(e,t,n,r,i,a)=>{s.info("Graph in recursive render: XXX",m(t),i);const d=t.graph().rankdir;s.trace("Dir in recursive render - dir:",d);const u=e.insert("g").attr("class","root");t.nodes()?s.info("Recursive render XXX",t.nodes()):s.info("No nodes found for",t),t.edges().length>0&&s.trace("Recursive edges",t.edge(t.edges()[0]));const f=u.insert("g").attr("class","clusters"),h=u.insert("g").attr("class","edgePaths"),w=u.insert("g").attr("class","edgeLabels"),x=u.insert("g").attr("class","nodes");await Promise.all(t.nodes().map(async function(c){const o=t.node(c);if(i!==void 0){const b=JSON.parse(JSON.stringify(i.clusterData));s.info("Setting data for cluster XXX (",c,") ",b,i),t.setNode(i.id,b),t.parent(c)||(s.trace("Setting parent",c,i.id),t.setParent(c,i.id,b))}if(s.info("(Insert) Node XXX"+c+": "+JSON.stringify(t.node(c))),o&&o.clusterNode){s.info("Cluster identified",c,o.width,t.node(c));const b=await M(x,o.graph,n,r,t.node(c),a),E=b.elem;U(o,E),o.diff=b.diff||0,s.info("Node bounds (abc123)",c,o,o.width,o.x,o.y),W(E,o),s.warn("Recursive render complete ",E,o)}else t.children(c).length>0?(s.info("Cluster - the non recursive path XXX",c,o.id,o,t),s.info(C(o.id,t)),l[o.id]={id:C(o.id,t),node:o}):(s.info("Node - the non recursive path",c,o.id,o),await _(x,t.node(c),d))})),t.edges().forEach(function(c){const o=t.edge(c.v,c.w,c.name);s.info("Edge "+c.v+" -> "+c.w+": "+JSON.stringify(c)),s.info("Edge "+c.v+" -> "+c.w+": ",c," ",JSON.stringify(t.edge(c))),s.info("Fix",l,"ids:",c.v,c.w,"Translating: ",l[c.v],l[c.w]),z(w,o)}),t.edges().forEach(function(c){s.info("Edge "+c.v+" -> "+c.w+": "+JSON.stringify(c))}),s.info("#############################################"),s.info("### Layout ###"),s.info("#############################################"),s.info(t),H(t),s.info("Graph after layout:",m(t));let v=0;const{subGraphTitleTotalMargin:y}=D(a);return rt(t).forEach(function(c){const o=t.node(c);s.info("Position "+c+": "+JSON.stringify(t.node(c))),s.info("Position "+c+": ("+o.x,","+o.y,") width: ",o.width," height: ",o.height),o&&o.clusterNode?(o.y+=y,O(o)):t.children(c).length>0?(o.height+=y,dt(f,o),l[o.id].node=o):(o.y+=y/2,O(o))}),t.edges().forEach(function(c){const o=t.edge(c);s.info("Edge "+c.v+" -> "+c.w+": "+JSON.stringify(o),o),o.points.forEach(E=>E.y+=y/2);const b=K(h,c,o,l,n,t,r);Q(o,b)}),t.nodes().forEach(function(c){const o=t.node(c);s.info(c,o.type,o.diff),o.type==="group"&&(v=o.diff)}),{elem:u,diff:v}},bt=async(e,t,n,r,i)=>{q(e,n,r,i),Y(),Z(),ut(),nt(),s.warn("Graph at first:",JSON.stringify(m(t))),st(t),s.warn("Graph after:",JSON.stringify(m(t)));const a=T();await M(e,t,r,i,void 0,a)};export{bt as r};
1
+ import{q as N,G as A}from"./graph-BPujwFoF.js";import{m as $,l as H}from"./layout-Bp8GVMnq.js";import{c as V}from"./clone-BKV6leIk.js";import{i as q,u as U,s as W,a as _,b as z,g as D,p as O,c as K,d as Q,e as p,f as J,h as Y,j as Z}from"./edges-96097737-L_gy1fky.js";import{l as s,g as T,t as S,d as L}from"./mermaid.core-NVIiXnRA.js";import{c as I}from"./createText-1719965b-CLlPr73k.js";function m(e){var t={options:{directed:e.isDirected(),multigraph:e.isMultigraph(),compound:e.isCompound()},nodes:tt(e),edges:et(e)};return N(e.graph())||(t.value=V(e.graph())),t}function tt(e){return $(e.nodes(),function(t){var n=e.node(t),r=e.parent(t),i={v:t};return N(n)||(i.value=n),N(r)||(i.parent=r),i})}function et(e){return $(e.edges(),function(t){var n=e.edge(t),r={v:t.v,w:t.w};return N(t.name)||(r.name=t.name),N(n)||(r.value=n),r})}let l={},g={},R={};const nt=()=>{g={},R={},l={}},B=(e,t)=>(s.trace("In isDescendant",t," ",e," = ",g[t].includes(e)),!!g[t].includes(e)),it=(e,t)=>(s.info("Descendants of ",t," is ",g[t]),s.info("Edge is ",e),e.v===t||e.w===t?!1:g[t]?g[t].includes(e.v)||B(e.v,t)||B(e.w,t)||g[t].includes(e.w):(s.debug("Tilt, ",t,",not in descendants"),!1)),P=(e,t,n,r)=>{s.warn("Copying children of ",e,"root",r,"data",t.node(e),r);const i=t.children(e)||[];e!==r&&i.push(e),s.warn("Copying (nodes) clusterId",e,"nodes",i),i.forEach(a=>{if(t.children(a).length>0)P(a,t,n,r);else{const d=t.node(a);s.info("cp ",a," to ",r," with parent ",e),n.setNode(a,d),r!==t.parent(a)&&(s.warn("Setting parent",a,t.parent(a)),n.setParent(a,t.parent(a))),e!==r&&a!==e?(s.debug("Setting parent",a,e),n.setParent(a,e)):(s.info("In copy ",e,"root",r,"data",t.node(e),r),s.debug("Not Setting parent for node=",a,"cluster!==rootId",e!==r,"node!==clusterId",a!==e));const u=t.edges(a);s.debug("Copying Edges",u),u.forEach(f=>{s.info("Edge",f);const h=t.edge(f.v,f.w,f.name);s.info("Edge data",h,r);try{it(f,r)?(s.info("Copying as ",f.v,f.w,h,f.name),n.setEdge(f.v,f.w,h,f.name),s.info("newGraph edges ",n.edges(),n.edge(n.edges()[0]))):s.info("Skipping copy of edge ",f.v,"-->",f.w," rootId: ",r," clusterId:",e)}catch(w){s.error(w)}})}s.debug("Removing node",a),t.removeNode(a)})},k=(e,t)=>{const n=t.children(e);let r=[...n];for(const i of n)R[i]=e,r=[...r,...k(i,t)];return r},C=(e,t)=>{s.trace("Searching",e);const n=t.children(e);if(s.trace("Searching children of id ",e,n),n.length<1)return s.trace("This is a valid node",e),e;for(const r of n){const i=C(r,t);if(i)return s.trace("Found replacement for",e," => ",i),i}},X=e=>!l[e]||!l[e].externalConnections?e:l[e]?l[e].id:e,st=(e,t)=>{if(!e||t>10){s.debug("Opting out, no graph ");return}else s.debug("Opting in, graph ");e.nodes().forEach(function(n){e.children(n).length>0&&(s.warn("Cluster identified",n," Replacement id in edges: ",C(n,e)),g[n]=k(n,e),l[n]={id:C(n,e),clusterData:e.node(n)})}),e.nodes().forEach(function(n){const r=e.children(n),i=e.edges();r.length>0?(s.debug("Cluster identified",n,g),i.forEach(a=>{if(a.v!==n&&a.w!==n){const d=B(a.v,n),u=B(a.w,n);d^u&&(s.warn("Edge: ",a," leaves cluster ",n),s.warn("Descendants of XXX ",n,": ",g[n]),l[n].externalConnections=!0)}})):s.debug("Not a cluster ",n,g)});for(let n of Object.keys(l)){const r=l[n].id,i=e.parent(r);i!==n&&l[i]&&!l[i].externalConnections&&(l[n].id=i)}e.edges().forEach(function(n){const r=e.edge(n);s.warn("Edge "+n.v+" -> "+n.w+": "+JSON.stringify(n)),s.warn("Edge "+n.v+" -> "+n.w+": "+JSON.stringify(e.edge(n)));let i=n.v,a=n.w;if(s.warn("Fix XXX",l,"ids:",n.v,n.w,"Translating: ",l[n.v]," --- ",l[n.w]),l[n.v]&&l[n.w]&&l[n.v]===l[n.w]){s.warn("Fixing and trixing link to self - removing XXX",n.v,n.w,n.name),s.warn("Fixing and trixing - removing XXX",n.v,n.w,n.name),i=X(n.v),a=X(n.w),e.removeEdge(n.v,n.w,n.name);const d=n.w+"---"+n.v;e.setNode(d,{domId:d,id:d,labelStyle:"",labelText:r.label,padding:0,shape:"labelRect",style:""});const u=structuredClone(r),f=structuredClone(r);u.label="",u.arrowTypeEnd="none",f.label="",u.fromCluster=n.v,f.toCluster=n.v,e.setEdge(i,d,u,n.name+"-cyclic-special"),e.setEdge(d,a,f,n.name+"-cyclic-special")}else if(l[n.v]||l[n.w]){if(s.warn("Fixing and trixing - removing XXX",n.v,n.w,n.name),i=X(n.v),a=X(n.w),e.removeEdge(n.v,n.w,n.name),i!==n.v){const d=e.parent(i);l[d].externalConnections=!0,r.fromCluster=n.v}if(a!==n.w){const d=e.parent(a);l[d].externalConnections=!0,r.toCluster=n.w}s.warn("Fix Replacing with XXX",i,a,n.name),e.setEdge(i,a,r,n.name)}}),s.warn("Adjusted Graph",m(e)),F(e,0),s.trace(l)},F=(e,t)=>{if(s.warn("extractor - ",t,m(e),e.children("D")),t>10){s.error("Bailing out");return}let n=e.nodes(),r=!1;for(const i of n){const a=e.children(i);r=r||a.length>0}if(!r){s.debug("Done, no node has children",e.nodes());return}s.debug("Nodes = ",n,t);for(const i of n)if(s.debug("Extracting node",i,l,l[i]&&!l[i].externalConnections,!e.parent(i),e.node(i),e.children("D")," Depth ",t),!l[i])s.debug("Not a cluster",i,t);else if(!l[i].externalConnections&&e.children(i)&&e.children(i).length>0){s.warn("Cluster without external connections, without a parent and with children",i,t);let d=e.graph().rankdir==="TB"?"LR":"TB";l[i]&&l[i].clusterData&&l[i].clusterData.dir&&(d=l[i].clusterData.dir,s.warn("Fixing dir",l[i].clusterData.dir,d));const u=new A({multigraph:!0,compound:!0}).setGraph({rankdir:d,nodesep:50,ranksep:50,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}});s.warn("Old graph before copy",m(e)),P(i,e,u,i),e.setNode(i,{clusterNode:!0,id:i,clusterData:l[i].clusterData,labelText:l[i].labelText,graph:u}),s.warn("New graph after copy node: (",i,")",m(u)),s.debug("Old graph after copy",m(e))}else s.warn("Cluster ** ",i," **not meeting the criteria !externalConnections:",!l[i].externalConnections," no parent: ",!e.parent(i)," children ",e.children(i)&&e.children(i).length>0,e.children("D"),t),s.debug(l);n=e.nodes(),s.warn("New list of nodes",n);for(const i of n){const a=e.node(i);s.warn(" Now next level",i,a),a.clusterNode&&F(a.graph,t+1)}},G=(e,t)=>{if(t.length===0)return[];let n=Object.assign(t);return t.forEach(r=>{const i=e.children(r),a=G(e,i);n=[...n,...a]}),n},rt=e=>G(e,e.children()),at=(e,t)=>{s.info("Creating subgraph rect for ",t.id,t);const n=T(),r=e.insert("g").attr("class","cluster"+(t.class?" "+t.class:"")).attr("id",t.id),i=r.insert("rect",":first-child"),a=S(n.flowchart.htmlLabels),d=r.insert("g").attr("class","cluster-label"),u=t.labelType==="markdown"?I(d,t.labelText,{style:t.labelStyle,useHtmlLabels:a}):d.node().appendChild(J(t.labelText,t.labelStyle,void 0,!0));let f=u.getBBox();if(S(n.flowchart.htmlLabels)){const c=u.children[0],o=L(u);f=c.getBoundingClientRect(),o.attr("width",f.width),o.attr("height",f.height)}const h=0*t.padding,w=h/2,x=t.width<=f.width+h?f.width+h:t.width;t.width<=f.width+h?t.diff=(f.width-t.width)/2-t.padding/2:t.diff=-t.padding/2,s.trace("Data ",t,JSON.stringify(t)),i.attr("style",t.style).attr("rx",t.rx).attr("ry",t.ry).attr("x",t.x-x/2).attr("y",t.y-t.height/2-w).attr("width",x).attr("height",t.height+h);const{subGraphTitleTopMargin:v}=D(n);a?d.attr("transform",`translate(${t.x-f.width/2}, ${t.y-t.height/2+v})`):d.attr("transform",`translate(${t.x}, ${t.y-t.height/2+v})`);const y=i.node().getBBox();return t.width=y.width,t.height=y.height,t.intersect=function(c){return p(t,c)},r},ct=(e,t)=>{const n=e.insert("g").attr("class","note-cluster").attr("id",t.id),r=n.insert("rect",":first-child"),i=0*t.padding,a=i/2;r.attr("rx",t.rx).attr("ry",t.ry).attr("x",t.x-t.width/2-a).attr("y",t.y-t.height/2-a).attr("width",t.width+i).attr("height",t.height+i).attr("fill","none");const d=r.node().getBBox();return t.width=d.width,t.height=d.height,t.intersect=function(u){return p(t,u)},n},ot=(e,t)=>{const n=T(),r=e.insert("g").attr("class",t.classes).attr("id",t.id),i=r.insert("rect",":first-child"),a=r.insert("g").attr("class","cluster-label"),d=r.append("rect"),u=a.node().appendChild(J(t.labelText,t.labelStyle,void 0,!0));let f=u.getBBox();if(S(n.flowchart.htmlLabels)){const c=u.children[0],o=L(u);f=c.getBoundingClientRect(),o.attr("width",f.width),o.attr("height",f.height)}f=u.getBBox();const h=0*t.padding,w=h/2,x=t.width<=f.width+t.padding?f.width+t.padding:t.width;t.width<=f.width+t.padding?t.diff=(f.width+t.padding*0-t.width)/2:t.diff=-t.padding/2,i.attr("class","outer").attr("x",t.x-x/2-w).attr("y",t.y-t.height/2-w).attr("width",x+h).attr("height",t.height+h),d.attr("class","inner").attr("x",t.x-x/2-w).attr("y",t.y-t.height/2-w+f.height-1).attr("width",x+h).attr("height",t.height+h-f.height-3);const{subGraphTitleTopMargin:v}=D(n);a.attr("transform",`translate(${t.x-f.width/2}, ${t.y-t.height/2-t.padding/3+(S(n.flowchart.htmlLabels)?5:3)+v})`);const y=i.node().getBBox();return t.height=y.height,t.intersect=function(c){return p(t,c)},r},lt=(e,t)=>{const n=e.insert("g").attr("class",t.classes).attr("id",t.id),r=n.insert("rect",":first-child"),i=0*t.padding,a=i/2;r.attr("class","divider").attr("x",t.x-t.width/2-a).attr("y",t.y-t.height/2).attr("width",t.width+i).attr("height",t.height+i);const d=r.node().getBBox();return t.width=d.width,t.height=d.height,t.diff=-t.padding/2,t.intersect=function(u){return p(t,u)},n},ft={rect:at,roundedWithTitle:ot,noteGroup:ct,divider:lt};let j={};const dt=(e,t)=>{s.trace("Inserting cluster");const n=t.shape||"rect";j[t.id]=ft[n](e,t)},ut=()=>{j={}},M=async(e,t,n,r,i,a)=>{s.info("Graph in recursive render: XXX",m(t),i);const d=t.graph().rankdir;s.trace("Dir in recursive render - dir:",d);const u=e.insert("g").attr("class","root");t.nodes()?s.info("Recursive render XXX",t.nodes()):s.info("No nodes found for",t),t.edges().length>0&&s.trace("Recursive edges",t.edge(t.edges()[0]));const f=u.insert("g").attr("class","clusters"),h=u.insert("g").attr("class","edgePaths"),w=u.insert("g").attr("class","edgeLabels"),x=u.insert("g").attr("class","nodes");await Promise.all(t.nodes().map(async function(c){const o=t.node(c);if(i!==void 0){const b=JSON.parse(JSON.stringify(i.clusterData));s.info("Setting data for cluster XXX (",c,") ",b,i),t.setNode(i.id,b),t.parent(c)||(s.trace("Setting parent",c,i.id),t.setParent(c,i.id,b))}if(s.info("(Insert) Node XXX"+c+": "+JSON.stringify(t.node(c))),o&&o.clusterNode){s.info("Cluster identified",c,o.width,t.node(c));const b=await M(x,o.graph,n,r,t.node(c),a),E=b.elem;U(o,E),o.diff=b.diff||0,s.info("Node bounds (abc123)",c,o,o.width,o.x,o.y),W(E,o),s.warn("Recursive render complete ",E,o)}else t.children(c).length>0?(s.info("Cluster - the non recursive path XXX",c,o.id,o,t),s.info(C(o.id,t)),l[o.id]={id:C(o.id,t),node:o}):(s.info("Node - the non recursive path",c,o.id,o),await _(x,t.node(c),d))})),t.edges().forEach(function(c){const o=t.edge(c.v,c.w,c.name);s.info("Edge "+c.v+" -> "+c.w+": "+JSON.stringify(c)),s.info("Edge "+c.v+" -> "+c.w+": ",c," ",JSON.stringify(t.edge(c))),s.info("Fix",l,"ids:",c.v,c.w,"Translating: ",l[c.v],l[c.w]),z(w,o)}),t.edges().forEach(function(c){s.info("Edge "+c.v+" -> "+c.w+": "+JSON.stringify(c))}),s.info("#############################################"),s.info("### Layout ###"),s.info("#############################################"),s.info(t),H(t),s.info("Graph after layout:",m(t));let v=0;const{subGraphTitleTotalMargin:y}=D(a);return rt(t).forEach(function(c){const o=t.node(c);s.info("Position "+c+": "+JSON.stringify(t.node(c))),s.info("Position "+c+": ("+o.x,","+o.y,") width: ",o.width," height: ",o.height),o&&o.clusterNode?(o.y+=y,O(o)):t.children(c).length>0?(o.height+=y,dt(f,o),l[o.id].node=o):(o.y+=y/2,O(o))}),t.edges().forEach(function(c){const o=t.edge(c);s.info("Edge "+c.v+" -> "+c.w+": "+JSON.stringify(o),o),o.points.forEach(E=>E.y+=y/2);const b=K(h,c,o,l,n,t,r);Q(o,b)}),t.nodes().forEach(function(c){const o=t.node(c);s.info(c,o.type,o.diff),o.type==="group"&&(v=o.diff)}),{elem:u,diff:v}},bt=async(e,t,n,r,i)=>{q(e,n,r,i),Y(),Z(),ut(),nt(),s.warn("Graph at first:",JSON.stringify(m(t))),st(t),s.warn("Graph after:",JSON.stringify(m(t)));const a=T();await M(e,t,r,i,void 0,a)};export{bt as r};