console.warn(['MUI: The `anchorEl` prop provided to the component is invalid.','The anchor element should be part of the document layout.',"Make sure the element is present in the document or that it's not display none."].join('\n'));
console.error(['MUI: The popover component is too tall.',"Some part of it can not be seen on the screen (".concat(elemRect.height-heightThreshold,"px)."),'Please consider adding a `max-height` to improve the user-experience.'].join('\n'));
returnnewError(['MUI: The `anchorEl` prop provided to the component is invalid.','The anchor element should be part of the document layout.',"Make sure the element is present in the document or that it's not display none."].join('\n'));
}
}else{
returnnewError(['MUI: The `anchorEl` prop provided to the component is invalid.',"It should be an Element instance but it's `".concat(resolvedAnchorEl,"` instead.")].join('\n'));
}
}
returnnull;
}),
/**
* This is the point on the anchor where the popover's
* `anchorEl` will attach to. This is not used when the