update interface button styles

This commit is contained in:
2023-07-28 02:15:00 +02:00
parent aff5e643ac
commit 12c07c83b3
2901 changed files with 1369600 additions and 41 deletions

69
node_modules/.vite/deps/@codemirror_autocomplete.js generated vendored Normal file
View File

@ -0,0 +1,69 @@
import {
CompletionContext,
acceptCompletion,
autocompletion,
clearSnippet,
closeBrackets,
closeBracketsKeymap,
closeCompletion,
completeAnyWord,
completeFromList,
completionKeymap,
completionStatus,
currentCompletions,
deleteBracketPair,
hasNextSnippetField,
hasPrevSnippetField,
ifIn,
ifNotIn,
insertBracket,
insertCompletionText,
moveCompletionSelection,
nextSnippetField,
pickedCompletion,
prevSnippetField,
selectedCompletion,
selectedCompletionIndex,
setSelectedCompletion,
snippet,
snippetCompletion,
snippetKeymap,
startCompletion
} from "./chunk-UFI6XSZR.js";
import "./chunk-D63OSQ34.js";
import "./chunk-LORPBXGU.js";
import "./chunk-MKFMOIK6.js";
import "./chunk-BSVZPYOD.js";
export {
CompletionContext,
acceptCompletion,
autocompletion,
clearSnippet,
closeBrackets,
closeBracketsKeymap,
closeCompletion,
completeAnyWord,
completeFromList,
completionKeymap,
completionStatus,
currentCompletions,
deleteBracketPair,
hasNextSnippetField,
hasPrevSnippetField,
ifIn,
ifNotIn,
insertBracket,
insertCompletionText,
moveCompletionSelection,
nextSnippetField,
pickedCompletion,
prevSnippetField,
selectedCompletion,
selectedCompletionIndex,
setSelectedCompletion,
snippet,
snippetCompletion,
snippetKeymap,
startCompletion
};
//# sourceMappingURL=@codemirror_autocomplete.js.map

View File

@ -0,0 +1,7 @@
{
"version": 3,
"sources": [],
"sourcesContent": [],
"mappings": "",
"names": []
}

205
node_modules/.vite/deps/@codemirror_commands.js generated vendored Normal file
View File

@ -0,0 +1,205 @@
import {
blockComment,
blockUncomment,
copyLineDown,
copyLineUp,
cursorCharBackward,
cursorCharForward,
cursorCharLeft,
cursorCharRight,
cursorDocEnd,
cursorDocStart,
cursorGroupBackward,
cursorGroupForward,
cursorGroupLeft,
cursorGroupRight,
cursorLineBoundaryBackward,
cursorLineBoundaryForward,
cursorLineBoundaryLeft,
cursorLineBoundaryRight,
cursorLineDown,
cursorLineEnd,
cursorLineStart,
cursorLineUp,
cursorMatchingBracket,
cursorPageDown,
cursorPageUp,
cursorSubwordBackward,
cursorSubwordForward,
cursorSyntaxLeft,
cursorSyntaxRight,
defaultKeymap,
deleteCharBackward,
deleteCharForward,
deleteGroupBackward,
deleteGroupForward,
deleteLine,
deleteToLineEnd,
deleteToLineStart,
deleteTrailingWhitespace,
emacsStyleKeymap,
history,
historyField,
historyKeymap,
indentLess,
indentMore,
indentSelection,
indentWithTab,
insertBlankLine,
insertNewline,
insertNewlineAndIndent,
insertTab,
invertedEffects,
isolateHistory,
lineComment,
lineUncomment,
moveLineDown,
moveLineUp,
redo,
redoDepth,
redoSelection,
selectAll,
selectCharBackward,
selectCharForward,
selectCharLeft,
selectCharRight,
selectDocEnd,
selectDocStart,
selectGroupBackward,
selectGroupForward,
selectGroupLeft,
selectGroupRight,
selectLine,
selectLineBoundaryBackward,
selectLineBoundaryForward,
selectLineBoundaryLeft,
selectLineBoundaryRight,
selectLineDown,
selectLineEnd,
selectLineStart,
selectLineUp,
selectMatchingBracket,
selectPageDown,
selectPageUp,
selectParentSyntax,
selectSubwordBackward,
selectSubwordForward,
selectSyntaxLeft,
selectSyntaxRight,
simplifySelection,
splitLine,
standardKeymap,
toggleBlockComment,
toggleBlockCommentByLine,
toggleComment,
toggleLineComment,
transposeChars,
undo,
undoDepth,
undoSelection
} from "./chunk-TRAAS4SM.js";
import "./chunk-D63OSQ34.js";
import "./chunk-LORPBXGU.js";
import "./chunk-MKFMOIK6.js";
import "./chunk-BSVZPYOD.js";
export {
blockComment,
blockUncomment,
copyLineDown,
copyLineUp,
cursorCharBackward,
cursorCharForward,
cursorCharLeft,
cursorCharRight,
cursorDocEnd,
cursorDocStart,
cursorGroupBackward,
cursorGroupForward,
cursorGroupLeft,
cursorGroupRight,
cursorLineBoundaryBackward,
cursorLineBoundaryForward,
cursorLineBoundaryLeft,
cursorLineBoundaryRight,
cursorLineDown,
cursorLineEnd,
cursorLineStart,
cursorLineUp,
cursorMatchingBracket,
cursorPageDown,
cursorPageUp,
cursorSubwordBackward,
cursorSubwordForward,
cursorSyntaxLeft,
cursorSyntaxRight,
defaultKeymap,
deleteCharBackward,
deleteCharForward,
deleteGroupBackward,
deleteGroupForward,
deleteLine,
deleteToLineEnd,
deleteToLineStart,
deleteTrailingWhitespace,
emacsStyleKeymap,
history,
historyField,
historyKeymap,
indentLess,
indentMore,
indentSelection,
indentWithTab,
insertBlankLine,
insertNewline,
insertNewlineAndIndent,
insertTab,
invertedEffects,
isolateHistory,
lineComment,
lineUncomment,
moveLineDown,
moveLineUp,
redo,
redoDepth,
redoSelection,
selectAll,
selectCharBackward,
selectCharForward,
selectCharLeft,
selectCharRight,
selectDocEnd,
selectDocStart,
selectGroupBackward,
selectGroupForward,
selectGroupLeft,
selectGroupRight,
selectLine,
selectLineBoundaryBackward,
selectLineBoundaryForward,
selectLineBoundaryLeft,
selectLineBoundaryRight,
selectLineDown,
selectLineEnd,
selectLineStart,
selectLineUp,
selectMatchingBracket,
selectPageDown,
selectPageUp,
selectParentSyntax,
selectSubwordBackward,
selectSubwordForward,
selectSyntaxLeft,
selectSyntaxRight,
simplifySelection,
splitLine,
standardKeymap,
toggleBlockComment,
toggleBlockCommentByLine,
toggleComment,
toggleLineComment,
transposeChars,
undo,
undoDepth,
undoSelection
};
//# sourceMappingURL=@codemirror_commands.js.map

7
node_modules/.vite/deps/@codemirror_commands.js.map generated vendored Normal file
View File

@ -0,0 +1,7 @@
{
"version": 3,
"sources": [],
"sourcesContent": [],
"mappings": "",
"names": []
}

2264
node_modules/.vite/deps/@codemirror_lang-javascript.js generated vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

114
node_modules/.vite/deps/@codemirror_language.js generated vendored Normal file
View File

