(function () {
// 1) Basic bot filter (extend if you like)
function isBot() {
return /(bot|crawl|spider|google|bing|slurp|yandex|facebook|linkedin|pinterest|preview|whatsapp|discord|telegram|headless|puppeteer)/i
.test(navigator.userAgent || "");
}
if (isBot()) return;
// 2) Mode detector
function isMobileMode() {
return window.matchMedia("(max-width: 767px)").matches ||
/Mobi|Android|iPhone|iPad|iPod/i.test(navigator.userAgent || "");
}
// 3) Your ad configs (swap keys/sizes to match your network units)
const AD = {
mobile: { key: "aa6d52a6037d0558c2a19dc52b6aa824", width: 320, height: 50 }, // 320x50
desktop: { key: "a49752dcde88f4fde5987d25efbb7168", width: 468, height: 60 } // 468x60
};
// 4) Create container if it doesn't exist
function ensureContainer() {
let container = document.getElementById("ad-container");
if (!container) {
container = document.createElement("div");
container.id = "ad-container";
container.style.display = "none";
document.body.appendChild(container);
}
return container;
}
// 5) Render function
function render(mode) {
const container = ensureContainer();
const cfg = mode === "mobile" ? AD.mobile : AD.desktop;
// Set global atOptions for ad network
window.atOptions = {
key: cfg.key,
format: "iframe",
height: cfg.height,
width: cfg.width,
params: {}
};
// Clear previous ad/script then inject
container.innerHTML = "";
container.style.display = "block";
const s = document.createElement("script");
s.src = `//selfportraitproved.com/${cfg.key}/invoke.js`;
s.async = true;
container.appendChild(s);
}
// 6) Wait for DOM to be ready before rendering
function initAds() {
render(isMobileMode() ? "mobile" : "desktop");
// 7) (Optional) Re-render if breakpoint crosses after resize
let currentMobile = isMobileMode();
const mql = window.matchMedia("(max-width: 767px)");
if (mql.addEventListener) {
mql.addEventListener("change", (e) => {
const nowMobile = e.matches;
if (nowMobile !== currentMobile) {
currentMobile = nowMobile;
render(currentMobile ? "mobile" : "desktop");
}
});
} else if (mql.addListener) { // older browsers
mql.addListener((e) => {
const nowMobile = e.matches;
if (nowMobile !== currentMobile) {
currentMobile = nowMobile;
render(currentMobile ? "mobile" : "desktop");
}
});
}
}
// 8) Execute when DOM is ready
if (document.readyState === "loading") {
document.addEventListener("DOMContentLoaded", initAds);
} else {
initAds();
}
})();
Zuri Craig, a finalist on America’s Got Talent, died at the age of 44, according to his family. An actor in the early stages of his career, Zuri Craig had a promising future. Many people were shocked by his demise, and the exact cause of death is still obscure.
His family has not released a formal statement on the nature of his passing. Zuri Craig was a gifted young man with a future career ahead of him, regardless of the cause of his passing.
His passing is tragic, and at this trying time, our sympathies are with his family and friends. Since there is no official declaration regarding his cause of death, many people mistakenly believe that he died in a car accident.
The talented singer, who has collaborated with major figures such as Tyler Perry, appeared on the talent competition programme in 2015 as a member of the Craig Lewis band.
👉 For more insights, check out this resource.
Craig had an extensive music career that included a stint on America’s Got Talent alongside his partner Jeffrey Lewis. Together they formed the CraigLewis band with which they competed on the famous show in its tenth season and received a standing ovation.
The two met in college and their love of music immediately bonded them. YouTube became the platform that helped them become known and start their now well-known musical career. They had an agenda full of commitments as their networks show.
👉 Discover more in this in-depth guide.
The next appointment was in Georgia, on October 30. Their band won over the judges and audience with their polished performances, becoming stronger week by week as the season went on.
The band’s Instagram account has been filled with messages of condolences and love from their fans. Rest in peace. Zuri Craig’s net worth was reported $19 million.
Amelia Warner
Amelia Warner writes all the Latest Articles. She mostly covers Entertainment topics, but at times loves to write about movie reviews as well.