const partnerBarNode = document.querySelector(«.advert-bar»);const targetNode = document.querySelector(«#quiz_1022»);const hasSmoothScroll = («scrollBehavior» in document.documentElement.style);function quiz_1022RS(a,b){try{var c=JSON.parse(b.data);if(c[a]&&c.id&&(c.data.height&&(document.getElementById(c.id).style.height=c.data.height+»px»), c.data.scrollToTop)){const top = pageYOffset + targetNode.getBoundingClientRect().top — 75; if (hasSmoothScroll) { window.scroll({ top, left: 0, behavior: ‘smooth’ });} else {window.scroll({ top, left: 0 });}}}catch(a){}}window.addEventListener(«message»,quiz_1022RS.bind(this,»quiz_1022″),!1),window.removeEventListener(«message»,quiz_1022RS.bind(this,»quiz_1022″),!1);