
                }),
              );
            },
          });
          const commentUpvoteManager = UpvoteManager("moment", "moment.halo.run", "moments");
          document.addEventListener("DOMContentLoaded", (event) => {
            commentUpvoteManager.init();
            document.querySelectorAll(".moment-footer-like").forEach((button) => {
              const itemName = button.getAttribute("data-upvote-moment-name");
              if (commentUpvoteManager.hasUpvoted(itemName)) {
                