var Bootstrap = Namespace.declare("com.twitter",
    class Bootstrap {
        static start() {
            UcpComponentSupport.importScript(this.controller.basePath + "dist/js/bootstrap.min.js");
            UcpComponentSupport.importLink(this.controller.basePath + "dist/css/bootstrap.min.css", "stylesheet", "text/css");
            UcpComponentSupport.importLink(this.controller.basePath + "dist/css/bootstrap-theme.min.css", "stylesheet", "text/css");
            console.log(this.name + " is ready");
            new this().init();
        }

        static dependencies() {
            return [
                new IOR().init("/EAMD.ucp/Components/org/JQuery/3.2.1-Once/JQuery.component.xml")
            ];
        }

        constructor() {
            var ucp = UcpComponentSupport.lookup(this.constructor.name);
            if (ucp) {
                this.controller = ucp.controller;
                this.controller.singleton = this;
            }
        }

        init(controller) {
            return this;
        }
    }
);