research-copilot 0.1.3 → 0.2.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 (65) hide show
  1. package/app/out/main/index.mjs +588 -81
  2. package/app/out/renderer/assets/{MilkdownMarkdownEditor-CCiFOpuq.js → MilkdownMarkdownEditor-Czh2N6UQ.js} +50 -50
  3. package/app/out/renderer/assets/{arc-BR5G9xaE.js → arc-BWoErJNa.js} +1 -1
  4. package/app/out/renderer/assets/{blockDiagram-c4efeb88-JmvDTsGU.js → blockDiagram-c4efeb88-Bod-vAlS.js} +8 -8
  5. package/app/out/renderer/assets/{c4Diagram-c83219d4-Daf_3gE1.js → c4Diagram-c83219d4-CTVUA_li.js} +3 -3
  6. package/app/out/renderer/assets/{channel-xtutyETs.js → channel-CxGr5Q5E.js} +1 -1
  7. package/app/out/renderer/assets/{classDiagram-beda092f-BFWEqrCW.js → classDiagram-beda092f-DABwUrsU.js} +6 -6
  8. package/app/out/renderer/assets/{classDiagram-v2-2358418a-BQw7RI0A.js → classDiagram-v2-2358418a-CFt8hqf5.js} +10 -10
  9. package/app/out/renderer/assets/{clone-uoV60hcB.js → clone-BL91dKYn.js} +1 -1
  10. package/app/out/renderer/assets/{createText-1719965b-BaRII2sm.js → createText-1719965b-DGkv4rEO.js} +2 -2
  11. package/app/out/renderer/assets/{edges-96097737-CL7Yc4hz.js → edges-96097737-Gf41lQOd.js} +3 -3
  12. package/app/out/renderer/assets/{erDiagram-0228fc6a-B9hgyxu6.js → erDiagram-0228fc6a-Dj75BiRy.js} +5 -5
  13. package/app/out/renderer/assets/{flowDb-c6c81e3f-b_RS-jIJ.js → flowDb-c6c81e3f-C_xVBMxS.js} +1 -1
  14. package/app/out/renderer/assets/{flowDiagram-50d868cf-CPB3IueC.js → flowDiagram-50d868cf-B-lLn2XC.js} +12 -12
  15. package/app/out/renderer/assets/{flowDiagram-v2-4f6560a1-DM8cFvdZ.js → flowDiagram-v2-4f6560a1-BFnLU3PE.js} +12 -12
  16. package/app/out/renderer/assets/{flowchart-elk-definition-6af322e1-BsxABHy9.js → flowchart-elk-definition-6af322e1-DmjfyXbt.js} +6 -6
  17. package/app/out/renderer/assets/{ganttDiagram-a2739b55-DpMib95K.js → ganttDiagram-a2739b55-BTPRekAy.js} +3 -3
  18. package/app/out/renderer/assets/{gitGraphDiagram-82fe8481-C0OtwErh.js → gitGraphDiagram-82fe8481-1riYxgGS.js} +2 -2
  19. package/app/out/renderer/assets/{graph-CXef_RHM.js → graph-CvDtMlX-.js} +1 -1
  20. package/app/out/renderer/assets/{index-Bg4LHaeu.js → index-0kPJXDfu.js} +3 -3
  21. package/app/out/renderer/assets/{index-CTF1A-5m.js → index-3LdRym1K.js} +3 -3
  22. package/app/out/renderer/assets/{index-5325376f-0FtzFTBH.js → index-5325376f-BGaoNMNN.js} +6 -6
  23. package/app/out/renderer/assets/{index-Crf9Pipm.js → index-8tvmsRje.js} +3 -3
  24. package/app/out/renderer/assets/{index-CMDsy41q.js → index-B4djqBxS.js} +1 -1
  25. package/app/out/renderer/assets/{index-CKjCQ1EB.js → index-B9lieynj.js} +6 -6
  26. package/app/out/renderer/assets/{index-Cx3Vwh3q.js → index-BCOrnr8q.js} +4 -4
  27. package/app/out/renderer/assets/{index-DRyElXV-.js → index-BK5rYWMs.js} +5 -5
  28. package/app/out/renderer/assets/{index-vGIhunyU.js → index-BVNrdWzl.js} +6 -6
  29. package/app/out/renderer/assets/{index-BBH0Chbw.js → index-BgSz3yUy.js} +6 -6
  30. package/app/out/renderer/assets/{index-Dy2bySYF.js → index-Bii7x9Rr.js} +3 -3
  31. package/app/out/renderer/assets/{index-CFaiDIr7.js → index-BnRwUKpv.js} +3 -3
  32. package/app/out/renderer/assets/{index-uZnv8lTU.js → index-BxOmAXUZ.js} +3 -3
  33. package/app/out/renderer/assets/{index-C_cgOzmt.js → index-CUPy7R5v.js} +39 -20
  34. package/app/out/renderer/assets/{index-DeVfJmHc.js → index-CXN1f9OT.js} +3 -3
  35. package/app/out/renderer/assets/{index-BE4XBnng.js → index-CnL9yPzK.js} +3 -3
  36. package/app/out/renderer/assets/{index-C-_uCjZJ.css → index-Ctwkk-AW.css} +2 -10
  37. package/app/out/renderer/assets/{index-BHo8axTp.js → index-D2fFfHUR.js} +6 -6
  38. package/app/out/renderer/assets/{index-DuAPj57k.js → index-DrvR7Peq.js} +3 -3
  39. package/app/out/renderer/assets/{index-CabfPYgf.js → index-NHbUPOmb.js} +3 -3
  40. package/app/out/renderer/assets/{index-tz7ZKjP9.js → index-O3gvL3-Z.js} +3 -3
  41. package/app/out/renderer/assets/{index-BohTbJeP.js → index-cAZJ88Np.js} +6 -6
  42. package/app/out/renderer/assets/{index-OqY0JVi2.js → index-qS7qbXvX.js} +3 -3
  43. package/app/out/renderer/assets/{index-D9-3cc7l.js → index-y5XZ-0EB.js} +4 -4
  44. package/app/out/renderer/assets/{index-C1Hf3CJw.js → index-zr8uxb8p.js} +6 -6
  45. package/app/out/renderer/assets/{infoDiagram-8eee0895-CPFVhSvg.js → infoDiagram-8eee0895-Cq8aXV8u.js} +2 -2
  46. package/app/out/renderer/assets/{journeyDiagram-c64418c1-PKaxJ2mn.js → journeyDiagram-c64418c1-D4ewDrYD.js} +4 -4
  47. package/app/out/renderer/assets/{layout-CawlN23W.js → layout-CZmLZO9t.js} +2 -2
  48. package/app/out/renderer/assets/{line-C_cMMDTP.js → line-D7kWOiRx.js} +1 -1
  49. package/app/out/renderer/assets/{linear-CnzgpVoT.js → linear-B055Dz0c.js} +1 -1
  50. package/app/out/renderer/assets/{mindmap-definition-8da855dc-2dVBAm3g.js → mindmap-definition-8da855dc-D6EW4QCj.js} +3 -3
  51. package/app/out/renderer/assets/{pieDiagram-a8764435-p6hNN8aY.js → pieDiagram-a8764435-BX_Dz4T9.js} +3 -3
  52. package/app/out/renderer/assets/{quadrantDiagram-1e28029f-JJT_eOsi.js → quadrantDiagram-1e28029f-BsI6xGsm.js} +3 -3
  53. package/app/out/renderer/assets/{requirementDiagram-08caed73-Ck4auzva.js → requirementDiagram-08caed73-c2d8T0BS.js} +5 -5
  54. package/app/out/renderer/assets/{sankeyDiagram-a04cb91d-DICtg7Jw.js → sankeyDiagram-a04cb91d-CkDhRKRC.js} +2 -2
  55. package/app/out/renderer/assets/{sequenceDiagram-c5b8d532-Bv7njQoz.js → sequenceDiagram-c5b8d532-DS0RKYnD.js} +3 -3
  56. package/app/out/renderer/assets/{stateDiagram-1ecb1508-CmuiBQ0q.js → stateDiagram-1ecb1508-BjTK27QX.js} +6 -6
  57. package/app/out/renderer/assets/{stateDiagram-v2-c2b004d7-DErEMYcv.js → stateDiagram-v2-c2b004d7-D1wWbeR3.js} +10 -10
  58. package/app/out/renderer/assets/{styles-b4e223ce-CEjXkOYY.js → styles-b4e223ce-DXUfbXTM.js} +1 -1
  59. package/app/out/renderer/assets/{styles-ca3715f6-BJWKCKia.js → styles-ca3715f6-CE_JRTmB.js} +1 -1
  60. package/app/out/renderer/assets/{styles-d45a18b0-BrhRky7i.js → styles-d45a18b0-CdtAXXSE.js} +4 -4
  61. package/app/out/renderer/assets/{svgDrawCommon-b86b1483-RWkoQoOd.js → svgDrawCommon-b86b1483-dCxPWgBl.js} +1 -1
  62. package/app/out/renderer/assets/{timeline-definition-faaaa080-25xmyyis.js → timeline-definition-faaaa080-B7ZP3Dqw.js} +3 -3
  63. package/app/out/renderer/assets/{xychartDiagram-f5964ef8-DwBkod9W.js → xychartDiagram-f5964ef8-CXagmo1Q.js} +5 -5
  64. package/app/out/renderer/index.html +2 -2
  65. package/package.json +1 -1
