/* Add custom JS code below */
(() => {
const init = () => {
const icon = `
`;
const number = '966537781468';
const body = document.querySelector('.app-inner');
if (!body || document.querySelector('.whatsapp-container')) return;
const container = document.createElement('div');
container.className = 'whatsapp-container';
container.innerHTML = `
${icon}
`;
Object.assign(container.style, {
position: 'fixed',
bottom: '7rem',
right: '1rem',
width: '3.6rem',
zIndex: '100',
});
body.appendChild(container);
};
if (document.readyState === 'loading') {
document.addEventListener('DOMContentLoaded', init);
} else {
init();
}
})();