"use strict";
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __export = (target, all) => {
  for (var name in all)
    __defProp(target, name, { get: all[name], enumerable: true });
};
var __copyProps = (to, from, except, desc) => {
  if (from && typeof from === "object" || typeof from === "function") {
    for (let key of __getOwnPropNames(from))
      if (!__hasOwnProp.call(to, key) && key !== except)
        __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
  }
  return to;
};
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
var internal_exports = {};
__export(internal_exports, {
  BUTTON_PREDEFINED_SWATCH_COLORS: () => import_defaults.PREDEFINED_SWATCH_COLORS,
  BackgroundBackgroundType: () => import_theme_utils.BackgroundBackgroundType,
  ButtonSize: () => import_theme_utils.ButtonSize,
  CARD_DEFAULTS: () => import_shared_with_viewer.CARD_DEFAULTS,
  COLOR_DISPLAY_ORDER: () => import_theme_utils.COLOR_DISPLAY_ORDER,
  ColorSwatchType: () => import_theme_utils.ColorSwatchType,
  ContentQueryProvider: () => import_ricos_content_query.ContentQueryProvider,
  ConvertersContext: () => import_context.ConvertersContext,
  DOC_STYLE_TYPES: () => import_ricos_types.DOC_STYLE_TYPES,
  DevContext: () => import_ricos_context.DevContext,
  EditorContextProvider: () => import_ricos_context2.EditorContextProvider,
  EditorKeyboardShortcuts: () => import_editor_keyboard_shortcuts.EditorKeyboardShortcuts,
  FormatType: () => import_theme_utils.FormatType,
  GradientType: () => import_theme_utils.GradientType,
  HorizontalPaddingType: () => import_theme_utils.HorizontalPaddingType,
  INVOCATION_UPDATE_EVENT: () => import_runtime_store.INVOCATION_UPDATE_EVENT,
  ImagePosition: () => import_theme_utils.ImagePosition,
  ImageScaling: () => import_theme_utils.ImageScaling,
  MIN_FONT_SIZE_RATIO: () => import_theme_utils.MIN_FONT_SIZE_RATIO,
  MediaUploadErrorKey: () => import_ricos_content2.MediaUploadErrorKey,
  MessageTimeline: () => import_assistant_timeline.MessageTimeline,
  ModalContext: () => import_ricos_context2.ModalServiceContext,
  ModalProvider: () => import_ricos_modals.ModalProvider,
  ModalRenderer: () => import_ricos_modals2.ModalRenderer,
  PAGE_FORMAT_TO_MM: () => import_shared_with_viewer.PAGE_FORMAT_TO_MM,
  PAGE_SIZE_PRESETS: () => import_shared_with_viewer.PAGE_SIZE_PRESETS,
  PluginToolbarId: () => import_ricos_types2.PluginToolbarId,
  PluginsContextProvider: () => import_ricos_context2.PluginsContextProvider,
  PluginsEventsContextProvider: () => import_ricos_context2.PluginsEventsContextProvider,
  RequestServiceProvider: () => import_request_service_provider.RequestServiceProvider,
  RicosContextProvider: () => import_ricos_context2.RicosContextProvider,
  RicosOrchestrator: () => import_ricos_orchestrator.RicosOrchestrator,
  RicosPortal: () => import_editor_common.RicosPortal,
  RicosTranslate: () => import_wix_rich_content_common.RicosTranslate,
  SHAPE_SEARCH_ITEMS_BASE_URL: () => import_consts.SHAPE_SEARCH_ITEMS_BASE_URL,
  ShortcutsContextProvider: () => import_shortcuts_context.ShortcutsContextProvider,
  ShortcutsDialog: () => import_shortcuts_dialog.ShortcutsDialog,
  ThemeProvider: () => import_theme_provider.ThemeProvider,
  ToolbarButton: () => import_toolbar_button.ToolbarButton,
  UploadContextProvider: () => import_ricos_context2.UploadContextProvider,
  VerticalPaddingType: () => import_theme_utils.VerticalPaddingType,
  ZIndexContextProvider: () => import_ricos_context2.ZIndexContextProvider,
  applyColors: () => import_theme_utils.applyColors,
  applyFonts: () => import_theme_utils.applyFonts,
  biStrategy: () => import_bi_strategy.biStrategy,
  buildThemeCssVars: () => import_ricos_styles.buildThemeCssVars,
  calculateClamp: () => import_theme_utils.calculateClamp,
  calculateShades: () => import_theme_utils.calculateShades,
  clearAssetWaitingState: () => import_runtime_store.clearAssetWaitingState,
  combineHexWithOpacity: () => import_theme_utils.combineHexWithOpacity,
  convertPresetToLayoutData: () => import_shared.convertPresetToLayoutData,
  createBlankLayoutData: () => import_shared.createBlankLayoutData,
  createBuilder: () => import_velo_adapter.createBuilder,
  createColorBackground: () => import_theme_utils.createColorBackground,
  createImageBackground: () => import_theme_utils.createImageBackground,
  createLayoutPresetContent: () => import_create_layout_preset_content.createLayoutPresetContent,
  createRicosPlaywrightTestkit: () => import_playwright.createRicosPlaywrightTestkit,
  createRicosPuppeteerTestkit: () => import_puppeteer.createRicosPuppeteerTestkit,
  designToContainerStyle: () => import_theme_utils.designToContainerStyle,
  designToRicosTheme: () => import_theme_utils.designToRicosTheme,
  ensureCardsUnwrapped: () => import_plugin_card2.ensureCardsUnwrapped,
  ensureCardsWrap: () => import_plugin_card2.ensureCardsWrap,
  fetchEditorTranslations: () => import_wix_rich_content_common.fetchEditorTranslations,
  getAllPmConverters: () => import_converters.getAllPmConverters,
  getAssetEditorRef: () => import_runtime_store.getAssetEditorRef,
  getAssetState: () => import_runtime_store.getAssetState,
  getHexColorFromAlpha: () => import_theme_utils.getHexColorFromAlpha,
  getInvocation: () => import_runtime_store.getInvocation,
  getIsExclusiveModalOpen: () => import_modal_service_provider.getIsExclusiveModalOpen,
  getLangDir: () => import_wix_rich_content_common.getLangDir,
  getOpacityFromHex: () => import_theme_utils.getOpacityFromHex,
  getPageSizeByFormat: () => import_shared_with_viewer.getPageSizeByFormat,
  getShapeStyles: () => import_get_shape_styles.getShapeStyles,
  getStyles: () => import_ricos_styles.getStyles,
  gradientToBackgroundImage: () => import_theme_utils.gradientToBackgroundImage,
  gradientToCss: () => import_gradient_to_css.gradientToCss,
  hexToRgba: () => import_theme_utils.hexToRgba,
  isAlwaysVisible: () => import_is_always_visible.isAlwaysVisible,
  isNodeOrCaptionSelected: () => import_is_node_or_caption_selected.isNodeOrCaptionSelected,
  mockAiRequestService: () => import_mock_ai_request_service.mockAiRequestService,
  mockVerticalEmbedDataMap: () => import_vertical_embed_util.mockVerticalEmbedDataMap,
  normalizeRicosDocument: () => import_ricos_content.normalizeRicosDocument,
  parseChunk: () => import_convert_to_ai_messages.parseChunk,
  patchTheme: () => import_theme_utils.patchTheme,
  pluginCard: () => import_plugin_card.pluginCard,
  pluginCardViewer: () => import_plugin_card.pluginCardViewer,
  reorderColorsForDisplay: () => import_theme_utils.reorderColorsForDisplay,
  select: () => import_velo_adapter.select,
  setAssetWaitingState: () => import_runtime_store.setAssetWaitingState,
  setAssetWidgetStatus: () => import_runtime_store.setAssetWidgetStatus,
  setInvocation: () => import_runtime_store.setInvocation,
  subscribeToInvocation: () => import_runtime_store.subscribeToInvocation,
  useModalService: () => import_ricos_modals.useModalService,
  useModalState: () => import_modal_service_provider.useModalState,
  useRequestService: () => import_request_service_provider.useRequestService,
  useTheme: () => import_theme_provider.useTheme
});
module.exports = __toCommonJS(internal_exports);
var import_request_service_provider = require("./_shared/request-service-provider/request-service-provider.js");
var import_is_always_visible = require("./_shared/resolvers/is-always-visible.js");
var import_is_node_or_caption_selected = require("./_shared/resolvers/is-node-or-caption-selected.js");
var import_ricos_context = require("./ricos-context/index.js");
var import_bi_strategy = require("./_shared/bi-strategy/index.js");
var import_context = require("./pm-converters/context.js");
var import_ricos_content = require("./ricos-content/index.js");
var import_ricos_content2 = require("./ricos-content/index.js");
var import_velo_adapter = require("./ricos-content/lib/velo-adapter.js");
var import_ricos_content_query = require("./ricos-content-query/index.js");
var import_ricos_context2 = require("./ricos-context/index.js");
var import_shortcuts_context = require("./ricos-context/shortcuts-context.js");
var import_playwright = require("./ricos-driver/playwright.js");
var import_puppeteer = require("./ricos-driver/puppeteer.js");
var import_shortcuts_dialog = require("./ricos-editor/shortcuts/shortcuts-dialog.js");
var import_ricos_modals = require("./ricos-modals/index.js");
var import_ricos_modals2 = require("./ricos-modals/index.js");
var import_modal_service_provider = require("./ricos-modals/modal-service-provider.js");
var import_ricos_orchestrator = require("./ricos-orchestrator/index.js");
var import_editor_keyboard_shortcuts = require("./ricos-shortcuts/editor-keyboard-shortcuts.js");
var import_ricos_styles = require("./ricos-styles/index.js");
var import_theme_provider = require("./ricos-styles/theme-provider.js");
var import_ricos_types = require("./ricos-types/index.js");
var import_ricos_types2 = require("./ricos-types/index.js");
var import_toolbar_button = require("./_shared/toolbar-button/toolbar-button.js");
var import_wix_rich_content_common = require("./wix-rich-content-common/index.js");
var import_editor_common = require("./editor-common/index.js");
var import_mock_ai_request_service = require("./plugin-ai/mocks/mock-ai-request-service.js");
var import_defaults = require("./plugin-button/defaults.js");
var import_vertical_embed_util = require("./plugin-vertical-embed/mocks/vertical-embed-util.js");
var import_theme_utils = require("./theme-utils/index.js");
var import_gradient_to_css = require("./_shared/gradient-to-css.js");
var import_assistant_timeline = require("./ui-components/wixel-assistant/assistant-timeline.js");
var import_runtime_store = require("./ui-components/wixel-assistant/runtime-store.js");
var import_convert_to_ai_messages = require("./plugin-inline-ai/convert-to-ai-messages.js");
var import_consts = require("./_shared/shape-select-modal/consts.js");
var import_get_shape_styles = require("./_shared/shape-select-modal/get-shape-styles.js");
var import_shared = require("./ricos-common-plugins/layout/shared.js");
var import_create_layout_preset_content = require("./ricos-common-plugins/layout/modals/presets/create-layout-preset-content.js");
var import_plugin_card = require("./plugin-card/index.js");
var import_plugin_card2 = require("./plugin-card/index.js");
var import_shared_with_viewer = require("./plugin-card/shared-with-viewer.js");
var import_converters = require("./converters/index.js");
//# sourceMappingURL=internal.js.map
