// Copyright (c) 2009-2026 SAP SE, All Rights Reserved

sap.ui.define([
    "sap/ushell/bootstrap/cdm/LoadLaunchpad/CreateRenderer",
    "sap/ushell/Container",
    "sap/ushell/iconfonts"
], (
    CreateRenderer,
    Container,
    IconFonts
) => {
    "use strict";

    class LoadLaunchpad {
        async run () {
            const aParallelPromises = [];

            await Container.init("cdm");

            aParallelPromises.push(CreateRenderer.run());

            IconFonts.registerFiori2IconFont();

            await Promise.all(aParallelPromises);
        }
    }

    return new LoadLaunchpad();
});
