var lastHeight = 0
var componentId = '4968439'
var postHeight = function() {
var newHeight = document.body.scrollHeight
if (newHeight !== lastHeight) {
window.parent.postMessage({ frameHeight: newHeight, componentId: componentId }, '*')
lastHeight = newHeight
}
}
window.onload = function() {
postHeight()
if (typeof ResizeObserver !== 'undefined') {
new ResizeObserver(function() {
postHeight()
}).observe(document.body)
}
}