import { p as promiseResolve, b as bootstrapLazy } from './index-15028158.js';
import './global-c8e1b4c5.js';
import './mode-e9fa2ced.js';

/*
 Stencil Client Patch Esm v2.12.0 | MIT Licensed | https://stenciljs.com
 */
const patchEsm = () => {
    return promiseResolve();
};

const defineCustomElements = (win, options) => {
  if (typeof window === 'undefined') return Promise.resolve();
  return patchEsm().then(() => {
  return bootstrapLazy([["stencila-executable-document-toolbar",[[32,"stencila-executable-document-toolbar",{"sourceUrl":[1,"source-url"],"sessionProviderUrl":[1,"session-provider-url"],"position":[1],"session":[32],"job":[32],"executor":[32],"codeCount":[32],"statusMessage":[32]}]]],["stencila-code-chunk",[[38,"stencila-code-chunk",{"text":[1],"autofocus":[4],"codeChunk":[1040],"programmingLanguage":[1025,"programming-language"],"languageCapabilities":[16],"executableLanguages":[16],"isCodeVisible":[4,"is-code-visible"],"executeHandler":[16],"contentChangeHandler":[16],"keymap":[16],"executeCodeState":[32],"isStacked":[32],"isCodeVisibleState":[32],"getContents":[64],"getTextContents":[64],"execute":[64],"getRef":[64]},[[8,"stencila-discover-executable-languages","onDiscoverExecutableLanguages"],[8,"stencila-code-visibility-change","onAllCodeVisibilityChange"],[8,"stencila-editor-layout-change","onSetEditorLayout"]]]]],["stencila-code-expression",[[38,"stencila-code-expression",{"executeHandler":[16],"readOnly":[4,"read-only"],"programmingLanguage":[1025,"programming-language"],"languageCapabilities":[16],"executableLanguages":[1040],"codeExpression":[1040],"hover":[32],"isCodeVisible":[32],"isOutputEmpty":[32],"executeCodeState":[32],"getTextContents":[64],"getContents":[64],"execute":[64]},[[8,"stencila-discover-executable-languages","onDiscoverExecutableLanguages"],[8,"stencila-code-visibility-change","onAllCodeVisibilityChange"]]]]],["stencila-code-fragment",[[38,"stencila-code-fragment",{"mode":[513],"programmingLanguage":[1025,"programming-language"],"languageCapabilities":[16],"executableLanguages":[1040],"getTextContents":[64]},[[8,"stencila-discover-executable-languages","onDiscoverExecutableLanguages"]]]]],["stencila-code-block",[[38,"stencila-code-block",{"text":[1],"autofocus":[4],"lineWrapping":[4,"line-wrapping"],"lineNumbers":[4,"line-numbers"],"foldGutter":[4,"fold-gutter"],"programmingLanguage":[1025,"programming-language"],"readOnly":[4,"read-only"],"executableLanguages":[16],"keymap":[16],"contentChangeHandler":[16],"getContents":[64],"getTextContents":[64],"getRef":[64]},[[8,"stencila-discover-executable-languages","onDiscoverExecutableLanguages"]]]]],["stencila-code-error",[[38,"stencila-code-error",{"error":[16],"kind":[1],"stackIsOpen":[32]}]]],["stencila-input",[[34,"stencila-input",{"autoFocus":[4,"auto-focus"],"inputmode":[1],"type":[1],"name":[1],"label":[1],"hideLabel":[4,"hide-label"],"inline":[4],"placeholder":[1],"iconStart":[1,"icon-start"],"required":[4],"value":[8]}]]],["stencila-tab-list",[[34,"stencila-tab-list",{"tabs":[16],"activeTabIndex":[32]}]]],["animated-route-switch",[[4,"animated-route-switch",{"group":[513],"routeViewsUpdated":[16],"scrollTopOffset":[2,"scroll-top-offset"],"location":[16]}]]],["stencila-data-table",[[38,"stencila-data-table"]]],["stencila-image-object",[[34,"stencila-image-object",{"image":[16]}]]],["stencila-image-plotly",[[34,"stencila-image-plotly",{"data":[16],"layout":[16],"config":[16],"plotIsRendered":[32]},[[8,"stencila-plotly-load","onPlotlyLoad"]]]]],["stencila-image-vega",[[34,"stencila-image-vega",{"spec":[1],"options":[16],"plotIsRendered":[32]},[[8,"stencila-vega-load","onVegaLoad"]]]]],["stencila-parameter",[[38,"stencila-parameter",{"mode":[513],"validator":[1025],"paramName":[32]}]]],["stencila-project-graph",[[33,"stencila-project-graph",{"graph":[16]}]]],["stencila-details",[[38,"stencila-details",{"open":[4],"isOpen":[32]}]]],["stencila-tab",[[34,"stencila-tab",{"href":[1],"label":[1],"isSelected":[4,"selected"]}]]],["stencila-toolbar",[[38,"stencila-toolbar",{"position":[1],"color":[1]}]]],["stencila-icon",[[34,"stencila-icon",{"icon":[1],"iconStyle":[1,"icon-style"]}]]],["stencila-action-menu_2",[[38,"stencila-action-menu",{"actions":[16],"hasSecondaryActions":[32],"isCollapsed":[32],"width":[32],"isAnimating":[32]}],[38,"stencila-node-list",{"isEmpty":[32]}]]],["stencila-editor",[[38,"stencila-editor",{"contents":[1],"languageCapabilities":[16],"executableLanguages":[16],"readOnly":[4,"read-only"],"activeLanguage":[1,"active-language"],"executeHandler":[16],"contentChangeHandler":[16],"autofocus":[4],"lineNumbers":[4,"line-numbers"],"lineWrapping":[4,"line-wrapping"],"foldGutter":[4,"fold-gutter"],"keymap":[16],"getContents":[64],"setContents":[64],"getState":[64],"setState":[64],"setStateFromString":[64],"getRef":[64]},[[8,"stencila-discover-executable-languages","onDiscoverExecutableLanguages"]]]]],["stencila-menu_2",[[38,"stencila-menu-item",{"icon":[1],"size":[1],"role":[1],"disabled":[516],"divider":[516]}],[38,"stencila-menu",{"isOpen":[1540,"is-open"],"autoClose":[4,"auto-close"],"menuPosition":[1,"menu-position"]}]]],["stencila-button_3",[[38,"stencila-button",{"href":[1],"rel":[1],"target":[1],"ariaLabel":[1,"aria-label"],"color":[1],"size":[1],"minimal":[4],"isSecondary":[4,"is-secondary"],"buttonType":[1,"button-type"],"disabled":[4],"icon":[1],"iconOnly":[4,"icon-only"],"isLoading":[4,"is-loading"],"fill":[4],"tooltip":[1],"dataEl":[1,"data-el"]}],[38,"stencila-tooltip",{"text":[1]}],[38,"stencila-tooltip-element"]]],["animate-presence_3",[[36,"stencila-toast",{"dismissable":[4],"duration":[2],"type":[1],"position":[1]}],[4,"stencila-toast-container",{"position":[1]}],[1,"animate-presence",{"__presenceKey":[1,"__presence-key"],"descendants":[16],"observe":[1028],"registerChild":[64],"unregisterChild":[64],"exit":[64],"enter":[64]},[[0,"animatePresenceExitComplete","animatePresenceExitCompleteHandler"]]]]]], options);
  });
};

export { defineCustomElements };

//# sourceMappingURL=loader.js.map