const partnerBarNode = document.querySelector(«.advert-bar»);const targetNode = document.querySelector(«#quiz_1014»);const hasSmoothScroll = («scrollBehavior» in document.documentElement.style);function quiz_1014RS(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_1014RS.bind(this,»quiz_1014″),!1),window.removeEventListener(«message»,quiz_1014RS.bind(this,»quiz_1014″),!1);