import*as o from"./../../core/common/common.js";import*as t from"./../../core/i18n/i18n.js";import*as m from"./../../core/sdk/sdk.js";import*as c from"./../../ui/legacy/components/object_ui/object_ui.js";import*as e from"./../../ui/legacy/legacy.js";var n={memoryInspector:"Memory inspector",showMemoryInspector:"Show Memory inspector"},p=t.i18n.registerUIStrings("panels/linear_memory_inspector/linear_memory_inspector-meta.ts",n),s=t.i18n.getLazilyComputedLocalizedString.bind(void 0,p),r;async function i(){return r||(r=await import("./linear_memory_inspector.js")),r}e.ViewManager.registerViewExtension({location:"drawer-view",id:"linear-memory-inspector",title:s(n.memoryInspector),commandPrompt:s(n.showMemoryInspector),order:100,persistence:"closeable",async loadView(){return(await i()).LinearMemoryInspectorPane.LinearMemoryInspectorPane.instance()}});e.ContextMenu.registerProvider({async loadProvider(){return(await i()).LinearMemoryInspectorController.LinearMemoryInspectorController.instance()},contextTypes(){return[c.ObjectPropertiesSection.ObjectPropertyTreeElement]}});o.Revealer.registerRevealer({contextTypes(){return[m.RemoteObject.LinearMemoryInspectable]},destination:o.Revealer.RevealerDestination.MEMORY_INSPECTOR_PANEL,async loadRevealer(){return(await i()).LinearMemoryInspectorController.LinearMemoryInspectorController.instance()}});
//# sourceMappingURL=linear_memory_inspector-meta.js.map
