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