@ -0,0 +1,114 @@
import {
DocInput,
HighlightStyle,
IndentContext,
LRLanguage,
Language,
LanguageDescription,
LanguageSupport,
ParseContext,
StreamLanguage,
StringStream,
TreeIndentContext,
bracketMatching,
bracketMatchingHandle,
codeFolding,
continuedIndent,
defaultHighlightStyle,
defineLanguageFacet,
delimitedIndent,
ensureSyntaxTree,
flatIndent,
foldAll,
foldCode,
foldEffect,
foldGutter,
foldInside,
foldKeymap,
foldNodeProp,
foldService,
foldState,
foldable,
foldedRanges,
forceParsing,
getIndentUnit,
getIndentation,
highlightingFor,
indentNodeProp,
indentOnInput,
indentRange,
indentService,
indentString,
indentUnit,
language,
languageDataProp,
matchBrackets,
sublanguageProp,
syntaxHighlighting,
syntaxParserRunning,
syntaxTree,
syntaxTreeAvailable,
toggleFold,
unfoldAll,
unfoldCode,
unfoldEffect
} from "./chunk-D63OSQ34.js";
import "./chunk-LORPBXGU.js";
import "./chunk-MKFMOIK6.js";
import "./chunk-BSVZPYOD.js";
export {
DocInput,
HighlightStyle,
IndentContext,
LRLanguage,
Language,
LanguageDescription,
LanguageSupport,
ParseContext,
StreamLanguage,
StringStream,
TreeIndentContext,
bracketMatching,
bracketMatchingHandle,
codeFolding,
continuedIndent,
defaultHighlightStyle,
defineLanguageFacet,
delimitedIndent,
ensureSyntaxTree,
flatIndent,
foldAll,
foldCode,
foldEffect,
foldGutter,
foldInside,
foldKeymap,
foldNodeProp,
foldService,
foldState,
foldable,
foldedRanges,
forceParsing,
getIndentUnit,
getIndentation,
highlightingFor,
indentNodeProp,
indentOnInput,
indentRange,
indentService,
indentString,
indentUnit,
language,
languageDataProp,
matchBrackets,
sublanguageProp,
syntaxHighlighting,
syntaxParserRunning,
syntaxTree,
syntaxTreeAvailable,
toggleFold,
unfoldAll,
unfoldCode,
unfoldEffect
};
//# sourceMappingURL=@codemirror_language.js.map

7
node_modules/.vite/deps/@codemirror_language.js.map generated vendored Normal file
View File

@ -0,0 +1,7 @@
{
"version": 3,
"sources": [],
"sourcesContent": [],
"mappings": "",
"names": []
}

32
node_modules/.vite/deps/@codemirror_lint.js generated vendored Normal file
View File

@ -0,0 +1,32 @@
import {
closeLintPanel,
diagnosticCount,
forEachDiagnostic,
forceLinting,
lintGutter,
lintKeymap,
linter,
nextDiagnostic,
openLintPanel,
previousDiagnostic,
setDiagnostics,
setDiagnosticsEffect
} from "./chunk-P2DAGASU.js";
import "./chunk-B45MRPPJ.js";
import "./chunk-LORPBXGU.js";
import "./chunk-MKFMOIK6.js";
export {
closeLintPanel,
diagnosticCount,
forEachDiagnostic,
forceLinting,
lintGutter,
lintKeymap,
linter,
nextDiagnostic,
openLintPanel,
previousDiagnostic,
setDiagnostics,
setDiagnosticsEffect
};
//# sourceMappingURL=@codemirror_lint.js.map

7
node_modules/.vite/deps/@codemirror_lint.js.map generated vendored Normal file
View File

@ -0,0 +1,7 @@
{
"version": 3,
"sources": [],
"sourcesContent": [],
"mappings": "",
"names": []
}

46
node_modules/.vite/deps/@codemirror_search.js generated vendored Normal file
View File

@ -0,0 +1,46 @@
import {
RegExpCursor,
SearchCursor,
SearchQuery,
closeSearchPanel,
findNext,
findPrevious,
getSearchQuery,
gotoLine,
highlightSelectionMatches,
openSearchPanel,
replaceAll,
replaceNext,
search,
searchKeymap,
searchPanelOpen,
selectMatches,
selectNextOccurrence,
selectSelectionMatches,
setSearchQuery
} from "./chunk-JOEDLCIZ.js";
import "./chunk-B45MRPPJ.js";
import "./chunk-LORPBXGU.js";
import "./chunk-MKFMOIK6.js";
export {
RegExpCursor,
SearchCursor,
SearchQuery,
closeSearchPanel,
findNext,
findPrevious,
getSearchQuery,
gotoLine,
highlightSelectionMatches,
openSearchPanel,
replaceAll,
replaceNext,
search,
searchKeymap,
searchPanelOpen,
selectMatches,
selectNextOccurrence,
selectSelectionMatches,
setSearchQuery
};
//# sourceMappingURL=@codemirror_search.js.map

7
node_modules/.vite/deps/@codemirror_search.js.map generated vendored Normal file
View File

@ -0,0 +1,7 @@
{
"version": 3,
"sources": [],
"sourcesContent": [],
"mappings": "",
"names": []
}

63
node_modules/.vite/deps/@codemirror_state.js generated vendored Normal file
View File

@ -0,0 +1,63 @@
import {
Annotation,
AnnotationType,
ChangeDesc,
ChangeSet,
CharCategory,
Compartment,
EditorSelection,
EditorState,
Facet,
Line,
MapMode,
Prec,
Range,
RangeSet,
RangeSetBuilder,
RangeValue,
SelectionRange,
StateEffect,
StateEffectType,
StateField,
Text,
Transaction,
codePointAt,
codePointSize,
combineConfig,
countColumn,
findClusterBreak,
findColumn,
fromCodePoint
} from "./chunk-MKFMOIK6.js";
export {
Annotation,
AnnotationType,
ChangeDesc,
ChangeSet,
CharCategory,
Compartment,
EditorSelection,
EditorState,
Facet,
Line,
MapMode,
Prec,
Range,
RangeSet,
RangeSetBuilder,
RangeValue,
SelectionRange,
StateEffect,
StateEffectType,
StateField,
Text,
Transaction,
codePointAt,
codePointSize,
combineConfig,
countColumn,
findClusterBreak,
findColumn,
fromCodePoint
};
//# sourceMappingURL=@codemirror_state.js.map

7
node_modules/.vite/deps/@codemirror_state.js.map generated vendored Normal file
View File

@ -0,0 +1,7 @@
{
"version": 3,
"sources": [],
"sourcesContent": [],
"mappings": "",
"names": []
}

92
node_modules/.vite/deps/@codemirror_view.js generated vendored Normal file
View File

@ -0,0 +1,92 @@
import {
BidiSpan,
BlockInfo,
BlockType,
Decoration,
Direction,
EditorView,
GutterMarker,
MatchDecorator,
RectangleMarker,
ViewPlugin,
ViewUpdate,
WidgetType,
__test,
closeHoverTooltips,
crosshairCursor,
drawSelection,
dropCursor,
getPanel,
getTooltip,
gutter,
gutterLineClass,
gutters,
hasHoverTooltips,
highlightActiveLine,
highlightActiveLineGutter,
highlightSpecialChars,
highlightTrailingWhitespace,
highlightWhitespace,
hoverTooltip,
keymap,
layer,
lineNumberMarkers,
lineNumbers,
logException,
panels,
placeholder,
rectangularSelection,
repositionTooltips,
runScopeHandlers,
scrollPastEnd,
showPanel,
showTooltip,
tooltips
} from "./chunk-LORPBXGU.js";
import "./chunk-MKFMOIK6.js";
export {
BidiSpan,
BlockInfo,
BlockType,
Decoration,
Direction,
EditorView,
GutterMarker,
MatchDecorator,
RectangleMarker,
ViewPlugin,
ViewUpdate,
WidgetType,
__test,
closeHoverTooltips,
crosshairCursor,
drawSelection,
dropCursor,
getPanel,
getTooltip,
gutter,
gutterLineClass,
gutters,
hasHoverTooltips,
highlightActiveLine,
highlightActiveLineGutter,
highlightSpecialChars,
highlightTrailingWhitespace,
highlightWhitespace,
hoverTooltip,
keymap,
layer,
lineNumberMarkers,
lineNumbers,
logException,
panels,
placeholder,
rectangularSelection,
repositionTooltips,
runScopeHandlers,
scrollPastEnd,
showPanel,
showTooltip,
tooltips
};
//# sourceMappingURL=@codemirror_view.js.map

7
node_modules/.vite/deps/@codemirror_view.js.map generated vendored Normal file
View File

@ -0,0 +1,7 @@
{
"version": 3,
"sources": [],
"sourcesContent": [],
"mappings": "",
"names": []
}

19
node_modules/.vite/deps/@lezer_highlight.js generated vendored Normal file
View File

@ -0,0 +1,19 @@
import {
Tag,
classHighlighter,
getStyleTags,
highlightTree,
styleTags,
tagHighlighter,
tags
} from "./chunk-BSVZPYOD.js";
export {
Tag,
classHighlighter,
getStyleTags,
highlightTree,
styleTags,
tagHighlighter,
tags
};
//# sourceMappingURL=@lezer_highlight.js.map

