diff --git a/v3.4.8/2e8155b35b61d89cef79.json b/v3.4.8/2e8155b35b61d89cef79.json
new file mode 100644
index 0000000..7f419fd
--- /dev/null
+++ b/v3.4.8/2e8155b35b61d89cef79.json
@@ -0,0 +1,41 @@
+{
+ "$schema": "https://json.schemastore.org/web-manifest-combined.json",
+ "name": "Vyxal 3",
+ "icons": [
+ {
+ "src": "pwa/logos/logo-16.png",
+ "purpose": "maskable",
+ "sizes": "16x16"
+ },
+ {
+ "src": "pwa/logos/logo-32.png",
+ "purpose": "maskable",
+ "sizes": "32x32"
+ },
+ {
+ "src": "pwa/logos/logo-64.png",
+ "purpose": "maskable",
+ "sizes": "64x64"
+ },
+ {
+ "src": "pwa/logos/logo-256.png",
+ "purpose": "any",
+ "sizes": "256x256"
+ }
+ ],
+ "screenshots": [
+ {
+ "form_factor": "narrow",
+ "src": "pwa/screenshot-narrow.png"
+ },
+ {
+ "form_factor": "wide",
+ "src": "pwa/screenshot-wide.png"
+ }
+ ],
+ "start_url": "/latest.html",
+ "display": "fullscreen",
+ "description": "The Vyxal 3 web interpreter, now as an app!",
+ "background_color": "#3c4043",
+ "theme_color": "#26b4d1"
+}
\ No newline at end of file
diff --git a/v3.4.8/favicon.ico b/v3.4.8/favicon.ico
new file mode 100644
index 0000000..b52a84e
Binary files /dev/null and b/v3.4.8/favicon.ico differ
diff --git a/v3.4.8/fonts/bootstrap-icons.woff b/v3.4.8/fonts/bootstrap-icons.woff
new file mode 100644
index 0000000..51204d2
Binary files /dev/null and b/v3.4.8/fonts/bootstrap-icons.woff differ
diff --git a/v3.4.8/fonts/bootstrap-icons.woff2 b/v3.4.8/fonts/bootstrap-icons.woff2
new file mode 100644
index 0000000..92c4830
Binary files /dev/null and b/v3.4.8/fonts/bootstrap-icons.woff2 differ
diff --git a/v3.4.8/img/logo-64.png b/v3.4.8/img/logo-64.png
new file mode 100644
index 0000000..0f67e6e
Binary files /dev/null and b/v3.4.8/img/logo-64.png differ
diff --git a/v3.4.8/index.html b/v3.4.8/index.html
new file mode 100644
index 0000000..807e8a3
--- /dev/null
+++ b/v3.4.8/index.html
@@ -0,0 +1,42 @@
+
+
+
+
+
+
+
+
+
+
+
+ Vyxal 3
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/v3.4.8/maps/969.c73e7331.js.map b/v3.4.8/maps/969.c73e7331.js.map
new file mode 100644
index 0000000..864d077
--- /dev/null
+++ b/v3.4.8/maps/969.c73e7331.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"scripts/969.c73e7331.js","mappings":"uJAMWA,EAA6B,CACtCC,WAAY,OACZC,WAAY,UACZC,UAAW,UACXC,eAAgB,UAChBC,iBAAkB,OAClBC,iBAAkB,WAETC,EAAmB,CAAC,CAC7BC,IAAK,CAAC,KAAEC,SAAS,KAAEC,SAAU,KAAEA,SAC/BC,MAAO,WACN,CACDH,IAAK,CAAC,KAAEI,QAAS,KAAEC,SACnBF,MAAO,WACN,CACDH,IAAK,CAAC,KAAEM,UAAW,KAAEC,cACrBJ,MAAO,WACN,CACDH,IAAK,CAAC,KAAEQ,aAAc,KAAEC,cAAe,KAAEC,OAAQ,KAAEC,UACnDR,MAAO,WACN,CACDH,IAAK,CAAC,KAAEY,QAAS,KAAEC,SAAU,KAAEC,aAAc,KAAED,UAC/CV,MAAO,WACN,CACDH,IAAK,CAAC,KAAEe,OAAQ,KAAEC,KAAM,KAAEC,QAC1Bd,MAAO,WACN,CACDH,IAAK,CAAC,KAAEkB,KAAM,KAAEC,OAChBhB,MAAO,WACN,CACDH,IAAK,CAAC,KAAEoB,QAAS,KAAEC,QACnBlB,MAAO,UACPmB,WAAY,QACX,CACDtB,IAAK,CAAC,KAAEuB,UACRpB,MAAO,UACPqB,UAAW,UACV,CACDxB,IAAK,CAAC,KAAEyB,SACRtB,MAAO,UACPuB,gBAAiB,UAChB,CACD1B,IAAK,CAAC,KAAE2B,KAAM,KAAEC,KAAM,KAAEC,QAAQ,KAAErB,eAClCL,MAAO,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,UAC9DC,EAAyB,oBAAbF,WAA4B,gDAAgD/C,KAAK+C,UAAUG,WAGlGpF,EAAI,EAAGA,EAAI,GAAIA,IAAK8E,EAAK,GAAK9E,GAAK8E,EAAK,GAAK9E,GAAKqF,OAAOrF,GAGlE,IAASA,EAAI,EAAGA,GAAK,GAAIA,IAAK8E,EAAK9E,EAAI,KAAO,IAAMA,EAGpD,IAASA,EAAI,GAAIA,GAAK,GAAIA,IACxB8E,EAAK9E,GAAKqF,OAAOC,aAAatF,EAAI,IAClC+E,EAAM/E,GAAKqF,OAAOC,aAAatF,GAIjC,IAAK,IAAIuF,KAAQT,EAAWC,EAAM3E,eAAemF,KAAOR,EAAMQ,GAAQT,EAAKS,IAEpE,SAASC,EAAQC,GAGtB,IAGIvY,IAHY8X,GAAOS,EAAMC,SAAWD,EAAME,WAAaF,EAAMG,UAAYH,EAAMI,QAC/EV,GAAMM,EAAME,UAAYF,EAAMK,KAA2B,GAApBL,EAAMK,IAAItN,QAClC,gBAAbiN,EAAMK,MACgBL,EAAMK,MAC7BL,EAAME,SAAWZ,EAAQD,GAAMW,EAAMM,UACtCN,EAAMK,KAAO,eASf,MAPY,OAAR5Y,IAAeA,EAAO,UACd,OAARA,IAAeA,EAAO,UAEd,QAARA,IAAgBA,EAAO,aACf,MAARA,IAAcA,EAAO,WACb,SAARA,IAAiBA,EAAO,cAChB,QAARA,IAAgBA,EAAO,aACpBA,CACT,C","sources":["webpack:///./node_modules/@uiw/codemirror-theme-github/esm/index.js","webpack:///./node_modules/@uiw/codemirror-theme-vscode/esm/light.js","webpack:///./node_modules/@uiw/codemirror-theme-vscode/esm/dark.js","webpack:///./node_modules/@uiw/codemirror-themes/esm/index.js","webpack:///./node_modules/@uiw/codemirror-extensions-basic-setup/esm/index.js","webpack:///./node_modules/@codemirror/theme-one-dark/dist/index.js","webpack:///./node_modules/@uiw/react-codemirror/esm/theme/light.js","webpack:///./node_modules/@uiw/react-codemirror/esm/useCodeMirror.js","webpack:///./node_modules/@uiw/react-codemirror/esm/utils.js","webpack:///./node_modules/@uiw/react-codemirror/esm/getDefaultExtensions.js","webpack:///./node_modules/@uiw/react-codemirror/esm/index.js","webpack:///./node_modules/react-bootstrap/esm/createUtilityClasses.js","webpack:///./node_modules/react-bootstrap/esm/Stack.js","webpack:///./node_modules/react-error-boundary/dist/react-error-boundary.esm.js","webpack:///./node_modules/codemirror/dist/index.js","webpack:///./node_modules/crelt/index.js","webpack:///./node_modules/style-mod/src/style-mod.js","webpack:///./node_modules/w3c-keyname/index.js"],"sourcesContent":["import _extends from \"@babel/runtime/helpers/extends\";\n/**\n * @name github\n */\nimport { tags as t } from '@lezer/highlight';\nimport { createTheme } from '@uiw/codemirror-themes';\nexport var defaultSettingsGithubLight = {\n background: '#fff',\n foreground: '#24292e',\n selection: '#BBDFFF',\n selectionMatch: '#BBDFFF',\n gutterBackground: '#fff',\n gutterForeground: '#6e7781'\n};\nexport var githubLightStyle = [{\n tag: [t.standard(t.tagName), t.tagName],\n color: '#116329'\n}, {\n tag: [t.comment, t.bracket],\n color: '#6a737d'\n}, {\n tag: [t.className, t.propertyName],\n color: '#6f42c1'\n}, {\n tag: [t.variableName, t.attributeName, t.number, t.operator],\n color: '#005cc5'\n}, {\n tag: [t.keyword, t.typeName, t.typeOperator, t.typeName],\n color: '#d73a49'\n}, {\n tag: [t.string, t.meta, t.regexp],\n color: '#032f62'\n}, {\n tag: [t.name, t.quote],\n color: '#22863a'\n}, {\n tag: [t.heading, t.strong],\n color: '#24292e',\n fontWeight: 'bold'\n}, {\n tag: [t.emphasis],\n color: '#24292e',\n fontStyle: 'italic'\n}, {\n tag: [t.deleted],\n color: '#b31d28',\n backgroundColor: 'ffeef0'\n}, {\n tag: [t.atom, t.bool, t.special(t.variableName)],\n color: '#e36209'\n}, {\n tag: [t.url, t.escape, t.regexp, t.link],\n color: '#032f62'\n}, {\n tag: t.link,\n textDecoration: 'underline'\n}, {\n tag: t.strikethrough,\n textDecoration: 'line-through'\n}, {\n tag: t.invalid,\n color: '#cb2431'\n}];\nexport var githubLightInit = options => {\n var {\n theme = 'light',\n settings = {},\n styles = []\n } = options || {};\n return createTheme({\n theme: theme,\n settings: _extends({}, defaultSettingsGithubLight, settings),\n styles: [...githubLightStyle, ...styles]\n });\n};\nexport var githubLight = githubLightInit();\nexport var defaultSettingsGithubDark = {\n background: '#0d1117',\n foreground: '#c9d1d9',\n caret: '#c9d1d9',\n selection: '#003d73',\n selectionMatch: '#003d73',\n lineHighlight: '#36334280'\n};\nexport var githubDarkStyle = [{\n tag: [t.standard(t.tagName), t.tagName],\n color: '#7ee787'\n}, {\n tag: [t.comment, t.bracket],\n color: '#8b949e'\n}, {\n tag: [t.className, t.propertyName],\n color: '#d2a8ff'\n}, {\n tag: [t.variableName, t.attributeName, t.number, t.operator],\n color: '#79c0ff'\n}, {\n tag: [t.keyword, t.typeName, t.typeOperator, t.typeName],\n color: '#ff7b72'\n}, {\n tag: [t.string, t.meta, t.regexp],\n color: '#a5d6ff'\n}, {\n tag: [t.name, t.quote],\n color: '#7ee787'\n}, {\n tag: [t.heading, t.strong],\n color: '#d2a8ff',\n fontWeight: 'bold'\n}, {\n tag: [t.emphasis],\n color: '#d2a8ff',\n fontStyle: 'italic'\n}, {\n tag: [t.deleted],\n color: '#ffdcd7',\n backgroundColor: 'ffeef0'\n}, {\n tag: [t.atom, t.bool, t.special(t.variableName)],\n color: '#ffab70'\n}, {\n tag: t.link,\n textDecoration: 'underline'\n}, {\n tag: t.strikethrough,\n textDecoration: 'line-through'\n}, {\n tag: t.invalid,\n color: '#f97583'\n}];\nexport var githubDarkInit = options => {\n var {\n theme = 'dark',\n settings = {},\n styles = []\n } = options || {};\n return createTheme({\n theme: theme,\n settings: _extends({}, defaultSettingsGithubDark, settings),\n styles: [...githubDarkStyle, ...styles]\n });\n};\nexport var githubDark = githubDarkInit();","import _extends from \"@babel/runtime/helpers/extends\";\n/**\n * https://github.com/uiwjs/react-codemirror/issues/409\n */\nimport { tags as t } from '@lezer/highlight';\nimport { createTheme } from '@uiw/codemirror-themes';\nexport var defaultSettingsVscodeLight = {\n background: '#ffffff',\n foreground: '#383a42',\n caret: '#000',\n selection: '#add6ff',\n selectionMatch: '#a8ac94',\n lineHighlight: '#f0f0f0',\n gutterBackground: '#fff',\n gutterForeground: '#237893',\n gutterActiveForeground: '#0b216f',\n fontFamily: 'Menlo, Monaco, Consolas, \"Andale Mono\", \"Ubuntu Mono\", \"Courier New\", monospace'\n};\nexport var vscodeLightStyle = [{\n tag: [t.keyword, t.operatorKeyword, t.modifier, t.color, t.constant(t.name), t.standard(t.name), t.standard(t.tagName), t.special(t.brace), t.atom, t.bool, t.special(t.variableName)],\n color: '#0000ff'\n}, {\n tag: [t.moduleKeyword, t.controlKeyword],\n color: '#af00db'\n}, {\n tag: [t.name, t.deleted, t.character, t.macroName, t.propertyName, t.variableName, t.labelName, t.definition(t.name)],\n color: '#0070c1'\n}, {\n tag: t.heading,\n fontWeight: 'bold',\n color: '#0070c1'\n}, {\n tag: [t.typeName, t.className, t.tagName, t.number, t.changed, t.annotation, t.self, t.namespace],\n color: '#267f99'\n}, {\n tag: [t.function(t.variableName), t.function(t.propertyName)],\n color: '#795e26'\n}, {\n tag: [t.number],\n color: '#098658'\n}, {\n tag: [t.operator, t.punctuation, t.separator, t.url, t.escape, t.regexp],\n color: '#383a42'\n}, {\n tag: [t.regexp],\n color: '#af00db'\n}, {\n tag: [t.special(t.string), t.processingInstruction, t.string, t.inserted],\n color: '#a31515'\n}, {\n tag: [t.angleBracket],\n color: '#383a42'\n}, {\n tag: t.strong,\n fontWeight: 'bold'\n}, {\n tag: t.emphasis,\n fontStyle: 'italic'\n}, {\n tag: t.strikethrough,\n textDecoration: 'line-through'\n}, {\n tag: [t.meta, t.comment],\n color: '#008000'\n}, {\n tag: t.link,\n color: '#4078f2',\n textDecoration: 'underline'\n}, {\n tag: t.invalid,\n color: '#e45649'\n}];\nexport function vscodeLightInit(options) {\n var {\n theme = 'dark',\n settings = {},\n styles = []\n } = options || {};\n return createTheme({\n theme: theme,\n settings: _extends({}, defaultSettingsVscodeLight, settings),\n styles: [...vscodeLightStyle, ...styles]\n });\n}\nexport var vscodeLight = vscodeLightInit();","import _extends from \"@babel/runtime/helpers/extends\";\n/**\n * https://github.com/uiwjs/react-codemirror/issues/409\n */\nimport { tags as t } from '@lezer/highlight';\nimport { createTheme } from '@uiw/codemirror-themes';\nexport var defaultSettingsVscodeDark = {\n background: '#1e1e1e',\n foreground: '#9cdcfe',\n caret: '#c6c6c6',\n selection: '#6199ff2f',\n selectionMatch: '#72a1ff59',\n lineHighlight: '#ffffff0f',\n gutterBackground: '#1e1e1e',\n gutterForeground: '#838383',\n gutterActiveForeground: '#fff',\n fontFamily: 'Menlo, Monaco, Consolas, \"Andale Mono\", \"Ubuntu Mono\", \"Courier New\", monospace'\n};\nexport var vscodeDarkStyle = [{\n tag: [t.keyword, t.operatorKeyword, t.modifier, t.color, t.constant(t.name), t.standard(t.name), t.standard(t.tagName), t.special(t.brace), t.atom, t.bool, t.special(t.variableName)],\n color: '#569cd6'\n}, {\n tag: [t.controlKeyword, t.moduleKeyword],\n color: '#c586c0'\n}, {\n tag: [t.name, t.deleted, t.character, t.macroName, t.propertyName, t.variableName, t.labelName, t.definition(t.name)],\n color: '#9cdcfe'\n}, {\n tag: t.heading,\n fontWeight: 'bold',\n color: '#9cdcfe'\n}, {\n tag: [t.typeName, t.className, t.tagName, t.number, t.changed, t.annotation, t.self, t.namespace],\n color: '#4ec9b0'\n}, {\n tag: [t.function(t.variableName), t.function(t.propertyName)],\n color: '#dcdcaa'\n}, {\n tag: [t.number],\n color: '#b5cea8'\n}, {\n tag: [t.operator, t.punctuation, t.separator, t.url, t.escape, t.regexp],\n color: '#d4d4d4'\n}, {\n tag: [t.regexp],\n color: '#d16969'\n}, {\n tag: [t.special(t.string), t.processingInstruction, t.string, t.inserted],\n color: '#ce9178'\n}, {\n tag: [t.angleBracket],\n color: '#808080'\n}, {\n tag: t.strong,\n fontWeight: 'bold'\n}, {\n tag: t.emphasis,\n fontStyle: 'italic'\n}, {\n tag: t.strikethrough,\n textDecoration: 'line-through'\n}, {\n tag: [t.meta, t.comment],\n color: '#6a9955'\n}, {\n tag: t.link,\n color: '#6a9955',\n textDecoration: 'underline'\n}, {\n tag: t.invalid,\n color: '#ff0000'\n}];\nexport function vscodeDarkInit(options) {\n var {\n theme = 'dark',\n settings = {},\n styles = []\n } = options || {};\n return createTheme({\n theme: theme,\n settings: _extends({}, defaultSettingsVscodeDark, settings),\n styles: [...vscodeDarkStyle, ...styles]\n });\n}\nexport var vscodeDark = vscodeDarkInit();","import { EditorView } from '@codemirror/view';\nimport { HighlightStyle, syntaxHighlighting } from '@codemirror/language';\nexport var createTheme = _ref => {\n var {\n theme,\n settings = {},\n styles = []\n } = _ref;\n var themeOptions = {\n '.cm-gutters': {}\n };\n var baseStyle = {};\n if (settings.background) {\n baseStyle.backgroundColor = settings.background;\n }\n if (settings.backgroundImage) {\n baseStyle.backgroundImage = settings.backgroundImage;\n }\n if (settings.foreground) {\n baseStyle.color = settings.foreground;\n }\n if (settings.fontSize) {\n baseStyle.fontSize = settings.fontSize;\n }\n if (settings.background || settings.foreground) {\n themeOptions['&'] = baseStyle;\n }\n if (settings.fontFamily) {\n themeOptions['&.cm-editor .cm-scroller'] = {\n fontFamily: settings.fontFamily\n };\n }\n if (settings.gutterBackground) {\n themeOptions['.cm-gutters'].backgroundColor = settings.gutterBackground;\n }\n if (settings.gutterForeground) {\n themeOptions['.cm-gutters'].color = settings.gutterForeground;\n }\n if (settings.gutterBorder) {\n themeOptions['.cm-gutters'].borderRightColor = settings.gutterBorder;\n }\n if (settings.caret) {\n themeOptions['.cm-content'] = {\n caretColor: settings.caret\n };\n themeOptions['.cm-cursor, .cm-dropCursor'] = {\n borderLeftColor: settings.caret\n };\n }\n var activeLineGutterStyle = {};\n if (settings.gutterActiveForeground) {\n activeLineGutterStyle.color = settings.gutterActiveForeground;\n }\n if (settings.lineHighlight) {\n themeOptions['.cm-activeLine'] = {\n backgroundColor: settings.lineHighlight\n };\n activeLineGutterStyle.backgroundColor = settings.lineHighlight;\n }\n themeOptions['.cm-activeLineGutter'] = activeLineGutterStyle;\n if (settings.selection) {\n themeOptions['&.cm-focused .cm-selectionBackground, & .cm-line::selection, & .cm-selectionLayer .cm-selectionBackground, .cm-content ::selection'] = {\n background: settings.selection + ' !important'\n };\n }\n if (settings.selectionMatch) {\n themeOptions['& .cm-selectionMatch'] = {\n backgroundColor: settings.selectionMatch\n };\n }\n var themeExtension = EditorView.theme(themeOptions, {\n dark: theme === 'dark'\n });\n var highlightStyle = HighlightStyle.define(styles);\n var extension = [themeExtension, syntaxHighlighting(highlightStyle)];\n return extension;\n};\nexport default createTheme;","import { lineNumbers, highlightActiveLineGutter, highlightSpecialChars, drawSelection, dropCursor, rectangularSelection, crosshairCursor, highlightActiveLine, keymap } from '@codemirror/view';\nimport { EditorState } from '@codemirror/state';\nimport { history, defaultKeymap, historyKeymap } from '@codemirror/commands';\nimport { highlightSelectionMatches, searchKeymap } from '@codemirror/search';\nimport { closeBrackets, autocompletion, closeBracketsKeymap, completionKeymap } from '@codemirror/autocomplete';\nimport { foldGutter, indentOnInput, syntaxHighlighting, defaultHighlightStyle, bracketMatching, indentUnit, foldKeymap } from '@codemirror/language';\nimport { lintKeymap } from '@codemirror/lint';\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*/\nexport var basicSetup = function basicSetup(options) {\n if (options === void 0) {\n options = {};\n }\n var {\n crosshairCursor: initCrosshairCursor = false\n } = options;\n var keymaps = [];\n if (options.closeBracketsKeymap !== false) {\n keymaps = keymaps.concat(closeBracketsKeymap);\n }\n if (options.defaultKeymap !== false) {\n keymaps = keymaps.concat(defaultKeymap);\n }\n if (options.searchKeymap !== false) {\n keymaps = keymaps.concat(searchKeymap);\n }\n if (options.historyKeymap !== false) {\n keymaps = keymaps.concat(historyKeymap);\n }\n if (options.foldKeymap !== false) {\n keymaps = keymaps.concat(foldKeymap);\n }\n if (options.completionKeymap !== false) {\n keymaps = keymaps.concat(completionKeymap);\n }\n if (options.lintKeymap !== false) {\n keymaps = keymaps.concat(lintKeymap);\n }\n var extensions = [];\n if (options.lineNumbers !== false) extensions.push(lineNumbers());\n if (options.highlightActiveLineGutter !== false) extensions.push(highlightActiveLineGutter());\n if (options.highlightSpecialChars !== false) extensions.push(highlightSpecialChars());\n if (options.history !== false) extensions.push(history());\n if (options.foldGutter !== false) extensions.push(foldGutter());\n if (options.drawSelection !== false) extensions.push(drawSelection());\n if (options.dropCursor !== false) extensions.push(dropCursor());\n if (options.allowMultipleSelections !== false) extensions.push(EditorState.allowMultipleSelections.of(true));\n if (options.indentOnInput !== false) extensions.push(indentOnInput());\n if (options.syntaxHighlighting !== false) extensions.push(syntaxHighlighting(defaultHighlightStyle, {\n fallback: true\n }));\n if (options.bracketMatching !== false) extensions.push(bracketMatching());\n if (options.closeBrackets !== false) extensions.push(closeBrackets());\n if (options.autocompletion !== false) extensions.push(autocompletion());\n if (options.rectangularSelection !== false) extensions.push(rectangularSelection());\n if (initCrosshairCursor !== false) extensions.push(crosshairCursor());\n if (options.highlightActiveLine !== false) extensions.push(highlightActiveLine());\n if (options.highlightSelectionMatches !== false) extensions.push(highlightSelectionMatches());\n if (options.tabSize && typeof options.tabSize === 'number') extensions.push(indentUnit.of(' '.repeat(options.tabSize)));\n return extensions.concat([keymap.of(keymaps.flat())]).filter(Boolean);\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*/\nexport var minimalSetup = function minimalSetup(options) {\n if (options === void 0) {\n options = {};\n }\n var keymaps = [];\n if (options.defaultKeymap !== false) {\n keymaps = keymaps.concat(defaultKeymap);\n }\n if (options.historyKeymap !== false) {\n keymaps = keymaps.concat(historyKeymap);\n }\n var extensions = [];\n if (options.highlightSpecialChars !== false) extensions.push(highlightSpecialChars());\n if (options.history !== false) extensions.push(history());\n if (options.drawSelection !== false) extensions.push(drawSelection());\n if (options.syntaxHighlighting !== false) extensions.push(syntaxHighlighting(defaultHighlightStyle, {\n fallback: true\n }));\n return extensions.concat([keymap.of(keymaps.flat())]).filter(Boolean);\n};","import { EditorView } from '@codemirror/view';\nimport { HighlightStyle, syntaxHighlighting } from '@codemirror/language';\nimport { tags } from '@lezer/highlight';\n\n// Using https://github.com/one-dark/vscode-one-dark-theme/ as reference for the colors\nconst chalky = \"#e5c07b\", coral = \"#e06c75\", cyan = \"#56b6c2\", invalid = \"#ffffff\", ivory = \"#abb2bf\", stone = \"#7d8799\", // Brightened compared to original to increase contrast\nmalibu = \"#61afef\", sage = \"#98c379\", whiskey = \"#d19a66\", violet = \"#c678dd\", darkBackground = \"#21252b\", highlightBackground = \"#2c313a\", background = \"#282c34\", tooltipBackground = \"#353a42\", selection = \"#3E4451\", cursor = \"#528bff\";\n/**\nThe colors used in the theme, as CSS color strings.\n*/\nconst color = {\n chalky,\n coral,\n cyan,\n invalid,\n ivory,\n stone,\n malibu,\n sage,\n whiskey,\n violet,\n darkBackground,\n highlightBackground,\n background,\n tooltipBackground,\n selection,\n cursor\n};\n/**\nThe editor theme styles for One Dark.\n*/\nconst oneDarkTheme = /*@__PURE__*/EditorView.theme({\n \"&\": {\n color: ivory,\n backgroundColor: background\n },\n \".cm-content\": {\n caretColor: cursor\n },\n \".cm-cursor, .cm-dropCursor\": { borderLeftColor: cursor },\n \"&.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground, .cm-selectionBackground, .cm-content ::selection\": { backgroundColor: selection },\n \".cm-panels\": { backgroundColor: darkBackground, color: ivory },\n \".cm-panels.cm-panels-top\": { borderBottom: \"2px solid black\" },\n \".cm-panels.cm-panels-bottom\": { borderTop: \"2px solid black\" },\n \".cm-searchMatch\": {\n backgroundColor: \"#72a1ff59\",\n outline: \"1px solid #457dff\"\n },\n \".cm-searchMatch.cm-searchMatch-selected\": {\n backgroundColor: \"#6199ff2f\"\n },\n \".cm-activeLine\": { backgroundColor: \"#6699ff0b\" },\n \".cm-selectionMatch\": { backgroundColor: \"#aafe661a\" },\n \"&.cm-focused .cm-matchingBracket, &.cm-focused .cm-nonmatchingBracket\": {\n backgroundColor: \"#bad0f847\"\n },\n \".cm-gutters\": {\n backgroundColor: background,\n color: stone,\n border: \"none\"\n },\n \".cm-activeLineGutter\": {\n backgroundColor: highlightBackground\n },\n \".cm-foldPlaceholder\": {\n backgroundColor: \"transparent\",\n border: \"none\",\n color: \"#ddd\"\n },\n \".cm-tooltip\": {\n border: \"none\",\n backgroundColor: tooltipBackground\n },\n \".cm-tooltip .cm-tooltip-arrow:before\": {\n borderTopColor: \"transparent\",\n borderBottomColor: \"transparent\"\n },\n \".cm-tooltip .cm-tooltip-arrow:after\": {\n borderTopColor: tooltipBackground,\n borderBottomColor: tooltipBackground\n },\n \".cm-tooltip-autocomplete\": {\n \"& > ul > li[aria-selected]\": {\n backgroundColor: highlightBackground,\n color: ivory\n }\n }\n}, { dark: true });\n/**\nThe highlighting style for code in the One Dark theme.\n*/\nconst oneDarkHighlightStyle = /*@__PURE__*/HighlightStyle.define([\n { tag: tags.keyword,\n color: violet },\n { tag: [tags.name, tags.deleted, tags.character, tags.propertyName, tags.macroName],\n color: coral },\n { tag: [/*@__PURE__*/tags.function(tags.variableName), tags.labelName],\n color: malibu },\n { tag: [tags.color, /*@__PURE__*/tags.constant(tags.name), /*@__PURE__*/tags.standard(tags.name)],\n color: whiskey },\n { tag: [/*@__PURE__*/tags.definition(tags.name), tags.separator],\n color: ivory },\n { tag: [tags.typeName, tags.className, tags.number, tags.changed, tags.annotation, tags.modifier, tags.self, tags.namespace],\n color: chalky },\n { tag: [tags.operator, tags.operatorKeyword, tags.url, tags.escape, tags.regexp, tags.link, /*@__PURE__*/tags.special(tags.string)],\n color: cyan },\n { tag: [tags.meta, tags.comment],\n color: stone },\n { tag: tags.strong,\n fontWeight: \"bold\" },\n { tag: tags.emphasis,\n fontStyle: \"italic\" },\n { tag: tags.strikethrough,\n textDecoration: \"line-through\" },\n { tag: tags.link,\n color: stone,\n textDecoration: \"underline\" },\n { tag: tags.heading,\n fontWeight: \"bold\",\n color: coral },\n { tag: [tags.atom, tags.bool, /*@__PURE__*/tags.special(tags.variableName)],\n color: whiskey },\n { tag: [tags.processingInstruction, tags.string, tags.inserted],\n color: sage },\n { tag: tags.invalid,\n color: invalid },\n]);\n/**\nExtension to enable the One Dark theme (both the editor theme and\nthe highlight style).\n*/\nconst oneDark = [oneDarkTheme, /*@__PURE__*/syntaxHighlighting(oneDarkHighlightStyle)];\n\nexport { color, oneDark, oneDarkHighlightStyle, oneDarkTheme };\n","import { EditorView } from '@codemirror/view';\nexport var defaultLightThemeOption = EditorView.theme({\n '&': {\n backgroundColor: '#fff'\n }\n}, {\n dark: false\n});","import { useEffect, useState } from 'react';\nimport { Annotation, EditorState, StateEffect } from '@codemirror/state';\nimport { EditorView } from '@codemirror/view';\nimport { getDefaultExtensions } from './getDefaultExtensions';\nimport { getStatistics } from './utils';\nvar External = Annotation.define();\nvar emptyExtensions = [];\nexport function useCodeMirror(props) {\n var {\n value,\n selection,\n onChange,\n onStatistics,\n onCreateEditor,\n onUpdate,\n extensions = emptyExtensions,\n autoFocus,\n theme = 'light',\n height = null,\n minHeight = null,\n maxHeight = null,\n width = null,\n minWidth = null,\n maxWidth = null,\n placeholder: placeholderStr = '',\n editable = true,\n readOnly = false,\n indentWithTab: defaultIndentWithTab = true,\n basicSetup: defaultBasicSetup = true,\n root,\n initialState\n } = props;\n var [container, setContainer] = useState();\n var [view, setView] = useState();\n var [state, setState] = useState();\n var defaultThemeOption = EditorView.theme({\n '&': {\n height,\n minHeight,\n maxHeight,\n width,\n minWidth,\n maxWidth\n },\n '& .cm-scroller': {\n height: '100% !important'\n }\n });\n var updateListener = EditorView.updateListener.of(vu => {\n if (vu.docChanged && typeof onChange === 'function' &&\n // Fix echoing of the remote changes:\n // If transaction is market as remote we don't have to call `onChange` handler again\n !vu.transactions.some(tr => tr.annotation(External))) {\n var doc = vu.state.doc;\n var _value = doc.toString();\n onChange(_value, vu);\n }\n onStatistics && onStatistics(getStatistics(vu));\n });\n var defaultExtensions = getDefaultExtensions({\n theme,\n editable,\n readOnly,\n placeholder: placeholderStr,\n indentWithTab: defaultIndentWithTab,\n basicSetup: defaultBasicSetup\n });\n var getExtensions = [updateListener, defaultThemeOption, ...defaultExtensions];\n if (onUpdate && typeof onUpdate === 'function') {\n getExtensions.push(EditorView.updateListener.of(onUpdate));\n }\n getExtensions = getExtensions.concat(extensions);\n useEffect(() => {\n if (container && !state) {\n var config = {\n doc: value,\n selection,\n extensions: getExtensions\n };\n var stateCurrent = initialState ? EditorState.fromJSON(initialState.json, config, initialState.fields) : EditorState.create(config);\n setState(stateCurrent);\n if (!view) {\n var viewCurrent = new EditorView({\n state: stateCurrent,\n parent: container,\n root\n });\n setView(viewCurrent);\n onCreateEditor && onCreateEditor(viewCurrent, stateCurrent);\n }\n }\n return () => {\n if (view) {\n setState(undefined);\n setView(undefined);\n }\n };\n }, [container, state]);\n useEffect(() => setContainer(props.container), [props.container]);\n useEffect(() => () => {\n if (view) {\n view.destroy();\n setView(undefined);\n }\n }, [view]);\n useEffect(() => {\n if (autoFocus && view) {\n view.focus();\n }\n }, [autoFocus, view]);\n useEffect(() => {\n if (view) {\n view.dispatch({\n effects: StateEffect.reconfigure.of(getExtensions)\n });\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [theme, extensions, height, minHeight, maxHeight, width, minWidth, maxWidth, placeholderStr, editable, readOnly, defaultIndentWithTab, defaultBasicSetup, onChange, onUpdate]);\n useEffect(() => {\n if (value === undefined) {\n return;\n }\n var currentValue = view ? view.state.doc.toString() : '';\n if (view && value !== currentValue) {\n view.dispatch({\n changes: {\n from: 0,\n to: currentValue.length,\n insert: value || ''\n },\n annotations: [External.of(true)]\n });\n }\n }, [value, view]);\n return {\n state,\n setState,\n view,\n setView,\n container,\n setContainer\n };\n}","export var getStatistics = view => {\n return {\n line: view.state.doc.lineAt(view.state.selection.main.from),\n lineCount: view.state.doc.lines,\n lineBreak: view.state.lineBreak,\n length: view.state.doc.length,\n readOnly: view.state.readOnly,\n tabSize: view.state.tabSize,\n selection: view.state.selection,\n selectionAsSingle: view.state.selection.asSingle().main,\n ranges: view.state.selection.ranges,\n selectionCode: view.state.sliceDoc(view.state.selection.main.from, view.state.selection.main.to),\n selections: view.state.selection.ranges.map(r => view.state.sliceDoc(r.from, r.to)),\n selectedText: view.state.selection.ranges.some(r => !r.empty)\n };\n};","import { indentWithTab } from '@codemirror/commands';\nimport { basicSetup } from '@uiw/codemirror-extensions-basic-setup';\nimport { EditorView, keymap, placeholder } from '@codemirror/view';\nimport { oneDark } from '@codemirror/theme-one-dark';\nimport { EditorState } from '@codemirror/state';\nimport { defaultLightThemeOption } from './theme/light';\nexport * from '@codemirror/theme-one-dark';\nexport * from './theme/light';\nexport var getDefaultExtensions = function getDefaultExtensions(optios) {\n if (optios === void 0) {\n optios = {};\n }\n var {\n indentWithTab: defaultIndentWithTab = true,\n editable = true,\n readOnly = false,\n theme = 'light',\n placeholder: placeholderStr = '',\n basicSetup: defaultBasicSetup = true\n } = optios;\n var getExtensions = [];\n if (defaultIndentWithTab) {\n getExtensions.unshift(keymap.of([indentWithTab]));\n }\n if (defaultBasicSetup) {\n if (typeof defaultBasicSetup === 'boolean') {\n getExtensions.unshift(basicSetup());\n } else {\n getExtensions.unshift(basicSetup(defaultBasicSetup));\n }\n }\n if (placeholderStr) {\n getExtensions.unshift(placeholder(placeholderStr));\n }\n switch (theme) {\n case 'light':\n getExtensions.push(defaultLightThemeOption);\n break;\n case 'dark':\n getExtensions.push(oneDark);\n break;\n case 'none':\n break;\n default:\n getExtensions.push(theme);\n break;\n }\n if (editable === false) {\n getExtensions.push(EditorView.editable.of(false));\n }\n if (readOnly) {\n getExtensions.push(EditorState.readOnly.of(true));\n }\n return [...getExtensions];\n};","import _extends from \"@babel/runtime/helpers/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/objectWithoutPropertiesLoose\";\nvar _excluded = [\"className\", \"value\", \"selection\", \"extensions\", \"onChange\", \"onStatistics\", \"onCreateEditor\", \"onUpdate\", \"autoFocus\", \"theme\", \"height\", \"minHeight\", \"maxHeight\", \"width\", \"minWidth\", \"maxWidth\", \"basicSetup\", \"placeholder\", \"indentWithTab\", \"editable\", \"readOnly\", \"root\", \"initialState\"];\nimport React, { useRef, forwardRef, useImperativeHandle } from 'react';\nimport { useCodeMirror } from './useCodeMirror';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport * from '@codemirror/view';\nexport * from '@codemirror/state';\nexport * from '@uiw/codemirror-extensions-basic-setup';\nexport * from './useCodeMirror';\nexport * from './getDefaultExtensions';\nexport * from './utils';\nvar ReactCodeMirror = /*#__PURE__*/forwardRef((props, ref) => {\n var {\n className,\n value = '',\n selection,\n extensions = [],\n onChange,\n onStatistics,\n onCreateEditor,\n onUpdate,\n autoFocus,\n theme = 'light',\n height,\n minHeight,\n maxHeight,\n width,\n minWidth,\n maxWidth,\n basicSetup,\n placeholder,\n indentWithTab,\n editable,\n readOnly,\n root,\n initialState\n } = props,\n other = _objectWithoutPropertiesLoose(props, _excluded);\n var editor = useRef(null);\n var {\n state,\n view,\n container\n } = useCodeMirror({\n container: editor.current,\n root,\n value,\n autoFocus,\n theme,\n height,\n minHeight,\n maxHeight,\n width,\n minWidth,\n maxWidth,\n basicSetup,\n placeholder,\n indentWithTab,\n editable,\n readOnly,\n selection,\n onChange,\n onStatistics,\n onCreateEditor,\n onUpdate,\n extensions,\n initialState\n });\n useImperativeHandle(ref, () => ({\n editor: editor.current,\n state: state,\n view: view\n }), [editor, container, state, view]);\n\n // check type of value\n if (typeof value !== 'string') {\n throw new Error(\"value must be typeof string but got \" + typeof value);\n }\n var defaultClassNames = typeof theme === 'string' ? \"cm-theme-\" + theme : 'cm-theme';\n return /*#__PURE__*/_jsx(\"div\", _extends({\n ref: editor,\n className: \"\" + defaultClassNames + (className ? \" \" + className : '')\n }, other));\n});\nReactCodeMirror.displayName = 'CodeMirror';\nexport default ReactCodeMirror;","import PropTypes from 'prop-types';\nimport { DEFAULT_BREAKPOINTS, DEFAULT_MIN_BREAKPOINT } from './ThemeProvider';\nexport function responsivePropType(propType) {\n return PropTypes.oneOfType([propType, PropTypes.shape({\n xs: propType,\n sm: propType,\n md: propType,\n lg: propType,\n xl: propType,\n xxl: propType\n })]);\n}\nexport default function createUtilityClassName(utilityValues, breakpoints = DEFAULT_BREAKPOINTS, minBreakpoint = DEFAULT_MIN_BREAKPOINT) {\n const classes = [];\n Object.entries(utilityValues).forEach(([utilName, utilValue]) => {\n if (utilValue != null) {\n if (typeof utilValue === 'object') {\n breakpoints.forEach(brkPoint => {\n const bpValue = utilValue[brkPoint];\n if (bpValue != null) {\n const infix = brkPoint !== minBreakpoint ? `-${brkPoint}` : '';\n classes.push(`${utilName}${infix}-${bpValue}`);\n }\n });\n } else {\n classes.push(`${utilName}-${utilValue}`);\n }\n }\n });\n return classes;\n}","\"use client\";\n\nimport classNames from 'classnames';\nimport * as React from 'react';\nimport { useBootstrapPrefix, useBootstrapBreakpoints, useBootstrapMinBreakpoint } from './ThemeProvider';\nimport createUtilityClassName, { responsivePropType } from './createUtilityClasses';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst Stack = /*#__PURE__*/React.forwardRef(({\n as: Component = 'div',\n bsPrefix,\n className,\n direction,\n gap,\n ...props\n}, ref) => {\n bsPrefix = useBootstrapPrefix(bsPrefix, direction === 'horizontal' ? 'hstack' : 'vstack');\n const breakpoints = useBootstrapBreakpoints();\n const minBreakpoint = useBootstrapMinBreakpoint();\n return /*#__PURE__*/_jsx(Component, {\n ...props,\n ref: ref,\n className: classNames(className, bsPrefix, ...createUtilityClassName({\n gap\n }, breakpoints, minBreakpoint))\n });\n});\nStack.displayName = 'Stack';\nexport default Stack;","'use client';\nimport { createContext, Component, createElement, isValidElement, useContext, useState, useMemo, forwardRef } from 'react';\n\nconst ErrorBoundaryContext = createContext(null);\n\nconst initialState = {\n didCatch: false,\n error: null\n};\nclass ErrorBoundary extends Component {\n constructor(props) {\n super(props);\n this.resetErrorBoundary = this.resetErrorBoundary.bind(this);\n this.state = initialState;\n }\n static getDerivedStateFromError(error) {\n return {\n didCatch: true,\n error\n };\n }\n resetErrorBoundary() {\n const {\n error\n } = this.state;\n if (error !== null) {\n var _this$props$onReset, _this$props;\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n (_this$props$onReset = (_this$props = this.props).onReset) === null || _this$props$onReset === void 0 ? void 0 : _this$props$onReset.call(_this$props, {\n args,\n reason: \"imperative-api\"\n });\n this.setState(initialState);\n }\n }\n componentDidCatch(error, info) {\n var _this$props$onError, _this$props2;\n (_this$props$onError = (_this$props2 = this.props).onError) === null || _this$props$onError === void 0 ? void 0 : _this$props$onError.call(_this$props2, error, info);\n }\n componentDidUpdate(prevProps, prevState) {\n const {\n didCatch\n } = this.state;\n const {\n resetKeys\n } = this.props;\n\n // There's an edge case where if the thing that triggered the error happens to *also* be in the resetKeys array,\n // we'd end up resetting the error boundary immediately.\n // This would likely trigger a second error to be thrown.\n // So we make sure that we don't check the resetKeys on the first call of cDU after the error is set.\n\n if (didCatch && prevState.error !== null && hasArrayChanged(prevProps.resetKeys, resetKeys)) {\n var _this$props$onReset2, _this$props3;\n (_this$props$onReset2 = (_this$props3 = this.props).onReset) === null || _this$props$onReset2 === void 0 ? void 0 : _this$props$onReset2.call(_this$props3, {\n next: resetKeys,\n prev: prevProps.resetKeys,\n reason: \"keys\"\n });\n this.setState(initialState);\n }\n }\n render() {\n const {\n children,\n fallbackRender,\n FallbackComponent,\n fallback\n } = this.props;\n const {\n didCatch,\n error\n } = this.state;\n let childToRender = children;\n if (didCatch) {\n const props = {\n error,\n resetErrorBoundary: this.resetErrorBoundary\n };\n if (typeof fallbackRender === \"function\") {\n childToRender = fallbackRender(props);\n } else if (FallbackComponent) {\n childToRender = createElement(FallbackComponent, props);\n } else if (fallback === null || isValidElement(fallback)) {\n childToRender = fallback;\n } else {\n throw error;\n }\n }\n return createElement(ErrorBoundaryContext.Provider, {\n value: {\n didCatch,\n error,\n resetErrorBoundary: this.resetErrorBoundary\n }\n }, childToRender);\n }\n}\nfunction hasArrayChanged() {\n let a = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];\n let b = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];\n return a.length !== b.length || a.some((item, index) => !Object.is(item, b[index]));\n}\n\nfunction assertErrorBoundaryContext(value) {\n if (value == null || typeof value.didCatch !== \"boolean\" || typeof value.resetErrorBoundary !== \"function\") {\n throw new Error(\"ErrorBoundaryContext not found\");\n }\n}\n\nfunction useErrorBoundary() {\n const context = useContext(ErrorBoundaryContext);\n assertErrorBoundaryContext(context);\n const [state, setState] = useState({\n error: null,\n hasError: false\n });\n const memoized = useMemo(() => ({\n resetBoundary: () => {\n context.resetErrorBoundary();\n setState({\n error: null,\n hasError: false\n });\n },\n showBoundary: error => setState({\n error,\n hasError: true\n })\n }), [context.resetErrorBoundary]);\n if (state.hasError) {\n throw state.error;\n }\n return memoized;\n}\n\nfunction withErrorBoundary(component, errorBoundaryProps) {\n const Wrapped = forwardRef((props, ref) => createElement(ErrorBoundary, errorBoundaryProps, createElement(component, {\n ...props,\n ref\n })));\n\n // Format for display in DevTools\n const name = component.displayName || component.name || \"Unknown\";\n Wrapped.displayName = \"withErrorBoundary(\".concat(name, \")\");\n return Wrapped;\n}\n\nexport { ErrorBoundary, ErrorBoundaryContext, useErrorBoundary, withErrorBoundary };\n","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","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","const C = \"\\u037c\"\nconst COUNT = typeof Symbol == \"undefined\" ? \"__\" + C : Symbol.for(C)\nconst SET = typeof Symbol == \"undefined\" ? \"__styleSet\" + Math.floor(Math.random() * 1e8) : Symbol(\"styleSet\")\nconst top = typeof globalThis != \"undefined\" ? globalThis : typeof window != \"undefined\" ? window : {}\n\n// :: - Style modules encapsulate a set of CSS rules defined from\n// JavaScript. Their definitions are only available in a given DOM\n// root after it has been _mounted_ there with `StyleModule.mount`.\n//\n// Style modules should be created once and stored somewhere, as\n// opposed to re-creating them every time you need them. The amount of\n// CSS rules generated for a given DOM root is bounded by the amount\n// of style modules that were used. So to avoid leaking rules, don't\n// create these dynamically, but treat them as one-time allocations.\nexport class StyleModule {\n // :: (Object