const dynamicPluginsMap = {
  // @ts-ignore $TSFixMe
  ai: () => import(
    /* webpackChunkName: "ricos_plugin-ai" */
    "./../plugin-ai/editor.js"
  ).then(
    (m) => m.pluginAi
  ),
  audio: () => import(
    /* webpackChunkName: "ricos_plugin-audio" */
    "./../plugin-audio/editor.js"
  ).then((m) => m.pluginAudio),
  actionButton: () => import(
    /* webpackChunkName: "ricos_plugin-button" */
    "./../plugin-button/editor.js"
  ).then((m) => m.pluginActionButton),
  card: () => import(
    /* webpackChunkName: "ricos_plugin-card" */
    "./../plugin-card/editor.js"
  ).then((m) => m.pluginCard),
  linkButton: () => import(
    /* webpackChunkName: "ricos_plugin-button" */
    "./../plugin-button/editor.js"
  ).then((m) => m.pluginLinkButton),
  codeBlock: () => import(
    /* webpackChunkName: "ricos_plugin-code-block" */
    "./../plugin-code-block/editor.js"
  ).then((m) => m.pluginCodeBlock),
  collapsibleList: () => import(
    /* webpackChunkName: "ricos_plugin-collapsible-list" */
    "./../plugin-collapsible-list/editor.js"
  ).then((m) => m.pluginCollapsibleList),
  divider: () => import(
    /* webpackChunkName: "ricos_plugin-divider" */
    "./../plugin-divider/editor.js"
  ).then((m) => m.pluginDivider),
  emoji: () => import(
    /* webpackChunkName: "ricos_plugin-emoji" */
    "./../plugin-emoji/editor.js"
  ).then((m) => m.pluginEmoji),
  file: () => import(
    /* webpackChunkName: "ricos_plugin-file-upload" */
    "./../plugin-file-upload/editor.js"
  ).then((m) => m.pluginFileUpload),
  fontFamily: () => import(
    /* webpackChunkName: "ricos_plugin-font-family" */
    "./../plugin-font-family/editor.js"
  ).then((m) => m.pluginFontFamily),
  gallery: () => import(
    /* webpackChunkName: "ricos_plugin-gallery" */
    "./../plugin-gallery/editor.js"
  ).then((m) => m.pluginGallery),
  giphy: () => import(
    /* webpackChunkName: "ricos_plugin-giphy" */
    "./../plugin-giphy/editor.js"
  ).then((m) => m.pluginGiphy),
  hashtag: () => import(
    /* webpackChunkName: "ricos_plugin-hashtag" */
    "./../plugin-hashtag/editor.js"
  ).then((m) => m.pluginHashtag),
  heading: () => import(
    /* webpackChunkName: "ricos_plugin-headings" */
    "./../plugin-headings/editor.js"
  ).then((m) => m.pluginHeadings),
  html: () => import(
    /* webpackChunkName: "ricos_plugin-html" */
    "./../plugin-html/editor.js"
  ).then((m) => m.pluginHtml),
  image: () => import(
    /* webpackChunkName: "ricos_plugin-image" */
    "./../plugin-image/editor.js"
  ).then((m) => m.pluginImage),
  indent: () => import(
    /* webpackChunkName: "ricos_plugin-indent" */
    "./../plugin-indent/editor.js"
  ).then((m) => m.pluginIndent),
  inlineAi: () => import(
    /* webpackChunkName: "ricos_plugin-inline-ai" */
    "./../plugin-inline-ai/editor.js"
  ).then((m) => m.pluginInlineAi),
  lineSpacing: () => import(
    /* webpackChunkName: "ricos_plugin-line-spacing" */
    "./../plugin-line-spacing/editor.js"
  ).then((m) => m.pluginLineSpacing),
  link: () => import(
    /* webpackChunkName: "ricos_plugin-link" */
    "./../plugin-link/editor.js"
  ).then((m) => m.pluginLink),
  linkPreview: () => import(
    /* webpackChunkName: "ricos_plugin-link-preview" */
    "./../plugin-link-preview/editor.js"
  ).then((m) => m.pluginLinkPreview),
  mentions: () => import(
    /* webpackChunkName: "ricos_plugin-mentions" */
    "./../plugin-mentions/editor.js"
  ).then((m) => m.pluginMentions),
  shape: () => import(
    /* webpackChunkName: "ricos_plugin-shape" */
    "./../plugin-shape/editor.js"
  ).then((m) => m.pluginShape),
  poll: () => import(
    /* webpackChunkName: "ricos_plugin-poll" */
    "./../plugin-social-polls/editor.js"
  ).then((m) => m.pluginPoll),
  spoiler: () => import(
    /* webpackChunkName: "ricos_plugin-spoiler" */
    "./../plugin-spoiler/editor.js"
  ).then((m) => m.pluginSpoiler),
  table: () => import(
    /* webpackChunkName: "ricos_plugin-table" */
    "./../plugin-table/editor.js"
  ).then((m) => m.pluginTable),
  toc: () => import(
    /* webpackChunkName: "ricos_plugin-toc" */
    "./../plugin-toc/editor.js"
  ).then((m) => m.pluginToc),
  textColor: () => import(
    /* webpackChunkName: "ricos_plugin-text-color" */
    "./../plugin-text-color/text-color-editor.js"
  ).then((m) => m.pluginTextColor),
  textHighlight: () => import(
    /* webpackChunkName: "ricos_plugin-text-highlight" */
    "./../plugin-text-color/text-highlight-editor.js"
  ).then((m) => m.pluginTextHighlight),
  verticalEmbed: () => import(
    /* webpackChunkName: "ricos_plugin-vertical-embed" */
    "./../plugin-vertical-embed/editor.js"
  ).then((m) => m.pluginVerticalEmbed),
  video: () => import(
    /* webpackChunkName: "ricos_plugin-video" */
    "./../plugin-video/editor.js"
  ).then((m) => m.pluginVideo),
  smartBlock: () => import(
    /* webpackChunkName: "ricos_plugin-smart-block" */
    "./../plugin-smart-block/editor.js"
  ).then((m) => m.pluginSmartBlock)
};
const resolvePlugins = async (pluginTypes) => {
  const entries = await Promise.all(
    pluginTypes.filter((type) => dynamicPluginsMap[type]).map(async (type) => {
      const loader = dynamicPluginsMap[type];
      const creator = await loader();
      return [type, typeof creator === "function" ? creator : creator.default];
    })
  );
  return Object.fromEntries(entries);
};
export {
  dynamicPluginsMap,
  resolvePlugins
};
//# sourceMappingURL=dynamic-plugins-map.js.map
