bboxMonkeyPatch = {
const __getBBox = window.SVGGraphicsElement.prototype.getBBox;
window.SVGGraphicsElement.prototype.getBBox = function getBBox () {
try {
return __getBBox.call(this);
} catch (e) {
return new window.DOMRect();
}
}
return md`So ... we monkey-patch it :)`;
}