research-copilot 0.2.12 → 0.2.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/app/out/main/index.mjs +239 -49
- package/app/out/preload/index.js +2 -0
- package/app/out/renderer/assets/{MilkdownMarkdownEditor-BqfydyHs.js → MilkdownMarkdownEditor-BX4GvUB0.js} +50 -50
- package/app/out/renderer/assets/{arc-B102x0uC.js → arc-BV5qVZeX.js} +1 -1
- package/app/out/renderer/assets/{blockDiagram-c4efeb88-hlEjcPtb.js → blockDiagram-c4efeb88-B4EHe6ol.js} +8 -8
- package/app/out/renderer/assets/{c4Diagram-c83219d4-Dc1nfavC.js → c4Diagram-c83219d4-iDfyIJbZ.js} +3 -3
- package/app/out/renderer/assets/{channel-ZMdB8bH1.js → channel-Cpwy9r1z.js} +1 -1
- package/app/out/renderer/assets/{classDiagram-beda092f-Gbpax7vO.js → classDiagram-beda092f-D053CRJR.js} +6 -6
- package/app/out/renderer/assets/{classDiagram-v2-2358418a-_KwHXPjs.js → classDiagram-v2-2358418a-B7s6a7vM.js} +10 -10
- package/app/out/renderer/assets/{clone-DDahKPIj.js → clone-pbZD71xt.js} +1 -1
- package/app/out/renderer/assets/{createText-1719965b-BNW0X7Oe.js → createText-1719965b-D25dhEwh.js} +2 -2
- package/app/out/renderer/assets/{edges-96097737-G9l1oUoZ.js → edges-96097737-BydHfBnP.js} +3 -3
- package/app/out/renderer/assets/{erDiagram-0228fc6a-BUs4XtQY.js → erDiagram-0228fc6a-4tnYtIdv.js} +5 -5
- package/app/out/renderer/assets/{flowDb-c6c81e3f-CQ-jcycx.js → flowDb-c6c81e3f-CY6JAmVt.js} +1 -1
- package/app/out/renderer/assets/{flowDiagram-50d868cf-uu8ab--w.js → flowDiagram-50d868cf-DF_znPBp.js} +12 -12
- package/app/out/renderer/assets/{flowDiagram-v2-4f6560a1-CAw9BkoT.js → flowDiagram-v2-4f6560a1-CFOGKf9t.js} +12 -12
- package/app/out/renderer/assets/{flowchart-elk-definition-6af322e1-BjQ21EHx.js → flowchart-elk-definition-6af322e1-YLx5Qxt0.js} +6 -6
- package/app/out/renderer/assets/{ganttDiagram-a2739b55-CP8oCEhK.js → ganttDiagram-a2739b55-qZme1oAP.js} +3 -3
- package/app/out/renderer/assets/{gitGraphDiagram-82fe8481-BwBuEj3Z.js → gitGraphDiagram-82fe8481-DFYMRsVI.js} +2 -2
- package/app/out/renderer/assets/{graph-Cm7VMO24.js → graph-BXAfTdpJ.js} +1 -1
- package/app/out/renderer/assets/{index-5325376f-rxU_OBcM.js → index-5325376f-BHpHsMhb.js} +6 -6
- package/app/out/renderer/assets/{index-CXW3LNrw.js → index-BA2tAI_M.js} +6 -6
- package/app/out/renderer/assets/{index-qYYoWrK0.js → index-BE8bYtp7.js} +3 -3
- package/app/out/renderer/assets/{index-C90yL_Oq.js → index-BG7PX3k8.js} +114 -72
- package/app/out/renderer/assets/{index-21ZazB27.js → index-BO9tGk26.js} +3 -3
- package/app/out/renderer/assets/{index-PcwO-UQr.js → index-BgOxdzKV.js} +4 -4
- package/app/out/renderer/assets/{index-CnSaLake.js → index-Bj9LQiuY.js} +6 -6
- package/app/out/renderer/assets/{index-Cnl3rlb4.js → index-Bx4kt3Ep.js} +3 -3
- package/app/out/renderer/assets/{index-JxH0rooB.js → index-C1UejWJF.js} +6 -6
- package/app/out/renderer/assets/{index-B0bfGE4l.js → index-CQ3AUQjH.js} +3 -3
- package/app/out/renderer/assets/{index-YHTq32NV.js → index-CQ7kmaED.js} +3 -3
- package/app/out/renderer/assets/{index-D075LvBi.js → index-CUHnEfWQ.js} +3 -3
- package/app/out/renderer/assets/{index-UvRVROtt.js → index-CXKb_B6Q.js} +3 -3
- package/app/out/renderer/assets/{index-CdJBtB9B.js → index-CkhHGu8F.js} +6 -6
- package/app/out/renderer/assets/{index-B86Rm5VH.js → index-DM53DzJy.js} +5 -5
- package/app/out/renderer/assets/{index-DQ1LKaqr.js → index-DPsH0d7l.js} +6 -6
- package/app/out/renderer/assets/{index-CZmZWnTr.js → index-DQAavBDm.js} +3 -3
- package/app/out/renderer/assets/{index-CmuzUeEb.js → index-DcR5rCVe.js} +3 -3
- package/app/out/renderer/assets/{index-BOSzW1Fp.js → index-DdJol6dy.js} +3 -3
- package/app/out/renderer/assets/{index-CYcmNTWS.js → index-DmFXl1ev.js} +1 -1
- package/app/out/renderer/assets/{index-BurA4U4Q.js → index-Dr-t9DZm.js} +4 -4
- package/app/out/renderer/assets/{index-DwyuGyq2.js → index-ZTBCB5Su.js} +3 -3
- package/app/out/renderer/assets/{index-BireTC8B.js → index-rmxKZnZp.js} +6 -6
- package/app/out/renderer/assets/{index-DnIy5Txo.js → index-uewGaFvs.js} +3 -3
- package/app/out/renderer/assets/{infoDiagram-8eee0895-DX3y3-A9.js → infoDiagram-8eee0895-ByEFQmpu.js} +2 -2
- package/app/out/renderer/assets/{journeyDiagram-c64418c1-CWFt3XGT.js → journeyDiagram-c64418c1-3-T1DDmD.js} +4 -4
- package/app/out/renderer/assets/{layout-BlEAfCmy.js → layout-CQUDsAvc.js} +2 -2
- package/app/out/renderer/assets/{line-C8wQDOie.js → line-DxIlbhab.js} +1 -1
- package/app/out/renderer/assets/{linear-B-vozVTM.js → linear-Bn3sUUKK.js} +1 -1
- package/app/out/renderer/assets/{mindmap-definition-8da855dc-BCWxRP64.js → mindmap-definition-8da855dc-Csu-LGhp.js} +3 -3
- package/app/out/renderer/assets/{pieDiagram-a8764435-CjTt_TYd.js → pieDiagram-a8764435-CuLtSzv9.js} +3 -3
- package/app/out/renderer/assets/{quadrantDiagram-1e28029f-D1Ke9L8a.js → quadrantDiagram-1e28029f-Bl59fpd9.js} +3 -3
- package/app/out/renderer/assets/{requirementDiagram-08caed73-qZ5fBq-x.js → requirementDiagram-08caed73-DC3vhRtq.js} +5 -5
- package/app/out/renderer/assets/{sankeyDiagram-a04cb91d-B-KtJYmc.js → sankeyDiagram-a04cb91d-BMU-49qE.js} +2 -2
- package/app/out/renderer/assets/{sequenceDiagram-c5b8d532-BjqWnQP_.js → sequenceDiagram-c5b8d532-Bkcjg7DD.js} +3 -3
- package/app/out/renderer/assets/{stateDiagram-1ecb1508-DQo_1-ne.js → stateDiagram-1ecb1508-C1C8BcZQ.js} +6 -6
- package/app/out/renderer/assets/{stateDiagram-v2-c2b004d7-BNb4d-sS.js → stateDiagram-v2-c2b004d7-DSiaz6V7.js} +10 -10
- package/app/out/renderer/assets/{styles-b4e223ce-pjL5kdCz.js → styles-b4e223ce-DR414-dj.js} +1 -1
- package/app/out/renderer/assets/{styles-ca3715f6-CtyHB9Sz.js → styles-ca3715f6-CoJirLYO.js} +1 -1
- package/app/out/renderer/assets/{styles-d45a18b0-r6zLUSmM.js → styles-d45a18b0-Dbanopw_.js} +4 -4
- package/app/out/renderer/assets/{svgDrawCommon-b86b1483-CbHYm_eu.js → svgDrawCommon-b86b1483-RvKK2C6p.js} +1 -1
- package/app/out/renderer/assets/{timeline-definition-faaaa080-DvoW_Frb.js → timeline-definition-faaaa080-BG9xYjlZ.js} +3 -3
- package/app/out/renderer/assets/{xychartDiagram-f5964ef8-C-G_0ZnR.js → xychartDiagram-f5964ef8-kiztprx8.js} +5 -5
- package/app/out/renderer/index.html +1 -1
- package/package.json +1 -1
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { f as flowDb, p as parser$1 } from "./flowDb-c6c81e3f-
|
|
2
|
-
import { f as flowStyles, a as flowRendererV2 } from "./styles-d45a18b0-
|
|
3
|
-
import { W as setConfig } from "./MilkdownMarkdownEditor-
|
|
4
|
-
import "./graph-
|
|
5
|
-
import "./layout-
|
|
6
|
-
import "./index-5325376f-
|
|
7
|
-
import "./clone-
|
|
8
|
-
import "./edges-96097737-
|
|
9
|
-
import "./createText-1719965b-
|
|
10
|
-
import "./index-
|
|
11
|
-
import "./line-
|
|
1
|
+
import { f as flowDb, p as parser$1 } from "./flowDb-c6c81e3f-CY6JAmVt.js";
|
|
2
|
+
import { f as flowStyles, a as flowRendererV2 } from "./styles-d45a18b0-Dbanopw_.js";
|
|
3
|
+
import { W as setConfig } from "./MilkdownMarkdownEditor-BX4GvUB0.js";
|
|
4
|
+
import "./graph-BXAfTdpJ.js";
|
|
5
|
+
import "./layout-CQUDsAvc.js";
|
|
6
|
+
import "./index-5325376f-BHpHsMhb.js";
|
|
7
|
+
import "./clone-pbZD71xt.js";
|
|
8
|
+
import "./edges-96097737-BydHfBnP.js";
|
|
9
|
+
import "./createText-1719965b-D25dhEwh.js";
|
|
10
|
+
import "./index-BG7PX3k8.js";
|
|
11
|
+
import "./line-DxIlbhab.js";
|
|
12
12
|
import "./array-DgktLKBx.js";
|
|
13
13
|
import "./path-Cp2qmpkd.js";
|
|
14
|
-
import "./channel-
|
|
14
|
+
import "./channel-Cpwy9r1z.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-
|
|
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-
|
|
3
|
-
import { i as insertMarkers$1, c as insertNode, l as labelHelper, b as insertEdgeLabel, k as getLineFunctionsWithOffset, m as addEdgeMarkers } from "./edges-96097737-
|
|
4
|
-
import { g as getDefaultExportFromCjs, c as commonjsGlobal } from "./index-
|
|
5
|
-
import { l as line } from "./line-
|
|
6
|
-
import "./createText-1719965b-
|
|
1
|
+
import { p as parser$1, d as db } from "./flowDb-c6c81e3f-CY6JAmVt.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-BX4GvUB0.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-BydHfBnP.js";
|
|
4
|
+
import { g as getDefaultExportFromCjs, c as commonjsGlobal } from "./index-BG7PX3k8.js";
|
|
5
|
+
import { l as line } from "./line-DxIlbhab.js";
|
|
6
|
+
import "./createText-1719965b-D25dhEwh.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-
|
|
2
|
-
import { c as commonjsGlobal, g as getDefaultExportFromCjs } from "./index-
|
|
3
|
-
import { b as bisector, t as tickStep, c as continuous, a as copy, l as linear } from "./linear-
|
|
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-BX4GvUB0.js";
|
|
2
|
+
import { c as commonjsGlobal, g as getDefaultExportFromCjs } from "./index-BG7PX3k8.js";
|
|
3
|
+
import { b as bisector, t as tickStep, c as continuous, a as copy, l as linear } from "./linear-Bn3sUUKK.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-
|
|
2
|
-
import "./index-
|
|
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-BX4GvUB0.js";
|
|
2
|
+
import "./index-BG7PX3k8.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-
|
|
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-BX4GvUB0.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 { i as isUndefined, G as Graph } from "./graph-
|
|
2
|
-
import { m as map, l as layout } from "./layout-
|
|
3
|
-
import { c as clone } from "./clone-
|
|
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-
|
|
5
|
-
import { v as log$1, r as getConfig, S as evaluate, u as select } from "./MilkdownMarkdownEditor-
|
|
6
|
-
import { c as createText } from "./createText-1719965b-
|
|
1
|
+
import { i as isUndefined, G as Graph } from "./graph-BXAfTdpJ.js";
|
|
2
|
+
import { m as map, l as layout } from "./layout-CQUDsAvc.js";
|
|
3
|
+
import { c as clone } from "./clone-pbZD71xt.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-BydHfBnP.js";
|
|
5
|
+
import { v as log$1, r as getConfig, S as evaluate, u as select } from "./MilkdownMarkdownEditor-BX4GvUB0.js";
|
|
6
|
+
import { c as createText } from "./createText-1719965b-D25dhEwh.js";
|
|
7
7
|
function write(g) {
|
|
8
8
|
var json = {
|
|
9
9
|
options: {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { L as LRParser, E as ExternalTokenizer } from "./index-
|
|
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-
|
|
3
|
-
import { html } from "./index-
|
|
4
|
-
import "./index-
|
|
5
|
-
import "./index-
|
|
6
|
-
import "./index-
|
|
1
|
+
import { L as LRParser, E as ExternalTokenizer } from "./index-DmFXl1ev.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-BX4GvUB0.js";
|
|
3
|
+
import { html } from "./index-DM53DzJy.js";
|
|
4
|
+
import "./index-BG7PX3k8.js";
|
|
5
|
+
import "./index-CQ3AUQjH.js";
|
|
6
|
+
import "./index-uewGaFvs.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 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-
|
|
2
|
-
import { E as ExternalTokenizer, L as LRParser } from "./index-
|
|
3
|
-
import "./index-
|
|
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-BX4GvUB0.js";
|
|
2
|
+
import { E as ExternalTokenizer, L as LRParser } from "./index-DmFXl1ev.js";
|
|
3
|
+
import "./index-BG7PX3k8.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,4 +1,4 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./MilkdownMarkdownEditor-
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./MilkdownMarkdownEditor-BX4GvUB0.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;
|
|
@@ -14557,7 +14557,7 @@ const useChatStore = create$1((set, get) => ({
|
|
|
14557
14557
|
set((s15) => ({ streamingText: s15.streamingText + chunk }));
|
|
14558
14558
|
},
|
|
14559
14559
|
finalize: (result) => {
|
|
14560
|
-
const content2 = result.response || result.error || "
|
|
14560
|
+
const content2 = result.response || result.error || "Something unexpected happened — the agent returned no response and no error. This usually indicates an issue on the LLM server side. Please try again. If you are using a Claude or ChatGPT subscription, try signing out and back in via Settings.";
|
|
14561
14561
|
const assistantMsg = {
|
|
14562
14562
|
id: crypto.randomUUID(),
|
|
14563
14563
|
role: "assistant",
|
|
@@ -29175,8 +29175,10 @@ function ModelSelector$1({ selectedModel, onSelectModel }) {
|
|
|
29175
29175
|
const [anthropicStatus, setAnthropicStatus] = reactExports.useState(null);
|
|
29176
29176
|
const [codexStatus, setCodexStatus] = reactExports.useState(null);
|
|
29177
29177
|
const [codexLoggingIn, setCodexLoggingIn] = reactExports.useState(false);
|
|
29178
|
+
const [codexLoginError, setCodexLoginError] = reactExports.useState(null);
|
|
29178
29179
|
const [anthropicSubStatus, setAnthropicSubStatus] = reactExports.useState(null);
|
|
29179
29180
|
const [anthropicSubLoggingIn, setAnthropicSubLoggingIn] = reactExports.useState(false);
|
|
29181
|
+
const [anthropicSubLoginError, setAnthropicSubLoginError] = reactExports.useState(null);
|
|
29180
29182
|
const [showAnthropicDialog, setShowAnthropicDialog] = reactExports.useState(false);
|
|
29181
29183
|
const [showOpenAIDialog, setShowOpenAIDialog] = reactExports.useState(false);
|
|
29182
29184
|
const ref = reactExports.useRef(null);
|
|
@@ -29237,38 +29239,46 @@ function ModelSelector$1({ selectedModel, onSelectModel }) {
|
|
|
29237
29239
|
}, [api2, refreshAnthropicStatus, refreshCodexStatus, refreshAnthropicSubStatus]);
|
|
29238
29240
|
const handleCodexLogin = async () => {
|
|
29239
29241
|
setCodexLoggingIn(true);
|
|
29242
|
+
setCodexLoginError(null);
|
|
29240
29243
|
try {
|
|
29241
29244
|
const result = await api2?.openaiCodexLogin?.();
|
|
29242
29245
|
if (result?.success) {
|
|
29243
29246
|
await refreshCodexStatus();
|
|
29244
29247
|
} else {
|
|
29245
|
-
|
|
29248
|
+
setCodexLoginError(result?.error || "ChatGPT sign-in failed");
|
|
29246
29249
|
}
|
|
29247
29250
|
} catch (err) {
|
|
29248
|
-
|
|
29251
|
+
setCodexLoginError(err?.message || "ChatGPT sign-in failed");
|
|
29249
29252
|
} finally {
|
|
29250
29253
|
setCodexLoggingIn(false);
|
|
29251
29254
|
}
|
|
29252
29255
|
};
|
|
29256
|
+
const handleCodexCancel = async () => {
|
|
29257
|
+
await api2?.openaiCodexCancel?.();
|
|
29258
|
+
};
|
|
29253
29259
|
const handleCodexLogout = async () => {
|
|
29254
29260
|
await api2?.openaiCodexLogout?.();
|
|
29255
29261
|
await refreshCodexStatus();
|
|
29256
29262
|
};
|
|
29257
29263
|
const handleAnthropicSubLogin = async () => {
|
|
29258
29264
|
setAnthropicSubLoggingIn(true);
|
|
29265
|
+
setAnthropicSubLoginError(null);
|
|
29259
29266
|
try {
|
|
29260
29267
|
const result = await api2?.anthropicSubLogin?.();
|
|
29261
29268
|
if (result?.success) {
|
|
29262
29269
|
await refreshAnthropicSubStatus();
|
|
29263
29270
|
} else {
|
|
29264
|
-
|
|
29271
|
+
setAnthropicSubLoginError(result?.error || "Anthropic sign-in failed");
|
|
29265
29272
|
}
|
|
29266
29273
|
} catch (err) {
|
|
29267
|
-
|
|
29274
|
+
setAnthropicSubLoginError(err?.message || "Anthropic sign-in failed");
|
|
29268
29275
|
} finally {
|
|
29269
29276
|
setAnthropicSubLoggingIn(false);
|
|
29270
29277
|
}
|
|
29271
29278
|
};
|
|
29279
|
+
const handleAnthropicSubCancel = async () => {
|
|
29280
|
+
await api2?.anthropicSubCancel?.();
|
|
29281
|
+
};
|
|
29272
29282
|
const handleAnthropicSubLogout = async () => {
|
|
29273
29283
|
await api2?.anthropicSubLogout?.();
|
|
29274
29284
|
await refreshAnthropicSubStatus();
|
|
@@ -29357,69 +29367,97 @@ function ModelSelector$1({ selectedModel, onSelectModel }) {
|
|
|
29357
29367
|
),
|
|
29358
29368
|
open && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "absolute top-full left-0 mt-1 w-64 max-h-80 overflow-y-auto rounded-xl border t-border t-bg-surface shadow-xl z-50", role: "listbox", "aria-label": "Available models", children: providers.map((provider) => /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { children: [
|
|
29359
29369
|
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "px-3 py-1.5 text-[10px] font-semibold uppercase tracking-wider t-text-muted sticky top-0 t-bg-surface", children: provider }),
|
|
29360
|
-
provider === "ChatGPT Subscription" && /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "px-3 pb-1
|
|
29361
|
-
/* @__PURE__ */ jsxRuntimeExports.
|
|
29362
|
-
|
|
29363
|
-
|
|
29364
|
-
|
|
29365
|
-
|
|
29366
|
-
e
|
|
29367
|
-
|
|
29368
|
-
|
|
29369
|
-
|
|
29370
|
-
|
|
29371
|
-
|
|
29372
|
-
|
|
29373
|
-
|
|
29374
|
-
|
|
29375
|
-
|
|
29376
|
-
|
|
29377
|
-
|
|
29378
|
-
|
|
29379
|
-
e
|
|
29380
|
-
|
|
29381
|
-
|
|
29382
|
-
|
|
29383
|
-
|
|
29384
|
-
|
|
29385
|
-
|
|
29386
|
-
|
|
29387
|
-
|
|
29388
|
-
|
|
29389
|
-
|
|
29390
|
-
|
|
29370
|
+
provider === "ChatGPT Subscription" && /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "px-3 pb-1", children: [
|
|
29371
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex items-center justify-between", children: [
|
|
29372
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "text-[11px] t-text-muted", children: codexStatus?.isLoggedIn ? "Signed in" : codexLoggingIn ? "Waiting for browser…" : "OAuth required" }),
|
|
29373
|
+
codexStatus?.isLoggedIn ? /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
29374
|
+
"button",
|
|
29375
|
+
{
|
|
29376
|
+
onClick: (e) => {
|
|
29377
|
+
e.stopPropagation();
|
|
29378
|
+
handleCodexLogout();
|
|
29379
|
+
},
|
|
29380
|
+
className: "text-[10px] t-text-muted hover:t-text flex items-center gap-0.5",
|
|
29381
|
+
children: [
|
|
29382
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(LogOut, { size: 10 }),
|
|
29383
|
+
" Sign out"
|
|
29384
|
+
]
|
|
29385
|
+
}
|
|
29386
|
+
) : codexLoggingIn ? /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
29387
|
+
"button",
|
|
29388
|
+
{
|
|
29389
|
+
onClick: (e) => {
|
|
29390
|
+
e.stopPropagation();
|
|
29391
|
+
handleCodexCancel();
|
|
29392
|
+
},
|
|
29393
|
+
className: "text-[10px] t-text-error flex items-center gap-0.5 hover:opacity-80",
|
|
29394
|
+
children: [
|
|
29395
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(X$1, { size: 10 }),
|
|
29396
|
+
" Cancel"
|
|
29397
|
+
]
|
|
29398
|
+
}
|
|
29399
|
+
) : /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
29400
|
+
"button",
|
|
29401
|
+
{
|
|
29402
|
+
onClick: (e) => {
|
|
29403
|
+
e.stopPropagation();
|
|
29404
|
+
handleCodexLogin();
|
|
29405
|
+
},
|
|
29406
|
+
className: "text-[10px] t-text-accent flex items-center gap-0.5 hover:opacity-80",
|
|
29407
|
+
children: [
|
|
29408
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(LogIn, { size: 10 }),
|
|
29409
|
+
" Sign in"
|
|
29410
|
+
]
|
|
29411
|
+
}
|
|
29412
|
+
)
|
|
29413
|
+
] }),
|
|
29414
|
+
codexLoginError && !codexLoggingIn && /* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: "text-[10px] t-text-error mt-1 leading-snug", role: "alert", children: codexLoginError })
|
|
29391
29415
|
] }),
|
|
29392
|
-
provider === "Claude Subscription" && /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "px-3 pb-1
|
|
29393
|
-
/* @__PURE__ */ jsxRuntimeExports.
|
|
29394
|
-
|
|
29395
|
-
|
|
29396
|
-
|
|
29397
|
-
|
|
29398
|
-
e
|
|
29399
|
-
|
|
29400
|
-
|
|
29401
|
-
|
|
29402
|
-
|
|
29403
|
-
|
|
29404
|
-
|
|
29405
|
-
|
|
29406
|
-
|
|
29407
|
-
|
|
29408
|
-
|
|
29409
|
-
|
|
29410
|
-
|
|
29411
|
-
e
|
|
29412
|
-
|
|
29413
|
-
|
|
29414
|
-
|
|
29415
|
-
|
|
29416
|
-
|
|
29417
|
-
|
|
29418
|
-
|
|
29419
|
-
|
|
29420
|
-
|
|
29421
|
-
|
|
29422
|
-
|
|
29416
|
+
provider === "Claude Subscription" && /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "px-3 pb-1", children: [
|
|
29417
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex items-center justify-between", children: [
|
|
29418
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "text-[11px] t-text-muted", children: anthropicSubStatus?.isLoggedIn ? "Signed in" : anthropicSubLoggingIn ? "Waiting for browser…" : "OAuth required" }),
|
|
29419
|
+
anthropicSubStatus?.isLoggedIn ? /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
29420
|
+
"button",
|
|
29421
|
+
{
|
|
29422
|
+
onClick: (e) => {
|
|
29423
|
+
e.stopPropagation();
|
|
29424
|
+
handleAnthropicSubLogout();
|
|
29425
|
+
},
|
|
29426
|
+
className: "text-[10px] t-text-muted hover:t-text flex items-center gap-0.5",
|
|
29427
|
+
children: [
|
|
29428
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(LogOut, { size: 10 }),
|
|
29429
|
+
" Sign out"
|
|
29430
|
+
]
|
|
29431
|
+
}
|
|
29432
|
+
) : anthropicSubLoggingIn ? /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
29433
|
+
"button",
|
|
29434
|
+
{
|
|
29435
|
+
onClick: (e) => {
|
|
29436
|
+
e.stopPropagation();
|
|
29437
|
+
handleAnthropicSubCancel();
|
|
29438
|
+
},
|
|
29439
|
+
className: "text-[10px] t-text-error flex items-center gap-0.5 hover:opacity-80",
|
|
29440
|
+
children: [
|
|
29441
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(X$1, { size: 10 }),
|
|
29442
|
+
" Cancel"
|
|
29443
|
+
]
|
|
29444
|
+
}
|
|
29445
|
+
) : /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
29446
|
+
"button",
|
|
29447
|
+
{
|
|
29448
|
+
onClick: (e) => {
|
|
29449
|
+
e.stopPropagation();
|
|
29450
|
+
handleAnthropicSubLogin();
|
|
29451
|
+
},
|
|
29452
|
+
className: "text-[10px] t-text-accent flex items-center gap-0.5 hover:opacity-80",
|
|
29453
|
+
children: [
|
|
29454
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(LogIn, { size: 10 }),
|
|
29455
|
+
" Sign in"
|
|
29456
|
+
]
|
|
29457
|
+
}
|
|
29458
|
+
)
|
|
29459
|
+
] }),
|
|
29460
|
+
anthropicSubLoginError && !anthropicSubLoggingIn && /* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: "text-[10px] t-text-error mt-1 leading-snug", role: "alert", children: anthropicSubLoginError })
|
|
29423
29461
|
] }),
|
|
29424
29462
|
(provider === "OpenAI" || provider === "Anthropic") && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "px-3 pb-1 text-[11px] t-text-muted", children: "API Key" }),
|
|
29425
29463
|
groupedModels[provider].map((model) => /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
@@ -29611,8 +29649,8 @@ const CYCLE = {
|
|
|
29611
29649
|
max: "low"
|
|
29612
29650
|
};
|
|
29613
29651
|
const COLORS = {
|
|
29614
|
-
max: "t-text-
|
|
29615
|
-
high: "t-text-
|
|
29652
|
+
max: "t-text-error",
|
|
29653
|
+
high: "t-text-warning",
|
|
29616
29654
|
medium: "t-text-info",
|
|
29617
29655
|
low: "t-text-muted"
|
|
29618
29656
|
};
|
|
@@ -32421,7 +32459,11 @@ function LiteratureView() {
|
|
|
32421
32459
|
}));
|
|
32422
32460
|
}, [papers, wikiSlugs]);
|
|
32423
32461
|
const wikiOnlyRows = reactExports.useMemo(() => {
|
|
32424
|
-
const usedSlugs = new Set(
|
|
32462
|
+
const usedSlugs = /* @__PURE__ */ new Set();
|
|
32463
|
+
for (const p of papers) {
|
|
32464
|
+
const slug = wikiSlugs[p.id];
|
|
32465
|
+
if (slug) usedSlugs.add(slug);
|
|
32466
|
+
}
|
|
32425
32467
|
return wikiMeta.filter((m) => !usedSlugs.has(m.slug)).map((m) => ({
|
|
32426
32468
|
key: `wiki:${m.slug}`,
|
|
32427
32469
|
source: "wiki",
|
|
@@ -33011,7 +33053,7 @@ function CenterPanel() {
|
|
|
33011
33053
|
}
|
|
33012
33054
|
const remarkPlugins = [remarkGfm];
|
|
33013
33055
|
const LazyMilkdownMarkdownEditor = reactExports.lazy(async () => {
|
|
33014
|
-
const mod = await __vitePreload(() => import("./MilkdownMarkdownEditor-
|
|
33056
|
+
const mod = await __vitePreload(() => import("./MilkdownMarkdownEditor-BX4GvUB0.js").then((n) => n.bL), true ? __vite__mapDeps([0,1]) : void 0, import.meta.url);
|
|
33015
33057
|
return { default: mod.MilkdownMarkdownEditor };
|
|
33016
33058
|
});
|
|
33017
33059
|
const typeIcons = {
|
|
@@ -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-
|
|
2
|
-
import { L as LRParser } from "./index-
|
|
3
|
-
import "./index-
|
|
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-BX4GvUB0.js";
|
|
2
|
+
import { L as LRParser } from "./index-DmFXl1ev.js";
|
|
3
|
+
import "./index-BG7PX3k8.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,7 +1,7 @@
|
|
|
1
|
-
import { L as LRParser, E as ExternalTokenizer, C as ContextTracker } from "./index-
|
|
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-
|
|
3
|
-
import { defineCSSCompletionSource } from "./index-
|
|
4
|
-
import "./index-
|
|
1
|
+
import { L as LRParser, E as ExternalTokenizer, C as ContextTracker } from "./index-DmFXl1ev.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-BX4GvUB0.js";
|
|
3
|
+
import { defineCSSCompletionSource } from "./index-CQ3AUQjH.js";
|
|
4
|
+
import "./index-BG7PX3k8.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-
|
|
2
|
-
import { html } from "./index-
|
|
3
|
-
import { javascriptLanguage } from "./index-
|
|
4
|
-
import { L as LRParser, a as LocalTokenGroup } from "./index-
|
|
5
|
-
import "./index-
|
|
6
|
-
import "./index-
|
|
1
|
+
import { L as LRLanguage, a as LanguageSupport, p as parseMixed, s as styleTags, t as tags } from "./MilkdownMarkdownEditor-BX4GvUB0.js";
|
|
2
|
+
import { html } from "./index-DM53DzJy.js";
|
|
3
|
+
import { javascriptLanguage } from "./index-uewGaFvs.js";
|
|
4
|
+
import { L as LRParser, a as LocalTokenGroup } from "./index-DmFXl1ev.js";
|
|
5
|
+
import "./index-BG7PX3k8.js";
|
|
6
|
+
import "./index-CQ3AUQjH.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,6 +1,6 @@
|
|
|
1
|
-
import { L as LRParser, E as ExternalTokenizer, C as ContextTracker } from "./index-
|
|
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-
|
|
3
|
-
import "./index-
|
|
1
|
+
import { L as LRParser, E as ExternalTokenizer, C as ContextTracker } from "./index-DmFXl1ev.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-BX4GvUB0.js";
|
|
3
|
+
import "./index-BG7PX3k8.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,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-
|
|
2
|
-
import { html } from "./index-
|
|
3
|
-
import { L as LRParser, E as ExternalTokenizer } from "./index-
|
|
4
|
-
import "./index-
|
|
5
|
-
import "./index-
|
|
6
|
-
import "./index-
|
|
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-BX4GvUB0.js";
|
|
2
|
+
import { html } from "./index-DM53DzJy.js";
|
|
3
|
+
import { L as LRParser, E as ExternalTokenizer } from "./index-DmFXl1ev.js";
|
|
4
|
+
import "./index-BG7PX3k8.js";
|
|
5
|
+
import "./index-CQ3AUQjH.js";
|
|
6
|
+
import "./index-uewGaFvs.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,6 +1,6 @@
|
|
|
1
|
-
import { L as LRParser, E as ExternalTokenizer, a as LocalTokenGroup } from "./index-
|
|
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-
|
|
3
|
-
import "./index-
|
|
1
|
+
import { L as LRParser, E as ExternalTokenizer, a as LocalTokenGroup } from "./index-DmFXl1ev.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-BX4GvUB0.js";
|
|
3
|
+
import "./index-BG7PX3k8.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-
|
|
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-
|
|
3
|
-
import "./index-
|
|
1
|
+
import { L as LRParser, E as ExternalTokenizer, C as ContextTracker } from "./index-DmFXl1ev.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-BX4GvUB0.js";
|
|
3
|
+
import "./index-BG7PX3k8.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 LRParser, E as ExternalTokenizer, a as LocalTokenGroup, C as ContextTracker } from "./index-
|
|
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-
|
|
3
|
-
import "./index-
|
|
1
|
+
import { L as LRParser, E as ExternalTokenizer, a as LocalTokenGroup, C as ContextTracker } from "./index-DmFXl1ev.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-BX4GvUB0.js";
|
|
3
|
+
import "./index-BG7PX3k8.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 } from "./index-
|
|
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-
|
|
3
|
-
import "./index-
|
|
1
|
+
import { L as LRParser } from "./index-DmFXl1ev.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-BX4GvUB0.js";
|
|
3
|
+
import "./index-BG7PX3k8.js";
|
|
4
4
|
const jsonHighlighting = styleTags({
|
|
5
5
|
String: tags.string,
|
|
6
6
|
Number: tags.number,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { L as LRLanguage, a as LanguageSupport, p as parseMixed, s as styleTags, t as tags } from "./MilkdownMarkdownEditor-
|
|
2
|
-
import { html } from "./index-
|
|
3
|
-
import { javascriptLanguage } from "./index-
|
|
4
|
-
import { L as LRParser, E as ExternalTokenizer } from "./index-
|
|
5
|
-
import "./index-
|
|
6
|
-
import "./index-
|
|
1
|
+
import { L as LRLanguage, a as LanguageSupport, p as parseMixed, s as styleTags, t as tags } from "./MilkdownMarkdownEditor-BX4GvUB0.js";
|
|
2
|
+
import { html } from "./index-DM53DzJy.js";
|
|
3
|
+
import { javascriptLanguage } from "./index-uewGaFvs.js";
|
|
4
|
+
import { L as LRParser, E as ExternalTokenizer } from "./index-DmFXl1ev.js";
|
|
5
|
+
import "./index-BG7PX3k8.js";
|
|
6
|
+
import "./index-CQ3AUQjH.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,8 +1,8 @@
|
|
|
1
|
-
import { L as LRParser, E as ExternalTokenizer, C as ContextTracker } from "./index-
|
|
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-
|
|
3
|
-
import { cssLanguage, css } from "./index-
|
|
4
|
-
import { typescriptLanguage, jsxLanguage, tsxLanguage, javascriptLanguage, javascript } from "./index-
|
|
5
|
-
import "./index-
|
|
1
|
+
import { L as LRParser, E as ExternalTokenizer, C as ContextTracker } from "./index-DmFXl1ev.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-BX4GvUB0.js";
|
|
3
|
+
import { cssLanguage, css } from "./index-CQ3AUQjH.js";
|
|
4
|
+
import { typescriptLanguage, jsxLanguage, tsxLanguage, javascriptLanguage, javascript } from "./index-uewGaFvs.js";
|
|
5
|
+
import "./index-BG7PX3k8.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 { 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-
|
|
2
|
-
import { html, htmlCompletionSource } from "./index-
|
|
3
|
-
import "./index-
|
|
4
|
-
import "./index-
|
|
5
|
-
import "./index-
|
|
6
|
-
import "./index-
|
|
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-BX4GvUB0.js";
|
|
2
|
+
import { html, htmlCompletionSource } from "./index-DM53DzJy.js";
|
|
3
|
+
import "./index-BG7PX3k8.js";
|
|
4
|
+
import "./index-DmFXl1ev.js";
|
|
5
|
+
import "./index-CQ3AUQjH.js";
|
|
6
|
+
import "./index-uewGaFvs.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-
|
|
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-
|
|
3
|
-
import "./index-
|
|
1
|
+
import { L as LRParser, E as ExternalTokenizer, C as ContextTracker } from "./index-DmFXl1ev.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-BX4GvUB0.js";
|
|
3
|
+
import "./index-BG7PX3k8.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-
|
|
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-
|
|
3
|
-
import "./index-
|
|
1
|
+
import { L as LRParser } from "./index-DmFXl1ev.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-BX4GvUB0.js";
|
|
3
|
+
import "./index-BG7PX3k8.js";
|
|
4
4
|
const javaHighlighting = styleTags({
|
|
5
5
|
null: tags.null,
|
|
6
6
|
instanceof: tags.operatorKeyword,
|