import{indentWithTab as e}from"../../../@codemirror/commands/dist/index.esm.js";import{basicSetup as r}from"../../codemirror-extensions-basic-setup/esm/index.esm.js";import{keymap as i,placeholder as o,EditorView as s}from"../../../@codemirror/view/dist/index.esm.js";import{oneDark as t}from"../../../@codemirror/theme-one-dark/dist/index.esm.js";export{oneDarkHighlightStyle,oneDarkTheme}from"../../../@codemirror/theme-one-dark/dist/index.esm.js";import{EditorState as m}from"../../../@codemirror/state/dist/index.esm.js";import{defaultLightThemeOption as d}from"./theme/light.esm.js";var n=function(n){void 0===n&&(n={});var{indentWithTab:a=!0,editable:h=!0,readOnly:f=!1,theme:p="light",placeholder:c="",basicSetup:u=!0}=n,l=[];switch(a&&l.unshift(i.of([e])),u&&("boolean"==typeof u?l.unshift(r()):l.unshift(r(u))),c&&l.unshift(o(c)),p){case"light":l.push(d);break;case"dark":l.push(t);break;case"none":break;default:l.push(p)}return!1===h&&l.push(s.editable.of(!1)),f&&l.push(m.readOnly.of(!0)),[...l]};export{d as defaultLightThemeOption,n as getDefaultExtensions,t as oneDark};
//# sourceMappingURL=getDefaultExtensions.esm.js.map
