"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 consts_exports = {};
__export(consts_exports, {
  TO_RICOS_DATA: () => TO_RICOS_DATA
});
module.exports = __toCommonJS(consts_exports);
var import_v1 = require("./../../../../ricos-schema/legacy/wix/rich_content/v1/index.js");
var import_consts = require("../../../consts.js");
const TO_RICOS_DATA = {
  [import_consts.LINK_BUTTON_TYPE]: import_v1.ButtonData,
  [import_consts.ACTION_BUTTON_TYPE]: import_v1.ButtonData,
  [import_consts.DIVIDER_TYPE]: import_v1.DividerData,
  [import_consts.FILE_UPLOAD_TYPE]: import_v1.FileData,
  [import_consts.GALLERY_TYPE]: import_v1.GalleryData,
  [import_consts.GIPHY_TYPE]: import_v1.GIFData,
  [import_consts.HTML_TYPE]: import_v1.HTMLData,
  [import_consts.IMAGE_TYPE]: import_v1.ImageData,
  [import_consts.IMAGE_TYPE_LEGACY]: import_v1.ImageData,
  [import_consts.LINK_PREVIEW_TYPE]: import_v1.LinkPreviewData,
  [import_consts.APP_EMBED_TYPE]: import_v1.AppEmbedData,
  [import_consts.VIDEO_TYPE]: import_v1.VideoData,
  [import_consts.VIDEO_TYPE_LEGACY]: import_v1.VideoData,
  [import_consts.AUDIO_TYPE]: import_v1.AudioData,
  [import_consts.POLL_TYPE]: import_v1.PollData,
  [import_consts.EMBED_TYPE]: import_v1.EmbedData,
  [import_consts.COLLAPSIBLE_LIST_TYPE]: import_v1.CollapsibleListData,
  [import_consts.TABLE_TYPE]: import_v1.TableData,
  [import_consts.EXTERNAL]: {
    fromJSON(data) {
      return data;
    }
  }
};
//# sourceMappingURL=consts.js.map
