import*as Root from"../root/root.js";import*as UI from"../ui/ui.js";import*as i18n from"../i18n/i18n.js";const UIStrings={memoryInspector:"Memory Inspector",showMemoryInspector:"Show Memory Inspector"},str_=i18n.i18n.registerUIStrings("linear_memory_inspector/linear_memory_inspector-meta.ts",UIStrings),i18nLazyString=i18n.i18n.getLazilyComputedLocalizedString.bind(void 0,str_);let loadedLinearMemoryInspectorModule;async function loadLinearMemoryInspectorModule(){return loadedLinearMemoryInspectorModule||(loadedLinearMemoryInspectorModule=await import("./linear_memory_inspector.js")),loadedLinearMemoryInspectorModule}UI.ViewManager.registerViewExtension({location:"drawer-view",id:"linear-memory-inspector",title:i18nLazyString(UIStrings.memoryInspector),commandPrompt:i18nLazyString(UIStrings.showMemoryInspector),order:100,persistence:"closeable",loadView:async()=>(await loadLinearMemoryInspectorModule()).LinearMemoryInspectorPane.Wrapper.instance(),experiment:Root.Runtime.ExperimentName.WASM_DWARF_DEBUGGING});