research-copilot 0.2.15 → 0.2.17

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 (67) hide show
  1. package/app/out/main/index.mjs +20 -0
  2. package/app/out/preload/index.js +5 -0
  3. package/app/out/renderer/assets/{MilkdownMarkdownEditor-UNNnHq-Q.js → MilkdownMarkdownEditor-CuTa5j4S.js} +50 -50
  4. package/app/out/renderer/assets/{arc-CpQkTVSV.js → arc-BAWS3N-F.js} +1 -1
  5. package/app/out/renderer/assets/{blockDiagram-c4efeb88-DV91zeYk.js → blockDiagram-c4efeb88-BHadwPqY.js} +8 -8
  6. package/app/out/renderer/assets/{c4Diagram-c83219d4-BYZtgyKD.js → c4Diagram-c83219d4-B3kOxRad.js} +3 -3
  7. package/app/out/renderer/assets/{channel-DKZcFGxg.js → channel-Bll9CBqI.js} +1 -1
  8. package/app/out/renderer/assets/{classDiagram-beda092f-bfcCUskQ.js → classDiagram-beda092f-Dv7owGyx.js} +6 -6
  9. package/app/out/renderer/assets/{classDiagram-v2-2358418a-BR3pIwy5.js → classDiagram-v2-2358418a-cWrqk5tQ.js} +10 -10
  10. package/app/out/renderer/assets/{clone-DYFbSe8n.js → clone-D-DQ4nnY.js} +1 -1
  11. package/app/out/renderer/assets/{createText-1719965b-DzSrNkTO.js → createText-1719965b-ciE8YuqI.js} +2 -2
  12. package/app/out/renderer/assets/{edges-96097737-NtlJJRFS.js → edges-96097737-DycnAYk_.js} +3 -3
  13. package/app/out/renderer/assets/{erDiagram-0228fc6a-D-IkKUzx.js → erDiagram-0228fc6a-Sv78YNMY.js} +5 -5
  14. package/app/out/renderer/assets/{flowDb-c6c81e3f-Ci22GdDY.js → flowDb-c6c81e3f-BiOarg9b.js} +1 -1
  15. package/app/out/renderer/assets/{flowDiagram-50d868cf-zRBNrGzH.js → flowDiagram-50d868cf-19J80nxU.js} +12 -12
  16. package/app/out/renderer/assets/{flowDiagram-v2-4f6560a1-vnbqAJeS.js → flowDiagram-v2-4f6560a1-c-kGsubV.js} +12 -12
  17. package/app/out/renderer/assets/{flowchart-elk-definition-6af322e1-CuVXk2cv.js → flowchart-elk-definition-6af322e1-DRrYbiSC.js} +6 -6
  18. package/app/out/renderer/assets/{ganttDiagram-a2739b55-BKt7y8Nk.js → ganttDiagram-a2739b55-BadmpvMy.js} +3 -3
  19. package/app/out/renderer/assets/{gitGraphDiagram-82fe8481-MVrgAPy8.js → gitGraphDiagram-82fe8481-BdVoj60Q.js} +2 -2
  20. package/app/out/renderer/assets/{graph-47tN-JjA.js → graph-jZhookGR.js} +1 -1
  21. package/app/out/renderer/assets/{index-DP9hc671.js → index-47oNNEnx.js} +6 -6
  22. package/app/out/renderer/assets/{index-5325376f-BAwly5ON.js → index-5325376f-CbxmatXv.js} +6 -6
  23. package/app/out/renderer/assets/{index-BtnFDu4c.js → index-B110aKST.js} +3 -3
  24. package/app/out/renderer/assets/{index-CaKrYTYv.js → index-B2UUF9y9.js} +30 -7
  25. package/app/out/renderer/assets/{index-B7PIn7Sy.js → index-B8fh500_.js} +3 -3
  26. package/app/out/renderer/assets/{index-Z0DiYIAm.js → index-B9kkJj3J.js} +6 -6
  27. package/app/out/renderer/assets/{index-BCAfDfd2.js → index-BBUnWjLe.js} +3 -3
  28. package/app/out/renderer/assets/{index-aAuuSY42.js → index-BTE0dEKO.js} +6 -6
  29. package/app/out/renderer/assets/{index-DqAuRK1m.js → index-BUcSHPha.js} +3 -3
  30. package/app/out/renderer/assets/{index-C9k23NfW.js → index-BWCwSkxb.js} +3 -3
  31. package/app/out/renderer/assets/{index-IxItY9MF.js → index-BXpNbFhG.js} +3 -3
  32. package/app/out/renderer/assets/{index-ChRW2wyg.js → index-CAlpJ3-o.js} +4 -4
  33. package/app/out/renderer/assets/{index-Cdfq9GLa.js → index-CMGDsC_t.js} +6 -6
  34. package/app/out/renderer/assets/{index-CZhJgR4h.js → index-CZX0435B.js} +6 -6
  35. package/app/out/renderer/assets/{index-LPLJgcfa.js → index-CirXkIv2.js} +3 -3
  36. package/app/out/renderer/assets/{index-DuccscxT.js → index-D-ZMmLhv.js} +3 -3
  37. package/app/out/renderer/assets/{index-CTXUhrja.js → index-DEO9Jh2Y.js} +5 -5
  38. package/app/out/renderer/assets/{index-DcHrpeaZ.js → index-DF_C6DjR.js} +3 -3
  39. package/app/out/renderer/assets/{index-PvzYpUGb.js → index-DO5LsHlM.js} +1 -1
  40. package/app/out/renderer/assets/{index-CI7jql7H.js → index-DOUTte7i.js} +3 -3
  41. package/app/out/renderer/assets/{index-DnGwgCJt.js → index-DQwFQR1s.js} +3 -3
  42. package/app/out/renderer/assets/{index-DF3gD3Ct.js → index-HCRA2-Q6.js} +6 -6
  43. package/app/out/renderer/assets/{index-D38yt-gB.js → index-cavFRVgM.js} +3 -3
  44. package/app/out/renderer/assets/{index-DyfldTxE.js → index-g91Iwgxa.js} +4 -4
  45. package/app/out/renderer/assets/{infoDiagram-8eee0895-B7zSsSA5.js → infoDiagram-8eee0895-DpVt3Scv.js} +2 -2
  46. package/app/out/renderer/assets/{journeyDiagram-c64418c1-D6rYrYE9.js → journeyDiagram-c64418c1-RYKX5mcV.js} +4 -4
  47. package/app/out/renderer/assets/{layout-C3nD7S8q.js → layout-BsbNXXgR.js} +2 -2
  48. package/app/out/renderer/assets/{line-BD7gUCLm.js → line-OzQTpJsh.js} +1 -1
  49. package/app/out/renderer/assets/{linear-Dml1F21i.js → linear-DO5pdnqi.js} +1 -1
  50. package/app/out/renderer/assets/{mindmap-definition-8da855dc-IY0DZul4.js → mindmap-definition-8da855dc-D3zWs3h1.js} +3 -3
  51. package/app/out/renderer/assets/{pieDiagram-a8764435-CrWonzc_.js → pieDiagram-a8764435-DDoNhSgQ.js} +3 -3
  52. package/app/out/renderer/assets/{quadrantDiagram-1e28029f-Bca0GRbN.js → quadrantDiagram-1e28029f-ZO85SsRM.js} +3 -3
  53. package/app/out/renderer/assets/{requirementDiagram-08caed73-Dz2SRyGA.js → requirementDiagram-08caed73-C-vKE6g8.js} +5 -5
  54. package/app/out/renderer/assets/{sankeyDiagram-a04cb91d-NfJN0Agl.js → sankeyDiagram-a04cb91d-Cbqb2K-X.js} +2 -2
  55. package/app/out/renderer/assets/{sequenceDiagram-c5b8d532-D2Dx4CJP.js → sequenceDiagram-c5b8d532-BK4uvpEA.js} +3 -3
  56. package/app/out/renderer/assets/{stateDiagram-1ecb1508-CClex8bq.js → stateDiagram-1ecb1508-DXa_YqNi.js} +6 -6
  57. package/app/out/renderer/assets/{stateDiagram-v2-c2b004d7-vkISAVpU.js → stateDiagram-v2-c2b004d7-Dm203Z8l.js} +10 -10
  58. package/app/out/renderer/assets/{styles-b4e223ce-q4XIFTqx.js → styles-b4e223ce-BV4b1eAh.js} +1 -1
  59. package/app/out/renderer/assets/{styles-ca3715f6-DEA1MmgW.js → styles-ca3715f6-CKhYSe7r.js} +1 -1
  60. package/app/out/renderer/assets/{styles-d45a18b0-JdnahWSX.js → styles-d45a18b0-DTCMfE-4.js} +4 -4
  61. package/app/out/renderer/assets/{svgDrawCommon-b86b1483-nssZCQ5K.js → svgDrawCommon-b86b1483-DK4i-dfJ.js} +1 -1
  62. package/app/out/renderer/assets/{timeline-definition-faaaa080-ChRZSyE8.js → timeline-definition-faaaa080-CE2LmuDH.js} +3 -3
  63. package/app/out/renderer/assets/{xychartDiagram-f5964ef8-BrgVCZqF.js → xychartDiagram-f5964ef8-Bd8KT9X9.js} +5 -5
  64. package/app/out/renderer/index.html +1 -1
  65. package/package.json +3 -1
  66. package/scripts/backfill-papers.mjs +142 -0
  67. package/scripts/fix-node-pty-perms.mjs +32 -0
