st].map(element => new bootstrap.Alert(element))

    const styleSwitcher = document.getElementById('style-switcher');
    const styleIcon = document.getElementById('style-icon');
    const styleStylesheet = document.getElementById('theme-stylesheet');
    const customStylesheet = document.getElementById('custom-theme-stylesheet');
    const ifaceStyle = '{{ iface_style }}';

    let currentStyle = localStorage.getItem('style');
    if (currentStyle !== 'light' && currentStyle !== 'dark') {
        currentS