document.getElementById("0954351a7022867a97314dcdc00523de").innerHTML=' '; document.write(''); var w = document.getElementById("0954351a7022867a97314dcdc00523de").parentElement.clientWidth; var h; if(w >= 992) { h = 861; } if(w < 992) { h = 800; } if(w < 768) { h = 976; } if(w < 576) { h = 1185; } if(w < 420) { h = 1185; } document.getElementById("iframe-0954351a7022867a97314dcdc00523de").style.width='100%'; document.getElementById("iframe-0954351a7022867a97314dcdc00523de").style.height=(h+100) + 'px'; const iframe = document.getElementById("iframe-0954351a7022867a97314dcdc00523de"); window.addEventListener('message', (e) => { if(e.data.type && e.data.type === 'resize-iframe') { iframe.style.height = e.data.payload.height + 'px' } }, false)