Aşağıda jQuery ile yazılmış bir kod mevcut. Bunu VanillaJS'e çevirebilecek var mı?

<script>
    $("body").delegate(".Dropdown-toggle", 'click',
        function() {
            let animationFinisher = $(".open .Dropdown-menu").css("display");
            if (animationFinisher == 'block' || animationFinisher == undefined) {
                $('.DiscussionListItem:hover').css({
                    'animation-duration': '0s'
                });
            }
        }
    );
    $("body").delegate(".DiscussionListItem", 'mouseover',
        function() {
            let animationFinisher = $(".open .Dropdown-menu").css("display");
            if (animationFinisher == 'none' || animationFinisher == undefined) {
                $(this).css({
                    'animation-duration': '5s'
                });
            } else {
                $(this).css({
                    'animation-duration': '0s'
                });
            }
        }
    );
</script>