import*as i18n from"../i18n/i18n.js";import*as Root from"../root/root.js";import*as UI from"../ui/ui.js";let loadedAccessibilityModule;const UIStrings={accessibility:"Accessibility",shoAccessibility:"Show Accessibility"},str_=i18n.i18n.registerUIStrings("accessibility/accessibility-meta.ts",UIStrings),i18nLazyString=i18n.i18n.getLazilyComputedLocalizedString.bind(void 0,str_);async function loadAccessibilityModule(){return loadedAccessibilityModule||(await Root.Runtime.Runtime.instance().loadModulePromise("accessibility"),loadedAccessibilityModule=await import("./accessibility.js")),loadedAccessibilityModule}UI.ViewManager.registerViewExtension({location:"elements-sidebar",id:"accessibility.view",title:i18nLazyString(UIStrings.accessibility),commandPrompt:i18nLazyString(UIStrings.shoAccessibility),order:10,persistence:"permanent",loadView:async()=>(await loadAccessibilityModule()).AccessibilitySidebarView.AccessibilitySidebarView.instance()});