@@ -1,15 +1,15 @@
1
- import { f as flowDb, p as parser$1 } from "./flowDb-c6c81e3f-Ci22GdDY.js";
2
- import { u as select, an as curveLinear, v as log$1, r as getConfig, ak as setupGraphViewbox$1, al as getStylesFromArray, am as interpolateToCurve, S as evaluate, ah as renderKatexSanitized, C as common$1 } from "./MilkdownMarkdownEditor-UNNnHq-Q.js";
3
- import { G as Graph } from "./graph-47tN-JjA.js";
4
- import { u as uniqueId, r as range, p as pick, l as layout, d as defaults } from "./layout-C3nD7S8q.js";
5
- import { b as applyStyle, c as addHtmlLabel, i as isSubgraph, d as applyTransition, e as edgeToId, g as applyClass, f as flowStyles, a as flowRendererV2, s as selectAll } from "./styles-d45a18b0-JdnahWSX.js";
6
- import { l as line } from "./line-BD7gUCLm.js";
7
- import "./index-CaKrYTYv.js";
8
- import "./index-5325376f-BAwly5ON.js";
9
- import "./clone-DYFbSe8n.js";
10
- import "./edges-96097737-NtlJJRFS.js";
11
- import "./createText-1719965b-DzSrNkTO.js";
12
- import "./channel-DKZcFGxg.js";
1
+ import { f as flowDb, p as parser$1 } from "./flowDb-c6c81e3f-BiOarg9b.js";
2
+ import { u as select, an as curveLinear, v as log$1, r as getConfig, ak as setupGraphViewbox$1, al as getStylesFromArray, am as interpolateToCurve, S as evaluate, ah as renderKatexSanitized, C as common$1 } from "./MilkdownMarkdownEditor-CuTa5j4S.js";
3
+ import { G as Graph } from "./graph-jZhookGR.js";
4
+ import { u as uniqueId, r as range, p as pick, l as layout, d as defaults } from "./layout-BsbNXXgR.js";
5
+ import { b as applyStyle, c as addHtmlLabel, i as isSubgraph, d as applyTransition, e as edgeToId, g as applyClass, f as flowStyles, a as flowRendererV2, s as selectAll } from "./styles-d45a18b0-DTCMfE-4.js";
6
+ import { l as line } from "./line-OzQTpJsh.js";
7
+ import "./index-B2UUF9y9.js";
8
+ import "./index-5325376f-CbxmatXv.js";
9
+ import "./clone-D-DQ4nnY.js";
10
+ import "./edges-96097737-DycnAYk_.js";
11
+ import "./createText-1719965b-ciE8YuqI.js";
12
+ import "./channel-Bll9CBqI.js";
13
13
  import "./array-DgktLKBx.js";
14
14
  import "./path-Cp2qmpkd.js";
