internal export const getParentSelector = ( ) : HTMLElement => { let portal = document . querySelector ( "#portal" ) ; if ( ! portal ) { portal = document . createElement ( "div" ) ; portal . id = "portal" ; document . body . appendChild ( portal ) ; } return portal as HTMLElement ; } ;