@@ -1,17 +1,17 @@
1
- import { f as flowDb, p as parser$1 } from "./flowDb-c6c81e3f-b_RS-jIJ.js";
2
- import { f as flowStyles, a as flowRendererV2 } from "./styles-d45a18b0-BrhRky7i.js";
3
- import { W as setConfig } from "./MilkdownMarkdownEditor-CCiFOpuq.js";
4
- import "./graph-CXef_RHM.js";
5
- import "./layout-CawlN23W.js";
6
- import "./index-5325376f-0FtzFTBH.js";
7
- import "./clone-uoV60hcB.js";
8
- import "./edges-96097737-CL7Yc4hz.js";
9
- import "./createText-1719965b-BaRII2sm.js";
10
- import "./index-C_cgOzmt.js";
11
- import "./line-C_cMMDTP.js";
1
+ import { f as flowDb, p as parser$1 } from "./flowDb-c6c81e3f-C_xVBMxS.js";
2
+ import { f as flowStyles, a as flowRendererV2 } from "./styles-d45a18b0-CdtAXXSE.js";
3
+ import { W as setConfig } from "./MilkdownMarkdownEditor-Czh2N6UQ.js";
4
+ import "./graph-CvDtMlX-.js";
5
+ import "./layout-CZmLZO9t.js";
6
+ import "./index-5325376f-BGaoNMNN.js";
7
+ import "./clone-BL91dKYn.js";
8
+ import "./edges-96097737-Gf41lQOd.js";
9
+ import "./createText-1719965b-DGkv4rEO.js";
10
+ import "./index-CUPy7R5v.js";
11
+ import "./line-D7kWOiRx.js";
12
12
  import "./array-DgktLKBx.js";
