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