import*as Host from"../host/host.js";import*as UI from"../ui/ui.js";export function reload(){UI.DockController.DockController.instance().canDock()&&UI.DockController.DockController.instance().dockSide()===UI.DockController.State.Undocked&&Host.InspectorFrontendHost.InspectorFrontendHostInstance.setIsDocked(!0,(function(){})),Host.InspectorFrontendHost.InspectorFrontendHostInstance.reattach((()=>window.location.reload()))}