7
node_modules/.vite/deps/@lezer_highlight.js.map generated vendored Normal file
View File

@ -0,0 +1,7 @@
{
"version": 3,
"sources": [],
"sourcesContent": [],
"mappings": "",
"names": []
}

7238
node_modules/.vite/deps/@replit_codemirror-vim.js generated vendored Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

107
node_modules/.vite/deps/_metadata.json generated vendored Normal file
View File

@ -0,0 +1,107 @@
{
"hash": "28ccedc6",
"browserHash": "c391915d",
"optimized": {
"@codemirror/autocomplete": {
"src": "../../@codemirror/autocomplete/dist/index.js",
"file": "@codemirror_autocomplete.js",
"fileHash": "f0ba3f48",
"needsInterop": false
},
"@codemirror/commands": {
"src": "../../@codemirror/commands/dist/index.js",
"file": "@codemirror_commands.js",
"fileHash": "bf5d0d66",
"needsInterop": false
},
"@codemirror/lang-javascript": {
"src": "../../@codemirror/lang-javascript/dist/index.js",
"file": "@codemirror_lang-javascript.js",
"fileHash": "526d6ab6",
"needsInterop": false
},
"@codemirror/language": {
"src": "../../@codemirror/language/dist/index.js",
"file": "@codemirror_language.js",
"fileHash": "d13d9419",
"needsInterop": false
},
"@codemirror/lint": {
"src": "../../@codemirror/lint/dist/index.js",
"file": "@codemirror_lint.js",
"fileHash": "6d1e1d91",
"needsInterop": false
},
"@codemirror/search": {
"src": "../../@codemirror/search/dist/index.js",
"file": "@codemirror_search.js",
"fileHash": "a87f8d7f",
"needsInterop": false
},
"@codemirror/state": {
"src": "../../@codemirror/state/dist/index.js",
"file": "@codemirror_state.js",
"fileHash": "fcdd8f0f",
"needsInterop": false
},
"@codemirror/view": {
"src": "../../@codemirror/view/dist/index.js",
"file": "@codemirror_view.js",
"fileHash": "b6577eae",
"needsInterop": false
},
"@lezer/highlight": {
"src": "../../@lezer/highlight/dist/index.js",
"file": "@lezer_highlight.js",
"fileHash": "d1c1ebfc",
"needsInterop": false
},
"@replit/codemirror-vim": {
"src": "../../@replit/codemirror-vim/dist/index.js",
"file": "@replit_codemirror-vim.js",
"fileHash": "232e9358",
"needsInterop": false
},
"codemirror": {
"src": "../../codemirror/dist/index.js",
"file": "codemirror.js",
"fileHash": "f624d563",
"needsInterop": false
},
"zzfx": {
"src": "../../zzfx/ZzFX.js",
"file": "zzfx.js",
"fileHash": "f344322d",
"needsInterop": false
}
},
"chunks": {
"chunk-TRAAS4SM": {
"file": "chunk-TRAAS4SM.js"
},
"chunk-UFI6XSZR": {
"file": "chunk-UFI6XSZR.js"
},
"chunk-D63OSQ34": {
"file": "chunk-D63OSQ34.js"
},
"chunk-P2DAGASU": {
"file": "chunk-P2DAGASU.js"
},
"chunk-JOEDLCIZ": {
"file": "chunk-JOEDLCIZ.js"
},
"chunk-B45MRPPJ": {
"file": "chunk-B45MRPPJ.js"
},
"chunk-LORPBXGU": {
"file": "chunk-LORPBXGU.js"
},
"chunk-MKFMOIK6": {
"file": "chunk-MKFMOIK6.js"
},
"chunk-BSVZPYOD": {
"file": "chunk-BSVZPYOD.js"
}
}
}

39
node_modules/.vite/deps/chunk-B45MRPPJ.js generated vendored Normal file
View File

@ -0,0 +1,39 @@
// node_modules/crelt/index.js
function crelt() {
var elt = arguments[0];
if (typeof elt == "string")
elt = document.createElement(elt);
var i = 1, next = arguments[1];
if (next && typeof next == "object" && next.nodeType == null && !Array.isArray(next)) {
for (var name in next)
if (Object.prototype.hasOwnProperty.call(next, name)) {
var value = next[name];
if (typeof value == "string")
elt.setAttribute(name, value);
else if (value != null)
elt[name] = value;
}
i++;
}
for (; i < arguments.length; i++)
add(elt, arguments[i]);
return elt;
}
function add(elt, child) {
if (typeof child == "string") {
elt.appendChild(document.createTextNode(child));
} else if (child == null) {
} else if (child.nodeType != null) {
elt.appendChild(child);
} else if (Array.isArray(child)) {
for (var i = 0; i < child.length; i++)
add(elt, child[i]);
} else {
throw new RangeError("Unsupported child node: " + child);
}
}
export {
crelt
};
//# sourceMappingURL=chunk-B45MRPPJ.js.map

7
node_modules/.vite/deps/chunk-B45MRPPJ.js.map generated vendored Normal file
View File

@ -0,0 +1,7 @@
{
"version": 3,
"sources": ["../../crelt/index.js"],
"sourcesContent": ["export default function crelt() {\n var elt = arguments[0]\n if (typeof elt == \"string\") elt = document.createElement(elt)\n var i = 1, next = arguments[1]\n if (next && typeof next == \"object\" && next.nodeType == null && !Array.isArray(next)) {\n for (var name in next) if (Object.prototype.hasOwnProperty.call(next, name)) {\n var value = next[name]\n if (typeof value == \"string\") elt.setAttribute(name, value)\n else if (value != null) elt[name] = value\n }\n i++\n }\n for (; i < arguments.length; i++) add(elt, arguments[i])\n return elt\n}\n\nfunction add(elt, child) {\n if (typeof child == \"string\") {\n elt.appendChild(document.createTextNode(child))\n } else if (child == null) {\n } else if (child.nodeType != null) {\n elt.appendChild(child)\n } else if (Array.isArray(child)) {\n for (var i = 0; i < child.length; i++) add(elt, child[i])\n } else {\n throw new RangeError(\"Unsupported child node: \" + child)\n }\n}\n"],
"mappings": ";AAAe,SAAR,QAAyB;AAC9B,MAAI,MAAM,UAAU,CAAC;AACrB,MAAI,OAAO,OAAO;AAAU,UAAM,SAAS,cAAc,GAAG;AAC5D,MAAI,IAAI,GAAG,OAAO,UAAU,CAAC;AAC7B,MAAI,QAAQ,OAAO,QAAQ,YAAY,KAAK,YAAY,QAAQ,CAAC,MAAM,QAAQ,IAAI,GAAG;AACpF,aAAS,QAAQ;AAAM,UAAI,OAAO,UAAU,eAAe,KAAK,MAAM,IAAI,GAAG;AAC3E,YAAI,QAAQ,KAAK,IAAI;AACrB,YAAI,OAAO,SAAS;AAAU,cAAI,aAAa,MAAM,KAAK;AAAA,iBACjD,SAAS;AAAM,cAAI,IAAI,IAAI;AAAA,MACtC;AACA;AAAA,EACF;AACA,SAAO,IAAI,UAAU,QAAQ;AAAK,QAAI,KAAK,UAAU,CAAC,CAAC;AACvD,SAAO;AACT;AAEA,SAAS,IAAI,KAAK,OAAO;AACvB,MAAI,OAAO,SAAS,UAAU;AAC5B,QAAI,YAAY,SAAS,eAAe,KAAK,CAAC;AAAA,EAChD,WAAW,SAAS,MAAM;AAAA,EAC1B,WAAW,MAAM,YAAY,MAAM;AACjC,QAAI,YAAY,KAAK;AAAA,EACvB,WAAW,MAAM,QAAQ,KAAK,GAAG;AAC/B,aAAS,IAAI,GAAG,IAAI,MAAM,QAAQ;AAAK,UAAI,KAAK,MAAM,CAAC,CAAC;AAAA,EAC1D,OAAO;AACL,UAAM,IAAI,WAAW,6BAA6B,KAAK;AAAA,EACzD;AACF;",
"names": []
}

2155
node_modules/.vite/deps/chunk-BSVZPYOD.js generated vendored Normal file

File diff suppressed because it is too large Load Diff

