import*as Common from"../common/common.js";import*as Root from"../root/root.js";import*as UI from"../ui/ui.js";let loadedScreencastModule;async function loadScreencastModule(){return loadedScreencastModule||(await Root.Runtime.Runtime.instance().loadModulePromise("screencast"),loadedScreencastModule=await import("./screencast.js")),loadedScreencastModule}UI.Toolbar.registerToolbarItem({loadItem:async()=>(await loadScreencastModule()).ScreencastApp.ToolbarButtonProvider.instance(),order:1,location:UI.Toolbar.ToolbarItemLocation.MAIN_TOOLBAR_LEFT,showLabel:void 0,condition:void 0,separator:void 0,actionId:void 0}),Common.AppProvider.registerAppProvider({loadAppProvider:async()=>(await loadScreencastModule()).ScreencastApp.ScreencastAppProvider.instance(),order:-1,condition:void 0}),UI.ContextMenu.registerItem({location:UI.ContextMenu.ItemLocation.MAIN_MENU,order:10,actionId:"components.request-app-banner"});