15
15
  function responseText(response) {
@@ -1,17 +1,17 @@
1
- import { f as flowDb, p as parser$1 } from "./flowDb-c6c81e3f-Ci22GdDY.js";
2
- import { f as flowStyles, a as flowRendererV2 } from "./styles-d45a18b0-JdnahWSX.js";
3
- import { W as setConfig } from "./MilkdownMarkdownEditor-UNNnHq-Q.js";
4
- import "./graph-47tN-JjA.js";
5
- import "./layout-C3nD7S8q.js";
6
- import "./index-5325376f-BAwly5ON.js";
7
- import "./clone-DYFbSe8n.js";
8
- import "./edges-96097737-NtlJJRFS.js";
9
- import "./createText-1719965b-DzSrNkTO.js";
10
- import "./index-CaKrYTYv.js";
11
- import "./line-BD7gUCLm.js";
1
+ import { f as flowDb, p as parser$1 } from "./flowDb-c6c81e3f-BiOarg9b.js";
2
+ import { f as flowStyles, a as flowRendererV2 } from "./styles-d45a18b0-DTCMfE-4.js";
3
+ import { W as setConfig } from "./MilkdownMarkdownEditor-CuTa5j4S.js";
4
+ import "./graph-jZhookGR.js";
5
+ import "./layout-BsbNXXgR.js";
6
+ import "./index-5325376f-CbxmatXv.js";
7
+ import "./clone-D-DQ4nnY.js";
8
+ import "./edges-96097737-DycnAYk_.js";
9
+ import "./createText-1719965b-ciE8YuqI.js";
10
+ import "./index-B2UUF9y9.js";
11
+ import "./line-OzQTpJsh.js";
12
12
  import "./array-DgktLKBx.js";
13
13
  import "./path-Cp2qmpkd.js";
14
- import "./channel-DKZcFGxg.js";
14
+ import "./channel-Bll9CBqI.js";
15
15
  const diagram = {
16
16
  parser: parser$1,
17
17
  db: flowDb,
@@ -1,9 +1,9 @@
1
- import { p as parser$1, d as db } from "./flowDb-c6c81e3f-Ci22GdDY.js";
2
- import { u as select, v as log$1, ai as getConfig$1, ak as setupGraphViewbox$1, al as getStylesFromArray, am as interpolateToCurve, an as curveLinear, C as common$1 } from "./MilkdownMarkdownEditor-UNNnHq-Q.js";
3
- import { i as insertMarkers$1, c as insertNode, l as labelHelper, b as insertEdgeLabel, k as getLineFunctionsWithOffset, m as addEdgeMarkers } from "./edges-96097737-NtlJJRFS.js";
4
- import { g as getDefaultExportFromCjs, c as commonjsGlobal } from "./index-CaKrYTYv.js";
5
- import { l as line } from "./line-BD7gUCLm.js";
6
- import "./createText-1719965b-DzSrNkTO.js";
1
+ import { p as parser$1, d as db } from "./flowDb-c6c81e3f-BiOarg9b.js";
2
+ import { u as select, v as log$1, ai as getConfig$1, ak as setupGraphViewbox$1, al as getStylesFromArray, am as interpolateToCurve, an as curveLinear, C as common$1 } from "./MilkdownMarkdownEditor-CuTa5j4S.js";
3
+ import { i as insertMarkers$1, c as insertNode, l as labelHelper, b as insertEdgeLabel, k as getLineFunctionsWithOffset, m as addEdgeMarkers } from "./edges-96097737-DycnAYk_.js";
4
+ import { g as getDefaultExportFromCjs, c as commonjsGlobal } from "./index-B2UUF9y9.js";
5
+ import { l as line } from "./line-OzQTpJsh.js";
6
+ import "./createText-1719965b-ciE8YuqI.js";
7
7
  import "./array-DgktLKBx.js";
8
8
  import "./path-Cp2qmpkd.js";
9
9
  function commonjsRequire(path) {
@@ -1,6 +1,6 @@
1
- import { aS as Rgb, aT as rgbConvert, aU as define, aV as extend, aW as Color, aX as nogamma, aY as hue, n as getAccDescription, m as setAccDescription, H as getDiagramTitle, J as setDiagramTitle, o as getAccTitle, q as setAccTitle, r as getConfig, u as select, w as configureSvgSize, aZ as dayjs, v as log$1, C as common$1, A as dist, M as clear$1, O as utils } from "./MilkdownMarkdownEditor-UNNnHq-Q.js";
2
- import { c as commonjsGlobal, g as getDefaultExportFromCjs } from "./index-CaKrYTYv.js";
3
- import { b as bisector, t as tickStep, c as continuous, a as copy, l as linear } from "./linear-Dml1F21i.js";
1
+ import { aS as Rgb, aT as rgbConvert, aU as define, aV as extend, aW as Color, aX as nogamma, aY as hue, n as getAccDescription, m as setAccDescription, H as getDiagramTitle, J as setDiagramTitle, o as getAccTitle, q as setAccTitle, r as getConfig, u as select, w as configureSvgSize, aZ as dayjs, v as log$1, C as common$1, A as dist, M as clear$1, O as utils } from "./MilkdownMarkdownEditor-CuTa5j4S.js";
2
+ import { c as commonjsGlobal, g as getDefaultExportFromCjs } from "./index-B2UUF9y9.js";
3
+ import { b as bisector, t as tickStep, c as continuous, a as copy, l as linear } from "./linear-DO5pdnqi.js";
4
4
  import { i as initRange } from "./init-ZxktEp_H.js";
5
5
  function max(values, valueof) {
6
6
  let max2;
@@ -1,5 +1,5 @@
1
- import { H as getDiagramTitle, J as setDiagramTitle, m as setAccDescription, n as getAccDescription, o as getAccTitle, q as setAccTitle, r as getConfig, v as log$1, u as select, O as utils, X as setupGraphViewbox, M as clear$2, C as common$1, Y as random } from "./MilkdownMarkdownEditor-UNNnHq-Q.js";
2
- import "./index-CaKrYTYv.js";
1
+ import { H as getDiagramTitle, J as setDiagramTitle, m as setAccDescription, n as getAccDescription, o as getAccTitle, q as setAccTitle, r as getConfig, v as log$1, u as select, O as utils, X as setupGraphViewbox, M as clear$2, C as common$1, Y as random } from "./MilkdownMarkdownEditor-CuTa5j4S.js";
2
+ import "./index-B2UUF9y9.js";
3
3
  var parser = function() {
4
4
  var o = function(k, v, o2, l) {
5
5
  for (o2 = o2 || {}, l = k.length; l--; o2[k[l]] = v)
@@ -1,4 +1,4 @@
1
- import { bn as Symbol$1, bc as isArray, bf as isSymbol, bb as isArrayLike, bo as arrayLikeKeys, bp as baseKeys, bq as memoize, br as isArguments, bs as copyObject, b9 as keysIn, bt as getPrototype, bu as cloneArrayBuffer, bv as cloneTypedArray, bw as isObjectLike, bx as getTag, bk as baseUnary, by as nodeUtil, bh as isObject, bz as copyArray, bA as isBuffer, bB as cloneBuffer, bC as initCloneObject, bD as Stack, bj as assignValue, bE as MapCache, ba as eq, bF as Uint8Array, bG as isTypedArray, bH as isLength, bi as isIndex, bg as identity, bd as baseFor, bI as Set, b7 as baseRest, bJ as isArrayLikeObject, bl as constant, aR as isFunction, bK as isEmpty } from "./MilkdownMarkdownEditor-UNNnHq-Q.js";
1
+ import { bn as Symbol$1, bc as isArray, bf as isSymbol, bb as isArrayLike, bo as arrayLikeKeys, bp as baseKeys, bq as memoize, br as isArguments, bs as copyObject, b9 as keysIn, bt as getPrototype, bu as cloneArrayBuffer, bv as cloneTypedArray, bw as isObjectLike, bx as getTag, bk as baseUnary, by as nodeUtil, bh as isObject, bz as copyArray, bA as isBuffer, bB as cloneBuffer, bC as initCloneObject, bD as Stack, bj as assignValue, bE as MapCache, ba as eq, bF as Uint8Array, bG as isTypedArray, bH as isLength, bi as isIndex, bg as identity, bd as baseFor, bI as Set, b7 as baseRest, bJ as isArrayLikeObject, bl as constant, aR as isFunction, bK as isEmpty } from "./MilkdownMarkdownEditor-CuTa5j4S.js";
2
2
  function arrayMap(array, iteratee) {
3
3
  var index = -1, length = array == null ? 0 : array.length, result = Array(length);
4
4
  while (++index < length) {
@@ -1,9 +1,9 @@
1
- import { E as EditorView, g as EditorSelection, a as LanguageSupport, p as parseMixed, e as syntaxTree, L as LRLanguage, s as styleTags, t as tags, i as indentNodeProp, h as delimitedIndent, f as foldNodeProp } from "./MilkdownMarkdownEditor-UNNnHq-Q.js";
2
- import { html } from "./index-CTXUhrja.js";
3
- import { L as LRParser, E as ExternalTokenizer } from "./index-PvzYpUGb.js";
4
- import "./index-CaKrYTYv.js";
5
- import "./index-DnGwgCJt.js";
6
- import "./index-DcHrpeaZ.js";
1
+ import { E as EditorView, g as EditorSelection, a as LanguageSupport, p as parseMixed, e as syntaxTree, L as LRLanguage, s as styleTags, t as tags, i as indentNodeProp, h as delimitedIndent, f as foldNodeProp } from "./MilkdownMarkdownEditor-CuTa5j4S.js";
2
+ import { html } from "./index-DEO9Jh2Y.js";
3
+ import { L as LRParser, E as ExternalTokenizer } from "./index-DO5LsHlM.js";
4
+ import "./index-B2UUF9y9.js";
5
+ import "./index-DQwFQR1s.js";
6
+ import "./index-DF_C6DjR.js";
7
7
  const interpolationStart = 1, tagStart = 2, endTagStart = 3, text = 180, endrawTagStart = 4, rawText = 181, endcommentTagStart = 5, commentText = 182, InlineComment = 6;
8
8
  function wordChar(code) {
9
9
  return code >= 65 && code <= 90 || code >= 97 && code <= 122;
@@ -1,9 +1,9 @@
1
- import { i as isUndefined, G as Graph } from "./graph-47tN-JjA.js";
2
- import { m as map, l as layout } from "./layout-C3nD7S8q.js";
3
- import { c as clone } from "./clone-DYFbSe8n.js";
4
- import { i as insertMarkers$1, u as updateNodeBounds, s as setNodeElem, c as insertNode, b as insertEdgeLabel, g as getSubGraphTitleMargins, d as positionNode, a as insertEdge, p as positionEdgeLabel, e as intersectRect$1, f as createLabel$1, h as clear$1$1, j as clear$2 } from "./edges-96097737-NtlJJRFS.js";
5
- import { v as log$1, r as getConfig, S as evaluate, u as select } from "./MilkdownMarkdownEditor-UNNnHq-Q.js";
6
- import { c as createText } from "./createText-1719965b-DzSrNkTO.js";
1
+ import { i as isUndefined, G as Graph } from "./graph-jZhookGR.js";
2
+ import { m as map, l as layout } from "./layout-BsbNXXgR.js";
3
+ import { c as clone } from "./clone-D-DQ4nnY.js";
4
+ import { i as insertMarkers$1, u as updateNodeBounds, s as setNodeElem, c as insertNode, b as insertEdgeLabel, g as getSubGraphTitleMargins, d as positionNode, a as insertEdge, p as positionEdgeLabel, e as intersectRect$1, f as createLabel$1, h as clear$1$1, j as clear$2 } from "./edges-96097737-DycnAYk_.js";
5
+ import { v as log$1, r as getConfig, S as evaluate, u as select } from "./MilkdownMarkdownEditor-CuTa5j4S.js";
6
+ import { c as createText } from "./createText-1719965b-ciE8YuqI.js";
7
7
  function write(g) {
8
8
  var json = {
9
9
  options: {
@@ -1,6 +1,6 @@
1
- import { L as LRParser, E as ExternalTokenizer, a as LocalTokenGroup, C as ContextTracker } from "./index-PvzYpUGb.js";
2
- import { s as styleTags, t as tags, a as LanguageSupport, b as ifNotIn, d as completeFromList, L as LRLanguage, i as indentNodeProp, au as flatIndent, c as continuedIndent, h as delimitedIndent, f as foldNodeProp, j as foldInside, e as syntaxTree, av as snippetCompletion, aw as NodeWeakMap, I as IterMode } from "./MilkdownMarkdownEditor-UNNnHq-Q.js";
3
- import "./index-CaKrYTYv.js";
1
+ import { L as LRParser, E as ExternalTokenizer, a as LocalTokenGroup, C as ContextTracker } from "./index-DO5LsHlM.js";
2
+ import { s as styleTags, t as tags, a as LanguageSupport, b as ifNotIn, d as completeFromList, L as LRLanguage, i as indentNodeProp, au as flatIndent, c as continuedIndent, h as delimitedIndent, f as foldNodeProp, j as foldInside, e as syntaxTree, av as snippetCompletion, aw as NodeWeakMap, I as IterMode } from "./MilkdownMarkdownEditor-CuTa5j4S.js";
3
+ import "./index-B2UUF9y9.js";
4
4
  const insertedSemi = 177, space$1 = 179, identifier = 184, String = 12, closeParen$1 = 13, Number = 17, Rune = 20, closeBrace$1 = 25, closeBracket = 53, IncDecOp = 95, _return = 142, _break = 144, _continue = 145, fallthrough = 148;
5
5
  const newline = 10, carriageReturn = 13, space = 32, tab = 9, slash = 47, closeParen = 41, closeBrace = 125;
6
6
  const semicolon = new ExternalTokenizer((input, stack) => {
@@ -1,4 +1,4 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./MilkdownMarkdownEditor-UNNnHq-Q.js","./MilkdownMarkdownEditor-tTNRIB2K.css"])))=>i.map(i=>d[i]);
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./MilkdownMarkdownEditor-CuTa5j4S.js","./MilkdownMarkdownEditor-tTNRIB2K.css"])))=>i.map(i=>d[i]);
2
2
  var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
3
3
  function getDefaultExportFromCjs(x) {
4
4
  return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x;
@@ -13169,6 +13169,22 @@ const Send = createLucideIcon("Send", [
13169
13169
  ],
13170
13170
  ["path", { d: "m21.854 2.147-10.94 10.939", key: "12cjpa" }]
13171
13171
  ]);
13172
+ /**
13173
+ * @license lucide-react v0.469.0 - ISC
13174
+ *
13175
+ * This source code is licensed under the ISC license.
13176
+ * See the LICENSE file in the root directory of this source tree.
13177
+ */
13178
+ const Settings = createLucideIcon("Settings", [
13179
+ [
13180
+ "path",
13181
+ {
13182
+ 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",
13183
+ key: "1qme2f"
13184
+ }
13185
+ ],
13186
+ ["circle", { cx: "12", cy: "12", r: "3", key: "1v7zrd" }]
13187
+ ]);
13172
13188
  /**
13173
13189
  * @license lucide-react v0.469.0 - ISC
13174
13190
  *
@@ -29717,7 +29733,7 @@ function ToolbarButton({ onClick, tooltip, children }) {
29717
29733
  }
29718
29734
  );
29719
29735
  }
29720
- function LeftSidebar() {
29736
+ function LeftSidebar({ onOpenSettings }) {
29721
29737
  const theme = useUIStore((s15) => s15.theme);
29722
29738
  const toggleTheme = useUIStore((s15) => s15.toggleTheme);
29723
29739
  const centerView = useUIStore((s15) => s15.centerView);
@@ -29782,7 +29798,10 @@ function LeftSidebar() {
29782
29798
  ] })
29783
29799
  ] }),
29784
29800
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "flex-1 min-h-0", children: centerView === "literature" ? /* @__PURE__ */ jsxRuntimeExports.jsx(LiteratureSidebar, {}) : centerView === "compute" && window.api?.isComputeEnabled?.() ? /* @__PURE__ */ jsxRuntimeExports.jsx(ComputeSidebar, {}) : /* @__PURE__ */ jsxRuntimeExports.jsx(EntityTabs, {}) }),
29785
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "border-t t-border p-4", children: /* @__PURE__ */ jsxRuntimeExports.jsx(UserProfile, {}) })
29801
+ /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "border-t t-border p-4 flex items-center justify-between", children: [
29802
+ /* @__PURE__ */ jsxRuntimeExports.jsx(UserProfile, {}),
29803
+ /* @__PURE__ */ jsxRuntimeExports.jsx(ToolbarButton, { onClick: onOpenSettings, tooltip: "Settings ⌘,", children: /* @__PURE__ */ jsxRuntimeExports.jsx(Settings, { size: 16 }) })
29804
+ ] })
29786
29805
  ] })
29787
29806
  );
29788
29807
  }
@@ -33055,7 +33074,7 @@ function CenterPanel() {
33055
33074
  }
33056
33075
  const remarkPlugins = [remarkGfm];
33057
33076
  const LazyMilkdownMarkdownEditor = reactExports.lazy(async () => {
33058
- const mod = await __vitePreload(() => import("./MilkdownMarkdownEditor-UNNnHq-Q.js").then((n) => n.bL), true ? __vite__mapDeps([0,1]) : void 0, import.meta.url);
33077
+ const mod = await __vitePreload(() => import("./MilkdownMarkdownEditor-CuTa5j4S.js").then((n) => n.bL), true ? __vite__mapDeps([0,1]) : void 0, import.meta.url);
33059
33078
  return { default: mod.MilkdownMarkdownEditor };
33060
33079
  });
33061
33080
  const typeIcons = {
@@ -43116,10 +43135,14 @@ function App() {
43116
43135
  return unsub;
43117
43136
  }, []);
43118
43137
  reactExports.useEffect(() => {
43119
- const unsub = api.onExportChat(() => {
43138
+ const unsubExport = api.onExportChat(() => {
43120
43139
  api.exportChat();
43121
43140
  });
43122
- return unsub;
43141
+ const unsubSettings = api.onOpenSettings(() => setSettingsOpen(true));
43142
+ return () => {
43143
+ unsubExport();
43144
+ unsubSettings();
43145
+ };
43123
43146
  }, []);
43124
43147
  reactExports.useEffect(() => {
43125
43148
  const handler = (e) => {
@@ -43189,7 +43212,7 @@ function App() {
43189
43212
  /* @__PURE__ */ jsxRuntimeExports.jsx("a", { href: "#main-content", className: "skip-link", children: "Skip to content" }),
43190
43213
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "drag-region fixed top-0 left-0 right-0 h-8 z-50" }),
43191
43214
  /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex flex-1 min-h-0", children: [
43192
- !leftCollapsed && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: previewEntity ? "hidden" : "contents", children: /* @__PURE__ */ jsxRuntimeExports.jsx(LeftSidebar, {}) }),
43215
+ !leftCollapsed && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: previewEntity ? "hidden" : "contents", children: /* @__PURE__ */ jsxRuntimeExports.jsx(LeftSidebar, { onOpenSettings: () => setSettingsOpen(true) }) }),
43193
43216
  /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex-1 flex flex-col min-w-0 min-h-0", children: [
43194
43217
  /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: `flex min-h-0 ${terminalVisible ? "flex-[2]" : "flex-1"}`, children: [
43195
43218
  /* @__PURE__ */ jsxRuntimeExports.jsx(CenterPanel, {}),
@@ -1,6 +1,6 @@
1
- import { L as LRParser, E as ExternalTokenizer, C as ContextTracker } from "./index-PvzYpUGb.js";
2
- import { s as styleTags, t as tags, a as LanguageSupport, p as parseMixed, L as LRLanguage, i as indentNodeProp, h as delimitedIndent, f as foldNodeProp, j as foldInside } from "./MilkdownMarkdownEditor-UNNnHq-Q.js";
3
- import "./index-CaKrYTYv.js";
1
+ import { L as LRParser, E as ExternalTokenizer, C as ContextTracker } from "./index-DO5LsHlM.js";
2
+ import { s as styleTags, t as tags, a as LanguageSupport, p as parseMixed, L as LRLanguage, i as indentNodeProp, h as delimitedIndent, f as foldNodeProp, j as foldInside } from "./MilkdownMarkdownEditor-CuTa5j4S.js";
3
+ import "./index-B2UUF9y9.js";
4
4
  const blockEnd = 63, eof = 64, DirectiveEnd = 1, DocEnd = 2, sequenceStartMark = 3, sequenceContinueMark = 4, explicitMapStartMark = 5, explicitMapContinueMark = 6, flowMapMark = 7, mapStartMark = 65, mapContinueMark = 66, Literal = 8, QuotedLiteral = 9, Anchor = 10, Alias = 11, Tag = 12, BlockLiteralContent = 13, BracketL = 19, FlowSequence = 20, Colon = 29, BraceL = 33, FlowMapping = 34, BlockLiteralHeader = 47;
5
5
  const type_Top = 0, type_Seq = 1, type_Map = 2, type_Flow = 3, type_Lit = 4;
6
6
  class Context {
@@ -1,9 +1,9 @@
1
- import { L as LRLanguage, a as LanguageSupport, p as parseMixed, s as styleTags, t as tags } from "./MilkdownMarkdownEditor-UNNnHq-Q.js";
2
- import { html } from "./index-CTXUhrja.js";
3
- import { javascriptLanguage } from "./index-DcHrpeaZ.js";
4
- import { L as LRParser, E as ExternalTokenizer } from "./index-PvzYpUGb.js";
5
- import "./index-CaKrYTYv.js";
6
- import "./index-DnGwgCJt.js";
1
+ import { L as LRLanguage, a as LanguageSupport, p as parseMixed, s as styleTags, t as tags } from "./MilkdownMarkdownEditor-CuTa5j4S.js";
2
+ import { html } from "./index-DEO9Jh2Y.js";
3
+ import { javascriptLanguage } from "./index-DF_C6DjR.js";
4
+ import { L as LRParser, E as ExternalTokenizer } from "./index-DO5LsHlM.js";
5
+ import "./index-B2UUF9y9.js";
6
+ import "./index-DQwFQR1s.js";
7
7
  const Text = 1, attributeContentSingle = 33, attributeContentDouble = 34, scriptAttributeContentSingle = 35, scriptAttributeContentDouble = 36;
8
8
  const text = /* @__PURE__ */ new ExternalTokenizer((input) => {
9
9
  let start = input.pos;
@@ -1,6 +1,6 @@
1
- import { L as LRParser, E as ExternalTokenizer } from "./index-PvzYpUGb.js";
2
- import { s as styleTags, t as tags, a as LanguageSupport, L as LRLanguage, i as indentNodeProp, c as continuedIndent, f as foldNodeProp, j as foldInside } from "./MilkdownMarkdownEditor-UNNnHq-Q.js";
3
- import "./index-CaKrYTYv.js";
1
+ import { L as LRParser, E as ExternalTokenizer } from "./index-DO5LsHlM.js";
2
+ import { s as styleTags, t as tags, a as LanguageSupport, L as LRLanguage, i as indentNodeProp, c as continuedIndent, f as foldNodeProp, j as foldInside } from "./MilkdownMarkdownEditor-CuTa5j4S.js";
3
+ import "./index-B2UUF9y9.js";
4
4
  const closureParamDelim = 1, tpOpen = 2, tpClose = 3, RawString = 4, Float = 5;
5
5
  const _b = 98, _e = 101, _f = 102, _r = 114, _E = 69, Zero = 48, Dot = 46, Plus = 43, Minus = 45, Hash = 35, Quote = 34, Pipe = 124, LessThan = 60, GreaterThan = 62;
6
6
  function isNum(ch) {
@@ -1,9 +1,9 @@
1
- import { P as Parser, k as NodeType, l as NodeProp, ax as Tag, N as NodeSet, s as styleTags, T as Tree, p as parseMixed, t as tags, e as syntaxTree, g as EditorSelection, ay as countColumn, a as LanguageSupport, az as Prec, aA as keymap, E as EditorView, aB as Language, aC as indentUnit, aD as foldService, aE as defineLanguageFacet, aF as CompletionContext, aG as EditorState, f as foldNodeProp, i as indentNodeProp, aH as languageDataProp, aI as LanguageDescription, aJ as ParseContext } from "./MilkdownMarkdownEditor-UNNnHq-Q.js";
2
- import { html, htmlCompletionSource } from "./index-CTXUhrja.js";
3
- import "./index-CaKrYTYv.js";
4
- import "./index-PvzYpUGb.js";
5
- import "./index-DnGwgCJt.js";
6
- import "./index-DcHrpeaZ.js";
1
+ import { P as Parser, k as NodeType, l as NodeProp, ax as Tag, N as NodeSet, s as styleTags, T as Tree, p as parseMixed, t as tags, e as syntaxTree, g as EditorSelection, ay as countColumn, a as LanguageSupport, az as Prec, aA as keymap, E as EditorView, aB as Language, aC as indentUnit, aD as foldService, aE as defineLanguageFacet, aF as CompletionContext, aG as EditorState, f as foldNodeProp, i as indentNodeProp, aH as languageDataProp, aI as LanguageDescription, aJ as ParseContext } from "./MilkdownMarkdownEditor-CuTa5j4S.js";
2
+ import { html, htmlCompletionSource } from "./index-DEO9Jh2Y.js";
3
+ import "./index-B2UUF9y9.js";
4
+ import "./index-DO5LsHlM.js";
5
+ import "./index-DQwFQR1s.js";
6
+ import "./index-DF_C6DjR.js";
7
7
  class CompositeBlock {
8
8
  static create(type, value, from, parentHash, end) {
9
9
  let hash = parentHash + (parentHash << 8) + type + (value << 4) | 0;
@@ -1,6 +1,6 @@
1
- import { L as LRParser, E as ExternalTokenizer, C as ContextTracker } from "./index-PvzYpUGb.js";
2
- import { s as styleTags, t as tags, b as ifNotIn, e as syntaxTree, a as LanguageSupport, L as LRLanguage, i as indentNodeProp, h as delimitedIndent, f as foldNodeProp, j as foldInside, aw as NodeWeakMap, I as IterMode, d as completeFromList, av as snippetCompletion } from "./MilkdownMarkdownEditor-UNNnHq-Q.js";
3
- import "./index-CaKrYTYv.js";
1
+ import { L as LRParser, E as ExternalTokenizer, C as ContextTracker } from "./index-DO5LsHlM.js";
2
+ import { s as styleTags, t as tags, b as ifNotIn, e as syntaxTree, a as LanguageSupport, L as LRLanguage, i as indentNodeProp, h as delimitedIndent, f as foldNodeProp, j as foldInside, aw as NodeWeakMap, I as IterMode, d as completeFromList, av as snippetCompletion } from "./MilkdownMarkdownEditor-CuTa5j4S.js";
3
+ import "./index-B2UUF9y9.js";
4
4
  const printKeyword = 1, indent = 194, dedent = 195, newline$1 = 196, blankLineStart = 197, newlineBracketed = 198, eof = 199, stringContent = 200, Escape = 2, replacementStart = 3, stringEnd = 201, ParenL = 24, ParenthesizedExpression = 25, TupleExpression = 49, ComprehensionExpression = 50, BracketL = 55, ArrayExpression = 56, ArrayComprehensionExpression = 57, BraceL = 59, DictionaryExpression = 60, DictionaryComprehensionExpression = 61, SetExpression = 62, SetComprehensionExpression = 63, ArgList = 65, subscript = 238, String$1 = 71, stringStart = 241, stringStartD = 242, stringStartL = 243, stringStartLD = 244, stringStartR = 245, stringStartRD = 246, stringStartRL = 247, stringStartRLD = 248, FormatString = 72, stringStartF = 249, stringStartFD = 250, stringStartFL = 251, stringStartFLD = 252, stringStartFR = 253, stringStartFRD = 254, stringStartFRL = 255, stringStartFRLD = 256, FormatReplacement = 73, nestedFormatReplacement = 77, importList = 263, TypeParamList = 112, ParamList = 130, SequencePattern = 151, MappingPattern = 152, PatternArgList = 155;
5
5
  const newline = 10, carriageReturn = 13, space = 32, tab = 9, hash = 35, parenOpen = 40, dot = 46, braceOpen = 123, braceClose = 125, singleQuote = 39, doubleQuote = 34, backslash = 92, letter_o = 111, letter_x = 120, letter_N = 78, letter_u = 117, letter_U = 85;
6
6
  const bracketed = /* @__PURE__ */ new Set([
@@ -1,6 +1,6 @@
1
- import { L as LRParser } from "./index-PvzYpUGb.js";
2
- import { s as styleTags, t as tags, a as LanguageSupport, L as LRLanguage, i as indentNodeProp, au as flatIndent, c as continuedIndent, h as delimitedIndent, f as foldNodeProp, j as foldInside } from "./MilkdownMarkdownEditor-UNNnHq-Q.js";
3
- import "./index-CaKrYTYv.js";
1
+ import { L as LRParser } from "./index-DO5LsHlM.js";
2
+ import { s as styleTags, t as tags, a as LanguageSupport, L as LRLanguage, i as indentNodeProp, au as flatIndent, c as continuedIndent, h as delimitedIndent, f as foldNodeProp, j as foldInside } from "./MilkdownMarkdownEditor-CuTa5j4S.js";
3
+ import "./index-B2UUF9y9.js";
4
4
  const javaHighlighting = styleTags({
5
5
  null: tags.null,
6
6
  instanceof: tags.operatorKeyword,
@@ -1,6 +1,6 @@
1
- import { L as LRParser, E as ExternalTokenizer, C as ContextTracker } from "./index-PvzYpUGb.js";
2
- import { s as styleTags, t as tags, E as EditorView, e as syntaxTree, g as EditorSelection, a as LanguageSupport, L as LRLanguage, i as indentNodeProp, f as foldNodeProp, aK as bracketMatchingHandle } from "./MilkdownMarkdownEditor-UNNnHq-Q.js";
3
- import "./index-CaKrYTYv.js";
1
+ import { L as LRParser, E as ExternalTokenizer, C as ContextTracker } from "./index-DO5LsHlM.js";
2
+ import { s as styleTags, t as tags, E as EditorView, e as syntaxTree, g as EditorSelection, a as LanguageSupport, L as LRLanguage, i as indentNodeProp, f as foldNodeProp, aK as bracketMatchingHandle } from "./MilkdownMarkdownEditor-CuTa5j4S.js";
3
+ import "./index-B2UUF9y9.js";
4
4
  const StartTag = 1, StartCloseTag = 2, MissingCloseTag = 3, mismatchedStartCloseTag = 4, incompleteStartCloseTag = 5, commentContent$1 = 36, piContent$1 = 37, cdataContent$1 = 38, Element$1 = 11, OpenTag = 13;
5
5
  function nameChar(ch) {
6
6
  return ch == 45 || ch == 46 || ch == 58 || ch >= 65 && ch <= 90 || ch == 95 || ch >= 97 && ch <= 122 || ch >= 161;
@@ -1,7 +1,7 @@
1
- import { L as LRParser, E as ExternalTokenizer, C as ContextTracker } from "./index-PvzYpUGb.js";
2
- import { s as styleTags, t as tags, a as LanguageSupport, L as LRLanguage, f as foldNodeProp, j as foldInside, i as indentNodeProp, c as continuedIndent } from "./MilkdownMarkdownEditor-UNNnHq-Q.js";
3
- import { defineCSSCompletionSource } from "./index-DnGwgCJt.js";
4
- import "./index-CaKrYTYv.js";
1
+ import { L as LRParser, E as ExternalTokenizer, C as ContextTracker } from "./index-DO5LsHlM.js";
2
+ import { s as styleTags, t as tags, a as LanguageSupport, L as LRLanguage, f as foldNodeProp, j as foldInside, i as indentNodeProp, c as continuedIndent } from "./MilkdownMarkdownEditor-CuTa5j4S.js";
3
+ import { defineCSSCompletionSource } from "./index-DQwFQR1s.js";
4
+ import "./index-B2UUF9y9.js";
5
5
  const indent = 168, dedent = 169, descendantOp = 170, InterpolationEnd = 1, InterpolationContinue = 2, Unit = 3, callee = 171, identifier = 172, VariableName = 4, queryIdentifier = 173, InterpolationStart = 5, newline = 174, blankLineStart = 175, eof = 176, whitespace = 177, LineComment = 6, Comment = 7, IndentedMixin = 8, IndentedInclude = 9, Dialect_indented = 0;
6
6
  const space = [
7
7
  9,
@@ -1,9 +1,9 @@
1
- import { L as LRLanguage, a as LanguageSupport, p as parseMixed, s as styleTags, t as tags } from "./MilkdownMarkdownEditor-UNNnHq-Q.js";
2
- import { html } from "./index-CTXUhrja.js";
3
- import { javascriptLanguage } from "./index-DcHrpeaZ.js";
4
- import { L as LRParser, a as LocalTokenGroup } from "./index-PvzYpUGb.js";
5
- import "./index-CaKrYTYv.js";
6
- import "./index-DnGwgCJt.js";
1
+ import { L as LRLanguage, a as LanguageSupport, p as parseMixed, s as styleTags, t as tags } from "./MilkdownMarkdownEditor-CuTa5j4S.js";
2
+ import { html } from "./index-DEO9Jh2Y.js";
3
+ import { javascriptLanguage } from "./index-DF_C6DjR.js";
4
+ import { L as LRParser, a as LocalTokenGroup } from "./index-DO5LsHlM.js";
5
+ import "./index-B2UUF9y9.js";
6
+ import "./index-DQwFQR1s.js";
7
7
  const parser = /* @__PURE__ */ LRParser.deserialize({
8
8
  version: 14,
9
9
  states: "%pOVOWOOObQPOOOpOSO'#C_OOOO'#Cp'#CpQVOWOOQxQPOOO!TQQOOQ!YQPOOOOOO,58y,58yO!_OSO,58yOOOO-E6n-E6nO!dQQO'#CqQ{QPOOO!iQPOOQ{QPOOO!qQPOOOOOO1G.e1G.eOOQO,59],59]OOQO-E6o-E6oO!yOpO'#CiO#RO`O'#CiQOQPOOO#ZO#tO'#CmO#fO!bO'#CmOOQO,59T,59TO#qOpO,59TO#vO`O,59TOOOO'#Cr'#CrO#{O#tO,59XOOQO,59X,59XOOOO'#Cs'#CsO$WO!bO,59XOOQO1G.o1G.oOOOO-E6p-E6pOOQO1G.s1G.sOOOO-E6q-E6q",
@@ -1,9 +1,9 @@
1
- import { L as LRParser, E as ExternalTokenizer } from "./index-PvzYpUGb.js";
2
- import { s as styleTags, t as tags, a as LanguageSupport, p as parseMixed, L as LRLanguage, i as indentNodeProp, c as continuedIndent, h as delimitedIndent, f as foldNodeProp, j as foldInside } from "./MilkdownMarkdownEditor-UNNnHq-Q.js";
3
- import { html } from "./index-CTXUhrja.js";
4
- import "./index-CaKrYTYv.js";
5
- import "./index-DnGwgCJt.js";
6
- import "./index-DcHrpeaZ.js";
1
+ import { L as LRParser, E as ExternalTokenizer } from "./index-DO5LsHlM.js";
2
+ import { s as styleTags, t as tags, a as LanguageSupport, p as parseMixed, L as LRLanguage, i as indentNodeProp, c as continuedIndent, h as delimitedIndent, f as foldNodeProp, j as foldInside } from "./MilkdownMarkdownEditor-CuTa5j4S.js";
3
+ import { html } from "./index-DEO9Jh2Y.js";
4
+ import "./index-B2UUF9y9.js";
5
+ import "./index-DQwFQR1s.js";
6
+ import "./index-DF_C6DjR.js";
7
7
  const castOpen = 1, HeredocString = 2, interpolatedStringContent = 275, EscapeSequence = 3, afterInterpolation = 276, automaticSemicolon = 277, eof = 278, abstract = 4, and = 5, array = 6, as = 7, Boolean = 8, _break = 9, _case = 10, _catch = 11, clone = 12, _const = 13, _continue = 14, _default = 15, declare = 16, _do = 17, echo = 18, _else = 19, elseif = 20, enddeclare = 21, endfor = 22, endforeach = 23, endif = 24, endswitch = 25, endwhile = 26, _enum = 27, _extends = 28, final = 29, _finally = 30, fn = 31, _for = 32, foreach = 33, from = 34, _function = 35, global = 36, goto = 37, _if = 38, _implements = 39, include = 40, include_once = 41, _instanceof = 42, insteadof = 43, _interface = 44, list = 45, match = 46, namespace = 47, _new = 48, _null = 49, or = 50, print = 51, readonly = 52, _require = 53, require_once = 54, _return = 55, _switch = 56, _throw = 57, trait = 58, _try = 59, unset = 60, use = 61, _var = 62, Visibility = 63, _while = 64, xor = 65, _yield = 66;
8
8
  const keywordMap = {
9
9
  abstract,
@@ -1,6 +1,6 @@
1
- import { a as LanguageSupport, L as LRLanguage, i as indentNodeProp, h as delimitedIndent, f as foldNodeProp, j as foldInside, s as styleTags, t as tags } from "./MilkdownMarkdownEditor-UNNnHq-Q.js";
2
- import { L as LRParser } from "./index-PvzYpUGb.js";
3
- import "./index-CaKrYTYv.js";
1
+ import { a as LanguageSupport, L as LRLanguage, i as indentNodeProp, h as delimitedIndent, f as foldNodeProp, j as foldInside, s as styleTags, t as tags } from "./MilkdownMarkdownEditor-CuTa5j4S.js";
2
+ import { L as LRParser } from "./index-DO5LsHlM.js";
3
+ import "./index-B2UUF9y9.js";
4
4
  const spec_Keyword = { __proto__: null, anyref: 34, dataref: 34, eqref: 34, externref: 34, i31ref: 34, funcref: 34, i8: 34, i16: 34, i32: 34, i64: 34, f32: 34, f64: 34 };
5
5
  const parser = /* @__PURE__ */ LRParser.deserialize({
6
6
  version: 14,
@@ -1,6 +1,6 @@
1
- import { L as LRParser } from "./index-PvzYpUGb.js";
2
- import { s as styleTags, t as tags, a as LanguageSupport, L as LRLanguage, i as indentNodeProp, c as continuedIndent, f as foldNodeProp, j as foldInside } from "./MilkdownMarkdownEditor-UNNnHq-Q.js";
3
- import "./index-CaKrYTYv.js";
1
+ import { L as LRParser } from "./index-DO5LsHlM.js";
2
+ import { s as styleTags, t as tags, a as LanguageSupport, L as LRLanguage, i as indentNodeProp, c as continuedIndent, f as foldNodeProp, j as foldInside } from "./MilkdownMarkdownEditor-CuTa5j4S.js";
3
+ import "./index-B2UUF9y9.js";
4
4
  const jsonHighlighting = styleTags({
5
5
  String: tags.string,
6
6
  Number: tags.number,
@@ -1,8 +1,8 @@
1
- import { L as LRParser, E as ExternalTokenizer, C as ContextTracker } from "./index-PvzYpUGb.js";
2
- import { p as parseMixed, s as styleTags, t as tags, E as EditorView, e as syntaxTree, g as EditorSelection, a as LanguageSupport, L as LRLanguage, i as indentNodeProp, f as foldNodeProp, aK as bracketMatchingHandle } from "./MilkdownMarkdownEditor-UNNnHq-Q.js";
3
- import { cssLanguage, css } from "./index-DnGwgCJt.js";
4
- import { typescriptLanguage, jsxLanguage, tsxLanguage, javascriptLanguage, javascript } from "./index-DcHrpeaZ.js";
5
- import "./index-CaKrYTYv.js";
1
+ import { L as LRParser, E as ExternalTokenizer, C as ContextTracker } from "./index-DO5LsHlM.js";
2
+ import { p as parseMixed, s as styleTags, t as tags, E as EditorView, e as syntaxTree, g as EditorSelection, a as LanguageSupport, L as LRLanguage, i as indentNodeProp, f as foldNodeProp, aK as bracketMatchingHandle } from "./MilkdownMarkdownEditor-CuTa5j4S.js";
3
+ import { cssLanguage, css } from "./index-DQwFQR1s.js";
4
+ import { typescriptLanguage, jsxLanguage, tsxLanguage, javascriptLanguage, javascript } from "./index-DF_C6DjR.js";
5
+ import "./index-B2UUF9y9.js";
6
6
  const scriptText = 55, StartCloseScriptTag = 1, styleText = 56, StartCloseStyleTag = 2, textareaText = 57, StartCloseTextareaTag = 3, EndTag = 4, SelfClosingEndTag = 5, StartTag = 6, StartScriptTag = 7, StartStyleTag = 8, StartTextareaTag = 9, StartSelfClosingTag = 10, StartCloseTag = 11, NoMatchStartCloseTag = 12, MismatchedStartCloseTag = 13, missingCloseTag = 58, IncompleteTag = 14, IncompleteCloseTag = 15, commentContent$1 = 59, Element = 21, TagName = 23, Attribute = 24, AttributeName = 25, AttributeValue = 27, UnquotedAttributeValue = 28, ScriptText = 29, StyleText = 32, TextareaText = 35, OpenTag = 37, CloseTag = 38, Dialect_noMatch = 0, Dialect_selfClosing = 1;
7
7
  const selfClosers$1 = {
8
8
  area: true,
@@ -1,6 +1,6 @@
1
- import { L as LRParser, E as ExternalTokenizer, a as LocalTokenGroup, C as ContextTracker } from "./index-PvzYpUGb.js";
2
- import { s as styleTags, t as tags, E as EditorView, e as syntaxTree, g as EditorSelection, a as LanguageSupport, b as ifNotIn, d as completeFromList, L as LRLanguage, i as indentNodeProp, au as flatIndent, c as continuedIndent, h as delimitedIndent, f as foldNodeProp, j as foldInside, aL as sublanguageProp, av as snippetCompletion, aE as defineLanguageFacet, aw as NodeWeakMap, I as IterMode } from "./MilkdownMarkdownEditor-UNNnHq-Q.js";
3
- import "./index-CaKrYTYv.js";
1
+ import { L as LRParser, E as ExternalTokenizer, a as LocalTokenGroup, C as ContextTracker } from "./index-DO5LsHlM.js";
2
+ import { s as styleTags, t as tags, E as EditorView, e as syntaxTree, g as EditorSelection, a as LanguageSupport, b as ifNotIn, d as completeFromList, L as LRLanguage, i as indentNodeProp, au as flatIndent, c as continuedIndent, h as delimitedIndent, f as foldNodeProp, j as foldInside, aL as sublanguageProp, av as snippetCompletion, aE as defineLanguageFacet, aw as NodeWeakMap, I as IterMode } from "./MilkdownMarkdownEditor-CuTa5j4S.js";
3
+ import "./index-B2UUF9y9.js";
4
4
  const noSemi = 316, noSemiType = 317, incdec = 1, incdecPrefix = 2, questionDot = 3, JSXStartTag = 4, insertSemi = 318, spaces = 320, newline = 321, LineComment = 5, BlockComment = 6, Dialect_jsx = 0;
5
5
  const space = [
6
6
  9,
@@ -1,4 +1,4 @@
1
- import { P as Parser, N as NodeSet, k as NodeType, D as DefaultBufferLength, l as NodeProp, T as Tree, I as IterMode } from "./MilkdownMarkdownEditor-UNNnHq-Q.js";
1
+ import { P as Parser, N as NodeSet, k as NodeType, D as DefaultBufferLength, l as NodeProp, T as Tree, I as IterMode } from "./MilkdownMarkdownEditor-CuTa5j4S.js";
2
2
  var define_process_env_default = {};
3
3
  class Stack {
4
4
  /**
@@ -1,6 +1,6 @@
1
- import { L as LRParser, E as ExternalTokenizer, a as LocalTokenGroup } from "./index-PvzYpUGb.js";
2
- import { s as styleTags, t as tags, a as LanguageSupport, L as LRLanguage, i as indentNodeProp, au as flatIndent, c as continuedIndent, h as delimitedIndent, f as foldNodeProp, j as foldInside } from "./MilkdownMarkdownEditor-UNNnHq-Q.js";
3
- import "./index-CaKrYTYv.js";
1
+ import { L as LRParser, E as ExternalTokenizer, a as LocalTokenGroup } from "./index-DO5LsHlM.js";
2
+ import { s as styleTags, t as tags, a as LanguageSupport, L as LRLanguage, i as indentNodeProp, au as flatIndent, c as continuedIndent, h as delimitedIndent, f as foldNodeProp, j as foldInside } from "./MilkdownMarkdownEditor-CuTa5j4S.js";
3
+ import "./index-B2UUF9y9.js";
4
4
  const RawString = 1, templateArgsEndFallback = 2, MacroName = 3;
5
5
  const R = 82, L = 76, u = 117, U = 85, a = 97, z = 122, A = 65, Z = 90, Underscore = 95, Zero = 48, Quote = 34, ParenL = 40, ParenR = 41, Space = 32, GreaterThan = 62;
6
6
  const rawString = new ExternalTokenizer((input) => {
@@ -1,6 +1,6 @@
1
- import { L as LRParser, E as ExternalTokenizer, a as LocalTokenGroup } from "./index-PvzYpUGb.js";
2
- import { s as styleTags, t as tags$1, a as LanguageSupport, L as LRLanguage, i as indentNodeProp, c as continuedIndent, f as foldNodeProp, j as foldInside, e as syntaxTree, aw as NodeWeakMap, I as IterMode } from "./MilkdownMarkdownEditor-UNNnHq-Q.js";
3
- import "./index-CaKrYTYv.js";
1
+ import { L as LRParser, E as ExternalTokenizer, a as LocalTokenGroup } from "./index-DO5LsHlM.js";
2
+ import { s as styleTags, t as tags$1, a as LanguageSupport, L as LRLanguage, i as indentNodeProp, c as continuedIndent, f as foldNodeProp, j as foldInside, e as syntaxTree, aw as NodeWeakMap, I as IterMode } from "./MilkdownMarkdownEditor-CuTa5j4S.js";
3
+ import "./index-B2UUF9y9.js";
4
4
  const descendantOp = 122, Unit = 1, identifier$1 = 123, callee = 124, VariableName = 2, queryIdentifier = 125, queryVariableName = 3, QueryCallee = 4;
5
5
  const space = [
6
6
  9,
@@ -1,9 +1,9 @@
1
- import { E as EditorView, g as EditorSelection, a as LanguageSupport, p as parseMixed, e as syntaxTree, L as LRLanguage, s as styleTags, t as tags, i as indentNodeProp, h as delimitedIndent, f as foldNodeProp } from "./MilkdownMarkdownEditor-UNNnHq-Q.js";
2
- import { html } from "./index-CTXUhrja.js";
3
- import { L as LRParser, E as ExternalTokenizer, a as LocalTokenGroup } from "./index-PvzYpUGb.js";
4
- import "./index-CaKrYTYv.js";
5
- import "./index-DnGwgCJt.js";
6
- import "./index-DcHrpeaZ.js";
1
+ import { E as EditorView, g as EditorSelection, a as LanguageSupport, p as parseMixed, e as syntaxTree, L as LRLanguage, s as styleTags, t as tags, i as indentNodeProp, h as delimitedIndent, f as foldNodeProp } from "./MilkdownMarkdownEditor-CuTa5j4S.js";
2
+ import { html } from "./index-DEO9Jh2Y.js";
3
+ import { L as LRParser, E as ExternalTokenizer, a as LocalTokenGroup } from "./index-DO5LsHlM.js";
4
+ import "./index-B2UUF9y9.js";
5
+ import "./index-DQwFQR1s.js";
6
+ import "./index-DF_C6DjR.js";
7
7
  const interpolationStart = 1, commentTagStart = 2, tagStart = 3, text = 155, endrawTagStart = 4, rawText = 156;
8
8
  function wordChar(code) {
9
9
  return code >= 65 && code <= 90 || code >= 97 && code <= 122;
@@ -1,6 +1,6 @@
1
- import { L as LRLanguage, a as LanguageSupport, i as indentNodeProp, c as continuedIndent, f as foldNodeProp, s as styleTags, t as tags, b as ifNotIn, d as completeFromList, e as syntaxTree } from "./MilkdownMarkdownEditor-UNNnHq-Q.js";
2
- import { E as ExternalTokenizer, L as LRParser } from "./index-PvzYpUGb.js";
3
- import "./index-CaKrYTYv.js";
1
+ import { L as LRLanguage, a as LanguageSupport, i as indentNodeProp, c as continuedIndent, f as foldNodeProp, s as styleTags, t as tags, b as ifNotIn, d as completeFromList, e as syntaxTree } from "./MilkdownMarkdownEditor-CuTa5j4S.js";
2
+ import { E as ExternalTokenizer, L as LRParser } from "./index-DO5LsHlM.js";
3
+ import "./index-B2UUF9y9.js";
4
4
  const whitespace = 36, LineComment = 1, BlockComment = 2, String$1 = 3, Number = 4, Bool = 5, Null = 6, ParenL = 7, ParenR = 8, BraceL = 9, BraceR = 10, BracketL = 11, BracketR = 12, Semi = 13, Dot = 14, Operator = 15, Punctuation = 16, SpecialVar = 17, Identifier = 18, QuotedIdentifier = 19, Keyword = 20, Type = 21, Bits = 22, Bytes = 23, Builtin = 24;
5
5
  function isAlpha(ch) {
6
6
  return ch >= 65 && ch <= 90 || ch >= 97 && ch <= 122 || ch >= 48 && ch <= 57;
@@ -1,7 +1,7 @@
1
- import { a as LanguageSupport, L as LRLanguage, i as indentNodeProp, c as continuedIndent, f as foldNodeProp, j as foldInside, s as styleTags, t as tags } from "./MilkdownMarkdownEditor-UNNnHq-Q.js";
2
- import { defineCSSCompletionSource } from "./index-DnGwgCJt.js";
3
- import { L as LRParser, E as ExternalTokenizer } from "./index-PvzYpUGb.js";
4
- import "./index-CaKrYTYv.js";
1
+ import { a as LanguageSupport, L as LRLanguage, i as indentNodeProp, c as continuedIndent, f as foldNodeProp, j as foldInside, s as styleTags, t as tags } from "./MilkdownMarkdownEditor-CuTa5j4S.js";
2
+ import { defineCSSCompletionSource } from "./index-DQwFQR1s.js";
3
+ import { L as LRParser, E as ExternalTokenizer } from "./index-DO5LsHlM.js";
4
+ import "./index-B2UUF9y9.js";
5
5
  const descendantOp = 110, Unit = 1, openArgList = 2;
6
6
  const space = [
7
7
  9,
@@ -1,5 +1,5 @@
1
- import { v as log$1, Z as selectSvgElement, w as configureSvgSize } from "./MilkdownMarkdownEditor-UNNnHq-Q.js";
2
- import "./index-CaKrYTYv.js";
1
+ import { v as log$1, Z as selectSvgElement, w as configureSvgSize } from "./MilkdownMarkdownEditor-CuTa5j4S.js";
2
+ import "./index-B2UUF9y9.js";
3
3
  var parser = function() {
4
4
  var o = function(k, v, o2, l) {
5
5
  for (o2 = o2 || {}, l = k.length; l--; o2[k[l]] = v)
@@ -1,7 +1,7 @@
1
- import { n as getAccDescription, m as setAccDescription, o as getAccTitle, q as setAccTitle, H as getDiagramTitle, J as setDiagramTitle, r as getConfig, u as select, w as configureSvgSize, M as clear$1 } from "./MilkdownMarkdownEditor-UNNnHq-Q.js";
2
- import { a as drawBackgroundRect$1, f as drawText$1, d as drawRect$1, g as getNoteRect } from "./svgDrawCommon-b86b1483-nssZCQ5K.js";
3
- import { a as arc } from "./arc-CpQkTVSV.js";
4
- import "./index-CaKrYTYv.js";
1
+ import { n as getAccDescription, m as setAccDescription, o as getAccTitle, q as setAccTitle, H as getDiagramTitle, J as setDiagramTitle, r as getConfig, u as select, w as configureSvgSize, M as clear$1 } from "./MilkdownMarkdownEditor-CuTa5j4S.js";
2
+ import { a as drawBackgroundRect$1, f as drawText$1, d as drawRect$1, g as getNoteRect } from "./svgDrawCommon-b86b1483-DK4i-dfJ.js";
3
+ import { a as arc } from "./arc-BAWS3N-F.js";
4
+ import "./index-B2UUF9y9.js";
5
5
  import "./path-Cp2qmpkd.js";
6
6
  var parser = function() {
7
7
  var o = function(k, v, o2, l) {
@@ -1,5 +1,5 @@
1
- import { a as baseFlatten, b as baseClone, c as baseIteratee, k as keys, d as baseFindIndex, e as baseEach, f as arrayMap, g as castFunction, h as baseForOwn, j as hasPath, l as castPath, t as toKey, m as baseGet, n as hasIn, o as toString, G as Graph, p as forEach, i as isUndefined, q as filter, v as values, r as reduce } from "./graph-47tN-JjA.js";
2
- import { b4 as toNumber, b5 as setToString, b6 as overRest, b7 as baseRest, b8 as isIterateeCall, b9 as keysIn, ba as eq, bb as isArrayLike, bc as isArray, bd as baseFor, be as baseAssignValue, bf as isSymbol, bg as identity, bh as isObject, bi as isIndex, bj as assignValue, bk as baseUnary, bl as constant, bm as merge } from "./MilkdownMarkdownEditor-UNNnHq-Q.js";
1
+ import { a as baseFlatten, b as baseClone, c as baseIteratee, k as keys, d as baseFindIndex, e as baseEach, f as arrayMap, g as castFunction, h as baseForOwn, j as hasPath, l as castPath, t as toKey, m as baseGet, n as hasIn, o as toString, G as Graph, p as forEach, i as isUndefined, q as filter, v as values, r as reduce } from "./graph-jZhookGR.js";
2
+ import { b4 as toNumber, b5 as setToString, b6 as overRest, b7 as baseRest, b8 as isIterateeCall, b9 as keysIn, ba as eq, bb as isArrayLike, bc as isArray, bd as baseFor, be as baseAssignValue, bf as isSymbol, bg as identity, bh as isObject, bi as isIndex, bj as assignValue, bk as baseUnary, bl as constant, bm as merge } from "./MilkdownMarkdownEditor-CuTa5j4S.js";
3
3
  var INFINITY = 1 / 0, MAX_INTEGER = 17976931348623157e292;
4
4
  function toFinite(value) {
5
5
  if (!value) {
@@ -1,6 +1,6 @@
1
1
  import { a as array } from "./array-DgktLKBx.js";
2
2
  import { w as withPath, c as constant } from "./path-Cp2qmpkd.js";
3
- import { an as curveLinear } from "./MilkdownMarkdownEditor-UNNnHq-Q.js";
3
+ import { an as curveLinear } from "./MilkdownMarkdownEditor-CuTa5j4S.js";
4
4
  function x(p) {
5
5
  return p[0];
6
6
  }
@@ -1,4 +1,4 @@
1
- import { a_ as constant, a$ as interpolateNumber, b0 as color, b1 as interpolateRgb, b2 as interpolateString } from "./MilkdownMarkdownEditor-UNNnHq-Q.js";
1
+ import { a_ as constant, a$ as interpolateNumber, b0 as color, b1 as interpolateRgb, b2 as interpolateString } from "./MilkdownMarkdownEditor-CuTa5j4S.js";
2
2
  import { i as initRange } from "./init-ZxktEp_H.js";
3
3
  function ascending(a, b) {
4
4
  return a == null || b == null ? NaN : a < b ? -1 : a > b ? 1 : a >= b ? 0 : NaN;
@@ -1,6 +1,6 @@
1
- import { v as log$1, r as getConfig, Z as selectSvgElement, ak as setupGraphViewbox$1, ab as defaultConfig$2, z as sanitizeText$2, aq as isDark, ar as lighten, as as darken, u as select, af as parseFontSize } from "./MilkdownMarkdownEditor-UNNnHq-Q.js";
2
- import { c as commonjsGlobal$1, g as getDefaultExportFromCjs$1 } from "./index-CaKrYTYv.js";
3
- import { c as createText } from "./createText-1719965b-DzSrNkTO.js";
1
+ import { v as log$1, r as getConfig, Z as selectSvgElement, ak as setupGraphViewbox$1, ab as defaultConfig$2, z as sanitizeText$2, aq as isDark, ar as lighten, as as darken, u as select, af as parseFontSize } from "./MilkdownMarkdownEditor-CuTa5j4S.js";
2
+ import { c as commonjsGlobal$1, g as getDefaultExportFromCjs$1 } from "./index-B2UUF9y9.js";
3
+ import { c as createText } from "./createText-1719965b-ciE8YuqI.js";
4
4
  function _arrayLikeToArray(r, a) {
5
5
  (null == a || a > r.length) && (a = r.length);
6
6
  for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];