import*as i18n from"../i18n/i18n.js";import*as Root from"../root/root.js";import*as UI from"../ui/ui.js";const UIStrings={layers:"Layers",showLayers:"Show Layers"},str_=i18n.i18n.registerUIStrings("layers/layers-meta.ts",UIStrings),i18nLazyString=i18n.i18n.getLazilyComputedLocalizedString.bind(void 0,str_);let loadedLayersModule;async function loadLayersModule(){return loadedLayersModule||(await Root.Runtime.Runtime.instance().loadModulePromise("layers"),loadedLayersModule=await import("./layers.js")),loadedLayersModule}UI.ViewManager.registerViewExtension({location:"panel",id:"layers",title:i18nLazyString(UIStrings.layers),commandPrompt:i18nLazyString(UIStrings.showLayers),order:100,persistence:"closeable",loadView:async()=>(await loadLayersModule()).LayersPanel.LayersPanel.instance()});