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