          const setCardState = ($card, state, statusText) => {
                const [okClass, warnClass, errClass] = ['ok', 'warning', 'error'];
                const $statusText = $card.querySelectorAll('.status-text');

                switch (true) {
                    case state.isOk === true:
                        $card.classList.remove(errClass, warnClass);
                        $card.classList.add(okClass);
                        $statusText.forEach(($statusText) => $statusText.innerText = sta