import{ls as e}from"../platform/platform.js";import{Runtime as i}from"../root/root.js";import{ViewManager as r}from"../ui/ui.js";let o,t;r.registerViewExtension({location:"panel",id:"timeline",title:()=>e`Performance`,commandPrompt:"Show Performance",order:50,loadView:async()=>(await async function(){return o||(await i.Runtime.instance().loadModulePromise("timeline"),o=await import("./timeline.js")),o}()).TimelinePanel.TimelinePanel.instance()}),r.registerViewExtension({location:"panel",id:"js_profiler",title:()=>e`JavaScript Profiler`,commandPrompt:"Show JavaScript Profiler",persistence:"closeable",order:65,loadView:async()=>(await async function(){return t||(await i.Runtime.instance().loadModulePromise("profiler"),t=await import("../profiler/profiler.js")),t}()).ProfilesPanel.JSProfilerPanel.instance()});