7
node_modules/.vite/deps/chunk-BSVZPYOD.js.map generated vendored Normal file

File diff suppressed because one or more lines are too long

2211
node_modules/.vite/deps/chunk-D63OSQ34.js generated vendored Normal file

File diff suppressed because it is too large Load Diff

7
node_modules/.vite/deps/chunk-D63OSQ34.js.map generated vendored Normal file

File diff suppressed because one or more lines are too long

1138
node_modules/.vite/deps/chunk-JOEDLCIZ.js generated vendored Normal file

File diff suppressed because it is too large Load Diff

7
node_modules/.vite/deps/chunk-JOEDLCIZ.js.map generated vendored Normal file

File diff suppressed because one or more lines are too long

9286
node_modules/.vite/deps/chunk-LORPBXGU.js generated vendored Normal file

File diff suppressed because it is too large Load Diff

7
node_modules/.vite/deps/chunk-LORPBXGU.js.map generated vendored Normal file

File diff suppressed because one or more lines are too long

3380
node_modules/.vite/deps/chunk-MKFMOIK6.js generated vendored Normal file

File diff suppressed because it is too large Load Diff

7
node_modules/.vite/deps/chunk-MKFMOIK6.js.map generated vendored Normal file

File diff suppressed because one or more lines are too long

764
node_modules/.vite/deps/chunk-P2DAGASU.js generated vendored Normal file
View File

