"use strict";
var __create = Object.create;
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __getProtoOf = Object.getPrototypeOf;
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 __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
  // If the importer is in node compatibility mode or this is not an ESM
  // file that has been converted to a CommonJS file using a Babel-
  // compatible transform (i.e. "__esModule" has not been set), then set
  // "default" to the CommonJS "module.exports" for node compatibility.
  isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
  mod
));
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
var editor_common_exports = {};
__export(editor_common_exports, {
  BUTTON_TYPES: () => import_consts.BUTTON_TYPES,
  FORMATTING_BUTTONS: () => import_consts.FORMATTING_BUTTONS,
  INSERT_PLUGIN_BUTTONS: () => import_consts.INSERT_PLUGIN_BUTTONS,
  RICOS_TIPTAP_EDITOR_DATA_HOOK: () => import_consts.RICOS_TIPTAP_EDITOR_DATA_HOOK,
  RicosPortal: () => import_ricos_portal.RicosPortal,
  TOOLBARS: () => import_consts.TOOLBARS,
  ToolbarButton: () => import_toolbar_button.ToolbarButton,
  browser: () => browser,
  getEmptyContent: () => getEmptyContent,
  isTextSelection: () => import_is_text_selection.isTextSelection,
  isiOS: () => import_is_ios.isiOS
});
module.exports = __toCommonJS(editor_common_exports);
var import_wix_rich_content_common = require("./../wix-rich-content-common/index.js");
var browser = __toESM(require("./browser.js"));
var import_ricos_portal = require("./Components/ricos-portal.js");
var import_toolbar_button = require("./Components/toolbar-button.js");
var import_consts = require("./consts.js");
var import_is_ios = require("./Utils/is-ios.js");
var import_is_text_selection = require("./Utils/tiptap/is-text-selection.js");
const getEmptyContent = () => ({
  nodes: [
    {
      type: "PARAGRAPH",
      id: "foo",
      nodes: [],
      paragraphData: {
        textStyle: {
          textAlignment: "AUTO"
        },
        indentation: 0
      }
    }
  ],
  metadata: {
    version: 1,
    createdTimestamp: "2022-12-19T17:56:18.279Z",
    updatedTimestamp: "2022-12-19T17:56:18.279Z",
    id: (0, import_wix_rich_content_common.uuid)()
  },
  documentStyle: {}
});
//# sourceMappingURL=index.js.map
