import*as i18n from"../i18n/i18n.js";import*as Root from"../root/root.js";import*as UI from"../ui/ui.js";const UIStrings={protocolMonitor:"Protocol monitor",showProtocolMonitor:"Show Protocol monitor"},str_=i18n.i18n.registerUIStrings("protocol_monitor/protocol_monitor-meta.ts",UIStrings),i18nLazyString=i18n.i18n.getLazilyComputedLocalizedString.bind(void 0,str_);let loadedProtocolMonitorModule;async function loadProtocolMonitorModule(){return loadedProtocolMonitorModule||(await Root.Runtime.Runtime.instance().loadModulePromise("protocol_monitor"),loadedProtocolMonitorModule=await import("./protocol_monitor.js")),loadedProtocolMonitorModule}UI.ViewManager.registerViewExtension({location:"drawer-view",id:"protocol-monitor",title:i18nLazyString(UIStrings.protocolMonitor),commandPrompt:i18nLazyString(UIStrings.showProtocolMonitor),order:100,persistence:"closeable",loadView:async()=>(await loadProtocolMonitorModule()).ProtocolMonitor.ProtocolMonitorImpl.instance(),experiment:Root.Runtime.ExperimentName.PROTOCOL_MONITOR});