@ -0,0 +1,764 @@
import {
crelt
} from "./chunk-B45MRPPJ.js";
import {
Decoration,
EditorView,
GutterMarker,
ViewPlugin,
WidgetType,
getPanel,
gutter,
hoverTooltip,
logException,
showPanel,
showTooltip
} from "./chunk-LORPBXGU.js";
import {
Facet,
RangeSet,
StateEffect,
StateField,
combineConfig
} from "./chunk-MKFMOIK6.js";
// node_modules/@codemirror/lint/dist/index.js
var SelectedDiagnostic = class {
constructor(from, to, diagnostic) {
this.from = from;
this.to = to;
this.diagnostic = diagnostic;
}
};
var LintState = class _LintState {
constructor(diagnostics, panel, selected) {
this.diagnostics = diagnostics;
this.panel = panel;
this.selected = selected;
}
static init(diagnostics, panel, state) {
let markedDiagnostics = diagnostics;
let diagnosticFilter = state.facet(lintConfig).markerFilter;
if (diagnosticFilter)
markedDiagnostics = diagnosticFilter(markedDiagnostics);
let ranges = Decoration.set(markedDiagnostics.map((d) => {
return d.from == d.to || d.from == d.to - 1 && state.doc.lineAt(d.from).to == d.from ? Decoration.widget({
widget: new DiagnosticWidget(d),
diagnostic: d
}).range(d.from) : Decoration.mark({
attributes: { class: "cm-lintRange cm-lintRange-" + d.severity + (d.markClass ? " " + d.markClass : "") },
diagnostic: d
}).range(d.from, d.to);
}), true);
return new _LintState(ranges, panel, findDiagnostic(ranges));
}
};
function findDiagnostic(diagnostics, diagnostic = null, after = 0) {
let found = null;
diagnostics.between(after, 1e9, (from, to, { spec }) => {
if (diagnostic && spec.diagnostic != diagnostic)
return;
found = new SelectedDiagnostic(from, to, spec.diagnostic);
return false;
});
return found;
}
function hideTooltip(tr, tooltip) {
let line = tr.startState.doc.lineAt(tooltip.pos);
return !!(tr.effects.some((e) => e.is(setDiagnosticsEffect)) || tr.changes.touchesRange(line.from, line.to));
}
function maybeEnableLint(state, effects) {
return state.field(lintState, false) ? effects : effects.concat(StateEffect.appendConfig.of(lintExtensions));
}
function setDiagnostics(state, diagnostics) {
return {
effects: maybeEnableLint(state, [setDiagnosticsEffect.of(diagnostics)])
};
}
var setDiagnosticsEffect = StateEffect.define();
var togglePanel = StateEffect.define();
var movePanelSelection = StateEffect.define();
var lintState = StateField.define({
create() {
return new LintState(Decoration.none, null, null);
},
update(value, tr) {
if (tr.docChanged) {
let mapped = value.diagnostics.map(tr.changes), selected = null;
if (value.selected) {
let selPos = tr.changes.mapPos(value.selected.from, 1);
selected = findDiagnostic(mapped, value.selected.diagnostic, selPos) || findDiagnostic(mapped, null, selPos);
}
value = new LintState(mapped, value.panel, selected);
}
for (let effect of tr.effects) {
if (effect.is(setDiagnosticsEffect)) {
value = LintState.init(effect.value, value.panel, tr.state);
} else if (effect.is(togglePanel)) {
value = new LintState(value.diagnostics, effect.value ? LintPanel.open : null, value.selected);
} else if (effect.is(movePanelSelection)) {
value = new LintState(value.diagnostics, value.panel, effect.value);
}
}
return value;
},
provide: (f) => [
showPanel.from(f, (val) => val.panel),
EditorView.decorations.from(f, (s) => s.diagnostics)
]
});
function diagnosticCount(state) {
let lint = state.field(lintState, false);
return lint ? lint.diagnostics.size : 0;
}
var activeMark = Decoration.mark({ class: "cm-lintRange cm-lintRange-active" });
function lintTooltip(view, pos, side) {
let { diagnostics } = view.state.field(lintState);
let found = [], stackStart = 2e8, stackEnd = 0;
diagnostics.between(pos - (side < 0 ? 1 : 0), pos + (side > 0 ? 1 : 0), (from, to, { spec }) => {
if (pos >= from && pos <= to && (from == to || (pos > from || side > 0) && (pos < to || side < 0))) {
found.push(spec.diagnostic);
stackStart = Math.min(from, stackStart);
stackEnd = Math.max(to, stackEnd);
}
});
let diagnosticFilter = view.state.facet(lintConfig).tooltipFilter;
if (diagnosticFilter)
found = diagnosticFilter(found);
if (!found.length)
return null;
return {
pos: stackStart,
end: stackEnd,
above: view.state.doc.lineAt(stackStart).to < stackEnd,
create() {
return { dom: diagnosticsTooltip(view, found) };
}
};
}
function diagnosticsTooltip(view, diagnostics) {
return crelt("ul", { class: "cm-tooltip-lint" }, diagnostics.map((d) => renderDiagnostic(view, d, false)));
}
var openLintPanel = (view) => {
let field = view.state.field(lintState, false);
if (!field || !field.panel)
view.dispatch({ effects: maybeEnableLint(view.state, [togglePanel.of(true)]) });
let panel = getPanel(view, LintPanel.open);
if (panel)
panel.dom.querySelector(".cm-panel-lint ul").focus();
return true;
};
var closeLintPanel = (view) => {
let field = view.state.field(lintState, false);
if (!field || !field.panel)
return false;
view.dispatch({ effects: togglePanel.of(false) });
return true;
};
var nextDiagnostic = (view) => {
let field = view.state.field(lintState, false);
if (!field)
return false;
let sel = view.state.selection.main, next = field.diagnostics.iter(sel.to + 1);
if (!next.value) {
next = field.diagnostics.iter(0);
if (!next.value || next.from == sel.from && next.to == sel.to)
return false;
}
view.dispatch({ selection: { anchor: next.from, head: next.to }, scrollIntoView: true });
return true;
};
var previousDiagnostic = (view) => {
let { state } = view, field = state.field(lintState, false);
if (!field)
return false;
let sel = state.selection.main;
let prevFrom, prevTo, lastFrom, lastTo;
field.diagnostics.between(0, state.doc.length, (from, to) => {
if (to < sel.to && (prevFrom == null || prevFrom < from)) {
prevFrom = from;
prevTo = to;
}
if (lastFrom == null || from > lastFrom) {
lastFrom = from;
lastTo = to;
}
});
if (lastFrom == null || prevFrom == null && lastFrom == sel.from)
return false;
view.dispatch({ selection: { anchor: prevFrom !== null && prevFrom !== void 0 ? prevFrom : lastFrom, head: prevTo !== null && prevTo !== void 0 ? prevTo : lastTo }, scrollIntoView: true });
return true;
};
var lintKeymap = [
{ key: "Mod-Shift-m", run: openLintPanel, preventDefault: true },
{ key: "F8", run: nextDiagnostic }
];
var lintPlugin = ViewPlugin.fromClass(class {
constructor(view) {
this.view = view;
this.timeout = -1;
this.set = true;
let { delay } = view.state.facet(lintConfig);
this.lintTime = Date.now() + delay;
this.run = this.run.bind(this);
this.timeout = setTimeout(this.run, delay);
}
run() {
let now = Date.now();
if (now < this.lintTime - 10) {
setTimeout(this.run, this.lintTime - now);
} else {
this.set = false;
let { state } = this.view, { sources } = state.facet(lintConfig);
Promise.all(sources.map((source) => Promise.resolve(source(this.view)))).then((annotations) => {
let all = annotations.reduce((a, b) => a.concat(b));
if (this.view.state.doc == state.doc)
this.view.dispatch(setDiagnostics(this.view.state, all));
}, (error) => {
logException(this.view.state, error);
});
}
}
update(update) {
let config = update.state.facet(lintConfig);
if (update.docChanged || config != update.startState.facet(lintConfig) || config.needsRefresh && config.needsRefresh(update)) {
this.lintTime = Date.now() + config.delay;
if (!this.set) {
this.set = true;
this.timeout = setTimeout(this.run, config.delay);
}
}
}
force() {
if (this.set) {
this.lintTime = Date.now();
this.run();
}
}
destroy() {
clearTimeout(this.timeout);
}
});
var lintConfig = Facet.define({
combine(input) {
return Object.assign({ sources: input.map((i) => i.source) }, combineConfig(input.map((i) => i.config), {
delay: 750,
markerFilter: null,
tooltipFilter: null,
needsRefresh: null
}, {
needsRefresh: (a, b) => !a ? b : !b ? a : (u) => a(u) || b(u)
}));
}
});
function linter(source, config = {}) {
return [
lintConfig.of({ source, config }),
lintPlugin,
lintExtensions
];
}
function forceLinting(view) {
let plugin = view.plugin(lintPlugin);
if (plugin)
plugin.force();
}
function assignKeys(actions) {
let assigned = [];
if (actions)
actions:
for (let { name } of actions) {
for (let i = 0; i < name.length; i++) {
let ch = name[i];
if (/[a-zA-Z]/.test(ch) && !assigned.some((c) => c.toLowerCase() == ch.toLowerCase())) {
assigned.push(ch);
continue actions;
}
}
assigned.push("");
}
return assigned;
}
function renderDiagnostic(view, diagnostic, inPanel) {
var _a;
let keys = inPanel ? assignKeys(diagnostic.actions) : [];
return crelt("li", { class: "cm-diagnostic cm-diagnostic-" + diagnostic.severity }, crelt("span", { class: "cm-diagnosticText" }, diagnostic.renderMessage ? diagnostic.renderMessage() : diagnostic.message), (_a = diagnostic.actions) === null || _a === void 0 ? void 0 : _a.map((action, i) => {
let fired = false, click = (e) => {
e.preventDefault();
if (fired)
return;
fired = true;
let found = findDiagnostic(view.state.field(lintState).diagnostics, diagnostic);
if (found)
action.apply(view, found.from, found.to);
};
let { name } = action, keyIndex = keys[i] ? name.indexOf(keys[i]) : -1;
let nameElt = keyIndex < 0 ? name : [
name.slice(0, keyIndex),
crelt("u", name.slice(keyIndex, keyIndex + 1)),
name.slice(keyIndex + 1)
];
return crelt("button", {
type: "button",
class: "cm-diagnosticAction",
onclick: click,
onmousedown: click,
"aria-label": ` Action: ${name}${keyIndex < 0 ? "" : ` (access key "${keys[i]})"`}.`
}, nameElt);
}), diagnostic.source && crelt("div", { class: "cm-diagnosticSource" }, diagnostic.source));
}
var DiagnosticWidget = class extends WidgetType {
constructor(diagnostic) {
super();
this.diagnostic = diagnostic;
}
eq(other) {
return other.diagnostic == this.diagnostic;
}
toDOM() {
return crelt("span", { class: "cm-lintPoint cm-lintPoint-" + this.diagnostic.severity });
}
};
var PanelItem = class {
constructor(view, diagnostic) {
this.diagnostic = diagnostic;
this.id = "item_" + Math.floor(Math.random() * 4294967295).toString(16);
this.dom = renderDiagnostic(view, diagnostic, true);
this.dom.id = this.id;
this.dom.setAttribute("role", "option");
}
};
var LintPanel = class _LintPanel {
constructor(view) {
this.view = view;
this.items = [];
let onkeydown = (event) => {
if (event.keyCode == 27) {
closeLintPanel(this.view);
this.view.focus();
} else if (event.keyCode == 38 || event.keyCode == 33) {
this.moveSelection((this.selectedIndex - 1 + this.items.length) % this.items.length);
} else if (event.keyCode == 40 || event.keyCode == 34) {
this.moveSelection((this.selectedIndex + 1) % this.items.length);
} else if (event.keyCode == 36) {
this.moveSelection(0);
} else if (event.keyCode == 35) {
this.moveSelection(this.items.length - 1);
} else if (event.keyCode == 13) {
this.view.focus();
} else if (event.keyCode >= 65 && event.keyCode <= 90 && this.selectedIndex >= 0) {
let { diagnostic } = this.items[this.selectedIndex], keys = assignKeys(diagnostic.actions);
for (let i = 0; i < keys.length; i++)
if (keys[i].toUpperCase().charCodeAt(0) == event.keyCode) {
let found = findDiagnostic(this.view.state.field(lintState).diagnostics, diagnostic);
if (found)
diagnostic.actions[i].apply(view, found.from, found.to);
}
} else {
return;
}
event.preventDefault();
};
let onclick = (event) => {
for (let i = 0; i < this.items.length; i++) {
if (this.items[i].dom.contains(event.target))
this.moveSelection(i);
}
};
this.list = crelt("ul", {
tabIndex: 0,
role: "listbox",
"aria-label": this.view.state.phrase("Diagnostics"),
onkeydown,
onclick
});
this.dom = crelt("div", { class: "cm-panel-lint" }, this.list, crelt("button", {
type: "button",
name: "close",
"aria-label": this.view.state.phrase("close"),
onclick: () => closeLintPanel(this.view)
}, "×"));
this.update();
}
get selectedIndex() {
let selected = this.view.state.field(lintState).selected;
if (!selected)
return -1;
for (let i = 0; i < this.items.length; i++)
if (this.items[i].diagnostic == selected.diagnostic)
return i;
return -1;
}
update() {
let { diagnostics, selected } = this.view.state.field(lintState);
let i = 0, needsSync = false, newSelectedItem = null;
diagnostics.between(0, this.view.state.doc.length, (_start, _end, { spec }) => {
let found = -1, item;
for (let j = i; j < this.items.length; j++)
if (this.items[j].diagnostic == spec.diagnostic) {
found = j;
break;
}
if (found < 0) {
item = new PanelItem(this.view, spec.diagnostic);
this.items.splice(i, 0, item);
needsSync = true;
} else {
item = this.items[found];
if (found > i) {
this.items.splice(i, found - i);
needsSync = true;
}
}
if (selected && item.diagnostic == selected.diagnostic) {
if (!item.dom.hasAttribute("aria-selected")) {
item.dom.setAttribute("aria-selected", "true");
newSelectedItem = item;
}
} else if (item.dom.hasAttribute("aria-selected")) {
item.dom.removeAttribute("aria-selected");
}
i++;
});
while (i < this.items.length && !(this.items.length == 1 && this.items[0].diagnostic.from < 0)) {
needsSync = true;
this.items.pop();
}
if (this.items.length == 0) {
this.items.push(new PanelItem(this.view, {
from: -1,
to: -1,
severity: "info",
message: this.view.state.phrase("No diagnostics")
}));
needsSync = true;
}
if (newSelectedItem) {
this.list.setAttribute("aria-activedescendant", newSelectedItem.id);
this.view.requestMeasure({
key: this,
read: () => ({ sel: newSelectedItem.dom.getBoundingClientRect(), panel: this.list.getBoundingClientRect() }),
write: ({ sel, panel }) => {
if (sel.top < panel.top)
this.list.scrollTop -= panel.top - sel.top;
else if (sel.bottom > panel.bottom)
this.list.scrollTop += sel.bottom - panel.bottom;
}
});
} else if (this.selectedIndex < 0) {
this.list.removeAttribute("aria-activedescendant");
}
if (needsSync)
this.sync();
}
sync() {
let domPos = this.list.firstChild;
function rm() {
let prev = domPos;
domPos = prev.nextSibling;
prev.remove();
}
for (let item of this.items) {
if (item.dom.parentNode == this.list) {
while (domPos != item.dom)
rm();
domPos = item.dom.nextSibling;
} else {
this.list.insertBefore(item.dom, domPos);
}
}
while (domPos)
rm();
}
moveSelection(selectedIndex) {
if (this.selectedIndex < 0)
return;
let field = this.view.state.field(lintState);
let selection = findDiagnostic(field.diagnostics, this.items[selectedIndex].diagnostic);
if (!selection)
return;
this.view.dispatch({
selection: { anchor: selection.from, head: selection.to },
scrollIntoView: true,
effects: movePanelSelection.of(selection)
});
}
static open(view) {
return new _LintPanel(view);
}
};
function svg(content, attrs = `viewBox="0 0 40 40"`) {
return `url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" ${attrs}>${encodeURIComponent(content)}</svg>')`;
}
function underline(color) {
return svg(`<path d="m0 2.5 l2 -1.5 l1 0 l2 1.5 l1 0" stroke="${color}" fill="none" stroke-width=".7"/>`, `width="6" height="3"`);
}
var baseTheme = EditorView.baseTheme({
".cm-diagnostic": {
padding: "3px 6px 3px 8px",
marginLeft: "-1px",
display: "block",
whiteSpace: "pre-wrap"
},
".cm-diagnostic-error": { borderLeft: "5px solid #d11" },
".cm-diagnostic-warning": { borderLeft: "5px solid orange" },
".cm-diagnostic-info": { borderLeft: "5px solid #999" },
".cm-diagnostic-hint": { borderLeft: "5px solid #66d" },
".cm-diagnosticAction": {
font: "inherit",
border: "none",
padding: "2px 4px",
backgroundColor: "#444",
color: "white",
borderRadius: "3px",
marginLeft: "8px",
cursor: "pointer"
},
".cm-diagnosticSource": {
fontSize: "70%",
opacity: 0.7
},
".cm-lintRange": {
backgroundPosition: "left bottom",
backgroundRepeat: "repeat-x",
paddingBottom: "0.7px"
},
".cm-lintRange-error": { backgroundImage: underline("#d11") },
".cm-lintRange-warning": { backgroundImage: underline("orange") },
".cm-lintRange-info": { backgroundImage: underline("#999") },
".cm-lintRange-hint": { backgroundImage: underline("#66d") },
".cm-lintRange-active": { backgroundColor: "#ffdd9980" },
".cm-tooltip-lint": {
padding: 0,
margin: 0
},
".cm-lintPoint": {
position: "relative",
"&:after": {
content: '""',
position: "absolute",
bottom: 0,
left: "-2px",
borderLeft: "3px solid transparent",
borderRight: "3px solid transparent",
borderBottom: "4px solid #d11"
}
},
".cm-lintPoint-warning": {
"&:after": { borderBottomColor: "orange" }
},
".cm-lintPoint-info": {
"&:after": { borderBottomColor: "#999" }
},
".cm-lintPoint-hint": {
"&:after": { borderBottomColor: "#66d" }
},
".cm-panel.cm-panel-lint": {
position: "relative",
"& ul": {
maxHeight: "100px",
overflowY: "auto",
"& [aria-selected]": {
backgroundColor: "#ddd",
"& u": { textDecoration: "underline" }
},
"&:focus [aria-selected]": {
background_fallback: "#bdf",
backgroundColor: "Highlight",
color_fallback: "white",
color: "HighlightText"
},
"& u": { textDecoration: "none" },
padding: 0,
margin: 0
},
"& [name=close]": {
position: "absolute",
top: "0",
right: "2px",
background: "inherit",
border: "none",
font: "inherit",
padding: 0,
margin: 0
}
}
});
function severityWeight(sev) {
return sev == "error" ? 4 : sev == "warning" ? 3 : sev == "info" ? 2 : 1;
}
var LintGutterMarker = class extends GutterMarker {
constructor(diagnostics) {
super();
this.diagnostics = diagnostics;
this.severity = diagnostics.reduce((max, d) => severityWeight(max) < severityWeight(d.severity) ? d.severity : max, "hint");
}
toDOM(view) {
let elt = document.createElement("div");
elt.className = "cm-lint-marker cm-lint-marker-" + this.severity;
let diagnostics = this.diagnostics;
let diagnosticsFilter = view.state.facet(lintGutterConfig).tooltipFilter;
if (diagnosticsFilter)
diagnostics = diagnosticsFilter(diagnostics);
if (diagnostics.length)
elt.onmouseover = () => gutterMarkerMouseOver(view, elt, diagnostics);
return elt;
}
};
function trackHoverOn(view, marker) {
let mousemove = (event) => {
let rect = marker.getBoundingClientRect();
if (event.clientX > rect.left - 10 && event.clientX < rect.right + 10 && event.clientY > rect.top - 10 && event.clientY < rect.bottom + 10)
return;
for (let target = event.target; target; target = target.parentNode) {
if (target.nodeType == 1 && target.classList.contains("cm-tooltip-lint"))
return;
}
window.removeEventListener("mousemove", mousemove);
if (view.state.field(lintGutterTooltip))
view.dispatch({ effects: setLintGutterTooltip.of(null) });
};
window.addEventListener("mousemove", mousemove);
}
function gutterMarkerMouseOver(view, marker, diagnostics) {
function hovered() {
let line = view.elementAtHeight(marker.getBoundingClientRect().top + 5 - view.documentTop);
const linePos = view.coordsAtPos(line.from);
if (linePos) {
view.dispatch({ effects: setLintGutterTooltip.of({
pos: line.from,
above: false,
create() {
return {
dom: diagnosticsTooltip(view, diagnostics),
getCoords: () => marker.getBoundingClientRect()
};
}
}) });
}
marker.onmouseout = marker.onmousemove = null;
trackHoverOn(view, marker);
}
let { hoverTime } = view.state.facet(lintGutterConfig);
let hoverTimeout = setTimeout(hovered, hoverTime);
marker.onmouseout = () => {
clearTimeout(hoverTimeout);
marker.onmouseout = marker.onmousemove = null;
};
marker.onmousemove = () => {
clearTimeout(hoverTimeout);
hoverTimeout = setTimeout(hovered, hoverTime);
};
}
function markersForDiagnostics(doc, diagnostics) {
let byLine = /* @__PURE__ */ Object.create(null);
for (let diagnostic of diagnostics) {
let line = doc.lineAt(diagnostic.from);
(byLine[line.from] || (byLine[line.from] = [])).push(diagnostic);
}
let markers = [];
for (let line in byLine) {
markers.push(new LintGutterMarker(byLine[line]).range(+line));
}
return RangeSet.of(markers, true);
}
var lintGutterExtension = gutter({
class: "cm-gutter-lint",
markers: (view) => view.state.field(lintGutterMarkers)
});
var lintGutterMarkers = StateField.define({
create() {
return RangeSet.empty;
},
update(markers, tr) {
markers = markers.map(tr.changes);
let diagnosticFilter = tr.state.facet(lintGutterConfig).markerFilter;
for (let effect of tr.effects) {
if (effect.is(setDiagnosticsEffect)) {
let diagnostics = effect.value;
if (diagnosticFilter)
diagnostics = diagnosticFilter(diagnostics || []);
markers = markersForDiagnostics(tr.state.doc, diagnostics.slice(0));
}
}
return markers;
}
});
var setLintGutterTooltip = StateEffect.define();
var lintGutterTooltip = StateField.define({
create() {
return null;
},
update(tooltip, tr) {
if (tooltip && tr.docChanged)
tooltip = hideTooltip(tr, tooltip) ? null : Object.assign(Object.assign({}, tooltip), { pos: tr.changes.mapPos(tooltip.pos) });
return tr.effects.reduce((t, e) => e.is(setLintGutterTooltip) ? e.value : t, tooltip);
},
provide: (field) => showTooltip.from(field)
});
var lintGutterTheme = EditorView.baseTheme({
".cm-gutter-lint": {
width: "1.4em",
"& .cm-gutterElement": {
padding: ".2em"
}
},
".cm-lint-marker": {
width: "1em",
height: "1em"
},
".cm-lint-marker-info": {
content: svg(`<path fill="#aaf" stroke="#77e" stroke-width="6" stroke-linejoin="round" d="M5 5L35 5L35 35L5 35Z"/>`)
},
".cm-lint-marker-warning": {
content: svg(`<path fill="#fe8" stroke="#fd7" stroke-width="6" stroke-linejoin="round" d="M20 6L37 35L3 35Z"/>`)
},
".cm-lint-marker-error": {
content: svg(`<circle cx="20" cy="20" r="15" fill="#f87" stroke="#f43" stroke-width="6"/>`)
}
});
var lintExtensions = [
lintState,
EditorView.decorations.compute([lintState], (state) => {
let { selected, panel } = state.field(lintState);
return !selected || !panel || selected.from == selected.to ? Decoration.none : Decoration.set([
activeMark.range(selected.from, selected.to)
]);
}),
hoverTooltip(lintTooltip, { hideOn: hideTooltip }),
baseTheme
];
var lintGutterConfig = Facet.define({
combine(configs) {
return combineConfig(configs, {
hoverTime: 300,
markerFilter: null,
tooltipFilter: null
});
}
});
function lintGutter(config = {}) {
return [lintGutterConfig.of(config), lintGutterMarkers, lintGutterExtension, lintGutterTheme, lintGutterTooltip];
}
function forEachDiagnostic(state, f) {
let lState = state.field(lintState, false);
if (lState && lState.diagnostics.size)
for (let iter = RangeSet.iter([lState.diagnostics]); iter.value; iter.next())
f(iter.value.spec.diagnostic, iter.from, iter.to);
}
export {
setDiagnostics,
setDiagnosticsEffect,
diagnosticCount,
openLintPanel,
closeLintPanel,
nextDiagnostic,
previousDiagnostic,
lintKeymap,
linter,
forceLinting,
lintGutter,
forEachDiagnostic
};
//# sourceMappingURL=chunk-P2DAGASU.js.map

7
node_modules/.vite/deps/chunk-P2DAGASU.js.map generated vendored Normal file

File diff suppressed because one or more lines are too long

1281
node_modules/.vite/deps/chunk-TRAAS4SM.js generated vendored Normal file

File diff suppressed because it is too large Load Diff

7
node_modules/.vite/deps/chunk-TRAAS4SM.js.map generated vendored Normal file

File diff suppressed because one or more lines are too long

1876
node_modules/.vite/deps/chunk-UFI6XSZR.js generated vendored Normal file

File diff suppressed because it is too large Load Diff

7
node_modules/.vite/deps/chunk-UFI6XSZR.js.map generated vendored Normal file

File diff suppressed because one or more lines are too long

89
node_modules/.vite/deps/codemirror.js generated vendored Normal file
View File

@ -0,0 +1,89 @@
import {
defaultKeymap,
history,
historyKeymap
} from "./chunk-TRAAS4SM.js";
import {
autocompletion,
closeBrackets,
closeBracketsKeymap,
completionKeymap
} from "./chunk-UFI6XSZR.js";
import {
bracketMatching,
defaultHighlightStyle,
foldGutter,
foldKeymap,
indentOnInput,
syntaxHighlighting
} from "./chunk-D63OSQ34.js";
import {
lintKeymap
} from "./chunk-P2DAGASU.js";
import {
highlightSelectionMatches,
searchKeymap
} from "./chunk-JOEDLCIZ.js";
import "./chunk-B45MRPPJ.js";
import {
EditorView,
crosshairCursor,
drawSelection,
dropCursor,
highlightActiveLine,
highlightActiveLineGutter,
highlightSpecialChars,
keymap,
lineNumbers,
rectangularSelection
} from "./chunk-LORPBXGU.js";
import {
EditorState
} from "./chunk-MKFMOIK6.js";
import "./chunk-BSVZPYOD.js";
// node_modules/codemirror/dist/index.js
var basicSetup = (() => [
lineNumbers(),
highlightActiveLineGutter(),
highlightSpecialChars(),
history(),
foldGutter(),
drawSelection(),
dropCursor(),
EditorState.allowMultipleSelections.of(true),
indentOnInput(),
syntaxHighlighting(defaultHighlightStyle, { fallback: true }),
bracketMatching(),
closeBrackets(),
autocompletion(),
rectangularSelection(),
crosshairCursor(),
highlightActiveLine(),
highlightSelectionMatches(),
keymap.of([
...closeBracketsKeymap,
...defaultKeymap,
...searchKeymap,
...historyKeymap,
...foldKeymap,
...completionKeymap,
...lintKeymap
])
])();
var minimalSetup = (() => [
highlightSpecialChars(),
history(),
drawSelection(),
syntaxHighlighting(defaultHighlightStyle, { fallback: true }),
keymap.of([
...defaultKeymap,
...historyKeymap
])
])();
export {
EditorView,
basicSetup,
minimalSetup
};
//# sourceMappingURL=codemirror.js.map

7
node_modules/.vite/deps/codemirror.js.map generated vendored Normal file
View File

@ -0,0 +1,7 @@
{
"version": 3,
"sources": ["../../codemirror/dist/index.js"],
"sourcesContent": ["import { lineNumbers, highlightActiveLineGutter, highlightSpecialChars, drawSelection, dropCursor, rectangularSelection, crosshairCursor, highlightActiveLine, keymap } from '@codemirror/view';\nexport { EditorView } from '@codemirror/view';\nimport { EditorState } from '@codemirror/state';\nimport { foldGutter, indentOnInput, syntaxHighlighting, defaultHighlightStyle, bracketMatching, foldKeymap } from '@codemirror/language';\nimport { history, defaultKeymap, historyKeymap } from '@codemirror/commands';\nimport { highlightSelectionMatches, searchKeymap } from '@codemirror/search';\nimport { closeBrackets, autocompletion, closeBracketsKeymap, completionKeymap } from '@codemirror/autocomplete';\nimport { lintKeymap } from '@codemirror/lint';\n\n// (The superfluous function calls around the list of extensions work\n// around current limitations in tree-shaking software.)\n/**\nThis is an extension value that just pulls together a number of\nextensions that you might want in a basic editor. It is meant as a\nconvenient helper to quickly set up CodeMirror without installing\nand importing a lot of separate packages.\n\nSpecifically, it includes...\n\n - [the default command bindings](https://codemirror.net/6/docs/ref/#commands.defaultKeymap)\n - [line numbers](https://codemirror.net/6/docs/ref/#view.lineNumbers)\n - [special character highlighting](https://codemirror.net/6/docs/ref/#view.highlightSpecialChars)\n - [the undo history](https://codemirror.net/6/docs/ref/#commands.history)\n - [a fold gutter](https://codemirror.net/6/docs/ref/#language.foldGutter)\n - [custom selection drawing](https://codemirror.net/6/docs/ref/#view.drawSelection)\n - [drop cursor](https://codemirror.net/6/docs/ref/#view.dropCursor)\n - [multiple selections](https://codemirror.net/6/docs/ref/#state.EditorState^allowMultipleSelections)\n - [reindentation on input](https://codemirror.net/6/docs/ref/#language.indentOnInput)\n - [the default highlight style](https://codemirror.net/6/docs/ref/#language.defaultHighlightStyle) (as fallback)\n - [bracket matching](https://codemirror.net/6/docs/ref/#language.bracketMatching)\n - [bracket closing](https://codemirror.net/6/docs/ref/#autocomplete.closeBrackets)\n - [autocompletion](https://codemirror.net/6/docs/ref/#autocomplete.autocompletion)\n - [rectangular selection](https://codemirror.net/6/docs/ref/#view.rectangularSelection) and [crosshair cursor](https://codemirror.net/6/docs/ref/#view.crosshairCursor)\n - [active line highlighting](https://codemirror.net/6/docs/ref/#view.highlightActiveLine)\n - [active line gutter highlighting](https://codemirror.net/6/docs/ref/#view.highlightActiveLineGutter)\n - [selection match highlighting](https://codemirror.net/6/docs/ref/#search.highlightSelectionMatches)\n - [search](https://codemirror.net/6/docs/ref/#search.searchKeymap)\n - [linting](https://codemirror.net/6/docs/ref/#lint.lintKeymap)\n\n(You'll probably want to add some language package to your setup\ntoo.)\n\nThis extension does not allow customization. The idea is that,\nonce you decide you want to configure your editor more precisely,\nyou take this package's source (which is just a bunch of imports\nand an array literal), copy it into your own code, and adjust it\nas desired.\n*/\nconst basicSetup = /*@__PURE__*/(() => [\n lineNumbers(),\n highlightActiveLineGutter(),\n highlightSpecialChars(),\n history(),\n foldGutter(),\n drawSelection(),\n dropCursor(),\n EditorState.allowMultipleSelections.of(true),\n indentOnInput(),\n syntaxHighlighting(defaultHighlightStyle, { fallback: true }),\n bracketMatching(),\n closeBrackets(),\n autocompletion(),\n rectangularSelection(),\n crosshairCursor(),\n highlightActiveLine(),\n highlightSelectionMatches(),\n keymap.of([\n ...closeBracketsKeymap,\n ...defaultKeymap,\n ...searchKeymap,\n ...historyKeymap,\n ...foldKeymap,\n ...completionKeymap,\n ...lintKeymap\n ])\n])();\n/**\nA minimal set of extensions to create a functional editor. Only\nincludes [the default keymap](https://codemirror.net/6/docs/ref/#commands.defaultKeymap), [undo\nhistory](https://codemirror.net/6/docs/ref/#commands.history), [special character\nhighlighting](https://codemirror.net/6/docs/ref/#view.highlightSpecialChars), [custom selection\ndrawing](https://codemirror.net/6/docs/ref/#view.drawSelection), and [default highlight\nstyle](https://codemirror.net/6/docs/ref/#language.defaultHighlightStyle).\n*/\nconst minimalSetup = /*@__PURE__*/(() => [\n highlightSpecialChars(),\n history(),\n drawSelection(),\n syntaxHighlighting(defaultHighlightStyle, { fallback: true }),\n keymap.of([\n ...defaultKeymap,\n ...historyKeymap,\n ])\n])();\n\nexport { basicSetup, minimalSetup };\n"],
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgDA,IAAM,cAA2B,MAAM;AAAA,EACnC,YAAY;AAAA,EACZ,0BAA0B;AAAA,EAC1B,sBAAsB;AAAA,EACtB,QAAQ;AAAA,EACR,WAAW;AAAA,EACX,cAAc;AAAA,EACd,WAAW;AAAA,EACX,YAAY,wBAAwB,GAAG,IAAI;AAAA,EAC3C,cAAc;AAAA,EACd,mBAAmB,uBAAuB,EAAE,UAAU,KAAK,CAAC;AAAA,EAC5D,gBAAgB;AAAA,EAChB,cAAc;AAAA,EACd,eAAe;AAAA,EACf,qBAAqB;AAAA,EACrB,gBAAgB;AAAA,EAChB,oBAAoB;AAAA,EACpB,0BAA0B;AAAA,EAC1B,OAAO,GAAG;AAAA,IACN,GAAG;AAAA,IACH,GAAG;AAAA,IACH,GAAG;AAAA,IACH,GAAG;AAAA,IACH,GAAG;AAAA,IACH,GAAG;AAAA,IACH,GAAG;AAAA,EACP,CAAC;AACL,GAAG;AASH,IAAM,gBAA6B,MAAM;AAAA,EACrC,sBAAsB;AAAA,EACtB,QAAQ;AAAA,EACR,cAAc;AAAA,EACd,mBAAmB,uBAAuB,EAAE,UAAU,KAAK,CAAC;AAAA,EAC5D,OAAO,GAAG;AAAA,IACN,GAAG;AAAA,IACH,GAAG;AAAA,EACP,CAAC;AACL,GAAG;",
"names": []
}

3
node_modules/.vite/deps/package.json generated vendored Normal file
View File

@ -0,0 +1,3 @@
{
"type": "module"
}

112
node_modules/.vite/deps/zzfx.js generated vendored Normal file
View File

@ -0,0 +1,112 @@
// node_modules/zzfx/ZzFX.js
function zzfx(...parameters) {
return ZZFX.play(...parameters);
}
var ZZFX = {
// master volume scale
volume: 0.3,
// sample rate for audio
sampleRate: 44100,
// create shared audio context
x: new AudioContext(),
// play a sound from zzfx paramerters
play: function(...parameters) {
return this.playSamples(this.buildSamples(...parameters));
},
// play an array of samples
playSamples: function(...samples) {
const buffer = this.x.createBuffer(samples.length, samples[0].length, this.sampleRate), source = this.x.createBufferSource();
samples.map((d, i) => buffer.getChannelData(i).set(d));
source.buffer = buffer;
source.connect(this.x.destination);
source.start();
return source;
},
// build an array of samples
buildSamples: function(volume = 1, randomness = 0.05, frequency = 220, attack = 0, sustain = 0, release = 0.1, shape = 0, shapeCurve = 1, slide = 0, deltaSlide = 0, pitchJump = 0, pitchJumpTime = 0, repeatTime = 0, noise = 0, modulation = 0, bitCrush = 0, delay = 0, sustainVolume = 1, decay = 0, tremolo = 0) {
let PI2 = Math.PI * 2, sampleRate = this.sampleRate, sign = (v) => v > 0 ? 1 : -1, startSlide = slide *= 500 * PI2 / sampleRate / sampleRate, startFrequency = frequency *= (1 + randomness * 2 * Math.random() - randomness) * PI2 / sampleRate, b = [], t = 0, tm = 0, i = 0, j = 1, r = 0, c = 0, s = 0, f, length;
attack = attack * sampleRate + 9;
decay *= sampleRate;
sustain *= sampleRate;
release *= sampleRate;
delay *= sampleRate;
deltaSlide *= 500 * PI2 / sampleRate ** 3;
modulation *= PI2 / sampleRate;
pitchJump *= PI2 / sampleRate;
pitchJumpTime *= sampleRate;
repeatTime = repeatTime * sampleRate | 0;
for (length = attack + decay + sustain + release + delay | 0; i < length; b[i++] = s) {
if (!(++c % (bitCrush * 100 | 0))) {
s = shape ? shape > 1 ? shape > 2 ? shape > 3 ? (
// wave shape
Math.sin((t % PI2) ** 3)
) : (
// 4 noise
Math.max(Math.min(Math.tan(t), 1), -1)
) : (
// 3 tan
1 - (2 * t / PI2 % 2 + 2) % 2
) : (
// 2 saw
1 - 4 * Math.abs(Math.round(t / PI2) - t / PI2)
) : (
// 1 triangle
Math.sin(t)
);
s = (repeatTime ? 1 - tremolo + tremolo * Math.sin(PI2 * i / repeatTime) : 1) * sign(s) * Math.abs(s) ** shapeCurve * // curve 0=square, 2=pointy
volume * this.volume * // envelope
(i < attack ? i / attack : (
// attack
i < attack + decay ? (
// decay
1 - (i - attack) / decay * (1 - sustainVolume)
) : (
// decay falloff
i < attack + decay + sustain ? (
// sustain
sustainVolume
) : (
// sustain volume
i < length - delay ? (
// release
(length - i - delay) / release * // release falloff
sustainVolume
) : (
// release volume
0
)
)
)
));
s = delay ? s / 2 + (delay > i ? 0 : (
// delay
(i < length - delay ? 1 : (length - i) / delay) * // release delay
b[i - delay | 0] / 2
)) : s;
}
f = (frequency += slide += deltaSlide) * // frequency
Math.cos(modulation * tm++);
t += f - f * noise * (1 - (Math.sin(i) + 1) * 1e9 % 2);
if (j && ++j > pitchJumpTime) {
frequency += pitchJump;
startFrequency += pitchJump;
j = 0;
}
if (repeatTime && !(++r % repeatTime)) {
frequency = startFrequency;
slide = startSlide;
j || (j = 1);
}
}
return b;
},
// get frequency of a musical note on a diatonic scale
getNote: function(semitoneOffset = 0, rootNoteFrequency = 440) {
return rootNoteFrequency * 2 ** (semitoneOffset / 12);
}
};
export {
ZZFX,
zzfx
};
//# sourceMappingURL=zzfx.js.map

7
node_modules/.vite/deps/zzfx.js.map generated vendored Normal file

File diff suppressed because one or more lines are too long