import { DarkLoadingIcon, LightLoadingIcon } from '../_common/icons/text.js';
import { getThemeMode } from '../_common/utils/query.js';
import { DarkLinkedEdgelessDeletedLargeBanner, DarkLinkedEdgelessDeletedSmallBanner, DarkLinkedEdgelessEmptyLargeBanner, DarkLinkedEdgelessEmptySmallBanner, DarkLinkedPageDeletedLargeBanner, DarkLinkedPageDeletedSmallBanner, DarkLinkedPageEmptyLargeBanner, DarkLinkedPageEmptySmallBanner, LightLinkedEdgelessDeletedLargeBanner, LightLinkedEdgelessDeletedSmallBanner, LightLinkedEdgelessEmptyLargeBanner, LightLinkedEdgelessEmptySmallBanner, LightLinkedPageDeletedLargeBanner, LightLinkedPageDeletedSmallBanner, LightLinkedPageEmptyLargeBanner, LightLinkedPageEmptySmallBanner, LinkedDocDeletedIcon, LinkedEdgelessIcon, LinkedPageIcon, } from './styles.js';
export const getEmbedLinkedDocIcons = (pageType, style) => {
    const theme = getThemeMode();
    const small = style !== 'vertical';
    if (pageType === 'page') {
        if (theme === 'light') {
            return {
                LoadingIcon: LightLoadingIcon,
                LinkedDocIcon: LinkedPageIcon,
                LinkedDocDeletedIcon,
                LinkedDocEmptyBanner: small
                    ? LightLinkedPageEmptySmallBanner
                    : LightLinkedPageEmptyLargeBanner,
                LinkedDocDeletedBanner: small
                    ? LightLinkedPageDeletedSmallBanner
                    : LightLinkedPageDeletedLargeBanner,
            };
        }
        else {
            return {
                LoadingIcon: DarkLoadingIcon,
                LinkedDocIcon: LinkedPageIcon,
                LinkedDocDeletedIcon,
                LinkedDocEmptyBanner: small
                    ? DarkLinkedPageEmptySmallBanner
                    : DarkLinkedPageEmptyLargeBanner,
                LinkedDocDeletedBanner: small
                    ? DarkLinkedPageDeletedSmallBanner
                    : DarkLinkedPageDeletedLargeBanner,
            };
        }
    }
    else {
        if (theme === 'light') {
            return {
                LoadingIcon: LightLoadingIcon,
                LinkedDocIcon: LinkedEdgelessIcon,
                LinkedDocDeletedIcon,
                LinkedDocEmptyBanner: small
                    ? LightLinkedEdgelessEmptySmallBanner
                    : LightLinkedEdgelessEmptyLargeBanner,
                LinkedDocDeletedBanner: small
                    ? LightLinkedEdgelessDeletedSmallBanner
                    : LightLinkedEdgelessDeletedLargeBanner,
            };
        }
        else {
            return {
                LoadingIcon: DarkLoadingIcon,
                LinkedDocIcon: LinkedEdgelessIcon,
                LinkedDocDeletedIcon,
                LinkedDocEmptyBanner: small
                    ? DarkLinkedEdgelessEmptySmallBanner
                    : DarkLinkedEdgelessEmptyLargeBanner,
                LinkedDocDeletedBanner: small
                    ? DarkLinkedEdgelessDeletedSmallBanner
                    : DarkLinkedEdgelessDeletedLargeBanner,
            };
        }
    }
};
//# sourceMappingURL=utils.js.map