13
13
  import "./path-Cp2qmpkd.js";
14
- import "./channel-xtutyETs.js";
14
+ import "./channel-CxGr5Q5E.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-b_RS-jIJ.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-CCiFOpuq.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-CL7Yc4hz.js";
4
- import { g as getDefaultExportFromCjs, c as commonjsGlobal } from "./index-C_cgOzmt.js";
5
- import { l as line } from "./line-C_cMMDTP.js";
6
- import "./createText-1719965b-BaRII2sm.js";
1
+ import { p as parser$1, d as db } from "./flowDb-c6c81e3f-C_xVBMxS.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-Czh2N6UQ.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-Gf41lQOd.js";
4
+ import { g as getDefaultExportFromCjs, c as commonjsGlobal } from "./index-CUPy7R5v.js";
5
+ import { l as line } from "./line-D7kWOiRx.js";
6
+ import "./createText-1719965b-DGkv4rEO.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-CCiFOpuq.js";
2
- import { c as commonjsGlobal, g as getDefaultExportFromCjs } from "./index-C_cgOzmt.js";
3
- import { b as bisector, t as tickStep, c as continuous, a as copy, l as linear } from "./linear-CnzgpVoT.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-Czh2N6UQ.js";
2
+ import { c as commonjsGlobal, g as getDefaultExportFromCjs } from "./index-CUPy7R5v.js";
3
+ import { b as bisector, t as tickStep, c as continuous, a as copy, l as linear } from "./linear-B055Dz0c.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-CCiFOpuq.js";
2
- import "./index-C_cgOzmt.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-Czh2N6UQ.js";
2
+ import "./index-CUPy7R5v.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-CCiFOpuq.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-Czh2N6UQ.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,6 +1,6 @@
1
- import { L as LRParser, E as ExternalTokenizer, C as ContextTracker } from "./index-CMDsy41q.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-CCiFOpuq.js";
3
- import "./index-C_cgOzmt.js";
1
+ import { L as LRParser, E as ExternalTokenizer, C as ContextTracker } from "./index-B4djqBxS.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-Czh2N6UQ.js";
3
+ import "./index-CUPy7R5v.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,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-CCiFOpuq.js";
2
- import { E as ExternalTokenizer, L as LRParser } from "./index-CMDsy41q.js";
3
- import "./index-C_cgOzmt.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-Czh2N6UQ.js";
2
+ import { E as ExternalTokenizer, L as LRParser } from "./index-B4djqBxS.js";
3
+ import "./index-CUPy7R5v.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,9 +1,9 @@
1
- import { i as isUndefined, G as Graph } from "./graph-CXef_RHM.js";
2
- import { m as map, l as layout } from "./layout-CawlN23W.js";
3
- import { c as clone } from "./clone-uoV60hcB.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-CL7Yc4hz.js";
5
- import { v as log$1, r as getConfig, S as evaluate, u as select } from "./MilkdownMarkdownEditor-CCiFOpuq.js";
6
- import { c as createText } from "./createText-1719965b-BaRII2sm.js";
1
+ import { i as isUndefined, G as Graph } from "./graph-CvDtMlX-.js";
2
+ import { m as map, l as layout } from "./layout-CZmLZO9t.js";
3
+ import { c as clone } from "./clone-BL91dKYn.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-Gf41lQOd.js";
5
+ import { v as log$1, r as getConfig, S as evaluate, u as select } from "./MilkdownMarkdownEditor-Czh2N6UQ.js";
6
+ import { c as createText } from "./createText-1719965b-DGkv4rEO.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 } from "./index-CMDsy41q.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-CCiFOpuq.js";
3
- import "./index-C_cgOzmt.js";
1
+ import { L as LRParser, E as ExternalTokenizer, a as LocalTokenGroup } from "./index-B4djqBxS.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-Czh2N6UQ.js";
3
+ import "./index-CUPy7R5v.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,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-CCiFOpuq.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-Czh2N6UQ.js";
2
2
  var define_process_env_default = {};
