Element.scrollHeight;
                };
                const renderDnscryptLogs = (logText, dnscryptEnabled, dnscryptRunning) => {
                    if (!dnscryptEnabled && !dnscryptRunning) {
                        logsContentDnscrypt.innerHTML = `<div class="logs-disabled">${langData.logs_disabled || 'Отключен'}</div>`;
                        return;
                    }
                    if (!logText) {
                        logsContentDnscrypt.innerHTML = `<div class="logs-empty">${la