import { ModalManager } from "./ModalManager.js";
import { FormManager } from "./FormManager.js";
import { VoteManager } from "./VoteManager.js";
import { MessageSearch } from "./MessageSearch.js";
import { ProfileEditor } from "./ProfileEditor.js";
import { MobileNav } from "./MobileNav.js";
import { CommentManager } from "./CommentManager.js";
import { ContentEnhancer } from "./ContentEnhancer.js";
import { DomUtils } from "./DomUtils.js";

class Application {
    constructor() {
        this.modals = new ModalManager();
        this.forms = new FormManager();
        this.votes = new VoteManager();
        this.messageSearch = new MessageSearch();
        this.profile = new ProfileEditor();
        this.mobileNav = new MobileNav();
        this.comments = new CommentManager();
        this.content = new ContentEnhancer();
        this.dom = new DomUtils();
    }
}

const app = new Application();
window.app = app;