3
3
  class Stack {
4
4
  /**
@@ -1,9 +1,9 @@
1
- import { L as LRLanguage, a as LanguageSupport, p as parseMixed, s as styleTags, t as tags } from "./MilkdownMarkdownEditor-CCiFOpuq.js";
2
- import { html } from "./index-DRyElXV-.js";
3
- import { javascriptLanguage } from "./index-Dy2bySYF.js";
4
- import { L as LRParser, a as LocalTokenGroup } from "./index-CMDsy41q.js";
5
- import "./index-C_cgOzmt.js";
6
- import "./index-CabfPYgf.js";
1
+ import { L as LRLanguage, a as LanguageSupport, p as parseMixed, s as styleTags, t as tags } from "./MilkdownMarkdownEditor-Czh2N6UQ.js";
2
+ import { html } from "./index-BK5rYWMs.js";
3
+ import { javascriptLanguage } from "./index-Bii7x9Rr.js";
4
+ import { L as LRParser, a as LocalTokenGroup } from "./index-B4djqBxS.js";
5
+ import "./index-CUPy7R5v.js";
6
+ import "./index-NHbUPOmb.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,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-CCiFOpuq.js";
2
- import { defineCSSCompletionSource } from "./index-CabfPYgf.js";
3
- import { L as LRParser, E as ExternalTokenizer } from "./index-CMDsy41q.js";
4
- import "./index-C_cgOzmt.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-Czh2N6UQ.js";
2
+ import { defineCSSCompletionSource } from "./index-NHbUPOmb.js";
3
+ import { L as LRParser, E as ExternalTokenizer } from "./index-B4djqBxS.js";
4
+ import "./index-CUPy7R5v.js";
5
5
  const descendantOp = 110, Unit = 1, openArgList = 2;
6
6
  const space = [
7
7
  9,
@@ -1,8 +1,8 @@
1
- import { L as LRParser, E as ExternalTokenizer, C as ContextTracker } from "./index-CMDsy41q.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-CCiFOpuq.js";
3
- import { cssLanguage, css } from "./index-CabfPYgf.js";
4
- import { typescriptLanguage, jsxLanguage, tsxLanguage, javascriptLanguage, javascript } from "./index-Dy2bySYF.js";
5
- import "./index-C_cgOzmt.js";
1
+ import { L as LRParser, E as ExternalTokenizer, C as ContextTracker } from "./index-B4djqBxS.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-Czh2N6UQ.js";
3
+ import { cssLanguage, css } from "./index-NHbUPOmb.js";
4
+ import { typescriptLanguage, jsxLanguage, tsxLanguage, javascriptLanguage, javascript } from "./index-Bii7x9Rr.js";
5
+ import "./index-CUPy7R5v.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,9 +1,9 @@
1
- import { L as LRLanguage, a as LanguageSupport, p as parseMixed, s as styleTags, t as tags } from "./MilkdownMarkdownEditor-CCiFOpuq.js";
2
- import { html } from "./index-DRyElXV-.js";
3
- import { javascriptLanguage } from "./index-Dy2bySYF.js";
4
- import { L as LRParser, E as ExternalTokenizer } from "./index-CMDsy41q.js";
5
- import "./index-C_cgOzmt.js";
6
- import "./index-CabfPYgf.js";
1
+ import { L as LRLanguage, a as LanguageSupport, p as parseMixed, s as styleTags, t as tags } from "./MilkdownMarkdownEditor-Czh2N6UQ.js";
2
+ import { html } from "./index-BK5rYWMs.js";
3
+ import { javascriptLanguage } from "./index-Bii7x9Rr.js";
4
+ import { L as LRParser, E as ExternalTokenizer } from "./index-B4djqBxS.js";
5
+ import "./index-CUPy7R5v.js";
6
+ import "./index-NHbUPOmb.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,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-CCiFOpuq.js";
2
- import { html, htmlCompletionSource } from "./index-DRyElXV-.js";
3
- import "./index-C_cgOzmt.js";
4
- import "./index-CMDsy41q.js";
5
- import "./index-CabfPYgf.js";
6
- import "./index-Dy2bySYF.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-Czh2N6UQ.js";
2
+ import { html, htmlCompletionSource } from "./index-BK5rYWMs.js";
3
+ import "./index-CUPy7R5v.js";
4
+ import "./index-B4djqBxS.js";
5
+ import "./index-NHbUPOmb.js";
6
+ import "./index-Bii7x9Rr.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, a as LocalTokenGroup, C as ContextTracker } from "./index-CMDsy41q.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-CCiFOpuq.js";
3
- import "./index-C_cgOzmt.js";
1
+ import { L as LRParser, E as ExternalTokenizer, a as LocalTokenGroup, C as ContextTracker } from "./index-B4djqBxS.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-Czh2N6UQ.js";
3
+ import "./index-CUPy7R5v.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,6 +1,6 @@
1
- import { L as LRParser } from "./index-CMDsy41q.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-CCiFOpuq.js";
3
- import "./index-C_cgOzmt.js";
1
+ import { L as LRParser } from "./index-B4djqBxS.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-Czh2N6UQ.js";
3
+ import "./index-CUPy7R5v.js";
4
4
  const jsonHighlighting = styleTags({
5
5
  String: tags.string,
6
6
  Number: tags.number,
@@ -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-CCiFOpuq.js";
2
- import { L as LRParser } from "./index-CMDsy41q.js";
3
- import "./index-C_cgOzmt.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-Czh2N6UQ.js";
2
+ import { L as LRParser } from "./index-B4djqBxS.js";
3
+ import "./index-CUPy7R5v.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,4 +1,4 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./MilkdownMarkdownEditor-CCiFOpuq.js","./MilkdownMarkdownEditor-tTNRIB2K.css"])))=>i.map(i=>d[i]);
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./MilkdownMarkdownEditor-Czh2N6UQ.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;
@@ -28730,6 +28730,16 @@ function formatMention(c) {
28730
28730
  const needsQuotes = c.value.includes(" ");
28731
28731
  return needsQuotes ? `@${c.type}:"${c.value}"` : `@${c.type}:${c.value}`;
28732
28732
  }
28733
+ function truncatePath(path2, maxLen = 60) {
28734
+ const lastSlash = path2.lastIndexOf("/");
28735
+ if (lastSlash === -1) return { dir: "", file: path2 };
28736
+ const file = path2.slice(lastSlash + 1);
28737
+ const dir = path2.slice(0, lastSlash);
28738
+ if (path2.length <= maxLen) return { dir: dir + "/", file };
28739
+ const budget = maxLen - file.length - 2;
28740
+ if (budget <= 0) return { dir: "…/", file };
28741
+ return { dir: "…" + dir.slice(dir.length - budget) + "/", file };
28742
+ }
28733
28743
  function MentionPopover({ query, onSelect, onClose }) {
28734
28744
  const [candidates, setCandidates] = reactExports.useState([]);
28735
28745
  const [selectedIdx, setSelectedIdx] = reactExports.useState(0);
@@ -28745,24 +28755,26 @@ function MentionPopover({ query, onSelect, onClose }) {
28745
28755
  const flatList = reactExports.useMemo(() => {
28746
28756
  return grouped.flatMap((g2) => g2.items);
28747
28757
  }, [grouped]);
28758
+ const debounceRef = reactExports.useRef();
28748
28759
  reactExports.useEffect(() => {
28749
28760
  let stale = false;
28750
28761
  setLoading(true);
28751
- console.log(`[MentionPopover] fetching candidates for query="${query}"`);
28752
- api$3.getCandidates(query).then((result) => {
28753
- if (stale) return;
28754
- console.log(`[MentionPopover] got ${result?.length ?? 0} candidates for query="${query}"`);
28755
- setCandidates(result || []);
28756
- setSelectedIdx(0);
28757
- setLoading(false);
28758
- }).catch((err) => {
28759
- if (stale) return;
28760
- console.error("[MentionPopover] getCandidates error:", err);
28761
- setCandidates([]);
28762
- setLoading(false);
28763
- });
28762
+ clearTimeout(debounceRef.current);
28763
+ debounceRef.current = setTimeout(() => {
28764
+ api$3.getCandidates(query).then((result) => {
28765
+ if (stale) return;
28766
+ setCandidates(result || []);
28767
+ setSelectedIdx(0);
28768
+ setLoading(false);
28769
+ }).catch(() => {
28770
+ if (stale) return;
28771
+ setCandidates([]);
28772
+ setLoading(false);
28773
+ });
28774
+ }, 50);
28764
28775
  return () => {
28765
28776
  stale = true;
28777
+ clearTimeout(debounceRef.current);
28766
28778
  };
28767
28779
  }, [query]);
28768
28780
  reactExports.useEffect(() => {
@@ -28795,7 +28807,7 @@ function MentionPopover({ query, onSelect, onClose }) {
28795
28807
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(
28796
28808
  "div",
28797
28809
  {
28798
- className: "absolute z-50 w-96 max-h-64 overflow-y-auto rounded-xl border t-border t-bg-surface shadow-xl",
28810
+ className: "absolute z-50 w-[32rem] max-h-80 overflow-y-auto rounded-xl border t-border t-bg-surface shadow-xl",
28799
28811
  style: { bottom: "100%", left: 48, marginBottom: 8 },
28800
28812
  children: [
28801
28813
  /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "px-3 py-1.5 border-b t-border flex items-center gap-2 text-xs t-text-secondary", children: [
@@ -28827,9 +28839,16 @@ function MentionPopover({ query, onSelect, onClose }) {
28827
28839
  },
28828
28840
  onMouseEnter: () => setSelectedIdx(idx),
28829
28841
  className: `flex items-center gap-1.5 w-full px-3 py-1 text-xs text-left transition-colors ${idx === selectedIdx ? "t-bg-elevated t-text" : "t-text-secondary t-bg-hover"}`,
28842
+ title: c.label,
28830
28843
  children: [
28831
- /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "truncate flex-1", children: c.label }),
28832
- c.detail && /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "text-[10px] t-text-muted truncate max-w-[100px]", children: c.detail })
28844
+ c.type === "file" ? (() => {
28845
+ const { dir, file } = truncatePath(c.label);
28846
+ return /* @__PURE__ */ jsxRuntimeExports.jsxs("span", { className: "truncate flex-1 min-w-0", children: [
28847
+ dir && /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "t-text-muted", children: dir }),
28848
+ /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "font-medium", children: file })
28849
+ ] });
28850
+ })() : /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "truncate flex-1 min-w-0", children: c.label }),
28851
+ c.detail && /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "text-[10px] t-text-muted shrink-0 ml-2", children: c.detail })
28833
28852
  ]
