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