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