28834
28853
  },
28835
28854
  `${c.type}-${c.value}`
@@ -29340,7 +29359,7 @@ ${s15.openQuestions.map((q2) => `- ${q2}`).join("\n")}`;
29340
29359
  setText(val);
29341
29360
  const cursor = e.target.selectionStart;
29342
29361
  const before = val.slice(0, cursor);
29343
- const mentionMatch = before.match(/@([\w./-]*)$/);
29362
+ const mentionMatch = before.match(/@([\p{L}\p{N}\p{M}_\-./()\[\]~:]*)$/u);
29344
29363
  if (mentionMatch) {
29345
29364
  setShowMention(true);
29346
29365
  setMentionQuery(mentionMatch[1]);
@@ -29360,7 +29379,7 @@ ${s15.openQuestions.map((q2) => `- ${q2}`).join("\n")}`;
29360
29379
  const cursor = textareaRef.current?.selectionStart ?? text2.length;
29361
29380
  const before = text2.slice(0, cursor);
29362
29381
  const after = text2.slice(cursor);
29363
- const replaced = before.replace(/@[\w./-]*$/, value + " ");
29382
+ const replaced = before.replace(/@[\p{L}\p{N}\p{M}_\-./()\[\]~:]*$/u, value + " ");
29364
29383
  setText(replaced + after);
