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