","navigation":"","router":"","wamsg":"Hi ${entry1509027926},\r\n\r\nThankyou for placing an Order with us. Kindly review and confirm the order before processing the payment.\r\n\r\n${TEXTSUMMARY(true)}\r\n\r\nSelected Payment Method: \r\n\r\nPress send to Confirm\r\n"},"root":{"addfield":"","css":"","displayName":"Place Order","js":"","messageMD":"Thanks for placing your order. Please find the order details below. \r\n \r\n${SUMMARY(true,true)}","messageMark":"Thanks for placing your order. Please find the order details below.
\n
${SUMMARY(true,true)}
","navigation":"","onsubmit":"custom","redirect":""}},"titles":{"164092736":{"title":""},"2075126532":{"messageMD":"","title":"Details"},"root":{"messageMD":"","title":""}},"whatsapp":{"at":1624521440465,"phone":"+918830368455"}}
};
window.auth = new Authentication(args);
window.auth.authenticate();
function closeCartSidebar() {
const cartSection = document.getElementById("cart-section");
if(cartSection) {
cartSection.style.display = "none";
}
}
function convertURLsToLinks(text) {
const expressionWithHttp =/(https?:\/\/(www\.)?[-a-zA-Z0-9@:%._\+~#=]{1,256}\.[a-zA-Z0-9()]{1,6}\b([-a-zA-Z0-9()@:%_\+.~#?&//=]*))/gi;
const regex = new RegExp(expressionWithHttp);
text = text.replace(/&/g, '&');
if(text?.includes('https://mailrecipe.com/public/106003551968977104849/home/form/1FAIpQLSfWHdjql6wluFExmRfpQ3yaWGznwqjBzu6bOiNbwlpetWOYuw?restoreId=-O5OtcHL7gcbJ6snM5Cw&appearance=officeuse')) {
return "[Comment is hidden due to privacy]";
}
return text.replace(regex, "$1");
}
const observer = new MutationObserver((mutationsList, observer) => {
for (let mutation of mutationsList) {
if (mutation.type === 'childList') {
for (let node of mutation.addedNodes) {
const codeLookUp = document.querySelectorAll('.code-look-up');
codeLookUp.forEach((el) => {
el.classList.remove('code-look-up');
el.innerHTML = convertURLsToLinks(el.innerHTML);
});
}
}
}
});
// on dom load.
document.addEventListener('DOMContentLoaded', () => {
observer.observe(document.body, { childList: true, subtree: true });
});
// to have different background color for odd and even section, in the home page.
function loadBgColor() {
var i = 0;
$('.section-main').each(function(index) {
// if the i is odd, add section-with-bg class.
// if the the html is empty continue.
if ($(this).html().trim() == '') {
return;
}
if (i % 2 != 0) {
$(this).addClass('section-with-bg');
} else {
$(this).removeClass('section-with-bg');
}
i++;
});
}
// section-with-bg load all section-main and add section-with-bg for odd number.
$(document).ready(function() {
loadBgColor();
});
Hi, Welcome to SO ON SO FORTH!
Trending products
Check out our trending products
View all