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