`;
-->
const regex = /document\.addEventListener\(['|"]DOMContentLoaded['|"],\s*?function\(\)\s*?{/im;
const regex1 = /o\.addEventListener\("DOMContentLoaded",\s*?function\(\)\s*?{/im;
const regex2 = /}\)}\(document\)/im;
const regex3 = /previewBarInjector\.init\(\);\n?}\);(<|\\x3C)\/script>/im;
const regex4 = /if\(window\.attachEvent\).*\{(\n|.)*window\.addEventListener\('load', asyncLoad, false\)\;(\s|\n)*}/im;
// exclude delay
const regex5 = /"[^"]*kiwi[^"]*",?/im;
return transformedStr;
},
rawContent: true,
},
];
(function nextScriptsTimeout() {
if (!window.chunkedScripts) return;
var timeout;
var scriptsCount =
window.chunkedScripts.filter(function filterNoModuleScripts(script) {
return script.props && !script.props.noModule;
}).length - 1;
var scriptsLoadedCount = 0;
var scriptsInjected = false;
var clickEventNode;
function injectScripts() {
if (scriptsInjected) return;
// chunkedScripts var gets passed from CustomNextScript
window.chunkedScripts.forEach(function handleScript(script) {
if (!script || (!script.rawContent && !script.props)) return;
try {
if (script.rawContent) {
const content = script.content();
const range = document.createRange();
range.selectNode(document.head); // required in Safari
const fragment = range.createContextualFragment(content);
document.head.appendChild(fragment);
return;
}
// eslint-disable-next-line vars-on-top
var tag = script.props.rel === 'stylesheet' ? 'link' : 'script';
var scriptTag = document.createElement(tag);
// eslint-disable-next-line no-restricted-syntax
for (var key in script.props) {
if (Object.prototype.hasOwnProperty.call(script.props, key)) {
scriptTag[key] = script.props[key];
}
}
// eslint-disable-next-line no-use-before-define
scriptTag.addEventListener('load', function() {
eval(script.props['data-onload']);
scriptLoadHandler();
});
if (script.content) {
scriptTag.innerHTML = typeof script.content === 'function' ? script.content() : script.content;
}
document.body.appendChild(scriptTag);
} catch (err) {
console.log(err);
}
});
scriptsInjected = true;
}
function scriptLoadHandler() {
if (scriptsLoadedCount !== scriptsCount) {
scriptsLoadedCount += 1;
return;
}
if (clickEventNode && document.body.contains(clickEventNode)) {
clickEventNode.dispatchEvent(new Event("click", { bubbles: true }));
}
removeListeners();
}
function onClickHandler(event) {
if (event.target.offsetParent !== null) clickEventNode = event.target;
}
var otherEvents = ["touchstart", "scroll", "keypress"];
function addListeners() {
if (window.pageYOffset > 0) injectScripts(); // if page is scrolled down, it's a refresh
timeout = setTimeout(injectScripts, 20000); // default mobile loading delay
window.addEventListener("click", onClickHandler);
otherEvents.forEach(function addEventListener(e) {
window.addEventListener(e, injectScripts);
});
}
function removeListeners() {
clearTimeout(timeout);
window.removeEventListener("click", onClickHandler);
otherEvents.forEach(function removeEventListener(e) {
window.removeEventListener(e, injectScripts);
});
}
addListeners();
})();
Compression Socks & Stockings | Activa
Home
→
Activa Compression Socks & Stockings
BSN Medical, the manufacturer of Jobst compression stockings, recognizes that in tough economic times many of their products have become difficult to afford. To answer the call, they have introduced the Activa line of compression hosiery for men and women.
Activa is a full-featured, high-quality value-priced line from the same makers that bring you Jobst. You'll find sheer, patterned and other fashionable options for women as well as ribbed, athletic and other patterned socks for men.