import "../../../../../../../../node_modules/.pnpm/vue@3.3.4/node_modules/vue/dist/vue.runtime.esm-bundler.mjs";
import MonacoEditor from "../../../../../../../components/Pages/MonacoEditor/index.vue2.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/editor/editor.api.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/basic-languages/abap/abap.contribution.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/basic-languages/apex/apex.contribution.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/basic-languages/azcli/azcli.contribution.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/basic-languages/bat/bat.contribution.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/basic-languages/bicep/bicep.contribution.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/basic-languages/cameligo/cameligo.contribution.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/basic-languages/clojure/clojure.contribution.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/basic-languages/coffee/coffee.contribution.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/basic-languages/cpp/cpp.contribution.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/basic-languages/csharp/csharp.contribution.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/basic-languages/csp/csp.contribution.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/basic-languages/css/css.contribution.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/basic-languages/dart/dart.contribution.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/basic-languages/dockerfile/dockerfile.contribution.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/basic-languages/ecl/ecl.contribution.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/basic-languages/elixir/elixir.contribution.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/basic-languages/flow9/flow9.contribution.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/basic-languages/fsharp/fsharp.contribution.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/basic-languages/freemarker2/freemarker2.contribution.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/basic-languages/go/go.contribution.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/basic-languages/graphql/graphql.contribution.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/basic-languages/handlebars/handlebars.contribution.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/basic-languages/hcl/hcl.contribution.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/basic-languages/html/html.contribution.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/basic-languages/ini/ini.contribution.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/basic-languages/java/java.contribution.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/basic-languages/javascript/javascript.contribution.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/basic-languages/julia/julia.contribution.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/basic-languages/kotlin/kotlin.contribution.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/basic-languages/less/less.contribution.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/basic-languages/lexon/lexon.contribution.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/basic-languages/lua/lua.contribution.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/basic-languages/liquid/liquid.contribution.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/basic-languages/m3/m3.contribution.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/basic-languages/markdown/markdown.contribution.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/basic-languages/mips/mips.contribution.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/basic-languages/msdax/msdax.contribution.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/basic-languages/mysql/mysql.contribution.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/basic-languages/objective-c/objective-c.contribution.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/basic-languages/pascal/pascal.contribution.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/basic-languages/pascaligo/pascaligo.contribution.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/basic-languages/perl/perl.contribution.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/basic-languages/pgsql/pgsql.contribution.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/basic-languages/php/php.contribution.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/basic-languages/pla/pla.contribution.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/basic-languages/postiats/postiats.contribution.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/basic-languages/powerquery/powerquery.contribution.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/basic-languages/powershell/powershell.contribution.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/basic-languages/protobuf/protobuf.contribution.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/basic-languages/pug/pug.contribution.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/basic-languages/python/python.contribution.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/basic-languages/qsharp/qsharp.contribution.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/basic-languages/r/r.contribution.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/basic-languages/razor/razor.contribution.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/basic-languages/redis/redis.contribution.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/basic-languages/redshift/redshift.contribution.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/basic-languages/restructuredtext/restructuredtext.contribution.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/basic-languages/ruby/ruby.contribution.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/basic-languages/rust/rust.contribution.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/basic-languages/sb/sb.contribution.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/basic-languages/scala/scala.contribution.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/basic-languages/scheme/scheme.contribution.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/basic-languages/scss/scss.contribution.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/basic-languages/shell/shell.contribution.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/basic-languages/solidity/solidity.contribution.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/basic-languages/sophia/sophia.contribution.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/basic-languages/sparql/sparql.contribution.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/basic-languages/sql/sql.contribution.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/basic-languages/st/st.contribution.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/basic-languages/swift/swift.contribution.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/basic-languages/systemverilog/systemverilog.contribution.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/basic-languages/tcl/tcl.contribution.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/basic-languages/twig/twig.contribution.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/basic-languages/typescript/typescript.contribution.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/basic-languages/vb/vb.contribution.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/basic-languages/xml/xml.contribution.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/basic-languages/yaml/yaml.contribution.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/language/css/monaco.contribution.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/language/html/monaco.contribution.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/language/json/monaco.contribution.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/language/typescript/monaco.contribution.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/editor/browser/coreCommands.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/editor/browser/widget/codeEditorWidget.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/editor/browser/widget/diffEditorWidget.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/base/common/event.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/base/common/lifecycle.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/editor/contrib/anchorSelect/browser/anchorSelect.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/editor/contrib/bracketMatching/browser/bracketMatching.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/editor/contrib/caretOperations/browser/caretOperations.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/editor/contrib/caretOperations/browser/transpose.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/editor/contrib/clipboard/browser/clipboard.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/editor/contrib/codeAction/browser/codeActionContributions.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/editor/contrib/codelens/browser/codelensController.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/editor/contrib/colorPicker/browser/colorContributions.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/editor/contrib/comment/browser/comment.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/editor/contrib/contextmenu/browser/contextmenu.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/editor/contrib/cursorUndo/browser/cursorUndo.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/editor/contrib/dnd/browser/dnd.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/editor/contrib/find/browser/findController.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/editor/contrib/folding/browser/folding.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/editor/contrib/fontZoom/browser/fontZoom.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/editor/contrib/format/browser/formatActions.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/editor/contrib/documentSymbols/browser/documentSymbols.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsContribution.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/editor/contrib/gotoSymbol/browser/goToCommands.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/editor/contrib/gotoSymbol/browser/link/goToDefinitionAtPosition.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/editor/contrib/gotoError/browser/gotoError.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/editor/contrib/hover/browser/hover.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/editor/contrib/indentation/browser/indentation.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/editor/contrib/inlayHints/browser/inlayHintsContribution.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/editor/contrib/inPlaceReplace/browser/inPlaceReplace.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/editor/contrib/lineSelection/browser/lineSelection.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/editor/contrib/linesOperations/browser/linesOperations.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/editor/contrib/linkedEditing/browser/linkedEditing.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/editor/contrib/links/browser/links.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/editor/contrib/multicursor/browser/multicursor.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/editor/contrib/parameterHints/browser/parameterHints.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/editor/contrib/rename/browser/rename.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/editor/contrib/smartSelect/browser/smartSelect.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/editor/contrib/snippet/browser/snippetController2.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/editor/contrib/suggest/browser/suggestController.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/editor/contrib/tokenization/browser/tokenization.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/editor/contrib/viewportSemanticTokens/browser/viewportSemanticTokens.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/editor/contrib/wordHighlighter/browser/wordHighlighter.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/editor/contrib/wordOperations/browser/wordOperations.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/editor/contrib/wordPartOperations/browser/wordPartOperations.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/editor/common/standaloneStrings.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/base/common/codicons.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/base/browser/ui/codicons/codicon/codicon.css.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/base/browser/ui/codicons/codicon/codicon-modifiers.css.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/editor/standalone/browser/iPadShowKeyboard/iPadShowKeyboard.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/editor/standalone/browser/inspectTokens/inspectTokens.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/editor/standalone/browser/quickAccess/standaloneHelpQuickAccess.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/editor/standalone/browser/quickAccess/standaloneGotoLineQuickAccess.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/editor/standalone/browser/quickAccess/standaloneGotoSymbolQuickAccess.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/editor/standalone/browser/quickAccess/standaloneCommandsQuickAccess.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/editor/standalone/browser/referenceSearch/standaloneReferenceSearch.mjs";
import "../../../../../../../../node_modules/.pnpm/monaco-editor@0.33.0/node_modules/monaco-editor/esm/vs/editor/standalone/browser/toggleHighContrast/toggleHighContrast.mjs";
import { useTargetData } from "../../../hooks/useTargetData.hook.mjs";
import { templateList } from "./importTemplate.mjs";
import "../../../../../../../store/modules/designStore/designStore.mjs";
import "../../../../../../../settings/designSetting.mjs";
import "../../../../../../../../node_modules/.pnpm/screenfull@6.0.2/node_modules/screenfull/index.mjs";
import "../../../../../../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_root.mjs";
import "../../../../../../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseGetTag.mjs";
import "../../../../../../../../node_modules/.pnpm/html2canvas@1.4.1/node_modules/html2canvas/dist/html2canvas.esm.mjs";
import "../../../../../../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseClone.mjs";
import { EventLife } from "../../../../../../../enums/eventEnum.mjs";
import "../../../../../../../../node_modules/.pnpm/crypto-js@4.1.1/node_modules/crypto-js/index.mjs";
import "../../../../../../../enums/pageEnum.mjs";
import "../../../../../../../router/index.mjs";
import "../../../../../../../../node_modules/.pnpm/vue3-lazyload@0.2.5-beta_a6dezdz3je235ci4e3tu4rayna/node_modules/vue3-lazyload/dist/vue3-lazyload.esm.mjs";
import "../../../../../../../components/GoSkeleton/index.vue.mjs";
import "../../../../../../../components/GoLoading/index.mjs";
import { icon } from "../../../../../../../plugins/icon.mjs";
import "../../../../../../../api/axios.mjs";
import "../../../../../../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/merge.mjs";
import "../../../../../../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/pick.mjs";
import { npmPkgs } from "../../../../../../../hooks/useLifeHandler.hook.mjs";
import "../../../../../../../store/modules/langStore/langStore.mjs";
import { defineComponent, watch, resolveComponent, openBlock, createElementBlock, createVNode, withCtx, createTextVNode, Fragment, renderList, createElementVNode as createBaseVNode, createBlock, pushScopeId, popScopeId } from "../../../../../../../../node_modules/.pnpm/@vue_runtime-core@3.3.4/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.mjs";
import { ref, unref } from "../../../../../../../../node_modules/.pnpm/@vue_reactivity@3.3.4/node_modules/@vue/reactivity/dist/reactivity.esm-bundler.mjs";
import { withModifiers } from "../../../../../../../../node_modules/.pnpm/@vue_runtime-dom@3.3.4/node_modules/@vue/runtime-dom/dist/runtime-dom.esm-bundler.mjs";
import { toDisplayString } from "../../../../../../../../node_modules/.pnpm/@vue_shared@3.3.4/node_modules/@vue/shared/dist/shared.esm-bundler.mjs";
const _withScopeId = (n) => (pushScopeId("data-v-53d5d409"), n = n(), popScopeId(), n);
const _hoisted_1 = { class: "func-annotate" };
const _hoisted_2 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createBaseVNode("br", null, null, -1));
const _hoisted_3 = { class: "func-keyword" };
const _hoisted_4 = { class: "go-ml-4" };
const _hoisted_5 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createBaseVNode("p", null, [
  /* @__PURE__ */ createTextVNode("}"),
  /* @__PURE__ */ createBaseVNode("span", null, ",")
], -1));
const _hoisted_6 = { class: "go-pl-3" };
const _hoisted_7 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createBaseVNode("span", { class: "func-keyword" }, "async function   ", -1));
const _hoisted_8 = { class: "func-keyNameWord" };
const _hoisted_9 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createBaseVNode("p", { class: "go-pl-3 func-keyNameWord" }, "}", -1));
const _hoisted_10 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createBaseVNode("br", null, null, -1));
const _hoisted_11 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createBaseVNode("br", null, null, -1));
const _hoisted_12 = { class: "go-flex-items-center" };
const _sfc_main = /* @__PURE__ */ defineComponent({
  __name: "index",
  setup(__props) {
    const { targetData, chartEditStore } = useTargetData();
    const { DocumentTextIcon, ChevronDownIcon, PencilIcon } = icon.ionicons5;
    const EventLifeName = {
      [EventLife.VNODE_BEFORE_MOUNT]: "渲染之前",
      [EventLife.VNODE_MOUNTED]: "渲染之后"
    };
    const EventLifeTip = {
      [EventLife.VNODE_BEFORE_MOUNT]: "此时组件 DOM 还未存在",
      [EventLife.VNODE_MOUNTED]: "此时组件 DOM 已经存在"
    };
    const showModal = ref(false);
    const editTab = ref(EventLife.VNODE_MOUNTED);
    let advancedEvents = ref({ ...targetData.value.events.advancedEvents });
    const errorFlag = ref(false);
    const validEvents = () => {
      let errorFn = "";
      let message = "";
      let name = "";
      errorFlag.value = Object.entries(advancedEvents.value).every(([eventName, str]) => {
        try {
          const AsyncFunction = Object.getPrototypeOf(async function() {
          }).constructor;
          new AsyncFunction(str);
          return true;
        } catch (error) {
          message = error.message;
          name = error.name;
          errorFn = eventName;
          return false;
        }
      });
      return {
        errorFn,
        message,
        name
      };
    };
    const closeEvents = () => {
      showModal.value = false;
    };
    const saveEvents = () => {
      if (validEvents().errorFn) {
        window["$message"].error("事件函数错误，无法进行保存");
        return;
      }
      if (Object.values(advancedEvents.value).join("").trim() === "") {
        targetData.value.events.advancedEvents = {
          vnodeBeforeMount: void 0,
          vnodeMounted: void 0
        };
      } else {
        targetData.value.events.advancedEvents = { ...advancedEvents.value };
      }
      closeEvents();
    };
    watch(
      () => showModal.value,
      (newData) => {
        if (newData) {
          advancedEvents.value = { ...targetData.value.events.advancedEvents };
        }
      }
    );
    return (_ctx, _cache) => {
      const _component_n_icon = resolveComponent("n-icon");
      const _component_n_button = resolveComponent("n-button");
      const _component_n_code = resolveComponent("n-code");
      const _component_n_card = resolveComponent("n-card");
      const _component_n_collapse_item = resolveComponent("n-collapse-item");
      const _component_n_text = resolveComponent("n-text");
      const _component_n_space = resolveComponent("n-space");
      const _component_n_tab_pane = resolveComponent("n-tab-pane");
      const _component_n_tabs = resolveComponent("n-tabs");
      const _component_n_layout = resolveComponent("n-layout");
      const _component_n_collapse = resolveComponent("n-collapse");
      const _component_n_scrollbar = resolveComponent("n-scrollbar");
      const _component_n_tag = resolveComponent("n-tag");
      const _component_n_layout_sider = resolveComponent("n-layout-sider");
      const _component_n_modal = resolveComponent("n-modal");
      return openBlock(), createElementBlock(Fragment, null, [
        createVNode(_component_n_collapse_item, {
          title: "高级事件配置",
          name: "3"
        }, {
          "header-extra": withCtx(() => [
            createVNode(_component_n_button, {
              type: "primary",
              tertiary: "",
              size: "small",
              onClick: _cache[0] || (_cache[0] = withModifiers(($event) => showModal.value = true, ["stop"]))
            }, {
              icon: withCtx(() => [
                createVNode(_component_n_icon, null, {
                  default: withCtx(() => [
                    createVNode(unref(PencilIcon))
                  ]),
                  _: 1
                })
              ]),
              default: withCtx(() => [
                createTextVNode(" 编辑 ")
              ]),
              _: 1
            })
          ]),
          default: withCtx(() => [
            createVNode(_component_n_card, { class: "collapse-show-box" }, {
              default: withCtx(() => [
                (openBlock(true), createElementBlock(Fragment, null, renderList(unref(EventLife), (eventName) => {
                  return openBlock(), createElementBlock("div", { key: eventName }, [
                    createBaseVNode("p", null, [
                      createBaseVNode("span", _hoisted_1, "// " + toDisplayString(EventLifeName[eventName]), 1),
                      _hoisted_2,
                      createBaseVNode("span", _hoisted_3, "async " + toDisplayString(eventName), 1),
                      createTextVNode(" (e, components, echarts, node_modules) { ")
                    ]),
                    createBaseVNode("p", _hoisted_4, [
                      createVNode(_component_n_code, {
                        code: (unref(targetData).events.advancedEvents || {})[eventName] || "",
                        language: "typescript"
                      }, null, 8, ["code"])
                    ]),
                    _hoisted_5
                  ]);
                }), 128))
              ]),
              _: 1
            })
          ]),
          _: 1
        }),
        createVNode(_component_n_modal, {
          class: "go-chart-data-monaco-editor",
          show: showModal.value,
          "onUpdate:show": _cache[2] || (_cache[2] = ($event) => showModal.value = $event),
          "mask-closable": false
        }, {
          default: withCtx(() => [
            createVNode(_component_n_card, {
              bordered: false,
              role: "dialog",
              size: "small",
              "aria-modal": "true",
              style: { "width": "1200px", "height": "700px" }
            }, {
              header: withCtx(() => [
                createVNode(_component_n_space, null, {
                  default: withCtx(() => [
                    createVNode(_component_n_text, null, {
                      default: withCtx(() => [
                        createTextVNode("高级事件编辑器（配合源码使用）")
                      ]),
                      _: 1
                    })
                  ]),
                  _: 1
                })
              ]),
              "header-extra": withCtx(() => []),
              action: withCtx(() => [
                createVNode(_component_n_space, { justify: "space-between" }, {
                  default: withCtx(() => [
                    createBaseVNode("div", _hoisted_12, [
                      createVNode(_component_n_tag, {
                        bordered: false,
                        type: "primary"
                      }, {
                        icon: withCtx(() => [
                          createVNode(_component_n_icon, { component: unref(DocumentTextIcon) }, null, 8, ["component"])
                        ]),
                        default: withCtx(() => [
                          createTextVNode(" 说明 ")
                        ]),
                        _: 1
                      }),
                      createVNode(_component_n_text, {
                        class: "go-ml-2",
                        depth: "2"
                      }, {
                        default: withCtx(() => [
                          createTextVNode("通过提供的参数可为图表增加定制化的tooltip、交互事件等等")
                        ]),
                        _: 1
                      })
                    ]),
                    createVNode(_component_n_space, null, {
                      default: withCtx(() => [
                        createVNode(_component_n_button, {
                          size: "medium",
                          onClick: closeEvents
                        }, {
                          default: withCtx(() => [
                            createTextVNode("取消")
                          ]),
                          _: 1
                        }),
                        createVNode(_component_n_button, {
                          size: "medium",
                          type: "primary",
                          onClick: saveEvents
                        }, {
                          default: withCtx(() => [
                            createTextVNode("保存")
                          ]),
                          _: 1
                        })
                      ]),
                      _: 1
                    })
                  ]),
                  _: 1
                })
              ]),
              default: withCtx(() => [
                createVNode(_component_n_layout, {
                  "has-sider": "",
                  "sider-placement": "right"
                }, {
                  default: withCtx(() => [
                    createVNode(_component_n_layout, { style: { "height": "580px", "padding-right": "20px" } }, {
                      default: withCtx(() => [
                        createVNode(_component_n_tabs, {
                          value: editTab.value,
                          "onUpdate:value": _cache[1] || (_cache[1] = ($event) => editTab.value = $event),
                          type: "card",
                          "tab-style": "min-width: 100px;"
                        }, {
                          suffix: withCtx(() => [
                            createVNode(_component_n_text, {
                              class: "tab-tip",
                              type: "warning"
                            }, {
                              default: withCtx(() => [
                                createTextVNode("提示: " + toDisplayString(EventLifeTip[editTab.value]), 1)
                              ]),
                              _: 1
                            })
                          ]),
                          default: withCtx(() => [
                            (openBlock(true), createElementBlock(Fragment, null, renderList(unref(EventLife), (eventName, index) => {
                              return openBlock(), createBlock(_component_n_tab_pane, {
                                key: index,
                                tab: `${EventLifeName[eventName]}-${eventName}`,
                                name: eventName
                              }, {
                                default: withCtx(() => [
                                  createBaseVNode("p", _hoisted_6, [
                                    _hoisted_7,
                                    createBaseVNode("span", _hoisted_8, toDisplayString(eventName) + "(e, components, echarts, node_modules)  {", 1)
                                  ]),
                                  createVNode(unref(MonacoEditor), {
                                    modelValue: unref(advancedEvents)[eventName],
                                    "onUpdate:modelValue": ($event) => unref(advancedEvents)[eventName] = $event,
                                    height: "480px",
                                    language: "javascript"
                                  }, null, 8, ["modelValue", "onUpdate:modelValue"]),
                                  _hoisted_9
                                ]),
                                _: 2
                              }, 1032, ["tab", "name"]);
                            }), 128))
                          ]),
                          _: 1
                        }, 8, ["value"])
                      ]),
                      _: 1
                    }),
                    createVNode(_component_n_layout_sider, {
                      "collapsed-width": 14,
                      width: 340,
                      "show-trigger": "bar",
                      "collapse-mode": "transform",
                      "content-style": "padding: 12px 12px 0px 12px;margin-left: 3px;"
                    }, {
                      default: withCtx(() => [
                        createVNode(_component_n_tabs, {
                          "default-value": "1",
                          "justify-content": "space-evenly",
                          type: "segment"
                        }, {
                          default: withCtx(() => [
                            createVNode(_component_n_tab_pane, {
                              tab: "验证结果",
                              name: "1",
                              size: "small"
                            }, {
                              default: withCtx(() => [
                                createVNode(_component_n_scrollbar, {
                                  trigger: "none",
                                  style: { "max-height": "505px" }
                                }, {
                                  default: withCtx(() => [
                                    createVNode(_component_n_collapse, {
                                      class: "go-px-3",
                                      "arrow-placement": "right",
                                      "default-expanded-names": [1, 2, 3]
                                    }, {
                                      default: withCtx(() => [
                                        (openBlock(true), createElementBlock(Fragment, null, renderList([validEvents()], (error) => {
                                          return openBlock(), createElementBlock(Fragment, { key: error }, [
                                            createVNode(_component_n_collapse_item, {
                                              title: "错误函数",
                                              name: 1
                                            }, {
                                              default: withCtx(() => [
                                                createVNode(_component_n_text, { depth: "3" }, {
                                                  default: withCtx(() => [
                                                    createTextVNode(toDisplayString(error.errorFn || "暂无"), 1)
                                                  ]),
                                                  _: 2
                                                }, 1024)
                                              ]),
                                              _: 2
                                            }, 1024),
                                            createVNode(_component_n_collapse_item, {
                                              title: "错误信息",
                                              name: 2
                                            }, {
                                              default: withCtx(() => [
                                                createVNode(_component_n_text, { depth: "3" }, {
                                                  default: withCtx(() => [
                                                    createTextVNode(toDisplayString(error.name || "暂无"), 1)
                                                  ]),
                                                  _: 2
                                                }, 1024)
                                              ]),
                                              _: 2
                                            }, 1024),
                                            createVNode(_component_n_collapse_item, {
                                              title: "堆栈信息",
                                              name: 3
                                            }, {
                                              default: withCtx(() => [
                                                createVNode(_component_n_text, { depth: "3" }, {
                                                  default: withCtx(() => [
                                                    createTextVNode(toDisplayString(error.message || "暂无"), 1)
                                                  ]),
                                                  _: 2
                                                }, 1024)
                                              ]),
                                              _: 2
                                            }, 1024)
                                          ], 64);
                                        }), 128))
                                      ]),
                                      _: 1
                                    })
                                  ]),
                                  _: 1
                                })
                              ]),
                              _: 1
                            }),
                            createVNode(_component_n_tab_pane, {
                              tab: "变量说明",
                              name: "2"
                            }, {
                              default: withCtx(() => [
                                createVNode(_component_n_scrollbar, {
                                  trigger: "none",
                                  style: { "max-height": "505px" }
                                }, {
                                  default: withCtx(() => [
                                    createVNode(_component_n_collapse, {
                                      class: "go-px-3",
                                      "arrow-placement": "right",
                                      "default-expanded-names": [1, 2, 3, 4]
                                    }, {
                                      default: withCtx(() => [
                                        createVNode(_component_n_collapse_item, {
                                          title: "e",
                                          name: 1
                                        }, {
                                          default: withCtx(() => [
                                            createVNode(_component_n_text, { depth: "3" }, {
                                              default: withCtx(() => [
                                                createTextVNode("触发对应生命周期事件时接收的参数")
                                              ]),
                                              _: 1
                                            })
                                          ]),
                                          _: 1
                                        }),
                                        createVNode(_component_n_collapse_item, {
                                          title: "this",
                                          name: 2
                                        }, {
                                          default: withCtx(() => [
                                            createVNode(_component_n_text, { depth: "3" }, {
                                              default: withCtx(() => [
                                                createTextVNode("图表组件实例")
                                              ]),
                                              _: 1
                                            }),
                                            _hoisted_10,
                                            (openBlock(true), createElementBlock(Fragment, null, renderList(["refs", "setupState", "ctx", "props", "..."], (prop) => {
                                              return openBlock(), createBlock(_component_n_tag, {
                                                class: "go-m-1",
                                                key: prop
                                              }, {
                                                default: withCtx(() => [
                                                  createTextVNode(toDisplayString(prop), 1)
                                                ]),
                                                _: 2
                                              }, 1024);
                                            }), 128))
                                          ]),
                                          _: 1
                                        }),
                                        createVNode(_component_n_collapse_item, {
                                          title: "components",
                                          name: 3
                                        }, {
                                          default: withCtx(() => [
                                            createVNode(_component_n_text, { depth: "3" }, {
                                              default: withCtx(() => [
                                                createTextVNode("当前大屏内所有组件的集合id 图表组件中的配置id，可以获取其他图表组件进行控制")
                                              ]),
                                              _: 1
                                            }),
                                            createVNode(_component_n_code, {
                                              code: `{
  [id]: component
}`,
                                              language: "typescript"
                                            })
                                          ]),
                                          _: 1
                                        }),
                                        createVNode(_component_n_collapse_item, {
                                          title: "node_modules",
                                          name: 4
                                        }, {
                                          default: withCtx(() => [
                                            createVNode(_component_n_text, { depth: "3" }, {
                                              default: withCtx(() => [
                                                createTextVNode("以下是内置在代码环境中可用的包变量")
                                              ]),
                                              _: 1
                                            }),
                                            _hoisted_11,
                                            (openBlock(true), createElementBlock(Fragment, null, renderList(Object.keys(unref(npmPkgs) || {}), (pkg) => {
                                              return openBlock(), createBlock(_component_n_tag, {
                                                class: "go-m-1",
                                                key: pkg
                                              }, {
                                                default: withCtx(() => [
                                                  createTextVNode(toDisplayString(pkg), 1)
                                                ]),
                                                _: 2
                                              }, 1024);
                                            }), 128))
                                          ]),
                                          _: 1
                                        })
                                      ]),
                                      _: 1
                                    })
                                  ]),
                                  _: 1
                                })
                              ]),
                              _: 1
                            }),
                            createVNode(_component_n_tab_pane, {
                              tab: "介绍案例",
                              name: "3"
                            }, {
                              default: withCtx(() => [
                                createVNode(_component_n_scrollbar, {
                                  trigger: "none",
                                  style: { "max-height": "505px" }
                                }, {
                                  default: withCtx(() => [
                                    createVNode(_component_n_collapse, { "arrow-placement": "right" }, {
                                      default: withCtx(() => [
                                        (openBlock(true), createElementBlock(Fragment, null, renderList(unref(templateList), (item, index) => {
                                          return openBlock(), createBlock(_component_n_collapse_item, {
                                            key: index,
                                            title: `案例${index + 1}：${item.description}`,
                                            name: index
                                          }, {
                                            default: withCtx(() => [
                                              createVNode(_component_n_code, {
                                                code: item.code,
                                                language: "typescript"
                                              }, null, 8, ["code"])
                                            ]),
                                            _: 2
                                          }, 1032, ["title", "name"]);
                                        }), 128))
                                      ]),
                                      _: 1
                                    })
                                  ]),
                                  _: 1
                                })
                              ]),
                              _: 1
                            })
                          ]),
                          _: 1
                        })
                      ]),
                      _: 1
                    })
                  ]),
                  _: 1
                })
              ]),
              _: 1
            })
          ]),
          _: 1
        }, 8, ["show"])
      ], 64);
    };
  }
});
export {
  _sfc_main as default
};
