(function () {
const isIOS = /iP(hone|od|ad)/.test(navigator.platform) || /iPhone|iPad|iPod/i.test(navigator.userAgent);
const targets = Array.from(document.querySelectorAll('img.seq,[data-seq]'));
if (!targets.length) return;
const queue = targets.slice();
const maxConcurrent = isIOS ? 1 : 3;
// Lazy load logic here...
})();