(error) {}
}
});
googletag.enableServices();
window.__ADS_READY_TO_DISPLAY__ = true;
}
} catch (error) {}
});
}
};
(function () {
window.__REGISTERED_ADS_SLOT__ = new Map();
try {
let count = 0;
const interval = setInterval(() => {
count++;
if (
window.__DISABLE_ADS__ ||
window.__IS_PERF_SCORE_USER_AGENT__ ||
count === 20
) {
clearInterval(interval);
} else if (window && window.googletag && window.googletag.apiReady) {
loadAds(window.__ADS_TO_DISPLAY__ || []);
clearInterval(interval);
}
}, 200);
} catch (error) {
console.error(error);
}
})();