29365
29384
  setShowMention(false);
29366
29385
  textareaRef.current?.focus();
@@ -29969,7 +29988,7 @@ function CenterPanel() {
29969
29988
  }
29970
29989
  const remarkPlugins = [remarkGfm];
29971
29990
  const LazyMilkdownMarkdownEditor = reactExports.lazy(async () => {
29972
- const mod = await __vitePreload(() => import("./MilkdownMarkdownEditor-CCiFOpuq.js").then((n) => n.bL), true ? __vite__mapDeps([0,1]) : void 0, import.meta.url);
29991
+ const mod = await __vitePreload(() => import("./MilkdownMarkdownEditor-Czh2N6UQ.js").then((n) => n.bL), true ? __vite__mapDeps([0,1]) : void 0, import.meta.url);
29973
29992
  return { default: mod.MilkdownMarkdownEditor };
29974
29993
  });
29975
29994
  const typeIcons = {
@@ -1,6 +1,6 @@
1
- import { L as LRParser, E as ExternalTokenizer, C as ContextTracker } from "./index-CMDsy41q.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-CCiFOpuq.js";
3
- import "./index-C_cgOzmt.js";
1
+ import { L as LRParser, E as ExternalTokenizer, C as ContextTracker } from "./index-B4djqBxS.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-Czh2N6UQ.js";
3
+ import "./index-CUPy7R5v.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,6 +1,6 @@
1
- import { L as LRParser } from "./index-CMDsy41q.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-CCiFOpuq.js";
3
- import "./index-C_cgOzmt.js";
1
+ import { L as LRParser } from "./index-B4djqBxS.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-Czh2N6UQ.js";
3
+ import "./index-CUPy7R5v.js";
4
4
  const javaHighlighting = styleTags({
5
5
  null: tags.null,
6
6
  instanceof: tags.operatorKeyword,
@@ -916,10 +916,6 @@
916
916
  max-height: calc(var(--spacing) * 48);
917
917
  }
918
918
 
919
- .max-h-64 {
920
- max-height: calc(var(--spacing) * 64);
921
- }
922
-
923
919
  .max-h-72 {
924
920
  max-height: calc(var(--spacing) * 72);
925
921
  }
@@ -988,8 +984,8 @@
988
984
  width: calc(var(--spacing) * 80);
989
985
  }
990
986
 
991
- .w-96 {
992
- width: calc(var(--spacing) * 96);
987
+ .w-\[32rem\] {
988
+ width: 32rem;
993
989
  }
994
990
 
995
991
  .w-fit {
@@ -1016,10 +1012,6 @@
1016
1012
  max-width: 80%;
1017
1013
  }
1018
1014
 
1019
- .max-w-\[100px\] {
1020
- max-width: 100px;
1021
- }
1022
-
1023
1015
  .max-w-\[120px\] {
1024
1016
  max-width: 120px;
1025
1017
  }
@@ -1,9 +1,9 @@
1
- import { L as LRParser, E as ExternalTokenizer } from "./index-CMDsy41q.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-CCiFOpuq.js";
3
- import { html } from "./index-DRyElXV-.js";
4
- import "./index-C_cgOzmt.js";
5
- import "./index-CabfPYgf.js";
6
- import "./index-Dy2bySYF.js";
1
+ import { L as LRParser, E as ExternalTokenizer } from "./index-B4djqBxS.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-Czh2N6UQ.js";
3
+ import { html } from "./index-BK5rYWMs.js";
4
+ import "./index-CUPy7R5v.js";
5
+ import "./index-NHbUPOmb.js";
6
+ import "./index-Bii7x9Rr.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 { L as LRParser, E as ExternalTokenizer, a as LocalTokenGroup, C as ContextTracker } from "./index-CMDsy41q.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-CCiFOpuq.js";
3
- import "./index-C_cgOzmt.js";
1
+ import { L as LRParser, E as ExternalTokenizer, a as LocalTokenGroup, C as ContextTracker } from "./index-B4djqBxS.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-Czh2N6UQ.js";
3
+ import "./index-CUPy7R5v.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,6 +1,6 @@
1
- import { L as LRParser, E as ExternalTokenizer, a as LocalTokenGroup } from "./index-CMDsy41q.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-CCiFOpuq.js";
3
- import "./index-C_cgOzmt.js";
1
+ import { L as LRParser, E as ExternalTokenizer, a as LocalTokenGroup } from "./index-B4djqBxS.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-Czh2N6UQ.js";
3
+ import "./index-CUPy7R5v.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,6 +1,6 @@
1
- import { L as LRParser, E as ExternalTokenizer, C as ContextTracker } from "./index-CMDsy41q.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-CCiFOpuq.js";
3
- import "./index-C_cgOzmt.js";
1
+ import { L as LRParser, E as ExternalTokenizer, C as ContextTracker } from "./index-B4djqBxS.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-Czh2N6UQ.js";
3
+ import "./index-CUPy7R5v.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,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-CCiFOpuq.js";
2
- import { html } from "./index-DRyElXV-.js";
3
- import { L as LRParser, E as ExternalTokenizer, a as LocalTokenGroup } from "./index-CMDsy41q.js";
4
- import "./index-C_cgOzmt.js";
5
- import "./index-CabfPYgf.js";
6
- import "./index-Dy2bySYF.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-Czh2N6UQ.js";
2
+ import { html } from "./index-BK5rYWMs.js";
3
+ import { L as LRParser, E as ExternalTokenizer, a as LocalTokenGroup } from "./index-B4djqBxS.js";
4
+ import "./index-CUPy7R5v.js";
5
+ import "./index-NHbUPOmb.js";
6
+ import "./index-Bii7x9Rr.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 LRParser, E as ExternalTokenizer } from "./index-CMDsy41q.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-CCiFOpuq.js";
3
- import "./index-C_cgOzmt.js";
1
+ import { L as LRParser, E as ExternalTokenizer } from "./index-B4djqBxS.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-Czh2N6UQ.js";
3
+ import "./index-CUPy7R5v.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,7 +1,7 @@
1
- import { L as LRParser, E as ExternalTokenizer, C as ContextTracker } from "./index-CMDsy41q.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-CCiFOpuq.js";
3
- import { defineCSSCompletionSource } from "./index-CabfPYgf.js";
4
- import "./index-C_cgOzmt.js";
1
+ import { L as LRParser, E as ExternalTokenizer, C as ContextTracker } from "./index-B4djqBxS.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-Czh2N6UQ.js";
3
+ import { defineCSSCompletionSource } from "./index-NHbUPOmb.js";
4
+ import "./index-CUPy7R5v.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 { 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-CCiFOpuq.js";
2
- import { html } from "./index-DRyElXV-.js";
3
- import { L as LRParser, E as ExternalTokenizer } from "./index-CMDsy41q.js";
4
- import "./index-C_cgOzmt.js";
5
- import "./index-CabfPYgf.js";
6
- import "./index-Dy2bySYF.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-Czh2N6UQ.js";
2
+ import { html } from "./index-BK5rYWMs.js";
3
+ import { L as LRParser, E as ExternalTokenizer } from "./index-B4djqBxS.js";
4
+ import "./index-CUPy7R5v.js";
5
+ import "./index-NHbUPOmb.js";
6
+ import "./index-Bii7x9Rr.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,5 +1,5 @@
1
- import { v as log$1, Z as selectSvgElement, w as configureSvgSize } from "./MilkdownMarkdownEditor-CCiFOpuq.js";
2
- import "./index-C_cgOzmt.js";
1
+ import { v as log$1, Z as selectSvgElement, w as configureSvgSize } from "./MilkdownMarkdownEditor-Czh2N6UQ.js";
2
+ import "./index-CUPy7R5v.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-CCiFOpuq.js";
2
- import { a as drawBackgroundRect$1, f as drawText$1, d as drawRect$1, g as getNoteRect } from "./svgDrawCommon-b86b1483-RWkoQoOd.js";
3
- import { a as arc } from "./arc-BR5G9xaE.js";
4
- import "./index-C_cgOzmt.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-Czh2N6UQ.js";
2
+ import { a as drawBackgroundRect$1, f as drawText$1, d as drawRect$1, g as getNoteRect } from "./svgDrawCommon-b86b1483-dCxPWgBl.js";
3
+ import { a as arc } from "./arc-BWoErJNa.js";
4
+ import "./index-CUPy7R5v.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-CXef_RHM.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-CCiFOpuq.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-CvDtMlX-.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-Czh2N6UQ.js";
3
3
  var INFINITY = 1 / 0, MAX_INTEGER = 17976931348623157e292;
4
4
  function toFinite(value) {
5
5
  if (!value) {